@ondewo/nlu-client-typescript 6.1.0 → 6.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.
- package/api/ondewo/nlu/agent_pb.d.ts +39 -0
- package/api/ondewo/nlu/agent_pb.js +208 -4
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/aiservices_pb.d.ts +111 -0
- package/api/ondewo/nlu/aiservices_pb.js +522 -10
- package/api/ondewo/nlu/ccai_project_pb.d.ts +45 -0
- package/api/ondewo/nlu/ccai_project_pb.js +217 -7
- package/api/ondewo/nlu/operations_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/operations_pb.d.ts +23 -0
- package/api/ondewo/nlu/operations_pb.js +106 -2
- package/api/ondewo/nlu/project_role_pb.d.ts +22 -0
- package/api/ondewo/nlu/project_role_pb.js +104 -2
- package/api/ondewo/nlu/session_pb.d.ts +198 -0
- package/api/ondewo/nlu/session_pb.js +953 -35
- package/api/ondewo/nlu/user_pb.d.ts +77 -0
- package/api/ondewo/nlu/user_pb.js +364 -7
- package/package.json +3 -3
|
@@ -2143,7 +2143,8 @@ proto.ondewo.nlu.ListUsersRequest.prototype.toObject = function(opt_includeInsta
|
|
|
2143
2143
|
*/
|
|
2144
2144
|
proto.ondewo.nlu.ListUsersRequest.toObject = function(includeInstance, msg) {
|
|
2145
2145
|
var f, obj = {
|
|
2146
|
-
pageToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2146
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2147
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
2147
2148
|
};
|
|
2148
2149
|
|
|
2149
2150
|
if (includeInstance) {
|
|
@@ -2184,6 +2185,11 @@ proto.ondewo.nlu.ListUsersRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
2184
2185
|
var value = /** @type {string} */ (reader.readString());
|
|
2185
2186
|
msg.setPageToken(value);
|
|
2186
2187
|
break;
|
|
2188
|
+
case 2:
|
|
2189
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
2190
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
2191
|
+
msg.setFieldMask(value);
|
|
2192
|
+
break;
|
|
2187
2193
|
default:
|
|
2188
2194
|
reader.skipField();
|
|
2189
2195
|
break;
|
|
@@ -2220,6 +2226,14 @@ proto.ondewo.nlu.ListUsersRequest.serializeBinaryToWriter = function(message, wr
|
|
|
2220
2226
|
f
|
|
2221
2227
|
);
|
|
2222
2228
|
}
|
|
2229
|
+
f = message.getFieldMask();
|
|
2230
|
+
if (f != null) {
|
|
2231
|
+
writer.writeMessage(
|
|
2232
|
+
2,
|
|
2233
|
+
f,
|
|
2234
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
2235
|
+
);
|
|
2236
|
+
}
|
|
2223
2237
|
};
|
|
2224
2238
|
|
|
2225
2239
|
|
|
@@ -2241,6 +2255,43 @@ proto.ondewo.nlu.ListUsersRequest.prototype.setPageToken = function(value) {
|
|
|
2241
2255
|
};
|
|
2242
2256
|
|
|
2243
2257
|
|
|
2258
|
+
/**
|
|
2259
|
+
* optional google.protobuf.FieldMask field_mask = 2;
|
|
2260
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
2261
|
+
*/
|
|
2262
|
+
proto.ondewo.nlu.ListUsersRequest.prototype.getFieldMask = function() {
|
|
2263
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
2264
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
2265
|
+
};
|
|
2266
|
+
|
|
2267
|
+
|
|
2268
|
+
/**
|
|
2269
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
2270
|
+
* @return {!proto.ondewo.nlu.ListUsersRequest} returns this
|
|
2271
|
+
*/
|
|
2272
|
+
proto.ondewo.nlu.ListUsersRequest.prototype.setFieldMask = function(value) {
|
|
2273
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2274
|
+
};
|
|
2275
|
+
|
|
2276
|
+
|
|
2277
|
+
/**
|
|
2278
|
+
* Clears the message field making it undefined.
|
|
2279
|
+
* @return {!proto.ondewo.nlu.ListUsersRequest} returns this
|
|
2280
|
+
*/
|
|
2281
|
+
proto.ondewo.nlu.ListUsersRequest.prototype.clearFieldMask = function() {
|
|
2282
|
+
return this.setFieldMask(undefined);
|
|
2283
|
+
};
|
|
2284
|
+
|
|
2285
|
+
|
|
2286
|
+
/**
|
|
2287
|
+
* Returns whether this field is set.
|
|
2288
|
+
* @return {boolean}
|
|
2289
|
+
*/
|
|
2290
|
+
proto.ondewo.nlu.ListUsersRequest.prototype.hasFieldMask = function() {
|
|
2291
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2292
|
+
};
|
|
2293
|
+
|
|
2294
|
+
|
|
2244
2295
|
|
|
2245
2296
|
/**
|
|
2246
2297
|
* List of repeated fields within this message type.
|
|
@@ -3541,7 +3592,8 @@ proto.ondewo.nlu.GetServerRoleRequest.prototype.toObject = function(opt_includeI
|
|
|
3541
3592
|
proto.ondewo.nlu.GetServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
3542
3593
|
var f, obj = {
|
|
3543
3594
|
roleId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
3544
|
-
roleName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
|
3595
|
+
roleName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
3596
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3545
3597
|
};
|
|
3546
3598
|
|
|
3547
3599
|
if (includeInstance) {
|
|
@@ -3586,6 +3638,11 @@ proto.ondewo.nlu.GetServerRoleRequest.deserializeBinaryFromReader = function(msg
|
|
|
3586
3638
|
var value = /** @type {string} */ (reader.readString());
|
|
3587
3639
|
msg.setRoleName(value);
|
|
3588
3640
|
break;
|
|
3641
|
+
case 3:
|
|
3642
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3643
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3644
|
+
msg.setFieldMask(value);
|
|
3645
|
+
break;
|
|
3589
3646
|
default:
|
|
3590
3647
|
reader.skipField();
|
|
3591
3648
|
break;
|
|
@@ -3629,6 +3686,14 @@ proto.ondewo.nlu.GetServerRoleRequest.serializeBinaryToWriter = function(message
|
|
|
3629
3686
|
f
|
|
3630
3687
|
);
|
|
3631
3688
|
}
|
|
3689
|
+
f = message.getFieldMask();
|
|
3690
|
+
if (f != null) {
|
|
3691
|
+
writer.writeMessage(
|
|
3692
|
+
3,
|
|
3693
|
+
f,
|
|
3694
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3695
|
+
);
|
|
3696
|
+
}
|
|
3632
3697
|
};
|
|
3633
3698
|
|
|
3634
3699
|
|
|
@@ -3704,6 +3769,43 @@ proto.ondewo.nlu.GetServerRoleRequest.prototype.hasRoleName = function() {
|
|
|
3704
3769
|
};
|
|
3705
3770
|
|
|
3706
3771
|
|
|
3772
|
+
/**
|
|
3773
|
+
* optional google.protobuf.FieldMask field_mask = 3;
|
|
3774
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3775
|
+
*/
|
|
3776
|
+
proto.ondewo.nlu.GetServerRoleRequest.prototype.getFieldMask = function() {
|
|
3777
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3778
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
3779
|
+
};
|
|
3780
|
+
|
|
3781
|
+
|
|
3782
|
+
/**
|
|
3783
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3784
|
+
* @return {!proto.ondewo.nlu.GetServerRoleRequest} returns this
|
|
3785
|
+
*/
|
|
3786
|
+
proto.ondewo.nlu.GetServerRoleRequest.prototype.setFieldMask = function(value) {
|
|
3787
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
3788
|
+
};
|
|
3789
|
+
|
|
3790
|
+
|
|
3791
|
+
/**
|
|
3792
|
+
* Clears the message field making it undefined.
|
|
3793
|
+
* @return {!proto.ondewo.nlu.GetServerRoleRequest} returns this
|
|
3794
|
+
*/
|
|
3795
|
+
proto.ondewo.nlu.GetServerRoleRequest.prototype.clearFieldMask = function() {
|
|
3796
|
+
return this.setFieldMask(undefined);
|
|
3797
|
+
};
|
|
3798
|
+
|
|
3799
|
+
|
|
3800
|
+
/**
|
|
3801
|
+
* Returns whether this field is set.
|
|
3802
|
+
* @return {boolean}
|
|
3803
|
+
*/
|
|
3804
|
+
proto.ondewo.nlu.GetServerRoleRequest.prototype.hasFieldMask = function() {
|
|
3805
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3806
|
+
};
|
|
3807
|
+
|
|
3808
|
+
|
|
3707
3809
|
|
|
3708
3810
|
|
|
3709
3811
|
|
|
@@ -3736,7 +3838,8 @@ proto.ondewo.nlu.ListServerRolesRequest.prototype.toObject = function(opt_includ
|
|
|
3736
3838
|
*/
|
|
3737
3839
|
proto.ondewo.nlu.ListServerRolesRequest.toObject = function(includeInstance, msg) {
|
|
3738
3840
|
var f, obj = {
|
|
3739
|
-
pageToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3841
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3842
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3740
3843
|
};
|
|
3741
3844
|
|
|
3742
3845
|
if (includeInstance) {
|
|
@@ -3777,6 +3880,11 @@ proto.ondewo.nlu.ListServerRolesRequest.deserializeBinaryFromReader = function(m
|
|
|
3777
3880
|
var value = /** @type {string} */ (reader.readString());
|
|
3778
3881
|
msg.setPageToken(value);
|
|
3779
3882
|
break;
|
|
3883
|
+
case 2:
|
|
3884
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3885
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3886
|
+
msg.setFieldMask(value);
|
|
3887
|
+
break;
|
|
3780
3888
|
default:
|
|
3781
3889
|
reader.skipField();
|
|
3782
3890
|
break;
|
|
@@ -3813,6 +3921,14 @@ proto.ondewo.nlu.ListServerRolesRequest.serializeBinaryToWriter = function(messa
|
|
|
3813
3921
|
f
|
|
3814
3922
|
);
|
|
3815
3923
|
}
|
|
3924
|
+
f = message.getFieldMask();
|
|
3925
|
+
if (f != null) {
|
|
3926
|
+
writer.writeMessage(
|
|
3927
|
+
2,
|
|
3928
|
+
f,
|
|
3929
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3930
|
+
);
|
|
3931
|
+
}
|
|
3816
3932
|
};
|
|
3817
3933
|
|
|
3818
3934
|
|
|
@@ -3834,6 +3950,43 @@ proto.ondewo.nlu.ListServerRolesRequest.prototype.setPageToken = function(value)
|
|
|
3834
3950
|
};
|
|
3835
3951
|
|
|
3836
3952
|
|
|
3953
|
+
/**
|
|
3954
|
+
* optional google.protobuf.FieldMask field_mask = 2;
|
|
3955
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3956
|
+
*/
|
|
3957
|
+
proto.ondewo.nlu.ListServerRolesRequest.prototype.getFieldMask = function() {
|
|
3958
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3959
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
3960
|
+
};
|
|
3961
|
+
|
|
3962
|
+
|
|
3963
|
+
/**
|
|
3964
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3965
|
+
* @return {!proto.ondewo.nlu.ListServerRolesRequest} returns this
|
|
3966
|
+
*/
|
|
3967
|
+
proto.ondewo.nlu.ListServerRolesRequest.prototype.setFieldMask = function(value) {
|
|
3968
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
3969
|
+
};
|
|
3970
|
+
|
|
3971
|
+
|
|
3972
|
+
/**
|
|
3973
|
+
* Clears the message field making it undefined.
|
|
3974
|
+
* @return {!proto.ondewo.nlu.ListServerRolesRequest} returns this
|
|
3975
|
+
*/
|
|
3976
|
+
proto.ondewo.nlu.ListServerRolesRequest.prototype.clearFieldMask = function() {
|
|
3977
|
+
return this.setFieldMask(undefined);
|
|
3978
|
+
};
|
|
3979
|
+
|
|
3980
|
+
|
|
3981
|
+
/**
|
|
3982
|
+
* Returns whether this field is set.
|
|
3983
|
+
* @return {boolean}
|
|
3984
|
+
*/
|
|
3985
|
+
proto.ondewo.nlu.ListServerRolesRequest.prototype.hasFieldMask = function() {
|
|
3986
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3987
|
+
};
|
|
3988
|
+
|
|
3989
|
+
|
|
3837
3990
|
|
|
3838
3991
|
/**
|
|
3839
3992
|
* List of repeated fields within this message type.
|
|
@@ -4056,7 +4209,8 @@ proto.ondewo.nlu.ListServerPermissionsRequest.prototype.toObject = function(opt_
|
|
|
4056
4209
|
*/
|
|
4057
4210
|
proto.ondewo.nlu.ListServerPermissionsRequest.toObject = function(includeInstance, msg) {
|
|
4058
4211
|
var f, obj = {
|
|
4059
|
-
pageToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
4212
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4213
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
4060
4214
|
};
|
|
4061
4215
|
|
|
4062
4216
|
if (includeInstance) {
|
|
@@ -4097,6 +4251,11 @@ proto.ondewo.nlu.ListServerPermissionsRequest.deserializeBinaryFromReader = func
|
|
|
4097
4251
|
var value = /** @type {string} */ (reader.readString());
|
|
4098
4252
|
msg.setPageToken(value);
|
|
4099
4253
|
break;
|
|
4254
|
+
case 2:
|
|
4255
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
4256
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
4257
|
+
msg.setFieldMask(value);
|
|
4258
|
+
break;
|
|
4100
4259
|
default:
|
|
4101
4260
|
reader.skipField();
|
|
4102
4261
|
break;
|
|
@@ -4133,6 +4292,14 @@ proto.ondewo.nlu.ListServerPermissionsRequest.serializeBinaryToWriter = function
|
|
|
4133
4292
|
f
|
|
4134
4293
|
);
|
|
4135
4294
|
}
|
|
4295
|
+
f = message.getFieldMask();
|
|
4296
|
+
if (f != null) {
|
|
4297
|
+
writer.writeMessage(
|
|
4298
|
+
2,
|
|
4299
|
+
f,
|
|
4300
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
4301
|
+
);
|
|
4302
|
+
}
|
|
4136
4303
|
};
|
|
4137
4304
|
|
|
4138
4305
|
|
|
@@ -4154,6 +4321,43 @@ proto.ondewo.nlu.ListServerPermissionsRequest.prototype.setPageToken = function(
|
|
|
4154
4321
|
};
|
|
4155
4322
|
|
|
4156
4323
|
|
|
4324
|
+
/**
|
|
4325
|
+
* optional google.protobuf.FieldMask field_mask = 2;
|
|
4326
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
4327
|
+
*/
|
|
4328
|
+
proto.ondewo.nlu.ListServerPermissionsRequest.prototype.getFieldMask = function() {
|
|
4329
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
4330
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
4331
|
+
};
|
|
4332
|
+
|
|
4333
|
+
|
|
4334
|
+
/**
|
|
4335
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
4336
|
+
* @return {!proto.ondewo.nlu.ListServerPermissionsRequest} returns this
|
|
4337
|
+
*/
|
|
4338
|
+
proto.ondewo.nlu.ListServerPermissionsRequest.prototype.setFieldMask = function(value) {
|
|
4339
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4340
|
+
};
|
|
4341
|
+
|
|
4342
|
+
|
|
4343
|
+
/**
|
|
4344
|
+
* Clears the message field making it undefined.
|
|
4345
|
+
* @return {!proto.ondewo.nlu.ListServerPermissionsRequest} returns this
|
|
4346
|
+
*/
|
|
4347
|
+
proto.ondewo.nlu.ListServerPermissionsRequest.prototype.clearFieldMask = function() {
|
|
4348
|
+
return this.setFieldMask(undefined);
|
|
4349
|
+
};
|
|
4350
|
+
|
|
4351
|
+
|
|
4352
|
+
/**
|
|
4353
|
+
* Returns whether this field is set.
|
|
4354
|
+
* @return {boolean}
|
|
4355
|
+
*/
|
|
4356
|
+
proto.ondewo.nlu.ListServerPermissionsRequest.prototype.hasFieldMask = function() {
|
|
4357
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4358
|
+
};
|
|
4359
|
+
|
|
4360
|
+
|
|
4157
4361
|
|
|
4158
4362
|
/**
|
|
4159
4363
|
* List of repeated fields within this message type.
|
|
@@ -4373,7 +4577,8 @@ proto.ondewo.nlu.LoginRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
4373
4577
|
proto.ondewo.nlu.LoginRequest.toObject = function(includeInstance, msg) {
|
|
4374
4578
|
var f, obj = {
|
|
4375
4579
|
userEmail: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4376
|
-
password: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4580
|
+
password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4581
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
4377
4582
|
};
|
|
4378
4583
|
|
|
4379
4584
|
if (includeInstance) {
|
|
@@ -4418,6 +4623,11 @@ proto.ondewo.nlu.LoginRequest.deserializeBinaryFromReader = function(msg, reader
|
|
|
4418
4623
|
var value = /** @type {string} */ (reader.readString());
|
|
4419
4624
|
msg.setPassword(value);
|
|
4420
4625
|
break;
|
|
4626
|
+
case 3:
|
|
4627
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
4628
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
4629
|
+
msg.setFieldMask(value);
|
|
4630
|
+
break;
|
|
4421
4631
|
default:
|
|
4422
4632
|
reader.skipField();
|
|
4423
4633
|
break;
|
|
@@ -4461,6 +4671,14 @@ proto.ondewo.nlu.LoginRequest.serializeBinaryToWriter = function(message, writer
|
|
|
4461
4671
|
f
|
|
4462
4672
|
);
|
|
4463
4673
|
}
|
|
4674
|
+
f = message.getFieldMask();
|
|
4675
|
+
if (f != null) {
|
|
4676
|
+
writer.writeMessage(
|
|
4677
|
+
3,
|
|
4678
|
+
f,
|
|
4679
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
4680
|
+
);
|
|
4681
|
+
}
|
|
4464
4682
|
};
|
|
4465
4683
|
|
|
4466
4684
|
|
|
@@ -4500,6 +4718,43 @@ proto.ondewo.nlu.LoginRequest.prototype.setPassword = function(value) {
|
|
|
4500
4718
|
};
|
|
4501
4719
|
|
|
4502
4720
|
|
|
4721
|
+
/**
|
|
4722
|
+
* optional google.protobuf.FieldMask field_mask = 3;
|
|
4723
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
4724
|
+
*/
|
|
4725
|
+
proto.ondewo.nlu.LoginRequest.prototype.getFieldMask = function() {
|
|
4726
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
4727
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
4728
|
+
};
|
|
4729
|
+
|
|
4730
|
+
|
|
4731
|
+
/**
|
|
4732
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
4733
|
+
* @return {!proto.ondewo.nlu.LoginRequest} returns this
|
|
4734
|
+
*/
|
|
4735
|
+
proto.ondewo.nlu.LoginRequest.prototype.setFieldMask = function(value) {
|
|
4736
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
4737
|
+
};
|
|
4738
|
+
|
|
4739
|
+
|
|
4740
|
+
/**
|
|
4741
|
+
* Clears the message field making it undefined.
|
|
4742
|
+
* @return {!proto.ondewo.nlu.LoginRequest} returns this
|
|
4743
|
+
*/
|
|
4744
|
+
proto.ondewo.nlu.LoginRequest.prototype.clearFieldMask = function() {
|
|
4745
|
+
return this.setFieldMask(undefined);
|
|
4746
|
+
};
|
|
4747
|
+
|
|
4748
|
+
|
|
4749
|
+
/**
|
|
4750
|
+
* Returns whether this field is set.
|
|
4751
|
+
* @return {boolean}
|
|
4752
|
+
*/
|
|
4753
|
+
proto.ondewo.nlu.LoginRequest.prototype.hasFieldMask = function() {
|
|
4754
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4755
|
+
};
|
|
4756
|
+
|
|
4757
|
+
|
|
4503
4758
|
|
|
4504
4759
|
|
|
4505
4760
|
|
|
@@ -4722,7 +4977,8 @@ proto.ondewo.nlu.GetUserPreferencesRequest.toObject = function(includeInstance,
|
|
|
4722
4977
|
var f, obj = {
|
|
4723
4978
|
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4724
4979
|
keysList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
4725
|
-
regexInclude: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
4980
|
+
regexInclude: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4981
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
4726
4982
|
};
|
|
4727
4983
|
|
|
4728
4984
|
if (includeInstance) {
|
|
@@ -4771,6 +5027,11 @@ proto.ondewo.nlu.GetUserPreferencesRequest.deserializeBinaryFromReader = functio
|
|
|
4771
5027
|
var value = /** @type {string} */ (reader.readString());
|
|
4772
5028
|
msg.setRegexInclude(value);
|
|
4773
5029
|
break;
|
|
5030
|
+
case 4:
|
|
5031
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
5032
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
5033
|
+
msg.setFieldMask(value);
|
|
5034
|
+
break;
|
|
4774
5035
|
default:
|
|
4775
5036
|
reader.skipField();
|
|
4776
5037
|
break;
|
|
@@ -4821,6 +5082,14 @@ proto.ondewo.nlu.GetUserPreferencesRequest.serializeBinaryToWriter = function(me
|
|
|
4821
5082
|
f
|
|
4822
5083
|
);
|
|
4823
5084
|
}
|
|
5085
|
+
f = message.getFieldMask();
|
|
5086
|
+
if (f != null) {
|
|
5087
|
+
writer.writeMessage(
|
|
5088
|
+
4,
|
|
5089
|
+
f,
|
|
5090
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
5091
|
+
);
|
|
5092
|
+
}
|
|
4824
5093
|
};
|
|
4825
5094
|
|
|
4826
5095
|
|
|
@@ -4897,6 +5166,43 @@ proto.ondewo.nlu.GetUserPreferencesRequest.prototype.setRegexInclude = function(
|
|
|
4897
5166
|
};
|
|
4898
5167
|
|
|
4899
5168
|
|
|
5169
|
+
/**
|
|
5170
|
+
* optional google.protobuf.FieldMask field_mask = 4;
|
|
5171
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
5172
|
+
*/
|
|
5173
|
+
proto.ondewo.nlu.GetUserPreferencesRequest.prototype.getFieldMask = function() {
|
|
5174
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
5175
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 4));
|
|
5176
|
+
};
|
|
5177
|
+
|
|
5178
|
+
|
|
5179
|
+
/**
|
|
5180
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
5181
|
+
* @return {!proto.ondewo.nlu.GetUserPreferencesRequest} returns this
|
|
5182
|
+
*/
|
|
5183
|
+
proto.ondewo.nlu.GetUserPreferencesRequest.prototype.setFieldMask = function(value) {
|
|
5184
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
5185
|
+
};
|
|
5186
|
+
|
|
5187
|
+
|
|
5188
|
+
/**
|
|
5189
|
+
* Clears the message field making it undefined.
|
|
5190
|
+
* @return {!proto.ondewo.nlu.GetUserPreferencesRequest} returns this
|
|
5191
|
+
*/
|
|
5192
|
+
proto.ondewo.nlu.GetUserPreferencesRequest.prototype.clearFieldMask = function() {
|
|
5193
|
+
return this.setFieldMask(undefined);
|
|
5194
|
+
};
|
|
5195
|
+
|
|
5196
|
+
|
|
5197
|
+
/**
|
|
5198
|
+
* Returns whether this field is set.
|
|
5199
|
+
* @return {boolean}
|
|
5200
|
+
*/
|
|
5201
|
+
proto.ondewo.nlu.GetUserPreferencesRequest.prototype.hasFieldMask = function() {
|
|
5202
|
+
return jspb.Message.getField(this, 4) != null;
|
|
5203
|
+
};
|
|
5204
|
+
|
|
5205
|
+
|
|
4900
5206
|
|
|
4901
5207
|
/**
|
|
4902
5208
|
* List of repeated fields within this message type.
|
|
@@ -6148,7 +6454,8 @@ proto.ondewo.nlu.ListUserPreferencesRequest.prototype.toObject = function(opt_in
|
|
|
6148
6454
|
proto.ondewo.nlu.ListUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
6149
6455
|
var f, obj = {
|
|
6150
6456
|
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6151
|
-
regexFilter: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
6457
|
+
regexFilter: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6458
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
6152
6459
|
};
|
|
6153
6460
|
|
|
6154
6461
|
if (includeInstance) {
|
|
@@ -6193,6 +6500,11 @@ proto.ondewo.nlu.ListUserPreferencesRequest.deserializeBinaryFromReader = functi
|
|
|
6193
6500
|
var value = /** @type {string} */ (reader.readString());
|
|
6194
6501
|
msg.setRegexFilter(value);
|
|
6195
6502
|
break;
|
|
6503
|
+
case 3:
|
|
6504
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
6505
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
6506
|
+
msg.setFieldMask(value);
|
|
6507
|
+
break;
|
|
6196
6508
|
default:
|
|
6197
6509
|
reader.skipField();
|
|
6198
6510
|
break;
|
|
@@ -6236,6 +6548,14 @@ proto.ondewo.nlu.ListUserPreferencesRequest.serializeBinaryToWriter = function(m
|
|
|
6236
6548
|
f
|
|
6237
6549
|
);
|
|
6238
6550
|
}
|
|
6551
|
+
f = message.getFieldMask();
|
|
6552
|
+
if (f != null) {
|
|
6553
|
+
writer.writeMessage(
|
|
6554
|
+
3,
|
|
6555
|
+
f,
|
|
6556
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
6557
|
+
);
|
|
6558
|
+
}
|
|
6239
6559
|
};
|
|
6240
6560
|
|
|
6241
6561
|
|
|
@@ -6275,6 +6595,43 @@ proto.ondewo.nlu.ListUserPreferencesRequest.prototype.setRegexFilter = function(
|
|
|
6275
6595
|
};
|
|
6276
6596
|
|
|
6277
6597
|
|
|
6598
|
+
/**
|
|
6599
|
+
* optional google.protobuf.FieldMask field_mask = 3;
|
|
6600
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
6601
|
+
*/
|
|
6602
|
+
proto.ondewo.nlu.ListUserPreferencesRequest.prototype.getFieldMask = function() {
|
|
6603
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
6604
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
6605
|
+
};
|
|
6606
|
+
|
|
6607
|
+
|
|
6608
|
+
/**
|
|
6609
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
6610
|
+
* @return {!proto.ondewo.nlu.ListUserPreferencesRequest} returns this
|
|
6611
|
+
*/
|
|
6612
|
+
proto.ondewo.nlu.ListUserPreferencesRequest.prototype.setFieldMask = function(value) {
|
|
6613
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
6614
|
+
};
|
|
6615
|
+
|
|
6616
|
+
|
|
6617
|
+
/**
|
|
6618
|
+
* Clears the message field making it undefined.
|
|
6619
|
+
* @return {!proto.ondewo.nlu.ListUserPreferencesRequest} returns this
|
|
6620
|
+
*/
|
|
6621
|
+
proto.ondewo.nlu.ListUserPreferencesRequest.prototype.clearFieldMask = function() {
|
|
6622
|
+
return this.setFieldMask(undefined);
|
|
6623
|
+
};
|
|
6624
|
+
|
|
6625
|
+
|
|
6626
|
+
/**
|
|
6627
|
+
* Returns whether this field is set.
|
|
6628
|
+
* @return {boolean}
|
|
6629
|
+
*/
|
|
6630
|
+
proto.ondewo.nlu.ListUserPreferencesRequest.prototype.hasFieldMask = function() {
|
|
6631
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6632
|
+
};
|
|
6633
|
+
|
|
6634
|
+
|
|
6278
6635
|
|
|
6279
6636
|
/**
|
|
6280
6637
|
* 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": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "ONDEWO Natural Language Understanding (NLU) Client library for Typescript",
|
|
5
5
|
"author": "ONDEWO GmbH <office@ondewo.com>",
|
|
6
6
|
"homepage": "https://ondewo.com",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"main": "public-api.js",
|
|
17
17
|
"typings": "public-api.d.ts",
|
|
18
|
-
|
|
18
|
+
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
20
|
"directory": "https://github.com/ondewo/ondewo-nlu-client-typescript"
|
|
21
21
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@eslint/eslintrc": "^3.1.0",
|
|
29
29
|
"@eslint/js": "^9.13.0",
|
|
30
|
-
"@types/node": "^
|
|
30
|
+
"@types/node": "^22.15.27",
|
|
31
31
|
"@typescript-eslint/eslint-plugin": "^8.12.2",
|
|
32
32
|
"dotenv": "^16.4.5",
|
|
33
33
|
"eslint": "^9.13.0",
|