@teslemetry/tesla-protocol 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/charging/charging.cjs +550 -0
  2. package/dist/charging/charging.d.cts +75 -0
  3. package/dist/charging/charging.d.mts +75 -0
  4. package/dist/charging/charging.mjs +543 -0
  5. package/dist/command/universal_message.cjs +5 -0
  6. package/dist/command/universal_message.d.cts +2 -0
  7. package/dist/command/universal_message.d.mts +2 -0
  8. package/dist/command/universal_message.mjs +5 -0
  9. package/dist/command/vcsec.cjs +87 -2
  10. package/dist/command/vcsec.d.cts +11 -1
  11. package/dist/command/vcsec.d.mts +11 -1
  12. package/dist/command/vcsec.mjs +86 -3
  13. package/dist/command/vehicle.cjs +27 -0
  14. package/dist/command/vehicle.d.cts +4 -0
  15. package/dist/command/vehicle.d.mts +4 -0
  16. package/dist/command/vehicle.mjs +27 -0
  17. package/dist/dashcam/dashcam_sei.cjs +263 -0
  18. package/dist/dashcam/dashcam_sei.d.cts +60 -0
  19. package/dist/dashcam/dashcam_sei.d.mts +60 -0
  20. package/dist/dashcam/dashcam_sei.mjs +255 -0
  21. package/dist/energy_device/common_api.cjs +604 -11
  22. package/dist/energy_device/common_api.d.cts +60 -3
  23. package/dist/energy_device/common_api.d.mts +60 -3
  24. package/dist/energy_device/common_api.mjs +596 -12
  25. package/dist/energy_device/device.cjs +129 -0
  26. package/dist/energy_device/device.d.cts +13 -1
  27. package/dist/energy_device/device.d.mts +13 -1
  28. package/dist/energy_device/device.mjs +127 -1
  29. package/dist/energy_device/energy_site_net.cjs +747 -0
  30. package/dist/energy_device/energy_site_net.d.cts +84 -1
  31. package/dist/energy_device/energy_site_net.d.mts +84 -1
  32. package/dist/energy_device/energy_site_net.mjs +736 -1
  33. package/dist/energy_device/filestore_api.cjs +575 -0
  34. package/dist/energy_device/filestore_api.d.cts +81 -0
  35. package/dist/energy_device/filestore_api.d.mts +81 -0
  36. package/dist/energy_device/filestore_api.mjs +563 -0
  37. package/dist/energy_device/google/protobuf/duration.cjs +71 -0
  38. package/dist/energy_device/google/protobuf/duration.d.cts +95 -0
  39. package/dist/energy_device/google/protobuf/duration.d.mts +95 -0
  40. package/dist/energy_device/google/protobuf/duration.mjs +69 -0
  41. package/dist/energy_device/graphql_api.cjs +449 -0
  42. package/dist/energy_device/graphql_api.d.cts +78 -0
  43. package/dist/energy_device/graphql_api.d.mts +78 -0
  44. package/dist/energy_device/graphql_api.mjs +434 -0
  45. package/dist/energy_device/intra_site_api.cjs +1698 -0
  46. package/dist/energy_device/intra_site_api.d.cts +227 -0
  47. package/dist/energy_device/intra_site_api.d.mts +227 -0
  48. package/dist/energy_device/intra_site_api.mjs +1644 -0
  49. package/dist/energy_device/local_auth_api.cjs +505 -0
  50. package/dist/energy_device/local_auth_api.d.cts +73 -0
  51. package/dist/energy_device/local_auth_api.d.mts +73 -0
  52. package/dist/energy_device/local_auth_api.mjs +492 -0
  53. package/dist/energy_device/networking.cjs +20 -2
  54. package/dist/energy_device/networking.d.cts +2 -0
  55. package/dist/energy_device/networking.d.mts +2 -0
  56. package/dist/energy_device/networking.mjs +20 -2
  57. package/dist/energy_device/neurio_meter_api.cjs +1442 -0
  58. package/dist/energy_device/neurio_meter_api.d.cts +202 -0
  59. package/dist/energy_device/neurio_meter_api.d.mts +202 -0
  60. package/dist/energy_device/neurio_meter_api.mjs +1401 -0
  61. package/dist/energy_device/pvi_api.cjs +2954 -0
  62. package/dist/energy_device/pvi_api.d.cts +319 -0
  63. package/dist/energy_device/pvi_api.d.mts +319 -0
  64. package/dist/energy_device/pvi_api.mjs +2892 -0
  65. package/dist/energy_device/teg_api.cjs +5184 -147
  66. package/dist/energy_device/teg_api.d.cts +492 -77
  67. package/dist/energy_device/teg_api.d.mts +492 -77
  68. package/dist/energy_device/teg_api.mjs +5064 -148
  69. package/dist/energy_device/transport.cjs +82 -2
  70. package/dist/energy_device/transport.d.cts +16 -5
  71. package/dist/energy_device/transport.d.mts +16 -5
  72. package/dist/energy_device/transport.mjs +82 -2
  73. package/dist/energy_device/update.cjs +33 -6
  74. package/dist/energy_device/update.d.cts +3 -0
  75. package/dist/energy_device/update.d.mts +3 -0
  76. package/dist/energy_device/update.mjs +33 -6
  77. package/dist/energy_device/wall_connector.cjs +6729 -5
  78. package/dist/energy_device/wall_connector.d.cts +696 -2
  79. package/dist/energy_device/wall_connector.d.mts +696 -2
  80. package/dist/energy_device/wall_connector.mjs +6591 -6
  81. package/package.json +1 -1
@@ -1787,12 +1787,87 @@ const CommandStatus = {
1787
1787
  return message;
1788
1788
  }
1789
1789
  };
1790
+ function createBaseAutonomyCommand() {
1791
+ return { pullOverCommand: void 0 };
1792
+ }
1793
+ const AutonomyCommand = {
1794
+ encode(message, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
1795
+ if (message.pullOverCommand !== void 0) AutonomyCommand_PullOverCommand.encode(message.pullOverCommand, writer.uint32(10).fork()).join();
1796
+ return writer;
1797
+ },
1798
+ decode(input, length) {
1799
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
1800
+ const end = length === void 0 ? reader.len : reader.pos + length;
1801
+ const message = createBaseAutonomyCommand();
1802
+ while (reader.pos < end) {
1803
+ const tag = reader.uint32();
1804
+ switch (tag >>> 3) {
1805
+ case 1:
1806
+ if (tag !== 10) break;
1807
+ message.pullOverCommand = AutonomyCommand_PullOverCommand.decode(reader, reader.uint32());
1808
+ continue;
1809
+ }
1810
+ if ((tag & 7) === 4 || tag === 0) break;
1811
+ reader.skip(tag & 7);
1812
+ }
1813
+ return message;
1814
+ },
1815
+ fromJSON(object) {
1816
+ return { pullOverCommand: isSet(object.pullOverCommand) ? AutonomyCommand_PullOverCommand.fromJSON(object.pullOverCommand) : void 0 };
1817
+ },
1818
+ toJSON(message) {
1819
+ const obj = {};
1820
+ if (message.pullOverCommand !== void 0) obj.pullOverCommand = AutonomyCommand_PullOverCommand.toJSON(message.pullOverCommand);
1821
+ return obj;
1822
+ },
1823
+ create(base) {
1824
+ return AutonomyCommand.fromPartial(base ?? {});
1825
+ },
1826
+ fromPartial(object) {
1827
+ const message = createBaseAutonomyCommand();
1828
+ message.pullOverCommand = object.pullOverCommand !== void 0 && object.pullOverCommand !== null ? AutonomyCommand_PullOverCommand.fromPartial(object.pullOverCommand) : void 0;
1829
+ return message;
1830
+ }
1831
+ };
1832
+ function createBaseAutonomyCommand_PullOverCommand() {
1833
+ return {};
1834
+ }
1835
+ const AutonomyCommand_PullOverCommand = {
1836
+ encode(_, writer = new _bufbuild_protobuf_wire.BinaryWriter()) {
1837
+ return writer;
1838
+ },
1839
+ decode(input, length) {
1840
+ const reader = input instanceof _bufbuild_protobuf_wire.BinaryReader ? input : new _bufbuild_protobuf_wire.BinaryReader(input);
1841
+ const end = length === void 0 ? reader.len : reader.pos + length;
1842
+ const message = createBaseAutonomyCommand_PullOverCommand();
1843
+ while (reader.pos < end) {
1844
+ const tag = reader.uint32();
1845
+ switch (tag >>> 3) {}
1846
+ if ((tag & 7) === 4 || tag === 0) break;
1847
+ reader.skip(tag & 7);
1848
+ }
1849
+ return message;
1850
+ },
1851
+ fromJSON(_) {
1852
+ return {};
1853
+ },
1854
+ toJSON(_) {
1855
+ return {};
1856
+ },
1857
+ create(base) {
1858
+ return AutonomyCommand_PullOverCommand.fromPartial(base ?? {});
1859
+ },
1860
+ fromPartial(_) {
1861
+ return createBaseAutonomyCommand_PullOverCommand();
1862
+ }
1863
+ };
1790
1864
  function createBaseUnsignedMessage() {
1791
1865
  return {
1792
1866
  InformationRequest: void 0,
1793
1867
  RKEAction: void 0,
1794
1868
  closureMoveRequest: void 0,
1795
- WhitelistOperation: void 0
1869
+ WhitelistOperation: void 0,
1870
+ autonomyCommand: void 0
1796
1871
  };
1797
1872
  }
1798
1873
  const UnsignedMessage = {
@@ -1801,6 +1876,7 @@ const UnsignedMessage = {
1801
1876
  if (message.RKEAction !== void 0) writer.uint32(16).int32(message.RKEAction);
1802
1877
  if (message.closureMoveRequest !== void 0) ClosureMoveRequest.encode(message.closureMoveRequest, writer.uint32(34).fork()).join();
1803
1878
  if (message.WhitelistOperation !== void 0) WhitelistOperation.encode(message.WhitelistOperation, writer.uint32(130).fork()).join();
1879
+ if (message.autonomyCommand !== void 0) AutonomyCommand.encode(message.autonomyCommand, writer.uint32(530).fork()).join();
1804
1880
  return writer;
1805
1881
  },
1806
1882
  decode(input, length) {
@@ -1826,6 +1902,10 @@ const UnsignedMessage = {
1826
1902
  if (tag !== 130) break;
1827
1903
  message.WhitelistOperation = WhitelistOperation.decode(reader, reader.uint32());
1828
1904
  continue;
1905
+ case 66:
1906
+ if (tag !== 530) break;
1907
+ message.autonomyCommand = AutonomyCommand.decode(reader, reader.uint32());
1908
+ continue;
1829
1909
  }
1830
1910
  if ((tag & 7) === 4 || tag === 0) break;
1831
1911
  reader.skip(tag & 7);
@@ -1837,7 +1917,8 @@ const UnsignedMessage = {
1837
1917
  InformationRequest: isSet(object.InformationRequest) ? InformationRequest.fromJSON(object.InformationRequest) : void 0,
1838
1918
  RKEAction: isSet(object.RKEAction) ? rKEActionEFromJSON(object.RKEAction) : void 0,
1839
1919
  closureMoveRequest: isSet(object.closureMoveRequest) ? ClosureMoveRequest.fromJSON(object.closureMoveRequest) : void 0,
1840
- WhitelistOperation: isSet(object.WhitelistOperation) ? WhitelistOperation.fromJSON(object.WhitelistOperation) : void 0
1920
+ WhitelistOperation: isSet(object.WhitelistOperation) ? WhitelistOperation.fromJSON(object.WhitelistOperation) : void 0,
1921
+ autonomyCommand: isSet(object.autonomyCommand) ? AutonomyCommand.fromJSON(object.autonomyCommand) : void 0
1841
1922
  };
1842
1923
  },
1843
1924
  toJSON(message) {
@@ -1846,6 +1927,7 @@ const UnsignedMessage = {
1846
1927
  if (message.RKEAction !== void 0) obj.RKEAction = rKEActionEToJSON(message.RKEAction);
1847
1928
  if (message.closureMoveRequest !== void 0) obj.closureMoveRequest = ClosureMoveRequest.toJSON(message.closureMoveRequest);
1848
1929
  if (message.WhitelistOperation !== void 0) obj.WhitelistOperation = WhitelistOperation.toJSON(message.WhitelistOperation);
1930
+ if (message.autonomyCommand !== void 0) obj.autonomyCommand = AutonomyCommand.toJSON(message.autonomyCommand);
1849
1931
  return obj;
1850
1932
  },
1851
1933
  create(base) {
@@ -1857,6 +1939,7 @@ const UnsignedMessage = {
1857
1939
  message.RKEAction = object.RKEAction ?? void 0;
1858
1940
  message.closureMoveRequest = object.closureMoveRequest !== void 0 && object.closureMoveRequest !== null ? ClosureMoveRequest.fromPartial(object.closureMoveRequest) : void 0;
1859
1941
  message.WhitelistOperation = object.WhitelistOperation !== void 0 && object.WhitelistOperation !== null ? WhitelistOperation.fromPartial(object.WhitelistOperation) : void 0;
1942
+ message.autonomyCommand = object.autonomyCommand !== void 0 && object.autonomyCommand !== null ? AutonomyCommand.fromPartial(object.autonomyCommand) : void 0;
1860
1943
  return message;
1861
1944
  }
1862
1945
  };
@@ -2216,6 +2299,8 @@ function isSet(value) {
2216
2299
  return value !== null && value !== void 0;
2217
2300
  }
2218
2301
  //#endregion
2302
+ exports.AutonomyCommand = AutonomyCommand;
2303
+ exports.AutonomyCommand_PullOverCommand = AutonomyCommand_PullOverCommand;
2219
2304
  exports.ClosureMoveRequest = ClosureMoveRequest;
2220
2305
  exports.ClosureMoveTypeE = ClosureMoveTypeE;
2221
2306
  exports.ClosureStateE = ClosureStateE;
@@ -331,11 +331,19 @@ interface CommandStatus {
331
331
  signedMessageStatus?: SignedMessageStatus | undefined;
332
332
  whitelistOperationStatus?: WhitelistOperationStatus | undefined;
333
333
  }
334
+ /** ===== TESLEMETRY-EXT BEGIN (app-4.58.6) ===== */
335
+ interface AutonomyCommand {
336
+ pullOverCommand?: AutonomyCommand_PullOverCommand | undefined;
337
+ }
338
+ /** Remote "pull over" request for a vehicle driving under autonomy - a trigger, no parameters. */
339
+ interface AutonomyCommand_PullOverCommand {}
334
340
  interface UnsignedMessage {
335
341
  InformationRequest?: InformationRequest | undefined;
336
342
  RKEAction?: RKEActionE | undefined;
337
343
  closureMoveRequest?: ClosureMoveRequest | undefined;
338
344
  WhitelistOperation?: WhitelistOperation | undefined;
345
+ /** TESLEMETRY-EXT (app-4.58.6) */
346
+ autonomyCommand?: AutonomyCommand | undefined;
339
347
  }
340
348
  interface ClosureStatuses {
341
349
  frontDriverDoor: ClosureStateE;
@@ -383,6 +391,8 @@ declare const WhitelistOperation: MessageFns<WhitelistOperation>;
383
391
  declare const WhitelistOperationStatus: MessageFns<WhitelistOperationStatus>;
384
392
  declare const SignedMessageStatus: MessageFns<SignedMessageStatus>;
385
393
  declare const CommandStatus: MessageFns<CommandStatus>;
394
+ declare const AutonomyCommand: MessageFns<AutonomyCommand>;
395
+ declare const AutonomyCommand_PullOverCommand: MessageFns<AutonomyCommand_PullOverCommand>;
386
396
  declare const UnsignedMessage: MessageFns<UnsignedMessage>;
387
397
  declare const ClosureStatuses: MessageFns<ClosureStatuses>;
388
398
  declare const DetailedClosureStatus: MessageFns<DetailedClosureStatus>;
@@ -401,4 +411,4 @@ interface MessageFns<T> {
401
411
  fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
402
412
  }
403
413
  //#endregion
404
- export { ClosureMoveRequest, ClosureMoveTypeE, ClosureStateE, ClosureStatuses, CommandStatus, DeepPartial, DetailedClosureStatus, Exact, FromVCSECMessage, GearE, InformationRequest, InformationRequestType, KeyFormFactor, KeyIdentifier, KeyMetadata, MessageFns, OperationStatusE, PermissionChange, PublicKey, RKEActionE, ReplaceKey, SignatureType, SignedMessage, SignedMessageInformationE, SignedMessageStatus, ToVCSECMessage, UIDesireE, UnsignedMessage, UserPresenceE, VehicleLockStateE, VehicleSleepStatusE, VehicleStatus, WhitelistEntryInfo, WhitelistInfo, WhitelistOperation, WhitelistOperationInformationE, WhitelistOperationStatus, closureMoveTypeEFromJSON, closureMoveTypeEToJSON, closureStateEFromJSON, closureStateEToJSON, gearEFromJSON, gearEToJSON, informationRequestTypeFromJSON, informationRequestTypeToJSON, keyFormFactorFromJSON, keyFormFactorToJSON, operationStatusEFromJSON, operationStatusEToJSON, protobufPackage, rKEActionEFromJSON, rKEActionEToJSON, signatureTypeFromJSON, signatureTypeToJSON, signedMessageInformationEFromJSON, signedMessageInformationEToJSON, uIDesireEFromJSON, uIDesireEToJSON, userPresenceEFromJSON, userPresenceEToJSON, vehicleLockStateEFromJSON, vehicleLockStateEToJSON, vehicleSleepStatusEFromJSON, vehicleSleepStatusEToJSON, whitelistOperationInformationEFromJSON, whitelistOperationInformationEToJSON };
414
+ export { AutonomyCommand, AutonomyCommand_PullOverCommand, ClosureMoveRequest, ClosureMoveTypeE, ClosureStateE, ClosureStatuses, CommandStatus, DeepPartial, DetailedClosureStatus, Exact, FromVCSECMessage, GearE, InformationRequest, InformationRequestType, KeyFormFactor, KeyIdentifier, KeyMetadata, MessageFns, OperationStatusE, PermissionChange, PublicKey, RKEActionE, ReplaceKey, SignatureType, SignedMessage, SignedMessageInformationE, SignedMessageStatus, ToVCSECMessage, UIDesireE, UnsignedMessage, UserPresenceE, VehicleLockStateE, VehicleSleepStatusE, VehicleStatus, WhitelistEntryInfo, WhitelistInfo, WhitelistOperation, WhitelistOperationInformationE, WhitelistOperationStatus, closureMoveTypeEFromJSON, closureMoveTypeEToJSON, closureStateEFromJSON, closureStateEToJSON, gearEFromJSON, gearEToJSON, informationRequestTypeFromJSON, informationRequestTypeToJSON, keyFormFactorFromJSON, keyFormFactorToJSON, operationStatusEFromJSON, operationStatusEToJSON, protobufPackage, rKEActionEFromJSON, rKEActionEToJSON, signatureTypeFromJSON, signatureTypeToJSON, signedMessageInformationEFromJSON, signedMessageInformationEToJSON, uIDesireEFromJSON, uIDesireEToJSON, userPresenceEFromJSON, userPresenceEToJSON, vehicleLockStateEFromJSON, vehicleLockStateEToJSON, vehicleSleepStatusEFromJSON, vehicleSleepStatusEToJSON, whitelistOperationInformationEFromJSON, whitelistOperationInformationEToJSON };
@@ -331,11 +331,19 @@ interface CommandStatus {
331
331
  signedMessageStatus?: SignedMessageStatus | undefined;
332
332
  whitelistOperationStatus?: WhitelistOperationStatus | undefined;
333
333
  }
334
+ /** ===== TESLEMETRY-EXT BEGIN (app-4.58.6) ===== */
335
+ interface AutonomyCommand {
336
+ pullOverCommand?: AutonomyCommand_PullOverCommand | undefined;
337
+ }
338
+ /** Remote "pull over" request for a vehicle driving under autonomy - a trigger, no parameters. */
339
+ interface AutonomyCommand_PullOverCommand {}
334
340
  interface UnsignedMessage {
335
341
  InformationRequest?: InformationRequest | undefined;
336
342
  RKEAction?: RKEActionE | undefined;
337
343
  closureMoveRequest?: ClosureMoveRequest | undefined;
338
344
  WhitelistOperation?: WhitelistOperation | undefined;
345
+ /** TESLEMETRY-EXT (app-4.58.6) */
346
+ autonomyCommand?: AutonomyCommand | undefined;
339
347
  }
340
348
  interface ClosureStatuses {
341
349
  frontDriverDoor: ClosureStateE;
@@ -383,6 +391,8 @@ declare const WhitelistOperation: MessageFns<WhitelistOperation>;
383
391
  declare const WhitelistOperationStatus: MessageFns<WhitelistOperationStatus>;
384
392
  declare const SignedMessageStatus: MessageFns<SignedMessageStatus>;
385
393
  declare const CommandStatus: MessageFns<CommandStatus>;
394
+ declare const AutonomyCommand: MessageFns<AutonomyCommand>;
395
+ declare const AutonomyCommand_PullOverCommand: MessageFns<AutonomyCommand_PullOverCommand>;
386
396
  declare const UnsignedMessage: MessageFns<UnsignedMessage>;
387
397
  declare const ClosureStatuses: MessageFns<ClosureStatuses>;
388
398
  declare const DetailedClosureStatus: MessageFns<DetailedClosureStatus>;
@@ -401,4 +411,4 @@ interface MessageFns<T> {
401
411
  fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
402
412
  }
403
413
  //#endregion
404
- export { ClosureMoveRequest, ClosureMoveTypeE, ClosureStateE, ClosureStatuses, CommandStatus, DeepPartial, DetailedClosureStatus, Exact, FromVCSECMessage, GearE, InformationRequest, InformationRequestType, KeyFormFactor, KeyIdentifier, KeyMetadata, MessageFns, OperationStatusE, PermissionChange, PublicKey, RKEActionE, ReplaceKey, SignatureType, SignedMessage, SignedMessageInformationE, SignedMessageStatus, ToVCSECMessage, UIDesireE, UnsignedMessage, UserPresenceE, VehicleLockStateE, VehicleSleepStatusE, VehicleStatus, WhitelistEntryInfo, WhitelistInfo, WhitelistOperation, WhitelistOperationInformationE, WhitelistOperationStatus, closureMoveTypeEFromJSON, closureMoveTypeEToJSON, closureStateEFromJSON, closureStateEToJSON, gearEFromJSON, gearEToJSON, informationRequestTypeFromJSON, informationRequestTypeToJSON, keyFormFactorFromJSON, keyFormFactorToJSON, operationStatusEFromJSON, operationStatusEToJSON, protobufPackage, rKEActionEFromJSON, rKEActionEToJSON, signatureTypeFromJSON, signatureTypeToJSON, signedMessageInformationEFromJSON, signedMessageInformationEToJSON, uIDesireEFromJSON, uIDesireEToJSON, userPresenceEFromJSON, userPresenceEToJSON, vehicleLockStateEFromJSON, vehicleLockStateEToJSON, vehicleSleepStatusEFromJSON, vehicleSleepStatusEToJSON, whitelistOperationInformationEFromJSON, whitelistOperationInformationEToJSON };
414
+ export { AutonomyCommand, AutonomyCommand_PullOverCommand, ClosureMoveRequest, ClosureMoveTypeE, ClosureStateE, ClosureStatuses, CommandStatus, DeepPartial, DetailedClosureStatus, Exact, FromVCSECMessage, GearE, InformationRequest, InformationRequestType, KeyFormFactor, KeyIdentifier, KeyMetadata, MessageFns, OperationStatusE, PermissionChange, PublicKey, RKEActionE, ReplaceKey, SignatureType, SignedMessage, SignedMessageInformationE, SignedMessageStatus, ToVCSECMessage, UIDesireE, UnsignedMessage, UserPresenceE, VehicleLockStateE, VehicleSleepStatusE, VehicleStatus, WhitelistEntryInfo, WhitelistInfo, WhitelistOperation, WhitelistOperationInformationE, WhitelistOperationStatus, closureMoveTypeEFromJSON, closureMoveTypeEToJSON, closureStateEFromJSON, closureStateEToJSON, gearEFromJSON, gearEToJSON, informationRequestTypeFromJSON, informationRequestTypeToJSON, keyFormFactorFromJSON, keyFormFactorToJSON, operationStatusEFromJSON, operationStatusEToJSON, protobufPackage, rKEActionEFromJSON, rKEActionEToJSON, signatureTypeFromJSON, signatureTypeToJSON, signedMessageInformationEFromJSON, signedMessageInformationEToJSON, uIDesireEFromJSON, uIDesireEToJSON, userPresenceEFromJSON, userPresenceEToJSON, vehicleLockStateEFromJSON, vehicleLockStateEToJSON, vehicleSleepStatusEFromJSON, vehicleSleepStatusEToJSON, whitelistOperationInformationEFromJSON, whitelistOperationInformationEToJSON };
@@ -1786,12 +1786,87 @@ const CommandStatus = {
1786
1786
  return message;
1787
1787
  }
1788
1788
  };
1789
+ function createBaseAutonomyCommand() {
1790
+ return { pullOverCommand: void 0 };
1791
+ }
1792
+ const AutonomyCommand = {
1793
+ encode(message, writer = new BinaryWriter()) {
1794
+ if (message.pullOverCommand !== void 0) AutonomyCommand_PullOverCommand.encode(message.pullOverCommand, writer.uint32(10).fork()).join();
1795
+ return writer;
1796
+ },
1797
+ decode(input, length) {
1798
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1799
+ const end = length === void 0 ? reader.len : reader.pos + length;
1800
+ const message = createBaseAutonomyCommand();
1801
+ while (reader.pos < end) {
1802
+ const tag = reader.uint32();
1803
+ switch (tag >>> 3) {
1804
+ case 1:
1805
+ if (tag !== 10) break;
1806
+ message.pullOverCommand = AutonomyCommand_PullOverCommand.decode(reader, reader.uint32());
1807
+ continue;
1808
+ }
1809
+ if ((tag & 7) === 4 || tag === 0) break;
1810
+ reader.skip(tag & 7);
1811
+ }
1812
+ return message;
1813
+ },
1814
+ fromJSON(object) {
1815
+ return { pullOverCommand: isSet(object.pullOverCommand) ? AutonomyCommand_PullOverCommand.fromJSON(object.pullOverCommand) : void 0 };
1816
+ },
1817
+ toJSON(message) {
1818
+ const obj = {};
1819
+ if (message.pullOverCommand !== void 0) obj.pullOverCommand = AutonomyCommand_PullOverCommand.toJSON(message.pullOverCommand);
1820
+ return obj;
1821
+ },
1822
+ create(base) {
1823
+ return AutonomyCommand.fromPartial(base ?? {});
1824
+ },
1825
+ fromPartial(object) {
1826
+ const message = createBaseAutonomyCommand();
1827
+ message.pullOverCommand = object.pullOverCommand !== void 0 && object.pullOverCommand !== null ? AutonomyCommand_PullOverCommand.fromPartial(object.pullOverCommand) : void 0;
1828
+ return message;
1829
+ }
1830
+ };
1831
+ function createBaseAutonomyCommand_PullOverCommand() {
1832
+ return {};
1833
+ }
1834
+ const AutonomyCommand_PullOverCommand = {
1835
+ encode(_, writer = new BinaryWriter()) {
1836
+ return writer;
1837
+ },
1838
+ decode(input, length) {
1839
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1840
+ const end = length === void 0 ? reader.len : reader.pos + length;
1841
+ const message = createBaseAutonomyCommand_PullOverCommand();
1842
+ while (reader.pos < end) {
1843
+ const tag = reader.uint32();
1844
+ switch (tag >>> 3) {}
1845
+ if ((tag & 7) === 4 || tag === 0) break;
1846
+ reader.skip(tag & 7);
1847
+ }
1848
+ return message;
1849
+ },
1850
+ fromJSON(_) {
1851
+ return {};
1852
+ },
1853
+ toJSON(_) {
1854
+ return {};
1855
+ },
1856
+ create(base) {
1857
+ return AutonomyCommand_PullOverCommand.fromPartial(base ?? {});
1858
+ },
1859
+ fromPartial(_) {
1860
+ return createBaseAutonomyCommand_PullOverCommand();
1861
+ }
1862
+ };
1789
1863
  function createBaseUnsignedMessage() {
1790
1864
  return {
1791
1865
  InformationRequest: void 0,
1792
1866
  RKEAction: void 0,
1793
1867
  closureMoveRequest: void 0,
1794
- WhitelistOperation: void 0
1868
+ WhitelistOperation: void 0,
1869
+ autonomyCommand: void 0
1795
1870
  };
1796
1871
  }
1797
1872
  const UnsignedMessage = {
@@ -1800,6 +1875,7 @@ const UnsignedMessage = {
1800
1875
  if (message.RKEAction !== void 0) writer.uint32(16).int32(message.RKEAction);
1801
1876
  if (message.closureMoveRequest !== void 0) ClosureMoveRequest.encode(message.closureMoveRequest, writer.uint32(34).fork()).join();
1802
1877
  if (message.WhitelistOperation !== void 0) WhitelistOperation.encode(message.WhitelistOperation, writer.uint32(130).fork()).join();
1878
+ if (message.autonomyCommand !== void 0) AutonomyCommand.encode(message.autonomyCommand, writer.uint32(530).fork()).join();
1803
1879
  return writer;
1804
1880
  },
1805
1881
  decode(input, length) {
@@ -1825,6 +1901,10 @@ const UnsignedMessage = {
1825
1901
  if (tag !== 130) break;
1826
1902
  message.WhitelistOperation = WhitelistOperation.decode(reader, reader.uint32());
1827
1903
  continue;
1904
+ case 66:
1905
+ if (tag !== 530) break;
1906
+ message.autonomyCommand = AutonomyCommand.decode(reader, reader.uint32());
1907
+ continue;
1828
1908
  }
1829
1909
  if ((tag & 7) === 4 || tag === 0) break;
1830
1910
  reader.skip(tag & 7);
@@ -1836,7 +1916,8 @@ const UnsignedMessage = {
1836
1916
  InformationRequest: isSet(object.InformationRequest) ? InformationRequest.fromJSON(object.InformationRequest) : void 0,
1837
1917
  RKEAction: isSet(object.RKEAction) ? rKEActionEFromJSON(object.RKEAction) : void 0,
1838
1918
  closureMoveRequest: isSet(object.closureMoveRequest) ? ClosureMoveRequest.fromJSON(object.closureMoveRequest) : void 0,
1839
- WhitelistOperation: isSet(object.WhitelistOperation) ? WhitelistOperation.fromJSON(object.WhitelistOperation) : void 0
1919
+ WhitelistOperation: isSet(object.WhitelistOperation) ? WhitelistOperation.fromJSON(object.WhitelistOperation) : void 0,
1920
+ autonomyCommand: isSet(object.autonomyCommand) ? AutonomyCommand.fromJSON(object.autonomyCommand) : void 0
1840
1921
  };
1841
1922
  },
1842
1923
  toJSON(message) {
@@ -1845,6 +1926,7 @@ const UnsignedMessage = {
1845
1926
  if (message.RKEAction !== void 0) obj.RKEAction = rKEActionEToJSON(message.RKEAction);
1846
1927
  if (message.closureMoveRequest !== void 0) obj.closureMoveRequest = ClosureMoveRequest.toJSON(message.closureMoveRequest);
1847
1928
  if (message.WhitelistOperation !== void 0) obj.WhitelistOperation = WhitelistOperation.toJSON(message.WhitelistOperation);
1929
+ if (message.autonomyCommand !== void 0) obj.autonomyCommand = AutonomyCommand.toJSON(message.autonomyCommand);
1848
1930
  return obj;
1849
1931
  },
1850
1932
  create(base) {
@@ -1856,6 +1938,7 @@ const UnsignedMessage = {
1856
1938
  message.RKEAction = object.RKEAction ?? void 0;
1857
1939
  message.closureMoveRequest = object.closureMoveRequest !== void 0 && object.closureMoveRequest !== null ? ClosureMoveRequest.fromPartial(object.closureMoveRequest) : void 0;
1858
1940
  message.WhitelistOperation = object.WhitelistOperation !== void 0 && object.WhitelistOperation !== null ? WhitelistOperation.fromPartial(object.WhitelistOperation) : void 0;
1941
+ message.autonomyCommand = object.autonomyCommand !== void 0 && object.autonomyCommand !== null ? AutonomyCommand.fromPartial(object.autonomyCommand) : void 0;
1859
1942
  return message;
1860
1943
  }
1861
1944
  };
@@ -2215,4 +2298,4 @@ function isSet(value) {
2215
2298
  return value !== null && value !== void 0;
2216
2299
  }
2217
2300
  //#endregion
2218
- export { ClosureMoveRequest, ClosureMoveTypeE, ClosureStateE, ClosureStatuses, CommandStatus, DetailedClosureStatus, FromVCSECMessage, GearE, InformationRequest, InformationRequestType, KeyFormFactor, KeyIdentifier, KeyMetadata, OperationStatusE, PermissionChange, PublicKey, RKEActionE, ReplaceKey, SignatureType, SignedMessage, SignedMessageInformationE, SignedMessageStatus, ToVCSECMessage, UIDesireE, UnsignedMessage, UserPresenceE, VehicleLockStateE, VehicleSleepStatusE, VehicleStatus, WhitelistEntryInfo, WhitelistInfo, WhitelistOperation, WhitelistOperationInformationE, WhitelistOperationStatus, closureMoveTypeEFromJSON, closureMoveTypeEToJSON, closureStateEFromJSON, closureStateEToJSON, gearEFromJSON, gearEToJSON, informationRequestTypeFromJSON, informationRequestTypeToJSON, keyFormFactorFromJSON, keyFormFactorToJSON, operationStatusEFromJSON, operationStatusEToJSON, protobufPackage, rKEActionEFromJSON, rKEActionEToJSON, signatureTypeFromJSON, signatureTypeToJSON, signedMessageInformationEFromJSON, signedMessageInformationEToJSON, uIDesireEFromJSON, uIDesireEToJSON, userPresenceEFromJSON, userPresenceEToJSON, vehicleLockStateEFromJSON, vehicleLockStateEToJSON, vehicleSleepStatusEFromJSON, vehicleSleepStatusEToJSON, whitelistOperationInformationEFromJSON, whitelistOperationInformationEToJSON };
2301
+ export { AutonomyCommand, AutonomyCommand_PullOverCommand, ClosureMoveRequest, ClosureMoveTypeE, ClosureStateE, ClosureStatuses, CommandStatus, DetailedClosureStatus, FromVCSECMessage, GearE, InformationRequest, InformationRequestType, KeyFormFactor, KeyIdentifier, KeyMetadata, OperationStatusE, PermissionChange, PublicKey, RKEActionE, ReplaceKey, SignatureType, SignedMessage, SignedMessageInformationE, SignedMessageStatus, ToVCSECMessage, UIDesireE, UnsignedMessage, UserPresenceE, VehicleLockStateE, VehicleSleepStatusE, VehicleStatus, WhitelistEntryInfo, WhitelistInfo, WhitelistOperation, WhitelistOperationInformationE, WhitelistOperationStatus, closureMoveTypeEFromJSON, closureMoveTypeEToJSON, closureStateEFromJSON, closureStateEToJSON, gearEFromJSON, gearEToJSON, informationRequestTypeFromJSON, informationRequestTypeToJSON, keyFormFactorFromJSON, keyFormFactorToJSON, operationStatusEFromJSON, operationStatusEToJSON, protobufPackage, rKEActionEFromJSON, rKEActionEToJSON, signatureTypeFromJSON, signatureTypeToJSON, signedMessageInformationEFromJSON, signedMessageInformationEToJSON, uIDesireEFromJSON, uIDesireEToJSON, userPresenceEFromJSON, userPresenceEToJSON, vehicleLockStateEFromJSON, vehicleLockStateEToJSON, vehicleSleepStatusEFromJSON, vehicleSleepStatusEToJSON, whitelistOperationInformationEFromJSON, whitelistOperationInformationEToJSON };
@@ -1339,6 +1339,7 @@ function createBaseVehicleData() {
1339
1339
  chargeScheduleState: void 0,
1340
1340
  preconditioningScheduleState: void 0,
1341
1341
  sohState: void 0,
1342
+ unknown: /* @__PURE__ */ new Uint8Array(0),
1342
1343
  tirePressureState: void 0,
1343
1344
  mediaState: void 0,
1344
1345
  mediaDetailState: void 0,
@@ -1369,6 +1370,7 @@ const VehicleData = {
1369
1370
  if (message.chargeScheduleState !== void 0) ChargeScheduleState.encode(message.chargeScheduleState, writer.uint32(122).fork()).join();
1370
1371
  if (message.preconditioningScheduleState !== void 0) PreconditioningScheduleState.encode(message.preconditioningScheduleState, writer.uint32(130).fork()).join();
1371
1372
  if (message.sohState !== void 0) SohState.encode(message.sohState, writer.uint32(138).fork()).join();
1373
+ if (message.unknown.length !== 0) writer.uint32(146).bytes(message.unknown);
1372
1374
  if (message.tirePressureState !== void 0) TirePressureState.encode(message.tirePressureState, writer.uint32(154).fork()).join();
1373
1375
  if (message.mediaState !== void 0) MediaState.encode(message.mediaState, writer.uint32(162).fork()).join();
1374
1376
  if (message.mediaDetailState !== void 0) MediaDetailState.encode(message.mediaDetailState, writer.uint32(170).fork()).join();
@@ -1446,6 +1448,10 @@ const VehicleData = {
1446
1448
  if (tag !== 138) break;
1447
1449
  message.sohState = SohState.decode(reader, reader.uint32());
1448
1450
  continue;
1451
+ case 18:
1452
+ if (tag !== 146) break;
1453
+ message.unknown = reader.bytes();
1454
+ continue;
1449
1455
  case 19:
1450
1456
  if (tag !== 154) break;
1451
1457
  message.tirePressureState = TirePressureState.decode(reader, reader.uint32());
@@ -1516,6 +1522,7 @@ const VehicleData = {
1516
1522
  chargeScheduleState: isSet(object.chargeScheduleState) ? ChargeScheduleState.fromJSON(object.chargeScheduleState) : void 0,
1517
1523
  preconditioningScheduleState: isSet(object.preconditioningScheduleState) ? PreconditioningScheduleState.fromJSON(object.preconditioningScheduleState) : void 0,
1518
1524
  sohState: isSet(object.sohState) ? SohState.fromJSON(object.sohState) : void 0,
1525
+ unknown: isSet(object.unknown) ? bytesFromBase64(object.unknown) : /* @__PURE__ */ new Uint8Array(0),
1519
1526
  tirePressureState: isSet(object.tirePressureState) ? TirePressureState.fromJSON(object.tirePressureState) : void 0,
1520
1527
  mediaState: isSet(object.mediaState) ? MediaState.fromJSON(object.mediaState) : void 0,
1521
1528
  mediaDetailState: isSet(object.mediaDetailState) ? MediaDetailState.fromJSON(object.mediaDetailState) : void 0,
@@ -1546,6 +1553,7 @@ const VehicleData = {
1546
1553
  if (message.chargeScheduleState !== void 0) obj.chargeScheduleState = ChargeScheduleState.toJSON(message.chargeScheduleState);
1547
1554
  if (message.preconditioningScheduleState !== void 0) obj.preconditioningScheduleState = PreconditioningScheduleState.toJSON(message.preconditioningScheduleState);
1548
1555
  if (message.sohState !== void 0) obj.sohState = SohState.toJSON(message.sohState);
1556
+ if (message.unknown !== void 0) obj.unknown = base64FromBytes(message.unknown);
1549
1557
  if (message.tirePressureState !== void 0) obj.tirePressureState = TirePressureState.toJSON(message.tirePressureState);
1550
1558
  if (message.mediaState !== void 0) obj.mediaState = MediaState.toJSON(message.mediaState);
1551
1559
  if (message.mediaDetailState !== void 0) obj.mediaDetailState = MediaDetailState.toJSON(message.mediaDetailState);
@@ -1579,6 +1587,7 @@ const VehicleData = {
1579
1587
  message.chargeScheduleState = object.chargeScheduleState !== void 0 && object.chargeScheduleState !== null ? ChargeScheduleState.fromPartial(object.chargeScheduleState) : void 0;
1580
1588
  message.preconditioningScheduleState = object.preconditioningScheduleState !== void 0 && object.preconditioningScheduleState !== null ? PreconditioningScheduleState.fromPartial(object.preconditioningScheduleState) : void 0;
1581
1589
  message.sohState = object.sohState !== void 0 && object.sohState !== null ? SohState.fromPartial(object.sohState) : void 0;
1590
+ message.unknown = object.unknown ?? /* @__PURE__ */ new Uint8Array(0);
1582
1591
  message.tirePressureState = object.tirePressureState !== void 0 && object.tirePressureState !== null ? TirePressureState.fromPartial(object.tirePressureState) : void 0;
1583
1592
  message.mediaState = object.mediaState !== void 0 && object.mediaState !== null ? MediaState.fromPartial(object.mediaState) : void 0;
1584
1593
  message.mediaDetailState = object.mediaDetailState !== void 0 && object.mediaDetailState !== null ? MediaDetailState.fromPartial(object.mediaDetailState) : void 0;
@@ -5295,6 +5304,8 @@ function createBaseVehicleState() {
5295
5304
  tpmsLastSeenPressureTimeFr: void 0,
5296
5305
  tpmsLastSeenPressureTimeRl: void 0,
5297
5306
  tpmsLastSeenPressureTimeRr: void 0,
5307
+ deckLightsOn: void 0,
5308
+ hazardsOn: void 0,
5298
5309
  legacyMediaInfo: void 0,
5299
5310
  allowAuthorizedMobileDevicesOnly: void 0,
5300
5311
  guestMode: void 0,
@@ -5376,6 +5387,8 @@ const VehicleState = {
5376
5387
  if (message.tpmsLastSeenPressureTimeFr !== void 0) require_command_google_protobuf_timestamp.Timestamp.encode(toTimestamp(message.tpmsLastSeenPressureTimeFr), writer.uint32(474).fork()).join();
5377
5388
  if (message.tpmsLastSeenPressureTimeRl !== void 0) require_command_google_protobuf_timestamp.Timestamp.encode(toTimestamp(message.tpmsLastSeenPressureTimeRl), writer.uint32(482).fork()).join();
5378
5389
  if (message.tpmsLastSeenPressureTimeRr !== void 0) require_command_google_protobuf_timestamp.Timestamp.encode(toTimestamp(message.tpmsLastSeenPressureTimeRr), writer.uint32(490).fork()).join();
5390
+ if (message.deckLightsOn !== void 0) writer.uint32(536).bool(message.deckLightsOn);
5391
+ if (message.hazardsOn !== void 0) writer.uint32(544).bool(message.hazardsOn);
5379
5392
  if (message.legacyMediaInfo !== void 0) LegacyMediaInfo.encode(message.legacyMediaInfo, writer.uint32(578).fork()).join();
5380
5393
  if (message.allowAuthorizedMobileDevicesOnly !== void 0) writer.uint32(584).bool(message.allowAuthorizedMobileDevicesOnly);
5381
5394
  if (message.guestMode !== void 0) VehicleState_GuestMode.encode(message.guestMode, writer.uint32(594).fork()).join();
@@ -5491,6 +5504,14 @@ const VehicleState = {
5491
5504
  if (tag !== 490) break;
5492
5505
  message.tpmsLastSeenPressureTimeRr = fromTimestamp(require_command_google_protobuf_timestamp.Timestamp.decode(reader, reader.uint32()));
5493
5506
  continue;
5507
+ case 67:
5508
+ if (tag !== 536) break;
5509
+ message.deckLightsOn = reader.bool();
5510
+ continue;
5511
+ case 68:
5512
+ if (tag !== 544) break;
5513
+ message.hazardsOn = reader.bool();
5514
+ continue;
5494
5515
  case 72:
5495
5516
  if (tag !== 578) break;
5496
5517
  message.legacyMediaInfo = LegacyMediaInfo.decode(reader, reader.uint32());
@@ -5775,6 +5796,8 @@ const VehicleState = {
5775
5796
  tpmsLastSeenPressureTimeFr: isSet(object.tpmsLastSeenPressureTimeFr) ? fromJsonTimestamp(object.tpmsLastSeenPressureTimeFr) : void 0,
5776
5797
  tpmsLastSeenPressureTimeRl: isSet(object.tpmsLastSeenPressureTimeRl) ? fromJsonTimestamp(object.tpmsLastSeenPressureTimeRl) : void 0,
5777
5798
  tpmsLastSeenPressureTimeRr: isSet(object.tpmsLastSeenPressureTimeRr) ? fromJsonTimestamp(object.tpmsLastSeenPressureTimeRr) : void 0,
5799
+ deckLightsOn: isSet(object.deckLightsOn) ? globalThis.Boolean(object.deckLightsOn) : void 0,
5800
+ hazardsOn: isSet(object.hazardsOn) ? globalThis.Boolean(object.hazardsOn) : void 0,
5778
5801
  legacyMediaInfo: isSet(object.legacyMediaInfo) ? LegacyMediaInfo.fromJSON(object.legacyMediaInfo) : void 0,
5779
5802
  allowAuthorizedMobileDevicesOnly: isSet(object.allowAuthorizedMobileDevicesOnly) ? globalThis.Boolean(object.allowAuthorizedMobileDevicesOnly) : void 0,
5780
5803
  guestMode: isSet(object.guestMode) ? VehicleState_GuestMode.fromJSON(object.guestMode) : void 0,
@@ -5854,6 +5877,8 @@ const VehicleState = {
5854
5877
  if (message.tpmsLastSeenPressureTimeFr !== void 0) obj.tpmsLastSeenPressureTimeFr = message.tpmsLastSeenPressureTimeFr.toISOString();
5855
5878
  if (message.tpmsLastSeenPressureTimeRl !== void 0) obj.tpmsLastSeenPressureTimeRl = message.tpmsLastSeenPressureTimeRl.toISOString();
5856
5879
  if (message.tpmsLastSeenPressureTimeRr !== void 0) obj.tpmsLastSeenPressureTimeRr = message.tpmsLastSeenPressureTimeRr.toISOString();
5880
+ if (message.deckLightsOn !== void 0) obj.deckLightsOn = message.deckLightsOn;
5881
+ if (message.hazardsOn !== void 0) obj.hazardsOn = message.hazardsOn;
5857
5882
  if (message.legacyMediaInfo !== void 0) obj.legacyMediaInfo = LegacyMediaInfo.toJSON(message.legacyMediaInfo);
5858
5883
  if (message.allowAuthorizedMobileDevicesOnly !== void 0) obj.allowAuthorizedMobileDevicesOnly = message.allowAuthorizedMobileDevicesOnly;
5859
5884
  if (message.guestMode !== void 0) obj.guestMode = VehicleState_GuestMode.toJSON(message.guestMode);
@@ -5936,6 +5961,8 @@ const VehicleState = {
5936
5961
  message.tpmsLastSeenPressureTimeFr = object.tpmsLastSeenPressureTimeFr ?? void 0;
5937
5962
  message.tpmsLastSeenPressureTimeRl = object.tpmsLastSeenPressureTimeRl ?? void 0;
5938
5963
  message.tpmsLastSeenPressureTimeRr = object.tpmsLastSeenPressureTimeRr ?? void 0;
5964
+ message.deckLightsOn = object.deckLightsOn ?? void 0;
5965
+ message.hazardsOn = object.hazardsOn ?? void 0;
5939
5966
  message.legacyMediaInfo = object.legacyMediaInfo !== void 0 && object.legacyMediaInfo !== null ? LegacyMediaInfo.fromPartial(object.legacyMediaInfo) : void 0;
5940
5967
  message.allowAuthorizedMobileDevicesOnly = object.allowAuthorizedMobileDevicesOnly ?? void 0;
5941
5968
  message.guestMode = object.guestMode !== void 0 && object.guestMode !== null ? VehicleState_GuestMode.fromPartial(object.guestMode) : void 0;
@@ -161,6 +161,8 @@ interface VehicleData {
161
161
  preconditioningScheduleState: PreconditioningScheduleState | undefined;
162
162
  /** TESLEMETRY-EXT (app-4.58.6) */
163
163
  sohState: SohState | undefined;
164
+ /** opaque, undecoded payload observed on live vehicleDataSubscription pushes // TESLEMETRY-EXT */
165
+ unknown: Uint8Array;
164
166
  tirePressureState: TirePressureState | undefined;
165
167
  mediaState: MediaState | undefined;
166
168
  mediaDetailState: MediaDetailState | undefined;
@@ -700,6 +702,8 @@ interface VehicleState {
700
702
  tpmsLastSeenPressureTimeRl: Date | undefined;
701
703
  /** TESLEMETRY-EXT (app-4.58.6) */
702
704
  tpmsLastSeenPressureTimeRr: Date | undefined;
705
+ deckLightsOn?: boolean | undefined;
706
+ hazardsOn?: boolean | undefined;
703
707
  /** TESLEMETRY-EXT (app-4.58.6) */
704
708
  legacyMediaInfo: LegacyMediaInfo | undefined;
705
709
  allowAuthorizedMobileDevicesOnly?: boolean | undefined;
@@ -161,6 +161,8 @@ interface VehicleData {
161
161
  preconditioningScheduleState: PreconditioningScheduleState | undefined;
162
162
  /** TESLEMETRY-EXT (app-4.58.6) */
163
163
  sohState: SohState | undefined;
164
+ /** opaque, undecoded payload observed on live vehicleDataSubscription pushes // TESLEMETRY-EXT */
165
+ unknown: Uint8Array;
164
166
  tirePressureState: TirePressureState | undefined;
165
167
  mediaState: MediaState | undefined;
166
168
  mediaDetailState: MediaDetailState | undefined;
@@ -700,6 +702,8 @@ interface VehicleState {
700
702
  tpmsLastSeenPressureTimeRl: Date | undefined;
701
703
  /** TESLEMETRY-EXT (app-4.58.6) */
702
704
  tpmsLastSeenPressureTimeRr: Date | undefined;
705
+ deckLightsOn?: boolean | undefined;
706
+ hazardsOn?: boolean | undefined;
703
707
  /** TESLEMETRY-EXT (app-4.58.6) */
704
708
  legacyMediaInfo: LegacyMediaInfo | undefined;
705
709
  allowAuthorizedMobileDevicesOnly?: boolean | undefined;
@@ -1338,6 +1338,7 @@ function createBaseVehicleData() {
1338
1338
  chargeScheduleState: void 0,
1339
1339
  preconditioningScheduleState: void 0,
1340
1340
  sohState: void 0,
1341
+ unknown: /* @__PURE__ */ new Uint8Array(0),
1341
1342
  tirePressureState: void 0,
1342
1343
  mediaState: void 0,
1343
1344
  mediaDetailState: void 0,
@@ -1368,6 +1369,7 @@ const VehicleData = {
1368
1369
  if (message.chargeScheduleState !== void 0) ChargeScheduleState.encode(message.chargeScheduleState, writer.uint32(122).fork()).join();
1369
1370
  if (message.preconditioningScheduleState !== void 0) PreconditioningScheduleState.encode(message.preconditioningScheduleState, writer.uint32(130).fork()).join();
1370
1371
  if (message.sohState !== void 0) SohState.encode(message.sohState, writer.uint32(138).fork()).join();
1372
+ if (message.unknown.length !== 0) writer.uint32(146).bytes(message.unknown);
1371
1373
  if (message.tirePressureState !== void 0) TirePressureState.encode(message.tirePressureState, writer.uint32(154).fork()).join();
1372
1374
  if (message.mediaState !== void 0) MediaState.encode(message.mediaState, writer.uint32(162).fork()).join();
1373
1375
  if (message.mediaDetailState !== void 0) MediaDetailState.encode(message.mediaDetailState, writer.uint32(170).fork()).join();
@@ -1445,6 +1447,10 @@ const VehicleData = {
1445
1447
  if (tag !== 138) break;
1446
1448
  message.sohState = SohState.decode(reader, reader.uint32());
1447
1449
  continue;
1450
+ case 18:
1451
+ if (tag !== 146) break;
1452
+ message.unknown = reader.bytes();
1453
+ continue;
1448
1454
  case 19:
1449
1455
  if (tag !== 154) break;
1450
1456
  message.tirePressureState = TirePressureState.decode(reader, reader.uint32());
@@ -1515,6 +1521,7 @@ const VehicleData = {
1515
1521
  chargeScheduleState: isSet(object.chargeScheduleState) ? ChargeScheduleState.fromJSON(object.chargeScheduleState) : void 0,
1516
1522
  preconditioningScheduleState: isSet(object.preconditioningScheduleState) ? PreconditioningScheduleState.fromJSON(object.preconditioningScheduleState) : void 0,
1517
1523
  sohState: isSet(object.sohState) ? SohState.fromJSON(object.sohState) : void 0,
1524
+ unknown: isSet(object.unknown) ? bytesFromBase64(object.unknown) : /* @__PURE__ */ new Uint8Array(0),
1518
1525
  tirePressureState: isSet(object.tirePressureState) ? TirePressureState.fromJSON(object.tirePressureState) : void 0,
1519
1526
  mediaState: isSet(object.mediaState) ? MediaState.fromJSON(object.mediaState) : void 0,
1520
1527
  mediaDetailState: isSet(object.mediaDetailState) ? MediaDetailState.fromJSON(object.mediaDetailState) : void 0,
@@ -1545,6 +1552,7 @@ const VehicleData = {
1545
1552
  if (message.chargeScheduleState !== void 0) obj.chargeScheduleState = ChargeScheduleState.toJSON(message.chargeScheduleState);
1546
1553
  if (message.preconditioningScheduleState !== void 0) obj.preconditioningScheduleState = PreconditioningScheduleState.toJSON(message.preconditioningScheduleState);
1547
1554
  if (message.sohState !== void 0) obj.sohState = SohState.toJSON(message.sohState);
1555
+ if (message.unknown !== void 0) obj.unknown = base64FromBytes(message.unknown);
1548
1556
  if (message.tirePressureState !== void 0) obj.tirePressureState = TirePressureState.toJSON(message.tirePressureState);
1549
1557
  if (message.mediaState !== void 0) obj.mediaState = MediaState.toJSON(message.mediaState);
1550
1558
  if (message.mediaDetailState !== void 0) obj.mediaDetailState = MediaDetailState.toJSON(message.mediaDetailState);
@@ -1578,6 +1586,7 @@ const VehicleData = {
1578
1586
  message.chargeScheduleState = object.chargeScheduleState !== void 0 && object.chargeScheduleState !== null ? ChargeScheduleState.fromPartial(object.chargeScheduleState) : void 0;
1579
1587
  message.preconditioningScheduleState = object.preconditioningScheduleState !== void 0 && object.preconditioningScheduleState !== null ? PreconditioningScheduleState.fromPartial(object.preconditioningScheduleState) : void 0;
1580
1588
  message.sohState = object.sohState !== void 0 && object.sohState !== null ? SohState.fromPartial(object.sohState) : void 0;
1589
+ message.unknown = object.unknown ?? /* @__PURE__ */ new Uint8Array(0);
1581
1590
  message.tirePressureState = object.tirePressureState !== void 0 && object.tirePressureState !== null ? TirePressureState.fromPartial(object.tirePressureState) : void 0;
1582
1591
  message.mediaState = object.mediaState !== void 0 && object.mediaState !== null ? MediaState.fromPartial(object.mediaState) : void 0;
1583
1592
  message.mediaDetailState = object.mediaDetailState !== void 0 && object.mediaDetailState !== null ? MediaDetailState.fromPartial(object.mediaDetailState) : void 0;
@@ -5294,6 +5303,8 @@ function createBaseVehicleState() {
5294
5303
  tpmsLastSeenPressureTimeFr: void 0,
5295
5304
  tpmsLastSeenPressureTimeRl: void 0,
5296
5305
  tpmsLastSeenPressureTimeRr: void 0,
5306
+ deckLightsOn: void 0,
5307
+ hazardsOn: void 0,
5297
5308
  legacyMediaInfo: void 0,
5298
5309
  allowAuthorizedMobileDevicesOnly: void 0,
5299
5310
  guestMode: void 0,
@@ -5375,6 +5386,8 @@ const VehicleState = {
5375
5386
  if (message.tpmsLastSeenPressureTimeFr !== void 0) Timestamp.encode(toTimestamp(message.tpmsLastSeenPressureTimeFr), writer.uint32(474).fork()).join();
5376
5387
  if (message.tpmsLastSeenPressureTimeRl !== void 0) Timestamp.encode(toTimestamp(message.tpmsLastSeenPressureTimeRl), writer.uint32(482).fork()).join();
5377
5388
  if (message.tpmsLastSeenPressureTimeRr !== void 0) Timestamp.encode(toTimestamp(message.tpmsLastSeenPressureTimeRr), writer.uint32(490).fork()).join();
5389
+ if (message.deckLightsOn !== void 0) writer.uint32(536).bool(message.deckLightsOn);
5390
+ if (message.hazardsOn !== void 0) writer.uint32(544).bool(message.hazardsOn);
5378
5391
  if (message.legacyMediaInfo !== void 0) LegacyMediaInfo.encode(message.legacyMediaInfo, writer.uint32(578).fork()).join();
5379
5392
  if (message.allowAuthorizedMobileDevicesOnly !== void 0) writer.uint32(584).bool(message.allowAuthorizedMobileDevicesOnly);
5380
5393
  if (message.guestMode !== void 0) VehicleState_GuestMode.encode(message.guestMode, writer.uint32(594).fork()).join();
@@ -5490,6 +5503,14 @@ const VehicleState = {
5490
5503
  if (tag !== 490) break;
5491
5504
  message.tpmsLastSeenPressureTimeRr = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
5492
5505
  continue;
5506
+ case 67:
5507
+ if (tag !== 536) break;
5508
+ message.deckLightsOn = reader.bool();
5509
+ continue;
5510
+ case 68:
5511
+ if (tag !== 544) break;
5512
+ message.hazardsOn = reader.bool();
5513
+ continue;
5493
5514
  case 72:
5494
5515
  if (tag !== 578) break;
5495
5516
  message.legacyMediaInfo = LegacyMediaInfo.decode(reader, reader.uint32());
@@ -5774,6 +5795,8 @@ const VehicleState = {
5774
5795
  tpmsLastSeenPressureTimeFr: isSet(object.tpmsLastSeenPressureTimeFr) ? fromJsonTimestamp(object.tpmsLastSeenPressureTimeFr) : void 0,
5775
5796
  tpmsLastSeenPressureTimeRl: isSet(object.tpmsLastSeenPressureTimeRl) ? fromJsonTimestamp(object.tpmsLastSeenPressureTimeRl) : void 0,
5776
5797
  tpmsLastSeenPressureTimeRr: isSet(object.tpmsLastSeenPressureTimeRr) ? fromJsonTimestamp(object.tpmsLastSeenPressureTimeRr) : void 0,
5798
+ deckLightsOn: isSet(object.deckLightsOn) ? globalThis.Boolean(object.deckLightsOn) : void 0,
5799
+ hazardsOn: isSet(object.hazardsOn) ? globalThis.Boolean(object.hazardsOn) : void 0,
5777
5800
  legacyMediaInfo: isSet(object.legacyMediaInfo) ? LegacyMediaInfo.fromJSON(object.legacyMediaInfo) : void 0,
5778
5801
  allowAuthorizedMobileDevicesOnly: isSet(object.allowAuthorizedMobileDevicesOnly) ? globalThis.Boolean(object.allowAuthorizedMobileDevicesOnly) : void 0,
5779
5802
  guestMode: isSet(object.guestMode) ? VehicleState_GuestMode.fromJSON(object.guestMode) : void 0,
@@ -5853,6 +5876,8 @@ const VehicleState = {
5853
5876
  if (message.tpmsLastSeenPressureTimeFr !== void 0) obj.tpmsLastSeenPressureTimeFr = message.tpmsLastSeenPressureTimeFr.toISOString();
5854
5877
  if (message.tpmsLastSeenPressureTimeRl !== void 0) obj.tpmsLastSeenPressureTimeRl = message.tpmsLastSeenPressureTimeRl.toISOString();
5855
5878
  if (message.tpmsLastSeenPressureTimeRr !== void 0) obj.tpmsLastSeenPressureTimeRr = message.tpmsLastSeenPressureTimeRr.toISOString();
5879
+ if (message.deckLightsOn !== void 0) obj.deckLightsOn = message.deckLightsOn;
5880
+ if (message.hazardsOn !== void 0) obj.hazardsOn = message.hazardsOn;
5856
5881
  if (message.legacyMediaInfo !== void 0) obj.legacyMediaInfo = LegacyMediaInfo.toJSON(message.legacyMediaInfo);
5857
5882
  if (message.allowAuthorizedMobileDevicesOnly !== void 0) obj.allowAuthorizedMobileDevicesOnly = message.allowAuthorizedMobileDevicesOnly;
5858
5883
  if (message.guestMode !== void 0) obj.guestMode = VehicleState_GuestMode.toJSON(message.guestMode);
@@ -5935,6 +5960,8 @@ const VehicleState = {
5935
5960
  message.tpmsLastSeenPressureTimeFr = object.tpmsLastSeenPressureTimeFr ?? void 0;
5936
5961
  message.tpmsLastSeenPressureTimeRl = object.tpmsLastSeenPressureTimeRl ?? void 0;
5937
5962
  message.tpmsLastSeenPressureTimeRr = object.tpmsLastSeenPressureTimeRr ?? void 0;
5963
+ message.deckLightsOn = object.deckLightsOn ?? void 0;
5964
+ message.hazardsOn = object.hazardsOn ?? void 0;
5938
5965
  message.legacyMediaInfo = object.legacyMediaInfo !== void 0 && object.legacyMediaInfo !== null ? LegacyMediaInfo.fromPartial(object.legacyMediaInfo) : void 0;
5939
5966
  message.allowAuthorizedMobileDevicesOnly = object.allowAuthorizedMobileDevicesOnly ?? void 0;
5940
5967
  message.guestMode = object.guestMode !== void 0 && object.guestMode !== null ? VehicleState_GuestMode.fromPartial(object.guestMode) : void 0;