@aws-sdk/client-connect 3.1152.0 → 3.1153.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/dist-cjs/index.js +11 -3
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +4 -2
- package/dist-types/commands/BatchGetAttachedFileMetadataCommand.d.ts +1 -1
- package/dist-types/commands/CreateAttachedFileCommand.d.ts +1 -1
- package/dist-types/commands/GetAttachedFileCommand.d.ts +2 -1
- package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_2.d.ts +17 -1
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_2.d.ts +2 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1152.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -3314,6 +3314,7 @@ const _UCAR = "UpdateContactAttributesRequest";
|
|
|
3314
3314
|
const _UCARp = "UpdateContactAttributesResponse";
|
|
3315
3315
|
const _UCAp = "UpdateCaseAction";
|
|
3316
3316
|
const _UCApd = "UpdateContactAttributes";
|
|
3317
|
+
const _UCD = "UrlContentDisposition";
|
|
3317
3318
|
const _UCE = "UpdateContactEvaluation";
|
|
3318
3319
|
const _UCER = "UpdateContactEvaluationRequest";
|
|
3319
3320
|
const _UCERp = "UpdateContactEvaluationResponse";
|
|
@@ -3675,6 +3676,7 @@ const _tKa = "tagKeys";
|
|
|
3675
3676
|
const _tV = "tagValue";
|
|
3676
3677
|
const _tVCT = "tagValueComparisonType";
|
|
3677
3678
|
const _ta = "tags";
|
|
3679
|
+
const _uCD = "urlContentDisposition";
|
|
3678
3680
|
const _uEIS = "urlExpiryInSeconds";
|
|
3679
3681
|
const _v = "version";
|
|
3680
3682
|
const _va = "value";
|
|
@@ -6694,8 +6696,8 @@ var FontFamily$ = [3, n0, _FF,
|
|
|
6694
6696
|
];
|
|
6695
6697
|
var GetAttachedFileRequest$ = [3, n0, _GAFR,
|
|
6696
6698
|
0,
|
|
6697
|
-
[_II, _FIi, _ARA, _UEIS],
|
|
6698
|
-
[[0, 1], [0, 1], [0, { [_hQ]: _aRA }], [1, { [_hQ]: _uEIS }]], 3
|
|
6699
|
+
[_II, _FIi, _ARA, _UEIS, _UCD],
|
|
6700
|
+
[[0, 1], [0, 1], [0, { [_hQ]: _aRA }], [1, { [_hQ]: _uEIS }], [0, { [_hQ]: _uCD }]], 3
|
|
6699
6701
|
];
|
|
6700
6702
|
var GetAttachedFileResponse$ = [3, n0, _GAFRe,
|
|
6701
6703
|
0,
|
|
@@ -14762,6 +14764,7 @@ const EntityType = {
|
|
|
14762
14764
|
};
|
|
14763
14765
|
const FileStatusType = {
|
|
14764
14766
|
APPROVED: "APPROVED",
|
|
14767
|
+
DRAFTING: "DRAFTING",
|
|
14765
14768
|
FAILED: "FAILED",
|
|
14766
14769
|
PROCESSING: "PROCESSING",
|
|
14767
14770
|
REJECTED: "REJECTED",
|
|
@@ -15667,6 +15670,10 @@ const Visibility = {
|
|
|
15667
15670
|
Assigned: "ASSIGNED",
|
|
15668
15671
|
None: "NONE",
|
|
15669
15672
|
};
|
|
15673
|
+
const ContentDisposition = {
|
|
15674
|
+
ATTACHMENT: "ATTACHMENT",
|
|
15675
|
+
INLINE: "INLINE",
|
|
15676
|
+
};
|
|
15670
15677
|
const ContactMetricName = {
|
|
15671
15678
|
ESTIMATED_WAIT_TIME: "ESTIMATED_WAIT_TIME",
|
|
15672
15679
|
POSITION_IN_QUEUE: "POSITION_IN_QUEUE",
|
|
@@ -16312,6 +16319,7 @@ exports.ContactSearchSummaryQueueInfo$ = ContactSearchSummaryQueueInfo$;
|
|
|
16312
16319
|
exports.ContactSearchSummarySegmentAttributeValue$ = ContactSearchSummarySegmentAttributeValue$;
|
|
16313
16320
|
exports.ContactState = ContactState;
|
|
16314
16321
|
exports.ContentAttributes$ = ContentAttributes$;
|
|
16322
|
+
exports.ContentDisposition = ContentDisposition;
|
|
16315
16323
|
exports.ControlPlaneAttributeFilter$ = ControlPlaneAttributeFilter$;
|
|
16316
16324
|
exports.ControlPlaneTagFilter$ = ControlPlaneTagFilter$;
|
|
16317
16325
|
exports.ControlPlaneUserAttributeFilter$ = ControlPlaneUserAttributeFilter$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -179,6 +179,7 @@ export const EntityType = {
|
|
|
179
179
|
};
|
|
180
180
|
export const FileStatusType = {
|
|
181
181
|
APPROVED: "APPROVED",
|
|
182
|
+
DRAFTING: "DRAFTING",
|
|
182
183
|
FAILED: "FAILED",
|
|
183
184
|
PROCESSING: "PROCESSING",
|
|
184
185
|
REJECTED: "REJECTED",
|
|
@@ -1084,6 +1085,10 @@ export const Visibility = {
|
|
|
1084
1085
|
Assigned: "ASSIGNED",
|
|
1085
1086
|
None: "NONE",
|
|
1086
1087
|
};
|
|
1088
|
+
export const ContentDisposition = {
|
|
1089
|
+
ATTACHMENT: "ATTACHMENT",
|
|
1090
|
+
INLINE: "INLINE",
|
|
1091
|
+
};
|
|
1087
1092
|
export const ContactMetricName = {
|
|
1088
1093
|
ESTIMATED_WAIT_TIME: "ESTIMATED_WAIT_TIME",
|
|
1089
1094
|
POSITION_IN_QUEUE: "POSITION_IN_QUEUE",
|
|
@@ -2724,6 +2724,7 @@ const _UCAR = "UpdateContactAttributesRequest";
|
|
|
2724
2724
|
const _UCARp = "UpdateContactAttributesResponse";
|
|
2725
2725
|
const _UCAp = "UpdateCaseAction";
|
|
2726
2726
|
const _UCApd = "UpdateContactAttributes";
|
|
2727
|
+
const _UCD = "UrlContentDisposition";
|
|
2727
2728
|
const _UCE = "UpdateContactEvaluation";
|
|
2728
2729
|
const _UCER = "UpdateContactEvaluationRequest";
|
|
2729
2730
|
const _UCERp = "UpdateContactEvaluationResponse";
|
|
@@ -3085,6 +3086,7 @@ const _tKa = "tagKeys";
|
|
|
3085
3086
|
const _tV = "tagValue";
|
|
3086
3087
|
const _tVCT = "tagValueComparisonType";
|
|
3087
3088
|
const _ta = "tags";
|
|
3089
|
+
const _uCD = "urlContentDisposition";
|
|
3088
3090
|
const _uEIS = "urlExpiryInSeconds";
|
|
3089
3091
|
const _v = "version";
|
|
3090
3092
|
const _va = "value";
|
|
@@ -6107,8 +6109,8 @@ export var FontFamily$ = [3, n0, _FF,
|
|
|
6107
6109
|
];
|
|
6108
6110
|
export var GetAttachedFileRequest$ = [3, n0, _GAFR,
|
|
6109
6111
|
0,
|
|
6110
|
-
[_II, _FIi, _ARA, _UEIS],
|
|
6111
|
-
[[0, 1], [0, 1], [0, { [_hQ]: _aRA }], [1, { [_hQ]: _uEIS }]], 3
|
|
6112
|
+
[_II, _FIi, _ARA, _UEIS, _UCD],
|
|
6113
|
+
[[0, 1], [0, 1], [0, { [_hQ]: _aRA }], [1, { [_hQ]: _uEIS }], [0, { [_hQ]: _uCD }]], 3
|
|
6112
6114
|
];
|
|
6113
6115
|
export var GetAttachedFileResponse$ = [3, n0, _GAFRe,
|
|
6114
6116
|
0,
|
|
@@ -51,7 +51,7 @@ declare const BatchGetAttachedFileMetadataCommand_base: {
|
|
|
51
51
|
* // FileId: "STRING_VALUE", // required
|
|
52
52
|
* // FileName: "STRING_VALUE", // required
|
|
53
53
|
* // FileSizeInBytes: Number("long"), // required
|
|
54
|
-
* // FileStatus: "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED", // required
|
|
54
|
+
* // FileStatus: "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED" || "DRAFTING", // required
|
|
55
55
|
* // CreatedBy: { // CreatedByInfo Union: only one key present
|
|
56
56
|
* // ConnectUserArn: "STRING_VALUE",
|
|
57
57
|
* // AWSIdentityArn: "STRING_VALUE",
|
|
@@ -60,7 +60,7 @@ declare const CreateAttachedFileCommand_base: {
|
|
|
60
60
|
* // FileArn: "STRING_VALUE",
|
|
61
61
|
* // FileId: "STRING_VALUE",
|
|
62
62
|
* // CreationTime: "STRING_VALUE",
|
|
63
|
-
* // FileStatus: "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED",
|
|
63
|
+
* // FileStatus: "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED" || "DRAFTING",
|
|
64
64
|
* // };
|
|
65
65
|
*
|
|
66
66
|
* ```
|
|
@@ -39,6 +39,7 @@ declare const GetAttachedFileCommand_base: {
|
|
|
39
39
|
* FileId: "STRING_VALUE", // required
|
|
40
40
|
* UrlExpiryInSeconds: Number("int"),
|
|
41
41
|
* AssociatedResourceArn: "STRING_VALUE", // required
|
|
42
|
+
* UrlContentDisposition: "INLINE" || "ATTACHMENT",
|
|
42
43
|
* };
|
|
43
44
|
* const command = new GetAttachedFileCommand(input);
|
|
44
45
|
* const response = await client.send(command);
|
|
@@ -46,7 +47,7 @@ declare const GetAttachedFileCommand_base: {
|
|
|
46
47
|
* // FileArn: "STRING_VALUE",
|
|
47
48
|
* // FileId: "STRING_VALUE",
|
|
48
49
|
* // CreationTime: "STRING_VALUE",
|
|
49
|
-
* // FileStatus: "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED",
|
|
50
|
+
* // FileStatus: "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED" || "DRAFTING",
|
|
50
51
|
* // FileName: "STRING_VALUE",
|
|
51
52
|
* // FileSizeInBytes: Number("long"), // required
|
|
52
53
|
* // AssociatedResourceArn: "STRING_VALUE",
|
|
@@ -59,7 +59,7 @@ declare const StartAttachedFileUploadCommand_base: {
|
|
|
59
59
|
* // FileArn: "STRING_VALUE",
|
|
60
60
|
* // FileId: "STRING_VALUE",
|
|
61
61
|
* // CreationTime: "STRING_VALUE",
|
|
62
|
-
* // FileStatus: "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED",
|
|
62
|
+
* // FileStatus: "APPROVED" || "REJECTED" || "PROCESSING" || "FAILED" || "DRAFTING",
|
|
63
63
|
* // CreatedBy: { // CreatedByInfo Union: only one key present
|
|
64
64
|
* // ConnectUserArn: "STRING_VALUE",
|
|
65
65
|
* // AWSIdentityArn: "STRING_VALUE",
|
|
@@ -391,6 +391,7 @@ export type EntityType = (typeof EntityType)[keyof typeof EntityType];
|
|
|
391
391
|
*/
|
|
392
392
|
export declare const FileStatusType: {
|
|
393
393
|
readonly APPROVED: "APPROVED";
|
|
394
|
+
readonly DRAFTING: "DRAFTING";
|
|
394
395
|
readonly FAILED: "FAILED";
|
|
395
396
|
readonly PROCESSING: "PROCESSING";
|
|
396
397
|
readonly REJECTED: "REJECTED";
|
|
@@ -2212,6 +2213,18 @@ export declare const Visibility: {
|
|
|
2212
2213
|
* @public
|
|
2213
2214
|
*/
|
|
2214
2215
|
export type Visibility = (typeof Visibility)[keyof typeof Visibility];
|
|
2216
|
+
/**
|
|
2217
|
+
* @public
|
|
2218
|
+
* @enum
|
|
2219
|
+
*/
|
|
2220
|
+
export declare const ContentDisposition: {
|
|
2221
|
+
readonly ATTACHMENT: "ATTACHMENT";
|
|
2222
|
+
readonly INLINE: "INLINE";
|
|
2223
|
+
};
|
|
2224
|
+
/**
|
|
2225
|
+
* @public
|
|
2226
|
+
*/
|
|
2227
|
+
export type ContentDisposition = (typeof ContentDisposition)[keyof typeof ContentDisposition];
|
|
2215
2228
|
/**
|
|
2216
2229
|
* @public
|
|
2217
2230
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgentStatusType, AnalyticsMode, ArtifactStatus, AttachmentScope, AutoEvaluationStatus, Channel, Comparison, ContactFlowModuleState, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactMetricName, ContactState, CurrentMetricName, DataTableAttributeValueType, DirectoryType, EntityType, EvaluationFormAIVersionStatus, EvaluationFormValidationFindingSeverity, EvaluationFormValidationStatus, EvaluationFormVersionStatus, EvaluationStatus, EvaluationType, EventSourceName, ExecutionRecordStatus, FileStatusType, FileUseCaseType, FilterV2StringConditionComparisonOperator, FlowAssociationResourceType, Grouping, HistoricalMetricName, InstanceStatus, InstanceStorageResourceType, IntegrationType, IntervalPeriod, LexVersion, ListFlowAssociationResourceType, LocaleCode, MediaType, MetricStatus, MetricType, NotificationPriority, NotificationSource, NotificationStatus, OperationalStatus, ParticipantRole, PhoneNumberCountryCode, PhoneNumberType, QueueType, QuickConnectType, RealTimeContactAnalysisExtractedInformationFailureCode, RealTimeContactAnalysisOutputType, RealTimeContactAnalysisPostContactSummaryFailureCode, RealTimeContactAnalysisPostContactSummaryStatus, RealTimeContactAnalysisSegmentType, RealTimeContactAnalysisSentimentLabel, RealTimeContactAnalysisStatus, RealTimeContactAnalysisSupportedChannel, ReferenceStatus, ReferenceType, RuleCapabilityTier, RulePublishStatus, SortOrder, SourceType, Statistic, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, ViewStatus, ViewType, VocabularyLanguageCode } from "./enums";
|
|
1
|
+
import type { AgentStatusType, AnalyticsMode, ArtifactStatus, AttachmentScope, AutoEvaluationStatus, Channel, Comparison, ContactFlowModuleState, ContactFlowState, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ContactInteractionType, ContactMetricName, ContactState, ContentDisposition, CurrentMetricName, DataTableAttributeValueType, DirectoryType, EntityType, EvaluationFormAIVersionStatus, EvaluationFormValidationFindingSeverity, EvaluationFormValidationStatus, EvaluationFormVersionStatus, EvaluationStatus, EvaluationType, EventSourceName, ExecutionRecordStatus, FileStatusType, FileUseCaseType, FilterV2StringConditionComparisonOperator, FlowAssociationResourceType, Grouping, HistoricalMetricName, InstanceStatus, InstanceStorageResourceType, IntegrationType, IntervalPeriod, LexVersion, ListFlowAssociationResourceType, LocaleCode, MediaType, MetricStatus, MetricType, NotificationPriority, NotificationSource, NotificationStatus, OperationalStatus, ParticipantRole, PhoneNumberCountryCode, PhoneNumberType, QueueType, QuickConnectType, RealTimeContactAnalysisExtractedInformationFailureCode, RealTimeContactAnalysisOutputType, RealTimeContactAnalysisPostContactSummaryFailureCode, RealTimeContactAnalysisPostContactSummaryStatus, RealTimeContactAnalysisSegmentType, RealTimeContactAnalysisSentimentLabel, RealTimeContactAnalysisStatus, RealTimeContactAnalysisSupportedChannel, ReferenceStatus, ReferenceType, RuleCapabilityTier, RulePublishStatus, SortOrder, SourceType, Statistic, TaskTemplateStatus, TestCaseExecutionStatus, TestCaseStatus, TrafficDistributionGroupStatus, Unit, UseCaseType, ViewStatus, ViewType, VocabularyLanguageCode } from "./enums";
|
|
2
2
|
import type { ActionSummary, AgentConfig, AgentContactReference, AgentStatusIdentifier, AgentStatusReference, AgentStatusSummary, AIAgent, AnalyticsDataAssociationResult, Application, CreatedByInfo, DataTableLockVersion, Distribution, FlowAssociationSummary, FlowModule, InstanceStorageConfig, LexBot, LexV2Bot, OverrideTimeSlice, PrimaryValueResponse, QueueReference, SecurityProfileItem, UserProficiency } from "./models_0";
|
|
3
3
|
import type { Attribute, DataTableAttribute, DataTableEvaluatedValue, EvaluationContactParticipant, EvaluationScore, ExtensionConfiguration, HierarchyGroupSummary, HoursOfOperationOverride, HoursOfOperationsIdentifier, Notification, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField } from "./models_1";
|
|
4
4
|
/**
|
|
@@ -44,6 +44,22 @@ export interface GetAttachedFileRequest {
|
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
46
46
|
AssociatedResourceArn: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* <p>Specifies how a browser handles the file at the pre-signed URL. The valid values are the
|
|
49
|
+
* following:</p>
|
|
50
|
+
* <dl>
|
|
51
|
+
* <dt>INLINE</dt>
|
|
52
|
+
* <dd>
|
|
53
|
+
* <p>Displays the file in the browser.</p>
|
|
54
|
+
* </dd>
|
|
55
|
+
* <dt>ATTACHMENT</dt>
|
|
56
|
+
* <dd>
|
|
57
|
+
* <p>Downloads the file. This is the default.</p>
|
|
58
|
+
* </dd>
|
|
59
|
+
* </dl>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
UrlContentDisposition?: ContentDisposition | undefined;
|
|
47
63
|
}
|
|
48
64
|
/**
|
|
49
65
|
* <p>Metadata used to download the attached file.</p>
|
|
@@ -213,6 +213,7 @@ export declare const EntityType: {
|
|
|
213
213
|
export type EntityType = (typeof EntityType)[keyof typeof EntityType];
|
|
214
214
|
export declare const FileStatusType: {
|
|
215
215
|
readonly APPROVED: "APPROVED";
|
|
216
|
+
readonly DRAFTING: "DRAFTING";
|
|
216
217
|
readonly FAILED: "FAILED";
|
|
217
218
|
readonly PROCESSING: "PROCESSING";
|
|
218
219
|
readonly REJECTED: "REJECTED";
|
|
@@ -1283,6 +1284,11 @@ export declare const Visibility: {
|
|
|
1283
1284
|
readonly None: "NONE";
|
|
1284
1285
|
};
|
|
1285
1286
|
export type Visibility = (typeof Visibility)[keyof typeof Visibility];
|
|
1287
|
+
export declare const ContentDisposition: {
|
|
1288
|
+
readonly ATTACHMENT: "ATTACHMENT";
|
|
1289
|
+
readonly INLINE: "INLINE";
|
|
1290
|
+
};
|
|
1291
|
+
export type ContentDisposition = (typeof ContentDisposition)[keyof typeof ContentDisposition];
|
|
1286
1292
|
export declare const ContactMetricName: {
|
|
1287
1293
|
readonly ESTIMATED_WAIT_TIME: "ESTIMATED_WAIT_TIME";
|
|
1288
1294
|
readonly POSITION_IN_QUEUE: "POSITION_IN_QUEUE";
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
ContactInteractionType,
|
|
15
15
|
ContactMetricName,
|
|
16
16
|
ContactState,
|
|
17
|
+
ContentDisposition,
|
|
17
18
|
CurrentMetricName,
|
|
18
19
|
DataTableAttributeValueType,
|
|
19
20
|
DirectoryType,
|
|
@@ -124,6 +125,7 @@ export interface GetAttachedFileRequest {
|
|
|
124
125
|
FileId: string | undefined;
|
|
125
126
|
UrlExpiryInSeconds?: number | undefined;
|
|
126
127
|
AssociatedResourceArn: string | undefined;
|
|
128
|
+
UrlContentDisposition?: ContentDisposition | undefined;
|
|
127
129
|
}
|
|
128
130
|
export interface DownloadUrlMetadata {
|
|
129
131
|
Url?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1153.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",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.4",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.87",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.
|
|
52
|
+
"@smithy/core": "^3.36.0",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|