@kaiko-data/sdk-node 1.20.0 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaiko-data/sdk-node",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "Kaiko Node SDK",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -26,6 +26,11 @@ export class StreamAggregatesDirectExchangeRateV2RequestV1 extends jspb.Message
26
26
  setExcludeExchangesList(value: Array<string>): void;
27
27
  addExcludeExchanges(value: string, index?: number): string;
28
28
 
29
+ hasUpdateFrequency(): boolean;
30
+ clearUpdateFrequency(): void;
31
+ getUpdateFrequency(): google_protobuf_duration_pb.Duration | undefined;
32
+ setUpdateFrequency(value?: google_protobuf_duration_pb.Duration): void;
33
+
29
34
  serializeBinary(): Uint8Array;
30
35
  toObject(includeInstance?: boolean): StreamAggregatesDirectExchangeRateV2RequestV1.AsObject;
31
36
  static toObject(includeInstance: boolean, msg: StreamAggregatesDirectExchangeRateV2RequestV1): StreamAggregatesDirectExchangeRateV2RequestV1.AsObject;
@@ -42,6 +47,7 @@ export namespace StreamAggregatesDirectExchangeRateV2RequestV1 {
42
47
  window?: google_protobuf_duration_pb.Duration.AsObject,
43
48
  includeExchangesList: Array<string>,
44
49
  excludeExchangesList: Array<string>,
50
+ updateFrequency?: google_protobuf_duration_pb.Duration.AsObject,
45
51
  }
46
52
  }
47
53
 
@@ -89,7 +89,8 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.toObject = function
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) {
@@ -144,6 +145,11 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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;
@@ -203,6 +209,14 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.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
 
@@ -354,4 +368,41 @@ proto.kaikosdk.StreamAggregatesDirectExchangeRateV2RequestV1.prototype.clearExcl
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);
@@ -26,6 +26,11 @@ export class StreamAggregatesSpotExchangeRateV2RequestV1 extends jspb.Message {
26
26
  setExcludeExchangesList(value: Array<string>): void;
27
27
  addExcludeExchanges(value: string, index?: number): string;
28
28
 
29
+ hasUpdateFrequency(): boolean;
30
+ clearUpdateFrequency(): void;
31
+ getUpdateFrequency(): google_protobuf_duration_pb.Duration | undefined;
32
+ setUpdateFrequency(value?: google_protobuf_duration_pb.Duration): void;
33
+
29
34
  serializeBinary(): Uint8Array;
30
35
  toObject(includeInstance?: boolean): StreamAggregatesSpotExchangeRateV2RequestV1.AsObject;
31
36
  static toObject(includeInstance: boolean, msg: StreamAggregatesSpotExchangeRateV2RequestV1): StreamAggregatesSpotExchangeRateV2RequestV1.AsObject;
@@ -42,6 +47,7 @@ export namespace StreamAggregatesSpotExchangeRateV2RequestV1 {
42
47
  window?: google_protobuf_duration_pb.Duration.AsObject,
43
48
  includeExchangesList: Array<string>,
44
49
  excludeExchangesList: Array<string>,
50
+ updateFrequency?: google_protobuf_duration_pb.Duration.AsObject,
45
51
  }
46
52
  }
47
53
 
@@ -89,7 +89,8 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.toObject = function(i
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) {
@@ -144,6 +145,11 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.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;
@@ -203,6 +209,14 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.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
 
@@ -354,4 +368,41 @@ proto.kaikosdk.StreamAggregatesSpotExchangeRateV2RequestV1.prototype.clearExclud
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);