@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,16 +1,21 @@
|
|
|
1
1
|
import { DeviceCertFormat, DeviceSignedPayload, DeviceType, Din, EcuId, EncryptedMessage } from "./device.cjs";
|
|
2
2
|
import { ErrorResponse } from "./error.cjs";
|
|
3
|
+
import { Duration } from "./google/protobuf/duration.cjs";
|
|
3
4
|
import { CellularEID, NetworkInterface, NetworkInterfaceIPv4Config, WifiConfig, WifiNetwork, WifiNetworkSecurityType } from "./networking.cjs";
|
|
4
5
|
import { AcceptedPackage, FirmwareVersion, LocallyAvailablePackage, SystemUpdate } from "./update.cjs";
|
|
5
6
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
6
7
|
//#region src/energy_device/common_api.d.ts
|
|
7
8
|
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
9
|
interface CommonAPIGetSystemInfoRequest {}
|
|
10
|
+
interface RadioLegalInformation {
|
|
11
|
+
manufacturer: string | undefined;
|
|
12
|
+
model: string | undefined;
|
|
13
|
+
fccId: string | undefined;
|
|
14
|
+
icId: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
interface ComplianceInformation {
|
|
17
|
+
radioLegalInformation: RadioLegalInformation[];
|
|
18
|
+
}
|
|
14
19
|
interface CommonAPIGetSystemInfoResponse {
|
|
15
20
|
deviceId: EcuId | undefined;
|
|
16
21
|
din: Din | undefined;
|
|
@@ -50,7 +55,9 @@ interface CommonAPIConfigureWifiWithEncryptedPasswordResponse {
|
|
|
50
55
|
wifi: NetworkInterface | undefined;
|
|
51
56
|
result: number;
|
|
52
57
|
}
|
|
53
|
-
interface CommonAPICheckForUpdateRequest {
|
|
58
|
+
interface CommonAPICheckForUpdateRequest {
|
|
59
|
+
downloadIfAvailable: boolean;
|
|
60
|
+
}
|
|
54
61
|
interface CommonAPICheckForUpdateResponse {}
|
|
55
62
|
interface CommonAPICheckForUpdateUrgencyRequest {}
|
|
56
63
|
interface CommonAPICheckForUpdateUrgencyResponse {}
|
|
@@ -107,6 +114,34 @@ interface CommonAPIPrepareRegistrationPayloadRequest {
|
|
|
107
114
|
interface CommonAPIPrepareRegistrationPayloadResponse {
|
|
108
115
|
signedRegistrationPayload: DeviceSignedPayload | undefined;
|
|
109
116
|
}
|
|
117
|
+
interface TcpdumpInfo {
|
|
118
|
+
path: string;
|
|
119
|
+
pid: number;
|
|
120
|
+
interface: string;
|
|
121
|
+
expression: string;
|
|
122
|
+
duration: Duration | undefined;
|
|
123
|
+
maxDuration: Duration | undefined;
|
|
124
|
+
size: number;
|
|
125
|
+
maxSize: number;
|
|
126
|
+
}
|
|
127
|
+
interface CommonAPIStartTcpdumpRequest {
|
|
128
|
+
name: string;
|
|
129
|
+
interface: string;
|
|
130
|
+
expression: string;
|
|
131
|
+
maxDuration: Duration | undefined;
|
|
132
|
+
maxSize: number;
|
|
133
|
+
}
|
|
134
|
+
interface CommonAPIStartTcpdumpResponse {}
|
|
135
|
+
interface CommonAPIStopTcpdumpRequest {
|
|
136
|
+
name: string;
|
|
137
|
+
remove: boolean;
|
|
138
|
+
}
|
|
139
|
+
interface CommonAPIStopTcpdumpResponse {}
|
|
140
|
+
interface CommonAPIGetTcpdumpInfoRequest {}
|
|
141
|
+
interface CommonAPIGetTcpdumpInfoResponse {
|
|
142
|
+
list: TcpdumpInfo[];
|
|
143
|
+
diskQuota: number;
|
|
144
|
+
}
|
|
110
145
|
interface CommonMessages {
|
|
111
146
|
errorResponse: ErrorResponse | undefined;
|
|
112
147
|
getSystemInfoRequest?: CommonAPIGetSystemInfoRequest | undefined;
|
|
@@ -146,7 +181,10 @@ interface CommonMessages {
|
|
|
146
181
|
prepareRegistrationPayloadRequest?: CommonAPIPrepareRegistrationPayloadRequest | undefined;
|
|
147
182
|
prepareRegistrationPayloadResponse?: CommonAPIPrepareRegistrationPayloadResponse | undefined;
|
|
148
183
|
performUpdateFromLocallyAvailablePackagesRequest?: CommonAPIPerformUpdateFromLocallyAvailablePackagesRequest | undefined;
|
|
184
|
+
performUpdateFromLocallyAvailablePackagesResponse?: CommonAPIPerformUpdateFromLocallyAvailablePackagesResponse | undefined;
|
|
149
185
|
/**
|
|
186
|
+
* Tags 40-45 carry request/response payloads whose bodies are types from a
|
|
187
|
+
* separate, not-yet-modeled proto package; left unmodeled here.
|
|
150
188
|
* CommonAPIRegisterRequest registration_request = 40;
|
|
151
189
|
* CommonAPIRegisterResponse registration_response = 41;
|
|
152
190
|
* CommonAPIRetrieveSiteUuidRequest retrieve_site_uuid_request = 42;
|
|
@@ -154,9 +192,16 @@ interface CommonMessages {
|
|
|
154
192
|
* CommonAPIRetrieveSiteSuggestionRequest retrieve_site_suggestion_request = 44;
|
|
155
193
|
* CommonAPIRetrieveSiteSuggestionResponse retrieve_site_suggestion_response = 45;
|
|
156
194
|
*/
|
|
157
|
-
|
|
195
|
+
startTcpdumpRequest?: CommonAPIStartTcpdumpRequest | undefined;
|
|
196
|
+
startTcpdumpResponse?: CommonAPIStartTcpdumpResponse | undefined;
|
|
197
|
+
stopTcpdumpRequest?: CommonAPIStopTcpdumpRequest | undefined;
|
|
198
|
+
stopTcpdumpResponse?: CommonAPIStopTcpdumpResponse | undefined;
|
|
199
|
+
getTcpdumpInfoRequest?: CommonAPIGetTcpdumpInfoRequest | undefined;
|
|
200
|
+
getTcpdumpInfoResponse?: CommonAPIGetTcpdumpInfoResponse | undefined;
|
|
158
201
|
}
|
|
159
202
|
declare const CommonAPIGetSystemInfoRequest: MessageFns<CommonAPIGetSystemInfoRequest>;
|
|
203
|
+
declare const RadioLegalInformation: MessageFns<RadioLegalInformation>;
|
|
204
|
+
declare const ComplianceInformation: MessageFns<ComplianceInformation>;
|
|
160
205
|
declare const CommonAPIGetSystemInfoResponse: MessageFns<CommonAPIGetSystemInfoResponse>;
|
|
161
206
|
declare const CommonAPISetLocalSiteConfigRequest: MessageFns<CommonAPISetLocalSiteConfigRequest>;
|
|
162
207
|
declare const CommonAPISetLocalSiteConfigResponse: MessageFns<CommonAPISetLocalSiteConfigResponse>;
|
|
@@ -194,6 +239,13 @@ declare const CommonAPIPerformUpdateFromLocallyAvailablePackagesRequest: Message
|
|
|
194
239
|
declare const CommonAPIPerformUpdateFromLocallyAvailablePackagesResponse: MessageFns<CommonAPIPerformUpdateFromLocallyAvailablePackagesResponse>;
|
|
195
240
|
declare const CommonAPIPrepareRegistrationPayloadRequest: MessageFns<CommonAPIPrepareRegistrationPayloadRequest>;
|
|
196
241
|
declare const CommonAPIPrepareRegistrationPayloadResponse: MessageFns<CommonAPIPrepareRegistrationPayloadResponse>;
|
|
242
|
+
declare const TcpdumpInfo: MessageFns<TcpdumpInfo>;
|
|
243
|
+
declare const CommonAPIStartTcpdumpRequest: MessageFns<CommonAPIStartTcpdumpRequest>;
|
|
244
|
+
declare const CommonAPIStartTcpdumpResponse: MessageFns<CommonAPIStartTcpdumpResponse>;
|
|
245
|
+
declare const CommonAPIStopTcpdumpRequest: MessageFns<CommonAPIStopTcpdumpRequest>;
|
|
246
|
+
declare const CommonAPIStopTcpdumpResponse: MessageFns<CommonAPIStopTcpdumpResponse>;
|
|
247
|
+
declare const CommonAPIGetTcpdumpInfoRequest: MessageFns<CommonAPIGetTcpdumpInfoRequest>;
|
|
248
|
+
declare const CommonAPIGetTcpdumpInfoResponse: MessageFns<CommonAPIGetTcpdumpInfoResponse>;
|
|
197
249
|
declare const CommonMessages: MessageFns<CommonMessages>;
|
|
198
250
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
199
251
|
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>;
|
|
@@ -208,4 +260,4 @@ interface MessageFns<T> {
|
|
|
208
260
|
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
209
261
|
}
|
|
210
262
|
//#endregion
|
|
211
|
-
export { CommonAPICheckForUpdateRequest, CommonAPICheckForUpdateResponse, CommonAPICheckForUpdateUrgencyRequest, CommonAPICheckForUpdateUrgencyResponse, CommonAPICheckInternetRequest, CommonAPICheckInternetResponse, CommonAPIClearUpdateRequest, CommonAPIClearUpdateResponse, CommonAPIConfigureEthernetRequest, CommonAPIConfigureEthernetResponse, CommonAPIConfigureWifiRequest, CommonAPIConfigureWifiResponse, CommonAPIConfigureWifiWithEncryptedPasswordRequest, CommonAPIConfigureWifiWithEncryptedPasswordResponse, CommonAPIDeviceCertRequest, CommonAPIDeviceCertResponse, CommonAPIFactoryResetRequest, CommonAPIFactoryResetResponse, CommonAPIForgetWifiNetworkRequest, CommonAPIForgetWifiNetworkResponse, CommonAPIGetCellularInfoRequest, CommonAPIGetCellularInfoResponse, CommonAPIGetNetworkingStatusRequest, CommonAPIGetNetworkingStatusResponse, CommonAPIGetSystemInfoRequest, CommonAPIGetSystemInfoResponse, CommonAPINegotiateUpdateWithLocallyAvailablePackagesRequest, CommonAPINegotiateUpdateWithLocallyAvailablePackagesResponse, CommonAPIPerformUpdateFromLocallyAvailablePackagesRequest, CommonAPIPerformUpdateFromLocallyAvailablePackagesResponse, CommonAPIPerformUpdateRequest, CommonAPIPerformUpdateResponse, CommonAPIPrepareRegistrationPayloadRequest, CommonAPIPrepareRegistrationPayloadResponse, CommonAPISetLocalSiteConfigRequest, CommonAPISetLocalSiteConfigResponse, CommonAPIWifiScanRequest, CommonAPIWifiScanResponse, CommonMessages, DeepPartial, Exact, MessageFns, protobufPackage };
|
|
263
|
+
export { CommonAPICheckForUpdateRequest, CommonAPICheckForUpdateResponse, CommonAPICheckForUpdateUrgencyRequest, CommonAPICheckForUpdateUrgencyResponse, CommonAPICheckInternetRequest, CommonAPICheckInternetResponse, CommonAPIClearUpdateRequest, CommonAPIClearUpdateResponse, CommonAPIConfigureEthernetRequest, CommonAPIConfigureEthernetResponse, CommonAPIConfigureWifiRequest, CommonAPIConfigureWifiResponse, CommonAPIConfigureWifiWithEncryptedPasswordRequest, CommonAPIConfigureWifiWithEncryptedPasswordResponse, CommonAPIDeviceCertRequest, CommonAPIDeviceCertResponse, CommonAPIFactoryResetRequest, CommonAPIFactoryResetResponse, CommonAPIForgetWifiNetworkRequest, CommonAPIForgetWifiNetworkResponse, CommonAPIGetCellularInfoRequest, CommonAPIGetCellularInfoResponse, CommonAPIGetNetworkingStatusRequest, CommonAPIGetNetworkingStatusResponse, CommonAPIGetSystemInfoRequest, CommonAPIGetSystemInfoResponse, CommonAPIGetTcpdumpInfoRequest, CommonAPIGetTcpdumpInfoResponse, CommonAPINegotiateUpdateWithLocallyAvailablePackagesRequest, CommonAPINegotiateUpdateWithLocallyAvailablePackagesResponse, CommonAPIPerformUpdateFromLocallyAvailablePackagesRequest, CommonAPIPerformUpdateFromLocallyAvailablePackagesResponse, CommonAPIPerformUpdateRequest, CommonAPIPerformUpdateResponse, CommonAPIPrepareRegistrationPayloadRequest, CommonAPIPrepareRegistrationPayloadResponse, CommonAPISetLocalSiteConfigRequest, CommonAPISetLocalSiteConfigResponse, CommonAPIStartTcpdumpRequest, CommonAPIStartTcpdumpResponse, CommonAPIStopTcpdumpRequest, CommonAPIStopTcpdumpResponse, CommonAPIWifiScanRequest, CommonAPIWifiScanResponse, CommonMessages, ComplianceInformation, DeepPartial, Exact, MessageFns, RadioLegalInformation, TcpdumpInfo, protobufPackage };
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { DeviceCertFormat, DeviceSignedPayload, DeviceType, Din, EcuId, EncryptedMessage } from "./device.mjs";
|
|
2
2
|
import { ErrorResponse } from "./error.mjs";
|
|
3
|
+
import { Duration } from "./google/protobuf/duration.mjs";
|
|
3
4
|
import { CellularEID, NetworkInterface, NetworkInterfaceIPv4Config, WifiConfig, WifiNetwork, WifiNetworkSecurityType } from "./networking.mjs";
|
|
4
5
|
import { AcceptedPackage, FirmwareVersion, LocallyAvailablePackage, SystemUpdate } from "./update.mjs";
|
|
5
6
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
6
7
|
//#region src/energy_device/common_api.d.ts
|
|
7
8
|
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
9
|
interface CommonAPIGetSystemInfoRequest {}
|
|
10
|
+
interface RadioLegalInformation {
|
|
11
|
+
manufacturer: string | undefined;
|
|
12
|
+
model: string | undefined;
|
|
13
|
+
fccId: string | undefined;
|
|
14
|
+
icId: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
interface ComplianceInformation {
|
|
17
|
+
radioLegalInformation: RadioLegalInformation[];
|
|
18
|
+
}
|
|
14
19
|
interface CommonAPIGetSystemInfoResponse {
|
|
15
20
|
deviceId: EcuId | undefined;
|
|
16
21
|
din: Din | undefined;
|
|
@@ -50,7 +55,9 @@ interface CommonAPIConfigureWifiWithEncryptedPasswordResponse {
|
|
|
50
55
|
wifi: NetworkInterface | undefined;
|
|
51
56
|
result: number;
|
|
52
57
|
}
|
|
53
|
-
interface CommonAPICheckForUpdateRequest {
|
|
58
|
+
interface CommonAPICheckForUpdateRequest {
|
|
59
|
+
downloadIfAvailable: boolean;
|
|
60
|
+
}
|
|
54
61
|
interface CommonAPICheckForUpdateResponse {}
|
|
55
62
|
interface CommonAPICheckForUpdateUrgencyRequest {}
|
|
56
63
|
interface CommonAPICheckForUpdateUrgencyResponse {}
|
|
@@ -107,6 +114,34 @@ interface CommonAPIPrepareRegistrationPayloadRequest {
|
|
|
107
114
|
interface CommonAPIPrepareRegistrationPayloadResponse {
|
|
108
115
|
signedRegistrationPayload: DeviceSignedPayload | undefined;
|
|
109
116
|
}
|
|
117
|
+
interface TcpdumpInfo {
|
|
118
|
+
path: string;
|
|
119
|
+
pid: number;
|
|
120
|
+
interface: string;
|
|
121
|
+
expression: string;
|
|
122
|
+
duration: Duration | undefined;
|
|
123
|
+
maxDuration: Duration | undefined;
|
|
124
|
+
size: number;
|
|
125
|
+
maxSize: number;
|
|
126
|
+
}
|
|
127
|
+
interface CommonAPIStartTcpdumpRequest {
|
|
128
|
+
name: string;
|
|
129
|
+
interface: string;
|
|
130
|
+
expression: string;
|
|
131
|
+
maxDuration: Duration | undefined;
|
|
132
|
+
maxSize: number;
|
|
133
|
+
}
|
|
134
|
+
interface CommonAPIStartTcpdumpResponse {}
|
|
135
|
+
interface CommonAPIStopTcpdumpRequest {
|
|
136
|
+
name: string;
|
|
137
|
+
remove: boolean;
|
|
138
|
+
}
|
|
139
|
+
interface CommonAPIStopTcpdumpResponse {}
|
|
140
|
+
interface CommonAPIGetTcpdumpInfoRequest {}
|
|
141
|
+
interface CommonAPIGetTcpdumpInfoResponse {
|
|
142
|
+
list: TcpdumpInfo[];
|
|
143
|
+
diskQuota: number;
|
|
144
|
+
}
|
|
110
145
|
interface CommonMessages {
|
|
111
146
|
errorResponse: ErrorResponse | undefined;
|
|
112
147
|
getSystemInfoRequest?: CommonAPIGetSystemInfoRequest | undefined;
|
|
@@ -146,7 +181,10 @@ interface CommonMessages {
|
|
|
146
181
|
prepareRegistrationPayloadRequest?: CommonAPIPrepareRegistrationPayloadRequest | undefined;
|
|
147
182
|
prepareRegistrationPayloadResponse?: CommonAPIPrepareRegistrationPayloadResponse | undefined;
|
|
148
183
|
performUpdateFromLocallyAvailablePackagesRequest?: CommonAPIPerformUpdateFromLocallyAvailablePackagesRequest | undefined;
|
|
184
|
+
performUpdateFromLocallyAvailablePackagesResponse?: CommonAPIPerformUpdateFromLocallyAvailablePackagesResponse | undefined;
|
|
149
185
|
/**
|
|
186
|
+
* Tags 40-45 carry request/response payloads whose bodies are types from a
|
|
187
|
+
* separate, not-yet-modeled proto package; left unmodeled here.
|
|
150
188
|
* CommonAPIRegisterRequest registration_request = 40;
|
|
151
189
|
* CommonAPIRegisterResponse registration_response = 41;
|
|
152
190
|
* CommonAPIRetrieveSiteUuidRequest retrieve_site_uuid_request = 42;
|
|
@@ -154,9 +192,16 @@ interface CommonMessages {
|
|
|
154
192
|
* CommonAPIRetrieveSiteSuggestionRequest retrieve_site_suggestion_request = 44;
|
|
155
193
|
* CommonAPIRetrieveSiteSuggestionResponse retrieve_site_suggestion_response = 45;
|
|
156
194
|
*/
|
|
157
|
-
|
|
195
|
+
startTcpdumpRequest?: CommonAPIStartTcpdumpRequest | undefined;
|
|
196
|
+
startTcpdumpResponse?: CommonAPIStartTcpdumpResponse | undefined;
|
|
197
|
+
stopTcpdumpRequest?: CommonAPIStopTcpdumpRequest | undefined;
|
|
198
|
+
stopTcpdumpResponse?: CommonAPIStopTcpdumpResponse | undefined;
|
|
199
|
+
getTcpdumpInfoRequest?: CommonAPIGetTcpdumpInfoRequest | undefined;
|
|
200
|
+
getTcpdumpInfoResponse?: CommonAPIGetTcpdumpInfoResponse | undefined;
|
|
158
201
|
}
|
|
159
202
|
declare const CommonAPIGetSystemInfoRequest: MessageFns<CommonAPIGetSystemInfoRequest>;
|
|
203
|
+
declare const RadioLegalInformation: MessageFns<RadioLegalInformation>;
|
|
204
|
+
declare const ComplianceInformation: MessageFns<ComplianceInformation>;
|
|
160
205
|
declare const CommonAPIGetSystemInfoResponse: MessageFns<CommonAPIGetSystemInfoResponse>;
|
|
161
206
|
declare const CommonAPISetLocalSiteConfigRequest: MessageFns<CommonAPISetLocalSiteConfigRequest>;
|
|
162
207
|
declare const CommonAPISetLocalSiteConfigResponse: MessageFns<CommonAPISetLocalSiteConfigResponse>;
|
|
@@ -194,6 +239,13 @@ declare const CommonAPIPerformUpdateFromLocallyAvailablePackagesRequest: Message
|
|
|
194
239
|
declare const CommonAPIPerformUpdateFromLocallyAvailablePackagesResponse: MessageFns<CommonAPIPerformUpdateFromLocallyAvailablePackagesResponse>;
|
|
195
240
|
declare const CommonAPIPrepareRegistrationPayloadRequest: MessageFns<CommonAPIPrepareRegistrationPayloadRequest>;
|
|
196
241
|
declare const CommonAPIPrepareRegistrationPayloadResponse: MessageFns<CommonAPIPrepareRegistrationPayloadResponse>;
|
|
242
|
+
declare const TcpdumpInfo: MessageFns<TcpdumpInfo>;
|
|
243
|
+
declare const CommonAPIStartTcpdumpRequest: MessageFns<CommonAPIStartTcpdumpRequest>;
|
|
244
|
+
declare const CommonAPIStartTcpdumpResponse: MessageFns<CommonAPIStartTcpdumpResponse>;
|
|
245
|
+
declare const CommonAPIStopTcpdumpRequest: MessageFns<CommonAPIStopTcpdumpRequest>;
|
|
246
|
+
declare const CommonAPIStopTcpdumpResponse: MessageFns<CommonAPIStopTcpdumpResponse>;
|
|
247
|
+
declare const CommonAPIGetTcpdumpInfoRequest: MessageFns<CommonAPIGetTcpdumpInfoRequest>;
|
|
248
|
+
declare const CommonAPIGetTcpdumpInfoResponse: MessageFns<CommonAPIGetTcpdumpInfoResponse>;
|
|
197
249
|
declare const CommonMessages: MessageFns<CommonMessages>;
|
|
198
250
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
199
251
|
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>;
|
|
@@ -208,4 +260,4 @@ interface MessageFns<T> {
|
|
|
208
260
|
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
209
261
|
}
|
|
210
262
|
//#endregion
|
|
211
|
-
export { CommonAPICheckForUpdateRequest, CommonAPICheckForUpdateResponse, CommonAPICheckForUpdateUrgencyRequest, CommonAPICheckForUpdateUrgencyResponse, CommonAPICheckInternetRequest, CommonAPICheckInternetResponse, CommonAPIClearUpdateRequest, CommonAPIClearUpdateResponse, CommonAPIConfigureEthernetRequest, CommonAPIConfigureEthernetResponse, CommonAPIConfigureWifiRequest, CommonAPIConfigureWifiResponse, CommonAPIConfigureWifiWithEncryptedPasswordRequest, CommonAPIConfigureWifiWithEncryptedPasswordResponse, CommonAPIDeviceCertRequest, CommonAPIDeviceCertResponse, CommonAPIFactoryResetRequest, CommonAPIFactoryResetResponse, CommonAPIForgetWifiNetworkRequest, CommonAPIForgetWifiNetworkResponse, CommonAPIGetCellularInfoRequest, CommonAPIGetCellularInfoResponse, CommonAPIGetNetworkingStatusRequest, CommonAPIGetNetworkingStatusResponse, CommonAPIGetSystemInfoRequest, CommonAPIGetSystemInfoResponse, CommonAPINegotiateUpdateWithLocallyAvailablePackagesRequest, CommonAPINegotiateUpdateWithLocallyAvailablePackagesResponse, CommonAPIPerformUpdateFromLocallyAvailablePackagesRequest, CommonAPIPerformUpdateFromLocallyAvailablePackagesResponse, CommonAPIPerformUpdateRequest, CommonAPIPerformUpdateResponse, CommonAPIPrepareRegistrationPayloadRequest, CommonAPIPrepareRegistrationPayloadResponse, CommonAPISetLocalSiteConfigRequest, CommonAPISetLocalSiteConfigResponse, CommonAPIWifiScanRequest, CommonAPIWifiScanResponse, CommonMessages, DeepPartial, Exact, MessageFns, protobufPackage };
|
|
263
|
+
export { CommonAPICheckForUpdateRequest, CommonAPICheckForUpdateResponse, CommonAPICheckForUpdateUrgencyRequest, CommonAPICheckForUpdateUrgencyResponse, CommonAPICheckInternetRequest, CommonAPICheckInternetResponse, CommonAPIClearUpdateRequest, CommonAPIClearUpdateResponse, CommonAPIConfigureEthernetRequest, CommonAPIConfigureEthernetResponse, CommonAPIConfigureWifiRequest, CommonAPIConfigureWifiResponse, CommonAPIConfigureWifiWithEncryptedPasswordRequest, CommonAPIConfigureWifiWithEncryptedPasswordResponse, CommonAPIDeviceCertRequest, CommonAPIDeviceCertResponse, CommonAPIFactoryResetRequest, CommonAPIFactoryResetResponse, CommonAPIForgetWifiNetworkRequest, CommonAPIForgetWifiNetworkResponse, CommonAPIGetCellularInfoRequest, CommonAPIGetCellularInfoResponse, CommonAPIGetNetworkingStatusRequest, CommonAPIGetNetworkingStatusResponse, CommonAPIGetSystemInfoRequest, CommonAPIGetSystemInfoResponse, CommonAPIGetTcpdumpInfoRequest, CommonAPIGetTcpdumpInfoResponse, CommonAPINegotiateUpdateWithLocallyAvailablePackagesRequest, CommonAPINegotiateUpdateWithLocallyAvailablePackagesResponse, CommonAPIPerformUpdateFromLocallyAvailablePackagesRequest, CommonAPIPerformUpdateFromLocallyAvailablePackagesResponse, CommonAPIPerformUpdateRequest, CommonAPIPerformUpdateResponse, CommonAPIPrepareRegistrationPayloadRequest, CommonAPIPrepareRegistrationPayloadResponse, CommonAPISetLocalSiteConfigRequest, CommonAPISetLocalSiteConfigResponse, CommonAPIStartTcpdumpRequest, CommonAPIStartTcpdumpResponse, CommonAPIStopTcpdumpRequest, CommonAPIStopTcpdumpResponse, CommonAPIWifiScanRequest, CommonAPIWifiScanResponse, CommonMessages, ComplianceInformation, DeepPartial, Exact, MessageFns, RadioLegalInformation, TcpdumpInfo, protobufPackage };
|