@aws-sdk/client-connect 3.583.0 → 3.586.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 (40) hide show
  1. package/dist-cjs/index.js +211 -98
  2. package/dist-es/commands/DescribeContactCommand.js +1 -1
  3. package/dist-es/commands/ListViewVersionsCommand.js +1 -1
  4. package/dist-es/commands/ListViewsCommand.js +1 -1
  5. package/dist-es/models/models_0.js +25 -41
  6. package/dist-es/models/models_1.js +29 -33
  7. package/dist-es/models/models_2.js +42 -0
  8. package/dist-es/protocols/Aws_restJson1.js +94 -3
  9. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +6 -6
  10. package/dist-types/commands/DescribeContactCommand.d.ts +112 -1
  11. package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +1 -2
  15. package/dist-types/commands/ListViewVersionsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListViewsCommand.d.ts +2 -1
  17. package/dist-types/commands/MonitorContactCommand.d.ts +1 -1
  18. package/dist-types/commands/PauseContactCommand.d.ts +1 -1
  19. package/dist-types/commands/PutUserStatusCommand.d.ts +1 -1
  20. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +10 -10
  21. package/dist-types/commands/StopContactCommand.d.ts +6 -0
  22. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +5 -2
  23. package/dist-types/models/models_0.d.ts +255 -384
  24. package/dist-types/models/models_1.d.ts +248 -289
  25. package/dist-types/models/models_2.d.ts +551 -14
  26. package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +2 -4
  27. package/dist-types/ts3.4/commands/DescribeContactFlowCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +4 -2
  31. package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +2 -1
  33. package/dist-types/ts3.4/commands/MonitorContactCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/models/models_0.d.ts +89 -118
  38. package/dist-types/ts3.4/models/models_1.d.ts +79 -79
  39. package/dist-types/ts3.4/models/models_2.d.ts +150 -8
  40. package/package.json +1 -1
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  PutUserStatusRequest,
10
10
  PutUserStatusResponse,
11
- } from "../models/models_1";
11
+ } from "../models/models_2";
12
12
  export { __MetadataBearer, $Command };
13
13
  export interface PutUserStatusCommandInput extends PutUserStatusRequest {}
14
14
  export interface PutUserStatusCommandOutput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { ReleasePhoneNumberRequest } from "../models/models_1";
8
+ import { ReleasePhoneNumberRequest } from "../models/models_2";
9
9
  export { __MetadataBearer, $Command };
10
10
  export interface ReleasePhoneNumberCommandInput
11
11
  extends ReleasePhoneNumberRequest {}
@@ -129,6 +129,9 @@ export interface AgentContactReference {
129
129
  ConnectedToAgentTimestamp?: Date;
130
130
  Queue?: QueueReference;
131
131
  }
132
+ export interface AgentHierarchyGroup {
133
+ Arn?: string;
134
+ }
132
135
  export interface AgentHierarchyGroups {
133
136
  L1Ids?: string[];
134
137
  L2Ids?: string[];
@@ -136,10 +139,40 @@ export interface AgentHierarchyGroups {
136
139
  L4Ids?: string[];
137
140
  L5Ids?: string[];
138
141
  }
142
+ export declare const VideoCapability: {
143
+ readonly SEND: "SEND";
144
+ };
145
+ export type VideoCapability =
146
+ (typeof VideoCapability)[keyof typeof VideoCapability];
147
+ export interface ParticipantCapabilities {
148
+ Video?: VideoCapability;
149
+ }
150
+ export interface DeviceInfo {
151
+ PlatformName?: string;
152
+ PlatformVersion?: string;
153
+ OperatingSystem?: string;
154
+ }
155
+ export interface HierarchyGroups {
156
+ Level1?: AgentHierarchyGroup;
157
+ Level2?: AgentHierarchyGroup;
158
+ Level3?: AgentHierarchyGroup;
159
+ Level4?: AgentHierarchyGroup;
160
+ Level5?: AgentHierarchyGroup;
161
+ }
139
162
  export interface AgentInfo {
140
163
  Id?: string;
141
164
  ConnectedToAgentTimestamp?: Date;
142
165
  AgentPauseDurationInSeconds?: number;
166
+ HierarchyGroups?: HierarchyGroups;
167
+ DeviceInfo?: DeviceInfo;
168
+ Capabilities?: ParticipantCapabilities;
169
+ }
170
+ export interface AudioQualityMetricsInfo {
171
+ QualityScore?: number;
172
+ PotentialQualityIssues?: string[];
173
+ }
174
+ export interface AgentQualityMetrics {
175
+ Audio?: AudioQualityMetricsInfo;
143
176
  }
144
177
  export declare const AgentStatusState: {
145
178
  readonly DISABLED: "DISABLED";
@@ -179,14 +212,6 @@ export interface AgentStatusSummary {
179
212
  LastModifiedTime?: Date;
180
213
  LastModifiedRegion?: string;
181
214
  }
182
- export declare const VideoCapability: {
183
- readonly SEND: "SEND";
184
- };
185
- export type VideoCapability =
186
- (typeof VideoCapability)[keyof typeof VideoCapability];
187
- export interface ParticipantCapabilities {
188
- Video?: VideoCapability;
189
- }
190
215
  export interface AllowedCapabilities {
191
216
  Customer?: ParticipantCapabilities;
192
217
  Agent?: ParticipantCapabilities;
@@ -1664,40 +1689,69 @@ export interface DescribeContactRequest {
1664
1689
  InstanceId: string | undefined;
1665
1690
  ContactId: string | undefined;
1666
1691
  }
1692
+ export declare const AnsweringMachineDetectionStatus: {
1693
+ readonly AMD_ERROR: "AMD_ERROR";
1694
+ readonly AMD_NOT_APPLICABLE: "AMD_NOT_APPLICABLE";
1695
+ readonly AMD_UNANSWERED: "AMD_UNANSWERED";
1696
+ readonly AMD_UNRESOLVED: "AMD_UNRESOLVED";
1697
+ readonly ANSWERED: "ANSWERED";
1698
+ readonly ERROR: "ERROR";
1699
+ readonly FAX_MACHINE_DETECTED: "FAX_MACHINE_DETECTED";
1700
+ readonly HUMAN_ANSWERED: "HUMAN_ANSWERED";
1701
+ readonly SIT_TONE_BUSY: "SIT_TONE_BUSY";
1702
+ readonly SIT_TONE_DETECTED: "SIT_TONE_DETECTED";
1703
+ readonly SIT_TONE_INVALID_NUMBER: "SIT_TONE_INVALID_NUMBER";
1704
+ readonly UNDETECTED: "UNDETECTED";
1705
+ readonly VOICEMAIL_BEEP: "VOICEMAIL_BEEP";
1706
+ readonly VOICEMAIL_NO_BEEP: "VOICEMAIL_NO_BEEP";
1707
+ };
1708
+ export type AnsweringMachineDetectionStatus =
1709
+ (typeof AnsweringMachineDetectionStatus)[keyof typeof AnsweringMachineDetectionStatus];
1710
+ export interface Customer {
1711
+ DeviceInfo?: DeviceInfo;
1712
+ Capabilities?: ParticipantCapabilities;
1713
+ }
1714
+ export interface CustomerVoiceActivity {
1715
+ GreetingStartTimestamp?: Date;
1716
+ GreetingEndTimestamp?: Date;
1717
+ }
1718
+ export interface DisconnectDetails {
1719
+ PotentialDisconnectIssue?: string;
1720
+ }
1721
+ export interface CustomerQualityMetrics {
1722
+ Audio?: AudioQualityMetricsInfo;
1723
+ }
1724
+ export interface QualityMetrics {
1725
+ Agent?: AgentQualityMetrics;
1726
+ Customer?: CustomerQualityMetrics;
1727
+ }
1667
1728
  export interface QueueInfo {
1668
1729
  Id?: string;
1669
1730
  EnqueueTimestamp?: Date;
1670
1731
  }
1671
- export interface WisdomInfo {
1672
- SessionArn?: string;
1732
+ export interface Expiry {
1733
+ DurationInSeconds?: number;
1734
+ ExpiryTimestamp?: Date;
1673
1735
  }
1674
- export interface Contact {
1675
- Arn?: string;
1676
- Id?: string;
1677
- InitialContactId?: string;
1678
- PreviousContactId?: string;
1679
- InitiationMethod?: ContactInitiationMethod;
1736
+ export interface AttributeCondition {
1680
1737
  Name?: string;
1681
- Description?: string;
1682
- Channel?: Channel;
1683
- QueueInfo?: QueueInfo;
1684
- AgentInfo?: AgentInfo;
1685
- InitiationTimestamp?: Date;
1686
- DisconnectTimestamp?: Date;
1687
- LastUpdateTimestamp?: Date;
1688
- LastPausedTimestamp?: Date;
1689
- LastResumedTimestamp?: Date;
1690
- TotalPauseCount?: number;
1691
- TotalPauseDurationInSeconds?: number;
1692
- ScheduledTimestamp?: Date;
1693
- RelatedContactId?: string;
1694
- WisdomInfo?: WisdomInfo;
1695
- QueueTimeAdjustmentSeconds?: number;
1696
- QueuePriority?: number;
1697
- Tags?: Record<string, string>;
1738
+ Value?: string;
1739
+ ProficiencyLevel?: number;
1740
+ ComparisonOperator?: string;
1698
1741
  }
1699
- export interface DescribeContactResponse {
1700
- Contact?: Contact;
1742
+ export declare const RoutingCriteriaStepStatus: {
1743
+ readonly ACTIVE: "ACTIVE";
1744
+ readonly EXPIRED: "EXPIRED";
1745
+ readonly INACTIVE: "INACTIVE";
1746
+ readonly JOINED: "JOINED";
1747
+ };
1748
+ export type RoutingCriteriaStepStatus =
1749
+ (typeof RoutingCriteriaStepStatus)[keyof typeof RoutingCriteriaStepStatus];
1750
+ export interface SegmentAttributeValue {
1751
+ ValueString?: string;
1752
+ }
1753
+ export interface WisdomInfo {
1754
+ SessionArn?: string;
1701
1755
  }
1702
1756
  export interface DescribeContactEvaluationRequest {
1703
1757
  InstanceId: string | undefined;
@@ -1777,85 +1831,6 @@ export interface Evaluation {
1777
1831
  LastModifiedTime: Date | undefined;
1778
1832
  Tags?: Record<string, string>;
1779
1833
  }
1780
- export declare class ContactFlowNotPublishedException extends __BaseException {
1781
- readonly name: "ContactFlowNotPublishedException";
1782
- readonly $fault: "client";
1783
- Message?: string;
1784
- constructor(
1785
- opts: __ExceptionOptionType<
1786
- ContactFlowNotPublishedException,
1787
- __BaseException
1788
- >
1789
- );
1790
- }
1791
- export interface DescribeContactFlowRequest {
1792
- InstanceId: string | undefined;
1793
- ContactFlowId: string | undefined;
1794
- }
1795
- export declare const ContactFlowState: {
1796
- readonly ACTIVE: "ACTIVE";
1797
- readonly ARCHIVED: "ARCHIVED";
1798
- };
1799
- export type ContactFlowState =
1800
- (typeof ContactFlowState)[keyof typeof ContactFlowState];
1801
- export interface ContactFlow {
1802
- Arn?: string;
1803
- Id?: string;
1804
- Name?: string;
1805
- Type?: ContactFlowType;
1806
- State?: ContactFlowState;
1807
- Status?: ContactFlowStatus;
1808
- Description?: string;
1809
- Content?: string;
1810
- Tags?: Record<string, string>;
1811
- }
1812
- export interface DescribeContactFlowResponse {
1813
- ContactFlow?: ContactFlow;
1814
- }
1815
- export interface DescribeContactFlowModuleRequest {
1816
- InstanceId: string | undefined;
1817
- ContactFlowModuleId: string | undefined;
1818
- }
1819
- export declare const ContactFlowModuleState: {
1820
- readonly ACTIVE: "ACTIVE";
1821
- readonly ARCHIVED: "ARCHIVED";
1822
- };
1823
- export type ContactFlowModuleState =
1824
- (typeof ContactFlowModuleState)[keyof typeof ContactFlowModuleState];
1825
- export declare const ContactFlowModuleStatus: {
1826
- readonly PUBLISHED: "PUBLISHED";
1827
- readonly SAVED: "SAVED";
1828
- };
1829
- export type ContactFlowModuleStatus =
1830
- (typeof ContactFlowModuleStatus)[keyof typeof ContactFlowModuleStatus];
1831
- export interface ContactFlowModule {
1832
- Arn?: string;
1833
- Id?: string;
1834
- Name?: string;
1835
- Content?: string;
1836
- Description?: string;
1837
- State?: ContactFlowModuleState;
1838
- Status?: ContactFlowModuleStatus;
1839
- Tags?: Record<string, string>;
1840
- }
1841
- export interface DescribeContactFlowModuleResponse {
1842
- ContactFlowModule?: ContactFlowModule;
1843
- }
1844
- export interface DescribeEvaluationFormRequest {
1845
- InstanceId: string | undefined;
1846
- EvaluationFormId: string | undefined;
1847
- EvaluationFormVersion?: number;
1848
- }
1849
- export declare const EvaluationFormVersionStatus: {
1850
- readonly ACTIVE: "ACTIVE";
1851
- readonly DRAFT: "DRAFT";
1852
- };
1853
- export type EvaluationFormVersionStatus =
1854
- (typeof EvaluationFormVersionStatus)[keyof typeof EvaluationFormVersionStatus];
1855
- export interface DescribeHoursOfOperationRequest {
1856
- InstanceId: string | undefined;
1857
- HoursOfOperationId: string | undefined;
1858
- }
1859
1834
  export declare const CreateInstanceRequestFilterSensitiveLog: (
1860
1835
  obj: CreateInstanceRequest
1861
1836
  ) => any;
@@ -1879,7 +1854,3 @@ export declare const CreateViewResponseFilterSensitiveLog: (
1879
1854
  export declare const CreateViewVersionResponseFilterSensitiveLog: (
1880
1855
  obj: CreateViewVersionResponse
1881
1856
  ) => any;
1882
- export declare const ContactFilterSensitiveLog: (obj: Contact) => any;
1883
- export declare const DescribeContactResponseFilterSensitiveLog: (
1884
- obj: DescribeContactResponse
1885
- ) => any;
@@ -11,15 +11,12 @@ import {
11
11
  AnalyticsDataAssociationResult,
12
12
  Application,
13
13
  Channel,
14
- ContactFlowModuleState,
15
- ContactFlowState,
16
14
  ContactFlowStatus,
17
15
  ContactFlowType,
18
16
  ContactState,
19
17
  CreatedByInfo,
20
18
  DirectoryType,
21
19
  Distribution,
22
- EvaluationFormVersionStatus,
23
20
  EvaluationScore,
24
21
  EvaluationStatus,
25
22
  EventSourceName,
@@ -35,7 +32,6 @@ import {
35
32
  LexV2Bot,
36
33
  ListFlowAssociationResourceType,
37
34
  MediaConcurrency,
38
- MonitorCapability,
39
35
  OutboundCallerConfig,
40
36
  ParticipantRole,
41
37
  PredefinedAttributeValues,
@@ -57,11 +53,89 @@ import {
57
53
  UserPhoneConfig,
58
54
  UserProficiency,
59
55
  View,
60
- ViewStatus,
61
56
  ViewType,
62
57
  VocabularyLanguageCode,
63
58
  VocabularyState,
64
59
  } from "./models_0";
60
+ export declare class ContactFlowNotPublishedException extends __BaseException {
61
+ readonly name: "ContactFlowNotPublishedException";
62
+ readonly $fault: "client";
63
+ Message?: string;
64
+ constructor(
65
+ opts: __ExceptionOptionType<
66
+ ContactFlowNotPublishedException,
67
+ __BaseException
68
+ >
69
+ );
70
+ }
71
+ export interface DescribeContactFlowRequest {
72
+ InstanceId: string | undefined;
73
+ ContactFlowId: string | undefined;
74
+ }
75
+ export declare const ContactFlowState: {
76
+ readonly ACTIVE: "ACTIVE";
77
+ readonly ARCHIVED: "ARCHIVED";
78
+ };
79
+ export type ContactFlowState =
80
+ (typeof ContactFlowState)[keyof typeof ContactFlowState];
81
+ export interface ContactFlow {
82
+ Arn?: string;
83
+ Id?: string;
84
+ Name?: string;
85
+ Type?: ContactFlowType;
86
+ State?: ContactFlowState;
87
+ Status?: ContactFlowStatus;
88
+ Description?: string;
89
+ Content?: string;
90
+ Tags?: Record<string, string>;
91
+ }
92
+ export interface DescribeContactFlowResponse {
93
+ ContactFlow?: ContactFlow;
94
+ }
95
+ export interface DescribeContactFlowModuleRequest {
96
+ InstanceId: string | undefined;
97
+ ContactFlowModuleId: string | undefined;
98
+ }
99
+ export declare const ContactFlowModuleState: {
100
+ readonly ACTIVE: "ACTIVE";
101
+ readonly ARCHIVED: "ARCHIVED";
102
+ };
103
+ export type ContactFlowModuleState =
104
+ (typeof ContactFlowModuleState)[keyof typeof ContactFlowModuleState];
105
+ export declare const ContactFlowModuleStatus: {
106
+ readonly PUBLISHED: "PUBLISHED";
107
+ readonly SAVED: "SAVED";
108
+ };
109
+ export type ContactFlowModuleStatus =
110
+ (typeof ContactFlowModuleStatus)[keyof typeof ContactFlowModuleStatus];
111
+ export interface ContactFlowModule {
112
+ Arn?: string;
113
+ Id?: string;
114
+ Name?: string;
115
+ Content?: string;
116
+ Description?: string;
117
+ State?: ContactFlowModuleState;
118
+ Status?: ContactFlowModuleStatus;
119
+ Tags?: Record<string, string>;
120
+ }
121
+ export interface DescribeContactFlowModuleResponse {
122
+ ContactFlowModule?: ContactFlowModule;
123
+ }
124
+ export interface DescribeEvaluationFormRequest {
125
+ InstanceId: string | undefined;
126
+ EvaluationFormId: string | undefined;
127
+ EvaluationFormVersion?: number;
128
+ }
129
+ export declare const EvaluationFormVersionStatus: {
130
+ readonly ACTIVE: "ACTIVE";
131
+ readonly DRAFT: "DRAFT";
132
+ };
133
+ export type EvaluationFormVersionStatus =
134
+ (typeof EvaluationFormVersionStatus)[keyof typeof EvaluationFormVersionStatus];
135
+ export interface DescribeHoursOfOperationRequest {
136
+ InstanceId: string | undefined;
137
+ HoursOfOperationId: string | undefined;
138
+ }
65
139
  export interface HoursOfOperation {
66
140
  HoursOfOperationId?: string;
67
141
  HoursOfOperationArn?: string;
@@ -2097,70 +2171,6 @@ export interface ListViewsRequest {
2097
2171
  NextToken?: string;
2098
2172
  MaxResults?: number;
2099
2173
  }
2100
- export interface ViewSummary {
2101
- Id?: string;
2102
- Arn?: string;
2103
- Name?: string;
2104
- Type?: ViewType;
2105
- Status?: ViewStatus;
2106
- Description?: string;
2107
- }
2108
- export interface ListViewsResponse {
2109
- ViewsSummaryList?: ViewSummary[];
2110
- NextToken?: string;
2111
- }
2112
- export interface ListViewVersionsRequest {
2113
- InstanceId: string | undefined;
2114
- ViewId: string | undefined;
2115
- NextToken?: string;
2116
- MaxResults?: number;
2117
- }
2118
- export interface ViewVersionSummary {
2119
- Id?: string;
2120
- Arn?: string;
2121
- Description?: string;
2122
- Name?: string;
2123
- Type?: ViewType;
2124
- Version?: number;
2125
- VersionDescription?: string;
2126
- }
2127
- export interface ListViewVersionsResponse {
2128
- ViewVersionSummaryList?: ViewVersionSummary[];
2129
- NextToken?: string;
2130
- }
2131
- export interface MonitorContactRequest {
2132
- InstanceId: string | undefined;
2133
- ContactId: string | undefined;
2134
- UserId: string | undefined;
2135
- AllowedMonitorCapabilities?: MonitorCapability[];
2136
- ClientToken?: string;
2137
- }
2138
- export interface MonitorContactResponse {
2139
- ContactId?: string;
2140
- ContactArn?: string;
2141
- }
2142
- export declare class ConflictException extends __BaseException {
2143
- readonly name: "ConflictException";
2144
- readonly $fault: "client";
2145
- Message?: string;
2146
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
2147
- }
2148
- export interface PauseContactRequest {
2149
- ContactId: string | undefined;
2150
- InstanceId: string | undefined;
2151
- ContactFlowId?: string;
2152
- }
2153
- export interface PauseContactResponse {}
2154
- export interface PutUserStatusRequest {
2155
- UserId: string | undefined;
2156
- InstanceId: string | undefined;
2157
- AgentStatusId: string | undefined;
2158
- }
2159
- export interface PutUserStatusResponse {}
2160
- export interface ReleasePhoneNumberRequest {
2161
- PhoneNumberId: string | undefined;
2162
- ClientToken?: string;
2163
- }
2164
2174
  export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
2165
2175
  export declare const DescribeInstanceResponseFilterSensitiveLog: (
2166
2176
  obj: DescribeInstanceResponse
@@ -2182,13 +2192,3 @@ export declare const InstanceSummaryFilterSensitiveLog: (
2182
2192
  export declare const ListInstancesResponseFilterSensitiveLog: (
2183
2193
  obj: ListInstancesResponse
2184
2194
  ) => any;
2185
- export declare const ViewSummaryFilterSensitiveLog: (obj: ViewSummary) => any;
2186
- export declare const ListViewsResponseFilterSensitiveLog: (
2187
- obj: ListViewsResponse
2188
- ) => any;
2189
- export declare const ViewVersionSummaryFilterSensitiveLog: (
2190
- obj: ViewVersionSummary
2191
- ) => any;
2192
- export declare const ListViewVersionsResponseFilterSensitiveLog: (
2193
- obj: ListViewVersionsResponse
2194
- ) => any;
@@ -4,39 +4,47 @@ import {
4
4
  AgentAvailabilityTimer,
5
5
  AgentConfig,
6
6
  AgentHierarchyGroups,
7
+ AgentInfo,
7
8
  AgentStatusState,
8
9
  AllowedCapabilities,
10
+ AnsweringMachineDetectionStatus,
9
11
  Application,
12
+ AttributeCondition,
13
+ Campaign,
10
14
  Channel,
11
- ContactFlow,
12
- ContactFlowModule,
13
- ContactFlowModuleState,
14
- ContactFlowState,
15
15
  ContactFlowStatus,
16
16
  ContactFlowType,
17
17
  ContactInitiationMethod,
18
18
  CreatedByInfo,
19
+ Customer,
20
+ CustomerVoiceActivity,
21
+ DisconnectDetails,
19
22
  Evaluation,
20
23
  EvaluationAnswerData,
21
24
  EvaluationFormQuestion,
22
25
  EvaluationFormScoringStrategy,
23
- EvaluationFormVersionStatus,
24
26
  EvaluationNote,
27
+ Expiry,
25
28
  FileStatusType,
26
29
  FileUseCaseType,
27
30
  HoursOfOperationConfig,
28
31
  InstanceStorageConfig,
29
32
  InstanceStorageResourceType,
30
33
  MediaConcurrency,
34
+ MonitorCapability,
31
35
  OutboundCallerConfig,
32
36
  ParticipantRole,
33
37
  PredefinedAttributeValues,
38
+ QualityMetrics,
39
+ QueueInfo,
34
40
  QuickConnectConfig,
35
41
  Reference,
36
42
  RehydrationType,
43
+ RoutingCriteriaStepStatus,
37
44
  RoutingProfileQueueConfig,
38
45
  RuleAction,
39
46
  RulePublishStatus,
47
+ SegmentAttributeValue,
40
48
  TaskTemplateConstraints,
41
49
  TaskTemplateDefaults,
42
50
  TaskTemplateField,
@@ -47,10 +55,17 @@ import {
47
55
  View,
48
56
  ViewInputContent,
49
57
  ViewStatus,
58
+ ViewType,
50
59
  VocabularyLanguageCode,
51
60
  VocabularyState,
61
+ WisdomInfo,
52
62
  } from "./models_0";
53
63
  import {
64
+ ContactFlow,
65
+ ContactFlowModule,
66
+ ContactFlowModuleState,
67
+ ContactFlowState,
68
+ EvaluationFormVersionStatus,
54
69
  HoursOfOperation,
55
70
  InstanceAttributeType,
56
71
  PhoneNumberCountryCode,
@@ -65,6 +80,70 @@ import {
65
80
  SortOrder,
66
81
  TelephonyConfig,
67
82
  } from "./models_1";
83
+ export interface ViewSummary {
84
+ Id?: string;
85
+ Arn?: string;
86
+ Name?: string;
87
+ Type?: ViewType;
88
+ Status?: ViewStatus;
89
+ Description?: string;
90
+ }
91
+ export interface ListViewsResponse {
92
+ ViewsSummaryList?: ViewSummary[];
93
+ NextToken?: string;
94
+ }
95
+ export interface ListViewVersionsRequest {
96
+ InstanceId: string | undefined;
97
+ ViewId: string | undefined;
98
+ NextToken?: string;
99
+ MaxResults?: number;
100
+ }
101
+ export interface ViewVersionSummary {
102
+ Id?: string;
103
+ Arn?: string;
104
+ Description?: string;
105
+ Name?: string;
106
+ Type?: ViewType;
107
+ Version?: number;
108
+ VersionDescription?: string;
109
+ }
110
+ export interface ListViewVersionsResponse {
111
+ ViewVersionSummaryList?: ViewVersionSummary[];
112
+ NextToken?: string;
113
+ }
114
+ export interface MonitorContactRequest {
115
+ InstanceId: string | undefined;
116
+ ContactId: string | undefined;
117
+ UserId: string | undefined;
118
+ AllowedMonitorCapabilities?: MonitorCapability[];
119
+ ClientToken?: string;
120
+ }
121
+ export interface MonitorContactResponse {
122
+ ContactId?: string;
123
+ ContactArn?: string;
124
+ }
125
+ export declare class ConflictException extends __BaseException {
126
+ readonly name: "ConflictException";
127
+ readonly $fault: "client";
128
+ Message?: string;
129
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
130
+ }
131
+ export interface PauseContactRequest {
132
+ ContactId: string | undefined;
133
+ InstanceId: string | undefined;
134
+ ContactFlowId?: string;
135
+ }
136
+ export interface PauseContactResponse {}
137
+ export interface PutUserStatusRequest {
138
+ UserId: string | undefined;
139
+ InstanceId: string | undefined;
140
+ AgentStatusId: string | undefined;
141
+ }
142
+ export interface PutUserStatusResponse {}
143
+ export interface ReleasePhoneNumberRequest {
144
+ PhoneNumberId: string | undefined;
145
+ ClientToken?: string;
146
+ }
68
147
  export interface ReplicateInstanceRequest {
69
148
  InstanceId: string | undefined;
70
149
  ReplicaRegion: string | undefined;
@@ -468,9 +547,6 @@ export interface PersistentChat {
468
547
  RehydrationType?: RehydrationType;
469
548
  SourceContactId?: string;
470
549
  }
471
- export interface SegmentAttributeValue {
472
- ValueString?: string;
473
- }
474
550
  export interface StartChatContactRequest {
475
551
  InstanceId: string | undefined;
476
552
  ContactFlowId: string | undefined;
@@ -1194,6 +1270,11 @@ export interface EvaluationFormContent {
1194
1270
  Items: EvaluationFormItem[] | undefined;
1195
1271
  ScoringStrategy?: EvaluationFormScoringStrategy;
1196
1272
  }
1273
+ export interface Expression {
1274
+ AttributeCondition?: AttributeCondition;
1275
+ AndExpression?: Expression[];
1276
+ OrExpression?: Expression[];
1277
+ }
1197
1278
  export interface HoursOfOperationSearchCriteria {
1198
1279
  OrConditions?: HoursOfOperationSearchCriteria[];
1199
1280
  AndConditions?: HoursOfOperationSearchCriteria[];
@@ -1323,6 +1404,63 @@ export interface SearchUsersRequest {
1323
1404
  SearchFilter?: UserSearchFilter;
1324
1405
  SearchCriteria?: UserSearchCriteria;
1325
1406
  }
1407
+ export interface Step {
1408
+ Expiry?: Expiry;
1409
+ Expression?: Expression;
1410
+ Status?: RoutingCriteriaStepStatus;
1411
+ }
1412
+ export interface RoutingCriteria {
1413
+ Steps?: Step[];
1414
+ ActivationTimestamp?: Date;
1415
+ Index?: number;
1416
+ }
1417
+ export interface Contact {
1418
+ Arn?: string;
1419
+ Id?: string;
1420
+ InitialContactId?: string;
1421
+ PreviousContactId?: string;
1422
+ InitiationMethod?: ContactInitiationMethod;
1423
+ Name?: string;
1424
+ Description?: string;
1425
+ Channel?: Channel;
1426
+ QueueInfo?: QueueInfo;
1427
+ AgentInfo?: AgentInfo;
1428
+ InitiationTimestamp?: Date;
1429
+ DisconnectTimestamp?: Date;
1430
+ LastUpdateTimestamp?: Date;
1431
+ LastPausedTimestamp?: Date;
1432
+ LastResumedTimestamp?: Date;
1433
+ TotalPauseCount?: number;
1434
+ TotalPauseDurationInSeconds?: number;
1435
+ ScheduledTimestamp?: Date;
1436
+ RelatedContactId?: string;
1437
+ WisdomInfo?: WisdomInfo;
1438
+ QueueTimeAdjustmentSeconds?: number;
1439
+ QueuePriority?: number;
1440
+ Tags?: Record<string, string>;
1441
+ ConnectedToSystemTimestamp?: Date;
1442
+ RoutingCriteria?: RoutingCriteria;
1443
+ Customer?: Customer;
1444
+ Campaign?: Campaign;
1445
+ AnsweringMachineDetectionStatus?: AnsweringMachineDetectionStatus;
1446
+ CustomerVoiceActivity?: CustomerVoiceActivity;
1447
+ QualityMetrics?: QualityMetrics;
1448
+ DisconnectDetails?: DisconnectDetails;
1449
+ SegmentAttributes?: Record<string, SegmentAttributeValue>;
1450
+ }
1451
+ export interface DescribeContactResponse {
1452
+ Contact?: Contact;
1453
+ }
1454
+ export declare const ViewSummaryFilterSensitiveLog: (obj: ViewSummary) => any;
1455
+ export declare const ListViewsResponseFilterSensitiveLog: (
1456
+ obj: ListViewsResponse
1457
+ ) => any;
1458
+ export declare const ViewVersionSummaryFilterSensitiveLog: (
1459
+ obj: ViewVersionSummary
1460
+ ) => any;
1461
+ export declare const ListViewVersionsResponseFilterSensitiveLog: (
1462
+ obj: ListViewVersionsResponse
1463
+ ) => any;
1326
1464
  export declare const ReplicateInstanceRequestFilterSensitiveLog: (
1327
1465
  obj: ReplicateInstanceRequest
1328
1466
  ) => any;
@@ -1385,3 +1523,7 @@ export declare const UpdateViewContentResponseFilterSensitiveLog: (
1385
1523
  export declare const UpdateViewMetadataRequestFilterSensitiveLog: (
1386
1524
  obj: UpdateViewMetadataRequest
1387
1525
  ) => any;
1526
+ export declare const ContactFilterSensitiveLog: (obj: Contact) => any;
1527
+ export declare const DescribeContactResponseFilterSensitiveLog: (
1528
+ obj: DescribeContactResponse
1529
+ ) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.583.0",
4
+ "version": "3.586.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connect",