Last active
January 6, 2025 01:29
-
-
Save jrgutier/dba157e5d7544d819d99b89881740a00 to your computer and use it in GitHub Desktop.
rivian graphql mutations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From com.rivian.android.consumer.v2.17.0 | |
"mutation acceptDelivery($orderId: ID!) { acceptDelivery(input: { orderId: $orderId } ) { vehicleId } }" | |
"mutation AcceptVehicleInvite($inviteId: String!) { acceptVehicleInvite(inviteId: $inviteId) { success } }" | |
"mutation activateSubscription($productId: String!, $vehicleId: String!) { activateSubscription(productId: $productId, vehicleId: $vehicleId) { success } }" | |
"mutation activateWallbox($wallboxId: String!) { activateWallbox(wallboxId: $wallboxId) { linked } }" | |
"mutation cancelAppointment($input: CancelAppointmentWorkOrderInput!) { cancelAppointmentWorkorder(input: $input) { id } }" | |
"mutation cancelSubscription($subscriptionId: String!, $reason: String!) { cancelSubscription(subscriptionId: $subscriptionId, reason: $reason) { success } }" | |
"mutation CancelVehicleInvite($inviteId: String!) { cancelVehicleInvite(inviteId: $inviteId) { success } }" | |
"mutation ConsumerReschedule($input: RescheduleWorkOrderAppointmentInput!) { consumerReschedule(input: $input) { failedStage message success } }" | |
"mutation ConsumerScheduleService($input: ConsumerScheduleServiceInput!) { consumerScheduleService(input: $input) { failedStage message success record { workOrderId } } }" | |
"mutation createAndLinkAccount { chargepoint { createAndLinkAccount { accountCreated status } } }" | |
"mutation createBugTicket($userVehicleData: UserVehicleInfoInput!) { createBugTicket(userVehicleData: $userVehicleData) { jiraTicketUrl } }" | |
"mutation CreateDepartureSchedule($vehicleId: String!, $schedule: InputDepartureSchedule!) { createDepartureSchedule(vehicleId: $vehicleId, schedule: $schedule) { success } }" | |
"mutation createPaymentMethod($input: CreatePaymentMethodInput!) { createPaymentMethod(input: $input) { id default type card { lastFour brand expiration } } }" | |
"mutation createServiceRequests($input: [ConsumerRequestServiceInput!]!) { consumerRequestService(input: $input) { success errors serviceTicket { id } serviceRequests { localId serviceRequest { id } uploadImageUrls { signedUrl expiresAt key } uploadVideoUrls { signedUrl expiresAt key } } } }" | |
"mutation CreateSigningChallenge($attrs: CccCreateSigningChallengeAttributes!) { cccCreateSigningChallenge(attrs: $attrs) { keyDeviceId signingChallengeHex } }" | |
"mutation CreateUserAddress($userAddress: CreateUserAddressInput!) { createUserAddress(input: $userAddress) { id line1 line2 city state postalCode country types } }" | |
"mutation creditCheck { payment { postCreditCheck(source: \"ENERGY_CHARGING\", intent: FULL_PAYMENT, verbose: TRUE) { passed rules { name passed } } } }" | |
"mutation DeclineVehicleInvite($inviteId: String!) { declineVehicleInvite(inviteId: $inviteId) { success } }" | |
"mutation DeleteCccDevice($keyIdentityId: ID!) { deleteCccDevice(keyIdentityId: $keyIdentityId) { success } }" | |
"mutation deleteDepartureSchedule($vehicleId: String!, $scheduleId: String!) { deleteDepartureSchedule(vehicleId: $vehicleId, scheduleId: $scheduleId) { success } }" | |
"mutation DeleteDevice($keyIdentityId: ID!) { deleteDevice(keyIdentityId: $keyIdentityId) { success } }" | |
"mutation DeleteMfaChannel($input: DeleteMfaChannelInput!) { deleteMfaChannel(input: $input) { success } }" | |
"mutation deletePaymentMethod($paymentMethodId: String!) { deletePaymentMethod(paymentMethodId: $paymentMethodId) { id default type card { lastFour brand expiration } } }" | |
"mutation deleteTrip($tripId: String!) { deleteTrip(tripId: $tripId) }" | |
"mutation DeleteUserAddress($addressId: String!) { deleteUserAddress(addressId: $addressId) { id line1 line2 city state postalCode country types } }" | |
"mutation DenyLocationConsentRequest($vehicleId: String!) { locationConsentRequestDeny(vehicleId: $vehicleId) { success } }" | |
"mutation departNow($vehicleId: String!, $scheduleId: String!, $skipDate: String!) { departNow(vehicleId: $vehicleId, scheduleId: $scheduleId, skipDate: $skipDate) { success } }" | |
"mutation DeregisterPushNotificationToken($data: DeregistrationInput!) { deregisterPushNotificationToken(data: $data) { success } }" | |
"mutation disableKey($keyIdentityId: ID!, $HRID: String!) { disableKey(keyIdentityId: $keyIdentityId, HRID: $HRID) { success } }" | |
"mutation DisenrollPhone($attrs: DisenrollPhoneAttributes!) { disenrollPhone(attrs: $attrs) { success } }" | |
"mutation EnableCcc($vehicleId: String!) { enableCcc(vehicleId: $vehicleId) { success } }" | |
"mutation enableKey($keyIdentityId: ID!, $HRID: String!) { enableKey(keyIdentityId: $keyIdentityId, HRID: $HRID) { success } }" | |
"mutation EnrollEmailMfa($input: EnrollEmailMfaInput!) { enrollEmailMfa(input: $input) { mfaId mfaToken channelType } }" | |
"mutation EnrollKeyFob($attrs: EnrollKeyFobAttributes!) { enrollKeyFob(attrs: $attrs) { success } }" | |
"mutation EnrollPhone($attrs: EnrollPhoneAttributes!) { enrollPhone(attrs: $attrs) { success } }" | |
"mutation EnrollSmsMfa($input: EnrollSmsMfaInput!) { enrollSmsMfa(input: $input) { mfaId mfaToken channelType } }" | |
"mutation forgotPassword($emailInput: ForgotPasswordInput!) { forgotPassword(input: $emailInput) { success } }" | |
"mutation GenerateHandoffToken { generateHandoffToken { accessToken } }" | |
"mutation InviteUserToVehicle($attrs: VehicleInviteAttributes!) { inviteUserToVehicle(attrs: $attrs) { success } }" | |
"mutation linkMediasToServiceRequest($input: ConsumerUpdateServiceRequestInput!) { consumerUpdateServiceRequest(input: $input) { success serviceRequest { id imageKeys videoKeys media { imageUrls videoUrls } } } }" | |
"mutation liveNotificationDeregisterStartToken($deviceId: String!, $appBuildType: MobileApp!) { liveNotificationDeregisterStartToken(deviceId: $deviceId, appBuildType: $appBuildType) { success } }" | |
"mutation liveNotificationEnd($key: NotificationKeyInput!) { liveNotificationEnd(key: $key) { success } }" | |
"mutation liveNotificationRegisterStartToken($deviceId: String!, $appBuildType: MobileApp!, $token: String!) { liveNotificationRegisterStartToken(deviceId: $deviceId, appBuildType: $appBuildType, token: $token) { success } }" | |
"mutation Login($email: String!, $password: String!) { login(email: $email, password: $password) { __typename ... on MobileLoginResponse { accessToken refreshToken userSessionToken } ... on MobileMFALoginResponse { otpToken targetChannel { __typename ... on MfaEmailChannel { mfaId default email } ... on MfaPhoneChannel { mfaId default phone } } channels { __typename ... on MfaEmailChannel { mfaId default email } ... on MfaPhoneChannel { mfaId default phone } } } } }" | |
"mutation LoginWithOTP($email: String!, $otpCode: String!, $otpToken: String!) { loginWithOTPV2(email: $email, otpCode: $otpCode, otpToken: $otpToken) { __typename ... on MobileLoginResponse { accessToken refreshToken userSessionToken } } }" | |
"mutation Logout { logout { success } }" | |
"mutation MarkAsyncMessageThreadAsRead($input: CommsMarkThreadAsReadInput) { commsMarkThreadAsRead(input: $input) { workOrderId success } }" | |
"mutation ParseAndShareLocationToVehicle($str: String!, $vehicleId: String!) { parseAndShareLocationToVehicle(str: $str, vehicleId: $vehicleId) { publishResponse { result } } }" | |
"mutation postBalanceRecord { payment { postBalanceRecord(source: \"ENERGY_CHARGING\", balanceType: DEBIT) { createdDate paymentReferenceId value { amount } extra { operatorId city } } } }" | |
"mutation ReassignKey($attrs: ReassignKeyAttributes!) { reassignKey(attrs: $attrs) { success } }" | |
"mutation RegisterPushNotificationToken($data: RegistrationInput!) { registerPushNotificationToken(data: $data) { deviceTokenId locale success token } }" | |
"mutation RemoveUserFromVehicle($attrs: RemoveUserFromVehicleAttributes!) { removeUserFromVehicle(attrs: $attrs) { success } }" | |
"mutation removeWallbox($wallboxId: String!) { removeWallbox(wallboxId: $wallboxId) { linked } }" | |
"mutation ResendOTPCode($otpToken: String!, $mfaId: String) { resendOTPCode(otpToken: $otpToken, mfaId: $mfaId) { success otpToken } }" | |
"mutation retryPayment($paymentReferenceId: ID!) { payment { retryPayment(paymentReferenceId: $paymentReferenceId, existingPaymentMethod: true) { status } } }" | |
"mutation saveTrip($attrs: TripPlanInput!) { saveTrip(attrs: $attrs) }" | |
"mutation SendAsyncMessage($input: CommsSendThreadedMessageInput!) { commsSendThreadedMessage(input: $input) { message { __typename ...AsyncMessageFields } success } } fragment AsyncMessageFields on CommsThreadMessage { authorType authorName authorId createdAt message messageId messageTemplateId workOrderId }" | |
"mutation SendLocationConsentRequest($vehicleId: String!) { locationConsentRequestSend(vehicleId: $vehicleId) { success } }" | |
"mutation sendTripToVehicle($attrs: SendTripToVehicleInput!) { sendTripToVehicle(attrs: $attrs) }" | |
"mutation sendVehicleCommand($attrs: VehicleCommandAttributes!) { sendVehicleCommand(attrs: $attrs) { id command state } }" | |
"mutation SendVehicleOperation($vehicleId: String!, $payload: String!) { sendVehicleOperation(vehicleId: $vehicleId, payload: $payload) { success sequenceNumber } }" | |
"mutation SendVerificationEmail { sendVerificationEmail { success } }" | |
"mutation SetChargingSchedule($vehicleId: String!, $chargingSchedules: [InputChargingSchedule!]!) { setChargingSchedules(vehicleId: $vehicleId, chargingSchedules: $chargingSchedules) { success } }" | |
"mutation SetDistanceUnit($unit: DistanceUnit!, $timeStamp: UnixTimestamp!) { setDistanceUnit(unit: $unit, timestamp: $timeStamp) }" | |
"mutation setInVehicleTransactionsAllowed($vehicleId: String!, $value: Boolean!) { setInVehicleTransactionsAllowed(vehicleId: $vehicleId, value: $value) { success } }" | |
"mutation setLocationSharingConsent($consent: Boolean!, $duration: Int, $timestamp: UnixTimestamp) { setLocationSharingConsent(consent: $consent, duration: $duration, timestamp: $timestamp) { success } }" | |
"mutation SetPressureUnit($unit: PressureUnit!, $timestamp: UnixTimestamp) { setPressureUnit(unit: $unit, timestamp: $timestamp) }" | |
"mutation SetTemperatureUnit($unit: TemperatureUnit!, $timeStamp: UnixTimestamp!) { setTemperatureUnit(unit: $unit, timestamp: $timeStamp) }" | |
"mutation SetVehicleName($vehicleId: String!, $name: String!) { setVehicleName(vehicleId: $vehicleId, name: $name) { value } }" | |
"mutation skipNextScheduledDeparture($vehicleId: String!, $scheduleId: String!, $skipDate: String!) { skipNextScheduledDeparture(vehicleId: $vehicleId, scheduleId: $scheduleId, skipDate: $skipDate) { success } }" | |
"mutation StartNewChargerSession($locationId: ID, $chargingNetwork: ID!, $evseId: ID!, $serialNumber: ID!, $vehicleId: ID) { startNewChargerSession(locationId: $locationId, chargingNetwork: $chargingNetwork, evseId: $evseId, serialNumber: $serialNumber, vehicleId: $vehicleId) { id sessionId status errorMessage errorId } }" | |
"mutation transferOwnership($vehicleID: String!) { transferOwnership(vehicleId: $vehicleID) { success } }" | |
"mutation updateDefaultPaymentMethod($paymentMethodId: String!) { updateDefaultPaymentMethod(paymentMethodId: $paymentMethodId) { id default type card { lastFour brand expiration } } }" | |
"mutation UpdateDepartureSchedule($vehicleId: String!, $scheduleId: String!, $schedule: InputDepartureSchedule!) { updateDepartureSchedule(vehicleId: $vehicleId, scheduleId: $scheduleId, schedule: $schedule) { success } }" | |
"mutation UpdateMfaPreferences($input: UpdateMfaPreferencesInput!) { updateMfaPreferences(input: $input) { mfaId } }" | |
"mutation updateTrip($tripId: String!, $attrs: TripPlanInput!) { updateTrip(tripId: $tripId, attrs: $attrs) }" | |
"mutation updateTripTimestamp($tripId: String!) { updateTripTimestamp(tripId: $tripId) }" | |
"mutation UpdateUserAddress($updateUserAddressInput: UpdateUserAddressInput!) { updateUserAddress(input: $updateUserAddressInput) { id line1 line2 city state postalCode country types } }" | |
"mutation updateUserPassword($updatePasswordInput: UpdatePasswordInput!) { updateUserPassword(input: $updatePasswordInput) { __typename ... on Success { success } ... on MobileMFALoginResponse { otpToken targetChannel { __typename ... on MfaEmailChannel { mfaId default email } ... on MfaPhoneChannel { mfaId default phone } } channels { __typename ... on MfaEmailChannel { mfaId default email } ... on MfaPhoneChannel { mfaId default phone } } } } }" | |
"mutation updateUserPasswordWithOTP($updateInfo: UpdatePasswordWithOTPInput!) { updateUserPasswordWithOTP(input: $updateInfo) { success } }" | |
"mutation updateUserPhone($updateInfo: UpdateUserPhoneInput!) { updateUserPhone(input: $updateInfo) { primaryPhone { phone countryCode national formatted } } }" | |
"mutation updateUserSubscriptions($userSubscriptionInput: UpdateUserSubscriptionsInput!) { updateUserSubscriptions(input: $userSubscriptionInput) { success } }" | |
"mutation updateWallbox($wallboxId: String!, $wifiId: String, $name: String, $latitude: String, $longitude: String) { updateWallbox(wallboxId: $wallboxId, wifiId: $wifiId, name: $name, latitude: $latitude, longitude: $longitude) { wallboxId userId wifiId name linked latitude longitude chargingStatus power currentVoltage currentAmps softwareVersion model serialNumber maxPower maxVoltage maxAmps } }" | |
"mutation ValidateMfaEnrollment($input: ValidateMfaEnrollmentInput!) { validateMfaEnrollment(input: $input) { mfaId } }" | |
"mutation VerifyEmail($emailInput: VerifyEmailInput!) { verifyEmail(input: $emailInput) { verified } }" | |
"mutation VerifySigningChallenge($attrs: CccVerifySigningChallengeAttributes!) { cccVerifySigningChallenge(attrs: $attrs) { keyDevicesUpdated signResponseVerified userId vasPhoneId vehicleId } }" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment