@ondewo/nlu-client-typescript 4.3.0 → 4.5.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.
@@ -810,6 +810,12 @@ export class SessionFilter extends jspb.Message {
810
810
  clearIdentifiedUserIdsList(): SessionFilter;
811
811
  addIdentifiedUserIds(value: string, index?: number): SessionFilter;
812
812
 
813
+ getDurationInterval60sRoundedMin(): number;
814
+ setDurationInterval60sRoundedMin(value: number): SessionFilter;
815
+
816
+ getDurationInterval60sRoundedMax(): number;
817
+ setDurationInterval60sRoundedMax(value: number): SessionFilter;
818
+
813
819
  serializeBinary(): Uint8Array;
814
820
  toObject(includeInstance?: boolean): SessionFilter.AsObject;
815
821
  static toObject(includeInstance: boolean, msg: SessionFilter): SessionFilter.AsObject;
@@ -867,6 +873,8 @@ export namespace SessionFilter {
867
873
  datastreamIdsList: Array<string>,
868
874
  originIdsList: Array<string>,
869
875
  identifiedUserIdsList: Array<string>,
876
+ durationInterval60sRoundedMin: number,
877
+ durationInterval60sRoundedMax: number,
870
878
  }
871
879
  }
872
880
 
@@ -992,6 +1000,9 @@ export class SessionInfo extends jspb.Message {
992
1000
  clearIdentifiedUserIdsList(): SessionInfo;
993
1001
  addIdentifiedUserIds(value: string, index?: number): SessionInfo;
994
1002
 
1003
+ getDurationInterval60sRounded(): number;
1004
+ setDurationInterval60sRounded(value: number): SessionInfo;
1005
+
995
1006
  serializeBinary(): Uint8Array;
996
1007
  toObject(includeInstance?: boolean): SessionInfo.AsObject;
997
1008
  static toObject(includeInstance: boolean, msg: SessionInfo): SessionInfo.AsObject;
@@ -1033,6 +1044,7 @@ export namespace SessionInfo {
1033
1044
  datastreamIdsList: Array<string>,
1034
1045
  originIdsList: Array<string>,
1035
1046
  identifiedUserIdsList: Array<string>,
1047
+ durationInterval60sRounded: number,
1036
1048
  }
1037
1049
 
1038
1050
  export class ContextSteps extends jspb.Message {
@@ -6259,7 +6259,9 @@ proto.ondewo.nlu.SessionFilter.toObject = function(includeInstance, msg) {
6259
6259
  propertyIdsList: (f = jspb.Message.getRepeatedField(msg, 44)) == null ? undefined : f,
6260
6260
  datastreamIdsList: (f = jspb.Message.getRepeatedField(msg, 45)) == null ? undefined : f,
6261
6261
  originIdsList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f,
6262
- identifiedUserIdsList: (f = jspb.Message.getRepeatedField(msg, 47)) == null ? undefined : f
6262
+ identifiedUserIdsList: (f = jspb.Message.getRepeatedField(msg, 47)) == null ? undefined : f,
6263
+ durationInterval60sRoundedMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 48, 0.0),
6264
+ durationInterval60sRoundedMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 49, 0.0)
6263
6265
  };
6264
6266
 
6265
6267
  if (includeInstance) {
@@ -6327,11 +6329,11 @@ proto.ondewo.nlu.SessionFilter.deserializeBinaryFromReader = function(msg, reade
6327
6329
  msg.setMinEntityTypesConfidenceMax(value);
6328
6330
  break;
6329
6331
  case 8:
6330
- var value = /** @type {number} */ (reader.readFloat());
6332
+ var value = /** @type {number} */ (reader.readDouble());
6331
6333
  msg.setEarliest(value);
6332
6334
  break;
6333
6335
  case 9:
6334
- var value = /** @type {number} */ (reader.readFloat());
6336
+ var value = /** @type {number} */ (reader.readDouble());
6335
6337
  msg.setLatest(value);
6336
6338
  break;
6337
6339
  case 10:
@@ -6490,6 +6492,14 @@ proto.ondewo.nlu.SessionFilter.deserializeBinaryFromReader = function(msg, reade
6490
6492
  var value = /** @type {string} */ (reader.readString());
6491
6493
  msg.addIdentifiedUserIds(value);
6492
6494
  break;
6495
+ case 48:
6496
+ var value = /** @type {number} */ (reader.readFloat());
6497
+ msg.setDurationInterval60sRoundedMin(value);
6498
+ break;
6499
+ case 49:
6500
+ var value = /** @type {number} */ (reader.readFloat());
6501
+ msg.setDurationInterval60sRoundedMax(value);
6502
+ break;
6493
6503
  default:
6494
6504
  reader.skipField();
6495
6505
  break;
@@ -6572,14 +6582,14 @@ proto.ondewo.nlu.SessionFilter.serializeBinaryToWriter = function(message, write
6572
6582
  }
6573
6583
  f = message.getEarliest();
6574
6584
  if (f !== 0.0) {
6575
- writer.writeFloat(
6585
+ writer.writeDouble(
6576
6586
  8,
6577
6587
  f
6578
6588
  );
6579
6589
  }
6580
6590
  f = message.getLatest();
6581
6591
  if (f !== 0.0) {
6582
- writer.writeFloat(
6592
+ writer.writeDouble(
6583
6593
  9,
6584
6594
  f
6585
6595
  );
@@ -6852,6 +6862,20 @@ proto.ondewo.nlu.SessionFilter.serializeBinaryToWriter = function(message, write
6852
6862
  f
6853
6863
  );
6854
6864
  }
6865
+ f = message.getDurationInterval60sRoundedMin();
6866
+ if (f !== 0.0) {
6867
+ writer.writeFloat(
6868
+ 48,
6869
+ f
6870
+ );
6871
+ }
6872
+ f = message.getDurationInterval60sRoundedMax();
6873
+ if (f !== 0.0) {
6874
+ writer.writeFloat(
6875
+ 49,
6876
+ f
6877
+ );
6878
+ }
6855
6879
  };
6856
6880
 
6857
6881
 
@@ -7041,7 +7065,7 @@ proto.ondewo.nlu.SessionFilter.prototype.setMinEntityTypesConfidenceMax = functi
7041
7065
 
7042
7066
 
7043
7067
  /**
7044
- * optional float earliest = 8;
7068
+ * optional double earliest = 8;
7045
7069
  * @return {number}
7046
7070
  */
7047
7071
  proto.ondewo.nlu.SessionFilter.prototype.getEarliest = function() {
@@ -7059,7 +7083,7 @@ proto.ondewo.nlu.SessionFilter.prototype.setEarliest = function(value) {
7059
7083
 
7060
7084
 
7061
7085
  /**
7062
- * optional float latest = 9;
7086
+ * optional double latest = 9;
7063
7087
  * @return {number}
7064
7088
  */
7065
7089
  proto.ondewo.nlu.SessionFilter.prototype.getLatest = function() {
@@ -7990,6 +8014,42 @@ proto.ondewo.nlu.SessionFilter.prototype.clearIdentifiedUserIdsList = function()
7990
8014
  };
7991
8015
 
7992
8016
 
8017
+ /**
8018
+ * optional float duration_interval_60s_rounded_min = 48;
8019
+ * @return {number}
8020
+ */
8021
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval60sRoundedMin = function() {
8022
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 48, 0.0));
8023
+ };
8024
+
8025
+
8026
+ /**
8027
+ * @param {number} value
8028
+ * @return {!proto.ondewo.nlu.SessionFilter} returns this
8029
+ */
8030
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval60sRoundedMin = function(value) {
8031
+ return jspb.Message.setProto3FloatField(this, 48, value);
8032
+ };
8033
+
8034
+
8035
+ /**
8036
+ * optional float duration_interval_60s_rounded_max = 49;
8037
+ * @return {number}
8038
+ */
8039
+ proto.ondewo.nlu.SessionFilter.prototype.getDurationInterval60sRoundedMax = function() {
8040
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 49, 0.0));
8041
+ };
8042
+
8043
+
8044
+ /**
8045
+ * @param {number} value
8046
+ * @return {!proto.ondewo.nlu.SessionFilter} returns this
8047
+ */
8048
+ proto.ondewo.nlu.SessionFilter.prototype.setDurationInterval60sRoundedMax = function(value) {
8049
+ return jspb.Message.setProto3FloatField(this, 49, value);
8050
+ };
8051
+
8052
+
7993
8053
 
7994
8054
  /**
7995
8055
  * List of repeated fields within this message type.
@@ -8063,7 +8123,8 @@ proto.ondewo.nlu.SessionInfo.toObject = function(includeInstance, msg) {
8063
8123
  propertyIdsList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f,
8064
8124
  datastreamIdsList: (f = jspb.Message.getRepeatedField(msg, 29)) == null ? undefined : f,
8065
8125
  originIdsList: (f = jspb.Message.getRepeatedField(msg, 30)) == null ? undefined : f,
8066
- identifiedUserIdsList: (f = jspb.Message.getRepeatedField(msg, 31)) == null ? undefined : f
8126
+ identifiedUserIdsList: (f = jspb.Message.getRepeatedField(msg, 31)) == null ? undefined : f,
8127
+ durationInterval60sRounded: jspb.Message.getFloatingPointFieldWithDefault(msg, 32, 0.0)
8067
8128
  };
8068
8129
 
8069
8130
  if (includeInstance) {
@@ -8123,11 +8184,11 @@ proto.ondewo.nlu.SessionInfo.deserializeBinaryFromReader = function(msg, reader)
8123
8184
  msg.setMinEntityTypesConfidence(value);
8124
8185
  break;
8125
8186
  case 6:
8126
- var value = /** @type {number} */ (reader.readFloat());
8187
+ var value = /** @type {number} */ (reader.readDouble());
8127
8188
  msg.setEarliest(value);
8128
8189
  break;
8129
8190
  case 7:
8130
- var value = /** @type {number} */ (reader.readFloat());
8191
+ var value = /** @type {number} */ (reader.readDouble());
8131
8192
  msg.setLatest(value);
8132
8193
  break;
8133
8194
  case 8:
@@ -8230,6 +8291,10 @@ proto.ondewo.nlu.SessionInfo.deserializeBinaryFromReader = function(msg, reader)
8230
8291
  var value = /** @type {string} */ (reader.readString());
8231
8292
  msg.addIdentifiedUserIds(value);
8232
8293
  break;
8294
+ case 32:
8295
+ var value = /** @type {number} */ (reader.readFloat());
8296
+ msg.setDurationInterval60sRounded(value);
8297
+ break;
8233
8298
  default:
8234
8299
  reader.skipField();
8235
8300
  break;
@@ -8298,14 +8363,14 @@ proto.ondewo.nlu.SessionInfo.serializeBinaryToWriter = function(message, writer)
8298
8363
  }
8299
8364
  f = message.getEarliest();
8300
8365
  if (f !== 0.0) {
8301
- writer.writeFloat(
8366
+ writer.writeDouble(
8302
8367
  6,
8303
8368
  f
8304
8369
  );
8305
8370
  }
8306
8371
  f = message.getLatest();
8307
8372
  if (f !== 0.0) {
8308
- writer.writeFloat(
8373
+ writer.writeDouble(
8309
8374
  7,
8310
8375
  f
8311
8376
  );
@@ -8480,6 +8545,13 @@ proto.ondewo.nlu.SessionInfo.serializeBinaryToWriter = function(message, writer)
8480
8545
  f
8481
8546
  );
8482
8547
  }
8548
+ f = message.getDurationInterval60sRounded();
8549
+ if (f !== 0.0) {
8550
+ writer.writeFloat(
8551
+ 32,
8552
+ f
8553
+ );
8554
+ }
8483
8555
  };
8484
8556
 
8485
8557
 
@@ -8793,7 +8865,7 @@ proto.ondewo.nlu.SessionInfo.prototype.setMinEntityTypesConfidence = function(va
8793
8865
 
8794
8866
 
8795
8867
  /**
8796
- * optional float earliest = 6;
8868
+ * optional double earliest = 6;
8797
8869
  * @return {number}
8798
8870
  */
8799
8871
  proto.ondewo.nlu.SessionInfo.prototype.getEarliest = function() {
@@ -8811,7 +8883,7 @@ proto.ondewo.nlu.SessionInfo.prototype.setEarliest = function(value) {
8811
8883
 
8812
8884
 
8813
8885
  /**
8814
- * optional float latest = 7;
8886
+ * optional double latest = 7;
8815
8887
  * @return {number}
8816
8888
  */
8817
8889
  proto.ondewo.nlu.SessionInfo.prototype.getLatest = function() {
@@ -9471,6 +9543,24 @@ proto.ondewo.nlu.SessionInfo.prototype.clearIdentifiedUserIdsList = function() {
9471
9543
  };
9472
9544
 
9473
9545
 
9546
+ /**
9547
+ * optional float duration_interval_60s_rounded = 32;
9548
+ * @return {number}
9549
+ */
9550
+ proto.ondewo.nlu.SessionInfo.prototype.getDurationInterval60sRounded = function() {
9551
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 32, 0.0));
9552
+ };
9553
+
9554
+
9555
+ /**
9556
+ * @param {number} value
9557
+ * @return {!proto.ondewo.nlu.SessionInfo} returns this
9558
+ */
9559
+ proto.ondewo.nlu.SessionInfo.prototype.setDurationInterval60sRounded = function(value) {
9560
+ return jspb.Message.setProto3FloatField(this, 32, value);
9561
+ };
9562
+
9563
+
9474
9564
 
9475
9565
  /**
9476
9566
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ondewo/nlu-client-typescript",
3
- "version": "4.3.0",
3
+ "version": "4.5.0",
4
4
  "description": "Ondewo Natural Language Understanding (NLU) Client library for typescript as a commonjs module",
5
5
  "main": "public-api.js",
6
6
  "typings": "public-api.d.ts",