@teslemetry/tesla-protocol 0.1.1

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 (150) hide show
  1. package/README.md +20 -0
  2. package/dist/command/car_server.cjs +11126 -0
  3. package/dist/command/car_server.d.cts +1281 -0
  4. package/dist/command/car_server.d.mts +1281 -0
  5. package/dist/command/car_server.mjs +10880 -0
  6. package/dist/command/common.cjs +1536 -0
  7. package/dist/command/common.d.cts +327 -0
  8. package/dist/command/common.d.mts +327 -0
  9. package/dist/command/common.mjs +1488 -0
  10. package/dist/command/errors.cjs +107 -0
  11. package/dist/command/errors.d.cts +40 -0
  12. package/dist/command/errors.d.mts +40 -0
  13. package/dist/command/errors.mjs +102 -0
  14. package/dist/command/google/protobuf/timestamp.cjs +71 -0
  15. package/dist/command/google/protobuf/timestamp.d.cts +124 -0
  16. package/dist/command/google/protobuf/timestamp.d.mts +124 -0
  17. package/dist/command/google/protobuf/timestamp.mjs +69 -0
  18. package/dist/command/google/protobuf/wrappers.cjs +421 -0
  19. package/dist/command/google/protobuf/wrappers.d.cts +134 -0
  20. package/dist/command/google/protobuf/wrappers.d.mts +134 -0
  21. package/dist/command/google/protobuf/wrappers.mjs +411 -0
  22. package/dist/command/keys.cjs +60 -0
  23. package/dist/command/keys.d.cts +23 -0
  24. package/dist/command/keys.d.mts +23 -0
  25. package/dist/command/keys.mjs +56 -0
  26. package/dist/command/managed_charging.cjs +435 -0
  27. package/dist/command/managed_charging.d.cts +86 -0
  28. package/dist/command/managed_charging.d.mts +86 -0
  29. package/dist/command/managed_charging.mjs +421 -0
  30. package/dist/command/session.cjs +119 -0
  31. package/dist/command/session.d.cts +28 -0
  32. package/dist/command/session.d.mts +28 -0
  33. package/dist/command/session.mjs +117 -0
  34. package/dist/command/signatures.cjs +696 -0
  35. package/dist/command/signatures.d.cts +107 -0
  36. package/dist/command/signatures.d.mts +107 -0
  37. package/dist/command/signatures.mjs +678 -0
  38. package/dist/command/universal_message.cjs +588 -0
  39. package/dist/command/universal_message.d.cts +141 -0
  40. package/dist/command/universal_message.d.mts +141 -0
  41. package/dist/command/universal_message.mjs +571 -0
  42. package/dist/command/vcsec.cjs +2281 -0
  43. package/dist/command/vcsec.d.cts +404 -0
  44. package/dist/command/vcsec.d.mts +404 -0
  45. package/dist/command/vcsec.mjs +2218 -0
  46. package/dist/command/vehicle.cjs +10332 -0
  47. package/dist/command/vehicle.d.cts +1429 -0
  48. package/dist/command/vehicle.d.mts +1429 -0
  49. package/dist/command/vehicle.mjs +10168 -0
  50. package/dist/energy_command/identifier_type.cjs +47 -0
  51. package/dist/energy_command/identifier_type.d.cts +19 -0
  52. package/dist/energy_command/identifier_type.d.mts +19 -0
  53. package/dist/energy_command/identifier_type.mjs +43 -0
  54. package/dist/energy_device/authorization_api.cjs +815 -0
  55. package/dist/energy_device/authorization_api.d.cts +92 -0
  56. package/dist/energy_device/authorization_api.d.mts +92 -0
  57. package/dist/energy_device/authorization_api.mjs +801 -0
  58. package/dist/energy_device/authorization_types.cjs +348 -0
  59. package/dist/energy_device/authorization_types.d.cts +79 -0
  60. package/dist/energy_device/authorization_types.d.mts +79 -0
  61. package/dist/energy_device/authorization_types.mjs +331 -0
  62. package/dist/energy_device/common_api.cjs +2104 -0
  63. package/dist/energy_device/common_api.d.cts +211 -0
  64. package/dist/energy_device/common_api.d.mts +211 -0
  65. package/dist/energy_device/common_api.mjs +2064 -0
  66. package/dist/energy_device/device.cjs +485 -0
  67. package/dist/energy_device/device.d.cts +102 -0
  68. package/dist/energy_device/device.d.mts +102 -0
  69. package/dist/energy_device/device.mjs +462 -0
  70. package/dist/energy_device/energy.cjs +442 -0
  71. package/dist/energy_device/energy.d.cts +82 -0
  72. package/dist/energy_device/energy.d.mts +82 -0
  73. package/dist/energy_device/energy.mjs +429 -0
  74. package/dist/energy_device/energy_site_net.cjs +235 -0
  75. package/dist/energy_device/energy_site_net.d.cts +69 -0
  76. package/dist/energy_device/energy_site_net.d.mts +69 -0
  77. package/dist/energy_device/energy_site_net.mjs +219 -0
  78. package/dist/energy_device/error.cjs +53 -0
  79. package/dist/energy_device/error.d.cts +27 -0
  80. package/dist/energy_device/error.d.mts +27 -0
  81. package/dist/energy_device/error.mjs +51 -0
  82. package/dist/energy_device/google/protobuf/timestamp.cjs +71 -0
  83. package/dist/energy_device/google/protobuf/timestamp.d.cts +124 -0
  84. package/dist/energy_device/google/protobuf/timestamp.d.mts +124 -0
  85. package/dist/energy_device/google/protobuf/timestamp.mjs +69 -0
  86. package/dist/energy_device/google/protobuf/wrappers.cjs +421 -0
  87. package/dist/energy_device/google/protobuf/wrappers.d.cts +134 -0
  88. package/dist/energy_device/google/protobuf/wrappers.d.mts +134 -0
  89. package/dist/energy_device/google/protobuf/wrappers.mjs +411 -0
  90. package/dist/energy_device/google/rpc/status.cjs +65 -0
  91. package/dist/energy_device/google/rpc/status.d.cts +26 -0
  92. package/dist/energy_device/google/rpc/status.d.mts +26 -0
  93. package/dist/energy_device/google/rpc/status.mjs +63 -0
  94. package/dist/energy_device/networking.cjs +834 -0
  95. package/dist/energy_device/networking.d.cts +141 -0
  96. package/dist/energy_device/networking.d.mts +141 -0
  97. package/dist/energy_device/networking.mjs +810 -0
  98. package/dist/energy_device/teg_api.cjs +594 -0
  99. package/dist/energy_device/teg_api.d.cts +140 -0
  100. package/dist/energy_device/teg_api.d.mts +140 -0
  101. package/dist/energy_device/teg_api.mjs +581 -0
  102. package/dist/energy_device/transport.cjs +478 -0
  103. package/dist/energy_device/transport.d.cts +95 -0
  104. package/dist/energy_device/transport.d.mts +95 -0
  105. package/dist/energy_device/transport.mjs +460 -0
  106. package/dist/energy_device/update.cjs +521 -0
  107. package/dist/energy_device/update.d.cts +86 -0
  108. package/dist/energy_device/update.d.mts +86 -0
  109. package/dist/energy_device/update.mjs +506 -0
  110. package/dist/energy_device/wall_connector.cjs +634 -0
  111. package/dist/energy_device/wall_connector.d.cts +182 -0
  112. package/dist/energy_device/wall_connector.d.mts +182 -0
  113. package/dist/energy_device/wall_connector.mjs +590 -0
  114. package/dist/telemetry/google/protobuf/timestamp.cjs +71 -0
  115. package/dist/telemetry/google/protobuf/timestamp.d.cts +124 -0
  116. package/dist/telemetry/google/protobuf/timestamp.d.mts +124 -0
  117. package/dist/telemetry/google/protobuf/timestamp.mjs +69 -0
  118. package/dist/telemetry/vehicle_alert.cjs +214 -0
  119. package/dist/telemetry/vehicle_alert.d.cts +48 -0
  120. package/dist/telemetry/vehicle_alert.d.mts +48 -0
  121. package/dist/telemetry/vehicle_alert.mjs +208 -0
  122. package/dist/telemetry/vehicle_connectivity.cjs +145 -0
  123. package/dist/telemetry/vehicle_connectivity.d.cts +41 -0
  124. package/dist/telemetry/vehicle_connectivity.d.mts +41 -0
  125. package/dist/telemetry/vehicle_connectivity.mjs +140 -0
  126. package/dist/telemetry/vehicle_data.cjs +3792 -0
  127. package/dist/telemetry/vehicle_data.d.cts +872 -0
  128. package/dist/telemetry/vehicle_data.d.mts +872 -0
  129. package/dist/telemetry/vehicle_data.mjs +3655 -0
  130. package/dist/telemetry/vehicle_error.cjs +245 -0
  131. package/dist/telemetry/vehicle_error.d.cts +45 -0
  132. package/dist/telemetry/vehicle_error.d.mts +45 -0
  133. package/dist/telemetry/vehicle_error.mjs +241 -0
  134. package/dist/telemetry/vehicle_metric.cjs +236 -0
  135. package/dist/telemetry/vehicle_metric.d.cts +44 -0
  136. package/dist/telemetry/vehicle_metric.d.mts +44 -0
  137. package/dist/telemetry/vehicle_metric.mjs +232 -0
  138. package/dist/teslapower/google/protobuf/any.cjs +84 -0
  139. package/dist/teslapower/google/protobuf/any.d.cts +140 -0
  140. package/dist/teslapower/google/protobuf/any.d.mts +140 -0
  141. package/dist/teslapower/google/protobuf/any.mjs +82 -0
  142. package/dist/teslapower/google/protobuf/timestamp.cjs +71 -0
  143. package/dist/teslapower/google/protobuf/timestamp.d.cts +124 -0
  144. package/dist/teslapower/google/protobuf/timestamp.d.mts +124 -0
  145. package/dist/teslapower/google/protobuf/timestamp.mjs +69 -0
  146. package/dist/teslapower/teslapower.cjs +5486 -0
  147. package/dist/teslapower/teslapower.d.cts +518 -0
  148. package/dist/teslapower/teslapower.d.mts +518 -0
  149. package/dist/teslapower/teslapower.mjs +5381 -0
  150. package/package.json +53 -0
@@ -0,0 +1,92 @@
1
+ import { AuthorizationRecord, AuthorizationRole, AuthorizedClientType, AuthorizedKeyType } from "./authorization_types.cjs";
2
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
3
+ //#region src/energy_device/authorization_api.d.ts
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
+ interface AuthorizationAPIAddAuthorizedClientRequest {
11
+ type: AuthorizedClientType;
12
+ description: string;
13
+ keyType: AuthorizedKeyType;
14
+ publicKey: Uint8Array;
15
+ }
16
+ interface AuthorizationAPIAddAuthorizedClientResponse {
17
+ client: AuthorizationRecord | undefined;
18
+ }
19
+ interface AuthorizationAPIAddAuthorizedClientByTrustedSignatureRequest {
20
+ type: AuthorizedClientType;
21
+ description: string;
22
+ keyType: AuthorizedKeyType;
23
+ publicKey: Uint8Array;
24
+ roles: AuthorizationRole[];
25
+ identifier: string;
26
+ }
27
+ interface AuthorizationAPIAddAuthorizedClientByTrustedSignatureResponse {
28
+ client: AuthorizationRecord | undefined;
29
+ }
30
+ interface AuthorizationAPIRemoveAuthorizedClientRequest {
31
+ publicKey: Uint8Array;
32
+ }
33
+ interface AuthorizationAPIRemoveAuthorizedClientResponse {}
34
+ interface AuthorizationAPIListAuthorizedClientsRequest {}
35
+ interface AuthorizationAPIListAuthorizedClientsResponse {
36
+ clients: AuthorizationRecord[];
37
+ enableLineSwitchOff: boolean;
38
+ }
39
+ interface AuthorizationAPIGetSignedCommandsPublicKeyRequest {}
40
+ interface AuthorizationAPIGetSignedCommandsPublicKeyResponse {
41
+ pubKeyEcc: Uint8Array;
42
+ }
43
+ interface AuthorizationAPIConfigureRemoteServiceRequest {
44
+ durationSeconds: number;
45
+ sessionId: string;
46
+ requesterEmail: string;
47
+ }
48
+ interface AuthorizationAPIConfigureRemoteServiceResponse {
49
+ beginTime: Date | undefined;
50
+ expiryTime: Date | undefined;
51
+ }
52
+ interface AuthorizationMessages {
53
+ addAuthorizedClientRequest?: AuthorizationAPIAddAuthorizedClientRequest | undefined;
54
+ addAuthorizedClientResponse?: AuthorizationAPIAddAuthorizedClientResponse | undefined;
55
+ removeAuthorizedClientRequest?: AuthorizationAPIRemoveAuthorizedClientRequest | undefined;
56
+ removeAuthorizedClientResponse?: AuthorizationAPIRemoveAuthorizedClientResponse | undefined;
57
+ listAuthorizedClientsRequest?: AuthorizationAPIListAuthorizedClientsRequest | undefined;
58
+ listAuthorizedClientsResponse?: AuthorizationAPIListAuthorizedClientsResponse | undefined;
59
+ getSignedCommandsPublicKeyRequest?: AuthorizationAPIGetSignedCommandsPublicKeyRequest | undefined;
60
+ getSignedCommandsPublicKeyResponse?: AuthorizationAPIGetSignedCommandsPublicKeyResponse | undefined;
61
+ addAuthorizedClientByTrustedSignatureRequest?: AuthorizationAPIAddAuthorizedClientByTrustedSignatureRequest | undefined;
62
+ addAuthorizedClientByTrustedSignatureResponse?: AuthorizationAPIAddAuthorizedClientByTrustedSignatureResponse | undefined;
63
+ configureRemoteServiceRequest?: AuthorizationAPIConfigureRemoteServiceRequest | undefined;
64
+ configureRemoteServiceResponse?: AuthorizationAPIConfigureRemoteServiceResponse | undefined;
65
+ }
66
+ declare const AuthorizationAPIAddAuthorizedClientRequest: MessageFns<AuthorizationAPIAddAuthorizedClientRequest>;
67
+ declare const AuthorizationAPIAddAuthorizedClientResponse: MessageFns<AuthorizationAPIAddAuthorizedClientResponse>;
68
+ declare const AuthorizationAPIAddAuthorizedClientByTrustedSignatureRequest: MessageFns<AuthorizationAPIAddAuthorizedClientByTrustedSignatureRequest>;
69
+ declare const AuthorizationAPIAddAuthorizedClientByTrustedSignatureResponse: MessageFns<AuthorizationAPIAddAuthorizedClientByTrustedSignatureResponse>;
70
+ declare const AuthorizationAPIRemoveAuthorizedClientRequest: MessageFns<AuthorizationAPIRemoveAuthorizedClientRequest>;
71
+ declare const AuthorizationAPIRemoveAuthorizedClientResponse: MessageFns<AuthorizationAPIRemoveAuthorizedClientResponse>;
72
+ declare const AuthorizationAPIListAuthorizedClientsRequest: MessageFns<AuthorizationAPIListAuthorizedClientsRequest>;
73
+ declare const AuthorizationAPIListAuthorizedClientsResponse: MessageFns<AuthorizationAPIListAuthorizedClientsResponse>;
74
+ declare const AuthorizationAPIGetSignedCommandsPublicKeyRequest: MessageFns<AuthorizationAPIGetSignedCommandsPublicKeyRequest>;
75
+ declare const AuthorizationAPIGetSignedCommandsPublicKeyResponse: MessageFns<AuthorizationAPIGetSignedCommandsPublicKeyResponse>;
76
+ declare const AuthorizationAPIConfigureRemoteServiceRequest: MessageFns<AuthorizationAPIConfigureRemoteServiceRequest>;
77
+ declare const AuthorizationAPIConfigureRemoteServiceResponse: MessageFns<AuthorizationAPIConfigureRemoteServiceResponse>;
78
+ declare const AuthorizationMessages: MessageFns<AuthorizationMessages>;
79
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
80
+ 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>;
81
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
82
+ type Exact<P, I extends P> = P extends Builtin ? P : P & { [K in keyof P]: Exact<P[K], I[K]>; } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never; };
83
+ interface MessageFns<T> {
84
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
85
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
86
+ fromJSON(object: any): T;
87
+ toJSON(message: T): unknown;
88
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
89
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
90
+ }
91
+ //#endregion
92
+ export { AuthorizationAPIAddAuthorizedClientByTrustedSignatureRequest, AuthorizationAPIAddAuthorizedClientByTrustedSignatureResponse, AuthorizationAPIAddAuthorizedClientRequest, AuthorizationAPIAddAuthorizedClientResponse, AuthorizationAPIConfigureRemoteServiceRequest, AuthorizationAPIConfigureRemoteServiceResponse, AuthorizationAPIGetSignedCommandsPublicKeyRequest, AuthorizationAPIGetSignedCommandsPublicKeyResponse, AuthorizationAPIListAuthorizedClientsRequest, AuthorizationAPIListAuthorizedClientsResponse, AuthorizationAPIRemoveAuthorizedClientRequest, AuthorizationAPIRemoveAuthorizedClientResponse, AuthorizationMessages, DeepPartial, Exact, MessageFns, protobufPackage };
@@ -0,0 +1,92 @@
1
+ import { AuthorizationRecord, AuthorizationRole, AuthorizedClientType, AuthorizedKeyType } from "./authorization_types.mjs";
2
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
3
+ //#region src/energy_device/authorization_api.d.ts
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
+ interface AuthorizationAPIAddAuthorizedClientRequest {
11
+ type: AuthorizedClientType;
12
+ description: string;
13
+ keyType: AuthorizedKeyType;
14
+ publicKey: Uint8Array;
15
+ }
16
+ interface AuthorizationAPIAddAuthorizedClientResponse {
17
+ client: AuthorizationRecord | undefined;
18
+ }
19
+ interface AuthorizationAPIAddAuthorizedClientByTrustedSignatureRequest {
20
+ type: AuthorizedClientType;
21
+ description: string;
22
+ keyType: AuthorizedKeyType;
23
+ publicKey: Uint8Array;
24
+ roles: AuthorizationRole[];
25
+ identifier: string;
26
+ }
27
+ interface AuthorizationAPIAddAuthorizedClientByTrustedSignatureResponse {
28
+ client: AuthorizationRecord | undefined;
29
+ }
30
+ interface AuthorizationAPIRemoveAuthorizedClientRequest {
31
+ publicKey: Uint8Array;
32
+ }
33
+ interface AuthorizationAPIRemoveAuthorizedClientResponse {}
34
+ interface AuthorizationAPIListAuthorizedClientsRequest {}
35
+ interface AuthorizationAPIListAuthorizedClientsResponse {
36
+ clients: AuthorizationRecord[];
37
+ enableLineSwitchOff: boolean;
38
+ }
39
+ interface AuthorizationAPIGetSignedCommandsPublicKeyRequest {}
40
+ interface AuthorizationAPIGetSignedCommandsPublicKeyResponse {
41
+ pubKeyEcc: Uint8Array;
42
+ }
43
+ interface AuthorizationAPIConfigureRemoteServiceRequest {
44
+ durationSeconds: number;
45
+ sessionId: string;
46
+ requesterEmail: string;
47
+ }
48
+ interface AuthorizationAPIConfigureRemoteServiceResponse {
49
+ beginTime: Date | undefined;
50
+ expiryTime: Date | undefined;
51
+ }
52
+ interface AuthorizationMessages {
53
+ addAuthorizedClientRequest?: AuthorizationAPIAddAuthorizedClientRequest | undefined;
54
+ addAuthorizedClientResponse?: AuthorizationAPIAddAuthorizedClientResponse | undefined;
55
+ removeAuthorizedClientRequest?: AuthorizationAPIRemoveAuthorizedClientRequest | undefined;
56
+ removeAuthorizedClientResponse?: AuthorizationAPIRemoveAuthorizedClientResponse | undefined;
57
+ listAuthorizedClientsRequest?: AuthorizationAPIListAuthorizedClientsRequest | undefined;
58
+ listAuthorizedClientsResponse?: AuthorizationAPIListAuthorizedClientsResponse | undefined;
59
+ getSignedCommandsPublicKeyRequest?: AuthorizationAPIGetSignedCommandsPublicKeyRequest | undefined;
60
+ getSignedCommandsPublicKeyResponse?: AuthorizationAPIGetSignedCommandsPublicKeyResponse | undefined;
61
+ addAuthorizedClientByTrustedSignatureRequest?: AuthorizationAPIAddAuthorizedClientByTrustedSignatureRequest | undefined;
62
+ addAuthorizedClientByTrustedSignatureResponse?: AuthorizationAPIAddAuthorizedClientByTrustedSignatureResponse | undefined;
63
+ configureRemoteServiceRequest?: AuthorizationAPIConfigureRemoteServiceRequest | undefined;
64
+ configureRemoteServiceResponse?: AuthorizationAPIConfigureRemoteServiceResponse | undefined;
65
+ }
66
+ declare const AuthorizationAPIAddAuthorizedClientRequest: MessageFns<AuthorizationAPIAddAuthorizedClientRequest>;
67
+ declare const AuthorizationAPIAddAuthorizedClientResponse: MessageFns<AuthorizationAPIAddAuthorizedClientResponse>;
68
+ declare const AuthorizationAPIAddAuthorizedClientByTrustedSignatureRequest: MessageFns<AuthorizationAPIAddAuthorizedClientByTrustedSignatureRequest>;
69
+ declare const AuthorizationAPIAddAuthorizedClientByTrustedSignatureResponse: MessageFns<AuthorizationAPIAddAuthorizedClientByTrustedSignatureResponse>;
70
+ declare const AuthorizationAPIRemoveAuthorizedClientRequest: MessageFns<AuthorizationAPIRemoveAuthorizedClientRequest>;
71
+ declare const AuthorizationAPIRemoveAuthorizedClientResponse: MessageFns<AuthorizationAPIRemoveAuthorizedClientResponse>;
72
+ declare const AuthorizationAPIListAuthorizedClientsRequest: MessageFns<AuthorizationAPIListAuthorizedClientsRequest>;
73
+ declare const AuthorizationAPIListAuthorizedClientsResponse: MessageFns<AuthorizationAPIListAuthorizedClientsResponse>;
74
+ declare const AuthorizationAPIGetSignedCommandsPublicKeyRequest: MessageFns<AuthorizationAPIGetSignedCommandsPublicKeyRequest>;
75
+ declare const AuthorizationAPIGetSignedCommandsPublicKeyResponse: MessageFns<AuthorizationAPIGetSignedCommandsPublicKeyResponse>;
76
+ declare const AuthorizationAPIConfigureRemoteServiceRequest: MessageFns<AuthorizationAPIConfigureRemoteServiceRequest>;
77
+ declare const AuthorizationAPIConfigureRemoteServiceResponse: MessageFns<AuthorizationAPIConfigureRemoteServiceResponse>;
78
+ declare const AuthorizationMessages: MessageFns<AuthorizationMessages>;
79
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
80
+ 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>;
81
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
82
+ type Exact<P, I extends P> = P extends Builtin ? P : P & { [K in keyof P]: Exact<P[K], I[K]>; } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never; };
83
+ interface MessageFns<T> {
84
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
85
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
86
+ fromJSON(object: any): T;
87
+ toJSON(message: T): unknown;
88
+ create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
89
+ fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
90
+ }
91
+ //#endregion
92
+ export { AuthorizationAPIAddAuthorizedClientByTrustedSignatureRequest, AuthorizationAPIAddAuthorizedClientByTrustedSignatureResponse, AuthorizationAPIAddAuthorizedClientRequest, AuthorizationAPIAddAuthorizedClientResponse, AuthorizationAPIConfigureRemoteServiceRequest, AuthorizationAPIConfigureRemoteServiceResponse, AuthorizationAPIGetSignedCommandsPublicKeyRequest, AuthorizationAPIGetSignedCommandsPublicKeyResponse, AuthorizationAPIListAuthorizedClientsRequest, AuthorizationAPIListAuthorizedClientsResponse, AuthorizationAPIRemoveAuthorizedClientRequest, AuthorizationAPIRemoveAuthorizedClientResponse, AuthorizationMessages, DeepPartial, Exact, MessageFns, protobufPackage };