@lazycatcloud/sdk 0.1.165 → 0.1.167
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/dist/common/appshell.d.ts +103 -0
- package/dist/common/appshell.d.ts.map +1 -0
- package/dist/common/appshell.js +265 -0
- package/dist/common/appshell.js.map +1 -0
- package/dist/common/box.d.ts +55 -13
- package/dist/common/box.d.ts.map +1 -1
- package/dist/common/box.js +106 -73
- package/dist/common/box.js.map +1 -1
- package/dist/common/browseronly.d.ts +40 -12
- package/dist/common/browseronly.d.ts.map +1 -1
- package/dist/common/browseronly.js +106 -55
- package/dist/common/browseronly.js.map +1 -1
- package/dist/common/end_device.d.ts +103 -16
- package/dist/common/end_device.d.ts.map +1 -1
- package/dist/common/end_device.js +141 -83
- package/dist/common/end_device.js.map +1 -1
- package/dist/common/file_handler.d.ts +70 -14
- package/dist/common/file_handler.d.ts.map +1 -1
- package/dist/common/file_handler.js +108 -51
- package/dist/common/file_handler.js.map +1 -1
- package/dist/common/filetrans.d.ts +851 -53
- package/dist/common/filetrans.d.ts.map +1 -1
- package/dist/common/filetrans.js +509 -400
- package/dist/common/filetrans.js.map +1 -1
- package/dist/common/gateway.d.ts +61 -15
- package/dist/common/gateway.d.ts.map +1 -1
- package/dist/common/gateway.js +140 -76
- package/dist/common/gateway.js.map +1 -1
- package/dist/common/media_meta.d.ts +28 -9
- package/dist/common/media_meta.d.ts.map +1 -1
- package/dist/common/media_meta.js +66 -34
- package/dist/common/media_meta.js.map +1 -1
- package/dist/common/message.d.ts +21 -2
- package/dist/common/message.d.ts.map +1 -1
- package/dist/common/message.js +55 -37
- package/dist/common/message.js.map +1 -1
- package/dist/common/peripheral_device.d.ts +143 -20
- package/dist/common/peripheral_device.d.ts.map +1 -1
- package/dist/common/peripheral_device.js +162 -95
- package/dist/common/peripheral_device.js.map +1 -1
- package/dist/common/security_context.d.ts +54 -15
- package/dist/common/security_context.d.ts.map +1 -1
- package/dist/common/security_context.js +130 -80
- package/dist/common/security_context.js.map +1 -1
- package/dist/common/users.d.ts +103 -25
- package/dist/common/users.d.ts.map +1 -1
- package/dist/common/users.js +240 -112
- package/dist/common/users.js.map +1 -1
- package/dist/dlna/dlna.d.ts +121 -20
- package/dist/dlna/dlna.d.ts.map +1 -1
- package/dist/dlna/dlna.js +207 -119
- package/dist/dlna/dlna.js.map +1 -1
- package/dist/extentions/app_common.js +7 -1
- package/dist/extentions/app_common.js.map +1 -1
- package/dist/google/protobuf/descriptor.d.ts +54951 -4489
- package/dist/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/google/protobuf/descriptor.js +914 -663
- package/dist/google/protobuf/descriptor.js.map +1 -1
- package/dist/google/protobuf/empty.d.ts +2 -1
- package/dist/google/protobuf/empty.d.ts.map +1 -1
- package/dist/google/protobuf/empty.js +8 -4
- package/dist/google/protobuf/empty.js.map +1 -1
- package/dist/google/protobuf/timestamp.d.ts +9 -4
- package/dist/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/google/protobuf/timestamp.js +27 -14
- package/dist/google/protobuf/timestamp.js.map +1 -1
- package/dist/grpcweb.d.ts +1 -1
- package/dist/grpcweb.d.ts.map +1 -1
- package/dist/index.d.ts +5 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +39 -45
- package/dist/index.js.map +1 -1
- package/dist/lanforward/lanforward.d.ts +22 -9
- package/dist/lanforward/lanforward.d.ts.map +1 -1
- package/dist/lanforward/lanforward.js +60 -28
- package/dist/lanforward/lanforward.js.map +1 -1
- package/dist/localdevice/clipboard.d.ts +36 -13
- package/dist/localdevice/clipboard.d.ts.map +1 -1
- package/dist/localdevice/clipboard.js +92 -62
- package/dist/localdevice/clipboard.js.map +1 -1
- package/dist/localdevice/config.d.ts +25 -8
- package/dist/localdevice/config.d.ts.map +1 -1
- package/dist/localdevice/config.js +59 -25
- package/dist/localdevice/config.js.map +1 -1
- package/dist/localdevice/device.d.ts +19 -7
- package/dist/localdevice/device.d.ts.map +1 -1
- package/dist/localdevice/device.js +48 -21
- package/dist/localdevice/device.js.map +1 -1
- package/dist/localdevice/dialog.d.ts +69 -19
- package/dist/localdevice/dialog.d.ts.map +1 -1
- package/dist/localdevice/dialog.js +149 -74
- package/dist/localdevice/dialog.js.map +1 -1
- package/dist/localdevice/local-launch.d.ts +70 -18
- package/dist/localdevice/local-launch.d.ts.map +1 -1
- package/dist/localdevice/local-launch.js +179 -99
- package/dist/localdevice/local-launch.js.map +1 -1
- package/dist/localdevice/network.d.ts +15 -7
- package/dist/localdevice/network.d.ts.map +1 -1
- package/dist/localdevice/network.js +39 -16
- package/dist/localdevice/network.js.map +1 -1
- package/dist/localdevice/permission.d.ts +62 -17
- package/dist/localdevice/permission.d.ts.map +1 -1
- package/dist/localdevice/permission.js +129 -89
- package/dist/localdevice/permission.js.map +1 -1
- package/dist/localdevice/photo.d.ts +193 -29
- package/dist/localdevice/photo.d.ts.map +1 -1
- package/dist/localdevice/photo.js +371 -267
- package/dist/localdevice/photo.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/ssdp/ssdp.d.ts +28 -9
- package/dist/ssdp/ssdp.d.ts.map +1 -1
- package/dist/ssdp/ssdp.js +71 -28
- package/dist/ssdp/ssdp.js.map +1 -1
- package/dist/sys/OS_daemon.d.ts +29 -11
- package/dist/sys/OS_daemon.d.ts.map +1 -1
- package/dist/sys/OS_daemon.js +68 -36
- package/dist/sys/OS_daemon.js.map +1 -1
- package/dist/sys/OS_snapshot.d.ts +181 -33
- package/dist/sys/OS_snapshot.d.ts.map +1 -1
- package/dist/sys/OS_snapshot.js +331 -207
- package/dist/sys/OS_snapshot.js.map +1 -1
- package/dist/sys/OS_upgrader.d.ts +48 -13
- package/dist/sys/OS_upgrader.d.ts.map +1 -1
- package/dist/sys/OS_upgrader.js +132 -90
- package/dist/sys/OS_upgrader.js.map +1 -1
- package/dist/sys/box-status.d.ts +209 -17
- package/dist/sys/box-status.d.ts.map +1 -1
- package/dist/sys/box-status.js +186 -151
- package/dist/sys/box-status.js.map +1 -1
- package/dist/sys/btrfs.d.ts +49 -15
- package/dist/sys/btrfs.d.ts.map +1 -1
- package/dist/sys/btrfs.js +103 -61
- package/dist/sys/btrfs.js.map +1 -1
- package/dist/sys/devopt.d.ts +19 -7
- package/dist/sys/devopt.d.ts.map +1 -1
- package/dist/sys/devopt.js +56 -39
- package/dist/sys/devopt.js.map +1 -1
- package/dist/sys/dirmon.d.ts +23 -8
- package/dist/sys/dirmon.d.ts.map +1 -1
- package/dist/sys/dirmon.js +56 -39
- package/dist/sys/dirmon.js.map +1 -1
- package/dist/sys/event.d.ts +92 -20
- package/dist/sys/event.d.ts.map +1 -1
- package/dist/sys/event.js +169 -85
- package/dist/sys/event.js.map +1 -1
- package/dist/sys/hc-core/hc-core.d.ts +246 -34
- package/dist/sys/hc-core/hc-core.d.ts.map +1 -1
- package/dist/sys/hc-core/hc-core.js +287 -181
- package/dist/sys/hc-core/hc-core.js.map +1 -1
- package/dist/sys/ingress.d.ts +82 -25
- package/dist/sys/ingress.d.ts.map +1 -1
- package/dist/sys/ingress.js +179 -109
- package/dist/sys/ingress.js.map +1 -1
- package/dist/sys/network_manager.d.ts +138 -17
- package/dist/sys/network_manager.d.ts.map +1 -1
- package/dist/sys/network_manager.js +178 -121
- package/dist/sys/network_manager.js.map +1 -1
- package/dist/sys/package_manager.d.ts +313 -43
- package/dist/sys/package_manager.d.ts.map +1 -1
- package/dist/sys/package_manager.js +437 -233
- package/dist/sys/package_manager.js.map +1 -1
- package/dist/sys/portal-server/portal-server.d.ts +370 -77
- package/dist/sys/portal-server/portal-server.d.ts.map +1 -1
- package/dist/sys/portal-server/portal-server.js +717 -435
- package/dist/sys/portal-server/portal-server.js.map +1 -1
- package/dist/sys/snapd.d.ts +106 -19
- package/dist/sys/snapd.d.ts.map +1 -1
- package/dist/sys/snapd.js +177 -111
- package/dist/sys/snapd.js.map +1 -1
- package/package.json +1 -1
- package/dist/API.d.ts +0 -24
- package/dist/API.d.ts.map +0 -1
- package/dist/API.js +0 -117
- package/dist/API.js.map +0 -1
- package/dist/google/protobuf/wrappers.d.ts +0 -182
- package/dist/google/protobuf/wrappers.d.ts.map +0 -1
- package/dist/google/protobuf/wrappers.js +0 -458
- package/dist/google/protobuf/wrappers.js.map +0 -1
- package/dist/sys/message.d.ts +0 -186
- package/dist/sys/message.d.ts.map +0 -1
- package/dist/sys/message.js +0 -493
- package/dist/sys/message.js.map +0 -1
- package/dist/sys/portal-server/remote_socks.d.ts +0 -138
- package/dist/sys/portal-server/remote_socks.d.ts.map +0 -1
- package/dist/sys/portal-server/remote_socks.js +0 -436
- package/dist/sys/portal-server/remote_socks.js.map +0 -1
- package/dist/sys/settings.d.ts +0 -68
- package/dist/sys/settings.d.ts.map +0 -1
- package/dist/sys/settings.js +0 -183
- package/dist/sys/settings.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { grpc } from "@improbable-eng/grpc-web";
|
|
2
|
-
import { Empty } from "../google/protobuf/empty";
|
|
3
|
-
import { Observable } from "rxjs";
|
|
4
2
|
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
import { Empty } from "../google/protobuf/empty";
|
|
5
5
|
/** Task 所有状态 */
|
|
6
6
|
export declare enum TaskStatus {
|
|
7
7
|
/** Pending - 等待下载 */
|
|
@@ -159,31 +159,43 @@ export declare const FileLocation: {
|
|
|
159
159
|
decode(input: _m0.Reader | Uint8Array, length?: number): FileLocation;
|
|
160
160
|
fromJSON(object: any): FileLocation;
|
|
161
161
|
toJSON(message: FileLocation): unknown;
|
|
162
|
-
|
|
162
|
+
create<I extends {
|
|
163
|
+
locationType?: FileLocation_FileLocationType;
|
|
164
|
+
value?: string;
|
|
165
|
+
} & {
|
|
166
|
+
locationType?: FileLocation_FileLocationType;
|
|
167
|
+
value?: string;
|
|
168
|
+
} & { [K in Exclude<keyof I, keyof FileLocation>]: never; }>(base?: I): FileLocation;
|
|
169
|
+
fromPartial<I_1 extends {
|
|
163
170
|
locationType?: FileLocation_FileLocationType;
|
|
164
171
|
value?: string;
|
|
165
172
|
} & {
|
|
166
173
|
locationType?: FileLocation_FileLocationType;
|
|
167
174
|
value?: string;
|
|
168
|
-
} & { [
|
|
175
|
+
} & { [K_1 in Exclude<keyof I_1, keyof FileLocation>]: never; }>(object: I_1): FileLocation;
|
|
169
176
|
};
|
|
170
177
|
export declare const MetaInfo: {
|
|
171
178
|
encode(message: MetaInfo, writer?: _m0.Writer): _m0.Writer;
|
|
172
179
|
decode(input: _m0.Reader | Uint8Array, length?: number): MetaInfo;
|
|
173
180
|
fromJSON(object: any): MetaInfo;
|
|
174
181
|
toJSON(message: MetaInfo): unknown;
|
|
175
|
-
|
|
182
|
+
create<I extends {
|
|
183
|
+
metaInfo?: string;
|
|
184
|
+
} & {
|
|
185
|
+
metaInfo?: string;
|
|
186
|
+
} & { [K in Exclude<keyof I, "metaInfo">]: never; }>(base?: I): MetaInfo;
|
|
187
|
+
fromPartial<I_1 extends {
|
|
176
188
|
metaInfo?: string;
|
|
177
189
|
} & {
|
|
178
190
|
metaInfo?: string;
|
|
179
|
-
} & { [
|
|
191
|
+
} & { [K_1 in Exclude<keyof I_1, "metaInfo">]: never; }>(object: I_1): MetaInfo;
|
|
180
192
|
};
|
|
181
193
|
export declare const TaskCreateRequest: {
|
|
182
194
|
encode(message: TaskCreateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
183
195
|
decode(input: _m0.Reader | Uint8Array, length?: number): TaskCreateRequest;
|
|
184
196
|
fromJSON(object: any): TaskCreateRequest;
|
|
185
197
|
toJSON(message: TaskCreateRequest): unknown;
|
|
186
|
-
|
|
198
|
+
create<I extends {
|
|
187
199
|
src?: {
|
|
188
200
|
locationType?: FileLocation_FileLocationType;
|
|
189
201
|
value?: string;
|
|
@@ -227,14 +239,59 @@ export declare const TaskCreateRequest: {
|
|
|
227
239
|
} & {
|
|
228
240
|
metaInfo?: string;
|
|
229
241
|
} & { [K_3 in Exclude<keyof I["metaInfo"], "metaInfo">]: never; };
|
|
230
|
-
} & { [K_4 in Exclude<keyof I, keyof TaskCreateRequest>]: never; }>(
|
|
242
|
+
} & { [K_4 in Exclude<keyof I, keyof TaskCreateRequest>]: never; }>(base?: I): TaskCreateRequest;
|
|
243
|
+
fromPartial<I_1 extends {
|
|
244
|
+
src?: {
|
|
245
|
+
locationType?: FileLocation_FileLocationType;
|
|
246
|
+
value?: string;
|
|
247
|
+
};
|
|
248
|
+
dst?: {
|
|
249
|
+
locationType?: FileLocation_FileLocationType;
|
|
250
|
+
value?: string;
|
|
251
|
+
};
|
|
252
|
+
name?: string;
|
|
253
|
+
queueId?: {
|
|
254
|
+
id?: string;
|
|
255
|
+
};
|
|
256
|
+
status?: TaskStatus | undefined;
|
|
257
|
+
metaInfo?: {
|
|
258
|
+
metaInfo?: string;
|
|
259
|
+
};
|
|
260
|
+
} & {
|
|
261
|
+
src?: {
|
|
262
|
+
locationType?: FileLocation_FileLocationType;
|
|
263
|
+
value?: string;
|
|
264
|
+
} & {
|
|
265
|
+
locationType?: FileLocation_FileLocationType;
|
|
266
|
+
value?: string;
|
|
267
|
+
} & { [K_5 in Exclude<keyof I_1["src"], keyof FileLocation>]: never; };
|
|
268
|
+
dst?: {
|
|
269
|
+
locationType?: FileLocation_FileLocationType;
|
|
270
|
+
value?: string;
|
|
271
|
+
} & {
|
|
272
|
+
locationType?: FileLocation_FileLocationType;
|
|
273
|
+
value?: string;
|
|
274
|
+
} & { [K_6 in Exclude<keyof I_1["dst"], keyof FileLocation>]: never; };
|
|
275
|
+
name?: string;
|
|
276
|
+
queueId?: {
|
|
277
|
+
id?: string;
|
|
278
|
+
} & {
|
|
279
|
+
id?: string;
|
|
280
|
+
} & { [K_7 in Exclude<keyof I_1["queueId"], "id">]: never; };
|
|
281
|
+
status?: TaskStatus | undefined;
|
|
282
|
+
metaInfo?: {
|
|
283
|
+
metaInfo?: string;
|
|
284
|
+
} & {
|
|
285
|
+
metaInfo?: string;
|
|
286
|
+
} & { [K_8 in Exclude<keyof I_1["metaInfo"], "metaInfo">]: never; };
|
|
287
|
+
} & { [K_9 in Exclude<keyof I_1, keyof TaskCreateRequest>]: never; }>(object: I_1): TaskCreateRequest;
|
|
231
288
|
};
|
|
232
289
|
export declare const TaskCreateRequests: {
|
|
233
290
|
encode(message: TaskCreateRequests, writer?: _m0.Writer): _m0.Writer;
|
|
234
291
|
decode(input: _m0.Reader | Uint8Array, length?: number): TaskCreateRequests;
|
|
235
292
|
fromJSON(object: any): TaskCreateRequests;
|
|
236
293
|
toJSON(message: TaskCreateRequests): unknown;
|
|
237
|
-
|
|
294
|
+
create<I extends {
|
|
238
295
|
Requests?: {
|
|
239
296
|
src?: {
|
|
240
297
|
locationType?: FileLocation_FileLocationType;
|
|
@@ -333,25 +390,139 @@ export declare const TaskCreateRequests: {
|
|
|
333
390
|
metaInfo?: string;
|
|
334
391
|
};
|
|
335
392
|
}[]>]: never; };
|
|
336
|
-
} & { [K_6 in Exclude<keyof I, "Requests">]: never; }>(
|
|
393
|
+
} & { [K_6 in Exclude<keyof I, "Requests">]: never; }>(base?: I): TaskCreateRequests;
|
|
394
|
+
fromPartial<I_1 extends {
|
|
395
|
+
Requests?: {
|
|
396
|
+
src?: {
|
|
397
|
+
locationType?: FileLocation_FileLocationType;
|
|
398
|
+
value?: string;
|
|
399
|
+
};
|
|
400
|
+
dst?: {
|
|
401
|
+
locationType?: FileLocation_FileLocationType;
|
|
402
|
+
value?: string;
|
|
403
|
+
};
|
|
404
|
+
name?: string;
|
|
405
|
+
queueId?: {
|
|
406
|
+
id?: string;
|
|
407
|
+
};
|
|
408
|
+
status?: TaskStatus | undefined;
|
|
409
|
+
metaInfo?: {
|
|
410
|
+
metaInfo?: string;
|
|
411
|
+
};
|
|
412
|
+
}[];
|
|
413
|
+
} & {
|
|
414
|
+
Requests?: {
|
|
415
|
+
src?: {
|
|
416
|
+
locationType?: FileLocation_FileLocationType;
|
|
417
|
+
value?: string;
|
|
418
|
+
};
|
|
419
|
+
dst?: {
|
|
420
|
+
locationType?: FileLocation_FileLocationType;
|
|
421
|
+
value?: string;
|
|
422
|
+
};
|
|
423
|
+
name?: string;
|
|
424
|
+
queueId?: {
|
|
425
|
+
id?: string;
|
|
426
|
+
};
|
|
427
|
+
status?: TaskStatus | undefined;
|
|
428
|
+
metaInfo?: {
|
|
429
|
+
metaInfo?: string;
|
|
430
|
+
};
|
|
431
|
+
}[] & ({
|
|
432
|
+
src?: {
|
|
433
|
+
locationType?: FileLocation_FileLocationType;
|
|
434
|
+
value?: string;
|
|
435
|
+
};
|
|
436
|
+
dst?: {
|
|
437
|
+
locationType?: FileLocation_FileLocationType;
|
|
438
|
+
value?: string;
|
|
439
|
+
};
|
|
440
|
+
name?: string;
|
|
441
|
+
queueId?: {
|
|
442
|
+
id?: string;
|
|
443
|
+
};
|
|
444
|
+
status?: TaskStatus | undefined;
|
|
445
|
+
metaInfo?: {
|
|
446
|
+
metaInfo?: string;
|
|
447
|
+
};
|
|
448
|
+
} & {
|
|
449
|
+
src?: {
|
|
450
|
+
locationType?: FileLocation_FileLocationType;
|
|
451
|
+
value?: string;
|
|
452
|
+
} & {
|
|
453
|
+
locationType?: FileLocation_FileLocationType;
|
|
454
|
+
value?: string;
|
|
455
|
+
} & { [K_7 in Exclude<keyof I_1["Requests"][number]["src"], keyof FileLocation>]: never; };
|
|
456
|
+
dst?: {
|
|
457
|
+
locationType?: FileLocation_FileLocationType;
|
|
458
|
+
value?: string;
|
|
459
|
+
} & {
|
|
460
|
+
locationType?: FileLocation_FileLocationType;
|
|
461
|
+
value?: string;
|
|
462
|
+
} & { [K_8 in Exclude<keyof I_1["Requests"][number]["dst"], keyof FileLocation>]: never; };
|
|
463
|
+
name?: string;
|
|
464
|
+
queueId?: {
|
|
465
|
+
id?: string;
|
|
466
|
+
} & {
|
|
467
|
+
id?: string;
|
|
468
|
+
} & { [K_9 in Exclude<keyof I_1["Requests"][number]["queueId"], "id">]: never; };
|
|
469
|
+
status?: TaskStatus | undefined;
|
|
470
|
+
metaInfo?: {
|
|
471
|
+
metaInfo?: string;
|
|
472
|
+
} & {
|
|
473
|
+
metaInfo?: string;
|
|
474
|
+
} & { [K_10 in Exclude<keyof I_1["Requests"][number]["metaInfo"], "metaInfo">]: never; };
|
|
475
|
+
} & { [K_11 in Exclude<keyof I_1["Requests"][number], keyof TaskCreateRequest>]: never; })[] & { [K_12 in Exclude<keyof I_1["Requests"], keyof {
|
|
476
|
+
src?: {
|
|
477
|
+
locationType?: FileLocation_FileLocationType;
|
|
478
|
+
value?: string;
|
|
479
|
+
};
|
|
480
|
+
dst?: {
|
|
481
|
+
locationType?: FileLocation_FileLocationType;
|
|
482
|
+
value?: string;
|
|
483
|
+
};
|
|
484
|
+
name?: string;
|
|
485
|
+
queueId?: {
|
|
486
|
+
id?: string;
|
|
487
|
+
};
|
|
488
|
+
status?: TaskStatus | undefined;
|
|
489
|
+
metaInfo?: {
|
|
490
|
+
metaInfo?: string;
|
|
491
|
+
};
|
|
492
|
+
}[]>]: never; };
|
|
493
|
+
} & { [K_13 in Exclude<keyof I_1, "Requests">]: never; }>(object: I_1): TaskCreateRequests;
|
|
337
494
|
};
|
|
338
495
|
export declare const TaskID: {
|
|
339
496
|
encode(message: TaskID, writer?: _m0.Writer): _m0.Writer;
|
|
340
497
|
decode(input: _m0.Reader | Uint8Array, length?: number): TaskID;
|
|
341
498
|
fromJSON(object: any): TaskID;
|
|
342
499
|
toJSON(message: TaskID): unknown;
|
|
343
|
-
|
|
500
|
+
create<I extends {
|
|
344
501
|
id?: string;
|
|
345
502
|
} & {
|
|
346
503
|
id?: string;
|
|
347
|
-
} & { [K in Exclude<keyof I, "id">]: never; }>(
|
|
504
|
+
} & { [K in Exclude<keyof I, "id">]: never; }>(base?: I): TaskID;
|
|
505
|
+
fromPartial<I_1 extends {
|
|
506
|
+
id?: string;
|
|
507
|
+
} & {
|
|
508
|
+
id?: string;
|
|
509
|
+
} & { [K_1 in Exclude<keyof I_1, "id">]: never; }>(object: I_1): TaskID;
|
|
348
510
|
};
|
|
349
511
|
export declare const TransmitInfo: {
|
|
350
512
|
encode(message: TransmitInfo, writer?: _m0.Writer): _m0.Writer;
|
|
351
513
|
decode(input: _m0.Reader | Uint8Array, length?: number): TransmitInfo;
|
|
352
514
|
fromJSON(object: any): TransmitInfo;
|
|
353
515
|
toJSON(message: TransmitInfo): unknown;
|
|
354
|
-
|
|
516
|
+
create<I extends {
|
|
517
|
+
total?: number;
|
|
518
|
+
transmitted?: number;
|
|
519
|
+
speed?: number;
|
|
520
|
+
} & {
|
|
521
|
+
total?: number;
|
|
522
|
+
transmitted?: number;
|
|
523
|
+
speed?: number;
|
|
524
|
+
} & { [K in Exclude<keyof I, keyof TransmitInfo>]: never; }>(base?: I): TransmitInfo;
|
|
525
|
+
fromPartial<I_1 extends {
|
|
355
526
|
total?: number;
|
|
356
527
|
transmitted?: number;
|
|
357
528
|
speed?: number;
|
|
@@ -359,14 +530,14 @@ export declare const TransmitInfo: {
|
|
|
359
530
|
total?: number;
|
|
360
531
|
transmitted?: number;
|
|
361
532
|
speed?: number;
|
|
362
|
-
} & { [
|
|
533
|
+
} & { [K_1 in Exclude<keyof I_1, keyof TransmitInfo>]: never; }>(object: I_1): TransmitInfo;
|
|
363
534
|
};
|
|
364
535
|
export declare const Task: {
|
|
365
536
|
encode(message: Task, writer?: _m0.Writer): _m0.Writer;
|
|
366
537
|
decode(input: _m0.Reader | Uint8Array, length?: number): Task;
|
|
367
538
|
fromJSON(object: any): Task;
|
|
368
539
|
toJSON(message: Task): unknown;
|
|
369
|
-
|
|
540
|
+
create<I extends {
|
|
370
541
|
id?: {
|
|
371
542
|
id?: string;
|
|
372
543
|
};
|
|
@@ -432,14 +603,90 @@ export declare const Task: {
|
|
|
432
603
|
} & {
|
|
433
604
|
metaInfo?: string;
|
|
434
605
|
} & { [K_4 in Exclude<keyof I["metaInfo"], "metaInfo">]: never; };
|
|
435
|
-
} & { [K_5 in Exclude<keyof I, keyof Task>]: never; }>(
|
|
606
|
+
} & { [K_5 in Exclude<keyof I, keyof Task>]: never; }>(base?: I): Task;
|
|
607
|
+
fromPartial<I_1 extends {
|
|
608
|
+
id?: {
|
|
609
|
+
id?: string;
|
|
610
|
+
};
|
|
611
|
+
src?: {
|
|
612
|
+
locationType?: FileLocation_FileLocationType;
|
|
613
|
+
value?: string;
|
|
614
|
+
};
|
|
615
|
+
dst?: {
|
|
616
|
+
locationType?: FileLocation_FileLocationType;
|
|
617
|
+
value?: string;
|
|
618
|
+
};
|
|
619
|
+
fileName?: string;
|
|
620
|
+
mimeType?: string;
|
|
621
|
+
status?: TaskStatus;
|
|
622
|
+
size?: number | undefined;
|
|
623
|
+
info?: {
|
|
624
|
+
total?: number;
|
|
625
|
+
transmitted?: number;
|
|
626
|
+
speed?: number;
|
|
627
|
+
};
|
|
628
|
+
createdAt?: Date | undefined;
|
|
629
|
+
updatedAt?: Date | undefined;
|
|
630
|
+
metaInfo?: {
|
|
631
|
+
metaInfo?: string;
|
|
632
|
+
};
|
|
633
|
+
} & {
|
|
634
|
+
id?: {
|
|
635
|
+
id?: string;
|
|
636
|
+
} & {
|
|
637
|
+
id?: string;
|
|
638
|
+
} & { [K_6 in Exclude<keyof I_1["id"], "id">]: never; };
|
|
639
|
+
src?: {
|
|
640
|
+
locationType?: FileLocation_FileLocationType;
|
|
641
|
+
value?: string;
|
|
642
|
+
} & {
|
|
643
|
+
locationType?: FileLocation_FileLocationType;
|
|
644
|
+
value?: string;
|
|
645
|
+
} & { [K_7 in Exclude<keyof I_1["src"], keyof FileLocation>]: never; };
|
|
646
|
+
dst?: {
|
|
647
|
+
locationType?: FileLocation_FileLocationType;
|
|
648
|
+
value?: string;
|
|
649
|
+
} & {
|
|
650
|
+
locationType?: FileLocation_FileLocationType;
|
|
651
|
+
value?: string;
|
|
652
|
+
} & { [K_8 in Exclude<keyof I_1["dst"], keyof FileLocation>]: never; };
|
|
653
|
+
fileName?: string;
|
|
654
|
+
mimeType?: string;
|
|
655
|
+
status?: TaskStatus;
|
|
656
|
+
size?: number | undefined;
|
|
657
|
+
info?: {
|
|
658
|
+
total?: number;
|
|
659
|
+
transmitted?: number;
|
|
660
|
+
speed?: number;
|
|
661
|
+
} & {
|
|
662
|
+
total?: number;
|
|
663
|
+
transmitted?: number;
|
|
664
|
+
speed?: number;
|
|
665
|
+
} & { [K_9 in Exclude<keyof I_1["info"], keyof TransmitInfo>]: never; };
|
|
666
|
+
createdAt?: Date | undefined;
|
|
667
|
+
updatedAt?: Date | undefined;
|
|
668
|
+
metaInfo?: {
|
|
669
|
+
metaInfo?: string;
|
|
670
|
+
} & {
|
|
671
|
+
metaInfo?: string;
|
|
672
|
+
} & { [K_10 in Exclude<keyof I_1["metaInfo"], "metaInfo">]: never; };
|
|
673
|
+
} & { [K_11 in Exclude<keyof I_1, keyof Task>]: never; }>(object: I_1): Task;
|
|
436
674
|
};
|
|
437
675
|
export declare const TaskQueueConfig: {
|
|
438
676
|
encode(message: TaskQueueConfig, writer?: _m0.Writer): _m0.Writer;
|
|
439
677
|
decode(input: _m0.Reader | Uint8Array, length?: number): TaskQueueConfig;
|
|
440
678
|
fromJSON(object: any): TaskQueueConfig;
|
|
441
679
|
toJSON(message: TaskQueueConfig): unknown;
|
|
442
|
-
|
|
680
|
+
create<I extends {
|
|
681
|
+
maxParallel?: number;
|
|
682
|
+
maxRatePerFile?: number;
|
|
683
|
+
maxRate?: number;
|
|
684
|
+
} & {
|
|
685
|
+
maxParallel?: number;
|
|
686
|
+
maxRatePerFile?: number;
|
|
687
|
+
maxRate?: number;
|
|
688
|
+
} & { [K in Exclude<keyof I, keyof TaskQueueConfig>]: never; }>(base?: I): TaskQueueConfig;
|
|
689
|
+
fromPartial<I_1 extends {
|
|
443
690
|
maxParallel?: number;
|
|
444
691
|
maxRatePerFile?: number;
|
|
445
692
|
maxRate?: number;
|
|
@@ -447,25 +694,30 @@ export declare const TaskQueueConfig: {
|
|
|
447
694
|
maxParallel?: number;
|
|
448
695
|
maxRatePerFile?: number;
|
|
449
696
|
maxRate?: number;
|
|
450
|
-
} & { [
|
|
697
|
+
} & { [K_1 in Exclude<keyof I_1, keyof TaskQueueConfig>]: never; }>(object: I_1): TaskQueueConfig;
|
|
451
698
|
};
|
|
452
699
|
export declare const TaskQueueID: {
|
|
453
700
|
encode(message: TaskQueueID, writer?: _m0.Writer): _m0.Writer;
|
|
454
701
|
decode(input: _m0.Reader | Uint8Array, length?: number): TaskQueueID;
|
|
455
702
|
fromJSON(object: any): TaskQueueID;
|
|
456
703
|
toJSON(message: TaskQueueID): unknown;
|
|
457
|
-
|
|
704
|
+
create<I extends {
|
|
705
|
+
id?: string;
|
|
706
|
+
} & {
|
|
707
|
+
id?: string;
|
|
708
|
+
} & { [K in Exclude<keyof I, "id">]: never; }>(base?: I): TaskQueueID;
|
|
709
|
+
fromPartial<I_1 extends {
|
|
458
710
|
id?: string;
|
|
459
711
|
} & {
|
|
460
712
|
id?: string;
|
|
461
|
-
} & { [
|
|
713
|
+
} & { [K_1 in Exclude<keyof I_1, "id">]: never; }>(object: I_1): TaskQueueID;
|
|
462
714
|
};
|
|
463
715
|
export declare const TaskQueueConfigReq: {
|
|
464
716
|
encode(message: TaskQueueConfigReq, writer?: _m0.Writer): _m0.Writer;
|
|
465
717
|
decode(input: _m0.Reader | Uint8Array, length?: number): TaskQueueConfigReq;
|
|
466
718
|
fromJSON(object: any): TaskQueueConfigReq;
|
|
467
719
|
toJSON(message: TaskQueueConfigReq): unknown;
|
|
468
|
-
|
|
720
|
+
create<I extends {
|
|
469
721
|
id?: {
|
|
470
722
|
id?: string;
|
|
471
723
|
};
|
|
@@ -489,14 +741,39 @@ export declare const TaskQueueConfigReq: {
|
|
|
489
741
|
maxRatePerFile?: number;
|
|
490
742
|
maxRate?: number;
|
|
491
743
|
} & { [K_1 in Exclude<keyof I["config"], keyof TaskQueueConfig>]: never; };
|
|
492
|
-
} & { [K_2 in Exclude<keyof I, keyof TaskQueueConfigReq>]: never; }>(
|
|
744
|
+
} & { [K_2 in Exclude<keyof I, keyof TaskQueueConfigReq>]: never; }>(base?: I): TaskQueueConfigReq;
|
|
745
|
+
fromPartial<I_1 extends {
|
|
746
|
+
id?: {
|
|
747
|
+
id?: string;
|
|
748
|
+
};
|
|
749
|
+
config?: {
|
|
750
|
+
maxParallel?: number;
|
|
751
|
+
maxRatePerFile?: number;
|
|
752
|
+
maxRate?: number;
|
|
753
|
+
};
|
|
754
|
+
} & {
|
|
755
|
+
id?: {
|
|
756
|
+
id?: string;
|
|
757
|
+
} & {
|
|
758
|
+
id?: string;
|
|
759
|
+
} & { [K_3 in Exclude<keyof I_1["id"], "id">]: never; };
|
|
760
|
+
config?: {
|
|
761
|
+
maxParallel?: number;
|
|
762
|
+
maxRatePerFile?: number;
|
|
763
|
+
maxRate?: number;
|
|
764
|
+
} & {
|
|
765
|
+
maxParallel?: number;
|
|
766
|
+
maxRatePerFile?: number;
|
|
767
|
+
maxRate?: number;
|
|
768
|
+
} & { [K_4 in Exclude<keyof I_1["config"], keyof TaskQueueConfig>]: never; };
|
|
769
|
+
} & { [K_5 in Exclude<keyof I_1, keyof TaskQueueConfigReq>]: never; }>(object: I_1): TaskQueueConfigReq;
|
|
493
770
|
};
|
|
494
771
|
export declare const TaskQueue: {
|
|
495
772
|
encode(message: TaskQueue, writer?: _m0.Writer): _m0.Writer;
|
|
496
773
|
decode(input: _m0.Reader | Uint8Array, length?: number): TaskQueue;
|
|
497
774
|
fromJSON(object: any): TaskQueue;
|
|
498
775
|
toJSON(message: TaskQueue): unknown;
|
|
499
|
-
|
|
776
|
+
create<I extends {
|
|
500
777
|
id?: {
|
|
501
778
|
id?: string;
|
|
502
779
|
};
|
|
@@ -654,14 +931,8 @@ export declare const TaskQueue: {
|
|
|
654
931
|
metaInfo?: string;
|
|
655
932
|
};
|
|
656
933
|
}[]>]: never; };
|
|
657
|
-
} & { [K_8 in Exclude<keyof I, keyof TaskQueue>]: never; }>(
|
|
658
|
-
|
|
659
|
-
export declare const FileTaskQueueResp: {
|
|
660
|
-
encode(message: FileTaskQueueResp, writer?: _m0.Writer): _m0.Writer;
|
|
661
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): FileTaskQueueResp;
|
|
662
|
-
fromJSON(object: any): FileTaskQueueResp;
|
|
663
|
-
toJSON(message: FileTaskQueueResp): unknown;
|
|
664
|
-
fromPartial<I extends {
|
|
934
|
+
} & { [K_8 in Exclude<keyof I, keyof TaskQueue>]: never; }>(base?: I): TaskQueue;
|
|
935
|
+
fromPartial<I_1 extends {
|
|
665
936
|
id?: {
|
|
666
937
|
id?: string;
|
|
667
938
|
};
|
|
@@ -698,7 +969,7 @@ export declare const FileTaskQueueResp: {
|
|
|
698
969
|
id?: string;
|
|
699
970
|
} & {
|
|
700
971
|
id?: string;
|
|
701
|
-
} & { [
|
|
972
|
+
} & { [K_9 in Exclude<keyof I_1["id"], "id">]: never; };
|
|
702
973
|
status?: QueueStatus;
|
|
703
974
|
tasks?: {
|
|
704
975
|
id?: {
|
|
@@ -757,21 +1028,21 @@ export declare const FileTaskQueueResp: {
|
|
|
757
1028
|
id?: string;
|
|
758
1029
|
} & {
|
|
759
1030
|
id?: string;
|
|
760
|
-
} & { [
|
|
1031
|
+
} & { [K_10 in Exclude<keyof I_1["tasks"][number]["id"], "id">]: never; };
|
|
761
1032
|
src?: {
|
|
762
1033
|
locationType?: FileLocation_FileLocationType;
|
|
763
1034
|
value?: string;
|
|
764
1035
|
} & {
|
|
765
1036
|
locationType?: FileLocation_FileLocationType;
|
|
766
1037
|
value?: string;
|
|
767
|
-
} & { [
|
|
1038
|
+
} & { [K_11 in Exclude<keyof I_1["tasks"][number]["src"], keyof FileLocation>]: never; };
|
|
768
1039
|
dst?: {
|
|
769
1040
|
locationType?: FileLocation_FileLocationType;
|
|
770
1041
|
value?: string;
|
|
771
1042
|
} & {
|
|
772
1043
|
locationType?: FileLocation_FileLocationType;
|
|
773
1044
|
value?: string;
|
|
774
|
-
} & { [
|
|
1045
|
+
} & { [K_12 in Exclude<keyof I_1["tasks"][number]["dst"], keyof FileLocation>]: never; };
|
|
775
1046
|
fileName?: string;
|
|
776
1047
|
mimeType?: string;
|
|
777
1048
|
status?: TaskStatus;
|
|
@@ -784,7 +1055,172 @@ export declare const FileTaskQueueResp: {
|
|
|
784
1055
|
total?: number;
|
|
785
1056
|
transmitted?: number;
|
|
786
1057
|
speed?: number;
|
|
787
|
-
} & { [
|
|
1058
|
+
} & { [K_13 in Exclude<keyof I_1["tasks"][number]["info"], keyof TransmitInfo>]: never; };
|
|
1059
|
+
createdAt?: Date | undefined;
|
|
1060
|
+
updatedAt?: Date | undefined;
|
|
1061
|
+
metaInfo?: {
|
|
1062
|
+
metaInfo?: string;
|
|
1063
|
+
} & {
|
|
1064
|
+
metaInfo?: string;
|
|
1065
|
+
} & { [K_14 in Exclude<keyof I_1["tasks"][number]["metaInfo"], "metaInfo">]: never; };
|
|
1066
|
+
} & { [K_15 in Exclude<keyof I_1["tasks"][number], keyof Task>]: never; })[] & { [K_16 in Exclude<keyof I_1["tasks"], keyof {
|
|
1067
|
+
id?: {
|
|
1068
|
+
id?: string;
|
|
1069
|
+
};
|
|
1070
|
+
src?: {
|
|
1071
|
+
locationType?: FileLocation_FileLocationType;
|
|
1072
|
+
value?: string;
|
|
1073
|
+
};
|
|
1074
|
+
dst?: {
|
|
1075
|
+
locationType?: FileLocation_FileLocationType;
|
|
1076
|
+
value?: string;
|
|
1077
|
+
};
|
|
1078
|
+
fileName?: string;
|
|
1079
|
+
mimeType?: string;
|
|
1080
|
+
status?: TaskStatus;
|
|
1081
|
+
size?: number | undefined;
|
|
1082
|
+
info?: {
|
|
1083
|
+
total?: number;
|
|
1084
|
+
transmitted?: number;
|
|
1085
|
+
speed?: number;
|
|
1086
|
+
};
|
|
1087
|
+
createdAt?: Date | undefined;
|
|
1088
|
+
updatedAt?: Date | undefined;
|
|
1089
|
+
metaInfo?: {
|
|
1090
|
+
metaInfo?: string;
|
|
1091
|
+
};
|
|
1092
|
+
}[]>]: never; };
|
|
1093
|
+
} & { [K_17 in Exclude<keyof I_1, keyof TaskQueue>]: never; }>(object: I_1): TaskQueue;
|
|
1094
|
+
};
|
|
1095
|
+
export declare const FileTaskQueueResp: {
|
|
1096
|
+
encode(message: FileTaskQueueResp, writer?: _m0.Writer): _m0.Writer;
|
|
1097
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FileTaskQueueResp;
|
|
1098
|
+
fromJSON(object: any): FileTaskQueueResp;
|
|
1099
|
+
toJSON(message: FileTaskQueueResp): unknown;
|
|
1100
|
+
create<I extends {
|
|
1101
|
+
id?: {
|
|
1102
|
+
id?: string;
|
|
1103
|
+
};
|
|
1104
|
+
status?: QueueStatus;
|
|
1105
|
+
tasks?: {
|
|
1106
|
+
id?: {
|
|
1107
|
+
id?: string;
|
|
1108
|
+
};
|
|
1109
|
+
src?: {
|
|
1110
|
+
locationType?: FileLocation_FileLocationType;
|
|
1111
|
+
value?: string;
|
|
1112
|
+
};
|
|
1113
|
+
dst?: {
|
|
1114
|
+
locationType?: FileLocation_FileLocationType;
|
|
1115
|
+
value?: string;
|
|
1116
|
+
};
|
|
1117
|
+
fileName?: string;
|
|
1118
|
+
mimeType?: string;
|
|
1119
|
+
status?: TaskStatus;
|
|
1120
|
+
size?: number | undefined;
|
|
1121
|
+
info?: {
|
|
1122
|
+
total?: number;
|
|
1123
|
+
transmitted?: number;
|
|
1124
|
+
speed?: number;
|
|
1125
|
+
};
|
|
1126
|
+
createdAt?: Date | undefined;
|
|
1127
|
+
updatedAt?: Date | undefined;
|
|
1128
|
+
metaInfo?: {
|
|
1129
|
+
metaInfo?: string;
|
|
1130
|
+
};
|
|
1131
|
+
}[];
|
|
1132
|
+
} & {
|
|
1133
|
+
id?: {
|
|
1134
|
+
id?: string;
|
|
1135
|
+
} & {
|
|
1136
|
+
id?: string;
|
|
1137
|
+
} & { [K in Exclude<keyof I["id"], "id">]: never; };
|
|
1138
|
+
status?: QueueStatus;
|
|
1139
|
+
tasks?: {
|
|
1140
|
+
id?: {
|
|
1141
|
+
id?: string;
|
|
1142
|
+
};
|
|
1143
|
+
src?: {
|
|
1144
|
+
locationType?: FileLocation_FileLocationType;
|
|
1145
|
+
value?: string;
|
|
1146
|
+
};
|
|
1147
|
+
dst?: {
|
|
1148
|
+
locationType?: FileLocation_FileLocationType;
|
|
1149
|
+
value?: string;
|
|
1150
|
+
};
|
|
1151
|
+
fileName?: string;
|
|
1152
|
+
mimeType?: string;
|
|
1153
|
+
status?: TaskStatus;
|
|
1154
|
+
size?: number | undefined;
|
|
1155
|
+
info?: {
|
|
1156
|
+
total?: number;
|
|
1157
|
+
transmitted?: number;
|
|
1158
|
+
speed?: number;
|
|
1159
|
+
};
|
|
1160
|
+
createdAt?: Date | undefined;
|
|
1161
|
+
updatedAt?: Date | undefined;
|
|
1162
|
+
metaInfo?: {
|
|
1163
|
+
metaInfo?: string;
|
|
1164
|
+
};
|
|
1165
|
+
}[] & ({
|
|
1166
|
+
id?: {
|
|
1167
|
+
id?: string;
|
|
1168
|
+
};
|
|
1169
|
+
src?: {
|
|
1170
|
+
locationType?: FileLocation_FileLocationType;
|
|
1171
|
+
value?: string;
|
|
1172
|
+
};
|
|
1173
|
+
dst?: {
|
|
1174
|
+
locationType?: FileLocation_FileLocationType;
|
|
1175
|
+
value?: string;
|
|
1176
|
+
};
|
|
1177
|
+
fileName?: string;
|
|
1178
|
+
mimeType?: string;
|
|
1179
|
+
status?: TaskStatus;
|
|
1180
|
+
size?: number | undefined;
|
|
1181
|
+
info?: {
|
|
1182
|
+
total?: number;
|
|
1183
|
+
transmitted?: number;
|
|
1184
|
+
speed?: number;
|
|
1185
|
+
};
|
|
1186
|
+
createdAt?: Date | undefined;
|
|
1187
|
+
updatedAt?: Date | undefined;
|
|
1188
|
+
metaInfo?: {
|
|
1189
|
+
metaInfo?: string;
|
|
1190
|
+
};
|
|
1191
|
+
} & {
|
|
1192
|
+
id?: {
|
|
1193
|
+
id?: string;
|
|
1194
|
+
} & {
|
|
1195
|
+
id?: string;
|
|
1196
|
+
} & { [K_1 in Exclude<keyof I["tasks"][number]["id"], "id">]: never; };
|
|
1197
|
+
src?: {
|
|
1198
|
+
locationType?: FileLocation_FileLocationType;
|
|
1199
|
+
value?: string;
|
|
1200
|
+
} & {
|
|
1201
|
+
locationType?: FileLocation_FileLocationType;
|
|
1202
|
+
value?: string;
|
|
1203
|
+
} & { [K_2 in Exclude<keyof I["tasks"][number]["src"], keyof FileLocation>]: never; };
|
|
1204
|
+
dst?: {
|
|
1205
|
+
locationType?: FileLocation_FileLocationType;
|
|
1206
|
+
value?: string;
|
|
1207
|
+
} & {
|
|
1208
|
+
locationType?: FileLocation_FileLocationType;
|
|
1209
|
+
value?: string;
|
|
1210
|
+
} & { [K_3 in Exclude<keyof I["tasks"][number]["dst"], keyof FileLocation>]: never; };
|
|
1211
|
+
fileName?: string;
|
|
1212
|
+
mimeType?: string;
|
|
1213
|
+
status?: TaskStatus;
|
|
1214
|
+
size?: number | undefined;
|
|
1215
|
+
info?: {
|
|
1216
|
+
total?: number;
|
|
1217
|
+
transmitted?: number;
|
|
1218
|
+
speed?: number;
|
|
1219
|
+
} & {
|
|
1220
|
+
total?: number;
|
|
1221
|
+
transmitted?: number;
|
|
1222
|
+
speed?: number;
|
|
1223
|
+
} & { [K_4 in Exclude<keyof I["tasks"][number]["info"], keyof TransmitInfo>]: never; };
|
|
788
1224
|
createdAt?: Date | undefined;
|
|
789
1225
|
updatedAt?: Date | undefined;
|
|
790
1226
|
metaInfo?: {
|
|
@@ -819,14 +1255,173 @@ export declare const FileTaskQueueResp: {
|
|
|
819
1255
|
metaInfo?: string;
|
|
820
1256
|
};
|
|
821
1257
|
}[]>]: never; };
|
|
822
|
-
} & { [K_8 in Exclude<keyof I, keyof FileTaskQueueResp>]: never; }>(
|
|
1258
|
+
} & { [K_8 in Exclude<keyof I, keyof FileTaskQueueResp>]: never; }>(base?: I): FileTaskQueueResp;
|
|
1259
|
+
fromPartial<I_1 extends {
|
|
1260
|
+
id?: {
|
|
1261
|
+
id?: string;
|
|
1262
|
+
};
|
|
1263
|
+
status?: QueueStatus;
|
|
1264
|
+
tasks?: {
|
|
1265
|
+
id?: {
|
|
1266
|
+
id?: string;
|
|
1267
|
+
};
|
|
1268
|
+
src?: {
|
|
1269
|
+
locationType?: FileLocation_FileLocationType;
|
|
1270
|
+
value?: string;
|
|
1271
|
+
};
|
|
1272
|
+
dst?: {
|
|
1273
|
+
locationType?: FileLocation_FileLocationType;
|
|
1274
|
+
value?: string;
|
|
1275
|
+
};
|
|
1276
|
+
fileName?: string;
|
|
1277
|
+
mimeType?: string;
|
|
1278
|
+
status?: TaskStatus;
|
|
1279
|
+
size?: number | undefined;
|
|
1280
|
+
info?: {
|
|
1281
|
+
total?: number;
|
|
1282
|
+
transmitted?: number;
|
|
1283
|
+
speed?: number;
|
|
1284
|
+
};
|
|
1285
|
+
createdAt?: Date | undefined;
|
|
1286
|
+
updatedAt?: Date | undefined;
|
|
1287
|
+
metaInfo?: {
|
|
1288
|
+
metaInfo?: string;
|
|
1289
|
+
};
|
|
1290
|
+
}[];
|
|
1291
|
+
} & {
|
|
1292
|
+
id?: {
|
|
1293
|
+
id?: string;
|
|
1294
|
+
} & {
|
|
1295
|
+
id?: string;
|
|
1296
|
+
} & { [K_9 in Exclude<keyof I_1["id"], "id">]: never; };
|
|
1297
|
+
status?: QueueStatus;
|
|
1298
|
+
tasks?: {
|
|
1299
|
+
id?: {
|
|
1300
|
+
id?: string;
|
|
1301
|
+
};
|
|
1302
|
+
src?: {
|
|
1303
|
+
locationType?: FileLocation_FileLocationType;
|
|
1304
|
+
value?: string;
|
|
1305
|
+
};
|
|
1306
|
+
dst?: {
|
|
1307
|
+
locationType?: FileLocation_FileLocationType;
|
|
1308
|
+
value?: string;
|
|
1309
|
+
};
|
|
1310
|
+
fileName?: string;
|
|
1311
|
+
mimeType?: string;
|
|
1312
|
+
status?: TaskStatus;
|
|
1313
|
+
size?: number | undefined;
|
|
1314
|
+
info?: {
|
|
1315
|
+
total?: number;
|
|
1316
|
+
transmitted?: number;
|
|
1317
|
+
speed?: number;
|
|
1318
|
+
};
|
|
1319
|
+
createdAt?: Date | undefined;
|
|
1320
|
+
updatedAt?: Date | undefined;
|
|
1321
|
+
metaInfo?: {
|
|
1322
|
+
metaInfo?: string;
|
|
1323
|
+
};
|
|
1324
|
+
}[] & ({
|
|
1325
|
+
id?: {
|
|
1326
|
+
id?: string;
|
|
1327
|
+
};
|
|
1328
|
+
src?: {
|
|
1329
|
+
locationType?: FileLocation_FileLocationType;
|
|
1330
|
+
value?: string;
|
|
1331
|
+
};
|
|
1332
|
+
dst?: {
|
|
1333
|
+
locationType?: FileLocation_FileLocationType;
|
|
1334
|
+
value?: string;
|
|
1335
|
+
};
|
|
1336
|
+
fileName?: string;
|
|
1337
|
+
mimeType?: string;
|
|
1338
|
+
status?: TaskStatus;
|
|
1339
|
+
size?: number | undefined;
|
|
1340
|
+
info?: {
|
|
1341
|
+
total?: number;
|
|
1342
|
+
transmitted?: number;
|
|
1343
|
+
speed?: number;
|
|
1344
|
+
};
|
|
1345
|
+
createdAt?: Date | undefined;
|
|
1346
|
+
updatedAt?: Date | undefined;
|
|
1347
|
+
metaInfo?: {
|
|
1348
|
+
metaInfo?: string;
|
|
1349
|
+
};
|
|
1350
|
+
} & {
|
|
1351
|
+
id?: {
|
|
1352
|
+
id?: string;
|
|
1353
|
+
} & {
|
|
1354
|
+
id?: string;
|
|
1355
|
+
} & { [K_10 in Exclude<keyof I_1["tasks"][number]["id"], "id">]: never; };
|
|
1356
|
+
src?: {
|
|
1357
|
+
locationType?: FileLocation_FileLocationType;
|
|
1358
|
+
value?: string;
|
|
1359
|
+
} & {
|
|
1360
|
+
locationType?: FileLocation_FileLocationType;
|
|
1361
|
+
value?: string;
|
|
1362
|
+
} & { [K_11 in Exclude<keyof I_1["tasks"][number]["src"], keyof FileLocation>]: never; };
|
|
1363
|
+
dst?: {
|
|
1364
|
+
locationType?: FileLocation_FileLocationType;
|
|
1365
|
+
value?: string;
|
|
1366
|
+
} & {
|
|
1367
|
+
locationType?: FileLocation_FileLocationType;
|
|
1368
|
+
value?: string;
|
|
1369
|
+
} & { [K_12 in Exclude<keyof I_1["tasks"][number]["dst"], keyof FileLocation>]: never; };
|
|
1370
|
+
fileName?: string;
|
|
1371
|
+
mimeType?: string;
|
|
1372
|
+
status?: TaskStatus;
|
|
1373
|
+
size?: number | undefined;
|
|
1374
|
+
info?: {
|
|
1375
|
+
total?: number;
|
|
1376
|
+
transmitted?: number;
|
|
1377
|
+
speed?: number;
|
|
1378
|
+
} & {
|
|
1379
|
+
total?: number;
|
|
1380
|
+
transmitted?: number;
|
|
1381
|
+
speed?: number;
|
|
1382
|
+
} & { [K_13 in Exclude<keyof I_1["tasks"][number]["info"], keyof TransmitInfo>]: never; };
|
|
1383
|
+
createdAt?: Date | undefined;
|
|
1384
|
+
updatedAt?: Date | undefined;
|
|
1385
|
+
metaInfo?: {
|
|
1386
|
+
metaInfo?: string;
|
|
1387
|
+
} & {
|
|
1388
|
+
metaInfo?: string;
|
|
1389
|
+
} & { [K_14 in Exclude<keyof I_1["tasks"][number]["metaInfo"], "metaInfo">]: never; };
|
|
1390
|
+
} & { [K_15 in Exclude<keyof I_1["tasks"][number], keyof Task>]: never; })[] & { [K_16 in Exclude<keyof I_1["tasks"], keyof {
|
|
1391
|
+
id?: {
|
|
1392
|
+
id?: string;
|
|
1393
|
+
};
|
|
1394
|
+
src?: {
|
|
1395
|
+
locationType?: FileLocation_FileLocationType;
|
|
1396
|
+
value?: string;
|
|
1397
|
+
};
|
|
1398
|
+
dst?: {
|
|
1399
|
+
locationType?: FileLocation_FileLocationType;
|
|
1400
|
+
value?: string;
|
|
1401
|
+
};
|
|
1402
|
+
fileName?: string;
|
|
1403
|
+
mimeType?: string;
|
|
1404
|
+
status?: TaskStatus;
|
|
1405
|
+
size?: number | undefined;
|
|
1406
|
+
info?: {
|
|
1407
|
+
total?: number;
|
|
1408
|
+
transmitted?: number;
|
|
1409
|
+
speed?: number;
|
|
1410
|
+
};
|
|
1411
|
+
createdAt?: Date | undefined;
|
|
1412
|
+
updatedAt?: Date | undefined;
|
|
1413
|
+
metaInfo?: {
|
|
1414
|
+
metaInfo?: string;
|
|
1415
|
+
};
|
|
1416
|
+
}[]>]: never; };
|
|
1417
|
+
} & { [K_17 in Exclude<keyof I_1, keyof FileTaskQueueResp>]: never; }>(object: I_1): FileTaskQueueResp;
|
|
823
1418
|
};
|
|
824
1419
|
export declare const TaskQueueQueryReq: {
|
|
825
1420
|
encode(message: TaskQueueQueryReq, writer?: _m0.Writer): _m0.Writer;
|
|
826
1421
|
decode(input: _m0.Reader | Uint8Array, length?: number): TaskQueueQueryReq;
|
|
827
1422
|
fromJSON(object: any): TaskQueueQueryReq;
|
|
828
1423
|
toJSON(message: TaskQueueQueryReq): unknown;
|
|
829
|
-
|
|
1424
|
+
create<I extends {
|
|
830
1425
|
id?: {
|
|
831
1426
|
id?: string;
|
|
832
1427
|
};
|
|
@@ -838,14 +1433,27 @@ export declare const TaskQueueQueryReq: {
|
|
|
838
1433
|
id?: string;
|
|
839
1434
|
} & { [K in Exclude<keyof I["id"], "id">]: never; };
|
|
840
1435
|
status?: TaskStatus[] & TaskStatus[] & { [K_1 in Exclude<keyof I["status"], keyof TaskStatus[]>]: never; };
|
|
841
|
-
} & { [K_2 in Exclude<keyof I, keyof TaskQueueQueryReq>]: never; }>(
|
|
1436
|
+
} & { [K_2 in Exclude<keyof I, keyof TaskQueueQueryReq>]: never; }>(base?: I): TaskQueueQueryReq;
|
|
1437
|
+
fromPartial<I_1 extends {
|
|
1438
|
+
id?: {
|
|
1439
|
+
id?: string;
|
|
1440
|
+
};
|
|
1441
|
+
status?: TaskStatus[];
|
|
1442
|
+
} & {
|
|
1443
|
+
id?: {
|
|
1444
|
+
id?: string;
|
|
1445
|
+
} & {
|
|
1446
|
+
id?: string;
|
|
1447
|
+
} & { [K_3 in Exclude<keyof I_1["id"], "id">]: never; };
|
|
1448
|
+
status?: TaskStatus[] & TaskStatus[] & { [K_4 in Exclude<keyof I_1["status"], keyof TaskStatus[]>]: never; };
|
|
1449
|
+
} & { [K_5 in Exclude<keyof I_1, keyof TaskQueueQueryReq>]: never; }>(object: I_1): TaskQueueQueryReq;
|
|
842
1450
|
};
|
|
843
1451
|
export declare const TaskQueueStatisticsReq: {
|
|
844
1452
|
encode(message: TaskQueueStatisticsReq, writer?: _m0.Writer): _m0.Writer;
|
|
845
1453
|
decode(input: _m0.Reader | Uint8Array, length?: number): TaskQueueStatisticsReq;
|
|
846
1454
|
fromJSON(object: any): TaskQueueStatisticsReq;
|
|
847
1455
|
toJSON(message: TaskQueueStatisticsReq): unknown;
|
|
848
|
-
|
|
1456
|
+
create<I extends {
|
|
849
1457
|
id?: {
|
|
850
1458
|
id?: string;
|
|
851
1459
|
}[];
|
|
@@ -859,14 +1467,29 @@ export declare const TaskQueueStatisticsReq: {
|
|
|
859
1467
|
} & { [K in Exclude<keyof I["id"][number], "id">]: never; })[] & { [K_1 in Exclude<keyof I["id"], keyof {
|
|
860
1468
|
id?: string;
|
|
861
1469
|
}[]>]: never; };
|
|
862
|
-
} & { [K_2 in Exclude<keyof I, "id">]: never; }>(
|
|
1470
|
+
} & { [K_2 in Exclude<keyof I, "id">]: never; }>(base?: I): TaskQueueStatisticsReq;
|
|
1471
|
+
fromPartial<I_1 extends {
|
|
1472
|
+
id?: {
|
|
1473
|
+
id?: string;
|
|
1474
|
+
}[];
|
|
1475
|
+
} & {
|
|
1476
|
+
id?: {
|
|
1477
|
+
id?: string;
|
|
1478
|
+
}[] & ({
|
|
1479
|
+
id?: string;
|
|
1480
|
+
} & {
|
|
1481
|
+
id?: string;
|
|
1482
|
+
} & { [K_3 in Exclude<keyof I_1["id"][number], "id">]: never; })[] & { [K_4 in Exclude<keyof I_1["id"], keyof {
|
|
1483
|
+
id?: string;
|
|
1484
|
+
}[]>]: never; };
|
|
1485
|
+
} & { [K_5 in Exclude<keyof I_1, "id">]: never; }>(object: I_1): TaskQueueStatisticsReq;
|
|
863
1486
|
};
|
|
864
1487
|
export declare const TaskQueueStatistics: {
|
|
865
1488
|
encode(message: TaskQueueStatistics, writer?: _m0.Writer): _m0.Writer;
|
|
866
1489
|
decode(input: _m0.Reader | Uint8Array, length?: number): TaskQueueStatistics;
|
|
867
1490
|
fromJSON(object: any): TaskQueueStatistics;
|
|
868
1491
|
toJSON(message: TaskQueueStatistics): unknown;
|
|
869
|
-
|
|
1492
|
+
create<I extends {
|
|
870
1493
|
pending?: number;
|
|
871
1494
|
transmitting?: number;
|
|
872
1495
|
paused?: number;
|
|
@@ -878,14 +1501,27 @@ export declare const TaskQueueStatistics: {
|
|
|
878
1501
|
paused?: number;
|
|
879
1502
|
finished?: number;
|
|
880
1503
|
failed?: number;
|
|
881
|
-
} & { [K in Exclude<keyof I, keyof TaskQueueStatistics>]: never; }>(
|
|
1504
|
+
} & { [K in Exclude<keyof I, keyof TaskQueueStatistics>]: never; }>(base?: I): TaskQueueStatistics;
|
|
1505
|
+
fromPartial<I_1 extends {
|
|
1506
|
+
pending?: number;
|
|
1507
|
+
transmitting?: number;
|
|
1508
|
+
paused?: number;
|
|
1509
|
+
finished?: number;
|
|
1510
|
+
failed?: number;
|
|
1511
|
+
} & {
|
|
1512
|
+
pending?: number;
|
|
1513
|
+
transmitting?: number;
|
|
1514
|
+
paused?: number;
|
|
1515
|
+
finished?: number;
|
|
1516
|
+
failed?: number;
|
|
1517
|
+
} & { [K_1 in Exclude<keyof I_1, keyof TaskQueueStatistics>]: never; }>(object: I_1): TaskQueueStatistics;
|
|
882
1518
|
};
|
|
883
1519
|
export declare const TaskQueueStatisticsResp: {
|
|
884
1520
|
encode(message: TaskQueueStatisticsResp, writer?: _m0.Writer): _m0.Writer;
|
|
885
1521
|
decode(input: _m0.Reader | Uint8Array, length?: number): TaskQueueStatisticsResp;
|
|
886
1522
|
fromJSON(object: any): TaskQueueStatisticsResp;
|
|
887
1523
|
toJSON(message: TaskQueueStatisticsResp): unknown;
|
|
888
|
-
|
|
1524
|
+
create<I extends {
|
|
889
1525
|
statistics?: {
|
|
890
1526
|
pending?: number;
|
|
891
1527
|
transmitting?: number;
|
|
@@ -919,14 +1555,49 @@ export declare const TaskQueueStatisticsResp: {
|
|
|
919
1555
|
finished?: number;
|
|
920
1556
|
failed?: number;
|
|
921
1557
|
}[]>]: never; };
|
|
922
|
-
} & { [K_2 in Exclude<keyof I, "statistics">]: never; }>(
|
|
1558
|
+
} & { [K_2 in Exclude<keyof I, "statistics">]: never; }>(base?: I): TaskQueueStatisticsResp;
|
|
1559
|
+
fromPartial<I_1 extends {
|
|
1560
|
+
statistics?: {
|
|
1561
|
+
pending?: number;
|
|
1562
|
+
transmitting?: number;
|
|
1563
|
+
paused?: number;
|
|
1564
|
+
finished?: number;
|
|
1565
|
+
failed?: number;
|
|
1566
|
+
}[];
|
|
1567
|
+
} & {
|
|
1568
|
+
statistics?: {
|
|
1569
|
+
pending?: number;
|
|
1570
|
+
transmitting?: number;
|
|
1571
|
+
paused?: number;
|
|
1572
|
+
finished?: number;
|
|
1573
|
+
failed?: number;
|
|
1574
|
+
}[] & ({
|
|
1575
|
+
pending?: number;
|
|
1576
|
+
transmitting?: number;
|
|
1577
|
+
paused?: number;
|
|
1578
|
+
finished?: number;
|
|
1579
|
+
failed?: number;
|
|
1580
|
+
} & {
|
|
1581
|
+
pending?: number;
|
|
1582
|
+
transmitting?: number;
|
|
1583
|
+
paused?: number;
|
|
1584
|
+
finished?: number;
|
|
1585
|
+
failed?: number;
|
|
1586
|
+
} & { [K_3 in Exclude<keyof I_1["statistics"][number], keyof TaskQueueStatistics>]: never; })[] & { [K_4 in Exclude<keyof I_1["statistics"], keyof {
|
|
1587
|
+
pending?: number;
|
|
1588
|
+
transmitting?: number;
|
|
1589
|
+
paused?: number;
|
|
1590
|
+
finished?: number;
|
|
1591
|
+
failed?: number;
|
|
1592
|
+
}[]>]: never; };
|
|
1593
|
+
} & { [K_5 in Exclude<keyof I_1, "statistics">]: never; }>(object: I_1): TaskQueueStatisticsResp;
|
|
923
1594
|
};
|
|
924
1595
|
export declare const QueueMessageResp: {
|
|
925
1596
|
encode(message: QueueMessageResp, writer?: _m0.Writer): _m0.Writer;
|
|
926
1597
|
decode(input: _m0.Reader | Uint8Array, length?: number): QueueMessageResp;
|
|
927
1598
|
fromJSON(object: any): QueueMessageResp;
|
|
928
1599
|
toJSON(message: QueueMessageResp): unknown;
|
|
929
|
-
|
|
1600
|
+
create<I extends {
|
|
930
1601
|
id?: {
|
|
931
1602
|
id?: string;
|
|
932
1603
|
};
|
|
@@ -1036,14 +1707,125 @@ export declare const QueueMessageResp: {
|
|
|
1036
1707
|
action?: MsgAction;
|
|
1037
1708
|
status?: TaskStatus;
|
|
1038
1709
|
errorMessage?: string | undefined;
|
|
1039
|
-
} & { [K_7 in Exclude<keyof I, keyof QueueMessageResp>]: never; }>(
|
|
1710
|
+
} & { [K_7 in Exclude<keyof I, keyof QueueMessageResp>]: never; }>(base?: I): QueueMessageResp;
|
|
1711
|
+
fromPartial<I_1 extends {
|
|
1712
|
+
id?: {
|
|
1713
|
+
id?: string;
|
|
1714
|
+
};
|
|
1715
|
+
task?: {
|
|
1716
|
+
id?: {
|
|
1717
|
+
id?: string;
|
|
1718
|
+
};
|
|
1719
|
+
src?: {
|
|
1720
|
+
locationType?: FileLocation_FileLocationType;
|
|
1721
|
+
value?: string;
|
|
1722
|
+
};
|
|
1723
|
+
dst?: {
|
|
1724
|
+
locationType?: FileLocation_FileLocationType;
|
|
1725
|
+
value?: string;
|
|
1726
|
+
};
|
|
1727
|
+
fileName?: string;
|
|
1728
|
+
mimeType?: string;
|
|
1729
|
+
status?: TaskStatus;
|
|
1730
|
+
size?: number | undefined;
|
|
1731
|
+
info?: {
|
|
1732
|
+
total?: number;
|
|
1733
|
+
transmitted?: number;
|
|
1734
|
+
speed?: number;
|
|
1735
|
+
};
|
|
1736
|
+
createdAt?: Date | undefined;
|
|
1737
|
+
updatedAt?: Date | undefined;
|
|
1738
|
+
metaInfo?: {
|
|
1739
|
+
metaInfo?: string;
|
|
1740
|
+
};
|
|
1741
|
+
};
|
|
1742
|
+
action?: MsgAction;
|
|
1743
|
+
status?: TaskStatus;
|
|
1744
|
+
errorMessage?: string | undefined;
|
|
1745
|
+
} & {
|
|
1746
|
+
id?: {
|
|
1747
|
+
id?: string;
|
|
1748
|
+
} & {
|
|
1749
|
+
id?: string;
|
|
1750
|
+
} & { [K_8 in Exclude<keyof I_1["id"], "id">]: never; };
|
|
1751
|
+
task?: {
|
|
1752
|
+
id?: {
|
|
1753
|
+
id?: string;
|
|
1754
|
+
};
|
|
1755
|
+
src?: {
|
|
1756
|
+
locationType?: FileLocation_FileLocationType;
|
|
1757
|
+
value?: string;
|
|
1758
|
+
};
|
|
1759
|
+
dst?: {
|
|
1760
|
+
locationType?: FileLocation_FileLocationType;
|
|
1761
|
+
value?: string;
|
|
1762
|
+
};
|
|
1763
|
+
fileName?: string;
|
|
1764
|
+
mimeType?: string;
|
|
1765
|
+
status?: TaskStatus;
|
|
1766
|
+
size?: number | undefined;
|
|
1767
|
+
info?: {
|
|
1768
|
+
total?: number;
|
|
1769
|
+
transmitted?: number;
|
|
1770
|
+
speed?: number;
|
|
1771
|
+
};
|
|
1772
|
+
createdAt?: Date | undefined;
|
|
1773
|
+
updatedAt?: Date | undefined;
|
|
1774
|
+
metaInfo?: {
|
|
1775
|
+
metaInfo?: string;
|
|
1776
|
+
};
|
|
1777
|
+
} & {
|
|
1778
|
+
id?: {
|
|
1779
|
+
id?: string;
|
|
1780
|
+
} & {
|
|
1781
|
+
id?: string;
|
|
1782
|
+
} & { [K_9 in Exclude<keyof I_1["task"]["id"], "id">]: never; };
|
|
1783
|
+
src?: {
|
|
1784
|
+
locationType?: FileLocation_FileLocationType;
|
|
1785
|
+
value?: string;
|
|
1786
|
+
} & {
|
|
1787
|
+
locationType?: FileLocation_FileLocationType;
|
|
1788
|
+
value?: string;
|
|
1789
|
+
} & { [K_10 in Exclude<keyof I_1["task"]["src"], keyof FileLocation>]: never; };
|
|
1790
|
+
dst?: {
|
|
1791
|
+
locationType?: FileLocation_FileLocationType;
|
|
1792
|
+
value?: string;
|
|
1793
|
+
} & {
|
|
1794
|
+
locationType?: FileLocation_FileLocationType;
|
|
1795
|
+
value?: string;
|
|
1796
|
+
} & { [K_11 in Exclude<keyof I_1["task"]["dst"], keyof FileLocation>]: never; };
|
|
1797
|
+
fileName?: string;
|
|
1798
|
+
mimeType?: string;
|
|
1799
|
+
status?: TaskStatus;
|
|
1800
|
+
size?: number | undefined;
|
|
1801
|
+
info?: {
|
|
1802
|
+
total?: number;
|
|
1803
|
+
transmitted?: number;
|
|
1804
|
+
speed?: number;
|
|
1805
|
+
} & {
|
|
1806
|
+
total?: number;
|
|
1807
|
+
transmitted?: number;
|
|
1808
|
+
speed?: number;
|
|
1809
|
+
} & { [K_12 in Exclude<keyof I_1["task"]["info"], keyof TransmitInfo>]: never; };
|
|
1810
|
+
createdAt?: Date | undefined;
|
|
1811
|
+
updatedAt?: Date | undefined;
|
|
1812
|
+
metaInfo?: {
|
|
1813
|
+
metaInfo?: string;
|
|
1814
|
+
} & {
|
|
1815
|
+
metaInfo?: string;
|
|
1816
|
+
} & { [K_13 in Exclude<keyof I_1["task"]["metaInfo"], "metaInfo">]: never; };
|
|
1817
|
+
} & { [K_14 in Exclude<keyof I_1["task"], keyof Task>]: never; };
|
|
1818
|
+
action?: MsgAction;
|
|
1819
|
+
status?: TaskStatus;
|
|
1820
|
+
errorMessage?: string | undefined;
|
|
1821
|
+
} & { [K_15 in Exclude<keyof I_1, keyof QueueMessageResp>]: never; }>(object: I_1): QueueMessageResp;
|
|
1040
1822
|
};
|
|
1041
1823
|
export declare const TaskQueueListResp: {
|
|
1042
1824
|
encode(message: TaskQueueListResp, writer?: _m0.Writer): _m0.Writer;
|
|
1043
1825
|
decode(input: _m0.Reader | Uint8Array, length?: number): TaskQueueListResp;
|
|
1044
1826
|
fromJSON(object: any): TaskQueueListResp;
|
|
1045
1827
|
toJSON(message: TaskQueueListResp): unknown;
|
|
1046
|
-
|
|
1828
|
+
create<I extends {
|
|
1047
1829
|
ids?: {
|
|
1048
1830
|
id?: string;
|
|
1049
1831
|
}[];
|
|
@@ -1057,7 +1839,22 @@ export declare const TaskQueueListResp: {
|
|
|
1057
1839
|
} & { [K in Exclude<keyof I["ids"][number], "id">]: never; })[] & { [K_1 in Exclude<keyof I["ids"], keyof {
|
|
1058
1840
|
id?: string;
|
|
1059
1841
|
}[]>]: never; };
|
|
1060
|
-
} & { [K_2 in Exclude<keyof I, "ids">]: never; }>(
|
|
1842
|
+
} & { [K_2 in Exclude<keyof I, "ids">]: never; }>(base?: I): TaskQueueListResp;
|
|
1843
|
+
fromPartial<I_1 extends {
|
|
1844
|
+
ids?: {
|
|
1845
|
+
id?: string;
|
|
1846
|
+
}[];
|
|
1847
|
+
} & {
|
|
1848
|
+
ids?: {
|
|
1849
|
+
id?: string;
|
|
1850
|
+
}[] & ({
|
|
1851
|
+
id?: string;
|
|
1852
|
+
} & {
|
|
1853
|
+
id?: string;
|
|
1854
|
+
} & { [K_3 in Exclude<keyof I_1["ids"][number], "id">]: never; })[] & { [K_4 in Exclude<keyof I_1["ids"], keyof {
|
|
1855
|
+
id?: string;
|
|
1856
|
+
}[]>]: never; };
|
|
1857
|
+
} & { [K_5 in Exclude<keyof I_1, "ids">]: never; }>(object: I_1): TaskQueueListResp;
|
|
1061
1858
|
};
|
|
1062
1859
|
/** Task status */
|
|
1063
1860
|
export interface FileTransferService {
|
|
@@ -1132,7 +1929,7 @@ interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any>
|
|
|
1132
1929
|
requestStream: any;
|
|
1133
1930
|
responseStream: any;
|
|
1134
1931
|
}
|
|
1135
|
-
|
|
1932
|
+
type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
|
|
1136
1933
|
interface Rpc {
|
|
1137
1934
|
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Promise<any>;
|
|
1138
1935
|
invoke<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Observable<any>;
|
|
@@ -1150,11 +1947,12 @@ export declare class GrpcWebImpl {
|
|
|
1150
1947
|
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Promise<any>;
|
|
1151
1948
|
invoke<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Observable<any>;
|
|
1152
1949
|
}
|
|
1153
|
-
declare
|
|
1154
|
-
|
|
1950
|
+
declare var tsProtoGlobalThis: any;
|
|
1951
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1952
|
+
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 {} ? {
|
|
1155
1953
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1156
1954
|
} : Partial<T>;
|
|
1157
|
-
export declare class GrpcWebError extends Error {
|
|
1955
|
+
export declare class GrpcWebError extends tsProtoGlobalThis.Error {
|
|
1158
1956
|
code: grpc.Code;
|
|
1159
1957
|
metadata: grpc.Metadata;
|
|
1160
1958
|
constructor(message: string, code: grpc.Code, metadata: grpc.Metadata);
|