import { ChargeSchedule, LatLong, MediaPlaybackStatus, OffPeakChargingTimes, PreconditionSchedule, PreconditioningTimes, StwHeatLevel, Void } from "./common.mjs"; import { Role } from "./keys.mjs"; import { SessionInfo } from "./signatures.mjs"; import { KeyFormFactor } from "./vcsec.mjs"; import { ClimateState_CopActivationTemp, ClimateState_DogModeState, KeepOnAccessoryPortRequest, VehicleData, VehicleImageStateType, VehicleState_GuestMode } from "./vehicle.mjs"; import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; //#region src/command/car_server.d.ts declare const protobufPackage = "CarServer"; /** * UPSTREAM-SOURCE: teslamotors/vehicle-command * UPSTREAM-PATH: pkg/protocol/protobuf/car_server.proto * UPSTREAM-COMMIT: see upstream.json * This file = upstream base + Teslemetry extensions marked TESLEMETRY-EXT. */ declare enum OperationStatusE { OPERATIONSTATUS_OK = 0, OPERATIONSTATUS_ERROR = 1, UNRECOGNIZED = -1 } declare function operationStatusEFromJSON(object: any): OperationStatusE; declare function operationStatusEToJSON(object: OperationStatusE): string; /** * ===== TESLEMETRY-EXT BEGIN ===== * Identifies the vehicle-data section an EncryptedData entry holds. These values * are this enum's own numbering, not VehicleData field numbers. * UNCONFIRMED: not yet confirmed on a live vehicle. */ declare enum VehicleDataFields { NOTHING = 0, gui_settings = 2, charge_state = 3, climate_state = 4, drive_state = 5, vehicle_state = 6, vehicle_config = 7, location_state = 8, closures_state = 9, parked_accessory_state = 10, charge_schedule_state = 11, preconditioning_schedule_state = 12, media_state = 13, media_detail_state = 14, tire_pressure_state = 15, vehicle_detail_state = 16, software_update_state = 17, parental_controls_state = 18, alert_state = 19, light_show_state = 20, vehicle_image_state = 21, soh_state = 22, suspension_state = 23, child_presence_detection_state = 24, display_state = 30, keep_on_accessory_ports_state = 33, legacy_vehicle_state_media_info = 6072, UNRECOGNIZED = -1 } declare function vehicleDataFieldsFromJSON(object: any): VehicleDataFields; declare function vehicleDataFieldsToJSON(object: VehicleDataFields): string; declare enum RemoteNavTripOrderE { RemoteNavTripOrderReplace = 0, RemoteNavTripOrderPrepend = 1, RemoteNavTripOrderAppend = 2, UNRECOGNIZED = -1 } declare function remoteNavTripOrderEFromJSON(object: any): RemoteNavTripOrderE; declare function remoteNavTripOrderEToJSON(object: RemoteNavTripOrderE): string; interface Action { vehicleAction?: VehicleAction | undefined; } interface VehicleAction { getVehicleData?: GetVehicleData | undefined; /** TESLEMETRY-EXT */ remoteStartDrive?: RemoteStartDrive | undefined; /** TESLEMETRY-EXT */ createStreamSession?: CreateStreamSession | undefined; /** TESLEMETRY-EXT */ streamMessage?: StreamMessage | undefined; chargingSetLimitAction?: ChargingSetLimitAction | undefined; chargingStartStopAction?: ChargingStartStopAction | undefined; drivingClearSpeedLimitPinAction?: DrivingClearSpeedLimitPinAction | undefined; drivingSetSpeedLimitAction?: DrivingSetSpeedLimitAction | undefined; drivingSpeedLimitAction?: DrivingSpeedLimitAction | undefined; hvacAutoAction?: HvacAutoAction | undefined; /** Missing = 11; */ hvacSetPreconditioningMaxAction?: HvacSetPreconditioningMaxAction | undefined; hvacSteeringWheelHeaterAction?: HvacSteeringWheelHeaterAction | undefined; hvacTemperatureAdjustmentAction?: HvacTemperatureAdjustmentAction | undefined; mediaPlayAction?: MediaPlayAction | undefined; mediaUpdateVolume?: MediaUpdateVolume | undefined; mediaNextFavorite?: MediaNextFavorite | undefined; mediaPreviousFavorite?: MediaPreviousFavorite | undefined; mediaNextTrack?: MediaNextTrack | undefined; mediaPreviousTrack?: MediaPreviousTrack | undefined; /** TESLEMETRY-EXT */ navigationRequest?: NavigationRequest | undefined; /** TESLEMETRY-EXT */ navigationSuperchargerRequest?: NavigationSuperchargerRequest | undefined; getNearbyChargingSites?: GetNearbyChargingSites | undefined; /** TESLEMETRY-EXT */ uiSetUpcomingCalendarEntries?: UiSetUpcomingCalendarEntries | undefined; vehicleControlCancelSoftwareUpdateAction?: VehicleControlCancelSoftwareUpdateAction | undefined; vehicleControlFlashLightsAction?: VehicleControlFlashLightsAction | undefined; vehicleControlHonkHornAction?: VehicleControlHonkHornAction | undefined; vehicleControlResetValetPinAction?: VehicleControlResetValetPinAction | undefined; vehicleControlScheduleSoftwareUpdateAction?: VehicleControlScheduleSoftwareUpdateAction | undefined; vehicleControlSetSentryModeAction?: VehicleControlSetSentryModeAction | undefined; vehicleControlSetValetModeAction?: VehicleControlSetValetModeAction | undefined; vehicleControlSunroofOpenCloseAction?: VehicleControlSunroofOpenCloseAction | undefined; vehicleControlTriggerHomelinkAction?: VehicleControlTriggerHomelinkAction | undefined; vehicleControlWindowAction?: VehicleControlWindowAction | undefined; hvacBioweaponModeAction?: HvacBioweaponModeAction | undefined; hvacSeatHeaterActions?: HvacSeatHeaterActions | undefined; /** TESLEMETRY-EXT */ vehicleDataSubscription?: VehicleDataSubscription | undefined; /** TESLEMETRY-EXT */ vehicleDataAck?: VehicleDataAck | undefined; /** TESLEMETRY-EXT */ vitalsSubscription?: VitalsSubscription | undefined; /** TESLEMETRY-EXT */ vitalsAck?: VitalsAck | undefined; scheduledChargingAction?: ScheduledChargingAction | undefined; scheduledDepartureAction?: ScheduledDepartureAction | undefined; setChargingAmpsAction?: SetChargingAmpsAction | undefined; hvacClimateKeeperAction?: HvacClimateKeeperAction | undefined; /** TESLEMETRY-EXT */ hvacRecirculationAction?: HvacRecirculationAction | undefined; ping?: Ping | undefined; /** TESLEMETRY-EXT */ dashcamSaveClipAction?: DashcamSaveClipAction | undefined; autoSeatClimateAction?: AutoSeatClimateAction | undefined; hvacSeatCoolerActions?: HvacSeatCoolerActions | undefined; setCabinOverheatProtectionAction?: SetCabinOverheatProtectionAction | undefined; /** TESLEMETRY-EXT */ piiKeyRequest?: PiiKeyRequest | undefined; /** TESLEMETRY-EXT */ pseudonymSyncRequest?: PseudonymSyncRequest | undefined; /** TESLEMETRY-EXT */ navigationGpsRequest?: NavigationGpsRequest | undefined; setVehicleNameAction?: SetVehicleNameAction | undefined; /** TESLEMETRY-EXT */ setRateTariffRequest?: SetRateTariffRequest | undefined; /** TESLEMETRY-EXT */ getRateTariffRequest?: GetRateTariffRequest | undefined; /** TESLEMETRY-EXT */ videoRequestAction?: VideoRequestAction | undefined; /** TESLEMETRY-EXT */ takeDrivenoteAction?: TakeDrivenoteAction | undefined; chargePortDoorClose?: ChargePortDoorClose | undefined; chargePortDoorOpen?: ChargePortDoorOpen | undefined; /** TESLEMETRY-EXT */ bluetoothClassicPairingRequest?: BluetoothClassicPairingRequest | undefined; /** TESLEMETRY-EXT */ boomboxAction?: BoomboxAction | undefined; guestModeAction?: VehicleState_GuestMode | undefined; setCopTempAction?: SetCopTempAction | undefined; /** TESLEMETRY-EXT */ addManagedChargingSiteRequest?: AddManagedChargingSiteRequest | undefined; /** TESLEMETRY-EXT */ removeManagedChargingSiteRequest?: RemoveManagedChargingSiteRequest | undefined; /** TESLEMETRY-EXT */ navigationRouteAction?: NavigationRouteAction | undefined; /** TESLEMETRY-EXT */ autoStwHeatAction?: AutoStwHeatAction | undefined; /** TESLEMETRY-EXT */ stwHeatLevelAction?: StwHeatLevelAction | undefined; eraseUserDataAction?: EraseUserDataAction | undefined; /** TESLEMETRY-EXT */ getManagedChargingSitesRequest?: GetManagedChargingSitesRequest | undefined; /** TESLEMETRY-EXT */ updateChargeOnSolarFeatureRequest?: UpdateChargeOnSolarFeatureRequest | undefined; /** TESLEMETRY-EXT */ getChargeOnSolarFeatureRequest?: GetChargeOnSolarFeatureRequest | undefined; vehicleControlSetPinToDriveAction?: VehicleControlSetPinToDriveAction | undefined; vehicleControlResetPinToDriveAction?: VehicleControlResetPinToDriveAction | undefined; drivingClearSpeedLimitPinAdminAction?: DrivingClearSpeedLimitPinAdminAction | undefined; /** TESLEMETRY-EXT */ setOutletsOnOffAction?: SetOutletsOnOffAction | undefined; /** TESLEMETRY-EXT */ setOutletTimerAction?: SetOutletTimerAction | undefined; /** TESLEMETRY-EXT */ setOutletSocLimitAction?: SetOutletSocLimitAction | undefined; /** TESLEMETRY-EXT */ setPowerFeedOnOffAction?: SetPowerFeedOnOffAction | undefined; /** TESLEMETRY-EXT */ setPowerFeedTimerAction?: SetPowerFeedTimerAction | undefined; /** TESLEMETRY-EXT */ setPowerFeedSocLimitAction?: SetPowerFeedSocLimitAction | undefined; /** TESLEMETRY-EXT */ setTrailerLightTestStartStopAction?: SetTrailerLightTestStartStopAction | undefined; /** TESLEMETRY-EXT */ setTruckBedLightAutoStateAction?: SetTruckBedLightAutoStateAction | undefined; /** TESLEMETRY-EXT */ setTruckBedLightBrightnessAction?: SetTruckBedLightBrightnessAction | undefined; vehicleControlResetPinToDriveAdminAction?: VehicleControlResetPinToDriveAdminAction | undefined; /** TESLEMETRY-EXT */ navigationWaypointsRequest?: NavigationWaypointsRequest | undefined; /** TESLEMETRY-EXT */ setPowershareFeatureAction?: SetPowershareFeatureAction | undefined; /** TESLEMETRY-EXT */ setPowershareDischargeLimitAction?: SetPowershareDischargeLimitAction | undefined; /** TESLEMETRY-EXT */ setPowershareRequestAction?: SetPowershareRequestAction | undefined; /** TESLEMETRY-EXT */ setTentModeRequestAction?: SetTentModeRequestAction | undefined; /** TESLEMETRY-EXT */ setFrontZoneLightRequestAction?: SetZoneLightRequestAction | undefined; /** TESLEMETRY-EXT */ setRearZoneLightRequestAction?: SetZoneLightRequestAction | undefined; addChargeScheduleAction?: ChargeSchedule | undefined; removeChargeScheduleAction?: RemoveChargeScheduleAction | undefined; addPreconditionScheduleAction?: PreconditionSchedule | undefined; removePreconditionScheduleAction?: RemovePreconditionScheduleAction | undefined; /** TESLEMETRY-EXT */ setLightbarBrightnessAction?: SetLightbarBrightnessAction | undefined; /** TESLEMETRY-EXT */ setLightbarMiddleAction?: SetLightbarMiddleAction | undefined; /** TESLEMETRY-EXT */ setLightbarDitchAction?: SetLightbarDitchAction | undefined; /** TESLEMETRY-EXT */ getMessagesAction?: GetMessagesAction | undefined; /** TESLEMETRY-EXT */ teslaAuthResponseAction?: TeslaAuthResponseAction | undefined; /** TESLEMETRY-EXT */ navigationGpsDestinationRequest?: NavigationGpsDestinationRequest | undefined; batchRemovePreconditionSchedulesAction?: BatchRemovePreconditionSchedulesAction | undefined; batchRemoveChargeSchedulesAction?: BatchRemoveChargeSchedulesAction | undefined; parentalControlsClearPinAction?: ParentalControlsClearPinAction | undefined; parentalControlsClearPinAdminAction?: ParentalControlsClearPinAdminAction | undefined; parentalControlsAction?: ParentalControlsAction | undefined; parentalControlsEnableSettingsAction?: ParentalControlsEnableSettingsAction | undefined; parentalControlsSetSpeedLimitAction?: ParentalControlsSetSpeedLimitAction | undefined; /** TESLEMETRY-EXT */ cancelSohTestAction?: CancelSohTestAction | undefined; /** Missing = 115; */ stopLightShowAction?: StopLightShowAction | undefined; /** TESLEMETRY-EXT */ startLightShowAction?: StartLightShowAction | undefined; /** TESLEMETRY-EXT */ setSuspensionLevelAction?: SetSuspensionLevelAction | undefined; /** TESLEMETRY-EXT */ setDischargeLimitAction?: SetDischargeLimitAction | undefined; setLowPowerModeAction?: SetLowPowerModeAction | undefined; /** TESLEMETRY-EXT */ setTemperatureUnitAction?: SetTemperatureUnitAction | undefined; /** TESLEMETRY-EXT */ setDistanceUnitAction?: SetDistanceUnitAction | undefined; /** TESLEMETRY-EXT */ setTimeDisplayFormatAction?: SetTimeDisplayFormatAction | undefined; /** TESLEMETRY-EXT */ setTirePressureUnitAction?: SetTirePressureUnitAction | undefined; /** TESLEMETRY-EXT */ setEnergyDisplayFormatAction?: SetEnergyDisplayFormatAction | undefined; setKeepAccessoryPowerModeAction?: SetKeepAccessoryPowerModeAction | undefined; /** TESLEMETRY-EXT */ setupCloudProfileWithLocalProfileUuidAction?: SetupCloudProfileWithLocalProfileUuidAction | undefined; /** TESLEMETRY-EXT */ getLocalProfilesForVaultUuidAction?: GetLocalProfilesForVaultUuidAction | undefined; /** TESLEMETRY-EXT */ fetchKeysInfoAction?: FetchKeysInfoAction | undefined; /** TESLEMETRY-EXT */ deleteDashcamClipsAction?: DeleteDashcamClipsAction | undefined; /** TESLEMETRY-EXT */ formatUsbAction?: FormatUSBAction | undefined; /** TESLEMETRY-EXT UNCONFIRMED: not yet confirmed on a live vehicle */ setUpkeepUsernameAction?: SetUpkeepUsernameAction | undefined; /** TESLEMETRY-EXT */ bandwidthTest?: BandwidthTest | undefined; /** TESLEMETRY-EXT */ setPhoneSettingPreferencesAction?: SetPhoneSettingPreferencesAction | undefined; /** TESLEMETRY-EXT */ cancelVehicleDataSubscription?: CancelVehicleDataSubscription | undefined; /** TESLEMETRY-EXT UNCONFIRMED: not yet confirmed on a live vehicle */ prepareMobileUploadAction?: PrepareMobileUploadAction | undefined; /** TESLEMETRY-EXT UNCONFIRMED: not yet confirmed on a live vehicle */ putMobileUploadChunkAction?: PutMobileUploadChunkAction | undefined; /** TESLEMETRY-EXT UNCONFIRMED: not yet confirmed on a live vehicle */ displayStateAction?: DisplayStateAction | undefined; /** TESLEMETRY-EXT UNCONFIRMED: not yet confirmed on a live vehicle */ drivingSetCruiseSpeedLimitAction?: DrivingSetCruiseSpeedLimitAction | undefined; /** TESLEMETRY-EXT UNCONFIRMED: not yet confirmed on a live vehicle */ setDeckLightAction?: SetDeckLightAction | undefined; /** TESLEMETRY-EXT UNCONFIRMED: not yet confirmed on a live vehicle */ setKeepOnCabin12vPortAction?: SetKeepOnCabin12vPortAction | undefined; /** TESLEMETRY-EXT UNCONFIRMED: not yet confirmed on a live vehicle */ setKeepOnCabin48vPortAction?: SetKeepOnCabin48vPortAction | undefined; /** Asks the vehicle not to send the routine success reply to this action. // TESLEMETRY-EXT */ dropNominalSuccessResponses: boolean; } interface GetVehicleData { /** TESLEMETRY-EXT */ getGuiSettings: GetGuiSettings | undefined; getChargeState: GetChargeState | undefined; getClimateState: GetClimateState | undefined; getDriveState: GetDriveState | undefined; /** TESLEMETRY-EXT */ getLegacyVehicleState: GetLegacyVehicleState | undefined; /** TESLEMETRY-EXT */ getVehicleConfig: GetVehicleConfig | undefined; getLocationState: GetLocationState | undefined; getClosuresState: GetClosuresState | undefined; /** TESLEMETRY-EXT */ getParkedAccessoryState: GetParkedAccessoryState | undefined; getChargeScheduleState: GetChargeScheduleState | undefined; getPreconditioningScheduleState: GetPreconditioningScheduleState | undefined; /** TESLEMETRY-EXT */ getSohState: GetSohState | undefined; /** TESLEMETRY-EXT */ getVehicleDetailState: GetVehicleDetailState | undefined; getTirePressureState: GetTirePressureState | undefined; getMediaState: GetMediaState | undefined; getMediaDetailState: GetMediaDetailState | undefined; getSoftwareUpdateState: GetSoftwareUpdateState | undefined; /** TESLEMETRY-EXT */ getVehicleState: GetVehicleState | undefined; getParentalControlsState: GetParentalControlsState | undefined; /** TESLEMETRY-EXT */ getAlertState: GetAlertState | undefined; /** TESLEMETRY-EXT */ getLightShowState: GetLightShowState | undefined; /** TESLEMETRY-EXT */ getVehicleImageState: GetVehicleImageState | undefined; /** TESLEMETRY-EXT */ getSuspensionState: GetSuspensionState | undefined; /** TESLEMETRY-EXT */ getChildPresenceDetectionState: GetChildPresenceDetectionState | undefined; /** TESLEMETRY-EXT */ getDisplayState: GetDisplayState | undefined; /** TESLEMETRY-EXT UNCONFIRMED: not yet confirmed on a live vehicle */ getKeepOnAccessoryPortsState: GetKeepOnAccessoryPortsState | undefined; } /** ===== TESLEMETRY-EXT BEGIN ===== */ interface GetGuiSettings {} interface GetKeepOnAccessoryPortsState {} interface GetLegacyVehicleState {} interface GetVehicleConfig {} interface GetSohState {} interface GetVehicleDetailState {} interface GetParkedAccessoryState {} interface GetVehicleState {} interface GetAlertState {} interface GetLightShowState {} interface GetVehicleImageState { imageRequests: VehicleImageRequest[]; } interface GetSuspensionState {} interface GetChildPresenceDetectionState {} interface GetDisplayState {} interface VehicleImageDataChunkRequest { chunkOffset: number; chunkSize: number; } interface VehicleImageRequest { dataType: VehicleImageRequest_Type; imageType: VehicleImageStateType; chunkRequest: VehicleImageDataChunkRequest | undefined; } declare enum VehicleImageRequest_Type { ID = 0, DATA = 1, UNRECOGNIZED = -1 } declare function vehicleImageRequest_TypeFromJSON(object: any): VehicleImageRequest_Type; declare function vehicleImageRequest_TypeToJSON(object: VehicleImageRequest_Type): string; interface MobileImageUploadParams { imageType: VehicleImageStateType; widthPx: number; heightPx: number; mimeType: string; } interface MobileUploadParams { totalSize: number; contentSha256: Uint8Array; } interface PrepareMobileUploadAction { uploadParams: MobileUploadParams | undefined; imageParams: MobileImageUploadParams | undefined; /** UNCONFIRMED: not yet confirmed on a live vehicle */ apply: boolean; overwriteOldestIfFull: boolean; } interface PrepareMobileUploadResponse { status: PrepareMobileUploadResponse_Status; uploadId: string; maxChunkSize: number; } declare enum PrepareMobileUploadResponse_Status { OK = 0, SIZE_EXCEEDED = 1, INVALID_FORMAT = 2, INVALID_DIMENSIONS = 3, UNSUPPORTED_ASSET_TYPE = 4, OUT_OF_SPACE = 5, ALREADY_EXISTS = 6, INTERNAL_ERROR = 7, UPLOAD_CAP_REACHED = 8, INVALID_REQUEST = 9, UPLOAD_IN_PROGRESS = 10, UNRECOGNIZED = -1 } declare function prepareMobileUploadResponse_StatusFromJSON(object: any): PrepareMobileUploadResponse_Status; declare function prepareMobileUploadResponse_StatusToJSON(object: PrepareMobileUploadResponse_Status): string; interface PutMobileUploadChunkAction { uploadId: string; chunkOffset: number; chunkData: Uint8Array; } interface PutMobileUploadChunkResponse { status: PutMobileUploadChunkResponse_Status; resourceId: Uint8Array; } declare enum PutMobileUploadChunkResponse_Status { OK = 0, COMPLETE = 1, UNKNOWN_UPLOAD = 2, OUT_OF_ORDER = 3, SIZE_EXCEEDED = 4, HASH_MISMATCH = 5, INVALID_FORMAT = 6, INVALID_DIMENSIONS = 7, INTERNAL_ERROR = 8, UNRECOGNIZED = -1 } declare function putMobileUploadChunkResponse_StatusFromJSON(object: any): PutMobileUploadChunkResponse_Status; declare function putMobileUploadChunkResponse_StatusToJSON(object: PutMobileUploadChunkResponse_Status): string; /** ===== TESLEMETRY-EXT BEGIN ===== */ interface DogModeLiveActivityData { disabledReason: DogModeLiveActivityData_DisabledReason; /** UNCONFIRMED: not yet confirmed on a live vehicle */ interiorImage: DogModeLiveActivityData_DogModeImageData | undefined; /** UNCONFIRMED: not yet confirmed on a live vehicle */ vin: string; /** UNCONFIRMED: not yet confirmed on a live vehicle */ timestamp: Date | undefined; insideTemperatureCelsius: number; faultState: ClimateState_DogModeState; temperatureUnit: SetTemperatureUnitAction_Unit; batteryLevel: number; } declare enum DogModeLiveActivityData_DisabledReason { REASON_UNKNOWN = 0, REASON_NO_PREMIUM_CONNECTIVITY = 1, REASON_TOGGLE_OFF = 2, REASON_DISALLOWED_COUNTRY = 3, UNRECOGNIZED = -1 } declare function dogModeLiveActivityData_DisabledReasonFromJSON(object: any): DogModeLiveActivityData_DisabledReason; declare function dogModeLiveActivityData_DisabledReasonToJSON(object: DogModeLiveActivityData_DisabledReason): string; /** * UNCONFIRMED: not yet confirmed on a live vehicle. Both fields carry an * encrypted envelope whose message type this repo does not publish. */ interface DogModeLiveActivityData_DogModeImageData { wrappedKey: Uint8Array; image: Uint8Array; } interface GetTirePressureState {} interface GetMediaState {} interface GetMediaDetailState {} interface GetSoftwareUpdateState {} interface GetChargeState {} interface GetClimateState {} interface GetDriveState {} interface GetLocationState {} interface GetClosuresState {} interface GetChargeScheduleState {} interface GetPreconditioningScheduleState {} interface GetParentalControlsState {} interface EraseUserDataAction { reason: string; /** TESLEMETRY-EXT */ triggerOnPark: boolean; } interface Response { actionStatus: ActionStatus | undefined; vehicleData?: VehicleData | undefined; getSessionInfoResponse?: SessionInfo | undefined; /** TESLEMETRY-EXT */ streamMessage?: StreamMessage | undefined; getNearbyChargingSites?: NearbyChargingSites | undefined; /** TESLEMETRY-EXT */ vehicleDataSubscriptionResponse?: VehicleDataSubscriptionResponse | undefined; /** TESLEMETRY-EXT */ vitalsSubscriptionResponse?: VitalsSubscriptionResponse | undefined; ping?: Ping | undefined; /** TESLEMETRY-EXT */ piiKeyResponse?: PiiKeyResponse | undefined; /** TESLEMETRY-EXT */ pseudonymSyncResponse?: PseudonymSyncResponse | undefined; /** TESLEMETRY-EXT */ getRateTariffResponse?: GetRateTariffResponse | undefined; /** TESLEMETRY-EXT */ navigationRouteResponse?: NavigationRouteResponse | undefined; /** TESLEMETRY-EXT */ getManagedChargingSitesResponse?: GetManagedChargingSitesResponse | undefined; /** TESLEMETRY-EXT */ getChargeOnSolarFeatureResponse?: GetChargeOnSolarFeatureResponse | undefined; /** TESLEMETRY-EXT */ addManagedChargingSiteResponse?: AddManagedChargingSiteResponse | undefined; /** TESLEMETRY-EXT */ getMessagesResponse?: GetMessagesResponse | undefined; /** TESLEMETRY-EXT */ getLocalProfilesResponse?: GetLocalProfilesResponse | undefined; /** TESLEMETRY-EXT */ keysInfoResponse?: KeysInfoResponse | undefined; /** TESLEMETRY-EXT */ bandwidthTestResponse?: BandwidthTestResponse | undefined; /** TESLEMETRY-EXT */ prepareMobileUploadResponse?: PrepareMobileUploadResponse | undefined; /** TESLEMETRY-EXT */ putMobileUploadChunkResponse?: PutMobileUploadChunkResponse | undefined; } /** ===== TESLEMETRY-EXT BEGIN ===== */ interface VehicleDataSubscriptionResponse { error: string; piiKeyResponse: PiiKeyResponse | undefined; } interface VitalsSubscriptionResponse { sessionId: number; error: string; } interface PiiKeyResponse { encryptedPiiKey: Uint8Array; piiKeyExpiration: Date | undefined; subscriberPublicKeyExpiration: Date | undefined; } interface PseudonymSyncResponse { pseudonym: string; } interface NavigationRouteResponse { route: string; trafficDetail: NavigationRouteResponse_TrafficDetail[]; } declare enum NavigationRouteResponse_TrafficStatus { TS_NO_DATA = 0, TS_LIGHT = 1, TS_MODERATE = 2, TS_CONGESTION = 3, TS_SEVERE_CONGESTION = 4, UNRECOGNIZED = -1 } declare function navigationRouteResponse_TrafficStatusFromJSON(object: any): NavigationRouteResponse_TrafficStatus; declare function navigationRouteResponse_TrafficStatusToJSON(object: NavigationRouteResponse_TrafficStatus): string; interface NavigationRouteResponse_TrafficDetail { offsetToDest: number; trafficStatus: NavigationRouteResponse_TrafficStatus; } interface GetManagedChargingSitesResponse { sites: ManagedChargingSite[]; } interface ManagedChargingSiteAddedOrUpdated {} interface ExistingManagedChargingSiteNearby {} interface AddManagedChargingSiteResponse { addedOrUpdated: ManagedChargingSiteAddedOrUpdated | undefined; existingSiteNearby: ExistingManagedChargingSiteNearby | undefined; } interface RequestTeslaAuthCommand { clientId: string; scope: string; returnScopedToken: boolean; } interface MobileAppMessage { requestTeslaAuthCommand: RequestTeslaAuthCommand | undefined; } interface GetMessagesResponse { mobileAppMessages: MobileAppMessage[]; } interface Profile { uuid: string; name: string; } interface GetLocalProfilesResponse { profiles: Profile[]; } interface KeyInfo { name: string; model: string; publicKey: Uint8Array; lastSeen: Date | undefined; role: Role; formFactor: KeyFormFactor; } interface KeysInfoResponse { keysInfo: KeyInfo[]; } interface BandwidthTestResponse { data: Uint8Array; requestedSize: number; } /** * Answers GetRateTariffRequest with the tariff document SetRateTariffRequest * writes (VehicleAction tag 55). The document may arrive wrapped at tag 1 or with * its parts directly on this message at tags 13-14. */ interface GetRateTariffResponse { /** UNCONFIRMED: not yet confirmed on a live vehicle */ tariffDocument: SetRateTariffRequest | undefined; seasons: SetRateTariffRequest_Seasons | undefined; tariff: SetRateTariffRequest_Tariff | undefined; } interface ActionStatus { result: OperationStatusE; resultReason: ResultReason | undefined; } interface ResultReason { plainText?: string | undefined; } interface EncryptedData { /** holds a VehicleDataFields value */ fieldNumber: number; ciphertext: Uint8Array; tag: Uint8Array; } interface ChargingSetLimitAction { percent: number; /** TESLEMETRY-EXT */ oneTime: boolean; } interface ChargingStartStopAction { unknown?: Void | undefined; start?: Void | undefined; startStandard?: Void | undefined; startMaxRange?: Void | undefined; stop?: Void | undefined; } interface DrivingClearSpeedLimitPinAction { pin: string; } interface DrivingSetSpeedLimitAction { limitMph: number; } interface DrivingSpeedLimitAction { activate: boolean; pin: string; } interface HvacAutoAction { powerOn: boolean; manualOverride: boolean; } interface HvacSeatHeaterActions { hvacSeatHeaterAction: HvacSeatHeaterActions_HvacSeatHeaterAction[]; } interface HvacSeatHeaterActions_HvacSeatHeaterAction { seatHeaterUnknown?: Void | undefined; seatHeaterOff?: Void | undefined; seatHeaterLow?: Void | undefined; seatHeaterMed?: Void | undefined; seatHeaterHigh?: Void | undefined; carSeatUnknown?: Void | undefined; carSeatFrontLeft?: Void | undefined; carSeatFrontRight?: Void | undefined; carSeatRearLeft?: Void | undefined; carSeatRearLeftBack?: Void | undefined; carSeatRearCenter?: Void | undefined; carSeatRearRight?: Void | undefined; carSeatRearRightBack?: Void | undefined; carSeatThirdRowLeft?: Void | undefined; carSeatThirdRowRight?: Void | undefined; } interface HvacSeatCoolerActions { hvacSeatCoolerAction: HvacSeatCoolerActions_HvacSeatCoolerAction[]; } declare enum HvacSeatCoolerActions_HvacSeatCoolerLevelE { HvacSeatCoolerLevel_Unknown = 0, HvacSeatCoolerLevel_Off = 1, HvacSeatCoolerLevel_Low = 2, HvacSeatCoolerLevel_Med = 3, HvacSeatCoolerLevel_High = 4, UNRECOGNIZED = -1 } declare function hvacSeatCoolerActions_HvacSeatCoolerLevelEFromJSON(object: any): HvacSeatCoolerActions_HvacSeatCoolerLevelE; declare function hvacSeatCoolerActions_HvacSeatCoolerLevelEToJSON(object: HvacSeatCoolerActions_HvacSeatCoolerLevelE): string; declare enum HvacSeatCoolerActions_HvacSeatCoolerPositionE { HvacSeatCoolerPosition_Unknown = 0, HvacSeatCoolerPosition_FrontLeft = 1, HvacSeatCoolerPosition_FrontRight = 2, /** HvacSeatCoolerPosition_SecondRowLeft - TESLEMETRY-EXT */ HvacSeatCoolerPosition_SecondRowLeft = 3, /** HvacSeatCoolerPosition_SecondRowRight - TESLEMETRY-EXT */ HvacSeatCoolerPosition_SecondRowRight = 4, UNRECOGNIZED = -1 } declare function hvacSeatCoolerActions_HvacSeatCoolerPositionEFromJSON(object: any): HvacSeatCoolerActions_HvacSeatCoolerPositionE; declare function hvacSeatCoolerActions_HvacSeatCoolerPositionEToJSON(object: HvacSeatCoolerActions_HvacSeatCoolerPositionE): string; interface HvacSeatCoolerActions_HvacSeatCoolerAction { seatCoolerLevel: HvacSeatCoolerActions_HvacSeatCoolerLevelE; seatPosition: HvacSeatCoolerActions_HvacSeatCoolerPositionE; } interface HvacSetPreconditioningMaxAction { on: boolean; manualOverride: boolean; manualOverrideMode: HvacSetPreconditioningMaxAction_ManualOverrideModeE[]; } declare enum HvacSetPreconditioningMaxAction_ManualOverrideModeE { DogMode = 0, Soc = 1, Doors = 2, UNRECOGNIZED = -1 } declare function hvacSetPreconditioningMaxAction_ManualOverrideModeEFromJSON(object: any): HvacSetPreconditioningMaxAction_ManualOverrideModeE; declare function hvacSetPreconditioningMaxAction_ManualOverrideModeEToJSON(object: HvacSetPreconditioningMaxAction_ManualOverrideModeE): string; interface HvacSteeringWheelHeaterAction { powerOn: boolean; } interface HvacTemperatureAdjustmentAction { deltaCelsius: number; deltaPercent: number; absoluteCelsius: number; level: HvacTemperatureAdjustmentAction_Temperature | undefined; hvacTemperatureZone: HvacTemperatureAdjustmentAction_HvacTemperatureZone[]; driverTempCelsius: number; passengerTempCelsius: number; } interface HvacTemperatureAdjustmentAction_Temperature { tempUnknown?: Void | undefined; tempMin?: Void | undefined; tempMax?: Void | undefined; } interface HvacTemperatureAdjustmentAction_HvacTemperatureZone { tempZoneUnknown?: Void | undefined; tempZoneFrontLeft?: Void | undefined; tempZoneFrontRight?: Void | undefined; tempZoneRear?: Void | undefined; } interface GetNearbyChargingSites { includeMetaData: boolean; radius: number; count: number; } interface NearbyChargingSites { timestamp: Date | undefined; /** TESLEMETRY-EXT */ destinationCharging: DestinationCharging[]; superchargers: Superchargers[]; congestionSyncTimeUtcSecs: number; } /** ===== TESLEMETRY-EXT BEGIN ===== */ interface DestinationCharging { /** * Tags 1-4, 6-8 and 10 are UNCONFIRMED: not yet confirmed on a live vehicle; * names not recovered (they follow Superchargers' naming for the same data). */ id: number; amenities: string; city: string; country: string; distanceMiles: number; district: string; location: LatLong | undefined; name: string; postalCode: string; state: string; streetAddress: string; withinRange: boolean; } interface Superchargers { id: number; amenities: string; availableStalls: number; billingInfo: string; billingTime: string; city: string; country: string; distanceMiles: number; district: string; location: LatLong | undefined; name: string; postalCode: string; siteClosed: boolean; state: string; streetAddress: string; totalStalls: number; withinRange: boolean; maxPowerKw: number; outOfOrderStallsNumber: number; outOfOrderStallsNames: string; } interface MediaPlayAction { /** TESLEMETRY-EXT UNCONFIRMED: not yet confirmed on a live vehicle */ mediaPlaybackStatus: MediaPlaybackStatus; } interface MediaUpdateVolume { volumeDelta?: number | undefined; volumeAbsoluteFloat?: number | undefined; } interface MediaNextFavorite {} interface MediaPreviousFavorite {} interface MediaNextTrack {} interface MediaPreviousTrack {} interface VehicleControlCancelSoftwareUpdateAction {} interface VehicleControlFlashLightsAction {} interface VehicleControlHonkHornAction {} interface VehicleControlResetValetPinAction {} interface VehicleControlScheduleSoftwareUpdateAction { offsetSec: number; } interface VehicleControlSetSentryModeAction { on: boolean; } interface VehicleControlSetValetModeAction { on: boolean; password: string; } interface VehicleControlSunroofOpenCloseAction { absoluteLevel?: number | undefined; deltaLevel?: number | undefined; vent?: Void | undefined; close?: Void | undefined; open?: Void | undefined; } interface VehicleControlTriggerHomelinkAction { location: LatLong | undefined; token: string; } interface VehicleControlWindowAction { unknown?: Void | undefined; vent?: Void | undefined; close?: Void | undefined; } interface HvacBioweaponModeAction { on: boolean; manualOverride: boolean; } interface AutoSeatClimateAction { carseat: AutoSeatClimateAction_CarSeat[]; } declare enum AutoSeatClimateAction_AutoSeatPositionE { AutoSeatPosition_Unknown = 0, AutoSeatPosition_FrontLeft = 1, AutoSeatPosition_FrontRight = 2, UNRECOGNIZED = -1 } declare function autoSeatClimateAction_AutoSeatPositionEFromJSON(object: any): AutoSeatClimateAction_AutoSeatPositionE; declare function autoSeatClimateAction_AutoSeatPositionEToJSON(object: AutoSeatClimateAction_AutoSeatPositionE): string; interface AutoSeatClimateAction_CarSeat { on: boolean; seatPosition: AutoSeatClimateAction_AutoSeatPositionE; } interface Ping { pingId: number; localTimestamp: Date | undefined; lastRemoteTimestamp: Date | undefined; } interface ScheduledChargingAction { enabled: boolean; chargingTime: number; } interface ScheduledDepartureAction { enabled: boolean; departureTime: number; preconditioningTimes: PreconditioningTimes | undefined; offPeakChargingTimes: OffPeakChargingTimes | undefined; offPeakHoursEndTime: number; } interface HvacClimateKeeperAction { ClimateKeeperAction: HvacClimateKeeperAction_ClimateKeeperActionE; manualOverride: boolean; /** TESLEMETRY-EXT */ manualOverrideMode: HvacClimateKeeperAction_ManualOverrideModeE[]; } declare enum HvacClimateKeeperAction_ClimateKeeperActionE { ClimateKeeperAction_Off = 0, ClimateKeeperAction_On = 1, ClimateKeeperAction_Dog = 2, ClimateKeeperAction_Camp = 3, UNRECOGNIZED = -1 } declare function hvacClimateKeeperAction_ClimateKeeperActionEFromJSON(object: any): HvacClimateKeeperAction_ClimateKeeperActionE; declare function hvacClimateKeeperAction_ClimateKeeperActionEToJSON(object: HvacClimateKeeperAction_ClimateKeeperActionE): string; /** TESLEMETRY-EXT */ declare enum HvacClimateKeeperAction_ManualOverrideModeE { Soc = 0, Cpd = 1, UNRECOGNIZED = -1 } declare function hvacClimateKeeperAction_ManualOverrideModeEFromJSON(object: any): HvacClimateKeeperAction_ManualOverrideModeE; declare function hvacClimateKeeperAction_ManualOverrideModeEToJSON(object: HvacClimateKeeperAction_ManualOverrideModeE): string; /** ===== TESLEMETRY-EXT BEGIN ===== */ interface HvacRecirculationAction { on: boolean; } interface SetChargingAmpsAction { chargingAmps: number; } interface RemoveChargeScheduleAction { /** datetime in epoch time */ id: number; } interface BatchRemoveChargeSchedulesAction { home: boolean; work: boolean; /** Delete non-home and non-work charge schedules */ other: boolean; } interface BatchRemovePreconditionSchedulesAction { home: boolean; work: boolean; /** Delete non-home and non-work precondition schedules */ other: boolean; } interface RemovePreconditionScheduleAction { /** datetime in epoch time */ id: number; } interface SetCabinOverheatProtectionAction { on: boolean; fanOnly: boolean; } interface SetVehicleNameAction { vehicleName: string; } interface ChargePortDoorClose {} interface ChargePortDoorOpen {} /** ===== TESLEMETRY-EXT BEGIN ===== */ interface BoomboxAction { sound: number; } interface SetCopTempAction { copActivationTemp: ClimateState_CopActivationTemp; } interface VehicleControlSetPinToDriveAction { on: boolean; password: string; } interface VehicleControlResetPinToDriveAction {} /** ===== TESLEMETRY-EXT BEGIN ===== */ interface RemoteStartDrive {} interface CreateStreamSession { sessionId: string; } interface StreamMessage { sessionId: string; data: Uint8Array; } interface NavigationRequest { destination: string; /** TESLEMETRY-EXT */ order: RemoteNavTripOrderE; } interface NavigationSuperchargerRequest { /** Supercharger location, identified as in Superchargers.id. */ id: number; remoteNavTripOrder: RemoteNavTripOrderE; } interface UiSetUpcomingCalendarEntries { calendarData: string; } interface VehicleDataSubscription { /** Security-related field for handling PII data */ piiKeyRequest: VehicleDataSubscription_PiiKeyRequest | undefined; /** Subscription configuration parameters */ subscriptionDurationS: number; /** Ping interval in seconds */ subscriptionPingS: number; /** Maximum update rates for different state types (in milliseconds) */ guiSettingsMaxUpdateRateMs: number; chargeStateMaxUpdateRateMs: number; climateStateMaxUpdateRateMs: number; driveStateMaxUpdateRateMs: number; vehicleStateMaxUpdateRateMs: number; vehicleConfigMaxUpdateRateMs: number; locationStateMaxUpdateRateMs: number; closuresStateMaxUpdateRateMs: number; parkedAccessoryStateMaxUpdateRateMs: number; chargeScheduleStateMaxUpdateRateMs: number; preconditioningScheduleStateMaxUpdateRateMs: number; alertStateMaxUpdateRateMs: number; suspensionStateMaxUpdateRateMs: number; childPresenceDetectionStateMaxUpdateRateMs: number; /** TESLEMETRY-EXT */ displayStateMaxUpdateRateMs: number; /** TESLEMETRY-EXT UNCONFIRMED: not yet confirmed on a live vehicle */ keepOnAccessoryPortsStateMaxUpdateRateMs: number; } /** Privacy/security request for handling PII (Personally Identifiable Information) */ interface VehicleDataSubscription_PiiKeyRequest { subscriberPublicKey: string; } interface VehicleDataAck { /** Timestamps for different vehicle state types to acknowledge receipt */ chargeStateTimestamp: Date | undefined; climateStateTimestamp: Date | undefined; closuresStateTimestamp: Date | undefined; driveStateTimestamp: Date | undefined; guiSettingsTimestamp: Date | undefined; locationStateTimestamp: Date | undefined; vehicleConfigTimestamp: Date | undefined; vehicleStateTimestamp: Date | undefined; parkedAccessoryStateTimestamp: Date | undefined; chargeScheduleStateTimestamp: Date | undefined; preconditioningScheduleStateTimestamp: Date | undefined; alertStateTimestamp: Date | undefined; suspensionStateTimestamp: Date | undefined; /** TESLEMETRY-EXT */ displayStateTimestamp: Date | undefined; /** Field to report decryption errors encountered during processing */ decryptionErrorField: number[]; } interface VitalsSubscription { sessionId: number; } interface VitalsAck {} interface DashcamSaveClipAction {} interface PiiKeyRequest { subscriberPublicKey: string; piiKeyExpiration: Date | undefined; } interface PseudonymSyncRequest { lastKnownPseudonymHashed: Uint8Array; } interface NavigationGpsRequest { lat: number; lon: number; order: RemoteNavTripOrderE; } /** * The wire payload at VehicleAction tag 55 is a rate-tariff document. * Tags 1-12 of the document, of its embedded Tariff, and DailyCharge are * UNCONFIRMED: not yet confirmed on a live vehicle. * ===== TESLEMETRY-EXT BEGIN ===== */ interface SetRateTariffRequest { code: string; name: string; utility: string; currency: string; dailyCharges: SetRateTariffRequest_DailyCharge[]; monthlyCharges: number; monthlyMinimumBill: number; demandCharges: SetRateTariffRequest_Charges | undefined; dailyDemandCharges: SetRateTariffRequest_Charges | undefined; energyCharges: SetRateTariffRequest_Charges | undefined; maxApplicableDemand: number; minApplicableDemand: number; seasons: SetRateTariffRequest_Seasons | undefined; tariff: SetRateTariffRequest_Tariff | undefined; } interface SetRateTariffRequest_TOUPeriod { fromDayOfWeek: number; toDayOfWeek: number; fromHour: number; fromMinute: number; toHour: number; toMinute: number; } interface SetRateTariffRequest_TOUPeriods { onPeak: SetRateTariffRequest_TOUPeriod[]; partialPeak: SetRateTariffRequest_TOUPeriod[]; offPeak: SetRateTariffRequest_TOUPeriod[]; superOffPeak: SetRateTariffRequest_TOUPeriod[]; } interface SetRateTariffRequest_Season { fromDay: number; toDay: number; fromMonth: number; toMonth: number; touPeriods: SetRateTariffRequest_TOUPeriods | undefined; } interface SetRateTariffRequest_Seasons { Summer: SetRateTariffRequest_Season | undefined; Winter: SetRateTariffRequest_Season | undefined; Season3: SetRateTariffRequest_Season | undefined; Season4: SetRateTariffRequest_Season | undefined; Season5: SetRateTariffRequest_Season | undefined; } interface SetRateTariffRequest_FixedCharge { ALL: number; } interface SetRateTariffRequest_RateBand { ALL: number; onPeak: number; partialPeak: number; offPeak: number; superOffPeak: number; } interface SetRateTariffRequest_DailyCharge { amount: number; name: string; } interface SetRateTariffRequest_Charges { ALL: SetRateTariffRequest_FixedCharge | undefined; Summer: SetRateTariffRequest_RateBand | undefined; Winter: SetRateTariffRequest_RateBand | undefined; Season3: SetRateTariffRequest_RateBand | undefined; Season4: SetRateTariffRequest_RateBand | undefined; Season5: SetRateTariffRequest_RateBand | undefined; } /** secondary tariff document embedded in the primary one (the sell tariff) */ interface SetRateTariffRequest_Tariff { code: string; name: string; utility: string; currency: string; dailyCharges: SetRateTariffRequest_DailyCharge[]; monthlyCharges: number; monthlyMinimumBill: number; demandCharges: SetRateTariffRequest_Charges | undefined; dailyDemandCharges: SetRateTariffRequest_Charges | undefined; energyCharges: SetRateTariffRequest_Charges | undefined; maxApplicableDemand: number; minApplicableDemand: number; seasons: SetRateTariffRequest_Seasons | undefined; } interface GetRateTariffRequest {} interface VideoRequestAction { url: string; } interface TakeDrivenoteAction { note: string; } interface BluetoothClassicPairingRequest { utf8Name: string; macAddress: Uint8Array; } interface AddManagedChargingSiteRequest { site: ManagedChargingSite | undefined; } interface ManagedChargingSite { publicKey: string; managerType: ManagerType | undefined; latLon: LatLong | undefined; } interface ManagerType { siteController: SiteController | undefined; } interface SiteController { /** The gateway DIN the vehicle uses to match its managed charging site. */ din: string; } interface RemoveManagedChargingSiteRequest { publicKey: string; } interface NavigationRouteAction {} interface AutoStwHeatAction { on: boolean; } interface StwHeatLevelAction { stwHeatLevel: StwHeatLevel; } interface GetManagedChargingSitesRequest {} interface UpdateChargeOnSolarFeatureRequest { /** Field with JSON name "chargeOnSolar" */ chargeOnSolar: ChargeOnSolarFeature | undefined; } interface GetChargeOnSolarFeatureRequest {} interface GetChargeOnSolarFeatureResponse { /** Field with JSON name "chargeOnSolar" */ chargeOnSolar: ChargeOnSolarFeature | undefined; } interface ChargeOnSolarFeature { enabled: boolean; /** Field with JSON name "lowerChargeLimit" */ lowerChargeLimit: number; /** Field with JSON name "upperChargeLimit" */ upperChargeLimit: number; } /** This is an empty message with no fields */ interface DrivingClearSpeedLimitPinAdminAction {} /** ===== TESLEMETRY-EXT BEGIN ===== */ interface SetOutletsOnOffAction { /** Field with JSON name "outletRequest" */ outletRequest: SetOutletsOnOffAction_OutletRequest; } /** UNCONFIRMED: not yet confirmed on a live vehicle. */ declare enum SetOutletsOnOffAction_OutletRequest { OUTLET_REQUEST_OFF = 0, OUTLET_REQUEST_CABIN_AND_BED = 1, OUTLET_REQUEST_CABIN = 2, UNRECOGNIZED = -1 } declare function setOutletsOnOffAction_OutletRequestFromJSON(object: any): SetOutletsOnOffAction_OutletRequest; declare function setOutletsOnOffAction_OutletRequestToJSON(object: SetOutletsOnOffAction_OutletRequest): string; interface SetOutletTimerAction { /** Field with JSON name "numMinutes" */ numMinutes: number; } interface SetOutletSocLimitAction { percent: number; } interface SetPowerFeedOnOffAction { /** Field with JSON name "powerFeedRequest" */ powerFeedRequest: SetPowerFeedOnOffAction_PowerFeedRequest; } /** UNCONFIRMED: not yet confirmed on a live vehicle. */ declare enum SetPowerFeedOnOffAction_PowerFeedRequest { POWER_FEED_REQUEST_OFF = 0, POWER_FEED_REQUEST_FEED_1 = 1, POWER_FEED_REQUEST_FEED_2 = 2, POWER_FEED_REQUEST_FEED_1_AND_FEED_2 = 3, UNRECOGNIZED = -1 } declare function setPowerFeedOnOffAction_PowerFeedRequestFromJSON(object: any): SetPowerFeedOnOffAction_PowerFeedRequest; declare function setPowerFeedOnOffAction_PowerFeedRequestToJSON(object: SetPowerFeedOnOffAction_PowerFeedRequest): string; interface SetPowerFeedTimerAction { /** Field with JSON name "numMinutes" */ numMinutes: number; } interface SetPowerFeedSocLimitAction { percent: number; } interface SetTrailerLightTestStartStopAction { startStop: boolean; } interface SetTruckBedLightAutoStateAction { powerState: boolean; } interface SetTruckBedLightBrightnessAction { brightness: number; } interface VehicleControlResetPinToDriveAdminAction {} /** ===== TESLEMETRY-EXT BEGIN ===== */ interface NavigationWaypointsRequest { waypoints: string; tripPlanOptions: NavigationWaypointsRequest_TripPlanOptions | undefined; } interface NavigationWaypointsRequest_TripPlanOptions { destinationStartSoe: number; destinationArrivalSoe: number; } interface SetPowershareFeatureAction { powershareFeatureRequest: SetPowershareFeatureAction_PowershareFeatureRequest; } /** UNCONFIRMED: not yet confirmed on a live vehicle. */ declare enum SetPowershareFeatureAction_PowershareFeatureRequest { POWERSHARE_FEATURE_REQUEST_OFF = 0, POWERSHARE_FEATURE_REQUEST_ON = 1, UNRECOGNIZED = -1 } declare function setPowershareFeatureAction_PowershareFeatureRequestFromJSON(object: any): SetPowershareFeatureAction_PowershareFeatureRequest; declare function setPowershareFeatureAction_PowershareFeatureRequestToJSON(object: SetPowershareFeatureAction_PowershareFeatureRequest): string; interface SetPowershareDischargeLimitAction { powershareDischargeLimit: number; } interface SetPowershareRequestAction { powershareRequest: SetPowershareRequestAction_PowershareRequest; } /** UNCONFIRMED: not yet confirmed on a live vehicle. */ declare enum SetPowershareRequestAction_PowershareRequest { POWERSHARE_REQUEST_OFF = 0, POWERSHARE_REQUEST_ON = 1, UNRECOGNIZED = -1 } declare function setPowershareRequestAction_PowershareRequestFromJSON(object: any): SetPowershareRequestAction_PowershareRequest; declare function setPowershareRequestAction_PowershareRequestToJSON(object: SetPowershareRequestAction_PowershareRequest): string; interface SetTentModeRequestAction { on: boolean; } interface SetZoneLightRequestAction { zoneLightRequest: SetZoneLightRequestAction_ZoneLightRequest; } declare enum SetZoneLightRequestAction_ZoneLightRequest { ZONE_LIGHT_REQUEST_OFF = 0, ZONE_LIGHT_REQUEST_LOW = 1, ZONE_LIGHT_REQUEST_MED = 2, ZONE_LIGHT_REQUEST_HIGH = 3, UNRECOGNIZED = -1 } declare function setZoneLightRequestAction_ZoneLightRequestFromJSON(object: any): SetZoneLightRequestAction_ZoneLightRequest; declare function setZoneLightRequestAction_ZoneLightRequestToJSON(object: SetZoneLightRequestAction_ZoneLightRequest): string; interface SetLightbarBrightnessAction { brightnessRequest: number; } interface SetLightbarMiddleAction { middleLightRequest: boolean; } interface SetLightbarDitchAction { ditchLightsRequest: boolean; } interface GetMessagesAction {} interface TeslaAuthResponseAction { clientId: string; scope: string; accessToken: string; refreshToken: string; expiryTimestamp: number; error: string; scopedToken: string; } interface NavigationGpsDestinationRequest { lat: number; lon: number; destination: string; order: RemoteNavTripOrderE; } interface ParentalControlsClearPinAction { pin: string; } interface ParentalControlsClearPinAdminAction {} interface ParentalControlsAction { activate: boolean; pin: string; } interface ParentalControlsEnableSettingsAction { setting: ParentalControlsEnableSettingsAction_ParentalControlsSettingE; enable: boolean; } declare enum ParentalControlsEnableSettingsAction_ParentalControlsSettingE { SpeedLimit = 0, Acceleration = 1, SafetyFeatures = 2, Curfew = 3, BrowserBlocked = 4, TheaterBlocked = 5, ArcadeBlocked = 6, UNRECOGNIZED = -1 } declare function parentalControlsEnableSettingsAction_ParentalControlsSettingEFromJSON(object: any): ParentalControlsEnableSettingsAction_ParentalControlsSettingE; declare function parentalControlsEnableSettingsAction_ParentalControlsSettingEToJSON(object: ParentalControlsEnableSettingsAction_ParentalControlsSettingE): string; interface ParentalControlsSetSpeedLimitAction { limitMph: number; } /** ===== TESLEMETRY-EXT BEGIN ===== */ interface CancelSohTestAction {} interface StopLightShowAction {} interface StartLightShowAction { showIndex: number; startTime: number; volume: number; danceMoves: boolean; } interface SetSuspensionLevelAction { suspensionLevel: SetSuspensionLevelAction_SuspensionLevel; } declare enum SetSuspensionLevelAction_SuspensionLevel { SUSPENSION_LEVEL_INVALID = 0, SUSPENSION_LEVEL_ENTRY = 1, SUSPENSION_LEVEL_LOW = 2, SUSPENSION_LEVEL_MEDIUM = 3, SUSPENSION_LEVEL_HIGH = 4, SUSPENSION_LEVEL_VERY_HIGH = 5, SUSPENSION_LEVEL_EXTRACT = 6, UNRECOGNIZED = -1 } declare function setSuspensionLevelAction_SuspensionLevelFromJSON(object: any): SetSuspensionLevelAction_SuspensionLevel; declare function setSuspensionLevelAction_SuspensionLevelToJSON(object: SetSuspensionLevelAction_SuspensionLevel): string; interface SetDischargeLimitAction { dischargeLimit: number; } interface SetLowPowerModeAction { lowPowerMode: boolean; } /** ===== TESLEMETRY-EXT BEGIN ===== */ interface SetTemperatureUnitAction { unit: SetTemperatureUnitAction_Unit; } declare enum SetTemperatureUnitAction_Unit { UNIT_FAHRENHEIT = 0, UNIT_CELSIUS = 1, UNRECOGNIZED = -1 } declare function setTemperatureUnitAction_UnitFromJSON(object: any): SetTemperatureUnitAction_Unit; declare function setTemperatureUnitAction_UnitToJSON(object: SetTemperatureUnitAction_Unit): string; interface SetDistanceUnitAction { unit: SetDistanceUnitAction_Unit; } declare enum SetDistanceUnitAction_Unit { UNIT_MILES = 0, UNIT_KILOMETERS = 1, UNRECOGNIZED = -1 } declare function setDistanceUnitAction_UnitFromJSON(object: any): SetDistanceUnitAction_Unit; declare function setDistanceUnitAction_UnitToJSON(object: SetDistanceUnitAction_Unit): string; interface SetTimeDisplayFormatAction { format: SetTimeDisplayFormatAction_Format; } declare enum SetTimeDisplayFormatAction_Format { FORMAT_12_HOUR = 0, FORMAT_24_HOUR = 1, UNRECOGNIZED = -1 } declare function setTimeDisplayFormatAction_FormatFromJSON(object: any): SetTimeDisplayFormatAction_Format; declare function setTimeDisplayFormatAction_FormatToJSON(object: SetTimeDisplayFormatAction_Format): string; interface SetTirePressureUnitAction { unit: SetTirePressureUnitAction_Unit; } declare enum SetTirePressureUnitAction_Unit { UNIT_PSI = 0, UNIT_BAR = 1, UNRECOGNIZED = -1 } declare function setTirePressureUnitAction_UnitFromJSON(object: any): SetTirePressureUnitAction_Unit; declare function setTirePressureUnitAction_UnitToJSON(object: SetTirePressureUnitAction_Unit): string; interface SetEnergyDisplayFormatAction { format: SetEnergyDisplayFormatAction_Format; } declare enum SetEnergyDisplayFormatAction_Format { FORMAT_PERCENTAGE = 0, FORMAT_DISTANCE = 1, UNRECOGNIZED = -1 } declare function setEnergyDisplayFormatAction_FormatFromJSON(object: any): SetEnergyDisplayFormatAction_Format; declare function setEnergyDisplayFormatAction_FormatToJSON(object: SetEnergyDisplayFormatAction_Format): string; interface DisplayStateAction { displayBrightnessAutoRequest: boolean; displayBrightnessScalePreferenceRequest: number; } interface SetKeepAccessoryPowerModeAction { keepAccessoryPowerMode: boolean; } /** ===== TESLEMETRY-EXT BEGIN ===== */ interface SetupCloudProfileWithLocalProfileUuidAction { cloudVaultUuid: string; localProfileUuid: string; deleteLocalProfileAfterSetup: boolean; } interface GetLocalProfilesForVaultUuidAction { vaultUuid: string; } interface FetchKeysInfoAction {} interface DeleteDashcamClipsAction { deleteClips: boolean; } interface FormatUSBAction { formatUsb: boolean; } interface BandwidthTest { requestedSize: number; } interface PhoneUnitPreferences { distanceUnit: SetDistanceUnitAction_Unit; temperatureUnit: SetTemperatureUnitAction_Unit; } interface SetPhoneSettingPreferencesAction { fontSize: SetPhoneSettingPreferencesAction_FontSize; /** UNCONFIRMED: not yet confirmed on a live vehicle */ language: string; unitPreferences: PhoneUnitPreferences | undefined; } declare enum SetPhoneSettingPreferencesAction_FontSize { FONT_SIZE_STANDARD = 0, FONT_SIZE_LARGE = 1, UNRECOGNIZED = -1 } declare function setPhoneSettingPreferencesAction_FontSizeFromJSON(object: any): SetPhoneSettingPreferencesAction_FontSize; declare function setPhoneSettingPreferencesAction_FontSizeToJSON(object: SetPhoneSettingPreferencesAction_FontSize): string; interface CancelVehicleDataSubscription {} /** UNCONFIRMED: not yet confirmed on a live vehicle. */ interface SetUpkeepUsernameAction { username: string; } /** * Sets the cruise-control speed limit reported back as * ClosuresState.cruise_speed_limit_mph. * UNCONFIRMED: not yet confirmed on a live vehicle. */ interface DrivingSetCruiseSpeedLimitAction { limitMph: number; } /** UNCONFIRMED: not yet confirmed on a live vehicle. */ interface SetDeckLightAction { on: boolean; } /** * Keeps the 12 V cabin accessory socket powered (or not). * UNCONFIRMED: not yet confirmed on a live vehicle. */ interface SetKeepOnCabin12vPortAction { keepOnMode: KeepOnAccessoryPortRequest; } /** * Keeps the 48 V cabin accessory socket powered (or not). * UNCONFIRMED: not yet confirmed on a live vehicle. */ interface SetKeepOnCabin48vPortAction { keepOnMode: KeepOnAccessoryPortRequest; } declare const Action: MessageFns; declare const VehicleAction: MessageFns; declare const GetVehicleData: MessageFns; declare const GetGuiSettings: MessageFns; declare const GetKeepOnAccessoryPortsState: MessageFns; declare const GetLegacyVehicleState: MessageFns; declare const GetVehicleConfig: MessageFns; declare const GetSohState: MessageFns; declare const GetVehicleDetailState: MessageFns; declare const GetParkedAccessoryState: MessageFns; declare const GetVehicleState: MessageFns; declare const GetAlertState: MessageFns; declare const GetLightShowState: MessageFns; declare const GetVehicleImageState: MessageFns; declare const GetSuspensionState: MessageFns; declare const GetChildPresenceDetectionState: MessageFns; declare const GetDisplayState: MessageFns; declare const VehicleImageDataChunkRequest: MessageFns; declare const VehicleImageRequest: MessageFns; declare const MobileImageUploadParams: MessageFns; declare const MobileUploadParams: MessageFns; declare const PrepareMobileUploadAction: MessageFns; declare const PrepareMobileUploadResponse: MessageFns; declare const PutMobileUploadChunkAction: MessageFns; declare const PutMobileUploadChunkResponse: MessageFns; declare const DogModeLiveActivityData: MessageFns; declare const DogModeLiveActivityData_DogModeImageData: MessageFns; declare const GetTirePressureState: MessageFns; declare const GetMediaState: MessageFns; declare const GetMediaDetailState: MessageFns; declare const GetSoftwareUpdateState: MessageFns; declare const GetChargeState: MessageFns; declare const GetClimateState: MessageFns; declare const GetDriveState: MessageFns; declare const GetLocationState: MessageFns; declare const GetClosuresState: MessageFns; declare const GetChargeScheduleState: MessageFns; declare const GetPreconditioningScheduleState: MessageFns; declare const GetParentalControlsState: MessageFns; declare const EraseUserDataAction: MessageFns; declare const Response: MessageFns; declare const VehicleDataSubscriptionResponse: MessageFns; declare const VitalsSubscriptionResponse: MessageFns; declare const PiiKeyResponse: MessageFns; declare const PseudonymSyncResponse: MessageFns; declare const NavigationRouteResponse: MessageFns; declare const NavigationRouteResponse_TrafficDetail: MessageFns; declare const GetManagedChargingSitesResponse: MessageFns; declare const ManagedChargingSiteAddedOrUpdated: MessageFns; declare const ExistingManagedChargingSiteNearby: MessageFns; declare const AddManagedChargingSiteResponse: MessageFns; declare const RequestTeslaAuthCommand: MessageFns; declare const MobileAppMessage: MessageFns; declare const GetMessagesResponse: MessageFns; declare const Profile: MessageFns; declare const GetLocalProfilesResponse: MessageFns; declare const KeyInfo: MessageFns; declare const KeysInfoResponse: MessageFns; declare const BandwidthTestResponse: MessageFns; declare const GetRateTariffResponse: MessageFns; declare const ActionStatus: MessageFns; declare const ResultReason: MessageFns; declare const EncryptedData: MessageFns; declare const ChargingSetLimitAction: MessageFns; declare const ChargingStartStopAction: MessageFns; declare const DrivingClearSpeedLimitPinAction: MessageFns; declare const DrivingSetSpeedLimitAction: MessageFns; declare const DrivingSpeedLimitAction: MessageFns; declare const HvacAutoAction: MessageFns; declare const HvacSeatHeaterActions: MessageFns; declare const HvacSeatHeaterActions_HvacSeatHeaterAction: MessageFns; declare const HvacSeatCoolerActions: MessageFns; declare const HvacSeatCoolerActions_HvacSeatCoolerAction: MessageFns; declare const HvacSetPreconditioningMaxAction: MessageFns; declare const HvacSteeringWheelHeaterAction: MessageFns; declare const HvacTemperatureAdjustmentAction: MessageFns; declare const HvacTemperatureAdjustmentAction_Temperature: MessageFns; declare const HvacTemperatureAdjustmentAction_HvacTemperatureZone: MessageFns; declare const GetNearbyChargingSites: MessageFns; declare const NearbyChargingSites: MessageFns; declare const DestinationCharging: MessageFns; declare const Superchargers: MessageFns; declare const MediaPlayAction: MessageFns; declare const MediaUpdateVolume: MessageFns; declare const MediaNextFavorite: MessageFns; declare const MediaPreviousFavorite: MessageFns; declare const MediaNextTrack: MessageFns; declare const MediaPreviousTrack: MessageFns; declare const VehicleControlCancelSoftwareUpdateAction: MessageFns; declare const VehicleControlFlashLightsAction: MessageFns; declare const VehicleControlHonkHornAction: MessageFns; declare const VehicleControlResetValetPinAction: MessageFns; declare const VehicleControlScheduleSoftwareUpdateAction: MessageFns; declare const VehicleControlSetSentryModeAction: MessageFns; declare const VehicleControlSetValetModeAction: MessageFns; declare const VehicleControlSunroofOpenCloseAction: MessageFns; declare const VehicleControlTriggerHomelinkAction: MessageFns; declare const VehicleControlWindowAction: MessageFns; declare const HvacBioweaponModeAction: MessageFns; declare const AutoSeatClimateAction: MessageFns; declare const AutoSeatClimateAction_CarSeat: MessageFns; declare const Ping: MessageFns; declare const ScheduledChargingAction: MessageFns; declare const ScheduledDepartureAction: MessageFns; declare const HvacClimateKeeperAction: MessageFns; declare const HvacRecirculationAction: MessageFns; declare const SetChargingAmpsAction: MessageFns; declare const RemoveChargeScheduleAction: MessageFns; declare const BatchRemoveChargeSchedulesAction: MessageFns; declare const BatchRemovePreconditionSchedulesAction: MessageFns; declare const RemovePreconditionScheduleAction: MessageFns; declare const SetCabinOverheatProtectionAction: MessageFns; declare const SetVehicleNameAction: MessageFns; declare const ChargePortDoorClose: MessageFns; declare const ChargePortDoorOpen: MessageFns; declare const BoomboxAction: MessageFns; declare const SetCopTempAction: MessageFns; declare const VehicleControlSetPinToDriveAction: MessageFns; declare const VehicleControlResetPinToDriveAction: MessageFns; declare const RemoteStartDrive: MessageFns; declare const CreateStreamSession: MessageFns; declare const StreamMessage: MessageFns; declare const NavigationRequest: MessageFns; declare const NavigationSuperchargerRequest: MessageFns; declare const UiSetUpcomingCalendarEntries: MessageFns; declare const VehicleDataSubscription: MessageFns; declare const VehicleDataSubscription_PiiKeyRequest: MessageFns; declare const VehicleDataAck: MessageFns; declare const VitalsSubscription: MessageFns; declare const VitalsAck: MessageFns; declare const DashcamSaveClipAction: MessageFns; declare const PiiKeyRequest: MessageFns; declare const PseudonymSyncRequest: MessageFns; declare const NavigationGpsRequest: MessageFns; declare const SetRateTariffRequest: MessageFns; declare const SetRateTariffRequest_TOUPeriod: MessageFns; declare const SetRateTariffRequest_TOUPeriods: MessageFns; declare const SetRateTariffRequest_Season: MessageFns; declare const SetRateTariffRequest_Seasons: MessageFns; declare const SetRateTariffRequest_FixedCharge: MessageFns; declare const SetRateTariffRequest_RateBand: MessageFns; declare const SetRateTariffRequest_DailyCharge: MessageFns; declare const SetRateTariffRequest_Charges: MessageFns; declare const SetRateTariffRequest_Tariff: MessageFns; declare const GetRateTariffRequest: MessageFns; declare const VideoRequestAction: MessageFns; declare const TakeDrivenoteAction: MessageFns; declare const BluetoothClassicPairingRequest: MessageFns; declare const AddManagedChargingSiteRequest: MessageFns; declare const ManagedChargingSite: MessageFns; declare const ManagerType: MessageFns; declare const SiteController: MessageFns; declare const RemoveManagedChargingSiteRequest: MessageFns; declare const NavigationRouteAction: MessageFns; declare const AutoStwHeatAction: MessageFns; declare const StwHeatLevelAction: MessageFns; declare const GetManagedChargingSitesRequest: MessageFns; declare const UpdateChargeOnSolarFeatureRequest: MessageFns; declare const GetChargeOnSolarFeatureRequest: MessageFns; declare const GetChargeOnSolarFeatureResponse: MessageFns; declare const ChargeOnSolarFeature: MessageFns; declare const DrivingClearSpeedLimitPinAdminAction: MessageFns; declare const SetOutletsOnOffAction: MessageFns; declare const SetOutletTimerAction: MessageFns; declare const SetOutletSocLimitAction: MessageFns; declare const SetPowerFeedOnOffAction: MessageFns; declare const SetPowerFeedTimerAction: MessageFns; declare const SetPowerFeedSocLimitAction: MessageFns; declare const SetTrailerLightTestStartStopAction: MessageFns; declare const SetTruckBedLightAutoStateAction: MessageFns; declare const SetTruckBedLightBrightnessAction: MessageFns; declare const VehicleControlResetPinToDriveAdminAction: MessageFns; declare const NavigationWaypointsRequest: MessageFns; declare const NavigationWaypointsRequest_TripPlanOptions: MessageFns; declare const SetPowershareFeatureAction: MessageFns; declare const SetPowershareDischargeLimitAction: MessageFns; declare const SetPowershareRequestAction: MessageFns; declare const SetTentModeRequestAction: MessageFns; declare const SetZoneLightRequestAction: MessageFns; declare const SetLightbarBrightnessAction: MessageFns; declare const SetLightbarMiddleAction: MessageFns; declare const SetLightbarDitchAction: MessageFns; declare const GetMessagesAction: MessageFns; declare const TeslaAuthResponseAction: MessageFns; declare const NavigationGpsDestinationRequest: MessageFns; declare const ParentalControlsClearPinAction: MessageFns; declare const ParentalControlsClearPinAdminAction: MessageFns; declare const ParentalControlsAction: MessageFns; declare const ParentalControlsEnableSettingsAction: MessageFns; declare const ParentalControlsSetSpeedLimitAction: MessageFns; declare const CancelSohTestAction: MessageFns; declare const StopLightShowAction: MessageFns; declare const StartLightShowAction: MessageFns; declare const SetSuspensionLevelAction: MessageFns; declare const SetDischargeLimitAction: MessageFns; declare const SetLowPowerModeAction: MessageFns; declare const SetTemperatureUnitAction: MessageFns; declare const SetDistanceUnitAction: MessageFns; declare const SetTimeDisplayFormatAction: MessageFns; declare const SetTirePressureUnitAction: MessageFns; declare const SetEnergyDisplayFormatAction: MessageFns; declare const DisplayStateAction: MessageFns; declare const SetKeepAccessoryPowerModeAction: MessageFns; declare const SetupCloudProfileWithLocalProfileUuidAction: MessageFns; declare const GetLocalProfilesForVaultUuidAction: MessageFns; declare const FetchKeysInfoAction: MessageFns; declare const DeleteDashcamClipsAction: MessageFns; declare const FormatUSBAction: MessageFns; declare const BandwidthTest: MessageFns; declare const PhoneUnitPreferences: MessageFns; declare const SetPhoneSettingPreferencesAction: MessageFns; declare const CancelVehicleDataSubscription: MessageFns; declare const SetUpkeepUsernameAction: MessageFns; declare const DrivingSetCruiseSpeedLimitAction: MessageFns; declare const SetDeckLightAction: MessageFns; declare const SetKeepOnCabin12vPortAction: MessageFns; declare const SetKeepOnCabin48vPortAction: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create, I>>(base?: I): T; fromPartial, I>>(object: I): T; } //#endregion export { Action, ActionStatus, AddManagedChargingSiteRequest, AddManagedChargingSiteResponse, AutoSeatClimateAction, AutoSeatClimateAction_AutoSeatPositionE, AutoSeatClimateAction_CarSeat, AutoStwHeatAction, BandwidthTest, BandwidthTestResponse, BatchRemoveChargeSchedulesAction, BatchRemovePreconditionSchedulesAction, BluetoothClassicPairingRequest, BoomboxAction, CancelSohTestAction, CancelVehicleDataSubscription, ChargeOnSolarFeature, ChargePortDoorClose, ChargePortDoorOpen, ChargingSetLimitAction, ChargingStartStopAction, CreateStreamSession, DashcamSaveClipAction, DeepPartial, DeleteDashcamClipsAction, DestinationCharging, DisplayStateAction, DogModeLiveActivityData, DogModeLiveActivityData_DisabledReason, DogModeLiveActivityData_DogModeImageData, DrivingClearSpeedLimitPinAction, DrivingClearSpeedLimitPinAdminAction, DrivingSetCruiseSpeedLimitAction, DrivingSetSpeedLimitAction, DrivingSpeedLimitAction, EncryptedData, EraseUserDataAction, Exact, ExistingManagedChargingSiteNearby, FetchKeysInfoAction, FormatUSBAction, GetAlertState, GetChargeOnSolarFeatureRequest, GetChargeOnSolarFeatureResponse, GetChargeScheduleState, GetChargeState, GetChildPresenceDetectionState, GetClimateState, GetClosuresState, GetDisplayState, GetDriveState, GetGuiSettings, GetKeepOnAccessoryPortsState, GetLegacyVehicleState, GetLightShowState, GetLocalProfilesForVaultUuidAction, GetLocalProfilesResponse, GetLocationState, GetManagedChargingSitesRequest, GetManagedChargingSitesResponse, GetMediaDetailState, GetMediaState, GetMessagesAction, GetMessagesResponse, GetNearbyChargingSites, GetParentalControlsState, GetParkedAccessoryState, GetPreconditioningScheduleState, GetRateTariffRequest, GetRateTariffResponse, GetSoftwareUpdateState, GetSohState, GetSuspensionState, GetTirePressureState, GetVehicleConfig, GetVehicleData, GetVehicleDetailState, GetVehicleImageState, GetVehicleState, HvacAutoAction, HvacBioweaponModeAction, HvacClimateKeeperAction, HvacClimateKeeperAction_ClimateKeeperActionE, HvacClimateKeeperAction_ManualOverrideModeE, HvacRecirculationAction, HvacSeatCoolerActions, HvacSeatCoolerActions_HvacSeatCoolerAction, HvacSeatCoolerActions_HvacSeatCoolerLevelE, HvacSeatCoolerActions_HvacSeatCoolerPositionE, HvacSeatHeaterActions, HvacSeatHeaterActions_HvacSeatHeaterAction, HvacSetPreconditioningMaxAction, HvacSetPreconditioningMaxAction_ManualOverrideModeE, HvacSteeringWheelHeaterAction, HvacTemperatureAdjustmentAction, HvacTemperatureAdjustmentAction_HvacTemperatureZone, HvacTemperatureAdjustmentAction_Temperature, KeyInfo, KeysInfoResponse, ManagedChargingSite, ManagedChargingSiteAddedOrUpdated, ManagerType, MediaNextFavorite, MediaNextTrack, MediaPlayAction, MediaPreviousFavorite, MediaPreviousTrack, MediaUpdateVolume, MessageFns, MobileAppMessage, MobileImageUploadParams, MobileUploadParams, NavigationGpsDestinationRequest, NavigationGpsRequest, NavigationRequest, NavigationRouteAction, NavigationRouteResponse, NavigationRouteResponse_TrafficDetail, NavigationRouteResponse_TrafficStatus, NavigationSuperchargerRequest, NavigationWaypointsRequest, NavigationWaypointsRequest_TripPlanOptions, NearbyChargingSites, OperationStatusE, ParentalControlsAction, ParentalControlsClearPinAction, ParentalControlsClearPinAdminAction, ParentalControlsEnableSettingsAction, ParentalControlsEnableSettingsAction_ParentalControlsSettingE, ParentalControlsSetSpeedLimitAction, PhoneUnitPreferences, PiiKeyRequest, PiiKeyResponse, Ping, PrepareMobileUploadAction, PrepareMobileUploadResponse, PrepareMobileUploadResponse_Status, Profile, PseudonymSyncRequest, PseudonymSyncResponse, PutMobileUploadChunkAction, PutMobileUploadChunkResponse, PutMobileUploadChunkResponse_Status, RemoteNavTripOrderE, RemoteStartDrive, RemoveChargeScheduleAction, RemoveManagedChargingSiteRequest, RemovePreconditionScheduleAction, RequestTeslaAuthCommand, Response, ResultReason, ScheduledChargingAction, ScheduledDepartureAction, SetCabinOverheatProtectionAction, SetChargingAmpsAction, SetCopTempAction, SetDeckLightAction, SetDischargeLimitAction, SetDistanceUnitAction, SetDistanceUnitAction_Unit, SetEnergyDisplayFormatAction, SetEnergyDisplayFormatAction_Format, SetKeepAccessoryPowerModeAction, SetKeepOnCabin12vPortAction, SetKeepOnCabin48vPortAction, SetLightbarBrightnessAction, SetLightbarDitchAction, SetLightbarMiddleAction, SetLowPowerModeAction, SetOutletSocLimitAction, SetOutletTimerAction, SetOutletsOnOffAction, SetOutletsOnOffAction_OutletRequest, SetPhoneSettingPreferencesAction, SetPhoneSettingPreferencesAction_FontSize, SetPowerFeedOnOffAction, SetPowerFeedOnOffAction_PowerFeedRequest, SetPowerFeedSocLimitAction, SetPowerFeedTimerAction, SetPowershareDischargeLimitAction, SetPowershareFeatureAction, SetPowershareFeatureAction_PowershareFeatureRequest, SetPowershareRequestAction, SetPowershareRequestAction_PowershareRequest, SetRateTariffRequest, SetRateTariffRequest_Charges, SetRateTariffRequest_DailyCharge, SetRateTariffRequest_FixedCharge, SetRateTariffRequest_RateBand, SetRateTariffRequest_Season, SetRateTariffRequest_Seasons, SetRateTariffRequest_TOUPeriod, SetRateTariffRequest_TOUPeriods, SetRateTariffRequest_Tariff, SetSuspensionLevelAction, SetSuspensionLevelAction_SuspensionLevel, SetTemperatureUnitAction, SetTemperatureUnitAction_Unit, SetTentModeRequestAction, SetTimeDisplayFormatAction, SetTimeDisplayFormatAction_Format, SetTirePressureUnitAction, SetTirePressureUnitAction_Unit, SetTrailerLightTestStartStopAction, SetTruckBedLightAutoStateAction, SetTruckBedLightBrightnessAction, SetUpkeepUsernameAction, SetVehicleNameAction, SetZoneLightRequestAction, SetZoneLightRequestAction_ZoneLightRequest, SetupCloudProfileWithLocalProfileUuidAction, SiteController, StartLightShowAction, StopLightShowAction, StreamMessage, StwHeatLevelAction, Superchargers, TakeDrivenoteAction, TeslaAuthResponseAction, UiSetUpcomingCalendarEntries, UpdateChargeOnSolarFeatureRequest, VehicleAction, VehicleControlCancelSoftwareUpdateAction, VehicleControlFlashLightsAction, VehicleControlHonkHornAction, VehicleControlResetPinToDriveAction, VehicleControlResetPinToDriveAdminAction, VehicleControlResetValetPinAction, VehicleControlScheduleSoftwareUpdateAction, VehicleControlSetPinToDriveAction, VehicleControlSetSentryModeAction, VehicleControlSetValetModeAction, VehicleControlSunroofOpenCloseAction, VehicleControlTriggerHomelinkAction, VehicleControlWindowAction, VehicleDataAck, VehicleDataFields, VehicleDataSubscription, VehicleDataSubscriptionResponse, VehicleDataSubscription_PiiKeyRequest, VehicleImageDataChunkRequest, VehicleImageRequest, VehicleImageRequest_Type, VideoRequestAction, VitalsAck, VitalsSubscription, VitalsSubscriptionResponse, autoSeatClimateAction_AutoSeatPositionEFromJSON, autoSeatClimateAction_AutoSeatPositionEToJSON, dogModeLiveActivityData_DisabledReasonFromJSON, dogModeLiveActivityData_DisabledReasonToJSON, hvacClimateKeeperAction_ClimateKeeperActionEFromJSON, hvacClimateKeeperAction_ClimateKeeperActionEToJSON, hvacClimateKeeperAction_ManualOverrideModeEFromJSON, hvacClimateKeeperAction_ManualOverrideModeEToJSON, hvacSeatCoolerActions_HvacSeatCoolerLevelEFromJSON, hvacSeatCoolerActions_HvacSeatCoolerLevelEToJSON, hvacSeatCoolerActions_HvacSeatCoolerPositionEFromJSON, hvacSeatCoolerActions_HvacSeatCoolerPositionEToJSON, hvacSetPreconditioningMaxAction_ManualOverrideModeEFromJSON, hvacSetPreconditioningMaxAction_ManualOverrideModeEToJSON, navigationRouteResponse_TrafficStatusFromJSON, navigationRouteResponse_TrafficStatusToJSON, operationStatusEFromJSON, operationStatusEToJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEFromJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEToJSON, prepareMobileUploadResponse_StatusFromJSON, prepareMobileUploadResponse_StatusToJSON, protobufPackage, putMobileUploadChunkResponse_StatusFromJSON, putMobileUploadChunkResponse_StatusToJSON, remoteNavTripOrderEFromJSON, remoteNavTripOrderEToJSON, setDistanceUnitAction_UnitFromJSON, setDistanceUnitAction_UnitToJSON, setEnergyDisplayFormatAction_FormatFromJSON, setEnergyDisplayFormatAction_FormatToJSON, setOutletsOnOffAction_OutletRequestFromJSON, setOutletsOnOffAction_OutletRequestToJSON, setPhoneSettingPreferencesAction_FontSizeFromJSON, setPhoneSettingPreferencesAction_FontSizeToJSON, setPowerFeedOnOffAction_PowerFeedRequestFromJSON, setPowerFeedOnOffAction_PowerFeedRequestToJSON, setPowershareFeatureAction_PowershareFeatureRequestFromJSON, setPowershareFeatureAction_PowershareFeatureRequestToJSON, setPowershareRequestAction_PowershareRequestFromJSON, setPowershareRequestAction_PowershareRequestToJSON, setSuspensionLevelAction_SuspensionLevelFromJSON, setSuspensionLevelAction_SuspensionLevelToJSON, setTemperatureUnitAction_UnitFromJSON, setTemperatureUnitAction_UnitToJSON, setTimeDisplayFormatAction_FormatFromJSON, setTimeDisplayFormatAction_FormatToJSON, setTirePressureUnitAction_UnitFromJSON, setTirePressureUnitAction_UnitToJSON, setZoneLightRequestAction_ZoneLightRequestFromJSON, setZoneLightRequestAction_ZoneLightRequestToJSON, vehicleDataFieldsFromJSON, vehicleDataFieldsToJSON, vehicleImageRequest_TypeFromJSON, vehicleImageRequest_TypeToJSON };