@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// source: tinvest/orders.proto
|
|
1
|
+
// source: api/tinvest/orders.proto
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
@@ -21,13 +21,13 @@ var global =
|
|
|
21
21
|
(function () { return this; }).call(null) ||
|
|
22
22
|
Function('return this')();
|
|
23
23
|
|
|
24
|
-
var
|
|
25
|
-
goog.object.extend(proto,
|
|
26
|
-
var
|
|
27
|
-
goog.object.extend(proto,
|
|
24
|
+
var api_tinvest_common_pb = require('../../api/tinvest/common_pb.js');
|
|
25
|
+
goog.object.extend(proto, api_tinvest_common_pb);
|
|
26
|
+
var api_tinvest_stoporders_pb = require('../../api/tinvest/stoporders_pb.js');
|
|
27
|
+
goog.object.extend(proto, api_tinvest_stoporders_pb);
|
|
28
28
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
29
29
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
30
|
-
var google_api_field_behavior_pb = require('
|
|
30
|
+
var google_api_field_behavior_pb = require('../../google/api/field_behavior_pb.js');
|
|
31
31
|
goog.object.extend(proto, google_api_field_behavior_pb);
|
|
32
32
|
goog.exportSymbol('proto.tinkoff.public.invest.api.contract.v1.CancelOrderRequest', null, global);
|
|
33
33
|
goog.exportSymbol('proto.tinkoff.public.invest.api.contract.v1.CancelOrderResponse', null, global);
|
|
@@ -963,7 +963,7 @@ proto.tinkoff.public.invest.api.contract.v1.TradesStreamResponse.prototype.toObj
|
|
|
963
963
|
proto.tinkoff.public.invest.api.contract.v1.TradesStreamResponse.toObject = function(includeInstance, msg) {
|
|
964
964
|
var f, obj = {
|
|
965
965
|
orderTrades: (f = msg.getOrderTrades()) && proto.tinkoff.public.invest.api.contract.v1.OrderTrades.toObject(includeInstance, f),
|
|
966
|
-
ping: (f = msg.getPing()) &&
|
|
966
|
+
ping: (f = msg.getPing()) && api_tinvest_common_pb.Ping.toObject(includeInstance, f),
|
|
967
967
|
subscription: (f = msg.getSubscription()) && proto.tinkoff.public.invest.api.contract.v1.SubscriptionResponse.toObject(includeInstance, f)
|
|
968
968
|
};
|
|
969
969
|
|
|
@@ -1007,8 +1007,8 @@ proto.tinkoff.public.invest.api.contract.v1.TradesStreamResponse.deserializeBina
|
|
|
1007
1007
|
msg.setOrderTrades(value);
|
|
1008
1008
|
break;
|
|
1009
1009
|
case 2:
|
|
1010
|
-
var value = new
|
|
1011
|
-
reader.readMessage(value,
|
|
1010
|
+
var value = new api_tinvest_common_pb.Ping;
|
|
1011
|
+
reader.readMessage(value,api_tinvest_common_pb.Ping.deserializeBinaryFromReader);
|
|
1012
1012
|
msg.setPing(value);
|
|
1013
1013
|
break;
|
|
1014
1014
|
case 3:
|
|
@@ -1058,7 +1058,7 @@ proto.tinkoff.public.invest.api.contract.v1.TradesStreamResponse.serializeBinary
|
|
|
1058
1058
|
writer.writeMessage(
|
|
1059
1059
|
2,
|
|
1060
1060
|
f,
|
|
1061
|
-
|
|
1061
|
+
api_tinvest_common_pb.Ping.serializeBinaryToWriter
|
|
1062
1062
|
);
|
|
1063
1063
|
}
|
|
1064
1064
|
f = message.getSubscription();
|
|
@@ -1115,7 +1115,7 @@ proto.tinkoff.public.invest.api.contract.v1.TradesStreamResponse.prototype.hasOr
|
|
|
1115
1115
|
*/
|
|
1116
1116
|
proto.tinkoff.public.invest.api.contract.v1.TradesStreamResponse.prototype.getPing = function() {
|
|
1117
1117
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Ping} */ (
|
|
1118
|
-
jspb.Message.getWrapperField(this,
|
|
1118
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Ping, 2));
|
|
1119
1119
|
};
|
|
1120
1120
|
|
|
1121
1121
|
|
|
@@ -1577,7 +1577,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderTrade.prototype.toObject = func
|
|
|
1577
1577
|
proto.tinkoff.public.invest.api.contract.v1.OrderTrade.toObject = function(includeInstance, msg) {
|
|
1578
1578
|
var f, obj = {
|
|
1579
1579
|
dateTime: (f = msg.getDateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1580
|
-
price: (f = msg.getPrice()) &&
|
|
1580
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
1581
1581
|
quantity: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1582
1582
|
tradeId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1583
1583
|
};
|
|
@@ -1622,8 +1622,8 @@ proto.tinkoff.public.invest.api.contract.v1.OrderTrade.deserializeBinaryFromRead
|
|
|
1622
1622
|
msg.setDateTime(value);
|
|
1623
1623
|
break;
|
|
1624
1624
|
case 2:
|
|
1625
|
-
var value = new
|
|
1626
|
-
reader.readMessage(value,
|
|
1625
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
1626
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
1627
1627
|
msg.setPrice(value);
|
|
1628
1628
|
break;
|
|
1629
1629
|
case 3:
|
|
@@ -1676,7 +1676,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderTrade.serializeBinaryToWriter =
|
|
|
1676
1676
|
writer.writeMessage(
|
|
1677
1677
|
2,
|
|
1678
1678
|
f,
|
|
1679
|
-
|
|
1679
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
1680
1680
|
);
|
|
1681
1681
|
}
|
|
1682
1682
|
f = message.getQuantity();
|
|
@@ -1739,7 +1739,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderTrade.prototype.hasDateTime = f
|
|
|
1739
1739
|
*/
|
|
1740
1740
|
proto.tinkoff.public.invest.api.contract.v1.OrderTrade.prototype.getPrice = function() {
|
|
1741
1741
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
1742
|
-
jspb.Message.getWrapperField(this,
|
|
1742
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 2));
|
|
1743
1743
|
};
|
|
1744
1744
|
|
|
1745
1745
|
|
|
@@ -1840,7 +1840,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderRequest.toObject = function
|
|
|
1840
1840
|
var f, obj = {
|
|
1841
1841
|
figi: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
1842
1842
|
quantity: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1843
|
-
price: (f = msg.getPrice()) &&
|
|
1843
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
1844
1844
|
direction: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1845
1845
|
accountId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1846
1846
|
orderType: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
@@ -1894,8 +1894,8 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderRequest.deserializeBinaryFr
|
|
|
1894
1894
|
msg.setQuantity(value);
|
|
1895
1895
|
break;
|
|
1896
1896
|
case 3:
|
|
1897
|
-
var value = new
|
|
1898
|
-
reader.readMessage(value,
|
|
1897
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
1898
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
1899
1899
|
msg.setPrice(value);
|
|
1900
1900
|
break;
|
|
1901
1901
|
case 4:
|
|
@@ -1978,7 +1978,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderRequest.serializeBinaryToWr
|
|
|
1978
1978
|
writer.writeMessage(
|
|
1979
1979
|
3,
|
|
1980
1980
|
f,
|
|
1981
|
-
|
|
1981
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
1982
1982
|
);
|
|
1983
1983
|
}
|
|
1984
1984
|
f = message.getDirection();
|
|
@@ -2100,7 +2100,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderRequest.prototype.setQuanti
|
|
|
2100
2100
|
*/
|
|
2101
2101
|
proto.tinkoff.public.invest.api.contract.v1.PostOrderRequest.prototype.getPrice = function() {
|
|
2102
2102
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
2103
|
-
jspb.Message.getWrapperField(this,
|
|
2103
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
|
|
2104
2104
|
};
|
|
2105
2105
|
|
|
2106
2106
|
|
|
@@ -2311,23 +2311,23 @@ orderId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
2311
2311
|
executionReportStatus: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2312
2312
|
lotsRequested: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
2313
2313
|
lotsExecuted: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2314
|
-
initialOrderPrice: (f = msg.getInitialOrderPrice()) &&
|
|
2315
|
-
executedOrderPrice: (f = msg.getExecutedOrderPrice()) &&
|
|
2316
|
-
totalOrderAmount: (f = msg.getTotalOrderAmount()) &&
|
|
2317
|
-
initialCommission: (f = msg.getInitialCommission()) &&
|
|
2318
|
-
executedCommission: (f = msg.getExecutedCommission()) &&
|
|
2319
|
-
aciValue: (f = msg.getAciValue()) &&
|
|
2314
|
+
initialOrderPrice: (f = msg.getInitialOrderPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2315
|
+
executedOrderPrice: (f = msg.getExecutedOrderPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2316
|
+
totalOrderAmount: (f = msg.getTotalOrderAmount()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2317
|
+
initialCommission: (f = msg.getInitialCommission()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2318
|
+
executedCommission: (f = msg.getExecutedCommission()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2319
|
+
aciValue: (f = msg.getAciValue()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2320
2320
|
figi: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2321
2321
|
direction: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
2322
|
-
initialSecurityPrice: (f = msg.getInitialSecurityPrice()) &&
|
|
2322
|
+
initialSecurityPrice: (f = msg.getInitialSecurityPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2323
2323
|
orderType: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
2324
2324
|
message: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
2325
|
-
initialOrderPricePt: (f = msg.getInitialOrderPricePt()) &&
|
|
2325
|
+
initialOrderPricePt: (f = msg.getInitialOrderPricePt()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
2326
2326
|
instrumentUid: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
2327
2327
|
ticker: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
2328
2328
|
classCode: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
2329
2329
|
orderRequestId: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
2330
|
-
responseMetadata: (f = msg.getResponseMetadata()) &&
|
|
2330
|
+
responseMetadata: (f = msg.getResponseMetadata()) && api_tinvest_common_pb.ResponseMetadata.toObject(includeInstance, f)
|
|
2331
2331
|
};
|
|
2332
2332
|
|
|
2333
2333
|
if (includeInstance) {
|
|
@@ -2381,33 +2381,33 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.deserializeBinaryF
|
|
|
2381
2381
|
msg.setLotsExecuted(value);
|
|
2382
2382
|
break;
|
|
2383
2383
|
case 5:
|
|
2384
|
-
var value = new
|
|
2385
|
-
reader.readMessage(value,
|
|
2384
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2385
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2386
2386
|
msg.setInitialOrderPrice(value);
|
|
2387
2387
|
break;
|
|
2388
2388
|
case 6:
|
|
2389
|
-
var value = new
|
|
2390
|
-
reader.readMessage(value,
|
|
2389
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2390
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2391
2391
|
msg.setExecutedOrderPrice(value);
|
|
2392
2392
|
break;
|
|
2393
2393
|
case 7:
|
|
2394
|
-
var value = new
|
|
2395
|
-
reader.readMessage(value,
|
|
2394
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2395
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2396
2396
|
msg.setTotalOrderAmount(value);
|
|
2397
2397
|
break;
|
|
2398
2398
|
case 8:
|
|
2399
|
-
var value = new
|
|
2400
|
-
reader.readMessage(value,
|
|
2399
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2400
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2401
2401
|
msg.setInitialCommission(value);
|
|
2402
2402
|
break;
|
|
2403
2403
|
case 9:
|
|
2404
|
-
var value = new
|
|
2405
|
-
reader.readMessage(value,
|
|
2404
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2405
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2406
2406
|
msg.setExecutedCommission(value);
|
|
2407
2407
|
break;
|
|
2408
2408
|
case 10:
|
|
2409
|
-
var value = new
|
|
2410
|
-
reader.readMessage(value,
|
|
2409
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2410
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2411
2411
|
msg.setAciValue(value);
|
|
2412
2412
|
break;
|
|
2413
2413
|
case 11:
|
|
@@ -2419,8 +2419,8 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.deserializeBinaryF
|
|
|
2419
2419
|
msg.setDirection(value);
|
|
2420
2420
|
break;
|
|
2421
2421
|
case 13:
|
|
2422
|
-
var value = new
|
|
2423
|
-
reader.readMessage(value,
|
|
2422
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2423
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2424
2424
|
msg.setInitialSecurityPrice(value);
|
|
2425
2425
|
break;
|
|
2426
2426
|
case 14:
|
|
@@ -2432,8 +2432,8 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.deserializeBinaryF
|
|
|
2432
2432
|
msg.setMessage(value);
|
|
2433
2433
|
break;
|
|
2434
2434
|
case 16:
|
|
2435
|
-
var value = new
|
|
2436
|
-
reader.readMessage(value,
|
|
2435
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
2436
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
2437
2437
|
msg.setInitialOrderPricePt(value);
|
|
2438
2438
|
break;
|
|
2439
2439
|
case 17:
|
|
@@ -2453,8 +2453,8 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.deserializeBinaryF
|
|
|
2453
2453
|
msg.setOrderRequestId(value);
|
|
2454
2454
|
break;
|
|
2455
2455
|
case 254:
|
|
2456
|
-
var value = new
|
|
2457
|
-
reader.readMessage(value,
|
|
2456
|
+
var value = new api_tinvest_common_pb.ResponseMetadata;
|
|
2457
|
+
reader.readMessage(value,api_tinvest_common_pb.ResponseMetadata.deserializeBinaryFromReader);
|
|
2458
2458
|
msg.setResponseMetadata(value);
|
|
2459
2459
|
break;
|
|
2460
2460
|
default:
|
|
@@ -2519,7 +2519,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.serializeBinaryToW
|
|
|
2519
2519
|
writer.writeMessage(
|
|
2520
2520
|
5,
|
|
2521
2521
|
f,
|
|
2522
|
-
|
|
2522
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
2523
2523
|
);
|
|
2524
2524
|
}
|
|
2525
2525
|
f = message.getExecutedOrderPrice();
|
|
@@ -2527,7 +2527,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.serializeBinaryToW
|
|
|
2527
2527
|
writer.writeMessage(
|
|
2528
2528
|
6,
|
|
2529
2529
|
f,
|
|
2530
|
-
|
|
2530
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
2531
2531
|
);
|
|
2532
2532
|
}
|
|
2533
2533
|
f = message.getTotalOrderAmount();
|
|
@@ -2535,7 +2535,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.serializeBinaryToW
|
|
|
2535
2535
|
writer.writeMessage(
|
|
2536
2536
|
7,
|
|
2537
2537
|
f,
|
|
2538
|
-
|
|
2538
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
2539
2539
|
);
|
|
2540
2540
|
}
|
|
2541
2541
|
f = message.getInitialCommission();
|
|
@@ -2543,7 +2543,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.serializeBinaryToW
|
|
|
2543
2543
|
writer.writeMessage(
|
|
2544
2544
|
8,
|
|
2545
2545
|
f,
|
|
2546
|
-
|
|
2546
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
2547
2547
|
);
|
|
2548
2548
|
}
|
|
2549
2549
|
f = message.getExecutedCommission();
|
|
@@ -2551,7 +2551,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.serializeBinaryToW
|
|
|
2551
2551
|
writer.writeMessage(
|
|
2552
2552
|
9,
|
|
2553
2553
|
f,
|
|
2554
|
-
|
|
2554
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
2555
2555
|
);
|
|
2556
2556
|
}
|
|
2557
2557
|
f = message.getAciValue();
|
|
@@ -2559,7 +2559,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.serializeBinaryToW
|
|
|
2559
2559
|
writer.writeMessage(
|
|
2560
2560
|
10,
|
|
2561
2561
|
f,
|
|
2562
|
-
|
|
2562
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
2563
2563
|
);
|
|
2564
2564
|
}
|
|
2565
2565
|
f = message.getFigi();
|
|
@@ -2581,7 +2581,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.serializeBinaryToW
|
|
|
2581
2581
|
writer.writeMessage(
|
|
2582
2582
|
13,
|
|
2583
2583
|
f,
|
|
2584
|
-
|
|
2584
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
2585
2585
|
);
|
|
2586
2586
|
}
|
|
2587
2587
|
f = message.getOrderType();
|
|
@@ -2603,7 +2603,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.serializeBinaryToW
|
|
|
2603
2603
|
writer.writeMessage(
|
|
2604
2604
|
16,
|
|
2605
2605
|
f,
|
|
2606
|
-
|
|
2606
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
2607
2607
|
);
|
|
2608
2608
|
}
|
|
2609
2609
|
f = message.getInstrumentUid();
|
|
@@ -2639,7 +2639,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.serializeBinaryToW
|
|
|
2639
2639
|
writer.writeMessage(
|
|
2640
2640
|
254,
|
|
2641
2641
|
f,
|
|
2642
|
-
|
|
2642
|
+
api_tinvest_common_pb.ResponseMetadata.serializeBinaryToWriter
|
|
2643
2643
|
);
|
|
2644
2644
|
}
|
|
2645
2645
|
};
|
|
@@ -2723,7 +2723,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.setLotsE
|
|
|
2723
2723
|
*/
|
|
2724
2724
|
proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.getInitialOrderPrice = function() {
|
|
2725
2725
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
2726
|
-
jspb.Message.getWrapperField(this,
|
|
2726
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 5));
|
|
2727
2727
|
};
|
|
2728
2728
|
|
|
2729
2729
|
|
|
@@ -2760,7 +2760,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.hasIniti
|
|
|
2760
2760
|
*/
|
|
2761
2761
|
proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.getExecutedOrderPrice = function() {
|
|
2762
2762
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
2763
|
-
jspb.Message.getWrapperField(this,
|
|
2763
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 6));
|
|
2764
2764
|
};
|
|
2765
2765
|
|
|
2766
2766
|
|
|
@@ -2797,7 +2797,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.hasExecu
|
|
|
2797
2797
|
*/
|
|
2798
2798
|
proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.getTotalOrderAmount = function() {
|
|
2799
2799
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
2800
|
-
jspb.Message.getWrapperField(this,
|
|
2800
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 7));
|
|
2801
2801
|
};
|
|
2802
2802
|
|
|
2803
2803
|
|
|
@@ -2834,7 +2834,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.hasTotal
|
|
|
2834
2834
|
*/
|
|
2835
2835
|
proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.getInitialCommission = function() {
|
|
2836
2836
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
2837
|
-
jspb.Message.getWrapperField(this,
|
|
2837
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 8));
|
|
2838
2838
|
};
|
|
2839
2839
|
|
|
2840
2840
|
|
|
@@ -2871,7 +2871,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.hasIniti
|
|
|
2871
2871
|
*/
|
|
2872
2872
|
proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.getExecutedCommission = function() {
|
|
2873
2873
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
2874
|
-
jspb.Message.getWrapperField(this,
|
|
2874
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 9));
|
|
2875
2875
|
};
|
|
2876
2876
|
|
|
2877
2877
|
|
|
@@ -2908,7 +2908,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.hasExecu
|
|
|
2908
2908
|
*/
|
|
2909
2909
|
proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.getAciValue = function() {
|
|
2910
2910
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
2911
|
-
jspb.Message.getWrapperField(this,
|
|
2911
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 10));
|
|
2912
2912
|
};
|
|
2913
2913
|
|
|
2914
2914
|
|
|
@@ -2981,7 +2981,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.setDirec
|
|
|
2981
2981
|
*/
|
|
2982
2982
|
proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.getInitialSecurityPrice = function() {
|
|
2983
2983
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
2984
|
-
jspb.Message.getWrapperField(this,
|
|
2984
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 13));
|
|
2985
2985
|
};
|
|
2986
2986
|
|
|
2987
2987
|
|
|
@@ -3054,7 +3054,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.setMessa
|
|
|
3054
3054
|
*/
|
|
3055
3055
|
proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.getInitialOrderPricePt = function() {
|
|
3056
3056
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
3057
|
-
jspb.Message.getWrapperField(this,
|
|
3057
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 16));
|
|
3058
3058
|
};
|
|
3059
3059
|
|
|
3060
3060
|
|
|
@@ -3163,7 +3163,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.setOrder
|
|
|
3163
3163
|
*/
|
|
3164
3164
|
proto.tinkoff.public.invest.api.contract.v1.PostOrderResponse.prototype.getResponseMetadata = function() {
|
|
3165
3165
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.ResponseMetadata} */ (
|
|
3166
|
-
jspb.Message.getWrapperField(this,
|
|
3166
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.ResponseMetadata, 254));
|
|
3167
3167
|
};
|
|
3168
3168
|
|
|
3169
3169
|
|
|
@@ -3228,7 +3228,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderAsyncRequest.toObject = fun
|
|
|
3228
3228
|
var f, obj = {
|
|
3229
3229
|
instrumentId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3230
3230
|
quantity: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
3231
|
-
price: (f = msg.getPrice()) &&
|
|
3231
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
3232
3232
|
direction: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
3233
3233
|
accountId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3234
3234
|
orderType: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
@@ -3281,8 +3281,8 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderAsyncRequest.deserializeBin
|
|
|
3281
3281
|
msg.setQuantity(value);
|
|
3282
3282
|
break;
|
|
3283
3283
|
case 3:
|
|
3284
|
-
var value = new
|
|
3285
|
-
reader.readMessage(value,
|
|
3284
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
3285
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
3286
3286
|
msg.setPrice(value);
|
|
3287
3287
|
break;
|
|
3288
3288
|
case 4:
|
|
@@ -3361,7 +3361,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderAsyncRequest.serializeBinar
|
|
|
3361
3361
|
writer.writeMessage(
|
|
3362
3362
|
3,
|
|
3363
3363
|
f,
|
|
3364
|
-
|
|
3364
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
3365
3365
|
);
|
|
3366
3366
|
}
|
|
3367
3367
|
f = message.getDirection();
|
|
@@ -3458,7 +3458,7 @@ proto.tinkoff.public.invest.api.contract.v1.PostOrderAsyncRequest.prototype.setQ
|
|
|
3458
3458
|
*/
|
|
3459
3459
|
proto.tinkoff.public.invest.api.contract.v1.PostOrderAsyncRequest.prototype.getPrice = function() {
|
|
3460
3460
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
3461
|
-
jspb.Message.getWrapperField(this,
|
|
3461
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
|
|
3462
3462
|
};
|
|
3463
3463
|
|
|
3464
3464
|
|
|
@@ -4100,7 +4100,7 @@ proto.tinkoff.public.invest.api.contract.v1.CancelOrderResponse.prototype.toObje
|
|
|
4100
4100
|
proto.tinkoff.public.invest.api.contract.v1.CancelOrderResponse.toObject = function(includeInstance, msg) {
|
|
4101
4101
|
var f, obj = {
|
|
4102
4102
|
time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
4103
|
-
responseMetadata: (f = msg.getResponseMetadata()) &&
|
|
4103
|
+
responseMetadata: (f = msg.getResponseMetadata()) && api_tinvest_common_pb.ResponseMetadata.toObject(includeInstance, f)
|
|
4104
4104
|
};
|
|
4105
4105
|
|
|
4106
4106
|
if (includeInstance) {
|
|
@@ -4143,8 +4143,8 @@ proto.tinkoff.public.invest.api.contract.v1.CancelOrderResponse.deserializeBinar
|
|
|
4143
4143
|
msg.setTime(value);
|
|
4144
4144
|
break;
|
|
4145
4145
|
case 254:
|
|
4146
|
-
var value = new
|
|
4147
|
-
reader.readMessage(value,
|
|
4146
|
+
var value = new api_tinvest_common_pb.ResponseMetadata;
|
|
4147
|
+
reader.readMessage(value,api_tinvest_common_pb.ResponseMetadata.deserializeBinaryFromReader);
|
|
4148
4148
|
msg.setResponseMetadata(value);
|
|
4149
4149
|
break;
|
|
4150
4150
|
default:
|
|
@@ -4189,7 +4189,7 @@ proto.tinkoff.public.invest.api.contract.v1.CancelOrderResponse.serializeBinaryT
|
|
|
4189
4189
|
writer.writeMessage(
|
|
4190
4190
|
254,
|
|
4191
4191
|
f,
|
|
4192
|
-
|
|
4192
|
+
api_tinvest_common_pb.ResponseMetadata.serializeBinaryToWriter
|
|
4193
4193
|
);
|
|
4194
4194
|
}
|
|
4195
4195
|
};
|
|
@@ -4238,7 +4238,7 @@ proto.tinkoff.public.invest.api.contract.v1.CancelOrderResponse.prototype.hasTim
|
|
|
4238
4238
|
*/
|
|
4239
4239
|
proto.tinkoff.public.invest.api.contract.v1.CancelOrderResponse.prototype.getResponseMetadata = function() {
|
|
4240
4240
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.ResponseMetadata} */ (
|
|
4241
|
-
jspb.Message.getWrapperField(this,
|
|
4241
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.ResponseMetadata, 254));
|
|
4242
4242
|
};
|
|
4243
4243
|
|
|
4244
4244
|
|
|
@@ -5151,18 +5151,18 @@ orderId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
5151
5151
|
executionReportStatus: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5152
5152
|
lotsRequested: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
5153
5153
|
lotsExecuted: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
5154
|
-
initialOrderPrice: (f = msg.getInitialOrderPrice()) &&
|
|
5155
|
-
executedOrderPrice: (f = msg.getExecutedOrderPrice()) &&
|
|
5156
|
-
totalOrderAmount: (f = msg.getTotalOrderAmount()) &&
|
|
5157
|
-
averagePositionPrice: (f = msg.getAveragePositionPrice()) &&
|
|
5158
|
-
initialCommission: (f = msg.getInitialCommission()) &&
|
|
5159
|
-
executedCommission: (f = msg.getExecutedCommission()) &&
|
|
5154
|
+
initialOrderPrice: (f = msg.getInitialOrderPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
5155
|
+
executedOrderPrice: (f = msg.getExecutedOrderPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
5156
|
+
totalOrderAmount: (f = msg.getTotalOrderAmount()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
5157
|
+
averagePositionPrice: (f = msg.getAveragePositionPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
5158
|
+
initialCommission: (f = msg.getInitialCommission()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
5159
|
+
executedCommission: (f = msg.getExecutedCommission()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
5160
5160
|
figi: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5161
5161
|
direction: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
5162
|
-
initialSecurityPrice: (f = msg.getInitialSecurityPrice()) &&
|
|
5162
|
+
initialSecurityPrice: (f = msg.getInitialSecurityPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
5163
5163
|
stagesList: jspb.Message.toObjectList(msg.getStagesList(),
|
|
5164
5164
|
proto.tinkoff.public.invest.api.contract.v1.OrderStage.toObject, includeInstance),
|
|
5165
|
-
serviceCommission: (f = msg.getServiceCommission()) &&
|
|
5165
|
+
serviceCommission: (f = msg.getServiceCommission()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
5166
5166
|
currency: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
5167
5167
|
orderType: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
5168
5168
|
orderDate: (f = msg.getOrderDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
@@ -5223,33 +5223,33 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.deserializeBinaryFromRead
|
|
|
5223
5223
|
msg.setLotsExecuted(value);
|
|
5224
5224
|
break;
|
|
5225
5225
|
case 5:
|
|
5226
|
-
var value = new
|
|
5227
|
-
reader.readMessage(value,
|
|
5226
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
5227
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
5228
5228
|
msg.setInitialOrderPrice(value);
|
|
5229
5229
|
break;
|
|
5230
5230
|
case 6:
|
|
5231
|
-
var value = new
|
|
5232
|
-
reader.readMessage(value,
|
|
5231
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
5232
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
5233
5233
|
msg.setExecutedOrderPrice(value);
|
|
5234
5234
|
break;
|
|
5235
5235
|
case 7:
|
|
5236
|
-
var value = new
|
|
5237
|
-
reader.readMessage(value,
|
|
5236
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
5237
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
5238
5238
|
msg.setTotalOrderAmount(value);
|
|
5239
5239
|
break;
|
|
5240
5240
|
case 8:
|
|
5241
|
-
var value = new
|
|
5242
|
-
reader.readMessage(value,
|
|
5241
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
5242
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
5243
5243
|
msg.setAveragePositionPrice(value);
|
|
5244
5244
|
break;
|
|
5245
5245
|
case 9:
|
|
5246
|
-
var value = new
|
|
5247
|
-
reader.readMessage(value,
|
|
5246
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
5247
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
5248
5248
|
msg.setInitialCommission(value);
|
|
5249
5249
|
break;
|
|
5250
5250
|
case 10:
|
|
5251
|
-
var value = new
|
|
5252
|
-
reader.readMessage(value,
|
|
5251
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
5252
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
5253
5253
|
msg.setExecutedCommission(value);
|
|
5254
5254
|
break;
|
|
5255
5255
|
case 11:
|
|
@@ -5261,8 +5261,8 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.deserializeBinaryFromRead
|
|
|
5261
5261
|
msg.setDirection(value);
|
|
5262
5262
|
break;
|
|
5263
5263
|
case 13:
|
|
5264
|
-
var value = new
|
|
5265
|
-
reader.readMessage(value,
|
|
5264
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
5265
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
5266
5266
|
msg.setInitialSecurityPrice(value);
|
|
5267
5267
|
break;
|
|
5268
5268
|
case 14:
|
|
@@ -5271,8 +5271,8 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.deserializeBinaryFromRead
|
|
|
5271
5271
|
msg.addStages(value);
|
|
5272
5272
|
break;
|
|
5273
5273
|
case 15:
|
|
5274
|
-
var value = new
|
|
5275
|
-
reader.readMessage(value,
|
|
5274
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
5275
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
5276
5276
|
msg.setServiceCommission(value);
|
|
5277
5277
|
break;
|
|
5278
5278
|
case 16:
|
|
@@ -5366,7 +5366,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.serializeBinaryToWriter =
|
|
|
5366
5366
|
writer.writeMessage(
|
|
5367
5367
|
5,
|
|
5368
5368
|
f,
|
|
5369
|
-
|
|
5369
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
5370
5370
|
);
|
|
5371
5371
|
}
|
|
5372
5372
|
f = message.getExecutedOrderPrice();
|
|
@@ -5374,7 +5374,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.serializeBinaryToWriter =
|
|
|
5374
5374
|
writer.writeMessage(
|
|
5375
5375
|
6,
|
|
5376
5376
|
f,
|
|
5377
|
-
|
|
5377
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
5378
5378
|
);
|
|
5379
5379
|
}
|
|
5380
5380
|
f = message.getTotalOrderAmount();
|
|
@@ -5382,7 +5382,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.serializeBinaryToWriter =
|
|
|
5382
5382
|
writer.writeMessage(
|
|
5383
5383
|
7,
|
|
5384
5384
|
f,
|
|
5385
|
-
|
|
5385
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
5386
5386
|
);
|
|
5387
5387
|
}
|
|
5388
5388
|
f = message.getAveragePositionPrice();
|
|
@@ -5390,7 +5390,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.serializeBinaryToWriter =
|
|
|
5390
5390
|
writer.writeMessage(
|
|
5391
5391
|
8,
|
|
5392
5392
|
f,
|
|
5393
|
-
|
|
5393
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
5394
5394
|
);
|
|
5395
5395
|
}
|
|
5396
5396
|
f = message.getInitialCommission();
|
|
@@ -5398,7 +5398,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.serializeBinaryToWriter =
|
|
|
5398
5398
|
writer.writeMessage(
|
|
5399
5399
|
9,
|
|
5400
5400
|
f,
|
|
5401
|
-
|
|
5401
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
5402
5402
|
);
|
|
5403
5403
|
}
|
|
5404
5404
|
f = message.getExecutedCommission();
|
|
@@ -5406,7 +5406,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.serializeBinaryToWriter =
|
|
|
5406
5406
|
writer.writeMessage(
|
|
5407
5407
|
10,
|
|
5408
5408
|
f,
|
|
5409
|
-
|
|
5409
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
5410
5410
|
);
|
|
5411
5411
|
}
|
|
5412
5412
|
f = message.getFigi();
|
|
@@ -5428,7 +5428,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.serializeBinaryToWriter =
|
|
|
5428
5428
|
writer.writeMessage(
|
|
5429
5429
|
13,
|
|
5430
5430
|
f,
|
|
5431
|
-
|
|
5431
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
5432
5432
|
);
|
|
5433
5433
|
}
|
|
5434
5434
|
f = message.getStagesList();
|
|
@@ -5444,7 +5444,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.serializeBinaryToWriter =
|
|
|
5444
5444
|
writer.writeMessage(
|
|
5445
5445
|
15,
|
|
5446
5446
|
f,
|
|
5447
|
-
|
|
5447
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
5448
5448
|
);
|
|
5449
5449
|
}
|
|
5450
5450
|
f = message.getCurrency();
|
|
@@ -5578,7 +5578,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.setLotsExecuted
|
|
|
5578
5578
|
*/
|
|
5579
5579
|
proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.getInitialOrderPrice = function() {
|
|
5580
5580
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5581
|
-
jspb.Message.getWrapperField(this,
|
|
5581
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 5));
|
|
5582
5582
|
};
|
|
5583
5583
|
|
|
5584
5584
|
|
|
@@ -5615,7 +5615,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.hasInitialOrder
|
|
|
5615
5615
|
*/
|
|
5616
5616
|
proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.getExecutedOrderPrice = function() {
|
|
5617
5617
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5618
|
-
jspb.Message.getWrapperField(this,
|
|
5618
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 6));
|
|
5619
5619
|
};
|
|
5620
5620
|
|
|
5621
5621
|
|
|
@@ -5652,7 +5652,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.hasExecutedOrde
|
|
|
5652
5652
|
*/
|
|
5653
5653
|
proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.getTotalOrderAmount = function() {
|
|
5654
5654
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5655
|
-
jspb.Message.getWrapperField(this,
|
|
5655
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 7));
|
|
5656
5656
|
};
|
|
5657
5657
|
|
|
5658
5658
|
|
|
@@ -5689,7 +5689,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.hasTotalOrderAm
|
|
|
5689
5689
|
*/
|
|
5690
5690
|
proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.getAveragePositionPrice = function() {
|
|
5691
5691
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5692
|
-
jspb.Message.getWrapperField(this,
|
|
5692
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 8));
|
|
5693
5693
|
};
|
|
5694
5694
|
|
|
5695
5695
|
|
|
@@ -5726,7 +5726,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.hasAveragePosit
|
|
|
5726
5726
|
*/
|
|
5727
5727
|
proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.getInitialCommission = function() {
|
|
5728
5728
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5729
|
-
jspb.Message.getWrapperField(this,
|
|
5729
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 9));
|
|
5730
5730
|
};
|
|
5731
5731
|
|
|
5732
5732
|
|
|
@@ -5763,7 +5763,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.hasInitialCommi
|
|
|
5763
5763
|
*/
|
|
5764
5764
|
proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.getExecutedCommission = function() {
|
|
5765
5765
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5766
|
-
jspb.Message.getWrapperField(this,
|
|
5766
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 10));
|
|
5767
5767
|
};
|
|
5768
5768
|
|
|
5769
5769
|
|
|
@@ -5836,7 +5836,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.setDirection =
|
|
|
5836
5836
|
*/
|
|
5837
5837
|
proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.getInitialSecurityPrice = function() {
|
|
5838
5838
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5839
|
-
jspb.Message.getWrapperField(this,
|
|
5839
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 13));
|
|
5840
5840
|
};
|
|
5841
5841
|
|
|
5842
5842
|
|
|
@@ -5911,7 +5911,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.clearStagesList
|
|
|
5911
5911
|
*/
|
|
5912
5912
|
proto.tinkoff.public.invest.api.contract.v1.OrderState.prototype.getServiceCommission = function() {
|
|
5913
5913
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5914
|
-
jspb.Message.getWrapperField(this,
|
|
5914
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 15));
|
|
5915
5915
|
};
|
|
5916
5916
|
|
|
5917
5917
|
|
|
@@ -6119,7 +6119,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStage.prototype.toObject = func
|
|
|
6119
6119
|
*/
|
|
6120
6120
|
proto.tinkoff.public.invest.api.contract.v1.OrderStage.toObject = function(includeInstance, msg) {
|
|
6121
6121
|
var f, obj = {
|
|
6122
|
-
price: (f = msg.getPrice()) &&
|
|
6122
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
6123
6123
|
quantity: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6124
6124
|
tradeId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6125
6125
|
executionTime: (f = msg.getExecutionTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
@@ -6160,8 +6160,8 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStage.deserializeBinaryFromRead
|
|
|
6160
6160
|
var field = reader.getFieldNumber();
|
|
6161
6161
|
switch (field) {
|
|
6162
6162
|
case 1:
|
|
6163
|
-
var value = new
|
|
6164
|
-
reader.readMessage(value,
|
|
6163
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
6164
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
6165
6165
|
msg.setPrice(value);
|
|
6166
6166
|
break;
|
|
6167
6167
|
case 2:
|
|
@@ -6211,7 +6211,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStage.serializeBinaryToWriter =
|
|
|
6211
6211
|
writer.writeMessage(
|
|
6212
6212
|
1,
|
|
6213
6213
|
f,
|
|
6214
|
-
|
|
6214
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
6215
6215
|
);
|
|
6216
6216
|
}
|
|
6217
6217
|
f = message.getQuantity();
|
|
@@ -6245,7 +6245,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStage.serializeBinaryToWriter =
|
|
|
6245
6245
|
*/
|
|
6246
6246
|
proto.tinkoff.public.invest.api.contract.v1.OrderStage.prototype.getPrice = function() {
|
|
6247
6247
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
6248
|
-
jspb.Message.getWrapperField(this,
|
|
6248
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 1));
|
|
6249
6249
|
};
|
|
6250
6250
|
|
|
6251
6251
|
|
|
@@ -6386,7 +6386,7 @@ orderIdType: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
|
|
|
6386
6386
|
orderId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
6387
6387
|
idempotencyKey: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
6388
6388
|
quantity: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
6389
|
-
price: (f = msg.getPrice()) &&
|
|
6389
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
6390
6390
|
priceType: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f,
|
|
6391
6391
|
confirmMarginTrade: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
|
|
6392
6392
|
};
|
|
@@ -6446,8 +6446,8 @@ proto.tinkoff.public.invest.api.contract.v1.ReplaceOrderRequest.deserializeBinar
|
|
|
6446
6446
|
msg.setQuantity(value);
|
|
6447
6447
|
break;
|
|
6448
6448
|
case 12:
|
|
6449
|
-
var value = new
|
|
6450
|
-
reader.readMessage(value,
|
|
6449
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
6450
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
6451
6451
|
msg.setPrice(value);
|
|
6452
6452
|
break;
|
|
6453
6453
|
case 13:
|
|
@@ -6527,7 +6527,7 @@ proto.tinkoff.public.invest.api.contract.v1.ReplaceOrderRequest.serializeBinaryT
|
|
|
6527
6527
|
writer.writeMessage(
|
|
6528
6528
|
12,
|
|
6529
6529
|
f,
|
|
6530
|
-
|
|
6530
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
6531
6531
|
);
|
|
6532
6532
|
}
|
|
6533
6533
|
f = /** @type {!proto.tinkoff.public.invest.api.contract.v1.PriceType} */ (jspb.Message.getField(message, 13));
|
|
@@ -6661,7 +6661,7 @@ proto.tinkoff.public.invest.api.contract.v1.ReplaceOrderRequest.prototype.setQua
|
|
|
6661
6661
|
*/
|
|
6662
6662
|
proto.tinkoff.public.invest.api.contract.v1.ReplaceOrderRequest.prototype.getPrice = function() {
|
|
6663
6663
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
6664
|
-
jspb.Message.getWrapperField(this,
|
|
6664
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 12));
|
|
6665
6665
|
};
|
|
6666
6666
|
|
|
6667
6667
|
|
|
@@ -6780,7 +6780,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetMaxLotsRequest.toObject = functio
|
|
|
6780
6780
|
var f, obj = {
|
|
6781
6781
|
accountId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6782
6782
|
instrumentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6783
|
-
price: (f = msg.getPrice()) &&
|
|
6783
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f)
|
|
6784
6784
|
};
|
|
6785
6785
|
|
|
6786
6786
|
if (includeInstance) {
|
|
@@ -6826,8 +6826,8 @@ proto.tinkoff.public.invest.api.contract.v1.GetMaxLotsRequest.deserializeBinaryF
|
|
|
6826
6826
|
msg.setInstrumentId(value);
|
|
6827
6827
|
break;
|
|
6828
6828
|
case 3:
|
|
6829
|
-
var value = new
|
|
6830
|
-
reader.readMessage(value,
|
|
6829
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
6830
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
6831
6831
|
msg.setPrice(value);
|
|
6832
6832
|
break;
|
|
6833
6833
|
default:
|
|
@@ -6878,7 +6878,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetMaxLotsRequest.serializeBinaryToW
|
|
|
6878
6878
|
writer.writeMessage(
|
|
6879
6879
|
3,
|
|
6880
6880
|
f,
|
|
6881
|
-
|
|
6881
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
6882
6882
|
);
|
|
6883
6883
|
}
|
|
6884
6884
|
};
|
|
@@ -6926,7 +6926,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetMaxLotsRequest.prototype.setInstr
|
|
|
6926
6926
|
*/
|
|
6927
6927
|
proto.tinkoff.public.invest.api.contract.v1.GetMaxLotsRequest.prototype.getPrice = function() {
|
|
6928
6928
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
6929
|
-
jspb.Message.getWrapperField(this,
|
|
6929
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
|
|
6930
6930
|
};
|
|
6931
6931
|
|
|
6932
6932
|
|
|
@@ -7157,7 +7157,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetMaxLotsResponse.BuyLimitsView.pro
|
|
|
7157
7157
|
*/
|
|
7158
7158
|
proto.tinkoff.public.invest.api.contract.v1.GetMaxLotsResponse.BuyLimitsView.toObject = function(includeInstance, msg) {
|
|
7159
7159
|
var f, obj = {
|
|
7160
|
-
buyMoneyAmount: (f = msg.getBuyMoneyAmount()) &&
|
|
7160
|
+
buyMoneyAmount: (f = msg.getBuyMoneyAmount()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
7161
7161
|
buyMaxLots: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7162
7162
|
buyMaxMarketLots: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
7163
7163
|
};
|
|
@@ -7197,8 +7197,8 @@ proto.tinkoff.public.invest.api.contract.v1.GetMaxLotsResponse.BuyLimitsView.des
|
|
|
7197
7197
|
var field = reader.getFieldNumber();
|
|
7198
7198
|
switch (field) {
|
|
7199
7199
|
case 1:
|
|
7200
|
-
var value = new
|
|
7201
|
-
reader.readMessage(value,
|
|
7200
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
7201
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
7202
7202
|
msg.setBuyMoneyAmount(value);
|
|
7203
7203
|
break;
|
|
7204
7204
|
case 2:
|
|
@@ -7243,7 +7243,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetMaxLotsResponse.BuyLimitsView.ser
|
|
|
7243
7243
|
writer.writeMessage(
|
|
7244
7244
|
1,
|
|
7245
7245
|
f,
|
|
7246
|
-
|
|
7246
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
7247
7247
|
);
|
|
7248
7248
|
}
|
|
7249
7249
|
f = message.getBuyMaxLots();
|
|
@@ -7269,7 +7269,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetMaxLotsResponse.BuyLimitsView.ser
|
|
|
7269
7269
|
*/
|
|
7270
7270
|
proto.tinkoff.public.invest.api.contract.v1.GetMaxLotsResponse.BuyLimitsView.prototype.getBuyMoneyAmount = function() {
|
|
7271
7271
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
7272
|
-
jspb.Message.getWrapperField(this,
|
|
7272
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 1));
|
|
7273
7273
|
};
|
|
7274
7274
|
|
|
7275
7275
|
|
|
@@ -7666,7 +7666,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceRequest.toObject = func
|
|
|
7666
7666
|
var f, obj = {
|
|
7667
7667
|
accountId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7668
7668
|
instrumentId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7669
|
-
price: (f = msg.getPrice()) &&
|
|
7669
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
7670
7670
|
direction: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
7671
7671
|
quantity: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
7672
7672
|
};
|
|
@@ -7714,8 +7714,8 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceRequest.deserializeBina
|
|
|
7714
7714
|
msg.setInstrumentId(value);
|
|
7715
7715
|
break;
|
|
7716
7716
|
case 3:
|
|
7717
|
-
var value = new
|
|
7718
|
-
reader.readMessage(value,
|
|
7717
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
7718
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
7719
7719
|
msg.setPrice(value);
|
|
7720
7720
|
break;
|
|
7721
7721
|
case 12:
|
|
@@ -7774,7 +7774,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceRequest.serializeBinary
|
|
|
7774
7774
|
writer.writeMessage(
|
|
7775
7775
|
3,
|
|
7776
7776
|
f,
|
|
7777
|
-
|
|
7777
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
7778
7778
|
);
|
|
7779
7779
|
}
|
|
7780
7780
|
f = message.getDirection();
|
|
@@ -7836,7 +7836,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceRequest.prototype.setIn
|
|
|
7836
7836
|
*/
|
|
7837
7837
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceRequest.prototype.getPrice = function() {
|
|
7838
7838
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
7839
|
-
jspb.Message.getWrapperField(this,
|
|
7839
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
|
|
7840
7840
|
};
|
|
7841
7841
|
|
|
7842
7842
|
|
|
@@ -7961,13 +7961,13 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.prototype.toOb
|
|
|
7961
7961
|
*/
|
|
7962
7962
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.toObject = function(includeInstance, msg) {
|
|
7963
7963
|
var f, obj = {
|
|
7964
|
-
totalOrderAmount: (f = msg.getTotalOrderAmount()) &&
|
|
7965
|
-
initialOrderAmount: (f = msg.getInitialOrderAmount()) &&
|
|
7964
|
+
totalOrderAmount: (f = msg.getTotalOrderAmount()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
7965
|
+
initialOrderAmount: (f = msg.getInitialOrderAmount()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
7966
7966
|
lotsRequested: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
7967
|
-
executedCommission: (f = msg.getExecutedCommission()) &&
|
|
7968
|
-
executedCommissionRub: (f = msg.getExecutedCommissionRub()) &&
|
|
7969
|
-
serviceCommission: (f = msg.getServiceCommission()) &&
|
|
7970
|
-
dealCommission: (f = msg.getDealCommission()) &&
|
|
7967
|
+
executedCommission: (f = msg.getExecutedCommission()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
7968
|
+
executedCommissionRub: (f = msg.getExecutedCommissionRub()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
7969
|
+
serviceCommission: (f = msg.getServiceCommission()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
7970
|
+
dealCommission: (f = msg.getDealCommission()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
7971
7971
|
extraBond: (f = msg.getExtraBond()) && proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraBond.toObject(includeInstance, f),
|
|
7972
7972
|
extraFuture: (f = msg.getExtraFuture()) && proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraFuture.toObject(includeInstance, f)
|
|
7973
7973
|
};
|
|
@@ -8007,13 +8007,13 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.deserializeBin
|
|
|
8007
8007
|
var field = reader.getFieldNumber();
|
|
8008
8008
|
switch (field) {
|
|
8009
8009
|
case 1:
|
|
8010
|
-
var value = new
|
|
8011
|
-
reader.readMessage(value,
|
|
8010
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8011
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8012
8012
|
msg.setTotalOrderAmount(value);
|
|
8013
8013
|
break;
|
|
8014
8014
|
case 5:
|
|
8015
|
-
var value = new
|
|
8016
|
-
reader.readMessage(value,
|
|
8015
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8016
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8017
8017
|
msg.setInitialOrderAmount(value);
|
|
8018
8018
|
break;
|
|
8019
8019
|
case 3:
|
|
@@ -8021,23 +8021,23 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.deserializeBin
|
|
|
8021
8021
|
msg.setLotsRequested(value);
|
|
8022
8022
|
break;
|
|
8023
8023
|
case 7:
|
|
8024
|
-
var value = new
|
|
8025
|
-
reader.readMessage(value,
|
|
8024
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8025
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8026
8026
|
msg.setExecutedCommission(value);
|
|
8027
8027
|
break;
|
|
8028
8028
|
case 8:
|
|
8029
|
-
var value = new
|
|
8030
|
-
reader.readMessage(value,
|
|
8029
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8030
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8031
8031
|
msg.setExecutedCommissionRub(value);
|
|
8032
8032
|
break;
|
|
8033
8033
|
case 9:
|
|
8034
|
-
var value = new
|
|
8035
|
-
reader.readMessage(value,
|
|
8034
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8035
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8036
8036
|
msg.setServiceCommission(value);
|
|
8037
8037
|
break;
|
|
8038
8038
|
case 10:
|
|
8039
|
-
var value = new
|
|
8040
|
-
reader.readMessage(value,
|
|
8039
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8040
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8041
8041
|
msg.setDealCommission(value);
|
|
8042
8042
|
break;
|
|
8043
8043
|
case 12:
|
|
@@ -8084,7 +8084,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.serializeBinar
|
|
|
8084
8084
|
writer.writeMessage(
|
|
8085
8085
|
1,
|
|
8086
8086
|
f,
|
|
8087
|
-
|
|
8087
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8088
8088
|
);
|
|
8089
8089
|
}
|
|
8090
8090
|
f = message.getInitialOrderAmount();
|
|
@@ -8092,7 +8092,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.serializeBinar
|
|
|
8092
8092
|
writer.writeMessage(
|
|
8093
8093
|
5,
|
|
8094
8094
|
f,
|
|
8095
|
-
|
|
8095
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8096
8096
|
);
|
|
8097
8097
|
}
|
|
8098
8098
|
f = message.getLotsRequested();
|
|
@@ -8107,7 +8107,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.serializeBinar
|
|
|
8107
8107
|
writer.writeMessage(
|
|
8108
8108
|
7,
|
|
8109
8109
|
f,
|
|
8110
|
-
|
|
8110
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8111
8111
|
);
|
|
8112
8112
|
}
|
|
8113
8113
|
f = message.getExecutedCommissionRub();
|
|
@@ -8115,7 +8115,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.serializeBinar
|
|
|
8115
8115
|
writer.writeMessage(
|
|
8116
8116
|
8,
|
|
8117
8117
|
f,
|
|
8118
|
-
|
|
8118
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8119
8119
|
);
|
|
8120
8120
|
}
|
|
8121
8121
|
f = message.getServiceCommission();
|
|
@@ -8123,7 +8123,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.serializeBinar
|
|
|
8123
8123
|
writer.writeMessage(
|
|
8124
8124
|
9,
|
|
8125
8125
|
f,
|
|
8126
|
-
|
|
8126
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8127
8127
|
);
|
|
8128
8128
|
}
|
|
8129
8129
|
f = message.getDealCommission();
|
|
@@ -8131,7 +8131,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.serializeBinar
|
|
|
8131
8131
|
writer.writeMessage(
|
|
8132
8132
|
10,
|
|
8133
8133
|
f,
|
|
8134
|
-
|
|
8134
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8135
8135
|
);
|
|
8136
8136
|
}
|
|
8137
8137
|
f = message.getExtraBond();
|
|
@@ -8185,8 +8185,8 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraBond.prot
|
|
|
8185
8185
|
*/
|
|
8186
8186
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraBond.toObject = function(includeInstance, msg) {
|
|
8187
8187
|
var f, obj = {
|
|
8188
|
-
aciValue: (f = msg.getAciValue()) &&
|
|
8189
|
-
nominalConversionRate: (f = msg.getNominalConversionRate()) &&
|
|
8188
|
+
aciValue: (f = msg.getAciValue()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
8189
|
+
nominalConversionRate: (f = msg.getNominalConversionRate()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f)
|
|
8190
8190
|
};
|
|
8191
8191
|
|
|
8192
8192
|
if (includeInstance) {
|
|
@@ -8224,13 +8224,13 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraBond.dese
|
|
|
8224
8224
|
var field = reader.getFieldNumber();
|
|
8225
8225
|
switch (field) {
|
|
8226
8226
|
case 2:
|
|
8227
|
-
var value = new
|
|
8228
|
-
reader.readMessage(value,
|
|
8227
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8228
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8229
8229
|
msg.setAciValue(value);
|
|
8230
8230
|
break;
|
|
8231
8231
|
case 3:
|
|
8232
|
-
var value = new
|
|
8233
|
-
reader.readMessage(value,
|
|
8232
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
8233
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
8234
8234
|
msg.setNominalConversionRate(value);
|
|
8235
8235
|
break;
|
|
8236
8236
|
default:
|
|
@@ -8267,7 +8267,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraBond.seri
|
|
|
8267
8267
|
writer.writeMessage(
|
|
8268
8268
|
2,
|
|
8269
8269
|
f,
|
|
8270
|
-
|
|
8270
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8271
8271
|
);
|
|
8272
8272
|
}
|
|
8273
8273
|
f = message.getNominalConversionRate();
|
|
@@ -8275,7 +8275,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraBond.seri
|
|
|
8275
8275
|
writer.writeMessage(
|
|
8276
8276
|
3,
|
|
8277
8277
|
f,
|
|
8278
|
-
|
|
8278
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
8279
8279
|
);
|
|
8280
8280
|
}
|
|
8281
8281
|
};
|
|
@@ -8287,7 +8287,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraBond.seri
|
|
|
8287
8287
|
*/
|
|
8288
8288
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraBond.prototype.getAciValue = function() {
|
|
8289
8289
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
8290
|
-
jspb.Message.getWrapperField(this,
|
|
8290
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 2));
|
|
8291
8291
|
};
|
|
8292
8292
|
|
|
8293
8293
|
|
|
@@ -8324,7 +8324,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraBond.prot
|
|
|
8324
8324
|
*/
|
|
8325
8325
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraBond.prototype.getNominalConversionRate = function() {
|
|
8326
8326
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
8327
|
-
jspb.Message.getWrapperField(this,
|
|
8327
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
|
|
8328
8328
|
};
|
|
8329
8329
|
|
|
8330
8330
|
|
|
@@ -8387,7 +8387,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraFuture.pr
|
|
|
8387
8387
|
*/
|
|
8388
8388
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraFuture.toObject = function(includeInstance, msg) {
|
|
8389
8389
|
var f, obj = {
|
|
8390
|
-
initialMargin: (f = msg.getInitialMargin()) &&
|
|
8390
|
+
initialMargin: (f = msg.getInitialMargin()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f)
|
|
8391
8391
|
};
|
|
8392
8392
|
|
|
8393
8393
|
if (includeInstance) {
|
|
@@ -8425,8 +8425,8 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraFuture.de
|
|
|
8425
8425
|
var field = reader.getFieldNumber();
|
|
8426
8426
|
switch (field) {
|
|
8427
8427
|
case 2:
|
|
8428
|
-
var value = new
|
|
8429
|
-
reader.readMessage(value,
|
|
8428
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8429
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8430
8430
|
msg.setInitialMargin(value);
|
|
8431
8431
|
break;
|
|
8432
8432
|
default:
|
|
@@ -8463,7 +8463,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraFuture.se
|
|
|
8463
8463
|
writer.writeMessage(
|
|
8464
8464
|
2,
|
|
8465
8465
|
f,
|
|
8466
|
-
|
|
8466
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8467
8467
|
);
|
|
8468
8468
|
}
|
|
8469
8469
|
};
|
|
@@ -8475,7 +8475,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraFuture.se
|
|
|
8475
8475
|
*/
|
|
8476
8476
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraFuture.prototype.getInitialMargin = function() {
|
|
8477
8477
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
8478
|
-
jspb.Message.getWrapperField(this,
|
|
8478
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 2));
|
|
8479
8479
|
};
|
|
8480
8480
|
|
|
8481
8481
|
|
|
@@ -8512,7 +8512,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.ExtraFuture.pr
|
|
|
8512
8512
|
*/
|
|
8513
8513
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.prototype.getTotalOrderAmount = function() {
|
|
8514
8514
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
8515
|
-
jspb.Message.getWrapperField(this,
|
|
8515
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 1));
|
|
8516
8516
|
};
|
|
8517
8517
|
|
|
8518
8518
|
|
|
@@ -8549,7 +8549,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.prototype.hasT
|
|
|
8549
8549
|
*/
|
|
8550
8550
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.prototype.getInitialOrderAmount = function() {
|
|
8551
8551
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
8552
|
-
jspb.Message.getWrapperField(this,
|
|
8552
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 5));
|
|
8553
8553
|
};
|
|
8554
8554
|
|
|
8555
8555
|
|
|
@@ -8604,7 +8604,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.prototype.setL
|
|
|
8604
8604
|
*/
|
|
8605
8605
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.prototype.getExecutedCommission = function() {
|
|
8606
8606
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
8607
|
-
jspb.Message.getWrapperField(this,
|
|
8607
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 7));
|
|
8608
8608
|
};
|
|
8609
8609
|
|
|
8610
8610
|
|
|
@@ -8641,7 +8641,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.prototype.hasE
|
|
|
8641
8641
|
*/
|
|
8642
8642
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.prototype.getExecutedCommissionRub = function() {
|
|
8643
8643
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
8644
|
-
jspb.Message.getWrapperField(this,
|
|
8644
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 8));
|
|
8645
8645
|
};
|
|
8646
8646
|
|
|
8647
8647
|
|
|
@@ -8678,7 +8678,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.prototype.hasE
|
|
|
8678
8678
|
*/
|
|
8679
8679
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.prototype.getServiceCommission = function() {
|
|
8680
8680
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
8681
|
-
jspb.Message.getWrapperField(this,
|
|
8681
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 9));
|
|
8682
8682
|
};
|
|
8683
8683
|
|
|
8684
8684
|
|
|
@@ -8715,7 +8715,7 @@ proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.prototype.hasS
|
|
|
8715
8715
|
*/
|
|
8716
8716
|
proto.tinkoff.public.invest.api.contract.v1.GetOrderPriceResponse.prototype.getDealCommission = function() {
|
|
8717
8717
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
8718
|
-
jspb.Message.getWrapperField(this,
|
|
8718
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 10));
|
|
8719
8719
|
};
|
|
8720
8720
|
|
|
8721
8721
|
|
|
@@ -9067,7 +9067,7 @@ trackingId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
9067
9067
|
status: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9068
9068
|
streamId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9069
9069
|
accountsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
9070
|
-
error: (f = msg.getError()) &&
|
|
9070
|
+
error: (f = msg.getError()) && api_tinvest_common_pb.ErrorDetail.toObject(includeInstance, f)
|
|
9071
9071
|
};
|
|
9072
9072
|
|
|
9073
9073
|
if (includeInstance) {
|
|
@@ -9121,8 +9121,8 @@ proto.tinkoff.public.invest.api.contract.v1.SubscriptionResponse.deserializeBina
|
|
|
9121
9121
|
msg.addAccounts(value);
|
|
9122
9122
|
break;
|
|
9123
9123
|
case 7:
|
|
9124
|
-
var value = new
|
|
9125
|
-
reader.readMessage(value,
|
|
9124
|
+
var value = new api_tinvest_common_pb.ErrorDetail;
|
|
9125
|
+
reader.readMessage(value,api_tinvest_common_pb.ErrorDetail.deserializeBinaryFromReader);
|
|
9126
9126
|
msg.setError(value);
|
|
9127
9127
|
break;
|
|
9128
9128
|
default:
|
|
@@ -9187,7 +9187,7 @@ proto.tinkoff.public.invest.api.contract.v1.SubscriptionResponse.serializeBinary
|
|
|
9187
9187
|
writer.writeMessage(
|
|
9188
9188
|
7,
|
|
9189
9189
|
f,
|
|
9190
|
-
|
|
9190
|
+
api_tinvest_common_pb.ErrorDetail.serializeBinaryToWriter
|
|
9191
9191
|
);
|
|
9192
9192
|
}
|
|
9193
9193
|
};
|
|
@@ -9290,7 +9290,7 @@ proto.tinkoff.public.invest.api.contract.v1.SubscriptionResponse.prototype.clear
|
|
|
9290
9290
|
*/
|
|
9291
9291
|
proto.tinkoff.public.invest.api.contract.v1.SubscriptionResponse.prototype.getError = function() {
|
|
9292
9292
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.ErrorDetail} */ (
|
|
9293
|
-
jspb.Message.getWrapperField(this,
|
|
9293
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.ErrorDetail, 7));
|
|
9294
9294
|
};
|
|
9295
9295
|
|
|
9296
9296
|
|
|
@@ -9382,7 +9382,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.prototype.t
|
|
|
9382
9382
|
proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.toObject = function(includeInstance, msg) {
|
|
9383
9383
|
var f, obj = {
|
|
9384
9384
|
orderState: (f = msg.getOrderState()) && proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.toObject(includeInstance, f),
|
|
9385
|
-
ping: (f = msg.getPing()) &&
|
|
9385
|
+
ping: (f = msg.getPing()) && api_tinvest_common_pb.Ping.toObject(includeInstance, f),
|
|
9386
9386
|
subscription: (f = msg.getSubscription()) && proto.tinkoff.public.invest.api.contract.v1.SubscriptionResponse.toObject(includeInstance, f),
|
|
9387
9387
|
stopOrderState: (f = msg.getStopOrderState()) && proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.StopOrderState.toObject(includeInstance, f)
|
|
9388
9388
|
};
|
|
@@ -9427,8 +9427,8 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.deserialize
|
|
|
9427
9427
|
msg.setOrderState(value);
|
|
9428
9428
|
break;
|
|
9429
9429
|
case 2:
|
|
9430
|
-
var value = new
|
|
9431
|
-
reader.readMessage(value,
|
|
9430
|
+
var value = new api_tinvest_common_pb.Ping;
|
|
9431
|
+
reader.readMessage(value,api_tinvest_common_pb.Ping.deserializeBinaryFromReader);
|
|
9432
9432
|
msg.setPing(value);
|
|
9433
9433
|
break;
|
|
9434
9434
|
case 3:
|
|
@@ -9483,7 +9483,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.serializeBi
|
|
|
9483
9483
|
writer.writeMessage(
|
|
9484
9484
|
2,
|
|
9485
9485
|
f,
|
|
9486
|
-
|
|
9486
|
+
api_tinvest_common_pb.Ping.serializeBinaryToWriter
|
|
9487
9487
|
);
|
|
9488
9488
|
}
|
|
9489
9489
|
f = message.getSubscription();
|
|
@@ -9587,10 +9587,10 @@ timeInForce: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
|
9587
9587
|
orderType: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
9588
9588
|
accountId: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
9589
9589
|
tradeOrderId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
9590
|
-
initialOrderPrice: (f = msg.getInitialOrderPrice()) &&
|
|
9591
|
-
orderPrice: (f = msg.getOrderPrice()) &&
|
|
9592
|
-
amount: (f = msg.getAmount()) &&
|
|
9593
|
-
executedOrderPrice: (f = msg.getExecutedOrderPrice()) &&
|
|
9590
|
+
initialOrderPrice: (f = msg.getInitialOrderPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
9591
|
+
orderPrice: (f = msg.getOrderPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
9592
|
+
amount: (f = msg.getAmount()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
9593
|
+
executedOrderPrice: (f = msg.getExecutedOrderPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
9594
9594
|
currency: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
9595
9595
|
lotsRequested: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
9596
9596
|
lotsExecuted: jspb.Message.getFieldWithDefault(msg, 28, 0),
|
|
@@ -9696,23 +9696,23 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.
|
|
|
9696
9696
|
msg.setTradeOrderId(value);
|
|
9697
9697
|
break;
|
|
9698
9698
|
case 22:
|
|
9699
|
-
var value = new
|
|
9700
|
-
reader.readMessage(value,
|
|
9699
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
9700
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
9701
9701
|
msg.setInitialOrderPrice(value);
|
|
9702
9702
|
break;
|
|
9703
9703
|
case 23:
|
|
9704
|
-
var value = new
|
|
9705
|
-
reader.readMessage(value,
|
|
9704
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
9705
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
9706
9706
|
msg.setOrderPrice(value);
|
|
9707
9707
|
break;
|
|
9708
9708
|
case 24:
|
|
9709
|
-
var value = new
|
|
9710
|
-
reader.readMessage(value,
|
|
9709
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
9710
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
9711
9711
|
msg.setAmount(value);
|
|
9712
9712
|
break;
|
|
9713
9713
|
case 25:
|
|
9714
|
-
var value = new
|
|
9715
|
-
reader.readMessage(value,
|
|
9714
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
9715
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
9716
9716
|
msg.setExecutedOrderPrice(value);
|
|
9717
9717
|
break;
|
|
9718
9718
|
case 26:
|
|
@@ -9890,7 +9890,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.
|
|
|
9890
9890
|
writer.writeMessage(
|
|
9891
9891
|
22,
|
|
9892
9892
|
f,
|
|
9893
|
-
|
|
9893
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
9894
9894
|
);
|
|
9895
9895
|
}
|
|
9896
9896
|
f = message.getOrderPrice();
|
|
@@ -9898,7 +9898,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.
|
|
|
9898
9898
|
writer.writeMessage(
|
|
9899
9899
|
23,
|
|
9900
9900
|
f,
|
|
9901
|
-
|
|
9901
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
9902
9902
|
);
|
|
9903
9903
|
}
|
|
9904
9904
|
f = message.getAmount();
|
|
@@ -9906,7 +9906,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.
|
|
|
9906
9906
|
writer.writeMessage(
|
|
9907
9907
|
24,
|
|
9908
9908
|
f,
|
|
9909
|
-
|
|
9909
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
9910
9910
|
);
|
|
9911
9911
|
}
|
|
9912
9912
|
f = message.getExecutedOrderPrice();
|
|
@@ -9914,7 +9914,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.
|
|
|
9914
9914
|
writer.writeMessage(
|
|
9915
9915
|
25,
|
|
9916
9916
|
f,
|
|
9917
|
-
|
|
9917
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
9918
9918
|
);
|
|
9919
9919
|
}
|
|
9920
9920
|
f = message.getCurrency();
|
|
@@ -10305,7 +10305,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.
|
|
|
10305
10305
|
*/
|
|
10306
10306
|
proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.prototype.getInitialOrderPrice = function() {
|
|
10307
10307
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
10308
|
-
jspb.Message.getWrapperField(this,
|
|
10308
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 22));
|
|
10309
10309
|
};
|
|
10310
10310
|
|
|
10311
10311
|
|
|
@@ -10342,7 +10342,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.
|
|
|
10342
10342
|
*/
|
|
10343
10343
|
proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.prototype.getOrderPrice = function() {
|
|
10344
10344
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
10345
|
-
jspb.Message.getWrapperField(this,
|
|
10345
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 23));
|
|
10346
10346
|
};
|
|
10347
10347
|
|
|
10348
10348
|
|
|
@@ -10379,7 +10379,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.
|
|
|
10379
10379
|
*/
|
|
10380
10380
|
proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.prototype.getAmount = function() {
|
|
10381
10381
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
10382
|
-
jspb.Message.getWrapperField(this,
|
|
10382
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 24));
|
|
10383
10383
|
};
|
|
10384
10384
|
|
|
10385
10385
|
|
|
@@ -10416,7 +10416,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.
|
|
|
10416
10416
|
*/
|
|
10417
10417
|
proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.OrderState.prototype.getExecutedOrderPrice = function() {
|
|
10418
10418
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
10419
|
-
jspb.Message.getWrapperField(this,
|
|
10419
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 25));
|
|
10420
10420
|
};
|
|
10421
10421
|
|
|
10422
10422
|
|
|
@@ -10720,8 +10720,8 @@ stopOrderId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
10720
10720
|
accountId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10721
10721
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10722
10722
|
direction: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
10723
|
-
price: (f = msg.getPrice()) &&
|
|
10724
|
-
stopPrice: (f = msg.getStopPrice()) &&
|
|
10723
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
10724
|
+
stopPrice: (f = msg.getStopPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
10725
10725
|
orderType: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
10726
10726
|
instrumentUid: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
10727
10727
|
ticker: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
@@ -10781,13 +10781,13 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.StopOrderSt
|
|
|
10781
10781
|
msg.setDirection(value);
|
|
10782
10782
|
break;
|
|
10783
10783
|
case 5:
|
|
10784
|
-
var value = new
|
|
10785
|
-
reader.readMessage(value,
|
|
10784
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
10785
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
10786
10786
|
msg.setPrice(value);
|
|
10787
10787
|
break;
|
|
10788
10788
|
case 6:
|
|
10789
|
-
var value = new
|
|
10790
|
-
reader.readMessage(value,
|
|
10789
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
10790
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
10791
10791
|
msg.setStopPrice(value);
|
|
10792
10792
|
break;
|
|
10793
10793
|
case 7:
|
|
@@ -10873,7 +10873,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.StopOrderSt
|
|
|
10873
10873
|
writer.writeMessage(
|
|
10874
10874
|
5,
|
|
10875
10875
|
f,
|
|
10876
|
-
|
|
10876
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
10877
10877
|
);
|
|
10878
10878
|
}
|
|
10879
10879
|
f = message.getStopPrice();
|
|
@@ -10881,7 +10881,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.StopOrderSt
|
|
|
10881
10881
|
writer.writeMessage(
|
|
10882
10882
|
6,
|
|
10883
10883
|
f,
|
|
10884
|
-
|
|
10884
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
10885
10885
|
);
|
|
10886
10886
|
}
|
|
10887
10887
|
f = message.getOrderType();
|
|
@@ -11019,7 +11019,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.StopOrderSt
|
|
|
11019
11019
|
*/
|
|
11020
11020
|
proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.StopOrderState.prototype.getPrice = function() {
|
|
11021
11021
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
11022
|
-
jspb.Message.getWrapperField(this,
|
|
11022
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 5));
|
|
11023
11023
|
};
|
|
11024
11024
|
|
|
11025
11025
|
|
|
@@ -11056,7 +11056,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.StopOrderSt
|
|
|
11056
11056
|
*/
|
|
11057
11057
|
proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.StopOrderState.prototype.getStopPrice = function() {
|
|
11058
11058
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
11059
|
-
jspb.Message.getWrapperField(this,
|
|
11059
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 6));
|
|
11060
11060
|
};
|
|
11061
11061
|
|
|
11062
11062
|
|
|
@@ -11220,7 +11220,7 @@ proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.prototype.h
|
|
|
11220
11220
|
*/
|
|
11221
11221
|
proto.tinkoff.public.invest.api.contract.v1.OrderStateStreamResponse.prototype.getPing = function() {
|
|
11222
11222
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Ping} */ (
|
|
11223
|
-
jspb.Message.getWrapperField(this,
|
|
11223
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Ping, 2));
|
|
11224
11224
|
};
|
|
11225
11225
|
|
|
11226
11226
|
|