@ondewo/nlu-client-typescript 3.0.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.
Files changed (80) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +27 -0
  3. package/api/google/api/annotations_pb.d.ts +6 -0
  4. package/api/google/api/annotations_pb.js +48 -0
  5. package/api/google/protobuf/any_pb.d.ts +28 -0
  6. package/api/google/protobuf/any_pb.js +275 -0
  7. package/api/google/protobuf/empty_pb.d.ts +18 -0
  8. package/api/google/protobuf/empty_pb.js +141 -0
  9. package/api/google/protobuf/field_mask_pb.d.ts +24 -0
  10. package/api/google/protobuf/field_mask_pb.js +196 -0
  11. package/api/google/protobuf/struct_pb.d.ts +99 -0
  12. package/api/google/protobuf/struct_pb.js +948 -0
  13. package/api/google/protobuf/timestamp_pb.d.ts +26 -0
  14. package/api/google/protobuf/timestamp_pb.js +236 -0
  15. package/api/google/rpc/status_pb.d.ts +33 -0
  16. package/api/google/rpc/status_pb.js +262 -0
  17. package/api/google/type/latlng_pb.d.ts +26 -0
  18. package/api/google/type/latlng_pb.js +200 -0
  19. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +489 -0
  20. package/api/ondewo/nlu/agent_grpc_web_pb.js +2476 -0
  21. package/api/ondewo/nlu/agent_pb.d.ts +2079 -0
  22. package/api/ondewo/nlu/agent_pb.js +16648 -0
  23. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +115 -0
  24. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +569 -0
  25. package/api/ondewo/nlu/aiservices_pb.d.ts +933 -0
  26. package/api/ondewo/nlu/aiservices_pb.js +7601 -0
  27. package/api/ondewo/nlu/common_pb.d.ts +26 -0
  28. package/api/ondewo/nlu/common_pb.js +179 -0
  29. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +92 -0
  30. package/api/ondewo/nlu/context_grpc_web_pb.js +447 -0
  31. package/api/ondewo/nlu/context_pb.d.ts +218 -0
  32. package/api/ondewo/nlu/context_pb.js +1788 -0
  33. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +165 -0
  34. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +817 -0
  35. package/api/ondewo/nlu/entity_type_pb.d.ts +756 -0
  36. package/api/ondewo/nlu/entity_type_pb.js +5970 -0
  37. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +345 -0
  38. package/api/ondewo/nlu/intent_grpc_web_pb.js +1738 -0
  39. package/api/ondewo/nlu/intent_pb.d.ts +2344 -0
  40. package/api/ondewo/nlu/intent_pb.js +18784 -0
  41. package/api/ondewo/nlu/operation_metadata_pb.d.ts +112 -0
  42. package/api/ondewo/nlu/operation_metadata_pb.js +740 -0
  43. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +68 -0
  44. package/api/ondewo/nlu/operations_grpc_web_pb.js +331 -0
  45. package/api/ondewo/nlu/operations_pb.d.ts +236 -0
  46. package/api/ondewo/nlu/operations_pb.js +1826 -0
  47. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +80 -0
  48. package/api/ondewo/nlu/project_role_grpc_web_pb.js +386 -0
  49. package/api/ondewo/nlu/project_role_pb.d.ts +220 -0
  50. package/api/ondewo/nlu/project_role_pb.js +1713 -0
  51. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +116 -0
  52. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +571 -0
  53. package/api/ondewo/nlu/project_statistics_pb.d.ts +92 -0
  54. package/api/ondewo/nlu/project_statistics_pb.js +724 -0
  55. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +57 -0
  56. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +264 -0
  57. package/api/ondewo/nlu/server_statistics_pb.d.ts +25 -0
  58. package/api/ondewo/nlu/server_statistics_pb.js +176 -0
  59. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +176 -0
  60. package/api/ondewo/nlu/session_grpc_web_pb.js +884 -0
  61. package/api/ondewo/nlu/session_pb.d.ts +1192 -0
  62. package/api/ondewo/nlu/session_pb.js +9762 -0
  63. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +200 -0
  64. package/api/ondewo/nlu/user_grpc_web_pb.js +998 -0
  65. package/api/ondewo/nlu/user_pb.d.ts +489 -0
  66. package/api/ondewo/nlu/user_pb.js +4057 -0
  67. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +115 -0
  68. package/api/ondewo/nlu/utility_grpc_web_pb.js +567 -0
  69. package/api/ondewo/nlu/utility_pb.d.ts +708 -0
  70. package/api/ondewo/nlu/utility_pb.js +5914 -0
  71. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +55 -0
  72. package/api/ondewo/nlu/webhook_grpc_web_pb.js +268 -0
  73. package/api/ondewo/nlu/webhook_pb.d.ts +155 -0
  74. package/api/ondewo/nlu/webhook_pb.js +1267 -0
  75. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +104 -0
  76. package/api/ondewo/qa/qa_grpc_web_pb.js +508 -0
  77. package/api/ondewo/qa/qa_pb.d.ts +304 -0
  78. package/api/ondewo/qa/qa_pb.js +2553 -0
  79. package/package.json +18 -0
  80. package/public-api.d.ts +38 -0
@@ -0,0 +1,55 @@
1
+ import * as grpcWeb from 'grpc-web';
2
+
3
+ import * as ondewo_nlu_webhook_pb from '../../ondewo/nlu/webhook_pb';
4
+
5
+
6
+ export class WebhookClient {
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
+
32
+ }
33
+
34
+ export class WebhookPromiseClient {
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
+
54
+ }
55
+
@@ -0,0 +1,268 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for ondewo.nlu
3
+ * @enhanceable
4
+ * @public
5
+ */
6
+
7
+ // GENERATED CODE -- DO NOT EDIT!
8
+
9
+
10
+ /* eslint-disable */
11
+ // @ts-nocheck
12
+
13
+
14
+
15
+ const grpc = {};
16
+ grpc.web = require('grpc-web');
17
+
18
+
19
+ var google_api_annotations_pb = require('../../google/api/annotations_pb.js')
20
+
21
+ var ondewo_nlu_context_pb = require('../../ondewo/nlu/context_pb.js')
22
+
23
+ var ondewo_nlu_intent_pb = require('../../ondewo/nlu/intent_pb.js')
24
+
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')
28
+ const proto = {};
29
+ proto.ondewo = {};
30
+ proto.ondewo.nlu = require('./webhook_pb.js');
31
+
32
+ /**
33
+ * @param {string} hostname
34
+ * @param {?Object} credentials
35
+ * @param {?grpc.web.ClientOptions} options
36
+ * @constructor
37
+ * @struct
38
+ * @final
39
+ */
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
+
55
+ };
56
+
57
+
58
+ /**
59
+ * @param {string} hostname
60
+ * @param {?Object} credentials
61
+ * @param {?grpc.web.ClientOptions} options
62
+ * @constructor
63
+ * @struct
64
+ * @final
65
+ */
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
+
81
+ };
82
+
83
+
84
+ /**
85
+ * @const
86
+ * @type {!grpc.web.MethodDescriptor<
87
+ * !proto.ondewo.nlu.WebhookRequest,
88
+ * !proto.ondewo.nlu.WebhookResponse>}
89
+ */
90
+ const methodDescriptor_Webhook_ResponseRefinement = new grpc.web.MethodDescriptor(
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
103
+ );
104
+
105
+
106
+ /**
107
+ * @param {!proto.ondewo.nlu.WebhookRequest} request The
108
+ * request proto
109
+ * @param {?Object<string, string>} metadata User defined
110
+ * call metadata
111
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.WebhookResponse)}
112
+ * callback The callback function(error, response)
113
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.WebhookResponse>|undefined}
114
+ * The XHR Node Readable Stream
115
+ */
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);
124
+ };
125
+
126
+
127
+ /**
128
+ * @param {!proto.ondewo.nlu.WebhookRequest} request The
129
+ * request proto
130
+ * @param {?Object<string, string>=} metadata User defined
131
+ * call metadata
132
+ * @return {!Promise<!proto.ondewo.nlu.WebhookResponse>}
133
+ * Promise that resolves to the response
134
+ */
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);
142
+ };
143
+
144
+
145
+ /**
146
+ * @const
147
+ * @type {!grpc.web.MethodDescriptor<
148
+ * !proto.ondewo.nlu.WebhookRequest,
149
+ * !proto.ondewo.nlu.WebhookResponse>}
150
+ */
151
+ const methodDescriptor_Webhook_SlotFilling = new grpc.web.MethodDescriptor(
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
164
+ );
165
+
166
+
167
+ /**
168
+ * @param {!proto.ondewo.nlu.WebhookRequest} request The
169
+ * request proto
170
+ * @param {?Object<string, string>} metadata User defined
171
+ * call metadata
172
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.WebhookResponse)}
173
+ * callback The callback function(error, response)
174
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.WebhookResponse>|undefined}
175
+ * The XHR Node Readable Stream
176
+ */
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);
185
+ };
186
+
187
+
188
+ /**
189
+ * @param {!proto.ondewo.nlu.WebhookRequest} request The
190
+ * request proto
191
+ * @param {?Object<string, string>=} metadata User defined
192
+ * call metadata
193
+ * @return {!Promise<!proto.ondewo.nlu.WebhookResponse>}
194
+ * Promise that resolves to the response
195
+ */
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);
203
+ };
204
+
205
+
206
+ /**
207
+ * @const
208
+ * @type {!grpc.web.MethodDescriptor<
209
+ * !proto.ondewo.nlu.PingRequest,
210
+ * !proto.ondewo.nlu.PingResponse>}
211
+ */
212
+ const methodDescriptor_Webhook_Ping = new grpc.web.MethodDescriptor(
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
225
+ );
226
+
227
+
228
+ /**
229
+ * @param {!proto.ondewo.nlu.PingRequest} request The
230
+ * request proto
231
+ * @param {?Object<string, string>} metadata User defined
232
+ * call metadata
233
+ * @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.PingResponse)}
234
+ * callback The callback function(error, response)
235
+ * @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.PingResponse>|undefined}
236
+ * The XHR Node Readable Stream
237
+ */
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);
246
+ };
247
+
248
+
249
+ /**
250
+ * @param {!proto.ondewo.nlu.PingRequest} request The
251
+ * request proto
252
+ * @param {?Object<string, string>=} metadata User defined
253
+ * call metadata
254
+ * @return {!Promise<!proto.ondewo.nlu.PingResponse>}
255
+ * Promise that resolves to the response
256
+ */
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);
264
+ };
265
+
266
+
267
+ module.exports = proto.ondewo.nlu;
268
+
@@ -0,0 +1,155 @@
1
+ import * as jspb from 'google-protobuf'
2
+
3
+ import * as google_api_annotations_pb from '../../google/api/annotations_pb';
4
+ import * as ondewo_nlu_context_pb from '../../ondewo/nlu/context_pb';
5
+ import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb';
6
+ import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb';
7
+ import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
8
+
9
+
10
+ export class PingRequest extends jspb.Message {
11
+ getSession(): string;
12
+ setSession(value: string): PingRequest;
13
+
14
+ serializeBinary(): Uint8Array;
15
+ toObject(includeInstance?: boolean): PingRequest.AsObject;
16
+ static toObject(includeInstance: boolean, msg: PingRequest): PingRequest.AsObject;
17
+ static serializeBinaryToWriter(message: PingRequest, writer: jspb.BinaryWriter): void;
18
+ static deserializeBinary(bytes: Uint8Array): PingRequest;
19
+ static deserializeBinaryFromReader(message: PingRequest, reader: jspb.BinaryReader): PingRequest;
20
+ }
21
+
22
+ export namespace PingRequest {
23
+ export type AsObject = {
24
+ session: string,
25
+ }
26
+ }
27
+
28
+ export class WebhookRequest extends jspb.Message {
29
+ getSession(): string;
30
+ setSession(value: string): WebhookRequest;
31
+
32
+ getResponseId(): string;
33
+ setResponseId(value: string): WebhookRequest;
34
+
35
+ getQueryResult(): ondewo_nlu_session_pb.QueryResult | undefined;
36
+ setQueryResult(value?: ondewo_nlu_session_pb.QueryResult): WebhookRequest;
37
+ hasQueryResult(): boolean;
38
+ clearQueryResult(): WebhookRequest;
39
+
40
+ getOriginalDetectIntentRequest(): OriginalDetectIntentRequest | undefined;
41
+ setOriginalDetectIntentRequest(value?: OriginalDetectIntentRequest): WebhookRequest;
42
+ hasOriginalDetectIntentRequest(): boolean;
43
+ clearOriginalDetectIntentRequest(): WebhookRequest;
44
+
45
+ getHeaders(): google_protobuf_struct_pb.Struct | undefined;
46
+ setHeaders(value?: google_protobuf_struct_pb.Struct): WebhookRequest;
47
+ hasHeaders(): boolean;
48
+ clearHeaders(): WebhookRequest;
49
+
50
+ serializeBinary(): Uint8Array;
51
+ toObject(includeInstance?: boolean): WebhookRequest.AsObject;
52
+ static toObject(includeInstance: boolean, msg: WebhookRequest): WebhookRequest.AsObject;
53
+ static serializeBinaryToWriter(message: WebhookRequest, writer: jspb.BinaryWriter): void;
54
+ static deserializeBinary(bytes: Uint8Array): WebhookRequest;
55
+ static deserializeBinaryFromReader(message: WebhookRequest, reader: jspb.BinaryReader): WebhookRequest;
56
+ }
57
+
58
+ export namespace WebhookRequest {
59
+ export type AsObject = {
60
+ session: string,
61
+ responseId: string,
62
+ queryResult?: ondewo_nlu_session_pb.QueryResult.AsObject,
63
+ originalDetectIntentRequest?: OriginalDetectIntentRequest.AsObject,
64
+ headers?: google_protobuf_struct_pb.Struct.AsObject,
65
+ }
66
+ }
67
+
68
+ export class WebhookResponse extends jspb.Message {
69
+ getFulfillmentText(): string;
70
+ setFulfillmentText(value: string): WebhookResponse;
71
+
72
+ getFulfillmentMessagesList(): Array<ondewo_nlu_intent_pb.Intent.Message>;
73
+ setFulfillmentMessagesList(value: Array<ondewo_nlu_intent_pb.Intent.Message>): WebhookResponse;
74
+ clearFulfillmentMessagesList(): WebhookResponse;
75
+ addFulfillmentMessages(value?: ondewo_nlu_intent_pb.Intent.Message, index?: number): ondewo_nlu_intent_pb.Intent.Message;
76
+
77
+ getSource(): string;
78
+ setSource(value: string): WebhookResponse;
79
+
80
+ getPayload(): google_protobuf_struct_pb.Struct | undefined;
81
+ setPayload(value?: google_protobuf_struct_pb.Struct): WebhookResponse;
82
+ hasPayload(): boolean;
83
+ clearPayload(): WebhookResponse;
84
+
85
+ getOutputContextsList(): Array<ondewo_nlu_context_pb.Context>;
86
+ setOutputContextsList(value: Array<ondewo_nlu_context_pb.Context>): WebhookResponse;
87
+ clearOutputContextsList(): WebhookResponse;
88
+ addOutputContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context;
89
+
90
+ getFollowupEventInput(): ondewo_nlu_session_pb.EventInput | undefined;
91
+ setFollowupEventInput(value?: ondewo_nlu_session_pb.EventInput): WebhookResponse;
92
+ hasFollowupEventInput(): boolean;
93
+ clearFollowupEventInput(): WebhookResponse;
94
+
95
+ serializeBinary(): Uint8Array;
96
+ toObject(includeInstance?: boolean): WebhookResponse.AsObject;
97
+ static toObject(includeInstance: boolean, msg: WebhookResponse): WebhookResponse.AsObject;
98
+ static serializeBinaryToWriter(message: WebhookResponse, writer: jspb.BinaryWriter): void;
99
+ static deserializeBinary(bytes: Uint8Array): WebhookResponse;
100
+ static deserializeBinaryFromReader(message: WebhookResponse, reader: jspb.BinaryReader): WebhookResponse;
101
+ }
102
+
103
+ export namespace WebhookResponse {
104
+ export type AsObject = {
105
+ fulfillmentText: string,
106
+ fulfillmentMessagesList: Array<ondewo_nlu_intent_pb.Intent.Message.AsObject>,
107
+ source: string,
108
+ payload?: google_protobuf_struct_pb.Struct.AsObject,
109
+ outputContextsList: Array<ondewo_nlu_context_pb.Context.AsObject>,
110
+ followupEventInput?: ondewo_nlu_session_pb.EventInput.AsObject,
111
+ }
112
+ }
113
+
114
+ export class OriginalDetectIntentRequest extends jspb.Message {
115
+ getSource(): string;
116
+ setSource(value: string): OriginalDetectIntentRequest;
117
+
118
+ getPayload(): google_protobuf_struct_pb.Struct | undefined;
119
+ setPayload(value?: google_protobuf_struct_pb.Struct): OriginalDetectIntentRequest;
120
+ hasPayload(): boolean;
121
+ clearPayload(): OriginalDetectIntentRequest;
122
+
123
+ serializeBinary(): Uint8Array;
124
+ toObject(includeInstance?: boolean): OriginalDetectIntentRequest.AsObject;
125
+ static toObject(includeInstance: boolean, msg: OriginalDetectIntentRequest): OriginalDetectIntentRequest.AsObject;
126
+ static serializeBinaryToWriter(message: OriginalDetectIntentRequest, writer: jspb.BinaryWriter): void;
127
+ static deserializeBinary(bytes: Uint8Array): OriginalDetectIntentRequest;
128
+ static deserializeBinaryFromReader(message: OriginalDetectIntentRequest, reader: jspb.BinaryReader): OriginalDetectIntentRequest;
129
+ }
130
+
131
+ export namespace OriginalDetectIntentRequest {
132
+ export type AsObject = {
133
+ source: string,
134
+ payload?: google_protobuf_struct_pb.Struct.AsObject,
135
+ }
136
+ }
137
+
138
+ export class PingResponse extends jspb.Message {
139
+ getIsReachable(): boolean;
140
+ setIsReachable(value: boolean): PingResponse;
141
+
142
+ serializeBinary(): Uint8Array;
143
+ toObject(includeInstance?: boolean): PingResponse.AsObject;
144
+ static toObject(includeInstance: boolean, msg: PingResponse): PingResponse.AsObject;
145
+ static serializeBinaryToWriter(message: PingResponse, writer: jspb.BinaryWriter): void;
146
+ static deserializeBinary(bytes: Uint8Array): PingResponse;
147
+ static deserializeBinaryFromReader(message: PingResponse, reader: jspb.BinaryReader): PingResponse;
148
+ }
149
+
150
+ export namespace PingResponse {
151
+ export type AsObject = {
152
+ isReachable: boolean,
153
+ }
154
+ }
155
+