@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,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_UpdatePredefinedAttributeCommand, se_UpdatePredefinedAttributeCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdatePredefinedAttributeCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePredefinedAttributeCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ConnectClient";
26
+ const commandName = "UpdatePredefinedAttributeCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonConnectService",
35
+ operation: "UpdatePredefinedAttribute",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_UpdatePredefinedAttributeCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_UpdatePredefinedAttributeCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_UpdateUserProficienciesCommand, se_UpdateUserProficienciesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateUserProficienciesCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateUserProficienciesCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ConnectClient";
26
+ const commandName = "UpdateUserProficienciesCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonConnectService",
35
+ operation: "UpdateUserProficiencies",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_UpdateUserProficienciesCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_UpdateUserProficienciesCommand(output, context);
46
+ }
47
+ }
@@ -12,6 +12,7 @@ export * from "./AssociateQueueQuickConnectsCommand";
12
12
  export * from "./AssociateRoutingProfileQueuesCommand";
13
13
  export * from "./AssociateSecurityKeyCommand";
14
14
  export * from "./AssociateTrafficDistributionGroupUserCommand";
15
+ export * from "./AssociateUserProficienciesCommand";
15
16
  export * from "./BatchAssociateAnalyticsDataSetCommand";
16
17
  export * from "./BatchDisassociateAnalyticsDataSetCommand";
17
18
  export * from "./BatchGetFlowAssociationCommand";
@@ -26,6 +27,7 @@ export * from "./CreateInstanceCommand";
26
27
  export * from "./CreateIntegrationAssociationCommand";
27
28
  export * from "./CreateParticipantCommand";
28
29
  export * from "./CreatePersistentContactAssociationCommand";
30
+ export * from "./CreatePredefinedAttributeCommand";
29
31
  export * from "./CreatePromptCommand";
30
32
  export * from "./CreateQueueCommand";
31
33
  export * from "./CreateQuickConnectCommand";
@@ -48,6 +50,7 @@ export * from "./DeleteEvaluationFormCommand";
48
50
  export * from "./DeleteHoursOfOperationCommand";
49
51
  export * from "./DeleteInstanceCommand";
50
52
  export * from "./DeleteIntegrationAssociationCommand";
53
+ export * from "./DeletePredefinedAttributeCommand";
51
54
  export * from "./DeletePromptCommand";
52
55
  export * from "./DeleteQueueCommand";
53
56
  export * from "./DeleteQuickConnectCommand";
@@ -73,6 +76,7 @@ export * from "./DescribeInstanceAttributeCommand";
73
76
  export * from "./DescribeInstanceCommand";
74
77
  export * from "./DescribeInstanceStorageConfigCommand";
75
78
  export * from "./DescribePhoneNumberCommand";
79
+ export * from "./DescribePredefinedAttributeCommand";
76
80
  export * from "./DescribePromptCommand";
77
81
  export * from "./DescribeQueueCommand";
78
82
  export * from "./DescribeQuickConnectCommand";
@@ -97,6 +101,7 @@ export * from "./DisassociateQueueQuickConnectsCommand";
97
101
  export * from "./DisassociateRoutingProfileQueuesCommand";
98
102
  export * from "./DisassociateSecurityKeyCommand";
99
103
  export * from "./DisassociateTrafficDistributionGroupUserCommand";
104
+ export * from "./DisassociateUserProficienciesCommand";
100
105
  export * from "./DismissUserContactCommand";
101
106
  export * from "./GetContactAttributesCommand";
102
107
  export * from "./GetCurrentMetricDataCommand";
@@ -130,6 +135,7 @@ export * from "./ListLambdaFunctionsCommand";
130
135
  export * from "./ListLexBotsCommand";
131
136
  export * from "./ListPhoneNumbersCommand";
132
137
  export * from "./ListPhoneNumbersV2Command";
138
+ export * from "./ListPredefinedAttributesCommand";
133
139
  export * from "./ListPromptsCommand";
134
140
  export * from "./ListQueueQuickConnectsCommand";
135
141
  export * from "./ListQueuesCommand";
@@ -148,6 +154,7 @@ export * from "./ListTrafficDistributionGroupUsersCommand";
148
154
  export * from "./ListTrafficDistributionGroupsCommand";
149
155
  export * from "./ListUseCasesCommand";
150
156
  export * from "./ListUserHierarchyGroupsCommand";
157
+ export * from "./ListUserProficienciesCommand";
151
158
  export * from "./ListUsersCommand";
152
159
  export * from "./ListViewVersionsCommand";
153
160
  export * from "./ListViewsCommand";
@@ -159,7 +166,9 @@ export * from "./ReplicateInstanceCommand";
159
166
  export * from "./ResumeContactCommand";
160
167
  export * from "./ResumeContactRecordingCommand";
161
168
  export * from "./SearchAvailablePhoneNumbersCommand";
169
+ export * from "./SearchContactsCommand";
162
170
  export * from "./SearchHoursOfOperationsCommand";
171
+ export * from "./SearchPredefinedAttributesCommand";
163
172
  export * from "./SearchPromptsCommand";
164
173
  export * from "./SearchQueuesCommand";
165
174
  export * from "./SearchQuickConnectsCommand";
@@ -195,6 +204,7 @@ export * from "./UpdateContactFlowMetadataCommand";
195
204
  export * from "./UpdateContactFlowModuleContentCommand";
196
205
  export * from "./UpdateContactFlowModuleMetadataCommand";
197
206
  export * from "./UpdateContactFlowNameCommand";
207
+ export * from "./UpdateContactRoutingDataCommand";
198
208
  export * from "./UpdateContactScheduleCommand";
199
209
  export * from "./UpdateEvaluationFormCommand";
200
210
  export * from "./UpdateHoursOfOperationCommand";
@@ -203,6 +213,7 @@ export * from "./UpdateInstanceStorageConfigCommand";
203
213
  export * from "./UpdateParticipantRoleConfigCommand";
204
214
  export * from "./UpdatePhoneNumberCommand";
205
215
  export * from "./UpdatePhoneNumberMetadataCommand";
216
+ export * from "./UpdatePredefinedAttributeCommand";
206
217
  export * from "./UpdatePromptCommand";
207
218
  export * from "./UpdateQueueHoursOfOperationCommand";
208
219
  export * from "./UpdateQueueMaxContactsCommand";
@@ -225,6 +236,7 @@ export * from "./UpdateUserHierarchyGroupNameCommand";
225
236
  export * from "./UpdateUserHierarchyStructureCommand";
226
237
  export * from "./UpdateUserIdentityInfoCommand";
227
238
  export * from "./UpdateUserPhoneConfigCommand";
239
+ export * from "./UpdateUserProficienciesCommand";
228
240
  export * from "./UpdateUserRoutingProfileCommand";
229
241
  export * from "./UpdateUserSecurityProfilesCommand";
230
242
  export * from "./UpdateViewContentCommand";
@@ -402,6 +402,14 @@ export const RehydrationType = {
402
402
  ENTIRE_PAST_SESSION: "ENTIRE_PAST_SESSION",
403
403
  FROM_SEGMENT: "FROM_SEGMENT",
404
404
  };
405
+ export var PredefinedAttributeValues;
406
+ (function (PredefinedAttributeValues) {
407
+ PredefinedAttributeValues.visit = (value, visitor) => {
408
+ if (value.StringList !== undefined)
409
+ return visitor.StringList(value.StringList);
410
+ return visitor._(value.$unknown[0], value.$unknown[1]);
411
+ };
412
+ })(PredefinedAttributeValues || (PredefinedAttributeValues = {}));
405
413
  export const QuickConnectType = {
406
414
  PHONE_NUMBER: "PHONE_NUMBER",
407
415
  QUEUE: "QUEUE",
@@ -856,20 +864,6 @@ export const PhoneNumberCountryCode = {
856
864
  ZM: "ZM",
857
865
  ZW: "ZW",
858
866
  };
859
- export const PhoneNumberWorkflowStatus = {
860
- Claimed: "CLAIMED",
861
- Failed: "FAILED",
862
- InProgress: "IN_PROGRESS",
863
- };
864
- export const PhoneNumberType = {
865
- DID: "DID",
866
- SHARED: "SHARED",
867
- SHORT_CODE: "SHORT_CODE",
868
- THIRD_PARTY_DID: "THIRD_PARTY_DID",
869
- THIRD_PARTY_TF: "THIRD_PARTY_TF",
870
- TOLL_FREE: "TOLL_FREE",
871
- UIFN: "UIFN",
872
- };
873
867
  export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
874
868
  ...obj,
875
869
  ...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
@@ -1,6 +1,20 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { ViewFilterSensitiveLog, } from "./models_0";
4
+ export const PhoneNumberWorkflowStatus = {
5
+ Claimed: "CLAIMED",
6
+ Failed: "FAILED",
7
+ InProgress: "IN_PROGRESS",
8
+ };
9
+ export const PhoneNumberType = {
10
+ DID: "DID",
11
+ SHARED: "SHARED",
12
+ SHORT_CODE: "SHORT_CODE",
13
+ THIRD_PARTY_DID: "THIRD_PARTY_DID",
14
+ THIRD_PARTY_TF: "THIRD_PARTY_TF",
15
+ TOLL_FREE: "TOLL_FREE",
16
+ UIFN: "UIFN",
17
+ };
4
18
  export const QueueStatus = {
5
19
  DISABLED: "DISABLED",
6
20
  ENABLED: "ENABLED",
@@ -37,6 +51,7 @@ export const Grouping = {
37
51
  CHANNEL: "CHANNEL",
38
52
  QUEUE: "QUEUE",
39
53
  ROUTING_PROFILE: "ROUTING_PROFILE",
54
+ ROUTING_STEP_EXPRESSION: "ROUTING_STEP_EXPRESSION",
40
55
  };
41
56
  export const SortOrder = {
42
57
  ASCENDING: "ASCENDING",
@@ -208,30 +223,17 @@ export class ConflictException extends __BaseException {
208
223
  this.Message = opts.Message;
209
224
  }
210
225
  }
211
- export const StringComparisonType = {
212
- CONTAINS: "CONTAINS",
213
- EXACT: "EXACT",
214
- STARTS_WITH: "STARTS_WITH",
215
- };
216
- export const SearchableQueueType = {
217
- STANDARD: "STANDARD",
226
+ export const SearchContactsMatchType = {
227
+ MATCH_ALL: "MATCH_ALL",
228
+ MATCH_ANY: "MATCH_ANY",
218
229
  };
219
- export class MaximumResultReturnedException extends __BaseException {
220
- constructor(opts) {
221
- super({
222
- name: "MaximumResultReturnedException",
223
- $fault: "client",
224
- ...opts,
225
- });
226
- this.name = "MaximumResultReturnedException";
227
- this.$fault = "client";
228
- Object.setPrototypeOf(this, MaximumResultReturnedException.prototype);
229
- this.Message = opts.Message;
230
- }
231
- }
232
- export const HierarchyGroupMatchType = {
233
- EXACT: "EXACT",
234
- WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
230
+ export const SortableFieldName = {
231
+ CHANNEL: "CHANNEL",
232
+ CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
233
+ DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
234
+ INITIATION_METHOD: "INITIATION_METHOD",
235
+ INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP",
236
+ SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP",
235
237
  };
236
238
  export const DescribeViewResponseFilterSensitiveLog = (obj) => ({
237
239
  ...obj,
@@ -280,3 +282,33 @@ export const ReplicateInstanceRequestFilterSensitiveLog = (obj) => ({
280
282
  ...obj,
281
283
  ...(obj.ReplicaAlias && { ReplicaAlias: SENSITIVE_STRING }),
282
284
  });
285
+ export const TranscriptCriteriaFilterSensitiveLog = (obj) => ({
286
+ ...obj,
287
+ ...(obj.SearchText && { SearchText: SENSITIVE_STRING }),
288
+ });
289
+ export const TranscriptFilterSensitiveLog = (obj) => ({
290
+ ...obj,
291
+ ...(obj.Criteria && { Criteria: obj.Criteria.map((item) => TranscriptCriteriaFilterSensitiveLog(item)) }),
292
+ });
293
+ export const ContactAnalysisFilterSensitiveLog = (obj) => ({
294
+ ...obj,
295
+ ...(obj.Transcript && { Transcript: TranscriptFilterSensitiveLog(obj.Transcript) }),
296
+ });
297
+ export const SearchableContactAttributesCriteriaFilterSensitiveLog = (obj) => ({
298
+ ...obj,
299
+ ...(obj.Key && { Key: SENSITIVE_STRING }),
300
+ ...(obj.Values && { Values: SENSITIVE_STRING }),
301
+ });
302
+ export const SearchableContactAttributesFilterSensitiveLog = (obj) => ({
303
+ ...obj,
304
+ ...(obj.Criteria && {
305
+ Criteria: obj.Criteria.map((item) => SearchableContactAttributesCriteriaFilterSensitiveLog(item)),
306
+ }),
307
+ });
308
+ export const SearchCriteriaFilterSensitiveLog = (obj) => ({
309
+ ...obj,
310
+ ...(obj.ContactAnalysis && { ContactAnalysis: ContactAnalysisFilterSensitiveLog(obj.ContactAnalysis) }),
311
+ ...(obj.SearchableContactAttributes && {
312
+ SearchableContactAttributes: SearchableContactAttributesFilterSensitiveLog(obj.SearchableContactAttributes),
313
+ }),
314
+ });
@@ -1,6 +1,38 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
4
+ import { SearchCriteriaFilterSensitiveLog, } from "./models_1";
5
+ export const SearchContactsTimeRangeType = {
6
+ CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
7
+ DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
8
+ INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP",
9
+ SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP",
10
+ };
11
+ export const StringComparisonType = {
12
+ CONTAINS: "CONTAINS",
13
+ EXACT: "EXACT",
14
+ STARTS_WITH: "STARTS_WITH",
15
+ };
16
+ export const SearchableQueueType = {
17
+ STANDARD: "STANDARD",
18
+ };
19
+ export class MaximumResultReturnedException extends __BaseException {
20
+ constructor(opts) {
21
+ super({
22
+ name: "MaximumResultReturnedException",
23
+ $fault: "client",
24
+ ...opts,
25
+ });
26
+ this.name = "MaximumResultReturnedException";
27
+ this.$fault = "client";
28
+ Object.setPrototypeOf(this, MaximumResultReturnedException.prototype);
29
+ this.Message = opts.Message;
30
+ }
31
+ }
32
+ export const HierarchyGroupMatchType = {
33
+ EXACT: "EXACT",
34
+ WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
35
+ };
4
36
  export const ChatEventType = {
5
37
  DISCONNECT: "DISCONNECT",
6
38
  EVENT: "EVENT",
@@ -97,6 +129,10 @@ export var EvaluationFormItem;
97
129
  return visitor._(value.$unknown[0], value.$unknown[1]);
98
130
  };
99
131
  })(EvaluationFormItem || (EvaluationFormItem = {}));
132
+ export const SearchContactsRequestFilterSensitiveLog = (obj) => ({
133
+ ...obj,
134
+ ...(obj.SearchCriteria && { SearchCriteria: SearchCriteriaFilterSensitiveLog(obj.SearchCriteria) }),
135
+ });
100
136
  export const AttendeeFilterSensitiveLog = (obj) => ({
101
137
  ...obj,
102
138
  ...(obj.JoinToken && { JoinToken: SENSITIVE_STRING }),
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListPredefinedAttributesCommand, } from "../commands/ListPredefinedAttributesCommand";
3
+ import { ConnectClient } from "../ConnectClient";
4
+ export const paginateListPredefinedAttributes = createPaginator(ConnectClient, ListPredefinedAttributesCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListUserProficienciesCommand, } from "../commands/ListUserProficienciesCommand";
3
+ import { ConnectClient } from "../ConnectClient";
4
+ export const paginateListUserProficiencies = createPaginator(ConnectClient, ListUserProficienciesCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { SearchContactsCommand, } from "../commands/SearchContactsCommand";
3
+ import { ConnectClient } from "../ConnectClient";
4
+ export const paginateSearchContacts = createPaginator(ConnectClient, SearchContactsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { SearchPredefinedAttributesCommand, } from "../commands/SearchPredefinedAttributesCommand";
3
+ import { ConnectClient } from "../ConnectClient";
4
+ export const paginateSearchPredefinedAttributes = createPaginator(ConnectClient, SearchPredefinedAttributesCommand, "NextToken", "NextToken", "MaxResults");
@@ -23,6 +23,7 @@ export * from "./ListLambdaFunctionsPaginator";
23
23
  export * from "./ListLexBotsPaginator";
24
24
  export * from "./ListPhoneNumbersPaginator";
25
25
  export * from "./ListPhoneNumbersV2Paginator";
26
+ export * from "./ListPredefinedAttributesPaginator";
26
27
  export * from "./ListPromptsPaginator";
27
28
  export * from "./ListQueueQuickConnectsPaginator";
28
29
  export * from "./ListQueuesPaginator";
@@ -40,11 +41,14 @@ export * from "./ListTrafficDistributionGroupUsersPaginator";
40
41
  export * from "./ListTrafficDistributionGroupsPaginator";
41
42
  export * from "./ListUseCasesPaginator";
42
43
  export * from "./ListUserHierarchyGroupsPaginator";
44
+ export * from "./ListUserProficienciesPaginator";
43
45
  export * from "./ListUsersPaginator";
44
46
  export * from "./ListViewVersionsPaginator";
45
47
  export * from "./ListViewsPaginator";
46
48
  export * from "./SearchAvailablePhoneNumbersPaginator";
49
+ export * from "./SearchContactsPaginator";
47
50
  export * from "./SearchHoursOfOperationsPaginator";
51
+ export * from "./SearchPredefinedAttributesPaginator";
48
52
  export * from "./SearchPromptsPaginator";
49
53
  export * from "./SearchQueuesPaginator";
50
54
  export * from "./SearchQuickConnectsPaginator";