@aws-sdk/client-connect 3.1075.0 → 3.1077.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 (74) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +13382 -15
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/CreateAttachedFileCommand.js +16 -0
  5. package/dist-es/commands/StartContactConversationalAnalyticsJobCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +25 -0
  8. package/dist-es/runtimeConfig.browser.js +0 -2
  9. package/dist-es/runtimeConfig.js +1 -2
  10. package/dist-es/runtimeConfig.native.js +0 -2
  11. package/dist-es/runtimeConfig.shared.js +2 -0
  12. package/dist-es/schemas/schemas_0.js +128 -50
  13. package/dist-types/Connect.d.ts +14 -0
  14. package/dist-types/ConnectClient.d.ts +4 -2
  15. package/dist-types/commands/BatchGetAttachedFileMetadataCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateAttachedFileCommand.d.ts +115 -0
  17. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  18. package/dist-types/commands/GetAttachedFileCommand.d.ts +1 -1
  19. package/dist-types/commands/GetMetricDataCommand.d.ts +2 -1
  20. package/dist-types/commands/SearchEmailAddressesCommand.d.ts +1 -2
  21. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +1 -1
  22. package/dist-types/commands/StartChatContactCommand.d.ts +2 -1
  23. package/dist-types/commands/StartContactConversationalAnalyticsJobCommand.d.ts +135 -0
  24. package/dist-types/commands/StartEmailContactCommand.d.ts +2 -1
  25. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +2 -1
  26. package/dist-types/commands/StartTaskContactCommand.d.ts +2 -1
  27. package/dist-types/commands/UpdateContactCommand.d.ts +2 -1
  28. package/dist-types/commands/index.d.ts +2 -0
  29. package/dist-types/models/enums.d.ts +65 -0
  30. package/dist-types/models/models_0.d.ts +75 -94
  31. package/dist-types/models/models_1.d.ts +95 -33
  32. package/dist-types/models/models_2.d.ts +34 -60
  33. package/dist-types/models/models_3.d.ts +218 -728
  34. package/dist-types/models/models_4.d.ts +728 -3
  35. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  36. package/dist-types/runtimeConfig.d.ts +2 -2
  37. package/dist-types/runtimeConfig.native.d.ts +2 -2
  38. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  39. package/dist-types/schemas/schemas_0.d.ts +12 -0
  40. package/dist-types/ts3.4/Connect.d.ts +40 -0
  41. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  42. package/dist-types/ts3.4/commands/CreateAttachedFileCommand.d.ts +53 -0
  43. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +2 -4
  45. package/dist-types/ts3.4/commands/SearchEmailAddressesCommand.d.ts +4 -2
  46. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/StartContactConversationalAnalyticsJobCommand.d.ts +53 -0
  48. package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +2 -4
  50. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -4
  52. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  53. package/dist-types/ts3.4/models/enums.d.ts +30 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +14 -21
  55. package/dist-types/ts3.4/models/models_1.d.ts +22 -9
  56. package/dist-types/ts3.4/models/models_2.d.ts +9 -15
  57. package/dist-types/ts3.4/models/models_3.d.ts +56 -145
  58. package/dist-types/ts3.4/models/models_4.d.ts +155 -3
  59. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
  60. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
  61. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
  62. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  63. package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
  64. package/package.json +8 -10
  65. package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  66. package/dist-cjs/endpoint/bdd.js +0 -49
  67. package/dist-cjs/endpoint/endpointResolver.js +0 -14
  68. package/dist-cjs/models/ConnectServiceException.js +0 -8
  69. package/dist-cjs/models/errors.js +0 -403
  70. package/dist-cjs/runtimeConfig.browser.js +0 -32
  71. package/dist-cjs/runtimeConfig.js +0 -45
  72. package/dist-cjs/runtimeConfig.native.js +0 -12
  73. package/dist-cjs/runtimeConfig.shared.js +0 -38
  74. package/dist-cjs/schemas/schemas_0.js +0 -12323
@@ -25,6 +25,7 @@ import {
25
25
  EvaluationType,
26
26
  EventSourceName,
27
27
  ExecutionRecordStatus,
28
+ FilterV2StringConditionComparisonOperator,
28
29
  InstanceStatus,
29
30
  InstanceStorageResourceType,
30
31
  IntegrationType,
@@ -76,7 +77,6 @@ import {
76
77
  AgentStatus,
77
78
  AgentStatusSummary,
78
79
  AiAgentsCriteria,
79
- AliasConfiguration,
80
80
  AnalyticsDataAssociationResult,
81
81
  Application,
82
82
  ControlPlaneAttributeFilter,
@@ -104,12 +104,19 @@ import {
104
104
  EvaluationContactParticipant,
105
105
  EvaluationScore,
106
106
  ExtensionConfiguration,
107
- FilterV2StringCondition,
108
107
  HierarchyGroupSummary,
108
+ HistoricalMetricResult,
109
109
  HoursOfOperationOverride,
110
110
  HoursOfOperationsIdentifier,
111
111
  Notification,
112
112
  } from "./models_1";
113
+ export interface GetMetricDataResponse {
114
+ NextToken?: string | undefined;
115
+ MetricResults?: HistoricalMetricResult[] | undefined;
116
+ }
117
+ export interface FilterV2StringCondition {
118
+ Comparison?: FilterV2StringConditionComparisonOperator | undefined;
119
+ }
113
120
  export interface FilterV2 {
114
121
  FilterKey?: string | undefined;
115
122
  FilterValues?: string[] | undefined;
@@ -2013,16 +2020,3 @@ export interface SearchDataTablesResponse {
2013
2020
  export interface EmailAddressSearchFilter {
2014
2021
  TagFilter?: ControlPlaneTagFilter | undefined;
2015
2022
  }
2016
- export interface EmailAddressMetadata {
2017
- EmailAddressId?: string | undefined;
2018
- EmailAddressArn?: string | undefined;
2019
- EmailAddress?: string | undefined;
2020
- Description?: string | undefined;
2021
- DisplayName?: string | undefined;
2022
- AliasConfigurations?: AliasConfiguration[] | undefined;
2023
- }
2024
- export interface SearchEmailAddressesResponse {
2025
- NextToken?: string | undefined;
2026
- EmailAddresses?: EmailAddressMetadata[] | undefined;
2027
- ApproximateTotalCount?: number | undefined;
2028
- }
@@ -1,7 +1,9 @@
1
1
  import {
2
2
  AgentAvailabilityTimer,
3
3
  AgentStatusState,
4
+ AnalyticsMode,
4
5
  AttachmentScope,
6
+ Behavior,
5
7
  Channel,
6
8
  ChatEventType,
7
9
  ContactFlowModuleState,
@@ -16,7 +18,6 @@ import {
16
18
  DataTableAttributeValueType,
17
19
  DataTableLockLevel,
18
20
  DateComparisonType,
19
- DisconnectOnCustomerExitParticipantType,
20
21
  EmailHeaderType,
21
22
  EvaluationFormItemEnablementAction,
22
23
  EvaluationFormItemEnablementOperator,
@@ -32,6 +33,7 @@ import {
32
33
  InstanceStorageResourceType,
33
34
  IvrRecordingTrack,
34
35
  LocaleCode,
36
+ MaskMode,
35
37
  MeetingFeatureStatus,
36
38
  NotificationPriority,
37
39
  NotificationStatus,
@@ -39,6 +41,7 @@ import {
39
41
  OverrideType,
40
42
  ParticipantTimerAction,
41
43
  ParticipantTimerType,
44
+ Policy,
42
45
  QueueStatus,
43
46
  RehydrationType,
44
47
  ResponseMode,
@@ -46,6 +49,7 @@ import {
46
49
  RulePublishStatus,
47
50
  SearchableQueueType,
48
51
  StringComparisonType,
52
+ SummaryMode,
49
53
  TargetListType,
50
54
  TaskTemplateStatus,
51
55
  TestCaseExecutionStatus,
@@ -63,22 +67,16 @@ import {
63
67
  AfterContactWorkConfigPerChannel,
64
68
  AgentConfig,
65
69
  AgentStatusSearchFilter,
70
+ AliasConfiguration,
66
71
  AllowedCapabilities,
67
72
  Application,
68
73
  AutoAcceptConfig,
69
74
  ControlPlaneAttributeFilter,
70
75
  CreatedByInfo,
71
76
  DataTableLockVersion,
72
- Endpoint,
73
- EvaluationFormAutoEvaluationConfiguration,
74
77
  EvaluationFormItemEnablementExpression,
75
- EvaluationFormLanguageConfiguration,
76
78
  EvaluationFormQuestionScoringConfiguration,
77
79
  EvaluationFormQuestionTypeProperties,
78
- EvaluationFormScoreThreshold,
79
- EvaluationFormScoringStrategy,
80
- EvaluationFormTargetConfiguration,
81
- EvaluationReviewConfiguration,
82
80
  FlowModule,
83
81
  GranularAccessControlConfiguration,
84
82
  HoursOfOperationConfig,
@@ -109,7 +107,6 @@ import {
109
107
  UserPhoneConfig,
110
108
  UserProficiency,
111
109
  Validation,
112
- View,
113
110
  ViewInputContent,
114
111
  VoiceEnhancementConfig,
115
112
  } from "./models_0";
@@ -128,6 +125,7 @@ import {
128
125
  QuickConnect,
129
126
  RoutingProfile,
130
127
  TestCase,
128
+ View,
131
129
  WorkspaceTheme,
132
130
  } from "./models_1";
133
131
  import {
@@ -144,6 +142,19 @@ import {
144
142
  SignInConfig,
145
143
  TelephonyConfig,
146
144
  } from "./models_2";
145
+ export interface EmailAddressMetadata {
146
+ EmailAddressId?: string | undefined;
147
+ EmailAddressArn?: string | undefined;
148
+ EmailAddress?: string | undefined;
149
+ Description?: string | undefined;
150
+ DisplayName?: string | undefined;
151
+ AliasConfigurations?: AliasConfiguration[] | undefined;
152
+ }
153
+ export interface SearchEmailAddressesResponse {
154
+ NextToken?: string | undefined;
155
+ EmailAddresses?: EmailAddressMetadata[] | undefined;
156
+ ApproximateTotalCount?: number | undefined;
157
+ }
147
158
  export interface EvaluationFormSearchFilter {
148
159
  AttributeFilter?: ControlPlaneAttributeFilter | undefined;
149
160
  }
@@ -528,6 +539,42 @@ export interface StartChatContactResponse {
528
539
  ParticipantToken?: string | undefined;
529
540
  ContinuedFromContactId?: string | undefined;
530
541
  }
542
+ export interface LanguageConfiguration {
543
+ LanguageLocale?: string | undefined;
544
+ }
545
+ export interface RedactionConfiguration {
546
+ Behavior: Behavior | undefined;
547
+ Policy: Policy | undefined;
548
+ Entities?: string[] | undefined;
549
+ MaskMode?: MaskMode | undefined;
550
+ }
551
+ export interface RulesConfiguration {
552
+ Behavior?: Behavior | undefined;
553
+ }
554
+ export interface SentimentConfiguration {
555
+ Behavior: Behavior | undefined;
556
+ }
557
+ export interface SummaryConfiguration {
558
+ SummaryModes: SummaryMode[] | undefined;
559
+ }
560
+ export interface AnalyticsConfiguration {
561
+ LanguageConfiguration: LanguageConfiguration | undefined;
562
+ RedactionConfiguration: RedactionConfiguration | undefined;
563
+ SentimentConfiguration: SentimentConfiguration | undefined;
564
+ SummaryConfiguration: SummaryConfiguration | undefined;
565
+ RulesConfiguration: RulesConfiguration | undefined;
566
+ }
567
+ export interface StartContactConversationalAnalyticsJobRequest {
568
+ InstanceId: string | undefined;
569
+ ContactId: string | undefined;
570
+ AnalyticsModes: AnalyticsMode[] | undefined;
571
+ AnalyticsConfiguration: AnalyticsConfiguration | undefined;
572
+ ClientToken?: string | undefined;
573
+ }
574
+ export interface StartContactConversationalAnalyticsJobResponse {
575
+ InstanceId?: string | undefined;
576
+ ContactId?: string | undefined;
577
+ }
531
578
  export interface AutoEvaluationConfiguration {
532
579
  Enabled: boolean | undefined;
533
580
  }
@@ -1730,139 +1777,3 @@ export interface CreateContactRequest {
1730
1777
  SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
1731
1778
  PreviousContactId?: string | undefined;
1732
1779
  }
1733
- export interface StartChatContactRequest {
1734
- InstanceId: string | undefined;
1735
- ContactFlowId: string | undefined;
1736
- Attributes?: Record<string, string> | undefined;
1737
- ParticipantDetails: ParticipantDetails | undefined;
1738
- ParticipantConfiguration?: ParticipantConfiguration | undefined;
1739
- InitialMessage?: ChatMessage | undefined;
1740
- ClientToken?: string | undefined;
1741
- ChatDurationInMinutes?: number | undefined;
1742
- SupportedMessagingContentTypes?: string[] | undefined;
1743
- PersistentChat?: PersistentChat | undefined;
1744
- RelatedContactId?: string | undefined;
1745
- SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
1746
- CustomerId?: string | undefined;
1747
- DisconnectOnCustomerExit?:
1748
- | DisconnectOnCustomerExitParticipantType[]
1749
- | undefined;
1750
- }
1751
- export interface StartEmailContactRequest {
1752
- InstanceId: string | undefined;
1753
- FromEmailAddress: EmailAddressInfo | undefined;
1754
- DestinationEmailAddress: string | undefined;
1755
- Description?: string | undefined;
1756
- References?: Record<string, Reference> | undefined;
1757
- Name?: string | undefined;
1758
- EmailMessage: InboundEmailContent | undefined;
1759
- AdditionalRecipients?: InboundAdditionalRecipients | undefined;
1760
- Attachments?: EmailAttachment[] | undefined;
1761
- ContactFlowId?: string | undefined;
1762
- RelatedContactId?: string | undefined;
1763
- Attributes?: Record<string, string> | undefined;
1764
- SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
1765
- ClientToken?: string | undefined;
1766
- }
1767
- export interface StartOutboundChatContactRequest {
1768
- SourceEndpoint: Endpoint | undefined;
1769
- DestinationEndpoint: Endpoint | undefined;
1770
- InstanceId: string | undefined;
1771
- SegmentAttributes: Record<string, SegmentAttributeValue> | undefined;
1772
- Attributes?: Record<string, string> | undefined;
1773
- ContactFlowId: string | undefined;
1774
- ChatDurationInMinutes?: number | undefined;
1775
- ParticipantDetails?: ParticipantDetails | undefined;
1776
- InitialSystemMessage?: ChatMessage | undefined;
1777
- InitialTemplatedSystemMessage?: TemplatedMessageConfig | undefined;
1778
- RelatedContactId?: string | undefined;
1779
- SupportedMessagingContentTypes?: string[] | undefined;
1780
- ClientToken?: string | undefined;
1781
- }
1782
- export interface StartTaskContactRequest {
1783
- InstanceId: string | undefined;
1784
- PreviousContactId?: string | undefined;
1785
- ContactFlowId?: string | undefined;
1786
- Attributes?: Record<string, string> | undefined;
1787
- Name: string | undefined;
1788
- References?: Record<string, Reference> | undefined;
1789
- Description?: string | undefined;
1790
- ClientToken?: string | undefined;
1791
- ScheduledTime?: Date | undefined;
1792
- TaskTemplateId?: string | undefined;
1793
- QuickConnectId?: string | undefined;
1794
- RelatedContactId?: string | undefined;
1795
- SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
1796
- Attachments?: TaskAttachment[] | undefined;
1797
- }
1798
- export interface UpdateContactRequest {
1799
- InstanceId: string | undefined;
1800
- ContactId: string | undefined;
1801
- Name?: string | undefined;
1802
- Description?: string | undefined;
1803
- References?: Record<string, Reference> | undefined;
1804
- SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
1805
- QueueInfo?: QueueInfoInput | undefined;
1806
- UserInfo?: UserInfo | undefined;
1807
- CustomerEndpoint?: Endpoint | undefined;
1808
- SystemEndpoint?: Endpoint | undefined;
1809
- }
1810
- export type EvaluationFormItem =
1811
- | EvaluationFormItem.QuestionMember
1812
- | EvaluationFormItem.SectionMember
1813
- | EvaluationFormItem.$UnknownMember;
1814
- export declare namespace EvaluationFormItem {
1815
- interface SectionMember {
1816
- Section: EvaluationFormSection;
1817
- Question?: never;
1818
- $unknown?: never;
1819
- }
1820
- interface QuestionMember {
1821
- Section?: never;
1822
- Question: EvaluationFormQuestion;
1823
- $unknown?: never;
1824
- }
1825
- interface $UnknownMember {
1826
- Section?: never;
1827
- Question?: never;
1828
- $unknown: [string, any];
1829
- }
1830
- interface Visitor<T> {
1831
- Section: (value: EvaluationFormSection) => T;
1832
- Question: (value: EvaluationFormQuestion) => T;
1833
- _: (name: string, value: any) => T;
1834
- }
1835
- }
1836
- export interface RoutingCriteria {
1837
- Steps?: Step[] | undefined;
1838
- ActivationTimestamp?: Date | undefined;
1839
- Index?: number | undefined;
1840
- }
1841
- export interface RoutingCriteriaInput {
1842
- Steps?: RoutingCriteriaInputStep[] | undefined;
1843
- }
1844
- export interface EvaluationFormSection {
1845
- Title: string | undefined;
1846
- RefId: string | undefined;
1847
- Instructions?: string | undefined;
1848
- Items: EvaluationFormItem[] | undefined;
1849
- Weight?: number | undefined;
1850
- IsExcludedFromScoring?: boolean | undefined;
1851
- ScoreThresholds?: EvaluationFormScoreThreshold[] | undefined;
1852
- }
1853
- export interface CreateEvaluationFormRequest {
1854
- InstanceId: string | undefined;
1855
- Title: string | undefined;
1856
- Description?: string | undefined;
1857
- Items: EvaluationFormItem[] | undefined;
1858
- ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
1859
- AutoEvaluationConfiguration?:
1860
- | EvaluationFormAutoEvaluationConfiguration
1861
- | undefined;
1862
- ClientToken?: string | undefined;
1863
- AsDraft?: boolean | undefined;
1864
- Tags?: Record<string, string> | undefined;
1865
- ReviewConfiguration?: EvaluationReviewConfiguration | undefined;
1866
- TargetConfiguration?: EvaluationFormTargetConfiguration | undefined;
1867
- LanguageConfiguration?: EvaluationFormLanguageConfiguration | undefined;
1868
- }
@@ -2,6 +2,7 @@ import {
2
2
  AnsweringMachineDetectionStatus,
3
3
  Channel,
4
4
  ContactInitiationMethod,
5
+ DisconnectOnCustomerExitParticipantType,
5
6
  EvaluationFormValidationStatus,
6
7
  EvaluationFormVersionStatus,
7
8
  } from "./enums";
@@ -9,12 +10,16 @@ import {
9
10
  AdditionalEmailRecipients,
10
11
  AgentInfo,
11
12
  Campaign,
13
+ Endpoint,
12
14
  EvaluationFormAutoEvaluationConfiguration,
13
15
  EvaluationFormLanguageConfiguration,
16
+ EvaluationFormScoreThreshold,
14
17
  EvaluationFormScoringStrategy,
15
18
  EvaluationFormTargetConfiguration,
16
19
  EvaluationReviewConfiguration,
17
20
  OutboundStrategy,
21
+ Reference,
22
+ UserInfo,
18
23
  } from "./models_0";
19
24
  import {
20
25
  ChatMetrics,
@@ -39,12 +44,159 @@ import {
39
44
  ContactSearchSummaryQueueInfo,
40
45
  } from "./models_2";
41
46
  import {
47
+ ChatMessage,
42
48
  ContactSearchSummarySegmentAttributeValue,
43
- EvaluationFormItem,
44
- RoutingCriteria,
45
- RoutingCriteriaInput,
49
+ EmailAddressInfo,
50
+ EmailAttachment,
51
+ EvaluationFormQuestion,
52
+ InboundAdditionalRecipients,
53
+ InboundEmailContent,
54
+ ParticipantConfiguration,
55
+ ParticipantDetails,
56
+ PersistentChat,
57
+ QueueInfoInput,
58
+ RoutingCriteriaInputStep,
46
59
  SegmentAttributeValue,
60
+ Step,
61
+ TaskAttachment,
62
+ TemplatedMessageConfig,
47
63
  } from "./models_3";
64
+ export interface StartChatContactRequest {
65
+ InstanceId: string | undefined;
66
+ ContactFlowId: string | undefined;
67
+ Attributes?: Record<string, string> | undefined;
68
+ ParticipantDetails: ParticipantDetails | undefined;
69
+ ParticipantConfiguration?: ParticipantConfiguration | undefined;
70
+ InitialMessage?: ChatMessage | undefined;
71
+ ClientToken?: string | undefined;
72
+ ChatDurationInMinutes?: number | undefined;
73
+ SupportedMessagingContentTypes?: string[] | undefined;
74
+ PersistentChat?: PersistentChat | undefined;
75
+ RelatedContactId?: string | undefined;
76
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
77
+ CustomerId?: string | undefined;
78
+ DisconnectOnCustomerExit?:
79
+ | DisconnectOnCustomerExitParticipantType[]
80
+ | undefined;
81
+ }
82
+ export interface StartEmailContactRequest {
83
+ InstanceId: string | undefined;
84
+ FromEmailAddress: EmailAddressInfo | undefined;
85
+ DestinationEmailAddress: string | undefined;
86
+ Description?: string | undefined;
87
+ References?: Record<string, Reference> | undefined;
88
+ Name?: string | undefined;
89
+ EmailMessage: InboundEmailContent | undefined;
90
+ AdditionalRecipients?: InboundAdditionalRecipients | undefined;
91
+ Attachments?: EmailAttachment[] | undefined;
92
+ ContactFlowId?: string | undefined;
93
+ RelatedContactId?: string | undefined;
94
+ Attributes?: Record<string, string> | undefined;
95
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
96
+ ClientToken?: string | undefined;
97
+ }
98
+ export interface StartOutboundChatContactRequest {
99
+ SourceEndpoint: Endpoint | undefined;
100
+ DestinationEndpoint: Endpoint | undefined;
101
+ InstanceId: string | undefined;
102
+ SegmentAttributes: Record<string, SegmentAttributeValue> | undefined;
103
+ Attributes?: Record<string, string> | undefined;
104
+ ContactFlowId: string | undefined;
105
+ ChatDurationInMinutes?: number | undefined;
106
+ ParticipantDetails?: ParticipantDetails | undefined;
107
+ InitialSystemMessage?: ChatMessage | undefined;
108
+ InitialTemplatedSystemMessage?: TemplatedMessageConfig | undefined;
109
+ RelatedContactId?: string | undefined;
110
+ SupportedMessagingContentTypes?: string[] | undefined;
111
+ ClientToken?: string | undefined;
112
+ }
113
+ export interface StartTaskContactRequest {
114
+ InstanceId: string | undefined;
115
+ PreviousContactId?: string | undefined;
116
+ ContactFlowId?: string | undefined;
117
+ Attributes?: Record<string, string> | undefined;
118
+ Name: string | undefined;
119
+ References?: Record<string, Reference> | undefined;
120
+ Description?: string | undefined;
121
+ ClientToken?: string | undefined;
122
+ ScheduledTime?: Date | undefined;
123
+ TaskTemplateId?: string | undefined;
124
+ QuickConnectId?: string | undefined;
125
+ RelatedContactId?: string | undefined;
126
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
127
+ Attachments?: TaskAttachment[] | undefined;
128
+ }
129
+ export interface UpdateContactRequest {
130
+ InstanceId: string | undefined;
131
+ ContactId: string | undefined;
132
+ Name?: string | undefined;
133
+ Description?: string | undefined;
134
+ References?: Record<string, Reference> | undefined;
135
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
136
+ QueueInfo?: QueueInfoInput | undefined;
137
+ UserInfo?: UserInfo | undefined;
138
+ CustomerEndpoint?: Endpoint | undefined;
139
+ SystemEndpoint?: Endpoint | undefined;
140
+ }
141
+ export type EvaluationFormItem =
142
+ | EvaluationFormItem.QuestionMember
143
+ | EvaluationFormItem.SectionMember
144
+ | EvaluationFormItem.$UnknownMember;
145
+ export declare namespace EvaluationFormItem {
146
+ interface SectionMember {
147
+ Section: EvaluationFormSection;
148
+ Question?: never;
149
+ $unknown?: never;
150
+ }
151
+ interface QuestionMember {
152
+ Section?: never;
153
+ Question: EvaluationFormQuestion;
154
+ $unknown?: never;
155
+ }
156
+ interface $UnknownMember {
157
+ Section?: never;
158
+ Question?: never;
159
+ $unknown: [string, any];
160
+ }
161
+ interface Visitor<T> {
162
+ Section: (value: EvaluationFormSection) => T;
163
+ Question: (value: EvaluationFormQuestion) => T;
164
+ _: (name: string, value: any) => T;
165
+ }
166
+ }
167
+ export interface RoutingCriteria {
168
+ Steps?: Step[] | undefined;
169
+ ActivationTimestamp?: Date | undefined;
170
+ Index?: number | undefined;
171
+ }
172
+ export interface RoutingCriteriaInput {
173
+ Steps?: RoutingCriteriaInputStep[] | undefined;
174
+ }
175
+ export interface EvaluationFormSection {
176
+ Title: string | undefined;
177
+ RefId: string | undefined;
178
+ Instructions?: string | undefined;
179
+ Items: EvaluationFormItem[] | undefined;
180
+ Weight?: number | undefined;
181
+ IsExcludedFromScoring?: boolean | undefined;
182
+ ScoreThresholds?: EvaluationFormScoreThreshold[] | undefined;
183
+ }
184
+ export interface CreateEvaluationFormRequest {
185
+ InstanceId: string | undefined;
186
+ Title: string | undefined;
187
+ Description?: string | undefined;
188
+ Items: EvaluationFormItem[] | undefined;
189
+ ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
190
+ AutoEvaluationConfiguration?:
191
+ | EvaluationFormAutoEvaluationConfiguration
192
+ | undefined;
193
+ ClientToken?: string | undefined;
194
+ AsDraft?: boolean | undefined;
195
+ Tags?: Record<string, string> | undefined;
196
+ ReviewConfiguration?: EvaluationReviewConfiguration | undefined;
197
+ TargetConfiguration?: EvaluationFormTargetConfiguration | undefined;
198
+ LanguageConfiguration?: EvaluationFormLanguageConfiguration | undefined;
199
+ }
48
200
  export interface EvaluationForm {
49
201
  EvaluationFormId: string | undefined;
50
202
  EvaluationFormVersion: number | undefined;
@@ -20,8 +20,13 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
20
20
  | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
- sha256: import("@smithy/types").HashConstructor;
24
- streamCollector: import("@smithy/types").StreamCollector;
23
+ streamCollector: (
24
+ stream:
25
+ | import("stream").Readable
26
+ | import("stream/web").ReadableStream
27
+ | ReadableStream
28
+ | Blob
29
+ ) => Promise<Uint8Array>;
25
30
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
31
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
32
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
@@ -36,6 +41,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
36
41
  [setting: string]: unknown;
37
42
  };
38
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
39
45
  urlParser: import("@smithy/types").UrlParser;
40
46
  base64Decoder: import("@smithy/types").Decoder;
41
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -21,8 +21,13 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
21
21
  | RequestHandler
22
22
  | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
- sha256: import("@smithy/types").HashConstructor;
25
- streamCollector: import("@smithy/types").StreamCollector;
24
+ streamCollector: (
25
+ stream:
26
+ | import("stream").Readable
27
+ | import("stream/web").ReadableStream
28
+ | ReadableStream
29
+ | Blob
30
+ ) => Promise<Uint8Array>;
26
31
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
32
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
33
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
@@ -36,6 +41,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
36
41
  [setting: string]: unknown;
37
42
  };
38
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
39
45
  urlParser: import("@smithy/types").UrlParser;
40
46
  base64Decoder: import("@smithy/types").Decoder;
41
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -1,7 +1,6 @@
1
1
  import { ConnectClientConfig } from "./ConnectClient";
2
2
  export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@smithy/types").HashConstructor;
5
4
  requestHandler:
6
5
  | import("@smithy/types").NodeHttpHandlerOptions
7
6
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -18,9 +17,16 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
18
17
  [setting: string]: unknown;
19
18
  };
20
19
  apiVersion: string;
20
+ sha256: import("@smithy/types").HashConstructor;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
- streamCollector: import("@smithy/types").StreamCollector;
23
+ streamCollector: (
24
+ stream:
25
+ | import("stream").Readable
26
+ | import("stream/web").ReadableStream
27
+ | ReadableStream
28
+ | Blob
29
+ ) => Promise<Uint8Array>;
24
30
  base64Decoder: import("@smithy/types").Decoder;
25
31
  base64Encoder: (_input: Uint8Array | string) => string;
26
32
  utf8Decoder: import("@smithy/types").Decoder;
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
24
24
  defaultNamespace?: string;
25
25
  };
26
26
  serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
27
28
  urlParser: import("@smithy/types").UrlParser;
28
29
  utf8Decoder: import("@smithy/types").Decoder;
29
30
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -61,6 +61,7 @@ export declare var AiAgentSearchCriteria$: StaticStructureSchema;
61
61
  export declare var AliasConfiguration$: StaticStructureSchema;
62
62
  export declare var AllowedCapabilities$: StaticStructureSchema;
63
63
  export declare var AllowedExtension$: StaticStructureSchema;
64
+ export declare var AnalyticsConfiguration$: StaticStructureSchema;
64
65
  export declare var AnalyticsDataAssociationResult$: StaticStructureSchema;
65
66
  export declare var AnalyticsDataSetsResult$: StaticStructureSchema;
66
67
  export declare var AnswerMachineDetectionConfig$: StaticStructureSchema;
@@ -197,6 +198,8 @@ export declare var ControlPlaneTagFilter$: StaticStructureSchema;
197
198
  export declare var ControlPlaneUserAttributeFilter$: StaticStructureSchema;
198
199
  export declare var CreateAgentStatusRequest$: StaticStructureSchema;
199
200
  export declare var CreateAgentStatusResponse$: StaticStructureSchema;
201
+ export declare var CreateAttachedFileRequest$: StaticStructureSchema;
202
+ export declare var CreateAttachedFileResponse$: StaticStructureSchema;
200
203
  export declare var CreateCaseActionDefinition$: StaticStructureSchema;
201
204
  export declare var CreateContactFlowModuleAliasRequest$: StaticStructureSchema;
202
205
  export declare var CreateContactFlowModuleAliasResponse$: StaticStructureSchema;
@@ -623,6 +626,7 @@ export declare var InvisibleFieldInfo$: StaticStructureSchema;
623
626
  export declare var KinesisFirehoseConfig$: StaticStructureSchema;
624
627
  export declare var KinesisStreamConfig$: StaticStructureSchema;
625
628
  export declare var KinesisVideoStreamConfig$: StaticStructureSchema;
629
+ export declare var LanguageConfiguration$: StaticStructureSchema;
626
630
  export declare var LexBot$: StaticStructureSchema;
627
631
  export declare var LexBotConfig$: StaticStructureSchema;
628
632
  export declare var LexV2Bot$: StaticStructureSchema;
@@ -878,6 +882,7 @@ export declare var RecordingInfo$: StaticStructureSchema;
878
882
  export declare var RecordPrimaryValue$: StaticStructureSchema;
879
883
  export declare var RecurrenceConfig$: StaticStructureSchema;
880
884
  export declare var RecurrencePattern$: StaticStructureSchema;
885
+ export declare var RedactionConfiguration$: StaticStructureSchema;
881
886
  export declare var Reference$: StaticStructureSchema;
882
887
  export declare var ReleasePhoneNumberRequest$: StaticStructureSchema;
883
888
  export declare var ReplicateInstanceRequest$: StaticStructureSchema;
@@ -906,6 +911,7 @@ export declare var RoutingProfileSearchFilter$: StaticStructureSchema;
906
911
  export declare var RoutingProfileSummary$: StaticStructureSchema;
907
912
  export declare var Rule$: StaticStructureSchema;
908
913
  export declare var RuleAction$: StaticStructureSchema;
914
+ export declare var RulesConfiguration$: StaticStructureSchema;
909
915
  export declare var RuleSummary$: StaticStructureSchema;
910
916
  export declare var RuleTriggerEventSource$: StaticStructureSchema;
911
917
  export declare var S3Config$: StaticStructureSchema;
@@ -986,6 +992,7 @@ export declare var SendChatIntegrationEventResponse$: StaticStructureSchema;
986
992
  export declare var SendNotificationActionDefinition$: StaticStructureSchema;
987
993
  export declare var SendOutboundEmailRequest$: StaticStructureSchema;
988
994
  export declare var SendOutboundEmailResponse$: StaticStructureSchema;
995
+ export declare var SentimentConfiguration$: StaticStructureSchema;
989
996
  export declare var SignInConfig$: StaticStructureSchema;
990
997
  export declare var SignInDistribution$: StaticStructureSchema;
991
998
  export declare var SingleSelectQuestionRuleCategoryAutomation$: StaticStructureSchema;
@@ -995,6 +1002,8 @@ export declare var StartAttachedFileUploadRequest$: StaticStructureSchema;
995
1002
  export declare var StartAttachedFileUploadResponse$: StaticStructureSchema;
996
1003
  export declare var StartChatContactRequest$: StaticStructureSchema;
997
1004
  export declare var StartChatContactResponse$: StaticStructureSchema;
1005
+ export declare var StartContactConversationalAnalyticsJobRequest$: StaticStructureSchema;
1006
+ export declare var StartContactConversationalAnalyticsJobResponse$: StaticStructureSchema;
998
1007
  export declare var StartContactEvaluationRequest$: StaticStructureSchema;
999
1008
  export declare var StartContactEvaluationResponse$: StaticStructureSchema;
1000
1009
  export declare var StartContactMediaProcessingRequest$: StaticStructureSchema;
@@ -1040,6 +1049,7 @@ export declare var SubmitContactEvaluationRequest$: StaticStructureSchema;
1040
1049
  export declare var SubmitContactEvaluationResponse$: StaticStructureSchema;
1041
1050
  export declare var SuccessfulBatchAssociationSummary$: StaticStructureSchema;
1042
1051
  export declare var SuccessfulRequest$: StaticStructureSchema;
1052
+ export declare var SummaryConfiguration$: StaticStructureSchema;
1043
1053
  export declare var SuspendContactRecordingRequest$: StaticStructureSchema;
1044
1054
  export declare var SuspendContactRecordingResponse$: StaticStructureSchema;
1045
1055
  export declare var TagCondition$: StaticStructureSchema;
@@ -1278,6 +1288,7 @@ export declare var BatchUpdateDataTableValue$: StaticOperationSchema;
1278
1288
  export declare var ClaimPhoneNumber$: StaticOperationSchema;
1279
1289
  export declare var CompleteAttachedFileUpload$: StaticOperationSchema;
1280
1290
  export declare var CreateAgentStatus$: StaticOperationSchema;
1291
+ export declare var CreateAttachedFile$: StaticOperationSchema;
1281
1292
  export declare var CreateContact$: StaticOperationSchema;
1282
1293
  export declare var CreateContactFlow$: StaticOperationSchema;
1283
1294
  export declare var CreateContactFlowModule$: StaticOperationSchema;
@@ -1528,6 +1539,7 @@ export declare var SendChatIntegrationEvent$: StaticOperationSchema;
1528
1539
  export declare var SendOutboundEmail$: StaticOperationSchema;
1529
1540
  export declare var StartAttachedFileUpload$: StaticOperationSchema;
1530
1541
  export declare var StartChatContact$: StaticOperationSchema;
1542
+ export declare var StartContactConversationalAnalyticsJob$: StaticOperationSchema;
1531
1543
  export declare var StartContactEvaluation$: StaticOperationSchema;
1532
1544
  export declare var StartContactMediaProcessing$: StaticOperationSchema;
1533
1545
  export declare var StartContactRecording$: StaticOperationSchema;