@teslemetry/tesla-protocol 0.6.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/dist/command/car_server.cjs +223 -9
- package/dist/command/car_server.d.cts +123 -96
- package/dist/command/car_server.d.mts +123 -96
- package/dist/command/car_server.mjs +217 -10
- package/dist/command/common.cjs +43 -0
- package/dist/command/common.d.cts +6 -2
- package/dist/command/common.d.mts +6 -2
- package/dist/command/common.mjs +43 -1
- package/dist/command/managed_charging.d.cts +1 -1
- package/dist/command/managed_charging.d.mts +1 -1
- package/dist/command/session.d.cts +0 -4
- package/dist/command/session.d.mts +0 -4
- package/dist/command/universal_message.cjs +4 -4
- package/dist/command/universal_message.d.cts +4 -4
- package/dist/command/universal_message.d.mts +4 -4
- package/dist/command/universal_message.mjs +4 -4
- package/dist/command/vcsec.cjs +37 -37
- package/dist/command/vcsec.d.cts +41 -41
- package/dist/command/vcsec.d.mts +41 -41
- package/dist/command/vcsec.mjs +37 -37
- package/dist/command/vehicle.cjs +129 -18
- package/dist/command/vehicle.d.cts +66 -57
- package/dist/command/vehicle.d.mts +66 -57
- package/dist/command/vehicle.mjs +129 -20
- package/dist/energy_command/identifier_type.cjs +0 -5
- package/dist/energy_command/identifier_type.d.cts +0 -5
- package/dist/energy_command/identifier_type.d.mts +0 -5
- package/dist/energy_command/identifier_type.mjs +0 -5
- package/dist/energy_device/authorization_api.d.cts +0 -5
- package/dist/energy_device/authorization_api.d.mts +0 -5
- package/dist/energy_device/authorization_types.cjs +0 -5
- package/dist/energy_device/authorization_types.d.cts +0 -5
- package/dist/energy_device/authorization_types.d.mts +0 -5
- package/dist/energy_device/authorization_types.mjs +0 -5
- package/dist/energy_device/common_api.d.cts +0 -5
- package/dist/energy_device/common_api.d.mts +0 -5
- package/dist/energy_device/device.cjs +0 -5
- package/dist/energy_device/device.d.cts +0 -5
- package/dist/energy_device/device.d.mts +0 -5
- package/dist/energy_device/device.mjs +0 -5
- package/dist/energy_device/energy.cjs +0 -5
- package/dist/energy_device/energy.d.cts +0 -5
- package/dist/energy_device/energy.d.mts +0 -5
- package/dist/energy_device/energy.mjs +0 -5
- package/dist/energy_device/energy_site_net.cjs +0 -5
- package/dist/energy_device/energy_site_net.d.cts +0 -5
- package/dist/energy_device/energy_site_net.d.mts +0 -5
- package/dist/energy_device/energy_site_net.mjs +0 -5
- package/dist/energy_device/error.d.cts +0 -5
- package/dist/energy_device/error.d.mts +0 -5
- package/dist/energy_device/filestore_api.cjs +0 -5
- package/dist/energy_device/filestore_api.d.cts +0 -5
- package/dist/energy_device/filestore_api.d.mts +0 -5
- package/dist/energy_device/filestore_api.mjs +0 -5
- package/dist/energy_device/graphql_api.cjs +0 -5
- package/dist/energy_device/graphql_api.d.cts +0 -5
- package/dist/energy_device/graphql_api.d.mts +0 -5
- package/dist/energy_device/graphql_api.mjs +0 -5
- package/dist/energy_device/intra_site_api.cjs +0 -5
- package/dist/energy_device/intra_site_api.d.cts +0 -5
- package/dist/energy_device/intra_site_api.d.mts +0 -5
- package/dist/energy_device/intra_site_api.mjs +0 -5
- package/dist/energy_device/local_auth_api.cjs +0 -5
- package/dist/energy_device/local_auth_api.d.cts +0 -5
- package/dist/energy_device/local_auth_api.d.mts +0 -5
- package/dist/energy_device/local_auth_api.mjs +0 -5
- package/dist/energy_device/networking.cjs +0 -5
- package/dist/energy_device/networking.d.cts +0 -5
- package/dist/energy_device/networking.d.mts +0 -5
- package/dist/energy_device/networking.mjs +0 -5
- package/dist/energy_device/neurio_meter_api.cjs +0 -5
- package/dist/energy_device/neurio_meter_api.d.cts +0 -5
- package/dist/energy_device/neurio_meter_api.d.mts +0 -5
- package/dist/energy_device/neurio_meter_api.mjs +0 -5
- package/dist/energy_device/pvi_api.cjs +0 -5
- package/dist/energy_device/pvi_api.d.cts +0 -5
- package/dist/energy_device/pvi_api.d.mts +0 -5
- package/dist/energy_device/pvi_api.mjs +0 -5
- package/dist/energy_device/teg_api.cjs +0 -5
- package/dist/energy_device/teg_api.d.cts +0 -5
- package/dist/energy_device/teg_api.d.mts +0 -5
- package/dist/energy_device/teg_api.mjs +0 -5
- package/dist/energy_device/transport.cjs +0 -5
- package/dist/energy_device/transport.d.cts +0 -5
- package/dist/energy_device/transport.d.mts +0 -5
- package/dist/energy_device/transport.mjs +0 -5
- package/dist/energy_device/update.cjs +0 -5
- package/dist/energy_device/update.d.cts +0 -5
- package/dist/energy_device/update.d.mts +0 -5
- package/dist/energy_device/update.mjs +0 -5
- package/dist/energy_device/wall_connector.cjs +0 -5
- package/dist/energy_device/wall_connector.d.cts +0 -5
- package/dist/energy_device/wall_connector.d.mts +0 -5
- package/dist/energy_device/wall_connector.mjs +0 -5
- package/dist/telemetry/vehicle_data.cjs +1 -1
- package/dist/telemetry/vehicle_data.d.cts +1 -1
- package/dist/telemetry/vehicle_data.d.mts +1 -1
- package/dist/telemetry/vehicle_data.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,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
|
|
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
|
|
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
|
|
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
|
|
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