@aws-sdk/client-connect 3.478.0 → 3.479.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 +96 -0
- package/dist-cjs/Connect.js +24 -0
- package/dist-cjs/commands/AssociateUserProficienciesCommand.js +51 -0
- package/dist-cjs/commands/CreatePredefinedAttributeCommand.js +51 -0
- package/dist-cjs/commands/DeletePredefinedAttributeCommand.js +51 -0
- package/dist-cjs/commands/DescribePredefinedAttributeCommand.js +51 -0
- package/dist-cjs/commands/DisassociateUserProficienciesCommand.js +51 -0
- package/dist-cjs/commands/ListPredefinedAttributesCommand.js +51 -0
- package/dist-cjs/commands/ListUserProficienciesCommand.js +51 -0
- package/dist-cjs/commands/SearchContactsCommand.js +52 -0
- package/dist-cjs/commands/SearchPredefinedAttributesCommand.js +51 -0
- package/dist-cjs/commands/UpdateContactRoutingDataCommand.js +51 -0
- package/dist-cjs/commands/UpdatePredefinedAttributeCommand.js +51 -0
- package/dist-cjs/commands/UpdateUserProficienciesCommand.js +51 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/models/models_0.js +10 -16
- package/dist-cjs/models/models_1.js +62 -25
- package/dist-cjs/models/models_2.js +39 -1
- package/dist-cjs/pagination/ListPredefinedAttributesPaginator.js +7 -0
- package/dist-cjs/pagination/ListUserProficienciesPaginator.js +7 -0
- package/dist-cjs/pagination/SearchContactsPaginator.js +7 -0
- package/dist-cjs/pagination/SearchPredefinedAttributesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +878 -32
- package/dist-es/Connect.js +24 -0
- package/dist-es/commands/AssociateUserProficienciesCommand.js +47 -0
- package/dist-es/commands/CreatePredefinedAttributeCommand.js +47 -0
- package/dist-es/commands/DeletePredefinedAttributeCommand.js +47 -0
- package/dist-es/commands/DescribePredefinedAttributeCommand.js +47 -0
- package/dist-es/commands/DisassociateUserProficienciesCommand.js +47 -0
- package/dist-es/commands/ListPredefinedAttributesCommand.js +47 -0
- package/dist-es/commands/ListUserProficienciesCommand.js +47 -0
- package/dist-es/commands/SearchContactsCommand.js +48 -0
- package/dist-es/commands/SearchPredefinedAttributesCommand.js +47 -0
- package/dist-es/commands/UpdateContactRoutingDataCommand.js +47 -0
- package/dist-es/commands/UpdatePredefinedAttributeCommand.js +47 -0
- package/dist-es/commands/UpdateUserProficienciesCommand.js +47 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/models_0.js +8 -14
- package/dist-es/models/models_1.js +55 -23
- package/dist-es/models/models_2.js +36 -0
- package/dist-es/pagination/ListPredefinedAttributesPaginator.js +4 -0
- package/dist-es/pagination/ListUserProficienciesPaginator.js +4 -0
- package/dist-es/pagination/SearchContactsPaginator.js +4 -0
- package/dist-es/pagination/SearchPredefinedAttributesPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +846 -24
- package/dist-types/Connect.d.ts +84 -0
- package/dist-types/ConnectClient.d.ts +14 -2
- package/dist-types/commands/AssociateUserProficienciesCommand.d.ts +94 -0
- package/dist-types/commands/CreatePredefinedAttributeCommand.d.ts +98 -0
- package/dist-types/commands/DeletePredefinedAttributeCommand.d.ts +90 -0
- package/dist-types/commands/DescribeContactCommand.d.ts +2 -0
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +2 -1
- package/dist-types/commands/DescribePredefinedAttributeCommand.d.ts +98 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +1 -2
- package/dist-types/commands/DisassociateUserProficienciesCommand.d.ts +93 -0
- package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +5 -1
- package/dist-types/commands/GetMetricDataCommand.d.ts +5 -1
- package/dist-types/commands/ListPredefinedAttributesCommand.d.ts +97 -0
- package/dist-types/commands/ListUserProficienciesCommand.d.ts +100 -0
- package/dist-types/commands/PauseContactCommand.d.ts +2 -1
- package/dist-types/commands/ResumeContactCommand.d.ts +2 -1
- package/dist-types/commands/SearchContactsCommand.d.ts +177 -0
- package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +1 -2
- package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +128 -0
- package/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
- package/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
- package/dist-types/commands/SearchQuickConnectsCommand.d.ts +1 -2
- package/dist-types/commands/SearchResourceTagsCommand.d.ts +1 -1
- package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +1 -2
- package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +1 -2
- package/dist-types/commands/TagContactCommand.d.ts +3 -3
- package/dist-types/commands/UntagContactCommand.d.ts +3 -2
- package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +101 -0
- package/dist-types/commands/UpdatePredefinedAttributeCommand.d.ts +92 -0
- package/dist-types/commands/UpdateUserProficienciesCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +159 -185
- package/dist-types/models/models_1.d.ts +495 -423
- package/dist-types/models/models_2.d.ts +875 -12
- package/dist-types/pagination/ListPredefinedAttributesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListUserProficienciesPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchContactsPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchPredefinedAttributesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
- package/dist-types/ts3.4/Connect.d.ts +204 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/AssociateUserProficienciesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreatePredefinedAttributeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeletePredefinedAttributeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribePredefinedAttributeCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DisassociateUserProficienciesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListPredefinedAttributesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListUserProficienciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchResourceTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdatePredefinedAttributeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +46 -42
- package/dist-types/ts3.4/models/models_1.d.ts +153 -113
- package/dist-types/ts3.4/models/models_2.d.ts +215 -10
- package/dist-types/ts3.4/pagination/ListPredefinedAttributesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListUserProficienciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchContactsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchPredefinedAttributesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
- package/package.json +1 -1
|
@@ -1,9 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateViewMetadataRequestFilterSensitiveLog = exports.UpdateViewContentResponseFilterSensitiveLog = exports.UpdateViewContentRequestFilterSensitiveLog = exports.StartWebRTCContactResponseFilterSensitiveLog = exports.ConnectionDataFilterSensitiveLog = exports.AttendeeFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.MeetingFeatureStatus = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.ChatEventType = void 0;
|
|
3
|
+
exports.UpdateViewMetadataRequestFilterSensitiveLog = exports.UpdateViewContentResponseFilterSensitiveLog = exports.UpdateViewContentRequestFilterSensitiveLog = exports.StartWebRTCContactResponseFilterSensitiveLog = exports.ConnectionDataFilterSensitiveLog = exports.AttendeeFilterSensitiveLog = exports.SearchContactsRequestFilterSensitiveLog = exports.EvaluationFormItem = exports.UpdateParticipantRoleConfigChannelInfo = exports.ParticipantTimerValue = exports.ParticipantTimerAction = exports.ParticipantTimerType = exports.TimerEligibleParticipantRoles = exports.ContactNotFoundException = exports.MeetingFeatureStatus = exports.TrafficType = exports.OutboundContactNotPermittedException = exports.DestinationNotAllowedException = exports.VoiceRecordingTrack = exports.ChatEventType = exports.HierarchyGroupMatchType = exports.MaximumResultReturnedException = exports.SearchableQueueType = exports.StringComparisonType = exports.SearchContactsTimeRangeType = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const ConnectServiceException_1 = require("./ConnectServiceException");
|
|
6
6
|
const models_0_1 = require("./models_0");
|
|
7
|
+
const models_1_1 = require("./models_1");
|
|
8
|
+
exports.SearchContactsTimeRangeType = {
|
|
9
|
+
CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
|
|
10
|
+
DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
|
|
11
|
+
INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP",
|
|
12
|
+
SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP",
|
|
13
|
+
};
|
|
14
|
+
exports.StringComparisonType = {
|
|
15
|
+
CONTAINS: "CONTAINS",
|
|
16
|
+
EXACT: "EXACT",
|
|
17
|
+
STARTS_WITH: "STARTS_WITH",
|
|
18
|
+
};
|
|
19
|
+
exports.SearchableQueueType = {
|
|
20
|
+
STANDARD: "STANDARD",
|
|
21
|
+
};
|
|
22
|
+
class MaximumResultReturnedException extends ConnectServiceException_1.ConnectServiceException {
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "MaximumResultReturnedException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
this.name = "MaximumResultReturnedException";
|
|
30
|
+
this.$fault = "client";
|
|
31
|
+
Object.setPrototypeOf(this, MaximumResultReturnedException.prototype);
|
|
32
|
+
this.Message = opts.Message;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.MaximumResultReturnedException = MaximumResultReturnedException;
|
|
36
|
+
exports.HierarchyGroupMatchType = {
|
|
37
|
+
EXACT: "EXACT",
|
|
38
|
+
WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
|
|
39
|
+
};
|
|
7
40
|
exports.ChatEventType = {
|
|
8
41
|
DISCONNECT: "DISCONNECT",
|
|
9
42
|
EVENT: "EVENT",
|
|
@@ -103,6 +136,11 @@ var EvaluationFormItem;
|
|
|
103
136
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
104
137
|
};
|
|
105
138
|
})(EvaluationFormItem = exports.EvaluationFormItem || (exports.EvaluationFormItem = {}));
|
|
139
|
+
const SearchContactsRequestFilterSensitiveLog = (obj) => ({
|
|
140
|
+
...obj,
|
|
141
|
+
...(obj.SearchCriteria && { SearchCriteria: (0, models_1_1.SearchCriteriaFilterSensitiveLog)(obj.SearchCriteria) }),
|
|
142
|
+
});
|
|
143
|
+
exports.SearchContactsRequestFilterSensitiveLog = SearchContactsRequestFilterSensitiveLog;
|
|
106
144
|
const AttendeeFilterSensitiveLog = (obj) => ({
|
|
107
145
|
...obj,
|
|
108
146
|
...(obj.JoinToken && { JoinToken: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListPredefinedAttributes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListPredefinedAttributesCommand_1 = require("../commands/ListPredefinedAttributesCommand");
|
|
6
|
+
const ConnectClient_1 = require("../ConnectClient");
|
|
7
|
+
exports.paginateListPredefinedAttributes = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListPredefinedAttributesCommand_1.ListPredefinedAttributesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListUserProficiencies = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ListUserProficienciesCommand_1 = require("../commands/ListUserProficienciesCommand");
|
|
6
|
+
const ConnectClient_1 = require("../ConnectClient");
|
|
7
|
+
exports.paginateListUserProficiencies = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListUserProficienciesCommand_1.ListUserProficienciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateSearchContacts = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const SearchContactsCommand_1 = require("../commands/SearchContactsCommand");
|
|
6
|
+
const ConnectClient_1 = require("../ConnectClient");
|
|
7
|
+
exports.paginateSearchContacts = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, SearchContactsCommand_1.SearchContactsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateSearchPredefinedAttributes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const SearchPredefinedAttributesCommand_1 = require("../commands/SearchPredefinedAttributesCommand");
|
|
6
|
+
const ConnectClient_1 = require("../ConnectClient");
|
|
7
|
+
exports.paginateSearchPredefinedAttributes = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, SearchPredefinedAttributesCommand_1.SearchPredefinedAttributesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -26,6 +26,7 @@ tslib_1.__exportStar(require("./ListLambdaFunctionsPaginator"), exports);
|
|
|
26
26
|
tslib_1.__exportStar(require("./ListLexBotsPaginator"), exports);
|
|
27
27
|
tslib_1.__exportStar(require("./ListPhoneNumbersPaginator"), exports);
|
|
28
28
|
tslib_1.__exportStar(require("./ListPhoneNumbersV2Paginator"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./ListPredefinedAttributesPaginator"), exports);
|
|
29
30
|
tslib_1.__exportStar(require("./ListPromptsPaginator"), exports);
|
|
30
31
|
tslib_1.__exportStar(require("./ListQueueQuickConnectsPaginator"), exports);
|
|
31
32
|
tslib_1.__exportStar(require("./ListQueuesPaginator"), exports);
|
|
@@ -43,11 +44,14 @@ tslib_1.__exportStar(require("./ListTrafficDistributionGroupUsersPaginator"), ex
|
|
|
43
44
|
tslib_1.__exportStar(require("./ListTrafficDistributionGroupsPaginator"), exports);
|
|
44
45
|
tslib_1.__exportStar(require("./ListUseCasesPaginator"), exports);
|
|
45
46
|
tslib_1.__exportStar(require("./ListUserHierarchyGroupsPaginator"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./ListUserProficienciesPaginator"), exports);
|
|
46
48
|
tslib_1.__exportStar(require("./ListUsersPaginator"), exports);
|
|
47
49
|
tslib_1.__exportStar(require("./ListViewVersionsPaginator"), exports);
|
|
48
50
|
tslib_1.__exportStar(require("./ListViewsPaginator"), exports);
|
|
49
51
|
tslib_1.__exportStar(require("./SearchAvailablePhoneNumbersPaginator"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./SearchContactsPaginator"), exports);
|
|
50
53
|
tslib_1.__exportStar(require("./SearchHoursOfOperationsPaginator"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./SearchPredefinedAttributesPaginator"), exports);
|
|
51
55
|
tslib_1.__exportStar(require("./SearchPromptsPaginator"), exports);
|
|
52
56
|
tslib_1.__exportStar(require("./SearchQueuesPaginator"), exports);
|
|
53
57
|
tslib_1.__exportStar(require("./SearchQuickConnectsPaginator"), exports);
|