@teslemetry/tesla-protocol 0.5.0 → 1.0.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.
Files changed (114) hide show
  1. package/README.md +1 -3
  2. package/dist/charging/charging.cjs +550 -0
  3. package/dist/charging/charging.d.cts +75 -0
  4. package/dist/charging/charging.d.mts +75 -0
  5. package/dist/charging/charging.mjs +543 -0
  6. package/dist/command/car_server.cjs +212 -11
  7. package/dist/command/car_server.d.cts +121 -96
  8. package/dist/command/car_server.d.mts +121 -96
  9. package/dist/command/car_server.mjs +206 -12
  10. package/dist/command/common.cjs +43 -0
  11. package/dist/command/common.d.cts +6 -2
  12. package/dist/command/common.d.mts +6 -2
  13. package/dist/command/common.mjs +43 -1
  14. package/dist/command/managed_charging.d.cts +1 -1
  15. package/dist/command/managed_charging.d.mts +1 -1
  16. package/dist/command/session.d.cts +0 -4
  17. package/dist/command/session.d.mts +0 -4
  18. package/dist/command/universal_message.cjs +8 -3
  19. package/dist/command/universal_message.d.cts +5 -3
  20. package/dist/command/universal_message.d.mts +5 -3
  21. package/dist/command/universal_message.mjs +8 -3
  22. package/dist/command/vcsec.cjs +124 -39
  23. package/dist/command/vcsec.d.cts +50 -40
  24. package/dist/command/vcsec.d.mts +50 -40
  25. package/dist/command/vcsec.mjs +123 -40
  26. package/dist/command/vehicle.cjs +156 -18
  27. package/dist/command/vehicle.d.cts +70 -57
  28. package/dist/command/vehicle.d.mts +70 -57
  29. package/dist/command/vehicle.mjs +156 -20
  30. package/dist/dashcam/dashcam_sei.cjs +263 -0
  31. package/dist/dashcam/dashcam_sei.d.cts +60 -0
  32. package/dist/dashcam/dashcam_sei.d.mts +60 -0
  33. package/dist/dashcam/dashcam_sei.mjs +255 -0
  34. package/dist/energy_command/identifier_type.cjs +0 -5
  35. package/dist/energy_command/identifier_type.d.cts +0 -5
  36. package/dist/energy_command/identifier_type.d.mts +0 -5
  37. package/dist/energy_command/identifier_type.mjs +0 -5
  38. package/dist/energy_device/authorization_api.d.cts +0 -5
  39. package/dist/energy_device/authorization_api.d.mts +0 -5
  40. package/dist/energy_device/authorization_types.cjs +0 -5
  41. package/dist/energy_device/authorization_types.d.cts +0 -5
  42. package/dist/energy_device/authorization_types.d.mts +0 -5
  43. package/dist/energy_device/authorization_types.mjs +0 -5
  44. package/dist/energy_device/common_api.cjs +604 -11
  45. package/dist/energy_device/common_api.d.cts +60 -8
  46. package/dist/energy_device/common_api.d.mts +60 -8
  47. package/dist/energy_device/common_api.mjs +596 -12
  48. package/dist/energy_device/device.cjs +129 -5
  49. package/dist/energy_device/device.d.cts +13 -6
  50. package/dist/energy_device/device.d.mts +13 -6
  51. package/dist/energy_device/device.mjs +127 -6
  52. package/dist/energy_device/energy.cjs +0 -5
  53. package/dist/energy_device/energy.d.cts +0 -5
  54. package/dist/energy_device/energy.d.mts +0 -5
  55. package/dist/energy_device/energy.mjs +0 -5
  56. package/dist/energy_device/energy_site_net.cjs +747 -5
  57. package/dist/energy_device/energy_site_net.d.cts +84 -6
  58. package/dist/energy_device/energy_site_net.d.mts +84 -6
  59. package/dist/energy_device/energy_site_net.mjs +736 -6
  60. package/dist/energy_device/error.d.cts +0 -5
  61. package/dist/energy_device/error.d.mts +0 -5
  62. package/dist/energy_device/filestore_api.cjs +570 -0
  63. package/dist/energy_device/filestore_api.d.cts +76 -0
  64. package/dist/energy_device/filestore_api.d.mts +76 -0
  65. package/dist/energy_device/filestore_api.mjs +558 -0
  66. package/dist/energy_device/google/protobuf/duration.cjs +71 -0
  67. package/dist/energy_device/google/protobuf/duration.d.cts +95 -0
  68. package/dist/energy_device/google/protobuf/duration.d.mts +95 -0
  69. package/dist/energy_device/google/protobuf/duration.mjs +69 -0
  70. package/dist/energy_device/graphql_api.cjs +444 -0
  71. package/dist/energy_device/graphql_api.d.cts +73 -0
  72. package/dist/energy_device/graphql_api.d.mts +73 -0
  73. package/dist/energy_device/graphql_api.mjs +429 -0
  74. package/dist/energy_device/intra_site_api.cjs +1693 -0
  75. package/dist/energy_device/intra_site_api.d.cts +222 -0
  76. package/dist/energy_device/intra_site_api.d.mts +222 -0
  77. package/dist/energy_device/intra_site_api.mjs +1639 -0
  78. package/dist/energy_device/local_auth_api.cjs +500 -0
  79. package/dist/energy_device/local_auth_api.d.cts +68 -0
  80. package/dist/energy_device/local_auth_api.d.mts +68 -0
  81. package/dist/energy_device/local_auth_api.mjs +487 -0
  82. package/dist/energy_device/networking.cjs +20 -7
  83. package/dist/energy_device/networking.d.cts +2 -5
  84. package/dist/energy_device/networking.d.mts +2 -5
  85. package/dist/energy_device/networking.mjs +20 -7
  86. package/dist/energy_device/neurio_meter_api.cjs +1437 -0
  87. package/dist/energy_device/neurio_meter_api.d.cts +197 -0
  88. package/dist/energy_device/neurio_meter_api.d.mts +197 -0
  89. package/dist/energy_device/neurio_meter_api.mjs +1396 -0
  90. package/dist/energy_device/pvi_api.cjs +2949 -0
  91. package/dist/energy_device/pvi_api.d.cts +314 -0
  92. package/dist/energy_device/pvi_api.d.mts +314 -0
  93. package/dist/energy_device/pvi_api.mjs +2887 -0
  94. package/dist/energy_device/teg_api.cjs +5179 -147
  95. package/dist/energy_device/teg_api.d.cts +490 -80
  96. package/dist/energy_device/teg_api.d.mts +490 -80
  97. package/dist/energy_device/teg_api.mjs +5059 -148
  98. package/dist/energy_device/transport.cjs +82 -7
  99. package/dist/energy_device/transport.d.cts +16 -10
  100. package/dist/energy_device/transport.d.mts +16 -10
  101. package/dist/energy_device/transport.mjs +82 -7
  102. package/dist/energy_device/update.cjs +33 -11
  103. package/dist/energy_device/update.d.cts +3 -5
  104. package/dist/energy_device/update.d.mts +3 -5
  105. package/dist/energy_device/update.mjs +33 -11
  106. package/dist/energy_device/wall_connector.cjs +6729 -10
  107. package/dist/energy_device/wall_connector.d.cts +696 -7
  108. package/dist/energy_device/wall_connector.d.mts +696 -7
  109. package/dist/energy_device/wall_connector.mjs +6591 -11
  110. package/dist/telemetry/vehicle_data.cjs +1 -1
  111. package/dist/telemetry/vehicle_data.d.cts +1 -1
  112. package/dist/telemetry/vehicle_data.d.mts +1 -1
  113. package/dist/telemetry/vehicle_data.mjs +1 -1
  114. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { AccessoryLightbarType, ChargePortLatchState, ChargeSchedule, ChargingAlert, ChassisType, FasciaType, GtwDiagLevel, LatLong, MediaPlaybackStatus, OffPeakChargingTimes, PreconditionSchedule, PreconditioningTimes, RearSeatHeaterType, StwHeatLevel, SuspensionActuationState, SuspensionLevel, Void, ZoneLightRequest } from "./common.mjs";
1
+ import { AccessoryLightbarType, ChargePortLatchState, ChargeSchedule, ChargingAlert, ChassisType, FasciaType, GtwDiagLevel, LatLong, MediaPlaybackStatus, OffPeakChargingTimes, PreconditionSchedule, PreconditioningTimes, RearSeatHeaterType, StwHeatLevel, SuspensionActuationState, SuspensionLevel, SuspensionLevelObj, Void, ZoneLightRequest } from "./common.mjs";
2
2
  import { ClosureStateE } from "./vcsec.mjs";
3
3
  import { ChargeOnSolarNoChargeReason } from "./managed_charging.mjs";
4
4
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
@@ -10,7 +10,7 @@ declare const protobufPackage = "CarServer";
10
10
  * UPSTREAM-COMMIT: see upstream.json
11
11
  * This file = upstream base + Teslemetry extensions marked TESLEMETRY-EXT.
12
12
  */
13
- /** ===== TESLEMETRY-EXT BEGIN (app-4.58.6) ===== */
13
+ /** ===== TESLEMETRY-EXT BEGIN ===== */
14
14
  declare enum AutopilotBase {
15
15
  AutopilotBase_NONE = 0,
16
16
  AutopilotBase_HIGHWAY = 1,
@@ -35,7 +35,7 @@ declare enum AutopilotOverrideState {
35
35
  }
36
36
  declare function autopilotOverrideStateFromJSON(object: any): AutopilotOverrideState;
37
37
  declare function autopilotOverrideStateToJSON(object: AutopilotOverrideState): string;
38
- /** ===== TESLEMETRY-EXT BEGIN (app-4.58.6) ===== */
38
+ /** ===== TESLEMETRY-EXT BEGIN ===== */
39
39
  declare enum DashCamState {
40
40
  DashCamState_UNAVAILABLE = 0,
41
41
  DashCamState_AVAILABLE = 1,
@@ -49,7 +49,7 @@ declare enum DashCamState {
49
49
  }
50
50
  declare function dashCamStateFromJSON(object: any): DashCamState;
51
51
  declare function dashCamStateToJSON(object: DashCamState): string;
52
- /** ===== TESLEMETRY-EXT BEGIN (app-4.58.6) ===== */
52
+ /** ===== TESLEMETRY-EXT BEGIN ===== */
53
53
  declare enum TheaterSource {
54
54
  TheaterSource_None = 0,
55
55
  TheaterSource_YouTube = 1,
@@ -100,7 +100,7 @@ declare enum MediaSourceType {
100
100
  MediaSourceType_OnlineRadio = 24,
101
101
  MediaSourceType_OnlineRadio2 = 25,
102
102
  MediaSourceType_NetEaseMusic = 26,
103
- /** MediaSourceType_AppleMusic - TESLEMETRY-EXT (app-4.58.6) */
103
+ /** MediaSourceType_AppleMusic - TESLEMETRY-EXT */
104
104
  MediaSourceType_AppleMusic = 27,
105
105
  /** MediaSourceType_Browser - Entertainment sources */
106
106
  MediaSourceType_Browser = 28,
@@ -111,23 +111,23 @@ declare enum MediaSourceType {
111
111
  MediaSourceType_RecentsFavorites = 33,
112
112
  MediaSourceType_HomeApps = 34,
113
113
  MediaSourceType_Search = 35,
114
- /** MediaSourceType_ApplePodcasts - TESLEMETRY-EXT (app-4.58.6) */
114
+ /** MediaSourceType_ApplePodcasts - TESLEMETRY-EXT */
115
115
  MediaSourceType_ApplePodcasts = 36,
116
- /** MediaSourceType_Audible - TESLEMETRY-EXT (app-4.58.6) */
116
+ /** MediaSourceType_Audible - TESLEMETRY-EXT */
117
117
  MediaSourceType_Audible = 37,
118
- /** MediaSourceType_AmazonMusic - TESLEMETRY-EXT (app-4.58.6) */
118
+ /** MediaSourceType_AmazonMusic - TESLEMETRY-EXT */
119
119
  MediaSourceType_AmazonMusic = 38,
120
- /** MediaSourceType_YouTubeMusic - TESLEMETRY-EXT (app-4.58.6) */
120
+ /** MediaSourceType_YouTubeMusic - TESLEMETRY-EXT */
121
121
  MediaSourceType_YouTubeMusic = 39,
122
- /** MediaSourceType_SiriusXmWeb - TESLEMETRY-EXT (app-4.58.6) */
122
+ /** MediaSourceType_SiriusXmWeb - TESLEMETRY-EXT */
123
123
  MediaSourceType_SiriusXmWeb = 40,
124
- /** MediaSourceType_Yunting - TESLEMETRY-EXT (app-4.58.6) */
124
+ /** MediaSourceType_Yunting - TESLEMETRY-EXT */
125
125
  MediaSourceType_Yunting = 41,
126
- /** MediaSourceType_TuneInWeb - TESLEMETRY-EXT (app-4.58.6) */
126
+ /** MediaSourceType_TuneInWeb - TESLEMETRY-EXT */
127
127
  MediaSourceType_TuneInWeb = 42,
128
- /** MediaSourceType_Kugou - TESLEMETRY-EXT (app-4.58.6) */
128
+ /** MediaSourceType_Kugou - TESLEMETRY-EXT */
129
129
  MediaSourceType_Kugou = 43,
130
- /** MediaSourceType_Vohico - TESLEMETRY-EXT (app-4.58.6) */
130
+ /** MediaSourceType_Vohico - TESLEMETRY-EXT */
131
131
  MediaSourceType_Vohico = 44,
132
132
  UNRECOGNIZED = -1
133
133
  }
@@ -142,41 +142,43 @@ declare enum VehicleImageStateType {
142
142
  declare function vehicleImageStateTypeFromJSON(object: any): VehicleImageStateType;
143
143
  declare function vehicleImageStateTypeToJSON(object: VehicleImageStateType): string;
144
144
  interface VehicleData {
145
- /** TESLEMETRY-EXT (app-4.58.6) */
145
+ /** TESLEMETRY-EXT */
146
146
  guiSettings: GuiSettings | undefined;
147
147
  chargeState: ChargeState | undefined;
148
148
  climateState: ClimateState | undefined;
149
149
  driveState: DriveState | undefined;
150
- /** VehicleState carries the legacy vehicle-state surface // TESLEMETRY-EXT (app-4.58.6) */
150
+ /** VehicleState carries the legacy vehicle-state surface // TESLEMETRY-EXT */
151
151
  legacyVehicleState: VehicleState | undefined;
152
- /** TESLEMETRY-EXT (app-4.58.6) */
152
+ /** TESLEMETRY-EXT */
153
153
  vehicleConfig: VehicleConfig | undefined;
154
154
  locationState: LocationState | undefined;
155
155
  closuresState: ClosuresState | undefined;
156
156
  protoJsonVersion?: number | undefined;
157
157
  uploadReason?: string | undefined;
158
- /** TESLEMETRY-EXT (app-4.58.6) */
158
+ /** TESLEMETRY-EXT */
159
159
  parkedAccessoryState: ParkedAccessoryState | undefined;
160
160
  chargeScheduleState: ChargeScheduleState | undefined;
161
161
  preconditioningScheduleState: PreconditioningScheduleState | undefined;
162
- /** TESLEMETRY-EXT (app-4.58.6) */
162
+ /** TESLEMETRY-EXT */
163
163
  sohState: SohState | undefined;
164
+ /** opaque, undecoded payload observed on live vehicleDataSubscription pushes // TESLEMETRY-EXT */
165
+ unknown: Uint8Array;
164
166
  tirePressureState: TirePressureState | undefined;
165
167
  mediaState: MediaState | undefined;
166
168
  mediaDetailState: MediaDetailState | undefined;
167
- /** TESLEMETRY-EXT (app-4.58.6) */
169
+ /** TESLEMETRY-EXT */
168
170
  vehicleDetailState: VehicleDetailState | undefined;
169
171
  softwareUpdateState: SoftwareUpdateState | undefined;
170
172
  parentalControlsState: ParentalControlsState | undefined;
171
- /** TESLEMETRY-EXT (app-4.58.6) */
173
+ /** TESLEMETRY-EXT */
172
174
  alertState: AlertState | undefined;
173
- /** TESLEMETRY-EXT (app-4.58.6) */
175
+ /** TESLEMETRY-EXT */
174
176
  lightShowState: LightShowState | undefined;
175
- /** TESLEMETRY-EXT (app-4.58.6) */
177
+ /** TESLEMETRY-EXT */
176
178
  vehicleImageState: VehicleImageState | undefined;
177
- /** TESLEMETRY-EXT (app-4.58.6) */
179
+ /** TESLEMETRY-EXT */
178
180
  suspensionState: SuspensionState | undefined;
179
- /** TESLEMETRY-EXT (app-4.58.6) */
181
+ /** TESLEMETRY-EXT */
180
182
  childPresenceDetectionState: ChildPresenceDetectionState | undefined;
181
183
  supportsOptionalFields?: boolean | undefined;
182
184
  }
@@ -324,21 +326,21 @@ interface DriveState {
324
326
  fsdUserMilesHandsFreeCurrent?: number | undefined;
325
327
  fsdUserMilesHandsFreeMax?: number | undefined;
326
328
  fsdTotalMilesThisMonth?: number | undefined;
327
- /** TESLEMETRY-EXT (app-4.58.6) */
329
+ /** TESLEMETRY-EXT */
328
330
  fsdMonthlyHistory: DriveState_FsdMonthlyMileage[];
329
331
  fsdStreakDays?: number | undefined;
330
- /** TESLEMETRY-EXT (app-4.58.6) */
332
+ /** TESLEMETRY-EXT */
331
333
  fsdLast7DaysUsage: DriveState_FsdLast7DaysUsage | undefined;
332
334
  rainbowRoadEnabled?: boolean | undefined;
333
335
  fsdActive?: boolean | undefined;
334
336
  }
335
- /** TESLEMETRY-EXT (app-4.58.6) */
337
+ /** TESLEMETRY-EXT */
336
338
  interface DriveState_FsdMonthlyMileage {
337
339
  yearMonth: string;
338
340
  fsdMiles: number;
339
341
  totalMiles: number;
340
342
  }
341
- /** TESLEMETRY-EXT (app-4.58.6) */
343
+ /** TESLEMETRY-EXT */
342
344
  interface DriveState_FsdLast7DaysUsage {
343
345
  weekStartsOnSunday: boolean;
344
346
  /** one entry per day, most recent first */
@@ -430,7 +432,7 @@ interface ChargeState {
430
432
  isRoaming?: boolean | undefined;
431
433
  paidSessionLocationGuid?: string | undefined;
432
434
  paidSessionPricebookGuid?: string | undefined;
433
- /** TESLEMETRY-EXT (app-4.58.6) */
435
+ /** TESLEMETRY-EXT */
434
436
  paidSessionStartTime: Date | undefined;
435
437
  lowPowerMode?: boolean | undefined;
436
438
  lowPowerModeForcedOn?: boolean | undefined;
@@ -469,7 +471,7 @@ declare enum ChargeState_ChargeLimitReason {
469
471
  ChargeLimitReasonBattTempLow = 3,
470
472
  ChargeLimitReasonHighSoc = 4,
471
473
  ChargeLimitReasonCabin = 5,
472
- /** ChargeLimitReasonEvseRelocationRecommended - TESLEMETRY-EXT (app-4.58.6) */
474
+ /** ChargeLimitReasonEvseRelocationRecommended - TESLEMETRY-EXT */
473
475
  ChargeLimitReasonEvseRelocationRecommended = 6,
474
476
  UNRECOGNIZED = -1
475
477
  }
@@ -512,7 +514,7 @@ declare enum ChargeState_PowershareType {
512
514
  PowershareTypeNone = 0,
513
515
  PowershareTypeLoad = 1,
514
516
  PowershareTypeHome = 2,
515
- /** PowershareTypeGrid - TESLEMETRY-EXT (app-4.58.6) */
517
+ /** PowershareTypeGrid - TESLEMETRY-EXT */
516
518
  PowershareTypeGrid = 3,
517
519
  UNRECOGNIZED = -1
518
520
  }
@@ -526,9 +528,9 @@ declare enum ChargeState_PowershareStopReason {
526
528
  PowershareStopReasonUser = 4,
527
529
  PowershareStopReasonReconnecting = 5,
528
530
  PowershareStopReasonAuthentication = 6,
529
- /** PowershareStopReasonAdapterUpdating - TESLEMETRY-EXT (app-4.58.6) */
531
+ /** PowershareStopReasonAdapterUpdating - TESLEMETRY-EXT */
530
532
  PowershareStopReasonAdapterUpdating = 7,
531
- /** PowershareStopReasonAdapterInitializationFailed - TESLEMETRY-EXT (app-4.58.6) */
533
+ /** PowershareStopReasonAdapterInitializationFailed - TESLEMETRY-EXT */
532
534
  PowershareStopReasonAdapterInitializationFailed = 8,
533
535
  UNRECOGNIZED = -1
534
536
  }
@@ -684,23 +686,25 @@ interface LocationState_GPSCoordinateType {
684
686
  WGS?: Void | undefined;
685
687
  }
686
688
  interface VehicleState {
687
- /** TESLEMETRY-EXT (app-4.58.6) */
689
+ /** TESLEMETRY-EXT */
688
690
  softwareUpdateState: SoftwareUpdateState | undefined;
689
- /** TESLEMETRY-EXT (app-4.58.6) */
691
+ /** TESLEMETRY-EXT */
690
692
  legacyMediaState: LegacyMediaState | undefined;
691
- /** TESLEMETRY-EXT (app-4.58.6) */
693
+ /** TESLEMETRY-EXT */
692
694
  timestamp: Date | undefined;
693
- /** TESLEMETRY-EXT (app-4.58.6) */
695
+ /** TESLEMETRY-EXT */
694
696
  featureBitmask: number[];
695
- /** TESLEMETRY-EXT (app-4.58.6) */
697
+ /** TESLEMETRY-EXT */
696
698
  tpmsLastSeenPressureTimeFl: Date | undefined;
697
- /** TESLEMETRY-EXT (app-4.58.6) */
699
+ /** TESLEMETRY-EXT */
698
700
  tpmsLastSeenPressureTimeFr: Date | undefined;
699
- /** TESLEMETRY-EXT (app-4.58.6) */
701
+ /** TESLEMETRY-EXT */
700
702
  tpmsLastSeenPressureTimeRl: Date | undefined;
701
- /** TESLEMETRY-EXT (app-4.58.6) */
703
+ /** TESLEMETRY-EXT */
702
704
  tpmsLastSeenPressureTimeRr: Date | undefined;
703
- /** TESLEMETRY-EXT (app-4.58.6) */
705
+ deckLightsOn?: boolean | undefined;
706
+ hazardsOn?: boolean | undefined;
707
+ /** TESLEMETRY-EXT */
704
708
  legacyMediaInfo: LegacyMediaInfo | undefined;
705
709
  allowAuthorizedMobileDevicesOnly?: boolean | undefined;
706
710
  guestMode: VehicleState_GuestMode | undefined;
@@ -728,7 +732,7 @@ interface VehicleState {
728
732
  gtwDiagLevel?: GtwDiagLevel | undefined;
729
733
  parentalControlsActive?: boolean | undefined;
730
734
  parentalControlsPinSet?: boolean | undefined;
731
- /** TESLEMETRY-EXT (app-4.58.6) */
735
+ /** TESLEMETRY-EXT */
732
736
  parentalControlsSettings: ParentalControlsSettings | undefined;
733
737
  apiVersion?: number | undefined;
734
738
  carVersion?: string | undefined;
@@ -766,9 +770,9 @@ interface VehicleState {
766
770
  tpmsRcpFrontValue?: number | undefined;
767
771
  tpmsRcpRearValue?: number | undefined;
768
772
  fsdSoftwareVersion?: string | undefined;
769
- /** TESLEMETRY-EXT (app-4.58.6) */
773
+ /** TESLEMETRY-EXT */
770
774
  autopilotBase: AutopilotBase;
771
- /** TESLEMETRY-EXT (app-4.58.6) */
775
+ /** TESLEMETRY-EXT */
772
776
  autopilotOverrideState: AutopilotOverrideState;
773
777
  autopilotOverrideExpireTime?: number | undefined;
774
778
  }
@@ -898,7 +902,7 @@ declare enum ClimateState_COPNotRunningReason {
898
902
  }
899
903
  declare function climateState_COPNotRunningReasonFromJSON(object: any): ClimateState_COPNotRunningReason;
900
904
  declare function climateState_COPNotRunningReasonToJSON(object: ClimateState_COPNotRunningReason): string;
901
- /** TESLEMETRY-EXT (app-4.58.6) */
905
+ /** TESLEMETRY-EXT */
902
906
  declare enum ClimateState_DogModeState {
903
907
  DogModeStateUnavailableFault = 0,
904
908
  DogModeStateUnavailableTooHot = 1,
@@ -951,21 +955,21 @@ interface TirePressureState {
951
955
  tpmsPressureRe2L1?: number | undefined;
952
956
  tpmsPressureRe2R0?: number | undefined;
953
957
  tpmsPressureRe2R1?: number | undefined;
954
- /** TESLEMETRY-EXT (app-4.58.6) */
958
+ /** TESLEMETRY-EXT */
955
959
  tpmsLastSeenPressureTimeRe1L0: Date | undefined;
956
- /** TESLEMETRY-EXT (app-4.58.6) */
960
+ /** TESLEMETRY-EXT */
957
961
  tpmsLastSeenPressureTimeRe1L1: Date | undefined;
958
- /** TESLEMETRY-EXT (app-4.58.6) */
962
+ /** TESLEMETRY-EXT */
959
963
  tpmsLastSeenPressureTimeRe1R0: Date | undefined;
960
- /** TESLEMETRY-EXT (app-4.58.6) */
964
+ /** TESLEMETRY-EXT */
961
965
  tpmsLastSeenPressureTimeRe1R1: Date | undefined;
962
- /** TESLEMETRY-EXT (app-4.58.6) */
966
+ /** TESLEMETRY-EXT */
963
967
  tpmsLastSeenPressureTimeRe2L0: Date | undefined;
964
- /** TESLEMETRY-EXT (app-4.58.6) */
968
+ /** TESLEMETRY-EXT */
965
969
  tpmsLastSeenPressureTimeRe2L1: Date | undefined;
966
- /** TESLEMETRY-EXT (app-4.58.6) */
970
+ /** TESLEMETRY-EXT */
967
971
  tpmsLastSeenPressureTimeRe2R0: Date | undefined;
968
- /** TESLEMETRY-EXT (app-4.58.6) */
972
+ /** TESLEMETRY-EXT */
969
973
  tpmsLastSeenPressureTimeRe2R1: Date | undefined;
970
974
  tpmsHardWarningRe1L0?: boolean | undefined;
971
975
  tpmsHardWarningRe1L1?: boolean | undefined;
@@ -1051,7 +1055,7 @@ interface ShiftState {
1051
1055
  D?: Void | undefined;
1052
1056
  SNA?: Void | undefined;
1053
1057
  }
1054
- /** ===== TESLEMETRY-EXT BEGIN (app-4.58.6) ===== */
1058
+ /** ===== TESLEMETRY-EXT BEGIN ===== */
1055
1059
  interface GuiSettings {
1056
1060
  timestamp: Date | undefined;
1057
1061
  gui24HourTime?: boolean | undefined;
@@ -1267,6 +1271,7 @@ interface ParkedAccessoryState {
1267
1271
  }
1268
1272
  interface SohState {
1269
1273
  sohTestState: SohState_SohTestState | undefined;
1274
+ sohTestEndMode: SohState_SohTestEndMode | undefined;
1270
1275
  sohResult: SohState_SohResult | undefined;
1271
1276
  timestamp: Date | undefined;
1272
1277
  }
@@ -1279,7 +1284,10 @@ declare enum SohState_WarrantyServiceResult {
1279
1284
  }
1280
1285
  declare function sohState_WarrantyServiceResultFromJSON(object: any): SohState_WarrantyServiceResult;
1281
1286
  declare function sohState_WarrantyServiceResultToJSON(object: SohState_WarrantyServiceResult): string;
1287
+ interface SohState_SohTestPhase {}
1288
+ interface SohState_SohTestEndMode {}
1282
1289
  interface SohState_SohTestState {
1290
+ sohTestPhase: SohState_SohTestPhase | undefined;
1283
1291
  sohTimeEstimate?: number | undefined;
1284
1292
  sohTimeRemaining?: number | undefined;
1285
1293
  }
@@ -1321,6 +1329,7 @@ interface VehicleImageData {
1321
1329
  interface VehicleImage {
1322
1330
  imageId: Uint8Array;
1323
1331
  assetData: VehicleImageData | undefined;
1332
+ imageType: VehicleImageStateType;
1324
1333
  isLocalImage: boolean;
1325
1334
  totalImageSize: number;
1326
1335
  }
@@ -1329,11 +1338,13 @@ interface VehicleImageState {
1329
1338
  timestamp: Date | undefined;
1330
1339
  }
1331
1340
  interface SuspensionState {
1341
+ allowedLevels: SuspensionLevelObj[];
1332
1342
  currentLevel?: SuspensionLevel | undefined;
1333
1343
  targetLevel?: SuspensionLevel | undefined;
1334
1344
  movementState?: SuspensionActuationState | undefined;
1335
1345
  offroadOn?: boolean | undefined;
1336
1346
  disabledReason?: string | undefined;
1347
+ levelOptions: SuspensionLevelObj[];
1337
1348
  timestamp: Date | undefined;
1338
1349
  }
1339
1350
  interface ChildPresenceDetectionState {
@@ -1401,6 +1412,8 @@ declare const VehicleConfig_InteriorTrimType: MessageFns<VehicleConfig_InteriorT
1401
1412
  declare const VehicleConfig_ExteriorTrimType: MessageFns<VehicleConfig_ExteriorTrimType>;
1402
1413
  declare const ParkedAccessoryState: MessageFns<ParkedAccessoryState>;
1403
1414
  declare const SohState: MessageFns<SohState>;
1415
+ declare const SohState_SohTestPhase: MessageFns<SohState_SohTestPhase>;
1416
+ declare const SohState_SohTestEndMode: MessageFns<SohState_SohTestEndMode>;
1404
1417
  declare const SohState_SohTestState: MessageFns<SohState_SohTestState>;
1405
1418
  declare const SohState_SohResult: MessageFns<SohState_SohResult>;
1406
1419
  declare const AlertState: MessageFns<AlertState>;
@@ -1426,4 +1439,4 @@ interface MessageFns<T> {
1426
1439
  fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
1427
1440
  }
1428
1441
  //#endregion
1429
- export { AlertState, AutopilotBase, AutopilotOverrideState, ChargeOnSolarState, ChargeOnSolarStateChargingOnAnything, ChargeOnSolarStateChargingOnExcessSolar, ChargeOnSolarStateError, ChargeOnSolarStateNoChargeRecommended, ChargeOnSolarStateNotAllowed, ChargeOnSolarStateUserDisabled, ChargeOnSolarStateUserStopped, ChargeOnSolarStateWaitingForServer, ChargeScheduleState, ChargeState, ChargeState_CableType, ChargeState_ChargeLimitReason, ChargeState_ChargePortColorE, ChargeState_ChargerBrand, ChargeState_ChargerType, ChargeState_ChargingState, ChargeState_OutletState, ChargeState_PowerFeedState, ChargeState_PowershareStatus, ChargeState_PowershareStopReason, ChargeState_PowershareType, ChargeState_ScheduledChargingMode, ChildPresenceDetectionState, ClimateState, ClimateState_COPNotRunningReason, ClimateState_CabinOverheatProtectionE, ClimateState_ClimateKeeperMode, ClimateState_CopActivationTemp, ClimateState_DefrostMode, ClimateState_DogModeState, ClimateState_HvacAutoRequest, ClimateState_SeatCoolingLevelE, ClimateState_SeatHeaterLevelE, ClosuresState, ClosuresState_DisplayState, ClosuresState_SentryModeState, ClosuresState_SunRoofState, DashCamState, DeepPartial, DriveState, DriveState_FsdLast7DaysUsage, DriveState_FsdMonthlyMileage, Exact, GuiSettings, GuiSettings_TirePressureUnit, LegacyMediaInfo, LegacyMediaState, LightShowOption, LightShowSettings, LightShowState, LocationState, LocationState_GPSCoordinateType, ManagedChargingState, MediaDetailState, MediaSourceType, MediaState, MessageFns, ParentalControlsSettings, ParentalControlsState, ParkedAccessoryState, PreconditioningScheduleState, ShiftState, SoftwareUpdateState, SoftwareUpdateState_SoftwareUpdateStatus, SohState, SohState_SohResult, SohState_SohTestState, SohState_WarrantyServiceResult, SpeedLimitMode, SuspensionState, TheaterSource, TirePressureState, VehicleConfig, VehicleConfig_AuxParkLampsE, VehicleConfig_BadgingMaterialType, VehicleConfig_BedLightingType, VehicleConfig_DrivetrainType, VehicleConfig_ExteriorTrimType, VehicleConfig_FrontFasciaCameraType, VehicleConfig_HeadlampTypeE, VehicleConfig_InteriorTrimType, VehicleConfig_InteriorUpperTrimType, VehicleConfig_RearLightHardwareVariant, VehicleConfig_RearLightType, VehicleConfig_SeatTrimType, VehicleConfig_TurnIndicatorControlType, VehicleData, VehicleDetailState, VehicleImage, VehicleImageData, VehicleImageState, VehicleImageStateType, VehicleState, VehicleState_GuestMode, autopilotBaseFromJSON, autopilotBaseToJSON, autopilotOverrideStateFromJSON, autopilotOverrideStateToJSON, chargeState_ChargeLimitReasonFromJSON, chargeState_ChargeLimitReasonToJSON, chargeState_ChargePortColorEFromJSON, chargeState_ChargePortColorEToJSON, chargeState_OutletStateFromJSON, chargeState_OutletStateToJSON, chargeState_PowerFeedStateFromJSON, chargeState_PowerFeedStateToJSON, chargeState_PowershareStatusFromJSON, chargeState_PowershareStatusToJSON, chargeState_PowershareStopReasonFromJSON, chargeState_PowershareStopReasonToJSON, chargeState_PowershareTypeFromJSON, chargeState_PowershareTypeToJSON, chargeState_ScheduledChargingModeFromJSON, chargeState_ScheduledChargingModeToJSON, climateState_COPNotRunningReasonFromJSON, climateState_COPNotRunningReasonToJSON, climateState_CabinOverheatProtectionEFromJSON, climateState_CabinOverheatProtectionEToJSON, climateState_CopActivationTempFromJSON, climateState_CopActivationTempToJSON, climateState_DogModeStateFromJSON, climateState_DogModeStateToJSON, climateState_HvacAutoRequestFromJSON, climateState_HvacAutoRequestToJSON, climateState_SeatCoolingLevelEFromJSON, climateState_SeatCoolingLevelEToJSON, climateState_SeatHeaterLevelEFromJSON, climateState_SeatHeaterLevelEToJSON, dashCamStateFromJSON, dashCamStateToJSON, guiSettings_TirePressureUnitFromJSON, guiSettings_TirePressureUnitToJSON, mediaSourceTypeFromJSON, mediaSourceTypeToJSON, protobufPackage, sohState_WarrantyServiceResultFromJSON, sohState_WarrantyServiceResultToJSON, theaterSourceFromJSON, theaterSourceToJSON, vehicleConfig_AuxParkLampsEFromJSON, vehicleConfig_AuxParkLampsEToJSON, vehicleConfig_BadgingMaterialTypeFromJSON, vehicleConfig_BadgingMaterialTypeToJSON, vehicleConfig_BedLightingTypeFromJSON, vehicleConfig_BedLightingTypeToJSON, vehicleConfig_DrivetrainTypeFromJSON, vehicleConfig_DrivetrainTypeToJSON, vehicleConfig_FrontFasciaCameraTypeFromJSON, vehicleConfig_FrontFasciaCameraTypeToJSON, vehicleConfig_HeadlampTypeEFromJSON, vehicleConfig_HeadlampTypeEToJSON, vehicleConfig_InteriorUpperTrimTypeFromJSON, vehicleConfig_InteriorUpperTrimTypeToJSON, vehicleConfig_RearLightHardwareVariantFromJSON, vehicleConfig_RearLightHardwareVariantToJSON, vehicleConfig_RearLightTypeFromJSON, vehicleConfig_RearLightTypeToJSON, vehicleConfig_SeatTrimTypeFromJSON, vehicleConfig_SeatTrimTypeToJSON, vehicleConfig_TurnIndicatorControlTypeFromJSON, vehicleConfig_TurnIndicatorControlTypeToJSON, vehicleImageStateTypeFromJSON, vehicleImageStateTypeToJSON };
1442
+ export { AlertState, AutopilotBase, AutopilotOverrideState, ChargeOnSolarState, ChargeOnSolarStateChargingOnAnything, ChargeOnSolarStateChargingOnExcessSolar, ChargeOnSolarStateError, ChargeOnSolarStateNoChargeRecommended, ChargeOnSolarStateNotAllowed, ChargeOnSolarStateUserDisabled, ChargeOnSolarStateUserStopped, ChargeOnSolarStateWaitingForServer, ChargeScheduleState, ChargeState, ChargeState_CableType, ChargeState_ChargeLimitReason, ChargeState_ChargePortColorE, ChargeState_ChargerBrand, ChargeState_ChargerType, ChargeState_ChargingState, ChargeState_OutletState, ChargeState_PowerFeedState, ChargeState_PowershareStatus, ChargeState_PowershareStopReason, ChargeState_PowershareType, ChargeState_ScheduledChargingMode, ChildPresenceDetectionState, ClimateState, ClimateState_COPNotRunningReason, ClimateState_CabinOverheatProtectionE, ClimateState_ClimateKeeperMode, ClimateState_CopActivationTemp, ClimateState_DefrostMode, ClimateState_DogModeState, ClimateState_HvacAutoRequest, ClimateState_SeatCoolingLevelE, ClimateState_SeatHeaterLevelE, ClosuresState, ClosuresState_DisplayState, ClosuresState_SentryModeState, ClosuresState_SunRoofState, DashCamState, DeepPartial, DriveState, DriveState_FsdLast7DaysUsage, DriveState_FsdMonthlyMileage, Exact, GuiSettings, GuiSettings_TirePressureUnit, LegacyMediaInfo, LegacyMediaState, LightShowOption, LightShowSettings, LightShowState, LocationState, LocationState_GPSCoordinateType, ManagedChargingState, MediaDetailState, MediaSourceType, MediaState, MessageFns, ParentalControlsSettings, ParentalControlsState, ParkedAccessoryState, PreconditioningScheduleState, ShiftState, SoftwareUpdateState, SoftwareUpdateState_SoftwareUpdateStatus, SohState, SohState_SohResult, SohState_SohTestEndMode, SohState_SohTestPhase, SohState_SohTestState, SohState_WarrantyServiceResult, SpeedLimitMode, SuspensionState, TheaterSource, TirePressureState, VehicleConfig, VehicleConfig_AuxParkLampsE, VehicleConfig_BadgingMaterialType, VehicleConfig_BedLightingType, VehicleConfig_DrivetrainType, VehicleConfig_ExteriorTrimType, VehicleConfig_FrontFasciaCameraType, VehicleConfig_HeadlampTypeE, VehicleConfig_InteriorTrimType, VehicleConfig_InteriorUpperTrimType, VehicleConfig_RearLightHardwareVariant, VehicleConfig_RearLightType, VehicleConfig_SeatTrimType, VehicleConfig_TurnIndicatorControlType, VehicleData, VehicleDetailState, VehicleImage, VehicleImageData, VehicleImageState, VehicleImageStateType, VehicleState, VehicleState_GuestMode, autopilotBaseFromJSON, autopilotBaseToJSON, autopilotOverrideStateFromJSON, autopilotOverrideStateToJSON, chargeState_ChargeLimitReasonFromJSON, chargeState_ChargeLimitReasonToJSON, chargeState_ChargePortColorEFromJSON, chargeState_ChargePortColorEToJSON, chargeState_OutletStateFromJSON, chargeState_OutletStateToJSON, chargeState_PowerFeedStateFromJSON, chargeState_PowerFeedStateToJSON, chargeState_PowershareStatusFromJSON, chargeState_PowershareStatusToJSON, chargeState_PowershareStopReasonFromJSON, chargeState_PowershareStopReasonToJSON, chargeState_PowershareTypeFromJSON, chargeState_PowershareTypeToJSON, chargeState_ScheduledChargingModeFromJSON, chargeState_ScheduledChargingModeToJSON, climateState_COPNotRunningReasonFromJSON, climateState_COPNotRunningReasonToJSON, climateState_CabinOverheatProtectionEFromJSON, climateState_CabinOverheatProtectionEToJSON, climateState_CopActivationTempFromJSON, climateState_CopActivationTempToJSON, climateState_DogModeStateFromJSON, climateState_DogModeStateToJSON, climateState_HvacAutoRequestFromJSON, climateState_HvacAutoRequestToJSON, climateState_SeatCoolingLevelEFromJSON, climateState_SeatCoolingLevelEToJSON, climateState_SeatHeaterLevelEFromJSON, climateState_SeatHeaterLevelEToJSON, dashCamStateFromJSON, dashCamStateToJSON, guiSettings_TirePressureUnitFromJSON, guiSettings_TirePressureUnitToJSON, mediaSourceTypeFromJSON, mediaSourceTypeToJSON, protobufPackage, sohState_WarrantyServiceResultFromJSON, sohState_WarrantyServiceResultToJSON, theaterSourceFromJSON, theaterSourceToJSON, vehicleConfig_AuxParkLampsEFromJSON, vehicleConfig_AuxParkLampsEToJSON, vehicleConfig_BadgingMaterialTypeFromJSON, vehicleConfig_BadgingMaterialTypeToJSON, vehicleConfig_BedLightingTypeFromJSON, vehicleConfig_BedLightingTypeToJSON, vehicleConfig_DrivetrainTypeFromJSON, vehicleConfig_DrivetrainTypeToJSON, vehicleConfig_FrontFasciaCameraTypeFromJSON, vehicleConfig_FrontFasciaCameraTypeToJSON, vehicleConfig_HeadlampTypeEFromJSON, vehicleConfig_HeadlampTypeEToJSON, vehicleConfig_InteriorUpperTrimTypeFromJSON, vehicleConfig_InteriorUpperTrimTypeToJSON, vehicleConfig_RearLightHardwareVariantFromJSON, vehicleConfig_RearLightHardwareVariantToJSON, vehicleConfig_RearLightTypeFromJSON, vehicleConfig_RearLightTypeToJSON, vehicleConfig_SeatTrimTypeFromJSON, vehicleConfig_SeatTrimTypeToJSON, vehicleConfig_TurnIndicatorControlTypeFromJSON, vehicleConfig_TurnIndicatorControlTypeToJSON, vehicleImageStateTypeFromJSON, vehicleImageStateTypeToJSON };