@teslemetry/tesla-protocol 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,7 @@
1
1
  import { ChargeSchedule, LatLong, OffPeakChargingTimes, PreconditionSchedule, PreconditioningTimes, StwHeatLevel, Void } from "./common.cjs";
2
+ import { Role } from "./keys.cjs";
2
3
  import { SessionInfo } from "./signatures.cjs";
4
+ import { KeyFormFactor } from "./vcsec.cjs";
3
5
  import { ClimateState_CopActivationTemp, VehicleData, VehicleImageStateType, VehicleState_GuestMode } from "./vehicle.cjs";
4
6
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
5
7
  //#region src/command/car_server.d.ts
@@ -299,10 +301,122 @@ interface Response {
299
301
  actionStatus: ActionStatus | undefined;
300
302
  vehicleData?: VehicleData | undefined;
301
303
  getSessionInfoResponse?: SessionInfo | undefined;
304
+ /** TESLEMETRY-EXT */
305
+ streamMessage?: StreamMessage | undefined;
302
306
  getNearbyChargingSites?: NearbyChargingSites | undefined;
307
+ /** TESLEMETRY-EXT */
308
+ vehicleDataSubscriptionResponse?: VehicleDataSubscriptionResponse | undefined;
309
+ /** TESLEMETRY-EXT */
310
+ vitalsSubscriptionResponse?: VitalsSubscriptionResponse | undefined;
303
311
  ping?: Ping | undefined;
304
312
  /** TESLEMETRY-EXT */
313
+ piiKeyResponse?: PiiKeyResponse | undefined;
314
+ /** TESLEMETRY-EXT */
315
+ pseudonymSyncResponse?: PseudonymSyncResponse | undefined;
316
+ /** TESLEMETRY-EXT */
317
+ getRateTariffResponse?: GetRateTariffResponse | undefined;
318
+ /** TESLEMETRY-EXT */
319
+ navigationRouteResponse?: NavigationRouteResponse | undefined;
320
+ /** TESLEMETRY-EXT */
321
+ getManagedChargingSitesResponse?: GetManagedChargingSitesResponse | undefined;
322
+ /** TESLEMETRY-EXT */
305
323
  getChargeOnSolarFeatureResponse?: GetChargeOnSolarFeatureResponse | undefined;
324
+ /** TESLEMETRY-EXT */
325
+ addManagedChargingSiteResponse?: AddManagedChargingSiteResponse | undefined;
326
+ /** TESLEMETRY-EXT */
327
+ getMessagesResponse?: GetMessagesResponse | undefined;
328
+ /** TESLEMETRY-EXT */
329
+ getLocalProfilesResponse?: GetLocalProfilesResponse | undefined;
330
+ /** TESLEMETRY-EXT */
331
+ keysInfoResponse?: KeysInfoResponse | undefined;
332
+ /** TESLEMETRY-EXT */
333
+ bandwidthTestResponse?: BandwidthTestResponse | undefined;
334
+ }
335
+ /** ===== TESLEMETRY-EXT BEGIN ===== */
336
+ interface VehicleDataSubscriptionResponse {
337
+ unknown: string;
338
+ piiKeyResponse: PiiKeyResponse | undefined;
339
+ }
340
+ interface VitalsSubscriptionResponse {
341
+ sessionId: number;
342
+ unknown: string;
343
+ }
344
+ interface PiiKeyResponse {
345
+ encryptedPiiKey: Uint8Array;
346
+ piiKeyExpiration: Date | undefined;
347
+ subscriberPublicKeyExpiration: Date | undefined;
348
+ }
349
+ interface PseudonymSyncResponse {
350
+ unknown: string;
351
+ }
352
+ interface NavigationRouteResponse {
353
+ unknown: string;
354
+ trafficDetail: NavigationRouteResponse_TrafficDetail[];
355
+ }
356
+ declare enum NavigationRouteResponse_TrafficStatus {
357
+ TS_NO_DATA = 0,
358
+ TS_LIGHT = 1,
359
+ TS_MODERATE = 2,
360
+ TS_CONGESTION = 3,
361
+ TS_SEVERE_CONGESTION = 4,
362
+ UNRECOGNIZED = -1
363
+ }
364
+ declare function navigationRouteResponse_TrafficStatusFromJSON(object: any): NavigationRouteResponse_TrafficStatus;
365
+ declare function navigationRouteResponse_TrafficStatusToJSON(object: NavigationRouteResponse_TrafficStatus): string;
366
+ interface NavigationRouteResponse_TrafficDetail {
367
+ offsetToDest: number;
368
+ trafficStatus: NavigationRouteResponse_TrafficStatus;
369
+ }
370
+ interface GetManagedChargingSitesResponse {
371
+ sites: ManagedChargingSite[];
372
+ }
373
+ interface ManagedChargingSiteAddedOrUpdated {}
374
+ interface ExistingManagedChargingSiteNearby {}
375
+ interface AddManagedChargingSiteResponse {
376
+ addedOrUpdated: ManagedChargingSiteAddedOrUpdated | undefined;
377
+ existingSiteNearby: ExistingManagedChargingSiteNearby | undefined;
378
+ }
379
+ interface RequestTeslaAuthCommand {
380
+ clientId: string;
381
+ unknown: string;
382
+ returnScopedToken: boolean;
383
+ }
384
+ interface MobileAppMessage {
385
+ requestTeslaAuthCommand: RequestTeslaAuthCommand | undefined;
386
+ }
387
+ interface GetMessagesResponse {
388
+ mobileAppMessages: MobileAppMessage[];
389
+ }
390
+ interface Profile {
391
+ unknown1: string;
392
+ unknown2: string;
393
+ }
394
+ interface GetLocalProfilesResponse {
395
+ profiles: Profile[];
396
+ }
397
+ interface KeyInfo {
398
+ unknown1: string;
399
+ unknown2: string;
400
+ publicKey: Uint8Array;
401
+ lastSeen: Date | undefined;
402
+ role: Role;
403
+ formFactor: KeyFormFactor;
404
+ }
405
+ interface KeysInfoResponse {
406
+ keysInfo: KeyInfo[];
407
+ }
408
+ interface BandwidthTestResponse {
409
+ data: Uint8Array;
410
+ requestedSize: number;
411
+ }
412
+ /**
413
+ * Answers GetRateTariffRequest with the same tariff document SetRateTariffRequest
414
+ * writes (VehicleAction tag 55); only the parts of that document we have observed
415
+ * and documented are declared here.
416
+ */
417
+ interface GetRateTariffResponse {
418
+ seasons: SetRateTariffRequest_Seasons | undefined;
419
+ tariff: SetRateTariffRequest_Tariff | undefined;
306
420
  }
307
421
  interface ActionStatus {
308
422
  result: OperationStatusE;
@@ -1122,6 +1236,25 @@ declare const GetPreconditioningScheduleState: MessageFns<GetPreconditioningSche
1122
1236
  declare const GetParentalControlsState: MessageFns<GetParentalControlsState>;
1123
1237
  declare const EraseUserDataAction: MessageFns<EraseUserDataAction>;
1124
1238
  declare const Response: MessageFns<Response>;
1239
+ declare const VehicleDataSubscriptionResponse: MessageFns<VehicleDataSubscriptionResponse>;
1240
+ declare const VitalsSubscriptionResponse: MessageFns<VitalsSubscriptionResponse>;
1241
+ declare const PiiKeyResponse: MessageFns<PiiKeyResponse>;
1242
+ declare const PseudonymSyncResponse: MessageFns<PseudonymSyncResponse>;
1243
+ declare const NavigationRouteResponse: MessageFns<NavigationRouteResponse>;
1244
+ declare const NavigationRouteResponse_TrafficDetail: MessageFns<NavigationRouteResponse_TrafficDetail>;
1245
+ declare const GetManagedChargingSitesResponse: MessageFns<GetManagedChargingSitesResponse>;
1246
+ declare const ManagedChargingSiteAddedOrUpdated: MessageFns<ManagedChargingSiteAddedOrUpdated>;
1247
+ declare const ExistingManagedChargingSiteNearby: MessageFns<ExistingManagedChargingSiteNearby>;
1248
+ declare const AddManagedChargingSiteResponse: MessageFns<AddManagedChargingSiteResponse>;
1249
+ declare const RequestTeslaAuthCommand: MessageFns<RequestTeslaAuthCommand>;
1250
+ declare const MobileAppMessage: MessageFns<MobileAppMessage>;
1251
+ declare const GetMessagesResponse: MessageFns<GetMessagesResponse>;
1252
+ declare const Profile: MessageFns<Profile>;
1253
+ declare const GetLocalProfilesResponse: MessageFns<GetLocalProfilesResponse>;
1254
+ declare const KeyInfo: MessageFns<KeyInfo>;
1255
+ declare const KeysInfoResponse: MessageFns<KeysInfoResponse>;
1256
+ declare const BandwidthTestResponse: MessageFns<BandwidthTestResponse>;
1257
+ declare const GetRateTariffResponse: MessageFns<GetRateTariffResponse>;
1125
1258
  declare const ActionStatus: MessageFns<ActionStatus>;
1126
1259
  declare const ResultReason: MessageFns<ResultReason>;
1127
1260
  declare const EncryptedData: MessageFns<EncryptedData>;
@@ -1285,4 +1418,4 @@ interface MessageFns<T> {
1285
1418
  fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
1286
1419
  }
1287
1420
  //#endregion
1288
- export { Action, ActionStatus, AddManagedChargingSiteRequest, AutoSeatClimateAction, AutoSeatClimateAction_AutoSeatPositionE, AutoSeatClimateAction_CarSeat, AutoStwHeatAction, BandwidthTest, BatchRemoveChargeSchedulesAction, BatchRemovePreconditionSchedulesAction, BluetoothClassicPairingRequest, BoomboxAction, CancelSohTestAction, CancelVehicleDataSubscription, ChargeOnSolarFeature, ChargePortDoorClose, ChargePortDoorOpen, ChargingSetLimitAction, ChargingStartStopAction, CreateStreamSession, DashcamSaveClipAction, DeepPartial, DeleteDashcamClipsAction, DestinationCharging, DrivingClearSpeedLimitPinAction, DrivingClearSpeedLimitPinAdminAction, DrivingSetSpeedLimitAction, DrivingSpeedLimitAction, EncryptedData, EraseUserDataAction, Exact, FetchKeysInfoAction, FormatUSBAction, GetAlertState, GetChargeOnSolarFeatureRequest, GetChargeOnSolarFeatureResponse, GetChargeScheduleState, GetChargeState, GetChildPresenceDetectionState, GetClimateState, GetClosuresState, GetDriveState, GetGuiSettings, GetLightShowState, GetLocalProfilesForVaultUuidAction, GetLocationState, GetManagedChargingSitesRequest, GetMediaDetailState, GetMediaState, GetMessagesAction, GetNearbyChargingSites, GetParentalControlsState, GetParkedAccessoryState, GetPreconditioningScheduleState, GetRateTariffRequest, GetSoftwareUpdateState, GetSuspensionState, GetTirePressureState, GetVehicleData, 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, ManagedChargingSite, ManagerType, MediaNextFavorite, MediaNextTrack, MediaPlayAction, MediaPreviousFavorite, MediaPreviousTrack, MediaUpdateVolume, MessageFns, NavigationGpsDestinationRequest, NavigationGpsDestinationRequest_RemoteNavTripOrder, NavigationGpsRequest, NavigationGpsRequest_RemoteNavTripOrder, NavigationRequest, NavigationRouteAction, NavigationSuperchargerRequest, NavigationWaypointsRequest, NavigationWaypointsRequest_TripPlanOptions, NearbyChargingSites, OperationStatusE, ParentalControlsAction, ParentalControlsClearPinAction, ParentalControlsClearPinAdminAction, ParentalControlsEnableSettingsAction, ParentalControlsEnableSettingsAction_ParentalControlsSettingE, ParentalControlsSetSpeedLimitAction, PhoneUnitPreferences, PiiKeyRequest, Ping, PseudonymSyncRequest, RemoteStartDrive, RemoveChargeScheduleAction, RemoveManagedChargingSiteRequest, RemovePreconditionScheduleAction, Response, ResultReason, ScheduledChargingAction, ScheduledDepartureAction, SetCabinOverheatProtectionAction, SetChargingAmpsAction, SetCopTempAction, SetDischargeLimitAction, SetDistanceUnitAction, SetDistanceUnitAction_Unit, SetEnergyDisplayFormatAction, SetEnergyDisplayFormatAction_Format, SetKeepAccessoryPowerModeAction, 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_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, 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, VehicleDataSubscription, VehicleDataSubscription_PiiKeyRequest, VehicleImageDataChunkRequest, VehicleImageRequest, VehicleImageRequest_Type, VideoRequestAction, VitalsAck, VitalsSubscription, autoSeatClimateAction_AutoSeatPositionEFromJSON, autoSeatClimateAction_AutoSeatPositionEToJSON, hvacClimateKeeperAction_ClimateKeeperActionEFromJSON, hvacClimateKeeperAction_ClimateKeeperActionEToJSON, hvacClimateKeeperAction_ManualOverrideModeEFromJSON, hvacClimateKeeperAction_ManualOverrideModeEToJSON, hvacSeatCoolerActions_HvacSeatCoolerLevelEFromJSON, hvacSeatCoolerActions_HvacSeatCoolerLevelEToJSON, hvacSeatCoolerActions_HvacSeatCoolerPositionEFromJSON, hvacSeatCoolerActions_HvacSeatCoolerPositionEToJSON, hvacSetPreconditioningMaxAction_ManualOverrideModeEFromJSON, hvacSetPreconditioningMaxAction_ManualOverrideModeEToJSON, navigationGpsDestinationRequest_RemoteNavTripOrderFromJSON, navigationGpsDestinationRequest_RemoteNavTripOrderToJSON, navigationGpsRequest_RemoteNavTripOrderFromJSON, navigationGpsRequest_RemoteNavTripOrderToJSON, operationStatusEFromJSON, operationStatusEToJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEFromJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEToJSON, protobufPackage, 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, vehicleImageRequest_TypeFromJSON, vehicleImageRequest_TypeToJSON };
1421
+ 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, DrivingClearSpeedLimitPinAction, DrivingClearSpeedLimitPinAdminAction, DrivingSetSpeedLimitAction, DrivingSpeedLimitAction, EncryptedData, EraseUserDataAction, Exact, ExistingManagedChargingSiteNearby, FetchKeysInfoAction, FormatUSBAction, GetAlertState, GetChargeOnSolarFeatureRequest, GetChargeOnSolarFeatureResponse, GetChargeScheduleState, GetChargeState, GetChildPresenceDetectionState, GetClimateState, GetClosuresState, GetDriveState, GetGuiSettings, GetLightShowState, GetLocalProfilesForVaultUuidAction, GetLocalProfilesResponse, GetLocationState, GetManagedChargingSitesRequest, GetManagedChargingSitesResponse, GetMediaDetailState, GetMediaState, GetMessagesAction, GetMessagesResponse, GetNearbyChargingSites, GetParentalControlsState, GetParkedAccessoryState, GetPreconditioningScheduleState, GetRateTariffRequest, GetRateTariffResponse, GetSoftwareUpdateState, GetSuspensionState, GetTirePressureState, GetVehicleData, 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, NavigationGpsDestinationRequest, NavigationGpsDestinationRequest_RemoteNavTripOrder, NavigationGpsRequest, NavigationGpsRequest_RemoteNavTripOrder, NavigationRequest, NavigationRouteAction, NavigationRouteResponse, NavigationRouteResponse_TrafficDetail, NavigationRouteResponse_TrafficStatus, NavigationSuperchargerRequest, NavigationWaypointsRequest, NavigationWaypointsRequest_TripPlanOptions, NearbyChargingSites, OperationStatusE, ParentalControlsAction, ParentalControlsClearPinAction, ParentalControlsClearPinAdminAction, ParentalControlsEnableSettingsAction, ParentalControlsEnableSettingsAction_ParentalControlsSettingE, ParentalControlsSetSpeedLimitAction, PhoneUnitPreferences, PiiKeyRequest, PiiKeyResponse, Ping, Profile, PseudonymSyncRequest, PseudonymSyncResponse, RemoteStartDrive, RemoveChargeScheduleAction, RemoveManagedChargingSiteRequest, RemovePreconditionScheduleAction, RequestTeslaAuthCommand, Response, ResultReason, ScheduledChargingAction, ScheduledDepartureAction, SetCabinOverheatProtectionAction, SetChargingAmpsAction, SetCopTempAction, SetDischargeLimitAction, SetDistanceUnitAction, SetDistanceUnitAction_Unit, SetEnergyDisplayFormatAction, SetEnergyDisplayFormatAction_Format, SetKeepAccessoryPowerModeAction, 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_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, 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, VehicleDataSubscription, VehicleDataSubscriptionResponse, VehicleDataSubscription_PiiKeyRequest, VehicleImageDataChunkRequest, VehicleImageRequest, VehicleImageRequest_Type, VideoRequestAction, VitalsAck, VitalsSubscription, VitalsSubscriptionResponse, autoSeatClimateAction_AutoSeatPositionEFromJSON, autoSeatClimateAction_AutoSeatPositionEToJSON, hvacClimateKeeperAction_ClimateKeeperActionEFromJSON, hvacClimateKeeperAction_ClimateKeeperActionEToJSON, hvacClimateKeeperAction_ManualOverrideModeEFromJSON, hvacClimateKeeperAction_ManualOverrideModeEToJSON, hvacSeatCoolerActions_HvacSeatCoolerLevelEFromJSON, hvacSeatCoolerActions_HvacSeatCoolerLevelEToJSON, hvacSeatCoolerActions_HvacSeatCoolerPositionEFromJSON, hvacSeatCoolerActions_HvacSeatCoolerPositionEToJSON, hvacSetPreconditioningMaxAction_ManualOverrideModeEFromJSON, hvacSetPreconditioningMaxAction_ManualOverrideModeEToJSON, navigationGpsDestinationRequest_RemoteNavTripOrderFromJSON, navigationGpsDestinationRequest_RemoteNavTripOrderToJSON, navigationGpsRequest_RemoteNavTripOrderFromJSON, navigationGpsRequest_RemoteNavTripOrderToJSON, navigationRouteResponse_TrafficStatusFromJSON, navigationRouteResponse_TrafficStatusToJSON, operationStatusEFromJSON, operationStatusEToJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEFromJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEToJSON, protobufPackage, 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, vehicleImageRequest_TypeFromJSON, vehicleImageRequest_TypeToJSON };
@@ -1,5 +1,7 @@
1
1
  import { ChargeSchedule, LatLong, OffPeakChargingTimes, PreconditionSchedule, PreconditioningTimes, StwHeatLevel, Void } from "./common.mjs";
2
+ import { Role } from "./keys.mjs";
2
3
  import { SessionInfo } from "./signatures.mjs";
4
+ import { KeyFormFactor } from "./vcsec.mjs";
3
5
  import { ClimateState_CopActivationTemp, VehicleData, VehicleImageStateType, VehicleState_GuestMode } from "./vehicle.mjs";
4
6
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
5
7
  //#region src/command/car_server.d.ts
@@ -299,10 +301,122 @@ interface Response {
299
301
  actionStatus: ActionStatus | undefined;
300
302
  vehicleData?: VehicleData | undefined;
301
303
  getSessionInfoResponse?: SessionInfo | undefined;
304
+ /** TESLEMETRY-EXT */
305
+ streamMessage?: StreamMessage | undefined;
302
306
  getNearbyChargingSites?: NearbyChargingSites | undefined;
307
+ /** TESLEMETRY-EXT */
308
+ vehicleDataSubscriptionResponse?: VehicleDataSubscriptionResponse | undefined;
309
+ /** TESLEMETRY-EXT */
310
+ vitalsSubscriptionResponse?: VitalsSubscriptionResponse | undefined;
303
311
  ping?: Ping | undefined;
304
312
  /** TESLEMETRY-EXT */
313
+ piiKeyResponse?: PiiKeyResponse | undefined;
314
+ /** TESLEMETRY-EXT */
315
+ pseudonymSyncResponse?: PseudonymSyncResponse | undefined;
316
+ /** TESLEMETRY-EXT */
317
+ getRateTariffResponse?: GetRateTariffResponse | undefined;
318
+ /** TESLEMETRY-EXT */
319
+ navigationRouteResponse?: NavigationRouteResponse | undefined;
320
+ /** TESLEMETRY-EXT */
321
+ getManagedChargingSitesResponse?: GetManagedChargingSitesResponse | undefined;
322
+ /** TESLEMETRY-EXT */
305
323
  getChargeOnSolarFeatureResponse?: GetChargeOnSolarFeatureResponse | undefined;
324
+ /** TESLEMETRY-EXT */
325
+ addManagedChargingSiteResponse?: AddManagedChargingSiteResponse | undefined;
326
+ /** TESLEMETRY-EXT */
327
+ getMessagesResponse?: GetMessagesResponse | undefined;
328
+ /** TESLEMETRY-EXT */
329
+ getLocalProfilesResponse?: GetLocalProfilesResponse | undefined;
330
+ /** TESLEMETRY-EXT */
331
+ keysInfoResponse?: KeysInfoResponse | undefined;
332
+ /** TESLEMETRY-EXT */
333
+ bandwidthTestResponse?: BandwidthTestResponse | undefined;
334
+ }
335
+ /** ===== TESLEMETRY-EXT BEGIN ===== */
336
+ interface VehicleDataSubscriptionResponse {
337
+ unknown: string;
338
+ piiKeyResponse: PiiKeyResponse | undefined;
339
+ }
340
+ interface VitalsSubscriptionResponse {
341
+ sessionId: number;
342
+ unknown: string;
343
+ }
344
+ interface PiiKeyResponse {
345
+ encryptedPiiKey: Uint8Array;
346
+ piiKeyExpiration: Date | undefined;
347
+ subscriberPublicKeyExpiration: Date | undefined;
348
+ }
349
+ interface PseudonymSyncResponse {
350
+ unknown: string;
351
+ }
352
+ interface NavigationRouteResponse {
353
+ unknown: string;
354
+ trafficDetail: NavigationRouteResponse_TrafficDetail[];
355
+ }
356
+ declare enum NavigationRouteResponse_TrafficStatus {
357
+ TS_NO_DATA = 0,
358
+ TS_LIGHT = 1,
359
+ TS_MODERATE = 2,
360
+ TS_CONGESTION = 3,
361
+ TS_SEVERE_CONGESTION = 4,
362
+ UNRECOGNIZED = -1
363
+ }
364
+ declare function navigationRouteResponse_TrafficStatusFromJSON(object: any): NavigationRouteResponse_TrafficStatus;
365
+ declare function navigationRouteResponse_TrafficStatusToJSON(object: NavigationRouteResponse_TrafficStatus): string;
366
+ interface NavigationRouteResponse_TrafficDetail {
367
+ offsetToDest: number;
368
+ trafficStatus: NavigationRouteResponse_TrafficStatus;
369
+ }
370
+ interface GetManagedChargingSitesResponse {
371
+ sites: ManagedChargingSite[];
372
+ }
373
+ interface ManagedChargingSiteAddedOrUpdated {}
374
+ interface ExistingManagedChargingSiteNearby {}
375
+ interface AddManagedChargingSiteResponse {
376
+ addedOrUpdated: ManagedChargingSiteAddedOrUpdated | undefined;
377
+ existingSiteNearby: ExistingManagedChargingSiteNearby | undefined;
378
+ }
379
+ interface RequestTeslaAuthCommand {
380
+ clientId: string;
381
+ unknown: string;
382
+ returnScopedToken: boolean;
383
+ }
384
+ interface MobileAppMessage {
385
+ requestTeslaAuthCommand: RequestTeslaAuthCommand | undefined;
386
+ }
387
+ interface GetMessagesResponse {
388
+ mobileAppMessages: MobileAppMessage[];
389
+ }
390
+ interface Profile {
391
+ unknown1: string;
392
+ unknown2: string;
393
+ }
394
+ interface GetLocalProfilesResponse {
395
+ profiles: Profile[];
396
+ }
397
+ interface KeyInfo {
398
+ unknown1: string;
399
+ unknown2: string;
400
+ publicKey: Uint8Array;
401
+ lastSeen: Date | undefined;
402
+ role: Role;
403
+ formFactor: KeyFormFactor;
404
+ }
405
+ interface KeysInfoResponse {
406
+ keysInfo: KeyInfo[];
407
+ }
408
+ interface BandwidthTestResponse {
409
+ data: Uint8Array;
410
+ requestedSize: number;
411
+ }
412
+ /**
413
+ * Answers GetRateTariffRequest with the same tariff document SetRateTariffRequest
414
+ * writes (VehicleAction tag 55); only the parts of that document we have observed
415
+ * and documented are declared here.
416
+ */
417
+ interface GetRateTariffResponse {
418
+ seasons: SetRateTariffRequest_Seasons | undefined;
419
+ tariff: SetRateTariffRequest_Tariff | undefined;
306
420
  }
307
421
  interface ActionStatus {
308
422
  result: OperationStatusE;
@@ -1122,6 +1236,25 @@ declare const GetPreconditioningScheduleState: MessageFns<GetPreconditioningSche
1122
1236
  declare const GetParentalControlsState: MessageFns<GetParentalControlsState>;
1123
1237
  declare const EraseUserDataAction: MessageFns<EraseUserDataAction>;
1124
1238
  declare const Response: MessageFns<Response>;
1239
+ declare const VehicleDataSubscriptionResponse: MessageFns<VehicleDataSubscriptionResponse>;
1240
+ declare const VitalsSubscriptionResponse: MessageFns<VitalsSubscriptionResponse>;
1241
+ declare const PiiKeyResponse: MessageFns<PiiKeyResponse>;
1242
+ declare const PseudonymSyncResponse: MessageFns<PseudonymSyncResponse>;
1243
+ declare const NavigationRouteResponse: MessageFns<NavigationRouteResponse>;
1244
+ declare const NavigationRouteResponse_TrafficDetail: MessageFns<NavigationRouteResponse_TrafficDetail>;
1245
+ declare const GetManagedChargingSitesResponse: MessageFns<GetManagedChargingSitesResponse>;
1246
+ declare const ManagedChargingSiteAddedOrUpdated: MessageFns<ManagedChargingSiteAddedOrUpdated>;
1247
+ declare const ExistingManagedChargingSiteNearby: MessageFns<ExistingManagedChargingSiteNearby>;
1248
+ declare const AddManagedChargingSiteResponse: MessageFns<AddManagedChargingSiteResponse>;
1249
+ declare const RequestTeslaAuthCommand: MessageFns<RequestTeslaAuthCommand>;
1250
+ declare const MobileAppMessage: MessageFns<MobileAppMessage>;
1251
+ declare const GetMessagesResponse: MessageFns<GetMessagesResponse>;
1252
+ declare const Profile: MessageFns<Profile>;
1253
+ declare const GetLocalProfilesResponse: MessageFns<GetLocalProfilesResponse>;
1254
+ declare const KeyInfo: MessageFns<KeyInfo>;
1255
+ declare const KeysInfoResponse: MessageFns<KeysInfoResponse>;
1256
+ declare const BandwidthTestResponse: MessageFns<BandwidthTestResponse>;
1257
+ declare const GetRateTariffResponse: MessageFns<GetRateTariffResponse>;
1125
1258
  declare const ActionStatus: MessageFns<ActionStatus>;
1126
1259
  declare const ResultReason: MessageFns<ResultReason>;
1127
1260
  declare const EncryptedData: MessageFns<EncryptedData>;
@@ -1285,4 +1418,4 @@ interface MessageFns<T> {
1285
1418
  fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
1286
1419
  }
1287
1420
  //#endregion
1288
- export { Action, ActionStatus, AddManagedChargingSiteRequest, AutoSeatClimateAction, AutoSeatClimateAction_AutoSeatPositionE, AutoSeatClimateAction_CarSeat, AutoStwHeatAction, BandwidthTest, BatchRemoveChargeSchedulesAction, BatchRemovePreconditionSchedulesAction, BluetoothClassicPairingRequest, BoomboxAction, CancelSohTestAction, CancelVehicleDataSubscription, ChargeOnSolarFeature, ChargePortDoorClose, ChargePortDoorOpen, ChargingSetLimitAction, ChargingStartStopAction, CreateStreamSession, DashcamSaveClipAction, DeepPartial, DeleteDashcamClipsAction, DestinationCharging, DrivingClearSpeedLimitPinAction, DrivingClearSpeedLimitPinAdminAction, DrivingSetSpeedLimitAction, DrivingSpeedLimitAction, EncryptedData, EraseUserDataAction, Exact, FetchKeysInfoAction, FormatUSBAction, GetAlertState, GetChargeOnSolarFeatureRequest, GetChargeOnSolarFeatureResponse, GetChargeScheduleState, GetChargeState, GetChildPresenceDetectionState, GetClimateState, GetClosuresState, GetDriveState, GetGuiSettings, GetLightShowState, GetLocalProfilesForVaultUuidAction, GetLocationState, GetManagedChargingSitesRequest, GetMediaDetailState, GetMediaState, GetMessagesAction, GetNearbyChargingSites, GetParentalControlsState, GetParkedAccessoryState, GetPreconditioningScheduleState, GetRateTariffRequest, GetSoftwareUpdateState, GetSuspensionState, GetTirePressureState, GetVehicleData, 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, ManagedChargingSite, ManagerType, MediaNextFavorite, MediaNextTrack, MediaPlayAction, MediaPreviousFavorite, MediaPreviousTrack, MediaUpdateVolume, MessageFns, NavigationGpsDestinationRequest, NavigationGpsDestinationRequest_RemoteNavTripOrder, NavigationGpsRequest, NavigationGpsRequest_RemoteNavTripOrder, NavigationRequest, NavigationRouteAction, NavigationSuperchargerRequest, NavigationWaypointsRequest, NavigationWaypointsRequest_TripPlanOptions, NearbyChargingSites, OperationStatusE, ParentalControlsAction, ParentalControlsClearPinAction, ParentalControlsClearPinAdminAction, ParentalControlsEnableSettingsAction, ParentalControlsEnableSettingsAction_ParentalControlsSettingE, ParentalControlsSetSpeedLimitAction, PhoneUnitPreferences, PiiKeyRequest, Ping, PseudonymSyncRequest, RemoteStartDrive, RemoveChargeScheduleAction, RemoveManagedChargingSiteRequest, RemovePreconditionScheduleAction, Response, ResultReason, ScheduledChargingAction, ScheduledDepartureAction, SetCabinOverheatProtectionAction, SetChargingAmpsAction, SetCopTempAction, SetDischargeLimitAction, SetDistanceUnitAction, SetDistanceUnitAction_Unit, SetEnergyDisplayFormatAction, SetEnergyDisplayFormatAction_Format, SetKeepAccessoryPowerModeAction, 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_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, 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, VehicleDataSubscription, VehicleDataSubscription_PiiKeyRequest, VehicleImageDataChunkRequest, VehicleImageRequest, VehicleImageRequest_Type, VideoRequestAction, VitalsAck, VitalsSubscription, autoSeatClimateAction_AutoSeatPositionEFromJSON, autoSeatClimateAction_AutoSeatPositionEToJSON, hvacClimateKeeperAction_ClimateKeeperActionEFromJSON, hvacClimateKeeperAction_ClimateKeeperActionEToJSON, hvacClimateKeeperAction_ManualOverrideModeEFromJSON, hvacClimateKeeperAction_ManualOverrideModeEToJSON, hvacSeatCoolerActions_HvacSeatCoolerLevelEFromJSON, hvacSeatCoolerActions_HvacSeatCoolerLevelEToJSON, hvacSeatCoolerActions_HvacSeatCoolerPositionEFromJSON, hvacSeatCoolerActions_HvacSeatCoolerPositionEToJSON, hvacSetPreconditioningMaxAction_ManualOverrideModeEFromJSON, hvacSetPreconditioningMaxAction_ManualOverrideModeEToJSON, navigationGpsDestinationRequest_RemoteNavTripOrderFromJSON, navigationGpsDestinationRequest_RemoteNavTripOrderToJSON, navigationGpsRequest_RemoteNavTripOrderFromJSON, navigationGpsRequest_RemoteNavTripOrderToJSON, operationStatusEFromJSON, operationStatusEToJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEFromJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEToJSON, protobufPackage, 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, vehicleImageRequest_TypeFromJSON, vehicleImageRequest_TypeToJSON };
1421
+ 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, DrivingClearSpeedLimitPinAction, DrivingClearSpeedLimitPinAdminAction, DrivingSetSpeedLimitAction, DrivingSpeedLimitAction, EncryptedData, EraseUserDataAction, Exact, ExistingManagedChargingSiteNearby, FetchKeysInfoAction, FormatUSBAction, GetAlertState, GetChargeOnSolarFeatureRequest, GetChargeOnSolarFeatureResponse, GetChargeScheduleState, GetChargeState, GetChildPresenceDetectionState, GetClimateState, GetClosuresState, GetDriveState, GetGuiSettings, GetLightShowState, GetLocalProfilesForVaultUuidAction, GetLocalProfilesResponse, GetLocationState, GetManagedChargingSitesRequest, GetManagedChargingSitesResponse, GetMediaDetailState, GetMediaState, GetMessagesAction, GetMessagesResponse, GetNearbyChargingSites, GetParentalControlsState, GetParkedAccessoryState, GetPreconditioningScheduleState, GetRateTariffRequest, GetRateTariffResponse, GetSoftwareUpdateState, GetSuspensionState, GetTirePressureState, GetVehicleData, 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, NavigationGpsDestinationRequest, NavigationGpsDestinationRequest_RemoteNavTripOrder, NavigationGpsRequest, NavigationGpsRequest_RemoteNavTripOrder, NavigationRequest, NavigationRouteAction, NavigationRouteResponse, NavigationRouteResponse_TrafficDetail, NavigationRouteResponse_TrafficStatus, NavigationSuperchargerRequest, NavigationWaypointsRequest, NavigationWaypointsRequest_TripPlanOptions, NearbyChargingSites, OperationStatusE, ParentalControlsAction, ParentalControlsClearPinAction, ParentalControlsClearPinAdminAction, ParentalControlsEnableSettingsAction, ParentalControlsEnableSettingsAction_ParentalControlsSettingE, ParentalControlsSetSpeedLimitAction, PhoneUnitPreferences, PiiKeyRequest, PiiKeyResponse, Ping, Profile, PseudonymSyncRequest, PseudonymSyncResponse, RemoteStartDrive, RemoveChargeScheduleAction, RemoveManagedChargingSiteRequest, RemovePreconditionScheduleAction, RequestTeslaAuthCommand, Response, ResultReason, ScheduledChargingAction, ScheduledDepartureAction, SetCabinOverheatProtectionAction, SetChargingAmpsAction, SetCopTempAction, SetDischargeLimitAction, SetDistanceUnitAction, SetDistanceUnitAction_Unit, SetEnergyDisplayFormatAction, SetEnergyDisplayFormatAction_Format, SetKeepAccessoryPowerModeAction, 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_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, 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, VehicleDataSubscription, VehicleDataSubscriptionResponse, VehicleDataSubscription_PiiKeyRequest, VehicleImageDataChunkRequest, VehicleImageRequest, VehicleImageRequest_Type, VideoRequestAction, VitalsAck, VitalsSubscription, VitalsSubscriptionResponse, autoSeatClimateAction_AutoSeatPositionEFromJSON, autoSeatClimateAction_AutoSeatPositionEToJSON, hvacClimateKeeperAction_ClimateKeeperActionEFromJSON, hvacClimateKeeperAction_ClimateKeeperActionEToJSON, hvacClimateKeeperAction_ManualOverrideModeEFromJSON, hvacClimateKeeperAction_ManualOverrideModeEToJSON, hvacSeatCoolerActions_HvacSeatCoolerLevelEFromJSON, hvacSeatCoolerActions_HvacSeatCoolerLevelEToJSON, hvacSeatCoolerActions_HvacSeatCoolerPositionEFromJSON, hvacSeatCoolerActions_HvacSeatCoolerPositionEToJSON, hvacSetPreconditioningMaxAction_ManualOverrideModeEFromJSON, hvacSetPreconditioningMaxAction_ManualOverrideModeEToJSON, navigationGpsDestinationRequest_RemoteNavTripOrderFromJSON, navigationGpsDestinationRequest_RemoteNavTripOrderToJSON, navigationGpsRequest_RemoteNavTripOrderFromJSON, navigationGpsRequest_RemoteNavTripOrderToJSON, navigationRouteResponse_TrafficStatusFromJSON, navigationRouteResponse_TrafficStatusToJSON, operationStatusEFromJSON, operationStatusEToJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEFromJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEToJSON, protobufPackage, 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, vehicleImageRequest_TypeFromJSON, vehicleImageRequest_TypeToJSON };