@marleena/trb-proto 1.0.28 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -3
- package/gen/js-ts/{tinvest → api/tinvest}/InstrumentsServiceClientPb.ts +432 -432
- package/gen/js-ts/{tinvest → api/tinvest}/MarketdataServiceClientPb.ts +98 -98
- package/gen/js-ts/{tinvest → api/tinvest}/OperationsServiceClientPb.ts +90 -90
- package/gen/js-ts/{tinvest → api/tinvest}/OrdersServiceClientPb.ts +94 -94
- package/gen/js-ts/{tinvest → api/tinvest}/SandboxServiceClientPb.ts +206 -206
- package/gen/js-ts/{tinvest → api/tinvest}/SignalsServiceClientPb.ts +22 -22
- package/gen/js-ts/{tinvest → api/tinvest}/StopordersServiceClientPb.ts +32 -32
- package/gen/js-ts/{tinvest → api/tinvest}/UsersServiceClientPb.ts +82 -82
- package/gen/js-ts/{tinvest → api/tinvest}/common_pb.js +1 -1
- package/gen/js-ts/{tinvest → api/tinvest}/instruments_pb.d.ts +560 -560
- package/gen/js-ts/{tinvest → api/tinvest}/instruments_pb.js +804 -804
- package/gen/js-ts/{tinvest → api/tinvest}/marketdata_pb.d.ts +104 -104
- package/gen/js-ts/{tinvest → api/tinvest}/marketdata_pb.js +154 -154
- package/gen/js-ts/{tinvest → api/tinvest}/operations_pb.d.ts +229 -229
- package/gen/js-ts/{tinvest → api/tinvest}/operations_pb.js +364 -364
- package/gen/js-ts/{tinvest → api/tinvest}/orders_pb.d.ts +153 -153
- package/gen/js-ts/{tinvest → api/tinvest}/orders_pb.js +226 -226
- package/gen/js-ts/{tinvest → api/tinvest}/sandbox_pb.d.ts +12 -12
- package/gen/js-ts/{tinvest → api/tinvest}/sandbox_pb.js +22 -22
- package/gen/js-ts/{tinvest → api/tinvest}/signals_pb.d.ts +32 -32
- package/gen/js-ts/{tinvest → api/tinvest}/signals_pb.js +54 -54
- package/gen/js-ts/{tinvest → api/tinvest}/stoporders_pb.d.ts +38 -38
- package/gen/js-ts/{tinvest → api/tinvest}/stoporders_pb.js +59 -59
- package/gen/js-ts/{tinvest → api/tinvest}/users_pb.d.ts +36 -36
- package/gen/js-ts/{tinvest → api/tinvest}/users_pb.js +59 -59
- package/gen/js-ts/clickhouse/AdminServiceClientPb.ts +1161 -0
- package/gen/js-ts/clickhouse/ClickhouseServiceClientPb.ts +216 -0
- package/gen/js-ts/{api/clickhouse/manager_pb.d.ts → clickhouse/admin_pb.d.ts} +2 -2
- package/gen/js-ts/{api/clickhouse/manager_pb.js → clickhouse/admin_pb.js} +1551 -1551
- package/gen/js-ts/{api/db_api/db_api_pb.d.ts → clickhouse/clickhouse_pb.d.ts} +8 -158
- package/gen/js-ts/clickhouse/clickhouse_pb.js +2440 -0
- package/gen/js-ts/nats/NatsServiceClientPb.ts +1032 -0
- package/gen/js-ts/{api/nats/manager_pb.d.ts → nats/nats_pb.d.ts} +1 -1
- package/gen/js-ts/{api/nats/manager_pb.js → nats/nats_pb.js} +1784 -1784
- package/gen/js-ts/postgresql/AdminServiceClientPb.ts +1591 -0
- package/gen/js-ts/postgresql/PostgresqlServiceClientPb.ts +129 -0
- package/gen/js-ts/postgresql/admin_pb.d.ts +1895 -0
- package/gen/js-ts/postgresql/admin_pb.js +15465 -0
- package/gen/js-ts/postgresql/postgresql_pb.d.ts +156 -0
- package/gen/js-ts/postgresql/postgresql_pb.js +1311 -0
- package/gen/js-ts/{api/test → test}/TestServiceClientPb.ts +16 -16
- package/gen/js-ts/{api/test → test}/test_pb.d.ts +5 -5
- package/gen/js-ts/{api/test → test}/test_pb.js +58 -58
- package/package.json +1 -1
- package/gen/js-ts/api/clickhouse/ManagerServiceClientPb.ts +0 -1161
- package/gen/js-ts/api/db_api/Db_apiServiceClientPb.ts +0 -302
- package/gen/js-ts/api/db_api/db_api_pb.js +0 -3723
- package/gen/js-ts/api/nats/ManagerServiceClientPb.ts +0 -1032
- /package/gen/js-ts/{tinvest → api/tinvest}/common_pb.d.ts +0 -0
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
// versions:
|
|
9
9
|
// protoc-gen-grpc-web v1.5.0
|
|
10
10
|
// protoc v7.34.1
|
|
11
|
-
// source: tinvest/instruments.proto
|
|
11
|
+
// source: api/tinvest/instruments.proto
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
/* eslint-disable */
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
import * as grpcWeb from 'grpc-web';
|
|
19
19
|
|
|
20
|
-
import * as
|
|
20
|
+
import * as api_tinvest_instruments_pb from '../../api/tinvest/instruments_pb'; // proto import: "api/tinvest/instruments.proto"
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
export class InstrumentsServiceClient {
|
|
@@ -42,29 +42,29 @@ export class InstrumentsServiceClient {
|
|
|
42
42
|
methodDescriptorTradingSchedules = new grpcWeb.MethodDescriptor(
|
|
43
43
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/TradingSchedules',
|
|
44
44
|
grpcWeb.MethodType.UNARY,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
(request:
|
|
45
|
+
api_tinvest_instruments_pb.TradingSchedulesRequest,
|
|
46
|
+
api_tinvest_instruments_pb.TradingSchedulesResponse,
|
|
47
|
+
(request: api_tinvest_instruments_pb.TradingSchedulesRequest) => {
|
|
48
48
|
return request.serializeBinary();
|
|
49
49
|
},
|
|
50
|
-
|
|
50
|
+
api_tinvest_instruments_pb.TradingSchedulesResponse.deserializeBinary
|
|
51
51
|
);
|
|
52
52
|
|
|
53
53
|
tradingSchedules(
|
|
54
|
-
request:
|
|
55
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
54
|
+
request: api_tinvest_instruments_pb.TradingSchedulesRequest,
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.TradingSchedulesResponse>;
|
|
56
56
|
|
|
57
57
|
tradingSchedules(
|
|
58
|
-
request:
|
|
58
|
+
request: api_tinvest_instruments_pb.TradingSchedulesRequest,
|
|
59
59
|
metadata: grpcWeb.Metadata | null,
|
|
60
60
|
callback: (err: grpcWeb.RpcError,
|
|
61
|
-
response:
|
|
61
|
+
response: api_tinvest_instruments_pb.TradingSchedulesResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.TradingSchedulesResponse>;
|
|
62
62
|
|
|
63
63
|
tradingSchedules(
|
|
64
|
-
request:
|
|
64
|
+
request: api_tinvest_instruments_pb.TradingSchedulesRequest,
|
|
65
65
|
metadata?: grpcWeb.Metadata | null,
|
|
66
66
|
callback?: (err: grpcWeb.RpcError,
|
|
67
|
-
response:
|
|
67
|
+
response: api_tinvest_instruments_pb.TradingSchedulesResponse) => void) {
|
|
68
68
|
if (callback !== undefined) {
|
|
69
69
|
return this.client_.rpcCall(
|
|
70
70
|
this.hostname_ +
|
|
@@ -85,29 +85,29 @@ export class InstrumentsServiceClient {
|
|
|
85
85
|
methodDescriptorBondBy = new grpcWeb.MethodDescriptor(
|
|
86
86
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/BondBy',
|
|
87
87
|
grpcWeb.MethodType.UNARY,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
(request:
|
|
88
|
+
api_tinvest_instruments_pb.InstrumentRequest,
|
|
89
|
+
api_tinvest_instruments_pb.BondResponse,
|
|
90
|
+
(request: api_tinvest_instruments_pb.InstrumentRequest) => {
|
|
91
91
|
return request.serializeBinary();
|
|
92
92
|
},
|
|
93
|
-
|
|
93
|
+
api_tinvest_instruments_pb.BondResponse.deserializeBinary
|
|
94
94
|
);
|
|
95
95
|
|
|
96
96
|
bondBy(
|
|
97
|
-
request:
|
|
98
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
97
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.BondResponse>;
|
|
99
99
|
|
|
100
100
|
bondBy(
|
|
101
|
-
request:
|
|
101
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
102
102
|
metadata: grpcWeb.Metadata | null,
|
|
103
103
|
callback: (err: grpcWeb.RpcError,
|
|
104
|
-
response:
|
|
104
|
+
response: api_tinvest_instruments_pb.BondResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.BondResponse>;
|
|
105
105
|
|
|
106
106
|
bondBy(
|
|
107
|
-
request:
|
|
107
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
108
108
|
metadata?: grpcWeb.Metadata | null,
|
|
109
109
|
callback?: (err: grpcWeb.RpcError,
|
|
110
|
-
response:
|
|
110
|
+
response: api_tinvest_instruments_pb.BondResponse) => void) {
|
|
111
111
|
if (callback !== undefined) {
|
|
112
112
|
return this.client_.rpcCall(
|
|
113
113
|
this.hostname_ +
|
|
@@ -128,29 +128,29 @@ export class InstrumentsServiceClient {
|
|
|
128
128
|
methodDescriptorBonds = new grpcWeb.MethodDescriptor(
|
|
129
129
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/Bonds',
|
|
130
130
|
grpcWeb.MethodType.UNARY,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
(request:
|
|
131
|
+
api_tinvest_instruments_pb.InstrumentsRequest,
|
|
132
|
+
api_tinvest_instruments_pb.BondsResponse,
|
|
133
|
+
(request: api_tinvest_instruments_pb.InstrumentsRequest) => {
|
|
134
134
|
return request.serializeBinary();
|
|
135
135
|
},
|
|
136
|
-
|
|
136
|
+
api_tinvest_instruments_pb.BondsResponse.deserializeBinary
|
|
137
137
|
);
|
|
138
138
|
|
|
139
139
|
bonds(
|
|
140
|
-
request:
|
|
141
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
140
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
141
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.BondsResponse>;
|
|
142
142
|
|
|
143
143
|
bonds(
|
|
144
|
-
request:
|
|
144
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
145
145
|
metadata: grpcWeb.Metadata | null,
|
|
146
146
|
callback: (err: grpcWeb.RpcError,
|
|
147
|
-
response:
|
|
147
|
+
response: api_tinvest_instruments_pb.BondsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.BondsResponse>;
|
|
148
148
|
|
|
149
149
|
bonds(
|
|
150
|
-
request:
|
|
150
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
151
151
|
metadata?: grpcWeb.Metadata | null,
|
|
152
152
|
callback?: (err: grpcWeb.RpcError,
|
|
153
|
-
response:
|
|
153
|
+
response: api_tinvest_instruments_pb.BondsResponse) => void) {
|
|
154
154
|
if (callback !== undefined) {
|
|
155
155
|
return this.client_.rpcCall(
|
|
156
156
|
this.hostname_ +
|
|
@@ -171,29 +171,29 @@ export class InstrumentsServiceClient {
|
|
|
171
171
|
methodDescriptorGetBondCoupons = new grpcWeb.MethodDescriptor(
|
|
172
172
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBondCoupons',
|
|
173
173
|
grpcWeb.MethodType.UNARY,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
(request:
|
|
174
|
+
api_tinvest_instruments_pb.GetBondCouponsRequest,
|
|
175
|
+
api_tinvest_instruments_pb.GetBondCouponsResponse,
|
|
176
|
+
(request: api_tinvest_instruments_pb.GetBondCouponsRequest) => {
|
|
177
177
|
return request.serializeBinary();
|
|
178
178
|
},
|
|
179
|
-
|
|
179
|
+
api_tinvest_instruments_pb.GetBondCouponsResponse.deserializeBinary
|
|
180
180
|
);
|
|
181
181
|
|
|
182
182
|
getBondCoupons(
|
|
183
|
-
request:
|
|
184
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
183
|
+
request: api_tinvest_instruments_pb.GetBondCouponsRequest,
|
|
184
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetBondCouponsResponse>;
|
|
185
185
|
|
|
186
186
|
getBondCoupons(
|
|
187
|
-
request:
|
|
187
|
+
request: api_tinvest_instruments_pb.GetBondCouponsRequest,
|
|
188
188
|
metadata: grpcWeb.Metadata | null,
|
|
189
189
|
callback: (err: grpcWeb.RpcError,
|
|
190
|
-
response:
|
|
190
|
+
response: api_tinvest_instruments_pb.GetBondCouponsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetBondCouponsResponse>;
|
|
191
191
|
|
|
192
192
|
getBondCoupons(
|
|
193
|
-
request:
|
|
193
|
+
request: api_tinvest_instruments_pb.GetBondCouponsRequest,
|
|
194
194
|
metadata?: grpcWeb.Metadata | null,
|
|
195
195
|
callback?: (err: grpcWeb.RpcError,
|
|
196
|
-
response:
|
|
196
|
+
response: api_tinvest_instruments_pb.GetBondCouponsResponse) => void) {
|
|
197
197
|
if (callback !== undefined) {
|
|
198
198
|
return this.client_.rpcCall(
|
|
199
199
|
this.hostname_ +
|
|
@@ -214,29 +214,29 @@ export class InstrumentsServiceClient {
|
|
|
214
214
|
methodDescriptorGetBondEvents = new grpcWeb.MethodDescriptor(
|
|
215
215
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBondEvents',
|
|
216
216
|
grpcWeb.MethodType.UNARY,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
(request:
|
|
217
|
+
api_tinvest_instruments_pb.GetBondEventsRequest,
|
|
218
|
+
api_tinvest_instruments_pb.GetBondEventsResponse,
|
|
219
|
+
(request: api_tinvest_instruments_pb.GetBondEventsRequest) => {
|
|
220
220
|
return request.serializeBinary();
|
|
221
221
|
},
|
|
222
|
-
|
|
222
|
+
api_tinvest_instruments_pb.GetBondEventsResponse.deserializeBinary
|
|
223
223
|
);
|
|
224
224
|
|
|
225
225
|
getBondEvents(
|
|
226
|
-
request:
|
|
227
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
226
|
+
request: api_tinvest_instruments_pb.GetBondEventsRequest,
|
|
227
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetBondEventsResponse>;
|
|
228
228
|
|
|
229
229
|
getBondEvents(
|
|
230
|
-
request:
|
|
230
|
+
request: api_tinvest_instruments_pb.GetBondEventsRequest,
|
|
231
231
|
metadata: grpcWeb.Metadata | null,
|
|
232
232
|
callback: (err: grpcWeb.RpcError,
|
|
233
|
-
response:
|
|
233
|
+
response: api_tinvest_instruments_pb.GetBondEventsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetBondEventsResponse>;
|
|
234
234
|
|
|
235
235
|
getBondEvents(
|
|
236
|
-
request:
|
|
236
|
+
request: api_tinvest_instruments_pb.GetBondEventsRequest,
|
|
237
237
|
metadata?: grpcWeb.Metadata | null,
|
|
238
238
|
callback?: (err: grpcWeb.RpcError,
|
|
239
|
-
response:
|
|
239
|
+
response: api_tinvest_instruments_pb.GetBondEventsResponse) => void) {
|
|
240
240
|
if (callback !== undefined) {
|
|
241
241
|
return this.client_.rpcCall(
|
|
242
242
|
this.hostname_ +
|
|
@@ -257,29 +257,29 @@ export class InstrumentsServiceClient {
|
|
|
257
257
|
methodDescriptorCurrencyBy = new grpcWeb.MethodDescriptor(
|
|
258
258
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/CurrencyBy',
|
|
259
259
|
grpcWeb.MethodType.UNARY,
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
(request:
|
|
260
|
+
api_tinvest_instruments_pb.InstrumentRequest,
|
|
261
|
+
api_tinvest_instruments_pb.CurrencyResponse,
|
|
262
|
+
(request: api_tinvest_instruments_pb.InstrumentRequest) => {
|
|
263
263
|
return request.serializeBinary();
|
|
264
264
|
},
|
|
265
|
-
|
|
265
|
+
api_tinvest_instruments_pb.CurrencyResponse.deserializeBinary
|
|
266
266
|
);
|
|
267
267
|
|
|
268
268
|
currencyBy(
|
|
269
|
-
request:
|
|
270
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
269
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
270
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.CurrencyResponse>;
|
|
271
271
|
|
|
272
272
|
currencyBy(
|
|
273
|
-
request:
|
|
273
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
274
274
|
metadata: grpcWeb.Metadata | null,
|
|
275
275
|
callback: (err: grpcWeb.RpcError,
|
|
276
|
-
response:
|
|
276
|
+
response: api_tinvest_instruments_pb.CurrencyResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.CurrencyResponse>;
|
|
277
277
|
|
|
278
278
|
currencyBy(
|
|
279
|
-
request:
|
|
279
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
280
280
|
metadata?: grpcWeb.Metadata | null,
|
|
281
281
|
callback?: (err: grpcWeb.RpcError,
|
|
282
|
-
response:
|
|
282
|
+
response: api_tinvest_instruments_pb.CurrencyResponse) => void) {
|
|
283
283
|
if (callback !== undefined) {
|
|
284
284
|
return this.client_.rpcCall(
|
|
285
285
|
this.hostname_ +
|
|
@@ -300,29 +300,29 @@ export class InstrumentsServiceClient {
|
|
|
300
300
|
methodDescriptorCurrencies = new grpcWeb.MethodDescriptor(
|
|
301
301
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/Currencies',
|
|
302
302
|
grpcWeb.MethodType.UNARY,
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
(request:
|
|
303
|
+
api_tinvest_instruments_pb.InstrumentsRequest,
|
|
304
|
+
api_tinvest_instruments_pb.CurrenciesResponse,
|
|
305
|
+
(request: api_tinvest_instruments_pb.InstrumentsRequest) => {
|
|
306
306
|
return request.serializeBinary();
|
|
307
307
|
},
|
|
308
|
-
|
|
308
|
+
api_tinvest_instruments_pb.CurrenciesResponse.deserializeBinary
|
|
309
309
|
);
|
|
310
310
|
|
|
311
311
|
currencies(
|
|
312
|
-
request:
|
|
313
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
312
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
313
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.CurrenciesResponse>;
|
|
314
314
|
|
|
315
315
|
currencies(
|
|
316
|
-
request:
|
|
316
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
317
317
|
metadata: grpcWeb.Metadata | null,
|
|
318
318
|
callback: (err: grpcWeb.RpcError,
|
|
319
|
-
response:
|
|
319
|
+
response: api_tinvest_instruments_pb.CurrenciesResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.CurrenciesResponse>;
|
|
320
320
|
|
|
321
321
|
currencies(
|
|
322
|
-
request:
|
|
322
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
323
323
|
metadata?: grpcWeb.Metadata | null,
|
|
324
324
|
callback?: (err: grpcWeb.RpcError,
|
|
325
|
-
response:
|
|
325
|
+
response: api_tinvest_instruments_pb.CurrenciesResponse) => void) {
|
|
326
326
|
if (callback !== undefined) {
|
|
327
327
|
return this.client_.rpcCall(
|
|
328
328
|
this.hostname_ +
|
|
@@ -343,29 +343,29 @@ export class InstrumentsServiceClient {
|
|
|
343
343
|
methodDescriptorEtfBy = new grpcWeb.MethodDescriptor(
|
|
344
344
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/EtfBy',
|
|
345
345
|
grpcWeb.MethodType.UNARY,
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
(request:
|
|
346
|
+
api_tinvest_instruments_pb.InstrumentRequest,
|
|
347
|
+
api_tinvest_instruments_pb.EtfResponse,
|
|
348
|
+
(request: api_tinvest_instruments_pb.InstrumentRequest) => {
|
|
349
349
|
return request.serializeBinary();
|
|
350
350
|
},
|
|
351
|
-
|
|
351
|
+
api_tinvest_instruments_pb.EtfResponse.deserializeBinary
|
|
352
352
|
);
|
|
353
353
|
|
|
354
354
|
etfBy(
|
|
355
|
-
request:
|
|
356
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
355
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
356
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.EtfResponse>;
|
|
357
357
|
|
|
358
358
|
etfBy(
|
|
359
|
-
request:
|
|
359
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
360
360
|
metadata: grpcWeb.Metadata | null,
|
|
361
361
|
callback: (err: grpcWeb.RpcError,
|
|
362
|
-
response:
|
|
362
|
+
response: api_tinvest_instruments_pb.EtfResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.EtfResponse>;
|
|
363
363
|
|
|
364
364
|
etfBy(
|
|
365
|
-
request:
|
|
365
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
366
366
|
metadata?: grpcWeb.Metadata | null,
|
|
367
367
|
callback?: (err: grpcWeb.RpcError,
|
|
368
|
-
response:
|
|
368
|
+
response: api_tinvest_instruments_pb.EtfResponse) => void) {
|
|
369
369
|
if (callback !== undefined) {
|
|
370
370
|
return this.client_.rpcCall(
|
|
371
371
|
this.hostname_ +
|
|
@@ -386,29 +386,29 @@ export class InstrumentsServiceClient {
|
|
|
386
386
|
methodDescriptorEtfs = new grpcWeb.MethodDescriptor(
|
|
387
387
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/Etfs',
|
|
388
388
|
grpcWeb.MethodType.UNARY,
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
(request:
|
|
389
|
+
api_tinvest_instruments_pb.InstrumentsRequest,
|
|
390
|
+
api_tinvest_instruments_pb.EtfsResponse,
|
|
391
|
+
(request: api_tinvest_instruments_pb.InstrumentsRequest) => {
|
|
392
392
|
return request.serializeBinary();
|
|
393
393
|
},
|
|
394
|
-
|
|
394
|
+
api_tinvest_instruments_pb.EtfsResponse.deserializeBinary
|
|
395
395
|
);
|
|
396
396
|
|
|
397
397
|
etfs(
|
|
398
|
-
request:
|
|
399
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
398
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
399
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.EtfsResponse>;
|
|
400
400
|
|
|
401
401
|
etfs(
|
|
402
|
-
request:
|
|
402
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
403
403
|
metadata: grpcWeb.Metadata | null,
|
|
404
404
|
callback: (err: grpcWeb.RpcError,
|
|
405
|
-
response:
|
|
405
|
+
response: api_tinvest_instruments_pb.EtfsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.EtfsResponse>;
|
|
406
406
|
|
|
407
407
|
etfs(
|
|
408
|
-
request:
|
|
408
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
409
409
|
metadata?: grpcWeb.Metadata | null,
|
|
410
410
|
callback?: (err: grpcWeb.RpcError,
|
|
411
|
-
response:
|
|
411
|
+
response: api_tinvest_instruments_pb.EtfsResponse) => void) {
|
|
412
412
|
if (callback !== undefined) {
|
|
413
413
|
return this.client_.rpcCall(
|
|
414
414
|
this.hostname_ +
|
|
@@ -429,29 +429,29 @@ export class InstrumentsServiceClient {
|
|
|
429
429
|
methodDescriptorFutureBy = new grpcWeb.MethodDescriptor(
|
|
430
430
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/FutureBy',
|
|
431
431
|
grpcWeb.MethodType.UNARY,
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
(request:
|
|
432
|
+
api_tinvest_instruments_pb.InstrumentRequest,
|
|
433
|
+
api_tinvest_instruments_pb.FutureResponse,
|
|
434
|
+
(request: api_tinvest_instruments_pb.InstrumentRequest) => {
|
|
435
435
|
return request.serializeBinary();
|
|
436
436
|
},
|
|
437
|
-
|
|
437
|
+
api_tinvest_instruments_pb.FutureResponse.deserializeBinary
|
|
438
438
|
);
|
|
439
439
|
|
|
440
440
|
futureBy(
|
|
441
|
-
request:
|
|
442
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
441
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
442
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.FutureResponse>;
|
|
443
443
|
|
|
444
444
|
futureBy(
|
|
445
|
-
request:
|
|
445
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
446
446
|
metadata: grpcWeb.Metadata | null,
|
|
447
447
|
callback: (err: grpcWeb.RpcError,
|
|
448
|
-
response:
|
|
448
|
+
response: api_tinvest_instruments_pb.FutureResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.FutureResponse>;
|
|
449
449
|
|
|
450
450
|
futureBy(
|
|
451
|
-
request:
|
|
451
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
452
452
|
metadata?: grpcWeb.Metadata | null,
|
|
453
453
|
callback?: (err: grpcWeb.RpcError,
|
|
454
|
-
response:
|
|
454
|
+
response: api_tinvest_instruments_pb.FutureResponse) => void) {
|
|
455
455
|
if (callback !== undefined) {
|
|
456
456
|
return this.client_.rpcCall(
|
|
457
457
|
this.hostname_ +
|
|
@@ -472,29 +472,29 @@ export class InstrumentsServiceClient {
|
|
|
472
472
|
methodDescriptorFutures = new grpcWeb.MethodDescriptor(
|
|
473
473
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/Futures',
|
|
474
474
|
grpcWeb.MethodType.UNARY,
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
(request:
|
|
475
|
+
api_tinvest_instruments_pb.InstrumentsRequest,
|
|
476
|
+
api_tinvest_instruments_pb.FuturesResponse,
|
|
477
|
+
(request: api_tinvest_instruments_pb.InstrumentsRequest) => {
|
|
478
478
|
return request.serializeBinary();
|
|
479
479
|
},
|
|
480
|
-
|
|
480
|
+
api_tinvest_instruments_pb.FuturesResponse.deserializeBinary
|
|
481
481
|
);
|
|
482
482
|
|
|
483
483
|
futures(
|
|
484
|
-
request:
|
|
485
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
484
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
485
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.FuturesResponse>;
|
|
486
486
|
|
|
487
487
|
futures(
|
|
488
|
-
request:
|
|
488
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
489
489
|
metadata: grpcWeb.Metadata | null,
|
|
490
490
|
callback: (err: grpcWeb.RpcError,
|
|
491
|
-
response:
|
|
491
|
+
response: api_tinvest_instruments_pb.FuturesResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.FuturesResponse>;
|
|
492
492
|
|
|
493
493
|
futures(
|
|
494
|
-
request:
|
|
494
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
495
495
|
metadata?: grpcWeb.Metadata | null,
|
|
496
496
|
callback?: (err: grpcWeb.RpcError,
|
|
497
|
-
response:
|
|
497
|
+
response: api_tinvest_instruments_pb.FuturesResponse) => void) {
|
|
498
498
|
if (callback !== undefined) {
|
|
499
499
|
return this.client_.rpcCall(
|
|
500
500
|
this.hostname_ +
|
|
@@ -515,29 +515,29 @@ export class InstrumentsServiceClient {
|
|
|
515
515
|
methodDescriptorOptionBy = new grpcWeb.MethodDescriptor(
|
|
516
516
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/OptionBy',
|
|
517
517
|
grpcWeb.MethodType.UNARY,
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
(request:
|
|
518
|
+
api_tinvest_instruments_pb.InstrumentRequest,
|
|
519
|
+
api_tinvest_instruments_pb.OptionResponse,
|
|
520
|
+
(request: api_tinvest_instruments_pb.InstrumentRequest) => {
|
|
521
521
|
return request.serializeBinary();
|
|
522
522
|
},
|
|
523
|
-
|
|
523
|
+
api_tinvest_instruments_pb.OptionResponse.deserializeBinary
|
|
524
524
|
);
|
|
525
525
|
|
|
526
526
|
optionBy(
|
|
527
|
-
request:
|
|
528
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
527
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
528
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.OptionResponse>;
|
|
529
529
|
|
|
530
530
|
optionBy(
|
|
531
|
-
request:
|
|
531
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
532
532
|
metadata: grpcWeb.Metadata | null,
|
|
533
533
|
callback: (err: grpcWeb.RpcError,
|
|
534
|
-
response:
|
|
534
|
+
response: api_tinvest_instruments_pb.OptionResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.OptionResponse>;
|
|
535
535
|
|
|
536
536
|
optionBy(
|
|
537
|
-
request:
|
|
537
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
538
538
|
metadata?: grpcWeb.Metadata | null,
|
|
539
539
|
callback?: (err: grpcWeb.RpcError,
|
|
540
|
-
response:
|
|
540
|
+
response: api_tinvest_instruments_pb.OptionResponse) => void) {
|
|
541
541
|
if (callback !== undefined) {
|
|
542
542
|
return this.client_.rpcCall(
|
|
543
543
|
this.hostname_ +
|
|
@@ -558,29 +558,29 @@ export class InstrumentsServiceClient {
|
|
|
558
558
|
methodDescriptorOptions = new grpcWeb.MethodDescriptor(
|
|
559
559
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/Options',
|
|
560
560
|
grpcWeb.MethodType.UNARY,
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
(request:
|
|
561
|
+
api_tinvest_instruments_pb.InstrumentsRequest,
|
|
562
|
+
api_tinvest_instruments_pb.OptionsResponse,
|
|
563
|
+
(request: api_tinvest_instruments_pb.InstrumentsRequest) => {
|
|
564
564
|
return request.serializeBinary();
|
|
565
565
|
},
|
|
566
|
-
|
|
566
|
+
api_tinvest_instruments_pb.OptionsResponse.deserializeBinary
|
|
567
567
|
);
|
|
568
568
|
|
|
569
569
|
options(
|
|
570
|
-
request:
|
|
571
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
570
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
571
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.OptionsResponse>;
|
|
572
572
|
|
|
573
573
|
options(
|
|
574
|
-
request:
|
|
574
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
575
575
|
metadata: grpcWeb.Metadata | null,
|
|
576
576
|
callback: (err: grpcWeb.RpcError,
|
|
577
|
-
response:
|
|
577
|
+
response: api_tinvest_instruments_pb.OptionsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.OptionsResponse>;
|
|
578
578
|
|
|
579
579
|
options(
|
|
580
|
-
request:
|
|
580
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
581
581
|
metadata?: grpcWeb.Metadata | null,
|
|
582
582
|
callback?: (err: grpcWeb.RpcError,
|
|
583
|
-
response:
|
|
583
|
+
response: api_tinvest_instruments_pb.OptionsResponse) => void) {
|
|
584
584
|
if (callback !== undefined) {
|
|
585
585
|
return this.client_.rpcCall(
|
|
586
586
|
this.hostname_ +
|
|
@@ -601,29 +601,29 @@ export class InstrumentsServiceClient {
|
|
|
601
601
|
methodDescriptorOptionsBy = new grpcWeb.MethodDescriptor(
|
|
602
602
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/OptionsBy',
|
|
603
603
|
grpcWeb.MethodType.UNARY,
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
(request:
|
|
604
|
+
api_tinvest_instruments_pb.FilterOptionsRequest,
|
|
605
|
+
api_tinvest_instruments_pb.OptionsResponse,
|
|
606
|
+
(request: api_tinvest_instruments_pb.FilterOptionsRequest) => {
|
|
607
607
|
return request.serializeBinary();
|
|
608
608
|
},
|
|
609
|
-
|
|
609
|
+
api_tinvest_instruments_pb.OptionsResponse.deserializeBinary
|
|
610
610
|
);
|
|
611
611
|
|
|
612
612
|
optionsBy(
|
|
613
|
-
request:
|
|
614
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
613
|
+
request: api_tinvest_instruments_pb.FilterOptionsRequest,
|
|
614
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.OptionsResponse>;
|
|
615
615
|
|
|
616
616
|
optionsBy(
|
|
617
|
-
request:
|
|
617
|
+
request: api_tinvest_instruments_pb.FilterOptionsRequest,
|
|
618
618
|
metadata: grpcWeb.Metadata | null,
|
|
619
619
|
callback: (err: grpcWeb.RpcError,
|
|
620
|
-
response:
|
|
620
|
+
response: api_tinvest_instruments_pb.OptionsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.OptionsResponse>;
|
|
621
621
|
|
|
622
622
|
optionsBy(
|
|
623
|
-
request:
|
|
623
|
+
request: api_tinvest_instruments_pb.FilterOptionsRequest,
|
|
624
624
|
metadata?: grpcWeb.Metadata | null,
|
|
625
625
|
callback?: (err: grpcWeb.RpcError,
|
|
626
|
-
response:
|
|
626
|
+
response: api_tinvest_instruments_pb.OptionsResponse) => void) {
|
|
627
627
|
if (callback !== undefined) {
|
|
628
628
|
return this.client_.rpcCall(
|
|
629
629
|
this.hostname_ +
|
|
@@ -644,29 +644,29 @@ export class InstrumentsServiceClient {
|
|
|
644
644
|
methodDescriptorShareBy = new grpcWeb.MethodDescriptor(
|
|
645
645
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/ShareBy',
|
|
646
646
|
grpcWeb.MethodType.UNARY,
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
(request:
|
|
647
|
+
api_tinvest_instruments_pb.InstrumentRequest,
|
|
648
|
+
api_tinvest_instruments_pb.ShareResponse,
|
|
649
|
+
(request: api_tinvest_instruments_pb.InstrumentRequest) => {
|
|
650
650
|
return request.serializeBinary();
|
|
651
651
|
},
|
|
652
|
-
|
|
652
|
+
api_tinvest_instruments_pb.ShareResponse.deserializeBinary
|
|
653
653
|
);
|
|
654
654
|
|
|
655
655
|
shareBy(
|
|
656
|
-
request:
|
|
657
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
656
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
657
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.ShareResponse>;
|
|
658
658
|
|
|
659
659
|
shareBy(
|
|
660
|
-
request:
|
|
660
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
661
661
|
metadata: grpcWeb.Metadata | null,
|
|
662
662
|
callback: (err: grpcWeb.RpcError,
|
|
663
|
-
response:
|
|
663
|
+
response: api_tinvest_instruments_pb.ShareResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.ShareResponse>;
|
|
664
664
|
|
|
665
665
|
shareBy(
|
|
666
|
-
request:
|
|
666
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
667
667
|
metadata?: grpcWeb.Metadata | null,
|
|
668
668
|
callback?: (err: grpcWeb.RpcError,
|
|
669
|
-
response:
|
|
669
|
+
response: api_tinvest_instruments_pb.ShareResponse) => void) {
|
|
670
670
|
if (callback !== undefined) {
|
|
671
671
|
return this.client_.rpcCall(
|
|
672
672
|
this.hostname_ +
|
|
@@ -687,29 +687,29 @@ export class InstrumentsServiceClient {
|
|
|
687
687
|
methodDescriptorShares = new grpcWeb.MethodDescriptor(
|
|
688
688
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/Shares',
|
|
689
689
|
grpcWeb.MethodType.UNARY,
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
(request:
|
|
690
|
+
api_tinvest_instruments_pb.InstrumentsRequest,
|
|
691
|
+
api_tinvest_instruments_pb.SharesResponse,
|
|
692
|
+
(request: api_tinvest_instruments_pb.InstrumentsRequest) => {
|
|
693
693
|
return request.serializeBinary();
|
|
694
694
|
},
|
|
695
|
-
|
|
695
|
+
api_tinvest_instruments_pb.SharesResponse.deserializeBinary
|
|
696
696
|
);
|
|
697
697
|
|
|
698
698
|
shares(
|
|
699
|
-
request:
|
|
700
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
699
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
700
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.SharesResponse>;
|
|
701
701
|
|
|
702
702
|
shares(
|
|
703
|
-
request:
|
|
703
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
704
704
|
metadata: grpcWeb.Metadata | null,
|
|
705
705
|
callback: (err: grpcWeb.RpcError,
|
|
706
|
-
response:
|
|
706
|
+
response: api_tinvest_instruments_pb.SharesResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.SharesResponse>;
|
|
707
707
|
|
|
708
708
|
shares(
|
|
709
|
-
request:
|
|
709
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
710
710
|
metadata?: grpcWeb.Metadata | null,
|
|
711
711
|
callback?: (err: grpcWeb.RpcError,
|
|
712
|
-
response:
|
|
712
|
+
response: api_tinvest_instruments_pb.SharesResponse) => void) {
|
|
713
713
|
if (callback !== undefined) {
|
|
714
714
|
return this.client_.rpcCall(
|
|
715
715
|
this.hostname_ +
|
|
@@ -730,29 +730,29 @@ export class InstrumentsServiceClient {
|
|
|
730
730
|
methodDescriptorDfaBy = new grpcWeb.MethodDescriptor(
|
|
731
731
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/DfaBy',
|
|
732
732
|
grpcWeb.MethodType.UNARY,
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
(request:
|
|
733
|
+
api_tinvest_instruments_pb.InstrumentRequest,
|
|
734
|
+
api_tinvest_instruments_pb.DfaResponse,
|
|
735
|
+
(request: api_tinvest_instruments_pb.InstrumentRequest) => {
|
|
736
736
|
return request.serializeBinary();
|
|
737
737
|
},
|
|
738
|
-
|
|
738
|
+
api_tinvest_instruments_pb.DfaResponse.deserializeBinary
|
|
739
739
|
);
|
|
740
740
|
|
|
741
741
|
dfaBy(
|
|
742
|
-
request:
|
|
743
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
742
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
743
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.DfaResponse>;
|
|
744
744
|
|
|
745
745
|
dfaBy(
|
|
746
|
-
request:
|
|
746
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
747
747
|
metadata: grpcWeb.Metadata | null,
|
|
748
748
|
callback: (err: grpcWeb.RpcError,
|
|
749
|
-
response:
|
|
749
|
+
response: api_tinvest_instruments_pb.DfaResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.DfaResponse>;
|
|
750
750
|
|
|
751
751
|
dfaBy(
|
|
752
|
-
request:
|
|
752
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
753
753
|
metadata?: grpcWeb.Metadata | null,
|
|
754
754
|
callback?: (err: grpcWeb.RpcError,
|
|
755
|
-
response:
|
|
755
|
+
response: api_tinvest_instruments_pb.DfaResponse) => void) {
|
|
756
756
|
if (callback !== undefined) {
|
|
757
757
|
return this.client_.rpcCall(
|
|
758
758
|
this.hostname_ +
|
|
@@ -773,29 +773,29 @@ export class InstrumentsServiceClient {
|
|
|
773
773
|
methodDescriptorDfas = new grpcWeb.MethodDescriptor(
|
|
774
774
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/Dfas',
|
|
775
775
|
grpcWeb.MethodType.UNARY,
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
(request:
|
|
776
|
+
api_tinvest_instruments_pb.DfasRequest,
|
|
777
|
+
api_tinvest_instruments_pb.DfasResponse,
|
|
778
|
+
(request: api_tinvest_instruments_pb.DfasRequest) => {
|
|
779
779
|
return request.serializeBinary();
|
|
780
780
|
},
|
|
781
|
-
|
|
781
|
+
api_tinvest_instruments_pb.DfasResponse.deserializeBinary
|
|
782
782
|
);
|
|
783
783
|
|
|
784
784
|
dfas(
|
|
785
|
-
request:
|
|
786
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
785
|
+
request: api_tinvest_instruments_pb.DfasRequest,
|
|
786
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.DfasResponse>;
|
|
787
787
|
|
|
788
788
|
dfas(
|
|
789
|
-
request:
|
|
789
|
+
request: api_tinvest_instruments_pb.DfasRequest,
|
|
790
790
|
metadata: grpcWeb.Metadata | null,
|
|
791
791
|
callback: (err: grpcWeb.RpcError,
|
|
792
|
-
response:
|
|
792
|
+
response: api_tinvest_instruments_pb.DfasResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.DfasResponse>;
|
|
793
793
|
|
|
794
794
|
dfas(
|
|
795
|
-
request:
|
|
795
|
+
request: api_tinvest_instruments_pb.DfasRequest,
|
|
796
796
|
metadata?: grpcWeb.Metadata | null,
|
|
797
797
|
callback?: (err: grpcWeb.RpcError,
|
|
798
|
-
response:
|
|
798
|
+
response: api_tinvest_instruments_pb.DfasResponse) => void) {
|
|
799
799
|
if (callback !== undefined) {
|
|
800
800
|
return this.client_.rpcCall(
|
|
801
801
|
this.hostname_ +
|
|
@@ -816,29 +816,29 @@ export class InstrumentsServiceClient {
|
|
|
816
816
|
methodDescriptorIndicatives = new grpcWeb.MethodDescriptor(
|
|
817
817
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/Indicatives',
|
|
818
818
|
grpcWeb.MethodType.UNARY,
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
(request:
|
|
819
|
+
api_tinvest_instruments_pb.IndicativesRequest,
|
|
820
|
+
api_tinvest_instruments_pb.IndicativesResponse,
|
|
821
|
+
(request: api_tinvest_instruments_pb.IndicativesRequest) => {
|
|
822
822
|
return request.serializeBinary();
|
|
823
823
|
},
|
|
824
|
-
|
|
824
|
+
api_tinvest_instruments_pb.IndicativesResponse.deserializeBinary
|
|
825
825
|
);
|
|
826
826
|
|
|
827
827
|
indicatives(
|
|
828
|
-
request:
|
|
829
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
828
|
+
request: api_tinvest_instruments_pb.IndicativesRequest,
|
|
829
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.IndicativesResponse>;
|
|
830
830
|
|
|
831
831
|
indicatives(
|
|
832
|
-
request:
|
|
832
|
+
request: api_tinvest_instruments_pb.IndicativesRequest,
|
|
833
833
|
metadata: grpcWeb.Metadata | null,
|
|
834
834
|
callback: (err: grpcWeb.RpcError,
|
|
835
|
-
response:
|
|
835
|
+
response: api_tinvest_instruments_pb.IndicativesResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.IndicativesResponse>;
|
|
836
836
|
|
|
837
837
|
indicatives(
|
|
838
|
-
request:
|
|
838
|
+
request: api_tinvest_instruments_pb.IndicativesRequest,
|
|
839
839
|
metadata?: grpcWeb.Metadata | null,
|
|
840
840
|
callback?: (err: grpcWeb.RpcError,
|
|
841
|
-
response:
|
|
841
|
+
response: api_tinvest_instruments_pb.IndicativesResponse) => void) {
|
|
842
842
|
if (callback !== undefined) {
|
|
843
843
|
return this.client_.rpcCall(
|
|
844
844
|
this.hostname_ +
|
|
@@ -859,29 +859,29 @@ export class InstrumentsServiceClient {
|
|
|
859
859
|
methodDescriptorGetAccruedInterests = new grpcWeb.MethodDescriptor(
|
|
860
860
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAccruedInterests',
|
|
861
861
|
grpcWeb.MethodType.UNARY,
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
(request:
|
|
862
|
+
api_tinvest_instruments_pb.GetAccruedInterestsRequest,
|
|
863
|
+
api_tinvest_instruments_pb.GetAccruedInterestsResponse,
|
|
864
|
+
(request: api_tinvest_instruments_pb.GetAccruedInterestsRequest) => {
|
|
865
865
|
return request.serializeBinary();
|
|
866
866
|
},
|
|
867
|
-
|
|
867
|
+
api_tinvest_instruments_pb.GetAccruedInterestsResponse.deserializeBinary
|
|
868
868
|
);
|
|
869
869
|
|
|
870
870
|
getAccruedInterests(
|
|
871
|
-
request:
|
|
872
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
871
|
+
request: api_tinvest_instruments_pb.GetAccruedInterestsRequest,
|
|
872
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetAccruedInterestsResponse>;
|
|
873
873
|
|
|
874
874
|
getAccruedInterests(
|
|
875
|
-
request:
|
|
875
|
+
request: api_tinvest_instruments_pb.GetAccruedInterestsRequest,
|
|
876
876
|
metadata: grpcWeb.Metadata | null,
|
|
877
877
|
callback: (err: grpcWeb.RpcError,
|
|
878
|
-
response:
|
|
878
|
+
response: api_tinvest_instruments_pb.GetAccruedInterestsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetAccruedInterestsResponse>;
|
|
879
879
|
|
|
880
880
|
getAccruedInterests(
|
|
881
|
-
request:
|
|
881
|
+
request: api_tinvest_instruments_pb.GetAccruedInterestsRequest,
|
|
882
882
|
metadata?: grpcWeb.Metadata | null,
|
|
883
883
|
callback?: (err: grpcWeb.RpcError,
|
|
884
|
-
response:
|
|
884
|
+
response: api_tinvest_instruments_pb.GetAccruedInterestsResponse) => void) {
|
|
885
885
|
if (callback !== undefined) {
|
|
886
886
|
return this.client_.rpcCall(
|
|
887
887
|
this.hostname_ +
|
|
@@ -902,29 +902,29 @@ export class InstrumentsServiceClient {
|
|
|
902
902
|
methodDescriptorGetFuturesMargin = new grpcWeb.MethodDescriptor(
|
|
903
903
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFuturesMargin',
|
|
904
904
|
grpcWeb.MethodType.UNARY,
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
(request:
|
|
905
|
+
api_tinvest_instruments_pb.GetFuturesMarginRequest,
|
|
906
|
+
api_tinvest_instruments_pb.GetFuturesMarginResponse,
|
|
907
|
+
(request: api_tinvest_instruments_pb.GetFuturesMarginRequest) => {
|
|
908
908
|
return request.serializeBinary();
|
|
909
909
|
},
|
|
910
|
-
|
|
910
|
+
api_tinvest_instruments_pb.GetFuturesMarginResponse.deserializeBinary
|
|
911
911
|
);
|
|
912
912
|
|
|
913
913
|
getFuturesMargin(
|
|
914
|
-
request:
|
|
915
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
914
|
+
request: api_tinvest_instruments_pb.GetFuturesMarginRequest,
|
|
915
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetFuturesMarginResponse>;
|
|
916
916
|
|
|
917
917
|
getFuturesMargin(
|
|
918
|
-
request:
|
|
918
|
+
request: api_tinvest_instruments_pb.GetFuturesMarginRequest,
|
|
919
919
|
metadata: grpcWeb.Metadata | null,
|
|
920
920
|
callback: (err: grpcWeb.RpcError,
|
|
921
|
-
response:
|
|
921
|
+
response: api_tinvest_instruments_pb.GetFuturesMarginResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetFuturesMarginResponse>;
|
|
922
922
|
|
|
923
923
|
getFuturesMargin(
|
|
924
|
-
request:
|
|
924
|
+
request: api_tinvest_instruments_pb.GetFuturesMarginRequest,
|
|
925
925
|
metadata?: grpcWeb.Metadata | null,
|
|
926
926
|
callback?: (err: grpcWeb.RpcError,
|
|
927
|
-
response:
|
|
927
|
+
response: api_tinvest_instruments_pb.GetFuturesMarginResponse) => void) {
|
|
928
928
|
if (callback !== undefined) {
|
|
929
929
|
return this.client_.rpcCall(
|
|
930
930
|
this.hostname_ +
|
|
@@ -945,29 +945,29 @@ export class InstrumentsServiceClient {
|
|
|
945
945
|
methodDescriptorGetInstrumentBy = new grpcWeb.MethodDescriptor(
|
|
946
946
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetInstrumentBy',
|
|
947
947
|
grpcWeb.MethodType.UNARY,
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
(request:
|
|
948
|
+
api_tinvest_instruments_pb.InstrumentRequest,
|
|
949
|
+
api_tinvest_instruments_pb.InstrumentResponse,
|
|
950
|
+
(request: api_tinvest_instruments_pb.InstrumentRequest) => {
|
|
951
951
|
return request.serializeBinary();
|
|
952
952
|
},
|
|
953
|
-
|
|
953
|
+
api_tinvest_instruments_pb.InstrumentResponse.deserializeBinary
|
|
954
954
|
);
|
|
955
955
|
|
|
956
956
|
getInstrumentBy(
|
|
957
|
-
request:
|
|
958
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
957
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
958
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.InstrumentResponse>;
|
|
959
959
|
|
|
960
960
|
getInstrumentBy(
|
|
961
|
-
request:
|
|
961
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
962
962
|
metadata: grpcWeb.Metadata | null,
|
|
963
963
|
callback: (err: grpcWeb.RpcError,
|
|
964
|
-
response:
|
|
964
|
+
response: api_tinvest_instruments_pb.InstrumentResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.InstrumentResponse>;
|
|
965
965
|
|
|
966
966
|
getInstrumentBy(
|
|
967
|
-
request:
|
|
967
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
968
968
|
metadata?: grpcWeb.Metadata | null,
|
|
969
969
|
callback?: (err: grpcWeb.RpcError,
|
|
970
|
-
response:
|
|
970
|
+
response: api_tinvest_instruments_pb.InstrumentResponse) => void) {
|
|
971
971
|
if (callback !== undefined) {
|
|
972
972
|
return this.client_.rpcCall(
|
|
973
973
|
this.hostname_ +
|
|
@@ -988,29 +988,29 @@ export class InstrumentsServiceClient {
|
|
|
988
988
|
methodDescriptorGetDividends = new grpcWeb.MethodDescriptor(
|
|
989
989
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetDividends',
|
|
990
990
|
grpcWeb.MethodType.UNARY,
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
(request:
|
|
991
|
+
api_tinvest_instruments_pb.GetDividendsRequest,
|
|
992
|
+
api_tinvest_instruments_pb.GetDividendsResponse,
|
|
993
|
+
(request: api_tinvest_instruments_pb.GetDividendsRequest) => {
|
|
994
994
|
return request.serializeBinary();
|
|
995
995
|
},
|
|
996
|
-
|
|
996
|
+
api_tinvest_instruments_pb.GetDividendsResponse.deserializeBinary
|
|
997
997
|
);
|
|
998
998
|
|
|
999
999
|
getDividends(
|
|
1000
|
-
request:
|
|
1001
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1000
|
+
request: api_tinvest_instruments_pb.GetDividendsRequest,
|
|
1001
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetDividendsResponse>;
|
|
1002
1002
|
|
|
1003
1003
|
getDividends(
|
|
1004
|
-
request:
|
|
1004
|
+
request: api_tinvest_instruments_pb.GetDividendsRequest,
|
|
1005
1005
|
metadata: grpcWeb.Metadata | null,
|
|
1006
1006
|
callback: (err: grpcWeb.RpcError,
|
|
1007
|
-
response:
|
|
1007
|
+
response: api_tinvest_instruments_pb.GetDividendsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetDividendsResponse>;
|
|
1008
1008
|
|
|
1009
1009
|
getDividends(
|
|
1010
|
-
request:
|
|
1010
|
+
request: api_tinvest_instruments_pb.GetDividendsRequest,
|
|
1011
1011
|
metadata?: grpcWeb.Metadata | null,
|
|
1012
1012
|
callback?: (err: grpcWeb.RpcError,
|
|
1013
|
-
response:
|
|
1013
|
+
response: api_tinvest_instruments_pb.GetDividendsResponse) => void) {
|
|
1014
1014
|
if (callback !== undefined) {
|
|
1015
1015
|
return this.client_.rpcCall(
|
|
1016
1016
|
this.hostname_ +
|
|
@@ -1031,29 +1031,29 @@ export class InstrumentsServiceClient {
|
|
|
1031
1031
|
methodDescriptorGetAssetBy = new grpcWeb.MethodDescriptor(
|
|
1032
1032
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetBy',
|
|
1033
1033
|
grpcWeb.MethodType.UNARY,
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
(request:
|
|
1034
|
+
api_tinvest_instruments_pb.AssetRequest,
|
|
1035
|
+
api_tinvest_instruments_pb.AssetResponse,
|
|
1036
|
+
(request: api_tinvest_instruments_pb.AssetRequest) => {
|
|
1037
1037
|
return request.serializeBinary();
|
|
1038
1038
|
},
|
|
1039
|
-
|
|
1039
|
+
api_tinvest_instruments_pb.AssetResponse.deserializeBinary
|
|
1040
1040
|
);
|
|
1041
1041
|
|
|
1042
1042
|
getAssetBy(
|
|
1043
|
-
request:
|
|
1044
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1043
|
+
request: api_tinvest_instruments_pb.AssetRequest,
|
|
1044
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.AssetResponse>;
|
|
1045
1045
|
|
|
1046
1046
|
getAssetBy(
|
|
1047
|
-
request:
|
|
1047
|
+
request: api_tinvest_instruments_pb.AssetRequest,
|
|
1048
1048
|
metadata: grpcWeb.Metadata | null,
|
|
1049
1049
|
callback: (err: grpcWeb.RpcError,
|
|
1050
|
-
response:
|
|
1050
|
+
response: api_tinvest_instruments_pb.AssetResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.AssetResponse>;
|
|
1051
1051
|
|
|
1052
1052
|
getAssetBy(
|
|
1053
|
-
request:
|
|
1053
|
+
request: api_tinvest_instruments_pb.AssetRequest,
|
|
1054
1054
|
metadata?: grpcWeb.Metadata | null,
|
|
1055
1055
|
callback?: (err: grpcWeb.RpcError,
|
|
1056
|
-
response:
|
|
1056
|
+
response: api_tinvest_instruments_pb.AssetResponse) => void) {
|
|
1057
1057
|
if (callback !== undefined) {
|
|
1058
1058
|
return this.client_.rpcCall(
|
|
1059
1059
|
this.hostname_ +
|
|
@@ -1074,29 +1074,29 @@ export class InstrumentsServiceClient {
|
|
|
1074
1074
|
methodDescriptorGetAssets = new grpcWeb.MethodDescriptor(
|
|
1075
1075
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssets',
|
|
1076
1076
|
grpcWeb.MethodType.UNARY,
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
(request:
|
|
1077
|
+
api_tinvest_instruments_pb.AssetsRequest,
|
|
1078
|
+
api_tinvest_instruments_pb.AssetsResponse,
|
|
1079
|
+
(request: api_tinvest_instruments_pb.AssetsRequest) => {
|
|
1080
1080
|
return request.serializeBinary();
|
|
1081
1081
|
},
|
|
1082
|
-
|
|
1082
|
+
api_tinvest_instruments_pb.AssetsResponse.deserializeBinary
|
|
1083
1083
|
);
|
|
1084
1084
|
|
|
1085
1085
|
getAssets(
|
|
1086
|
-
request:
|
|
1087
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1086
|
+
request: api_tinvest_instruments_pb.AssetsRequest,
|
|
1087
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.AssetsResponse>;
|
|
1088
1088
|
|
|
1089
1089
|
getAssets(
|
|
1090
|
-
request:
|
|
1090
|
+
request: api_tinvest_instruments_pb.AssetsRequest,
|
|
1091
1091
|
metadata: grpcWeb.Metadata | null,
|
|
1092
1092
|
callback: (err: grpcWeb.RpcError,
|
|
1093
|
-
response:
|
|
1093
|
+
response: api_tinvest_instruments_pb.AssetsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.AssetsResponse>;
|
|
1094
1094
|
|
|
1095
1095
|
getAssets(
|
|
1096
|
-
request:
|
|
1096
|
+
request: api_tinvest_instruments_pb.AssetsRequest,
|
|
1097
1097
|
metadata?: grpcWeb.Metadata | null,
|
|
1098
1098
|
callback?: (err: grpcWeb.RpcError,
|
|
1099
|
-
response:
|
|
1099
|
+
response: api_tinvest_instruments_pb.AssetsResponse) => void) {
|
|
1100
1100
|
if (callback !== undefined) {
|
|
1101
1101
|
return this.client_.rpcCall(
|
|
1102
1102
|
this.hostname_ +
|
|
@@ -1117,29 +1117,29 @@ export class InstrumentsServiceClient {
|
|
|
1117
1117
|
methodDescriptorGetFavorites = new grpcWeb.MethodDescriptor(
|
|
1118
1118
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFavorites',
|
|
1119
1119
|
grpcWeb.MethodType.UNARY,
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
(request:
|
|
1120
|
+
api_tinvest_instruments_pb.GetFavoritesRequest,
|
|
1121
|
+
api_tinvest_instruments_pb.GetFavoritesResponse,
|
|
1122
|
+
(request: api_tinvest_instruments_pb.GetFavoritesRequest) => {
|
|
1123
1123
|
return request.serializeBinary();
|
|
1124
1124
|
},
|
|
1125
|
-
|
|
1125
|
+
api_tinvest_instruments_pb.GetFavoritesResponse.deserializeBinary
|
|
1126
1126
|
);
|
|
1127
1127
|
|
|
1128
1128
|
getFavorites(
|
|
1129
|
-
request:
|
|
1130
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1129
|
+
request: api_tinvest_instruments_pb.GetFavoritesRequest,
|
|
1130
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetFavoritesResponse>;
|
|
1131
1131
|
|
|
1132
1132
|
getFavorites(
|
|
1133
|
-
request:
|
|
1133
|
+
request: api_tinvest_instruments_pb.GetFavoritesRequest,
|
|
1134
1134
|
metadata: grpcWeb.Metadata | null,
|
|
1135
1135
|
callback: (err: grpcWeb.RpcError,
|
|
1136
|
-
response:
|
|
1136
|
+
response: api_tinvest_instruments_pb.GetFavoritesResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetFavoritesResponse>;
|
|
1137
1137
|
|
|
1138
1138
|
getFavorites(
|
|
1139
|
-
request:
|
|
1139
|
+
request: api_tinvest_instruments_pb.GetFavoritesRequest,
|
|
1140
1140
|
metadata?: grpcWeb.Metadata | null,
|
|
1141
1141
|
callback?: (err: grpcWeb.RpcError,
|
|
1142
|
-
response:
|
|
1142
|
+
response: api_tinvest_instruments_pb.GetFavoritesResponse) => void) {
|
|
1143
1143
|
if (callback !== undefined) {
|
|
1144
1144
|
return this.client_.rpcCall(
|
|
1145
1145
|
this.hostname_ +
|
|
@@ -1160,29 +1160,29 @@ export class InstrumentsServiceClient {
|
|
|
1160
1160
|
methodDescriptorEditFavorites = new grpcWeb.MethodDescriptor(
|
|
1161
1161
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/EditFavorites',
|
|
1162
1162
|
grpcWeb.MethodType.UNARY,
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
(request:
|
|
1163
|
+
api_tinvest_instruments_pb.EditFavoritesRequest,
|
|
1164
|
+
api_tinvest_instruments_pb.EditFavoritesResponse,
|
|
1165
|
+
(request: api_tinvest_instruments_pb.EditFavoritesRequest) => {
|
|
1166
1166
|
return request.serializeBinary();
|
|
1167
1167
|
},
|
|
1168
|
-
|
|
1168
|
+
api_tinvest_instruments_pb.EditFavoritesResponse.deserializeBinary
|
|
1169
1169
|
);
|
|
1170
1170
|
|
|
1171
1171
|
editFavorites(
|
|
1172
|
-
request:
|
|
1173
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1172
|
+
request: api_tinvest_instruments_pb.EditFavoritesRequest,
|
|
1173
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.EditFavoritesResponse>;
|
|
1174
1174
|
|
|
1175
1175
|
editFavorites(
|
|
1176
|
-
request:
|
|
1176
|
+
request: api_tinvest_instruments_pb.EditFavoritesRequest,
|
|
1177
1177
|
metadata: grpcWeb.Metadata | null,
|
|
1178
1178
|
callback: (err: grpcWeb.RpcError,
|
|
1179
|
-
response:
|
|
1179
|
+
response: api_tinvest_instruments_pb.EditFavoritesResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.EditFavoritesResponse>;
|
|
1180
1180
|
|
|
1181
1181
|
editFavorites(
|
|
1182
|
-
request:
|
|
1182
|
+
request: api_tinvest_instruments_pb.EditFavoritesRequest,
|
|
1183
1183
|
metadata?: grpcWeb.Metadata | null,
|
|
1184
1184
|
callback?: (err: grpcWeb.RpcError,
|
|
1185
|
-
response:
|
|
1185
|
+
response: api_tinvest_instruments_pb.EditFavoritesResponse) => void) {
|
|
1186
1186
|
if (callback !== undefined) {
|
|
1187
1187
|
return this.client_.rpcCall(
|
|
1188
1188
|
this.hostname_ +
|
|
@@ -1203,29 +1203,29 @@ export class InstrumentsServiceClient {
|
|
|
1203
1203
|
methodDescriptorCreateFavoriteGroup = new grpcWeb.MethodDescriptor(
|
|
1204
1204
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/CreateFavoriteGroup',
|
|
1205
1205
|
grpcWeb.MethodType.UNARY,
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
(request:
|
|
1206
|
+
api_tinvest_instruments_pb.CreateFavoriteGroupRequest,
|
|
1207
|
+
api_tinvest_instruments_pb.CreateFavoriteGroupResponse,
|
|
1208
|
+
(request: api_tinvest_instruments_pb.CreateFavoriteGroupRequest) => {
|
|
1209
1209
|
return request.serializeBinary();
|
|
1210
1210
|
},
|
|
1211
|
-
|
|
1211
|
+
api_tinvest_instruments_pb.CreateFavoriteGroupResponse.deserializeBinary
|
|
1212
1212
|
);
|
|
1213
1213
|
|
|
1214
1214
|
createFavoriteGroup(
|
|
1215
|
-
request:
|
|
1216
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1215
|
+
request: api_tinvest_instruments_pb.CreateFavoriteGroupRequest,
|
|
1216
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.CreateFavoriteGroupResponse>;
|
|
1217
1217
|
|
|
1218
1218
|
createFavoriteGroup(
|
|
1219
|
-
request:
|
|
1219
|
+
request: api_tinvest_instruments_pb.CreateFavoriteGroupRequest,
|
|
1220
1220
|
metadata: grpcWeb.Metadata | null,
|
|
1221
1221
|
callback: (err: grpcWeb.RpcError,
|
|
1222
|
-
response:
|
|
1222
|
+
response: api_tinvest_instruments_pb.CreateFavoriteGroupResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.CreateFavoriteGroupResponse>;
|
|
1223
1223
|
|
|
1224
1224
|
createFavoriteGroup(
|
|
1225
|
-
request:
|
|
1225
|
+
request: api_tinvest_instruments_pb.CreateFavoriteGroupRequest,
|
|
1226
1226
|
metadata?: grpcWeb.Metadata | null,
|
|
1227
1227
|
callback?: (err: grpcWeb.RpcError,
|
|
1228
|
-
response:
|
|
1228
|
+
response: api_tinvest_instruments_pb.CreateFavoriteGroupResponse) => void) {
|
|
1229
1229
|
if (callback !== undefined) {
|
|
1230
1230
|
return this.client_.rpcCall(
|
|
1231
1231
|
this.hostname_ +
|
|
@@ -1246,29 +1246,29 @@ export class InstrumentsServiceClient {
|
|
|
1246
1246
|
methodDescriptorDeleteFavoriteGroup = new grpcWeb.MethodDescriptor(
|
|
1247
1247
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/DeleteFavoriteGroup',
|
|
1248
1248
|
grpcWeb.MethodType.UNARY,
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
(request:
|
|
1249
|
+
api_tinvest_instruments_pb.DeleteFavoriteGroupRequest,
|
|
1250
|
+
api_tinvest_instruments_pb.DeleteFavoriteGroupResponse,
|
|
1251
|
+
(request: api_tinvest_instruments_pb.DeleteFavoriteGroupRequest) => {
|
|
1252
1252
|
return request.serializeBinary();
|
|
1253
1253
|
},
|
|
1254
|
-
|
|
1254
|
+
api_tinvest_instruments_pb.DeleteFavoriteGroupResponse.deserializeBinary
|
|
1255
1255
|
);
|
|
1256
1256
|
|
|
1257
1257
|
deleteFavoriteGroup(
|
|
1258
|
-
request:
|
|
1259
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1258
|
+
request: api_tinvest_instruments_pb.DeleteFavoriteGroupRequest,
|
|
1259
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.DeleteFavoriteGroupResponse>;
|
|
1260
1260
|
|
|
1261
1261
|
deleteFavoriteGroup(
|
|
1262
|
-
request:
|
|
1262
|
+
request: api_tinvest_instruments_pb.DeleteFavoriteGroupRequest,
|
|
1263
1263
|
metadata: grpcWeb.Metadata | null,
|
|
1264
1264
|
callback: (err: grpcWeb.RpcError,
|
|
1265
|
-
response:
|
|
1265
|
+
response: api_tinvest_instruments_pb.DeleteFavoriteGroupResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.DeleteFavoriteGroupResponse>;
|
|
1266
1266
|
|
|
1267
1267
|
deleteFavoriteGroup(
|
|
1268
|
-
request:
|
|
1268
|
+
request: api_tinvest_instruments_pb.DeleteFavoriteGroupRequest,
|
|
1269
1269
|
metadata?: grpcWeb.Metadata | null,
|
|
1270
1270
|
callback?: (err: grpcWeb.RpcError,
|
|
1271
|
-
response:
|
|
1271
|
+
response: api_tinvest_instruments_pb.DeleteFavoriteGroupResponse) => void) {
|
|
1272
1272
|
if (callback !== undefined) {
|
|
1273
1273
|
return this.client_.rpcCall(
|
|
1274
1274
|
this.hostname_ +
|
|
@@ -1289,29 +1289,29 @@ export class InstrumentsServiceClient {
|
|
|
1289
1289
|
methodDescriptorGetFavoriteGroups = new grpcWeb.MethodDescriptor(
|
|
1290
1290
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetFavoriteGroups',
|
|
1291
1291
|
grpcWeb.MethodType.UNARY,
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
(request:
|
|
1292
|
+
api_tinvest_instruments_pb.GetFavoriteGroupsRequest,
|
|
1293
|
+
api_tinvest_instruments_pb.GetFavoriteGroupsResponse,
|
|
1294
|
+
(request: api_tinvest_instruments_pb.GetFavoriteGroupsRequest) => {
|
|
1295
1295
|
return request.serializeBinary();
|
|
1296
1296
|
},
|
|
1297
|
-
|
|
1297
|
+
api_tinvest_instruments_pb.GetFavoriteGroupsResponse.deserializeBinary
|
|
1298
1298
|
);
|
|
1299
1299
|
|
|
1300
1300
|
getFavoriteGroups(
|
|
1301
|
-
request:
|
|
1302
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1301
|
+
request: api_tinvest_instruments_pb.GetFavoriteGroupsRequest,
|
|
1302
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetFavoriteGroupsResponse>;
|
|
1303
1303
|
|
|
1304
1304
|
getFavoriteGroups(
|
|
1305
|
-
request:
|
|
1305
|
+
request: api_tinvest_instruments_pb.GetFavoriteGroupsRequest,
|
|
1306
1306
|
metadata: grpcWeb.Metadata | null,
|
|
1307
1307
|
callback: (err: grpcWeb.RpcError,
|
|
1308
|
-
response:
|
|
1308
|
+
response: api_tinvest_instruments_pb.GetFavoriteGroupsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetFavoriteGroupsResponse>;
|
|
1309
1309
|
|
|
1310
1310
|
getFavoriteGroups(
|
|
1311
|
-
request:
|
|
1311
|
+
request: api_tinvest_instruments_pb.GetFavoriteGroupsRequest,
|
|
1312
1312
|
metadata?: grpcWeb.Metadata | null,
|
|
1313
1313
|
callback?: (err: grpcWeb.RpcError,
|
|
1314
|
-
response:
|
|
1314
|
+
response: api_tinvest_instruments_pb.GetFavoriteGroupsResponse) => void) {
|
|
1315
1315
|
if (callback !== undefined) {
|
|
1316
1316
|
return this.client_.rpcCall(
|
|
1317
1317
|
this.hostname_ +
|
|
@@ -1332,29 +1332,29 @@ export class InstrumentsServiceClient {
|
|
|
1332
1332
|
methodDescriptorGetCountries = new grpcWeb.MethodDescriptor(
|
|
1333
1333
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetCountries',
|
|
1334
1334
|
grpcWeb.MethodType.UNARY,
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
(request:
|
|
1335
|
+
api_tinvest_instruments_pb.GetCountriesRequest,
|
|
1336
|
+
api_tinvest_instruments_pb.GetCountriesResponse,
|
|
1337
|
+
(request: api_tinvest_instruments_pb.GetCountriesRequest) => {
|
|
1338
1338
|
return request.serializeBinary();
|
|
1339
1339
|
},
|
|
1340
|
-
|
|
1340
|
+
api_tinvest_instruments_pb.GetCountriesResponse.deserializeBinary
|
|
1341
1341
|
);
|
|
1342
1342
|
|
|
1343
1343
|
getCountries(
|
|
1344
|
-
request:
|
|
1345
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1344
|
+
request: api_tinvest_instruments_pb.GetCountriesRequest,
|
|
1345
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetCountriesResponse>;
|
|
1346
1346
|
|
|
1347
1347
|
getCountries(
|
|
1348
|
-
request:
|
|
1348
|
+
request: api_tinvest_instruments_pb.GetCountriesRequest,
|
|
1349
1349
|
metadata: grpcWeb.Metadata | null,
|
|
1350
1350
|
callback: (err: grpcWeb.RpcError,
|
|
1351
|
-
response:
|
|
1351
|
+
response: api_tinvest_instruments_pb.GetCountriesResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetCountriesResponse>;
|
|
1352
1352
|
|
|
1353
1353
|
getCountries(
|
|
1354
|
-
request:
|
|
1354
|
+
request: api_tinvest_instruments_pb.GetCountriesRequest,
|
|
1355
1355
|
metadata?: grpcWeb.Metadata | null,
|
|
1356
1356
|
callback?: (err: grpcWeb.RpcError,
|
|
1357
|
-
response:
|
|
1357
|
+
response: api_tinvest_instruments_pb.GetCountriesResponse) => void) {
|
|
1358
1358
|
if (callback !== undefined) {
|
|
1359
1359
|
return this.client_.rpcCall(
|
|
1360
1360
|
this.hostname_ +
|
|
@@ -1375,29 +1375,29 @@ export class InstrumentsServiceClient {
|
|
|
1375
1375
|
methodDescriptorFindInstrument = new grpcWeb.MethodDescriptor(
|
|
1376
1376
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/FindInstrument',
|
|
1377
1377
|
grpcWeb.MethodType.UNARY,
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
(request:
|
|
1378
|
+
api_tinvest_instruments_pb.FindInstrumentRequest,
|
|
1379
|
+
api_tinvest_instruments_pb.FindInstrumentResponse,
|
|
1380
|
+
(request: api_tinvest_instruments_pb.FindInstrumentRequest) => {
|
|
1381
1381
|
return request.serializeBinary();
|
|
1382
1382
|
},
|
|
1383
|
-
|
|
1383
|
+
api_tinvest_instruments_pb.FindInstrumentResponse.deserializeBinary
|
|
1384
1384
|
);
|
|
1385
1385
|
|
|
1386
1386
|
findInstrument(
|
|
1387
|
-
request:
|
|
1388
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1387
|
+
request: api_tinvest_instruments_pb.FindInstrumentRequest,
|
|
1388
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.FindInstrumentResponse>;
|
|
1389
1389
|
|
|
1390
1390
|
findInstrument(
|
|
1391
|
-
request:
|
|
1391
|
+
request: api_tinvest_instruments_pb.FindInstrumentRequest,
|
|
1392
1392
|
metadata: grpcWeb.Metadata | null,
|
|
1393
1393
|
callback: (err: grpcWeb.RpcError,
|
|
1394
|
-
response:
|
|
1394
|
+
response: api_tinvest_instruments_pb.FindInstrumentResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.FindInstrumentResponse>;
|
|
1395
1395
|
|
|
1396
1396
|
findInstrument(
|
|
1397
|
-
request:
|
|
1397
|
+
request: api_tinvest_instruments_pb.FindInstrumentRequest,
|
|
1398
1398
|
metadata?: grpcWeb.Metadata | null,
|
|
1399
1399
|
callback?: (err: grpcWeb.RpcError,
|
|
1400
|
-
response:
|
|
1400
|
+
response: api_tinvest_instruments_pb.FindInstrumentResponse) => void) {
|
|
1401
1401
|
if (callback !== undefined) {
|
|
1402
1402
|
return this.client_.rpcCall(
|
|
1403
1403
|
this.hostname_ +
|
|
@@ -1418,29 +1418,29 @@ export class InstrumentsServiceClient {
|
|
|
1418
1418
|
methodDescriptorGetBrands = new grpcWeb.MethodDescriptor(
|
|
1419
1419
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBrands',
|
|
1420
1420
|
grpcWeb.MethodType.UNARY,
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
(request:
|
|
1421
|
+
api_tinvest_instruments_pb.GetBrandsRequest,
|
|
1422
|
+
api_tinvest_instruments_pb.GetBrandsResponse,
|
|
1423
|
+
(request: api_tinvest_instruments_pb.GetBrandsRequest) => {
|
|
1424
1424
|
return request.serializeBinary();
|
|
1425
1425
|
},
|
|
1426
|
-
|
|
1426
|
+
api_tinvest_instruments_pb.GetBrandsResponse.deserializeBinary
|
|
1427
1427
|
);
|
|
1428
1428
|
|
|
1429
1429
|
getBrands(
|
|
1430
|
-
request:
|
|
1431
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1430
|
+
request: api_tinvest_instruments_pb.GetBrandsRequest,
|
|
1431
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetBrandsResponse>;
|
|
1432
1432
|
|
|
1433
1433
|
getBrands(
|
|
1434
|
-
request:
|
|
1434
|
+
request: api_tinvest_instruments_pb.GetBrandsRequest,
|
|
1435
1435
|
metadata: grpcWeb.Metadata | null,
|
|
1436
1436
|
callback: (err: grpcWeb.RpcError,
|
|
1437
|
-
response:
|
|
1437
|
+
response: api_tinvest_instruments_pb.GetBrandsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetBrandsResponse>;
|
|
1438
1438
|
|
|
1439
1439
|
getBrands(
|
|
1440
|
-
request:
|
|
1440
|
+
request: api_tinvest_instruments_pb.GetBrandsRequest,
|
|
1441
1441
|
metadata?: grpcWeb.Metadata | null,
|
|
1442
1442
|
callback?: (err: grpcWeb.RpcError,
|
|
1443
|
-
response:
|
|
1443
|
+
response: api_tinvest_instruments_pb.GetBrandsResponse) => void) {
|
|
1444
1444
|
if (callback !== undefined) {
|
|
1445
1445
|
return this.client_.rpcCall(
|
|
1446
1446
|
this.hostname_ +
|
|
@@ -1461,29 +1461,29 @@ export class InstrumentsServiceClient {
|
|
|
1461
1461
|
methodDescriptorGetBrandBy = new grpcWeb.MethodDescriptor(
|
|
1462
1462
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetBrandBy',
|
|
1463
1463
|
grpcWeb.MethodType.UNARY,
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
(request:
|
|
1464
|
+
api_tinvest_instruments_pb.GetBrandRequest,
|
|
1465
|
+
api_tinvest_instruments_pb.Brand,
|
|
1466
|
+
(request: api_tinvest_instruments_pb.GetBrandRequest) => {
|
|
1467
1467
|
return request.serializeBinary();
|
|
1468
1468
|
},
|
|
1469
|
-
|
|
1469
|
+
api_tinvest_instruments_pb.Brand.deserializeBinary
|
|
1470
1470
|
);
|
|
1471
1471
|
|
|
1472
1472
|
getBrandBy(
|
|
1473
|
-
request:
|
|
1474
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1473
|
+
request: api_tinvest_instruments_pb.GetBrandRequest,
|
|
1474
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.Brand>;
|
|
1475
1475
|
|
|
1476
1476
|
getBrandBy(
|
|
1477
|
-
request:
|
|
1477
|
+
request: api_tinvest_instruments_pb.GetBrandRequest,
|
|
1478
1478
|
metadata: grpcWeb.Metadata | null,
|
|
1479
1479
|
callback: (err: grpcWeb.RpcError,
|
|
1480
|
-
response:
|
|
1480
|
+
response: api_tinvest_instruments_pb.Brand) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.Brand>;
|
|
1481
1481
|
|
|
1482
1482
|
getBrandBy(
|
|
1483
|
-
request:
|
|
1483
|
+
request: api_tinvest_instruments_pb.GetBrandRequest,
|
|
1484
1484
|
metadata?: grpcWeb.Metadata | null,
|
|
1485
1485
|
callback?: (err: grpcWeb.RpcError,
|
|
1486
|
-
response:
|
|
1486
|
+
response: api_tinvest_instruments_pb.Brand) => void) {
|
|
1487
1487
|
if (callback !== undefined) {
|
|
1488
1488
|
return this.client_.rpcCall(
|
|
1489
1489
|
this.hostname_ +
|
|
@@ -1504,29 +1504,29 @@ export class InstrumentsServiceClient {
|
|
|
1504
1504
|
methodDescriptorGetAssetFundamentals = new grpcWeb.MethodDescriptor(
|
|
1505
1505
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetFundamentals',
|
|
1506
1506
|
grpcWeb.MethodType.UNARY,
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
(request:
|
|
1507
|
+
api_tinvest_instruments_pb.GetAssetFundamentalsRequest,
|
|
1508
|
+
api_tinvest_instruments_pb.GetAssetFundamentalsResponse,
|
|
1509
|
+
(request: api_tinvest_instruments_pb.GetAssetFundamentalsRequest) => {
|
|
1510
1510
|
return request.serializeBinary();
|
|
1511
1511
|
},
|
|
1512
|
-
|
|
1512
|
+
api_tinvest_instruments_pb.GetAssetFundamentalsResponse.deserializeBinary
|
|
1513
1513
|
);
|
|
1514
1514
|
|
|
1515
1515
|
getAssetFundamentals(
|
|
1516
|
-
request:
|
|
1517
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1516
|
+
request: api_tinvest_instruments_pb.GetAssetFundamentalsRequest,
|
|
1517
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetAssetFundamentalsResponse>;
|
|
1518
1518
|
|
|
1519
1519
|
getAssetFundamentals(
|
|
1520
|
-
request:
|
|
1520
|
+
request: api_tinvest_instruments_pb.GetAssetFundamentalsRequest,
|
|
1521
1521
|
metadata: grpcWeb.Metadata | null,
|
|
1522
1522
|
callback: (err: grpcWeb.RpcError,
|
|
1523
|
-
response:
|
|
1523
|
+
response: api_tinvest_instruments_pb.GetAssetFundamentalsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetAssetFundamentalsResponse>;
|
|
1524
1524
|
|
|
1525
1525
|
getAssetFundamentals(
|
|
1526
|
-
request:
|
|
1526
|
+
request: api_tinvest_instruments_pb.GetAssetFundamentalsRequest,
|
|
1527
1527
|
metadata?: grpcWeb.Metadata | null,
|
|
1528
1528
|
callback?: (err: grpcWeb.RpcError,
|
|
1529
|
-
response:
|
|
1529
|
+
response: api_tinvest_instruments_pb.GetAssetFundamentalsResponse) => void) {
|
|
1530
1530
|
if (callback !== undefined) {
|
|
1531
1531
|
return this.client_.rpcCall(
|
|
1532
1532
|
this.hostname_ +
|
|
@@ -1547,29 +1547,29 @@ export class InstrumentsServiceClient {
|
|
|
1547
1547
|
methodDescriptorGetAssetReports = new grpcWeb.MethodDescriptor(
|
|
1548
1548
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetAssetReports',
|
|
1549
1549
|
grpcWeb.MethodType.UNARY,
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
(request:
|
|
1550
|
+
api_tinvest_instruments_pb.GetAssetReportsRequest,
|
|
1551
|
+
api_tinvest_instruments_pb.GetAssetReportsResponse,
|
|
1552
|
+
(request: api_tinvest_instruments_pb.GetAssetReportsRequest) => {
|
|
1553
1553
|
return request.serializeBinary();
|
|
1554
1554
|
},
|
|
1555
|
-
|
|
1555
|
+
api_tinvest_instruments_pb.GetAssetReportsResponse.deserializeBinary
|
|
1556
1556
|
);
|
|
1557
1557
|
|
|
1558
1558
|
getAssetReports(
|
|
1559
|
-
request:
|
|
1560
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1559
|
+
request: api_tinvest_instruments_pb.GetAssetReportsRequest,
|
|
1560
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetAssetReportsResponse>;
|
|
1561
1561
|
|
|
1562
1562
|
getAssetReports(
|
|
1563
|
-
request:
|
|
1563
|
+
request: api_tinvest_instruments_pb.GetAssetReportsRequest,
|
|
1564
1564
|
metadata: grpcWeb.Metadata | null,
|
|
1565
1565
|
callback: (err: grpcWeb.RpcError,
|
|
1566
|
-
response:
|
|
1566
|
+
response: api_tinvest_instruments_pb.GetAssetReportsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetAssetReportsResponse>;
|
|
1567
1567
|
|
|
1568
1568
|
getAssetReports(
|
|
1569
|
-
request:
|
|
1569
|
+
request: api_tinvest_instruments_pb.GetAssetReportsRequest,
|
|
1570
1570
|
metadata?: grpcWeb.Metadata | null,
|
|
1571
1571
|
callback?: (err: grpcWeb.RpcError,
|
|
1572
|
-
response:
|
|
1572
|
+
response: api_tinvest_instruments_pb.GetAssetReportsResponse) => void) {
|
|
1573
1573
|
if (callback !== undefined) {
|
|
1574
1574
|
return this.client_.rpcCall(
|
|
1575
1575
|
this.hostname_ +
|
|
@@ -1590,29 +1590,29 @@ export class InstrumentsServiceClient {
|
|
|
1590
1590
|
methodDescriptorGetConsensusForecasts = new grpcWeb.MethodDescriptor(
|
|
1591
1591
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetConsensusForecasts',
|
|
1592
1592
|
grpcWeb.MethodType.UNARY,
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
(request:
|
|
1593
|
+
api_tinvest_instruments_pb.GetConsensusForecastsRequest,
|
|
1594
|
+
api_tinvest_instruments_pb.GetConsensusForecastsResponse,
|
|
1595
|
+
(request: api_tinvest_instruments_pb.GetConsensusForecastsRequest) => {
|
|
1596
1596
|
return request.serializeBinary();
|
|
1597
1597
|
},
|
|
1598
|
-
|
|
1598
|
+
api_tinvest_instruments_pb.GetConsensusForecastsResponse.deserializeBinary
|
|
1599
1599
|
);
|
|
1600
1600
|
|
|
1601
1601
|
getConsensusForecasts(
|
|
1602
|
-
request:
|
|
1603
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1602
|
+
request: api_tinvest_instruments_pb.GetConsensusForecastsRequest,
|
|
1603
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetConsensusForecastsResponse>;
|
|
1604
1604
|
|
|
1605
1605
|
getConsensusForecasts(
|
|
1606
|
-
request:
|
|
1606
|
+
request: api_tinvest_instruments_pb.GetConsensusForecastsRequest,
|
|
1607
1607
|
metadata: grpcWeb.Metadata | null,
|
|
1608
1608
|
callback: (err: grpcWeb.RpcError,
|
|
1609
|
-
response:
|
|
1609
|
+
response: api_tinvest_instruments_pb.GetConsensusForecastsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetConsensusForecastsResponse>;
|
|
1610
1610
|
|
|
1611
1611
|
getConsensusForecasts(
|
|
1612
|
-
request:
|
|
1612
|
+
request: api_tinvest_instruments_pb.GetConsensusForecastsRequest,
|
|
1613
1613
|
metadata?: grpcWeb.Metadata | null,
|
|
1614
1614
|
callback?: (err: grpcWeb.RpcError,
|
|
1615
|
-
response:
|
|
1615
|
+
response: api_tinvest_instruments_pb.GetConsensusForecastsResponse) => void) {
|
|
1616
1616
|
if (callback !== undefined) {
|
|
1617
1617
|
return this.client_.rpcCall(
|
|
1618
1618
|
this.hostname_ +
|
|
@@ -1633,29 +1633,29 @@ export class InstrumentsServiceClient {
|
|
|
1633
1633
|
methodDescriptorGetForecastBy = new grpcWeb.MethodDescriptor(
|
|
1634
1634
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetForecastBy',
|
|
1635
1635
|
grpcWeb.MethodType.UNARY,
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
(request:
|
|
1636
|
+
api_tinvest_instruments_pb.GetForecastRequest,
|
|
1637
|
+
api_tinvest_instruments_pb.GetForecastResponse,
|
|
1638
|
+
(request: api_tinvest_instruments_pb.GetForecastRequest) => {
|
|
1639
1639
|
return request.serializeBinary();
|
|
1640
1640
|
},
|
|
1641
|
-
|
|
1641
|
+
api_tinvest_instruments_pb.GetForecastResponse.deserializeBinary
|
|
1642
1642
|
);
|
|
1643
1643
|
|
|
1644
1644
|
getForecastBy(
|
|
1645
|
-
request:
|
|
1646
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1645
|
+
request: api_tinvest_instruments_pb.GetForecastRequest,
|
|
1646
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetForecastResponse>;
|
|
1647
1647
|
|
|
1648
1648
|
getForecastBy(
|
|
1649
|
-
request:
|
|
1649
|
+
request: api_tinvest_instruments_pb.GetForecastRequest,
|
|
1650
1650
|
metadata: grpcWeb.Metadata | null,
|
|
1651
1651
|
callback: (err: grpcWeb.RpcError,
|
|
1652
|
-
response:
|
|
1652
|
+
response: api_tinvest_instruments_pb.GetForecastResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetForecastResponse>;
|
|
1653
1653
|
|
|
1654
1654
|
getForecastBy(
|
|
1655
|
-
request:
|
|
1655
|
+
request: api_tinvest_instruments_pb.GetForecastRequest,
|
|
1656
1656
|
metadata?: grpcWeb.Metadata | null,
|
|
1657
1657
|
callback?: (err: grpcWeb.RpcError,
|
|
1658
|
-
response:
|
|
1658
|
+
response: api_tinvest_instruments_pb.GetForecastResponse) => void) {
|
|
1659
1659
|
if (callback !== undefined) {
|
|
1660
1660
|
return this.client_.rpcCall(
|
|
1661
1661
|
this.hostname_ +
|
|
@@ -1676,29 +1676,29 @@ export class InstrumentsServiceClient {
|
|
|
1676
1676
|
methodDescriptorGetRiskRates = new grpcWeb.MethodDescriptor(
|
|
1677
1677
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetRiskRates',
|
|
1678
1678
|
grpcWeb.MethodType.UNARY,
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
(request:
|
|
1679
|
+
api_tinvest_instruments_pb.RiskRatesRequest,
|
|
1680
|
+
api_tinvest_instruments_pb.RiskRatesResponse,
|
|
1681
|
+
(request: api_tinvest_instruments_pb.RiskRatesRequest) => {
|
|
1682
1682
|
return request.serializeBinary();
|
|
1683
1683
|
},
|
|
1684
|
-
|
|
1684
|
+
api_tinvest_instruments_pb.RiskRatesResponse.deserializeBinary
|
|
1685
1685
|
);
|
|
1686
1686
|
|
|
1687
1687
|
getRiskRates(
|
|
1688
|
-
request:
|
|
1689
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1688
|
+
request: api_tinvest_instruments_pb.RiskRatesRequest,
|
|
1689
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.RiskRatesResponse>;
|
|
1690
1690
|
|
|
1691
1691
|
getRiskRates(
|
|
1692
|
-
request:
|
|
1692
|
+
request: api_tinvest_instruments_pb.RiskRatesRequest,
|
|
1693
1693
|
metadata: grpcWeb.Metadata | null,
|
|
1694
1694
|
callback: (err: grpcWeb.RpcError,
|
|
1695
|
-
response:
|
|
1695
|
+
response: api_tinvest_instruments_pb.RiskRatesResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.RiskRatesResponse>;
|
|
1696
1696
|
|
|
1697
1697
|
getRiskRates(
|
|
1698
|
-
request:
|
|
1698
|
+
request: api_tinvest_instruments_pb.RiskRatesRequest,
|
|
1699
1699
|
metadata?: grpcWeb.Metadata | null,
|
|
1700
1700
|
callback?: (err: grpcWeb.RpcError,
|
|
1701
|
-
response:
|
|
1701
|
+
response: api_tinvest_instruments_pb.RiskRatesResponse) => void) {
|
|
1702
1702
|
if (callback !== undefined) {
|
|
1703
1703
|
return this.client_.rpcCall(
|
|
1704
1704
|
this.hostname_ +
|
|
@@ -1719,29 +1719,29 @@ export class InstrumentsServiceClient {
|
|
|
1719
1719
|
methodDescriptorGetInsiderDeals = new grpcWeb.MethodDescriptor(
|
|
1720
1720
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/GetInsiderDeals',
|
|
1721
1721
|
grpcWeb.MethodType.UNARY,
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
(request:
|
|
1722
|
+
api_tinvest_instruments_pb.GetInsiderDealsRequest,
|
|
1723
|
+
api_tinvest_instruments_pb.GetInsiderDealsResponse,
|
|
1724
|
+
(request: api_tinvest_instruments_pb.GetInsiderDealsRequest) => {
|
|
1725
1725
|
return request.serializeBinary();
|
|
1726
1726
|
},
|
|
1727
|
-
|
|
1727
|
+
api_tinvest_instruments_pb.GetInsiderDealsResponse.deserializeBinary
|
|
1728
1728
|
);
|
|
1729
1729
|
|
|
1730
1730
|
getInsiderDeals(
|
|
1731
|
-
request:
|
|
1732
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1731
|
+
request: api_tinvest_instruments_pb.GetInsiderDealsRequest,
|
|
1732
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.GetInsiderDealsResponse>;
|
|
1733
1733
|
|
|
1734
1734
|
getInsiderDeals(
|
|
1735
|
-
request:
|
|
1735
|
+
request: api_tinvest_instruments_pb.GetInsiderDealsRequest,
|
|
1736
1736
|
metadata: grpcWeb.Metadata | null,
|
|
1737
1737
|
callback: (err: grpcWeb.RpcError,
|
|
1738
|
-
response:
|
|
1738
|
+
response: api_tinvest_instruments_pb.GetInsiderDealsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.GetInsiderDealsResponse>;
|
|
1739
1739
|
|
|
1740
1740
|
getInsiderDeals(
|
|
1741
|
-
request:
|
|
1741
|
+
request: api_tinvest_instruments_pb.GetInsiderDealsRequest,
|
|
1742
1742
|
metadata?: grpcWeb.Metadata | null,
|
|
1743
1743
|
callback?: (err: grpcWeb.RpcError,
|
|
1744
|
-
response:
|
|
1744
|
+
response: api_tinvest_instruments_pb.GetInsiderDealsResponse) => void) {
|
|
1745
1745
|
if (callback !== undefined) {
|
|
1746
1746
|
return this.client_.rpcCall(
|
|
1747
1747
|
this.hostname_ +
|
|
@@ -1762,29 +1762,29 @@ export class InstrumentsServiceClient {
|
|
|
1762
1762
|
methodDescriptorStructuredNoteBy = new grpcWeb.MethodDescriptor(
|
|
1763
1763
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/StructuredNoteBy',
|
|
1764
1764
|
grpcWeb.MethodType.UNARY,
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
(request:
|
|
1765
|
+
api_tinvest_instruments_pb.InstrumentRequest,
|
|
1766
|
+
api_tinvest_instruments_pb.StructuredNoteResponse,
|
|
1767
|
+
(request: api_tinvest_instruments_pb.InstrumentRequest) => {
|
|
1768
1768
|
return request.serializeBinary();
|
|
1769
1769
|
},
|
|
1770
|
-
|
|
1770
|
+
api_tinvest_instruments_pb.StructuredNoteResponse.deserializeBinary
|
|
1771
1771
|
);
|
|
1772
1772
|
|
|
1773
1773
|
structuredNoteBy(
|
|
1774
|
-
request:
|
|
1775
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1774
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
1775
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.StructuredNoteResponse>;
|
|
1776
1776
|
|
|
1777
1777
|
structuredNoteBy(
|
|
1778
|
-
request:
|
|
1778
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
1779
1779
|
metadata: grpcWeb.Metadata | null,
|
|
1780
1780
|
callback: (err: grpcWeb.RpcError,
|
|
1781
|
-
response:
|
|
1781
|
+
response: api_tinvest_instruments_pb.StructuredNoteResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.StructuredNoteResponse>;
|
|
1782
1782
|
|
|
1783
1783
|
structuredNoteBy(
|
|
1784
|
-
request:
|
|
1784
|
+
request: api_tinvest_instruments_pb.InstrumentRequest,
|
|
1785
1785
|
metadata?: grpcWeb.Metadata | null,
|
|
1786
1786
|
callback?: (err: grpcWeb.RpcError,
|
|
1787
|
-
response:
|
|
1787
|
+
response: api_tinvest_instruments_pb.StructuredNoteResponse) => void) {
|
|
1788
1788
|
if (callback !== undefined) {
|
|
1789
1789
|
return this.client_.rpcCall(
|
|
1790
1790
|
this.hostname_ +
|
|
@@ -1805,29 +1805,29 @@ export class InstrumentsServiceClient {
|
|
|
1805
1805
|
methodDescriptorStructuredNotes = new grpcWeb.MethodDescriptor(
|
|
1806
1806
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/StructuredNotes',
|
|
1807
1807
|
grpcWeb.MethodType.UNARY,
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
(request:
|
|
1808
|
+
api_tinvest_instruments_pb.InstrumentsRequest,
|
|
1809
|
+
api_tinvest_instruments_pb.StructuredNotesResponse,
|
|
1810
|
+
(request: api_tinvest_instruments_pb.InstrumentsRequest) => {
|
|
1811
1811
|
return request.serializeBinary();
|
|
1812
1812
|
},
|
|
1813
|
-
|
|
1813
|
+
api_tinvest_instruments_pb.StructuredNotesResponse.deserializeBinary
|
|
1814
1814
|
);
|
|
1815
1815
|
|
|
1816
1816
|
structuredNotes(
|
|
1817
|
-
request:
|
|
1818
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1817
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
1818
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.StructuredNotesResponse>;
|
|
1819
1819
|
|
|
1820
1820
|
structuredNotes(
|
|
1821
|
-
request:
|
|
1821
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
1822
1822
|
metadata: grpcWeb.Metadata | null,
|
|
1823
1823
|
callback: (err: grpcWeb.RpcError,
|
|
1824
|
-
response:
|
|
1824
|
+
response: api_tinvest_instruments_pb.StructuredNotesResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.StructuredNotesResponse>;
|
|
1825
1825
|
|
|
1826
1826
|
structuredNotes(
|
|
1827
|
-
request:
|
|
1827
|
+
request: api_tinvest_instruments_pb.InstrumentsRequest,
|
|
1828
1828
|
metadata?: grpcWeb.Metadata | null,
|
|
1829
1829
|
callback?: (err: grpcWeb.RpcError,
|
|
1830
|
-
response:
|
|
1830
|
+
response: api_tinvest_instruments_pb.StructuredNotesResponse) => void) {
|
|
1831
1831
|
if (callback !== undefined) {
|
|
1832
1832
|
return this.client_.rpcCall(
|
|
1833
1833
|
this.hostname_ +
|
|
@@ -1848,29 +1848,29 @@ export class InstrumentsServiceClient {
|
|
|
1848
1848
|
methodDescriptorNews = new grpcWeb.MethodDescriptor(
|
|
1849
1849
|
'/tinkoff.public.invest.api.contract.v1.InstrumentsService/News',
|
|
1850
1850
|
grpcWeb.MethodType.UNARY,
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
(request:
|
|
1851
|
+
api_tinvest_instruments_pb.NewsRequest,
|
|
1852
|
+
api_tinvest_instruments_pb.NewsResponse,
|
|
1853
|
+
(request: api_tinvest_instruments_pb.NewsRequest) => {
|
|
1854
1854
|
return request.serializeBinary();
|
|
1855
1855
|
},
|
|
1856
|
-
|
|
1856
|
+
api_tinvest_instruments_pb.NewsResponse.deserializeBinary
|
|
1857
1857
|
);
|
|
1858
1858
|
|
|
1859
1859
|
news(
|
|
1860
|
-
request:
|
|
1861
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
1860
|
+
request: api_tinvest_instruments_pb.NewsRequest,
|
|
1861
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_instruments_pb.NewsResponse>;
|
|
1862
1862
|
|
|
1863
1863
|
news(
|
|
1864
|
-
request:
|
|
1864
|
+
request: api_tinvest_instruments_pb.NewsRequest,
|
|
1865
1865
|
metadata: grpcWeb.Metadata | null,
|
|
1866
1866
|
callback: (err: grpcWeb.RpcError,
|
|
1867
|
-
response:
|
|
1867
|
+
response: api_tinvest_instruments_pb.NewsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_instruments_pb.NewsResponse>;
|
|
1868
1868
|
|
|
1869
1869
|
news(
|
|
1870
|
-
request:
|
|
1870
|
+
request: api_tinvest_instruments_pb.NewsRequest,
|
|
1871
1871
|
metadata?: grpcWeb.Metadata | null,
|
|
1872
1872
|
callback?: (err: grpcWeb.RpcError,
|
|
1873
|
-
response:
|
|
1873
|
+
response: api_tinvest_instruments_pb.NewsResponse) => void) {
|
|
1874
1874
|
if (callback !== undefined) {
|
|
1875
1875
|
return this.client_.rpcCall(
|
|
1876
1876
|
this.hostname_ +
|