@kaiko-data/sdk-node 1.19.1 → 1.21.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 +20 -20
- package/sdk/sdk_grpc_pb.js +44 -44
- package/sdk/sdk_pb.d.ts +4 -4
- package/sdk/sdk_pb.js +8 -8
- package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/request_pb.d.ts +14 -8
- package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/request_pb.js +100 -49
- package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/response_pb.d.ts +8 -8
- package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/response_pb.js +44 -44
- package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/request_pb.d.ts +14 -8
- package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/request_pb.js +100 -49
- package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/response_pb.d.ts +8 -8
- package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/response_pb.js +44 -44
- /package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/request_grpc_pb.d.ts +0 -0
- /package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/request_grpc_pb.js +0 -0
- /package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/response_grpc_pb.d.ts +0 -0
- /package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/response_grpc_pb.js +0 -0
- /package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/request_grpc_pb.d.ts +0 -0
- /package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/request_grpc_pb.js +0 -0
- /package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/response_grpc_pb.d.ts +0 -0
- /package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/response_grpc_pb.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// source: sdk/stream/
|
|
1
|
+
// source: sdk/stream/aggregates_spot_exchange_rate_v2/request.proto
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
@@ -25,7 +25,7 @@ var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/durat
|
|
|
25
25
|
goog.object.extend(proto, google_protobuf_duration_pb);
|
|
26
26
|
var sdk_core_assets_pb = require('../../../sdk/core/assets_pb.js');
|
|
27
27
|
goog.object.extend(proto, sdk_core_assets_pb);
|
|
28
|
-
goog.exportSymbol('proto.kaikosdk.
|
|
28
|
+
goog.exportSymbol('proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1', null, global);
|
|
29
29
|
/**
|
|
30
30
|
* Generated by JsPbCodeGenerator.
|
|
31
31
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -36,16 +36,16 @@ goog.exportSymbol('proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2',
|
|
|
36
36
|
* @extends {jspb.Message}
|
|
37
37
|
* @constructor
|
|
38
38
|
*/
|
|
39
|
-
proto.kaikosdk.
|
|
40
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.kaikosdk.
|
|
39
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1 = function(opt_data) {
|
|
40
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.repeatedFields_, null);
|
|
41
41
|
};
|
|
42
|
-
goog.inherits(proto.kaikosdk.
|
|
42
|
+
goog.inherits(proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1, jspb.Message);
|
|
43
43
|
if (goog.DEBUG && !COMPILED) {
|
|
44
44
|
/**
|
|
45
45
|
* @public
|
|
46
46
|
* @override
|
|
47
47
|
*/
|
|
48
|
-
proto.kaikosdk.
|
|
48
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.displayName = 'proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1';
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/**
|
|
@@ -53,7 +53,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
53
53
|
* @private {!Array<number>}
|
|
54
54
|
* @const
|
|
55
55
|
*/
|
|
56
|
-
proto.kaikosdk.
|
|
56
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.repeatedFields_ = [3,4];
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
@@ -70,8 +70,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
70
70
|
* http://goto/soy-param-migration
|
|
71
71
|
* @return {!Object}
|
|
72
72
|
*/
|
|
73
|
-
proto.kaikosdk.
|
|
74
|
-
return proto.kaikosdk.
|
|
73
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.toObject = function(opt_includeInstance) {
|
|
74
|
+
return proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.toObject(opt_includeInstance, this);
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
|
|
@@ -80,16 +80,17 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.prototype.toObject =
|
|
|
80
80
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
81
81
|
* the JSPB instance for transitional soy proto support:
|
|
82
82
|
* http://goto/soy-param-migration
|
|
83
|
-
* @param {!proto.kaikosdk.
|
|
83
|
+
* @param {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} msg The msg instance to transform.
|
|
84
84
|
* @return {!Object}
|
|
85
85
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
86
86
|
*/
|
|
87
|
-
proto.kaikosdk.
|
|
87
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.toObject = function(includeInstance, msg) {
|
|
88
88
|
var f, obj = {
|
|
89
89
|
assets: (f = msg.getAssets()) && sdk_core_assets_pb.Assets.toObject(includeInstance, f),
|
|
90
90
|
window: (f = msg.getWindow()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f),
|
|
91
91
|
includeExchangesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
92
|
-
excludeExchangesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
92
|
+
excludeExchangesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
93
|
+
updateFrequency: (f = msg.getUpdateFrequency()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f)
|
|
93
94
|
};
|
|
94
95
|
|
|
95
96
|
if (includeInstance) {
|
|
@@ -103,23 +104,23 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.toObject = function(i
|
|
|
103
104
|
/**
|
|
104
105
|
* Deserializes binary data (in protobuf wire format).
|
|
105
106
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
106
|
-
* @return {!proto.kaikosdk.
|
|
107
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1}
|
|
107
108
|
*/
|
|
108
|
-
proto.kaikosdk.
|
|
109
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.deserializeBinary = function(bytes) {
|
|
109
110
|
var reader = new jspb.BinaryReader(bytes);
|
|
110
|
-
var msg = new proto.kaikosdk.
|
|
111
|
-
return proto.kaikosdk.
|
|
111
|
+
var msg = new proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1;
|
|
112
|
+
return proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.deserializeBinaryFromReader(msg, reader);
|
|
112
113
|
};
|
|
113
114
|
|
|
114
115
|
|
|
115
116
|
/**
|
|
116
117
|
* Deserializes binary data (in protobuf wire format) from the
|
|
117
118
|
* given reader into the given message object.
|
|
118
|
-
* @param {!proto.kaikosdk.
|
|
119
|
+
* @param {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} msg The message object to deserialize into.
|
|
119
120
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
120
|
-
* @return {!proto.kaikosdk.
|
|
121
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1}
|
|
121
122
|
*/
|
|
122
|
-
proto.kaikosdk.
|
|
123
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.deserializeBinaryFromReader = function(msg, reader) {
|
|
123
124
|
while (reader.nextField()) {
|
|
124
125
|
if (reader.isEndGroup()) {
|
|
125
126
|
break;
|
|
@@ -144,6 +145,11 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.deserializeBinaryFrom
|
|
|
144
145
|
var value = /** @type {string} */ (reader.readString());
|
|
145
146
|
msg.addExcludeExchanges(value);
|
|
146
147
|
break;
|
|
148
|
+
case 5:
|
|
149
|
+
var value = new google_protobuf_duration_pb.Duration;
|
|
150
|
+
reader.readMessage(value,google_protobuf_duration_pb.Duration.deserializeBinaryFromReader);
|
|
151
|
+
msg.setUpdateFrequency(value);
|
|
152
|
+
break;
|
|
147
153
|
default:
|
|
148
154
|
reader.skipField();
|
|
149
155
|
break;
|
|
@@ -157,9 +163,9 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.deserializeBinaryFrom
|
|
|
157
163
|
* Serializes the message to binary data (in protobuf wire format).
|
|
158
164
|
* @return {!Uint8Array}
|
|
159
165
|
*/
|
|
160
|
-
proto.kaikosdk.
|
|
166
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.serializeBinary = function() {
|
|
161
167
|
var writer = new jspb.BinaryWriter();
|
|
162
|
-
proto.kaikosdk.
|
|
168
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.serializeBinaryToWriter(this, writer);
|
|
163
169
|
return writer.getResultBuffer();
|
|
164
170
|
};
|
|
165
171
|
|
|
@@ -167,11 +173,11 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.prototype.serializeBi
|
|
|
167
173
|
/**
|
|
168
174
|
* Serializes the given message to binary data (in protobuf wire
|
|
169
175
|
* format), writing to the given BinaryWriter.
|
|
170
|
-
* @param {!proto.kaikosdk.
|
|
176
|
+
* @param {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} message
|
|
171
177
|
* @param {!jspb.BinaryWriter} writer
|
|
172
178
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
173
179
|
*/
|
|
174
|
-
proto.kaikosdk.
|
|
180
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.serializeBinaryToWriter = function(message, writer) {
|
|
175
181
|
var f = undefined;
|
|
176
182
|
f = message.getAssets();
|
|
177
183
|
if (f != null) {
|
|
@@ -203,6 +209,14 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.serializeBinaryToWrit
|
|
|
203
209
|
f
|
|
204
210
|
);
|
|
205
211
|
}
|
|
212
|
+
f = message.getUpdateFrequency();
|
|
213
|
+
if (f != null) {
|
|
214
|
+
writer.writeMessage(
|
|
215
|
+
5,
|
|
216
|
+
f,
|
|
217
|
+
google_protobuf_duration_pb.Duration.serializeBinaryToWriter
|
|
218
|
+
);
|
|
219
|
+
}
|
|
206
220
|
};
|
|
207
221
|
|
|
208
222
|
|
|
@@ -210,7 +224,7 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.serializeBinaryToWrit
|
|
|
210
224
|
* optional Assets assets = 1;
|
|
211
225
|
* @return {?proto.kaikosdk.Assets}
|
|
212
226
|
*/
|
|
213
|
-
proto.kaikosdk.
|
|
227
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.getAssets = function() {
|
|
214
228
|
return /** @type{?proto.kaikosdk.Assets} */ (
|
|
215
229
|
jspb.Message.getWrapperField(this, sdk_core_assets_pb.Assets, 1));
|
|
216
230
|
};
|
|
@@ -218,18 +232,18 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.prototype.getAssets =
|
|
|
218
232
|
|
|
219
233
|
/**
|
|
220
234
|
* @param {?proto.kaikosdk.Assets|undefined} value
|
|
221
|
-
* @return {!proto.kaikosdk.
|
|
235
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} returns this
|
|
222
236
|
*/
|
|
223
|
-
proto.kaikosdk.
|
|
237
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.setAssets = function(value) {
|
|
224
238
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
225
239
|
};
|
|
226
240
|
|
|
227
241
|
|
|
228
242
|
/**
|
|
229
243
|
* Clears the message field making it undefined.
|
|
230
|
-
* @return {!proto.kaikosdk.
|
|
244
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} returns this
|
|
231
245
|
*/
|
|
232
|
-
proto.kaikosdk.
|
|
246
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.clearAssets = function() {
|
|
233
247
|
return this.setAssets(undefined);
|
|
234
248
|
};
|
|
235
249
|
|
|
@@ -238,7 +252,7 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.prototype.clearAssets
|
|
|
238
252
|
* Returns whether this field is set.
|
|
239
253
|
* @return {boolean}
|
|
240
254
|
*/
|
|
241
|
-
proto.kaikosdk.
|
|
255
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.hasAssets = function() {
|
|
242
256
|
return jspb.Message.getField(this, 1) != null;
|
|
243
257
|
};
|
|
244
258
|
|
|
@@ -247,7 +261,7 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.prototype.hasAssets =
|
|
|
247
261
|
* optional google.protobuf.Duration window = 2;
|
|
248
262
|
* @return {?proto.google.protobuf.Duration}
|
|
249
263
|
*/
|
|
250
|
-
proto.kaikosdk.
|
|
264
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.getWindow = function() {
|
|
251
265
|
return /** @type{?proto.google.protobuf.Duration} */ (
|
|
252
266
|
jspb.Message.getWrapperField(this, google_protobuf_duration_pb.Duration, 2));
|
|
253
267
|
};
|
|
@@ -255,18 +269,18 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.prototype.getWindow =
|
|
|
255
269
|
|
|
256
270
|
/**
|
|
257
271
|
* @param {?proto.google.protobuf.Duration|undefined} value
|
|
258
|
-
* @return {!proto.kaikosdk.
|
|
272
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} returns this
|
|
259
273
|
*/
|
|
260
|
-
proto.kaikosdk.
|
|
274
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.setWindow = function(value) {
|
|
261
275
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
262
276
|
};
|
|
263
277
|
|
|
264
278
|
|
|
265
279
|
/**
|
|
266
280
|
* Clears the message field making it undefined.
|
|
267
|
-
* @return {!proto.kaikosdk.
|
|
281
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} returns this
|
|
268
282
|
*/
|
|
269
|
-
proto.kaikosdk.
|
|
283
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.clearWindow = function() {
|
|
270
284
|
return this.setWindow(undefined);
|
|
271
285
|
};
|
|
272
286
|
|
|
@@ -275,7 +289,7 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.prototype.clearWindow
|
|
|
275
289
|
* Returns whether this field is set.
|
|
276
290
|
* @return {boolean}
|
|
277
291
|
*/
|
|
278
|
-
proto.kaikosdk.
|
|
292
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.hasWindow = function() {
|
|
279
293
|
return jspb.Message.getField(this, 2) != null;
|
|
280
294
|
};
|
|
281
295
|
|
|
@@ -284,16 +298,16 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.prototype.hasWindow =
|
|
|
284
298
|
* repeated string include_exchanges = 3;
|
|
285
299
|
* @return {!Array<string>}
|
|
286
300
|
*/
|
|
287
|
-
proto.kaikosdk.
|
|
301
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.getIncludeExchangesList = function() {
|
|
288
302
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
289
303
|
};
|
|
290
304
|
|
|
291
305
|
|
|
292
306
|
/**
|
|
293
307
|
* @param {!Array<string>} value
|
|
294
|
-
* @return {!proto.kaikosdk.
|
|
308
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} returns this
|
|
295
309
|
*/
|
|
296
|
-
proto.kaikosdk.
|
|
310
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.setIncludeExchangesList = function(value) {
|
|
297
311
|
return jspb.Message.setField(this, 3, value || []);
|
|
298
312
|
};
|
|
299
313
|
|
|
@@ -301,18 +315,18 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.prototype.setIncludeE
|
|
|
301
315
|
/**
|
|
302
316
|
* @param {string} value
|
|
303
317
|
* @param {number=} opt_index
|
|
304
|
-
* @return {!proto.kaikosdk.
|
|
318
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} returns this
|
|
305
319
|
*/
|
|
306
|
-
proto.kaikosdk.
|
|
320
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.addIncludeExchanges = function(value, opt_index) {
|
|
307
321
|
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
308
322
|
};
|
|
309
323
|
|
|
310
324
|
|
|
311
325
|
/**
|
|
312
326
|
* Clears the list making it empty but non-null.
|
|
313
|
-
* @return {!proto.kaikosdk.
|
|
327
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} returns this
|
|
314
328
|
*/
|
|
315
|
-
proto.kaikosdk.
|
|
329
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.clearIncludeExchangesList = function() {
|
|
316
330
|
return this.setIncludeExchangesList([]);
|
|
317
331
|
};
|
|
318
332
|
|
|
@@ -321,16 +335,16 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.prototype.clearInclud
|
|
|
321
335
|
* repeated string exclude_exchanges = 4;
|
|
322
336
|
* @return {!Array<string>}
|
|
323
337
|
*/
|
|
324
|
-
proto.kaikosdk.
|
|
338
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.getExcludeExchangesList = function() {
|
|
325
339
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
326
340
|
};
|
|
327
341
|
|
|
328
342
|
|
|
329
343
|
/**
|
|
330
344
|
* @param {!Array<string>} value
|
|
331
|
-
* @return {!proto.kaikosdk.
|
|
345
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} returns this
|
|
332
346
|
*/
|
|
333
|
-
proto.kaikosdk.
|
|
347
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.setExcludeExchangesList = function(value) {
|
|
334
348
|
return jspb.Message.setField(this, 4, value || []);
|
|
335
349
|
};
|
|
336
350
|
|
|
@@ -338,20 +352,57 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV1RequestV2.prototype.setExcludeE
|
|
|
338
352
|
/**
|
|
339
353
|
* @param {string} value
|
|
340
354
|
* @param {number=} opt_index
|
|
341
|
-
* @return {!proto.kaikosdk.
|
|
355
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} returns this
|
|
342
356
|
*/
|
|
343
|
-
proto.kaikosdk.
|
|
357
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.addExcludeExchanges = function(value, opt_index) {
|
|
344
358
|
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
345
359
|
};
|
|
346
360
|
|
|
347
361
|
|
|
348
362
|
/**
|
|
349
363
|
* Clears the list making it empty but non-null.
|
|
350
|
-
* @return {!proto.kaikosdk.
|
|
364
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} returns this
|
|
351
365
|
*/
|
|
352
|
-
proto.kaikosdk.
|
|
366
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.clearExcludeExchangesList = function() {
|
|
353
367
|
return this.setExcludeExchangesList([]);
|
|
354
368
|
};
|
|
355
369
|
|
|
356
370
|
|
|
371
|
+
/**
|
|
372
|
+
* optional google.protobuf.Duration update_frequency = 5;
|
|
373
|
+
* @return {?proto.google.protobuf.Duration}
|
|
374
|
+
*/
|
|
375
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.getUpdateFrequency = function() {
|
|
376
|
+
return /** @type{?proto.google.protobuf.Duration} */ (
|
|
377
|
+
jspb.Message.getWrapperField(this, google_protobuf_duration_pb.Duration, 5));
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* @param {?proto.google.protobuf.Duration|undefined} value
|
|
383
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} returns this
|
|
384
|
+
*/
|
|
385
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.setUpdateFrequency = function(value) {
|
|
386
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Clears the message field making it undefined.
|
|
392
|
+
* @return {!proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1} returns this
|
|
393
|
+
*/
|
|
394
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.clearUpdateFrequency = function() {
|
|
395
|
+
return this.setUpdateFrequency(undefined);
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Returns whether this field is set.
|
|
401
|
+
* @return {boolean}
|
|
402
|
+
*/
|
|
403
|
+
proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.hasUpdateFrequency = function() {
|
|
404
|
+
return jspb.Message.getField(this, 5) != null;
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
|
|
357
408
|
goog.object.extend(exports, proto.kaikosdk);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// package: kaikosdk
|
|
2
|
-
// file: sdk/stream/
|
|
2
|
+
// file: sdk/stream/aggregates_spot_exchange_rate_v2/response.proto
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
6
6
|
import * as sdk_core_assets_pb from "../../../sdk/core/assets_pb";
|
|
7
7
|
import * as sdk_core_window_pb from "../../../sdk/core/window_pb";
|
|
8
8
|
|
|
9
|
-
export class
|
|
9
|
+
export class StreamAggregatesSpotExchangeRateV2ResponseV1 extends jspb.Message {
|
|
10
10
|
hasAssets(): boolean;
|
|
11
11
|
clearAssets(): void;
|
|
12
12
|
getAssets(): sdk_core_assets_pb.Assets | undefined;
|
|
@@ -29,16 +29,16 @@ export class StreamAggregatesSpotExchangeRateV1ResponseV2 extends jspb.Message {
|
|
|
29
29
|
setNoTrade(value: boolean): void;
|
|
30
30
|
|
|
31
31
|
serializeBinary(): Uint8Array;
|
|
32
|
-
toObject(includeInstance?: boolean):
|
|
33
|
-
static toObject(includeInstance: boolean, msg:
|
|
32
|
+
toObject(includeInstance?: boolean): StreamAggregatesSpotExchangeRateV2ResponseV1.AsObject;
|
|
33
|
+
static toObject(includeInstance: boolean, msg: StreamAggregatesSpotExchangeRateV2ResponseV1): StreamAggregatesSpotExchangeRateV2ResponseV1.AsObject;
|
|
34
34
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
35
35
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
36
|
-
static serializeBinaryToWriter(message:
|
|
37
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
38
|
-
static deserializeBinaryFromReader(message:
|
|
36
|
+
static serializeBinaryToWriter(message: StreamAggregatesSpotExchangeRateV2ResponseV1, writer: jspb.BinaryWriter): void;
|
|
37
|
+
static deserializeBinary(bytes: Uint8Array): StreamAggregatesSpotExchangeRateV2ResponseV1;
|
|
38
|
+
static deserializeBinaryFromReader(message: StreamAggregatesSpotExchangeRateV2ResponseV1, reader: jspb.BinaryReader): StreamAggregatesSpotExchangeRateV2ResponseV1;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export namespace
|
|
41
|
+
export namespace StreamAggregatesSpotExchangeRateV2ResponseV1 {
|
|
42
42
|
export type AsObject = {
|
|
43
43
|
assets?: sdk_core_assets_pb.Assets.AsObject,
|
|
44
44
|
price: number,
|