@aws-sdk/client-lex-runtime-v2 3.957.0 → 3.958.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/README.md +1 -11
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +260 -284
- package/dist-cjs/runtimeConfig.browser.js +4 -6
- package/dist-cjs/runtimeConfig.js +6 -9
- package/dist-cjs/runtimeConfig.native.js +3 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/commands/StartConversationCommand.js +4 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +8 -11
- package/dist-es/runtimeConfig.native.js +3 -4
- package/dist-es/schemas/schemas_0.js +256 -283
- package/package.json +2 -2
|
@@ -175,360 +175,333 @@ var BlobStream = [0, n0, _BS, { [_s]: 1 }, 42];
|
|
|
175
175
|
var DTMFRegex = [0, n0, _DTMFR, 8, 0];
|
|
176
176
|
var SensitiveNonEmptyString = [0, n0, _SNES, 8, 0];
|
|
177
177
|
var Text = [0, n0, _T, 8, 0];
|
|
178
|
-
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
178
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
179
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
180
|
+
[_m],
|
|
181
|
+
[0]
|
|
182
|
+
];
|
|
179
183
|
TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
180
|
-
export var ActiveContext$ = [
|
|
181
|
-
3,
|
|
182
|
-
n0,
|
|
183
|
-
_AC,
|
|
184
|
+
export var ActiveContext$ = [3, n0, _AC,
|
|
184
185
|
0,
|
|
185
186
|
[_n, _tTL, _cA],
|
|
186
|
-
[0, () => ActiveContextTimeToLive$, [() => ActiveContextParametersMap, 0]]
|
|
187
|
+
[0, () => ActiveContextTimeToLive$, [() => ActiveContextParametersMap, 0]]
|
|
188
|
+
];
|
|
189
|
+
export var ActiveContextTimeToLive$ = [3, n0, _ACTTL,
|
|
190
|
+
0,
|
|
191
|
+
[_tTLIS, _tTLu],
|
|
192
|
+
[1, 1]
|
|
193
|
+
];
|
|
194
|
+
export var AudioInputEvent$ = [3, n0, _AIE,
|
|
195
|
+
0,
|
|
196
|
+
[_aC, _cT, _eI, _cTM],
|
|
197
|
+
[21, 0, 0, 1]
|
|
198
|
+
];
|
|
199
|
+
export var AudioResponseEvent$ = [3, n0, _ARE,
|
|
200
|
+
0,
|
|
201
|
+
[_aC, _cT, _eI],
|
|
202
|
+
[21, 0, 0]
|
|
203
|
+
];
|
|
204
|
+
export var BadGatewayException$ = [-3, n0, _BGE,
|
|
205
|
+
{ [_e]: _se, [_hE]: 502 },
|
|
206
|
+
[_m],
|
|
207
|
+
[0]
|
|
187
208
|
];
|
|
188
|
-
export var ActiveContextTimeToLive$ = [3, n0, _ACTTL, 0, [_tTLIS, _tTLu], [1, 1]];
|
|
189
|
-
export var AudioInputEvent$ = [3, n0, _AIE, 0, [_aC, _cT, _eI, _cTM], [21, 0, 0, 1]];
|
|
190
|
-
export var AudioResponseEvent$ = [3, n0, _ARE, 0, [_aC, _cT, _eI], [21, 0, 0]];
|
|
191
|
-
export var BadGatewayException$ = [-3, n0, _BGE, { [_e]: _se, [_hE]: 502 }, [_m], [0]];
|
|
192
209
|
TypeRegistry.for(n0).registerError(BadGatewayException$, BadGatewayException);
|
|
193
|
-
export var Button$ = [3, n0, _B,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
210
|
+
export var Button$ = [3, n0, _B,
|
|
211
|
+
0,
|
|
212
|
+
[_t, _v],
|
|
213
|
+
[0, 0]
|
|
214
|
+
];
|
|
215
|
+
export var ConfidenceScore$ = [3, n0, _CS,
|
|
216
|
+
0,
|
|
217
|
+
[_sc],
|
|
218
|
+
[1]
|
|
219
|
+
];
|
|
220
|
+
export var ConfigurationEvent$ = [3, n0, _CE,
|
|
199
221
|
0,
|
|
200
222
|
[_rA, _rCT, _sS, _wM, _dP, _eI, _cTM],
|
|
201
|
-
[128 | 0, 0, [() => SessionState$, 0], [() => Messages, 0], 2, 0, 1]
|
|
223
|
+
[128 | 0, 0, [() => SessionState$, 0], [() => Messages, 0], 2, 0, 1]
|
|
224
|
+
];
|
|
225
|
+
export var ConflictException$ = [-3, n0, _CEo,
|
|
226
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
227
|
+
[_m],
|
|
228
|
+
[0]
|
|
202
229
|
];
|
|
203
|
-
export var ConflictException$ = [-3, n0, _CEo, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
204
230
|
TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
205
|
-
export var DeleteSessionRequest$ = [
|
|
206
|
-
3,
|
|
207
|
-
n0,
|
|
208
|
-
_DSR,
|
|
231
|
+
export var DeleteSessionRequest$ = [3, n0, _DSR,
|
|
209
232
|
0,
|
|
210
233
|
[_bI, _bAI, _lI, _sI],
|
|
211
|
-
[
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
]
|
|
217
|
-
];
|
|
218
|
-
export var
|
|
219
|
-
|
|
234
|
+
[[0, 1], [0, 1], [0, 1], [0, 1]]
|
|
235
|
+
];
|
|
236
|
+
export var DeleteSessionResponse$ = [3, n0, _DSRe,
|
|
237
|
+
0,
|
|
238
|
+
[_bI, _bAI, _lI, _sI],
|
|
239
|
+
[0, 0, 0, 0]
|
|
240
|
+
];
|
|
241
|
+
export var DependencyFailedException$ = [-3, n0, _DFE,
|
|
242
|
+
{ [_e]: _c, [_hE]: 424 },
|
|
243
|
+
[_m],
|
|
244
|
+
[0]
|
|
245
|
+
];
|
|
220
246
|
TypeRegistry.for(n0).registerError(DependencyFailedException$, DependencyFailedException);
|
|
221
|
-
export var DialogAction$ = [
|
|
222
|
-
3,
|
|
223
|
-
n0,
|
|
224
|
-
_DA,
|
|
247
|
+
export var DialogAction$ = [3, n0, _DA,
|
|
225
248
|
0,
|
|
226
249
|
[_ty, _sTE, _sES, _sSTE],
|
|
227
|
-
[0, 0, 0, () => ElicitSubSlot$]
|
|
250
|
+
[0, 0, 0, () => ElicitSubSlot$]
|
|
251
|
+
];
|
|
252
|
+
export var DisconnectionEvent$ = [3, n0, _DE,
|
|
253
|
+
0,
|
|
254
|
+
[_eI, _cTM],
|
|
255
|
+
[0, 1]
|
|
256
|
+
];
|
|
257
|
+
export var DTMFInputEvent$ = [3, n0, _DTMFIE,
|
|
258
|
+
0,
|
|
259
|
+
[_iC, _eI, _cTM],
|
|
260
|
+
[[() => DTMFRegex, 0], 0, 1]
|
|
261
|
+
];
|
|
262
|
+
export var ElicitSubSlot$ = [3, n0, _ESS,
|
|
263
|
+
0,
|
|
264
|
+
[_n, _sSTE],
|
|
265
|
+
[0, () => ElicitSubSlot$]
|
|
228
266
|
];
|
|
229
|
-
export var
|
|
230
|
-
export var DTMFInputEvent$ = [3, n0, _DTMFIE, 0, [_iC, _eI, _cTM], [[() => DTMFRegex, 0], 0, 1]];
|
|
231
|
-
export var ElicitSubSlot$ = [3, n0, _ESS, 0, [_n, _sSTE], [0, () => ElicitSubSlot$]];
|
|
232
|
-
export var GetSessionRequest$ = [
|
|
233
|
-
3,
|
|
234
|
-
n0,
|
|
235
|
-
_GSR,
|
|
267
|
+
export var GetSessionRequest$ = [3, n0, _GSR,
|
|
236
268
|
0,
|
|
237
269
|
[_bI, _bAI, _lI, _sI],
|
|
238
|
-
[
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
[0, 1],
|
|
242
|
-
[0, 1],
|
|
243
|
-
],
|
|
244
|
-
];
|
|
245
|
-
export var GetSessionResponse$ = [
|
|
246
|
-
3,
|
|
247
|
-
n0,
|
|
248
|
-
_GSRe,
|
|
270
|
+
[[0, 1], [0, 1], [0, 1], [0, 1]]
|
|
271
|
+
];
|
|
272
|
+
export var GetSessionResponse$ = [3, n0, _GSRe,
|
|
249
273
|
0,
|
|
250
274
|
[_sI, _me, _i, _sS],
|
|
251
|
-
[0, [() => Messages, 0], () => Interpretations, [() => SessionState$, 0]]
|
|
275
|
+
[0, [() => Messages, 0], () => Interpretations, [() => SessionState$, 0]]
|
|
276
|
+
];
|
|
277
|
+
export var HeartbeatEvent$ = [3, n0, _HE,
|
|
278
|
+
0,
|
|
279
|
+
[_eI],
|
|
280
|
+
[0]
|
|
252
281
|
];
|
|
253
|
-
export var
|
|
254
|
-
export var ImageResponseCard$ = [
|
|
255
|
-
3,
|
|
256
|
-
n0,
|
|
257
|
-
_IRC,
|
|
282
|
+
export var ImageResponseCard$ = [3, n0, _IRC,
|
|
258
283
|
0,
|
|
259
284
|
[_ti, _su, _iU, _b],
|
|
260
|
-
[0, 0, 0, () => ButtonsList]
|
|
285
|
+
[0, 0, 0, () => ButtonsList]
|
|
286
|
+
];
|
|
287
|
+
export var Intent$ = [3, n0, _I,
|
|
288
|
+
0,
|
|
289
|
+
[_n, _sl, _st, _cS],
|
|
290
|
+
[0, () => Slots, 0, 0]
|
|
261
291
|
];
|
|
262
|
-
export var
|
|
263
|
-
export var IntentResultEvent$ = [
|
|
264
|
-
3,
|
|
265
|
-
n0,
|
|
266
|
-
_IRE,
|
|
292
|
+
export var IntentResultEvent$ = [3, n0, _IRE,
|
|
267
293
|
0,
|
|
268
294
|
[_iM, _i, _sS, _rA, _sI, _eI, _rBM],
|
|
269
|
-
[0, () => Interpretations, [() => SessionState$, 0], 128 | 0, 0, 0, () => RecognizedBotMember$]
|
|
295
|
+
[0, () => Interpretations, [() => SessionState$, 0], 128 | 0, 0, 0, () => RecognizedBotMember$]
|
|
296
|
+
];
|
|
297
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
298
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
299
|
+
[_m],
|
|
300
|
+
[0]
|
|
270
301
|
];
|
|
271
|
-
export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
|
|
272
302
|
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
273
|
-
export var Interpretation$ = [
|
|
274
|
-
3,
|
|
275
|
-
n0,
|
|
276
|
-
_In,
|
|
303
|
+
export var Interpretation$ = [3, n0, _In,
|
|
277
304
|
0,
|
|
278
305
|
[_nC, _sR, _in, _iS],
|
|
279
|
-
[() => ConfidenceScore$, () => SentimentResponse$, () => Intent$, 0]
|
|
306
|
+
[() => ConfidenceScore$, () => SentimentResponse$, () => Intent$, 0]
|
|
280
307
|
];
|
|
281
|
-
export var Message$ = [
|
|
282
|
-
3,
|
|
283
|
-
n0,
|
|
284
|
-
_M,
|
|
308
|
+
export var Message$ = [3, n0, _M,
|
|
285
309
|
0,
|
|
286
310
|
[_co, _cT, _iRC],
|
|
287
|
-
[[() => Text, 0], 0, () => ImageResponseCard$]
|
|
311
|
+
[[() => Text, 0], 0, () => ImageResponseCard$]
|
|
312
|
+
];
|
|
313
|
+
export var PlaybackCompletionEvent$ = [3, n0, _PCE,
|
|
314
|
+
0,
|
|
315
|
+
[_eI, _cTM],
|
|
316
|
+
[0, 1]
|
|
317
|
+
];
|
|
318
|
+
export var PlaybackInterruptionEvent$ = [3, n0, _PIE,
|
|
319
|
+
0,
|
|
320
|
+
[_eR, _cBEI, _eI],
|
|
321
|
+
[0, 0, 0]
|
|
288
322
|
];
|
|
289
|
-
export var
|
|
290
|
-
export var PlaybackInterruptionEvent$ = [3, n0, _PIE, 0, [_eR, _cBEI, _eI], [0, 0, 0]];
|
|
291
|
-
export var PutSessionRequest$ = [
|
|
292
|
-
3,
|
|
293
|
-
n0,
|
|
294
|
-
_PSR,
|
|
323
|
+
export var PutSessionRequest$ = [3, n0, _PSR,
|
|
295
324
|
0,
|
|
296
325
|
[_bI, _bAI, _lI, _sI, _me, _sS, _rA, _rCT],
|
|
297
|
-
[[0, 1], [0, 1], [0, 1], [0, 1], [() => Messages, 0], [() => SessionState$, 0], 128 | 0, [0, { [_hH]: _RCT }]]
|
|
326
|
+
[[0, 1], [0, 1], [0, 1], [0, 1], [() => Messages, 0], [() => SessionState$, 0], 128 | 0, [0, { [_hH]: _RCT }]]
|
|
298
327
|
];
|
|
299
|
-
export var PutSessionResponse$ = [
|
|
300
|
-
3,
|
|
301
|
-
n0,
|
|
302
|
-
_PSRu,
|
|
328
|
+
export var PutSessionResponse$ = [3, n0, _PSRu,
|
|
303
329
|
0,
|
|
304
330
|
[_cT, _me, _sS, _rA, _sI, _aS],
|
|
305
|
-
[
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
];
|
|
314
|
-
export var RecognizedBotMember$ = [3, n0, _RBM, 0, [_bI, _bN], [0, 0]];
|
|
315
|
-
export var RecognizeTextRequest$ = [
|
|
316
|
-
3,
|
|
317
|
-
n0,
|
|
318
|
-
_RTR,
|
|
331
|
+
[[0, { [_hH]: _CT }], [0, { [_hH]: _xalm }], [0, { [_hH]: _xalss }], [0, { [_hH]: _xalra }], [0, { [_hH]: _xalsi }], [() => BlobStream, 16]]
|
|
332
|
+
];
|
|
333
|
+
export var RecognizedBotMember$ = [3, n0, _RBM,
|
|
334
|
+
0,
|
|
335
|
+
[_bI, _bN],
|
|
336
|
+
[0, 0]
|
|
337
|
+
];
|
|
338
|
+
export var RecognizeTextRequest$ = [3, n0, _RTR,
|
|
319
339
|
0,
|
|
320
340
|
[_bI, _bAI, _lI, _sI, _t, _sS, _rA],
|
|
321
|
-
[[0, 1], [0, 1], [0, 1], [0, 1], [() => Text, 0], [() => SessionState$, 0], 128 | 0]
|
|
341
|
+
[[0, 1], [0, 1], [0, 1], [0, 1], [() => Text, 0], [() => SessionState$, 0], 128 | 0]
|
|
322
342
|
];
|
|
323
|
-
export var RecognizeTextResponse$ = [
|
|
324
|
-
3,
|
|
325
|
-
n0,
|
|
326
|
-
_RTRe,
|
|
343
|
+
export var RecognizeTextResponse$ = [3, n0, _RTRe,
|
|
327
344
|
0,
|
|
328
345
|
[_me, _sS, _i, _rA, _sI, _rBM],
|
|
329
|
-
[[() => Messages, 0], [() => SessionState$, 0], () => Interpretations, 128 | 0, 0, () => RecognizedBotMember$]
|
|
346
|
+
[[() => Messages, 0], [() => SessionState$, 0], () => Interpretations, 128 | 0, 0, () => RecognizedBotMember$]
|
|
330
347
|
];
|
|
331
|
-
export var RecognizeUtteranceRequest$ = [
|
|
332
|
-
3,
|
|
333
|
-
n0,
|
|
334
|
-
_RUR,
|
|
348
|
+
export var RecognizeUtteranceRequest$ = [3, n0, _RUR,
|
|
335
349
|
0,
|
|
336
350
|
[_bI, _bAI, _lI, _sI, _sS, _rA, _rCTe, _rCT, _iSn],
|
|
337
|
-
[
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
[0, 1],
|
|
341
|
-
[0, 1],
|
|
342
|
-
[() => SensitiveNonEmptyString, { [_hH]: _xalss }],
|
|
343
|
-
[() => SensitiveNonEmptyString, { [_hH]: _xalra }],
|
|
344
|
-
[0, { [_hH]: _CT }],
|
|
345
|
-
[0, { [_hH]: _RCT_ }],
|
|
346
|
-
[() => BlobStream, 16],
|
|
347
|
-
],
|
|
348
|
-
];
|
|
349
|
-
export var RecognizeUtteranceResponse$ = [
|
|
350
|
-
3,
|
|
351
|
-
n0,
|
|
352
|
-
_RURe,
|
|
351
|
+
[[0, 1], [0, 1], [0, 1], [0, 1], [() => SensitiveNonEmptyString, { [_hH]: _xalss }], [() => SensitiveNonEmptyString, { [_hH]: _xalra }], [0, { [_hH]: _CT }], [0, { [_hH]: _RCT_ }], [() => BlobStream, 16]]
|
|
352
|
+
];
|
|
353
|
+
export var RecognizeUtteranceResponse$ = [3, n0, _RURe,
|
|
353
354
|
0,
|
|
354
355
|
[_iM, _cT, _me, _i, _sS, _rA, _sI, _iT, _aS, _rBM],
|
|
355
|
-
[
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
[0, { [_hH]: _xalsi }],
|
|
363
|
-
[0, { [_hH]: _xalit }],
|
|
364
|
-
[() => BlobStream, 16],
|
|
365
|
-
[0, { [_hH]: _xalrbm }],
|
|
366
|
-
],
|
|
367
|
-
];
|
|
368
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
356
|
+
[[0, { [_hH]: _xalim }], [0, { [_hH]: _CT }], [0, { [_hH]: _xalm }], [0, { [_hH]: _xali }], [0, { [_hH]: _xalss }], [0, { [_hH]: _xalra }], [0, { [_hH]: _xalsi }], [0, { [_hH]: _xalit }], [() => BlobStream, 16], [0, { [_hH]: _xalrbm }]]
|
|
357
|
+
];
|
|
358
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
359
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
360
|
+
[_m],
|
|
361
|
+
[0]
|
|
362
|
+
];
|
|
369
363
|
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
370
|
-
export var RuntimeHintDetails$ = [
|
|
371
|
-
3,
|
|
372
|
-
n0,
|
|
373
|
-
_RHD,
|
|
364
|
+
export var RuntimeHintDetails$ = [3, n0, _RHD,
|
|
374
365
|
0,
|
|
375
366
|
[_rHV, _sSH],
|
|
376
|
-
[() => RuntimeHintValuesList, () => SlotHintsSlotMap]
|
|
367
|
+
[() => RuntimeHintValuesList, () => SlotHintsSlotMap]
|
|
368
|
+
];
|
|
369
|
+
export var RuntimeHints$ = [3, n0, _RH,
|
|
370
|
+
0,
|
|
371
|
+
[_sH],
|
|
372
|
+
[() => SlotHintsIntentMap]
|
|
373
|
+
];
|
|
374
|
+
export var RuntimeHintValue$ = [3, n0, _RHV,
|
|
375
|
+
0,
|
|
376
|
+
[_p],
|
|
377
|
+
[0]
|
|
378
|
+
];
|
|
379
|
+
export var SentimentResponse$ = [3, n0, _SR,
|
|
380
|
+
0,
|
|
381
|
+
[_sen, _sSe],
|
|
382
|
+
[0, () => SentimentScore$]
|
|
383
|
+
];
|
|
384
|
+
export var SentimentScore$ = [3, n0, _SS,
|
|
385
|
+
0,
|
|
386
|
+
[_po, _ne, _neu, _mi],
|
|
387
|
+
[1, 1, 1, 1]
|
|
377
388
|
];
|
|
378
|
-
export var
|
|
379
|
-
export var RuntimeHintValue$ = [3, n0, _RHV, 0, [_p], [0]];
|
|
380
|
-
export var SentimentResponse$ = [3, n0, _SR, 0, [_sen, _sSe], [0, () => SentimentScore$]];
|
|
381
|
-
export var SentimentScore$ = [3, n0, _SS, 0, [_po, _ne, _neu, _mi], [1, 1, 1, 1]];
|
|
382
|
-
export var SessionState$ = [
|
|
383
|
-
3,
|
|
384
|
-
n0,
|
|
385
|
-
_SSe,
|
|
389
|
+
export var SessionState$ = [3, n0, _SSe,
|
|
386
390
|
0,
|
|
387
391
|
[_dA, _in, _aCc, _sA, _oRI, _rH],
|
|
388
|
-
[() => DialogAction$, () => Intent$, [() => ActiveContextsList, 0], 128 | 0, 0, () => RuntimeHints$]
|
|
392
|
+
[() => DialogAction$, () => Intent$, [() => ActiveContextsList, 0], 128 | 0, 0, () => RuntimeHints$]
|
|
389
393
|
];
|
|
390
|
-
export var Slot$ = [
|
|
391
|
-
3,
|
|
392
|
-
n0,
|
|
393
|
-
_S,
|
|
394
|
+
export var Slot$ = [3, n0, _S,
|
|
394
395
|
0,
|
|
395
396
|
[_v, _sh, _va, _sSu],
|
|
396
|
-
[() => Value$, 0, () => Values, () => Slots]
|
|
397
|
+
[() => Value$, 0, () => Values, () => Slots]
|
|
397
398
|
];
|
|
398
|
-
export var StartConversationRequest$ = [
|
|
399
|
-
3,
|
|
400
|
-
n0,
|
|
401
|
-
_SCR,
|
|
399
|
+
export var StartConversationRequest$ = [3, n0, _SCR,
|
|
402
400
|
0,
|
|
403
401
|
[_bI, _bAI, _lI, _sI, _cM, _rES],
|
|
404
|
-
[
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
[0, 1],
|
|
408
|
-
[0, 1],
|
|
409
|
-
[0, { [_hH]: _xalcm }],
|
|
410
|
-
[() => StartConversationRequestEventStream$, 16],
|
|
411
|
-
],
|
|
412
|
-
];
|
|
413
|
-
export var StartConversationResponse$ = [
|
|
414
|
-
3,
|
|
415
|
-
n0,
|
|
416
|
-
_SCRt,
|
|
402
|
+
[[0, 1], [0, 1], [0, 1], [0, 1], [0, { [_hH]: _xalcm }], [() => StartConversationRequestEventStream$, 16]]
|
|
403
|
+
];
|
|
404
|
+
export var StartConversationResponse$ = [3, n0, _SCRt,
|
|
417
405
|
0,
|
|
418
406
|
[_rESe],
|
|
419
|
-
[[() => StartConversationResponseEventStream$, 16]]
|
|
407
|
+
[[() => StartConversationResponseEventStream$, 16]]
|
|
408
|
+
];
|
|
409
|
+
export var TextInputEvent$ = [3, n0, _TIE,
|
|
410
|
+
0,
|
|
411
|
+
[_t, _eI, _cTM],
|
|
412
|
+
[[() => Text, 0], 0, 1]
|
|
413
|
+
];
|
|
414
|
+
export var TextResponseEvent$ = [3, n0, _TRE,
|
|
415
|
+
0,
|
|
416
|
+
[_me, _eI],
|
|
417
|
+
[[() => Messages, 0], 0]
|
|
418
|
+
];
|
|
419
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
420
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
421
|
+
[_m],
|
|
422
|
+
[0]
|
|
420
423
|
];
|
|
421
|
-
export var TextInputEvent$ = [3, n0, _TIE, 0, [_t, _eI, _cTM], [[() => Text, 0], 0, 1]];
|
|
422
|
-
export var TextResponseEvent$ = [3, n0, _TRE, 0, [_me, _eI], [[() => Messages, 0], 0]];
|
|
423
|
-
export var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
|
|
424
424
|
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
425
|
-
export var TranscriptEvent$ = [3, n0, _TEr,
|
|
426
|
-
|
|
425
|
+
export var TranscriptEvent$ = [3, n0, _TEr,
|
|
426
|
+
0,
|
|
427
|
+
[_tr, _eI],
|
|
428
|
+
[0, 0]
|
|
429
|
+
];
|
|
430
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
431
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
432
|
+
[_m],
|
|
433
|
+
[0]
|
|
434
|
+
];
|
|
427
435
|
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
428
|
-
export var Value$ = [3, n0, _V,
|
|
436
|
+
export var Value$ = [3, n0, _V,
|
|
437
|
+
0,
|
|
438
|
+
[_oV, _iV, _rV],
|
|
439
|
+
[0, 0, 64 | 0]
|
|
440
|
+
];
|
|
429
441
|
export var LexRuntimeV2ServiceException$ = [-3, _sm, "LexRuntimeV2ServiceException", 0, [], []];
|
|
430
442
|
TypeRegistry.for(_sm).registerError(LexRuntimeV2ServiceException$, LexRuntimeV2ServiceException);
|
|
431
|
-
var ActiveContextsList = [1, n0, _ACL,
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
var
|
|
443
|
+
var ActiveContextsList = [1, n0, _ACL,
|
|
444
|
+
0, [() => ActiveContext$,
|
|
445
|
+
0]
|
|
446
|
+
];
|
|
447
|
+
var ButtonsList = [1, n0, _BL,
|
|
448
|
+
0, () => Button$
|
|
449
|
+
];
|
|
450
|
+
var Interpretations = [1, n0, _Int,
|
|
451
|
+
0, () => Interpretation$
|
|
452
|
+
];
|
|
453
|
+
var Messages = [1, n0, _Me,
|
|
454
|
+
0, [() => Message$,
|
|
455
|
+
0]
|
|
456
|
+
];
|
|
457
|
+
var RuntimeHintValuesList = [1, n0, _RHVL,
|
|
458
|
+
0, () => RuntimeHintValue$
|
|
459
|
+
];
|
|
436
460
|
var StringList = 64 | 0;
|
|
437
|
-
var Values = [1, n0, _Va,
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
var
|
|
441
|
-
|
|
461
|
+
var Values = [1, n0, _Va,
|
|
462
|
+
0, () => Slot$
|
|
463
|
+
];
|
|
464
|
+
var ActiveContextParametersMap = [2, n0, _ACPM,
|
|
465
|
+
0, [0,
|
|
466
|
+
0],
|
|
467
|
+
[() => Text,
|
|
468
|
+
0]
|
|
469
|
+
];
|
|
470
|
+
var SlotHintsIntentMap = [2, n0, _SHIM,
|
|
471
|
+
0, 0, () => SlotHintsSlotMap
|
|
472
|
+
];
|
|
473
|
+
var SlotHintsSlotMap = [2, n0, _SHSM,
|
|
474
|
+
0, 0, () => RuntimeHintDetails$
|
|
475
|
+
];
|
|
476
|
+
var Slots = [2, n0, _Sl,
|
|
477
|
+
0, 0, () => Slot$
|
|
478
|
+
];
|
|
442
479
|
var StringMap = 128 | 0;
|
|
443
|
-
export var StartConversationRequestEventStream$ = [
|
|
444
|
-
4,
|
|
445
|
-
n0,
|
|
446
|
-
_SCRES,
|
|
480
|
+
export var StartConversationRequestEventStream$ = [4, n0, _SCRES,
|
|
447
481
|
{ [_s]: 1 },
|
|
448
482
|
[_CE, _AIE, _DTMFIE, _TIE, _PCE, _DE],
|
|
449
|
-
[
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
[() => DTMFInputEvent$, 0],
|
|
453
|
-
[() => TextInputEvent$, 0],
|
|
454
|
-
() => PlaybackCompletionEvent$,
|
|
455
|
-
() => DisconnectionEvent$,
|
|
456
|
-
],
|
|
457
|
-
];
|
|
458
|
-
export var StartConversationResponseEventStream$ = [
|
|
459
|
-
4,
|
|
460
|
-
n0,
|
|
461
|
-
_SCRESt,
|
|
483
|
+
[[() => ConfigurationEvent$, 0], () => AudioInputEvent$, [() => DTMFInputEvent$, 0], [() => TextInputEvent$, 0], () => PlaybackCompletionEvent$, () => DisconnectionEvent$]
|
|
484
|
+
];
|
|
485
|
+
export var StartConversationResponseEventStream$ = [4, n0, _SCRESt,
|
|
462
486
|
{ [_s]: 1 },
|
|
463
487
|
[_PIE, _TEr, _IRE, _TRE, _ARE, _HE, _ADE, _RNFE, _VE, _TE, _ISE, _CEo, _DFE, _BGE],
|
|
464
|
-
[
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
],
|
|
480
|
-
];
|
|
481
|
-
export var
|
|
482
|
-
|
|
483
|
-
n0,
|
|
484
|
-
_DS,
|
|
485
|
-
{ [_h]: ["DELETE", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200] },
|
|
486
|
-
() => DeleteSessionRequest$,
|
|
487
|
-
() => DeleteSessionResponse$,
|
|
488
|
-
];
|
|
489
|
-
export var GetSession$ = [
|
|
490
|
-
9,
|
|
491
|
-
n0,
|
|
492
|
-
_GS,
|
|
493
|
-
{ [_h]: ["GET", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200] },
|
|
494
|
-
() => GetSessionRequest$,
|
|
495
|
-
() => GetSessionResponse$,
|
|
496
|
-
];
|
|
497
|
-
export var PutSession$ = [
|
|
498
|
-
9,
|
|
499
|
-
n0,
|
|
500
|
-
_PS,
|
|
501
|
-
{ [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200] },
|
|
502
|
-
() => PutSessionRequest$,
|
|
503
|
-
() => PutSessionResponse$,
|
|
504
|
-
];
|
|
505
|
-
export var RecognizeText$ = [
|
|
506
|
-
9,
|
|
507
|
-
n0,
|
|
508
|
-
_RT,
|
|
509
|
-
{ [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text", 200] },
|
|
510
|
-
() => RecognizeTextRequest$,
|
|
511
|
-
() => RecognizeTextResponse$,
|
|
512
|
-
];
|
|
513
|
-
export var RecognizeUtterance$ = [
|
|
514
|
-
9,
|
|
515
|
-
n0,
|
|
516
|
-
_RU,
|
|
517
|
-
{ [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance", 200] },
|
|
518
|
-
() => RecognizeUtteranceRequest$,
|
|
519
|
-
() => RecognizeUtteranceResponse$,
|
|
520
|
-
];
|
|
521
|
-
export var StartConversation$ = [
|
|
522
|
-
9,
|
|
523
|
-
n0,
|
|
524
|
-
_SC,
|
|
525
|
-
{
|
|
526
|
-
[_h]: [
|
|
527
|
-
"POST",
|
|
528
|
-
"/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/conversation",
|
|
529
|
-
200,
|
|
530
|
-
],
|
|
531
|
-
},
|
|
532
|
-
() => StartConversationRequest$,
|
|
533
|
-
() => StartConversationResponse$,
|
|
488
|
+
[() => PlaybackInterruptionEvent$, () => TranscriptEvent$, [() => IntentResultEvent$, 0], [() => TextResponseEvent$, 0], () => AudioResponseEvent$, () => HeartbeatEvent$, [() => AccessDeniedException$, 0], [() => ResourceNotFoundException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => InternalServerException$, 0], [() => ConflictException$, 0], [() => DependencyFailedException$, 0], [() => BadGatewayException$, 0]]
|
|
489
|
+
];
|
|
490
|
+
export var DeleteSession$ = [9, n0, _DS,
|
|
491
|
+
{ [_h]: ["DELETE", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200] }, () => DeleteSessionRequest$, () => DeleteSessionResponse$
|
|
492
|
+
];
|
|
493
|
+
export var GetSession$ = [9, n0, _GS,
|
|
494
|
+
{ [_h]: ["GET", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200] }, () => GetSessionRequest$, () => GetSessionResponse$
|
|
495
|
+
];
|
|
496
|
+
export var PutSession$ = [9, n0, _PS,
|
|
497
|
+
{ [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", 200] }, () => PutSessionRequest$, () => PutSessionResponse$
|
|
498
|
+
];
|
|
499
|
+
export var RecognizeText$ = [9, n0, _RT,
|
|
500
|
+
{ [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text", 200] }, () => RecognizeTextRequest$, () => RecognizeTextResponse$
|
|
501
|
+
];
|
|
502
|
+
export var RecognizeUtterance$ = [9, n0, _RU,
|
|
503
|
+
{ [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance", 200] }, () => RecognizeUtteranceRequest$, () => RecognizeUtteranceResponse$
|
|
504
|
+
];
|
|
505
|
+
export var StartConversation$ = [9, n0, _SC,
|
|
506
|
+
{ [_h]: ["POST", "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/conversation", 200] }, () => StartConversationRequest$, () => StartConversationResponse$
|
|
534
507
|
];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-runtime-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Runtime V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.958.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lex-runtime-v2",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
26
26
|
"@aws-sdk/eventstream-handler-node": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-eventstream": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.957.0",
|