@teslemetry/tesla-protocol 0.6.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.
- package/README.md +1 -3
- package/dist/command/car_server.cjs +212 -11
- package/dist/command/car_server.d.cts +121 -96
- package/dist/command/car_server.d.mts +121 -96
- package/dist/command/car_server.mjs +206 -12
- package/dist/command/common.cjs +43 -0
- package/dist/command/common.d.cts +6 -2
- package/dist/command/common.d.mts +6 -2
- package/dist/command/common.mjs +43 -1
- package/dist/command/managed_charging.d.cts +1 -1
- package/dist/command/managed_charging.d.mts +1 -1
- package/dist/command/session.d.cts +0 -4
- package/dist/command/session.d.mts +0 -4
- package/dist/command/universal_message.cjs +4 -4
- package/dist/command/universal_message.d.cts +4 -4
- package/dist/command/universal_message.d.mts +4 -4
- package/dist/command/universal_message.mjs +4 -4
- package/dist/command/vcsec.cjs +37 -37
- package/dist/command/vcsec.d.cts +41 -41
- package/dist/command/vcsec.d.mts +41 -41
- package/dist/command/vcsec.mjs +37 -37
- package/dist/command/vehicle.cjs +129 -18
- package/dist/command/vehicle.d.cts +66 -57
- package/dist/command/vehicle.d.mts +66 -57
- package/dist/command/vehicle.mjs +129 -20
- package/dist/energy_command/identifier_type.cjs +0 -5
- package/dist/energy_command/identifier_type.d.cts +0 -5
- package/dist/energy_command/identifier_type.d.mts +0 -5
- package/dist/energy_command/identifier_type.mjs +0 -5
- package/dist/energy_device/authorization_api.d.cts +0 -5
- package/dist/energy_device/authorization_api.d.mts +0 -5
- package/dist/energy_device/authorization_types.cjs +0 -5
- package/dist/energy_device/authorization_types.d.cts +0 -5
- package/dist/energy_device/authorization_types.d.mts +0 -5
- package/dist/energy_device/authorization_types.mjs +0 -5
- package/dist/energy_device/common_api.d.cts +0 -5
- package/dist/energy_device/common_api.d.mts +0 -5
- package/dist/energy_device/device.cjs +0 -5
- package/dist/energy_device/device.d.cts +0 -5
- package/dist/energy_device/device.d.mts +0 -5
- package/dist/energy_device/device.mjs +0 -5
- package/dist/energy_device/energy.cjs +0 -5
- package/dist/energy_device/energy.d.cts +0 -5
- package/dist/energy_device/energy.d.mts +0 -5
- package/dist/energy_device/energy.mjs +0 -5
- package/dist/energy_device/energy_site_net.cjs +0 -5
- package/dist/energy_device/energy_site_net.d.cts +0 -5
- package/dist/energy_device/energy_site_net.d.mts +0 -5
- package/dist/energy_device/energy_site_net.mjs +0 -5
- package/dist/energy_device/error.d.cts +0 -5
- package/dist/energy_device/error.d.mts +0 -5
- package/dist/energy_device/filestore_api.cjs +0 -5
- package/dist/energy_device/filestore_api.d.cts +0 -5
- package/dist/energy_device/filestore_api.d.mts +0 -5
- package/dist/energy_device/filestore_api.mjs +0 -5
- package/dist/energy_device/graphql_api.cjs +0 -5
- package/dist/energy_device/graphql_api.d.cts +0 -5
- package/dist/energy_device/graphql_api.d.mts +0 -5
- package/dist/energy_device/graphql_api.mjs +0 -5
- package/dist/energy_device/intra_site_api.cjs +0 -5
- package/dist/energy_device/intra_site_api.d.cts +0 -5
- package/dist/energy_device/intra_site_api.d.mts +0 -5
- package/dist/energy_device/intra_site_api.mjs +0 -5
- package/dist/energy_device/local_auth_api.cjs +0 -5
- package/dist/energy_device/local_auth_api.d.cts +0 -5
- package/dist/energy_device/local_auth_api.d.mts +0 -5
- package/dist/energy_device/local_auth_api.mjs +0 -5
- package/dist/energy_device/networking.cjs +0 -5
- package/dist/energy_device/networking.d.cts +0 -5
- package/dist/energy_device/networking.d.mts +0 -5
- package/dist/energy_device/networking.mjs +0 -5
- package/dist/energy_device/neurio_meter_api.cjs +0 -5
- package/dist/energy_device/neurio_meter_api.d.cts +0 -5
- package/dist/energy_device/neurio_meter_api.d.mts +0 -5
- package/dist/energy_device/neurio_meter_api.mjs +0 -5
- package/dist/energy_device/pvi_api.cjs +0 -5
- package/dist/energy_device/pvi_api.d.cts +0 -5
- package/dist/energy_device/pvi_api.d.mts +0 -5
- package/dist/energy_device/pvi_api.mjs +0 -5
- package/dist/energy_device/teg_api.cjs +0 -5
- package/dist/energy_device/teg_api.d.cts +0 -5
- package/dist/energy_device/teg_api.d.mts +0 -5
- package/dist/energy_device/teg_api.mjs +0 -5
- package/dist/energy_device/transport.cjs +0 -5
- package/dist/energy_device/transport.d.cts +0 -5
- package/dist/energy_device/transport.d.mts +0 -5
- package/dist/energy_device/transport.mjs +0 -5
- package/dist/energy_device/update.cjs +0 -5
- package/dist/energy_device/update.d.cts +0 -5
- package/dist/energy_device/update.d.mts +0 -5
- package/dist/energy_device/update.mjs +0 -5
- package/dist/energy_device/wall_connector.cjs +0 -5
- package/dist/energy_device/wall_connector.d.cts +0 -5
- package/dist/energy_device/wall_connector.d.mts +0 -5
- package/dist/energy_device/wall_connector.mjs +0 -5
- package/dist/telemetry/vehicle_data.cjs +1 -1
- package/dist/telemetry/vehicle_data.d.cts +1 -1
- package/dist/telemetry/vehicle_data.d.mts +1 -1
- package/dist/telemetry/vehicle_data.mjs +1 -1
- 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.cjs";
|
|
1
|
+
import { AccessoryLightbarType, ChargePortLatchState, ChargeSchedule, ChargingAlert, ChassisType, FasciaType, GtwDiagLevel, LatLong, MediaPlaybackStatus, OffPeakChargingTimes, PreconditionSchedule, PreconditioningTimes, RearSeatHeaterType, StwHeatLevel, SuspensionActuationState, SuspensionLevel, SuspensionLevelObj, Void, ZoneLightRequest } from "./common.cjs";
|
|
2
2
|
import { ClosureStateE } from "./vcsec.cjs";
|
|
3
3
|
import { ChargeOnSolarNoChargeReason } from "./managed_charging.cjs";
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
114
|
+
/** MediaSourceType_ApplePodcasts - TESLEMETRY-EXT */
|
|
115
115
|
MediaSourceType_ApplePodcasts = 36,
|
|
116
|
-
/** MediaSourceType_Audible - TESLEMETRY-EXT
|
|
116
|
+
/** MediaSourceType_Audible - TESLEMETRY-EXT */
|
|
117
117
|
MediaSourceType_Audible = 37,
|
|
118
|
-
/** MediaSourceType_AmazonMusic - TESLEMETRY-EXT
|
|
118
|
+
/** MediaSourceType_AmazonMusic - TESLEMETRY-EXT */
|
|
119
119
|
MediaSourceType_AmazonMusic = 38,
|
|
120
|
-
/** MediaSourceType_YouTubeMusic - TESLEMETRY-EXT
|
|
120
|
+
/** MediaSourceType_YouTubeMusic - TESLEMETRY-EXT */
|
|
121
121
|
MediaSourceType_YouTubeMusic = 39,
|
|
122
|
-
/** MediaSourceType_SiriusXmWeb - TESLEMETRY-EXT
|
|
122
|
+
/** MediaSourceType_SiriusXmWeb - TESLEMETRY-EXT */
|
|
123
123
|
MediaSourceType_SiriusXmWeb = 40,
|
|
124
|
-
/** MediaSourceType_Yunting - TESLEMETRY-EXT
|
|
124
|
+
/** MediaSourceType_Yunting - TESLEMETRY-EXT */
|
|
125
125
|
MediaSourceType_Yunting = 41,
|
|
126
|
-
/** MediaSourceType_TuneInWeb - TESLEMETRY-EXT
|
|
126
|
+
/** MediaSourceType_TuneInWeb - TESLEMETRY-EXT */
|
|
127
127
|
MediaSourceType_TuneInWeb = 42,
|
|
128
|
-
/** MediaSourceType_Kugou - TESLEMETRY-EXT
|
|
128
|
+
/** MediaSourceType_Kugou - TESLEMETRY-EXT */
|
|
129
129
|
MediaSourceType_Kugou = 43,
|
|
130
|
-
/** MediaSourceType_Vohico - TESLEMETRY-EXT
|
|
130
|
+
/** MediaSourceType_Vohico - TESLEMETRY-EXT */
|
|
131
131
|
MediaSourceType_Vohico = 44,
|
|
132
132
|
UNRECOGNIZED = -1
|
|
133
133
|
}
|
|
@@ -142,43 +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
|
|
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
|
|
150
|
+
/** VehicleState carries the legacy vehicle-state surface // TESLEMETRY-EXT */
|
|
151
151
|
legacyVehicleState: VehicleState | undefined;
|
|
152
|
-
/** TESLEMETRY-EXT
|
|
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
|
|
158
|
+
/** TESLEMETRY-EXT */
|
|
159
159
|
parkedAccessoryState: ParkedAccessoryState | undefined;
|
|
160
160
|
chargeScheduleState: ChargeScheduleState | undefined;
|
|
161
161
|
preconditioningScheduleState: PreconditioningScheduleState | undefined;
|
|
162
|
-
/** TESLEMETRY-EXT
|
|
162
|
+
/** TESLEMETRY-EXT */
|
|
163
163
|
sohState: SohState | undefined;
|
|
164
164
|
/** opaque, undecoded payload observed on live vehicleDataSubscription pushes // TESLEMETRY-EXT */
|
|
165
165
|
unknown: Uint8Array;
|
|
166
166
|
tirePressureState: TirePressureState | undefined;
|
|
167
167
|
mediaState: MediaState | undefined;
|
|
168
168
|
mediaDetailState: MediaDetailState | undefined;
|
|
169
|
-
/** TESLEMETRY-EXT
|
|
169
|
+
/** TESLEMETRY-EXT */
|
|
170
170
|
vehicleDetailState: VehicleDetailState | undefined;
|
|
171
171
|
softwareUpdateState: SoftwareUpdateState | undefined;
|
|
172
172
|
parentalControlsState: ParentalControlsState | undefined;
|
|
173
|
-
/** TESLEMETRY-EXT
|
|
173
|
+
/** TESLEMETRY-EXT */
|
|
174
174
|
alertState: AlertState | undefined;
|
|
175
|
-
/** TESLEMETRY-EXT
|
|
175
|
+
/** TESLEMETRY-EXT */
|
|
176
176
|
lightShowState: LightShowState | undefined;
|
|
177
|
-
/** TESLEMETRY-EXT
|
|
177
|
+
/** TESLEMETRY-EXT */
|
|
178
178
|
vehicleImageState: VehicleImageState | undefined;
|
|
179
|
-
/** TESLEMETRY-EXT
|
|
179
|
+
/** TESLEMETRY-EXT */
|
|
180
180
|
suspensionState: SuspensionState | undefined;
|
|
181
|
-
/** TESLEMETRY-EXT
|
|
181
|
+
/** TESLEMETRY-EXT */
|
|
182
182
|
childPresenceDetectionState: ChildPresenceDetectionState | undefined;
|
|
183
183
|
supportsOptionalFields?: boolean | undefined;
|
|
184
184
|
}
|
|
@@ -326,21 +326,21 @@ interface DriveState {
|
|
|
326
326
|
fsdUserMilesHandsFreeCurrent?: number | undefined;
|
|
327
327
|
fsdUserMilesHandsFreeMax?: number | undefined;
|
|
328
328
|
fsdTotalMilesThisMonth?: number | undefined;
|
|
329
|
-
/** TESLEMETRY-EXT
|
|
329
|
+
/** TESLEMETRY-EXT */
|
|
330
330
|
fsdMonthlyHistory: DriveState_FsdMonthlyMileage[];
|
|
331
331
|
fsdStreakDays?: number | undefined;
|
|
332
|
-
/** TESLEMETRY-EXT
|
|
332
|
+
/** TESLEMETRY-EXT */
|
|
333
333
|
fsdLast7DaysUsage: DriveState_FsdLast7DaysUsage | undefined;
|
|
334
334
|
rainbowRoadEnabled?: boolean | undefined;
|
|
335
335
|
fsdActive?: boolean | undefined;
|
|
336
336
|
}
|
|
337
|
-
/** TESLEMETRY-EXT
|
|
337
|
+
/** TESLEMETRY-EXT */
|
|
338
338
|
interface DriveState_FsdMonthlyMileage {
|
|
339
339
|
yearMonth: string;
|
|
340
340
|
fsdMiles: number;
|
|
341
341
|
totalMiles: number;
|
|
342
342
|
}
|
|
343
|
-
/** TESLEMETRY-EXT
|
|
343
|
+
/** TESLEMETRY-EXT */
|
|
344
344
|
interface DriveState_FsdLast7DaysUsage {
|
|
345
345
|
weekStartsOnSunday: boolean;
|
|
346
346
|
/** one entry per day, most recent first */
|
|
@@ -432,7 +432,7 @@ interface ChargeState {
|
|
|
432
432
|
isRoaming?: boolean | undefined;
|
|
433
433
|
paidSessionLocationGuid?: string | undefined;
|
|
434
434
|
paidSessionPricebookGuid?: string | undefined;
|
|
435
|
-
/** TESLEMETRY-EXT
|
|
435
|
+
/** TESLEMETRY-EXT */
|
|
436
436
|
paidSessionStartTime: Date | undefined;
|
|
437
437
|
lowPowerMode?: boolean | undefined;
|
|
438
438
|
lowPowerModeForcedOn?: boolean | undefined;
|
|
@@ -471,7 +471,7 @@ declare enum ChargeState_ChargeLimitReason {
|
|
|
471
471
|
ChargeLimitReasonBattTempLow = 3,
|
|
472
472
|
ChargeLimitReasonHighSoc = 4,
|
|
473
473
|
ChargeLimitReasonCabin = 5,
|
|
474
|
-
/** ChargeLimitReasonEvseRelocationRecommended - TESLEMETRY-EXT
|
|
474
|
+
/** ChargeLimitReasonEvseRelocationRecommended - TESLEMETRY-EXT */
|
|
475
475
|
ChargeLimitReasonEvseRelocationRecommended = 6,
|
|
476
476
|
UNRECOGNIZED = -1
|
|
477
477
|
}
|
|
@@ -514,7 +514,7 @@ declare enum ChargeState_PowershareType {
|
|
|
514
514
|
PowershareTypeNone = 0,
|
|
515
515
|
PowershareTypeLoad = 1,
|
|
516
516
|
PowershareTypeHome = 2,
|
|
517
|
-
/** PowershareTypeGrid - TESLEMETRY-EXT
|
|
517
|
+
/** PowershareTypeGrid - TESLEMETRY-EXT */
|
|
518
518
|
PowershareTypeGrid = 3,
|
|
519
519
|
UNRECOGNIZED = -1
|
|
520
520
|
}
|
|
@@ -528,9 +528,9 @@ declare enum ChargeState_PowershareStopReason {
|
|
|
528
528
|
PowershareStopReasonUser = 4,
|
|
529
529
|
PowershareStopReasonReconnecting = 5,
|
|
530
530
|
PowershareStopReasonAuthentication = 6,
|
|
531
|
-
/** PowershareStopReasonAdapterUpdating - TESLEMETRY-EXT
|
|
531
|
+
/** PowershareStopReasonAdapterUpdating - TESLEMETRY-EXT */
|
|
532
532
|
PowershareStopReasonAdapterUpdating = 7,
|
|
533
|
-
/** PowershareStopReasonAdapterInitializationFailed - TESLEMETRY-EXT
|
|
533
|
+
/** PowershareStopReasonAdapterInitializationFailed - TESLEMETRY-EXT */
|
|
534
534
|
PowershareStopReasonAdapterInitializationFailed = 8,
|
|
535
535
|
UNRECOGNIZED = -1
|
|
536
536
|
}
|
|
@@ -686,25 +686,25 @@ interface LocationState_GPSCoordinateType {
|
|
|
686
686
|
WGS?: Void | undefined;
|
|
687
687
|
}
|
|
688
688
|
interface VehicleState {
|
|
689
|
-
/** TESLEMETRY-EXT
|
|
689
|
+
/** TESLEMETRY-EXT */
|
|
690
690
|
softwareUpdateState: SoftwareUpdateState | undefined;
|
|
691
|
-
/** TESLEMETRY-EXT
|
|
691
|
+
/** TESLEMETRY-EXT */
|
|
692
692
|
legacyMediaState: LegacyMediaState | undefined;
|
|
693
|
-
/** TESLEMETRY-EXT
|
|
693
|
+
/** TESLEMETRY-EXT */
|
|
694
694
|
timestamp: Date | undefined;
|
|
695
|
-
/** TESLEMETRY-EXT
|
|
695
|
+
/** TESLEMETRY-EXT */
|
|
696
696
|
featureBitmask: number[];
|
|
697
|
-
/** TESLEMETRY-EXT
|
|
697
|
+
/** TESLEMETRY-EXT */
|
|
698
698
|
tpmsLastSeenPressureTimeFl: Date | undefined;
|
|
699
|
-
/** TESLEMETRY-EXT
|
|
699
|
+
/** TESLEMETRY-EXT */
|
|
700
700
|
tpmsLastSeenPressureTimeFr: Date | undefined;
|
|
701
|
-
/** TESLEMETRY-EXT
|
|
701
|
+
/** TESLEMETRY-EXT */
|
|
702
702
|
tpmsLastSeenPressureTimeRl: Date | undefined;
|
|
703
|
-
/** TESLEMETRY-EXT
|
|
703
|
+
/** TESLEMETRY-EXT */
|
|
704
704
|
tpmsLastSeenPressureTimeRr: Date | undefined;
|
|
705
705
|
deckLightsOn?: boolean | undefined;
|
|
706
706
|
hazardsOn?: boolean | undefined;
|
|
707
|
-
/** TESLEMETRY-EXT
|
|
707
|
+
/** TESLEMETRY-EXT */
|
|
708
708
|
legacyMediaInfo: LegacyMediaInfo | undefined;
|
|
709
709
|
allowAuthorizedMobileDevicesOnly?: boolean | undefined;
|
|
710
710
|
guestMode: VehicleState_GuestMode | undefined;
|
|
@@ -732,7 +732,7 @@ interface VehicleState {
|
|
|
732
732
|
gtwDiagLevel?: GtwDiagLevel | undefined;
|
|
733
733
|
parentalControlsActive?: boolean | undefined;
|
|
734
734
|
parentalControlsPinSet?: boolean | undefined;
|
|
735
|
-
/** TESLEMETRY-EXT
|
|
735
|
+
/** TESLEMETRY-EXT */
|
|
736
736
|
parentalControlsSettings: ParentalControlsSettings | undefined;
|
|
737
737
|
apiVersion?: number | undefined;
|
|
738
738
|
carVersion?: string | undefined;
|
|
@@ -770,9 +770,9 @@ interface VehicleState {
|
|
|
770
770
|
tpmsRcpFrontValue?: number | undefined;
|
|
771
771
|
tpmsRcpRearValue?: number | undefined;
|
|
772
772
|
fsdSoftwareVersion?: string | undefined;
|
|
773
|
-
/** TESLEMETRY-EXT
|
|
773
|
+
/** TESLEMETRY-EXT */
|
|
774
774
|
autopilotBase: AutopilotBase;
|
|
775
|
-
/** TESLEMETRY-EXT
|
|
775
|
+
/** TESLEMETRY-EXT */
|
|
776
776
|
autopilotOverrideState: AutopilotOverrideState;
|
|
777
777
|
autopilotOverrideExpireTime?: number | undefined;
|
|
778
778
|
}
|
|
@@ -902,7 +902,7 @@ declare enum ClimateState_COPNotRunningReason {
|
|
|
902
902
|
}
|
|
903
903
|
declare function climateState_COPNotRunningReasonFromJSON(object: any): ClimateState_COPNotRunningReason;
|
|
904
904
|
declare function climateState_COPNotRunningReasonToJSON(object: ClimateState_COPNotRunningReason): string;
|
|
905
|
-
/** TESLEMETRY-EXT
|
|
905
|
+
/** TESLEMETRY-EXT */
|
|
906
906
|
declare enum ClimateState_DogModeState {
|
|
907
907
|
DogModeStateUnavailableFault = 0,
|
|
908
908
|
DogModeStateUnavailableTooHot = 1,
|
|
@@ -955,21 +955,21 @@ interface TirePressureState {
|
|
|
955
955
|
tpmsPressureRe2L1?: number | undefined;
|
|
956
956
|
tpmsPressureRe2R0?: number | undefined;
|
|
957
957
|
tpmsPressureRe2R1?: number | undefined;
|
|
958
|
-
/** TESLEMETRY-EXT
|
|
958
|
+
/** TESLEMETRY-EXT */
|
|
959
959
|
tpmsLastSeenPressureTimeRe1L0: Date | undefined;
|
|
960
|
-
/** TESLEMETRY-EXT
|
|
960
|
+
/** TESLEMETRY-EXT */
|
|
961
961
|
tpmsLastSeenPressureTimeRe1L1: Date | undefined;
|
|
962
|
-
/** TESLEMETRY-EXT
|
|
962
|
+
/** TESLEMETRY-EXT */
|
|
963
963
|
tpmsLastSeenPressureTimeRe1R0: Date | undefined;
|
|
964
|
-
/** TESLEMETRY-EXT
|
|
964
|
+
/** TESLEMETRY-EXT */
|
|
965
965
|
tpmsLastSeenPressureTimeRe1R1: Date | undefined;
|
|
966
|
-
/** TESLEMETRY-EXT
|
|
966
|
+
/** TESLEMETRY-EXT */
|
|
967
967
|
tpmsLastSeenPressureTimeRe2L0: Date | undefined;
|
|
968
|
-
/** TESLEMETRY-EXT
|
|
968
|
+
/** TESLEMETRY-EXT */
|
|
969
969
|
tpmsLastSeenPressureTimeRe2L1: Date | undefined;
|
|
970
|
-
/** TESLEMETRY-EXT
|
|
970
|
+
/** TESLEMETRY-EXT */
|
|
971
971
|
tpmsLastSeenPressureTimeRe2R0: Date | undefined;
|
|
972
|
-
/** TESLEMETRY-EXT
|
|
972
|
+
/** TESLEMETRY-EXT */
|
|
973
973
|
tpmsLastSeenPressureTimeRe2R1: Date | undefined;
|
|
974
974
|
tpmsHardWarningRe1L0?: boolean | undefined;
|
|
975
975
|
tpmsHardWarningRe1L1?: boolean | undefined;
|
|
@@ -1055,7 +1055,7 @@ interface ShiftState {
|
|
|
1055
1055
|
D?: Void | undefined;
|
|
1056
1056
|
SNA?: Void | undefined;
|
|
1057
1057
|
}
|
|
1058
|
-
/** ===== TESLEMETRY-EXT BEGIN
|
|
1058
|
+
/** ===== TESLEMETRY-EXT BEGIN ===== */
|
|
1059
1059
|
interface GuiSettings {
|
|
1060
1060
|
timestamp: Date | undefined;
|
|
1061
1061
|
gui24HourTime?: boolean | undefined;
|
|
@@ -1271,6 +1271,7 @@ interface ParkedAccessoryState {
|
|
|
1271
1271
|
}
|
|
1272
1272
|
interface SohState {
|
|
1273
1273
|
sohTestState: SohState_SohTestState | undefined;
|
|
1274
|
+
sohTestEndMode: SohState_SohTestEndMode | undefined;
|
|
1274
1275
|
sohResult: SohState_SohResult | undefined;
|
|
1275
1276
|
timestamp: Date | undefined;
|
|
1276
1277
|
}
|
|
@@ -1283,7 +1284,10 @@ declare enum SohState_WarrantyServiceResult {
|
|
|
1283
1284
|
}
|
|
1284
1285
|
declare function sohState_WarrantyServiceResultFromJSON(object: any): SohState_WarrantyServiceResult;
|
|
1285
1286
|
declare function sohState_WarrantyServiceResultToJSON(object: SohState_WarrantyServiceResult): string;
|
|
1287
|
+
interface SohState_SohTestPhase {}
|
|
1288
|
+
interface SohState_SohTestEndMode {}
|
|
1286
1289
|
interface SohState_SohTestState {
|
|
1290
|
+
sohTestPhase: SohState_SohTestPhase | undefined;
|
|
1287
1291
|
sohTimeEstimate?: number | undefined;
|
|
1288
1292
|
sohTimeRemaining?: number | undefined;
|
|
1289
1293
|
}
|
|
@@ -1325,6 +1329,7 @@ interface VehicleImageData {
|
|
|
1325
1329
|
interface VehicleImage {
|
|
1326
1330
|
imageId: Uint8Array;
|
|
1327
1331
|
assetData: VehicleImageData | undefined;
|
|
1332
|
+
imageType: VehicleImageStateType;
|
|
1328
1333
|
isLocalImage: boolean;
|
|
1329
1334
|
totalImageSize: number;
|
|
1330
1335
|
}
|
|
@@ -1333,11 +1338,13 @@ interface VehicleImageState {
|
|
|
1333
1338
|
timestamp: Date | undefined;
|
|
1334
1339
|
}
|
|
1335
1340
|
interface SuspensionState {
|
|
1341
|
+
allowedLevels: SuspensionLevelObj[];
|
|
1336
1342
|
currentLevel?: SuspensionLevel | undefined;
|
|
1337
1343
|
targetLevel?: SuspensionLevel | undefined;
|
|
1338
1344
|
movementState?: SuspensionActuationState | undefined;
|
|
1339
1345
|
offroadOn?: boolean | undefined;
|
|
1340
1346
|
disabledReason?: string | undefined;
|
|
1347
|
+
levelOptions: SuspensionLevelObj[];
|
|
1341
1348
|
timestamp: Date | undefined;
|
|
1342
1349
|
}
|
|
1343
1350
|
interface ChildPresenceDetectionState {
|
|
@@ -1405,6 +1412,8 @@ declare const VehicleConfig_InteriorTrimType: MessageFns<VehicleConfig_InteriorT
|
|
|
1405
1412
|
declare const VehicleConfig_ExteriorTrimType: MessageFns<VehicleConfig_ExteriorTrimType>;
|
|
1406
1413
|
declare const ParkedAccessoryState: MessageFns<ParkedAccessoryState>;
|
|
1407
1414
|
declare const SohState: MessageFns<SohState>;
|
|
1415
|
+
declare const SohState_SohTestPhase: MessageFns<SohState_SohTestPhase>;
|
|
1416
|
+
declare const SohState_SohTestEndMode: MessageFns<SohState_SohTestEndMode>;
|
|
1408
1417
|
declare const SohState_SohTestState: MessageFns<SohState_SohTestState>;
|
|
1409
1418
|
declare const SohState_SohResult: MessageFns<SohState_SohResult>;
|
|
1410
1419
|
declare const AlertState: MessageFns<AlertState>;
|
|
@@ -1430,4 +1439,4 @@ interface MessageFns<T> {
|
|
|
1430
1439
|
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
1431
1440
|
}
|
|
1432
1441
|
//#endregion
|
|
1433
|
-
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 };
|