@aws-sdk/client-connect 3.975.0 → 3.977.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 +13 -2
- package/dist-es/schemas/schemas_0.js +12 -2
- package/dist-types/commands/StartTaskContactCommand.d.ts +6 -0
- package/dist-types/models/models_3.d.ts +21 -0
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_3.d.ts +5 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -2777,6 +2777,8 @@ const _TACL = "TagAndConditionList";
|
|
|
2777
2777
|
const _TAD = "TaskActionDefinition";
|
|
2778
2778
|
const _TAI = "TargetAccountId";
|
|
2779
2779
|
const _TAa = "TaskAction";
|
|
2780
|
+
const _TAas = "TaskAttachment";
|
|
2781
|
+
const _TAask = "TaskAttachments";
|
|
2780
2782
|
const _TAe = "TextActive";
|
|
2781
2783
|
const _TAem = "TemplateAttributes";
|
|
2782
2784
|
const _TAo = "ToAddresses";
|
|
@@ -8039,8 +8041,8 @@ var StartScreenSharingResponse$ = [3, n0, _SSSRt,
|
|
|
8039
8041
|
];
|
|
8040
8042
|
var StartTaskContactRequest$ = [3, n0, _STCRt,
|
|
8041
8043
|
0,
|
|
8042
|
-
[_II, _N, _PCI, _CFI, _Attr, _Ref, _D, _CT, _STch, _TTIa, _QCIu, _RCI, _SAe],
|
|
8043
|
-
[0, [() => Name, 0], 0, 0, 128 | 0, () => ContactReferences, [() => Description, 0], [0, 4], 4, 0, 0, 0, () => SegmentAttributes], 2
|
|
8044
|
+
[_II, _N, _PCI, _CFI, _Attr, _Ref, _D, _CT, _STch, _TTIa, _QCIu, _RCI, _SAe, _Atta],
|
|
8045
|
+
[0, [() => Name, 0], 0, 0, 128 | 0, () => ContactReferences, [() => Description, 0], [0, 4], 4, 0, 0, 0, () => SegmentAttributes, [() => TaskAttachments, 0]], 2
|
|
8044
8046
|
];
|
|
8045
8047
|
var StartTaskContactResponse$ = [3, n0, _STCRta,
|
|
8046
8048
|
0,
|
|
@@ -8207,6 +8209,11 @@ var TaskActionDefinition$ = [3, n0, _TAD,
|
|
|
8207
8209
|
[_N, _CFI, _D, _Ref],
|
|
8208
8210
|
[0, 0, 0, () => ContactReferences], 2
|
|
8209
8211
|
];
|
|
8212
|
+
var TaskAttachment$ = [3, n0, _TAas,
|
|
8213
|
+
0,
|
|
8214
|
+
[_FN, _SUr],
|
|
8215
|
+
[0, 0], 2
|
|
8216
|
+
];
|
|
8210
8217
|
var TaskTemplateConstraints$ = [3, n0, _TTC,
|
|
8211
8218
|
0,
|
|
8212
8219
|
[_RF, _ROF, _IF],
|
|
@@ -9637,6 +9644,9 @@ var TagOrConditionList = [1, n0, _TOCL,
|
|
|
9637
9644
|
var TagsList = [1, n0, _TLa,
|
|
9638
9645
|
0, () => TagSet$
|
|
9639
9646
|
];
|
|
9647
|
+
var TaskAttachments = [1, n0, _TAask,
|
|
9648
|
+
8, () => TaskAttachment$
|
|
9649
|
+
];
|
|
9640
9650
|
var TaskTemplateDefaultFieldValueList = [1, n0, _TTDFVL,
|
|
9641
9651
|
0, () => TaskTemplateDefaultFieldValue$
|
|
9642
9652
|
];
|
|
@@ -18725,6 +18735,7 @@ exports.TagSearchCondition$ = TagSearchCondition$;
|
|
|
18725
18735
|
exports.TagSet$ = TagSet$;
|
|
18726
18736
|
exports.TargetListType = TargetListType;
|
|
18727
18737
|
exports.TaskActionDefinition$ = TaskActionDefinition$;
|
|
18738
|
+
exports.TaskAttachment$ = TaskAttachment$;
|
|
18728
18739
|
exports.TaskTemplateConstraints$ = TaskTemplateConstraints$;
|
|
18729
18740
|
exports.TaskTemplateDefaultFieldValue$ = TaskTemplateDefaultFieldValue$;
|
|
18730
18741
|
exports.TaskTemplateDefaults$ = TaskTemplateDefaults$;
|
|
@@ -2255,6 +2255,8 @@ const _TACL = "TagAndConditionList";
|
|
|
2255
2255
|
const _TAD = "TaskActionDefinition";
|
|
2256
2256
|
const _TAI = "TargetAccountId";
|
|
2257
2257
|
const _TAa = "TaskAction";
|
|
2258
|
+
const _TAas = "TaskAttachment";
|
|
2259
|
+
const _TAask = "TaskAttachments";
|
|
2258
2260
|
const _TAe = "TextActive";
|
|
2259
2261
|
const _TAem = "TemplateAttributes";
|
|
2260
2262
|
const _TAo = "ToAddresses";
|
|
@@ -7520,8 +7522,8 @@ export var StartScreenSharingResponse$ = [3, n0, _SSSRt,
|
|
|
7520
7522
|
];
|
|
7521
7523
|
export var StartTaskContactRequest$ = [3, n0, _STCRt,
|
|
7522
7524
|
0,
|
|
7523
|
-
[_II, _N, _PCI, _CFI, _Attr, _Ref, _D, _CT, _STch, _TTIa, _QCIu, _RCI, _SAe],
|
|
7524
|
-
[0, [() => Name, 0], 0, 0, 128 | 0, () => ContactReferences, [() => Description, 0], [0, 4], 4, 0, 0, 0, () => SegmentAttributes], 2
|
|
7525
|
+
[_II, _N, _PCI, _CFI, _Attr, _Ref, _D, _CT, _STch, _TTIa, _QCIu, _RCI, _SAe, _Atta],
|
|
7526
|
+
[0, [() => Name, 0], 0, 0, 128 | 0, () => ContactReferences, [() => Description, 0], [0, 4], 4, 0, 0, 0, () => SegmentAttributes, [() => TaskAttachments, 0]], 2
|
|
7525
7527
|
];
|
|
7526
7528
|
export var StartTaskContactResponse$ = [3, n0, _STCRta,
|
|
7527
7529
|
0,
|
|
@@ -7688,6 +7690,11 @@ export var TaskActionDefinition$ = [3, n0, _TAD,
|
|
|
7688
7690
|
[_N, _CFI, _D, _Ref],
|
|
7689
7691
|
[0, 0, 0, () => ContactReferences], 2
|
|
7690
7692
|
];
|
|
7693
|
+
export var TaskAttachment$ = [3, n0, _TAas,
|
|
7694
|
+
0,
|
|
7695
|
+
[_FN, _SUr],
|
|
7696
|
+
[0, 0], 2
|
|
7697
|
+
];
|
|
7691
7698
|
export var TaskTemplateConstraints$ = [3, n0, _TTC,
|
|
7692
7699
|
0,
|
|
7693
7700
|
[_RF, _ROF, _IF],
|
|
@@ -9178,6 +9185,9 @@ var TagRestrictedResourceList = 64 | 0;
|
|
|
9178
9185
|
var TagsList = [1, n0, _TLa,
|
|
9179
9186
|
0, () => TagSet$
|
|
9180
9187
|
];
|
|
9188
|
+
var TaskAttachments = [1, n0, _TAask,
|
|
9189
|
+
8, () => TaskAttachment$
|
|
9190
|
+
];
|
|
9181
9191
|
var TaskTemplateDefaultFieldValueList = [1, n0, _TTDFVL,
|
|
9182
9192
|
0, () => TaskTemplateDefaultFieldValue$
|
|
9183
9193
|
];
|
|
@@ -128,6 +128,12 @@ declare const StartTaskContactCommand_base: {
|
|
|
128
128
|
* ValueArn: "STRING_VALUE",
|
|
129
129
|
* },
|
|
130
130
|
* },
|
|
131
|
+
* Attachments: [ // TaskAttachments
|
|
132
|
+
* { // TaskAttachment
|
|
133
|
+
* FileName: "STRING_VALUE", // required
|
|
134
|
+
* S3Url: "STRING_VALUE", // required
|
|
135
|
+
* },
|
|
136
|
+
* ],
|
|
131
137
|
* };
|
|
132
138
|
* const command = new StartTaskContactCommand(input);
|
|
133
139
|
* const response = await client.send(command);
|
|
@@ -1074,6 +1074,22 @@ export interface StartScreenSharingRequest {
|
|
|
1074
1074
|
*/
|
|
1075
1075
|
export interface StartScreenSharingResponse {
|
|
1076
1076
|
}
|
|
1077
|
+
/**
|
|
1078
|
+
* <p>Information about the task attachment files.</p>
|
|
1079
|
+
* @public
|
|
1080
|
+
*/
|
|
1081
|
+
export interface TaskAttachment {
|
|
1082
|
+
/**
|
|
1083
|
+
* <p>A case-sensitive name of the attached file being uploaded.</p>
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
FileName: string | undefined;
|
|
1087
|
+
/**
|
|
1088
|
+
* <p>The pre-signed URLs for the S3 bucket where the task attachment is stored.</p>
|
|
1089
|
+
* @public
|
|
1090
|
+
*/
|
|
1091
|
+
S3Url: string | undefined;
|
|
1092
|
+
}
|
|
1077
1093
|
/**
|
|
1078
1094
|
* @public
|
|
1079
1095
|
*/
|
|
@@ -6010,6 +6026,11 @@ export interface StartTaskContactRequest {
|
|
|
6010
6026
|
* @public
|
|
6011
6027
|
*/
|
|
6012
6028
|
SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
|
|
6029
|
+
/**
|
|
6030
|
+
* <p>List of S3 presigned URLs of task attachments and their file name. You can have a maximum of 5 attachments per task.</p>
|
|
6031
|
+
* @public
|
|
6032
|
+
*/
|
|
6033
|
+
Attachments?: TaskAttachment[] | undefined;
|
|
6013
6034
|
}
|
|
6014
6035
|
/**
|
|
6015
6036
|
* @public
|
|
@@ -985,6 +985,7 @@ export declare var TagResourceRequest$: StaticStructureSchema;
|
|
|
985
985
|
export declare var TagSearchCondition$: StaticStructureSchema;
|
|
986
986
|
export declare var TagSet$: StaticStructureSchema;
|
|
987
987
|
export declare var TaskActionDefinition$: StaticStructureSchema;
|
|
988
|
+
export declare var TaskAttachment$: StaticStructureSchema;
|
|
988
989
|
export declare var TaskTemplateConstraints$: StaticStructureSchema;
|
|
989
990
|
export declare var TaskTemplateDefaultFieldValue$: StaticStructureSchema;
|
|
990
991
|
export declare var TaskTemplateDefaults$: StaticStructureSchema;
|
|
@@ -368,6 +368,10 @@ export interface StartScreenSharingRequest {
|
|
|
368
368
|
ContactId: string | undefined;
|
|
369
369
|
}
|
|
370
370
|
export interface StartScreenSharingResponse {}
|
|
371
|
+
export interface TaskAttachment {
|
|
372
|
+
FileName: string | undefined;
|
|
373
|
+
S3Url: string | undefined;
|
|
374
|
+
}
|
|
371
375
|
export interface StartTaskContactResponse {
|
|
372
376
|
ContactId?: string | undefined;
|
|
373
377
|
}
|
|
@@ -1460,6 +1464,7 @@ export interface StartTaskContactRequest {
|
|
|
1460
1464
|
QuickConnectId?: string | undefined;
|
|
1461
1465
|
RelatedContactId?: string | undefined;
|
|
1462
1466
|
SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
|
|
1467
|
+
Attachments?: TaskAttachment[] | undefined;
|
|
1463
1468
|
}
|
|
1464
1469
|
export interface UpdateContactRequest {
|
|
1465
1470
|
InstanceId: string | undefined;
|
|
@@ -990,6 +990,7 @@ export declare var TagResourceRequest$: StaticStructureSchema;
|
|
|
990
990
|
export declare var TagSearchCondition$: StaticStructureSchema;
|
|
991
991
|
export declare var TagSet$: StaticStructureSchema;
|
|
992
992
|
export declare var TaskActionDefinition$: StaticStructureSchema;
|
|
993
|
+
export declare var TaskAttachment$: StaticStructureSchema;
|
|
993
994
|
export declare var TaskTemplateConstraints$: StaticStructureSchema;
|
|
994
995
|
export declare var TaskTemplateDefaultFieldValue$: StaticStructureSchema;
|
|
995
996
|
export declare var TaskTemplateDefaults$: StaticStructureSchema;
|
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.977.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 client-connect",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.3",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.3",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
36
|
"@smithy/core": "^3.21.1",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|