@lazycatcloud/sdk 0.1.168 → 0.1.169
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/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 -851
- package/dist/common/filetrans.d.ts.map +1 -1
- package/dist/common/filetrans.js +162 -408
- 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 +2 -21
- package/dist/common/message.d.ts.map +1 -1
- package/dist/common/message.js +14 -42
- 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 -104
- package/dist/common/users.d.ts.map +1 -1
- package/dist/common/users.js +87 -239
- 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/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -29
- package/dist/index.js.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 +63 -376
- package/dist/sys/portal-server/portal-server.d.ts.map +1 -1
- package/dist/sys/portal-server/portal-server.js +250 -706
- package/dist/sys/portal-server/portal-server.js.map +1 -1
- 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
|
@@ -230,52 +230,36 @@ export interface CheckPasswordRequest {
|
|
|
230
230
|
uid: string;
|
|
231
231
|
password: string;
|
|
232
232
|
}
|
|
233
|
-
export interface TrustUserDeviceRequest {
|
|
234
|
-
udid: string;
|
|
235
|
-
user: string;
|
|
236
|
-
}
|
|
237
233
|
export declare const RemoteSocksRequest: {
|
|
238
234
|
encode(message: RemoteSocksRequest, writer?: _m0.Writer): _m0.Writer;
|
|
239
235
|
decode(input: _m0.Reader | Uint8Array, length?: number): RemoteSocksRequest;
|
|
240
236
|
fromJSON(object: any): RemoteSocksRequest;
|
|
241
237
|
toJSON(message: RemoteSocksRequest): unknown;
|
|
242
|
-
|
|
243
|
-
locationType?: RemoteSocksRequest_LocationType;
|
|
244
|
-
target?: string;
|
|
245
|
-
} & {
|
|
246
|
-
locationType?: RemoteSocksRequest_LocationType;
|
|
247
|
-
target?: string;
|
|
248
|
-
} & { [K in Exclude<keyof I, keyof RemoteSocksRequest>]: never; }>(base?: I): RemoteSocksRequest;
|
|
249
|
-
fromPartial<I_1 extends {
|
|
238
|
+
fromPartial<I extends {
|
|
250
239
|
locationType?: RemoteSocksRequest_LocationType;
|
|
251
240
|
target?: string;
|
|
252
241
|
} & {
|
|
253
242
|
locationType?: RemoteSocksRequest_LocationType;
|
|
254
243
|
target?: string;
|
|
255
|
-
} & { [
|
|
244
|
+
} & { [K in Exclude<keyof I, keyof RemoteSocksRequest>]: never; }>(object: I): RemoteSocksRequest;
|
|
256
245
|
};
|
|
257
246
|
export declare const RemoteSocksReply: {
|
|
258
247
|
encode(message: RemoteSocksReply, writer?: _m0.Writer): _m0.Writer;
|
|
259
248
|
decode(input: _m0.Reader | Uint8Array, length?: number): RemoteSocksReply;
|
|
260
249
|
fromJSON(object: any): RemoteSocksReply;
|
|
261
250
|
toJSON(message: RemoteSocksReply): unknown;
|
|
262
|
-
|
|
251
|
+
fromPartial<I extends {
|
|
263
252
|
serverUrl?: string;
|
|
264
253
|
} & {
|
|
265
254
|
serverUrl?: string;
|
|
266
|
-
} & { [K in Exclude<keyof I, "serverUrl">]: never; }>(
|
|
267
|
-
fromPartial<I_1 extends {
|
|
268
|
-
serverUrl?: string;
|
|
269
|
-
} & {
|
|
270
|
-
serverUrl?: string;
|
|
271
|
-
} & { [K_1 in Exclude<keyof I_1, "serverUrl">]: never; }>(object: I_1): RemoteSocksReply;
|
|
255
|
+
} & { [K in Exclude<keyof I, "serverUrl">]: never; }>(object: I): RemoteSocksReply;
|
|
272
256
|
};
|
|
273
257
|
export declare const GenUserInvitationRequest: {
|
|
274
258
|
encode(message: GenUserInvitationRequest, writer?: _m0.Writer): _m0.Writer;
|
|
275
259
|
decode(input: _m0.Reader | Uint8Array, length?: number): GenUserInvitationRequest;
|
|
276
260
|
fromJSON(object: any): GenUserInvitationRequest;
|
|
277
261
|
toJSON(message: GenUserInvitationRequest): unknown;
|
|
278
|
-
|
|
262
|
+
fromPartial<I extends {
|
|
279
263
|
limitUid?: string | undefined;
|
|
280
264
|
notAfter?: Date | undefined;
|
|
281
265
|
limitUsageCount?: number | undefined;
|
|
@@ -291,156 +275,93 @@ export declare const GenUserInvitationRequest: {
|
|
|
291
275
|
allowInstallApp?: boolean | undefined;
|
|
292
276
|
enableAllowList?: boolean | undefined;
|
|
293
277
|
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;
|
|
278
|
+
} & { [K_1 in Exclude<keyof I, keyof GenUserInvitationRequest>]: never; }>(object: I): GenUserInvitationRequest;
|
|
312
279
|
};
|
|
313
280
|
export declare const UserInvitation: {
|
|
314
281
|
encode(message: UserInvitation, writer?: _m0.Writer): _m0.Writer;
|
|
315
282
|
decode(input: _m0.Reader | Uint8Array, length?: number): UserInvitation;
|
|
316
283
|
fromJSON(object: any): UserInvitation;
|
|
317
284
|
toJSON(message: UserInvitation): unknown;
|
|
318
|
-
|
|
285
|
+
fromPartial<I extends {
|
|
319
286
|
token?: string;
|
|
320
287
|
} & {
|
|
321
288
|
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;
|
|
289
|
+
} & { [K in Exclude<keyof I, "token">]: never; }>(object: I): UserInvitation;
|
|
328
290
|
};
|
|
329
291
|
export declare const ListUsersReply: {
|
|
330
292
|
encode(message: ListUsersReply, writer?: _m0.Writer): _m0.Writer;
|
|
331
293
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListUsersReply;
|
|
332
294
|
fromJSON(object: any): ListUsersReply;
|
|
333
295
|
toJSON(message: ListUsersReply): unknown;
|
|
334
|
-
|
|
296
|
+
fromPartial<I extends {
|
|
335
297
|
uids?: string[];
|
|
336
298
|
} & {
|
|
337
299
|
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;
|
|
300
|
+
} & { [K_1 in Exclude<keyof I, "uids">]: never; }>(object: I): ListUsersReply;
|
|
344
301
|
};
|
|
345
302
|
export declare const PairDevicesRequest: {
|
|
346
303
|
encode(message: PairDevicesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
347
304
|
decode(input: _m0.Reader | Uint8Array, length?: number): PairDevicesRequest;
|
|
348
305
|
fromJSON(object: any): PairDevicesRequest;
|
|
349
306
|
toJSON(message: PairDevicesRequest): unknown;
|
|
350
|
-
|
|
307
|
+
fromPartial<I extends {
|
|
351
308
|
srcId?: string;
|
|
352
309
|
otherIds?: string[];
|
|
353
310
|
} & {
|
|
354
311
|
srcId?: string;
|
|
355
312
|
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;
|
|
313
|
+
} & { [K_1 in Exclude<keyof I, keyof PairDevicesRequest>]: never; }>(object: I): PairDevicesRequest;
|
|
364
314
|
};
|
|
365
315
|
export declare const AllocVEIPRequest: {
|
|
366
316
|
encode(message: AllocVEIPRequest, writer?: _m0.Writer): _m0.Writer;
|
|
367
317
|
decode(input: _m0.Reader | Uint8Array, length?: number): AllocVEIPRequest;
|
|
368
318
|
fromJSON(object: any): AllocVEIPRequest;
|
|
369
319
|
toJSON(message: AllocVEIPRequest): unknown;
|
|
370
|
-
|
|
320
|
+
fromPartial<I extends {
|
|
371
321
|
usage?: string;
|
|
372
322
|
subdomain?: string;
|
|
373
323
|
} & {
|
|
374
324
|
usage?: string;
|
|
375
325
|
subdomain?: string;
|
|
376
|
-
} & { [K in Exclude<keyof I, keyof AllocVEIPRequest>]: never; }>(
|
|
377
|
-
fromPartial<I_1 extends {
|
|
378
|
-
usage?: string;
|
|
379
|
-
subdomain?: string;
|
|
380
|
-
} & {
|
|
381
|
-
usage?: string;
|
|
382
|
-
subdomain?: string;
|
|
383
|
-
} & { [K_1 in Exclude<keyof I_1, keyof AllocVEIPRequest>]: never; }>(object: I_1): AllocVEIPRequest;
|
|
326
|
+
} & { [K in Exclude<keyof I, keyof AllocVEIPRequest>]: never; }>(object: I): AllocVEIPRequest;
|
|
384
327
|
};
|
|
385
328
|
export declare const AllocVEIPReply: {
|
|
386
329
|
encode(message: AllocVEIPReply, writer?: _m0.Writer): _m0.Writer;
|
|
387
330
|
decode(input: _m0.Reader | Uint8Array, length?: number): AllocVEIPReply;
|
|
388
331
|
fromJSON(object: any): AllocVEIPReply;
|
|
389
332
|
toJSON(message: AllocVEIPReply): unknown;
|
|
390
|
-
|
|
391
|
-
ip?: string;
|
|
392
|
-
} & {
|
|
393
|
-
ip?: string;
|
|
394
|
-
} & { [K in Exclude<keyof I, "ip">]: never; }>(base?: I): AllocVEIPReply;
|
|
395
|
-
fromPartial<I_1 extends {
|
|
333
|
+
fromPartial<I extends {
|
|
396
334
|
ip?: string;
|
|
397
335
|
} & {
|
|
398
336
|
ip?: string;
|
|
399
|
-
} & { [
|
|
337
|
+
} & { [K in Exclude<keyof I, "ip">]: never; }>(object: I): AllocVEIPReply;
|
|
400
338
|
};
|
|
401
339
|
export declare const FreeVEIPRequest: {
|
|
402
340
|
encode(message: FreeVEIPRequest, writer?: _m0.Writer): _m0.Writer;
|
|
403
341
|
decode(input: _m0.Reader | Uint8Array, length?: number): FreeVEIPRequest;
|
|
404
342
|
fromJSON(object: any): FreeVEIPRequest;
|
|
405
343
|
toJSON(message: FreeVEIPRequest): unknown;
|
|
406
|
-
|
|
344
|
+
fromPartial<I extends {
|
|
407
345
|
ip?: string;
|
|
408
346
|
waitSecond?: number;
|
|
409
347
|
} & {
|
|
410
348
|
ip?: string;
|
|
411
349
|
waitSecond?: number;
|
|
412
|
-
} & { [K in Exclude<keyof I, keyof FreeVEIPRequest>]: never; }>(
|
|
413
|
-
fromPartial<I_1 extends {
|
|
414
|
-
ip?: string;
|
|
415
|
-
waitSecond?: number;
|
|
416
|
-
} & {
|
|
417
|
-
ip?: string;
|
|
418
|
-
waitSecond?: number;
|
|
419
|
-
} & { [K_1 in Exclude<keyof I_1, keyof FreeVEIPRequest>]: never; }>(object: I_1): FreeVEIPRequest;
|
|
350
|
+
} & { [K in Exclude<keyof I, keyof FreeVEIPRequest>]: never; }>(object: I): FreeVEIPRequest;
|
|
420
351
|
};
|
|
421
352
|
export declare const FreeVEIPReply: {
|
|
422
353
|
encode(_: FreeVEIPReply, writer?: _m0.Writer): _m0.Writer;
|
|
423
354
|
decode(input: _m0.Reader | Uint8Array, length?: number): FreeVEIPReply;
|
|
424
355
|
fromJSON(_: any): FreeVEIPReply;
|
|
425
356
|
toJSON(_: FreeVEIPReply): unknown;
|
|
426
|
-
|
|
427
|
-
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): FreeVEIPReply;
|
|
357
|
+
fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): FreeVEIPReply;
|
|
428
358
|
};
|
|
429
359
|
export declare const AppCertRequest: {
|
|
430
360
|
encode(message: AppCertRequest, writer?: _m0.Writer): _m0.Writer;
|
|
431
361
|
decode(input: _m0.Reader | Uint8Array, length?: number): AppCertRequest;
|
|
432
362
|
fromJSON(object: any): AppCertRequest;
|
|
433
363
|
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 {
|
|
364
|
+
fromPartial<I extends {
|
|
444
365
|
appid?: string;
|
|
445
366
|
uid?: string;
|
|
446
367
|
validSeconds?: number;
|
|
@@ -448,23 +369,14 @@ export declare const AppCertRequest: {
|
|
|
448
369
|
appid?: string;
|
|
449
370
|
uid?: string;
|
|
450
371
|
validSeconds?: number;
|
|
451
|
-
} & { [
|
|
372
|
+
} & { [K in Exclude<keyof I, keyof AppCertRequest>]: never; }>(object: I): AppCertRequest;
|
|
452
373
|
};
|
|
453
374
|
export declare const AppCertReply: {
|
|
454
375
|
encode(message: AppCertReply, writer?: _m0.Writer): _m0.Writer;
|
|
455
376
|
decode(input: _m0.Reader | Uint8Array, length?: number): AppCertReply;
|
|
456
377
|
fromJSON(object: any): AppCertReply;
|
|
457
378
|
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 {
|
|
379
|
+
fromPartial<I extends {
|
|
468
380
|
cert?: string;
|
|
469
381
|
privateKey?: string;
|
|
470
382
|
boxCert?: string;
|
|
@@ -472,14 +384,14 @@ export declare const AppCertReply: {
|
|
|
472
384
|
cert?: string;
|
|
473
385
|
privateKey?: string;
|
|
474
386
|
boxCert?: string;
|
|
475
|
-
} & { [
|
|
387
|
+
} & { [K in Exclude<keyof I, keyof AppCertReply>]: never; }>(object: I): AppCertReply;
|
|
476
388
|
};
|
|
477
389
|
export declare const AuthToken: {
|
|
478
390
|
encode(message: AuthToken, writer?: _m0.Writer): _m0.Writer;
|
|
479
391
|
decode(input: _m0.Reader | Uint8Array, length?: number): AuthToken;
|
|
480
392
|
fromJSON(object: any): AuthToken;
|
|
481
393
|
toJSON(message: AuthToken): unknown;
|
|
482
|
-
|
|
394
|
+
fromPartial<I extends {
|
|
483
395
|
token?: string;
|
|
484
396
|
autologinTokenPostUrl?: string;
|
|
485
397
|
accessIp?: string;
|
|
@@ -491,27 +403,14 @@ export declare const AuthToken: {
|
|
|
491
403
|
accessIp?: string;
|
|
492
404
|
autologinRedirectUrl?: string;
|
|
493
405
|
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;
|
|
406
|
+
} & { [K in Exclude<keyof I, keyof AuthToken>]: never; }>(object: I): AuthToken;
|
|
508
407
|
};
|
|
509
408
|
export declare const LoginInfo: {
|
|
510
409
|
encode(message: LoginInfo, writer?: _m0.Writer): _m0.Writer;
|
|
511
410
|
decode(input: _m0.Reader | Uint8Array, length?: number): LoginInfo;
|
|
512
411
|
fromJSON(object: any): LoginInfo;
|
|
513
412
|
toJSON(message: LoginInfo): unknown;
|
|
514
|
-
|
|
413
|
+
fromPartial<I extends {
|
|
515
414
|
uid?: string;
|
|
516
415
|
deviceId?: string;
|
|
517
416
|
when?: Date | undefined;
|
|
@@ -523,60 +422,25 @@ export declare const LoginInfo: {
|
|
|
523
422
|
when?: Date | undefined;
|
|
524
423
|
autologinTokenRequestContent?: string;
|
|
525
424
|
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;
|
|
425
|
+
} & { [K in Exclude<keyof I, keyof LoginInfo>]: never; }>(object: I): LoginInfo;
|
|
540
426
|
};
|
|
541
427
|
export declare const DeviceID: {
|
|
542
428
|
encode(message: DeviceID, writer?: _m0.Writer): _m0.Writer;
|
|
543
429
|
decode(input: _m0.Reader | Uint8Array, length?: number): DeviceID;
|
|
544
430
|
fromJSON(object: any): DeviceID;
|
|
545
431
|
toJSON(message: DeviceID): unknown;
|
|
546
|
-
|
|
432
|
+
fromPartial<I extends {
|
|
547
433
|
id?: string;
|
|
548
434
|
} & {
|
|
549
435
|
id?: string;
|
|
550
|
-
} & { [K in Exclude<keyof I, "id">]: never; }>(
|
|
551
|
-
fromPartial<I_1 extends {
|
|
552
|
-
id?: string;
|
|
553
|
-
} & {
|
|
554
|
-
id?: string;
|
|
555
|
-
} & { [K_1 in Exclude<keyof I_1, "id">]: never; }>(object: I_1): DeviceID;
|
|
436
|
+
} & { [K in Exclude<keyof I, "id">]: never; }>(object: I): DeviceID;
|
|
556
437
|
};
|
|
557
438
|
export declare const BoxInfo: {
|
|
558
439
|
encode(message: BoxInfo, writer?: _m0.Writer): _m0.Writer;
|
|
559
440
|
decode(input: _m0.Reader | Uint8Array, length?: number): BoxInfo;
|
|
560
441
|
fromJSON(object: any): BoxInfo;
|
|
561
442
|
toJSON(message: BoxInfo): unknown;
|
|
562
|
-
|
|
563
|
-
originServer?: string;
|
|
564
|
-
virtualIp?: string;
|
|
565
|
-
boxId?: string;
|
|
566
|
-
boxName?: string;
|
|
567
|
-
boxDomain?: string;
|
|
568
|
-
certReady?: boolean;
|
|
569
|
-
boxCert?: string;
|
|
570
|
-
} & {
|
|
571
|
-
originServer?: string;
|
|
572
|
-
virtualIp?: string;
|
|
573
|
-
boxId?: string;
|
|
574
|
-
boxName?: string;
|
|
575
|
-
boxDomain?: string;
|
|
576
|
-
certReady?: boolean;
|
|
577
|
-
boxCert?: string;
|
|
578
|
-
} & { [K in Exclude<keyof I, keyof BoxInfo>]: never; }>(base?: I): BoxInfo;
|
|
579
|
-
fromPartial<I_1 extends {
|
|
443
|
+
fromPartial<I extends {
|
|
580
444
|
originServer?: string;
|
|
581
445
|
virtualIp?: string;
|
|
582
446
|
boxId?: string;
|
|
@@ -592,39 +456,25 @@ export declare const BoxInfo: {
|
|
|
592
456
|
boxDomain?: string;
|
|
593
457
|
certReady?: boolean;
|
|
594
458
|
boxCert?: string;
|
|
595
|
-
} & { [
|
|
459
|
+
} & { [K in Exclude<keyof I, keyof BoxInfo>]: never; }>(object: I): BoxInfo;
|
|
596
460
|
};
|
|
597
461
|
export declare const DomainCertRequest: {
|
|
598
462
|
encode(message: DomainCertRequest, writer?: _m0.Writer): _m0.Writer;
|
|
599
463
|
decode(input: _m0.Reader | Uint8Array, length?: number): DomainCertRequest;
|
|
600
464
|
fromJSON(object: any): DomainCertRequest;
|
|
601
465
|
toJSON(message: DomainCertRequest): unknown;
|
|
602
|
-
|
|
466
|
+
fromPartial<I extends {
|
|
603
467
|
domain?: string;
|
|
604
468
|
} & {
|
|
605
469
|
domain?: string;
|
|
606
|
-
} & { [K in Exclude<keyof I, "domain">]: never; }>(
|
|
607
|
-
fromPartial<I_1 extends {
|
|
608
|
-
domain?: string;
|
|
609
|
-
} & {
|
|
610
|
-
domain?: string;
|
|
611
|
-
} & { [K_1 in Exclude<keyof I_1, "domain">]: never; }>(object: I_1): DomainCertRequest;
|
|
470
|
+
} & { [K in Exclude<keyof I, "domain">]: never; }>(object: I): DomainCertRequest;
|
|
612
471
|
};
|
|
613
472
|
export declare const DomainCertReply: {
|
|
614
473
|
encode(message: DomainCertReply, writer?: _m0.Writer): _m0.Writer;
|
|
615
474
|
decode(input: _m0.Reader | Uint8Array, length?: number): DomainCertReply;
|
|
616
475
|
fromJSON(object: any): DomainCertReply;
|
|
617
476
|
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 {
|
|
477
|
+
fromPartial<I extends {
|
|
628
478
|
cert?: string;
|
|
629
479
|
key?: string;
|
|
630
480
|
ocsp?: Uint8Array;
|
|
@@ -632,14 +482,14 @@ export declare const DomainCertReply: {
|
|
|
632
482
|
cert?: string;
|
|
633
483
|
key?: string;
|
|
634
484
|
ocsp?: Uint8Array;
|
|
635
|
-
} & { [
|
|
485
|
+
} & { [K in Exclude<keyof I, keyof DomainCertReply>]: never; }>(object: I): DomainCertReply;
|
|
636
486
|
};
|
|
637
487
|
export declare const Device: {
|
|
638
488
|
encode(message: Device, writer?: _m0.Writer): _m0.Writer;
|
|
639
489
|
decode(input: _m0.Reader | Uint8Array, length?: number): Device;
|
|
640
490
|
fromJSON(object: any): Device;
|
|
641
491
|
toJSON(message: Device): unknown;
|
|
642
|
-
|
|
492
|
+
fromPartial<I extends {
|
|
643
493
|
udid?: string;
|
|
644
494
|
peerId?: string;
|
|
645
495
|
isOnline?: boolean;
|
|
@@ -657,49 +507,25 @@ export declare const Device: {
|
|
|
657
507
|
model?: string;
|
|
658
508
|
bindingTime?: Date | undefined;
|
|
659
509
|
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;
|
|
510
|
+
} & { [K in Exclude<keyof I, keyof Device>]: never; }>(object: I): Device;
|
|
680
511
|
};
|
|
681
512
|
export declare const ListDeviceRequest: {
|
|
682
513
|
encode(message: ListDeviceRequest, writer?: _m0.Writer): _m0.Writer;
|
|
683
514
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListDeviceRequest;
|
|
684
515
|
fromJSON(object: any): ListDeviceRequest;
|
|
685
516
|
toJSON(message: ListDeviceRequest): unknown;
|
|
686
|
-
|
|
517
|
+
fromPartial<I extends {
|
|
687
518
|
uid?: string;
|
|
688
519
|
} & {
|
|
689
520
|
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;
|
|
521
|
+
} & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): ListDeviceRequest;
|
|
696
522
|
};
|
|
697
523
|
export declare const ListDeviceReply: {
|
|
698
524
|
encode(message: ListDeviceReply, writer?: _m0.Writer): _m0.Writer;
|
|
699
525
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListDeviceReply;
|
|
700
526
|
fromJSON(object: any): ListDeviceReply;
|
|
701
527
|
toJSON(message: ListDeviceReply): unknown;
|
|
702
|
-
|
|
528
|
+
fromPartial<I extends {
|
|
703
529
|
devices?: {
|
|
704
530
|
udid?: string;
|
|
705
531
|
peerId?: string;
|
|
@@ -748,129 +574,51 @@ export declare const ListDeviceReply: {
|
|
|
748
574
|
bindingTime?: Date | undefined;
|
|
749
575
|
isMobile?: boolean;
|
|
750
576
|
}[]>]: 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;
|
|
577
|
+
} & { [K_2 in Exclude<keyof I, "devices">]: never; }>(object: I): ListDeviceReply;
|
|
802
578
|
};
|
|
803
579
|
export declare const UserID: {
|
|
804
580
|
encode(message: UserID, writer?: _m0.Writer): _m0.Writer;
|
|
805
581
|
decode(input: _m0.Reader | Uint8Array, length?: number): UserID;
|
|
806
582
|
fromJSON(object: any): UserID;
|
|
807
583
|
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 {
|
|
584
|
+
fromPartial<I extends {
|
|
814
585
|
uid?: string;
|
|
815
586
|
} & {
|
|
816
587
|
uid?: string;
|
|
817
|
-
} & { [
|
|
588
|
+
} & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): UserID;
|
|
818
589
|
};
|
|
819
590
|
export declare const ChangeRoleReqeust: {
|
|
820
591
|
encode(message: ChangeRoleReqeust, writer?: _m0.Writer): _m0.Writer;
|
|
821
592
|
decode(input: _m0.Reader | Uint8Array, length?: number): ChangeRoleReqeust;
|
|
822
593
|
fromJSON(object: any): ChangeRoleReqeust;
|
|
823
594
|
toJSON(message: ChangeRoleReqeust): unknown;
|
|
824
|
-
|
|
595
|
+
fromPartial<I extends {
|
|
825
596
|
uid?: string;
|
|
826
597
|
role?: Role;
|
|
827
598
|
} & {
|
|
828
599
|
uid?: string;
|
|
829
600
|
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;
|
|
601
|
+
} & { [K in Exclude<keyof I, keyof ChangeRoleReqeust>]: never; }>(object: I): ChangeRoleReqeust;
|
|
838
602
|
};
|
|
839
603
|
export declare const QueryRoleReply: {
|
|
840
604
|
encode(message: QueryRoleReply, writer?: _m0.Writer): _m0.Writer;
|
|
841
605
|
decode(input: _m0.Reader | Uint8Array, length?: number): QueryRoleReply;
|
|
842
606
|
fromJSON(object: any): QueryRoleReply;
|
|
843
607
|
toJSON(message: QueryRoleReply): unknown;
|
|
844
|
-
|
|
608
|
+
fromPartial<I extends {
|
|
845
609
|
uid?: string;
|
|
846
610
|
role?: Role;
|
|
847
611
|
} & {
|
|
848
612
|
uid?: string;
|
|
849
613
|
role?: Role;
|
|
850
|
-
} & { [K in Exclude<keyof I, keyof QueryRoleReply>]: never; }>(
|
|
851
|
-
fromPartial<I_1 extends {
|
|
852
|
-
uid?: string;
|
|
853
|
-
role?: Role;
|
|
854
|
-
} & {
|
|
855
|
-
uid?: string;
|
|
856
|
-
role?: Role;
|
|
857
|
-
} & { [K_1 in Exclude<keyof I_1, keyof QueryRoleReply>]: never; }>(object: I_1): QueryRoleReply;
|
|
614
|
+
} & { [K in Exclude<keyof I, keyof QueryRoleReply>]: never; }>(object: I): QueryRoleReply;
|
|
858
615
|
};
|
|
859
616
|
export declare const ResetPasswordRequest: {
|
|
860
617
|
encode(message: ResetPasswordRequest, writer?: _m0.Writer): _m0.Writer;
|
|
861
618
|
decode(input: _m0.Reader | Uint8Array, length?: number): ResetPasswordRequest;
|
|
862
619
|
fromJSON(object: any): ResetPasswordRequest;
|
|
863
620
|
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 {
|
|
621
|
+
fromPartial<I extends {
|
|
874
622
|
uid?: string;
|
|
875
623
|
oldPassword?: string;
|
|
876
624
|
newPassword?: string;
|
|
@@ -878,30 +626,25 @@ export declare const ResetPasswordRequest: {
|
|
|
878
626
|
uid?: string;
|
|
879
627
|
oldPassword?: string;
|
|
880
628
|
newPassword?: string;
|
|
881
|
-
} & { [
|
|
629
|
+
} & { [K in Exclude<keyof I, keyof ResetPasswordRequest>]: never; }>(object: I): ResetPasswordRequest;
|
|
882
630
|
};
|
|
883
631
|
export declare const DeleteUserRequest: {
|
|
884
632
|
encode(message: DeleteUserRequest, writer?: _m0.Writer): _m0.Writer;
|
|
885
633
|
decode(input: _m0.Reader | Uint8Array, length?: number): DeleteUserRequest;
|
|
886
634
|
fromJSON(object: any): DeleteUserRequest;
|
|
887
635
|
toJSON(message: DeleteUserRequest): unknown;
|
|
888
|
-
|
|
889
|
-
uid?: string;
|
|
890
|
-
} & {
|
|
891
|
-
uid?: string;
|
|
892
|
-
} & { [K in Exclude<keyof I, "uid">]: never; }>(base?: I): DeleteUserRequest;
|
|
893
|
-
fromPartial<I_1 extends {
|
|
636
|
+
fromPartial<I extends {
|
|
894
637
|
uid?: string;
|
|
895
638
|
} & {
|
|
896
639
|
uid?: string;
|
|
897
|
-
} & { [
|
|
640
|
+
} & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): DeleteUserRequest;
|
|
898
641
|
};
|
|
899
642
|
export declare const CreateUserRequest: {
|
|
900
643
|
encode(message: CreateUserRequest, writer?: _m0.Writer): _m0.Writer;
|
|
901
644
|
decode(input: _m0.Reader | Uint8Array, length?: number): CreateUserRequest;
|
|
902
645
|
fromJSON(object: any): CreateUserRequest;
|
|
903
646
|
toJSON(message: CreateUserRequest): unknown;
|
|
904
|
-
|
|
647
|
+
fromPartial<I extends {
|
|
905
648
|
uid?: string;
|
|
906
649
|
password?: string;
|
|
907
650
|
role?: Role;
|
|
@@ -909,52 +652,27 @@ export declare const CreateUserRequest: {
|
|
|
909
652
|
uid?: string;
|
|
910
653
|
password?: string;
|
|
911
654
|
role?: Role;
|
|
912
|
-
} & { [K in Exclude<keyof I, keyof CreateUserRequest>]: never; }>(
|
|
913
|
-
fromPartial<I_1 extends {
|
|
914
|
-
uid?: string;
|
|
915
|
-
password?: string;
|
|
916
|
-
role?: Role;
|
|
917
|
-
} & {
|
|
918
|
-
uid?: string;
|
|
919
|
-
password?: string;
|
|
920
|
-
role?: Role;
|
|
921
|
-
} & { [K_1 in Exclude<keyof I_1, keyof CreateUserRequest>]: never; }>(object: I_1): CreateUserRequest;
|
|
655
|
+
} & { [K in Exclude<keyof I, keyof CreateUserRequest>]: never; }>(object: I): CreateUserRequest;
|
|
922
656
|
};
|
|
923
657
|
export declare const ForceResetPasswordRequest: {
|
|
924
658
|
encode(message: ForceResetPasswordRequest, writer?: _m0.Writer): _m0.Writer;
|
|
925
659
|
decode(input: _m0.Reader | Uint8Array, length?: number): ForceResetPasswordRequest;
|
|
926
660
|
fromJSON(object: any): ForceResetPasswordRequest;
|
|
927
661
|
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 {
|
|
662
|
+
fromPartial<I extends {
|
|
936
663
|
uid?: string;
|
|
937
664
|
newPassword?: string;
|
|
938
665
|
} & {
|
|
939
666
|
uid?: string;
|
|
940
667
|
newPassword?: string;
|
|
941
|
-
} & { [
|
|
668
|
+
} & { [K in Exclude<keyof I, keyof ForceResetPasswordRequest>]: never; }>(object: I): ForceResetPasswordRequest;
|
|
942
669
|
};
|
|
943
670
|
export declare const LogoutRequest: {
|
|
944
671
|
encode(message: LogoutRequest, writer?: _m0.Writer): _m0.Writer;
|
|
945
672
|
decode(input: _m0.Reader | Uint8Array, length?: number): LogoutRequest;
|
|
946
673
|
fromJSON(object: any): LogoutRequest;
|
|
947
674
|
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 {
|
|
675
|
+
fromPartial<I extends {
|
|
958
676
|
uid?: string;
|
|
959
677
|
udid?: string;
|
|
960
678
|
reason?: LogoutRequest_Reason;
|
|
@@ -962,47 +680,20 @@ export declare const LogoutRequest: {
|
|
|
962
680
|
uid?: string;
|
|
963
681
|
udid?: string;
|
|
964
682
|
reason?: LogoutRequest_Reason;
|
|
965
|
-
} & { [
|
|
683
|
+
} & { [K in Exclude<keyof I, keyof LogoutRequest>]: never; }>(object: I): LogoutRequest;
|
|
966
684
|
};
|
|
967
685
|
export declare const CheckPasswordRequest: {
|
|
968
686
|
encode(message: CheckPasswordRequest, writer?: _m0.Writer): _m0.Writer;
|
|
969
687
|
decode(input: _m0.Reader | Uint8Array, length?: number): CheckPasswordRequest;
|
|
970
688
|
fromJSON(object: any): CheckPasswordRequest;
|
|
971
689
|
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 {
|
|
690
|
+
fromPartial<I extends {
|
|
980
691
|
uid?: string;
|
|
981
692
|
password?: string;
|
|
982
693
|
} & {
|
|
983
694
|
uid?: string;
|
|
984
695
|
password?: string;
|
|
985
|
-
} & { [
|
|
986
|
-
};
|
|
987
|
-
export declare const TrustUserDeviceRequest: {
|
|
988
|
-
encode(message: TrustUserDeviceRequest, writer?: _m0.Writer): _m0.Writer;
|
|
989
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): TrustUserDeviceRequest;
|
|
990
|
-
fromJSON(object: any): TrustUserDeviceRequest;
|
|
991
|
-
toJSON(message: TrustUserDeviceRequest): unknown;
|
|
992
|
-
create<I extends {
|
|
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 {
|
|
1000
|
-
udid?: string;
|
|
1001
|
-
user?: string;
|
|
1002
|
-
} & {
|
|
1003
|
-
udid?: string;
|
|
1004
|
-
user?: string;
|
|
1005
|
-
} & { [K_1 in Exclude<keyof I_1, keyof TrustUserDeviceRequest>]: never; }>(object: I_1): TrustUserDeviceRequest;
|
|
696
|
+
} & { [K in Exclude<keyof I, keyof CheckPasswordRequest>]: never; }>(object: I): CheckPasswordRequest;
|
|
1006
697
|
};
|
|
1007
698
|
export interface HPortalSys {
|
|
1008
699
|
/** 用auth-token反向查询登陆的设备以及UID */
|
|
@@ -1053,7 +744,6 @@ export interface HPortalSys {
|
|
|
1053
744
|
/** 校验用户密码是否正确 */
|
|
1054
745
|
CheckPassword(request: DeepPartial<CheckPasswordRequest>, metadata?: grpc.Metadata): Promise<Empty>;
|
|
1055
746
|
RemoteSocks(request: DeepPartial<RemoteSocksRequest>, metadata?: grpc.Metadata): Promise<RemoteSocksReply>;
|
|
1056
|
-
TrustUserDevice(request: DeepPartial<TrustUserDeviceRequest>, metadata?: grpc.Metadata): Promise<Empty>;
|
|
1057
747
|
}
|
|
1058
748
|
export declare class HPortalSysClientImpl implements HPortalSys {
|
|
1059
749
|
private readonly rpc;
|
|
@@ -1079,7 +769,6 @@ export declare class HPortalSysClientImpl implements HPortalSys {
|
|
|
1079
769
|
Logout(request: DeepPartial<LogoutRequest>, metadata?: grpc.Metadata): Promise<Empty>;
|
|
1080
770
|
CheckPassword(request: DeepPartial<CheckPasswordRequest>, metadata?: grpc.Metadata): Promise<Empty>;
|
|
1081
771
|
RemoteSocks(request: DeepPartial<RemoteSocksRequest>, metadata?: grpc.Metadata): Promise<RemoteSocksReply>;
|
|
1082
|
-
TrustUserDevice(request: DeepPartial<TrustUserDeviceRequest>, metadata?: grpc.Metadata): Promise<Empty>;
|
|
1083
772
|
}
|
|
1084
773
|
export declare const HPortalSysDesc: {
|
|
1085
774
|
serviceName: string;
|
|
@@ -1105,12 +794,11 @@ export declare const HPortalSysGenUserInvitationDesc: UnaryMethodDefinitionish;
|
|
|
1105
794
|
export declare const HPortalSysLogoutDesc: UnaryMethodDefinitionish;
|
|
1106
795
|
export declare const HPortalSysCheckPasswordDesc: UnaryMethodDefinitionish;
|
|
1107
796
|
export declare const HPortalSysRemoteSocksDesc: UnaryMethodDefinitionish;
|
|
1108
|
-
export declare const HPortalSysTrustUserDeviceDesc: UnaryMethodDefinitionish;
|
|
1109
797
|
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {
|
|
1110
798
|
requestStream: any;
|
|
1111
799
|
responseStream: any;
|
|
1112
800
|
}
|
|
1113
|
-
type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
|
|
801
|
+
declare type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
|
|
1114
802
|
interface Rpc {
|
|
1115
803
|
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Promise<any>;
|
|
1116
804
|
invoke<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Observable<any>;
|
|
@@ -1128,12 +816,11 @@ export declare class GrpcWebImpl {
|
|
|
1128
816
|
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Promise<any>;
|
|
1129
817
|
invoke<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Observable<any>;
|
|
1130
818
|
}
|
|
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 {} ? {
|
|
819
|
+
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
820
|
+
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
821
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1135
822
|
} : Partial<T>;
|
|
1136
|
-
export declare class GrpcWebError extends
|
|
823
|
+
export declare class GrpcWebError extends Error {
|
|
1137
824
|
code: grpc.Code;
|
|
1138
825
|
metadata: grpc.Metadata;
|
|
1139
826
|
constructor(message: string, code: grpc.Code, metadata: grpc.Metadata);
|