@aws-sdk/client-connect 3.913.0 → 3.915.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 +16 -0
- package/dist-cjs/index.js +119 -14
- package/dist-es/Connect.js +4 -0
- package/dist-es/commands/AssociateEmailAddressAliasCommand.js +22 -0
- package/dist-es/commands/DisassociateEmailAddressAliasCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +22 -14
- package/dist-es/protocols/Aws_restJson1.js +57 -0
- package/dist-types/Connect.d.ts +14 -0
- package/dist-types/ConnectClient.d.ts +4 -2
- package/dist-types/commands/AssociateEmailAddressAliasCommand.d.ts +193 -0
- package/dist-types/commands/BatchPutContactCommand.d.ts +16 -1
- package/dist-types/commands/DeleteContactEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContactFlowCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContactFlowVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailAddressCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuthenticationProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContactCommand.d.ts +19 -1
- package/dist-types/commands/DescribeEmailAddressCommand.d.ts +5 -0
- package/dist-types/commands/DisassociateEmailAddressAliasCommand.d.ts +194 -0
- package/dist-types/commands/ImportPhoneNumberCommand.d.ts +1 -1
- package/dist-types/commands/ListAuthenticationProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListEvaluationFormVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListFlowAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListHoursOfOperationOverridesCommand.d.ts +1 -1
- package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +1 -1
- package/dist-types/commands/ListInstanceAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
- package/dist-types/commands/SearchEmailAddressesCommand.d.ts +5 -0
- package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
- package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +15 -0
- package/dist-types/commands/StopContactCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAuthenticationProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +163 -133
- package/dist-types/models/models_1.d.ts +165 -291
- package/dist-types/models/models_2.d.ts +305 -197
- package/dist-types/models/models_3.d.ts +205 -6
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Connect.d.ts +34 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/AssociateEmailAddressAliasCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteContactEvaluationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteContactFlowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteContactFlowVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteEmailAddressCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateEmailAddressAliasCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEvaluationFormVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFlowAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHoursOfOperationOverridesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHoursOfOperationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInstanceAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactEvaluationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -38
- package/dist-types/ts3.4/models/models_1.d.ts +39 -70
- package/dist-types/ts3.4/models/models_2.d.ts +76 -47
- package/dist-types/ts3.4/models/models_3.d.ts +49 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +33 -33
package/README.md
CHANGED
|
@@ -273,6 +273,14 @@ AssociateDefaultVocabulary
|
|
|
273
273
|
|
|
274
274
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/AssociateDefaultVocabularyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/AssociateDefaultVocabularyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/AssociateDefaultVocabularyCommandOutput/)
|
|
275
275
|
|
|
276
|
+
</details>
|
|
277
|
+
<details>
|
|
278
|
+
<summary>
|
|
279
|
+
AssociateEmailAddressAlias
|
|
280
|
+
</summary>
|
|
281
|
+
|
|
282
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/AssociateEmailAddressAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/AssociateEmailAddressAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/AssociateEmailAddressAliasCommandOutput/)
|
|
283
|
+
|
|
276
284
|
</details>
|
|
277
285
|
<details>
|
|
278
286
|
<summary>
|
|
@@ -1105,6 +1113,14 @@ DisassociateBot
|
|
|
1105
1113
|
|
|
1106
1114
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/DisassociateBotCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DisassociateBotCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DisassociateBotCommandOutput/)
|
|
1107
1115
|
|
|
1116
|
+
</details>
|
|
1117
|
+
<details>
|
|
1118
|
+
<summary>
|
|
1119
|
+
DisassociateEmailAddressAlias
|
|
1120
|
+
</summary>
|
|
1121
|
+
|
|
1122
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/DisassociateEmailAddressAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DisassociateEmailAddressAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DisassociateEmailAddressAliasCommandOutput/)
|
|
1123
|
+
|
|
1108
1124
|
</details>
|
|
1109
1125
|
<details>
|
|
1110
1126
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -248,6 +248,10 @@ const ContactInitiationMethod = {
|
|
|
248
248
|
TRANSFER: "TRANSFER",
|
|
249
249
|
WEBRTC_API: "WEBRTC_API",
|
|
250
250
|
};
|
|
251
|
+
const AllowedUserAction = {
|
|
252
|
+
CALL: "CALL",
|
|
253
|
+
DISCARD: "DISCARD",
|
|
254
|
+
};
|
|
251
255
|
const ScreenShareCapability = {
|
|
252
256
|
SEND: "SEND",
|
|
253
257
|
};
|
|
@@ -384,6 +388,20 @@ const VocabularyLanguageCode = {
|
|
|
384
388
|
TL_PH: "tl-PH",
|
|
385
389
|
ZH_CN: "zh-CN",
|
|
386
390
|
};
|
|
391
|
+
class IdempotencyException extends ConnectServiceException {
|
|
392
|
+
name = "IdempotencyException";
|
|
393
|
+
$fault = "client";
|
|
394
|
+
Message;
|
|
395
|
+
constructor(opts) {
|
|
396
|
+
super({
|
|
397
|
+
name: "IdempotencyException",
|
|
398
|
+
$fault: "client",
|
|
399
|
+
...opts,
|
|
400
|
+
});
|
|
401
|
+
Object.setPrototypeOf(this, IdempotencyException.prototype);
|
|
402
|
+
this.Message = opts.Message;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
387
405
|
const FlowAssociationResourceType = {
|
|
388
406
|
ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",
|
|
389
407
|
INBOUND_EMAIL: "INBOUND_EMAIL",
|
|
@@ -449,11 +467,15 @@ const EndpointType = {
|
|
|
449
467
|
TELEPHONE_NUMBER: "TELEPHONE_NUMBER",
|
|
450
468
|
VOIP: "VOIP",
|
|
451
469
|
};
|
|
470
|
+
const OutboundStrategyType = {
|
|
471
|
+
AGENT_FIRST: "AGENT_FIRST",
|
|
472
|
+
};
|
|
452
473
|
const FailureReasonCode = {
|
|
453
474
|
IDEMPOTENCY_EXCEPTION: "IDEMPOTENCY_EXCEPTION",
|
|
454
475
|
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
455
476
|
INVALID_ATTRIBUTE_KEY: "INVALID_ATTRIBUTE_KEY",
|
|
456
477
|
INVALID_CUSTOMER_ENDPOINT: "INVALID_CUSTOMER_ENDPOINT",
|
|
478
|
+
INVALID_OUTBOUND_STRATEGY: "INVALID_OUTBOUND_STRATEGY",
|
|
457
479
|
INVALID_QUEUE: "INVALID_QUEUE",
|
|
458
480
|
INVALID_SYSTEM_ENDPOINT: "INVALID_SYSTEM_ENDPOINT",
|
|
459
481
|
MISSING_CAMPAIGN: "MISSING_CAMPAIGN",
|
|
@@ -461,20 +483,6 @@ const FailureReasonCode = {
|
|
|
461
483
|
MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT: "MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT",
|
|
462
484
|
REQUEST_THROTTLED: "REQUEST_THROTTLED",
|
|
463
485
|
};
|
|
464
|
-
class IdempotencyException extends ConnectServiceException {
|
|
465
|
-
name = "IdempotencyException";
|
|
466
|
-
$fault = "client";
|
|
467
|
-
Message;
|
|
468
|
-
constructor(opts) {
|
|
469
|
-
super({
|
|
470
|
-
name: "IdempotencyException",
|
|
471
|
-
$fault: "client",
|
|
472
|
-
...opts,
|
|
473
|
-
});
|
|
474
|
-
Object.setPrototypeOf(this, IdempotencyException.prototype);
|
|
475
|
-
this.Message = opts.Message;
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
486
|
class DuplicateResourceException extends ConnectServiceException {
|
|
479
487
|
name = "DuplicateResourceException";
|
|
480
488
|
$fault = "client";
|
|
@@ -2088,6 +2096,22 @@ const se_AssociateDefaultVocabularyCommand = async (input, context) => {
|
|
|
2088
2096
|
b.m("PUT").h(headers).b(body);
|
|
2089
2097
|
return b.build();
|
|
2090
2098
|
};
|
|
2099
|
+
const se_AssociateEmailAddressAliasCommand = async (input, context) => {
|
|
2100
|
+
const b = core.requestBuilder(input, context);
|
|
2101
|
+
const headers = {
|
|
2102
|
+
"content-type": "application/json",
|
|
2103
|
+
};
|
|
2104
|
+
b.bp("/email-addresses/{InstanceId}/{EmailAddressId}/associate-alias");
|
|
2105
|
+
b.p("EmailAddressId", () => input.EmailAddressId, "{EmailAddressId}", false);
|
|
2106
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
2107
|
+
let body;
|
|
2108
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
2109
|
+
AliasConfiguration: (_) => smithyClient._json(_),
|
|
2110
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
2111
|
+
}));
|
|
2112
|
+
b.m("POST").h(headers).b(body);
|
|
2113
|
+
return b.build();
|
|
2114
|
+
};
|
|
2091
2115
|
const se_AssociateFlowCommand = async (input, context) => {
|
|
2092
2116
|
const b = core.requestBuilder(input, context);
|
|
2093
2117
|
const headers = {
|
|
@@ -3507,6 +3531,22 @@ const se_DisassociateBotCommand = async (input, context) => {
|
|
|
3507
3531
|
b.m("POST").h(headers).b(body);
|
|
3508
3532
|
return b.build();
|
|
3509
3533
|
};
|
|
3534
|
+
const se_DisassociateEmailAddressAliasCommand = async (input, context) => {
|
|
3535
|
+
const b = core.requestBuilder(input, context);
|
|
3536
|
+
const headers = {
|
|
3537
|
+
"content-type": "application/json",
|
|
3538
|
+
};
|
|
3539
|
+
b.bp("/email-addresses/{InstanceId}/{EmailAddressId}/disassociate-alias");
|
|
3540
|
+
b.p("EmailAddressId", () => input.EmailAddressId, "{EmailAddressId}", false);
|
|
3541
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
3542
|
+
let body;
|
|
3543
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
3544
|
+
AliasConfiguration: (_) => smithyClient._json(_),
|
|
3545
|
+
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
3546
|
+
}));
|
|
3547
|
+
b.m("POST").h(headers).b(body);
|
|
3548
|
+
return b.build();
|
|
3549
|
+
};
|
|
3510
3550
|
const se_DisassociateFlowCommand = async (input, context) => {
|
|
3511
3551
|
const b = core.requestBuilder(input, context);
|
|
3512
3552
|
const headers = {};
|
|
@@ -5179,6 +5219,7 @@ const se_StartOutboundVoiceContactCommand = async (input, context) => {
|
|
|
5179
5219
|
DestinationPhoneNumber: [],
|
|
5180
5220
|
InstanceId: [],
|
|
5181
5221
|
Name: [],
|
|
5222
|
+
OutboundStrategy: (_) => smithyClient._json(_),
|
|
5182
5223
|
QueueId: [],
|
|
5183
5224
|
References: (_) => smithyClient._json(_),
|
|
5184
5225
|
RelatedContactId: [],
|
|
@@ -6309,6 +6350,16 @@ const de_AssociateDefaultVocabularyCommand = async (output, context) => {
|
|
|
6309
6350
|
await smithyClient.collectBody(output.body, context);
|
|
6310
6351
|
return contents;
|
|
6311
6352
|
};
|
|
6353
|
+
const de_AssociateEmailAddressAliasCommand = async (output, context) => {
|
|
6354
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6355
|
+
return de_CommandError(output, context);
|
|
6356
|
+
}
|
|
6357
|
+
const contents = smithyClient.map({
|
|
6358
|
+
$metadata: deserializeMetadata(output),
|
|
6359
|
+
});
|
|
6360
|
+
await smithyClient.collectBody(output.body, context);
|
|
6361
|
+
return contents;
|
|
6362
|
+
};
|
|
6312
6363
|
const de_AssociateFlowCommand = async (output, context) => {
|
|
6313
6364
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6314
6365
|
return de_CommandError(output, context);
|
|
@@ -7329,6 +7380,7 @@ const de_DescribeEmailAddressCommand = async (output, context) => {
|
|
|
7329
7380
|
});
|
|
7330
7381
|
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
7331
7382
|
const doc = smithyClient.take(data, {
|
|
7383
|
+
AliasConfigurations: smithyClient._json,
|
|
7332
7384
|
CreateTimestamp: smithyClient.expectString,
|
|
7333
7385
|
Description: smithyClient.expectString,
|
|
7334
7386
|
DisplayName: smithyClient.expectString,
|
|
@@ -7652,6 +7704,16 @@ const de_DisassociateBotCommand = async (output, context) => {
|
|
|
7652
7704
|
await smithyClient.collectBody(output.body, context);
|
|
7653
7705
|
return contents;
|
|
7654
7706
|
};
|
|
7707
|
+
const de_DisassociateEmailAddressAliasCommand = async (output, context) => {
|
|
7708
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7709
|
+
return de_CommandError(output, context);
|
|
7710
|
+
}
|
|
7711
|
+
const contents = smithyClient.map({
|
|
7712
|
+
$metadata: deserializeMetadata(output),
|
|
7713
|
+
});
|
|
7714
|
+
await smithyClient.collectBody(output.body, context);
|
|
7715
|
+
return contents;
|
|
7716
|
+
};
|
|
7655
7717
|
const de_DisassociateFlowCommand = async (output, context) => {
|
|
7656
7718
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7657
7719
|
return de_CommandError(output, context);
|
|
@@ -10977,6 +11039,7 @@ const de_AgentContactReferenceList = (output, context) => {
|
|
|
10977
11039
|
};
|
|
10978
11040
|
const de_AgentInfo = (output, context) => {
|
|
10979
11041
|
return smithyClient.take(output, {
|
|
11042
|
+
AcceptedByAgentTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
10980
11043
|
AfterContactWorkDuration: smithyClient.expectInt32,
|
|
10981
11044
|
AfterContactWorkEndTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
10982
11045
|
AfterContactWorkStartTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
@@ -10987,6 +11050,7 @@ const de_AgentInfo = (output, context) => {
|
|
|
10987
11050
|
DeviceInfo: smithyClient._json,
|
|
10988
11051
|
HierarchyGroups: smithyClient._json,
|
|
10989
11052
|
Id: smithyClient.expectString,
|
|
11053
|
+
PreviewEndTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
10990
11054
|
StateTransitions: (_) => de_StateTransitions(_),
|
|
10991
11055
|
});
|
|
10992
11056
|
};
|
|
@@ -11177,6 +11241,7 @@ const de_Contact = (output, context) => {
|
|
|
11177
11241
|
LastResumedTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
11178
11242
|
LastUpdateTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
11179
11243
|
Name: smithyClient.expectString,
|
|
11244
|
+
OutboundStrategy: smithyClient._json,
|
|
11180
11245
|
PreviousContactId: smithyClient.expectString,
|
|
11181
11246
|
QualityMetrics: (_) => de_QualityMetrics(_),
|
|
11182
11247
|
QueueInfo: (_) => de_QueueInfo(_),
|
|
@@ -12682,6 +12747,23 @@ class AssociateDefaultVocabularyCommand extends smithyClient.Command
|
|
|
12682
12747
|
.build() {
|
|
12683
12748
|
}
|
|
12684
12749
|
|
|
12750
|
+
class AssociateEmailAddressAliasCommand extends smithyClient.Command
|
|
12751
|
+
.classBuilder()
|
|
12752
|
+
.ep(commonParams)
|
|
12753
|
+
.m(function (Command, cs, config, o) {
|
|
12754
|
+
return [
|
|
12755
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
12756
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
12757
|
+
];
|
|
12758
|
+
})
|
|
12759
|
+
.s("AmazonConnectService", "AssociateEmailAddressAlias", {})
|
|
12760
|
+
.n("ConnectClient", "AssociateEmailAddressAliasCommand")
|
|
12761
|
+
.f(void 0, void 0)
|
|
12762
|
+
.ser(se_AssociateEmailAddressAliasCommand)
|
|
12763
|
+
.de(de_AssociateEmailAddressAliasCommand)
|
|
12764
|
+
.build() {
|
|
12765
|
+
}
|
|
12766
|
+
|
|
12685
12767
|
class AssociateFlowCommand extends smithyClient.Command
|
|
12686
12768
|
.classBuilder()
|
|
12687
12769
|
.ep(commonParams)
|
|
@@ -14450,6 +14532,23 @@ class DisassociateBotCommand extends smithyClient.Command
|
|
|
14450
14532
|
.build() {
|
|
14451
14533
|
}
|
|
14452
14534
|
|
|
14535
|
+
class DisassociateEmailAddressAliasCommand extends smithyClient.Command
|
|
14536
|
+
.classBuilder()
|
|
14537
|
+
.ep(commonParams)
|
|
14538
|
+
.m(function (Command, cs, config, o) {
|
|
14539
|
+
return [
|
|
14540
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14541
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14542
|
+
];
|
|
14543
|
+
})
|
|
14544
|
+
.s("AmazonConnectService", "DisassociateEmailAddressAlias", {})
|
|
14545
|
+
.n("ConnectClient", "DisassociateEmailAddressAliasCommand")
|
|
14546
|
+
.f(void 0, void 0)
|
|
14547
|
+
.ser(se_DisassociateEmailAddressAliasCommand)
|
|
14548
|
+
.de(de_DisassociateEmailAddressAliasCommand)
|
|
14549
|
+
.build() {
|
|
14550
|
+
}
|
|
14551
|
+
|
|
14453
14552
|
class DisassociateFlowCommand extends smithyClient.Command
|
|
14454
14553
|
.classBuilder()
|
|
14455
14554
|
.ep(commonParams)
|
|
@@ -17432,6 +17531,7 @@ const commands = {
|
|
|
17432
17531
|
AssociateBotCommand,
|
|
17433
17532
|
AssociateContactWithUserCommand,
|
|
17434
17533
|
AssociateDefaultVocabularyCommand,
|
|
17534
|
+
AssociateEmailAddressAliasCommand,
|
|
17435
17535
|
AssociateFlowCommand,
|
|
17436
17536
|
AssociateInstanceStorageConfigCommand,
|
|
17437
17537
|
AssociateLambdaFunctionCommand,
|
|
@@ -17536,6 +17636,7 @@ const commands = {
|
|
|
17536
17636
|
DisassociateAnalyticsDataSetCommand,
|
|
17537
17637
|
DisassociateApprovedOriginCommand,
|
|
17538
17638
|
DisassociateBotCommand,
|
|
17639
|
+
DisassociateEmailAddressAliasCommand,
|
|
17539
17640
|
DisassociateFlowCommand,
|
|
17540
17641
|
DisassociateInstanceStorageConfigCommand,
|
|
17541
17642
|
DisassociateLambdaFunctionCommand,
|
|
@@ -17864,6 +17965,7 @@ exports.ActivateEvaluationFormCommand = ActivateEvaluationFormCommand;
|
|
|
17864
17965
|
exports.AgentAvailabilityTimer = AgentAvailabilityTimer;
|
|
17865
17966
|
exports.AgentStatusState = AgentStatusState;
|
|
17866
17967
|
exports.AgentStatusType = AgentStatusType;
|
|
17968
|
+
exports.AllowedUserAction = AllowedUserAction;
|
|
17867
17969
|
exports.AnsweringMachineDetectionStatus = AnsweringMachineDetectionStatus;
|
|
17868
17970
|
exports.ArtifactStatus = ArtifactStatus;
|
|
17869
17971
|
exports.AssociateAnalyticsDataSetCommand = AssociateAnalyticsDataSetCommand;
|
|
@@ -17871,6 +17973,7 @@ exports.AssociateApprovedOriginCommand = AssociateApprovedOriginCommand;
|
|
|
17871
17973
|
exports.AssociateBotCommand = AssociateBotCommand;
|
|
17872
17974
|
exports.AssociateContactWithUserCommand = AssociateContactWithUserCommand;
|
|
17873
17975
|
exports.AssociateDefaultVocabularyCommand = AssociateDefaultVocabularyCommand;
|
|
17976
|
+
exports.AssociateEmailAddressAliasCommand = AssociateEmailAddressAliasCommand;
|
|
17874
17977
|
exports.AssociateFlowCommand = AssociateFlowCommand;
|
|
17875
17978
|
exports.AssociateInstanceStorageConfigCommand = AssociateInstanceStorageConfigCommand;
|
|
17876
17979
|
exports.AssociateLambdaFunctionCommand = AssociateLambdaFunctionCommand;
|
|
@@ -18020,6 +18123,7 @@ exports.DirectoryType = DirectoryType;
|
|
|
18020
18123
|
exports.DisassociateAnalyticsDataSetCommand = DisassociateAnalyticsDataSetCommand;
|
|
18021
18124
|
exports.DisassociateApprovedOriginCommand = DisassociateApprovedOriginCommand;
|
|
18022
18125
|
exports.DisassociateBotCommand = DisassociateBotCommand;
|
|
18126
|
+
exports.DisassociateEmailAddressAliasCommand = DisassociateEmailAddressAliasCommand;
|
|
18023
18127
|
exports.DisassociateFlowCommand = DisassociateFlowCommand;
|
|
18024
18128
|
exports.DisassociateInstanceStorageConfigCommand = DisassociateInstanceStorageConfigCommand;
|
|
18025
18129
|
exports.DisassociateLambdaFunctionCommand = DisassociateLambdaFunctionCommand;
|
|
@@ -18158,6 +18262,7 @@ exports.OutboundContactNotPermittedException = OutboundContactNotPermittedExcept
|
|
|
18158
18262
|
exports.OutboundEmailContentFilterSensitiveLog = OutboundEmailContentFilterSensitiveLog;
|
|
18159
18263
|
exports.OutboundMessageSourceType = OutboundMessageSourceType;
|
|
18160
18264
|
exports.OutboundRawMessageFilterSensitiveLog = OutboundRawMessageFilterSensitiveLog;
|
|
18265
|
+
exports.OutboundStrategyType = OutboundStrategyType;
|
|
18161
18266
|
exports.OutputTypeNotFoundException = OutputTypeNotFoundException;
|
|
18162
18267
|
exports.OverrideDays = OverrideDays;
|
|
18163
18268
|
exports.ParticipantRole = ParticipantRole;
|
package/dist-es/Connect.js
CHANGED
|
@@ -5,6 +5,7 @@ import { AssociateApprovedOriginCommand, } from "./commands/AssociateApprovedOri
|
|
|
5
5
|
import { AssociateBotCommand, } from "./commands/AssociateBotCommand";
|
|
6
6
|
import { AssociateContactWithUserCommand, } from "./commands/AssociateContactWithUserCommand";
|
|
7
7
|
import { AssociateDefaultVocabularyCommand, } from "./commands/AssociateDefaultVocabularyCommand";
|
|
8
|
+
import { AssociateEmailAddressAliasCommand, } from "./commands/AssociateEmailAddressAliasCommand";
|
|
8
9
|
import { AssociateFlowCommand, } from "./commands/AssociateFlowCommand";
|
|
9
10
|
import { AssociateInstanceStorageConfigCommand, } from "./commands/AssociateInstanceStorageConfigCommand";
|
|
10
11
|
import { AssociateLambdaFunctionCommand, } from "./commands/AssociateLambdaFunctionCommand";
|
|
@@ -109,6 +110,7 @@ import { DescribeVocabularyCommand, } from "./commands/DescribeVocabularyCommand
|
|
|
109
110
|
import { DisassociateAnalyticsDataSetCommand, } from "./commands/DisassociateAnalyticsDataSetCommand";
|
|
110
111
|
import { DisassociateApprovedOriginCommand, } from "./commands/DisassociateApprovedOriginCommand";
|
|
111
112
|
import { DisassociateBotCommand, } from "./commands/DisassociateBotCommand";
|
|
113
|
+
import { DisassociateEmailAddressAliasCommand, } from "./commands/DisassociateEmailAddressAliasCommand";
|
|
112
114
|
import { DisassociateFlowCommand, } from "./commands/DisassociateFlowCommand";
|
|
113
115
|
import { DisassociateInstanceStorageConfigCommand, } from "./commands/DisassociateInstanceStorageConfigCommand";
|
|
114
116
|
import { DisassociateLambdaFunctionCommand, } from "./commands/DisassociateLambdaFunctionCommand";
|
|
@@ -292,6 +294,7 @@ const commands = {
|
|
|
292
294
|
AssociateBotCommand,
|
|
293
295
|
AssociateContactWithUserCommand,
|
|
294
296
|
AssociateDefaultVocabularyCommand,
|
|
297
|
+
AssociateEmailAddressAliasCommand,
|
|
295
298
|
AssociateFlowCommand,
|
|
296
299
|
AssociateInstanceStorageConfigCommand,
|
|
297
300
|
AssociateLambdaFunctionCommand,
|
|
@@ -396,6 +399,7 @@ const commands = {
|
|
|
396
399
|
DisassociateAnalyticsDataSetCommand,
|
|
397
400
|
DisassociateApprovedOriginCommand,
|
|
398
401
|
DisassociateBotCommand,
|
|
402
|
+
DisassociateEmailAddressAliasCommand,
|
|
399
403
|
DisassociateFlowCommand,
|
|
400
404
|
DisassociateInstanceStorageConfigCommand,
|
|
401
405
|
DisassociateLambdaFunctionCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
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_AssociateEmailAddressAliasCommand, se_AssociateEmailAddressAliasCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class AssociateEmailAddressAliasCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonConnectService", "AssociateEmailAddressAlias", {})
|
|
17
|
+
.n("ConnectClient", "AssociateEmailAddressAliasCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_AssociateEmailAddressAliasCommand)
|
|
20
|
+
.de(de_AssociateEmailAddressAliasCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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_DisassociateEmailAddressAliasCommand, se_DisassociateEmailAddressAliasCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisassociateEmailAddressAliasCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonConnectService", "DisassociateEmailAddressAlias", {})
|
|
17
|
+
.n("ConnectClient", "DisassociateEmailAddressAliasCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DisassociateEmailAddressAliasCommand)
|
|
20
|
+
.de(de_DisassociateEmailAddressAliasCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./AssociateApprovedOriginCommand";
|
|
|
4
4
|
export * from "./AssociateBotCommand";
|
|
5
5
|
export * from "./AssociateContactWithUserCommand";
|
|
6
6
|
export * from "./AssociateDefaultVocabularyCommand";
|
|
7
|
+
export * from "./AssociateEmailAddressAliasCommand";
|
|
7
8
|
export * from "./AssociateFlowCommand";
|
|
8
9
|
export * from "./AssociateInstanceStorageConfigCommand";
|
|
9
10
|
export * from "./AssociateLambdaFunctionCommand";
|
|
@@ -108,6 +109,7 @@ export * from "./DescribeVocabularyCommand";
|
|
|
108
109
|
export * from "./DisassociateAnalyticsDataSetCommand";
|
|
109
110
|
export * from "./DisassociateApprovedOriginCommand";
|
|
110
111
|
export * from "./DisassociateBotCommand";
|
|
112
|
+
export * from "./DisassociateEmailAddressAliasCommand";
|
|
111
113
|
export * from "./DisassociateFlowCommand";
|
|
112
114
|
export * from "./DisassociateInstanceStorageConfigCommand";
|
|
113
115
|
export * from "./DisassociateLambdaFunctionCommand";
|
|
@@ -130,6 +130,10 @@ export const ContactInitiationMethod = {
|
|
|
130
130
|
TRANSFER: "TRANSFER",
|
|
131
131
|
WEBRTC_API: "WEBRTC_API",
|
|
132
132
|
};
|
|
133
|
+
export const AllowedUserAction = {
|
|
134
|
+
CALL: "CALL",
|
|
135
|
+
DISCARD: "DISCARD",
|
|
136
|
+
};
|
|
133
137
|
export const ScreenShareCapability = {
|
|
134
138
|
SEND: "SEND",
|
|
135
139
|
};
|
|
@@ -266,6 +270,20 @@ export const VocabularyLanguageCode = {
|
|
|
266
270
|
TL_PH: "tl-PH",
|
|
267
271
|
ZH_CN: "zh-CN",
|
|
268
272
|
};
|
|
273
|
+
export class IdempotencyException extends __BaseException {
|
|
274
|
+
name = "IdempotencyException";
|
|
275
|
+
$fault = "client";
|
|
276
|
+
Message;
|
|
277
|
+
constructor(opts) {
|
|
278
|
+
super({
|
|
279
|
+
name: "IdempotencyException",
|
|
280
|
+
$fault: "client",
|
|
281
|
+
...opts,
|
|
282
|
+
});
|
|
283
|
+
Object.setPrototypeOf(this, IdempotencyException.prototype);
|
|
284
|
+
this.Message = opts.Message;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
269
287
|
export const FlowAssociationResourceType = {
|
|
270
288
|
ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",
|
|
271
289
|
INBOUND_EMAIL: "INBOUND_EMAIL",
|
|
@@ -331,11 +349,15 @@ export const EndpointType = {
|
|
|
331
349
|
TELEPHONE_NUMBER: "TELEPHONE_NUMBER",
|
|
332
350
|
VOIP: "VOIP",
|
|
333
351
|
};
|
|
352
|
+
export const OutboundStrategyType = {
|
|
353
|
+
AGENT_FIRST: "AGENT_FIRST",
|
|
354
|
+
};
|
|
334
355
|
export const FailureReasonCode = {
|
|
335
356
|
IDEMPOTENCY_EXCEPTION: "IDEMPOTENCY_EXCEPTION",
|
|
336
357
|
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
337
358
|
INVALID_ATTRIBUTE_KEY: "INVALID_ATTRIBUTE_KEY",
|
|
338
359
|
INVALID_CUSTOMER_ENDPOINT: "INVALID_CUSTOMER_ENDPOINT",
|
|
360
|
+
INVALID_OUTBOUND_STRATEGY: "INVALID_OUTBOUND_STRATEGY",
|
|
339
361
|
INVALID_QUEUE: "INVALID_QUEUE",
|
|
340
362
|
INVALID_SYSTEM_ENDPOINT: "INVALID_SYSTEM_ENDPOINT",
|
|
341
363
|
MISSING_CAMPAIGN: "MISSING_CAMPAIGN",
|
|
@@ -343,20 +365,6 @@ export const FailureReasonCode = {
|
|
|
343
365
|
MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT: "MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT",
|
|
344
366
|
REQUEST_THROTTLED: "REQUEST_THROTTLED",
|
|
345
367
|
};
|
|
346
|
-
export class IdempotencyException extends __BaseException {
|
|
347
|
-
name = "IdempotencyException";
|
|
348
|
-
$fault = "client";
|
|
349
|
-
Message;
|
|
350
|
-
constructor(opts) {
|
|
351
|
-
super({
|
|
352
|
-
name: "IdempotencyException",
|
|
353
|
-
$fault: "client",
|
|
354
|
-
...opts,
|
|
355
|
-
});
|
|
356
|
-
Object.setPrototypeOf(this, IdempotencyException.prototype);
|
|
357
|
-
this.Message = opts.Message;
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
368
|
export class DuplicateResourceException extends __BaseException {
|
|
361
369
|
name = "DuplicateResourceException";
|
|
362
370
|
$fault = "client";
|
|
@@ -98,6 +98,22 @@ export const se_AssociateDefaultVocabularyCommand = async (input, context) => {
|
|
|
98
98
|
b.m("PUT").h(headers).b(body);
|
|
99
99
|
return b.build();
|
|
100
100
|
};
|
|
101
|
+
export const se_AssociateEmailAddressAliasCommand = async (input, context) => {
|
|
102
|
+
const b = rb(input, context);
|
|
103
|
+
const headers = {
|
|
104
|
+
"content-type": "application/json",
|
|
105
|
+
};
|
|
106
|
+
b.bp("/email-addresses/{InstanceId}/{EmailAddressId}/associate-alias");
|
|
107
|
+
b.p("EmailAddressId", () => input.EmailAddressId, "{EmailAddressId}", false);
|
|
108
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
109
|
+
let body;
|
|
110
|
+
body = JSON.stringify(take(input, {
|
|
111
|
+
AliasConfiguration: (_) => _json(_),
|
|
112
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
113
|
+
}));
|
|
114
|
+
b.m("POST").h(headers).b(body);
|
|
115
|
+
return b.build();
|
|
116
|
+
};
|
|
101
117
|
export const se_AssociateFlowCommand = async (input, context) => {
|
|
102
118
|
const b = rb(input, context);
|
|
103
119
|
const headers = {
|
|
@@ -1517,6 +1533,22 @@ export const se_DisassociateBotCommand = async (input, context) => {
|
|
|
1517
1533
|
b.m("POST").h(headers).b(body);
|
|
1518
1534
|
return b.build();
|
|
1519
1535
|
};
|
|
1536
|
+
export const se_DisassociateEmailAddressAliasCommand = async (input, context) => {
|
|
1537
|
+
const b = rb(input, context);
|
|
1538
|
+
const headers = {
|
|
1539
|
+
"content-type": "application/json",
|
|
1540
|
+
};
|
|
1541
|
+
b.bp("/email-addresses/{InstanceId}/{EmailAddressId}/disassociate-alias");
|
|
1542
|
+
b.p("EmailAddressId", () => input.EmailAddressId, "{EmailAddressId}", false);
|
|
1543
|
+
b.p("InstanceId", () => input.InstanceId, "{InstanceId}", false);
|
|
1544
|
+
let body;
|
|
1545
|
+
body = JSON.stringify(take(input, {
|
|
1546
|
+
AliasConfiguration: (_) => _json(_),
|
|
1547
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1548
|
+
}));
|
|
1549
|
+
b.m("POST").h(headers).b(body);
|
|
1550
|
+
return b.build();
|
|
1551
|
+
};
|
|
1520
1552
|
export const se_DisassociateFlowCommand = async (input, context) => {
|
|
1521
1553
|
const b = rb(input, context);
|
|
1522
1554
|
const headers = {};
|
|
@@ -3189,6 +3221,7 @@ export const se_StartOutboundVoiceContactCommand = async (input, context) => {
|
|
|
3189
3221
|
DestinationPhoneNumber: [],
|
|
3190
3222
|
InstanceId: [],
|
|
3191
3223
|
Name: [],
|
|
3224
|
+
OutboundStrategy: (_) => _json(_),
|
|
3192
3225
|
QueueId: [],
|
|
3193
3226
|
References: (_) => _json(_),
|
|
3194
3227
|
RelatedContactId: [],
|
|
@@ -4319,6 +4352,16 @@ export const de_AssociateDefaultVocabularyCommand = async (output, context) => {
|
|
|
4319
4352
|
await collectBody(output.body, context);
|
|
4320
4353
|
return contents;
|
|
4321
4354
|
};
|
|
4355
|
+
export const de_AssociateEmailAddressAliasCommand = async (output, context) => {
|
|
4356
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4357
|
+
return de_CommandError(output, context);
|
|
4358
|
+
}
|
|
4359
|
+
const contents = map({
|
|
4360
|
+
$metadata: deserializeMetadata(output),
|
|
4361
|
+
});
|
|
4362
|
+
await collectBody(output.body, context);
|
|
4363
|
+
return contents;
|
|
4364
|
+
};
|
|
4322
4365
|
export const de_AssociateFlowCommand = async (output, context) => {
|
|
4323
4366
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4324
4367
|
return de_CommandError(output, context);
|
|
@@ -5339,6 +5382,7 @@ export const de_DescribeEmailAddressCommand = async (output, context) => {
|
|
|
5339
5382
|
});
|
|
5340
5383
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5341
5384
|
const doc = take(data, {
|
|
5385
|
+
AliasConfigurations: _json,
|
|
5342
5386
|
CreateTimestamp: __expectString,
|
|
5343
5387
|
Description: __expectString,
|
|
5344
5388
|
DisplayName: __expectString,
|
|
@@ -5662,6 +5706,16 @@ export const de_DisassociateBotCommand = async (output, context) => {
|
|
|
5662
5706
|
await collectBody(output.body, context);
|
|
5663
5707
|
return contents;
|
|
5664
5708
|
};
|
|
5709
|
+
export const de_DisassociateEmailAddressAliasCommand = async (output, context) => {
|
|
5710
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5711
|
+
return de_CommandError(output, context);
|
|
5712
|
+
}
|
|
5713
|
+
const contents = map({
|
|
5714
|
+
$metadata: deserializeMetadata(output),
|
|
5715
|
+
});
|
|
5716
|
+
await collectBody(output.body, context);
|
|
5717
|
+
return contents;
|
|
5718
|
+
};
|
|
5665
5719
|
export const de_DisassociateFlowCommand = async (output, context) => {
|
|
5666
5720
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5667
5721
|
return de_CommandError(output, context);
|
|
@@ -8987,6 +9041,7 @@ const de_AgentContactReferenceList = (output, context) => {
|
|
|
8987
9041
|
};
|
|
8988
9042
|
const de_AgentInfo = (output, context) => {
|
|
8989
9043
|
return take(output, {
|
|
9044
|
+
AcceptedByAgentTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
8990
9045
|
AfterContactWorkDuration: __expectInt32,
|
|
8991
9046
|
AfterContactWorkEndTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
8992
9047
|
AfterContactWorkStartTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -8997,6 +9052,7 @@ const de_AgentInfo = (output, context) => {
|
|
|
8997
9052
|
DeviceInfo: _json,
|
|
8998
9053
|
HierarchyGroups: _json,
|
|
8999
9054
|
Id: __expectString,
|
|
9055
|
+
PreviewEndTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
9000
9056
|
StateTransitions: (_) => de_StateTransitions(_, context),
|
|
9001
9057
|
});
|
|
9002
9058
|
};
|
|
@@ -9187,6 +9243,7 @@ const de_Contact = (output, context) => {
|
|
|
9187
9243
|
LastResumedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
9188
9244
|
LastUpdateTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
9189
9245
|
Name: __expectString,
|
|
9246
|
+
OutboundStrategy: _json,
|
|
9190
9247
|
PreviousContactId: __expectString,
|
|
9191
9248
|
QualityMetrics: (_) => de_QualityMetrics(_, context),
|
|
9192
9249
|
QueueInfo: (_) => de_QueueInfo(_, context),
|
package/dist-types/Connect.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { AssociateApprovedOriginCommandInput, AssociateApprovedOriginCommandOutp
|
|
|
5
5
|
import { AssociateBotCommandInput, AssociateBotCommandOutput } from "./commands/AssociateBotCommand";
|
|
6
6
|
import { AssociateContactWithUserCommandInput, AssociateContactWithUserCommandOutput } from "./commands/AssociateContactWithUserCommand";
|
|
7
7
|
import { AssociateDefaultVocabularyCommandInput, AssociateDefaultVocabularyCommandOutput } from "./commands/AssociateDefaultVocabularyCommand";
|
|
8
|
+
import { AssociateEmailAddressAliasCommandInput, AssociateEmailAddressAliasCommandOutput } from "./commands/AssociateEmailAddressAliasCommand";
|
|
8
9
|
import { AssociateFlowCommandInput, AssociateFlowCommandOutput } from "./commands/AssociateFlowCommand";
|
|
9
10
|
import { AssociateInstanceStorageConfigCommandInput, AssociateInstanceStorageConfigCommandOutput } from "./commands/AssociateInstanceStorageConfigCommand";
|
|
10
11
|
import { AssociateLambdaFunctionCommandInput, AssociateLambdaFunctionCommandOutput } from "./commands/AssociateLambdaFunctionCommand";
|
|
@@ -109,6 +110,7 @@ import { DescribeVocabularyCommandInput, DescribeVocabularyCommandOutput } from
|
|
|
109
110
|
import { DisassociateAnalyticsDataSetCommandInput, DisassociateAnalyticsDataSetCommandOutput } from "./commands/DisassociateAnalyticsDataSetCommand";
|
|
110
111
|
import { DisassociateApprovedOriginCommandInput, DisassociateApprovedOriginCommandOutput } from "./commands/DisassociateApprovedOriginCommand";
|
|
111
112
|
import { DisassociateBotCommandInput, DisassociateBotCommandOutput } from "./commands/DisassociateBotCommand";
|
|
113
|
+
import { DisassociateEmailAddressAliasCommandInput, DisassociateEmailAddressAliasCommandOutput } from "./commands/DisassociateEmailAddressAliasCommand";
|
|
112
114
|
import { DisassociateFlowCommandInput, DisassociateFlowCommandOutput } from "./commands/DisassociateFlowCommand";
|
|
113
115
|
import { DisassociateInstanceStorageConfigCommandInput, DisassociateInstanceStorageConfigCommandOutput } from "./commands/DisassociateInstanceStorageConfigCommand";
|
|
114
116
|
import { DisassociateLambdaFunctionCommandInput, DisassociateLambdaFunctionCommandOutput } from "./commands/DisassociateLambdaFunctionCommand";
|
|
@@ -322,6 +324,12 @@ export interface Connect {
|
|
|
322
324
|
associateDefaultVocabulary(args: AssociateDefaultVocabularyCommandInput, options?: __HttpHandlerOptions): Promise<AssociateDefaultVocabularyCommandOutput>;
|
|
323
325
|
associateDefaultVocabulary(args: AssociateDefaultVocabularyCommandInput, cb: (err: any, data?: AssociateDefaultVocabularyCommandOutput) => void): void;
|
|
324
326
|
associateDefaultVocabulary(args: AssociateDefaultVocabularyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateDefaultVocabularyCommandOutput) => void): void;
|
|
327
|
+
/**
|
|
328
|
+
* @see {@link AssociateEmailAddressAliasCommand}
|
|
329
|
+
*/
|
|
330
|
+
associateEmailAddressAlias(args: AssociateEmailAddressAliasCommandInput, options?: __HttpHandlerOptions): Promise<AssociateEmailAddressAliasCommandOutput>;
|
|
331
|
+
associateEmailAddressAlias(args: AssociateEmailAddressAliasCommandInput, cb: (err: any, data?: AssociateEmailAddressAliasCommandOutput) => void): void;
|
|
332
|
+
associateEmailAddressAlias(args: AssociateEmailAddressAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateEmailAddressAliasCommandOutput) => void): void;
|
|
325
333
|
/**
|
|
326
334
|
* @see {@link AssociateFlowCommand}
|
|
327
335
|
*/
|
|
@@ -946,6 +954,12 @@ export interface Connect {
|
|
|
946
954
|
disassociateBot(args: DisassociateBotCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateBotCommandOutput>;
|
|
947
955
|
disassociateBot(args: DisassociateBotCommandInput, cb: (err: any, data?: DisassociateBotCommandOutput) => void): void;
|
|
948
956
|
disassociateBot(args: DisassociateBotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateBotCommandOutput) => void): void;
|
|
957
|
+
/**
|
|
958
|
+
* @see {@link DisassociateEmailAddressAliasCommand}
|
|
959
|
+
*/
|
|
960
|
+
disassociateEmailAddressAlias(args: DisassociateEmailAddressAliasCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateEmailAddressAliasCommandOutput>;
|
|
961
|
+
disassociateEmailAddressAlias(args: DisassociateEmailAddressAliasCommandInput, cb: (err: any, data?: DisassociateEmailAddressAliasCommandOutput) => void): void;
|
|
962
|
+
disassociateEmailAddressAlias(args: DisassociateEmailAddressAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateEmailAddressAliasCommandOutput) => void): void;
|
|
949
963
|
/**
|
|
950
964
|
* @see {@link DisassociateFlowCommand}
|
|
951
965
|
*/
|