@aws-sdk/client-connect 3.99.0 → 3.105.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 (131) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist-cjs/Connect.js +105 -0
  3. package/dist-cjs/ConnectClient.js +2 -0
  4. package/dist-cjs/commands/CreateTaskTemplateCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteTaskTemplateCommand.js +36 -0
  6. package/dist-cjs/commands/GetCurrentUserDataCommand.js +36 -0
  7. package/dist-cjs/commands/GetTaskTemplateCommand.js +36 -0
  8. package/dist-cjs/commands/ListQueuesCommand.js +3 -3
  9. package/dist-cjs/commands/ListQuickConnectsCommand.js +3 -3
  10. package/dist-cjs/commands/ListRoutingProfileQueuesCommand.js +3 -3
  11. package/dist-cjs/commands/ListRoutingProfilesCommand.js +3 -3
  12. package/dist-cjs/commands/ListSecurityKeysCommand.js +3 -3
  13. package/dist-cjs/commands/ListSecurityProfilePermissionsCommand.js +3 -3
  14. package/dist-cjs/commands/ListSecurityProfilesCommand.js +3 -3
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  16. package/dist-cjs/commands/ListTaskTemplatesCommand.js +36 -0
  17. package/dist-cjs/commands/ListUseCasesCommand.js +3 -3
  18. package/dist-cjs/commands/ListUserHierarchyGroupsCommand.js +3 -3
  19. package/dist-cjs/commands/ListUsersCommand.js +3 -3
  20. package/dist-cjs/commands/PutUserStatusCommand.js +3 -3
  21. package/dist-cjs/commands/ReleasePhoneNumberCommand.js +2 -2
  22. package/dist-cjs/commands/ResumeContactRecordingCommand.js +3 -3
  23. package/dist-cjs/commands/TransferContactCommand.js +36 -0
  24. package/dist-cjs/commands/UpdateTaskTemplateCommand.js +36 -0
  25. package/dist-cjs/commands/index.js +7 -0
  26. package/dist-cjs/models/models_0.js +283 -236
  27. package/dist-cjs/models/models_1.js +254 -2
  28. package/dist-cjs/pagination/GetCurrentUserDataPaginator.js +36 -0
  29. package/dist-cjs/pagination/ListTaskTemplatesPaginator.js +36 -0
  30. package/dist-cjs/pagination/index.js +2 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +1279 -34
  32. package/dist-es/Connect.js +105 -0
  33. package/dist-es/ConnectClient.js +2 -0
  34. package/dist-es/commands/CreateTaskTemplateCommand.js +39 -0
  35. package/dist-es/commands/DeleteTaskTemplateCommand.js +39 -0
  36. package/dist-es/commands/GetCurrentUserDataCommand.js +39 -0
  37. package/dist-es/commands/GetTaskTemplateCommand.js +39 -0
  38. package/dist-es/commands/ListQueuesCommand.js +1 -1
  39. package/dist-es/commands/ListQuickConnectsCommand.js +1 -1
  40. package/dist-es/commands/ListRoutingProfileQueuesCommand.js +1 -1
  41. package/dist-es/commands/ListRoutingProfilesCommand.js +1 -1
  42. package/dist-es/commands/ListSecurityKeysCommand.js +1 -1
  43. package/dist-es/commands/ListSecurityProfilePermissionsCommand.js +1 -1
  44. package/dist-es/commands/ListSecurityProfilesCommand.js +1 -1
  45. package/dist-es/commands/ListTagsForResourceCommand.js +1 -1
  46. package/dist-es/commands/ListTaskTemplatesCommand.js +39 -0
  47. package/dist-es/commands/ListUseCasesCommand.js +1 -1
  48. package/dist-es/commands/ListUserHierarchyGroupsCommand.js +1 -1
  49. package/dist-es/commands/ListUsersCommand.js +1 -1
  50. package/dist-es/commands/PutUserStatusCommand.js +1 -1
  51. package/dist-es/commands/ReleasePhoneNumberCommand.js +1 -1
  52. package/dist-es/commands/ResumeContactRecordingCommand.js +1 -1
  53. package/dist-es/commands/TransferContactCommand.js +39 -0
  54. package/dist-es/commands/UpdateTaskTemplateCommand.js +39 -0
  55. package/dist-es/commands/index.js +7 -0
  56. package/dist-es/models/models_0.js +214 -160
  57. package/dist-es/models/models_1.js +169 -0
  58. package/dist-es/pagination/GetCurrentUserDataPaginator.js +75 -0
  59. package/dist-es/pagination/ListTaskTemplatesPaginator.js +75 -0
  60. package/dist-es/pagination/index.js +2 -0
  61. package/dist-es/protocols/Aws_restJson1.js +1440 -63
  62. package/dist-types/Connect.d.ts +104 -22
  63. package/dist-types/ConnectClient.d.ts +9 -2
  64. package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +2 -1
  65. package/dist-types/commands/CreateTaskTemplateCommand.d.ts +35 -0
  66. package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +35 -0
  67. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +2 -1
  68. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +35 -0
  69. package/dist-types/commands/GetTaskTemplateCommand.d.ts +35 -0
  70. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +1 -1
  71. package/dist-types/commands/ListQueuesCommand.d.ts +1 -1
  72. package/dist-types/commands/ListQuickConnectsCommand.d.ts +1 -1
  73. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  74. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +1 -1
  75. package/dist-types/commands/ListSecurityKeysCommand.d.ts +1 -1
  76. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
  77. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
  78. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  79. package/dist-types/commands/ListTaskTemplatesCommand.d.ts +35 -0
  80. package/dist-types/commands/ListUseCasesCommand.d.ts +1 -1
  81. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
  82. package/dist-types/commands/ListUsersCommand.d.ts +1 -1
  83. package/dist-types/commands/PutUserStatusCommand.d.ts +5 -6
  84. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  85. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
  86. package/dist-types/commands/SearchVocabulariesCommand.d.ts +2 -1
  87. package/dist-types/commands/StartChatContactCommand.d.ts +3 -3
  88. package/dist-types/commands/StartContactRecordingCommand.d.ts +9 -7
  89. package/dist-types/commands/StopContactCommand.d.ts +3 -1
  90. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  91. package/dist-types/commands/TransferContactCommand.d.ts +58 -0
  92. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +2 -1
  93. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +37 -0
  94. package/dist-types/commands/index.d.ts +7 -0
  95. package/dist-types/models/models_0.d.ts +927 -850
  96. package/dist-types/models/models_1.d.ts +979 -50
  97. package/dist-types/pagination/GetCurrentUserDataPaginator.d.ts +4 -0
  98. package/dist-types/pagination/ListTaskTemplatesPaginator.d.ts +4 -0
  99. package/dist-types/pagination/index.d.ts +2 -0
  100. package/dist-types/protocols/Aws_restJson1.d.ts +21 -0
  101. package/dist-types/ts3.4/Connect.d.ts +35 -0
  102. package/dist-types/ts3.4/ConnectClient.d.ts +9 -2
  103. package/dist-types/ts3.4/commands/CreateTaskTemplateCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/DeleteTaskTemplateCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ListQuickConnectsCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  115. package/dist-types/ts3.4/commands/ListTaskTemplatesCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/ListUseCasesCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/ListUserHierarchyGroupsCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/PutUserStatusCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  125. package/dist-types/ts3.4/models/models_0.d.ts +555 -517
  126. package/dist-types/ts3.4/models/models_1.d.ts +539 -26
  127. package/dist-types/ts3.4/pagination/GetCurrentUserDataPaginator.d.ts +4 -0
  128. package/dist-types/ts3.4/pagination/ListTaskTemplatesPaginator.d.ts +4 -0
  129. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  130. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +21 -0
  131. package/package.json +4 -3
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import { ListTaskTemplatesRequest, ListTaskTemplatesResponse } from "../models/models_1";
5
+ export interface ListTaskTemplatesCommandInput extends ListTaskTemplatesRequest {
6
+ }
7
+ export interface ListTaskTemplatesCommandOutput extends ListTaskTemplatesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListTaskTemplatesCommand extends $Command<ListTaskTemplatesCommandInput, ListTaskTemplatesCommandOutput, ConnectClientResolvedConfig> {
11
+ readonly input: ListTaskTemplatesCommandInput;
12
+ constructor(input: ListTaskTemplatesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTaskTemplatesCommandInput, ListTaskTemplatesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { ListUseCasesRequest, ListUseCasesResponse } from "../models/models_0";
4
+ import { ListUseCasesRequest, ListUseCasesResponse } from "../models/models_1";
5
5
  export interface ListUseCasesCommandInput extends ListUseCasesRequest {
6
6
  }
7
7
  export interface ListUseCasesCommandOutput extends ListUseCasesResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { ListUserHierarchyGroupsRequest, ListUserHierarchyGroupsResponse } from "../models/models_0";
4
+ import { ListUserHierarchyGroupsRequest, ListUserHierarchyGroupsResponse } from "../models/models_1";
5
5
  export interface ListUserHierarchyGroupsCommandInput extends ListUserHierarchyGroupsRequest {
6
6
  }
7
7
  export interface ListUserHierarchyGroupsCommandOutput extends ListUserHierarchyGroupsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { ListUsersRequest, ListUsersResponse } from "../models/models_0";
4
+ import { ListUsersRequest, ListUsersResponse } from "../models/models_1";
5
5
  export interface ListUsersCommandInput extends ListUsersRequest {
6
6
  }
7
7
  export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { PutUserStatusRequest, PutUserStatusResponse } from "../models/models_0";
4
+ import { PutUserStatusRequest, PutUserStatusResponse } from "../models/models_1";
5
5
  export interface PutUserStatusCommandInput extends PutUserStatusRequest {
6
6
  }
7
7
  export interface PutUserStatusCommandOutput extends PutUserStatusResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { ReleasePhoneNumberRequest } from "../models/models_0";
4
+ import { ReleasePhoneNumberRequest } from "../models/models_1";
5
5
  export interface ReleasePhoneNumberCommandInput extends ReleasePhoneNumberRequest {
6
6
  }
7
7
  export interface ReleasePhoneNumberCommandOutput extends __MetadataBearer {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
- import { ResumeContactRecordingRequest, ResumeContactRecordingResponse } from "../models/models_0";
4
+ import { ResumeContactRecordingRequest, ResumeContactRecordingResponse } from "../models/models_1";
5
5
  export interface ResumeContactRecordingCommandInput extends ResumeContactRecordingRequest {
6
6
  }
7
7
  export interface ResumeContactRecordingCommandOutput extends ResumeContactRecordingResponse, __MetadataBearer {
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import { TransferContactRequest, TransferContactResponse } from "../models/models_1";
5
+ export interface TransferContactCommandInput extends TransferContactRequest {
6
+ }
7
+ export interface TransferContactCommandOutput extends TransferContactResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class TransferContactCommand extends $Command<TransferContactCommandInput, TransferContactCommandOutput, ConnectClientResolvedConfig> {
11
+ readonly input: TransferContactCommandInput;
12
+ constructor(input: TransferContactCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TransferContactCommandInput, TransferContactCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
4
+ import { UpdateTaskTemplateRequest, UpdateTaskTemplateResponse } from "../models/models_1";
5
+ export interface UpdateTaskTemplateCommandInput extends UpdateTaskTemplateRequest {
6
+ }
7
+ export interface UpdateTaskTemplateCommandOutput extends UpdateTaskTemplateResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateTaskTemplateCommand extends $Command<UpdateTaskTemplateCommandInput, UpdateTaskTemplateCommandOutput, ConnectClientResolvedConfig> {
11
+ readonly input: UpdateTaskTemplateCommandInput;
12
+ constructor(input: UpdateTaskTemplateCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTaskTemplateCommandInput, UpdateTaskTemplateCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -19,6 +19,7 @@ export * from "./CreateQueueCommand";
19
19
  export * from "./CreateQuickConnectCommand";
20
20
  export * from "./CreateRoutingProfileCommand";
21
21
  export * from "./CreateSecurityProfileCommand";
22
+ export * from "./CreateTaskTemplateCommand";
22
23
  export * from "./CreateUseCaseCommand";
23
24
  export * from "./CreateUserCommand";
24
25
  export * from "./CreateUserHierarchyGroupCommand";
@@ -30,6 +31,7 @@ export * from "./DeleteInstanceCommand";
30
31
  export * from "./DeleteIntegrationAssociationCommand";
31
32
  export * from "./DeleteQuickConnectCommand";
32
33
  export * from "./DeleteSecurityProfileCommand";
34
+ export * from "./DeleteTaskTemplateCommand";
33
35
  export * from "./DeleteUseCaseCommand";
34
36
  export * from "./DeleteUserCommand";
35
37
  export * from "./DeleteUserHierarchyGroupCommand";
@@ -62,8 +64,10 @@ export * from "./DisassociateRoutingProfileQueuesCommand";
62
64
  export * from "./DisassociateSecurityKeyCommand";
63
65
  export * from "./GetContactAttributesCommand";
64
66
  export * from "./GetCurrentMetricDataCommand";
67
+ export * from "./GetCurrentUserDataCommand";
65
68
  export * from "./GetFederationTokenCommand";
66
69
  export * from "./GetMetricDataCommand";
70
+ export * from "./GetTaskTemplateCommand";
67
71
  export * from "./ListAgentStatusesCommand";
68
72
  export * from "./ListApprovedOriginsCommand";
69
73
  export * from "./ListBotsCommand";
@@ -90,6 +94,7 @@ export * from "./ListSecurityKeysCommand";
90
94
  export * from "./ListSecurityProfilePermissionsCommand";
91
95
  export * from "./ListSecurityProfilesCommand";
92
96
  export * from "./ListTagsForResourceCommand";
97
+ export * from "./ListTaskTemplatesCommand";
93
98
  export * from "./ListUseCasesCommand";
94
99
  export * from "./ListUserHierarchyGroupsCommand";
95
100
  export * from "./ListUsersCommand";
@@ -109,6 +114,7 @@ export * from "./StopContactRecordingCommand";
109
114
  export * from "./StopContactStreamingCommand";
110
115
  export * from "./SuspendContactRecordingCommand";
111
116
  export * from "./TagResourceCommand";
117
+ export * from "./TransferContactCommand";
112
118
  export * from "./UntagResourceCommand";
113
119
  export * from "./UpdateAgentStatusCommand";
114
120
  export * from "./UpdateContactAttributesCommand";
@@ -135,6 +141,7 @@ export * from "./UpdateRoutingProfileDefaultOutboundQueueCommand";
135
141
  export * from "./UpdateRoutingProfileNameCommand";
136
142
  export * from "./UpdateRoutingProfileQueuesCommand";
137
143
  export * from "./UpdateSecurityProfileCommand";
144
+ export * from "./UpdateTaskTemplateCommand";
138
145
  export * from "./UpdateUserHierarchyCommand";
139
146
  export * from "./UpdateUserHierarchyGroupNameCommand";
140
147
  export * from "./UpdateUserHierarchyStructureCommand";