@ondewo/nlu-client-typescript 4.3.0 → 4.4.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) {
@@ -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;
@@ -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
 
@@ -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) {
@@ -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;
@@ -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
 
@@ -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.4.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",