@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/operations.proto
|
|
1
|
+
// source: api/tinvest/operations.proto
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
@@ -23,9 +23,9 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
25
25
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
26
|
-
var
|
|
27
|
-
goog.object.extend(proto,
|
|
28
|
-
var google_api_field_behavior_pb = require('
|
|
26
|
+
var api_tinvest_common_pb = require('../../api/tinvest/common_pb.js');
|
|
27
|
+
goog.object.extend(proto, api_tinvest_common_pb);
|
|
28
|
+
var google_api_field_behavior_pb = require('../../google/api/field_behavior_pb.js');
|
|
29
29
|
goog.object.extend(proto, google_api_field_behavior_pb);
|
|
30
30
|
goog.exportSymbol('proto.tinkoff.public.invest.api.contract.v1.AccountSubscriptionStatus', null, global);
|
|
31
31
|
goog.exportSymbol('proto.tinkoff.public.invest.api.contract.v1.BrokerReport', null, global);
|
|
@@ -1648,8 +1648,8 @@ proto.tinkoff.public.invest.api.contract.v1.Operation.toObject = function(includ
|
|
|
1648
1648
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1649
1649
|
parentOperationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1650
1650
|
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1651
|
-
payment: (f = msg.getPayment()) &&
|
|
1652
|
-
price: (f = msg.getPrice()) &&
|
|
1651
|
+
payment: (f = msg.getPayment()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
1652
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
1653
1653
|
state: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
1654
1654
|
quantity: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
1655
1655
|
quantityRest: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
@@ -1714,13 +1714,13 @@ proto.tinkoff.public.invest.api.contract.v1.Operation.deserializeBinaryFromReade
|
|
|
1714
1714
|
msg.setCurrency(value);
|
|
1715
1715
|
break;
|
|
1716
1716
|
case 4:
|
|
1717
|
-
var value = new
|
|
1718
|
-
reader.readMessage(value,
|
|
1717
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
1718
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
1719
1719
|
msg.setPayment(value);
|
|
1720
1720
|
break;
|
|
1721
1721
|
case 5:
|
|
1722
|
-
var value = new
|
|
1723
|
-
reader.readMessage(value,
|
|
1722
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
1723
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
1724
1724
|
msg.setPrice(value);
|
|
1725
1725
|
break;
|
|
1726
1726
|
case 6:
|
|
@@ -1833,7 +1833,7 @@ proto.tinkoff.public.invest.api.contract.v1.Operation.serializeBinaryToWriter =
|
|
|
1833
1833
|
writer.writeMessage(
|
|
1834
1834
|
4,
|
|
1835
1835
|
f,
|
|
1836
|
-
|
|
1836
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
1837
1837
|
);
|
|
1838
1838
|
}
|
|
1839
1839
|
f = message.getPrice();
|
|
@@ -1841,7 +1841,7 @@ proto.tinkoff.public.invest.api.contract.v1.Operation.serializeBinaryToWriter =
|
|
|
1841
1841
|
writer.writeMessage(
|
|
1842
1842
|
5,
|
|
1843
1843
|
f,
|
|
1844
|
-
|
|
1844
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
1845
1845
|
);
|
|
1846
1846
|
}
|
|
1847
1847
|
f = message.getState();
|
|
@@ -2001,7 +2001,7 @@ proto.tinkoff.public.invest.api.contract.v1.Operation.prototype.setCurrency = fu
|
|
|
2001
2001
|
*/
|
|
2002
2002
|
proto.tinkoff.public.invest.api.contract.v1.Operation.prototype.getPayment = function() {
|
|
2003
2003
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
2004
|
-
jspb.Message.getWrapperField(this,
|
|
2004
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 4));
|
|
2005
2005
|
};
|
|
2006
2006
|
|
|
2007
2007
|
|
|
@@ -2038,7 +2038,7 @@ proto.tinkoff.public.invest.api.contract.v1.Operation.prototype.hasPayment = fun
|
|
|
2038
2038
|
*/
|
|
2039
2039
|
proto.tinkoff.public.invest.api.contract.v1.Operation.prototype.getPrice = function() {
|
|
2040
2040
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
2041
|
-
jspb.Message.getWrapperField(this,
|
|
2041
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 5));
|
|
2042
2042
|
};
|
|
2043
2043
|
|
|
2044
2044
|
|
|
@@ -2397,7 +2397,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationTrade.toObject = function(i
|
|
|
2397
2397
|
tradeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2398
2398
|
dateTime: (f = msg.getDateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
2399
2399
|
quantity: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
2400
|
-
price: (f = msg.getPrice()) &&
|
|
2400
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f)
|
|
2401
2401
|
};
|
|
2402
2402
|
|
|
2403
2403
|
if (includeInstance) {
|
|
@@ -2448,8 +2448,8 @@ proto.tinkoff.public.invest.api.contract.v1.OperationTrade.deserializeBinaryFrom
|
|
|
2448
2448
|
msg.setQuantity(value);
|
|
2449
2449
|
break;
|
|
2450
2450
|
case 4:
|
|
2451
|
-
var value = new
|
|
2452
|
-
reader.readMessage(value,
|
|
2451
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2452
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2453
2453
|
msg.setPrice(value);
|
|
2454
2454
|
break;
|
|
2455
2455
|
default:
|
|
@@ -2508,7 +2508,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationTrade.serializeBinaryToWrit
|
|
|
2508
2508
|
writer.writeMessage(
|
|
2509
2509
|
4,
|
|
2510
2510
|
f,
|
|
2511
|
-
|
|
2511
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
2512
2512
|
);
|
|
2513
2513
|
}
|
|
2514
2514
|
};
|
|
@@ -2593,7 +2593,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationTrade.prototype.setQuantity
|
|
|
2593
2593
|
*/
|
|
2594
2594
|
proto.tinkoff.public.invest.api.contract.v1.OperationTrade.prototype.getPrice = function() {
|
|
2595
2595
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
2596
|
-
jspb.Message.getWrapperField(this,
|
|
2596
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 4));
|
|
2597
2597
|
};
|
|
2598
2598
|
|
|
2599
2599
|
|
|
@@ -2850,23 +2850,23 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.toObject
|
|
|
2850
2850
|
*/
|
|
2851
2851
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.toObject = function(includeInstance, msg) {
|
|
2852
2852
|
var f, obj = {
|
|
2853
|
-
totalAmountShares: (f = msg.getTotalAmountShares()) &&
|
|
2854
|
-
totalAmountBonds: (f = msg.getTotalAmountBonds()) &&
|
|
2855
|
-
totalAmountEtf: (f = msg.getTotalAmountEtf()) &&
|
|
2856
|
-
totalAmountCurrencies: (f = msg.getTotalAmountCurrencies()) &&
|
|
2857
|
-
totalAmountFutures: (f = msg.getTotalAmountFutures()) &&
|
|
2858
|
-
expectedYield: (f = msg.getExpectedYield()) &&
|
|
2853
|
+
totalAmountShares: (f = msg.getTotalAmountShares()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2854
|
+
totalAmountBonds: (f = msg.getTotalAmountBonds()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2855
|
+
totalAmountEtf: (f = msg.getTotalAmountEtf()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2856
|
+
totalAmountCurrencies: (f = msg.getTotalAmountCurrencies()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2857
|
+
totalAmountFutures: (f = msg.getTotalAmountFutures()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2858
|
+
expectedYield: (f = msg.getExpectedYield()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
2859
2859
|
positionsList: jspb.Message.toObjectList(msg.getPositionsList(),
|
|
2860
2860
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.toObject, includeInstance),
|
|
2861
2861
|
accountId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2862
|
-
totalAmountOptions: (f = msg.getTotalAmountOptions()) &&
|
|
2863
|
-
totalAmountSp: (f = msg.getTotalAmountSp()) &&
|
|
2864
|
-
totalAmountPortfolio: (f = msg.getTotalAmountPortfolio()) &&
|
|
2862
|
+
totalAmountOptions: (f = msg.getTotalAmountOptions()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2863
|
+
totalAmountSp: (f = msg.getTotalAmountSp()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2864
|
+
totalAmountPortfolio: (f = msg.getTotalAmountPortfolio()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2865
2865
|
virtualPositionsList: jspb.Message.toObjectList(msg.getVirtualPositionsList(),
|
|
2866
2866
|
proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.toObject, includeInstance),
|
|
2867
|
-
dailyYield: (f = msg.getDailyYield()) &&
|
|
2868
|
-
dailyYieldRelative: (f = msg.getDailyYieldRelative()) &&
|
|
2869
|
-
totalAmountDfa: (f = msg.getTotalAmountDfa()) &&
|
|
2867
|
+
dailyYield: (f = msg.getDailyYield()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
2868
|
+
dailyYieldRelative: (f = msg.getDailyYieldRelative()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
2869
|
+
totalAmountDfa: (f = msg.getTotalAmountDfa()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f)
|
|
2870
2870
|
};
|
|
2871
2871
|
|
|
2872
2872
|
if (includeInstance) {
|
|
@@ -2904,33 +2904,33 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.deserializeBinaryF
|
|
|
2904
2904
|
var field = reader.getFieldNumber();
|
|
2905
2905
|
switch (field) {
|
|
2906
2906
|
case 1:
|
|
2907
|
-
var value = new
|
|
2908
|
-
reader.readMessage(value,
|
|
2907
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2908
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2909
2909
|
msg.setTotalAmountShares(value);
|
|
2910
2910
|
break;
|
|
2911
2911
|
case 2:
|
|
2912
|
-
var value = new
|
|
2913
|
-
reader.readMessage(value,
|
|
2912
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2913
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2914
2914
|
msg.setTotalAmountBonds(value);
|
|
2915
2915
|
break;
|
|
2916
2916
|
case 3:
|
|
2917
|
-
var value = new
|
|
2918
|
-
reader.readMessage(value,
|
|
2917
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2918
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2919
2919
|
msg.setTotalAmountEtf(value);
|
|
2920
2920
|
break;
|
|
2921
2921
|
case 4:
|
|
2922
|
-
var value = new
|
|
2923
|
-
reader.readMessage(value,
|
|
2922
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2923
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2924
2924
|
msg.setTotalAmountCurrencies(value);
|
|
2925
2925
|
break;
|
|
2926
2926
|
case 5:
|
|
2927
|
-
var value = new
|
|
2928
|
-
reader.readMessage(value,
|
|
2927
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2928
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2929
2929
|
msg.setTotalAmountFutures(value);
|
|
2930
2930
|
break;
|
|
2931
2931
|
case 6:
|
|
2932
|
-
var value = new
|
|
2933
|
-
reader.readMessage(value,
|
|
2932
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
2933
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
2934
2934
|
msg.setExpectedYield(value);
|
|
2935
2935
|
break;
|
|
2936
2936
|
case 7:
|
|
@@ -2943,18 +2943,18 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.deserializeBinaryF
|
|
|
2943
2943
|
msg.setAccountId(value);
|
|
2944
2944
|
break;
|
|
2945
2945
|
case 9:
|
|
2946
|
-
var value = new
|
|
2947
|
-
reader.readMessage(value,
|
|
2946
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2947
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2948
2948
|
msg.setTotalAmountOptions(value);
|
|
2949
2949
|
break;
|
|
2950
2950
|
case 10:
|
|
2951
|
-
var value = new
|
|
2952
|
-
reader.readMessage(value,
|
|
2951
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2952
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2953
2953
|
msg.setTotalAmountSp(value);
|
|
2954
2954
|
break;
|
|
2955
2955
|
case 11:
|
|
2956
|
-
var value = new
|
|
2957
|
-
reader.readMessage(value,
|
|
2956
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2957
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2958
2958
|
msg.setTotalAmountPortfolio(value);
|
|
2959
2959
|
break;
|
|
2960
2960
|
case 12:
|
|
@@ -2963,18 +2963,18 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.deserializeBinaryF
|
|
|
2963
2963
|
msg.addVirtualPositions(value);
|
|
2964
2964
|
break;
|
|
2965
2965
|
case 15:
|
|
2966
|
-
var value = new
|
|
2967
|
-
reader.readMessage(value,
|
|
2966
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2967
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2968
2968
|
msg.setDailyYield(value);
|
|
2969
2969
|
break;
|
|
2970
2970
|
case 16:
|
|
2971
|
-
var value = new
|
|
2972
|
-
reader.readMessage(value,
|
|
2971
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
2972
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
2973
2973
|
msg.setDailyYieldRelative(value);
|
|
2974
2974
|
break;
|
|
2975
2975
|
case 17:
|
|
2976
|
-
var value = new
|
|
2977
|
-
reader.readMessage(value,
|
|
2976
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
2977
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
2978
2978
|
msg.setTotalAmountDfa(value);
|
|
2979
2979
|
break;
|
|
2980
2980
|
default:
|
|
@@ -3011,7 +3011,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3011
3011
|
writer.writeMessage(
|
|
3012
3012
|
1,
|
|
3013
3013
|
f,
|
|
3014
|
-
|
|
3014
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
3015
3015
|
);
|
|
3016
3016
|
}
|
|
3017
3017
|
f = message.getTotalAmountBonds();
|
|
@@ -3019,7 +3019,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3019
3019
|
writer.writeMessage(
|
|
3020
3020
|
2,
|
|
3021
3021
|
f,
|
|
3022
|
-
|
|
3022
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
3023
3023
|
);
|
|
3024
3024
|
}
|
|
3025
3025
|
f = message.getTotalAmountEtf();
|
|
@@ -3027,7 +3027,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3027
3027
|
writer.writeMessage(
|
|
3028
3028
|
3,
|
|
3029
3029
|
f,
|
|
3030
|
-
|
|
3030
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
3031
3031
|
);
|
|
3032
3032
|
}
|
|
3033
3033
|
f = message.getTotalAmountCurrencies();
|
|
@@ -3035,7 +3035,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3035
3035
|
writer.writeMessage(
|
|
3036
3036
|
4,
|
|
3037
3037
|
f,
|
|
3038
|
-
|
|
3038
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
3039
3039
|
);
|
|
3040
3040
|
}
|
|
3041
3041
|
f = message.getTotalAmountFutures();
|
|
@@ -3043,7 +3043,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3043
3043
|
writer.writeMessage(
|
|
3044
3044
|
5,
|
|
3045
3045
|
f,
|
|
3046
|
-
|
|
3046
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
3047
3047
|
);
|
|
3048
3048
|
}
|
|
3049
3049
|
f = message.getExpectedYield();
|
|
@@ -3051,7 +3051,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3051
3051
|
writer.writeMessage(
|
|
3052
3052
|
6,
|
|
3053
3053
|
f,
|
|
3054
|
-
|
|
3054
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
3055
3055
|
);
|
|
3056
3056
|
}
|
|
3057
3057
|
f = message.getPositionsList();
|
|
@@ -3074,7 +3074,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3074
3074
|
writer.writeMessage(
|
|
3075
3075
|
9,
|
|
3076
3076
|
f,
|
|
3077
|
-
|
|
3077
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
3078
3078
|
);
|
|
3079
3079
|
}
|
|
3080
3080
|
f = message.getTotalAmountSp();
|
|
@@ -3082,7 +3082,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3082
3082
|
writer.writeMessage(
|
|
3083
3083
|
10,
|
|
3084
3084
|
f,
|
|
3085
|
-
|
|
3085
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
3086
3086
|
);
|
|
3087
3087
|
}
|
|
3088
3088
|
f = message.getTotalAmountPortfolio();
|
|
@@ -3090,7 +3090,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3090
3090
|
writer.writeMessage(
|
|
3091
3091
|
11,
|
|
3092
3092
|
f,
|
|
3093
|
-
|
|
3093
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
3094
3094
|
);
|
|
3095
3095
|
}
|
|
3096
3096
|
f = message.getVirtualPositionsList();
|
|
@@ -3106,7 +3106,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3106
3106
|
writer.writeMessage(
|
|
3107
3107
|
15,
|
|
3108
3108
|
f,
|
|
3109
|
-
|
|
3109
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
3110
3110
|
);
|
|
3111
3111
|
}
|
|
3112
3112
|
f = message.getDailyYieldRelative();
|
|
@@ -3114,7 +3114,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3114
3114
|
writer.writeMessage(
|
|
3115
3115
|
16,
|
|
3116
3116
|
f,
|
|
3117
|
-
|
|
3117
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
3118
3118
|
);
|
|
3119
3119
|
}
|
|
3120
3120
|
f = message.getTotalAmountDfa();
|
|
@@ -3122,7 +3122,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3122
3122
|
writer.writeMessage(
|
|
3123
3123
|
17,
|
|
3124
3124
|
f,
|
|
3125
|
-
|
|
3125
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
3126
3126
|
);
|
|
3127
3127
|
}
|
|
3128
3128
|
};
|
|
@@ -3134,7 +3134,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.serializeBinaryToW
|
|
|
3134
3134
|
*/
|
|
3135
3135
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.getTotalAmountShares = function() {
|
|
3136
3136
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
3137
|
-
jspb.Message.getWrapperField(this,
|
|
3137
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 1));
|
|
3138
3138
|
};
|
|
3139
3139
|
|
|
3140
3140
|
|
|
@@ -3171,7 +3171,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.hasTotal
|
|
|
3171
3171
|
*/
|
|
3172
3172
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.getTotalAmountBonds = function() {
|
|
3173
3173
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
3174
|
-
jspb.Message.getWrapperField(this,
|
|
3174
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 2));
|
|
3175
3175
|
};
|
|
3176
3176
|
|
|
3177
3177
|
|
|
@@ -3208,7 +3208,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.hasTotal
|
|
|
3208
3208
|
*/
|
|
3209
3209
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.getTotalAmountEtf = function() {
|
|
3210
3210
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
3211
|
-
jspb.Message.getWrapperField(this,
|
|
3211
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 3));
|
|
3212
3212
|
};
|
|
3213
3213
|
|
|
3214
3214
|
|
|
@@ -3245,7 +3245,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.hasTotal
|
|
|
3245
3245
|
*/
|
|
3246
3246
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.getTotalAmountCurrencies = function() {
|
|
3247
3247
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
3248
|
-
jspb.Message.getWrapperField(this,
|
|
3248
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 4));
|
|
3249
3249
|
};
|
|
3250
3250
|
|
|
3251
3251
|
|
|
@@ -3282,7 +3282,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.hasTotal
|
|
|
3282
3282
|
*/
|
|
3283
3283
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.getTotalAmountFutures = function() {
|
|
3284
3284
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
3285
|
-
jspb.Message.getWrapperField(this,
|
|
3285
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 5));
|
|
3286
3286
|
};
|
|
3287
3287
|
|
|
3288
3288
|
|
|
@@ -3319,7 +3319,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.hasTotal
|
|
|
3319
3319
|
*/
|
|
3320
3320
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.getExpectedYield = function() {
|
|
3321
3321
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
3322
|
-
jspb.Message.getWrapperField(this,
|
|
3322
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 6));
|
|
3323
3323
|
};
|
|
3324
3324
|
|
|
3325
3325
|
|
|
@@ -3412,7 +3412,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.setAccou
|
|
|
3412
3412
|
*/
|
|
3413
3413
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.getTotalAmountOptions = function() {
|
|
3414
3414
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
3415
|
-
jspb.Message.getWrapperField(this,
|
|
3415
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 9));
|
|
3416
3416
|
};
|
|
3417
3417
|
|
|
3418
3418
|
|
|
@@ -3449,7 +3449,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.hasTotal
|
|
|
3449
3449
|
*/
|
|
3450
3450
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.getTotalAmountSp = function() {
|
|
3451
3451
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
3452
|
-
jspb.Message.getWrapperField(this,
|
|
3452
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 10));
|
|
3453
3453
|
};
|
|
3454
3454
|
|
|
3455
3455
|
|
|
@@ -3486,7 +3486,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.hasTotal
|
|
|
3486
3486
|
*/
|
|
3487
3487
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.getTotalAmountPortfolio = function() {
|
|
3488
3488
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
3489
|
-
jspb.Message.getWrapperField(this,
|
|
3489
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 11));
|
|
3490
3490
|
};
|
|
3491
3491
|
|
|
3492
3492
|
|
|
@@ -3561,7 +3561,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.clearVir
|
|
|
3561
3561
|
*/
|
|
3562
3562
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.getDailyYield = function() {
|
|
3563
3563
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
3564
|
-
jspb.Message.getWrapperField(this,
|
|
3564
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 15));
|
|
3565
3565
|
};
|
|
3566
3566
|
|
|
3567
3567
|
|
|
@@ -3598,7 +3598,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.hasDaily
|
|
|
3598
3598
|
*/
|
|
3599
3599
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.getDailyYieldRelative = function() {
|
|
3600
3600
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
3601
|
-
jspb.Message.getWrapperField(this,
|
|
3601
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 16));
|
|
3602
3602
|
};
|
|
3603
3603
|
|
|
3604
3604
|
|
|
@@ -3635,7 +3635,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.hasDaily
|
|
|
3635
3635
|
*/
|
|
3636
3636
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.prototype.getTotalAmountDfa = function() {
|
|
3637
3637
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
3638
|
-
jspb.Message.getWrapperField(this,
|
|
3638
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 17));
|
|
3639
3639
|
};
|
|
3640
3640
|
|
|
3641
3641
|
|
|
@@ -3836,9 +3836,9 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsResponse.prototype.toObject
|
|
|
3836
3836
|
proto.tinkoff.public.invest.api.contract.v1.PositionsResponse.toObject = function(includeInstance, msg) {
|
|
3837
3837
|
var f, obj = {
|
|
3838
3838
|
moneyList: jspb.Message.toObjectList(msg.getMoneyList(),
|
|
3839
|
-
|
|
3839
|
+
api_tinvest_common_pb.MoneyValue.toObject, includeInstance),
|
|
3840
3840
|
blockedList: jspb.Message.toObjectList(msg.getBlockedList(),
|
|
3841
|
-
|
|
3841
|
+
api_tinvest_common_pb.MoneyValue.toObject, includeInstance),
|
|
3842
3842
|
securitiesList: jspb.Message.toObjectList(msg.getSecuritiesList(),
|
|
3843
3843
|
proto.tinkoff.public.invest.api.contract.v1.PositionsSecurities.toObject, includeInstance),
|
|
3844
3844
|
limitsLoadingInProgress: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
@@ -3884,13 +3884,13 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsResponse.deserializeBinaryF
|
|
|
3884
3884
|
var field = reader.getFieldNumber();
|
|
3885
3885
|
switch (field) {
|
|
3886
3886
|
case 1:
|
|
3887
|
-
var value = new
|
|
3888
|
-
reader.readMessage(value,
|
|
3887
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
3888
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
3889
3889
|
msg.addMoney(value);
|
|
3890
3890
|
break;
|
|
3891
3891
|
case 2:
|
|
3892
|
-
var value = new
|
|
3893
|
-
reader.readMessage(value,
|
|
3892
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
3893
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
3894
3894
|
msg.addBlocked(value);
|
|
3895
3895
|
break;
|
|
3896
3896
|
case 3:
|
|
@@ -3950,7 +3950,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsResponse.serializeBinaryToW
|
|
|
3950
3950
|
writer.writeRepeatedMessage(
|
|
3951
3951
|
1,
|
|
3952
3952
|
f,
|
|
3953
|
-
|
|
3953
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
3954
3954
|
);
|
|
3955
3955
|
}
|
|
3956
3956
|
f = message.getBlockedList();
|
|
@@ -3958,7 +3958,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsResponse.serializeBinaryToW
|
|
|
3958
3958
|
writer.writeRepeatedMessage(
|
|
3959
3959
|
2,
|
|
3960
3960
|
f,
|
|
3961
|
-
|
|
3961
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
3962
3962
|
);
|
|
3963
3963
|
}
|
|
3964
3964
|
f = message.getSecuritiesList();
|
|
@@ -4008,7 +4008,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsResponse.serializeBinaryToW
|
|
|
4008
4008
|
*/
|
|
4009
4009
|
proto.tinkoff.public.invest.api.contract.v1.PositionsResponse.prototype.getMoneyList = function() {
|
|
4010
4010
|
return /** @type{!Array<!proto.tinkoff.public.invest.api.contract.v1.MoneyValue>} */ (
|
|
4011
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
4011
|
+
jspb.Message.getRepeatedWrapperField(this, api_tinvest_common_pb.MoneyValue, 1));
|
|
4012
4012
|
};
|
|
4013
4013
|
|
|
4014
4014
|
|
|
@@ -4046,7 +4046,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsResponse.prototype.clearMon
|
|
|
4046
4046
|
*/
|
|
4047
4047
|
proto.tinkoff.public.invest.api.contract.v1.PositionsResponse.prototype.getBlockedList = function() {
|
|
4048
4048
|
return /** @type{!Array<!proto.tinkoff.public.invest.api.contract.v1.MoneyValue>} */ (
|
|
4049
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
4049
|
+
jspb.Message.getRepeatedWrapperField(this, api_tinvest_common_pb.MoneyValue, 2));
|
|
4050
4050
|
};
|
|
4051
4051
|
|
|
4052
4052
|
|
|
@@ -4398,11 +4398,11 @@ proto.tinkoff.public.invest.api.contract.v1.WithdrawLimitsResponse.prototype.toO
|
|
|
4398
4398
|
proto.tinkoff.public.invest.api.contract.v1.WithdrawLimitsResponse.toObject = function(includeInstance, msg) {
|
|
4399
4399
|
var f, obj = {
|
|
4400
4400
|
moneyList: jspb.Message.toObjectList(msg.getMoneyList(),
|
|
4401
|
-
|
|
4401
|
+
api_tinvest_common_pb.MoneyValue.toObject, includeInstance),
|
|
4402
4402
|
blockedList: jspb.Message.toObjectList(msg.getBlockedList(),
|
|
4403
|
-
|
|
4403
|
+
api_tinvest_common_pb.MoneyValue.toObject, includeInstance),
|
|
4404
4404
|
blockedGuaranteeList: jspb.Message.toObjectList(msg.getBlockedGuaranteeList(),
|
|
4405
|
-
|
|
4405
|
+
api_tinvest_common_pb.MoneyValue.toObject, includeInstance)
|
|
4406
4406
|
};
|
|
4407
4407
|
|
|
4408
4408
|
if (includeInstance) {
|
|
@@ -4440,18 +4440,18 @@ proto.tinkoff.public.invest.api.contract.v1.WithdrawLimitsResponse.deserializeBi
|
|
|
4440
4440
|
var field = reader.getFieldNumber();
|
|
4441
4441
|
switch (field) {
|
|
4442
4442
|
case 1:
|
|
4443
|
-
var value = new
|
|
4444
|
-
reader.readMessage(value,
|
|
4443
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
4444
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
4445
4445
|
msg.addMoney(value);
|
|
4446
4446
|
break;
|
|
4447
4447
|
case 2:
|
|
4448
|
-
var value = new
|
|
4449
|
-
reader.readMessage(value,
|
|
4448
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
4449
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
4450
4450
|
msg.addBlocked(value);
|
|
4451
4451
|
break;
|
|
4452
4452
|
case 3:
|
|
4453
|
-
var value = new
|
|
4454
|
-
reader.readMessage(value,
|
|
4453
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
4454
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
4455
4455
|
msg.addBlockedGuarantee(value);
|
|
4456
4456
|
break;
|
|
4457
4457
|
default:
|
|
@@ -4488,7 +4488,7 @@ proto.tinkoff.public.invest.api.contract.v1.WithdrawLimitsResponse.serializeBina
|
|
|
4488
4488
|
writer.writeRepeatedMessage(
|
|
4489
4489
|
1,
|
|
4490
4490
|
f,
|
|
4491
|
-
|
|
4491
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
4492
4492
|
);
|
|
4493
4493
|
}
|
|
4494
4494
|
f = message.getBlockedList();
|
|
@@ -4496,7 +4496,7 @@ proto.tinkoff.public.invest.api.contract.v1.WithdrawLimitsResponse.serializeBina
|
|
|
4496
4496
|
writer.writeRepeatedMessage(
|
|
4497
4497
|
2,
|
|
4498
4498
|
f,
|
|
4499
|
-
|
|
4499
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
4500
4500
|
);
|
|
4501
4501
|
}
|
|
4502
4502
|
f = message.getBlockedGuaranteeList();
|
|
@@ -4504,7 +4504,7 @@ proto.tinkoff.public.invest.api.contract.v1.WithdrawLimitsResponse.serializeBina
|
|
|
4504
4504
|
writer.writeRepeatedMessage(
|
|
4505
4505
|
3,
|
|
4506
4506
|
f,
|
|
4507
|
-
|
|
4507
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
4508
4508
|
);
|
|
4509
4509
|
}
|
|
4510
4510
|
};
|
|
@@ -4516,7 +4516,7 @@ proto.tinkoff.public.invest.api.contract.v1.WithdrawLimitsResponse.serializeBina
|
|
|
4516
4516
|
*/
|
|
4517
4517
|
proto.tinkoff.public.invest.api.contract.v1.WithdrawLimitsResponse.prototype.getMoneyList = function() {
|
|
4518
4518
|
return /** @type{!Array<!proto.tinkoff.public.invest.api.contract.v1.MoneyValue>} */ (
|
|
4519
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
4519
|
+
jspb.Message.getRepeatedWrapperField(this, api_tinvest_common_pb.MoneyValue, 1));
|
|
4520
4520
|
};
|
|
4521
4521
|
|
|
4522
4522
|
|
|
@@ -4554,7 +4554,7 @@ proto.tinkoff.public.invest.api.contract.v1.WithdrawLimitsResponse.prototype.cle
|
|
|
4554
4554
|
*/
|
|
4555
4555
|
proto.tinkoff.public.invest.api.contract.v1.WithdrawLimitsResponse.prototype.getBlockedList = function() {
|
|
4556
4556
|
return /** @type{!Array<!proto.tinkoff.public.invest.api.contract.v1.MoneyValue>} */ (
|
|
4557
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
4557
|
+
jspb.Message.getRepeatedWrapperField(this, api_tinvest_common_pb.MoneyValue, 2));
|
|
4558
4558
|
};
|
|
4559
4559
|
|
|
4560
4560
|
|
|
@@ -4592,7 +4592,7 @@ proto.tinkoff.public.invest.api.contract.v1.WithdrawLimitsResponse.prototype.cle
|
|
|
4592
4592
|
*/
|
|
4593
4593
|
proto.tinkoff.public.invest.api.contract.v1.WithdrawLimitsResponse.prototype.getBlockedGuaranteeList = function() {
|
|
4594
4594
|
return /** @type{!Array<!proto.tinkoff.public.invest.api.contract.v1.MoneyValue>} */ (
|
|
4595
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
4595
|
+
jspb.Message.getRepeatedWrapperField(this, api_tinvest_common_pb.MoneyValue, 3));
|
|
4596
4596
|
};
|
|
4597
4597
|
|
|
4598
4598
|
|
|
@@ -4658,24 +4658,24 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.toObject = functio
|
|
|
4658
4658
|
var f, obj = {
|
|
4659
4659
|
figi: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4660
4660
|
instrumentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4661
|
-
quantity: (f = msg.getQuantity()) &&
|
|
4662
|
-
averagePositionPrice: (f = msg.getAveragePositionPrice()) &&
|
|
4663
|
-
expectedYield: (f = msg.getExpectedYield()) &&
|
|
4664
|
-
currentNkd: (f = msg.getCurrentNkd()) &&
|
|
4665
|
-
averagePositionPricePt: (f = msg.getAveragePositionPricePt()) &&
|
|
4666
|
-
currentPrice: (f = msg.getCurrentPrice()) &&
|
|
4667
|
-
averagePositionPriceFifo: (f = msg.getAveragePositionPriceFifo()) &&
|
|
4668
|
-
quantityLots: (f = msg.getQuantityLots()) &&
|
|
4661
|
+
quantity: (f = msg.getQuantity()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
4662
|
+
averagePositionPrice: (f = msg.getAveragePositionPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
4663
|
+
expectedYield: (f = msg.getExpectedYield()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
4664
|
+
currentNkd: (f = msg.getCurrentNkd()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
4665
|
+
averagePositionPricePt: (f = msg.getAveragePositionPricePt()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
4666
|
+
currentPrice: (f = msg.getCurrentPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
4667
|
+
averagePositionPriceFifo: (f = msg.getAveragePositionPriceFifo()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
4668
|
+
quantityLots: (f = msg.getQuantityLots()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
4669
4669
|
blocked: jspb.Message.getBooleanFieldWithDefault(msg, 21, false),
|
|
4670
|
-
blockedLots: (f = msg.getBlockedLots()) &&
|
|
4670
|
+
blockedLots: (f = msg.getBlockedLots()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
4671
4671
|
positionUid: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
4672
4672
|
instrumentUid: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
4673
|
-
varMargin: (f = msg.getVarMargin()) &&
|
|
4674
|
-
expectedYieldFifo: (f = msg.getExpectedYieldFifo()) &&
|
|
4675
|
-
dailyYield: (f = msg.getDailyYield()) &&
|
|
4673
|
+
varMargin: (f = msg.getVarMargin()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
4674
|
+
expectedYieldFifo: (f = msg.getExpectedYieldFifo()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
4675
|
+
dailyYield: (f = msg.getDailyYield()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
4676
4676
|
ticker: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
4677
4677
|
classCode: jspb.Message.getFieldWithDefault(msg, 33, ""),
|
|
4678
|
-
varMarginSettled: (f = msg.getVarMarginSettled()) &&
|
|
4678
|
+
varMarginSettled: (f = msg.getVarMarginSettled()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f)
|
|
4679
4679
|
};
|
|
4680
4680
|
|
|
4681
4681
|
if (includeInstance) {
|
|
@@ -4721,43 +4721,43 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.deserializeBinaryF
|
|
|
4721
4721
|
msg.setInstrumentType(value);
|
|
4722
4722
|
break;
|
|
4723
4723
|
case 3:
|
|
4724
|
-
var value = new
|
|
4725
|
-
reader.readMessage(value,
|
|
4724
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
4725
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
4726
4726
|
msg.setQuantity(value);
|
|
4727
4727
|
break;
|
|
4728
4728
|
case 4:
|
|
4729
|
-
var value = new
|
|
4730
|
-
reader.readMessage(value,
|
|
4729
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
4730
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
4731
4731
|
msg.setAveragePositionPrice(value);
|
|
4732
4732
|
break;
|
|
4733
4733
|
case 5:
|
|
4734
|
-
var value = new
|
|
4735
|
-
reader.readMessage(value,
|
|
4734
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
4735
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
4736
4736
|
msg.setExpectedYield(value);
|
|
4737
4737
|
break;
|
|
4738
4738
|
case 6:
|
|
4739
|
-
var value = new
|
|
4740
|
-
reader.readMessage(value,
|
|
4739
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
4740
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
4741
4741
|
msg.setCurrentNkd(value);
|
|
4742
4742
|
break;
|
|
4743
4743
|
case 7:
|
|
4744
|
-
var value = new
|
|
4745
|
-
reader.readMessage(value,
|
|
4744
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
4745
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
4746
4746
|
msg.setAveragePositionPricePt(value);
|
|
4747
4747
|
break;
|
|
4748
4748
|
case 8:
|
|
4749
|
-
var value = new
|
|
4750
|
-
reader.readMessage(value,
|
|
4749
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
4750
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
4751
4751
|
msg.setCurrentPrice(value);
|
|
4752
4752
|
break;
|
|
4753
4753
|
case 9:
|
|
4754
|
-
var value = new
|
|
4755
|
-
reader.readMessage(value,
|
|
4754
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
4755
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
4756
4756
|
msg.setAveragePositionPriceFifo(value);
|
|
4757
4757
|
break;
|
|
4758
4758
|
case 10:
|
|
4759
|
-
var value = new
|
|
4760
|
-
reader.readMessage(value,
|
|
4759
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
4760
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
4761
4761
|
msg.setQuantityLots(value);
|
|
4762
4762
|
break;
|
|
4763
4763
|
case 21:
|
|
@@ -4765,8 +4765,8 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.deserializeBinaryF
|
|
|
4765
4765
|
msg.setBlocked(value);
|
|
4766
4766
|
break;
|
|
4767
4767
|
case 22:
|
|
4768
|
-
var value = new
|
|
4769
|
-
reader.readMessage(value,
|
|
4768
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
4769
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
4770
4770
|
msg.setBlockedLots(value);
|
|
4771
4771
|
break;
|
|
4772
4772
|
case 24:
|
|
@@ -4778,18 +4778,18 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.deserializeBinaryF
|
|
|
4778
4778
|
msg.setInstrumentUid(value);
|
|
4779
4779
|
break;
|
|
4780
4780
|
case 26:
|
|
4781
|
-
var value = new
|
|
4782
|
-
reader.readMessage(value,
|
|
4781
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
4782
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
4783
4783
|
msg.setVarMargin(value);
|
|
4784
4784
|
break;
|
|
4785
4785
|
case 27:
|
|
4786
|
-
var value = new
|
|
4787
|
-
reader.readMessage(value,
|
|
4786
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
4787
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
4788
4788
|
msg.setExpectedYieldFifo(value);
|
|
4789
4789
|
break;
|
|
4790
4790
|
case 31:
|
|
4791
|
-
var value = new
|
|
4792
|
-
reader.readMessage(value,
|
|
4791
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
4792
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
4793
4793
|
msg.setDailyYield(value);
|
|
4794
4794
|
break;
|
|
4795
4795
|
case 32:
|
|
@@ -4801,8 +4801,8 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.deserializeBinaryF
|
|
|
4801
4801
|
msg.setClassCode(value);
|
|
4802
4802
|
break;
|
|
4803
4803
|
case 34:
|
|
4804
|
-
var value = new
|
|
4805
|
-
reader.readMessage(value,
|
|
4804
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
4805
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
4806
4806
|
msg.setVarMarginSettled(value);
|
|
4807
4807
|
break;
|
|
4808
4808
|
default:
|
|
@@ -4853,7 +4853,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4853
4853
|
writer.writeMessage(
|
|
4854
4854
|
3,
|
|
4855
4855
|
f,
|
|
4856
|
-
|
|
4856
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
4857
4857
|
);
|
|
4858
4858
|
}
|
|
4859
4859
|
f = message.getAveragePositionPrice();
|
|
@@ -4861,7 +4861,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4861
4861
|
writer.writeMessage(
|
|
4862
4862
|
4,
|
|
4863
4863
|
f,
|
|
4864
|
-
|
|
4864
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
4865
4865
|
);
|
|
4866
4866
|
}
|
|
4867
4867
|
f = message.getExpectedYield();
|
|
@@ -4869,7 +4869,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4869
4869
|
writer.writeMessage(
|
|
4870
4870
|
5,
|
|
4871
4871
|
f,
|
|
4872
|
-
|
|
4872
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
4873
4873
|
);
|
|
4874
4874
|
}
|
|
4875
4875
|
f = message.getCurrentNkd();
|
|
@@ -4877,7 +4877,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4877
4877
|
writer.writeMessage(
|
|
4878
4878
|
6,
|
|
4879
4879
|
f,
|
|
4880
|
-
|
|
4880
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
4881
4881
|
);
|
|
4882
4882
|
}
|
|
4883
4883
|
f = message.getAveragePositionPricePt();
|
|
@@ -4885,7 +4885,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4885
4885
|
writer.writeMessage(
|
|
4886
4886
|
7,
|
|
4887
4887
|
f,
|
|
4888
|
-
|
|
4888
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
4889
4889
|
);
|
|
4890
4890
|
}
|
|
4891
4891
|
f = message.getCurrentPrice();
|
|
@@ -4893,7 +4893,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4893
4893
|
writer.writeMessage(
|
|
4894
4894
|
8,
|
|
4895
4895
|
f,
|
|
4896
|
-
|
|
4896
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
4897
4897
|
);
|
|
4898
4898
|
}
|
|
4899
4899
|
f = message.getAveragePositionPriceFifo();
|
|
@@ -4901,7 +4901,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4901
4901
|
writer.writeMessage(
|
|
4902
4902
|
9,
|
|
4903
4903
|
f,
|
|
4904
|
-
|
|
4904
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
4905
4905
|
);
|
|
4906
4906
|
}
|
|
4907
4907
|
f = message.getQuantityLots();
|
|
@@ -4909,7 +4909,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4909
4909
|
writer.writeMessage(
|
|
4910
4910
|
10,
|
|
4911
4911
|
f,
|
|
4912
|
-
|
|
4912
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
4913
4913
|
);
|
|
4914
4914
|
}
|
|
4915
4915
|
f = message.getBlocked();
|
|
@@ -4924,7 +4924,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4924
4924
|
writer.writeMessage(
|
|
4925
4925
|
22,
|
|
4926
4926
|
f,
|
|
4927
|
-
|
|
4927
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
4928
4928
|
);
|
|
4929
4929
|
}
|
|
4930
4930
|
f = message.getPositionUid();
|
|
@@ -4946,7 +4946,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4946
4946
|
writer.writeMessage(
|
|
4947
4947
|
26,
|
|
4948
4948
|
f,
|
|
4949
|
-
|
|
4949
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
4950
4950
|
);
|
|
4951
4951
|
}
|
|
4952
4952
|
f = message.getExpectedYieldFifo();
|
|
@@ -4954,7 +4954,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4954
4954
|
writer.writeMessage(
|
|
4955
4955
|
27,
|
|
4956
4956
|
f,
|
|
4957
|
-
|
|
4957
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
4958
4958
|
);
|
|
4959
4959
|
}
|
|
4960
4960
|
f = message.getDailyYield();
|
|
@@ -4962,7 +4962,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4962
4962
|
writer.writeMessage(
|
|
4963
4963
|
31,
|
|
4964
4964
|
f,
|
|
4965
|
-
|
|
4965
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
4966
4966
|
);
|
|
4967
4967
|
}
|
|
4968
4968
|
f = message.getTicker();
|
|
@@ -4984,7 +4984,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.serializeBinaryToW
|
|
|
4984
4984
|
writer.writeMessage(
|
|
4985
4985
|
34,
|
|
4986
4986
|
f,
|
|
4987
|
-
|
|
4987
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
4988
4988
|
);
|
|
4989
4989
|
}
|
|
4990
4990
|
};
|
|
@@ -5032,7 +5032,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.setInstr
|
|
|
5032
5032
|
*/
|
|
5033
5033
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getQuantity = function() {
|
|
5034
5034
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
5035
|
-
jspb.Message.getWrapperField(this,
|
|
5035
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 3));
|
|
5036
5036
|
};
|
|
5037
5037
|
|
|
5038
5038
|
|
|
@@ -5069,7 +5069,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.hasQuant
|
|
|
5069
5069
|
*/
|
|
5070
5070
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getAveragePositionPrice = function() {
|
|
5071
5071
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5072
|
-
jspb.Message.getWrapperField(this,
|
|
5072
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 4));
|
|
5073
5073
|
};
|
|
5074
5074
|
|
|
5075
5075
|
|
|
@@ -5106,7 +5106,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.hasAvera
|
|
|
5106
5106
|
*/
|
|
5107
5107
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getExpectedYield = function() {
|
|
5108
5108
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
5109
|
-
jspb.Message.getWrapperField(this,
|
|
5109
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 5));
|
|
5110
5110
|
};
|
|
5111
5111
|
|
|
5112
5112
|
|
|
@@ -5143,7 +5143,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.hasExpec
|
|
|
5143
5143
|
*/
|
|
5144
5144
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getCurrentNkd = function() {
|
|
5145
5145
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5146
|
-
jspb.Message.getWrapperField(this,
|
|
5146
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 6));
|
|
5147
5147
|
};
|
|
5148
5148
|
|
|
5149
5149
|
|
|
@@ -5180,7 +5180,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.hasCurre
|
|
|
5180
5180
|
*/
|
|
5181
5181
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getAveragePositionPricePt = function() {
|
|
5182
5182
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
5183
|
-
jspb.Message.getWrapperField(this,
|
|
5183
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 7));
|
|
5184
5184
|
};
|
|
5185
5185
|
|
|
5186
5186
|
|
|
@@ -5217,7 +5217,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.hasAvera
|
|
|
5217
5217
|
*/
|
|
5218
5218
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getCurrentPrice = function() {
|
|
5219
5219
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5220
|
-
jspb.Message.getWrapperField(this,
|
|
5220
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 8));
|
|
5221
5221
|
};
|
|
5222
5222
|
|
|
5223
5223
|
|
|
@@ -5254,7 +5254,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.hasCurre
|
|
|
5254
5254
|
*/
|
|
5255
5255
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getAveragePositionPriceFifo = function() {
|
|
5256
5256
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5257
|
-
jspb.Message.getWrapperField(this,
|
|
5257
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 9));
|
|
5258
5258
|
};
|
|
5259
5259
|
|
|
5260
5260
|
|
|
@@ -5291,7 +5291,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.hasAvera
|
|
|
5291
5291
|
*/
|
|
5292
5292
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getQuantityLots = function() {
|
|
5293
5293
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
5294
|
-
jspb.Message.getWrapperField(this,
|
|
5294
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 10));
|
|
5295
5295
|
};
|
|
5296
5296
|
|
|
5297
5297
|
|
|
@@ -5346,7 +5346,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.setBlock
|
|
|
5346
5346
|
*/
|
|
5347
5347
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getBlockedLots = function() {
|
|
5348
5348
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
5349
|
-
jspb.Message.getWrapperField(this,
|
|
5349
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 22));
|
|
5350
5350
|
};
|
|
5351
5351
|
|
|
5352
5352
|
|
|
@@ -5419,7 +5419,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.setInstr
|
|
|
5419
5419
|
*/
|
|
5420
5420
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getVarMargin = function() {
|
|
5421
5421
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5422
|
-
jspb.Message.getWrapperField(this,
|
|
5422
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 26));
|
|
5423
5423
|
};
|
|
5424
5424
|
|
|
5425
5425
|
|
|
@@ -5456,7 +5456,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.hasVarMa
|
|
|
5456
5456
|
*/
|
|
5457
5457
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getExpectedYieldFifo = function() {
|
|
5458
5458
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
5459
|
-
jspb.Message.getWrapperField(this,
|
|
5459
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 27));
|
|
5460
5460
|
};
|
|
5461
5461
|
|
|
5462
5462
|
|
|
@@ -5493,7 +5493,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.hasExpec
|
|
|
5493
5493
|
*/
|
|
5494
5494
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getDailyYield = function() {
|
|
5495
5495
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5496
|
-
jspb.Message.getWrapperField(this,
|
|
5496
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 31));
|
|
5497
5497
|
};
|
|
5498
5498
|
|
|
5499
5499
|
|
|
@@ -5566,7 +5566,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.setClass
|
|
|
5566
5566
|
*/
|
|
5567
5567
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioPosition.prototype.getVarMarginSettled = function() {
|
|
5568
5568
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5569
|
-
jspb.Message.getWrapperField(this,
|
|
5569
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 34));
|
|
5570
5570
|
};
|
|
5571
5571
|
|
|
5572
5572
|
|
|
@@ -5633,14 +5633,14 @@ positionUid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
5633
5633
|
instrumentUid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5634
5634
|
figi: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5635
5635
|
instrumentType: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5636
|
-
quantity: (f = msg.getQuantity()) &&
|
|
5637
|
-
averagePositionPrice: (f = msg.getAveragePositionPrice()) &&
|
|
5638
|
-
expectedYield: (f = msg.getExpectedYield()) &&
|
|
5639
|
-
expectedYieldFifo: (f = msg.getExpectedYieldFifo()) &&
|
|
5636
|
+
quantity: (f = msg.getQuantity()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
5637
|
+
averagePositionPrice: (f = msg.getAveragePositionPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
5638
|
+
expectedYield: (f = msg.getExpectedYield()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
5639
|
+
expectedYieldFifo: (f = msg.getExpectedYieldFifo()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
5640
5640
|
expireDate: (f = msg.getExpireDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
5641
|
-
currentPrice: (f = msg.getCurrentPrice()) &&
|
|
5642
|
-
averagePositionPriceFifo: (f = msg.getAveragePositionPriceFifo()) &&
|
|
5643
|
-
dailyYield: (f = msg.getDailyYield()) &&
|
|
5641
|
+
currentPrice: (f = msg.getCurrentPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
5642
|
+
averagePositionPriceFifo: (f = msg.getAveragePositionPriceFifo()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
5643
|
+
dailyYield: (f = msg.getDailyYield()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
5644
5644
|
ticker: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
5645
5645
|
classCode: jspb.Message.getFieldWithDefault(msg, 33, "")
|
|
5646
5646
|
};
|
|
@@ -5696,23 +5696,23 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.deserialize
|
|
|
5696
5696
|
msg.setInstrumentType(value);
|
|
5697
5697
|
break;
|
|
5698
5698
|
case 5:
|
|
5699
|
-
var value = new
|
|
5700
|
-
reader.readMessage(value,
|
|
5699
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
5700
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
5701
5701
|
msg.setQuantity(value);
|
|
5702
5702
|
break;
|
|
5703
5703
|
case 6:
|
|
5704
|
-
var value = new
|
|
5705
|
-
reader.readMessage(value,
|
|
5704
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
5705
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
5706
5706
|
msg.setAveragePositionPrice(value);
|
|
5707
5707
|
break;
|
|
5708
5708
|
case 7:
|
|
5709
|
-
var value = new
|
|
5710
|
-
reader.readMessage(value,
|
|
5709
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
5710
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
5711
5711
|
msg.setExpectedYield(value);
|
|
5712
5712
|
break;
|
|
5713
5713
|
case 8:
|
|
5714
|
-
var value = new
|
|
5715
|
-
reader.readMessage(value,
|
|
5714
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
5715
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
5716
5716
|
msg.setExpectedYieldFifo(value);
|
|
5717
5717
|
break;
|
|
5718
5718
|
case 9:
|
|
@@ -5721,18 +5721,18 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.deserialize
|
|
|
5721
5721
|
msg.setExpireDate(value);
|
|
5722
5722
|
break;
|
|
5723
5723
|
case 10:
|
|
5724
|
-
var value = new
|
|
5725
|
-
reader.readMessage(value,
|
|
5724
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
5725
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
5726
5726
|
msg.setCurrentPrice(value);
|
|
5727
5727
|
break;
|
|
5728
5728
|
case 11:
|
|
5729
|
-
var value = new
|
|
5730
|
-
reader.readMessage(value,
|
|
5729
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
5730
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
5731
5731
|
msg.setAveragePositionPriceFifo(value);
|
|
5732
5732
|
break;
|
|
5733
5733
|
case 31:
|
|
5734
|
-
var value = new
|
|
5735
|
-
reader.readMessage(value,
|
|
5734
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
5735
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
5736
5736
|
msg.setDailyYield(value);
|
|
5737
5737
|
break;
|
|
5738
5738
|
case 32:
|
|
@@ -5805,7 +5805,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.serializeBi
|
|
|
5805
5805
|
writer.writeMessage(
|
|
5806
5806
|
5,
|
|
5807
5807
|
f,
|
|
5808
|
-
|
|
5808
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
5809
5809
|
);
|
|
5810
5810
|
}
|
|
5811
5811
|
f = message.getAveragePositionPrice();
|
|
@@ -5813,7 +5813,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.serializeBi
|
|
|
5813
5813
|
writer.writeMessage(
|
|
5814
5814
|
6,
|
|
5815
5815
|
f,
|
|
5816
|
-
|
|
5816
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
5817
5817
|
);
|
|
5818
5818
|
}
|
|
5819
5819
|
f = message.getExpectedYield();
|
|
@@ -5821,7 +5821,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.serializeBi
|
|
|
5821
5821
|
writer.writeMessage(
|
|
5822
5822
|
7,
|
|
5823
5823
|
f,
|
|
5824
|
-
|
|
5824
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
5825
5825
|
);
|
|
5826
5826
|
}
|
|
5827
5827
|
f = message.getExpectedYieldFifo();
|
|
@@ -5829,7 +5829,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.serializeBi
|
|
|
5829
5829
|
writer.writeMessage(
|
|
5830
5830
|
8,
|
|
5831
5831
|
f,
|
|
5832
|
-
|
|
5832
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
5833
5833
|
);
|
|
5834
5834
|
}
|
|
5835
5835
|
f = message.getExpireDate();
|
|
@@ -5845,7 +5845,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.serializeBi
|
|
|
5845
5845
|
writer.writeMessage(
|
|
5846
5846
|
10,
|
|
5847
5847
|
f,
|
|
5848
|
-
|
|
5848
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
5849
5849
|
);
|
|
5850
5850
|
}
|
|
5851
5851
|
f = message.getAveragePositionPriceFifo();
|
|
@@ -5853,7 +5853,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.serializeBi
|
|
|
5853
5853
|
writer.writeMessage(
|
|
5854
5854
|
11,
|
|
5855
5855
|
f,
|
|
5856
|
-
|
|
5856
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
5857
5857
|
);
|
|
5858
5858
|
}
|
|
5859
5859
|
f = message.getDailyYield();
|
|
@@ -5861,7 +5861,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.serializeBi
|
|
|
5861
5861
|
writer.writeMessage(
|
|
5862
5862
|
31,
|
|
5863
5863
|
f,
|
|
5864
|
-
|
|
5864
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
5865
5865
|
);
|
|
5866
5866
|
}
|
|
5867
5867
|
f = message.getTicker();
|
|
@@ -5959,7 +5959,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.s
|
|
|
5959
5959
|
*/
|
|
5960
5960
|
proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.getQuantity = function() {
|
|
5961
5961
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
5962
|
-
jspb.Message.getWrapperField(this,
|
|
5962
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 5));
|
|
5963
5963
|
};
|
|
5964
5964
|
|
|
5965
5965
|
|
|
@@ -5996,7 +5996,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.h
|
|
|
5996
5996
|
*/
|
|
5997
5997
|
proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.getAveragePositionPrice = function() {
|
|
5998
5998
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
5999
|
-
jspb.Message.getWrapperField(this,
|
|
5999
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 6));
|
|
6000
6000
|
};
|
|
6001
6001
|
|
|
6002
6002
|
|
|
@@ -6033,7 +6033,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.h
|
|
|
6033
6033
|
*/
|
|
6034
6034
|
proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.getExpectedYield = function() {
|
|
6035
6035
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
6036
|
-
jspb.Message.getWrapperField(this,
|
|
6036
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 7));
|
|
6037
6037
|
};
|
|
6038
6038
|
|
|
6039
6039
|
|
|
@@ -6070,7 +6070,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.h
|
|
|
6070
6070
|
*/
|
|
6071
6071
|
proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.getExpectedYieldFifo = function() {
|
|
6072
6072
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
6073
|
-
jspb.Message.getWrapperField(this,
|
|
6073
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 8));
|
|
6074
6074
|
};
|
|
6075
6075
|
|
|
6076
6076
|
|
|
@@ -6144,7 +6144,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.h
|
|
|
6144
6144
|
*/
|
|
6145
6145
|
proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.getCurrentPrice = function() {
|
|
6146
6146
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
6147
|
-
jspb.Message.getWrapperField(this,
|
|
6147
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 10));
|
|
6148
6148
|
};
|
|
6149
6149
|
|
|
6150
6150
|
|
|
@@ -6181,7 +6181,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.h
|
|
|
6181
6181
|
*/
|
|
6182
6182
|
proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.getAveragePositionPriceFifo = function() {
|
|
6183
6183
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
6184
|
-
jspb.Message.getWrapperField(this,
|
|
6184
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 11));
|
|
6185
6185
|
};
|
|
6186
6186
|
|
|
6187
6187
|
|
|
@@ -6218,7 +6218,7 @@ proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.h
|
|
|
6218
6218
|
*/
|
|
6219
6219
|
proto.tinkoff.public.invest.api.contract.v1.VirtualPortfolioPosition.prototype.getDailyYield = function() {
|
|
6220
6220
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
6221
|
-
jspb.Message.getWrapperField(this,
|
|
6221
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 31));
|
|
6222
6222
|
};
|
|
6223
6223
|
|
|
6224
6224
|
|
|
@@ -8563,15 +8563,15 @@ classCode: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
|
8563
8563
|
direction: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
8564
8564
|
name: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
8565
8565
|
ticker: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
8566
|
-
price: (f = msg.getPrice()) &&
|
|
8566
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
8567
8567
|
quantity: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
8568
|
-
orderAmount: (f = msg.getOrderAmount()) &&
|
|
8569
|
-
aciValue: (f = msg.getAciValue()) &&
|
|
8570
|
-
totalOrderAmount: (f = msg.getTotalOrderAmount()) &&
|
|
8571
|
-
brokerCommission: (f = msg.getBrokerCommission()) &&
|
|
8572
|
-
exchangeCommission: (f = msg.getExchangeCommission()) &&
|
|
8573
|
-
exchangeClearingCommission: (f = msg.getExchangeClearingCommission()) &&
|
|
8574
|
-
repoRate: (f = msg.getRepoRate()) &&
|
|
8568
|
+
orderAmount: (f = msg.getOrderAmount()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
8569
|
+
aciValue: (f = msg.getAciValue()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
8570
|
+
totalOrderAmount: (f = msg.getTotalOrderAmount()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
8571
|
+
brokerCommission: (f = msg.getBrokerCommission()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
8572
|
+
exchangeCommission: (f = msg.getExchangeCommission()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
8573
|
+
exchangeClearingCommission: (f = msg.getExchangeClearingCommission()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
8574
|
+
repoRate: (f = msg.getRepoRate()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
8575
8575
|
party: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
8576
8576
|
clearValueDate: (f = msg.getClearValueDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
8577
8577
|
secValueDate: (f = msg.getSecValueDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
@@ -8658,8 +8658,8 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.deserializeBinaryFromRe
|
|
|
8658
8658
|
msg.setTicker(value);
|
|
8659
8659
|
break;
|
|
8660
8660
|
case 11:
|
|
8661
|
-
var value = new
|
|
8662
|
-
reader.readMessage(value,
|
|
8661
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8662
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8663
8663
|
msg.setPrice(value);
|
|
8664
8664
|
break;
|
|
8665
8665
|
case 12:
|
|
@@ -8667,38 +8667,38 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.deserializeBinaryFromRe
|
|
|
8667
8667
|
msg.setQuantity(value);
|
|
8668
8668
|
break;
|
|
8669
8669
|
case 13:
|
|
8670
|
-
var value = new
|
|
8671
|
-
reader.readMessage(value,
|
|
8670
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8671
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8672
8672
|
msg.setOrderAmount(value);
|
|
8673
8673
|
break;
|
|
8674
8674
|
case 14:
|
|
8675
|
-
var value = new
|
|
8676
|
-
reader.readMessage(value,
|
|
8675
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
8676
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
8677
8677
|
msg.setAciValue(value);
|
|
8678
8678
|
break;
|
|
8679
8679
|
case 15:
|
|
8680
|
-
var value = new
|
|
8681
|
-
reader.readMessage(value,
|
|
8680
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8681
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8682
8682
|
msg.setTotalOrderAmount(value);
|
|
8683
8683
|
break;
|
|
8684
8684
|
case 16:
|
|
8685
|
-
var value = new
|
|
8686
|
-
reader.readMessage(value,
|
|
8685
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8686
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8687
8687
|
msg.setBrokerCommission(value);
|
|
8688
8688
|
break;
|
|
8689
8689
|
case 17:
|
|
8690
|
-
var value = new
|
|
8691
|
-
reader.readMessage(value,
|
|
8690
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8691
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8692
8692
|
msg.setExchangeCommission(value);
|
|
8693
8693
|
break;
|
|
8694
8694
|
case 18:
|
|
8695
|
-
var value = new
|
|
8696
|
-
reader.readMessage(value,
|
|
8695
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
8696
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
8697
8697
|
msg.setExchangeClearingCommission(value);
|
|
8698
8698
|
break;
|
|
8699
8699
|
case 19:
|
|
8700
|
-
var value = new
|
|
8701
|
-
reader.readMessage(value,
|
|
8700
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
8701
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
8702
8702
|
msg.setRepoRate(value);
|
|
8703
8703
|
break;
|
|
8704
8704
|
case 20:
|
|
@@ -8840,7 +8840,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.serializeBinaryToWriter
|
|
|
8840
8840
|
writer.writeMessage(
|
|
8841
8841
|
11,
|
|
8842
8842
|
f,
|
|
8843
|
-
|
|
8843
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8844
8844
|
);
|
|
8845
8845
|
}
|
|
8846
8846
|
f = message.getQuantity();
|
|
@@ -8855,7 +8855,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.serializeBinaryToWriter
|
|
|
8855
8855
|
writer.writeMessage(
|
|
8856
8856
|
13,
|
|
8857
8857
|
f,
|
|
8858
|
-
|
|
8858
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8859
8859
|
);
|
|
8860
8860
|
}
|
|
8861
8861
|
f = message.getAciValue();
|
|
@@ -8863,7 +8863,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.serializeBinaryToWriter
|
|
|
8863
8863
|
writer.writeMessage(
|
|
8864
8864
|
14,
|
|
8865
8865
|
f,
|
|
8866
|
-
|
|
8866
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
8867
8867
|
);
|
|
8868
8868
|
}
|
|
8869
8869
|
f = message.getTotalOrderAmount();
|
|
@@ -8871,7 +8871,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.serializeBinaryToWriter
|
|
|
8871
8871
|
writer.writeMessage(
|
|
8872
8872
|
15,
|
|
8873
8873
|
f,
|
|
8874
|
-
|
|
8874
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8875
8875
|
);
|
|
8876
8876
|
}
|
|
8877
8877
|
f = message.getBrokerCommission();
|
|
@@ -8879,7 +8879,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.serializeBinaryToWriter
|
|
|
8879
8879
|
writer.writeMessage(
|
|
8880
8880
|
16,
|
|
8881
8881
|
f,
|
|
8882
|
-
|
|
8882
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8883
8883
|
);
|
|
8884
8884
|
}
|
|
8885
8885
|
f = message.getExchangeCommission();
|
|
@@ -8887,7 +8887,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.serializeBinaryToWriter
|
|
|
8887
8887
|
writer.writeMessage(
|
|
8888
8888
|
17,
|
|
8889
8889
|
f,
|
|
8890
|
-
|
|
8890
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8891
8891
|
);
|
|
8892
8892
|
}
|
|
8893
8893
|
f = message.getExchangeClearingCommission();
|
|
@@ -8895,7 +8895,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.serializeBinaryToWriter
|
|
|
8895
8895
|
writer.writeMessage(
|
|
8896
8896
|
18,
|
|
8897
8897
|
f,
|
|
8898
|
-
|
|
8898
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
8899
8899
|
);
|
|
8900
8900
|
}
|
|
8901
8901
|
f = message.getRepoRate();
|
|
@@ -8903,7 +8903,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.serializeBinaryToWriter
|
|
|
8903
8903
|
writer.writeMessage(
|
|
8904
8904
|
19,
|
|
8905
8905
|
f,
|
|
8906
|
-
|
|
8906
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
8907
8907
|
);
|
|
8908
8908
|
}
|
|
8909
8909
|
f = message.getParty();
|
|
@@ -9172,7 +9172,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.setTicker = f
|
|
|
9172
9172
|
*/
|
|
9173
9173
|
proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.getPrice = function() {
|
|
9174
9174
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
9175
|
-
jspb.Message.getWrapperField(this,
|
|
9175
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 11));
|
|
9176
9176
|
};
|
|
9177
9177
|
|
|
9178
9178
|
|
|
@@ -9227,7 +9227,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.setQuantity =
|
|
|
9227
9227
|
*/
|
|
9228
9228
|
proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.getOrderAmount = function() {
|
|
9229
9229
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
9230
|
-
jspb.Message.getWrapperField(this,
|
|
9230
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 13));
|
|
9231
9231
|
};
|
|
9232
9232
|
|
|
9233
9233
|
|
|
@@ -9264,7 +9264,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.hasOrderAmoun
|
|
|
9264
9264
|
*/
|
|
9265
9265
|
proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.getAciValue = function() {
|
|
9266
9266
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
9267
|
-
jspb.Message.getWrapperField(this,
|
|
9267
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 14));
|
|
9268
9268
|
};
|
|
9269
9269
|
|
|
9270
9270
|
|
|
@@ -9301,7 +9301,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.hasAciValue =
|
|
|
9301
9301
|
*/
|
|
9302
9302
|
proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.getTotalOrderAmount = function() {
|
|
9303
9303
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
9304
|
-
jspb.Message.getWrapperField(this,
|
|
9304
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 15));
|
|
9305
9305
|
};
|
|
9306
9306
|
|
|
9307
9307
|
|
|
@@ -9338,7 +9338,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.hasTotalOrder
|
|
|
9338
9338
|
*/
|
|
9339
9339
|
proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.getBrokerCommission = function() {
|
|
9340
9340
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
9341
|
-
jspb.Message.getWrapperField(this,
|
|
9341
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 16));
|
|
9342
9342
|
};
|
|
9343
9343
|
|
|
9344
9344
|
|
|
@@ -9375,7 +9375,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.hasBrokerComm
|
|
|
9375
9375
|
*/
|
|
9376
9376
|
proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.getExchangeCommission = function() {
|
|
9377
9377
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
9378
|
-
jspb.Message.getWrapperField(this,
|
|
9378
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 17));
|
|
9379
9379
|
};
|
|
9380
9380
|
|
|
9381
9381
|
|
|
@@ -9412,7 +9412,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.hasExchangeCo
|
|
|
9412
9412
|
*/
|
|
9413
9413
|
proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.getExchangeClearingCommission = function() {
|
|
9414
9414
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
9415
|
-
jspb.Message.getWrapperField(this,
|
|
9415
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 18));
|
|
9416
9416
|
};
|
|
9417
9417
|
|
|
9418
9418
|
|
|
@@ -9449,7 +9449,7 @@ proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.hasExchangeCl
|
|
|
9449
9449
|
*/
|
|
9450
9450
|
proto.tinkoff.public.invest.api.contract.v1.BrokerReport.prototype.getRepoRate = function() {
|
|
9451
9451
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
9452
|
-
jspb.Message.getWrapperField(this,
|
|
9452
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 19));
|
|
9453
9453
|
};
|
|
9454
9454
|
|
|
9455
9455
|
|
|
@@ -10946,11 +10946,11 @@ securityName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
|
10946
10946
|
isin: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10947
10947
|
issuerCountry: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
10948
10948
|
quantity: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
10949
|
-
dividend: (f = msg.getDividend()) &&
|
|
10950
|
-
externalCommission: (f = msg.getExternalCommission()) &&
|
|
10951
|
-
dividendGross: (f = msg.getDividendGross()) &&
|
|
10952
|
-
tax: (f = msg.getTax()) &&
|
|
10953
|
-
dividendAmount: (f = msg.getDividendAmount()) &&
|
|
10949
|
+
dividend: (f = msg.getDividend()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
10950
|
+
externalCommission: (f = msg.getExternalCommission()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
10951
|
+
dividendGross: (f = msg.getDividendGross()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
10952
|
+
tax: (f = msg.getTax()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
10953
|
+
dividendAmount: (f = msg.getDividendAmount()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
10954
10954
|
currency: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
10955
10955
|
};
|
|
10956
10956
|
|
|
@@ -11015,28 +11015,28 @@ proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.deseria
|
|
|
11015
11015
|
msg.setQuantity(value);
|
|
11016
11016
|
break;
|
|
11017
11017
|
case 7:
|
|
11018
|
-
var value = new
|
|
11019
|
-
reader.readMessage(value,
|
|
11018
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
11019
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
11020
11020
|
msg.setDividend(value);
|
|
11021
11021
|
break;
|
|
11022
11022
|
case 8:
|
|
11023
|
-
var value = new
|
|
11024
|
-
reader.readMessage(value,
|
|
11023
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
11024
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
11025
11025
|
msg.setExternalCommission(value);
|
|
11026
11026
|
break;
|
|
11027
11027
|
case 9:
|
|
11028
|
-
var value = new
|
|
11029
|
-
reader.readMessage(value,
|
|
11028
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
11029
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
11030
11030
|
msg.setDividendGross(value);
|
|
11031
11031
|
break;
|
|
11032
11032
|
case 10:
|
|
11033
|
-
var value = new
|
|
11034
|
-
reader.readMessage(value,
|
|
11033
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
11034
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
11035
11035
|
msg.setTax(value);
|
|
11036
11036
|
break;
|
|
11037
11037
|
case 11:
|
|
11038
|
-
var value = new
|
|
11039
|
-
reader.readMessage(value,
|
|
11038
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
11039
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
11040
11040
|
msg.setDividendAmount(value);
|
|
11041
11041
|
break;
|
|
11042
11042
|
case 12:
|
|
@@ -11121,7 +11121,7 @@ proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.seriali
|
|
|
11121
11121
|
writer.writeMessage(
|
|
11122
11122
|
7,
|
|
11123
11123
|
f,
|
|
11124
|
-
|
|
11124
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
11125
11125
|
);
|
|
11126
11126
|
}
|
|
11127
11127
|
f = message.getExternalCommission();
|
|
@@ -11129,7 +11129,7 @@ proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.seriali
|
|
|
11129
11129
|
writer.writeMessage(
|
|
11130
11130
|
8,
|
|
11131
11131
|
f,
|
|
11132
|
-
|
|
11132
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
11133
11133
|
);
|
|
11134
11134
|
}
|
|
11135
11135
|
f = message.getDividendGross();
|
|
@@ -11137,7 +11137,7 @@ proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.seriali
|
|
|
11137
11137
|
writer.writeMessage(
|
|
11138
11138
|
9,
|
|
11139
11139
|
f,
|
|
11140
|
-
|
|
11140
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
11141
11141
|
);
|
|
11142
11142
|
}
|
|
11143
11143
|
f = message.getTax();
|
|
@@ -11145,7 +11145,7 @@ proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.seriali
|
|
|
11145
11145
|
writer.writeMessage(
|
|
11146
11146
|
10,
|
|
11147
11147
|
f,
|
|
11148
|
-
|
|
11148
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
11149
11149
|
);
|
|
11150
11150
|
}
|
|
11151
11151
|
f = message.getDividendAmount();
|
|
@@ -11153,7 +11153,7 @@ proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.seriali
|
|
|
11153
11153
|
writer.writeMessage(
|
|
11154
11154
|
11,
|
|
11155
11155
|
f,
|
|
11156
|
-
|
|
11156
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
11157
11157
|
);
|
|
11158
11158
|
}
|
|
11159
11159
|
f = message.getCurrency();
|
|
@@ -11318,7 +11318,7 @@ proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.prototy
|
|
|
11318
11318
|
*/
|
|
11319
11319
|
proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.prototype.getDividend = function() {
|
|
11320
11320
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
11321
|
-
jspb.Message.getWrapperField(this,
|
|
11321
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 7));
|
|
11322
11322
|
};
|
|
11323
11323
|
|
|
11324
11324
|
|
|
@@ -11355,7 +11355,7 @@ proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.prototy
|
|
|
11355
11355
|
*/
|
|
11356
11356
|
proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.prototype.getExternalCommission = function() {
|
|
11357
11357
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
11358
|
-
jspb.Message.getWrapperField(this,
|
|
11358
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 8));
|
|
11359
11359
|
};
|
|
11360
11360
|
|
|
11361
11361
|
|
|
@@ -11392,7 +11392,7 @@ proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.prototy
|
|
|
11392
11392
|
*/
|
|
11393
11393
|
proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.prototype.getDividendGross = function() {
|
|
11394
11394
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
11395
|
-
jspb.Message.getWrapperField(this,
|
|
11395
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 9));
|
|
11396
11396
|
};
|
|
11397
11397
|
|
|
11398
11398
|
|
|
@@ -11429,7 +11429,7 @@ proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.prototy
|
|
|
11429
11429
|
*/
|
|
11430
11430
|
proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.prototype.getTax = function() {
|
|
11431
11431
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
11432
|
-
jspb.Message.getWrapperField(this,
|
|
11432
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 10));
|
|
11433
11433
|
};
|
|
11434
11434
|
|
|
11435
11435
|
|
|
@@ -11466,7 +11466,7 @@ proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.prototy
|
|
|
11466
11466
|
*/
|
|
11467
11467
|
proto.tinkoff.public.invest.api.contract.v1.DividendsForeignIssuerReport.prototype.getDividendAmount = function() {
|
|
11468
11468
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
11469
|
-
jspb.Message.getWrapperField(this,
|
|
11469
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 11));
|
|
11470
11470
|
};
|
|
11471
11471
|
|
|
11472
11472
|
|
|
@@ -11555,7 +11555,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioStreamRequest.prototype.toO
|
|
|
11555
11555
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioStreamRequest.toObject = function(includeInstance, msg) {
|
|
11556
11556
|
var f, obj = {
|
|
11557
11557
|
accountsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
11558
|
-
pingSettings: (f = msg.getPingSettings()) &&
|
|
11558
|
+
pingSettings: (f = msg.getPingSettings()) && api_tinvest_common_pb.PingDelaySettings.toObject(includeInstance, f)
|
|
11559
11559
|
};
|
|
11560
11560
|
|
|
11561
11561
|
if (includeInstance) {
|
|
@@ -11597,8 +11597,8 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioStreamRequest.deserializeBi
|
|
|
11597
11597
|
msg.addAccounts(value);
|
|
11598
11598
|
break;
|
|
11599
11599
|
case 15:
|
|
11600
|
-
var value = new
|
|
11601
|
-
reader.readMessage(value,
|
|
11600
|
+
var value = new api_tinvest_common_pb.PingDelaySettings;
|
|
11601
|
+
reader.readMessage(value,api_tinvest_common_pb.PingDelaySettings.deserializeBinaryFromReader);
|
|
11602
11602
|
msg.setPingSettings(value);
|
|
11603
11603
|
break;
|
|
11604
11604
|
default:
|
|
@@ -11642,7 +11642,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioStreamRequest.serializeBina
|
|
|
11642
11642
|
writer.writeMessage(
|
|
11643
11643
|
15,
|
|
11644
11644
|
f,
|
|
11645
|
-
|
|
11645
|
+
api_tinvest_common_pb.PingDelaySettings.serializeBinaryToWriter
|
|
11646
11646
|
);
|
|
11647
11647
|
}
|
|
11648
11648
|
};
|
|
@@ -11691,7 +11691,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioStreamRequest.prototype.cle
|
|
|
11691
11691
|
*/
|
|
11692
11692
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioStreamRequest.prototype.getPingSettings = function() {
|
|
11693
11693
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.PingDelaySettings} */ (
|
|
11694
|
-
jspb.Message.getWrapperField(this,
|
|
11694
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.PingDelaySettings, 15));
|
|
11695
11695
|
};
|
|
11696
11696
|
|
|
11697
11697
|
|
|
@@ -11783,7 +11783,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioStreamResponse.toObject = f
|
|
|
11783
11783
|
var f, obj = {
|
|
11784
11784
|
subscriptions: (f = msg.getSubscriptions()) && proto.tinkoff.public.invest.api.contract.v1.PortfolioSubscriptionResult.toObject(includeInstance, f),
|
|
11785
11785
|
portfolio: (f = msg.getPortfolio()) && proto.tinkoff.public.invest.api.contract.v1.PortfolioResponse.toObject(includeInstance, f),
|
|
11786
|
-
ping: (f = msg.getPing()) &&
|
|
11786
|
+
ping: (f = msg.getPing()) && api_tinvest_common_pb.Ping.toObject(includeInstance, f)
|
|
11787
11787
|
};
|
|
11788
11788
|
|
|
11789
11789
|
if (includeInstance) {
|
|
@@ -11831,8 +11831,8 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioStreamResponse.deserializeB
|
|
|
11831
11831
|
msg.setPortfolio(value);
|
|
11832
11832
|
break;
|
|
11833
11833
|
case 3:
|
|
11834
|
-
var value = new
|
|
11835
|
-
reader.readMessage(value,
|
|
11834
|
+
var value = new api_tinvest_common_pb.Ping;
|
|
11835
|
+
reader.readMessage(value,api_tinvest_common_pb.Ping.deserializeBinaryFromReader);
|
|
11836
11836
|
msg.setPing(value);
|
|
11837
11837
|
break;
|
|
11838
11838
|
default:
|
|
@@ -11885,7 +11885,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioStreamResponse.serializeBin
|
|
|
11885
11885
|
writer.writeMessage(
|
|
11886
11886
|
3,
|
|
11887
11887
|
f,
|
|
11888
|
-
|
|
11888
|
+
api_tinvest_common_pb.Ping.serializeBinaryToWriter
|
|
11889
11889
|
);
|
|
11890
11890
|
}
|
|
11891
11891
|
};
|
|
@@ -11971,7 +11971,7 @@ proto.tinkoff.public.invest.api.contract.v1.PortfolioStreamResponse.prototype.ha
|
|
|
11971
11971
|
*/
|
|
11972
11972
|
proto.tinkoff.public.invest.api.contract.v1.PortfolioStreamResponse.prototype.getPing = function() {
|
|
11973
11973
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Ping} */ (
|
|
11974
|
-
jspb.Message.getWrapperField(this,
|
|
11974
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Ping, 3));
|
|
11975
11975
|
};
|
|
11976
11976
|
|
|
11977
11977
|
|
|
@@ -13283,12 +13283,12 @@ instrumentKind: jspb.Message.getFieldWithDefault(msg, 34, 0),
|
|
|
13283
13283
|
positionUid: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
13284
13284
|
ticker: jspb.Message.getFieldWithDefault(msg, 36, ""),
|
|
13285
13285
|
classCode: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
13286
|
-
payment: (f = msg.getPayment()) &&
|
|
13287
|
-
price: (f = msg.getPrice()) &&
|
|
13288
|
-
commission: (f = msg.getCommission()) &&
|
|
13289
|
-
yield: (f = msg.getYield()) &&
|
|
13290
|
-
yieldRelative: (f = msg.getYieldRelative()) &&
|
|
13291
|
-
accruedInt: (f = msg.getAccruedInt()) &&
|
|
13286
|
+
payment: (f = msg.getPayment()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
13287
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
13288
|
+
commission: (f = msg.getCommission()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
13289
|
+
yield: (f = msg.getYield()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
13290
|
+
yieldRelative: (f = msg.getYieldRelative()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f),
|
|
13291
|
+
accruedInt: (f = msg.getAccruedInt()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
13292
13292
|
quantity: jspb.Message.getFieldWithDefault(msg, 51, 0),
|
|
13293
13293
|
quantityRest: jspb.Message.getFieldWithDefault(msg, 52, 0),
|
|
13294
13294
|
quantityDone: jspb.Message.getFieldWithDefault(msg, 53, 0),
|
|
@@ -13400,33 +13400,33 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.deserializeBinaryFromR
|
|
|
13400
13400
|
msg.setClassCode(value);
|
|
13401
13401
|
break;
|
|
13402
13402
|
case 41:
|
|
13403
|
-
var value = new
|
|
13404
|
-
reader.readMessage(value,
|
|
13403
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
13404
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
13405
13405
|
msg.setPayment(value);
|
|
13406
13406
|
break;
|
|
13407
13407
|
case 42:
|
|
13408
|
-
var value = new
|
|
13409
|
-
reader.readMessage(value,
|
|
13408
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
13409
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
13410
13410
|
msg.setPrice(value);
|
|
13411
13411
|
break;
|
|
13412
13412
|
case 43:
|
|
13413
|
-
var value = new
|
|
13414
|
-
reader.readMessage(value,
|
|
13413
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
13414
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
13415
13415
|
msg.setCommission(value);
|
|
13416
13416
|
break;
|
|
13417
13417
|
case 44:
|
|
13418
|
-
var value = new
|
|
13419
|
-
reader.readMessage(value,
|
|
13418
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
13419
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
13420
13420
|
msg.setYield(value);
|
|
13421
13421
|
break;
|
|
13422
13422
|
case 45:
|
|
13423
|
-
var value = new
|
|
13424
|
-
reader.readMessage(value,
|
|
13423
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
13424
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
13425
13425
|
msg.setYieldRelative(value);
|
|
13426
13426
|
break;
|
|
13427
13427
|
case 46:
|
|
13428
|
-
var value = new
|
|
13429
|
-
reader.readMessage(value,
|
|
13428
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
13429
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
13430
13430
|
msg.setAccruedInt(value);
|
|
13431
13431
|
break;
|
|
13432
13432
|
case 51:
|
|
@@ -13611,7 +13611,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.serializeBinaryToWrite
|
|
|
13611
13611
|
writer.writeMessage(
|
|
13612
13612
|
41,
|
|
13613
13613
|
f,
|
|
13614
|
-
|
|
13614
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
13615
13615
|
);
|
|
13616
13616
|
}
|
|
13617
13617
|
f = message.getPrice();
|
|
@@ -13619,7 +13619,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.serializeBinaryToWrite
|
|
|
13619
13619
|
writer.writeMessage(
|
|
13620
13620
|
42,
|
|
13621
13621
|
f,
|
|
13622
|
-
|
|
13622
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
13623
13623
|
);
|
|
13624
13624
|
}
|
|
13625
13625
|
f = message.getCommission();
|
|
@@ -13627,7 +13627,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.serializeBinaryToWrite
|
|
|
13627
13627
|
writer.writeMessage(
|
|
13628
13628
|
43,
|
|
13629
13629
|
f,
|
|
13630
|
-
|
|
13630
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
13631
13631
|
);
|
|
13632
13632
|
}
|
|
13633
13633
|
f = message.getYield();
|
|
@@ -13635,7 +13635,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.serializeBinaryToWrite
|
|
|
13635
13635
|
writer.writeMessage(
|
|
13636
13636
|
44,
|
|
13637
13637
|
f,
|
|
13638
|
-
|
|
13638
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
13639
13639
|
);
|
|
13640
13640
|
}
|
|
13641
13641
|
f = message.getYieldRelative();
|
|
@@ -13643,7 +13643,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.serializeBinaryToWrite
|
|
|
13643
13643
|
writer.writeMessage(
|
|
13644
13644
|
45,
|
|
13645
13645
|
f,
|
|
13646
|
-
|
|
13646
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
13647
13647
|
);
|
|
13648
13648
|
}
|
|
13649
13649
|
f = message.getAccruedInt();
|
|
@@ -13651,7 +13651,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.serializeBinaryToWrite
|
|
|
13651
13651
|
writer.writeMessage(
|
|
13652
13652
|
46,
|
|
13653
13653
|
f,
|
|
13654
|
-
|
|
13654
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
13655
13655
|
);
|
|
13656
13656
|
}
|
|
13657
13657
|
f = message.getQuantity();
|
|
@@ -14029,7 +14029,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.prototype.setClassCode
|
|
|
14029
14029
|
*/
|
|
14030
14030
|
proto.tinkoff.public.invest.api.contract.v1.OperationItem.prototype.getPayment = function() {
|
|
14031
14031
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
14032
|
-
jspb.Message.getWrapperField(this,
|
|
14032
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 41));
|
|
14033
14033
|
};
|
|
14034
14034
|
|
|
14035
14035
|
|
|
@@ -14066,7 +14066,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.prototype.hasPayment =
|
|
|
14066
14066
|
*/
|
|
14067
14067
|
proto.tinkoff.public.invest.api.contract.v1.OperationItem.prototype.getPrice = function() {
|
|
14068
14068
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
14069
|
-
jspb.Message.getWrapperField(this,
|
|
14069
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 42));
|
|
14070
14070
|
};
|
|
14071
14071
|
|
|
14072
14072
|
|
|
@@ -14103,7 +14103,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.prototype.hasPrice = f
|
|
|
14103
14103
|
*/
|
|
14104
14104
|
proto.tinkoff.public.invest.api.contract.v1.OperationItem.prototype.getCommission = function() {
|
|
14105
14105
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
14106
|
-
jspb.Message.getWrapperField(this,
|
|
14106
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 43));
|
|
14107
14107
|
};
|
|
14108
14108
|
|
|
14109
14109
|
|
|
@@ -14140,7 +14140,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.prototype.hasCommissio
|
|
|
14140
14140
|
*/
|
|
14141
14141
|
proto.tinkoff.public.invest.api.contract.v1.OperationItem.prototype.getYield = function() {
|
|
14142
14142
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
14143
|
-
jspb.Message.getWrapperField(this,
|
|
14143
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 44));
|
|
14144
14144
|
};
|
|
14145
14145
|
|
|
14146
14146
|
|
|
@@ -14177,7 +14177,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.prototype.hasYield = f
|
|
|
14177
14177
|
*/
|
|
14178
14178
|
proto.tinkoff.public.invest.api.contract.v1.OperationItem.prototype.getYieldRelative = function() {
|
|
14179
14179
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
14180
|
-
jspb.Message.getWrapperField(this,
|
|
14180
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 45));
|
|
14181
14181
|
};
|
|
14182
14182
|
|
|
14183
14183
|
|
|
@@ -14214,7 +14214,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItem.prototype.hasYieldRela
|
|
|
14214
14214
|
*/
|
|
14215
14215
|
proto.tinkoff.public.invest.api.contract.v1.OperationItem.prototype.getAccruedInt = function() {
|
|
14216
14216
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
14217
|
-
jspb.Message.getWrapperField(this,
|
|
14217
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 46));
|
|
14218
14218
|
};
|
|
14219
14219
|
|
|
14220
14220
|
|
|
@@ -14642,9 +14642,9 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItemTrade.toObject = functi
|
|
|
14642
14642
|
num: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14643
14643
|
date: (f = msg.getDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
14644
14644
|
quantity: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
14645
|
-
price: (f = msg.getPrice()) &&
|
|
14646
|
-
yield: (f = msg.getYield()) &&
|
|
14647
|
-
yieldRelative: (f = msg.getYieldRelative()) &&
|
|
14645
|
+
price: (f = msg.getPrice()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
14646
|
+
yield: (f = msg.getYield()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
14647
|
+
yieldRelative: (f = msg.getYieldRelative()) && api_tinvest_common_pb.Quotation.toObject(includeInstance, f)
|
|
14648
14648
|
};
|
|
14649
14649
|
|
|
14650
14650
|
if (includeInstance) {
|
|
@@ -14695,18 +14695,18 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItemTrade.deserializeBinary
|
|
|
14695
14695
|
msg.setQuantity(value);
|
|
14696
14696
|
break;
|
|
14697
14697
|
case 16:
|
|
14698
|
-
var value = new
|
|
14699
|
-
reader.readMessage(value,
|
|
14698
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
14699
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
14700
14700
|
msg.setPrice(value);
|
|
14701
14701
|
break;
|
|
14702
14702
|
case 21:
|
|
14703
|
-
var value = new
|
|
14704
|
-
reader.readMessage(value,
|
|
14703
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
14704
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
14705
14705
|
msg.setYield(value);
|
|
14706
14706
|
break;
|
|
14707
14707
|
case 22:
|
|
14708
|
-
var value = new
|
|
14709
|
-
reader.readMessage(value,
|
|
14708
|
+
var value = new api_tinvest_common_pb.Quotation;
|
|
14709
|
+
reader.readMessage(value,api_tinvest_common_pb.Quotation.deserializeBinaryFromReader);
|
|
14710
14710
|
msg.setYieldRelative(value);
|
|
14711
14711
|
break;
|
|
14712
14712
|
default:
|
|
@@ -14765,7 +14765,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItemTrade.serializeBinaryTo
|
|
|
14765
14765
|
writer.writeMessage(
|
|
14766
14766
|
16,
|
|
14767
14767
|
f,
|
|
14768
|
-
|
|
14768
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
14769
14769
|
);
|
|
14770
14770
|
}
|
|
14771
14771
|
f = message.getYield();
|
|
@@ -14773,7 +14773,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItemTrade.serializeBinaryTo
|
|
|
14773
14773
|
writer.writeMessage(
|
|
14774
14774
|
21,
|
|
14775
14775
|
f,
|
|
14776
|
-
|
|
14776
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
14777
14777
|
);
|
|
14778
14778
|
}
|
|
14779
14779
|
f = message.getYieldRelative();
|
|
@@ -14781,7 +14781,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItemTrade.serializeBinaryTo
|
|
|
14781
14781
|
writer.writeMessage(
|
|
14782
14782
|
22,
|
|
14783
14783
|
f,
|
|
14784
|
-
|
|
14784
|
+
api_tinvest_common_pb.Quotation.serializeBinaryToWriter
|
|
14785
14785
|
);
|
|
14786
14786
|
}
|
|
14787
14787
|
};
|
|
@@ -14866,7 +14866,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItemTrade.prototype.setQuan
|
|
|
14866
14866
|
*/
|
|
14867
14867
|
proto.tinkoff.public.invest.api.contract.v1.OperationItemTrade.prototype.getPrice = function() {
|
|
14868
14868
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
14869
|
-
jspb.Message.getWrapperField(this,
|
|
14869
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 16));
|
|
14870
14870
|
};
|
|
14871
14871
|
|
|
14872
14872
|
|
|
@@ -14903,7 +14903,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItemTrade.prototype.hasPric
|
|
|
14903
14903
|
*/
|
|
14904
14904
|
proto.tinkoff.public.invest.api.contract.v1.OperationItemTrade.prototype.getYield = function() {
|
|
14905
14905
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
14906
|
-
jspb.Message.getWrapperField(this,
|
|
14906
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 21));
|
|
14907
14907
|
};
|
|
14908
14908
|
|
|
14909
14909
|
|
|
@@ -14940,7 +14940,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationItemTrade.prototype.hasYiel
|
|
|
14940
14940
|
*/
|
|
14941
14941
|
proto.tinkoff.public.invest.api.contract.v1.OperationItemTrade.prototype.getYieldRelative = function() {
|
|
14942
14942
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Quotation} */ (
|
|
14943
|
-
jspb.Message.getWrapperField(this,
|
|
14943
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Quotation, 22));
|
|
14944
14944
|
};
|
|
14945
14945
|
|
|
14946
14946
|
|
|
@@ -15012,7 +15012,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsStreamRequest.toObject = fu
|
|
|
15012
15012
|
var f, obj = {
|
|
15013
15013
|
accountsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
15014
15014
|
withInitialPositions: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
15015
|
-
pingSettings: (f = msg.getPingSettings()) &&
|
|
15015
|
+
pingSettings: (f = msg.getPingSettings()) && api_tinvest_common_pb.PingDelaySettings.toObject(includeInstance, f)
|
|
15016
15016
|
};
|
|
15017
15017
|
|
|
15018
15018
|
if (includeInstance) {
|
|
@@ -15058,8 +15058,8 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsStreamRequest.deserializeBi
|
|
|
15058
15058
|
msg.setWithInitialPositions(value);
|
|
15059
15059
|
break;
|
|
15060
15060
|
case 15:
|
|
15061
|
-
var value = new
|
|
15062
|
-
reader.readMessage(value,
|
|
15061
|
+
var value = new api_tinvest_common_pb.PingDelaySettings;
|
|
15062
|
+
reader.readMessage(value,api_tinvest_common_pb.PingDelaySettings.deserializeBinaryFromReader);
|
|
15063
15063
|
msg.setPingSettings(value);
|
|
15064
15064
|
break;
|
|
15065
15065
|
default:
|
|
@@ -15110,7 +15110,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsStreamRequest.serializeBina
|
|
|
15110
15110
|
writer.writeMessage(
|
|
15111
15111
|
15,
|
|
15112
15112
|
f,
|
|
15113
|
-
|
|
15113
|
+
api_tinvest_common_pb.PingDelaySettings.serializeBinaryToWriter
|
|
15114
15114
|
);
|
|
15115
15115
|
}
|
|
15116
15116
|
};
|
|
@@ -15177,7 +15177,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsStreamRequest.prototype.set
|
|
|
15177
15177
|
*/
|
|
15178
15178
|
proto.tinkoff.public.invest.api.contract.v1.PositionsStreamRequest.prototype.getPingSettings = function() {
|
|
15179
15179
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.PingDelaySettings} */ (
|
|
15180
|
-
jspb.Message.getWrapperField(this,
|
|
15180
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.PingDelaySettings, 15));
|
|
15181
15181
|
};
|
|
15182
15182
|
|
|
15183
15183
|
|
|
@@ -15270,7 +15270,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsStreamResponse.toObject = f
|
|
|
15270
15270
|
var f, obj = {
|
|
15271
15271
|
subscriptions: (f = msg.getSubscriptions()) && proto.tinkoff.public.invest.api.contract.v1.PositionsSubscriptionResult.toObject(includeInstance, f),
|
|
15272
15272
|
position: (f = msg.getPosition()) && proto.tinkoff.public.invest.api.contract.v1.PositionData.toObject(includeInstance, f),
|
|
15273
|
-
ping: (f = msg.getPing()) &&
|
|
15273
|
+
ping: (f = msg.getPing()) && api_tinvest_common_pb.Ping.toObject(includeInstance, f),
|
|
15274
15274
|
initialPositions: (f = msg.getInitialPositions()) && proto.tinkoff.public.invest.api.contract.v1.PositionsResponse.toObject(includeInstance, f)
|
|
15275
15275
|
};
|
|
15276
15276
|
|
|
@@ -15319,8 +15319,8 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsStreamResponse.deserializeB
|
|
|
15319
15319
|
msg.setPosition(value);
|
|
15320
15320
|
break;
|
|
15321
15321
|
case 3:
|
|
15322
|
-
var value = new
|
|
15323
|
-
reader.readMessage(value,
|
|
15322
|
+
var value = new api_tinvest_common_pb.Ping;
|
|
15323
|
+
reader.readMessage(value,api_tinvest_common_pb.Ping.deserializeBinaryFromReader);
|
|
15324
15324
|
msg.setPing(value);
|
|
15325
15325
|
break;
|
|
15326
15326
|
case 5:
|
|
@@ -15378,7 +15378,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsStreamResponse.serializeBin
|
|
|
15378
15378
|
writer.writeMessage(
|
|
15379
15379
|
3,
|
|
15380
15380
|
f,
|
|
15381
|
-
|
|
15381
|
+
api_tinvest_common_pb.Ping.serializeBinaryToWriter
|
|
15382
15382
|
);
|
|
15383
15383
|
}
|
|
15384
15384
|
f = message.getInitialPositions();
|
|
@@ -15472,7 +15472,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsStreamResponse.prototype.ha
|
|
|
15472
15472
|
*/
|
|
15473
15473
|
proto.tinkoff.public.invest.api.contract.v1.PositionsStreamResponse.prototype.getPing = function() {
|
|
15474
15474
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Ping} */ (
|
|
15475
|
-
jspb.Message.getWrapperField(this,
|
|
15475
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Ping, 3));
|
|
15476
15476
|
};
|
|
15477
15477
|
|
|
15478
15478
|
|
|
@@ -16352,8 +16352,8 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsMoney.prototype.toObject =
|
|
|
16352
16352
|
*/
|
|
16353
16353
|
proto.tinkoff.public.invest.api.contract.v1.PositionsMoney.toObject = function(includeInstance, msg) {
|
|
16354
16354
|
var f, obj = {
|
|
16355
|
-
availableValue: (f = msg.getAvailableValue()) &&
|
|
16356
|
-
blockedValue: (f = msg.getBlockedValue()) &&
|
|
16355
|
+
availableValue: (f = msg.getAvailableValue()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f),
|
|
16356
|
+
blockedValue: (f = msg.getBlockedValue()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f)
|
|
16357
16357
|
};
|
|
16358
16358
|
|
|
16359
16359
|
if (includeInstance) {
|
|
@@ -16391,13 +16391,13 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsMoney.deserializeBinaryFrom
|
|
|
16391
16391
|
var field = reader.getFieldNumber();
|
|
16392
16392
|
switch (field) {
|
|
16393
16393
|
case 1:
|
|
16394
|
-
var value = new
|
|
16395
|
-
reader.readMessage(value,
|
|
16394
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
16395
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
16396
16396
|
msg.setAvailableValue(value);
|
|
16397
16397
|
break;
|
|
16398
16398
|
case 2:
|
|
16399
|
-
var value = new
|
|
16400
|
-
reader.readMessage(value,
|
|
16399
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
16400
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
16401
16401
|
msg.setBlockedValue(value);
|
|
16402
16402
|
break;
|
|
16403
16403
|
default:
|
|
@@ -16434,7 +16434,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsMoney.serializeBinaryToWrit
|
|
|
16434
16434
|
writer.writeMessage(
|
|
16435
16435
|
1,
|
|
16436
16436
|
f,
|
|
16437
|
-
|
|
16437
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
16438
16438
|
);
|
|
16439
16439
|
}
|
|
16440
16440
|
f = message.getBlockedValue();
|
|
@@ -16442,7 +16442,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsMoney.serializeBinaryToWrit
|
|
|
16442
16442
|
writer.writeMessage(
|
|
16443
16443
|
2,
|
|
16444
16444
|
f,
|
|
16445
|
-
|
|
16445
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
16446
16446
|
);
|
|
16447
16447
|
}
|
|
16448
16448
|
};
|
|
@@ -16454,7 +16454,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsMoney.serializeBinaryToWrit
|
|
|
16454
16454
|
*/
|
|
16455
16455
|
proto.tinkoff.public.invest.api.contract.v1.PositionsMoney.prototype.getAvailableValue = function() {
|
|
16456
16456
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
16457
|
-
jspb.Message.getWrapperField(this,
|
|
16457
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 1));
|
|
16458
16458
|
};
|
|
16459
16459
|
|
|
16460
16460
|
|
|
@@ -16491,7 +16491,7 @@ proto.tinkoff.public.invest.api.contract.v1.PositionsMoney.prototype.hasAvailabl
|
|
|
16491
16491
|
*/
|
|
16492
16492
|
proto.tinkoff.public.invest.api.contract.v1.PositionsMoney.prototype.getBlockedValue = function() {
|
|
16493
16493
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
16494
|
-
jspb.Message.getWrapperField(this,
|
|
16494
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 2));
|
|
16495
16495
|
};
|
|
16496
16496
|
|
|
16497
16497
|
|
|
@@ -16555,7 +16555,7 @@ proto.tinkoff.public.invest.api.contract.v1.ChildOperationItem.prototype.toObjec
|
|
|
16555
16555
|
proto.tinkoff.public.invest.api.contract.v1.ChildOperationItem.toObject = function(includeInstance, msg) {
|
|
16556
16556
|
var f, obj = {
|
|
16557
16557
|
instrumentUid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16558
|
-
payment: (f = msg.getPayment()) &&
|
|
16558
|
+
payment: (f = msg.getPayment()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f)
|
|
16559
16559
|
};
|
|
16560
16560
|
|
|
16561
16561
|
if (includeInstance) {
|
|
@@ -16597,8 +16597,8 @@ proto.tinkoff.public.invest.api.contract.v1.ChildOperationItem.deserializeBinary
|
|
|
16597
16597
|
msg.setInstrumentUid(value);
|
|
16598
16598
|
break;
|
|
16599
16599
|
case 2:
|
|
16600
|
-
var value = new
|
|
16601
|
-
reader.readMessage(value,
|
|
16600
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
16601
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
16602
16602
|
msg.setPayment(value);
|
|
16603
16603
|
break;
|
|
16604
16604
|
default:
|
|
@@ -16642,7 +16642,7 @@ proto.tinkoff.public.invest.api.contract.v1.ChildOperationItem.serializeBinaryTo
|
|
|
16642
16642
|
writer.writeMessage(
|
|
16643
16643
|
2,
|
|
16644
16644
|
f,
|
|
16645
|
-
|
|
16645
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
16646
16646
|
);
|
|
16647
16647
|
}
|
|
16648
16648
|
};
|
|
@@ -16672,7 +16672,7 @@ proto.tinkoff.public.invest.api.contract.v1.ChildOperationItem.prototype.setInst
|
|
|
16672
16672
|
*/
|
|
16673
16673
|
proto.tinkoff.public.invest.api.contract.v1.ChildOperationItem.prototype.getPayment = function() {
|
|
16674
16674
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
16675
|
-
jspb.Message.getWrapperField(this,
|
|
16675
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 2));
|
|
16676
16676
|
};
|
|
16677
16677
|
|
|
16678
16678
|
|
|
@@ -16743,7 +16743,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationsStreamRequest.prototype.to
|
|
|
16743
16743
|
proto.tinkoff.public.invest.api.contract.v1.OperationsStreamRequest.toObject = function(includeInstance, msg) {
|
|
16744
16744
|
var f, obj = {
|
|
16745
16745
|
accountsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
16746
|
-
pingSettings: (f = msg.getPingSettings()) &&
|
|
16746
|
+
pingSettings: (f = msg.getPingSettings()) && api_tinvest_common_pb.PingDelaySettings.toObject(includeInstance, f)
|
|
16747
16747
|
};
|
|
16748
16748
|
|
|
16749
16749
|
if (includeInstance) {
|
|
@@ -16785,8 +16785,8 @@ proto.tinkoff.public.invest.api.contract.v1.OperationsStreamRequest.deserializeB
|
|
|
16785
16785
|
msg.addAccounts(value);
|
|
16786
16786
|
break;
|
|
16787
16787
|
case 15:
|
|
16788
|
-
var value = new
|
|
16789
|
-
reader.readMessage(value,
|
|
16788
|
+
var value = new api_tinvest_common_pb.PingDelaySettings;
|
|
16789
|
+
reader.readMessage(value,api_tinvest_common_pb.PingDelaySettings.deserializeBinaryFromReader);
|
|
16790
16790
|
msg.setPingSettings(value);
|
|
16791
16791
|
break;
|
|
16792
16792
|
default:
|
|
@@ -16830,7 +16830,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationsStreamRequest.serializeBin
|
|
|
16830
16830
|
writer.writeMessage(
|
|
16831
16831
|
15,
|
|
16832
16832
|
f,
|
|
16833
|
-
|
|
16833
|
+
api_tinvest_common_pb.PingDelaySettings.serializeBinaryToWriter
|
|
16834
16834
|
);
|
|
16835
16835
|
}
|
|
16836
16836
|
};
|
|
@@ -16879,7 +16879,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationsStreamRequest.prototype.cl
|
|
|
16879
16879
|
*/
|
|
16880
16880
|
proto.tinkoff.public.invest.api.contract.v1.OperationsStreamRequest.prototype.getPingSettings = function() {
|
|
16881
16881
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.PingDelaySettings} */ (
|
|
16882
|
-
jspb.Message.getWrapperField(this,
|
|
16882
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.PingDelaySettings, 15));
|
|
16883
16883
|
};
|
|
16884
16884
|
|
|
16885
16885
|
|
|
@@ -16971,7 +16971,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationsStreamResponse.toObject =
|
|
|
16971
16971
|
var f, obj = {
|
|
16972
16972
|
subscriptions: (f = msg.getSubscriptions()) && proto.tinkoff.public.invest.api.contract.v1.OperationsSubscriptionResult.toObject(includeInstance, f),
|
|
16973
16973
|
operation: (f = msg.getOperation()) && proto.tinkoff.public.invest.api.contract.v1.OperationData.toObject(includeInstance, f),
|
|
16974
|
-
ping: (f = msg.getPing()) &&
|
|
16974
|
+
ping: (f = msg.getPing()) && api_tinvest_common_pb.Ping.toObject(includeInstance, f)
|
|
16975
16975
|
};
|
|
16976
16976
|
|
|
16977
16977
|
if (includeInstance) {
|
|
@@ -17019,8 +17019,8 @@ proto.tinkoff.public.invest.api.contract.v1.OperationsStreamResponse.deserialize
|
|
|
17019
17019
|
msg.setOperation(value);
|
|
17020
17020
|
break;
|
|
17021
17021
|
case 3:
|
|
17022
|
-
var value = new
|
|
17023
|
-
reader.readMessage(value,
|
|
17022
|
+
var value = new api_tinvest_common_pb.Ping;
|
|
17023
|
+
reader.readMessage(value,api_tinvest_common_pb.Ping.deserializeBinaryFromReader);
|
|
17024
17024
|
msg.setPing(value);
|
|
17025
17025
|
break;
|
|
17026
17026
|
default:
|
|
@@ -17073,7 +17073,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationsStreamResponse.serializeBi
|
|
|
17073
17073
|
writer.writeMessage(
|
|
17074
17074
|
3,
|
|
17075
17075
|
f,
|
|
17076
|
-
|
|
17076
|
+
api_tinvest_common_pb.Ping.serializeBinaryToWriter
|
|
17077
17077
|
);
|
|
17078
17078
|
}
|
|
17079
17079
|
};
|
|
@@ -17159,7 +17159,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationsStreamResponse.prototype.h
|
|
|
17159
17159
|
*/
|
|
17160
17160
|
proto.tinkoff.public.invest.api.contract.v1.OperationsStreamResponse.prototype.getPing = function() {
|
|
17161
17161
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.Ping} */ (
|
|
17162
|
-
jspb.Message.getWrapperField(this,
|
|
17162
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.Ping, 3));
|
|
17163
17163
|
};
|
|
17164
17164
|
|
|
17165
17165
|
|
|
@@ -17482,7 +17482,7 @@ instrumentKind: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
|
17482
17482
|
positionUid: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
17483
17483
|
ticker: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
17484
17484
|
classCode: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
17485
|
-
payment: (f = msg.getPayment()) &&
|
|
17485
|
+
payment: (f = msg.getPayment()) && api_tinvest_common_pb.MoneyValue.toObject(includeInstance, f)
|
|
17486
17486
|
};
|
|
17487
17487
|
|
|
17488
17488
|
if (includeInstance) {
|
|
@@ -17577,8 +17577,8 @@ proto.tinkoff.public.invest.api.contract.v1.OperationData.deserializeBinaryFromR
|
|
|
17577
17577
|
msg.setClassCode(value);
|
|
17578
17578
|
break;
|
|
17579
17579
|
case 15:
|
|
17580
|
-
var value = new
|
|
17581
|
-
reader.readMessage(value,
|
|
17580
|
+
var value = new api_tinvest_common_pb.MoneyValue;
|
|
17581
|
+
reader.readMessage(value,api_tinvest_common_pb.MoneyValue.deserializeBinaryFromReader);
|
|
17582
17582
|
msg.setPayment(value);
|
|
17583
17583
|
break;
|
|
17584
17584
|
default:
|
|
@@ -17714,7 +17714,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationData.serializeBinaryToWrite
|
|
|
17714
17714
|
writer.writeMessage(
|
|
17715
17715
|
15,
|
|
17716
17716
|
f,
|
|
17717
|
-
|
|
17717
|
+
api_tinvest_common_pb.MoneyValue.serializeBinaryToWriter
|
|
17718
17718
|
);
|
|
17719
17719
|
}
|
|
17720
17720
|
};
|
|
@@ -17997,7 +17997,7 @@ proto.tinkoff.public.invest.api.contract.v1.OperationData.prototype.setClassCode
|
|
|
17997
17997
|
*/
|
|
17998
17998
|
proto.tinkoff.public.invest.api.contract.v1.OperationData.prototype.getPayment = function() {
|
|
17999
17999
|
return /** @type{?proto.tinkoff.public.invest.api.contract.v1.MoneyValue} */ (
|
|
18000
|
-
jspb.Message.getWrapperField(this,
|
|
18000
|
+
jspb.Message.getWrapperField(this, api_tinvest_common_pb.MoneyValue, 15));
|
|
18001
18001
|
};
|
|
18002
18002
|
|
|
18003
18003
|
|