@lazycatcloud/sdk 0.1.488 → 0.1.489

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.
Files changed (60) hide show
  1. package/dist/localdevice/photo.js +38 -9
  2. package/dist/localdevice/photo.js.map +1 -1
  3. package/dist/package.json +2 -2
  4. package/dist/tsconfig.tsbuildinfo +1 -1
  5. package/package.json +1 -1
  6. package/dist/common/apk_shell.d.ts +0 -126
  7. package/dist/common/box.d.ts +0 -1741
  8. package/dist/common/browseronly.d.ts +0 -159
  9. package/dist/common/end_device.d.ts +0 -358
  10. package/dist/common/file_handler.d.ts +0 -2886
  11. package/dist/common/filetrans.d.ts +0 -7197
  12. package/dist/common/gateway.d.ts +0 -249
  13. package/dist/common/iscsi.d.ts +0 -1745
  14. package/dist/common/media_meta.d.ts +0 -310
  15. package/dist/common/message.d.ts +0 -1211
  16. package/dist/common/peripheral_device.d.ts +0 -1576
  17. package/dist/common/security_context.d.ts +0 -241
  18. package/dist/common/users.d.ts +0 -367
  19. package/dist/dlna/dlna.d.ts +0 -344
  20. package/dist/extentions/app_common.d.ts +0 -130
  21. package/dist/extentions/base.d.ts +0 -136
  22. package/dist/extentions/client_authorization.d.ts +0 -19
  23. package/dist/extentions/index.d.ts +0 -24
  24. package/dist/extentions/mediasession/definitions.d.ts +0 -54
  25. package/dist/extentions/mediasession/index.d.ts +0 -8
  26. package/dist/extentions/mediasession/web.d.ts +0 -7
  27. package/dist/extentions/safe_app.d.ts +0 -35
  28. package/dist/extentions/unsafe_app.d.ts +0 -4
  29. package/dist/extentions/vibrate_type.d.ts +0 -10
  30. package/dist/extentions/webview-bridge.d.ts +0 -1
  31. package/dist/google/protobuf/empty.d.ts +0 -20
  32. package/dist/google/protobuf/timestamp.d.ts +0 -242
  33. package/dist/grpcweb.d.ts +0 -27
  34. package/dist/index.d.ts +0 -87
  35. package/dist/localdevice/ble.d.ts +0 -566
  36. package/dist/localdevice/client.d.ts +0 -186
  37. package/dist/localdevice/cloud-driver.d.ts +0 -152
  38. package/dist/localdevice/config.d.ts +0 -150
  39. package/dist/localdevice/contacts.d.ts +0 -524
  40. package/dist/localdevice/device.d.ts +0 -86
  41. package/dist/localdevice/dialog.d.ts +0 -239
  42. package/dist/localdevice/local-launch.d.ts +0 -303
  43. package/dist/localdevice/network.d.ts +0 -84
  44. package/dist/localdevice/oneway-sync.d.ts +0 -274
  45. package/dist/localdevice/permission.d.ts +0 -233
  46. package/dist/localdevice/photo.d.ts +0 -1267
  47. package/dist/localdevice/remote-control.d.ts +0 -1941
  48. package/dist/localdevice/remote-input-method.d.ts +0 -128
  49. package/dist/sys/btled.d.ts +0 -197
  50. package/dist/sys/btrfs.d.ts +0 -546
  51. package/dist/sys/devopt.d.ts +0 -101
  52. package/dist/sys/dirmon.d.ts +0 -136
  53. package/dist/sys/event.d.ts +0 -143
  54. package/dist/sys/hal.d.ts +0 -957
  55. package/dist/sys/ingress.d.ts +0 -315
  56. package/dist/sys/network_manager.d.ts +0 -1083
  57. package/dist/sys/package_manager.d.ts +0 -21026
  58. package/dist/sys/stats/cgroup_metrics.d.ts +0 -17661
  59. package/dist/sys/tvos.d.ts +0 -490
  60. package/dist/sys/version.d.ts +0 -65
@@ -1,490 +0,0 @@
1
- import { grpc } from "@improbable-eng/grpc-web";
2
- import Long from "long";
3
- import _m0 from "protobufjs/minimal";
4
- import { Empty } from "../google/protobuf/empty";
5
- export interface RunRequest {
6
- image: string;
7
- timezone: string;
8
- language: string;
9
- }
10
- export interface StatusResponse {
11
- ready: boolean;
12
- }
13
- export interface IsHDMIConnectedResponse {
14
- connected: boolean;
15
- }
16
- export interface IsLoggedInResponse {
17
- isLoggedIn: boolean;
18
- }
19
- export interface AddBookmarkRequest {
20
- items: Bookmark[];
21
- }
22
- export interface ListBookmarkResponse {
23
- items: BookmarkWitoutIcon[];
24
- }
25
- export interface DelBookmarkRequest {
26
- items: BookmarkWitoutIcon[];
27
- }
28
- export interface ListBookmarkIconRequest {
29
- items: BookmarkWitoutIcon[];
30
- }
31
- export interface ListBookmarkIconResponse {
32
- items: Bookmark[];
33
- }
34
- export interface BookmarkWitoutIcon {
35
- url: string;
36
- title: string;
37
- }
38
- export interface Bookmark {
39
- url: string;
40
- icon: string;
41
- title: string;
42
- }
43
- export declare const RunRequest: {
44
- encode(message: RunRequest, writer?: _m0.Writer): _m0.Writer;
45
- decode(input: _m0.Reader | Uint8Array, length?: number): RunRequest;
46
- fromJSON(object: any): RunRequest;
47
- toJSON(message: RunRequest): unknown;
48
- create<I extends {
49
- image?: string;
50
- timezone?: string;
51
- language?: string;
52
- } & {
53
- image?: string;
54
- timezone?: string;
55
- language?: string;
56
- } & { [K in Exclude<keyof I, keyof RunRequest>]: never; }>(base?: I): RunRequest;
57
- fromPartial<I_1 extends {
58
- image?: string;
59
- timezone?: string;
60
- language?: string;
61
- } & {
62
- image?: string;
63
- timezone?: string;
64
- language?: string;
65
- } & { [K_1 in Exclude<keyof I_1, keyof RunRequest>]: never; }>(object: I_1): RunRequest;
66
- };
67
- export declare const StatusResponse: {
68
- encode(message: StatusResponse, writer?: _m0.Writer): _m0.Writer;
69
- decode(input: _m0.Reader | Uint8Array, length?: number): StatusResponse;
70
- fromJSON(object: any): StatusResponse;
71
- toJSON(message: StatusResponse): unknown;
72
- create<I extends {
73
- ready?: boolean;
74
- } & {
75
- ready?: boolean;
76
- } & { [K in Exclude<keyof I, "ready">]: never; }>(base?: I): StatusResponse;
77
- fromPartial<I_1 extends {
78
- ready?: boolean;
79
- } & {
80
- ready?: boolean;
81
- } & { [K_1 in Exclude<keyof I_1, "ready">]: never; }>(object: I_1): StatusResponse;
82
- };
83
- export declare const IsHDMIConnectedResponse: {
84
- encode(message: IsHDMIConnectedResponse, writer?: _m0.Writer): _m0.Writer;
85
- decode(input: _m0.Reader | Uint8Array, length?: number): IsHDMIConnectedResponse;
86
- fromJSON(object: any): IsHDMIConnectedResponse;
87
- toJSON(message: IsHDMIConnectedResponse): unknown;
88
- create<I extends {
89
- connected?: boolean;
90
- } & {
91
- connected?: boolean;
92
- } & { [K in Exclude<keyof I, "connected">]: never; }>(base?: I): IsHDMIConnectedResponse;
93
- fromPartial<I_1 extends {
94
- connected?: boolean;
95
- } & {
96
- connected?: boolean;
97
- } & { [K_1 in Exclude<keyof I_1, "connected">]: never; }>(object: I_1): IsHDMIConnectedResponse;
98
- };
99
- export declare const IsLoggedInResponse: {
100
- encode(message: IsLoggedInResponse, writer?: _m0.Writer): _m0.Writer;
101
- decode(input: _m0.Reader | Uint8Array, length?: number): IsLoggedInResponse;
102
- fromJSON(object: any): IsLoggedInResponse;
103
- toJSON(message: IsLoggedInResponse): unknown;
104
- create<I extends {
105
- isLoggedIn?: boolean;
106
- } & {
107
- isLoggedIn?: boolean;
108
- } & { [K in Exclude<keyof I, "isLoggedIn">]: never; }>(base?: I): IsLoggedInResponse;
109
- fromPartial<I_1 extends {
110
- isLoggedIn?: boolean;
111
- } & {
112
- isLoggedIn?: boolean;
113
- } & { [K_1 in Exclude<keyof I_1, "isLoggedIn">]: never; }>(object: I_1): IsLoggedInResponse;
114
- };
115
- export declare const AddBookmarkRequest: {
116
- encode(message: AddBookmarkRequest, writer?: _m0.Writer): _m0.Writer;
117
- decode(input: _m0.Reader | Uint8Array, length?: number): AddBookmarkRequest;
118
- fromJSON(object: any): AddBookmarkRequest;
119
- toJSON(message: AddBookmarkRequest): unknown;
120
- create<I extends {
121
- items?: {
122
- url?: string;
123
- icon?: string;
124
- title?: string;
125
- }[];
126
- } & {
127
- items?: {
128
- url?: string;
129
- icon?: string;
130
- title?: string;
131
- }[] & ({
132
- url?: string;
133
- icon?: string;
134
- title?: string;
135
- } & {
136
- url?: string;
137
- icon?: string;
138
- title?: string;
139
- } & { [K in Exclude<keyof I["items"][number], keyof Bookmark>]: never; })[] & { [K_1 in Exclude<keyof I["items"], keyof {
140
- url?: string;
141
- icon?: string;
142
- title?: string;
143
- }[]>]: never; };
144
- } & { [K_2 in Exclude<keyof I, "items">]: never; }>(base?: I): AddBookmarkRequest;
145
- fromPartial<I_1 extends {
146
- items?: {
147
- url?: string;
148
- icon?: string;
149
- title?: string;
150
- }[];
151
- } & {
152
- items?: {
153
- url?: string;
154
- icon?: string;
155
- title?: string;
156
- }[] & ({
157
- url?: string;
158
- icon?: string;
159
- title?: string;
160
- } & {
161
- url?: string;
162
- icon?: string;
163
- title?: string;
164
- } & { [K_3 in Exclude<keyof I_1["items"][number], keyof Bookmark>]: never; })[] & { [K_4 in Exclude<keyof I_1["items"], keyof {
165
- url?: string;
166
- icon?: string;
167
- title?: string;
168
- }[]>]: never; };
169
- } & { [K_5 in Exclude<keyof I_1, "items">]: never; }>(object: I_1): AddBookmarkRequest;
170
- };
171
- export declare const ListBookmarkResponse: {
172
- encode(message: ListBookmarkResponse, writer?: _m0.Writer): _m0.Writer;
173
- decode(input: _m0.Reader | Uint8Array, length?: number): ListBookmarkResponse;
174
- fromJSON(object: any): ListBookmarkResponse;
175
- toJSON(message: ListBookmarkResponse): unknown;
176
- create<I extends {
177
- items?: {
178
- url?: string;
179
- title?: string;
180
- }[];
181
- } & {
182
- items?: {
183
- url?: string;
184
- title?: string;
185
- }[] & ({
186
- url?: string;
187
- title?: string;
188
- } & {
189
- url?: string;
190
- title?: string;
191
- } & { [K in Exclude<keyof I["items"][number], keyof BookmarkWitoutIcon>]: never; })[] & { [K_1 in Exclude<keyof I["items"], keyof {
192
- url?: string;
193
- title?: string;
194
- }[]>]: never; };
195
- } & { [K_2 in Exclude<keyof I, "items">]: never; }>(base?: I): ListBookmarkResponse;
196
- fromPartial<I_1 extends {
197
- items?: {
198
- url?: string;
199
- title?: string;
200
- }[];
201
- } & {
202
- items?: {
203
- url?: string;
204
- title?: string;
205
- }[] & ({
206
- url?: string;
207
- title?: string;
208
- } & {
209
- url?: string;
210
- title?: string;
211
- } & { [K_3 in Exclude<keyof I_1["items"][number], keyof BookmarkWitoutIcon>]: never; })[] & { [K_4 in Exclude<keyof I_1["items"], keyof {
212
- url?: string;
213
- title?: string;
214
- }[]>]: never; };
215
- } & { [K_5 in Exclude<keyof I_1, "items">]: never; }>(object: I_1): ListBookmarkResponse;
216
- };
217
- export declare const DelBookmarkRequest: {
218
- encode(message: DelBookmarkRequest, writer?: _m0.Writer): _m0.Writer;
219
- decode(input: _m0.Reader | Uint8Array, length?: number): DelBookmarkRequest;
220
- fromJSON(object: any): DelBookmarkRequest;
221
- toJSON(message: DelBookmarkRequest): unknown;
222
- create<I extends {
223
- items?: {
224
- url?: string;
225
- title?: string;
226
- }[];
227
- } & {
228
- items?: {
229
- url?: string;
230
- title?: string;
231
- }[] & ({
232
- url?: string;
233
- title?: string;
234
- } & {
235
- url?: string;
236
- title?: string;
237
- } & { [K in Exclude<keyof I["items"][number], keyof BookmarkWitoutIcon>]: never; })[] & { [K_1 in Exclude<keyof I["items"], keyof {
238
- url?: string;
239
- title?: string;
240
- }[]>]: never; };
241
- } & { [K_2 in Exclude<keyof I, "items">]: never; }>(base?: I): DelBookmarkRequest;
242
- fromPartial<I_1 extends {
243
- items?: {
244
- url?: string;
245
- title?: string;
246
- }[];
247
- } & {
248
- items?: {
249
- url?: string;
250
- title?: string;
251
- }[] & ({
252
- url?: string;
253
- title?: string;
254
- } & {
255
- url?: string;
256
- title?: string;
257
- } & { [K_3 in Exclude<keyof I_1["items"][number], keyof BookmarkWitoutIcon>]: never; })[] & { [K_4 in Exclude<keyof I_1["items"], keyof {
258
- url?: string;
259
- title?: string;
260
- }[]>]: never; };
261
- } & { [K_5 in Exclude<keyof I_1, "items">]: never; }>(object: I_1): DelBookmarkRequest;
262
- };
263
- export declare const ListBookmarkIconRequest: {
264
- encode(message: ListBookmarkIconRequest, writer?: _m0.Writer): _m0.Writer;
265
- decode(input: _m0.Reader | Uint8Array, length?: number): ListBookmarkIconRequest;
266
- fromJSON(object: any): ListBookmarkIconRequest;
267
- toJSON(message: ListBookmarkIconRequest): unknown;
268
- create<I extends {
269
- items?: {
270
- url?: string;
271
- title?: string;
272
- }[];
273
- } & {
274
- items?: {
275
- url?: string;
276
- title?: string;
277
- }[] & ({
278
- url?: string;
279
- title?: string;
280
- } & {
281
- url?: string;
282
- title?: string;
283
- } & { [K in Exclude<keyof I["items"][number], keyof BookmarkWitoutIcon>]: never; })[] & { [K_1 in Exclude<keyof I["items"], keyof {
284
- url?: string;
285
- title?: string;
286
- }[]>]: never; };
287
- } & { [K_2 in Exclude<keyof I, "items">]: never; }>(base?: I): ListBookmarkIconRequest;
288
- fromPartial<I_1 extends {
289
- items?: {
290
- url?: string;
291
- title?: string;
292
- }[];
293
- } & {
294
- items?: {
295
- url?: string;
296
- title?: string;
297
- }[] & ({
298
- url?: string;
299
- title?: string;
300
- } & {
301
- url?: string;
302
- title?: string;
303
- } & { [K_3 in Exclude<keyof I_1["items"][number], keyof BookmarkWitoutIcon>]: never; })[] & { [K_4 in Exclude<keyof I_1["items"], keyof {
304
- url?: string;
305
- title?: string;
306
- }[]>]: never; };
307
- } & { [K_5 in Exclude<keyof I_1, "items">]: never; }>(object: I_1): ListBookmarkIconRequest;
308
- };
309
- export declare const ListBookmarkIconResponse: {
310
- encode(message: ListBookmarkIconResponse, writer?: _m0.Writer): _m0.Writer;
311
- decode(input: _m0.Reader | Uint8Array, length?: number): ListBookmarkIconResponse;
312
- fromJSON(object: any): ListBookmarkIconResponse;
313
- toJSON(message: ListBookmarkIconResponse): unknown;
314
- create<I extends {
315
- items?: {
316
- url?: string;
317
- icon?: string;
318
- title?: string;
319
- }[];
320
- } & {
321
- items?: {
322
- url?: string;
323
- icon?: string;
324
- title?: string;
325
- }[] & ({
326
- url?: string;
327
- icon?: string;
328
- title?: string;
329
- } & {
330
- url?: string;
331
- icon?: string;
332
- title?: string;
333
- } & { [K in Exclude<keyof I["items"][number], keyof Bookmark>]: never; })[] & { [K_1 in Exclude<keyof I["items"], keyof {
334
- url?: string;
335
- icon?: string;
336
- title?: string;
337
- }[]>]: never; };
338
- } & { [K_2 in Exclude<keyof I, "items">]: never; }>(base?: I): ListBookmarkIconResponse;
339
- fromPartial<I_1 extends {
340
- items?: {
341
- url?: string;
342
- icon?: string;
343
- title?: string;
344
- }[];
345
- } & {
346
- items?: {
347
- url?: string;
348
- icon?: string;
349
- title?: string;
350
- }[] & ({
351
- url?: string;
352
- icon?: string;
353
- title?: string;
354
- } & {
355
- url?: string;
356
- icon?: string;
357
- title?: string;
358
- } & { [K_3 in Exclude<keyof I_1["items"][number], keyof Bookmark>]: never; })[] & { [K_4 in Exclude<keyof I_1["items"], keyof {
359
- url?: string;
360
- icon?: string;
361
- title?: string;
362
- }[]>]: never; };
363
- } & { [K_5 in Exclude<keyof I_1, "items">]: never; }>(object: I_1): ListBookmarkIconResponse;
364
- };
365
- export declare const BookmarkWitoutIcon: {
366
- encode(message: BookmarkWitoutIcon, writer?: _m0.Writer): _m0.Writer;
367
- decode(input: _m0.Reader | Uint8Array, length?: number): BookmarkWitoutIcon;
368
- fromJSON(object: any): BookmarkWitoutIcon;
369
- toJSON(message: BookmarkWitoutIcon): unknown;
370
- create<I extends {
371
- url?: string;
372
- title?: string;
373
- } & {
374
- url?: string;
375
- title?: string;
376
- } & { [K in Exclude<keyof I, keyof BookmarkWitoutIcon>]: never; }>(base?: I): BookmarkWitoutIcon;
377
- fromPartial<I_1 extends {
378
- url?: string;
379
- title?: string;
380
- } & {
381
- url?: string;
382
- title?: string;
383
- } & { [K_1 in Exclude<keyof I_1, keyof BookmarkWitoutIcon>]: never; }>(object: I_1): BookmarkWitoutIcon;
384
- };
385
- export declare const Bookmark: {
386
- encode(message: Bookmark, writer?: _m0.Writer): _m0.Writer;
387
- decode(input: _m0.Reader | Uint8Array, length?: number): Bookmark;
388
- fromJSON(object: any): Bookmark;
389
- toJSON(message: Bookmark): unknown;
390
- create<I extends {
391
- url?: string;
392
- icon?: string;
393
- title?: string;
394
- } & {
395
- url?: string;
396
- icon?: string;
397
- title?: string;
398
- } & { [K in Exclude<keyof I, keyof Bookmark>]: never; }>(base?: I): Bookmark;
399
- fromPartial<I_1 extends {
400
- url?: string;
401
- icon?: string;
402
- title?: string;
403
- } & {
404
- url?: string;
405
- icon?: string;
406
- title?: string;
407
- } & { [K_1 in Exclude<keyof I_1, keyof Bookmark>]: never; }>(object: I_1): Bookmark;
408
- };
409
- export interface TvOS {
410
- /** 启动 */
411
- Run(request: DeepPartial<RunRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
412
- /** 状态 */
413
- Status(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<StatusResponse>;
414
- /** 停止 */
415
- Stop(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
416
- /** 是否连接HDMI */
417
- IsHDMIConnected(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<IsHDMIConnectedResponse>;
418
- /** 是否已登录 */
419
- IsLoggedIn(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<IsLoggedInResponse>;
420
- /** 添加书签 */
421
- AddBookmark(request: DeepPartial<AddBookmarkRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
422
- /** 列出书签 */
423
- ListBookmark(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<ListBookmarkResponse>;
424
- /** 删除书签 */
425
- DelBookmark(request: DeepPartial<DelBookmarkRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
426
- /** 列出书签icon */
427
- ListBookmarkIcon(request: DeepPartial<ListBookmarkIconRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<ListBookmarkIconResponse>;
428
- /**
429
- * 踢出当前登录的客户端
430
- * 清理hportal-client缓存目录并重启容器
431
- */
432
- KickLoggedIn(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
433
- }
434
- export declare class TvOSClientImpl implements TvOS {
435
- private readonly rpc;
436
- constructor(rpc: Rpc);
437
- Run(request: DeepPartial<RunRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
438
- Status(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<StatusResponse>;
439
- Stop(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
440
- IsHDMIConnected(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<IsHDMIConnectedResponse>;
441
- IsLoggedIn(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<IsLoggedInResponse>;
442
- AddBookmark(request: DeepPartial<AddBookmarkRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
443
- ListBookmark(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<ListBookmarkResponse>;
444
- DelBookmark(request: DeepPartial<DelBookmarkRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
445
- ListBookmarkIcon(request: DeepPartial<ListBookmarkIconRequest>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<ListBookmarkIconResponse>;
446
- KickLoggedIn(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<Empty>;
447
- }
448
- export declare const TvOSDesc: {
449
- serviceName: string;
450
- };
451
- export declare const TvOSRunDesc: UnaryMethodDefinitionish;
452
- export declare const TvOSStatusDesc: UnaryMethodDefinitionish;
453
- export declare const TvOSStopDesc: UnaryMethodDefinitionish;
454
- export declare const TvOSIsHDMIConnectedDesc: UnaryMethodDefinitionish;
455
- export declare const TvOSIsLoggedInDesc: UnaryMethodDefinitionish;
456
- export declare const TvOSAddBookmarkDesc: UnaryMethodDefinitionish;
457
- export declare const TvOSListBookmarkDesc: UnaryMethodDefinitionish;
458
- export declare const TvOSDelBookmarkDesc: UnaryMethodDefinitionish;
459
- export declare const TvOSListBookmarkIconDesc: UnaryMethodDefinitionish;
460
- export declare const TvOSKickLoggedInDesc: UnaryMethodDefinitionish;
461
- interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {
462
- requestStream: any;
463
- responseStream: any;
464
- }
465
- type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
466
- interface Rpc {
467
- unary<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined, abortSignal?: AbortSignal): Promise<any>;
468
- }
469
- export declare class GrpcWebImpl {
470
- private host;
471
- private options;
472
- constructor(host: string, options: {
473
- transport?: grpc.TransportFactory;
474
- debug?: boolean;
475
- metadata?: grpc.Metadata;
476
- upStreamRetryCodes?: number[];
477
- });
478
- unary<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined, abortSignal?: AbortSignal): Promise<any>;
479
- }
480
- declare const tsProtoGlobalThis: any;
481
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
482
- type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
483
- [K in keyof T]?: DeepPartial<T[K]>;
484
- } : Partial<T>;
485
- export declare class GrpcWebError extends tsProtoGlobalThis.Error {
486
- code: grpc.Code;
487
- metadata: grpc.Metadata;
488
- constructor(message: string, code: grpc.Code, metadata: grpc.Metadata);
489
- }
490
- export {};
@@ -1,65 +0,0 @@
1
- import { grpc } from "@improbable-eng/grpc-web";
2
- import Long from "long";
3
- import _m0 from "protobufjs/minimal";
4
- import { Empty } from "../google/protobuf/empty";
5
- export interface VersionInfo {
6
- version: string;
7
- }
8
- export declare const VersionInfo: {
9
- encode(message: VersionInfo, writer?: _m0.Writer): _m0.Writer;
10
- decode(input: _m0.Reader | Uint8Array, length?: number): VersionInfo;
11
- fromJSON(object: any): VersionInfo;
12
- toJSON(message: VersionInfo): unknown;
13
- create<I extends {
14
- version?: string;
15
- } & {
16
- version?: string;
17
- } & { [K in Exclude<keyof I, "version">]: never; }>(base?: I): VersionInfo;
18
- fromPartial<I_1 extends {
19
- version?: string;
20
- } & {
21
- version?: string;
22
- } & { [K_1 in Exclude<keyof I_1, "version">]: never; }>(object: I_1): VersionInfo;
23
- };
24
- export interface VersionInfoService {
25
- Get(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<VersionInfo>;
26
- }
27
- export declare class VersionInfoServiceClientImpl implements VersionInfoService {
28
- private readonly rpc;
29
- constructor(rpc: Rpc);
30
- Get(request: DeepPartial<Empty>, metadata?: grpc.Metadata, abortSignal?: AbortSignal): Promise<VersionInfo>;
31
- }
32
- export declare const VersionInfoServiceDesc: {
33
- serviceName: string;
34
- };
35
- export declare const VersionInfoServiceGetDesc: UnaryMethodDefinitionish;
36
- interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {
37
- requestStream: any;
38
- responseStream: any;
39
- }
40
- type UnaryMethodDefinitionish = UnaryMethodDefinitionishR;
41
- interface Rpc {
42
- unary<T extends UnaryMethodDefinitionish>(methodDesc: T, request: any, metadata: grpc.Metadata | undefined, abortSignal?: AbortSignal): Promise<any>;
43
- }
44
- export declare class GrpcWebImpl {
45
- private host;
46
- private options;
47
- constructor(host: string, options: {
48
- transport?: grpc.TransportFactory;
49
- debug?: boolean;
50
- metadata?: grpc.Metadata;
51
- upStreamRetryCodes?: number[];
52
- });
53
- unary<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined, abortSignal?: AbortSignal): Promise<any>;
54
- }
55
- declare const tsProtoGlobalThis: any;
56
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
57
- type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
58
- [K in keyof T]?: DeepPartial<T[K]>;
59
- } : Partial<T>;
60
- export declare class GrpcWebError extends tsProtoGlobalThis.Error {
61
- code: grpc.Code;
62
- metadata: grpc.Metadata;
63
- constructor(message: string, code: grpc.Code, metadata: grpc.Metadata);
64
- }
65
- export {};