@lazycatcloud/sdk 0.1.487 → 0.1.489

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 (149) hide show
  1. package/dist/localdevice/photo.js +38 -9
  2. package/dist/localdevice/photo.js.map +1 -1
  3. package/dist/package.json +1 -1
  4. package/dist/tsconfig.tsbuildinfo +1 -1
  5. package/package.json +1 -1
  6. package/dist/common/apk_shell.d.ts +0 -126
  7. package/dist/common/apk_shell.d.ts.map +0 -1
  8. package/dist/common/box.d.ts +0 -1961
  9. package/dist/common/box.d.ts.map +0 -1
  10. package/dist/common/browseronly.d.ts +0 -159
  11. package/dist/common/browseronly.d.ts.map +0 -1
  12. package/dist/common/end_device.d.ts +0 -358
  13. package/dist/common/end_device.d.ts.map +0 -1
  14. package/dist/common/file_handler.d.ts +0 -1062
  15. package/dist/common/file_handler.d.ts.map +0 -1
  16. package/dist/common/filetrans.d.ts +0 -2409
  17. package/dist/common/filetrans.d.ts.map +0 -1
  18. package/dist/common/gateway.d.ts +0 -249
  19. package/dist/common/gateway.d.ts.map +0 -1
  20. package/dist/common/media_meta.d.ts +0 -196
  21. package/dist/common/media_meta.d.ts.map +0 -1
  22. package/dist/common/message.d.ts +0 -413
  23. package/dist/common/message.d.ts.map +0 -1
  24. package/dist/common/peripheral_device.d.ts +0 -682
  25. package/dist/common/peripheral_device.d.ts.map +0 -1
  26. package/dist/common/security_context.d.ts +0 -241
  27. package/dist/common/security_context.d.ts.map +0 -1
  28. package/dist/common/users.d.ts +0 -367
  29. package/dist/common/users.d.ts.map +0 -1
  30. package/dist/dlna/dlna.d.ts +0 -344
  31. package/dist/dlna/dlna.d.ts.map +0 -1
  32. package/dist/extentions/app_common.d.ts +0 -121
  33. package/dist/extentions/app_common.d.ts.map +0 -1
  34. package/dist/extentions/base.d.ts +0 -137
  35. package/dist/extentions/base.d.ts.map +0 -1
  36. package/dist/extentions/client_authorization.d.ts +0 -19
  37. package/dist/extentions/client_authorization.d.ts.map +0 -1
  38. package/dist/extentions/index.d.ts +0 -24
  39. package/dist/extentions/index.d.ts.map +0 -1
  40. package/dist/extentions/mediasession/definitions.d.ts +0 -55
  41. package/dist/extentions/mediasession/definitions.d.ts.map +0 -1
  42. package/dist/extentions/mediasession/index.d.ts +0 -9
  43. package/dist/extentions/mediasession/index.d.ts.map +0 -1
  44. package/dist/extentions/mediasession/web.d.ts +0 -8
  45. package/dist/extentions/mediasession/web.d.ts.map +0 -1
  46. package/dist/extentions/safe_app.d.ts +0 -36
  47. package/dist/extentions/safe_app.d.ts.map +0 -1
  48. package/dist/extentions/unsafe_app.d.ts +0 -5
  49. package/dist/extentions/unsafe_app.d.ts.map +0 -1
  50. package/dist/extentions/vibrate_type.d.ts +0 -11
  51. package/dist/extentions/vibrate_type.d.ts.map +0 -1
  52. package/dist/extentions/webview-bridge.d.ts +0 -2
  53. package/dist/extentions/webview-bridge.d.ts.map +0 -1
  54. package/dist/google/protobuf/descriptor.d.ts +0 -112550
  55. package/dist/google/protobuf/descriptor.d.ts.map +0 -1
  56. package/dist/google/protobuf/empty.d.ts +0 -21
  57. package/dist/google/protobuf/empty.d.ts.map +0 -1
  58. package/dist/google/protobuf/timestamp.d.ts +0 -128
  59. package/dist/google/protobuf/timestamp.d.ts.map +0 -1
  60. package/dist/grpcweb.d.ts +0 -28
  61. package/dist/grpcweb.d.ts.map +0 -1
  62. package/dist/index.d.ts +0 -86
  63. package/dist/index.d.ts.map +0 -1
  64. package/dist/localdevice/ble.d.ts +0 -420
  65. package/dist/localdevice/ble.d.ts.map +0 -1
  66. package/dist/localdevice/client.d.ts +0 -72
  67. package/dist/localdevice/client.d.ts.map +0 -1
  68. package/dist/localdevice/clipboard.d.ts +0 -137
  69. package/dist/localdevice/clipboard.d.ts.map +0 -1
  70. package/dist/localdevice/clipboard.js +0 -433
  71. package/dist/localdevice/clipboard.js.map +0 -1
  72. package/dist/localdevice/cloud-driver.d.ts +0 -152
  73. package/dist/localdevice/cloud-driver.d.ts.map +0 -1
  74. package/dist/localdevice/config.d.ts +0 -150
  75. package/dist/localdevice/config.d.ts.map +0 -1
  76. package/dist/localdevice/contacts.d.ts +0 -410
  77. package/dist/localdevice/contacts.d.ts.map +0 -1
  78. package/dist/localdevice/device.d.ts +0 -86
  79. package/dist/localdevice/device.d.ts.map +0 -1
  80. package/dist/localdevice/dialog.d.ts +0 -239
  81. package/dist/localdevice/dialog.d.ts.map +0 -1
  82. package/dist/localdevice/local-launch.d.ts +0 -303
  83. package/dist/localdevice/local-launch.d.ts.map +0 -1
  84. package/dist/localdevice/network.d.ts +0 -84
  85. package/dist/localdevice/network.d.ts.map +0 -1
  86. package/dist/localdevice/oneway-sync.d.ts +0 -274
  87. package/dist/localdevice/oneway-sync.d.ts.map +0 -1
  88. package/dist/localdevice/permission.d.ts +0 -233
  89. package/dist/localdevice/permission.d.ts.map +0 -1
  90. package/dist/localdevice/photo.d.ts +0 -759
  91. package/dist/localdevice/photo.d.ts.map +0 -1
  92. package/dist/localdevice/remote-control.d.ts +0 -1937
  93. package/dist/localdevice/remote-control.d.ts.map +0 -1
  94. package/dist/localdevice/remote-input-method.d.ts +0 -128
  95. package/dist/localdevice/remote-input-method.d.ts.map +0 -1
  96. package/dist/sys/OS_daemon.d.ts +0 -133
  97. package/dist/sys/OS_daemon.d.ts.map +0 -1
  98. package/dist/sys/OS_daemon.js +0 -364
  99. package/dist/sys/OS_daemon.js.map +0 -1
  100. package/dist/sys/OS_snapshot.d.ts +0 -585
  101. package/dist/sys/OS_snapshot.d.ts.map +0 -1
  102. package/dist/sys/OS_snapshot.js +0 -1495
  103. package/dist/sys/OS_snapshot.js.map +0 -1
  104. package/dist/sys/OS_upgrader.d.ts +0 -202
  105. package/dist/sys/OS_upgrader.d.ts.map +0 -1
  106. package/dist/sys/OS_upgrader.js +0 -623
  107. package/dist/sys/OS_upgrader.js.map +0 -1
  108. package/dist/sys/box-status.d.ts +0 -603
  109. package/dist/sys/box-status.d.ts.map +0 -1
  110. package/dist/sys/box-status.js +0 -1004
  111. package/dist/sys/box-status.js.map +0 -1
  112. package/dist/sys/btled.d.ts +0 -197
  113. package/dist/sys/btled.d.ts.map +0 -1
  114. package/dist/sys/btrfs.d.ts +0 -204
  115. package/dist/sys/btrfs.d.ts.map +0 -1
  116. package/dist/sys/devopt.d.ts +0 -101
  117. package/dist/sys/devopt.d.ts.map +0 -1
  118. package/dist/sys/dirmon.d.ts +0 -136
  119. package/dist/sys/dirmon.d.ts.map +0 -1
  120. package/dist/sys/event.d.ts +0 -143
  121. package/dist/sys/event.d.ts.map +0 -1
  122. package/dist/sys/hal.d.ts +0 -729
  123. package/dist/sys/hal.d.ts.map +0 -1
  124. package/dist/sys/hc-core/hc-core.d.ts +0 -696
  125. package/dist/sys/hc-core/hc-core.d.ts.map +0 -1
  126. package/dist/sys/hc-core/hc-core.js +0 -1514
  127. package/dist/sys/hc-core/hc-core.js.map +0 -1
  128. package/dist/sys/ingress.d.ts +0 -201
  129. package/dist/sys/ingress.d.ts.map +0 -1
  130. package/dist/sys/installer.d.ts +0 -277
  131. package/dist/sys/installer.d.ts.map +0 -1
  132. package/dist/sys/installer.js +0 -773
  133. package/dist/sys/installer.js.map +0 -1
  134. package/dist/sys/network_manager.d.ts +0 -741
  135. package/dist/sys/network_manager.d.ts.map +0 -1
  136. package/dist/sys/package_manager.d.ts +0 -1623
  137. package/dist/sys/package_manager.d.ts.map +0 -1
  138. package/dist/sys/portal-server/portal-server.d.ts +0 -849
  139. package/dist/sys/portal-server/portal-server.d.ts.map +0 -1
  140. package/dist/sys/portal-server/portal-server.js +0 -2350
  141. package/dist/sys/portal-server/portal-server.js.map +0 -1
  142. package/dist/sys/snapd.d.ts +0 -343
  143. package/dist/sys/snapd.d.ts.map +0 -1
  144. package/dist/sys/snapd.js +0 -776
  145. package/dist/sys/snapd.js.map +0 -1
  146. package/dist/sys/tvos.d.ts +0 -490
  147. package/dist/sys/tvos.d.ts.map +0 -1
  148. package/dist/sys/version.d.ts +0 -65
  149. package/dist/sys/version.d.ts.map +0 -1
@@ -1,696 +0,0 @@
1
- import { grpc } from "@improbable-eng/grpc-web";
2
- import _m0 from "protobufjs/minimal";
3
- import { Empty } from "../../google/protobuf/empty";
4
- import { PkgURL } from "../package_manager";
5
- export declare enum ListOptType {
6
- /** ALL - 列出所有 */
7
- ALL = 0,
8
- /** SYS - 仅列出系统应用 */
9
- SYS = 1,
10
- /** APP - 仅列出用户应用 */
11
- APP = 2,
12
- UNRECOGNIZED = -1
13
- }
14
- export declare function listOptTypeFromJSON(object: any): ListOptType;
15
- export declare function listOptTypeToJSON(object: ListOptType): string;
16
- export interface ListOptRequest {
17
- opt: ListOptType;
18
- }
19
- export interface AppId {
20
- AppId: string;
21
- }
22
- export interface InstanceInfo {
23
- AppId: string;
24
- UserId: string;
25
- }
26
- export interface DeleteRequest {
27
- AppId: string;
28
- DeleteAllData: boolean;
29
- }
30
- export interface AppIdList {
31
- appIdList: string[];
32
- }
33
- export interface QueryRequest {
34
- appIdList: string[];
35
- opt: ListOptType;
36
- }
37
- export interface AppMetadata {
38
- id: string;
39
- system: boolean;
40
- mutliInstance: boolean;
41
- version: string;
42
- }
43
- export interface AppMetadataArray {
44
- metadata: AppMetadata[];
45
- }
46
- export interface StatusInfo {
47
- status: StatusInfo_StatusType;
48
- errMsg: string;
49
- }
50
- export declare enum StatusInfo_StatusType {
51
- STOPPED = 0,
52
- STOPPING = 1,
53
- BUILDING = 2,
54
- DOWNLOADING = 3,
55
- HOOKING = 4,
56
- STARTING = 5,
57
- RUNNING = 6,
58
- INSUFFICIENT = 7,
59
- PAUSED = 8,
60
- DEAD = 9,
61
- ERROR = 10,
62
- DISABLED = 11,
63
- UNRECOGNIZED = -1
64
- }
65
- export declare function statusInfo_StatusTypeFromJSON(object: any): StatusInfo_StatusType;
66
- export declare function statusInfo_StatusTypeToJSON(object: StatusInfo_StatusType): string;
67
- export interface InstancesStatus {
68
- instancesStatus: {
69
- [key: string]: StatusInfo;
70
- };
71
- }
72
- export interface InstancesStatus_InstancesStatusEntry {
73
- key: string;
74
- value: StatusInfo | undefined;
75
- }
76
- export interface AppsStatus {
77
- appsStatus: {
78
- [key: string]: InstancesStatus;
79
- };
80
- }
81
- export interface AppsStatus_AppsStatusEntry {
82
- key: string;
83
- value: InstancesStatus | undefined;
84
- }
85
- export interface RawData {
86
- data: Uint8Array;
87
- }
88
- export declare const ListOptRequest: {
89
- encode(message: ListOptRequest, writer?: _m0.Writer): _m0.Writer;
90
- decode(input: _m0.Reader | Uint8Array, length?: number): ListOptRequest;
91
- fromJSON(object: any): ListOptRequest;
92
- toJSON(message: ListOptRequest): unknown;
93
- create<I extends {
94
- opt?: ListOptType;
95
- } & {
96
- opt?: ListOptType;
97
- } & { [K in Exclude<keyof I, "opt">]: never; }>(base?: I): ListOptRequest;
98
- fromPartial<I_1 extends {
99
- opt?: ListOptType;
100
- } & {
101
- opt?: ListOptType;
102
- } & { [K_1 in Exclude<keyof I_1, "opt">]: never; }>(object: I_1): ListOptRequest;
103
- };
104
- export declare const AppId: {
105
- encode(message: AppId, writer?: _m0.Writer): _m0.Writer;
106
- decode(input: _m0.Reader | Uint8Array, length?: number): AppId;
107
- fromJSON(object: any): AppId;
108
- toJSON(message: AppId): unknown;
109
- create<I extends {
110
- AppId?: string;
111
- } & {
112
- AppId?: string;
113
- } & { [K in Exclude<keyof I, "AppId">]: never; }>(base?: I): AppId;
114
- fromPartial<I_1 extends {
115
- AppId?: string;
116
- } & {
117
- AppId?: string;
118
- } & { [K_1 in Exclude<keyof I_1, "AppId">]: never; }>(object: I_1): AppId;
119
- };
120
- export declare const InstanceInfo: {
121
- encode(message: InstanceInfo, writer?: _m0.Writer): _m0.Writer;
122
- decode(input: _m0.Reader | Uint8Array, length?: number): InstanceInfo;
123
- fromJSON(object: any): InstanceInfo;
124
- toJSON(message: InstanceInfo): unknown;
125
- create<I extends {
126
- AppId?: string;
127
- UserId?: string;
128
- } & {
129
- AppId?: string;
130
- UserId?: string;
131
- } & { [K in Exclude<keyof I, keyof InstanceInfo>]: never; }>(base?: I): InstanceInfo;
132
- fromPartial<I_1 extends {
133
- AppId?: string;
134
- UserId?: string;
135
- } & {
136
- AppId?: string;
137
- UserId?: string;
138
- } & { [K_1 in Exclude<keyof I_1, keyof InstanceInfo>]: never; }>(object: I_1): InstanceInfo;
139
- };
140
- export declare const DeleteRequest: {
141
- encode(message: DeleteRequest, writer?: _m0.Writer): _m0.Writer;
142
- decode(input: _m0.Reader | Uint8Array, length?: number): DeleteRequest;
143
- fromJSON(object: any): DeleteRequest;
144
- toJSON(message: DeleteRequest): unknown;
145
- create<I extends {
146
- AppId?: string;
147
- DeleteAllData?: boolean;
148
- } & {
149
- AppId?: string;
150
- DeleteAllData?: boolean;
151
- } & { [K in Exclude<keyof I, keyof DeleteRequest>]: never; }>(base?: I): DeleteRequest;
152
- fromPartial<I_1 extends {
153
- AppId?: string;
154
- DeleteAllData?: boolean;
155
- } & {
156
- AppId?: string;
157
- DeleteAllData?: boolean;
158
- } & { [K_1 in Exclude<keyof I_1, keyof DeleteRequest>]: never; }>(object: I_1): DeleteRequest;
159
- };
160
- export declare const AppIdList: {
161
- encode(message: AppIdList, writer?: _m0.Writer): _m0.Writer;
162
- decode(input: _m0.Reader | Uint8Array, length?: number): AppIdList;
163
- fromJSON(object: any): AppIdList;
164
- toJSON(message: AppIdList): unknown;
165
- create<I extends {
166
- appIdList?: string[];
167
- } & {
168
- appIdList?: string[] & string[] & { [K in Exclude<keyof I["appIdList"], keyof string[]>]: never; };
169
- } & { [K_1 in Exclude<keyof I, "appIdList">]: never; }>(base?: I): AppIdList;
170
- fromPartial<I_1 extends {
171
- appIdList?: string[];
172
- } & {
173
- appIdList?: string[] & string[] & { [K_2 in Exclude<keyof I_1["appIdList"], keyof string[]>]: never; };
174
- } & { [K_3 in Exclude<keyof I_1, "appIdList">]: never; }>(object: I_1): AppIdList;
175
- };
176
- export declare const QueryRequest: {
177
- encode(message: QueryRequest, writer?: _m0.Writer): _m0.Writer;
178
- decode(input: _m0.Reader | Uint8Array, length?: number): QueryRequest;
179
- fromJSON(object: any): QueryRequest;
180
- toJSON(message: QueryRequest): unknown;
181
- create<I extends {
182
- appIdList?: string[];
183
- opt?: ListOptType;
184
- } & {
185
- appIdList?: string[] & string[] & { [K in Exclude<keyof I["appIdList"], keyof string[]>]: never; };
186
- opt?: ListOptType;
187
- } & { [K_1 in Exclude<keyof I, keyof QueryRequest>]: never; }>(base?: I): QueryRequest;
188
- fromPartial<I_1 extends {
189
- appIdList?: string[];
190
- opt?: ListOptType;
191
- } & {
192
- appIdList?: string[] & string[] & { [K_2 in Exclude<keyof I_1["appIdList"], keyof string[]>]: never; };
193
- opt?: ListOptType;
194
- } & { [K_3 in Exclude<keyof I_1, keyof QueryRequest>]: never; }>(object: I_1): QueryRequest;
195
- };
196
- export declare const AppMetadata: {
197
- encode(message: AppMetadata, writer?: _m0.Writer): _m0.Writer;
198
- decode(input: _m0.Reader | Uint8Array, length?: number): AppMetadata;
199
- fromJSON(object: any): AppMetadata;
200
- toJSON(message: AppMetadata): unknown;
201
- create<I extends {
202
- id?: string;
203
- system?: boolean;
204
- mutliInstance?: boolean;
205
- version?: string;
206
- } & {
207
- id?: string;
208
- system?: boolean;
209
- mutliInstance?: boolean;
210
- version?: string;
211
- } & { [K in Exclude<keyof I, keyof AppMetadata>]: never; }>(base?: I): AppMetadata;
212
- fromPartial<I_1 extends {
213
- id?: string;
214
- system?: boolean;
215
- mutliInstance?: boolean;
216
- version?: string;
217
- } & {
218
- id?: string;
219
- system?: boolean;
220
- mutliInstance?: boolean;
221
- version?: string;
222
- } & { [K_1 in Exclude<keyof I_1, keyof AppMetadata>]: never; }>(object: I_1): AppMetadata;
223
- };
224
- export declare const AppMetadataArray: {
225
- encode(message: AppMetadataArray, writer?: _m0.Writer): _m0.Writer;
226
- decode(input: _m0.Reader | Uint8Array, length?: number): AppMetadataArray;
227
- fromJSON(object: any): AppMetadataArray;
228
- toJSON(message: AppMetadataArray): unknown;
229
- create<I extends {
230
- metadata?: {
231
- id?: string;
232
- system?: boolean;
233
- mutliInstance?: boolean;
234
- version?: string;
235
- }[];
236
- } & {
237
- metadata?: {
238
- id?: string;
239
- system?: boolean;
240
- mutliInstance?: boolean;
241
- version?: string;
242
- }[] & ({
243
- id?: string;
244
- system?: boolean;
245
- mutliInstance?: boolean;
246
- version?: string;
247
- } & {
248
- id?: string;
249
- system?: boolean;
250
- mutliInstance?: boolean;
251
- version?: string;
252
- } & { [K in Exclude<keyof I["metadata"][number], keyof AppMetadata>]: never; })[] & { [K_1 in Exclude<keyof I["metadata"], keyof {
253
- id?: string;
254
- system?: boolean;
255
- mutliInstance?: boolean;
256
- version?: string;
257
- }[]>]: never; };
258
- } & { [K_2 in Exclude<keyof I, "metadata">]: never; }>(base?: I): AppMetadataArray;
259
- fromPartial<I_1 extends {
260
- metadata?: {
261
- id?: string;
262
- system?: boolean;
263
- mutliInstance?: boolean;
264
- version?: string;
265
- }[];
266
- } & {
267
- metadata?: {
268
- id?: string;
269
- system?: boolean;
270
- mutliInstance?: boolean;
271
- version?: string;
272
- }[] & ({
273
- id?: string;
274
- system?: boolean;
275
- mutliInstance?: boolean;
276
- version?: string;
277
- } & {
278
- id?: string;
279
- system?: boolean;
280
- mutliInstance?: boolean;
281
- version?: string;
282
- } & { [K_3 in Exclude<keyof I_1["metadata"][number], keyof AppMetadata>]: never; })[] & { [K_4 in Exclude<keyof I_1["metadata"], keyof {
283
- id?: string;
284
- system?: boolean;
285
- mutliInstance?: boolean;
286
- version?: string;
287
- }[]>]: never; };
288
- } & { [K_5 in Exclude<keyof I_1, "metadata">]: never; }>(object: I_1): AppMetadataArray;
289
- };
290
- export declare const StatusInfo: {
291
- encode(message: StatusInfo, writer?: _m0.Writer): _m0.Writer;
292
- decode(input: _m0.Reader | Uint8Array, length?: number): StatusInfo;
293
- fromJSON(object: any): StatusInfo;
294
- toJSON(message: StatusInfo): unknown;
295
- create<I extends {
296
- status?: StatusInfo_StatusType;
297
- errMsg?: string;
298
- } & {
299
- status?: StatusInfo_StatusType;
300
- errMsg?: string;
301
- } & { [K in Exclude<keyof I, keyof StatusInfo>]: never; }>(base?: I): StatusInfo;
302
- fromPartial<I_1 extends {
303
- status?: StatusInfo_StatusType;
304
- errMsg?: string;
305
- } & {
306
- status?: StatusInfo_StatusType;
307
- errMsg?: string;
308
- } & { [K_1 in Exclude<keyof I_1, keyof StatusInfo>]: never; }>(object: I_1): StatusInfo;
309
- };
310
- export declare const InstancesStatus: {
311
- encode(message: InstancesStatus, writer?: _m0.Writer): _m0.Writer;
312
- decode(input: _m0.Reader | Uint8Array, length?: number): InstancesStatus;
313
- fromJSON(object: any): InstancesStatus;
314
- toJSON(message: InstancesStatus): unknown;
315
- create<I extends {
316
- instancesStatus?: {
317
- [x: string]: {
318
- status?: StatusInfo_StatusType;
319
- errMsg?: string;
320
- };
321
- };
322
- } & {
323
- instancesStatus?: {
324
- [x: string]: {
325
- status?: StatusInfo_StatusType;
326
- errMsg?: string;
327
- };
328
- } & {
329
- [x: string]: {
330
- status?: StatusInfo_StatusType;
331
- errMsg?: string;
332
- } & {
333
- status?: StatusInfo_StatusType;
334
- errMsg?: string;
335
- } & { [K in Exclude<keyof I["instancesStatus"][string], keyof StatusInfo>]: never; };
336
- } & { [K_1 in Exclude<keyof I["instancesStatus"], string | number>]: never; };
337
- } & { [K_2 in Exclude<keyof I, "instancesStatus">]: never; }>(base?: I): InstancesStatus;
338
- fromPartial<I_1 extends {
339
- instancesStatus?: {
340
- [x: string]: {
341
- status?: StatusInfo_StatusType;
342
- errMsg?: string;
343
- };
344
- };
345
- } & {
346
- instancesStatus?: {
347
- [x: string]: {
348
- status?: StatusInfo_StatusType;
349
- errMsg?: string;
350
- };
351
- } & {
352
- [x: string]: {
353
- status?: StatusInfo_StatusType;
354
- errMsg?: string;
355
- } & {
356
- status?: StatusInfo_StatusType;
357
- errMsg?: string;
358
- } & { [K_3 in Exclude<keyof I_1["instancesStatus"][string], keyof StatusInfo>]: never; };
359
- } & { [K_4 in Exclude<keyof I_1["instancesStatus"], string | number>]: never; };
360
- } & { [K_5 in Exclude<keyof I_1, "instancesStatus">]: never; }>(object: I_1): InstancesStatus;
361
- };
362
- export declare const InstancesStatus_InstancesStatusEntry: {
363
- encode(message: InstancesStatus_InstancesStatusEntry, writer?: _m0.Writer): _m0.Writer;
364
- decode(input: _m0.Reader | Uint8Array, length?: number): InstancesStatus_InstancesStatusEntry;
365
- fromJSON(object: any): InstancesStatus_InstancesStatusEntry;
366
- toJSON(message: InstancesStatus_InstancesStatusEntry): unknown;
367
- create<I extends {
368
- key?: string;
369
- value?: {
370
- status?: StatusInfo_StatusType;
371
- errMsg?: string;
372
- };
373
- } & {
374
- key?: string;
375
- value?: {
376
- status?: StatusInfo_StatusType;
377
- errMsg?: string;
378
- } & {
379
- status?: StatusInfo_StatusType;
380
- errMsg?: string;
381
- } & { [K in Exclude<keyof I["value"], keyof StatusInfo>]: never; };
382
- } & { [K_1 in Exclude<keyof I, keyof InstancesStatus_InstancesStatusEntry>]: never; }>(base?: I): InstancesStatus_InstancesStatusEntry;
383
- fromPartial<I_1 extends {
384
- key?: string;
385
- value?: {
386
- status?: StatusInfo_StatusType;
387
- errMsg?: string;
388
- };
389
- } & {
390
- key?: string;
391
- value?: {
392
- status?: StatusInfo_StatusType;
393
- errMsg?: string;
394
- } & {
395
- status?: StatusInfo_StatusType;
396
- errMsg?: string;
397
- } & { [K_2 in Exclude<keyof I_1["value"], keyof StatusInfo>]: never; };
398
- } & { [K_3 in Exclude<keyof I_1, keyof InstancesStatus_InstancesStatusEntry>]: never; }>(object: I_1): InstancesStatus_InstancesStatusEntry;
399
- };
400
- export declare const AppsStatus: {
401
- encode(message: AppsStatus, writer?: _m0.Writer): _m0.Writer;
402
- decode(input: _m0.Reader | Uint8Array, length?: number): AppsStatus;
403
- fromJSON(object: any): AppsStatus;
404
- toJSON(message: AppsStatus): unknown;
405
- create<I extends {
406
- appsStatus?: {
407
- [x: string]: {
408
- instancesStatus?: {
409
- [x: string]: {
410
- status?: StatusInfo_StatusType;
411
- errMsg?: string;
412
- };
413
- };
414
- };
415
- };
416
- } & {
417
- appsStatus?: {
418
- [x: string]: {
419
- instancesStatus?: {
420
- [x: string]: {
421
- status?: StatusInfo_StatusType;
422
- errMsg?: string;
423
- };
424
- };
425
- };
426
- } & {
427
- [x: string]: {
428
- instancesStatus?: {
429
- [x: string]: {
430
- status?: StatusInfo_StatusType;
431
- errMsg?: string;
432
- };
433
- };
434
- } & {
435
- instancesStatus?: {
436
- [x: string]: {
437
- status?: StatusInfo_StatusType;
438
- errMsg?: string;
439
- };
440
- } & {
441
- [x: string]: {
442
- status?: StatusInfo_StatusType;
443
- errMsg?: string;
444
- } & {
445
- status?: StatusInfo_StatusType;
446
- errMsg?: string;
447
- } & { [K in Exclude<keyof I["appsStatus"][string]["instancesStatus"][string], keyof StatusInfo>]: never; };
448
- } & { [K_1 in Exclude<keyof I["appsStatus"][string]["instancesStatus"], string | number>]: never; };
449
- } & { [K_2 in Exclude<keyof I["appsStatus"][string], "instancesStatus">]: never; };
450
- } & { [K_3 in Exclude<keyof I["appsStatus"], string | number>]: never; };
451
- } & { [K_4 in Exclude<keyof I, "appsStatus">]: never; }>(base?: I): AppsStatus;
452
- fromPartial<I_1 extends {
453
- appsStatus?: {
454
- [x: string]: {
455
- instancesStatus?: {
456
- [x: string]: {
457
- status?: StatusInfo_StatusType;
458
- errMsg?: string;
459
- };
460
- };
461
- };
462
- };
463
- } & {
464
- appsStatus?: {
465
- [x: string]: {
466
- instancesStatus?: {
467
- [x: string]: {
468
- status?: StatusInfo_StatusType;
469
- errMsg?: string;
470
- };
471
- };
472
- };
473
- } & {
474
- [x: string]: {
475
- instancesStatus?: {
476
- [x: string]: {
477
- status?: StatusInfo_StatusType;
478
- errMsg?: string;
479
- };
480
- };
481
- } & {
482
- instancesStatus?: {
483
- [x: string]: {
484
- status?: StatusInfo_StatusType;
485
- errMsg?: string;
486
- };
487
- } & {
488
- [x: string]: {
489
- status?: StatusInfo_StatusType;
490
- errMsg?: string;
491
- } & {
492
- status?: StatusInfo_StatusType;
493
- errMsg?: string;
494
- } & { [K_5 in Exclude<keyof I_1["appsStatus"][string]["instancesStatus"][string], keyof StatusInfo>]: never; };
495
- } & { [K_6 in Exclude<keyof I_1["appsStatus"][string]["instancesStatus"], string | number>]: never; };
496
- } & { [K_7 in Exclude<keyof I_1["appsStatus"][string], "instancesStatus">]: never; };
497
- } & { [K_8 in Exclude<keyof I_1["appsStatus"], string | number>]: never; };
498
- } & { [K_9 in Exclude<keyof I_1, "appsStatus">]: never; }>(object: I_1): AppsStatus;
499
- };
500
- export declare const AppsStatus_AppsStatusEntry: {
501
- encode(message: AppsStatus_AppsStatusEntry, writer?: _m0.Writer): _m0.Writer;
502
- decode(input: _m0.Reader | Uint8Array, length?: number): AppsStatus_AppsStatusEntry;
503
- fromJSON(object: any): AppsStatus_AppsStatusEntry;
504
- toJSON(message: AppsStatus_AppsStatusEntry): unknown;
505
- create<I extends {
506
- key?: string;
507
- value?: {
508
- instancesStatus?: {
509
- [x: string]: {
510
- status?: StatusInfo_StatusType;
511
- errMsg?: string;
512
- };
513
- };
514
- };
515
- } & {
516
- key?: string;
517
- value?: {
518
- instancesStatus?: {
519
- [x: string]: {
520
- status?: StatusInfo_StatusType;
521
- errMsg?: string;
522
- };
523
- };
524
- } & {
525
- instancesStatus?: {
526
- [x: string]: {
527
- status?: StatusInfo_StatusType;
528
- errMsg?: string;
529
- };
530
- } & {
531
- [x: string]: {
532
- status?: StatusInfo_StatusType;
533
- errMsg?: string;
534
- } & {
535
- status?: StatusInfo_StatusType;
536
- errMsg?: string;
537
- } & { [K in Exclude<keyof I["value"]["instancesStatus"][string], keyof StatusInfo>]: never; };
538
- } & { [K_1 in Exclude<keyof I["value"]["instancesStatus"], string | number>]: never; };
539
- } & { [K_2 in Exclude<keyof I["value"], "instancesStatus">]: never; };
540
- } & { [K_3 in Exclude<keyof I, keyof AppsStatus_AppsStatusEntry>]: never; }>(base?: I): AppsStatus_AppsStatusEntry;
541
- fromPartial<I_1 extends {
542
- key?: string;
543
- value?: {
544
- instancesStatus?: {
545
- [x: string]: {
546
- status?: StatusInfo_StatusType;
547
- errMsg?: string;
548
- };
549
- };
550
- };
551
- } & {
552
- key?: string;
553
- value?: {
554
- instancesStatus?: {
555
- [x: string]: {
556
- status?: StatusInfo_StatusType;
557
- errMsg?: string;
558
- };
559
- };
560
- } & {
561
- instancesStatus?: {
562
- [x: string]: {
563
- status?: StatusInfo_StatusType;
564
- errMsg?: string;
565
- };
566
- } & {
567
- [x: string]: {
568
- status?: StatusInfo_StatusType;
569
- errMsg?: string;
570
- } & {
571
- status?: StatusInfo_StatusType;
572
- errMsg?: string;
573
- } & { [K_4 in Exclude<keyof I_1["value"]["instancesStatus"][string], keyof StatusInfo>]: never; };
574
- } & { [K_5 in Exclude<keyof I_1["value"]["instancesStatus"], string | number>]: never; };
575
- } & { [K_6 in Exclude<keyof I_1["value"], "instancesStatus">]: never; };
576
- } & { [K_7 in Exclude<keyof I_1, keyof AppsStatus_AppsStatusEntry>]: never; }>(object: I_1): AppsStatus_AppsStatusEntry;
577
- };
578
- export declare const RawData: {
579
- encode(message: RawData, writer?: _m0.Writer): _m0.Writer;
580
- decode(input: _m0.Reader | Uint8Array, length?: number): RawData;
581
- fromJSON(object: any): RawData;
582
- toJSON(message: RawData): unknown;
583
- create<I extends {
584
- data?: Uint8Array;
585
- } & {
586
- data?: Uint8Array;
587
- } & { [K in Exclude<keyof I, "data">]: never; }>(base?: I): RawData;
588
- fromPartial<I_1 extends {
589
- data?: Uint8Array;
590
- } & {
591
- data?: Uint8Array;
592
- } & { [K_1 in Exclude<keyof I_1, "data">]: never; }>(object: I_1): RawData;
593
- };
594
- /** 应用管理 */
595
- export interface CoreSystem {
596
- /** List 列出所有已安装的应用 */
597
- List(request: DeepPartial<ListOptRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<AppIdList>;
598
- /** Apply 安装或更新一个 app */
599
- Apply(request: DeepPartial<RawData>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
600
- Apply2(request: DeepPartial<PkgURL>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
601
- Apply3(request: DeepPartial<PkgURL>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
602
- /** ApplyLpk 安装或更新一个 app (lpk 封装) */
603
- ApplyLpk(request: DeepPartial<PkgURL>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
604
- /** Remove 移除一个 app */
605
- Remove(request: DeepPartial<DeleteRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
606
- /** Disable 禁用一个 app */
607
- Disable(request: DeepPartial<QueryRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
608
- /** Enable 启用一个 app */
609
- Enable(request: DeepPartial<QueryRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
610
- /** Query 查询 app 的元信息 */
611
- Query(request: DeepPartial<QueryRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<AppMetadataArray>;
612
- /** 查询所有 app 的所有实例状态 */
613
- Status(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<AppsStatus>;
614
- /** 查询 app 的所有实例状态 */
615
- AppStatus(request: DeepPartial<AppId>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<InstancesStatus>;
616
- /** 查询实例状态 */
617
- InstanceStatus(request: DeepPartial<InstanceInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<StatusInfo>;
618
- /** 添加一个实例 */
619
- InstanceAdd(request: DeepPartial<InstanceInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
620
- /** 删除一个实例 */
621
- InstanceRemove(request: DeepPartial<InstanceInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
622
- /** 暂停一个实例 */
623
- InstancePause(request: DeepPartial<InstanceInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
624
- /** 继续一个实例 */
625
- InstanceResume(request: DeepPartial<InstanceInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
626
- }
627
- export declare class CoreSystemClientImpl implements CoreSystem {
628
- private readonly rpc;
629
- constructor(rpc: Rpc);
630
- List(request: DeepPartial<ListOptRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<AppIdList>;
631
- Apply(request: DeepPartial<RawData>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
632
- Apply2(request: DeepPartial<PkgURL>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
633
- Apply3(request: DeepPartial<PkgURL>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
634
- ApplyLpk(request: DeepPartial<PkgURL>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
635
- Remove(request: DeepPartial<DeleteRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
636
- Disable(request: DeepPartial<QueryRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
637
- Enable(request: DeepPartial<QueryRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
638
- Query(request: DeepPartial<QueryRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<AppMetadataArray>;
639
- Status(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<AppsStatus>;
640
- AppStatus(request: DeepPartial<AppId>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<InstancesStatus>;
641
- InstanceStatus(request: DeepPartial<InstanceInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<StatusInfo>;
642
- InstanceAdd(request: DeepPartial<InstanceInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
643
- InstanceRemove(request: DeepPartial<InstanceInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
644
- InstancePause(request: DeepPartial<InstanceInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
645
- InstanceResume(request: DeepPartial<InstanceInfo>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
646
- }
647
- export declare const CoreSystemDesc: {
648
- serviceName: string;
649
- };
650
- export declare const CoreSystemListDesc: UnaryMethodDefinitionish;
651
- export declare const CoreSystemApplyDesc: UnaryMethodDefinitionish;
652
- export declare const CoreSystemApply2Desc: UnaryMethodDefinitionish;
653
- export declare const CoreSystemApply3Desc: UnaryMethodDefinitionish;
654
- export declare const CoreSystemApplyLpkDesc: UnaryMethodDefinitionish;
655
- export declare const CoreSystemRemoveDesc: UnaryMethodDefinitionish;
656
- export declare const CoreSystemDisableDesc: UnaryMethodDefinitionish;
657
- export declare const CoreSystemEnableDesc: UnaryMethodDefinitionish;
658
- export declare const CoreSystemQueryDesc: UnaryMethodDefinitionish;
659
- export declare const CoreSystemStatusDesc: UnaryMethodDefinitionish;
660
- export declare const CoreSystemAppStatusDesc: UnaryMethodDefinitionish;
661
- export declare const CoreSystemInstanceStatusDesc: UnaryMethodDefinitionish;
662
- export declare const CoreSystemInstanceAddDesc: UnaryMethodDefinitionish;
663
- export declare const CoreSystemInstanceRemoveDesc: UnaryMethodDefinitionish;
664
- export declare const CoreSystemInstancePauseDesc: UnaryMethodDefinitionish;
665
- export declare const CoreSystemInstanceResumeDesc: UnaryMethodDefinitionish;
666
- interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {
667
- requestStream: any;
668
- responseStream: any;
669
- }
670
- type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
671
- interface Rpc {
672
- unary<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined, abortSignal?: AbortSignal): Promise<any>;
673
- }
674
- export declare class GrpcWebImpl {
675
- private host;
676
- private options;
677
- constructor(host: string, options: {
678
- transport?: grpc.TransportFactory;
679
- debug?: boolean;
680
- metadata?: grpc.Metadata;
681
- upStreamRetryCodes?: number[];
682
- });
683
- unary<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined, abortSignal?: AbortSignal): Promise<any>;
684
- }
685
- declare const tsProtoGlobalThis: any;
686
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
687
- type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
688
- [K in keyof T]?: DeepPartial<T[K]>;
689
- } : Partial<T>;
690
- export declare class GrpcWebError extends tsProtoGlobalThis.Error {
691
- code: grpc.Code;
692
- metadata: grpc.Metadata;
693
- constructor(message: string, code: grpc.Code, metadata: grpc.Metadata);
694
- }
695
- export {};
696
- //# sourceMappingURL=hc-core.d.ts.map