@lazycatcloud/sdk 0.1.190 → 0.1.191

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 (166) hide show
  1. package/dist/common/apk_shell.d.ts +8 -25
  2. package/dist/common/apk_shell.d.ts.map +1 -1
  3. package/dist/common/apk_shell.js +24 -48
  4. package/dist/common/apk_shell.js.map +1 -1
  5. package/dist/common/appshell.d.ts +85 -83
  6. package/dist/common/appshell.d.ts.map +1 -1
  7. package/dist/common/appshell.js +228 -241
  8. package/dist/common/appshell.js.map +1 -1
  9. package/dist/common/box.d.ts +12 -54
  10. package/dist/common/box.d.ts.map +1 -1
  11. package/dist/common/box.js +36 -85
  12. package/dist/common/box.js.map +1 -1
  13. package/dist/common/browseronly.d.ts +10 -38
  14. package/dist/common/browseronly.d.ts.map +1 -1
  15. package/dist/common/browseronly.js +32 -94
  16. package/dist/common/browseronly.js.map +1 -1
  17. package/dist/common/end_device.d.ts +14 -101
  18. package/dist/common/end_device.d.ts.map +1 -1
  19. package/dist/common/end_device.js +42 -123
  20. package/dist/common/end_device.js.map +1 -1
  21. package/dist/common/file_handler.d.ts +14 -70
  22. package/dist/common/file_handler.d.ts.map +1 -1
  23. package/dist/common/file_handler.js +36 -103
  24. package/dist/common/file_handler.js.map +1 -1
  25. package/dist/common/filetrans.d.ts +53 -853
  26. package/dist/common/filetrans.d.ts.map +1 -1
  27. package/dist/common/filetrans.js +163 -412
  28. package/dist/common/filetrans.js.map +1 -1
  29. package/dist/common/gateway.d.ts +14 -60
  30. package/dist/common/gateway.d.ts.map +1 -1
  31. package/dist/common/gateway.js +43 -126
  32. package/dist/common/gateway.js.map +1 -1
  33. package/dist/common/media_meta.d.ts +8 -27
  34. package/dist/common/media_meta.d.ts.map +1 -1
  35. package/dist/common/media_meta.js +21 -52
  36. package/dist/common/media_meta.js.map +1 -1
  37. package/dist/common/message.d.ts +16 -106
  38. package/dist/common/message.d.ts.map +1 -1
  39. package/dist/common/message.js +58 -133
  40. package/dist/common/message.js.map +1 -1
  41. package/dist/common/peripheral_device.d.ts +18 -141
  42. package/dist/common/peripheral_device.d.ts.map +1 -1
  43. package/dist/common/peripheral_device.js +56 -140
  44. package/dist/common/peripheral_device.js.map +1 -1
  45. package/dist/common/security_context.d.ts +15 -54
  46. package/dist/common/security_context.d.ts.map +1 -1
  47. package/dist/common/security_context.js +47 -119
  48. package/dist/common/security_context.js.map +1 -1
  49. package/dist/common/users.d.ts +23 -98
  50. package/dist/common/users.d.ts.map +1 -1
  51. package/dist/common/users.js +83 -216
  52. package/dist/common/users.js.map +1 -1
  53. package/dist/dlna/dlna.d.ts +18 -107
  54. package/dist/dlna/dlna.d.ts.map +1 -1
  55. package/dist/dlna/dlna.js +60 -174
  56. package/dist/dlna/dlna.js.map +1 -1
  57. package/dist/google/protobuf/descriptor.d.ts +4640 -55103
  58. package/dist/google/protobuf/descriptor.d.ts.map +1 -1
  59. package/dist/google/protobuf/descriptor.js +257 -738
  60. package/dist/google/protobuf/descriptor.js.map +1 -1
  61. package/dist/google/protobuf/empty.d.ts +1 -2
  62. package/dist/google/protobuf/empty.d.ts.map +1 -1
  63. package/dist/google/protobuf/empty.js +4 -8
  64. package/dist/google/protobuf/empty.js.map +1 -1
  65. package/dist/google/protobuf/timestamp.d.ts +2 -9
  66. package/dist/google/protobuf/timestamp.d.ts.map +1 -1
  67. package/dist/google/protobuf/timestamp.js +8 -18
  68. package/dist/google/protobuf/timestamp.js.map +1 -1
  69. package/dist/grpcweb.d.ts +1 -1
  70. package/dist/grpcweb.d.ts.map +1 -1
  71. package/dist/lanforward/lanforward.d.ts +84 -65
  72. package/dist/lanforward/lanforward.d.ts.map +1 -1
  73. package/dist/lanforward/lanforward.js +217 -197
  74. package/dist/localdevice/clipboard.d.ts +12 -35
  75. package/dist/localdevice/clipboard.d.ts.map +1 -1
  76. package/dist/localdevice/clipboard.js +37 -75
  77. package/dist/localdevice/clipboard.js.map +1 -1
  78. package/dist/localdevice/config.d.ts +11 -42
  79. package/dist/localdevice/config.d.ts.map +1 -1
  80. package/dist/localdevice/config.js +32 -95
  81. package/dist/localdevice/config.js.map +1 -1
  82. package/dist/localdevice/device.d.ts +6 -18
  83. package/dist/localdevice/device.d.ts.map +1 -1
  84. package/dist/localdevice/device.js +12 -44
  85. package/dist/localdevice/device.js.map +1 -1
  86. package/dist/localdevice/dialog.d.ts +18 -68
  87. package/dist/localdevice/dialog.d.ts.map +1 -1
  88. package/dist/localdevice/dialog.js +52 -141
  89. package/dist/localdevice/dialog.js.map +1 -1
  90. package/dist/localdevice/local-launch.d.ts +18 -70
  91. package/dist/localdevice/local-launch.d.ts.map +1 -1
  92. package/dist/localdevice/local-launch.js +67 -170
  93. package/dist/localdevice/local-launch.js.map +1 -1
  94. package/dist/localdevice/network.d.ts +6 -14
  95. package/dist/localdevice/network.d.ts.map +1 -1
  96. package/dist/localdevice/network.js +10 -36
  97. package/dist/localdevice/network.js.map +1 -1
  98. package/dist/localdevice/permission.d.ts +16 -61
  99. package/dist/localdevice/permission.d.ts.map +1 -1
  100. package/dist/localdevice/permission.js +51 -109
  101. package/dist/localdevice/permission.js.map +1 -1
  102. package/dist/localdevice/photo.d.ts +28 -192
  103. package/dist/localdevice/photo.d.ts.map +1 -1
  104. package/dist/localdevice/photo.js +111 -307
  105. package/dist/localdevice/photo.js.map +1 -1
  106. package/dist/package.json +1 -1
  107. package/dist/ssdp/ssdp.d.ts +92 -73
  108. package/dist/ssdp/ssdp.d.ts.map +1 -1
  109. package/dist/ssdp/ssdp.js +246 -226
  110. package/dist/sys/OS_daemon.d.ts +12 -35
  111. package/dist/sys/OS_daemon.d.ts.map +1 -1
  112. package/dist/sys/OS_daemon.js +31 -65
  113. package/dist/sys/OS_daemon.js.map +1 -1
  114. package/dist/sys/OS_snapshot.d.ts +32 -180
  115. package/dist/sys/OS_snapshot.d.ts.map +1 -1
  116. package/dist/sys/OS_snapshot.js +126 -290
  117. package/dist/sys/OS_snapshot.js.map +1 -1
  118. package/dist/sys/OS_upgrader.d.ts +14 -65
  119. package/dist/sys/OS_upgrader.d.ts.map +1 -1
  120. package/dist/sys/OS_upgrader.js +59 -129
  121. package/dist/sys/OS_upgrader.js.map +1 -1
  122. package/dist/sys/box-status.d.ts +46 -216
  123. package/dist/sys/box-status.d.ts.map +1 -1
  124. package/dist/sys/box-status.js +140 -151
  125. package/dist/sys/box-status.js.map +1 -1
  126. package/dist/sys/btrfs.d.ts +16 -59
  127. package/dist/sys/btrfs.d.ts.map +1 -1
  128. package/dist/sys/btrfs.js +48 -112
  129. package/dist/sys/btrfs.js.map +1 -1
  130. package/dist/sys/devopt.d.ts +6 -20
  131. package/dist/sys/devopt.d.ts.map +1 -1
  132. package/dist/sys/devopt.js +15 -51
  133. package/dist/sys/devopt.js.map +1 -1
  134. package/dist/sys/dirmon.d.ts +8 -23
  135. package/dist/sys/dirmon.d.ts.map +1 -1
  136. package/dist/sys/dirmon.js +23 -44
  137. package/dist/sys/dirmon.js.map +1 -1
  138. package/dist/sys/event.d.ts +18 -90
  139. package/dist/sys/event.d.ts.map +1 -1
  140. package/dist/sys/event.js +55 -154
  141. package/dist/sys/event.js.map +1 -1
  142. package/dist/sys/hc-core/hc-core.d.ts +32 -244
  143. package/dist/sys/hc-core/hc-core.d.ts.map +1 -1
  144. package/dist/sys/hc-core/hc-core.js +118 -258
  145. package/dist/sys/hc-core/hc-core.js.map +1 -1
  146. package/dist/sys/ingress.d.ts +24 -81
  147. package/dist/sys/ingress.d.ts.map +1 -1
  148. package/dist/sys/ingress.js +73 -160
  149. package/dist/sys/ingress.js.map +1 -1
  150. package/dist/sys/network_manager.d.ts +16 -137
  151. package/dist/sys/network_manager.d.ts.map +1 -1
  152. package/dist/sys/network_manager.js +55 -156
  153. package/dist/sys/network_manager.js.map +1 -1
  154. package/dist/sys/package_manager.d.ts +42 -314
  155. package/dist/sys/package_manager.d.ts.map +1 -1
  156. package/dist/sys/package_manager.js +157 -404
  157. package/dist/sys/package_manager.js.map +1 -1
  158. package/dist/sys/portal-server/portal-server.d.ts +71 -373
  159. package/dist/sys/portal-server/portal-server.d.ts.map +1 -1
  160. package/dist/sys/portal-server/portal-server.js +280 -685
  161. package/dist/sys/portal-server/portal-server.js.map +1 -1
  162. package/dist/sys/snapd.d.ts +18 -105
  163. package/dist/sys/snapd.d.ts.map +1 -1
  164. package/dist/sys/snapd.js +61 -157
  165. package/dist/sys/snapd.js.map +1 -1
  166. package/package.json +1 -1
@@ -323,136 +323,86 @@ export declare const RemoteSocksRequest: {
323
323
  decode(input: _m0.Reader | Uint8Array, length?: number): RemoteSocksRequest;
324
324
  fromJSON(object: any): RemoteSocksRequest;
325
325
  toJSON(message: RemoteSocksRequest): unknown;
326
- create<I extends {
326
+ fromPartial<I extends {
327
327
  locationType?: RemoteSocksRequest_LocationType;
328
328
  target?: string;
329
329
  } & {
330
330
  locationType?: RemoteSocksRequest_LocationType;
331
331
  target?: string;
332
- } & { [K in Exclude<keyof I, keyof RemoteSocksRequest>]: never; }>(base?: I): RemoteSocksRequest;
333
- fromPartial<I_1 extends {
334
- locationType?: RemoteSocksRequest_LocationType;
335
- target?: string;
336
- } & {
337
- locationType?: RemoteSocksRequest_LocationType;
338
- target?: string;
339
- } & { [K_1 in Exclude<keyof I_1, keyof RemoteSocksRequest>]: never; }>(object: I_1): RemoteSocksRequest;
332
+ } & { [K in Exclude<keyof I, keyof RemoteSocksRequest>]: never; }>(object: I): RemoteSocksRequest;
340
333
  };
341
334
  export declare const RemoteSocksReply: {
342
335
  encode(message: RemoteSocksReply, writer?: _m0.Writer): _m0.Writer;
343
336
  decode(input: _m0.Reader | Uint8Array, length?: number): RemoteSocksReply;
344
337
  fromJSON(object: any): RemoteSocksReply;
345
338
  toJSON(message: RemoteSocksReply): unknown;
346
- create<I extends {
347
- serverUrl?: string;
348
- } & {
349
- serverUrl?: string;
350
- } & { [K in Exclude<keyof I, "serverUrl">]: never; }>(base?: I): RemoteSocksReply;
351
- fromPartial<I_1 extends {
339
+ fromPartial<I extends {
352
340
  serverUrl?: string;
353
341
  } & {
354
342
  serverUrl?: string;
355
- } & { [K_1 in Exclude<keyof I_1, "serverUrl">]: never; }>(object: I_1): RemoteSocksReply;
343
+ } & { [K in Exclude<keyof I, "serverUrl">]: never; }>(object: I): RemoteSocksReply;
356
344
  };
357
345
  export declare const ListUsersReply: {
358
346
  encode(message: ListUsersReply, writer?: _m0.Writer): _m0.Writer;
359
347
  decode(input: _m0.Reader | Uint8Array, length?: number): ListUsersReply;
360
348
  fromJSON(object: any): ListUsersReply;
361
349
  toJSON(message: ListUsersReply): unknown;
362
- create<I extends {
350
+ fromPartial<I extends {
363
351
  uids?: string[];
364
352
  } & {
365
353
  uids?: string[] & string[] & { [K in Exclude<keyof I["uids"], keyof string[]>]: never; };
366
- } & { [K_1 in Exclude<keyof I, "uids">]: never; }>(base?: I): ListUsersReply;
367
- fromPartial<I_1 extends {
368
- uids?: string[];
369
- } & {
370
- uids?: string[] & string[] & { [K_2 in Exclude<keyof I_1["uids"], keyof string[]>]: never; };
371
- } & { [K_3 in Exclude<keyof I_1, "uids">]: never; }>(object: I_1): ListUsersReply;
354
+ } & { [K_1 in Exclude<keyof I, "uids">]: never; }>(object: I): ListUsersReply;
372
355
  };
373
356
  export declare const AllocVEIPRequest: {
374
357
  encode(message: AllocVEIPRequest, writer?: _m0.Writer): _m0.Writer;
375
358
  decode(input: _m0.Reader | Uint8Array, length?: number): AllocVEIPRequest;
376
359
  fromJSON(object: any): AllocVEIPRequest;
377
360
  toJSON(message: AllocVEIPRequest): unknown;
378
- create<I extends {
379
- usage?: string;
380
- subdomain?: string;
381
- } & {
382
- usage?: string;
383
- subdomain?: string;
384
- } & { [K in Exclude<keyof I, keyof AllocVEIPRequest>]: never; }>(base?: I): AllocVEIPRequest;
385
- fromPartial<I_1 extends {
361
+ fromPartial<I extends {
386
362
  usage?: string;
387
363
  subdomain?: string;
388
364
  } & {
389
365
  usage?: string;
390
366
  subdomain?: string;
391
- } & { [K_1 in Exclude<keyof I_1, keyof AllocVEIPRequest>]: never; }>(object: I_1): AllocVEIPRequest;
367
+ } & { [K in Exclude<keyof I, keyof AllocVEIPRequest>]: never; }>(object: I): AllocVEIPRequest;
392
368
  };
393
369
  export declare const AllocVEIPReply: {
394
370
  encode(message: AllocVEIPReply, writer?: _m0.Writer): _m0.Writer;
395
371
  decode(input: _m0.Reader | Uint8Array, length?: number): AllocVEIPReply;
396
372
  fromJSON(object: any): AllocVEIPReply;
397
373
  toJSON(message: AllocVEIPReply): unknown;
398
- create<I extends {
374
+ fromPartial<I extends {
399
375
  ip?: string;
400
376
  } & {
401
377
  ip?: string;
402
- } & { [K in Exclude<keyof I, "ip">]: never; }>(base?: I): AllocVEIPReply;
403
- fromPartial<I_1 extends {
404
- ip?: string;
405
- } & {
406
- ip?: string;
407
- } & { [K_1 in Exclude<keyof I_1, "ip">]: never; }>(object: I_1): AllocVEIPReply;
378
+ } & { [K in Exclude<keyof I, "ip">]: never; }>(object: I): AllocVEIPReply;
408
379
  };
409
380
  export declare const FreeVEIPRequest: {
410
381
  encode(message: FreeVEIPRequest, writer?: _m0.Writer): _m0.Writer;
411
382
  decode(input: _m0.Reader | Uint8Array, length?: number): FreeVEIPRequest;
412
383
  fromJSON(object: any): FreeVEIPRequest;
413
384
  toJSON(message: FreeVEIPRequest): unknown;
414
- create<I extends {
415
- ip?: string;
416
- waitSecond?: number;
417
- } & {
418
- ip?: string;
419
- waitSecond?: number;
420
- } & { [K in Exclude<keyof I, keyof FreeVEIPRequest>]: never; }>(base?: I): FreeVEIPRequest;
421
- fromPartial<I_1 extends {
385
+ fromPartial<I extends {
422
386
  ip?: string;
423
387
  waitSecond?: number;
424
388
  } & {
425
389
  ip?: string;
426
390
  waitSecond?: number;
427
- } & { [K_1 in Exclude<keyof I_1, keyof FreeVEIPRequest>]: never; }>(object: I_1): FreeVEIPRequest;
391
+ } & { [K in Exclude<keyof I, keyof FreeVEIPRequest>]: never; }>(object: I): FreeVEIPRequest;
428
392
  };
429
393
  export declare const FreeVEIPReply: {
430
394
  encode(_: FreeVEIPReply, writer?: _m0.Writer): _m0.Writer;
431
395
  decode(input: _m0.Reader | Uint8Array, length?: number): FreeVEIPReply;
432
396
  fromJSON(_: any): FreeVEIPReply;
433
397
  toJSON(_: FreeVEIPReply): unknown;
434
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): FreeVEIPReply;
435
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): FreeVEIPReply;
398
+ fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): FreeVEIPReply;
436
399
  };
437
400
  export declare const AuthToken: {
438
401
  encode(message: AuthToken, writer?: _m0.Writer): _m0.Writer;
439
402
  decode(input: _m0.Reader | Uint8Array, length?: number): AuthToken;
440
403
  fromJSON(object: any): AuthToken;
441
404
  toJSON(message: AuthToken): unknown;
442
- create<I extends {
443
- token?: string;
444
- accessIp?: string;
445
- tokenType?: AuthToken_TokenType;
446
- autologinTokenPostUrl?: string;
447
- autologinRedirectUrl?: string;
448
- } & {
449
- token?: string;
450
- accessIp?: string;
451
- tokenType?: AuthToken_TokenType;
452
- autologinTokenPostUrl?: string;
453
- autologinRedirectUrl?: string;
454
- } & { [K in Exclude<keyof I, keyof AuthToken>]: never; }>(base?: I): AuthToken;
455
- fromPartial<I_1 extends {
405
+ fromPartial<I extends {
456
406
  token?: string;
457
407
  accessIp?: string;
458
408
  tokenType?: AuthToken_TokenType;
@@ -464,14 +414,14 @@ export declare const AuthToken: {
464
414
  tokenType?: AuthToken_TokenType;
465
415
  autologinTokenPostUrl?: string;
466
416
  autologinRedirectUrl?: string;
467
- } & { [K_1 in Exclude<keyof I_1, keyof AuthToken>]: never; }>(object: I_1): AuthToken;
417
+ } & { [K in Exclude<keyof I, keyof AuthToken>]: never; }>(object: I): AuthToken;
468
418
  };
469
419
  export declare const LoginInfo: {
470
420
  encode(message: LoginInfo, writer?: _m0.Writer): _m0.Writer;
471
421
  decode(input: _m0.Reader | Uint8Array, length?: number): LoginInfo;
472
422
  fromJSON(object: any): LoginInfo;
473
423
  toJSON(message: LoginInfo): unknown;
474
- create<I extends {
424
+ fromPartial<I extends {
475
425
  uid?: string;
476
426
  deviceId?: string;
477
427
  when?: Date | undefined;
@@ -483,60 +433,25 @@ export declare const LoginInfo: {
483
433
  when?: Date | undefined;
484
434
  autologinTokenRequestContent?: string;
485
435
  deviceVersion?: string;
486
- } & { [K in Exclude<keyof I, keyof LoginInfo>]: never; }>(base?: I): LoginInfo;
487
- fromPartial<I_1 extends {
488
- uid?: string;
489
- deviceId?: string;
490
- when?: Date | undefined;
491
- autologinTokenRequestContent?: string;
492
- deviceVersion?: string;
493
- } & {
494
- uid?: string;
495
- deviceId?: string;
496
- when?: Date | undefined;
497
- autologinTokenRequestContent?: string;
498
- deviceVersion?: string;
499
- } & { [K_1 in Exclude<keyof I_1, keyof LoginInfo>]: never; }>(object: I_1): LoginInfo;
436
+ } & { [K in Exclude<keyof I, keyof LoginInfo>]: never; }>(object: I): LoginInfo;
500
437
  };
501
438
  export declare const DeviceID: {
502
439
  encode(message: DeviceID, writer?: _m0.Writer): _m0.Writer;
503
440
  decode(input: _m0.Reader | Uint8Array, length?: number): DeviceID;
504
441
  fromJSON(object: any): DeviceID;
505
442
  toJSON(message: DeviceID): unknown;
506
- create<I extends {
507
- id?: string;
508
- } & {
509
- id?: string;
510
- } & { [K in Exclude<keyof I, "id">]: never; }>(base?: I): DeviceID;
511
- fromPartial<I_1 extends {
443
+ fromPartial<I extends {
512
444
  id?: string;
513
445
  } & {
514
446
  id?: string;
515
- } & { [K_1 in Exclude<keyof I_1, "id">]: never; }>(object: I_1): DeviceID;
447
+ } & { [K in Exclude<keyof I, "id">]: never; }>(object: I): DeviceID;
516
448
  };
517
449
  export declare const BoxInfo: {
518
450
  encode(message: BoxInfo, writer?: _m0.Writer): _m0.Writer;
519
451
  decode(input: _m0.Reader | Uint8Array, length?: number): BoxInfo;
520
452
  fromJSON(object: any): BoxInfo;
521
453
  toJSON(message: BoxInfo): unknown;
522
- create<I extends {
523
- originServer?: string;
524
- virtualIp?: string;
525
- boxId?: string;
526
- boxName?: string;
527
- boxDomain?: string;
528
- certReady?: boolean;
529
- boxCert?: string;
530
- } & {
531
- originServer?: string;
532
- virtualIp?: string;
533
- boxId?: string;
534
- boxName?: string;
535
- boxDomain?: string;
536
- certReady?: boolean;
537
- boxCert?: string;
538
- } & { [K in Exclude<keyof I, keyof BoxInfo>]: never; }>(base?: I): BoxInfo;
539
- fromPartial<I_1 extends {
454
+ fromPartial<I extends {
540
455
  originServer?: string;
541
456
  virtualIp?: string;
542
457
  boxId?: string;
@@ -552,39 +467,25 @@ export declare const BoxInfo: {
552
467
  boxDomain?: string;
553
468
  certReady?: boolean;
554
469
  boxCert?: string;
555
- } & { [K_1 in Exclude<keyof I_1, keyof BoxInfo>]: never; }>(object: I_1): BoxInfo;
470
+ } & { [K in Exclude<keyof I, keyof BoxInfo>]: never; }>(object: I): BoxInfo;
556
471
  };
557
472
  export declare const DomainCertRequest: {
558
473
  encode(message: DomainCertRequest, writer?: _m0.Writer): _m0.Writer;
559
474
  decode(input: _m0.Reader | Uint8Array, length?: number): DomainCertRequest;
560
475
  fromJSON(object: any): DomainCertRequest;
561
476
  toJSON(message: DomainCertRequest): unknown;
562
- create<I extends {
563
- domain?: string;
564
- } & {
565
- domain?: string;
566
- } & { [K in Exclude<keyof I, "domain">]: never; }>(base?: I): DomainCertRequest;
567
- fromPartial<I_1 extends {
477
+ fromPartial<I extends {
568
478
  domain?: string;
569
479
  } & {
570
480
  domain?: string;
571
- } & { [K_1 in Exclude<keyof I_1, "domain">]: never; }>(object: I_1): DomainCertRequest;
481
+ } & { [K in Exclude<keyof I, "domain">]: never; }>(object: I): DomainCertRequest;
572
482
  };
573
483
  export declare const DomainCertReply: {
574
484
  encode(message: DomainCertReply, writer?: _m0.Writer): _m0.Writer;
575
485
  decode(input: _m0.Reader | Uint8Array, length?: number): DomainCertReply;
576
486
  fromJSON(object: any): DomainCertReply;
577
487
  toJSON(message: DomainCertReply): unknown;
578
- create<I extends {
579
- cert?: string;
580
- key?: string;
581
- ocsp?: Uint8Array;
582
- } & {
583
- cert?: string;
584
- key?: string;
585
- ocsp?: Uint8Array;
586
- } & { [K in Exclude<keyof I, keyof DomainCertReply>]: never; }>(base?: I): DomainCertReply;
587
- fromPartial<I_1 extends {
488
+ fromPartial<I extends {
588
489
  cert?: string;
589
490
  key?: string;
590
491
  ocsp?: Uint8Array;
@@ -592,33 +493,14 @@ export declare const DomainCertReply: {
592
493
  cert?: string;
593
494
  key?: string;
594
495
  ocsp?: Uint8Array;
595
- } & { [K_1 in Exclude<keyof I_1, keyof DomainCertReply>]: never; }>(object: I_1): DomainCertReply;
496
+ } & { [K in Exclude<keyof I, keyof DomainCertReply>]: never; }>(object: I): DomainCertReply;
596
497
  };
597
498
  export declare const Device: {
598
499
  encode(message: Device, writer?: _m0.Writer): _m0.Writer;
599
500
  decode(input: _m0.Reader | Uint8Array, length?: number): Device;
600
501
  fromJSON(object: any): Device;
601
502
  toJSON(message: Device): unknown;
602
- create<I extends {
603
- udid?: string;
604
- isOnline?: boolean;
605
- deviceApiUrl?: string;
606
- name?: string;
607
- model?: string;
608
- bindingTime?: Date | undefined;
609
- peerId?: string;
610
- isMobile?: boolean;
611
- } & {
612
- udid?: string;
613
- isOnline?: boolean;
614
- deviceApiUrl?: string;
615
- name?: string;
616
- model?: string;
617
- bindingTime?: Date | undefined;
618
- peerId?: string;
619
- isMobile?: boolean;
620
- } & { [K in Exclude<keyof I, keyof Device>]: never; }>(base?: I): Device;
621
- fromPartial<I_1 extends {
503
+ fromPartial<I extends {
622
504
  udid?: string;
623
505
  isOnline?: boolean;
624
506
  deviceApiUrl?: string;
@@ -636,30 +518,25 @@ export declare const Device: {
636
518
  bindingTime?: Date | undefined;
637
519
  peerId?: string;
638
520
  isMobile?: boolean;
639
- } & { [K_1 in Exclude<keyof I_1, keyof Device>]: never; }>(object: I_1): Device;
521
+ } & { [K in Exclude<keyof I, keyof Device>]: never; }>(object: I): Device;
640
522
  };
641
523
  export declare const ListDeviceRequest: {
642
524
  encode(message: ListDeviceRequest, writer?: _m0.Writer): _m0.Writer;
643
525
  decode(input: _m0.Reader | Uint8Array, length?: number): ListDeviceRequest;
644
526
  fromJSON(object: any): ListDeviceRequest;
645
527
  toJSON(message: ListDeviceRequest): unknown;
646
- create<I extends {
647
- uid?: string;
648
- } & {
649
- uid?: string;
650
- } & { [K in Exclude<keyof I, "uid">]: never; }>(base?: I): ListDeviceRequest;
651
- fromPartial<I_1 extends {
528
+ fromPartial<I extends {
652
529
  uid?: string;
653
530
  } & {
654
531
  uid?: string;
655
- } & { [K_1 in Exclude<keyof I_1, "uid">]: never; }>(object: I_1): ListDeviceRequest;
532
+ } & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): ListDeviceRequest;
656
533
  };
657
534
  export declare const ListDeviceReply: {
658
535
  encode(message: ListDeviceReply, writer?: _m0.Writer): _m0.Writer;
659
536
  decode(input: _m0.Reader | Uint8Array, length?: number): ListDeviceReply;
660
537
  fromJSON(object: any): ListDeviceReply;
661
538
  toJSON(message: ListDeviceReply): unknown;
662
- create<I extends {
539
+ fromPartial<I extends {
663
540
  devices?: {
664
541
  udid?: string;
665
542
  isOnline?: boolean;
@@ -708,165 +585,75 @@ export declare const ListDeviceReply: {
708
585
  peerId?: string;
709
586
  isMobile?: boolean;
710
587
  }[]>]: never; };
711
- } & { [K_2 in Exclude<keyof I, "devices">]: never; }>(base?: I): ListDeviceReply;
712
- fromPartial<I_1 extends {
713
- devices?: {
714
- udid?: string;
715
- isOnline?: boolean;
716
- deviceApiUrl?: string;
717
- name?: string;
718
- model?: string;
719
- bindingTime?: Date | undefined;
720
- peerId?: string;
721
- isMobile?: boolean;
722
- }[];
723
- } & {
724
- devices?: {
725
- udid?: string;
726
- isOnline?: boolean;
727
- deviceApiUrl?: string;
728
- name?: string;
729
- model?: string;
730
- bindingTime?: Date | undefined;
731
- peerId?: string;
732
- isMobile?: boolean;
733
- }[] & ({
734
- udid?: string;
735
- isOnline?: boolean;
736
- deviceApiUrl?: string;
737
- name?: string;
738
- model?: string;
739
- bindingTime?: Date | undefined;
740
- peerId?: string;
741
- isMobile?: boolean;
742
- } & {
743
- udid?: string;
744
- isOnline?: boolean;
745
- deviceApiUrl?: string;
746
- name?: string;
747
- model?: string;
748
- bindingTime?: Date | undefined;
749
- peerId?: string;
750
- isMobile?: boolean;
751
- } & { [K_3 in Exclude<keyof I_1["devices"][number], keyof Device>]: never; })[] & { [K_4 in Exclude<keyof I_1["devices"], keyof {
752
- udid?: string;
753
- isOnline?: boolean;
754
- deviceApiUrl?: string;
755
- name?: string;
756
- model?: string;
757
- bindingTime?: Date | undefined;
758
- peerId?: string;
759
- isMobile?: boolean;
760
- }[]>]: never; };
761
- } & { [K_5 in Exclude<keyof I_1, "devices">]: never; }>(object: I_1): ListDeviceReply;
588
+ } & { [K_2 in Exclude<keyof I, "devices">]: never; }>(object: I): ListDeviceReply;
762
589
  };
763
590
  export declare const UserID: {
764
591
  encode(message: UserID, writer?: _m0.Writer): _m0.Writer;
765
592
  decode(input: _m0.Reader | Uint8Array, length?: number): UserID;
766
593
  fromJSON(object: any): UserID;
767
594
  toJSON(message: UserID): unknown;
768
- create<I extends {
595
+ fromPartial<I extends {
769
596
  uid?: string;
770
597
  } & {
771
598
  uid?: string;
772
- } & { [K in Exclude<keyof I, "uid">]: never; }>(base?: I): UserID;
773
- fromPartial<I_1 extends {
774
- uid?: string;
775
- } & {
776
- uid?: string;
777
- } & { [K_1 in Exclude<keyof I_1, "uid">]: never; }>(object: I_1): UserID;
599
+ } & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): UserID;
778
600
  };
779
601
  export declare const ChangeRoleReqeust: {
780
602
  encode(message: ChangeRoleReqeust, writer?: _m0.Writer): _m0.Writer;
781
603
  decode(input: _m0.Reader | Uint8Array, length?: number): ChangeRoleReqeust;
782
604
  fromJSON(object: any): ChangeRoleReqeust;
783
605
  toJSON(message: ChangeRoleReqeust): unknown;
784
- create<I extends {
785
- uid?: string;
786
- role?: Role;
787
- } & {
788
- uid?: string;
789
- role?: Role;
790
- } & { [K in Exclude<keyof I, keyof ChangeRoleReqeust>]: never; }>(base?: I): ChangeRoleReqeust;
791
- fromPartial<I_1 extends {
606
+ fromPartial<I extends {
792
607
  uid?: string;
793
608
  role?: Role;
794
609
  } & {
795
610
  uid?: string;
796
611
  role?: Role;
797
- } & { [K_1 in Exclude<keyof I_1, keyof ChangeRoleReqeust>]: never; }>(object: I_1): ChangeRoleReqeust;
612
+ } & { [K in Exclude<keyof I, keyof ChangeRoleReqeust>]: never; }>(object: I): ChangeRoleReqeust;
798
613
  };
799
614
  export declare const QueryRoleReply: {
800
615
  encode(message: QueryRoleReply, writer?: _m0.Writer): _m0.Writer;
801
616
  decode(input: _m0.Reader | Uint8Array, length?: number): QueryRoleReply;
802
617
  fromJSON(object: any): QueryRoleReply;
803
618
  toJSON(message: QueryRoleReply): unknown;
804
- create<I extends {
805
- uid?: string;
806
- role?: Role;
807
- } & {
808
- uid?: string;
809
- role?: Role;
810
- } & { [K in Exclude<keyof I, keyof QueryRoleReply>]: never; }>(base?: I): QueryRoleReply;
811
- fromPartial<I_1 extends {
619
+ fromPartial<I extends {
812
620
  uid?: string;
813
621
  role?: Role;
814
622
  } & {
815
623
  uid?: string;
816
624
  role?: Role;
817
- } & { [K_1 in Exclude<keyof I_1, keyof QueryRoleReply>]: never; }>(object: I_1): QueryRoleReply;
625
+ } & { [K in Exclude<keyof I, keyof QueryRoleReply>]: never; }>(object: I): QueryRoleReply;
818
626
  };
819
627
  export declare const ResetPasswordRequest: {
820
628
  encode(message: ResetPasswordRequest, writer?: _m0.Writer): _m0.Writer;
821
629
  decode(input: _m0.Reader | Uint8Array, length?: number): ResetPasswordRequest;
822
630
  fromJSON(object: any): ResetPasswordRequest;
823
631
  toJSON(message: ResetPasswordRequest): unknown;
824
- create<I extends {
632
+ fromPartial<I extends {
825
633
  uid?: string;
826
634
  newPassword?: string;
827
635
  } & {
828
636
  uid?: string;
829
637
  newPassword?: string;
830
- } & { [K in Exclude<keyof I, keyof ResetPasswordRequest>]: never; }>(base?: I): ResetPasswordRequest;
831
- fromPartial<I_1 extends {
832
- uid?: string;
833
- newPassword?: string;
834
- } & {
835
- uid?: string;
836
- newPassword?: string;
837
- } & { [K_1 in Exclude<keyof I_1, keyof ResetPasswordRequest>]: never; }>(object: I_1): ResetPasswordRequest;
638
+ } & { [K in Exclude<keyof I, keyof ResetPasswordRequest>]: never; }>(object: I): ResetPasswordRequest;
838
639
  };
839
640
  export declare const DeleteUserRequest: {
840
641
  encode(message: DeleteUserRequest, writer?: _m0.Writer): _m0.Writer;
841
642
  decode(input: _m0.Reader | Uint8Array, length?: number): DeleteUserRequest;
842
643
  fromJSON(object: any): DeleteUserRequest;
843
644
  toJSON(message: DeleteUserRequest): unknown;
844
- create<I extends {
645
+ fromPartial<I extends {
845
646
  uid?: string;
846
647
  } & {
847
648
  uid?: string;
848
- } & { [K in Exclude<keyof I, "uid">]: never; }>(base?: I): DeleteUserRequest;
849
- fromPartial<I_1 extends {
850
- uid?: string;
851
- } & {
852
- uid?: string;
853
- } & { [K_1 in Exclude<keyof I_1, "uid">]: never; }>(object: I_1): DeleteUserRequest;
649
+ } & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): DeleteUserRequest;
854
650
  };
855
651
  export declare const CreateUserRequest: {
856
652
  encode(message: CreateUserRequest, writer?: _m0.Writer): _m0.Writer;
857
653
  decode(input: _m0.Reader | Uint8Array, length?: number): CreateUserRequest;
858
654
  fromJSON(object: any): CreateUserRequest;
859
655
  toJSON(message: CreateUserRequest): unknown;
860
- create<I extends {
861
- uid?: string;
862
- password?: string;
863
- role?: Role;
864
- } & {
865
- uid?: string;
866
- password?: string;
867
- role?: Role;
868
- } & { [K in Exclude<keyof I, keyof CreateUserRequest>]: never; }>(base?: I): CreateUserRequest;
869
- fromPartial<I_1 extends {
656
+ fromPartial<I extends {
870
657
  uid?: string;
871
658
  password?: string;
872
659
  role?: Role;
@@ -874,62 +661,47 @@ export declare const CreateUserRequest: {
874
661
  uid?: string;
875
662
  password?: string;
876
663
  role?: Role;
877
- } & { [K_1 in Exclude<keyof I_1, keyof CreateUserRequest>]: never; }>(object: I_1): CreateUserRequest;
664
+ } & { [K in Exclude<keyof I, keyof CreateUserRequest>]: never; }>(object: I): CreateUserRequest;
878
665
  };
879
666
  export declare const CheckPasswordRequest: {
880
667
  encode(message: CheckPasswordRequest, writer?: _m0.Writer): _m0.Writer;
881
668
  decode(input: _m0.Reader | Uint8Array, length?: number): CheckPasswordRequest;
882
669
  fromJSON(object: any): CheckPasswordRequest;
883
670
  toJSON(message: CheckPasswordRequest): unknown;
884
- create<I extends {
671
+ fromPartial<I extends {
885
672
  uid?: string;
886
673
  password?: string;
887
674
  } & {
888
675
  uid?: string;
889
676
  password?: string;
890
- } & { [K in Exclude<keyof I, keyof CheckPasswordRequest>]: never; }>(base?: I): CheckPasswordRequest;
891
- fromPartial<I_1 extends {
892
- uid?: string;
893
- password?: string;
894
- } & {
895
- uid?: string;
896
- password?: string;
897
- } & { [K_1 in Exclude<keyof I_1, keyof CheckPasswordRequest>]: never; }>(object: I_1): CheckPasswordRequest;
677
+ } & { [K in Exclude<keyof I, keyof CheckPasswordRequest>]: never; }>(object: I): CheckPasswordRequest;
898
678
  };
899
679
  export declare const ClearLoginSessionRequest: {
900
680
  encode(message: ClearLoginSessionRequest, writer?: _m0.Writer): _m0.Writer;
901
681
  decode(input: _m0.Reader | Uint8Array, length?: number): ClearLoginSessionRequest;
902
682
  fromJSON(object: any): ClearLoginSessionRequest;
903
683
  toJSON(message: ClearLoginSessionRequest): unknown;
904
- create<I extends {
684
+ fromPartial<I extends {
905
685
  uid?: string;
906
686
  excludeDevices?: string[];
907
687
  } & {
908
688
  uid?: string;
909
689
  excludeDevices?: string[] & string[] & { [K in Exclude<keyof I["excludeDevices"], keyof string[]>]: never; };
910
- } & { [K_1 in Exclude<keyof I, keyof ClearLoginSessionRequest>]: never; }>(base?: I): ClearLoginSessionRequest;
911
- fromPartial<I_1 extends {
912
- uid?: string;
913
- excludeDevices?: string[];
914
- } & {
915
- uid?: string;
916
- excludeDevices?: string[] & string[] & { [K_2 in Exclude<keyof I_1["excludeDevices"], keyof string[]>]: never; };
917
- } & { [K_3 in Exclude<keyof I_1, keyof ClearLoginSessionRequest>]: never; }>(object: I_1): ClearLoginSessionRequest;
690
+ } & { [K_1 in Exclude<keyof I, keyof ClearLoginSessionRequest>]: never; }>(object: I): ClearLoginSessionRequest;
918
691
  };
919
692
  export declare const ClearLoginSessionReply: {
920
693
  encode(_: ClearLoginSessionReply, writer?: _m0.Writer): _m0.Writer;
921
694
  decode(input: _m0.Reader | Uint8Array, length?: number): ClearLoginSessionReply;
922
695
  fromJSON(_: any): ClearLoginSessionReply;
923
696
  toJSON(_: ClearLoginSessionReply): unknown;
924
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): ClearLoginSessionReply;
925
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): ClearLoginSessionReply;
697
+ fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): ClearLoginSessionReply;
926
698
  };
927
699
  export declare const ChangeTrustEndDeviceRequest: {
928
700
  encode(message: ChangeTrustEndDeviceRequest, writer?: _m0.Writer): _m0.Writer;
929
701
  decode(input: _m0.Reader | Uint8Array, length?: number): ChangeTrustEndDeviceRequest;
930
702
  fromJSON(object: any): ChangeTrustEndDeviceRequest;
931
703
  toJSON(message: ChangeTrustEndDeviceRequest): unknown;
932
- create<I extends {
704
+ fromPartial<I extends {
933
705
  uid?: string;
934
706
  cid?: string;
935
707
  action?: ChangeTrustEndDeviceRequest_Action;
@@ -937,31 +709,21 @@ export declare const ChangeTrustEndDeviceRequest: {
937
709
  uid?: string;
938
710
  cid?: string;
939
711
  action?: ChangeTrustEndDeviceRequest_Action;
940
- } & { [K in Exclude<keyof I, keyof ChangeTrustEndDeviceRequest>]: never; }>(base?: I): ChangeTrustEndDeviceRequest;
941
- fromPartial<I_1 extends {
942
- uid?: string;
943
- cid?: string;
944
- action?: ChangeTrustEndDeviceRequest_Action;
945
- } & {
946
- uid?: string;
947
- cid?: string;
948
- action?: ChangeTrustEndDeviceRequest_Action;
949
- } & { [K_1 in Exclude<keyof I_1, keyof ChangeTrustEndDeviceRequest>]: never; }>(object: I_1): ChangeTrustEndDeviceRequest;
712
+ } & { [K in Exclude<keyof I, keyof ChangeTrustEndDeviceRequest>]: never; }>(object: I): ChangeTrustEndDeviceRequest;
950
713
  };
951
714
  export declare const ChangeTrustEndDeviceReply: {
952
715
  encode(_: ChangeTrustEndDeviceReply, writer?: _m0.Writer): _m0.Writer;
953
716
  decode(input: _m0.Reader | Uint8Array, length?: number): ChangeTrustEndDeviceReply;
954
717
  fromJSON(_: any): ChangeTrustEndDeviceReply;
955
718
  toJSON(_: ChangeTrustEndDeviceReply): unknown;
956
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): ChangeTrustEndDeviceReply;
957
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): ChangeTrustEndDeviceReply;
719
+ fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): ChangeTrustEndDeviceReply;
958
720
  };
959
721
  export declare const UpdateBoxSystemStatusRequest: {
960
722
  encode(message: UpdateBoxSystemStatusRequest, writer?: _m0.Writer): _m0.Writer;
961
723
  decode(input: _m0.Reader | Uint8Array, length?: number): UpdateBoxSystemStatusRequest;
962
724
  fromJSON(object: any): UpdateBoxSystemStatusRequest;
963
725
  toJSON(message: UpdateBoxSystemStatusRequest): unknown;
964
- create<I extends {
726
+ fromPartial<I extends {
965
727
  status?: UpdateBoxSystemStatusRequest_SysStatus;
966
728
  serviceUrl?: string;
967
729
  exceptionReason?: UpdateBoxSystemStatusRequest_ExceptionReason | undefined;
@@ -973,112 +735,67 @@ export declare const UpdateBoxSystemStatusRequest: {
973
735
  exceptionReason?: UpdateBoxSystemStatusRequest_ExceptionReason | undefined;
974
736
  proxyTheServiceUrl?: boolean;
975
737
  onlyAdminCanAccessServiceUrl?: boolean;
976
- } & { [K in Exclude<keyof I, keyof UpdateBoxSystemStatusRequest>]: never; }>(base?: I): UpdateBoxSystemStatusRequest;
977
- fromPartial<I_1 extends {
978
- status?: UpdateBoxSystemStatusRequest_SysStatus;
979
- serviceUrl?: string;
980
- exceptionReason?: UpdateBoxSystemStatusRequest_ExceptionReason | undefined;
981
- proxyTheServiceUrl?: boolean;
982
- onlyAdminCanAccessServiceUrl?: boolean;
983
- } & {
984
- status?: UpdateBoxSystemStatusRequest_SysStatus;
985
- serviceUrl?: string;
986
- exceptionReason?: UpdateBoxSystemStatusRequest_ExceptionReason | undefined;
987
- proxyTheServiceUrl?: boolean;
988
- onlyAdminCanAccessServiceUrl?: boolean;
989
- } & { [K_1 in Exclude<keyof I_1, keyof UpdateBoxSystemStatusRequest>]: never; }>(object: I_1): UpdateBoxSystemStatusRequest;
738
+ } & { [K in Exclude<keyof I, keyof UpdateBoxSystemStatusRequest>]: never; }>(object: I): UpdateBoxSystemStatusRequest;
990
739
  };
991
740
  export declare const UpdateBoxSystemStatusResponse: {
992
741
  encode(_: UpdateBoxSystemStatusResponse, writer?: _m0.Writer): _m0.Writer;
993
742
  decode(input: _m0.Reader | Uint8Array, length?: number): UpdateBoxSystemStatusResponse;
994
743
  fromJSON(_: any): UpdateBoxSystemStatusResponse;
995
744
  toJSON(_: UpdateBoxSystemStatusResponse): unknown;
996
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): UpdateBoxSystemStatusResponse;
997
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): UpdateBoxSystemStatusResponse;
745
+ fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): UpdateBoxSystemStatusResponse;
998
746
  };
999
747
  export declare const UpdateBoxStatusRequest: {
1000
748
  encode(message: UpdateBoxStatusRequest, writer?: _m0.Writer): _m0.Writer;
1001
749
  decode(input: _m0.Reader | Uint8Array, length?: number): UpdateBoxStatusRequest;
1002
750
  fromJSON(object: any): UpdateBoxStatusRequest;
1003
751
  toJSON(message: UpdateBoxStatusRequest): unknown;
1004
- create<I extends {
1005
- startUp?: boolean | undefined;
1006
- dataPartition?: boolean | undefined;
1007
- } & {
1008
- startUp?: boolean | undefined;
1009
- dataPartition?: boolean | undefined;
1010
- } & { [K in Exclude<keyof I, keyof UpdateBoxStatusRequest>]: never; }>(base?: I): UpdateBoxStatusRequest;
1011
- fromPartial<I_1 extends {
752
+ fromPartial<I extends {
1012
753
  startUp?: boolean | undefined;
1013
754
  dataPartition?: boolean | undefined;
1014
755
  } & {
1015
756
  startUp?: boolean | undefined;
1016
757
  dataPartition?: boolean | undefined;
1017
- } & { [K_1 in Exclude<keyof I_1, keyof UpdateBoxStatusRequest>]: never; }>(object: I_1): UpdateBoxStatusRequest;
758
+ } & { [K in Exclude<keyof I, keyof UpdateBoxStatusRequest>]: never; }>(object: I): UpdateBoxStatusRequest;
1018
759
  };
1019
760
  export declare const UpdateBoxStatusResponse: {
1020
761
  encode(_: UpdateBoxStatusResponse, writer?: _m0.Writer): _m0.Writer;
1021
762
  decode(input: _m0.Reader | Uint8Array, length?: number): UpdateBoxStatusResponse;
1022
763
  fromJSON(_: any): UpdateBoxStatusResponse;
1023
764
  toJSON(_: UpdateBoxStatusResponse): unknown;
1024
- create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): UpdateBoxStatusResponse;
1025
- fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): UpdateBoxStatusResponse;
765
+ fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): UpdateBoxStatusResponse;
1026
766
  };
1027
767
  export declare const TrustUserDeviceRequest: {
1028
768
  encode(message: TrustUserDeviceRequest, writer?: _m0.Writer): _m0.Writer;
1029
769
  decode(input: _m0.Reader | Uint8Array, length?: number): TrustUserDeviceRequest;
1030
770
  fromJSON(object: any): TrustUserDeviceRequest;
1031
771
  toJSON(message: TrustUserDeviceRequest): unknown;
1032
- create<I extends {
772
+ fromPartial<I extends {
1033
773
  udid?: string;
1034
774
  user?: string;
1035
775
  } & {
1036
776
  udid?: string;
1037
777
  user?: string;
1038
- } & { [K in Exclude<keyof I, keyof TrustUserDeviceRequest>]: never; }>(base?: I): TrustUserDeviceRequest;
1039
- fromPartial<I_1 extends {
1040
- udid?: string;
1041
- user?: string;
1042
- } & {
1043
- udid?: string;
1044
- user?: string;
1045
- } & { [K_1 in Exclude<keyof I_1, keyof TrustUserDeviceRequest>]: never; }>(object: I_1): TrustUserDeviceRequest;
778
+ } & { [K in Exclude<keyof I, keyof TrustUserDeviceRequest>]: never; }>(object: I): TrustUserDeviceRequest;
1046
779
  };
1047
780
  export declare const ForceResetPasswordRequest: {
1048
781
  encode(message: ForceResetPasswordRequest, writer?: _m0.Writer): _m0.Writer;
1049
782
  decode(input: _m0.Reader | Uint8Array, length?: number): ForceResetPasswordRequest;
1050
783
  fromJSON(object: any): ForceResetPasswordRequest;
1051
784
  toJSON(message: ForceResetPasswordRequest): unknown;
1052
- create<I extends {
1053
- uid?: string;
1054
- newPassword?: string;
1055
- } & {
1056
- uid?: string;
1057
- newPassword?: string;
1058
- } & { [K in Exclude<keyof I, keyof ForceResetPasswordRequest>]: never; }>(base?: I): ForceResetPasswordRequest;
1059
- fromPartial<I_1 extends {
785
+ fromPartial<I extends {
1060
786
  uid?: string;
1061
787
  newPassword?: string;
1062
788
  } & {
1063
789
  uid?: string;
1064
790
  newPassword?: string;
1065
- } & { [K_1 in Exclude<keyof I_1, keyof ForceResetPasswordRequest>]: never; }>(object: I_1): ForceResetPasswordRequest;
791
+ } & { [K in Exclude<keyof I, keyof ForceResetPasswordRequest>]: never; }>(object: I): ForceResetPasswordRequest;
1066
792
  };
1067
793
  export declare const LogoutRequest: {
1068
794
  encode(message: LogoutRequest, writer?: _m0.Writer): _m0.Writer;
1069
795
  decode(input: _m0.Reader | Uint8Array, length?: number): LogoutRequest;
1070
796
  fromJSON(object: any): LogoutRequest;
1071
797
  toJSON(message: LogoutRequest): unknown;
1072
- create<I extends {
1073
- uid?: string;
1074
- udid?: string;
1075
- reason?: LogoutRequest_Reason;
1076
- } & {
1077
- uid?: string;
1078
- udid?: string;
1079
- reason?: LogoutRequest_Reason;
1080
- } & { [K in Exclude<keyof I, keyof LogoutRequest>]: never; }>(base?: I): LogoutRequest;
1081
- fromPartial<I_1 extends {
798
+ fromPartial<I extends {
1082
799
  uid?: string;
1083
800
  udid?: string;
1084
801
  reason?: LogoutRequest_Reason;
@@ -1086,14 +803,14 @@ export declare const LogoutRequest: {
1086
803
  uid?: string;
1087
804
  udid?: string;
1088
805
  reason?: LogoutRequest_Reason;
1089
- } & { [K_1 in Exclude<keyof I_1, keyof LogoutRequest>]: never; }>(object: I_1): LogoutRequest;
806
+ } & { [K in Exclude<keyof I, keyof LogoutRequest>]: never; }>(object: I): LogoutRequest;
1090
807
  };
1091
808
  export declare const AppCertRequest: {
1092
809
  encode(message: AppCertRequest, writer?: _m0.Writer): _m0.Writer;
1093
810
  decode(input: _m0.Reader | Uint8Array, length?: number): AppCertRequest;
1094
811
  fromJSON(object: any): AppCertRequest;
1095
812
  toJSON(message: AppCertRequest): unknown;
1096
- create<I extends {
813
+ fromPartial<I extends {
1097
814
  appid?: string;
1098
815
  uid?: string;
1099
816
  validSeconds?: number;
@@ -1101,32 +818,14 @@ export declare const AppCertRequest: {
1101
818
  appid?: string;
1102
819
  uid?: string;
1103
820
  validSeconds?: number;
1104
- } & { [K in Exclude<keyof I, keyof AppCertRequest>]: never; }>(base?: I): AppCertRequest;
1105
- fromPartial<I_1 extends {
1106
- appid?: string;
1107
- uid?: string;
1108
- validSeconds?: number;
1109
- } & {
1110
- appid?: string;
1111
- uid?: string;
1112
- validSeconds?: number;
1113
- } & { [K_1 in Exclude<keyof I_1, keyof AppCertRequest>]: never; }>(object: I_1): AppCertRequest;
821
+ } & { [K in Exclude<keyof I, keyof AppCertRequest>]: never; }>(object: I): AppCertRequest;
1114
822
  };
1115
823
  export declare const AppCertReply: {
1116
824
  encode(message: AppCertReply, writer?: _m0.Writer): _m0.Writer;
1117
825
  decode(input: _m0.Reader | Uint8Array, length?: number): AppCertReply;
1118
826
  fromJSON(object: any): AppCertReply;
1119
827
  toJSON(message: AppCertReply): unknown;
1120
- create<I extends {
1121
- cert?: string;
1122
- privateKey?: string;
1123
- boxCert?: string;
1124
- } & {
1125
- cert?: string;
1126
- privateKey?: string;
1127
- boxCert?: string;
1128
- } & { [K in Exclude<keyof I, keyof AppCertReply>]: never; }>(base?: I): AppCertReply;
1129
- fromPartial<I_1 extends {
828
+ fromPartial<I extends {
1130
829
  cert?: string;
1131
830
  privateKey?: string;
1132
831
  boxCert?: string;
@@ -1134,7 +833,7 @@ export declare const AppCertReply: {
1134
833
  cert?: string;
1135
834
  privateKey?: string;
1136
835
  boxCert?: string;
1137
- } & { [K_1 in Exclude<keyof I_1, keyof AppCertReply>]: never; }>(object: I_1): AppCertReply;
836
+ } & { [K in Exclude<keyof I, keyof AppCertReply>]: never; }>(object: I): AppCertReply;
1138
837
  };
1139
838
  export interface HPortalSys {
1140
839
  /** 用auth-token反向查询登陆的设备以及UID */
@@ -1271,7 +970,7 @@ interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any>
1271
970
  requestStream: any;
1272
971
  responseStream: any;
1273
972
  }
1274
- type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
973
+ declare type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
1275
974
  interface Rpc {
1276
975
  unary<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Promise<any>;
1277
976
  }
@@ -1286,12 +985,11 @@ export declare class GrpcWebImpl {
1286
985
  });
1287
986
  unary<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Promise<any>;
1288
987
  }
1289
- declare var tsProtoGlobalThis: any;
1290
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
1291
- 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 {} ? {
988
+ declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
989
+ declare 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 {} ? {
1292
990
  [K in keyof T]?: DeepPartial<T[K]>;
1293
991
  } : Partial<T>;
1294
- export declare class GrpcWebError extends tsProtoGlobalThis.Error {
992
+ export declare class GrpcWebError extends Error {
1295
993
  code: grpc.Code;
1296
994
  metadata: grpc.Metadata;
1297
995
  constructor(message: string, code: grpc.Code, metadata: grpc.Metadata);