uber-0.1.1.0: Uber client for Haskell

Safe HaskellNone
LanguageHaskell2010

Uber.Contract

Documentation

data UberAPI Source #

Instances

WebApi UberAPI Source # 

Associated Types

type Version UberAPI :: * #

type Apis UberAPI :: [*] #

ApiContract UberAPI GET ReminderR Source # 
ApiContract UberAPI GET PaymentMethodR Source # 
ApiContract UberAPI GET PlaceR Source # 

Associated Types

type PathParam GET PlaceR :: * #

type QueryParam GET PlaceR :: * #

type FormParam GET PlaceR :: * #

type FileParam GET PlaceR :: * #

type HeaderIn GET PlaceR :: * #

type CookieIn GET PlaceR :: * #

type ApiOut GET PlaceR :: * #

type ApiErr GET PlaceR :: * #

type HeaderOut GET PlaceR :: * #

type CookieOut GET PlaceR :: * #

type ContentTypes GET PlaceR :: [*] #

type RequestBody GET PlaceR :: [*] #

ApiContract UberAPI GET ReceiptR Source # 
ApiContract UberAPI GET TrackingMapR Source # 
ApiContract UberAPI GET RideR Source # 

Associated Types

type PathParam GET RideR :: * #

type QueryParam GET RideR :: * #

type FormParam GET RideR :: * #

type FileParam GET RideR :: * #

type HeaderIn GET RideR :: * #

type CookieIn GET RideR :: * #

type ApiOut GET RideR :: * #

type ApiErr GET RideR :: * #

type HeaderOut GET RideR :: * #

type CookieOut GET RideR :: * #

type ContentTypes GET RideR :: [*] #

type RequestBody GET RideR :: [*] #

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 # 

Associated Types

type PathParam PUT PlaceR :: * #

type QueryParam PUT PlaceR :: * #

type FormParam PUT PlaceR :: * #

type FileParam PUT PlaceR :: * #

type HeaderIn PUT PlaceR :: * #

type CookieIn PUT PlaceR :: * #

type ApiOut PUT PlaceR :: * #

type ApiErr PUT PlaceR :: * #

type HeaderOut PUT PlaceR :: * #

type CookieOut PUT PlaceR :: * #

type ContentTypes PUT PlaceR :: [*] #

type RequestBody PUT PlaceR :: [*] #

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 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) ([] *))))))))))))))))
type Version UberAPI Source # 

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 #