Skip to content

Commit

Permalink
Release/1.23 (#22)
Browse files Browse the repository at this point in the history
* 1.23 prepare release
* 1.23 release
* 1.23 tune publish action
  • Loading branch information
sradykoff authored Jul 30, 2024
1 parent bb81a04 commit 6b457e9
Show file tree
Hide file tree
Showing 16 changed files with 57 additions and 28 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm gen
- run: npm build
- run: npm run gen
- run: git add src/generated/ && git commit -m "contracts gen ${{ github.event.inputs.newversion }}" .
- run: npm run build
- name: Version and publish to npm
id: npm-bump
uses: bcomnes/npm-bump@v2
Expand Down
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "investAPI"]
path = investAPI
url = https://github.com/RussianInvestments/investAPI
branch = main
2 changes: 1 addition & 1 deletion investAPI
Submodule investAPI updated 80 files
+6 −7 README.md
+3 −3 src/docs/accredited_investor.md
+3 −3 src/docs/algorithmic_trading.md
+1 −1 src/docs/api_protocols.md
+52 −0 src/docs/async.md
+3 −3 src/docs/cases.md
+30 −29 src/docs/contracts/instruments.proto
+175 −164 src/docs/contracts/marketdata.proto
+121 −117 src/docs/contracts/operations.proto
+32 −11 src/docs/contracts/orders.proto
+1 −1 src/docs/contracts/sandbox.proto
+89 −90 src/docs/contracts/stoporders.proto
+5 −5 src/docs/contracts/users.proto
+3 −3 src/docs/deadlines.md
+2 −2 src/docs/eol_v1.md
+49 −48 src/docs/errors.md
+3 −3 src/docs/errors/api_errors.json
+5 −5 src/docs/example.md
+14 −14 src/docs/faq.md
+1 −1 src/docs/faq_custom_types.md
+19 −32 src/docs/faq_identification.md
+11 −11 src/docs/faq_instruments.md
+93 −117 src/docs/faq_marketdata.md
+2 −2 src/docs/faq_multiaccounts.md
+35 −47 src/docs/faq_operations.md
+56 −80 src/docs/faq_orders.md
+3 −3 src/docs/faq_rules.md
+1 −1 src/docs/faq_sandbox.md
+6 −5 src/docs/faq_stoporders.md
+15 −19 src/docs/faq_trading_status.md
+1 −1 src/docs/faq_users.md
+36 −32 src/docs/get_history.md
+53 −64 src/docs/get_tech_indicators.md
+22 −22 src/docs/glossary.md
+11 −11 src/docs/grpc.md
+13 −13 src/docs/head-instruments.md
+109 −117 src/docs/head-marketdata.md
+79 −77 src/docs/head-operations.md
+84 −76 src/docs/head-orders.md
+2 −2 src/docs/head-sandbox.md
+14 −13 src/docs/head-stoporders.md
+7 −7 src/docs/head-users.md
+3 −3 src/docs/held_instruments.md
+2 −2 src/docs/http_errors.md
+14 −14 src/docs/index.md
+31 −29 src/docs/instruments.md
+16 −36 src/docs/limits.md
+7 −8 src/docs/load_history.md
+180 −164 src/docs/marketdata.md
+2 −2 src/docs/markets.md
+3 −3 src/docs/more-instrument.md
+120 −115 src/docs/operations.md
+20 −13 src/docs/operations_problems.md
+67 −34 src/docs/orders.md
+17 −17 src/docs/orders_details.md
+35 −39 src/docs/orders_state_stream.md
+3 −3 src/docs/points.md
+2 −2 src/docs/robot_contest.md
+1 −1 src/docs/sandbox.md
+6 −7 src/docs/sla.md
+8 −2 src/docs/speedup.md
+88 −89 src/docs/stoporders.md
+2 −2 src/docs/stream.md
+1 −1 src/docs/swagger-ui/index.html
+7,441 −880 src/docs/swagger-ui/openapi.yaml
+2 −2 src/docs/swagger.md
+24 −24 src/docs/table_order_currency.md
+59 −0 src/docs/tbank_fund.md
+4 −4 src/docs/tech_indicators.md
+21 −31 src/docs/token.md
+5 −4 src/docs/users.md
+2 −2 src/docs/weekend.md
+3 −3 src/docs/weekend_trading.md
+2 −2 src/docs/ws/README.md
+226 −172 src/docs/ws/asyncapi.yaml
+2 −2 src/docs/ws/errors.md
+2 −2 src/docs/ws/index.html
+3 −3 src/docs/ws/websock-docs/output/index.html
+226 −172 src/docs/ws/websock/draft-asyncapi.yaml
+17 −16 src/mkdocs.yml
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tinkoff/invest-js",
"version": "1.22.1",
"version": "1.23.0",
"description": "Tinkoff Invest OpenAPI Client",
"types": "./build/index.d.ts",
"engines": {
Expand Down
1 change: 1 addition & 0 deletions src/generated/marketdata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export interface ProtoGrpcType {
LastPrice: MessageTypeDefinition
LastPriceInstrument: MessageTypeDefinition
LastPriceSubscription: MessageTypeDefinition
LastPriceType: EnumTypeDefinition
MarketDataRequest: MessageTypeDefinition
MarketDataResponse: MessageTypeDefinition
MarketDataServerSideStreamRequest: MessageTypeDefinition
Expand Down
3 changes: 3 additions & 0 deletions src/generated/orders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ export interface ProtoGrpcType {
Page: MessageTypeDefinition
PageResponse: MessageTypeDefinition
Ping: MessageTypeDefinition
PostOrderAsyncRequest: MessageTypeDefinition
PostOrderAsyncResponse: MessageTypeDefinition
PostOrderRequest: MessageTypeDefinition
PostOrderResponse: MessageTypeDefinition
PriceType: EnumTypeDefinition
Expand All @@ -78,6 +80,7 @@ export interface ProtoGrpcType {
ResponseMetadata: MessageTypeDefinition
ResultSubscriptionStatus: EnumTypeDefinition
SecurityTradingStatus: EnumTypeDefinition
SubscriptionResponse: MessageTypeDefinition
TimeInForceType: EnumTypeDefinition
TradesStreamRequest: MessageTypeDefinition
TradesStreamResponse: MessageTypeDefinition
Expand Down
3 changes: 3 additions & 0 deletions src/generated/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ export interface ProtoGrpcType {
PositionsStreamResponse: MessageTypeDefinition
PositionsSubscriptionResult: MessageTypeDefinition
PositionsSubscriptionStatus: MessageTypeDefinition
PostOrderAsyncRequest: MessageTypeDefinition
PostOrderAsyncResponse: MessageTypeDefinition
PostOrderRequest: MessageTypeDefinition
PostOrderResponse: MessageTypeDefinition
PriceType: EnumTypeDefinition
Expand All @@ -149,6 +151,7 @@ export interface ProtoGrpcType {
SandboxService: SubtypeConstructor<typeof grpc.Client, _tinkoff_public_invest_api_contract_v1_SandboxServiceClient> & { service: _tinkoff_public_invest_api_contract_v1_SandboxServiceDefinition }
SecurityTradingStatus: EnumTypeDefinition
StreamLimit: MessageTypeDefinition
SubscriptionResponse: MessageTypeDefinition
TimeInForceType: EnumTypeDefinition
TradesStreamRequest: MessageTypeDefinition
TradesStreamResponse: MessageTypeDefinition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import type { CandleInterval as _tinkoff_public_invest_api_contract_v1_CandleInt
export enum _tinkoff_public_invest_api_contract_v1_GetCandlesRequest_CandleSource {
CANDLE_SOURCE_UNSPECIFIED = 0,
CANDLE_SOURCE_EXCHANGE = 1,
CANDLE_SOURCE_INCLUDE_WEEKEND = 3,
}

export interface GetCandlesRequest {
Expand All @@ -17,9 +18,11 @@ export interface GetCandlesRequest {
'interval'?: (_tinkoff_public_invest_api_contract_v1_CandleInterval | keyof typeof _tinkoff_public_invest_api_contract_v1_CandleInterval);
'instrumentId'?: (string);
'candleSourceType'?: (_tinkoff_public_invest_api_contract_v1_GetCandlesRequest_CandleSource | keyof typeof _tinkoff_public_invest_api_contract_v1_GetCandlesRequest_CandleSource);
'limit'?: (number);
'_figi'?: "figi";
'_instrumentId'?: "instrumentId";
'_candleSourceType'?: "candleSourceType";
'_limit'?: "limit";
}

export interface GetCandlesRequest__Output {
Expand All @@ -29,7 +32,9 @@ export interface GetCandlesRequest__Output {
'interval': (keyof typeof _tinkoff_public_invest_api_contract_v1_CandleInterval);
'instrumentId'?: (string);
'candleSourceType'?: (keyof typeof _tinkoff_public_invest_api_contract_v1_GetCandlesRequest_CandleSource);
'limit'?: (number);
'_figi': "figi";
'_instrumentId': "instrumentId";
'_candleSourceType': "candleSourceType";
'_limit': "limit";
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
// Original file: investAPI/src/docs/contracts/marketdata.proto

import type { LastPriceType as _tinkoff_public_invest_api_contract_v1_LastPriceType } from '../../../../../../tinkoff/public/invest/api/contract/v1/LastPriceType';

Check failure on line 3 in src/generated/tinkoff/public/invest/api/contract/v1/GetLastPricesRequest.ts

View workflow job for this annotation

GitHub Actions / build

Cannot find module '../../../../../../tinkoff/public/invest/api/contract/v1/LastPriceType' or its corresponding type declarations.

export interface GetLastPricesRequest {
'figi'?: (string)[];
'instrumentId'?: (string)[];
'lastPriceType'?: (_tinkoff_public_invest_api_contract_v1_LastPriceType | keyof typeof _tinkoff_public_invest_api_contract_v1_LastPriceType);
}

export interface GetLastPricesRequest__Output {
'figi': (string)[];
'instrumentId': (string)[];
'lastPriceType': (keyof typeof _tinkoff_public_invest_api_contract_v1_LastPriceType);
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@

import type { Quotation as _tinkoff_public_invest_api_contract_v1_Quotation, Quotation__Output as _tinkoff_public_invest_api_contract_v1_Quotation__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/Quotation';
import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../../../../google/protobuf/Timestamp';
import type { LastPriceType as _tinkoff_public_invest_api_contract_v1_LastPriceType } from '../../../../../../tinkoff/public/invest/api/contract/v1/LastPriceType';

Check failure on line 5 in src/generated/tinkoff/public/invest/api/contract/v1/LastPrice.ts

View workflow job for this annotation

GitHub Actions / build

Cannot find module '../../../../../../tinkoff/public/invest/api/contract/v1/LastPriceType' or its corresponding type declarations.

export interface LastPrice {
'figi'?: (string);
'price'?: (_tinkoff_public_invest_api_contract_v1_Quotation | null);
'time'?: (_google_protobuf_Timestamp | null);
'instrumentUid'?: (string);
'lastPriceType'?: (_tinkoff_public_invest_api_contract_v1_LastPriceType | keyof typeof _tinkoff_public_invest_api_contract_v1_LastPriceType);
}

export interface LastPrice__Output {
'figi': (string);
'price': (_tinkoff_public_invest_api_contract_v1_Quotation__Output | null);
'time': (_google_protobuf_Timestamp__Output | null);
'instrumentUid': (string);
'lastPriceType': (keyof typeof _tinkoff_public_invest_api_contract_v1_LastPriceType);
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Original file: investAPI/src/docs/contracts/orders.proto

import type { Ping as _tinkoff_public_invest_api_contract_v1_Ping, Ping__Output as _tinkoff_public_invest_api_contract_v1_Ping__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/Ping';
import type { ResultSubscriptionStatus as _tinkoff_public_invest_api_contract_v1_ResultSubscriptionStatus } from '../../../../../../tinkoff/public/invest/api/contract/v1/ResultSubscriptionStatus';
import type { ErrorDetail as _tinkoff_public_invest_api_contract_v1_ErrorDetail, ErrorDetail__Output as _tinkoff_public_invest_api_contract_v1_ErrorDetail__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/ErrorDetail';
import type { SubscriptionResponse as _tinkoff_public_invest_api_contract_v1_SubscriptionResponse, SubscriptionResponse__Output as _tinkoff_public_invest_api_contract_v1_SubscriptionResponse__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/SubscriptionResponse';

Check failure on line 4 in src/generated/tinkoff/public/invest/api/contract/v1/OrderStateStreamResponse.ts

View workflow job for this annotation

GitHub Actions / build

Cannot find module '../../../../../../tinkoff/public/invest/api/contract/v1/SubscriptionResponse' or its corresponding type declarations.
import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../../../../google/protobuf/Timestamp';
import type { OrderExecutionReportStatus as _tinkoff_public_invest_api_contract_v1_OrderExecutionReportStatus } from '../../../../../../tinkoff/public/invest/api/contract/v1/OrderExecutionReportStatus';
import type { OrderDirection as _tinkoff_public_invest_api_contract_v1_OrderDirection } from '../../../../../../tinkoff/public/invest/api/contract/v1/OrderDirection';
Expand Down Expand Up @@ -107,34 +106,16 @@ export enum _tinkoff_public_invest_api_contract_v1_OrderStateStreamResponse_Stat
CAUSE_CANCELLED_BY_BROKER = 6,
}

export interface _tinkoff_public_invest_api_contract_v1_OrderStateStreamResponse_SubscriptionResponse {
'trackingId'?: (string);
'status'?: (_tinkoff_public_invest_api_contract_v1_ResultSubscriptionStatus | keyof typeof _tinkoff_public_invest_api_contract_v1_ResultSubscriptionStatus);
'streamId'?: (string);
'accounts'?: (string)[];
'error'?: (_tinkoff_public_invest_api_contract_v1_ErrorDetail | null);
'_error'?: "error";
}

export interface _tinkoff_public_invest_api_contract_v1_OrderStateStreamResponse_SubscriptionResponse__Output {
'trackingId': (string);
'status': (keyof typeof _tinkoff_public_invest_api_contract_v1_ResultSubscriptionStatus);
'streamId': (string);
'accounts': (string)[];
'error'?: (_tinkoff_public_invest_api_contract_v1_ErrorDetail__Output | null);
'_error': "error";
}

export interface OrderStateStreamResponse {
'orderState'?: (_tinkoff_public_invest_api_contract_v1_OrderStateStreamResponse_OrderState | null);
'ping'?: (_tinkoff_public_invest_api_contract_v1_Ping | null);
'subscription'?: (_tinkoff_public_invest_api_contract_v1_OrderStateStreamResponse_SubscriptionResponse | null);
'subscription'?: (_tinkoff_public_invest_api_contract_v1_SubscriptionResponse | null);
'payload'?: "orderState"|"ping"|"subscription";
}

export interface OrderStateStreamResponse__Output {
'orderState'?: (_tinkoff_public_invest_api_contract_v1_OrderStateStreamResponse_OrderState__Output | null);
'ping'?: (_tinkoff_public_invest_api_contract_v1_Ping__Output | null);
'subscription'?: (_tinkoff_public_invest_api_contract_v1_OrderStateStreamResponse_SubscriptionResponse__Output | null);
'subscription'?: (_tinkoff_public_invest_api_contract_v1_SubscriptionResponse__Output | null);
'payload': "orderState"|"ping"|"subscription";
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import type { GetOrderStateRequest as _tinkoff_public_invest_api_contract_v1_Get
import type { GetOrdersRequest as _tinkoff_public_invest_api_contract_v1_GetOrdersRequest, GetOrdersRequest__Output as _tinkoff_public_invest_api_contract_v1_GetOrdersRequest__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/GetOrdersRequest';
import type { GetOrdersResponse as _tinkoff_public_invest_api_contract_v1_GetOrdersResponse, GetOrdersResponse__Output as _tinkoff_public_invest_api_contract_v1_GetOrdersResponse__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/GetOrdersResponse';
import type { OrderState as _tinkoff_public_invest_api_contract_v1_OrderState, OrderState__Output as _tinkoff_public_invest_api_contract_v1_OrderState__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/OrderState';
import type { PostOrderAsyncRequest as _tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest, PostOrderAsyncRequest__Output as _tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/PostOrderAsyncRequest';

Check failure on line 15 in src/generated/tinkoff/public/invest/api/contract/v1/OrdersService.ts

View workflow job for this annotation

GitHub Actions / build

Cannot find module '../../../../../../tinkoff/public/invest/api/contract/v1/PostOrderAsyncRequest' or its corresponding type declarations.
import type { PostOrderAsyncResponse as _tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse, PostOrderAsyncResponse__Output as _tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/PostOrderAsyncResponse';

Check failure on line 16 in src/generated/tinkoff/public/invest/api/contract/v1/OrdersService.ts

View workflow job for this annotation

GitHub Actions / build

Cannot find module '../../../../../../tinkoff/public/invest/api/contract/v1/PostOrderAsyncResponse' or its corresponding type declarations.
import type { PostOrderRequest as _tinkoff_public_invest_api_contract_v1_PostOrderRequest, PostOrderRequest__Output as _tinkoff_public_invest_api_contract_v1_PostOrderRequest__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/PostOrderRequest';
import type { PostOrderResponse as _tinkoff_public_invest_api_contract_v1_PostOrderResponse, PostOrderResponse__Output as _tinkoff_public_invest_api_contract_v1_PostOrderResponse__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/PostOrderResponse';
import type { ReplaceOrderRequest as _tinkoff_public_invest_api_contract_v1_ReplaceOrderRequest, ReplaceOrderRequest__Output as _tinkoff_public_invest_api_contract_v1_ReplaceOrderRequest__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/ReplaceOrderRequest';
Expand Down Expand Up @@ -71,6 +73,15 @@ export interface OrdersServiceClient extends grpc.Client {
postOrder(argument: _tinkoff_public_invest_api_contract_v1_PostOrderRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderResponse__Output>): grpc.ClientUnaryCall;
postOrder(argument: _tinkoff_public_invest_api_contract_v1_PostOrderRequest, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderResponse__Output>): grpc.ClientUnaryCall;

PostOrderAsync(argument: _tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse__Output>): grpc.ClientUnaryCall;
PostOrderAsync(argument: _tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse__Output>): grpc.ClientUnaryCall;
PostOrderAsync(argument: _tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse__Output>): grpc.ClientUnaryCall;
PostOrderAsync(argument: _tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse__Output>): grpc.ClientUnaryCall;
postOrderAsync(argument: _tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse__Output>): grpc.ClientUnaryCall;
postOrderAsync(argument: _tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse__Output>): grpc.ClientUnaryCall;
postOrderAsync(argument: _tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse__Output>): grpc.ClientUnaryCall;
postOrderAsync(argument: _tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse__Output>): grpc.ClientUnaryCall;

ReplaceOrder(argument: _tinkoff_public_invest_api_contract_v1_ReplaceOrderRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderResponse__Output>): grpc.ClientUnaryCall;
ReplaceOrder(argument: _tinkoff_public_invest_api_contract_v1_ReplaceOrderRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderResponse__Output>): grpc.ClientUnaryCall;
ReplaceOrder(argument: _tinkoff_public_invest_api_contract_v1_ReplaceOrderRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_tinkoff_public_invest_api_contract_v1_PostOrderResponse__Output>): grpc.ClientUnaryCall;
Expand All @@ -95,6 +106,8 @@ export interface OrdersServiceHandlers extends grpc.UntypedServiceImplementation

PostOrder: grpc.handleUnaryCall<_tinkoff_public_invest_api_contract_v1_PostOrderRequest__Output, _tinkoff_public_invest_api_contract_v1_PostOrderResponse>;

PostOrderAsync: grpc.handleUnaryCall<_tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest__Output, _tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse>;

ReplaceOrder: grpc.handleUnaryCall<_tinkoff_public_invest_api_contract_v1_ReplaceOrderRequest__Output, _tinkoff_public_invest_api_contract_v1_PostOrderResponse>;

}
Expand All @@ -106,5 +119,6 @@ export interface OrdersServiceDefinition extends grpc.ServiceDefinition {
GetOrderState: MethodDefinition<_tinkoff_public_invest_api_contract_v1_GetOrderStateRequest, _tinkoff_public_invest_api_contract_v1_OrderState, _tinkoff_public_invest_api_contract_v1_GetOrderStateRequest__Output, _tinkoff_public_invest_api_contract_v1_OrderState__Output>
GetOrders: MethodDefinition<_tinkoff_public_invest_api_contract_v1_GetOrdersRequest, _tinkoff_public_invest_api_contract_v1_GetOrdersResponse, _tinkoff_public_invest_api_contract_v1_GetOrdersRequest__Output, _tinkoff_public_invest_api_contract_v1_GetOrdersResponse__Output>
PostOrder: MethodDefinition<_tinkoff_public_invest_api_contract_v1_PostOrderRequest, _tinkoff_public_invest_api_contract_v1_PostOrderResponse, _tinkoff_public_invest_api_contract_v1_PostOrderRequest__Output, _tinkoff_public_invest_api_contract_v1_PostOrderResponse__Output>
PostOrderAsync: MethodDefinition<_tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest, _tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse, _tinkoff_public_invest_api_contract_v1_PostOrderAsyncRequest__Output, _tinkoff_public_invest_api_contract_v1_PostOrderAsyncResponse__Output>
ReplaceOrder: MethodDefinition<_tinkoff_public_invest_api_contract_v1_ReplaceOrderRequest, _tinkoff_public_invest_api_contract_v1_PostOrderResponse, _tinkoff_public_invest_api_contract_v1_ReplaceOrderRequest__Output, _tinkoff_public_invest_api_contract_v1_PostOrderResponse__Output>
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ import type { AccountSubscriptionStatus as _tinkoff_public_invest_api_contract_v

export interface PortfolioSubscriptionResult {
'accounts'?: (_tinkoff_public_invest_api_contract_v1_AccountSubscriptionStatus)[];
'trackingId'?: (string);
'streamId'?: (string);
}

export interface PortfolioSubscriptionResult__Output {
'accounts': (_tinkoff_public_invest_api_contract_v1_AccountSubscriptionStatus__Output)[];
'trackingId': (string);
'streamId': (string);
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ import type { PositionsSubscriptionStatus as _tinkoff_public_invest_api_contract

export interface PositionsSubscriptionResult {
'accounts'?: (_tinkoff_public_invest_api_contract_v1_PositionsSubscriptionStatus)[];
'trackingId'?: (string);
'streamId'?: (string);
}

export interface PositionsSubscriptionResult__Output {
'accounts': (_tinkoff_public_invest_api_contract_v1_PositionsSubscriptionStatus__Output)[];
'trackingId': (string);
'streamId': (string);
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export enum RealExchange {
REAL_EXCHANGE_MOEX = 1,
REAL_EXCHANGE_RTS = 2,
REAL_EXCHANGE_OTC = 3,
REAL_EXCHANGE_DEALER = 4,
}
Loading

0 comments on commit 6b457e9

Please sign in to comment.