@woodger/t-invest-node-sdk 0.5.4 → 0.5.6
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/CHANGELOG.md +33 -0
- package/NOTICE +2 -2
- package/dist/application/services/unary-limiter.js +35 -8
- package/dist/bootstrap/args/command-options.d.ts +7 -1
- package/dist/bootstrap/args/command-options.js +10 -3
- package/dist/bootstrap/cli/help-catalog.d.ts +7 -7
- package/dist/bootstrap/cli/help-catalog.js +20 -26
- package/dist/bootstrap/cli/registry.d.ts +1 -1
- package/dist/bootstrap/commands/broker-report/cli.js +1 -1
- package/dist/bootstrap/commands/dividends-foreign-issuer/cli.js +1 -1
- package/dist/bootstrap/commands/order-book/cli.d.ts +3 -3
- package/dist/bootstrap/commands/order-book/cli.js +1 -1
- package/dist/bootstrap/commands/stream-run/config.d.ts +29 -6
- package/dist/bootstrap/commands/stream-run/config.js +17 -54
- package/dist/bootstrap/commands/stream-run/reporter.js +2 -0
- package/dist/bootstrap/commands/stream-run/request.mapper.js +70 -40
- package/dist/bootstrap/commands/stream-run/stream-session.js +7 -2
- package/dist/bootstrap/generated-exports.d.ts +2 -2
- package/dist/bootstrap/generated-exports.js +11 -9
- package/dist/bootstrap/t-invest-node-sdk.js +13 -11
- package/dist/generated/common.js +2 -2
- package/dist/generated/google/api/field_behavior.js +2 -2
- package/dist/generated/google/protobuf/descriptor.js +2 -2
- package/dist/generated/google/protobuf/timestamp.js +2 -2
- package/dist/generated/instruments.d.ts +16 -0
- package/dist/generated/instruments.js +161 -4
- package/dist/generated/marketdata.d.ts +22 -1
- package/dist/generated/marketdata.js +229 -12
- package/dist/generated/operations.d.ts +4 -0
- package/dist/generated/operations.js +47 -2
- package/dist/generated/orders.js +2 -2
- package/dist/generated/sandbox.js +2 -2
- package/dist/generated/signals.js +2 -2
- package/dist/generated/stoporders.js +2 -2
- package/dist/generated/users.d.ts +8 -0
- package/dist/generated/users.js +30 -2
- package/dist/infrastructure/transport/grpc/sdk-call-error.js +5 -6
- package/dist/infrastructure/transport/grpc/sdk-client.d.ts +2 -2
- package/docs/architecture.md +4 -2
- package/docs/clean-architecture/adapters.md +7 -124
- package/docs/clean-architecture/api-commands.md +6 -160
- package/docs/clean-architecture/application.md +101 -1
- package/docs/clean-architecture/cli-output-boundaries.md +72 -29
- package/docs/clean-architecture/dto.md +9 -100
- package/docs/clean-architecture/index.md +6 -44
- package/docs/cli-reference.md +132 -0
- package/docs/cli-stream-configuration.md +5 -3
- package/docs/cli-stream-reference.md +5 -2
- package/docs/guides/custom-unary-limiter.md +11 -7
- package/docs/guides/errors-and-lifecycle.md +21 -0
- package/docs/index.md +2 -3
- package/docs/roadmap.md +1 -28
- package/package.json +9 -8
- package/readme.md +5 -41
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.12.
|
|
5
|
-
// protoc v7.36.
|
|
4
|
+
// protoc-gen-ts_proto v2.12.4
|
|
5
|
+
// protoc v7.36.2
|
|
6
6
|
// source: marketdata.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.OpenInterest = exports.LastPrice = exports.GetLastPricesResponse = exports.GetLastPricesRequest = exports.HistoricCandle = exports.GetCandlesResponse = exports.GetCandlesRequest = exports.TradingStatus = exports.Trade = exports.Order = exports.OrderBook = exports.Candle = exports.LastPriceSubscription = exports.SubscribeLastPriceResponse = exports.LastPriceInstrument = exports.SubscribeLastPriceRequest = exports.InfoSubscription = exports.SubscribeInfoResponse = exports.InfoInstrument = exports.SubscribeInfoRequest = exports.TradeSubscription = exports.SubscribeTradesResponse = exports.TradeInstrument = exports.SubscribeTradesRequest = exports.OrderBookSubscription = exports.SubscribeOrderBookResponse = exports.OrderBookInstrument = exports.SubscribeOrderBookRequest = exports.CandleSubscription = exports.SubscribeCandlesResponse = exports.CandleInstrument = exports.SubscribeCandlesRequest = exports.MarketDataResponse = exports.MarketDataServerSideStreamRequest = exports.MarketDataRequest = exports.GetTechAnalysisRequest_IndicatorType = exports.GetTechAnalysisRequest_TypeOfPrice = exports.GetTechAnalysisRequest_IndicatorInterval = exports.GetCandlesRequest_CandleSource = exports.LastPriceType = exports.OrderBookType = exports.MarketValueType = exports.CandleSource = exports.CandleInterval = exports.TradeDirection = exports.TradeSourceType = exports.SubscriptionStatus = exports.SubscriptionInterval = exports.SubscriptionAction = exports.protobufPackage = void 0;
|
|
9
|
-
exports.MarketDataStreamServiceDefinition = exports.MarketDataServiceDefinition = exports.MarketValue = exports.MarketValueInstrument = exports.GetMarketValuesResponse = exports.GetMarketValuesRequest = exports.GetTechAnalysisResponse_TechAnalysisItem = exports.GetTechAnalysisResponse = exports.GetTechAnalysisRequest_Deviation = exports.GetTechAnalysisRequest_Smoothing = exports.GetTechAnalysisRequest = exports.InstrumentClosePriceResponse = exports.GetClosePricesResponse = exports.InstrumentClosePriceRequest = exports.GetClosePricesRequest = exports.GetMySubscriptions = exports.GetLastTradesResponse = exports.GetLastTradesRequest = exports.GetTradingStatusResponse = exports.GetTradingStatusesResponse = exports.GetTradingStatusesRequest = exports.GetTradingStatusRequest = exports.GetOrderBookResponse = exports.GetOrderBookRequest = void 0;
|
|
9
|
+
exports.MarketDataStreamServiceDefinition = exports.MarketDataServiceDefinition = exports.MarketValue = exports.MarketValueStatistic = exports.MarketValueInstrument = exports.GetMarketValuesResponse = exports.GetMarketValuesRequest = exports.GetTechAnalysisResponse_TechAnalysisItem = exports.GetTechAnalysisResponse = exports.GetTechAnalysisRequest_Deviation = exports.GetTechAnalysisRequest_Smoothing = exports.GetTechAnalysisRequest = exports.InstrumentClosePriceResponse = exports.GetClosePricesResponse = exports.InstrumentClosePriceRequest = exports.GetClosePricesRequest = exports.GetMySubscriptions = exports.GetLastTradesResponse = exports.GetLastTradesRequest = exports.GetTradingStatusResponse = exports.GetTradingStatusesResponse = exports.GetTradingStatusesRequest = exports.GetTradingStatusRequest = exports.GetOrderBookResponse = exports.GetOrderBookRequest = void 0;
|
|
10
10
|
exports.subscriptionActionFromJSON = subscriptionActionFromJSON;
|
|
11
11
|
exports.subscriptionActionToJSON = subscriptionActionToJSON;
|
|
12
12
|
exports.subscriptionIntervalFromJSON = subscriptionIntervalFromJSON;
|
|
@@ -5476,13 +5476,16 @@ exports.GetCandlesRequest = {
|
|
|
5476
5476
|
},
|
|
5477
5477
|
};
|
|
5478
5478
|
function createBaseGetCandlesResponse() {
|
|
5479
|
-
return { candles: [] };
|
|
5479
|
+
return { candles: [], priceCurrency: "" };
|
|
5480
5480
|
}
|
|
5481
5481
|
exports.GetCandlesResponse = {
|
|
5482
5482
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5483
5483
|
for (const v of message.candles) {
|
|
5484
5484
|
exports.HistoricCandle.encode(v, writer.uint32(10).fork()).join();
|
|
5485
5485
|
}
|
|
5486
|
+
if (message.priceCurrency !== "") {
|
|
5487
|
+
writer.uint32(18).string(message.priceCurrency);
|
|
5488
|
+
}
|
|
5486
5489
|
return writer;
|
|
5487
5490
|
},
|
|
5488
5491
|
decode(input, length) {
|
|
@@ -5505,6 +5508,13 @@ exports.GetCandlesResponse = {
|
|
|
5505
5508
|
message.candles.push(exports.HistoricCandle.decode(reader, reader.uint32()));
|
|
5506
5509
|
continue;
|
|
5507
5510
|
}
|
|
5511
|
+
case 2: {
|
|
5512
|
+
if (tag !== 18) {
|
|
5513
|
+
break;
|
|
5514
|
+
}
|
|
5515
|
+
message.priceCurrency = reader.string();
|
|
5516
|
+
continue;
|
|
5517
|
+
}
|
|
5508
5518
|
}
|
|
5509
5519
|
if ((tag & 7) === 4 || tag === 0) {
|
|
5510
5520
|
break;
|
|
@@ -5522,6 +5532,11 @@ exports.GetCandlesResponse = {
|
|
|
5522
5532
|
candles: globalThis.Array.isArray(object?.candles)
|
|
5523
5533
|
? object.candles.map((e) => exports.HistoricCandle.fromJSON(e))
|
|
5524
5534
|
: [],
|
|
5535
|
+
priceCurrency: isSet(object.priceCurrency)
|
|
5536
|
+
? globalThis.String(object.priceCurrency)
|
|
5537
|
+
: isSet(object.price_currency)
|
|
5538
|
+
? globalThis.String(object.price_currency)
|
|
5539
|
+
: "",
|
|
5525
5540
|
};
|
|
5526
5541
|
},
|
|
5527
5542
|
toJSON(message) {
|
|
@@ -5529,6 +5544,9 @@ exports.GetCandlesResponse = {
|
|
|
5529
5544
|
if (message.candles?.length) {
|
|
5530
5545
|
obj.candles = message.candles.map((e) => exports.HistoricCandle.toJSON(e));
|
|
5531
5546
|
}
|
|
5547
|
+
if (message.priceCurrency !== "") {
|
|
5548
|
+
obj.priceCurrency = message.priceCurrency;
|
|
5549
|
+
}
|
|
5532
5550
|
return obj;
|
|
5533
5551
|
},
|
|
5534
5552
|
create(base) {
|
|
@@ -5537,6 +5555,7 @@ exports.GetCandlesResponse = {
|
|
|
5537
5555
|
fromPartial(object) {
|
|
5538
5556
|
const message = createBaseGetCandlesResponse();
|
|
5539
5557
|
message.candles = object.candles?.map((e) => exports.HistoricCandle.fromPartial(e)) || [];
|
|
5558
|
+
message.priceCurrency = object.priceCurrency ?? "";
|
|
5540
5559
|
return message;
|
|
5541
5560
|
},
|
|
5542
5561
|
};
|
|
@@ -6377,6 +6396,7 @@ function createBaseGetOrderBookResponse() {
|
|
|
6377
6396
|
lastPriceTs: undefined,
|
|
6378
6397
|
closePriceTs: undefined,
|
|
6379
6398
|
orderbookTs: undefined,
|
|
6399
|
+
priceCurrency: "",
|
|
6380
6400
|
};
|
|
6381
6401
|
}
|
|
6382
6402
|
exports.GetOrderBookResponse = {
|
|
@@ -6423,6 +6443,9 @@ exports.GetOrderBookResponse = {
|
|
|
6423
6443
|
if (message.orderbookTs !== undefined) {
|
|
6424
6444
|
timestamp_1.Timestamp.encode(toTimestamp(message.orderbookTs), writer.uint32(186).fork()).join();
|
|
6425
6445
|
}
|
|
6446
|
+
if (message.priceCurrency !== "") {
|
|
6447
|
+
writer.uint32(194).string(message.priceCurrency);
|
|
6448
|
+
}
|
|
6426
6449
|
return writer;
|
|
6427
6450
|
},
|
|
6428
6451
|
decode(input, length) {
|
|
@@ -6536,6 +6559,13 @@ exports.GetOrderBookResponse = {
|
|
|
6536
6559
|
message.orderbookTs = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
6537
6560
|
continue;
|
|
6538
6561
|
}
|
|
6562
|
+
case 24: {
|
|
6563
|
+
if (tag !== 194) {
|
|
6564
|
+
break;
|
|
6565
|
+
}
|
|
6566
|
+
message.priceCurrency = reader.string();
|
|
6567
|
+
continue;
|
|
6568
|
+
}
|
|
6539
6569
|
}
|
|
6540
6570
|
if ((tag & 7) === 4 || tag === 0) {
|
|
6541
6571
|
break;
|
|
@@ -6600,6 +6630,11 @@ exports.GetOrderBookResponse = {
|
|
|
6600
6630
|
: isSet(object.orderbook_ts)
|
|
6601
6631
|
? fromJsonTimestamp(object.orderbook_ts)
|
|
6602
6632
|
: undefined,
|
|
6633
|
+
priceCurrency: isSet(object.priceCurrency)
|
|
6634
|
+
? globalThis.String(object.priceCurrency)
|
|
6635
|
+
: isSet(object.price_currency)
|
|
6636
|
+
? globalThis.String(object.price_currency)
|
|
6637
|
+
: "",
|
|
6603
6638
|
};
|
|
6604
6639
|
},
|
|
6605
6640
|
toJSON(message) {
|
|
@@ -6646,6 +6681,9 @@ exports.GetOrderBookResponse = {
|
|
|
6646
6681
|
if (message.orderbookTs !== undefined) {
|
|
6647
6682
|
obj.orderbookTs = message.orderbookTs.toISOString();
|
|
6648
6683
|
}
|
|
6684
|
+
if (message.priceCurrency !== "") {
|
|
6685
|
+
obj.priceCurrency = message.priceCurrency;
|
|
6686
|
+
}
|
|
6649
6687
|
return obj;
|
|
6650
6688
|
},
|
|
6651
6689
|
create(base) {
|
|
@@ -6675,6 +6713,7 @@ exports.GetOrderBookResponse = {
|
|
|
6675
6713
|
message.lastPriceTs = object.lastPriceTs ?? undefined;
|
|
6676
6714
|
message.closePriceTs = object.closePriceTs ?? undefined;
|
|
6677
6715
|
message.orderbookTs = object.orderbookTs ?? undefined;
|
|
6716
|
+
message.priceCurrency = object.priceCurrency ?? "";
|
|
6678
6717
|
return message;
|
|
6679
6718
|
},
|
|
6680
6719
|
};
|
|
@@ -7267,13 +7306,16 @@ exports.GetLastTradesRequest = {
|
|
|
7267
7306
|
},
|
|
7268
7307
|
};
|
|
7269
7308
|
function createBaseGetLastTradesResponse() {
|
|
7270
|
-
return { trades: [] };
|
|
7309
|
+
return { trades: [], priceCurrency: "" };
|
|
7271
7310
|
}
|
|
7272
7311
|
exports.GetLastTradesResponse = {
|
|
7273
7312
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7274
7313
|
for (const v of message.trades) {
|
|
7275
7314
|
exports.Trade.encode(v, writer.uint32(10).fork()).join();
|
|
7276
7315
|
}
|
|
7316
|
+
if (message.priceCurrency !== "") {
|
|
7317
|
+
writer.uint32(18).string(message.priceCurrency);
|
|
7318
|
+
}
|
|
7277
7319
|
return writer;
|
|
7278
7320
|
},
|
|
7279
7321
|
decode(input, length) {
|
|
@@ -7296,6 +7338,13 @@ exports.GetLastTradesResponse = {
|
|
|
7296
7338
|
message.trades.push(exports.Trade.decode(reader, reader.uint32()));
|
|
7297
7339
|
continue;
|
|
7298
7340
|
}
|
|
7341
|
+
case 2: {
|
|
7342
|
+
if (tag !== 18) {
|
|
7343
|
+
break;
|
|
7344
|
+
}
|
|
7345
|
+
message.priceCurrency = reader.string();
|
|
7346
|
+
continue;
|
|
7347
|
+
}
|
|
7299
7348
|
}
|
|
7300
7349
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7301
7350
|
break;
|
|
@@ -7309,13 +7358,23 @@ exports.GetLastTradesResponse = {
|
|
|
7309
7358
|
}
|
|
7310
7359
|
},
|
|
7311
7360
|
fromJSON(object) {
|
|
7312
|
-
return {
|
|
7361
|
+
return {
|
|
7362
|
+
trades: globalThis.Array.isArray(object?.trades) ? object.trades.map((e) => exports.Trade.fromJSON(e)) : [],
|
|
7363
|
+
priceCurrency: isSet(object.priceCurrency)
|
|
7364
|
+
? globalThis.String(object.priceCurrency)
|
|
7365
|
+
: isSet(object.price_currency)
|
|
7366
|
+
? globalThis.String(object.price_currency)
|
|
7367
|
+
: "",
|
|
7368
|
+
};
|
|
7313
7369
|
},
|
|
7314
7370
|
toJSON(message) {
|
|
7315
7371
|
const obj = {};
|
|
7316
7372
|
if (message.trades?.length) {
|
|
7317
7373
|
obj.trades = message.trades.map((e) => exports.Trade.toJSON(e));
|
|
7318
7374
|
}
|
|
7375
|
+
if (message.priceCurrency !== "") {
|
|
7376
|
+
obj.priceCurrency = message.priceCurrency;
|
|
7377
|
+
}
|
|
7319
7378
|
return obj;
|
|
7320
7379
|
},
|
|
7321
7380
|
create(base) {
|
|
@@ -7324,6 +7383,7 @@ exports.GetLastTradesResponse = {
|
|
|
7324
7383
|
fromPartial(object) {
|
|
7325
7384
|
const message = createBaseGetLastTradesResponse();
|
|
7326
7385
|
message.trades = object.trades?.map((e) => exports.Trade.fromPartial(e)) || [];
|
|
7386
|
+
message.priceCurrency = object.priceCurrency ?? "";
|
|
7327
7387
|
return message;
|
|
7328
7388
|
},
|
|
7329
7389
|
};
|
|
@@ -7792,7 +7852,7 @@ exports.InstrumentClosePriceResponse = {
|
|
|
7792
7852
|
function createBaseGetTechAnalysisRequest() {
|
|
7793
7853
|
return {
|
|
7794
7854
|
indicatorType: 0,
|
|
7795
|
-
instrumentUid:
|
|
7855
|
+
instrumentUid: undefined,
|
|
7796
7856
|
from: undefined,
|
|
7797
7857
|
to: undefined,
|
|
7798
7858
|
interval: 0,
|
|
@@ -7800,6 +7860,7 @@ function createBaseGetTechAnalysisRequest() {
|
|
|
7800
7860
|
length: 0,
|
|
7801
7861
|
deviation: undefined,
|
|
7802
7862
|
smoothing: undefined,
|
|
7863
|
+
instrumentId: undefined,
|
|
7803
7864
|
};
|
|
7804
7865
|
}
|
|
7805
7866
|
exports.GetTechAnalysisRequest = {
|
|
@@ -7807,7 +7868,7 @@ exports.GetTechAnalysisRequest = {
|
|
|
7807
7868
|
if (message.indicatorType !== 0) {
|
|
7808
7869
|
writer.uint32(8).int32(message.indicatorType);
|
|
7809
7870
|
}
|
|
7810
|
-
if (message.instrumentUid !==
|
|
7871
|
+
if (message.instrumentUid !== undefined) {
|
|
7811
7872
|
writer.uint32(18).string(message.instrumentUid);
|
|
7812
7873
|
}
|
|
7813
7874
|
if (message.from !== undefined) {
|
|
@@ -7831,6 +7892,9 @@ exports.GetTechAnalysisRequest = {
|
|
|
7831
7892
|
if (message.smoothing !== undefined) {
|
|
7832
7893
|
exports.GetTechAnalysisRequest_Smoothing.encode(message.smoothing, writer.uint32(74).fork()).join();
|
|
7833
7894
|
}
|
|
7895
|
+
if (message.instrumentId !== undefined) {
|
|
7896
|
+
writer.uint32(82).string(message.instrumentId);
|
|
7897
|
+
}
|
|
7834
7898
|
return writer;
|
|
7835
7899
|
},
|
|
7836
7900
|
decode(input, length) {
|
|
@@ -7909,6 +7973,13 @@ exports.GetTechAnalysisRequest = {
|
|
|
7909
7973
|
message.smoothing = exports.GetTechAnalysisRequest_Smoothing.decode(reader, reader.uint32());
|
|
7910
7974
|
continue;
|
|
7911
7975
|
}
|
|
7976
|
+
case 10: {
|
|
7977
|
+
if (tag !== 82) {
|
|
7978
|
+
break;
|
|
7979
|
+
}
|
|
7980
|
+
message.instrumentId = reader.string();
|
|
7981
|
+
continue;
|
|
7982
|
+
}
|
|
7912
7983
|
}
|
|
7913
7984
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7914
7985
|
break;
|
|
@@ -7932,7 +8003,7 @@ exports.GetTechAnalysisRequest = {
|
|
|
7932
8003
|
? globalThis.String(object.instrumentUid)
|
|
7933
8004
|
: isSet(object.instrument_uid)
|
|
7934
8005
|
? globalThis.String(object.instrument_uid)
|
|
7935
|
-
:
|
|
8006
|
+
: undefined,
|
|
7936
8007
|
from: isSet(object.from) ? fromJsonTimestamp(object.from) : undefined,
|
|
7937
8008
|
to: isSet(object.to) ? fromJsonTimestamp(object.to) : undefined,
|
|
7938
8009
|
interval: isSet(object.interval) ? getTechAnalysisRequest_IndicatorIntervalFromJSON(object.interval) : 0,
|
|
@@ -7944,6 +8015,11 @@ exports.GetTechAnalysisRequest = {
|
|
|
7944
8015
|
length: isSet(object.length) ? globalThis.Number(object.length) : 0,
|
|
7945
8016
|
deviation: isSet(object.deviation) ? exports.GetTechAnalysisRequest_Deviation.fromJSON(object.deviation) : undefined,
|
|
7946
8017
|
smoothing: isSet(object.smoothing) ? exports.GetTechAnalysisRequest_Smoothing.fromJSON(object.smoothing) : undefined,
|
|
8018
|
+
instrumentId: isSet(object.instrumentId)
|
|
8019
|
+
? globalThis.String(object.instrumentId)
|
|
8020
|
+
: isSet(object.instrument_id)
|
|
8021
|
+
? globalThis.String(object.instrument_id)
|
|
8022
|
+
: undefined,
|
|
7947
8023
|
};
|
|
7948
8024
|
},
|
|
7949
8025
|
toJSON(message) {
|
|
@@ -7951,7 +8027,7 @@ exports.GetTechAnalysisRequest = {
|
|
|
7951
8027
|
if (message.indicatorType !== 0) {
|
|
7952
8028
|
obj.indicatorType = getTechAnalysisRequest_IndicatorTypeToJSON(message.indicatorType);
|
|
7953
8029
|
}
|
|
7954
|
-
if (message.instrumentUid !==
|
|
8030
|
+
if (message.instrumentUid !== undefined) {
|
|
7955
8031
|
obj.instrumentUid = message.instrumentUid;
|
|
7956
8032
|
}
|
|
7957
8033
|
if (message.from !== undefined) {
|
|
@@ -7975,6 +8051,9 @@ exports.GetTechAnalysisRequest = {
|
|
|
7975
8051
|
if (message.smoothing !== undefined) {
|
|
7976
8052
|
obj.smoothing = exports.GetTechAnalysisRequest_Smoothing.toJSON(message.smoothing);
|
|
7977
8053
|
}
|
|
8054
|
+
if (message.instrumentId !== undefined) {
|
|
8055
|
+
obj.instrumentId = message.instrumentId;
|
|
8056
|
+
}
|
|
7978
8057
|
return obj;
|
|
7979
8058
|
},
|
|
7980
8059
|
create(base) {
|
|
@@ -7983,7 +8062,7 @@ exports.GetTechAnalysisRequest = {
|
|
|
7983
8062
|
fromPartial(object) {
|
|
7984
8063
|
const message = createBaseGetTechAnalysisRequest();
|
|
7985
8064
|
message.indicatorType = object.indicatorType ?? 0;
|
|
7986
|
-
message.instrumentUid = object.instrumentUid ??
|
|
8065
|
+
message.instrumentUid = object.instrumentUid ?? undefined;
|
|
7987
8066
|
message.from = object.from ?? undefined;
|
|
7988
8067
|
message.to = object.to ?? undefined;
|
|
7989
8068
|
message.interval = object.interval ?? 0;
|
|
@@ -7995,6 +8074,7 @@ exports.GetTechAnalysisRequest = {
|
|
|
7995
8074
|
message.smoothing = (object.smoothing !== undefined && object.smoothing !== null)
|
|
7996
8075
|
? exports.GetTechAnalysisRequest_Smoothing.fromPartial(object.smoothing)
|
|
7997
8076
|
: undefined;
|
|
8077
|
+
message.instrumentId = object.instrumentId ?? undefined;
|
|
7998
8078
|
return message;
|
|
7999
8079
|
},
|
|
8000
8080
|
};
|
|
@@ -8562,7 +8642,7 @@ exports.GetMarketValuesResponse = {
|
|
|
8562
8642
|
},
|
|
8563
8643
|
};
|
|
8564
8644
|
function createBaseMarketValueInstrument() {
|
|
8565
|
-
return { instrumentUid: "", values: [], ticker: "", classCode: "" };
|
|
8645
|
+
return { instrumentUid: "", values: [], ticker: "", classCode: "", statistic: undefined, priceCurrency: "" };
|
|
8566
8646
|
}
|
|
8567
8647
|
exports.MarketValueInstrument = {
|
|
8568
8648
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -8578,6 +8658,12 @@ exports.MarketValueInstrument = {
|
|
|
8578
8658
|
if (message.classCode !== "") {
|
|
8579
8659
|
writer.uint32(34).string(message.classCode);
|
|
8580
8660
|
}
|
|
8661
|
+
if (message.statistic !== undefined) {
|
|
8662
|
+
exports.MarketValueStatistic.encode(message.statistic, writer.uint32(42).fork()).join();
|
|
8663
|
+
}
|
|
8664
|
+
if (message.priceCurrency !== "") {
|
|
8665
|
+
writer.uint32(50).string(message.priceCurrency);
|
|
8666
|
+
}
|
|
8581
8667
|
return writer;
|
|
8582
8668
|
},
|
|
8583
8669
|
decode(input, length) {
|
|
@@ -8621,6 +8707,20 @@ exports.MarketValueInstrument = {
|
|
|
8621
8707
|
message.classCode = reader.string();
|
|
8622
8708
|
continue;
|
|
8623
8709
|
}
|
|
8710
|
+
case 5: {
|
|
8711
|
+
if (tag !== 42) {
|
|
8712
|
+
break;
|
|
8713
|
+
}
|
|
8714
|
+
message.statistic = exports.MarketValueStatistic.decode(reader, reader.uint32());
|
|
8715
|
+
continue;
|
|
8716
|
+
}
|
|
8717
|
+
case 6: {
|
|
8718
|
+
if (tag !== 50) {
|
|
8719
|
+
break;
|
|
8720
|
+
}
|
|
8721
|
+
message.priceCurrency = reader.string();
|
|
8722
|
+
continue;
|
|
8723
|
+
}
|
|
8624
8724
|
}
|
|
8625
8725
|
if ((tag & 7) === 4 || tag === 0) {
|
|
8626
8726
|
break;
|
|
@@ -8647,6 +8747,12 @@ exports.MarketValueInstrument = {
|
|
|
8647
8747
|
: isSet(object.class_code)
|
|
8648
8748
|
? globalThis.String(object.class_code)
|
|
8649
8749
|
: "",
|
|
8750
|
+
statistic: isSet(object.statistic) ? exports.MarketValueStatistic.fromJSON(object.statistic) : undefined,
|
|
8751
|
+
priceCurrency: isSet(object.priceCurrency)
|
|
8752
|
+
? globalThis.String(object.priceCurrency)
|
|
8753
|
+
: isSet(object.price_currency)
|
|
8754
|
+
? globalThis.String(object.price_currency)
|
|
8755
|
+
: "",
|
|
8650
8756
|
};
|
|
8651
8757
|
},
|
|
8652
8758
|
toJSON(message) {
|
|
@@ -8663,6 +8769,12 @@ exports.MarketValueInstrument = {
|
|
|
8663
8769
|
if (message.classCode !== "") {
|
|
8664
8770
|
obj.classCode = message.classCode;
|
|
8665
8771
|
}
|
|
8772
|
+
if (message.statistic !== undefined) {
|
|
8773
|
+
obj.statistic = exports.MarketValueStatistic.toJSON(message.statistic);
|
|
8774
|
+
}
|
|
8775
|
+
if (message.priceCurrency !== "") {
|
|
8776
|
+
obj.priceCurrency = message.priceCurrency;
|
|
8777
|
+
}
|
|
8666
8778
|
return obj;
|
|
8667
8779
|
},
|
|
8668
8780
|
create(base) {
|
|
@@ -8674,6 +8786,111 @@ exports.MarketValueInstrument = {
|
|
|
8674
8786
|
message.values = object.values?.map((e) => exports.MarketValue.fromPartial(e)) || [];
|
|
8675
8787
|
message.ticker = object.ticker ?? "";
|
|
8676
8788
|
message.classCode = object.classCode ?? "";
|
|
8789
|
+
message.statistic = (object.statistic !== undefined && object.statistic !== null)
|
|
8790
|
+
? exports.MarketValueStatistic.fromPartial(object.statistic)
|
|
8791
|
+
: undefined;
|
|
8792
|
+
message.priceCurrency = object.priceCurrency ?? "";
|
|
8793
|
+
return message;
|
|
8794
|
+
},
|
|
8795
|
+
};
|
|
8796
|
+
function createBaseMarketValueStatistic() {
|
|
8797
|
+
return { interestedCount: undefined, tradedCount: undefined, time: undefined };
|
|
8798
|
+
}
|
|
8799
|
+
exports.MarketValueStatistic = {
|
|
8800
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8801
|
+
if (message.interestedCount !== undefined) {
|
|
8802
|
+
writer.uint32(8).int32(message.interestedCount);
|
|
8803
|
+
}
|
|
8804
|
+
if (message.tradedCount !== undefined) {
|
|
8805
|
+
writer.uint32(16).int32(message.tradedCount);
|
|
8806
|
+
}
|
|
8807
|
+
if (message.time !== undefined) {
|
|
8808
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.time), writer.uint32(26).fork()).join();
|
|
8809
|
+
}
|
|
8810
|
+
return writer;
|
|
8811
|
+
},
|
|
8812
|
+
decode(input, length) {
|
|
8813
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8814
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
8815
|
+
if (previousRecursionDepth >= 100) {
|
|
8816
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
8817
|
+
}
|
|
8818
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
8819
|
+
try {
|
|
8820
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8821
|
+
const message = createBaseMarketValueStatistic();
|
|
8822
|
+
while (reader.pos < end) {
|
|
8823
|
+
const tag = reader.uint32();
|
|
8824
|
+
switch (tag >>> 3) {
|
|
8825
|
+
case 1: {
|
|
8826
|
+
if (tag !== 8) {
|
|
8827
|
+
break;
|
|
8828
|
+
}
|
|
8829
|
+
message.interestedCount = reader.int32();
|
|
8830
|
+
continue;
|
|
8831
|
+
}
|
|
8832
|
+
case 2: {
|
|
8833
|
+
if (tag !== 16) {
|
|
8834
|
+
break;
|
|
8835
|
+
}
|
|
8836
|
+
message.tradedCount = reader.int32();
|
|
8837
|
+
continue;
|
|
8838
|
+
}
|
|
8839
|
+
case 3: {
|
|
8840
|
+
if (tag !== 26) {
|
|
8841
|
+
break;
|
|
8842
|
+
}
|
|
8843
|
+
message.time = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
8844
|
+
continue;
|
|
8845
|
+
}
|
|
8846
|
+
}
|
|
8847
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8848
|
+
break;
|
|
8849
|
+
}
|
|
8850
|
+
reader.skip(tag & 7);
|
|
8851
|
+
}
|
|
8852
|
+
return message;
|
|
8853
|
+
}
|
|
8854
|
+
finally {
|
|
8855
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
8856
|
+
}
|
|
8857
|
+
},
|
|
8858
|
+
fromJSON(object) {
|
|
8859
|
+
return {
|
|
8860
|
+
interestedCount: isSet(object.interestedCount)
|
|
8861
|
+
? globalThis.Number(object.interestedCount)
|
|
8862
|
+
: isSet(object.interested_count)
|
|
8863
|
+
? globalThis.Number(object.interested_count)
|
|
8864
|
+
: undefined,
|
|
8865
|
+
tradedCount: isSet(object.tradedCount)
|
|
8866
|
+
? globalThis.Number(object.tradedCount)
|
|
8867
|
+
: isSet(object.traded_count)
|
|
8868
|
+
? globalThis.Number(object.traded_count)
|
|
8869
|
+
: undefined,
|
|
8870
|
+
time: isSet(object.time) ? fromJsonTimestamp(object.time) : undefined,
|
|
8871
|
+
};
|
|
8872
|
+
},
|
|
8873
|
+
toJSON(message) {
|
|
8874
|
+
const obj = {};
|
|
8875
|
+
if (message.interestedCount !== undefined) {
|
|
8876
|
+
obj.interestedCount = Math.round(message.interestedCount);
|
|
8877
|
+
}
|
|
8878
|
+
if (message.tradedCount !== undefined) {
|
|
8879
|
+
obj.tradedCount = Math.round(message.tradedCount);
|
|
8880
|
+
}
|
|
8881
|
+
if (message.time !== undefined) {
|
|
8882
|
+
obj.time = message.time.toISOString();
|
|
8883
|
+
}
|
|
8884
|
+
return obj;
|
|
8885
|
+
},
|
|
8886
|
+
create(base) {
|
|
8887
|
+
return exports.MarketValueStatistic.fromPartial(base ?? {});
|
|
8888
|
+
},
|
|
8889
|
+
fromPartial(object) {
|
|
8890
|
+
const message = createBaseMarketValueStatistic();
|
|
8891
|
+
message.interestedCount = object.interestedCount ?? undefined;
|
|
8892
|
+
message.tradedCount = object.tradedCount ?? undefined;
|
|
8893
|
+
message.time = object.time ?? undefined;
|
|
8677
8894
|
return message;
|
|
8678
8895
|
},
|
|
8679
8896
|
};
|
|
@@ -318,6 +318,10 @@ export interface PortfolioResponse {
|
|
|
318
318
|
dailyYieldRelative: Quotation | undefined;
|
|
319
319
|
/** Общая стоимость смарт-активов в портфеле в рублях. */
|
|
320
320
|
totalAmountDfa: MoneyValue | undefined;
|
|
321
|
+
/** Общая вариационная маржа. */
|
|
322
|
+
totalVarMargin: MoneyValue | undefined;
|
|
323
|
+
/** Общая вариационная маржа от расчетной цены или от цены закрытия позиции. */
|
|
324
|
+
totalVarMarginSettled: MoneyValue | undefined;
|
|
321
325
|
}
|
|
322
326
|
/** Запрос позиций портфеля по счету. */
|
|
323
327
|
export interface PositionsRequest {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.12.
|
|
5
|
-
// protoc v7.36.
|
|
4
|
+
// protoc-gen-ts_proto v2.12.4
|
|
5
|
+
// protoc v7.36.2
|
|
6
6
|
// source: operations.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.PositionData = exports.PositionsSubscriptionStatus = exports.PositionsSubscriptionResult = exports.PositionsStreamResponse = exports.PositionsStreamRequest = exports.OperationItemTrade = exports.OperationItemTrades = exports.OperationItem = exports.GetOperationsByCursorResponse = exports.GetOperationsByCursorRequest = exports.AccountSubscriptionStatus = exports.PortfolioSubscriptionResult = exports.PortfolioStreamResponse = exports.PortfolioStreamRequest = exports.DividendsForeignIssuerReport = exports.GetDividendsForeignIssuerReportResponse = exports.GenerateDividendsForeignIssuerReportResponse = exports.GetDividendsForeignIssuerReportRequest = exports.GenerateDividendsForeignIssuerReportRequest = exports.GetDividendsForeignIssuerResponse = exports.GetDividendsForeignIssuerRequest = exports.BrokerReport = exports.GetBrokerReportResponse = exports.GetBrokerReportRequest = exports.GenerateBrokerReportResponse = exports.GenerateBrokerReportRequest = exports.BrokerReportResponse = exports.BrokerReportRequest = exports.PositionsOptions = exports.PositionsFutures = exports.PositionsSecurities = exports.VirtualPortfolioPosition = exports.PortfolioPosition = exports.WithdrawLimitsResponse = exports.WithdrawLimitsRequest = exports.PositionsResponse = exports.PositionsRequest = exports.PortfolioResponse = exports.PortfolioRequest = exports.OperationTrade = exports.Operation = exports.OperationsResponse = exports.OperationsRequest = exports.PortfolioRequest_CurrencyRequest = exports.OperationsAccountSubscriptionStatus = exports.PositionsAccountSubscriptionStatus = exports.PortfolioSubscriptionStatus = exports.OperationType = exports.OperationState = exports.protobufPackage = void 0;
|
|
@@ -1536,6 +1536,8 @@ function createBasePortfolioResponse() {
|
|
|
1536
1536
|
dailyYield: undefined,
|
|
1537
1537
|
dailyYieldRelative: undefined,
|
|
1538
1538
|
totalAmountDfa: undefined,
|
|
1539
|
+
totalVarMargin: undefined,
|
|
1540
|
+
totalVarMarginSettled: undefined,
|
|
1539
1541
|
};
|
|
1540
1542
|
}
|
|
1541
1543
|
exports.PortfolioResponse = {
|
|
@@ -1585,6 +1587,12 @@ exports.PortfolioResponse = {
|
|
|
1585
1587
|
if (message.totalAmountDfa !== undefined) {
|
|
1586
1588
|
common_1.MoneyValue.encode(message.totalAmountDfa, writer.uint32(138).fork()).join();
|
|
1587
1589
|
}
|
|
1590
|
+
if (message.totalVarMargin !== undefined) {
|
|
1591
|
+
common_1.MoneyValue.encode(message.totalVarMargin, writer.uint32(146).fork()).join();
|
|
1592
|
+
}
|
|
1593
|
+
if (message.totalVarMarginSettled !== undefined) {
|
|
1594
|
+
common_1.MoneyValue.encode(message.totalVarMarginSettled, writer.uint32(154).fork()).join();
|
|
1595
|
+
}
|
|
1588
1596
|
return writer;
|
|
1589
1597
|
},
|
|
1590
1598
|
decode(input, length) {
|
|
@@ -1705,6 +1713,20 @@ exports.PortfolioResponse = {
|
|
|
1705
1713
|
message.totalAmountDfa = common_1.MoneyValue.decode(reader, reader.uint32());
|
|
1706
1714
|
continue;
|
|
1707
1715
|
}
|
|
1716
|
+
case 18: {
|
|
1717
|
+
if (tag !== 146) {
|
|
1718
|
+
break;
|
|
1719
|
+
}
|
|
1720
|
+
message.totalVarMargin = common_1.MoneyValue.decode(reader, reader.uint32());
|
|
1721
|
+
continue;
|
|
1722
|
+
}
|
|
1723
|
+
case 19: {
|
|
1724
|
+
if (tag !== 154) {
|
|
1725
|
+
break;
|
|
1726
|
+
}
|
|
1727
|
+
message.totalVarMarginSettled = common_1.MoneyValue.decode(reader, reader.uint32());
|
|
1728
|
+
continue;
|
|
1729
|
+
}
|
|
1708
1730
|
}
|
|
1709
1731
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1710
1732
|
break;
|
|
@@ -1792,6 +1814,16 @@ exports.PortfolioResponse = {
|
|
|
1792
1814
|
: isSet(object.total_amount_dfa)
|
|
1793
1815
|
? common_1.MoneyValue.fromJSON(object.total_amount_dfa)
|
|
1794
1816
|
: undefined,
|
|
1817
|
+
totalVarMargin: isSet(object.totalVarMargin)
|
|
1818
|
+
? common_1.MoneyValue.fromJSON(object.totalVarMargin)
|
|
1819
|
+
: isSet(object.total_var_margin)
|
|
1820
|
+
? common_1.MoneyValue.fromJSON(object.total_var_margin)
|
|
1821
|
+
: undefined,
|
|
1822
|
+
totalVarMarginSettled: isSet(object.totalVarMarginSettled)
|
|
1823
|
+
? common_1.MoneyValue.fromJSON(object.totalVarMarginSettled)
|
|
1824
|
+
: isSet(object.total_var_margin_settled)
|
|
1825
|
+
? common_1.MoneyValue.fromJSON(object.total_var_margin_settled)
|
|
1826
|
+
: undefined,
|
|
1795
1827
|
};
|
|
1796
1828
|
},
|
|
1797
1829
|
toJSON(message) {
|
|
@@ -1841,6 +1873,12 @@ exports.PortfolioResponse = {
|
|
|
1841
1873
|
if (message.totalAmountDfa !== undefined) {
|
|
1842
1874
|
obj.totalAmountDfa = common_1.MoneyValue.toJSON(message.totalAmountDfa);
|
|
1843
1875
|
}
|
|
1876
|
+
if (message.totalVarMargin !== undefined) {
|
|
1877
|
+
obj.totalVarMargin = common_1.MoneyValue.toJSON(message.totalVarMargin);
|
|
1878
|
+
}
|
|
1879
|
+
if (message.totalVarMarginSettled !== undefined) {
|
|
1880
|
+
obj.totalVarMarginSettled = common_1.MoneyValue.toJSON(message.totalVarMarginSettled);
|
|
1881
|
+
}
|
|
1844
1882
|
return obj;
|
|
1845
1883
|
},
|
|
1846
1884
|
create(base) {
|
|
@@ -1888,6 +1926,13 @@ exports.PortfolioResponse = {
|
|
|
1888
1926
|
message.totalAmountDfa = (object.totalAmountDfa !== undefined && object.totalAmountDfa !== null)
|
|
1889
1927
|
? common_1.MoneyValue.fromPartial(object.totalAmountDfa)
|
|
1890
1928
|
: undefined;
|
|
1929
|
+
message.totalVarMargin = (object.totalVarMargin !== undefined && object.totalVarMargin !== null)
|
|
1930
|
+
? common_1.MoneyValue.fromPartial(object.totalVarMargin)
|
|
1931
|
+
: undefined;
|
|
1932
|
+
message.totalVarMarginSettled =
|
|
1933
|
+
(object.totalVarMarginSettled !== undefined && object.totalVarMarginSettled !== null)
|
|
1934
|
+
? common_1.MoneyValue.fromPartial(object.totalVarMarginSettled)
|
|
1935
|
+
: undefined;
|
|
1891
1936
|
return message;
|
|
1892
1937
|
},
|
|
1893
1938
|
};
|
package/dist/generated/orders.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.12.
|
|
5
|
-
// protoc v7.36.
|
|
4
|
+
// protoc-gen-ts_proto v2.12.4
|
|
5
|
+
// protoc v7.36.2
|
|
6
6
|
// source: orders.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.OrdersServiceDefinition = exports.OrdersStreamServiceDefinition = exports.OrderStateStreamResponse_StopOrderState = exports.OrderStateStreamResponse_OrderState = exports.OrderStateStreamResponse = exports.SubscriptionResponse = exports.OrderStateStreamRequest = exports.GetOrderPriceResponse_ExtraFuture = exports.GetOrderPriceResponse_ExtraBond = exports.GetOrderPriceResponse = exports.GetOrderPriceRequest = exports.GetMaxLotsResponse_SellLimitsView = exports.GetMaxLotsResponse_BuyLimitsView = exports.GetMaxLotsResponse = exports.GetMaxLotsRequest = exports.ReplaceOrderRequest = exports.OrderStage = exports.OrderState = exports.GetOrdersResponse = exports.GetOrdersRequest_GetOrdersRequestFilters = exports.GetOrdersRequest = exports.GetOrderStateRequest = exports.CancelOrderResponse = exports.CancelOrderRequest = exports.PostOrderAsyncResponse = exports.PostOrderAsyncRequest = exports.PostOrderResponse = exports.PostOrderRequest = exports.OrderTrade = exports.OrderTrades = exports.TradesStreamResponse = exports.TradesStreamRequest = exports.OrderStateStreamResponse_StatusCauseInfo = exports.OrderStateStreamResponse_MarkerType = exports.OrderIdType = exports.TimeInForceType = exports.OrderExecutionReportStatus = exports.OrderType = exports.OrderDirection = exports.protobufPackage = void 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.12.
|
|
5
|
-
// protoc v7.36.
|
|
4
|
+
// protoc-gen-ts_proto v2.12.4
|
|
5
|
+
// protoc v7.36.2
|
|
6
6
|
// source: sandbox.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.SandboxServiceDefinition = exports.SandboxPayInResponse = exports.SandboxPayInRequest = exports.CloseSandboxAccountResponse = exports.CloseSandboxAccountRequest = exports.OpenSandboxAccountResponse = exports.OpenSandboxAccountRequest = exports.protobufPackage = void 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.12.
|
|
5
|
-
// protoc v7.36.
|
|
4
|
+
// protoc-gen-ts_proto v2.12.4
|
|
5
|
+
// protoc v7.36.2
|
|
6
6
|
// source: signals.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.SignalServiceDefinition = exports.Signal = exports.GetSignalsResponse = exports.GetSignalsRequest = exports.Strategy = exports.GetStrategiesResponse = exports.GetStrategiesRequest = exports.SignalState = exports.SignalDirection = exports.StrategyType = exports.protobufPackage = void 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.12.
|
|
5
|
-
// protoc v7.36.
|
|
4
|
+
// protoc-gen-ts_proto v2.12.4
|
|
5
|
+
// protoc v7.36.2
|
|
6
6
|
// source: stoporders.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.StopOrdersServiceDefinition = exports.StopOrder_TrailingData = exports.StopOrder = exports.CancelStopOrderResponse = exports.CancelStopOrderRequest = exports.GetStopOrdersResponse = exports.GetStopOrdersRequest = exports.PostStopOrderResponse = exports.PostStopOrderRequest_TrailingData = exports.PostStopOrderRequest = exports.TrailingStopStatus = exports.TrailingValueType = exports.TakeProfitType = exports.ExchangeOrderType = exports.StopOrderStatusOption = exports.StopOrderType = exports.StopOrderExpirationType = exports.StopOrderDirection = exports.protobufPackage = void 0;
|
|
@@ -20,6 +20,14 @@ export declare enum AccountType {
|
|
|
20
20
|
ACCOUNT_TYPE_SAVING = 6,
|
|
21
21
|
/** ACCOUNT_TYPE_DFA - Смарт-счет. */
|
|
22
22
|
ACCOUNT_TYPE_DFA = 7,
|
|
23
|
+
/** ACCOUNT_TYPE_SHARED_SAVING - Совместный накопительный счет. */
|
|
24
|
+
ACCOUNT_TYPE_SHARED_SAVING = 8,
|
|
25
|
+
/** ACCOUNT_TYPE_DEPOSIT - Вклад. */
|
|
26
|
+
ACCOUNT_TYPE_DEPOSIT = 9,
|
|
27
|
+
/** ACCOUNT_TYPE_OMS - ОМС. */
|
|
28
|
+
ACCOUNT_TYPE_OMS = 10,
|
|
29
|
+
/** ACCOUNT_TYPE_OFP_DEPOSIT - ОФП вклад. */
|
|
30
|
+
ACCOUNT_TYPE_OFP_DEPOSIT = 11,
|
|
23
31
|
UNRECOGNIZED = -1
|
|
24
32
|
}
|
|
25
33
|
export declare function accountTypeFromJSON(object: any): AccountType;
|