@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.
Files changed (62) hide show
  1. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +450 -490
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +1113 -1244
  3. package/api/ondewo/nlu/agent_pb.d.ts +1939 -1751
  4. package/api/ondewo/nlu/agent_pb.js +9062 -10483
  5. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +98 -106
  6. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +245 -280
  7. package/api/ondewo/nlu/aiservices_pb.d.ts +745 -674
  8. package/api/ondewo/nlu/aiservices_pb.js +3638 -4403
  9. package/api/ondewo/nlu/common_pb.d.ts +15 -17
  10. package/api/ondewo/nlu/common_pb.js +83 -93
  11. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +76 -82
  12. package/api/ondewo/nlu/context_grpc_web_pb.js +191 -220
  13. package/api/ondewo/nlu/context_pb.d.ts +151 -151
  14. package/api/ondewo/nlu/context_pb.js +889 -1042
  15. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +142 -154
  16. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +351 -398
  17. package/api/ondewo/nlu/entity_type_pb.d.ts +614 -571
  18. package/api/ondewo/nlu/entity_type_pb.js +2893 -3369
  19. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +310 -334
  20. package/api/ondewo/nlu/intent_grpc_web_pb.js +766 -851
  21. package/api/ondewo/nlu/intent_pb.d.ts +2151 -1993
  22. package/api/ondewo/nlu/intent_pb.js +9502 -10692
  23. package/api/ondewo/nlu/operation_metadata_pb.d.ts +86 -88
  24. package/api/ondewo/nlu/operation_metadata_pb.js +321 -412
  25. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -50
  26. package/api/ondewo/nlu/operations_grpc_web_pb.js +140 -163
  27. package/api/ondewo/nlu/operations_pb.d.ts +189 -182
  28. package/api/ondewo/nlu/operations_pb.js +843 -1004
  29. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +65 -70
  30. package/api/ondewo/nlu/project_role_grpc_web_pb.js +164 -190
  31. package/api/ondewo/nlu/project_role_pb.d.ts +165 -151
  32. package/api/ondewo/nlu/project_role_pb.js +796 -963
  33. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +98 -106
  34. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +246 -281
  35. package/api/ondewo/nlu/project_statistics_pb.d.ts +67 -63
  36. package/api/ondewo/nlu/project_statistics_pb.js +354 -418
  37. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +43 -46
  38. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +110 -130
  39. package/api/ondewo/nlu/server_statistics_pb.d.ts +15 -14
  40. package/api/ondewo/nlu/server_statistics_pb.js +81 -91
  41. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +164 -178
  42. package/api/ondewo/nlu/session_grpc_web_pb.js +409 -462
  43. package/api/ondewo/nlu/session_pb.d.ts +1080 -1025
  44. package/api/ondewo/nlu/session_pb.js +5285 -6536
  45. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +172 -190
  46. package/api/ondewo/nlu/user_grpc_web_pb.js +431 -487
  47. package/api/ondewo/nlu/user_pb.d.ts +345 -325
  48. package/api/ondewo/nlu/user_pb.js +1948 -2312
  49. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +98 -106
  50. package/api/ondewo/nlu/utility_grpc_web_pb.js +244 -279
  51. package/api/ondewo/nlu/utility_pb.d.ts +588 -535
  52. package/api/ondewo/nlu/utility_pb.js +2814 -3348
  53. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +43 -46
  54. package/api/ondewo/nlu/webhook_grpc_web_pb.js +112 -132
  55. package/api/ondewo/nlu/webhook_pb.d.ts +123 -119
  56. package/api/ondewo/nlu/webhook_pb.js +599 -718
  57. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +87 -94
  58. package/api/ondewo/qa/qa_grpc_web_pb.js +218 -250
  59. package/api/ondewo/qa/qa_pb.d.ts +235 -220
  60. package/api/ondewo/qa/qa_pb.js +1222 -1452
  61. package/package.json +1 -1
  62. package/public-api.d.ts +4 -34
@@ -1,4 +1,4 @@
1
- import * as jspb from 'google-protobuf'
1
+ import * as jspb from 'google-protobuf';
2
2
 
3
3
  import * as google_api_annotations_pb from '../../google/api/annotations_pb';
4
4
  import * as ondewo_nlu_context_pb from '../../ondewo/nlu/context_pb';
@@ -6,150 +6,154 @@ import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb';
6
6
  import * as ondewo_nlu_session_pb from '../../ondewo/nlu/session_pb';
7
7
  import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
8
8
 
9
-
10
9
  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;
10
+ getSession(): string;
11
+ setSession(value: string): PingRequest;
12
+
13
+ serializeBinary(): Uint8Array;
14
+ toObject(includeInstance?: boolean): PingRequest.AsObject;
15
+ static toObject(includeInstance: boolean, msg: PingRequest): PingRequest.AsObject;
16
+ static serializeBinaryToWriter(message: PingRequest, writer: jspb.BinaryWriter): void;
17
+ static deserializeBinary(bytes: Uint8Array): PingRequest;
18
+ static deserializeBinaryFromReader(message: PingRequest, reader: jspb.BinaryReader): PingRequest;
20
19
  }
21
20
 
22
21
  export namespace PingRequest {
23
- export type AsObject = {
24
- session: string,
25
- }
22
+ export type AsObject = {
23
+ session: string;
24
+ };
26
25
  }
27
26
 
28
27
  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;
28
+ getSession(): string;
29
+ setSession(value: string): WebhookRequest;
30
+
31
+ getResponseId(): string;
32
+ setResponseId(value: string): WebhookRequest;
33
+
34
+ getQueryResult(): ondewo_nlu_session_pb.QueryResult | undefined;
35
+ setQueryResult(value?: ondewo_nlu_session_pb.QueryResult): WebhookRequest;
36
+ hasQueryResult(): boolean;
37
+ clearQueryResult(): WebhookRequest;
38
+
39
+ getOriginalDetectIntentRequest(): OriginalDetectIntentRequest | undefined;
40
+ setOriginalDetectIntentRequest(value?: OriginalDetectIntentRequest): WebhookRequest;
41
+ hasOriginalDetectIntentRequest(): boolean;
42
+ clearOriginalDetectIntentRequest(): WebhookRequest;
43
+
44
+ getHeaders(): google_protobuf_struct_pb.Struct | undefined;
45
+ setHeaders(value?: google_protobuf_struct_pb.Struct): WebhookRequest;
46
+ hasHeaders(): boolean;
47
+ clearHeaders(): WebhookRequest;
48
+
49
+ serializeBinary(): Uint8Array;
50
+ toObject(includeInstance?: boolean): WebhookRequest.AsObject;
51
+ static toObject(includeInstance: boolean, msg: WebhookRequest): WebhookRequest.AsObject;
52
+ static serializeBinaryToWriter(message: WebhookRequest, writer: jspb.BinaryWriter): void;
53
+ static deserializeBinary(bytes: Uint8Array): WebhookRequest;
54
+ static deserializeBinaryFromReader(message: WebhookRequest, reader: jspb.BinaryReader): WebhookRequest;
56
55
  }
57
56
 
58
57
  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
- }
58
+ export type AsObject = {
59
+ session: string;
60
+ responseId: string;
61
+ queryResult?: ondewo_nlu_session_pb.QueryResult.AsObject;
62
+ originalDetectIntentRequest?: OriginalDetectIntentRequest.AsObject;
63
+ headers?: google_protobuf_struct_pb.Struct.AsObject;
64
+ };
66
65
  }
67
66
 
68
67
  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;
68
+ getFulfillmentText(): string;
69
+ setFulfillmentText(value: string): WebhookResponse;
70
+
71
+ getFulfillmentMessagesList(): Array<ondewo_nlu_intent_pb.Intent.Message>;
72
+ setFulfillmentMessagesList(value: Array<ondewo_nlu_intent_pb.Intent.Message>): WebhookResponse;
73
+ clearFulfillmentMessagesList(): WebhookResponse;
74
+ addFulfillmentMessages(
75
+ value?: ondewo_nlu_intent_pb.Intent.Message,
76
+ index?: number
77
+ ): ondewo_nlu_intent_pb.Intent.Message;
78
+
79
+ getSource(): string;
80
+ setSource(value: string): WebhookResponse;
81
+
82
+ getPayload(): google_protobuf_struct_pb.Struct | undefined;
83
+ setPayload(value?: google_protobuf_struct_pb.Struct): WebhookResponse;
84
+ hasPayload(): boolean;
85
+ clearPayload(): WebhookResponse;
86
+
87
+ getOutputContextsList(): Array<ondewo_nlu_context_pb.Context>;
88
+ setOutputContextsList(value: Array<ondewo_nlu_context_pb.Context>): WebhookResponse;
89
+ clearOutputContextsList(): WebhookResponse;
90
+ addOutputContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context;
91
+
92
+ getFollowupEventInput(): ondewo_nlu_session_pb.EventInput | undefined;
93
+ setFollowupEventInput(value?: ondewo_nlu_session_pb.EventInput): WebhookResponse;
94
+ hasFollowupEventInput(): boolean;
95
+ clearFollowupEventInput(): WebhookResponse;
96
+
97
+ serializeBinary(): Uint8Array;
98
+ toObject(includeInstance?: boolean): WebhookResponse.AsObject;
99
+ static toObject(includeInstance: boolean, msg: WebhookResponse): WebhookResponse.AsObject;
100
+ static serializeBinaryToWriter(message: WebhookResponse, writer: jspb.BinaryWriter): void;
101
+ static deserializeBinary(bytes: Uint8Array): WebhookResponse;
102
+ static deserializeBinaryFromReader(message: WebhookResponse, reader: jspb.BinaryReader): WebhookResponse;
101
103
  }
102
104
 
103
105
  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
- }
106
+ export type AsObject = {
107
+ fulfillmentText: string;
108
+ fulfillmentMessagesList: Array<ondewo_nlu_intent_pb.Intent.Message.AsObject>;
109
+ source: string;
110
+ payload?: google_protobuf_struct_pb.Struct.AsObject;
111
+ outputContextsList: Array<ondewo_nlu_context_pb.Context.AsObject>;
112
+ followupEventInput?: ondewo_nlu_session_pb.EventInput.AsObject;
113
+ };
112
114
  }
113
115
 
114
116
  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;
117
+ getSource(): string;
118
+ setSource(value: string): OriginalDetectIntentRequest;
119
+
120
+ getPayload(): google_protobuf_struct_pb.Struct | undefined;
121
+ setPayload(value?: google_protobuf_struct_pb.Struct): OriginalDetectIntentRequest;
122
+ hasPayload(): boolean;
123
+ clearPayload(): OriginalDetectIntentRequest;
124
+
125
+ serializeBinary(): Uint8Array;
126
+ toObject(includeInstance?: boolean): OriginalDetectIntentRequest.AsObject;
127
+ static toObject(includeInstance: boolean, msg: OriginalDetectIntentRequest): OriginalDetectIntentRequest.AsObject;
128
+ static serializeBinaryToWriter(message: OriginalDetectIntentRequest, writer: jspb.BinaryWriter): void;
129
+ static deserializeBinary(bytes: Uint8Array): OriginalDetectIntentRequest;
130
+ static deserializeBinaryFromReader(
131
+ message: OriginalDetectIntentRequest,
132
+ reader: jspb.BinaryReader
133
+ ): OriginalDetectIntentRequest;
129
134
  }
130
135
 
131
136
  export namespace OriginalDetectIntentRequest {
132
- export type AsObject = {
133
- source: string,
134
- payload?: google_protobuf_struct_pb.Struct.AsObject,
135
- }
137
+ export type AsObject = {
138
+ source: string;
139
+ payload?: google_protobuf_struct_pb.Struct.AsObject;
140
+ };
136
141
  }
137
142
 
138
143
  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;
144
+ getIsReachable(): boolean;
145
+ setIsReachable(value: boolean): PingResponse;
146
+
147
+ serializeBinary(): Uint8Array;
148
+ toObject(includeInstance?: boolean): PingResponse.AsObject;
149
+ static toObject(includeInstance: boolean, msg: PingResponse): PingResponse.AsObject;
150
+ static serializeBinaryToWriter(message: PingResponse, writer: jspb.BinaryWriter): void;
151
+ static deserializeBinary(bytes: Uint8Array): PingResponse;
152
+ static deserializeBinaryFromReader(message: PingResponse, reader: jspb.BinaryReader): PingResponse;
148
153
  }
149
154
 
150
155
  export namespace PingResponse {
151
- export type AsObject = {
152
- isReachable: boolean,
153
- }
156
+ export type AsObject = {
157
+ isReachable: boolean;
158
+ };
154
159
  }
155
-