@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.
Files changed (121) hide show
  1. package/README.md +96 -0
  2. package/dist-cjs/Connect.js +24 -0
  3. package/dist-cjs/commands/AssociateUserProficienciesCommand.js +51 -0
  4. package/dist-cjs/commands/CreatePredefinedAttributeCommand.js +51 -0
  5. package/dist-cjs/commands/DeletePredefinedAttributeCommand.js +51 -0
  6. package/dist-cjs/commands/DescribePredefinedAttributeCommand.js +51 -0
  7. package/dist-cjs/commands/DisassociateUserProficienciesCommand.js +51 -0
  8. package/dist-cjs/commands/ListPredefinedAttributesCommand.js +51 -0
  9. package/dist-cjs/commands/ListUserProficienciesCommand.js +51 -0
  10. package/dist-cjs/commands/SearchContactsCommand.js +52 -0
  11. package/dist-cjs/commands/SearchPredefinedAttributesCommand.js +51 -0
  12. package/dist-cjs/commands/UpdateContactRoutingDataCommand.js +51 -0
  13. package/dist-cjs/commands/UpdatePredefinedAttributeCommand.js +51 -0
  14. package/dist-cjs/commands/UpdateUserProficienciesCommand.js +51 -0
  15. package/dist-cjs/commands/index.js +12 -0
  16. package/dist-cjs/models/models_0.js +10 -16
  17. package/dist-cjs/models/models_1.js +62 -25
  18. package/dist-cjs/models/models_2.js +39 -1
  19. package/dist-cjs/pagination/ListPredefinedAttributesPaginator.js +7 -0
  20. package/dist-cjs/pagination/ListUserProficienciesPaginator.js +7 -0
  21. package/dist-cjs/pagination/SearchContactsPaginator.js +7 -0
  22. package/dist-cjs/pagination/SearchPredefinedAttributesPaginator.js +7 -0
  23. package/dist-cjs/pagination/index.js +4 -0
  24. package/dist-cjs/protocols/Aws_restJson1.js +878 -32
  25. package/dist-es/Connect.js +24 -0
  26. package/dist-es/commands/AssociateUserProficienciesCommand.js +47 -0
  27. package/dist-es/commands/CreatePredefinedAttributeCommand.js +47 -0
  28. package/dist-es/commands/DeletePredefinedAttributeCommand.js +47 -0
  29. package/dist-es/commands/DescribePredefinedAttributeCommand.js +47 -0
  30. package/dist-es/commands/DisassociateUserProficienciesCommand.js +47 -0
  31. package/dist-es/commands/ListPredefinedAttributesCommand.js +47 -0
  32. package/dist-es/commands/ListUserProficienciesCommand.js +47 -0
  33. package/dist-es/commands/SearchContactsCommand.js +48 -0
  34. package/dist-es/commands/SearchPredefinedAttributesCommand.js +47 -0
  35. package/dist-es/commands/UpdateContactRoutingDataCommand.js +47 -0
  36. package/dist-es/commands/UpdatePredefinedAttributeCommand.js +47 -0
  37. package/dist-es/commands/UpdateUserProficienciesCommand.js +47 -0
  38. package/dist-es/commands/index.js +12 -0
  39. package/dist-es/models/models_0.js +8 -14
  40. package/dist-es/models/models_1.js +55 -23
  41. package/dist-es/models/models_2.js +36 -0
  42. package/dist-es/pagination/ListPredefinedAttributesPaginator.js +4 -0
  43. package/dist-es/pagination/ListUserProficienciesPaginator.js +4 -0
  44. package/dist-es/pagination/SearchContactsPaginator.js +4 -0
  45. package/dist-es/pagination/SearchPredefinedAttributesPaginator.js +4 -0
  46. package/dist-es/pagination/index.js +4 -0
  47. package/dist-es/protocols/Aws_restJson1.js +846 -24
  48. package/dist-types/Connect.d.ts +84 -0
  49. package/dist-types/ConnectClient.d.ts +14 -2
  50. package/dist-types/commands/AssociateUserProficienciesCommand.d.ts +94 -0
  51. package/dist-types/commands/CreatePredefinedAttributeCommand.d.ts +98 -0
  52. package/dist-types/commands/DeletePredefinedAttributeCommand.d.ts +90 -0
  53. package/dist-types/commands/DescribeContactCommand.d.ts +2 -0
  54. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +2 -1
  55. package/dist-types/commands/DescribePredefinedAttributeCommand.d.ts +98 -0
  56. package/dist-types/commands/DescribePromptCommand.d.ts +1 -2
  57. package/dist-types/commands/DisassociateUserProficienciesCommand.d.ts +93 -0
  58. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +5 -1
  59. package/dist-types/commands/GetMetricDataCommand.d.ts +5 -1
  60. package/dist-types/commands/ListPredefinedAttributesCommand.d.ts +97 -0
  61. package/dist-types/commands/ListUserProficienciesCommand.d.ts +100 -0
  62. package/dist-types/commands/PauseContactCommand.d.ts +2 -1
  63. package/dist-types/commands/ResumeContactCommand.d.ts +2 -1
  64. package/dist-types/commands/SearchContactsCommand.d.ts +177 -0
  65. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +1 -2
  66. package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +128 -0
  67. package/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
  68. package/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
  69. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +1 -2
  70. package/dist-types/commands/SearchResourceTagsCommand.d.ts +1 -1
  71. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +1 -2
  72. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +1 -2
  73. package/dist-types/commands/TagContactCommand.d.ts +3 -3
  74. package/dist-types/commands/UntagContactCommand.d.ts +3 -2
  75. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +101 -0
  76. package/dist-types/commands/UpdatePredefinedAttributeCommand.d.ts +92 -0
  77. package/dist-types/commands/UpdateUserProficienciesCommand.d.ts +94 -0
  78. package/dist-types/commands/index.d.ts +12 -0
  79. package/dist-types/models/models_0.d.ts +159 -185
  80. package/dist-types/models/models_1.d.ts +495 -423
  81. package/dist-types/models/models_2.d.ts +875 -12
  82. package/dist-types/pagination/ListPredefinedAttributesPaginator.d.ts +7 -0
  83. package/dist-types/pagination/ListUserProficienciesPaginator.d.ts +7 -0
  84. package/dist-types/pagination/SearchContactsPaginator.d.ts +7 -0
  85. package/dist-types/pagination/SearchPredefinedAttributesPaginator.d.ts +7 -0
  86. package/dist-types/pagination/index.d.ts +4 -0
  87. package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
  88. package/dist-types/ts3.4/Connect.d.ts +204 -0
  89. package/dist-types/ts3.4/ConnectClient.d.ts +72 -0
  90. package/dist-types/ts3.4/commands/AssociateUserProficienciesCommand.d.ts +38 -0
  91. package/dist-types/ts3.4/commands/CreatePredefinedAttributeCommand.d.ts +38 -0
  92. package/dist-types/ts3.4/commands/DeletePredefinedAttributeCommand.d.ts +38 -0
  93. package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +2 -4
  94. package/dist-types/ts3.4/commands/DescribePredefinedAttributeCommand.d.ts +42 -0
  95. package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +4 -2
  96. package/dist-types/ts3.4/commands/DisassociateUserProficienciesCommand.d.ts +38 -0
  97. package/dist-types/ts3.4/commands/ListPredefinedAttributesCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/ListUserProficienciesCommand.d.ts +42 -0
  99. package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +38 -0
  100. package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +4 -2
  101. package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +42 -0
  102. package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
  103. package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
  104. package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +4 -2
  105. package/dist-types/ts3.4/commands/SearchResourceTagsCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +4 -2
  107. package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +4 -2
  108. package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +42 -0
  109. package/dist-types/ts3.4/commands/UpdatePredefinedAttributeCommand.d.ts +38 -0
  110. package/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +38 -0
  111. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  112. package/dist-types/ts3.4/models/models_0.d.ts +46 -42
  113. package/dist-types/ts3.4/models/models_1.d.ts +153 -113
  114. package/dist-types/ts3.4/models/models_2.d.ts +215 -10
  115. package/dist-types/ts3.4/pagination/ListPredefinedAttributesPaginator.d.ts +11 -0
  116. package/dist-types/ts3.4/pagination/ListUserProficienciesPaginator.d.ts +11 -0
  117. package/dist-types/ts3.4/pagination/SearchContactsPaginator.d.ts +11 -0
  118. package/dist-types/ts3.4/pagination/SearchPredefinedAttributesPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  120. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
  121. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListPredefinedAttributesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListPredefinedAttributesCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListPredefinedAttributesCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "ListPredefinedAttributesCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonConnectService",
38
+ operation: "ListPredefinedAttributes",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListPredefinedAttributesCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListPredefinedAttributesCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListPredefinedAttributesCommand = ListPredefinedAttributesCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListUserProficienciesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListUserProficienciesCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListUserProficienciesCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "ListUserProficienciesCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonConnectService",
38
+ operation: "ListUserProficiencies",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListUserProficienciesCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListUserProficienciesCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListUserProficienciesCommand = ListUserProficienciesCommand;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SearchContactsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const models_2_1 = require("../models/models_2");
10
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
11
+ class SearchContactsCommand extends smithy_client_1.Command {
12
+ static getEndpointParameterInstructions() {
13
+ return {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
19
+ }
20
+ constructor(input) {
21
+ super();
22
+ this.input = input;
23
+ }
24
+ resolveMiddleware(clientStack, configuration, options) {
25
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SearchContactsCommand.getEndpointParameterInstructions()));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "ConnectClient";
30
+ const commandName = "SearchContactsCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: models_2_1.SearchContactsRequestFilterSensitiveLog,
36
+ outputFilterSensitiveLog: (_) => _,
37
+ [types_1.SMITHY_CONTEXT_KEY]: {
38
+ service: "AmazonConnectService",
39
+ operation: "SearchContacts",
40
+ },
41
+ };
42
+ const { requestHandler } = configuration;
43
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
+ }
45
+ serialize(input, context) {
46
+ return (0, Aws_restJson1_1.se_SearchContactsCommand)(input, context);
47
+ }
48
+ deserialize(output, context) {
49
+ return (0, Aws_restJson1_1.de_SearchContactsCommand)(output, context);
50
+ }
51
+ }
52
+ exports.SearchContactsCommand = SearchContactsCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SearchPredefinedAttributesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class SearchPredefinedAttributesCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SearchPredefinedAttributesCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "SearchPredefinedAttributesCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonConnectService",
38
+ operation: "SearchPredefinedAttributes",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_SearchPredefinedAttributesCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_SearchPredefinedAttributesCommand)(output, context);
49
+ }
50
+ }
51
+ exports.SearchPredefinedAttributesCommand = SearchPredefinedAttributesCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateContactRoutingDataCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdateContactRoutingDataCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateContactRoutingDataCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "UpdateContactRoutingDataCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonConnectService",
38
+ operation: "UpdateContactRoutingData",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_UpdateContactRoutingDataCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_UpdateContactRoutingDataCommand)(output, context);
49
+ }
50
+ }
51
+ exports.UpdateContactRoutingDataCommand = UpdateContactRoutingDataCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdatePredefinedAttributeCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdatePredefinedAttributeCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePredefinedAttributeCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "UpdatePredefinedAttributeCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonConnectService",
38
+ operation: "UpdatePredefinedAttribute",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_UpdatePredefinedAttributeCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_UpdatePredefinedAttributeCommand)(output, context);
49
+ }
50
+ }
51
+ exports.UpdatePredefinedAttributeCommand = UpdatePredefinedAttributeCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateUserProficienciesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdateUserProficienciesCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateUserProficienciesCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "ConnectClient";
29
+ const commandName = "UpdateUserProficienciesCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AmazonConnectService",
38
+ operation: "UpdateUserProficiencies",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_UpdateUserProficienciesCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_UpdateUserProficienciesCommand)(output, context);
49
+ }
50
+ }
51
+ exports.UpdateUserProficienciesCommand = UpdateUserProficienciesCommand;
@@ -15,6 +15,7 @@ tslib_1.__exportStar(require("./AssociateQueueQuickConnectsCommand"), exports);
15
15
  tslib_1.__exportStar(require("./AssociateRoutingProfileQueuesCommand"), exports);
16
16
  tslib_1.__exportStar(require("./AssociateSecurityKeyCommand"), exports);
17
17
  tslib_1.__exportStar(require("./AssociateTrafficDistributionGroupUserCommand"), exports);
18
+ tslib_1.__exportStar(require("./AssociateUserProficienciesCommand"), exports);
18
19
  tslib_1.__exportStar(require("./BatchAssociateAnalyticsDataSetCommand"), exports);
19
20
  tslib_1.__exportStar(require("./BatchDisassociateAnalyticsDataSetCommand"), exports);
20
21
  tslib_1.__exportStar(require("./BatchGetFlowAssociationCommand"), exports);
@@ -29,6 +30,7 @@ tslib_1.__exportStar(require("./CreateInstanceCommand"), exports);
29
30
  tslib_1.__exportStar(require("./CreateIntegrationAssociationCommand"), exports);
30
31
  tslib_1.__exportStar(require("./CreateParticipantCommand"), exports);
31
32
  tslib_1.__exportStar(require("./CreatePersistentContactAssociationCommand"), exports);
33
+ tslib_1.__exportStar(require("./CreatePredefinedAttributeCommand"), exports);
32
34
  tslib_1.__exportStar(require("./CreatePromptCommand"), exports);
33
35
  tslib_1.__exportStar(require("./CreateQueueCommand"), exports);
34
36
  tslib_1.__exportStar(require("./CreateQuickConnectCommand"), exports);
@@ -51,6 +53,7 @@ tslib_1.__exportStar(require("./DeleteEvaluationFormCommand"), exports);
51
53
  tslib_1.__exportStar(require("./DeleteHoursOfOperationCommand"), exports);
52
54
  tslib_1.__exportStar(require("./DeleteInstanceCommand"), exports);
53
55
  tslib_1.__exportStar(require("./DeleteIntegrationAssociationCommand"), exports);
56
+ tslib_1.__exportStar(require("./DeletePredefinedAttributeCommand"), exports);
54
57
  tslib_1.__exportStar(require("./DeletePromptCommand"), exports);
55
58
  tslib_1.__exportStar(require("./DeleteQueueCommand"), exports);
56
59
  tslib_1.__exportStar(require("./DeleteQuickConnectCommand"), exports);
@@ -76,6 +79,7 @@ tslib_1.__exportStar(require("./DescribeInstanceAttributeCommand"), exports);
76
79
  tslib_1.__exportStar(require("./DescribeInstanceCommand"), exports);
77
80
  tslib_1.__exportStar(require("./DescribeInstanceStorageConfigCommand"), exports);
78
81
  tslib_1.__exportStar(require("./DescribePhoneNumberCommand"), exports);
82
+ tslib_1.__exportStar(require("./DescribePredefinedAttributeCommand"), exports);
79
83
  tslib_1.__exportStar(require("./DescribePromptCommand"), exports);
80
84
  tslib_1.__exportStar(require("./DescribeQueueCommand"), exports);
81
85
  tslib_1.__exportStar(require("./DescribeQuickConnectCommand"), exports);
@@ -100,6 +104,7 @@ tslib_1.__exportStar(require("./DisassociateQueueQuickConnectsCommand"), exports
100
104
  tslib_1.__exportStar(require("./DisassociateRoutingProfileQueuesCommand"), exports);
101
105
  tslib_1.__exportStar(require("./DisassociateSecurityKeyCommand"), exports);
102
106
  tslib_1.__exportStar(require("./DisassociateTrafficDistributionGroupUserCommand"), exports);
107
+ tslib_1.__exportStar(require("./DisassociateUserProficienciesCommand"), exports);
103
108
  tslib_1.__exportStar(require("./DismissUserContactCommand"), exports);
104
109
  tslib_1.__exportStar(require("./GetContactAttributesCommand"), exports);
105
110
  tslib_1.__exportStar(require("./GetCurrentMetricDataCommand"), exports);
@@ -133,6 +138,7 @@ tslib_1.__exportStar(require("./ListLambdaFunctionsCommand"), exports);
133
138
  tslib_1.__exportStar(require("./ListLexBotsCommand"), exports);
134
139
  tslib_1.__exportStar(require("./ListPhoneNumbersCommand"), exports);
135
140
  tslib_1.__exportStar(require("./ListPhoneNumbersV2Command"), exports);
141
+ tslib_1.__exportStar(require("./ListPredefinedAttributesCommand"), exports);
136
142
  tslib_1.__exportStar(require("./ListPromptsCommand"), exports);
137
143
  tslib_1.__exportStar(require("./ListQueueQuickConnectsCommand"), exports);
138
144
  tslib_1.__exportStar(require("./ListQueuesCommand"), exports);
@@ -151,6 +157,7 @@ tslib_1.__exportStar(require("./ListTrafficDistributionGroupUsersCommand"), expo
151
157
  tslib_1.__exportStar(require("./ListTrafficDistributionGroupsCommand"), exports);
152
158
  tslib_1.__exportStar(require("./ListUseCasesCommand"), exports);
153
159
  tslib_1.__exportStar(require("./ListUserHierarchyGroupsCommand"), exports);
160
+ tslib_1.__exportStar(require("./ListUserProficienciesCommand"), exports);
154
161
  tslib_1.__exportStar(require("./ListUsersCommand"), exports);
155
162
  tslib_1.__exportStar(require("./ListViewVersionsCommand"), exports);
156
163
  tslib_1.__exportStar(require("./ListViewsCommand"), exports);
@@ -162,7 +169,9 @@ tslib_1.__exportStar(require("./ReplicateInstanceCommand"), exports);
162
169
  tslib_1.__exportStar(require("./ResumeContactCommand"), exports);
163
170
  tslib_1.__exportStar(require("./ResumeContactRecordingCommand"), exports);
164
171
  tslib_1.__exportStar(require("./SearchAvailablePhoneNumbersCommand"), exports);
172
+ tslib_1.__exportStar(require("./SearchContactsCommand"), exports);
165
173
  tslib_1.__exportStar(require("./SearchHoursOfOperationsCommand"), exports);
174
+ tslib_1.__exportStar(require("./SearchPredefinedAttributesCommand"), exports);
166
175
  tslib_1.__exportStar(require("./SearchPromptsCommand"), exports);
167
176
  tslib_1.__exportStar(require("./SearchQueuesCommand"), exports);
168
177
  tslib_1.__exportStar(require("./SearchQuickConnectsCommand"), exports);
@@ -198,6 +207,7 @@ tslib_1.__exportStar(require("./UpdateContactFlowMetadataCommand"), exports);
198
207
  tslib_1.__exportStar(require("./UpdateContactFlowModuleContentCommand"), exports);
199
208
  tslib_1.__exportStar(require("./UpdateContactFlowModuleMetadataCommand"), exports);
200
209
  tslib_1.__exportStar(require("./UpdateContactFlowNameCommand"), exports);
210
+ tslib_1.__exportStar(require("./UpdateContactRoutingDataCommand"), exports);
201
211
  tslib_1.__exportStar(require("./UpdateContactScheduleCommand"), exports);
202
212
  tslib_1.__exportStar(require("./UpdateEvaluationFormCommand"), exports);
203
213
  tslib_1.__exportStar(require("./UpdateHoursOfOperationCommand"), exports);
@@ -206,6 +216,7 @@ tslib_1.__exportStar(require("./UpdateInstanceStorageConfigCommand"), exports);
206
216
  tslib_1.__exportStar(require("./UpdateParticipantRoleConfigCommand"), exports);
207
217
  tslib_1.__exportStar(require("./UpdatePhoneNumberCommand"), exports);
208
218
  tslib_1.__exportStar(require("./UpdatePhoneNumberMetadataCommand"), exports);
219
+ tslib_1.__exportStar(require("./UpdatePredefinedAttributeCommand"), exports);
209
220
  tslib_1.__exportStar(require("./UpdatePromptCommand"), exports);
210
221
  tslib_1.__exportStar(require("./UpdateQueueHoursOfOperationCommand"), exports);
211
222
  tslib_1.__exportStar(require("./UpdateQueueMaxContactsCommand"), exports);
@@ -228,6 +239,7 @@ tslib_1.__exportStar(require("./UpdateUserHierarchyGroupNameCommand"), exports);
228
239
  tslib_1.__exportStar(require("./UpdateUserHierarchyStructureCommand"), exports);
229
240
  tslib_1.__exportStar(require("./UpdateUserIdentityInfoCommand"), exports);
230
241
  tslib_1.__exportStar(require("./UpdateUserPhoneConfigCommand"), exports);
242
+ tslib_1.__exportStar(require("./UpdateUserProficienciesCommand"), exports);
231
243
  tslib_1.__exportStar(require("./UpdateUserRoutingProfileCommand"), exports);
232
244
  tslib_1.__exportStar(require("./UpdateUserSecurityProfilesCommand"), exports);
233
245
  tslib_1.__exportStar(require("./UpdateViewContentCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotificationDeliveryType = exports.NotificationContentType = exports.BehaviorType = exports.QuickConnectType = exports.RehydrationType = exports.ParticipantRole = exports.SourceType = exports.IntegrationType = exports.DirectoryType = exports.HoursOfOperationDays = exports.EvaluationFormScoringStatus = exports.EvaluationFormScoringMode = exports.EvaluationFormQuestionTypeProperties = exports.EvaluationFormSingleSelectQuestionDisplayMode = exports.EvaluationFormSingleSelectQuestionAutomationOption = exports.SingleSelectQuestionRuleCategoryAutomationCondition = exports.EvaluationFormNumericQuestionAutomation = exports.NumericQuestionPropertyAutomationLabel = exports.EvaluationFormQuestionType = exports.InvalidContactFlowModuleException = exports.InvalidContactFlowException = exports.ContactFlowType = exports.DuplicateResourceException = exports.IdempotencyException = exports.FailureReasonCode = exports.EndpointType = exports.ListFlowAssociationResourceType = exports.StorageType = exports.EncryptionType = exports.InstanceStorageResourceType = exports.FlowAssociationResourceType = exports.VocabularyLanguageCode = exports.LimitExceededException = exports.ServiceQuotaExceededException = exports.InvalidRequestException = exports.MonitorCapability = exports.VideoCapability = exports.AgentStatusType = exports.AgentStatusState = exports.ContactInitiationMethod = exports.Channel = exports.ContactState = exports.AgentAvailabilityTimer = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.InvalidParameterException = exports.InternalServiceException = exports.ActionType = exports.AccessDeniedException = void 0;
4
- exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateViewVersionResponseFilterSensitiveLog = exports.CreateViewResponseFilterSensitiveLog = exports.ViewFilterSensitiveLog = exports.ViewContentFilterSensitiveLog = exports.CreateViewRequestFilterSensitiveLog = exports.ViewInputContentFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = exports.InstanceStatus = exports.EvaluationFormVersionStatus = exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = exports.ContactFlowState = exports.ContactFlowNotPublishedException = exports.EvaluationStatus = exports.EvaluationAnswerData = exports.VocabularyState = exports.TooManyRequestsException = exports.ResourceInUseException = exports.ResourceType = exports.ViewType = exports.ViewStatus = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = exports.PropertyValidationExceptionReason = exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.EventSourceName = exports.RulePublishStatus = exports.ReferenceType = void 0;
3
+ exports.NotificationContentType = exports.BehaviorType = exports.QuickConnectType = exports.PredefinedAttributeValues = exports.RehydrationType = exports.ParticipantRole = exports.SourceType = exports.IntegrationType = exports.DirectoryType = exports.HoursOfOperationDays = exports.EvaluationFormScoringStatus = exports.EvaluationFormScoringMode = exports.EvaluationFormQuestionTypeProperties = exports.EvaluationFormSingleSelectQuestionDisplayMode = exports.EvaluationFormSingleSelectQuestionAutomationOption = exports.SingleSelectQuestionRuleCategoryAutomationCondition = exports.EvaluationFormNumericQuestionAutomation = exports.NumericQuestionPropertyAutomationLabel = exports.EvaluationFormQuestionType = exports.InvalidContactFlowModuleException = exports.InvalidContactFlowException = exports.ContactFlowType = exports.DuplicateResourceException = exports.IdempotencyException = exports.FailureReasonCode = exports.EndpointType = exports.ListFlowAssociationResourceType = exports.StorageType = exports.EncryptionType = exports.InstanceStorageResourceType = exports.FlowAssociationResourceType = exports.VocabularyLanguageCode = exports.LimitExceededException = exports.ServiceQuotaExceededException = exports.InvalidRequestException = exports.MonitorCapability = exports.VideoCapability = exports.AgentStatusType = exports.AgentStatusState = exports.ContactInitiationMethod = exports.Channel = exports.ContactState = exports.AgentAvailabilityTimer = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.InvalidParameterException = exports.InternalServiceException = exports.ActionType = exports.AccessDeniedException = void 0;
4
+ exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateViewVersionResponseFilterSensitiveLog = exports.CreateViewResponseFilterSensitiveLog = exports.ViewFilterSensitiveLog = exports.ViewContentFilterSensitiveLog = exports.CreateViewRequestFilterSensitiveLog = exports.ViewInputContentFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = exports.InstanceStatus = exports.EvaluationFormVersionStatus = exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = exports.ContactFlowState = exports.ContactFlowNotPublishedException = exports.EvaluationStatus = exports.EvaluationAnswerData = exports.VocabularyState = exports.TooManyRequestsException = exports.ResourceInUseException = exports.ResourceType = exports.ViewType = exports.ViewStatus = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = exports.PropertyValidationExceptionReason = exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.EventSourceName = exports.RulePublishStatus = exports.ReferenceType = exports.NotificationDeliveryType = void 0;
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const ConnectServiceException_1 = require("./ConnectServiceException");
7
7
  class AccessDeniedException extends ConnectServiceException_1.ConnectServiceException {
@@ -419,6 +419,14 @@ exports.RehydrationType = {
419
419
  ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
420
420
  FROM_SEGMENT: "FROM_SEGMENT",
421
421
  };
422
+ var PredefinedAttributeValues;
423
+ (function (PredefinedAttributeValues) {
424
+ PredefinedAttributeValues.visit = (value, visitor) => {
425
+ if (value.StringList !== undefined)
426
+ return visitor.StringList(value.StringList);
427
+ return visitor._(value.$unknown[0], value.$unknown[1]);
428
+ };
429
+ })(PredefinedAttributeValues = exports.PredefinedAttributeValues || (exports.PredefinedAttributeValues = {}));
422
430
  exports.QuickConnectType = {
423
431
  PHONE_NUMBER: "PHONE_NUMBER",
424
432
  QUEUE: "QUEUE",
@@ -878,20 +886,6 @@ exports.PhoneNumberCountryCode = {
878
886
  ZM: "ZM",
879
887
  ZW: "ZW",
880
888
  };
881
- exports.PhoneNumberWorkflowStatus = {
882
- Claimed: "CLAIMED",
883
- Failed: "FAILED",
884
- InProgress: "IN_PROGRESS",
885
- };
886
- exports.PhoneNumberType = {
887
- DID: "DID",
888
- SHARED: "SHARED",
889
- SHORT_CODE: "SHORT_CODE",
890
- THIRD_PARTY_DID: "THIRD_PARTY_DID",
891
- THIRD_PARTY_TF: "THIRD_PARTY_TF",
892
- TOLL_FREE: "TOLL_FREE",
893
- UIFN: "UIFN",
894
- };
895
889
  const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
896
890
  ...obj,
897
891
  ...(obj.InstanceAlias && { InstanceAlias: smithy_client_1.SENSITIVE_STRING }),
@@ -1,9 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListViewVersionsResponseFilterSensitiveLog = exports.ViewVersionSummaryFilterSensitiveLog = exports.ListViewsResponseFilterSensitiveLog = exports.ViewSummaryFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.DescribeViewResponseFilterSensitiveLog = exports.HierarchyGroupMatchType = exports.MaximumResultReturnedException = exports.SearchableQueueType = exports.StringComparisonType = exports.ConflictException = exports.OutputTypeNotFoundException = exports.RealTimeContactAnalysisStatus = exports.RealtimeContactAnalysisSegment = exports.RealTimeContactAnalysisSentimentLabel = exports.RealTimeContactAnalysisTimeData = exports.ArtifactStatus = exports.RealTimeContactAnalysisSupportedChannel = exports.RealTimeContactAnalysisSegmentType = exports.RealTimeContactAnalysisOutputType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = exports.IntervalPeriod = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = exports.TrafficDistributionGroupStatus = exports.QueueStatus = void 0;
3
+ exports.SearchCriteriaFilterSensitiveLog = exports.SearchableContactAttributesFilterSensitiveLog = exports.SearchableContactAttributesCriteriaFilterSensitiveLog = exports.ContactAnalysisFilterSensitiveLog = exports.TranscriptFilterSensitiveLog = exports.TranscriptCriteriaFilterSensitiveLog = exports.ReplicateInstanceRequestFilterSensitiveLog = exports.ListViewVersionsResponseFilterSensitiveLog = exports.ViewVersionSummaryFilterSensitiveLog = exports.ListViewsResponseFilterSensitiveLog = exports.ViewSummaryFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.DescribeViewResponseFilterSensitiveLog = exports.SortableFieldName = exports.SearchContactsMatchType = exports.ConflictException = exports.OutputTypeNotFoundException = exports.RealTimeContactAnalysisStatus = exports.RealtimeContactAnalysisSegment = exports.RealTimeContactAnalysisSentimentLabel = exports.RealTimeContactAnalysisTimeData = exports.ArtifactStatus = exports.RealTimeContactAnalysisSupportedChannel = exports.RealTimeContactAnalysisSegmentType = exports.RealTimeContactAnalysisOutputType = exports.QueueType = exports.ReferenceSummary = exports.ReferenceStatus = exports.LexVersion = exports.IntervalPeriod = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = exports.TrafficDistributionGroupStatus = exports.QueueStatus = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = 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
+ exports.PhoneNumberWorkflowStatus = {
8
+ Claimed: "CLAIMED",
9
+ Failed: "FAILED",
10
+ InProgress: "IN_PROGRESS",
11
+ };
12
+ exports.PhoneNumberType = {
13
+ DID: "DID",
14
+ SHARED: "SHARED",
15
+ SHORT_CODE: "SHORT_CODE",
16
+ THIRD_PARTY_DID: "THIRD_PARTY_DID",
17
+ THIRD_PARTY_TF: "THIRD_PARTY_TF",
18
+ TOLL_FREE: "TOLL_FREE",
19
+ UIFN: "UIFN",
20
+ };
7
21
  exports.QueueStatus = {
8
22
  DISABLED: "DISABLED",
9
23
  ENABLED: "ENABLED",
@@ -40,6 +54,7 @@ exports.Grouping = {
40
54
  CHANNEL: "CHANNEL",
41
55
  QUEUE: "QUEUE",
42
56
  ROUTING_PROFILE: "ROUTING_PROFILE",
57
+ ROUTING_STEP_EXPRESSION: "ROUTING_STEP_EXPRESSION",
43
58
  };
44
59
  exports.SortOrder = {
45
60
  ASCENDING: "ASCENDING",
@@ -214,31 +229,17 @@ class ConflictException extends ConnectServiceException_1.ConnectServiceExceptio
214
229
  }
215
230
  }
216
231
  exports.ConflictException = ConflictException;
217
- exports.StringComparisonType = {
218
- CONTAINS: "CONTAINS",
219
- EXACT: "EXACT",
220
- STARTS_WITH: "STARTS_WITH",
221
- };
222
- exports.SearchableQueueType = {
223
- STANDARD: "STANDARD",
232
+ exports.SearchContactsMatchType = {
233
+ MATCH_ALL: "MATCH_ALL",
234
+ MATCH_ANY: "MATCH_ANY",
224
235
  };
225
- class MaximumResultReturnedException extends ConnectServiceException_1.ConnectServiceException {
226
- constructor(opts) {
227
- super({
228
- name: "MaximumResultReturnedException",
229
- $fault: "client",
230
- ...opts,
231
- });
232
- this.name = "MaximumResultReturnedException";
233
- this.$fault = "client";
234
- Object.setPrototypeOf(this, MaximumResultReturnedException.prototype);
235
- this.Message = opts.Message;
236
- }
237
- }
238
- exports.MaximumResultReturnedException = MaximumResultReturnedException;
239
- exports.HierarchyGroupMatchType = {
240
- EXACT: "EXACT",
241
- WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
236
+ exports.SortableFieldName = {
237
+ CHANNEL: "CHANNEL",
238
+ CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
239
+ DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
240
+ INITIATION_METHOD: "INITIATION_METHOD",
241
+ INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP",
242
+ SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP",
242
243
  };
243
244
  const DescribeViewResponseFilterSensitiveLog = (obj) => ({
244
245
  ...obj,
@@ -297,3 +298,39 @@ const ReplicateInstanceRequestFilterSensitiveLog = (obj) => ({
297
298
  ...(obj.ReplicaAlias && { ReplicaAlias: smithy_client_1.SENSITIVE_STRING }),
298
299
  });
299
300
  exports.ReplicateInstanceRequestFilterSensitiveLog = ReplicateInstanceRequestFilterSensitiveLog;
301
+ const TranscriptCriteriaFilterSensitiveLog = (obj) => ({
302
+ ...obj,
303
+ ...(obj.SearchText && { SearchText: smithy_client_1.SENSITIVE_STRING }),
304
+ });
305
+ exports.TranscriptCriteriaFilterSensitiveLog = TranscriptCriteriaFilterSensitiveLog;
306
+ const TranscriptFilterSensitiveLog = (obj) => ({
307
+ ...obj,
308
+ ...(obj.Criteria && { Criteria: obj.Criteria.map((item) => (0, exports.TranscriptCriteriaFilterSensitiveLog)(item)) }),
309
+ });
310
+ exports.TranscriptFilterSensitiveLog = TranscriptFilterSensitiveLog;
311
+ const ContactAnalysisFilterSensitiveLog = (obj) => ({
312
+ ...obj,
313
+ ...(obj.Transcript && { Transcript: (0, exports.TranscriptFilterSensitiveLog)(obj.Transcript) }),
314
+ });
315
+ exports.ContactAnalysisFilterSensitiveLog = ContactAnalysisFilterSensitiveLog;
316
+ const SearchableContactAttributesCriteriaFilterSensitiveLog = (obj) => ({
317
+ ...obj,
318
+ ...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
319
+ ...(obj.Values && { Values: smithy_client_1.SENSITIVE_STRING }),
320
+ });
321
+ exports.SearchableContactAttributesCriteriaFilterSensitiveLog = SearchableContactAttributesCriteriaFilterSensitiveLog;
322
+ const SearchableContactAttributesFilterSensitiveLog = (obj) => ({
323
+ ...obj,
324
+ ...(obj.Criteria && {
325
+ Criteria: obj.Criteria.map((item) => (0, exports.SearchableContactAttributesCriteriaFilterSensitiveLog)(item)),
326
+ }),
327
+ });
328
+ exports.SearchableContactAttributesFilterSensitiveLog = SearchableContactAttributesFilterSensitiveLog;
329
+ const SearchCriteriaFilterSensitiveLog = (obj) => ({
330
+ ...obj,
331
+ ...(obj.ContactAnalysis && { ContactAnalysis: (0, exports.ContactAnalysisFilterSensitiveLog)(obj.ContactAnalysis) }),
332
+ ...(obj.SearchableContactAttributes && {
333
+ SearchableContactAttributes: (0, exports.SearchableContactAttributesFilterSensitiveLog)(obj.SearchableContactAttributes),
334
+ }),
335
+ });
336
+ exports.SearchCriteriaFilterSensitiveLog = SearchCriteriaFilterSensitiveLog;