@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
|
@@ -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,154 +6,150 @@ 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
|
+
|
|
9
10
|
export class PingRequest extends jspb.Message {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
export namespace PingRequest {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
export type AsObject = {
|
|
24
|
+
session: string,
|
|
25
|
+
}
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
export class WebhookRequest extends jspb.Message {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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;
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
export namespace WebhookRequest {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
+
}
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
export class WebhookResponse extends jspb.Message {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
static serializeBinaryToWriter(message: WebhookResponse, writer: jspb.BinaryWriter): void;
|
|
101
|
-
static deserializeBinary(bytes: Uint8Array): WebhookResponse;
|
|
102
|
-
static deserializeBinaryFromReader(message: WebhookResponse, reader: jspb.BinaryReader): WebhookResponse;
|
|
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;
|
|
103
101
|
}
|
|
104
102
|
|
|
105
103
|
export namespace WebhookResponse {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
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
|
+
}
|
|
114
112
|
}
|
|
115
113
|
|
|
116
114
|
export class OriginalDetectIntentRequest extends jspb.Message {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
message: OriginalDetectIntentRequest,
|
|
132
|
-
reader: jspb.BinaryReader
|
|
133
|
-
): OriginalDetectIntentRequest;
|
|
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;
|
|
134
129
|
}
|
|
135
130
|
|
|
136
131
|
export namespace OriginalDetectIntentRequest {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
132
|
+
export type AsObject = {
|
|
133
|
+
source: string,
|
|
134
|
+
payload?: google_protobuf_struct_pb.Struct.AsObject,
|
|
135
|
+
}
|
|
141
136
|
}
|
|
142
137
|
|
|
143
138
|
export class PingResponse extends jspb.Message {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
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;
|
|
153
148
|
}
|
|
154
149
|
|
|
155
150
|
export namespace PingResponse {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
151
|
+
export type AsObject = {
|
|
152
|
+
isReachable: boolean,
|
|
153
|
+
}
|
|
159
154
|
}
|
|
155
|
+
|