@ondewo/nlu-client-typescript 4.1.0 → 4.2.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 (62) hide show
  1. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +490 -450
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +1244 -1113
  3. package/api/ondewo/nlu/agent_pb.d.ts +1751 -1939
  4. package/api/ondewo/nlu/agent_pb.js +10484 -9063
  5. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +106 -98
  6. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +280 -245
  7. package/api/ondewo/nlu/aiservices_pb.d.ts +674 -745
  8. package/api/ondewo/nlu/aiservices_pb.js +4403 -3638
  9. package/api/ondewo/nlu/common_pb.d.ts +17 -15
  10. package/api/ondewo/nlu/common_pb.js +93 -83
  11. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +82 -76
  12. package/api/ondewo/nlu/context_grpc_web_pb.js +220 -191
  13. package/api/ondewo/nlu/context_pb.d.ts +151 -151
  14. package/api/ondewo/nlu/context_pb.js +1042 -889
  15. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +154 -142
  16. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +398 -351
  17. package/api/ondewo/nlu/entity_type_pb.d.ts +571 -614
  18. package/api/ondewo/nlu/entity_type_pb.js +3369 -2893
  19. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +334 -310
  20. package/api/ondewo/nlu/intent_grpc_web_pb.js +851 -766
  21. package/api/ondewo/nlu/intent_pb.d.ts +1993 -2151
  22. package/api/ondewo/nlu/intent_pb.js +10692 -9502
  23. package/api/ondewo/nlu/operation_metadata_pb.d.ts +88 -86
  24. package/api/ondewo/nlu/operation_metadata_pb.js +412 -321
  25. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +50 -46
  26. package/api/ondewo/nlu/operations_grpc_web_pb.js +163 -140
  27. package/api/ondewo/nlu/operations_pb.d.ts +182 -189
  28. package/api/ondewo/nlu/operations_pb.js +1004 -843
  29. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +70 -65
  30. package/api/ondewo/nlu/project_role_grpc_web_pb.js +190 -164
  31. package/api/ondewo/nlu/project_role_pb.d.ts +151 -165
  32. package/api/ondewo/nlu/project_role_pb.js +963 -796
  33. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +106 -98
  34. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +281 -246
  35. package/api/ondewo/nlu/project_statistics_pb.d.ts +63 -67
  36. package/api/ondewo/nlu/project_statistics_pb.js +418 -354
  37. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +46 -43
  38. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +130 -110
  39. package/api/ondewo/nlu/server_statistics_pb.d.ts +14 -15
  40. package/api/ondewo/nlu/server_statistics_pb.js +91 -81
  41. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +334 -164
  42. package/api/ondewo/nlu/session_grpc_web_pb.js +1255 -409
  43. package/api/ondewo/nlu/session_pb.d.ts +1721 -1080
  44. package/api/ondewo/nlu/session_pb.js +13885 -6673
  45. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +190 -172
  46. package/api/ondewo/nlu/user_grpc_web_pb.js +487 -431
  47. package/api/ondewo/nlu/user_pb.d.ts +325 -345
  48. package/api/ondewo/nlu/user_pb.js +2312 -1948
  49. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +106 -98
  50. package/api/ondewo/nlu/utility_grpc_web_pb.js +279 -244
  51. package/api/ondewo/nlu/utility_pb.d.ts +535 -588
  52. package/api/ondewo/nlu/utility_pb.js +3348 -2814
  53. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +46 -43
  54. package/api/ondewo/nlu/webhook_grpc_web_pb.js +132 -112
  55. package/api/ondewo/nlu/webhook_pb.d.ts +119 -123
  56. package/api/ondewo/nlu/webhook_pb.js +718 -599
  57. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +94 -87
  58. package/api/ondewo/qa/qa_grpc_web_pb.js +250 -218
  59. package/api/ondewo/qa/qa_pb.d.ts +220 -235
  60. package/api/ondewo/qa/qa_pb.js +1452 -1222
  61. package/package.json +1 -1
  62. package/public-api.d.ts +30 -0
@@ -13,9 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = function () {
17
- return this || window || global || self || Function('return this')();
18
- }.call(null);
16
+ var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
19
17
 
20
18
  var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
21
19
  goog.object.extend(proto, google_api_annotations_pb);
@@ -34,68 +32,72 @@ goog.exportSymbol('proto.ondewo.nlu.GetUserProjectCountRequest', null, global);
34
32
  * @extends {jspb.Message}
35
33
  * @constructor
36
34
  */
37
- proto.ondewo.nlu.GetUserProjectCountRequest = function (opt_data) {
38
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
35
+ proto.ondewo.nlu.GetUserProjectCountRequest = function(opt_data) {
36
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
39
37
  };
40
38
  goog.inherits(proto.ondewo.nlu.GetUserProjectCountRequest, jspb.Message);
41
39
  if (goog.DEBUG && !COMPILED) {
42
- /**
43
- * @public
44
- * @override
45
- */
46
- proto.ondewo.nlu.GetUserProjectCountRequest.displayName = 'proto.ondewo.nlu.GetUserProjectCountRequest';
40
+ /**
41
+ * @public
42
+ * @override
43
+ */
44
+ proto.ondewo.nlu.GetUserProjectCountRequest.displayName = 'proto.ondewo.nlu.GetUserProjectCountRequest';
47
45
  }
48
46
 
47
+
48
+
49
49
  if (jspb.Message.GENERATE_TO_OBJECT) {
50
- /**
51
- * Creates an object representation of this proto.
52
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
53
- * Optional fields that are not set will be set to undefined.
54
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55
- * For the list of reserved names please see:
56
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58
- * JSPB instance for transitional soy proto support:
59
- * http://goto/soy-param-migration
60
- * @return {!Object}
61
- */
62
- proto.ondewo.nlu.GetUserProjectCountRequest.prototype.toObject = function (opt_includeInstance) {
63
- return proto.ondewo.nlu.GetUserProjectCountRequest.toObject(opt_includeInstance, this);
64
- };
65
-
66
- /**
67
- * Static version of the {@see toObject} method.
68
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
69
- * the JSPB instance for transitional soy proto support:
70
- * http://goto/soy-param-migration
71
- * @param {!proto.ondewo.nlu.GetUserProjectCountRequest} msg The msg instance to transform.
72
- * @return {!Object}
73
- * @suppress {unusedLocalVariables} f is only used for nested messages
74
- */
75
- proto.ondewo.nlu.GetUserProjectCountRequest.toObject = function (includeInstance, msg) {
76
- var f,
77
- obj = {
78
- userId: jspb.Message.getFieldWithDefault(msg, 1, '')
79
- };
80
-
81
- if (includeInstance) {
82
- obj.$jspbMessageInstance = msg;
83
- }
84
- return obj;
85
- };
50
+ /**
51
+ * Creates an object representation of this proto.
52
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53
+ * Optional fields that are not set will be set to undefined.
54
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55
+ * For the list of reserved names please see:
56
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58
+ * JSPB instance for transitional soy proto support:
59
+ * http://goto/soy-param-migration
60
+ * @return {!Object}
61
+ */
62
+ proto.ondewo.nlu.GetUserProjectCountRequest.prototype.toObject = function(opt_includeInstance) {
63
+ return proto.ondewo.nlu.GetUserProjectCountRequest.toObject(opt_includeInstance, this);
64
+ };
65
+
66
+
67
+ /**
68
+ * Static version of the {@see toObject} method.
69
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
70
+ * the JSPB instance for transitional soy proto support:
71
+ * http://goto/soy-param-migration
72
+ * @param {!proto.ondewo.nlu.GetUserProjectCountRequest} msg The msg instance to transform.
73
+ * @return {!Object}
74
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75
+ */
76
+ proto.ondewo.nlu.GetUserProjectCountRequest.toObject = function(includeInstance, msg) {
77
+ var f, obj = {
78
+ userId: jspb.Message.getFieldWithDefault(msg, 1, "")
79
+ };
80
+
81
+ if (includeInstance) {
82
+ obj.$jspbMessageInstance = msg;
83
+ }
84
+ return obj;
85
+ };
86
86
  }
87
87
 
88
+
88
89
  /**
89
90
  * Deserializes binary data (in protobuf wire format).
90
91
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
91
92
  * @return {!proto.ondewo.nlu.GetUserProjectCountRequest}
92
93
  */
93
- proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinary = function (bytes) {
94
- var reader = new jspb.BinaryReader(bytes);
95
- var msg = new proto.ondewo.nlu.GetUserProjectCountRequest();
96
- return proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinaryFromReader(msg, reader);
94
+ proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinary = function(bytes) {
95
+ var reader = new jspb.BinaryReader(bytes);
96
+ var msg = new proto.ondewo.nlu.GetUserProjectCountRequest;
97
+ return proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinaryFromReader(msg, reader);
97
98
  };
98
99
 
100
+
99
101
  /**
100
102
  * Deserializes binary data (in protobuf wire format) from the
101
103
  * given reader into the given message object.
@@ -103,35 +105,37 @@ proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinary = function (bytes)
103
105
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
104
106
  * @return {!proto.ondewo.nlu.GetUserProjectCountRequest}
105
107
  */
106
- proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinaryFromReader = function (msg, reader) {
107
- while (reader.nextField()) {
108
- if (reader.isEndGroup()) {
109
- break;
110
- }
111
- var field = reader.getFieldNumber();
112
- switch (field) {
113
- case 1:
114
- var value = /** @type {string} */ (reader.readString());
115
- msg.setUserId(value);
116
- break;
117
- default:
118
- reader.skipField();
119
- break;
120
- }
121
- }
122
- return msg;
108
+ proto.ondewo.nlu.GetUserProjectCountRequest.deserializeBinaryFromReader = function(msg, reader) {
109
+ while (reader.nextField()) {
110
+ if (reader.isEndGroup()) {
111
+ break;
112
+ }
113
+ var field = reader.getFieldNumber();
114
+ switch (field) {
115
+ case 1:
116
+ var value = /** @type {string} */ (reader.readString());
117
+ msg.setUserId(value);
118
+ break;
119
+ default:
120
+ reader.skipField();
121
+ break;
122
+ }
123
+ }
124
+ return msg;
123
125
  };
124
126
 
127
+
125
128
  /**
126
129
  * Serializes the message to binary data (in protobuf wire format).
127
130
  * @return {!Uint8Array}
128
131
  */
129
- proto.ondewo.nlu.GetUserProjectCountRequest.prototype.serializeBinary = function () {
130
- var writer = new jspb.BinaryWriter();
131
- proto.ondewo.nlu.GetUserProjectCountRequest.serializeBinaryToWriter(this, writer);
132
- return writer.getResultBuffer();
132
+ proto.ondewo.nlu.GetUserProjectCountRequest.prototype.serializeBinary = function() {
133
+ var writer = new jspb.BinaryWriter();
134
+ proto.ondewo.nlu.GetUserProjectCountRequest.serializeBinaryToWriter(this, writer);
135
+ return writer.getResultBuffer();
133
136
  };
134
137
 
138
+
135
139
  /**
136
140
  * Serializes the given message to binary data (in protobuf wire
137
141
  * format), writing to the given BinaryWriter.
@@ -139,28 +143,34 @@ proto.ondewo.nlu.GetUserProjectCountRequest.prototype.serializeBinary = function
139
143
  * @param {!jspb.BinaryWriter} writer
140
144
  * @suppress {unusedLocalVariables} f is only used for nested messages
141
145
  */
142
- proto.ondewo.nlu.GetUserProjectCountRequest.serializeBinaryToWriter = function (message, writer) {
143
- var f = undefined;
144
- f = message.getUserId();
145
- if (f.length > 0) {
146
- writer.writeString(1, f);
147
- }
146
+ proto.ondewo.nlu.GetUserProjectCountRequest.serializeBinaryToWriter = function(message, writer) {
147
+ var f = undefined;
148
+ f = message.getUserId();
149
+ if (f.length > 0) {
150
+ writer.writeString(
151
+ 1,
152
+ f
153
+ );
154
+ }
148
155
  };
149
156
 
157
+
150
158
  /**
151
159
  * optional string user_id = 1;
152
160
  * @return {string}
153
161
  */
154
- proto.ondewo.nlu.GetUserProjectCountRequest.prototype.getUserId = function () {
155
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
162
+ proto.ondewo.nlu.GetUserProjectCountRequest.prototype.getUserId = function() {
163
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
156
164
  };
157
165
 
166
+
158
167
  /**
159
168
  * @param {string} value
160
169
  * @return {!proto.ondewo.nlu.GetUserProjectCountRequest} returns this
161
170
  */
162
- proto.ondewo.nlu.GetUserProjectCountRequest.prototype.setUserId = function (value) {
163
- return jspb.Message.setProto3StringField(this, 1, value);
171
+ proto.ondewo.nlu.GetUserProjectCountRequest.prototype.setUserId = function(value) {
172
+ return jspb.Message.setProto3StringField(this, 1, value);
164
173
  };
165
174
 
175
+
166
176
  goog.object.extend(exports, proto.ondewo.nlu);