@aws-sdk/client-lex-runtime-service 3.428.0 → 3.430.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.
@@ -275,7 +275,7 @@ export interface DialogAction {
275
275
  * </li>
276
276
  * </ul>
277
277
  */
278
- type: DialogActionType | string | undefined;
278
+ type: DialogActionType | undefined;
279
279
  /**
280
280
  * @public
281
281
  * <p>The name of the intent.</p>
@@ -313,7 +313,7 @@ export interface DialogAction {
313
313
  * </li>
314
314
  * </ul>
315
315
  */
316
- fulfillmentState?: FulfillmentState | string;
316
+ fulfillmentState?: FulfillmentState;
317
317
  /**
318
318
  * @public
319
319
  * <p>The message that should be shown to the user. If you don't specify a
@@ -346,7 +346,7 @@ export interface DialogAction {
346
346
  * </li>
347
347
  * </ul>
348
348
  */
349
- messageFormat?: MessageFormatType | string;
349
+ messageFormat?: MessageFormatType;
350
350
  }
351
351
  /**
352
352
  * @public
@@ -414,7 +414,7 @@ export interface IntentSummary {
414
414
  * </li>
415
415
  * </ul>
416
416
  */
417
- confirmationStatus?: ConfirmationStatus | string;
417
+ confirmationStatus?: ConfirmationStatus;
418
418
  /**
419
419
  * @public
420
420
  * <p>The next action that the bot should take in its interaction with the
@@ -444,7 +444,7 @@ export interface IntentSummary {
444
444
  * </li>
445
445
  * </ul>
446
446
  */
447
- dialogActionType: DialogActionType | string | undefined;
447
+ dialogActionType: DialogActionType | undefined;
448
448
  /**
449
449
  * @public
450
450
  * <p>The fulfillment state of the intent. The possible values are:</p>
@@ -467,7 +467,7 @@ export interface IntentSummary {
467
467
  * </li>
468
468
  * </ul>
469
469
  */
470
- fulfillmentState?: FulfillmentState | string;
470
+ fulfillmentState?: FulfillmentState;
471
471
  /**
472
472
  * @public
473
473
  * <p>The next slot to elicit from the user. If there is not slot to elicit,
@@ -922,7 +922,7 @@ export interface PostContentResponse {
922
922
  * </li>
923
923
  * </ul>
924
924
  */
925
- messageFormat?: MessageFormatType | string;
925
+ messageFormat?: MessageFormatType;
926
926
  /**
927
927
  * @public
928
928
  * <p>Identifies the current state of the user interaction. Amazon Lex returns
@@ -981,7 +981,7 @@ export interface PostContentResponse {
981
981
  * </li>
982
982
  * </ul>
983
983
  */
984
- dialogState?: DialogState | string;
984
+ dialogState?: DialogState;
985
985
  /**
986
986
  * @public
987
987
  * <p> If the <code>dialogState</code> value is <code>ElicitSlot</code>,
@@ -1274,7 +1274,7 @@ export interface ResponseCard {
1274
1274
  * @public
1275
1275
  * <p>The content type of the response.</p>
1276
1276
  */
1277
- contentType?: ContentType | string;
1277
+ contentType?: ContentType;
1278
1278
  /**
1279
1279
  * @public
1280
1280
  * <p>An array of attachment objects representing options.</p>
@@ -1406,7 +1406,7 @@ export interface PostTextResponse {
1406
1406
  * </li>
1407
1407
  * </ul>
1408
1408
  */
1409
- messageFormat?: MessageFormatType | string;
1409
+ messageFormat?: MessageFormatType;
1410
1410
  /**
1411
1411
  * @public
1412
1412
  * <p> Identifies the current state of the user interaction. Amazon Lex returns
@@ -1466,7 +1466,7 @@ export interface PostTextResponse {
1466
1466
  * </li>
1467
1467
  * </ul>
1468
1468
  */
1469
- dialogState?: DialogState | string;
1469
+ dialogState?: DialogState;
1470
1470
  /**
1471
1471
  * @public
1472
1472
  * <p>If the <code>dialogState</code> value is <code>ElicitSlot</code>,
@@ -1715,7 +1715,7 @@ export interface PutSessionResponse {
1715
1715
  * </li>
1716
1716
  * </ul>
1717
1717
  */
1718
- messageFormat?: MessageFormatType | string;
1718
+ messageFormat?: MessageFormatType;
1719
1719
  /**
1720
1720
  * @public
1721
1721
  * <p></p>
@@ -1754,7 +1754,7 @@ export interface PutSessionResponse {
1754
1754
  * </li>
1755
1755
  * </ul>
1756
1756
  */
1757
- dialogState?: DialogState | string;
1757
+ dialogState?: DialogState;
1758
1758
  /**
1759
1759
  * @public
1760
1760
  * <p>If the <code>dialogState</code> is <code>ElicitSlot</code>, returns
@@ -87,13 +87,13 @@ export declare const DialogActionType: {
87
87
  export type DialogActionType =
88
88
  (typeof DialogActionType)[keyof typeof DialogActionType];
89
89
  export interface DialogAction {
90
- type: DialogActionType | string | undefined;
90
+ type: DialogActionType | undefined;
91
91
  intentName?: string;
92
92
  slots?: Record<string, string>;
93
93
  slotToElicit?: string;
94
- fulfillmentState?: FulfillmentState | string;
94
+ fulfillmentState?: FulfillmentState;
95
95
  message?: string;
96
- messageFormat?: MessageFormatType | string;
96
+ messageFormat?: MessageFormatType;
97
97
  }
98
98
  export declare const ConfirmationStatus: {
99
99
  readonly CONFIRMED: "Confirmed";
@@ -106,9 +106,9 @@ export interface IntentSummary {
106
106
  intentName?: string;
107
107
  checkpointLabel?: string;
108
108
  slots?: Record<string, string>;
109
- confirmationStatus?: ConfirmationStatus | string;
110
- dialogActionType: DialogActionType | string | undefined;
111
- fulfillmentState?: FulfillmentState | string;
109
+ confirmationStatus?: ConfirmationStatus;
110
+ dialogActionType: DialogActionType | undefined;
111
+ fulfillmentState?: FulfillmentState;
112
112
  slotToElicit?: string;
113
113
  }
114
114
  export interface GetSessionResponse {
@@ -179,8 +179,8 @@ export interface PostContentResponse {
179
179
  sentimentResponse?: string;
180
180
  message?: string;
181
181
  encodedMessage?: string;
182
- messageFormat?: MessageFormatType | string;
183
- dialogState?: DialogState | string;
182
+ messageFormat?: MessageFormatType;
183
+ dialogState?: DialogState;
184
184
  slotToElicit?: string;
185
185
  inputTranscript?: string;
186
186
  encodedInputTranscript?: string;
@@ -237,7 +237,7 @@ export interface GenericAttachment {
237
237
  }
238
238
  export interface ResponseCard {
239
239
  version?: string;
240
- contentType?: ContentType | string;
240
+ contentType?: ContentType;
241
241
  genericAttachments?: GenericAttachment[];
242
242
  }
243
243
  export interface SentimentResponse {
@@ -252,8 +252,8 @@ export interface PostTextResponse {
252
252
  sessionAttributes?: Record<string, string>;
253
253
  message?: string;
254
254
  sentimentResponse?: SentimentResponse;
255
- messageFormat?: MessageFormatType | string;
256
- dialogState?: DialogState | string;
255
+ messageFormat?: MessageFormatType;
256
+ dialogState?: DialogState;
257
257
  slotToElicit?: string;
258
258
  responseCard?: ResponseCard;
259
259
  sessionId?: string;
@@ -277,8 +277,8 @@ export interface PutSessionResponse {
277
277
  sessionAttributes?: __LazyJsonString | string;
278
278
  message?: string;
279
279
  encodedMessage?: string;
280
- messageFormat?: MessageFormatType | string;
281
- dialogState?: DialogState | string;
280
+ messageFormat?: MessageFormatType;
281
+ dialogState?: DialogState;
282
282
  slotToElicit?: string;
283
283
  audioStream?: StreamingBlobTypes;
284
284
  sessionId?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-runtime-service",
3
3
  "description": "AWS SDK for JavaScript Lex Runtime Service Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.430.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -23,28 +23,28 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "3.0.0",
25
25
  "@aws-crypto/sha256-js": "3.0.0",
26
- "@aws-sdk/client-sts": "3.428.0",
27
- "@aws-sdk/credential-provider-node": "3.428.0",
28
- "@aws-sdk/middleware-host-header": "3.428.0",
26
+ "@aws-sdk/client-sts": "3.430.0",
27
+ "@aws-sdk/credential-provider-node": "3.430.0",
28
+ "@aws-sdk/middleware-host-header": "3.429.0",
29
29
  "@aws-sdk/middleware-logger": "3.428.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
31
31
  "@aws-sdk/middleware-signing": "3.428.0",
32
32
  "@aws-sdk/middleware-user-agent": "3.428.0",
33
- "@aws-sdk/region-config-resolver": "3.428.0",
33
+ "@aws-sdk/region-config-resolver": "3.430.0",
34
34
  "@aws-sdk/types": "3.428.0",
35
35
  "@aws-sdk/util-endpoints": "3.428.0",
36
36
  "@aws-sdk/util-user-agent-browser": "3.428.0",
37
- "@aws-sdk/util-user-agent-node": "3.428.0",
38
- "@smithy/config-resolver": "^2.0.14",
37
+ "@aws-sdk/util-user-agent-node": "3.430.0",
38
+ "@smithy/config-resolver": "^2.0.15",
39
39
  "@smithy/fetch-http-handler": "^2.2.3",
40
40
  "@smithy/hash-node": "^2.0.11",
41
41
  "@smithy/invalid-dependency": "^2.0.11",
42
42
  "@smithy/middleware-content-length": "^2.0.13",
43
- "@smithy/middleware-endpoint": "^2.1.0",
44
- "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-endpoint": "^2.1.2",
44
+ "@smithy/middleware-retry": "^2.0.17",
45
45
  "@smithy/middleware-serde": "^2.0.11",
46
46
  "@smithy/middleware-stack": "^2.0.5",
47
- "@smithy/node-config-provider": "^2.1.1",
47
+ "@smithy/node-config-provider": "^2.1.2",
48
48
  "@smithy/node-http-handler": "^2.1.7",
49
49
  "@smithy/protocol-http": "^3.0.7",
50
50
  "@smithy/smithy-client": "^2.1.11",
@@ -54,7 +54,7 @@
54
54
  "@smithy/util-body-length-browser": "^2.0.0",
55
55
  "@smithy/util-body-length-node": "^2.1.0",
56
56
  "@smithy/util-defaults-mode-browser": "^2.0.15",
57
- "@smithy/util-defaults-mode-node": "^2.0.19",
57
+ "@smithy/util-defaults-mode-node": "^2.0.20",
58
58
  "@smithy/util-retry": "^2.0.4",
59
59
  "@smithy/util-stream": "^2.0.16",
60
60
  "@smithy/util-utf8": "^2.0.0",