@aws-sdk/client-connect 3.458.0 → 3.461.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 (153) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/Connect.js +26 -0
  3. package/dist-cjs/commands/AssociateAnalyticsDataSetCommand.js +51 -0
  4. package/dist-cjs/commands/AssociateFlowCommand.js +51 -0
  5. package/dist-cjs/commands/BatchAssociateAnalyticsDataSetCommand.js +51 -0
  6. package/dist-cjs/commands/BatchDisassociateAnalyticsDataSetCommand.js +51 -0
  7. package/dist-cjs/commands/DisassociateAnalyticsDataSetCommand.js +51 -0
  8. package/dist-cjs/commands/DisassociateFlowCommand.js +51 -0
  9. package/dist-cjs/commands/GetFlowAssociationCommand.js +51 -0
  10. package/dist-cjs/commands/ImportPhoneNumberCommand.js +51 -0
  11. package/dist-cjs/commands/ListAnalyticsDataAssociationsCommand.js +51 -0
  12. package/dist-cjs/commands/ListFlowAssociationsCommand.js +51 -0
  13. package/dist-cjs/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +51 -0
  14. package/dist-cjs/commands/SendChatIntegrationEventCommand.js +51 -0
  15. package/dist-cjs/commands/StartWebRTCContactCommand.js +52 -0
  16. package/dist-cjs/commands/index.js +13 -0
  17. package/dist-cjs/models/models_0.js +11 -10
  18. package/dist-cjs/models/models_1.js +81 -51
  19. package/dist-cjs/models/models_2.js +72 -1
  20. package/dist-cjs/pagination/ListFlowAssociationsPaginator.js +29 -0
  21. package/dist-cjs/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +29 -0
  22. package/dist-cjs/pagination/index.js +2 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +1056 -31
  24. package/dist-es/Connect.js +26 -0
  25. package/dist-es/commands/AssociateAnalyticsDataSetCommand.js +47 -0
  26. package/dist-es/commands/AssociateFlowCommand.js +47 -0
  27. package/dist-es/commands/BatchAssociateAnalyticsDataSetCommand.js +47 -0
  28. package/dist-es/commands/BatchDisassociateAnalyticsDataSetCommand.js +47 -0
  29. package/dist-es/commands/DisassociateAnalyticsDataSetCommand.js +47 -0
  30. package/dist-es/commands/DisassociateFlowCommand.js +47 -0
  31. package/dist-es/commands/GetFlowAssociationCommand.js +47 -0
  32. package/dist-es/commands/ImportPhoneNumberCommand.js +47 -0
  33. package/dist-es/commands/ListAnalyticsDataAssociationsCommand.js +47 -0
  34. package/dist-es/commands/ListFlowAssociationsCommand.js +47 -0
  35. package/dist-es/commands/ListRealtimeContactAnalysisSegmentsV2Command.js +47 -0
  36. package/dist-es/commands/SendChatIntegrationEventCommand.js +47 -0
  37. package/dist-es/commands/StartWebRTCContactCommand.js +48 -0
  38. package/dist-es/commands/index.js +13 -0
  39. package/dist-es/models/models_0.js +9 -8
  40. package/dist-es/models/models_1.js +79 -47
  41. package/dist-es/models/models_2.js +65 -0
  42. package/dist-es/pagination/ListFlowAssociationsPaginator.js +25 -0
  43. package/dist-es/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +25 -0
  44. package/dist-es/pagination/index.js +2 -0
  45. package/dist-es/protocols/Aws_restJson1.js +1019 -21
  46. package/dist-types/Connect.d.ts +91 -0
  47. package/dist-types/ConnectClient.d.ts +15 -2
  48. package/dist-types/commands/AssociateAnalyticsDataSetCommand.d.ts +95 -0
  49. package/dist-types/commands/AssociateFlowCommand.d.ts +92 -0
  50. package/dist-types/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +107 -0
  51. package/dist-types/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +102 -0
  52. package/dist-types/commands/CreateRuleCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateUserCommand.d.ts +1 -3
  54. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +2 -1
  55. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeRuleCommand.d.ts +2 -2
  58. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  59. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +1 -2
  60. package/dist-types/commands/DescribeUserCommand.d.ts +1 -1
  61. package/dist-types/commands/DisassociateAnalyticsDataSetCommand.d.ts +89 -0
  62. package/dist-types/commands/DisassociateFlowCommand.d.ts +91 -0
  63. package/dist-types/commands/GetFlowAssociationCommand.d.ts +95 -0
  64. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +100 -0
  65. package/dist-types/commands/ListAnalyticsDataAssociationsCommand.d.ts +101 -0
  66. package/dist-types/commands/ListFlowAssociationsCommand.d.ts +101 -0
  67. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +2 -2
  68. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +4 -2
  69. package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +185 -0
  70. package/dist-types/commands/ListRulesCommand.d.ts +2 -2
  71. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  72. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +2 -2
  73. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +125 -0
  74. package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
  75. package/dist-types/commands/StartContactEvaluationCommand.d.ts +1 -1
  76. package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -1
  77. package/dist-types/commands/StartContactStreamingCommand.d.ts +1 -1
  78. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  79. package/dist-types/commands/StartTaskContactCommand.d.ts +1 -1
  80. package/dist-types/commands/StartWebRTCContactCommand.d.ts +137 -0
  81. package/dist-types/commands/StopContactCommand.d.ts +1 -1
  82. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
  83. package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
  84. package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +1 -1
  85. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
  86. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  87. package/dist-types/commands/TransferContactCommand.d.ts +1 -1
  88. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  89. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -1
  90. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +1 -1
  91. package/dist-types/commands/UpdateContactCommand.d.ts +1 -1
  92. package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +1 -1
  93. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  94. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
  95. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -2
  96. package/dist-types/commands/index.d.ts +13 -0
  97. package/dist-types/models/models_0.d.ts +271 -381
  98. package/dist-types/models/models_1.d.ts +3355 -3077
  99. package/dist-types/models/models_2.d.ts +1427 -2
  100. package/dist-types/pagination/ListFlowAssociationsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +7 -0
  102. package/dist-types/pagination/index.d.ts +2 -0
  103. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  104. package/dist-types/ts3.4/Connect.d.ts +233 -0
  105. package/dist-types/ts3.4/ConnectClient.d.ts +78 -0
  106. package/dist-types/ts3.4/commands/AssociateAnalyticsDataSetCommand.d.ts +42 -0
  107. package/dist-types/ts3.4/commands/AssociateFlowCommand.d.ts +38 -0
  108. package/dist-types/ts3.4/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +42 -0
  109. package/dist-types/ts3.4/commands/BatchDisassociateAnalyticsDataSetCommand.d.ts +42 -0
  110. package/dist-types/ts3.4/commands/DescribeQuickConnectCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/DescribeRoutingProfileCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/DescribeRuleCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/DescribeTrafficDistributionGroupCommand.d.ts +4 -2
  115. package/dist-types/ts3.4/commands/DisassociateAnalyticsDataSetCommand.d.ts +38 -0
  116. package/dist-types/ts3.4/commands/DisassociateFlowCommand.d.ts +38 -0
  117. package/dist-types/ts3.4/commands/GetFlowAssociationCommand.d.ts +39 -0
  118. package/dist-types/ts3.4/commands/ImportPhoneNumberCommand.d.ts +39 -0
  119. package/dist-types/ts3.4/commands/ListAnalyticsDataAssociationsCommand.d.ts +42 -0
  120. package/dist-types/ts3.4/commands/ListFlowAssociationsCommand.d.ts +42 -0
  121. package/dist-types/ts3.4/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +42 -0
  122. package/dist-types/ts3.4/commands/SendChatIntegrationEventCommand.d.ts +42 -0
  123. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/StartContactEvaluationCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +39 -0
  130. package/dist-types/ts3.4/commands/StopContactCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +1 -1
  132. package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/UpdateContactEvaluationCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +1 -1
  143. package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
  144. package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +4 -2
  145. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  146. package/dist-types/ts3.4/models/models_0.d.ts +69 -94
  147. package/dist-types/ts3.4/models/models_1.d.ts +388 -256
  148. package/dist-types/ts3.4/models/models_2.d.ts +334 -0
  149. package/dist-types/ts3.4/pagination/ListFlowAssociationsPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  152. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  153. package/package.json +12 -12
@@ -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_ListRealtimeContactAnalysisSegmentsV2Command, se_ListRealtimeContactAnalysisSegmentsV2Command, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListRealtimeContactAnalysisSegmentsV2Command 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, ListRealtimeContactAnalysisSegmentsV2Command.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ConnectClient";
26
+ const commandName = "ListRealtimeContactAnalysisSegmentsV2Command";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonConnectService",
35
+ operation: "ListRealtimeContactAnalysisSegmentsV2",
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_ListRealtimeContactAnalysisSegmentsV2Command(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_ListRealtimeContactAnalysisSegmentsV2Command(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_SendChatIntegrationEventCommand, se_SendChatIntegrationEventCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class SendChatIntegrationEventCommand 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, SendChatIntegrationEventCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "ConnectClient";
26
+ const commandName = "SendChatIntegrationEventCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonConnectService",
35
+ operation: "SendChatIntegrationEvent",
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_SendChatIntegrationEventCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_SendChatIntegrationEventCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,48 @@
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 { StartWebRTCContactResponseFilterSensitiveLog, } from "../models/models_2";
6
+ import { de_StartWebRTCContactCommand, se_StartWebRTCContactCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class StartWebRTCContactCommand extends $Command {
9
+ static getEndpointParameterInstructions() {
10
+ return {
11
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
+ Endpoint: { type: "builtInParams", name: "endpoint" },
13
+ Region: { type: "builtInParams", name: "region" },
14
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
+ };
16
+ }
17
+ constructor(input) {
18
+ super();
19
+ this.input = input;
20
+ }
21
+ resolveMiddleware(clientStack, configuration, options) {
22
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
+ this.middlewareStack.use(getEndpointPlugin(configuration, StartWebRTCContactCommand.getEndpointParameterInstructions()));
24
+ const stack = clientStack.concat(this.middlewareStack);
25
+ const { logger } = configuration;
26
+ const clientName = "ConnectClient";
27
+ const commandName = "StartWebRTCContactCommand";
28
+ const handlerExecutionContext = {
29
+ logger,
30
+ clientName,
31
+ commandName,
32
+ inputFilterSensitiveLog: (_) => _,
33
+ outputFilterSensitiveLog: StartWebRTCContactResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AmazonConnectService",
36
+ operation: "StartWebRTCContact",
37
+ },
38
+ };
39
+ const { requestHandler } = configuration;
40
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
+ }
42
+ serialize(input, context) {
43
+ return se_StartWebRTCContactCommand(input, context);
44
+ }
45
+ deserialize(output, context) {
46
+ return de_StartWebRTCContactCommand(output, context);
47
+ }
48
+ }
@@ -1,7 +1,9 @@
1
1
  export * from "./ActivateEvaluationFormCommand";
2
+ export * from "./AssociateAnalyticsDataSetCommand";
2
3
  export * from "./AssociateApprovedOriginCommand";
3
4
  export * from "./AssociateBotCommand";
4
5
  export * from "./AssociateDefaultVocabularyCommand";
6
+ export * from "./AssociateFlowCommand";
5
7
  export * from "./AssociateInstanceStorageConfigCommand";
6
8
  export * from "./AssociateLambdaFunctionCommand";
7
9
  export * from "./AssociateLexBotCommand";
@@ -10,6 +12,8 @@ export * from "./AssociateQueueQuickConnectsCommand";
10
12
  export * from "./AssociateRoutingProfileQueuesCommand";
11
13
  export * from "./AssociateSecurityKeyCommand";
12
14
  export * from "./AssociateTrafficDistributionGroupUserCommand";
15
+ export * from "./BatchAssociateAnalyticsDataSetCommand";
16
+ export * from "./BatchDisassociateAnalyticsDataSetCommand";
13
17
  export * from "./BatchGetFlowAssociationCommand";
14
18
  export * from "./BatchPutContactCommand";
15
19
  export * from "./ClaimPhoneNumberCommand";
@@ -81,8 +85,10 @@ export * from "./DescribeUserHierarchyGroupCommand";
81
85
  export * from "./DescribeUserHierarchyStructureCommand";
82
86
  export * from "./DescribeViewCommand";
83
87
  export * from "./DescribeVocabularyCommand";
88
+ export * from "./DisassociateAnalyticsDataSetCommand";
84
89
  export * from "./DisassociateApprovedOriginCommand";
85
90
  export * from "./DisassociateBotCommand";
91
+ export * from "./DisassociateFlowCommand";
86
92
  export * from "./DisassociateInstanceStorageConfigCommand";
87
93
  export * from "./DisassociateLambdaFunctionCommand";
88
94
  export * from "./DisassociateLexBotCommand";
@@ -96,12 +102,15 @@ export * from "./GetContactAttributesCommand";
96
102
  export * from "./GetCurrentMetricDataCommand";
97
103
  export * from "./GetCurrentUserDataCommand";
98
104
  export * from "./GetFederationTokenCommand";
105
+ export * from "./GetFlowAssociationCommand";
99
106
  export * from "./GetMetricDataCommand";
100
107
  export * from "./GetMetricDataV2Command";
101
108
  export * from "./GetPromptFileCommand";
102
109
  export * from "./GetTaskTemplateCommand";
103
110
  export * from "./GetTrafficDistributionCommand";
111
+ export * from "./ImportPhoneNumberCommand";
104
112
  export * from "./ListAgentStatusesCommand";
113
+ export * from "./ListAnalyticsDataAssociationsCommand";
105
114
  export * from "./ListApprovedOriginsCommand";
106
115
  export * from "./ListBotsCommand";
107
116
  export * from "./ListContactEvaluationsCommand";
@@ -111,6 +120,7 @@ export * from "./ListContactReferencesCommand";
111
120
  export * from "./ListDefaultVocabulariesCommand";
112
121
  export * from "./ListEvaluationFormVersionsCommand";
113
122
  export * from "./ListEvaluationFormsCommand";
123
+ export * from "./ListFlowAssociationsCommand";
114
124
  export * from "./ListHoursOfOperationsCommand";
115
125
  export * from "./ListInstanceAttributesCommand";
116
126
  export * from "./ListInstanceStorageConfigsCommand";
@@ -124,6 +134,7 @@ export * from "./ListPromptsCommand";
124
134
  export * from "./ListQueueQuickConnectsCommand";
125
135
  export * from "./ListQueuesCommand";
126
136
  export * from "./ListQuickConnectsCommand";
137
+ export * from "./ListRealtimeContactAnalysisSegmentsV2Command";
127
138
  export * from "./ListRoutingProfileQueuesCommand";
128
139
  export * from "./ListRoutingProfilesCommand";
129
140
  export * from "./ListRulesCommand";
@@ -155,12 +166,14 @@ export * from "./SearchRoutingProfilesCommand";
155
166
  export * from "./SearchSecurityProfilesCommand";
156
167
  export * from "./SearchUsersCommand";
157
168
  export * from "./SearchVocabulariesCommand";
169
+ export * from "./SendChatIntegrationEventCommand";
158
170
  export * from "./StartChatContactCommand";
159
171
  export * from "./StartContactEvaluationCommand";
160
172
  export * from "./StartContactRecordingCommand";
161
173
  export * from "./StartContactStreamingCommand";
162
174
  export * from "./StartOutboundVoiceContactCommand";
163
175
  export * from "./StartTaskContactCommand";
176
+ export * from "./StartWebRTCContactCommand";
164
177
  export * from "./StopContactCommand";
165
178
  export * from "./StopContactRecordingCommand";
166
179
  export * from "./StopContactStreamingCommand";
@@ -124,6 +124,9 @@ export const AgentStatusType = {
124
124
  OFFLINE: "OFFLINE",
125
125
  ROUTABLE: "ROUTABLE",
126
126
  };
127
+ export const VideoCapability = {
128
+ SEND: "SEND",
129
+ };
127
130
  export const MonitorCapability = {
128
131
  BARGE: "BARGE",
129
132
  SILENT_MONITOR: "SILENT_MONITOR",
@@ -192,6 +195,9 @@ export const VocabularyLanguageCode = {
192
195
  PT_PT: "pt-PT",
193
196
  ZH_CN: "zh-CN",
194
197
  };
198
+ export const FlowAssociationResourceType = {
199
+ SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER",
200
+ };
195
201
  export const InstanceStorageResourceType = {
196
202
  AGENT_EVENTS: "AGENT_EVENTS",
197
203
  ATTACHMENTS: "ATTACHMENTS",
@@ -425,6 +431,7 @@ export const EventSourceName = {
425
431
  OnPostCallAnalysisAvailable: "OnPostCallAnalysisAvailable",
426
432
  OnPostChatAnalysisAvailable: "OnPostChatAnalysisAvailable",
427
433
  OnRealTimeCallAnalysisAvailable: "OnRealTimeCallAnalysisAvailable",
434
+ OnRealTimeChatAnalysisAvailable: "OnRealTimeChatAnalysisAvailable",
428
435
  OnSalesforceCaseCreate: "OnSalesforceCaseCreate",
429
436
  OnZendeskTicketCreate: "OnZendeskTicketCreate",
430
437
  OnZendeskTicketStatusUpdate: "OnZendeskTicketStatusUpdate",
@@ -505,6 +512,7 @@ export const ResourceType = {
505
512
  HIERARCHY_LEVEL: "HIERARCHY_LEVEL",
506
513
  INSTANCE: "INSTANCE",
507
514
  PARTICIPANT: "PARTICIPANT",
515
+ PHONE_NUMBER: "PHONE_NUMBER",
508
516
  USER: "USER",
509
517
  };
510
518
  export class ResourceInUseException extends __BaseException {
@@ -850,6 +858,7 @@ export const PhoneNumberWorkflowStatus = {
850
858
  export const PhoneNumberType = {
851
859
  DID: "DID",
852
860
  SHARED: "SHARED",
861
+ SHORT_CODE: "SHORT_CODE",
853
862
  THIRD_PARTY_DID: "THIRD_PARTY_DID",
854
863
  THIRD_PARTY_TF: "THIRD_PARTY_TF",
855
864
  TOLL_FREE: "TOLL_FREE",
@@ -859,14 +868,6 @@ export const QueueStatus = {
859
868
  DISABLED: "DISABLED",
860
869
  ENABLED: "ENABLED",
861
870
  };
862
- export const TrafficDistributionGroupStatus = {
863
- ACTIVE: "ACTIVE",
864
- CREATION_FAILED: "CREATION_FAILED",
865
- CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
866
- DELETION_FAILED: "DELETION_FAILED",
867
- PENDING_DELETION: "PENDING_DELETION",
868
- UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
869
- };
870
871
  export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
871
872
  ...obj,
872
873
  ...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
@@ -1,6 +1,14 @@
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 TrafficDistributionGroupStatus = {
5
+ ACTIVE: "ACTIVE",
6
+ CREATION_FAILED: "CREATION_FAILED",
7
+ CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
8
+ DELETION_FAILED: "DELETION_FAILED",
9
+ PENDING_DELETION: "PENDING_DELETION",
10
+ UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
11
+ };
4
12
  export const CurrentMetricName = {
5
13
  AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK",
6
14
  AGENTS_AVAILABLE: "AGENTS_AVAILABLE",
@@ -116,6 +124,73 @@ export const QueueType = {
116
124
  AGENT: "AGENT",
117
125
  STANDARD: "STANDARD",
118
126
  };
127
+ export const RealTimeContactAnalysisOutputType = {
128
+ Raw: "Raw",
129
+ Redacted: "Redacted",
130
+ };
131
+ export const RealTimeContactAnalysisSegmentType = {
132
+ Attachments: "Attachments",
133
+ Categories: "Categories",
134
+ Event: "Event",
135
+ Issues: "Issues",
136
+ Transcript: "Transcript",
137
+ };
138
+ export const RealTimeContactAnalysisSupportedChannel = {
139
+ CHAT: "CHAT",
140
+ VOICE: "VOICE",
141
+ };
142
+ export const ArtifactStatus = {
143
+ APPROVED: "APPROVED",
144
+ IN_PROGRESS: "IN_PROGRESS",
145
+ REJECTED: "REJECTED",
146
+ };
147
+ export var RealTimeContactAnalysisTimeData;
148
+ (function (RealTimeContactAnalysisTimeData) {
149
+ RealTimeContactAnalysisTimeData.visit = (value, visitor) => {
150
+ if (value.AbsoluteTime !== undefined)
151
+ return visitor.AbsoluteTime(value.AbsoluteTime);
152
+ return visitor._(value.$unknown[0], value.$unknown[1]);
153
+ };
154
+ })(RealTimeContactAnalysisTimeData || (RealTimeContactAnalysisTimeData = {}));
155
+ export const RealTimeContactAnalysisSentimentLabel = {
156
+ NEGATIVE: "NEGATIVE",
157
+ NEUTRAL: "NEUTRAL",
158
+ POSITIVE: "POSITIVE",
159
+ };
160
+ export var RealtimeContactAnalysisSegment;
161
+ (function (RealtimeContactAnalysisSegment) {
162
+ RealtimeContactAnalysisSegment.visit = (value, visitor) => {
163
+ if (value.Transcript !== undefined)
164
+ return visitor.Transcript(value.Transcript);
165
+ if (value.Categories !== undefined)
166
+ return visitor.Categories(value.Categories);
167
+ if (value.Issues !== undefined)
168
+ return visitor.Issues(value.Issues);
169
+ if (value.Event !== undefined)
170
+ return visitor.Event(value.Event);
171
+ if (value.Attachments !== undefined)
172
+ return visitor.Attachments(value.Attachments);
173
+ return visitor._(value.$unknown[0], value.$unknown[1]);
174
+ };
175
+ })(RealtimeContactAnalysisSegment || (RealtimeContactAnalysisSegment = {}));
176
+ export const RealTimeContactAnalysisStatus = {
177
+ COMPLETED: "COMPLETED",
178
+ FAILED: "FAILED",
179
+ IN_PROGRESS: "IN_PROGRESS",
180
+ };
181
+ export class OutputTypeNotFoundException extends __BaseException {
182
+ constructor(opts) {
183
+ super({
184
+ name: "OutputTypeNotFoundException",
185
+ $fault: "client",
186
+ ...opts,
187
+ });
188
+ this.name = "OutputTypeNotFoundException";
189
+ this.$fault = "client";
190
+ Object.setPrototypeOf(this, OutputTypeNotFoundException.prototype);
191
+ this.Message = opts.Message;
192
+ }
193
+ }
119
194
  export const StringComparisonType = {
120
195
  CONTAINS: "CONTAINS",
121
196
  EXACT: "EXACT",
@@ -141,54 +216,11 @@ export const HierarchyGroupMatchType = {
141
216
  EXACT: "EXACT",
142
217
  WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
143
218
  };
144
- export const VoiceRecordingTrack = {
145
- ALL: "ALL",
146
- FROM_AGENT: "FROM_AGENT",
147
- TO_AGENT: "TO_AGENT",
148
- };
149
- export class DestinationNotAllowedException extends __BaseException {
150
- constructor(opts) {
151
- super({
152
- name: "DestinationNotAllowedException",
153
- $fault: "client",
154
- ...opts,
155
- });
156
- this.name = "DestinationNotAllowedException";
157
- this.$fault = "client";
158
- Object.setPrototypeOf(this, DestinationNotAllowedException.prototype);
159
- this.Message = opts.Message;
160
- }
161
- }
162
- export class OutboundContactNotPermittedException extends __BaseException {
163
- constructor(opts) {
164
- super({
165
- name: "OutboundContactNotPermittedException",
166
- $fault: "client",
167
- ...opts,
168
- });
169
- this.name = "OutboundContactNotPermittedException";
170
- this.$fault = "client";
171
- Object.setPrototypeOf(this, OutboundContactNotPermittedException.prototype);
172
- this.Message = opts.Message;
173
- }
174
- }
175
- export const TrafficType = {
176
- CAMPAIGN: "CAMPAIGN",
177
- GENERAL: "GENERAL",
219
+ export const ChatEventType = {
220
+ DISCONNECT: "DISCONNECT",
221
+ EVENT: "EVENT",
222
+ MESSAGE: "MESSAGE",
178
223
  };
179
- export class ContactNotFoundException extends __BaseException {
180
- constructor(opts) {
181
- super({
182
- name: "ContactNotFoundException",
183
- $fault: "client",
184
- ...opts,
185
- });
186
- this.name = "ContactNotFoundException";
187
- this.$fault = "client";
188
- Object.setPrototypeOf(this, ContactNotFoundException.prototype);
189
- this.Message = opts.Message;
190
- }
191
- }
192
224
  export const DescribeViewResponseFilterSensitiveLog = (obj) => ({
193
225
  ...obj,
194
226
  ...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
@@ -1,5 +1,58 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
2
3
  import { ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
4
+ export const VoiceRecordingTrack = {
5
+ ALL: "ALL",
6
+ FROM_AGENT: "FROM_AGENT",
7
+ TO_AGENT: "TO_AGENT",
8
+ };
9
+ export class DestinationNotAllowedException extends __BaseException {
10
+ constructor(opts) {
11
+ super({
12
+ name: "DestinationNotAllowedException",
13
+ $fault: "client",
14
+ ...opts,
15
+ });
16
+ this.name = "DestinationNotAllowedException";
17
+ this.$fault = "client";
18
+ Object.setPrototypeOf(this, DestinationNotAllowedException.prototype);
19
+ this.Message = opts.Message;
20
+ }
21
+ }
22
+ export class OutboundContactNotPermittedException extends __BaseException {
23
+ constructor(opts) {
24
+ super({
25
+ name: "OutboundContactNotPermittedException",
26
+ $fault: "client",
27
+ ...opts,
28
+ });
29
+ this.name = "OutboundContactNotPermittedException";
30
+ this.$fault = "client";
31
+ Object.setPrototypeOf(this, OutboundContactNotPermittedException.prototype);
32
+ this.Message = opts.Message;
33
+ }
34
+ }
35
+ export const TrafficType = {
36
+ CAMPAIGN: "CAMPAIGN",
37
+ GENERAL: "GENERAL",
38
+ };
39
+ export const MeetingFeatureStatus = {
40
+ AVAILABLE: "AVAILABLE",
41
+ UNAVAILABLE: "UNAVAILABLE",
42
+ };
43
+ export class ContactNotFoundException extends __BaseException {
44
+ constructor(opts) {
45
+ super({
46
+ name: "ContactNotFoundException",
47
+ $fault: "client",
48
+ ...opts,
49
+ });
50
+ this.name = "ContactNotFoundException";
51
+ this.$fault = "client";
52
+ Object.setPrototypeOf(this, ContactNotFoundException.prototype);
53
+ this.Message = opts.Message;
54
+ }
55
+ }
3
56
  export const TimerEligibleParticipantRoles = {
4
57
  AGENT: "AGENT",
5
58
  CUSTOMER: "CUSTOMER",
@@ -39,6 +92,18 @@ export var EvaluationFormItem;
39
92
  return visitor._(value.$unknown[0], value.$unknown[1]);
40
93
  };
41
94
  })(EvaluationFormItem || (EvaluationFormItem = {}));
95
+ export const AttendeeFilterSensitiveLog = (obj) => ({
96
+ ...obj,
97
+ ...(obj.JoinToken && { JoinToken: SENSITIVE_STRING }),
98
+ });
99
+ export const ConnectionDataFilterSensitiveLog = (obj) => ({
100
+ ...obj,
101
+ ...(obj.Attendee && { Attendee: AttendeeFilterSensitiveLog(obj.Attendee) }),
102
+ });
103
+ export const StartWebRTCContactResponseFilterSensitiveLog = (obj) => ({
104
+ ...obj,
105
+ ...(obj.ConnectionData && { ConnectionData: ConnectionDataFilterSensitiveLog(obj.ConnectionData) }),
106
+ });
42
107
  export const UpdateViewContentRequestFilterSensitiveLog = (obj) => ({
43
108
  ...obj,
44
109
  ...(obj.Content && { Content: ViewInputContentFilterSensitiveLog(obj.Content) }),
@@ -0,0 +1,25 @@
1
+ import { ListFlowAssociationsCommand, } from "../commands/ListFlowAssociationsCommand";
2
+ import { ConnectClient } from "../ConnectClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListFlowAssociationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListFlowAssociations(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["MaxResults"] = config.pageSize;
13
+ if (config.client instanceof ConnectClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected Connect | ConnectClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { ListRealtimeContactAnalysisSegmentsV2Command, } from "../commands/ListRealtimeContactAnalysisSegmentsV2Command";
2
+ import { ConnectClient } from "../ConnectClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListRealtimeContactAnalysisSegmentsV2Command(input), ...args);
5
+ };
6
+ export async function* paginateListRealtimeContactAnalysisSegmentsV2(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["MaxResults"] = config.pageSize;
13
+ if (config.client instanceof ConnectClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected Connect | ConnectClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -13,6 +13,7 @@ export * from "./ListContactReferencesPaginator";
13
13
  export * from "./ListDefaultVocabulariesPaginator";
14
14
  export * from "./ListEvaluationFormVersionsPaginator";
15
15
  export * from "./ListEvaluationFormsPaginator";
16
+ export * from "./ListFlowAssociationsPaginator";
16
17
  export * from "./ListHoursOfOperationsPaginator";
17
18
  export * from "./ListInstanceAttributesPaginator";
18
19
  export * from "./ListInstanceStorageConfigsPaginator";
@@ -26,6 +27,7 @@ export * from "./ListPromptsPaginator";
26
27
  export * from "./ListQueueQuickConnectsPaginator";
27
28
  export * from "./ListQueuesPaginator";
28
29
  export * from "./ListQuickConnectsPaginator";
30
+ export * from "./ListRealtimeContactAnalysisSegmentsV2Paginator";
29
31
  export * from "./ListRoutingProfileQueuesPaginator";
30
32
  export * from "./ListRoutingProfilesPaginator";
31
33
  export * from "./ListRulesPaginator";