@lazycatcloud/sdk 0.1.176 → 0.1.177
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/apk_shell.d.ts +8 -25
- package/dist/common/apk_shell.d.ts.map +1 -1
- package/dist/common/apk_shell.js +24 -48
- package/dist/common/apk_shell.js.map +1 -1
- package/dist/common/box.d.ts +12 -54
- package/dist/common/box.d.ts.map +1 -1
- package/dist/common/box.js +36 -85
- package/dist/common/box.js.map +1 -1
- package/dist/common/browseronly.d.ts +10 -38
- package/dist/common/browseronly.d.ts.map +1 -1
- package/dist/common/browseronly.js +32 -94
- package/dist/common/browseronly.js.map +1 -1
- package/dist/common/end_device.d.ts +14 -101
- package/dist/common/end_device.d.ts.map +1 -1
- package/dist/common/end_device.js +42 -123
- package/dist/common/end_device.js.map +1 -1
- package/dist/common/file_handler.d.ts +14 -70
- package/dist/common/file_handler.d.ts.map +1 -1
- package/dist/common/file_handler.js +36 -103
- package/dist/common/file_handler.js.map +1 -1
- package/dist/common/filetrans.d.ts +53 -853
- package/dist/common/filetrans.d.ts.map +1 -1
- package/dist/common/filetrans.js +163 -412
- package/dist/common/filetrans.js.map +1 -1
- package/dist/common/gateway.d.ts +14 -60
- package/dist/common/gateway.d.ts.map +1 -1
- package/dist/common/gateway.js +43 -126
- package/dist/common/gateway.js.map +1 -1
- package/dist/common/media_meta.d.ts +8 -27
- package/dist/common/media_meta.d.ts.map +1 -1
- package/dist/common/media_meta.js +21 -52
- package/dist/common/media_meta.js.map +1 -1
- package/dist/common/message.d.ts +16 -106
- package/dist/common/message.d.ts.map +1 -1
- package/dist/common/message.js +58 -133
- package/dist/common/message.js.map +1 -1
- package/dist/common/peripheral_device.d.ts +18 -141
- package/dist/common/peripheral_device.d.ts.map +1 -1
- package/dist/common/peripheral_device.js +56 -140
- package/dist/common/peripheral_device.js.map +1 -1
- package/dist/common/security_context.d.ts +15 -54
- package/dist/common/security_context.d.ts.map +1 -1
- package/dist/common/security_context.js +47 -119
- package/dist/common/security_context.js.map +1 -1
- package/dist/common/users.d.ts +23 -98
- package/dist/common/users.d.ts.map +1 -1
- package/dist/common/users.js +85 -219
- package/dist/common/users.js.map +1 -1
- package/dist/dlna/dlna.d.ts +3 -3
- package/dist/dlna/dlna.d.ts.map +1 -1
- package/dist/google/protobuf/descriptor.d.ts +4640 -55103
- package/dist/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/google/protobuf/descriptor.js +257 -738
- package/dist/google/protobuf/descriptor.js.map +1 -1
- package/dist/google/protobuf/empty.d.ts +1 -2
- package/dist/google/protobuf/empty.d.ts.map +1 -1
- package/dist/google/protobuf/empty.js +4 -8
- package/dist/google/protobuf/empty.js.map +1 -1
- package/dist/google/protobuf/timestamp.d.ts +2 -9
- package/dist/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/google/protobuf/timestamp.js +8 -18
- 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/lanforward/lanforward.d.ts +3 -3
- package/dist/lanforward/lanforward.d.ts.map +1 -1
- package/dist/localdevice/clipboard.d.ts +12 -35
- package/dist/localdevice/clipboard.d.ts.map +1 -1
- package/dist/localdevice/clipboard.js +37 -75
- package/dist/localdevice/clipboard.js.map +1 -1
- package/dist/localdevice/config.d.ts +8 -25
- package/dist/localdevice/config.d.ts.map +1 -1
- package/dist/localdevice/config.js +17 -56
- package/dist/localdevice/config.js.map +1 -1
- package/dist/localdevice/device.d.ts +6 -18
- package/dist/localdevice/device.d.ts.map +1 -1
- package/dist/localdevice/device.js +12 -44
- package/dist/localdevice/device.js.map +1 -1
- package/dist/localdevice/dialog.d.ts +18 -68
- package/dist/localdevice/dialog.d.ts.map +1 -1
- package/dist/localdevice/dialog.js +52 -141
- package/dist/localdevice/dialog.js.map +1 -1
- package/dist/localdevice/local-launch.d.ts +18 -70
- package/dist/localdevice/local-launch.d.ts.map +1 -1
- package/dist/localdevice/local-launch.js +67 -170
- package/dist/localdevice/local-launch.js.map +1 -1
- package/dist/localdevice/network.d.ts +6 -14
- package/dist/localdevice/network.d.ts.map +1 -1
- package/dist/localdevice/network.js +10 -36
- package/dist/localdevice/network.js.map +1 -1
- package/dist/localdevice/permission.d.ts +16 -61
- package/dist/localdevice/permission.d.ts.map +1 -1
- package/dist/localdevice/permission.js +51 -109
- package/dist/localdevice/permission.js.map +1 -1
- package/dist/localdevice/photo.d.ts +28 -192
- package/dist/localdevice/photo.d.ts.map +1 -1
- package/dist/localdevice/photo.js +111 -307
- package/dist/localdevice/photo.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/ssdp/ssdp.d.ts +3 -3
- package/dist/ssdp/ssdp.d.ts.map +1 -1
- package/dist/sys/OS_daemon.d.ts +10 -28
- package/dist/sys/OS_daemon.d.ts.map +1 -1
- package/dist/sys/OS_daemon.js +22 -63
- package/dist/sys/OS_daemon.js.map +1 -1
- package/dist/sys/OS_snapshot.d.ts +32 -180
- package/dist/sys/OS_snapshot.d.ts.map +1 -1
- package/dist/sys/OS_snapshot.js +126 -290
- package/dist/sys/OS_snapshot.js.map +1 -1
- package/dist/sys/OS_upgrader.d.ts +12 -47
- package/dist/sys/OS_upgrader.d.ts.map +1 -1
- package/dist/sys/OS_upgrader.js +51 -110
- package/dist/sys/OS_upgrader.js.map +1 -1
- package/dist/sys/box-status.d.ts +16 -208
- package/dist/sys/box-status.d.ts.map +1 -1
- package/dist/sys/box-status.js +52 -138
- package/dist/sys/box-status.js.map +1 -1
- package/dist/sys/btrfs.d.ts +14 -48
- package/dist/sys/btrfs.d.ts.map +1 -1
- package/dist/sys/btrfs.js +39 -89
- package/dist/sys/btrfs.js.map +1 -1
- package/dist/sys/devopt.d.ts +6 -18
- package/dist/sys/devopt.d.ts.map +1 -1
- package/dist/sys/devopt.js +14 -47
- package/dist/sys/devopt.js.map +1 -1
- package/dist/sys/dirmon.d.ts +8 -23
- package/dist/sys/dirmon.d.ts.map +1 -1
- package/dist/sys/dirmon.js +23 -44
- package/dist/sys/dirmon.js.map +1 -1
- package/dist/sys/event.d.ts +18 -90
- package/dist/sys/event.d.ts.map +1 -1
- package/dist/sys/event.js +55 -154
- package/dist/sys/event.js.map +1 -1
- package/dist/sys/hc-core/hc-core.d.ts +32 -244
- package/dist/sys/hc-core/hc-core.d.ts.map +1 -1
- package/dist/sys/hc-core/hc-core.js +116 -255
- package/dist/sys/hc-core/hc-core.js.map +1 -1
- package/dist/sys/ingress.d.ts +24 -81
- package/dist/sys/ingress.d.ts.map +1 -1
- package/dist/sys/ingress.js +73 -160
- package/dist/sys/ingress.js.map +1 -1
- package/dist/sys/network_manager.d.ts +16 -137
- package/dist/sys/network_manager.d.ts.map +1 -1
- package/dist/sys/network_manager.js +55 -156
- package/dist/sys/network_manager.js.map +1 -1
- package/dist/sys/package_manager.d.ts +42 -312
- package/dist/sys/package_manager.d.ts.map +1 -1
- package/dist/sys/package_manager.js +156 -400
- package/dist/sys/package_manager.js.map +1 -1
- package/dist/sys/portal-server/portal-server.d.ts +65 -358
- package/dist/sys/portal-server/portal-server.d.ts.map +1 -1
- package/dist/sys/portal-server/portal-server.js +256 -640
- package/dist/sys/portal-server/portal-server.js.map +1 -1
- package/dist/sys/portal-server/remote_listen.d.ts +91 -0
- package/dist/sys/portal-server/remote_listen.d.ts.map +1 -0
- package/dist/sys/portal-server/remote_listen.js +256 -0
- package/dist/sys/portal-server/remote_listen.js.map +1 -0
- package/dist/sys/snapd.d.ts +18 -105
- package/dist/sys/snapd.d.ts.map +1 -1
- package/dist/sys/snapd.js +61 -157
- package/dist/sys/snapd.js.map +1 -1
- package/package.json +1 -1
- package/dist/common/appshell.d.ts +0 -103
- package/dist/common/appshell.d.ts.map +0 -1
- package/dist/common/appshell.js +0 -265
- package/dist/common/appshell.js.map +0 -1
|
@@ -239,43 +239,31 @@ export declare const RemoteSocksRequest: {
|
|
|
239
239
|
decode(input: _m0.Reader | Uint8Array, length?: number): RemoteSocksRequest;
|
|
240
240
|
fromJSON(object: any): RemoteSocksRequest;
|
|
241
241
|
toJSON(message: RemoteSocksRequest): unknown;
|
|
242
|
-
|
|
242
|
+
fromPartial<I extends {
|
|
243
243
|
locationType?: RemoteSocksRequest_LocationType;
|
|
244
244
|
target?: string;
|
|
245
245
|
} & {
|
|
246
246
|
locationType?: RemoteSocksRequest_LocationType;
|
|
247
247
|
target?: string;
|
|
248
|
-
} & { [K in Exclude<keyof I, keyof RemoteSocksRequest>]: never; }>(
|
|
249
|
-
fromPartial<I_1 extends {
|
|
250
|
-
locationType?: RemoteSocksRequest_LocationType;
|
|
251
|
-
target?: string;
|
|
252
|
-
} & {
|
|
253
|
-
locationType?: RemoteSocksRequest_LocationType;
|
|
254
|
-
target?: string;
|
|
255
|
-
} & { [K_1 in Exclude<keyof I_1, keyof RemoteSocksRequest>]: never; }>(object: I_1): RemoteSocksRequest;
|
|
248
|
+
} & { [K in Exclude<keyof I, keyof RemoteSocksRequest>]: never; }>(object: I): RemoteSocksRequest;
|
|
256
249
|
};
|
|
257
250
|
export declare const RemoteSocksReply: {
|
|
258
251
|
encode(message: RemoteSocksReply, writer?: _m0.Writer): _m0.Writer;
|
|
259
252
|
decode(input: _m0.Reader | Uint8Array, length?: number): RemoteSocksReply;
|
|
260
253
|
fromJSON(object: any): RemoteSocksReply;
|
|
261
254
|
toJSON(message: RemoteSocksReply): unknown;
|
|
262
|
-
|
|
263
|
-
serverUrl?: string;
|
|
264
|
-
} & {
|
|
265
|
-
serverUrl?: string;
|
|
266
|
-
} & { [K in Exclude<keyof I, "serverUrl">]: never; }>(base?: I): RemoteSocksReply;
|
|
267
|
-
fromPartial<I_1 extends {
|
|
255
|
+
fromPartial<I extends {
|
|
268
256
|
serverUrl?: string;
|
|
269
257
|
} & {
|
|
270
258
|
serverUrl?: string;
|
|
271
|
-
} & { [
|
|
259
|
+
} & { [K in Exclude<keyof I, "serverUrl">]: never; }>(object: I): RemoteSocksReply;
|
|
272
260
|
};
|
|
273
261
|
export declare const GenUserInvitationRequest: {
|
|
274
262
|
encode(message: GenUserInvitationRequest, writer?: _m0.Writer): _m0.Writer;
|
|
275
263
|
decode(input: _m0.Reader | Uint8Array, length?: number): GenUserInvitationRequest;
|
|
276
264
|
fromJSON(object: any): GenUserInvitationRequest;
|
|
277
265
|
toJSON(message: GenUserInvitationRequest): unknown;
|
|
278
|
-
|
|
266
|
+
fromPartial<I extends {
|
|
279
267
|
limitUid?: string | undefined;
|
|
280
268
|
notAfter?: Date | undefined;
|
|
281
269
|
limitUsageCount?: number | undefined;
|
|
@@ -291,156 +279,93 @@ export declare const GenUserInvitationRequest: {
|
|
|
291
279
|
allowInstallApp?: boolean | undefined;
|
|
292
280
|
enableAllowList?: boolean | undefined;
|
|
293
281
|
appAllowList?: string[] & string[] & { [K in Exclude<keyof I["appAllowList"], keyof string[]>]: never; };
|
|
294
|
-
} & { [K_1 in Exclude<keyof I, keyof GenUserInvitationRequest>]: never; }>(
|
|
295
|
-
fromPartial<I_1 extends {
|
|
296
|
-
limitUid?: string | undefined;
|
|
297
|
-
notAfter?: Date | undefined;
|
|
298
|
-
limitUsageCount?: number | undefined;
|
|
299
|
-
limitRole?: Role | undefined;
|
|
300
|
-
allowInstallApp?: boolean | undefined;
|
|
301
|
-
enableAllowList?: boolean | undefined;
|
|
302
|
-
appAllowList?: string[];
|
|
303
|
-
} & {
|
|
304
|
-
limitUid?: string | undefined;
|
|
305
|
-
notAfter?: Date | undefined;
|
|
306
|
-
limitUsageCount?: number | undefined;
|
|
307
|
-
limitRole?: Role | undefined;
|
|
308
|
-
allowInstallApp?: boolean | undefined;
|
|
309
|
-
enableAllowList?: boolean | undefined;
|
|
310
|
-
appAllowList?: string[] & string[] & { [K_2 in Exclude<keyof I_1["appAllowList"], keyof string[]>]: never; };
|
|
311
|
-
} & { [K_3 in Exclude<keyof I_1, keyof GenUserInvitationRequest>]: never; }>(object: I_1): GenUserInvitationRequest;
|
|
282
|
+
} & { [K_1 in Exclude<keyof I, keyof GenUserInvitationRequest>]: never; }>(object: I): GenUserInvitationRequest;
|
|
312
283
|
};
|
|
313
284
|
export declare const UserInvitation: {
|
|
314
285
|
encode(message: UserInvitation, writer?: _m0.Writer): _m0.Writer;
|
|
315
286
|
decode(input: _m0.Reader | Uint8Array, length?: number): UserInvitation;
|
|
316
287
|
fromJSON(object: any): UserInvitation;
|
|
317
288
|
toJSON(message: UserInvitation): unknown;
|
|
318
|
-
|
|
289
|
+
fromPartial<I extends {
|
|
319
290
|
token?: string;
|
|
320
291
|
} & {
|
|
321
292
|
token?: string;
|
|
322
|
-
} & { [K in Exclude<keyof I, "token">]: never; }>(
|
|
323
|
-
fromPartial<I_1 extends {
|
|
324
|
-
token?: string;
|
|
325
|
-
} & {
|
|
326
|
-
token?: string;
|
|
327
|
-
} & { [K_1 in Exclude<keyof I_1, "token">]: never; }>(object: I_1): UserInvitation;
|
|
293
|
+
} & { [K in Exclude<keyof I, "token">]: never; }>(object: I): UserInvitation;
|
|
328
294
|
};
|
|
329
295
|
export declare const ListUsersReply: {
|
|
330
296
|
encode(message: ListUsersReply, writer?: _m0.Writer): _m0.Writer;
|
|
331
297
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListUsersReply;
|
|
332
298
|
fromJSON(object: any): ListUsersReply;
|
|
333
299
|
toJSON(message: ListUsersReply): unknown;
|
|
334
|
-
|
|
300
|
+
fromPartial<I extends {
|
|
335
301
|
uids?: string[];
|
|
336
302
|
} & {
|
|
337
303
|
uids?: string[] & string[] & { [K in Exclude<keyof I["uids"], keyof string[]>]: never; };
|
|
338
|
-
} & { [K_1 in Exclude<keyof I, "uids">]: never; }>(
|
|
339
|
-
fromPartial<I_1 extends {
|
|
340
|
-
uids?: string[];
|
|
341
|
-
} & {
|
|
342
|
-
uids?: string[] & string[] & { [K_2 in Exclude<keyof I_1["uids"], keyof string[]>]: never; };
|
|
343
|
-
} & { [K_3 in Exclude<keyof I_1, "uids">]: never; }>(object: I_1): ListUsersReply;
|
|
304
|
+
} & { [K_1 in Exclude<keyof I, "uids">]: never; }>(object: I): ListUsersReply;
|
|
344
305
|
};
|
|
345
306
|
export declare const PairDevicesRequest: {
|
|
346
307
|
encode(message: PairDevicesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
347
308
|
decode(input: _m0.Reader | Uint8Array, length?: number): PairDevicesRequest;
|
|
348
309
|
fromJSON(object: any): PairDevicesRequest;
|
|
349
310
|
toJSON(message: PairDevicesRequest): unknown;
|
|
350
|
-
|
|
311
|
+
fromPartial<I extends {
|
|
351
312
|
srcId?: string;
|
|
352
313
|
otherIds?: string[];
|
|
353
314
|
} & {
|
|
354
315
|
srcId?: string;
|
|
355
316
|
otherIds?: string[] & string[] & { [K in Exclude<keyof I["otherIds"], keyof string[]>]: never; };
|
|
356
|
-
} & { [K_1 in Exclude<keyof I, keyof PairDevicesRequest>]: never; }>(
|
|
357
|
-
fromPartial<I_1 extends {
|
|
358
|
-
srcId?: string;
|
|
359
|
-
otherIds?: string[];
|
|
360
|
-
} & {
|
|
361
|
-
srcId?: string;
|
|
362
|
-
otherIds?: string[] & string[] & { [K_2 in Exclude<keyof I_1["otherIds"], keyof string[]>]: never; };
|
|
363
|
-
} & { [K_3 in Exclude<keyof I_1, keyof PairDevicesRequest>]: never; }>(object: I_1): PairDevicesRequest;
|
|
317
|
+
} & { [K_1 in Exclude<keyof I, keyof PairDevicesRequest>]: never; }>(object: I): PairDevicesRequest;
|
|
364
318
|
};
|
|
365
319
|
export declare const AllocVEIPRequest: {
|
|
366
320
|
encode(message: AllocVEIPRequest, writer?: _m0.Writer): _m0.Writer;
|
|
367
321
|
decode(input: _m0.Reader | Uint8Array, length?: number): AllocVEIPRequest;
|
|
368
322
|
fromJSON(object: any): AllocVEIPRequest;
|
|
369
323
|
toJSON(message: AllocVEIPRequest): unknown;
|
|
370
|
-
|
|
371
|
-
usage?: string;
|
|
372
|
-
subdomain?: string;
|
|
373
|
-
} & {
|
|
374
|
-
usage?: string;
|
|
375
|
-
subdomain?: string;
|
|
376
|
-
} & { [K in Exclude<keyof I, keyof AllocVEIPRequest>]: never; }>(base?: I): AllocVEIPRequest;
|
|
377
|
-
fromPartial<I_1 extends {
|
|
324
|
+
fromPartial<I extends {
|
|
378
325
|
usage?: string;
|
|
379
326
|
subdomain?: string;
|
|
380
327
|
} & {
|
|
381
328
|
usage?: string;
|
|
382
329
|
subdomain?: string;
|
|
383
|
-
} & { [
|
|
330
|
+
} & { [K in Exclude<keyof I, keyof AllocVEIPRequest>]: never; }>(object: I): AllocVEIPRequest;
|
|
384
331
|
};
|
|
385
332
|
export declare const AllocVEIPReply: {
|
|
386
333
|
encode(message: AllocVEIPReply, writer?: _m0.Writer): _m0.Writer;
|
|
387
334
|
decode(input: _m0.Reader | Uint8Array, length?: number): AllocVEIPReply;
|
|
388
335
|
fromJSON(object: any): AllocVEIPReply;
|
|
389
336
|
toJSON(message: AllocVEIPReply): unknown;
|
|
390
|
-
|
|
337
|
+
fromPartial<I extends {
|
|
391
338
|
ip?: string;
|
|
392
339
|
} & {
|
|
393
340
|
ip?: string;
|
|
394
|
-
} & { [K in Exclude<keyof I, "ip">]: never; }>(
|
|
395
|
-
fromPartial<I_1 extends {
|
|
396
|
-
ip?: string;
|
|
397
|
-
} & {
|
|
398
|
-
ip?: string;
|
|
399
|
-
} & { [K_1 in Exclude<keyof I_1, "ip">]: never; }>(object: I_1): AllocVEIPReply;
|
|
341
|
+
} & { [K in Exclude<keyof I, "ip">]: never; }>(object: I): AllocVEIPReply;
|
|
400
342
|
};
|
|
401
343
|
export declare const FreeVEIPRequest: {
|
|
402
344
|
encode(message: FreeVEIPRequest, writer?: _m0.Writer): _m0.Writer;
|
|
403
345
|
decode(input: _m0.Reader | Uint8Array, length?: number): FreeVEIPRequest;
|
|
404
346
|
fromJSON(object: any): FreeVEIPRequest;
|
|
405
347
|
toJSON(message: FreeVEIPRequest): unknown;
|
|
406
|
-
|
|
407
|
-
ip?: string;
|
|
408
|
-
waitSecond?: number;
|
|
409
|
-
} & {
|
|
410
|
-
ip?: string;
|
|
411
|
-
waitSecond?: number;
|
|
412
|
-
} & { [K in Exclude<keyof I, keyof FreeVEIPRequest>]: never; }>(base?: I): FreeVEIPRequest;
|
|
413
|
-
fromPartial<I_1 extends {
|
|
348
|
+
fromPartial<I extends {
|
|
414
349
|
ip?: string;
|
|
415
350
|
waitSecond?: number;
|
|
416
351
|
} & {
|
|
417
352
|
ip?: string;
|
|
418
353
|
waitSecond?: number;
|
|
419
|
-
} & { [
|
|
354
|
+
} & { [K in Exclude<keyof I, keyof FreeVEIPRequest>]: never; }>(object: I): FreeVEIPRequest;
|
|
420
355
|
};
|
|
421
356
|
export declare const FreeVEIPReply: {
|
|
422
357
|
encode(_: FreeVEIPReply, writer?: _m0.Writer): _m0.Writer;
|
|
423
358
|
decode(input: _m0.Reader | Uint8Array, length?: number): FreeVEIPReply;
|
|
424
359
|
fromJSON(_: any): FreeVEIPReply;
|
|
425
360
|
toJSON(_: FreeVEIPReply): unknown;
|
|
426
|
-
|
|
427
|
-
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): FreeVEIPReply;
|
|
361
|
+
fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): FreeVEIPReply;
|
|
428
362
|
};
|
|
429
363
|
export declare const AppCertRequest: {
|
|
430
364
|
encode(message: AppCertRequest, writer?: _m0.Writer): _m0.Writer;
|
|
431
365
|
decode(input: _m0.Reader | Uint8Array, length?: number): AppCertRequest;
|
|
432
366
|
fromJSON(object: any): AppCertRequest;
|
|
433
367
|
toJSON(message: AppCertRequest): unknown;
|
|
434
|
-
|
|
435
|
-
appid?: string;
|
|
436
|
-
uid?: string;
|
|
437
|
-
validSeconds?: number;
|
|
438
|
-
} & {
|
|
439
|
-
appid?: string;
|
|
440
|
-
uid?: string;
|
|
441
|
-
validSeconds?: number;
|
|
442
|
-
} & { [K in Exclude<keyof I, keyof AppCertRequest>]: never; }>(base?: I): AppCertRequest;
|
|
443
|
-
fromPartial<I_1 extends {
|
|
368
|
+
fromPartial<I extends {
|
|
444
369
|
appid?: string;
|
|
445
370
|
uid?: string;
|
|
446
371
|
validSeconds?: number;
|
|
@@ -448,23 +373,14 @@ export declare const AppCertRequest: {
|
|
|
448
373
|
appid?: string;
|
|
449
374
|
uid?: string;
|
|
450
375
|
validSeconds?: number;
|
|
451
|
-
} & { [
|
|
376
|
+
} & { [K in Exclude<keyof I, keyof AppCertRequest>]: never; }>(object: I): AppCertRequest;
|
|
452
377
|
};
|
|
453
378
|
export declare const AppCertReply: {
|
|
454
379
|
encode(message: AppCertReply, writer?: _m0.Writer): _m0.Writer;
|
|
455
380
|
decode(input: _m0.Reader | Uint8Array, length?: number): AppCertReply;
|
|
456
381
|
fromJSON(object: any): AppCertReply;
|
|
457
382
|
toJSON(message: AppCertReply): unknown;
|
|
458
|
-
|
|
459
|
-
cert?: string;
|
|
460
|
-
privateKey?: string;
|
|
461
|
-
boxCert?: string;
|
|
462
|
-
} & {
|
|
463
|
-
cert?: string;
|
|
464
|
-
privateKey?: string;
|
|
465
|
-
boxCert?: string;
|
|
466
|
-
} & { [K in Exclude<keyof I, keyof AppCertReply>]: never; }>(base?: I): AppCertReply;
|
|
467
|
-
fromPartial<I_1 extends {
|
|
383
|
+
fromPartial<I extends {
|
|
468
384
|
cert?: string;
|
|
469
385
|
privateKey?: string;
|
|
470
386
|
boxCert?: string;
|
|
@@ -472,14 +388,14 @@ export declare const AppCertReply: {
|
|
|
472
388
|
cert?: string;
|
|
473
389
|
privateKey?: string;
|
|
474
390
|
boxCert?: string;
|
|
475
|
-
} & { [
|
|
391
|
+
} & { [K in Exclude<keyof I, keyof AppCertReply>]: never; }>(object: I): AppCertReply;
|
|
476
392
|
};
|
|
477
393
|
export declare const AuthToken: {
|
|
478
394
|
encode(message: AuthToken, writer?: _m0.Writer): _m0.Writer;
|
|
479
395
|
decode(input: _m0.Reader | Uint8Array, length?: number): AuthToken;
|
|
480
396
|
fromJSON(object: any): AuthToken;
|
|
481
397
|
toJSON(message: AuthToken): unknown;
|
|
482
|
-
|
|
398
|
+
fromPartial<I extends {
|
|
483
399
|
token?: string;
|
|
484
400
|
autologinTokenPostUrl?: string;
|
|
485
401
|
accessIp?: string;
|
|
@@ -491,27 +407,14 @@ export declare const AuthToken: {
|
|
|
491
407
|
accessIp?: string;
|
|
492
408
|
autologinRedirectUrl?: string;
|
|
493
409
|
tokenType?: AuthToken_TokenType;
|
|
494
|
-
} & { [K in Exclude<keyof I, keyof AuthToken>]: never; }>(
|
|
495
|
-
fromPartial<I_1 extends {
|
|
496
|
-
token?: string;
|
|
497
|
-
autologinTokenPostUrl?: string;
|
|
498
|
-
accessIp?: string;
|
|
499
|
-
autologinRedirectUrl?: string;
|
|
500
|
-
tokenType?: AuthToken_TokenType;
|
|
501
|
-
} & {
|
|
502
|
-
token?: string;
|
|
503
|
-
autologinTokenPostUrl?: string;
|
|
504
|
-
accessIp?: string;
|
|
505
|
-
autologinRedirectUrl?: string;
|
|
506
|
-
tokenType?: AuthToken_TokenType;
|
|
507
|
-
} & { [K_1 in Exclude<keyof I_1, keyof AuthToken>]: never; }>(object: I_1): AuthToken;
|
|
410
|
+
} & { [K in Exclude<keyof I, keyof AuthToken>]: never; }>(object: I): AuthToken;
|
|
508
411
|
};
|
|
509
412
|
export declare const LoginInfo: {
|
|
510
413
|
encode(message: LoginInfo, writer?: _m0.Writer): _m0.Writer;
|
|
511
414
|
decode(input: _m0.Reader | Uint8Array, length?: number): LoginInfo;
|
|
512
415
|
fromJSON(object: any): LoginInfo;
|
|
513
416
|
toJSON(message: LoginInfo): unknown;
|
|
514
|
-
|
|
417
|
+
fromPartial<I extends {
|
|
515
418
|
uid?: string;
|
|
516
419
|
deviceId?: string;
|
|
517
420
|
when?: Date | undefined;
|
|
@@ -523,43 +426,25 @@ export declare const LoginInfo: {
|
|
|
523
426
|
when?: Date | undefined;
|
|
524
427
|
autologinTokenRequestContent?: string;
|
|
525
428
|
deviceVersion?: string;
|
|
526
|
-
} & { [K in Exclude<keyof I, keyof LoginInfo>]: never; }>(
|
|
527
|
-
fromPartial<I_1 extends {
|
|
528
|
-
uid?: string;
|
|
529
|
-
deviceId?: string;
|
|
530
|
-
when?: Date | undefined;
|
|
531
|
-
autologinTokenRequestContent?: string;
|
|
532
|
-
deviceVersion?: string;
|
|
533
|
-
} & {
|
|
534
|
-
uid?: string;
|
|
535
|
-
deviceId?: string;
|
|
536
|
-
when?: Date | undefined;
|
|
537
|
-
autologinTokenRequestContent?: string;
|
|
538
|
-
deviceVersion?: string;
|
|
539
|
-
} & { [K_1 in Exclude<keyof I_1, keyof LoginInfo>]: never; }>(object: I_1): LoginInfo;
|
|
429
|
+
} & { [K in Exclude<keyof I, keyof LoginInfo>]: never; }>(object: I): LoginInfo;
|
|
540
430
|
};
|
|
541
431
|
export declare const DeviceID: {
|
|
542
432
|
encode(message: DeviceID, writer?: _m0.Writer): _m0.Writer;
|
|
543
433
|
decode(input: _m0.Reader | Uint8Array, length?: number): DeviceID;
|
|
544
434
|
fromJSON(object: any): DeviceID;
|
|
545
435
|
toJSON(message: DeviceID): unknown;
|
|
546
|
-
|
|
547
|
-
id?: string;
|
|
548
|
-
} & {
|
|
549
|
-
id?: string;
|
|
550
|
-
} & { [K in Exclude<keyof I, "id">]: never; }>(base?: I): DeviceID;
|
|
551
|
-
fromPartial<I_1 extends {
|
|
436
|
+
fromPartial<I extends {
|
|
552
437
|
id?: string;
|
|
553
438
|
} & {
|
|
554
439
|
id?: string;
|
|
555
|
-
} & { [
|
|
440
|
+
} & { [K in Exclude<keyof I, "id">]: never; }>(object: I): DeviceID;
|
|
556
441
|
};
|
|
557
442
|
export declare const BoxInfo: {
|
|
558
443
|
encode(message: BoxInfo, writer?: _m0.Writer): _m0.Writer;
|
|
559
444
|
decode(input: _m0.Reader | Uint8Array, length?: number): BoxInfo;
|
|
560
445
|
fromJSON(object: any): BoxInfo;
|
|
561
446
|
toJSON(message: BoxInfo): unknown;
|
|
562
|
-
|
|
447
|
+
fromPartial<I extends {
|
|
563
448
|
originServer?: string;
|
|
564
449
|
virtualIp?: string;
|
|
565
450
|
boxId?: string;
|
|
@@ -575,56 +460,25 @@ export declare const BoxInfo: {
|
|
|
575
460
|
boxDomain?: string;
|
|
576
461
|
certReady?: boolean;
|
|
577
462
|
boxCert?: string;
|
|
578
|
-
} & { [K in Exclude<keyof I, keyof BoxInfo>]: never; }>(
|
|
579
|
-
fromPartial<I_1 extends {
|
|
580
|
-
originServer?: string;
|
|
581
|
-
virtualIp?: string;
|
|
582
|
-
boxId?: string;
|
|
583
|
-
boxName?: string;
|
|
584
|
-
boxDomain?: string;
|
|
585
|
-
certReady?: boolean;
|
|
586
|
-
boxCert?: string;
|
|
587
|
-
} & {
|
|
588
|
-
originServer?: string;
|
|
589
|
-
virtualIp?: string;
|
|
590
|
-
boxId?: string;
|
|
591
|
-
boxName?: string;
|
|
592
|
-
boxDomain?: string;
|
|
593
|
-
certReady?: boolean;
|
|
594
|
-
boxCert?: string;
|
|
595
|
-
} & { [K_1 in Exclude<keyof I_1, keyof BoxInfo>]: never; }>(object: I_1): BoxInfo;
|
|
463
|
+
} & { [K in Exclude<keyof I, keyof BoxInfo>]: never; }>(object: I): BoxInfo;
|
|
596
464
|
};
|
|
597
465
|
export declare const DomainCertRequest: {
|
|
598
466
|
encode(message: DomainCertRequest, writer?: _m0.Writer): _m0.Writer;
|
|
599
467
|
decode(input: _m0.Reader | Uint8Array, length?: number): DomainCertRequest;
|
|
600
468
|
fromJSON(object: any): DomainCertRequest;
|
|
601
469
|
toJSON(message: DomainCertRequest): unknown;
|
|
602
|
-
|
|
603
|
-
domain?: string;
|
|
604
|
-
} & {
|
|
605
|
-
domain?: string;
|
|
606
|
-
} & { [K in Exclude<keyof I, "domain">]: never; }>(base?: I): DomainCertRequest;
|
|
607
|
-
fromPartial<I_1 extends {
|
|
470
|
+
fromPartial<I extends {
|
|
608
471
|
domain?: string;
|
|
609
472
|
} & {
|
|
610
473
|
domain?: string;
|
|
611
|
-
} & { [
|
|
474
|
+
} & { [K in Exclude<keyof I, "domain">]: never; }>(object: I): DomainCertRequest;
|
|
612
475
|
};
|
|
613
476
|
export declare const DomainCertReply: {
|
|
614
477
|
encode(message: DomainCertReply, writer?: _m0.Writer): _m0.Writer;
|
|
615
478
|
decode(input: _m0.Reader | Uint8Array, length?: number): DomainCertReply;
|
|
616
479
|
fromJSON(object: any): DomainCertReply;
|
|
617
480
|
toJSON(message: DomainCertReply): unknown;
|
|
618
|
-
|
|
619
|
-
cert?: string;
|
|
620
|
-
key?: string;
|
|
621
|
-
ocsp?: Uint8Array;
|
|
622
|
-
} & {
|
|
623
|
-
cert?: string;
|
|
624
|
-
key?: string;
|
|
625
|
-
ocsp?: Uint8Array;
|
|
626
|
-
} & { [K in Exclude<keyof I, keyof DomainCertReply>]: never; }>(base?: I): DomainCertReply;
|
|
627
|
-
fromPartial<I_1 extends {
|
|
481
|
+
fromPartial<I extends {
|
|
628
482
|
cert?: string;
|
|
629
483
|
key?: string;
|
|
630
484
|
ocsp?: Uint8Array;
|
|
@@ -632,14 +486,14 @@ export declare const DomainCertReply: {
|
|
|
632
486
|
cert?: string;
|
|
633
487
|
key?: string;
|
|
634
488
|
ocsp?: Uint8Array;
|
|
635
|
-
} & { [
|
|
489
|
+
} & { [K in Exclude<keyof I, keyof DomainCertReply>]: never; }>(object: I): DomainCertReply;
|
|
636
490
|
};
|
|
637
491
|
export declare const Device: {
|
|
638
492
|
encode(message: Device, writer?: _m0.Writer): _m0.Writer;
|
|
639
493
|
decode(input: _m0.Reader | Uint8Array, length?: number): Device;
|
|
640
494
|
fromJSON(object: any): Device;
|
|
641
495
|
toJSON(message: Device): unknown;
|
|
642
|
-
|
|
496
|
+
fromPartial<I extends {
|
|
643
497
|
udid?: string;
|
|
644
498
|
peerId?: string;
|
|
645
499
|
isOnline?: boolean;
|
|
@@ -657,49 +511,25 @@ export declare const Device: {
|
|
|
657
511
|
model?: string;
|
|
658
512
|
bindingTime?: Date | undefined;
|
|
659
513
|
isMobile?: boolean;
|
|
660
|
-
} & { [K in Exclude<keyof I, keyof Device>]: never; }>(
|
|
661
|
-
fromPartial<I_1 extends {
|
|
662
|
-
udid?: string;
|
|
663
|
-
peerId?: string;
|
|
664
|
-
isOnline?: boolean;
|
|
665
|
-
deviceApiUrl?: string;
|
|
666
|
-
name?: string;
|
|
667
|
-
model?: string;
|
|
668
|
-
bindingTime?: Date | undefined;
|
|
669
|
-
isMobile?: boolean;
|
|
670
|
-
} & {
|
|
671
|
-
udid?: string;
|
|
672
|
-
peerId?: string;
|
|
673
|
-
isOnline?: boolean;
|
|
674
|
-
deviceApiUrl?: string;
|
|
675
|
-
name?: string;
|
|
676
|
-
model?: string;
|
|
677
|
-
bindingTime?: Date | undefined;
|
|
678
|
-
isMobile?: boolean;
|
|
679
|
-
} & { [K_1 in Exclude<keyof I_1, keyof Device>]: never; }>(object: I_1): Device;
|
|
514
|
+
} & { [K in Exclude<keyof I, keyof Device>]: never; }>(object: I): Device;
|
|
680
515
|
};
|
|
681
516
|
export declare const ListDeviceRequest: {
|
|
682
517
|
encode(message: ListDeviceRequest, writer?: _m0.Writer): _m0.Writer;
|
|
683
518
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListDeviceRequest;
|
|
684
519
|
fromJSON(object: any): ListDeviceRequest;
|
|
685
520
|
toJSON(message: ListDeviceRequest): unknown;
|
|
686
|
-
|
|
521
|
+
fromPartial<I extends {
|
|
687
522
|
uid?: string;
|
|
688
523
|
} & {
|
|
689
524
|
uid?: string;
|
|
690
|
-
} & { [K in Exclude<keyof I, "uid">]: never; }>(
|
|
691
|
-
fromPartial<I_1 extends {
|
|
692
|
-
uid?: string;
|
|
693
|
-
} & {
|
|
694
|
-
uid?: string;
|
|
695
|
-
} & { [K_1 in Exclude<keyof I_1, "uid">]: never; }>(object: I_1): ListDeviceRequest;
|
|
525
|
+
} & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): ListDeviceRequest;
|
|
696
526
|
};
|
|
697
527
|
export declare const ListDeviceReply: {
|
|
698
528
|
encode(message: ListDeviceReply, writer?: _m0.Writer): _m0.Writer;
|
|
699
529
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListDeviceReply;
|
|
700
530
|
fromJSON(object: any): ListDeviceReply;
|
|
701
531
|
toJSON(message: ListDeviceReply): unknown;
|
|
702
|
-
|
|
532
|
+
fromPartial<I extends {
|
|
703
533
|
devices?: {
|
|
704
534
|
udid?: string;
|
|
705
535
|
peerId?: string;
|
|
@@ -748,129 +578,51 @@ export declare const ListDeviceReply: {
|
|
|
748
578
|
bindingTime?: Date | undefined;
|
|
749
579
|
isMobile?: boolean;
|
|
750
580
|
}[]>]: never; };
|
|
751
|
-
} & { [K_2 in Exclude<keyof I, "devices">]: never; }>(
|
|
752
|
-
fromPartial<I_1 extends {
|
|
753
|
-
devices?: {
|
|
754
|
-
udid?: string;
|
|
755
|
-
peerId?: string;
|
|
756
|
-
isOnline?: boolean;
|
|
757
|
-
deviceApiUrl?: string;
|
|
758
|
-
name?: string;
|
|
759
|
-
model?: string;
|
|
760
|
-
bindingTime?: Date | undefined;
|
|
761
|
-
isMobile?: boolean;
|
|
762
|
-
}[];
|
|
763
|
-
} & {
|
|
764
|
-
devices?: {
|
|
765
|
-
udid?: string;
|
|
766
|
-
peerId?: string;
|
|
767
|
-
isOnline?: boolean;
|
|
768
|
-
deviceApiUrl?: string;
|
|
769
|
-
name?: string;
|
|
770
|
-
model?: string;
|
|
771
|
-
bindingTime?: Date | undefined;
|
|
772
|
-
isMobile?: boolean;
|
|
773
|
-
}[] & ({
|
|
774
|
-
udid?: string;
|
|
775
|
-
peerId?: string;
|
|
776
|
-
isOnline?: boolean;
|
|
777
|
-
deviceApiUrl?: string;
|
|
778
|
-
name?: string;
|
|
779
|
-
model?: string;
|
|
780
|
-
bindingTime?: Date | undefined;
|
|
781
|
-
isMobile?: boolean;
|
|
782
|
-
} & {
|
|
783
|
-
udid?: string;
|
|
784
|
-
peerId?: string;
|
|
785
|
-
isOnline?: boolean;
|
|
786
|
-
deviceApiUrl?: string;
|
|
787
|
-
name?: string;
|
|
788
|
-
model?: string;
|
|
789
|
-
bindingTime?: Date | undefined;
|
|
790
|
-
isMobile?: boolean;
|
|
791
|
-
} & { [K_3 in Exclude<keyof I_1["devices"][number], keyof Device>]: never; })[] & { [K_4 in Exclude<keyof I_1["devices"], keyof {
|
|
792
|
-
udid?: string;
|
|
793
|
-
peerId?: string;
|
|
794
|
-
isOnline?: boolean;
|
|
795
|
-
deviceApiUrl?: string;
|
|
796
|
-
name?: string;
|
|
797
|
-
model?: string;
|
|
798
|
-
bindingTime?: Date | undefined;
|
|
799
|
-
isMobile?: boolean;
|
|
800
|
-
}[]>]: never; };
|
|
801
|
-
} & { [K_5 in Exclude<keyof I_1, "devices">]: never; }>(object: I_1): ListDeviceReply;
|
|
581
|
+
} & { [K_2 in Exclude<keyof I, "devices">]: never; }>(object: I): ListDeviceReply;
|
|
802
582
|
};
|
|
803
583
|
export declare const UserID: {
|
|
804
584
|
encode(message: UserID, writer?: _m0.Writer): _m0.Writer;
|
|
805
585
|
decode(input: _m0.Reader | Uint8Array, length?: number): UserID;
|
|
806
586
|
fromJSON(object: any): UserID;
|
|
807
587
|
toJSON(message: UserID): unknown;
|
|
808
|
-
|
|
809
|
-
uid?: string;
|
|
810
|
-
} & {
|
|
811
|
-
uid?: string;
|
|
812
|
-
} & { [K in Exclude<keyof I, "uid">]: never; }>(base?: I): UserID;
|
|
813
|
-
fromPartial<I_1 extends {
|
|
588
|
+
fromPartial<I extends {
|
|
814
589
|
uid?: string;
|
|
815
590
|
} & {
|
|
816
591
|
uid?: string;
|
|
817
|
-
} & { [
|
|
592
|
+
} & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): UserID;
|
|
818
593
|
};
|
|
819
594
|
export declare const ChangeRoleReqeust: {
|
|
820
595
|
encode(message: ChangeRoleReqeust, writer?: _m0.Writer): _m0.Writer;
|
|
821
596
|
decode(input: _m0.Reader | Uint8Array, length?: number): ChangeRoleReqeust;
|
|
822
597
|
fromJSON(object: any): ChangeRoleReqeust;
|
|
823
598
|
toJSON(message: ChangeRoleReqeust): unknown;
|
|
824
|
-
|
|
599
|
+
fromPartial<I extends {
|
|
825
600
|
uid?: string;
|
|
826
601
|
role?: Role;
|
|
827
602
|
} & {
|
|
828
603
|
uid?: string;
|
|
829
604
|
role?: Role;
|
|
830
|
-
} & { [K in Exclude<keyof I, keyof ChangeRoleReqeust>]: never; }>(
|
|
831
|
-
fromPartial<I_1 extends {
|
|
832
|
-
uid?: string;
|
|
833
|
-
role?: Role;
|
|
834
|
-
} & {
|
|
835
|
-
uid?: string;
|
|
836
|
-
role?: Role;
|
|
837
|
-
} & { [K_1 in Exclude<keyof I_1, keyof ChangeRoleReqeust>]: never; }>(object: I_1): ChangeRoleReqeust;
|
|
605
|
+
} & { [K in Exclude<keyof I, keyof ChangeRoleReqeust>]: never; }>(object: I): ChangeRoleReqeust;
|
|
838
606
|
};
|
|
839
607
|
export declare const QueryRoleReply: {
|
|
840
608
|
encode(message: QueryRoleReply, writer?: _m0.Writer): _m0.Writer;
|
|
841
609
|
decode(input: _m0.Reader | Uint8Array, length?: number): QueryRoleReply;
|
|
842
610
|
fromJSON(object: any): QueryRoleReply;
|
|
843
611
|
toJSON(message: QueryRoleReply): unknown;
|
|
844
|
-
|
|
845
|
-
uid?: string;
|
|
846
|
-
role?: Role;
|
|
847
|
-
} & {
|
|
848
|
-
uid?: string;
|
|
849
|
-
role?: Role;
|
|
850
|
-
} & { [K in Exclude<keyof I, keyof QueryRoleReply>]: never; }>(base?: I): QueryRoleReply;
|
|
851
|
-
fromPartial<I_1 extends {
|
|
612
|
+
fromPartial<I extends {
|
|
852
613
|
uid?: string;
|
|
853
614
|
role?: Role;
|
|
854
615
|
} & {
|
|
855
616
|
uid?: string;
|
|
856
617
|
role?: Role;
|
|
857
|
-
} & { [
|
|
618
|
+
} & { [K in Exclude<keyof I, keyof QueryRoleReply>]: never; }>(object: I): QueryRoleReply;
|
|
858
619
|
};
|
|
859
620
|
export declare const ResetPasswordRequest: {
|
|
860
621
|
encode(message: ResetPasswordRequest, writer?: _m0.Writer): _m0.Writer;
|
|
861
622
|
decode(input: _m0.Reader | Uint8Array, length?: number): ResetPasswordRequest;
|
|
862
623
|
fromJSON(object: any): ResetPasswordRequest;
|
|
863
624
|
toJSON(message: ResetPasswordRequest): unknown;
|
|
864
|
-
|
|
865
|
-
uid?: string;
|
|
866
|
-
oldPassword?: string;
|
|
867
|
-
newPassword?: string;
|
|
868
|
-
} & {
|
|
869
|
-
uid?: string;
|
|
870
|
-
oldPassword?: string;
|
|
871
|
-
newPassword?: string;
|
|
872
|
-
} & { [K in Exclude<keyof I, keyof ResetPasswordRequest>]: never; }>(base?: I): ResetPasswordRequest;
|
|
873
|
-
fromPartial<I_1 extends {
|
|
625
|
+
fromPartial<I extends {
|
|
874
626
|
uid?: string;
|
|
875
627
|
oldPassword?: string;
|
|
876
628
|
newPassword?: string;
|
|
@@ -878,39 +630,25 @@ export declare const ResetPasswordRequest: {
|
|
|
878
630
|
uid?: string;
|
|
879
631
|
oldPassword?: string;
|
|
880
632
|
newPassword?: string;
|
|
881
|
-
} & { [
|
|
633
|
+
} & { [K in Exclude<keyof I, keyof ResetPasswordRequest>]: never; }>(object: I): ResetPasswordRequest;
|
|
882
634
|
};
|
|
883
635
|
export declare const DeleteUserRequest: {
|
|
884
636
|
encode(message: DeleteUserRequest, writer?: _m0.Writer): _m0.Writer;
|
|
885
637
|
decode(input: _m0.Reader | Uint8Array, length?: number): DeleteUserRequest;
|
|
886
638
|
fromJSON(object: any): DeleteUserRequest;
|
|
887
639
|
toJSON(message: DeleteUserRequest): unknown;
|
|
888
|
-
|
|
640
|
+
fromPartial<I extends {
|
|
889
641
|
uid?: string;
|
|
890
642
|
} & {
|
|
891
643
|
uid?: string;
|
|
892
|
-
} & { [K in Exclude<keyof I, "uid">]: never; }>(
|
|
893
|
-
fromPartial<I_1 extends {
|
|
894
|
-
uid?: string;
|
|
895
|
-
} & {
|
|
896
|
-
uid?: string;
|
|
897
|
-
} & { [K_1 in Exclude<keyof I_1, "uid">]: never; }>(object: I_1): DeleteUserRequest;
|
|
644
|
+
} & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): DeleteUserRequest;
|
|
898
645
|
};
|
|
899
646
|
export declare const CreateUserRequest: {
|
|
900
647
|
encode(message: CreateUserRequest, writer?: _m0.Writer): _m0.Writer;
|
|
901
648
|
decode(input: _m0.Reader | Uint8Array, length?: number): CreateUserRequest;
|
|
902
649
|
fromJSON(object: any): CreateUserRequest;
|
|
903
650
|
toJSON(message: CreateUserRequest): unknown;
|
|
904
|
-
|
|
905
|
-
uid?: string;
|
|
906
|
-
password?: string;
|
|
907
|
-
role?: Role;
|
|
908
|
-
} & {
|
|
909
|
-
uid?: string;
|
|
910
|
-
password?: string;
|
|
911
|
-
role?: Role;
|
|
912
|
-
} & { [K in Exclude<keyof I, keyof CreateUserRequest>]: never; }>(base?: I): CreateUserRequest;
|
|
913
|
-
fromPartial<I_1 extends {
|
|
651
|
+
fromPartial<I extends {
|
|
914
652
|
uid?: string;
|
|
915
653
|
password?: string;
|
|
916
654
|
role?: Role;
|
|
@@ -918,43 +656,27 @@ export declare const CreateUserRequest: {
|
|
|
918
656
|
uid?: string;
|
|
919
657
|
password?: string;
|
|
920
658
|
role?: Role;
|
|
921
|
-
} & { [
|
|
659
|
+
} & { [K in Exclude<keyof I, keyof CreateUserRequest>]: never; }>(object: I): CreateUserRequest;
|
|
922
660
|
};
|
|
923
661
|
export declare const ForceResetPasswordRequest: {
|
|
924
662
|
encode(message: ForceResetPasswordRequest, writer?: _m0.Writer): _m0.Writer;
|
|
925
663
|
decode(input: _m0.Reader | Uint8Array, length?: number): ForceResetPasswordRequest;
|
|
926
664
|
fromJSON(object: any): ForceResetPasswordRequest;
|
|
927
665
|
toJSON(message: ForceResetPasswordRequest): unknown;
|
|
928
|
-
|
|
929
|
-
uid?: string;
|
|
930
|
-
newPassword?: string;
|
|
931
|
-
} & {
|
|
932
|
-
uid?: string;
|
|
933
|
-
newPassword?: string;
|
|
934
|
-
} & { [K in Exclude<keyof I, keyof ForceResetPasswordRequest>]: never; }>(base?: I): ForceResetPasswordRequest;
|
|
935
|
-
fromPartial<I_1 extends {
|
|
666
|
+
fromPartial<I extends {
|
|
936
667
|
uid?: string;
|
|
937
668
|
newPassword?: string;
|
|
938
669
|
} & {
|
|
939
670
|
uid?: string;
|
|
940
671
|
newPassword?: string;
|
|
941
|
-
} & { [
|
|
672
|
+
} & { [K in Exclude<keyof I, keyof ForceResetPasswordRequest>]: never; }>(object: I): ForceResetPasswordRequest;
|
|
942
673
|
};
|
|
943
674
|
export declare const LogoutRequest: {
|
|
944
675
|
encode(message: LogoutRequest, writer?: _m0.Writer): _m0.Writer;
|
|
945
676
|
decode(input: _m0.Reader | Uint8Array, length?: number): LogoutRequest;
|
|
946
677
|
fromJSON(object: any): LogoutRequest;
|
|
947
678
|
toJSON(message: LogoutRequest): unknown;
|
|
948
|
-
|
|
949
|
-
uid?: string;
|
|
950
|
-
udid?: string;
|
|
951
|
-
reason?: LogoutRequest_Reason;
|
|
952
|
-
} & {
|
|
953
|
-
uid?: string;
|
|
954
|
-
udid?: string;
|
|
955
|
-
reason?: LogoutRequest_Reason;
|
|
956
|
-
} & { [K in Exclude<keyof I, keyof LogoutRequest>]: never; }>(base?: I): LogoutRequest;
|
|
957
|
-
fromPartial<I_1 extends {
|
|
679
|
+
fromPartial<I extends {
|
|
958
680
|
uid?: string;
|
|
959
681
|
udid?: string;
|
|
960
682
|
reason?: LogoutRequest_Reason;
|
|
@@ -962,47 +684,33 @@ export declare const LogoutRequest: {
|
|
|
962
684
|
uid?: string;
|
|
963
685
|
udid?: string;
|
|
964
686
|
reason?: LogoutRequest_Reason;
|
|
965
|
-
} & { [
|
|
687
|
+
} & { [K in Exclude<keyof I, keyof LogoutRequest>]: never; }>(object: I): LogoutRequest;
|
|
966
688
|
};
|
|
967
689
|
export declare const CheckPasswordRequest: {
|
|
968
690
|
encode(message: CheckPasswordRequest, writer?: _m0.Writer): _m0.Writer;
|
|
969
691
|
decode(input: _m0.Reader | Uint8Array, length?: number): CheckPasswordRequest;
|
|
970
692
|
fromJSON(object: any): CheckPasswordRequest;
|
|
971
693
|
toJSON(message: CheckPasswordRequest): unknown;
|
|
972
|
-
|
|
973
|
-
uid?: string;
|
|
974
|
-
password?: string;
|
|
975
|
-
} & {
|
|
976
|
-
uid?: string;
|
|
977
|
-
password?: string;
|
|
978
|
-
} & { [K in Exclude<keyof I, keyof CheckPasswordRequest>]: never; }>(base?: I): CheckPasswordRequest;
|
|
979
|
-
fromPartial<I_1 extends {
|
|
694
|
+
fromPartial<I extends {
|
|
980
695
|
uid?: string;
|
|
981
696
|
password?: string;
|
|
982
697
|
} & {
|
|
983
698
|
uid?: string;
|
|
984
699
|
password?: string;
|
|
985
|
-
} & { [
|
|
700
|
+
} & { [K in Exclude<keyof I, keyof CheckPasswordRequest>]: never; }>(object: I): CheckPasswordRequest;
|
|
986
701
|
};
|
|
987
702
|
export declare const TrustUserDeviceRequest: {
|
|
988
703
|
encode(message: TrustUserDeviceRequest, writer?: _m0.Writer): _m0.Writer;
|
|
989
704
|
decode(input: _m0.Reader | Uint8Array, length?: number): TrustUserDeviceRequest;
|
|
990
705
|
fromJSON(object: any): TrustUserDeviceRequest;
|
|
991
706
|
toJSON(message: TrustUserDeviceRequest): unknown;
|
|
992
|
-
|
|
993
|
-
udid?: string;
|
|
994
|
-
user?: string;
|
|
995
|
-
} & {
|
|
996
|
-
udid?: string;
|
|
997
|
-
user?: string;
|
|
998
|
-
} & { [K in Exclude<keyof I, keyof TrustUserDeviceRequest>]: never; }>(base?: I): TrustUserDeviceRequest;
|
|
999
|
-
fromPartial<I_1 extends {
|
|
707
|
+
fromPartial<I extends {
|
|
1000
708
|
udid?: string;
|
|
1001
709
|
user?: string;
|
|
1002
710
|
} & {
|
|
1003
711
|
udid?: string;
|
|
1004
712
|
user?: string;
|
|
1005
|
-
} & { [
|
|
713
|
+
} & { [K in Exclude<keyof I, keyof TrustUserDeviceRequest>]: never; }>(object: I): TrustUserDeviceRequest;
|
|
1006
714
|
};
|
|
1007
715
|
export interface HPortalSys {
|
|
1008
716
|
/** 用auth-token反向查询登陆的设备以及UID */
|
|
@@ -1110,7 +818,7 @@ interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any>
|
|
|
1110
818
|
requestStream: any;
|
|
1111
819
|
responseStream: any;
|
|
1112
820
|
}
|
|
1113
|
-
type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
|
|
821
|
+
declare type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
|
|
1114
822
|
interface Rpc {
|
|
1115
823
|
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Promise<any>;
|
|
1116
824
|
invoke<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Observable<any>;
|
|
@@ -1128,12 +836,11 @@ export declare class GrpcWebImpl {
|
|
|
1128
836
|
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Promise<any>;
|
|
1129
837
|
invoke<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Observable<any>;
|
|
1130
838
|
}
|
|
1131
|
-
declare
|
|
1132
|
-
type
|
|
1133
|
-
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 {} ? {
|
|
839
|
+
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
840
|
+
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 {} ? {
|
|
1134
841
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1135
842
|
} : Partial<T>;
|
|
1136
|
-
export declare class GrpcWebError extends
|
|
843
|
+
export declare class GrpcWebError extends Error {
|
|
1137
844
|
code: grpc.Code;
|
|
1138
845
|
metadata: grpc.Metadata;
|
|
1139
846
|
constructor(message: string, code: grpc.Code, metadata: grpc.Metadata);
|