@aws-sdk/client-connect 3.896.0 → 3.899.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 (75) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +233 -59
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/AssociateContactWithUserCommand.js +22 -0
  5. package/dist-es/commands/ListInstancesCommand.js +1 -1
  6. package/dist-es/commands/ListRoutingProfileManualAssignmentQueuesCommand.js +22 -0
  7. package/dist-es/commands/SearchContactsCommand.js +2 -1
  8. package/dist-es/commands/UpdateEmailAddressMetadataCommand.js +1 -1
  9. package/dist-es/commands/index.js +2 -0
  10. package/dist-es/models/models_1.js +0 -10
  11. package/dist-es/models/models_2.js +28 -33
  12. package/dist-es/models/models_3.js +29 -0
  13. package/dist-es/pagination/ListRoutingProfileManualAssignmentQueuesPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +116 -4
  16. package/dist-types/Connect.d.ts +14 -0
  17. package/dist-types/ConnectClient.d.ts +4 -2
  18. package/dist-types/commands/AssociateContactWithUserCommand.d.ts +136 -0
  19. package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +9 -1
  20. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +8 -0
  21. package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteHoursOfOperationOverrideCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteInstanceCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +4 -0
  25. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +7 -1
  26. package/dist-types/commands/GetContactMetricsCommand.d.ts +2 -2
  27. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +1 -2
  28. package/dist-types/commands/ListInstancesCommand.d.ts +2 -1
  29. package/dist-types/commands/ListRoutingProfileManualAssignmentQueuesCommand.d.ts +128 -0
  30. package/dist-types/commands/SearchContactsCommand.d.ts +161 -8
  31. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +4 -0
  32. package/dist-types/commands/StopContactCommand.d.ts +1 -2
  33. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +1 -2
  34. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -2
  37. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateHoursOfOperationOverrideCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  41. package/dist-types/commands/index.d.ts +2 -0
  42. package/dist-types/models/models_0.d.ts +53 -54
  43. package/dist-types/models/models_1.d.ts +69 -106
  44. package/dist-types/models/models_2.d.ts +388 -443
  45. package/dist-types/models/models_3.d.ts +394 -3
  46. package/dist-types/pagination/ListRoutingProfileManualAssignmentQueuesPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +1 -0
  48. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  49. package/dist-types/ts3.4/Connect.d.ts +40 -0
  50. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  51. package/dist-types/ts3.4/commands/AssociateContactWithUserCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeleteHoursOfOperationCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DeleteHoursOfOperationOverrideCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListInstanceStorageConfigsCommand.d.ts +4 -2
  56. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +2 -4
  57. package/dist-types/ts3.4/commands/ListRoutingProfileManualAssignmentQueuesCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +2 -4
  59. package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/UpdateEmailAddressMetadataCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +4 -2
  63. package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateHoursOfOperationOverrideCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +16 -14
  69. package/dist-types/ts3.4/models/models_1.d.ts +17 -29
  70. package/dist-types/ts3.4/models/models_2.d.ts +102 -114
  71. package/dist-types/ts3.4/models/models_3.d.ts +110 -0
  72. package/dist-types/ts3.4/pagination/ListRoutingProfileManualAssignmentQueuesPaginator.d.ts +11 -0
  73. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  75. package/package.json +11 -11
@@ -11,11 +11,10 @@ import {
11
11
  ContactInitiationMethod,
12
12
  ControlPlaneAttributeFilter,
13
13
  CreatedByInfo,
14
+ DirectoryType,
14
15
  EventSourceName,
15
16
  FileStatusType,
16
17
  FileUseCaseType,
17
- HoursOfOperationConfig,
18
- HoursOfOperationOverrideConfig,
19
18
  InstanceStorageConfig,
20
19
  InstanceStorageResourceType,
21
20
  IntegrationType,
@@ -50,7 +49,7 @@ import {
50
49
  HierarchyGroupSummary,
51
50
  HoursOfOperation,
52
51
  HoursOfOperationOverride,
53
- InstanceAttributeType,
52
+ InstanceStatus,
54
53
  PhoneNumberCountryCode,
55
54
  PhoneNumberType,
56
55
  PredefinedAttribute,
@@ -61,6 +60,28 @@ import {
61
60
  SortOrder,
62
61
  TrafficDistributionGroupStatus,
63
62
  } from "./models_1";
63
+ export interface InstanceSummary {
64
+ Id?: string | undefined;
65
+ Arn?: string | undefined;
66
+ IdentityManagementType?: DirectoryType | undefined;
67
+ InstanceAlias?: string | undefined;
68
+ CreatedTime?: Date | undefined;
69
+ ServiceRole?: string | undefined;
70
+ InstanceStatus?: InstanceStatus | undefined;
71
+ InboundCallsEnabled?: boolean | undefined;
72
+ OutboundCallsEnabled?: boolean | undefined;
73
+ InstanceAccessUrl?: string | undefined;
74
+ }
75
+ export interface ListInstancesResponse {
76
+ InstanceSummaryList?: InstanceSummary[] | undefined;
77
+ NextToken?: string | undefined;
78
+ }
79
+ export interface ListInstanceStorageConfigsRequest {
80
+ InstanceId: string | undefined;
81
+ ResourceType: InstanceStorageResourceType | undefined;
82
+ NextToken?: string | undefined;
83
+ MaxResults?: number | undefined;
84
+ }
64
85
  export interface ListInstanceStorageConfigsResponse {
65
86
  StorageConfigs?: InstanceStorageConfig[] | undefined;
66
87
  NextToken?: string | undefined;
@@ -497,6 +518,26 @@ export declare class OutputTypeNotFoundException extends __BaseException {
497
518
  opts: __ExceptionOptionType<OutputTypeNotFoundException, __BaseException>
498
519
  );
499
520
  }
521
+ export interface ListRoutingProfileManualAssignmentQueuesRequest {
522
+ InstanceId: string | undefined;
523
+ RoutingProfileId: string | undefined;
524
+ NextToken?: string | undefined;
525
+ MaxResults?: number | undefined;
526
+ }
527
+ export interface RoutingProfileManualAssignmentQueueConfigSummary {
528
+ QueueId: string | undefined;
529
+ QueueArn: string | undefined;
530
+ QueueName: string | undefined;
531
+ Channel: Channel | undefined;
532
+ }
533
+ export interface ListRoutingProfileManualAssignmentQueuesResponse {
534
+ NextToken?: string | undefined;
535
+ RoutingProfileManualAssignmentQueueConfigSummaryList?:
536
+ | RoutingProfileManualAssignmentQueueConfigSummary[]
537
+ | undefined;
538
+ LastModifiedTime?: Date | undefined;
539
+ LastModifiedRegion?: string | undefined;
540
+ }
500
541
  export interface ListRoutingProfileQueuesRequest {
501
542
  InstanceId: string | undefined;
502
543
  RoutingProfileId: string | undefined;
@@ -859,12 +900,45 @@ export interface SearchContactFlowsResponse {
859
900
  NextToken?: string | undefined;
860
901
  ApproximateTotalCount?: number | undefined;
861
902
  }
903
+ export declare const SearchContactsTimeRangeType: {
904
+ readonly CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP";
905
+ readonly DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP";
906
+ readonly ENQUEUE_TIMESTAMP: "ENQUEUE_TIMESTAMP";
907
+ readonly INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP";
908
+ readonly SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP";
909
+ };
910
+ export type SearchContactsTimeRangeType =
911
+ (typeof SearchContactsTimeRangeType)[keyof typeof SearchContactsTimeRangeType];
912
+ export interface SearchContactsTimeRange {
913
+ Type: SearchContactsTimeRangeType | undefined;
914
+ StartTime: Date | undefined;
915
+ EndTime: Date | undefined;
916
+ }
917
+ export declare const SearchContactsTimeRangeConditionType: {
918
+ readonly NOT_EXISTS: "NOT_EXISTS";
919
+ };
920
+ export type SearchContactsTimeRangeConditionType =
921
+ (typeof SearchContactsTimeRangeConditionType)[keyof typeof SearchContactsTimeRangeConditionType];
922
+ export interface SearchContactsTimestampCondition {
923
+ Type: SearchContactsTimeRangeType | undefined;
924
+ ConditionType: SearchContactsTimeRangeConditionType | undefined;
925
+ }
926
+ export interface SearchContactsAdditionalTimeRangeCriteria {
927
+ TimeRange?: SearchContactsTimeRange | undefined;
928
+ TimestampCondition?: SearchContactsTimestampCondition | undefined;
929
+ }
862
930
  export declare const SearchContactsMatchType: {
863
931
  readonly MATCH_ALL: "MATCH_ALL";
864
932
  readonly MATCH_ANY: "MATCH_ANY";
933
+ readonly MATCH_EXACT: "MATCH_EXACT";
934
+ readonly MATCH_NONE: "MATCH_NONE";
865
935
  };
866
936
  export type SearchContactsMatchType =
867
937
  (typeof SearchContactsMatchType)[keyof typeof SearchContactsMatchType];
938
+ export interface SearchContactsAdditionalTimeRange {
939
+ Criteria: SearchContactsAdditionalTimeRangeCriteria[] | undefined;
940
+ MatchType: SearchContactsMatchType | undefined;
941
+ }
868
942
  export interface TranscriptCriteria {
869
943
  ParticipantRole: ParticipantRole | undefined;
870
944
  SearchText: string[] | undefined;
@@ -877,6 +951,20 @@ export interface Transcript {
877
951
  export interface ContactAnalysis {
878
952
  Transcript?: Transcript | undefined;
879
953
  }
954
+ export interface NameCriteria {
955
+ SearchText: string[] | undefined;
956
+ MatchType: SearchContactsMatchType | undefined;
957
+ }
958
+ export interface SearchableAgentCriteriaStep {
959
+ AgentIds?: string[] | undefined;
960
+ MatchType?: SearchContactsMatchType | undefined;
961
+ }
962
+ export interface SearchableRoutingCriteriaStep {
963
+ AgentCriteria?: SearchableAgentCriteriaStep | undefined;
964
+ }
965
+ export interface SearchableRoutingCriteria {
966
+ Steps?: SearchableRoutingCriteriaStep[] | undefined;
967
+ }
880
968
  export interface SearchableContactAttributesCriteria {
881
969
  Key: string | undefined;
882
970
  Values: string[] | undefined;
@@ -894,12 +982,15 @@ export interface SearchableSegmentAttributes {
894
982
  MatchType?: SearchContactsMatchType | undefined;
895
983
  }
896
984
  export interface SearchCriteria {
985
+ Name?: NameCriteria | undefined;
897
986
  AgentIds?: string[] | undefined;
898
987
  AgentHierarchyGroups?: AgentHierarchyGroups | undefined;
899
988
  Channels?: Channel[] | undefined;
900
989
  ContactAnalysis?: ContactAnalysis | undefined;
901
990
  InitiationMethods?: ContactInitiationMethod[] | undefined;
902
991
  QueueIds?: string[] | undefined;
992
+ RoutingCriteria?: SearchableRoutingCriteria | undefined;
993
+ AdditionalTimeRange?: SearchContactsAdditionalTimeRange | undefined;
903
994
  SearchableContactAttributes?: SearchableContactAttributes | undefined;
904
995
  SearchableSegmentAttributes?: SearchableSegmentAttributes | undefined;
905
996
  }
@@ -907,6 +998,7 @@ export declare const SortableFieldName: {
907
998
  readonly CHANNEL: "CHANNEL";
908
999
  readonly CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP";
909
1000
  readonly DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP";
1001
+ readonly EXPIRY_TIMESTAMP: "EXPIRY_TIMESTAMP";
910
1002
  readonly INITIATION_METHOD: "INITIATION_METHOD";
911
1003
  readonly INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP";
912
1004
  readonly SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP";
@@ -917,19 +1009,6 @@ export interface Sort {
917
1009
  FieldName: SortableFieldName | undefined;
918
1010
  Order: SortOrder | undefined;
919
1011
  }
920
- export declare const SearchContactsTimeRangeType: {
921
- readonly CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP";
922
- readonly DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP";
923
- readonly INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP";
924
- readonly SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP";
925
- };
926
- export type SearchContactsTimeRangeType =
927
- (typeof SearchContactsTimeRangeType)[keyof typeof SearchContactsTimeRangeType];
928
- export interface SearchContactsTimeRange {
929
- Type: SearchContactsTimeRangeType | undefined;
930
- StartTime: Date | undefined;
931
- EndTime: Date | undefined;
932
- }
933
1012
  export interface SearchContactsRequest {
934
1013
  InstanceId: string | undefined;
935
1014
  TimeRange: SearchContactsTimeRange | undefined;
@@ -946,30 +1025,6 @@ export interface ContactSearchSummaryQueueInfo {
946
1025
  Id?: string | undefined;
947
1026
  EnqueueTimestamp?: Date | undefined;
948
1027
  }
949
- export interface ContactSearchSummarySegmentAttributeValue {
950
- ValueString?: string | undefined;
951
- }
952
- export interface ContactSearchSummary {
953
- Arn?: string | undefined;
954
- Id?: string | undefined;
955
- InitialContactId?: string | undefined;
956
- PreviousContactId?: string | undefined;
957
- InitiationMethod?: ContactInitiationMethod | undefined;
958
- Channel?: Channel | undefined;
959
- QueueInfo?: ContactSearchSummaryQueueInfo | undefined;
960
- AgentInfo?: ContactSearchSummaryAgentInfo | undefined;
961
- InitiationTimestamp?: Date | undefined;
962
- DisconnectTimestamp?: Date | undefined;
963
- ScheduledTimestamp?: Date | undefined;
964
- SegmentAttributes?:
965
- | Record<string, ContactSearchSummarySegmentAttributeValue>
966
- | undefined;
967
- }
968
- export interface SearchContactsResponse {
969
- Contacts: ContactSearchSummary[] | undefined;
970
- NextToken?: string | undefined;
971
- TotalCount?: number | undefined;
972
- }
973
1028
  export interface EmailAddressSearchFilter {
974
1029
  TagFilter?: ControlPlaneTagFilter | undefined;
975
1030
  }
@@ -1681,71 +1736,12 @@ export interface UpdateContactFlowNameResponse {}
1681
1736
  export interface RoutingCriteriaInputStepExpiry {
1682
1737
  DurationInSeconds?: number | undefined;
1683
1738
  }
1684
- export interface UpdateContactRoutingDataResponse {}
1685
- export interface UpdateContactScheduleRequest {
1686
- InstanceId: string | undefined;
1687
- ContactId: string | undefined;
1688
- ScheduledTime: Date | undefined;
1689
- }
1690
- export interface UpdateContactScheduleResponse {}
1691
- export interface UpdateEmailAddressMetadataRequest {
1692
- InstanceId: string | undefined;
1693
- EmailAddressId: string | undefined;
1694
- Description?: string | undefined;
1695
- DisplayName?: string | undefined;
1696
- ClientToken?: string | undefined;
1697
- }
1698
- export interface UpdateEmailAddressMetadataResponse {
1699
- EmailAddressId?: string | undefined;
1700
- EmailAddressArn?: string | undefined;
1701
- }
1702
- export interface UpdateEvaluationFormResponse {
1703
- EvaluationFormId: string | undefined;
1704
- EvaluationFormArn: string | undefined;
1705
- EvaluationFormVersion: number | undefined;
1706
- }
1707
- export interface UpdateHoursOfOperationRequest {
1708
- InstanceId: string | undefined;
1709
- HoursOfOperationId: string | undefined;
1710
- Name?: string | undefined;
1711
- Description?: string | undefined;
1712
- TimeZone?: string | undefined;
1713
- Config?: HoursOfOperationConfig[] | undefined;
1714
- }
1715
- export declare class ConditionalOperationFailedException extends __BaseException {
1716
- readonly name: "ConditionalOperationFailedException";
1717
- readonly $fault: "client";
1718
- Message?: string | undefined;
1719
- constructor(
1720
- opts: __ExceptionOptionType<
1721
- ConditionalOperationFailedException,
1722
- __BaseException
1723
- >
1724
- );
1725
- }
1726
- export interface UpdateHoursOfOperationOverrideRequest {
1727
- InstanceId: string | undefined;
1728
- HoursOfOperationId: string | undefined;
1729
- HoursOfOperationOverrideId: string | undefined;
1730
- Name?: string | undefined;
1731
- Description?: string | undefined;
1732
- Config?: HoursOfOperationOverrideConfig[] | undefined;
1733
- EffectiveFrom?: string | undefined;
1734
- EffectiveTill?: string | undefined;
1735
- }
1736
- export interface UpdateInstanceAttributeRequest {
1737
- InstanceId: string | undefined;
1738
- AttributeType: InstanceAttributeType | undefined;
1739
- Value: string | undefined;
1740
- ClientToken?: string | undefined;
1741
- }
1742
- export interface UpdateInstanceStorageConfigRequest {
1743
- InstanceId: string | undefined;
1744
- AssociationId: string | undefined;
1745
- ResourceType: InstanceStorageResourceType | undefined;
1746
- StorageConfig: InstanceStorageConfig | undefined;
1747
- ClientToken?: string | undefined;
1748
- }
1739
+ export declare const InstanceSummaryFilterSensitiveLog: (
1740
+ obj: InstanceSummary
1741
+ ) => any;
1742
+ export declare const ListInstancesResponseFilterSensitiveLog: (
1743
+ obj: ListInstancesResponse
1744
+ ) => any;
1749
1745
  export declare const ViewSummaryFilterSensitiveLog: (obj: ViewSummary) => any;
1750
1746
  export declare const ListViewsResponseFilterSensitiveLog: (
1751
1747
  obj: ListViewsResponse
@@ -1766,6 +1762,7 @@ export declare const TranscriptFilterSensitiveLog: (obj: Transcript) => any;
1766
1762
  export declare const ContactAnalysisFilterSensitiveLog: (
1767
1763
  obj: ContactAnalysis
1768
1764
  ) => any;
1765
+ export declare const NameCriteriaFilterSensitiveLog: (obj: NameCriteria) => any;
1769
1766
  export declare const SearchableContactAttributesCriteriaFilterSensitiveLog: (
1770
1767
  obj: SearchableContactAttributesCriteria
1771
1768
  ) => any;
@@ -1784,12 +1781,6 @@ export declare const SearchCriteriaFilterSensitiveLog: (
1784
1781
  export declare const SearchContactsRequestFilterSensitiveLog: (
1785
1782
  obj: SearchContactsRequest
1786
1783
  ) => any;
1787
- export declare const ContactSearchSummaryFilterSensitiveLog: (
1788
- obj: ContactSearchSummary
1789
- ) => any;
1790
- export declare const SearchContactsResponseFilterSensitiveLog: (
1791
- obj: SearchContactsResponse
1792
- ) => any;
1793
1784
  export declare const EmailAddressMetadataFilterSensitiveLog: (
1794
1785
  obj: EmailAddressMetadata
1795
1786
  ) => any;
@@ -1845,6 +1836,3 @@ export declare const ConnectionDataFilterSensitiveLog: (
1845
1836
  export declare const StartWebRTCContactResponseFilterSensitiveLog: (
1846
1837
  obj: StartWebRTCContactResponse
1847
1838
  ) => any;
1848
- export declare const UpdateEmailAddressMetadataRequestFilterSensitiveLog: (
1849
- obj: UpdateEmailAddressMetadataRequest
1850
- ) => any;
@@ -1,3 +1,5 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
1
3
  import {
2
4
  AdditionalEmailRecipients,
3
5
  AgentAvailabilityTimer,
@@ -13,8 +15,12 @@ import {
13
15
  Endpoint,
14
16
  EvaluationFormQuestion,
15
17
  EvaluationFormScoringStrategy,
18
+ HoursOfOperationConfig,
19
+ HoursOfOperationOverrideConfig,
16
20
  InitiateAs,
17
21
  InputPredefinedAttributeConfiguration,
22
+ InstanceStorageConfig,
23
+ InstanceStorageResourceType,
18
24
  MediaConcurrency,
19
25
  OutboundCallerConfig,
20
26
  OutboundEmailConfig,
@@ -53,6 +59,7 @@ import {
53
59
  Evaluation,
54
60
  EvaluationFormVersionStatus,
55
61
  Expiry,
62
+ InstanceAttributeType,
56
63
  QualityMetrics,
57
64
  QueueInfo,
58
65
  QueueStatus,
@@ -66,6 +73,8 @@ import {
66
73
  ChatMessage,
67
74
  ContactFlowModuleSearchFilter,
68
75
  ContactFlowSearchFilter,
76
+ ContactSearchSummaryAgentInfo,
77
+ ContactSearchSummaryQueueInfo,
69
78
  DateCondition,
70
79
  EmailAddressInfo,
71
80
  EmailAddressSearchFilter,
@@ -88,6 +97,71 @@ import {
88
97
  UserHierarchyGroupSearchFilter,
89
98
  UserSearchFilter,
90
99
  } from "./models_2";
100
+ export interface UpdateContactRoutingDataResponse {}
101
+ export interface UpdateContactScheduleRequest {
102
+ InstanceId: string | undefined;
103
+ ContactId: string | undefined;
104
+ ScheduledTime: Date | undefined;
105
+ }
106
+ export interface UpdateContactScheduleResponse {}
107
+ export interface UpdateEmailAddressMetadataRequest {
108
+ InstanceId: string | undefined;
109
+ EmailAddressId: string | undefined;
110
+ Description?: string | undefined;
111
+ DisplayName?: string | undefined;
112
+ ClientToken?: string | undefined;
113
+ }
114
+ export interface UpdateEmailAddressMetadataResponse {
115
+ EmailAddressId?: string | undefined;
116
+ EmailAddressArn?: string | undefined;
117
+ }
118
+ export interface UpdateEvaluationFormResponse {
119
+ EvaluationFormId: string | undefined;
120
+ EvaluationFormArn: string | undefined;
121
+ EvaluationFormVersion: number | undefined;
122
+ }
123
+ export interface UpdateHoursOfOperationRequest {
124
+ InstanceId: string | undefined;
125
+ HoursOfOperationId: string | undefined;
126
+ Name?: string | undefined;
127
+ Description?: string | undefined;
128
+ TimeZone?: string | undefined;
129
+ Config?: HoursOfOperationConfig[] | undefined;
130
+ }
131
+ export declare class ConditionalOperationFailedException extends __BaseException {
132
+ readonly name: "ConditionalOperationFailedException";
133
+ readonly $fault: "client";
134
+ Message?: string | undefined;
135
+ constructor(
136
+ opts: __ExceptionOptionType<
137
+ ConditionalOperationFailedException,
138
+ __BaseException
139
+ >
140
+ );
141
+ }
142
+ export interface UpdateHoursOfOperationOverrideRequest {
143
+ InstanceId: string | undefined;
144
+ HoursOfOperationId: string | undefined;
145
+ HoursOfOperationOverrideId: string | undefined;
146
+ Name?: string | undefined;
147
+ Description?: string | undefined;
148
+ Config?: HoursOfOperationOverrideConfig[] | undefined;
149
+ EffectiveFrom?: string | undefined;
150
+ EffectiveTill?: string | undefined;
151
+ }
152
+ export interface UpdateInstanceAttributeRequest {
153
+ InstanceId: string | undefined;
154
+ AttributeType: InstanceAttributeType | undefined;
155
+ Value: string | undefined;
156
+ ClientToken?: string | undefined;
157
+ }
158
+ export interface UpdateInstanceStorageConfigRequest {
159
+ InstanceId: string | undefined;
160
+ AssociationId: string | undefined;
161
+ ResourceType: InstanceStorageResourceType | undefined;
162
+ StorageConfig: InstanceStorageConfig | undefined;
163
+ ClientToken?: string | undefined;
164
+ }
91
165
  export interface UpdateParticipantAuthenticationRequest {
92
166
  State: string | undefined;
93
167
  InstanceId: string | undefined;
@@ -677,6 +751,10 @@ export interface Step {
677
751
  Expression?: Expression | undefined;
678
752
  Status?: RoutingCriteriaStepStatus | undefined;
679
753
  }
754
+ export interface ContactSearchSummarySegmentAttributeValue {
755
+ ValueString?: string | undefined;
756
+ ValueMap?: Record<string, SegmentAttributeValue> | undefined;
757
+ }
680
758
  export interface CreateContactRequest {
681
759
  InstanceId: string | undefined;
682
760
  ClientToken?: string | undefined;
@@ -824,9 +902,35 @@ export interface Contact {
824
902
  ContactDetails?: ContactDetails | undefined;
825
903
  Attributes?: Record<string, string> | undefined;
826
904
  }
905
+ export interface ContactSearchSummary {
906
+ Arn?: string | undefined;
907
+ Id?: string | undefined;
908
+ InitialContactId?: string | undefined;
909
+ PreviousContactId?: string | undefined;
910
+ InitiationMethod?: ContactInitiationMethod | undefined;
911
+ Channel?: Channel | undefined;
912
+ QueueInfo?: ContactSearchSummaryQueueInfo | undefined;
913
+ AgentInfo?: ContactSearchSummaryAgentInfo | undefined;
914
+ InitiationTimestamp?: Date | undefined;
915
+ DisconnectTimestamp?: Date | undefined;
916
+ ScheduledTimestamp?: Date | undefined;
917
+ SegmentAttributes?:
918
+ | Record<string, ContactSearchSummarySegmentAttributeValue>
919
+ | undefined;
920
+ Name?: string | undefined;
921
+ RoutingCriteria?: RoutingCriteria | undefined;
922
+ }
827
923
  export interface DescribeContactResponse {
828
924
  Contact?: Contact | undefined;
829
925
  }
926
+ export interface SearchContactsResponse {
927
+ Contacts: ContactSearchSummary[] | undefined;
928
+ NextToken?: string | undefined;
929
+ TotalCount?: number | undefined;
930
+ }
931
+ export declare const UpdateEmailAddressMetadataRequestFilterSensitiveLog: (
932
+ obj: UpdateEmailAddressMetadataRequest
933
+ ) => any;
830
934
  export declare const UpdateParticipantAuthenticationRequestFilterSensitiveLog: (
831
935
  obj: UpdateParticipantAuthenticationRequest
832
936
  ) => any;
@@ -858,6 +962,12 @@ export declare const UpdateContactRequestFilterSensitiveLog: (
858
962
  obj: UpdateContactRequest
859
963
  ) => any;
860
964
  export declare const ContactFilterSensitiveLog: (obj: Contact) => any;
965
+ export declare const ContactSearchSummaryFilterSensitiveLog: (
966
+ obj: ContactSearchSummary
967
+ ) => any;
861
968
  export declare const DescribeContactResponseFilterSensitiveLog: (
862
969
  obj: DescribeContactResponse
863
970
  ) => any;
971
+ export declare const SearchContactsResponseFilterSensitiveLog: (
972
+ obj: SearchContactsResponse
973
+ ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListRoutingProfileManualAssignmentQueuesCommandInput,
4
+ ListRoutingProfileManualAssignmentQueuesCommandOutput,
5
+ } from "../commands/ListRoutingProfileManualAssignmentQueuesCommand";
6
+ import { ConnectPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListRoutingProfileManualAssignmentQueues: (
8
+ config: ConnectPaginationConfiguration,
9
+ input: ListRoutingProfileManualAssignmentQueuesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListRoutingProfileManualAssignmentQueuesCommandOutput>;
@@ -32,6 +32,7 @@ export * from "./ListQueueQuickConnectsPaginator";
32
32
  export * from "./ListQueuesPaginator";
33
33
  export * from "./ListQuickConnectsPaginator";
34
34
  export * from "./ListRealtimeContactAnalysisSegmentsV2Paginator";
35
+ export * from "./ListRoutingProfileManualAssignmentQueuesPaginator";
35
36
  export * from "./ListRoutingProfileQueuesPaginator";
36
37
  export * from "./ListRoutingProfilesPaginator";
37
38
  export * from "./ListRulesPaginator";
@@ -19,6 +19,10 @@ import {
19
19
  AssociateBotCommandInput,
20
20
  AssociateBotCommandOutput,
21
21
  } from "../commands/AssociateBotCommand";
22
+ import {
23
+ AssociateContactWithUserCommandInput,
24
+ AssociateContactWithUserCommandOutput,
25
+ } from "../commands/AssociateContactWithUserCommand";
22
26
  import {
23
27
  AssociateDefaultVocabularyCommandInput,
24
28
  AssociateDefaultVocabularyCommandOutput,
@@ -667,6 +671,10 @@ import {
667
671
  ListRealtimeContactAnalysisSegmentsV2CommandInput,
668
672
  ListRealtimeContactAnalysisSegmentsV2CommandOutput,
669
673
  } from "../commands/ListRealtimeContactAnalysisSegmentsV2Command";
674
+ import {
675
+ ListRoutingProfileManualAssignmentQueuesCommandInput,
676
+ ListRoutingProfileManualAssignmentQueuesCommandOutput,
677
+ } from "../commands/ListRoutingProfileManualAssignmentQueuesCommand";
670
678
  import {
671
679
  ListRoutingProfileQueuesCommandInput,
672
680
  ListRoutingProfileQueuesCommandOutput,
@@ -1151,6 +1159,10 @@ export declare const se_AssociateBotCommand: (
1151
1159
  input: AssociateBotCommandInput,
1152
1160
  context: __SerdeContext
1153
1161
  ) => Promise<__HttpRequest>;
1162
+ export declare const se_AssociateContactWithUserCommand: (
1163
+ input: AssociateContactWithUserCommandInput,
1164
+ context: __SerdeContext
1165
+ ) => Promise<__HttpRequest>;
1154
1166
  export declare const se_AssociateDefaultVocabularyCommand: (
1155
1167
  input: AssociateDefaultVocabularyCommandInput,
1156
1168
  context: __SerdeContext
@@ -1799,6 +1811,10 @@ export declare const se_ListRealtimeContactAnalysisSegmentsV2Command: (
1799
1811
  input: ListRealtimeContactAnalysisSegmentsV2CommandInput,
1800
1812
  context: __SerdeContext
1801
1813
  ) => Promise<__HttpRequest>;
1814
+ export declare const se_ListRoutingProfileManualAssignmentQueuesCommand: (
1815
+ input: ListRoutingProfileManualAssignmentQueuesCommandInput,
1816
+ context: __SerdeContext
1817
+ ) => Promise<__HttpRequest>;
1802
1818
  export declare const se_ListRoutingProfileQueuesCommand: (
1803
1819
  input: ListRoutingProfileQueuesCommandInput,
1804
1820
  context: __SerdeContext
@@ -2283,6 +2299,10 @@ export declare const de_AssociateBotCommand: (
2283
2299
  output: __HttpResponse,
2284
2300
  context: __SerdeContext
2285
2301
  ) => Promise<AssociateBotCommandOutput>;
2302
+ export declare const de_AssociateContactWithUserCommand: (
2303
+ output: __HttpResponse,
2304
+ context: __SerdeContext
2305
+ ) => Promise<AssociateContactWithUserCommandOutput>;
2286
2306
  export declare const de_AssociateDefaultVocabularyCommand: (
2287
2307
  output: __HttpResponse,
2288
2308
  context: __SerdeContext
@@ -2931,6 +2951,10 @@ export declare const de_ListRealtimeContactAnalysisSegmentsV2Command: (
2931
2951
  output: __HttpResponse,
2932
2952
  context: __SerdeContext
2933
2953
  ) => Promise<ListRealtimeContactAnalysisSegmentsV2CommandOutput>;
2954
+ export declare const de_ListRoutingProfileManualAssignmentQueuesCommand: (
2955
+ output: __HttpResponse,
2956
+ context: __SerdeContext
2957
+ ) => Promise<ListRoutingProfileManualAssignmentQueuesCommandOutput>;
2934
2958
  export declare const de_ListRoutingProfileQueuesCommand: (
2935
2959
  output: __HttpResponse,
2936
2960
  context: __SerdeContext
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.896.0",
4
+ "version": "3.899.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",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.896.0",
24
- "@aws-sdk/credential-provider-node": "3.896.0",
23
+ "@aws-sdk/core": "3.899.0",
24
+ "@aws-sdk/credential-provider-node": "3.899.0",
25
25
  "@aws-sdk/middleware-host-header": "3.893.0",
26
26
  "@aws-sdk/middleware-logger": "3.893.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.893.0",
28
- "@aws-sdk/middleware-user-agent": "3.896.0",
28
+ "@aws-sdk/middleware-user-agent": "3.899.0",
29
29
  "@aws-sdk/region-config-resolver": "3.893.0",
30
30
  "@aws-sdk/types": "3.893.0",
31
31
  "@aws-sdk/util-endpoints": "3.895.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.893.0",
33
- "@aws-sdk/util-user-agent-node": "3.896.0",
33
+ "@aws-sdk/util-user-agent-node": "3.899.0",
34
34
  "@smithy/config-resolver": "^4.2.2",
35
- "@smithy/core": "^3.12.0",
35
+ "@smithy/core": "^3.13.0",
36
36
  "@smithy/fetch-http-handler": "^5.2.1",
37
37
  "@smithy/hash-node": "^4.1.1",
38
38
  "@smithy/invalid-dependency": "^4.1.1",
39
39
  "@smithy/middleware-content-length": "^4.1.1",
40
- "@smithy/middleware-endpoint": "^4.2.4",
41
- "@smithy/middleware-retry": "^4.3.0",
40
+ "@smithy/middleware-endpoint": "^4.2.5",
41
+ "@smithy/middleware-retry": "^4.3.1",
42
42
  "@smithy/middleware-serde": "^4.1.1",
43
43
  "@smithy/middleware-stack": "^4.1.1",
44
44
  "@smithy/node-config-provider": "^4.2.2",
45
45
  "@smithy/node-http-handler": "^4.2.1",
46
46
  "@smithy/protocol-http": "^5.2.1",
47
- "@smithy/smithy-client": "^4.6.4",
47
+ "@smithy/smithy-client": "^4.6.5",
48
48
  "@smithy/types": "^4.5.0",
49
49
  "@smithy/url-parser": "^4.1.1",
50
50
  "@smithy/util-base64": "^4.1.0",
51
51
  "@smithy/util-body-length-browser": "^4.1.0",
52
52
  "@smithy/util-body-length-node": "^4.1.0",
53
- "@smithy/util-defaults-mode-browser": "^4.1.4",
54
- "@smithy/util-defaults-mode-node": "^4.1.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.1.5",
54
+ "@smithy/util-defaults-mode-node": "^4.1.5",
55
55
  "@smithy/util-endpoints": "^3.1.2",
56
56
  "@smithy/util-middleware": "^4.1.1",
57
57
  "@smithy/util-retry": "^4.1.2",