@aws-sdk/client-connect 3.583.0 → 3.587.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 +220 -106
- package/dist-es/commands/DescribeContactCommand.js +1 -1
- package/dist-es/commands/ListViewVersionsCommand.js +1 -1
- package/dist-es/commands/ListViewsCommand.js +1 -1
- package/dist-es/models/models_0.js +25 -41
- package/dist-es/models/models_1.js +29 -33
- package/dist-es/models/models_2.js +42 -0
- package/dist-es/protocols/Aws_restJson1.js +103 -11
- package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +6 -6
- package/dist-types/commands/DescribeContactCommand.d.ts +112 -1
- package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +1 -2
- package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +3 -0
- package/dist-types/commands/ListViewVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListViewsCommand.d.ts +2 -1
- package/dist-types/commands/MonitorContactCommand.d.ts +1 -1
- package/dist-types/commands/PauseContactCommand.d.ts +1 -1
- package/dist-types/commands/PutUserStatusCommand.d.ts +1 -1
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +10 -10
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +3 -0
- package/dist-types/commands/StopContactCommand.d.ts +6 -0
- package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +5 -2
- package/dist-types/models/models_0.d.ts +255 -384
- package/dist-types/models/models_1.d.ts +253 -289
- package/dist-types/models/models_2.d.ts +553 -16
- package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeContactFlowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/MonitorContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +89 -118
- package/dist-types/ts3.4/models/models_1.d.ts +80 -79
- package/dist-types/ts3.4/models/models_2.d.ts +150 -8
- package/package.json +18 -18
|
@@ -4,39 +4,47 @@ import {
|
|
|
4
4
|
AgentAvailabilityTimer,
|
|
5
5
|
AgentConfig,
|
|
6
6
|
AgentHierarchyGroups,
|
|
7
|
+
AgentInfo,
|
|
7
8
|
AgentStatusState,
|
|
8
9
|
AllowedCapabilities,
|
|
10
|
+
AnsweringMachineDetectionStatus,
|
|
9
11
|
Application,
|
|
12
|
+
AttributeCondition,
|
|
13
|
+
Campaign,
|
|
10
14
|
Channel,
|
|
11
|
-
ContactFlow,
|
|
12
|
-
ContactFlowModule,
|
|
13
|
-
ContactFlowModuleState,
|
|
14
|
-
ContactFlowState,
|
|
15
15
|
ContactFlowStatus,
|
|
16
16
|
ContactFlowType,
|
|
17
17
|
ContactInitiationMethod,
|
|
18
18
|
CreatedByInfo,
|
|
19
|
+
Customer,
|
|
20
|
+
CustomerVoiceActivity,
|
|
21
|
+
DisconnectDetails,
|
|
19
22
|
Evaluation,
|
|
20
23
|
EvaluationAnswerData,
|
|
21
24
|
EvaluationFormQuestion,
|
|
22
25
|
EvaluationFormScoringStrategy,
|
|
23
|
-
EvaluationFormVersionStatus,
|
|
24
26
|
EvaluationNote,
|
|
27
|
+
Expiry,
|
|
25
28
|
FileStatusType,
|
|
26
29
|
FileUseCaseType,
|
|
27
30
|
HoursOfOperationConfig,
|
|
28
31
|
InstanceStorageConfig,
|
|
29
32
|
InstanceStorageResourceType,
|
|
30
33
|
MediaConcurrency,
|
|
34
|
+
MonitorCapability,
|
|
31
35
|
OutboundCallerConfig,
|
|
32
36
|
ParticipantRole,
|
|
33
37
|
PredefinedAttributeValues,
|
|
38
|
+
QualityMetrics,
|
|
39
|
+
QueueInfo,
|
|
34
40
|
QuickConnectConfig,
|
|
35
41
|
Reference,
|
|
36
42
|
RehydrationType,
|
|
43
|
+
RoutingCriteriaStepStatus,
|
|
37
44
|
RoutingProfileQueueConfig,
|
|
38
45
|
RuleAction,
|
|
39
46
|
RulePublishStatus,
|
|
47
|
+
SegmentAttributeValue,
|
|
40
48
|
TaskTemplateConstraints,
|
|
41
49
|
TaskTemplateDefaults,
|
|
42
50
|
TaskTemplateField,
|
|
@@ -47,10 +55,17 @@ import {
|
|
|
47
55
|
View,
|
|
48
56
|
ViewInputContent,
|
|
49
57
|
ViewStatus,
|
|
58
|
+
ViewType,
|
|
50
59
|
VocabularyLanguageCode,
|
|
51
60
|
VocabularyState,
|
|
61
|
+
WisdomInfo,
|
|
52
62
|
} from "./models_0";
|
|
53
63
|
import {
|
|
64
|
+
ContactFlow,
|
|
65
|
+
ContactFlowModule,
|
|
66
|
+
ContactFlowModuleState,
|
|
67
|
+
ContactFlowState,
|
|
68
|
+
EvaluationFormVersionStatus,
|
|
54
69
|
HoursOfOperation,
|
|
55
70
|
InstanceAttributeType,
|
|
56
71
|
PhoneNumberCountryCode,
|
|
@@ -65,6 +80,70 @@ import {
|
|
|
65
80
|
SortOrder,
|
|
66
81
|
TelephonyConfig,
|
|
67
82
|
} from "./models_1";
|
|
83
|
+
export interface ViewSummary {
|
|
84
|
+
Id?: string;
|
|
85
|
+
Arn?: string;
|
|
86
|
+
Name?: string;
|
|
87
|
+
Type?: ViewType;
|
|
88
|
+
Status?: ViewStatus;
|
|
89
|
+
Description?: string;
|
|
90
|
+
}
|
|
91
|
+
export interface ListViewsResponse {
|
|
92
|
+
ViewsSummaryList?: ViewSummary[];
|
|
93
|
+
NextToken?: string;
|
|
94
|
+
}
|
|
95
|
+
export interface ListViewVersionsRequest {
|
|
96
|
+
InstanceId: string | undefined;
|
|
97
|
+
ViewId: string | undefined;
|
|
98
|
+
NextToken?: string;
|
|
99
|
+
MaxResults?: number;
|
|
100
|
+
}
|
|
101
|
+
export interface ViewVersionSummary {
|
|
102
|
+
Id?: string;
|
|
103
|
+
Arn?: string;
|
|
104
|
+
Description?: string;
|
|
105
|
+
Name?: string;
|
|
106
|
+
Type?: ViewType;
|
|
107
|
+
Version?: number;
|
|
108
|
+
VersionDescription?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface ListViewVersionsResponse {
|
|
111
|
+
ViewVersionSummaryList?: ViewVersionSummary[];
|
|
112
|
+
NextToken?: string;
|
|
113
|
+
}
|
|
114
|
+
export interface MonitorContactRequest {
|
|
115
|
+
InstanceId: string | undefined;
|
|
116
|
+
ContactId: string | undefined;
|
|
117
|
+
UserId: string | undefined;
|
|
118
|
+
AllowedMonitorCapabilities?: MonitorCapability[];
|
|
119
|
+
ClientToken?: string;
|
|
120
|
+
}
|
|
121
|
+
export interface MonitorContactResponse {
|
|
122
|
+
ContactId?: string;
|
|
123
|
+
ContactArn?: string;
|
|
124
|
+
}
|
|
125
|
+
export declare class ConflictException extends __BaseException {
|
|
126
|
+
readonly name: "ConflictException";
|
|
127
|
+
readonly $fault: "client";
|
|
128
|
+
Message?: string;
|
|
129
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
130
|
+
}
|
|
131
|
+
export interface PauseContactRequest {
|
|
132
|
+
ContactId: string | undefined;
|
|
133
|
+
InstanceId: string | undefined;
|
|
134
|
+
ContactFlowId?: string;
|
|
135
|
+
}
|
|
136
|
+
export interface PauseContactResponse {}
|
|
137
|
+
export interface PutUserStatusRequest {
|
|
138
|
+
UserId: string | undefined;
|
|
139
|
+
InstanceId: string | undefined;
|
|
140
|
+
AgentStatusId: string | undefined;
|
|
141
|
+
}
|
|
142
|
+
export interface PutUserStatusResponse {}
|
|
143
|
+
export interface ReleasePhoneNumberRequest {
|
|
144
|
+
PhoneNumberId: string | undefined;
|
|
145
|
+
ClientToken?: string;
|
|
146
|
+
}
|
|
68
147
|
export interface ReplicateInstanceRequest {
|
|
69
148
|
InstanceId: string | undefined;
|
|
70
149
|
ReplicaRegion: string | undefined;
|
|
@@ -468,9 +547,6 @@ export interface PersistentChat {
|
|
|
468
547
|
RehydrationType?: RehydrationType;
|
|
469
548
|
SourceContactId?: string;
|
|
470
549
|
}
|
|
471
|
-
export interface SegmentAttributeValue {
|
|
472
|
-
ValueString?: string;
|
|
473
|
-
}
|
|
474
550
|
export interface StartChatContactRequest {
|
|
475
551
|
InstanceId: string | undefined;
|
|
476
552
|
ContactFlowId: string | undefined;
|
|
@@ -1194,6 +1270,11 @@ export interface EvaluationFormContent {
|
|
|
1194
1270
|
Items: EvaluationFormItem[] | undefined;
|
|
1195
1271
|
ScoringStrategy?: EvaluationFormScoringStrategy;
|
|
1196
1272
|
}
|
|
1273
|
+
export interface Expression {
|
|
1274
|
+
AttributeCondition?: AttributeCondition;
|
|
1275
|
+
AndExpression?: Expression[];
|
|
1276
|
+
OrExpression?: Expression[];
|
|
1277
|
+
}
|
|
1197
1278
|
export interface HoursOfOperationSearchCriteria {
|
|
1198
1279
|
OrConditions?: HoursOfOperationSearchCriteria[];
|
|
1199
1280
|
AndConditions?: HoursOfOperationSearchCriteria[];
|
|
@@ -1323,6 +1404,63 @@ export interface SearchUsersRequest {
|
|
|
1323
1404
|
SearchFilter?: UserSearchFilter;
|
|
1324
1405
|
SearchCriteria?: UserSearchCriteria;
|
|
1325
1406
|
}
|
|
1407
|
+
export interface Step {
|
|
1408
|
+
Expiry?: Expiry;
|
|
1409
|
+
Expression?: Expression;
|
|
1410
|
+
Status?: RoutingCriteriaStepStatus;
|
|
1411
|
+
}
|
|
1412
|
+
export interface RoutingCriteria {
|
|
1413
|
+
Steps?: Step[];
|
|
1414
|
+
ActivationTimestamp?: Date;
|
|
1415
|
+
Index?: number;
|
|
1416
|
+
}
|
|
1417
|
+
export interface Contact {
|
|
1418
|
+
Arn?: string;
|
|
1419
|
+
Id?: string;
|
|
1420
|
+
InitialContactId?: string;
|
|
1421
|
+
PreviousContactId?: string;
|
|
1422
|
+
InitiationMethod?: ContactInitiationMethod;
|
|
1423
|
+
Name?: string;
|
|
1424
|
+
Description?: string;
|
|
1425
|
+
Channel?: Channel;
|
|
1426
|
+
QueueInfo?: QueueInfo;
|
|
1427
|
+
AgentInfo?: AgentInfo;
|
|
1428
|
+
InitiationTimestamp?: Date;
|
|
1429
|
+
DisconnectTimestamp?: Date;
|
|
1430
|
+
LastUpdateTimestamp?: Date;
|
|
1431
|
+
LastPausedTimestamp?: Date;
|
|
1432
|
+
LastResumedTimestamp?: Date;
|
|
1433
|
+
TotalPauseCount?: number;
|
|
1434
|
+
TotalPauseDurationInSeconds?: number;
|
|
1435
|
+
ScheduledTimestamp?: Date;
|
|
1436
|
+
RelatedContactId?: string;
|
|
1437
|
+
WisdomInfo?: WisdomInfo;
|
|
1438
|
+
QueueTimeAdjustmentSeconds?: number;
|
|
1439
|
+
QueuePriority?: number;
|
|
1440
|
+
Tags?: Record<string, string>;
|
|
1441
|
+
ConnectedToSystemTimestamp?: Date;
|
|
1442
|
+
RoutingCriteria?: RoutingCriteria;
|
|
1443
|
+
Customer?: Customer;
|
|
1444
|
+
Campaign?: Campaign;
|
|
1445
|
+
AnsweringMachineDetectionStatus?: AnsweringMachineDetectionStatus;
|
|
1446
|
+
CustomerVoiceActivity?: CustomerVoiceActivity;
|
|
1447
|
+
QualityMetrics?: QualityMetrics;
|
|
1448
|
+
DisconnectDetails?: DisconnectDetails;
|
|
1449
|
+
SegmentAttributes?: Record<string, SegmentAttributeValue>;
|
|
1450
|
+
}
|
|
1451
|
+
export interface DescribeContactResponse {
|
|
1452
|
+
Contact?: Contact;
|
|
1453
|
+
}
|
|
1454
|
+
export declare const ViewSummaryFilterSensitiveLog: (obj: ViewSummary) => any;
|
|
1455
|
+
export declare const ListViewsResponseFilterSensitiveLog: (
|
|
1456
|
+
obj: ListViewsResponse
|
|
1457
|
+
) => any;
|
|
1458
|
+
export declare const ViewVersionSummaryFilterSensitiveLog: (
|
|
1459
|
+
obj: ViewVersionSummary
|
|
1460
|
+
) => any;
|
|
1461
|
+
export declare const ListViewVersionsResponseFilterSensitiveLog: (
|
|
1462
|
+
obj: ListViewVersionsResponse
|
|
1463
|
+
) => any;
|
|
1326
1464
|
export declare const ReplicateInstanceRequestFilterSensitiveLog: (
|
|
1327
1465
|
obj: ReplicateInstanceRequest
|
|
1328
1466
|
) => any;
|
|
@@ -1385,3 +1523,7 @@ export declare const UpdateViewContentResponseFilterSensitiveLog: (
|
|
|
1385
1523
|
export declare const UpdateViewMetadataRequestFilterSensitiveLog: (
|
|
1386
1524
|
obj: UpdateViewMetadataRequest
|
|
1387
1525
|
) => any;
|
|
1526
|
+
export declare const ContactFilterSensitiveLog: (obj: Contact) => any;
|
|
1527
|
+
export declare const DescribeContactResponseFilterSensitiveLog: (
|
|
1528
|
+
obj: DescribeContactResponse
|
|
1529
|
+
) => any;
|
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.587.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connect",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.587.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.587.0",
|
|
25
|
+
"@aws-sdk/core": "3.587.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.587.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.587.0",
|
|
32
32
|
"@aws-sdk/types": "3.577.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.587.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.1",
|
|
37
|
+
"@smithy/core": "^2.1.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.0.1",
|
|
39
39
|
"@smithy/hash-node": "^3.0.0",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.0",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.0",
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.0.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.3",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.0",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.0",
|
|
46
|
-
"@smithy/node-config-provider": "^3.
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.0",
|
|
47
47
|
"@smithy/node-http-handler": "^3.0.0",
|
|
48
48
|
"@smithy/protocol-http": "^4.0.0",
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
49
|
+
"@smithy/smithy-client": "^3.1.1",
|
|
50
50
|
"@smithy/types": "^3.0.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.0",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.3",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.3",
|
|
57
|
+
"@smithy/util-endpoints": "^2.0.1",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.0",
|
|
59
59
|
"@smithy/util-retry": "^3.0.0",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|