@aws-sdk/client-connect 3.1121.0 → 3.1122.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 (39) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +59 -9
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/GetCrossRegionRoutingCommand.js +4 -0
  5. package/dist-es/commands/UpdateCrossRegionRoutingCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/schemas/schemas_0.js +43 -8
  8. package/dist-types/Connect.d.ts +14 -0
  9. package/dist-types/ConnectClient.d.ts +4 -2
  10. package/dist-types/commands/DescribeContactCommand.d.ts +1 -0
  11. package/dist-types/commands/GetCrossRegionRoutingCommand.d.ts +93 -0
  12. package/dist-types/commands/UpdateCrossRegionRoutingCommand.d.ts +95 -0
  13. package/dist-types/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  14. package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  15. package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  16. package/dist-types/commands/UpdateViewContentCommand.d.ts +1 -2
  17. package/dist-types/commands/index.d.ts +2 -0
  18. package/dist-types/models/models_0.d.ts +7 -0
  19. package/dist-types/models/models_1.d.ts +23 -64
  20. package/dist-types/models/models_2.d.ts +66 -45
  21. package/dist-types/models/models_3.d.ts +66 -94
  22. package/dist-types/models/models_4.d.ts +94 -4
  23. package/dist-types/schemas/schemas_0.d.ts +6 -0
  24. package/dist-types/ts3.4/Connect.d.ts +34 -0
  25. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  26. package/dist-types/ts3.4/commands/GetCrossRegionRoutingCommand.d.ts +39 -0
  27. package/dist-types/ts3.4/commands/UpdateCrossRegionRoutingCommand.d.ts +42 -0
  28. package/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +1 -2
  32. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  34. package/dist-types/ts3.4/models/models_1.d.ts +6 -14
  35. package/dist-types/ts3.4/models/models_2.d.ts +15 -14
  36. package/dist-types/ts3.4/models/models_3.d.ts +17 -24
  37. package/dist-types/ts3.4/models/models_4.d.ts +25 -1
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
  39. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { UpdateUserSecurityProfilesRequest } from "../models/models_3";
2
+ import { UpdateUserSecurityProfilesRequest } from "../models/models_4";
3
3
  export { __MetadataBearer };
4
4
  export interface UpdateUserSecurityProfilesCommandInput extends UpdateUserSecurityProfilesRequest {}
5
5
  export interface UpdateUserSecurityProfilesCommandOutput extends __MetadataBearer {}
@@ -1,6 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { UpdateViewContentRequest } from "../models/models_3";
3
- import { UpdateViewContentResponse } from "../models/models_4";
2
+ import { UpdateViewContentRequest, UpdateViewContentResponse } from "../models/models_4";
4
3
  export { __MetadataBearer };
5
4
  export interface UpdateViewContentCommandInput extends UpdateViewContentRequest {}
6
5
  export interface UpdateViewContentCommandOutput
@@ -171,6 +171,7 @@ export * from "./EvaluateDataTableValuesCommand";
171
171
  export * from "./GetAttachedFileCommand";
172
172
  export * from "./GetContactAttributesCommand";
173
173
  export * from "./GetContactMetricsCommand";
174
+ export * from "./GetCrossRegionRoutingCommand";
174
175
  export * from "./GetCurrentMetricDataCommand";
175
176
  export * from "./GetCurrentUserDataCommand";
176
177
  export * from "./GetEffectiveHoursOfOperationsCommand";
@@ -338,6 +339,7 @@ export * from "./UpdateContactFlowNameCommand";
338
339
  export * from "./UpdateContactRoutingDataCommand";
339
340
  export * from "./UpdateContactScheduleCommand";
340
341
  export * from "./UpdateContactTaskTemplateCommand";
342
+ export * from "./UpdateCrossRegionRoutingCommand";
341
343
  export * from "./UpdateDataTableAttributeCommand";
342
344
  export * from "./UpdateDataTableMetadataCommand";
343
345
  export * from "./UpdateDataTablePrimaryValuesCommand";
@@ -189,6 +189,7 @@ export interface AgentInfo {
189
189
  AgentInitiatedHoldDuration?: number | undefined;
190
190
  StateTransitions?: StateTransition[] | undefined;
191
191
  VoiceEnhancementMode?: VoiceEnhancementMode | undefined;
192
+ ActiveRegion?: string | undefined;
192
193
  }
193
194
  export interface AudioQualityMetricsInfo {
194
195
  QualityScore?: number | undefined;
@@ -53,7 +53,6 @@ import {
53
53
  RecordingStatus,
54
54
  RuleCapabilityTier,
55
55
  RulePublishStatus,
56
- SortOrder,
57
56
  Status,
58
57
  StorageType,
59
58
  TestCaseEntryPointType,
@@ -1770,21 +1769,14 @@ export interface GetContactMetricsResponse {
1770
1769
  Id?: string | undefined;
1771
1770
  Arn?: string | undefined;
1772
1771
  }
1772
+ export interface GetCrossRegionRoutingRequest {
1773
+ InstanceId: string | undefined;
1774
+ }
1775
+ export interface GetCrossRegionRoutingResponse {
1776
+ IsolatedRegions?: string[] | undefined;
1777
+ }
1773
1778
  export interface CurrentMetric {
1774
1779
  Name?: CurrentMetricName | undefined;
1775
1780
  MetricId?: string | undefined;
1776
1781
  Unit?: Unit | undefined;
1777
1782
  }
1778
- export interface Filters {
1779
- Queues?: string[] | undefined;
1780
- Channels?: Channel[] | undefined;
1781
- RoutingProfiles?: string[] | undefined;
1782
- RoutingStepExpressions?: string[] | undefined;
1783
- AgentStatuses?: string[] | undefined;
1784
- Subtypes?: string[] | undefined;
1785
- ValidationTestTypes?: string[] | undefined;
1786
- }
1787
- export interface CurrentMetricSortCriteria {
1788
- SortByMetric?: CurrentMetricName | undefined;
1789
- SortOrder?: SortOrder | undefined;
1790
- }
@@ -3,7 +3,6 @@ import {
3
3
  ArtifactStatus,
4
4
  AttachmentScope,
5
5
  AutoEvaluationStatus,
6
- BooleanComparisonType,
7
6
  Channel,
8
7
  Comparison,
9
8
  ContactFlowModuleState,
@@ -13,8 +12,8 @@ import {
13
12
  ContactInitiationMethod,
14
13
  ContactRecordingType,
15
14
  ContactState,
15
+ CurrentMetricName,
16
16
  DataTableAttributeValueType,
17
- DateTimeComparisonType,
18
17
  DirectoryType,
19
18
  EntityType,
20
19
  EvaluationFormValidationFindingSeverity,
@@ -60,6 +59,7 @@ import {
60
59
  ReferenceType,
61
60
  RuleCapabilityTier,
62
61
  RulePublishStatus,
62
+ SortOrder,
63
63
  SourceType,
64
64
  Statistic,
65
65
  TaskTemplateStatus,
@@ -101,17 +101,28 @@ import {
101
101
  import {
102
102
  Attribute,
103
103
  CurrentMetric,
104
- CurrentMetricSortCriteria,
105
104
  DataTableAttribute,
106
105
  EvaluationContactParticipant,
107
106
  EvaluationScore,
108
107
  ExtensionConfiguration,
109
- Filters,
110
108
  HierarchyGroupSummary,
111
109
  HoursOfOperationOverride,
112
110
  HoursOfOperationsIdentifier,
113
111
  Notification,
114
112
  } from "./models_1";
113
+ export interface Filters {
114
+ Queues?: string[] | undefined;
115
+ Channels?: Channel[] | undefined;
116
+ RoutingProfiles?: string[] | undefined;
117
+ RoutingStepExpressions?: string[] | undefined;
118
+ AgentStatuses?: string[] | undefined;
119
+ Subtypes?: string[] | undefined;
120
+ ValidationTestTypes?: string[] | undefined;
121
+ }
122
+ export interface CurrentMetricSortCriteria {
123
+ SortByMetric?: CurrentMetricName | undefined;
124
+ SortOrder?: SortOrder | undefined;
125
+ }
115
126
  export interface GetCurrentMetricDataRequest {
116
127
  InstanceId: string | undefined;
117
128
  Filters: Filters | undefined;
@@ -2023,13 +2034,3 @@ export interface SearchAvailablePhoneNumbersResponse {
2023
2034
  NextToken?: string | undefined;
2024
2035
  AvailableNumbersList?: AvailableNumberSummary[] | undefined;
2025
2036
  }
2026
- export interface BooleanCondition {
2027
- FieldName?: string | undefined;
2028
- ComparisonType?: BooleanComparisonType | undefined;
2029
- }
2030
- export interface DateTimeCondition {
2031
- FieldName?: string | undefined;
2032
- MinValue?: string | undefined;
2033
- MaxValue?: string | undefined;
2034
- ComparisonType?: DateTimeComparisonType | undefined;
2035
- }
@@ -6,6 +6,7 @@ import {
6
6
  AttachmentScope,
7
7
  AutoEvaluationStatus,
8
8
  Behavior,
9
+ BooleanComparisonType,
9
10
  Channel,
10
11
  ChatEventType,
11
12
  ContactEvaluationAttributeComparisonType,
@@ -21,6 +22,7 @@ import {
21
22
  DataTableAttributeValueType,
22
23
  DataTableLockLevel,
23
24
  DateComparisonType,
25
+ DateTimeComparisonType,
24
26
  DecimalComparisonType,
25
27
  EmailHeaderType,
26
28
  EvaluationFormLanguageCode,
@@ -68,7 +70,6 @@ import {
68
70
  TimerEligibleParticipantRoles,
69
71
  TrafficType,
70
72
  TrendIndicator,
71
- ViewStatus,
72
73
  Visibility,
73
74
  VocabularyLanguageCode,
74
75
  VocabularyState,
@@ -112,7 +113,6 @@ import {
112
113
  TaskTemplateConstraints,
113
114
  TaskTemplateDefaults,
114
115
  TaskTemplateField,
115
- UserProficiency,
116
116
  Validation,
117
117
  } from "./models_0";
118
118
  import {
@@ -139,10 +139,19 @@ import {
139
139
  UserIdentityInfo,
140
140
  UserPhoneConfig,
141
141
  View,
142
- ViewInputContent,
143
142
  VoiceEnhancementConfig,
144
143
  } from "./models_1";
145
144
  import { SignInConfig, TelephonyConfig } from "./models_2";
145
+ export interface BooleanCondition {
146
+ FieldName?: string | undefined;
147
+ ComparisonType?: BooleanComparisonType | undefined;
148
+ }
149
+ export interface DateTimeCondition {
150
+ FieldName?: string | undefined;
151
+ MinValue?: string | undefined;
152
+ MaxValue?: string | undefined;
153
+ ComparisonType?: DateTimeComparisonType | undefined;
154
+ }
146
155
  export interface DecimalCondition {
147
156
  FieldName?: string | undefined;
148
157
  MinValue?: number | undefined;
@@ -1267,6 +1276,11 @@ export interface UpdateContactTaskTemplateRequest {
1267
1276
  ContactId: string | undefined;
1268
1277
  }
1269
1278
  export interface UpdateContactTaskTemplateResponse {}
1279
+ export interface UpdateCrossRegionRoutingRequest {
1280
+ InstanceId: string | undefined;
1281
+ IsolatedAll: boolean | undefined;
1282
+ }
1283
+ export interface UpdateCrossRegionRoutingResponse {}
1270
1284
  export interface UpdateDataTableAttributeRequest {
1271
1285
  InstanceId: string | undefined;
1272
1286
  DataTableId: string | undefined;
@@ -1667,24 +1681,3 @@ export interface UpdateUserPhoneConfigRequest {
1667
1681
  UserId: string | undefined;
1668
1682
  InstanceId: string | undefined;
1669
1683
  }
1670
- export interface UpdateUserProficienciesRequest {
1671
- InstanceId: string | undefined;
1672
- UserId: string | undefined;
1673
- UserProficiencies: UserProficiency[] | undefined;
1674
- }
1675
- export interface UpdateUserRoutingProfileRequest {
1676
- RoutingProfileId: string | undefined;
1677
- UserId: string | undefined;
1678
- InstanceId: string | undefined;
1679
- }
1680
- export interface UpdateUserSecurityProfilesRequest {
1681
- SecurityProfileIds: string[] | undefined;
1682
- UserId: string | undefined;
1683
- InstanceId: string | undefined;
1684
- }
1685
- export interface UpdateViewContentRequest {
1686
- InstanceId: string | undefined;
1687
- ViewId: string | undefined;
1688
- Status: ViewStatus | undefined;
1689
- Content: ViewInputContent | undefined;
1690
- }
@@ -41,6 +41,7 @@ import {
41
41
  Reference,
42
42
  StringCondition,
43
43
  UserInfo,
44
+ UserProficiency,
44
45
  } from "./models_0";
45
46
  import {
46
47
  AttributeCondition,
@@ -60,11 +61,12 @@ import {
60
61
  RecordingInfo,
61
62
  TaskTemplateInfoV2,
62
63
  View,
64
+ ViewInputContent,
63
65
  WisdomInfo,
64
66
  WorkspaceTheme,
65
67
  } from "./models_1";
66
- import { BooleanCondition, DateTimeCondition } from "./models_2";
67
68
  import {
69
+ BooleanCondition,
68
70
  ChatMessage,
69
71
  ContactFlowModuleSearchFilter,
70
72
  ContactFlowSearchFilter,
@@ -73,6 +75,7 @@ import {
73
75
  ContactSearchSummaryQueueInfo,
74
76
  DataTableSearchFilter,
75
77
  DateCondition,
78
+ DateTimeCondition,
76
79
  DecimalCondition,
77
80
  EmailAddressInfo,
78
81
  EmailAddressSearchFilter,
@@ -107,6 +110,27 @@ import {
107
110
  WorkspaceAssociationSearchFilter,
108
111
  WorkspaceSearchFilter,
109
112
  } from "./models_3";
113
+ export interface UpdateUserProficienciesRequest {
114
+ InstanceId: string | undefined;
115
+ UserId: string | undefined;
116
+ UserProficiencies: UserProficiency[] | undefined;
117
+ }
118
+ export interface UpdateUserRoutingProfileRequest {
119
+ RoutingProfileId: string | undefined;
120
+ UserId: string | undefined;
121
+ InstanceId: string | undefined;
122
+ }
123
+ export interface UpdateUserSecurityProfilesRequest {
124
+ SecurityProfileIds: string[] | undefined;
125
+ UserId: string | undefined;
126
+ InstanceId: string | undefined;
127
+ }
128
+ export interface UpdateViewContentRequest {
129
+ InstanceId: string | undefined;
130
+ ViewId: string | undefined;
131
+ Status: ViewStatus | undefined;
132
+ Content: ViewInputContent | undefined;
133
+ }
110
134
  export interface UpdateViewContentResponse {
111
135
  View?: View | undefined;
112
136
  }
@@ -587,6 +587,8 @@ export declare var GetContactAttributesRequest$: StaticStructureSchema;
587
587
  export declare var GetContactAttributesResponse$: StaticStructureSchema;
588
588
  export declare var GetContactMetricsRequest$: StaticStructureSchema;
589
589
  export declare var GetContactMetricsResponse$: StaticStructureSchema;
590
+ export declare var GetCrossRegionRoutingRequest$: StaticStructureSchema;
591
+ export declare var GetCrossRegionRoutingResponse$: StaticStructureSchema;
590
592
  export declare var GetCurrentMetricDataRequest$: StaticStructureSchema;
591
593
  export declare var GetCurrentMetricDataResponse$: StaticStructureSchema;
592
594
  export declare var GetCurrentUserDataRequest$: StaticStructureSchema;
@@ -1177,6 +1179,8 @@ export declare var UpdateContactScheduleRequest$: StaticStructureSchema;
1177
1179
  export declare var UpdateContactScheduleResponse$: StaticStructureSchema;
1178
1180
  export declare var UpdateContactTaskTemplateRequest$: StaticStructureSchema;
1179
1181
  export declare var UpdateContactTaskTemplateResponse$: StaticStructureSchema;
1182
+ export declare var UpdateCrossRegionRoutingRequest$: StaticStructureSchema;
1183
+ export declare var UpdateCrossRegionRoutingResponse$: StaticStructureSchema;
1180
1184
  export declare var UpdateDataTableAttributeRequest$: StaticStructureSchema;
1181
1185
  export declare var UpdateDataTableAttributeResponse$: StaticStructureSchema;
1182
1186
  export declare var UpdateDataTableMetadataRequest$: StaticStructureSchema;
@@ -1499,6 +1503,7 @@ export declare var EvaluateDataTableValues$: StaticOperationSchema;
1499
1503
  export declare var GetAttachedFile$: StaticOperationSchema;
1500
1504
  export declare var GetContactAttributes$: StaticOperationSchema;
1501
1505
  export declare var GetContactMetrics$: StaticOperationSchema;
1506
+ export declare var GetCrossRegionRouting$: StaticOperationSchema;
1502
1507
  export declare var GetCurrentMetricData$: StaticOperationSchema;
1503
1508
  export declare var GetCurrentUserData$: StaticOperationSchema;
1504
1509
  export declare var GetEffectiveHoursOfOperations$: StaticOperationSchema;
@@ -1666,6 +1671,7 @@ export declare var UpdateContactFlowName$: StaticOperationSchema;
1666
1671
  export declare var UpdateContactRoutingData$: StaticOperationSchema;
1667
1672
  export declare var UpdateContactSchedule$: StaticOperationSchema;
1668
1673
  export declare var UpdateContactTaskTemplate$: StaticOperationSchema;
1674
+ export declare var UpdateCrossRegionRouting$: StaticOperationSchema;
1669
1675
  export declare var UpdateDataTableAttribute$: StaticOperationSchema;
1670
1676
  export declare var UpdateDataTableMetadata$: StaticOperationSchema;
1671
1677
  export declare var UpdateDataTablePrimaryValues$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
- "version": "3.1121.0",
3
+ "version": "3.1122.0",
4
4
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-connect",
6
6
  "license": "Apache-2.0",