@kaiko-data/sdk-node 1.40.0 → 1.41.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.40.0",
3
+ "version": "1.41.0",
4
4
  "description": "Kaiko Node SDK",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -160,6 +160,26 @@ export class StreamIndexMultiAssetsServiceResponseV1 extends jspb.Message {
160
160
  getTsCompute(): google_protobuf_timestamp_pb.Timestamp | undefined;
161
161
  setTsCompute(value?: google_protobuf_timestamp_pb.Timestamp): void;
162
162
 
163
+ hasRestatementStatus(): boolean;
164
+ clearRestatementStatus(): void;
165
+ getRestatementStatus(): boolean;
166
+ setRestatementStatus(value: boolean): void;
167
+
168
+ hasCorrectionId(): boolean;
169
+ clearCorrectionId(): void;
170
+ getCorrectionId(): string;
171
+ setCorrectionId(value: string): void;
172
+
173
+ hasInitialPublicationTs(): boolean;
174
+ clearInitialPublicationTs(): void;
175
+ getInitialPublicationTs(): google_protobuf_timestamp_pb.Timestamp | undefined;
176
+ setInitialPublicationTs(value?: google_protobuf_timestamp_pb.Timestamp): void;
177
+
178
+ hasIncidentId(): boolean;
179
+ clearIncidentId(): void;
180
+ getIncidentId(): string;
181
+ setIncidentId(value: string): void;
182
+
163
183
  serializeBinary(): Uint8Array;
164
184
  toObject(includeInstance?: boolean): StreamIndexMultiAssetsServiceResponseV1.AsObject;
165
185
  static toObject(includeInstance: boolean, msg: StreamIndexMultiAssetsServiceResponseV1): StreamIndexMultiAssetsServiceResponseV1.AsObject;
@@ -180,6 +200,10 @@ export namespace StreamIndexMultiAssetsServiceResponseV1 {
180
200
  price?: StreamIndexMultiAssetsServiceResponsePrices.AsObject,
181
201
  tsEvent?: google_protobuf_timestamp_pb.Timestamp.AsObject,
182
202
  tsCompute?: google_protobuf_timestamp_pb.Timestamp.AsObject,
203
+ restatementStatus: boolean,
204
+ correctionId: string,
205
+ initialPublicationTs?: google_protobuf_timestamp_pb.Timestamp.AsObject,
206
+ incidentId: string,
183
207
  }
184
208
  }
185
209
 
@@ -1033,7 +1033,11 @@ compositionsList: jspb.Message.toObjectList(msg.getCompositionsList(),
1033
1033
  proto.kaikosdk.StreamIndexMultiAssetsServiceResponseComposition.toObject, includeInstance),
1034
1034
  price: (f = msg.getPrice()) && proto.kaikosdk.StreamIndexMultiAssetsServiceResponsePrices.toObject(includeInstance, f),
1035
1035
  tsEvent: (f = msg.getTsEvent()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1036
- tsCompute: (f = msg.getTsCompute()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
1036
+ tsCompute: (f = msg.getTsCompute()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1037
+ restatementStatus: (f = jspb.Message.getBooleanField(msg, 9)) == null ? undefined : f,
1038
+ correctionId: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f,
1039
+ initialPublicationTs: (f = msg.getInitialPublicationTs()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1040
+ incidentId: (f = jspb.Message.getField(msg, 12)) == null ? undefined : f
1037
1041
  };
1038
1042
 
1039
1043
  if (includeInstance) {
@@ -1107,6 +1111,23 @@ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.deserializeBinaryFromRead
1107
1111
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1108
1112
  msg.setTsCompute(value);
1109
1113
  break;
1114
+ case 9:
1115
+ var value = /** @type {boolean} */ (reader.readBool());
1116
+ msg.setRestatementStatus(value);
1117
+ break;
1118
+ case 10:
1119
+ var value = /** @type {string} */ (reader.readString());
1120
+ msg.setCorrectionId(value);
1121
+ break;
1122
+ case 11:
1123
+ var value = new google_protobuf_timestamp_pb.Timestamp;
1124
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1125
+ msg.setInitialPublicationTs(value);
1126
+ break;
1127
+ case 12:
1128
+ var value = /** @type {string} */ (reader.readString());
1129
+ msg.setIncidentId(value);
1130
+ break;
1110
1131
  default:
1111
1132
  reader.skipField();
1112
1133
  break;
@@ -1197,6 +1218,35 @@ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.serializeBinaryToWriter =
1197
1218
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1198
1219
  );
1199
1220
  }
1221
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 9));
1222
+ if (f != null) {
1223
+ writer.writeBool(
1224
+ 9,
1225
+ f
1226
+ );
1227
+ }
1228
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
1229
+ if (f != null) {
1230
+ writer.writeString(
1231
+ 10,
1232
+ f
1233
+ );
1234
+ }
1235
+ f = message.getInitialPublicationTs();
1236
+ if (f != null) {
1237
+ writer.writeMessage(
1238
+ 11,
1239
+ f,
1240
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1241
+ );
1242
+ }
1243
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
1244
+ if (f != null) {
1245
+ writer.writeString(
1246
+ 12,
1247
+ f
1248
+ );
1249
+ }
1200
1250
  };
1201
1251
 
1202
1252
 
@@ -1440,4 +1490,149 @@ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.hasTsCompute =
1440
1490
  };
1441
1491
 
1442
1492
 
1493
+ /**
1494
+ * optional bool restatement_status = 9;
1495
+ * @return {boolean}
1496
+ */
1497
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.getRestatementStatus = function() {
1498
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
1499
+ };
1500
+
1501
+
1502
+ /**
1503
+ * @param {boolean} value
1504
+ * @return {!proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1} returns this
1505
+ */
1506
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.setRestatementStatus = function(value) {
1507
+ return jspb.Message.setField(this, 9, value);
1508
+ };
1509
+
1510
+
1511
+ /**
1512
+ * Clears the field making it undefined.
1513
+ * @return {!proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1} returns this
1514
+ */
1515
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.clearRestatementStatus = function() {
1516
+ return jspb.Message.setField(this, 9, undefined);
1517
+ };
1518
+
1519
+
1520
+ /**
1521
+ * Returns whether this field is set.
1522
+ * @return {boolean}
1523
+ */
1524
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.hasRestatementStatus = function() {
1525
+ return jspb.Message.getField(this, 9) != null;
1526
+ };
1527
+
1528
+
1529
+ /**
1530
+ * optional string correction_id = 10;
1531
+ * @return {string}
1532
+ */
1533
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.getCorrectionId = function() {
1534
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1535
+ };
1536
+
1537
+
1538
+ /**
1539
+ * @param {string} value
1540
+ * @return {!proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1} returns this
1541
+ */
1542
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.setCorrectionId = function(value) {
1543
+ return jspb.Message.setField(this, 10, value);
1544
+ };
1545
+
1546
+
1547
+ /**
1548
+ * Clears the field making it undefined.
1549
+ * @return {!proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1} returns this
1550
+ */
1551
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.clearCorrectionId = function() {
1552
+ return jspb.Message.setField(this, 10, undefined);
1553
+ };
1554
+
1555
+
1556
+ /**
1557
+ * Returns whether this field is set.
1558
+ * @return {boolean}
1559
+ */
1560
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.hasCorrectionId = function() {
1561
+ return jspb.Message.getField(this, 10) != null;
1562
+ };
1563
+
1564
+
1565
+ /**
1566
+ * optional google.protobuf.Timestamp initial_publication_ts = 11;
1567
+ * @return {?proto.google.protobuf.Timestamp}
1568
+ */
1569
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.getInitialPublicationTs = function() {
1570
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
1571
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
1572
+ };
1573
+
1574
+
1575
+ /**
1576
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
1577
+ * @return {!proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1} returns this
1578
+ */
1579
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.setInitialPublicationTs = function(value) {
1580
+ return jspb.Message.setWrapperField(this, 11, value);
1581
+ };
1582
+
1583
+
1584
+ /**
1585
+ * Clears the message field making it undefined.
1586
+ * @return {!proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1} returns this
1587
+ */
1588
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.clearInitialPublicationTs = function() {
1589
+ return this.setInitialPublicationTs(undefined);
1590
+ };
1591
+
1592
+
1593
+ /**
1594
+ * Returns whether this field is set.
1595
+ * @return {boolean}
1596
+ */
1597
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.hasInitialPublicationTs = function() {
1598
+ return jspb.Message.getField(this, 11) != null;
1599
+ };
1600
+
1601
+
1602
+ /**
1603
+ * optional string incident_id = 12;
1604
+ * @return {string}
1605
+ */
1606
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.getIncidentId = function() {
1607
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
1608
+ };
1609
+
1610
+
1611
+ /**
1612
+ * @param {string} value
1613
+ * @return {!proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1} returns this
1614
+ */
1615
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.setIncidentId = function(value) {
1616
+ return jspb.Message.setField(this, 12, value);
1617
+ };
1618
+
1619
+
1620
+ /**
1621
+ * Clears the field making it undefined.
1622
+ * @return {!proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1} returns this
1623
+ */
1624
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.clearIncidentId = function() {
1625
+ return jspb.Message.setField(this, 12, undefined);
1626
+ };
1627
+
1628
+
1629
+ /**
1630
+ * Returns whether this field is set.
1631
+ * @return {boolean}
1632
+ */
1633
+ proto.kaikosdk.StreamIndexMultiAssetsServiceResponseV1.prototype.hasIncidentId = function() {
1634
+ return jspb.Message.getField(this, 12) != null;
1635
+ };
1636
+
1637
+
1443
1638
  goog.object.extend(exports, proto.kaikosdk);