@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/sandbox.proto
|
|
11
|
+
// source: api/tinvest/sandbox.proto
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
/* eslint-disable */
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
|
|
18
18
|
import * as grpcWeb from 'grpc-web';
|
|
19
19
|
|
|
20
|
-
import * as
|
|
21
|
-
import * as
|
|
22
|
-
import * as
|
|
23
|
-
import * as
|
|
24
|
-
import * as
|
|
20
|
+
import * as api_tinvest_orders_pb from '../../api/tinvest/orders_pb'; // proto import: "api/tinvest/orders.proto"
|
|
21
|
+
import * as api_tinvest_stoporders_pb from '../../api/tinvest/stoporders_pb'; // proto import: "api/tinvest/stoporders.proto"
|
|
22
|
+
import * as api_tinvest_sandbox_pb from '../../api/tinvest/sandbox_pb'; // proto import: "api/tinvest/sandbox.proto"
|
|
23
|
+
import * as api_tinvest_users_pb from '../../api/tinvest/users_pb'; // proto import: "api/tinvest/users.proto"
|
|
24
|
+
import * as api_tinvest_operations_pb from '../../api/tinvest/operations_pb'; // proto import: "api/tinvest/operations.proto"
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
export class SandboxServiceClient {
|
|
@@ -46,29 +46,29 @@ export class SandboxServiceClient {
|
|
|
46
46
|
methodDescriptorOpenSandboxAccount = new grpcWeb.MethodDescriptor(
|
|
47
47
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/OpenSandboxAccount',
|
|
48
48
|
grpcWeb.MethodType.UNARY,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
(request:
|
|
49
|
+
api_tinvest_sandbox_pb.OpenSandboxAccountRequest,
|
|
50
|
+
api_tinvest_sandbox_pb.OpenSandboxAccountResponse,
|
|
51
|
+
(request: api_tinvest_sandbox_pb.OpenSandboxAccountRequest) => {
|
|
52
52
|
return request.serializeBinary();
|
|
53
53
|
},
|
|
54
|
-
|
|
54
|
+
api_tinvest_sandbox_pb.OpenSandboxAccountResponse.deserializeBinary
|
|
55
55
|
);
|
|
56
56
|
|
|
57
57
|
openSandboxAccount(
|
|
58
|
-
request:
|
|
59
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
58
|
+
request: api_tinvest_sandbox_pb.OpenSandboxAccountRequest,
|
|
59
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_sandbox_pb.OpenSandboxAccountResponse>;
|
|
60
60
|
|
|
61
61
|
openSandboxAccount(
|
|
62
|
-
request:
|
|
62
|
+
request: api_tinvest_sandbox_pb.OpenSandboxAccountRequest,
|
|
63
63
|
metadata: grpcWeb.Metadata | null,
|
|
64
64
|
callback: (err: grpcWeb.RpcError,
|
|
65
|
-
response:
|
|
65
|
+
response: api_tinvest_sandbox_pb.OpenSandboxAccountResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_sandbox_pb.OpenSandboxAccountResponse>;
|
|
66
66
|
|
|
67
67
|
openSandboxAccount(
|
|
68
|
-
request:
|
|
68
|
+
request: api_tinvest_sandbox_pb.OpenSandboxAccountRequest,
|
|
69
69
|
metadata?: grpcWeb.Metadata | null,
|
|
70
70
|
callback?: (err: grpcWeb.RpcError,
|
|
71
|
-
response:
|
|
71
|
+
response: api_tinvest_sandbox_pb.OpenSandboxAccountResponse) => void) {
|
|
72
72
|
if (callback !== undefined) {
|
|
73
73
|
return this.client_.rpcCall(
|
|
74
74
|
this.hostname_ +
|
|
@@ -89,29 +89,29 @@ export class SandboxServiceClient {
|
|
|
89
89
|
methodDescriptorGetSandboxAccounts = new grpcWeb.MethodDescriptor(
|
|
90
90
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxAccounts',
|
|
91
91
|
grpcWeb.MethodType.UNARY,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
(request:
|
|
92
|
+
api_tinvest_users_pb.GetAccountsRequest,
|
|
93
|
+
api_tinvest_users_pb.GetAccountsResponse,
|
|
94
|
+
(request: api_tinvest_users_pb.GetAccountsRequest) => {
|
|
95
95
|
return request.serializeBinary();
|
|
96
96
|
},
|
|
97
|
-
|
|
97
|
+
api_tinvest_users_pb.GetAccountsResponse.deserializeBinary
|
|
98
98
|
);
|
|
99
99
|
|
|
100
100
|
getSandboxAccounts(
|
|
101
|
-
request:
|
|
102
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
101
|
+
request: api_tinvest_users_pb.GetAccountsRequest,
|
|
102
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_users_pb.GetAccountsResponse>;
|
|
103
103
|
|
|
104
104
|
getSandboxAccounts(
|
|
105
|
-
request:
|
|
105
|
+
request: api_tinvest_users_pb.GetAccountsRequest,
|
|
106
106
|
metadata: grpcWeb.Metadata | null,
|
|
107
107
|
callback: (err: grpcWeb.RpcError,
|
|
108
|
-
response:
|
|
108
|
+
response: api_tinvest_users_pb.GetAccountsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_users_pb.GetAccountsResponse>;
|
|
109
109
|
|
|
110
110
|
getSandboxAccounts(
|
|
111
|
-
request:
|
|
111
|
+
request: api_tinvest_users_pb.GetAccountsRequest,
|
|
112
112
|
metadata?: grpcWeb.Metadata | null,
|
|
113
113
|
callback?: (err: grpcWeb.RpcError,
|
|
114
|
-
response:
|
|
114
|
+
response: api_tinvest_users_pb.GetAccountsResponse) => void) {
|
|
115
115
|
if (callback !== undefined) {
|
|
116
116
|
return this.client_.rpcCall(
|
|
117
117
|
this.hostname_ +
|
|
@@ -132,29 +132,29 @@ export class SandboxServiceClient {
|
|
|
132
132
|
methodDescriptorCloseSandboxAccount = new grpcWeb.MethodDescriptor(
|
|
133
133
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/CloseSandboxAccount',
|
|
134
134
|
grpcWeb.MethodType.UNARY,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
(request:
|
|
135
|
+
api_tinvest_sandbox_pb.CloseSandboxAccountRequest,
|
|
136
|
+
api_tinvest_sandbox_pb.CloseSandboxAccountResponse,
|
|
137
|
+
(request: api_tinvest_sandbox_pb.CloseSandboxAccountRequest) => {
|
|
138
138
|
return request.serializeBinary();
|
|
139
139
|
},
|
|
140
|
-
|
|
140
|
+
api_tinvest_sandbox_pb.CloseSandboxAccountResponse.deserializeBinary
|
|
141
141
|
);
|
|
142
142
|
|
|
143
143
|
closeSandboxAccount(
|
|
144
|
-
request:
|
|
145
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
144
|
+
request: api_tinvest_sandbox_pb.CloseSandboxAccountRequest,
|
|
145
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_sandbox_pb.CloseSandboxAccountResponse>;
|
|
146
146
|
|
|
147
147
|
closeSandboxAccount(
|
|
148
|
-
request:
|
|
148
|
+
request: api_tinvest_sandbox_pb.CloseSandboxAccountRequest,
|
|
149
149
|
metadata: grpcWeb.Metadata | null,
|
|
150
150
|
callback: (err: grpcWeb.RpcError,
|
|
151
|
-
response:
|
|
151
|
+
response: api_tinvest_sandbox_pb.CloseSandboxAccountResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_sandbox_pb.CloseSandboxAccountResponse>;
|
|
152
152
|
|
|
153
153
|
closeSandboxAccount(
|
|
154
|
-
request:
|
|
154
|
+
request: api_tinvest_sandbox_pb.CloseSandboxAccountRequest,
|
|
155
155
|
metadata?: grpcWeb.Metadata | null,
|
|
156
156
|
callback?: (err: grpcWeb.RpcError,
|
|
157
|
-
response:
|
|
157
|
+
response: api_tinvest_sandbox_pb.CloseSandboxAccountResponse) => void) {
|
|
158
158
|
if (callback !== undefined) {
|
|
159
159
|
return this.client_.rpcCall(
|
|
160
160
|
this.hostname_ +
|
|
@@ -175,29 +175,29 @@ export class SandboxServiceClient {
|
|
|
175
175
|
methodDescriptorPostSandboxOrder = new grpcWeb.MethodDescriptor(
|
|
176
176
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/PostSandboxOrder',
|
|
177
177
|
grpcWeb.MethodType.UNARY,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
(request:
|
|
178
|
+
api_tinvest_orders_pb.PostOrderRequest,
|
|
179
|
+
api_tinvest_orders_pb.PostOrderResponse,
|
|
180
|
+
(request: api_tinvest_orders_pb.PostOrderRequest) => {
|
|
181
181
|
return request.serializeBinary();
|
|
182
182
|
},
|
|
183
|
-
|
|
183
|
+
api_tinvest_orders_pb.PostOrderResponse.deserializeBinary
|
|
184
184
|
);
|
|
185
185
|
|
|
186
186
|
postSandboxOrder(
|
|
187
|
-
request:
|
|
188
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
187
|
+
request: api_tinvest_orders_pb.PostOrderRequest,
|
|
188
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_orders_pb.PostOrderResponse>;
|
|
189
189
|
|
|
190
190
|
postSandboxOrder(
|
|
191
|
-
request:
|
|
191
|
+
request: api_tinvest_orders_pb.PostOrderRequest,
|
|
192
192
|
metadata: grpcWeb.Metadata | null,
|
|
193
193
|
callback: (err: grpcWeb.RpcError,
|
|
194
|
-
response:
|
|
194
|
+
response: api_tinvest_orders_pb.PostOrderResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_orders_pb.PostOrderResponse>;
|
|
195
195
|
|
|
196
196
|
postSandboxOrder(
|
|
197
|
-
request:
|
|
197
|
+
request: api_tinvest_orders_pb.PostOrderRequest,
|
|
198
198
|
metadata?: grpcWeb.Metadata | null,
|
|
199
199
|
callback?: (err: grpcWeb.RpcError,
|
|
200
|
-
response:
|
|
200
|
+
response: api_tinvest_orders_pb.PostOrderResponse) => void) {
|
|
201
201
|
if (callback !== undefined) {
|
|
202
202
|
return this.client_.rpcCall(
|
|
203
203
|
this.hostname_ +
|
|
@@ -218,29 +218,29 @@ export class SandboxServiceClient {
|
|
|
218
218
|
methodDescriptorPostSandboxOrderAsync = new grpcWeb.MethodDescriptor(
|
|
219
219
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/PostSandboxOrderAsync',
|
|
220
220
|
grpcWeb.MethodType.UNARY,
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
(request:
|
|
221
|
+
api_tinvest_orders_pb.PostOrderAsyncRequest,
|
|
222
|
+
api_tinvest_orders_pb.PostOrderAsyncResponse,
|
|
223
|
+
(request: api_tinvest_orders_pb.PostOrderAsyncRequest) => {
|
|
224
224
|
return request.serializeBinary();
|
|
225
225
|
},
|
|
226
|
-
|
|
226
|
+
api_tinvest_orders_pb.PostOrderAsyncResponse.deserializeBinary
|
|
227
227
|
);
|
|
228
228
|
|
|
229
229
|
postSandboxOrderAsync(
|
|
230
|
-
request:
|
|
231
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
230
|
+
request: api_tinvest_orders_pb.PostOrderAsyncRequest,
|
|
231
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_orders_pb.PostOrderAsyncResponse>;
|
|
232
232
|
|
|
233
233
|
postSandboxOrderAsync(
|
|
234
|
-
request:
|
|
234
|
+
request: api_tinvest_orders_pb.PostOrderAsyncRequest,
|
|
235
235
|
metadata: grpcWeb.Metadata | null,
|
|
236
236
|
callback: (err: grpcWeb.RpcError,
|
|
237
|
-
response:
|
|
237
|
+
response: api_tinvest_orders_pb.PostOrderAsyncResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_orders_pb.PostOrderAsyncResponse>;
|
|
238
238
|
|
|
239
239
|
postSandboxOrderAsync(
|
|
240
|
-
request:
|
|
240
|
+
request: api_tinvest_orders_pb.PostOrderAsyncRequest,
|
|
241
241
|
metadata?: grpcWeb.Metadata | null,
|
|
242
242
|
callback?: (err: grpcWeb.RpcError,
|
|
243
|
-
response:
|
|
243
|
+
response: api_tinvest_orders_pb.PostOrderAsyncResponse) => void) {
|
|
244
244
|
if (callback !== undefined) {
|
|
245
245
|
return this.client_.rpcCall(
|
|
246
246
|
this.hostname_ +
|
|
@@ -261,29 +261,29 @@ export class SandboxServiceClient {
|
|
|
261
261
|
methodDescriptorReplaceSandboxOrder = new grpcWeb.MethodDescriptor(
|
|
262
262
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/ReplaceSandboxOrder',
|
|
263
263
|
grpcWeb.MethodType.UNARY,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
(request:
|
|
264
|
+
api_tinvest_orders_pb.ReplaceOrderRequest,
|
|
265
|
+
api_tinvest_orders_pb.PostOrderResponse,
|
|
266
|
+
(request: api_tinvest_orders_pb.ReplaceOrderRequest) => {
|
|
267
267
|
return request.serializeBinary();
|
|
268
268
|
},
|
|
269
|
-
|
|
269
|
+
api_tinvest_orders_pb.PostOrderResponse.deserializeBinary
|
|
270
270
|
);
|
|
271
271
|
|
|
272
272
|
replaceSandboxOrder(
|
|
273
|
-
request:
|
|
274
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
273
|
+
request: api_tinvest_orders_pb.ReplaceOrderRequest,
|
|
274
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_orders_pb.PostOrderResponse>;
|
|
275
275
|
|
|
276
276
|
replaceSandboxOrder(
|
|
277
|
-
request:
|
|
277
|
+
request: api_tinvest_orders_pb.ReplaceOrderRequest,
|
|
278
278
|
metadata: grpcWeb.Metadata | null,
|
|
279
279
|
callback: (err: grpcWeb.RpcError,
|
|
280
|
-
response:
|
|
280
|
+
response: api_tinvest_orders_pb.PostOrderResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_orders_pb.PostOrderResponse>;
|
|
281
281
|
|
|
282
282
|
replaceSandboxOrder(
|
|
283
|
-
request:
|
|
283
|
+
request: api_tinvest_orders_pb.ReplaceOrderRequest,
|
|
284
284
|
metadata?: grpcWeb.Metadata | null,
|
|
285
285
|
callback?: (err: grpcWeb.RpcError,
|
|
286
|
-
response:
|
|
286
|
+
response: api_tinvest_orders_pb.PostOrderResponse) => void) {
|
|
287
287
|
if (callback !== undefined) {
|
|
288
288
|
return this.client_.rpcCall(
|
|
289
289
|
this.hostname_ +
|
|
@@ -304,29 +304,29 @@ export class SandboxServiceClient {
|
|
|
304
304
|
methodDescriptorGetSandboxOrders = new grpcWeb.MethodDescriptor(
|
|
305
305
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxOrders',
|
|
306
306
|
grpcWeb.MethodType.UNARY,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
(request:
|
|
307
|
+
api_tinvest_orders_pb.GetOrdersRequest,
|
|
308
|
+
api_tinvest_orders_pb.GetOrdersResponse,
|
|
309
|
+
(request: api_tinvest_orders_pb.GetOrdersRequest) => {
|
|
310
310
|
return request.serializeBinary();
|
|
311
311
|
},
|
|
312
|
-
|
|
312
|
+
api_tinvest_orders_pb.GetOrdersResponse.deserializeBinary
|
|
313
313
|
);
|
|
314
314
|
|
|
315
315
|
getSandboxOrders(
|
|
316
|
-
request:
|
|
317
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
316
|
+
request: api_tinvest_orders_pb.GetOrdersRequest,
|
|
317
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_orders_pb.GetOrdersResponse>;
|
|
318
318
|
|
|
319
319
|
getSandboxOrders(
|
|
320
|
-
request:
|
|
320
|
+
request: api_tinvest_orders_pb.GetOrdersRequest,
|
|
321
321
|
metadata: grpcWeb.Metadata | null,
|
|
322
322
|
callback: (err: grpcWeb.RpcError,
|
|
323
|
-
response:
|
|
323
|
+
response: api_tinvest_orders_pb.GetOrdersResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_orders_pb.GetOrdersResponse>;
|
|
324
324
|
|
|
325
325
|
getSandboxOrders(
|
|
326
|
-
request:
|
|
326
|
+
request: api_tinvest_orders_pb.GetOrdersRequest,
|
|
327
327
|
metadata?: grpcWeb.Metadata | null,
|
|
328
328
|
callback?: (err: grpcWeb.RpcError,
|
|
329
|
-
response:
|
|
329
|
+
response: api_tinvest_orders_pb.GetOrdersResponse) => void) {
|
|
330
330
|
if (callback !== undefined) {
|
|
331
331
|
return this.client_.rpcCall(
|
|
332
332
|
this.hostname_ +
|
|
@@ -347,29 +347,29 @@ export class SandboxServiceClient {
|
|
|
347
347
|
methodDescriptorCancelSandboxOrder = new grpcWeb.MethodDescriptor(
|
|
348
348
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/CancelSandboxOrder',
|
|
349
349
|
grpcWeb.MethodType.UNARY,
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
(request:
|
|
350
|
+
api_tinvest_orders_pb.CancelOrderRequest,
|
|
351
|
+
api_tinvest_orders_pb.CancelOrderResponse,
|
|
352
|
+
(request: api_tinvest_orders_pb.CancelOrderRequest) => {
|
|
353
353
|
return request.serializeBinary();
|
|
354
354
|
},
|
|
355
|
-
|
|
355
|
+
api_tinvest_orders_pb.CancelOrderResponse.deserializeBinary
|
|
356
356
|
);
|
|
357
357
|
|
|
358
358
|
cancelSandboxOrder(
|
|
359
|
-
request:
|
|
360
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
359
|
+
request: api_tinvest_orders_pb.CancelOrderRequest,
|
|
360
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_orders_pb.CancelOrderResponse>;
|
|
361
361
|
|
|
362
362
|
cancelSandboxOrder(
|
|
363
|
-
request:
|
|
363
|
+
request: api_tinvest_orders_pb.CancelOrderRequest,
|
|
364
364
|
metadata: grpcWeb.Metadata | null,
|
|
365
365
|
callback: (err: grpcWeb.RpcError,
|
|
366
|
-
response:
|
|
366
|
+
response: api_tinvest_orders_pb.CancelOrderResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_orders_pb.CancelOrderResponse>;
|
|
367
367
|
|
|
368
368
|
cancelSandboxOrder(
|
|
369
|
-
request:
|
|
369
|
+
request: api_tinvest_orders_pb.CancelOrderRequest,
|
|
370
370
|
metadata?: grpcWeb.Metadata | null,
|
|
371
371
|
callback?: (err: grpcWeb.RpcError,
|
|
372
|
-
response:
|
|
372
|
+
response: api_tinvest_orders_pb.CancelOrderResponse) => void) {
|
|
373
373
|
if (callback !== undefined) {
|
|
374
374
|
return this.client_.rpcCall(
|
|
375
375
|
this.hostname_ +
|
|
@@ -390,29 +390,29 @@ export class SandboxServiceClient {
|
|
|
390
390
|
methodDescriptorGetSandboxOrderState = new grpcWeb.MethodDescriptor(
|
|
391
391
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxOrderState',
|
|
392
392
|
grpcWeb.MethodType.UNARY,
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
(request:
|
|
393
|
+
api_tinvest_orders_pb.GetOrderStateRequest,
|
|
394
|
+
api_tinvest_orders_pb.OrderState,
|
|
395
|
+
(request: api_tinvest_orders_pb.GetOrderStateRequest) => {
|
|
396
396
|
return request.serializeBinary();
|
|
397
397
|
},
|
|
398
|
-
|
|
398
|
+
api_tinvest_orders_pb.OrderState.deserializeBinary
|
|
399
399
|
);
|
|
400
400
|
|
|
401
401
|
getSandboxOrderState(
|
|
402
|
-
request:
|
|
403
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
402
|
+
request: api_tinvest_orders_pb.GetOrderStateRequest,
|
|
403
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_orders_pb.OrderState>;
|
|
404
404
|
|
|
405
405
|
getSandboxOrderState(
|
|
406
|
-
request:
|
|
406
|
+
request: api_tinvest_orders_pb.GetOrderStateRequest,
|
|
407
407
|
metadata: grpcWeb.Metadata | null,
|
|
408
408
|
callback: (err: grpcWeb.RpcError,
|
|
409
|
-
response:
|
|
409
|
+
response: api_tinvest_orders_pb.OrderState) => void): grpcWeb.ClientReadableStream<api_tinvest_orders_pb.OrderState>;
|
|
410
410
|
|
|
411
411
|
getSandboxOrderState(
|
|
412
|
-
request:
|
|
412
|
+
request: api_tinvest_orders_pb.GetOrderStateRequest,
|
|
413
413
|
metadata?: grpcWeb.Metadata | null,
|
|
414
414
|
callback?: (err: grpcWeb.RpcError,
|
|
415
|
-
response:
|
|
415
|
+
response: api_tinvest_orders_pb.OrderState) => void) {
|
|
416
416
|
if (callback !== undefined) {
|
|
417
417
|
return this.client_.rpcCall(
|
|
418
418
|
this.hostname_ +
|
|
@@ -433,29 +433,29 @@ export class SandboxServiceClient {
|
|
|
433
433
|
methodDescriptorGetSandboxOrderPrice = new grpcWeb.MethodDescriptor(
|
|
434
434
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxOrderPrice',
|
|
435
435
|
grpcWeb.MethodType.UNARY,
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
(request:
|
|
436
|
+
api_tinvest_orders_pb.GetOrderPriceRequest,
|
|
437
|
+
api_tinvest_orders_pb.GetOrderPriceResponse,
|
|
438
|
+
(request: api_tinvest_orders_pb.GetOrderPriceRequest) => {
|
|
439
439
|
return request.serializeBinary();
|
|
440
440
|
},
|
|
441
|
-
|
|
441
|
+
api_tinvest_orders_pb.GetOrderPriceResponse.deserializeBinary
|
|
442
442
|
);
|
|
443
443
|
|
|
444
444
|
getSandboxOrderPrice(
|
|
445
|
-
request:
|
|
446
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
445
|
+
request: api_tinvest_orders_pb.GetOrderPriceRequest,
|
|
446
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_orders_pb.GetOrderPriceResponse>;
|
|
447
447
|
|
|
448
448
|
getSandboxOrderPrice(
|
|
449
|
-
request:
|
|
449
|
+
request: api_tinvest_orders_pb.GetOrderPriceRequest,
|
|
450
450
|
metadata: grpcWeb.Metadata | null,
|
|
451
451
|
callback: (err: grpcWeb.RpcError,
|
|
452
|
-
response:
|
|
452
|
+
response: api_tinvest_orders_pb.GetOrderPriceResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_orders_pb.GetOrderPriceResponse>;
|
|
453
453
|
|
|
454
454
|
getSandboxOrderPrice(
|
|
455
|
-
request:
|
|
455
|
+
request: api_tinvest_orders_pb.GetOrderPriceRequest,
|
|
456
456
|
metadata?: grpcWeb.Metadata | null,
|
|
457
457
|
callback?: (err: grpcWeb.RpcError,
|
|
458
|
-
response:
|
|
458
|
+
response: api_tinvest_orders_pb.GetOrderPriceResponse) => void) {
|
|
459
459
|
if (callback !== undefined) {
|
|
460
460
|
return this.client_.rpcCall(
|
|
461
461
|
this.hostname_ +
|
|
@@ -476,29 +476,29 @@ export class SandboxServiceClient {
|
|
|
476
476
|
methodDescriptorGetSandboxPositions = new grpcWeb.MethodDescriptor(
|
|
477
477
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxPositions',
|
|
478
478
|
grpcWeb.MethodType.UNARY,
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
(request:
|
|
479
|
+
api_tinvest_operations_pb.PositionsRequest,
|
|
480
|
+
api_tinvest_operations_pb.PositionsResponse,
|
|
481
|
+
(request: api_tinvest_operations_pb.PositionsRequest) => {
|
|
482
482
|
return request.serializeBinary();
|
|
483
483
|
},
|
|
484
|
-
|
|
484
|
+
api_tinvest_operations_pb.PositionsResponse.deserializeBinary
|
|
485
485
|
);
|
|
486
486
|
|
|
487
487
|
getSandboxPositions(
|
|
488
|
-
request:
|
|
489
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
488
|
+
request: api_tinvest_operations_pb.PositionsRequest,
|
|
489
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_operations_pb.PositionsResponse>;
|
|
490
490
|
|
|
491
491
|
getSandboxPositions(
|
|
492
|
-
request:
|
|
492
|
+
request: api_tinvest_operations_pb.PositionsRequest,
|
|
493
493
|
metadata: grpcWeb.Metadata | null,
|
|
494
494
|
callback: (err: grpcWeb.RpcError,
|
|
495
|
-
response:
|
|
495
|
+
response: api_tinvest_operations_pb.PositionsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_operations_pb.PositionsResponse>;
|
|
496
496
|
|
|
497
497
|
getSandboxPositions(
|
|
498
|
-
request:
|
|
498
|
+
request: api_tinvest_operations_pb.PositionsRequest,
|
|
499
499
|
metadata?: grpcWeb.Metadata | null,
|
|
500
500
|
callback?: (err: grpcWeb.RpcError,
|
|
501
|
-
response:
|
|
501
|
+
response: api_tinvest_operations_pb.PositionsResponse) => void) {
|
|
502
502
|
if (callback !== undefined) {
|
|
503
503
|
return this.client_.rpcCall(
|
|
504
504
|
this.hostname_ +
|
|
@@ -519,29 +519,29 @@ export class SandboxServiceClient {
|
|
|
519
519
|
methodDescriptorGetSandboxOperations = new grpcWeb.MethodDescriptor(
|
|
520
520
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxOperations',
|
|
521
521
|
grpcWeb.MethodType.UNARY,
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
(request:
|
|
522
|
+
api_tinvest_operations_pb.OperationsRequest,
|
|
523
|
+
api_tinvest_operations_pb.OperationsResponse,
|
|
524
|
+
(request: api_tinvest_operations_pb.OperationsRequest) => {
|
|
525
525
|
return request.serializeBinary();
|
|
526
526
|
},
|
|
527
|
-
|
|
527
|
+
api_tinvest_operations_pb.OperationsResponse.deserializeBinary
|
|
528
528
|
);
|
|
529
529
|
|
|
530
530
|
getSandboxOperations(
|
|
531
|
-
request:
|
|
532
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
531
|
+
request: api_tinvest_operations_pb.OperationsRequest,
|
|
532
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_operations_pb.OperationsResponse>;
|
|
533
533
|
|
|
534
534
|
getSandboxOperations(
|
|
535
|
-
request:
|
|
535
|
+
request: api_tinvest_operations_pb.OperationsRequest,
|
|
536
536
|
metadata: grpcWeb.Metadata | null,
|
|
537
537
|
callback: (err: grpcWeb.RpcError,
|
|
538
|
-
response:
|
|
538
|
+
response: api_tinvest_operations_pb.OperationsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_operations_pb.OperationsResponse>;
|
|
539
539
|
|
|
540
540
|
getSandboxOperations(
|
|
541
|
-
request:
|
|
541
|
+
request: api_tinvest_operations_pb.OperationsRequest,
|
|
542
542
|
metadata?: grpcWeb.Metadata | null,
|
|
543
543
|
callback?: (err: grpcWeb.RpcError,
|
|
544
|
-
response:
|
|
544
|
+
response: api_tinvest_operations_pb.OperationsResponse) => void) {
|
|
545
545
|
if (callback !== undefined) {
|
|
546
546
|
return this.client_.rpcCall(
|
|
547
547
|
this.hostname_ +
|
|
@@ -562,29 +562,29 @@ export class SandboxServiceClient {
|
|
|
562
562
|
methodDescriptorGetSandboxOperationsByCursor = new grpcWeb.MethodDescriptor(
|
|
563
563
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxOperationsByCursor',
|
|
564
564
|
grpcWeb.MethodType.UNARY,
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
(request:
|
|
565
|
+
api_tinvest_operations_pb.GetOperationsByCursorRequest,
|
|
566
|
+
api_tinvest_operations_pb.GetOperationsByCursorResponse,
|
|
567
|
+
(request: api_tinvest_operations_pb.GetOperationsByCursorRequest) => {
|
|
568
568
|
return request.serializeBinary();
|
|
569
569
|
},
|
|
570
|
-
|
|
570
|
+
api_tinvest_operations_pb.GetOperationsByCursorResponse.deserializeBinary
|
|
571
571
|
);
|
|
572
572
|
|
|
573
573
|
getSandboxOperationsByCursor(
|
|
574
|
-
request:
|
|
575
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
574
|
+
request: api_tinvest_operations_pb.GetOperationsByCursorRequest,
|
|
575
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_operations_pb.GetOperationsByCursorResponse>;
|
|
576
576
|
|
|
577
577
|
getSandboxOperationsByCursor(
|
|
578
|
-
request:
|
|
578
|
+
request: api_tinvest_operations_pb.GetOperationsByCursorRequest,
|
|
579
579
|
metadata: grpcWeb.Metadata | null,
|
|
580
580
|
callback: (err: grpcWeb.RpcError,
|
|
581
|
-
response:
|
|
581
|
+
response: api_tinvest_operations_pb.GetOperationsByCursorResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_operations_pb.GetOperationsByCursorResponse>;
|
|
582
582
|
|
|
583
583
|
getSandboxOperationsByCursor(
|
|
584
|
-
request:
|
|
584
|
+
request: api_tinvest_operations_pb.GetOperationsByCursorRequest,
|
|
585
585
|
metadata?: grpcWeb.Metadata | null,
|
|
586
586
|
callback?: (err: grpcWeb.RpcError,
|
|
587
|
-
response:
|
|
587
|
+
response: api_tinvest_operations_pb.GetOperationsByCursorResponse) => void) {
|
|
588
588
|
if (callback !== undefined) {
|
|
589
589
|
return this.client_.rpcCall(
|
|
590
590
|
this.hostname_ +
|
|
@@ -605,29 +605,29 @@ export class SandboxServiceClient {
|
|
|
605
605
|
methodDescriptorGetSandboxPortfolio = new grpcWeb.MethodDescriptor(
|
|
606
606
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxPortfolio',
|
|
607
607
|
grpcWeb.MethodType.UNARY,
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
(request:
|
|
608
|
+
api_tinvest_operations_pb.PortfolioRequest,
|
|
609
|
+
api_tinvest_operations_pb.PortfolioResponse,
|
|
610
|
+
(request: api_tinvest_operations_pb.PortfolioRequest) => {
|
|
611
611
|
return request.serializeBinary();
|
|
612
612
|
},
|
|
613
|
-
|
|
613
|
+
api_tinvest_operations_pb.PortfolioResponse.deserializeBinary
|
|
614
614
|
);
|
|
615
615
|
|
|
616
616
|
getSandboxPortfolio(
|
|
617
|
-
request:
|
|
618
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
617
|
+
request: api_tinvest_operations_pb.PortfolioRequest,
|
|
618
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_operations_pb.PortfolioResponse>;
|
|
619
619
|
|
|
620
620
|
getSandboxPortfolio(
|
|
621
|
-
request:
|
|
621
|
+
request: api_tinvest_operations_pb.PortfolioRequest,
|
|
622
622
|
metadata: grpcWeb.Metadata | null,
|
|
623
623
|
callback: (err: grpcWeb.RpcError,
|
|
624
|
-
response:
|
|
624
|
+
response: api_tinvest_operations_pb.PortfolioResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_operations_pb.PortfolioResponse>;
|
|
625
625
|
|
|
626
626
|
getSandboxPortfolio(
|
|
627
|
-
request:
|
|
627
|
+
request: api_tinvest_operations_pb.PortfolioRequest,
|
|
628
628
|
metadata?: grpcWeb.Metadata | null,
|
|
629
629
|
callback?: (err: grpcWeb.RpcError,
|
|
630
|
-
response:
|
|
630
|
+
response: api_tinvest_operations_pb.PortfolioResponse) => void) {
|
|
631
631
|
if (callback !== undefined) {
|
|
632
632
|
return this.client_.rpcCall(
|
|
633
633
|
this.hostname_ +
|
|
@@ -648,29 +648,29 @@ export class SandboxServiceClient {
|
|
|
648
648
|
methodDescriptorSandboxPayIn = new grpcWeb.MethodDescriptor(
|
|
649
649
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/SandboxPayIn',
|
|
650
650
|
grpcWeb.MethodType.UNARY,
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
(request:
|
|
651
|
+
api_tinvest_sandbox_pb.SandboxPayInRequest,
|
|
652
|
+
api_tinvest_sandbox_pb.SandboxPayInResponse,
|
|
653
|
+
(request: api_tinvest_sandbox_pb.SandboxPayInRequest) => {
|
|
654
654
|
return request.serializeBinary();
|
|
655
655
|
},
|
|
656
|
-
|
|
656
|
+
api_tinvest_sandbox_pb.SandboxPayInResponse.deserializeBinary
|
|
657
657
|
);
|
|
658
658
|
|
|
659
659
|
sandboxPayIn(
|
|
660
|
-
request:
|
|
661
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
660
|
+
request: api_tinvest_sandbox_pb.SandboxPayInRequest,
|
|
661
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_sandbox_pb.SandboxPayInResponse>;
|
|
662
662
|
|
|
663
663
|
sandboxPayIn(
|
|
664
|
-
request:
|
|
664
|
+
request: api_tinvest_sandbox_pb.SandboxPayInRequest,
|
|
665
665
|
metadata: grpcWeb.Metadata | null,
|
|
666
666
|
callback: (err: grpcWeb.RpcError,
|
|
667
|
-
response:
|
|
667
|
+
response: api_tinvest_sandbox_pb.SandboxPayInResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_sandbox_pb.SandboxPayInResponse>;
|
|
668
668
|
|
|
669
669
|
sandboxPayIn(
|
|
670
|
-
request:
|
|
670
|
+
request: api_tinvest_sandbox_pb.SandboxPayInRequest,
|
|
671
671
|
metadata?: grpcWeb.Metadata | null,
|
|
672
672
|
callback?: (err: grpcWeb.RpcError,
|
|
673
|
-
response:
|
|
673
|
+
response: api_tinvest_sandbox_pb.SandboxPayInResponse) => void) {
|
|
674
674
|
if (callback !== undefined) {
|
|
675
675
|
return this.client_.rpcCall(
|
|
676
676
|
this.hostname_ +
|
|
@@ -691,29 +691,29 @@ export class SandboxServiceClient {
|
|
|
691
691
|
methodDescriptorGetSandboxWithdrawLimits = new grpcWeb.MethodDescriptor(
|
|
692
692
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxWithdrawLimits',
|
|
693
693
|
grpcWeb.MethodType.UNARY,
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
(request:
|
|
694
|
+
api_tinvest_operations_pb.WithdrawLimitsRequest,
|
|
695
|
+
api_tinvest_operations_pb.WithdrawLimitsResponse,
|
|
696
|
+
(request: api_tinvest_operations_pb.WithdrawLimitsRequest) => {
|
|
697
697
|
return request.serializeBinary();
|
|
698
698
|
},
|
|
699
|
-
|
|
699
|
+
api_tinvest_operations_pb.WithdrawLimitsResponse.deserializeBinary
|
|
700
700
|
);
|
|
701
701
|
|
|
702
702
|
getSandboxWithdrawLimits(
|
|
703
|
-
request:
|
|
704
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
703
|
+
request: api_tinvest_operations_pb.WithdrawLimitsRequest,
|
|
704
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_operations_pb.WithdrawLimitsResponse>;
|
|
705
705
|
|
|
706
706
|
getSandboxWithdrawLimits(
|
|
707
|
-
request:
|
|
707
|
+
request: api_tinvest_operations_pb.WithdrawLimitsRequest,
|
|
708
708
|
metadata: grpcWeb.Metadata | null,
|
|
709
709
|
callback: (err: grpcWeb.RpcError,
|
|
710
|
-
response:
|
|
710
|
+
response: api_tinvest_operations_pb.WithdrawLimitsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_operations_pb.WithdrawLimitsResponse>;
|
|
711
711
|
|
|
712
712
|
getSandboxWithdrawLimits(
|
|
713
|
-
request:
|
|
713
|
+
request: api_tinvest_operations_pb.WithdrawLimitsRequest,
|
|
714
714
|
metadata?: grpcWeb.Metadata | null,
|
|
715
715
|
callback?: (err: grpcWeb.RpcError,
|
|
716
|
-
response:
|
|
716
|
+
response: api_tinvest_operations_pb.WithdrawLimitsResponse) => void) {
|
|
717
717
|
if (callback !== undefined) {
|
|
718
718
|
return this.client_.rpcCall(
|
|
719
719
|
this.hostname_ +
|
|
@@ -734,29 +734,29 @@ export class SandboxServiceClient {
|
|
|
734
734
|
methodDescriptorGetSandboxMaxLots = new grpcWeb.MethodDescriptor(
|
|
735
735
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxMaxLots',
|
|
736
736
|
grpcWeb.MethodType.UNARY,
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
(request:
|
|
737
|
+
api_tinvest_orders_pb.GetMaxLotsRequest,
|
|
738
|
+
api_tinvest_orders_pb.GetMaxLotsResponse,
|
|
739
|
+
(request: api_tinvest_orders_pb.GetMaxLotsRequest) => {
|
|
740
740
|
return request.serializeBinary();
|
|
741
741
|
},
|
|
742
|
-
|
|
742
|
+
api_tinvest_orders_pb.GetMaxLotsResponse.deserializeBinary
|
|
743
743
|
);
|
|
744
744
|
|
|
745
745
|
getSandboxMaxLots(
|
|
746
|
-
request:
|
|
747
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
746
|
+
request: api_tinvest_orders_pb.GetMaxLotsRequest,
|
|
747
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_orders_pb.GetMaxLotsResponse>;
|
|
748
748
|
|
|
749
749
|
getSandboxMaxLots(
|
|
750
|
-
request:
|
|
750
|
+
request: api_tinvest_orders_pb.GetMaxLotsRequest,
|
|
751
751
|
metadata: grpcWeb.Metadata | null,
|
|
752
752
|
callback: (err: grpcWeb.RpcError,
|
|
753
|
-
response:
|
|
753
|
+
response: api_tinvest_orders_pb.GetMaxLotsResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_orders_pb.GetMaxLotsResponse>;
|
|
754
754
|
|
|
755
755
|
getSandboxMaxLots(
|
|
756
|
-
request:
|
|
756
|
+
request: api_tinvest_orders_pb.GetMaxLotsRequest,
|
|
757
757
|
metadata?: grpcWeb.Metadata | null,
|
|
758
758
|
callback?: (err: grpcWeb.RpcError,
|
|
759
|
-
response:
|
|
759
|
+
response: api_tinvest_orders_pb.GetMaxLotsResponse) => void) {
|
|
760
760
|
if (callback !== undefined) {
|
|
761
761
|
return this.client_.rpcCall(
|
|
762
762
|
this.hostname_ +
|
|
@@ -777,29 +777,29 @@ export class SandboxServiceClient {
|
|
|
777
777
|
methodDescriptorPostSandboxStopOrder = new grpcWeb.MethodDescriptor(
|
|
778
778
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/PostSandboxStopOrder',
|
|
779
779
|
grpcWeb.MethodType.UNARY,
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
(request:
|
|
780
|
+
api_tinvest_stoporders_pb.PostStopOrderRequest,
|
|
781
|
+
api_tinvest_stoporders_pb.PostStopOrderResponse,
|
|
782
|
+
(request: api_tinvest_stoporders_pb.PostStopOrderRequest) => {
|
|
783
783
|
return request.serializeBinary();
|
|
784
784
|
},
|
|
785
|
-
|
|
785
|
+
api_tinvest_stoporders_pb.PostStopOrderResponse.deserializeBinary
|
|
786
786
|
);
|
|
787
787
|
|
|
788
788
|
postSandboxStopOrder(
|
|
789
|
-
request:
|
|
790
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
789
|
+
request: api_tinvest_stoporders_pb.PostStopOrderRequest,
|
|
790
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_stoporders_pb.PostStopOrderResponse>;
|
|
791
791
|
|
|
792
792
|
postSandboxStopOrder(
|
|
793
|
-
request:
|
|
793
|
+
request: api_tinvest_stoporders_pb.PostStopOrderRequest,
|
|
794
794
|
metadata: grpcWeb.Metadata | null,
|
|
795
795
|
callback: (err: grpcWeb.RpcError,
|
|
796
|
-
response:
|
|
796
|
+
response: api_tinvest_stoporders_pb.PostStopOrderResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_stoporders_pb.PostStopOrderResponse>;
|
|
797
797
|
|
|
798
798
|
postSandboxStopOrder(
|
|
799
|
-
request:
|
|
799
|
+
request: api_tinvest_stoporders_pb.PostStopOrderRequest,
|
|
800
800
|
metadata?: grpcWeb.Metadata | null,
|
|
801
801
|
callback?: (err: grpcWeb.RpcError,
|
|
802
|
-
response:
|
|
802
|
+
response: api_tinvest_stoporders_pb.PostStopOrderResponse) => void) {
|
|
803
803
|
if (callback !== undefined) {
|
|
804
804
|
return this.client_.rpcCall(
|
|
805
805
|
this.hostname_ +
|
|
@@ -820,29 +820,29 @@ export class SandboxServiceClient {
|
|
|
820
820
|
methodDescriptorGetSandboxStopOrders = new grpcWeb.MethodDescriptor(
|
|
821
821
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/GetSandboxStopOrders',
|
|
822
822
|
grpcWeb.MethodType.UNARY,
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
(request:
|
|
823
|
+
api_tinvest_stoporders_pb.GetStopOrdersRequest,
|
|
824
|
+
api_tinvest_stoporders_pb.GetStopOrdersResponse,
|
|
825
|
+
(request: api_tinvest_stoporders_pb.GetStopOrdersRequest) => {
|
|
826
826
|
return request.serializeBinary();
|
|
827
827
|
},
|
|
828
|
-
|
|
828
|
+
api_tinvest_stoporders_pb.GetStopOrdersResponse.deserializeBinary
|
|
829
829
|
);
|
|
830
830
|
|
|
831
831
|
getSandboxStopOrders(
|
|
832
|
-
request:
|
|
833
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
832
|
+
request: api_tinvest_stoporders_pb.GetStopOrdersRequest,
|
|
833
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_stoporders_pb.GetStopOrdersResponse>;
|
|
834
834
|
|
|
835
835
|
getSandboxStopOrders(
|
|
836
|
-
request:
|
|
836
|
+
request: api_tinvest_stoporders_pb.GetStopOrdersRequest,
|
|
837
837
|
metadata: grpcWeb.Metadata | null,
|
|
838
838
|
callback: (err: grpcWeb.RpcError,
|
|
839
|
-
response:
|
|
839
|
+
response: api_tinvest_stoporders_pb.GetStopOrdersResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_stoporders_pb.GetStopOrdersResponse>;
|
|
840
840
|
|
|
841
841
|
getSandboxStopOrders(
|
|
842
|
-
request:
|
|
842
|
+
request: api_tinvest_stoporders_pb.GetStopOrdersRequest,
|
|
843
843
|
metadata?: grpcWeb.Metadata | null,
|
|
844
844
|
callback?: (err: grpcWeb.RpcError,
|
|
845
|
-
response:
|
|
845
|
+
response: api_tinvest_stoporders_pb.GetStopOrdersResponse) => void) {
|
|
846
846
|
if (callback !== undefined) {
|
|
847
847
|
return this.client_.rpcCall(
|
|
848
848
|
this.hostname_ +
|
|
@@ -863,29 +863,29 @@ export class SandboxServiceClient {
|
|
|
863
863
|
methodDescriptorCancelSandboxStopOrder = new grpcWeb.MethodDescriptor(
|
|
864
864
|
'/tinkoff.public.invest.api.contract.v1.SandboxService/CancelSandboxStopOrder',
|
|
865
865
|
grpcWeb.MethodType.UNARY,
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
(request:
|
|
866
|
+
api_tinvest_stoporders_pb.CancelStopOrderRequest,
|
|
867
|
+
api_tinvest_stoporders_pb.CancelStopOrderResponse,
|
|
868
|
+
(request: api_tinvest_stoporders_pb.CancelStopOrderRequest) => {
|
|
869
869
|
return request.serializeBinary();
|
|
870
870
|
},
|
|
871
|
-
|
|
871
|
+
api_tinvest_stoporders_pb.CancelStopOrderResponse.deserializeBinary
|
|
872
872
|
);
|
|
873
873
|
|
|
874
874
|
cancelSandboxStopOrder(
|
|
875
|
-
request:
|
|
876
|
-
metadata?: grpcWeb.Metadata | null): Promise<
|
|
875
|
+
request: api_tinvest_stoporders_pb.CancelStopOrderRequest,
|
|
876
|
+
metadata?: grpcWeb.Metadata | null): Promise<api_tinvest_stoporders_pb.CancelStopOrderResponse>;
|
|
877
877
|
|
|
878
878
|
cancelSandboxStopOrder(
|
|
879
|
-
request:
|
|
879
|
+
request: api_tinvest_stoporders_pb.CancelStopOrderRequest,
|
|
880
880
|
metadata: grpcWeb.Metadata | null,
|
|
881
881
|
callback: (err: grpcWeb.RpcError,
|
|
882
|
-
response:
|
|
882
|
+
response: api_tinvest_stoporders_pb.CancelStopOrderResponse) => void): grpcWeb.ClientReadableStream<api_tinvest_stoporders_pb.CancelStopOrderResponse>;
|
|
883
883
|
|
|
884
884
|
cancelSandboxStopOrder(
|
|
885
|
-
request:
|
|
885
|
+
request: api_tinvest_stoporders_pb.CancelStopOrderRequest,
|
|
886
886
|
metadata?: grpcWeb.Metadata | null,
|
|
887
887
|
callback?: (err: grpcWeb.RpcError,
|
|
888
|
-
response:
|
|
888
|
+
response: api_tinvest_stoporders_pb.CancelStopOrderResponse) => void) {
|
|
889
889
|
if (callback !== undefined) {
|
|
890
890
|
return this.client_.rpcCall(
|
|
891
891
|
this.hostname_ +
|