@lazycatcloud/sdk 0.1.456 → 0.1.457

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 (47) hide show
  1. package/dist/common/box.d.ts +542 -0
  2. package/dist/common/box.d.ts.map +1 -1
  3. package/dist/common/box.js +870 -53
  4. package/dist/common/box.js.map +1 -1
  5. package/dist/localdevice/clipboard.d.ts +137 -0
  6. package/dist/localdevice/clipboard.d.ts.map +1 -0
  7. package/dist/localdevice/clipboard.js +433 -0
  8. package/dist/localdevice/clipboard.js.map +1 -0
  9. package/dist/localdevice/contacts.d.ts +29 -0
  10. package/dist/localdevice/contacts.d.ts.map +1 -1
  11. package/dist/localdevice/contacts.js +118 -1
  12. package/dist/localdevice/contacts.js.map +1 -1
  13. package/dist/package.json +1 -1
  14. package/dist/sys/OS_snapshot.d.ts +585 -0
  15. package/dist/sys/OS_snapshot.d.ts.map +1 -0
  16. package/dist/sys/OS_snapshot.js +1543 -0
  17. package/dist/sys/OS_snapshot.js.map +1 -0
  18. package/dist/sys/OS_upgrader.d.ts +202 -0
  19. package/dist/sys/OS_upgrader.d.ts.map +1 -0
  20. package/dist/sys/OS_upgrader.js +639 -0
  21. package/dist/sys/OS_upgrader.js.map +1 -0
  22. package/dist/sys/hc-core/hc-core.d.ts +691 -0
  23. package/dist/sys/hc-core/hc-core.d.ts.map +1 -0
  24. package/dist/sys/hc-core/hc-core.js +1484 -0
  25. package/dist/sys/hc-core/hc-core.js.map +1 -0
  26. package/dist/sys/installer.d.ts +277 -0
  27. package/dist/sys/installer.d.ts.map +1 -0
  28. package/dist/sys/installer.js +796 -0
  29. package/dist/sys/installer.js.map +1 -0
  30. package/dist/sys/osupgrader.d.ts +256 -0
  31. package/dist/sys/osupgrader.d.ts.map +1 -0
  32. package/dist/sys/osupgrader.js +536 -0
  33. package/dist/sys/osupgrader.js.map +1 -0
  34. package/dist/sys/portal-server/portal-server.d.ts +947 -0
  35. package/dist/sys/portal-server/portal-server.d.ts.map +1 -0
  36. package/dist/sys/portal-server/portal-server.js +2756 -0
  37. package/dist/sys/portal-server/portal-server.js.map +1 -0
  38. package/dist/sys/snapd.d.ts +343 -0
  39. package/dist/sys/snapd.d.ts.map +1 -0
  40. package/dist/sys/snapd.js +798 -0
  41. package/dist/sys/snapd.js.map +1 -0
  42. package/dist/tsconfig.tsbuildinfo +1 -1
  43. package/package.json +1 -1
  44. package/dist/test.d.mts +0 -2
  45. package/dist/test.d.mts.map +0 -1
  46. package/dist/test.mjs +0 -10
  47. package/dist/test.mjs.map +0 -1
@@ -1,6 +1,82 @@
1
1
  import { grpc } from "@improbable-eng/grpc-web";
2
2
  import _m0 from "protobufjs/minimal";
3
3
  import { Empty } from "../google/protobuf/empty";
4
+ export interface ListAllDisksRequest {
5
+ }
6
+ export interface ListAllDisksResponse {
7
+ disks: ListAllDisksResponse_DiskDetail[];
8
+ }
9
+ export interface ListAllDisksResponse_DiskDetail {
10
+ /** 磁盘类型 */
11
+ type: ListAllDisksResponse_DiskDetail_DiskType;
12
+ /** 是否加密 */
13
+ encrypted: boolean;
14
+ /** 盘位(仅当 type 为 Data 时才有效) */
15
+ slot: number;
16
+ /** 型号 */
17
+ model: string;
18
+ /** 序列号 */
19
+ serial: string;
20
+ /** 磁盘容量(字节)(如果该值为 0,则表示该盘位未插盘) */
21
+ size: number;
22
+ /** 剩余空间(字节) */
23
+ free: number;
24
+ /** 温度 */
25
+ temperature: number;
26
+ /** 运行时间(小时) */
27
+ powerOnHours: number;
28
+ health: ListAllDisksResponse_DiskDetail_Health;
29
+ /** 健康状态理由 */
30
+ healthReason: string;
31
+ /** 可以是 single、dup、raid0、raid1 等等 */
32
+ btrfsProfile: string;
33
+ /** device path */
34
+ path: string;
35
+ /** 当前数据盘状态 */
36
+ status: ListAllDisksResponse_DiskDetail_Status;
37
+ /** 是否是/data设备 */
38
+ isDataDisk: boolean;
39
+ /** 是否需要格式化 */
40
+ isEmpty: boolean;
41
+ }
42
+ export declare enum ListAllDisksResponse_DiskDetail_Status {
43
+ UNSPECIFIED = 0,
44
+ ADDING = 1,
45
+ REMOVING = 2,
46
+ READY = 3,
47
+ DETACHED = 4,
48
+ UNRECOGNIZED = -1
49
+ }
50
+ export declare function listAllDisksResponse_DiskDetail_StatusFromJSON(object: any): ListAllDisksResponse_DiskDetail_Status;
51
+ export declare function listAllDisksResponse_DiskDetail_StatusToJSON(object: ListAllDisksResponse_DiskDetail_Status): string;
52
+ export declare enum ListAllDisksResponse_DiskDetail_DiskType {
53
+ Unknown = 0,
54
+ System = 1,
55
+ Data = 2,
56
+ UNRECOGNIZED = -1
57
+ }
58
+ export declare function listAllDisksResponse_DiskDetail_DiskTypeFromJSON(object: any): ListAllDisksResponse_DiskDetail_DiskType;
59
+ export declare function listAllDisksResponse_DiskDetail_DiskTypeToJSON(object: ListAllDisksResponse_DiskDetail_DiskType): string;
60
+ /** 健康状态 */
61
+ export declare enum ListAllDisksResponse_DiskDetail_Health {
62
+ Normal = 0,
63
+ Caution = 1,
64
+ Bad = 2,
65
+ UNRECOGNIZED = -1
66
+ }
67
+ export declare function listAllDisksResponse_DiskDetail_HealthFromJSON(object: any): ListAllDisksResponse_DiskDetail_Health;
68
+ export declare function listAllDisksResponse_DiskDetail_HealthToJSON(object: ListAllDisksResponse_DiskDetail_Health): string;
69
+ export interface RemoveDataDiskRequest {
70
+ id: string;
71
+ }
72
+ export interface RemoveDataDiskResponse {
73
+ }
74
+ export interface AddDataDiskRequest {
75
+ id: string;
76
+ password?: string | undefined;
77
+ }
78
+ export interface AddDataDiskResponse {
79
+ }
4
80
  export interface BoxInfo {
5
81
  /** 硬件唯一ID,出厂后则不再变化 */
6
82
  udid: string;
@@ -104,6 +180,12 @@ export interface DiskInfo {
104
180
  healthReason: string;
105
181
  /** 可以是 single、dup、raid0、raid1 等等 */
106
182
  btrfsProfile: string;
183
+ /** 是否是/data设备 */
184
+ dataDevice: boolean;
185
+ /** 是否需要格式化 */
186
+ formatNeeded: boolean;
187
+ /** 块设备路径 */
188
+ path: string;
107
189
  }
108
190
  export declare enum DiskInfo_DiskType {
109
191
  Unknown = 0,
@@ -152,6 +234,328 @@ export interface ChangeDataDisksPasswordRequest {
152
234
  export interface ChangeDataDisksPasswordResponse {
153
235
  ok: boolean;
154
236
  }
237
+ export declare const ListAllDisksRequest: {
238
+ encode(_: ListAllDisksRequest, writer?: _m0.Writer): _m0.Writer;
239
+ decode(input: _m0.Reader | Uint8Array, length?: number): ListAllDisksRequest;
240
+ fromJSON(_: any): ListAllDisksRequest;
241
+ toJSON(_: ListAllDisksRequest): unknown;
242
+ create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): ListAllDisksRequest;
243
+ fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): ListAllDisksRequest;
244
+ };
245
+ export declare const ListAllDisksResponse: {
246
+ encode(message: ListAllDisksResponse, writer?: _m0.Writer): _m0.Writer;
247
+ decode(input: _m0.Reader | Uint8Array, length?: number): ListAllDisksResponse;
248
+ fromJSON(object: any): ListAllDisksResponse;
249
+ toJSON(message: ListAllDisksResponse): unknown;
250
+ create<I extends {
251
+ disks?: {
252
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
253
+ encrypted?: boolean;
254
+ slot?: number;
255
+ model?: string;
256
+ serial?: string;
257
+ size?: number;
258
+ free?: number;
259
+ temperature?: number;
260
+ powerOnHours?: number;
261
+ health?: ListAllDisksResponse_DiskDetail_Health;
262
+ healthReason?: string;
263
+ btrfsProfile?: string;
264
+ path?: string;
265
+ status?: ListAllDisksResponse_DiskDetail_Status;
266
+ isDataDisk?: boolean;
267
+ isEmpty?: boolean;
268
+ }[];
269
+ } & {
270
+ disks?: {
271
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
272
+ encrypted?: boolean;
273
+ slot?: number;
274
+ model?: string;
275
+ serial?: string;
276
+ size?: number;
277
+ free?: number;
278
+ temperature?: number;
279
+ powerOnHours?: number;
280
+ health?: ListAllDisksResponse_DiskDetail_Health;
281
+ healthReason?: string;
282
+ btrfsProfile?: string;
283
+ path?: string;
284
+ status?: ListAllDisksResponse_DiskDetail_Status;
285
+ isDataDisk?: boolean;
286
+ isEmpty?: boolean;
287
+ }[] & ({
288
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
289
+ encrypted?: boolean;
290
+ slot?: number;
291
+ model?: string;
292
+ serial?: string;
293
+ size?: number;
294
+ free?: number;
295
+ temperature?: number;
296
+ powerOnHours?: number;
297
+ health?: ListAllDisksResponse_DiskDetail_Health;
298
+ healthReason?: string;
299
+ btrfsProfile?: string;
300
+ path?: string;
301
+ status?: ListAllDisksResponse_DiskDetail_Status;
302
+ isDataDisk?: boolean;
303
+ isEmpty?: boolean;
304
+ } & {
305
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
306
+ encrypted?: boolean;
307
+ slot?: number;
308
+ model?: string;
309
+ serial?: string;
310
+ size?: number;
311
+ free?: number;
312
+ temperature?: number;
313
+ powerOnHours?: number;
314
+ health?: ListAllDisksResponse_DiskDetail_Health;
315
+ healthReason?: string;
316
+ btrfsProfile?: string;
317
+ path?: string;
318
+ status?: ListAllDisksResponse_DiskDetail_Status;
319
+ isDataDisk?: boolean;
320
+ isEmpty?: boolean;
321
+ } & { [K in Exclude<keyof I["disks"][number], keyof ListAllDisksResponse_DiskDetail>]: never; })[] & { [K_1 in Exclude<keyof I["disks"], keyof {
322
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
323
+ encrypted?: boolean;
324
+ slot?: number;
325
+ model?: string;
326
+ serial?: string;
327
+ size?: number;
328
+ free?: number;
329
+ temperature?: number;
330
+ powerOnHours?: number;
331
+ health?: ListAllDisksResponse_DiskDetail_Health;
332
+ healthReason?: string;
333
+ btrfsProfile?: string;
334
+ path?: string;
335
+ status?: ListAllDisksResponse_DiskDetail_Status;
336
+ isDataDisk?: boolean;
337
+ isEmpty?: boolean;
338
+ }[]>]: never; };
339
+ } & { [K_2 in Exclude<keyof I, "disks">]: never; }>(base?: I): ListAllDisksResponse;
340
+ fromPartial<I_1 extends {
341
+ disks?: {
342
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
343
+ encrypted?: boolean;
344
+ slot?: number;
345
+ model?: string;
346
+ serial?: string;
347
+ size?: number;
348
+ free?: number;
349
+ temperature?: number;
350
+ powerOnHours?: number;
351
+ health?: ListAllDisksResponse_DiskDetail_Health;
352
+ healthReason?: string;
353
+ btrfsProfile?: string;
354
+ path?: string;
355
+ status?: ListAllDisksResponse_DiskDetail_Status;
356
+ isDataDisk?: boolean;
357
+ isEmpty?: boolean;
358
+ }[];
359
+ } & {
360
+ disks?: {
361
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
362
+ encrypted?: boolean;
363
+ slot?: number;
364
+ model?: string;
365
+ serial?: string;
366
+ size?: number;
367
+ free?: number;
368
+ temperature?: number;
369
+ powerOnHours?: number;
370
+ health?: ListAllDisksResponse_DiskDetail_Health;
371
+ healthReason?: string;
372
+ btrfsProfile?: string;
373
+ path?: string;
374
+ status?: ListAllDisksResponse_DiskDetail_Status;
375
+ isDataDisk?: boolean;
376
+ isEmpty?: boolean;
377
+ }[] & ({
378
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
379
+ encrypted?: boolean;
380
+ slot?: number;
381
+ model?: string;
382
+ serial?: string;
383
+ size?: number;
384
+ free?: number;
385
+ temperature?: number;
386
+ powerOnHours?: number;
387
+ health?: ListAllDisksResponse_DiskDetail_Health;
388
+ healthReason?: string;
389
+ btrfsProfile?: string;
390
+ path?: string;
391
+ status?: ListAllDisksResponse_DiskDetail_Status;
392
+ isDataDisk?: boolean;
393
+ isEmpty?: boolean;
394
+ } & {
395
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
396
+ encrypted?: boolean;
397
+ slot?: number;
398
+ model?: string;
399
+ serial?: string;
400
+ size?: number;
401
+ free?: number;
402
+ temperature?: number;
403
+ powerOnHours?: number;
404
+ health?: ListAllDisksResponse_DiskDetail_Health;
405
+ healthReason?: string;
406
+ btrfsProfile?: string;
407
+ path?: string;
408
+ status?: ListAllDisksResponse_DiskDetail_Status;
409
+ isDataDisk?: boolean;
410
+ isEmpty?: boolean;
411
+ } & { [K_3 in Exclude<keyof I_1["disks"][number], keyof ListAllDisksResponse_DiskDetail>]: never; })[] & { [K_4 in Exclude<keyof I_1["disks"], keyof {
412
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
413
+ encrypted?: boolean;
414
+ slot?: number;
415
+ model?: string;
416
+ serial?: string;
417
+ size?: number;
418
+ free?: number;
419
+ temperature?: number;
420
+ powerOnHours?: number;
421
+ health?: ListAllDisksResponse_DiskDetail_Health;
422
+ healthReason?: string;
423
+ btrfsProfile?: string;
424
+ path?: string;
425
+ status?: ListAllDisksResponse_DiskDetail_Status;
426
+ isDataDisk?: boolean;
427
+ isEmpty?: boolean;
428
+ }[]>]: never; };
429
+ } & { [K_5 in Exclude<keyof I_1, "disks">]: never; }>(object: I_1): ListAllDisksResponse;
430
+ };
431
+ export declare const ListAllDisksResponse_DiskDetail: {
432
+ encode(message: ListAllDisksResponse_DiskDetail, writer?: _m0.Writer): _m0.Writer;
433
+ decode(input: _m0.Reader | Uint8Array, length?: number): ListAllDisksResponse_DiskDetail;
434
+ fromJSON(object: any): ListAllDisksResponse_DiskDetail;
435
+ toJSON(message: ListAllDisksResponse_DiskDetail): unknown;
436
+ create<I extends {
437
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
438
+ encrypted?: boolean;
439
+ slot?: number;
440
+ model?: string;
441
+ serial?: string;
442
+ size?: number;
443
+ free?: number;
444
+ temperature?: number;
445
+ powerOnHours?: number;
446
+ health?: ListAllDisksResponse_DiskDetail_Health;
447
+ healthReason?: string;
448
+ btrfsProfile?: string;
449
+ path?: string;
450
+ status?: ListAllDisksResponse_DiskDetail_Status;
451
+ isDataDisk?: boolean;
452
+ isEmpty?: boolean;
453
+ } & {
454
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
455
+ encrypted?: boolean;
456
+ slot?: number;
457
+ model?: string;
458
+ serial?: string;
459
+ size?: number;
460
+ free?: number;
461
+ temperature?: number;
462
+ powerOnHours?: number;
463
+ health?: ListAllDisksResponse_DiskDetail_Health;
464
+ healthReason?: string;
465
+ btrfsProfile?: string;
466
+ path?: string;
467
+ status?: ListAllDisksResponse_DiskDetail_Status;
468
+ isDataDisk?: boolean;
469
+ isEmpty?: boolean;
470
+ } & { [K in Exclude<keyof I, keyof ListAllDisksResponse_DiskDetail>]: never; }>(base?: I): ListAllDisksResponse_DiskDetail;
471
+ fromPartial<I_1 extends {
472
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
473
+ encrypted?: boolean;
474
+ slot?: number;
475
+ model?: string;
476
+ serial?: string;
477
+ size?: number;
478
+ free?: number;
479
+ temperature?: number;
480
+ powerOnHours?: number;
481
+ health?: ListAllDisksResponse_DiskDetail_Health;
482
+ healthReason?: string;
483
+ btrfsProfile?: string;
484
+ path?: string;
485
+ status?: ListAllDisksResponse_DiskDetail_Status;
486
+ isDataDisk?: boolean;
487
+ isEmpty?: boolean;
488
+ } & {
489
+ type?: ListAllDisksResponse_DiskDetail_DiskType;
490
+ encrypted?: boolean;
491
+ slot?: number;
492
+ model?: string;
493
+ serial?: string;
494
+ size?: number;
495
+ free?: number;
496
+ temperature?: number;
497
+ powerOnHours?: number;
498
+ health?: ListAllDisksResponse_DiskDetail_Health;
499
+ healthReason?: string;
500
+ btrfsProfile?: string;
501
+ path?: string;
502
+ status?: ListAllDisksResponse_DiskDetail_Status;
503
+ isDataDisk?: boolean;
504
+ isEmpty?: boolean;
505
+ } & { [K_1 in Exclude<keyof I_1, keyof ListAllDisksResponse_DiskDetail>]: never; }>(object: I_1): ListAllDisksResponse_DiskDetail;
506
+ };
507
+ export declare const RemoveDataDiskRequest: {
508
+ encode(message: RemoveDataDiskRequest, writer?: _m0.Writer): _m0.Writer;
509
+ decode(input: _m0.Reader | Uint8Array, length?: number): RemoveDataDiskRequest;
510
+ fromJSON(object: any): RemoveDataDiskRequest;
511
+ toJSON(message: RemoveDataDiskRequest): unknown;
512
+ create<I extends {
513
+ id?: string;
514
+ } & {
515
+ id?: string;
516
+ } & { [K in Exclude<keyof I, "id">]: never; }>(base?: I): RemoveDataDiskRequest;
517
+ fromPartial<I_1 extends {
518
+ id?: string;
519
+ } & {
520
+ id?: string;
521
+ } & { [K_1 in Exclude<keyof I_1, "id">]: never; }>(object: I_1): RemoveDataDiskRequest;
522
+ };
523
+ export declare const RemoveDataDiskResponse: {
524
+ encode(_: RemoveDataDiskResponse, writer?: _m0.Writer): _m0.Writer;
525
+ decode(input: _m0.Reader | Uint8Array, length?: number): RemoveDataDiskResponse;
526
+ fromJSON(_: any): RemoveDataDiskResponse;
527
+ toJSON(_: RemoveDataDiskResponse): unknown;
528
+ create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): RemoveDataDiskResponse;
529
+ fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): RemoveDataDiskResponse;
530
+ };
531
+ export declare const AddDataDiskRequest: {
532
+ encode(message: AddDataDiskRequest, writer?: _m0.Writer): _m0.Writer;
533
+ decode(input: _m0.Reader | Uint8Array, length?: number): AddDataDiskRequest;
534
+ fromJSON(object: any): AddDataDiskRequest;
535
+ toJSON(message: AddDataDiskRequest): unknown;
536
+ create<I extends {
537
+ id?: string;
538
+ password?: string | undefined;
539
+ } & {
540
+ id?: string;
541
+ password?: string | undefined;
542
+ } & { [K in Exclude<keyof I, keyof AddDataDiskRequest>]: never; }>(base?: I): AddDataDiskRequest;
543
+ fromPartial<I_1 extends {
544
+ id?: string;
545
+ password?: string | undefined;
546
+ } & {
547
+ id?: string;
548
+ password?: string | undefined;
549
+ } & { [K_1 in Exclude<keyof I_1, keyof AddDataDiskRequest>]: never; }>(object: I_1): AddDataDiskRequest;
550
+ };
551
+ export declare const AddDataDiskResponse: {
552
+ encode(_: AddDataDiskResponse, writer?: _m0.Writer): _m0.Writer;
553
+ decode(input: _m0.Reader | Uint8Array, length?: number): AddDataDiskResponse;
554
+ fromJSON(_: any): AddDataDiskResponse;
555
+ toJSON(_: AddDataDiskResponse): unknown;
556
+ create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): AddDataDiskResponse;
557
+ fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): AddDataDiskResponse;
558
+ };
155
559
  export declare const BoxInfo: {
156
560
  encode(message: BoxInfo, writer?: _m0.Writer): _m0.Writer;
157
561
  decode(input: _m0.Reader | Uint8Array, length?: number): BoxInfo;
@@ -354,6 +758,9 @@ export declare const DiskInfo: {
354
758
  health?: DiskInfo_Health;
355
759
  healthReason?: string;
356
760
  btrfsProfile?: string;
761
+ dataDevice?: boolean;
762
+ formatNeeded?: boolean;
763
+ path?: string;
357
764
  } & {
358
765
  type?: DiskInfo_DiskType;
359
766
  encrypted?: boolean;
@@ -367,6 +774,9 @@ export declare const DiskInfo: {
367
774
  health?: DiskInfo_Health;
368
775
  healthReason?: string;
369
776
  btrfsProfile?: string;
777
+ dataDevice?: boolean;
778
+ formatNeeded?: boolean;
779
+ path?: string;
370
780
  } & { [K in Exclude<keyof I, keyof DiskInfo>]: never; }>(base?: I): DiskInfo;
371
781
  fromPartial<I_1 extends {
372
782
  type?: DiskInfo_DiskType;
@@ -381,6 +791,9 @@ export declare const DiskInfo: {
381
791
  health?: DiskInfo_Health;
382
792
  healthReason?: string;
383
793
  btrfsProfile?: string;
794
+ dataDevice?: boolean;
795
+ formatNeeded?: boolean;
796
+ path?: string;
384
797
  } & {
385
798
  type?: DiskInfo_DiskType;
386
799
  encrypted?: boolean;
@@ -394,6 +807,9 @@ export declare const DiskInfo: {
394
807
  health?: DiskInfo_Health;
395
808
  healthReason?: string;
396
809
  btrfsProfile?: string;
810
+ dataDevice?: boolean;
811
+ formatNeeded?: boolean;
812
+ path?: string;
397
813
  } & { [K_1 in Exclude<keyof I_1, keyof DiskInfo>]: never; }>(object: I_1): DiskInfo;
398
814
  };
399
815
  export declare const DiskGroup: {
@@ -416,6 +832,9 @@ export declare const DiskGroup: {
416
832
  health?: DiskInfo_Health;
417
833
  healthReason?: string;
418
834
  btrfsProfile?: string;
835
+ dataDevice?: boolean;
836
+ formatNeeded?: boolean;
837
+ path?: string;
419
838
  }[];
420
839
  encrypted?: boolean;
421
840
  bcached?: boolean;
@@ -439,6 +858,9 @@ export declare const DiskGroup: {
439
858
  health?: DiskInfo_Health;
440
859
  healthReason?: string;
441
860
  btrfsProfile?: string;
861
+ dataDevice?: boolean;
862
+ formatNeeded?: boolean;
863
+ path?: string;
442
864
  }[] & ({
443
865
  type?: DiskInfo_DiskType;
444
866
  encrypted?: boolean;
@@ -452,6 +874,9 @@ export declare const DiskGroup: {
452
874
  health?: DiskInfo_Health;
453
875
  healthReason?: string;
454
876
  btrfsProfile?: string;
877
+ dataDevice?: boolean;
878
+ formatNeeded?: boolean;
879
+ path?: string;
455
880
  } & {
456
881
  type?: DiskInfo_DiskType;
457
882
  encrypted?: boolean;
@@ -465,6 +890,9 @@ export declare const DiskGroup: {
465
890
  health?: DiskInfo_Health;
466
891
  healthReason?: string;
467
892
  btrfsProfile?: string;
893
+ dataDevice?: boolean;
894
+ formatNeeded?: boolean;
895
+ path?: string;
468
896
  } & { [K in Exclude<keyof I["disks"][number], keyof DiskInfo>]: never; })[] & { [K_1 in Exclude<keyof I["disks"], keyof {
469
897
  type?: DiskInfo_DiskType;
470
898
  encrypted?: boolean;
@@ -478,6 +906,9 @@ export declare const DiskGroup: {
478
906
  health?: DiskInfo_Health;
479
907
  healthReason?: string;
480
908
  btrfsProfile?: string;
909
+ dataDevice?: boolean;
910
+ formatNeeded?: boolean;
911
+ path?: string;
481
912
  }[]>]: never; };
482
913
  encrypted?: boolean;
483
914
  bcached?: boolean;
@@ -502,6 +933,9 @@ export declare const DiskGroup: {
502
933
  health?: DiskInfo_Health;
503
934
  healthReason?: string;
504
935
  btrfsProfile?: string;
936
+ dataDevice?: boolean;
937
+ formatNeeded?: boolean;
938
+ path?: string;
505
939
  }[];
506
940
  encrypted?: boolean;
507
941
  bcached?: boolean;
@@ -525,6 +959,9 @@ export declare const DiskGroup: {
525
959
  health?: DiskInfo_Health;
526
960
  healthReason?: string;
527
961
  btrfsProfile?: string;
962
+ dataDevice?: boolean;
963
+ formatNeeded?: boolean;
964
+ path?: string;
528
965
  }[] & ({
529
966
  type?: DiskInfo_DiskType;
530
967
  encrypted?: boolean;
@@ -538,6 +975,9 @@ export declare const DiskGroup: {
538
975
  health?: DiskInfo_Health;
539
976
  healthReason?: string;
540
977
  btrfsProfile?: string;
978
+ dataDevice?: boolean;
979
+ formatNeeded?: boolean;
980
+ path?: string;
541
981
  } & {
542
982
  type?: DiskInfo_DiskType;
543
983
  encrypted?: boolean;
@@ -551,6 +991,9 @@ export declare const DiskGroup: {
551
991
  health?: DiskInfo_Health;
552
992
  healthReason?: string;
553
993
  btrfsProfile?: string;
994
+ dataDevice?: boolean;
995
+ formatNeeded?: boolean;
996
+ path?: string;
554
997
  } & { [K_3 in Exclude<keyof I_1["disks"][number], keyof DiskInfo>]: never; })[] & { [K_4 in Exclude<keyof I_1["disks"], keyof {
555
998
  type?: DiskInfo_DiskType;
556
999
  encrypted?: boolean;
@@ -564,6 +1007,9 @@ export declare const DiskGroup: {
564
1007
  health?: DiskInfo_Health;
565
1008
  healthReason?: string;
566
1009
  btrfsProfile?: string;
1010
+ dataDevice?: boolean;
1011
+ formatNeeded?: boolean;
1012
+ path?: string;
567
1013
  }[]>]: never; };
568
1014
  encrypted?: boolean;
569
1015
  bcached?: boolean;
@@ -593,6 +1039,9 @@ export declare const DisksInfo: {
593
1039
  health?: DiskInfo_Health;
594
1040
  healthReason?: string;
595
1041
  btrfsProfile?: string;
1042
+ dataDevice?: boolean;
1043
+ formatNeeded?: boolean;
1044
+ path?: string;
596
1045
  }[];
597
1046
  groups?: {
598
1047
  type?: DiskGroup_GroupType;
@@ -609,6 +1058,9 @@ export declare const DisksInfo: {
609
1058
  health?: DiskInfo_Health;
610
1059
  healthReason?: string;
611
1060
  btrfsProfile?: string;
1061
+ dataDevice?: boolean;
1062
+ formatNeeded?: boolean;
1063
+ path?: string;
612
1064
  }[];
613
1065
  encrypted?: boolean;
614
1066
  bcached?: boolean;
@@ -632,6 +1084,9 @@ export declare const DisksInfo: {
632
1084
  health?: DiskInfo_Health;
633
1085
  healthReason?: string;
634
1086
  btrfsProfile?: string;
1087
+ dataDevice?: boolean;
1088
+ formatNeeded?: boolean;
1089
+ path?: string;
635
1090
  }[] & ({
636
1091
  type?: DiskInfo_DiskType;
637
1092
  encrypted?: boolean;
@@ -645,6 +1100,9 @@ export declare const DisksInfo: {
645
1100
  health?: DiskInfo_Health;
646
1101
  healthReason?: string;
647
1102
  btrfsProfile?: string;
1103
+ dataDevice?: boolean;
1104
+ formatNeeded?: boolean;
1105
+ path?: string;
648
1106
  } & {
649
1107
  type?: DiskInfo_DiskType;
650
1108
  encrypted?: boolean;
@@ -658,6 +1116,9 @@ export declare const DisksInfo: {
658
1116
  health?: DiskInfo_Health;
659
1117
  healthReason?: string;
660
1118
  btrfsProfile?: string;
1119
+ dataDevice?: boolean;
1120
+ formatNeeded?: boolean;
1121
+ path?: string;
661
1122
  } & { [K in Exclude<keyof I["disks"][number], keyof DiskInfo>]: never; })[] & { [K_1 in Exclude<keyof I["disks"], keyof {
662
1123
  type?: DiskInfo_DiskType;
663
1124
  encrypted?: boolean;
@@ -671,6 +1132,9 @@ export declare const DisksInfo: {
671
1132
  health?: DiskInfo_Health;
672
1133
  healthReason?: string;
673
1134
  btrfsProfile?: string;
1135
+ dataDevice?: boolean;
1136
+ formatNeeded?: boolean;
1137
+ path?: string;
674
1138
  }[]>]: never; };
675
1139
  groups?: {
676
1140
  type?: DiskGroup_GroupType;
@@ -687,6 +1151,9 @@ export declare const DisksInfo: {
687
1151
  health?: DiskInfo_Health;
688
1152
  healthReason?: string;
689
1153
  btrfsProfile?: string;
1154
+ dataDevice?: boolean;
1155
+ formatNeeded?: boolean;
1156
+ path?: string;
690
1157
  }[];
691
1158
  encrypted?: boolean;
692
1159
  bcached?: boolean;
@@ -710,6 +1177,9 @@ export declare const DisksInfo: {
710
1177
  health?: DiskInfo_Health;
711
1178
  healthReason?: string;
712
1179
  btrfsProfile?: string;
1180
+ dataDevice?: boolean;
1181
+ formatNeeded?: boolean;
1182
+ path?: string;
713
1183
  }[];
714
1184
  encrypted?: boolean;
715
1185
  bcached?: boolean;
@@ -733,6 +1203,9 @@ export declare const DisksInfo: {
733
1203
  health?: DiskInfo_Health;
734
1204
  healthReason?: string;
735
1205
  btrfsProfile?: string;
1206
+ dataDevice?: boolean;
1207
+ formatNeeded?: boolean;
1208
+ path?: string;
736
1209
  }[] & ({
737
1210
  type?: DiskInfo_DiskType;
738
1211
  encrypted?: boolean;
@@ -746,6 +1219,9 @@ export declare const DisksInfo: {
746
1219
  health?: DiskInfo_Health;
747
1220
  healthReason?: string;
748
1221
  btrfsProfile?: string;
1222
+ dataDevice?: boolean;
1223
+ formatNeeded?: boolean;
1224
+ path?: string;
749
1225
  } & {
750
1226
  type?: DiskInfo_DiskType;
751
1227
  encrypted?: boolean;
@@ -759,6 +1235,9 @@ export declare const DisksInfo: {
759
1235
  health?: DiskInfo_Health;
760
1236
  healthReason?: string;
761
1237
  btrfsProfile?: string;
1238
+ dataDevice?: boolean;
1239
+ formatNeeded?: boolean;
1240
+ path?: string;
762
1241
  } & { [K_2 in Exclude<keyof I["groups"][number]["disks"][number], keyof DiskInfo>]: never; })[] & { [K_3 in Exclude<keyof I["groups"][number]["disks"], keyof {
763
1242
  type?: DiskInfo_DiskType;
764
1243
  encrypted?: boolean;
@@ -772,6 +1251,9 @@ export declare const DisksInfo: {
772
1251
  health?: DiskInfo_Health;
773
1252
  healthReason?: string;
774
1253
  btrfsProfile?: string;
1254
+ dataDevice?: boolean;
1255
+ formatNeeded?: boolean;
1256
+ path?: string;
775
1257
  }[]>]: never; };
776
1258
  encrypted?: boolean;
777
1259
  bcached?: boolean;
@@ -795,6 +1277,9 @@ export declare const DisksInfo: {
795
1277
  health?: DiskInfo_Health;
796
1278
  healthReason?: string;
797
1279
  btrfsProfile?: string;
1280
+ dataDevice?: boolean;
1281
+ formatNeeded?: boolean;
1282
+ path?: string;
798
1283
  }[];
799
1284
  encrypted?: boolean;
800
1285
  bcached?: boolean;
@@ -819,6 +1304,9 @@ export declare const DisksInfo: {
819
1304
  health?: DiskInfo_Health;
820
1305
  healthReason?: string;
821
1306
  btrfsProfile?: string;
1307
+ dataDevice?: boolean;
1308
+ formatNeeded?: boolean;
1309
+ path?: string;
822
1310
  }[];
823
1311
  groups?: {
824
1312
  type?: DiskGroup_GroupType;
@@ -835,6 +1323,9 @@ export declare const DisksInfo: {
835
1323
  health?: DiskInfo_Health;
836
1324
  healthReason?: string;
837
1325
  btrfsProfile?: string;
1326
+ dataDevice?: boolean;
1327
+ formatNeeded?: boolean;
1328
+ path?: string;
838
1329
  }[];
839
1330
  encrypted?: boolean;
840
1331
  bcached?: boolean;
@@ -858,6 +1349,9 @@ export declare const DisksInfo: {
858
1349
  health?: DiskInfo_Health;
859
1350
  healthReason?: string;
860
1351
  btrfsProfile?: string;
1352
+ dataDevice?: boolean;
1353
+ formatNeeded?: boolean;
1354
+ path?: string;
861
1355
  }[] & ({
862
1356
  type?: DiskInfo_DiskType;
863
1357
  encrypted?: boolean;
@@ -871,6 +1365,9 @@ export declare const DisksInfo: {
871
1365
  health?: DiskInfo_Health;
872
1366
  healthReason?: string;
873
1367
  btrfsProfile?: string;
1368
+ dataDevice?: boolean;
1369
+ formatNeeded?: boolean;
1370
+ path?: string;
874
1371
  } & {
875
1372
  type?: DiskInfo_DiskType;
876
1373
  encrypted?: boolean;
@@ -884,6 +1381,9 @@ export declare const DisksInfo: {
884
1381
  health?: DiskInfo_Health;
885
1382
  healthReason?: string;
886
1383
  btrfsProfile?: string;
1384
+ dataDevice?: boolean;
1385
+ formatNeeded?: boolean;
1386
+ path?: string;
887
1387
  } & { [K_7 in Exclude<keyof I_1["disks"][number], keyof DiskInfo>]: never; })[] & { [K_8 in Exclude<keyof I_1["disks"], keyof {
888
1388
  type?: DiskInfo_DiskType;
889
1389
  encrypted?: boolean;
@@ -897,6 +1397,9 @@ export declare const DisksInfo: {
897
1397
  health?: DiskInfo_Health;
898
1398
  healthReason?: string;
899
1399
  btrfsProfile?: string;
1400
+ dataDevice?: boolean;
1401
+ formatNeeded?: boolean;
1402
+ path?: string;
900
1403
  }[]>]: never; };
901
1404
  groups?: {
902
1405
  type?: DiskGroup_GroupType;
@@ -913,6 +1416,9 @@ export declare const DisksInfo: {
913
1416
  health?: DiskInfo_Health;
914
1417
  healthReason?: string;
915
1418
  btrfsProfile?: string;
1419
+ dataDevice?: boolean;
1420
+ formatNeeded?: boolean;
1421
+ path?: string;
916
1422
  }[];
917
1423
  encrypted?: boolean;
918
1424
  bcached?: boolean;
@@ -936,6 +1442,9 @@ export declare const DisksInfo: {
936
1442
  health?: DiskInfo_Health;
937
1443
  healthReason?: string;
938
1444
  btrfsProfile?: string;
1445
+ dataDevice?: boolean;
1446
+ formatNeeded?: boolean;
1447
+ path?: string;
939
1448
  }[];
940
1449
  encrypted?: boolean;
941
1450
  bcached?: boolean;
@@ -959,6 +1468,9 @@ export declare const DisksInfo: {
959
1468
  health?: DiskInfo_Health;
960
1469
  healthReason?: string;
961
1470
  btrfsProfile?: string;
1471
+ dataDevice?: boolean;
1472
+ formatNeeded?: boolean;
1473
+ path?: string;
962
1474
  }[] & ({
963
1475
  type?: DiskInfo_DiskType;
964
1476
  encrypted?: boolean;
@@ -972,6 +1484,9 @@ export declare const DisksInfo: {
972
1484
  health?: DiskInfo_Health;
973
1485
  healthReason?: string;
974
1486
  btrfsProfile?: string;
1487
+ dataDevice?: boolean;
1488
+ formatNeeded?: boolean;
1489
+ path?: string;
975
1490
  } & {
976
1491
  type?: DiskInfo_DiskType;
977
1492
  encrypted?: boolean;
@@ -985,6 +1500,9 @@ export declare const DisksInfo: {
985
1500
  health?: DiskInfo_Health;
986
1501
  healthReason?: string;
987
1502
  btrfsProfile?: string;
1503
+ dataDevice?: boolean;
1504
+ formatNeeded?: boolean;
1505
+ path?: string;
988
1506
  } & { [K_9 in Exclude<keyof I_1["groups"][number]["disks"][number], keyof DiskInfo>]: never; })[] & { [K_10 in Exclude<keyof I_1["groups"][number]["disks"], keyof {
989
1507
  type?: DiskInfo_DiskType;
990
1508
  encrypted?: boolean;
@@ -998,6 +1516,9 @@ export declare const DisksInfo: {
998
1516
  health?: DiskInfo_Health;
999
1517
  healthReason?: string;
1000
1518
  btrfsProfile?: string;
1519
+ dataDevice?: boolean;
1520
+ formatNeeded?: boolean;
1521
+ path?: string;
1001
1522
  }[]>]: never; };
1002
1523
  encrypted?: boolean;
1003
1524
  bcached?: boolean;
@@ -1021,6 +1542,9 @@ export declare const DisksInfo: {
1021
1542
  health?: DiskInfo_Health;
1022
1543
  healthReason?: string;
1023
1544
  btrfsProfile?: string;
1545
+ dataDevice?: boolean;
1546
+ formatNeeded?: boolean;
1547
+ path?: string;
1024
1548
  }[];
1025
1549
  encrypted?: boolean;
1026
1550
  bcached?: boolean;
@@ -1104,6 +1628,24 @@ export declare const BoxServiceSetBootOptionDesc: UnaryMethodDefinitionish;
1104
1628
  export declare const BoxServiceShutdownDesc: UnaryMethodDefinitionish;
1105
1629
  export declare const BoxServiceQueryDisksInfoDesc: UnaryMethodDefinitionish;
1106
1630
  export declare const BoxServiceChangeDataDisksPasswordDesc: UnaryMethodDefinitionish;
1631
+ export interface DataDiskService {
1632
+ AddDataDisk(request: DeepPartial<AddDataDiskRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<AddDataDiskResponse>;
1633
+ RemoveDataDisk(request: DeepPartial<RemoveDataDiskRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<RemoveDataDiskResponse>;
1634
+ ListAllDisks(request: DeepPartial<ListAllDisksRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<ListAllDisksResponse>;
1635
+ }
1636
+ export declare class DataDiskServiceClientImpl implements DataDiskService {
1637
+ private readonly rpc;
1638
+ constructor(rpc: Rpc);
1639
+ AddDataDisk(request: DeepPartial<AddDataDiskRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<AddDataDiskResponse>;
1640
+ RemoveDataDisk(request: DeepPartial<RemoveDataDiskRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<RemoveDataDiskResponse>;
1641
+ ListAllDisks(request: DeepPartial<ListAllDisksRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<ListAllDisksResponse>;
1642
+ }
1643
+ export declare const DataDiskServiceDesc: {
1644
+ serviceName: string;
1645
+ };
1646
+ export declare const DataDiskServiceAddDataDiskDesc: UnaryMethodDefinitionish;
1647
+ export declare const DataDiskServiceRemoveDataDiskDesc: UnaryMethodDefinitionish;
1648
+ export declare const DataDiskServiceListAllDisksDesc: UnaryMethodDefinitionish;
1107
1649
  interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {
1108
1650
  requestStream: any;
1109
1651
  responseStream: any;