@aws-sdk/client-connect 3.1141.0 → 3.1143.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1140.0";
72
+ var version = "3.1142.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -929,7 +929,8 @@ const _CCTIM = "ConversationCloseTimeInMillis";
929
929
  const _CCWB = "CrossChannelWorkloadBehavior";
930
930
  const _CCa = "CalculationComponents";
931
931
  const _CCh = "ChannelConfiguration";
932
- const _CCo = "ContactConfiguration";
932
+ const _CCo = "ConnectionCredentials";
933
+ const _CCon = "ContactConfiguration";
933
934
  const _CCr = "CreateContact";
934
935
  const _CD = "ConnectionData";
935
936
  const _CDIM = "ChatDurationInMinutes";
@@ -963,6 +964,7 @@ const _CEPP = "ChatEntryPointParameters";
963
964
  const _CEh = "ChatEvent";
964
965
  const _CEo = "ContactEvaluations";
965
966
  const _CEon = "ContactEvaluation";
967
+ const _CEonn = "ConnectionExpiry";
966
968
  const _CEu = "CustomerEndpoint";
967
969
  const _CF = "ContactFilter";
968
970
  const _CFA = "ContactFlowArn";
@@ -1129,6 +1131,8 @@ const _CTTRr = "CreateTaskTemplateResponse";
1129
1131
  const _CTo = "ComparisonType";
1130
1132
  const _CTon = "ContentType";
1131
1133
  const _CTond = "ConditionType";
1134
+ const _CTonn = "ConnectionToken";
1135
+ const _CTonne = "ConnectionTypes";
1132
1136
  const _CTont = "ContrastText";
1133
1137
  const _CTonta = "ContactTags";
1134
1138
  const _CTr = "CreationTime";
@@ -3564,6 +3568,7 @@ const _WTP = "WorkspaceThemePalette";
3564
3568
  const _WTT = "WorkspaceThemeTypography";
3565
3569
  const _WTo = "WorkspaceTheme";
3566
3570
  const _We = "Weight";
3571
+ const _Web = "Websocket";
3567
3572
  const _Wo = "Workspaces";
3568
3573
  const _aQE = "awsQueryError";
3569
3574
  const _aRA = "associatedResourceArn";
@@ -4481,6 +4486,11 @@ var Condition$ = [3, n0, _Con,
4481
4486
  [_SC, _NC],
4482
4487
  [() => StringCondition$, () => NumberCondition$]
4483
4488
  ];
4489
+ var ConnectionCredentials$ = [3, n0, _CCo,
4490
+ 0,
4491
+ [_CTonn, _Exp],
4492
+ [0, 0]
4493
+ ];
4484
4494
  var ConnectionData$ = [3, n0, _CD,
4485
4495
  0,
4486
4496
  [_At, _Me],
@@ -4501,7 +4511,7 @@ var ContactAnalysisReference$ = [3, n0, _CAR,
4501
4511
  [_N, _V, _St, _A, _AMn, _IR],
4502
4512
  [0, 0, 0, 0, 0, 2]
4503
4513
  ];
4504
- var ContactConfiguration$ = [3, n0, _CCo,
4514
+ var ContactConfiguration$ = [3, n0, _CCon,
4505
4515
  0,
4506
4516
  [_CI, _PR, _IRM],
4507
4517
  [0, 0, 2], 1
@@ -4918,7 +4928,7 @@ var CreatePromptResponse$ = [3, n0, _CPRrea,
4918
4928
  ];
4919
4929
  var CreatePushNotificationRegistrationRequest$ = [3, n0, _CPNRR,
4920
4930
  0,
4921
- [_II, _PAA, _DTev, _DTevi, _CCo, _CT],
4931
+ [_II, _PAA, _DTev, _DTevi, _CCon, _CT],
4922
4932
  [[0, 1], 0, 0, 0, () => ContactConfiguration$, [0, 4]], 5
4923
4933
  ];
4924
4934
  var CreatePushNotificationRegistrationResponse$ = [3, n0, _CPNRRr,
@@ -9028,13 +9038,13 @@ var StartAttachedFileUploadResponse$ = [3, n0, _SAFURt,
9028
9038
  ];
9029
9039
  var StartChatContactRequest$ = [3, n0, _SCCR,
9030
9040
  0,
9031
- [_II, _CFI, _PD, _Attr, _PCart, _IMni, _CT, _CDIM, _SMCT, _PCer, _RCI, _SAe, _CIu, _DOCE],
9032
- [0, 0, () => ParticipantDetails$, 128 | 0, () => ParticipantConfiguration$, () => ChatMessage$, [0, 4], 1, 64 | 0, () => PersistentChat$, 0, () => SegmentAttributes, [() => CustomerIdNonEmpty, 0], 64 | 0], 3
9041
+ [_II, _CFI, _PD, _Attr, _PCart, _IMni, _CT, _CDIM, _SMCT, _PCer, _RCI, _SAe, _CIu, _DOCE, _CTonne, _CSCh],
9042
+ [0, 0, () => ParticipantDetails$, 128 | 0, () => ParticipantConfiguration$, () => ChatMessage$, [0, 4], 1, 64 | 0, () => PersistentChat$, 0, () => SegmentAttributes, [() => CustomerIdNonEmpty, 0], 64 | 0, 64 | 0, () => ChatStreamingConfiguration$], 3
9033
9043
  ];
9034
9044
  var StartChatContactResponse$ = [3, n0, _SCCRt,
9035
9045
  0,
9036
- [_CI, _PI, _PTa, _CFCI],
9037
- [0, 0, 0, 0]
9046
+ [_CI, _PI, _PTa, _CFCI, _CCo, _Web, _SIt],
9047
+ [0, 0, 0, 0, () => ConnectionCredentials$, () => Websocket$, 0]
9038
9048
  ];
9039
9049
  var StartContactConversationalAnalyticsJobRequest$ = [3, n0, _SCCAJR,
9040
9050
  0,
@@ -10186,6 +10196,11 @@ var WebNotificationSource$ = [3, n0, _WNS,
10186
10196
  [_SCou],
10187
10197
  [() => SourceCampaign$], 1
10188
10198
  ];
10199
+ var Websocket$ = [3, n0, _Web,
10200
+ 0,
10201
+ [_Ur, _CEonn],
10202
+ [0, 0]
10203
+ ];
10189
10204
  var WidgetDestination$ = [3, n0, _WD,
10190
10205
  0,
10191
10206
  [_WIid, _PIro],
@@ -13776,6 +13791,8 @@ const paginateListDefaultVocabularies = createPaginator(ConnectClient, ListDefau
13776
13791
 
13777
13792
  const paginateListEntitySecurityProfiles = createPaginator(ConnectClient, ListEntitySecurityProfilesCommand, "NextToken", "NextToken", "MaxResults");
13778
13793
 
13794
+ const paginateListEvaluationFormAIVersions = createPaginator(ConnectClient, ListEvaluationFormAIVersionsCommand, "NextToken", "NextToken", "MaxResults");
13795
+
13779
13796
  const paginateListEvaluationForms = createPaginator(ConnectClient, ListEvaluationFormsCommand, "NextToken", "NextToken", "MaxResults");
13780
13797
 
13781
13798
  const paginateListEvaluationFormVersions = createPaginator(ConnectClient, ListEvaluationFormVersionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -14334,6 +14351,7 @@ const paginators = {
14334
14351
  paginateListDataTableValues,
14335
14352
  paginateListDefaultVocabularies,
14336
14353
  paginateListEntitySecurityProfiles,
14354
+ paginateListEvaluationFormAIVersions,
14337
14355
  paginateListEvaluationForms,
14338
14356
  paginateListEvaluationFormVersions,
14339
14357
  paginateListExtractionDefinitions,
@@ -15776,6 +15794,12 @@ const NotificationType = {
15776
15794
  WIDGET_ACTION: "WIDGET_ACTION",
15777
15795
  WIDGET_VIEW: "WIDGET_VIEW",
15778
15796
  };
15797
+ const ConnectionType = {
15798
+ AUTHENTICATION_SESSION: "AUTHENTICATION_SESSION",
15799
+ CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",
15800
+ WEBRTC_CONNECTION: "WEBRTC_CONNECTION",
15801
+ WEBSOCKET: "WEBSOCKET",
15802
+ };
15779
15803
  const DisconnectOnCustomerExitParticipantType = {
15780
15804
  AGENT: "AGENT",
15781
15805
  };
@@ -16068,7 +16092,9 @@ exports.Connect = Connect;
16068
16092
  exports.ConnectClient = ConnectClient;
16069
16093
  exports.ConnectServiceException = ConnectServiceException;
16070
16094
  exports.ConnectServiceException$ = ConnectServiceException$;
16095
+ exports.ConnectionCredentials$ = ConnectionCredentials$;
16071
16096
  exports.ConnectionData$ = ConnectionData$;
16097
+ exports.ConnectionType = ConnectionType;
16072
16098
  exports.Contact$ = Contact$;
16073
16099
  exports.ContactAnalysis$ = ContactAnalysis$;
16074
16100
  exports.ContactAnalysisReference$ = ContactAnalysisReference$;
@@ -18188,6 +18214,7 @@ exports.VoiceRecordingConfiguration$ = VoiceRecordingConfiguration$;
18188
18214
  exports.VoiceRecordingTrack = VoiceRecordingTrack;
18189
18215
  exports.WebNotificationContent$ = WebNotificationContent$;
18190
18216
  exports.WebNotificationSource$ = WebNotificationSource$;
18217
+ exports.Websocket$ = Websocket$;
18191
18218
  exports.WidgetDestination$ = WidgetDestination$;
18192
18219
  exports.WisdomInfo$ = WisdomInfo$;
18193
18220
  exports.WorkloadTypeConcurrency$ = WorkloadTypeConcurrency$;
@@ -18231,6 +18258,7 @@ exports.paginateListDataTableValues = paginateListDataTableValues;
18231
18258
  exports.paginateListDataTables = paginateListDataTables;
18232
18259
  exports.paginateListDefaultVocabularies = paginateListDefaultVocabularies;
18233
18260
  exports.paginateListEntitySecurityProfiles = paginateListEntitySecurityProfiles;
18261
+ exports.paginateListEvaluationFormAIVersions = paginateListEvaluationFormAIVersions;
18234
18262
  exports.paginateListEvaluationFormVersions = paginateListEvaluationFormVersions;
18235
18263
  exports.paginateListEvaluationForms = paginateListEvaluationForms;
18236
18264
  exports.paginateListExtractionDefinitions = paginateListExtractionDefinitions;
@@ -421,6 +421,7 @@ import { paginateListDataTables } from "./pagination/ListDataTablesPaginator";
421
421
  import { paginateListDataTableValues } from "./pagination/ListDataTableValuesPaginator";
422
422
  import { paginateListDefaultVocabularies } from "./pagination/ListDefaultVocabulariesPaginator";
423
423
  import { paginateListEntitySecurityProfiles } from "./pagination/ListEntitySecurityProfilesPaginator";
424
+ import { paginateListEvaluationFormAIVersions } from "./pagination/ListEvaluationFormAIVersionsPaginator";
424
425
  import { paginateListEvaluationForms } from "./pagination/ListEvaluationFormsPaginator";
425
426
  import { paginateListEvaluationFormVersions } from "./pagination/ListEvaluationFormVersionsPaginator";
426
427
  import { paginateListExtractionDefinitions } from "./pagination/ListExtractionDefinitionsPaginator";
@@ -912,6 +913,7 @@ const paginators = {
912
913
  paginateListDataTableValues,
913
914
  paginateListDefaultVocabularies,
914
915
  paginateListEntitySecurityProfiles,
916
+ paginateListEvaluationFormAIVersions,
915
917
  paginateListEvaluationForms,
916
918
  paginateListEvaluationFormVersions,
917
919
  paginateListExtractionDefinitions,
@@ -1368,6 +1368,12 @@ export const NotificationType = {
1368
1368
  WIDGET_ACTION: "WIDGET_ACTION",
1369
1369
  WIDGET_VIEW: "WIDGET_VIEW",
1370
1370
  };
1371
+ export const ConnectionType = {
1372
+ AUTHENTICATION_SESSION: "AUTHENTICATION_SESSION",
1373
+ CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",
1374
+ WEBRTC_CONNECTION: "WEBRTC_CONNECTION",
1375
+ WEBSOCKET: "WEBSOCKET",
1376
+ };
1371
1377
  export const DisconnectOnCustomerExitParticipantType = {
1372
1378
  AGENT: "AGENT",
1373
1379
  };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListEvaluationFormAIVersionsCommand, } from "../commands/ListEvaluationFormAIVersionsCommand";
3
+ import { ConnectClient } from "../ConnectClient";
4
+ export const paginateListEvaluationFormAIVersions = createPaginator(ConnectClient, ListEvaluationFormAIVersionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -23,6 +23,7 @@ export * from "./ListDataTablesPaginator";
23
23
  export * from "./ListDataTableValuesPaginator";
24
24
  export * from "./ListDefaultVocabulariesPaginator";
25
25
  export * from "./ListEntitySecurityProfilesPaginator";
26
+ export * from "./ListEvaluationFormAIVersionsPaginator";
26
27
  export * from "./ListEvaluationFormsPaginator";
27
28
  export * from "./ListEvaluationFormVersionsPaginator";
28
29
  export * from "./ListExtractionDefinitionsPaginator";
@@ -369,7 +369,8 @@ const _CCTIM = "ConversationCloseTimeInMillis";
369
369
  const _CCWB = "CrossChannelWorkloadBehavior";
370
370
  const _CCa = "CalculationComponents";
371
371
  const _CCh = "ChannelConfiguration";
372
- const _CCo = "ContactConfiguration";
372
+ const _CCo = "ConnectionCredentials";
373
+ const _CCon = "ContactConfiguration";
373
374
  const _CCr = "CreateContact";
374
375
  const _CD = "ConnectionData";
375
376
  const _CDIM = "ChatDurationInMinutes";
@@ -403,6 +404,7 @@ const _CEPP = "ChatEntryPointParameters";
403
404
  const _CEh = "ChatEvent";
404
405
  const _CEo = "ContactEvaluations";
405
406
  const _CEon = "ContactEvaluation";
407
+ const _CEonn = "ConnectionExpiry";
406
408
  const _CEu = "CustomerEndpoint";
407
409
  const _CF = "ContactFilter";
408
410
  const _CFA = "ContactFlowArn";
@@ -569,6 +571,8 @@ const _CTTRr = "CreateTaskTemplateResponse";
569
571
  const _CTo = "ComparisonType";
570
572
  const _CTon = "ContentType";
571
573
  const _CTond = "ConditionType";
574
+ const _CTonn = "ConnectionToken";
575
+ const _CTonne = "ConnectionTypes";
572
576
  const _CTont = "ContrastText";
573
577
  const _CTonta = "ContactTags";
574
578
  const _CTr = "CreationTime";
@@ -3004,6 +3008,7 @@ const _WTP = "WorkspaceThemePalette";
3004
3008
  const _WTT = "WorkspaceThemeTypography";
3005
3009
  const _WTo = "WorkspaceTheme";
3006
3010
  const _We = "Weight";
3011
+ const _Web = "Websocket";
3007
3012
  const _Wo = "Workspaces";
3008
3013
  const _aQE = "awsQueryError";
3009
3014
  const _aRA = "associatedResourceArn";
@@ -3924,6 +3929,11 @@ export var Condition$ = [3, n0, _Con,
3924
3929
  [_SC, _NC],
3925
3930
  [() => StringCondition$, () => NumberCondition$]
3926
3931
  ];
3932
+ export var ConnectionCredentials$ = [3, n0, _CCo,
3933
+ 0,
3934
+ [_CTonn, _Exp],
3935
+ [0, 0]
3936
+ ];
3927
3937
  export var ConnectionData$ = [3, n0, _CD,
3928
3938
  0,
3929
3939
  [_At, _Me],
@@ -3944,7 +3954,7 @@ export var ContactAnalysisReference$ = [3, n0, _CAR,
3944
3954
  [_N, _V, _St, _A, _AMn, _IR],
3945
3955
  [0, 0, 0, 0, 0, 2]
3946
3956
  ];
3947
- export var ContactConfiguration$ = [3, n0, _CCo,
3957
+ export var ContactConfiguration$ = [3, n0, _CCon,
3948
3958
  0,
3949
3959
  [_CI, _PR, _IRM],
3950
3960
  [0, 0, 2], 1
@@ -4361,7 +4371,7 @@ export var CreatePromptResponse$ = [3, n0, _CPRrea,
4361
4371
  ];
4362
4372
  export var CreatePushNotificationRegistrationRequest$ = [3, n0, _CPNRR,
4363
4373
  0,
4364
- [_II, _PAA, _DTev, _DTevi, _CCo, _CT],
4374
+ [_II, _PAA, _DTev, _DTevi, _CCon, _CT],
4365
4375
  [[0, 1], 0, 0, 0, () => ContactConfiguration$, [0, 4]], 5
4366
4376
  ];
4367
4377
  export var CreatePushNotificationRegistrationResponse$ = [3, n0, _CPNRRr,
@@ -8471,13 +8481,13 @@ export var StartAttachedFileUploadResponse$ = [3, n0, _SAFURt,
8471
8481
  ];
8472
8482
  export var StartChatContactRequest$ = [3, n0, _SCCR,
8473
8483
  0,
8474
- [_II, _CFI, _PD, _Attr, _PCart, _IMni, _CT, _CDIM, _SMCT, _PCer, _RCI, _SAe, _CIu, _DOCE],
8475
- [0, 0, () => ParticipantDetails$, 128 | 0, () => ParticipantConfiguration$, () => ChatMessage$, [0, 4], 1, 64 | 0, () => PersistentChat$, 0, () => SegmentAttributes, [() => CustomerIdNonEmpty, 0], 64 | 0], 3
8484
+ [_II, _CFI, _PD, _Attr, _PCart, _IMni, _CT, _CDIM, _SMCT, _PCer, _RCI, _SAe, _CIu, _DOCE, _CTonne, _CSCh],
8485
+ [0, 0, () => ParticipantDetails$, 128 | 0, () => ParticipantConfiguration$, () => ChatMessage$, [0, 4], 1, 64 | 0, () => PersistentChat$, 0, () => SegmentAttributes, [() => CustomerIdNonEmpty, 0], 64 | 0, 64 | 0, () => ChatStreamingConfiguration$], 3
8476
8486
  ];
8477
8487
  export var StartChatContactResponse$ = [3, n0, _SCCRt,
8478
8488
  0,
8479
- [_CI, _PI, _PTa, _CFCI],
8480
- [0, 0, 0, 0]
8489
+ [_CI, _PI, _PTa, _CFCI, _CCo, _Web, _SIt],
8490
+ [0, 0, 0, 0, () => ConnectionCredentials$, () => Websocket$, 0]
8481
8491
  ];
8482
8492
  export var StartContactConversationalAnalyticsJobRequest$ = [3, n0, _SCCAJR,
8483
8493
  0,
@@ -9629,6 +9639,11 @@ export var WebNotificationSource$ = [3, n0, _WNS,
9629
9639
  [_SCou],
9630
9640
  [() => SourceCampaign$], 1
9631
9641
  ];
9642
+ export var Websocket$ = [3, n0, _Web,
9643
+ 0,
9644
+ [_Ur, _CEonn],
9645
+ [0, 0]
9646
+ ];
9632
9647
  export var WidgetDestination$ = [3, n0, _WD,
9633
9648
  0,
9634
9649
  [_WIid, _PIro],
@@ -9844,6 +9859,7 @@ var CommonAttributeOrConditionList = [1, n0, _CAOCL,
9844
9859
  var Conditions = [1, n0, _Cond,
9845
9860
  0, () => Condition$
9846
9861
  ];
9862
+ var ConnectionTypeList = 64 | 0;
9847
9863
  var ContactDataRequestList = [1, n0, _CDRL,
9848
9864
  0, () => ContactDataRequest$
9849
9865
  ];
@@ -2959,6 +2959,13 @@ export interface Connect {
2959
2959
  * @returns AsyncIterable of {@link ListEntitySecurityProfilesCommandOutput}.
2960
2960
  */
2961
2961
  paginateListEntitySecurityProfiles(args: ListEntitySecurityProfilesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEntitySecurityProfilesCommandOutput>;
2962
+ /**
2963
+ * @see {@link ListEvaluationFormAIVersionsCommand}
2964
+ * @param args - command input.
2965
+ * @param paginationConfig - optional pagination config.
2966
+ * @returns AsyncIterable of {@link ListEvaluationFormAIVersionsCommandOutput}.
2967
+ */
2968
+ paginateListEvaluationFormAIVersions(args: ListEvaluationFormAIVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEvaluationFormAIVersionsCommandOutput>;
2962
2969
  /**
2963
2970
  * @see {@link ListEvaluationFormsCommand}
2964
2971
  * @param args - command input.
@@ -29,6 +29,9 @@ declare const StartChatContactCommand_base: {
29
29
  * credentials from the <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html">CreateParticipantConnection</a> API in the Connect Customer Participant Service.</p>
30
30
  * <p>When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the
31
31
  * created chat within 5 minutes. This is achieved by invoking <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html">CreateParticipantConnection</a> with WEBSOCKET and CONNECTION_CREDENTIALS. </p>
32
+ * <p>To receive connection information directly in the response, set <code>ConnectionTypes</code> on the request. To
33
+ * initiate real-time message streaming when the chat is created, set <code>ChatStreamingConfiguration</code> on the
34
+ * request. Both parameters are optional.</p>
32
35
  * <p>A 429 error occurs in the following situations:</p>
33
36
  * <ul>
34
37
  * <li>
@@ -117,6 +120,12 @@ declare const StartChatContactCommand_base: {
117
120
  * DisconnectOnCustomerExit: [ // DisconnectOnCustomerExit
118
121
  * "AGENT",
119
122
  * ],
123
+ * ConnectionTypes: [ // ConnectionTypeList
124
+ * "WEBSOCKET" || "CONNECTION_CREDENTIALS" || "AUTHENTICATION_SESSION" || "WEBRTC_CONNECTION",
125
+ * ],
126
+ * ChatStreamingConfiguration: { // ChatStreamingConfiguration
127
+ * StreamingEndpointArn: "STRING_VALUE", // required
128
+ * },
120
129
  * };
121
130
  * const command = new StartChatContactCommand(input);
122
131
  * const response = await client.send(command);
@@ -125,6 +134,15 @@ declare const StartChatContactCommand_base: {
125
134
  * // ParticipantId: "STRING_VALUE",
126
135
  * // ParticipantToken: "STRING_VALUE",
127
136
  * // ContinuedFromContactId: "STRING_VALUE",
137
+ * // ConnectionCredentials: { // ConnectionCredentials
138
+ * // ConnectionToken: "STRING_VALUE",
139
+ * // Expiry: "STRING_VALUE",
140
+ * // },
141
+ * // Websocket: { // Websocket
142
+ * // Url: "STRING_VALUE",
143
+ * // ConnectionExpiry: "STRING_VALUE",
144
+ * // },
145
+ * // StreamingId: "STRING_VALUE",
128
146
  * // };
129
147
  *
130
148
  * ```
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateTaskTemplateRequest, UpdateTaskTemplateResponse } from "../models/models_3";
2
+ import type { UpdateTaskTemplateRequest } from "../models/models_3";
3
+ import type { UpdateTaskTemplateResponse } from "../models/models_4";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateTestCaseRequest } from "../models/models_3";
3
- import type { UpdateTestCaseResponse } from "../models/models_4";
2
+ import type { UpdateTestCaseRequest, UpdateTestCaseResponse } from "../models/models_4";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -2880,6 +2880,20 @@ export declare const NotificationType: {
2880
2880
  * @public
2881
2881
  */
2882
2882
  export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];
2883
+ /**
2884
+ * @public
2885
+ * @enum
2886
+ */
2887
+ export declare const ConnectionType: {
2888
+ readonly AUTHENTICATION_SESSION: "AUTHENTICATION_SESSION";
2889
+ readonly CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS";
2890
+ readonly WEBRTC_CONNECTION: "WEBRTC_CONNECTION";
2891
+ readonly WEBSOCKET: "WEBSOCKET";
2892
+ };
2893
+ /**
2894
+ * @public
2895
+ */
2896
+ export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
2883
2897
  /**
2884
2898
  * @public
2885
2899
  * @enum
@@ -1,6 +1,6 @@
1
- import type { AgentAvailabilityTimer, AgentStatusState, AiUseCase, AnalyticsMode, AttachmentScope, AutoEvaluationStatus, Behavior, BooleanComparisonType, Channel, ChatEventType, ContactEvaluationAttributeComparisonType, ContactEvaluationAttributeKey, ContactFlowModuleState, ContactFlowState, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactMediaProcessingFailureMode, ContactParticipantRole, ContactRecordingType, DataTableAttributeValueType, DataTableLockLevel, DateComparisonType, DateTimeComparisonType, DecimalComparisonType, EmailHeaderType, EvaluationFormLanguageCode, EvaluationFormVersionStatus, EvaluationStatus, EvaluationType, FileStatusType, FileUseCaseType, HierarchyGroupMatchType, InboundMessageSourceType, InstanceAttributeType, InstanceStorageResourceType, IvrRecordingTrack, LocaleCode, MaskMode, MeetingFeatureStatus, MetricUnit, NotificationPriority, NotificationType, NumberComparisonType, OutboundMessageSourceType, OverrideType, ParticipantRole, ParticipantTimerAction, ParticipantTimerType, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, Policy, QueueStatus, RehydrationType, ResponseMode, RuleCapabilityTier, RulePublishStatus, SearchContactsMatchType, SearchContactsTimeRangeConditionType, SearchContactsTimeRangeType, SortableFieldName, SortOrder, StringComparisonType, SummaryMode, TargetListType, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TimerEligibleParticipantRoles, TrafficType, TrendIndicator, Visibility, VocabularyLanguageCode, VocabularyState, VoiceRecordingTrack } from "./enums";
1
+ import type { AgentAvailabilityTimer, AgentStatusState, AiUseCase, AnalyticsMode, AttachmentScope, AutoEvaluationStatus, Behavior, BooleanComparisonType, Channel, ChatEventType, ContactEvaluationAttributeComparisonType, ContactEvaluationAttributeKey, ContactFlowModuleState, ContactFlowState, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactMediaProcessingFailureMode, ContactParticipantRole, ContactRecordingType, DataTableAttributeValueType, DataTableLockLevel, DateComparisonType, DateTimeComparisonType, DecimalComparisonType, EmailHeaderType, EvaluationFormLanguageCode, EvaluationFormVersionStatus, EvaluationStatus, EvaluationType, FileStatusType, FileUseCaseType, HierarchyGroupMatchType, InboundMessageSourceType, InstanceAttributeType, InstanceStorageResourceType, IvrRecordingTrack, LocaleCode, MaskMode, MeetingFeatureStatus, MetricUnit, NotificationPriority, NotificationType, NumberComparisonType, OutboundMessageSourceType, OverrideType, ParticipantRole, ParticipantTimerAction, ParticipantTimerType, PerformanceCategoryName, PhoneNumberCountryCode, PhoneNumberType, Policy, QueueStatus, RehydrationType, ResponseMode, RuleCapabilityTier, RulePublishStatus, SearchContactsMatchType, SearchContactsTimeRangeConditionType, SearchContactsTimeRangeType, SortableFieldName, SortOrder, StringComparisonType, SummaryMode, TargetListType, TaskTemplateStatus, TestCaseExecutionStatus, TimerEligibleParticipantRoles, TrafficType, TrendIndicator, Visibility, VocabularyLanguageCode, VocabularyState, VoiceRecordingTrack } from "./enums";
2
2
  import type { ActionSummary, AfterContactWorkConfigPerChannel, AgentHierarchyGroups, AgentStatus, AIAgent, AiAgentInput, AiAgentsCriteria, AliasConfiguration, Application, ControlPlaneAttributeFilter, CreatedByInfo, DataTableLockVersion, ExtractionConfiguration, ExtractionDefinitionDisplay, FlowModule, GranularAccessControlConfiguration, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InputPredefinedAttributeConfiguration, InstanceStorageConfig, MediaConcurrency, MetricCalculation, OutboundCallerConfig, OutboundEmailConfig, OutboundStrategy, PredefinedAttributeValues, PreEvaluationFilters, PrimaryValue, QuickConnectConfig, RecurrenceConfig, Reference, RoutingProfileQueueConfig, RuleAction, RuleTriggerEventSource, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, Validation } from "./models_0";
3
- import type { AutoAcceptConfig, ContactFlow, ContactFlowModule, DataTable, EvaluationAnswerData, EvaluationNote, ExtensionConfiguration, HierarchyGroup, HoursOfOperation, HoursOfOperationOverride, MetricDefinition, PersistentConnectionConfig, PhoneNumberConfig, PredefinedAttribute, Prompt, Queue, QuickConnect, RoutingProfile, TaskTemplateField, TestCase, TestCaseEntryPoint, UserPhoneConfig, View, VoiceEnhancementConfig } from "./models_1";
3
+ import type { AutoAcceptConfig, ContactFlow, ContactFlowModule, DataTable, EvaluationAnswerData, EvaluationNote, ExtensionConfiguration, HierarchyGroup, HoursOfOperation, HoursOfOperationOverride, MetricDefinition, PersistentConnectionConfig, PhoneNumberConfig, PredefinedAttribute, Prompt, Queue, QuickConnect, RoutingProfile, TaskTemplateField, TestCase, UserPhoneConfig, View, VoiceEnhancementConfig } from "./models_1";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -3640,6 +3640,40 @@ export interface ParticipantConfiguration {
3640
3640
  */
3641
3641
  ResponseMode?: ResponseMode | undefined;
3642
3642
  }
3643
+ /**
3644
+ * <p>The credentials that a chat participant uses to connect to the Connect Customer Participant Service.</p>
3645
+ * @public
3646
+ */
3647
+ export interface ConnectionCredentials {
3648
+ /**
3649
+ * <p>The connection token used by the chat participant to call the Connect Customer Participant Service.</p>
3650
+ * @public
3651
+ */
3652
+ ConnectionToken?: string | undefined;
3653
+ /**
3654
+ * <p>The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
3655
+ * 2019-11-08T02:41:28.172Z.</p>
3656
+ * @public
3657
+ */
3658
+ Expiry?: string | undefined;
3659
+ }
3660
+ /**
3661
+ * <p>The websocket that a chat participant uses to receive messages and events for the chat.</p>
3662
+ * @public
3663
+ */
3664
+ export interface Websocket {
3665
+ /**
3666
+ * <p>The URL of the websocket.</p>
3667
+ * @public
3668
+ */
3669
+ Url?: string | undefined;
3670
+ /**
3671
+ * <p>The expiration of the websocket URL. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
3672
+ * 2019-11-08T02:41:28.172Z.</p>
3673
+ * @public
3674
+ */
3675
+ ConnectionExpiry?: string | undefined;
3676
+ }
3643
3677
  /**
3644
3678
  * @public
3645
3679
  */
@@ -3666,6 +3700,24 @@ export interface StartChatContactResponse {
3666
3700
  * @public
3667
3701
  */
3668
3702
  ContinuedFromContactId?: string | undefined;
3703
+ /**
3704
+ * <p>The connection credentials for the chat participant. Returned only when the request includes
3705
+ * <code>CONNECTION_CREDENTIALS</code> in <code>ConnectionTypes</code>.</p>
3706
+ * @public
3707
+ */
3708
+ ConnectionCredentials?: ConnectionCredentials | undefined;
3709
+ /**
3710
+ * <p>The websocket for the chat participant. Returned only when the request includes <code>WEBSOCKET</code> in
3711
+ * <code>ConnectionTypes</code>.</p>
3712
+ * @public
3713
+ */
3714
+ Websocket?: Websocket | undefined;
3715
+ /**
3716
+ * <p>The identifier of the streaming configuration enabled with the chat. Returned only when the request sets
3717
+ * <code>ChatStreamingConfiguration</code>. Use this value to call <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_StopContactStreaming.html">StopContactStreaming</a>.</p>
3718
+ * @public
3719
+ */
3720
+ StreamingId?: string | undefined;
3669
3721
  }
3670
3722
  /**
3671
3723
  * <p>The language configuration for conversational analytics.</p>
@@ -5911,11 +5963,6 @@ export interface UpdateInstanceAttributeRequest {
5911
5963
  * based policy to include the <code>lex:RecognizeMessageAsync</code> action for the connect instance ARN
5912
5964
  * resource.</p>
5913
5965
  * </note>
5914
- * <note>
5915
- * <p>If you set the attribute type <code>AUTO_MUTE_AGENT_ON_HOLD</code> to <code>true</code>, the system
5916
- * automatically mutes agents while they're on hold and unmutes them when they resume the contact. Agents can't
5917
- * change their mute state while on hold.</p>
5918
- * </note>
5919
5966
  * @public
5920
5967
  */
5921
5968
  AttributeType: InstanceAttributeType | undefined;
@@ -6837,132 +6884,3 @@ export interface UpdateTaskTemplateRequest {
6837
6884
  */
6838
6885
  Fields?: TaskTemplateField[] | undefined;
6839
6886
  }
6840
- /**
6841
- * @public
6842
- */
6843
- export interface UpdateTaskTemplateResponse {
6844
- /**
6845
- * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6846
- * @public
6847
- */
6848
- InstanceId?: string | undefined;
6849
- /**
6850
- * <p>The identifier of the task template resource.</p>
6851
- * @public
6852
- */
6853
- Id?: string | undefined;
6854
- /**
6855
- * <p>The Amazon Resource Name (ARN) for the task template resource.</p>
6856
- * @public
6857
- */
6858
- Arn?: string | undefined;
6859
- /**
6860
- * <p>The name of the task template.</p>
6861
- * @public
6862
- */
6863
- Name?: string | undefined;
6864
- /**
6865
- * <p>The description of the task template.</p>
6866
- * @public
6867
- */
6868
- Description?: string | undefined;
6869
- /**
6870
- * <p>The identifier of the flow that runs by default when a task is created by referencing this template.</p>
6871
- * @public
6872
- */
6873
- ContactFlowId?: string | undefined;
6874
- /**
6875
- * <p>The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.</p>
6876
- * @public
6877
- */
6878
- SelfAssignFlowId?: string | undefined;
6879
- /**
6880
- * <p>Constraints that are applicable to the fields listed.
6881
- * Although this parameter is marked as optional in the API model, the service requires it when calling <code>CreateTaskTemplate</code> or <code>UpdateTaskTemplate</code>.
6882
- * The <code>RequiredFields</code> array must contain at least one element, and the field of type <code>NAME</code> must be included in <code>RequiredFields</code>.</p>
6883
- * @public
6884
- */
6885
- Constraints?: TaskTemplateConstraints | undefined;
6886
- /**
6887
- * <p>The default values for fields when a task is created by referencing this template.</p>
6888
- * @public
6889
- */
6890
- Defaults?: TaskTemplateDefaults | undefined;
6891
- /**
6892
- * <p>Fields that are part of the template.</p>
6893
- * @public
6894
- */
6895
- Fields?: TaskTemplateField[] | undefined;
6896
- /**
6897
- * <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
6898
- * Tasks can only be created from <code>ACTIVE</code> templates.
6899
- * If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
6900
- * @public
6901
- */
6902
- Status?: TaskTemplateStatus | undefined;
6903
- /**
6904
- * <p>The timestamp when the task template was last modified.</p>
6905
- * @public
6906
- */
6907
- LastModifiedTime?: Date | undefined;
6908
- /**
6909
- * <p>The timestamp when the task template was created.</p>
6910
- * @public
6911
- */
6912
- CreatedTime?: Date | undefined;
6913
- }
6914
- /**
6915
- * @public
6916
- */
6917
- export interface UpdateTestCaseRequest {
6918
- /**
6919
- * <p>The identifier of the Amazon Connect instance.</p>
6920
- * @public
6921
- */
6922
- InstanceId: string | undefined;
6923
- /**
6924
- * <p>The identifier of the test case to update.</p>
6925
- * @public
6926
- */
6927
- TestCaseId: string | undefined;
6928
- /**
6929
- * <p>The JSON string that represents the content of the test.</p>
6930
- * @public
6931
- */
6932
- Content?: string | undefined;
6933
- /**
6934
- * <p>Defines the starting point for your test.</p>
6935
- * @public
6936
- */
6937
- EntryPoint?: TestCaseEntryPoint | undefined;
6938
- /**
6939
- * <p>Defines the test attributes for precise data representation.</p>
6940
- * @public
6941
- */
6942
- InitializationData?: string | undefined;
6943
- /**
6944
- * <p>The name of the test case.</p>
6945
- * @public
6946
- */
6947
- Name?: string | undefined;
6948
- /**
6949
- * <p>The description of the test case.</p>
6950
- * @public
6951
- */
6952
- Description?: string | undefined;
6953
- /**
6954
- * <p>Indicates the test status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content. The SAVED status does not initiate validation of the content.</p>
6955
- * @public
6956
- */
6957
- Status?: TestCaseStatus | undefined;
6958
- /**
6959
- * <p>The time at which the resource was last modified.</p>
6960
- * @public
6961
- */
6962
- LastModifiedTime?: Date | undefined;
6963
- /**
6964
- * <p>The region in which the resource was last modified</p>
6965
- * @public
6966
- */
6967
- LastModifiedRegion?: string | undefined;
6968
- }
@@ -1,8 +1,137 @@
1
- import type { AnsweringMachineDetectionStatus, Channel, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, DisconnectOnCustomerExitParticipantType, EvaluationFormItemEnablementAction, EvaluationFormItemEnablementOperator, EvaluationFormQuestionType, EvaluationFormValidationStatus, EvaluationFormVersionStatus, InitiateAs, NotificationStatus, RoutingCriteriaStepStatus, SearchableQueueType, TestCaseStatus, ViewStatus, ViewType, Visibility } from "./enums";
2
- import type { AdditionalEmailRecipients, AfterContactWorkConfigPerChannel, AgentConfig, AgentInfo, AgentStatusSearchFilter, AllowedCapabilities, Campaign, Endpoint, EvaluationFormAutoEvaluationConfiguration, EvaluationFormItemEnablementExpression, EvaluationFormLanguageConfiguration, EvaluationFormMetricConfiguration, EvaluationFormQuestionScoringConfiguration, EvaluationFormQuestionTypeProperties, EvaluationFormScoreThreshold, EvaluationFormScoringStrategy, EvaluationFormTargetConfiguration, EvaluationReviewConfiguration, OutboundStrategy, Reference, StringCondition, UserInfo, UserProficiency } from "./models_0";
3
- import type { AttributeCondition, AutoAcceptConfig, ChatMetrics, ContactDetails, ContactEvaluation, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, Expiry, GlobalResiliencyMetadata, NextContactEntry, PersistentConnectionConfig, PhoneNumberConfig, QualityMetrics, QueueInfo, RecordingInfo, TaskTemplateInfoV2, UserIdentityInfo, UserPhoneConfig, View, ViewInputContent, VoiceEnhancementConfig, WisdomInfo, WorkspaceTheme } from "./models_1";
1
+ import type { AnsweringMachineDetectionStatus, Channel, ConnectionType, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, DisconnectOnCustomerExitParticipantType, EvaluationFormItemEnablementAction, EvaluationFormItemEnablementOperator, EvaluationFormQuestionType, EvaluationFormValidationStatus, EvaluationFormVersionStatus, InitiateAs, NotificationStatus, RoutingCriteriaStepStatus, SearchableQueueType, TaskTemplateStatus, TestCaseStatus, ViewStatus, ViewType, Visibility } from "./enums";
2
+ import type { AdditionalEmailRecipients, AfterContactWorkConfigPerChannel, AgentConfig, AgentInfo, AgentStatusSearchFilter, AllowedCapabilities, Campaign, Endpoint, EvaluationFormAutoEvaluationConfiguration, EvaluationFormItemEnablementExpression, EvaluationFormLanguageConfiguration, EvaluationFormMetricConfiguration, EvaluationFormQuestionScoringConfiguration, EvaluationFormQuestionTypeProperties, EvaluationFormScoreThreshold, EvaluationFormScoringStrategy, EvaluationFormTargetConfiguration, EvaluationReviewConfiguration, OutboundStrategy, Reference, StringCondition, TaskTemplateConstraints, TaskTemplateDefaults, UserInfo, UserProficiency } from "./models_0";
3
+ import type { AttributeCondition, AutoAcceptConfig, ChatMetrics, ContactDetails, ContactEvaluation, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, Expiry, GlobalResiliencyMetadata, NextContactEntry, PersistentConnectionConfig, PhoneNumberConfig, QualityMetrics, QueueInfo, RecordingInfo, TaskTemplateField, TaskTemplateInfoV2, TestCaseEntryPoint, UserIdentityInfo, UserPhoneConfig, View, ViewInputContent, VoiceEnhancementConfig, WisdomInfo, WorkspaceTheme } from "./models_1";
4
4
  import type { SignInConfig, TelephonyConfig } from "./models_2";
5
- import type { BooleanCondition, ChatMessage, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, ContactSearchSummaryAgentInfo, ContactSearchSummaryAiAgentInfo, ContactSearchSummaryQueueInfo, DataTableSearchFilter, DateCondition, DateTimeCondition, DecimalCondition, EmailAddressInfo, EmailAddressSearchFilter, EmailAttachment, EvaluationFormSearchFilter, EvaluationSearchFilter, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, MetricSearchFilter, NotificationSearchFilter, NumberCondition, ParticipantConfiguration, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter, RoutingCriteriaInputStepExpiry, RoutingProfileSearchFilter, RulesSearchFilter, SecurityProfilesSearchFilter, TaskAttachment, TemplatedMessageConfig, TestCaseSearchFilter, UserHierarchyGroupSearchFilter, UserSearchFilter, ViewSearchFilter, WorkspaceAssociationSearchFilter, WorkspaceSearchFilter } from "./models_3";
5
+ import type { BooleanCondition, ChatMessage, ChatStreamingConfiguration, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, ContactSearchSummaryAgentInfo, ContactSearchSummaryAiAgentInfo, ContactSearchSummaryQueueInfo, DataTableSearchFilter, DateCondition, DateTimeCondition, DecimalCondition, EmailAddressInfo, EmailAddressSearchFilter, EmailAttachment, EvaluationFormSearchFilter, EvaluationSearchFilter, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, MetricSearchFilter, NotificationSearchFilter, NumberCondition, ParticipantConfiguration, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter, RoutingCriteriaInputStepExpiry, RoutingProfileSearchFilter, RulesSearchFilter, SecurityProfilesSearchFilter, TaskAttachment, TemplatedMessageConfig, TestCaseSearchFilter, UserHierarchyGroupSearchFilter, UserSearchFilter, ViewSearchFilter, WorkspaceAssociationSearchFilter, WorkspaceSearchFilter } from "./models_3";
6
+ /**
7
+ * @public
8
+ */
9
+ export interface UpdateTaskTemplateResponse {
10
+ /**
11
+ * <p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
12
+ * @public
13
+ */
14
+ InstanceId?: string | undefined;
15
+ /**
16
+ * <p>The identifier of the task template resource.</p>
17
+ * @public
18
+ */
19
+ Id?: string | undefined;
20
+ /**
21
+ * <p>The Amazon Resource Name (ARN) for the task template resource.</p>
22
+ * @public
23
+ */
24
+ Arn?: string | undefined;
25
+ /**
26
+ * <p>The name of the task template.</p>
27
+ * @public
28
+ */
29
+ Name?: string | undefined;
30
+ /**
31
+ * <p>The description of the task template.</p>
32
+ * @public
33
+ */
34
+ Description?: string | undefined;
35
+ /**
36
+ * <p>The identifier of the flow that runs by default when a task is created by referencing this template.</p>
37
+ * @public
38
+ */
39
+ ContactFlowId?: string | undefined;
40
+ /**
41
+ * <p>The ContactFlowId for the flow that will be run if this template is used to create a self-assigned task.</p>
42
+ * @public
43
+ */
44
+ SelfAssignFlowId?: string | undefined;
45
+ /**
46
+ * <p>Constraints that are applicable to the fields listed.
47
+ * Although this parameter is marked as optional in the API model, the service requires it when calling <code>CreateTaskTemplate</code> or <code>UpdateTaskTemplate</code>.
48
+ * The <code>RequiredFields</code> array must contain at least one element, and the field of type <code>NAME</code> must be included in <code>RequiredFields</code>.</p>
49
+ * @public
50
+ */
51
+ Constraints?: TaskTemplateConstraints | undefined;
52
+ /**
53
+ * <p>The default values for fields when a task is created by referencing this template.</p>
54
+ * @public
55
+ */
56
+ Defaults?: TaskTemplateDefaults | undefined;
57
+ /**
58
+ * <p>Fields that are part of the template.</p>
59
+ * @public
60
+ */
61
+ Fields?: TaskTemplateField[] | undefined;
62
+ /**
63
+ * <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
64
+ * Tasks can only be created from <code>ACTIVE</code> templates.
65
+ * If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
66
+ * @public
67
+ */
68
+ Status?: TaskTemplateStatus | undefined;
69
+ /**
70
+ * <p>The timestamp when the task template was last modified.</p>
71
+ * @public
72
+ */
73
+ LastModifiedTime?: Date | undefined;
74
+ /**
75
+ * <p>The timestamp when the task template was created.</p>
76
+ * @public
77
+ */
78
+ CreatedTime?: Date | undefined;
79
+ }
80
+ /**
81
+ * @public
82
+ */
83
+ export interface UpdateTestCaseRequest {
84
+ /**
85
+ * <p>The identifier of the Amazon Connect instance.</p>
86
+ * @public
87
+ */
88
+ InstanceId: string | undefined;
89
+ /**
90
+ * <p>The identifier of the test case to update.</p>
91
+ * @public
92
+ */
93
+ TestCaseId: string | undefined;
94
+ /**
95
+ * <p>The JSON string that represents the content of the test.</p>
96
+ * @public
97
+ */
98
+ Content?: string | undefined;
99
+ /**
100
+ * <p>Defines the starting point for your test.</p>
101
+ * @public
102
+ */
103
+ EntryPoint?: TestCaseEntryPoint | undefined;
104
+ /**
105
+ * <p>Defines the test attributes for precise data representation.</p>
106
+ * @public
107
+ */
108
+ InitializationData?: string | undefined;
109
+ /**
110
+ * <p>The name of the test case.</p>
111
+ * @public
112
+ */
113
+ Name?: string | undefined;
114
+ /**
115
+ * <p>The description of the test case.</p>
116
+ * @public
117
+ */
118
+ Description?: string | undefined;
119
+ /**
120
+ * <p>Indicates the test status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content. The SAVED status does not initiate validation of the content.</p>
121
+ * @public
122
+ */
123
+ Status?: TestCaseStatus | undefined;
124
+ /**
125
+ * <p>The time at which the resource was last modified.</p>
126
+ * @public
127
+ */
128
+ LastModifiedTime?: Date | undefined;
129
+ /**
130
+ * <p>The region in which the resource was last modified</p>
131
+ * @public
132
+ */
133
+ LastModifiedRegion?: string | undefined;
134
+ }
6
135
  /**
7
136
  * @public
8
137
  */
@@ -2466,6 +2595,31 @@ export interface StartChatContactRequest {
2466
2595
  * @public
2467
2596
  */
2468
2597
  DisconnectOnCustomerExit?: DisconnectOnCustomerExitParticipantType[] | undefined;
2598
+ /**
2599
+ * <p>The types of connection information to return in the response. This parameter is optional.</p>
2600
+ * <p>Specify <code>CONNECTION_CREDENTIALS</code> to receive a connection token. Specify <code>WEBSOCKET</code> to
2601
+ * receive a websocket URL. You can specify both. No other value returns connection information.</p>
2602
+ * <p>Request <code>WEBSOCKET</code> to get a URL the participant connects to directly. You do not need to call <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html">CreateParticipantConnection</a> for it. Request <code>CONNECTION_CREDENTIALS</code> on its own and the response
2603
+ * returns a connection token but no websocket URL.</p>
2604
+ * <p>If you omit this parameter, the response has no connection information.</p>
2605
+ * <note>
2606
+ * <p>If the information you request cannot be returned, StartChatContact returns an error rather than a response that
2607
+ * omits it.</p>
2608
+ * </note>
2609
+ * @public
2610
+ */
2611
+ ConnectionTypes?: ConnectionType[] | undefined;
2612
+ /**
2613
+ * <p>The streaming configuration, such as the Amazon SNS streaming endpoint. Use it to initiate real-time
2614
+ * message streaming when the chat is created. This parameter is optional.</p>
2615
+ * <p>When you set this parameter, the response includes <code>StreamingId</code>. You do not need to call <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_StartContactStreaming.html">StartContactStreaming</a>.</p>
2616
+ * <note>
2617
+ * <p>This parameter starts message streaming only. The response does not include connection information, and setting
2618
+ * this parameter does not remove the need to call <a href="https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html">CreateParticipantConnection</a>.</p>
2619
+ * </note>
2620
+ * @public
2621
+ */
2622
+ ChatStreamingConfiguration?: ChatStreamingConfiguration | undefined;
2469
2623
  }
2470
2624
  /**
2471
2625
  * @public
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListEvaluationFormAIVersionsCommandInput, ListEvaluationFormAIVersionsCommandOutput } from "../commands/ListEvaluationFormAIVersionsCommand";
3
+ import type { ConnectPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListEvaluationFormAIVersions: (config: ConnectPaginationConfiguration, input: ListEvaluationFormAIVersionsCommandInput, ...rest: any[]) => Paginator<ListEvaluationFormAIVersionsCommandOutput>;
@@ -23,6 +23,7 @@ export * from "./ListDataTablesPaginator";
23
23
  export * from "./ListDataTableValuesPaginator";
24
24
  export * from "./ListDefaultVocabulariesPaginator";
25
25
  export * from "./ListEntitySecurityProfilesPaginator";
26
+ export * from "./ListEvaluationFormAIVersionsPaginator";
26
27
  export * from "./ListEvaluationFormsPaginator";
27
28
  export * from "./ListEvaluationFormVersionsPaginator";
28
29
  export * from "./ListExtractionDefinitionsPaginator";
@@ -165,6 +165,7 @@ export declare var CommonAttributeAndCondition$: StaticStructureSchema;
165
165
  export declare var CompleteAttachedFileUploadRequest$: StaticStructureSchema;
166
166
  export declare var CompleteAttachedFileUploadResponse$: StaticStructureSchema;
167
167
  export declare var Condition$: StaticStructureSchema;
168
+ export declare var ConnectionCredentials$: StaticStructureSchema;
168
169
  export declare var ConnectionData$: StaticStructureSchema;
169
170
  export declare var Contact$: StaticStructureSchema;
170
171
  export declare var ContactAnalysis$: StaticStructureSchema;
@@ -1306,6 +1307,7 @@ export declare var VoiceEnhancementConfig$: StaticStructureSchema;
1306
1307
  export declare var VoiceRecordingConfiguration$: StaticStructureSchema;
1307
1308
  export declare var WebNotificationContent$: StaticStructureSchema;
1308
1309
  export declare var WebNotificationSource$: StaticStructureSchema;
1310
+ export declare var Websocket$: StaticStructureSchema;
1309
1311
  export declare var WidgetDestination$: StaticStructureSchema;
1310
1312
  export declare var WisdomInfo$: StaticStructureSchema;
1311
1313
  export declare var WorkloadTypeConcurrency$: StaticStructureSchema;
@@ -6859,6 +6859,13 @@ export interface Connect {
6859
6859
  Exclude<keyof PaginationConfiguration, "client">
6860
6860
  >,
6861
6861
  ): Paginator<ListEntitySecurityProfilesCommandOutput>;
6862
+ paginateListEvaluationFormAIVersions(
6863
+ args: ListEvaluationFormAIVersionsCommandInput,
6864
+ paginationConfig?: Pick<
6865
+ PaginationConfiguration,
6866
+ Exclude<keyof PaginationConfiguration, "client">
6867
+ >,
6868
+ ): Paginator<ListEvaluationFormAIVersionsCommandOutput>;
6862
6869
  paginateListEvaluationForms(
6863
6870
  args: ListEvaluationFormsCommandInput,
6864
6871
  paginationConfig?: Pick<
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { UpdateTaskTemplateRequest, UpdateTaskTemplateResponse } from "../models/models_3";
2
+ import { UpdateTaskTemplateRequest } from "../models/models_3";
3
+ import { UpdateTaskTemplateResponse } from "../models/models_4";
3
4
  export { __MetadataBearer };
4
5
  export interface UpdateTaskTemplateCommandInput extends UpdateTaskTemplateRequest {}
5
6
  export interface UpdateTaskTemplateCommandOutput
@@ -1,6 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { UpdateTestCaseRequest } from "../models/models_3";
3
- import { UpdateTestCaseResponse } from "../models/models_4";
2
+ import { UpdateTestCaseRequest, UpdateTestCaseResponse } from "../models/models_4";
4
3
  export { __MetadataBearer };
5
4
  export interface UpdateTestCaseCommandInput extends UpdateTestCaseRequest {}
6
5
  export interface UpdateTestCaseCommandOutput extends UpdateTestCaseResponse, __MetadataBearer {}
@@ -1638,6 +1638,13 @@ export declare const NotificationType: {
1638
1638
  readonly WIDGET_VIEW: "WIDGET_VIEW";
1639
1639
  };
1640
1640
  export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];
1641
+ export declare const ConnectionType: {
1642
+ readonly AUTHENTICATION_SESSION: "AUTHENTICATION_SESSION";
1643
+ readonly CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS";
1644
+ readonly WEBRTC_CONNECTION: "WEBRTC_CONNECTION";
1645
+ readonly WEBSOCKET: "WEBSOCKET";
1646
+ };
1647
+ export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
1641
1648
  export declare const DisconnectOnCustomerExitParticipantType: {
1642
1649
  readonly AGENT: "AGENT";
1643
1650
  };
@@ -67,7 +67,6 @@ import {
67
67
  TargetListType,
68
68
  TaskTemplateStatus,
69
69
  TestCaseExecutionStatus,
70
- TestCaseStatus,
71
70
  TimerEligibleParticipantRoles,
72
71
  TrafficType,
73
72
  TrendIndicator,
@@ -138,7 +137,6 @@ import {
138
137
  RoutingProfile,
139
138
  TaskTemplateField,
140
139
  TestCase,
141
- TestCaseEntryPoint,
142
140
  UserPhoneConfig,
143
141
  View,
144
142
  VoiceEnhancementConfig,
@@ -905,11 +903,22 @@ export interface StartAttachedFileUploadResponse {
905
903
  export interface ParticipantConfiguration {
906
904
  ResponseMode?: ResponseMode | undefined;
907
905
  }
906
+ export interface ConnectionCredentials {
907
+ ConnectionToken?: string | undefined;
908
+ Expiry?: string | undefined;
909
+ }
910
+ export interface Websocket {
911
+ Url?: string | undefined;
912
+ ConnectionExpiry?: string | undefined;
913
+ }
908
914
  export interface StartChatContactResponse {
909
915
  ContactId?: string | undefined;
910
916
  ParticipantId?: string | undefined;
911
917
  ParticipantToken?: string | undefined;
912
918
  ContinuedFromContactId?: string | undefined;
919
+ ConnectionCredentials?: ConnectionCredentials | undefined;
920
+ Websocket?: Websocket | undefined;
921
+ StreamingId?: string | undefined;
913
922
  }
914
923
  export interface LanguageConfiguration {
915
924
  LanguageLocale?: string | undefined;
@@ -1655,30 +1664,3 @@ export interface UpdateTaskTemplateRequest {
1655
1664
  Status?: TaskTemplateStatus | undefined;
1656
1665
  Fields?: TaskTemplateField[] | undefined;
1657
1666
  }
1658
- export interface UpdateTaskTemplateResponse {
1659
- InstanceId?: string | undefined;
1660
- Id?: string | undefined;
1661
- Arn?: string | undefined;
1662
- Name?: string | undefined;
1663
- Description?: string | undefined;
1664
- ContactFlowId?: string | undefined;
1665
- SelfAssignFlowId?: string | undefined;
1666
- Constraints?: TaskTemplateConstraints | undefined;
1667
- Defaults?: TaskTemplateDefaults | undefined;
1668
- Fields?: TaskTemplateField[] | undefined;
1669
- Status?: TaskTemplateStatus | undefined;
1670
- LastModifiedTime?: Date | undefined;
1671
- CreatedTime?: Date | undefined;
1672
- }
1673
- export interface UpdateTestCaseRequest {
1674
- InstanceId: string | undefined;
1675
- TestCaseId: string | undefined;
1676
- Content?: string | undefined;
1677
- EntryPoint?: TestCaseEntryPoint | undefined;
1678
- InitializationData?: string | undefined;
1679
- Name?: string | undefined;
1680
- Description?: string | undefined;
1681
- Status?: TestCaseStatus | undefined;
1682
- LastModifiedTime?: Date | undefined;
1683
- LastModifiedRegion?: string | undefined;
1684
- }
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  AnsweringMachineDetectionStatus,
3
3
  Channel,
4
+ ConnectionType,
4
5
  ContactFlowModuleState,
5
6
  ContactFlowModuleStatus,
6
7
  ContactFlowState,
@@ -17,6 +18,7 @@ import {
17
18
  NotificationStatus,
18
19
  RoutingCriteriaStepStatus,
19
20
  SearchableQueueType,
21
+ TaskTemplateStatus,
20
22
  TestCaseStatus,
21
23
  ViewStatus,
22
24
  ViewType,
@@ -44,6 +46,8 @@ import {
44
46
  OutboundStrategy,
45
47
  Reference,
46
48
  StringCondition,
49
+ TaskTemplateConstraints,
50
+ TaskTemplateDefaults,
47
51
  UserInfo,
48
52
  UserProficiency,
49
53
  } from "./models_0";
@@ -66,7 +70,9 @@ import {
66
70
  QualityMetrics,
67
71
  QueueInfo,
68
72
  RecordingInfo,
73
+ TaskTemplateField,
69
74
  TaskTemplateInfoV2,
75
+ TestCaseEntryPoint,
70
76
  UserIdentityInfo,
71
77
  UserPhoneConfig,
72
78
  View,
@@ -79,6 +85,7 @@ import { SignInConfig, TelephonyConfig } from "./models_2";
79
85
  import {
80
86
  BooleanCondition,
81
87
  ChatMessage,
88
+ ChatStreamingConfiguration,
82
89
  ContactFlowModuleSearchFilter,
83
90
  ContactFlowSearchFilter,
84
91
  ContactSearchSummaryAgentInfo,
@@ -121,6 +128,33 @@ import {
121
128
  WorkspaceAssociationSearchFilter,
122
129
  WorkspaceSearchFilter,
123
130
  } from "./models_3";
131
+ export interface UpdateTaskTemplateResponse {
132
+ InstanceId?: string | undefined;
133
+ Id?: string | undefined;
134
+ Arn?: string | undefined;
135
+ Name?: string | undefined;
136
+ Description?: string | undefined;
137
+ ContactFlowId?: string | undefined;
138
+ SelfAssignFlowId?: string | undefined;
139
+ Constraints?: TaskTemplateConstraints | undefined;
140
+ Defaults?: TaskTemplateDefaults | undefined;
141
+ Fields?: TaskTemplateField[] | undefined;
142
+ Status?: TaskTemplateStatus | undefined;
143
+ LastModifiedTime?: Date | undefined;
144
+ CreatedTime?: Date | undefined;
145
+ }
146
+ export interface UpdateTestCaseRequest {
147
+ InstanceId: string | undefined;
148
+ TestCaseId: string | undefined;
149
+ Content?: string | undefined;
150
+ EntryPoint?: TestCaseEntryPoint | undefined;
151
+ InitializationData?: string | undefined;
152
+ Name?: string | undefined;
153
+ Description?: string | undefined;
154
+ Status?: TestCaseStatus | undefined;
155
+ LastModifiedTime?: Date | undefined;
156
+ LastModifiedRegion?: string | undefined;
157
+ }
124
158
  export interface UpdateTestCaseResponse {}
125
159
  export interface UpdateTrafficDistributionRequest {
126
160
  Id: string | undefined;
@@ -653,6 +687,8 @@ export interface StartChatContactRequest {
653
687
  SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
654
688
  CustomerId?: string | undefined;
655
689
  DisconnectOnCustomerExit?: DisconnectOnCustomerExitParticipantType[] | undefined;
690
+ ConnectionTypes?: ConnectionType[] | undefined;
691
+ ChatStreamingConfiguration?: ChatStreamingConfiguration | undefined;
656
692
  }
657
693
  export interface StartEmailContactRequest {
658
694
  InstanceId: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListEvaluationFormAIVersionsCommandInput,
4
+ ListEvaluationFormAIVersionsCommandOutput,
5
+ } from "../commands/ListEvaluationFormAIVersionsCommand";
6
+ import { ConnectPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListEvaluationFormAIVersions: (
8
+ config: ConnectPaginationConfiguration,
9
+ input: ListEvaluationFormAIVersionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListEvaluationFormAIVersionsCommandOutput>;
@@ -23,6 +23,7 @@ export * from "./ListDataTablesPaginator";
23
23
  export * from "./ListDataTableValuesPaginator";
24
24
  export * from "./ListDefaultVocabulariesPaginator";
25
25
  export * from "./ListEntitySecurityProfilesPaginator";
26
+ export * from "./ListEvaluationFormAIVersionsPaginator";
26
27
  export * from "./ListEvaluationFormsPaginator";
27
28
  export * from "./ListEvaluationFormVersionsPaginator";
28
29
  export * from "./ListExtractionDefinitionsPaginator";
@@ -165,6 +165,7 @@ export declare var CommonAttributeAndCondition$: StaticStructureSchema;
165
165
  export declare var CompleteAttachedFileUploadRequest$: StaticStructureSchema;
166
166
  export declare var CompleteAttachedFileUploadResponse$: StaticStructureSchema;
167
167
  export declare var Condition$: StaticStructureSchema;
168
+ export declare var ConnectionCredentials$: StaticStructureSchema;
168
169
  export declare var ConnectionData$: StaticStructureSchema;
169
170
  export declare var Contact$: StaticStructureSchema;
170
171
  export declare var ContactAnalysis$: StaticStructureSchema;
@@ -1306,6 +1307,7 @@ export declare var VoiceEnhancementConfig$: StaticStructureSchema;
1306
1307
  export declare var VoiceRecordingConfiguration$: StaticStructureSchema;
1307
1308
  export declare var WebNotificationContent$: StaticStructureSchema;
1308
1309
  export declare var WebNotificationSource$: StaticStructureSchema;
1310
+ export declare var Websocket$: StaticStructureSchema;
1309
1311
  export declare var WidgetDestination$: StaticStructureSchema;
1310
1312
  export declare var WisdomInfo$: StaticStructureSchema;
1311
1313
  export declare var WorkloadTypeConcurrency$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
- "version": "3.1141.0",
3
+ "version": "3.1143.0",
4
4
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-connect",
6
6
  "license": "Apache-2.0",