@marleena/trb-proto 0.1.0 → 0.1.2

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 (33) hide show
  1. package/README.md +28 -23
  2. package/gen/js-ts/clickhouse/Clickhouse_grpcServiceClientPb.ts +108 -0
  3. package/gen/js-ts/clickhouse/clickhouse_grpc_pb.d.ts +464 -0
  4. package/gen/js-ts/db_api/Db_apiServiceClientPb.ts +215 -0
  5. package/gen/js-ts/db_api/db_api_pb.d.ts +406 -0
  6. package/gen/js-ts/db_api/db_api_pb.js +3371 -0
  7. package/gen/js-ts/example/ExampleServiceClientPb.ts +108 -0
  8. package/gen/js-ts/example/Example_pb.d.ts +77 -0
  9. package/gen/js-ts/manager_indicators/Manager_indicatorsServiceClientPb.ts +86 -0
  10. package/gen/js-ts/manager_indicators/manager_indicators_pb.d.ts +190 -0
  11. package/gen/js-ts/moex/MoexServiceClientPb.ts +86 -0
  12. package/gen/js-ts/moex/moex_pb.d.ts +53 -0
  13. package/gen/js-ts/nats/ManagerServiceClientPb.ts +1032 -0
  14. package/gen/js-ts/nats/manager_pb.d.ts +1416 -0
  15. package/gen/js-ts/nats/manager_pb.js +394 -0
  16. package/gen/js-ts/tinvest/InstrumentsServiceClientPb.ts +1892 -0
  17. package/gen/js-ts/tinvest/MarketdataServiceClientPb.ts +473 -0
  18. package/gen/js-ts/tinvest/OperationsServiceClientPb.ts +431 -0
  19. package/gen/js-ts/tinvest/OrdersServiceClientPb.ts +452 -0
  20. package/gen/js-ts/tinvest/SandboxServiceClientPb.ts +907 -0
  21. package/gen/js-ts/tinvest/SignalsServiceClientPb.ts +129 -0
  22. package/gen/js-ts/tinvest/StopordersServiceClientPb.ts +172 -0
  23. package/gen/js-ts/tinvest/UsersServiceClientPb.ts +387 -0
  24. package/gen/js-ts/tinvest/common_pb.d.ts +314 -0
  25. package/gen/js-ts/tinvest/instruments_pb.d.ts +6373 -0
  26. package/gen/js-ts/tinvest/marketdata_pb.d.ts +2397 -0
  27. package/gen/js-ts/tinvest/operations_pb.d.ts +2380 -0
  28. package/gen/js-ts/tinvest/orders_pb.d.ts +1555 -0
  29. package/gen/js-ts/tinvest/sandbox_pb.d.ts +129 -0
  30. package/gen/js-ts/tinvest/signals_pb.d.ts +408 -0
  31. package/gen/js-ts/tinvest/stoporders_pb.d.ts +493 -0
  32. package/gen/js-ts/tinvest/users_pb.d.ts +611 -0
  33. package/package.json +1 -1
@@ -0,0 +1,1892 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for tinkoff.public.invest.api.contract.v1
3
+ * @enhanceable
4
+ * @public
5
+ */
6
+
7
+ // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
+ // versions:
9
+ // protoc-gen-grpc-web v1.5.0
10
+ // protoc v7.34.1
11
+ // source: tinvest/instruments.proto
12
+
13
+
14
+ /* eslint-disable */
15
+ // @ts-nocheck
16
+
17
+
18
+ import * as grpcWeb from 'grpc-web';
19
+
20
+ import * as tinvest_instruments_pb from '../tinvest/instruments_pb'; // proto import: "tinvest/instruments.proto"
21
+
22
+
23
+ export class InstrumentsServiceClient {
24
+ client_: grpcWeb.AbstractClientBase;
25
+ hostname_: string;
26
+ credentials_: null | { [index: string]: string; };
27
+ options_: null | { [index: string]: any; };
28
+
29
+ constructor (hostname: string,
30
+ credentials?: null | { [index: string]: string; },
31
+ options?: null | { [index: string]: any; }) {
32
+ if (!options) options = {};
33
+ if (!credentials) credentials = {};
34
+ options['format'] = 'binary';
35
+
36
+ this.client_ = new grpcWeb.GrpcWebClientBase(options);
37
+ this.hostname_ = hostname.replace(/\/+$/, '');
38
+ this.credentials_ = credentials;
39
+ this.options_ = options;
40
+ }
41
+
42
+ methodDescriptorTradingSchedules = new grpcWeb.MethodDescriptor(
43
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/TradingSchedules',
44
+ grpcWeb.MethodType.UNARY,
45
+ tinvest_instruments_pb.TradingSchedulesRequest,
46
+ tinvest_instruments_pb.TradingSchedulesResponse,
47
+ (request: tinvest_instruments_pb.TradingSchedulesRequest) => {
48
+ return request.serializeBinary();
49
+ },
50
+ tinvest_instruments_pb.TradingSchedulesResponse.deserializeBinary
51
+ );
52
+
53
+ tradingSchedules(
54
+ request: tinvest_instruments_pb.TradingSchedulesRequest,
55
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.TradingSchedulesResponse>;
56
+
57
+ tradingSchedules(
58
+ request: tinvest_instruments_pb.TradingSchedulesRequest,
59
+ metadata: grpcWeb.Metadata | null,
60
+ callback: (err: grpcWeb.RpcError,
61
+ response: tinvest_instruments_pb.TradingSchedulesResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.TradingSchedulesResponse>;
62
+
63
+ tradingSchedules(
64
+ request: tinvest_instruments_pb.TradingSchedulesRequest,
65
+ metadata?: grpcWeb.Metadata | null,
66
+ callback?: (err: grpcWeb.RpcError,
67
+ response: tinvest_instruments_pb.TradingSchedulesResponse) => void) {
68
+ if (callback !== undefined) {
69
+ return this.client_.rpcCall(
70
+ this.hostname_ +
71
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/TradingSchedules',
72
+ request,
73
+ metadata || {},
74
+ this.methodDescriptorTradingSchedules,
75
+ callback);
76
+ }
77
+ return this.client_.unaryCall(
78
+ this.hostname_ +
79
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/TradingSchedules',
80
+ request,
81
+ metadata || {},
82
+ this.methodDescriptorTradingSchedules);
83
+ }
84
+
85
+ methodDescriptorBondBy = new grpcWeb.MethodDescriptor(
86
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/BondBy',
87
+ grpcWeb.MethodType.UNARY,
88
+ tinvest_instruments_pb.InstrumentRequest,
89
+ tinvest_instruments_pb.BondResponse,
90
+ (request: tinvest_instruments_pb.InstrumentRequest) => {
91
+ return request.serializeBinary();
92
+ },
93
+ tinvest_instruments_pb.BondResponse.deserializeBinary
94
+ );
95
+
96
+ bondBy(
97
+ request: tinvest_instruments_pb.InstrumentRequest,
98
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.BondResponse>;
99
+
100
+ bondBy(
101
+ request: tinvest_instruments_pb.InstrumentRequest,
102
+ metadata: grpcWeb.Metadata | null,
103
+ callback: (err: grpcWeb.RpcError,
104
+ response: tinvest_instruments_pb.BondResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.BondResponse>;
105
+
106
+ bondBy(
107
+ request: tinvest_instruments_pb.InstrumentRequest,
108
+ metadata?: grpcWeb.Metadata | null,
109
+ callback?: (err: grpcWeb.RpcError,
110
+ response: tinvest_instruments_pb.BondResponse) => void) {
111
+ if (callback !== undefined) {
112
+ return this.client_.rpcCall(
113
+ this.hostname_ +
114
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/BondBy',
115
+ request,
116
+ metadata || {},
117
+ this.methodDescriptorBondBy,
118
+ callback);
119
+ }
120
+ return this.client_.unaryCall(
121
+ this.hostname_ +
122
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/BondBy',
123
+ request,
124
+ metadata || {},
125
+ this.methodDescriptorBondBy);
126
+ }
127
+
128
+ methodDescriptorBonds = new grpcWeb.MethodDescriptor(
129
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Bonds',
130
+ grpcWeb.MethodType.UNARY,
131
+ tinvest_instruments_pb.InstrumentsRequest,
132
+ tinvest_instruments_pb.BondsResponse,
133
+ (request: tinvest_instruments_pb.InstrumentsRequest) => {
134
+ return request.serializeBinary();
135
+ },
136
+ tinvest_instruments_pb.BondsResponse.deserializeBinary
137
+ );
138
+
139
+ bonds(
140
+ request: tinvest_instruments_pb.InstrumentsRequest,
141
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.BondsResponse>;
142
+
143
+ bonds(
144
+ request: tinvest_instruments_pb.InstrumentsRequest,
145
+ metadata: grpcWeb.Metadata | null,
146
+ callback: (err: grpcWeb.RpcError,
147
+ response: tinvest_instruments_pb.BondsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.BondsResponse>;
148
+
149
+ bonds(
150
+ request: tinvest_instruments_pb.InstrumentsRequest,
151
+ metadata?: grpcWeb.Metadata | null,
152
+ callback?: (err: grpcWeb.RpcError,
153
+ response: tinvest_instruments_pb.BondsResponse) => void) {
154
+ if (callback !== undefined) {
155
+ return this.client_.rpcCall(
156
+ this.hostname_ +
157
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Bonds',
158
+ request,
159
+ metadata || {},
160
+ this.methodDescriptorBonds,
161
+ callback);
162
+ }
163
+ return this.client_.unaryCall(
164
+ this.hostname_ +
165
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Bonds',
166
+ request,
167
+ metadata || {},
168
+ this.methodDescriptorBonds);
169
+ }
170
+
171
+ methodDescriptorGetBondCoupons = new grpcWeb.MethodDescriptor(
172
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBondCoupons',
173
+ grpcWeb.MethodType.UNARY,
174
+ tinvest_instruments_pb.GetBondCouponsRequest,
175
+ tinvest_instruments_pb.GetBondCouponsResponse,
176
+ (request: tinvest_instruments_pb.GetBondCouponsRequest) => {
177
+ return request.serializeBinary();
178
+ },
179
+ tinvest_instruments_pb.GetBondCouponsResponse.deserializeBinary
180
+ );
181
+
182
+ getBondCoupons(
183
+ request: tinvest_instruments_pb.GetBondCouponsRequest,
184
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetBondCouponsResponse>;
185
+
186
+ getBondCoupons(
187
+ request: tinvest_instruments_pb.GetBondCouponsRequest,
188
+ metadata: grpcWeb.Metadata | null,
189
+ callback: (err: grpcWeb.RpcError,
190
+ response: tinvest_instruments_pb.GetBondCouponsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetBondCouponsResponse>;
191
+
192
+ getBondCoupons(
193
+ request: tinvest_instruments_pb.GetBondCouponsRequest,
194
+ metadata?: grpcWeb.Metadata | null,
195
+ callback?: (err: grpcWeb.RpcError,
196
+ response: tinvest_instruments_pb.GetBondCouponsResponse) => void) {
197
+ if (callback !== undefined) {
198
+ return this.client_.rpcCall(
199
+ this.hostname_ +
200
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBondCoupons',
201
+ request,
202
+ metadata || {},
203
+ this.methodDescriptorGetBondCoupons,
204
+ callback);
205
+ }
206
+ return this.client_.unaryCall(
207
+ this.hostname_ +
208
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBondCoupons',
209
+ request,
210
+ metadata || {},
211
+ this.methodDescriptorGetBondCoupons);
212
+ }
213
+
214
+ methodDescriptorGetBondEvents = new grpcWeb.MethodDescriptor(
215
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBondEvents',
216
+ grpcWeb.MethodType.UNARY,
217
+ tinvest_instruments_pb.GetBondEventsRequest,
218
+ tinvest_instruments_pb.GetBondEventsResponse,
219
+ (request: tinvest_instruments_pb.GetBondEventsRequest) => {
220
+ return request.serializeBinary();
221
+ },
222
+ tinvest_instruments_pb.GetBondEventsResponse.deserializeBinary
223
+ );
224
+
225
+ getBondEvents(
226
+ request: tinvest_instruments_pb.GetBondEventsRequest,
227
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetBondEventsResponse>;
228
+
229
+ getBondEvents(
230
+ request: tinvest_instruments_pb.GetBondEventsRequest,
231
+ metadata: grpcWeb.Metadata | null,
232
+ callback: (err: grpcWeb.RpcError,
233
+ response: tinvest_instruments_pb.GetBondEventsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetBondEventsResponse>;
234
+
235
+ getBondEvents(
236
+ request: tinvest_instruments_pb.GetBondEventsRequest,
237
+ metadata?: grpcWeb.Metadata | null,
238
+ callback?: (err: grpcWeb.RpcError,
239
+ response: tinvest_instruments_pb.GetBondEventsResponse) => void) {
240
+ if (callback !== undefined) {
241
+ return this.client_.rpcCall(
242
+ this.hostname_ +
243
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBondEvents',
244
+ request,
245
+ metadata || {},
246
+ this.methodDescriptorGetBondEvents,
247
+ callback);
248
+ }
249
+ return this.client_.unaryCall(
250
+ this.hostname_ +
251
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBondEvents',
252
+ request,
253
+ metadata || {},
254
+ this.methodDescriptorGetBondEvents);
255
+ }
256
+
257
+ methodDescriptorCurrencyBy = new grpcWeb.MethodDescriptor(
258
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/CurrencyBy',
259
+ grpcWeb.MethodType.UNARY,
260
+ tinvest_instruments_pb.InstrumentRequest,
261
+ tinvest_instruments_pb.CurrencyResponse,
262
+ (request: tinvest_instruments_pb.InstrumentRequest) => {
263
+ return request.serializeBinary();
264
+ },
265
+ tinvest_instruments_pb.CurrencyResponse.deserializeBinary
266
+ );
267
+
268
+ currencyBy(
269
+ request: tinvest_instruments_pb.InstrumentRequest,
270
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.CurrencyResponse>;
271
+
272
+ currencyBy(
273
+ request: tinvest_instruments_pb.InstrumentRequest,
274
+ metadata: grpcWeb.Metadata | null,
275
+ callback: (err: grpcWeb.RpcError,
276
+ response: tinvest_instruments_pb.CurrencyResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.CurrencyResponse>;
277
+
278
+ currencyBy(
279
+ request: tinvest_instruments_pb.InstrumentRequest,
280
+ metadata?: grpcWeb.Metadata | null,
281
+ callback?: (err: grpcWeb.RpcError,
282
+ response: tinvest_instruments_pb.CurrencyResponse) => void) {
283
+ if (callback !== undefined) {
284
+ return this.client_.rpcCall(
285
+ this.hostname_ +
286
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/CurrencyBy',
287
+ request,
288
+ metadata || {},
289
+ this.methodDescriptorCurrencyBy,
290
+ callback);
291
+ }
292
+ return this.client_.unaryCall(
293
+ this.hostname_ +
294
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/CurrencyBy',
295
+ request,
296
+ metadata || {},
297
+ this.methodDescriptorCurrencyBy);
298
+ }
299
+
300
+ methodDescriptorCurrencies = new grpcWeb.MethodDescriptor(
301
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Currencies',
302
+ grpcWeb.MethodType.UNARY,
303
+ tinvest_instruments_pb.InstrumentsRequest,
304
+ tinvest_instruments_pb.CurrenciesResponse,
305
+ (request: tinvest_instruments_pb.InstrumentsRequest) => {
306
+ return request.serializeBinary();
307
+ },
308
+ tinvest_instruments_pb.CurrenciesResponse.deserializeBinary
309
+ );
310
+
311
+ currencies(
312
+ request: tinvest_instruments_pb.InstrumentsRequest,
313
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.CurrenciesResponse>;
314
+
315
+ currencies(
316
+ request: tinvest_instruments_pb.InstrumentsRequest,
317
+ metadata: grpcWeb.Metadata | null,
318
+ callback: (err: grpcWeb.RpcError,
319
+ response: tinvest_instruments_pb.CurrenciesResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.CurrenciesResponse>;
320
+
321
+ currencies(
322
+ request: tinvest_instruments_pb.InstrumentsRequest,
323
+ metadata?: grpcWeb.Metadata | null,
324
+ callback?: (err: grpcWeb.RpcError,
325
+ response: tinvest_instruments_pb.CurrenciesResponse) => void) {
326
+ if (callback !== undefined) {
327
+ return this.client_.rpcCall(
328
+ this.hostname_ +
329
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Currencies',
330
+ request,
331
+ metadata || {},
332
+ this.methodDescriptorCurrencies,
333
+ callback);
334
+ }
335
+ return this.client_.unaryCall(
336
+ this.hostname_ +
337
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Currencies',
338
+ request,
339
+ metadata || {},
340
+ this.methodDescriptorCurrencies);
341
+ }
342
+
343
+ methodDescriptorEtfBy = new grpcWeb.MethodDescriptor(
344
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/EtfBy',
345
+ grpcWeb.MethodType.UNARY,
346
+ tinvest_instruments_pb.InstrumentRequest,
347
+ tinvest_instruments_pb.EtfResponse,
348
+ (request: tinvest_instruments_pb.InstrumentRequest) => {
349
+ return request.serializeBinary();
350
+ },
351
+ tinvest_instruments_pb.EtfResponse.deserializeBinary
352
+ );
353
+
354
+ etfBy(
355
+ request: tinvest_instruments_pb.InstrumentRequest,
356
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.EtfResponse>;
357
+
358
+ etfBy(
359
+ request: tinvest_instruments_pb.InstrumentRequest,
360
+ metadata: grpcWeb.Metadata | null,
361
+ callback: (err: grpcWeb.RpcError,
362
+ response: tinvest_instruments_pb.EtfResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.EtfResponse>;
363
+
364
+ etfBy(
365
+ request: tinvest_instruments_pb.InstrumentRequest,
366
+ metadata?: grpcWeb.Metadata | null,
367
+ callback?: (err: grpcWeb.RpcError,
368
+ response: tinvest_instruments_pb.EtfResponse) => void) {
369
+ if (callback !== undefined) {
370
+ return this.client_.rpcCall(
371
+ this.hostname_ +
372
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/EtfBy',
373
+ request,
374
+ metadata || {},
375
+ this.methodDescriptorEtfBy,
376
+ callback);
377
+ }
378
+ return this.client_.unaryCall(
379
+ this.hostname_ +
380
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/EtfBy',
381
+ request,
382
+ metadata || {},
383
+ this.methodDescriptorEtfBy);
384
+ }
385
+
386
+ methodDescriptorEtfs = new grpcWeb.MethodDescriptor(
387
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Etfs',
388
+ grpcWeb.MethodType.UNARY,
389
+ tinvest_instruments_pb.InstrumentsRequest,
390
+ tinvest_instruments_pb.EtfsResponse,
391
+ (request: tinvest_instruments_pb.InstrumentsRequest) => {
392
+ return request.serializeBinary();
393
+ },
394
+ tinvest_instruments_pb.EtfsResponse.deserializeBinary
395
+ );
396
+
397
+ etfs(
398
+ request: tinvest_instruments_pb.InstrumentsRequest,
399
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.EtfsResponse>;
400
+
401
+ etfs(
402
+ request: tinvest_instruments_pb.InstrumentsRequest,
403
+ metadata: grpcWeb.Metadata | null,
404
+ callback: (err: grpcWeb.RpcError,
405
+ response: tinvest_instruments_pb.EtfsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.EtfsResponse>;
406
+
407
+ etfs(
408
+ request: tinvest_instruments_pb.InstrumentsRequest,
409
+ metadata?: grpcWeb.Metadata | null,
410
+ callback?: (err: grpcWeb.RpcError,
411
+ response: tinvest_instruments_pb.EtfsResponse) => void) {
412
+ if (callback !== undefined) {
413
+ return this.client_.rpcCall(
414
+ this.hostname_ +
415
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Etfs',
416
+ request,
417
+ metadata || {},
418
+ this.methodDescriptorEtfs,
419
+ callback);
420
+ }
421
+ return this.client_.unaryCall(
422
+ this.hostname_ +
423
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Etfs',
424
+ request,
425
+ metadata || {},
426
+ this.methodDescriptorEtfs);
427
+ }
428
+
429
+ methodDescriptorFutureBy = new grpcWeb.MethodDescriptor(
430
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/FutureBy',
431
+ grpcWeb.MethodType.UNARY,
432
+ tinvest_instruments_pb.InstrumentRequest,
433
+ tinvest_instruments_pb.FutureResponse,
434
+ (request: tinvest_instruments_pb.InstrumentRequest) => {
435
+ return request.serializeBinary();
436
+ },
437
+ tinvest_instruments_pb.FutureResponse.deserializeBinary
438
+ );
439
+
440
+ futureBy(
441
+ request: tinvest_instruments_pb.InstrumentRequest,
442
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.FutureResponse>;
443
+
444
+ futureBy(
445
+ request: tinvest_instruments_pb.InstrumentRequest,
446
+ metadata: grpcWeb.Metadata | null,
447
+ callback: (err: grpcWeb.RpcError,
448
+ response: tinvest_instruments_pb.FutureResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.FutureResponse>;
449
+
450
+ futureBy(
451
+ request: tinvest_instruments_pb.InstrumentRequest,
452
+ metadata?: grpcWeb.Metadata | null,
453
+ callback?: (err: grpcWeb.RpcError,
454
+ response: tinvest_instruments_pb.FutureResponse) => void) {
455
+ if (callback !== undefined) {
456
+ return this.client_.rpcCall(
457
+ this.hostname_ +
458
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/FutureBy',
459
+ request,
460
+ metadata || {},
461
+ this.methodDescriptorFutureBy,
462
+ callback);
463
+ }
464
+ return this.client_.unaryCall(
465
+ this.hostname_ +
466
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/FutureBy',
467
+ request,
468
+ metadata || {},
469
+ this.methodDescriptorFutureBy);
470
+ }
471
+
472
+ methodDescriptorFutures = new grpcWeb.MethodDescriptor(
473
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Futures',
474
+ grpcWeb.MethodType.UNARY,
475
+ tinvest_instruments_pb.InstrumentsRequest,
476
+ tinvest_instruments_pb.FuturesResponse,
477
+ (request: tinvest_instruments_pb.InstrumentsRequest) => {
478
+ return request.serializeBinary();
479
+ },
480
+ tinvest_instruments_pb.FuturesResponse.deserializeBinary
481
+ );
482
+
483
+ futures(
484
+ request: tinvest_instruments_pb.InstrumentsRequest,
485
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.FuturesResponse>;
486
+
487
+ futures(
488
+ request: tinvest_instruments_pb.InstrumentsRequest,
489
+ metadata: grpcWeb.Metadata | null,
490
+ callback: (err: grpcWeb.RpcError,
491
+ response: tinvest_instruments_pb.FuturesResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.FuturesResponse>;
492
+
493
+ futures(
494
+ request: tinvest_instruments_pb.InstrumentsRequest,
495
+ metadata?: grpcWeb.Metadata | null,
496
+ callback?: (err: grpcWeb.RpcError,
497
+ response: tinvest_instruments_pb.FuturesResponse) => void) {
498
+ if (callback !== undefined) {
499
+ return this.client_.rpcCall(
500
+ this.hostname_ +
501
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Futures',
502
+ request,
503
+ metadata || {},
504
+ this.methodDescriptorFutures,
505
+ callback);
506
+ }
507
+ return this.client_.unaryCall(
508
+ this.hostname_ +
509
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Futures',
510
+ request,
511
+ metadata || {},
512
+ this.methodDescriptorFutures);
513
+ }
514
+
515
+ methodDescriptorOptionBy = new grpcWeb.MethodDescriptor(
516
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/OptionBy',
517
+ grpcWeb.MethodType.UNARY,
518
+ tinvest_instruments_pb.InstrumentRequest,
519
+ tinvest_instruments_pb.OptionResponse,
520
+ (request: tinvest_instruments_pb.InstrumentRequest) => {
521
+ return request.serializeBinary();
522
+ },
523
+ tinvest_instruments_pb.OptionResponse.deserializeBinary
524
+ );
525
+
526
+ optionBy(
527
+ request: tinvest_instruments_pb.InstrumentRequest,
528
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.OptionResponse>;
529
+
530
+ optionBy(
531
+ request: tinvest_instruments_pb.InstrumentRequest,
532
+ metadata: grpcWeb.Metadata | null,
533
+ callback: (err: grpcWeb.RpcError,
534
+ response: tinvest_instruments_pb.OptionResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.OptionResponse>;
535
+
536
+ optionBy(
537
+ request: tinvest_instruments_pb.InstrumentRequest,
538
+ metadata?: grpcWeb.Metadata | null,
539
+ callback?: (err: grpcWeb.RpcError,
540
+ response: tinvest_instruments_pb.OptionResponse) => void) {
541
+ if (callback !== undefined) {
542
+ return this.client_.rpcCall(
543
+ this.hostname_ +
544
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/OptionBy',
545
+ request,
546
+ metadata || {},
547
+ this.methodDescriptorOptionBy,
548
+ callback);
549
+ }
550
+ return this.client_.unaryCall(
551
+ this.hostname_ +
552
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/OptionBy',
553
+ request,
554
+ metadata || {},
555
+ this.methodDescriptorOptionBy);
556
+ }
557
+
558
+ methodDescriptorOptions = new grpcWeb.MethodDescriptor(
559
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Options',
560
+ grpcWeb.MethodType.UNARY,
561
+ tinvest_instruments_pb.InstrumentsRequest,
562
+ tinvest_instruments_pb.OptionsResponse,
563
+ (request: tinvest_instruments_pb.InstrumentsRequest) => {
564
+ return request.serializeBinary();
565
+ },
566
+ tinvest_instruments_pb.OptionsResponse.deserializeBinary
567
+ );
568
+
569
+ options(
570
+ request: tinvest_instruments_pb.InstrumentsRequest,
571
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.OptionsResponse>;
572
+
573
+ options(
574
+ request: tinvest_instruments_pb.InstrumentsRequest,
575
+ metadata: grpcWeb.Metadata | null,
576
+ callback: (err: grpcWeb.RpcError,
577
+ response: tinvest_instruments_pb.OptionsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.OptionsResponse>;
578
+
579
+ options(
580
+ request: tinvest_instruments_pb.InstrumentsRequest,
581
+ metadata?: grpcWeb.Metadata | null,
582
+ callback?: (err: grpcWeb.RpcError,
583
+ response: tinvest_instruments_pb.OptionsResponse) => void) {
584
+ if (callback !== undefined) {
585
+ return this.client_.rpcCall(
586
+ this.hostname_ +
587
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Options',
588
+ request,
589
+ metadata || {},
590
+ this.methodDescriptorOptions,
591
+ callback);
592
+ }
593
+ return this.client_.unaryCall(
594
+ this.hostname_ +
595
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Options',
596
+ request,
597
+ metadata || {},
598
+ this.methodDescriptorOptions);
599
+ }
600
+
601
+ methodDescriptorOptionsBy = new grpcWeb.MethodDescriptor(
602
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/OptionsBy',
603
+ grpcWeb.MethodType.UNARY,
604
+ tinvest_instruments_pb.FilterOptionsRequest,
605
+ tinvest_instruments_pb.OptionsResponse,
606
+ (request: tinvest_instruments_pb.FilterOptionsRequest) => {
607
+ return request.serializeBinary();
608
+ },
609
+ tinvest_instruments_pb.OptionsResponse.deserializeBinary
610
+ );
611
+
612
+ optionsBy(
613
+ request: tinvest_instruments_pb.FilterOptionsRequest,
614
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.OptionsResponse>;
615
+
616
+ optionsBy(
617
+ request: tinvest_instruments_pb.FilterOptionsRequest,
618
+ metadata: grpcWeb.Metadata | null,
619
+ callback: (err: grpcWeb.RpcError,
620
+ response: tinvest_instruments_pb.OptionsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.OptionsResponse>;
621
+
622
+ optionsBy(
623
+ request: tinvest_instruments_pb.FilterOptionsRequest,
624
+ metadata?: grpcWeb.Metadata | null,
625
+ callback?: (err: grpcWeb.RpcError,
626
+ response: tinvest_instruments_pb.OptionsResponse) => void) {
627
+ if (callback !== undefined) {
628
+ return this.client_.rpcCall(
629
+ this.hostname_ +
630
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/OptionsBy',
631
+ request,
632
+ metadata || {},
633
+ this.methodDescriptorOptionsBy,
634
+ callback);
635
+ }
636
+ return this.client_.unaryCall(
637
+ this.hostname_ +
638
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/OptionsBy',
639
+ request,
640
+ metadata || {},
641
+ this.methodDescriptorOptionsBy);
642
+ }
643
+
644
+ methodDescriptorShareBy = new grpcWeb.MethodDescriptor(
645
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/ShareBy',
646
+ grpcWeb.MethodType.UNARY,
647
+ tinvest_instruments_pb.InstrumentRequest,
648
+ tinvest_instruments_pb.ShareResponse,
649
+ (request: tinvest_instruments_pb.InstrumentRequest) => {
650
+ return request.serializeBinary();
651
+ },
652
+ tinvest_instruments_pb.ShareResponse.deserializeBinary
653
+ );
654
+
655
+ shareBy(
656
+ request: tinvest_instruments_pb.InstrumentRequest,
657
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.ShareResponse>;
658
+
659
+ shareBy(
660
+ request: tinvest_instruments_pb.InstrumentRequest,
661
+ metadata: grpcWeb.Metadata | null,
662
+ callback: (err: grpcWeb.RpcError,
663
+ response: tinvest_instruments_pb.ShareResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.ShareResponse>;
664
+
665
+ shareBy(
666
+ request: tinvest_instruments_pb.InstrumentRequest,
667
+ metadata?: grpcWeb.Metadata | null,
668
+ callback?: (err: grpcWeb.RpcError,
669
+ response: tinvest_instruments_pb.ShareResponse) => void) {
670
+ if (callback !== undefined) {
671
+ return this.client_.rpcCall(
672
+ this.hostname_ +
673
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/ShareBy',
674
+ request,
675
+ metadata || {},
676
+ this.methodDescriptorShareBy,
677
+ callback);
678
+ }
679
+ return this.client_.unaryCall(
680
+ this.hostname_ +
681
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/ShareBy',
682
+ request,
683
+ metadata || {},
684
+ this.methodDescriptorShareBy);
685
+ }
686
+
687
+ methodDescriptorShares = new grpcWeb.MethodDescriptor(
688
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Shares',
689
+ grpcWeb.MethodType.UNARY,
690
+ tinvest_instruments_pb.InstrumentsRequest,
691
+ tinvest_instruments_pb.SharesResponse,
692
+ (request: tinvest_instruments_pb.InstrumentsRequest) => {
693
+ return request.serializeBinary();
694
+ },
695
+ tinvest_instruments_pb.SharesResponse.deserializeBinary
696
+ );
697
+
698
+ shares(
699
+ request: tinvest_instruments_pb.InstrumentsRequest,
700
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.SharesResponse>;
701
+
702
+ shares(
703
+ request: tinvest_instruments_pb.InstrumentsRequest,
704
+ metadata: grpcWeb.Metadata | null,
705
+ callback: (err: grpcWeb.RpcError,
706
+ response: tinvest_instruments_pb.SharesResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.SharesResponse>;
707
+
708
+ shares(
709
+ request: tinvest_instruments_pb.InstrumentsRequest,
710
+ metadata?: grpcWeb.Metadata | null,
711
+ callback?: (err: grpcWeb.RpcError,
712
+ response: tinvest_instruments_pb.SharesResponse) => void) {
713
+ if (callback !== undefined) {
714
+ return this.client_.rpcCall(
715
+ this.hostname_ +
716
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Shares',
717
+ request,
718
+ metadata || {},
719
+ this.methodDescriptorShares,
720
+ callback);
721
+ }
722
+ return this.client_.unaryCall(
723
+ this.hostname_ +
724
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Shares',
725
+ request,
726
+ metadata || {},
727
+ this.methodDescriptorShares);
728
+ }
729
+
730
+ methodDescriptorDfaBy = new grpcWeb.MethodDescriptor(
731
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/DfaBy',
732
+ grpcWeb.MethodType.UNARY,
733
+ tinvest_instruments_pb.InstrumentRequest,
734
+ tinvest_instruments_pb.DfaResponse,
735
+ (request: tinvest_instruments_pb.InstrumentRequest) => {
736
+ return request.serializeBinary();
737
+ },
738
+ tinvest_instruments_pb.DfaResponse.deserializeBinary
739
+ );
740
+
741
+ dfaBy(
742
+ request: tinvest_instruments_pb.InstrumentRequest,
743
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.DfaResponse>;
744
+
745
+ dfaBy(
746
+ request: tinvest_instruments_pb.InstrumentRequest,
747
+ metadata: grpcWeb.Metadata | null,
748
+ callback: (err: grpcWeb.RpcError,
749
+ response: tinvest_instruments_pb.DfaResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.DfaResponse>;
750
+
751
+ dfaBy(
752
+ request: tinvest_instruments_pb.InstrumentRequest,
753
+ metadata?: grpcWeb.Metadata | null,
754
+ callback?: (err: grpcWeb.RpcError,
755
+ response: tinvest_instruments_pb.DfaResponse) => void) {
756
+ if (callback !== undefined) {
757
+ return this.client_.rpcCall(
758
+ this.hostname_ +
759
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/DfaBy',
760
+ request,
761
+ metadata || {},
762
+ this.methodDescriptorDfaBy,
763
+ callback);
764
+ }
765
+ return this.client_.unaryCall(
766
+ this.hostname_ +
767
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/DfaBy',
768
+ request,
769
+ metadata || {},
770
+ this.methodDescriptorDfaBy);
771
+ }
772
+
773
+ methodDescriptorDfas = new grpcWeb.MethodDescriptor(
774
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Dfas',
775
+ grpcWeb.MethodType.UNARY,
776
+ tinvest_instruments_pb.DfasRequest,
777
+ tinvest_instruments_pb.DfasResponse,
778
+ (request: tinvest_instruments_pb.DfasRequest) => {
779
+ return request.serializeBinary();
780
+ },
781
+ tinvest_instruments_pb.DfasResponse.deserializeBinary
782
+ );
783
+
784
+ dfas(
785
+ request: tinvest_instruments_pb.DfasRequest,
786
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.DfasResponse>;
787
+
788
+ dfas(
789
+ request: tinvest_instruments_pb.DfasRequest,
790
+ metadata: grpcWeb.Metadata | null,
791
+ callback: (err: grpcWeb.RpcError,
792
+ response: tinvest_instruments_pb.DfasResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.DfasResponse>;
793
+
794
+ dfas(
795
+ request: tinvest_instruments_pb.DfasRequest,
796
+ metadata?: grpcWeb.Metadata | null,
797
+ callback?: (err: grpcWeb.RpcError,
798
+ response: tinvest_instruments_pb.DfasResponse) => void) {
799
+ if (callback !== undefined) {
800
+ return this.client_.rpcCall(
801
+ this.hostname_ +
802
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Dfas',
803
+ request,
804
+ metadata || {},
805
+ this.methodDescriptorDfas,
806
+ callback);
807
+ }
808
+ return this.client_.unaryCall(
809
+ this.hostname_ +
810
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Dfas',
811
+ request,
812
+ metadata || {},
813
+ this.methodDescriptorDfas);
814
+ }
815
+
816
+ methodDescriptorIndicatives = new grpcWeb.MethodDescriptor(
817
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Indicatives',
818
+ grpcWeb.MethodType.UNARY,
819
+ tinvest_instruments_pb.IndicativesRequest,
820
+ tinvest_instruments_pb.IndicativesResponse,
821
+ (request: tinvest_instruments_pb.IndicativesRequest) => {
822
+ return request.serializeBinary();
823
+ },
824
+ tinvest_instruments_pb.IndicativesResponse.deserializeBinary
825
+ );
826
+
827
+ indicatives(
828
+ request: tinvest_instruments_pb.IndicativesRequest,
829
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.IndicativesResponse>;
830
+
831
+ indicatives(
832
+ request: tinvest_instruments_pb.IndicativesRequest,
833
+ metadata: grpcWeb.Metadata | null,
834
+ callback: (err: grpcWeb.RpcError,
835
+ response: tinvest_instruments_pb.IndicativesResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.IndicativesResponse>;
836
+
837
+ indicatives(
838
+ request: tinvest_instruments_pb.IndicativesRequest,
839
+ metadata?: grpcWeb.Metadata | null,
840
+ callback?: (err: grpcWeb.RpcError,
841
+ response: tinvest_instruments_pb.IndicativesResponse) => void) {
842
+ if (callback !== undefined) {
843
+ return this.client_.rpcCall(
844
+ this.hostname_ +
845
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Indicatives',
846
+ request,
847
+ metadata || {},
848
+ this.methodDescriptorIndicatives,
849
+ callback);
850
+ }
851
+ return this.client_.unaryCall(
852
+ this.hostname_ +
853
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/Indicatives',
854
+ request,
855
+ metadata || {},
856
+ this.methodDescriptorIndicatives);
857
+ }
858
+
859
+ methodDescriptorGetAccruedInterests = new grpcWeb.MethodDescriptor(
860
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAccruedInterests',
861
+ grpcWeb.MethodType.UNARY,
862
+ tinvest_instruments_pb.GetAccruedInterestsRequest,
863
+ tinvest_instruments_pb.GetAccruedInterestsResponse,
864
+ (request: tinvest_instruments_pb.GetAccruedInterestsRequest) => {
865
+ return request.serializeBinary();
866
+ },
867
+ tinvest_instruments_pb.GetAccruedInterestsResponse.deserializeBinary
868
+ );
869
+
870
+ getAccruedInterests(
871
+ request: tinvest_instruments_pb.GetAccruedInterestsRequest,
872
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetAccruedInterestsResponse>;
873
+
874
+ getAccruedInterests(
875
+ request: tinvest_instruments_pb.GetAccruedInterestsRequest,
876
+ metadata: grpcWeb.Metadata | null,
877
+ callback: (err: grpcWeb.RpcError,
878
+ response: tinvest_instruments_pb.GetAccruedInterestsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetAccruedInterestsResponse>;
879
+
880
+ getAccruedInterests(
881
+ request: tinvest_instruments_pb.GetAccruedInterestsRequest,
882
+ metadata?: grpcWeb.Metadata | null,
883
+ callback?: (err: grpcWeb.RpcError,
884
+ response: tinvest_instruments_pb.GetAccruedInterestsResponse) => void) {
885
+ if (callback !== undefined) {
886
+ return this.client_.rpcCall(
887
+ this.hostname_ +
888
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAccruedInterests',
889
+ request,
890
+ metadata || {},
891
+ this.methodDescriptorGetAccruedInterests,
892
+ callback);
893
+ }
894
+ return this.client_.unaryCall(
895
+ this.hostname_ +
896
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAccruedInterests',
897
+ request,
898
+ metadata || {},
899
+ this.methodDescriptorGetAccruedInterests);
900
+ }
901
+
902
+ methodDescriptorGetFuturesMargin = new grpcWeb.MethodDescriptor(
903
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFuturesMargin',
904
+ grpcWeb.MethodType.UNARY,
905
+ tinvest_instruments_pb.GetFuturesMarginRequest,
906
+ tinvest_instruments_pb.GetFuturesMarginResponse,
907
+ (request: tinvest_instruments_pb.GetFuturesMarginRequest) => {
908
+ return request.serializeBinary();
909
+ },
910
+ tinvest_instruments_pb.GetFuturesMarginResponse.deserializeBinary
911
+ );
912
+
913
+ getFuturesMargin(
914
+ request: tinvest_instruments_pb.GetFuturesMarginRequest,
915
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetFuturesMarginResponse>;
916
+
917
+ getFuturesMargin(
918
+ request: tinvest_instruments_pb.GetFuturesMarginRequest,
919
+ metadata: grpcWeb.Metadata | null,
920
+ callback: (err: grpcWeb.RpcError,
921
+ response: tinvest_instruments_pb.GetFuturesMarginResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetFuturesMarginResponse>;
922
+
923
+ getFuturesMargin(
924
+ request: tinvest_instruments_pb.GetFuturesMarginRequest,
925
+ metadata?: grpcWeb.Metadata | null,
926
+ callback?: (err: grpcWeb.RpcError,
927
+ response: tinvest_instruments_pb.GetFuturesMarginResponse) => void) {
928
+ if (callback !== undefined) {
929
+ return this.client_.rpcCall(
930
+ this.hostname_ +
931
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFuturesMargin',
932
+ request,
933
+ metadata || {},
934
+ this.methodDescriptorGetFuturesMargin,
935
+ callback);
936
+ }
937
+ return this.client_.unaryCall(
938
+ this.hostname_ +
939
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFuturesMargin',
940
+ request,
941
+ metadata || {},
942
+ this.methodDescriptorGetFuturesMargin);
943
+ }
944
+
945
+ methodDescriptorGetInstrumentBy = new grpcWeb.MethodDescriptor(
946
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetInstrumentBy',
947
+ grpcWeb.MethodType.UNARY,
948
+ tinvest_instruments_pb.InstrumentRequest,
949
+ tinvest_instruments_pb.InstrumentResponse,
950
+ (request: tinvest_instruments_pb.InstrumentRequest) => {
951
+ return request.serializeBinary();
952
+ },
953
+ tinvest_instruments_pb.InstrumentResponse.deserializeBinary
954
+ );
955
+
956
+ getInstrumentBy(
957
+ request: tinvest_instruments_pb.InstrumentRequest,
958
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.InstrumentResponse>;
959
+
960
+ getInstrumentBy(
961
+ request: tinvest_instruments_pb.InstrumentRequest,
962
+ metadata: grpcWeb.Metadata | null,
963
+ callback: (err: grpcWeb.RpcError,
964
+ response: tinvest_instruments_pb.InstrumentResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.InstrumentResponse>;
965
+
966
+ getInstrumentBy(
967
+ request: tinvest_instruments_pb.InstrumentRequest,
968
+ metadata?: grpcWeb.Metadata | null,
969
+ callback?: (err: grpcWeb.RpcError,
970
+ response: tinvest_instruments_pb.InstrumentResponse) => void) {
971
+ if (callback !== undefined) {
972
+ return this.client_.rpcCall(
973
+ this.hostname_ +
974
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetInstrumentBy',
975
+ request,
976
+ metadata || {},
977
+ this.methodDescriptorGetInstrumentBy,
978
+ callback);
979
+ }
980
+ return this.client_.unaryCall(
981
+ this.hostname_ +
982
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetInstrumentBy',
983
+ request,
984
+ metadata || {},
985
+ this.methodDescriptorGetInstrumentBy);
986
+ }
987
+
988
+ methodDescriptorGetDividends = new grpcWeb.MethodDescriptor(
989
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetDividends',
990
+ grpcWeb.MethodType.UNARY,
991
+ tinvest_instruments_pb.GetDividendsRequest,
992
+ tinvest_instruments_pb.GetDividendsResponse,
993
+ (request: tinvest_instruments_pb.GetDividendsRequest) => {
994
+ return request.serializeBinary();
995
+ },
996
+ tinvest_instruments_pb.GetDividendsResponse.deserializeBinary
997
+ );
998
+
999
+ getDividends(
1000
+ request: tinvest_instruments_pb.GetDividendsRequest,
1001
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetDividendsResponse>;
1002
+
1003
+ getDividends(
1004
+ request: tinvest_instruments_pb.GetDividendsRequest,
1005
+ metadata: grpcWeb.Metadata | null,
1006
+ callback: (err: grpcWeb.RpcError,
1007
+ response: tinvest_instruments_pb.GetDividendsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetDividendsResponse>;
1008
+
1009
+ getDividends(
1010
+ request: tinvest_instruments_pb.GetDividendsRequest,
1011
+ metadata?: grpcWeb.Metadata | null,
1012
+ callback?: (err: grpcWeb.RpcError,
1013
+ response: tinvest_instruments_pb.GetDividendsResponse) => void) {
1014
+ if (callback !== undefined) {
1015
+ return this.client_.rpcCall(
1016
+ this.hostname_ +
1017
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetDividends',
1018
+ request,
1019
+ metadata || {},
1020
+ this.methodDescriptorGetDividends,
1021
+ callback);
1022
+ }
1023
+ return this.client_.unaryCall(
1024
+ this.hostname_ +
1025
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetDividends',
1026
+ request,
1027
+ metadata || {},
1028
+ this.methodDescriptorGetDividends);
1029
+ }
1030
+
1031
+ methodDescriptorGetAssetBy = new grpcWeb.MethodDescriptor(
1032
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetBy',
1033
+ grpcWeb.MethodType.UNARY,
1034
+ tinvest_instruments_pb.AssetRequest,
1035
+ tinvest_instruments_pb.AssetResponse,
1036
+ (request: tinvest_instruments_pb.AssetRequest) => {
1037
+ return request.serializeBinary();
1038
+ },
1039
+ tinvest_instruments_pb.AssetResponse.deserializeBinary
1040
+ );
1041
+
1042
+ getAssetBy(
1043
+ request: tinvest_instruments_pb.AssetRequest,
1044
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.AssetResponse>;
1045
+
1046
+ getAssetBy(
1047
+ request: tinvest_instruments_pb.AssetRequest,
1048
+ metadata: grpcWeb.Metadata | null,
1049
+ callback: (err: grpcWeb.RpcError,
1050
+ response: tinvest_instruments_pb.AssetResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.AssetResponse>;
1051
+
1052
+ getAssetBy(
1053
+ request: tinvest_instruments_pb.AssetRequest,
1054
+ metadata?: grpcWeb.Metadata | null,
1055
+ callback?: (err: grpcWeb.RpcError,
1056
+ response: tinvest_instruments_pb.AssetResponse) => void) {
1057
+ if (callback !== undefined) {
1058
+ return this.client_.rpcCall(
1059
+ this.hostname_ +
1060
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetBy',
1061
+ request,
1062
+ metadata || {},
1063
+ this.methodDescriptorGetAssetBy,
1064
+ callback);
1065
+ }
1066
+ return this.client_.unaryCall(
1067
+ this.hostname_ +
1068
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetBy',
1069
+ request,
1070
+ metadata || {},
1071
+ this.methodDescriptorGetAssetBy);
1072
+ }
1073
+
1074
+ methodDescriptorGetAssets = new grpcWeb.MethodDescriptor(
1075
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssets',
1076
+ grpcWeb.MethodType.UNARY,
1077
+ tinvest_instruments_pb.AssetsRequest,
1078
+ tinvest_instruments_pb.AssetsResponse,
1079
+ (request: tinvest_instruments_pb.AssetsRequest) => {
1080
+ return request.serializeBinary();
1081
+ },
1082
+ tinvest_instruments_pb.AssetsResponse.deserializeBinary
1083
+ );
1084
+
1085
+ getAssets(
1086
+ request: tinvest_instruments_pb.AssetsRequest,
1087
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.AssetsResponse>;
1088
+
1089
+ getAssets(
1090
+ request: tinvest_instruments_pb.AssetsRequest,
1091
+ metadata: grpcWeb.Metadata | null,
1092
+ callback: (err: grpcWeb.RpcError,
1093
+ response: tinvest_instruments_pb.AssetsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.AssetsResponse>;
1094
+
1095
+ getAssets(
1096
+ request: tinvest_instruments_pb.AssetsRequest,
1097
+ metadata?: grpcWeb.Metadata | null,
1098
+ callback?: (err: grpcWeb.RpcError,
1099
+ response: tinvest_instruments_pb.AssetsResponse) => void) {
1100
+ if (callback !== undefined) {
1101
+ return this.client_.rpcCall(
1102
+ this.hostname_ +
1103
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssets',
1104
+ request,
1105
+ metadata || {},
1106
+ this.methodDescriptorGetAssets,
1107
+ callback);
1108
+ }
1109
+ return this.client_.unaryCall(
1110
+ this.hostname_ +
1111
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssets',
1112
+ request,
1113
+ metadata || {},
1114
+ this.methodDescriptorGetAssets);
1115
+ }
1116
+
1117
+ methodDescriptorGetFavorites = new grpcWeb.MethodDescriptor(
1118
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFavorites',
1119
+ grpcWeb.MethodType.UNARY,
1120
+ tinvest_instruments_pb.GetFavoritesRequest,
1121
+ tinvest_instruments_pb.GetFavoritesResponse,
1122
+ (request: tinvest_instruments_pb.GetFavoritesRequest) => {
1123
+ return request.serializeBinary();
1124
+ },
1125
+ tinvest_instruments_pb.GetFavoritesResponse.deserializeBinary
1126
+ );
1127
+
1128
+ getFavorites(
1129
+ request: tinvest_instruments_pb.GetFavoritesRequest,
1130
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetFavoritesResponse>;
1131
+
1132
+ getFavorites(
1133
+ request: tinvest_instruments_pb.GetFavoritesRequest,
1134
+ metadata: grpcWeb.Metadata | null,
1135
+ callback: (err: grpcWeb.RpcError,
1136
+ response: tinvest_instruments_pb.GetFavoritesResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetFavoritesResponse>;
1137
+
1138
+ getFavorites(
1139
+ request: tinvest_instruments_pb.GetFavoritesRequest,
1140
+ metadata?: grpcWeb.Metadata | null,
1141
+ callback?: (err: grpcWeb.RpcError,
1142
+ response: tinvest_instruments_pb.GetFavoritesResponse) => void) {
1143
+ if (callback !== undefined) {
1144
+ return this.client_.rpcCall(
1145
+ this.hostname_ +
1146
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFavorites',
1147
+ request,
1148
+ metadata || {},
1149
+ this.methodDescriptorGetFavorites,
1150
+ callback);
1151
+ }
1152
+ return this.client_.unaryCall(
1153
+ this.hostname_ +
1154
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFavorites',
1155
+ request,
1156
+ metadata || {},
1157
+ this.methodDescriptorGetFavorites);
1158
+ }
1159
+
1160
+ methodDescriptorEditFavorites = new grpcWeb.MethodDescriptor(
1161
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/EditFavorites',
1162
+ grpcWeb.MethodType.UNARY,
1163
+ tinvest_instruments_pb.EditFavoritesRequest,
1164
+ tinvest_instruments_pb.EditFavoritesResponse,
1165
+ (request: tinvest_instruments_pb.EditFavoritesRequest) => {
1166
+ return request.serializeBinary();
1167
+ },
1168
+ tinvest_instruments_pb.EditFavoritesResponse.deserializeBinary
1169
+ );
1170
+
1171
+ editFavorites(
1172
+ request: tinvest_instruments_pb.EditFavoritesRequest,
1173
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.EditFavoritesResponse>;
1174
+
1175
+ editFavorites(
1176
+ request: tinvest_instruments_pb.EditFavoritesRequest,
1177
+ metadata: grpcWeb.Metadata | null,
1178
+ callback: (err: grpcWeb.RpcError,
1179
+ response: tinvest_instruments_pb.EditFavoritesResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.EditFavoritesResponse>;
1180
+
1181
+ editFavorites(
1182
+ request: tinvest_instruments_pb.EditFavoritesRequest,
1183
+ metadata?: grpcWeb.Metadata | null,
1184
+ callback?: (err: grpcWeb.RpcError,
1185
+ response: tinvest_instruments_pb.EditFavoritesResponse) => void) {
1186
+ if (callback !== undefined) {
1187
+ return this.client_.rpcCall(
1188
+ this.hostname_ +
1189
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/EditFavorites',
1190
+ request,
1191
+ metadata || {},
1192
+ this.methodDescriptorEditFavorites,
1193
+ callback);
1194
+ }
1195
+ return this.client_.unaryCall(
1196
+ this.hostname_ +
1197
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/EditFavorites',
1198
+ request,
1199
+ metadata || {},
1200
+ this.methodDescriptorEditFavorites);
1201
+ }
1202
+
1203
+ methodDescriptorCreateFavoriteGroup = new grpcWeb.MethodDescriptor(
1204
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/CreateFavoriteGroup',
1205
+ grpcWeb.MethodType.UNARY,
1206
+ tinvest_instruments_pb.CreateFavoriteGroupRequest,
1207
+ tinvest_instruments_pb.CreateFavoriteGroupResponse,
1208
+ (request: tinvest_instruments_pb.CreateFavoriteGroupRequest) => {
1209
+ return request.serializeBinary();
1210
+ },
1211
+ tinvest_instruments_pb.CreateFavoriteGroupResponse.deserializeBinary
1212
+ );
1213
+
1214
+ createFavoriteGroup(
1215
+ request: tinvest_instruments_pb.CreateFavoriteGroupRequest,
1216
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.CreateFavoriteGroupResponse>;
1217
+
1218
+ createFavoriteGroup(
1219
+ request: tinvest_instruments_pb.CreateFavoriteGroupRequest,
1220
+ metadata: grpcWeb.Metadata | null,
1221
+ callback: (err: grpcWeb.RpcError,
1222
+ response: tinvest_instruments_pb.CreateFavoriteGroupResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.CreateFavoriteGroupResponse>;
1223
+
1224
+ createFavoriteGroup(
1225
+ request: tinvest_instruments_pb.CreateFavoriteGroupRequest,
1226
+ metadata?: grpcWeb.Metadata | null,
1227
+ callback?: (err: grpcWeb.RpcError,
1228
+ response: tinvest_instruments_pb.CreateFavoriteGroupResponse) => void) {
1229
+ if (callback !== undefined) {
1230
+ return this.client_.rpcCall(
1231
+ this.hostname_ +
1232
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/CreateFavoriteGroup',
1233
+ request,
1234
+ metadata || {},
1235
+ this.methodDescriptorCreateFavoriteGroup,
1236
+ callback);
1237
+ }
1238
+ return this.client_.unaryCall(
1239
+ this.hostname_ +
1240
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/CreateFavoriteGroup',
1241
+ request,
1242
+ metadata || {},
1243
+ this.methodDescriptorCreateFavoriteGroup);
1244
+ }
1245
+
1246
+ methodDescriptorDeleteFavoriteGroup = new grpcWeb.MethodDescriptor(
1247
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/DeleteFavoriteGroup',
1248
+ grpcWeb.MethodType.UNARY,
1249
+ tinvest_instruments_pb.DeleteFavoriteGroupRequest,
1250
+ tinvest_instruments_pb.DeleteFavoriteGroupResponse,
1251
+ (request: tinvest_instruments_pb.DeleteFavoriteGroupRequest) => {
1252
+ return request.serializeBinary();
1253
+ },
1254
+ tinvest_instruments_pb.DeleteFavoriteGroupResponse.deserializeBinary
1255
+ );
1256
+
1257
+ deleteFavoriteGroup(
1258
+ request: tinvest_instruments_pb.DeleteFavoriteGroupRequest,
1259
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.DeleteFavoriteGroupResponse>;
1260
+
1261
+ deleteFavoriteGroup(
1262
+ request: tinvest_instruments_pb.DeleteFavoriteGroupRequest,
1263
+ metadata: grpcWeb.Metadata | null,
1264
+ callback: (err: grpcWeb.RpcError,
1265
+ response: tinvest_instruments_pb.DeleteFavoriteGroupResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.DeleteFavoriteGroupResponse>;
1266
+
1267
+ deleteFavoriteGroup(
1268
+ request: tinvest_instruments_pb.DeleteFavoriteGroupRequest,
1269
+ metadata?: grpcWeb.Metadata | null,
1270
+ callback?: (err: grpcWeb.RpcError,
1271
+ response: tinvest_instruments_pb.DeleteFavoriteGroupResponse) => void) {
1272
+ if (callback !== undefined) {
1273
+ return this.client_.rpcCall(
1274
+ this.hostname_ +
1275
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/DeleteFavoriteGroup',
1276
+ request,
1277
+ metadata || {},
1278
+ this.methodDescriptorDeleteFavoriteGroup,
1279
+ callback);
1280
+ }
1281
+ return this.client_.unaryCall(
1282
+ this.hostname_ +
1283
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/DeleteFavoriteGroup',
1284
+ request,
1285
+ metadata || {},
1286
+ this.methodDescriptorDeleteFavoriteGroup);
1287
+ }
1288
+
1289
+ methodDescriptorGetFavoriteGroups = new grpcWeb.MethodDescriptor(
1290
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFavoriteGroups',
1291
+ grpcWeb.MethodType.UNARY,
1292
+ tinvest_instruments_pb.GetFavoriteGroupsRequest,
1293
+ tinvest_instruments_pb.GetFavoriteGroupsResponse,
1294
+ (request: tinvest_instruments_pb.GetFavoriteGroupsRequest) => {
1295
+ return request.serializeBinary();
1296
+ },
1297
+ tinvest_instruments_pb.GetFavoriteGroupsResponse.deserializeBinary
1298
+ );
1299
+
1300
+ getFavoriteGroups(
1301
+ request: tinvest_instruments_pb.GetFavoriteGroupsRequest,
1302
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetFavoriteGroupsResponse>;
1303
+
1304
+ getFavoriteGroups(
1305
+ request: tinvest_instruments_pb.GetFavoriteGroupsRequest,
1306
+ metadata: grpcWeb.Metadata | null,
1307
+ callback: (err: grpcWeb.RpcError,
1308
+ response: tinvest_instruments_pb.GetFavoriteGroupsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetFavoriteGroupsResponse>;
1309
+
1310
+ getFavoriteGroups(
1311
+ request: tinvest_instruments_pb.GetFavoriteGroupsRequest,
1312
+ metadata?: grpcWeb.Metadata | null,
1313
+ callback?: (err: grpcWeb.RpcError,
1314
+ response: tinvest_instruments_pb.GetFavoriteGroupsResponse) => void) {
1315
+ if (callback !== undefined) {
1316
+ return this.client_.rpcCall(
1317
+ this.hostname_ +
1318
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFavoriteGroups',
1319
+ request,
1320
+ metadata || {},
1321
+ this.methodDescriptorGetFavoriteGroups,
1322
+ callback);
1323
+ }
1324
+ return this.client_.unaryCall(
1325
+ this.hostname_ +
1326
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFavoriteGroups',
1327
+ request,
1328
+ metadata || {},
1329
+ this.methodDescriptorGetFavoriteGroups);
1330
+ }
1331
+
1332
+ methodDescriptorGetCountries = new grpcWeb.MethodDescriptor(
1333
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetCountries',
1334
+ grpcWeb.MethodType.UNARY,
1335
+ tinvest_instruments_pb.GetCountriesRequest,
1336
+ tinvest_instruments_pb.GetCountriesResponse,
1337
+ (request: tinvest_instruments_pb.GetCountriesRequest) => {
1338
+ return request.serializeBinary();
1339
+ },
1340
+ tinvest_instruments_pb.GetCountriesResponse.deserializeBinary
1341
+ );
1342
+
1343
+ getCountries(
1344
+ request: tinvest_instruments_pb.GetCountriesRequest,
1345
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetCountriesResponse>;
1346
+
1347
+ getCountries(
1348
+ request: tinvest_instruments_pb.GetCountriesRequest,
1349
+ metadata: grpcWeb.Metadata | null,
1350
+ callback: (err: grpcWeb.RpcError,
1351
+ response: tinvest_instruments_pb.GetCountriesResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetCountriesResponse>;
1352
+
1353
+ getCountries(
1354
+ request: tinvest_instruments_pb.GetCountriesRequest,
1355
+ metadata?: grpcWeb.Metadata | null,
1356
+ callback?: (err: grpcWeb.RpcError,
1357
+ response: tinvest_instruments_pb.GetCountriesResponse) => void) {
1358
+ if (callback !== undefined) {
1359
+ return this.client_.rpcCall(
1360
+ this.hostname_ +
1361
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetCountries',
1362
+ request,
1363
+ metadata || {},
1364
+ this.methodDescriptorGetCountries,
1365
+ callback);
1366
+ }
1367
+ return this.client_.unaryCall(
1368
+ this.hostname_ +
1369
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetCountries',
1370
+ request,
1371
+ metadata || {},
1372
+ this.methodDescriptorGetCountries);
1373
+ }
1374
+
1375
+ methodDescriptorFindInstrument = new grpcWeb.MethodDescriptor(
1376
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/FindInstrument',
1377
+ grpcWeb.MethodType.UNARY,
1378
+ tinvest_instruments_pb.FindInstrumentRequest,
1379
+ tinvest_instruments_pb.FindInstrumentResponse,
1380
+ (request: tinvest_instruments_pb.FindInstrumentRequest) => {
1381
+ return request.serializeBinary();
1382
+ },
1383
+ tinvest_instruments_pb.FindInstrumentResponse.deserializeBinary
1384
+ );
1385
+
1386
+ findInstrument(
1387
+ request: tinvest_instruments_pb.FindInstrumentRequest,
1388
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.FindInstrumentResponse>;
1389
+
1390
+ findInstrument(
1391
+ request: tinvest_instruments_pb.FindInstrumentRequest,
1392
+ metadata: grpcWeb.Metadata | null,
1393
+ callback: (err: grpcWeb.RpcError,
1394
+ response: tinvest_instruments_pb.FindInstrumentResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.FindInstrumentResponse>;
1395
+
1396
+ findInstrument(
1397
+ request: tinvest_instruments_pb.FindInstrumentRequest,
1398
+ metadata?: grpcWeb.Metadata | null,
1399
+ callback?: (err: grpcWeb.RpcError,
1400
+ response: tinvest_instruments_pb.FindInstrumentResponse) => void) {
1401
+ if (callback !== undefined) {
1402
+ return this.client_.rpcCall(
1403
+ this.hostname_ +
1404
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/FindInstrument',
1405
+ request,
1406
+ metadata || {},
1407
+ this.methodDescriptorFindInstrument,
1408
+ callback);
1409
+ }
1410
+ return this.client_.unaryCall(
1411
+ this.hostname_ +
1412
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/FindInstrument',
1413
+ request,
1414
+ metadata || {},
1415
+ this.methodDescriptorFindInstrument);
1416
+ }
1417
+
1418
+ methodDescriptorGetBrands = new grpcWeb.MethodDescriptor(
1419
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBrands',
1420
+ grpcWeb.MethodType.UNARY,
1421
+ tinvest_instruments_pb.GetBrandsRequest,
1422
+ tinvest_instruments_pb.GetBrandsResponse,
1423
+ (request: tinvest_instruments_pb.GetBrandsRequest) => {
1424
+ return request.serializeBinary();
1425
+ },
1426
+ tinvest_instruments_pb.GetBrandsResponse.deserializeBinary
1427
+ );
1428
+
1429
+ getBrands(
1430
+ request: tinvest_instruments_pb.GetBrandsRequest,
1431
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetBrandsResponse>;
1432
+
1433
+ getBrands(
1434
+ request: tinvest_instruments_pb.GetBrandsRequest,
1435
+ metadata: grpcWeb.Metadata | null,
1436
+ callback: (err: grpcWeb.RpcError,
1437
+ response: tinvest_instruments_pb.GetBrandsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetBrandsResponse>;
1438
+
1439
+ getBrands(
1440
+ request: tinvest_instruments_pb.GetBrandsRequest,
1441
+ metadata?: grpcWeb.Metadata | null,
1442
+ callback?: (err: grpcWeb.RpcError,
1443
+ response: tinvest_instruments_pb.GetBrandsResponse) => void) {
1444
+ if (callback !== undefined) {
1445
+ return this.client_.rpcCall(
1446
+ this.hostname_ +
1447
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBrands',
1448
+ request,
1449
+ metadata || {},
1450
+ this.methodDescriptorGetBrands,
1451
+ callback);
1452
+ }
1453
+ return this.client_.unaryCall(
1454
+ this.hostname_ +
1455
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBrands',
1456
+ request,
1457
+ metadata || {},
1458
+ this.methodDescriptorGetBrands);
1459
+ }
1460
+
1461
+ methodDescriptorGetBrandBy = new grpcWeb.MethodDescriptor(
1462
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBrandBy',
1463
+ grpcWeb.MethodType.UNARY,
1464
+ tinvest_instruments_pb.GetBrandRequest,
1465
+ tinvest_instruments_pb.Brand,
1466
+ (request: tinvest_instruments_pb.GetBrandRequest) => {
1467
+ return request.serializeBinary();
1468
+ },
1469
+ tinvest_instruments_pb.Brand.deserializeBinary
1470
+ );
1471
+
1472
+ getBrandBy(
1473
+ request: tinvest_instruments_pb.GetBrandRequest,
1474
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.Brand>;
1475
+
1476
+ getBrandBy(
1477
+ request: tinvest_instruments_pb.GetBrandRequest,
1478
+ metadata: grpcWeb.Metadata | null,
1479
+ callback: (err: grpcWeb.RpcError,
1480
+ response: tinvest_instruments_pb.Brand) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.Brand>;
1481
+
1482
+ getBrandBy(
1483
+ request: tinvest_instruments_pb.GetBrandRequest,
1484
+ metadata?: grpcWeb.Metadata | null,
1485
+ callback?: (err: grpcWeb.RpcError,
1486
+ response: tinvest_instruments_pb.Brand) => void) {
1487
+ if (callback !== undefined) {
1488
+ return this.client_.rpcCall(
1489
+ this.hostname_ +
1490
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBrandBy',
1491
+ request,
1492
+ metadata || {},
1493
+ this.methodDescriptorGetBrandBy,
1494
+ callback);
1495
+ }
1496
+ return this.client_.unaryCall(
1497
+ this.hostname_ +
1498
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBrandBy',
1499
+ request,
1500
+ metadata || {},
1501
+ this.methodDescriptorGetBrandBy);
1502
+ }
1503
+
1504
+ methodDescriptorGetAssetFundamentals = new grpcWeb.MethodDescriptor(
1505
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetFundamentals',
1506
+ grpcWeb.MethodType.UNARY,
1507
+ tinvest_instruments_pb.GetAssetFundamentalsRequest,
1508
+ tinvest_instruments_pb.GetAssetFundamentalsResponse,
1509
+ (request: tinvest_instruments_pb.GetAssetFundamentalsRequest) => {
1510
+ return request.serializeBinary();
1511
+ },
1512
+ tinvest_instruments_pb.GetAssetFundamentalsResponse.deserializeBinary
1513
+ );
1514
+
1515
+ getAssetFundamentals(
1516
+ request: tinvest_instruments_pb.GetAssetFundamentalsRequest,
1517
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetAssetFundamentalsResponse>;
1518
+
1519
+ getAssetFundamentals(
1520
+ request: tinvest_instruments_pb.GetAssetFundamentalsRequest,
1521
+ metadata: grpcWeb.Metadata | null,
1522
+ callback: (err: grpcWeb.RpcError,
1523
+ response: tinvest_instruments_pb.GetAssetFundamentalsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetAssetFundamentalsResponse>;
1524
+
1525
+ getAssetFundamentals(
1526
+ request: tinvest_instruments_pb.GetAssetFundamentalsRequest,
1527
+ metadata?: grpcWeb.Metadata | null,
1528
+ callback?: (err: grpcWeb.RpcError,
1529
+ response: tinvest_instruments_pb.GetAssetFundamentalsResponse) => void) {
1530
+ if (callback !== undefined) {
1531
+ return this.client_.rpcCall(
1532
+ this.hostname_ +
1533
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetFundamentals',
1534
+ request,
1535
+ metadata || {},
1536
+ this.methodDescriptorGetAssetFundamentals,
1537
+ callback);
1538
+ }
1539
+ return this.client_.unaryCall(
1540
+ this.hostname_ +
1541
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetFundamentals',
1542
+ request,
1543
+ metadata || {},
1544
+ this.methodDescriptorGetAssetFundamentals);
1545
+ }
1546
+
1547
+ methodDescriptorGetAssetReports = new grpcWeb.MethodDescriptor(
1548
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetReports',
1549
+ grpcWeb.MethodType.UNARY,
1550
+ tinvest_instruments_pb.GetAssetReportsRequest,
1551
+ tinvest_instruments_pb.GetAssetReportsResponse,
1552
+ (request: tinvest_instruments_pb.GetAssetReportsRequest) => {
1553
+ return request.serializeBinary();
1554
+ },
1555
+ tinvest_instruments_pb.GetAssetReportsResponse.deserializeBinary
1556
+ );
1557
+
1558
+ getAssetReports(
1559
+ request: tinvest_instruments_pb.GetAssetReportsRequest,
1560
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetAssetReportsResponse>;
1561
+
1562
+ getAssetReports(
1563
+ request: tinvest_instruments_pb.GetAssetReportsRequest,
1564
+ metadata: grpcWeb.Metadata | null,
1565
+ callback: (err: grpcWeb.RpcError,
1566
+ response: tinvest_instruments_pb.GetAssetReportsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetAssetReportsResponse>;
1567
+
1568
+ getAssetReports(
1569
+ request: tinvest_instruments_pb.GetAssetReportsRequest,
1570
+ metadata?: grpcWeb.Metadata | null,
1571
+ callback?: (err: grpcWeb.RpcError,
1572
+ response: tinvest_instruments_pb.GetAssetReportsResponse) => void) {
1573
+ if (callback !== undefined) {
1574
+ return this.client_.rpcCall(
1575
+ this.hostname_ +
1576
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetReports',
1577
+ request,
1578
+ metadata || {},
1579
+ this.methodDescriptorGetAssetReports,
1580
+ callback);
1581
+ }
1582
+ return this.client_.unaryCall(
1583
+ this.hostname_ +
1584
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetReports',
1585
+ request,
1586
+ metadata || {},
1587
+ this.methodDescriptorGetAssetReports);
1588
+ }
1589
+
1590
+ methodDescriptorGetConsensusForecasts = new grpcWeb.MethodDescriptor(
1591
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetConsensusForecasts',
1592
+ grpcWeb.MethodType.UNARY,
1593
+ tinvest_instruments_pb.GetConsensusForecastsRequest,
1594
+ tinvest_instruments_pb.GetConsensusForecastsResponse,
1595
+ (request: tinvest_instruments_pb.GetConsensusForecastsRequest) => {
1596
+ return request.serializeBinary();
1597
+ },
1598
+ tinvest_instruments_pb.GetConsensusForecastsResponse.deserializeBinary
1599
+ );
1600
+
1601
+ getConsensusForecasts(
1602
+ request: tinvest_instruments_pb.GetConsensusForecastsRequest,
1603
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetConsensusForecastsResponse>;
1604
+
1605
+ getConsensusForecasts(
1606
+ request: tinvest_instruments_pb.GetConsensusForecastsRequest,
1607
+ metadata: grpcWeb.Metadata | null,
1608
+ callback: (err: grpcWeb.RpcError,
1609
+ response: tinvest_instruments_pb.GetConsensusForecastsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetConsensusForecastsResponse>;
1610
+
1611
+ getConsensusForecasts(
1612
+ request: tinvest_instruments_pb.GetConsensusForecastsRequest,
1613
+ metadata?: grpcWeb.Metadata | null,
1614
+ callback?: (err: grpcWeb.RpcError,
1615
+ response: tinvest_instruments_pb.GetConsensusForecastsResponse) => void) {
1616
+ if (callback !== undefined) {
1617
+ return this.client_.rpcCall(
1618
+ this.hostname_ +
1619
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetConsensusForecasts',
1620
+ request,
1621
+ metadata || {},
1622
+ this.methodDescriptorGetConsensusForecasts,
1623
+ callback);
1624
+ }
1625
+ return this.client_.unaryCall(
1626
+ this.hostname_ +
1627
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetConsensusForecasts',
1628
+ request,
1629
+ metadata || {},
1630
+ this.methodDescriptorGetConsensusForecasts);
1631
+ }
1632
+
1633
+ methodDescriptorGetForecastBy = new grpcWeb.MethodDescriptor(
1634
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetForecastBy',
1635
+ grpcWeb.MethodType.UNARY,
1636
+ tinvest_instruments_pb.GetForecastRequest,
1637
+ tinvest_instruments_pb.GetForecastResponse,
1638
+ (request: tinvest_instruments_pb.GetForecastRequest) => {
1639
+ return request.serializeBinary();
1640
+ },
1641
+ tinvest_instruments_pb.GetForecastResponse.deserializeBinary
1642
+ );
1643
+
1644
+ getForecastBy(
1645
+ request: tinvest_instruments_pb.GetForecastRequest,
1646
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetForecastResponse>;
1647
+
1648
+ getForecastBy(
1649
+ request: tinvest_instruments_pb.GetForecastRequest,
1650
+ metadata: grpcWeb.Metadata | null,
1651
+ callback: (err: grpcWeb.RpcError,
1652
+ response: tinvest_instruments_pb.GetForecastResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetForecastResponse>;
1653
+
1654
+ getForecastBy(
1655
+ request: tinvest_instruments_pb.GetForecastRequest,
1656
+ metadata?: grpcWeb.Metadata | null,
1657
+ callback?: (err: grpcWeb.RpcError,
1658
+ response: tinvest_instruments_pb.GetForecastResponse) => void) {
1659
+ if (callback !== undefined) {
1660
+ return this.client_.rpcCall(
1661
+ this.hostname_ +
1662
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetForecastBy',
1663
+ request,
1664
+ metadata || {},
1665
+ this.methodDescriptorGetForecastBy,
1666
+ callback);
1667
+ }
1668
+ return this.client_.unaryCall(
1669
+ this.hostname_ +
1670
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetForecastBy',
1671
+ request,
1672
+ metadata || {},
1673
+ this.methodDescriptorGetForecastBy);
1674
+ }
1675
+
1676
+ methodDescriptorGetRiskRates = new grpcWeb.MethodDescriptor(
1677
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetRiskRates',
1678
+ grpcWeb.MethodType.UNARY,
1679
+ tinvest_instruments_pb.RiskRatesRequest,
1680
+ tinvest_instruments_pb.RiskRatesResponse,
1681
+ (request: tinvest_instruments_pb.RiskRatesRequest) => {
1682
+ return request.serializeBinary();
1683
+ },
1684
+ tinvest_instruments_pb.RiskRatesResponse.deserializeBinary
1685
+ );
1686
+
1687
+ getRiskRates(
1688
+ request: tinvest_instruments_pb.RiskRatesRequest,
1689
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.RiskRatesResponse>;
1690
+
1691
+ getRiskRates(
1692
+ request: tinvest_instruments_pb.RiskRatesRequest,
1693
+ metadata: grpcWeb.Metadata | null,
1694
+ callback: (err: grpcWeb.RpcError,
1695
+ response: tinvest_instruments_pb.RiskRatesResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.RiskRatesResponse>;
1696
+
1697
+ getRiskRates(
1698
+ request: tinvest_instruments_pb.RiskRatesRequest,
1699
+ metadata?: grpcWeb.Metadata | null,
1700
+ callback?: (err: grpcWeb.RpcError,
1701
+ response: tinvest_instruments_pb.RiskRatesResponse) => void) {
1702
+ if (callback !== undefined) {
1703
+ return this.client_.rpcCall(
1704
+ this.hostname_ +
1705
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetRiskRates',
1706
+ request,
1707
+ metadata || {},
1708
+ this.methodDescriptorGetRiskRates,
1709
+ callback);
1710
+ }
1711
+ return this.client_.unaryCall(
1712
+ this.hostname_ +
1713
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetRiskRates',
1714
+ request,
1715
+ metadata || {},
1716
+ this.methodDescriptorGetRiskRates);
1717
+ }
1718
+
1719
+ methodDescriptorGetInsiderDeals = new grpcWeb.MethodDescriptor(
1720
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetInsiderDeals',
1721
+ grpcWeb.MethodType.UNARY,
1722
+ tinvest_instruments_pb.GetInsiderDealsRequest,
1723
+ tinvest_instruments_pb.GetInsiderDealsResponse,
1724
+ (request: tinvest_instruments_pb.GetInsiderDealsRequest) => {
1725
+ return request.serializeBinary();
1726
+ },
1727
+ tinvest_instruments_pb.GetInsiderDealsResponse.deserializeBinary
1728
+ );
1729
+
1730
+ getInsiderDeals(
1731
+ request: tinvest_instruments_pb.GetInsiderDealsRequest,
1732
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.GetInsiderDealsResponse>;
1733
+
1734
+ getInsiderDeals(
1735
+ request: tinvest_instruments_pb.GetInsiderDealsRequest,
1736
+ metadata: grpcWeb.Metadata | null,
1737
+ callback: (err: grpcWeb.RpcError,
1738
+ response: tinvest_instruments_pb.GetInsiderDealsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.GetInsiderDealsResponse>;
1739
+
1740
+ getInsiderDeals(
1741
+ request: tinvest_instruments_pb.GetInsiderDealsRequest,
1742
+ metadata?: grpcWeb.Metadata | null,
1743
+ callback?: (err: grpcWeb.RpcError,
1744
+ response: tinvest_instruments_pb.GetInsiderDealsResponse) => void) {
1745
+ if (callback !== undefined) {
1746
+ return this.client_.rpcCall(
1747
+ this.hostname_ +
1748
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetInsiderDeals',
1749
+ request,
1750
+ metadata || {},
1751
+ this.methodDescriptorGetInsiderDeals,
1752
+ callback);
1753
+ }
1754
+ return this.client_.unaryCall(
1755
+ this.hostname_ +
1756
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetInsiderDeals',
1757
+ request,
1758
+ metadata || {},
1759
+ this.methodDescriptorGetInsiderDeals);
1760
+ }
1761
+
1762
+ methodDescriptorStructuredNoteBy = new grpcWeb.MethodDescriptor(
1763
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/StructuredNoteBy',
1764
+ grpcWeb.MethodType.UNARY,
1765
+ tinvest_instruments_pb.InstrumentRequest,
1766
+ tinvest_instruments_pb.StructuredNoteResponse,
1767
+ (request: tinvest_instruments_pb.InstrumentRequest) => {
1768
+ return request.serializeBinary();
1769
+ },
1770
+ tinvest_instruments_pb.StructuredNoteResponse.deserializeBinary
1771
+ );
1772
+
1773
+ structuredNoteBy(
1774
+ request: tinvest_instruments_pb.InstrumentRequest,
1775
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.StructuredNoteResponse>;
1776
+
1777
+ structuredNoteBy(
1778
+ request: tinvest_instruments_pb.InstrumentRequest,
1779
+ metadata: grpcWeb.Metadata | null,
1780
+ callback: (err: grpcWeb.RpcError,
1781
+ response: tinvest_instruments_pb.StructuredNoteResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.StructuredNoteResponse>;
1782
+
1783
+ structuredNoteBy(
1784
+ request: tinvest_instruments_pb.InstrumentRequest,
1785
+ metadata?: grpcWeb.Metadata | null,
1786
+ callback?: (err: grpcWeb.RpcError,
1787
+ response: tinvest_instruments_pb.StructuredNoteResponse) => void) {
1788
+ if (callback !== undefined) {
1789
+ return this.client_.rpcCall(
1790
+ this.hostname_ +
1791
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/StructuredNoteBy',
1792
+ request,
1793
+ metadata || {},
1794
+ this.methodDescriptorStructuredNoteBy,
1795
+ callback);
1796
+ }
1797
+ return this.client_.unaryCall(
1798
+ this.hostname_ +
1799
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/StructuredNoteBy',
1800
+ request,
1801
+ metadata || {},
1802
+ this.methodDescriptorStructuredNoteBy);
1803
+ }
1804
+
1805
+ methodDescriptorStructuredNotes = new grpcWeb.MethodDescriptor(
1806
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/StructuredNotes',
1807
+ grpcWeb.MethodType.UNARY,
1808
+ tinvest_instruments_pb.InstrumentsRequest,
1809
+ tinvest_instruments_pb.StructuredNotesResponse,
1810
+ (request: tinvest_instruments_pb.InstrumentsRequest) => {
1811
+ return request.serializeBinary();
1812
+ },
1813
+ tinvest_instruments_pb.StructuredNotesResponse.deserializeBinary
1814
+ );
1815
+
1816
+ structuredNotes(
1817
+ request: tinvest_instruments_pb.InstrumentsRequest,
1818
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.StructuredNotesResponse>;
1819
+
1820
+ structuredNotes(
1821
+ request: tinvest_instruments_pb.InstrumentsRequest,
1822
+ metadata: grpcWeb.Metadata | null,
1823
+ callback: (err: grpcWeb.RpcError,
1824
+ response: tinvest_instruments_pb.StructuredNotesResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.StructuredNotesResponse>;
1825
+
1826
+ structuredNotes(
1827
+ request: tinvest_instruments_pb.InstrumentsRequest,
1828
+ metadata?: grpcWeb.Metadata | null,
1829
+ callback?: (err: grpcWeb.RpcError,
1830
+ response: tinvest_instruments_pb.StructuredNotesResponse) => void) {
1831
+ if (callback !== undefined) {
1832
+ return this.client_.rpcCall(
1833
+ this.hostname_ +
1834
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/StructuredNotes',
1835
+ request,
1836
+ metadata || {},
1837
+ this.methodDescriptorStructuredNotes,
1838
+ callback);
1839
+ }
1840
+ return this.client_.unaryCall(
1841
+ this.hostname_ +
1842
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/StructuredNotes',
1843
+ request,
1844
+ metadata || {},
1845
+ this.methodDescriptorStructuredNotes);
1846
+ }
1847
+
1848
+ methodDescriptorNews = new grpcWeb.MethodDescriptor(
1849
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/News',
1850
+ grpcWeb.MethodType.UNARY,
1851
+ tinvest_instruments_pb.NewsRequest,
1852
+ tinvest_instruments_pb.NewsResponse,
1853
+ (request: tinvest_instruments_pb.NewsRequest) => {
1854
+ return request.serializeBinary();
1855
+ },
1856
+ tinvest_instruments_pb.NewsResponse.deserializeBinary
1857
+ );
1858
+
1859
+ news(
1860
+ request: tinvest_instruments_pb.NewsRequest,
1861
+ metadata?: grpcWeb.Metadata | null): Promise<tinvest_instruments_pb.NewsResponse>;
1862
+
1863
+ news(
1864
+ request: tinvest_instruments_pb.NewsRequest,
1865
+ metadata: grpcWeb.Metadata | null,
1866
+ callback: (err: grpcWeb.RpcError,
1867
+ response: tinvest_instruments_pb.NewsResponse) => void): grpcWeb.ClientReadableStream<tinvest_instruments_pb.NewsResponse>;
1868
+
1869
+ news(
1870
+ request: tinvest_instruments_pb.NewsRequest,
1871
+ metadata?: grpcWeb.Metadata | null,
1872
+ callback?: (err: grpcWeb.RpcError,
1873
+ response: tinvest_instruments_pb.NewsResponse) => void) {
1874
+ if (callback !== undefined) {
1875
+ return this.client_.rpcCall(
1876
+ this.hostname_ +
1877
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/News',
1878
+ request,
1879
+ metadata || {},
1880
+ this.methodDescriptorNews,
1881
+ callback);
1882
+ }
1883
+ return this.client_.unaryCall(
1884
+ this.hostname_ +
1885
+ '/tinkoff.public.invest.api.contract.v1.InstrumentsService/News',
1886
+ request,
1887
+ metadata || {},
1888
+ this.methodDescriptorNews);
1889
+ }
1890
+
1891
+ }
1892
+