import type { Client, Options as Options2, TDataShape } from './client/index.js'; import type { ChargerDetailsData, ChargerDetailsResponses, CheckByRivianIdData, CheckByRivianIdResponses, CreateCsrfTokenData, CreateCsrfTokenResponses, CurrentUserForLoginData, CurrentUserForLoginResponses, DeliveryData, DeliveryResponses, DisenrollPhoneData, DisenrollPhoneResponses, EnrollPhoneData, EnrollPhoneResponses, FinanceSummaryData, FinanceSummaryResponses, GetChargingScheduleData, GetChargingScheduleResponses, GetCompletedSessionSummariesData, GetCompletedSessionSummariesResponses, GetConfiguratorImageData, GetConfiguratorImageResponses, GetEstimatedRangeData, GetEstimatedRangeResponses, GetLinkedEmailForRivianIdData, GetLinkedEmailForRivianIdResponses, GetLiveSessionDataData, GetLiveSessionDataResponses, GetLiveSessionHistoryData, GetLiveSessionHistoryResponses, GetNonRivianUserSessionData, GetNonRivianUserSessionResponses, GetOtaUpdateDetailsData, GetOtaUpdateDetailsResponses, GetProvisionedCampSpeakersData, GetProvisionedCampSpeakersResponses, GetRegisteredWallboxesData, GetRegisteredWallboxesResponses, GetSavedTripsData, GetSavedTripsResponses, GetTrailerProfilesData, GetTrailerProfilesResponses, GetUserInfoData, GetUserInfoResponses, GetVehicleCommandData, GetVehicleCommandResponses, GetVehicleData, GetVehicleImagesData, GetVehicleImagesResponses, GetVehicleLastConnectionData, GetVehicleLastConnectionResponses, GetVehicleResponses, GetVehicleStateData, GetVehicleStateResponses, GetVehicleWheelImageData, GetVehicleWheelImageResponses, GetWallboxStatusData, GetWallboxStatusResponses, LoginData, LoginResponses, LoginWithOtpData, LoginWithOtpResponses, OrderData, OrderResponses, ParseAndShareLocationToVehicleData, ParseAndShareLocationToVehicleResponses, PaymentMethodsData, PaymentMethodsResponses, PlacesData, PlacesResponses, PlanTripData, PlanTripResponses, RegisterPushNotificationTokenData, RegisterPushNotificationTokenResponses, SaveTripData, SaveTripResponses, SearchOrdersData, SearchOrdersResponses, SearchShopPricingBySkuData, SearchShopPricingBySkuResponses, SearchShopProductsBySkusData, SearchShopProductsBySkusResponses, SendVehicleCommandData, SendVehicleCommandResponses, SetChargingScheduleData, SetChargingScheduleResponses, SetVehicleNameData, SetVehicleNameResponses, SupportedFeaturesData, SupportedFeaturesResponses, TransactionStatusData, TransactionStatusResponses, UpdateWallboxData, UpdateWallboxResponses, UserData, UserResponses, VehicleOrdersData, VehicleOrdersResponses, VehicleSubscriptionsData } from './types.gen.js'; export type Options = Options2 & { /** * You can provide a client instance returned by `createClient()` instead of * individual options. This might be also useful if you want to implement a * custom client. */ client?: Client; /** * You can pass arbitrary values through the `meta` object. This can be * used to access values that aren't defined as part of the SDK function. */ meta?: Record; }; export declare class Authentication { /** * Create a CSRF token * * Generates a CSRF token and app session token required for all subsequent requests. */ static createCsrfToken(options: Options): import("./client/types.gen.js").RequestResult; /** * Login with email and password * * Authenticates with email and password. Returns either an access token (non-MFA) * or an OTP token (MFA required). Requires `apollographql-client-name` header. * */ static login(options: Options): import("./client/types.gen.js").RequestResult; /** * Login with OTP (MFA) * * Completes MFA login using the OTP code and token from the initial login response. */ static loginWithOtp(options: Options): import("./client/types.gen.js").RequestResult; } export declare class Account { /** * Get user account information * * Returns user info including vehicles, enrolled phones, and pending invites. */ static getUserInfo(options: Options): import("./client/types.gen.js").RequestResult; /** * Get current user configuration * * Returns detailed vehicle configuration, maintenance schedule, and user settings. */ static currentUserForLogin(options: Options): import("./client/types.gen.js").RequestResult; /** * List vehicle orders * * Returns a list of vehicle orders (pre-orders and vehicle orders) for your account. */ static vehicleOrders(options: Options): import("./client/types.gen.js").RequestResult; /** * Get delivery information * * Returns delivery status and appointment details for a vehicle order. */ static delivery(options: Options): import("./client/types.gen.js").RequestResult; /** * Get order details * * Returns full details for a given order including payments, configuration, fees, and taxes. */ static order(options: Options): import("./client/types.gen.js").RequestResult; /** * Search retail orders * * Returns a list of retail orders with pagination and sorting. */ static searchOrders(options: Options): import("./client/types.gen.js").RequestResult; /** * Get user info for orders * * Returns user account information relevant to orders, including addresses and order snapshots. */ static user(options: Options): import("./client/types.gen.js").RequestResult; /** * Get payment methods * * Returns saved payment methods for the user. */ static paymentMethods(options: Options): import("./client/types.gen.js").RequestResult; /** * Get transaction status * * Returns the status of each step in the vehicle purchase transaction flow. */ static transactionStatus(options: Options): import("./client/types.gen.js").RequestResult; /** * Get finance summary * * Returns financing details for an order. */ static financeSummary(options: Options): import("./client/types.gen.js").RequestResult; /** * List camp speakers * * Returns camp speakers provisioned to your account. */ static getProvisionedCampSpeakers(options: Options): import("./client/types.gen.js").RequestResult; /** * List registered wallboxes * * Returns L2 chargers (wallboxes) provisioned to your account. */ static getRegisteredWallboxes(options: Options): import("./client/types.gen.js").RequestResult; } export declare class Charging { /** * Get wallbox status * * Returns the current status of a wallbox. */ static getWallboxStatus(options: Options): import("./client/types.gen.js").RequestResult; /** * Update wallbox name * * Renames a wallbox. */ static updateWallbox(options: Options): import("./client/types.gen.js").RequestResult; /** * Get completed charging session summaries * * Returns a summary of past charging sessions. */ static getCompletedSessionSummaries(options: Options): import("./client/types.gen.js").RequestResult; /** * Get live charging session data * * Returns real-time data for an active charging session. */ static getLiveSessionData(options: Options): import("./client/types.gen.js").RequestResult; /** * Get live charging session history * * Returns historical power data (kW over time) for an active charging session. */ static getLiveSessionHistory(options: Options): import("./client/types.gen.js").RequestResult; /** * Get non-Rivian charging session * * Returns info about active third-party charging sessions. */ static getNonRivianUserSession(options: Options): import("./client/types.gen.js").RequestResult; /** * Check linked third-party accounts * * Shows whether third-party charging accounts (e.g. ChargePoint) are linked. */ static checkByRivianId(options: Options): import("./client/types.gen.js").RequestResult; /** * Get linked third-party email * * Returns email addresses for third-party charging accounts linked to your Rivian account. */ static getLinkedEmailForRivianId(options: Options): import("./client/types.gen.js").RequestResult; /** * Get charger details * * Returns details for one or more DC charging stations by their IDs. */ static chargerDetails(options: Options): import("./client/types.gen.js").RequestResult; /** * Set charging schedule * * Sets a scheduled charging window with location and amperage. */ static setChargingSchedule(options: Options): import("./client/types.gen.js").RequestResult; /** * Get charging schedule * * Returns the current charging schedule for a vehicle. */ static getChargingSchedule(options: Options): import("./client/types.gen.js").RequestResult; } export declare class VehicleControls { /** * Enroll a phone key * * Registers a phone as a key for the vehicle. Requires generating an ECDH key pair * using the secp256r1 curve and sending the public key. Up to 2 phones can be enrolled. * */ static enrollPhone(options: Options): import("./client/types.gen.js").RequestResult; /** * Disenroll a phone key * * Removes a phone key from the vehicle. */ static disenrollPhone(options: Options): import("./client/types.gen.js").RequestResult; /** * Send a vehicle command * * Sends a command to the vehicle. Requires an HMAC signature computed from the * command name and timestamp using your phone key's private key. * */ static sendVehicleCommand(options: Options): import("./client/types.gen.js").RequestResult; /** * Get vehicle command status * * Returns the status of a previously sent vehicle command. */ static getVehicleCommand(options: Options): import("./client/types.gen.js").RequestResult; /** * Share a location to the vehicle * * Sends a location URL to the vehicle's navigation system. */ static parseAndShareLocationToVehicle(options: Options): import("./client/types.gen.js").RequestResult; } export declare class VehicleInfo { /** * Get vehicle state * * Returns comprehensive vehicle state including location, closures, battery, charging, climate, OTA, and more. */ static getVehicleState(options: Options): import("./client/types.gen.js").RequestResult; /** * Get last cloud connection * * Returns when the vehicle last synced with Rivian Cloud. */ static getVehicleLastConnection(options: Options): import("./client/types.gen.js").RequestResult; /** * Get vehicle details * * Returns vehicle details including invited users, keys, and device info. */ static getVehicle(options: Options): import("./client/types.gen.js").RequestResult; /** * Get OTA update details * * Returns release notes for current and available OTA updates. */ static getOtaUpdateDetails(options: Options): import("./client/types.gen.js").RequestResult; /** * Get vehicle images * * Returns image assets for your vehicle in various placements and designs. */ static getVehicleImages(options: Options): import("./client/types.gen.js").RequestResult; /** * Get estimated range * * Returns estimated range in kilometers based on battery SOC, drive mode, and trailer profile. */ static getEstimatedRange(options: Options): import("./client/types.gen.js").RequestResult; /** * Set vehicle name * * Renames your vehicle. */ static setVehicleName(options: Options): import("./client/types.gen.js").RequestResult; /** * Get supported features * * Returns feature flags enabled for all vehicles in your account. */ static supportedFeatures(options: Options): import("./client/types.gen.js").RequestResult; /** * Register push notification token * * Registers an FCM push notification token for your account. */ static registerPushNotificationToken(options: Options): import("./client/types.gen.js").RequestResult; /** * Get vehicle wheel image * * Returns a PNG image of a wheel option. The wheel option ID can be found * in the CurrentUserForLogin response as `wheelOption.optionId`. * No authentication required. * */ static getVehicleWheelImage(options: Options): import("./client/types.gen.js").RequestResult; /** * WebSocket subscriptions * * WebSocket endpoint for real-time vehicle data subscriptions. * Uses the `graphql-ws` protocol. Connect, send `connection_init` with auth payload, * then subscribe to one or more topics. * * **Available subscriptions:** * - `tirePressureState` - Tire pressure data * - `vehicleDepartureSchedules` - Departure schedule changes * - `vehicleCloudConnection` - Cloud connection status * - `vehicleState` - Full vehicle state updates * * **Connection init payload:** * ```json * { * "type": "connection_init", * "payload": { * "dc-cid": "", * "u-sess": "", * "client-name": "com.rivian.android.consumer", * "client-version": "2.6.1-2065" * } * } * ``` * */ static vehicleSubscriptions(options: Options): import("./client/types.gen.js").RequestResult; } export declare class TripPlanning { /** * Search for places * * Searches for places by query text, used when creating routes. */ static places(options: Options): import("./client/types.gen.js").RequestResult; /** * Plan a trip * * Plans charging stops along a route given waypoints, vehicle state, and preferences. */ static planTrip(options: Options): import("./client/types.gen.js").RequestResult; /** * Save a trip * * Saves a new trip with stops, drive mode, and departure time. */ static saveTrip(options: Options): import("./client/types.gen.js").RequestResult; /** * Get saved trips * * Returns all saved trips for the user. */ static getSavedTrips(options: Options): import("./client/types.gen.js").RequestResult; /** * Get trailer profiles * * Returns saved trailer profiles for a vehicle. */ static getTrailerProfiles(options: Options): import("./client/types.gen.js").RequestResult; } export declare class GearShop { /** * Search gear shop products * * Returns product details from the Gear Shop for a list of SKUs. Does not require user authentication. */ static searchShopProductsBySkus(options: Options): import("./client/types.gen.js").RequestResult; /** * Get gear shop pricing * * Returns pricing details for products by SKU. Does not require user authentication. */ static searchShopPricingBySku(options: Options): import("./client/types.gen.js").RequestResult; } export declare class Configurator { /** * Get configurator image * * Generates a rendered image of a vehicle configuration. No authentication required. * * **Option codes:** * - Package: PKG-LCH, PKG-ADV, PKG-EXP, PKG-ASC * - Paint: EXP-LSV, EXP-GWT, EXP-CRD, EXP-MDN, EXP-RBL, EXP-LST, EXP-FGR, EXP-LGR, EXP-ELG, EXP-CYL, EXP-SBL * - Wheels: WHL-0A1, WHL-0AD, WHL-0A2, WHL-1RD, WHL-2SS, WHL-2SD, WHL-2AR, WHL-0BS, WHL-2SP, WHL-2SB, WHL-0DD * - Interior: INT-BMP, INT-GYP, INT-GRP * - Battery: BAT-C01, BAT-B01, BAT-A01 * - Motor: MOT-201, MOT-301, MOT-401 * - Trim: ACTBDG-BRT, ACTBDG-DRK * - Generation: GEN-1, GEN-2 * */ static getConfiguratorImage(options: Options): import("./client/types.gen.js").RequestResult; } //# sourceMappingURL=sdk.gen.d.ts.map