@aws-sdk/client-connect 3.699.0 → 3.703.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 +1 -1
- package/dist-cjs/index.js +123 -49
- package/dist-es/commands/CreateContactCommand.js +1 -1
- package/dist-es/commands/StartEmailContactCommand.js +1 -1
- package/dist-es/commands/StartTaskContactCommand.js +1 -1
- package/dist-es/commands/UpdateContactCommand.js +1 -1
- package/dist-es/models/models_0.js +6 -5
- package/dist-es/models/models_1.js +5 -0
- package/dist-es/models/models_2.js +13 -27
- package/dist-es/models/models_3.js +23 -0
- package/dist-es/protocols/Aws_restJson1.js +64 -8
- package/dist-types/Connect.d.ts +1 -1
- package/dist-types/ConnectClient.d.ts +1 -1
- package/dist-types/commands/AssociateFlowCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetFlowAssociationCommand.d.ts +2 -2
- package/dist-types/commands/CreateContactCommand.d.ts +13 -2
- package/dist-types/commands/CreateEmailAddressCommand.d.ts +3 -1
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailAddressCommand.d.ts +1 -1
- package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -2
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +2 -1
- package/dist-types/commands/DescribeContactCommand.d.ts +10 -0
- package/dist-types/commands/DescribeContactFlowCommand.d.ts +1 -2
- package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEmailAddressCommand.d.ts +1 -1
- package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateFlowCommand.d.ts +1 -1
- package/dist-types/commands/GetFlowAssociationCommand.d.ts +2 -2
- package/dist-types/commands/ImportPhoneNumberCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociatedContactsCommand.d.ts +2 -1
- package/dist-types/commands/ListFlowAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/ListRealtimeContactAnalysisSegmentsV2Command.d.ts +1 -1
- package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -0
- package/dist-types/commands/SearchContactFlowsCommand.d.ts +1 -3
- package/dist-types/commands/SearchEmailAddressesCommand.d.ts +1 -1
- package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +1 -1
- package/dist-types/commands/SendOutboundEmailCommand.d.ts +6 -1
- package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +3 -1
- package/dist-types/commands/StartChatContactCommand.d.ts +12 -1
- package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -0
- package/dist-types/commands/StartEmailContactCommand.d.ts +14 -2
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +14 -3
- package/dist-types/commands/StartOutboundEmailContactCommand.d.ts +2 -1
- package/dist-types/commands/StartTaskContactCommand.d.ts +12 -1
- package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -0
- package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContactCommand.d.ts +33 -1
- package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEmailAddressMetadataCommand.d.ts +2 -1
- package/dist-types/commands/UpdateQueueOutboundEmailConfigCommand.d.ts +2 -2
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +87 -119
- package/dist-types/models/models_1.d.ts +238 -89
- package/dist-types/models/models_2.d.ts +442 -699
- package/dist-types/models/models_3.d.ts +598 -127
- package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartEmailContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartOutboundChatContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +11 -21
- package/dist-types/ts3.4/models/models_1.d.ts +18 -6
- package/dist-types/ts3.4/models/models_2.d.ts +63 -96
- package/dist-types/ts3.4/models/models_3.d.ts +99 -27
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ touch with the appropriate agents.</p>
|
|
|
28
28
|
are also limits to the number of requests that you can make per second. For more information, see
|
|
29
29
|
<a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html">Amazon Connect Service Quotas</a> in the <i>Amazon Connect Administrator
|
|
30
30
|
Guide</i>.</p>
|
|
31
|
-
<p>You can connect programmatically to an Amazon Web Services service
|
|
31
|
+
<p>You can use an endpoint to connect programmatically to an Amazon Web Services service. For
|
|
32
32
|
a list of Amazon Connect endpoints, see <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect Endpoints</a>.</p>
|
|
33
33
|
|
|
34
34
|
## Installing
|
package/dist-cjs/index.js
CHANGED
|
@@ -73,6 +73,7 @@ __export(src_exports, {
|
|
|
73
73
|
ContactFlowType: () => ContactFlowType,
|
|
74
74
|
ContactInitiationMethod: () => ContactInitiationMethod,
|
|
75
75
|
ContactNotFoundException: () => ContactNotFoundException,
|
|
76
|
+
ContactRecordingType: () => ContactRecordingType,
|
|
76
77
|
ContactState: () => ContactState,
|
|
77
78
|
CreateAgentStatusCommand: () => CreateAgentStatusCommand,
|
|
78
79
|
CreateContactCommand: () => CreateContactCommand,
|
|
@@ -242,6 +243,7 @@ __export(src_exports, {
|
|
|
242
243
|
InvalidParameterException: () => InvalidParameterException,
|
|
243
244
|
InvalidRequestException: () => InvalidRequestException,
|
|
244
245
|
InvalidRequestExceptionReason: () => InvalidRequestExceptionReason,
|
|
246
|
+
IvrRecordingTrack: () => IvrRecordingTrack,
|
|
245
247
|
LexVersion: () => LexVersion,
|
|
246
248
|
LimitExceededException: () => LimitExceededException,
|
|
247
249
|
ListAgentStatusesCommand: () => ListAgentStatusesCommand,
|
|
@@ -1034,9 +1036,11 @@ var VocabularyLanguageCode = {
|
|
|
1034
1036
|
ZH_CN: "zh-CN"
|
|
1035
1037
|
};
|
|
1036
1038
|
var FlowAssociationResourceType = {
|
|
1039
|
+
ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",
|
|
1037
1040
|
INBOUND_EMAIL: "INBOUND_EMAIL",
|
|
1038
1041
|
OUTBOUND_EMAIL: "OUTBOUND_EMAIL",
|
|
1039
|
-
SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER"
|
|
1042
|
+
SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER",
|
|
1043
|
+
WHATSAPP_MESSAGING_PHONE_NUMBER: "WHATSAPP_MESSAGING_PHONE_NUMBER"
|
|
1040
1044
|
};
|
|
1041
1045
|
var InstanceStorageResourceType = {
|
|
1042
1046
|
AGENT_EVENTS: "AGENT_EVENTS",
|
|
@@ -1083,9 +1087,11 @@ var FileUseCaseType = {
|
|
|
1083
1087
|
EMAIL_MESSAGE: "EMAIL_MESSAGE"
|
|
1084
1088
|
};
|
|
1085
1089
|
var ListFlowAssociationResourceType = {
|
|
1090
|
+
ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",
|
|
1086
1091
|
INBOUND_EMAIL: "INBOUND_EMAIL",
|
|
1087
1092
|
OUTBOUND_EMAIL: "OUTBOUND_EMAIL",
|
|
1088
|
-
VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER"
|
|
1093
|
+
VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER",
|
|
1094
|
+
WHATSAPP_MESSAGING_PHONE_NUMBER: "WHATSAPP_MESSAGING_PHONE_NUMBER"
|
|
1089
1095
|
};
|
|
1090
1096
|
var EndpointType = {
|
|
1091
1097
|
CONNECT_PHONENUMBER_ARN: "CONNECT_PHONENUMBER_ARN",
|
|
@@ -1304,7 +1310,9 @@ var DirectoryType = {
|
|
|
1304
1310
|
SAML: "SAML"
|
|
1305
1311
|
};
|
|
1306
1312
|
var IntegrationType = {
|
|
1313
|
+
ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",
|
|
1307
1314
|
APPLICATION: "APPLICATION",
|
|
1315
|
+
CALL_TRANSFER_CONNECTOR: "CALL_TRANSFER_CONNECTOR",
|
|
1308
1316
|
CASES_DOMAIN: "CASES_DOMAIN",
|
|
1309
1317
|
EVENT: "EVENT",
|
|
1310
1318
|
FILE_SCANNER: "FILE_SCANNER",
|
|
@@ -1507,11 +1515,6 @@ var VocabularyState = {
|
|
|
1507
1515
|
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
1508
1516
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS"
|
|
1509
1517
|
};
|
|
1510
|
-
var CreateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1511
|
-
...obj,
|
|
1512
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
1513
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
1514
|
-
}), "CreateContactRequestFilterSensitiveLog");
|
|
1515
1518
|
var CreateEmailAddressRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1516
1519
|
...obj,
|
|
1517
1520
|
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -2086,6 +2089,11 @@ var RealTimeContactAnalysisPostContactSummaryStatus = {
|
|
|
2086
2089
|
COMPLETED: "COMPLETED",
|
|
2087
2090
|
FAILED: "FAILED"
|
|
2088
2091
|
};
|
|
2092
|
+
var RealTimeContactAnalysisSentimentLabel = {
|
|
2093
|
+
NEGATIVE: "NEGATIVE",
|
|
2094
|
+
NEUTRAL: "NEUTRAL",
|
|
2095
|
+
POSITIVE: "POSITIVE"
|
|
2096
|
+
};
|
|
2089
2097
|
var DescribeEmailAddressResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2090
2098
|
...obj,
|
|
2091
2099
|
...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -2134,11 +2142,6 @@ var ListInstancesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
2134
2142
|
|
|
2135
2143
|
// src/models/models_2.ts
|
|
2136
2144
|
|
|
2137
|
-
var RealTimeContactAnalysisSentimentLabel = {
|
|
2138
|
-
NEGATIVE: "NEGATIVE",
|
|
2139
|
-
NEUTRAL: "NEUTRAL",
|
|
2140
|
-
POSITIVE: "POSITIVE"
|
|
2141
|
-
};
|
|
2142
2145
|
var RealtimeContactAnalysisSegment;
|
|
2143
2146
|
((RealtimeContactAnalysisSegment3) => {
|
|
2144
2147
|
RealtimeContactAnalysisSegment3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -2180,6 +2183,11 @@ var _OutputTypeNotFoundException = class _OutputTypeNotFoundException extends Co
|
|
|
2180
2183
|
};
|
|
2181
2184
|
__name(_OutputTypeNotFoundException, "OutputTypeNotFoundException");
|
|
2182
2185
|
var OutputTypeNotFoundException = _OutputTypeNotFoundException;
|
|
2186
|
+
var ContactRecordingType = {
|
|
2187
|
+
AGENT: "AGENT",
|
|
2188
|
+
IVR: "IVR",
|
|
2189
|
+
SCREEN: "SCREEN"
|
|
2190
|
+
};
|
|
2183
2191
|
var SearchContactsMatchType = {
|
|
2184
2192
|
MATCH_ALL: "MATCH_ALL",
|
|
2185
2193
|
MATCH_ANY: "MATCH_ANY"
|
|
@@ -2248,6 +2256,9 @@ var TrafficType = {
|
|
|
2248
2256
|
CAMPAIGN: "CAMPAIGN",
|
|
2249
2257
|
GENERAL: "GENERAL"
|
|
2250
2258
|
};
|
|
2259
|
+
var IvrRecordingTrack = {
|
|
2260
|
+
ALL: "ALL"
|
|
2261
|
+
};
|
|
2251
2262
|
var VoiceRecordingTrack = {
|
|
2252
2263
|
ALL: "ALL",
|
|
2253
2264
|
FROM_AGENT: "FROM_AGENT",
|
|
@@ -2369,8 +2380,8 @@ var _ConditionalOperationFailedException = class _ConditionalOperationFailedExce
|
|
|
2369
2380
|
__name(_ConditionalOperationFailedException, "ConditionalOperationFailedException");
|
|
2370
2381
|
var ConditionalOperationFailedException = _ConditionalOperationFailedException;
|
|
2371
2382
|
var EvaluationFormItem;
|
|
2372
|
-
((
|
|
2373
|
-
|
|
2383
|
+
((EvaluationFormItem3) => {
|
|
2384
|
+
EvaluationFormItem3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
2374
2385
|
if (value.Section !== void 0)
|
|
2375
2386
|
return visitor.Section(value.Section);
|
|
2376
2387
|
if (value.Question !== void 0)
|
|
@@ -2520,18 +2531,6 @@ var InboundEmailContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
2520
2531
|
...obj,
|
|
2521
2532
|
...obj.RawMessage && { RawMessage: InboundRawMessageFilterSensitiveLog(obj.RawMessage) }
|
|
2522
2533
|
}), "InboundEmailContentFilterSensitiveLog");
|
|
2523
|
-
var StartEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2524
|
-
...obj,
|
|
2525
|
-
...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },
|
|
2526
|
-
...obj.DestinationEmailAddress && { DestinationEmailAddress: import_smithy_client.SENSITIVE_STRING },
|
|
2527
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
2528
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2529
|
-
...obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) },
|
|
2530
|
-
...obj.AdditionalRecipients && {
|
|
2531
|
-
AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)
|
|
2532
|
-
},
|
|
2533
|
-
...obj.Attachments && { Attachments: import_smithy_client.SENSITIVE_STRING }
|
|
2534
|
-
}), "StartEmailContactRequestFilterSensitiveLog");
|
|
2535
2534
|
var StartOutboundEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2536
2535
|
...obj,
|
|
2537
2536
|
...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },
|
|
@@ -2548,11 +2547,6 @@ var StartOutboundVoiceContactRequestFilterSensitiveLog = /* @__PURE__ */ __name(
|
|
|
2548
2547
|
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2549
2548
|
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
2550
2549
|
}), "StartOutboundVoiceContactRequestFilterSensitiveLog");
|
|
2551
|
-
var StartTaskContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2552
|
-
...obj,
|
|
2553
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2554
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
2555
|
-
}), "StartTaskContactRequestFilterSensitiveLog");
|
|
2556
2550
|
var StartWebRTCContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2557
2551
|
...obj,
|
|
2558
2552
|
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -2569,11 +2563,6 @@ var StartWebRTCContactResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj)
|
|
|
2569
2563
|
...obj,
|
|
2570
2564
|
...obj.ConnectionData && { ConnectionData: ConnectionDataFilterSensitiveLog(obj.ConnectionData) }
|
|
2571
2565
|
}), "StartWebRTCContactResponseFilterSensitiveLog");
|
|
2572
|
-
var UpdateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2573
|
-
...obj,
|
|
2574
|
-
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2575
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
2576
|
-
}), "UpdateContactRequestFilterSensitiveLog");
|
|
2577
2566
|
var UpdateEmailAddressMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2578
2567
|
...obj,
|
|
2579
2568
|
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -2595,6 +2584,11 @@ var UpdateViewMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
2595
2584
|
...obj,
|
|
2596
2585
|
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
|
|
2597
2586
|
}), "UpdateViewMetadataRequestFilterSensitiveLog");
|
|
2587
|
+
var CreateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2588
|
+
...obj,
|
|
2589
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
2590
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
2591
|
+
}), "CreateContactRequestFilterSensitiveLog");
|
|
2598
2592
|
|
|
2599
2593
|
// src/protocols/Aws_restJson1.ts
|
|
2600
2594
|
var se_ActivateEvaluationFormCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -3009,7 +3003,7 @@ var se_CreateContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
3009
3003
|
Name: [],
|
|
3010
3004
|
References: (_) => (0, import_smithy_client._json)(_),
|
|
3011
3005
|
RelatedContactId: [],
|
|
3012
|
-
SegmentAttributes: (_) => (
|
|
3006
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
3013
3007
|
UserInfo: (_) => (0, import_smithy_client._json)(_)
|
|
3014
3008
|
})
|
|
3015
3009
|
);
|
|
@@ -5190,6 +5184,7 @@ var se_ResumeContactRecordingCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
5190
5184
|
body = JSON.stringify(
|
|
5191
5185
|
(0, import_smithy_client.take)(input, {
|
|
5192
5186
|
ContactId: [],
|
|
5187
|
+
ContactRecordingType: [],
|
|
5193
5188
|
InitialContactId: [],
|
|
5194
5189
|
InstanceId: []
|
|
5195
5190
|
})
|
|
@@ -5607,7 +5602,7 @@ var se_StartChatContactCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
5607
5602
|
ParticipantDetails: (_) => (0, import_smithy_client._json)(_),
|
|
5608
5603
|
PersistentChat: (_) => (0, import_smithy_client._json)(_),
|
|
5609
5604
|
RelatedContactId: [],
|
|
5610
|
-
SegmentAttributes: (_) => (
|
|
5605
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
5611
5606
|
SupportedMessagingContentTypes: (_) => (0, import_smithy_client._json)(_)
|
|
5612
5607
|
})
|
|
5613
5608
|
);
|
|
@@ -5690,7 +5685,7 @@ var se_StartEmailContactCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
5690
5685
|
Name: [],
|
|
5691
5686
|
References: (_) => (0, import_smithy_client._json)(_),
|
|
5692
5687
|
RelatedContactId: [],
|
|
5693
|
-
SegmentAttributes: (_) => (
|
|
5688
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context)
|
|
5694
5689
|
})
|
|
5695
5690
|
);
|
|
5696
5691
|
b.m("PUT").h(headers).b(body);
|
|
@@ -5714,7 +5709,7 @@ var se_StartOutboundChatContactCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
5714
5709
|
InstanceId: [],
|
|
5715
5710
|
ParticipantDetails: (_) => (0, import_smithy_client._json)(_),
|
|
5716
5711
|
RelatedContactId: [],
|
|
5717
|
-
SegmentAttributes: (_) => (
|
|
5712
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
5718
5713
|
SourceEndpoint: (_) => (0, import_smithy_client._json)(_),
|
|
5719
5714
|
SupportedMessagingContentTypes: (_) => (0, import_smithy_client._json)(_)
|
|
5720
5715
|
})
|
|
@@ -5808,7 +5803,7 @@ var se_StartTaskContactCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
5808
5803
|
References: (_) => (0, import_smithy_client._json)(_),
|
|
5809
5804
|
RelatedContactId: [],
|
|
5810
5805
|
ScheduledTime: (_) => _.getTime() / 1e3,
|
|
5811
|
-
SegmentAttributes: (_) => (
|
|
5806
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
5812
5807
|
TaskTemplateId: []
|
|
5813
5808
|
})
|
|
5814
5809
|
);
|
|
@@ -5865,6 +5860,7 @@ var se_StopContactRecordingCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
5865
5860
|
body = JSON.stringify(
|
|
5866
5861
|
(0, import_smithy_client.take)(input, {
|
|
5867
5862
|
ContactId: [],
|
|
5863
|
+
ContactRecordingType: [],
|
|
5868
5864
|
InitialContactId: [],
|
|
5869
5865
|
InstanceId: []
|
|
5870
5866
|
})
|
|
@@ -5917,6 +5913,7 @@ var se_SuspendContactRecordingCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
5917
5913
|
body = JSON.stringify(
|
|
5918
5914
|
(0, import_smithy_client.take)(input, {
|
|
5919
5915
|
ContactId: [],
|
|
5916
|
+
ContactRecordingType: [],
|
|
5920
5917
|
InitialContactId: [],
|
|
5921
5918
|
InstanceId: []
|
|
5922
5919
|
})
|
|
@@ -6055,10 +6052,14 @@ var se_UpdateContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
6055
6052
|
let body;
|
|
6056
6053
|
body = JSON.stringify(
|
|
6057
6054
|
(0, import_smithy_client.take)(input, {
|
|
6055
|
+
CustomerEndpoint: (_) => (0, import_smithy_client._json)(_),
|
|
6058
6056
|
Description: [],
|
|
6059
6057
|
Name: [],
|
|
6058
|
+
QueueInfo: (_) => (0, import_smithy_client._json)(_),
|
|
6060
6059
|
References: (_) => (0, import_smithy_client._json)(_),
|
|
6061
|
-
SegmentAttributes: (_) => (
|
|
6060
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
6061
|
+
SystemEndpoint: (_) => (0, import_smithy_client._json)(_),
|
|
6062
|
+
UserInfo: (_) => (0, import_smithy_client._json)(_)
|
|
6062
6063
|
})
|
|
6063
6064
|
);
|
|
6064
6065
|
b.m("POST").h(headers).b(body);
|
|
@@ -11194,6 +11195,31 @@ var se_SecurityProfileSearchCriteria = /* @__PURE__ */ __name((input, context) =
|
|
|
11194
11195
|
StringCondition: import_smithy_client._json
|
|
11195
11196
|
});
|
|
11196
11197
|
}, "se_SecurityProfileSearchCriteria");
|
|
11198
|
+
var se_SegmentAttributes = /* @__PURE__ */ __name((input, context) => {
|
|
11199
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
11200
|
+
if (value === null) {
|
|
11201
|
+
return acc;
|
|
11202
|
+
}
|
|
11203
|
+
acc[key] = se_SegmentAttributeValue(value, context);
|
|
11204
|
+
return acc;
|
|
11205
|
+
}, {});
|
|
11206
|
+
}, "se_SegmentAttributes");
|
|
11207
|
+
var se_SegmentAttributeValue = /* @__PURE__ */ __name((input, context) => {
|
|
11208
|
+
return (0, import_smithy_client.take)(input, {
|
|
11209
|
+
ValueInteger: [],
|
|
11210
|
+
ValueMap: (_) => se_SegmentAttributeValueMap(_, context),
|
|
11211
|
+
ValueString: []
|
|
11212
|
+
});
|
|
11213
|
+
}, "se_SegmentAttributeValue");
|
|
11214
|
+
var se_SegmentAttributeValueMap = /* @__PURE__ */ __name((input, context) => {
|
|
11215
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
11216
|
+
if (value === null) {
|
|
11217
|
+
return acc;
|
|
11218
|
+
}
|
|
11219
|
+
acc[key] = se_SegmentAttributeValue(value, context);
|
|
11220
|
+
return acc;
|
|
11221
|
+
}, {});
|
|
11222
|
+
}, "se_SegmentAttributeValueMap");
|
|
11197
11223
|
var se_Threshold = /* @__PURE__ */ __name((input, context) => {
|
|
11198
11224
|
return (0, import_smithy_client.take)(input, {
|
|
11199
11225
|
Comparison: [],
|
|
@@ -11427,7 +11453,7 @@ var de_Contact = /* @__PURE__ */ __name((output, context) => {
|
|
|
11427
11453
|
RelatedContactId: import_smithy_client.expectString,
|
|
11428
11454
|
RoutingCriteria: (_) => de_RoutingCriteria(_, context),
|
|
11429
11455
|
ScheduledTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
11430
|
-
SegmentAttributes:
|
|
11456
|
+
SegmentAttributes: (_) => de_SegmentAttributes(_, context),
|
|
11431
11457
|
SystemEndpoint: import_smithy_client._json,
|
|
11432
11458
|
Tags: import_smithy_client._json,
|
|
11433
11459
|
TotalPauseCount: import_smithy_client.expectInt32,
|
|
@@ -11442,7 +11468,6 @@ var de_ContactFlow = /* @__PURE__ */ __name((output, context) => {
|
|
|
11442
11468
|
Description: import_smithy_client.expectString,
|
|
11443
11469
|
FlowContentSha256: import_smithy_client.expectString,
|
|
11444
11470
|
Id: import_smithy_client.expectString,
|
|
11445
|
-
IsDefault: import_smithy_client.expectBoolean,
|
|
11446
11471
|
LastModifiedRegion: import_smithy_client.expectString,
|
|
11447
11472
|
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
11448
11473
|
Name: import_smithy_client.expectString,
|
|
@@ -12335,6 +12360,31 @@ var de_SecurityProfileSummaryList = /* @__PURE__ */ __name((output, context) =>
|
|
|
12335
12360
|
});
|
|
12336
12361
|
return retVal;
|
|
12337
12362
|
}, "de_SecurityProfileSummaryList");
|
|
12363
|
+
var de_SegmentAttributes = /* @__PURE__ */ __name((output, context) => {
|
|
12364
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
12365
|
+
if (value === null) {
|
|
12366
|
+
return acc;
|
|
12367
|
+
}
|
|
12368
|
+
acc[key] = de_SegmentAttributeValue(value, context);
|
|
12369
|
+
return acc;
|
|
12370
|
+
}, {});
|
|
12371
|
+
}, "de_SegmentAttributes");
|
|
12372
|
+
var de_SegmentAttributeValue = /* @__PURE__ */ __name((output, context) => {
|
|
12373
|
+
return (0, import_smithy_client.take)(output, {
|
|
12374
|
+
ValueInteger: import_smithy_client.expectInt32,
|
|
12375
|
+
ValueMap: (_) => de_SegmentAttributeValueMap(_, context),
|
|
12376
|
+
ValueString: import_smithy_client.expectString
|
|
12377
|
+
});
|
|
12378
|
+
}, "de_SegmentAttributeValue");
|
|
12379
|
+
var de_SegmentAttributeValueMap = /* @__PURE__ */ __name((output, context) => {
|
|
12380
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
12381
|
+
if (value === null) {
|
|
12382
|
+
return acc;
|
|
12383
|
+
}
|
|
12384
|
+
acc[key] = de_SegmentAttributeValue(value, context);
|
|
12385
|
+
return acc;
|
|
12386
|
+
}, {});
|
|
12387
|
+
}, "de_SegmentAttributeValueMap");
|
|
12338
12388
|
var de_Step = /* @__PURE__ */ __name((output, context) => {
|
|
12339
12389
|
return (0, import_smithy_client.take)(output, {
|
|
12340
12390
|
Expiry: (_) => de_Expiry(_, context),
|
|
@@ -13641,6 +13691,28 @@ var DescribeAuthenticationProfileCommand = _DescribeAuthenticationProfileCommand
|
|
|
13641
13691
|
|
|
13642
13692
|
// src/models/models_3.ts
|
|
13643
13693
|
|
|
13694
|
+
var StartEmailContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13695
|
+
...obj,
|
|
13696
|
+
...obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) },
|
|
13697
|
+
...obj.DestinationEmailAddress && { DestinationEmailAddress: import_smithy_client.SENSITIVE_STRING },
|
|
13698
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
13699
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13700
|
+
...obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) },
|
|
13701
|
+
...obj.AdditionalRecipients && {
|
|
13702
|
+
AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients)
|
|
13703
|
+
},
|
|
13704
|
+
...obj.Attachments && { Attachments: import_smithy_client.SENSITIVE_STRING }
|
|
13705
|
+
}), "StartEmailContactRequestFilterSensitiveLog");
|
|
13706
|
+
var StartTaskContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13707
|
+
...obj,
|
|
13708
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13709
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13710
|
+
}), "StartTaskContactRequestFilterSensitiveLog");
|
|
13711
|
+
var UpdateContactRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13712
|
+
...obj,
|
|
13713
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
13714
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
13715
|
+
}), "UpdateContactRequestFilterSensitiveLog");
|
|
13644
13716
|
var ContactFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
13645
13717
|
...obj,
|
|
13646
13718
|
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -17320,7 +17392,6 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17320
17392
|
ResourceInUseException,
|
|
17321
17393
|
TooManyRequestsException,
|
|
17322
17394
|
VocabularyState,
|
|
17323
|
-
CreateContactRequestFilterSensitiveLog,
|
|
17324
17395
|
CreateEmailAddressRequestFilterSensitiveLog,
|
|
17325
17396
|
CreateInstanceRequestFilterSensitiveLog,
|
|
17326
17397
|
UserIdentityInfoFilterSensitiveLog,
|
|
@@ -17367,6 +17438,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17367
17438
|
RealTimeContactAnalysisTimeData,
|
|
17368
17439
|
RealTimeContactAnalysisPostContactSummaryFailureCode,
|
|
17369
17440
|
RealTimeContactAnalysisPostContactSummaryStatus,
|
|
17441
|
+
RealTimeContactAnalysisSentimentLabel,
|
|
17370
17442
|
DescribeEmailAddressResponseFilterSensitiveLog,
|
|
17371
17443
|
InstanceFilterSensitiveLog,
|
|
17372
17444
|
DescribeInstanceResponseFilterSensitiveLog,
|
|
@@ -17377,10 +17449,10 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17377
17449
|
GetFederationTokenResponseFilterSensitiveLog,
|
|
17378
17450
|
InstanceSummaryFilterSensitiveLog,
|
|
17379
17451
|
ListInstancesResponseFilterSensitiveLog,
|
|
17380
|
-
RealTimeContactAnalysisSentimentLabel,
|
|
17381
17452
|
RealtimeContactAnalysisSegment,
|
|
17382
17453
|
RealTimeContactAnalysisStatus,
|
|
17383
17454
|
OutputTypeNotFoundException,
|
|
17455
|
+
ContactRecordingType,
|
|
17384
17456
|
SearchContactsMatchType,
|
|
17385
17457
|
SortableFieldName,
|
|
17386
17458
|
SearchContactsTimeRangeType,
|
|
@@ -17392,6 +17464,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17392
17464
|
ChatEventType,
|
|
17393
17465
|
OutboundMessageSourceType,
|
|
17394
17466
|
TrafficType,
|
|
17467
|
+
IvrRecordingTrack,
|
|
17395
17468
|
VoiceRecordingTrack,
|
|
17396
17469
|
InboundMessageSourceType,
|
|
17397
17470
|
EmailHeaderType,
|
|
@@ -17433,20 +17506,21 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17433
17506
|
InboundAdditionalRecipientsFilterSensitiveLog,
|
|
17434
17507
|
InboundRawMessageFilterSensitiveLog,
|
|
17435
17508
|
InboundEmailContentFilterSensitiveLog,
|
|
17436
|
-
StartEmailContactRequestFilterSensitiveLog,
|
|
17437
17509
|
StartOutboundEmailContactRequestFilterSensitiveLog,
|
|
17438
17510
|
StartOutboundVoiceContactRequestFilterSensitiveLog,
|
|
17439
|
-
StartTaskContactRequestFilterSensitiveLog,
|
|
17440
17511
|
StartWebRTCContactRequestFilterSensitiveLog,
|
|
17441
17512
|
AttendeeFilterSensitiveLog,
|
|
17442
17513
|
ConnectionDataFilterSensitiveLog,
|
|
17443
17514
|
StartWebRTCContactResponseFilterSensitiveLog,
|
|
17444
|
-
UpdateContactRequestFilterSensitiveLog,
|
|
17445
17515
|
UpdateEmailAddressMetadataRequestFilterSensitiveLog,
|
|
17446
17516
|
UpdateUserIdentityInfoRequestFilterSensitiveLog,
|
|
17447
17517
|
UpdateViewContentRequestFilterSensitiveLog,
|
|
17448
17518
|
UpdateViewContentResponseFilterSensitiveLog,
|
|
17449
17519
|
UpdateViewMetadataRequestFilterSensitiveLog,
|
|
17520
|
+
CreateContactRequestFilterSensitiveLog,
|
|
17521
|
+
StartEmailContactRequestFilterSensitiveLog,
|
|
17522
|
+
StartTaskContactRequestFilterSensitiveLog,
|
|
17523
|
+
UpdateContactRequestFilterSensitiveLog,
|
|
17450
17524
|
ContactFilterSensitiveLog,
|
|
17451
17525
|
DescribeContactResponseFilterSensitiveLog
|
|
17452
17526
|
});
|
|
@@ -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 { CreateContactRequestFilterSensitiveLog
|
|
5
|
+
import { CreateContactRequestFilterSensitiveLog } from "../models/models_2";
|
|
6
6
|
import { de_CreateContactCommand, se_CreateContactCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateContactCommand extends $Command
|
|
@@ -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 { StartEmailContactRequestFilterSensitiveLog
|
|
5
|
+
import { StartEmailContactRequestFilterSensitiveLog } from "../models/models_3";
|
|
6
6
|
import { de_StartEmailContactCommand, se_StartEmailContactCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class StartEmailContactCommand extends $Command
|
|
@@ -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 { StartTaskContactRequestFilterSensitiveLog
|
|
5
|
+
import { StartTaskContactRequestFilterSensitiveLog } from "../models/models_3";
|
|
6
6
|
import { de_StartTaskContactCommand, se_StartTaskContactCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class StartTaskContactCommand extends $Command
|
|
@@ -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 { UpdateContactRequestFilterSensitiveLog
|
|
5
|
+
import { UpdateContactRequestFilterSensitiveLog } from "../models/models_3";
|
|
6
6
|
import { de_UpdateContactCommand, se_UpdateContactCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class UpdateContactCommand extends $Command
|
|
@@ -249,9 +249,11 @@ export const VocabularyLanguageCode = {
|
|
|
249
249
|
ZH_CN: "zh-CN",
|
|
250
250
|
};
|
|
251
251
|
export const FlowAssociationResourceType = {
|
|
252
|
+
ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",
|
|
252
253
|
INBOUND_EMAIL: "INBOUND_EMAIL",
|
|
253
254
|
OUTBOUND_EMAIL: "OUTBOUND_EMAIL",
|
|
254
255
|
SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER",
|
|
256
|
+
WHATSAPP_MESSAGING_PHONE_NUMBER: "WHATSAPP_MESSAGING_PHONE_NUMBER",
|
|
255
257
|
};
|
|
256
258
|
export const InstanceStorageResourceType = {
|
|
257
259
|
AGENT_EVENTS: "AGENT_EVENTS",
|
|
@@ -298,9 +300,11 @@ export const FileUseCaseType = {
|
|
|
298
300
|
EMAIL_MESSAGE: "EMAIL_MESSAGE",
|
|
299
301
|
};
|
|
300
302
|
export const ListFlowAssociationResourceType = {
|
|
303
|
+
ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",
|
|
301
304
|
INBOUND_EMAIL: "INBOUND_EMAIL",
|
|
302
305
|
OUTBOUND_EMAIL: "OUTBOUND_EMAIL",
|
|
303
306
|
VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER",
|
|
307
|
+
WHATSAPP_MESSAGING_PHONE_NUMBER: "WHATSAPP_MESSAGING_PHONE_NUMBER",
|
|
304
308
|
};
|
|
305
309
|
export const EndpointType = {
|
|
306
310
|
CONNECT_PHONENUMBER_ARN: "CONNECT_PHONENUMBER_ARN",
|
|
@@ -494,7 +498,9 @@ export const DirectoryType = {
|
|
|
494
498
|
SAML: "SAML",
|
|
495
499
|
};
|
|
496
500
|
export const IntegrationType = {
|
|
501
|
+
ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR",
|
|
497
502
|
APPLICATION: "APPLICATION",
|
|
503
|
+
CALL_TRANSFER_CONNECTOR: "CALL_TRANSFER_CONNECTOR",
|
|
498
504
|
CASES_DOMAIN: "CASES_DOMAIN",
|
|
499
505
|
EVENT: "EVENT",
|
|
500
506
|
FILE_SCANNER: "FILE_SCANNER",
|
|
@@ -677,11 +683,6 @@ export const VocabularyState = {
|
|
|
677
683
|
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
678
684
|
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
679
685
|
};
|
|
680
|
-
export const CreateContactRequestFilterSensitiveLog = (obj) => ({
|
|
681
|
-
...obj,
|
|
682
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
683
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
684
|
-
});
|
|
685
686
|
export const CreateEmailAddressRequestFilterSensitiveLog = (obj) => ({
|
|
686
687
|
...obj,
|
|
687
688
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
@@ -513,6 +513,11 @@ export const RealTimeContactAnalysisPostContactSummaryStatus = {
|
|
|
513
513
|
COMPLETED: "COMPLETED",
|
|
514
514
|
FAILED: "FAILED",
|
|
515
515
|
};
|
|
516
|
+
export const RealTimeContactAnalysisSentimentLabel = {
|
|
517
|
+
NEGATIVE: "NEGATIVE",
|
|
518
|
+
NEUTRAL: "NEUTRAL",
|
|
519
|
+
POSITIVE: "POSITIVE",
|
|
520
|
+
};
|
|
516
521
|
export const DescribeEmailAddressResponseFilterSensitiveLog = (obj) => ({
|
|
517
522
|
...obj,
|
|
518
523
|
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
@@ -1,11 +1,6 @@
|
|
|
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
|
-
export const RealTimeContactAnalysisSentimentLabel = {
|
|
5
|
-
NEGATIVE: "NEGATIVE",
|
|
6
|
-
NEUTRAL: "NEUTRAL",
|
|
7
|
-
POSITIVE: "POSITIVE",
|
|
8
|
-
};
|
|
9
4
|
export var RealtimeContactAnalysisSegment;
|
|
10
5
|
(function (RealtimeContactAnalysisSegment) {
|
|
11
6
|
RealtimeContactAnalysisSegment.visit = (value, visitor) => {
|
|
@@ -42,6 +37,11 @@ export class OutputTypeNotFoundException extends __BaseException {
|
|
|
42
37
|
this.Message = opts.Message;
|
|
43
38
|
}
|
|
44
39
|
}
|
|
40
|
+
export const ContactRecordingType = {
|
|
41
|
+
AGENT: "AGENT",
|
|
42
|
+
IVR: "IVR",
|
|
43
|
+
SCREEN: "SCREEN",
|
|
44
|
+
};
|
|
45
45
|
export const SearchContactsMatchType = {
|
|
46
46
|
MATCH_ALL: "MATCH_ALL",
|
|
47
47
|
MATCH_ANY: "MATCH_ANY",
|
|
@@ -105,6 +105,9 @@ export const TrafficType = {
|
|
|
105
105
|
CAMPAIGN: "CAMPAIGN",
|
|
106
106
|
GENERAL: "GENERAL",
|
|
107
107
|
};
|
|
108
|
+
export const IvrRecordingTrack = {
|
|
109
|
+
ALL: "ALL",
|
|
110
|
+
};
|
|
108
111
|
export const VoiceRecordingTrack = {
|
|
109
112
|
ALL: "ALL",
|
|
110
113
|
FROM_AGENT: "FROM_AGENT",
|
|
@@ -357,18 +360,6 @@ export const InboundEmailContentFilterSensitiveLog = (obj) => ({
|
|
|
357
360
|
...obj,
|
|
358
361
|
...(obj.RawMessage && { RawMessage: InboundRawMessageFilterSensitiveLog(obj.RawMessage) }),
|
|
359
362
|
});
|
|
360
|
-
export const StartEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
...(obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) }),
|
|
363
|
-
...(obj.DestinationEmailAddress && { DestinationEmailAddress: SENSITIVE_STRING }),
|
|
364
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
365
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
366
|
-
...(obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) }),
|
|
367
|
-
...(obj.AdditionalRecipients && {
|
|
368
|
-
AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients),
|
|
369
|
-
}),
|
|
370
|
-
...(obj.Attachments && { Attachments: SENSITIVE_STRING }),
|
|
371
|
-
});
|
|
372
363
|
export const StartOutboundEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
373
364
|
...obj,
|
|
374
365
|
...(obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) }),
|
|
@@ -385,11 +376,6 @@ export const StartOutboundVoiceContactRequestFilterSensitiveLog = (obj) => ({
|
|
|
385
376
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
386
377
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
387
378
|
});
|
|
388
|
-
export const StartTaskContactRequestFilterSensitiveLog = (obj) => ({
|
|
389
|
-
...obj,
|
|
390
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
391
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
392
|
-
});
|
|
393
379
|
export const StartWebRTCContactRequestFilterSensitiveLog = (obj) => ({
|
|
394
380
|
...obj,
|
|
395
381
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
@@ -406,11 +392,6 @@ export const StartWebRTCContactResponseFilterSensitiveLog = (obj) => ({
|
|
|
406
392
|
...obj,
|
|
407
393
|
...(obj.ConnectionData && { ConnectionData: ConnectionDataFilterSensitiveLog(obj.ConnectionData) }),
|
|
408
394
|
});
|
|
409
|
-
export const UpdateContactRequestFilterSensitiveLog = (obj) => ({
|
|
410
|
-
...obj,
|
|
411
|
-
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
412
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
413
|
-
});
|
|
414
395
|
export const UpdateEmailAddressMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
415
396
|
...obj,
|
|
416
397
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
@@ -432,3 +413,8 @@ export const UpdateViewMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
|
432
413
|
...obj,
|
|
433
414
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
434
415
|
});
|
|
416
|
+
export const CreateContactRequestFilterSensitiveLog = (obj) => ({
|
|
417
|
+
...obj,
|
|
418
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
419
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
420
|
+
});
|
|
@@ -1,4 +1,27 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { EmailAddressInfoFilterSensitiveLog, InboundAdditionalRecipientsFilterSensitiveLog, InboundEmailContentFilterSensitiveLog, } from "./models_2";
|
|
3
|
+
export const StartEmailContactRequestFilterSensitiveLog = (obj) => ({
|
|
4
|
+
...obj,
|
|
5
|
+
...(obj.FromEmailAddress && { FromEmailAddress: EmailAddressInfoFilterSensitiveLog(obj.FromEmailAddress) }),
|
|
6
|
+
...(obj.DestinationEmailAddress && { DestinationEmailAddress: SENSITIVE_STRING }),
|
|
7
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
8
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
9
|
+
...(obj.EmailMessage && { EmailMessage: InboundEmailContentFilterSensitiveLog(obj.EmailMessage) }),
|
|
10
|
+
...(obj.AdditionalRecipients && {
|
|
11
|
+
AdditionalRecipients: InboundAdditionalRecipientsFilterSensitiveLog(obj.AdditionalRecipients),
|
|
12
|
+
}),
|
|
13
|
+
...(obj.Attachments && { Attachments: SENSITIVE_STRING }),
|
|
14
|
+
});
|
|
15
|
+
export const StartTaskContactRequestFilterSensitiveLog = (obj) => ({
|
|
16
|
+
...obj,
|
|
17
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
18
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
19
|
+
});
|
|
20
|
+
export const UpdateContactRequestFilterSensitiveLog = (obj) => ({
|
|
21
|
+
...obj,
|
|
22
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
23
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
24
|
+
});
|
|
2
25
|
export const ContactFilterSensitiveLog = (obj) => ({
|
|
3
26
|
...obj,
|
|
4
27
|
...(obj.Name && { Name: SENSITIVE_STRING }),
|