@lazycatcloud/sdk 0.1.182 → 0.1.184
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/README.md +8 -0
- package/dist/common/apk_shell.d.ts +8 -25
- package/dist/common/apk_shell.d.ts.map +1 -1
- package/dist/common/apk_shell.js +24 -48
- package/dist/common/apk_shell.js.map +1 -1
- package/dist/common/appshell.d.ts +8 -25
- package/dist/common/appshell.d.ts.map +1 -1
- package/dist/common/appshell.js +24 -48
- package/dist/common/appshell.js.map +1 -1
- package/dist/common/box.d.ts +12 -54
- package/dist/common/box.d.ts.map +1 -1
- package/dist/common/box.js +36 -85
- package/dist/common/box.js.map +1 -1
- package/dist/common/browseronly.d.ts +10 -38
- package/dist/common/browseronly.d.ts.map +1 -1
- package/dist/common/browseronly.js +32 -94
- package/dist/common/browseronly.js.map +1 -1
- package/dist/common/end_device.d.ts +14 -101
- package/dist/common/end_device.d.ts.map +1 -1
- package/dist/common/end_device.js +42 -123
- package/dist/common/end_device.js.map +1 -1
- package/dist/common/file_handler.d.ts +14 -70
- package/dist/common/file_handler.d.ts.map +1 -1
- package/dist/common/file_handler.js +36 -103
- package/dist/common/file_handler.js.map +1 -1
- package/dist/common/filetrans.d.ts +53 -853
- package/dist/common/filetrans.d.ts.map +1 -1
- package/dist/common/filetrans.js +163 -412
- package/dist/common/filetrans.js.map +1 -1
- package/dist/common/gateway.d.ts +14 -60
- package/dist/common/gateway.d.ts.map +1 -1
- package/dist/common/gateway.js +43 -126
- package/dist/common/gateway.js.map +1 -1
- package/dist/common/media_meta.d.ts +8 -27
- package/dist/common/media_meta.d.ts.map +1 -1
- package/dist/common/media_meta.js +21 -52
- package/dist/common/media_meta.js.map +1 -1
- package/dist/common/message.d.ts +16 -106
- package/dist/common/message.d.ts.map +1 -1
- package/dist/common/message.js +58 -133
- package/dist/common/message.js.map +1 -1
- package/dist/common/peripheral_device.d.ts +18 -141
- package/dist/common/peripheral_device.d.ts.map +1 -1
- package/dist/common/peripheral_device.js +56 -140
- package/dist/common/peripheral_device.js.map +1 -1
- package/dist/common/security_context.d.ts +15 -54
- package/dist/common/security_context.d.ts.map +1 -1
- package/dist/common/security_context.js +47 -119
- package/dist/common/security_context.js.map +1 -1
- package/dist/common/users.d.ts +23 -98
- package/dist/common/users.d.ts.map +1 -1
- package/dist/common/users.js +85 -219
- package/dist/common/users.js.map +1 -1
- package/dist/dlna/dlna.d.ts +14 -19
- package/dist/dlna/dlna.d.ts.map +1 -1
- package/dist/dlna/dlna.js +62 -33
- package/dist/dlna/dlna.js.map +1 -1
- package/dist/extentions/app_common.d.ts +6 -0
- package/dist/extentions/app_common.d.ts.map +1 -1
- package/dist/extentions/app_common.js +14 -1
- package/dist/extentions/app_common.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 +257 -738
- package/dist/google/protobuf/descriptor.js.map +1 -1
- package/dist/google/protobuf/empty.d.ts +1 -2
- package/dist/google/protobuf/empty.d.ts.map +1 -1
- package/dist/google/protobuf/empty.js +4 -8
- package/dist/google/protobuf/empty.js.map +1 -1
- package/dist/google/protobuf/timestamp.d.ts +2 -9
- package/dist/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/google/protobuf/timestamp.js +8 -18
- package/dist/google/protobuf/timestamp.js.map +1 -1
- package/dist/grpcweb.d.ts +1 -1
- package/dist/grpcweb.d.ts.map +1 -1
- package/dist/lanforward/lanforward.d.ts +3 -3
- package/dist/lanforward/lanforward.d.ts.map +1 -1
- package/dist/localdevice/clipboard.d.ts +12 -35
- package/dist/localdevice/clipboard.d.ts.map +1 -1
- package/dist/localdevice/clipboard.js +37 -75
- package/dist/localdevice/clipboard.js.map +1 -1
- package/dist/localdevice/config.d.ts +42 -21
- package/dist/localdevice/config.d.ts.map +1 -1
- package/dist/localdevice/config.js +153 -57
- 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 +41 -47
- package/dist/sys/btrfs.d.ts.map +1 -1
- package/dist/sys/btrfs.js +124 -90
- 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 +43 -313
- 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 +94 -349
- package/dist/sys/portal-server/portal-server.d.ts.map +1 -1
- package/dist/sys/portal-server/portal-server.js +357 -618
- 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
|
@@ -229,48 +229,44 @@ export interface TrustUserDeviceRequest {
|
|
|
229
229
|
udid: string;
|
|
230
230
|
user: string;
|
|
231
231
|
}
|
|
232
|
+
export interface UpdateBoxStatusRequest {
|
|
233
|
+
/** 盒子是否启动完毕 */
|
|
234
|
+
startUp?: boolean | undefined;
|
|
235
|
+
/** 盒子数据盘状态是否OK */
|
|
236
|
+
dataPartition?: boolean | undefined;
|
|
237
|
+
}
|
|
238
|
+
export interface UpdateBoxStatusResponse {
|
|
239
|
+
}
|
|
232
240
|
export declare const RemoteSocksRequest: {
|
|
233
241
|
encode(message: RemoteSocksRequest, writer?: _m0.Writer): _m0.Writer;
|
|
234
242
|
decode(input: _m0.Reader | Uint8Array, length?: number): RemoteSocksRequest;
|
|
235
243
|
fromJSON(object: any): RemoteSocksRequest;
|
|
236
244
|
toJSON(message: RemoteSocksRequest): unknown;
|
|
237
|
-
|
|
238
|
-
locationType?: RemoteSocksRequest_LocationType;
|
|
239
|
-
target?: string;
|
|
240
|
-
} & {
|
|
241
|
-
locationType?: RemoteSocksRequest_LocationType;
|
|
242
|
-
target?: string;
|
|
243
|
-
} & { [K in Exclude<keyof I, keyof RemoteSocksRequest>]: never; }>(base?: I): RemoteSocksRequest;
|
|
244
|
-
fromPartial<I_1 extends {
|
|
245
|
+
fromPartial<I extends {
|
|
245
246
|
locationType?: RemoteSocksRequest_LocationType;
|
|
246
247
|
target?: string;
|
|
247
248
|
} & {
|
|
248
249
|
locationType?: RemoteSocksRequest_LocationType;
|
|
249
250
|
target?: string;
|
|
250
|
-
} & { [
|
|
251
|
+
} & { [K in Exclude<keyof I, keyof RemoteSocksRequest>]: never; }>(object: I): RemoteSocksRequest;
|
|
251
252
|
};
|
|
252
253
|
export declare const RemoteSocksReply: {
|
|
253
254
|
encode(message: RemoteSocksReply, writer?: _m0.Writer): _m0.Writer;
|
|
254
255
|
decode(input: _m0.Reader | Uint8Array, length?: number): RemoteSocksReply;
|
|
255
256
|
fromJSON(object: any): RemoteSocksReply;
|
|
256
257
|
toJSON(message: RemoteSocksReply): unknown;
|
|
257
|
-
|
|
258
|
+
fromPartial<I extends {
|
|
258
259
|
serverUrl?: string;
|
|
259
260
|
} & {
|
|
260
261
|
serverUrl?: string;
|
|
261
|
-
} & { [K in Exclude<keyof I, "serverUrl">]: never; }>(
|
|
262
|
-
fromPartial<I_1 extends {
|
|
263
|
-
serverUrl?: string;
|
|
264
|
-
} & {
|
|
265
|
-
serverUrl?: string;
|
|
266
|
-
} & { [K_1 in Exclude<keyof I_1, "serverUrl">]: never; }>(object: I_1): RemoteSocksReply;
|
|
262
|
+
} & { [K in Exclude<keyof I, "serverUrl">]: never; }>(object: I): RemoteSocksReply;
|
|
267
263
|
};
|
|
268
264
|
export declare const GenUserInvitationRequest: {
|
|
269
265
|
encode(message: GenUserInvitationRequest, writer?: _m0.Writer): _m0.Writer;
|
|
270
266
|
decode(input: _m0.Reader | Uint8Array, length?: number): GenUserInvitationRequest;
|
|
271
267
|
fromJSON(object: any): GenUserInvitationRequest;
|
|
272
268
|
toJSON(message: GenUserInvitationRequest): unknown;
|
|
273
|
-
|
|
269
|
+
fromPartial<I extends {
|
|
274
270
|
limitUid?: string | undefined;
|
|
275
271
|
notAfter?: Date | undefined;
|
|
276
272
|
limitUsageCount?: number | undefined;
|
|
@@ -286,136 +282,80 @@ export declare const GenUserInvitationRequest: {
|
|
|
286
282
|
allowInstallApp?: boolean | undefined;
|
|
287
283
|
enableAllowList?: boolean | undefined;
|
|
288
284
|
appAllowList?: string[] & string[] & { [K in Exclude<keyof I["appAllowList"], keyof string[]>]: never; };
|
|
289
|
-
} & { [K_1 in Exclude<keyof I, keyof GenUserInvitationRequest>]: never; }>(
|
|
290
|
-
fromPartial<I_1 extends {
|
|
291
|
-
limitUid?: string | undefined;
|
|
292
|
-
notAfter?: Date | undefined;
|
|
293
|
-
limitUsageCount?: number | undefined;
|
|
294
|
-
limitRole?: Role | undefined;
|
|
295
|
-
allowInstallApp?: boolean | undefined;
|
|
296
|
-
enableAllowList?: boolean | undefined;
|
|
297
|
-
appAllowList?: string[];
|
|
298
|
-
} & {
|
|
299
|
-
limitUid?: string | undefined;
|
|
300
|
-
notAfter?: Date | undefined;
|
|
301
|
-
limitUsageCount?: number | undefined;
|
|
302
|
-
limitRole?: Role | undefined;
|
|
303
|
-
allowInstallApp?: boolean | undefined;
|
|
304
|
-
enableAllowList?: boolean | undefined;
|
|
305
|
-
appAllowList?: string[] & string[] & { [K_2 in Exclude<keyof I_1["appAllowList"], keyof string[]>]: never; };
|
|
306
|
-
} & { [K_3 in Exclude<keyof I_1, keyof GenUserInvitationRequest>]: never; }>(object: I_1): GenUserInvitationRequest;
|
|
285
|
+
} & { [K_1 in Exclude<keyof I, keyof GenUserInvitationRequest>]: never; }>(object: I): GenUserInvitationRequest;
|
|
307
286
|
};
|
|
308
287
|
export declare const UserInvitation: {
|
|
309
288
|
encode(message: UserInvitation, writer?: _m0.Writer): _m0.Writer;
|
|
310
289
|
decode(input: _m0.Reader | Uint8Array, length?: number): UserInvitation;
|
|
311
290
|
fromJSON(object: any): UserInvitation;
|
|
312
291
|
toJSON(message: UserInvitation): unknown;
|
|
313
|
-
|
|
292
|
+
fromPartial<I extends {
|
|
314
293
|
token?: string;
|
|
315
294
|
} & {
|
|
316
295
|
token?: string;
|
|
317
|
-
} & { [K in Exclude<keyof I, "token">]: never; }>(
|
|
318
|
-
fromPartial<I_1 extends {
|
|
319
|
-
token?: string;
|
|
320
|
-
} & {
|
|
321
|
-
token?: string;
|
|
322
|
-
} & { [K_1 in Exclude<keyof I_1, "token">]: never; }>(object: I_1): UserInvitation;
|
|
296
|
+
} & { [K in Exclude<keyof I, "token">]: never; }>(object: I): UserInvitation;
|
|
323
297
|
};
|
|
324
298
|
export declare const ListUsersReply: {
|
|
325
299
|
encode(message: ListUsersReply, writer?: _m0.Writer): _m0.Writer;
|
|
326
300
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListUsersReply;
|
|
327
301
|
fromJSON(object: any): ListUsersReply;
|
|
328
302
|
toJSON(message: ListUsersReply): unknown;
|
|
329
|
-
|
|
303
|
+
fromPartial<I extends {
|
|
330
304
|
uids?: string[];
|
|
331
305
|
} & {
|
|
332
306
|
uids?: string[] & string[] & { [K in Exclude<keyof I["uids"], keyof string[]>]: never; };
|
|
333
|
-
} & { [K_1 in Exclude<keyof I, "uids">]: never; }>(
|
|
334
|
-
fromPartial<I_1 extends {
|
|
335
|
-
uids?: string[];
|
|
336
|
-
} & {
|
|
337
|
-
uids?: string[] & string[] & { [K_2 in Exclude<keyof I_1["uids"], keyof string[]>]: never; };
|
|
338
|
-
} & { [K_3 in Exclude<keyof I_1, "uids">]: never; }>(object: I_1): ListUsersReply;
|
|
307
|
+
} & { [K_1 in Exclude<keyof I, "uids">]: never; }>(object: I): ListUsersReply;
|
|
339
308
|
};
|
|
340
309
|
export declare const AllocVEIPRequest: {
|
|
341
310
|
encode(message: AllocVEIPRequest, writer?: _m0.Writer): _m0.Writer;
|
|
342
311
|
decode(input: _m0.Reader | Uint8Array, length?: number): AllocVEIPRequest;
|
|
343
312
|
fromJSON(object: any): AllocVEIPRequest;
|
|
344
313
|
toJSON(message: AllocVEIPRequest): unknown;
|
|
345
|
-
|
|
314
|
+
fromPartial<I extends {
|
|
346
315
|
usage?: string;
|
|
347
316
|
subdomain?: string;
|
|
348
317
|
} & {
|
|
349
318
|
usage?: string;
|
|
350
319
|
subdomain?: string;
|
|
351
|
-
} & { [K in Exclude<keyof I, keyof AllocVEIPRequest>]: never; }>(
|
|
352
|
-
fromPartial<I_1 extends {
|
|
353
|
-
usage?: string;
|
|
354
|
-
subdomain?: string;
|
|
355
|
-
} & {
|
|
356
|
-
usage?: string;
|
|
357
|
-
subdomain?: string;
|
|
358
|
-
} & { [K_1 in Exclude<keyof I_1, keyof AllocVEIPRequest>]: never; }>(object: I_1): AllocVEIPRequest;
|
|
320
|
+
} & { [K in Exclude<keyof I, keyof AllocVEIPRequest>]: never; }>(object: I): AllocVEIPRequest;
|
|
359
321
|
};
|
|
360
322
|
export declare const AllocVEIPReply: {
|
|
361
323
|
encode(message: AllocVEIPReply, writer?: _m0.Writer): _m0.Writer;
|
|
362
324
|
decode(input: _m0.Reader | Uint8Array, length?: number): AllocVEIPReply;
|
|
363
325
|
fromJSON(object: any): AllocVEIPReply;
|
|
364
326
|
toJSON(message: AllocVEIPReply): unknown;
|
|
365
|
-
|
|
366
|
-
ip?: string;
|
|
367
|
-
} & {
|
|
368
|
-
ip?: string;
|
|
369
|
-
} & { [K in Exclude<keyof I, "ip">]: never; }>(base?: I): AllocVEIPReply;
|
|
370
|
-
fromPartial<I_1 extends {
|
|
327
|
+
fromPartial<I extends {
|
|
371
328
|
ip?: string;
|
|
372
329
|
} & {
|
|
373
330
|
ip?: string;
|
|
374
|
-
} & { [
|
|
331
|
+
} & { [K in Exclude<keyof I, "ip">]: never; }>(object: I): AllocVEIPReply;
|
|
375
332
|
};
|
|
376
333
|
export declare const FreeVEIPRequest: {
|
|
377
334
|
encode(message: FreeVEIPRequest, writer?: _m0.Writer): _m0.Writer;
|
|
378
335
|
decode(input: _m0.Reader | Uint8Array, length?: number): FreeVEIPRequest;
|
|
379
336
|
fromJSON(object: any): FreeVEIPRequest;
|
|
380
337
|
toJSON(message: FreeVEIPRequest): unknown;
|
|
381
|
-
|
|
338
|
+
fromPartial<I extends {
|
|
382
339
|
ip?: string;
|
|
383
340
|
waitSecond?: number;
|
|
384
341
|
} & {
|
|
385
342
|
ip?: string;
|
|
386
343
|
waitSecond?: number;
|
|
387
|
-
} & { [K in Exclude<keyof I, keyof FreeVEIPRequest>]: never; }>(
|
|
388
|
-
fromPartial<I_1 extends {
|
|
389
|
-
ip?: string;
|
|
390
|
-
waitSecond?: number;
|
|
391
|
-
} & {
|
|
392
|
-
ip?: string;
|
|
393
|
-
waitSecond?: number;
|
|
394
|
-
} & { [K_1 in Exclude<keyof I_1, keyof FreeVEIPRequest>]: never; }>(object: I_1): FreeVEIPRequest;
|
|
344
|
+
} & { [K in Exclude<keyof I, keyof FreeVEIPRequest>]: never; }>(object: I): FreeVEIPRequest;
|
|
395
345
|
};
|
|
396
346
|
export declare const FreeVEIPReply: {
|
|
397
347
|
encode(_: FreeVEIPReply, writer?: _m0.Writer): _m0.Writer;
|
|
398
348
|
decode(input: _m0.Reader | Uint8Array, length?: number): FreeVEIPReply;
|
|
399
349
|
fromJSON(_: any): FreeVEIPReply;
|
|
400
350
|
toJSON(_: FreeVEIPReply): unknown;
|
|
401
|
-
|
|
402
|
-
fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): FreeVEIPReply;
|
|
351
|
+
fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): FreeVEIPReply;
|
|
403
352
|
};
|
|
404
353
|
export declare const AppCertRequest: {
|
|
405
354
|
encode(message: AppCertRequest, writer?: _m0.Writer): _m0.Writer;
|
|
406
355
|
decode(input: _m0.Reader | Uint8Array, length?: number): AppCertRequest;
|
|
407
356
|
fromJSON(object: any): AppCertRequest;
|
|
408
357
|
toJSON(message: AppCertRequest): unknown;
|
|
409
|
-
|
|
410
|
-
appid?: string;
|
|
411
|
-
uid?: string;
|
|
412
|
-
validSeconds?: number;
|
|
413
|
-
} & {
|
|
414
|
-
appid?: string;
|
|
415
|
-
uid?: string;
|
|
416
|
-
validSeconds?: number;
|
|
417
|
-
} & { [K in Exclude<keyof I, keyof AppCertRequest>]: never; }>(base?: I): AppCertRequest;
|
|
418
|
-
fromPartial<I_1 extends {
|
|
358
|
+
fromPartial<I extends {
|
|
419
359
|
appid?: string;
|
|
420
360
|
uid?: string;
|
|
421
361
|
validSeconds?: number;
|
|
@@ -423,23 +363,14 @@ export declare const AppCertRequest: {
|
|
|
423
363
|
appid?: string;
|
|
424
364
|
uid?: string;
|
|
425
365
|
validSeconds?: number;
|
|
426
|
-
} & { [
|
|
366
|
+
} & { [K in Exclude<keyof I, keyof AppCertRequest>]: never; }>(object: I): AppCertRequest;
|
|
427
367
|
};
|
|
428
368
|
export declare const AppCertReply: {
|
|
429
369
|
encode(message: AppCertReply, writer?: _m0.Writer): _m0.Writer;
|
|
430
370
|
decode(input: _m0.Reader | Uint8Array, length?: number): AppCertReply;
|
|
431
371
|
fromJSON(object: any): AppCertReply;
|
|
432
372
|
toJSON(message: AppCertReply): unknown;
|
|
433
|
-
|
|
434
|
-
cert?: string;
|
|
435
|
-
privateKey?: string;
|
|
436
|
-
boxCert?: string;
|
|
437
|
-
} & {
|
|
438
|
-
cert?: string;
|
|
439
|
-
privateKey?: string;
|
|
440
|
-
boxCert?: string;
|
|
441
|
-
} & { [K in Exclude<keyof I, keyof AppCertReply>]: never; }>(base?: I): AppCertReply;
|
|
442
|
-
fromPartial<I_1 extends {
|
|
373
|
+
fromPartial<I extends {
|
|
443
374
|
cert?: string;
|
|
444
375
|
privateKey?: string;
|
|
445
376
|
boxCert?: string;
|
|
@@ -447,27 +378,14 @@ export declare const AppCertReply: {
|
|
|
447
378
|
cert?: string;
|
|
448
379
|
privateKey?: string;
|
|
449
380
|
boxCert?: string;
|
|
450
|
-
} & { [
|
|
381
|
+
} & { [K in Exclude<keyof I, keyof AppCertReply>]: never; }>(object: I): AppCertReply;
|
|
451
382
|
};
|
|
452
383
|
export declare const AuthToken: {
|
|
453
384
|
encode(message: AuthToken, writer?: _m0.Writer): _m0.Writer;
|
|
454
385
|
decode(input: _m0.Reader | Uint8Array, length?: number): AuthToken;
|
|
455
386
|
fromJSON(object: any): AuthToken;
|
|
456
387
|
toJSON(message: AuthToken): unknown;
|
|
457
|
-
|
|
458
|
-
token?: string;
|
|
459
|
-
autologinTokenPostUrl?: string;
|
|
460
|
-
accessIp?: string;
|
|
461
|
-
autologinRedirectUrl?: string;
|
|
462
|
-
tokenType?: AuthToken_TokenType;
|
|
463
|
-
} & {
|
|
464
|
-
token?: string;
|
|
465
|
-
autologinTokenPostUrl?: string;
|
|
466
|
-
accessIp?: string;
|
|
467
|
-
autologinRedirectUrl?: string;
|
|
468
|
-
tokenType?: AuthToken_TokenType;
|
|
469
|
-
} & { [K in Exclude<keyof I, keyof AuthToken>]: never; }>(base?: I): AuthToken;
|
|
470
|
-
fromPartial<I_1 extends {
|
|
388
|
+
fromPartial<I extends {
|
|
471
389
|
token?: string;
|
|
472
390
|
autologinTokenPostUrl?: string;
|
|
473
391
|
accessIp?: string;
|
|
@@ -479,14 +397,14 @@ export declare const AuthToken: {
|
|
|
479
397
|
accessIp?: string;
|
|
480
398
|
autologinRedirectUrl?: string;
|
|
481
399
|
tokenType?: AuthToken_TokenType;
|
|
482
|
-
} & { [
|
|
400
|
+
} & { [K in Exclude<keyof I, keyof AuthToken>]: never; }>(object: I): AuthToken;
|
|
483
401
|
};
|
|
484
402
|
export declare const LoginInfo: {
|
|
485
403
|
encode(message: LoginInfo, writer?: _m0.Writer): _m0.Writer;
|
|
486
404
|
decode(input: _m0.Reader | Uint8Array, length?: number): LoginInfo;
|
|
487
405
|
fromJSON(object: any): LoginInfo;
|
|
488
406
|
toJSON(message: LoginInfo): unknown;
|
|
489
|
-
|
|
407
|
+
fromPartial<I extends {
|
|
490
408
|
uid?: string;
|
|
491
409
|
deviceId?: string;
|
|
492
410
|
when?: Date | undefined;
|
|
@@ -498,43 +416,25 @@ export declare const LoginInfo: {
|
|
|
498
416
|
when?: Date | undefined;
|
|
499
417
|
autologinTokenRequestContent?: string;
|
|
500
418
|
deviceVersion?: string;
|
|
501
|
-
} & { [K in Exclude<keyof I, keyof LoginInfo>]: never; }>(
|
|
502
|
-
fromPartial<I_1 extends {
|
|
503
|
-
uid?: string;
|
|
504
|
-
deviceId?: string;
|
|
505
|
-
when?: Date | undefined;
|
|
506
|
-
autologinTokenRequestContent?: string;
|
|
507
|
-
deviceVersion?: string;
|
|
508
|
-
} & {
|
|
509
|
-
uid?: string;
|
|
510
|
-
deviceId?: string;
|
|
511
|
-
when?: Date | undefined;
|
|
512
|
-
autologinTokenRequestContent?: string;
|
|
513
|
-
deviceVersion?: string;
|
|
514
|
-
} & { [K_1 in Exclude<keyof I_1, keyof LoginInfo>]: never; }>(object: I_1): LoginInfo;
|
|
419
|
+
} & { [K in Exclude<keyof I, keyof LoginInfo>]: never; }>(object: I): LoginInfo;
|
|
515
420
|
};
|
|
516
421
|
export declare const DeviceID: {
|
|
517
422
|
encode(message: DeviceID, writer?: _m0.Writer): _m0.Writer;
|
|
518
423
|
decode(input: _m0.Reader | Uint8Array, length?: number): DeviceID;
|
|
519
424
|
fromJSON(object: any): DeviceID;
|
|
520
425
|
toJSON(message: DeviceID): unknown;
|
|
521
|
-
|
|
522
|
-
id?: string;
|
|
523
|
-
} & {
|
|
524
|
-
id?: string;
|
|
525
|
-
} & { [K in Exclude<keyof I, "id">]: never; }>(base?: I): DeviceID;
|
|
526
|
-
fromPartial<I_1 extends {
|
|
426
|
+
fromPartial<I extends {
|
|
527
427
|
id?: string;
|
|
528
428
|
} & {
|
|
529
429
|
id?: string;
|
|
530
|
-
} & { [
|
|
430
|
+
} & { [K in Exclude<keyof I, "id">]: never; }>(object: I): DeviceID;
|
|
531
431
|
};
|
|
532
432
|
export declare const BoxInfo: {
|
|
533
433
|
encode(message: BoxInfo, writer?: _m0.Writer): _m0.Writer;
|
|
534
434
|
decode(input: _m0.Reader | Uint8Array, length?: number): BoxInfo;
|
|
535
435
|
fromJSON(object: any): BoxInfo;
|
|
536
436
|
toJSON(message: BoxInfo): unknown;
|
|
537
|
-
|
|
437
|
+
fromPartial<I extends {
|
|
538
438
|
originServer?: string;
|
|
539
439
|
virtualIp?: string;
|
|
540
440
|
boxId?: string;
|
|
@@ -550,56 +450,25 @@ export declare const BoxInfo: {
|
|
|
550
450
|
boxDomain?: string;
|
|
551
451
|
certReady?: boolean;
|
|
552
452
|
boxCert?: string;
|
|
553
|
-
} & { [K in Exclude<keyof I, keyof BoxInfo>]: never; }>(
|
|
554
|
-
fromPartial<I_1 extends {
|
|
555
|
-
originServer?: string;
|
|
556
|
-
virtualIp?: string;
|
|
557
|
-
boxId?: string;
|
|
558
|
-
boxName?: string;
|
|
559
|
-
boxDomain?: string;
|
|
560
|
-
certReady?: boolean;
|
|
561
|
-
boxCert?: string;
|
|
562
|
-
} & {
|
|
563
|
-
originServer?: string;
|
|
564
|
-
virtualIp?: string;
|
|
565
|
-
boxId?: string;
|
|
566
|
-
boxName?: string;
|
|
567
|
-
boxDomain?: string;
|
|
568
|
-
certReady?: boolean;
|
|
569
|
-
boxCert?: string;
|
|
570
|
-
} & { [K_1 in Exclude<keyof I_1, keyof BoxInfo>]: never; }>(object: I_1): BoxInfo;
|
|
453
|
+
} & { [K in Exclude<keyof I, keyof BoxInfo>]: never; }>(object: I): BoxInfo;
|
|
571
454
|
};
|
|
572
455
|
export declare const DomainCertRequest: {
|
|
573
456
|
encode(message: DomainCertRequest, writer?: _m0.Writer): _m0.Writer;
|
|
574
457
|
decode(input: _m0.Reader | Uint8Array, length?: number): DomainCertRequest;
|
|
575
458
|
fromJSON(object: any): DomainCertRequest;
|
|
576
459
|
toJSON(message: DomainCertRequest): unknown;
|
|
577
|
-
|
|
460
|
+
fromPartial<I extends {
|
|
578
461
|
domain?: string;
|
|
579
462
|
} & {
|
|
580
463
|
domain?: string;
|
|
581
|
-
} & { [K in Exclude<keyof I, "domain">]: never; }>(
|
|
582
|
-
fromPartial<I_1 extends {
|
|
583
|
-
domain?: string;
|
|
584
|
-
} & {
|
|
585
|
-
domain?: string;
|
|
586
|
-
} & { [K_1 in Exclude<keyof I_1, "domain">]: never; }>(object: I_1): DomainCertRequest;
|
|
464
|
+
} & { [K in Exclude<keyof I, "domain">]: never; }>(object: I): DomainCertRequest;
|
|
587
465
|
};
|
|
588
466
|
export declare const DomainCertReply: {
|
|
589
467
|
encode(message: DomainCertReply, writer?: _m0.Writer): _m0.Writer;
|
|
590
468
|
decode(input: _m0.Reader | Uint8Array, length?: number): DomainCertReply;
|
|
591
469
|
fromJSON(object: any): DomainCertReply;
|
|
592
470
|
toJSON(message: DomainCertReply): unknown;
|
|
593
|
-
|
|
594
|
-
cert?: string;
|
|
595
|
-
key?: string;
|
|
596
|
-
ocsp?: Uint8Array;
|
|
597
|
-
} & {
|
|
598
|
-
cert?: string;
|
|
599
|
-
key?: string;
|
|
600
|
-
ocsp?: Uint8Array;
|
|
601
|
-
} & { [K in Exclude<keyof I, keyof DomainCertReply>]: never; }>(base?: I): DomainCertReply;
|
|
602
|
-
fromPartial<I_1 extends {
|
|
471
|
+
fromPartial<I extends {
|
|
603
472
|
cert?: string;
|
|
604
473
|
key?: string;
|
|
605
474
|
ocsp?: Uint8Array;
|
|
@@ -607,14 +476,14 @@ export declare const DomainCertReply: {
|
|
|
607
476
|
cert?: string;
|
|
608
477
|
key?: string;
|
|
609
478
|
ocsp?: Uint8Array;
|
|
610
|
-
} & { [
|
|
479
|
+
} & { [K in Exclude<keyof I, keyof DomainCertReply>]: never; }>(object: I): DomainCertReply;
|
|
611
480
|
};
|
|
612
481
|
export declare const Device: {
|
|
613
482
|
encode(message: Device, writer?: _m0.Writer): _m0.Writer;
|
|
614
483
|
decode(input: _m0.Reader | Uint8Array, length?: number): Device;
|
|
615
484
|
fromJSON(object: any): Device;
|
|
616
485
|
toJSON(message: Device): unknown;
|
|
617
|
-
|
|
486
|
+
fromPartial<I extends {
|
|
618
487
|
udid?: string;
|
|
619
488
|
peerId?: string;
|
|
620
489
|
isOnline?: boolean;
|
|
@@ -632,49 +501,25 @@ export declare const Device: {
|
|
|
632
501
|
model?: string;
|
|
633
502
|
bindingTime?: Date | undefined;
|
|
634
503
|
isMobile?: boolean;
|
|
635
|
-
} & { [K in Exclude<keyof I, keyof Device>]: never; }>(
|
|
636
|
-
fromPartial<I_1 extends {
|
|
637
|
-
udid?: string;
|
|
638
|
-
peerId?: string;
|
|
639
|
-
isOnline?: boolean;
|
|
640
|
-
deviceApiUrl?: string;
|
|
641
|
-
name?: string;
|
|
642
|
-
model?: string;
|
|
643
|
-
bindingTime?: Date | undefined;
|
|
644
|
-
isMobile?: boolean;
|
|
645
|
-
} & {
|
|
646
|
-
udid?: string;
|
|
647
|
-
peerId?: string;
|
|
648
|
-
isOnline?: boolean;
|
|
649
|
-
deviceApiUrl?: string;
|
|
650
|
-
name?: string;
|
|
651
|
-
model?: string;
|
|
652
|
-
bindingTime?: Date | undefined;
|
|
653
|
-
isMobile?: boolean;
|
|
654
|
-
} & { [K_1 in Exclude<keyof I_1, keyof Device>]: never; }>(object: I_1): Device;
|
|
504
|
+
} & { [K in Exclude<keyof I, keyof Device>]: never; }>(object: I): Device;
|
|
655
505
|
};
|
|
656
506
|
export declare const ListDeviceRequest: {
|
|
657
507
|
encode(message: ListDeviceRequest, writer?: _m0.Writer): _m0.Writer;
|
|
658
508
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListDeviceRequest;
|
|
659
509
|
fromJSON(object: any): ListDeviceRequest;
|
|
660
510
|
toJSON(message: ListDeviceRequest): unknown;
|
|
661
|
-
|
|
662
|
-
uid?: string;
|
|
663
|
-
} & {
|
|
664
|
-
uid?: string;
|
|
665
|
-
} & { [K in Exclude<keyof I, "uid">]: never; }>(base?: I): ListDeviceRequest;
|
|
666
|
-
fromPartial<I_1 extends {
|
|
511
|
+
fromPartial<I extends {
|
|
667
512
|
uid?: string;
|
|
668
513
|
} & {
|
|
669
514
|
uid?: string;
|
|
670
|
-
} & { [
|
|
515
|
+
} & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): ListDeviceRequest;
|
|
671
516
|
};
|
|
672
517
|
export declare const ListDeviceReply: {
|
|
673
518
|
encode(message: ListDeviceReply, writer?: _m0.Writer): _m0.Writer;
|
|
674
519
|
decode(input: _m0.Reader | Uint8Array, length?: number): ListDeviceReply;
|
|
675
520
|
fromJSON(object: any): ListDeviceReply;
|
|
676
521
|
toJSON(message: ListDeviceReply): unknown;
|
|
677
|
-
|
|
522
|
+
fromPartial<I extends {
|
|
678
523
|
devices?: {
|
|
679
524
|
udid?: string;
|
|
680
525
|
peerId?: string;
|
|
@@ -723,129 +568,51 @@ export declare const ListDeviceReply: {
|
|
|
723
568
|
bindingTime?: Date | undefined;
|
|
724
569
|
isMobile?: boolean;
|
|
725
570
|
}[]>]: never; };
|
|
726
|
-
} & { [K_2 in Exclude<keyof I, "devices">]: never; }>(
|
|
727
|
-
fromPartial<I_1 extends {
|
|
728
|
-
devices?: {
|
|
729
|
-
udid?: string;
|
|
730
|
-
peerId?: string;
|
|
731
|
-
isOnline?: boolean;
|
|
732
|
-
deviceApiUrl?: string;
|
|
733
|
-
name?: string;
|
|
734
|
-
model?: string;
|
|
735
|
-
bindingTime?: Date | undefined;
|
|
736
|
-
isMobile?: boolean;
|
|
737
|
-
}[];
|
|
738
|
-
} & {
|
|
739
|
-
devices?: {
|
|
740
|
-
udid?: string;
|
|
741
|
-
peerId?: string;
|
|
742
|
-
isOnline?: boolean;
|
|
743
|
-
deviceApiUrl?: string;
|
|
744
|
-
name?: string;
|
|
745
|
-
model?: string;
|
|
746
|
-
bindingTime?: Date | undefined;
|
|
747
|
-
isMobile?: boolean;
|
|
748
|
-
}[] & ({
|
|
749
|
-
udid?: string;
|
|
750
|
-
peerId?: string;
|
|
751
|
-
isOnline?: boolean;
|
|
752
|
-
deviceApiUrl?: string;
|
|
753
|
-
name?: string;
|
|
754
|
-
model?: string;
|
|
755
|
-
bindingTime?: Date | undefined;
|
|
756
|
-
isMobile?: boolean;
|
|
757
|
-
} & {
|
|
758
|
-
udid?: string;
|
|
759
|
-
peerId?: string;
|
|
760
|
-
isOnline?: boolean;
|
|
761
|
-
deviceApiUrl?: string;
|
|
762
|
-
name?: string;
|
|
763
|
-
model?: string;
|
|
764
|
-
bindingTime?: Date | undefined;
|
|
765
|
-
isMobile?: boolean;
|
|
766
|
-
} & { [K_3 in Exclude<keyof I_1["devices"][number], keyof Device>]: never; })[] & { [K_4 in Exclude<keyof I_1["devices"], keyof {
|
|
767
|
-
udid?: string;
|
|
768
|
-
peerId?: string;
|
|
769
|
-
isOnline?: boolean;
|
|
770
|
-
deviceApiUrl?: string;
|
|
771
|
-
name?: string;
|
|
772
|
-
model?: string;
|
|
773
|
-
bindingTime?: Date | undefined;
|
|
774
|
-
isMobile?: boolean;
|
|
775
|
-
}[]>]: never; };
|
|
776
|
-
} & { [K_5 in Exclude<keyof I_1, "devices">]: never; }>(object: I_1): ListDeviceReply;
|
|
571
|
+
} & { [K_2 in Exclude<keyof I, "devices">]: never; }>(object: I): ListDeviceReply;
|
|
777
572
|
};
|
|
778
573
|
export declare const UserID: {
|
|
779
574
|
encode(message: UserID, writer?: _m0.Writer): _m0.Writer;
|
|
780
575
|
decode(input: _m0.Reader | Uint8Array, length?: number): UserID;
|
|
781
576
|
fromJSON(object: any): UserID;
|
|
782
577
|
toJSON(message: UserID): unknown;
|
|
783
|
-
|
|
578
|
+
fromPartial<I extends {
|
|
784
579
|
uid?: string;
|
|
785
580
|
} & {
|
|
786
581
|
uid?: string;
|
|
787
|
-
} & { [K in Exclude<keyof I, "uid">]: never; }>(
|
|
788
|
-
fromPartial<I_1 extends {
|
|
789
|
-
uid?: string;
|
|
790
|
-
} & {
|
|
791
|
-
uid?: string;
|
|
792
|
-
} & { [K_1 in Exclude<keyof I_1, "uid">]: never; }>(object: I_1): UserID;
|
|
582
|
+
} & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): UserID;
|
|
793
583
|
};
|
|
794
584
|
export declare const ChangeRoleReqeust: {
|
|
795
585
|
encode(message: ChangeRoleReqeust, writer?: _m0.Writer): _m0.Writer;
|
|
796
586
|
decode(input: _m0.Reader | Uint8Array, length?: number): ChangeRoleReqeust;
|
|
797
587
|
fromJSON(object: any): ChangeRoleReqeust;
|
|
798
588
|
toJSON(message: ChangeRoleReqeust): unknown;
|
|
799
|
-
|
|
800
|
-
uid?: string;
|
|
801
|
-
role?: Role;
|
|
802
|
-
} & {
|
|
803
|
-
uid?: string;
|
|
804
|
-
role?: Role;
|
|
805
|
-
} & { [K in Exclude<keyof I, keyof ChangeRoleReqeust>]: never; }>(base?: I): ChangeRoleReqeust;
|
|
806
|
-
fromPartial<I_1 extends {
|
|
589
|
+
fromPartial<I extends {
|
|
807
590
|
uid?: string;
|
|
808
591
|
role?: Role;
|
|
809
592
|
} & {
|
|
810
593
|
uid?: string;
|
|
811
594
|
role?: Role;
|
|
812
|
-
} & { [
|
|
595
|
+
} & { [K in Exclude<keyof I, keyof ChangeRoleReqeust>]: never; }>(object: I): ChangeRoleReqeust;
|
|
813
596
|
};
|
|
814
597
|
export declare const QueryRoleReply: {
|
|
815
598
|
encode(message: QueryRoleReply, writer?: _m0.Writer): _m0.Writer;
|
|
816
599
|
decode(input: _m0.Reader | Uint8Array, length?: number): QueryRoleReply;
|
|
817
600
|
fromJSON(object: any): QueryRoleReply;
|
|
818
601
|
toJSON(message: QueryRoleReply): unknown;
|
|
819
|
-
|
|
820
|
-
uid?: string;
|
|
821
|
-
role?: Role;
|
|
822
|
-
} & {
|
|
823
|
-
uid?: string;
|
|
824
|
-
role?: Role;
|
|
825
|
-
} & { [K in Exclude<keyof I, keyof QueryRoleReply>]: never; }>(base?: I): QueryRoleReply;
|
|
826
|
-
fromPartial<I_1 extends {
|
|
602
|
+
fromPartial<I extends {
|
|
827
603
|
uid?: string;
|
|
828
604
|
role?: Role;
|
|
829
605
|
} & {
|
|
830
606
|
uid?: string;
|
|
831
607
|
role?: Role;
|
|
832
|
-
} & { [
|
|
608
|
+
} & { [K in Exclude<keyof I, keyof QueryRoleReply>]: never; }>(object: I): QueryRoleReply;
|
|
833
609
|
};
|
|
834
610
|
export declare const ResetPasswordRequest: {
|
|
835
611
|
encode(message: ResetPasswordRequest, writer?: _m0.Writer): _m0.Writer;
|
|
836
612
|
decode(input: _m0.Reader | Uint8Array, length?: number): ResetPasswordRequest;
|
|
837
613
|
fromJSON(object: any): ResetPasswordRequest;
|
|
838
614
|
toJSON(message: ResetPasswordRequest): unknown;
|
|
839
|
-
|
|
840
|
-
uid?: string;
|
|
841
|
-
oldPassword?: string;
|
|
842
|
-
newPassword?: string;
|
|
843
|
-
} & {
|
|
844
|
-
uid?: string;
|
|
845
|
-
oldPassword?: string;
|
|
846
|
-
newPassword?: string;
|
|
847
|
-
} & { [K in Exclude<keyof I, keyof ResetPasswordRequest>]: never; }>(base?: I): ResetPasswordRequest;
|
|
848
|
-
fromPartial<I_1 extends {
|
|
615
|
+
fromPartial<I extends {
|
|
849
616
|
uid?: string;
|
|
850
617
|
oldPassword?: string;
|
|
851
618
|
newPassword?: string;
|
|
@@ -853,39 +620,25 @@ export declare const ResetPasswordRequest: {
|
|
|
853
620
|
uid?: string;
|
|
854
621
|
oldPassword?: string;
|
|
855
622
|
newPassword?: string;
|
|
856
|
-
} & { [
|
|
623
|
+
} & { [K in Exclude<keyof I, keyof ResetPasswordRequest>]: never; }>(object: I): ResetPasswordRequest;
|
|
857
624
|
};
|
|
858
625
|
export declare const DeleteUserRequest: {
|
|
859
626
|
encode(message: DeleteUserRequest, writer?: _m0.Writer): _m0.Writer;
|
|
860
627
|
decode(input: _m0.Reader | Uint8Array, length?: number): DeleteUserRequest;
|
|
861
628
|
fromJSON(object: any): DeleteUserRequest;
|
|
862
629
|
toJSON(message: DeleteUserRequest): unknown;
|
|
863
|
-
|
|
864
|
-
uid?: string;
|
|
865
|
-
} & {
|
|
866
|
-
uid?: string;
|
|
867
|
-
} & { [K in Exclude<keyof I, "uid">]: never; }>(base?: I): DeleteUserRequest;
|
|
868
|
-
fromPartial<I_1 extends {
|
|
630
|
+
fromPartial<I extends {
|
|
869
631
|
uid?: string;
|
|
870
632
|
} & {
|
|
871
633
|
uid?: string;
|
|
872
|
-
} & { [
|
|
634
|
+
} & { [K in Exclude<keyof I, "uid">]: never; }>(object: I): DeleteUserRequest;
|
|
873
635
|
};
|
|
874
636
|
export declare const CreateUserRequest: {
|
|
875
637
|
encode(message: CreateUserRequest, writer?: _m0.Writer): _m0.Writer;
|
|
876
638
|
decode(input: _m0.Reader | Uint8Array, length?: number): CreateUserRequest;
|
|
877
639
|
fromJSON(object: any): CreateUserRequest;
|
|
878
640
|
toJSON(message: CreateUserRequest): unknown;
|
|
879
|
-
|
|
880
|
-
uid?: string;
|
|
881
|
-
password?: string;
|
|
882
|
-
role?: Role;
|
|
883
|
-
} & {
|
|
884
|
-
uid?: string;
|
|
885
|
-
password?: string;
|
|
886
|
-
role?: Role;
|
|
887
|
-
} & { [K in Exclude<keyof I, keyof CreateUserRequest>]: never; }>(base?: I): CreateUserRequest;
|
|
888
|
-
fromPartial<I_1 extends {
|
|
641
|
+
fromPartial<I extends {
|
|
889
642
|
uid?: string;
|
|
890
643
|
password?: string;
|
|
891
644
|
role?: Role;
|
|
@@ -893,43 +646,27 @@ export declare const CreateUserRequest: {
|
|
|
893
646
|
uid?: string;
|
|
894
647
|
password?: string;
|
|
895
648
|
role?: Role;
|
|
896
|
-
} & { [
|
|
649
|
+
} & { [K in Exclude<keyof I, keyof CreateUserRequest>]: never; }>(object: I): CreateUserRequest;
|
|
897
650
|
};
|
|
898
651
|
export declare const ForceResetPasswordRequest: {
|
|
899
652
|
encode(message: ForceResetPasswordRequest, writer?: _m0.Writer): _m0.Writer;
|
|
900
653
|
decode(input: _m0.Reader | Uint8Array, length?: number): ForceResetPasswordRequest;
|
|
901
654
|
fromJSON(object: any): ForceResetPasswordRequest;
|
|
902
655
|
toJSON(message: ForceResetPasswordRequest): unknown;
|
|
903
|
-
|
|
904
|
-
uid?: string;
|
|
905
|
-
newPassword?: string;
|
|
906
|
-
} & {
|
|
907
|
-
uid?: string;
|
|
908
|
-
newPassword?: string;
|
|
909
|
-
} & { [K in Exclude<keyof I, keyof ForceResetPasswordRequest>]: never; }>(base?: I): ForceResetPasswordRequest;
|
|
910
|
-
fromPartial<I_1 extends {
|
|
656
|
+
fromPartial<I extends {
|
|
911
657
|
uid?: string;
|
|
912
658
|
newPassword?: string;
|
|
913
659
|
} & {
|
|
914
660
|
uid?: string;
|
|
915
661
|
newPassword?: string;
|
|
916
|
-
} & { [
|
|
662
|
+
} & { [K in Exclude<keyof I, keyof ForceResetPasswordRequest>]: never; }>(object: I): ForceResetPasswordRequest;
|
|
917
663
|
};
|
|
918
664
|
export declare const LogoutRequest: {
|
|
919
665
|
encode(message: LogoutRequest, writer?: _m0.Writer): _m0.Writer;
|
|
920
666
|
decode(input: _m0.Reader | Uint8Array, length?: number): LogoutRequest;
|
|
921
667
|
fromJSON(object: any): LogoutRequest;
|
|
922
668
|
toJSON(message: LogoutRequest): unknown;
|
|
923
|
-
|
|
924
|
-
uid?: string;
|
|
925
|
-
udid?: string;
|
|
926
|
-
reason?: LogoutRequest_Reason;
|
|
927
|
-
} & {
|
|
928
|
-
uid?: string;
|
|
929
|
-
udid?: string;
|
|
930
|
-
reason?: LogoutRequest_Reason;
|
|
931
|
-
} & { [K in Exclude<keyof I, keyof LogoutRequest>]: never; }>(base?: I): LogoutRequest;
|
|
932
|
-
fromPartial<I_1 extends {
|
|
669
|
+
fromPartial<I extends {
|
|
933
670
|
uid?: string;
|
|
934
671
|
udid?: string;
|
|
935
672
|
reason?: LogoutRequest_Reason;
|
|
@@ -937,47 +674,53 @@ export declare const LogoutRequest: {
|
|
|
937
674
|
uid?: string;
|
|
938
675
|
udid?: string;
|
|
939
676
|
reason?: LogoutRequest_Reason;
|
|
940
|
-
} & { [
|
|
677
|
+
} & { [K in Exclude<keyof I, keyof LogoutRequest>]: never; }>(object: I): LogoutRequest;
|
|
941
678
|
};
|
|
942
679
|
export declare const CheckPasswordRequest: {
|
|
943
680
|
encode(message: CheckPasswordRequest, writer?: _m0.Writer): _m0.Writer;
|
|
944
681
|
decode(input: _m0.Reader | Uint8Array, length?: number): CheckPasswordRequest;
|
|
945
682
|
fromJSON(object: any): CheckPasswordRequest;
|
|
946
683
|
toJSON(message: CheckPasswordRequest): unknown;
|
|
947
|
-
|
|
948
|
-
uid?: string;
|
|
949
|
-
password?: string;
|
|
950
|
-
} & {
|
|
951
|
-
uid?: string;
|
|
952
|
-
password?: string;
|
|
953
|
-
} & { [K in Exclude<keyof I, keyof CheckPasswordRequest>]: never; }>(base?: I): CheckPasswordRequest;
|
|
954
|
-
fromPartial<I_1 extends {
|
|
684
|
+
fromPartial<I extends {
|
|
955
685
|
uid?: string;
|
|
956
686
|
password?: string;
|
|
957
687
|
} & {
|
|
958
688
|
uid?: string;
|
|
959
689
|
password?: string;
|
|
960
|
-
} & { [
|
|
690
|
+
} & { [K in Exclude<keyof I, keyof CheckPasswordRequest>]: never; }>(object: I): CheckPasswordRequest;
|
|
961
691
|
};
|
|
962
692
|
export declare const TrustUserDeviceRequest: {
|
|
963
693
|
encode(message: TrustUserDeviceRequest, writer?: _m0.Writer): _m0.Writer;
|
|
964
694
|
decode(input: _m0.Reader | Uint8Array, length?: number): TrustUserDeviceRequest;
|
|
965
695
|
fromJSON(object: any): TrustUserDeviceRequest;
|
|
966
696
|
toJSON(message: TrustUserDeviceRequest): unknown;
|
|
967
|
-
|
|
697
|
+
fromPartial<I extends {
|
|
968
698
|
udid?: string;
|
|
969
699
|
user?: string;
|
|
970
700
|
} & {
|
|
971
701
|
udid?: string;
|
|
972
702
|
user?: string;
|
|
973
|
-
} & { [K in Exclude<keyof I, keyof TrustUserDeviceRequest>]: never; }>(
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
703
|
+
} & { [K in Exclude<keyof I, keyof TrustUserDeviceRequest>]: never; }>(object: I): TrustUserDeviceRequest;
|
|
704
|
+
};
|
|
705
|
+
export declare const UpdateBoxStatusRequest: {
|
|
706
|
+
encode(message: UpdateBoxStatusRequest, writer?: _m0.Writer): _m0.Writer;
|
|
707
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateBoxStatusRequest;
|
|
708
|
+
fromJSON(object: any): UpdateBoxStatusRequest;
|
|
709
|
+
toJSON(message: UpdateBoxStatusRequest): unknown;
|
|
710
|
+
fromPartial<I extends {
|
|
711
|
+
startUp?: boolean | undefined;
|
|
712
|
+
dataPartition?: boolean | undefined;
|
|
713
|
+
} & {
|
|
714
|
+
startUp?: boolean | undefined;
|
|
715
|
+
dataPartition?: boolean | undefined;
|
|
716
|
+
} & { [K in Exclude<keyof I, keyof UpdateBoxStatusRequest>]: never; }>(object: I): UpdateBoxStatusRequest;
|
|
717
|
+
};
|
|
718
|
+
export declare const UpdateBoxStatusResponse: {
|
|
719
|
+
encode(_: UpdateBoxStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
|
720
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateBoxStatusResponse;
|
|
721
|
+
fromJSON(_: any): UpdateBoxStatusResponse;
|
|
722
|
+
toJSON(_: UpdateBoxStatusResponse): unknown;
|
|
723
|
+
fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): UpdateBoxStatusResponse;
|
|
981
724
|
};
|
|
982
725
|
export interface HPortalSys {
|
|
983
726
|
/** 用auth-token反向查询登陆的设备以及UID */
|
|
@@ -1028,6 +771,7 @@ export interface HPortalSys {
|
|
|
1028
771
|
CheckPassword(request: DeepPartial<CheckPasswordRequest>, metadata?: grpc.Metadata): Promise<Empty>;
|
|
1029
772
|
RemoteSocks(request: DeepPartial<RemoteSocksRequest>, metadata?: grpc.Metadata): Promise<RemoteSocksReply>;
|
|
1030
773
|
TrustUserDevice(request: DeepPartial<TrustUserDeviceRequest>, metadata?: grpc.Metadata): Promise<Empty>;
|
|
774
|
+
UpdateBoxStatus(request: DeepPartial<UpdateBoxStatusRequest>, metadata?: grpc.Metadata): Promise<UpdateBoxStatusResponse>;
|
|
1031
775
|
}
|
|
1032
776
|
export declare class HPortalSysClientImpl implements HPortalSys {
|
|
1033
777
|
private readonly rpc;
|
|
@@ -1053,6 +797,7 @@ export declare class HPortalSysClientImpl implements HPortalSys {
|
|
|
1053
797
|
CheckPassword(request: DeepPartial<CheckPasswordRequest>, metadata?: grpc.Metadata): Promise<Empty>;
|
|
1054
798
|
RemoteSocks(request: DeepPartial<RemoteSocksRequest>, metadata?: grpc.Metadata): Promise<RemoteSocksReply>;
|
|
1055
799
|
TrustUserDevice(request: DeepPartial<TrustUserDeviceRequest>, metadata?: grpc.Metadata): Promise<Empty>;
|
|
800
|
+
UpdateBoxStatus(request: DeepPartial<UpdateBoxStatusRequest>, metadata?: grpc.Metadata): Promise<UpdateBoxStatusResponse>;
|
|
1056
801
|
}
|
|
1057
802
|
export declare const HPortalSysDesc: {
|
|
1058
803
|
serviceName: string;
|
|
@@ -1078,11 +823,12 @@ export declare const HPortalSysLogoutDesc: UnaryMethodDefinitionish;
|
|
|
1078
823
|
export declare const HPortalSysCheckPasswordDesc: UnaryMethodDefinitionish;
|
|
1079
824
|
export declare const HPortalSysRemoteSocksDesc: UnaryMethodDefinitionish;
|
|
1080
825
|
export declare const HPortalSysTrustUserDeviceDesc: UnaryMethodDefinitionish;
|
|
826
|
+
export declare const HPortalSysUpdateBoxStatusDesc: UnaryMethodDefinitionish;
|
|
1081
827
|
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {
|
|
1082
828
|
requestStream: any;
|
|
1083
829
|
responseStream: any;
|
|
1084
830
|
}
|
|
1085
|
-
type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
|
|
831
|
+
declare type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
|
|
1086
832
|
interface Rpc {
|
|
1087
833
|
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Promise<any>;
|
|
1088
834
|
}
|
|
@@ -1097,12 +843,11 @@ export declare class GrpcWebImpl {
|
|
|
1097
843
|
});
|
|
1098
844
|
unary<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Promise<any>;
|
|
1099
845
|
}
|
|
1100
|
-
declare
|
|
1101
|
-
type
|
|
1102
|
-
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 {} ? {
|
|
846
|
+
declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
847
|
+
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 {} ? {
|
|
1103
848
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1104
849
|
} : Partial<T>;
|
|
1105
|
-
export declare class GrpcWebError extends
|
|
850
|
+
export declare class GrpcWebError extends Error {
|
|
1106
851
|
code: grpc.Code;
|
|
1107
852
|
metadata: grpc.Metadata;
|
|
1108
853
|
constructor(message: string, code: grpc.Code, metadata: grpc.Metadata);
|