@ondewo/nlu-client-typescript 5.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/api/annotations_pb.d.ts +2 -2
- package/api/google/api/annotations_pb.js +7 -1
- package/api/google/protobuf/any_pb.js +9 -3
- package/api/google/protobuf/empty_pb.js +7 -1
- package/api/google/protobuf/field_mask_pb.js +8 -2
- package/api/google/protobuf/struct_pb.js +17 -10
- package/api/google/protobuf/timestamp_pb.js +9 -3
- package/api/google/rpc/status_pb.d.ts +1 -1
- package/api/google/rpc/status_pb.js +10 -4
- package/api/google/type/latlng_pb.js +9 -3
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +15 -64
- package/api/ondewo/nlu/agent_grpc_web_pb.js +68 -310
- package/api/ondewo/nlu/agent_pb.d.ts +31 -12
- package/api/ondewo/nlu/agent_pb.js +507 -326
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +35 -1
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +191 -3
- package/api/ondewo/nlu/aiservices_pb.d.ts +190 -3
- package/api/ondewo/nlu/aiservices_pb.js +1715 -135
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +13 -1
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +68 -3
- package/api/ondewo/nlu/ccai_project_pb.d.ts +100 -5
- package/api/ondewo/nlu/ccai_project_pb.js +448 -67
- package/api/ondewo/nlu/common_pb.d.ts +27 -27
- package/api/ondewo/nlu/common_pb.js +100 -94
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/context_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/context_pb.d.ts +4 -4
- package/api/ondewo/nlu/context_pb.js +36 -29
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/entity_type_pb.d.ts +6 -6
- package/api/ondewo/nlu/entity_type_pb.js +88 -82
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/intent_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/intent_pb.d.ts +8 -8
- package/api/ondewo/nlu/intent_pb.js +251 -245
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +1 -1
- package/api/ondewo/nlu/operation_metadata_pb.js +29 -23
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/operations_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/operations_pb.d.ts +6 -6
- package/api/ondewo/nlu/operations_pb.js +28 -22
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/project_role_pb.d.ts +4 -4
- package/api/ondewo/nlu/project_role_pb.js +32 -26
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/project_statistics_pb.d.ts +4 -4
- package/api/ondewo/nlu/project_statistics_pb.js +14 -8
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/server_statistics_pb.d.ts +3 -3
- package/api/ondewo/nlu/server_statistics_pb.js +8 -2
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +46 -10
- package/api/ondewo/nlu/session_grpc_web_pb.js +209 -22
- package/api/ondewo/nlu/session_pb.d.ts +324 -24
- package/api/ondewo/nlu/session_pb.js +8251 -5782
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +3 -3
- package/api/ondewo/nlu/user_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/user_pb.d.ts +12 -6
- package/api/ondewo/nlu/user_pb.js +131 -73
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +1 -1
- package/api/ondewo/nlu/utility_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/utility_pb.d.ts +2 -2
- package/api/ondewo/nlu/utility_pb.js +86 -80
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +7 -3
- package/api/ondewo/nlu/webhook_pb.d.ts +8 -8
- package/api/ondewo/nlu/webhook_pb.js +38 -32
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +2 -2
- package/api/ondewo/qa/qa_grpc_web_pb.js +7 -3
- package/api/ondewo/qa/qa_pb.d.ts +3 -3
- package/api/ondewo/qa/qa_pb.js +31 -25
- package/package.json +36 -16
- package/public-api.js +40 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as grpcWeb from 'grpc-web';
|
|
2
2
|
|
|
3
|
-
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
4
|
-
import * as ondewo_nlu_user_pb from '../../ondewo/nlu/user_pb';
|
|
5
|
-
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
|
|
3
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
4
|
+
import * as ondewo_nlu_user_pb from '../../ondewo/nlu/user_pb'; // proto import: "ondewo/nlu/user.proto"
|
|
5
|
+
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb'; // proto import: "ondewo/nlu/common.proto"
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
export class UsersClient {
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v5.27.3
|
|
11
|
+
// source: ondewo/nlu/user.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -52,7 +56,7 @@ proto.ondewo.nlu.UsersClient =
|
|
|
52
56
|
/**
|
|
53
57
|
* @private @const {string} The hostname
|
|
54
58
|
*/
|
|
55
|
-
this.hostname_ = hostname;
|
|
59
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
56
60
|
|
|
57
61
|
};
|
|
58
62
|
|
|
@@ -78,7 +82,7 @@ proto.ondewo.nlu.UsersPromiseClient =
|
|
|
78
82
|
/**
|
|
79
83
|
* @private @const {string} The hostname
|
|
80
84
|
*/
|
|
81
|
-
this.hostname_ = hostname;
|
|
85
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
82
86
|
|
|
83
87
|
};
|
|
84
88
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as google_api_annotations_pb from '../../google/api/annotations_pb';
|
|
4
|
-
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
5
|
-
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
|
|
6
|
-
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
|
7
|
-
import * as ondewo_nlu_project_role_pb from '../../ondewo/nlu/project_role_pb';
|
|
8
|
-
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
|
|
3
|
+
import * as google_api_annotations_pb from '../../google/api/annotations_pb'; // proto import: "google/api/annotations.proto"
|
|
4
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb'; // proto import: "google/protobuf/empty.proto"
|
|
5
|
+
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
|
|
6
|
+
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
|
|
7
|
+
import * as ondewo_nlu_project_role_pb from '../../ondewo/nlu/project_role_pb'; // proto import: "ondewo/nlu/project_role.proto"
|
|
8
|
+
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb'; // proto import: "ondewo/nlu/common.proto"
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
export class User extends jspb.Message {
|
|
@@ -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 {
|
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global =
|
|
17
|
+
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
+
(typeof window !== 'undefined' && window) ||
|
|
19
|
+
(typeof global !== 'undefined' && global) ||
|
|
20
|
+
(typeof self !== 'undefined' && self) ||
|
|
21
|
+
(function () { return this; }).call(null) ||
|
|
22
|
+
Function('return this')();
|
|
17
23
|
|
|
18
24
|
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
19
25
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
@@ -700,15 +706,15 @@ proto.ondewo.nlu.User.prototype.toObject = function(opt_includeInstance) {
|
|
|
700
706
|
*/
|
|
701
707
|
proto.ondewo.nlu.User.toObject = function(includeInstance, msg) {
|
|
702
708
|
var f, obj = {
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
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, "")
|
|
712
718
|
};
|
|
713
719
|
|
|
714
720
|
if (includeInstance) {
|
|
@@ -1136,8 +1142,8 @@ proto.ondewo.nlu.UserInfo.prototype.toObject = function(opt_includeInstance) {
|
|
|
1136
1142
|
*/
|
|
1137
1143
|
proto.ondewo.nlu.UserInfo.toObject = function(includeInstance, msg) {
|
|
1138
1144
|
var f, obj = {
|
|
1139
|
-
|
|
1140
|
-
|
|
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) : []
|
|
1141
1147
|
};
|
|
1142
1148
|
|
|
1143
1149
|
if (includeInstance) {
|
|
@@ -1285,7 +1291,8 @@ proto.ondewo.nlu.UserInfo.prototype.getProjectRolesMap = function(opt_noLazyCrea
|
|
|
1285
1291
|
*/
|
|
1286
1292
|
proto.ondewo.nlu.UserInfo.prototype.clearProjectRolesMap = function() {
|
|
1287
1293
|
this.getProjectRolesMap().clear();
|
|
1288
|
-
return this;
|
|
1294
|
+
return this;
|
|
1295
|
+
};
|
|
1289
1296
|
|
|
1290
1297
|
|
|
1291
1298
|
|
|
@@ -1320,8 +1327,8 @@ proto.ondewo.nlu.CreateUserRequest.prototype.toObject = function(opt_includeInst
|
|
|
1320
1327
|
*/
|
|
1321
1328
|
proto.ondewo.nlu.CreateUserRequest.toObject = function(includeInstance, msg) {
|
|
1322
1329
|
var f, obj = {
|
|
1323
|
-
|
|
1324
|
-
|
|
1330
|
+
user: (f = msg.getUser()) && proto.ondewo.nlu.User.toObject(includeInstance, f),
|
|
1331
|
+
password: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1325
1332
|
};
|
|
1326
1333
|
|
|
1327
1334
|
if (includeInstance) {
|
|
@@ -1501,9 +1508,9 @@ proto.ondewo.nlu.UpdateUserRequest.prototype.toObject = function(opt_includeInst
|
|
|
1501
1508
|
*/
|
|
1502
1509
|
proto.ondewo.nlu.UpdateUserRequest.toObject = function(includeInstance, msg) {
|
|
1503
1510
|
var f, obj = {
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
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)
|
|
1507
1514
|
};
|
|
1508
1515
|
|
|
1509
1516
|
if (includeInstance) {
|
|
@@ -1759,8 +1766,9 @@ proto.ondewo.nlu.GetUserRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
1759
1766
|
*/
|
|
1760
1767
|
proto.ondewo.nlu.GetUserRequest.toObject = function(includeInstance, msg) {
|
|
1761
1768
|
var f, obj = {
|
|
1762
|
-
|
|
1763
|
-
|
|
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)
|
|
1764
1772
|
};
|
|
1765
1773
|
|
|
1766
1774
|
if (includeInstance) {
|
|
@@ -1805,6 +1813,11 @@ proto.ondewo.nlu.GetUserRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
1805
1813
|
var value = /** @type {string} */ (reader.readString());
|
|
1806
1814
|
msg.setUserEmail(value);
|
|
1807
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;
|
|
1808
1821
|
default:
|
|
1809
1822
|
reader.skipField();
|
|
1810
1823
|
break;
|
|
@@ -1848,6 +1861,14 @@ proto.ondewo.nlu.GetUserRequest.serializeBinaryToWriter = function(message, writ
|
|
|
1848
1861
|
f
|
|
1849
1862
|
);
|
|
1850
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
|
+
}
|
|
1851
1872
|
};
|
|
1852
1873
|
|
|
1853
1874
|
|
|
@@ -1923,6 +1944,43 @@ proto.ondewo.nlu.GetUserRequest.prototype.hasUserEmail = function() {
|
|
|
1923
1944
|
};
|
|
1924
1945
|
|
|
1925
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
|
+
|
|
1926
1984
|
|
|
1927
1985
|
|
|
1928
1986
|
|
|
@@ -1955,7 +2013,7 @@ proto.ondewo.nlu.DeleteUserRequest.prototype.toObject = function(opt_includeInst
|
|
|
1955
2013
|
*/
|
|
1956
2014
|
proto.ondewo.nlu.DeleteUserRequest.toObject = function(includeInstance, msg) {
|
|
1957
2015
|
var f, obj = {
|
|
1958
|
-
|
|
2016
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1959
2017
|
};
|
|
1960
2018
|
|
|
1961
2019
|
if (includeInstance) {
|
|
@@ -2085,7 +2143,7 @@ proto.ondewo.nlu.ListUsersRequest.prototype.toObject = function(opt_includeInsta
|
|
|
2085
2143
|
*/
|
|
2086
2144
|
proto.ondewo.nlu.ListUsersRequest.toObject = function(includeInstance, msg) {
|
|
2087
2145
|
var f, obj = {
|
|
2088
|
-
|
|
2146
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2089
2147
|
};
|
|
2090
2148
|
|
|
2091
2149
|
if (includeInstance) {
|
|
@@ -2222,9 +2280,9 @@ proto.ondewo.nlu.ListUsersResponse.prototype.toObject = function(opt_includeInst
|
|
|
2222
2280
|
*/
|
|
2223
2281
|
proto.ondewo.nlu.ListUsersResponse.toObject = function(includeInstance, msg) {
|
|
2224
2282
|
var f, obj = {
|
|
2225
|
-
|
|
2283
|
+
usersList: jspb.Message.toObjectList(msg.getUsersList(),
|
|
2226
2284
|
proto.ondewo.nlu.User.toObject, includeInstance),
|
|
2227
|
-
|
|
2285
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2228
2286
|
};
|
|
2229
2287
|
|
|
2230
2288
|
if (includeInstance) {
|
|
@@ -2412,9 +2470,9 @@ proto.ondewo.nlu.ListUserInfosResponse.prototype.toObject = function(opt_include
|
|
|
2412
2470
|
*/
|
|
2413
2471
|
proto.ondewo.nlu.ListUserInfosResponse.toObject = function(includeInstance, msg) {
|
|
2414
2472
|
var f, obj = {
|
|
2415
|
-
|
|
2473
|
+
usersList: jspb.Message.toObjectList(msg.getUsersList(),
|
|
2416
2474
|
proto.ondewo.nlu.UserInfo.toObject, includeInstance),
|
|
2417
|
-
|
|
2475
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2418
2476
|
};
|
|
2419
2477
|
|
|
2420
2478
|
if (includeInstance) {
|
|
@@ -2602,13 +2660,13 @@ proto.ondewo.nlu.ServerRole.prototype.toObject = function(opt_includeInstance) {
|
|
|
2602
2660
|
*/
|
|
2603
2661
|
proto.ondewo.nlu.ServerRole.toObject = function(includeInstance, msg) {
|
|
2604
2662
|
var f, obj = {
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
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, "")
|
|
2612
2670
|
};
|
|
2613
2671
|
|
|
2614
2672
|
if (includeInstance) {
|
|
@@ -2973,7 +3031,7 @@ proto.ondewo.nlu.CreateServerRoleRequest.prototype.toObject = function(opt_inclu
|
|
|
2973
3031
|
*/
|
|
2974
3032
|
proto.ondewo.nlu.CreateServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
2975
3033
|
var f, obj = {
|
|
2976
|
-
|
|
3034
|
+
role: (f = msg.getRole()) && proto.ondewo.nlu.ServerRole.toObject(includeInstance, f)
|
|
2977
3035
|
};
|
|
2978
3036
|
|
|
2979
3037
|
if (includeInstance) {
|
|
@@ -3124,8 +3182,8 @@ proto.ondewo.nlu.UpdateServerRoleRequest.prototype.toObject = function(opt_inclu
|
|
|
3124
3182
|
*/
|
|
3125
3183
|
proto.ondewo.nlu.UpdateServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
3126
3184
|
var f, obj = {
|
|
3127
|
-
|
|
3128
|
-
|
|
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)
|
|
3129
3187
|
};
|
|
3130
3188
|
|
|
3131
3189
|
if (includeInstance) {
|
|
@@ -3326,7 +3384,7 @@ proto.ondewo.nlu.DeleteServerRoleRequest.prototype.toObject = function(opt_inclu
|
|
|
3326
3384
|
*/
|
|
3327
3385
|
proto.ondewo.nlu.DeleteServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
3328
3386
|
var f, obj = {
|
|
3329
|
-
|
|
3387
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
3330
3388
|
};
|
|
3331
3389
|
|
|
3332
3390
|
if (includeInstance) {
|
|
@@ -3482,8 +3540,8 @@ proto.ondewo.nlu.GetServerRoleRequest.prototype.toObject = function(opt_includeI
|
|
|
3482
3540
|
*/
|
|
3483
3541
|
proto.ondewo.nlu.GetServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
3484
3542
|
var f, obj = {
|
|
3485
|
-
|
|
3486
|
-
|
|
3543
|
+
roleId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
3544
|
+
roleName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
|
|
3487
3545
|
};
|
|
3488
3546
|
|
|
3489
3547
|
if (includeInstance) {
|
|
@@ -3678,7 +3736,7 @@ proto.ondewo.nlu.ListServerRolesRequest.prototype.toObject = function(opt_includ
|
|
|
3678
3736
|
*/
|
|
3679
3737
|
proto.ondewo.nlu.ListServerRolesRequest.toObject = function(includeInstance, msg) {
|
|
3680
3738
|
var f, obj = {
|
|
3681
|
-
|
|
3739
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3682
3740
|
};
|
|
3683
3741
|
|
|
3684
3742
|
if (includeInstance) {
|
|
@@ -3815,9 +3873,9 @@ proto.ondewo.nlu.ListServerRolesResponse.prototype.toObject = function(opt_inclu
|
|
|
3815
3873
|
*/
|
|
3816
3874
|
proto.ondewo.nlu.ListServerRolesResponse.toObject = function(includeInstance, msg) {
|
|
3817
3875
|
var f, obj = {
|
|
3818
|
-
|
|
3876
|
+
serverRolesList: jspb.Message.toObjectList(msg.getServerRolesList(),
|
|
3819
3877
|
proto.ondewo.nlu.ServerRole.toObject, includeInstance),
|
|
3820
|
-
|
|
3878
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3821
3879
|
};
|
|
3822
3880
|
|
|
3823
3881
|
if (includeInstance) {
|
|
@@ -3998,7 +4056,7 @@ proto.ondewo.nlu.ListServerPermissionsRequest.prototype.toObject = function(opt_
|
|
|
3998
4056
|
*/
|
|
3999
4057
|
proto.ondewo.nlu.ListServerPermissionsRequest.toObject = function(includeInstance, msg) {
|
|
4000
4058
|
var f, obj = {
|
|
4001
|
-
|
|
4059
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
4002
4060
|
};
|
|
4003
4061
|
|
|
4004
4062
|
if (includeInstance) {
|
|
@@ -4135,8 +4193,8 @@ proto.ondewo.nlu.ListServerPermissionsResponse.prototype.toObject = function(opt
|
|
|
4135
4193
|
*/
|
|
4136
4194
|
proto.ondewo.nlu.ListServerPermissionsResponse.toObject = function(includeInstance, msg) {
|
|
4137
4195
|
var f, obj = {
|
|
4138
|
-
|
|
4139
|
-
|
|
4196
|
+
permissionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
4197
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4140
4198
|
};
|
|
4141
4199
|
|
|
4142
4200
|
if (includeInstance) {
|
|
@@ -4314,8 +4372,8 @@ proto.ondewo.nlu.LoginRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
4314
4372
|
*/
|
|
4315
4373
|
proto.ondewo.nlu.LoginRequest.toObject = function(includeInstance, msg) {
|
|
4316
4374
|
var f, obj = {
|
|
4317
|
-
|
|
4318
|
-
|
|
4375
|
+
userEmail: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4376
|
+
password: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4319
4377
|
};
|
|
4320
4378
|
|
|
4321
4379
|
if (includeInstance) {
|
|
@@ -4474,8 +4532,8 @@ proto.ondewo.nlu.LoginResponse.prototype.toObject = function(opt_includeInstance
|
|
|
4474
4532
|
*/
|
|
4475
4533
|
proto.ondewo.nlu.LoginResponse.toObject = function(includeInstance, msg) {
|
|
4476
4534
|
var f, obj = {
|
|
4477
|
-
|
|
4478
|
-
|
|
4535
|
+
user: (f = msg.getUser()) && proto.ondewo.nlu.User.toObject(includeInstance, f),
|
|
4536
|
+
authToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4479
4537
|
};
|
|
4480
4538
|
|
|
4481
4539
|
if (includeInstance) {
|
|
@@ -4662,9 +4720,9 @@ proto.ondewo.nlu.GetUserPreferencesRequest.prototype.toObject = function(opt_inc
|
|
|
4662
4720
|
*/
|
|
4663
4721
|
proto.ondewo.nlu.GetUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
4664
4722
|
var f, obj = {
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
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, "")
|
|
4668
4726
|
};
|
|
4669
4727
|
|
|
4670
4728
|
if (includeInstance) {
|
|
@@ -4878,10 +4936,10 @@ proto.ondewo.nlu.GetUserPreferencesResponse.prototype.toObject = function(opt_in
|
|
|
4878
4936
|
*/
|
|
4879
4937
|
proto.ondewo.nlu.GetUserPreferencesResponse.toObject = function(includeInstance, msg) {
|
|
4880
4938
|
var f, obj = {
|
|
4881
|
-
|
|
4882
|
-
|
|
4939
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4940
|
+
keyValuePairsList: jspb.Message.toObjectList(msg.getKeyValuePairsList(),
|
|
4883
4941
|
ondewo_nlu_common_pb.KeyValuePair.toObject, includeInstance),
|
|
4884
|
-
|
|
4942
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
4885
4943
|
};
|
|
4886
4944
|
|
|
4887
4945
|
if (includeInstance) {
|
|
@@ -5098,8 +5156,8 @@ proto.ondewo.nlu.SetUserPreferencesRequest.prototype.toObject = function(opt_inc
|
|
|
5098
5156
|
*/
|
|
5099
5157
|
proto.ondewo.nlu.SetUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
5100
5158
|
var f, obj = {
|
|
5101
|
-
|
|
5102
|
-
|
|
5159
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5160
|
+
keyValuePairsList: jspb.Message.toObjectList(msg.getKeyValuePairsList(),
|
|
5103
5161
|
ondewo_nlu_common_pb.KeyValuePair.toObject, includeInstance)
|
|
5104
5162
|
};
|
|
5105
5163
|
|
|
@@ -5288,9 +5346,9 @@ proto.ondewo.nlu.SetUserPreferencesResponse.prototype.toObject = function(opt_in
|
|
|
5288
5346
|
*/
|
|
5289
5347
|
proto.ondewo.nlu.SetUserPreferencesResponse.toObject = function(includeInstance, msg) {
|
|
5290
5348
|
var f, obj = {
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
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, "")
|
|
5294
5352
|
};
|
|
5295
5353
|
|
|
5296
5354
|
if (includeInstance) {
|
|
@@ -5504,9 +5562,9 @@ proto.ondewo.nlu.DeleteUserPreferencesRequest.prototype.toObject = function(opt_
|
|
|
5504
5562
|
*/
|
|
5505
5563
|
proto.ondewo.nlu.DeleteUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
5506
5564
|
var f, obj = {
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
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, "")
|
|
5510
5568
|
};
|
|
5511
5569
|
|
|
5512
5570
|
if (includeInstance) {
|
|
@@ -5720,9 +5778,9 @@ proto.ondewo.nlu.DeleteUserPreferencesResponse.prototype.toObject = function(opt
|
|
|
5720
5778
|
*/
|
|
5721
5779
|
proto.ondewo.nlu.DeleteUserPreferencesResponse.toObject = function(includeInstance, msg) {
|
|
5722
5780
|
var f, obj = {
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
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, "")
|
|
5726
5784
|
};
|
|
5727
5785
|
|
|
5728
5786
|
if (includeInstance) {
|
|
@@ -5929,8 +5987,8 @@ proto.ondewo.nlu.DeleteAllUserPreferencesRequest.prototype.toObject = function(o
|
|
|
5929
5987
|
*/
|
|
5930
5988
|
proto.ondewo.nlu.DeleteAllUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
5931
5989
|
var f, obj = {
|
|
5932
|
-
|
|
5933
|
-
|
|
5990
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5991
|
+
regexFilter: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
5934
5992
|
};
|
|
5935
5993
|
|
|
5936
5994
|
if (includeInstance) {
|
|
@@ -6089,8 +6147,8 @@ proto.ondewo.nlu.ListUserPreferencesRequest.prototype.toObject = function(opt_in
|
|
|
6089
6147
|
*/
|
|
6090
6148
|
proto.ondewo.nlu.ListUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
6091
6149
|
var f, obj = {
|
|
6092
|
-
|
|
6093
|
-
|
|
6150
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6151
|
+
regexFilter: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
6094
6152
|
};
|
|
6095
6153
|
|
|
6096
6154
|
if (includeInstance) {
|
|
@@ -6256,10 +6314,10 @@ proto.ondewo.nlu.ListUserPreferencesResponse.prototype.toObject = function(opt_i
|
|
|
6256
6314
|
*/
|
|
6257
6315
|
proto.ondewo.nlu.ListUserPreferencesResponse.toObject = function(includeInstance, msg) {
|
|
6258
6316
|
var f, obj = {
|
|
6259
|
-
|
|
6260
|
-
|
|
6317
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6318
|
+
keyValuePairsList: jspb.Message.toObjectList(msg.getKeyValuePairsList(),
|
|
6261
6319
|
ondewo_nlu_common_pb.KeyValuePair.toObject, includeInstance),
|
|
6262
|
-
|
|
6320
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
6263
6321
|
};
|
|
6264
6322
|
|
|
6265
6323
|
if (includeInstance) {
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v5.27.3
|
|
11
|
+
// source: ondewo/nlu/utility.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -44,7 +48,7 @@ proto.ondewo.nlu.UtilitiesClient =
|
|
|
44
48
|
/**
|
|
45
49
|
* @private @const {string} The hostname
|
|
46
50
|
*/
|
|
47
|
-
this.hostname_ = hostname;
|
|
51
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
48
52
|
|
|
49
53
|
};
|
|
50
54
|
|
|
@@ -70,7 +74,7 @@ proto.ondewo.nlu.UtilitiesPromiseClient =
|
|
|
70
74
|
/**
|
|
71
75
|
* @private @const {string} The hostname
|
|
72
76
|
*/
|
|
73
|
-
this.hostname_ = hostname;
|
|
77
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
74
78
|
|
|
75
79
|
};
|
|
76
80
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb';
|
|
4
|
-
import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb';
|
|
3
|
+
import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb'; // proto import: "ondewo/nlu/intent.proto"
|
|
4
|
+
import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb'; // proto import: "ondewo/nlu/entity_type.proto"
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
export class ValidateRegexRequest extends jspb.Message {
|