@aws-sdk/client-connect 3.443.0 → 3.445.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 +8 -0
- package/dist-cjs/Connect.js +2 -0
- package/dist-cjs/commands/BatchPutContactCommand.js +51 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +19 -2
- package/dist-cjs/protocols/Aws_restJson1.js +83 -9
- package/dist-es/Connect.js +2 -0
- package/dist-es/commands/BatchPutContactCommand.js +47 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +17 -0
- package/dist-es/protocols/Aws_restJson1.js +72 -0
- package/dist-types/Connect.d.ts +7 -0
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/BatchPutContactCommand.d.ts +133 -0
- package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +2 -1
- package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +1 -2
- package/dist-types/commands/StopContactCommand.d.ts +3 -0
- package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactScheduleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +1 -2
- package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +191 -329
- package/dist-types/models/models_1.d.ts +332 -195
- package/dist-types/models/models_2.d.ts +195 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -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/BatchPutContactCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeUserHierarchyGroupCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -70
- package/dist-types/ts3.4/models/models_1.d.ts +67 -49
- package/dist-types/ts3.4/models/models_2.d.ts +50 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +4 -4
|
@@ -23,11 +23,7 @@ import {
|
|
|
23
23
|
EvaluationScore,
|
|
24
24
|
EvaluationStatus,
|
|
25
25
|
EventSourceName,
|
|
26
|
-
HierarchyGroup,
|
|
27
|
-
HierarchyGroupSummary,
|
|
28
26
|
HoursOfOperation,
|
|
29
|
-
HoursOfOperationConfig,
|
|
30
|
-
InstanceAttributeType,
|
|
31
27
|
InstanceStatus,
|
|
32
28
|
InstanceStorageConfig,
|
|
33
29
|
InstanceStorageResourceType,
|
|
@@ -55,6 +51,7 @@ import {
|
|
|
55
51
|
TaskTemplateStatus,
|
|
56
52
|
TrafficDistributionGroupStatus,
|
|
57
53
|
UseCaseType,
|
|
54
|
+
UserIdentityInfo,
|
|
58
55
|
UserPhoneConfig,
|
|
59
56
|
View,
|
|
60
57
|
ViewStatus,
|
|
@@ -62,6 +59,68 @@ import {
|
|
|
62
59
|
VocabularyLanguageCode,
|
|
63
60
|
VocabularyState,
|
|
64
61
|
} from "./models_0";
|
|
62
|
+
export interface TrafficDistributionGroup {
|
|
63
|
+
Id?: string;
|
|
64
|
+
Arn?: string;
|
|
65
|
+
Name?: string;
|
|
66
|
+
Description?: string;
|
|
67
|
+
InstanceArn?: string;
|
|
68
|
+
Status?: TrafficDistributionGroupStatus;
|
|
69
|
+
Tags?: Record<string, string>;
|
|
70
|
+
IsDefault?: boolean;
|
|
71
|
+
}
|
|
72
|
+
export interface DescribeTrafficDistributionGroupResponse {
|
|
73
|
+
TrafficDistributionGroup?: TrafficDistributionGroup;
|
|
74
|
+
}
|
|
75
|
+
export interface DescribeUserRequest {
|
|
76
|
+
UserId: string | undefined;
|
|
77
|
+
InstanceId: string | undefined;
|
|
78
|
+
}
|
|
79
|
+
export interface User {
|
|
80
|
+
Id?: string;
|
|
81
|
+
Arn?: string;
|
|
82
|
+
Username?: string;
|
|
83
|
+
IdentityInfo?: UserIdentityInfo;
|
|
84
|
+
PhoneConfig?: UserPhoneConfig;
|
|
85
|
+
DirectoryUserId?: string;
|
|
86
|
+
SecurityProfileIds?: string[];
|
|
87
|
+
RoutingProfileId?: string;
|
|
88
|
+
HierarchyGroupId?: string;
|
|
89
|
+
Tags?: Record<string, string>;
|
|
90
|
+
LastModifiedTime?: Date;
|
|
91
|
+
LastModifiedRegion?: string;
|
|
92
|
+
}
|
|
93
|
+
export interface DescribeUserResponse {
|
|
94
|
+
User?: User;
|
|
95
|
+
}
|
|
96
|
+
export interface DescribeUserHierarchyGroupRequest {
|
|
97
|
+
HierarchyGroupId: string | undefined;
|
|
98
|
+
InstanceId: string | undefined;
|
|
99
|
+
}
|
|
100
|
+
export interface HierarchyGroupSummary {
|
|
101
|
+
Id?: string;
|
|
102
|
+
Arn?: string;
|
|
103
|
+
Name?: string;
|
|
104
|
+
LastModifiedTime?: Date;
|
|
105
|
+
LastModifiedRegion?: string;
|
|
106
|
+
}
|
|
107
|
+
export interface HierarchyPath {
|
|
108
|
+
LevelOne?: HierarchyGroupSummary;
|
|
109
|
+
LevelTwo?: HierarchyGroupSummary;
|
|
110
|
+
LevelThree?: HierarchyGroupSummary;
|
|
111
|
+
LevelFour?: HierarchyGroupSummary;
|
|
112
|
+
LevelFive?: HierarchyGroupSummary;
|
|
113
|
+
}
|
|
114
|
+
export interface HierarchyGroup {
|
|
115
|
+
Id?: string;
|
|
116
|
+
Arn?: string;
|
|
117
|
+
Name?: string;
|
|
118
|
+
LevelId?: string;
|
|
119
|
+
HierarchyPath?: HierarchyPath;
|
|
120
|
+
Tags?: Record<string, string>;
|
|
121
|
+
LastModifiedTime?: Date;
|
|
122
|
+
LastModifiedRegion?: string;
|
|
123
|
+
}
|
|
65
124
|
export interface DescribeUserHierarchyGroupResponse {
|
|
66
125
|
HierarchyGroup?: HierarchyGroup;
|
|
67
126
|
}
|
|
@@ -1579,9 +1638,13 @@ export declare class ContactNotFoundException extends __BaseException {
|
|
|
1579
1638
|
opts: __ExceptionOptionType<ContactNotFoundException, __BaseException>
|
|
1580
1639
|
);
|
|
1581
1640
|
}
|
|
1641
|
+
export interface DisconnectReason {
|
|
1642
|
+
Code?: string;
|
|
1643
|
+
}
|
|
1582
1644
|
export interface StopContactRequest {
|
|
1583
1645
|
ContactId: string | undefined;
|
|
1584
1646
|
InstanceId: string | undefined;
|
|
1647
|
+
DisconnectReason?: DisconnectReason;
|
|
1585
1648
|
}
|
|
1586
1649
|
export interface StopContactResponse {}
|
|
1587
1650
|
export interface StopContactRecordingRequest {
|
|
@@ -1688,51 +1751,6 @@ export interface UpdateContactFlowModuleContentRequest {
|
|
|
1688
1751
|
Content: string | undefined;
|
|
1689
1752
|
}
|
|
1690
1753
|
export interface UpdateContactFlowModuleContentResponse {}
|
|
1691
|
-
export interface UpdateContactFlowModuleMetadataRequest {
|
|
1692
|
-
InstanceId: string | undefined;
|
|
1693
|
-
ContactFlowModuleId: string | undefined;
|
|
1694
|
-
Name?: string;
|
|
1695
|
-
Description?: string;
|
|
1696
|
-
State?: ContactFlowModuleState;
|
|
1697
|
-
}
|
|
1698
|
-
export interface UpdateContactFlowModuleMetadataResponse {}
|
|
1699
|
-
export interface UpdateContactFlowNameRequest {
|
|
1700
|
-
InstanceId: string | undefined;
|
|
1701
|
-
ContactFlowId: string | undefined;
|
|
1702
|
-
Name?: string;
|
|
1703
|
-
Description?: string;
|
|
1704
|
-
}
|
|
1705
|
-
export interface UpdateContactFlowNameResponse {}
|
|
1706
|
-
export interface UpdateContactScheduleRequest {
|
|
1707
|
-
InstanceId: string | undefined;
|
|
1708
|
-
ContactId: string | undefined;
|
|
1709
|
-
ScheduledTime: Date | undefined;
|
|
1710
|
-
}
|
|
1711
|
-
export interface UpdateContactScheduleResponse {}
|
|
1712
|
-
export interface UpdateEvaluationFormResponse {
|
|
1713
|
-
EvaluationFormId: string | undefined;
|
|
1714
|
-
EvaluationFormArn: string | undefined;
|
|
1715
|
-
EvaluationFormVersion: number | undefined;
|
|
1716
|
-
}
|
|
1717
|
-
export interface UpdateHoursOfOperationRequest {
|
|
1718
|
-
InstanceId: string | undefined;
|
|
1719
|
-
HoursOfOperationId: string | undefined;
|
|
1720
|
-
Name?: string;
|
|
1721
|
-
Description?: string;
|
|
1722
|
-
TimeZone?: string;
|
|
1723
|
-
Config?: HoursOfOperationConfig[];
|
|
1724
|
-
}
|
|
1725
|
-
export interface UpdateInstanceAttributeRequest {
|
|
1726
|
-
InstanceId: string | undefined;
|
|
1727
|
-
AttributeType: InstanceAttributeType | undefined;
|
|
1728
|
-
Value: string | undefined;
|
|
1729
|
-
}
|
|
1730
|
-
export interface UpdateInstanceStorageConfigRequest {
|
|
1731
|
-
InstanceId: string | undefined;
|
|
1732
|
-
AssociationId: string | undefined;
|
|
1733
|
-
ResourceType: InstanceStorageResourceType | undefined;
|
|
1734
|
-
StorageConfig: InstanceStorageConfig | undefined;
|
|
1735
|
-
}
|
|
1736
1754
|
export declare const DescribeViewResponseFilterSensitiveLog: (
|
|
1737
1755
|
obj: DescribeViewResponse
|
|
1738
1756
|
) => any;
|
|
@@ -2,10 +2,15 @@ import {
|
|
|
2
2
|
AgentAvailabilityTimer,
|
|
3
3
|
AgentConfig,
|
|
4
4
|
Application,
|
|
5
|
+
ContactFlowModuleState,
|
|
5
6
|
Evaluation,
|
|
6
7
|
EvaluationFormQuestion,
|
|
7
8
|
EvaluationFormScoringStrategy,
|
|
8
9
|
EvaluationFormVersionStatus,
|
|
10
|
+
HoursOfOperationConfig,
|
|
11
|
+
InstanceAttributeType,
|
|
12
|
+
InstanceStorageConfig,
|
|
13
|
+
InstanceStorageResourceType,
|
|
9
14
|
MediaConcurrency,
|
|
10
15
|
OutboundCallerConfig,
|
|
11
16
|
QueueStatus,
|
|
@@ -37,6 +42,51 @@ import {
|
|
|
37
42
|
TelephonyConfig,
|
|
38
43
|
UserSearchFilter,
|
|
39
44
|
} from "./models_1";
|
|
45
|
+
export interface UpdateContactFlowModuleMetadataRequest {
|
|
46
|
+
InstanceId: string | undefined;
|
|
47
|
+
ContactFlowModuleId: string | undefined;
|
|
48
|
+
Name?: string;
|
|
49
|
+
Description?: string;
|
|
50
|
+
State?: ContactFlowModuleState;
|
|
51
|
+
}
|
|
52
|
+
export interface UpdateContactFlowModuleMetadataResponse {}
|
|
53
|
+
export interface UpdateContactFlowNameRequest {
|
|
54
|
+
InstanceId: string | undefined;
|
|
55
|
+
ContactFlowId: string | undefined;
|
|
56
|
+
Name?: string;
|
|
57
|
+
Description?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface UpdateContactFlowNameResponse {}
|
|
60
|
+
export interface UpdateContactScheduleRequest {
|
|
61
|
+
InstanceId: string | undefined;
|
|
62
|
+
ContactId: string | undefined;
|
|
63
|
+
ScheduledTime: Date | undefined;
|
|
64
|
+
}
|
|
65
|
+
export interface UpdateContactScheduleResponse {}
|
|
66
|
+
export interface UpdateEvaluationFormResponse {
|
|
67
|
+
EvaluationFormId: string | undefined;
|
|
68
|
+
EvaluationFormArn: string | undefined;
|
|
69
|
+
EvaluationFormVersion: number | undefined;
|
|
70
|
+
}
|
|
71
|
+
export interface UpdateHoursOfOperationRequest {
|
|
72
|
+
InstanceId: string | undefined;
|
|
73
|
+
HoursOfOperationId: string | undefined;
|
|
74
|
+
Name?: string;
|
|
75
|
+
Description?: string;
|
|
76
|
+
TimeZone?: string;
|
|
77
|
+
Config?: HoursOfOperationConfig[];
|
|
78
|
+
}
|
|
79
|
+
export interface UpdateInstanceAttributeRequest {
|
|
80
|
+
InstanceId: string | undefined;
|
|
81
|
+
AttributeType: InstanceAttributeType | undefined;
|
|
82
|
+
Value: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface UpdateInstanceStorageConfigRequest {
|
|
85
|
+
InstanceId: string | undefined;
|
|
86
|
+
AssociationId: string | undefined;
|
|
87
|
+
ResourceType: InstanceStorageResourceType | undefined;
|
|
88
|
+
StorageConfig: InstanceStorageConfig | undefined;
|
|
89
|
+
}
|
|
40
90
|
export declare const TimerEligibleParticipantRoles: {
|
|
41
91
|
readonly AGENT: "AGENT";
|
|
42
92
|
readonly CUSTOMER: "CUSTOMER";
|
|
@@ -55,6 +55,10 @@ import {
|
|
|
55
55
|
BatchGetFlowAssociationCommandInput,
|
|
56
56
|
BatchGetFlowAssociationCommandOutput,
|
|
57
57
|
} from "../commands/BatchGetFlowAssociationCommand";
|
|
58
|
+
import {
|
|
59
|
+
BatchPutContactCommandInput,
|
|
60
|
+
BatchPutContactCommandOutput,
|
|
61
|
+
} from "../commands/BatchPutContactCommand";
|
|
58
62
|
import {
|
|
59
63
|
ClaimPhoneNumberCommandInput,
|
|
60
64
|
ClaimPhoneNumberCommandOutput,
|
|
@@ -907,6 +911,10 @@ export declare const se_BatchGetFlowAssociationCommand: (
|
|
|
907
911
|
input: BatchGetFlowAssociationCommandInput,
|
|
908
912
|
context: __SerdeContext
|
|
909
913
|
) => Promise<__HttpRequest>;
|
|
914
|
+
export declare const se_BatchPutContactCommand: (
|
|
915
|
+
input: BatchPutContactCommandInput,
|
|
916
|
+
context: __SerdeContext
|
|
917
|
+
) => Promise<__HttpRequest>;
|
|
910
918
|
export declare const se_ClaimPhoneNumberCommand: (
|
|
911
919
|
input: ClaimPhoneNumberCommandInput,
|
|
912
920
|
context: __SerdeContext
|
|
@@ -1759,6 +1767,10 @@ export declare const de_BatchGetFlowAssociationCommand: (
|
|
|
1759
1767
|
output: __HttpResponse,
|
|
1760
1768
|
context: __SerdeContext
|
|
1761
1769
|
) => Promise<BatchGetFlowAssociationCommandOutput>;
|
|
1770
|
+
export declare const de_BatchPutContactCommand: (
|
|
1771
|
+
output: __HttpResponse,
|
|
1772
|
+
context: __SerdeContext
|
|
1773
|
+
) => Promise<BatchPutContactCommandOutput>;
|
|
1762
1774
|
export declare const de_ClaimPhoneNumberCommand: (
|
|
1763
1775
|
output: __HttpResponse,
|
|
1764
1776
|
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.
|
|
4
|
+
"version": "3.445.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.445.0",
|
|
25
|
+
"@aws-sdk/core": "3.445.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.445.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.433.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|