@ondewo/nlu-client-typescript 4.1.0 → 4.3.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/api/ondewo/nlu/agent_grpc_web_pb.d.ts +490 -450
- package/api/ondewo/nlu/agent_grpc_web_pb.js +1244 -1113
- package/api/ondewo/nlu/agent_pb.d.ts +1758 -1939
- package/api/ondewo/nlu/agent_pb.js +10491 -9063
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +280 -245
- package/api/ondewo/nlu/aiservices_pb.d.ts +674 -745
- package/api/ondewo/nlu/aiservices_pb.js +4403 -3638
- package/api/ondewo/nlu/common_pb.d.ts +17 -15
- package/api/ondewo/nlu/common_pb.js +93 -83
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +82 -76
- package/api/ondewo/nlu/context_grpc_web_pb.js +220 -191
- package/api/ondewo/nlu/context_pb.d.ts +151 -151
- package/api/ondewo/nlu/context_pb.js +1042 -889
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +154 -142
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +398 -351
- package/api/ondewo/nlu/entity_type_pb.d.ts +571 -614
- package/api/ondewo/nlu/entity_type_pb.js +3369 -2893
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +334 -310
- package/api/ondewo/nlu/intent_grpc_web_pb.js +851 -766
- package/api/ondewo/nlu/intent_pb.d.ts +1993 -2151
- package/api/ondewo/nlu/intent_pb.js +10692 -9502
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +98 -86
- package/api/ondewo/nlu/operation_metadata_pb.js +492 -322
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +50 -46
- package/api/ondewo/nlu/operations_grpc_web_pb.js +163 -140
- package/api/ondewo/nlu/operations_pb.d.ts +182 -189
- package/api/ondewo/nlu/operations_pb.js +1004 -843
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +70 -65
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +190 -164
- package/api/ondewo/nlu/project_role_pb.d.ts +151 -165
- package/api/ondewo/nlu/project_role_pb.js +963 -796
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +281 -246
- package/api/ondewo/nlu/project_statistics_pb.d.ts +63 -67
- package/api/ondewo/nlu/project_statistics_pb.js +418 -354
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +46 -43
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +130 -110
- package/api/ondewo/nlu/server_statistics_pb.d.ts +14 -15
- package/api/ondewo/nlu/server_statistics_pb.js +91 -81
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +334 -164
- package/api/ondewo/nlu/session_grpc_web_pb.js +1255 -409
- package/api/ondewo/nlu/session_pb.d.ts +1721 -1080
- package/api/ondewo/nlu/session_pb.js +13885 -6673
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +190 -172
- package/api/ondewo/nlu/user_grpc_web_pb.js +487 -431
- package/api/ondewo/nlu/user_pb.d.ts +325 -345
- package/api/ondewo/nlu/user_pb.js +2312 -1948
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/utility_grpc_web_pb.js +279 -244
- package/api/ondewo/nlu/utility_pb.d.ts +535 -588
- package/api/ondewo/nlu/utility_pb.js +3348 -2814
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +46 -43
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +132 -112
- package/api/ondewo/nlu/webhook_pb.d.ts +119 -123
- package/api/ondewo/nlu/webhook_pb.js +718 -599
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +94 -87
- package/api/ondewo/qa/qa_grpc_web_pb.js +250 -218
- package/api/ondewo/qa/qa_pb.d.ts +220 -235
- package/api/ondewo/qa/qa_pb.js +1452 -1222
- package/package.json +1 -1
- package/public-api.d.ts +34 -4
|
@@ -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
|
|
38
|
-
|
|
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
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
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
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
|
-
|
|
131
|
-
|
|
132
|
-
|
|
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
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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
|
-
|
|
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
|
|
163
|
-
|
|
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);
|