@ondewo/nlu-client-typescript 4.8.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.
|
@@ -1276,6 +1276,22 @@ export class CustomPlatformInfo extends jspb.Message {
|
|
|
1276
1276
|
getPosition(): number;
|
|
1277
1277
|
setPosition(value: number): CustomPlatformInfo;
|
|
1278
1278
|
|
|
1279
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1280
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): CustomPlatformInfo;
|
|
1281
|
+
hasCreatedAt(): boolean;
|
|
1282
|
+
clearCreatedAt(): CustomPlatformInfo;
|
|
1283
|
+
|
|
1284
|
+
getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
1285
|
+
setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): CustomPlatformInfo;
|
|
1286
|
+
hasModifiedAt(): boolean;
|
|
1287
|
+
clearModifiedAt(): CustomPlatformInfo;
|
|
1288
|
+
|
|
1289
|
+
getCreatedBy(): string;
|
|
1290
|
+
setCreatedBy(value: string): CustomPlatformInfo;
|
|
1291
|
+
|
|
1292
|
+
getModifiedBy(): string;
|
|
1293
|
+
setModifiedBy(value: string): CustomPlatformInfo;
|
|
1294
|
+
|
|
1279
1295
|
serializeBinary(): Uint8Array;
|
|
1280
1296
|
toObject(includeInstance?: boolean): CustomPlatformInfo.AsObject;
|
|
1281
1297
|
static toObject(includeInstance: boolean, msg: CustomPlatformInfo): CustomPlatformInfo.AsObject;
|
|
@@ -1289,6 +1305,10 @@ export namespace CustomPlatformInfo {
|
|
|
1289
1305
|
platform: ondewo_nlu_intent_pb.Intent.Message.Platform,
|
|
1290
1306
|
displayName: string,
|
|
1291
1307
|
position: number,
|
|
1308
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1309
|
+
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
1310
|
+
createdBy: string,
|
|
1311
|
+
modifiedBy: string,
|
|
1292
1312
|
}
|
|
1293
1313
|
}
|
|
1294
1314
|
|
|
@@ -10941,7 +10941,11 @@ proto.ondewo.nlu.CustomPlatformInfo.toObject = function(includeInstance, msg) {
|
|
|
10941
10941
|
var f, obj = {
|
|
10942
10942
|
platform: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10943
10943
|
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10944
|
-
position: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
10944
|
+
position: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
10945
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10946
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
10947
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
10948
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
10945
10949
|
};
|
|
10946
10950
|
|
|
10947
10951
|
if (includeInstance) {
|
|
@@ -10990,6 +10994,24 @@ proto.ondewo.nlu.CustomPlatformInfo.deserializeBinaryFromReader = function(msg,
|
|
|
10990
10994
|
var value = /** @type {number} */ (reader.readUint32());
|
|
10991
10995
|
msg.setPosition(value);
|
|
10992
10996
|
break;
|
|
10997
|
+
case 4:
|
|
10998
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
10999
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
11000
|
+
msg.setCreatedAt(value);
|
|
11001
|
+
break;
|
|
11002
|
+
case 5:
|
|
11003
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
11004
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
11005
|
+
msg.setModifiedAt(value);
|
|
11006
|
+
break;
|
|
11007
|
+
case 6:
|
|
11008
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11009
|
+
msg.setCreatedBy(value);
|
|
11010
|
+
break;
|
|
11011
|
+
case 7:
|
|
11012
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11013
|
+
msg.setModifiedBy(value);
|
|
11014
|
+
break;
|
|
10993
11015
|
default:
|
|
10994
11016
|
reader.skipField();
|
|
10995
11017
|
break;
|
|
@@ -11040,6 +11062,36 @@ proto.ondewo.nlu.CustomPlatformInfo.serializeBinaryToWriter = function(message,
|
|
|
11040
11062
|
f
|
|
11041
11063
|
);
|
|
11042
11064
|
}
|
|
11065
|
+
f = message.getCreatedAt();
|
|
11066
|
+
if (f != null) {
|
|
11067
|
+
writer.writeMessage(
|
|
11068
|
+
4,
|
|
11069
|
+
f,
|
|
11070
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
11071
|
+
);
|
|
11072
|
+
}
|
|
11073
|
+
f = message.getModifiedAt();
|
|
11074
|
+
if (f != null) {
|
|
11075
|
+
writer.writeMessage(
|
|
11076
|
+
5,
|
|
11077
|
+
f,
|
|
11078
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
11079
|
+
);
|
|
11080
|
+
}
|
|
11081
|
+
f = message.getCreatedBy();
|
|
11082
|
+
if (f.length > 0) {
|
|
11083
|
+
writer.writeString(
|
|
11084
|
+
6,
|
|
11085
|
+
f
|
|
11086
|
+
);
|
|
11087
|
+
}
|
|
11088
|
+
f = message.getModifiedBy();
|
|
11089
|
+
if (f.length > 0) {
|
|
11090
|
+
writer.writeString(
|
|
11091
|
+
7,
|
|
11092
|
+
f
|
|
11093
|
+
);
|
|
11094
|
+
}
|
|
11043
11095
|
};
|
|
11044
11096
|
|
|
11045
11097
|
|
|
@@ -11097,6 +11149,116 @@ proto.ondewo.nlu.CustomPlatformInfo.prototype.setPosition = function(value) {
|
|
|
11097
11149
|
};
|
|
11098
11150
|
|
|
11099
11151
|
|
|
11152
|
+
/**
|
|
11153
|
+
* optional google.protobuf.Timestamp created_at = 4;
|
|
11154
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
11155
|
+
*/
|
|
11156
|
+
proto.ondewo.nlu.CustomPlatformInfo.prototype.getCreatedAt = function() {
|
|
11157
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
11158
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
11159
|
+
};
|
|
11160
|
+
|
|
11161
|
+
|
|
11162
|
+
/**
|
|
11163
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
11164
|
+
* @return {!proto.ondewo.nlu.CustomPlatformInfo} returns this
|
|
11165
|
+
*/
|
|
11166
|
+
proto.ondewo.nlu.CustomPlatformInfo.prototype.setCreatedAt = function(value) {
|
|
11167
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
11168
|
+
};
|
|
11169
|
+
|
|
11170
|
+
|
|
11171
|
+
/**
|
|
11172
|
+
* Clears the message field making it undefined.
|
|
11173
|
+
* @return {!proto.ondewo.nlu.CustomPlatformInfo} returns this
|
|
11174
|
+
*/
|
|
11175
|
+
proto.ondewo.nlu.CustomPlatformInfo.prototype.clearCreatedAt = function() {
|
|
11176
|
+
return this.setCreatedAt(undefined);
|
|
11177
|
+
};
|
|
11178
|
+
|
|
11179
|
+
|
|
11180
|
+
/**
|
|
11181
|
+
* Returns whether this field is set.
|
|
11182
|
+
* @return {boolean}
|
|
11183
|
+
*/
|
|
11184
|
+
proto.ondewo.nlu.CustomPlatformInfo.prototype.hasCreatedAt = function() {
|
|
11185
|
+
return jspb.Message.getField(this, 4) != null;
|
|
11186
|
+
};
|
|
11187
|
+
|
|
11188
|
+
|
|
11189
|
+
/**
|
|
11190
|
+
* optional google.protobuf.Timestamp modified_at = 5;
|
|
11191
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
11192
|
+
*/
|
|
11193
|
+
proto.ondewo.nlu.CustomPlatformInfo.prototype.getModifiedAt = function() {
|
|
11194
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
11195
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
11196
|
+
};
|
|
11197
|
+
|
|
11198
|
+
|
|
11199
|
+
/**
|
|
11200
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
11201
|
+
* @return {!proto.ondewo.nlu.CustomPlatformInfo} returns this
|
|
11202
|
+
*/
|
|
11203
|
+
proto.ondewo.nlu.CustomPlatformInfo.prototype.setModifiedAt = function(value) {
|
|
11204
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
11205
|
+
};
|
|
11206
|
+
|
|
11207
|
+
|
|
11208
|
+
/**
|
|
11209
|
+
* Clears the message field making it undefined.
|
|
11210
|
+
* @return {!proto.ondewo.nlu.CustomPlatformInfo} returns this
|
|
11211
|
+
*/
|
|
11212
|
+
proto.ondewo.nlu.CustomPlatformInfo.prototype.clearModifiedAt = function() {
|
|
11213
|
+
return this.setModifiedAt(undefined);
|
|
11214
|
+
};
|
|
11215
|
+
|
|
11216
|
+
|
|
11217
|
+
/**
|
|
11218
|
+
* Returns whether this field is set.
|
|
11219
|
+
* @return {boolean}
|
|
11220
|
+
*/
|
|
11221
|
+
proto.ondewo.nlu.CustomPlatformInfo.prototype.hasModifiedAt = function() {
|
|
11222
|
+
return jspb.Message.getField(this, 5) != null;
|
|
11223
|
+
};
|
|
11224
|
+
|
|
11225
|
+
|
|
11226
|
+
/**
|
|
11227
|
+
* optional string created_by = 6;
|
|
11228
|
+
* @return {string}
|
|
11229
|
+
*/
|
|
11230
|
+
proto.ondewo.nlu.CustomPlatformInfo.prototype.getCreatedBy = function() {
|
|
11231
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
11232
|
+
};
|
|
11233
|
+
|
|
11234
|
+
|
|
11235
|
+
/**
|
|
11236
|
+
* @param {string} value
|
|
11237
|
+
* @return {!proto.ondewo.nlu.CustomPlatformInfo} returns this
|
|
11238
|
+
*/
|
|
11239
|
+
proto.ondewo.nlu.CustomPlatformInfo.prototype.setCreatedBy = function(value) {
|
|
11240
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
11241
|
+
};
|
|
11242
|
+
|
|
11243
|
+
|
|
11244
|
+
/**
|
|
11245
|
+
* optional string modified_by = 7;
|
|
11246
|
+
* @return {string}
|
|
11247
|
+
*/
|
|
11248
|
+
proto.ondewo.nlu.CustomPlatformInfo.prototype.getModifiedBy = function() {
|
|
11249
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
11250
|
+
};
|
|
11251
|
+
|
|
11252
|
+
|
|
11253
|
+
/**
|
|
11254
|
+
* @param {string} value
|
|
11255
|
+
* @return {!proto.ondewo.nlu.CustomPlatformInfo} returns this
|
|
11256
|
+
*/
|
|
11257
|
+
proto.ondewo.nlu.CustomPlatformInfo.prototype.setModifiedBy = function(value) {
|
|
11258
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
11259
|
+
};
|
|
11260
|
+
|
|
11261
|
+
|
|
11100
11262
|
|
|
11101
11263
|
|
|
11102
11264
|
|
|
@@ -49,8 +49,8 @@ export class IntentsClient {
|
|
|
49
49
|
request: ondewo_nlu_intent_pb.BatchUpdateIntentsRequest,
|
|
50
50
|
metadata: grpcWeb.Metadata | undefined,
|
|
51
51
|
callback: (err: grpcWeb.RpcError,
|
|
52
|
-
response:
|
|
53
|
-
): grpcWeb.ClientReadableStream<
|
|
52
|
+
response: ondewo_nlu_intent_pb.BatchUpdateIntentsResponse) => void
|
|
53
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_intent_pb.BatchUpdateIntentsResponse>;
|
|
54
54
|
|
|
55
55
|
batchDeleteIntents(
|
|
56
56
|
request: ondewo_nlu_intent_pb.BatchDeleteIntentsRequest,
|
|
@@ -234,7 +234,7 @@ export class IntentsPromiseClient {
|
|
|
234
234
|
batchUpdateIntents(
|
|
235
235
|
request: ondewo_nlu_intent_pb.BatchUpdateIntentsRequest,
|
|
236
236
|
metadata?: grpcWeb.Metadata
|
|
237
|
-
): Promise<
|
|
237
|
+
): Promise<ondewo_nlu_intent_pb.BatchUpdateIntentsResponse>;
|
|
238
238
|
|
|
239
239
|
batchDeleteIntents(
|
|
240
240
|
request: ondewo_nlu_intent_pb.BatchDeleteIntentsRequest,
|
|
@@ -396,13 +396,13 @@ proto.ondewo.nlu.IntentsPromiseClient.prototype.deleteIntent =
|
|
|
396
396
|
* @const
|
|
397
397
|
* @type {!grpc.web.MethodDescriptor<
|
|
398
398
|
* !proto.ondewo.nlu.BatchUpdateIntentsRequest,
|
|
399
|
-
* !proto.ondewo.nlu.
|
|
399
|
+
* !proto.ondewo.nlu.BatchUpdateIntentsResponse>}
|
|
400
400
|
*/
|
|
401
401
|
const methodDescriptor_Intents_BatchUpdateIntents = new grpc.web.MethodDescriptor(
|
|
402
402
|
'/ondewo.nlu.Intents/BatchUpdateIntents',
|
|
403
403
|
grpc.web.MethodType.UNARY,
|
|
404
404
|
proto.ondewo.nlu.BatchUpdateIntentsRequest,
|
|
405
|
-
|
|
405
|
+
proto.ondewo.nlu.BatchUpdateIntentsResponse,
|
|
406
406
|
/**
|
|
407
407
|
* @param {!proto.ondewo.nlu.BatchUpdateIntentsRequest} request
|
|
408
408
|
* @return {!Uint8Array}
|
|
@@ -410,7 +410,7 @@ const methodDescriptor_Intents_BatchUpdateIntents = new grpc.web.MethodDescripto
|
|
|
410
410
|
function(request) {
|
|
411
411
|
return request.serializeBinary();
|
|
412
412
|
},
|
|
413
|
-
|
|
413
|
+
proto.ondewo.nlu.BatchUpdateIntentsResponse.deserializeBinary
|
|
414
414
|
);
|
|
415
415
|
|
|
416
416
|
|
|
@@ -419,9 +419,9 @@ const methodDescriptor_Intents_BatchUpdateIntents = new grpc.web.MethodDescripto
|
|
|
419
419
|
* request proto
|
|
420
420
|
* @param {?Object<string, string>} metadata User defined
|
|
421
421
|
* call metadata
|
|
422
|
-
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.
|
|
422
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.BatchUpdateIntentsResponse)}
|
|
423
423
|
* callback The callback function(error, response)
|
|
424
|
-
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.
|
|
424
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.BatchUpdateIntentsResponse>|undefined}
|
|
425
425
|
* The XHR Node Readable Stream
|
|
426
426
|
*/
|
|
427
427
|
proto.ondewo.nlu.IntentsClient.prototype.batchUpdateIntents =
|
|
@@ -440,7 +440,7 @@ proto.ondewo.nlu.IntentsClient.prototype.batchUpdateIntents =
|
|
|
440
440
|
* request proto
|
|
441
441
|
* @param {?Object<string, string>=} metadata User defined
|
|
442
442
|
* call metadata
|
|
443
|
-
* @return {!Promise<!proto.ondewo.nlu.
|
|
443
|
+
* @return {!Promise<!proto.ondewo.nlu.BatchUpdateIntentsResponse>}
|
|
444
444
|
* Promise that resolves to the response
|
|
445
445
|
*/
|
|
446
446
|
proto.ondewo.nlu.IntentsPromiseClient.prototype.batchUpdateIntents =
|
package/package.json
CHANGED