@aws-sdk/client-connect 3.567.0 → 3.569.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 +40 -0
- package/dist-cjs/index.js +391 -81
- package/dist-es/Connect.js +10 -0
- package/dist-es/commands/BatchGetAttachedFileMetadataCommand.js +24 -0
- package/dist-es/commands/CompleteAttachedFileUploadCommand.js +24 -0
- package/dist-es/commands/DeleteAttachedFileCommand.js +24 -0
- package/dist-es/commands/DescribeInstanceCommand.js +1 -1
- package/dist-es/commands/GetAttachedFileCommand.js +24 -0
- package/dist-es/commands/ReplicateInstanceCommand.js +1 -1
- package/dist-es/commands/StartAttachedFileUploadCommand.js +24 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +33 -26
- package/dist-es/models/models_1.js +26 -42
- package/dist-es/models/models_2.js +42 -1
- package/dist-es/protocols/Aws_restJson1.js +163 -0
- package/dist-types/Connect.d.ts +35 -0
- package/dist-types/ConnectClient.d.ts +7 -2
- package/dist-types/commands/BatchGetAttachedFileMetadataCommand.d.ts +105 -0
- package/dist-types/commands/CompleteAttachedFileUploadCommand.d.ts +75 -0
- package/dist-types/commands/DeleteAttachedFileCommand.d.ts +78 -0
- package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
- package/dist-types/commands/GetAttachedFileCommand.d.ts +97 -0
- package/dist-types/commands/ReplicateInstanceCommand.d.ts +2 -1
- package/dist-types/commands/ResumeContactCommand.d.ts +1 -1
- package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -1
- package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -1
- package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +108 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +308 -239
- package/dist-types/models/models_1.d.ts +356 -344
- package/dist-types/models/models_2.d.ts +472 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Connect.d.ts +85 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchGetAttachedFileMetadataCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CompleteAttachedFileUploadCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteAttachedFileCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetAttachedFileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ReplicateInstanceCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ResumeContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchAvailablePhoneNumbersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartAttachedFileUploadCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +109 -74
- package/dist-types/ts3.4/models/models_1.d.ts +101 -99
- package/dist-types/ts3.4/models/models_2.d.ts +127 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +7 -5
package/dist-es/Connect.js
CHANGED
|
@@ -16,9 +16,11 @@ import { AssociateTrafficDistributionGroupUserCommand, } from "./commands/Associ
|
|
|
16
16
|
import { AssociateUserProficienciesCommand, } from "./commands/AssociateUserProficienciesCommand";
|
|
17
17
|
import { BatchAssociateAnalyticsDataSetCommand, } from "./commands/BatchAssociateAnalyticsDataSetCommand";
|
|
18
18
|
import { BatchDisassociateAnalyticsDataSetCommand, } from "./commands/BatchDisassociateAnalyticsDataSetCommand";
|
|
19
|
+
import { BatchGetAttachedFileMetadataCommand, } from "./commands/BatchGetAttachedFileMetadataCommand";
|
|
19
20
|
import { BatchGetFlowAssociationCommand, } from "./commands/BatchGetFlowAssociationCommand";
|
|
20
21
|
import { BatchPutContactCommand, } from "./commands/BatchPutContactCommand";
|
|
21
22
|
import { ClaimPhoneNumberCommand, } from "./commands/ClaimPhoneNumberCommand";
|
|
23
|
+
import { CompleteAttachedFileUploadCommand, } from "./commands/CompleteAttachedFileUploadCommand";
|
|
22
24
|
import { CreateAgentStatusCommand, } from "./commands/CreateAgentStatusCommand";
|
|
23
25
|
import { CreateContactFlowCommand, } from "./commands/CreateContactFlowCommand";
|
|
24
26
|
import { CreateContactFlowModuleCommand, } from "./commands/CreateContactFlowModuleCommand";
|
|
@@ -44,6 +46,7 @@ import { CreateViewCommand } from "./commands/CreateViewCommand";
|
|
|
44
46
|
import { CreateViewVersionCommand, } from "./commands/CreateViewVersionCommand";
|
|
45
47
|
import { CreateVocabularyCommand, } from "./commands/CreateVocabularyCommand";
|
|
46
48
|
import { DeactivateEvaluationFormCommand, } from "./commands/DeactivateEvaluationFormCommand";
|
|
49
|
+
import { DeleteAttachedFileCommand, } from "./commands/DeleteAttachedFileCommand";
|
|
47
50
|
import { DeleteContactEvaluationCommand, } from "./commands/DeleteContactEvaluationCommand";
|
|
48
51
|
import { DeleteContactFlowCommand, } from "./commands/DeleteContactFlowCommand";
|
|
49
52
|
import { DeleteContactFlowModuleCommand, } from "./commands/DeleteContactFlowModuleCommand";
|
|
@@ -104,6 +107,7 @@ import { DisassociateSecurityKeyCommand, } from "./commands/DisassociateSecurity
|
|
|
104
107
|
import { DisassociateTrafficDistributionGroupUserCommand, } from "./commands/DisassociateTrafficDistributionGroupUserCommand";
|
|
105
108
|
import { DisassociateUserProficienciesCommand, } from "./commands/DisassociateUserProficienciesCommand";
|
|
106
109
|
import { DismissUserContactCommand, } from "./commands/DismissUserContactCommand";
|
|
110
|
+
import { GetAttachedFileCommand, } from "./commands/GetAttachedFileCommand";
|
|
107
111
|
import { GetContactAttributesCommand, } from "./commands/GetContactAttributesCommand";
|
|
108
112
|
import { GetCurrentMetricDataCommand, } from "./commands/GetCurrentMetricDataCommand";
|
|
109
113
|
import { GetCurrentUserDataCommand, } from "./commands/GetCurrentUserDataCommand";
|
|
@@ -179,6 +183,7 @@ import { SearchSecurityProfilesCommand, } from "./commands/SearchSecurityProfile
|
|
|
179
183
|
import { SearchUsersCommand } from "./commands/SearchUsersCommand";
|
|
180
184
|
import { SearchVocabulariesCommand, } from "./commands/SearchVocabulariesCommand";
|
|
181
185
|
import { SendChatIntegrationEventCommand, } from "./commands/SendChatIntegrationEventCommand";
|
|
186
|
+
import { StartAttachedFileUploadCommand, } from "./commands/StartAttachedFileUploadCommand";
|
|
182
187
|
import { StartChatContactCommand, } from "./commands/StartChatContactCommand";
|
|
183
188
|
import { StartContactEvaluationCommand, } from "./commands/StartContactEvaluationCommand";
|
|
184
189
|
import { StartContactRecordingCommand, } from "./commands/StartContactRecordingCommand";
|
|
@@ -261,9 +266,11 @@ const commands = {
|
|
|
261
266
|
AssociateUserProficienciesCommand,
|
|
262
267
|
BatchAssociateAnalyticsDataSetCommand,
|
|
263
268
|
BatchDisassociateAnalyticsDataSetCommand,
|
|
269
|
+
BatchGetAttachedFileMetadataCommand,
|
|
264
270
|
BatchGetFlowAssociationCommand,
|
|
265
271
|
BatchPutContactCommand,
|
|
266
272
|
ClaimPhoneNumberCommand,
|
|
273
|
+
CompleteAttachedFileUploadCommand,
|
|
267
274
|
CreateAgentStatusCommand,
|
|
268
275
|
CreateContactFlowCommand,
|
|
269
276
|
CreateContactFlowModuleCommand,
|
|
@@ -289,6 +296,7 @@ const commands = {
|
|
|
289
296
|
CreateViewVersionCommand,
|
|
290
297
|
CreateVocabularyCommand,
|
|
291
298
|
DeactivateEvaluationFormCommand,
|
|
299
|
+
DeleteAttachedFileCommand,
|
|
292
300
|
DeleteContactEvaluationCommand,
|
|
293
301
|
DeleteContactFlowCommand,
|
|
294
302
|
DeleteContactFlowModuleCommand,
|
|
@@ -349,6 +357,7 @@ const commands = {
|
|
|
349
357
|
DisassociateTrafficDistributionGroupUserCommand,
|
|
350
358
|
DisassociateUserProficienciesCommand,
|
|
351
359
|
DismissUserContactCommand,
|
|
360
|
+
GetAttachedFileCommand,
|
|
352
361
|
GetContactAttributesCommand,
|
|
353
362
|
GetCurrentMetricDataCommand,
|
|
354
363
|
GetCurrentUserDataCommand,
|
|
@@ -424,6 +433,7 @@ const commands = {
|
|
|
424
433
|
SearchUsersCommand,
|
|
425
434
|
SearchVocabulariesCommand,
|
|
426
435
|
SendChatIntegrationEventCommand,
|
|
436
|
+
StartAttachedFileUploadCommand,
|
|
427
437
|
StartChatContactCommand,
|
|
428
438
|
StartContactEvaluationCommand,
|
|
429
439
|
StartContactRecordingCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_BatchGetAttachedFileMetadataCommand, se_BatchGetAttachedFileMetadataCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class BatchGetAttachedFileMetadataCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectService", "BatchGetAttachedFileMetadata", {})
|
|
19
|
+
.n("ConnectClient", "BatchGetAttachedFileMetadataCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchGetAttachedFileMetadataCommand)
|
|
22
|
+
.de(de_BatchGetAttachedFileMetadataCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CompleteAttachedFileUploadCommand, se_CompleteAttachedFileUploadCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CompleteAttachedFileUploadCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectService", "CompleteAttachedFileUpload", {})
|
|
19
|
+
.n("ConnectClient", "CompleteAttachedFileUploadCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CompleteAttachedFileUploadCommand)
|
|
22
|
+
.de(de_CompleteAttachedFileUploadCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteAttachedFileCommand, se_DeleteAttachedFileCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteAttachedFileCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectService", "DeleteAttachedFile", {})
|
|
19
|
+
.n("ConnectClient", "DeleteAttachedFileCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteAttachedFileCommand)
|
|
22
|
+
.de(de_DeleteAttachedFileCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { DescribeInstanceResponseFilterSensitiveLog, } from "../models/
|
|
5
|
+
import { DescribeInstanceResponseFilterSensitiveLog, } from "../models/models_1";
|
|
6
6
|
import { de_DescribeInstanceCommand, se_DescribeInstanceCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DescribeInstanceCommand extends $Command
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetAttachedFileCommand, se_GetAttachedFileCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetAttachedFileCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectService", "GetAttachedFile", {})
|
|
19
|
+
.n("ConnectClient", "GetAttachedFileCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetAttachedFileCommand)
|
|
22
|
+
.de(de_GetAttachedFileCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { ReplicateInstanceRequestFilterSensitiveLog
|
|
5
|
+
import { ReplicateInstanceRequestFilterSensitiveLog } from "../models/models_1";
|
|
6
6
|
import { de_ReplicateInstanceCommand, se_ReplicateInstanceCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ReplicateInstanceCommand extends $Command
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartAttachedFileUploadCommand, se_StartAttachedFileUploadCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartAttachedFileUploadCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonConnectService", "StartAttachedFileUpload", {})
|
|
19
|
+
.n("ConnectClient", "StartAttachedFileUploadCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartAttachedFileUploadCommand)
|
|
22
|
+
.de(de_StartAttachedFileUploadCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -15,9 +15,11 @@ export * from "./AssociateTrafficDistributionGroupUserCommand";
|
|
|
15
15
|
export * from "./AssociateUserProficienciesCommand";
|
|
16
16
|
export * from "./BatchAssociateAnalyticsDataSetCommand";
|
|
17
17
|
export * from "./BatchDisassociateAnalyticsDataSetCommand";
|
|
18
|
+
export * from "./BatchGetAttachedFileMetadataCommand";
|
|
18
19
|
export * from "./BatchGetFlowAssociationCommand";
|
|
19
20
|
export * from "./BatchPutContactCommand";
|
|
20
21
|
export * from "./ClaimPhoneNumberCommand";
|
|
22
|
+
export * from "./CompleteAttachedFileUploadCommand";
|
|
21
23
|
export * from "./CreateAgentStatusCommand";
|
|
22
24
|
export * from "./CreateContactFlowCommand";
|
|
23
25
|
export * from "./CreateContactFlowModuleCommand";
|
|
@@ -43,6 +45,7 @@ export * from "./CreateViewCommand";
|
|
|
43
45
|
export * from "./CreateViewVersionCommand";
|
|
44
46
|
export * from "./CreateVocabularyCommand";
|
|
45
47
|
export * from "./DeactivateEvaluationFormCommand";
|
|
48
|
+
export * from "./DeleteAttachedFileCommand";
|
|
46
49
|
export * from "./DeleteContactEvaluationCommand";
|
|
47
50
|
export * from "./DeleteContactFlowCommand";
|
|
48
51
|
export * from "./DeleteContactFlowModuleCommand";
|
|
@@ -103,6 +106,7 @@ export * from "./DisassociateSecurityKeyCommand";
|
|
|
103
106
|
export * from "./DisassociateTrafficDistributionGroupUserCommand";
|
|
104
107
|
export * from "./DisassociateUserProficienciesCommand";
|
|
105
108
|
export * from "./DismissUserContactCommand";
|
|
109
|
+
export * from "./GetAttachedFileCommand";
|
|
106
110
|
export * from "./GetContactAttributesCommand";
|
|
107
111
|
export * from "./GetCurrentMetricDataCommand";
|
|
108
112
|
export * from "./GetCurrentUserDataCommand";
|
|
@@ -178,6 +182,7 @@ export * from "./SearchSecurityProfilesCommand";
|
|
|
178
182
|
export * from "./SearchUsersCommand";
|
|
179
183
|
export * from "./SearchVocabulariesCommand";
|
|
180
184
|
export * from "./SendChatIntegrationEventCommand";
|
|
185
|
+
export * from "./StartAttachedFileUploadCommand";
|
|
181
186
|
export * from "./StartChatContactCommand";
|
|
182
187
|
export * from "./StartContactEvaluationCommand";
|
|
183
188
|
export * from "./StartContactRecordingCommand";
|
|
@@ -135,6 +135,19 @@ export const MonitorCapability = {
|
|
|
135
135
|
BARGE: "BARGE",
|
|
136
136
|
SILENT_MONITOR: "SILENT_MONITOR",
|
|
137
137
|
};
|
|
138
|
+
export const AttachedFileInvalidRequestExceptionReason = {
|
|
139
|
+
INVALID_FILE_NAME: "INVALID_FILE_NAME",
|
|
140
|
+
INVALID_FILE_SIZE: "INVALID_FILE_SIZE",
|
|
141
|
+
INVALID_FILE_TYPE: "INVALID_FILE_TYPE",
|
|
142
|
+
};
|
|
143
|
+
export var InvalidRequestExceptionReason;
|
|
144
|
+
(function (InvalidRequestExceptionReason) {
|
|
145
|
+
InvalidRequestExceptionReason.visit = (value, visitor) => {
|
|
146
|
+
if (value.AttachedFileInvalidRequestExceptionReason !== undefined)
|
|
147
|
+
return visitor.AttachedFileInvalidRequestExceptionReason(value.AttachedFileInvalidRequestExceptionReason);
|
|
148
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
149
|
+
};
|
|
150
|
+
})(InvalidRequestExceptionReason || (InvalidRequestExceptionReason = {}));
|
|
138
151
|
export class InvalidRequestException extends __BaseException {
|
|
139
152
|
constructor(opts) {
|
|
140
153
|
super({
|
|
@@ -146,6 +159,7 @@ export class InvalidRequestException extends __BaseException {
|
|
|
146
159
|
this.$fault = "client";
|
|
147
160
|
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
148
161
|
this.Message = opts.Message;
|
|
162
|
+
this.Reason = opts.Reason;
|
|
149
163
|
}
|
|
150
164
|
}
|
|
151
165
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
@@ -225,6 +239,25 @@ export const StorageType = {
|
|
|
225
239
|
KINESIS_VIDEO_STREAM: "KINESIS_VIDEO_STREAM",
|
|
226
240
|
S3: "S3",
|
|
227
241
|
};
|
|
242
|
+
export var CreatedByInfo;
|
|
243
|
+
(function (CreatedByInfo) {
|
|
244
|
+
CreatedByInfo.visit = (value, visitor) => {
|
|
245
|
+
if (value.ConnectUserArn !== undefined)
|
|
246
|
+
return visitor.ConnectUserArn(value.ConnectUserArn);
|
|
247
|
+
if (value.AWSIdentityArn !== undefined)
|
|
248
|
+
return visitor.AWSIdentityArn(value.AWSIdentityArn);
|
|
249
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
250
|
+
};
|
|
251
|
+
})(CreatedByInfo || (CreatedByInfo = {}));
|
|
252
|
+
export const FileStatusType = {
|
|
253
|
+
APPROVED: "APPROVED",
|
|
254
|
+
FAILED: "FAILED",
|
|
255
|
+
PROCESSING: "PROCESSING",
|
|
256
|
+
REJECTED: "REJECTED",
|
|
257
|
+
};
|
|
258
|
+
export const FileUseCaseType = {
|
|
259
|
+
ATTACHMENT: "ATTACHMENT",
|
|
260
|
+
};
|
|
228
261
|
export const ListFlowAssociationResourceType = {
|
|
229
262
|
VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER",
|
|
230
263
|
};
|
|
@@ -612,24 +645,6 @@ export const EvaluationFormVersionStatus = {
|
|
|
612
645
|
ACTIVE: "ACTIVE",
|
|
613
646
|
DRAFT: "DRAFT",
|
|
614
647
|
};
|
|
615
|
-
export const InstanceStatus = {
|
|
616
|
-
ACTIVE: "ACTIVE",
|
|
617
|
-
CREATION_FAILED: "CREATION_FAILED",
|
|
618
|
-
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
619
|
-
};
|
|
620
|
-
export const InstanceAttributeType = {
|
|
621
|
-
AUTO_RESOLVE_BEST_VOICES: "AUTO_RESOLVE_BEST_VOICES",
|
|
622
|
-
CONTACTFLOW_LOGS: "CONTACTFLOW_LOGS",
|
|
623
|
-
CONTACT_LENS: "CONTACT_LENS",
|
|
624
|
-
EARLY_MEDIA: "EARLY_MEDIA",
|
|
625
|
-
ENHANCED_CHAT_MONITORING: "ENHANCED_CHAT_MONITORING",
|
|
626
|
-
ENHANCED_CONTACT_MONITORING: "ENHANCED_CONTACT_MONITORING",
|
|
627
|
-
HIGH_VOLUME_OUTBOUND: "HIGH_VOLUME_OUTBOUND",
|
|
628
|
-
INBOUND_CALLS: "INBOUND_CALLS",
|
|
629
|
-
MULTI_PARTY_CONFERENCE: "MULTI_PARTY_CONFERENCE",
|
|
630
|
-
OUTBOUND_CALLS: "OUTBOUND_CALLS",
|
|
631
|
-
USE_CUSTOM_TTS_VOICES: "USE_CUSTOM_TTS_VOICES",
|
|
632
|
-
};
|
|
633
648
|
export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
634
649
|
...obj,
|
|
635
650
|
...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
|
|
@@ -682,11 +697,3 @@ export const DescribeContactResponseFilterSensitiveLog = (obj) => ({
|
|
|
682
697
|
...obj,
|
|
683
698
|
...(obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }),
|
|
684
699
|
});
|
|
685
|
-
export const InstanceFilterSensitiveLog = (obj) => ({
|
|
686
|
-
...obj,
|
|
687
|
-
...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
|
|
688
|
-
});
|
|
689
|
-
export const DescribeInstanceResponseFilterSensitiveLog = (obj) => ({
|
|
690
|
-
...obj,
|
|
691
|
-
...(obj.Instance && { Instance: InstanceFilterSensitiveLog(obj.Instance) }),
|
|
692
|
-
});
|
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
3
|
import { UserIdentityInfoFilterSensitiveLog, ViewFilterSensitiveLog, } from "./models_0";
|
|
4
|
+
export const InstanceStatus = {
|
|
5
|
+
ACTIVE: "ACTIVE",
|
|
6
|
+
CREATION_FAILED: "CREATION_FAILED",
|
|
7
|
+
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
8
|
+
};
|
|
9
|
+
export const InstanceAttributeType = {
|
|
10
|
+
AUTO_RESOLVE_BEST_VOICES: "AUTO_RESOLVE_BEST_VOICES",
|
|
11
|
+
CONTACTFLOW_LOGS: "CONTACTFLOW_LOGS",
|
|
12
|
+
CONTACT_LENS: "CONTACT_LENS",
|
|
13
|
+
EARLY_MEDIA: "EARLY_MEDIA",
|
|
14
|
+
ENHANCED_CHAT_MONITORING: "ENHANCED_CHAT_MONITORING",
|
|
15
|
+
ENHANCED_CONTACT_MONITORING: "ENHANCED_CONTACT_MONITORING",
|
|
16
|
+
HIGH_VOLUME_OUTBOUND: "HIGH_VOLUME_OUTBOUND",
|
|
17
|
+
INBOUND_CALLS: "INBOUND_CALLS",
|
|
18
|
+
MULTI_PARTY_CONFERENCE: "MULTI_PARTY_CONFERENCE",
|
|
19
|
+
OUTBOUND_CALLS: "OUTBOUND_CALLS",
|
|
20
|
+
USE_CUSTOM_TTS_VOICES: "USE_CUSTOM_TTS_VOICES",
|
|
21
|
+
};
|
|
4
22
|
export const PhoneNumberCountryCode = {
|
|
5
23
|
AD: "AD",
|
|
6
24
|
AE: "AE",
|
|
@@ -462,18 +480,14 @@ export class ConflictException extends __BaseException {
|
|
|
462
480
|
this.Message = opts.Message;
|
|
463
481
|
}
|
|
464
482
|
}
|
|
465
|
-
export const
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
};
|
|
469
|
-
export const
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
INITIATION_METHOD: "INITIATION_METHOD",
|
|
474
|
-
INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP",
|
|
475
|
-
SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP",
|
|
476
|
-
};
|
|
483
|
+
export const InstanceFilterSensitiveLog = (obj) => ({
|
|
484
|
+
...obj,
|
|
485
|
+
...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
|
|
486
|
+
});
|
|
487
|
+
export const DescribeInstanceResponseFilterSensitiveLog = (obj) => ({
|
|
488
|
+
...obj,
|
|
489
|
+
...(obj.Instance && { Instance: InstanceFilterSensitiveLog(obj.Instance) }),
|
|
490
|
+
});
|
|
477
491
|
export const UserFilterSensitiveLog = (obj) => ({
|
|
478
492
|
...obj,
|
|
479
493
|
...(obj.IdentityInfo && { IdentityInfo: UserIdentityInfoFilterSensitiveLog(obj.IdentityInfo) }),
|
|
@@ -529,33 +543,3 @@ export const ReplicateInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
|
529
543
|
...obj,
|
|
530
544
|
...(obj.ReplicaAlias && { ReplicaAlias: SENSITIVE_STRING }),
|
|
531
545
|
});
|
|
532
|
-
export const TranscriptCriteriaFilterSensitiveLog = (obj) => ({
|
|
533
|
-
...obj,
|
|
534
|
-
...(obj.SearchText && { SearchText: SENSITIVE_STRING }),
|
|
535
|
-
});
|
|
536
|
-
export const TranscriptFilterSensitiveLog = (obj) => ({
|
|
537
|
-
...obj,
|
|
538
|
-
...(obj.Criteria && { Criteria: obj.Criteria.map((item) => TranscriptCriteriaFilterSensitiveLog(item)) }),
|
|
539
|
-
});
|
|
540
|
-
export const ContactAnalysisFilterSensitiveLog = (obj) => ({
|
|
541
|
-
...obj,
|
|
542
|
-
...(obj.Transcript && { Transcript: TranscriptFilterSensitiveLog(obj.Transcript) }),
|
|
543
|
-
});
|
|
544
|
-
export const SearchableContactAttributesCriteriaFilterSensitiveLog = (obj) => ({
|
|
545
|
-
...obj,
|
|
546
|
-
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
547
|
-
...(obj.Values && { Values: SENSITIVE_STRING }),
|
|
548
|
-
});
|
|
549
|
-
export const SearchableContactAttributesFilterSensitiveLog = (obj) => ({
|
|
550
|
-
...obj,
|
|
551
|
-
...(obj.Criteria && {
|
|
552
|
-
Criteria: obj.Criteria.map((item) => SearchableContactAttributesCriteriaFilterSensitiveLog(item)),
|
|
553
|
-
}),
|
|
554
|
-
});
|
|
555
|
-
export const SearchCriteriaFilterSensitiveLog = (obj) => ({
|
|
556
|
-
...obj,
|
|
557
|
-
...(obj.ContactAnalysis && { ContactAnalysis: ContactAnalysisFilterSensitiveLog(obj.ContactAnalysis) }),
|
|
558
|
-
...(obj.SearchableContactAttributes && {
|
|
559
|
-
SearchableContactAttributes: SearchableContactAttributesFilterSensitiveLog(obj.SearchableContactAttributes),
|
|
560
|
-
}),
|
|
561
|
-
});
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
3
|
import { UserIdentityInfoFilterSensitiveLog, ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
|
|
4
|
-
|
|
4
|
+
export const SearchContactsMatchType = {
|
|
5
|
+
MATCH_ALL: "MATCH_ALL",
|
|
6
|
+
MATCH_ANY: "MATCH_ANY",
|
|
7
|
+
};
|
|
8
|
+
export const SortableFieldName = {
|
|
9
|
+
CHANNEL: "CHANNEL",
|
|
10
|
+
CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
|
|
11
|
+
DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
|
|
12
|
+
INITIATION_METHOD: "INITIATION_METHOD",
|
|
13
|
+
INITIATION_TIMESTAMP: "INITIATION_TIMESTAMP",
|
|
14
|
+
SCHEDULED_TIMESTAMP: "SCHEDULED_TIMESTAMP",
|
|
15
|
+
};
|
|
5
16
|
export const SearchContactsTimeRangeType = {
|
|
6
17
|
CONNECTED_TO_AGENT_TIMESTAMP: "CONNECTED_TO_AGENT_TIMESTAMP",
|
|
7
18
|
DISCONNECT_TIMESTAMP: "DISCONNECT_TIMESTAMP",
|
|
@@ -129,6 +140,36 @@ export var EvaluationFormItem;
|
|
|
129
140
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
130
141
|
};
|
|
131
142
|
})(EvaluationFormItem || (EvaluationFormItem = {}));
|
|
143
|
+
export const TranscriptCriteriaFilterSensitiveLog = (obj) => ({
|
|
144
|
+
...obj,
|
|
145
|
+
...(obj.SearchText && { SearchText: SENSITIVE_STRING }),
|
|
146
|
+
});
|
|
147
|
+
export const TranscriptFilterSensitiveLog = (obj) => ({
|
|
148
|
+
...obj,
|
|
149
|
+
...(obj.Criteria && { Criteria: obj.Criteria.map((item) => TranscriptCriteriaFilterSensitiveLog(item)) }),
|
|
150
|
+
});
|
|
151
|
+
export const ContactAnalysisFilterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
...(obj.Transcript && { Transcript: TranscriptFilterSensitiveLog(obj.Transcript) }),
|
|
154
|
+
});
|
|
155
|
+
export const SearchableContactAttributesCriteriaFilterSensitiveLog = (obj) => ({
|
|
156
|
+
...obj,
|
|
157
|
+
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
158
|
+
...(obj.Values && { Values: SENSITIVE_STRING }),
|
|
159
|
+
});
|
|
160
|
+
export const SearchableContactAttributesFilterSensitiveLog = (obj) => ({
|
|
161
|
+
...obj,
|
|
162
|
+
...(obj.Criteria && {
|
|
163
|
+
Criteria: obj.Criteria.map((item) => SearchableContactAttributesCriteriaFilterSensitiveLog(item)),
|
|
164
|
+
}),
|
|
165
|
+
});
|
|
166
|
+
export const SearchCriteriaFilterSensitiveLog = (obj) => ({
|
|
167
|
+
...obj,
|
|
168
|
+
...(obj.ContactAnalysis && { ContactAnalysis: ContactAnalysisFilterSensitiveLog(obj.ContactAnalysis) }),
|
|
169
|
+
...(obj.SearchableContactAttributes && {
|
|
170
|
+
SearchableContactAttributes: SearchableContactAttributesFilterSensitiveLog(obj.SearchableContactAttributes),
|
|
171
|
+
}),
|
|
172
|
+
});
|
|
132
173
|
export const SearchContactsRequestFilterSensitiveLog = (obj) => ({
|
|
133
174
|
...obj,
|
|
134
175
|
...(obj.SearchCriteria && { SearchCriteria: SearchCriteriaFilterSensitiveLog(obj.SearchCriteria) }),
|