@aws-sdk/client-lex-runtime-v2 3.928.0 → 3.930.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/dist-cjs/index.js +761 -1106
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/LexRuntimeV2Client.js +2 -0
- package/dist-es/commands/DeleteSessionCommand.js +3 -9
- package/dist-es/commands/GetSessionCommand.js +3 -10
- package/dist-es/commands/PutSessionCommand.js +3 -10
- package/dist-es/commands/RecognizeTextCommand.js +3 -10
- package/dist-es/commands/RecognizeUtteranceCommand.js +3 -10
- package/dist-es/commands/StartConversationCommand.js +3 -11
- package/dist-es/models/models_0.js +0 -169
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +746 -0
- package/dist-types/LexRuntimeV2Client.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +8 -78
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +78 -0
- package/dist-types/ts3.4/LexRuntimeV2Client.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -61
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +85 -0
- package/package.json +39 -39
- package/dist-es/protocols/Aws_restJson1.js +0 -873
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -56
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -81
|
@@ -0,0 +1,746 @@
|
|
|
1
|
+
const _AC = "ActiveContext";
|
|
2
|
+
const _ACL = "ActiveContextsList";
|
|
3
|
+
const _ACPM = "ActiveContextParametersMap";
|
|
4
|
+
const _ACTTL = "ActiveContextTimeToLive";
|
|
5
|
+
const _ADE = "AccessDeniedException";
|
|
6
|
+
const _AIE = "AudioInputEvent";
|
|
7
|
+
const _ARE = "AudioResponseEvent";
|
|
8
|
+
const _B = "Button";
|
|
9
|
+
const _BGE = "BadGatewayException";
|
|
10
|
+
const _BL = "ButtonsList";
|
|
11
|
+
const _BS = "BlobStream";
|
|
12
|
+
const _CE = "ConfigurationEvent";
|
|
13
|
+
const _CEo = "ConflictException";
|
|
14
|
+
const _CS = "ConfidenceScore";
|
|
15
|
+
const _CT = "Content-Type";
|
|
16
|
+
const _DA = "DialogAction";
|
|
17
|
+
const _DE = "DisconnectionEvent";
|
|
18
|
+
const _DFE = "DependencyFailedException";
|
|
19
|
+
const _DS = "DeleteSession";
|
|
20
|
+
const _DSR = "DeleteSessionRequest";
|
|
21
|
+
const _DSRe = "DeleteSessionResponse";
|
|
22
|
+
const _DTMFIE = "DTMFInputEvent";
|
|
23
|
+
const _DTMFR = "DTMFRegex";
|
|
24
|
+
const _ESS = "ElicitSubSlot";
|
|
25
|
+
const _GS = "GetSession";
|
|
26
|
+
const _GSR = "GetSessionRequest";
|
|
27
|
+
const _GSRe = "GetSessionResponse";
|
|
28
|
+
const _HE = "HeartbeatEvent";
|
|
29
|
+
const _I = "Intent";
|
|
30
|
+
const _IRC = "ImageResponseCard";
|
|
31
|
+
const _IRE = "IntentResultEvent";
|
|
32
|
+
const _ISE = "InternalServerException";
|
|
33
|
+
const _In = "Interpretation";
|
|
34
|
+
const _Int = "Interpretations";
|
|
35
|
+
const _M = "Message";
|
|
36
|
+
const _Me = "Messages";
|
|
37
|
+
const _PCE = "PlaybackCompletionEvent";
|
|
38
|
+
const _PIE = "PlaybackInterruptionEvent";
|
|
39
|
+
const _PS = "PutSession";
|
|
40
|
+
const _PSR = "PutSessionRequest";
|
|
41
|
+
const _PSRu = "PutSessionResponse";
|
|
42
|
+
const _RBM = "RecognizedBotMember";
|
|
43
|
+
const _RCT = "ResponseContentType";
|
|
44
|
+
const _RCT_ = "Response-Content-Type";
|
|
45
|
+
const _RH = "RuntimeHints";
|
|
46
|
+
const _RHD = "RuntimeHintDetails";
|
|
47
|
+
const _RHV = "RuntimeHintValue";
|
|
48
|
+
const _RHVL = "RuntimeHintValuesList";
|
|
49
|
+
const _RNFE = "ResourceNotFoundException";
|
|
50
|
+
const _RT = "RecognizeText";
|
|
51
|
+
const _RTR = "RecognizeTextRequest";
|
|
52
|
+
const _RTRe = "RecognizeTextResponse";
|
|
53
|
+
const _RU = "RecognizeUtterance";
|
|
54
|
+
const _RUR = "RecognizeUtteranceRequest";
|
|
55
|
+
const _RURe = "RecognizeUtteranceResponse";
|
|
56
|
+
const _S = "Slot";
|
|
57
|
+
const _SC = "StartConversation";
|
|
58
|
+
const _SCR = "StartConversationRequest";
|
|
59
|
+
const _SCRES = "StartConversationRequestEventStream";
|
|
60
|
+
const _SCRESt = "StartConversationResponseEventStream";
|
|
61
|
+
const _SCRt = "StartConversationResponse";
|
|
62
|
+
const _SHIM = "SlotHintsIntentMap";
|
|
63
|
+
const _SHSM = "SlotHintsSlotMap";
|
|
64
|
+
const _SNES = "SensitiveNonEmptyString";
|
|
65
|
+
const _SR = "SentimentResponse";
|
|
66
|
+
const _SS = "SentimentScore";
|
|
67
|
+
const _SSe = "SessionState";
|
|
68
|
+
const _Sl = "Slots";
|
|
69
|
+
const _T = "Text";
|
|
70
|
+
const _TE = "ThrottlingException";
|
|
71
|
+
const _TEr = "TranscriptEvent";
|
|
72
|
+
const _TIE = "TextInputEvent";
|
|
73
|
+
const _TRE = "TextResponseEvent";
|
|
74
|
+
const _V = "Value";
|
|
75
|
+
const _VE = "ValidationException";
|
|
76
|
+
const _Va = "Values";
|
|
77
|
+
const _aC = "audioChunk";
|
|
78
|
+
const _aCc = "activeContexts";
|
|
79
|
+
const _aS = "audioStream";
|
|
80
|
+
const _b = "buttons";
|
|
81
|
+
const _bAI = "botAliasId";
|
|
82
|
+
const _bI = "botId";
|
|
83
|
+
const _bN = "botName";
|
|
84
|
+
const _c = "client";
|
|
85
|
+
const _cA = "contextAttributes";
|
|
86
|
+
const _cBEI = "causedByEventId";
|
|
87
|
+
const _cM = "conversationMode";
|
|
88
|
+
const _cS = "confirmationState";
|
|
89
|
+
const _cT = "contentType";
|
|
90
|
+
const _cTM = "clientTimestampMillis";
|
|
91
|
+
const _co = "content";
|
|
92
|
+
const _dA = "dialogAction";
|
|
93
|
+
const _dP = "disablePlayback";
|
|
94
|
+
const _e = "error";
|
|
95
|
+
const _eI = "eventId";
|
|
96
|
+
const _eR = "eventReason";
|
|
97
|
+
const _h = "http";
|
|
98
|
+
const _hE = "httpError";
|
|
99
|
+
const _hH = "httpHeader";
|
|
100
|
+
const _i = "interpretations";
|
|
101
|
+
const _iC = "inputCharacter";
|
|
102
|
+
const _iM = "inputMode";
|
|
103
|
+
const _iRC = "imageResponseCard";
|
|
104
|
+
const _iS = "interpretationSource";
|
|
105
|
+
const _iSn = "inputStream";
|
|
106
|
+
const _iT = "inputTranscript";
|
|
107
|
+
const _iU = "imageUrl";
|
|
108
|
+
const _iV = "interpretedValue";
|
|
109
|
+
const _in = "intent";
|
|
110
|
+
const _lI = "localeId";
|
|
111
|
+
const _m = "message";
|
|
112
|
+
const _me = "messages";
|
|
113
|
+
const _mi = "mixed";
|
|
114
|
+
const _n = "name";
|
|
115
|
+
const _nC = "nluConfidence";
|
|
116
|
+
const _ne = "negative";
|
|
117
|
+
const _neu = "neutral";
|
|
118
|
+
const _oRI = "originatingRequestId";
|
|
119
|
+
const _oV = "originalValue";
|
|
120
|
+
const _p = "phrase";
|
|
121
|
+
const _po = "positive";
|
|
122
|
+
const _rA = "requestAttributes";
|
|
123
|
+
const _rBM = "recognizedBotMember";
|
|
124
|
+
const _rCT = "responseContentType";
|
|
125
|
+
const _rCTe = "requestContentType";
|
|
126
|
+
const _rES = "requestEventStream";
|
|
127
|
+
const _rESe = "responseEventStream";
|
|
128
|
+
const _rH = "runtimeHints";
|
|
129
|
+
const _rHV = "runtimeHintValues";
|
|
130
|
+
const _rV = "resolvedValues";
|
|
131
|
+
const _s = "streaming";
|
|
132
|
+
const _sA = "sessionAttributes";
|
|
133
|
+
const _sES = "slotElicitationStyle";
|
|
134
|
+
const _sH = "slotHints";
|
|
135
|
+
const _sI = "sessionId";
|
|
136
|
+
const _sR = "sentimentResponse";
|
|
137
|
+
const _sS = "sessionState";
|
|
138
|
+
const _sSH = "subSlotHints";
|
|
139
|
+
const _sSTE = "subSlotToElicit";
|
|
140
|
+
const _sSe = "sentimentScore";
|
|
141
|
+
const _sSu = "subSlots";
|
|
142
|
+
const _sTE = "slotToElicit";
|
|
143
|
+
const _sc = "score";
|
|
144
|
+
const _se = "server";
|
|
145
|
+
const _sen = "sentiment";
|
|
146
|
+
const _sh = "shape";
|
|
147
|
+
const _sl = "slots";
|
|
148
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.lexruntimev2";
|
|
149
|
+
const _st = "state";
|
|
150
|
+
const _su = "subtitle";
|
|
151
|
+
const _t = "text";
|
|
152
|
+
const _tTL = "timeToLive";
|
|
153
|
+
const _tTLIS = "timeToLiveInSeconds";
|
|
154
|
+
const _tTLu = "turnsToLive";
|
|
155
|
+
const _ti = "title";
|
|
156
|
+
const _tr = "transcript";
|
|
157
|
+
const _ty = "type";
|
|
158
|
+
const _v = "value";
|
|
159
|
+
const _va = "values";
|
|
160
|
+
const _wM = "welcomeMessages";
|
|
161
|
+
const _xalcm = "x-amz-lex-conversation-mode";
|
|
162
|
+
const _xali = "x-amz-lex-interpretations";
|
|
163
|
+
const _xalim = "x-amz-lex-input-mode";
|
|
164
|
+
const _xalit = "x-amz-lex-input-transcript";
|
|
165
|
+
const _xalm = "x-amz-lex-messages";
|
|
166
|
+
const _xalra = "x-amz-lex-request-attributes";
|
|
167
|
+
const _xalrbm = "x-amz-lex-recognized-bot-member";
|
|
168
|
+
const _xalsi = "x-amz-lex-session-id";
|
|
169
|
+
const _xalss = "x-amz-lex-session-state";
|
|
170
|
+
const n0 = "com.amazonaws.lexruntimev2";
|
|
171
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
172
|
+
import { AccessDeniedException as __AccessDeniedException, BadGatewayException as __BadGatewayException, ConflictException as __ConflictException, DependencyFailedException as __DependencyFailedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
|
|
173
|
+
import { LexRuntimeV2ServiceException as __LexRuntimeV2ServiceException } from "../models/LexRuntimeV2ServiceException";
|
|
174
|
+
export var BlobStream = [
|
|
175
|
+
0,
|
|
176
|
+
n0,
|
|
177
|
+
_BS,
|
|
178
|
+
{
|
|
179
|
+
[_s]: 1,
|
|
180
|
+
},
|
|
181
|
+
42,
|
|
182
|
+
];
|
|
183
|
+
export var DTMFRegex = [0, n0, _DTMFR, 8, 0];
|
|
184
|
+
export var SensitiveNonEmptyString = [0, n0, _SNES, 8, 0];
|
|
185
|
+
export var Text = [0, n0, _T, 8, 0];
|
|
186
|
+
export var AccessDeniedException = [
|
|
187
|
+
-3,
|
|
188
|
+
n0,
|
|
189
|
+
_ADE,
|
|
190
|
+
{
|
|
191
|
+
[_e]: _c,
|
|
192
|
+
[_hE]: 403,
|
|
193
|
+
},
|
|
194
|
+
[_m],
|
|
195
|
+
[0],
|
|
196
|
+
];
|
|
197
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
198
|
+
export var ActiveContext = [
|
|
199
|
+
3,
|
|
200
|
+
n0,
|
|
201
|
+
_AC,
|
|
202
|
+
0,
|
|
203
|
+
[_n, _tTL, _cA],
|
|
204
|
+
[0, () => ActiveContextTimeToLive, [() => ActiveContextParametersMap, 0]],
|
|
205
|
+
];
|
|
206
|
+
export var ActiveContextTimeToLive = [3, n0, _ACTTL, 0, [_tTLIS, _tTLu], [1, 1]];
|
|
207
|
+
export var AudioInputEvent = [3, n0, _AIE, 0, [_aC, _cT, _eI, _cTM], [21, 0, 0, 1]];
|
|
208
|
+
export var AudioResponseEvent = [3, n0, _ARE, 0, [_aC, _cT, _eI], [21, 0, 0]];
|
|
209
|
+
export var BadGatewayException = [
|
|
210
|
+
-3,
|
|
211
|
+
n0,
|
|
212
|
+
_BGE,
|
|
213
|
+
{
|
|
214
|
+
[_e]: _se,
|
|
215
|
+
[_hE]: 502,
|
|
216
|
+
},
|
|
217
|
+
[_m],
|
|
218
|
+
[0],
|
|
219
|
+
];
|
|
220
|
+
TypeRegistry.for(n0).registerError(BadGatewayException, __BadGatewayException);
|
|
221
|
+
export var Button = [3, n0, _B, 0, [_t, _v], [0, 0]];
|
|
222
|
+
export var ConfidenceScore = [3, n0, _CS, 0, [_sc], [1]];
|
|
223
|
+
export var ConfigurationEvent = [
|
|
224
|
+
3,
|
|
225
|
+
n0,
|
|
226
|
+
_CE,
|
|
227
|
+
0,
|
|
228
|
+
[_rA, _rCT, _sS, _wM, _dP, _eI, _cTM],
|
|
229
|
+
[128 | 0, 0, [() => SessionState, 0], [() => Messages, 0], 2, 0, 1],
|
|
230
|
+
];
|
|
231
|
+
export var ConflictException = [
|
|
232
|
+
-3,
|
|
233
|
+
n0,
|
|
234
|
+
_CEo,
|
|
235
|
+
{
|
|
236
|
+
[_e]: _c,
|
|
237
|
+
[_hE]: 409,
|
|
238
|
+
},
|
|
239
|
+
[_m],
|
|
240
|
+
[0],
|
|
241
|
+
];
|
|
242
|
+
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
243
|
+
export var DeleteSessionRequest = [
|
|
244
|
+
3,
|
|
245
|
+
n0,
|
|
246
|
+
_DSR,
|
|
247
|
+
0,
|
|
248
|
+
[_bI, _bAI, _lI, _sI],
|
|
249
|
+
[
|
|
250
|
+
[0, 1],
|
|
251
|
+
[0, 1],
|
|
252
|
+
[0, 1],
|
|
253
|
+
[0, 1],
|
|
254
|
+
],
|
|
255
|
+
];
|
|
256
|
+
export var DeleteSessionResponse = [3, n0, _DSRe, 0, [_bI, _bAI, _lI, _sI], [0, 0, 0, 0]];
|
|
257
|
+
export var DependencyFailedException = [
|
|
258
|
+
-3,
|
|
259
|
+
n0,
|
|
260
|
+
_DFE,
|
|
261
|
+
{
|
|
262
|
+
[_e]: _c,
|
|
263
|
+
[_hE]: 424,
|
|
264
|
+
},
|
|
265
|
+
[_m],
|
|
266
|
+
[0],
|
|
267
|
+
];
|
|
268
|
+
TypeRegistry.for(n0).registerError(DependencyFailedException, __DependencyFailedException);
|
|
269
|
+
export var DialogAction = [
|
|
270
|
+
3,
|
|
271
|
+
n0,
|
|
272
|
+
_DA,
|
|
273
|
+
0,
|
|
274
|
+
[_ty, _sTE, _sES, _sSTE],
|
|
275
|
+
[0, 0, 0, () => ElicitSubSlot],
|
|
276
|
+
];
|
|
277
|
+
export var DisconnectionEvent = [3, n0, _DE, 0, [_eI, _cTM], [0, 1]];
|
|
278
|
+
export var DTMFInputEvent = [3, n0, _DTMFIE, 0, [_iC, _eI, _cTM], [[() => DTMFRegex, 0], 0, 1]];
|
|
279
|
+
export var ElicitSubSlot = [3, n0, _ESS, 0, [_n, _sSTE], [0, () => ElicitSubSlot]];
|
|
280
|
+
export var GetSessionRequest = [
|
|
281
|
+
3,
|
|
282
|
+
n0,
|
|
283
|
+
_GSR,
|
|
284
|
+
0,
|
|
285
|
+
[_bI, _bAI, _lI, _sI],
|
|
286
|
+
[
|
|
287
|
+
[0, 1],
|
|
288
|
+
[0, 1],
|
|
289
|
+
[0, 1],
|
|
290
|
+
[0, 1],
|
|
291
|
+
],
|
|
292
|
+
];
|
|
293
|
+
export var GetSessionResponse = [
|
|
294
|
+
3,
|
|
295
|
+
n0,
|
|
296
|
+
_GSRe,
|
|
297
|
+
0,
|
|
298
|
+
[_sI, _me, _i, _sS],
|
|
299
|
+
[0, [() => Messages, 0], () => Interpretations, [() => SessionState, 0]],
|
|
300
|
+
];
|
|
301
|
+
export var HeartbeatEvent = [3, n0, _HE, 0, [_eI], [0]];
|
|
302
|
+
export var ImageResponseCard = [
|
|
303
|
+
3,
|
|
304
|
+
n0,
|
|
305
|
+
_IRC,
|
|
306
|
+
0,
|
|
307
|
+
[_ti, _su, _iU, _b],
|
|
308
|
+
[0, 0, 0, () => ButtonsList],
|
|
309
|
+
];
|
|
310
|
+
export var Intent = [3, n0, _I, 0, [_n, _sl, _st, _cS], [0, () => Slots, 0, 0]];
|
|
311
|
+
export var IntentResultEvent = [
|
|
312
|
+
3,
|
|
313
|
+
n0,
|
|
314
|
+
_IRE,
|
|
315
|
+
0,
|
|
316
|
+
[_iM, _i, _sS, _rA, _sI, _eI, _rBM],
|
|
317
|
+
[0, () => Interpretations, [() => SessionState, 0], 128 | 0, 0, 0, () => RecognizedBotMember],
|
|
318
|
+
];
|
|
319
|
+
export var InternalServerException = [
|
|
320
|
+
-3,
|
|
321
|
+
n0,
|
|
322
|
+
_ISE,
|
|
323
|
+
{
|
|
324
|
+
[_e]: _se,
|
|
325
|
+
[_hE]: 500,
|
|
326
|
+
},
|
|
327
|
+
[_m],
|
|
328
|
+
[0],
|
|
329
|
+
];
|
|
330
|
+
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
331
|
+
export var Interpretation = [
|
|
332
|
+
3,
|
|
333
|
+
n0,
|
|
334
|
+
_In,
|
|
335
|
+
0,
|
|
336
|
+
[_nC, _sR, _in, _iS],
|
|
337
|
+
[() => ConfidenceScore, () => SentimentResponse, () => Intent, 0],
|
|
338
|
+
];
|
|
339
|
+
export var Message = [
|
|
340
|
+
3,
|
|
341
|
+
n0,
|
|
342
|
+
_M,
|
|
343
|
+
0,
|
|
344
|
+
[_co, _cT, _iRC],
|
|
345
|
+
[[() => Text, 0], 0, () => ImageResponseCard],
|
|
346
|
+
];
|
|
347
|
+
export var PlaybackCompletionEvent = [3, n0, _PCE, 0, [_eI, _cTM], [0, 1]];
|
|
348
|
+
export var PlaybackInterruptionEvent = [3, n0, _PIE, 0, [_eR, _cBEI, _eI], [0, 0, 0]];
|
|
349
|
+
export var PutSessionRequest = [
|
|
350
|
+
3,
|
|
351
|
+
n0,
|
|
352
|
+
_PSR,
|
|
353
|
+
0,
|
|
354
|
+
[_bI, _bAI, _lI, _sI, _me, _sS, _rA, _rCT],
|
|
355
|
+
[
|
|
356
|
+
[0, 1],
|
|
357
|
+
[0, 1],
|
|
358
|
+
[0, 1],
|
|
359
|
+
[0, 1],
|
|
360
|
+
[() => Messages, 0],
|
|
361
|
+
[() => SessionState, 0],
|
|
362
|
+
128 | 0,
|
|
363
|
+
[
|
|
364
|
+
0,
|
|
365
|
+
{
|
|
366
|
+
[_hH]: _RCT,
|
|
367
|
+
},
|
|
368
|
+
],
|
|
369
|
+
],
|
|
370
|
+
];
|
|
371
|
+
export var PutSessionResponse = [
|
|
372
|
+
3,
|
|
373
|
+
n0,
|
|
374
|
+
_PSRu,
|
|
375
|
+
0,
|
|
376
|
+
[_cT, _me, _sS, _rA, _sI, _aS],
|
|
377
|
+
[
|
|
378
|
+
[
|
|
379
|
+
0,
|
|
380
|
+
{
|
|
381
|
+
[_hH]: _CT,
|
|
382
|
+
},
|
|
383
|
+
],
|
|
384
|
+
[
|
|
385
|
+
0,
|
|
386
|
+
{
|
|
387
|
+
[_hH]: _xalm,
|
|
388
|
+
},
|
|
389
|
+
],
|
|
390
|
+
[
|
|
391
|
+
0,
|
|
392
|
+
{
|
|
393
|
+
[_hH]: _xalss,
|
|
394
|
+
},
|
|
395
|
+
],
|
|
396
|
+
[
|
|
397
|
+
0,
|
|
398
|
+
{
|
|
399
|
+
[_hH]: _xalra,
|
|
400
|
+
},
|
|
401
|
+
],
|
|
402
|
+
[
|
|
403
|
+
0,
|
|
404
|
+
{
|
|
405
|
+
[_hH]: _xalsi,
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
[() => BlobStream, 16],
|
|
409
|
+
],
|
|
410
|
+
];
|
|
411
|
+
export var RecognizedBotMember = [3, n0, _RBM, 0, [_bI, _bN], [0, 0]];
|
|
412
|
+
export var RecognizeTextRequest = [
|
|
413
|
+
3,
|
|
414
|
+
n0,
|
|
415
|
+
_RTR,
|
|
416
|
+
0,
|
|
417
|
+
[_bI, _bAI, _lI, _sI, _t, _sS, _rA],
|
|
418
|
+
[[0, 1], [0, 1], [0, 1], [0, 1], [() => Text, 0], [() => SessionState, 0], 128 | 0],
|
|
419
|
+
];
|
|
420
|
+
export var RecognizeTextResponse = [
|
|
421
|
+
3,
|
|
422
|
+
n0,
|
|
423
|
+
_RTRe,
|
|
424
|
+
0,
|
|
425
|
+
[_me, _sS, _i, _rA, _sI, _rBM],
|
|
426
|
+
[[() => Messages, 0], [() => SessionState, 0], () => Interpretations, 128 | 0, 0, () => RecognizedBotMember],
|
|
427
|
+
];
|
|
428
|
+
export var RecognizeUtteranceRequest = [
|
|
429
|
+
3,
|
|
430
|
+
n0,
|
|
431
|
+
_RUR,
|
|
432
|
+
0,
|
|
433
|
+
[_bI, _bAI, _lI, _sI, _sS, _rA, _rCTe, _rCT, _iSn],
|
|
434
|
+
[
|
|
435
|
+
[0, 1],
|
|
436
|
+
[0, 1],
|
|
437
|
+
[0, 1],
|
|
438
|
+
[0, 1],
|
|
439
|
+
[
|
|
440
|
+
() => SensitiveNonEmptyString,
|
|
441
|
+
{
|
|
442
|
+
[_hH]: _xalss,
|
|
443
|
+
},
|
|
444
|
+
],
|
|
445
|
+
[
|
|
446
|
+
() => SensitiveNonEmptyString,
|
|
447
|
+
{
|
|
448
|
+
[_hH]: _xalra,
|
|
449
|
+
},
|
|
450
|
+
],
|
|
451
|
+
[
|
|
452
|
+
0,
|
|
453
|
+
{
|
|
454
|
+
[_hH]: _CT,
|
|
455
|
+
},
|
|
456
|
+
],
|
|
457
|
+
[
|
|
458
|
+
0,
|
|
459
|
+
{
|
|
460
|
+
[_hH]: _RCT_,
|
|
461
|
+
},
|
|
462
|
+
],
|
|
463
|
+
[() => BlobStream, 16],
|
|
464
|
+
],
|
|
465
|
+
];
|
|
466
|
+
export var RecognizeUtteranceResponse = [
|
|
467
|
+
3,
|
|
468
|
+
n0,
|
|
469
|
+
_RURe,
|
|
470
|
+
0,
|
|
471
|
+
[_iM, _cT, _me, _i, _sS, _rA, _sI, _iT, _aS, _rBM],
|
|
472
|
+
[
|
|
473
|
+
[
|
|
474
|
+
0,
|
|
475
|
+
{
|
|
476
|
+
[_hH]: _xalim,
|
|
477
|
+
},
|
|
478
|
+
],
|
|
479
|
+
[
|
|
480
|
+
0,
|
|
481
|
+
{
|
|
482
|
+
[_hH]: _CT,
|
|
483
|
+
},
|
|
484
|
+
],
|
|
485
|
+
[
|
|
486
|
+
0,
|
|
487
|
+
{
|
|
488
|
+
[_hH]: _xalm,
|
|
489
|
+
},
|
|
490
|
+
],
|
|
491
|
+
[
|
|
492
|
+
0,
|
|
493
|
+
{
|
|
494
|
+
[_hH]: _xali,
|
|
495
|
+
},
|
|
496
|
+
],
|
|
497
|
+
[
|
|
498
|
+
0,
|
|
499
|
+
{
|
|
500
|
+
[_hH]: _xalss,
|
|
501
|
+
},
|
|
502
|
+
],
|
|
503
|
+
[
|
|
504
|
+
0,
|
|
505
|
+
{
|
|
506
|
+
[_hH]: _xalra,
|
|
507
|
+
},
|
|
508
|
+
],
|
|
509
|
+
[
|
|
510
|
+
0,
|
|
511
|
+
{
|
|
512
|
+
[_hH]: _xalsi,
|
|
513
|
+
},
|
|
514
|
+
],
|
|
515
|
+
[
|
|
516
|
+
0,
|
|
517
|
+
{
|
|
518
|
+
[_hH]: _xalit,
|
|
519
|
+
},
|
|
520
|
+
],
|
|
521
|
+
[() => BlobStream, 16],
|
|
522
|
+
[
|
|
523
|
+
0,
|
|
524
|
+
{
|
|
525
|
+
[_hH]: _xalrbm,
|
|
526
|
+
},
|
|
527
|
+
],
|
|
528
|
+
],
|
|
529
|
+
];
|
|
530
|
+
export var ResourceNotFoundException = [
|
|
531
|
+
-3,
|
|
532
|
+
n0,
|
|
533
|
+
_RNFE,
|
|
534
|
+
{
|
|
535
|
+
[_e]: _c,
|
|
536
|
+
[_hE]: 404,
|
|
537
|
+
},
|
|
538
|
+
[_m],
|
|
539
|
+
[0],
|
|
540
|
+
];
|
|
541
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
542
|
+
export var RuntimeHintDetails = [
|
|
543
|
+
3,
|
|
544
|
+
n0,
|
|
545
|
+
_RHD,
|
|
546
|
+
0,
|
|
547
|
+
[_rHV, _sSH],
|
|
548
|
+
[() => RuntimeHintValuesList, () => SlotHintsSlotMap],
|
|
549
|
+
];
|
|
550
|
+
export var RuntimeHints = [3, n0, _RH, 0, [_sH], [() => SlotHintsIntentMap]];
|
|
551
|
+
export var RuntimeHintValue = [3, n0, _RHV, 0, [_p], [0]];
|
|
552
|
+
export var SentimentResponse = [3, n0, _SR, 0, [_sen, _sSe], [0, () => SentimentScore]];
|
|
553
|
+
export var SentimentScore = [3, n0, _SS, 0, [_po, _ne, _neu, _mi], [1, 1, 1, 1]];
|
|
554
|
+
export var SessionState = [
|
|
555
|
+
3,
|
|
556
|
+
n0,
|
|
557
|
+
_SSe,
|
|
558
|
+
0,
|
|
559
|
+
[_dA, _in, _aCc, _sA, _oRI, _rH],
|
|
560
|
+
[() => DialogAction, () => Intent, [() => ActiveContextsList, 0], 128 | 0, 0, () => RuntimeHints],
|
|
561
|
+
];
|
|
562
|
+
export var Slot = [
|
|
563
|
+
3,
|
|
564
|
+
n0,
|
|
565
|
+
_S,
|
|
566
|
+
0,
|
|
567
|
+
[_v, _sh, _va, _sSu],
|
|
568
|
+
[() => Value, 0, () => Values, () => Slots],
|
|
569
|
+
];
|
|
570
|
+
export var StartConversationRequest = [
|
|
571
|
+
3,
|
|
572
|
+
n0,
|
|
573
|
+
_SCR,
|
|
574
|
+
0,
|
|
575
|
+
[_bI, _bAI, _lI, _sI, _cM, _rES],
|
|
576
|
+
[
|
|
577
|
+
[0, 1],
|
|
578
|
+
[0, 1],
|
|
579
|
+
[0, 1],
|
|
580
|
+
[0, 1],
|
|
581
|
+
[
|
|
582
|
+
0,
|
|
583
|
+
{
|
|
584
|
+
[_hH]: _xalcm,
|
|
585
|
+
},
|
|
586
|
+
],
|
|
587
|
+
[() => StartConversationRequestEventStream, 16],
|
|
588
|
+
],
|
|
589
|
+
];
|
|
590
|
+
export var StartConversationResponse = [
|
|
591
|
+
3,
|
|
592
|
+
n0,
|
|
593
|
+
_SCRt,
|
|
594
|
+
0,
|
|
595
|
+
[_rESe],
|
|
596
|
+
[[() => StartConversationResponseEventStream, 16]],
|
|
597
|
+
];
|
|
598
|
+
export var TextInputEvent = [3, n0, _TIE, 0, [_t, _eI, _cTM], [[() => Text, 0], 0, 1]];
|
|
599
|
+
export var TextResponseEvent = [3, n0, _TRE, 0, [_me, _eI], [[() => Messages, 0], 0]];
|
|
600
|
+
export var ThrottlingException = [
|
|
601
|
+
-3,
|
|
602
|
+
n0,
|
|
603
|
+
_TE,
|
|
604
|
+
{
|
|
605
|
+
[_e]: _c,
|
|
606
|
+
[_hE]: 429,
|
|
607
|
+
},
|
|
608
|
+
[_m],
|
|
609
|
+
[0],
|
|
610
|
+
];
|
|
611
|
+
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
612
|
+
export var TranscriptEvent = [3, n0, _TEr, 0, [_tr, _eI], [0, 0]];
|
|
613
|
+
export var ValidationException = [
|
|
614
|
+
-3,
|
|
615
|
+
n0,
|
|
616
|
+
_VE,
|
|
617
|
+
{
|
|
618
|
+
[_e]: _c,
|
|
619
|
+
[_hE]: 400,
|
|
620
|
+
},
|
|
621
|
+
[_m],
|
|
622
|
+
[0],
|
|
623
|
+
];
|
|
624
|
+
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
625
|
+
export var Value = [3, n0, _V, 0, [_oV, _iV, _rV], [0, 0, 64 | 0]];
|
|
626
|
+
export var __Unit = "unit";
|
|
627
|
+
export var LexRuntimeV2ServiceException = [-3, _sm, "LexRuntimeV2ServiceException", 0, [], []];
|
|
628
|
+
TypeRegistry.for(_sm).registerError(LexRuntimeV2ServiceException, __LexRuntimeV2ServiceException);
|
|
629
|
+
export var ActiveContextsList = [1, n0, _ACL, 0, [() => ActiveContext, 0]];
|
|
630
|
+
export var ButtonsList = [1, n0, _BL, 0, () => Button];
|
|
631
|
+
export var Interpretations = [1, n0, _Int, 0, () => Interpretation];
|
|
632
|
+
export var Messages = [1, n0, _Me, 0, [() => Message, 0]];
|
|
633
|
+
export var RuntimeHintValuesList = [1, n0, _RHVL, 0, () => RuntimeHintValue];
|
|
634
|
+
export var StringList = 64 | 0;
|
|
635
|
+
export var Values = [1, n0, _Va, 0, () => Slot];
|
|
636
|
+
export var ActiveContextParametersMap = [2, n0, _ACPM, 0, [0, 0], [() => Text, 0]];
|
|
637
|
+
export var SlotHintsIntentMap = [2, n0, _SHIM, 0, 0, () => SlotHintsSlotMap];
|
|
638
|
+
export var SlotHintsSlotMap = [2, n0, _SHSM, 0, 0, () => RuntimeHintDetails];
|
|
639
|
+
export var Slots = [2, n0, _Sl, 0, 0, () => Slot];
|
|
640
|
+
export var StringMap = 128 | 0;
|
|
641
|
+
export var StartConversationRequestEventStream = [
|
|
642
|
+
3,
|
|
643
|
+
n0,
|
|
644
|
+
_SCRES,
|
|
645
|
+
{
|
|
646
|
+
[_s]: 1,
|
|
647
|
+
},
|
|
648
|
+
[_CE, _AIE, _DTMFIE, _TIE, _PCE, _DE],
|
|
649
|
+
[
|
|
650
|
+
[() => ConfigurationEvent, 0],
|
|
651
|
+
() => AudioInputEvent,
|
|
652
|
+
[() => DTMFInputEvent, 0],
|
|
653
|
+
[() => TextInputEvent, 0],
|
|
654
|
+
() => PlaybackCompletionEvent,
|
|
655
|
+
() => DisconnectionEvent,
|
|
656
|
+
],
|
|
657
|
+
];
|
|
658
|
+
export var StartConversationResponseEventStream = [
|
|
659
|
+
3,
|
|
660
|
+
n0,
|
|
661
|
+
_SCRESt,
|
|
662
|
+
{
|
|
663
|
+
[_s]: 1,
|
|
664
|
+
},
|
|
665
|
+
[_PIE, _TEr, _IRE, _TRE, _ARE, _HE, _ADE, _RNFE, _VE, _TE, _ISE, _CEo, _DFE, _BGE],
|
|
666
|
+
[
|
|
667
|
+
() => PlaybackInterruptionEvent,
|
|
668
|
+
() => TranscriptEvent,
|
|
669
|
+
[() => IntentResultEvent, 0],
|
|
670
|
+
[() => TextResponseEvent, 0],
|
|
671
|
+
() => AudioResponseEvent,
|
|
672
|
+
() => HeartbeatEvent,
|
|
673
|
+
[() => AccessDeniedException, 0],
|
|
674
|
+
[() => ResourceNotFoundException, 0],
|
|
675
|
+
[() => ValidationException, 0],
|
|
676
|
+
[() => ThrottlingException, 0],
|
|
677
|
+
[() => InternalServerException, 0],
|
|
678
|
+
[() => ConflictException, 0],
|
|
679
|
+
[() => DependencyFailedException, 0],
|
|
680
|
+
[() => BadGatewayException, 0],
|
|
681
|
+
],
|
|
682
|
+
];
|
|
683
|
+
export var DeleteSession = [
|
|
684
|
+
9,
|
|
685
|
+
n0,
|
|
686
|
+
_DS,
|
|
687
|
+
{
|
|
688
|
+
[_h]: ["DELETE", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200],
|
|
689
|
+
},
|
|
690
|
+
() => DeleteSessionRequest,
|
|
691
|
+
() => DeleteSessionResponse,
|
|
692
|
+
];
|
|
693
|
+
export var GetSession = [
|
|
694
|
+
9,
|
|
695
|
+
n0,
|
|
696
|
+
_GS,
|
|
697
|
+
{
|
|
698
|
+
[_h]: ["GET", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200],
|
|
699
|
+
},
|
|
700
|
+
() => GetSessionRequest,
|
|
701
|
+
() => GetSessionResponse,
|
|
702
|
+
];
|
|
703
|
+
export var PutSession = [
|
|
704
|
+
9,
|
|
705
|
+
n0,
|
|
706
|
+
_PS,
|
|
707
|
+
{
|
|
708
|
+
[_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200],
|
|
709
|
+
},
|
|
710
|
+
() => PutSessionRequest,
|
|
711
|
+
() => PutSessionResponse,
|
|
712
|
+
];
|
|
713
|
+
export var RecognizeText = [
|
|
714
|
+
9,
|
|
715
|
+
n0,
|
|
716
|
+
_RT,
|
|
717
|
+
{
|
|
718
|
+
[_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text", 200],
|
|
719
|
+
},
|
|
720
|
+
() => RecognizeTextRequest,
|
|
721
|
+
() => RecognizeTextResponse,
|
|
722
|
+
];
|
|
723
|
+
export var RecognizeUtterance = [
|
|
724
|
+
9,
|
|
725
|
+
n0,
|
|
726
|
+
_RU,
|
|
727
|
+
{
|
|
728
|
+
[_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance", 200],
|
|
729
|
+
},
|
|
730
|
+
() => RecognizeUtteranceRequest,
|
|
731
|
+
() => RecognizeUtteranceResponse,
|
|
732
|
+
];
|
|
733
|
+
export var StartConversation = [
|
|
734
|
+
9,
|
|
735
|
+
n0,
|
|
736
|
+
_SC,
|
|
737
|
+
{
|
|
738
|
+
[_h]: [
|
|
739
|
+
"POST",
|
|
740
|
+
"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/conversation",
|
|
741
|
+
200,
|
|
742
|
+
],
|
|
743
|
+
},
|
|
744
|
+
() => StartConversationRequest,
|
|
745
|
+
() => StartConversationResponse,
|
|
746
|
+
];
|