@ondewo/nlu-client-typescript 4.7.0 → 4.9.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 (39) hide show
  1. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +61 -0
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +308 -1
  3. package/api/ondewo/nlu/agent_pb.d.ts +242 -1
  4. package/api/ondewo/nlu/agent_pb.js +1984 -38
  5. package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +79 -0
  6. package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +388 -0
  7. package/api/ondewo/nlu/ccai_project_pb.d.ts +582 -0
  8. package/api/ondewo/nlu/ccai_project_pb.js +4137 -0
  9. package/api/ondewo/nlu/common_pb.d.ts +456 -0
  10. package/api/ondewo/nlu/common_pb.js +3523 -4
  11. package/api/ondewo/nlu/context_grpc_web_pb.js +2 -0
  12. package/api/ondewo/nlu/context_pb.d.ts +41 -0
  13. package/api/ondewo/nlu/context_pb.js +328 -2
  14. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +2 -0
  15. package/api/ondewo/nlu/entity_type_pb.d.ts +41 -0
  16. package/api/ondewo/nlu/entity_type_pb.js +328 -2
  17. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +3 -3
  18. package/api/ondewo/nlu/intent_grpc_web_pb.js +6 -6
  19. package/api/ondewo/nlu/intent_pb.d.ts +120 -0
  20. package/api/ondewo/nlu/intent_pb.js +1058 -86
  21. package/api/ondewo/nlu/operation_metadata_pb.d.ts +21 -0
  22. package/api/ondewo/nlu/operation_metadata_pb.js +165 -2
  23. package/api/ondewo/nlu/project_role_grpc_web_pb.js +3 -1
  24. package/api/ondewo/nlu/project_role_pb.d.ts +22 -1
  25. package/api/ondewo/nlu/project_role_pb.js +167 -3
  26. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +109 -0
  27. package/api/ondewo/nlu/session_grpc_web_pb.js +551 -0
  28. package/api/ondewo/nlu/session_pb.d.ts +624 -0
  29. package/api/ondewo/nlu/session_pb.js +10278 -5168
  30. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +85 -0
  31. package/api/ondewo/nlu/user_grpc_web_pb.js +431 -0
  32. package/api/ondewo/nlu/user_pb.d.ts +284 -0
  33. package/api/ondewo/nlu/user_pb.js +3418 -1024
  34. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +37 -0
  35. package/api/ondewo/nlu/webhook_grpc_web_pb.js +191 -2
  36. package/api/ondewo/nlu/webhook_pb.d.ts +188 -5
  37. package/api/ondewo/nlu/webhook_pb.js +1530 -34
  38. package/package.json +1 -1
  39. package/public-api.d.ts +27 -25
@@ -1832,7 +1832,11 @@ proto.ondewo.nlu.Intent.toObject = function(includeInstance, msg) {
1832
1832
  status: jspb.Message.getFieldWithDefault(msg, 35, 0),
1833
1833
  startDate: (f = msg.getStartDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1834
1834
  endDate: (f = msg.getEndDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1835
- tagsList: (f = jspb.Message.getRepeatedField(msg, 38)) == null ? undefined : f
1835
+ tagsList: (f = jspb.Message.getRepeatedField(msg, 38)) == null ? undefined : f,
1836
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1837
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1838
+ createdBy: jspb.Message.getFieldWithDefault(msg, 41, ""),
1839
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 42, "")
1836
1840
  };
1837
1841
 
1838
1842
  if (includeInstance) {
@@ -1986,6 +1990,24 @@ proto.ondewo.nlu.Intent.deserializeBinaryFromReader = function(msg, reader) {
1986
1990
  var value = /** @type {string} */ (reader.readString());
1987
1991
  msg.addTags(value);
1988
1992
  break;
1993
+ case 39:
1994
+ var value = new google_protobuf_timestamp_pb.Timestamp;
1995
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1996
+ msg.setCreatedAt(value);
1997
+ break;
1998
+ case 40:
1999
+ var value = new google_protobuf_timestamp_pb.Timestamp;
2000
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2001
+ msg.setModifiedAt(value);
2002
+ break;
2003
+ case 41:
2004
+ var value = /** @type {string} */ (reader.readString());
2005
+ msg.setCreatedBy(value);
2006
+ break;
2007
+ case 42:
2008
+ var value = /** @type {string} */ (reader.readString());
2009
+ msg.setModifiedBy(value);
2010
+ break;
1989
2011
  default:
1990
2012
  reader.skipField();
1991
2013
  break;
@@ -2211,6 +2233,36 @@ proto.ondewo.nlu.Intent.serializeBinaryToWriter = function(message, writer) {
2211
2233
  f
2212
2234
  );
2213
2235
  }
2236
+ f = message.getCreatedAt();
2237
+ if (f != null) {
2238
+ writer.writeMessage(
2239
+ 39,
2240
+ f,
2241
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2242
+ );
2243
+ }
2244
+ f = message.getModifiedAt();
2245
+ if (f != null) {
2246
+ writer.writeMessage(
2247
+ 40,
2248
+ f,
2249
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2250
+ );
2251
+ }
2252
+ f = message.getCreatedBy();
2253
+ if (f.length > 0) {
2254
+ writer.writeString(
2255
+ 41,
2256
+ f
2257
+ );
2258
+ }
2259
+ f = message.getModifiedBy();
2260
+ if (f.length > 0) {
2261
+ writer.writeString(
2262
+ 42,
2263
+ f
2264
+ );
2265
+ }
2214
2266
  };
2215
2267
 
2216
2268
 
@@ -2276,7 +2328,11 @@ proto.ondewo.nlu.Intent.TrainingPhrase.toObject = function(includeInstance, msg)
2276
2328
  entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(),
2277
2329
  proto.ondewo.nlu.Intent.TrainingPhrase.Entity.toObject, includeInstance),
2278
2330
  timesAddedCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
2279
- languageCode: jspb.Message.getFieldWithDefault(msg, 6, "")
2331
+ languageCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
2332
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2333
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2334
+ createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
2335
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 10, "")
2280
2336
  };
2281
2337
 
2282
2338
  if (includeInstance) {
@@ -2338,6 +2394,24 @@ proto.ondewo.nlu.Intent.TrainingPhrase.deserializeBinaryFromReader = function(ms
2338
2394
  var value = /** @type {string} */ (reader.readString());
2339
2395
  msg.setLanguageCode(value);
2340
2396
  break;
2397
+ case 7:
2398
+ var value = new google_protobuf_timestamp_pb.Timestamp;
2399
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2400
+ msg.setCreatedAt(value);
2401
+ break;
2402
+ case 8:
2403
+ var value = new google_protobuf_timestamp_pb.Timestamp;
2404
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2405
+ msg.setModifiedAt(value);
2406
+ break;
2407
+ case 9:
2408
+ var value = /** @type {string} */ (reader.readString());
2409
+ msg.setCreatedBy(value);
2410
+ break;
2411
+ case 10:
2412
+ var value = /** @type {string} */ (reader.readString());
2413
+ msg.setModifiedBy(value);
2414
+ break;
2341
2415
  default:
2342
2416
  reader.skipField();
2343
2417
  break;
@@ -2410,6 +2484,36 @@ proto.ondewo.nlu.Intent.TrainingPhrase.serializeBinaryToWriter = function(messag
2410
2484
  f
2411
2485
  );
2412
2486
  }
2487
+ f = message.getCreatedAt();
2488
+ if (f != null) {
2489
+ writer.writeMessage(
2490
+ 7,
2491
+ f,
2492
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2493
+ );
2494
+ }
2495
+ f = message.getModifiedAt();
2496
+ if (f != null) {
2497
+ writer.writeMessage(
2498
+ 8,
2499
+ f,
2500
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2501
+ );
2502
+ }
2503
+ f = message.getCreatedBy();
2504
+ if (f.length > 0) {
2505
+ writer.writeString(
2506
+ 9,
2507
+ f
2508
+ );
2509
+ }
2510
+ f = message.getModifiedBy();
2511
+ if (f.length > 0) {
2512
+ writer.writeString(
2513
+ 10,
2514
+ f
2515
+ );
2516
+ }
2413
2517
  };
2414
2518
 
2415
2519
 
@@ -2461,7 +2565,11 @@ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.toObject = function(includeInstanc
2461
2565
  start: jspb.Message.getFieldWithDefault(msg, 6, 0),
2462
2566
  end: jspb.Message.getFieldWithDefault(msg, 7, 0),
2463
2567
  parameterName: jspb.Message.getFieldWithDefault(msg, 8, ""),
2464
- parameterDisplayName: jspb.Message.getFieldWithDefault(msg, 9, "")
2568
+ parameterDisplayName: jspb.Message.getFieldWithDefault(msg, 9, ""),
2569
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2570
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2571
+ createdBy: jspb.Message.getFieldWithDefault(msg, 12, ""),
2572
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 13, "")
2465
2573
  };
2466
2574
 
2467
2575
  if (includeInstance) {
@@ -2530,6 +2638,24 @@ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.deserializeBinaryFromReader = func
2530
2638
  var value = /** @type {string} */ (reader.readString());
2531
2639
  msg.setParameterDisplayName(value);
2532
2640
  break;
2641
+ case 10:
2642
+ var value = new google_protobuf_timestamp_pb.Timestamp;
2643
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2644
+ msg.setCreatedAt(value);
2645
+ break;
2646
+ case 11:
2647
+ var value = new google_protobuf_timestamp_pb.Timestamp;
2648
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2649
+ msg.setModifiedAt(value);
2650
+ break;
2651
+ case 12:
2652
+ var value = /** @type {string} */ (reader.readString());
2653
+ msg.setCreatedBy(value);
2654
+ break;
2655
+ case 13:
2656
+ var value = /** @type {string} */ (reader.readString());
2657
+ msg.setModifiedBy(value);
2658
+ break;
2533
2659
  default:
2534
2660
  reader.skipField();
2535
2661
  break;
@@ -2615,6 +2741,36 @@ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.serializeBinaryToWriter = function
2615
2741
  f
2616
2742
  );
2617
2743
  }
2744
+ f = message.getCreatedAt();
2745
+ if (f != null) {
2746
+ writer.writeMessage(
2747
+ 10,
2748
+ f,
2749
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2750
+ );
2751
+ }
2752
+ f = message.getModifiedAt();
2753
+ if (f != null) {
2754
+ writer.writeMessage(
2755
+ 11,
2756
+ f,
2757
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2758
+ );
2759
+ }
2760
+ f = message.getCreatedBy();
2761
+ if (f.length > 0) {
2762
+ writer.writeString(
2763
+ 12,
2764
+ f
2765
+ );
2766
+ }
2767
+ f = message.getModifiedBy();
2768
+ if (f.length > 0) {
2769
+ writer.writeString(
2770
+ 13,
2771
+ f
2772
+ );
2773
+ }
2618
2774
  };
2619
2775
 
2620
2776
 
@@ -2762,6 +2918,116 @@ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.setParameterDisplayName
2762
2918
  };
2763
2919
 
2764
2920
 
2921
+ /**
2922
+ * optional google.protobuf.Timestamp created_at = 10;
2923
+ * @return {?proto.google.protobuf.Timestamp}
2924
+ */
2925
+ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.getCreatedAt = function() {
2926
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
2927
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
2928
+ };
2929
+
2930
+
2931
+ /**
2932
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
2933
+ * @return {!proto.ondewo.nlu.Intent.TrainingPhrase.Entity} returns this
2934
+ */
2935
+ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.setCreatedAt = function(value) {
2936
+ return jspb.Message.setWrapperField(this, 10, value);
2937
+ };
2938
+
2939
+
2940
+ /**
2941
+ * Clears the message field making it undefined.
2942
+ * @return {!proto.ondewo.nlu.Intent.TrainingPhrase.Entity} returns this
2943
+ */
2944
+ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.clearCreatedAt = function() {
2945
+ return this.setCreatedAt(undefined);
2946
+ };
2947
+
2948
+
2949
+ /**
2950
+ * Returns whether this field is set.
2951
+ * @return {boolean}
2952
+ */
2953
+ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.hasCreatedAt = function() {
2954
+ return jspb.Message.getField(this, 10) != null;
2955
+ };
2956
+
2957
+
2958
+ /**
2959
+ * optional google.protobuf.Timestamp modified_at = 11;
2960
+ * @return {?proto.google.protobuf.Timestamp}
2961
+ */
2962
+ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.getModifiedAt = function() {
2963
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
2964
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
2965
+ };
2966
+
2967
+
2968
+ /**
2969
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
2970
+ * @return {!proto.ondewo.nlu.Intent.TrainingPhrase.Entity} returns this
2971
+ */
2972
+ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.setModifiedAt = function(value) {
2973
+ return jspb.Message.setWrapperField(this, 11, value);
2974
+ };
2975
+
2976
+
2977
+ /**
2978
+ * Clears the message field making it undefined.
2979
+ * @return {!proto.ondewo.nlu.Intent.TrainingPhrase.Entity} returns this
2980
+ */
2981
+ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.clearModifiedAt = function() {
2982
+ return this.setModifiedAt(undefined);
2983
+ };
2984
+
2985
+
2986
+ /**
2987
+ * Returns whether this field is set.
2988
+ * @return {boolean}
2989
+ */
2990
+ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.hasModifiedAt = function() {
2991
+ return jspb.Message.getField(this, 11) != null;
2992
+ };
2993
+
2994
+
2995
+ /**
2996
+ * optional string created_by = 12;
2997
+ * @return {string}
2998
+ */
2999
+ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.getCreatedBy = function() {
3000
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
3001
+ };
3002
+
3003
+
3004
+ /**
3005
+ * @param {string} value
3006
+ * @return {!proto.ondewo.nlu.Intent.TrainingPhrase.Entity} returns this
3007
+ */
3008
+ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.setCreatedBy = function(value) {
3009
+ return jspb.Message.setProto3StringField(this, 12, value);
3010
+ };
3011
+
3012
+
3013
+ /**
3014
+ * optional string modified_by = 13;
3015
+ * @return {string}
3016
+ */
3017
+ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.getModifiedBy = function() {
3018
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
3019
+ };
3020
+
3021
+
3022
+ /**
3023
+ * @param {string} value
3024
+ * @return {!proto.ondewo.nlu.Intent.TrainingPhrase.Entity} returns this
3025
+ */
3026
+ proto.ondewo.nlu.Intent.TrainingPhrase.Entity.prototype.setModifiedBy = function(value) {
3027
+ return jspb.Message.setProto3StringField(this, 13, value);
3028
+ };
3029
+
3030
+
2765
3031
  /**
2766
3032
  * optional string name = 1;
2767
3033
  * @return {string}
@@ -2890,68 +3156,182 @@ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.setLanguageCode = function(valu
2890
3156
  };
2891
3157
 
2892
3158
 
2893
-
2894
3159
  /**
2895
- * List of repeated fields within this message type.
2896
- * @private {!Array<number>}
2897
- * @const
3160
+ * optional google.protobuf.Timestamp created_at = 7;
3161
+ * @return {?proto.google.protobuf.Timestamp}
2898
3162
  */
2899
- proto.ondewo.nlu.Intent.Parameter.repeatedFields_ = [8];
3163
+ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.getCreatedAt = function() {
3164
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
3165
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
3166
+ };
2900
3167
 
2901
3168
 
3169
+ /**
3170
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
3171
+ * @return {!proto.ondewo.nlu.Intent.TrainingPhrase} returns this
3172
+ */
3173
+ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.setCreatedAt = function(value) {
3174
+ return jspb.Message.setWrapperField(this, 7, value);
3175
+ };
3176
+
2902
3177
 
2903
- if (jspb.Message.GENERATE_TO_OBJECT) {
2904
3178
  /**
2905
- * Creates an object representation of this proto.
2906
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2907
- * Optional fields that are not set will be set to undefined.
2908
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2909
- * For the list of reserved names please see:
2910
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2911
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2912
- * JSPB instance for transitional soy proto support:
2913
- * http://goto/soy-param-migration
2914
- * @return {!Object}
3179
+ * Clears the message field making it undefined.
3180
+ * @return {!proto.ondewo.nlu.Intent.TrainingPhrase} returns this
2915
3181
  */
2916
- proto.ondewo.nlu.Intent.Parameter.prototype.toObject = function(opt_includeInstance) {
2917
- return proto.ondewo.nlu.Intent.Parameter.toObject(opt_includeInstance, this);
3182
+ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.clearCreatedAt = function() {
3183
+ return this.setCreatedAt(undefined);
2918
3184
  };
2919
3185
 
2920
3186
 
2921
3187
  /**
2922
- * Static version of the {@see toObject} method.
2923
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2924
- * the JSPB instance for transitional soy proto support:
2925
- * http://goto/soy-param-migration
2926
- * @param {!proto.ondewo.nlu.Intent.Parameter} msg The msg instance to transform.
2927
- * @return {!Object}
2928
- * @suppress {unusedLocalVariables} f is only used for nested messages
3188
+ * Returns whether this field is set.
3189
+ * @return {boolean}
2929
3190
  */
2930
- proto.ondewo.nlu.Intent.Parameter.toObject = function(includeInstance, msg) {
2931
- var f, obj = {
2932
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2933
- displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
2934
- value: jspb.Message.getFieldWithDefault(msg, 3, ""),
2935
- defaultValue: jspb.Message.getFieldWithDefault(msg, 4, ""),
2936
- entityTypeName: jspb.Message.getFieldWithDefault(msg, 5, ""),
2937
- entityTypeDisplayName: jspb.Message.getFieldWithDefault(msg, 6, ""),
2938
- mandatory: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
2939
- promptsList: jspb.Message.toObjectList(msg.getPromptsList(),
2940
- proto.ondewo.nlu.Intent.Parameter.Prompt.toObject, includeInstance),
2941
- isList: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
2942
- };
2943
-
2944
- if (includeInstance) {
2945
- obj.$jspbMessageInstance = msg;
2946
- }
2947
- return obj;
3191
+ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.hasCreatedAt = function() {
3192
+ return jspb.Message.getField(this, 7) != null;
2948
3193
  };
2949
- }
2950
3194
 
2951
3195
 
2952
3196
  /**
2953
- * Deserializes binary data (in protobuf wire format).
2954
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3197
+ * optional google.protobuf.Timestamp modified_at = 8;
3198
+ * @return {?proto.google.protobuf.Timestamp}
3199
+ */
3200
+ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.getModifiedAt = function() {
3201
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
3202
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
3203
+ };
3204
+
3205
+
3206
+ /**
3207
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
3208
+ * @return {!proto.ondewo.nlu.Intent.TrainingPhrase} returns this
3209
+ */
3210
+ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.setModifiedAt = function(value) {
3211
+ return jspb.Message.setWrapperField(this, 8, value);
3212
+ };
3213
+
3214
+
3215
+ /**
3216
+ * Clears the message field making it undefined.
3217
+ * @return {!proto.ondewo.nlu.Intent.TrainingPhrase} returns this
3218
+ */
3219
+ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.clearModifiedAt = function() {
3220
+ return this.setModifiedAt(undefined);
3221
+ };
3222
+
3223
+
3224
+ /**
3225
+ * Returns whether this field is set.
3226
+ * @return {boolean}
3227
+ */
3228
+ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.hasModifiedAt = function() {
3229
+ return jspb.Message.getField(this, 8) != null;
3230
+ };
3231
+
3232
+
3233
+ /**
3234
+ * optional string created_by = 9;
3235
+ * @return {string}
3236
+ */
3237
+ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.getCreatedBy = function() {
3238
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
3239
+ };
3240
+
3241
+
3242
+ /**
3243
+ * @param {string} value
3244
+ * @return {!proto.ondewo.nlu.Intent.TrainingPhrase} returns this
3245
+ */
3246
+ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.setCreatedBy = function(value) {
3247
+ return jspb.Message.setProto3StringField(this, 9, value);
3248
+ };
3249
+
3250
+
3251
+ /**
3252
+ * optional string modified_by = 10;
3253
+ * @return {string}
3254
+ */
3255
+ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.getModifiedBy = function() {
3256
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
3257
+ };
3258
+
3259
+
3260
+ /**
3261
+ * @param {string} value
3262
+ * @return {!proto.ondewo.nlu.Intent.TrainingPhrase} returns this
3263
+ */
3264
+ proto.ondewo.nlu.Intent.TrainingPhrase.prototype.setModifiedBy = function(value) {
3265
+ return jspb.Message.setProto3StringField(this, 10, value);
3266
+ };
3267
+
3268
+
3269
+
3270
+ /**
3271
+ * List of repeated fields within this message type.
3272
+ * @private {!Array<number>}
3273
+ * @const
3274
+ */
3275
+ proto.ondewo.nlu.Intent.Parameter.repeatedFields_ = [8];
3276
+
3277
+
3278
+
3279
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3280
+ /**
3281
+ * Creates an object representation of this proto.
3282
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3283
+ * Optional fields that are not set will be set to undefined.
3284
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3285
+ * For the list of reserved names please see:
3286
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3287
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3288
+ * JSPB instance for transitional soy proto support:
3289
+ * http://goto/soy-param-migration
3290
+ * @return {!Object}
3291
+ */
3292
+ proto.ondewo.nlu.Intent.Parameter.prototype.toObject = function(opt_includeInstance) {
3293
+ return proto.ondewo.nlu.Intent.Parameter.toObject(opt_includeInstance, this);
3294
+ };
3295
+
3296
+
3297
+ /**
3298
+ * Static version of the {@see toObject} method.
3299
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3300
+ * the JSPB instance for transitional soy proto support:
3301
+ * http://goto/soy-param-migration
3302
+ * @param {!proto.ondewo.nlu.Intent.Parameter} msg The msg instance to transform.
3303
+ * @return {!Object}
3304
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3305
+ */
3306
+ proto.ondewo.nlu.Intent.Parameter.toObject = function(includeInstance, msg) {
3307
+ var f, obj = {
3308
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3309
+ displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
3310
+ value: jspb.Message.getFieldWithDefault(msg, 3, ""),
3311
+ defaultValue: jspb.Message.getFieldWithDefault(msg, 4, ""),
3312
+ entityTypeName: jspb.Message.getFieldWithDefault(msg, 5, ""),
3313
+ entityTypeDisplayName: jspb.Message.getFieldWithDefault(msg, 6, ""),
3314
+ mandatory: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
3315
+ promptsList: jspb.Message.toObjectList(msg.getPromptsList(),
3316
+ proto.ondewo.nlu.Intent.Parameter.Prompt.toObject, includeInstance),
3317
+ isList: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
3318
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3319
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3320
+ createdBy: jspb.Message.getFieldWithDefault(msg, 12, ""),
3321
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 13, "")
3322
+ };
3323
+
3324
+ if (includeInstance) {
3325
+ obj.$jspbMessageInstance = msg;
3326
+ }
3327
+ return obj;
3328
+ };
3329
+ }
3330
+
3331
+
3332
+ /**
3333
+ * Deserializes binary data (in protobuf wire format).
3334
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2955
3335
  * @return {!proto.ondewo.nlu.Intent.Parameter}
2956
3336
  */
2957
3337
  proto.ondewo.nlu.Intent.Parameter.deserializeBinary = function(bytes) {
@@ -3012,6 +3392,24 @@ proto.ondewo.nlu.Intent.Parameter.deserializeBinaryFromReader = function(msg, re
3012
3392
  var value = /** @type {boolean} */ (reader.readBool());
3013
3393
  msg.setIsList(value);
3014
3394
  break;
3395
+ case 10:
3396
+ var value = new google_protobuf_timestamp_pb.Timestamp;
3397
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3398
+ msg.setCreatedAt(value);
3399
+ break;
3400
+ case 11:
3401
+ var value = new google_protobuf_timestamp_pb.Timestamp;
3402
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3403
+ msg.setModifiedAt(value);
3404
+ break;
3405
+ case 12:
3406
+ var value = /** @type {string} */ (reader.readString());
3407
+ msg.setCreatedBy(value);
3408
+ break;
3409
+ case 13:
3410
+ var value = /** @type {string} */ (reader.readString());
3411
+ msg.setModifiedBy(value);
3412
+ break;
3015
3413
  default:
3016
3414
  reader.skipField();
3017
3415
  break;
@@ -3105,6 +3503,36 @@ proto.ondewo.nlu.Intent.Parameter.serializeBinaryToWriter = function(message, wr
3105
3503
  f
3106
3504
  );
3107
3505
  }
3506
+ f = message.getCreatedAt();
3507
+ if (f != null) {
3508
+ writer.writeMessage(
3509
+ 10,
3510
+ f,
3511
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3512
+ );
3513
+ }
3514
+ f = message.getModifiedAt();
3515
+ if (f != null) {
3516
+ writer.writeMessage(
3517
+ 11,
3518
+ f,
3519
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3520
+ );
3521
+ }
3522
+ f = message.getCreatedBy();
3523
+ if (f.length > 0) {
3524
+ writer.writeString(
3525
+ 12,
3526
+ f
3527
+ );
3528
+ }
3529
+ f = message.getModifiedBy();
3530
+ if (f.length > 0) {
3531
+ writer.writeString(
3532
+ 13,
3533
+ f
3534
+ );
3535
+ }
3108
3536
  };
3109
3537
 
3110
3538
 
@@ -3142,7 +3570,11 @@ proto.ondewo.nlu.Intent.Parameter.Prompt.toObject = function(includeInstance, ms
3142
3570
  var f, obj = {
3143
3571
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3144
3572
  text: jspb.Message.getFieldWithDefault(msg, 2, ""),
3145
- languageCode: jspb.Message.getFieldWithDefault(msg, 3, "")
3573
+ languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
3574
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3575
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3576
+ createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
3577
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
3146
3578
  };
3147
3579
 
3148
3580
  if (includeInstance) {
@@ -3191,6 +3623,24 @@ proto.ondewo.nlu.Intent.Parameter.Prompt.deserializeBinaryFromReader = function(
3191
3623
  var value = /** @type {string} */ (reader.readString());
3192
3624
  msg.setLanguageCode(value);
3193
3625
  break;
3626
+ case 4:
3627
+ var value = new google_protobuf_timestamp_pb.Timestamp;
3628
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3629
+ msg.setCreatedAt(value);
3630
+ break;
3631
+ case 5:
3632
+ var value = new google_protobuf_timestamp_pb.Timestamp;
3633
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3634
+ msg.setModifiedAt(value);
3635
+ break;
3636
+ case 6:
3637
+ var value = /** @type {string} */ (reader.readString());
3638
+ msg.setCreatedBy(value);
3639
+ break;
3640
+ case 7:
3641
+ var value = /** @type {string} */ (reader.readString());
3642
+ msg.setModifiedBy(value);
3643
+ break;
3194
3644
  default:
3195
3645
  reader.skipField();
3196
3646
  break;
@@ -3241,6 +3691,36 @@ proto.ondewo.nlu.Intent.Parameter.Prompt.serializeBinaryToWriter = function(mess
3241
3691
  f
3242
3692
  );
3243
3693
  }
3694
+ f = message.getCreatedAt();
3695
+ if (f != null) {
3696
+ writer.writeMessage(
3697
+ 4,
3698
+ f,
3699
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3700
+ );
3701
+ }
3702
+ f = message.getModifiedAt();
3703
+ if (f != null) {
3704
+ writer.writeMessage(
3705
+ 5,
3706
+ f,
3707
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3708
+ );
3709
+ }
3710
+ f = message.getCreatedBy();
3711
+ if (f.length > 0) {
3712
+ writer.writeString(
3713
+ 6,
3714
+ f
3715
+ );
3716
+ }
3717
+ f = message.getModifiedBy();
3718
+ if (f.length > 0) {
3719
+ writer.writeString(
3720
+ 7,
3721
+ f
3722
+ );
3723
+ }
3244
3724
  };
3245
3725
 
3246
3726
 
@@ -3298,6 +3778,116 @@ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.setLanguageCode = function(va
3298
3778
  };
3299
3779
 
3300
3780
 
3781
+ /**
3782
+ * optional google.protobuf.Timestamp created_at = 4;
3783
+ * @return {?proto.google.protobuf.Timestamp}
3784
+ */
3785
+ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.getCreatedAt = function() {
3786
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
3787
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
3788
+ };
3789
+
3790
+
3791
+ /**
3792
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
3793
+ * @return {!proto.ondewo.nlu.Intent.Parameter.Prompt} returns this
3794
+ */
3795
+ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.setCreatedAt = function(value) {
3796
+ return jspb.Message.setWrapperField(this, 4, value);
3797
+ };
3798
+
3799
+
3800
+ /**
3801
+ * Clears the message field making it undefined.
3802
+ * @return {!proto.ondewo.nlu.Intent.Parameter.Prompt} returns this
3803
+ */
3804
+ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.clearCreatedAt = function() {
3805
+ return this.setCreatedAt(undefined);
3806
+ };
3807
+
3808
+
3809
+ /**
3810
+ * Returns whether this field is set.
3811
+ * @return {boolean}
3812
+ */
3813
+ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.hasCreatedAt = function() {
3814
+ return jspb.Message.getField(this, 4) != null;
3815
+ };
3816
+
3817
+
3818
+ /**
3819
+ * optional google.protobuf.Timestamp modified_at = 5;
3820
+ * @return {?proto.google.protobuf.Timestamp}
3821
+ */
3822
+ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.getModifiedAt = function() {
3823
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
3824
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
3825
+ };
3826
+
3827
+
3828
+ /**
3829
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
3830
+ * @return {!proto.ondewo.nlu.Intent.Parameter.Prompt} returns this
3831
+ */
3832
+ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.setModifiedAt = function(value) {
3833
+ return jspb.Message.setWrapperField(this, 5, value);
3834
+ };
3835
+
3836
+
3837
+ /**
3838
+ * Clears the message field making it undefined.
3839
+ * @return {!proto.ondewo.nlu.Intent.Parameter.Prompt} returns this
3840
+ */
3841
+ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.clearModifiedAt = function() {
3842
+ return this.setModifiedAt(undefined);
3843
+ };
3844
+
3845
+
3846
+ /**
3847
+ * Returns whether this field is set.
3848
+ * @return {boolean}
3849
+ */
3850
+ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.hasModifiedAt = function() {
3851
+ return jspb.Message.getField(this, 5) != null;
3852
+ };
3853
+
3854
+
3855
+ /**
3856
+ * optional string created_by = 6;
3857
+ * @return {string}
3858
+ */
3859
+ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.getCreatedBy = function() {
3860
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3861
+ };
3862
+
3863
+
3864
+ /**
3865
+ * @param {string} value
3866
+ * @return {!proto.ondewo.nlu.Intent.Parameter.Prompt} returns this
3867
+ */
3868
+ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.setCreatedBy = function(value) {
3869
+ return jspb.Message.setProto3StringField(this, 6, value);
3870
+ };
3871
+
3872
+
3873
+ /**
3874
+ * optional string modified_by = 7;
3875
+ * @return {string}
3876
+ */
3877
+ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.getModifiedBy = function() {
3878
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3879
+ };
3880
+
3881
+
3882
+ /**
3883
+ * @param {string} value
3884
+ * @return {!proto.ondewo.nlu.Intent.Parameter.Prompt} returns this
3885
+ */
3886
+ proto.ondewo.nlu.Intent.Parameter.Prompt.prototype.setModifiedBy = function(value) {
3887
+ return jspb.Message.setProto3StringField(this, 7, value);
3888
+ };
3889
+
3890
+
3301
3891
  /**
3302
3892
  * optional string name = 1;
3303
3893
  * @return {string}
@@ -3398,85 +3988,195 @@ proto.ondewo.nlu.Intent.Parameter.prototype.getEntityTypeDisplayName = function(
3398
3988
 
3399
3989
 
3400
3990
  /**
3401
- * @param {string} value
3991
+ * @param {string} value
3992
+ * @return {!proto.ondewo.nlu.Intent.Parameter} returns this
3993
+ */
3994
+ proto.ondewo.nlu.Intent.Parameter.prototype.setEntityTypeDisplayName = function(value) {
3995
+ return jspb.Message.setProto3StringField(this, 6, value);
3996
+ };
3997
+
3998
+
3999
+ /**
4000
+ * optional bool mandatory = 7;
4001
+ * @return {boolean}
4002
+ */
4003
+ proto.ondewo.nlu.Intent.Parameter.prototype.getMandatory = function() {
4004
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
4005
+ };
4006
+
4007
+
4008
+ /**
4009
+ * @param {boolean} value
4010
+ * @return {!proto.ondewo.nlu.Intent.Parameter} returns this
4011
+ */
4012
+ proto.ondewo.nlu.Intent.Parameter.prototype.setMandatory = function(value) {
4013
+ return jspb.Message.setProto3BooleanField(this, 7, value);
4014
+ };
4015
+
4016
+
4017
+ /**
4018
+ * repeated Prompt prompts = 8;
4019
+ * @return {!Array<!proto.ondewo.nlu.Intent.Parameter.Prompt>}
4020
+ */
4021
+ proto.ondewo.nlu.Intent.Parameter.prototype.getPromptsList = function() {
4022
+ return /** @type{!Array<!proto.ondewo.nlu.Intent.Parameter.Prompt>} */ (
4023
+ jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.Intent.Parameter.Prompt, 8));
4024
+ };
4025
+
4026
+
4027
+ /**
4028
+ * @param {!Array<!proto.ondewo.nlu.Intent.Parameter.Prompt>} value
4029
+ * @return {!proto.ondewo.nlu.Intent.Parameter} returns this
4030
+ */
4031
+ proto.ondewo.nlu.Intent.Parameter.prototype.setPromptsList = function(value) {
4032
+ return jspb.Message.setRepeatedWrapperField(this, 8, value);
4033
+ };
4034
+
4035
+
4036
+ /**
4037
+ * @param {!proto.ondewo.nlu.Intent.Parameter.Prompt=} opt_value
4038
+ * @param {number=} opt_index
4039
+ * @return {!proto.ondewo.nlu.Intent.Parameter.Prompt}
4040
+ */
4041
+ proto.ondewo.nlu.Intent.Parameter.prototype.addPrompts = function(opt_value, opt_index) {
4042
+ return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.ondewo.nlu.Intent.Parameter.Prompt, opt_index);
4043
+ };
4044
+
4045
+
4046
+ /**
4047
+ * Clears the list making it empty but non-null.
4048
+ * @return {!proto.ondewo.nlu.Intent.Parameter} returns this
4049
+ */
4050
+ proto.ondewo.nlu.Intent.Parameter.prototype.clearPromptsList = function() {
4051
+ return this.setPromptsList([]);
4052
+ };
4053
+
4054
+
4055
+ /**
4056
+ * optional bool is_list = 9;
4057
+ * @return {boolean}
4058
+ */
4059
+ proto.ondewo.nlu.Intent.Parameter.prototype.getIsList = function() {
4060
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
4061
+ };
4062
+
4063
+
4064
+ /**
4065
+ * @param {boolean} value
4066
+ * @return {!proto.ondewo.nlu.Intent.Parameter} returns this
4067
+ */
4068
+ proto.ondewo.nlu.Intent.Parameter.prototype.setIsList = function(value) {
4069
+ return jspb.Message.setProto3BooleanField(this, 9, value);
4070
+ };
4071
+
4072
+
4073
+ /**
4074
+ * optional google.protobuf.Timestamp created_at = 10;
4075
+ * @return {?proto.google.protobuf.Timestamp}
4076
+ */
4077
+ proto.ondewo.nlu.Intent.Parameter.prototype.getCreatedAt = function() {
4078
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
4079
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
4080
+ };
4081
+
4082
+
4083
+ /**
4084
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
4085
+ * @return {!proto.ondewo.nlu.Intent.Parameter} returns this
4086
+ */
4087
+ proto.ondewo.nlu.Intent.Parameter.prototype.setCreatedAt = function(value) {
4088
+ return jspb.Message.setWrapperField(this, 10, value);
4089
+ };
4090
+
4091
+
4092
+ /**
4093
+ * Clears the message field making it undefined.
3402
4094
  * @return {!proto.ondewo.nlu.Intent.Parameter} returns this
3403
4095
  */
3404
- proto.ondewo.nlu.Intent.Parameter.prototype.setEntityTypeDisplayName = function(value) {
3405
- return jspb.Message.setProto3StringField(this, 6, value);
4096
+ proto.ondewo.nlu.Intent.Parameter.prototype.clearCreatedAt = function() {
4097
+ return this.setCreatedAt(undefined);
3406
4098
  };
3407
4099
 
3408
4100
 
3409
4101
  /**
3410
- * optional bool mandatory = 7;
4102
+ * Returns whether this field is set.
3411
4103
  * @return {boolean}
3412
4104
  */
3413
- proto.ondewo.nlu.Intent.Parameter.prototype.getMandatory = function() {
3414
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
4105
+ proto.ondewo.nlu.Intent.Parameter.prototype.hasCreatedAt = function() {
4106
+ return jspb.Message.getField(this, 10) != null;
3415
4107
  };
3416
4108
 
3417
4109
 
3418
4110
  /**
3419
- * @param {boolean} value
3420
- * @return {!proto.ondewo.nlu.Intent.Parameter} returns this
4111
+ * optional google.protobuf.Timestamp modified_at = 11;
4112
+ * @return {?proto.google.protobuf.Timestamp}
3421
4113
  */
3422
- proto.ondewo.nlu.Intent.Parameter.prototype.setMandatory = function(value) {
3423
- return jspb.Message.setProto3BooleanField(this, 7, value);
4114
+ proto.ondewo.nlu.Intent.Parameter.prototype.getModifiedAt = function() {
4115
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
4116
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
3424
4117
  };
3425
4118
 
3426
4119
 
3427
4120
  /**
3428
- * repeated Prompt prompts = 8;
3429
- * @return {!Array<!proto.ondewo.nlu.Intent.Parameter.Prompt>}
3430
- */
3431
- proto.ondewo.nlu.Intent.Parameter.prototype.getPromptsList = function() {
3432
- return /** @type{!Array<!proto.ondewo.nlu.Intent.Parameter.Prompt>} */ (
3433
- jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.Intent.Parameter.Prompt, 8));
4121
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
4122
+ * @return {!proto.ondewo.nlu.Intent.Parameter} returns this
4123
+ */
4124
+ proto.ondewo.nlu.Intent.Parameter.prototype.setModifiedAt = function(value) {
4125
+ return jspb.Message.setWrapperField(this, 11, value);
3434
4126
  };
3435
4127
 
3436
4128
 
3437
4129
  /**
3438
- * @param {!Array<!proto.ondewo.nlu.Intent.Parameter.Prompt>} value
4130
+ * Clears the message field making it undefined.
3439
4131
  * @return {!proto.ondewo.nlu.Intent.Parameter} returns this
3440
- */
3441
- proto.ondewo.nlu.Intent.Parameter.prototype.setPromptsList = function(value) {
3442
- return jspb.Message.setRepeatedWrapperField(this, 8, value);
4132
+ */
4133
+ proto.ondewo.nlu.Intent.Parameter.prototype.clearModifiedAt = function() {
4134
+ return this.setModifiedAt(undefined);
3443
4135
  };
3444
4136
 
3445
4137
 
3446
4138
  /**
3447
- * @param {!proto.ondewo.nlu.Intent.Parameter.Prompt=} opt_value
3448
- * @param {number=} opt_index
3449
- * @return {!proto.ondewo.nlu.Intent.Parameter.Prompt}
4139
+ * Returns whether this field is set.
4140
+ * @return {boolean}
3450
4141
  */
3451
- proto.ondewo.nlu.Intent.Parameter.prototype.addPrompts = function(opt_value, opt_index) {
3452
- return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.ondewo.nlu.Intent.Parameter.Prompt, opt_index);
4142
+ proto.ondewo.nlu.Intent.Parameter.prototype.hasModifiedAt = function() {
4143
+ return jspb.Message.getField(this, 11) != null;
3453
4144
  };
3454
4145
 
3455
4146
 
3456
4147
  /**
3457
- * Clears the list making it empty but non-null.
4148
+ * optional string created_by = 12;
4149
+ * @return {string}
4150
+ */
4151
+ proto.ondewo.nlu.Intent.Parameter.prototype.getCreatedBy = function() {
4152
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
4153
+ };
4154
+
4155
+
4156
+ /**
4157
+ * @param {string} value
3458
4158
  * @return {!proto.ondewo.nlu.Intent.Parameter} returns this
3459
4159
  */
3460
- proto.ondewo.nlu.Intent.Parameter.prototype.clearPromptsList = function() {
3461
- return this.setPromptsList([]);
4160
+ proto.ondewo.nlu.Intent.Parameter.prototype.setCreatedBy = function(value) {
4161
+ return jspb.Message.setProto3StringField(this, 12, value);
3462
4162
  };
3463
4163
 
3464
4164
 
3465
4165
  /**
3466
- * optional bool is_list = 9;
3467
- * @return {boolean}
4166
+ * optional string modified_by = 13;
4167
+ * @return {string}
3468
4168
  */
3469
- proto.ondewo.nlu.Intent.Parameter.prototype.getIsList = function() {
3470
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
4169
+ proto.ondewo.nlu.Intent.Parameter.prototype.getModifiedBy = function() {
4170
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
3471
4171
  };
3472
4172
 
3473
4173
 
3474
4174
  /**
3475
- * @param {boolean} value
4175
+ * @param {string} value
3476
4176
  * @return {!proto.ondewo.nlu.Intent.Parameter} returns this
3477
4177
  */
3478
- proto.ondewo.nlu.Intent.Parameter.prototype.setIsList = function(value) {
3479
- return jspb.Message.setProto3BooleanField(this, 9, value);
4178
+ proto.ondewo.nlu.Intent.Parameter.prototype.setModifiedBy = function(value) {
4179
+ return jspb.Message.setProto3StringField(this, 13, value);
3480
4180
  };
3481
4181
 
3482
4182
 
@@ -3567,7 +4267,11 @@ proto.ondewo.nlu.Intent.Message.toObject = function(includeInstance, msg) {
3567
4267
  video: (f = msg.getVideo()) && proto.ondewo.nlu.Intent.Message.Video.toObject(includeInstance, f),
3568
4268
  audio: (f = msg.getAudio()) && proto.ondewo.nlu.Intent.Message.Audio.toObject(includeInstance, f),
3569
4269
  platform: jspb.Message.getFieldWithDefault(msg, 6, 0),
3570
- isPrompt: jspb.Message.getBooleanFieldWithDefault(msg, 18, false)
4270
+ isPrompt: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
4271
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
4272
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
4273
+ createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
4274
+ modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, "")
3571
4275
  };
3572
4276
 
3573
4277
  if (includeInstance) {
@@ -3690,6 +4394,24 @@ proto.ondewo.nlu.Intent.Message.deserializeBinaryFromReader = function(msg, read
3690
4394
  var value = /** @type {boolean} */ (reader.readBool());
3691
4395
  msg.setIsPrompt(value);
3692
4396
  break;
4397
+ case 19:
4398
+ var value = new google_protobuf_timestamp_pb.Timestamp;
4399
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
4400
+ msg.setCreatedAt(value);
4401
+ break;
4402
+ case 20:
4403
+ var value = new google_protobuf_timestamp_pb.Timestamp;
4404
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
4405
+ msg.setModifiedAt(value);
4406
+ break;
4407
+ case 21:
4408
+ var value = /** @type {string} */ (reader.readString());
4409
+ msg.setCreatedBy(value);
4410
+ break;
4411
+ case 22:
4412
+ var value = /** @type {string} */ (reader.readString());
4413
+ msg.setModifiedBy(value);
4414
+ break;
3693
4415
  default:
3694
4416
  reader.skipField();
3695
4417
  break;
@@ -3859,6 +4581,36 @@ proto.ondewo.nlu.Intent.Message.serializeBinaryToWriter = function(message, writ
3859
4581
  f
3860
4582
  );
3861
4583
  }
4584
+ f = message.getCreatedAt();
4585
+ if (f != null) {
4586
+ writer.writeMessage(
4587
+ 19,
4588
+ f,
4589
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
4590
+ );
4591
+ }
4592
+ f = message.getModifiedAt();
4593
+ if (f != null) {
4594
+ writer.writeMessage(
4595
+ 20,
4596
+ f,
4597
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
4598
+ );
4599
+ }
4600
+ f = message.getCreatedBy();
4601
+ if (f.length > 0) {
4602
+ writer.writeString(
4603
+ 21,
4604
+ f
4605
+ );
4606
+ }
4607
+ f = message.getModifiedBy();
4608
+ if (f.length > 0) {
4609
+ writer.writeString(
4610
+ 22,
4611
+ f
4612
+ );
4613
+ }
3862
4614
  };
3863
4615
 
3864
4616
 
@@ -8347,6 +9099,116 @@ proto.ondewo.nlu.Intent.Message.prototype.setIsPrompt = function(value) {
8347
9099
  };
8348
9100
 
8349
9101
 
9102
+ /**
9103
+ * optional google.protobuf.Timestamp created_at = 19;
9104
+ * @return {?proto.google.protobuf.Timestamp}
9105
+ */
9106
+ proto.ondewo.nlu.Intent.Message.prototype.getCreatedAt = function() {
9107
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
9108
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 19));
9109
+ };
9110
+
9111
+
9112
+ /**
9113
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
9114
+ * @return {!proto.ondewo.nlu.Intent.Message} returns this
9115
+ */
9116
+ proto.ondewo.nlu.Intent.Message.prototype.setCreatedAt = function(value) {
9117
+ return jspb.Message.setWrapperField(this, 19, value);
9118
+ };
9119
+
9120
+
9121
+ /**
9122
+ * Clears the message field making it undefined.
9123
+ * @return {!proto.ondewo.nlu.Intent.Message} returns this
9124
+ */
9125
+ proto.ondewo.nlu.Intent.Message.prototype.clearCreatedAt = function() {
9126
+ return this.setCreatedAt(undefined);
9127
+ };
9128
+
9129
+
9130
+ /**
9131
+ * Returns whether this field is set.
9132
+ * @return {boolean}
9133
+ */
9134
+ proto.ondewo.nlu.Intent.Message.prototype.hasCreatedAt = function() {
9135
+ return jspb.Message.getField(this, 19) != null;
9136
+ };
9137
+
9138
+
9139
+ /**
9140
+ * optional google.protobuf.Timestamp modified_at = 20;
9141
+ * @return {?proto.google.protobuf.Timestamp}
9142
+ */
9143
+ proto.ondewo.nlu.Intent.Message.prototype.getModifiedAt = function() {
9144
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
9145
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 20));
9146
+ };
9147
+
9148
+
9149
+ /**
9150
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
9151
+ * @return {!proto.ondewo.nlu.Intent.Message} returns this
9152
+ */
9153
+ proto.ondewo.nlu.Intent.Message.prototype.setModifiedAt = function(value) {
9154
+ return jspb.Message.setWrapperField(this, 20, value);
9155
+ };
9156
+
9157
+
9158
+ /**
9159
+ * Clears the message field making it undefined.
9160
+ * @return {!proto.ondewo.nlu.Intent.Message} returns this
9161
+ */
9162
+ proto.ondewo.nlu.Intent.Message.prototype.clearModifiedAt = function() {
9163
+ return this.setModifiedAt(undefined);
9164
+ };
9165
+
9166
+
9167
+ /**
9168
+ * Returns whether this field is set.
9169
+ * @return {boolean}
9170
+ */
9171
+ proto.ondewo.nlu.Intent.Message.prototype.hasModifiedAt = function() {
9172
+ return jspb.Message.getField(this, 20) != null;
9173
+ };
9174
+
9175
+
9176
+ /**
9177
+ * optional string created_by = 21;
9178
+ * @return {string}
9179
+ */
9180
+ proto.ondewo.nlu.Intent.Message.prototype.getCreatedBy = function() {
9181
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
9182
+ };
9183
+
9184
+
9185
+ /**
9186
+ * @param {string} value
9187
+ * @return {!proto.ondewo.nlu.Intent.Message} returns this
9188
+ */
9189
+ proto.ondewo.nlu.Intent.Message.prototype.setCreatedBy = function(value) {
9190
+ return jspb.Message.setProto3StringField(this, 21, value);
9191
+ };
9192
+
9193
+
9194
+ /**
9195
+ * optional string modified_by = 22;
9196
+ * @return {string}
9197
+ */
9198
+ proto.ondewo.nlu.Intent.Message.prototype.getModifiedBy = function() {
9199
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
9200
+ };
9201
+
9202
+
9203
+ /**
9204
+ * @param {string} value
9205
+ * @return {!proto.ondewo.nlu.Intent.Message} returns this
9206
+ */
9207
+ proto.ondewo.nlu.Intent.Message.prototype.setModifiedBy = function(value) {
9208
+ return jspb.Message.setProto3StringField(this, 22, value);
9209
+ };
9210
+
9211
+
8350
9212
 
8351
9213
 
8352
9214
 
@@ -9207,6 +10069,116 @@ proto.ondewo.nlu.Intent.prototype.clearTagsList = function() {
9207
10069
  };
9208
10070
 
9209
10071
 
10072
+ /**
10073
+ * optional google.protobuf.Timestamp created_at = 39;
10074
+ * @return {?proto.google.protobuf.Timestamp}
10075
+ */
10076
+ proto.ondewo.nlu.Intent.prototype.getCreatedAt = function() {
10077
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
10078
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 39));
10079
+ };
10080
+
10081
+
10082
+ /**
10083
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
10084
+ * @return {!proto.ondewo.nlu.Intent} returns this
10085
+ */
10086
+ proto.ondewo.nlu.Intent.prototype.setCreatedAt = function(value) {
10087
+ return jspb.Message.setWrapperField(this, 39, value);
10088
+ };
10089
+
10090
+
10091
+ /**
10092
+ * Clears the message field making it undefined.
10093
+ * @return {!proto.ondewo.nlu.Intent} returns this
10094
+ */
10095
+ proto.ondewo.nlu.Intent.prototype.clearCreatedAt = function() {
10096
+ return this.setCreatedAt(undefined);
10097
+ };
10098
+
10099
+
10100
+ /**
10101
+ * Returns whether this field is set.
10102
+ * @return {boolean}
10103
+ */
10104
+ proto.ondewo.nlu.Intent.prototype.hasCreatedAt = function() {
10105
+ return jspb.Message.getField(this, 39) != null;
10106
+ };
10107
+
10108
+
10109
+ /**
10110
+ * optional google.protobuf.Timestamp modified_at = 40;
10111
+ * @return {?proto.google.protobuf.Timestamp}
10112
+ */
10113
+ proto.ondewo.nlu.Intent.prototype.getModifiedAt = function() {
10114
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
10115
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 40));
10116
+ };
10117
+
10118
+
10119
+ /**
10120
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
10121
+ * @return {!proto.ondewo.nlu.Intent} returns this
10122
+ */
10123
+ proto.ondewo.nlu.Intent.prototype.setModifiedAt = function(value) {
10124
+ return jspb.Message.setWrapperField(this, 40, value);
10125
+ };
10126
+
10127
+
10128
+ /**
10129
+ * Clears the message field making it undefined.
10130
+ * @return {!proto.ondewo.nlu.Intent} returns this
10131
+ */
10132
+ proto.ondewo.nlu.Intent.prototype.clearModifiedAt = function() {
10133
+ return this.setModifiedAt(undefined);
10134
+ };
10135
+
10136
+
10137
+ /**
10138
+ * Returns whether this field is set.
10139
+ * @return {boolean}
10140
+ */
10141
+ proto.ondewo.nlu.Intent.prototype.hasModifiedAt = function() {
10142
+ return jspb.Message.getField(this, 40) != null;
10143
+ };
10144
+
10145
+
10146
+ /**
10147
+ * optional string created_by = 41;
10148
+ * @return {string}
10149
+ */
10150
+ proto.ondewo.nlu.Intent.prototype.getCreatedBy = function() {
10151
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 41, ""));
10152
+ };
10153
+
10154
+
10155
+ /**
10156
+ * @param {string} value
10157
+ * @return {!proto.ondewo.nlu.Intent} returns this
10158
+ */
10159
+ proto.ondewo.nlu.Intent.prototype.setCreatedBy = function(value) {
10160
+ return jspb.Message.setProto3StringField(this, 41, value);
10161
+ };
10162
+
10163
+
10164
+ /**
10165
+ * optional string modified_by = 42;
10166
+ * @return {string}
10167
+ */
10168
+ proto.ondewo.nlu.Intent.prototype.getModifiedBy = function() {
10169
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 42, ""));
10170
+ };
10171
+
10172
+
10173
+ /**
10174
+ * @param {string} value
10175
+ * @return {!proto.ondewo.nlu.Intent} returns this
10176
+ */
10177
+ proto.ondewo.nlu.Intent.prototype.setModifiedBy = function(value) {
10178
+ return jspb.Message.setProto3StringField(this, 42, value);
10179
+ };
10180
+
10181
+
9210
10182
 
9211
10183
  /**
9212
10184
  * List of repeated fields within this message type.