@ondewo/nlu-client-typescript 4.0.0 → 4.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/ondewo/nlu/agent_grpc_web_pb.d.ts +450 -490
- package/api/ondewo/nlu/agent_grpc_web_pb.js +1113 -1244
- package/api/ondewo/nlu/agent_pb.d.ts +1939 -1751
- package/api/ondewo/nlu/agent_pb.js +9062 -10483
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +98 -106
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +245 -280
- package/api/ondewo/nlu/aiservices_pb.d.ts +745 -674
- package/api/ondewo/nlu/aiservices_pb.js +3638 -4403
- package/api/ondewo/nlu/common_pb.d.ts +15 -17
- package/api/ondewo/nlu/common_pb.js +83 -93
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +76 -82
- package/api/ondewo/nlu/context_grpc_web_pb.js +191 -220
- package/api/ondewo/nlu/context_pb.d.ts +151 -151
- package/api/ondewo/nlu/context_pb.js +889 -1042
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +142 -154
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +351 -398
- package/api/ondewo/nlu/entity_type_pb.d.ts +614 -571
- package/api/ondewo/nlu/entity_type_pb.js +2893 -3369
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +310 -334
- package/api/ondewo/nlu/intent_grpc_web_pb.js +766 -851
- package/api/ondewo/nlu/intent_pb.d.ts +2151 -1993
- package/api/ondewo/nlu/intent_pb.js +9502 -10692
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +86 -88
- package/api/ondewo/nlu/operation_metadata_pb.js +321 -412
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -50
- package/api/ondewo/nlu/operations_grpc_web_pb.js +140 -163
- package/api/ondewo/nlu/operations_pb.d.ts +189 -182
- package/api/ondewo/nlu/operations_pb.js +843 -1004
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +65 -70
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +164 -190
- package/api/ondewo/nlu/project_role_pb.d.ts +165 -151
- package/api/ondewo/nlu/project_role_pb.js +796 -963
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +98 -106
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +246 -281
- package/api/ondewo/nlu/project_statistics_pb.d.ts +67 -63
- package/api/ondewo/nlu/project_statistics_pb.js +354 -418
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +43 -46
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +110 -130
- package/api/ondewo/nlu/server_statistics_pb.d.ts +15 -14
- package/api/ondewo/nlu/server_statistics_pb.js +81 -91
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +164 -178
- package/api/ondewo/nlu/session_grpc_web_pb.js +409 -462
- package/api/ondewo/nlu/session_pb.d.ts +1080 -1025
- package/api/ondewo/nlu/session_pb.js +5285 -6536
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +172 -190
- package/api/ondewo/nlu/user_grpc_web_pb.js +431 -487
- package/api/ondewo/nlu/user_pb.d.ts +345 -325
- package/api/ondewo/nlu/user_pb.js +1948 -2312
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +98 -106
- package/api/ondewo/nlu/utility_grpc_web_pb.js +244 -279
- package/api/ondewo/nlu/utility_pb.d.ts +588 -535
- package/api/ondewo/nlu/utility_pb.js +2814 -3348
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +43 -46
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +112 -132
- package/api/ondewo/nlu/webhook_pb.d.ts +123 -119
- package/api/ondewo/nlu/webhook_pb.js +599 -718
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +87 -94
- package/api/ondewo/qa/qa_grpc_web_pb.js +218 -250
- package/api/ondewo/qa/qa_pb.d.ts +235 -220
- package/api/ondewo/qa/qa_pb.js +1222 -1452
- package/package.json +1 -1
- package/public-api.d.ts +4 -34
|
@@ -3,78 +3,73 @@ import * as grpcWeb from 'grpc-web';
|
|
|
3
3
|
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
4
4
|
import * as ondewo_nlu_project_role_pb from '../../ondewo/nlu/project_role_pb';
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
export class ProjectRolesClient {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
callback: (err: grpcWeb.RpcError,
|
|
44
|
-
response: ondewo_nlu_project_role_pb.ListProjectRolesResponse) => void
|
|
45
|
-
): grpcWeb.ClientReadableStream<ondewo_nlu_project_role_pb.ListProjectRolesResponse>;
|
|
46
|
-
|
|
7
|
+
constructor(
|
|
8
|
+
hostname: string,
|
|
9
|
+
credentials?: null | { [index: string]: string },
|
|
10
|
+
options?: null | { [index: string]: any }
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
createProjectRole(
|
|
14
|
+
request: ondewo_nlu_project_role_pb.CreateProjectRoleRequest,
|
|
15
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
16
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_project_role_pb.ProjectRole) => void
|
|
17
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_project_role_pb.ProjectRole>;
|
|
18
|
+
|
|
19
|
+
getProjectRole(
|
|
20
|
+
request: ondewo_nlu_project_role_pb.GetProjectRoleRequest,
|
|
21
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
22
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_project_role_pb.ProjectRole) => void
|
|
23
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_project_role_pb.ProjectRole>;
|
|
24
|
+
|
|
25
|
+
deleteProjectRole(
|
|
26
|
+
request: ondewo_nlu_project_role_pb.DeleteProjectRoleRequest,
|
|
27
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
28
|
+
callback: (err: grpcWeb.RpcError, response: google_protobuf_empty_pb.Empty) => void
|
|
29
|
+
): grpcWeb.ClientReadableStream<google_protobuf_empty_pb.Empty>;
|
|
30
|
+
|
|
31
|
+
updateProjectRole(
|
|
32
|
+
request: ondewo_nlu_project_role_pb.UpdateProjectRoleRequest,
|
|
33
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
34
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_project_role_pb.ProjectRole) => void
|
|
35
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_project_role_pb.ProjectRole>;
|
|
36
|
+
|
|
37
|
+
listProjectRoles(
|
|
38
|
+
request: ondewo_nlu_project_role_pb.ListProjectRolesRequest,
|
|
39
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
40
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_project_role_pb.ListProjectRolesResponse) => void
|
|
41
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_project_role_pb.ListProjectRolesResponse>;
|
|
47
42
|
}
|
|
48
43
|
|
|
49
44
|
export class ProjectRolesPromiseClient {
|
|
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
|
-
|
|
45
|
+
constructor(
|
|
46
|
+
hostname: string,
|
|
47
|
+
credentials?: null | { [index: string]: string },
|
|
48
|
+
options?: null | { [index: string]: any }
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
createProjectRole(
|
|
52
|
+
request: ondewo_nlu_project_role_pb.CreateProjectRoleRequest,
|
|
53
|
+
metadata?: grpcWeb.Metadata
|
|
54
|
+
): Promise<ondewo_nlu_project_role_pb.ProjectRole>;
|
|
55
|
+
|
|
56
|
+
getProjectRole(
|
|
57
|
+
request: ondewo_nlu_project_role_pb.GetProjectRoleRequest,
|
|
58
|
+
metadata?: grpcWeb.Metadata
|
|
59
|
+
): Promise<ondewo_nlu_project_role_pb.ProjectRole>;
|
|
60
|
+
|
|
61
|
+
deleteProjectRole(
|
|
62
|
+
request: ondewo_nlu_project_role_pb.DeleteProjectRoleRequest,
|
|
63
|
+
metadata?: grpcWeb.Metadata
|
|
64
|
+
): Promise<google_protobuf_empty_pb.Empty>;
|
|
65
|
+
|
|
66
|
+
updateProjectRole(
|
|
67
|
+
request: ondewo_nlu_project_role_pb.UpdateProjectRoleRequest,
|
|
68
|
+
metadata?: grpcWeb.Metadata
|
|
69
|
+
): Promise<ondewo_nlu_project_role_pb.ProjectRole>;
|
|
70
|
+
|
|
71
|
+
listProjectRoles(
|
|
72
|
+
request: ondewo_nlu_project_role_pb.ListProjectRolesRequest,
|
|
73
|
+
metadata?: grpcWeb.Metadata
|
|
74
|
+
): Promise<ondewo_nlu_project_role_pb.ListProjectRolesResponse>;
|
|
79
75
|
}
|
|
80
|
-
|
|
@@ -6,21 +6,17 @@
|
|
|
6
6
|
|
|
7
7
|
// GENERATED CODE -- DO NOT EDIT!
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
/* eslint-disable */
|
|
11
10
|
// @ts-nocheck
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
12
|
const grpc = {};
|
|
16
13
|
grpc.web = require('grpc-web');
|
|
17
14
|
|
|
15
|
+
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
18
16
|
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js')
|
|
17
|
+
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
22
18
|
|
|
23
|
-
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
19
|
+
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
24
20
|
const proto = {};
|
|
25
21
|
proto.ondewo = {};
|
|
26
22
|
proto.ondewo.nlu = require('./project_role_pb.js');
|
|
@@ -33,24 +29,21 @@ proto.ondewo.nlu = require('./project_role_pb.js');
|
|
|
33
29
|
* @struct
|
|
34
30
|
* @final
|
|
35
31
|
*/
|
|
36
|
-
proto.ondewo.nlu.ProjectRolesClient =
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
this.hostname_ = hostname;
|
|
50
|
-
|
|
32
|
+
proto.ondewo.nlu.ProjectRolesClient = function (hostname, credentials, options) {
|
|
33
|
+
if (!options) options = {};
|
|
34
|
+
options.format = 'binary';
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
38
|
+
*/
|
|
39
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @private @const {string} The hostname
|
|
43
|
+
*/
|
|
44
|
+
this.hostname_ = hostname;
|
|
51
45
|
};
|
|
52
46
|
|
|
53
|
-
|
|
54
47
|
/**
|
|
55
48
|
* @param {string} hostname
|
|
56
49
|
* @param {?Object} credentials
|
|
@@ -59,24 +52,21 @@ proto.ondewo.nlu.ProjectRolesClient =
|
|
|
59
52
|
* @struct
|
|
60
53
|
* @final
|
|
61
54
|
*/
|
|
62
|
-
proto.ondewo.nlu.ProjectRolesPromiseClient =
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
this.hostname_ = hostname;
|
|
76
|
-
|
|
55
|
+
proto.ondewo.nlu.ProjectRolesPromiseClient = function (hostname, credentials, options) {
|
|
56
|
+
if (!options) options = {};
|
|
57
|
+
options.format = 'binary';
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
61
|
+
*/
|
|
62
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @private @const {string} The hostname
|
|
66
|
+
*/
|
|
67
|
+
this.hostname_ = hostname;
|
|
77
68
|
};
|
|
78
69
|
|
|
79
|
-
|
|
80
70
|
/**
|
|
81
71
|
* @const
|
|
82
72
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -84,21 +74,20 @@ proto.ondewo.nlu.ProjectRolesPromiseClient =
|
|
|
84
74
|
* !proto.ondewo.nlu.ProjectRole>}
|
|
85
75
|
*/
|
|
86
76
|
const methodDescriptor_ProjectRoles_CreateProjectRole = new grpc.web.MethodDescriptor(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
77
|
+
'/ondewo.nlu.ProjectRoles/CreateProjectRole',
|
|
78
|
+
grpc.web.MethodType.UNARY,
|
|
79
|
+
proto.ondewo.nlu.CreateProjectRoleRequest,
|
|
80
|
+
proto.ondewo.nlu.ProjectRole,
|
|
81
|
+
/**
|
|
82
|
+
* @param {!proto.ondewo.nlu.CreateProjectRoleRequest} request
|
|
83
|
+
* @return {!Uint8Array}
|
|
84
|
+
*/
|
|
85
|
+
function (request) {
|
|
86
|
+
return request.serializeBinary();
|
|
87
|
+
},
|
|
88
|
+
proto.ondewo.nlu.ProjectRole.deserializeBinary
|
|
99
89
|
);
|
|
100
90
|
|
|
101
|
-
|
|
102
91
|
/**
|
|
103
92
|
* @param {!proto.ondewo.nlu.CreateProjectRoleRequest} request The
|
|
104
93
|
* request proto
|
|
@@ -109,17 +98,16 @@ const methodDescriptor_ProjectRoles_CreateProjectRole = new grpc.web.MethodDescr
|
|
|
109
98
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ProjectRole>|undefined}
|
|
110
99
|
* The XHR Node Readable Stream
|
|
111
100
|
*/
|
|
112
|
-
proto.ondewo.nlu.ProjectRolesClient.prototype.createProjectRole =
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
101
|
+
proto.ondewo.nlu.ProjectRolesClient.prototype.createProjectRole = function (request, metadata, callback) {
|
|
102
|
+
return this.client_.rpcCall(
|
|
103
|
+
this.hostname_ + '/ondewo.nlu.ProjectRoles/CreateProjectRole',
|
|
104
|
+
request,
|
|
105
|
+
metadata || {},
|
|
106
|
+
methodDescriptor_ProjectRoles_CreateProjectRole,
|
|
107
|
+
callback
|
|
108
|
+
);
|
|
120
109
|
};
|
|
121
110
|
|
|
122
|
-
|
|
123
111
|
/**
|
|
124
112
|
* @param {!proto.ondewo.nlu.CreateProjectRoleRequest} request The
|
|
125
113
|
* request proto
|
|
@@ -128,16 +116,15 @@ proto.ondewo.nlu.ProjectRolesClient.prototype.createProjectRole =
|
|
|
128
116
|
* @return {!Promise<!proto.ondewo.nlu.ProjectRole>}
|
|
129
117
|
* Promise that resolves to the response
|
|
130
118
|
*/
|
|
131
|
-
proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.createProjectRole =
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
119
|
+
proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.createProjectRole = function (request, metadata) {
|
|
120
|
+
return this.client_.unaryCall(
|
|
121
|
+
this.hostname_ + '/ondewo.nlu.ProjectRoles/CreateProjectRole',
|
|
122
|
+
request,
|
|
123
|
+
metadata || {},
|
|
124
|
+
methodDescriptor_ProjectRoles_CreateProjectRole
|
|
125
|
+
);
|
|
138
126
|
};
|
|
139
127
|
|
|
140
|
-
|
|
141
128
|
/**
|
|
142
129
|
* @const
|
|
143
130
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -145,21 +132,20 @@ proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.createProjectRole =
|
|
|
145
132
|
* !proto.ondewo.nlu.ProjectRole>}
|
|
146
133
|
*/
|
|
147
134
|
const methodDescriptor_ProjectRoles_GetProjectRole = new grpc.web.MethodDescriptor(
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
135
|
+
'/ondewo.nlu.ProjectRoles/GetProjectRole',
|
|
136
|
+
grpc.web.MethodType.UNARY,
|
|
137
|
+
proto.ondewo.nlu.GetProjectRoleRequest,
|
|
138
|
+
proto.ondewo.nlu.ProjectRole,
|
|
139
|
+
/**
|
|
140
|
+
* @param {!proto.ondewo.nlu.GetProjectRoleRequest} request
|
|
141
|
+
* @return {!Uint8Array}
|
|
142
|
+
*/
|
|
143
|
+
function (request) {
|
|
144
|
+
return request.serializeBinary();
|
|
145
|
+
},
|
|
146
|
+
proto.ondewo.nlu.ProjectRole.deserializeBinary
|
|
160
147
|
);
|
|
161
148
|
|
|
162
|
-
|
|
163
149
|
/**
|
|
164
150
|
* @param {!proto.ondewo.nlu.GetProjectRoleRequest} request The
|
|
165
151
|
* request proto
|
|
@@ -170,17 +156,16 @@ const methodDescriptor_ProjectRoles_GetProjectRole = new grpc.web.MethodDescript
|
|
|
170
156
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ProjectRole>|undefined}
|
|
171
157
|
* The XHR Node Readable Stream
|
|
172
158
|
*/
|
|
173
|
-
proto.ondewo.nlu.ProjectRolesClient.prototype.getProjectRole =
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
159
|
+
proto.ondewo.nlu.ProjectRolesClient.prototype.getProjectRole = function (request, metadata, callback) {
|
|
160
|
+
return this.client_.rpcCall(
|
|
161
|
+
this.hostname_ + '/ondewo.nlu.ProjectRoles/GetProjectRole',
|
|
162
|
+
request,
|
|
163
|
+
metadata || {},
|
|
164
|
+
methodDescriptor_ProjectRoles_GetProjectRole,
|
|
165
|
+
callback
|
|
166
|
+
);
|
|
181
167
|
};
|
|
182
168
|
|
|
183
|
-
|
|
184
169
|
/**
|
|
185
170
|
* @param {!proto.ondewo.nlu.GetProjectRoleRequest} request The
|
|
186
171
|
* request proto
|
|
@@ -189,16 +174,15 @@ proto.ondewo.nlu.ProjectRolesClient.prototype.getProjectRole =
|
|
|
189
174
|
* @return {!Promise<!proto.ondewo.nlu.ProjectRole>}
|
|
190
175
|
* Promise that resolves to the response
|
|
191
176
|
*/
|
|
192
|
-
proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.getProjectRole =
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
177
|
+
proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.getProjectRole = function (request, metadata) {
|
|
178
|
+
return this.client_.unaryCall(
|
|
179
|
+
this.hostname_ + '/ondewo.nlu.ProjectRoles/GetProjectRole',
|
|
180
|
+
request,
|
|
181
|
+
metadata || {},
|
|
182
|
+
methodDescriptor_ProjectRoles_GetProjectRole
|
|
183
|
+
);
|
|
199
184
|
};
|
|
200
185
|
|
|
201
|
-
|
|
202
186
|
/**
|
|
203
187
|
* @const
|
|
204
188
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -206,21 +190,20 @@ proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.getProjectRole =
|
|
|
206
190
|
* !proto.google.protobuf.Empty>}
|
|
207
191
|
*/
|
|
208
192
|
const methodDescriptor_ProjectRoles_DeleteProjectRole = new grpc.web.MethodDescriptor(
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
193
|
+
'/ondewo.nlu.ProjectRoles/DeleteProjectRole',
|
|
194
|
+
grpc.web.MethodType.UNARY,
|
|
195
|
+
proto.ondewo.nlu.DeleteProjectRoleRequest,
|
|
196
|
+
google_protobuf_empty_pb.Empty,
|
|
197
|
+
/**
|
|
198
|
+
* @param {!proto.ondewo.nlu.DeleteProjectRoleRequest} request
|
|
199
|
+
* @return {!Uint8Array}
|
|
200
|
+
*/
|
|
201
|
+
function (request) {
|
|
202
|
+
return request.serializeBinary();
|
|
203
|
+
},
|
|
204
|
+
google_protobuf_empty_pb.Empty.deserializeBinary
|
|
221
205
|
);
|
|
222
206
|
|
|
223
|
-
|
|
224
207
|
/**
|
|
225
208
|
* @param {!proto.ondewo.nlu.DeleteProjectRoleRequest} request The
|
|
226
209
|
* request proto
|
|
@@ -231,17 +214,16 @@ const methodDescriptor_ProjectRoles_DeleteProjectRole = new grpc.web.MethodDescr
|
|
|
231
214
|
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
232
215
|
* The XHR Node Readable Stream
|
|
233
216
|
*/
|
|
234
|
-
proto.ondewo.nlu.ProjectRolesClient.prototype.deleteProjectRole =
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
217
|
+
proto.ondewo.nlu.ProjectRolesClient.prototype.deleteProjectRole = function (request, metadata, callback) {
|
|
218
|
+
return this.client_.rpcCall(
|
|
219
|
+
this.hostname_ + '/ondewo.nlu.ProjectRoles/DeleteProjectRole',
|
|
220
|
+
request,
|
|
221
|
+
metadata || {},
|
|
222
|
+
methodDescriptor_ProjectRoles_DeleteProjectRole,
|
|
223
|
+
callback
|
|
224
|
+
);
|
|
242
225
|
};
|
|
243
226
|
|
|
244
|
-
|
|
245
227
|
/**
|
|
246
228
|
* @param {!proto.ondewo.nlu.DeleteProjectRoleRequest} request The
|
|
247
229
|
* request proto
|
|
@@ -250,16 +232,15 @@ proto.ondewo.nlu.ProjectRolesClient.prototype.deleteProjectRole =
|
|
|
250
232
|
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
251
233
|
* Promise that resolves to the response
|
|
252
234
|
*/
|
|
253
|
-
proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.deleteProjectRole =
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
235
|
+
proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.deleteProjectRole = function (request, metadata) {
|
|
236
|
+
return this.client_.unaryCall(
|
|
237
|
+
this.hostname_ + '/ondewo.nlu.ProjectRoles/DeleteProjectRole',
|
|
238
|
+
request,
|
|
239
|
+
metadata || {},
|
|
240
|
+
methodDescriptor_ProjectRoles_DeleteProjectRole
|
|
241
|
+
);
|
|
260
242
|
};
|
|
261
243
|
|
|
262
|
-
|
|
263
244
|
/**
|
|
264
245
|
* @const
|
|
265
246
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -267,21 +248,20 @@ proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.deleteProjectRole =
|
|
|
267
248
|
* !proto.ondewo.nlu.ProjectRole>}
|
|
268
249
|
*/
|
|
269
250
|
const methodDescriptor_ProjectRoles_UpdateProjectRole = new grpc.web.MethodDescriptor(
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
251
|
+
'/ondewo.nlu.ProjectRoles/UpdateProjectRole',
|
|
252
|
+
grpc.web.MethodType.UNARY,
|
|
253
|
+
proto.ondewo.nlu.UpdateProjectRoleRequest,
|
|
254
|
+
proto.ondewo.nlu.ProjectRole,
|
|
255
|
+
/**
|
|
256
|
+
* @param {!proto.ondewo.nlu.UpdateProjectRoleRequest} request
|
|
257
|
+
* @return {!Uint8Array}
|
|
258
|
+
*/
|
|
259
|
+
function (request) {
|
|
260
|
+
return request.serializeBinary();
|
|
261
|
+
},
|
|
262
|
+
proto.ondewo.nlu.ProjectRole.deserializeBinary
|
|
282
263
|
);
|
|
283
264
|
|
|
284
|
-
|
|
285
265
|
/**
|
|
286
266
|
* @param {!proto.ondewo.nlu.UpdateProjectRoleRequest} request The
|
|
287
267
|
* request proto
|
|
@@ -292,17 +272,16 @@ const methodDescriptor_ProjectRoles_UpdateProjectRole = new grpc.web.MethodDescr
|
|
|
292
272
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ProjectRole>|undefined}
|
|
293
273
|
* The XHR Node Readable Stream
|
|
294
274
|
*/
|
|
295
|
-
proto.ondewo.nlu.ProjectRolesClient.prototype.updateProjectRole =
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
275
|
+
proto.ondewo.nlu.ProjectRolesClient.prototype.updateProjectRole = function (request, metadata, callback) {
|
|
276
|
+
return this.client_.rpcCall(
|
|
277
|
+
this.hostname_ + '/ondewo.nlu.ProjectRoles/UpdateProjectRole',
|
|
278
|
+
request,
|
|
279
|
+
metadata || {},
|
|
280
|
+
methodDescriptor_ProjectRoles_UpdateProjectRole,
|
|
281
|
+
callback
|
|
282
|
+
);
|
|
303
283
|
};
|
|
304
284
|
|
|
305
|
-
|
|
306
285
|
/**
|
|
307
286
|
* @param {!proto.ondewo.nlu.UpdateProjectRoleRequest} request The
|
|
308
287
|
* request proto
|
|
@@ -311,16 +290,15 @@ proto.ondewo.nlu.ProjectRolesClient.prototype.updateProjectRole =
|
|
|
311
290
|
* @return {!Promise<!proto.ondewo.nlu.ProjectRole>}
|
|
312
291
|
* Promise that resolves to the response
|
|
313
292
|
*/
|
|
314
|
-
proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.updateProjectRole =
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
293
|
+
proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.updateProjectRole = function (request, metadata) {
|
|
294
|
+
return this.client_.unaryCall(
|
|
295
|
+
this.hostname_ + '/ondewo.nlu.ProjectRoles/UpdateProjectRole',
|
|
296
|
+
request,
|
|
297
|
+
metadata || {},
|
|
298
|
+
methodDescriptor_ProjectRoles_UpdateProjectRole
|
|
299
|
+
);
|
|
321
300
|
};
|
|
322
301
|
|
|
323
|
-
|
|
324
302
|
/**
|
|
325
303
|
* @const
|
|
326
304
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -328,21 +306,20 @@ proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.updateProjectRole =
|
|
|
328
306
|
* !proto.ondewo.nlu.ListProjectRolesResponse>}
|
|
329
307
|
*/
|
|
330
308
|
const methodDescriptor_ProjectRoles_ListProjectRoles = new grpc.web.MethodDescriptor(
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
309
|
+
'/ondewo.nlu.ProjectRoles/ListProjectRoles',
|
|
310
|
+
grpc.web.MethodType.UNARY,
|
|
311
|
+
proto.ondewo.nlu.ListProjectRolesRequest,
|
|
312
|
+
proto.ondewo.nlu.ListProjectRolesResponse,
|
|
313
|
+
/**
|
|
314
|
+
* @param {!proto.ondewo.nlu.ListProjectRolesRequest} request
|
|
315
|
+
* @return {!Uint8Array}
|
|
316
|
+
*/
|
|
317
|
+
function (request) {
|
|
318
|
+
return request.serializeBinary();
|
|
319
|
+
},
|
|
320
|
+
proto.ondewo.nlu.ListProjectRolesResponse.deserializeBinary
|
|
343
321
|
);
|
|
344
322
|
|
|
345
|
-
|
|
346
323
|
/**
|
|
347
324
|
* @param {!proto.ondewo.nlu.ListProjectRolesRequest} request The
|
|
348
325
|
* request proto
|
|
@@ -353,17 +330,16 @@ const methodDescriptor_ProjectRoles_ListProjectRoles = new grpc.web.MethodDescri
|
|
|
353
330
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.ListProjectRolesResponse>|undefined}
|
|
354
331
|
* The XHR Node Readable Stream
|
|
355
332
|
*/
|
|
356
|
-
proto.ondewo.nlu.ProjectRolesClient.prototype.listProjectRoles =
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
333
|
+
proto.ondewo.nlu.ProjectRolesClient.prototype.listProjectRoles = function (request, metadata, callback) {
|
|
334
|
+
return this.client_.rpcCall(
|
|
335
|
+
this.hostname_ + '/ondewo.nlu.ProjectRoles/ListProjectRoles',
|
|
336
|
+
request,
|
|
337
|
+
metadata || {},
|
|
338
|
+
methodDescriptor_ProjectRoles_ListProjectRoles,
|
|
339
|
+
callback
|
|
340
|
+
);
|
|
364
341
|
};
|
|
365
342
|
|
|
366
|
-
|
|
367
343
|
/**
|
|
368
344
|
* @param {!proto.ondewo.nlu.ListProjectRolesRequest} request The
|
|
369
345
|
* request proto
|
|
@@ -372,15 +348,13 @@ proto.ondewo.nlu.ProjectRolesClient.prototype.listProjectRoles =
|
|
|
372
348
|
* @return {!Promise<!proto.ondewo.nlu.ListProjectRolesResponse>}
|
|
373
349
|
* Promise that resolves to the response
|
|
374
350
|
*/
|
|
375
|
-
proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.listProjectRoles =
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
351
|
+
proto.ondewo.nlu.ProjectRolesPromiseClient.prototype.listProjectRoles = function (request, metadata) {
|
|
352
|
+
return this.client_.unaryCall(
|
|
353
|
+
this.hostname_ + '/ondewo.nlu.ProjectRoles/ListProjectRoles',
|
|
354
|
+
request,
|
|
355
|
+
metadata || {},
|
|
356
|
+
methodDescriptor_ProjectRoles_ListProjectRoles
|
|
357
|
+
);
|
|
382
358
|
};
|
|
383
359
|
|
|
384
|
-
|
|
385
360
|
module.exports = proto.ondewo.nlu;
|
|
386
|
-
|