@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.
Files changed (21) hide show
  1. package/package.json +1 -1
  2. package/sdk/sdk_grpc_pb.d.ts +20 -20
  3. package/sdk/sdk_grpc_pb.js +44 -44
  4. package/sdk/sdk_pb.d.ts +4 -4
  5. package/sdk/sdk_pb.js +8 -8
  6. package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/request_pb.d.ts +14 -8
  7. package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/request_pb.js +100 -49
  8. package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/response_pb.d.ts +8 -8
  9. package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/response_pb.js +44 -44
  10. package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/request_pb.d.ts +14 -8
  11. package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/request_pb.js +100 -49
  12. package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/response_pb.d.ts +8 -8
  13. package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/response_pb.js +44 -44
  14. /package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/request_grpc_pb.d.ts +0 -0
  15. /package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/request_grpc_pb.js +0 -0
  16. /package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/response_grpc_pb.d.ts +0 -0
  17. /package/sdk/stream/{aggregates_direct_exchange_rate_v1 → aggregates_direct_exchange_rate_v2}/response_grpc_pb.js +0 -0
  18. /package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/request_grpc_pb.d.ts +0 -0
  19. /package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/request_grpc_pb.js +0 -0
  20. /package/sdk/stream/{aggregates_spot_exchange_rate_v1 → aggregates_spot_exchange_rate_v2}/response_grpc_pb.d.ts +0 -0
  21. /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/aggregates_direct_exchange_rate_v1/request.proto
1
+ // source: sdk/stream/aggregates_direct_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.StreamAggregatesDirectExchangeRateV1RequestV2', null, global);
28
+ goog.exportSymbol('proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1', 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.StreamAggregatesDirectExchangeRateV1RequestV2'
36
36
  * @extends {jspb.Message}
37
37
  * @constructor
38
38
  */
39
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2 = function(opt_data) {
40
- jspb.Message.initialize(this, opt_data, 0, -1, proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.repeatedFields_, null);
39
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1 = function(opt_data) {
40
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.repeatedFields_, null);
41
41
  };
42
- goog.inherits(proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2, jspb.Message);
42
+ goog.inherits(proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1, jspb.Message);
43
43
  if (goog.DEBUG && !COMPILED) {
44
44
  /**
45
45
  * @public
46
46
  * @override
47
47
  */
48
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.displayName = 'proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2';
48
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.displayName = 'proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1';
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.StreamAggregatesDirectExchangeRateV1RequestV2.repeatedFields_ = [3,4];
56
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.toObject = function(opt_includeInstance) {
74
- return proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.toObject(opt_includeInstance, this);
73
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.prototype.toObject = function(opt_includeInstance) {
74
+ return proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.toObject(opt_includeInstance, this);
75
75
  };
76
76
 
77
77
 
@@ -80,16 +80,17 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.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.StreamAggregatesDirectExchangeRateV1RequestV2} msg The msg instance to transform.
83
+ * @param {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} 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.StreamAggregatesDirectExchangeRateV1RequestV2.toObject = function(includeInstance, msg) {
87
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV1RequestV2.toObject = function
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.StreamAggregatesDirectExchangeRateV1RequestV2}
107
+ * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1}
107
108
  */
108
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.deserializeBinary = function(bytes) {
109
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.deserializeBinary = function(bytes) {
109
110
  var reader = new jspb.BinaryReader(bytes);
110
- var msg = new proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2;
111
- return proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.deserializeBinaryFromReader(msg, reader);
111
+ var msg = new proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1;
112
+ return proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV1RequestV2} msg The message object to deserialize into.
119
+ * @param {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} msg The message object to deserialize into.
119
120
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
120
- * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2}
121
+ * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1}
121
122
  */
122
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.deserializeBinaryFromReader = function(msg, reader) {
123
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.deserializeBinaryFromReader = function(msg, reader) {
123
124
  while (reader.nextField()) {
124
125
  if (reader.isEndGroup()) {
125
126
  break;
@@ -144,6 +145,11 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.deserializeBinaryFr
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.StreamAggregatesDirectExchangeRateV1RequestV2.deserializeBinaryFr
157
163
  * Serializes the message to binary data (in protobuf wire format).
158
164
  * @return {!Uint8Array}
159
165
  */
160
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.serializeBinary = function() {
166
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.prototype.serializeBinary = function() {
161
167
  var writer = new jspb.BinaryWriter();
162
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.serializeBinaryToWriter(this, writer);
168
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.serializeBinaryToWriter(this, writer);
163
169
  return writer.getResultBuffer();
164
170
  };
165
171
 
@@ -167,11 +173,11 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.serialize
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.StreamAggregatesDirectExchangeRateV1RequestV2} message
176
+ * @param {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} message
171
177
  * @param {!jspb.BinaryWriter} writer
172
178
  * @suppress {unusedLocalVariables} f is only used for nested messages
173
179
  */
174
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.serializeBinaryToWriter = function(message, writer) {
180
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV1RequestV2.serializeBinaryToWr
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.StreamAggregatesDirectExchangeRateV1RequestV2.serializeBinaryToWr
210
224
  * optional Assets assets = 1;
211
225
  * @return {?proto.kaikosdk.Assets}
212
226
  */
213
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.getAssets = function() {
227
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.getAssets
218
232
 
219
233
  /**
220
234
  * @param {?proto.kaikosdk.Assets|undefined} value
221
- * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2} returns this
235
+ * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} returns this
222
236
  */
223
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.setAssets = function(value) {
237
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV1RequestV2} returns this
244
+ * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} returns this
231
245
  */
232
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.clearAssets = function() {
246
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.prototype.clearAssets = function() {
233
247
  return this.setAssets(undefined);
234
248
  };
235
249
 
@@ -238,7 +252,7 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.clearAsse
238
252
  * Returns whether this field is set.
239
253
  * @return {boolean}
240
254
  */
241
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.hasAssets = function() {
255
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.prototype.hasAssets = function() {
242
256
  return jspb.Message.getField(this, 1) != null;
243
257
  };
244
258
 
@@ -247,7 +261,7 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.hasAssets
247
261
  * optional google.protobuf.Duration window = 2;
248
262
  * @return {?proto.google.protobuf.Duration}
249
263
  */
250
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.getWindow = function() {
264
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.getWindow
255
269
 
256
270
  /**
257
271
  * @param {?proto.google.protobuf.Duration|undefined} value
258
- * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2} returns this
272
+ * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} returns this
259
273
  */
260
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.setWindow = function(value) {
274
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV1RequestV2} returns this
281
+ * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} returns this
268
282
  */
269
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.clearWindow = function() {
283
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.prototype.clearWindow = function() {
270
284
  return this.setWindow(undefined);
271
285
  };
272
286
 
@@ -275,7 +289,7 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.clearWind
275
289
  * Returns whether this field is set.
276
290
  * @return {boolean}
277
291
  */
278
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.hasWindow = function() {
292
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.prototype.hasWindow = function() {
279
293
  return jspb.Message.getField(this, 2) != null;
280
294
  };
281
295
 
@@ -284,16 +298,16 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.hasWindow
284
298
  * repeated string include_exchanges = 3;
285
299
  * @return {!Array<string>}
286
300
  */
287
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.getIncludeExchangesList = function() {
301
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV1RequestV2} returns this
308
+ * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} returns this
295
309
  */
296
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.setIncludeExchangesList = function(value) {
310
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.prototype.setIncludeExchangesList = function(value) {
297
311
  return jspb.Message.setField(this, 3, value || []);
298
312
  };
299
313
 
@@ -301,18 +315,18 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.setInclud
301
315
  /**
302
316
  * @param {string} value
303
317
  * @param {number=} opt_index
304
- * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2} returns this
318
+ * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} returns this
305
319
  */
306
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.addIncludeExchanges = function(value, opt_index) {
320
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV1RequestV2} returns this
327
+ * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} returns this
314
328
  */
315
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.clearIncludeExchangesList = function() {
329
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.prototype.clearIncludeExchangesList = function() {
316
330
  return this.setIncludeExchangesList([]);
317
331
  };
318
332
 
@@ -321,16 +335,16 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.clearIncl
321
335
  * repeated string exclude_exchanges = 4;
322
336
  * @return {!Array<string>}
323
337
  */
324
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.getExcludeExchangesList = function() {
338
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV1RequestV2} returns this
345
+ * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} returns this
332
346
  */
333
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.setExcludeExchangesList = function(value) {
347
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.prototype.setExcludeExchangesList = function(value) {
334
348
  return jspb.Message.setField(this, 4, value || []);
335
349
  };
336
350
 
@@ -338,20 +352,57 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.setExclud
338
352
  /**
339
353
  * @param {string} value
340
354
  * @param {number=} opt_index
341
- * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2} returns this
355
+ * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} returns this
342
356
  */
343
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.addExcludeExchanges = function(value, opt_index) {
357
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV1RequestV2} returns this
364
+ * @return {!proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1} returns this
351
365
  */
352
- proto.kaikosdk.StreamAggregatesDirectExchangeRateV1RequestV2.prototype.clearExcludeExchangesList = function() {
366
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV2RequestV1} returns this
384
+ */
385
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV2RequestV1} returns this
393
+ */
394
+ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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.StreamAggregatesDirectExchangeRateV2RequestV1.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/aggregates_direct_exchange_rate_v1/response.proto
2
+ // file: sdk/stream/aggregates_direct_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 StreamAggregatesDirectExchangeRateV1ResponseV2 extends jspb.Message {
9
+ export class StreamAggregatesDirectExchangeRateV2ResponseV1 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 StreamAggregatesDirectExchangeRateV1ResponseV2 extends jspb.Message
29
29
  setNoTrade(value: boolean): void;
30
30
 
31
31
  serializeBinary(): Uint8Array;
32
- toObject(includeInstance?: boolean): StreamAggregatesDirectExchangeRateV1ResponseV2.AsObject;
33
- static toObject(includeInstance: boolean, msg: StreamAggregatesDirectExchangeRateV1ResponseV2): StreamAggregatesDirectExchangeRateV1ResponseV2.AsObject;
32
+ toObject(includeInstance?: boolean): StreamAggregatesDirectExchangeRateV2ResponseV1.AsObject;
33
+ static toObject(includeInstance: boolean, msg: StreamAggregatesDirectExchangeRateV2ResponseV1): StreamAggregatesDirectExchangeRateV2ResponseV1.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: StreamAggregatesDirectExchangeRateV1ResponseV2, writer: jspb.BinaryWriter): void;
37
- static deserializeBinary(bytes: Uint8Array): StreamAggregatesDirectExchangeRateV1ResponseV2;
38
- static deserializeBinaryFromReader(message: StreamAggregatesDirectExchangeRateV1ResponseV2, reader: jspb.BinaryReader): StreamAggregatesDirectExchangeRateV1ResponseV2;
36
+ static serializeBinaryToWriter(message: StreamAggregatesDirectExchangeRateV2ResponseV1, writer: jspb.BinaryWriter): void;
37
+ static deserializeBinary(bytes: Uint8Array): StreamAggregatesDirectExchangeRateV2ResponseV1;
38
+ static deserializeBinaryFromReader(message: StreamAggregatesDirectExchangeRateV2ResponseV1, reader: jspb.BinaryReader): StreamAggregatesDirectExchangeRateV2ResponseV1;
39
39
  }
40
40
 
41
- export namespace StreamAggregatesDirectExchangeRateV1ResponseV2 {
41
+ export namespace StreamAggregatesDirectExchangeRateV2ResponseV1 {
42
42
  export type AsObject = {
43
43
  assets?: sdk_core_assets_pb.Assets.AsObject,
44
44
  price: number,