@teslemetry/tesla-protocol 0.5.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.
- package/README.md +1 -3
- package/dist/charging/charging.cjs +550 -0
- package/dist/charging/charging.d.cts +75 -0
- package/dist/charging/charging.d.mts +75 -0
- package/dist/charging/charging.mjs +543 -0
- package/dist/command/car_server.cjs +212 -11
- package/dist/command/car_server.d.cts +121 -96
- package/dist/command/car_server.d.mts +121 -96
- package/dist/command/car_server.mjs +206 -12
- 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 +8 -3
- package/dist/command/universal_message.d.cts +5 -3
- package/dist/command/universal_message.d.mts +5 -3
- package/dist/command/universal_message.mjs +8 -3
- package/dist/command/vcsec.cjs +124 -39
- package/dist/command/vcsec.d.cts +50 -40
- package/dist/command/vcsec.d.mts +50 -40
- package/dist/command/vcsec.mjs +123 -40
- package/dist/command/vehicle.cjs +156 -18
- package/dist/command/vehicle.d.cts +70 -57
- package/dist/command/vehicle.d.mts +70 -57
- package/dist/command/vehicle.mjs +156 -20
- package/dist/dashcam/dashcam_sei.cjs +263 -0
- package/dist/dashcam/dashcam_sei.d.cts +60 -0
- package/dist/dashcam/dashcam_sei.d.mts +60 -0
- package/dist/dashcam/dashcam_sei.mjs +255 -0
- 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.cjs +604 -11
- package/dist/energy_device/common_api.d.cts +60 -8
- package/dist/energy_device/common_api.d.mts +60 -8
- package/dist/energy_device/common_api.mjs +596 -12
- package/dist/energy_device/device.cjs +129 -5
- package/dist/energy_device/device.d.cts +13 -6
- package/dist/energy_device/device.d.mts +13 -6
- package/dist/energy_device/device.mjs +127 -6
- 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 +747 -5
- package/dist/energy_device/energy_site_net.d.cts +84 -6
- package/dist/energy_device/energy_site_net.d.mts +84 -6
- package/dist/energy_device/energy_site_net.mjs +736 -6
- 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 +570 -0
- package/dist/energy_device/filestore_api.d.cts +76 -0
- package/dist/energy_device/filestore_api.d.mts +76 -0
- package/dist/energy_device/filestore_api.mjs +558 -0
- package/dist/energy_device/google/protobuf/duration.cjs +71 -0
- package/dist/energy_device/google/protobuf/duration.d.cts +95 -0
- package/dist/energy_device/google/protobuf/duration.d.mts +95 -0
- package/dist/energy_device/google/protobuf/duration.mjs +69 -0
- package/dist/energy_device/graphql_api.cjs +444 -0
- package/dist/energy_device/graphql_api.d.cts +73 -0
- package/dist/energy_device/graphql_api.d.mts +73 -0
- package/dist/energy_device/graphql_api.mjs +429 -0
- package/dist/energy_device/intra_site_api.cjs +1693 -0
- package/dist/energy_device/intra_site_api.d.cts +222 -0
- package/dist/energy_device/intra_site_api.d.mts +222 -0
- package/dist/energy_device/intra_site_api.mjs +1639 -0
- package/dist/energy_device/local_auth_api.cjs +500 -0
- package/dist/energy_device/local_auth_api.d.cts +68 -0
- package/dist/energy_device/local_auth_api.d.mts +68 -0
- package/dist/energy_device/local_auth_api.mjs +487 -0
- package/dist/energy_device/networking.cjs +20 -7
- package/dist/energy_device/networking.d.cts +2 -5
- package/dist/energy_device/networking.d.mts +2 -5
- package/dist/energy_device/networking.mjs +20 -7
- package/dist/energy_device/neurio_meter_api.cjs +1437 -0
- package/dist/energy_device/neurio_meter_api.d.cts +197 -0
- package/dist/energy_device/neurio_meter_api.d.mts +197 -0
- package/dist/energy_device/neurio_meter_api.mjs +1396 -0
- package/dist/energy_device/pvi_api.cjs +2949 -0
- package/dist/energy_device/pvi_api.d.cts +314 -0
- package/dist/energy_device/pvi_api.d.mts +314 -0
- package/dist/energy_device/pvi_api.mjs +2887 -0
- package/dist/energy_device/teg_api.cjs +5179 -147
- package/dist/energy_device/teg_api.d.cts +490 -80
- package/dist/energy_device/teg_api.d.mts +490 -80
- package/dist/energy_device/teg_api.mjs +5059 -148
- package/dist/energy_device/transport.cjs +82 -7
- package/dist/energy_device/transport.d.cts +16 -10
- package/dist/energy_device/transport.d.mts +16 -10
- package/dist/energy_device/transport.mjs +82 -7
- package/dist/energy_device/update.cjs +33 -11
- package/dist/energy_device/update.d.cts +3 -5
- package/dist/energy_device/update.d.mts +3 -5
- package/dist/energy_device/update.mjs +33 -11
- package/dist/energy_device/wall_connector.cjs +6729 -10
- package/dist/energy_device/wall_connector.d.cts +696 -7
- package/dist/energy_device/wall_connector.d.mts +696 -7
- package/dist/energy_device/wall_connector.mjs +6591 -11
- 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,10 +1,5 @@
|
|
|
1
1
|
//#region src/energy_command/identifier_type.ts
|
|
2
2
|
const protobufPackage = "tesla.proto.energy.command.v1";
|
|
3
|
-
/**
|
|
4
|
-
* TESLEMETRY SOURCE-OF-RECORD - no upstream.
|
|
5
|
-
* Provenance: Tesla Energy gateway (TEG) local API, from our own
|
|
6
|
-
* observations and contributions from the community
|
|
7
|
-
*/
|
|
8
3
|
let IdentifierType = /* @__PURE__ */ function(IdentifierType) {
|
|
9
4
|
IdentifierType[IdentifierType["IDENTIFIER_TYPE_INVALID"] = 0] = "IDENTIFIER_TYPE_INVALID";
|
|
10
5
|
IdentifierType[IdentifierType["IDENTIFIER_TYPE_GATEWAY_DIN"] = 1] = "IDENTIFIER_TYPE_GATEWAY_DIN";
|
|
@@ -2,11 +2,6 @@ import { AuthorizationRecord, AuthorizationRole, AuthorizedClientType, Authorize
|
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
3
3
|
//#region src/energy_device/authorization_api.d.ts
|
|
4
4
|
declare const protobufPackage = "tesla.proto.energy_device.v1";
|
|
5
|
-
/**
|
|
6
|
-
* TESLEMETRY SOURCE-OF-RECORD - no upstream.
|
|
7
|
-
* Provenance: Tesla Energy gateway (TEG) local API, from our own
|
|
8
|
-
* observations and contributions from the community
|
|
9
|
-
*/
|
|
10
5
|
interface AuthorizationAPIAddAuthorizedClientRequest {
|
|
11
6
|
type: AuthorizedClientType;
|
|
12
7
|
description: string;
|
|
@@ -2,11 +2,6 @@ import { AuthorizationRecord, AuthorizationRole, AuthorizedClientType, Authorize
|
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
3
3
|
//#region src/energy_device/authorization_api.d.ts
|
|
4
4
|
declare const protobufPackage = "tesla.proto.energy_device.v1";
|
|
5
|
-
/**
|
|
6
|
-
* TESLEMETRY SOURCE-OF-RECORD - no upstream.
|
|
7
|
-
* Provenance: Tesla Energy gateway (TEG) local API, from our own
|
|
8
|
-
* observations and contributions from the community
|
|
9
|
-
*/
|
|
10
5
|
interface AuthorizationAPIAddAuthorizedClientRequest {
|
|
11
6
|
type: AuthorizedClientType;
|
|
12
7
|
description: string;
|
|
@@ -3,11 +3,6 @@ const require_energy_device_google_protobuf_timestamp = require("./google/protob
|
|
|
3
3
|
let _bufbuild_protobuf_wire = require("@bufbuild/protobuf/wire");
|
|
4
4
|
//#region src/energy_device/authorization_types.ts
|
|
5
5
|
const protobufPackage = "tesla.proto.energy_device.v1";
|
|
6
|
-
/**
|
|
7
|
-
* TESLEMETRY SOURCE-OF-RECORD - no upstream.
|
|
8
|
-
* Provenance: Tesla Energy gateway (TEG) local API, from our own
|
|
9
|
-
* observations and contributions from the community
|
|
10
|
-
*/
|
|
11
6
|
let AuthorizationRole = /* @__PURE__ */ function(AuthorizationRole) {
|
|
12
7
|
AuthorizationRole[AuthorizationRole["AUTHORIZATION_ROLE_INVALID"] = 0] = "AUTHORIZATION_ROLE_INVALID";
|
|
13
8
|
AuthorizationRole[AuthorizationRole["AUTHORIZATION_ROLE_CUSTOMER"] = 1] = "AUTHORIZATION_ROLE_CUSTOMER";
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
//#region src/energy_device/authorization_types.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 AuthorizationRole {
|
|
10
5
|
AUTHORIZATION_ROLE_INVALID = 0,
|
|
11
6
|
AUTHORIZATION_ROLE_CUSTOMER = 1,
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
//#region src/energy_device/authorization_types.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 AuthorizationRole {
|
|
10
5
|
AUTHORIZATION_ROLE_INVALID = 0,
|
|
11
6
|
AUTHORIZATION_ROLE_CUSTOMER = 1,
|
|
@@ -2,11 +2,6 @@ import { Timestamp } from "./google/protobuf/timestamp.mjs";
|
|
|
2
2
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
3
3
|
//#region src/energy_device/authorization_types.ts
|
|
4
4
|
const protobufPackage = "tesla.proto.energy_device.v1";
|
|
5
|
-
/**
|
|
6
|
-
* TESLEMETRY SOURCE-OF-RECORD - no upstream.
|
|
7
|
-
* Provenance: Tesla Energy gateway (TEG) local API, from our own
|
|
8
|
-
* observations and contributions from the community
|
|
9
|
-
*/
|
|
10
5
|
let AuthorizationRole = /* @__PURE__ */ function(AuthorizationRole) {
|
|
11
6
|
AuthorizationRole[AuthorizationRole["AUTHORIZATION_ROLE_INVALID"] = 0] = "AUTHORIZATION_ROLE_INVALID";
|
|
12
7
|
AuthorizationRole[AuthorizationRole["AUTHORIZATION_ROLE_CUSTOMER"] = 1] = "AUTHORIZATION_ROLE_CUSTOMER";
|