@aws-sdk/client-connect 3.986.0 → 3.988.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 +7 -0
- package/dist-cjs/index.js +400 -12758
- package/dist-cjs/models/ConnectServiceException.js +12 -0
- package/dist-cjs/models/errors.js +434 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +10615 -0
- package/dist-es/Connect.js +2 -0
- package/dist-es/commands/UpdateUserConfigCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +11 -6
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +296 -218
- package/dist-types/Connect.d.ts +7 -0
- package/dist-types/ConnectClient.d.ts +3 -2
- package/dist-types/commands/CreateUserCommand.d.ts +64 -1
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserCommand.d.ts +38 -1
- package/dist-types/commands/ListAgentStatusesCommand.d.ts +1 -1
- package/dist-types/commands/ListAnalyticsDataAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAnalyticsDataLakeDataSetsCommand.d.ts +1 -2
- package/dist-types/commands/SearchUsersCommand.d.ts +38 -1
- package/dist-types/commands/SearchWorkspaceAssociationsCommand.d.ts +1 -2
- package/dist-types/commands/SearchWorkspacesCommand.d.ts +1 -2
- package/dist-types/commands/UpdateUserConfigCommand.d.ts +131 -0
- package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +4 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +27 -14
- package/dist-types/models/models_0.d.ts +138 -115
- package/dist-types/models/models_1.d.ts +138 -124
- package/dist-types/models/models_2.d.ts +150 -166
- package/dist-types/models/models_3.d.ts +206 -3
- package/dist-types/schemas/schemas_0.d.ts +43 -28
- package/dist-types/ts3.4/Connect.d.ts +17 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAnalyticsDataAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAnalyticsDataLakeDataSetsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchWorkspaceAssociationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchWorkspacesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateUserConfigCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +14 -7
- package/dist-types/ts3.4/models/models_0.d.ts +34 -30
- package/dist-types/ts3.4/models/models_1.d.ts +40 -33
- package/dist-types/ts3.4/models/models_2.d.ts +42 -36
- package/dist-types/ts3.4/models/models_3.d.ts +50 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +38 -28
- package/package.json +13 -13
package/dist-es/Connect.js
CHANGED
|
@@ -340,6 +340,7 @@ import { UpdateSecurityProfileCommand, } from "./commands/UpdateSecurityProfileC
|
|
|
340
340
|
import { UpdateTaskTemplateCommand, } from "./commands/UpdateTaskTemplateCommand";
|
|
341
341
|
import { UpdateTestCaseCommand, } from "./commands/UpdateTestCaseCommand";
|
|
342
342
|
import { UpdateTrafficDistributionCommand, } from "./commands/UpdateTrafficDistributionCommand";
|
|
343
|
+
import { UpdateUserConfigCommand, } from "./commands/UpdateUserConfigCommand";
|
|
343
344
|
import { UpdateUserHierarchyCommand, } from "./commands/UpdateUserHierarchyCommand";
|
|
344
345
|
import { UpdateUserHierarchyGroupNameCommand, } from "./commands/UpdateUserHierarchyGroupNameCommand";
|
|
345
346
|
import { UpdateUserHierarchyStructureCommand, } from "./commands/UpdateUserHierarchyStructureCommand";
|
|
@@ -782,6 +783,7 @@ const commands = {
|
|
|
782
783
|
UpdateTaskTemplateCommand,
|
|
783
784
|
UpdateTestCaseCommand,
|
|
784
785
|
UpdateTrafficDistributionCommand,
|
|
786
|
+
UpdateUserConfigCommand,
|
|
785
787
|
UpdateUserHierarchyCommand,
|
|
786
788
|
UpdateUserHierarchyGroupNameCommand,
|
|
787
789
|
UpdateUserHierarchyStructureCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateUserConfig$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateUserConfigCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonConnectService", "UpdateUserConfig", {})
|
|
13
|
+
.n("ConnectClient", "UpdateUserConfigCommand")
|
|
14
|
+
.sc(UpdateUserConfig$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -339,6 +339,7 @@ export * from "./UpdateSecurityProfileCommand";
|
|
|
339
339
|
export * from "./UpdateTaskTemplateCommand";
|
|
340
340
|
export * from "./UpdateTestCaseCommand";
|
|
341
341
|
export * from "./UpdateTrafficDistributionCommand";
|
|
342
|
+
export * from "./UpdateUserConfigCommand";
|
|
342
343
|
export * from "./UpdateUserHierarchyCommand";
|
|
343
344
|
export * from "./UpdateUserHierarchyGroupNameCommand";
|
|
344
345
|
export * from "./UpdateUserHierarchyStructureCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -12,6 +12,12 @@ export const ActionType = {
|
|
|
12
12
|
SUBMIT_AUTO_EVALUATION: "SUBMIT_AUTO_EVALUATION",
|
|
13
13
|
UPDATE_CASE: "UPDATE_CASE",
|
|
14
14
|
};
|
|
15
|
+
export const Channel = {
|
|
16
|
+
CHAT: "CHAT",
|
|
17
|
+
EMAIL: "EMAIL",
|
|
18
|
+
TASK: "TASK",
|
|
19
|
+
VOICE: "VOICE",
|
|
20
|
+
};
|
|
15
21
|
export const AgentAvailabilityTimer = {
|
|
16
22
|
TIME_SINCE_LAST_ACTIVITY: "TIME_SINCE_LAST_ACTIVITY",
|
|
17
23
|
TIME_SINCE_LAST_INBOUND: "TIME_SINCE_LAST_INBOUND",
|
|
@@ -27,12 +33,6 @@ export const ContactState = {
|
|
|
27
33
|
PENDING: "PENDING",
|
|
28
34
|
REJECTED: "REJECTED",
|
|
29
35
|
};
|
|
30
|
-
export const Channel = {
|
|
31
|
-
CHAT: "CHAT",
|
|
32
|
-
EMAIL: "EMAIL",
|
|
33
|
-
TASK: "TASK",
|
|
34
|
-
VOICE: "VOICE",
|
|
35
|
-
};
|
|
36
36
|
export const ContactInitiationMethod = {
|
|
37
37
|
AGENT_REPLY: "AGENT_REPLY",
|
|
38
38
|
API: "API",
|
|
@@ -506,6 +506,11 @@ export const PhoneType = {
|
|
|
506
506
|
DESK_PHONE: "DESK_PHONE",
|
|
507
507
|
SOFT_PHONE: "SOFT_PHONE",
|
|
508
508
|
};
|
|
509
|
+
export const VoiceEnhancementMode = {
|
|
510
|
+
NOISE_SUPPRESSION: "NOISE_SUPPRESSION",
|
|
511
|
+
NONE: "NONE",
|
|
512
|
+
VOICE_ISOLATION: "VOICE_ISOLATION",
|
|
513
|
+
};
|
|
509
514
|
export const ViewStatus = {
|
|
510
515
|
PUBLISHED: "PUBLISHED",
|
|
511
516
|
SAVED: "SAVED",
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultConnectHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2017-08-08",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.connect",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2017-08-08",
|
|
30
32
|
serviceTarget: "AmazonConnectService",
|
|
31
33
|
},
|