@teslemetry/tesla-protocol 0.6.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/README.md +1 -3
  2. package/dist/command/car_server.cjs +212 -11
  3. package/dist/command/car_server.d.cts +121 -96
  4. package/dist/command/car_server.d.mts +121 -96
  5. package/dist/command/car_server.mjs +206 -12
  6. package/dist/command/common.cjs +43 -0
  7. package/dist/command/common.d.cts +6 -2
  8. package/dist/command/common.d.mts +6 -2
  9. package/dist/command/common.mjs +43 -1
  10. package/dist/command/managed_charging.d.cts +1 -1
  11. package/dist/command/managed_charging.d.mts +1 -1
  12. package/dist/command/session.d.cts +0 -4
  13. package/dist/command/session.d.mts +0 -4
  14. package/dist/command/universal_message.cjs +4 -4
  15. package/dist/command/universal_message.d.cts +4 -4
  16. package/dist/command/universal_message.d.mts +4 -4
  17. package/dist/command/universal_message.mjs +4 -4
  18. package/dist/command/vcsec.cjs +37 -37
  19. package/dist/command/vcsec.d.cts +41 -41
  20. package/dist/command/vcsec.d.mts +41 -41
  21. package/dist/command/vcsec.mjs +37 -37
  22. package/dist/command/vehicle.cjs +129 -18
  23. package/dist/command/vehicle.d.cts +66 -57
  24. package/dist/command/vehicle.d.mts +66 -57
  25. package/dist/command/vehicle.mjs +129 -20
  26. package/dist/energy_command/identifier_type.cjs +0 -5
  27. package/dist/energy_command/identifier_type.d.cts +0 -5
  28. package/dist/energy_command/identifier_type.d.mts +0 -5
  29. package/dist/energy_command/identifier_type.mjs +0 -5
  30. package/dist/energy_device/authorization_api.d.cts +0 -5
  31. package/dist/energy_device/authorization_api.d.mts +0 -5
  32. package/dist/energy_device/authorization_types.cjs +0 -5
  33. package/dist/energy_device/authorization_types.d.cts +0 -5
  34. package/dist/energy_device/authorization_types.d.mts +0 -5
  35. package/dist/energy_device/authorization_types.mjs +0 -5
  36. package/dist/energy_device/common_api.d.cts +0 -5
  37. package/dist/energy_device/common_api.d.mts +0 -5
  38. package/dist/energy_device/device.cjs +0 -5
  39. package/dist/energy_device/device.d.cts +0 -5
  40. package/dist/energy_device/device.d.mts +0 -5
  41. package/dist/energy_device/device.mjs +0 -5
  42. package/dist/energy_device/energy.cjs +0 -5
  43. package/dist/energy_device/energy.d.cts +0 -5
  44. package/dist/energy_device/energy.d.mts +0 -5
  45. package/dist/energy_device/energy.mjs +0 -5
  46. package/dist/energy_device/energy_site_net.cjs +0 -5
  47. package/dist/energy_device/energy_site_net.d.cts +0 -5
  48. package/dist/energy_device/energy_site_net.d.mts +0 -5
  49. package/dist/energy_device/energy_site_net.mjs +0 -5
  50. package/dist/energy_device/error.d.cts +0 -5
  51. package/dist/energy_device/error.d.mts +0 -5
  52. package/dist/energy_device/filestore_api.cjs +0 -5
  53. package/dist/energy_device/filestore_api.d.cts +0 -5
  54. package/dist/energy_device/filestore_api.d.mts +0 -5
  55. package/dist/energy_device/filestore_api.mjs +0 -5
  56. package/dist/energy_device/graphql_api.cjs +0 -5
  57. package/dist/energy_device/graphql_api.d.cts +0 -5
  58. package/dist/energy_device/graphql_api.d.mts +0 -5
  59. package/dist/energy_device/graphql_api.mjs +0 -5
  60. package/dist/energy_device/intra_site_api.cjs +0 -5
  61. package/dist/energy_device/intra_site_api.d.cts +0 -5
  62. package/dist/energy_device/intra_site_api.d.mts +0 -5
  63. package/dist/energy_device/intra_site_api.mjs +0 -5
  64. package/dist/energy_device/local_auth_api.cjs +0 -5
  65. package/dist/energy_device/local_auth_api.d.cts +0 -5
  66. package/dist/energy_device/local_auth_api.d.mts +0 -5
  67. package/dist/energy_device/local_auth_api.mjs +0 -5
  68. package/dist/energy_device/networking.cjs +0 -5
  69. package/dist/energy_device/networking.d.cts +0 -5
  70. package/dist/energy_device/networking.d.mts +0 -5
  71. package/dist/energy_device/networking.mjs +0 -5
  72. package/dist/energy_device/neurio_meter_api.cjs +0 -5
  73. package/dist/energy_device/neurio_meter_api.d.cts +0 -5
  74. package/dist/energy_device/neurio_meter_api.d.mts +0 -5
  75. package/dist/energy_device/neurio_meter_api.mjs +0 -5
  76. package/dist/energy_device/pvi_api.cjs +0 -5
  77. package/dist/energy_device/pvi_api.d.cts +0 -5
  78. package/dist/energy_device/pvi_api.d.mts +0 -5
  79. package/dist/energy_device/pvi_api.mjs +0 -5
  80. package/dist/energy_device/teg_api.cjs +0 -5
  81. package/dist/energy_device/teg_api.d.cts +0 -5
  82. package/dist/energy_device/teg_api.d.mts +0 -5
  83. package/dist/energy_device/teg_api.mjs +0 -5
  84. package/dist/energy_device/transport.cjs +0 -5
  85. package/dist/energy_device/transport.d.cts +0 -5
  86. package/dist/energy_device/transport.d.mts +0 -5
  87. package/dist/energy_device/transport.mjs +0 -5
  88. package/dist/energy_device/update.cjs +0 -5
  89. package/dist/energy_device/update.d.cts +0 -5
  90. package/dist/energy_device/update.d.mts +0 -5
  91. package/dist/energy_device/update.mjs +0 -5
  92. package/dist/energy_device/wall_connector.cjs +0 -5
  93. package/dist/energy_device/wall_connector.d.cts +0 -5
  94. package/dist/energy_device/wall_connector.d.mts +0 -5
  95. package/dist/energy_device/wall_connector.mjs +0 -5
  96. package/dist/telemetry/vehicle_data.cjs +1 -1
  97. package/dist/telemetry/vehicle_data.d.cts +1 -1
  98. package/dist/telemetry/vehicle_data.d.mts +1 -1
  99. package/dist/telemetry/vehicle_data.mjs +1 -1
  100. package/package.json +1 -1
@@ -1,11 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  //#region src/energy_device/update.d.ts
3
3
  declare const protobufPackage = "tesla.proto.energy_device.v1";
4
- /**
5
- * TESLEMETRY SOURCE-OF-RECORD - no upstream.
6
- * Provenance: Tesla Energy gateway (TEG) local API, from our own
7
- * observations and contributions from the community
8
- */
9
4
  declare enum UpdateStatus {
10
5
  UPDATE_STATUS_INVALID = 0,
11
6
  UPDATE_STATUS_IDLE = 1,
@@ -1,11 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  //#region src/energy_device/update.d.ts
3
3
  declare const protobufPackage = "tesla.proto.energy_device.v1";
4
- /**
5
- * TESLEMETRY SOURCE-OF-RECORD - no upstream.
6
- * Provenance: Tesla Energy gateway (TEG) local API, from our own
7
- * observations and contributions from the community
8
- */
9
4
  declare enum UpdateStatus {
10
5
  UPDATE_STATUS_INVALID = 0,
11
6
  UPDATE_STATUS_IDLE = 1,
@@ -1,11 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  //#region src/energy_device/update.ts
3
3
  const protobufPackage = "tesla.proto.energy_device.v1";
4
- /**
5
- * TESLEMETRY SOURCE-OF-RECORD - no upstream.
6
- * Provenance: Tesla Energy gateway (TEG) local API, from our own
7
- * observations and contributions from the community
8
- */
9
4
  let UpdateStatus = /* @__PURE__ */ function(UpdateStatus) {
10
5
  UpdateStatus[UpdateStatus["UPDATE_STATUS_INVALID"] = 0] = "UPDATE_STATUS_INVALID";
11
6
  UpdateStatus[UpdateStatus["UPDATE_STATUS_IDLE"] = 1] = "UPDATE_STATUS_IDLE";
@@ -8,11 +8,6 @@ const require_energy_device_neurio_meter_api = require("./neurio_meter_api.cjs")
8
8
  let _bufbuild_protobuf_wire = require("@bufbuild/protobuf/wire");
9
9
  //#region src/energy_device/wall_connector.ts
10
10
  const protobufPackage = "tesla.proto.energy_device.v1";
11
- /**
12
- * TESLEMETRY SOURCE-OF-RECORD - no upstream.
13
- * Provenance: Tesla Energy gateway (TEG) local API, from our own
14
- * observations and contributions from the community
15
- */
16
11
  let WCChargeScheduleChargingStatus = /* @__PURE__ */ function(WCChargeScheduleChargingStatus) {
17
12
  WCChargeScheduleChargingStatus[WCChargeScheduleChargingStatus["WC_CHARGE_SCHEDULE_CHARGING_STATUS_INVALID"] = 0] = "WC_CHARGE_SCHEDULE_CHARGING_STATUS_INVALID";
18
13
  WCChargeScheduleChargingStatus[WCChargeScheduleChargingStatus["WC_CHARGE_SCHEDULE_CHARGING_STATUS_UNCONFIGURED_DISABLED"] = 1] = "WC_CHARGE_SCHEDULE_CHARGING_STATUS_UNCONFIGURED_DISABLED";
@@ -5,11 +5,6 @@ import { NeurioMeterInterface } from "./neurio_meter_api.cjs";
5
5
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
6
6
  //#region src/energy_device/wall_connector.d.ts
7
7
  declare const protobufPackage = "tesla.proto.energy_device.v1";
8
- /**
9
- * TESLEMETRY SOURCE-OF-RECORD - no upstream.
10
- * Provenance: Tesla Energy gateway (TEG) local API, from our own
11
- * observations and contributions from the community
12
- */
13
8
  declare enum WCChargeScheduleChargingStatus {
14
9
  WC_CHARGE_SCHEDULE_CHARGING_STATUS_INVALID = 0,
15
10
  WC_CHARGE_SCHEDULE_CHARGING_STATUS_UNCONFIGURED_DISABLED = 1,
@@ -5,11 +5,6 @@ import { NeurioMeterInterface } from "./neurio_meter_api.mjs";
5
5
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
6
6
  //#region src/energy_device/wall_connector.d.ts
7
7
  declare const protobufPackage = "tesla.proto.energy_device.v1";
8
- /**
9
- * TESLEMETRY SOURCE-OF-RECORD - no upstream.
10
- * Provenance: Tesla Energy gateway (TEG) local API, from our own
11
- * observations and contributions from the community
12
- */
13
8
  declare enum WCChargeScheduleChargingStatus {
14
9
  WC_CHARGE_SCHEDULE_CHARGING_STATUS_INVALID = 0,
15
10
  WC_CHARGE_SCHEDULE_CHARGING_STATUS_UNCONFIGURED_DISABLED = 1,
@@ -7,11 +7,6 @@ import { NeurioMeterInterface } from "./neurio_meter_api.mjs";
7
7
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
8
8
  //#region src/energy_device/wall_connector.ts
9
9
  const protobufPackage = "tesla.proto.energy_device.v1";
10
- /**
11
- * TESLEMETRY SOURCE-OF-RECORD - no upstream.
12
- * Provenance: Tesla Energy gateway (TEG) local API, from our own
13
- * observations and contributions from the community
14
- */
15
10
  let WCChargeScheduleChargingStatus = /* @__PURE__ */ function(WCChargeScheduleChargingStatus) {
16
11
  WCChargeScheduleChargingStatus[WCChargeScheduleChargingStatus["WC_CHARGE_SCHEDULE_CHARGING_STATUS_INVALID"] = 0] = "WC_CHARGE_SCHEDULE_CHARGING_STATUS_INVALID";
17
12
  WCChargeScheduleChargingStatus[WCChargeScheduleChargingStatus["WC_CHARGE_SCHEDULE_CHARGING_STATUS_UNCONFIGURED_DISABLED"] = 1] = "WC_CHARGE_SCHEDULE_CHARGING_STATUS_UNCONFIGURED_DISABLED";
@@ -1582,7 +1582,7 @@ let BuckleStatus = /* @__PURE__ */ function(BuckleStatus) {
1582
1582
  BuckleStatus[BuckleStatus["BuckleStatusUnlatched"] = 1] = "BuckleStatusUnlatched";
1583
1583
  BuckleStatus[BuckleStatus["BuckleStatusLatched"] = 2] = "BuckleStatusLatched";
1584
1584
  BuckleStatus[BuckleStatus["BuckleStatusFaulted"] = 3] = "BuckleStatusFaulted";
1585
- /** BuckleStatusSNA - TESLEMETRY-EXT (from our own observations and contributions from the community) */
1585
+ /** BuckleStatusSNA - TESLEMETRY-EXT */
1586
1586
  BuckleStatus[BuckleStatus["BuckleStatusSNA"] = 4] = "BuckleStatusSNA";
1587
1587
  BuckleStatus[BuckleStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1588
1588
  return BuckleStatus;
@@ -440,7 +440,7 @@ declare enum BuckleStatus {
440
440
  BuckleStatusUnlatched = 1,
441
441
  BuckleStatusLatched = 2,
442
442
  BuckleStatusFaulted = 3,
443
- /** BuckleStatusSNA - TESLEMETRY-EXT (from our own observations and contributions from the community) */
443
+ /** BuckleStatusSNA - TESLEMETRY-EXT */
444
444
  BuckleStatusSNA = 4,
445
445
  UNRECOGNIZED = -1
446
446
  }
@@ -440,7 +440,7 @@ declare enum BuckleStatus {
440
440
  BuckleStatusUnlatched = 1,
441
441
  BuckleStatusLatched = 2,
442
442
  BuckleStatusFaulted = 3,
443
- /** BuckleStatusSNA - TESLEMETRY-EXT (from our own observations and contributions from the community) */
443
+ /** BuckleStatusSNA - TESLEMETRY-EXT */
444
444
  BuckleStatusSNA = 4,
445
445
  UNRECOGNIZED = -1
446
446
  }
@@ -1581,7 +1581,7 @@ let BuckleStatus = /* @__PURE__ */ function(BuckleStatus) {
1581
1581
  BuckleStatus[BuckleStatus["BuckleStatusUnlatched"] = 1] = "BuckleStatusUnlatched";
1582
1582
  BuckleStatus[BuckleStatus["BuckleStatusLatched"] = 2] = "BuckleStatusLatched";
1583
1583
  BuckleStatus[BuckleStatus["BuckleStatusFaulted"] = 3] = "BuckleStatusFaulted";
1584
- /** BuckleStatusSNA - TESLEMETRY-EXT (from our own observations and contributions from the community) */
1584
+ /** BuckleStatusSNA - TESLEMETRY-EXT */
1585
1585
  BuckleStatus[BuckleStatus["BuckleStatusSNA"] = 4] = "BuckleStatusSNA";
1586
1586
  BuckleStatus[BuckleStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1587
1587
  return BuckleStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teslemetry/tesla-protocol",
3
- "version": "0.6.0",
3
+ "version": "1.0.0",
4
4
  "description": "Tesla vehicle-command, fleet-telemetry and energy protobuf types for TypeScript, generated with ts-proto",
5
5
  "license": "Apache-2.0",
6
6
  "author": {