@aws-sdk/client-lex-runtime-v2 3.929.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
CHANGED
|
@@ -278,58 +278,6 @@ const PlaybackInterruptionReason = {
|
|
|
278
278
|
TEXT_DETECTED: "TEXT_DETECTED",
|
|
279
279
|
VOICE_START_DETECTED: "VOICE_START_DETECTED",
|
|
280
280
|
};
|
|
281
|
-
exports.StartConversationRequestEventStream = void 0;
|
|
282
|
-
(function (StartConversationRequestEventStream) {
|
|
283
|
-
StartConversationRequestEventStream.visit = (value, visitor) => {
|
|
284
|
-
if (value.ConfigurationEvent !== undefined)
|
|
285
|
-
return visitor.ConfigurationEvent(value.ConfigurationEvent);
|
|
286
|
-
if (value.AudioInputEvent !== undefined)
|
|
287
|
-
return visitor.AudioInputEvent(value.AudioInputEvent);
|
|
288
|
-
if (value.DTMFInputEvent !== undefined)
|
|
289
|
-
return visitor.DTMFInputEvent(value.DTMFInputEvent);
|
|
290
|
-
if (value.TextInputEvent !== undefined)
|
|
291
|
-
return visitor.TextInputEvent(value.TextInputEvent);
|
|
292
|
-
if (value.PlaybackCompletionEvent !== undefined)
|
|
293
|
-
return visitor.PlaybackCompletionEvent(value.PlaybackCompletionEvent);
|
|
294
|
-
if (value.DisconnectionEvent !== undefined)
|
|
295
|
-
return visitor.DisconnectionEvent(value.DisconnectionEvent);
|
|
296
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
297
|
-
};
|
|
298
|
-
})(exports.StartConversationRequestEventStream || (exports.StartConversationRequestEventStream = {}));
|
|
299
|
-
exports.StartConversationResponseEventStream = void 0;
|
|
300
|
-
(function (StartConversationResponseEventStream) {
|
|
301
|
-
StartConversationResponseEventStream.visit = (value, visitor) => {
|
|
302
|
-
if (value.PlaybackInterruptionEvent !== undefined)
|
|
303
|
-
return visitor.PlaybackInterruptionEvent(value.PlaybackInterruptionEvent);
|
|
304
|
-
if (value.TranscriptEvent !== undefined)
|
|
305
|
-
return visitor.TranscriptEvent(value.TranscriptEvent);
|
|
306
|
-
if (value.IntentResultEvent !== undefined)
|
|
307
|
-
return visitor.IntentResultEvent(value.IntentResultEvent);
|
|
308
|
-
if (value.TextResponseEvent !== undefined)
|
|
309
|
-
return visitor.TextResponseEvent(value.TextResponseEvent);
|
|
310
|
-
if (value.AudioResponseEvent !== undefined)
|
|
311
|
-
return visitor.AudioResponseEvent(value.AudioResponseEvent);
|
|
312
|
-
if (value.HeartbeatEvent !== undefined)
|
|
313
|
-
return visitor.HeartbeatEvent(value.HeartbeatEvent);
|
|
314
|
-
if (value.AccessDeniedException !== undefined)
|
|
315
|
-
return visitor.AccessDeniedException(value.AccessDeniedException);
|
|
316
|
-
if (value.ResourceNotFoundException !== undefined)
|
|
317
|
-
return visitor.ResourceNotFoundException(value.ResourceNotFoundException);
|
|
318
|
-
if (value.ValidationException !== undefined)
|
|
319
|
-
return visitor.ValidationException(value.ValidationException);
|
|
320
|
-
if (value.ThrottlingException !== undefined)
|
|
321
|
-
return visitor.ThrottlingException(value.ThrottlingException);
|
|
322
|
-
if (value.InternalServerException !== undefined)
|
|
323
|
-
return visitor.InternalServerException(value.InternalServerException);
|
|
324
|
-
if (value.ConflictException !== undefined)
|
|
325
|
-
return visitor.ConflictException(value.ConflictException);
|
|
326
|
-
if (value.DependencyFailedException !== undefined)
|
|
327
|
-
return visitor.DependencyFailedException(value.DependencyFailedException);
|
|
328
|
-
if (value.BadGatewayException !== undefined)
|
|
329
|
-
return visitor.BadGatewayException(value.BadGatewayException);
|
|
330
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
331
|
-
};
|
|
332
|
-
})(exports.StartConversationResponseEventStream || (exports.StartConversationResponseEventStream = {}));
|
|
333
281
|
|
|
334
282
|
const _AC = "ActiveContext";
|
|
335
283
|
const _ACL = "ActiveContextsList";
|
|
@@ -156,55 +156,3 @@ export const PlaybackInterruptionReason = {
|
|
|
156
156
|
TEXT_DETECTED: "TEXT_DETECTED",
|
|
157
157
|
VOICE_START_DETECTED: "VOICE_START_DETECTED",
|
|
158
158
|
};
|
|
159
|
-
export var StartConversationRequestEventStream;
|
|
160
|
-
(function (StartConversationRequestEventStream) {
|
|
161
|
-
StartConversationRequestEventStream.visit = (value, visitor) => {
|
|
162
|
-
if (value.ConfigurationEvent !== undefined)
|
|
163
|
-
return visitor.ConfigurationEvent(value.ConfigurationEvent);
|
|
164
|
-
if (value.AudioInputEvent !== undefined)
|
|
165
|
-
return visitor.AudioInputEvent(value.AudioInputEvent);
|
|
166
|
-
if (value.DTMFInputEvent !== undefined)
|
|
167
|
-
return visitor.DTMFInputEvent(value.DTMFInputEvent);
|
|
168
|
-
if (value.TextInputEvent !== undefined)
|
|
169
|
-
return visitor.TextInputEvent(value.TextInputEvent);
|
|
170
|
-
if (value.PlaybackCompletionEvent !== undefined)
|
|
171
|
-
return visitor.PlaybackCompletionEvent(value.PlaybackCompletionEvent);
|
|
172
|
-
if (value.DisconnectionEvent !== undefined)
|
|
173
|
-
return visitor.DisconnectionEvent(value.DisconnectionEvent);
|
|
174
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
175
|
-
};
|
|
176
|
-
})(StartConversationRequestEventStream || (StartConversationRequestEventStream = {}));
|
|
177
|
-
export var StartConversationResponseEventStream;
|
|
178
|
-
(function (StartConversationResponseEventStream) {
|
|
179
|
-
StartConversationResponseEventStream.visit = (value, visitor) => {
|
|
180
|
-
if (value.PlaybackInterruptionEvent !== undefined)
|
|
181
|
-
return visitor.PlaybackInterruptionEvent(value.PlaybackInterruptionEvent);
|
|
182
|
-
if (value.TranscriptEvent !== undefined)
|
|
183
|
-
return visitor.TranscriptEvent(value.TranscriptEvent);
|
|
184
|
-
if (value.IntentResultEvent !== undefined)
|
|
185
|
-
return visitor.IntentResultEvent(value.IntentResultEvent);
|
|
186
|
-
if (value.TextResponseEvent !== undefined)
|
|
187
|
-
return visitor.TextResponseEvent(value.TextResponseEvent);
|
|
188
|
-
if (value.AudioResponseEvent !== undefined)
|
|
189
|
-
return visitor.AudioResponseEvent(value.AudioResponseEvent);
|
|
190
|
-
if (value.HeartbeatEvent !== undefined)
|
|
191
|
-
return visitor.HeartbeatEvent(value.HeartbeatEvent);
|
|
192
|
-
if (value.AccessDeniedException !== undefined)
|
|
193
|
-
return visitor.AccessDeniedException(value.AccessDeniedException);
|
|
194
|
-
if (value.ResourceNotFoundException !== undefined)
|
|
195
|
-
return visitor.ResourceNotFoundException(value.ResourceNotFoundException);
|
|
196
|
-
if (value.ValidationException !== undefined)
|
|
197
|
-
return visitor.ValidationException(value.ValidationException);
|
|
198
|
-
if (value.ThrottlingException !== undefined)
|
|
199
|
-
return visitor.ThrottlingException(value.ThrottlingException);
|
|
200
|
-
if (value.InternalServerException !== undefined)
|
|
201
|
-
return visitor.InternalServerException(value.InternalServerException);
|
|
202
|
-
if (value.ConflictException !== undefined)
|
|
203
|
-
return visitor.ConflictException(value.ConflictException);
|
|
204
|
-
if (value.DependencyFailedException !== undefined)
|
|
205
|
-
return visitor.DependencyFailedException(value.DependencyFailedException);
|
|
206
|
-
if (value.BadGatewayException !== undefined)
|
|
207
|
-
return visitor.BadGatewayException(value.BadGatewayException);
|
|
208
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
209
|
-
};
|
|
210
|
-
})(StartConversationResponseEventStream || (StartConversationResponseEventStream = {}));
|
|
@@ -1724,6 +1724,10 @@ export declare namespace StartConversationRequestEventStream {
|
|
|
1724
1724
|
DisconnectionEvent?: never;
|
|
1725
1725
|
$unknown: [string, any];
|
|
1726
1726
|
}
|
|
1727
|
+
/**
|
|
1728
|
+
* @deprecated unused in schema-serde mode.
|
|
1729
|
+
*
|
|
1730
|
+
*/
|
|
1727
1731
|
interface Visitor<T> {
|
|
1728
1732
|
ConfigurationEvent: (value: ConfigurationEvent) => T;
|
|
1729
1733
|
AudioInputEvent: (value: AudioInputEvent) => T;
|
|
@@ -1733,7 +1737,6 @@ export declare namespace StartConversationRequestEventStream {
|
|
|
1733
1737
|
DisconnectionEvent: (value: DisconnectionEvent) => T;
|
|
1734
1738
|
_: (name: string, value: any) => T;
|
|
1735
1739
|
}
|
|
1736
|
-
const visit: <T>(value: StartConversationRequestEventStream, visitor: Visitor<T>) => T;
|
|
1737
1740
|
}
|
|
1738
1741
|
/**
|
|
1739
1742
|
* @public
|
|
@@ -2250,6 +2253,10 @@ export declare namespace StartConversationResponseEventStream {
|
|
|
2250
2253
|
BadGatewayException?: never;
|
|
2251
2254
|
$unknown: [string, any];
|
|
2252
2255
|
}
|
|
2256
|
+
/**
|
|
2257
|
+
* @deprecated unused in schema-serde mode.
|
|
2258
|
+
*
|
|
2259
|
+
*/
|
|
2253
2260
|
interface Visitor<T> {
|
|
2254
2261
|
PlaybackInterruptionEvent: (value: PlaybackInterruptionEvent) => T;
|
|
2255
2262
|
TranscriptEvent: (value: TranscriptEvent) => T;
|
|
@@ -2267,7 +2274,6 @@ export declare namespace StartConversationResponseEventStream {
|
|
|
2267
2274
|
BadGatewayException: (value: BadGatewayException) => T;
|
|
2268
2275
|
_: (name: string, value: any) => T;
|
|
2269
2276
|
}
|
|
2270
|
-
const visit: <T>(value: StartConversationResponseEventStream, visitor: Visitor<T>) => T;
|
|
2271
2277
|
}
|
|
2272
2278
|
/**
|
|
2273
2279
|
* @public
|
|
@@ -428,10 +428,6 @@ export declare namespace StartConversationRequestEventStream {
|
|
|
428
428
|
DisconnectionEvent: (value: DisconnectionEvent) => T;
|
|
429
429
|
_: (name: string, value: any) => T;
|
|
430
430
|
}
|
|
431
|
-
const visit: <T>(
|
|
432
|
-
value: StartConversationRequestEventStream,
|
|
433
|
-
visitor: Visitor<T>
|
|
434
|
-
) => T;
|
|
435
431
|
}
|
|
436
432
|
export interface StartConversationRequest {
|
|
437
433
|
botId: string | undefined;
|
|
@@ -755,10 +751,6 @@ export declare namespace StartConversationResponseEventStream {
|
|
|
755
751
|
BadGatewayException: (value: BadGatewayException) => T;
|
|
756
752
|
_: (name: string, value: any) => T;
|
|
757
753
|
}
|
|
758
|
-
const visit: <T>(
|
|
759
|
-
value: StartConversationResponseEventStream,
|
|
760
|
-
visitor: Visitor<T>
|
|
761
|
-
) => T;
|
|
762
754
|
}
|
|
763
755
|
export interface StartConversationResponse {
|
|
764
756
|
responseEventStream?:
|
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.930.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lex-runtime-v2",
|
|
@@ -20,47 +20,47 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^4.4.
|
|
37
|
-
"@smithy/core": "^3.
|
|
38
|
-
"@smithy/eventstream-serde-browser": "^4.2.
|
|
39
|
-
"@smithy/eventstream-serde-config-resolver": "^4.3.
|
|
40
|
-
"@smithy/eventstream-serde-node": "^4.2.
|
|
41
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
42
|
-
"@smithy/hash-node": "^4.2.
|
|
43
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
44
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
45
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
46
|
-
"@smithy/middleware-retry": "^4.4.
|
|
47
|
-
"@smithy/middleware-serde": "^4.2.
|
|
48
|
-
"@smithy/middleware-stack": "^4.2.
|
|
49
|
-
"@smithy/node-config-provider": "^4.3.
|
|
50
|
-
"@smithy/node-http-handler": "^4.4.
|
|
51
|
-
"@smithy/protocol-http": "^5.3.
|
|
52
|
-
"@smithy/smithy-client": "^4.9.
|
|
53
|
-
"@smithy/types": "^4.
|
|
54
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.930.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.930.0",
|
|
25
|
+
"@aws-sdk/eventstream-handler-node": "3.930.0",
|
|
26
|
+
"@aws-sdk/middleware-eventstream": "3.930.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.930.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
32
|
+
"@aws-sdk/types": "3.930.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.930.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
37
|
+
"@smithy/core": "^3.18.2",
|
|
38
|
+
"@smithy/eventstream-serde-browser": "^4.2.5",
|
|
39
|
+
"@smithy/eventstream-serde-config-resolver": "^4.3.5",
|
|
40
|
+
"@smithy/eventstream-serde-node": "^4.2.5",
|
|
41
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
42
|
+
"@smithy/hash-node": "^4.2.5",
|
|
43
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
44
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
45
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
46
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
47
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
48
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
49
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
50
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
51
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
52
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
53
|
+
"@smithy/types": "^4.9.0",
|
|
54
|
+
"@smithy/url-parser": "^4.2.5",
|
|
55
55
|
"@smithy/util-base64": "^4.3.0",
|
|
56
56
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
57
57
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
58
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
59
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
60
|
-
"@smithy/util-endpoints": "^3.2.
|
|
61
|
-
"@smithy/util-middleware": "^4.2.
|
|
62
|
-
"@smithy/util-retry": "^4.2.
|
|
63
|
-
"@smithy/util-stream": "^4.5.
|
|
58
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
59
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
60
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
61
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
62
|
+
"@smithy/util-retry": "^4.2.5",
|
|
63
|
+
"@smithy/util-stream": "^4.5.6",
|
|
64
64
|
"@smithy/util-utf8": "^4.2.0",
|
|
65
65
|
"tslib": "^2.6.2"
|
|
66
66
|
},
|