@marleena/trb-proto 1.0.41 → 1.0.43
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.
|
@@ -168,90 +168,47 @@ export class IndicatorsClient {
|
|
|
168
168
|
this.methodDescriptorComputeForInstrument);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
|
|
172
|
-
'/trb.indicators.v1.Indicators/
|
|
171
|
+
methodDescriptorListIndicatorValues = new grpcWeb.MethodDescriptor(
|
|
172
|
+
'/trb.indicators.v1.Indicators/ListIndicatorValues',
|
|
173
173
|
grpcWeb.MethodType.UNARY,
|
|
174
|
-
indicators_indicators_pb.
|
|
175
|
-
indicators_indicators_pb.
|
|
176
|
-
(request: indicators_indicators_pb.
|
|
174
|
+
indicators_indicators_pb.ListIndicatorValuesRequest,
|
|
175
|
+
indicators_indicators_pb.ListIndicatorValuesResponse,
|
|
176
|
+
(request: indicators_indicators_pb.ListIndicatorValuesRequest) => {
|
|
177
177
|
return request.serializeBinary();
|
|
178
178
|
},
|
|
179
|
-
indicators_indicators_pb.
|
|
179
|
+
indicators_indicators_pb.ListIndicatorValuesResponse.deserializeBinary
|
|
180
180
|
);
|
|
181
181
|
|
|
182
|
-
|
|
183
|
-
request: indicators_indicators_pb.
|
|
184
|
-
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.
|
|
182
|
+
listIndicatorValues(
|
|
183
|
+
request: indicators_indicators_pb.ListIndicatorValuesRequest,
|
|
184
|
+
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.ListIndicatorValuesResponse>;
|
|
185
185
|
|
|
186
|
-
|
|
187
|
-
request: indicators_indicators_pb.
|
|
186
|
+
listIndicatorValues(
|
|
187
|
+
request: indicators_indicators_pb.ListIndicatorValuesRequest,
|
|
188
188
|
metadata: grpcWeb.Metadata | null,
|
|
189
189
|
callback: (err: grpcWeb.RpcError,
|
|
190
|
-
response: indicators_indicators_pb.
|
|
190
|
+
response: indicators_indicators_pb.ListIndicatorValuesResponse) => void): grpcWeb.ClientReadableStream<indicators_indicators_pb.ListIndicatorValuesResponse>;
|
|
191
191
|
|
|
192
|
-
|
|
193
|
-
request: indicators_indicators_pb.
|
|
192
|
+
listIndicatorValues(
|
|
193
|
+
request: indicators_indicators_pb.ListIndicatorValuesRequest,
|
|
194
194
|
metadata?: grpcWeb.Metadata | null,
|
|
195
195
|
callback?: (err: grpcWeb.RpcError,
|
|
196
|
-
response: indicators_indicators_pb.
|
|
196
|
+
response: indicators_indicators_pb.ListIndicatorValuesResponse) => void) {
|
|
197
197
|
if (callback !== undefined) {
|
|
198
198
|
return this.client_.rpcCall(
|
|
199
199
|
this.hostname_ +
|
|
200
|
-
'/trb.indicators.v1.Indicators/
|
|
200
|
+
'/trb.indicators.v1.Indicators/ListIndicatorValues',
|
|
201
201
|
request,
|
|
202
202
|
metadata || {},
|
|
203
|
-
this.
|
|
203
|
+
this.methodDescriptorListIndicatorValues,
|
|
204
204
|
callback);
|
|
205
205
|
}
|
|
206
206
|
return this.client_.unaryCall(
|
|
207
207
|
this.hostname_ +
|
|
208
|
-
'/trb.indicators.v1.Indicators/
|
|
208
|
+
'/trb.indicators.v1.Indicators/ListIndicatorValues',
|
|
209
209
|
request,
|
|
210
210
|
metadata || {},
|
|
211
|
-
this.
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
methodDescriptorSyncSchedulerTargets = new grpcWeb.MethodDescriptor(
|
|
215
|
-
'/trb.indicators.v1.Indicators/SyncSchedulerTargets',
|
|
216
|
-
grpcWeb.MethodType.UNARY,
|
|
217
|
-
indicators_indicators_pb.SyncSchedulerTargetsRequest,
|
|
218
|
-
indicators_indicators_pb.SyncSchedulerTargetsResponse,
|
|
219
|
-
(request: indicators_indicators_pb.SyncSchedulerTargetsRequest) => {
|
|
220
|
-
return request.serializeBinary();
|
|
221
|
-
},
|
|
222
|
-
indicators_indicators_pb.SyncSchedulerTargetsResponse.deserializeBinary
|
|
223
|
-
);
|
|
224
|
-
|
|
225
|
-
syncSchedulerTargets(
|
|
226
|
-
request: indicators_indicators_pb.SyncSchedulerTargetsRequest,
|
|
227
|
-
metadata?: grpcWeb.Metadata | null): Promise<indicators_indicators_pb.SyncSchedulerTargetsResponse>;
|
|
228
|
-
|
|
229
|
-
syncSchedulerTargets(
|
|
230
|
-
request: indicators_indicators_pb.SyncSchedulerTargetsRequest,
|
|
231
|
-
metadata: grpcWeb.Metadata | null,
|
|
232
|
-
callback: (err: grpcWeb.RpcError,
|
|
233
|
-
response: indicators_indicators_pb.SyncSchedulerTargetsResponse) => void): grpcWeb.ClientReadableStream<indicators_indicators_pb.SyncSchedulerTargetsResponse>;
|
|
234
|
-
|
|
235
|
-
syncSchedulerTargets(
|
|
236
|
-
request: indicators_indicators_pb.SyncSchedulerTargetsRequest,
|
|
237
|
-
metadata?: grpcWeb.Metadata | null,
|
|
238
|
-
callback?: (err: grpcWeb.RpcError,
|
|
239
|
-
response: indicators_indicators_pb.SyncSchedulerTargetsResponse) => void) {
|
|
240
|
-
if (callback !== undefined) {
|
|
241
|
-
return this.client_.rpcCall(
|
|
242
|
-
this.hostname_ +
|
|
243
|
-
'/trb.indicators.v1.Indicators/SyncSchedulerTargets',
|
|
244
|
-
request,
|
|
245
|
-
metadata || {},
|
|
246
|
-
this.methodDescriptorSyncSchedulerTargets,
|
|
247
|
-
callback);
|
|
248
|
-
}
|
|
249
|
-
return this.client_.unaryCall(
|
|
250
|
-
this.hostname_ +
|
|
251
|
-
'/trb.indicators.v1.Indicators/SyncSchedulerTargets',
|
|
252
|
-
request,
|
|
253
|
-
metadata || {},
|
|
254
|
-
this.methodDescriptorSyncSchedulerTargets);
|
|
211
|
+
this.methodDescriptorListIndicatorValues);
|
|
255
212
|
}
|
|
256
213
|
|
|
257
214
|
}
|
|
@@ -98,6 +98,11 @@ export class ComputeForInstrumentRequest extends jspb.Message {
|
|
|
98
98
|
getPersist(): boolean;
|
|
99
99
|
setPersist(value: boolean): ComputeForInstrumentRequest;
|
|
100
100
|
|
|
101
|
+
getMaxResponsePoints(): number;
|
|
102
|
+
setMaxResponsePoints(value: number): ComputeForInstrumentRequest;
|
|
103
|
+
hasMaxResponsePoints(): boolean;
|
|
104
|
+
clearMaxResponsePoints(): ComputeForInstrumentRequest;
|
|
105
|
+
|
|
101
106
|
serializeBinary(): Uint8Array;
|
|
102
107
|
toObject(includeInstance?: boolean): ComputeForInstrumentRequest.AsObject;
|
|
103
108
|
static toObject(includeInstance: boolean, msg: ComputeForInstrumentRequest): ComputeForInstrumentRequest.AsObject;
|
|
@@ -115,6 +120,64 @@ export namespace ComputeForInstrumentRequest {
|
|
|
115
120
|
type: IndicatorType,
|
|
116
121
|
paramsMap: Array<[string, number]>,
|
|
117
122
|
persist: boolean,
|
|
123
|
+
maxResponsePoints?: number,
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export enum MaxResponsePointsCase {
|
|
127
|
+
_MAX_RESPONSE_POINTS_NOT_SET = 0,
|
|
128
|
+
MAX_RESPONSE_POINTS = 8,
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export class ListIndicatorValuesRequest extends jspb.Message {
|
|
133
|
+
getUid(): string;
|
|
134
|
+
setUid(value: string): ListIndicatorValuesRequest;
|
|
135
|
+
|
|
136
|
+
getInterval(): number;
|
|
137
|
+
setInterval(value: number): ListIndicatorValuesRequest;
|
|
138
|
+
|
|
139
|
+
getFrom(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
140
|
+
setFrom(value?: google_protobuf_timestamp_pb.Timestamp): ListIndicatorValuesRequest;
|
|
141
|
+
hasFrom(): boolean;
|
|
142
|
+
clearFrom(): ListIndicatorValuesRequest;
|
|
143
|
+
|
|
144
|
+
getTo(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
145
|
+
setTo(value?: google_protobuf_timestamp_pb.Timestamp): ListIndicatorValuesRequest;
|
|
146
|
+
hasTo(): boolean;
|
|
147
|
+
clearTo(): ListIndicatorValuesRequest;
|
|
148
|
+
|
|
149
|
+
getType(): IndicatorType;
|
|
150
|
+
setType(value: IndicatorType): ListIndicatorValuesRequest;
|
|
151
|
+
|
|
152
|
+
getParamsMap(): jspb.Map<string, number>;
|
|
153
|
+
clearParamsMap(): ListIndicatorValuesRequest;
|
|
154
|
+
|
|
155
|
+
getLimit(): number;
|
|
156
|
+
setLimit(value: number): ListIndicatorValuesRequest;
|
|
157
|
+
|
|
158
|
+
getAfter(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
159
|
+
setAfter(value?: google_protobuf_timestamp_pb.Timestamp): ListIndicatorValuesRequest;
|
|
160
|
+
hasAfter(): boolean;
|
|
161
|
+
clearAfter(): ListIndicatorValuesRequest;
|
|
162
|
+
|
|
163
|
+
serializeBinary(): Uint8Array;
|
|
164
|
+
toObject(includeInstance?: boolean): ListIndicatorValuesRequest.AsObject;
|
|
165
|
+
static toObject(includeInstance: boolean, msg: ListIndicatorValuesRequest): ListIndicatorValuesRequest.AsObject;
|
|
166
|
+
static serializeBinaryToWriter(message: ListIndicatorValuesRequest, writer: jspb.BinaryWriter): void;
|
|
167
|
+
static deserializeBinary(bytes: Uint8Array): ListIndicatorValuesRequest;
|
|
168
|
+
static deserializeBinaryFromReader(message: ListIndicatorValuesRequest, reader: jspb.BinaryReader): ListIndicatorValuesRequest;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export namespace ListIndicatorValuesRequest {
|
|
172
|
+
export type AsObject = {
|
|
173
|
+
uid: string,
|
|
174
|
+
interval: number,
|
|
175
|
+
from?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
176
|
+
to?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
177
|
+
type: IndicatorType,
|
|
178
|
+
paramsMap: Array<[string, number]>,
|
|
179
|
+
limit: number,
|
|
180
|
+
after?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
118
181
|
}
|
|
119
182
|
}
|
|
120
183
|
|
|
@@ -154,6 +217,9 @@ export class ComputeResponse extends jspb.Message {
|
|
|
154
217
|
clearPointsList(): ComputeResponse;
|
|
155
218
|
addPoints(value?: IndicatorPoint, index?: number): IndicatorPoint;
|
|
156
219
|
|
|
220
|
+
getTotalPoints(): number;
|
|
221
|
+
setTotalPoints(value: number): ComputeResponse;
|
|
222
|
+
|
|
157
223
|
serializeBinary(): Uint8Array;
|
|
158
224
|
toObject(includeInstance?: boolean): ComputeResponse.AsObject;
|
|
159
225
|
static toObject(includeInstance: boolean, msg: ComputeResponse): ComputeResponse.AsObject;
|
|
@@ -167,6 +233,39 @@ export namespace ComputeResponse {
|
|
|
167
233
|
type: IndicatorType,
|
|
168
234
|
paramsMap: Array<[string, number]>,
|
|
169
235
|
pointsList: Array<IndicatorPoint.AsObject>,
|
|
236
|
+
totalPoints: number,
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export class ListIndicatorValuesResponse extends jspb.Message {
|
|
241
|
+
getType(): IndicatorType;
|
|
242
|
+
setType(value: IndicatorType): ListIndicatorValuesResponse;
|
|
243
|
+
|
|
244
|
+
getParamsMap(): jspb.Map<string, number>;
|
|
245
|
+
clearParamsMap(): ListIndicatorValuesResponse;
|
|
246
|
+
|
|
247
|
+
getPointsList(): Array<IndicatorPoint>;
|
|
248
|
+
setPointsList(value: Array<IndicatorPoint>): ListIndicatorValuesResponse;
|
|
249
|
+
clearPointsList(): ListIndicatorValuesResponse;
|
|
250
|
+
addPoints(value?: IndicatorPoint, index?: number): IndicatorPoint;
|
|
251
|
+
|
|
252
|
+
getHasMore(): boolean;
|
|
253
|
+
setHasMore(value: boolean): ListIndicatorValuesResponse;
|
|
254
|
+
|
|
255
|
+
serializeBinary(): Uint8Array;
|
|
256
|
+
toObject(includeInstance?: boolean): ListIndicatorValuesResponse.AsObject;
|
|
257
|
+
static toObject(includeInstance: boolean, msg: ListIndicatorValuesResponse): ListIndicatorValuesResponse.AsObject;
|
|
258
|
+
static serializeBinaryToWriter(message: ListIndicatorValuesResponse, writer: jspb.BinaryWriter): void;
|
|
259
|
+
static deserializeBinary(bytes: Uint8Array): ListIndicatorValuesResponse;
|
|
260
|
+
static deserializeBinaryFromReader(message: ListIndicatorValuesResponse, reader: jspb.BinaryReader): ListIndicatorValuesResponse;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export namespace ListIndicatorValuesResponse {
|
|
264
|
+
export type AsObject = {
|
|
265
|
+
type: IndicatorType,
|
|
266
|
+
paramsMap: Array<[string, number]>,
|
|
267
|
+
pointsList: Array<IndicatorPoint.AsObject>,
|
|
268
|
+
hasMore: boolean,
|
|
170
269
|
}
|
|
171
270
|
}
|
|
172
271
|
|
|
@@ -234,116 +333,6 @@ export namespace ListSupportedResponse {
|
|
|
234
333
|
}
|
|
235
334
|
}
|
|
236
335
|
|
|
237
|
-
export class SchedulerTarget extends jspb.Message {
|
|
238
|
-
getUid(): string;
|
|
239
|
-
setUid(value: string): SchedulerTarget;
|
|
240
|
-
|
|
241
|
-
getInterval(): number;
|
|
242
|
-
setInterval(value: number): SchedulerTarget;
|
|
243
|
-
|
|
244
|
-
getIndicator(): string;
|
|
245
|
-
setIndicator(value: string): SchedulerTarget;
|
|
246
|
-
|
|
247
|
-
getParamsMap(): jspb.Map<string, number>;
|
|
248
|
-
clearParamsMap(): SchedulerTarget;
|
|
249
|
-
|
|
250
|
-
getEnabled(): boolean;
|
|
251
|
-
setEnabled(value: boolean): SchedulerTarget;
|
|
252
|
-
|
|
253
|
-
serializeBinary(): Uint8Array;
|
|
254
|
-
toObject(includeInstance?: boolean): SchedulerTarget.AsObject;
|
|
255
|
-
static toObject(includeInstance: boolean, msg: SchedulerTarget): SchedulerTarget.AsObject;
|
|
256
|
-
static serializeBinaryToWriter(message: SchedulerTarget, writer: jspb.BinaryWriter): void;
|
|
257
|
-
static deserializeBinary(bytes: Uint8Array): SchedulerTarget;
|
|
258
|
-
static deserializeBinaryFromReader(message: SchedulerTarget, reader: jspb.BinaryReader): SchedulerTarget;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
export namespace SchedulerTarget {
|
|
262
|
-
export type AsObject = {
|
|
263
|
-
uid: string,
|
|
264
|
-
interval: number,
|
|
265
|
-
indicator: string,
|
|
266
|
-
paramsMap: Array<[string, number]>,
|
|
267
|
-
enabled: boolean,
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
export class ListSchedulerTargetsRequest extends jspb.Message {
|
|
272
|
-
serializeBinary(): Uint8Array;
|
|
273
|
-
toObject(includeInstance?: boolean): ListSchedulerTargetsRequest.AsObject;
|
|
274
|
-
static toObject(includeInstance: boolean, msg: ListSchedulerTargetsRequest): ListSchedulerTargetsRequest.AsObject;
|
|
275
|
-
static serializeBinaryToWriter(message: ListSchedulerTargetsRequest, writer: jspb.BinaryWriter): void;
|
|
276
|
-
static deserializeBinary(bytes: Uint8Array): ListSchedulerTargetsRequest;
|
|
277
|
-
static deserializeBinaryFromReader(message: ListSchedulerTargetsRequest, reader: jspb.BinaryReader): ListSchedulerTargetsRequest;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
export namespace ListSchedulerTargetsRequest {
|
|
281
|
-
export type AsObject = {
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
export class ListSchedulerTargetsResponse extends jspb.Message {
|
|
286
|
-
getItemsList(): Array<SchedulerTarget>;
|
|
287
|
-
setItemsList(value: Array<SchedulerTarget>): ListSchedulerTargetsResponse;
|
|
288
|
-
clearItemsList(): ListSchedulerTargetsResponse;
|
|
289
|
-
addItems(value?: SchedulerTarget, index?: number): SchedulerTarget;
|
|
290
|
-
|
|
291
|
-
serializeBinary(): Uint8Array;
|
|
292
|
-
toObject(includeInstance?: boolean): ListSchedulerTargetsResponse.AsObject;
|
|
293
|
-
static toObject(includeInstance: boolean, msg: ListSchedulerTargetsResponse): ListSchedulerTargetsResponse.AsObject;
|
|
294
|
-
static serializeBinaryToWriter(message: ListSchedulerTargetsResponse, writer: jspb.BinaryWriter): void;
|
|
295
|
-
static deserializeBinary(bytes: Uint8Array): ListSchedulerTargetsResponse;
|
|
296
|
-
static deserializeBinaryFromReader(message: ListSchedulerTargetsResponse, reader: jspb.BinaryReader): ListSchedulerTargetsResponse;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
export namespace ListSchedulerTargetsResponse {
|
|
300
|
-
export type AsObject = {
|
|
301
|
-
itemsList: Array<SchedulerTarget.AsObject>,
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
export class SyncSchedulerTargetsRequest extends jspb.Message {
|
|
306
|
-
getItemsList(): Array<SchedulerTarget>;
|
|
307
|
-
setItemsList(value: Array<SchedulerTarget>): SyncSchedulerTargetsRequest;
|
|
308
|
-
clearItemsList(): SyncSchedulerTargetsRequest;
|
|
309
|
-
addItems(value?: SchedulerTarget, index?: number): SchedulerTarget;
|
|
310
|
-
|
|
311
|
-
getAllowEmpty(): boolean;
|
|
312
|
-
setAllowEmpty(value: boolean): SyncSchedulerTargetsRequest;
|
|
313
|
-
|
|
314
|
-
serializeBinary(): Uint8Array;
|
|
315
|
-
toObject(includeInstance?: boolean): SyncSchedulerTargetsRequest.AsObject;
|
|
316
|
-
static toObject(includeInstance: boolean, msg: SyncSchedulerTargetsRequest): SyncSchedulerTargetsRequest.AsObject;
|
|
317
|
-
static serializeBinaryToWriter(message: SyncSchedulerTargetsRequest, writer: jspb.BinaryWriter): void;
|
|
318
|
-
static deserializeBinary(bytes: Uint8Array): SyncSchedulerTargetsRequest;
|
|
319
|
-
static deserializeBinaryFromReader(message: SyncSchedulerTargetsRequest, reader: jspb.BinaryReader): SyncSchedulerTargetsRequest;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
export namespace SyncSchedulerTargetsRequest {
|
|
323
|
-
export type AsObject = {
|
|
324
|
-
itemsList: Array<SchedulerTarget.AsObject>,
|
|
325
|
-
allowEmpty: boolean,
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
export class SyncSchedulerTargetsResponse extends jspb.Message {
|
|
330
|
-
getCount(): number;
|
|
331
|
-
setCount(value: number): SyncSchedulerTargetsResponse;
|
|
332
|
-
|
|
333
|
-
serializeBinary(): Uint8Array;
|
|
334
|
-
toObject(includeInstance?: boolean): SyncSchedulerTargetsResponse.AsObject;
|
|
335
|
-
static toObject(includeInstance: boolean, msg: SyncSchedulerTargetsResponse): SyncSchedulerTargetsResponse.AsObject;
|
|
336
|
-
static serializeBinaryToWriter(message: SyncSchedulerTargetsResponse, writer: jspb.BinaryWriter): void;
|
|
337
|
-
static deserializeBinary(bytes: Uint8Array): SyncSchedulerTargetsResponse;
|
|
338
|
-
static deserializeBinaryFromReader(message: SyncSchedulerTargetsResponse, reader: jspb.BinaryReader): SyncSchedulerTargetsResponse;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
export namespace SyncSchedulerTargetsResponse {
|
|
342
|
-
export type AsObject = {
|
|
343
|
-
count: number,
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
|
|
347
336
|
export enum IndicatorType {
|
|
348
337
|
INDICATOR_TYPE_UNSPECIFIED = 0,
|
|
349
338
|
INDICATOR_TYPE_RSI = 1,
|