@ondewo/nlu-client-typescript 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +490 -450
- package/api/ondewo/nlu/agent_grpc_web_pb.js +1244 -1113
- package/api/ondewo/nlu/agent_pb.d.ts +1751 -1939
- package/api/ondewo/nlu/agent_pb.js +10484 -9063
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +280 -245
- package/api/ondewo/nlu/aiservices_pb.d.ts +674 -745
- package/api/ondewo/nlu/aiservices_pb.js +4403 -3638
- package/api/ondewo/nlu/common_pb.d.ts +17 -15
- package/api/ondewo/nlu/common_pb.js +93 -83
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +82 -76
- package/api/ondewo/nlu/context_grpc_web_pb.js +220 -191
- package/api/ondewo/nlu/context_pb.d.ts +151 -151
- package/api/ondewo/nlu/context_pb.js +1042 -889
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +154 -142
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +398 -351
- package/api/ondewo/nlu/entity_type_pb.d.ts +571 -614
- package/api/ondewo/nlu/entity_type_pb.js +3369 -2893
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +334 -310
- package/api/ondewo/nlu/intent_grpc_web_pb.js +851 -766
- package/api/ondewo/nlu/intent_pb.d.ts +1993 -2151
- package/api/ondewo/nlu/intent_pb.js +10692 -9502
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +88 -86
- package/api/ondewo/nlu/operation_metadata_pb.js +412 -321
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +50 -46
- package/api/ondewo/nlu/operations_grpc_web_pb.js +163 -140
- package/api/ondewo/nlu/operations_pb.d.ts +182 -189
- package/api/ondewo/nlu/operations_pb.js +1004 -843
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +70 -65
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +190 -164
- package/api/ondewo/nlu/project_role_pb.d.ts +151 -165
- package/api/ondewo/nlu/project_role_pb.js +963 -796
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +281 -246
- package/api/ondewo/nlu/project_statistics_pb.d.ts +63 -67
- package/api/ondewo/nlu/project_statistics_pb.js +418 -354
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +46 -43
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +130 -110
- package/api/ondewo/nlu/server_statistics_pb.d.ts +14 -15
- package/api/ondewo/nlu/server_statistics_pb.js +91 -81
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +334 -164
- package/api/ondewo/nlu/session_grpc_web_pb.js +1255 -409
- package/api/ondewo/nlu/session_pb.d.ts +1721 -1080
- package/api/ondewo/nlu/session_pb.js +13885 -6673
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +190 -172
- package/api/ondewo/nlu/user_grpc_web_pb.js +487 -431
- package/api/ondewo/nlu/user_pb.d.ts +325 -345
- package/api/ondewo/nlu/user_pb.js +2312 -1948
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/utility_grpc_web_pb.js +279 -244
- package/api/ondewo/nlu/utility_pb.d.ts +535 -588
- package/api/ondewo/nlu/utility_pb.js +3348 -2814
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +46 -43
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +132 -112
- package/api/ondewo/nlu/webhook_pb.d.ts +119 -123
- package/api/ondewo/nlu/webhook_pb.js +718 -599
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +94 -87
- package/api/ondewo/qa/qa_grpc_web_pb.js +250 -218
- package/api/ondewo/qa/qa_pb.d.ts +220 -235
- package/api/ondewo/qa/qa_pb.js +1452 -1222
- package/package.json +1 -1
- package/public-api.d.ts +30 -0
|
@@ -2,51 +2,54 @@ import * as grpcWeb from 'grpc-web';
|
|
|
2
2
|
|
|
3
3
|
import * as ondewo_nlu_webhook_pb from '../../ondewo/nlu/webhook_pb';
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
export class WebhookClient {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
7
|
+
constructor (hostname: string,
|
|
8
|
+
credentials?: null | { [index: string]: string; },
|
|
9
|
+
options?: null | { [index: string]: any; });
|
|
10
|
+
|
|
11
|
+
responseRefinement(
|
|
12
|
+
request: ondewo_nlu_webhook_pb.WebhookRequest,
|
|
13
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
14
|
+
callback: (err: grpcWeb.RpcError,
|
|
15
|
+
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,
|
|
22
|
+
response: ondewo_nlu_webhook_pb.WebhookResponse) => void
|
|
23
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_webhook_pb.WebhookResponse>;
|
|
24
|
+
|
|
25
|
+
ping(
|
|
26
|
+
request: ondewo_nlu_webhook_pb.PingRequest,
|
|
27
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
28
|
+
callback: (err: grpcWeb.RpcError,
|
|
29
|
+
response: ondewo_nlu_webhook_pb.PingResponse) => void
|
|
30
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_webhook_pb.PingResponse>;
|
|
31
|
+
|
|
29
32
|
}
|
|
30
33
|
|
|
31
34
|
export class WebhookPromiseClient {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
): Promise<ondewo_nlu_webhook_pb.PingResponse>;
|
|
35
|
+
constructor (hostname: string,
|
|
36
|
+
credentials?: null | { [index: string]: string; },
|
|
37
|
+
options?: null | { [index: string]: any; });
|
|
38
|
+
|
|
39
|
+
responseRefinement(
|
|
40
|
+
request: ondewo_nlu_webhook_pb.WebhookRequest,
|
|
41
|
+
metadata?: grpcWeb.Metadata
|
|
42
|
+
): Promise<ondewo_nlu_webhook_pb.WebhookResponse>;
|
|
43
|
+
|
|
44
|
+
slotFilling(
|
|
45
|
+
request: ondewo_nlu_webhook_pb.WebhookRequest,
|
|
46
|
+
metadata?: grpcWeb.Metadata
|
|
47
|
+
): Promise<ondewo_nlu_webhook_pb.WebhookResponse>;
|
|
48
|
+
|
|
49
|
+
ping(
|
|
50
|
+
request: ondewo_nlu_webhook_pb.PingRequest,
|
|
51
|
+
metadata?: grpcWeb.Metadata
|
|
52
|
+
): Promise<ondewo_nlu_webhook_pb.PingResponse>;
|
|
53
|
+
|
|
52
54
|
}
|
|
55
|
+
|
|
@@ -6,21 +6,25 @@
|
|
|
6
6
|
|
|
7
7
|
// GENERATED CODE -- DO NOT EDIT!
|
|
8
8
|
|
|
9
|
+
|
|
9
10
|
/* eslint-disable */
|
|
10
11
|
// @ts-nocheck
|
|
11
12
|
|
|
13
|
+
|
|
14
|
+
|
|
12
15
|
const grpc = {};
|
|
13
16
|
grpc.web = require('grpc-web');
|
|
14
17
|
|
|
15
|
-
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
16
18
|
|
|
17
|
-
var
|
|
19
|
+
var google_api_annotations_pb = require('../../google/api/annotations_pb.js')
|
|
18
20
|
|
|
19
|
-
var
|
|
21
|
+
var ondewo_nlu_context_pb = require('../../ondewo/nlu/context_pb.js')
|
|
20
22
|
|
|
21
|
-
var
|
|
23
|
+
var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js')
|
|
22
24
|
|
|
23
|
-
var
|
|
25
|
+
var ondewo_nlu_session_pb = require('../../ondewo/nlu/session_pb.js')
|
|
26
|
+
|
|
27
|
+
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
|
|
24
28
|
const proto = {};
|
|
25
29
|
proto.ondewo = {};
|
|
26
30
|
proto.ondewo.nlu = require('./webhook_pb.js');
|
|
@@ -33,21 +37,24 @@ proto.ondewo.nlu = require('./webhook_pb.js');
|
|
|
33
37
|
* @struct
|
|
34
38
|
* @final
|
|
35
39
|
*/
|
|
36
|
-
proto.ondewo.nlu.WebhookClient =
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
40
|
+
proto.ondewo.nlu.WebhookClient =
|
|
41
|
+
function(hostname, credentials, options) {
|
|
42
|
+
if (!options) options = {};
|
|
43
|
+
options.format = 'binary';
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
47
|
+
*/
|
|
48
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @private @const {string} The hostname
|
|
52
|
+
*/
|
|
53
|
+
this.hostname_ = hostname;
|
|
54
|
+
|
|
49
55
|
};
|
|
50
56
|
|
|
57
|
+
|
|
51
58
|
/**
|
|
52
59
|
* @param {string} hostname
|
|
53
60
|
* @param {?Object} credentials
|
|
@@ -56,21 +63,24 @@ proto.ondewo.nlu.WebhookClient = function (hostname, credentials, options) {
|
|
|
56
63
|
* @struct
|
|
57
64
|
* @final
|
|
58
65
|
*/
|
|
59
|
-
proto.ondewo.nlu.WebhookPromiseClient =
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
proto.ondewo.nlu.WebhookPromiseClient =
|
|
67
|
+
function(hostname, credentials, options) {
|
|
68
|
+
if (!options) options = {};
|
|
69
|
+
options.format = 'binary';
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
73
|
+
*/
|
|
74
|
+
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @private @const {string} The hostname
|
|
78
|
+
*/
|
|
79
|
+
this.hostname_ = hostname;
|
|
80
|
+
|
|
72
81
|
};
|
|
73
82
|
|
|
83
|
+
|
|
74
84
|
/**
|
|
75
85
|
* @const
|
|
76
86
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -78,20 +88,21 @@ proto.ondewo.nlu.WebhookPromiseClient = function (hostname, credentials, options
|
|
|
78
88
|
* !proto.ondewo.nlu.WebhookResponse>}
|
|
79
89
|
*/
|
|
80
90
|
const methodDescriptor_Webhook_ResponseRefinement = new grpc.web.MethodDescriptor(
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
'/ondewo.nlu.Webhook/ResponseRefinement',
|
|
92
|
+
grpc.web.MethodType.UNARY,
|
|
93
|
+
proto.ondewo.nlu.WebhookRequest,
|
|
94
|
+
proto.ondewo.nlu.WebhookResponse,
|
|
95
|
+
/**
|
|
96
|
+
* @param {!proto.ondewo.nlu.WebhookRequest} request
|
|
97
|
+
* @return {!Uint8Array}
|
|
98
|
+
*/
|
|
99
|
+
function(request) {
|
|
100
|
+
return request.serializeBinary();
|
|
101
|
+
},
|
|
102
|
+
proto.ondewo.nlu.WebhookResponse.deserializeBinary
|
|
93
103
|
);
|
|
94
104
|
|
|
105
|
+
|
|
95
106
|
/**
|
|
96
107
|
* @param {!proto.ondewo.nlu.WebhookRequest} request The
|
|
97
108
|
* request proto
|
|
@@ -102,16 +113,17 @@ const methodDescriptor_Webhook_ResponseRefinement = new grpc.web.MethodDescripto
|
|
|
102
113
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.WebhookResponse>|undefined}
|
|
103
114
|
* The XHR Node Readable Stream
|
|
104
115
|
*/
|
|
105
|
-
proto.ondewo.nlu.WebhookClient.prototype.responseRefinement =
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
116
|
+
proto.ondewo.nlu.WebhookClient.prototype.responseRefinement =
|
|
117
|
+
function(request, metadata, callback) {
|
|
118
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
119
|
+
'/ondewo.nlu.Webhook/ResponseRefinement',
|
|
120
|
+
request,
|
|
121
|
+
metadata || {},
|
|
122
|
+
methodDescriptor_Webhook_ResponseRefinement,
|
|
123
|
+
callback);
|
|
113
124
|
};
|
|
114
125
|
|
|
126
|
+
|
|
115
127
|
/**
|
|
116
128
|
* @param {!proto.ondewo.nlu.WebhookRequest} request The
|
|
117
129
|
* request proto
|
|
@@ -120,15 +132,16 @@ proto.ondewo.nlu.WebhookClient.prototype.responseRefinement = function (request,
|
|
|
120
132
|
* @return {!Promise<!proto.ondewo.nlu.WebhookResponse>}
|
|
121
133
|
* Promise that resolves to the response
|
|
122
134
|
*/
|
|
123
|
-
proto.ondewo.nlu.WebhookPromiseClient.prototype.responseRefinement =
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
135
|
+
proto.ondewo.nlu.WebhookPromiseClient.prototype.responseRefinement =
|
|
136
|
+
function(request, metadata) {
|
|
137
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
138
|
+
'/ondewo.nlu.Webhook/ResponseRefinement',
|
|
139
|
+
request,
|
|
140
|
+
metadata || {},
|
|
141
|
+
methodDescriptor_Webhook_ResponseRefinement);
|
|
130
142
|
};
|
|
131
143
|
|
|
144
|
+
|
|
132
145
|
/**
|
|
133
146
|
* @const
|
|
134
147
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -136,20 +149,21 @@ proto.ondewo.nlu.WebhookPromiseClient.prototype.responseRefinement = function (r
|
|
|
136
149
|
* !proto.ondewo.nlu.WebhookResponse>}
|
|
137
150
|
*/
|
|
138
151
|
const methodDescriptor_Webhook_SlotFilling = new grpc.web.MethodDescriptor(
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
152
|
+
'/ondewo.nlu.Webhook/SlotFilling',
|
|
153
|
+
grpc.web.MethodType.UNARY,
|
|
154
|
+
proto.ondewo.nlu.WebhookRequest,
|
|
155
|
+
proto.ondewo.nlu.WebhookResponse,
|
|
156
|
+
/**
|
|
157
|
+
* @param {!proto.ondewo.nlu.WebhookRequest} request
|
|
158
|
+
* @return {!Uint8Array}
|
|
159
|
+
*/
|
|
160
|
+
function(request) {
|
|
161
|
+
return request.serializeBinary();
|
|
162
|
+
},
|
|
163
|
+
proto.ondewo.nlu.WebhookResponse.deserializeBinary
|
|
151
164
|
);
|
|
152
165
|
|
|
166
|
+
|
|
153
167
|
/**
|
|
154
168
|
* @param {!proto.ondewo.nlu.WebhookRequest} request The
|
|
155
169
|
* request proto
|
|
@@ -160,16 +174,17 @@ const methodDescriptor_Webhook_SlotFilling = new grpc.web.MethodDescriptor(
|
|
|
160
174
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.WebhookResponse>|undefined}
|
|
161
175
|
* The XHR Node Readable Stream
|
|
162
176
|
*/
|
|
163
|
-
proto.ondewo.nlu.WebhookClient.prototype.slotFilling =
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
177
|
+
proto.ondewo.nlu.WebhookClient.prototype.slotFilling =
|
|
178
|
+
function(request, metadata, callback) {
|
|
179
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
180
|
+
'/ondewo.nlu.Webhook/SlotFilling',
|
|
181
|
+
request,
|
|
182
|
+
metadata || {},
|
|
183
|
+
methodDescriptor_Webhook_SlotFilling,
|
|
184
|
+
callback);
|
|
171
185
|
};
|
|
172
186
|
|
|
187
|
+
|
|
173
188
|
/**
|
|
174
189
|
* @param {!proto.ondewo.nlu.WebhookRequest} request The
|
|
175
190
|
* request proto
|
|
@@ -178,15 +193,16 @@ proto.ondewo.nlu.WebhookClient.prototype.slotFilling = function (request, metada
|
|
|
178
193
|
* @return {!Promise<!proto.ondewo.nlu.WebhookResponse>}
|
|
179
194
|
* Promise that resolves to the response
|
|
180
195
|
*/
|
|
181
|
-
proto.ondewo.nlu.WebhookPromiseClient.prototype.slotFilling =
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
196
|
+
proto.ondewo.nlu.WebhookPromiseClient.prototype.slotFilling =
|
|
197
|
+
function(request, metadata) {
|
|
198
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
199
|
+
'/ondewo.nlu.Webhook/SlotFilling',
|
|
200
|
+
request,
|
|
201
|
+
metadata || {},
|
|
202
|
+
methodDescriptor_Webhook_SlotFilling);
|
|
188
203
|
};
|
|
189
204
|
|
|
205
|
+
|
|
190
206
|
/**
|
|
191
207
|
* @const
|
|
192
208
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -194,20 +210,21 @@ proto.ondewo.nlu.WebhookPromiseClient.prototype.slotFilling = function (request,
|
|
|
194
210
|
* !proto.ondewo.nlu.PingResponse>}
|
|
195
211
|
*/
|
|
196
212
|
const methodDescriptor_Webhook_Ping = new grpc.web.MethodDescriptor(
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
213
|
+
'/ondewo.nlu.Webhook/Ping',
|
|
214
|
+
grpc.web.MethodType.UNARY,
|
|
215
|
+
proto.ondewo.nlu.PingRequest,
|
|
216
|
+
proto.ondewo.nlu.PingResponse,
|
|
217
|
+
/**
|
|
218
|
+
* @param {!proto.ondewo.nlu.PingRequest} request
|
|
219
|
+
* @return {!Uint8Array}
|
|
220
|
+
*/
|
|
221
|
+
function(request) {
|
|
222
|
+
return request.serializeBinary();
|
|
223
|
+
},
|
|
224
|
+
proto.ondewo.nlu.PingResponse.deserializeBinary
|
|
209
225
|
);
|
|
210
226
|
|
|
227
|
+
|
|
211
228
|
/**
|
|
212
229
|
* @param {!proto.ondewo.nlu.PingRequest} request The
|
|
213
230
|
* request proto
|
|
@@ -218,16 +235,17 @@ const methodDescriptor_Webhook_Ping = new grpc.web.MethodDescriptor(
|
|
|
218
235
|
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.PingResponse>|undefined}
|
|
219
236
|
* The XHR Node Readable Stream
|
|
220
237
|
*/
|
|
221
|
-
proto.ondewo.nlu.WebhookClient.prototype.ping =
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
238
|
+
proto.ondewo.nlu.WebhookClient.prototype.ping =
|
|
239
|
+
function(request, metadata, callback) {
|
|
240
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
241
|
+
'/ondewo.nlu.Webhook/Ping',
|
|
242
|
+
request,
|
|
243
|
+
metadata || {},
|
|
244
|
+
methodDescriptor_Webhook_Ping,
|
|
245
|
+
callback);
|
|
229
246
|
};
|
|
230
247
|
|
|
248
|
+
|
|
231
249
|
/**
|
|
232
250
|
* @param {!proto.ondewo.nlu.PingRequest} request The
|
|
233
251
|
* request proto
|
|
@@ -236,13 +254,15 @@ proto.ondewo.nlu.WebhookClient.prototype.ping = function (request, metadata, cal
|
|
|
236
254
|
* @return {!Promise<!proto.ondewo.nlu.PingResponse>}
|
|
237
255
|
* Promise that resolves to the response
|
|
238
256
|
*/
|
|
239
|
-
proto.ondewo.nlu.WebhookPromiseClient.prototype.ping =
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
257
|
+
proto.ondewo.nlu.WebhookPromiseClient.prototype.ping =
|
|
258
|
+
function(request, metadata) {
|
|
259
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
260
|
+
'/ondewo.nlu.Webhook/Ping',
|
|
261
|
+
request,
|
|
262
|
+
metadata || {},
|
|
263
|
+
methodDescriptor_Webhook_Ping);
|
|
246
264
|
};
|
|
247
265
|
|
|
266
|
+
|
|
248
267
|
module.exports = proto.ondewo.nlu;
|
|
268
|
+
|