@teslemetry/tesla-protocol 1.0.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.
@@ -227,6 +227,8 @@ let RKEActionE = /* @__PURE__ */ function(RKEActionE) {
227
227
  RKEActionE[RKEActionE["RKE_ACTION_WAKE_VEHICLE"] = 30] = "RKE_ACTION_WAKE_VEHICLE";
228
228
  /** RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE - TESLEMETRY-EXT */
229
229
  RKEActionE[RKEActionE["RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE"] = 31] = "RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE";
230
+ /** RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES - TESLEMETRY-EXT */
231
+ RKEActionE[RKEActionE["RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES"] = 32] = "RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES";
230
232
  RKEActionE[RKEActionE["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
231
233
  return RKEActionE;
232
234
  }({});
@@ -256,6 +258,8 @@ function rKEActionEFromJSON(object) {
256
258
  case "RKE_ACTION_WAKE_VEHICLE": return 30;
257
259
  case 31:
258
260
  case "RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE": return 31;
261
+ case 32:
262
+ case "RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES": return 32;
259
263
  default: return -1;
260
264
  }
261
265
  }
@@ -273,6 +277,7 @@ function rKEActionEToJSON(object) {
273
277
  case 29: return "RKE_ACTION_AUTO_SECURE_VEHICLE";
274
278
  case 30: return "RKE_ACTION_WAKE_VEHICLE";
275
279
  case 31: return "RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE";
280
+ case 32: return "RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES";
276
281
  default: return "UNRECOGNIZED";
277
282
  }
278
283
  }
@@ -100,6 +100,8 @@ declare enum RKEActionE {
100
100
  RKE_ACTION_WAKE_VEHICLE = 30,
101
101
  /** RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE - TESLEMETRY-EXT */
102
102
  RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE = 31,
103
+ /** RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES - TESLEMETRY-EXT */
104
+ RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES = 32,
103
105
  UNRECOGNIZED = -1
104
106
  }
105
107
  declare function rKEActionEFromJSON(object: any): RKEActionE;
@@ -100,6 +100,8 @@ declare enum RKEActionE {
100
100
  RKE_ACTION_WAKE_VEHICLE = 30,
101
101
  /** RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE - TESLEMETRY-EXT */
102
102
  RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE = 31,
103
+ /** RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES - TESLEMETRY-EXT */
104
+ RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES = 32,
103
105
  UNRECOGNIZED = -1
104
106
  }
105
107
  declare function rKEActionEFromJSON(object: any): RKEActionE;
@@ -226,6 +226,8 @@ let RKEActionE = /* @__PURE__ */ function(RKEActionE) {
226
226
  RKEActionE[RKEActionE["RKE_ACTION_WAKE_VEHICLE"] = 30] = "RKE_ACTION_WAKE_VEHICLE";
227
227
  /** RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE - TESLEMETRY-EXT */
228
228
  RKEActionE[RKEActionE["RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE"] = 31] = "RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE";
229
+ /** RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES - TESLEMETRY-EXT */
230
+ RKEActionE[RKEActionE["RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES"] = 32] = "RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES";
229
231
  RKEActionE[RKEActionE["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
230
232
  return RKEActionE;
231
233
  }({});
@@ -255,6 +257,8 @@ function rKEActionEFromJSON(object) {
255
257
  case "RKE_ACTION_WAKE_VEHICLE": return 30;
256
258
  case 31:
257
259
  case "RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE": return 31;
260
+ case 32:
261
+ case "RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES": return 32;
258
262
  default: return -1;
259
263
  }
260
264
  }
@@ -272,6 +276,7 @@ function rKEActionEToJSON(object) {
272
276
  case 29: return "RKE_ACTION_AUTO_SECURE_VEHICLE";
273
277
  case 30: return "RKE_ACTION_WAKE_VEHICLE";
274
278
  case 31: return "RKE_ACTION_UNLOCK_AND_REMOTE_DRIVE";
279
+ case 32: return "RKE_ACTION_UNLOCK_UNRESTRICTED_CLOSURES";
275
280
  default: return "UNRECOGNIZED";
276
281
  }
277
282
  }
@@ -681,6 +681,8 @@ let ChargeState_PowershareType = /* @__PURE__ */ function(ChargeState_Powershare
681
681
  ChargeState_PowershareType[ChargeState_PowershareType["PowershareTypeHome"] = 2] = "PowershareTypeHome";
682
682
  /** PowershareTypeGrid - TESLEMETRY-EXT */
683
683
  ChargeState_PowershareType[ChargeState_PowershareType["PowershareTypeGrid"] = 3] = "PowershareTypeGrid";
684
+ /** PowershareTypePowerwall - TESLEMETRY-EXT */
685
+ ChargeState_PowershareType[ChargeState_PowershareType["PowershareTypePowerwall"] = 4] = "PowershareTypePowerwall";
684
686
  ChargeState_PowershareType[ChargeState_PowershareType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
685
687
  return ChargeState_PowershareType;
686
688
  }({});
@@ -694,6 +696,8 @@ function chargeState_PowershareTypeFromJSON(object) {
694
696
  case "PowershareTypeHome": return 2;
695
697
  case 3:
696
698
  case "PowershareTypeGrid": return 3;
699
+ case 4:
700
+ case "PowershareTypePowerwall": return 4;
697
701
  default: return -1;
698
702
  }
699
703
  }
@@ -703,6 +707,7 @@ function chargeState_PowershareTypeToJSON(object) {
703
707
  case 1: return "PowershareTypeLoad";
704
708
  case 2: return "PowershareTypeHome";
705
709
  case 3: return "PowershareTypeGrid";
710
+ case 4: return "PowershareTypePowerwall";
706
711
  default: return "UNRECOGNIZED";
707
712
  }
708
713
  }
@@ -1351,6 +1356,7 @@ function createBaseVehicleData() {
1351
1356
  vehicleImageState: void 0,
1352
1357
  suspensionState: void 0,
1353
1358
  childPresenceDetectionState: void 0,
1359
+ displayState: void 0,
1354
1360
  supportsOptionalFields: void 0
1355
1361
  };
1356
1362
  }
@@ -1382,6 +1388,7 @@ const VehicleData = {
1382
1388
  if (message.vehicleImageState !== void 0) VehicleImageState.encode(message.vehicleImageState, writer.uint32(218).fork()).join();
1383
1389
  if (message.suspensionState !== void 0) SuspensionState.encode(message.suspensionState, writer.uint32(234).fork()).join();
1384
1390
  if (message.childPresenceDetectionState !== void 0) ChildPresenceDetectionState.encode(message.childPresenceDetectionState, writer.uint32(242).fork()).join();
1391
+ if (message.displayState !== void 0) DisplayState.encode(message.displayState, writer.uint32(290).fork()).join();
1385
1392
  if (message.supportsOptionalFields !== void 0) writer.uint32(7992).bool(message.supportsOptionalFields);
1386
1393
  return writer;
1387
1394
  },
@@ -1496,6 +1503,10 @@ const VehicleData = {
1496
1503
  if (tag !== 242) break;
1497
1504
  message.childPresenceDetectionState = ChildPresenceDetectionState.decode(reader, reader.uint32());
1498
1505
  continue;
1506
+ case 36:
1507
+ if (tag !== 290) break;
1508
+ message.displayState = DisplayState.decode(reader, reader.uint32());
1509
+ continue;
1499
1510
  case 999:
1500
1511
  if (tag !== 7992) break;
1501
1512
  message.supportsOptionalFields = reader.bool();
@@ -1534,6 +1545,7 @@ const VehicleData = {
1534
1545
  vehicleImageState: isSet(object.vehicleImageState) ? VehicleImageState.fromJSON(object.vehicleImageState) : void 0,
1535
1546
  suspensionState: isSet(object.suspensionState) ? SuspensionState.fromJSON(object.suspensionState) : void 0,
1536
1547
  childPresenceDetectionState: isSet(object.childPresenceDetectionState) ? ChildPresenceDetectionState.fromJSON(object.childPresenceDetectionState) : void 0,
1548
+ displayState: isSet(object.displayState) ? DisplayState.fromJSON(object.displayState) : void 0,
1537
1549
  supportsOptionalFields: isSet(object.supportsOptionalFields) ? globalThis.Boolean(object.supportsOptionalFields) : void 0
1538
1550
  };
1539
1551
  },
@@ -1565,6 +1577,7 @@ const VehicleData = {
1565
1577
  if (message.vehicleImageState !== void 0) obj.vehicleImageState = VehicleImageState.toJSON(message.vehicleImageState);
1566
1578
  if (message.suspensionState !== void 0) obj.suspensionState = SuspensionState.toJSON(message.suspensionState);
1567
1579
  if (message.childPresenceDetectionState !== void 0) obj.childPresenceDetectionState = ChildPresenceDetectionState.toJSON(message.childPresenceDetectionState);
1580
+ if (message.displayState !== void 0) obj.displayState = DisplayState.toJSON(message.displayState);
1568
1581
  if (message.supportsOptionalFields !== void 0) obj.supportsOptionalFields = message.supportsOptionalFields;
1569
1582
  return obj;
1570
1583
  },
@@ -1599,6 +1612,7 @@ const VehicleData = {
1599
1612
  message.vehicleImageState = object.vehicleImageState !== void 0 && object.vehicleImageState !== null ? VehicleImageState.fromPartial(object.vehicleImageState) : void 0;
1600
1613
  message.suspensionState = object.suspensionState !== void 0 && object.suspensionState !== null ? SuspensionState.fromPartial(object.suspensionState) : void 0;
1601
1614
  message.childPresenceDetectionState = object.childPresenceDetectionState !== void 0 && object.childPresenceDetectionState !== null ? ChildPresenceDetectionState.fromPartial(object.childPresenceDetectionState) : void 0;
1615
+ message.displayState = object.displayState !== void 0 && object.displayState !== null ? DisplayState.fromPartial(object.displayState) : void 0;
1602
1616
  message.supportsOptionalFields = object.supportsOptionalFields ?? void 0;
1603
1617
  return message;
1604
1618
  }
@@ -1633,6 +1647,7 @@ function createBaseClosuresState() {
1633
1647
  hasSideStorageDoors: void 0,
1634
1648
  doorOpenSideStorageLeft: void 0,
1635
1649
  doorOpenSideStorageRight: void 0,
1650
+ cruiseSpeedLimitMph: 0,
1636
1651
  timestamp: void 0
1637
1652
  };
1638
1653
  }
@@ -1666,6 +1681,7 @@ const ClosuresState = {
1666
1681
  if (message.hasSideStorageDoors !== void 0) writer.uint32(216).bool(message.hasSideStorageDoors);
1667
1682
  if (message.doorOpenSideStorageLeft !== void 0) writer.uint32(224).bool(message.doorOpenSideStorageLeft);
1668
1683
  if (message.doorOpenSideStorageRight !== void 0) writer.uint32(232).bool(message.doorOpenSideStorageRight);
1684
+ if (message.cruiseSpeedLimitMph !== 0) writer.uint32(241).double(message.cruiseSpeedLimitMph);
1669
1685
  if (message.timestamp !== void 0) require_command_google_protobuf_timestamp.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(16002).fork()).join();
1670
1686
  return writer;
1671
1687
  },
@@ -1788,6 +1804,10 @@ const ClosuresState = {
1788
1804
  if (tag !== 232) break;
1789
1805
  message.doorOpenSideStorageRight = reader.bool();
1790
1806
  continue;
1807
+ case 30:
1808
+ if (tag !== 241) break;
1809
+ message.cruiseSpeedLimitMph = reader.double();
1810
+ continue;
1791
1811
  case 2e3:
1792
1812
  if (tag !== 16002) break;
1793
1813
  message.timestamp = fromTimestamp(require_command_google_protobuf_timestamp.Timestamp.decode(reader, reader.uint32()));
@@ -1828,6 +1848,7 @@ const ClosuresState = {
1828
1848
  hasSideStorageDoors: isSet(object.hasSideStorageDoors) ? globalThis.Boolean(object.hasSideStorageDoors) : void 0,
1829
1849
  doorOpenSideStorageLeft: isSet(object.doorOpenSideStorageLeft) ? globalThis.Boolean(object.doorOpenSideStorageLeft) : void 0,
1830
1850
  doorOpenSideStorageRight: isSet(object.doorOpenSideStorageRight) ? globalThis.Boolean(object.doorOpenSideStorageRight) : void 0,
1851
+ cruiseSpeedLimitMph: isSet(object.cruiseSpeedLimitMph) ? globalThis.Number(object.cruiseSpeedLimitMph) : 0,
1831
1852
  timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : void 0
1832
1853
  };
1833
1854
  },
@@ -1861,6 +1882,7 @@ const ClosuresState = {
1861
1882
  if (message.hasSideStorageDoors !== void 0) obj.hasSideStorageDoors = message.hasSideStorageDoors;
1862
1883
  if (message.doorOpenSideStorageLeft !== void 0) obj.doorOpenSideStorageLeft = message.doorOpenSideStorageLeft;
1863
1884
  if (message.doorOpenSideStorageRight !== void 0) obj.doorOpenSideStorageRight = message.doorOpenSideStorageRight;
1885
+ if (message.cruiseSpeedLimitMph !== void 0) obj.cruiseSpeedLimitMph = message.cruiseSpeedLimitMph;
1864
1886
  if (message.timestamp !== void 0) obj.timestamp = message.timestamp.toISOString();
1865
1887
  return obj;
1866
1888
  },
@@ -1897,6 +1919,7 @@ const ClosuresState = {
1897
1919
  message.hasSideStorageDoors = object.hasSideStorageDoors ?? void 0;
1898
1920
  message.doorOpenSideStorageLeft = object.doorOpenSideStorageLeft ?? void 0;
1899
1921
  message.doorOpenSideStorageRight = object.doorOpenSideStorageRight ?? void 0;
1922
+ message.cruiseSpeedLimitMph = object.cruiseSpeedLimitMph ?? 0;
1900
1923
  message.timestamp = object.timestamp ?? void 0;
1901
1924
  return message;
1902
1925
  }
@@ -5306,6 +5329,7 @@ function createBaseVehicleState() {
5306
5329
  tpmsLastSeenPressureTimeRr: void 0,
5307
5330
  deckLightsOn: void 0,
5308
5331
  hazardsOn: void 0,
5332
+ deckLightsAllowed: void 0,
5309
5333
  legacyMediaInfo: void 0,
5310
5334
  allowAuthorizedMobileDevicesOnly: void 0,
5311
5335
  guestMode: void 0,
@@ -5389,6 +5413,7 @@ const VehicleState = {
5389
5413
  if (message.tpmsLastSeenPressureTimeRr !== void 0) require_command_google_protobuf_timestamp.Timestamp.encode(toTimestamp(message.tpmsLastSeenPressureTimeRr), writer.uint32(490).fork()).join();
5390
5414
  if (message.deckLightsOn !== void 0) writer.uint32(536).bool(message.deckLightsOn);
5391
5415
  if (message.hazardsOn !== void 0) writer.uint32(544).bool(message.hazardsOn);
5416
+ if (message.deckLightsAllowed !== void 0) writer.uint32(552).bool(message.deckLightsAllowed);
5392
5417
  if (message.legacyMediaInfo !== void 0) LegacyMediaInfo.encode(message.legacyMediaInfo, writer.uint32(578).fork()).join();
5393
5418
  if (message.allowAuthorizedMobileDevicesOnly !== void 0) writer.uint32(584).bool(message.allowAuthorizedMobileDevicesOnly);
5394
5419
  if (message.guestMode !== void 0) VehicleState_GuestMode.encode(message.guestMode, writer.uint32(594).fork()).join();
@@ -5512,6 +5537,10 @@ const VehicleState = {
5512
5537
  if (tag !== 544) break;
5513
5538
  message.hazardsOn = reader.bool();
5514
5539
  continue;
5540
+ case 69:
5541
+ if (tag !== 552) break;
5542
+ message.deckLightsAllowed = reader.bool();
5543
+ continue;
5515
5544
  case 72:
5516
5545
  if (tag !== 578) break;
5517
5546
  message.legacyMediaInfo = LegacyMediaInfo.decode(reader, reader.uint32());
@@ -5798,6 +5827,7 @@ const VehicleState = {
5798
5827
  tpmsLastSeenPressureTimeRr: isSet(object.tpmsLastSeenPressureTimeRr) ? fromJsonTimestamp(object.tpmsLastSeenPressureTimeRr) : void 0,
5799
5828
  deckLightsOn: isSet(object.deckLightsOn) ? globalThis.Boolean(object.deckLightsOn) : void 0,
5800
5829
  hazardsOn: isSet(object.hazardsOn) ? globalThis.Boolean(object.hazardsOn) : void 0,
5830
+ deckLightsAllowed: isSet(object.deckLightsAllowed) ? globalThis.Boolean(object.deckLightsAllowed) : void 0,
5801
5831
  legacyMediaInfo: isSet(object.legacyMediaInfo) ? LegacyMediaInfo.fromJSON(object.legacyMediaInfo) : void 0,
5802
5832
  allowAuthorizedMobileDevicesOnly: isSet(object.allowAuthorizedMobileDevicesOnly) ? globalThis.Boolean(object.allowAuthorizedMobileDevicesOnly) : void 0,
5803
5833
  guestMode: isSet(object.guestMode) ? VehicleState_GuestMode.fromJSON(object.guestMode) : void 0,
@@ -5879,6 +5909,7 @@ const VehicleState = {
5879
5909
  if (message.tpmsLastSeenPressureTimeRr !== void 0) obj.tpmsLastSeenPressureTimeRr = message.tpmsLastSeenPressureTimeRr.toISOString();
5880
5910
  if (message.deckLightsOn !== void 0) obj.deckLightsOn = message.deckLightsOn;
5881
5911
  if (message.hazardsOn !== void 0) obj.hazardsOn = message.hazardsOn;
5912
+ if (message.deckLightsAllowed !== void 0) obj.deckLightsAllowed = message.deckLightsAllowed;
5882
5913
  if (message.legacyMediaInfo !== void 0) obj.legacyMediaInfo = LegacyMediaInfo.toJSON(message.legacyMediaInfo);
5883
5914
  if (message.allowAuthorizedMobileDevicesOnly !== void 0) obj.allowAuthorizedMobileDevicesOnly = message.allowAuthorizedMobileDevicesOnly;
5884
5915
  if (message.guestMode !== void 0) obj.guestMode = VehicleState_GuestMode.toJSON(message.guestMode);
@@ -5963,6 +5994,7 @@ const VehicleState = {
5963
5994
  message.tpmsLastSeenPressureTimeRr = object.tpmsLastSeenPressureTimeRr ?? void 0;
5964
5995
  message.deckLightsOn = object.deckLightsOn ?? void 0;
5965
5996
  message.hazardsOn = object.hazardsOn ?? void 0;
5997
+ message.deckLightsAllowed = object.deckLightsAllowed ?? void 0;
5966
5998
  message.legacyMediaInfo = object.legacyMediaInfo !== void 0 && object.legacyMediaInfo !== null ? LegacyMediaInfo.fromPartial(object.legacyMediaInfo) : void 0;
5967
5999
  message.allowAuthorizedMobileDevicesOnly = object.allowAuthorizedMobileDevicesOnly ?? void 0;
5968
6000
  message.guestMode = object.guestMode !== void 0 && object.guestMode !== null ? VehicleState_GuestMode.fromPartial(object.guestMode) : void 0;
@@ -8198,7 +8230,8 @@ function createBaseVehicleConfig() {
8198
8230
  rearLightHardwareVariant: void 0,
8199
8231
  autopilotBase: 0,
8200
8232
  autopilotOverrideState: 0,
8201
- autopilotOverrideExpireTime: void 0
8233
+ autopilotOverrideExpireTime: void 0,
8234
+ supportsDynamicEnvironments: void 0
8202
8235
  };
8203
8236
  }
8204
8237
  const VehicleConfig = {
@@ -8276,6 +8309,7 @@ const VehicleConfig = {
8276
8309
  if (message.autopilotBase !== 0) writer.uint32(1568).int32(message.autopilotBase);
8277
8310
  if (message.autopilotOverrideState !== 0) writer.uint32(1576).int32(message.autopilotOverrideState);
8278
8311
  if (message.autopilotOverrideExpireTime !== void 0) writer.uint32(1584).int64(message.autopilotOverrideExpireTime);
8312
+ if (message.supportsDynamicEnvironments !== void 0) writer.uint32(1592).bool(message.supportsDynamicEnvironments);
8279
8313
  return writer;
8280
8314
  },
8281
8315
  decode(input, length) {
@@ -8577,6 +8611,10 @@ const VehicleConfig = {
8577
8611
  if (tag !== 1584) break;
8578
8612
  message.autopilotOverrideExpireTime = longToNumber(reader.int64());
8579
8613
  continue;
8614
+ case 199:
8615
+ if (tag !== 1592) break;
8616
+ message.supportsDynamicEnvironments = reader.bool();
8617
+ continue;
8580
8618
  }
8581
8619
  if ((tag & 7) === 4 || tag === 0) break;
8582
8620
  reader.skip(tag & 7);
@@ -8657,7 +8695,8 @@ const VehicleConfig = {
8657
8695
  rearLightHardwareVariant: isSet(object.rearLightHardwareVariant) ? vehicleConfig_RearLightHardwareVariantFromJSON(object.rearLightHardwareVariant) : void 0,
8658
8696
  autopilotBase: isSet(object.autopilotBase) ? autopilotBaseFromJSON(object.autopilotBase) : 0,
8659
8697
  autopilotOverrideState: isSet(object.autopilotOverrideState) ? autopilotOverrideStateFromJSON(object.autopilotOverrideState) : 0,
8660
- autopilotOverrideExpireTime: isSet(object.autopilotOverrideExpireTime) ? globalThis.Number(object.autopilotOverrideExpireTime) : void 0
8698
+ autopilotOverrideExpireTime: isSet(object.autopilotOverrideExpireTime) ? globalThis.Number(object.autopilotOverrideExpireTime) : void 0,
8699
+ supportsDynamicEnvironments: isSet(object.supportsDynamicEnvironments) ? globalThis.Boolean(object.supportsDynamicEnvironments) : void 0
8661
8700
  };
8662
8701
  },
8663
8702
  toJSON(message) {
@@ -8735,6 +8774,7 @@ const VehicleConfig = {
8735
8774
  if (message.autopilotBase !== void 0) obj.autopilotBase = autopilotBaseToJSON(message.autopilotBase);
8736
8775
  if (message.autopilotOverrideState !== void 0) obj.autopilotOverrideState = autopilotOverrideStateToJSON(message.autopilotOverrideState);
8737
8776
  if (message.autopilotOverrideExpireTime !== void 0) obj.autopilotOverrideExpireTime = Math.round(message.autopilotOverrideExpireTime);
8777
+ if (message.supportsDynamicEnvironments !== void 0) obj.supportsDynamicEnvironments = message.supportsDynamicEnvironments;
8738
8778
  return obj;
8739
8779
  },
8740
8780
  create(base) {
@@ -8815,6 +8855,7 @@ const VehicleConfig = {
8815
8855
  message.autopilotBase = object.autopilotBase ?? 0;
8816
8856
  message.autopilotOverrideState = object.autopilotOverrideState ?? 0;
8817
8857
  message.autopilotOverrideExpireTime = object.autopilotOverrideExpireTime ?? void 0;
8858
+ message.supportsDynamicEnvironments = object.supportsDynamicEnvironments ?? void 0;
8818
8859
  return message;
8819
8860
  }
8820
8861
  };
@@ -10148,6 +10189,70 @@ const ChildPresenceDetectionState = {
10148
10189
  return message;
10149
10190
  }
10150
10191
  };
10192
+ function createBaseDisplayState() {
10193
+ return {
10194
+ displayBrightnessAuto: false,
10195
+ displayBrightnessScalePreference: 0,
10196
+ timestamp: void 0
10197
+ };
10198
+ }
10199
+ const DisplayState = {
10200
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
10201
+ if (message.displayBrightnessAuto !== false) writer.uint32(8).bool(message.displayBrightnessAuto);
10202
+ if (message.displayBrightnessScalePreference !== 0) writer.uint32(16).uint32(message.displayBrightnessScalePreference);
10203
+ if (message.timestamp !== void 0) require_command_google_protobuf_timestamp.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(16002).fork()).join();
10204
+ return writer;
10205
+ },
10206
+ decode(input, length) {
10207
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
10208
+ const end = length === void 0 ? reader.len : reader.pos + length;
10209
+ const message = createBaseDisplayState();
10210
+ while (reader.pos < end) {
10211
+ const tag = reader.uint32();
10212
+ switch (tag >>> 3) {
10213
+ case 1:
10214
+ if (tag !== 8) break;
10215
+ message.displayBrightnessAuto = reader.bool();
10216
+ continue;
10217
+ case 2:
10218
+ if (tag !== 16) break;
10219
+ message.displayBrightnessScalePreference = reader.uint32();
10220
+ continue;
10221
+ case 2e3:
10222
+ if (tag !== 16002) break;
10223
+ message.timestamp = fromTimestamp(require_command_google_protobuf_timestamp.Timestamp.decode(reader, reader.uint32()));
10224
+ continue;
10225
+ }
10226
+ if ((tag & 7) === 4 || tag === 0) break;
10227
+ reader.skip(tag & 7);
10228
+ }
10229
+ return message;
10230
+ },
10231
+ fromJSON(object) {
10232
+ return {
10233
+ displayBrightnessAuto: isSet(object.displayBrightnessAuto) ? globalThis.Boolean(object.displayBrightnessAuto) : false,
10234
+ displayBrightnessScalePreference: isSet(object.displayBrightnessScalePreference) ? globalThis.Number(object.displayBrightnessScalePreference) : 0,
10235
+ timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : void 0
10236
+ };
10237
+ },
10238
+ toJSON(message) {
10239
+ const obj = {};
10240
+ if (message.displayBrightnessAuto !== void 0) obj.displayBrightnessAuto = message.displayBrightnessAuto;
10241
+ if (message.displayBrightnessScalePreference !== void 0) obj.displayBrightnessScalePreference = Math.round(message.displayBrightnessScalePreference);
10242
+ if (message.timestamp !== void 0) obj.timestamp = message.timestamp.toISOString();
10243
+ return obj;
10244
+ },
10245
+ create(base) {
10246
+ return DisplayState.fromPartial(base ?? {});
10247
+ },
10248
+ fromPartial(object) {
10249
+ const message = createBaseDisplayState();
10250
+ message.displayBrightnessAuto = object.displayBrightnessAuto ?? false;
10251
+ message.displayBrightnessScalePreference = object.displayBrightnessScalePreference ?? 0;
10252
+ message.timestamp = object.timestamp ?? void 0;
10253
+ return message;
10254
+ }
10255
+ };
10151
10256
  function createBaseVehicleDetailState() {
10152
10257
  return {
10153
10258
  timestamp: void 0,
@@ -10157,7 +10262,8 @@ function createBaseVehicleDetailState() {
10157
10262
  autopilotHash: void 0,
10158
10263
  fsdSoftwareVersion: void 0,
10159
10264
  currentProfileName: void 0,
10160
- chinaAutopilotSoftwareVersion: void 0
10265
+ chinaAutopilotSoftwareVersion: void 0,
10266
+ isFsdV14OrAbove: void 0
10161
10267
  };
10162
10268
  }
10163
10269
  const VehicleDetailState = {
@@ -10170,6 +10276,7 @@ const VehicleDetailState = {
10170
10276
  if (message.fsdSoftwareVersion !== void 0) writer.uint32(50).string(message.fsdSoftwareVersion);
10171
10277
  if (message.currentProfileName !== void 0) writer.uint32(58).string(message.currentProfileName);
10172
10278
  if (message.chinaAutopilotSoftwareVersion !== void 0) writer.uint32(66).string(message.chinaAutopilotSoftwareVersion);
10279
+ if (message.isFsdV14OrAbove !== void 0) writer.uint32(72).bool(message.isFsdV14OrAbove);
10173
10280
  return writer;
10174
10281
  },
10175
10282
  decode(input, length) {
@@ -10211,6 +10318,10 @@ const VehicleDetailState = {
10211
10318
  if (tag !== 66) break;
10212
10319
  message.chinaAutopilotSoftwareVersion = reader.string();
10213
10320
  continue;
10321
+ case 9:
10322
+ if (tag !== 72) break;
10323
+ message.isFsdV14OrAbove = reader.bool();
10324
+ continue;
10214
10325
  }
10215
10326
  if ((tag & 7) === 4 || tag === 0) break;
10216
10327
  reader.skip(tag & 7);
@@ -10226,7 +10337,8 @@ const VehicleDetailState = {
10226
10337
  autopilotHash: isSet(object.autopilotHash) ? globalThis.String(object.autopilotHash) : void 0,
10227
10338
  fsdSoftwareVersion: isSet(object.fsdSoftwareVersion) ? globalThis.String(object.fsdSoftwareVersion) : void 0,
10228
10339
  currentProfileName: isSet(object.currentProfileName) ? globalThis.String(object.currentProfileName) : void 0,
10229
- chinaAutopilotSoftwareVersion: isSet(object.chinaAutopilotSoftwareVersion) ? globalThis.String(object.chinaAutopilotSoftwareVersion) : void 0
10340
+ chinaAutopilotSoftwareVersion: isSet(object.chinaAutopilotSoftwareVersion) ? globalThis.String(object.chinaAutopilotSoftwareVersion) : void 0,
10341
+ isFsdV14OrAbove: isSet(object.isFsdV14OrAbove) ? globalThis.Boolean(object.isFsdV14OrAbove) : void 0
10230
10342
  };
10231
10343
  },
10232
10344
  toJSON(message) {
@@ -10239,6 +10351,7 @@ const VehicleDetailState = {
10239
10351
  if (message.fsdSoftwareVersion !== void 0) obj.fsdSoftwareVersion = message.fsdSoftwareVersion;
10240
10352
  if (message.currentProfileName !== void 0) obj.currentProfileName = message.currentProfileName;
10241
10353
  if (message.chinaAutopilotSoftwareVersion !== void 0) obj.chinaAutopilotSoftwareVersion = message.chinaAutopilotSoftwareVersion;
10354
+ if (message.isFsdV14OrAbove !== void 0) obj.isFsdV14OrAbove = message.isFsdV14OrAbove;
10242
10355
  return obj;
10243
10356
  },
10244
10357
  create(base) {
@@ -10254,6 +10367,7 @@ const VehicleDetailState = {
10254
10367
  message.fsdSoftwareVersion = object.fsdSoftwareVersion ?? void 0;
10255
10368
  message.currentProfileName = object.currentProfileName ?? void 0;
10256
10369
  message.chinaAutopilotSoftwareVersion = object.chinaAutopilotSoftwareVersion ?? void 0;
10370
+ message.isFsdV14OrAbove = object.isFsdV14OrAbove ?? void 0;
10257
10371
  return message;
10258
10372
  }
10259
10373
  };
@@ -10344,6 +10458,7 @@ exports.ClosuresState_DisplayState = ClosuresState_DisplayState;
10344
10458
  exports.ClosuresState_SentryModeState = ClosuresState_SentryModeState;
10345
10459
  exports.ClosuresState_SunRoofState = ClosuresState_SunRoofState;
10346
10460
  exports.DashCamState = DashCamState;
10461
+ exports.DisplayState = DisplayState;
10347
10462
  exports.DriveState = DriveState;
10348
10463
  exports.DriveState_FsdLast7DaysUsage = DriveState_FsdLast7DaysUsage;
10349
10464
  exports.DriveState_FsdMonthlyMileage = DriveState_FsdMonthlyMileage;
@@ -180,6 +180,8 @@ interface VehicleData {
180
180
  suspensionState: SuspensionState | undefined;
181
181
  /** TESLEMETRY-EXT */
182
182
  childPresenceDetectionState: ChildPresenceDetectionState | undefined;
183
+ /** TESLEMETRY-EXT */
184
+ displayState: DisplayState | undefined;
183
185
  supportsOptionalFields?: boolean | undefined;
184
186
  }
185
187
  interface ClosuresState {
@@ -214,6 +216,8 @@ interface ClosuresState {
214
216
  hasSideStorageDoors?: boolean | undefined;
215
217
  doorOpenSideStorageLeft?: boolean | undefined;
216
218
  doorOpenSideStorageRight?: boolean | undefined;
219
+ /** TESLEMETRY-EXT */
220
+ cruiseSpeedLimitMph: number;
217
221
  timestamp: Date | undefined;
218
222
  }
219
223
  interface ClosuresState_SunRoofState {
@@ -516,6 +520,8 @@ declare enum ChargeState_PowershareType {
516
520
  PowershareTypeHome = 2,
517
521
  /** PowershareTypeGrid - TESLEMETRY-EXT */
518
522
  PowershareTypeGrid = 3,
523
+ /** PowershareTypePowerwall - TESLEMETRY-EXT */
524
+ PowershareTypePowerwall = 4,
519
525
  UNRECOGNIZED = -1
520
526
  }
521
527
  declare function chargeState_PowershareTypeFromJSON(object: any): ChargeState_PowershareType;
@@ -704,6 +710,7 @@ interface VehicleState {
704
710
  tpmsLastSeenPressureTimeRr: Date | undefined;
705
711
  deckLightsOn?: boolean | undefined;
706
712
  hazardsOn?: boolean | undefined;
713
+ deckLightsAllowed?: boolean | undefined;
707
714
  /** TESLEMETRY-EXT */
708
715
  legacyMediaInfo: LegacyMediaInfo | undefined;
709
716
  allowAuthorizedMobileDevicesOnly?: boolean | undefined;
@@ -1143,6 +1150,7 @@ interface VehicleConfig {
1143
1150
  autopilotBase: AutopilotBase;
1144
1151
  autopilotOverrideState: AutopilotOverrideState;
1145
1152
  autopilotOverrideExpireTime?: number | undefined;
1153
+ supportsDynamicEnvironments?: boolean | undefined;
1146
1154
  }
1147
1155
  declare enum VehicleConfig_AuxParkLampsE {
1148
1156
  AuxParkLampsNaBase = 0,
@@ -1353,6 +1361,11 @@ interface ChildPresenceDetectionState {
1353
1361
  cpdSupportsCriticalAlerts?: boolean | undefined;
1354
1362
  timestamp: Date | undefined;
1355
1363
  }
1364
+ interface DisplayState {
1365
+ displayBrightnessAuto: boolean;
1366
+ displayBrightnessScalePreference: number;
1367
+ timestamp: Date | undefined;
1368
+ }
1356
1369
  interface VehicleDetailState {
1357
1370
  timestamp: Date | undefined;
1358
1371
  vehicleName?: string | undefined;
@@ -1362,6 +1375,7 @@ interface VehicleDetailState {
1362
1375
  fsdSoftwareVersion?: string | undefined;
1363
1376
  currentProfileName?: string | undefined;
1364
1377
  chinaAutopilotSoftwareVersion?: string | undefined;
1378
+ isFsdV14OrAbove?: boolean | undefined;
1365
1379
  }
1366
1380
  declare const VehicleData: MessageFns<VehicleData>;
1367
1381
  declare const ClosuresState: MessageFns<ClosuresState>;
@@ -1425,6 +1439,7 @@ declare const VehicleImage: MessageFns<VehicleImage>;
1425
1439
  declare const VehicleImageState: MessageFns<VehicleImageState>;
1426
1440
  declare const SuspensionState: MessageFns<SuspensionState>;
1427
1441
  declare const ChildPresenceDetectionState: MessageFns<ChildPresenceDetectionState>;
1442
+ declare const DisplayState: MessageFns<DisplayState>;
1428
1443
  declare const VehicleDetailState: MessageFns<VehicleDetailState>;
1429
1444
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1430
1445
  type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]>; } : Partial<T>;
@@ -1439,4 +1454,4 @@ interface MessageFns<T> {
1439
1454
  fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
1440
1455
  }
1441
1456
  //#endregion
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 };
1457
+ 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, DisplayState, 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 };
@@ -180,6 +180,8 @@ interface VehicleData {
180
180
  suspensionState: SuspensionState | undefined;
181
181
  /** TESLEMETRY-EXT */
182
182
  childPresenceDetectionState: ChildPresenceDetectionState | undefined;
183
+ /** TESLEMETRY-EXT */
184
+ displayState: DisplayState | undefined;
183
185
  supportsOptionalFields?: boolean | undefined;
184
186
  }
185
187
  interface ClosuresState {
@@ -214,6 +216,8 @@ interface ClosuresState {
214
216
  hasSideStorageDoors?: boolean | undefined;
215
217
  doorOpenSideStorageLeft?: boolean | undefined;
216
218
  doorOpenSideStorageRight?: boolean | undefined;
219
+ /** TESLEMETRY-EXT */
220
+ cruiseSpeedLimitMph: number;
217
221
  timestamp: Date | undefined;
218
222
  }
219
223
  interface ClosuresState_SunRoofState {
@@ -516,6 +520,8 @@ declare enum ChargeState_PowershareType {
516
520
  PowershareTypeHome = 2,
517
521
  /** PowershareTypeGrid - TESLEMETRY-EXT */
518
522
  PowershareTypeGrid = 3,
523
+ /** PowershareTypePowerwall - TESLEMETRY-EXT */
524
+ PowershareTypePowerwall = 4,
519
525
  UNRECOGNIZED = -1
520
526
  }
521
527
  declare function chargeState_PowershareTypeFromJSON(object: any): ChargeState_PowershareType;
@@ -704,6 +710,7 @@ interface VehicleState {
704
710
  tpmsLastSeenPressureTimeRr: Date | undefined;
705
711
  deckLightsOn?: boolean | undefined;
706
712
  hazardsOn?: boolean | undefined;
713
+ deckLightsAllowed?: boolean | undefined;
707
714
  /** TESLEMETRY-EXT */
708
715
  legacyMediaInfo: LegacyMediaInfo | undefined;
709
716
  allowAuthorizedMobileDevicesOnly?: boolean | undefined;
@@ -1143,6 +1150,7 @@ interface VehicleConfig {
1143
1150
  autopilotBase: AutopilotBase;
1144
1151
  autopilotOverrideState: AutopilotOverrideState;
1145
1152
  autopilotOverrideExpireTime?: number | undefined;
1153
+ supportsDynamicEnvironments?: boolean | undefined;
1146
1154
  }
1147
1155
  declare enum VehicleConfig_AuxParkLampsE {
1148
1156
  AuxParkLampsNaBase = 0,
@@ -1353,6 +1361,11 @@ interface ChildPresenceDetectionState {
1353
1361
  cpdSupportsCriticalAlerts?: boolean | undefined;
1354
1362
  timestamp: Date | undefined;
1355
1363
  }
1364
+ interface DisplayState {
1365
+ displayBrightnessAuto: boolean;
1366
+ displayBrightnessScalePreference: number;
1367
+ timestamp: Date | undefined;
1368
+ }
1356
1369
  interface VehicleDetailState {
1357
1370
  timestamp: Date | undefined;
1358
1371
  vehicleName?: string | undefined;
@@ -1362,6 +1375,7 @@ interface VehicleDetailState {
1362
1375
  fsdSoftwareVersion?: string | undefined;
1363
1376
  currentProfileName?: string | undefined;
1364
1377
  chinaAutopilotSoftwareVersion?: string | undefined;
1378
+ isFsdV14OrAbove?: boolean | undefined;
1365
1379
  }
1366
1380
  declare const VehicleData: MessageFns<VehicleData>;
1367
1381
  declare const ClosuresState: MessageFns<ClosuresState>;
@@ -1425,6 +1439,7 @@ declare const VehicleImage: MessageFns<VehicleImage>;
1425
1439
  declare const VehicleImageState: MessageFns<VehicleImageState>;
1426
1440
  declare const SuspensionState: MessageFns<SuspensionState>;
1427
1441
  declare const ChildPresenceDetectionState: MessageFns<ChildPresenceDetectionState>;
1442
+ declare const DisplayState: MessageFns<DisplayState>;
1428
1443
  declare const VehicleDetailState: MessageFns<VehicleDetailState>;
1429
1444
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1430
1445
  type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]>; } : Partial<T>;
@@ -1439,4 +1454,4 @@ interface MessageFns<T> {
1439
1454
  fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
1440
1455
  }
1441
1456
  //#endregion
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 };
1457
+ 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, DisplayState, 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 };