@aws-sdk/client-connect 3.1106.0 → 3.1108.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -0
- package/dist-cjs/index.js +391 -46
- package/dist-es/Connect.js +18 -0
- package/dist-es/commands/CreateMetricCommand.js +4 -0
- package/dist-es/commands/DeleteMetricCommand.js +4 -0
- package/dist-es/commands/DescribeMetricCommand.js +4 -0
- package/dist-es/commands/ListMetricsCommand.js +4 -0
- package/dist-es/commands/SearchMetricsCommand.js +4 -0
- package/dist-es/commands/UpdateMetricContentCommand.js +4 -0
- package/dist-es/commands/UpdateMetricMetadataCommand.js +4 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/index.js +1 -1
- package/dist-es/models/enums.js +42 -0
- package/dist-es/pagination/ListMetricsPaginator.js +4 -0
- package/dist-es/pagination/SearchMetricsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +268 -45
- package/dist-types/Connect.d.ts +63 -0
- package/dist-types/ConnectClient.d.ts +9 -2
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/CreateMetricCommand.d.ts +137 -0
- package/dist-types/commands/CreateUserCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +1 -2
- package/dist-types/commands/DeleteMetricCommand.d.ts +93 -0
- package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMetricCommand.d.ts +165 -0
- package/dist-types/commands/GetCurrentUserDataCommand.d.ts +2 -1
- package/dist-types/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
- package/dist-types/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
- package/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
- package/dist-types/commands/ListMetricsCommand.d.ts +103 -0
- package/dist-types/commands/SearchAgentStatusesCommand.d.ts +1 -1
- package/dist-types/commands/SearchContactEvaluationsCommand.d.ts +1 -1
- package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +1 -1
- package/dist-types/commands/SearchEvaluationFormsCommand.d.ts +1 -1
- package/dist-types/commands/SearchMetricsCommand.d.ts +223 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMetricContentCommand.d.ts +121 -0
- package/dist-types/commands/UpdateMetricMetadataCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +114 -0
- package/dist-types/models/models_0.d.ts +185 -285
- package/dist-types/models/models_1.d.ts +526 -349
- package/dist-types/models/models_2.d.ts +394 -355
- package/dist-types/models/models_3.d.ts +469 -663
- package/dist-types/models/models_4.d.ts +715 -5
- package/dist-types/pagination/ListMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +32 -0
- package/dist-types/ts3.4/Connect.d.ts +130 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateMetricCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteMetricCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeMetricCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchContactEvaluationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchMetricsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateMetricContentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateMetricMetadataCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +54 -0
- package/dist-types/ts3.4/models/models_0.d.ts +49 -55
- package/dist-types/ts3.4/models/models_1.d.ts +108 -82
- package/dist-types/ts3.4/models/models_2.d.ts +99 -86
- package/dist-types/ts3.4/models/models_3.d.ts +121 -153
- package/dist-types/ts3.4/models/models_4.d.ts +174 -21
- package/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +8 -0
- package/dist-types/ts3.4/pagination/SearchMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
- package/package.json +6 -6
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
AgentAvailabilityTimer,
|
|
3
3
|
AttachmentScope,
|
|
4
4
|
AutoEvaluationStatus,
|
|
5
|
+
AvailableFilterType,
|
|
5
6
|
Channel,
|
|
6
7
|
ContactField,
|
|
7
8
|
ContactFlowModuleState,
|
|
@@ -19,8 +20,6 @@ import {
|
|
|
19
20
|
DirectoryType,
|
|
20
21
|
EndpointType,
|
|
21
22
|
EntityType,
|
|
22
|
-
EvaluationFormValidationFindingSeverity,
|
|
23
|
-
EvaluationFormValidationStatus,
|
|
24
23
|
EvaluationQuestionAnswerAnalysisType,
|
|
25
24
|
EvaluationStatus,
|
|
26
25
|
EvaluationSuggestedAnswerStatus,
|
|
@@ -37,15 +36,19 @@ import {
|
|
|
37
36
|
LocaleCode,
|
|
38
37
|
MediaStreamType,
|
|
39
38
|
MediaType,
|
|
39
|
+
MetricCreationMethod,
|
|
40
|
+
MetricStatus,
|
|
41
|
+
MetricType,
|
|
42
|
+
MetricUnit,
|
|
40
43
|
NextContactType,
|
|
41
44
|
NotificationPriority,
|
|
42
|
-
OperationalStatus,
|
|
43
45
|
OverrideType,
|
|
44
46
|
ParticipantType,
|
|
45
47
|
PerformanceCategoryName,
|
|
46
48
|
PhoneNumberCountryCode,
|
|
47
49
|
PhoneNumberType,
|
|
48
50
|
PhoneNumberWorkflowStatus,
|
|
51
|
+
PhoneType,
|
|
49
52
|
QuestionRuleCategoryAutomationCondition,
|
|
50
53
|
QueueStatus,
|
|
51
54
|
QuickConnectType,
|
|
@@ -57,12 +60,14 @@ import {
|
|
|
57
60
|
StorageType,
|
|
58
61
|
TestCaseStatus,
|
|
59
62
|
TrafficDistributionGroupStatus,
|
|
63
|
+
TrendIndicator,
|
|
60
64
|
Unit,
|
|
61
65
|
ViewStatus,
|
|
62
66
|
ViewType,
|
|
63
67
|
Visibility,
|
|
64
68
|
VocabularyLanguageCode,
|
|
65
69
|
VocabularyState,
|
|
70
|
+
VoiceEnhancementMode,
|
|
66
71
|
WorkspaceFontFamily,
|
|
67
72
|
} from "./enums";
|
|
68
73
|
import {
|
|
@@ -90,12 +95,10 @@ import {
|
|
|
90
95
|
LexBot,
|
|
91
96
|
LexV2Bot,
|
|
92
97
|
MediaConcurrency,
|
|
98
|
+
MetricCalculation,
|
|
93
99
|
OutboundCallerConfig,
|
|
94
100
|
OutboundEmailConfig,
|
|
95
|
-
OverrideTimeSlice,
|
|
96
101
|
ParticipantCapabilities,
|
|
97
|
-
PersistentConnectionConfig,
|
|
98
|
-
PhoneNumberConfig,
|
|
99
102
|
PredefinedAttributeValues,
|
|
100
103
|
PrimaryValue,
|
|
101
104
|
QueueReference,
|
|
@@ -107,11 +110,62 @@ import {
|
|
|
107
110
|
SecurityProfileItem,
|
|
108
111
|
SuccessfulBatchAssociationSummary,
|
|
109
112
|
TestCaseEntryPoint,
|
|
110
|
-
UserIdentityInfo,
|
|
111
|
-
UserPhoneConfig,
|
|
112
113
|
Validation,
|
|
113
|
-
VoiceEnhancementConfig,
|
|
114
114
|
} from "./models_0";
|
|
115
|
+
export interface UserIdentityInfo {
|
|
116
|
+
FirstName?: string | undefined;
|
|
117
|
+
LastName?: string | undefined;
|
|
118
|
+
Email?: string | undefined;
|
|
119
|
+
SecondaryEmail?: string | undefined;
|
|
120
|
+
Mobile?: string | undefined;
|
|
121
|
+
}
|
|
122
|
+
export interface PersistentConnectionConfig {
|
|
123
|
+
Channel: Channel | undefined;
|
|
124
|
+
PersistentConnection: boolean | undefined;
|
|
125
|
+
}
|
|
126
|
+
export interface UserPhoneConfig {
|
|
127
|
+
PhoneType?: PhoneType | undefined;
|
|
128
|
+
AutoAccept?: boolean | undefined;
|
|
129
|
+
AfterContactWorkTimeLimit?: number | undefined;
|
|
130
|
+
DeskPhoneNumber?: string | undefined;
|
|
131
|
+
PersistentConnection?: boolean | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface PhoneNumberConfig {
|
|
134
|
+
Channel: Channel | undefined;
|
|
135
|
+
PhoneType: PhoneType | undefined;
|
|
136
|
+
PhoneNumber?: string | undefined;
|
|
137
|
+
}
|
|
138
|
+
export interface VoiceEnhancementConfig {
|
|
139
|
+
Channel: Channel | undefined;
|
|
140
|
+
VoiceEnhancementMode: VoiceEnhancementMode | undefined;
|
|
141
|
+
}
|
|
142
|
+
export interface CreateUserRequest {
|
|
143
|
+
Username: string | undefined;
|
|
144
|
+
Password?: string | undefined;
|
|
145
|
+
IdentityInfo?: UserIdentityInfo | undefined;
|
|
146
|
+
PhoneConfig?: UserPhoneConfig | undefined;
|
|
147
|
+
DirectoryUserId?: string | undefined;
|
|
148
|
+
SecurityProfileIds: string[] | undefined;
|
|
149
|
+
RoutingProfileId: string | undefined;
|
|
150
|
+
HierarchyGroupId?: string | undefined;
|
|
151
|
+
InstanceId: string | undefined;
|
|
152
|
+
AutoAcceptConfigs?: AutoAcceptConfig[] | undefined;
|
|
153
|
+
AfterContactWorkConfigs?: AfterContactWorkConfigPerChannel[] | undefined;
|
|
154
|
+
PhoneNumberConfigs?: PhoneNumberConfig[] | undefined;
|
|
155
|
+
PersistentConnectionConfigs?: PersistentConnectionConfig[] | undefined;
|
|
156
|
+
VoiceEnhancementConfigs?: VoiceEnhancementConfig[] | undefined;
|
|
157
|
+
Tags?: Record<string, string> | undefined;
|
|
158
|
+
}
|
|
159
|
+
export interface CreateUserResponse {
|
|
160
|
+
UserId?: string | undefined;
|
|
161
|
+
UserArn?: string | undefined;
|
|
162
|
+
}
|
|
163
|
+
export interface CreateUserHierarchyGroupRequest {
|
|
164
|
+
Name: string | undefined;
|
|
165
|
+
ParentGroupId?: string | undefined;
|
|
166
|
+
InstanceId: string | undefined;
|
|
167
|
+
Tags?: Record<string, string> | undefined;
|
|
168
|
+
}
|
|
115
169
|
export interface CreateUserHierarchyGroupResponse {
|
|
116
170
|
HierarchyGroupId?: string | undefined;
|
|
117
171
|
HierarchyGroupArn?: string | undefined;
|
|
@@ -342,6 +396,11 @@ export interface DeleteIntegrationAssociationRequest {
|
|
|
342
396
|
InstanceId: string | undefined;
|
|
343
397
|
IntegrationAssociationId: string | undefined;
|
|
344
398
|
}
|
|
399
|
+
export interface DeleteMetricRequest {
|
|
400
|
+
InstanceId: string | undefined;
|
|
401
|
+
MetricId: string | undefined;
|
|
402
|
+
}
|
|
403
|
+
export interface DeleteMetricResponse {}
|
|
345
404
|
export interface DeleteNotificationRequest {
|
|
346
405
|
InstanceId: string | undefined;
|
|
347
406
|
NotificationId: string | undefined;
|
|
@@ -1057,6 +1116,46 @@ export interface DescribeInstanceStorageConfigRequest {
|
|
|
1057
1116
|
export interface DescribeInstanceStorageConfigResponse {
|
|
1058
1117
|
StorageConfig?: InstanceStorageConfig | undefined;
|
|
1059
1118
|
}
|
|
1119
|
+
export interface DescribeMetricRequest {
|
|
1120
|
+
InstanceId: string | undefined;
|
|
1121
|
+
MetricId: string | undefined;
|
|
1122
|
+
}
|
|
1123
|
+
export interface AvailableFilter {
|
|
1124
|
+
Id?: string | undefined;
|
|
1125
|
+
Type?: AvailableFilterType | undefined;
|
|
1126
|
+
}
|
|
1127
|
+
export interface MetricDefinition {
|
|
1128
|
+
Arn: string | undefined;
|
|
1129
|
+
Id: string | undefined;
|
|
1130
|
+
Name: string | undefined;
|
|
1131
|
+
Description?: string | undefined;
|
|
1132
|
+
MetricCalculation?: MetricCalculation | undefined;
|
|
1133
|
+
CreationMethod?: MetricCreationMethod | undefined;
|
|
1134
|
+
Status?: MetricStatus | undefined;
|
|
1135
|
+
Type: MetricType | undefined;
|
|
1136
|
+
Unit: MetricUnit | undefined;
|
|
1137
|
+
PositiveTrendIndicator?: TrendIndicator | undefined;
|
|
1138
|
+
Groupings: string[] | undefined;
|
|
1139
|
+
Filters: AvailableFilter[] | undefined;
|
|
1140
|
+
EffectiveTime?: Date | undefined;
|
|
1141
|
+
RefreshRate?: number | undefined;
|
|
1142
|
+
Category: string | undefined;
|
|
1143
|
+
SupportedStats?: string[] | undefined;
|
|
1144
|
+
DefaultStat?: string | undefined;
|
|
1145
|
+
SupportsPreaggregateCalculation: boolean | undefined;
|
|
1146
|
+
SupportsCustomCalculation: boolean | undefined;
|
|
1147
|
+
PrimaryEventSource?: string | undefined;
|
|
1148
|
+
PrimaryEventSourceEffectiveTimestampType?: string | undefined;
|
|
1149
|
+
CreatedTime?: Date | undefined;
|
|
1150
|
+
CreatedUser?: CreatedByInfo | undefined;
|
|
1151
|
+
LastModifiedRegion?: string | undefined;
|
|
1152
|
+
LastModifiedTime?: Date | undefined;
|
|
1153
|
+
LastModifiedUser?: CreatedByInfo | undefined;
|
|
1154
|
+
Tags?: Record<string, string> | undefined;
|
|
1155
|
+
}
|
|
1156
|
+
export interface DescribeMetricResponse {
|
|
1157
|
+
Metric: MetricDefinition | undefined;
|
|
1158
|
+
}
|
|
1060
1159
|
export interface DescribeNotificationRequest {
|
|
1061
1160
|
InstanceId: string | undefined;
|
|
1062
1161
|
NotificationId: string | undefined;
|
|
@@ -1698,76 +1797,3 @@ export interface UserData {
|
|
|
1698
1797
|
Contacts?: AgentContactReference[] | undefined;
|
|
1699
1798
|
NextStatus?: string | undefined;
|
|
1700
1799
|
}
|
|
1701
|
-
export interface GetCurrentUserDataResponse {
|
|
1702
|
-
NextToken?: string | undefined;
|
|
1703
|
-
UserDataList?: UserData[] | undefined;
|
|
1704
|
-
ApproximateTotalCount?: number | undefined;
|
|
1705
|
-
}
|
|
1706
|
-
export interface GetEffectiveHoursOfOperationsRequest {
|
|
1707
|
-
InstanceId: string | undefined;
|
|
1708
|
-
HoursOfOperationId: string | undefined;
|
|
1709
|
-
FromDate: string | undefined;
|
|
1710
|
-
ToDate: string | undefined;
|
|
1711
|
-
}
|
|
1712
|
-
export interface OperationalHour {
|
|
1713
|
-
Start?: OverrideTimeSlice | undefined;
|
|
1714
|
-
End?: OverrideTimeSlice | undefined;
|
|
1715
|
-
}
|
|
1716
|
-
export interface EffectiveHoursOfOperations {
|
|
1717
|
-
Date?: string | undefined;
|
|
1718
|
-
OperationalHours?: OperationalHour[] | undefined;
|
|
1719
|
-
}
|
|
1720
|
-
export interface OverrideHour {
|
|
1721
|
-
Start?: OverrideTimeSlice | undefined;
|
|
1722
|
-
End?: OverrideTimeSlice | undefined;
|
|
1723
|
-
OverrideName?: string | undefined;
|
|
1724
|
-
OperationalStatus?: OperationalStatus | undefined;
|
|
1725
|
-
}
|
|
1726
|
-
export interface EffectiveOverrideHours {
|
|
1727
|
-
Date?: string | undefined;
|
|
1728
|
-
OverrideHours?: OverrideHour[] | undefined;
|
|
1729
|
-
}
|
|
1730
|
-
export interface GetEffectiveHoursOfOperationsResponse {
|
|
1731
|
-
EffectiveHoursOfOperationList?: EffectiveHoursOfOperations[] | undefined;
|
|
1732
|
-
EffectiveOverrideHoursList?: EffectiveOverrideHours[] | undefined;
|
|
1733
|
-
TimeZone?: string | undefined;
|
|
1734
|
-
}
|
|
1735
|
-
export interface GetEvaluationFormValidationRequest {
|
|
1736
|
-
InstanceId: string | undefined;
|
|
1737
|
-
EvaluationFormId: string | undefined;
|
|
1738
|
-
EvaluationFormVersion?: number | undefined;
|
|
1739
|
-
}
|
|
1740
|
-
export interface EvaluationFormValidationFindingItem {
|
|
1741
|
-
RefId?: string | undefined;
|
|
1742
|
-
Property?: string | undefined;
|
|
1743
|
-
}
|
|
1744
|
-
export interface EvaluationFormValidationFinding {
|
|
1745
|
-
IssueCode: string | undefined;
|
|
1746
|
-
Items?: EvaluationFormValidationFindingItem[] | undefined;
|
|
1747
|
-
Description: string | undefined;
|
|
1748
|
-
Suggestion?: string | undefined;
|
|
1749
|
-
Severity: EvaluationFormValidationFindingSeverity | undefined;
|
|
1750
|
-
}
|
|
1751
|
-
export interface GetEvaluationFormValidationResponse {
|
|
1752
|
-
Status: EvaluationFormValidationStatus | undefined;
|
|
1753
|
-
FailureReason?: string | undefined;
|
|
1754
|
-
EvaluationFormId: string | undefined;
|
|
1755
|
-
EvaluationFormVersion: number | undefined;
|
|
1756
|
-
StartedTime: Date | undefined;
|
|
1757
|
-
Findings?: EvaluationFormValidationFinding[] | undefined;
|
|
1758
|
-
}
|
|
1759
|
-
export interface GetFederationTokenRequest {
|
|
1760
|
-
InstanceId: string | undefined;
|
|
1761
|
-
}
|
|
1762
|
-
export interface Credentials {
|
|
1763
|
-
AccessToken?: string | undefined;
|
|
1764
|
-
AccessTokenExpiration?: Date | undefined;
|
|
1765
|
-
RefreshToken?: string | undefined;
|
|
1766
|
-
RefreshTokenExpiration?: Date | undefined;
|
|
1767
|
-
}
|
|
1768
|
-
export interface GetFederationTokenResponse {
|
|
1769
|
-
UserId?: string | undefined;
|
|
1770
|
-
UserArn?: string | undefined;
|
|
1771
|
-
Credentials?: Credentials | undefined;
|
|
1772
|
-
SignInUrl?: string | undefined;
|
|
1773
|
-
}
|
|
@@ -20,6 +20,8 @@ import {
|
|
|
20
20
|
DecimalComparisonType,
|
|
21
21
|
DirectoryType,
|
|
22
22
|
EntityType,
|
|
23
|
+
EvaluationFormValidationFindingSeverity,
|
|
24
|
+
EvaluationFormValidationStatus,
|
|
23
25
|
EvaluationFormVersionStatus,
|
|
24
26
|
EvaluationStatus,
|
|
25
27
|
EvaluationType,
|
|
@@ -37,11 +39,14 @@ import {
|
|
|
37
39
|
ListFlowAssociationResourceType,
|
|
38
40
|
LocaleCode,
|
|
39
41
|
MediaType,
|
|
42
|
+
MetricStatus,
|
|
43
|
+
MetricType,
|
|
40
44
|
MonitorCapability,
|
|
41
45
|
NotificationPriority,
|
|
42
46
|
NotificationSource,
|
|
43
47
|
NotificationStatus,
|
|
44
48
|
NumberComparisonType,
|
|
49
|
+
OperationalStatus,
|
|
45
50
|
ParticipantRole,
|
|
46
51
|
PerformanceCategoryName,
|
|
47
52
|
PhoneNumberCountryCode,
|
|
@@ -59,11 +64,6 @@ import {
|
|
|
59
64
|
ReferenceType,
|
|
60
65
|
RuleCapabilityTier,
|
|
61
66
|
RulePublishStatus,
|
|
62
|
-
SearchContactsMatchType,
|
|
63
|
-
SearchContactsTimeRangeConditionType,
|
|
64
|
-
SearchContactsTimeRangeType,
|
|
65
|
-
SortableFieldName,
|
|
66
|
-
SortOrder,
|
|
67
67
|
SourceType,
|
|
68
68
|
Statistic,
|
|
69
69
|
TaskTemplateStatus,
|
|
@@ -79,10 +79,8 @@ import {
|
|
|
79
79
|
import {
|
|
80
80
|
ActionSummary,
|
|
81
81
|
AgentConfig,
|
|
82
|
-
AgentHierarchyGroups,
|
|
83
82
|
AgentStatus,
|
|
84
83
|
AgentStatusSummary,
|
|
85
|
-
AiAgentsCriteria,
|
|
86
84
|
AnalyticsDataAssociationResult,
|
|
87
85
|
Application,
|
|
88
86
|
ControlPlaneAttributeFilter,
|
|
@@ -93,6 +91,7 @@ import {
|
|
|
93
91
|
InstanceStorageConfig,
|
|
94
92
|
LexBot,
|
|
95
93
|
LexV2Bot,
|
|
94
|
+
OverrideTimeSlice,
|
|
96
95
|
PrimaryValueResponse,
|
|
97
96
|
SecurityProfileItem,
|
|
98
97
|
TagCondition,
|
|
@@ -115,7 +114,81 @@ import {
|
|
|
115
114
|
HoursOfOperationOverride,
|
|
116
115
|
HoursOfOperationsIdentifier,
|
|
117
116
|
Notification,
|
|
117
|
+
UserData,
|
|
118
118
|
} from "./models_1";
|
|
119
|
+
export interface GetCurrentUserDataResponse {
|
|
120
|
+
NextToken?: string | undefined;
|
|
121
|
+
UserDataList?: UserData[] | undefined;
|
|
122
|
+
ApproximateTotalCount?: number | undefined;
|
|
123
|
+
}
|
|
124
|
+
export interface GetEffectiveHoursOfOperationsRequest {
|
|
125
|
+
InstanceId: string | undefined;
|
|
126
|
+
HoursOfOperationId: string | undefined;
|
|
127
|
+
FromDate: string | undefined;
|
|
128
|
+
ToDate: string | undefined;
|
|
129
|
+
}
|
|
130
|
+
export interface OperationalHour {
|
|
131
|
+
Start?: OverrideTimeSlice | undefined;
|
|
132
|
+
End?: OverrideTimeSlice | undefined;
|
|
133
|
+
}
|
|
134
|
+
export interface EffectiveHoursOfOperations {
|
|
135
|
+
Date?: string | undefined;
|
|
136
|
+
OperationalHours?: OperationalHour[] | undefined;
|
|
137
|
+
}
|
|
138
|
+
export interface OverrideHour {
|
|
139
|
+
Start?: OverrideTimeSlice | undefined;
|
|
140
|
+
End?: OverrideTimeSlice | undefined;
|
|
141
|
+
OverrideName?: string | undefined;
|
|
142
|
+
OperationalStatus?: OperationalStatus | undefined;
|
|
143
|
+
}
|
|
144
|
+
export interface EffectiveOverrideHours {
|
|
145
|
+
Date?: string | undefined;
|
|
146
|
+
OverrideHours?: OverrideHour[] | undefined;
|
|
147
|
+
}
|
|
148
|
+
export interface GetEffectiveHoursOfOperationsResponse {
|
|
149
|
+
EffectiveHoursOfOperationList?: EffectiveHoursOfOperations[] | undefined;
|
|
150
|
+
EffectiveOverrideHoursList?: EffectiveOverrideHours[] | undefined;
|
|
151
|
+
TimeZone?: string | undefined;
|
|
152
|
+
}
|
|
153
|
+
export interface GetEvaluationFormValidationRequest {
|
|
154
|
+
InstanceId: string | undefined;
|
|
155
|
+
EvaluationFormId: string | undefined;
|
|
156
|
+
EvaluationFormVersion?: number | undefined;
|
|
157
|
+
}
|
|
158
|
+
export interface EvaluationFormValidationFindingItem {
|
|
159
|
+
RefId?: string | undefined;
|
|
160
|
+
Property?: string | undefined;
|
|
161
|
+
}
|
|
162
|
+
export interface EvaluationFormValidationFinding {
|
|
163
|
+
IssueCode: string | undefined;
|
|
164
|
+
Items?: EvaluationFormValidationFindingItem[] | undefined;
|
|
165
|
+
Description: string | undefined;
|
|
166
|
+
Suggestion?: string | undefined;
|
|
167
|
+
Severity: EvaluationFormValidationFindingSeverity | undefined;
|
|
168
|
+
}
|
|
169
|
+
export interface GetEvaluationFormValidationResponse {
|
|
170
|
+
Status: EvaluationFormValidationStatus | undefined;
|
|
171
|
+
FailureReason?: string | undefined;
|
|
172
|
+
EvaluationFormId: string | undefined;
|
|
173
|
+
EvaluationFormVersion: number | undefined;
|
|
174
|
+
StartedTime: Date | undefined;
|
|
175
|
+
Findings?: EvaluationFormValidationFinding[] | undefined;
|
|
176
|
+
}
|
|
177
|
+
export interface GetFederationTokenRequest {
|
|
178
|
+
InstanceId: string | undefined;
|
|
179
|
+
}
|
|
180
|
+
export interface Credentials {
|
|
181
|
+
AccessToken?: string | undefined;
|
|
182
|
+
AccessTokenExpiration?: Date | undefined;
|
|
183
|
+
RefreshToken?: string | undefined;
|
|
184
|
+
RefreshTokenExpiration?: Date | undefined;
|
|
185
|
+
}
|
|
186
|
+
export interface GetFederationTokenResponse {
|
|
187
|
+
UserId?: string | undefined;
|
|
188
|
+
UserArn?: string | undefined;
|
|
189
|
+
Credentials?: Credentials | undefined;
|
|
190
|
+
SignInUrl?: string | undefined;
|
|
191
|
+
}
|
|
119
192
|
export interface GetFlowAssociationRequest {
|
|
120
193
|
InstanceId: string | undefined;
|
|
121
194
|
ResourceId: string | undefined;
|
|
@@ -1000,6 +1073,25 @@ export interface ListLexBotsResponse {
|
|
|
1000
1073
|
LexBots?: LexBot[] | undefined;
|
|
1001
1074
|
NextToken?: string | undefined;
|
|
1002
1075
|
}
|
|
1076
|
+
export interface ListMetricsRequest {
|
|
1077
|
+
InstanceId: string | undefined;
|
|
1078
|
+
Type?: MetricType | undefined;
|
|
1079
|
+
MaxResults?: number | undefined;
|
|
1080
|
+
NextToken?: string | undefined;
|
|
1081
|
+
}
|
|
1082
|
+
export interface MetricSummary {
|
|
1083
|
+
Arn: string | undefined;
|
|
1084
|
+
Id: string | undefined;
|
|
1085
|
+
Name: string | undefined;
|
|
1086
|
+
Status: MetricStatus | undefined;
|
|
1087
|
+
Type: MetricType | undefined;
|
|
1088
|
+
LastModifiedRegion?: string | undefined;
|
|
1089
|
+
LastModifiedTime?: Date | undefined;
|
|
1090
|
+
}
|
|
1091
|
+
export interface ListMetricsResponse {
|
|
1092
|
+
MetricSummaryList: MetricSummary[] | undefined;
|
|
1093
|
+
NextToken?: string | undefined;
|
|
1094
|
+
}
|
|
1003
1095
|
export interface ListNotificationsRequest {
|
|
1004
1096
|
InstanceId: string | undefined;
|
|
1005
1097
|
NextToken?: string | undefined;
|
|
@@ -1928,82 +2020,3 @@ export interface SearchContactFlowsResponse {
|
|
|
1928
2020
|
NextToken?: string | undefined;
|
|
1929
2021
|
ApproximateTotalCount?: number | undefined;
|
|
1930
2022
|
}
|
|
1931
|
-
export interface SearchContactsTimeRange {
|
|
1932
|
-
Type: SearchContactsTimeRangeType | undefined;
|
|
1933
|
-
StartTime: Date | undefined;
|
|
1934
|
-
EndTime: Date | undefined;
|
|
1935
|
-
}
|
|
1936
|
-
export interface SearchContactsTimestampCondition {
|
|
1937
|
-
Type: SearchContactsTimeRangeType | undefined;
|
|
1938
|
-
ConditionType: SearchContactsTimeRangeConditionType | undefined;
|
|
1939
|
-
}
|
|
1940
|
-
export interface SearchContactsAdditionalTimeRangeCriteria {
|
|
1941
|
-
TimeRange?: SearchContactsTimeRange | undefined;
|
|
1942
|
-
TimestampCondition?: SearchContactsTimestampCondition | undefined;
|
|
1943
|
-
}
|
|
1944
|
-
export interface SearchContactsAdditionalTimeRange {
|
|
1945
|
-
Criteria: SearchContactsAdditionalTimeRangeCriteria[] | undefined;
|
|
1946
|
-
MatchType: SearchContactsMatchType | undefined;
|
|
1947
|
-
}
|
|
1948
|
-
export interface TranscriptCriteria {
|
|
1949
|
-
ParticipantRole: ParticipantRole | undefined;
|
|
1950
|
-
SearchText: string[] | undefined;
|
|
1951
|
-
MatchType: SearchContactsMatchType | undefined;
|
|
1952
|
-
}
|
|
1953
|
-
export interface Transcript {
|
|
1954
|
-
Criteria: TranscriptCriteria[] | undefined;
|
|
1955
|
-
MatchType?: SearchContactsMatchType | undefined;
|
|
1956
|
-
}
|
|
1957
|
-
export interface ContactAnalysis {
|
|
1958
|
-
Transcript?: Transcript | undefined;
|
|
1959
|
-
}
|
|
1960
|
-
export interface NameCriteria {
|
|
1961
|
-
SearchText: string[] | undefined;
|
|
1962
|
-
MatchType: SearchContactsMatchType | undefined;
|
|
1963
|
-
}
|
|
1964
|
-
export interface SearchableAgentCriteriaStep {
|
|
1965
|
-
AgentIds?: string[] | undefined;
|
|
1966
|
-
MatchType?: SearchContactsMatchType | undefined;
|
|
1967
|
-
}
|
|
1968
|
-
export interface SearchableRoutingCriteriaStep {
|
|
1969
|
-
AgentCriteria?: SearchableAgentCriteriaStep | undefined;
|
|
1970
|
-
}
|
|
1971
|
-
export interface SearchableRoutingCriteria {
|
|
1972
|
-
Steps?: SearchableRoutingCriteriaStep[] | undefined;
|
|
1973
|
-
}
|
|
1974
|
-
export interface SearchableContactAttributesCriteria {
|
|
1975
|
-
Key: string | undefined;
|
|
1976
|
-
Values: string[] | undefined;
|
|
1977
|
-
}
|
|
1978
|
-
export interface SearchableContactAttributes {
|
|
1979
|
-
Criteria: SearchableContactAttributesCriteria[] | undefined;
|
|
1980
|
-
MatchType?: SearchContactsMatchType | undefined;
|
|
1981
|
-
}
|
|
1982
|
-
export interface SearchableSegmentAttributesCriteria {
|
|
1983
|
-
Key: string | undefined;
|
|
1984
|
-
Values: string[] | undefined;
|
|
1985
|
-
}
|
|
1986
|
-
export interface SearchableSegmentAttributes {
|
|
1987
|
-
Criteria: SearchableSegmentAttributesCriteria[] | undefined;
|
|
1988
|
-
MatchType?: SearchContactsMatchType | undefined;
|
|
1989
|
-
}
|
|
1990
|
-
export interface SearchCriteria {
|
|
1991
|
-
Name?: NameCriteria | undefined;
|
|
1992
|
-
AgentIds?: string[] | undefined;
|
|
1993
|
-
AgentHierarchyGroups?: AgentHierarchyGroups | undefined;
|
|
1994
|
-
Channels?: Channel[] | undefined;
|
|
1995
|
-
ContactAnalysis?: ContactAnalysis | undefined;
|
|
1996
|
-
InitiationMethods?: ContactInitiationMethod[] | undefined;
|
|
1997
|
-
QueueIds?: string[] | undefined;
|
|
1998
|
-
RoutingCriteria?: SearchableRoutingCriteria | undefined;
|
|
1999
|
-
AdditionalTimeRange?: SearchContactsAdditionalTimeRange | undefined;
|
|
2000
|
-
SearchableContactAttributes?: SearchableContactAttributes | undefined;
|
|
2001
|
-
SearchableSegmentAttributes?: SearchableSegmentAttributes | undefined;
|
|
2002
|
-
ActiveRegions?: string[] | undefined;
|
|
2003
|
-
ContactTags?: ControlPlaneTagFilter | undefined;
|
|
2004
|
-
AiAgents?: AiAgentsCriteria | undefined;
|
|
2005
|
-
}
|
|
2006
|
-
export interface Sort {
|
|
2007
|
-
FieldName: SortableFieldName | undefined;
|
|
2008
|
-
Order: SortOrder | undefined;
|
|
2009
|
-
}
|