@aws-sdk/client-connect 3.1083.0 → 3.1084.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist-cjs/index.js +57 -3
- package/dist-es/Connect.js +2 -0
- package/dist-es/commands/DeleteContactDataCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +5 -0
- package/dist-es/models/errors.js +14 -0
- package/dist-es/schemas/schemas_0.js +28 -3
- package/dist-types/Connect.d.ts +7 -0
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/DeleteContactDataCommand.d.ts +102 -0
- package/dist-types/commands/GetFlowAssociationCommand.d.ts +1 -1
- package/dist-types/commands/SearchContactsCommand.d.ts +1 -1
- package/dist-types/commands/SearchPromptsCommand.d.ts +2 -1
- package/dist-types/commands/SearchQueuesCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/errors.d.ts +15 -0
- package/dist-types/models/models_1.d.ts +30 -52
- package/dist-types/models/models_2.d.ts +52 -54
- package/dist-types/models/models_3.d.ts +54 -68
- package/dist-types/models/models_4.d.ts +68 -2
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/Connect.d.ts +17 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DeleteContactDataCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetFlowAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/dist-types/ts3.4/models/models_1.d.ts +7 -10
- package/dist-types/ts3.4/models/models_2.d.ts +11 -12
- package/dist-types/ts3.4/models/models_3.d.ts +15 -14
- package/dist-types/ts3.4/models/models_4.d.ts +19 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +1 -1
|
@@ -71,6 +71,7 @@ export * from "./CreateWorkspaceCommand";
|
|
|
71
71
|
export * from "./CreateWorkspacePageCommand";
|
|
72
72
|
export * from "./DeactivateEvaluationFormCommand";
|
|
73
73
|
export * from "./DeleteAttachedFileCommand";
|
|
74
|
+
export * from "./DeleteContactDataCommand";
|
|
74
75
|
export * from "./DeleteContactEvaluationCommand";
|
|
75
76
|
export * from "./DeleteContactFlowCommand";
|
|
76
77
|
export * from "./DeleteContactFlowModuleAliasCommand";
|
|
@@ -744,6 +744,12 @@ export declare const WorkspaceFontFamily: {
|
|
|
744
744
|
};
|
|
745
745
|
export type WorkspaceFontFamily =
|
|
746
746
|
(typeof WorkspaceFontFamily)[keyof typeof WorkspaceFontFamily];
|
|
747
|
+
export declare const ContactField: {
|
|
748
|
+
readonly ADDITIONAL_EMAIL_RECIPIENTS: "ADDITIONAL_EMAIL_RECIPIENTS";
|
|
749
|
+
readonly CUSTOMER_ENDPOINT: "CUSTOMER_ENDPOINT";
|
|
750
|
+
readonly EMAIL_SUBJECT: "EMAIL_SUBJECT";
|
|
751
|
+
};
|
|
752
|
+
export type ContactField = (typeof ContactField)[keyof typeof ContactField];
|
|
747
753
|
export declare const MediaType: {
|
|
748
754
|
readonly IMAGE_LOGO_DARK_FAVICON: "IMAGE_LOGO_DARK_FAVICON";
|
|
749
755
|
readonly IMAGE_LOGO_DARK_HORIZONTAL: "IMAGE_LOGO_DARK_HORIZONTAL";
|
|
@@ -176,6 +176,14 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
176
176
|
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
177
177
|
);
|
|
178
178
|
}
|
|
179
|
+
export declare class ContactNotTerminatedException extends __BaseException {
|
|
180
|
+
readonly name: "ContactNotTerminatedException";
|
|
181
|
+
readonly $fault: "client";
|
|
182
|
+
Message?: string | undefined;
|
|
183
|
+
constructor(
|
|
184
|
+
opts: __ExceptionOptionType<ContactNotTerminatedException, __BaseException>
|
|
185
|
+
);
|
|
186
|
+
}
|
|
179
187
|
export declare class ContactFlowNotPublishedException extends __BaseException {
|
|
180
188
|
readonly name: "ContactFlowNotPublishedException";
|
|
181
189
|
readonly $fault: "client";
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
AttachmentScope,
|
|
4
4
|
AutoEvaluationStatus,
|
|
5
5
|
Channel,
|
|
6
|
+
ContactField,
|
|
6
7
|
ContactFlowModuleState,
|
|
7
8
|
ContactFlowModuleStatus,
|
|
8
9
|
ContactFlowState,
|
|
@@ -262,6 +263,12 @@ export interface DeleteAttachedFileRequest {
|
|
|
262
263
|
AssociatedResourceArn: string | undefined;
|
|
263
264
|
}
|
|
264
265
|
export interface DeleteAttachedFileResponse {}
|
|
266
|
+
export interface DeleteContactDataRequest {
|
|
267
|
+
InstanceId: string | undefined;
|
|
268
|
+
ContactId: string | undefined;
|
|
269
|
+
ContactFields: ContactField[] | undefined;
|
|
270
|
+
}
|
|
271
|
+
export interface DeleteContactDataResponse {}
|
|
265
272
|
export interface DeleteContactEvaluationRequest {
|
|
266
273
|
InstanceId: string | undefined;
|
|
267
274
|
EvaluationId: string | undefined;
|
|
@@ -1766,13 +1773,3 @@ export interface GetFederationTokenResponse {
|
|
|
1766
1773
|
Credentials?: Credentials | undefined;
|
|
1767
1774
|
SignInUrl?: string | undefined;
|
|
1768
1775
|
}
|
|
1769
|
-
export interface GetFlowAssociationRequest {
|
|
1770
|
-
InstanceId: string | undefined;
|
|
1771
|
-
ResourceId: string | undefined;
|
|
1772
|
-
ResourceType: FlowAssociationResourceType | undefined;
|
|
1773
|
-
}
|
|
1774
|
-
export interface GetFlowAssociationResponse {
|
|
1775
|
-
ResourceId?: string | undefined;
|
|
1776
|
-
FlowId?: string | undefined;
|
|
1777
|
-
ResourceType?: FlowAssociationResourceType | undefined;
|
|
1778
|
-
}
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
EventSourceName,
|
|
27
27
|
ExecutionRecordStatus,
|
|
28
28
|
FilterV2StringConditionComparisonOperator,
|
|
29
|
+
FlowAssociationResourceType,
|
|
29
30
|
Grouping,
|
|
30
31
|
HistoricalMetricName,
|
|
31
32
|
InstanceStatus,
|
|
@@ -114,6 +115,16 @@ import {
|
|
|
114
115
|
HoursOfOperationsIdentifier,
|
|
115
116
|
Notification,
|
|
116
117
|
} from "./models_1";
|
|
118
|
+
export interface GetFlowAssociationRequest {
|
|
119
|
+
InstanceId: string | undefined;
|
|
120
|
+
ResourceId: string | undefined;
|
|
121
|
+
ResourceType: FlowAssociationResourceType | undefined;
|
|
122
|
+
}
|
|
123
|
+
export interface GetFlowAssociationResponse {
|
|
124
|
+
ResourceId?: string | undefined;
|
|
125
|
+
FlowId?: string | undefined;
|
|
126
|
+
ResourceType?: FlowAssociationResourceType | undefined;
|
|
127
|
+
}
|
|
117
128
|
export interface Threshold {
|
|
118
129
|
Comparison?: Comparison | undefined;
|
|
119
130
|
ThresholdValue?: number | undefined;
|
|
@@ -2020,15 +2031,3 @@ export interface Sort {
|
|
|
2020
2031
|
FieldName: SortableFieldName | undefined;
|
|
2021
2032
|
Order: SortOrder | undefined;
|
|
2022
2033
|
}
|
|
2023
|
-
export interface SearchContactsRequest {
|
|
2024
|
-
InstanceId: string | undefined;
|
|
2025
|
-
TimeRange: SearchContactsTimeRange | undefined;
|
|
2026
|
-
SearchCriteria?: SearchCriteria | undefined;
|
|
2027
|
-
MaxResults?: number | undefined;
|
|
2028
|
-
NextToken?: string | undefined;
|
|
2029
|
-
Sort?: Sort | undefined;
|
|
2030
|
-
}
|
|
2031
|
-
export interface ContactSearchSummaryAgentInfo {
|
|
2032
|
-
Id?: string | undefined;
|
|
2033
|
-
ConnectedToAgentTimestamp?: Date | undefined;
|
|
2034
|
-
}
|
|
@@ -134,9 +134,24 @@ import {
|
|
|
134
134
|
DecimalCondition,
|
|
135
135
|
EvaluationSearchFilter,
|
|
136
136
|
NumberCondition,
|
|
137
|
+
SearchContactsTimeRange,
|
|
138
|
+
SearchCriteria,
|
|
137
139
|
SignInConfig,
|
|
140
|
+
Sort,
|
|
138
141
|
TelephonyConfig,
|
|
139
142
|
} from "./models_2";
|
|
143
|
+
export interface SearchContactsRequest {
|
|
144
|
+
InstanceId: string | undefined;
|
|
145
|
+
TimeRange: SearchContactsTimeRange | undefined;
|
|
146
|
+
SearchCriteria?: SearchCriteria | undefined;
|
|
147
|
+
MaxResults?: number | undefined;
|
|
148
|
+
NextToken?: string | undefined;
|
|
149
|
+
Sort?: Sort | undefined;
|
|
150
|
+
}
|
|
151
|
+
export interface ContactSearchSummaryAgentInfo {
|
|
152
|
+
Id?: string | undefined;
|
|
153
|
+
ConnectedToAgentTimestamp?: Date | undefined;
|
|
154
|
+
}
|
|
140
155
|
export interface ContactSearchSummaryAiAgentInfo {
|
|
141
156
|
AiAgentVersionId?: string | undefined;
|
|
142
157
|
AiAgentEscalated?: boolean | undefined;
|
|
@@ -1721,17 +1736,3 @@ export interface SearchPredefinedAttributesRequest {
|
|
|
1721
1736
|
MaxResults?: number | undefined;
|
|
1722
1737
|
SearchCriteria?: PredefinedAttributeSearchCriteria | undefined;
|
|
1723
1738
|
}
|
|
1724
|
-
export interface SearchPromptsRequest {
|
|
1725
|
-
InstanceId: string | undefined;
|
|
1726
|
-
NextToken?: string | undefined;
|
|
1727
|
-
MaxResults?: number | undefined;
|
|
1728
|
-
SearchFilter?: PromptSearchFilter | undefined;
|
|
1729
|
-
SearchCriteria?: PromptSearchCriteria | undefined;
|
|
1730
|
-
}
|
|
1731
|
-
export interface SearchQueuesRequest {
|
|
1732
|
-
InstanceId: string | undefined;
|
|
1733
|
-
NextToken?: string | undefined;
|
|
1734
|
-
MaxResults?: number | undefined;
|
|
1735
|
-
SearchFilter?: QueueSearchFilter | undefined;
|
|
1736
|
-
SearchCriteria?: QueueSearchCriteria | undefined;
|
|
1737
|
-
}
|
|
@@ -41,9 +41,9 @@ import {
|
|
|
41
41
|
TaskTemplateInfoV2,
|
|
42
42
|
WisdomInfo,
|
|
43
43
|
} from "./models_1";
|
|
44
|
-
import { ContactSearchSummaryAgentInfo } from "./models_2";
|
|
45
44
|
import {
|
|
46
45
|
ChatMessage,
|
|
46
|
+
ContactSearchSummaryAgentInfo,
|
|
47
47
|
ContactSearchSummaryAiAgentInfo,
|
|
48
48
|
ContactSearchSummaryQueueInfo,
|
|
49
49
|
EmailAddressInfo,
|
|
@@ -55,7 +55,11 @@ import {
|
|
|
55
55
|
ParticipantConfiguration,
|
|
56
56
|
ParticipantDetails,
|
|
57
57
|
PersistentChat,
|
|
58
|
+
PromptSearchCriteria,
|
|
59
|
+
PromptSearchFilter,
|
|
58
60
|
QueueInfoInput,
|
|
61
|
+
QueueSearchCriteria,
|
|
62
|
+
QueueSearchFilter,
|
|
59
63
|
QuickConnectSearchCriteria,
|
|
60
64
|
QuickConnectSearchFilter,
|
|
61
65
|
RoutingCriteriaInputStep,
|
|
@@ -79,6 +83,20 @@ import {
|
|
|
79
83
|
WorkspaceSearchCriteria,
|
|
80
84
|
WorkspaceSearchFilter,
|
|
81
85
|
} from "./models_3";
|
|
86
|
+
export interface SearchPromptsRequest {
|
|
87
|
+
InstanceId: string | undefined;
|
|
88
|
+
NextToken?: string | undefined;
|
|
89
|
+
MaxResults?: number | undefined;
|
|
90
|
+
SearchFilter?: PromptSearchFilter | undefined;
|
|
91
|
+
SearchCriteria?: PromptSearchCriteria | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface SearchQueuesRequest {
|
|
94
|
+
InstanceId: string | undefined;
|
|
95
|
+
NextToken?: string | undefined;
|
|
96
|
+
MaxResults?: number | undefined;
|
|
97
|
+
SearchFilter?: QueueSearchFilter | undefined;
|
|
98
|
+
SearchCriteria?: QueueSearchCriteria | undefined;
|
|
99
|
+
}
|
|
82
100
|
export interface SearchQuickConnectsRequest {
|
|
83
101
|
InstanceId: string | undefined;
|
|
84
102
|
NextToken?: string | undefined;
|
|
@@ -11,6 +11,7 @@ export declare var ConditionalOperationFailedException$: StaticErrorSchema;
|
|
|
11
11
|
export declare var ConflictException$: StaticErrorSchema;
|
|
12
12
|
export declare var ContactFlowNotPublishedException$: StaticErrorSchema;
|
|
13
13
|
export declare var ContactNotFoundException$: StaticErrorSchema;
|
|
14
|
+
export declare var ContactNotTerminatedException$: StaticErrorSchema;
|
|
14
15
|
export declare var DestinationNotAllowedException$: StaticErrorSchema;
|
|
15
16
|
export declare var DuplicateResourceException$: StaticErrorSchema;
|
|
16
17
|
export declare var IdempotencyException$: StaticErrorSchema;
|
|
@@ -307,6 +308,8 @@ export declare var DecimalCondition$: StaticStructureSchema;
|
|
|
307
308
|
export declare var DefaultVocabulary$: StaticStructureSchema;
|
|
308
309
|
export declare var DeleteAttachedFileRequest$: StaticStructureSchema;
|
|
309
310
|
export declare var DeleteAttachedFileResponse$: StaticStructureSchema;
|
|
311
|
+
export declare var DeleteContactDataRequest$: StaticStructureSchema;
|
|
312
|
+
export declare var DeleteContactDataResponse$: StaticStructureSchema;
|
|
310
313
|
export declare var DeleteContactEvaluationRequest$: StaticStructureSchema;
|
|
311
314
|
export declare var DeleteContactFlowModuleAliasRequest$: StaticStructureSchema;
|
|
312
315
|
export declare var DeleteContactFlowModuleAliasResponse$: StaticStructureSchema;
|
|
@@ -1340,6 +1343,7 @@ export declare var CreateWorkspace$: StaticOperationSchema;
|
|
|
1340
1343
|
export declare var CreateWorkspacePage$: StaticOperationSchema;
|
|
1341
1344
|
export declare var DeactivateEvaluationForm$: StaticOperationSchema;
|
|
1342
1345
|
export declare var DeleteAttachedFile$: StaticOperationSchema;
|
|
1346
|
+
export declare var DeleteContactData$: StaticOperationSchema;
|
|
1343
1347
|
export declare var DeleteContactEvaluation$: StaticOperationSchema;
|
|
1344
1348
|
export declare var DeleteContactFlow$: StaticOperationSchema;
|
|
1345
1349
|
export declare var DeleteContactFlowModule$: StaticOperationSchema;
|
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.
|
|
4
|
+
"version": "3.1084.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|