@ondewo/nlu-client-typescript 6.0.0 → 6.1.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/google/protobuf/any_pb.js +2 -2
- package/api/google/protobuf/field_mask_pb.js +1 -1
- package/api/google/protobuf/struct_pb.js +8 -8
- package/api/google/protobuf/timestamp_pb.js +2 -2
- package/api/google/rpc/status_pb.js +3 -3
- package/api/google/type/latlng_pb.js +2 -2
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +12 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +61 -0
- package/api/ondewo/nlu/agent_pb.d.ts +20 -0
- package/api/ondewo/nlu/agent_pb.js +498 -322
- package/api/ondewo/nlu/aiservices_pb.js +124 -124
- package/api/ondewo/nlu/ccai_project_pb.d.ts +11 -0
- package/api/ondewo/nlu/ccai_project_pb.js +81 -70
- package/api/ondewo/nlu/common_pb.js +53 -53
- package/api/ondewo/nlu/context_pb.js +27 -27
- package/api/ondewo/nlu/entity_type_pb.js +81 -81
- package/api/ondewo/nlu/intent_pb.js +244 -244
- package/api/ondewo/nlu/operation_metadata_pb.js +22 -22
- package/api/ondewo/nlu/operations_pb.js +21 -21
- package/api/ondewo/nlu/project_role_pb.js +25 -25
- package/api/ondewo/nlu/project_statistics_pb.js +7 -7
- package/api/ondewo/nlu/server_statistics_pb.js +1 -1
- package/api/ondewo/nlu/session_pb.js +366 -366
- package/api/ondewo/nlu/user_pb.d.ts +6 -0
- package/api/ondewo/nlu/user_pb.js +122 -71
- package/api/ondewo/nlu/utility_pb.js +79 -79
- package/api/ondewo/nlu/webhook_pb.js +31 -31
- package/api/ondewo/qa/qa_pb.js +24 -24
- package/package.json +1 -1
|
@@ -149,6 +149,11 @@ export class GetUserRequest extends jspb.Message {
|
|
|
149
149
|
getUserEmail(): string;
|
|
150
150
|
setUserEmail(value: string): GetUserRequest;
|
|
151
151
|
|
|
152
|
+
getFieldMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
|
|
153
|
+
setFieldMask(value?: google_protobuf_field_mask_pb.FieldMask): GetUserRequest;
|
|
154
|
+
hasFieldMask(): boolean;
|
|
155
|
+
clearFieldMask(): GetUserRequest;
|
|
156
|
+
|
|
152
157
|
getUserIdentifierCase(): GetUserRequest.UserIdentifierCase;
|
|
153
158
|
|
|
154
159
|
serializeBinary(): Uint8Array;
|
|
@@ -163,6 +168,7 @@ export namespace GetUserRequest {
|
|
|
163
168
|
export type AsObject = {
|
|
164
169
|
userId: string,
|
|
165
170
|
userEmail: string,
|
|
171
|
+
fieldMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
|
|
166
172
|
}
|
|
167
173
|
|
|
168
174
|
export enum UserIdentifierCase {
|
|
@@ -706,15 +706,15 @@ proto.ondewo.nlu.User.prototype.toObject = function(opt_includeInstance) {
|
|
|
706
706
|
*/
|
|
707
707
|
proto.ondewo.nlu.User.toObject = function(includeInstance, msg) {
|
|
708
708
|
var f, obj = {
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
709
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
710
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
711
|
+
serverRoleId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
712
|
+
userEmail: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
713
|
+
userProfilePicture: msg.getUserProfilePicture_asB64(),
|
|
714
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
715
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
716
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
717
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
718
718
|
};
|
|
719
719
|
|
|
720
720
|
if (includeInstance) {
|
|
@@ -1142,8 +1142,8 @@ proto.ondewo.nlu.UserInfo.prototype.toObject = function(opt_includeInstance) {
|
|
|
1142
1142
|
*/
|
|
1143
1143
|
proto.ondewo.nlu.UserInfo.toObject = function(includeInstance, msg) {
|
|
1144
1144
|
var f, obj = {
|
|
1145
|
-
|
|
1146
|
-
|
|
1145
|
+
user: (f = msg.getUser()) && proto.ondewo.nlu.User.toObject(includeInstance, f),
|
|
1146
|
+
projectRolesMap: (f = msg.getProjectRolesMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.ProjectRole.toObject) : []
|
|
1147
1147
|
};
|
|
1148
1148
|
|
|
1149
1149
|
if (includeInstance) {
|
|
@@ -1327,8 +1327,8 @@ proto.ondewo.nlu.CreateUserRequest.prototype.toObject = function(opt_includeInst
|
|
|
1327
1327
|
*/
|
|
1328
1328
|
proto.ondewo.nlu.CreateUserRequest.toObject = function(includeInstance, msg) {
|
|
1329
1329
|
var f, obj = {
|
|
1330
|
-
|
|
1331
|
-
|
|
1330
|
+
user: (f = msg.getUser()) && proto.ondewo.nlu.User.toObject(includeInstance, f),
|
|
1331
|
+
password: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1332
1332
|
};
|
|
1333
1333
|
|
|
1334
1334
|
if (includeInstance) {
|
|
@@ -1508,9 +1508,9 @@ proto.ondewo.nlu.UpdateUserRequest.prototype.toObject = function(opt_includeInst
|
|
|
1508
1508
|
*/
|
|
1509
1509
|
proto.ondewo.nlu.UpdateUserRequest.toObject = function(includeInstance, msg) {
|
|
1510
1510
|
var f, obj = {
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1511
|
+
user: (f = msg.getUser()) && proto.ondewo.nlu.User.toObject(includeInstance, f),
|
|
1512
|
+
password: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1513
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
1514
1514
|
};
|
|
1515
1515
|
|
|
1516
1516
|
if (includeInstance) {
|
|
@@ -1766,8 +1766,9 @@ proto.ondewo.nlu.GetUserRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
1766
1766
|
*/
|
|
1767
1767
|
proto.ondewo.nlu.GetUserRequest.toObject = function(includeInstance, msg) {
|
|
1768
1768
|
var f, obj = {
|
|
1769
|
-
|
|
1770
|
-
|
|
1769
|
+
userId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
1770
|
+
userEmail: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
1771
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
1771
1772
|
};
|
|
1772
1773
|
|
|
1773
1774
|
if (includeInstance) {
|
|
@@ -1812,6 +1813,11 @@ proto.ondewo.nlu.GetUserRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
1812
1813
|
var value = /** @type {string} */ (reader.readString());
|
|
1813
1814
|
msg.setUserEmail(value);
|
|
1814
1815
|
break;
|
|
1816
|
+
case 4:
|
|
1817
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
1818
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
1819
|
+
msg.setFieldMask(value);
|
|
1820
|
+
break;
|
|
1815
1821
|
default:
|
|
1816
1822
|
reader.skipField();
|
|
1817
1823
|
break;
|
|
@@ -1855,6 +1861,14 @@ proto.ondewo.nlu.GetUserRequest.serializeBinaryToWriter = function(message, writ
|
|
|
1855
1861
|
f
|
|
1856
1862
|
);
|
|
1857
1863
|
}
|
|
1864
|
+
f = message.getFieldMask();
|
|
1865
|
+
if (f != null) {
|
|
1866
|
+
writer.writeMessage(
|
|
1867
|
+
4,
|
|
1868
|
+
f,
|
|
1869
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
1870
|
+
);
|
|
1871
|
+
}
|
|
1858
1872
|
};
|
|
1859
1873
|
|
|
1860
1874
|
|
|
@@ -1930,6 +1944,43 @@ proto.ondewo.nlu.GetUserRequest.prototype.hasUserEmail = function() {
|
|
|
1930
1944
|
};
|
|
1931
1945
|
|
|
1932
1946
|
|
|
1947
|
+
/**
|
|
1948
|
+
* optional google.protobuf.FieldMask field_mask = 4;
|
|
1949
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
1950
|
+
*/
|
|
1951
|
+
proto.ondewo.nlu.GetUserRequest.prototype.getFieldMask = function() {
|
|
1952
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
1953
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 4));
|
|
1954
|
+
};
|
|
1955
|
+
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
1959
|
+
* @return {!proto.ondewo.nlu.GetUserRequest} returns this
|
|
1960
|
+
*/
|
|
1961
|
+
proto.ondewo.nlu.GetUserRequest.prototype.setFieldMask = function(value) {
|
|
1962
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1963
|
+
};
|
|
1964
|
+
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* Clears the message field making it undefined.
|
|
1968
|
+
* @return {!proto.ondewo.nlu.GetUserRequest} returns this
|
|
1969
|
+
*/
|
|
1970
|
+
proto.ondewo.nlu.GetUserRequest.prototype.clearFieldMask = function() {
|
|
1971
|
+
return this.setFieldMask(undefined);
|
|
1972
|
+
};
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+
/**
|
|
1976
|
+
* Returns whether this field is set.
|
|
1977
|
+
* @return {boolean}
|
|
1978
|
+
*/
|
|
1979
|
+
proto.ondewo.nlu.GetUserRequest.prototype.hasFieldMask = function() {
|
|
1980
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1981
|
+
};
|
|
1982
|
+
|
|
1983
|
+
|
|
1933
1984
|
|
|
1934
1985
|
|
|
1935
1986
|
|
|
@@ -1962,7 +2013,7 @@ proto.ondewo.nlu.DeleteUserRequest.prototype.toObject = function(opt_includeInst
|
|
|
1962
2013
|
*/
|
|
1963
2014
|
proto.ondewo.nlu.DeleteUserRequest.toObject = function(includeInstance, msg) {
|
|
1964
2015
|
var f, obj = {
|
|
1965
|
-
|
|
2016
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1966
2017
|
};
|
|
1967
2018
|
|
|
1968
2019
|
if (includeInstance) {
|
|
@@ -2092,7 +2143,7 @@ proto.ondewo.nlu.ListUsersRequest.prototype.toObject = function(opt_includeInsta
|
|
|
2092
2143
|
*/
|
|
2093
2144
|
proto.ondewo.nlu.ListUsersRequest.toObject = function(includeInstance, msg) {
|
|
2094
2145
|
var f, obj = {
|
|
2095
|
-
|
|
2146
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2096
2147
|
};
|
|
2097
2148
|
|
|
2098
2149
|
if (includeInstance) {
|
|
@@ -2229,9 +2280,9 @@ proto.ondewo.nlu.ListUsersResponse.prototype.toObject = function(opt_includeInst
|
|
|
2229
2280
|
*/
|
|
2230
2281
|
proto.ondewo.nlu.ListUsersResponse.toObject = function(includeInstance, msg) {
|
|
2231
2282
|
var f, obj = {
|
|
2232
|
-
|
|
2283
|
+
usersList: jspb.Message.toObjectList(msg.getUsersList(),
|
|
2233
2284
|
proto.ondewo.nlu.User.toObject, includeInstance),
|
|
2234
|
-
|
|
2285
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2235
2286
|
};
|
|
2236
2287
|
|
|
2237
2288
|
if (includeInstance) {
|
|
@@ -2419,9 +2470,9 @@ proto.ondewo.nlu.ListUserInfosResponse.prototype.toObject = function(opt_include
|
|
|
2419
2470
|
*/
|
|
2420
2471
|
proto.ondewo.nlu.ListUserInfosResponse.toObject = function(includeInstance, msg) {
|
|
2421
2472
|
var f, obj = {
|
|
2422
|
-
|
|
2473
|
+
usersList: jspb.Message.toObjectList(msg.getUsersList(),
|
|
2423
2474
|
proto.ondewo.nlu.UserInfo.toObject, includeInstance),
|
|
2424
|
-
|
|
2475
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2425
2476
|
};
|
|
2426
2477
|
|
|
2427
2478
|
if (includeInstance) {
|
|
@@ -2609,13 +2660,13 @@ proto.ondewo.nlu.ServerRole.prototype.toObject = function(opt_includeInstance) {
|
|
|
2609
2660
|
*/
|
|
2610
2661
|
proto.ondewo.nlu.ServerRole.toObject = function(includeInstance, msg) {
|
|
2611
2662
|
var f, obj = {
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2663
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2664
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2665
|
+
permissionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
2666
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
2667
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
2668
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2669
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
2619
2670
|
};
|
|
2620
2671
|
|
|
2621
2672
|
if (includeInstance) {
|
|
@@ -2980,7 +3031,7 @@ proto.ondewo.nlu.CreateServerRoleRequest.prototype.toObject = function(opt_inclu
|
|
|
2980
3031
|
*/
|
|
2981
3032
|
proto.ondewo.nlu.CreateServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
2982
3033
|
var f, obj = {
|
|
2983
|
-
|
|
3034
|
+
role: (f = msg.getRole()) && proto.ondewo.nlu.ServerRole.toObject(includeInstance, f)
|
|
2984
3035
|
};
|
|
2985
3036
|
|
|
2986
3037
|
if (includeInstance) {
|
|
@@ -3131,8 +3182,8 @@ proto.ondewo.nlu.UpdateServerRoleRequest.prototype.toObject = function(opt_inclu
|
|
|
3131
3182
|
*/
|
|
3132
3183
|
proto.ondewo.nlu.UpdateServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
3133
3184
|
var f, obj = {
|
|
3134
|
-
|
|
3135
|
-
|
|
3185
|
+
role: (f = msg.getRole()) && proto.ondewo.nlu.ServerRole.toObject(includeInstance, f),
|
|
3186
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3136
3187
|
};
|
|
3137
3188
|
|
|
3138
3189
|
if (includeInstance) {
|
|
@@ -3333,7 +3384,7 @@ proto.ondewo.nlu.DeleteServerRoleRequest.prototype.toObject = function(opt_inclu
|
|
|
3333
3384
|
*/
|
|
3334
3385
|
proto.ondewo.nlu.DeleteServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
3335
3386
|
var f, obj = {
|
|
3336
|
-
|
|
3387
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
3337
3388
|
};
|
|
3338
3389
|
|
|
3339
3390
|
if (includeInstance) {
|
|
@@ -3489,8 +3540,8 @@ proto.ondewo.nlu.GetServerRoleRequest.prototype.toObject = function(opt_includeI
|
|
|
3489
3540
|
*/
|
|
3490
3541
|
proto.ondewo.nlu.GetServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
3491
3542
|
var f, obj = {
|
|
3492
|
-
|
|
3493
|
-
|
|
3543
|
+
roleId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
3544
|
+
roleName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
|
3494
3545
|
};
|
|
3495
3546
|
|
|
3496
3547
|
if (includeInstance) {
|
|
@@ -3685,7 +3736,7 @@ proto.ondewo.nlu.ListServerRolesRequest.prototype.toObject = function(opt_includ
|
|
|
3685
3736
|
*/
|
|
3686
3737
|
proto.ondewo.nlu.ListServerRolesRequest.toObject = function(includeInstance, msg) {
|
|
3687
3738
|
var f, obj = {
|
|
3688
|
-
|
|
3739
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3689
3740
|
};
|
|
3690
3741
|
|
|
3691
3742
|
if (includeInstance) {
|
|
@@ -3822,9 +3873,9 @@ proto.ondewo.nlu.ListServerRolesResponse.prototype.toObject = function(opt_inclu
|
|
|
3822
3873
|
*/
|
|
3823
3874
|
proto.ondewo.nlu.ListServerRolesResponse.toObject = function(includeInstance, msg) {
|
|
3824
3875
|
var f, obj = {
|
|
3825
|
-
|
|
3876
|
+
serverRolesList: jspb.Message.toObjectList(msg.getServerRolesList(),
|
|
3826
3877
|
proto.ondewo.nlu.ServerRole.toObject, includeInstance),
|
|
3827
|
-
|
|
3878
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3828
3879
|
};
|
|
3829
3880
|
|
|
3830
3881
|
if (includeInstance) {
|
|
@@ -4005,7 +4056,7 @@ proto.ondewo.nlu.ListServerPermissionsRequest.prototype.toObject = function(opt_
|
|
|
4005
4056
|
*/
|
|
4006
4057
|
proto.ondewo.nlu.ListServerPermissionsRequest.toObject = function(includeInstance, msg) {
|
|
4007
4058
|
var f, obj = {
|
|
4008
|
-
|
|
4059
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
4009
4060
|
};
|
|
4010
4061
|
|
|
4011
4062
|
if (includeInstance) {
|
|
@@ -4142,8 +4193,8 @@ proto.ondewo.nlu.ListServerPermissionsResponse.prototype.toObject = function(opt
|
|
|
4142
4193
|
*/
|
|
4143
4194
|
proto.ondewo.nlu.ListServerPermissionsResponse.toObject = function(includeInstance, msg) {
|
|
4144
4195
|
var f, obj = {
|
|
4145
|
-
|
|
4146
|
-
|
|
4196
|
+
permissionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
4197
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4147
4198
|
};
|
|
4148
4199
|
|
|
4149
4200
|
if (includeInstance) {
|
|
@@ -4321,8 +4372,8 @@ proto.ondewo.nlu.LoginRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
4321
4372
|
*/
|
|
4322
4373
|
proto.ondewo.nlu.LoginRequest.toObject = function(includeInstance, msg) {
|
|
4323
4374
|
var f, obj = {
|
|
4324
|
-
|
|
4325
|
-
|
|
4375
|
+
userEmail: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4376
|
+
password: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4326
4377
|
};
|
|
4327
4378
|
|
|
4328
4379
|
if (includeInstance) {
|
|
@@ -4481,8 +4532,8 @@ proto.ondewo.nlu.LoginResponse.prototype.toObject = function(opt_includeInstance
|
|
|
4481
4532
|
*/
|
|
4482
4533
|
proto.ondewo.nlu.LoginResponse.toObject = function(includeInstance, msg) {
|
|
4483
4534
|
var f, obj = {
|
|
4484
|
-
|
|
4485
|
-
|
|
4535
|
+
user: (f = msg.getUser()) && proto.ondewo.nlu.User.toObject(includeInstance, f),
|
|
4536
|
+
authToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4486
4537
|
};
|
|
4487
4538
|
|
|
4488
4539
|
if (includeInstance) {
|
|
@@ -4669,9 +4720,9 @@ proto.ondewo.nlu.GetUserPreferencesRequest.prototype.toObject = function(opt_inc
|
|
|
4669
4720
|
*/
|
|
4670
4721
|
proto.ondewo.nlu.GetUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
4671
4722
|
var f, obj = {
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4723
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4724
|
+
keysList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
4725
|
+
regexInclude: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
4675
4726
|
};
|
|
4676
4727
|
|
|
4677
4728
|
if (includeInstance) {
|
|
@@ -4885,10 +4936,10 @@ proto.ondewo.nlu.GetUserPreferencesResponse.prototype.toObject = function(opt_in
|
|
|
4885
4936
|
*/
|
|
4886
4937
|
proto.ondewo.nlu.GetUserPreferencesResponse.toObject = function(includeInstance, msg) {
|
|
4887
4938
|
var f, obj = {
|
|
4888
|
-
|
|
4889
|
-
|
|
4939
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4940
|
+
keyValuePairsList: jspb.Message.toObjectList(msg.getKeyValuePairsList(),
|
|
4890
4941
|
ondewo_nlu_common_pb.KeyValuePair.toObject, includeInstance),
|
|
4891
|
-
|
|
4942
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
4892
4943
|
};
|
|
4893
4944
|
|
|
4894
4945
|
if (includeInstance) {
|
|
@@ -5105,8 +5156,8 @@ proto.ondewo.nlu.SetUserPreferencesRequest.prototype.toObject = function(opt_inc
|
|
|
5105
5156
|
*/
|
|
5106
5157
|
proto.ondewo.nlu.SetUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
5107
5158
|
var f, obj = {
|
|
5108
|
-
|
|
5109
|
-
|
|
5159
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5160
|
+
keyValuePairsList: jspb.Message.toObjectList(msg.getKeyValuePairsList(),
|
|
5110
5161
|
ondewo_nlu_common_pb.KeyValuePair.toObject, includeInstance)
|
|
5111
5162
|
};
|
|
5112
5163
|
|
|
@@ -5295,9 +5346,9 @@ proto.ondewo.nlu.SetUserPreferencesResponse.prototype.toObject = function(opt_in
|
|
|
5295
5346
|
*/
|
|
5296
5347
|
proto.ondewo.nlu.SetUserPreferencesResponse.toObject = function(includeInstance, msg) {
|
|
5297
5348
|
var f, obj = {
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5349
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5350
|
+
keysList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
5351
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
5301
5352
|
};
|
|
5302
5353
|
|
|
5303
5354
|
if (includeInstance) {
|
|
@@ -5511,9 +5562,9 @@ proto.ondewo.nlu.DeleteUserPreferencesRequest.prototype.toObject = function(opt_
|
|
|
5511
5562
|
*/
|
|
5512
5563
|
proto.ondewo.nlu.DeleteUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
5513
5564
|
var f, obj = {
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5565
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5566
|
+
keysList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
5567
|
+
regexInclude: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
5517
5568
|
};
|
|
5518
5569
|
|
|
5519
5570
|
if (includeInstance) {
|
|
@@ -5727,9 +5778,9 @@ proto.ondewo.nlu.DeleteUserPreferencesResponse.prototype.toObject = function(opt
|
|
|
5727
5778
|
*/
|
|
5728
5779
|
proto.ondewo.nlu.DeleteUserPreferencesResponse.toObject = function(includeInstance, msg) {
|
|
5729
5780
|
var f, obj = {
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5781
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5782
|
+
keysList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
5783
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
5733
5784
|
};
|
|
5734
5785
|
|
|
5735
5786
|
if (includeInstance) {
|
|
@@ -5936,8 +5987,8 @@ proto.ondewo.nlu.DeleteAllUserPreferencesRequest.prototype.toObject = function(o
|
|
|
5936
5987
|
*/
|
|
5937
5988
|
proto.ondewo.nlu.DeleteAllUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
5938
5989
|
var f, obj = {
|
|
5939
|
-
|
|
5940
|
-
|
|
5990
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5991
|
+
regexFilter: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
5941
5992
|
};
|
|
5942
5993
|
|
|
5943
5994
|
if (includeInstance) {
|
|
@@ -6096,8 +6147,8 @@ proto.ondewo.nlu.ListUserPreferencesRequest.prototype.toObject = function(opt_in
|
|
|
6096
6147
|
*/
|
|
6097
6148
|
proto.ondewo.nlu.ListUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
6098
6149
|
var f, obj = {
|
|
6099
|
-
|
|
6100
|
-
|
|
6150
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6151
|
+
regexFilter: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
6101
6152
|
};
|
|
6102
6153
|
|
|
6103
6154
|
if (includeInstance) {
|
|
@@ -6263,10 +6314,10 @@ proto.ondewo.nlu.ListUserPreferencesResponse.prototype.toObject = function(opt_i
|
|
|
6263
6314
|
*/
|
|
6264
6315
|
proto.ondewo.nlu.ListUserPreferencesResponse.toObject = function(includeInstance, msg) {
|
|
6265
6316
|
var f, obj = {
|
|
6266
|
-
|
|
6267
|
-
|
|
6317
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6318
|
+
keyValuePairsList: jspb.Message.toObjectList(msg.getKeyValuePairsList(),
|
|
6268
6319
|
ondewo_nlu_common_pb.KeyValuePair.toObject, includeInstance),
|
|
6269
|
-
|
|
6320
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
6270
6321
|
};
|
|
6271
6322
|
|
|
6272
6323
|
if (includeInstance) {
|