@kaiko-data/sdk-node 1.0.3 → 1.1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaiko-data/sdk-node",
3
- "version": "1.0.3",
3
+ "version": "1.1.0",
4
4
  "description": "Kaiko Node SDK",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -12,6 +12,8 @@ import * as sdk_stream_aggregates_direct_exchange_rate_v1_request_pb from "../sd
12
12
  import * as sdk_stream_aggregates_direct_exchange_rate_v1_response_pb from "../sdk/stream/aggregates_direct_exchange_rate_v1/response_pb";
13
13
  import * as sdk_stream_aggregates_spot_exchange_rate_v1_request_pb from "../sdk/stream/aggregates_spot_exchange_rate_v1/request_pb";
14
14
  import * as sdk_stream_aggregates_spot_exchange_rate_v1_response_pb from "../sdk/stream/aggregates_spot_exchange_rate_v1/response_pb";
15
+ import * as sdk_stream_derivatives_price_v2_request_pb from "../sdk/stream/derivatives_price_v2/request_pb";
16
+ import * as sdk_stream_derivatives_price_v2_response_pb from "../sdk/stream/derivatives_price_v2/response_pb";
15
17
  import * as sdk_stream_index_v1_request_pb from "../sdk/stream/index_v1/request_pb";
16
18
  import * as sdk_stream_index_v1_response_pb from "../sdk/stream/index_v1/response_pb";
17
19
  import * as sdk_stream_market_update_v1_request_pb from "../sdk/stream/market_update_v1/request_pb";
@@ -100,6 +102,22 @@ export class StreamAggregatesVWAPServiceV1Client extends grpc.Client {
100
102
  subscribe(argument: sdk_stream_aggregates_vwap_v1_request_pb.StreamAggregatesVWAPRequestV1, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<sdk_stream_aggregates_vwap_v1_response_pb.StreamAggregatesVWAPResponseV1>;
101
103
  }
102
104
 
105
+ interface IStreamDerivativesPriceServiceV2Service extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
106
+ subscribe: grpc.MethodDefinition<sdk_stream_derivatives_price_v2_request_pb.StreamDerivativesPriceRequestV2, sdk_stream_derivatives_price_v2_response_pb.StreamDerivativesPriceResponseV2>;
107
+ }
108
+
109
+ export const StreamDerivativesPriceServiceV2Service: IStreamDerivativesPriceServiceV2Service;
110
+
111
+ export interface IStreamDerivativesPriceServiceV2Server extends grpc.UntypedServiceImplementation {
112
+ subscribe: grpc.handleServerStreamingCall<sdk_stream_derivatives_price_v2_request_pb.StreamDerivativesPriceRequestV2, sdk_stream_derivatives_price_v2_response_pb.StreamDerivativesPriceResponseV2>;
113
+ }
114
+
115
+ export class StreamDerivativesPriceServiceV2Client extends grpc.Client {
116
+ constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
117
+ subscribe(argument: sdk_stream_derivatives_price_v2_request_pb.StreamDerivativesPriceRequestV2, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<sdk_stream_derivatives_price_v2_response_pb.StreamDerivativesPriceResponseV2>;
118
+ subscribe(argument: sdk_stream_derivatives_price_v2_request_pb.StreamDerivativesPriceRequestV2, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<sdk_stream_derivatives_price_v2_response_pb.StreamDerivativesPriceResponseV2>;
119
+ }
120
+
103
121
  interface IStreamIndexServiceV1Service extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
104
122
  subscribe: grpc.MethodDefinition<sdk_stream_index_v1_request_pb.StreamIndexServiceRequestV1, sdk_stream_index_v1_response_pb.StreamIndexServiceResponseV1>;
105
123
  }
@@ -10,6 +10,8 @@ var sdk_stream_aggregates_direct_exchange_rate_v1_request_pb = require('../sdk/s
10
10
  var sdk_stream_aggregates_direct_exchange_rate_v1_response_pb = require('../sdk/stream/aggregates_direct_exchange_rate_v1/response_pb.js');
11
11
  var sdk_stream_aggregates_spot_exchange_rate_v1_request_pb = require('../sdk/stream/aggregates_spot_exchange_rate_v1/request_pb.js');
12
12
  var sdk_stream_aggregates_spot_exchange_rate_v1_response_pb = require('../sdk/stream/aggregates_spot_exchange_rate_v1/response_pb.js');
13
+ var sdk_stream_derivatives_price_v2_request_pb = require('../sdk/stream/derivatives_price_v2/request_pb.js');
14
+ var sdk_stream_derivatives_price_v2_response_pb = require('../sdk/stream/derivatives_price_v2/response_pb.js');
13
15
  var sdk_stream_index_v1_request_pb = require('../sdk/stream/index_v1/request_pb.js');
14
16
  var sdk_stream_index_v1_response_pb = require('../sdk/stream/index_v1/response_pb.js');
15
17
  var sdk_stream_market_update_v1_request_pb = require('../sdk/stream/market_update_v1/request_pb.js');
@@ -105,6 +107,28 @@ function deserialize_kaikosdk_StreamAggregatesVWAPResponseV1(buffer_arg) {
105
107
  return sdk_stream_aggregates_vwap_v1_response_pb.StreamAggregatesVWAPResponseV1.deserializeBinary(new Uint8Array(buffer_arg));
106
108
  }
107
109
 
110
+ function serialize_kaikosdk_StreamDerivativesPriceRequestV2(arg) {
111
+ if (!(arg instanceof sdk_stream_derivatives_price_v2_request_pb.StreamDerivativesPriceRequestV2)) {
112
+ throw new Error('Expected argument of type kaikosdk.StreamDerivativesPriceRequestV2');
113
+ }
114
+ return Buffer.from(arg.serializeBinary());
115
+ }
116
+
117
+ function deserialize_kaikosdk_StreamDerivativesPriceRequestV2(buffer_arg) {
118
+ return sdk_stream_derivatives_price_v2_request_pb.StreamDerivativesPriceRequestV2.deserializeBinary(new Uint8Array(buffer_arg));
119
+ }
120
+
121
+ function serialize_kaikosdk_StreamDerivativesPriceResponseV2(arg) {
122
+ if (!(arg instanceof sdk_stream_derivatives_price_v2_response_pb.StreamDerivativesPriceResponseV2)) {
123
+ throw new Error('Expected argument of type kaikosdk.StreamDerivativesPriceResponseV2');
124
+ }
125
+ return Buffer.from(arg.serializeBinary());
126
+ }
127
+
128
+ function deserialize_kaikosdk_StreamDerivativesPriceResponseV2(buffer_arg) {
129
+ return sdk_stream_derivatives_price_v2_response_pb.StreamDerivativesPriceResponseV2.deserializeBinary(new Uint8Array(buffer_arg));
130
+ }
131
+
108
132
  function serialize_kaikosdk_StreamIndexServiceRequestV1(arg) {
109
133
  if (!(arg instanceof sdk_stream_index_v1_request_pb.StreamIndexServiceRequestV1)) {
110
134
  throw new Error('Expected argument of type kaikosdk.StreamIndexServiceRequestV1');
@@ -257,6 +281,23 @@ subscribe: {
257
281
  };
258
282
 
259
283
  exports.StreamAggregatesVWAPServiceV1Client = grpc.makeGenericClientConstructor(StreamAggregatesVWAPServiceV1Service);
284
+ // Service for streaming derivatives price V2
285
+ var StreamDerivativesPriceServiceV2Service = exports.StreamDerivativesPriceServiceV2Service = {
286
+ // Subscribe
287
+ subscribe: {
288
+ path: '/kaikosdk.StreamDerivativesPriceServiceV2/Subscribe',
289
+ requestStream: false,
290
+ responseStream: true,
291
+ requestType: sdk_stream_derivatives_price_v2_request_pb.StreamDerivativesPriceRequestV2,
292
+ responseType: sdk_stream_derivatives_price_v2_response_pb.StreamDerivativesPriceResponseV2,
293
+ requestSerialize: serialize_kaikosdk_StreamDerivativesPriceRequestV2,
294
+ requestDeserialize: deserialize_kaikosdk_StreamDerivativesPriceRequestV2,
295
+ responseSerialize: serialize_kaikosdk_StreamDerivativesPriceResponseV2,
296
+ responseDeserialize: deserialize_kaikosdk_StreamDerivativesPriceResponseV2,
297
+ },
298
+ };
299
+
300
+ exports.StreamDerivativesPriceServiceV2Client = grpc.makeGenericClientConstructor(StreamDerivativesPriceServiceV2Service);
260
301
  // Service for streaming index V1
261
302
  var StreamIndexServiceV1Service = exports.StreamIndexServiceV1Service = {
262
303
  // Subscribe
package/sdk/sdk_pb.d.ts CHANGED
@@ -10,6 +10,8 @@ import * as sdk_stream_aggregates_direct_exchange_rate_v1_request_pb from "../sd
10
10
  import * as sdk_stream_aggregates_direct_exchange_rate_v1_response_pb from "../sdk/stream/aggregates_direct_exchange_rate_v1/response_pb";
11
11
  import * as sdk_stream_aggregates_spot_exchange_rate_v1_request_pb from "../sdk/stream/aggregates_spot_exchange_rate_v1/request_pb";
12
12
  import * as sdk_stream_aggregates_spot_exchange_rate_v1_response_pb from "../sdk/stream/aggregates_spot_exchange_rate_v1/response_pb";
13
+ import * as sdk_stream_derivatives_price_v2_request_pb from "../sdk/stream/derivatives_price_v2/request_pb";
14
+ import * as sdk_stream_derivatives_price_v2_response_pb from "../sdk/stream/derivatives_price_v2/response_pb";
13
15
  import * as sdk_stream_index_v1_request_pb from "../sdk/stream/index_v1/request_pb";
14
16
  import * as sdk_stream_index_v1_response_pb from "../sdk/stream/index_v1/response_pb";
15
17
  import * as sdk_stream_market_update_v1_request_pb from "../sdk/stream/market_update_v1/request_pb";
package/sdk/sdk_pb.js CHANGED
@@ -31,6 +31,10 @@ var sdk_stream_aggregates_spot_exchange_rate_v1_request_pb = require('../sdk/str
31
31
  goog.object.extend(proto, sdk_stream_aggregates_spot_exchange_rate_v1_request_pb);
32
32
  var sdk_stream_aggregates_spot_exchange_rate_v1_response_pb = require('../sdk/stream/aggregates_spot_exchange_rate_v1/response_pb.js');
33
33
  goog.object.extend(proto, sdk_stream_aggregates_spot_exchange_rate_v1_response_pb);
34
+ var sdk_stream_derivatives_price_v2_request_pb = require('../sdk/stream/derivatives_price_v2/request_pb.js');
35
+ goog.object.extend(proto, sdk_stream_derivatives_price_v2_request_pb);
36
+ var sdk_stream_derivatives_price_v2_response_pb = require('../sdk/stream/derivatives_price_v2/response_pb.js');
37
+ goog.object.extend(proto, sdk_stream_derivatives_price_v2_response_pb);
34
38
  var sdk_stream_index_v1_request_pb = require('../sdk/stream/index_v1/request_pb.js');
35
39
  goog.object.extend(proto, sdk_stream_index_v1_request_pb);
36
40
  var sdk_stream_index_v1_response_pb = require('../sdk/stream/index_v1/response_pb.js');
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1,28 @@
1
+ // package: kaikosdk
2
+ // file: sdk/stream/derivatives_price_v2/request.proto
3
+
4
+ import * as jspb from "google-protobuf";
5
+ import * as sdk_core_instrument_criteria_pb from "../../../sdk/core/instrument_criteria_pb";
6
+
7
+ export class StreamDerivativesPriceRequestV2 extends jspb.Message {
8
+ hasInstrumentCriteria(): boolean;
9
+ clearInstrumentCriteria(): void;
10
+ getInstrumentCriteria(): sdk_core_instrument_criteria_pb.InstrumentCriteria | undefined;
11
+ setInstrumentCriteria(value?: sdk_core_instrument_criteria_pb.InstrumentCriteria): void;
12
+
13
+ serializeBinary(): Uint8Array;
14
+ toObject(includeInstance?: boolean): StreamDerivativesPriceRequestV2.AsObject;
15
+ static toObject(includeInstance: boolean, msg: StreamDerivativesPriceRequestV2): StreamDerivativesPriceRequestV2.AsObject;
16
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
17
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
18
+ static serializeBinaryToWriter(message: StreamDerivativesPriceRequestV2, writer: jspb.BinaryWriter): void;
19
+ static deserializeBinary(bytes: Uint8Array): StreamDerivativesPriceRequestV2;
20
+ static deserializeBinaryFromReader(message: StreamDerivativesPriceRequestV2, reader: jspb.BinaryReader): StreamDerivativesPriceRequestV2;
21
+ }
22
+
23
+ export namespace StreamDerivativesPriceRequestV2 {
24
+ export type AsObject = {
25
+ instrumentCriteria?: sdk_core_instrument_criteria_pb.InstrumentCriteria.AsObject,
26
+ }
27
+ }
28
+
@@ -0,0 +1,193 @@
1
+ // source: sdk/stream/derivatives_price_v2/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 = Function('return this')();
17
+
18
+ var sdk_core_instrument_criteria_pb = require('../../../sdk/core/instrument_criteria_pb.js');
19
+ goog.object.extend(proto, sdk_core_instrument_criteria_pb);
20
+ goog.exportSymbol('proto.kaikosdk.StreamDerivativesPriceRequestV2', null, global);
21
+ /**
22
+ * Generated by JsPbCodeGenerator.
23
+ * @param {Array=} opt_data Optional initial data array, typically from a
24
+ * server response, or constructed directly in Javascript. The array is used
25
+ * in place and becomes part of the constructed object. It is not cloned.
26
+ * If no data is provided, the constructed object will be empty, but still
27
+ * valid.
28
+ * @extends {jspb.Message}
29
+ * @constructor
30
+ */
31
+ proto.kaikosdk.StreamDerivativesPriceRequestV2 = function(opt_data) {
32
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
33
+ };
34
+ goog.inherits(proto.kaikosdk.StreamDerivativesPriceRequestV2, jspb.Message);
35
+ if (goog.DEBUG && !COMPILED) {
36
+ /**
37
+ * @public
38
+ * @override
39
+ */
40
+ proto.kaikosdk.StreamDerivativesPriceRequestV2.displayName = 'proto.kaikosdk.StreamDerivativesPriceRequestV2';
41
+ }
42
+
43
+
44
+
45
+ if (jspb.Message.GENERATE_TO_OBJECT) {
46
+ /**
47
+ * Creates an object representation of this proto.
48
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
49
+ * Optional fields that are not set will be set to undefined.
50
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
51
+ * For the list of reserved names please see:
52
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
54
+ * JSPB instance for transitional soy proto support:
55
+ * http://goto/soy-param-migration
56
+ * @return {!Object}
57
+ */
58
+ proto.kaikosdk.StreamDerivativesPriceRequestV2.prototype.toObject = function(opt_includeInstance) {
59
+ return proto.kaikosdk.StreamDerivativesPriceRequestV2.toObject(opt_includeInstance, this);
60
+ };
61
+
62
+
63
+ /**
64
+ * Static version of the {@see toObject} method.
65
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
66
+ * the JSPB instance for transitional soy proto support:
67
+ * http://goto/soy-param-migration
68
+ * @param {!proto.kaikosdk.StreamDerivativesPriceRequestV2} msg The msg instance to transform.
69
+ * @return {!Object}
70
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71
+ */
72
+ proto.kaikosdk.StreamDerivativesPriceRequestV2.toObject = function(includeInstance, msg) {
73
+ var f, obj = {
74
+ instrumentCriteria: (f = msg.getInstrumentCriteria()) && sdk_core_instrument_criteria_pb.InstrumentCriteria.toObject(includeInstance, f)
75
+ };
76
+
77
+ if (includeInstance) {
78
+ obj.$jspbMessageInstance = msg;
79
+ }
80
+ return obj;
81
+ };
82
+ }
83
+
84
+
85
+ /**
86
+ * Deserializes binary data (in protobuf wire format).
87
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
88
+ * @return {!proto.kaikosdk.StreamDerivativesPriceRequestV2}
89
+ */
90
+ proto.kaikosdk.StreamDerivativesPriceRequestV2.deserializeBinary = function(bytes) {
91
+ var reader = new jspb.BinaryReader(bytes);
92
+ var msg = new proto.kaikosdk.StreamDerivativesPriceRequestV2;
93
+ return proto.kaikosdk.StreamDerivativesPriceRequestV2.deserializeBinaryFromReader(msg, reader);
94
+ };
95
+
96
+
97
+ /**
98
+ * Deserializes binary data (in protobuf wire format) from the
99
+ * given reader into the given message object.
100
+ * @param {!proto.kaikosdk.StreamDerivativesPriceRequestV2} msg The message object to deserialize into.
101
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
102
+ * @return {!proto.kaikosdk.StreamDerivativesPriceRequestV2}
103
+ */
104
+ proto.kaikosdk.StreamDerivativesPriceRequestV2.deserializeBinaryFromReader = function(msg, reader) {
105
+ while (reader.nextField()) {
106
+ if (reader.isEndGroup()) {
107
+ break;
108
+ }
109
+ var field = reader.getFieldNumber();
110
+ switch (field) {
111
+ case 1:
112
+ var value = new sdk_core_instrument_criteria_pb.InstrumentCriteria;
113
+ reader.readMessage(value,sdk_core_instrument_criteria_pb.InstrumentCriteria.deserializeBinaryFromReader);
114
+ msg.setInstrumentCriteria(value);
115
+ break;
116
+ default:
117
+ reader.skipField();
118
+ break;
119
+ }
120
+ }
121
+ return msg;
122
+ };
123
+
124
+
125
+ /**
126
+ * Serializes the message to binary data (in protobuf wire format).
127
+ * @return {!Uint8Array}
128
+ */
129
+ proto.kaikosdk.StreamDerivativesPriceRequestV2.prototype.serializeBinary = function() {
130
+ var writer = new jspb.BinaryWriter();
131
+ proto.kaikosdk.StreamDerivativesPriceRequestV2.serializeBinaryToWriter(this, writer);
132
+ return writer.getResultBuffer();
133
+ };
134
+
135
+
136
+ /**
137
+ * Serializes the given message to binary data (in protobuf wire
138
+ * format), writing to the given BinaryWriter.
139
+ * @param {!proto.kaikosdk.StreamDerivativesPriceRequestV2} message
140
+ * @param {!jspb.BinaryWriter} writer
141
+ * @suppress {unusedLocalVariables} f is only used for nested messages
142
+ */
143
+ proto.kaikosdk.StreamDerivativesPriceRequestV2.serializeBinaryToWriter = function(message, writer) {
144
+ var f = undefined;
145
+ f = message.getInstrumentCriteria();
146
+ if (f != null) {
147
+ writer.writeMessage(
148
+ 1,
149
+ f,
150
+ sdk_core_instrument_criteria_pb.InstrumentCriteria.serializeBinaryToWriter
151
+ );
152
+ }
153
+ };
154
+
155
+
156
+ /**
157
+ * optional InstrumentCriteria instrument_criteria = 1;
158
+ * @return {?proto.kaikosdk.InstrumentCriteria}
159
+ */
160
+ proto.kaikosdk.StreamDerivativesPriceRequestV2.prototype.getInstrumentCriteria = function() {
161
+ return /** @type{?proto.kaikosdk.InstrumentCriteria} */ (
162
+ jspb.Message.getWrapperField(this, sdk_core_instrument_criteria_pb.InstrumentCriteria, 1));
163
+ };
164
+
165
+
166
+ /**
167
+ * @param {?proto.kaikosdk.InstrumentCriteria|undefined} value
168
+ * @return {!proto.kaikosdk.StreamDerivativesPriceRequestV2} returns this
169
+ */
170
+ proto.kaikosdk.StreamDerivativesPriceRequestV2.prototype.setInstrumentCriteria = function(value) {
171
+ return jspb.Message.setWrapperField(this, 1, value);
172
+ };
173
+
174
+
175
+ /**
176
+ * Clears the message field making it undefined.
177
+ * @return {!proto.kaikosdk.StreamDerivativesPriceRequestV2} returns this
178
+ */
179
+ proto.kaikosdk.StreamDerivativesPriceRequestV2.prototype.clearInstrumentCriteria = function() {
180
+ return this.setInstrumentCriteria(undefined);
181
+ };
182
+
183
+
184
+ /**
185
+ * Returns whether this field is set.
186
+ * @return {boolean}
187
+ */
188
+ proto.kaikosdk.StreamDerivativesPriceRequestV2.prototype.hasInstrumentCriteria = function() {
189
+ return jspb.Message.getField(this, 1) != null;
190
+ };
191
+
192
+
193
+ 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,56 @@
1
+ // package: kaikosdk
2
+ // file: sdk/stream/derivatives_price_v2/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_core_wrappers_pb from "../../../sdk/core/wrappers_pb";
7
+
8
+ export class StreamDerivativesPriceResponseV2 extends jspb.Message {
9
+ getClass(): string;
10
+ setClass(value: string): void;
11
+
12
+ getCode(): string;
13
+ setCode(value: string): void;
14
+
15
+ getExchange(): string;
16
+ setExchange(value: string): void;
17
+
18
+ getValuesMap(): jspb.Map<string, string>;
19
+ clearValuesMap(): void;
20
+ hasTsExchange(): boolean;
21
+ clearTsExchange(): void;
22
+ getTsExchange(): sdk_core_wrappers_pb.TimestampValue | undefined;
23
+ setTsExchange(value?: sdk_core_wrappers_pb.TimestampValue): void;
24
+
25
+ hasTsCollection(): boolean;
26
+ clearTsCollection(): void;
27
+ getTsCollection(): sdk_core_wrappers_pb.TimestampValue | undefined;
28
+ setTsCollection(value?: sdk_core_wrappers_pb.TimestampValue): void;
29
+
30
+ hasTsEvent(): boolean;
31
+ clearTsEvent(): void;
32
+ getTsEvent(): google_protobuf_timestamp_pb.Timestamp | undefined;
33
+ setTsEvent(value?: google_protobuf_timestamp_pb.Timestamp): void;
34
+
35
+ serializeBinary(): Uint8Array;
36
+ toObject(includeInstance?: boolean): StreamDerivativesPriceResponseV2.AsObject;
37
+ static toObject(includeInstance: boolean, msg: StreamDerivativesPriceResponseV2): StreamDerivativesPriceResponseV2.AsObject;
38
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
39
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
40
+ static serializeBinaryToWriter(message: StreamDerivativesPriceResponseV2, writer: jspb.BinaryWriter): void;
41
+ static deserializeBinary(bytes: Uint8Array): StreamDerivativesPriceResponseV2;
42
+ static deserializeBinaryFromReader(message: StreamDerivativesPriceResponseV2, reader: jspb.BinaryReader): StreamDerivativesPriceResponseV2;
43
+ }
44
+
45
+ export namespace StreamDerivativesPriceResponseV2 {
46
+ export type AsObject = {
47
+ pb_class: string,
48
+ code: string,
49
+ exchange: string,
50
+ valuesMap: Array<[string, string]>,
51
+ tsExchange?: sdk_core_wrappers_pb.TimestampValue.AsObject,
52
+ tsCollection?: sdk_core_wrappers_pb.TimestampValue.AsObject,
53
+ tsEvent?: google_protobuf_timestamp_pb.Timestamp.AsObject,
54
+ }
55
+ }
56
+