@ondewo/nlu-client-typescript 3.5.2 → 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 -478
- package/api/ondewo/nlu/agent_grpc_web_pb.js +1143 -1213
- package/api/ondewo/nlu/agent_pb.d.ts +1965 -1672
- package/api/ondewo/nlu/agent_pb.js +9401 -10036
- 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 +746 -671
- package/api/ondewo/nlu/aiservices_pb.js +3648 -4383
- 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 +892 -1045
- 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 -460
- package/api/ondewo/nlu/session_pb.d.ts +1132 -867
- package/api/ondewo/nlu/session_pb.js +5960 -5662
- 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
|
@@ -2,54 +2,51 @@ import * as grpcWeb from 'grpc-web';
|
|
|
2
2
|
|
|
3
3
|
import * as ondewo_nlu_webhook_pb from '../../ondewo/nlu/webhook_pb';
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
export class WebhookClient {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
): grpcWeb.ClientReadableStream<ondewo_nlu_webhook_pb.PingResponse>;
|
|
31
|
-
|
|
6
|
+
constructor(
|
|
7
|
+
hostname: string,
|
|
8
|
+
credentials?: null | { [index: string]: string },
|
|
9
|
+
options?: null | { [index: string]: any }
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
responseRefinement(
|
|
13
|
+
request: ondewo_nlu_webhook_pb.WebhookRequest,
|
|
14
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
15
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_webhook_pb.WebhookResponse) => void
|
|
16
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_webhook_pb.WebhookResponse>;
|
|
17
|
+
|
|
18
|
+
slotFilling(
|
|
19
|
+
request: ondewo_nlu_webhook_pb.WebhookRequest,
|
|
20
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
21
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_webhook_pb.WebhookResponse) => void
|
|
22
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_webhook_pb.WebhookResponse>;
|
|
23
|
+
|
|
24
|
+
ping(
|
|
25
|
+
request: ondewo_nlu_webhook_pb.PingRequest,
|
|
26
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
27
|
+
callback: (err: grpcWeb.RpcError, response: ondewo_nlu_webhook_pb.PingResponse) => void
|
|
28
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_webhook_pb.PingResponse>;
|
|
32
29
|
}
|
|
33
30
|
|
|
34
31
|
export class WebhookPromiseClient {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
32
|
+
constructor(
|
|
33
|
+
hostname: string,
|
|
34
|
+
credentials?: null | { [index: string]: string },
|
|
35
|
+
options?: null | { [index: string]: any }
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
responseRefinement(
|
|
39
|
+
request: ondewo_nlu_webhook_pb.WebhookRequest,
|
|
40
|
+
metadata?: grpcWeb.Metadata
|
|
41
|
+
): Promise<ondewo_nlu_webhook_pb.WebhookResponse>;
|
|
42
|
+
|
|
43
|
+
slotFilling(
|
|
44
|
+
request: ondewo_nlu_webhook_pb.WebhookRequest,
|
|
45
|
+
metadata?: grpcWeb.Metadata
|
|
46
|
+
): Promise<ondewo_nlu_webhook_pb.WebhookResponse>;
|
|
47
|
+
|
|
48
|
+
ping(
|
|
49
|
+
request: ondewo_nlu_webhook_pb.PingRequest,
|
|
50
|
+
metadata?: grpcWeb.Metadata
|
|
51
|
+
): Promise<ondewo_nlu_webhook_pb.PingResponse>;
|
|
54
52
|
}
|
|
55
|
-
|
|
@@ -6,25 +6,21 @@
|
|
|
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
|
|
17
|
+
var ondewo_nlu_context_pb = require('../../ondewo/nlu/context_pb.js');
|
|
20
18
|
|
|
21
|
-
var
|
|
19
|
+
var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js');
|
|
22
20
|
|
|
23
|
-
var
|
|
21
|
+
var ondewo_nlu_session_pb = require('../../ondewo/nlu/session_pb.js');
|
|
24
22
|
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
|
|
23
|
+
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
28
24
|
const proto = {};
|
|
29
25
|
proto.ondewo = {};
|
|
30
26
|
proto.ondewo.nlu = require('./webhook_pb.js');
|
|
@@ -37,24 +33,21 @@ proto.ondewo.nlu = require('./webhook_pb.js');
|
|
|
37
33
|
* @struct
|
|
38
34
|
* @final
|
|
39
35
|
*/
|
|
40
|
-
proto.ondewo.nlu.WebhookClient =
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
this.hostname_ = hostname;
|
|
54
|
-
|
|
36
|
+
proto.ondewo.nlu.WebhookClient = function (hostname, credentials, options) {
|
|
37
|
+
if (!options) options = {};
|
|
38
|
+
options.format = 'binary';
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
42
|
+
*/
|
|
43
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @private @const {string} The hostname
|
|
47
|
+
*/
|
|
48
|
+
this.hostname_ = hostname;
|
|
55
49
|
};
|
|
56
50
|
|
|
57
|
-
|
|
58
51
|
/**
|
|
59
52
|
* @param {string} hostname
|
|
60
53
|
* @param {?Object} credentials
|
|
@@ -63,24 +56,21 @@ proto.ondewo.nlu.WebhookClient =
|
|
|
63
56
|
* @struct
|
|
64
57
|
* @final
|
|
65
58
|
*/
|
|
66
|
-
proto.ondewo.nlu.WebhookPromiseClient =
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
this.hostname_ = hostname;
|
|
80
|
-
|
|
59
|
+
proto.ondewo.nlu.WebhookPromiseClient = function (hostname, credentials, options) {
|
|
60
|
+
if (!options) options = {};
|
|
61
|
+
options.format = 'binary';
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
65
|
+
*/
|
|
66
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @private @const {string} The hostname
|
|
70
|
+
*/
|
|
71
|
+
this.hostname_ = hostname;
|
|
81
72
|
};
|
|
82
73
|
|
|
83
|
-
|
|
84
74
|
/**
|
|
85
75
|
* @const
|
|
86
76
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -88,21 +78,20 @@ proto.ondewo.nlu.WebhookPromiseClient =
|
|
|
88
78
|
* !proto.ondewo.nlu.WebhookResponse>}
|
|
89
79
|
*/
|
|
90
80
|
const methodDescriptor_Webhook_ResponseRefinement = new grpc.web.MethodDescriptor(
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
81
|
+
'/ondewo.nlu.Webhook/ResponseRefinement',
|
|
82
|
+
grpc.web.MethodType.UNARY,
|
|
83
|
+
proto.ondewo.nlu.WebhookRequest,
|
|
84
|
+
proto.ondewo.nlu.WebhookResponse,
|
|
85
|
+
/**
|
|
86
|
+
* @param {!proto.ondewo.nlu.WebhookRequest} request
|
|
87
|
+
* @return {!Uint8Array}
|
|
88
|
+
*/
|
|
89
|
+
function (request) {
|
|
90
|
+
return request.serializeBinary();
|
|
91
|
+
},
|
|
92
|
+
proto.ondewo.nlu.WebhookResponse.deserializeBinary
|
|
103
93
|
);
|
|
104
94
|
|
|
105
|
-
|
|
106
95
|
/**
|
|
107
96
|
* @param {!proto.ondewo.nlu.WebhookRequest} request The
|
|
108
97
|
* request proto
|
|
@@ -113,17 +102,16 @@ const methodDescriptor_Webhook_ResponseRefinement = new grpc.web.MethodDescripto
|
|
|
113
102
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.WebhookResponse>|undefined}
|
|
114
103
|
* The XHR Node Readable Stream
|
|
115
104
|
*/
|
|
116
|
-
proto.ondewo.nlu.WebhookClient.prototype.responseRefinement =
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
105
|
+
proto.ondewo.nlu.WebhookClient.prototype.responseRefinement = function (request, metadata, callback) {
|
|
106
|
+
return this.client_.rpcCall(
|
|
107
|
+
this.hostname_ + '/ondewo.nlu.Webhook/ResponseRefinement',
|
|
108
|
+
request,
|
|
109
|
+
metadata || {},
|
|
110
|
+
methodDescriptor_Webhook_ResponseRefinement,
|
|
111
|
+
callback
|
|
112
|
+
);
|
|
124
113
|
};
|
|
125
114
|
|
|
126
|
-
|
|
127
115
|
/**
|
|
128
116
|
* @param {!proto.ondewo.nlu.WebhookRequest} request The
|
|
129
117
|
* request proto
|
|
@@ -132,16 +120,15 @@ proto.ondewo.nlu.WebhookClient.prototype.responseRefinement =
|
|
|
132
120
|
* @return {!Promise<!proto.ondewo.nlu.WebhookResponse>}
|
|
133
121
|
* Promise that resolves to the response
|
|
134
122
|
*/
|
|
135
|
-
proto.ondewo.nlu.WebhookPromiseClient.prototype.responseRefinement =
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
123
|
+
proto.ondewo.nlu.WebhookPromiseClient.prototype.responseRefinement = function (request, metadata) {
|
|
124
|
+
return this.client_.unaryCall(
|
|
125
|
+
this.hostname_ + '/ondewo.nlu.Webhook/ResponseRefinement',
|
|
126
|
+
request,
|
|
127
|
+
metadata || {},
|
|
128
|
+
methodDescriptor_Webhook_ResponseRefinement
|
|
129
|
+
);
|
|
142
130
|
};
|
|
143
131
|
|
|
144
|
-
|
|
145
132
|
/**
|
|
146
133
|
* @const
|
|
147
134
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -149,21 +136,20 @@ proto.ondewo.nlu.WebhookPromiseClient.prototype.responseRefinement =
|
|
|
149
136
|
* !proto.ondewo.nlu.WebhookResponse>}
|
|
150
137
|
*/
|
|
151
138
|
const methodDescriptor_Webhook_SlotFilling = new grpc.web.MethodDescriptor(
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
139
|
+
'/ondewo.nlu.Webhook/SlotFilling',
|
|
140
|
+
grpc.web.MethodType.UNARY,
|
|
141
|
+
proto.ondewo.nlu.WebhookRequest,
|
|
142
|
+
proto.ondewo.nlu.WebhookResponse,
|
|
143
|
+
/**
|
|
144
|
+
* @param {!proto.ondewo.nlu.WebhookRequest} request
|
|
145
|
+
* @return {!Uint8Array}
|
|
146
|
+
*/
|
|
147
|
+
function (request) {
|
|
148
|
+
return request.serializeBinary();
|
|
149
|
+
},
|
|
150
|
+
proto.ondewo.nlu.WebhookResponse.deserializeBinary
|
|
164
151
|
);
|
|
165
152
|
|
|
166
|
-
|
|
167
153
|
/**
|
|
168
154
|
* @param {!proto.ondewo.nlu.WebhookRequest} request The
|
|
169
155
|
* request proto
|
|
@@ -174,17 +160,16 @@ const methodDescriptor_Webhook_SlotFilling = new grpc.web.MethodDescriptor(
|
|
|
174
160
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.WebhookResponse>|undefined}
|
|
175
161
|
* The XHR Node Readable Stream
|
|
176
162
|
*/
|
|
177
|
-
proto.ondewo.nlu.WebhookClient.prototype.slotFilling =
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
163
|
+
proto.ondewo.nlu.WebhookClient.prototype.slotFilling = function (request, metadata, callback) {
|
|
164
|
+
return this.client_.rpcCall(
|
|
165
|
+
this.hostname_ + '/ondewo.nlu.Webhook/SlotFilling',
|
|
166
|
+
request,
|
|
167
|
+
metadata || {},
|
|
168
|
+
methodDescriptor_Webhook_SlotFilling,
|
|
169
|
+
callback
|
|
170
|
+
);
|
|
185
171
|
};
|
|
186
172
|
|
|
187
|
-
|
|
188
173
|
/**
|
|
189
174
|
* @param {!proto.ondewo.nlu.WebhookRequest} request The
|
|
190
175
|
* request proto
|
|
@@ -193,16 +178,15 @@ proto.ondewo.nlu.WebhookClient.prototype.slotFilling =
|
|
|
193
178
|
* @return {!Promise<!proto.ondewo.nlu.WebhookResponse>}
|
|
194
179
|
* Promise that resolves to the response
|
|
195
180
|
*/
|
|
196
|
-
proto.ondewo.nlu.WebhookPromiseClient.prototype.slotFilling =
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
181
|
+
proto.ondewo.nlu.WebhookPromiseClient.prototype.slotFilling = function (request, metadata) {
|
|
182
|
+
return this.client_.unaryCall(
|
|
183
|
+
this.hostname_ + '/ondewo.nlu.Webhook/SlotFilling',
|
|
184
|
+
request,
|
|
185
|
+
metadata || {},
|
|
186
|
+
methodDescriptor_Webhook_SlotFilling
|
|
187
|
+
);
|
|
203
188
|
};
|
|
204
189
|
|
|
205
|
-
|
|
206
190
|
/**
|
|
207
191
|
* @const
|
|
208
192
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -210,21 +194,20 @@ proto.ondewo.nlu.WebhookPromiseClient.prototype.slotFilling =
|
|
|
210
194
|
* !proto.ondewo.nlu.PingResponse>}
|
|
211
195
|
*/
|
|
212
196
|
const methodDescriptor_Webhook_Ping = new grpc.web.MethodDescriptor(
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
197
|
+
'/ondewo.nlu.Webhook/Ping',
|
|
198
|
+
grpc.web.MethodType.UNARY,
|
|
199
|
+
proto.ondewo.nlu.PingRequest,
|
|
200
|
+
proto.ondewo.nlu.PingResponse,
|
|
201
|
+
/**
|
|
202
|
+
* @param {!proto.ondewo.nlu.PingRequest} request
|
|
203
|
+
* @return {!Uint8Array}
|
|
204
|
+
*/
|
|
205
|
+
function (request) {
|
|
206
|
+
return request.serializeBinary();
|
|
207
|
+
},
|
|
208
|
+
proto.ondewo.nlu.PingResponse.deserializeBinary
|
|
225
209
|
);
|
|
226
210
|
|
|
227
|
-
|
|
228
211
|
/**
|
|
229
212
|
* @param {!proto.ondewo.nlu.PingRequest} request The
|
|
230
213
|
* request proto
|
|
@@ -235,17 +218,16 @@ const methodDescriptor_Webhook_Ping = new grpc.web.MethodDescriptor(
|
|
|
235
218
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.PingResponse>|undefined}
|
|
236
219
|
* The XHR Node Readable Stream
|
|
237
220
|
*/
|
|
238
|
-
proto.ondewo.nlu.WebhookClient.prototype.ping =
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
221
|
+
proto.ondewo.nlu.WebhookClient.prototype.ping = function (request, metadata, callback) {
|
|
222
|
+
return this.client_.rpcCall(
|
|
223
|
+
this.hostname_ + '/ondewo.nlu.Webhook/Ping',
|
|
224
|
+
request,
|
|
225
|
+
metadata || {},
|
|
226
|
+
methodDescriptor_Webhook_Ping,
|
|
227
|
+
callback
|
|
228
|
+
);
|
|
246
229
|
};
|
|
247
230
|
|
|
248
|
-
|
|
249
231
|
/**
|
|
250
232
|
* @param {!proto.ondewo.nlu.PingRequest} request The
|
|
251
233
|
* request proto
|
|
@@ -254,15 +236,13 @@ proto.ondewo.nlu.WebhookClient.prototype.ping =
|
|
|
254
236
|
* @return {!Promise<!proto.ondewo.nlu.PingResponse>}
|
|
255
237
|
* Promise that resolves to the response
|
|
256
238
|
*/
|
|
257
|
-
proto.ondewo.nlu.WebhookPromiseClient.prototype.ping =
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
239
|
+
proto.ondewo.nlu.WebhookPromiseClient.prototype.ping = function (request, metadata) {
|
|
240
|
+
return this.client_.unaryCall(
|
|
241
|
+
this.hostname_ + '/ondewo.nlu.Webhook/Ping',
|
|
242
|
+
request,
|
|
243
|
+
metadata || {},
|
|
244
|
+
methodDescriptor_Webhook_Ping
|
|
245
|
+
);
|
|
264
246
|
};
|
|
265
247
|
|
|
266
|
-
|
|
267
248
|
module.exports = proto.ondewo.nlu;
|
|
268
|
-
|