@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
package/dist-cjs/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __export(src_exports, {
|
|
|
27
27
|
AgentAvailabilityTimer: () => AgentAvailabilityTimer,
|
|
28
28
|
AgentStatusState: () => AgentStatusState,
|
|
29
29
|
AgentStatusType: () => AgentStatusType,
|
|
30
|
+
AnsweringMachineDetectionStatus: () => AnsweringMachineDetectionStatus,
|
|
30
31
|
ArtifactStatus: () => ArtifactStatus,
|
|
31
32
|
AssociateAnalyticsDataSetCommand: () => AssociateAnalyticsDataSetCommand,
|
|
32
33
|
AssociateApprovedOriginCommand: () => AssociateApprovedOriginCommand,
|
|
@@ -317,6 +318,7 @@ __export(src_exports, {
|
|
|
317
318
|
ResourceType: () => ResourceType,
|
|
318
319
|
ResumeContactCommand: () => ResumeContactCommand,
|
|
319
320
|
ResumeContactRecordingCommand: () => ResumeContactRecordingCommand,
|
|
321
|
+
RoutingCriteriaStepStatus: () => RoutingCriteriaStepStatus,
|
|
320
322
|
RulePublishStatus: () => RulePublishStatus,
|
|
321
323
|
SearchAvailablePhoneNumbersCommand: () => SearchAvailablePhoneNumbersCommand,
|
|
322
324
|
SearchContactFlowModulesCommand: () => SearchContactFlowModulesCommand,
|
|
@@ -837,6 +839,9 @@ var ContactInitiationMethod = {
|
|
|
837
839
|
QUEUE_TRANSFER: "QUEUE_TRANSFER",
|
|
838
840
|
TRANSFER: "TRANSFER"
|
|
839
841
|
};
|
|
842
|
+
var VideoCapability = {
|
|
843
|
+
SEND: "SEND"
|
|
844
|
+
};
|
|
840
845
|
var AgentStatusState = {
|
|
841
846
|
DISABLED: "DISABLED",
|
|
842
847
|
ENABLED: "ENABLED"
|
|
@@ -846,9 +851,6 @@ var AgentStatusType = {
|
|
|
846
851
|
OFFLINE: "OFFLINE",
|
|
847
852
|
ROUTABLE: "ROUTABLE"
|
|
848
853
|
};
|
|
849
|
-
var VideoCapability = {
|
|
850
|
-
SEND: "SEND"
|
|
851
|
-
};
|
|
852
854
|
var MonitorCapability = {
|
|
853
855
|
BARGE: "BARGE",
|
|
854
856
|
SILENT_MONITOR: "SILENT_MONITOR"
|
|
@@ -1377,6 +1379,28 @@ var VocabularyState = {
|
|
|
1377
1379
|
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
1378
1380
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS"
|
|
1379
1381
|
};
|
|
1382
|
+
var AnsweringMachineDetectionStatus = {
|
|
1383
|
+
AMD_ERROR: "AMD_ERROR",
|
|
1384
|
+
AMD_NOT_APPLICABLE: "AMD_NOT_APPLICABLE",
|
|
1385
|
+
AMD_UNANSWERED: "AMD_UNANSWERED",
|
|
1386
|
+
AMD_UNRESOLVED: "AMD_UNRESOLVED",
|
|
1387
|
+
ANSWERED: "ANSWERED",
|
|
1388
|
+
ERROR: "ERROR",
|
|
1389
|
+
FAX_MACHINE_DETECTED: "FAX_MACHINE_DETECTED",
|
|
1390
|
+
HUMAN_ANSWERED: "HUMAN_ANSWERED",
|
|
1391
|
+
SIT_TONE_BUSY: "SIT_TONE_BUSY",
|
|
1392
|
+
SIT_TONE_DETECTED: "SIT_TONE_DETECTED",
|
|
1393
|
+
SIT_TONE_INVALID_NUMBER: "SIT_TONE_INVALID_NUMBER",
|
|
1394
|
+
UNDETECTED: "UNDETECTED",
|
|
1395
|
+
VOICEMAIL_BEEP: "VOICEMAIL_BEEP",
|
|
1396
|
+
VOICEMAIL_NO_BEEP: "VOICEMAIL_NO_BEEP"
|
|
1397
|
+
};
|
|
1398
|
+
var RoutingCriteriaStepStatus = {
|
|
1399
|
+
ACTIVE: "ACTIVE",
|
|
1400
|
+
EXPIRED: "EXPIRED",
|
|
1401
|
+
INACTIVE: "INACTIVE",
|
|
1402
|
+
JOINED: "JOINED"
|
|
1403
|
+
};
|
|
1380
1404
|
var EvaluationAnswerData;
|
|
1381
1405
|
((EvaluationAnswerData3) => {
|
|
1382
1406
|
EvaluationAnswerData3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -1393,40 +1417,6 @@ var EvaluationStatus = {
|
|
|
1393
1417
|
DRAFT: "DRAFT",
|
|
1394
1418
|
SUBMITTED: "SUBMITTED"
|
|
1395
1419
|
};
|
|
1396
|
-
var _ContactFlowNotPublishedException = class _ContactFlowNotPublishedException extends ConnectServiceException {
|
|
1397
|
-
/**
|
|
1398
|
-
* @internal
|
|
1399
|
-
*/
|
|
1400
|
-
constructor(opts) {
|
|
1401
|
-
super({
|
|
1402
|
-
name: "ContactFlowNotPublishedException",
|
|
1403
|
-
$fault: "client",
|
|
1404
|
-
...opts
|
|
1405
|
-
});
|
|
1406
|
-
this.name = "ContactFlowNotPublishedException";
|
|
1407
|
-
this.$fault = "client";
|
|
1408
|
-
Object.setPrototypeOf(this, _ContactFlowNotPublishedException.prototype);
|
|
1409
|
-
this.Message = opts.Message;
|
|
1410
|
-
}
|
|
1411
|
-
};
|
|
1412
|
-
__name(_ContactFlowNotPublishedException, "ContactFlowNotPublishedException");
|
|
1413
|
-
var ContactFlowNotPublishedException = _ContactFlowNotPublishedException;
|
|
1414
|
-
var ContactFlowState = {
|
|
1415
|
-
ACTIVE: "ACTIVE",
|
|
1416
|
-
ARCHIVED: "ARCHIVED"
|
|
1417
|
-
};
|
|
1418
|
-
var ContactFlowModuleState = {
|
|
1419
|
-
ACTIVE: "ACTIVE",
|
|
1420
|
-
ARCHIVED: "ARCHIVED"
|
|
1421
|
-
};
|
|
1422
|
-
var ContactFlowModuleStatus = {
|
|
1423
|
-
PUBLISHED: "PUBLISHED",
|
|
1424
|
-
SAVED: "SAVED"
|
|
1425
|
-
};
|
|
1426
|
-
var EvaluationFormVersionStatus = {
|
|
1427
|
-
ACTIVE: "ACTIVE",
|
|
1428
|
-
DRAFT: "DRAFT"
|
|
1429
|
-
};
|
|
1430
1420
|
var CreateInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1431
1421
|
...obj,
|
|
1432
1422
|
...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -1470,18 +1460,43 @@ var CreateViewVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
1470
1460
|
...obj,
|
|
1471
1461
|
...obj.View && { View: ViewFilterSensitiveLog(obj.View) }
|
|
1472
1462
|
}), "CreateViewVersionResponseFilterSensitiveLog");
|
|
1473
|
-
var ContactFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1474
|
-
...obj,
|
|
1475
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
1476
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
1477
|
-
}), "ContactFilterSensitiveLog");
|
|
1478
|
-
var DescribeContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1479
|
-
...obj,
|
|
1480
|
-
...obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }
|
|
1481
|
-
}), "DescribeContactResponseFilterSensitiveLog");
|
|
1482
1463
|
|
|
1483
1464
|
// src/models/models_1.ts
|
|
1484
1465
|
|
|
1466
|
+
var _ContactFlowNotPublishedException = class _ContactFlowNotPublishedException extends ConnectServiceException {
|
|
1467
|
+
/**
|
|
1468
|
+
* @internal
|
|
1469
|
+
*/
|
|
1470
|
+
constructor(opts) {
|
|
1471
|
+
super({
|
|
1472
|
+
name: "ContactFlowNotPublishedException",
|
|
1473
|
+
$fault: "client",
|
|
1474
|
+
...opts
|
|
1475
|
+
});
|
|
1476
|
+
this.name = "ContactFlowNotPublishedException";
|
|
1477
|
+
this.$fault = "client";
|
|
1478
|
+
Object.setPrototypeOf(this, _ContactFlowNotPublishedException.prototype);
|
|
1479
|
+
this.Message = opts.Message;
|
|
1480
|
+
}
|
|
1481
|
+
};
|
|
1482
|
+
__name(_ContactFlowNotPublishedException, "ContactFlowNotPublishedException");
|
|
1483
|
+
var ContactFlowNotPublishedException = _ContactFlowNotPublishedException;
|
|
1484
|
+
var ContactFlowState = {
|
|
1485
|
+
ACTIVE: "ACTIVE",
|
|
1486
|
+
ARCHIVED: "ARCHIVED"
|
|
1487
|
+
};
|
|
1488
|
+
var ContactFlowModuleState = {
|
|
1489
|
+
ACTIVE: "ACTIVE",
|
|
1490
|
+
ARCHIVED: "ARCHIVED"
|
|
1491
|
+
};
|
|
1492
|
+
var ContactFlowModuleStatus = {
|
|
1493
|
+
PUBLISHED: "PUBLISHED",
|
|
1494
|
+
SAVED: "SAVED"
|
|
1495
|
+
};
|
|
1496
|
+
var EvaluationFormVersionStatus = {
|
|
1497
|
+
ACTIVE: "ACTIVE",
|
|
1498
|
+
DRAFT: "DRAFT"
|
|
1499
|
+
};
|
|
1485
1500
|
var InstanceStatus = {
|
|
1486
1501
|
ACTIVE: "ACTIVE",
|
|
1487
1502
|
CREATION_FAILED: "CREATION_FAILED",
|
|
@@ -1958,24 +1973,6 @@ var _OutputTypeNotFoundException = class _OutputTypeNotFoundException extends Co
|
|
|
1958
1973
|
};
|
|
1959
1974
|
__name(_OutputTypeNotFoundException, "OutputTypeNotFoundException");
|
|
1960
1975
|
var OutputTypeNotFoundException = _OutputTypeNotFoundException;
|
|
1961
|
-
var _ConflictException = class _ConflictException extends ConnectServiceException {
|
|
1962
|
-
/**
|
|
1963
|
-
* @internal
|
|
1964
|
-
*/
|
|
1965
|
-
constructor(opts) {
|
|
1966
|
-
super({
|
|
1967
|
-
name: "ConflictException",
|
|
1968
|
-
$fault: "client",
|
|
1969
|
-
...opts
|
|
1970
|
-
});
|
|
1971
|
-
this.name = "ConflictException";
|
|
1972
|
-
this.$fault = "client";
|
|
1973
|
-
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
1974
|
-
this.Message = opts.Message;
|
|
1975
|
-
}
|
|
1976
|
-
};
|
|
1977
|
-
__name(_ConflictException, "ConflictException");
|
|
1978
|
-
var ConflictException = _ConflictException;
|
|
1979
1976
|
var InstanceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1980
1977
|
...obj,
|
|
1981
1978
|
...obj.InstanceAlias && { InstanceAlias: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -2015,29 +2012,27 @@ var ListInstancesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
2015
2012
|
InstanceSummaryList: obj.InstanceSummaryList.map((item) => InstanceSummaryFilterSensitiveLog(item))
|
|
2016
2013
|
}
|
|
2017
2014
|
}), "ListInstancesResponseFilterSensitiveLog");
|
|
2018
|
-
var ViewSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2019
|
-
...obj,
|
|
2020
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
|
|
2021
|
-
}), "ViewSummaryFilterSensitiveLog");
|
|
2022
|
-
var ListViewsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2023
|
-
...obj,
|
|
2024
|
-
...obj.ViewsSummaryList && {
|
|
2025
|
-
ViewsSummaryList: obj.ViewsSummaryList.map((item) => ViewSummaryFilterSensitiveLog(item))
|
|
2026
|
-
}
|
|
2027
|
-
}), "ListViewsResponseFilterSensitiveLog");
|
|
2028
|
-
var ViewVersionSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2029
|
-
...obj,
|
|
2030
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
|
|
2031
|
-
}), "ViewVersionSummaryFilterSensitiveLog");
|
|
2032
|
-
var ListViewVersionsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2033
|
-
...obj,
|
|
2034
|
-
...obj.ViewVersionSummaryList && {
|
|
2035
|
-
ViewVersionSummaryList: obj.ViewVersionSummaryList.map((item) => ViewVersionSummaryFilterSensitiveLog(item))
|
|
2036
|
-
}
|
|
2037
|
-
}), "ListViewVersionsResponseFilterSensitiveLog");
|
|
2038
2015
|
|
|
2039
2016
|
// src/models/models_2.ts
|
|
2040
2017
|
|
|
2018
|
+
var _ConflictException = class _ConflictException extends ConnectServiceException {
|
|
2019
|
+
/**
|
|
2020
|
+
* @internal
|
|
2021
|
+
*/
|
|
2022
|
+
constructor(opts) {
|
|
2023
|
+
super({
|
|
2024
|
+
name: "ConflictException",
|
|
2025
|
+
$fault: "client",
|
|
2026
|
+
...opts
|
|
2027
|
+
});
|
|
2028
|
+
this.name = "ConflictException";
|
|
2029
|
+
this.$fault = "client";
|
|
2030
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
2031
|
+
this.Message = opts.Message;
|
|
2032
|
+
}
|
|
2033
|
+
};
|
|
2034
|
+
__name(_ConflictException, "ConflictException");
|
|
2035
|
+
var ConflictException = _ConflictException;
|
|
2041
2036
|
var StringComparisonType = {
|
|
2042
2037
|
CONTAINS: "CONTAINS",
|
|
2043
2038
|
EXACT: "EXACT",
|
|
@@ -2197,6 +2192,26 @@ var EvaluationFormItem;
|
|
|
2197
2192
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
2198
2193
|
}, "visit");
|
|
2199
2194
|
})(EvaluationFormItem || (EvaluationFormItem = {}));
|
|
2195
|
+
var ViewSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2196
|
+
...obj,
|
|
2197
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
|
|
2198
|
+
}), "ViewSummaryFilterSensitiveLog");
|
|
2199
|
+
var ListViewsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2200
|
+
...obj,
|
|
2201
|
+
...obj.ViewsSummaryList && {
|
|
2202
|
+
ViewsSummaryList: obj.ViewsSummaryList.map((item) => ViewSummaryFilterSensitiveLog(item))
|
|
2203
|
+
}
|
|
2204
|
+
}), "ListViewsResponseFilterSensitiveLog");
|
|
2205
|
+
var ViewVersionSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2206
|
+
...obj,
|
|
2207
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
|
|
2208
|
+
}), "ViewVersionSummaryFilterSensitiveLog");
|
|
2209
|
+
var ListViewVersionsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2210
|
+
...obj,
|
|
2211
|
+
...obj.ViewVersionSummaryList && {
|
|
2212
|
+
ViewVersionSummaryList: obj.ViewVersionSummaryList.map((item) => ViewVersionSummaryFilterSensitiveLog(item))
|
|
2213
|
+
}
|
|
2214
|
+
}), "ListViewVersionsResponseFilterSensitiveLog");
|
|
2200
2215
|
var ReplicateInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2201
2216
|
...obj,
|
|
2202
2217
|
...obj.ReplicaAlias && { ReplicaAlias: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -2295,6 +2310,15 @@ var UpdateViewMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
2295
2310
|
...obj,
|
|
2296
2311
|
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
|
|
2297
2312
|
}), "UpdateViewMetadataRequestFilterSensitiveLog");
|
|
2313
|
+
var ContactFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2314
|
+
...obj,
|
|
2315
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2316
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
2317
|
+
}), "ContactFilterSensitiveLog");
|
|
2318
|
+
var DescribeContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2319
|
+
...obj,
|
|
2320
|
+
...obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }
|
|
2321
|
+
}), "DescribeContactResponseFilterSensitiveLog");
|
|
2298
2322
|
|
|
2299
2323
|
// src/protocols/Aws_restJson1.ts
|
|
2300
2324
|
var se_ActivateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -3940,13 +3964,13 @@ var se_GetMetricDataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
3940
3964
|
let body;
|
|
3941
3965
|
body = JSON.stringify(
|
|
3942
3966
|
(0, import_smithy_client.take)(input, {
|
|
3943
|
-
EndTime: (_) =>
|
|
3967
|
+
EndTime: (_) => _.getTime() / 1e3,
|
|
3944
3968
|
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
3945
3969
|
Groupings: (_) => (0, import_smithy_client._json)(_),
|
|
3946
3970
|
HistoricalMetrics: (_) => se_HistoricalMetrics(_, context),
|
|
3947
3971
|
MaxResults: [],
|
|
3948
3972
|
NextToken: [],
|
|
3949
|
-
StartTime: (_) =>
|
|
3973
|
+
StartTime: (_) => _.getTime() / 1e3
|
|
3950
3974
|
})
|
|
3951
3975
|
);
|
|
3952
3976
|
b.m("POST").h(headers).b(body);
|
|
@@ -3961,7 +3985,7 @@ var se_GetMetricDataV2Command = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
3961
3985
|
let body;
|
|
3962
3986
|
body = JSON.stringify(
|
|
3963
3987
|
(0, import_smithy_client.take)(input, {
|
|
3964
|
-
EndTime: (_) =>
|
|
3988
|
+
EndTime: (_) => _.getTime() / 1e3,
|
|
3965
3989
|
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
3966
3990
|
Groupings: (_) => (0, import_smithy_client._json)(_),
|
|
3967
3991
|
Interval: (_) => (0, import_smithy_client._json)(_),
|
|
@@ -3969,7 +3993,7 @@ var se_GetMetricDataV2Command = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
3969
3993
|
Metrics: (_) => se_MetricsV2(_, context),
|
|
3970
3994
|
NextToken: [],
|
|
3971
3995
|
ResourceArn: [],
|
|
3972
|
-
StartTime: (_) =>
|
|
3996
|
+
StartTime: (_) => _.getTime() / 1e3
|
|
3973
3997
|
})
|
|
3974
3998
|
);
|
|
3975
3999
|
b.m("POST").h(headers).b(body);
|
|
@@ -5202,7 +5226,7 @@ var se_StartTaskContactCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
5202
5226
|
QuickConnectId: [],
|
|
5203
5227
|
References: (_) => (0, import_smithy_client._json)(_),
|
|
5204
5228
|
RelatedContactId: [],
|
|
5205
|
-
ScheduledTime: (_) =>
|
|
5229
|
+
ScheduledTime: (_) => _.getTime() / 1e3,
|
|
5206
5230
|
TaskTemplateId: []
|
|
5207
5231
|
})
|
|
5208
5232
|
);
|
|
@@ -5596,7 +5620,7 @@ var se_UpdateContactScheduleCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
5596
5620
|
(0, import_smithy_client.take)(input, {
|
|
5597
5621
|
ContactId: [],
|
|
5598
5622
|
InstanceId: [],
|
|
5599
|
-
ScheduledTime: (_) =>
|
|
5623
|
+
ScheduledTime: (_) => _.getTime() / 1e3
|
|
5600
5624
|
})
|
|
5601
5625
|
);
|
|
5602
5626
|
b.m("POST").h(headers).b(body);
|
|
@@ -10155,8 +10179,8 @@ var se_RuleActions = /* @__PURE__ */ __name((input, context) => {
|
|
|
10155
10179
|
}, "se_RuleActions");
|
|
10156
10180
|
var se_SearchContactsTimeRange = /* @__PURE__ */ __name((input, context) => {
|
|
10157
10181
|
return (0, import_smithy_client.take)(input, {
|
|
10158
|
-
EndTime: (_) =>
|
|
10159
|
-
StartTime: (_) =>
|
|
10182
|
+
EndTime: (_) => _.getTime() / 1e3,
|
|
10183
|
+
StartTime: (_) => _.getTime() / 1e3,
|
|
10160
10184
|
Type: []
|
|
10161
10185
|
});
|
|
10162
10186
|
}, "se_SearchContactsTimeRange");
|
|
@@ -10239,10 +10263,18 @@ var de_AgentContactReferenceList = /* @__PURE__ */ __name((output, context) => {
|
|
|
10239
10263
|
var de_AgentInfo = /* @__PURE__ */ __name((output, context) => {
|
|
10240
10264
|
return (0, import_smithy_client.take)(output, {
|
|
10241
10265
|
AgentPauseDurationInSeconds: import_smithy_client.expectInt32,
|
|
10266
|
+
Capabilities: import_smithy_client._json,
|
|
10242
10267
|
ConnectedToAgentTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10268
|
+
DeviceInfo: import_smithy_client._json,
|
|
10269
|
+
HierarchyGroups: import_smithy_client._json,
|
|
10243
10270
|
Id: import_smithy_client.expectString
|
|
10244
10271
|
});
|
|
10245
10272
|
}, "de_AgentInfo");
|
|
10273
|
+
var de_AgentQualityMetrics = /* @__PURE__ */ __name((output, context) => {
|
|
10274
|
+
return (0, import_smithy_client.take)(output, {
|
|
10275
|
+
Audio: (_) => de_AudioQualityMetricsInfo(_, context)
|
|
10276
|
+
});
|
|
10277
|
+
}, "de_AgentQualityMetrics");
|
|
10246
10278
|
var de_AgentStatus = /* @__PURE__ */ __name((output, context) => {
|
|
10247
10279
|
return (0, import_smithy_client.take)(output, {
|
|
10248
10280
|
AgentStatusARN: import_smithy_client.expectString,
|
|
@@ -10280,12 +10312,32 @@ var de_AgentStatusSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
|
10280
10312
|
});
|
|
10281
10313
|
return retVal;
|
|
10282
10314
|
}, "de_AgentStatusSummaryList");
|
|
10315
|
+
var de_AttributeCondition = /* @__PURE__ */ __name((output, context) => {
|
|
10316
|
+
return (0, import_smithy_client.take)(output, {
|
|
10317
|
+
ComparisonOperator: import_smithy_client.expectString,
|
|
10318
|
+
Name: import_smithy_client.expectString,
|
|
10319
|
+
ProficiencyLevel: import_smithy_client.limitedParseFloat32,
|
|
10320
|
+
Value: import_smithy_client.expectString
|
|
10321
|
+
});
|
|
10322
|
+
}, "de_AttributeCondition");
|
|
10323
|
+
var de_AudioQualityMetricsInfo = /* @__PURE__ */ __name((output, context) => {
|
|
10324
|
+
return (0, import_smithy_client.take)(output, {
|
|
10325
|
+
PotentialQualityIssues: import_smithy_client._json,
|
|
10326
|
+
QualityScore: import_smithy_client.limitedParseFloat32
|
|
10327
|
+
});
|
|
10328
|
+
}, "de_AudioQualityMetricsInfo");
|
|
10283
10329
|
var de_Contact = /* @__PURE__ */ __name((output, context) => {
|
|
10284
10330
|
return (0, import_smithy_client.take)(output, {
|
|
10285
10331
|
AgentInfo: (_) => de_AgentInfo(_, context),
|
|
10332
|
+
AnsweringMachineDetectionStatus: import_smithy_client.expectString,
|
|
10286
10333
|
Arn: import_smithy_client.expectString,
|
|
10334
|
+
Campaign: import_smithy_client._json,
|
|
10287
10335
|
Channel: import_smithy_client.expectString,
|
|
10336
|
+
ConnectedToSystemTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10337
|
+
Customer: import_smithy_client._json,
|
|
10338
|
+
CustomerVoiceActivity: (_) => de_CustomerVoiceActivity(_, context),
|
|
10288
10339
|
Description: import_smithy_client.expectString,
|
|
10340
|
+
DisconnectDetails: import_smithy_client._json,
|
|
10289
10341
|
DisconnectTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10290
10342
|
Id: import_smithy_client.expectString,
|
|
10291
10343
|
InitialContactId: import_smithy_client.expectString,
|
|
@@ -10296,11 +10348,14 @@ var de_Contact = /* @__PURE__ */ __name((output, context) => {
|
|
|
10296
10348
|
LastUpdateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10297
10349
|
Name: import_smithy_client.expectString,
|
|
10298
10350
|
PreviousContactId: import_smithy_client.expectString,
|
|
10351
|
+
QualityMetrics: (_) => de_QualityMetrics(_, context),
|
|
10299
10352
|
QueueInfo: (_) => de_QueueInfo(_, context),
|
|
10300
10353
|
QueuePriority: import_smithy_client.expectLong,
|
|
10301
10354
|
QueueTimeAdjustmentSeconds: import_smithy_client.expectInt32,
|
|
10302
10355
|
RelatedContactId: import_smithy_client.expectString,
|
|
10356
|
+
RoutingCriteria: (_) => de_RoutingCriteria(_, context),
|
|
10303
10357
|
ScheduledTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10358
|
+
SegmentAttributes: import_smithy_client._json,
|
|
10304
10359
|
Tags: import_smithy_client._json,
|
|
10305
10360
|
TotalPauseCount: import_smithy_client.expectInt32,
|
|
10306
10361
|
TotalPauseDurationInSeconds: import_smithy_client.expectInt32,
|
|
@@ -10378,6 +10433,17 @@ var de_CurrentMetricResults = /* @__PURE__ */ __name((output, context) => {
|
|
|
10378
10433
|
});
|
|
10379
10434
|
return retVal;
|
|
10380
10435
|
}, "de_CurrentMetricResults");
|
|
10436
|
+
var de_CustomerQualityMetrics = /* @__PURE__ */ __name((output, context) => {
|
|
10437
|
+
return (0, import_smithy_client.take)(output, {
|
|
10438
|
+
Audio: (_) => de_AudioQualityMetricsInfo(_, context)
|
|
10439
|
+
});
|
|
10440
|
+
}, "de_CustomerQualityMetrics");
|
|
10441
|
+
var de_CustomerVoiceActivity = /* @__PURE__ */ __name((output, context) => {
|
|
10442
|
+
return (0, import_smithy_client.take)(output, {
|
|
10443
|
+
GreetingEndTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
10444
|
+
GreetingStartTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
10445
|
+
});
|
|
10446
|
+
}, "de_CustomerVoiceActivity");
|
|
10381
10447
|
var de_Evaluation = /* @__PURE__ */ __name((output, context) => {
|
|
10382
10448
|
return (0, import_smithy_client.take)(output, {
|
|
10383
10449
|
Answers: (_) => de_EvaluationAnswersOutputMap(_, context),
|
|
@@ -10570,6 +10636,25 @@ var de_EvaluationSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
|
10570
10636
|
});
|
|
10571
10637
|
return retVal;
|
|
10572
10638
|
}, "de_EvaluationSummaryList");
|
|
10639
|
+
var de_Expiry = /* @__PURE__ */ __name((output, context) => {
|
|
10640
|
+
return (0, import_smithy_client.take)(output, {
|
|
10641
|
+
DurationInSeconds: import_smithy_client.expectInt32,
|
|
10642
|
+
ExpiryTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
10643
|
+
});
|
|
10644
|
+
}, "de_Expiry");
|
|
10645
|
+
var de_Expression = /* @__PURE__ */ __name((output, context) => {
|
|
10646
|
+
return (0, import_smithy_client.take)(output, {
|
|
10647
|
+
AndExpression: (_) => de_Expressions(_, context),
|
|
10648
|
+
AttributeCondition: (_) => de_AttributeCondition(_, context),
|
|
10649
|
+
OrExpression: (_) => de_Expressions(_, context)
|
|
10650
|
+
});
|
|
10651
|
+
}, "de_Expression");
|
|
10652
|
+
var de_Expressions = /* @__PURE__ */ __name((output, context) => {
|
|
10653
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
10654
|
+
return de_Expression(entry, context);
|
|
10655
|
+
});
|
|
10656
|
+
return retVal;
|
|
10657
|
+
}, "de_Expressions");
|
|
10573
10658
|
var de_FieldValue = /* @__PURE__ */ __name((output, context) => {
|
|
10574
10659
|
return (0, import_smithy_client.take)(output, {
|
|
10575
10660
|
Id: import_smithy_client.expectString,
|
|
@@ -10844,6 +10929,12 @@ var de_PromptSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
|
10844
10929
|
});
|
|
10845
10930
|
return retVal;
|
|
10846
10931
|
}, "de_PromptSummaryList");
|
|
10932
|
+
var de_QualityMetrics = /* @__PURE__ */ __name((output, context) => {
|
|
10933
|
+
return (0, import_smithy_client.take)(output, {
|
|
10934
|
+
Agent: (_) => de_AgentQualityMetrics(_, context),
|
|
10935
|
+
Customer: (_) => de_CustomerQualityMetrics(_, context)
|
|
10936
|
+
});
|
|
10937
|
+
}, "de_QualityMetrics");
|
|
10847
10938
|
var de_Queue = /* @__PURE__ */ __name((output, context) => {
|
|
10848
10939
|
return (0, import_smithy_client.take)(output, {
|
|
10849
10940
|
Description: import_smithy_client.expectString,
|
|
@@ -10996,9 +11087,17 @@ var de_RealTimeContactAnalysisTimeData = /* @__PURE__ */ __name((output, context
|
|
|
10996
11087
|
}
|
|
10997
11088
|
return { $unknown: Object.entries(output)[0] };
|
|
10998
11089
|
}, "de_RealTimeContactAnalysisTimeData");
|
|
11090
|
+
var de_RoutingCriteria = /* @__PURE__ */ __name((output, context) => {
|
|
11091
|
+
return (0, import_smithy_client.take)(output, {
|
|
11092
|
+
ActivationTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
11093
|
+
Index: import_smithy_client.expectInt32,
|
|
11094
|
+
Steps: (_) => de_Steps(_, context)
|
|
11095
|
+
});
|
|
11096
|
+
}, "de_RoutingCriteria");
|
|
10999
11097
|
var de_RoutingProfile = /* @__PURE__ */ __name((output, context) => {
|
|
11000
11098
|
return (0, import_smithy_client.take)(output, {
|
|
11001
11099
|
AgentAvailabilityTimer: import_smithy_client.expectString,
|
|
11100
|
+
AssociatedQueueIds: import_smithy_client._json,
|
|
11002
11101
|
DefaultOutboundQueueId: import_smithy_client.expectString,
|
|
11003
11102
|
Description: import_smithy_client.expectString,
|
|
11004
11103
|
InstanceId: import_smithy_client.expectString,
|
|
@@ -11131,6 +11230,19 @@ var de_SecurityProfileSummaryList = /* @__PURE__ */ __name((output, context) =>
|
|
|
11131
11230
|
});
|
|
11132
11231
|
return retVal;
|
|
11133
11232
|
}, "de_SecurityProfileSummaryList");
|
|
11233
|
+
var de_Step = /* @__PURE__ */ __name((output, context) => {
|
|
11234
|
+
return (0, import_smithy_client.take)(output, {
|
|
11235
|
+
Expiry: (_) => de_Expiry(_, context),
|
|
11236
|
+
Expression: (_) => de_Expression(_, context),
|
|
11237
|
+
Status: import_smithy_client.expectString
|
|
11238
|
+
});
|
|
11239
|
+
}, "de_Step");
|
|
11240
|
+
var de_Steps = /* @__PURE__ */ __name((output, context) => {
|
|
11241
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
11242
|
+
return de_Step(entry, context);
|
|
11243
|
+
});
|
|
11244
|
+
return retVal;
|
|
11245
|
+
}, "de_Steps");
|
|
11134
11246
|
var de_TaskTemplateList = /* @__PURE__ */ __name((output, context) => {
|
|
11135
11247
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
11136
11248
|
return de_TaskTemplateMetadata(entry, context);
|
|
@@ -16423,9 +16535,9 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16423
16535
|
ContactState,
|
|
16424
16536
|
Channel,
|
|
16425
16537
|
ContactInitiationMethod,
|
|
16538
|
+
VideoCapability,
|
|
16426
16539
|
AgentStatusState,
|
|
16427
16540
|
AgentStatusType,
|
|
16428
|
-
VideoCapability,
|
|
16429
16541
|
MonitorCapability,
|
|
16430
16542
|
AttachedFileInvalidRequestExceptionReason,
|
|
16431
16543
|
InvalidRequestExceptionReason,
|
|
@@ -16485,13 +16597,10 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16485
16597
|
ResourceInUseException,
|
|
16486
16598
|
TooManyRequestsException,
|
|
16487
16599
|
VocabularyState,
|
|
16600
|
+
AnsweringMachineDetectionStatus,
|
|
16601
|
+
RoutingCriteriaStepStatus,
|
|
16488
16602
|
EvaluationAnswerData,
|
|
16489
16603
|
EvaluationStatus,
|
|
16490
|
-
ContactFlowNotPublishedException,
|
|
16491
|
-
ContactFlowState,
|
|
16492
|
-
ContactFlowModuleState,
|
|
16493
|
-
ContactFlowModuleStatus,
|
|
16494
|
-
EvaluationFormVersionStatus,
|
|
16495
16604
|
CreateInstanceRequestFilterSensitiveLog,
|
|
16496
16605
|
UserIdentityInfoFilterSensitiveLog,
|
|
16497
16606
|
CreateUserRequestFilterSensitiveLog,
|
|
@@ -16501,8 +16610,11 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16501
16610
|
ViewFilterSensitiveLog,
|
|
16502
16611
|
CreateViewResponseFilterSensitiveLog,
|
|
16503
16612
|
CreateViewVersionResponseFilterSensitiveLog,
|
|
16504
|
-
|
|
16505
|
-
|
|
16613
|
+
ContactFlowNotPublishedException,
|
|
16614
|
+
ContactFlowState,
|
|
16615
|
+
ContactFlowModuleState,
|
|
16616
|
+
ContactFlowModuleStatus,
|
|
16617
|
+
EvaluationFormVersionStatus,
|
|
16506
16618
|
InstanceStatus,
|
|
16507
16619
|
InstanceAttributeType,
|
|
16508
16620
|
PhoneNumberCountryCode,
|
|
@@ -16532,7 +16644,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16532
16644
|
RealtimeContactAnalysisSegment,
|
|
16533
16645
|
RealTimeContactAnalysisStatus,
|
|
16534
16646
|
OutputTypeNotFoundException,
|
|
16535
|
-
ConflictException,
|
|
16536
16647
|
InstanceFilterSensitiveLog,
|
|
16537
16648
|
DescribeInstanceResponseFilterSensitiveLog,
|
|
16538
16649
|
UserFilterSensitiveLog,
|
|
@@ -16542,10 +16653,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16542
16653
|
GetFederationTokenResponseFilterSensitiveLog,
|
|
16543
16654
|
InstanceSummaryFilterSensitiveLog,
|
|
16544
16655
|
ListInstancesResponseFilterSensitiveLog,
|
|
16545
|
-
|
|
16546
|
-
ListViewsResponseFilterSensitiveLog,
|
|
16547
|
-
ViewVersionSummaryFilterSensitiveLog,
|
|
16548
|
-
ListViewVersionsResponseFilterSensitiveLog,
|
|
16656
|
+
ConflictException,
|
|
16549
16657
|
StringComparisonType,
|
|
16550
16658
|
SearchContactsMatchType,
|
|
16551
16659
|
SortableFieldName,
|
|
@@ -16566,6 +16674,10 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16566
16674
|
ParticipantTimerValue,
|
|
16567
16675
|
UpdateParticipantRoleConfigChannelInfo,
|
|
16568
16676
|
EvaluationFormItem,
|
|
16677
|
+
ViewSummaryFilterSensitiveLog,
|
|
16678
|
+
ListViewsResponseFilterSensitiveLog,
|
|
16679
|
+
ViewVersionSummaryFilterSensitiveLog,
|
|
16680
|
+
ListViewVersionsResponseFilterSensitiveLog,
|
|
16569
16681
|
ReplicateInstanceRequestFilterSensitiveLog,
|
|
16570
16682
|
TranscriptCriteriaFilterSensitiveLog,
|
|
16571
16683
|
TranscriptFilterSensitiveLog,
|
|
@@ -16587,6 +16699,8 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16587
16699
|
UpdateUserIdentityInfoRequestFilterSensitiveLog,
|
|
16588
16700
|
UpdateViewContentRequestFilterSensitiveLog,
|
|
16589
16701
|
UpdateViewContentResponseFilterSensitiveLog,
|
|
16590
|
-
UpdateViewMetadataRequestFilterSensitiveLog
|
|
16702
|
+
UpdateViewMetadataRequestFilterSensitiveLog,
|
|
16703
|
+
ContactFilterSensitiveLog,
|
|
16704
|
+
DescribeContactResponseFilterSensitiveLog
|
|
16591
16705
|
});
|
|
16592
16706
|
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { DescribeContactResponseFilterSensitiveLog
|
|
5
|
+
import { DescribeContactResponseFilterSensitiveLog } from "../models/models_2";
|
|
6
6
|
import { de_DescribeContactCommand, se_DescribeContactCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DescribeContactCommand extends $Command
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { ListViewVersionsResponseFilterSensitiveLog, } from "../models/
|
|
5
|
+
import { ListViewVersionsResponseFilterSensitiveLog, } from "../models/models_2";
|
|
6
6
|
import { de_ListViewVersionsCommand, se_ListViewVersionsCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ListViewVersionsCommand extends $Command
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { ListViewsResponseFilterSensitiveLog } from "../models/
|
|
5
|
+
import { ListViewsResponseFilterSensitiveLog } from "../models/models_2";
|
|
6
6
|
import { de_ListViewsCommand, se_ListViewsCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ListViewsCommand extends $Command
|