@aws-sdk/client-connect 3.473.0 → 3.475.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.
- package/README.md +32 -0
- package/dist-cjs/Connect.js +8 -0
- package/dist-cjs/commands/PauseContactCommand.js +51 -0
- package/dist-cjs/commands/ResumeContactCommand.js +51 -0
- package/dist-cjs/commands/TagContactCommand.js +51 -0
- package/dist-cjs/commands/UntagContactCommand.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +7 -5
- package/dist-cjs/models/models_1.js +19 -6
- package/dist-cjs/models/models_2.js +6 -1
- package/dist-cjs/protocols/Aws_restJson1.js +414 -10
- package/dist-es/Connect.js +8 -0
- package/dist-es/commands/PauseContactCommand.js +47 -0
- package/dist-es/commands/ResumeContactCommand.js +47 -0
- package/dist-es/commands/TagContactCommand.js +47 -0
- package/dist-es/commands/UntagContactCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +6 -4
- package/dist-es/models/models_1.js +17 -5
- package/dist-es/models/models_2.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +400 -4
- package/dist-types/Connect.d.ts +28 -0
- package/dist-types/ConnectClient.d.ts +6 -2
- package/dist-types/commands/BatchAssociateAnalyticsDataSetCommand.d.ts +2 -2
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateRuleCommand.d.ts +30 -2
- package/dist-types/commands/DescribeContactCommand.d.ts +8 -0
- package/dist-types/commands/DescribePromptCommand.d.ts +2 -1
- package/dist-types/commands/DescribeQueueCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleCommand.d.ts +30 -2
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +3 -3
- package/dist-types/commands/PauseContactCommand.d.ts +97 -0
- package/dist-types/commands/ResumeContactCommand.d.ts +94 -0
- package/dist-types/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +9 -0
- package/dist-types/commands/TagContactCommand.d.ts +92 -0
- package/dist-types/commands/UntagContactCommand.d.ts +91 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +29 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +164 -175
- package/dist-types/models/models_1.d.ts +237 -319
- package/dist-types/models/models_2.d.ts +398 -9
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/Connect.d.ts +68 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PauseContactCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SearchUsersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagContactCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagContactCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +34 -37
- package/dist-types/ts3.4/models/models_1.d.ts +56 -65
- package/dist-types/ts3.4/models/models_2.d.ts +84 -5
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +4 -4
package/dist-es/Connect.js
CHANGED
|
@@ -153,9 +153,11 @@ import { ListUsersCommand } from "./commands/ListUsersCommand";
|
|
|
153
153
|
import { ListViewsCommand } from "./commands/ListViewsCommand";
|
|
154
154
|
import { ListViewVersionsCommand, } from "./commands/ListViewVersionsCommand";
|
|
155
155
|
import { MonitorContactCommand, } from "./commands/MonitorContactCommand";
|
|
156
|
+
import { PauseContactCommand, } from "./commands/PauseContactCommand";
|
|
156
157
|
import { PutUserStatusCommand, } from "./commands/PutUserStatusCommand";
|
|
157
158
|
import { ReleasePhoneNumberCommand, } from "./commands/ReleasePhoneNumberCommand";
|
|
158
159
|
import { ReplicateInstanceCommand, } from "./commands/ReplicateInstanceCommand";
|
|
160
|
+
import { ResumeContactCommand, } from "./commands/ResumeContactCommand";
|
|
159
161
|
import { ResumeContactRecordingCommand, } from "./commands/ResumeContactRecordingCommand";
|
|
160
162
|
import { SearchAvailablePhoneNumbersCommand, } from "./commands/SearchAvailablePhoneNumbersCommand";
|
|
161
163
|
import { SearchHoursOfOperationsCommand, } from "./commands/SearchHoursOfOperationsCommand";
|
|
@@ -180,8 +182,10 @@ import { StopContactRecordingCommand, } from "./commands/StopContactRecordingCom
|
|
|
180
182
|
import { StopContactStreamingCommand, } from "./commands/StopContactStreamingCommand";
|
|
181
183
|
import { SubmitContactEvaluationCommand, } from "./commands/SubmitContactEvaluationCommand";
|
|
182
184
|
import { SuspendContactRecordingCommand, } from "./commands/SuspendContactRecordingCommand";
|
|
185
|
+
import { TagContactCommand } from "./commands/TagContactCommand";
|
|
183
186
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
184
187
|
import { TransferContactCommand, } from "./commands/TransferContactCommand";
|
|
188
|
+
import { UntagContactCommand, } from "./commands/UntagContactCommand";
|
|
185
189
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
186
190
|
import { UpdateAgentStatusCommand, } from "./commands/UpdateAgentStatusCommand";
|
|
187
191
|
import { UpdateContactAttributesCommand, } from "./commands/UpdateContactAttributesCommand";
|
|
@@ -382,9 +386,11 @@ const commands = {
|
|
|
382
386
|
ListViewsCommand,
|
|
383
387
|
ListViewVersionsCommand,
|
|
384
388
|
MonitorContactCommand,
|
|
389
|
+
PauseContactCommand,
|
|
385
390
|
PutUserStatusCommand,
|
|
386
391
|
ReleasePhoneNumberCommand,
|
|
387
392
|
ReplicateInstanceCommand,
|
|
393
|
+
ResumeContactCommand,
|
|
388
394
|
ResumeContactRecordingCommand,
|
|
389
395
|
SearchAvailablePhoneNumbersCommand,
|
|
390
396
|
SearchHoursOfOperationsCommand,
|
|
@@ -409,8 +415,10 @@ const commands = {
|
|
|
409
415
|
StopContactStreamingCommand,
|
|
410
416
|
SubmitContactEvaluationCommand,
|
|
411
417
|
SuspendContactRecordingCommand,
|
|
418
|
+
TagContactCommand,
|
|
412
419
|
TagResourceCommand,
|
|
413
420
|
TransferContactCommand,
|
|
421
|
+
UntagContactCommand,
|
|
414
422
|
UntagResourceCommand,
|
|
415
423
|
UpdateAgentStatusCommand,
|
|
416
424
|
UpdateContactCommand,
|
|
@@ -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_PauseContactCommand, se_PauseContactCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PauseContactCommand 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, PauseContactCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "PauseContactCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "PauseContact",
|
|
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_PauseContactCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_PauseContactCommand(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_ResumeContactCommand, se_ResumeContactCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ResumeContactCommand 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, ResumeContactCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "ResumeContactCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "ResumeContact",
|
|
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_ResumeContactCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_ResumeContactCommand(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_TagContactCommand, se_TagContactCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class TagContactCommand 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, TagContactCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "TagContactCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "TagContact",
|
|
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_TagContactCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_TagContactCommand(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_UntagContactCommand, se_UntagContactCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UntagContactCommand 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, UntagContactCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "UntagContactCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonConnectService",
|
|
35
|
+
operation: "UntagContact",
|
|
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_UntagContactCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_UntagContactCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -152,9 +152,11 @@ export * from "./ListUsersCommand";
|
|
|
152
152
|
export * from "./ListViewVersionsCommand";
|
|
153
153
|
export * from "./ListViewsCommand";
|
|
154
154
|
export * from "./MonitorContactCommand";
|
|
155
|
+
export * from "./PauseContactCommand";
|
|
155
156
|
export * from "./PutUserStatusCommand";
|
|
156
157
|
export * from "./ReleasePhoneNumberCommand";
|
|
157
158
|
export * from "./ReplicateInstanceCommand";
|
|
159
|
+
export * from "./ResumeContactCommand";
|
|
158
160
|
export * from "./ResumeContactRecordingCommand";
|
|
159
161
|
export * from "./SearchAvailablePhoneNumbersCommand";
|
|
160
162
|
export * from "./SearchHoursOfOperationsCommand";
|
|
@@ -179,8 +181,10 @@ export * from "./StopContactRecordingCommand";
|
|
|
179
181
|
export * from "./StopContactStreamingCommand";
|
|
180
182
|
export * from "./SubmitContactEvaluationCommand";
|
|
181
183
|
export * from "./SuspendContactRecordingCommand";
|
|
184
|
+
export * from "./TagContactCommand";
|
|
182
185
|
export * from "./TagResourceCommand";
|
|
183
186
|
export * from "./TransferContactCommand";
|
|
187
|
+
export * from "./UntagContactCommand";
|
|
184
188
|
export * from "./UntagResourceCommand";
|
|
185
189
|
export * from "./UpdateAgentStatusCommand";
|
|
186
190
|
export * from "./UpdateContactAttributesCommand";
|
|
@@ -15,9 +15,12 @@ export class AccessDeniedException extends __BaseException {
|
|
|
15
15
|
}
|
|
16
16
|
export const ActionType = {
|
|
17
17
|
ASSIGN_CONTACT_CATEGORY: "ASSIGN_CONTACT_CATEGORY",
|
|
18
|
+
CREATE_CASE: "CREATE_CASE",
|
|
18
19
|
CREATE_TASK: "CREATE_TASK",
|
|
20
|
+
END_ASSOCIATED_TASKS: "END_ASSOCIATED_TASKS",
|
|
19
21
|
GENERATE_EVENTBRIDGE_EVENT: "GENERATE_EVENTBRIDGE_EVENT",
|
|
20
22
|
SEND_NOTIFICATION: "SEND_NOTIFICATION",
|
|
23
|
+
UPDATE_CASE: "UPDATE_CASE",
|
|
21
24
|
};
|
|
22
25
|
export class InternalServiceException extends __BaseException {
|
|
23
26
|
constructor(opts) {
|
|
@@ -385,6 +388,7 @@ export const IntegrationType = {
|
|
|
385
388
|
WISDOM_QUICK_RESPONSES: "WISDOM_QUICK_RESPONSES",
|
|
386
389
|
};
|
|
387
390
|
export const SourceType = {
|
|
391
|
+
CASES: "CASES",
|
|
388
392
|
SALESFORCE: "SALESFORCE",
|
|
389
393
|
ZENDESK: "ZENDESK",
|
|
390
394
|
};
|
|
@@ -426,6 +430,8 @@ export const RulePublishStatus = {
|
|
|
426
430
|
PUBLISHED: "PUBLISHED",
|
|
427
431
|
};
|
|
428
432
|
export const EventSourceName = {
|
|
433
|
+
OnCaseCreate: "OnCaseCreate",
|
|
434
|
+
OnCaseUpdate: "OnCaseUpdate",
|
|
429
435
|
OnContactEvaluationSubmit: "OnContactEvaluationSubmit",
|
|
430
436
|
OnMetricDataUpdate: "OnMetricDataUpdate",
|
|
431
437
|
OnPostCallAnalysisAvailable: "OnPostCallAnalysisAvailable",
|
|
@@ -864,10 +870,6 @@ export const PhoneNumberType = {
|
|
|
864
870
|
TOLL_FREE: "TOLL_FREE",
|
|
865
871
|
UIFN: "UIFN",
|
|
866
872
|
};
|
|
867
|
-
export const QueueStatus = {
|
|
868
|
-
DISABLED: "DISABLED",
|
|
869
|
-
ENABLED: "ENABLED",
|
|
870
|
-
};
|
|
871
873
|
export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
872
874
|
...obj,
|
|
873
875
|
...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
|
|
@@ -1,6 +1,10 @@
|
|
|
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 QueueStatus = {
|
|
5
|
+
DISABLED: "DISABLED",
|
|
6
|
+
ENABLED: "ENABLED",
|
|
7
|
+
};
|
|
4
8
|
export const TrafficDistributionGroupStatus = {
|
|
5
9
|
ACTIVE: "ACTIVE",
|
|
6
10
|
CREATION_FAILED: "CREATION_FAILED",
|
|
@@ -191,6 +195,19 @@ export class OutputTypeNotFoundException extends __BaseException {
|
|
|
191
195
|
this.Message = opts.Message;
|
|
192
196
|
}
|
|
193
197
|
}
|
|
198
|
+
export class ConflictException extends __BaseException {
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "ConflictException",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts,
|
|
204
|
+
});
|
|
205
|
+
this.name = "ConflictException";
|
|
206
|
+
this.$fault = "client";
|
|
207
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
208
|
+
this.Message = opts.Message;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
194
211
|
export const StringComparisonType = {
|
|
195
212
|
CONTAINS: "CONTAINS",
|
|
196
213
|
EXACT: "EXACT",
|
|
@@ -216,11 +233,6 @@ export const HierarchyGroupMatchType = {
|
|
|
216
233
|
EXACT: "EXACT",
|
|
217
234
|
WITH_CHILD_GROUPS: "WITH_CHILD_GROUPS",
|
|
218
235
|
};
|
|
219
|
-
export const ChatEventType = {
|
|
220
|
-
DISCONNECT: "DISCONNECT",
|
|
221
|
-
EVENT: "EVENT",
|
|
222
|
-
MESSAGE: "MESSAGE",
|
|
223
|
-
};
|
|
224
236
|
export const DescribeViewResponseFilterSensitiveLog = (obj) => ({
|
|
225
237
|
...obj,
|
|
226
238
|
...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
|
|
@@ -1,6 +1,11 @@
|
|
|
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
|
+
export const ChatEventType = {
|
|
5
|
+
DISCONNECT: "DISCONNECT",
|
|
6
|
+
EVENT: "EVENT",
|
|
7
|
+
MESSAGE: "MESSAGE",
|
|
8
|
+
};
|
|
4
9
|
export const VoiceRecordingTrack = {
|
|
5
10
|
ALL: "ALL",
|
|
6
11
|
FROM_AGENT: "FROM_AGENT",
|