@aws-sdk/client-connect 3.568.0 → 3.569.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 (58) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +391 -81
  3. package/dist-es/Connect.js +10 -0
  4. package/dist-es/commands/BatchGetAttachedFileMetadataCommand.js +24 -0
  5. package/dist-es/commands/CompleteAttachedFileUploadCommand.js +24 -0
  6. package/dist-es/commands/DeleteAttachedFileCommand.js +24 -0
  7. package/dist-es/commands/DescribeInstanceCommand.js +1 -1
  8. package/dist-es/commands/GetAttachedFileCommand.js +24 -0
  9. package/dist-es/commands/ReplicateInstanceCommand.js +1 -1
  10. package/dist-es/commands/StartAttachedFileUploadCommand.js +24 -0
  11. package/dist-es/commands/index.js +5 -0
  12. package/dist-es/models/models_0.js +33 -26
  13. package/dist-es/models/models_1.js +26 -42
  14. package/dist-es/models/models_2.js +42 -1
  15. package/dist-es/protocols/Aws_restJson1.js +163 -0
  16. package/dist-types/Connect.d.ts +35 -0
  17. package/dist-types/ConnectClient.d.ts +7 -2
  18. package/dist-types/commands/BatchGetAttachedFileMetadataCommand.d.ts +105 -0
  19. package/dist-types/commands/CompleteAttachedFileUploadCommand.d.ts +75 -0
  20. package/dist-types/commands/DeleteAttachedFileCommand.d.ts +78 -0
  21. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -1
  22. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeInstanceCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
  26. package/dist-types/commands/GetAttachedFileCommand.d.ts +97 -0
  27. package/dist-types/commands/ReplicateInstanceCommand.d.ts +2 -1
  28. package/dist-types/commands/ResumeContactCommand.d.ts +1 -1
  29. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
  30. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -1
  31. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +108 -0
  32. package/dist-types/commands/index.d.ts +5 -0
  33. package/dist-types/models/models_0.d.ts +308 -239
  34. package/dist-types/models/models_1.d.ts +356 -344
  35. package/dist-types/models/models_2.d.ts +472 -2
  36. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  37. package/dist-types/ts3.4/Connect.d.ts +85 -0
  38. package/dist-types/ts3.4/ConnectClient.d.ts +30 -0
  39. package/dist-types/ts3.4/commands/BatchGetAttachedFileMetadataCommand.d.ts +39 -0
  40. package/dist-types/ts3.4/commands/CompleteAttachedFileUploadCommand.d.ts +39 -0
  41. package/dist-types/ts3.4/commands/DeleteAttachedFileCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +2 -4
  43. package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/DescribeInstanceCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +4 -2
  47. package/dist-types/ts3.4/commands/GetAttachedFileCommand.d.ts +38 -0
  48. package/dist-types/ts3.4/commands/ReplicateInstanceCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/StartAttachedFileUploadCommand.d.ts +39 -0
  53. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +109 -74
  55. package/dist-types/ts3.4/models/models_1.d.ts +101 -99
  56. package/dist-types/ts3.4/models/models_2.d.ts +127 -3
  57. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  58. package/package.json +4 -2
@@ -208,10 +208,41 @@ export interface AssociateAnalyticsDataSetResponse {
208
208
  ResourceShareId?: string;
209
209
  ResourceShareArn?: string;
210
210
  }
211
+ export declare const AttachedFileInvalidRequestExceptionReason: {
212
+ readonly INVALID_FILE_NAME: "INVALID_FILE_NAME";
213
+ readonly INVALID_FILE_SIZE: "INVALID_FILE_SIZE";
214
+ readonly INVALID_FILE_TYPE: "INVALID_FILE_TYPE";
215
+ };
216
+ export type AttachedFileInvalidRequestExceptionReason =
217
+ (typeof AttachedFileInvalidRequestExceptionReason)[keyof typeof AttachedFileInvalidRequestExceptionReason];
218
+ export type InvalidRequestExceptionReason =
219
+ | InvalidRequestExceptionReason.AttachedFileInvalidRequestExceptionReasonMember
220
+ | InvalidRequestExceptionReason.$UnknownMember;
221
+ export declare namespace InvalidRequestExceptionReason {
222
+ interface AttachedFileInvalidRequestExceptionReasonMember {
223
+ AttachedFileInvalidRequestExceptionReason: AttachedFileInvalidRequestExceptionReason;
224
+ $unknown?: never;
225
+ }
226
+ interface $UnknownMember {
227
+ AttachedFileInvalidRequestExceptionReason?: never;
228
+ $unknown: [string, any];
229
+ }
230
+ interface Visitor<T> {
231
+ AttachedFileInvalidRequestExceptionReason: (
232
+ value: AttachedFileInvalidRequestExceptionReason
233
+ ) => T;
234
+ _: (name: string, value: any) => T;
235
+ }
236
+ const visit: <T>(
237
+ value: InvalidRequestExceptionReason,
238
+ visitor: Visitor<T>
239
+ ) => T;
240
+ }
211
241
  export declare class InvalidRequestException extends __BaseException {
212
242
  readonly name: "InvalidRequestException";
213
243
  readonly $fault: "client";
214
244
  Message?: string;
245
+ Reason?: InvalidRequestExceptionReason;
215
246
  constructor(
216
247
  opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
217
248
  );
@@ -440,6 +471,72 @@ export interface BatchDisassociateAnalyticsDataSetResponse {
440
471
  Deleted?: string[];
441
472
  Errors?: ErrorResult[];
442
473
  }
474
+ export interface BatchGetAttachedFileMetadataRequest {
475
+ FileIds: string[] | undefined;
476
+ InstanceId: string | undefined;
477
+ AssociatedResourceArn: string | undefined;
478
+ }
479
+ export interface AttachedFileError {
480
+ ErrorCode?: string;
481
+ ErrorMessage?: string;
482
+ FileId?: string;
483
+ }
484
+ export type CreatedByInfo =
485
+ | CreatedByInfo.AWSIdentityArnMember
486
+ | CreatedByInfo.ConnectUserArnMember
487
+ | CreatedByInfo.$UnknownMember;
488
+ export declare namespace CreatedByInfo {
489
+ interface ConnectUserArnMember {
490
+ ConnectUserArn: string;
491
+ AWSIdentityArn?: never;
492
+ $unknown?: never;
493
+ }
494
+ interface AWSIdentityArnMember {
495
+ ConnectUserArn?: never;
496
+ AWSIdentityArn: string;
497
+ $unknown?: never;
498
+ }
499
+ interface $UnknownMember {
500
+ ConnectUserArn?: never;
501
+ AWSIdentityArn?: never;
502
+ $unknown: [string, any];
503
+ }
504
+ interface Visitor<T> {
505
+ ConnectUserArn: (value: string) => T;
506
+ AWSIdentityArn: (value: string) => T;
507
+ _: (name: string, value: any) => T;
508
+ }
509
+ const visit: <T>(value: CreatedByInfo, visitor: Visitor<T>) => T;
510
+ }
511
+ export declare const FileStatusType: {
512
+ readonly APPROVED: "APPROVED";
513
+ readonly FAILED: "FAILED";
514
+ readonly PROCESSING: "PROCESSING";
515
+ readonly REJECTED: "REJECTED";
516
+ };
517
+ export type FileStatusType =
518
+ (typeof FileStatusType)[keyof typeof FileStatusType];
519
+ export declare const FileUseCaseType: {
520
+ readonly ATTACHMENT: "ATTACHMENT";
521
+ };
522
+ export type FileUseCaseType =
523
+ (typeof FileUseCaseType)[keyof typeof FileUseCaseType];
524
+ export interface AttachedFile {
525
+ CreationTime: string | undefined;
526
+ FileArn: string | undefined;
527
+ FileId: string | undefined;
528
+ FileName: string | undefined;
529
+ FileSizeInBytes: number | undefined;
530
+ FileStatus: FileStatusType | undefined;
531
+ CreatedBy?: CreatedByInfo;
532
+ FileUseCaseType?: FileUseCaseType;
533
+ AssociatedResourceArn?: string;
534
+ Tags?: Record<string, string>;
535
+ }
536
+ export interface BatchGetAttachedFileMetadataResponse {
537
+ Files?: AttachedFile[];
538
+ Errors?: AttachedFileError[];
539
+ }
443
540
  export declare const ListFlowAssociationResourceType: {
444
541
  readonly VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER";
445
542
  };
@@ -531,6 +628,12 @@ export interface ClaimPhoneNumberResponse {
531
628
  PhoneNumberId?: string;
532
629
  PhoneNumberArn?: string;
533
630
  }
631
+ export interface CompleteAttachedFileUploadRequest {
632
+ InstanceId: string | undefined;
633
+ FileId: string | undefined;
634
+ AssociatedResourceArn: string | undefined;
635
+ }
636
+ export interface CompleteAttachedFileUploadResponse {}
534
637
  export interface CreateAgentStatusRequest {
535
638
  InstanceId: string | undefined;
536
639
  Name: string | undefined;
@@ -1437,6 +1540,12 @@ export interface DeactivateEvaluationFormResponse {
1437
1540
  EvaluationFormArn: string | undefined;
1438
1541
  EvaluationFormVersion: number | undefined;
1439
1542
  }
1543
+ export interface DeleteAttachedFileRequest {
1544
+ InstanceId: string | undefined;
1545
+ FileId: string | undefined;
1546
+ AssociatedResourceArn: string | undefined;
1547
+ }
1548
+ export interface DeleteAttachedFileResponse {}
1440
1549
  export interface DeleteContactEvaluationRequest {
1441
1550
  InstanceId: string | undefined;
1442
1551
  EvaluationId: string | undefined;
@@ -1750,76 +1859,6 @@ export interface HoursOfOperation {
1750
1859
  LastModifiedTime?: Date;
1751
1860
  LastModifiedRegion?: string;
1752
1861
  }
1753
- export interface DescribeHoursOfOperationResponse {
1754
- HoursOfOperation?: HoursOfOperation;
1755
- }
1756
- export interface DescribeInstanceRequest {
1757
- InstanceId: string | undefined;
1758
- }
1759
- export declare const InstanceStatus: {
1760
- readonly ACTIVE: "ACTIVE";
1761
- readonly CREATION_FAILED: "CREATION_FAILED";
1762
- readonly CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS";
1763
- };
1764
- export type InstanceStatus =
1765
- (typeof InstanceStatus)[keyof typeof InstanceStatus];
1766
- export interface InstanceStatusReason {
1767
- Message?: string;
1768
- }
1769
- export interface Instance {
1770
- Id?: string;
1771
- Arn?: string;
1772
- IdentityManagementType?: DirectoryType;
1773
- InstanceAlias?: string;
1774
- CreatedTime?: Date;
1775
- ServiceRole?: string;
1776
- InstanceStatus?: InstanceStatus;
1777
- StatusReason?: InstanceStatusReason;
1778
- InboundCallsEnabled?: boolean;
1779
- OutboundCallsEnabled?: boolean;
1780
- InstanceAccessUrl?: string;
1781
- Tags?: Record<string, string>;
1782
- }
1783
- export interface DescribeInstanceResponse {
1784
- Instance?: Instance;
1785
- }
1786
- export declare const InstanceAttributeType: {
1787
- readonly AUTO_RESOLVE_BEST_VOICES: "AUTO_RESOLVE_BEST_VOICES";
1788
- readonly CONTACTFLOW_LOGS: "CONTACTFLOW_LOGS";
1789
- readonly CONTACT_LENS: "CONTACT_LENS";
1790
- readonly EARLY_MEDIA: "EARLY_MEDIA";
1791
- readonly ENHANCED_CHAT_MONITORING: "ENHANCED_CHAT_MONITORING";
1792
- readonly ENHANCED_CONTACT_MONITORING: "ENHANCED_CONTACT_MONITORING";
1793
- readonly HIGH_VOLUME_OUTBOUND: "HIGH_VOLUME_OUTBOUND";
1794
- readonly INBOUND_CALLS: "INBOUND_CALLS";
1795
- readonly MULTI_PARTY_CONFERENCE: "MULTI_PARTY_CONFERENCE";
1796
- readonly OUTBOUND_CALLS: "OUTBOUND_CALLS";
1797
- readonly USE_CUSTOM_TTS_VOICES: "USE_CUSTOM_TTS_VOICES";
1798
- };
1799
- export type InstanceAttributeType =
1800
- (typeof InstanceAttributeType)[keyof typeof InstanceAttributeType];
1801
- export interface DescribeInstanceAttributeRequest {
1802
- InstanceId: string | undefined;
1803
- AttributeType: InstanceAttributeType | undefined;
1804
- }
1805
- export interface Attribute {
1806
- AttributeType?: InstanceAttributeType;
1807
- Value?: string;
1808
- }
1809
- export interface DescribeInstanceAttributeResponse {
1810
- Attribute?: Attribute;
1811
- }
1812
- export interface DescribeInstanceStorageConfigRequest {
1813
- InstanceId: string | undefined;
1814
- AssociationId: string | undefined;
1815
- ResourceType: InstanceStorageResourceType | undefined;
1816
- }
1817
- export interface DescribeInstanceStorageConfigResponse {
1818
- StorageConfig?: InstanceStorageConfig;
1819
- }
1820
- export interface DescribePhoneNumberRequest {
1821
- PhoneNumberId: string | undefined;
1822
- }
1823
1862
  export declare const CreateInstanceRequestFilterSensitiveLog: (
1824
1863
  obj: CreateInstanceRequest
1825
1864
  ) => any;
@@ -1847,7 +1886,3 @@ export declare const ContactFilterSensitiveLog: (obj: Contact) => any;
1847
1886
  export declare const DescribeContactResponseFilterSensitiveLog: (
1848
1887
  obj: DescribeContactResponse
1849
1888
  ) => any;
1850
- export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
1851
- export declare const DescribeInstanceResponseFilterSensitiveLog: (
1852
- obj: DescribeInstanceResponse
1853
- ) => any;
@@ -5,28 +5,28 @@ import {
5
5
  AgentAvailabilityTimer,
6
6
  AgentConfig,
7
7
  AgentContactReference,
8
- AgentHierarchyGroups,
9
8
  AgentStatusReference,
10
9
  AgentStatusSummary,
11
10
  AgentStatusType,
12
11
  AnalyticsDataAssociationResult,
13
12
  Application,
14
- Attribute,
15
13
  Channel,
16
14
  ContactFlowModuleState,
17
15
  ContactFlowState,
18
16
  ContactFlowType,
19
- ContactInitiationMethod,
20
17
  ContactState,
18
+ CreatedByInfo,
21
19
  DirectoryType,
22
20
  Distribution,
23
21
  EvaluationFormVersionStatus,
24
22
  EvaluationScore,
25
23
  EvaluationStatus,
26
24
  EventSourceName,
25
+ FileStatusType,
26
+ FileUseCaseType,
27
27
  FlowAssociationResourceType,
28
28
  FlowAssociationSummary,
29
- InstanceStatus,
29
+ HoursOfOperation,
30
30
  InstanceStorageConfig,
31
31
  InstanceStorageResourceType,
32
32
  IntegrationType,
@@ -61,6 +61,76 @@ import {
61
61
  VocabularyLanguageCode,
62
62
  VocabularyState,
63
63
  } from "./models_0";
64
+ export interface DescribeHoursOfOperationResponse {
65
+ HoursOfOperation?: HoursOfOperation;
66
+ }
67
+ export interface DescribeInstanceRequest {
68
+ InstanceId: string | undefined;
69
+ }
70
+ export declare const InstanceStatus: {
71
+ readonly ACTIVE: "ACTIVE";
72
+ readonly CREATION_FAILED: "CREATION_FAILED";
73
+ readonly CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS";
74
+ };
75
+ export type InstanceStatus =
76
+ (typeof InstanceStatus)[keyof typeof InstanceStatus];
77
+ export interface InstanceStatusReason {
78
+ Message?: string;
79
+ }
80
+ export interface Instance {
81
+ Id?: string;
82
+ Arn?: string;
83
+ IdentityManagementType?: DirectoryType;
84
+ InstanceAlias?: string;
85
+ CreatedTime?: Date;
86
+ ServiceRole?: string;
87
+ InstanceStatus?: InstanceStatus;
88
+ StatusReason?: InstanceStatusReason;
89
+ InboundCallsEnabled?: boolean;
90
+ OutboundCallsEnabled?: boolean;
91
+ InstanceAccessUrl?: string;
92
+ Tags?: Record<string, string>;
93
+ }
94
+ export interface DescribeInstanceResponse {
95
+ Instance?: Instance;
96
+ }
97
+ export declare const InstanceAttributeType: {
98
+ readonly AUTO_RESOLVE_BEST_VOICES: "AUTO_RESOLVE_BEST_VOICES";
99
+ readonly CONTACTFLOW_LOGS: "CONTACTFLOW_LOGS";
100
+ readonly CONTACT_LENS: "CONTACT_LENS";
101
+ readonly EARLY_MEDIA: "EARLY_MEDIA";
102
+ readonly ENHANCED_CHAT_MONITORING: "ENHANCED_CHAT_MONITORING";
103
+ readonly ENHANCED_CONTACT_MONITORING: "ENHANCED_CONTACT_MONITORING";
104
+ readonly HIGH_VOLUME_OUTBOUND: "HIGH_VOLUME_OUTBOUND";
105
+ readonly INBOUND_CALLS: "INBOUND_CALLS";
106
+ readonly MULTI_PARTY_CONFERENCE: "MULTI_PARTY_CONFERENCE";
107
+ readonly OUTBOUND_CALLS: "OUTBOUND_CALLS";
108
+ readonly USE_CUSTOM_TTS_VOICES: "USE_CUSTOM_TTS_VOICES";
109
+ };
110
+ export type InstanceAttributeType =
111
+ (typeof InstanceAttributeType)[keyof typeof InstanceAttributeType];
112
+ export interface DescribeInstanceAttributeRequest {
113
+ InstanceId: string | undefined;
114
+ AttributeType: InstanceAttributeType | undefined;
115
+ }
116
+ export interface Attribute {
117
+ AttributeType?: InstanceAttributeType;
118
+ Value?: string;
119
+ }
120
+ export interface DescribeInstanceAttributeResponse {
121
+ Attribute?: Attribute;
122
+ }
123
+ export interface DescribeInstanceStorageConfigRequest {
124
+ InstanceId: string | undefined;
125
+ AssociationId: string | undefined;
126
+ ResourceType: InstanceStorageResourceType | undefined;
127
+ }
128
+ export interface DescribeInstanceStorageConfigResponse {
129
+ StorageConfig?: InstanceStorageConfig;
130
+ }
131
+ export interface DescribePhoneNumberRequest {
132
+ PhoneNumberId: string | undefined;
133
+ }
64
134
  export declare const PhoneNumberCountryCode: {
65
135
  readonly AD: "AD";
66
136
  readonly AE: "AE";
@@ -671,6 +741,29 @@ export interface DismissUserContactRequest {
671
741
  ContactId: string | undefined;
672
742
  }
673
743
  export interface DismissUserContactResponse {}
744
+ export interface GetAttachedFileRequest {
745
+ InstanceId: string | undefined;
746
+ FileId: string | undefined;
747
+ UrlExpiryInSeconds?: number;
748
+ AssociatedResourceArn: string | undefined;
749
+ }
750
+ export interface DownloadUrlMetadata {
751
+ Url?: string;
752
+ UrlExpiry?: string;
753
+ }
754
+ export interface GetAttachedFileResponse {
755
+ FileArn?: string;
756
+ FileId?: string;
757
+ CreationTime?: string;
758
+ FileStatus?: FileStatusType;
759
+ FileName?: string;
760
+ FileSizeInBytes: number | undefined;
761
+ AssociatedResourceArn?: string;
762
+ FileUseCaseType?: FileUseCaseType;
763
+ CreatedBy?: CreatedByInfo;
764
+ DownloadUrlMetadata?: DownloadUrlMetadata;
765
+ Tags?: Record<string, string>;
766
+ }
674
767
  export interface GetContactAttributesRequest {
675
768
  InstanceId: string | undefined;
676
769
  InitialContactId: string | undefined;
@@ -2061,85 +2154,10 @@ export interface ReplicateInstanceRequest {
2061
2154
  ClientToken?: string;
2062
2155
  ReplicaAlias: string | undefined;
2063
2156
  }
2064
- export interface ReplicateInstanceResponse {
2065
- Id?: string;
2066
- Arn?: string;
2067
- }
2068
- export interface ResumeContactRequest {
2069
- ContactId: string | undefined;
2070
- InstanceId: string | undefined;
2071
- ContactFlowId?: string;
2072
- }
2073
- export interface ResumeContactResponse {}
2074
- export interface ResumeContactRecordingRequest {
2075
- InstanceId: string | undefined;
2076
- ContactId: string | undefined;
2077
- InitialContactId: string | undefined;
2078
- }
2079
- export interface ResumeContactRecordingResponse {}
2080
- export interface SearchAvailablePhoneNumbersRequest {
2081
- TargetArn?: string;
2082
- InstanceId?: string;
2083
- PhoneNumberCountryCode: PhoneNumberCountryCode | undefined;
2084
- PhoneNumberType: PhoneNumberType | undefined;
2085
- PhoneNumberPrefix?: string;
2086
- MaxResults?: number;
2087
- NextToken?: string;
2088
- }
2089
- export interface AvailableNumberSummary {
2090
- PhoneNumber?: string;
2091
- PhoneNumberCountryCode?: PhoneNumberCountryCode;
2092
- PhoneNumberType?: PhoneNumberType;
2093
- }
2094
- export interface SearchAvailablePhoneNumbersResponse {
2095
- NextToken?: string;
2096
- AvailableNumbersList?: AvailableNumberSummary[];
2097
- }
2098
- export declare const SearchContactsMatchType: {
2099
- readonly MATCH_ALL: "MATCH_ALL";
2100
- readonly MATCH_ANY: "MATCH_ANY";
2101
- };
2102
- export type SearchContactsMatchType =
2103
- (typeof SearchContactsMatchType)[keyof typeof SearchContactsMatchType];
2104
- export interface TranscriptCriteria {
2105
- ParticipantRole: ParticipantRole | undefined;
2106
- SearchText: string[] | undefined;
2107
- MatchType: SearchContactsMatchType | undefined;
2108
- }
2109
- export interface Transcript {
2110
- Criteria: TranscriptCriteria[] | undefined;
2111
- MatchType?: SearchContactsMatchType;
2112
- }
2113
- export interface ContactAnalysis {
2114
- Transcript?: Transcript;
2115
- }
2116
- export interface SearchableContactAttributesCriteria {
2117
- Key: string | undefined;
2118
- Values: string[] | undefined;
2119
- }
2120
- export interface SearchableContactAttributes {
2121
- Criteria: SearchableContactAttributesCriteria[] | undefined;
2122
- MatchType?: SearchContactsMatchType;
2123
- }
2124
- export interface SearchCriteria {
2125
- AgentIds?: string[];
2126
- AgentHierarchyGroups?: AgentHierarchyGroups;
2127
- Channels?: Channel[];
2128
- ContactAnalysis?: ContactAnalysis;
2129
- InitiationMethods?: ContactInitiationMethod[];
2130
- QueueIds?: string[];
2131
- SearchableContactAttributes?: SearchableContactAttributes;
2132
- }
2133
- export declare const SortableFieldName: {
2134
- readonly CHANNEL: "CHANNEL";
2135
- readonly CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP";
2136
- readonly DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP";
2137
- readonly INITIATION_METHOD: "INITIATION_METHOD";
2138
- readonly INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP";
2139
- readonly SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP";
2140
- };
2141
- export type SortableFieldName =
2142
- (typeof SortableFieldName)[keyof typeof SortableFieldName];
2157
+ export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
2158
+ export declare const DescribeInstanceResponseFilterSensitiveLog: (
2159
+ obj: DescribeInstanceResponse
2160
+ ) => any;
2143
2161
  export declare const UserFilterSensitiveLog: (obj: User) => any;
2144
2162
  export declare const DescribeUserResponseFilterSensitiveLog: (
2145
2163
  obj: DescribeUserResponse
@@ -2170,19 +2188,3 @@ export declare const ListViewVersionsResponseFilterSensitiveLog: (
2170
2188
  export declare const ReplicateInstanceRequestFilterSensitiveLog: (
2171
2189
  obj: ReplicateInstanceRequest
2172
2190
  ) => any;
2173
- export declare const TranscriptCriteriaFilterSensitiveLog: (
2174
- obj: TranscriptCriteria
2175
- ) => any;
2176
- export declare const TranscriptFilterSensitiveLog: (obj: Transcript) => any;
2177
- export declare const ContactAnalysisFilterSensitiveLog: (
2178
- obj: ContactAnalysis
2179
- ) => any;
2180
- export declare const SearchableContactAttributesCriteriaFilterSensitiveLog: (
2181
- obj: SearchableContactAttributesCriteria
2182
- ) => any;
2183
- export declare const SearchableContactAttributesFilterSensitiveLog: (
2184
- obj: SearchableContactAttributes
2185
- ) => any;
2186
- export declare const SearchCriteriaFilterSensitiveLog: (
2187
- obj: SearchCriteria
2188
- ) => any;
@@ -3,6 +3,7 @@ import { ConnectServiceException as __BaseException } from "./ConnectServiceExce
3
3
  import {
4
4
  AgentAvailabilityTimer,
5
5
  AgentConfig,
6
+ AgentHierarchyGroups,
6
7
  AgentStatusState,
7
8
  AllowedCapabilities,
8
9
  Application,
@@ -10,19 +11,22 @@ import {
10
11
  ContactFlowModuleState,
11
12
  ContactFlowState,
12
13
  ContactInitiationMethod,
14
+ CreatedByInfo,
13
15
  Evaluation,
14
16
  EvaluationAnswerData,
15
17
  EvaluationFormQuestion,
16
18
  EvaluationFormScoringStrategy,
17
19
  EvaluationFormVersionStatus,
18
20
  EvaluationNote,
21
+ FileStatusType,
22
+ FileUseCaseType,
19
23
  HoursOfOperation,
20
24
  HoursOfOperationConfig,
21
- InstanceAttributeType,
22
25
  InstanceStorageConfig,
23
26
  InstanceStorageResourceType,
24
27
  MediaConcurrency,
25
28
  OutboundCallerConfig,
29
+ ParticipantRole,
26
30
  PredefinedAttributeValues,
27
31
  QuickConnectConfig,
28
32
  Reference,
@@ -44,18 +48,98 @@ import {
44
48
  VocabularyState,
45
49
  } from "./models_0";
46
50
  import {
51
+ InstanceAttributeType,
52
+ PhoneNumberCountryCode,
53
+ PhoneNumberType,
47
54
  PredefinedAttribute,
48
55
  Prompt,
49
56
  Queue,
50
57
  QueueStatus,
51
58
  QuickConnect,
52
59
  RoutingProfile,
53
- SearchCriteria,
54
60
  SignInConfig,
55
- SortableFieldName,
56
61
  SortOrder,
57
62
  TelephonyConfig,
58
63
  } from "./models_1";
64
+ export interface ReplicateInstanceResponse {
65
+ Id?: string;
66
+ Arn?: string;
67
+ }
68
+ export interface ResumeContactRequest {
69
+ ContactId: string | undefined;
70
+ InstanceId: string | undefined;
71
+ ContactFlowId?: string;
72
+ }
73
+ export interface ResumeContactResponse {}
74
+ export interface ResumeContactRecordingRequest {
75
+ InstanceId: string | undefined;
76
+ ContactId: string | undefined;
77
+ InitialContactId: string | undefined;
78
+ }
79
+ export interface ResumeContactRecordingResponse {}
80
+ export interface SearchAvailablePhoneNumbersRequest {
81
+ TargetArn?: string;
82
+ InstanceId?: string;
83
+ PhoneNumberCountryCode: PhoneNumberCountryCode | undefined;
84
+ PhoneNumberType: PhoneNumberType | undefined;
85
+ PhoneNumberPrefix?: string;
86
+ MaxResults?: number;
87
+ NextToken?: string;
88
+ }
89
+ export interface AvailableNumberSummary {
90
+ PhoneNumber?: string;
91
+ PhoneNumberCountryCode?: PhoneNumberCountryCode;
92
+ PhoneNumberType?: PhoneNumberType;
93
+ }
94
+ export interface SearchAvailablePhoneNumbersResponse {
95
+ NextToken?: string;
96
+ AvailableNumbersList?: AvailableNumberSummary[];
97
+ }
98
+ export declare const SearchContactsMatchType: {
99
+ readonly MATCH_ALL: "MATCH_ALL";
100
+ readonly MATCH_ANY: "MATCH_ANY";
101
+ };
102
+ export type SearchContactsMatchType =
103
+ (typeof SearchContactsMatchType)[keyof typeof SearchContactsMatchType];
104
+ export interface TranscriptCriteria {
105
+ ParticipantRole: ParticipantRole | undefined;
106
+ SearchText: string[] | undefined;
107
+ MatchType: SearchContactsMatchType | undefined;
108
+ }
109
+ export interface Transcript {
110
+ Criteria: TranscriptCriteria[] | undefined;
111
+ MatchType?: SearchContactsMatchType;
112
+ }
113
+ export interface ContactAnalysis {
114
+ Transcript?: Transcript;
115
+ }
116
+ export interface SearchableContactAttributesCriteria {
117
+ Key: string | undefined;
118
+ Values: string[] | undefined;
119
+ }
120
+ export interface SearchableContactAttributes {
121
+ Criteria: SearchableContactAttributesCriteria[] | undefined;
122
+ MatchType?: SearchContactsMatchType;
123
+ }
124
+ export interface SearchCriteria {
125
+ AgentIds?: string[];
126
+ AgentHierarchyGroups?: AgentHierarchyGroups;
127
+ Channels?: Channel[];
128
+ ContactAnalysis?: ContactAnalysis;
129
+ InitiationMethods?: ContactInitiationMethod[];
130
+ QueueIds?: string[];
131
+ SearchableContactAttributes?: SearchableContactAttributes;
132
+ }
133
+ export declare const SortableFieldName: {
134
+ readonly CHANNEL: "CHANNEL";
135
+ readonly CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP";
136
+ readonly DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP";
137
+ readonly INITIATION_METHOD: "INITIATION_METHOD";
138
+ readonly INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP";
139
+ readonly SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP";
140
+ };
141
+ export type SortableFieldName =
142
+ (typeof SortableFieldName)[keyof typeof SortableFieldName];
59
143
  export interface Sort {
60
144
  FieldName: SortableFieldName | undefined;
61
145
  Order: SortOrder | undefined;
@@ -326,6 +410,30 @@ export interface SendChatIntegrationEventResponse {
326
410
  InitialContactId?: string;
327
411
  NewChatCreated?: boolean;
328
412
  }
413
+ export interface StartAttachedFileUploadRequest {
414
+ ClientToken?: string;
415
+ InstanceId: string | undefined;
416
+ FileName: string | undefined;
417
+ FileSizeInBytes: number | undefined;
418
+ UrlExpiryInSeconds?: number;
419
+ FileUseCaseType: FileUseCaseType | undefined;
420
+ AssociatedResourceArn: string | undefined;
421
+ CreatedBy?: CreatedByInfo;
422
+ Tags?: Record<string, string>;
423
+ }
424
+ export interface UploadUrlMetadata {
425
+ Url?: string;
426
+ UrlExpiry?: string;
427
+ HeadersToInclude?: Record<string, string>;
428
+ }
429
+ export interface StartAttachedFileUploadResponse {
430
+ FileArn?: string;
431
+ FileId?: string;
432
+ CreationTime?: string;
433
+ FileStatus?: FileStatusType;
434
+ CreatedBy?: CreatedByInfo;
435
+ UploadUrlMetadata?: UploadUrlMetadata;
436
+ }
329
437
  export interface ChatMessage {
330
438
  ContentType: string | undefined;
331
439
  Content: string | undefined;
@@ -1162,6 +1270,22 @@ export interface SearchUsersRequest {
1162
1270
  SearchFilter?: UserSearchFilter;
1163
1271
  SearchCriteria?: UserSearchCriteria;
1164
1272
  }
1273
+ export declare const TranscriptCriteriaFilterSensitiveLog: (
1274
+ obj: TranscriptCriteria
1275
+ ) => any;
1276
+ export declare const TranscriptFilterSensitiveLog: (obj: Transcript) => any;
1277
+ export declare const ContactAnalysisFilterSensitiveLog: (
1278
+ obj: ContactAnalysis
1279
+ ) => any;
1280
+ export declare const SearchableContactAttributesCriteriaFilterSensitiveLog: (
1281
+ obj: SearchableContactAttributesCriteria
1282
+ ) => any;
1283
+ export declare const SearchableContactAttributesFilterSensitiveLog: (
1284
+ obj: SearchableContactAttributes
1285
+ ) => any;
1286
+ export declare const SearchCriteriaFilterSensitiveLog: (
1287
+ obj: SearchCriteria
1288
+ ) => any;
1165
1289
  export declare const SearchContactsRequestFilterSensitiveLog: (
1166
1290
  obj: SearchContactsRequest
1167
1291
  ) => any;