-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Uber client for Haskell -- -- Bindings for Uber API @package uber @version 0.1.1.0 module Uber.Types.Reminder data ReminderParams ReminderParams :: Integer -> Text -> Event -> Maybe TripBranding -> ReminderParams [reminder_time] :: ReminderParams -> Integer [phone_number] :: ReminderParams -> Text [event] :: ReminderParams -> Event [trip_branding] :: ReminderParams -> Maybe TripBranding data Event Event :: Integer -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe Double -> Maybe Text -> Event [time] :: Event -> Integer [name] :: Event -> Maybe Text [location] :: Event -> Maybe Text [latitude] :: Event -> Maybe Double [longitude] :: Event -> Maybe Double [product_id] :: Event -> Maybe Text data TripBranding TripBranding :: Maybe Text -> Maybe Text -> TripBranding [link_text] :: TripBranding -> Maybe Text [partner_deeplink] :: TripBranding -> Maybe Text data Reminder Reminder :: Event -> Text -> Integer -> ReminderStatus -> Maybe TripBranding -> Reminder [r_event] :: Reminder -> Event [r_reminder_id] :: Reminder -> Text [r_reminder_time] :: Reminder -> Integer [r_reminder_status] :: Reminder -> ReminderStatus [r_trip_branding] :: Reminder -> Maybe TripBranding data ReminderStatus Pending :: ReminderStatus Sent :: ReminderStatus data ReminderPatchParams ReminderPatchParams :: Maybe Int -> Maybe Text -> Maybe Event -> ReminderPatchParams [p_reminder_time] :: ReminderPatchParams -> Maybe Int [p_phone_number] :: ReminderPatchParams -> Maybe Text [p_event] :: ReminderPatchParams -> Maybe Event instance GHC.Show.Show Uber.Types.Reminder.ReminderPatchParams instance GHC.Generics.Generic Uber.Types.Reminder.ReminderPatchParams instance GHC.Show.Show Uber.Types.Reminder.Reminder instance GHC.Generics.Generic Uber.Types.Reminder.Reminder instance GHC.Show.Show Uber.Types.Reminder.ReminderStatus instance GHC.Generics.Generic Uber.Types.Reminder.ReminderStatus instance GHC.Show.Show Uber.Types.Reminder.ReminderParams instance GHC.Generics.Generic Uber.Types.Reminder.ReminderParams instance GHC.Show.Show Uber.Types.Reminder.TripBranding instance GHC.Generics.Generic Uber.Types.Reminder.TripBranding instance GHC.Show.Show Uber.Types.Reminder.Event instance GHC.Generics.Generic Uber.Types.Reminder.Event instance Data.Aeson.Types.Class.ToJSON Uber.Types.Reminder.ReminderParams instance Data.Aeson.Types.Class.FromJSON Uber.Types.Reminder.Event instance Data.Aeson.Types.Class.FromJSON Uber.Types.Reminder.TripBranding instance Data.Aeson.Types.Class.ToJSON Uber.Types.Reminder.Event instance Data.Aeson.Types.Class.ToJSON Uber.Types.Reminder.TripBranding instance Data.Aeson.Types.Class.ToJSON Uber.Types.Reminder.ReminderPatchParams instance Data.Aeson.Types.Class.FromJSON Uber.Types.Reminder.Reminder instance Data.Aeson.Types.Class.FromJSON Uber.Types.Reminder.ReminderStatus module Uber.Auth -- | Data type used to store either Server or OAuth token data Token Server :: ServerToken -> Token OAuth :: OAuthToken -> Token -- | Data type used to store Server Token newtype ServerToken ServerToken :: Text -> ServerToken -- | Data type used to store OAuth Token newtype OAuthToken OAuthToken :: Text -> OAuthToken instance GHC.Show.Show Uber.Auth.Token instance GHC.Show.Show Uber.Auth.OAuthToken instance GHC.Show.Show Uber.Auth.ServerToken instance GHC.Generics.Generic Uber.Auth.AuthHeader instance Uber.Auth.FromToken Uber.Auth.ServerToken instance Uber.Auth.FromToken Uber.Auth.OAuthToken instance Uber.Auth.FromToken Uber.Auth.Token instance WebApi.Param.ToHeader Uber.Auth.AuthHeader instance WebApi.Param.ToHeader Uber.Auth.ServerToken instance WebApi.Param.ToHeader Uber.Auth.OAuthToken instance WebApi.Param.ToHeader Uber.Auth.Token module Uber.Settings defSettings :: Manager -> Settings sandboxSettings :: Manager -> Settings auth :: Settings -> Token data Settings toClientSettings :: Settings -> ClientSettings module Uber.Types.History data HistoryParams HistoryParams :: Maybe Int -> Maybe Int -> HistoryParams [offset] :: HistoryParams -> Maybe Int [limit] :: HistoryParams -> Maybe Int data HistoryResp HistoryResp :: Int -> Int -> Int -> [History] -> HistoryResp [h_offset] :: HistoryResp -> Int [h_limit] :: HistoryResp -> Int [h_count] :: HistoryResp -> Int [h_history] :: HistoryResp -> [History] data History History :: Text -> Integer -> Text -> Text -> Double -> Integer -> City -> History [request_id] :: History -> Text [request_time] :: History -> Integer [product_id] :: History -> Text [status] :: History -> Text [distance] :: History -> Double [start_time] :: History -> Integer [start_city] :: History -> City data City City :: Text -> Double -> Double -> City [display_name] :: City -> Text [latitude] :: City -> Double [longitude] :: City -> Double instance GHC.Generics.Generic Uber.Types.History.HistoryResp instance GHC.Show.Show Uber.Types.History.HistoryResp instance GHC.Generics.Generic Uber.Types.History.History instance GHC.Show.Show Uber.Types.History.History instance GHC.Generics.Generic Uber.Types.History.City instance GHC.Show.Show Uber.Types.History.City instance GHC.Generics.Generic Uber.Types.History.HistoryParams instance GHC.Show.Show Uber.Types.History.HistoryParams instance WebApi.Param.ToParam 'WebApi.Param.QueryParam Uber.Types.History.HistoryParams instance Data.Aeson.Types.Class.FromJSON Uber.Types.History.History instance Data.Aeson.Types.Class.FromJSON Uber.Types.History.City instance Data.Aeson.Types.Class.FromJSON Uber.Types.History.HistoryResp module Uber.Types.PriceEstimate data PriceEstimateParams PriceEstimateParams :: Double -> Double -> Double -> Double -> PriceEstimateParams [start_latitude] :: PriceEstimateParams -> Double [start_longitude] :: PriceEstimateParams -> Double [end_latitude] :: PriceEstimateParams -> Double [end_longitude] :: PriceEstimateParams -> Double newtype PriceEstimates PriceEstimates :: [PriceEstimate] -> PriceEstimates [prices] :: PriceEstimates -> [PriceEstimate] data PriceEstimate PriceEstimate :: Text -> Text -> Text -> Text -> Int -> Int -> Double -> Int -> Double -> PriceEstimate [product_id] :: PriceEstimate -> Text [currency_code] :: PriceEstimate -> Text [display_name] :: PriceEstimate -> Text [estimate] :: PriceEstimate -> Text [low_estimate] :: PriceEstimate -> Int [high_estimate] :: PriceEstimate -> Int [surge_multiplier] :: PriceEstimate -> Double [duration] :: PriceEstimate -> Int [distance] :: PriceEstimate -> Double instance GHC.Generics.Generic Uber.Types.PriceEstimate.PriceEstimates instance GHC.Show.Show Uber.Types.PriceEstimate.PriceEstimates instance GHC.Generics.Generic Uber.Types.PriceEstimate.PriceEstimate instance GHC.Show.Show Uber.Types.PriceEstimate.PriceEstimate instance GHC.Generics.Generic Uber.Types.PriceEstimate.PriceEstimateParams instance GHC.Show.Show Uber.Types.PriceEstimate.PriceEstimateParams instance WebApi.Param.ToParam 'WebApi.Param.QueryParam Uber.Types.PriceEstimate.PriceEstimateParams instance Data.Aeson.Types.Class.FromJSON Uber.Types.PriceEstimate.PriceEstimates instance Data.Aeson.Types.Class.FromJSON Uber.Types.PriceEstimate.PriceEstimate module Uber.Types.Product data LatLng LatLng :: Double -> Double -> LatLng [latitude] :: LatLng -> Double [longitude] :: LatLng -> Double newtype Products Products :: [Product] -> Products [products] :: Products -> [Product] data Product Product :: Text -> Maybe Text -> Text -> Text -> Int -> Text -> PriceDetails -> Product [product_id] :: Product -> Text [short_description] :: Product -> Maybe Text [description] :: Product -> Text [display_name] :: Product -> Text [capacity] :: Product -> Int [image] :: Product -> Text [price_details] :: Product -> PriceDetails data PriceDetails PriceDetails :: Double -> Double -> Double -> Double -> Text -> Double -> Text -> [AdditionalFee] -> PriceDetails [base] :: PriceDetails -> Double [minimum] :: PriceDetails -> Double [cost_per_minute] :: PriceDetails -> Double [cost_per_distance] :: PriceDetails -> Double [distance_unit] :: PriceDetails -> Text [cancellation_fee] :: PriceDetails -> Double [currency_code] :: PriceDetails -> Text [service_fees] :: PriceDetails -> [AdditionalFee] data AdditionalFee AdditionalFee :: Text -> Double -> AdditionalFee [name] :: AdditionalFee -> Text [fee] :: AdditionalFee -> Double newtype ProdId ProdId :: Text -> ProdId [pid] :: ProdId -> Text data ProductId ProductId :: Text -> ProductId instance GHC.Generics.Generic Uber.Types.Product.ProdId instance GHC.Generics.Generic Uber.Types.Product.Products instance GHC.Show.Show Uber.Types.Product.Products instance GHC.Generics.Generic Uber.Types.Product.Product instance GHC.Show.Show Uber.Types.Product.Product instance GHC.Generics.Generic Uber.Types.Product.PriceDetails instance GHC.Show.Show Uber.Types.Product.PriceDetails instance GHC.Generics.Generic Uber.Types.Product.AdditionalFee instance GHC.Show.Show Uber.Types.Product.AdditionalFee instance GHC.Generics.Generic Uber.Types.Product.LatLng instance GHC.Show.Show Uber.Types.Product.LatLng instance WebApi.Param.ToParam 'WebApi.Param.QueryParam Uber.Types.Product.LatLng instance WebApi.Param.ToParam 'WebApi.Param.PathParam Uber.Types.Product.ProdId instance Data.Aeson.Types.Class.FromJSON Uber.Types.Product.Products instance Data.Aeson.Types.Class.FromJSON Uber.Types.Product.Product instance Data.Aeson.Types.Class.FromJSON Uber.Types.Product.PriceDetails instance Data.Aeson.Types.Class.FromJSON Uber.Types.Product.AdditionalFee module Uber.Types.RideRequest data RideReqParams RideReqParams :: Maybe Text -> Maybe Double -> Maybe Double -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Double -> Maybe Double -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> RideReqParams [product_id] :: RideReqParams -> Maybe Text [start_latitude] :: RideReqParams -> Maybe Double [start_longitude] :: RideReqParams -> Maybe Double [start_nickname] :: RideReqParams -> Maybe Text [start_address] :: RideReqParams -> Maybe Text [start_place_id] :: RideReqParams -> Maybe Text [end_latitude] :: RideReqParams -> Maybe Double [end_longitude] :: RideReqParams -> Maybe Double [end_nickname] :: RideReqParams -> Maybe Text [end_address] :: RideReqParams -> Maybe Text [end_place_id] :: RideReqParams -> Maybe Text [surge_confirmation_id] :: RideReqParams -> Maybe Text [payment_method_id] :: RideReqParams -> Maybe Text defRideReqParams :: RideReqParams data RideInfo RideInfo :: Text -> Status -> Maybe Vehicle -> Maybe Driver -> Maybe Location -> Maybe Integer -> Maybe Double -> Maybe Pickup -> Maybe Destination -> RideInfo [request_id] :: RideInfo -> Text [status] :: RideInfo -> Status [vehicle] :: RideInfo -> Maybe Vehicle [driver] :: RideInfo -> Maybe Driver [location] :: RideInfo -> Maybe Location [eta] :: RideInfo -> Maybe Integer [surge_multiplier] :: RideInfo -> Maybe Double [pickup] :: RideInfo -> Maybe Pickup [destination] :: RideInfo -> Maybe Destination data Status Processing :: Status NoDriversAvailable :: Status Accepted :: Status Arriving :: Status InProgress :: Status DriverCanceled :: Status RiderCanceled :: Status Completed :: Status data Vehicle Vehicle :: Text -> Text -> Text -> Text -> Vehicle [make] :: Vehicle -> Text [model] :: Vehicle -> Text [license_plate] :: Vehicle -> Text [picture_url] :: Vehicle -> Text data Driver Driver :: Text -> Double -> Text -> Text -> Driver [d_phone_number] :: Driver -> Text [d_rating] :: Driver -> Double [d_picture_url] :: Driver -> Text [d_name] :: Driver -> Text data Location Location :: Double -> Double -> Int -> Location [latitude] :: Location -> Double [longitude] :: Location -> Double [bearing] :: Location -> Int data Pickup Pickup :: Double -> Double -> Double -> Pickup [p_latitude] :: Pickup -> Double [p_longitude] :: Pickup -> Double [p_eta] :: Pickup -> Double data Destination Destination :: Double -> Double -> Maybe Double -> Destination [d_latitude] :: Destination -> Double [d_longitude] :: Destination -> Double [d_eta] :: Destination -> Maybe Double data RidePatchParams RidePatchParams :: Maybe Double -> Maybe Double -> Maybe Text -> Maybe Text -> Maybe Text -> RidePatchParams [r_end_latitude] :: RidePatchParams -> Maybe Double [r_end_longitude] :: RidePatchParams -> Maybe Double [r_end_address] :: RidePatchParams -> Maybe Text [r_end_nickname] :: RidePatchParams -> Maybe Text [r_end_place_id] :: RidePatchParams -> Maybe Text data RideEstimate RideEstimate :: Int -> Price -> Maybe Trip -> RideEstimate [pickup_estimate] :: RideEstimate -> Int [price] :: RideEstimate -> Price [trip] :: RideEstimate -> Maybe Trip data Price Price :: Double -> Maybe Text -> Maybe Text -> Int -> Maybe Text -> Maybe Int -> Maybe Int -> Text -> Price [p_surge_multiplier] :: Price -> Double [p_surge_confirmation_id] :: Price -> Maybe Text [p_surge_confirmation_href] :: Price -> Maybe Text [p_minimum] :: Price -> Int [p_display] :: Price -> Maybe Text [p_low_estimate] :: Price -> Maybe Int [p_high_estimate] :: Price -> Maybe Int [p_currency_code] :: Price -> Text data Trip Trip :: Double -> Text -> Int -> Trip [distance_estimate] :: Trip -> Double [distance_unit] :: Trip -> Text [duration_estimate] :: Trip -> Int data ErrorResponse ErrorResponse :: SurgeError -> [UberError] -> ErrorResponse [meta] :: ErrorResponse -> SurgeError [errors] :: ErrorResponse -> [UberError] data UberError UberError :: Int -> Text -> Text -> UberError [u_status] :: UberError -> Int [u_code] :: UberError -> Text [u_title] :: UberError -> Text data SurgeError SurgeError :: SurgeConfirmation -> SurgeError [surge_confirmation] :: SurgeError -> SurgeConfirmation data SurgeConfirmation SurgeConfirmation :: Text -> Text -> Double -> Integer -> SurgeConfirmation [s_href] :: SurgeConfirmation -> Text [s_surge_confirmation_id] :: SurgeConfirmation -> Text [s_multiplier] :: SurgeConfirmation -> Double [s_expires_at] :: SurgeConfirmation -> Integer splitOnUpper :: String -> [String] toUnderscores :: String -> String instance GHC.Show.Show Uber.Types.RideRequest.ErrorResponse instance GHC.Generics.Generic Uber.Types.RideRequest.ErrorResponse instance GHC.Show.Show Uber.Types.RideRequest.SurgeError instance GHC.Generics.Generic Uber.Types.RideRequest.SurgeError instance GHC.Show.Show Uber.Types.RideRequest.SurgeConfirmation instance GHC.Generics.Generic Uber.Types.RideRequest.SurgeConfirmation instance GHC.Show.Show Uber.Types.RideRequest.UberError instance GHC.Generics.Generic Uber.Types.RideRequest.UberError instance GHC.Show.Show Uber.Types.RideRequest.RideEstimate instance GHC.Generics.Generic Uber.Types.RideRequest.RideEstimate instance GHC.Show.Show Uber.Types.RideRequest.Trip instance GHC.Generics.Generic Uber.Types.RideRequest.Trip instance GHC.Show.Show Uber.Types.RideRequest.Price instance GHC.Generics.Generic Uber.Types.RideRequest.Price instance GHC.Show.Show Uber.Types.RideRequest.RidePatchParams instance GHC.Generics.Generic Uber.Types.RideRequest.RidePatchParams instance GHC.Show.Show Uber.Types.RideRequest.RideInfo instance GHC.Generics.Generic Uber.Types.RideRequest.RideInfo instance GHC.Show.Show Uber.Types.RideRequest.Destination instance GHC.Generics.Generic Uber.Types.RideRequest.Destination instance GHC.Show.Show Uber.Types.RideRequest.Pickup instance GHC.Generics.Generic Uber.Types.RideRequest.Pickup instance GHC.Show.Show Uber.Types.RideRequest.Location instance GHC.Generics.Generic Uber.Types.RideRequest.Location instance GHC.Show.Show Uber.Types.RideRequest.Driver instance GHC.Generics.Generic Uber.Types.RideRequest.Driver instance GHC.Show.Show Uber.Types.RideRequest.Vehicle instance GHC.Generics.Generic Uber.Types.RideRequest.Vehicle instance GHC.Show.Show Uber.Types.RideRequest.Status instance GHC.Generics.Generic Uber.Types.RideRequest.Status instance GHC.Show.Show Uber.Types.RideRequest.RideReqParams instance GHC.Generics.Generic Uber.Types.RideRequest.RideReqParams instance Data.Aeson.Types.Class.ToJSON Uber.Types.RideRequest.RideReqParams instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.RideInfo instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.Vehicle instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.Location instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.RideEstimate instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.Trip instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.ErrorResponse instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.SurgeError instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.Price instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.Driver instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.Pickup instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.Destination instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.SurgeConfirmation instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.UberError instance Data.Aeson.Types.Class.FromJSON Uber.Types.RideRequest.Status instance Data.Aeson.Types.Class.ToJSON Uber.Types.RideRequest.RidePatchParams module Uber.Types.Misc data TrackingMap TrackingMap :: Text -> Text -> TrackingMap [t_request_id] :: TrackingMap -> Text [t_href] :: TrackingMap -> Text data Receipt Receipt :: Text -> [Charge] -> Maybe Charge -> [Charge] -> Text -> Text -> Text -> Maybe Double -> Text -> Text -> Text -> Text -> Receipt [request_id] :: Receipt -> Text [charges] :: Receipt -> [Charge] [surge_charge] :: Receipt -> Maybe Charge [charge_adjustments] :: Receipt -> [Charge] [normal_fare] :: Receipt -> Text [subtotal] :: Receipt -> Text [total_charged] :: Receipt -> Text [total_owed] :: Receipt -> Maybe Double [currency_code] :: Receipt -> Text [duration] :: Receipt -> Text [distance] :: Receipt -> Text [distance_label] :: Receipt -> Text data Charge Charge :: Text -> Double -> Charge [name] :: Charge -> Text [amount] :: Charge -> Double data Address Address :: Text -> Address [address] :: Address -> Text newtype PaymentMethods PaymentMethods :: [PaymentMethod] -> PaymentMethods [payment_methods] :: PaymentMethods -> [PaymentMethod] data PaymentMethod PaymentMethod :: Text -> PaymentType -> Maybe Text -> Maybe Text -> PaymentMethod [p_payment_method_id] :: PaymentMethod -> Text [p_type] :: PaymentMethod -> PaymentType [p_description] :: PaymentMethod -> Maybe Text [p_last_used] :: PaymentMethod -> Maybe Text data PaymentType AirtelMoney :: PaymentType Alipay :: PaymentType ApplePay :: PaymentType AmericanExpress :: PaymentType BaiduWallet :: PaymentType BusinessAccount :: PaymentType Cash :: PaymentType Discover :: PaymentType GoogleWallet :: PaymentType Jcb :: PaymentType Lianlian :: PaymentType Maestro :: PaymentType Mastercard :: PaymentType Paypal :: PaymentType Paytm :: PaymentType Ucharge :: PaymentType Unionpay :: PaymentType Unknown :: PaymentType Visa :: PaymentType Zaakpay :: PaymentType instance GHC.Show.Show Uber.Types.Misc.PaymentMethods instance GHC.Generics.Generic Uber.Types.Misc.PaymentMethods instance GHC.Show.Show Uber.Types.Misc.PaymentMethod instance GHC.Generics.Generic Uber.Types.Misc.PaymentMethod instance GHC.Show.Show Uber.Types.Misc.PaymentType instance GHC.Generics.Generic Uber.Types.Misc.PaymentType instance GHC.Show.Show Uber.Types.Misc.Address instance GHC.Generics.Generic Uber.Types.Misc.Address instance GHC.Show.Show Uber.Types.Misc.Receipt instance GHC.Generics.Generic Uber.Types.Misc.Receipt instance GHC.Show.Show Uber.Types.Misc.Charge instance GHC.Generics.Generic Uber.Types.Misc.Charge instance GHC.Show.Show Uber.Types.Misc.TrackingMap instance GHC.Generics.Generic Uber.Types.Misc.TrackingMap instance Data.Aeson.Types.Class.FromJSON Uber.Types.Misc.Receipt instance Data.Aeson.Types.Class.FromJSON Uber.Types.Misc.Charge instance Data.Aeson.Types.Class.FromJSON Uber.Types.Misc.Address instance Data.Aeson.Types.Class.FromJSON Uber.Types.Misc.PaymentMethods instance Data.Aeson.Types.Class.ToJSON Uber.Types.Misc.Address instance Data.Aeson.Types.Class.FromJSON Uber.Types.Misc.PaymentMethod instance Data.Aeson.Types.Class.FromJSON Uber.Types.Misc.TrackingMap instance Data.Aeson.Types.Class.FromJSON Uber.Types.Misc.PaymentType module Uber.Types.TimeEstimate data TimeEstimateParams TimeEstimateParams :: Double -> Double -> Maybe Text -> TimeEstimateParams [start_latitude] :: TimeEstimateParams -> Double [start_longitude] :: TimeEstimateParams -> Double [product_id] :: TimeEstimateParams -> Maybe Text newtype TimeEstimates TimeEstimates :: [TimeEstimate] -> TimeEstimates [times] :: TimeEstimates -> [TimeEstimate] data TimeEstimate TimeEstimate :: Text -> Text -> Int -> TimeEstimate [t_product_id] :: TimeEstimate -> Text [t_display_name] :: TimeEstimate -> Text [t_estimate] :: TimeEstimate -> Int instance GHC.Generics.Generic Uber.Types.TimeEstimate.TimeEstimates instance GHC.Show.Show Uber.Types.TimeEstimate.TimeEstimates instance GHC.Generics.Generic Uber.Types.TimeEstimate.TimeEstimate instance GHC.Show.Show Uber.Types.TimeEstimate.TimeEstimate instance GHC.Generics.Generic Uber.Types.TimeEstimate.TimeEstimateParams instance GHC.Show.Show Uber.Types.TimeEstimate.TimeEstimateParams instance WebApi.Param.ToParam 'WebApi.Param.QueryParam Uber.Types.TimeEstimate.TimeEstimateParams instance Data.Aeson.Types.Class.FromJSON Uber.Types.TimeEstimate.TimeEstimates instance Data.Aeson.Types.Class.FromJSON Uber.Types.TimeEstimate.TimeEstimate module Uber.Types.UserInfo data UserInfo UserInfo :: Text -> Text -> Text -> Bool -> Text -> Text -> UserInfo [first_name] :: UserInfo -> Text [last_name] :: UserInfo -> Text [email] :: UserInfo -> Text [mobile_verified] :: UserInfo -> Bool [promo_code] :: UserInfo -> Text [uuid] :: UserInfo -> Text instance GHC.Show.Show Uber.Types.UserInfo.UserInfo instance GHC.Generics.Generic Uber.Types.UserInfo.UserInfo instance Data.Aeson.Types.Class.FromJSON Uber.Types.UserInfo.UserInfo module Uber.Contract data UberAPI type ProductsR = Static "products" type ProductDetailsR = "products" :/ Text type PriceEstimateR = "estimates" :/ "price" type TimeEstimateR = "estimates" :/ "time" type HistoryR = Static "history" type UserInfoR = Static "me" type RequestRideR = Static "requests" type CurrentRequestR = "requests" :/ "current" type RideR = "requests" :/ Text type RideEstimateR = "requests" :/ "estimate" type TrackingMapR = "requests" :/ (Text :/ "map") type ReceiptR = "requests" :/ (Text :/ "receipts") type PlaceR = "places" :/ Text type PaymentMethodR = Static "payment-methods" type CreateReminderR = Static "reminders" type ReminderR = "reminders" :/ Text data HTMLText HTMLText :: Text -> HTMLText instance GHC.Show.Show Uber.Contract.HTMLText instance WebApi.Contract.WebApi Uber.Contract.UberAPI instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.ProductsR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.ProductDetailsR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.PriceEstimateR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.TimeEstimateR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.HistoryR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.UserInfoR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.POST Uber.Contract.RequestRideR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.CurrentRequestR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.PATCH Uber.Contract.CurrentRequestR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.DELETE Uber.Contract.CurrentRequestR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.POST Uber.Contract.RideEstimateR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.RideR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.PATCH Uber.Contract.RideR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.DELETE Uber.Contract.RideR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.TrackingMapR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.ReceiptR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.PlaceR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.PUT Uber.Contract.PlaceR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.PaymentMethodR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.POST Uber.Contract.CreateReminderR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.GET Uber.Contract.ReminderR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.PATCH Uber.Contract.ReminderR instance WebApi.Contract.ApiContract Uber.Contract.UberAPI WebApi.Method.DELETE Uber.Contract.ReminderR instance WebApi.ContentTypes.Decode WebApi.ContentTypes.HTML Uber.Contract.HTMLText module Uber.Client -- | Returns information about the Uber products offered at a given -- location getProducts :: Settings -> LatLng -> IO (Response GET ProductsR) -- | Returns information aboit a specific Uber product getProductDetails :: Settings -> ProductId -> IO (Response GET ProductDetailsR) -- | Returns an estimated price range for each product offered at a given -- location getPriceEstimate :: Settings -> PriceEstimateParams -> IO (Response GET PriceEstimateR) -- | Returns ETAs for all products offered at a given location getTimeEstimate :: Settings -> TimeEstimateParams -> IO (Response GET TimeEstimateR) -- | Returns data about a user’s activity with Uber getHistory :: Settings -> HistoryParams -> IO (Response GET HistoryR) -- | Returns information about the Uber user that has authorized with the -- application getUserInfo :: Settings -> IO (Response GET UserInfoR) -- | Requests a ride on behalf of an Uber user requestARide :: Settings -> RideReqParams -> IO (Response POST RequestRideR) -- | Returns the real-time details for an ongoing trip getCurrentRequest :: Settings -> IO (Response GET CurrentRequestR) -- | Updates an ongoing request’s destination updateCurrentRequest :: Settings -> RidePatchParams -> IO (Response PATCH CurrentRequestR) -- | Cancels the user's current trip cancelCurrentRequest :: Settings -> IO (Response DELETE CurrentRequestR) -- | Gets a ride's estimates given the desired product, start, and end -- locations getRideEstimate :: Settings -> RideReqParams -> IO (Response POST RideEstimateR) type RideId = Text type PlaceId = Text type ReminderId = Text -- | Gets the status of an ongoing or completed trip getRideStatus :: Settings -> RideId -> IO (Response GET RideR) -- | Cancels an ongoing Request on behalf of a rider cancelRide :: Settings -> RideId -> IO (Response GET RideR) -- | Updates an ongoing request’s destination updateRide :: Settings -> RideId -> RidePatchParams -> IO (Response PATCH RideR) -- | Gets a map for an accepted Request getTrackingMap :: Settings -> RideId -> IO (Response GET TrackingMapR) -- | Gets the receipt information of the completed request getReceipt :: Settings -> RideId -> IO (Response GET ReceiptR) -- | Retrieves home and work addresses from an Uber user's profile getAddress :: Settings -> PlaceId -> IO (Response GET PlaceR) -- | Updates home and work addresses for an Uber user's profile updateAddress :: Settings -> PlaceId -> Address -> IO (Response PUT PlaceR) -- | Retrievs the list of user’s available payment methods getPaymentMethods :: Settings -> IO (Response GET PaymentMethodR) -- | Sets a reminder for a future trip createReminder :: Settings -> ReminderParams -> IO (Response POST CreateReminderR) -- | Gets the status of an existing ride reminder getReminderInfo :: Settings -> ReminderId -> IO (Response GET ReminderR) -- | Removes any reminder in the pending state from being sent deleteReminder :: Settings -> ReminderId -> IO (Response DELETE ReminderR) -- | Updates an existing reminder updateReminder :: Settings -> ReminderId -> ReminderPatchParams -> IO (Response PATCH ReminderR) addV1 :: ClientSettings -> ClientSettings addV12 :: ClientSettings -> ClientSettings module Uber