@marleena/trb-proto 0.1.0 → 0.1.2
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 +28 -23
- package/gen/js-ts/clickhouse/Clickhouse_grpcServiceClientPb.ts +108 -0
- package/gen/js-ts/clickhouse/clickhouse_grpc_pb.d.ts +464 -0
- package/gen/js-ts/db_api/Db_apiServiceClientPb.ts +215 -0
- package/gen/js-ts/db_api/db_api_pb.d.ts +406 -0
- package/gen/js-ts/db_api/db_api_pb.js +3371 -0
- package/gen/js-ts/example/ExampleServiceClientPb.ts +108 -0
- package/gen/js-ts/example/Example_pb.d.ts +77 -0
- package/gen/js-ts/manager_indicators/Manager_indicatorsServiceClientPb.ts +86 -0
- package/gen/js-ts/manager_indicators/manager_indicators_pb.d.ts +190 -0
- package/gen/js-ts/moex/MoexServiceClientPb.ts +86 -0
- package/gen/js-ts/moex/moex_pb.d.ts +53 -0
- package/gen/js-ts/nats/ManagerServiceClientPb.ts +1032 -0
- package/gen/js-ts/nats/manager_pb.d.ts +1416 -0
- package/gen/js-ts/nats/manager_pb.js +394 -0
- package/gen/js-ts/tinvest/InstrumentsServiceClientPb.ts +1892 -0
- package/gen/js-ts/tinvest/MarketdataServiceClientPb.ts +473 -0
- package/gen/js-ts/tinvest/OperationsServiceClientPb.ts +431 -0
- package/gen/js-ts/tinvest/OrdersServiceClientPb.ts +452 -0
- package/gen/js-ts/tinvest/SandboxServiceClientPb.ts +907 -0
- package/gen/js-ts/tinvest/SignalsServiceClientPb.ts +129 -0
- package/gen/js-ts/tinvest/StopordersServiceClientPb.ts +172 -0
- package/gen/js-ts/tinvest/UsersServiceClientPb.ts +387 -0
- package/gen/js-ts/tinvest/common_pb.d.ts +314 -0
- package/gen/js-ts/tinvest/instruments_pb.d.ts +6373 -0
- package/gen/js-ts/tinvest/marketdata_pb.d.ts +2397 -0
- package/gen/js-ts/tinvest/operations_pb.d.ts +2380 -0
- package/gen/js-ts/tinvest/orders_pb.d.ts +1555 -0
- package/gen/js-ts/tinvest/sandbox_pb.d.ts +129 -0
- package/gen/js-ts/tinvest/signals_pb.d.ts +408 -0
- package/gen/js-ts/tinvest/stoporders_pb.d.ts +493 -0
- package/gen/js-ts/tinvest/users_pb.d.ts +611 -0
- package/package.json +1 -1
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for trb.db.api.public.contract.v1
|
|
3
|
+
* @enhanceable
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v7.34.1
|
|
11
|
+
// source: db_api/db_api.proto
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* eslint-disable */
|
|
15
|
+
// @ts-nocheck
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
import * as grpcWeb from 'grpc-web';
|
|
19
|
+
|
|
20
|
+
import * as db_api_db_api_pb from '../db_api/db_api_pb'; // proto import: "db_api/db_api.proto"
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
export class DbApiClient {
|
|
24
|
+
client_: grpcWeb.AbstractClientBase;
|
|
25
|
+
hostname_: string;
|
|
26
|
+
credentials_: null | { [index: string]: string; };
|
|
27
|
+
options_: null | { [index: string]: any; };
|
|
28
|
+
|
|
29
|
+
constructor (hostname: string,
|
|
30
|
+
credentials?: null | { [index: string]: string; },
|
|
31
|
+
options?: null | { [index: string]: any; }) {
|
|
32
|
+
if (!options) options = {};
|
|
33
|
+
if (!credentials) credentials = {};
|
|
34
|
+
options['format'] = 'binary';
|
|
35
|
+
|
|
36
|
+
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
38
|
+
this.credentials_ = credentials;
|
|
39
|
+
this.options_ = options;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
methodDescriptorListInstruments = new grpcWeb.MethodDescriptor(
|
|
43
|
+
'/trb.db.api.public.contract.v1.DbApi/ListInstruments',
|
|
44
|
+
grpcWeb.MethodType.UNARY,
|
|
45
|
+
db_api_db_api_pb.ListInstrumentsRequest,
|
|
46
|
+
db_api_db_api_pb.ListInstrumentsResponse,
|
|
47
|
+
(request: db_api_db_api_pb.ListInstrumentsRequest) => {
|
|
48
|
+
return request.serializeBinary();
|
|
49
|
+
},
|
|
50
|
+
db_api_db_api_pb.ListInstrumentsResponse.deserializeBinary
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
listInstruments(
|
|
54
|
+
request: db_api_db_api_pb.ListInstrumentsRequest,
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<db_api_db_api_pb.ListInstrumentsResponse>;
|
|
56
|
+
|
|
57
|
+
listInstruments(
|
|
58
|
+
request: db_api_db_api_pb.ListInstrumentsRequest,
|
|
59
|
+
metadata: grpcWeb.Metadata | null,
|
|
60
|
+
callback: (err: grpcWeb.RpcError,
|
|
61
|
+
response: db_api_db_api_pb.ListInstrumentsResponse) => void): grpcWeb.ClientReadableStream<db_api_db_api_pb.ListInstrumentsResponse>;
|
|
62
|
+
|
|
63
|
+
listInstruments(
|
|
64
|
+
request: db_api_db_api_pb.ListInstrumentsRequest,
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
66
|
+
callback?: (err: grpcWeb.RpcError,
|
|
67
|
+
response: db_api_db_api_pb.ListInstrumentsResponse) => void) {
|
|
68
|
+
if (callback !== undefined) {
|
|
69
|
+
return this.client_.rpcCall(
|
|
70
|
+
this.hostname_ +
|
|
71
|
+
'/trb.db.api.public.contract.v1.DbApi/ListInstruments',
|
|
72
|
+
request,
|
|
73
|
+
metadata || {},
|
|
74
|
+
this.methodDescriptorListInstruments,
|
|
75
|
+
callback);
|
|
76
|
+
}
|
|
77
|
+
return this.client_.unaryCall(
|
|
78
|
+
this.hostname_ +
|
|
79
|
+
'/trb.db.api.public.contract.v1.DbApi/ListInstruments',
|
|
80
|
+
request,
|
|
81
|
+
metadata || {},
|
|
82
|
+
this.methodDescriptorListInstruments);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
methodDescriptorListSchedulerTargets = new grpcWeb.MethodDescriptor(
|
|
86
|
+
'/trb.db.api.public.contract.v1.DbApi/ListSchedulerTargets',
|
|
87
|
+
grpcWeb.MethodType.UNARY,
|
|
88
|
+
db_api_db_api_pb.ListSchedulerTargetsRequest,
|
|
89
|
+
db_api_db_api_pb.ListSchedulerTargetsResponse,
|
|
90
|
+
(request: db_api_db_api_pb.ListSchedulerTargetsRequest) => {
|
|
91
|
+
return request.serializeBinary();
|
|
92
|
+
},
|
|
93
|
+
db_api_db_api_pb.ListSchedulerTargetsResponse.deserializeBinary
|
|
94
|
+
);
|
|
95
|
+
|
|
96
|
+
listSchedulerTargets(
|
|
97
|
+
request: db_api_db_api_pb.ListSchedulerTargetsRequest,
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<db_api_db_api_pb.ListSchedulerTargetsResponse>;
|
|
99
|
+
|
|
100
|
+
listSchedulerTargets(
|
|
101
|
+
request: db_api_db_api_pb.ListSchedulerTargetsRequest,
|
|
102
|
+
metadata: grpcWeb.Metadata | null,
|
|
103
|
+
callback: (err: grpcWeb.RpcError,
|
|
104
|
+
response: db_api_db_api_pb.ListSchedulerTargetsResponse) => void): grpcWeb.ClientReadableStream<db_api_db_api_pb.ListSchedulerTargetsResponse>;
|
|
105
|
+
|
|
106
|
+
listSchedulerTargets(
|
|
107
|
+
request: db_api_db_api_pb.ListSchedulerTargetsRequest,
|
|
108
|
+
metadata?: grpcWeb.Metadata | null,
|
|
109
|
+
callback?: (err: grpcWeb.RpcError,
|
|
110
|
+
response: db_api_db_api_pb.ListSchedulerTargetsResponse) => void) {
|
|
111
|
+
if (callback !== undefined) {
|
|
112
|
+
return this.client_.rpcCall(
|
|
113
|
+
this.hostname_ +
|
|
114
|
+
'/trb.db.api.public.contract.v1.DbApi/ListSchedulerTargets',
|
|
115
|
+
request,
|
|
116
|
+
metadata || {},
|
|
117
|
+
this.methodDescriptorListSchedulerTargets,
|
|
118
|
+
callback);
|
|
119
|
+
}
|
|
120
|
+
return this.client_.unaryCall(
|
|
121
|
+
this.hostname_ +
|
|
122
|
+
'/trb.db.api.public.contract.v1.DbApi/ListSchedulerTargets',
|
|
123
|
+
request,
|
|
124
|
+
metadata || {},
|
|
125
|
+
this.methodDescriptorListSchedulerTargets);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
methodDescriptorSyncSchedulerTargets = new grpcWeb.MethodDescriptor(
|
|
129
|
+
'/trb.db.api.public.contract.v1.DbApi/SyncSchedulerTargets',
|
|
130
|
+
grpcWeb.MethodType.UNARY,
|
|
131
|
+
db_api_db_api_pb.SyncSchedulerTargetsRequest,
|
|
132
|
+
db_api_db_api_pb.SyncSchedulerTargetsResponse,
|
|
133
|
+
(request: db_api_db_api_pb.SyncSchedulerTargetsRequest) => {
|
|
134
|
+
return request.serializeBinary();
|
|
135
|
+
},
|
|
136
|
+
db_api_db_api_pb.SyncSchedulerTargetsResponse.deserializeBinary
|
|
137
|
+
);
|
|
138
|
+
|
|
139
|
+
syncSchedulerTargets(
|
|
140
|
+
request: db_api_db_api_pb.SyncSchedulerTargetsRequest,
|
|
141
|
+
metadata?: grpcWeb.Metadata | null): Promise<db_api_db_api_pb.SyncSchedulerTargetsResponse>;
|
|
142
|
+
|
|
143
|
+
syncSchedulerTargets(
|
|
144
|
+
request: db_api_db_api_pb.SyncSchedulerTargetsRequest,
|
|
145
|
+
metadata: grpcWeb.Metadata | null,
|
|
146
|
+
callback: (err: grpcWeb.RpcError,
|
|
147
|
+
response: db_api_db_api_pb.SyncSchedulerTargetsResponse) => void): grpcWeb.ClientReadableStream<db_api_db_api_pb.SyncSchedulerTargetsResponse>;
|
|
148
|
+
|
|
149
|
+
syncSchedulerTargets(
|
|
150
|
+
request: db_api_db_api_pb.SyncSchedulerTargetsRequest,
|
|
151
|
+
metadata?: grpcWeb.Metadata | null,
|
|
152
|
+
callback?: (err: grpcWeb.RpcError,
|
|
153
|
+
response: db_api_db_api_pb.SyncSchedulerTargetsResponse) => void) {
|
|
154
|
+
if (callback !== undefined) {
|
|
155
|
+
return this.client_.rpcCall(
|
|
156
|
+
this.hostname_ +
|
|
157
|
+
'/trb.db.api.public.contract.v1.DbApi/SyncSchedulerTargets',
|
|
158
|
+
request,
|
|
159
|
+
metadata || {},
|
|
160
|
+
this.methodDescriptorSyncSchedulerTargets,
|
|
161
|
+
callback);
|
|
162
|
+
}
|
|
163
|
+
return this.client_.unaryCall(
|
|
164
|
+
this.hostname_ +
|
|
165
|
+
'/trb.db.api.public.contract.v1.DbApi/SyncSchedulerTargets',
|
|
166
|
+
request,
|
|
167
|
+
metadata || {},
|
|
168
|
+
this.methodDescriptorSyncSchedulerTargets);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
methodDescriptorListLastDownloads = new grpcWeb.MethodDescriptor(
|
|
172
|
+
'/trb.db.api.public.contract.v1.DbApi/ListLastDownloads',
|
|
173
|
+
grpcWeb.MethodType.UNARY,
|
|
174
|
+
db_api_db_api_pb.ListLastDownloadsRequest,
|
|
175
|
+
db_api_db_api_pb.ListLastDownloadsResponse,
|
|
176
|
+
(request: db_api_db_api_pb.ListLastDownloadsRequest) => {
|
|
177
|
+
return request.serializeBinary();
|
|
178
|
+
},
|
|
179
|
+
db_api_db_api_pb.ListLastDownloadsResponse.deserializeBinary
|
|
180
|
+
);
|
|
181
|
+
|
|
182
|
+
listLastDownloads(
|
|
183
|
+
request: db_api_db_api_pb.ListLastDownloadsRequest,
|
|
184
|
+
metadata?: grpcWeb.Metadata | null): Promise<db_api_db_api_pb.ListLastDownloadsResponse>;
|
|
185
|
+
|
|
186
|
+
listLastDownloads(
|
|
187
|
+
request: db_api_db_api_pb.ListLastDownloadsRequest,
|
|
188
|
+
metadata: grpcWeb.Metadata | null,
|
|
189
|
+
callback: (err: grpcWeb.RpcError,
|
|
190
|
+
response: db_api_db_api_pb.ListLastDownloadsResponse) => void): grpcWeb.ClientReadableStream<db_api_db_api_pb.ListLastDownloadsResponse>;
|
|
191
|
+
|
|
192
|
+
listLastDownloads(
|
|
193
|
+
request: db_api_db_api_pb.ListLastDownloadsRequest,
|
|
194
|
+
metadata?: grpcWeb.Metadata | null,
|
|
195
|
+
callback?: (err: grpcWeb.RpcError,
|
|
196
|
+
response: db_api_db_api_pb.ListLastDownloadsResponse) => void) {
|
|
197
|
+
if (callback !== undefined) {
|
|
198
|
+
return this.client_.rpcCall(
|
|
199
|
+
this.hostname_ +
|
|
200
|
+
'/trb.db.api.public.contract.v1.DbApi/ListLastDownloads',
|
|
201
|
+
request,
|
|
202
|
+
metadata || {},
|
|
203
|
+
this.methodDescriptorListLastDownloads,
|
|
204
|
+
callback);
|
|
205
|
+
}
|
|
206
|
+
return this.client_.unaryCall(
|
|
207
|
+
this.hostname_ +
|
|
208
|
+
'/trb.db.api.public.contract.v1.DbApi/ListLastDownloads',
|
|
209
|
+
request,
|
|
210
|
+
metadata || {},
|
|
211
|
+
this.methodDescriptorListLastDownloads);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
}
|
|
215
|
+
|
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as google_api_annotations_pb from '../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
|
|
4
|
+
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export class ListFilter extends jspb.Message {
|
|
8
|
+
getQ(): string;
|
|
9
|
+
setQ(value: string): ListFilter;
|
|
10
|
+
|
|
11
|
+
getLimit(): number;
|
|
12
|
+
setLimit(value: number): ListFilter;
|
|
13
|
+
|
|
14
|
+
getOffset(): number;
|
|
15
|
+
setOffset(value: number): ListFilter;
|
|
16
|
+
|
|
17
|
+
serializeBinary(): Uint8Array;
|
|
18
|
+
toObject(includeInstance?: boolean): ListFilter.AsObject;
|
|
19
|
+
static toObject(includeInstance: boolean, msg: ListFilter): ListFilter.AsObject;
|
|
20
|
+
static serializeBinaryToWriter(message: ListFilter, writer: jspb.BinaryWriter): void;
|
|
21
|
+
static deserializeBinary(bytes: Uint8Array): ListFilter;
|
|
22
|
+
static deserializeBinaryFromReader(message: ListFilter, reader: jspb.BinaryReader): ListFilter;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export namespace ListFilter {
|
|
26
|
+
export type AsObject = {
|
|
27
|
+
q: string,
|
|
28
|
+
limit: number,
|
|
29
|
+
offset: number,
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export class ListInstrumentsRequest extends jspb.Message {
|
|
34
|
+
getFilter(): ListFilter | undefined;
|
|
35
|
+
setFilter(value?: ListFilter): ListInstrumentsRequest;
|
|
36
|
+
hasFilter(): boolean;
|
|
37
|
+
clearFilter(): ListInstrumentsRequest;
|
|
38
|
+
|
|
39
|
+
getLite(): boolean;
|
|
40
|
+
setLite(value: boolean): ListInstrumentsRequest;
|
|
41
|
+
|
|
42
|
+
serializeBinary(): Uint8Array;
|
|
43
|
+
toObject(includeInstance?: boolean): ListInstrumentsRequest.AsObject;
|
|
44
|
+
static toObject(includeInstance: boolean, msg: ListInstrumentsRequest): ListInstrumentsRequest.AsObject;
|
|
45
|
+
static serializeBinaryToWriter(message: ListInstrumentsRequest, writer: jspb.BinaryWriter): void;
|
|
46
|
+
static deserializeBinary(bytes: Uint8Array): ListInstrumentsRequest;
|
|
47
|
+
static deserializeBinaryFromReader(message: ListInstrumentsRequest, reader: jspb.BinaryReader): ListInstrumentsRequest;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export namespace ListInstrumentsRequest {
|
|
51
|
+
export type AsObject = {
|
|
52
|
+
filter?: ListFilter.AsObject,
|
|
53
|
+
lite: boolean,
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export class ListInstrumentsResponse extends jspb.Message {
|
|
58
|
+
getItemsList(): Array<Instrument>;
|
|
59
|
+
setItemsList(value: Array<Instrument>): ListInstrumentsResponse;
|
|
60
|
+
clearItemsList(): ListInstrumentsResponse;
|
|
61
|
+
addItems(value?: Instrument, index?: number): Instrument;
|
|
62
|
+
|
|
63
|
+
serializeBinary(): Uint8Array;
|
|
64
|
+
toObject(includeInstance?: boolean): ListInstrumentsResponse.AsObject;
|
|
65
|
+
static toObject(includeInstance: boolean, msg: ListInstrumentsResponse): ListInstrumentsResponse.AsObject;
|
|
66
|
+
static serializeBinaryToWriter(message: ListInstrumentsResponse, writer: jspb.BinaryWriter): void;
|
|
67
|
+
static deserializeBinary(bytes: Uint8Array): ListInstrumentsResponse;
|
|
68
|
+
static deserializeBinaryFromReader(message: ListInstrumentsResponse, reader: jspb.BinaryReader): ListInstrumentsResponse;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export namespace ListInstrumentsResponse {
|
|
72
|
+
export type AsObject = {
|
|
73
|
+
itemsList: Array<Instrument.AsObject>,
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export class Instrument extends jspb.Message {
|
|
78
|
+
getUid(): string;
|
|
79
|
+
setUid(value: string): Instrument;
|
|
80
|
+
|
|
81
|
+
getFigi(): string;
|
|
82
|
+
setFigi(value: string): Instrument;
|
|
83
|
+
|
|
84
|
+
getTicker(): string;
|
|
85
|
+
setTicker(value: string): Instrument;
|
|
86
|
+
|
|
87
|
+
getName(): string;
|
|
88
|
+
setName(value: string): Instrument;
|
|
89
|
+
|
|
90
|
+
getClassCode(): string;
|
|
91
|
+
setClassCode(value: string): Instrument;
|
|
92
|
+
|
|
93
|
+
getIsin(): string;
|
|
94
|
+
setIsin(value: string): Instrument;
|
|
95
|
+
|
|
96
|
+
getLot(): number;
|
|
97
|
+
setLot(value: number): Instrument;
|
|
98
|
+
|
|
99
|
+
getCurrency(): string;
|
|
100
|
+
setCurrency(value: string): Instrument;
|
|
101
|
+
|
|
102
|
+
getExchange(): string;
|
|
103
|
+
setExchange(value: string): Instrument;
|
|
104
|
+
|
|
105
|
+
getSector(): string;
|
|
106
|
+
setSector(value: string): Instrument;
|
|
107
|
+
|
|
108
|
+
getTradingStatus(): number;
|
|
109
|
+
setTradingStatus(value: number): Instrument;
|
|
110
|
+
|
|
111
|
+
getLiquidityFlag(): boolean;
|
|
112
|
+
setLiquidityFlag(value: boolean): Instrument;
|
|
113
|
+
|
|
114
|
+
getShortEnabledFlag(): boolean;
|
|
115
|
+
setShortEnabledFlag(value: boolean): Instrument;
|
|
116
|
+
|
|
117
|
+
getApiTradeAvailableFlag(): boolean;
|
|
118
|
+
setApiTradeAvailableFlag(value: boolean): Instrument;
|
|
119
|
+
|
|
120
|
+
getBuyAvailableFlag(): boolean;
|
|
121
|
+
setBuyAvailableFlag(value: boolean): Instrument;
|
|
122
|
+
|
|
123
|
+
getSellAvailableFlag(): boolean;
|
|
124
|
+
setSellAvailableFlag(value: boolean): Instrument;
|
|
125
|
+
|
|
126
|
+
getFirst1minCandleDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
127
|
+
setFirst1minCandleDate(value?: google_protobuf_timestamp_pb.Timestamp): Instrument;
|
|
128
|
+
hasFirst1minCandleDate(): boolean;
|
|
129
|
+
clearFirst1minCandleDate(): Instrument;
|
|
130
|
+
|
|
131
|
+
getFirst1dayCandleDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
132
|
+
setFirst1dayCandleDate(value?: google_protobuf_timestamp_pb.Timestamp): Instrument;
|
|
133
|
+
hasFirst1dayCandleDate(): boolean;
|
|
134
|
+
clearFirst1dayCandleDate(): Instrument;
|
|
135
|
+
|
|
136
|
+
serializeBinary(): Uint8Array;
|
|
137
|
+
toObject(includeInstance?: boolean): Instrument.AsObject;
|
|
138
|
+
static toObject(includeInstance: boolean, msg: Instrument): Instrument.AsObject;
|
|
139
|
+
static serializeBinaryToWriter(message: Instrument, writer: jspb.BinaryWriter): void;
|
|
140
|
+
static deserializeBinary(bytes: Uint8Array): Instrument;
|
|
141
|
+
static deserializeBinaryFromReader(message: Instrument, reader: jspb.BinaryReader): Instrument;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export namespace Instrument {
|
|
145
|
+
export type AsObject = {
|
|
146
|
+
uid: string,
|
|
147
|
+
figi: string,
|
|
148
|
+
ticker: string,
|
|
149
|
+
name: string,
|
|
150
|
+
classCode: string,
|
|
151
|
+
isin: string,
|
|
152
|
+
lot: number,
|
|
153
|
+
currency: string,
|
|
154
|
+
exchange: string,
|
|
155
|
+
sector: string,
|
|
156
|
+
tradingStatus: number,
|
|
157
|
+
liquidityFlag: boolean,
|
|
158
|
+
shortEnabledFlag: boolean,
|
|
159
|
+
apiTradeAvailableFlag: boolean,
|
|
160
|
+
buyAvailableFlag: boolean,
|
|
161
|
+
sellAvailableFlag: boolean,
|
|
162
|
+
first1minCandleDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
163
|
+
first1dayCandleDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export class ListSchedulerTargetsRequest extends jspb.Message {
|
|
168
|
+
serializeBinary(): Uint8Array;
|
|
169
|
+
toObject(includeInstance?: boolean): ListSchedulerTargetsRequest.AsObject;
|
|
170
|
+
static toObject(includeInstance: boolean, msg: ListSchedulerTargetsRequest): ListSchedulerTargetsRequest.AsObject;
|
|
171
|
+
static serializeBinaryToWriter(message: ListSchedulerTargetsRequest, writer: jspb.BinaryWriter): void;
|
|
172
|
+
static deserializeBinary(bytes: Uint8Array): ListSchedulerTargetsRequest;
|
|
173
|
+
static deserializeBinaryFromReader(message: ListSchedulerTargetsRequest, reader: jspb.BinaryReader): ListSchedulerTargetsRequest;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export namespace ListSchedulerTargetsRequest {
|
|
177
|
+
export type AsObject = {
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export class ListSchedulerTargetsResponse extends jspb.Message {
|
|
182
|
+
getItemsList(): Array<SchedulerTarget>;
|
|
183
|
+
setItemsList(value: Array<SchedulerTarget>): ListSchedulerTargetsResponse;
|
|
184
|
+
clearItemsList(): ListSchedulerTargetsResponse;
|
|
185
|
+
addItems(value?: SchedulerTarget, index?: number): SchedulerTarget;
|
|
186
|
+
|
|
187
|
+
serializeBinary(): Uint8Array;
|
|
188
|
+
toObject(includeInstance?: boolean): ListSchedulerTargetsResponse.AsObject;
|
|
189
|
+
static toObject(includeInstance: boolean, msg: ListSchedulerTargetsResponse): ListSchedulerTargetsResponse.AsObject;
|
|
190
|
+
static serializeBinaryToWriter(message: ListSchedulerTargetsResponse, writer: jspb.BinaryWriter): void;
|
|
191
|
+
static deserializeBinary(bytes: Uint8Array): ListSchedulerTargetsResponse;
|
|
192
|
+
static deserializeBinaryFromReader(message: ListSchedulerTargetsResponse, reader: jspb.BinaryReader): ListSchedulerTargetsResponse;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export namespace ListSchedulerTargetsResponse {
|
|
196
|
+
export type AsObject = {
|
|
197
|
+
itemsList: Array<SchedulerTarget.AsObject>,
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export class SchedulerTarget extends jspb.Message {
|
|
202
|
+
getUid(): string;
|
|
203
|
+
setUid(value: string): SchedulerTarget;
|
|
204
|
+
|
|
205
|
+
getInterval(): number;
|
|
206
|
+
setInterval(value: number): SchedulerTarget;
|
|
207
|
+
|
|
208
|
+
getEnabled(): boolean;
|
|
209
|
+
setEnabled(value: boolean): SchedulerTarget;
|
|
210
|
+
|
|
211
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
212
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): SchedulerTarget;
|
|
213
|
+
hasCreatedAt(): boolean;
|
|
214
|
+
clearCreatedAt(): SchedulerTarget;
|
|
215
|
+
|
|
216
|
+
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
217
|
+
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): SchedulerTarget;
|
|
218
|
+
hasUpdatedAt(): boolean;
|
|
219
|
+
clearUpdatedAt(): SchedulerTarget;
|
|
220
|
+
|
|
221
|
+
getTicker(): string;
|
|
222
|
+
setTicker(value: string): SchedulerTarget;
|
|
223
|
+
|
|
224
|
+
getName(): string;
|
|
225
|
+
setName(value: string): SchedulerTarget;
|
|
226
|
+
|
|
227
|
+
getFigi(): string;
|
|
228
|
+
setFigi(value: string): SchedulerTarget;
|
|
229
|
+
|
|
230
|
+
serializeBinary(): Uint8Array;
|
|
231
|
+
toObject(includeInstance?: boolean): SchedulerTarget.AsObject;
|
|
232
|
+
static toObject(includeInstance: boolean, msg: SchedulerTarget): SchedulerTarget.AsObject;
|
|
233
|
+
static serializeBinaryToWriter(message: SchedulerTarget, writer: jspb.BinaryWriter): void;
|
|
234
|
+
static deserializeBinary(bytes: Uint8Array): SchedulerTarget;
|
|
235
|
+
static deserializeBinaryFromReader(message: SchedulerTarget, reader: jspb.BinaryReader): SchedulerTarget;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export namespace SchedulerTarget {
|
|
239
|
+
export type AsObject = {
|
|
240
|
+
uid: string,
|
|
241
|
+
interval: number,
|
|
242
|
+
enabled: boolean,
|
|
243
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
244
|
+
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
245
|
+
ticker: string,
|
|
246
|
+
name: string,
|
|
247
|
+
figi: string,
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export class SyncSchedulerTargetsRequest extends jspb.Message {
|
|
252
|
+
getInstrumentsList(): Array<SchedulerTargetInstrument>;
|
|
253
|
+
setInstrumentsList(value: Array<SchedulerTargetInstrument>): SyncSchedulerTargetsRequest;
|
|
254
|
+
clearInstrumentsList(): SyncSchedulerTargetsRequest;
|
|
255
|
+
addInstruments(value?: SchedulerTargetInstrument, index?: number): SchedulerTargetInstrument;
|
|
256
|
+
|
|
257
|
+
getAllowEmpty(): boolean;
|
|
258
|
+
setAllowEmpty(value: boolean): SyncSchedulerTargetsRequest;
|
|
259
|
+
|
|
260
|
+
serializeBinary(): Uint8Array;
|
|
261
|
+
toObject(includeInstance?: boolean): SyncSchedulerTargetsRequest.AsObject;
|
|
262
|
+
static toObject(includeInstance: boolean, msg: SyncSchedulerTargetsRequest): SyncSchedulerTargetsRequest.AsObject;
|
|
263
|
+
static serializeBinaryToWriter(message: SyncSchedulerTargetsRequest, writer: jspb.BinaryWriter): void;
|
|
264
|
+
static deserializeBinary(bytes: Uint8Array): SyncSchedulerTargetsRequest;
|
|
265
|
+
static deserializeBinaryFromReader(message: SyncSchedulerTargetsRequest, reader: jspb.BinaryReader): SyncSchedulerTargetsRequest;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export namespace SyncSchedulerTargetsRequest {
|
|
269
|
+
export type AsObject = {
|
|
270
|
+
instrumentsList: Array<SchedulerTargetInstrument.AsObject>,
|
|
271
|
+
allowEmpty: boolean,
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export class SchedulerTargetInstrument extends jspb.Message {
|
|
276
|
+
getUid(): string;
|
|
277
|
+
setUid(value: string): SchedulerTargetInstrument;
|
|
278
|
+
|
|
279
|
+
getIntervalsList(): Array<number>;
|
|
280
|
+
setIntervalsList(value: Array<number>): SchedulerTargetInstrument;
|
|
281
|
+
clearIntervalsList(): SchedulerTargetInstrument;
|
|
282
|
+
addIntervals(value: number, index?: number): SchedulerTargetInstrument;
|
|
283
|
+
|
|
284
|
+
serializeBinary(): Uint8Array;
|
|
285
|
+
toObject(includeInstance?: boolean): SchedulerTargetInstrument.AsObject;
|
|
286
|
+
static toObject(includeInstance: boolean, msg: SchedulerTargetInstrument): SchedulerTargetInstrument.AsObject;
|
|
287
|
+
static serializeBinaryToWriter(message: SchedulerTargetInstrument, writer: jspb.BinaryWriter): void;
|
|
288
|
+
static deserializeBinary(bytes: Uint8Array): SchedulerTargetInstrument;
|
|
289
|
+
static deserializeBinaryFromReader(message: SchedulerTargetInstrument, reader: jspb.BinaryReader): SchedulerTargetInstrument;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export namespace SchedulerTargetInstrument {
|
|
293
|
+
export type AsObject = {
|
|
294
|
+
uid: string,
|
|
295
|
+
intervalsList: Array<number>,
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export class SyncSchedulerTargetsResponse extends jspb.Message {
|
|
300
|
+
getCount(): number;
|
|
301
|
+
setCount(value: number): SyncSchedulerTargetsResponse;
|
|
302
|
+
|
|
303
|
+
serializeBinary(): Uint8Array;
|
|
304
|
+
toObject(includeInstance?: boolean): SyncSchedulerTargetsResponse.AsObject;
|
|
305
|
+
static toObject(includeInstance: boolean, msg: SyncSchedulerTargetsResponse): SyncSchedulerTargetsResponse.AsObject;
|
|
306
|
+
static serializeBinaryToWriter(message: SyncSchedulerTargetsResponse, writer: jspb.BinaryWriter): void;
|
|
307
|
+
static deserializeBinary(bytes: Uint8Array): SyncSchedulerTargetsResponse;
|
|
308
|
+
static deserializeBinaryFromReader(message: SyncSchedulerTargetsResponse, reader: jspb.BinaryReader): SyncSchedulerTargetsResponse;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export namespace SyncSchedulerTargetsResponse {
|
|
312
|
+
export type AsObject = {
|
|
313
|
+
count: number,
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export class ListLastDownloadsRequest extends jspb.Message {
|
|
318
|
+
getFilter(): ListFilter | undefined;
|
|
319
|
+
setFilter(value?: ListFilter): ListLastDownloadsRequest;
|
|
320
|
+
hasFilter(): boolean;
|
|
321
|
+
clearFilter(): ListLastDownloadsRequest;
|
|
322
|
+
|
|
323
|
+
serializeBinary(): Uint8Array;
|
|
324
|
+
toObject(includeInstance?: boolean): ListLastDownloadsRequest.AsObject;
|
|
325
|
+
static toObject(includeInstance: boolean, msg: ListLastDownloadsRequest): ListLastDownloadsRequest.AsObject;
|
|
326
|
+
static serializeBinaryToWriter(message: ListLastDownloadsRequest, writer: jspb.BinaryWriter): void;
|
|
327
|
+
static deserializeBinary(bytes: Uint8Array): ListLastDownloadsRequest;
|
|
328
|
+
static deserializeBinaryFromReader(message: ListLastDownloadsRequest, reader: jspb.BinaryReader): ListLastDownloadsRequest;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export namespace ListLastDownloadsRequest {
|
|
332
|
+
export type AsObject = {
|
|
333
|
+
filter?: ListFilter.AsObject,
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export class ListLastDownloadsResponse extends jspb.Message {
|
|
338
|
+
getItemsList(): Array<LastDownload>;
|
|
339
|
+
setItemsList(value: Array<LastDownload>): ListLastDownloadsResponse;
|
|
340
|
+
clearItemsList(): ListLastDownloadsResponse;
|
|
341
|
+
addItems(value?: LastDownload, index?: number): LastDownload;
|
|
342
|
+
|
|
343
|
+
serializeBinary(): Uint8Array;
|
|
344
|
+
toObject(includeInstance?: boolean): ListLastDownloadsResponse.AsObject;
|
|
345
|
+
static toObject(includeInstance: boolean, msg: ListLastDownloadsResponse): ListLastDownloadsResponse.AsObject;
|
|
346
|
+
static serializeBinaryToWriter(message: ListLastDownloadsResponse, writer: jspb.BinaryWriter): void;
|
|
347
|
+
static deserializeBinary(bytes: Uint8Array): ListLastDownloadsResponse;
|
|
348
|
+
static deserializeBinaryFromReader(message: ListLastDownloadsResponse, reader: jspb.BinaryReader): ListLastDownloadsResponse;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export namespace ListLastDownloadsResponse {
|
|
352
|
+
export type AsObject = {
|
|
353
|
+
itemsList: Array<LastDownload.AsObject>,
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export class LastDownload extends jspb.Message {
|
|
358
|
+
getUid(): string;
|
|
359
|
+
setUid(value: string): LastDownload;
|
|
360
|
+
|
|
361
|
+
getFigi(): string;
|
|
362
|
+
setFigi(value: string): LastDownload;
|
|
363
|
+
|
|
364
|
+
getTicker(): string;
|
|
365
|
+
setTicker(value: string): LastDownload;
|
|
366
|
+
|
|
367
|
+
getName(): string;
|
|
368
|
+
setName(value: string): LastDownload;
|
|
369
|
+
|
|
370
|
+
getInterval(): number;
|
|
371
|
+
setInterval(value: number): LastDownload;
|
|
372
|
+
|
|
373
|
+
getLastStart(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
374
|
+
setLastStart(value?: google_protobuf_timestamp_pb.Timestamp): LastDownload;
|
|
375
|
+
hasLastStart(): boolean;
|
|
376
|
+
clearLastStart(): LastDownload;
|
|
377
|
+
|
|
378
|
+
getLastEnd(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
379
|
+
setLastEnd(value?: google_protobuf_timestamp_pb.Timestamp): LastDownload;
|
|
380
|
+
hasLastEnd(): boolean;
|
|
381
|
+
clearLastEnd(): LastDownload;
|
|
382
|
+
|
|
383
|
+
getHasDownload(): boolean;
|
|
384
|
+
setHasDownload(value: boolean): LastDownload;
|
|
385
|
+
|
|
386
|
+
serializeBinary(): Uint8Array;
|
|
387
|
+
toObject(includeInstance?: boolean): LastDownload.AsObject;
|
|
388
|
+
static toObject(includeInstance: boolean, msg: LastDownload): LastDownload.AsObject;
|
|
389
|
+
static serializeBinaryToWriter(message: LastDownload, writer: jspb.BinaryWriter): void;
|
|
390
|
+
static deserializeBinary(bytes: Uint8Array): LastDownload;
|
|
391
|
+
static deserializeBinaryFromReader(message: LastDownload, reader: jspb.BinaryReader): LastDownload;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export namespace LastDownload {
|
|
395
|
+
export type AsObject = {
|
|
396
|
+
uid: string,
|
|
397
|
+
figi: string,
|
|
398
|
+
ticker: string,
|
|
399
|
+
name: string,
|
|
400
|
+
interval: number,
|
|
401
|
+
lastStart?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
402
|
+
lastEnd?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
403
|
+
hasDownload: boolean,
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|