uber-0.1.0.0: Uber client for Haskell

Safe HaskellNone
LanguageHaskell2010

Uber.Contract

Documentation

data UberAPI Source

Instances

WebApi UberAPI Source 
ApiContract UberAPI GET ReminderR Source 
ApiContract UberAPI GET PaymentMethodR Source 
ApiContract UberAPI GET PlaceR Source 
ApiContract UberAPI GET ReceiptR Source 
ApiContract UberAPI GET TrackingMapR Source 
ApiContract UberAPI GET RideR Source 
ApiContract UberAPI GET CurrentRequestR Source 
ApiContract UberAPI GET UserInfoR Source 
ApiContract UberAPI GET HistoryR Source 
ApiContract UberAPI GET TimeEstimateR Source 
ApiContract UberAPI GET PriceEstimateR Source 
ApiContract UberAPI GET ProductDetailsR Source 
ApiContract UberAPI GET ProductsR Source 
ApiContract UberAPI POST CreateReminderR Source 
ApiContract UberAPI POST RideEstimateR Source 
ApiContract UberAPI POST RequestRideR Source 
ApiContract UberAPI PUT PlaceR Source 
ApiContract UberAPI DELETE ReminderR Source 
ApiContract UberAPI DELETE RideR Source 
ApiContract UberAPI DELETE CurrentRequestR Source 
ApiContract UberAPI PATCH ReminderR Source 
ApiContract UberAPI PATCH RideR Source 
ApiContract UberAPI PATCH CurrentRequestR Source 
type Apis UberAPI = (:) * (Route ((:) * GET ([] *)) ProductsR) ((:) * (Route ((:) * GET ([] *)) ProductDetailsR) ((:) * (Route ((:) * GET ([] *)) PriceEstimateR) ((:) * (Route ((:) * GET ([] *)) TimeEstimateR) ((:) * (Route ((:) * GET ([] *)) HistoryR) ((:) * (Route ((:) * GET ([] *)) UserInfoR) ((:) * (Route ((:) * POST ([] *)) RequestRideR) ((:) * (Route ((:) * GET ((:) * PATCH ((:) * DELETE ([] *)))) CurrentRequestR) ((:) * (Route ((:) * GET ((:) * PATCH ((:) * DELETE ([] *)))) RideR) ((:) * (Route ((:) * POST ([] *)) RideEstimateR) ((:) * (Route ((:) * GET ([] *)) TrackingMapR) ((:) * (Route ((:) * GET ([] *)) ReceiptR) ((:) * (Route ((:) * GET ((:) * PUT ([] *))) PlaceR) ((:) * (Route ((:) * GET ([] *)) PaymentMethodR) ((:) * (Route ((:) * POST ([] *)) CreateReminderR) ((:) * (Route ((:) * GET ((:) * PATCH ((:) * DELETE ([] *)))) ReminderR) ([] *)))))))))))))))) Source 
type Version UberAPI = Major 0 

type ProductsR = Static "products" Source

type ProductDetailsR = "products" :/ Text Source

type PriceEstimateR = "estimates" :/ "price" Source

type TimeEstimateR = "estimates" :/ "time" Source

type HistoryR = Static "history" Source

type UserInfoR = Static "me" Source

type RequestRideR = Static "requests" Source

type CurrentRequestR = "requests" :/ "current" Source

type RideR = "requests" :/ Text Source

type RideEstimateR = "requests" :/ "estimate" Source

type TrackingMapR = "requests" :/ (Text :/ "map") Source

type ReceiptR = "requests" :/ (Text :/ "receipts") Source

type PlaceR = "places" :/ Text Source

type PaymentMethodR = Static "payment-methods" Source

type CreateReminderR = Static "reminders" Source

type ReminderR = "reminders" :/ Text Source