@lazycatcloud/sdk 0.1.153 → 0.1.154
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 +10 -25
- 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 +10 -38
- 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 +8 -41
- 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 +6 -38
- package/dist/common/file_handler.js.map +1 -1
- package/dist/common/filetrans.d.ts +47 -782
- package/dist/common/filetrans.d.ts.map +1 -1
- package/dist/common/filetrans.js +32 -91
- 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 +8 -41
- package/dist/common/gateway.js.map +1 -1
- package/dist/common/media_meta.d.ts +14 -27
- package/dist/common/media_meta.d.ts.map +1 -1
- package/dist/common/media_meta.js +49 -13
- 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 +2 -5
- 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 +14 -37
- 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 +6 -41
- package/dist/common/security_context.js.map +1 -1
- package/dist/common/users.d.ts +23 -94
- package/dist/common/users.d.ts.map +1 -1
- package/dist/common/users.js +22 -77
- package/dist/common/users.js.map +1 -1
- package/dist/dlna/dlna.d.ts +18 -100
- package/dist/dlna/dlna.d.ts.map +1 -1
- package/dist/dlna/dlna.js +10 -50
- package/dist/dlna/dlna.js.map +1 -1
- package/dist/extentions/app_common.d.ts +0 -6
- package/dist/extentions/app_common.d.ts.map +1 -1
- package/dist/extentions/app_common.js +8 -7
- package/dist/extentions/app_common.js.map +1 -1
- package/dist/extentions/base.d.ts.map +1 -1
- package/dist/extentions/base.js +64 -1
- package/dist/extentions/base.js.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 +8 -89
- 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 +0 -3
- 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 +2 -5
- 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.js.map +1 -1
- package/dist/lanforward/lanforward.d.ts +8 -21
- package/dist/lanforward/lanforward.d.ts.map +1 -1
- package/dist/lanforward/lanforward.js +4 -26
- package/dist/lanforward/lanforward.js.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 +15 -30
- 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 +4 -26
- 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 +4 -23
- 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 +10 -50
- 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 +12 -59
- 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 +4 -23
- package/dist/localdevice/network.js.map +1 -1
- package/dist/localdevice/permission.d.ts +16 -59
- package/dist/localdevice/permission.d.ts.map +1 -1
- package/dist/localdevice/permission.js +17 -39
- 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 +16 -58
- package/dist/localdevice/photo.js.map +1 -1
- package/dist/package.json +2 -2
- package/dist/ssdp/ssdp.d.ts +8 -27
- package/dist/ssdp/ssdp.d.ts.map +1 -1
- package/dist/ssdp/ssdp.js +4 -26
- package/dist/ssdp/ssdp.js.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 +6 -32
- 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 +40 -100
- 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 +24 -46
- package/dist/sys/OS_upgrader.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 +10 -28
- 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 +6 -26
- package/dist/sys/devopt.js.map +1 -1
- package/dist/sys/dirmon.d.ts +85 -0
- package/dist/sys/dirmon.d.ts.map +1 -0
- package/dist/sys/dirmon.js +236 -0
- package/dist/sys/dirmon.js.map +1 -0
- package/dist/sys/event.d.ts +18 -90
- package/dist/sys/event.d.ts.map +1 -1
- package/dist/sys/event.js +10 -50
- 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 +37 -93
- 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 +20 -58
- 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 +12 -50
- package/dist/sys/network_manager.js.map +1 -1
- package/dist/sys/package_manager.d.ts +40 -303
- package/dist/sys/package_manager.d.ts.map +1 -1
- package/dist/sys/package_manager.js +24 -88
- package/dist/sys/package_manager.js.map +1 -1
- package/dist/sys/portal-server/portal-server.d.ts +59 -333
- package/dist/sys/portal-server/portal-server.d.ts.map +1 -1
- package/dist/sys/portal-server/portal-server.js +49 -153
- 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 +18 -62
- package/dist/sys/snapd.js.map +1 -1
- package/package.json +2 -2
|
@@ -216,7 +216,7 @@ export declare const GenUserInvitationRequest: {
|
|
|
216
216
|
decode(input: _m0.Reader | Uint8Array, length?: number): GenUserInvitationRequest;
|
|
217
217
|
fromJSON(object: any): GenUserInvitationRequest;
|
|
218
218
|
toJSON(message: GenUserInvitationRequest): unknown;
|
|
219
|
-
|
|
219
|
+
fromPartial<I extends {
|
|
220
220
|
limitUid?: string | undefined;
|
|
221
221
|
notAfter?: Date | undefined;
|
|
222
222
|
limitUsageCount?: number | undefined;
|
|
@@ -232,147 +232,93 @@ export declare const GenUserInvitationRequest: {
|
|
|
232
232
|
allowInstallApp?: boolean | undefined;
|
|
233
233
|
enableAllowList?: boolean | undefined;
|
|
234
234
|
appAllowList?: string[] & string[] & { [K in Exclude<keyof I["appAllowList"], keyof string[]>]: never; };
|
|
235
|
-
} & { [K_1 in Exclude<keyof I, keyof GenUserInvitationRequest>]: never; }>(
|
|
236
|
-
fromPartial<I_1 extends {
|
|
237
|
-
limitUid?: string | undefined;
|
|
238
|
-
notAfter?: Date | undefined;
|
|
239
|
-
limitUsageCount?: number | undefined;
|
|
240
|
-
limitRole?: Role | undefined;
|
|
241
|
-
allowInstallApp?: boolean | undefined;
|
|
242
|
-
enableAllowList?: boolean | undefined;
|
|
243
|
-
appAllowList?: string[];
|
|
244
|
-
} & {
|
|
245
|
-
limitUid?: string | undefined;
|
|
246
|
-
notAfter?: Date | undefined;
|
|
247
|
-
limitUsageCount?: number | undefined;
|
|
248
|
-
limitRole?: Role | undefined;
|
|
249
|
-
allowInstallApp?: boolean | undefined;
|
|
250
|
-
enableAllowList?: boolean | undefined;
|
|
251
|
-
appAllowList?: string[] & string[] & { [K_2 in Exclude<keyof I_1["appAllowList"], keyof string[]>]: never; };
|
|
252
|
-
} & { [K_3 in Exclude<keyof I_1, keyof GenUserInvitationRequest>]: never; }>(object: I_1): GenUserInvitationRequest;
|
|
235
|
+
} & { [K_1 in Exclude<keyof I, keyof GenUserInvitationRequest>]: never; }>(object: I): GenUserInvitationRequest;
|
|
253
236
|
};
|
|
254
237
|
export declare const UserInvitation: {
|
|
255
238
|
encode(message: UserInvitation, writer?: _m0.Writer): _m0.Writer;
|
|
256
239
|
decode(input: _m0.Reader | Uint8Array, length?: number): UserInvitation;
|
|
257
240
|
fromJSON(object: any): UserInvitation;
|
|
258
241
|
toJSON(message: UserInvitation): unknown;
|
|
259
|
-
|
|
242
|
+
fromPartial<I extends {
|
|
260
243
|
token?: string;
|
|
261
244
|
} & {
|
|
262
245
|
token?: string;
|
|
263
|
-
} & { [K in Exclude<keyof I, "token">]: never; }>(
|
|
264
|
-
fromPartial<I_1 extends {
|
|
265
|
-
token?: string;
|
|
266
|
-
} & {
|
|
267
|
-
token?: string;
|
|
268
|
-
} & { [K_1 in Exclude<keyof I_1, "token">]: never; }>(object: I_1): UserInvitation;
|
|
246
|
+
} & { [K in Exclude<keyof I, "token">]: never; }>(object: I): UserInvitation;
|
|
269
247
|
};
|
|
270
248
|
export declare const ListUsersReply: {
|
|
271
249
|
encode(message: ListUsersReply, writer?: _m0.Writer): _m0.Writer;
|
|
272
250
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListUsersReply;
|
|
273
251
|
fromJSON(object: any): ListUsersReply;
|
|
274
252
|
toJSON(message: ListUsersReply): unknown;
|
|
275
|
-
|
|
253
|
+
fromPartial<I extends {
|
|
276
254
|
uids?: string[];
|
|
277
255
|
} & {
|
|
278
256
|
uids?: string[] & string[] & { [K in Exclude<keyof I["uids"], keyof string[]>]: never; };
|
|
279
|
-
} & { [K_1 in Exclude<keyof I, "uids">]: never; }>(
|
|
280
|
-
fromPartial<I_1 extends {
|
|
281
|
-
uids?: string[];
|
|
282
|
-
} & {
|
|
283
|
-
uids?: string[] & string[] & { [K_2 in Exclude<keyof I_1["uids"], keyof string[]>]: never; };
|
|
284
|
-
} & { [K_3 in Exclude<keyof I_1, "uids">]: never; }>(object: I_1): ListUsersReply;
|
|
257
|
+
} & { [K_1 in Exclude<keyof I, "uids">]: never; }>(object: I): ListUsersReply;
|
|
285
258
|
};
|
|
286
259
|
export declare const PairDevicesRequest: {
|
|
287
260
|
encode(message: PairDevicesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
288
261
|
decode(input: _m0.Reader | Uint8Array, length?: number): PairDevicesRequest;
|
|
289
262
|
fromJSON(object: any): PairDevicesRequest;
|
|
290
263
|
toJSON(message: PairDevicesRequest): unknown;
|
|
291
|
-
|
|
264
|
+
fromPartial<I extends {
|
|
292
265
|
srcId?: string;
|
|
293
266
|
otherIds?: string[];
|
|
294
267
|
} & {
|
|
295
268
|
srcId?: string;
|
|
296
269
|
otherIds?: string[] & string[] & { [K in Exclude<keyof I["otherIds"], keyof string[]>]: never; };
|
|
297
|
-
} & { [K_1 in Exclude<keyof I, keyof PairDevicesRequest>]: never; }>(
|
|
298
|
-
fromPartial<I_1 extends {
|
|
299
|
-
srcId?: string;
|
|
300
|
-
otherIds?: string[];
|
|
301
|
-
} & {
|
|
302
|
-
srcId?: string;
|
|
303
|
-
otherIds?: string[] & string[] & { [K_2 in Exclude<keyof I_1["otherIds"], keyof string[]>]: never; };
|
|
304
|
-
} & { [K_3 in Exclude<keyof I_1, keyof PairDevicesRequest>]: never; }>(object: I_1): PairDevicesRequest;
|
|
270
|
+
} & { [K_1 in Exclude<keyof I, keyof PairDevicesRequest>]: never; }>(object: I): PairDevicesRequest;
|
|
305
271
|
};
|
|
306
272
|
export declare const AllocVEIPRequest: {
|
|
307
273
|
encode(message: AllocVEIPRequest, writer?: _m0.Writer): _m0.Writer;
|
|
308
274
|
decode(input: _m0.Reader | Uint8Array, length?: number): AllocVEIPRequest;
|
|
309
275
|
fromJSON(object: any): AllocVEIPRequest;
|
|
310
276
|
toJSON(message: AllocVEIPRequest): unknown;
|
|
311
|
-
|
|
312
|
-
usage?: string;
|
|
313
|
-
subdomain?: string;
|
|
314
|
-
} & {
|
|
315
|
-
usage?: string;
|
|
316
|
-
subdomain?: string;
|
|
317
|
-
} & { [K in Exclude<keyof I, keyof AllocVEIPRequest>]: never; }>(base?: I): AllocVEIPRequest;
|
|
318
|
-
fromPartial<I_1 extends {
|
|
277
|
+
fromPartial<I extends {
|
|
319
278
|
usage?: string;
|
|
320
279
|
subdomain?: string;
|
|
321
280
|
} & {
|
|
322
281
|
usage?: string;
|
|
323
282
|
subdomain?: string;
|
|
324
|
-
} & { [
|
|
283
|
+
} & { [K in Exclude<keyof I, keyof AllocVEIPRequest>]: never; }>(object: I): AllocVEIPRequest;
|
|
325
284
|
};
|
|
326
285
|
export declare const AllocVEIPReply: {
|
|
327
286
|
encode(message: AllocVEIPReply, writer?: _m0.Writer): _m0.Writer;
|
|
328
287
|
decode(input: _m0.Reader | Uint8Array, length?: number): AllocVEIPReply;
|
|
329
288
|
fromJSON(object: any): AllocVEIPReply;
|
|
330
289
|
toJSON(message: AllocVEIPReply): unknown;
|
|
331
|
-
|
|
332
|
-
ip?: string;
|
|
333
|
-
} & {
|
|
334
|
-
ip?: string;
|
|
335
|
-
} & { [K in Exclude<keyof I, "ip">]: never; }>(base?: I): AllocVEIPReply;
|
|
336
|
-
fromPartial<I_1 extends {
|
|
290
|
+
fromPartial<I extends {
|
|
337
291
|
ip?: string;
|
|
338
292
|
} & {
|
|
339
293
|
ip?: string;
|
|
340
|
-
} & { [
|
|
294
|
+
} & { [K in Exclude<keyof I, "ip">]: never; }>(object: I): AllocVEIPReply;
|
|
341
295
|
};
|
|
342
296
|
export declare const FreeVEIPRequest: {
|
|
343
297
|
encode(message: FreeVEIPRequest, writer?: _m0.Writer): _m0.Writer;
|
|
344
298
|
decode(input: _m0.Reader | Uint8Array, length?: number): FreeVEIPRequest;
|
|
345
299
|
fromJSON(object: any): FreeVEIPRequest;
|
|
346
300
|
toJSON(message: FreeVEIPRequest): unknown;
|
|
347
|
-
|
|
348
|
-
ip?: string;
|
|
349
|
-
waitSecond?: number;
|
|
350
|
-
} & {
|
|
351
|
-
ip?: string;
|
|
352
|
-
waitSecond?: number;
|
|
353
|
-
} & { [K in Exclude<keyof I, keyof FreeVEIPRequest>]: never; }>(base?: I): FreeVEIPRequest;
|
|
354
|
-
fromPartial<I_1 extends {
|
|
301
|
+
fromPartial<I extends {
|
|
355
302
|
ip?: string;
|
|
356
303
|
waitSecond?: number;
|
|
357
304
|
} & {
|
|
358
305
|
ip?: string;
|
|
359
306
|
waitSecond?: number;
|
|
360
|
-
} & { [
|
|
307
|
+
} & { [K in Exclude<keyof I, keyof FreeVEIPRequest>]: never; }>(object: I): FreeVEIPRequest;
|
|
361
308
|
};
|
|
362
309
|
export declare const FreeVEIPReply: {
|
|
363
310
|
encode(_: FreeVEIPReply, writer?: _m0.Writer): _m0.Writer;
|
|
364
311
|
decode(input: _m0.Reader | Uint8Array, length?: number): FreeVEIPReply;
|
|
365
312
|
fromJSON(_: any): FreeVEIPReply;
|
|
366
313
|
toJSON(_: FreeVEIPReply): unknown;
|
|
367
|
-
|
|
368
|
-
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): FreeVEIPReply;
|
|
314
|
+
fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): FreeVEIPReply;
|
|
369
315
|
};
|
|
370
316
|
export declare const AppCertRequest: {
|
|
371
317
|
encode(message: AppCertRequest, writer?: _m0.Writer): _m0.Writer;
|
|
372
318
|
decode(input: _m0.Reader | Uint8Array, length?: number): AppCertRequest;
|
|
373
319
|
fromJSON(object: any): AppCertRequest;
|
|
374
320
|
toJSON(message: AppCertRequest): unknown;
|
|
375
|
-
|
|
321
|
+
fromPartial<I extends {
|
|
376
322
|
appid?: string;
|
|
377
323
|
uid?: string;
|
|
378
324
|
validSeconds?: number;
|
|
@@ -380,23 +326,14 @@ export declare const AppCertRequest: {
|
|
|
380
326
|
appid?: string;
|
|
381
327
|
uid?: string;
|
|
382
328
|
validSeconds?: number;
|
|
383
|
-
} & { [K in Exclude<keyof I, keyof AppCertRequest>]: never; }>(
|
|
384
|
-
fromPartial<I_1 extends {
|
|
385
|
-
appid?: string;
|
|
386
|
-
uid?: string;
|
|
387
|
-
validSeconds?: number;
|
|
388
|
-
} & {
|
|
389
|
-
appid?: string;
|
|
390
|
-
uid?: string;
|
|
391
|
-
validSeconds?: number;
|
|
392
|
-
} & { [K_1 in Exclude<keyof I_1, keyof AppCertRequest>]: never; }>(object: I_1): AppCertRequest;
|
|
329
|
+
} & { [K in Exclude<keyof I, keyof AppCertRequest>]: never; }>(object: I): AppCertRequest;
|
|
393
330
|
};
|
|
394
331
|
export declare const AppCertReply: {
|
|
395
332
|
encode(message: AppCertReply, writer?: _m0.Writer): _m0.Writer;
|
|
396
333
|
decode(input: _m0.Reader | Uint8Array, length?: number): AppCertReply;
|
|
397
334
|
fromJSON(object: any): AppCertReply;
|
|
398
335
|
toJSON(message: AppCertReply): unknown;
|
|
399
|
-
|
|
336
|
+
fromPartial<I extends {
|
|
400
337
|
cert?: string;
|
|
401
338
|
privateKey?: string;
|
|
402
339
|
boxCert?: string;
|
|
@@ -404,23 +341,14 @@ export declare const AppCertReply: {
|
|
|
404
341
|
cert?: string;
|
|
405
342
|
privateKey?: string;
|
|
406
343
|
boxCert?: string;
|
|
407
|
-
} & { [K in Exclude<keyof I, keyof AppCertReply>]: never; }>(
|
|
408
|
-
fromPartial<I_1 extends {
|
|
409
|
-
cert?: string;
|
|
410
|
-
privateKey?: string;
|
|
411
|
-
boxCert?: string;
|
|
412
|
-
} & {
|
|
413
|
-
cert?: string;
|
|
414
|
-
privateKey?: string;
|
|
415
|
-
boxCert?: string;
|
|
416
|
-
} & { [K_1 in Exclude<keyof I_1, keyof AppCertReply>]: never; }>(object: I_1): AppCertReply;
|
|
344
|
+
} & { [K in Exclude<keyof I, keyof AppCertReply>]: never; }>(object: I): AppCertReply;
|
|
417
345
|
};
|
|
418
346
|
export declare const AuthToken: {
|
|
419
347
|
encode(message: AuthToken, writer?: _m0.Writer): _m0.Writer;
|
|
420
348
|
decode(input: _m0.Reader | Uint8Array, length?: number): AuthToken;
|
|
421
349
|
fromJSON(object: any): AuthToken;
|
|
422
350
|
toJSON(message: AuthToken): unknown;
|
|
423
|
-
|
|
351
|
+
fromPartial<I extends {
|
|
424
352
|
token?: string;
|
|
425
353
|
autologinTokenPostUrl?: string;
|
|
426
354
|
accessIp?: string;
|
|
@@ -432,27 +360,14 @@ export declare const AuthToken: {
|
|
|
432
360
|
accessIp?: string;
|
|
433
361
|
autologinRedirectUrl?: string;
|
|
434
362
|
tokenType?: AuthToken_TokenType;
|
|
435
|
-
} & { [K in Exclude<keyof I, keyof AuthToken>]: never; }>(
|
|
436
|
-
fromPartial<I_1 extends {
|
|
437
|
-
token?: string;
|
|
438
|
-
autologinTokenPostUrl?: string;
|
|
439
|
-
accessIp?: string;
|
|
440
|
-
autologinRedirectUrl?: string;
|
|
441
|
-
tokenType?: AuthToken_TokenType;
|
|
442
|
-
} & {
|
|
443
|
-
token?: string;
|
|
444
|
-
autologinTokenPostUrl?: string;
|
|
445
|
-
accessIp?: string;
|
|
446
|
-
autologinRedirectUrl?: string;
|
|
447
|
-
tokenType?: AuthToken_TokenType;
|
|
448
|
-
} & { [K_1 in Exclude<keyof I_1, keyof AuthToken>]: never; }>(object: I_1): AuthToken;
|
|
363
|
+
} & { [K in Exclude<keyof I, keyof AuthToken>]: never; }>(object: I): AuthToken;
|
|
449
364
|
};
|
|
450
365
|
export declare const LoginInfo: {
|
|
451
366
|
encode(message: LoginInfo, writer?: _m0.Writer): _m0.Writer;
|
|
452
367
|
decode(input: _m0.Reader | Uint8Array, length?: number): LoginInfo;
|
|
453
368
|
fromJSON(object: any): LoginInfo;
|
|
454
369
|
toJSON(message: LoginInfo): unknown;
|
|
455
|
-
|
|
370
|
+
fromPartial<I extends {
|
|
456
371
|
uid?: string;
|
|
457
372
|
deviceId?: string;
|
|
458
373
|
when?: Date | undefined;
|
|
@@ -464,43 +379,25 @@ export declare const LoginInfo: {
|
|
|
464
379
|
when?: Date | undefined;
|
|
465
380
|
autologinTokenRequestContent?: string;
|
|
466
381
|
deviceVersion?: string;
|
|
467
|
-
} & { [K in Exclude<keyof I, keyof LoginInfo>]: never; }>(
|
|
468
|
-
fromPartial<I_1 extends {
|
|
469
|
-
uid?: string;
|
|
470
|
-
deviceId?: string;
|
|
471
|
-
when?: Date | undefined;
|
|
472
|
-
autologinTokenRequestContent?: string;
|
|
473
|
-
deviceVersion?: string;
|
|
474
|
-
} & {
|
|
475
|
-
uid?: string;
|
|
476
|
-
deviceId?: string;
|
|
477
|
-
when?: Date | undefined;
|
|
478
|
-
autologinTokenRequestContent?: string;
|
|
479
|
-
deviceVersion?: string;
|
|
480
|
-
} & { [K_1 in Exclude<keyof I_1, keyof LoginInfo>]: never; }>(object: I_1): LoginInfo;
|
|
382
|
+
} & { [K in Exclude<keyof I, keyof LoginInfo>]: never; }>(object: I): LoginInfo;
|
|
481
383
|
};
|
|
482
384
|
export declare const DeviceID: {
|
|
483
385
|
encode(message: DeviceID, writer?: _m0.Writer): _m0.Writer;
|
|
484
386
|
decode(input: _m0.Reader | Uint8Array, length?: number): DeviceID;
|
|
485
387
|
fromJSON(object: any): DeviceID;
|
|
486
388
|
toJSON(message: DeviceID): unknown;
|
|
487
|
-
|
|
488
|
-
id?: string;
|
|
489
|
-
} & {
|
|
490
|
-
id?: string;
|
|
491
|
-
} & { [K in Exclude<keyof I, "id">]: never; }>(base?: I): DeviceID;
|
|
492
|
-
fromPartial<I_1 extends {
|
|
389
|
+
fromPartial<I extends {
|
|
493
390
|
id?: string;
|
|
494
391
|
} & {
|
|
495
392
|
id?: string;
|
|
496
|
-
} & { [
|
|
393
|
+
} & { [K in Exclude<keyof I, "id">]: never; }>(object: I): DeviceID;
|
|
497
394
|
};
|
|
498
395
|
export declare const BoxInfo: {
|
|
499
396
|
encode(message: BoxInfo, writer?: _m0.Writer): _m0.Writer;
|
|
500
397
|
decode(input: _m0.Reader | Uint8Array, length?: number): BoxInfo;
|
|
501
398
|
fromJSON(object: any): BoxInfo;
|
|
502
399
|
toJSON(message: BoxInfo): unknown;
|
|
503
|
-
|
|
400
|
+
fromPartial<I extends {
|
|
504
401
|
originServer?: string;
|
|
505
402
|
virtualIp?: string;
|
|
506
403
|
boxId?: string;
|
|
@@ -516,56 +413,25 @@ export declare const BoxInfo: {
|
|
|
516
413
|
boxDomain?: string;
|
|
517
414
|
certReady?: boolean;
|
|
518
415
|
boxCert?: string;
|
|
519
|
-
} & { [K in Exclude<keyof I, keyof BoxInfo>]: never; }>(
|
|
520
|
-
fromPartial<I_1 extends {
|
|
521
|
-
originServer?: string;
|
|
522
|
-
virtualIp?: string;
|
|
523
|
-
boxId?: string;
|
|
524
|
-
boxName?: string;
|
|
525
|
-
boxDomain?: string;
|
|
526
|
-
certReady?: boolean;
|
|
527
|
-
boxCert?: string;
|
|
528
|
-
} & {
|
|
529
|
-
originServer?: string;
|
|
530
|
-
virtualIp?: string;
|
|
531
|
-
boxId?: string;
|
|
532
|
-
boxName?: string;
|
|
533
|
-
boxDomain?: string;
|
|
534
|
-
certReady?: boolean;
|
|
535
|
-
boxCert?: string;
|
|
536
|
-
} & { [K_1 in Exclude<keyof I_1, keyof BoxInfo>]: never; }>(object: I_1): BoxInfo;
|
|
416
|
+
} & { [K in Exclude<keyof I, keyof BoxInfo>]: never; }>(object: I): BoxInfo;
|
|
537
417
|
};
|
|
538
418
|
export declare const DomainCertRequest: {
|
|
539
419
|
encode(message: DomainCertRequest, writer?: _m0.Writer): _m0.Writer;
|
|
540
420
|
decode(input: _m0.Reader | Uint8Array, length?: number): DomainCertRequest;
|
|
541
421
|
fromJSON(object: any): DomainCertRequest;
|
|
542
422
|
toJSON(message: DomainCertRequest): unknown;
|
|
543
|
-
|
|
544
|
-
domain?: string;
|
|
545
|
-
} & {
|
|
546
|
-
domain?: string;
|
|
547
|
-
} & { [K in Exclude<keyof I, "domain">]: never; }>(base?: I): DomainCertRequest;
|
|
548
|
-
fromPartial<I_1 extends {
|
|
423
|
+
fromPartial<I extends {
|
|
549
424
|
domain?: string;
|
|
550
425
|
} & {
|
|
551
426
|
domain?: string;
|
|
552
|
-
} & { [
|
|
427
|
+
} & { [K in Exclude<keyof I, "domain">]: never; }>(object: I): DomainCertRequest;
|
|
553
428
|
};
|
|
554
429
|
export declare const DomainCertReply: {
|
|
555
430
|
encode(message: DomainCertReply, writer?: _m0.Writer): _m0.Writer;
|
|
556
431
|
decode(input: _m0.Reader | Uint8Array, length?: number): DomainCertReply;
|
|
557
432
|
fromJSON(object: any): DomainCertReply;
|
|
558
433
|
toJSON(message: DomainCertReply): unknown;
|
|
559
|
-
|
|
560
|
-
cert?: string;
|
|
561
|
-
key?: string;
|
|
562
|
-
ocsp?: Uint8Array;
|
|
563
|
-
} & {
|
|
564
|
-
cert?: string;
|
|
565
|
-
key?: string;
|
|
566
|
-
ocsp?: Uint8Array;
|
|
567
|
-
} & { [K in Exclude<keyof I, keyof DomainCertReply>]: never; }>(base?: I): DomainCertReply;
|
|
568
|
-
fromPartial<I_1 extends {
|
|
434
|
+
fromPartial<I extends {
|
|
569
435
|
cert?: string;
|
|
570
436
|
key?: string;
|
|
571
437
|
ocsp?: Uint8Array;
|
|
@@ -573,33 +439,14 @@ export declare const DomainCertReply: {
|
|
|
573
439
|
cert?: string;
|
|
574
440
|
key?: string;
|
|
575
441
|
ocsp?: Uint8Array;
|
|
576
|
-
} & { [
|
|
442
|
+
} & { [K in Exclude<keyof I, keyof DomainCertReply>]: never; }>(object: I): DomainCertReply;
|
|
577
443
|
};
|
|
578
444
|
export declare const Device: {
|
|
579
445
|
encode(message: Device, writer?: _m0.Writer): _m0.Writer;
|
|
580
446
|
decode(input: _m0.Reader | Uint8Array, length?: number): Device;
|
|
581
447
|
fromJSON(object: any): Device;
|
|
582
448
|
toJSON(message: Device): unknown;
|
|
583
|
-
|
|
584
|
-
udid?: string;
|
|
585
|
-
peerId?: string;
|
|
586
|
-
isOnline?: boolean;
|
|
587
|
-
deviceApiUrl?: string;
|
|
588
|
-
name?: string;
|
|
589
|
-
model?: string;
|
|
590
|
-
bindingTime?: Date | undefined;
|
|
591
|
-
isMobile?: boolean;
|
|
592
|
-
} & {
|
|
593
|
-
udid?: string;
|
|
594
|
-
peerId?: string;
|
|
595
|
-
isOnline?: boolean;
|
|
596
|
-
deviceApiUrl?: string;
|
|
597
|
-
name?: string;
|
|
598
|
-
model?: string;
|
|
599
|
-
bindingTime?: Date | undefined;
|
|
600
|
-
isMobile?: boolean;
|
|
601
|
-
} & { [K in Exclude<keyof I, keyof Device>]: never; }>(base?: I): Device;
|
|
602
|
-
fromPartial<I_1 extends {
|
|
449
|
+
fromPartial<I extends {
|
|
603
450
|
udid?: string;
|
|
604
451
|
peerId?: string;
|
|
605
452
|
isOnline?: boolean;
|
|
@@ -617,30 +464,25 @@ export declare const Device: {
|
|
|
617
464
|
model?: string;
|
|
618
465
|
bindingTime?: Date | undefined;
|
|
619
466
|
isMobile?: boolean;
|
|
620
|
-
} & { [
|
|
467
|
+
} & { [K in Exclude<keyof I, keyof Device>]: never; }>(object: I): Device;
|
|
621
468
|
};
|
|
622
469
|
export declare const ListDeviceRequest: {
|
|
623
470
|
encode(message: ListDeviceRequest, writer?: _m0.Writer): _m0.Writer;
|
|
624
471
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListDeviceRequest;
|
|
625
472
|
fromJSON(object: any): ListDeviceRequest;
|
|
626
473
|
toJSON(message: ListDeviceRequest): unknown;
|
|
627
|
-
|
|
474
|
+
fromPartial<I extends {
|
|
628
475
|
uid?: string;
|
|
629
476
|
} & {
|
|
630
477
|
uid?: string;
|
|
631
|
-
} & { [K in Exclude<keyof I, "uid">]: never; }>(
|
|
632
|
-
fromPartial<I_1 extends {
|
|
633
|
-
uid?: string;
|
|
634
|
-
} & {
|
|
635
|
-
uid?: string;
|
|
636
|
-
} & { [K_1 in Exclude<keyof I_1, "uid">]: never; }>(object: I_1): ListDeviceRequest;
|
|
478
|
+
} & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): ListDeviceRequest;
|
|
637
479
|
};
|
|
638
480
|
export declare const ListDeviceReply: {
|
|
639
481
|
encode(message: ListDeviceReply, writer?: _m0.Writer): _m0.Writer;
|
|
640
482
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListDeviceReply;
|
|
641
483
|
fromJSON(object: any): ListDeviceReply;
|
|
642
484
|
toJSON(message: ListDeviceReply): unknown;
|
|
643
|
-
|
|
485
|
+
fromPartial<I extends {
|
|
644
486
|
devices?: {
|
|
645
487
|
udid?: string;
|
|
646
488
|
peerId?: string;
|
|
@@ -689,120 +531,51 @@ export declare const ListDeviceReply: {
|
|
|
689
531
|
bindingTime?: Date | undefined;
|
|
690
532
|
isMobile?: boolean;
|
|
691
533
|
}[]>]: never; };
|
|
692
|
-
} & { [K_2 in Exclude<keyof I, "devices">]: never; }>(
|
|
693
|
-
fromPartial<I_1 extends {
|
|
694
|
-
devices?: {
|
|
695
|
-
udid?: string;
|
|
696
|
-
peerId?: string;
|
|
697
|
-
isOnline?: boolean;
|
|
698
|
-
deviceApiUrl?: string;
|
|
699
|
-
name?: string;
|
|
700
|
-
model?: string;
|
|
701
|
-
bindingTime?: Date | undefined;
|
|
702
|
-
isMobile?: boolean;
|
|
703
|
-
}[];
|
|
704
|
-
} & {
|
|
705
|
-
devices?: {
|
|
706
|
-
udid?: string;
|
|
707
|
-
peerId?: string;
|
|
708
|
-
isOnline?: boolean;
|
|
709
|
-
deviceApiUrl?: string;
|
|
710
|
-
name?: string;
|
|
711
|
-
model?: string;
|
|
712
|
-
bindingTime?: Date | undefined;
|
|
713
|
-
isMobile?: boolean;
|
|
714
|
-
}[] & ({
|
|
715
|
-
udid?: string;
|
|
716
|
-
peerId?: string;
|
|
717
|
-
isOnline?: boolean;
|
|
718
|
-
deviceApiUrl?: string;
|
|
719
|
-
name?: string;
|
|
720
|
-
model?: string;
|
|
721
|
-
bindingTime?: Date | undefined;
|
|
722
|
-
isMobile?: boolean;
|
|
723
|
-
} & {
|
|
724
|
-
udid?: string;
|
|
725
|
-
peerId?: string;
|
|
726
|
-
isOnline?: boolean;
|
|
727
|
-
deviceApiUrl?: string;
|
|
728
|
-
name?: string;
|
|
729
|
-
model?: string;
|
|
730
|
-
bindingTime?: Date | undefined;
|
|
731
|
-
isMobile?: boolean;
|
|
732
|
-
} & { [K_3 in Exclude<keyof I_1["devices"][number], keyof Device>]: never; })[] & { [K_4 in Exclude<keyof I_1["devices"], keyof {
|
|
733
|
-
udid?: string;
|
|
734
|
-
peerId?: string;
|
|
735
|
-
isOnline?: boolean;
|
|
736
|
-
deviceApiUrl?: string;
|
|
737
|
-
name?: string;
|
|
738
|
-
model?: string;
|
|
739
|
-
bindingTime?: Date | undefined;
|
|
740
|
-
isMobile?: boolean;
|
|
741
|
-
}[]>]: never; };
|
|
742
|
-
} & { [K_5 in Exclude<keyof I_1, "devices">]: never; }>(object: I_1): ListDeviceReply;
|
|
534
|
+
} & { [K_2 in Exclude<keyof I, "devices">]: never; }>(object: I): ListDeviceReply;
|
|
743
535
|
};
|
|
744
536
|
export declare const UserID: {
|
|
745
537
|
encode(message: UserID, writer?: _m0.Writer): _m0.Writer;
|
|
746
538
|
decode(input: _m0.Reader | Uint8Array, length?: number): UserID;
|
|
747
539
|
fromJSON(object: any): UserID;
|
|
748
540
|
toJSON(message: UserID): unknown;
|
|
749
|
-
|
|
750
|
-
uid?: string;
|
|
751
|
-
} & {
|
|
752
|
-
uid?: string;
|
|
753
|
-
} & { [K in Exclude<keyof I, "uid">]: never; }>(base?: I): UserID;
|
|
754
|
-
fromPartial<I_1 extends {
|
|
541
|
+
fromPartial<I extends {
|
|
755
542
|
uid?: string;
|
|
756
543
|
} & {
|
|
757
544
|
uid?: string;
|
|
758
|
-
} & { [
|
|
545
|
+
} & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): UserID;
|
|
759
546
|
};
|
|
760
547
|
export declare const ChangeRoleReqeust: {
|
|
761
548
|
encode(message: ChangeRoleReqeust, writer?: _m0.Writer): _m0.Writer;
|
|
762
549
|
decode(input: _m0.Reader | Uint8Array, length?: number): ChangeRoleReqeust;
|
|
763
550
|
fromJSON(object: any): ChangeRoleReqeust;
|
|
764
551
|
toJSON(message: ChangeRoleReqeust): unknown;
|
|
765
|
-
|
|
766
|
-
uid?: string;
|
|
767
|
-
role?: Role;
|
|
768
|
-
} & {
|
|
769
|
-
uid?: string;
|
|
770
|
-
role?: Role;
|
|
771
|
-
} & { [K in Exclude<keyof I, keyof ChangeRoleReqeust>]: never; }>(base?: I): ChangeRoleReqeust;
|
|
772
|
-
fromPartial<I_1 extends {
|
|
552
|
+
fromPartial<I extends {
|
|
773
553
|
uid?: string;
|
|
774
554
|
role?: Role;
|
|
775
555
|
} & {
|
|
776
556
|
uid?: string;
|
|
777
557
|
role?: Role;
|
|
778
|
-
} & { [
|
|
558
|
+
} & { [K in Exclude<keyof I, keyof ChangeRoleReqeust>]: never; }>(object: I): ChangeRoleReqeust;
|
|
779
559
|
};
|
|
780
560
|
export declare const QueryRoleReply: {
|
|
781
561
|
encode(message: QueryRoleReply, writer?: _m0.Writer): _m0.Writer;
|
|
782
562
|
decode(input: _m0.Reader | Uint8Array, length?: number): QueryRoleReply;
|
|
783
563
|
fromJSON(object: any): QueryRoleReply;
|
|
784
564
|
toJSON(message: QueryRoleReply): unknown;
|
|
785
|
-
|
|
565
|
+
fromPartial<I extends {
|
|
786
566
|
uid?: string;
|
|
787
567
|
role?: Role;
|
|
788
568
|
} & {
|
|
789
569
|
uid?: string;
|
|
790
570
|
role?: Role;
|
|
791
|
-
} & { [K in Exclude<keyof I, keyof QueryRoleReply>]: never; }>(
|
|
792
|
-
fromPartial<I_1 extends {
|
|
793
|
-
uid?: string;
|
|
794
|
-
role?: Role;
|
|
795
|
-
} & {
|
|
796
|
-
uid?: string;
|
|
797
|
-
role?: Role;
|
|
798
|
-
} & { [K_1 in Exclude<keyof I_1, keyof QueryRoleReply>]: never; }>(object: I_1): QueryRoleReply;
|
|
571
|
+
} & { [K in Exclude<keyof I, keyof QueryRoleReply>]: never; }>(object: I): QueryRoleReply;
|
|
799
572
|
};
|
|
800
573
|
export declare const ResetPasswordRequest: {
|
|
801
574
|
encode(message: ResetPasswordRequest, writer?: _m0.Writer): _m0.Writer;
|
|
802
575
|
decode(input: _m0.Reader | Uint8Array, length?: number): ResetPasswordRequest;
|
|
803
576
|
fromJSON(object: any): ResetPasswordRequest;
|
|
804
577
|
toJSON(message: ResetPasswordRequest): unknown;
|
|
805
|
-
|
|
578
|
+
fromPartial<I extends {
|
|
806
579
|
uid?: string;
|
|
807
580
|
oldPassword?: string;
|
|
808
581
|
newPassword?: string;
|
|
@@ -810,39 +583,25 @@ export declare const ResetPasswordRequest: {
|
|
|
810
583
|
uid?: string;
|
|
811
584
|
oldPassword?: string;
|
|
812
585
|
newPassword?: string;
|
|
813
|
-
} & { [K in Exclude<keyof I, keyof ResetPasswordRequest>]: never; }>(
|
|
814
|
-
fromPartial<I_1 extends {
|
|
815
|
-
uid?: string;
|
|
816
|
-
oldPassword?: string;
|
|
817
|
-
newPassword?: string;
|
|
818
|
-
} & {
|
|
819
|
-
uid?: string;
|
|
820
|
-
oldPassword?: string;
|
|
821
|
-
newPassword?: string;
|
|
822
|
-
} & { [K_1 in Exclude<keyof I_1, keyof ResetPasswordRequest>]: never; }>(object: I_1): ResetPasswordRequest;
|
|
586
|
+
} & { [K in Exclude<keyof I, keyof ResetPasswordRequest>]: never; }>(object: I): ResetPasswordRequest;
|
|
823
587
|
};
|
|
824
588
|
export declare const DeleteUserRequest: {
|
|
825
589
|
encode(message: DeleteUserRequest, writer?: _m0.Writer): _m0.Writer;
|
|
826
590
|
decode(input: _m0.Reader | Uint8Array, length?: number): DeleteUserRequest;
|
|
827
591
|
fromJSON(object: any): DeleteUserRequest;
|
|
828
592
|
toJSON(message: DeleteUserRequest): unknown;
|
|
829
|
-
|
|
593
|
+
fromPartial<I extends {
|
|
830
594
|
uid?: string;
|
|
831
595
|
} & {
|
|
832
596
|
uid?: string;
|
|
833
|
-
} & { [K in Exclude<keyof I, "uid">]: never; }>(
|
|
834
|
-
fromPartial<I_1 extends {
|
|
835
|
-
uid?: string;
|
|
836
|
-
} & {
|
|
837
|
-
uid?: string;
|
|
838
|
-
} & { [K_1 in Exclude<keyof I_1, "uid">]: never; }>(object: I_1): DeleteUserRequest;
|
|
597
|
+
} & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): DeleteUserRequest;
|
|
839
598
|
};
|
|
840
599
|
export declare const CreateUserRequest: {
|
|
841
600
|
encode(message: CreateUserRequest, writer?: _m0.Writer): _m0.Writer;
|
|
842
601
|
decode(input: _m0.Reader | Uint8Array, length?: number): CreateUserRequest;
|
|
843
602
|
fromJSON(object: any): CreateUserRequest;
|
|
844
603
|
toJSON(message: CreateUserRequest): unknown;
|
|
845
|
-
|
|
604
|
+
fromPartial<I extends {
|
|
846
605
|
uid?: string;
|
|
847
606
|
password?: string;
|
|
848
607
|
role?: Role;
|
|
@@ -850,43 +609,27 @@ export declare const CreateUserRequest: {
|
|
|
850
609
|
uid?: string;
|
|
851
610
|
password?: string;
|
|
852
611
|
role?: Role;
|
|
853
|
-
} & { [K in Exclude<keyof I, keyof CreateUserRequest>]: never; }>(
|
|
854
|
-
fromPartial<I_1 extends {
|
|
855
|
-
uid?: string;
|
|
856
|
-
password?: string;
|
|
857
|
-
role?: Role;
|
|
858
|
-
} & {
|
|
859
|
-
uid?: string;
|
|
860
|
-
password?: string;
|
|
861
|
-
role?: Role;
|
|
862
|
-
} & { [K_1 in Exclude<keyof I_1, keyof CreateUserRequest>]: never; }>(object: I_1): CreateUserRequest;
|
|
612
|
+
} & { [K in Exclude<keyof I, keyof CreateUserRequest>]: never; }>(object: I): CreateUserRequest;
|
|
863
613
|
};
|
|
864
614
|
export declare const ForceResetPasswordRequest: {
|
|
865
615
|
encode(message: ForceResetPasswordRequest, writer?: _m0.Writer): _m0.Writer;
|
|
866
616
|
decode(input: _m0.Reader | Uint8Array, length?: number): ForceResetPasswordRequest;
|
|
867
617
|
fromJSON(object: any): ForceResetPasswordRequest;
|
|
868
618
|
toJSON(message: ForceResetPasswordRequest): unknown;
|
|
869
|
-
|
|
870
|
-
uid?: string;
|
|
871
|
-
newPassword?: string;
|
|
872
|
-
} & {
|
|
873
|
-
uid?: string;
|
|
874
|
-
newPassword?: string;
|
|
875
|
-
} & { [K in Exclude<keyof I, keyof ForceResetPasswordRequest>]: never; }>(base?: I): ForceResetPasswordRequest;
|
|
876
|
-
fromPartial<I_1 extends {
|
|
619
|
+
fromPartial<I extends {
|
|
877
620
|
uid?: string;
|
|
878
621
|
newPassword?: string;
|
|
879
622
|
} & {
|
|
880
623
|
uid?: string;
|
|
881
624
|
newPassword?: string;
|
|
882
|
-
} & { [
|
|
625
|
+
} & { [K in Exclude<keyof I, keyof ForceResetPasswordRequest>]: never; }>(object: I): ForceResetPasswordRequest;
|
|
883
626
|
};
|
|
884
627
|
export declare const LogoutRequest: {
|
|
885
628
|
encode(message: LogoutRequest, writer?: _m0.Writer): _m0.Writer;
|
|
886
629
|
decode(input: _m0.Reader | Uint8Array, length?: number): LogoutRequest;
|
|
887
630
|
fromJSON(object: any): LogoutRequest;
|
|
888
631
|
toJSON(message: LogoutRequest): unknown;
|
|
889
|
-
|
|
632
|
+
fromPartial<I extends {
|
|
890
633
|
uid?: string;
|
|
891
634
|
udid?: string;
|
|
892
635
|
reason?: LogoutRequest_Reason;
|
|
@@ -894,36 +637,20 @@ export declare const LogoutRequest: {
|
|
|
894
637
|
uid?: string;
|
|
895
638
|
udid?: string;
|
|
896
639
|
reason?: LogoutRequest_Reason;
|
|
897
|
-
} & { [K in Exclude<keyof I, keyof LogoutRequest>]: never; }>(
|
|
898
|
-
fromPartial<I_1 extends {
|
|
899
|
-
uid?: string;
|
|
900
|
-
udid?: string;
|
|
901
|
-
reason?: LogoutRequest_Reason;
|
|
902
|
-
} & {
|
|
903
|
-
uid?: string;
|
|
904
|
-
udid?: string;
|
|
905
|
-
reason?: LogoutRequest_Reason;
|
|
906
|
-
} & { [K_1 in Exclude<keyof I_1, keyof LogoutRequest>]: never; }>(object: I_1): LogoutRequest;
|
|
640
|
+
} & { [K in Exclude<keyof I, keyof LogoutRequest>]: never; }>(object: I): LogoutRequest;
|
|
907
641
|
};
|
|
908
642
|
export declare const CheckPasswordRequest: {
|
|
909
643
|
encode(message: CheckPasswordRequest, writer?: _m0.Writer): _m0.Writer;
|
|
910
644
|
decode(input: _m0.Reader | Uint8Array, length?: number): CheckPasswordRequest;
|
|
911
645
|
fromJSON(object: any): CheckPasswordRequest;
|
|
912
646
|
toJSON(message: CheckPasswordRequest): unknown;
|
|
913
|
-
|
|
914
|
-
uid?: string;
|
|
915
|
-
password?: string;
|
|
916
|
-
} & {
|
|
917
|
-
uid?: string;
|
|
918
|
-
password?: string;
|
|
919
|
-
} & { [K in Exclude<keyof I, keyof CheckPasswordRequest>]: never; }>(base?: I): CheckPasswordRequest;
|
|
920
|
-
fromPartial<I_1 extends {
|
|
647
|
+
fromPartial<I extends {
|
|
921
648
|
uid?: string;
|
|
922
649
|
password?: string;
|
|
923
650
|
} & {
|
|
924
651
|
uid?: string;
|
|
925
652
|
password?: string;
|
|
926
|
-
} & { [
|
|
653
|
+
} & { [K in Exclude<keyof I, keyof CheckPasswordRequest>]: never; }>(object: I): CheckPasswordRequest;
|
|
927
654
|
};
|
|
928
655
|
export interface HPortalSys {
|
|
929
656
|
/** 用auth-token反向查询登陆的设备以及UID */
|
|
@@ -1025,7 +752,7 @@ interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any>
|
|
|
1025
752
|
requestStream: any;
|
|
1026
753
|
responseStream: any;
|
|
1027
754
|
}
|
|
1028
|
-
type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
|
|
755
|
+
declare type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
|
|
1029
756
|
interface Rpc {
|
|
1030
757
|
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Promise<any>;
|
|
1031
758
|
invoke<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Observable<any>;
|
|
@@ -1043,12 +770,11 @@ export declare class GrpcWebImpl {
|
|
|
1043
770
|
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Promise<any>;
|
|
1044
771
|
invoke<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Observable<any>;
|
|
1045
772
|
}
|
|
1046
|
-
declare
|
|
1047
|
-
type
|
|
1048
|
-
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 {} ? {
|
|
773
|
+
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
774
|
+
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 {} ? {
|
|
1049
775
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1050
776
|
} : Partial<T>;
|
|
1051
|
-
export declare class GrpcWebError extends
|
|
777
|
+
export declare class GrpcWebError extends Error {
|
|
1052
778
|
code: grpc.Code;
|
|
1053
779
|
metadata: grpc.Metadata;
|
|
1054
780
|
constructor(message: string, code: grpc.Code, metadata: grpc.Metadata);
|