@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
|
@@ -119,6 +119,9 @@ export const ContactInitiationMethod = {
|
|
|
119
119
|
QUEUE_TRANSFER: "QUEUE_TRANSFER",
|
|
120
120
|
TRANSFER: "TRANSFER",
|
|
121
121
|
};
|
|
122
|
+
export const VideoCapability = {
|
|
123
|
+
SEND: "SEND",
|
|
124
|
+
};
|
|
122
125
|
export const AgentStatusState = {
|
|
123
126
|
DISABLED: "DISABLED",
|
|
124
127
|
ENABLED: "ENABLED",
|
|
@@ -128,9 +131,6 @@ export const AgentStatusType = {
|
|
|
128
131
|
OFFLINE: "OFFLINE",
|
|
129
132
|
ROUTABLE: "ROUTABLE",
|
|
130
133
|
};
|
|
131
|
-
export const VideoCapability = {
|
|
132
|
-
SEND: "SEND",
|
|
133
|
-
};
|
|
134
134
|
export const MonitorCapability = {
|
|
135
135
|
BARGE: "BARGE",
|
|
136
136
|
SILENT_MONITOR: "SILENT_MONITOR",
|
|
@@ -604,6 +604,28 @@ export const VocabularyState = {
|
|
|
604
604
|
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
605
605
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
606
606
|
};
|
|
607
|
+
export const AnsweringMachineDetectionStatus = {
|
|
608
|
+
AMD_ERROR: "AMD_ERROR",
|
|
609
|
+
AMD_NOT_APPLICABLE: "AMD_NOT_APPLICABLE",
|
|
610
|
+
AMD_UNANSWERED: "AMD_UNANSWERED",
|
|
611
|
+
AMD_UNRESOLVED: "AMD_UNRESOLVED",
|
|
612
|
+
ANSWERED: "ANSWERED",
|
|
613
|
+
ERROR: "ERROR",
|
|
614
|
+
FAX_MACHINE_DETECTED: "FAX_MACHINE_DETECTED",
|
|
615
|
+
HUMAN_ANSWERED: "HUMAN_ANSWERED",
|
|
616
|
+
SIT_TONE_BUSY: "SIT_TONE_BUSY",
|
|
617
|
+
SIT_TONE_DETECTED: "SIT_TONE_DETECTED",
|
|
618
|
+
SIT_TONE_INVALID_NUMBER: "SIT_TONE_INVALID_NUMBER",
|
|
619
|
+
UNDETECTED: "UNDETECTED",
|
|
620
|
+
VOICEMAIL_BEEP: "VOICEMAIL_BEEP",
|
|
621
|
+
VOICEMAIL_NO_BEEP: "VOICEMAIL_NO_BEEP",
|
|
622
|
+
};
|
|
623
|
+
export const RoutingCriteriaStepStatus = {
|
|
624
|
+
ACTIVE: "ACTIVE",
|
|
625
|
+
EXPIRED: "EXPIRED",
|
|
626
|
+
INACTIVE: "INACTIVE",
|
|
627
|
+
JOINED: "JOINED",
|
|
628
|
+
};
|
|
607
629
|
export var EvaluationAnswerData;
|
|
608
630
|
(function (EvaluationAnswerData) {
|
|
609
631
|
EvaluationAnswerData.visit = (value, visitor) => {
|
|
@@ -620,35 +642,6 @@ export const EvaluationStatus = {
|
|
|
620
642
|
DRAFT: "DRAFT",
|
|
621
643
|
SUBMITTED: "SUBMITTED",
|
|
622
644
|
};
|
|
623
|
-
export class ContactFlowNotPublishedException extends __BaseException {
|
|
624
|
-
constructor(opts) {
|
|
625
|
-
super({
|
|
626
|
-
name: "ContactFlowNotPublishedException",
|
|
627
|
-
$fault: "client",
|
|
628
|
-
...opts,
|
|
629
|
-
});
|
|
630
|
-
this.name = "ContactFlowNotPublishedException";
|
|
631
|
-
this.$fault = "client";
|
|
632
|
-
Object.setPrototypeOf(this, ContactFlowNotPublishedException.prototype);
|
|
633
|
-
this.Message = opts.Message;
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
export const ContactFlowState = {
|
|
637
|
-
ACTIVE: "ACTIVE",
|
|
638
|
-
ARCHIVED: "ARCHIVED",
|
|
639
|
-
};
|
|
640
|
-
export const ContactFlowModuleState = {
|
|
641
|
-
ACTIVE: "ACTIVE",
|
|
642
|
-
ARCHIVED: "ARCHIVED",
|
|
643
|
-
};
|
|
644
|
-
export const ContactFlowModuleStatus = {
|
|
645
|
-
PUBLISHED: "PUBLISHED",
|
|
646
|
-
SAVED: "SAVED",
|
|
647
|
-
};
|
|
648
|
-
export const EvaluationFormVersionStatus = {
|
|
649
|
-
ACTIVE: "ACTIVE",
|
|
650
|
-
DRAFT: "DRAFT",
|
|
651
|
-
};
|
|
652
645
|
export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
653
646
|
...obj,
|
|
654
647
|
...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
|
|
@@ -692,12 +685,3 @@ export const CreateViewVersionResponseFilterSensitiveLog = (obj) => ({
|
|
|
692
685
|
...obj,
|
|
693
686
|
...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
|
|
694
687
|
});
|
|
695
|
-
export const ContactFilterSensitiveLog = (obj) => ({
|
|
696
|
-
...obj,
|
|
697
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
698
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
699
|
-
});
|
|
700
|
-
export const DescribeContactResponseFilterSensitiveLog = (obj) => ({
|
|
701
|
-
...obj,
|
|
702
|
-
...(obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }),
|
|
703
|
-
});
|
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
3
|
import { UserIdentityInfoFilterSensitiveLog, ViewFilterSensitiveLog, } from "./models_0";
|
|
4
|
+
export class ContactFlowNotPublishedException extends __BaseException {
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "ContactFlowNotPublishedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
this.name = "ContactFlowNotPublishedException";
|
|
12
|
+
this.$fault = "client";
|
|
13
|
+
Object.setPrototypeOf(this, ContactFlowNotPublishedException.prototype);
|
|
14
|
+
this.Message = opts.Message;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export const ContactFlowState = {
|
|
18
|
+
ACTIVE: "ACTIVE",
|
|
19
|
+
ARCHIVED: "ARCHIVED",
|
|
20
|
+
};
|
|
21
|
+
export const ContactFlowModuleState = {
|
|
22
|
+
ACTIVE: "ACTIVE",
|
|
23
|
+
ARCHIVED: "ARCHIVED",
|
|
24
|
+
};
|
|
25
|
+
export const ContactFlowModuleStatus = {
|
|
26
|
+
PUBLISHED: "PUBLISHED",
|
|
27
|
+
SAVED: "SAVED",
|
|
28
|
+
};
|
|
29
|
+
export const EvaluationFormVersionStatus = {
|
|
30
|
+
ACTIVE: "ACTIVE",
|
|
31
|
+
DRAFT: "DRAFT",
|
|
32
|
+
};
|
|
4
33
|
export const InstanceStatus = {
|
|
5
34
|
ACTIVE: "ACTIVE",
|
|
6
35
|
CREATION_FAILED: "CREATION_FAILED",
|
|
@@ -467,19 +496,6 @@ export class OutputTypeNotFoundException extends __BaseException {
|
|
|
467
496
|
this.Message = opts.Message;
|
|
468
497
|
}
|
|
469
498
|
}
|
|
470
|
-
export class ConflictException extends __BaseException {
|
|
471
|
-
constructor(opts) {
|
|
472
|
-
super({
|
|
473
|
-
name: "ConflictException",
|
|
474
|
-
$fault: "client",
|
|
475
|
-
...opts,
|
|
476
|
-
});
|
|
477
|
-
this.name = "ConflictException";
|
|
478
|
-
this.$fault = "client";
|
|
479
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
480
|
-
this.Message = opts.Message;
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
499
|
export const InstanceFilterSensitiveLog = (obj) => ({
|
|
484
500
|
...obj,
|
|
485
501
|
...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
|
|
@@ -519,23 +535,3 @@ export const ListInstancesResponseFilterSensitiveLog = (obj) => ({
|
|
|
519
535
|
InstanceSummaryList: obj.InstanceSummaryList.map((item) => InstanceSummaryFilterSensitiveLog(item)),
|
|
520
536
|
}),
|
|
521
537
|
});
|
|
522
|
-
export const ViewSummaryFilterSensitiveLog = (obj) => ({
|
|
523
|
-
...obj,
|
|
524
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
525
|
-
});
|
|
526
|
-
export const ListViewsResponseFilterSensitiveLog = (obj) => ({
|
|
527
|
-
...obj,
|
|
528
|
-
...(obj.ViewsSummaryList && {
|
|
529
|
-
ViewsSummaryList: obj.ViewsSummaryList.map((item) => ViewSummaryFilterSensitiveLog(item)),
|
|
530
|
-
}),
|
|
531
|
-
});
|
|
532
|
-
export const ViewVersionSummaryFilterSensitiveLog = (obj) => ({
|
|
533
|
-
...obj,
|
|
534
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
535
|
-
});
|
|
536
|
-
export const ListViewVersionsResponseFilterSensitiveLog = (obj) => ({
|
|
537
|
-
...obj,
|
|
538
|
-
...(obj.ViewVersionSummaryList && {
|
|
539
|
-
ViewVersionSummaryList: obj.ViewVersionSummaryList.map((item) => ViewVersionSummaryFilterSensitiveLog(item)),
|
|
540
|
-
}),
|
|
541
|
-
});
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
3
|
import { UserIdentityInfoFilterSensitiveLog, ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
|
|
4
|
+
export class ConflictException extends __BaseException {
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "ConflictException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
this.name = "ConflictException";
|
|
12
|
+
this.$fault = "client";
|
|
13
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
14
|
+
this.Message = opts.Message;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
4
17
|
export const StringComparisonType = {
|
|
5
18
|
CONTAINS: "CONTAINS",
|
|
6
19
|
EXACT: "EXACT",
|
|
@@ -140,6 +153,26 @@ export var EvaluationFormItem;
|
|
|
140
153
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
141
154
|
};
|
|
142
155
|
})(EvaluationFormItem || (EvaluationFormItem = {}));
|
|
156
|
+
export const ViewSummaryFilterSensitiveLog = (obj) => ({
|
|
157
|
+
...obj,
|
|
158
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
159
|
+
});
|
|
160
|
+
export const ListViewsResponseFilterSensitiveLog = (obj) => ({
|
|
161
|
+
...obj,
|
|
162
|
+
...(obj.ViewsSummaryList && {
|
|
163
|
+
ViewsSummaryList: obj.ViewsSummaryList.map((item) => ViewSummaryFilterSensitiveLog(item)),
|
|
164
|
+
}),
|
|
165
|
+
});
|
|
166
|
+
export const ViewVersionSummaryFilterSensitiveLog = (obj) => ({
|
|
167
|
+
...obj,
|
|
168
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
169
|
+
});
|
|
170
|
+
export const ListViewVersionsResponseFilterSensitiveLog = (obj) => ({
|
|
171
|
+
...obj,
|
|
172
|
+
...(obj.ViewVersionSummaryList && {
|
|
173
|
+
ViewVersionSummaryList: obj.ViewVersionSummaryList.map((item) => ViewVersionSummaryFilterSensitiveLog(item)),
|
|
174
|
+
}),
|
|
175
|
+
});
|
|
143
176
|
export const ReplicateInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
144
177
|
...obj,
|
|
145
178
|
...(obj.ReplicaAlias && { ReplicaAlias: SENSITIVE_STRING }),
|
|
@@ -238,3 +271,12 @@ export const UpdateViewMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
|
238
271
|
...obj,
|
|
239
272
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
240
273
|
});
|
|
274
|
+
export const ContactFilterSensitiveLog = (obj) => ({
|
|
275
|
+
...obj,
|
|
276
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
277
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
278
|
+
});
|
|
279
|
+
export const DescribeContactResponseFilterSensitiveLog = (obj) => ({
|
|
280
|
+
...obj,
|
|
281
|
+
...(obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }),
|
|
282
|
+
});
|
|
@@ -3,9 +3,9 @@ import { requestBuilder as rb } from "@smithy/core";
|
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { ConnectServiceException as __BaseException } from "../models/ConnectServiceException";
|
|
6
|
-
import { AccessDeniedException,
|
|
7
|
-
import {
|
|
8
|
-
import { ContactNotFoundException, DestinationNotAllowedException, EvaluationFormItem, MaximumResultReturnedException, OutboundContactNotPermittedException, } from "../models/models_2";
|
|
6
|
+
import { AccessDeniedException, DuplicateResourceException, EvaluationAnswerData, IdempotencyException, InternalServiceException, InvalidContactFlowException, InvalidContactFlowModuleException, InvalidParameterException, InvalidRequestException, LimitExceededException, PropertyValidationException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceQuotaExceededException, ThrottlingException, TooManyRequestsException, } from "../models/models_0";
|
|
7
|
+
import { ContactFlowNotPublishedException, OutputTypeNotFoundException, UserNotFoundException, } from "../models/models_1";
|
|
8
|
+
import { ConflictException, ContactNotFoundException, DestinationNotAllowedException, EvaluationFormItem, MaximumResultReturnedException, OutboundContactNotPermittedException, } from "../models/models_2";
|
|
9
9
|
export const se_ActivateEvaluationFormCommand = async (input, context) => {
|
|
10
10
|
const b = rb(input, context);
|
|
11
11
|
const headers = {
|
|
@@ -1540,13 +1540,13 @@ export const se_GetMetricDataCommand = async (input, context) => {
|
|
|
1540
1540
|
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
1541
1541
|
let body;
|
|
1542
1542
|
body = JSON.stringify(take(input, {
|
|
1543
|
-
EndTime: (_) =>
|
|
1543
|
+
EndTime: (_) => _.getTime() / 1000,
|
|
1544
1544
|
Filters: (_) => _json(_),
|
|
1545
1545
|
Groupings: (_) => _json(_),
|
|
1546
1546
|
HistoricalMetrics: (_) => se_HistoricalMetrics(_, context),
|
|
1547
1547
|
MaxResults: [],
|
|
1548
1548
|
NextToken: [],
|
|
1549
|
-
StartTime: (_) =>
|
|
1549
|
+
StartTime: (_) => _.getTime() / 1000,
|
|
1550
1550
|
}));
|
|
1551
1551
|
b.m("POST").h(headers).b(body);
|
|
1552
1552
|
return b.build();
|
|
@@ -1559,7 +1559,7 @@ export const se_GetMetricDataV2Command = async (input, context) => {
|
|
|
1559
1559
|
b.bp("/metrics/data");
|
|
1560
1560
|
let body;
|
|
1561
1561
|
body = JSON.stringify(take(input, {
|
|
1562
|
-
EndTime: (_) =>
|
|
1562
|
+
EndTime: (_) => _.getTime() / 1000,
|
|
1563
1563
|
Filters: (_) => _json(_),
|
|
1564
1564
|
Groupings: (_) => _json(_),
|
|
1565
1565
|
Interval: (_) => _json(_),
|
|
@@ -1567,7 +1567,7 @@ export const se_GetMetricDataV2Command = async (input, context) => {
|
|
|
1567
1567
|
Metrics: (_) => se_MetricsV2(_, context),
|
|
1568
1568
|
NextToken: [],
|
|
1569
1569
|
ResourceArn: [],
|
|
1570
|
-
StartTime: (_) =>
|
|
1570
|
+
StartTime: (_) => _.getTime() / 1000,
|
|
1571
1571
|
}));
|
|
1572
1572
|
b.m("POST").h(headers).b(body);
|
|
1573
1573
|
return b.build();
|
|
@@ -2736,7 +2736,7 @@ export const se_StartTaskContactCommand = async (input, context) => {
|
|
|
2736
2736
|
QuickConnectId: [],
|
|
2737
2737
|
References: (_) => _json(_),
|
|
2738
2738
|
RelatedContactId: [],
|
|
2739
|
-
ScheduledTime: (_) =>
|
|
2739
|
+
ScheduledTime: (_) => _.getTime() / 1000,
|
|
2740
2740
|
TaskTemplateId: [],
|
|
2741
2741
|
}));
|
|
2742
2742
|
b.m("PUT").h(headers).b(body);
|
|
@@ -3090,7 +3090,7 @@ export const se_UpdateContactScheduleCommand = async (input, context) => {
|
|
|
3090
3090
|
body = JSON.stringify(take(input, {
|
|
3091
3091
|
ContactId: [],
|
|
3092
3092
|
InstanceId: [],
|
|
3093
|
-
ScheduledTime: (_) =>
|
|
3093
|
+
ScheduledTime: (_) => _.getTime() / 1000,
|
|
3094
3094
|
}));
|
|
3095
3095
|
b.m("POST").h(headers).b(body);
|
|
3096
3096
|
return b.build();
|
|
@@ -7604,8 +7604,8 @@ const se_RuleActions = (input, context) => {
|
|
|
7604
7604
|
};
|
|
7605
7605
|
const se_SearchContactsTimeRange = (input, context) => {
|
|
7606
7606
|
return take(input, {
|
|
7607
|
-
EndTime: (_) =>
|
|
7608
|
-
StartTime: (_) =>
|
|
7607
|
+
EndTime: (_) => _.getTime() / 1000,
|
|
7608
|
+
StartTime: (_) => _.getTime() / 1000,
|
|
7609
7609
|
Type: [],
|
|
7610
7610
|
});
|
|
7611
7611
|
};
|
|
@@ -7698,10 +7698,18 @@ const de_AgentContactReferenceList = (output, context) => {
|
|
|
7698
7698
|
const de_AgentInfo = (output, context) => {
|
|
7699
7699
|
return take(output, {
|
|
7700
7700
|
AgentPauseDurationInSeconds: __expectInt32,
|
|
7701
|
+
Capabilities: _json,
|
|
7701
7702
|
ConnectedToAgentTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
7703
|
+
DeviceInfo: _json,
|
|
7704
|
+
HierarchyGroups: _json,
|
|
7702
7705
|
Id: __expectString,
|
|
7703
7706
|
});
|
|
7704
7707
|
};
|
|
7708
|
+
const de_AgentQualityMetrics = (output, context) => {
|
|
7709
|
+
return take(output, {
|
|
7710
|
+
Audio: (_) => de_AudioQualityMetricsInfo(_, context),
|
|
7711
|
+
});
|
|
7712
|
+
};
|
|
7705
7713
|
const de_AgentStatus = (output, context) => {
|
|
7706
7714
|
return take(output, {
|
|
7707
7715
|
AgentStatusARN: __expectString,
|
|
@@ -7741,12 +7749,32 @@ const de_AgentStatusSummaryList = (output, context) => {
|
|
|
7741
7749
|
});
|
|
7742
7750
|
return retVal;
|
|
7743
7751
|
};
|
|
7752
|
+
const de_AttributeCondition = (output, context) => {
|
|
7753
|
+
return take(output, {
|
|
7754
|
+
ComparisonOperator: __expectString,
|
|
7755
|
+
Name: __expectString,
|
|
7756
|
+
ProficiencyLevel: __limitedParseFloat32,
|
|
7757
|
+
Value: __expectString,
|
|
7758
|
+
});
|
|
7759
|
+
};
|
|
7760
|
+
const de_AudioQualityMetricsInfo = (output, context) => {
|
|
7761
|
+
return take(output, {
|
|
7762
|
+
PotentialQualityIssues: _json,
|
|
7763
|
+
QualityScore: __limitedParseFloat32,
|
|
7764
|
+
});
|
|
7765
|
+
};
|
|
7744
7766
|
const de_Contact = (output, context) => {
|
|
7745
7767
|
return take(output, {
|
|
7746
7768
|
AgentInfo: (_) => de_AgentInfo(_, context),
|
|
7769
|
+
AnsweringMachineDetectionStatus: __expectString,
|
|
7747
7770
|
Arn: __expectString,
|
|
7771
|
+
Campaign: _json,
|
|
7748
7772
|
Channel: __expectString,
|
|
7773
|
+
ConnectedToSystemTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
7774
|
+
Customer: _json,
|
|
7775
|
+
CustomerVoiceActivity: (_) => de_CustomerVoiceActivity(_, context),
|
|
7749
7776
|
Description: __expectString,
|
|
7777
|
+
DisconnectDetails: _json,
|
|
7750
7778
|
DisconnectTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
7751
7779
|
Id: __expectString,
|
|
7752
7780
|
InitialContactId: __expectString,
|
|
@@ -7757,11 +7785,14 @@ const de_Contact = (output, context) => {
|
|
|
7757
7785
|
LastUpdateTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
7758
7786
|
Name: __expectString,
|
|
7759
7787
|
PreviousContactId: __expectString,
|
|
7788
|
+
QualityMetrics: (_) => de_QualityMetrics(_, context),
|
|
7760
7789
|
QueueInfo: (_) => de_QueueInfo(_, context),
|
|
7761
7790
|
QueuePriority: __expectLong,
|
|
7762
7791
|
QueueTimeAdjustmentSeconds: __expectInt32,
|
|
7763
7792
|
RelatedContactId: __expectString,
|
|
7793
|
+
RoutingCriteria: (_) => de_RoutingCriteria(_, context),
|
|
7764
7794
|
ScheduledTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
7795
|
+
SegmentAttributes: _json,
|
|
7765
7796
|
Tags: _json,
|
|
7766
7797
|
TotalPauseCount: __expectInt32,
|
|
7767
7798
|
TotalPauseDurationInSeconds: __expectInt32,
|
|
@@ -7845,6 +7876,17 @@ const de_CurrentMetricResults = (output, context) => {
|
|
|
7845
7876
|
});
|
|
7846
7877
|
return retVal;
|
|
7847
7878
|
};
|
|
7879
|
+
const de_CustomerQualityMetrics = (output, context) => {
|
|
7880
|
+
return take(output, {
|
|
7881
|
+
Audio: (_) => de_AudioQualityMetricsInfo(_, context),
|
|
7882
|
+
});
|
|
7883
|
+
};
|
|
7884
|
+
const de_CustomerVoiceActivity = (output, context) => {
|
|
7885
|
+
return take(output, {
|
|
7886
|
+
GreetingEndTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
7887
|
+
GreetingStartTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
7888
|
+
});
|
|
7889
|
+
};
|
|
7848
7890
|
const de_Evaluation = (output, context) => {
|
|
7849
7891
|
return take(output, {
|
|
7850
7892
|
Answers: (_) => de_EvaluationAnswersOutputMap(_, context),
|
|
@@ -8045,6 +8087,27 @@ const de_EvaluationSummaryList = (output, context) => {
|
|
|
8045
8087
|
});
|
|
8046
8088
|
return retVal;
|
|
8047
8089
|
};
|
|
8090
|
+
const de_Expiry = (output, context) => {
|
|
8091
|
+
return take(output, {
|
|
8092
|
+
DurationInSeconds: __expectInt32,
|
|
8093
|
+
ExpiryTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
8094
|
+
});
|
|
8095
|
+
};
|
|
8096
|
+
const de_Expression = (output, context) => {
|
|
8097
|
+
return take(output, {
|
|
8098
|
+
AndExpression: (_) => de_Expressions(_, context),
|
|
8099
|
+
AttributeCondition: (_) => de_AttributeCondition(_, context),
|
|
8100
|
+
OrExpression: (_) => de_Expressions(_, context),
|
|
8101
|
+
});
|
|
8102
|
+
};
|
|
8103
|
+
const de_Expressions = (output, context) => {
|
|
8104
|
+
const retVal = (output || [])
|
|
8105
|
+
.filter((e) => e != null)
|
|
8106
|
+
.map((entry) => {
|
|
8107
|
+
return de_Expression(entry, context);
|
|
8108
|
+
});
|
|
8109
|
+
return retVal;
|
|
8110
|
+
};
|
|
8048
8111
|
const de_FieldValue = (output, context) => {
|
|
8049
8112
|
return take(output, {
|
|
8050
8113
|
Id: __expectString,
|
|
@@ -8345,6 +8408,12 @@ const de_PromptSummaryList = (output, context) => {
|
|
|
8345
8408
|
});
|
|
8346
8409
|
return retVal;
|
|
8347
8410
|
};
|
|
8411
|
+
const de_QualityMetrics = (output, context) => {
|
|
8412
|
+
return take(output, {
|
|
8413
|
+
Agent: (_) => de_AgentQualityMetrics(_, context),
|
|
8414
|
+
Customer: (_) => de_CustomerQualityMetrics(_, context),
|
|
8415
|
+
});
|
|
8416
|
+
};
|
|
8348
8417
|
const de_Queue = (output, context) => {
|
|
8349
8418
|
return take(output, {
|
|
8350
8419
|
Description: __expectString,
|
|
@@ -8507,9 +8576,17 @@ const de_RealTimeContactAnalysisTimeData = (output, context) => {
|
|
|
8507
8576
|
}
|
|
8508
8577
|
return { $unknown: Object.entries(output)[0] };
|
|
8509
8578
|
};
|
|
8579
|
+
const de_RoutingCriteria = (output, context) => {
|
|
8580
|
+
return take(output, {
|
|
8581
|
+
ActivationTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
8582
|
+
Index: __expectInt32,
|
|
8583
|
+
Steps: (_) => de_Steps(_, context),
|
|
8584
|
+
});
|
|
8585
|
+
};
|
|
8510
8586
|
const de_RoutingProfile = (output, context) => {
|
|
8511
8587
|
return take(output, {
|
|
8512
8588
|
AgentAvailabilityTimer: __expectString,
|
|
8589
|
+
AssociatedQueueIds: _json,
|
|
8513
8590
|
DefaultOutboundQueueId: __expectString,
|
|
8514
8591
|
Description: __expectString,
|
|
8515
8592
|
InstanceId: __expectString,
|
|
@@ -8654,6 +8731,21 @@ const de_SecurityProfileSummaryList = (output, context) => {
|
|
|
8654
8731
|
});
|
|
8655
8732
|
return retVal;
|
|
8656
8733
|
};
|
|
8734
|
+
const de_Step = (output, context) => {
|
|
8735
|
+
return take(output, {
|
|
8736
|
+
Expiry: (_) => de_Expiry(_, context),
|
|
8737
|
+
Expression: (_) => de_Expression(_, context),
|
|
8738
|
+
Status: __expectString,
|
|
8739
|
+
});
|
|
8740
|
+
};
|
|
8741
|
+
const de_Steps = (output, context) => {
|
|
8742
|
+
const retVal = (output || [])
|
|
8743
|
+
.filter((e) => e != null)
|
|
8744
|
+
.map((entry) => {
|
|
8745
|
+
return de_Step(entry, context);
|
|
8746
|
+
});
|
|
8747
|
+
return retVal;
|
|
8748
|
+
};
|
|
8657
8749
|
const de_TaskTemplateList = (output, context) => {
|
|
8658
8750
|
const retVal = (output || [])
|
|
8659
8751
|
.filter((e) => e != null)
|
|
@@ -37,16 +37,16 @@ declare const ClaimPhoneNumberCommand_base: {
|
|
|
37
37
|
* the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html">DescribePhoneNumber</a> API to verify the status of a previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html">ClaimPhoneNumber</a>
|
|
38
38
|
* operation.</p>
|
|
39
39
|
* </important>
|
|
40
|
-
* <p>If you plan to claim and release numbers frequently
|
|
40
|
+
* <p>If you plan to claim and release numbers frequently,
|
|
41
41
|
* contact us for a service quota exception. Otherwise, it is possible you will be blocked from
|
|
42
|
-
* claiming and releasing any more numbers until
|
|
42
|
+
* claiming and releasing any more numbers until up to 180 days past the oldest number
|
|
43
43
|
* released has expired.</p>
|
|
44
44
|
* <p>By default you can claim and release up to 200% of your maximum number of active
|
|
45
|
-
* phone numbers
|
|
46
|
-
* the UI or API during a rolling
|
|
47
|
-
* service level quota, you will be blocked from claiming any more numbers until
|
|
45
|
+
* phone numbers. If you claim and release phone numbers using
|
|
46
|
+
* the UI or API during a rolling 180 day cycle that exceeds 200% of your phone number
|
|
47
|
+
* service level quota, you will be blocked from claiming any more numbers until 180
|
|
48
48
|
* days past the oldest number released has expired. </p>
|
|
49
|
-
* <p>For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any
|
|
49
|
+
* <p>For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 180
|
|
50
50
|
* day period you release 99, claim 99, and then release 99, you will have exceeded the
|
|
51
51
|
* 200% limit. At that point you are blocked from claiming any more numbers until you
|
|
52
52
|
* open an Amazon Web Services support ticket.</p>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { DescribeContactRequest
|
|
4
|
+
import { DescribeContactRequest } from "../models/models_0";
|
|
5
|
+
import { DescribeContactResponse } from "../models/models_2";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -64,6 +65,31 @@ declare const DescribeContactCommand_base: {
|
|
|
64
65
|
* // Id: "STRING_VALUE",
|
|
65
66
|
* // ConnectedToAgentTimestamp: new Date("TIMESTAMP"),
|
|
66
67
|
* // AgentPauseDurationInSeconds: Number("int"),
|
|
68
|
+
* // HierarchyGroups: { // HierarchyGroups
|
|
69
|
+
* // Level1: { // AgentHierarchyGroup
|
|
70
|
+
* // Arn: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // Level2: {
|
|
73
|
+
* // Arn: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // Level3: {
|
|
76
|
+
* // Arn: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // Level4: {
|
|
79
|
+
* // Arn: "STRING_VALUE",
|
|
80
|
+
* // },
|
|
81
|
+
* // Level5: {
|
|
82
|
+
* // Arn: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // DeviceInfo: { // DeviceInfo
|
|
86
|
+
* // PlatformName: "STRING_VALUE",
|
|
87
|
+
* // PlatformVersion: "STRING_VALUE",
|
|
88
|
+
* // OperatingSystem: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // Capabilities: { // ParticipantCapabilities
|
|
91
|
+
* // Video: "SEND",
|
|
92
|
+
* // },
|
|
67
93
|
* // },
|
|
68
94
|
* // InitiationTimestamp: new Date("TIMESTAMP"),
|
|
69
95
|
* // DisconnectTimestamp: new Date("TIMESTAMP"),
|
|
@@ -82,6 +108,91 @@ declare const DescribeContactCommand_base: {
|
|
|
82
108
|
* // Tags: { // ContactTagMap
|
|
83
109
|
* // "<keys>": "STRING_VALUE",
|
|
84
110
|
* // },
|
|
111
|
+
* // ConnectedToSystemTimestamp: new Date("TIMESTAMP"),
|
|
112
|
+
* // RoutingCriteria: { // RoutingCriteria
|
|
113
|
+
* // Steps: [ // Steps
|
|
114
|
+
* // { // Step
|
|
115
|
+
* // Expiry: { // Expiry
|
|
116
|
+
* // DurationInSeconds: Number("int"),
|
|
117
|
+
* // ExpiryTimestamp: new Date("TIMESTAMP"),
|
|
118
|
+
* // },
|
|
119
|
+
* // Expression: { // Expression
|
|
120
|
+
* // AttributeCondition: { // AttributeCondition
|
|
121
|
+
* // Name: "STRING_VALUE",
|
|
122
|
+
* // Value: "STRING_VALUE",
|
|
123
|
+
* // ProficiencyLevel: Number("float"),
|
|
124
|
+
* // ComparisonOperator: "STRING_VALUE",
|
|
125
|
+
* // },
|
|
126
|
+
* // AndExpression: [ // Expressions
|
|
127
|
+
* // {
|
|
128
|
+
* // AttributeCondition: {
|
|
129
|
+
* // Name: "STRING_VALUE",
|
|
130
|
+
* // Value: "STRING_VALUE",
|
|
131
|
+
* // ProficiencyLevel: Number("float"),
|
|
132
|
+
* // ComparisonOperator: "STRING_VALUE",
|
|
133
|
+
* // },
|
|
134
|
+
* // AndExpression: [
|
|
135
|
+
* // "<Expression>",
|
|
136
|
+
* // ],
|
|
137
|
+
* // OrExpression: [
|
|
138
|
+
* // "<Expression>",
|
|
139
|
+
* // ],
|
|
140
|
+
* // },
|
|
141
|
+
* // ],
|
|
142
|
+
* // OrExpression: [
|
|
143
|
+
* // "<Expression>",
|
|
144
|
+
* // ],
|
|
145
|
+
* // },
|
|
146
|
+
* // Status: "ACTIVE" || "INACTIVE" || "JOINED" || "EXPIRED",
|
|
147
|
+
* // },
|
|
148
|
+
* // ],
|
|
149
|
+
* // ActivationTimestamp: new Date("TIMESTAMP"),
|
|
150
|
+
* // Index: Number("int"),
|
|
151
|
+
* // },
|
|
152
|
+
* // Customer: { // Customer
|
|
153
|
+
* // DeviceInfo: {
|
|
154
|
+
* // PlatformName: "STRING_VALUE",
|
|
155
|
+
* // PlatformVersion: "STRING_VALUE",
|
|
156
|
+
* // OperatingSystem: "STRING_VALUE",
|
|
157
|
+
* // },
|
|
158
|
+
* // Capabilities: {
|
|
159
|
+
* // Video: "SEND",
|
|
160
|
+
* // },
|
|
161
|
+
* // },
|
|
162
|
+
* // Campaign: { // Campaign
|
|
163
|
+
* // CampaignId: "STRING_VALUE",
|
|
164
|
+
* // },
|
|
165
|
+
* // AnsweringMachineDetectionStatus: "ANSWERED" || "UNDETECTED" || "ERROR" || "HUMAN_ANSWERED" || "SIT_TONE_DETECTED" || "SIT_TONE_BUSY" || "SIT_TONE_INVALID_NUMBER" || "FAX_MACHINE_DETECTED" || "VOICEMAIL_BEEP" || "VOICEMAIL_NO_BEEP" || "AMD_UNRESOLVED" || "AMD_UNANSWERED" || "AMD_ERROR" || "AMD_NOT_APPLICABLE",
|
|
166
|
+
* // CustomerVoiceActivity: { // CustomerVoiceActivity
|
|
167
|
+
* // GreetingStartTimestamp: new Date("TIMESTAMP"),
|
|
168
|
+
* // GreetingEndTimestamp: new Date("TIMESTAMP"),
|
|
169
|
+
* // },
|
|
170
|
+
* // QualityMetrics: { // QualityMetrics
|
|
171
|
+
* // Agent: { // AgentQualityMetrics
|
|
172
|
+
* // Audio: { // AudioQualityMetricsInfo
|
|
173
|
+
* // QualityScore: Number("float"),
|
|
174
|
+
* // PotentialQualityIssues: [ // PotentialAudioQualityIssues
|
|
175
|
+
* // "STRING_VALUE",
|
|
176
|
+
* // ],
|
|
177
|
+
* // },
|
|
178
|
+
* // },
|
|
179
|
+
* // Customer: { // CustomerQualityMetrics
|
|
180
|
+
* // Audio: {
|
|
181
|
+
* // QualityScore: Number("float"),
|
|
182
|
+
* // PotentialQualityIssues: [
|
|
183
|
+
* // "STRING_VALUE",
|
|
184
|
+
* // ],
|
|
185
|
+
* // },
|
|
186
|
+
* // },
|
|
187
|
+
* // },
|
|
188
|
+
* // DisconnectDetails: { // DisconnectDetails
|
|
189
|
+
* // PotentialDisconnectIssue: "STRING_VALUE",
|
|
190
|
+
* // },
|
|
191
|
+
* // SegmentAttributes: { // SegmentAttributes
|
|
192
|
+
* // "<keys>": { // SegmentAttributeValue
|
|
193
|
+
* // ValueString: "STRING_VALUE",
|
|
194
|
+
* // },
|
|
195
|
+
* // },
|
|
85
196
|
* // },
|
|
86
197
|
* // };
|
|
87
198
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { DescribeContactFlowRequest, DescribeContactFlowResponse } from "../models/
|
|
4
|
+
import { DescribeContactFlowRequest, DescribeContactFlowResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { DescribeContactFlowModuleRequest, DescribeContactFlowModuleResponse } from "../models/
|
|
4
|
+
import { DescribeContactFlowModuleRequest, DescribeContactFlowModuleResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { DescribeEvaluationFormRequest } from "../models/
|
|
4
|
+
import { DescribeEvaluationFormRequest } from "../models/models_1";
|
|
5
5
|
import { DescribeEvaluationFormResponse } from "../models/models_2";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { DescribeHoursOfOperationRequest } from "../models/
|
|
5
|
-
import { DescribeHoursOfOperationResponse } from "../models/models_1";
|
|
4
|
+
import { DescribeHoursOfOperationRequest, DescribeHoursOfOperationResponse } from "../models/models_1";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|