@kaiko-data/sdk-node 1.26.0 → 1.27.0
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/package.json +1 -1
- package/sdk/sdk_grpc_pb.d.ts +18 -0
- package/sdk/sdk_grpc_pb.js +41 -0
- package/sdk/sdk_pb.d.ts +2 -0
- package/sdk/sdk_pb.js +4 -0
- package/sdk/stream/constant_duration_indices_v1/request_grpc_pb.d.ts +1 -0
- package/sdk/stream/constant_duration_indices_v1/request_grpc_pb.js +1 -0
- package/sdk/stream/constant_duration_indices_v1/request_pb.d.ts +39 -0
- package/sdk/stream/constant_duration_indices_v1/request_pb.js +289 -0
- package/sdk/stream/constant_duration_indices_v1/response_grpc_pb.d.ts +1 -0
- package/sdk/stream/constant_duration_indices_v1/response_grpc_pb.js +1 -0
- package/sdk/stream/constant_duration_indices_v1/response_pb.d.ts +214 -0
- package/sdk/stream/constant_duration_indices_v1/response_pb.js +1609 -0
package/package.json
CHANGED
package/sdk/sdk_grpc_pb.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ import * as sdk_stream_trades_v1_request_pb from "../sdk/stream/trades_v1/reques
|
|
|
36
36
|
import * as sdk_stream_trades_v1_response_pb from "../sdk/stream/trades_v1/response_pb";
|
|
37
37
|
import * as sdk_stream_aggregated_state_price_v1_request_pb from "../sdk/stream/aggregated_state_price_v1/request_pb";
|
|
38
38
|
import * as sdk_stream_aggregated_state_price_v1_response_pb from "../sdk/stream/aggregated_state_price_v1/response_pb";
|
|
39
|
+
import * as sdk_stream_constant_duration_indices_v1_request_pb from "../sdk/stream/constant_duration_indices_v1/request_pb";
|
|
40
|
+
import * as sdk_stream_constant_duration_indices_v1_response_pb from "../sdk/stream/constant_duration_indices_v1/response_pb";
|
|
39
41
|
import * as grpc from "@grpc/grpc-js";
|
|
40
42
|
|
|
41
43
|
interface IStreamAggregatedQuoteServiceV2Service extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
@@ -309,3 +311,19 @@ export class StreamOrderbookL2ReplayServiceV1Client extends grpc.Client {
|
|
|
309
311
|
subscribe(argument: sdk_stream_orderbookl2_v1_request_pb.StreamOrderBookL2ReplayRequestV1, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<sdk_stream_orderbookl2_v1_response_pb.StreamOrderBookL2ResponseV1>;
|
|
310
312
|
subscribe(argument: sdk_stream_orderbookl2_v1_request_pb.StreamOrderBookL2ReplayRequestV1, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<sdk_stream_orderbookl2_v1_response_pb.StreamOrderBookL2ResponseV1>;
|
|
311
313
|
}
|
|
314
|
+
|
|
315
|
+
interface IStreamConstantDurationIndicesServiceV1Service extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
316
|
+
subscribe: grpc.MethodDefinition<sdk_stream_constant_duration_indices_v1_request_pb.StreamConstantDurationIndicesServiceRequestV1, sdk_stream_constant_duration_indices_v1_response_pb.StreamConstantDurationIndicesServiceResponseV1>;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export const StreamConstantDurationIndicesServiceV1Service: IStreamConstantDurationIndicesServiceV1Service;
|
|
320
|
+
|
|
321
|
+
export interface IStreamConstantDurationIndicesServiceV1Server extends grpc.UntypedServiceImplementation {
|
|
322
|
+
subscribe: grpc.handleServerStreamingCall<sdk_stream_constant_duration_indices_v1_request_pb.StreamConstantDurationIndicesServiceRequestV1, sdk_stream_constant_duration_indices_v1_response_pb.StreamConstantDurationIndicesServiceResponseV1>;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export class StreamConstantDurationIndicesServiceV1Client extends grpc.Client {
|
|
326
|
+
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
|
|
327
|
+
subscribe(argument: sdk_stream_constant_duration_indices_v1_request_pb.StreamConstantDurationIndicesServiceRequestV1, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<sdk_stream_constant_duration_indices_v1_response_pb.StreamConstantDurationIndicesServiceResponseV1>;
|
|
328
|
+
subscribe(argument: sdk_stream_constant_duration_indices_v1_request_pb.StreamConstantDurationIndicesServiceRequestV1, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<sdk_stream_constant_duration_indices_v1_response_pb.StreamConstantDurationIndicesServiceResponseV1>;
|
|
329
|
+
}
|
package/sdk/sdk_grpc_pb.js
CHANGED
|
@@ -34,6 +34,8 @@ var sdk_stream_trades_v1_request_pb = require('../sdk/stream/trades_v1/request_p
|
|
|
34
34
|
var sdk_stream_trades_v1_response_pb = require('../sdk/stream/trades_v1/response_pb.js');
|
|
35
35
|
var sdk_stream_aggregated_state_price_v1_request_pb = require('../sdk/stream/aggregated_state_price_v1/request_pb.js');
|
|
36
36
|
var sdk_stream_aggregated_state_price_v1_response_pb = require('../sdk/stream/aggregated_state_price_v1/response_pb.js');
|
|
37
|
+
var sdk_stream_constant_duration_indices_v1_request_pb = require('../sdk/stream/constant_duration_indices_v1/request_pb.js');
|
|
38
|
+
var sdk_stream_constant_duration_indices_v1_response_pb = require('../sdk/stream/constant_duration_indices_v1/response_pb.js');
|
|
37
39
|
|
|
38
40
|
function serialize_kaikosdk_StreamAggregatedPriceRequestV1(arg) {
|
|
39
41
|
if (!(arg instanceof sdk_stream_aggregated_price_v1_request_pb.StreamAggregatedPriceRequestV1)) {
|
|
@@ -189,6 +191,28 @@ function deserialize_kaikosdk_StreamAggregatesVWAPResponseV1(buffer_arg) {
|
|
|
189
191
|
return sdk_stream_aggregates_vwap_v1_response_pb.StreamAggregatesVWAPResponseV1.deserializeBinary(new Uint8Array(buffer_arg));
|
|
190
192
|
}
|
|
191
193
|
|
|
194
|
+
function serialize_kaikosdk_StreamConstantDurationIndicesServiceRequestV1(arg) {
|
|
195
|
+
if (!(arg instanceof sdk_stream_constant_duration_indices_v1_request_pb.StreamConstantDurationIndicesServiceRequestV1)) {
|
|
196
|
+
throw new Error('Expected argument of type kaikosdk.StreamConstantDurationIndicesServiceRequestV1');
|
|
197
|
+
}
|
|
198
|
+
return Buffer.from(arg.serializeBinary());
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
function deserialize_kaikosdk_StreamConstantDurationIndicesServiceRequestV1(buffer_arg) {
|
|
202
|
+
return sdk_stream_constant_duration_indices_v1_request_pb.StreamConstantDurationIndicesServiceRequestV1.deserializeBinary(new Uint8Array(buffer_arg));
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
function serialize_kaikosdk_StreamConstantDurationIndicesServiceResponseV1(arg) {
|
|
206
|
+
if (!(arg instanceof sdk_stream_constant_duration_indices_v1_response_pb.StreamConstantDurationIndicesServiceResponseV1)) {
|
|
207
|
+
throw new Error('Expected argument of type kaikosdk.StreamConstantDurationIndicesServiceResponseV1');
|
|
208
|
+
}
|
|
209
|
+
return Buffer.from(arg.serializeBinary());
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
function deserialize_kaikosdk_StreamConstantDurationIndicesServiceResponseV1(buffer_arg) {
|
|
213
|
+
return sdk_stream_constant_duration_indices_v1_response_pb.StreamConstantDurationIndicesServiceResponseV1.deserializeBinary(new Uint8Array(buffer_arg));
|
|
214
|
+
}
|
|
215
|
+
|
|
192
216
|
function serialize_kaikosdk_StreamDerivativesInstrumentMetricsRequestV1(arg) {
|
|
193
217
|
if (!(arg instanceof sdk_stream_derivatives_instrument_metrics_v1_request_pb.StreamDerivativesInstrumentMetricsRequestV1)) {
|
|
194
218
|
throw new Error('Expected argument of type kaikosdk.StreamDerivativesInstrumentMetricsRequestV1');
|
|
@@ -689,3 +713,20 @@ subscribe: {
|
|
|
689
713
|
};
|
|
690
714
|
|
|
691
715
|
exports.StreamOrderbookL2ReplayServiceV1Client = grpc.makeGenericClientConstructor(StreamOrderbookL2ReplayServiceV1Service);
|
|
716
|
+
// Service for streaming Constant Duration Indices V1
|
|
717
|
+
var StreamConstantDurationIndicesServiceV1Service = exports.StreamConstantDurationIndicesServiceV1Service = {
|
|
718
|
+
// Subscribe
|
|
719
|
+
subscribe: {
|
|
720
|
+
path: '/kaikosdk.StreamConstantDurationIndicesServiceV1/Subscribe',
|
|
721
|
+
requestStream: false,
|
|
722
|
+
responseStream: true,
|
|
723
|
+
requestType: sdk_stream_constant_duration_indices_v1_request_pb.StreamConstantDurationIndicesServiceRequestV1,
|
|
724
|
+
responseType: sdk_stream_constant_duration_indices_v1_response_pb.StreamConstantDurationIndicesServiceResponseV1,
|
|
725
|
+
requestSerialize: serialize_kaikosdk_StreamConstantDurationIndicesServiceRequestV1,
|
|
726
|
+
requestDeserialize: deserialize_kaikosdk_StreamConstantDurationIndicesServiceRequestV1,
|
|
727
|
+
responseSerialize: serialize_kaikosdk_StreamConstantDurationIndicesServiceResponseV1,
|
|
728
|
+
responseDeserialize: deserialize_kaikosdk_StreamConstantDurationIndicesServiceResponseV1,
|
|
729
|
+
},
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
exports.StreamConstantDurationIndicesServiceV1Client = grpc.makeGenericClientConstructor(StreamConstantDurationIndicesServiceV1Service);
|
package/sdk/sdk_pb.d.ts
CHANGED
|
@@ -34,4 +34,6 @@ import * as sdk_stream_trades_v1_request_pb from "../sdk/stream/trades_v1/reques
|
|
|
34
34
|
import * as sdk_stream_trades_v1_response_pb from "../sdk/stream/trades_v1/response_pb";
|
|
35
35
|
import * as sdk_stream_aggregated_state_price_v1_request_pb from "../sdk/stream/aggregated_state_price_v1/request_pb";
|
|
36
36
|
import * as sdk_stream_aggregated_state_price_v1_response_pb from "../sdk/stream/aggregated_state_price_v1/response_pb";
|
|
37
|
+
import * as sdk_stream_constant_duration_indices_v1_request_pb from "../sdk/stream/constant_duration_indices_v1/request_pb";
|
|
38
|
+
import * as sdk_stream_constant_duration_indices_v1_response_pb from "../sdk/stream/constant_duration_indices_v1/response_pb";
|
|
37
39
|
|
package/sdk/sdk_pb.js
CHANGED
|
@@ -85,3 +85,7 @@ var sdk_stream_aggregated_state_price_v1_request_pb = require('../sdk/stream/agg
|
|
|
85
85
|
goog.object.extend(proto, sdk_stream_aggregated_state_price_v1_request_pb);
|
|
86
86
|
var sdk_stream_aggregated_state_price_v1_response_pb = require('../sdk/stream/aggregated_state_price_v1/response_pb.js');
|
|
87
87
|
goog.object.extend(proto, sdk_stream_aggregated_state_price_v1_response_pb);
|
|
88
|
+
var sdk_stream_constant_duration_indices_v1_request_pb = require('../sdk/stream/constant_duration_indices_v1/request_pb.js');
|
|
89
|
+
goog.object.extend(proto, sdk_stream_constant_duration_indices_v1_request_pb);
|
|
90
|
+
var sdk_stream_constant_duration_indices_v1_response_pb = require('../sdk/stream/constant_duration_indices_v1/response_pb.js');
|
|
91
|
+
goog.object.extend(proto, sdk_stream_constant_duration_indices_v1_response_pb);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// package: kaikosdk
|
|
2
|
+
// file: sdk/stream/constant_duration_indices_v1/request.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as sdk_core_data_interval_pb from "../../../sdk/core/data_interval_pb";
|
|
6
|
+
import * as sdk_stream_index_v1_commodity_pb from "../../../sdk/stream/index_v1/commodity_pb";
|
|
7
|
+
|
|
8
|
+
export class StreamConstantDurationIndicesServiceRequestV1 extends jspb.Message {
|
|
9
|
+
getIndexCode(): string;
|
|
10
|
+
setIndexCode(value: string): void;
|
|
11
|
+
|
|
12
|
+
clearCommoditiesList(): void;
|
|
13
|
+
getCommoditiesList(): Array<sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap[keyof sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap]>;
|
|
14
|
+
setCommoditiesList(value: Array<sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap[keyof sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap]>): void;
|
|
15
|
+
addCommodities(value: sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap[keyof sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap], index?: number): sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap[keyof sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap];
|
|
16
|
+
|
|
17
|
+
hasInterval(): boolean;
|
|
18
|
+
clearInterval(): void;
|
|
19
|
+
getInterval(): sdk_core_data_interval_pb.DataInterval | undefined;
|
|
20
|
+
setInterval(value?: sdk_core_data_interval_pb.DataInterval): void;
|
|
21
|
+
|
|
22
|
+
serializeBinary(): Uint8Array;
|
|
23
|
+
toObject(includeInstance?: boolean): StreamConstantDurationIndicesServiceRequestV1.AsObject;
|
|
24
|
+
static toObject(includeInstance: boolean, msg: StreamConstantDurationIndicesServiceRequestV1): StreamConstantDurationIndicesServiceRequestV1.AsObject;
|
|
25
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
26
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
27
|
+
static serializeBinaryToWriter(message: StreamConstantDurationIndicesServiceRequestV1, writer: jspb.BinaryWriter): void;
|
|
28
|
+
static deserializeBinary(bytes: Uint8Array): StreamConstantDurationIndicesServiceRequestV1;
|
|
29
|
+
static deserializeBinaryFromReader(message: StreamConstantDurationIndicesServiceRequestV1, reader: jspb.BinaryReader): StreamConstantDurationIndicesServiceRequestV1;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export namespace StreamConstantDurationIndicesServiceRequestV1 {
|
|
33
|
+
export type AsObject = {
|
|
34
|
+
indexCode: string,
|
|
35
|
+
commoditiesList: Array<sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap[keyof sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap]>,
|
|
36
|
+
interval?: sdk_core_data_interval_pb.DataInterval.AsObject,
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
// source: sdk/stream/constant_duration_indices_v1/request.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global =
|
|
17
|
+
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
+
(typeof window !== 'undefined' && window) ||
|
|
19
|
+
(typeof global !== 'undefined' && global) ||
|
|
20
|
+
(typeof self !== 'undefined' && self) ||
|
|
21
|
+
(function () { return this; }).call(null) ||
|
|
22
|
+
Function('return this')();
|
|
23
|
+
|
|
24
|
+
var sdk_core_data_interval_pb = require('../../../sdk/core/data_interval_pb.js');
|
|
25
|
+
goog.object.extend(proto, sdk_core_data_interval_pb);
|
|
26
|
+
var sdk_stream_index_v1_commodity_pb = require('../../../sdk/stream/index_v1/commodity_pb.js');
|
|
27
|
+
goog.object.extend(proto, sdk_stream_index_v1_commodity_pb);
|
|
28
|
+
goog.exportSymbol('proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1', null, global);
|
|
29
|
+
/**
|
|
30
|
+
* Generated by JsPbCodeGenerator.
|
|
31
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
32
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
33
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
34
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
35
|
+
* valid.
|
|
36
|
+
* @extends {jspb.Message}
|
|
37
|
+
* @constructor
|
|
38
|
+
*/
|
|
39
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1 = function(opt_data) {
|
|
40
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.repeatedFields_, null);
|
|
41
|
+
};
|
|
42
|
+
goog.inherits(proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1, jspb.Message);
|
|
43
|
+
if (goog.DEBUG && !COMPILED) {
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
* @override
|
|
47
|
+
*/
|
|
48
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.displayName = 'proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1';
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* List of repeated fields within this message type.
|
|
53
|
+
* @private {!Array<number>}
|
|
54
|
+
* @const
|
|
55
|
+
*/
|
|
56
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.repeatedFields_ = [2];
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
61
|
+
/**
|
|
62
|
+
* Creates an object representation of this proto.
|
|
63
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
64
|
+
* Optional fields that are not set will be set to undefined.
|
|
65
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
66
|
+
* For the list of reserved names please see:
|
|
67
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
68
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
69
|
+
* JSPB instance for transitional soy proto support:
|
|
70
|
+
* http://goto/soy-param-migration
|
|
71
|
+
* @return {!Object}
|
|
72
|
+
*/
|
|
73
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.prototype.toObject = function(opt_includeInstance) {
|
|
74
|
+
return proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.toObject(opt_includeInstance, this);
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Static version of the {@see toObject} method.
|
|
80
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
81
|
+
* the JSPB instance for transitional soy proto support:
|
|
82
|
+
* http://goto/soy-param-migration
|
|
83
|
+
* @param {!proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1} msg The msg instance to transform.
|
|
84
|
+
* @return {!Object}
|
|
85
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
86
|
+
*/
|
|
87
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.toObject = function(includeInstance, msg) {
|
|
88
|
+
var f, obj = {
|
|
89
|
+
indexCode: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
90
|
+
commoditiesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
91
|
+
interval: (f = msg.getInterval()) && sdk_core_data_interval_pb.DataInterval.toObject(includeInstance, f)
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
if (includeInstance) {
|
|
95
|
+
obj.$jspbMessageInstance = msg;
|
|
96
|
+
}
|
|
97
|
+
return obj;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Deserializes binary data (in protobuf wire format).
|
|
104
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
105
|
+
* @return {!proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1}
|
|
106
|
+
*/
|
|
107
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.deserializeBinary = function(bytes) {
|
|
108
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
109
|
+
var msg = new proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1;
|
|
110
|
+
return proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.deserializeBinaryFromReader(msg, reader);
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
116
|
+
* given reader into the given message object.
|
|
117
|
+
* @param {!proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1} msg The message object to deserialize into.
|
|
118
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
119
|
+
* @return {!proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1}
|
|
120
|
+
*/
|
|
121
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.deserializeBinaryFromReader = function(msg, reader) {
|
|
122
|
+
while (reader.nextField()) {
|
|
123
|
+
if (reader.isEndGroup()) {
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
var field = reader.getFieldNumber();
|
|
127
|
+
switch (field) {
|
|
128
|
+
case 1:
|
|
129
|
+
var value = /** @type {string} */ (reader.readString());
|
|
130
|
+
msg.setIndexCode(value);
|
|
131
|
+
break;
|
|
132
|
+
case 2:
|
|
133
|
+
var values = /** @type {!Array<!proto.kaikosdk.StreamIndexCommodity>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
134
|
+
for (var i = 0; i < values.length; i++) {
|
|
135
|
+
msg.addCommodities(values[i]);
|
|
136
|
+
}
|
|
137
|
+
break;
|
|
138
|
+
case 3:
|
|
139
|
+
var value = new sdk_core_data_interval_pb.DataInterval;
|
|
140
|
+
reader.readMessage(value,sdk_core_data_interval_pb.DataInterval.deserializeBinaryFromReader);
|
|
141
|
+
msg.setInterval(value);
|
|
142
|
+
break;
|
|
143
|
+
default:
|
|
144
|
+
reader.skipField();
|
|
145
|
+
break;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
return msg;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
154
|
+
* @return {!Uint8Array}
|
|
155
|
+
*/
|
|
156
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.prototype.serializeBinary = function() {
|
|
157
|
+
var writer = new jspb.BinaryWriter();
|
|
158
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.serializeBinaryToWriter(this, writer);
|
|
159
|
+
return writer.getResultBuffer();
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
165
|
+
* format), writing to the given BinaryWriter.
|
|
166
|
+
* @param {!proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1} message
|
|
167
|
+
* @param {!jspb.BinaryWriter} writer
|
|
168
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
169
|
+
*/
|
|
170
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.serializeBinaryToWriter = function(message, writer) {
|
|
171
|
+
var f = undefined;
|
|
172
|
+
f = message.getIndexCode();
|
|
173
|
+
if (f.length > 0) {
|
|
174
|
+
writer.writeString(
|
|
175
|
+
1,
|
|
176
|
+
f
|
|
177
|
+
);
|
|
178
|
+
}
|
|
179
|
+
f = message.getCommoditiesList();
|
|
180
|
+
if (f.length > 0) {
|
|
181
|
+
writer.writePackedEnum(
|
|
182
|
+
2,
|
|
183
|
+
f
|
|
184
|
+
);
|
|
185
|
+
}
|
|
186
|
+
f = message.getInterval();
|
|
187
|
+
if (f != null) {
|
|
188
|
+
writer.writeMessage(
|
|
189
|
+
3,
|
|
190
|
+
f,
|
|
191
|
+
sdk_core_data_interval_pb.DataInterval.serializeBinaryToWriter
|
|
192
|
+
);
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* optional string index_code = 1;
|
|
199
|
+
* @return {string}
|
|
200
|
+
*/
|
|
201
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.prototype.getIndexCode = function() {
|
|
202
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @param {string} value
|
|
208
|
+
* @return {!proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1} returns this
|
|
209
|
+
*/
|
|
210
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.prototype.setIndexCode = function(value) {
|
|
211
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* repeated StreamIndexCommodity commodities = 2;
|
|
217
|
+
* @return {!Array<!proto.kaikosdk.StreamIndexCommodity>}
|
|
218
|
+
*/
|
|
219
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.prototype.getCommoditiesList = function() {
|
|
220
|
+
return /** @type {!Array<!proto.kaikosdk.StreamIndexCommodity>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* @param {!Array<!proto.kaikosdk.StreamIndexCommodity>} value
|
|
226
|
+
* @return {!proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1} returns this
|
|
227
|
+
*/
|
|
228
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.prototype.setCommoditiesList = function(value) {
|
|
229
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @param {!proto.kaikosdk.StreamIndexCommodity} value
|
|
235
|
+
* @param {number=} opt_index
|
|
236
|
+
* @return {!proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1} returns this
|
|
237
|
+
*/
|
|
238
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.prototype.addCommodities = function(value, opt_index) {
|
|
239
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Clears the list making it empty but non-null.
|
|
245
|
+
* @return {!proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1} returns this
|
|
246
|
+
*/
|
|
247
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.prototype.clearCommoditiesList = function() {
|
|
248
|
+
return this.setCommoditiesList([]);
|
|
249
|
+
};
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* optional DataInterval interval = 3;
|
|
254
|
+
* @return {?proto.kaikosdk.DataInterval}
|
|
255
|
+
*/
|
|
256
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.prototype.getInterval = function() {
|
|
257
|
+
return /** @type{?proto.kaikosdk.DataInterval} */ (
|
|
258
|
+
jspb.Message.getWrapperField(this, sdk_core_data_interval_pb.DataInterval, 3));
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @param {?proto.kaikosdk.DataInterval|undefined} value
|
|
264
|
+
* @return {!proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1} returns this
|
|
265
|
+
*/
|
|
266
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.prototype.setInterval = function(value) {
|
|
267
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Clears the message field making it undefined.
|
|
273
|
+
* @return {!proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1} returns this
|
|
274
|
+
*/
|
|
275
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.prototype.clearInterval = function() {
|
|
276
|
+
return this.setInterval(undefined);
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Returns whether this field is set.
|
|
282
|
+
* @return {boolean}
|
|
283
|
+
*/
|
|
284
|
+
proto.kaikosdk.StreamConstantDurationIndicesServiceRequestV1.prototype.hasInterval = function() {
|
|
285
|
+
return jspb.Message.getField(this, 3) != null;
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
goog.object.extend(exports, proto.kaikosdk);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
// package: kaikosdk
|
|
2
|
+
// file: sdk/stream/constant_duration_indices_v1/response.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
6
|
+
import * as sdk_stream_index_v1_commodity_pb from "../../../sdk/stream/index_v1/commodity_pb";
|
|
7
|
+
|
|
8
|
+
export class ConstantDurationFutureDetail extends jspb.Message {
|
|
9
|
+
getSymbol(): string;
|
|
10
|
+
setSymbol(value: string): void;
|
|
11
|
+
|
|
12
|
+
getPrice(): number;
|
|
13
|
+
setPrice(value: number): void;
|
|
14
|
+
|
|
15
|
+
hasExpiry(): boolean;
|
|
16
|
+
clearExpiry(): void;
|
|
17
|
+
getExpiry(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
18
|
+
setExpiry(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
19
|
+
|
|
20
|
+
hasTimestamp(): boolean;
|
|
21
|
+
clearTimestamp(): void;
|
|
22
|
+
getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
23
|
+
setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
24
|
+
|
|
25
|
+
getWeight(): number;
|
|
26
|
+
setWeight(value: number): void;
|
|
27
|
+
|
|
28
|
+
serializeBinary(): Uint8Array;
|
|
29
|
+
toObject(includeInstance?: boolean): ConstantDurationFutureDetail.AsObject;
|
|
30
|
+
static toObject(includeInstance: boolean, msg: ConstantDurationFutureDetail): ConstantDurationFutureDetail.AsObject;
|
|
31
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
32
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
33
|
+
static serializeBinaryToWriter(message: ConstantDurationFutureDetail, writer: jspb.BinaryWriter): void;
|
|
34
|
+
static deserializeBinary(bytes: Uint8Array): ConstantDurationFutureDetail;
|
|
35
|
+
static deserializeBinaryFromReader(message: ConstantDurationFutureDetail, reader: jspb.BinaryReader): ConstantDurationFutureDetail;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export namespace ConstantDurationFutureDetail {
|
|
39
|
+
export type AsObject = {
|
|
40
|
+
symbol: string,
|
|
41
|
+
price: number,
|
|
42
|
+
expiry?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
43
|
+
timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
44
|
+
weight: number,
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export class RateQuoteConversion extends jspb.Message {
|
|
49
|
+
getIndex(): string;
|
|
50
|
+
setIndex(value: string): void;
|
|
51
|
+
|
|
52
|
+
getValue(): number;
|
|
53
|
+
setValue(value: number): void;
|
|
54
|
+
|
|
55
|
+
hasTimestamp(): boolean;
|
|
56
|
+
clearTimestamp(): void;
|
|
57
|
+
getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
58
|
+
setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
59
|
+
|
|
60
|
+
serializeBinary(): Uint8Array;
|
|
61
|
+
toObject(includeInstance?: boolean): RateQuoteConversion.AsObject;
|
|
62
|
+
static toObject(includeInstance: boolean, msg: RateQuoteConversion): RateQuoteConversion.AsObject;
|
|
63
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
64
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
65
|
+
static serializeBinaryToWriter(message: RateQuoteConversion, writer: jspb.BinaryWriter): void;
|
|
66
|
+
static deserializeBinary(bytes: Uint8Array): RateQuoteConversion;
|
|
67
|
+
static deserializeBinaryFromReader(message: RateQuoteConversion, reader: jspb.BinaryReader): RateQuoteConversion;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export namespace RateQuoteConversion {
|
|
71
|
+
export type AsObject = {
|
|
72
|
+
index: string,
|
|
73
|
+
value: number,
|
|
74
|
+
timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export class ConstantDurationFuture extends jspb.Message {
|
|
79
|
+
getComputedCdf(): number;
|
|
80
|
+
setComputedCdf(value: number): void;
|
|
81
|
+
|
|
82
|
+
getExchange(): string;
|
|
83
|
+
setExchange(value: string): void;
|
|
84
|
+
|
|
85
|
+
hasFrontFuture(): boolean;
|
|
86
|
+
clearFrontFuture(): void;
|
|
87
|
+
getFrontFuture(): ConstantDurationFutureDetail | undefined;
|
|
88
|
+
setFrontFuture(value?: ConstantDurationFutureDetail): void;
|
|
89
|
+
|
|
90
|
+
hasBackFuture(): boolean;
|
|
91
|
+
clearBackFuture(): void;
|
|
92
|
+
getBackFuture(): ConstantDurationFutureDetail | undefined;
|
|
93
|
+
setBackFuture(value?: ConstantDurationFutureDetail): void;
|
|
94
|
+
|
|
95
|
+
getConstantDuration(): number;
|
|
96
|
+
setConstantDuration(value: number): void;
|
|
97
|
+
|
|
98
|
+
getStatus(): ConstantDurationFutureStatusMap[keyof ConstantDurationFutureStatusMap];
|
|
99
|
+
setStatus(value: ConstantDurationFutureStatusMap[keyof ConstantDurationFutureStatusMap]): void;
|
|
100
|
+
|
|
101
|
+
hasRateQuoteConversion(): boolean;
|
|
102
|
+
clearRateQuoteConversion(): void;
|
|
103
|
+
getRateQuoteConversion(): RateQuoteConversion | undefined;
|
|
104
|
+
setRateQuoteConversion(value?: RateQuoteConversion): void;
|
|
105
|
+
|
|
106
|
+
serializeBinary(): Uint8Array;
|
|
107
|
+
toObject(includeInstance?: boolean): ConstantDurationFuture.AsObject;
|
|
108
|
+
static toObject(includeInstance: boolean, msg: ConstantDurationFuture): ConstantDurationFuture.AsObject;
|
|
109
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
110
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
111
|
+
static serializeBinaryToWriter(message: ConstantDurationFuture, writer: jspb.BinaryWriter): void;
|
|
112
|
+
static deserializeBinary(bytes: Uint8Array): ConstantDurationFuture;
|
|
113
|
+
static deserializeBinaryFromReader(message: ConstantDurationFuture, reader: jspb.BinaryReader): ConstantDurationFuture;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export namespace ConstantDurationFuture {
|
|
117
|
+
export type AsObject = {
|
|
118
|
+
computedCdf: number,
|
|
119
|
+
exchange: string,
|
|
120
|
+
frontFuture?: ConstantDurationFutureDetail.AsObject,
|
|
121
|
+
backFuture?: ConstantDurationFutureDetail.AsObject,
|
|
122
|
+
constantDuration: number,
|
|
123
|
+
status: ConstantDurationFutureStatusMap[keyof ConstantDurationFutureStatusMap],
|
|
124
|
+
rateQuoteConversion?: RateQuoteConversion.AsObject,
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export class StreamConstantDurationIndicesServiceResponseComposition extends jspb.Message {
|
|
129
|
+
getBase(): string;
|
|
130
|
+
setBase(value: string): void;
|
|
131
|
+
|
|
132
|
+
getQuote(): string;
|
|
133
|
+
setQuote(value: string): void;
|
|
134
|
+
|
|
135
|
+
clearDataList(): void;
|
|
136
|
+
getDataList(): Array<ConstantDurationFuture>;
|
|
137
|
+
setDataList(value: Array<ConstantDurationFuture>): void;
|
|
138
|
+
addData(value?: ConstantDurationFuture, index?: number): ConstantDurationFuture;
|
|
139
|
+
|
|
140
|
+
serializeBinary(): Uint8Array;
|
|
141
|
+
toObject(includeInstance?: boolean): StreamConstantDurationIndicesServiceResponseComposition.AsObject;
|
|
142
|
+
static toObject(includeInstance: boolean, msg: StreamConstantDurationIndicesServiceResponseComposition): StreamConstantDurationIndicesServiceResponseComposition.AsObject;
|
|
143
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
144
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
145
|
+
static serializeBinaryToWriter(message: StreamConstantDurationIndicesServiceResponseComposition, writer: jspb.BinaryWriter): void;
|
|
146
|
+
static deserializeBinary(bytes: Uint8Array): StreamConstantDurationIndicesServiceResponseComposition;
|
|
147
|
+
static deserializeBinaryFromReader(message: StreamConstantDurationIndicesServiceResponseComposition, reader: jspb.BinaryReader): StreamConstantDurationIndicesServiceResponseComposition;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export namespace StreamConstantDurationIndicesServiceResponseComposition {
|
|
151
|
+
export type AsObject = {
|
|
152
|
+
base: string,
|
|
153
|
+
quote: string,
|
|
154
|
+
dataList: Array<ConstantDurationFuture.AsObject>,
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export class StreamConstantDurationIndicesServiceResponseV1 extends jspb.Message {
|
|
159
|
+
getCommodity(): sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap[keyof sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap];
|
|
160
|
+
setCommodity(value: sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap[keyof sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap]): void;
|
|
161
|
+
|
|
162
|
+
getIndexCode(): string;
|
|
163
|
+
setIndexCode(value: string): void;
|
|
164
|
+
|
|
165
|
+
hasComposition(): boolean;
|
|
166
|
+
clearComposition(): void;
|
|
167
|
+
getComposition(): StreamConstantDurationIndicesServiceResponseComposition | undefined;
|
|
168
|
+
setComposition(value?: StreamConstantDurationIndicesServiceResponseComposition): void;
|
|
169
|
+
|
|
170
|
+
hasStartTime(): boolean;
|
|
171
|
+
clearStartTime(): void;
|
|
172
|
+
getStartTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
173
|
+
setStartTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
174
|
+
|
|
175
|
+
hasEndTime(): boolean;
|
|
176
|
+
clearEndTime(): void;
|
|
177
|
+
getEndTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
178
|
+
setEndTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
179
|
+
|
|
180
|
+
hasTsEvent(): boolean;
|
|
181
|
+
clearTsEvent(): void;
|
|
182
|
+
getTsEvent(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
183
|
+
setTsEvent(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
184
|
+
|
|
185
|
+
serializeBinary(): Uint8Array;
|
|
186
|
+
toObject(includeInstance?: boolean): StreamConstantDurationIndicesServiceResponseV1.AsObject;
|
|
187
|
+
static toObject(includeInstance: boolean, msg: StreamConstantDurationIndicesServiceResponseV1): StreamConstantDurationIndicesServiceResponseV1.AsObject;
|
|
188
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
189
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
190
|
+
static serializeBinaryToWriter(message: StreamConstantDurationIndicesServiceResponseV1, writer: jspb.BinaryWriter): void;
|
|
191
|
+
static deserializeBinary(bytes: Uint8Array): StreamConstantDurationIndicesServiceResponseV1;
|
|
192
|
+
static deserializeBinaryFromReader(message: StreamConstantDurationIndicesServiceResponseV1, reader: jspb.BinaryReader): StreamConstantDurationIndicesServiceResponseV1;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export namespace StreamConstantDurationIndicesServiceResponseV1 {
|
|
196
|
+
export type AsObject = {
|
|
197
|
+
commodity: sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap[keyof sdk_stream_index_v1_commodity_pb.StreamIndexCommodityMap],
|
|
198
|
+
indexCode: string,
|
|
199
|
+
composition?: StreamConstantDurationIndicesServiceResponseComposition.AsObject,
|
|
200
|
+
startTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
201
|
+
endTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
202
|
+
tsEvent?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export interface ConstantDurationFutureStatusMap {
|
|
207
|
+
CDF_UNKNOWN: 0;
|
|
208
|
+
CDF_SUCCESS: 1;
|
|
209
|
+
CDF_ERROR: 2;
|
|
210
|
+
CDF_NO_FUTURE: 3;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export const ConstantDurationFutureStatus: ConstantDurationFutureStatusMap;
|
|
214
|
+
|