@teslemetry/tesla-protocol 1.1.0 → 1.2.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/dist/command/car_server.cjs +751 -6
- package/dist/command/car_server.d.cts +104 -2
- package/dist/command/car_server.d.mts +104 -2
- package/dist/command/car_server.mjs +735 -8
- package/dist/command/vcsec.cjs +5 -0
- package/dist/command/vcsec.d.cts +2 -0
- package/dist/command/vcsec.d.mts +2 -0
- package/dist/command/vcsec.mjs +5 -0
- package/dist/command/vehicle.cjs +119 -4
- package/dist/command/vehicle.d.cts +16 -1
- package/dist/command/vehicle.d.mts +16 -1
- package/dist/command/vehicle.mjs +119 -5
- package/dist/telemetry/vehicle_data.cjs +41 -0
- package/dist/telemetry/vehicle_data.d.cts +11 -0
- package/dist/telemetry/vehicle_data.d.mts +11 -0
- package/dist/telemetry/vehicle_data.mjs +41 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { ChargeSchedule, LatLong, OffPeakChargingTimes, PreconditionSchedule, Pr
|
|
|
2
2
|
import { Role } from "./keys.cjs";
|
|
3
3
|
import { SessionInfo } from "./signatures.cjs";
|
|
4
4
|
import { KeyFormFactor } from "./vcsec.cjs";
|
|
5
|
-
import { ClimateState_CopActivationTemp, VehicleData, VehicleImageStateType, VehicleState_GuestMode } from "./vehicle.cjs";
|
|
5
|
+
import { ClimateState_CopActivationTemp, ClimateState_DogModeState, VehicleData, VehicleImageStateType, VehicleState_GuestMode } from "./vehicle.cjs";
|
|
6
6
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
7
7
|
//#region src/command/car_server.d.ts
|
|
8
8
|
declare const protobufPackage = "CarServer";
|
|
@@ -260,6 +260,8 @@ interface GetVehicleData {
|
|
|
260
260
|
getSuspensionState: GetSuspensionState | undefined;
|
|
261
261
|
/** TESLEMETRY-EXT */
|
|
262
262
|
getChildPresenceDetectionState: GetChildPresenceDetectionState | undefined;
|
|
263
|
+
/** TESLEMETRY-EXT */
|
|
264
|
+
getDisplayState: GetDisplayState | undefined;
|
|
263
265
|
}
|
|
264
266
|
/** ===== TESLEMETRY-EXT BEGIN ===== */
|
|
265
267
|
interface GetGuiSettings {}
|
|
@@ -276,6 +278,7 @@ interface GetVehicleImageState {
|
|
|
276
278
|
}
|
|
277
279
|
interface GetSuspensionState {}
|
|
278
280
|
interface GetChildPresenceDetectionState {}
|
|
281
|
+
interface GetDisplayState {}
|
|
279
282
|
interface VehicleImageDataChunkRequest {
|
|
280
283
|
chunkOffset: number;
|
|
281
284
|
chunkSize: number;
|
|
@@ -292,6 +295,84 @@ declare enum VehicleImageRequest_Type {
|
|
|
292
295
|
}
|
|
293
296
|
declare function vehicleImageRequest_TypeFromJSON(object: any): VehicleImageRequest_Type;
|
|
294
297
|
declare function vehicleImageRequest_TypeToJSON(object: VehicleImageRequest_Type): string;
|
|
298
|
+
interface MobileImageUploadParams {
|
|
299
|
+
imageType: VehicleImageStateType;
|
|
300
|
+
widthPx: number;
|
|
301
|
+
heightPx: number;
|
|
302
|
+
mimeType: string;
|
|
303
|
+
}
|
|
304
|
+
interface MobileUploadParams {
|
|
305
|
+
totalSize: number;
|
|
306
|
+
contentSha256: Uint8Array;
|
|
307
|
+
}
|
|
308
|
+
interface PrepareMobileUploadAction {
|
|
309
|
+
uploadParams: MobileUploadParams | undefined;
|
|
310
|
+
imageParams: MobileImageUploadParams | undefined;
|
|
311
|
+
/** Tag 3 carries an additional bool flag not modeled here. */
|
|
312
|
+
overwriteOldestIfFull: boolean;
|
|
313
|
+
}
|
|
314
|
+
interface PrepareMobileUploadResponse {
|
|
315
|
+
status: PrepareMobileUploadResponse_Status;
|
|
316
|
+
uploadId: string;
|
|
317
|
+
maxChunkSize: number;
|
|
318
|
+
}
|
|
319
|
+
declare enum PrepareMobileUploadResponse_Status {
|
|
320
|
+
OK = 0,
|
|
321
|
+
SIZE_EXCEEDED = 1,
|
|
322
|
+
INVALID_FORMAT = 2,
|
|
323
|
+
INVALID_DIMENSIONS = 3,
|
|
324
|
+
UNSUPPORTED_ASSET_TYPE = 4,
|
|
325
|
+
OUT_OF_SPACE = 5,
|
|
326
|
+
ALREADY_EXISTS = 6,
|
|
327
|
+
INTERNAL_ERROR = 7,
|
|
328
|
+
UPLOAD_CAP_REACHED = 8,
|
|
329
|
+
INVALID_REQUEST = 9,
|
|
330
|
+
UPLOAD_IN_PROGRESS = 10,
|
|
331
|
+
UNRECOGNIZED = -1
|
|
332
|
+
}
|
|
333
|
+
declare function prepareMobileUploadResponse_StatusFromJSON(object: any): PrepareMobileUploadResponse_Status;
|
|
334
|
+
declare function prepareMobileUploadResponse_StatusToJSON(object: PrepareMobileUploadResponse_Status): string;
|
|
335
|
+
interface PutMobileUploadChunkAction {
|
|
336
|
+
uploadId: string;
|
|
337
|
+
chunkOffset: number;
|
|
338
|
+
chunkData: Uint8Array;
|
|
339
|
+
}
|
|
340
|
+
interface PutMobileUploadChunkResponse {
|
|
341
|
+
status: PutMobileUploadChunkResponse_Status;
|
|
342
|
+
resourceId: Uint8Array;
|
|
343
|
+
}
|
|
344
|
+
declare enum PutMobileUploadChunkResponse_Status {
|
|
345
|
+
OK = 0,
|
|
346
|
+
COMPLETE = 1,
|
|
347
|
+
UNKNOWN_UPLOAD = 2,
|
|
348
|
+
OUT_OF_ORDER = 3,
|
|
349
|
+
SIZE_EXCEEDED = 4,
|
|
350
|
+
HASH_MISMATCH = 5,
|
|
351
|
+
INVALID_FORMAT = 6,
|
|
352
|
+
INVALID_DIMENSIONS = 7,
|
|
353
|
+
INTERNAL_ERROR = 8,
|
|
354
|
+
UNRECOGNIZED = -1
|
|
355
|
+
}
|
|
356
|
+
declare function putMobileUploadChunkResponse_StatusFromJSON(object: any): PutMobileUploadChunkResponse_Status;
|
|
357
|
+
declare function putMobileUploadChunkResponse_StatusToJSON(object: PutMobileUploadChunkResponse_Status): string;
|
|
358
|
+
/** ===== TESLEMETRY-EXT BEGIN ===== */
|
|
359
|
+
interface DogModeLiveActivityData {
|
|
360
|
+
disabledReason: DogModeLiveActivityData_DisabledReason;
|
|
361
|
+
/** Tags 2-4 carry additional live-activity fields not modeled here. */
|
|
362
|
+
insideTemperatureCelsius: number;
|
|
363
|
+
faultState: ClimateState_DogModeState;
|
|
364
|
+
temperatureUnit: SetTemperatureUnitAction_Unit;
|
|
365
|
+
batteryLevel: number;
|
|
366
|
+
}
|
|
367
|
+
declare enum DogModeLiveActivityData_DisabledReason {
|
|
368
|
+
REASON_UNKNOWN = 0,
|
|
369
|
+
REASON_NO_PREMIUM_CONNECTIVITY = 1,
|
|
370
|
+
REASON_TOGGLE_OFF = 2,
|
|
371
|
+
REASON_DISALLOWED_COUNTRY = 3,
|
|
372
|
+
UNRECOGNIZED = -1
|
|
373
|
+
}
|
|
374
|
+
declare function dogModeLiveActivityData_DisabledReasonFromJSON(object: any): DogModeLiveActivityData_DisabledReason;
|
|
375
|
+
declare function dogModeLiveActivityData_DisabledReasonToJSON(object: DogModeLiveActivityData_DisabledReason): string;
|
|
295
376
|
interface GetTirePressureState {}
|
|
296
377
|
interface GetMediaState {}
|
|
297
378
|
interface GetMediaDetailState {}
|
|
@@ -343,6 +424,10 @@ interface Response {
|
|
|
343
424
|
keysInfoResponse?: KeysInfoResponse | undefined;
|
|
344
425
|
/** TESLEMETRY-EXT */
|
|
345
426
|
bandwidthTestResponse?: BandwidthTestResponse | undefined;
|
|
427
|
+
/** TESLEMETRY-EXT */
|
|
428
|
+
prepareMobileUploadResponse?: PrepareMobileUploadResponse | undefined;
|
|
429
|
+
/** TESLEMETRY-EXT */
|
|
430
|
+
putMobileUploadChunkResponse?: PutMobileUploadChunkResponse | undefined;
|
|
346
431
|
}
|
|
347
432
|
/** ===== TESLEMETRY-EXT BEGIN ===== */
|
|
348
433
|
interface VehicleDataSubscriptionResponse {
|
|
@@ -791,6 +876,8 @@ interface VehicleDataSubscription {
|
|
|
791
876
|
alertStateMaxUpdateRateMs: number;
|
|
792
877
|
suspensionStateMaxUpdateRateMs: number;
|
|
793
878
|
childPresenceDetectionStateMaxUpdateRateMs: number;
|
|
879
|
+
/** TESLEMETRY-EXT */
|
|
880
|
+
displayStateMaxUpdateRateMs: number;
|
|
794
881
|
}
|
|
795
882
|
/** Privacy/security request for handling PII (Personally Identifiable Information) */
|
|
796
883
|
interface VehicleDataSubscription_PiiKeyRequest {
|
|
@@ -811,6 +898,8 @@ interface VehicleDataAck {
|
|
|
811
898
|
preconditioningScheduleStateTimestamp: Date | undefined;
|
|
812
899
|
alertStateTimestamp: Date | undefined;
|
|
813
900
|
suspensionStateTimestamp: Date | undefined;
|
|
901
|
+
/** TESLEMETRY-EXT */
|
|
902
|
+
displayStateTimestamp: Date | undefined;
|
|
814
903
|
/** Field to report decryption errors encountered during processing */
|
|
815
904
|
decryptionErrorField: number[];
|
|
816
905
|
}
|
|
@@ -1194,6 +1283,10 @@ declare enum SetEnergyDisplayFormatAction_Format {
|
|
|
1194
1283
|
}
|
|
1195
1284
|
declare function setEnergyDisplayFormatAction_FormatFromJSON(object: any): SetEnergyDisplayFormatAction_Format;
|
|
1196
1285
|
declare function setEnergyDisplayFormatAction_FormatToJSON(object: SetEnergyDisplayFormatAction_Format): string;
|
|
1286
|
+
interface DisplayStateAction {
|
|
1287
|
+
displayBrightnessAutoRequest: boolean;
|
|
1288
|
+
displayBrightnessScalePreferenceRequest: number;
|
|
1289
|
+
}
|
|
1197
1290
|
interface SetKeepAccessoryPowerModeAction {
|
|
1198
1291
|
keepAccessoryPowerMode: boolean;
|
|
1199
1292
|
}
|
|
@@ -1247,8 +1340,16 @@ declare const GetLightShowState: MessageFns<GetLightShowState>;
|
|
|
1247
1340
|
declare const GetVehicleImageState: MessageFns<GetVehicleImageState>;
|
|
1248
1341
|
declare const GetSuspensionState: MessageFns<GetSuspensionState>;
|
|
1249
1342
|
declare const GetChildPresenceDetectionState: MessageFns<GetChildPresenceDetectionState>;
|
|
1343
|
+
declare const GetDisplayState: MessageFns<GetDisplayState>;
|
|
1250
1344
|
declare const VehicleImageDataChunkRequest: MessageFns<VehicleImageDataChunkRequest>;
|
|
1251
1345
|
declare const VehicleImageRequest: MessageFns<VehicleImageRequest>;
|
|
1346
|
+
declare const MobileImageUploadParams: MessageFns<MobileImageUploadParams>;
|
|
1347
|
+
declare const MobileUploadParams: MessageFns<MobileUploadParams>;
|
|
1348
|
+
declare const PrepareMobileUploadAction: MessageFns<PrepareMobileUploadAction>;
|
|
1349
|
+
declare const PrepareMobileUploadResponse: MessageFns<PrepareMobileUploadResponse>;
|
|
1350
|
+
declare const PutMobileUploadChunkAction: MessageFns<PutMobileUploadChunkAction>;
|
|
1351
|
+
declare const PutMobileUploadChunkResponse: MessageFns<PutMobileUploadChunkResponse>;
|
|
1352
|
+
declare const DogModeLiveActivityData: MessageFns<DogModeLiveActivityData>;
|
|
1252
1353
|
declare const GetTirePressureState: MessageFns<GetTirePressureState>;
|
|
1253
1354
|
declare const GetMediaState: MessageFns<GetMediaState>;
|
|
1254
1355
|
declare const GetMediaDetailState: MessageFns<GetMediaDetailState>;
|
|
@@ -1422,6 +1523,7 @@ declare const SetDistanceUnitAction: MessageFns<SetDistanceUnitAction>;
|
|
|
1422
1523
|
declare const SetTimeDisplayFormatAction: MessageFns<SetTimeDisplayFormatAction>;
|
|
1423
1524
|
declare const SetTirePressureUnitAction: MessageFns<SetTirePressureUnitAction>;
|
|
1424
1525
|
declare const SetEnergyDisplayFormatAction: MessageFns<SetEnergyDisplayFormatAction>;
|
|
1526
|
+
declare const DisplayStateAction: MessageFns<DisplayStateAction>;
|
|
1425
1527
|
declare const SetKeepAccessoryPowerModeAction: MessageFns<SetKeepAccessoryPowerModeAction>;
|
|
1426
1528
|
declare const SetupCloudProfileWithLocalProfileUuidAction: MessageFns<SetupCloudProfileWithLocalProfileUuidAction>;
|
|
1427
1529
|
declare const GetLocalProfilesForVaultUuidAction: MessageFns<GetLocalProfilesForVaultUuidAction>;
|
|
@@ -1445,4 +1547,4 @@ interface MessageFns<T> {
|
|
|
1445
1547
|
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
1446
1548
|
}
|
|
1447
1549
|
//#endregion
|
|
1448
|
-
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, GetLegacyVehicleState, GetLightShowState, GetLocalProfilesForVaultUuidAction, GetLocalProfilesResponse, GetLocationState, GetManagedChargingSitesRequest, GetManagedChargingSitesResponse, GetMediaDetailState, GetMediaState, GetMessagesAction, GetMessagesResponse, GetNearbyChargingSites, GetParentalControlsState, GetParkedAccessoryState, GetPreconditioningScheduleState, GetRateTariffRequest, GetRateTariffResponse, GetSoftwareUpdateState, GetSohState, GetSuspensionState, GetTirePressureState, GetVehicleConfig, GetVehicleData, GetVehicleDetailState, GetVehicleImageState, GetVehicleState, HvacAutoAction, HvacBioweaponModeAction, HvacClimateKeeperAction, HvacClimateKeeperAction_ClimateKeeperActionE, HvacClimateKeeperAction_ManualOverrideModeE, HvacRecirculationAction, HvacSeatCoolerActions, HvacSeatCoolerActions_HvacSeatCoolerAction, HvacSeatCoolerActions_HvacSeatCoolerLevelE, HvacSeatCoolerActions_HvacSeatCoolerPositionE, HvacSeatHeaterActions, HvacSeatHeaterActions_HvacSeatHeaterAction, HvacSetPreconditioningMaxAction, HvacSetPreconditioningMaxAction_ManualOverrideModeE, HvacSteeringWheelHeaterAction, HvacTemperatureAdjustmentAction, HvacTemperatureAdjustmentAction_HvacTemperatureZone, HvacTemperatureAdjustmentAction_Temperature, KeyInfo, KeysInfoResponse, ManagedChargingSite, ManagedChargingSiteAddedOrUpdated, ManagerType, MediaNextFavorite, MediaNextTrack, MediaPlayAction, MediaPreviousFavorite, MediaPreviousTrack, MediaUpdateVolume, MessageFns, MobileAppMessage, NavigationGpsDestinationRequest, NavigationGpsDestinationRequest_RemoteNavTripOrder, NavigationGpsRequest, NavigationGpsRequest_RemoteNavTripOrder, NavigationRequest, NavigationRouteAction, NavigationRouteResponse, NavigationRouteResponse_TrafficDetail, NavigationRouteResponse_TrafficStatus, NavigationSuperchargerRequest, NavigationSuperchargerRequest_RemoteNavTripOrder, 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, navigationSuperchargerRequest_RemoteNavTripOrderFromJSON, navigationSuperchargerRequest_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 };
|
|
1550
|
+
export { Action, ActionStatus, AddManagedChargingSiteRequest, AddManagedChargingSiteResponse, AutoSeatClimateAction, AutoSeatClimateAction_AutoSeatPositionE, AutoSeatClimateAction_CarSeat, AutoStwHeatAction, BandwidthTest, BandwidthTestResponse, BatchRemoveChargeSchedulesAction, BatchRemovePreconditionSchedulesAction, BluetoothClassicPairingRequest, BoomboxAction, CancelSohTestAction, CancelVehicleDataSubscription, ChargeOnSolarFeature, ChargePortDoorClose, ChargePortDoorOpen, ChargingSetLimitAction, ChargingStartStopAction, CreateStreamSession, DashcamSaveClipAction, DeepPartial, DeleteDashcamClipsAction, DestinationCharging, DisplayStateAction, DogModeLiveActivityData, DogModeLiveActivityData_DisabledReason, DrivingClearSpeedLimitPinAction, DrivingClearSpeedLimitPinAdminAction, DrivingSetSpeedLimitAction, DrivingSpeedLimitAction, EncryptedData, EraseUserDataAction, Exact, ExistingManagedChargingSiteNearby, FetchKeysInfoAction, FormatUSBAction, GetAlertState, GetChargeOnSolarFeatureRequest, GetChargeOnSolarFeatureResponse, GetChargeScheduleState, GetChargeState, GetChildPresenceDetectionState, GetClimateState, GetClosuresState, GetDisplayState, GetDriveState, GetGuiSettings, GetLegacyVehicleState, GetLightShowState, GetLocalProfilesForVaultUuidAction, GetLocalProfilesResponse, GetLocationState, GetManagedChargingSitesRequest, GetManagedChargingSitesResponse, GetMediaDetailState, GetMediaState, GetMessagesAction, GetMessagesResponse, GetNearbyChargingSites, GetParentalControlsState, GetParkedAccessoryState, GetPreconditioningScheduleState, GetRateTariffRequest, GetRateTariffResponse, GetSoftwareUpdateState, GetSohState, GetSuspensionState, GetTirePressureState, GetVehicleConfig, GetVehicleData, GetVehicleDetailState, GetVehicleImageState, GetVehicleState, HvacAutoAction, HvacBioweaponModeAction, HvacClimateKeeperAction, HvacClimateKeeperAction_ClimateKeeperActionE, HvacClimateKeeperAction_ManualOverrideModeE, HvacRecirculationAction, HvacSeatCoolerActions, HvacSeatCoolerActions_HvacSeatCoolerAction, HvacSeatCoolerActions_HvacSeatCoolerLevelE, HvacSeatCoolerActions_HvacSeatCoolerPositionE, HvacSeatHeaterActions, HvacSeatHeaterActions_HvacSeatHeaterAction, HvacSetPreconditioningMaxAction, HvacSetPreconditioningMaxAction_ManualOverrideModeE, HvacSteeringWheelHeaterAction, HvacTemperatureAdjustmentAction, HvacTemperatureAdjustmentAction_HvacTemperatureZone, HvacTemperatureAdjustmentAction_Temperature, KeyInfo, KeysInfoResponse, ManagedChargingSite, ManagedChargingSiteAddedOrUpdated, ManagerType, MediaNextFavorite, MediaNextTrack, MediaPlayAction, MediaPreviousFavorite, MediaPreviousTrack, MediaUpdateVolume, MessageFns, MobileAppMessage, MobileImageUploadParams, MobileUploadParams, NavigationGpsDestinationRequest, NavigationGpsDestinationRequest_RemoteNavTripOrder, NavigationGpsRequest, NavigationGpsRequest_RemoteNavTripOrder, NavigationRequest, NavigationRouteAction, NavigationRouteResponse, NavigationRouteResponse_TrafficDetail, NavigationRouteResponse_TrafficStatus, NavigationSuperchargerRequest, NavigationSuperchargerRequest_RemoteNavTripOrder, NavigationWaypointsRequest, NavigationWaypointsRequest_TripPlanOptions, NearbyChargingSites, OperationStatusE, ParentalControlsAction, ParentalControlsClearPinAction, ParentalControlsClearPinAdminAction, ParentalControlsEnableSettingsAction, ParentalControlsEnableSettingsAction_ParentalControlsSettingE, ParentalControlsSetSpeedLimitAction, PhoneUnitPreferences, PiiKeyRequest, PiiKeyResponse, Ping, PrepareMobileUploadAction, PrepareMobileUploadResponse, PrepareMobileUploadResponse_Status, Profile, PseudonymSyncRequest, PseudonymSyncResponse, PutMobileUploadChunkAction, PutMobileUploadChunkResponse, PutMobileUploadChunkResponse_Status, 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, dogModeLiveActivityData_DisabledReasonFromJSON, dogModeLiveActivityData_DisabledReasonToJSON, 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, navigationSuperchargerRequest_RemoteNavTripOrderFromJSON, navigationSuperchargerRequest_RemoteNavTripOrderToJSON, operationStatusEFromJSON, operationStatusEToJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEFromJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEToJSON, prepareMobileUploadResponse_StatusFromJSON, prepareMobileUploadResponse_StatusToJSON, protobufPackage, putMobileUploadChunkResponse_StatusFromJSON, putMobileUploadChunkResponse_StatusToJSON, 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 };
|
|
@@ -2,7 +2,7 @@ import { ChargeSchedule, LatLong, OffPeakChargingTimes, PreconditionSchedule, Pr
|
|
|
2
2
|
import { Role } from "./keys.mjs";
|
|
3
3
|
import { SessionInfo } from "./signatures.mjs";
|
|
4
4
|
import { KeyFormFactor } from "./vcsec.mjs";
|
|
5
|
-
import { ClimateState_CopActivationTemp, VehicleData, VehicleImageStateType, VehicleState_GuestMode } from "./vehicle.mjs";
|
|
5
|
+
import { ClimateState_CopActivationTemp, ClimateState_DogModeState, VehicleData, VehicleImageStateType, VehicleState_GuestMode } from "./vehicle.mjs";
|
|
6
6
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
7
7
|
//#region src/command/car_server.d.ts
|
|
8
8
|
declare const protobufPackage = "CarServer";
|
|
@@ -260,6 +260,8 @@ interface GetVehicleData {
|
|
|
260
260
|
getSuspensionState: GetSuspensionState | undefined;
|
|
261
261
|
/** TESLEMETRY-EXT */
|
|
262
262
|
getChildPresenceDetectionState: GetChildPresenceDetectionState | undefined;
|
|
263
|
+
/** TESLEMETRY-EXT */
|
|
264
|
+
getDisplayState: GetDisplayState | undefined;
|
|
263
265
|
}
|
|
264
266
|
/** ===== TESLEMETRY-EXT BEGIN ===== */
|
|
265
267
|
interface GetGuiSettings {}
|
|
@@ -276,6 +278,7 @@ interface GetVehicleImageState {
|
|
|
276
278
|
}
|
|
277
279
|
interface GetSuspensionState {}
|
|
278
280
|
interface GetChildPresenceDetectionState {}
|
|
281
|
+
interface GetDisplayState {}
|
|
279
282
|
interface VehicleImageDataChunkRequest {
|
|
280
283
|
chunkOffset: number;
|
|
281
284
|
chunkSize: number;
|
|
@@ -292,6 +295,84 @@ declare enum VehicleImageRequest_Type {
|
|
|
292
295
|
}
|
|
293
296
|
declare function vehicleImageRequest_TypeFromJSON(object: any): VehicleImageRequest_Type;
|
|
294
297
|
declare function vehicleImageRequest_TypeToJSON(object: VehicleImageRequest_Type): string;
|
|
298
|
+
interface MobileImageUploadParams {
|
|
299
|
+
imageType: VehicleImageStateType;
|
|
300
|
+
widthPx: number;
|
|
301
|
+
heightPx: number;
|
|
302
|
+
mimeType: string;
|
|
303
|
+
}
|
|
304
|
+
interface MobileUploadParams {
|
|
305
|
+
totalSize: number;
|
|
306
|
+
contentSha256: Uint8Array;
|
|
307
|
+
}
|
|
308
|
+
interface PrepareMobileUploadAction {
|
|
309
|
+
uploadParams: MobileUploadParams | undefined;
|
|
310
|
+
imageParams: MobileImageUploadParams | undefined;
|
|
311
|
+
/** Tag 3 carries an additional bool flag not modeled here. */
|
|
312
|
+
overwriteOldestIfFull: boolean;
|
|
313
|
+
}
|
|
314
|
+
interface PrepareMobileUploadResponse {
|
|
315
|
+
status: PrepareMobileUploadResponse_Status;
|
|
316
|
+
uploadId: string;
|
|
317
|
+
maxChunkSize: number;
|
|
318
|
+
}
|
|
319
|
+
declare enum PrepareMobileUploadResponse_Status {
|
|
320
|
+
OK = 0,
|
|
321
|
+
SIZE_EXCEEDED = 1,
|
|
322
|
+
INVALID_FORMAT = 2,
|
|
323
|
+
INVALID_DIMENSIONS = 3,
|
|
324
|
+
UNSUPPORTED_ASSET_TYPE = 4,
|
|
325
|
+
OUT_OF_SPACE = 5,
|
|
326
|
+
ALREADY_EXISTS = 6,
|
|
327
|
+
INTERNAL_ERROR = 7,
|
|
328
|
+
UPLOAD_CAP_REACHED = 8,
|
|
329
|
+
INVALID_REQUEST = 9,
|
|
330
|
+
UPLOAD_IN_PROGRESS = 10,
|
|
331
|
+
UNRECOGNIZED = -1
|
|
332
|
+
}
|
|
333
|
+
declare function prepareMobileUploadResponse_StatusFromJSON(object: any): PrepareMobileUploadResponse_Status;
|
|
334
|
+
declare function prepareMobileUploadResponse_StatusToJSON(object: PrepareMobileUploadResponse_Status): string;
|
|
335
|
+
interface PutMobileUploadChunkAction {
|
|
336
|
+
uploadId: string;
|
|
337
|
+
chunkOffset: number;
|
|
338
|
+
chunkData: Uint8Array;
|
|
339
|
+
}
|
|
340
|
+
interface PutMobileUploadChunkResponse {
|
|
341
|
+
status: PutMobileUploadChunkResponse_Status;
|
|
342
|
+
resourceId: Uint8Array;
|
|
343
|
+
}
|
|
344
|
+
declare enum PutMobileUploadChunkResponse_Status {
|
|
345
|
+
OK = 0,
|
|
346
|
+
COMPLETE = 1,
|
|
347
|
+
UNKNOWN_UPLOAD = 2,
|
|
348
|
+
OUT_OF_ORDER = 3,
|
|
349
|
+
SIZE_EXCEEDED = 4,
|
|
350
|
+
HASH_MISMATCH = 5,
|
|
351
|
+
INVALID_FORMAT = 6,
|
|
352
|
+
INVALID_DIMENSIONS = 7,
|
|
353
|
+
INTERNAL_ERROR = 8,
|
|
354
|
+
UNRECOGNIZED = -1
|
|
355
|
+
}
|
|
356
|
+
declare function putMobileUploadChunkResponse_StatusFromJSON(object: any): PutMobileUploadChunkResponse_Status;
|
|
357
|
+
declare function putMobileUploadChunkResponse_StatusToJSON(object: PutMobileUploadChunkResponse_Status): string;
|
|
358
|
+
/** ===== TESLEMETRY-EXT BEGIN ===== */
|
|
359
|
+
interface DogModeLiveActivityData {
|
|
360
|
+
disabledReason: DogModeLiveActivityData_DisabledReason;
|
|
361
|
+
/** Tags 2-4 carry additional live-activity fields not modeled here. */
|
|
362
|
+
insideTemperatureCelsius: number;
|
|
363
|
+
faultState: ClimateState_DogModeState;
|
|
364
|
+
temperatureUnit: SetTemperatureUnitAction_Unit;
|
|
365
|
+
batteryLevel: number;
|
|
366
|
+
}
|
|
367
|
+
declare enum DogModeLiveActivityData_DisabledReason {
|
|
368
|
+
REASON_UNKNOWN = 0,
|
|
369
|
+
REASON_NO_PREMIUM_CONNECTIVITY = 1,
|
|
370
|
+
REASON_TOGGLE_OFF = 2,
|
|
371
|
+
REASON_DISALLOWED_COUNTRY = 3,
|
|
372
|
+
UNRECOGNIZED = -1
|
|
373
|
+
}
|
|
374
|
+
declare function dogModeLiveActivityData_DisabledReasonFromJSON(object: any): DogModeLiveActivityData_DisabledReason;
|
|
375
|
+
declare function dogModeLiveActivityData_DisabledReasonToJSON(object: DogModeLiveActivityData_DisabledReason): string;
|
|
295
376
|
interface GetTirePressureState {}
|
|
296
377
|
interface GetMediaState {}
|
|
297
378
|
interface GetMediaDetailState {}
|
|
@@ -343,6 +424,10 @@ interface Response {
|
|
|
343
424
|
keysInfoResponse?: KeysInfoResponse | undefined;
|
|
344
425
|
/** TESLEMETRY-EXT */
|
|
345
426
|
bandwidthTestResponse?: BandwidthTestResponse | undefined;
|
|
427
|
+
/** TESLEMETRY-EXT */
|
|
428
|
+
prepareMobileUploadResponse?: PrepareMobileUploadResponse | undefined;
|
|
429
|
+
/** TESLEMETRY-EXT */
|
|
430
|
+
putMobileUploadChunkResponse?: PutMobileUploadChunkResponse | undefined;
|
|
346
431
|
}
|
|
347
432
|
/** ===== TESLEMETRY-EXT BEGIN ===== */
|
|
348
433
|
interface VehicleDataSubscriptionResponse {
|
|
@@ -791,6 +876,8 @@ interface VehicleDataSubscription {
|
|
|
791
876
|
alertStateMaxUpdateRateMs: number;
|
|
792
877
|
suspensionStateMaxUpdateRateMs: number;
|
|
793
878
|
childPresenceDetectionStateMaxUpdateRateMs: number;
|
|
879
|
+
/** TESLEMETRY-EXT */
|
|
880
|
+
displayStateMaxUpdateRateMs: number;
|
|
794
881
|
}
|
|
795
882
|
/** Privacy/security request for handling PII (Personally Identifiable Information) */
|
|
796
883
|
interface VehicleDataSubscription_PiiKeyRequest {
|
|
@@ -811,6 +898,8 @@ interface VehicleDataAck {
|
|
|
811
898
|
preconditioningScheduleStateTimestamp: Date | undefined;
|
|
812
899
|
alertStateTimestamp: Date | undefined;
|
|
813
900
|
suspensionStateTimestamp: Date | undefined;
|
|
901
|
+
/** TESLEMETRY-EXT */
|
|
902
|
+
displayStateTimestamp: Date | undefined;
|
|
814
903
|
/** Field to report decryption errors encountered during processing */
|
|
815
904
|
decryptionErrorField: number[];
|
|
816
905
|
}
|
|
@@ -1194,6 +1283,10 @@ declare enum SetEnergyDisplayFormatAction_Format {
|
|
|
1194
1283
|
}
|
|
1195
1284
|
declare function setEnergyDisplayFormatAction_FormatFromJSON(object: any): SetEnergyDisplayFormatAction_Format;
|
|
1196
1285
|
declare function setEnergyDisplayFormatAction_FormatToJSON(object: SetEnergyDisplayFormatAction_Format): string;
|
|
1286
|
+
interface DisplayStateAction {
|
|
1287
|
+
displayBrightnessAutoRequest: boolean;
|
|
1288
|
+
displayBrightnessScalePreferenceRequest: number;
|
|
1289
|
+
}
|
|
1197
1290
|
interface SetKeepAccessoryPowerModeAction {
|
|
1198
1291
|
keepAccessoryPowerMode: boolean;
|
|
1199
1292
|
}
|
|
@@ -1247,8 +1340,16 @@ declare const GetLightShowState: MessageFns<GetLightShowState>;
|
|
|
1247
1340
|
declare const GetVehicleImageState: MessageFns<GetVehicleImageState>;
|
|
1248
1341
|
declare const GetSuspensionState: MessageFns<GetSuspensionState>;
|
|
1249
1342
|
declare const GetChildPresenceDetectionState: MessageFns<GetChildPresenceDetectionState>;
|
|
1343
|
+
declare const GetDisplayState: MessageFns<GetDisplayState>;
|
|
1250
1344
|
declare const VehicleImageDataChunkRequest: MessageFns<VehicleImageDataChunkRequest>;
|
|
1251
1345
|
declare const VehicleImageRequest: MessageFns<VehicleImageRequest>;
|
|
1346
|
+
declare const MobileImageUploadParams: MessageFns<MobileImageUploadParams>;
|
|
1347
|
+
declare const MobileUploadParams: MessageFns<MobileUploadParams>;
|
|
1348
|
+
declare const PrepareMobileUploadAction: MessageFns<PrepareMobileUploadAction>;
|
|
1349
|
+
declare const PrepareMobileUploadResponse: MessageFns<PrepareMobileUploadResponse>;
|
|
1350
|
+
declare const PutMobileUploadChunkAction: MessageFns<PutMobileUploadChunkAction>;
|
|
1351
|
+
declare const PutMobileUploadChunkResponse: MessageFns<PutMobileUploadChunkResponse>;
|
|
1352
|
+
declare const DogModeLiveActivityData: MessageFns<DogModeLiveActivityData>;
|
|
1252
1353
|
declare const GetTirePressureState: MessageFns<GetTirePressureState>;
|
|
1253
1354
|
declare const GetMediaState: MessageFns<GetMediaState>;
|
|
1254
1355
|
declare const GetMediaDetailState: MessageFns<GetMediaDetailState>;
|
|
@@ -1422,6 +1523,7 @@ declare const SetDistanceUnitAction: MessageFns<SetDistanceUnitAction>;
|
|
|
1422
1523
|
declare const SetTimeDisplayFormatAction: MessageFns<SetTimeDisplayFormatAction>;
|
|
1423
1524
|
declare const SetTirePressureUnitAction: MessageFns<SetTirePressureUnitAction>;
|
|
1424
1525
|
declare const SetEnergyDisplayFormatAction: MessageFns<SetEnergyDisplayFormatAction>;
|
|
1526
|
+
declare const DisplayStateAction: MessageFns<DisplayStateAction>;
|
|
1425
1527
|
declare const SetKeepAccessoryPowerModeAction: MessageFns<SetKeepAccessoryPowerModeAction>;
|
|
1426
1528
|
declare const SetupCloudProfileWithLocalProfileUuidAction: MessageFns<SetupCloudProfileWithLocalProfileUuidAction>;
|
|
1427
1529
|
declare const GetLocalProfilesForVaultUuidAction: MessageFns<GetLocalProfilesForVaultUuidAction>;
|
|
@@ -1445,4 +1547,4 @@ interface MessageFns<T> {
|
|
|
1445
1547
|
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
1446
1548
|
}
|
|
1447
1549
|
//#endregion
|
|
1448
|
-
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, GetLegacyVehicleState, GetLightShowState, GetLocalProfilesForVaultUuidAction, GetLocalProfilesResponse, GetLocationState, GetManagedChargingSitesRequest, GetManagedChargingSitesResponse, GetMediaDetailState, GetMediaState, GetMessagesAction, GetMessagesResponse, GetNearbyChargingSites, GetParentalControlsState, GetParkedAccessoryState, GetPreconditioningScheduleState, GetRateTariffRequest, GetRateTariffResponse, GetSoftwareUpdateState, GetSohState, GetSuspensionState, GetTirePressureState, GetVehicleConfig, GetVehicleData, GetVehicleDetailState, GetVehicleImageState, GetVehicleState, HvacAutoAction, HvacBioweaponModeAction, HvacClimateKeeperAction, HvacClimateKeeperAction_ClimateKeeperActionE, HvacClimateKeeperAction_ManualOverrideModeE, HvacRecirculationAction, HvacSeatCoolerActions, HvacSeatCoolerActions_HvacSeatCoolerAction, HvacSeatCoolerActions_HvacSeatCoolerLevelE, HvacSeatCoolerActions_HvacSeatCoolerPositionE, HvacSeatHeaterActions, HvacSeatHeaterActions_HvacSeatHeaterAction, HvacSetPreconditioningMaxAction, HvacSetPreconditioningMaxAction_ManualOverrideModeE, HvacSteeringWheelHeaterAction, HvacTemperatureAdjustmentAction, HvacTemperatureAdjustmentAction_HvacTemperatureZone, HvacTemperatureAdjustmentAction_Temperature, KeyInfo, KeysInfoResponse, ManagedChargingSite, ManagedChargingSiteAddedOrUpdated, ManagerType, MediaNextFavorite, MediaNextTrack, MediaPlayAction, MediaPreviousFavorite, MediaPreviousTrack, MediaUpdateVolume, MessageFns, MobileAppMessage, NavigationGpsDestinationRequest, NavigationGpsDestinationRequest_RemoteNavTripOrder, NavigationGpsRequest, NavigationGpsRequest_RemoteNavTripOrder, NavigationRequest, NavigationRouteAction, NavigationRouteResponse, NavigationRouteResponse_TrafficDetail, NavigationRouteResponse_TrafficStatus, NavigationSuperchargerRequest, NavigationSuperchargerRequest_RemoteNavTripOrder, 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, navigationSuperchargerRequest_RemoteNavTripOrderFromJSON, navigationSuperchargerRequest_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 };
|
|
1550
|
+
export { Action, ActionStatus, AddManagedChargingSiteRequest, AddManagedChargingSiteResponse, AutoSeatClimateAction, AutoSeatClimateAction_AutoSeatPositionE, AutoSeatClimateAction_CarSeat, AutoStwHeatAction, BandwidthTest, BandwidthTestResponse, BatchRemoveChargeSchedulesAction, BatchRemovePreconditionSchedulesAction, BluetoothClassicPairingRequest, BoomboxAction, CancelSohTestAction, CancelVehicleDataSubscription, ChargeOnSolarFeature, ChargePortDoorClose, ChargePortDoorOpen, ChargingSetLimitAction, ChargingStartStopAction, CreateStreamSession, DashcamSaveClipAction, DeepPartial, DeleteDashcamClipsAction, DestinationCharging, DisplayStateAction, DogModeLiveActivityData, DogModeLiveActivityData_DisabledReason, DrivingClearSpeedLimitPinAction, DrivingClearSpeedLimitPinAdminAction, DrivingSetSpeedLimitAction, DrivingSpeedLimitAction, EncryptedData, EraseUserDataAction, Exact, ExistingManagedChargingSiteNearby, FetchKeysInfoAction, FormatUSBAction, GetAlertState, GetChargeOnSolarFeatureRequest, GetChargeOnSolarFeatureResponse, GetChargeScheduleState, GetChargeState, GetChildPresenceDetectionState, GetClimateState, GetClosuresState, GetDisplayState, GetDriveState, GetGuiSettings, GetLegacyVehicleState, GetLightShowState, GetLocalProfilesForVaultUuidAction, GetLocalProfilesResponse, GetLocationState, GetManagedChargingSitesRequest, GetManagedChargingSitesResponse, GetMediaDetailState, GetMediaState, GetMessagesAction, GetMessagesResponse, GetNearbyChargingSites, GetParentalControlsState, GetParkedAccessoryState, GetPreconditioningScheduleState, GetRateTariffRequest, GetRateTariffResponse, GetSoftwareUpdateState, GetSohState, GetSuspensionState, GetTirePressureState, GetVehicleConfig, GetVehicleData, GetVehicleDetailState, GetVehicleImageState, GetVehicleState, HvacAutoAction, HvacBioweaponModeAction, HvacClimateKeeperAction, HvacClimateKeeperAction_ClimateKeeperActionE, HvacClimateKeeperAction_ManualOverrideModeE, HvacRecirculationAction, HvacSeatCoolerActions, HvacSeatCoolerActions_HvacSeatCoolerAction, HvacSeatCoolerActions_HvacSeatCoolerLevelE, HvacSeatCoolerActions_HvacSeatCoolerPositionE, HvacSeatHeaterActions, HvacSeatHeaterActions_HvacSeatHeaterAction, HvacSetPreconditioningMaxAction, HvacSetPreconditioningMaxAction_ManualOverrideModeE, HvacSteeringWheelHeaterAction, HvacTemperatureAdjustmentAction, HvacTemperatureAdjustmentAction_HvacTemperatureZone, HvacTemperatureAdjustmentAction_Temperature, KeyInfo, KeysInfoResponse, ManagedChargingSite, ManagedChargingSiteAddedOrUpdated, ManagerType, MediaNextFavorite, MediaNextTrack, MediaPlayAction, MediaPreviousFavorite, MediaPreviousTrack, MediaUpdateVolume, MessageFns, MobileAppMessage, MobileImageUploadParams, MobileUploadParams, NavigationGpsDestinationRequest, NavigationGpsDestinationRequest_RemoteNavTripOrder, NavigationGpsRequest, NavigationGpsRequest_RemoteNavTripOrder, NavigationRequest, NavigationRouteAction, NavigationRouteResponse, NavigationRouteResponse_TrafficDetail, NavigationRouteResponse_TrafficStatus, NavigationSuperchargerRequest, NavigationSuperchargerRequest_RemoteNavTripOrder, NavigationWaypointsRequest, NavigationWaypointsRequest_TripPlanOptions, NearbyChargingSites, OperationStatusE, ParentalControlsAction, ParentalControlsClearPinAction, ParentalControlsClearPinAdminAction, ParentalControlsEnableSettingsAction, ParentalControlsEnableSettingsAction_ParentalControlsSettingE, ParentalControlsSetSpeedLimitAction, PhoneUnitPreferences, PiiKeyRequest, PiiKeyResponse, Ping, PrepareMobileUploadAction, PrepareMobileUploadResponse, PrepareMobileUploadResponse_Status, Profile, PseudonymSyncRequest, PseudonymSyncResponse, PutMobileUploadChunkAction, PutMobileUploadChunkResponse, PutMobileUploadChunkResponse_Status, 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, dogModeLiveActivityData_DisabledReasonFromJSON, dogModeLiveActivityData_DisabledReasonToJSON, 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, navigationSuperchargerRequest_RemoteNavTripOrderFromJSON, navigationSuperchargerRequest_RemoteNavTripOrderToJSON, operationStatusEFromJSON, operationStatusEToJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEFromJSON, parentalControlsEnableSettingsAction_ParentalControlsSettingEToJSON, prepareMobileUploadResponse_StatusFromJSON, prepareMobileUploadResponse_StatusToJSON, protobufPackage, putMobileUploadChunkResponse_StatusFromJSON, putMobileUploadChunkResponse_StatusToJSON, 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 };
|