@lazycatcloud/sdk 0.1.130 → 0.1.131
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/API.d.ts +24 -0
- package/dist/API.d.ts.map +1 -0
- package/dist/API.js +117 -0
- package/dist/API.js.map +1 -0
- package/dist/common/box.d.ts +13 -55
- package/dist/common/box.d.ts.map +1 -1
- package/dist/common/box.js +47 -46
- package/dist/common/box.js.map +1 -1
- package/dist/common/browseronly.d.ts +12 -40
- package/dist/common/browseronly.d.ts.map +1 -1
- package/dist/common/browseronly.js +33 -50
- package/dist/common/browseronly.js.map +1 -1
- package/dist/common/end_device.d.ts +16 -103
- package/dist/common/end_device.d.ts.map +1 -1
- package/dist/common/end_device.js +49 -59
- 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 +21 -43
- package/dist/common/file_handler.js.map +1 -1
- package/dist/common/filetrans.d.ts +87 -656
- package/dist/common/filetrans.d.ts.map +1 -1
- package/dist/common/filetrans.js +220 -163
- package/dist/common/filetrans.js.map +1 -1
- package/dist/common/gateway.d.ts +15 -61
- package/dist/common/gateway.d.ts.map +1 -1
- package/dist/common/gateway.js +41 -55
- package/dist/common/gateway.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 +25 -18
- package/dist/common/message.js.map +1 -1
- package/dist/common/peripheral_device.d.ts +20 -143
- package/dist/common/peripheral_device.d.ts.map +1 -1
- package/dist/common/peripheral_device.js +53 -59
- 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 +39 -52
- package/dist/common/security_context.js.map +1 -1
- package/dist/common/users.d.ts +25 -96
- package/dist/common/users.d.ts.map +1 -1
- package/dist/common/users.js +46 -87
- package/dist/common/users.js.map +1 -1
- package/dist/dlna/dlna.d.ts +20 -102
- package/dist/dlna/dlna.d.ts.map +1 -1
- package/dist/dlna/dlna.js +68 -73
- package/dist/dlna/dlna.js.map +1 -1
- package/dist/google/protobuf/descriptor.d.ts +4866 -55328
- package/dist/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/google/protobuf/descriptor.js +414 -265
- 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 +4 -9
- package/dist/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/google/protobuf/timestamp.js +8 -14
- package/dist/google/protobuf/timestamp.js.map +1 -1
- package/dist/google/protobuf/wrappers.d.ts +182 -0
- package/dist/google/protobuf/wrappers.d.ts.map +1 -0
- package/dist/google/protobuf/wrappers.js +458 -0
- package/dist/google/protobuf/wrappers.js.map +1 -0
- 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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lanforward/lanforward.d.ts +9 -22
- package/dist/lanforward/lanforward.d.ts.map +1 -1
- package/dist/lanforward/lanforward.js +16 -33
- package/dist/lanforward/lanforward.js.map +1 -1
- package/dist/localdevice/clipboard.d.ts +13 -36
- package/dist/localdevice/clipboard.d.ts.map +1 -1
- package/dist/localdevice/clipboard.js +40 -47
- 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 +12 -29
- package/dist/localdevice/config.js.map +1 -1
- package/dist/localdevice/device.d.ts +7 -19
- package/dist/localdevice/device.d.ts.map +1 -1
- package/dist/localdevice/device.js +13 -27
- package/dist/localdevice/device.js.map +1 -1
- package/dist/localdevice/dialog.d.ts +19 -69
- package/dist/localdevice/dialog.d.ts.map +1 -1
- package/dist/localdevice/dialog.js +32 -58
- package/dist/localdevice/dialog.js.map +1 -1
- package/dist/localdevice/local-launch.d.ts +39 -81
- package/dist/localdevice/local-launch.d.ts.map +1 -1
- package/dist/localdevice/local-launch.js +72 -104
- package/dist/localdevice/local-launch.js.map +1 -1
- package/dist/localdevice/network.d.ts +7 -15
- package/dist/localdevice/network.d.ts.map +1 -1
- package/dist/localdevice/network.js +10 -26
- package/dist/localdevice/network.js.map +1 -1
- package/dist/localdevice/permission.d.ts +17 -60
- package/dist/localdevice/permission.d.ts.map +1 -1
- package/dist/localdevice/permission.js +52 -57
- package/dist/localdevice/permission.js.map +1 -1
- package/dist/localdevice/photo.d.ts +29 -193
- package/dist/localdevice/photo.d.ts.map +1 -1
- package/dist/localdevice/photo.js +172 -122
- package/dist/localdevice/photo.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/ssdp/ssdp.d.ts +9 -28
- package/dist/ssdp/ssdp.d.ts.map +1 -1
- package/dist/ssdp/ssdp.js +13 -32
- package/dist/ssdp/ssdp.js.map +1 -1
- package/dist/sys/OS_daemon.d.ts +11 -29
- package/dist/sys/OS_daemon.d.ts.map +1 -1
- package/dist/sys/OS_daemon.js +20 -37
- package/dist/sys/OS_daemon.js.map +1 -1
- package/dist/sys/OS_snapshot.d.ts +33 -181
- package/dist/sys/OS_snapshot.d.ts.map +1 -1
- package/dist/sys/OS_snapshot.js +121 -141
- package/dist/sys/OS_snapshot.js.map +1 -1
- package/dist/sys/OS_upgrader.d.ts +13 -48
- package/dist/sys/OS_upgrader.d.ts.map +1 -1
- package/dist/sys/OS_upgrader.js +63 -68
- package/dist/sys/OS_upgrader.js.map +1 -1
- package/dist/sys/event.d.ts +20 -92
- package/dist/sys/event.d.ts.map +1 -1
- package/dist/sys/event.js +40 -65
- package/dist/sys/event.js.map +1 -1
- package/dist/sys/hc-core/hc-core.d.ts +34 -246
- package/dist/sys/hc-core/hc-core.d.ts.map +1 -1
- package/dist/sys/hc-core/hc-core.js +102 -125
- package/dist/sys/hc-core/hc-core.js.map +1 -1
- package/dist/sys/ingress.d.ts +27 -97
- package/dist/sys/ingress.d.ts.map +1 -1
- package/dist/sys/ingress.js +82 -93
- package/dist/sys/ingress.js.map +1 -1
- package/dist/sys/message.d.ts +186 -0
- package/dist/sys/message.d.ts.map +1 -0
- package/dist/sys/message.js +493 -0
- package/dist/sys/message.js.map +1 -0
- package/dist/sys/network_manager.d.ts +17 -138
- package/dist/sys/network_manager.d.ts.map +1 -1
- package/dist/sys/network_manager.js +78 -72
- package/dist/sys/network_manager.js.map +1 -1
- package/dist/sys/package_manager.d.ts +41 -304
- package/dist/sys/package_manager.d.ts.map +1 -1
- package/dist/sys/package_manager.js +95 -121
- package/dist/sys/package_manager.js.map +1 -1
- package/dist/sys/portal-server/portal-server.d.ts +61 -335
- package/dist/sys/portal-server/portal-server.d.ts.map +1 -1
- package/dist/sys/portal-server/portal-server.js +206 -215
- package/dist/sys/portal-server/portal-server.js.map +1 -1
- package/dist/sys/settings.d.ts +68 -0
- package/dist/sys/settings.d.ts.map +1 -0
- package/dist/sys/settings.js +183 -0
- package/dist/sys/settings.js.map +1 -0
- package/dist/sys/snapd.d.ts +19 -106
- package/dist/sys/snapd.d.ts.map +1 -1
- package/dist/sys/snapd.js +68 -82
- package/dist/sys/snapd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { grpc } from "@improbable-eng/grpc-web";
|
|
2
|
-
import _m0 from "protobufjs/minimal";
|
|
3
|
-
import { Observable } from "rxjs";
|
|
4
2
|
import { Empty } from "../../google/protobuf/empty";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
import _m0 from "protobufjs/minimal";
|
|
5
5
|
export declare enum Role {
|
|
6
6
|
NORMAL = 0,
|
|
7
7
|
ADMIN = 1,
|
|
@@ -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
|
-
|
|
260
|
-
token?: string;
|
|
261
|
-
} & {
|
|
262
|
-
token?: string;
|
|
263
|
-
} & { [K in Exclude<keyof I, "token">]: never; }>(base?: I): UserInvitation;
|
|
264
|
-
fromPartial<I_1 extends {
|
|
242
|
+
fromPartial<I extends {
|
|
265
243
|
token?: string;
|
|
266
244
|
} & {
|
|
267
245
|
token?: string;
|
|
268
|
-
} & { [
|
|
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
|
-
|
|
277
|
+
fromPartial<I extends {
|
|
312
278
|
usage?: string;
|
|
313
279
|
subdomain?: string;
|
|
314
280
|
} & {
|
|
315
281
|
usage?: string;
|
|
316
282
|
subdomain?: string;
|
|
317
|
-
} & { [K in Exclude<keyof I, keyof AllocVEIPRequest>]: never; }>(
|
|
318
|
-
fromPartial<I_1 extends {
|
|
319
|
-
usage?: string;
|
|
320
|
-
subdomain?: string;
|
|
321
|
-
} & {
|
|
322
|
-
usage?: string;
|
|
323
|
-
subdomain?: string;
|
|
324
|
-
} & { [K_1 in Exclude<keyof I_1, keyof AllocVEIPRequest>]: never; }>(object: I_1): AllocVEIPRequest;
|
|
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
|
-
|
|
301
|
+
fromPartial<I extends {
|
|
348
302
|
ip?: string;
|
|
349
303
|
waitSecond?: number;
|
|
350
304
|
} & {
|
|
351
305
|
ip?: string;
|
|
352
306
|
waitSecond?: number;
|
|
353
|
-
} & { [K in Exclude<keyof I, keyof FreeVEIPRequest>]: never; }>(
|
|
354
|
-
fromPartial<I_1 extends {
|
|
355
|
-
ip?: string;
|
|
356
|
-
waitSecond?: number;
|
|
357
|
-
} & {
|
|
358
|
-
ip?: string;
|
|
359
|
-
waitSecond?: number;
|
|
360
|
-
} & { [K_1 in Exclude<keyof I_1, keyof FreeVEIPRequest>]: never; }>(object: I_1): FreeVEIPRequest;
|
|
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,60 +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
|
-
|
|
389
|
+
fromPartial<I extends {
|
|
488
390
|
id?: string;
|
|
489
391
|
} & {
|
|
490
392
|
id?: string;
|
|
491
|
-
} & { [K in Exclude<keyof I, "id">]: never; }>(
|
|
492
|
-
fromPartial<I_1 extends {
|
|
493
|
-
id?: string;
|
|
494
|
-
} & {
|
|
495
|
-
id?: string;
|
|
496
|
-
} & { [K_1 in Exclude<keyof I_1, "id">]: never; }>(object: I_1): DeviceID;
|
|
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
|
-
|
|
504
|
-
originServer?: string;
|
|
505
|
-
virtualIp?: string;
|
|
506
|
-
boxId?: string;
|
|
507
|
-
boxName?: string;
|
|
508
|
-
boxDomain?: string;
|
|
509
|
-
certReady?: boolean;
|
|
510
|
-
boxCert?: string;
|
|
511
|
-
} & {
|
|
512
|
-
originServer?: string;
|
|
513
|
-
virtualIp?: string;
|
|
514
|
-
boxId?: string;
|
|
515
|
-
boxName?: string;
|
|
516
|
-
boxDomain?: string;
|
|
517
|
-
certReady?: boolean;
|
|
518
|
-
boxCert?: string;
|
|
519
|
-
} & { [K in Exclude<keyof I, keyof BoxInfo>]: never; }>(base?: I): BoxInfo;
|
|
520
|
-
fromPartial<I_1 extends {
|
|
400
|
+
fromPartial<I extends {
|
|
521
401
|
originServer?: string;
|
|
522
402
|
virtualIp?: string;
|
|
523
403
|
boxId?: string;
|
|
@@ -533,30 +413,25 @@ export declare const BoxInfo: {
|
|
|
533
413
|
boxDomain?: string;
|
|
534
414
|
certReady?: boolean;
|
|
535
415
|
boxCert?: string;
|
|
536
|
-
} & { [
|
|
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
|
-
|
|
423
|
+
fromPartial<I extends {
|
|
544
424
|
domain?: string;
|
|
545
425
|
} & {
|
|
546
426
|
domain?: string;
|
|
547
|
-
} & { [K in Exclude<keyof I, "domain">]: never; }>(
|
|
548
|
-
fromPartial<I_1 extends {
|
|
549
|
-
domain?: string;
|
|
550
|
-
} & {
|
|
551
|
-
domain?: string;
|
|
552
|
-
} & { [K_1 in Exclude<keyof I_1, "domain">]: never; }>(object: I_1): DomainCertRequest;
|
|
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
|
-
|
|
434
|
+
fromPartial<I extends {
|
|
560
435
|
cert?: string;
|
|
561
436
|
key?: string;
|
|
562
437
|
ocsp?: Uint8Array;
|
|
@@ -564,42 +439,14 @@ export declare const DomainCertReply: {
|
|
|
564
439
|
cert?: string;
|
|
565
440
|
key?: string;
|
|
566
441
|
ocsp?: Uint8Array;
|
|
567
|
-
} & { [K in Exclude<keyof I, keyof DomainCertReply>]: never; }>(
|
|
568
|
-
fromPartial<I_1 extends {
|
|
569
|
-
cert?: string;
|
|
570
|
-
key?: string;
|
|
571
|
-
ocsp?: Uint8Array;
|
|
572
|
-
} & {
|
|
573
|
-
cert?: string;
|
|
574
|
-
key?: string;
|
|
575
|
-
ocsp?: Uint8Array;
|
|
576
|
-
} & { [K_1 in Exclude<keyof I_1, keyof DomainCertReply>]: never; }>(object: I_1): DomainCertReply;
|
|
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
|
-
|
|
628
|
-
uid?: string;
|
|
629
|
-
} & {
|
|
630
|
-
uid?: string;
|
|
631
|
-
} & { [K in Exclude<keyof I, "uid">]: never; }>(base?: I): ListDeviceRequest;
|
|
632
|
-
fromPartial<I_1 extends {
|
|
474
|
+
fromPartial<I extends {
|
|
633
475
|
uid?: string;
|
|
634
476
|
} & {
|
|
635
477
|
uid?: string;
|
|
636
|
-
} & { [
|
|
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,129 +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
|
-
|
|
541
|
+
fromPartial<I extends {
|
|
750
542
|
uid?: string;
|
|
751
543
|
} & {
|
|
752
544
|
uid?: string;
|
|
753
|
-
} & { [K in Exclude<keyof I, "uid">]: never; }>(
|
|
754
|
-
fromPartial<I_1 extends {
|
|
755
|
-
uid?: string;
|
|
756
|
-
} & {
|
|
757
|
-
uid?: string;
|
|
758
|
-
} & { [K_1 in Exclude<keyof I_1, "uid">]: never; }>(object: I_1): UserID;
|
|
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
|
-
|
|
552
|
+
fromPartial<I extends {
|
|
766
553
|
uid?: string;
|
|
767
554
|
role?: Role;
|
|
768
555
|
} & {
|
|
769
556
|
uid?: string;
|
|
770
557
|
role?: Role;
|
|
771
|
-
} & { [K in Exclude<keyof I, keyof ChangeRoleReqeust>]: never; }>(
|
|
772
|
-
fromPartial<I_1 extends {
|
|
773
|
-
uid?: string;
|
|
774
|
-
role?: Role;
|
|
775
|
-
} & {
|
|
776
|
-
uid?: string;
|
|
777
|
-
role?: Role;
|
|
778
|
-
} & { [K_1 in Exclude<keyof I_1, keyof ChangeRoleReqeust>]: never; }>(object: I_1): ChangeRoleReqeust;
|
|
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
|
-
|
|
806
|
-
uid?: string;
|
|
807
|
-
oldPassword?: string;
|
|
808
|
-
newPassword?: string;
|
|
809
|
-
} & {
|
|
810
|
-
uid?: string;
|
|
811
|
-
oldPassword?: string;
|
|
812
|
-
newPassword?: string;
|
|
813
|
-
} & { [K in Exclude<keyof I, keyof ResetPasswordRequest>]: never; }>(base?: I): ResetPasswordRequest;
|
|
814
|
-
fromPartial<I_1 extends {
|
|
578
|
+
fromPartial<I extends {
|
|
815
579
|
uid?: string;
|
|
816
580
|
oldPassword?: string;
|
|
817
581
|
newPassword?: string;
|
|
@@ -819,39 +583,25 @@ export declare const ResetPasswordRequest: {
|
|
|
819
583
|
uid?: string;
|
|
820
584
|
oldPassword?: string;
|
|
821
585
|
newPassword?: string;
|
|
822
|
-
} & { [
|
|
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
|
-
|
|
846
|
-
uid?: string;
|
|
847
|
-
password?: string;
|
|
848
|
-
role?: Role;
|
|
849
|
-
} & {
|
|
850
|
-
uid?: string;
|
|
851
|
-
password?: string;
|
|
852
|
-
role?: Role;
|
|
853
|
-
} & { [K in Exclude<keyof I, keyof CreateUserRequest>]: never; }>(base?: I): CreateUserRequest;
|
|
854
|
-
fromPartial<I_1 extends {
|
|
604
|
+
fromPartial<I extends {
|
|
855
605
|
uid?: string;
|
|
856
606
|
password?: string;
|
|
857
607
|
role?: Role;
|
|
@@ -859,34 +609,27 @@ export declare const CreateUserRequest: {
|
|
|
859
609
|
uid?: string;
|
|
860
610
|
password?: string;
|
|
861
611
|
role?: Role;
|
|
862
|
-
} & { [
|
|
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
|
-
|
|
619
|
+
fromPartial<I extends {
|
|
870
620
|
uid?: string;
|
|
871
621
|
newPassword?: string;
|
|
872
622
|
} & {
|
|
873
623
|
uid?: string;
|
|
874
624
|
newPassword?: string;
|
|
875
|
-
} & { [K in Exclude<keyof I, keyof ForceResetPasswordRequest>]: never; }>(
|
|
876
|
-
fromPartial<I_1 extends {
|
|
877
|
-
uid?: string;
|
|
878
|
-
newPassword?: string;
|
|
879
|
-
} & {
|
|
880
|
-
uid?: string;
|
|
881
|
-
newPassword?: string;
|
|
882
|
-
} & { [K_1 in Exclude<keyof I_1, keyof ForceResetPasswordRequest>]: never; }>(object: I_1): ForceResetPasswordRequest;
|
|
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);
|