@aws-sdk/client-connect 3.1107.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.
Files changed (76) hide show
  1. package/README.md +49 -0
  2. package/dist-cjs/index.js +390 -46
  3. package/dist-es/Connect.js +18 -0
  4. package/dist-es/commands/CreateMetricCommand.js +4 -0
  5. package/dist-es/commands/DeleteMetricCommand.js +4 -0
  6. package/dist-es/commands/DescribeMetricCommand.js +4 -0
  7. package/dist-es/commands/ListMetricsCommand.js +4 -0
  8. package/dist-es/commands/SearchMetricsCommand.js +4 -0
  9. package/dist-es/commands/UpdateMetricContentCommand.js +4 -0
  10. package/dist-es/commands/UpdateMetricMetadataCommand.js +4 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/enums.js +41 -0
  13. package/dist-es/pagination/ListMetricsPaginator.js +4 -0
  14. package/dist-es/pagination/SearchMetricsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +268 -45
  17. package/dist-types/Connect.d.ts +63 -0
  18. package/dist-types/ConnectClient.d.ts +9 -2
  19. package/dist-types/commands/CreateMetricCommand.d.ts +137 -0
  20. package/dist-types/commands/CreateUserCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +1 -2
  22. package/dist-types/commands/DeleteMetricCommand.d.ts +93 -0
  23. package/dist-types/commands/DescribeMetricCommand.d.ts +165 -0
  24. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +2 -1
  25. package/dist-types/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
  26. package/dist-types/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
  27. package/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
  28. package/dist-types/commands/ListMetricsCommand.d.ts +103 -0
  29. package/dist-types/commands/SearchAgentStatusesCommand.d.ts +1 -1
  30. package/dist-types/commands/SearchContactEvaluationsCommand.d.ts +1 -1
  31. package/dist-types/commands/SearchContactFlowModulesCommand.d.ts +1 -1
  32. package/dist-types/commands/SearchMetricsCommand.d.ts +223 -0
  33. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateMetricContentCommand.d.ts +121 -0
  35. package/dist-types/commands/UpdateMetricMetadataCommand.d.ts +93 -0
  36. package/dist-types/commands/index.d.ts +7 -0
  37. package/dist-types/models/enums.d.ts +113 -0
  38. package/dist-types/models/models_0.d.ts +185 -285
  39. package/dist-types/models/models_1.d.ts +526 -349
  40. package/dist-types/models/models_2.d.ts +394 -355
  41. package/dist-types/models/models_3.d.ts +469 -663
  42. package/dist-types/models/models_4.d.ts +715 -5
  43. package/dist-types/pagination/ListMetricsPaginator.d.ts +7 -0
  44. package/dist-types/pagination/SearchMetricsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +2 -0
  46. package/dist-types/schemas/schemas_0.d.ts +32 -0
  47. package/dist-types/ts3.4/Connect.d.ts +130 -0
  48. package/dist-types/ts3.4/ConnectClient.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/CreateMetricCommand.d.ts +38 -0
  50. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/DeleteMetricCommand.d.ts +38 -0
  53. package/dist-types/ts3.4/commands/DescribeMetricCommand.d.ts +38 -0
  54. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +2 -1
  55. package/dist-types/ts3.4/commands/GetEffectiveHoursOfOperationsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/GetEvaluationFormValidationCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/ListMetricsCommand.d.ts +38 -0
  59. package/dist-types/ts3.4/commands/SearchAgentStatusesCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/SearchContactEvaluationsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/SearchContactFlowModulesCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/SearchMetricsCommand.d.ts +39 -0
  63. package/dist-types/ts3.4/commands/UpdateMetricContentCommand.d.ts +39 -0
  64. package/dist-types/ts3.4/commands/UpdateMetricMetadataCommand.d.ts +39 -0
  65. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  66. package/dist-types/ts3.4/models/enums.d.ts +53 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +49 -55
  68. package/dist-types/ts3.4/models/models_1.d.ts +108 -82
  69. package/dist-types/ts3.4/models/models_2.d.ts +99 -86
  70. package/dist-types/ts3.4/models/models_3.d.ts +121 -153
  71. package/dist-types/ts3.4/models/models_4.d.ts +174 -21
  72. package/dist-types/ts3.4/pagination/ListMetricsPaginator.d.ts +8 -0
  73. package/dist-types/ts3.4/pagination/SearchMetricsPaginator.d.ts +11 -0
  74. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  75. package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
  76. package/package.json +6 -6
@@ -5,12 +5,14 @@ import {
5
5
  AnalyticsMode,
6
6
  AttachmentScope,
7
7
  Behavior,
8
+ Channel,
8
9
  ChatEventType,
9
10
  ContactFlowModuleState,
10
11
  ContactFlowModuleStatus,
11
12
  ContactFlowState,
12
13
  ContactFlowStatus,
13
14
  ContactFlowType,
15
+ ContactInitiationMethod,
14
16
  ContactInteractionType,
15
17
  ContactMediaProcessingFailureMode,
16
18
  ContactRecordingType,
@@ -21,7 +23,6 @@ import {
21
23
  EvaluationFormItemEnablementAction,
22
24
  EvaluationFormItemEnablementOperator,
23
25
  EvaluationFormLanguageCode,
24
- EvaluationFormQuestionType,
25
26
  EvaluationFormVersionStatus,
26
27
  FileStatusType,
27
28
  FileUseCaseType,
@@ -33,11 +34,13 @@ import {
33
34
  LocaleCode,
34
35
  MaskMode,
35
36
  MeetingFeatureStatus,
37
+ MetricUnit,
36
38
  NotificationPriority,
37
39
  NotificationStatus,
38
40
  NotificationType,
39
41
  OutboundMessageSourceType,
40
42
  OverrideType,
43
+ ParticipantRole,
41
44
  ParticipantTimerAction,
42
45
  ParticipantTimerType,
43
46
  Policy,
@@ -46,7 +49,11 @@ import {
46
49
  ResponseMode,
47
50
  RuleCapabilityTier,
48
51
  RulePublishStatus,
49
- SearchableQueueType,
52
+ SearchContactsMatchType,
53
+ SearchContactsTimeRangeConditionType,
54
+ SearchContactsTimeRangeType,
55
+ SortableFieldName,
56
+ SortOrder,
50
57
  StringComparisonType,
51
58
  SummaryMode,
52
59
  TargetListType,
@@ -55,8 +62,8 @@ import {
55
62
  TestCaseStatus,
56
63
  TimerEligibleParticipantRoles,
57
64
  TrafficType,
65
+ TrendIndicator,
58
66
  ViewStatus,
59
- ViewType,
60
67
  Visibility,
61
68
  VocabularyLanguageCode,
62
69
  VocabularyState,
@@ -66,7 +73,8 @@ import {
66
73
  ActionSummary,
67
74
  AfterContactWorkConfigPerChannel,
68
75
  AgentConfig,
69
- AgentStatusSearchFilter,
76
+ AgentHierarchyGroups,
77
+ AiAgentsCriteria,
70
78
  AliasConfiguration,
71
79
  AllowedCapabilities,
72
80
  Application,
@@ -75,8 +83,6 @@ import {
75
83
  CreatedByInfo,
76
84
  DataTableLockVersion,
77
85
  EvaluationFormItemEnablementExpression,
78
- EvaluationFormQuestionScoringConfiguration,
79
- EvaluationFormQuestionTypeProperties,
80
86
  FlowModule,
81
87
  GranularAccessControlConfiguration,
82
88
  HoursOfOperationConfig,
@@ -84,11 +90,10 @@ import {
84
90
  InputPredefinedAttributeConfiguration,
85
91
  InstanceStorageConfig,
86
92
  MediaConcurrency,
93
+ MetricCalculation,
87
94
  OutboundCallerConfig,
88
95
  OutboundEmailConfig,
89
96
  OutboundStrategy,
90
- PersistentConnectionConfig,
91
- PhoneNumberConfig,
92
97
  PredefinedAttributeValues,
93
98
  PrimaryValue,
94
99
  QuickConnectConfig,
@@ -103,14 +108,10 @@ import {
103
108
  TaskTemplateDefaults,
104
109
  TaskTemplateField,
105
110
  TestCaseEntryPoint,
106
- UserIdentityInfo,
107
- UserPhoneConfig,
108
111
  UserProficiency,
109
112
  Validation,
110
- VoiceEnhancementConfig,
111
113
  } from "./models_0";
112
114
  import {
113
- AttributeCondition,
114
115
  DataTable,
115
116
  EvaluationAnswerData,
116
117
  EvaluationNote,
@@ -118,30 +119,110 @@ import {
118
119
  HierarchyGroup,
119
120
  HoursOfOperation,
120
121
  HoursOfOperationOverride,
122
+ MetricDefinition,
123
+ PersistentConnectionConfig,
124
+ PhoneNumberConfig,
121
125
  PredefinedAttribute,
122
126
  Prompt,
123
127
  Queue,
124
128
  QuickConnect,
125
129
  RoutingProfile,
126
130
  TestCase,
131
+ UserIdentityInfo,
132
+ UserPhoneConfig,
127
133
  View,
128
134
  ViewInputContent,
135
+ VoiceEnhancementConfig,
129
136
  WorkspaceTheme,
130
137
  } from "./models_1";
131
138
  import {
132
139
  BooleanCondition,
133
- ContactFlowModuleSearchFilter,
134
140
  ControlPlaneTagFilter,
135
141
  DateTimeCondition,
136
142
  DecimalCondition,
137
- EvaluationSearchFilter,
138
143
  NumberCondition,
139
- SearchContactsTimeRange,
140
- SearchCriteria,
141
144
  SignInConfig,
142
- Sort,
143
145
  TelephonyConfig,
144
146
  } from "./models_2";
147
+ export interface SearchContactsTimeRange {
148
+ Type: SearchContactsTimeRangeType | undefined;
149
+ StartTime: Date | undefined;
150
+ EndTime: Date | undefined;
151
+ }
152
+ export interface SearchContactsTimestampCondition {
153
+ Type: SearchContactsTimeRangeType | undefined;
154
+ ConditionType: SearchContactsTimeRangeConditionType | undefined;
155
+ }
156
+ export interface SearchContactsAdditionalTimeRangeCriteria {
157
+ TimeRange?: SearchContactsTimeRange | undefined;
158
+ TimestampCondition?: SearchContactsTimestampCondition | undefined;
159
+ }
160
+ export interface SearchContactsAdditionalTimeRange {
161
+ Criteria: SearchContactsAdditionalTimeRangeCriteria[] | undefined;
162
+ MatchType: SearchContactsMatchType | undefined;
163
+ }
164
+ export interface TranscriptCriteria {
165
+ ParticipantRole: ParticipantRole | undefined;
166
+ SearchText: string[] | undefined;
167
+ MatchType: SearchContactsMatchType | undefined;
168
+ }
169
+ export interface Transcript {
170
+ Criteria: TranscriptCriteria[] | undefined;
171
+ MatchType?: SearchContactsMatchType | undefined;
172
+ }
173
+ export interface ContactAnalysis {
174
+ Transcript?: Transcript | undefined;
175
+ }
176
+ export interface NameCriteria {
177
+ SearchText: string[] | undefined;
178
+ MatchType: SearchContactsMatchType | undefined;
179
+ }
180
+ export interface SearchableAgentCriteriaStep {
181
+ AgentIds?: string[] | undefined;
182
+ MatchType?: SearchContactsMatchType | undefined;
183
+ }
184
+ export interface SearchableRoutingCriteriaStep {
185
+ AgentCriteria?: SearchableAgentCriteriaStep | undefined;
186
+ }
187
+ export interface SearchableRoutingCriteria {
188
+ Steps?: SearchableRoutingCriteriaStep[] | undefined;
189
+ }
190
+ export interface SearchableContactAttributesCriteria {
191
+ Key: string | undefined;
192
+ Values: string[] | undefined;
193
+ }
194
+ export interface SearchableContactAttributes {
195
+ Criteria: SearchableContactAttributesCriteria[] | undefined;
196
+ MatchType?: SearchContactsMatchType | undefined;
197
+ }
198
+ export interface SearchableSegmentAttributesCriteria {
199
+ Key: string | undefined;
200
+ Values: string[] | undefined;
201
+ }
202
+ export interface SearchableSegmentAttributes {
203
+ Criteria: SearchableSegmentAttributesCriteria[] | undefined;
204
+ MatchType?: SearchContactsMatchType | undefined;
205
+ }
206
+ export interface SearchCriteria {
207
+ Name?: NameCriteria | undefined;
208
+ AgentIds?: string[] | undefined;
209
+ AgentHierarchyGroups?: AgentHierarchyGroups | undefined;
210
+ Channels?: Channel[] | undefined;
211
+ ContactAnalysis?: ContactAnalysis | undefined;
212
+ InitiationMethods?: ContactInitiationMethod[] | undefined;
213
+ QueueIds?: string[] | undefined;
214
+ RoutingCriteria?: SearchableRoutingCriteria | undefined;
215
+ AdditionalTimeRange?: SearchContactsAdditionalTimeRange | undefined;
216
+ SearchableContactAttributes?: SearchableContactAttributes | undefined;
217
+ SearchableSegmentAttributes?: SearchableSegmentAttributes | undefined;
218
+ ActiveRegions?: string[] | undefined;
219
+ ContactTags?: ControlPlaneTagFilter | undefined;
220
+ AiAgents?: AiAgentsCriteria | undefined;
221
+ }
222
+ export interface Sort {
223
+ FieldName: SortableFieldName | undefined;
224
+ Order: SortOrder | undefined;
225
+ }
145
226
  export interface SearchContactsRequest {
146
227
  InstanceId: string | undefined;
147
228
  TimeRange: SearchContactsTimeRange | undefined;
@@ -232,6 +313,14 @@ export interface SearchHoursOfOperationsResponse {
232
313
  NextToken?: string | undefined;
233
314
  ApproximateTotalCount?: number | undefined;
234
315
  }
316
+ export interface MetricSearchFilter {
317
+ TagFilter?: ControlPlaneTagFilter | undefined;
318
+ }
319
+ export interface SearchMetricsResponse {
320
+ Metrics?: MetricDefinition[] | undefined;
321
+ NextToken?: string | undefined;
322
+ ApproximateTotalCount?: number | undefined;
323
+ }
235
324
  export interface NotificationSearchFilter {
236
325
  AttributeFilter?: ControlPlaneAttributeFilter | undefined;
237
326
  }
@@ -1150,6 +1239,21 @@ export interface UpdateInstanceStorageConfigRequest {
1150
1239
  StorageConfig: InstanceStorageConfig | undefined;
1151
1240
  ClientToken?: string | undefined;
1152
1241
  }
1242
+ export interface UpdateMetricContentRequest {
1243
+ InstanceId: string | undefined;
1244
+ MetricId: string | undefined;
1245
+ MetricCalculation?: MetricCalculation | undefined;
1246
+ Unit?: MetricUnit | undefined;
1247
+ PositiveTrendIndicator?: TrendIndicator | undefined;
1248
+ }
1249
+ export interface UpdateMetricContentResponse {}
1250
+ export interface UpdateMetricMetadataRequest {
1251
+ InstanceId: string | undefined;
1252
+ MetricId: string | undefined;
1253
+ Name?: string | undefined;
1254
+ Description?: string | undefined;
1255
+ }
1256
+ export interface UpdateMetricMetadataResponse {}
1153
1257
  export interface UpdateNotificationContentRequest {
1154
1258
  InstanceId: string | undefined;
1155
1259
  NotificationId: string | undefined;
@@ -1585,139 +1689,3 @@ export interface EvaluationSearchCriteria {
1585
1689
  DateTimeCondition?: DateTimeCondition | undefined;
1586
1690
  DecimalCondition?: DecimalCondition | undefined;
1587
1691
  }
1588
- export interface Expression {
1589
- AttributeCondition?: AttributeCondition | undefined;
1590
- AndExpression?: Expression[] | undefined;
1591
- OrExpression?: Expression[] | undefined;
1592
- NotAttributeCondition?: AttributeCondition | undefined;
1593
- }
1594
- export interface HoursOfOperationOverrideSearchCriteria {
1595
- OrConditions?: HoursOfOperationOverrideSearchCriteria[] | undefined;
1596
- AndConditions?: HoursOfOperationOverrideSearchCriteria[] | undefined;
1597
- StringCondition?: StringCondition | undefined;
1598
- DateCondition?: DateCondition | undefined;
1599
- }
1600
- export interface HoursOfOperationSearchCriteria {
1601
- OrConditions?: HoursOfOperationSearchCriteria[] | undefined;
1602
- AndConditions?: HoursOfOperationSearchCriteria[] | undefined;
1603
- StringCondition?: StringCondition | undefined;
1604
- }
1605
- export interface NotificationSearchCriteria {
1606
- OrConditions?: NotificationSearchCriteria[] | undefined;
1607
- AndConditions?: NotificationSearchCriteria[] | undefined;
1608
- StringCondition?: StringCondition | undefined;
1609
- }
1610
- export interface PredefinedAttributeSearchCriteria {
1611
- OrConditions?: PredefinedAttributeSearchCriteria[] | undefined;
1612
- AndConditions?: PredefinedAttributeSearchCriteria[] | undefined;
1613
- StringCondition?: StringCondition | undefined;
1614
- }
1615
- export interface PromptSearchCriteria {
1616
- OrConditions?: PromptSearchCriteria[] | undefined;
1617
- AndConditions?: PromptSearchCriteria[] | undefined;
1618
- StringCondition?: StringCondition | undefined;
1619
- }
1620
- export interface QueueSearchCriteria {
1621
- OrConditions?: QueueSearchCriteria[] | undefined;
1622
- AndConditions?: QueueSearchCriteria[] | undefined;
1623
- StringCondition?: StringCondition | undefined;
1624
- QueueTypeCondition?: SearchableQueueType | undefined;
1625
- }
1626
- export interface QuickConnectSearchCriteria {
1627
- OrConditions?: QuickConnectSearchCriteria[] | undefined;
1628
- AndConditions?: QuickConnectSearchCriteria[] | undefined;
1629
- StringCondition?: StringCondition | undefined;
1630
- }
1631
- export interface RoutingProfileSearchCriteria {
1632
- OrConditions?: RoutingProfileSearchCriteria[] | undefined;
1633
- AndConditions?: RoutingProfileSearchCriteria[] | undefined;
1634
- StringCondition?: StringCondition | undefined;
1635
- }
1636
- export interface RulesSearchCriteria {
1637
- OrConditions?: RulesSearchCriteria[] | undefined;
1638
- AndConditions?: RulesSearchCriteria[] | undefined;
1639
- StringCondition?: StringCondition | undefined;
1640
- }
1641
- export interface SecurityProfileSearchCriteria {
1642
- OrConditions?: SecurityProfileSearchCriteria[] | undefined;
1643
- AndConditions?: SecurityProfileSearchCriteria[] | undefined;
1644
- StringCondition?: StringCondition | undefined;
1645
- }
1646
- export interface SegmentAttributeValue {
1647
- ValueString?: string | undefined;
1648
- ValueMap?: Record<string, SegmentAttributeValue> | undefined;
1649
- ValueInteger?: number | undefined;
1650
- ValueList?: SegmentAttributeValue[] | undefined;
1651
- ValueArn?: string | undefined;
1652
- }
1653
- export interface TestCaseSearchCriteria {
1654
- OrConditions?: TestCaseSearchCriteria[] | undefined;
1655
- AndConditions?: TestCaseSearchCriteria[] | undefined;
1656
- StringCondition?: StringCondition | undefined;
1657
- StatusCondition?: TestCaseStatus | undefined;
1658
- }
1659
- export interface UserHierarchyGroupSearchCriteria {
1660
- OrConditions?: UserHierarchyGroupSearchCriteria[] | undefined;
1661
- AndConditions?: UserHierarchyGroupSearchCriteria[] | undefined;
1662
- StringCondition?: StringCondition | undefined;
1663
- }
1664
- export interface UserSearchCriteria {
1665
- OrConditions?: UserSearchCriteria[] | undefined;
1666
- AndConditions?: UserSearchCriteria[] | undefined;
1667
- StringCondition?: StringCondition | undefined;
1668
- ListCondition?: ListCondition | undefined;
1669
- HierarchyGroupCondition?: HierarchyGroupCondition | undefined;
1670
- }
1671
- export interface ViewSearchCriteria {
1672
- OrConditions?: ViewSearchCriteria[] | undefined;
1673
- AndConditions?: ViewSearchCriteria[] | undefined;
1674
- StringCondition?: StringCondition | undefined;
1675
- ViewTypeCondition?: ViewType | undefined;
1676
- ViewStatusCondition?: ViewStatus | undefined;
1677
- }
1678
- export interface WorkspaceAssociationSearchCriteria {
1679
- OrConditions?: WorkspaceAssociationSearchCriteria[] | undefined;
1680
- AndConditions?: WorkspaceAssociationSearchCriteria[] | undefined;
1681
- StringCondition?: StringCondition | undefined;
1682
- }
1683
- export interface WorkspaceSearchCriteria {
1684
- OrConditions?: WorkspaceSearchCriteria[] | undefined;
1685
- AndConditions?: WorkspaceSearchCriteria[] | undefined;
1686
- StringCondition?: StringCondition | undefined;
1687
- }
1688
- export interface EvaluationFormQuestion {
1689
- Title: string | undefined;
1690
- Instructions?: string | undefined;
1691
- RefId: string | undefined;
1692
- NotApplicableEnabled?: boolean | undefined;
1693
- QuestionType: EvaluationFormQuestionType | undefined;
1694
- QuestionTypeProperties?: EvaluationFormQuestionTypeProperties | undefined;
1695
- Enablement?: EvaluationFormItemEnablementConfiguration | undefined;
1696
- Weight?: number | undefined;
1697
- ScoringConfiguration?: EvaluationFormQuestionScoringConfiguration | undefined;
1698
- }
1699
- export interface RoutingCriteriaInputStep {
1700
- Expiry?: RoutingCriteriaInputStepExpiry | undefined;
1701
- Expression?: Expression | undefined;
1702
- }
1703
- export interface SearchAgentStatusesRequest {
1704
- InstanceId: string | undefined;
1705
- NextToken?: string | undefined;
1706
- MaxResults?: number | undefined;
1707
- SearchFilter?: AgentStatusSearchFilter | undefined;
1708
- SearchCriteria?: AgentStatusSearchCriteria | undefined;
1709
- }
1710
- export interface SearchContactEvaluationsRequest {
1711
- InstanceId: string | undefined;
1712
- NextToken?: string | undefined;
1713
- MaxResults?: number | undefined;
1714
- SearchCriteria?: EvaluationSearchCriteria | undefined;
1715
- SearchFilter?: EvaluationSearchFilter | undefined;
1716
- }
1717
- export interface SearchContactFlowModulesRequest {
1718
- InstanceId: string | undefined;
1719
- NextToken?: string | undefined;
1720
- MaxResults?: number | undefined;
1721
- SearchFilter?: ContactFlowModuleSearchFilter | undefined;
1722
- SearchCriteria?: ContactFlowModuleSearchCriteria | undefined;
1723
- }
@@ -3,27 +3,37 @@ import {
3
3
  Channel,
4
4
  ContactInitiationMethod,
5
5
  DisconnectOnCustomerExitParticipantType,
6
+ EvaluationFormQuestionType,
6
7
  EvaluationFormValidationStatus,
7
8
  EvaluationFormVersionStatus,
8
9
  InitiateAs,
9
10
  RoutingCriteriaStepStatus,
11
+ SearchableQueueType,
12
+ TestCaseStatus,
13
+ ViewStatus,
14
+ ViewType,
10
15
  } from "./enums";
11
16
  import {
12
17
  AdditionalEmailRecipients,
13
18
  AgentInfo,
19
+ AgentStatusSearchFilter,
14
20
  Campaign,
15
21
  Endpoint,
16
22
  EvaluationFormAutoEvaluationConfiguration,
17
23
  EvaluationFormLanguageConfiguration,
24
+ EvaluationFormQuestionScoringConfiguration,
25
+ EvaluationFormQuestionTypeProperties,
18
26
  EvaluationFormScoreThreshold,
19
27
  EvaluationFormScoringStrategy,
20
28
  EvaluationFormTargetConfiguration,
21
29
  EvaluationReviewConfiguration,
22
30
  OutboundStrategy,
23
31
  Reference,
32
+ StringCondition,
24
33
  UserInfo,
25
34
  } from "./models_0";
26
35
  import {
36
+ AttributeCondition,
27
37
  ChatMetrics,
28
38
  ContactDetails,
29
39
  ContactEvaluation,
@@ -41,64 +51,200 @@ import {
41
51
  TaskTemplateInfoV2,
42
52
  WisdomInfo,
43
53
  } from "./models_1";
44
- import { ContactFlowSearchFilter } from "./models_2";
45
54
  import {
55
+ BooleanCondition,
56
+ ContactFlowModuleSearchFilter,
57
+ ContactFlowSearchFilter,
58
+ EvaluationSearchFilter,
59
+ } from "./models_2";
60
+ import {
61
+ AgentStatusSearchCriteria,
46
62
  ChatMessage,
63
+ ContactFlowModuleSearchCriteria,
47
64
  ContactFlowSearchCriteria,
48
65
  ContactSearchSummaryAgentInfo,
49
66
  ContactSearchSummaryAiAgentInfo,
50
67
  ContactSearchSummaryQueueInfo,
51
68
  DataTableSearchCriteria,
52
69
  DataTableSearchFilter,
70
+ DateCondition,
53
71
  EmailAddressInfo,
54
72
  EmailAddressSearchCriteria,
55
73
  EmailAddressSearchFilter,
56
74
  EmailAttachment,
57
- EvaluationFormQuestion,
75
+ EvaluationFormItemEnablementConfiguration,
58
76
  EvaluationFormSearchCriteria,
59
77
  EvaluationFormSearchFilter,
60
- Expression,
61
- HoursOfOperationOverrideSearchCriteria,
62
- HoursOfOperationSearchCriteria,
78
+ EvaluationSearchCriteria,
79
+ HierarchyGroupCondition,
63
80
  HoursOfOperationSearchFilter,
64
81
  InboundAdditionalRecipients,
65
82
  InboundEmailContent,
66
- NotificationSearchCriteria,
83
+ ListCondition,
84
+ MetricSearchFilter,
67
85
  NotificationSearchFilter,
68
86
  ParticipantConfiguration,
69
87
  ParticipantDetails,
70
88
  PersistentChat,
71
- PredefinedAttributeSearchCriteria,
72
- PromptSearchCriteria,
73
89
  PromptSearchFilter,
74
90
  QueueInfoInput,
75
- QueueSearchCriteria,
76
91
  QueueSearchFilter,
77
- QuickConnectSearchCriteria,
78
92
  QuickConnectSearchFilter,
79
- RoutingCriteriaInputStep,
80
- RoutingProfileSearchCriteria,
93
+ RoutingCriteriaInputStepExpiry,
81
94
  RoutingProfileSearchFilter,
82
- RulesSearchCriteria,
83
95
  RulesSearchFilter,
84
- SecurityProfileSearchCriteria,
85
96
  SecurityProfilesSearchFilter,
86
- SegmentAttributeValue,
87
97
  TaskAttachment,
88
98
  TemplatedMessageConfig,
89
- TestCaseSearchCriteria,
90
99
  TestCaseSearchFilter,
91
- UserHierarchyGroupSearchCriteria,
92
100
  UserHierarchyGroupSearchFilter,
93
- UserSearchCriteria,
94
101
  UserSearchFilter,
95
- ViewSearchCriteria,
96
102
  ViewSearchFilter,
97
- WorkspaceAssociationSearchCriteria,
98
103
  WorkspaceAssociationSearchFilter,
99
- WorkspaceSearchCriteria,
100
104
  WorkspaceSearchFilter,
101
105
  } from "./models_3";
106
+ export interface Expression {
107
+ AttributeCondition?: AttributeCondition | undefined;
108
+ AndExpression?: Expression[] | undefined;
109
+ OrExpression?: Expression[] | undefined;
110
+ NotAttributeCondition?: AttributeCondition | undefined;
111
+ }
112
+ export interface HoursOfOperationOverrideSearchCriteria {
113
+ OrConditions?: HoursOfOperationOverrideSearchCriteria[] | undefined;
114
+ AndConditions?: HoursOfOperationOverrideSearchCriteria[] | undefined;
115
+ StringCondition?: StringCondition | undefined;
116
+ DateCondition?: DateCondition | undefined;
117
+ }
118
+ export interface HoursOfOperationSearchCriteria {
119
+ OrConditions?: HoursOfOperationSearchCriteria[] | undefined;
120
+ AndConditions?: HoursOfOperationSearchCriteria[] | undefined;
121
+ StringCondition?: StringCondition | undefined;
122
+ }
123
+ export interface MetricSearchCriteria {
124
+ OrConditions?: MetricSearchCriteria[] | undefined;
125
+ AndConditions?: MetricSearchCriteria[] | undefined;
126
+ StringCondition?: StringCondition | undefined;
127
+ BooleanCondition?: BooleanCondition | undefined;
128
+ }
129
+ export interface NotificationSearchCriteria {
130
+ OrConditions?: NotificationSearchCriteria[] | undefined;
131
+ AndConditions?: NotificationSearchCriteria[] | undefined;
132
+ StringCondition?: StringCondition | undefined;
133
+ }
134
+ export interface PredefinedAttributeSearchCriteria {
135
+ OrConditions?: PredefinedAttributeSearchCriteria[] | undefined;
136
+ AndConditions?: PredefinedAttributeSearchCriteria[] | undefined;
137
+ StringCondition?: StringCondition | undefined;
138
+ }
139
+ export interface PromptSearchCriteria {
140
+ OrConditions?: PromptSearchCriteria[] | undefined;
141
+ AndConditions?: PromptSearchCriteria[] | undefined;
142
+ StringCondition?: StringCondition | undefined;
143
+ }
144
+ export interface QueueSearchCriteria {
145
+ OrConditions?: QueueSearchCriteria[] | undefined;
146
+ AndConditions?: QueueSearchCriteria[] | undefined;
147
+ StringCondition?: StringCondition | undefined;
148
+ QueueTypeCondition?: SearchableQueueType | undefined;
149
+ }
150
+ export interface QuickConnectSearchCriteria {
151
+ OrConditions?: QuickConnectSearchCriteria[] | undefined;
152
+ AndConditions?: QuickConnectSearchCriteria[] | undefined;
153
+ StringCondition?: StringCondition | undefined;
154
+ }
155
+ export interface RoutingProfileSearchCriteria {
156
+ OrConditions?: RoutingProfileSearchCriteria[] | undefined;
157
+ AndConditions?: RoutingProfileSearchCriteria[] | undefined;
158
+ StringCondition?: StringCondition | undefined;
159
+ }
160
+ export interface RulesSearchCriteria {
161
+ OrConditions?: RulesSearchCriteria[] | undefined;
162
+ AndConditions?: RulesSearchCriteria[] | undefined;
163
+ StringCondition?: StringCondition | undefined;
164
+ }
165
+ export interface SecurityProfileSearchCriteria {
166
+ OrConditions?: SecurityProfileSearchCriteria[] | undefined;
167
+ AndConditions?: SecurityProfileSearchCriteria[] | undefined;
168
+ StringCondition?: StringCondition | undefined;
169
+ }
170
+ export interface SegmentAttributeValue {
171
+ ValueString?: string | undefined;
172
+ ValueMap?: Record<string, SegmentAttributeValue> | undefined;
173
+ ValueInteger?: number | undefined;
174
+ ValueList?: SegmentAttributeValue[] | undefined;
175
+ ValueArn?: string | undefined;
176
+ }
177
+ export interface TestCaseSearchCriteria {
178
+ OrConditions?: TestCaseSearchCriteria[] | undefined;
179
+ AndConditions?: TestCaseSearchCriteria[] | undefined;
180
+ StringCondition?: StringCondition | undefined;
181
+ StatusCondition?: TestCaseStatus | undefined;
182
+ }
183
+ export interface UserHierarchyGroupSearchCriteria {
184
+ OrConditions?: UserHierarchyGroupSearchCriteria[] | undefined;
185
+ AndConditions?: UserHierarchyGroupSearchCriteria[] | undefined;
186
+ StringCondition?: StringCondition | undefined;
187
+ }
188
+ export interface UserSearchCriteria {
189
+ OrConditions?: UserSearchCriteria[] | undefined;
190
+ AndConditions?: UserSearchCriteria[] | undefined;
191
+ StringCondition?: StringCondition | undefined;
192
+ ListCondition?: ListCondition | undefined;
193
+ HierarchyGroupCondition?: HierarchyGroupCondition | undefined;
194
+ }
195
+ export interface ViewSearchCriteria {
196
+ OrConditions?: ViewSearchCriteria[] | undefined;
197
+ AndConditions?: ViewSearchCriteria[] | undefined;
198
+ StringCondition?: StringCondition | undefined;
199
+ ViewTypeCondition?: ViewType | undefined;
200
+ ViewStatusCondition?: ViewStatus | undefined;
201
+ }
202
+ export interface WorkspaceAssociationSearchCriteria {
203
+ OrConditions?: WorkspaceAssociationSearchCriteria[] | undefined;
204
+ AndConditions?: WorkspaceAssociationSearchCriteria[] | undefined;
205
+ StringCondition?: StringCondition | undefined;
206
+ }
207
+ export interface WorkspaceSearchCriteria {
208
+ OrConditions?: WorkspaceSearchCriteria[] | undefined;
209
+ AndConditions?: WorkspaceSearchCriteria[] | undefined;
210
+ StringCondition?: StringCondition | undefined;
211
+ }
212
+ export interface EvaluationFormQuestion {
213
+ Title: string | undefined;
214
+ Instructions?: string | undefined;
215
+ RefId: string | undefined;
216
+ NotApplicableEnabled?: boolean | undefined;
217
+ QuestionType: EvaluationFormQuestionType | undefined;
218
+ QuestionTypeProperties?: EvaluationFormQuestionTypeProperties | undefined;
219
+ Enablement?: EvaluationFormItemEnablementConfiguration | undefined;
220
+ Weight?: number | undefined;
221
+ ScoringConfiguration?: EvaluationFormQuestionScoringConfiguration | undefined;
222
+ }
223
+ export interface RoutingCriteriaInputStep {
224
+ Expiry?: RoutingCriteriaInputStepExpiry | undefined;
225
+ Expression?: Expression | undefined;
226
+ }
227
+ export interface SearchAgentStatusesRequest {
228
+ InstanceId: string | undefined;
229
+ NextToken?: string | undefined;
230
+ MaxResults?: number | undefined;
231
+ SearchFilter?: AgentStatusSearchFilter | undefined;
232
+ SearchCriteria?: AgentStatusSearchCriteria | undefined;
233
+ }
234
+ export interface SearchContactEvaluationsRequest {
235
+ InstanceId: string | undefined;
236
+ NextToken?: string | undefined;
237
+ MaxResults?: number | undefined;
238
+ SearchCriteria?: EvaluationSearchCriteria | undefined;
239
+ SearchFilter?: EvaluationSearchFilter | undefined;
240
+ }
241
+ export interface SearchContactFlowModulesRequest {
242
+ InstanceId: string | undefined;
243
+ NextToken?: string | undefined;
244
+ MaxResults?: number | undefined;
245
+ SearchFilter?: ContactFlowModuleSearchFilter | undefined;
246
+ SearchCriteria?: ContactFlowModuleSearchCriteria | undefined;
247
+ }
102
248
  export interface SearchContactFlowsRequest {
103
249
  InstanceId: string | undefined;
104
250
  NextToken?: string | undefined;
@@ -141,6 +287,13 @@ export interface SearchHoursOfOperationsRequest {
141
287
  SearchFilter?: HoursOfOperationSearchFilter | undefined;
142
288
  SearchCriteria?: HoursOfOperationSearchCriteria | undefined;
143
289
  }
290
+ export interface SearchMetricsRequest {
291
+ InstanceId: string | undefined;
292
+ NextToken?: string | undefined;
293
+ MaxResults?: number | undefined;
294
+ SearchFilter?: MetricSearchFilter | undefined;
295
+ SearchCriteria?: MetricSearchCriteria | undefined;
296
+ }
144
297
  export interface SearchNotificationsRequest {
145
298
  InstanceId: string | undefined;
146
299
  NextToken?: string | undefined;
@@ -0,0 +1,8 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListMetricsCommandInput, ListMetricsCommandOutput } from "../commands/ListMetricsCommand";
3
+ import { ConnectPaginationConfiguration } from "./Interfaces";
4
+ export declare const paginateListMetrics: (
5
+ config: ConnectPaginationConfiguration,
6
+ input: ListMetricsCommandInput,
7
+ ...rest: any[]
8
+ ) => Paginator<ListMetricsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ SearchMetricsCommandInput,
4
+ SearchMetricsCommandOutput,
5
+ } from "../commands/SearchMetricsCommand";
6
+ import { ConnectPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateSearchMetrics: (
8
+ config: ConnectPaginationConfiguration,
9
+ input: SearchMetricsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<SearchMetricsCommandOutput>;
@@ -34,6 +34,7 @@ export * from "./ListInstanceStorageConfigsPaginator";
34
34
  export * from "./ListIntegrationAssociationsPaginator";
35
35
  export * from "./ListLambdaFunctionsPaginator";
36
36
  export * from "./ListLexBotsPaginator";
37
+ export * from "./ListMetricsPaginator";
37
38
  export * from "./ListPhoneNumbersPaginator";
38
39
  export * from "./ListPhoneNumbersV2Paginator";
39
40
  export * from "./ListPredefinedAttributesPaginator";
@@ -71,6 +72,7 @@ export * from "./SearchContactsPaginator";
71
72
  export * from "./SearchDataTablesPaginator";
72
73
  export * from "./SearchHoursOfOperationOverridesPaginator";
73
74
  export * from "./SearchHoursOfOperationsPaginator";
75
+ export * from "./SearchMetricsPaginator";
74
76
  export * from "./SearchPredefinedAttributesPaginator";
75
77
  export * from "./SearchPromptsPaginator";
76
78
  export * from "./SearchQueuesPaginator";