Skip to content

Commit

Permalink
Release/1.19 (#5)
Browse files Browse the repository at this point in the history
* Release v1.19
---------

Co-authored-by: s.radyukov <[email protected]>
  • Loading branch information
sradykoff and s.radyukov authored May 3, 2024
1 parent 0a5b61c commit 9b3f209
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 2 deletions.
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.10.0",
"version": "1.19.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 @@ -47,6 +47,7 @@ export interface ProtoGrpcType {
Candle: MessageTypeDefinition
CandleInstrument: MessageTypeDefinition
CandleInterval: EnumTypeDefinition
CandleSource: EnumTypeDefinition
CandleSubscription: MessageTypeDefinition
GetCandlesRequest: MessageTypeDefinition
GetCandlesResponse: MessageTypeDefinition
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Original file: investAPI/src/docs/contracts/marketdata.proto

export enum CandleSource {
CANDLE_SOURCE_UNSPECIFIED = 0,
CANDLE_SOURCE_EXCHANGE = 1,
CANDLE_SOURCE_DEALER_WEEKEND = 2,
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,23 @@
import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../../../../google/protobuf/Timestamp';
import type { CandleInterval as _tinkoff_public_invest_api_contract_v1_CandleInterval } from '../../../../../../tinkoff/public/invest/api/contract/v1/CandleInterval';

// Original file: investAPI/src/docs/contracts/marketdata.proto

export enum _tinkoff_public_invest_api_contract_v1_GetCandlesRequest_CandleSource {
CANDLE_SOURCE_UNSPECIFIED = 0,
CANDLE_SOURCE_EXCHANGE = 1,
}

export interface GetCandlesRequest {
'figi'?: (string);
'from'?: (_google_protobuf_Timestamp | null);
'to'?: (_google_protobuf_Timestamp | null);
'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);
'_figi'?: "figi";
'_instrumentId'?: "instrumentId";
'_candleSourceType'?: "candleSourceType";
}

export interface GetCandlesRequest__Output {
Expand All @@ -19,6 +28,8 @@ export interface GetCandlesRequest__Output {
'to': (_google_protobuf_Timestamp__Output | null);
'interval': (keyof typeof _tinkoff_public_invest_api_contract_v1_CandleInterval);
'instrumentId'?: (string);
'candleSourceType'?: (keyof typeof _tinkoff_public_invest_api_contract_v1_GetCandlesRequest_CandleSource);
'_figi': "figi";
'_instrumentId': "instrumentId";
'_candleSourceType': "candleSourceType";
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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 { CandleSource as _tinkoff_public_invest_api_contract_v1_CandleSource } from '../../../../../../tinkoff/public/invest/api/contract/v1/CandleSource';
import type { Long } from '@grpc/proto-loader';

export interface HistoricCandle {
Expand All @@ -12,6 +13,7 @@ export interface HistoricCandle {
'volume'?: (number | string | Long);
'time'?: (_google_protobuf_Timestamp | null);
'isComplete'?: (boolean);
'candleSource'?: (_tinkoff_public_invest_api_contract_v1_CandleSource | keyof typeof _tinkoff_public_invest_api_contract_v1_CandleSource);
}

export interface HistoricCandle__Output {
Expand All @@ -22,4 +24,5 @@ export interface HistoricCandle__Output {
'volume': (string);
'time': (_google_protobuf_Timestamp__Output | null);
'isComplete': (boolean);
'candleSource': (keyof typeof _tinkoff_public_invest_api_contract_v1_CandleSource);
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@


export interface OpenSandboxAccountRequest {
'name'?: (string);
'_name'?: "name";
}

export interface OpenSandboxAccountRequest__Output {
'name'?: (string);
'_name': "name";
}

0 comments on commit 9b3f209

Please sign in to comment.