@aws-sdk/client-connect 3.1109.0 → 3.1110.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.
Files changed (31) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +36 -3
  3. package/dist-es/Connect.js +2 -0
  4. package/dist-es/commands/StartAssistantContactCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/schemas/schemas_0.js +26 -2
  7. package/dist-types/Connect.d.ts +7 -0
  8. package/dist-types/ConnectClient.d.ts +3 -2
  9. package/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -1
  10. package/dist-types/commands/StartAssistantContactCommand.d.ts +126 -0
  11. package/dist-types/commands/StartWebRTCContactCommand.d.ts +28 -1
  12. package/dist-types/commands/index.d.ts +1 -0
  13. package/dist-types/models/models_0.d.ts +11 -21
  14. package/dist-types/models/models_1.d.ts +22 -58
  15. package/dist-types/models/models_2.d.ts +59 -22
  16. package/dist-types/models/models_3.d.ts +164 -211
  17. package/dist-types/models/models_4.d.ts +161 -4
  18. package/dist-types/schemas/schemas_0.d.ts +4 -0
  19. package/dist-types/ts3.4/Connect.d.ts +17 -0
  20. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  21. package/dist-types/ts3.4/commands/SearchContactFlowsCommand.d.ts +1 -1
  22. package/dist-types/ts3.4/commands/StartAssistantContactCommand.d.ts +39 -0
  23. package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +2 -1
  24. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +3 -5
  26. package/dist-types/ts3.4/models/models_1.d.ts +5 -14
  27. package/dist-types/ts3.4/models/models_2.d.ts +16 -7
  28. package/dist-types/ts3.4/models/models_3.d.ts +33 -47
  29. package/dist-types/ts3.4/models/models_4.d.ts +33 -2
  30. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  31. package/package.json +1 -1
@@ -1,8 +1,91 @@
1
1
  import type { AnsweringMachineDetectionStatus, Channel, ContactInitiationMethod, DisconnectOnCustomerExitParticipantType, EvaluationFormQuestionType, EvaluationFormValidationStatus, EvaluationFormVersionStatus, InitiateAs, RoutingCriteriaStepStatus, SearchableQueueType, TestCaseStatus, ViewStatus, ViewType } from "./enums";
2
- import type { AdditionalEmailRecipients, AgentInfo, AgentStatusSearchFilter, Campaign, Endpoint, EvaluationFormAutoEvaluationConfiguration, EvaluationFormLanguageConfiguration, EvaluationFormQuestionScoringConfiguration, EvaluationFormQuestionTypeProperties, EvaluationFormScoreThreshold, EvaluationFormScoringStrategy, EvaluationFormTargetConfiguration, EvaluationReviewConfiguration, OutboundStrategy, Reference, StringCondition, UserInfo } from "./models_0";
2
+ import type { AdditionalEmailRecipients, AgentInfo, AgentStatusSearchFilter, AllowedCapabilities, Campaign, Endpoint, EvaluationFormAutoEvaluationConfiguration, EvaluationFormLanguageConfiguration, EvaluationFormQuestionScoringConfiguration, EvaluationFormQuestionTypeProperties, EvaluationFormScoreThreshold, EvaluationFormScoringStrategy, EvaluationFormTargetConfiguration, EvaluationReviewConfiguration, OutboundStrategy, Reference, StringCondition, UserInfo } from "./models_0";
3
3
  import type { AttributeCondition, ChatMetrics, ContactDetails, ContactEvaluation, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, Expiry, GlobalResiliencyMetadata, NextContactEntry, QualityMetrics, QueueInfo, RecordingInfo, TaskTemplateInfoV2, WisdomInfo } from "./models_1";
4
- import type { BooleanCondition, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, EvaluationSearchFilter } from "./models_2";
5
- import type { AgentStatusSearchCriteria, ChatMessage, ContactFlowModuleSearchCriteria, ContactFlowSearchCriteria, ContactSearchSummaryAgentInfo, ContactSearchSummaryAiAgentInfo, ContactSearchSummaryQueueInfo, DataTableSearchCriteria, DataTableSearchFilter, DateCondition, EmailAddressInfo, EmailAddressSearchCriteria, EmailAddressSearchFilter, EmailAttachment, EvaluationFormItemEnablementConfiguration, EvaluationFormSearchCriteria, EvaluationFormSearchFilter, EvaluationSearchCriteria, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, MetricSearchFilter, NotificationSearchFilter, ParticipantConfiguration, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter, RoutingCriteriaInputStepExpiry, RoutingProfileSearchFilter, RulesSearchFilter, SecurityProfilesSearchFilter, TaskAttachment, TemplatedMessageConfig, TestCaseSearchFilter, UserHierarchyGroupSearchFilter, UserSearchFilter, ViewSearchFilter, WorkspaceAssociationSearchFilter, WorkspaceSearchFilter } from "./models_3";
4
+ import type { BooleanCondition, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, DateTimeCondition, DecimalCondition, EvaluationSearchFilter, NumberCondition } from "./models_2";
5
+ import type { AgentStatusSearchCriteria, ChatMessage, ContactFlowModuleSearchCriteria, ContactFlowSearchCriteria, ContactSearchSummaryAgentInfo, ContactSearchSummaryAiAgentInfo, ContactSearchSummaryQueueInfo, DataTableSearchCriteria, DataTableSearchFilter, DateCondition, EmailAddressInfo, EmailAddressSearchCriteria, EmailAddressSearchFilter, EmailAttachment, EvaluationFormItemEnablementConfiguration, EvaluationFormSearchFilter, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, MetricSearchFilter, NotificationSearchFilter, ParticipantConfiguration, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter, RoutingCriteriaInputStepExpiry, RoutingProfileSearchFilter, RulesSearchFilter, SecurityProfilesSearchFilter, TaskAttachment, TemplatedMessageConfig, TestCaseSearchFilter, UserHierarchyGroupSearchFilter, UserSearchFilter, ViewSearchFilter, WorkspaceAssociationSearchFilter, WorkspaceSearchFilter } from "./models_3";
6
+ /**
7
+ * <p>The search criteria to be used to return evaluation forms.</p>
8
+ * @public
9
+ */
10
+ export interface EvaluationFormSearchCriteria {
11
+ /**
12
+ * <p>A list of conditions which would be applied together with an OR condition.</p>
13
+ * @public
14
+ */
15
+ OrConditions?: EvaluationFormSearchCriteria[] | undefined;
16
+ /**
17
+ * <p>A list of conditions which would be applied together with an AND condition.</p>
18
+ * @public
19
+ */
20
+ AndConditions?: EvaluationFormSearchCriteria[] | undefined;
21
+ /**
22
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
23
+ * @public
24
+ */
25
+ StringCondition?: StringCondition | undefined;
26
+ /**
27
+ * <p>A leaf node condition which can be used to specify a numeric condition.</p>
28
+ * <note>
29
+ * <p>The currently supported value for <code>FieldName</code> is <code>limit</code>.</p>
30
+ * </note>
31
+ * @public
32
+ */
33
+ NumberCondition?: NumberCondition | undefined;
34
+ /**
35
+ * <p>Boolean search condition.</p>
36
+ * @public
37
+ */
38
+ BooleanCondition?: BooleanCondition | undefined;
39
+ /**
40
+ * <p>Datetime search condition.</p>
41
+ * @public
42
+ */
43
+ DateTimeCondition?: DateTimeCondition | undefined;
44
+ }
45
+ /**
46
+ * <p>The search criteria to be used to return evaluations.</p>
47
+ * @public
48
+ */
49
+ export interface EvaluationSearchCriteria {
50
+ /**
51
+ * <p>A list of conditions which would be applied together with an OR condition.</p>
52
+ * @public
53
+ */
54
+ OrConditions?: EvaluationSearchCriteria[] | undefined;
55
+ /**
56
+ * <p>A list of conditions which would be applied together with an AND condition.</p>
57
+ * @public
58
+ */
59
+ AndConditions?: EvaluationSearchCriteria[] | undefined;
60
+ /**
61
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
62
+ * @public
63
+ */
64
+ StringCondition?: StringCondition | undefined;
65
+ /**
66
+ * <p>A leaf node condition which can be used to specify a numeric condition.</p>
67
+ * <note>
68
+ * <p>The currently supported value for <code>FieldName</code> is <code>limit</code>.</p>
69
+ * </note>
70
+ * @public
71
+ */
72
+ NumberCondition?: NumberCondition | undefined;
73
+ /**
74
+ * <p>The boolean condition search criteria for searching evaluations.</p>
75
+ * @public
76
+ */
77
+ BooleanCondition?: BooleanCondition | undefined;
78
+ /**
79
+ * <p>The datetime condition search criteria for searching evaluations.</p>
80
+ * @public
81
+ */
82
+ DateTimeCondition?: DateTimeCondition | undefined;
83
+ /**
84
+ * <p>The decimal condition search criteria for searching evaluations.</p>
85
+ * @public
86
+ */
87
+ DecimalCondition?: DecimalCondition | undefined;
88
+ }
6
89
  /**
7
90
  * <p>A tagged union to specify expression for a routing step.</p>
8
91
  * @public
@@ -1794,7 +1877,7 @@ export interface StartOutboundChatContactRequest {
1794
1877
  */
1795
1878
  ChatDurationInMinutes?: number | undefined;
1796
1879
  /**
1797
- * <p>The customer's details.</p>
1880
+ * <p>The details of the participant, including their display name.</p>
1798
1881
  * @public
1799
1882
  */
1800
1883
  ParticipantDetails?: ParticipantDetails | undefined;
@@ -1979,6 +2062,80 @@ export interface StartTaskContactRequest {
1979
2062
  */
1980
2063
  Attachments?: TaskAttachment[] | undefined;
1981
2064
  }
2065
+ /**
2066
+ * @public
2067
+ */
2068
+ export interface StartWebRTCContactRequest {
2069
+ /**
2070
+ * <p>A custom key-value pair using an attribute map. The attributes are standard Connect Customer attributes, and
2071
+ * can be accessed in flows just like any other contact attributes.</p>
2072
+ * <p>There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only
2073
+ * alphanumeric, -, and _ characters.</p>
2074
+ * @public
2075
+ */
2076
+ Attributes?: Record<string, string> | undefined;
2077
+ /**
2078
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
2079
+ * request. If not provided, the Amazon Web Services
2080
+ * SDK populates this field. For more information about idempotency, see
2081
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
2082
+ * <p>The token is valid for 7 days after creation. If a contact is already started, the contact ID is
2083
+ * returned.</p>
2084
+ * @public
2085
+ */
2086
+ ClientToken?: string | undefined;
2087
+ /**
2088
+ * <p>The identifier of the flow for the call. To see the ContactFlowId in the Connect Customer admin website, on the navigation menu go to
2089
+ * <b>Routing</b>, <b>Flows</b>. Choose the flow. On the flow page,
2090
+ * under the name of the flow, choose <b>Show additional flow information</b>. The
2091
+ * ContactFlowId is the last part of the ARN, shown here in bold: </p>
2092
+ * <p>arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/<b>846ec553-a005-41c0-8341-xxxxxxxxxxxx</b>
2093
+ * </p>
2094
+ * @public
2095
+ */
2096
+ ContactFlowId: string | undefined;
2097
+ /**
2098
+ * <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>
2099
+ * @public
2100
+ */
2101
+ InstanceId: string | undefined;
2102
+ /**
2103
+ * <p>Information about the video sharing capabilities of the participants (customer, agent).</p>
2104
+ * @public
2105
+ */
2106
+ AllowedCapabilities?: AllowedCapabilities | undefined;
2107
+ /**
2108
+ * <p>The details of the participant, including their display name.</p>
2109
+ * @public
2110
+ */
2111
+ ParticipantDetails: ParticipantDetails | undefined;
2112
+ /**
2113
+ * <p>The unique identifier for an Connect Customer contact. This identifier is related to the contact
2114
+ * starting.</p>
2115
+ * @public
2116
+ */
2117
+ RelatedContactId?: string | undefined;
2118
+ /**
2119
+ * <p>A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following
2120
+ * reference types at the time of creation: <code>URL</code> | <code>NUMBER</code> | <code>STRING</code> |
2121
+ * <code>DATE</code> | <code>EMAIL</code>. <code>ATTACHMENT</code> is not a supported reference type during task
2122
+ * creation.</p>
2123
+ * @public
2124
+ */
2125
+ References?: Record<string, Reference> | undefined;
2126
+ /**
2127
+ * <p>A description of the task that is shown to an agent in the Contact Control Panel (CCP).</p>
2128
+ * @public
2129
+ */
2130
+ Description?: string | undefined;
2131
+ /**
2132
+ * <p>Use this map to specify system-defined attributes for the WebRTC contact segment. Use the
2133
+ * <code>connect:Subtype</code> attribute to specify the channel subtype, such as <code>connect:WebRTC</code>.</p>
2134
+ * <p>Attribute keys can contain only alphanumeric characters, hyphens, and underscores.</p>
2135
+ * @public
2136
+ */
2137
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
2138
+ }
1982
2139
  /**
1983
2140
  * @public
1984
2141
  */
@@ -57,6 +57,7 @@ export declare var AgentStatusSearchCriteria$: StaticStructureSchema;
57
57
  export declare var AgentStatusSearchFilter$: StaticStructureSchema;
58
58
  export declare var AgentStatusSummary$: StaticStructureSchema;
59
59
  export declare var AiAgentInfo$: StaticStructureSchema;
60
+ export declare var AiAgentInput$: StaticStructureSchema;
60
61
  export declare var AiAgentsCriteria$: StaticStructureSchema;
61
62
  export declare var AiAgentSearchCriteria$: StaticStructureSchema;
62
63
  export declare var AliasConfiguration$: StaticStructureSchema;
@@ -1038,6 +1039,8 @@ export declare var SignInDistribution$: StaticStructureSchema;
1038
1039
  export declare var SingleSelectQuestionRuleCategoryAutomation$: StaticStructureSchema;
1039
1040
  export declare var Sort$: StaticStructureSchema;
1040
1041
  export declare var SourceCampaign$: StaticStructureSchema;
1042
+ export declare var StartAssistantContactRequest$: StaticStructureSchema;
1043
+ export declare var StartAssistantContactResponse$: StaticStructureSchema;
1041
1044
  export declare var StartAttachedFileUploadRequest$: StaticStructureSchema;
1042
1045
  export declare var StartAttachedFileUploadResponse$: StaticStructureSchema;
1043
1046
  export declare var StartChatContactRequest$: StaticStructureSchema;
@@ -1596,6 +1599,7 @@ export declare var SearchWorkspaces$: StaticOperationSchema;
1596
1599
  export declare var SendChatIntegrationEvent$: StaticOperationSchema;
1597
1600
  export declare var SendOutboundEmail$: StaticOperationSchema;
1598
1601
  export declare var SendOutboundWebNotification$: StaticOperationSchema;
1602
+ export declare var StartAssistantContact$: StaticOperationSchema;
1599
1603
  export declare var StartAttachedFileUpload$: StaticOperationSchema;
1600
1604
  export declare var StartChatContact$: StaticOperationSchema;
1601
1605
  export declare var StartContactConversationalAnalyticsJob$: StaticOperationSchema;
@@ -1114,6 +1114,10 @@ import {
1114
1114
  SendOutboundWebNotificationCommandInput,
1115
1115
  SendOutboundWebNotificationCommandOutput,
1116
1116
  } from "./commands/SendOutboundWebNotificationCommand";
1117
+ import {
1118
+ StartAssistantContactCommandInput,
1119
+ StartAssistantContactCommandOutput,
1120
+ } from "./commands/StartAssistantContactCommand";
1117
1121
  import {
1118
1122
  StartAttachedFileUploadCommandInput,
1119
1123
  StartAttachedFileUploadCommandOutput,
@@ -5280,6 +5284,19 @@ export interface Connect {
5280
5284
  options: __HttpHandlerOptions,
5281
5285
  cb: (err: any, data?: SendOutboundWebNotificationCommandOutput) => void,
5282
5286
  ): void;
5287
+ startAssistantContact(
5288
+ args: StartAssistantContactCommandInput,
5289
+ options?: __HttpHandlerOptions,
5290
+ ): Promise<StartAssistantContactCommandOutput>;
5291
+ startAssistantContact(
5292
+ args: StartAssistantContactCommandInput,
5293
+ cb: (err: any, data?: StartAssistantContactCommandOutput) => void,
5294
+ ): void;
5295
+ startAssistantContact(
5296
+ args: StartAssistantContactCommandInput,
5297
+ options: __HttpHandlerOptions,
5298
+ cb: (err: any, data?: StartAssistantContactCommandOutput) => void,
5299
+ ): void;
5283
5300
  startAttachedFileUpload(
5284
5301
  args: StartAttachedFileUploadCommandInput,
5285
5302
  options?: __HttpHandlerOptions,
@@ -1144,6 +1144,10 @@ import {
1144
1144
  SendOutboundWebNotificationCommandInput,
1145
1145
  SendOutboundWebNotificationCommandOutput,
1146
1146
  } from "./commands/SendOutboundWebNotificationCommand";
1147
+ import {
1148
+ StartAssistantContactCommandInput,
1149
+ StartAssistantContactCommandOutput,
1150
+ } from "./commands/StartAssistantContactCommand";
1147
1151
  import {
1148
1152
  StartAttachedFileUploadCommandInput,
1149
1153
  StartAttachedFileUploadCommandOutput,
@@ -1812,6 +1816,7 @@ export type ServiceInputTypes =
1812
1816
  | SendChatIntegrationEventCommandInput
1813
1817
  | SendOutboundEmailCommandInput
1814
1818
  | SendOutboundWebNotificationCommandInput
1819
+ | StartAssistantContactCommandInput
1815
1820
  | StartAttachedFileUploadCommandInput
1816
1821
  | StartChatContactCommandInput
1817
1822
  | StartContactConversationalAnalyticsJobCommandInput
@@ -2200,6 +2205,7 @@ export type ServiceOutputTypes =
2200
2205
  | SendChatIntegrationEventCommandOutput
2201
2206
  | SendOutboundEmailCommandOutput
2202
2207
  | SendOutboundWebNotificationCommandOutput
2208
+ | StartAssistantContactCommandOutput
2203
2209
  | StartAttachedFileUploadCommandOutput
2204
2210
  | StartChatContactCommandOutput
2205
2211
  | StartContactConversationalAnalyticsJobCommandOutput
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { SearchContactFlowsResponse } from "../models/models_2";
2
+ import { SearchContactFlowsResponse } from "../models/models_3";
3
3
  import { SearchContactFlowsRequest } from "../models/models_4";
4
4
  export { __MetadataBearer };
5
5
  export interface SearchContactFlowsCommandInput extends SearchContactFlowsRequest {}
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { StartAssistantContactRequest, StartAssistantContactResponse } from "../models/models_3";
3
+ export { __MetadataBearer };
4
+ export interface StartAssistantContactCommandInput extends StartAssistantContactRequest {}
5
+ export interface StartAssistantContactCommandOutput
6
+ extends StartAssistantContactResponse, __MetadataBearer {}
7
+ declare const StartAssistantContactCommand_base: {
8
+ new (
9
+ input: StartAssistantContactCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ StartAssistantContactCommandInput,
12
+ StartAssistantContactCommandOutput,
13
+ import("..").ConnectClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: StartAssistantContactCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ StartAssistantContactCommandInput,
21
+ StartAssistantContactCommandOutput,
22
+ import("..").ConnectClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class StartAssistantContactCommand extends StartAssistantContactCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: StartAssistantContactRequest;
32
+ output: StartAssistantContactResponse;
33
+ };
34
+ sdk: {
35
+ input: StartAssistantContactCommandInput;
36
+ output: StartAssistantContactCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { StartWebRTCContactRequest, StartWebRTCContactResponse } from "../models/models_3";
2
+ import { StartWebRTCContactResponse } from "../models/models_3";
3
+ import { StartWebRTCContactRequest } from "../models/models_4";
3
4
  export { __MetadataBearer };
4
5
  export interface StartWebRTCContactCommandInput extends StartWebRTCContactRequest {}
5
6
  export interface StartWebRTCContactCommandOutput
@@ -290,6 +290,7 @@ export * from "./SearchWorkspacesCommand";
290
290
  export * from "./SendChatIntegrationEventCommand";
291
291
  export * from "./SendOutboundEmailCommand";
292
292
  export * from "./SendOutboundWebNotificationCommand";
293
+ export * from "./StartAssistantContactCommand";
293
294
  export * from "./StartAttachedFileUploadCommand";
294
295
  export * from "./StartChatContactCommand";
295
296
  export * from "./StartContactConversationalAnalyticsJobCommand";
@@ -256,6 +256,9 @@ export interface AiAgentInfo {
256
256
  AiAgentVersionId?: string | undefined;
257
257
  AiAgentEscalated?: boolean | undefined;
258
258
  }
259
+ export interface AiAgentInput {
260
+ AiAgentId: string | undefined;
261
+ }
259
262
  export interface AiAgentSearchCriteria {
260
263
  Id?: string | undefined;
261
264
  VersionNumber?: number | undefined;
@@ -1735,8 +1738,3 @@ export interface CreateUseCaseResponse {
1735
1738
  UseCaseId?: string | undefined;
1736
1739
  UseCaseArn?: string | undefined;
1737
1740
  }
1738
- export interface AutoAcceptConfig {
1739
- Channel: Channel | undefined;
1740
- AutoAccept: boolean | undefined;
1741
- AgentFirstCallbackAutoAccept?: boolean | undefined;
1742
- }
@@ -72,17 +72,14 @@ import {
72
72
  } from "./enums";
73
73
  import {
74
74
  AfterContactWorkConfigPerChannel,
75
- AgentContactReference,
76
75
  AgentQualityMetrics,
77
76
  AgentsCriteria,
78
77
  AgentStatus,
79
78
  AgentStatusIdentifier,
80
- AgentStatusReference,
81
79
  AiAgentInfo,
82
80
  AliasConfiguration,
83
81
  AllowedExtension,
84
82
  AudioQualityMetricsInfo,
85
- AutoAcceptConfig,
86
83
  CreatedByInfo,
87
84
  DataTableLockVersion,
88
85
  DeviceInfo,
@@ -112,6 +109,11 @@ import {
112
109
  TestCaseEntryPoint,
113
110
  Validation,
114
111
  } from "./models_0";
112
+ export interface AutoAcceptConfig {
113
+ Channel: Channel | undefined;
114
+ AutoAccept: boolean | undefined;
115
+ AgentFirstCallbackAutoAccept?: boolean | undefined;
116
+ }
115
117
  export interface UserIdentityInfo {
116
118
  FirstName?: string | undefined;
117
119
  LastName?: string | undefined;
@@ -1786,14 +1788,3 @@ export interface UserReference {
1786
1788
  Id?: string | undefined;
1787
1789
  Arn?: string | undefined;
1788
1790
  }
1789
- export interface UserData {
1790
- User?: UserReference | undefined;
1791
- RoutingProfile?: RoutingProfileReference | undefined;
1792
- HierarchyPath?: HierarchyPathReference | undefined;
1793
- Status?: AgentStatusReference | undefined;
1794
- AvailableSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
1795
- MaxSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
1796
- ActiveSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
1797
- Contacts?: AgentContactReference[] | undefined;
1798
- NextStatus?: string | undefined;
1799
- }
@@ -79,7 +79,9 @@ import {
79
79
  import {
80
80
  ActionSummary,
81
81
  AgentConfig,
82
+ AgentContactReference,
82
83
  AgentStatus,
84
+ AgentStatusReference,
83
85
  AgentStatusSummary,
84
86
  AnalyticsDataAssociationResult,
85
87
  Application,
@@ -102,7 +104,6 @@ import {
102
104
  } from "./models_0";
103
105
  import {
104
106
  Attribute,
105
- ContactFlow,
106
107
  ContactFlowModule,
107
108
  DataTableAttribute,
108
109
  Dimensions,
@@ -111,11 +112,24 @@ import {
111
112
  ExtensionConfiguration,
112
113
  Filters,
113
114
  HierarchyGroupSummary,
115
+ HierarchyPathReference,
114
116
  HoursOfOperationOverride,
115
117
  HoursOfOperationsIdentifier,
116
118
  Notification,
117
- UserData,
119
+ RoutingProfileReference,
120
+ UserReference,
118
121
  } from "./models_1";
122
+ export interface UserData {
123
+ User?: UserReference | undefined;
124
+ RoutingProfile?: RoutingProfileReference | undefined;
125
+ HierarchyPath?: HierarchyPathReference | undefined;
126
+ Status?: AgentStatusReference | undefined;
127
+ AvailableSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
128
+ MaxSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
129
+ ActiveSlotsByChannel?: Partial<Record<Channel, number>> | undefined;
130
+ Contacts?: AgentContactReference[] | undefined;
131
+ NextStatus?: string | undefined;
132
+ }
119
133
  export interface GetCurrentUserDataResponse {
120
134
  NextToken?: string | undefined;
121
135
  UserDataList?: UserData[] | undefined;
@@ -2015,8 +2029,3 @@ export interface ContactFlowSearchFilter {
2015
2029
  TagFilter?: ControlPlaneTagFilter | undefined;
2016
2030
  FlowAttributeFilter?: ContactFlowAttributeFilter | undefined;
2017
2031
  }
2018
- export interface SearchContactFlowsResponse {
2019
- ContactFlows?: ContactFlow[] | undefined;
2020
- NextToken?: string | undefined;
2021
- ApproximateTotalCount?: number | undefined;
2022
- }
@@ -74,11 +74,10 @@ import {
74
74
  AfterContactWorkConfigPerChannel,
75
75
  AgentConfig,
76
76
  AgentHierarchyGroups,
77
+ AiAgentInput,
77
78
  AiAgentsCriteria,
78
79
  AliasConfiguration,
79
- AllowedCapabilities,
80
80
  Application,
81
- AutoAcceptConfig,
82
81
  ControlPlaneAttributeFilter,
83
82
  CreatedByInfo,
84
83
  DataTableLockVersion,
@@ -112,6 +111,8 @@ import {
112
111
  Validation,
113
112
  } from "./models_0";
114
113
  import {
114
+ AutoAcceptConfig,
115
+ ContactFlow,
115
116
  DataTable,
116
117
  EvaluationAnswerData,
117
118
  EvaluationNote,
@@ -135,15 +136,12 @@ import {
135
136
  VoiceEnhancementConfig,
136
137
  WorkspaceTheme,
137
138
  } from "./models_1";
138
- import {
139
- BooleanCondition,
140
- ControlPlaneTagFilter,
141
- DateTimeCondition,
142
- DecimalCondition,
143
- NumberCondition,
144
- SignInConfig,
145
- TelephonyConfig,
146
- } from "./models_2";
139
+ import { ControlPlaneTagFilter, NumberCondition, SignInConfig, TelephonyConfig } from "./models_2";
140
+ export interface SearchContactFlowsResponse {
141
+ ContactFlows?: ContactFlow[] | undefined;
142
+ NextToken?: string | undefined;
143
+ ApproximateTotalCount?: number | undefined;
144
+ }
147
145
  export interface SearchContactsTimeRange {
148
146
  Type: SearchContactsTimeRangeType | undefined;
149
147
  StartTime: Date | undefined;
@@ -679,6 +677,30 @@ export interface SendOutboundWebNotificationRequest {
679
677
  Content: WebNotificationContent | undefined;
680
678
  }
681
679
  export interface SendOutboundWebNotificationResponse {}
680
+ export interface ChatMessage {
681
+ ContentType: string | undefined;
682
+ Content: string | undefined;
683
+ }
684
+ export interface PersistentChat {
685
+ RehydrationType?: RehydrationType | undefined;
686
+ SourceContactId?: string | undefined;
687
+ }
688
+ export interface StartAssistantContactRequest {
689
+ InstanceId: string | undefined;
690
+ AiAgent: AiAgentInput | undefined;
691
+ ParticipantDetails: ParticipantDetails | undefined;
692
+ InitialMessage?: ChatMessage | undefined;
693
+ Attributes?: Record<string, string> | undefined;
694
+ ClientToken?: string | undefined;
695
+ PersistentChat?: PersistentChat | undefined;
696
+ RelatedContactId?: string | undefined;
697
+ }
698
+ export interface StartAssistantContactResponse {
699
+ ContactId?: string | undefined;
700
+ ParticipantId?: string | undefined;
701
+ ParticipantToken?: string | undefined;
702
+ ContinuedFromContactId?: string | undefined;
703
+ }
682
704
  export interface StartAttachedFileUploadRequest {
683
705
  ClientToken?: string | undefined;
684
706
  InstanceId: string | undefined;
@@ -703,17 +725,9 @@ export interface StartAttachedFileUploadResponse {
703
725
  CreatedBy?: CreatedByInfo | undefined;
704
726
  UploadUrlMetadata?: UploadUrlMetadata | undefined;
705
727
  }
706
- export interface ChatMessage {
707
- ContentType: string | undefined;
708
- Content: string | undefined;
709
- }
710
728
  export interface ParticipantConfiguration {
711
729
  ResponseMode?: ResponseMode | undefined;
712
730
  }
713
- export interface PersistentChat {
714
- RehydrationType?: RehydrationType | undefined;
715
- SourceContactId?: string | undefined;
716
- }
717
731
  export interface StartChatContactResponse {
718
732
  ContactId?: string | undefined;
719
733
  ParticipantId?: string | undefined;
@@ -892,17 +906,6 @@ export interface StartTestCaseExecutionResponse {
892
906
  TestCaseId?: string | undefined;
893
907
  Status?: TestCaseExecutionStatus | undefined;
894
908
  }
895
- export interface StartWebRTCContactRequest {
896
- Attributes?: Record<string, string> | undefined;
897
- ClientToken?: string | undefined;
898
- ContactFlowId: string | undefined;
899
- InstanceId: string | undefined;
900
- AllowedCapabilities?: AllowedCapabilities | undefined;
901
- ParticipantDetails: ParticipantDetails | undefined;
902
- RelatedContactId?: string | undefined;
903
- References?: Record<string, Reference> | undefined;
904
- Description?: string | undefined;
905
- }
906
909
  export interface Attendee {
907
910
  AttendeeId?: string | undefined;
908
911
  JoinToken?: string | undefined;
@@ -1672,20 +1675,3 @@ export interface EvaluationFormItemEnablementConfiguration {
1672
1675
  Action: EvaluationFormItemEnablementAction | undefined;
1673
1676
  DefaultAction?: EvaluationFormItemEnablementAction | undefined;
1674
1677
  }
1675
- export interface EvaluationFormSearchCriteria {
1676
- OrConditions?: EvaluationFormSearchCriteria[] | undefined;
1677
- AndConditions?: EvaluationFormSearchCriteria[] | undefined;
1678
- StringCondition?: StringCondition | undefined;
1679
- NumberCondition?: NumberCondition | undefined;
1680
- BooleanCondition?: BooleanCondition | undefined;
1681
- DateTimeCondition?: DateTimeCondition | undefined;
1682
- }
1683
- export interface EvaluationSearchCriteria {
1684
- OrConditions?: EvaluationSearchCriteria[] | undefined;
1685
- AndConditions?: EvaluationSearchCriteria[] | undefined;
1686
- StringCondition?: StringCondition | undefined;
1687
- NumberCondition?: NumberCondition | undefined;
1688
- BooleanCondition?: BooleanCondition | undefined;
1689
- DateTimeCondition?: DateTimeCondition | undefined;
1690
- DecimalCondition?: DecimalCondition | undefined;
1691
- }
@@ -17,6 +17,7 @@ import {
17
17
  AdditionalEmailRecipients,
18
18
  AgentInfo,
19
19
  AgentStatusSearchFilter,
20
+ AllowedCapabilities,
20
21
  Campaign,
21
22
  Endpoint,
22
23
  EvaluationFormAutoEvaluationConfiguration,
@@ -55,7 +56,10 @@ import {
55
56
  BooleanCondition,
56
57
  ContactFlowModuleSearchFilter,
57
58
  ContactFlowSearchFilter,
59
+ DateTimeCondition,
60
+ DecimalCondition,
58
61
  EvaluationSearchFilter,
62
+ NumberCondition,
59
63
  } from "./models_2";
60
64
  import {
61
65
  AgentStatusSearchCriteria,
@@ -73,9 +77,7 @@ import {
73
77
  EmailAddressSearchFilter,
74
78
  EmailAttachment,
75
79
  EvaluationFormItemEnablementConfiguration,
76
- EvaluationFormSearchCriteria,
77
80
  EvaluationFormSearchFilter,
78
- EvaluationSearchCriteria,
79
81
  HierarchyGroupCondition,
80
82
  HoursOfOperationSearchFilter,
81
83
  InboundAdditionalRecipients,
@@ -103,6 +105,23 @@ import {
103
105
  WorkspaceAssociationSearchFilter,
104
106
  WorkspaceSearchFilter,
105
107
  } from "./models_3";
108
+ export interface EvaluationFormSearchCriteria {
109
+ OrConditions?: EvaluationFormSearchCriteria[] | undefined;
110
+ AndConditions?: EvaluationFormSearchCriteria[] | undefined;
111
+ StringCondition?: StringCondition | undefined;
112
+ NumberCondition?: NumberCondition | undefined;
113
+ BooleanCondition?: BooleanCondition | undefined;
114
+ DateTimeCondition?: DateTimeCondition | undefined;
115
+ }
116
+ export interface EvaluationSearchCriteria {
117
+ OrConditions?: EvaluationSearchCriteria[] | undefined;
118
+ AndConditions?: EvaluationSearchCriteria[] | undefined;
119
+ StringCondition?: StringCondition | undefined;
120
+ NumberCondition?: NumberCondition | undefined;
121
+ BooleanCondition?: BooleanCondition | undefined;
122
+ DateTimeCondition?: DateTimeCondition | undefined;
123
+ DecimalCondition?: DecimalCondition | undefined;
124
+ }
106
125
  export interface Expression {
107
126
  AttributeCondition?: AttributeCondition | undefined;
108
127
  AndExpression?: Expression[] | undefined;
@@ -479,6 +498,18 @@ export interface StartTaskContactRequest {
479
498
  SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
480
499
  Attachments?: TaskAttachment[] | undefined;
481
500
  }
501
+ export interface StartWebRTCContactRequest {
502
+ Attributes?: Record<string, string> | undefined;
503
+ ClientToken?: string | undefined;
504
+ ContactFlowId: string | undefined;
505
+ InstanceId: string | undefined;
506
+ AllowedCapabilities?: AllowedCapabilities | undefined;
507
+ ParticipantDetails: ParticipantDetails | undefined;
508
+ RelatedContactId?: string | undefined;
509
+ References?: Record<string, Reference> | undefined;
510
+ Description?: string | undefined;
511
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
512
+ }
482
513
  export interface UpdateContactRequest {
483
514
  InstanceId: string | undefined;
484
515
  ContactId: string | undefined;