@aws-sdk/client-connect 3.162.0 → 3.165.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 (52) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/Connect.js +30 -0
  3. package/dist-cjs/commands/SearchQueuesCommand.js +36 -0
  4. package/dist-cjs/commands/SearchRoutingProfilesCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_1.js +39 -3
  7. package/dist-cjs/pagination/SearchQueuesPaginator.js +36 -0
  8. package/dist-cjs/pagination/SearchRoutingProfilesPaginator.js +36 -0
  9. package/dist-cjs/pagination/index.js +2 -0
  10. package/dist-cjs/protocols/Aws_restJson1.js +249 -5
  11. package/dist-es/Connect.js +30 -0
  12. package/dist-es/commands/SearchQueuesCommand.js +39 -0
  13. package/dist-es/commands/SearchRoutingProfilesCommand.js +39 -0
  14. package/dist-es/commands/index.js +2 -0
  15. package/dist-es/models/models_1.js +12 -0
  16. package/dist-es/pagination/SearchQueuesPaginator.js +75 -0
  17. package/dist-es/pagination/SearchRoutingProfilesPaginator.js +75 -0
  18. package/dist-es/pagination/index.js +2 -0
  19. package/dist-es/protocols/Aws_restJson1.js +281 -0
  20. package/dist-types/Connect.d.ts +42 -22
  21. package/dist-types/ConnectClient.d.ts +4 -2
  22. package/dist-types/commands/DescribeContactCommand.d.ts +2 -0
  23. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +2 -2
  24. package/dist-types/commands/ListBotsCommand.d.ts +2 -1
  25. package/dist-types/commands/ListContactFlowsCommand.d.ts +2 -2
  26. package/dist-types/commands/ListLexBotsCommand.d.ts +3 -2
  27. package/dist-types/commands/SearchQueuesCommand.d.ts +36 -0
  28. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +36 -0
  29. package/dist-types/commands/StartChatContactCommand.d.ts +2 -2
  30. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +5 -6
  31. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  32. package/dist-types/commands/TransferContactCommand.d.ts +4 -4
  33. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +2 -1
  34. package/dist-types/commands/index.d.ts +2 -0
  35. package/dist-types/models/models_0.d.ts +26 -16
  36. package/dist-types/models/models_1.d.ts +225 -22
  37. package/dist-types/pagination/SearchQueuesPaginator.d.ts +4 -0
  38. package/dist-types/pagination/SearchRoutingProfilesPaginator.d.ts +4 -0
  39. package/dist-types/pagination/index.d.ts +2 -0
  40. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  41. package/dist-types/ts3.4/Connect.d.ts +10 -0
  42. package/dist-types/ts3.4/ConnectClient.d.ts +4 -2
  43. package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +4 -0
  47. package/dist-types/ts3.4/models/models_1.d.ts +90 -1
  48. package/dist-types/ts3.4/pagination/SearchQueuesPaginator.d.ts +4 -0
  49. package/dist-types/ts3.4/pagination/SearchRoutingProfilesPaginator.d.ts +4 -0
  50. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  51. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  52. package/package.json +6 -6
@@ -1,6 +1,6 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
- import { AgentStatusState, Channel, ContactFlowModuleState, ContactFlowState, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, QueueStatus, QuickConnectConfig, QuickConnectSummary, QuickConnectType, ReferenceType, RoutingProfileQueueConfig, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
3
+ import { AgentStatusState, Channel, ContactFlowModuleState, ContactFlowState, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Queue, QueueStatus, QuickConnectConfig, QuickConnectSummary, QuickConnectType, ReferenceType, RoutingProfile, RoutingProfileQueueConfig, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
4
  export declare enum QueueType {
5
5
  AGENT = "AGENT",
6
6
  STANDARD = "STANDARD"
@@ -325,6 +325,9 @@ export interface SearchAvailablePhoneNumbersResponse {
325
325
 
326
326
  AvailableNumbersList?: AvailableNumberSummary[];
327
327
  }
328
+ export declare enum SearchableQueueType {
329
+ STANDARD = "STANDARD"
330
+ }
328
331
  export declare enum StringComparisonType {
329
332
  CONTAINS = "CONTAINS",
330
333
  EXACT = "EXACT",
@@ -356,6 +359,32 @@ export interface ControlPlaneTagFilter {
356
359
  TagCondition?: TagCondition;
357
360
  }
358
361
 
362
+ export interface QueueSearchFilter {
363
+
364
+ TagFilter?: ControlPlaneTagFilter;
365
+ }
366
+ export interface SearchQueuesResponse {
367
+
368
+ Queues?: Queue[];
369
+
370
+ NextToken?: string;
371
+
372
+ ApproximateTotalCount?: number;
373
+ }
374
+
375
+ export interface RoutingProfileSearchFilter {
376
+
377
+ TagFilter?: ControlPlaneTagFilter;
378
+ }
379
+ export interface SearchRoutingProfilesResponse {
380
+
381
+ RoutingProfiles?: RoutingProfile[];
382
+
383
+ NextToken?: string;
384
+
385
+ ApproximateTotalCount?: number;
386
+ }
387
+
359
388
  export interface SecurityProfilesSearchFilter {
360
389
 
361
390
  TagFilter?: ControlPlaneTagFilter;
@@ -1095,6 +1124,26 @@ export interface UpdateUserSecurityProfilesRequest {
1095
1124
  InstanceId: string | undefined;
1096
1125
  }
1097
1126
 
1127
+ export interface QueueSearchCriteria {
1128
+
1129
+ OrConditions?: QueueSearchCriteria[];
1130
+
1131
+ AndConditions?: QueueSearchCriteria[];
1132
+
1133
+ StringCondition?: StringCondition;
1134
+
1135
+ QueueTypeCondition?: SearchableQueueType | string;
1136
+ }
1137
+
1138
+ export interface RoutingProfileSearchCriteria {
1139
+
1140
+ OrConditions?: RoutingProfileSearchCriteria[];
1141
+
1142
+ AndConditions?: RoutingProfileSearchCriteria[];
1143
+
1144
+ StringCondition?: StringCondition;
1145
+ }
1146
+
1098
1147
  export interface SecurityProfileSearchCriteria {
1099
1148
 
1100
1149
  OrConditions?: SecurityProfileSearchCriteria[];
@@ -1114,6 +1163,30 @@ export interface UserSearchCriteria {
1114
1163
 
1115
1164
  HierarchyGroupCondition?: HierarchyGroupCondition;
1116
1165
  }
1166
+ export interface SearchQueuesRequest {
1167
+
1168
+ InstanceId: string | undefined;
1169
+
1170
+ NextToken?: string;
1171
+
1172
+ MaxResults?: number;
1173
+
1174
+ SearchFilter?: QueueSearchFilter;
1175
+
1176
+ SearchCriteria?: QueueSearchCriteria;
1177
+ }
1178
+ export interface SearchRoutingProfilesRequest {
1179
+
1180
+ InstanceId: string | undefined;
1181
+
1182
+ NextToken?: string;
1183
+
1184
+ MaxResults?: number;
1185
+
1186
+ SearchFilter?: RoutingProfileSearchFilter;
1187
+
1188
+ SearchCriteria?: RoutingProfileSearchCriteria;
1189
+ }
1117
1190
  export interface SearchSecurityProfilesRequest {
1118
1191
 
1119
1192
  InstanceId: string | undefined;
@@ -1225,6 +1298,14 @@ export declare const TagConditionFilterSensitiveLog: (obj: TagCondition) => any;
1225
1298
 
1226
1299
  export declare const ControlPlaneTagFilterFilterSensitiveLog: (obj: ControlPlaneTagFilter) => any;
1227
1300
 
1301
+ export declare const QueueSearchFilterFilterSensitiveLog: (obj: QueueSearchFilter) => any;
1302
+
1303
+ export declare const SearchQueuesResponseFilterSensitiveLog: (obj: SearchQueuesResponse) => any;
1304
+
1305
+ export declare const RoutingProfileSearchFilterFilterSensitiveLog: (obj: RoutingProfileSearchFilter) => any;
1306
+
1307
+ export declare const SearchRoutingProfilesResponseFilterSensitiveLog: (obj: SearchRoutingProfilesResponse) => any;
1308
+
1228
1309
  export declare const SecurityProfilesSearchFilterFilterSensitiveLog: (obj: SecurityProfilesSearchFilter) => any;
1229
1310
 
1230
1311
  export declare const SecurityProfileSearchSummaryFilterSensitiveLog: (obj: SecurityProfileSearchSummary) => any;
@@ -1387,10 +1468,18 @@ export declare const UpdateUserRoutingProfileRequestFilterSensitiveLog: (obj: Up
1387
1468
 
1388
1469
  export declare const UpdateUserSecurityProfilesRequestFilterSensitiveLog: (obj: UpdateUserSecurityProfilesRequest) => any;
1389
1470
 
1471
+ export declare const QueueSearchCriteriaFilterSensitiveLog: (obj: QueueSearchCriteria) => any;
1472
+
1473
+ export declare const RoutingProfileSearchCriteriaFilterSensitiveLog: (obj: RoutingProfileSearchCriteria) => any;
1474
+
1390
1475
  export declare const SecurityProfileSearchCriteriaFilterSensitiveLog: (obj: SecurityProfileSearchCriteria) => any;
1391
1476
 
1392
1477
  export declare const UserSearchCriteriaFilterSensitiveLog: (obj: UserSearchCriteria) => any;
1393
1478
 
1479
+ export declare const SearchQueuesRequestFilterSensitiveLog: (obj: SearchQueuesRequest) => any;
1480
+
1481
+ export declare const SearchRoutingProfilesRequestFilterSensitiveLog: (obj: SearchRoutingProfilesRequest) => any;
1482
+
1394
1483
  export declare const SearchSecurityProfilesRequestFilterSensitiveLog: (obj: SearchSecurityProfilesRequest) => any;
1395
1484
 
1396
1485
  export declare const SearchUsersRequestFilterSensitiveLog: (obj: SearchUsersRequest) => any;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { SearchQueuesCommandInput, SearchQueuesCommandOutput } from "../commands/SearchQueuesCommand";
3
+ import { ConnectPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateSearchQueues(config: ConnectPaginationConfiguration, input: SearchQueuesCommandInput, ...additionalArguments: any): Paginator<SearchQueuesCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { SearchRoutingProfilesCommandInput, SearchRoutingProfilesCommandOutput } from "../commands/SearchRoutingProfilesCommand";
3
+ import { ConnectPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateSearchRoutingProfiles(config: ConnectPaginationConfiguration, input: SearchRoutingProfilesCommandInput, ...additionalArguments: any): Paginator<SearchRoutingProfilesCommandOutput>;
@@ -32,6 +32,8 @@ export * from "./ListUseCasesPaginator";
32
32
  export * from "./ListUserHierarchyGroupsPaginator";
33
33
  export * from "./ListUsersPaginator";
34
34
  export * from "./SearchAvailablePhoneNumbersPaginator";
35
+ export * from "./SearchQueuesPaginator";
36
+ export * from "./SearchRoutingProfilesPaginator";
35
37
  export * from "./SearchSecurityProfilesPaginator";
36
38
  export * from "./SearchUsersPaginator";
37
39
  export * from "./SearchVocabulariesPaginator";
@@ -104,6 +104,8 @@ import { PutUserStatusCommandInput, PutUserStatusCommandOutput } from "../comman
104
104
  import { ReleasePhoneNumberCommandInput, ReleasePhoneNumberCommandOutput } from "../commands/ReleasePhoneNumberCommand";
105
105
  import { ResumeContactRecordingCommandInput, ResumeContactRecordingCommandOutput } from "../commands/ResumeContactRecordingCommand";
106
106
  import { SearchAvailablePhoneNumbersCommandInput, SearchAvailablePhoneNumbersCommandOutput } from "../commands/SearchAvailablePhoneNumbersCommand";
107
+ import { SearchQueuesCommandInput, SearchQueuesCommandOutput } from "../commands/SearchQueuesCommand";
108
+ import { SearchRoutingProfilesCommandInput, SearchRoutingProfilesCommandOutput } from "../commands/SearchRoutingProfilesCommand";
107
109
  import { SearchSecurityProfilesCommandInput, SearchSecurityProfilesCommandOutput } from "../commands/SearchSecurityProfilesCommand";
108
110
  import { SearchUsersCommandInput, SearchUsersCommandOutput } from "../commands/SearchUsersCommand";
109
111
  import { SearchVocabulariesCommandInput, SearchVocabulariesCommandOutput } from "../commands/SearchVocabulariesCommand";
@@ -256,6 +258,8 @@ export declare const serializeAws_restJson1PutUserStatusCommand: (input: PutUser
256
258
  export declare const serializeAws_restJson1ReleasePhoneNumberCommand: (input: ReleasePhoneNumberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
257
259
  export declare const serializeAws_restJson1ResumeContactRecordingCommand: (input: ResumeContactRecordingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
258
260
  export declare const serializeAws_restJson1SearchAvailablePhoneNumbersCommand: (input: SearchAvailablePhoneNumbersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
261
+ export declare const serializeAws_restJson1SearchQueuesCommand: (input: SearchQueuesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
262
+ export declare const serializeAws_restJson1SearchRoutingProfilesCommand: (input: SearchRoutingProfilesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
259
263
  export declare const serializeAws_restJson1SearchSecurityProfilesCommand: (input: SearchSecurityProfilesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
260
264
  export declare const serializeAws_restJson1SearchUsersCommand: (input: SearchUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
261
265
  export declare const serializeAws_restJson1SearchVocabulariesCommand: (input: SearchVocabulariesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -408,6 +412,8 @@ export declare const deserializeAws_restJson1PutUserStatusCommand: (output: __Ht
408
412
  export declare const deserializeAws_restJson1ReleasePhoneNumberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ReleasePhoneNumberCommandOutput>;
409
413
  export declare const deserializeAws_restJson1ResumeContactRecordingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResumeContactRecordingCommandOutput>;
410
414
  export declare const deserializeAws_restJson1SearchAvailablePhoneNumbersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchAvailablePhoneNumbersCommandOutput>;
415
+ export declare const deserializeAws_restJson1SearchQueuesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchQueuesCommandOutput>;
416
+ export declare const deserializeAws_restJson1SearchRoutingProfilesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchRoutingProfilesCommandOutput>;
411
417
  export declare const deserializeAws_restJson1SearchSecurityProfilesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchSecurityProfilesCommandOutput>;
412
418
  export declare const deserializeAws_restJson1SearchUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchUsersCommandOutput>;
413
419
  export declare const deserializeAws_restJson1SearchVocabulariesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchVocabulariesCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connect",
3
3
  "description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
4
- "version": "3.162.0",
4
+ "version": "3.165.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.162.0",
22
- "@aws-sdk/config-resolver": "3.162.0",
23
- "@aws-sdk/credential-provider-node": "3.162.0",
21
+ "@aws-sdk/client-sts": "3.165.0",
22
+ "@aws-sdk/config-resolver": "3.163.0",
23
+ "@aws-sdk/credential-provider-node": "3.165.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.162.0",
25
25
  "@aws-sdk/hash-node": "3.162.0",
26
26
  "@aws-sdk/invalid-dependency": "3.162.0",
@@ -30,7 +30,7 @@
30
30
  "@aws-sdk/middleware-recursion-detection": "3.162.0",
31
31
  "@aws-sdk/middleware-retry": "3.162.0",
32
32
  "@aws-sdk/middleware-serde": "3.162.0",
33
- "@aws-sdk/middleware-signing": "3.162.0",
33
+ "@aws-sdk/middleware-signing": "3.163.0",
34
34
  "@aws-sdk/middleware-stack": "3.162.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.162.0",
36
36
  "@aws-sdk/node-config-provider": "3.162.0",
@@ -44,7 +44,7 @@
44
44
  "@aws-sdk/util-body-length-browser": "3.154.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.162.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.162.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.163.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.162.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.162.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",