@aws-sdk/client-connect 3.701.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 +28 -3
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/models/models_2.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +7 -0
- 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/CreateIntegrationAssociationCommand.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/ListFlowAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/ResumeContactRecordingCommand.d.ts +1 -0
- package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +1 -1
- package/dist-types/commands/StartContactRecordingCommand.d.ts +1 -0
- package/dist-types/commands/StartOutboundChatContactCommand.d.ts +2 -2
- package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -0
- package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -0
- package/dist-types/commands/UpdateContactCommand.d.ts +21 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +27 -1
- package/dist-types/models/models_1.d.ts +121 -18
- package/dist-types/models/models_2.d.ts +60 -143
- package/dist-types/models/models_3.d.ts +175 -3
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/dist-types/ts3.4/models/models_2.d.ts +19 -31
- package/dist-types/ts3.4/models/models_3.d.ts +37 -3
- 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",
|
|
@@ -2175,6 +2183,11 @@ var _OutputTypeNotFoundException = class _OutputTypeNotFoundException extends Co
|
|
|
2175
2183
|
};
|
|
2176
2184
|
__name(_OutputTypeNotFoundException, "OutputTypeNotFoundException");
|
|
2177
2185
|
var OutputTypeNotFoundException = _OutputTypeNotFoundException;
|
|
2186
|
+
var ContactRecordingType = {
|
|
2187
|
+
AGENT: "AGENT",
|
|
2188
|
+
IVR: "IVR",
|
|
2189
|
+
SCREEN: "SCREEN"
|
|
2190
|
+
};
|
|
2178
2191
|
var SearchContactsMatchType = {
|
|
2179
2192
|
MATCH_ALL: "MATCH_ALL",
|
|
2180
2193
|
MATCH_ANY: "MATCH_ANY"
|
|
@@ -2243,6 +2256,9 @@ var TrafficType = {
|
|
|
2243
2256
|
CAMPAIGN: "CAMPAIGN",
|
|
2244
2257
|
GENERAL: "GENERAL"
|
|
2245
2258
|
};
|
|
2259
|
+
var IvrRecordingTrack = {
|
|
2260
|
+
ALL: "ALL"
|
|
2261
|
+
};
|
|
2246
2262
|
var VoiceRecordingTrack = {
|
|
2247
2263
|
ALL: "ALL",
|
|
2248
2264
|
FROM_AGENT: "FROM_AGENT",
|
|
@@ -5168,6 +5184,7 @@ var se_ResumeContactRecordingCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
5168
5184
|
body = JSON.stringify(
|
|
5169
5185
|
(0, import_smithy_client.take)(input, {
|
|
5170
5186
|
ContactId: [],
|
|
5187
|
+
ContactRecordingType: [],
|
|
5171
5188
|
InitialContactId: [],
|
|
5172
5189
|
InstanceId: []
|
|
5173
5190
|
})
|
|
@@ -5843,6 +5860,7 @@ var se_StopContactRecordingCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
5843
5860
|
body = JSON.stringify(
|
|
5844
5861
|
(0, import_smithy_client.take)(input, {
|
|
5845
5862
|
ContactId: [],
|
|
5863
|
+
ContactRecordingType: [],
|
|
5846
5864
|
InitialContactId: [],
|
|
5847
5865
|
InstanceId: []
|
|
5848
5866
|
})
|
|
@@ -5895,6 +5913,7 @@ var se_SuspendContactRecordingCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
5895
5913
|
body = JSON.stringify(
|
|
5896
5914
|
(0, import_smithy_client.take)(input, {
|
|
5897
5915
|
ContactId: [],
|
|
5916
|
+
ContactRecordingType: [],
|
|
5898
5917
|
InitialContactId: [],
|
|
5899
5918
|
InstanceId: []
|
|
5900
5919
|
})
|
|
@@ -6033,10 +6052,14 @@ var se_UpdateContactCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
6033
6052
|
let body;
|
|
6034
6053
|
body = JSON.stringify(
|
|
6035
6054
|
(0, import_smithy_client.take)(input, {
|
|
6055
|
+
CustomerEndpoint: (_) => (0, import_smithy_client._json)(_),
|
|
6036
6056
|
Description: [],
|
|
6037
6057
|
Name: [],
|
|
6058
|
+
QueueInfo: (_) => (0, import_smithy_client._json)(_),
|
|
6038
6059
|
References: (_) => (0, import_smithy_client._json)(_),
|
|
6039
|
-
SegmentAttributes: (_) => se_SegmentAttributes(_, context)
|
|
6060
|
+
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
6061
|
+
SystemEndpoint: (_) => (0, import_smithy_client._json)(_),
|
|
6062
|
+
UserInfo: (_) => (0, import_smithy_client._json)(_)
|
|
6040
6063
|
})
|
|
6041
6064
|
);
|
|
6042
6065
|
b.m("POST").h(headers).b(body);
|
|
@@ -17429,6 +17452,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17429
17452
|
RealtimeContactAnalysisSegment,
|
|
17430
17453
|
RealTimeContactAnalysisStatus,
|
|
17431
17454
|
OutputTypeNotFoundException,
|
|
17455
|
+
ContactRecordingType,
|
|
17432
17456
|
SearchContactsMatchType,
|
|
17433
17457
|
SortableFieldName,
|
|
17434
17458
|
SearchContactsTimeRangeType,
|
|
@@ -17440,6 +17464,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
17440
17464
|
ChatEventType,
|
|
17441
17465
|
OutboundMessageSourceType,
|
|
17442
17466
|
TrafficType,
|
|
17467
|
+
IvrRecordingTrack,
|
|
17443
17468
|
VoiceRecordingTrack,
|
|
17444
17469
|
InboundMessageSourceType,
|
|
17445
17470
|
EmailHeaderType,
|
|
@@ -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",
|
|
@@ -37,6 +37,11 @@ export class OutputTypeNotFoundException extends __BaseException {
|
|
|
37
37
|
this.Message = opts.Message;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
+
export const ContactRecordingType = {
|
|
41
|
+
AGENT: "AGENT",
|
|
42
|
+
IVR: "IVR",
|
|
43
|
+
SCREEN: "SCREEN",
|
|
44
|
+
};
|
|
40
45
|
export const SearchContactsMatchType = {
|
|
41
46
|
MATCH_ALL: "MATCH_ALL",
|
|
42
47
|
MATCH_ANY: "MATCH_ANY",
|
|
@@ -100,6 +105,9 @@ export const TrafficType = {
|
|
|
100
105
|
CAMPAIGN: "CAMPAIGN",
|
|
101
106
|
GENERAL: "GENERAL",
|
|
102
107
|
};
|
|
108
|
+
export const IvrRecordingTrack = {
|
|
109
|
+
ALL: "ALL",
|
|
110
|
+
};
|
|
103
111
|
export const VoiceRecordingTrack = {
|
|
104
112
|
ALL: "ALL",
|
|
105
113
|
FROM_AGENT: "FROM_AGENT",
|
|
@@ -2462,6 +2462,7 @@ export const se_ResumeContactRecordingCommand = async (input, context) => {
|
|
|
2462
2462
|
let body;
|
|
2463
2463
|
body = JSON.stringify(take(input, {
|
|
2464
2464
|
ContactId: [],
|
|
2465
|
+
ContactRecordingType: [],
|
|
2465
2466
|
InitialContactId: [],
|
|
2466
2467
|
InstanceId: [],
|
|
2467
2468
|
}));
|
|
@@ -3071,6 +3072,7 @@ export const se_StopContactRecordingCommand = async (input, context) => {
|
|
|
3071
3072
|
let body;
|
|
3072
3073
|
body = JSON.stringify(take(input, {
|
|
3073
3074
|
ContactId: [],
|
|
3075
|
+
ContactRecordingType: [],
|
|
3074
3076
|
InitialContactId: [],
|
|
3075
3077
|
InstanceId: [],
|
|
3076
3078
|
}));
|
|
@@ -3117,6 +3119,7 @@ export const se_SuspendContactRecordingCommand = async (input, context) => {
|
|
|
3117
3119
|
let body;
|
|
3118
3120
|
body = JSON.stringify(take(input, {
|
|
3119
3121
|
ContactId: [],
|
|
3122
|
+
ContactRecordingType: [],
|
|
3120
3123
|
InitialContactId: [],
|
|
3121
3124
|
InstanceId: [],
|
|
3122
3125
|
}));
|
|
@@ -3243,10 +3246,14 @@ export const se_UpdateContactCommand = async (input, context) => {
|
|
|
3243
3246
|
b.p("ContactId", () => input.ContactId, "{ContactId}", false);
|
|
3244
3247
|
let body;
|
|
3245
3248
|
body = JSON.stringify(take(input, {
|
|
3249
|
+
CustomerEndpoint: (_) => _json(_),
|
|
3246
3250
|
Description: [],
|
|
3247
3251
|
Name: [],
|
|
3252
|
+
QueueInfo: (_) => _json(_),
|
|
3248
3253
|
References: (_) => _json(_),
|
|
3249
3254
|
SegmentAttributes: (_) => se_SegmentAttributes(_, context),
|
|
3255
|
+
SystemEndpoint: (_) => _json(_),
|
|
3256
|
+
UserInfo: (_) => _json(_),
|
|
3250
3257
|
}));
|
|
3251
3258
|
b.m("POST").h(headers).b(body);
|
|
3252
3259
|
return b.build();
|
package/dist-types/Connect.d.ts
CHANGED
|
@@ -1918,7 +1918,7 @@ export interface Connect {
|
|
|
1918
1918
|
* are also limits to the number of requests that you can make per second. For more information, see
|
|
1919
1919
|
* <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
|
|
1920
1920
|
* Guide</i>.</p>
|
|
1921
|
-
* <p>You can connect programmatically to an Amazon Web Services service
|
|
1921
|
+
* <p>You can use an endpoint to connect programmatically to an Amazon Web Services service. For
|
|
1922
1922
|
* 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>
|
|
1923
1923
|
* @public
|
|
1924
1924
|
*/
|
|
@@ -443,7 +443,7 @@ export interface ConnectClientResolvedConfig extends ConnectClientResolvedConfig
|
|
|
443
443
|
* are also limits to the number of requests that you can make per second. For more information, see
|
|
444
444
|
* <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
|
|
445
445
|
* Guide</i>.</p>
|
|
446
|
-
* <p>You can connect programmatically to an Amazon Web Services service
|
|
446
|
+
* <p>You can use an endpoint to connect programmatically to an Amazon Web Services service. For
|
|
447
447
|
* 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>
|
|
448
448
|
* @public
|
|
449
449
|
*/
|
|
@@ -38,7 +38,7 @@ declare const AssociateFlowCommand_base: {
|
|
|
38
38
|
* InstanceId: "STRING_VALUE", // required
|
|
39
39
|
* ResourceId: "STRING_VALUE", // required
|
|
40
40
|
* FlowId: "STRING_VALUE", // required
|
|
41
|
-
* ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL", // required
|
|
41
|
+
* ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR" || "WHATSAPP_MESSAGING_PHONE_NUMBER", // required
|
|
42
42
|
* };
|
|
43
43
|
* const command = new AssociateFlowCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
@@ -39,7 +39,7 @@ declare const BatchGetFlowAssociationCommand_base: {
|
|
|
39
39
|
* ResourceIds: [ // resourceArnListMaxLimit100 // required
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
|
-
* ResourceType: "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
|
|
42
|
+
* ResourceType: "WHATSAPP_MESSAGING_PHONE_NUMBER" || "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR",
|
|
43
43
|
* };
|
|
44
44
|
* const command = new BatchGetFlowAssociationCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
@@ -48,7 +48,7 @@ declare const BatchGetFlowAssociationCommand_base: {
|
|
|
48
48
|
* // { // FlowAssociationSummary
|
|
49
49
|
* // ResourceId: "STRING_VALUE",
|
|
50
50
|
* // FlowId: "STRING_VALUE",
|
|
51
|
-
* // ResourceType: "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
|
|
51
|
+
* // ResourceType: "WHATSAPP_MESSAGING_PHONE_NUMBER" || "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR",
|
|
52
52
|
* // },
|
|
53
53
|
* // ],
|
|
54
54
|
* // };
|
|
@@ -37,7 +37,7 @@ declare const CreateIntegrationAssociationCommand_base: {
|
|
|
37
37
|
* const client = new ConnectClient(config);
|
|
38
38
|
* const input = { // CreateIntegrationAssociationRequest
|
|
39
39
|
* InstanceId: "STRING_VALUE", // required
|
|
40
|
-
* IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY", // required
|
|
40
|
+
* IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY" || "ANALYTICS_CONNECTOR" || "CALL_TRANSFER_CONNECTOR", // required
|
|
41
41
|
* IntegrationArn: "STRING_VALUE", // required
|
|
42
42
|
* SourceApplicationUrl: "STRING_VALUE",
|
|
43
43
|
* SourceApplicationName: "STRING_VALUE",
|
|
@@ -36,7 +36,7 @@ declare const DescribePhoneNumberCommand_base: {
|
|
|
36
36
|
* and you are calling this API in the alternate Amazon Web Services Region associated with the
|
|
37
37
|
* traffic distribution group, you must provide a full phone number ARN. If a UUID is provided
|
|
38
38
|
* in
|
|
39
|
-
* this scenario, you
|
|
39
|
+
* this scenario, you receive a
|
|
40
40
|
* <code>ResourceNotFoundException</code>.</p>
|
|
41
41
|
* </important>
|
|
42
42
|
* @example
|
|
@@ -37,7 +37,7 @@ declare const DisassociateFlowCommand_base: {
|
|
|
37
37
|
* const input = { // DisassociateFlowRequest
|
|
38
38
|
* InstanceId: "STRING_VALUE", // required
|
|
39
39
|
* ResourceId: "STRING_VALUE", // required
|
|
40
|
-
* ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL", // required
|
|
40
|
+
* ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR" || "WHATSAPP_MESSAGING_PHONE_NUMBER", // required
|
|
41
41
|
* };
|
|
42
42
|
* const command = new DisassociateFlowCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
@@ -37,14 +37,14 @@ declare const GetFlowAssociationCommand_base: {
|
|
|
37
37
|
* const input = { // GetFlowAssociationRequest
|
|
38
38
|
* InstanceId: "STRING_VALUE", // required
|
|
39
39
|
* ResourceId: "STRING_VALUE", // required
|
|
40
|
-
* ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL", // required
|
|
40
|
+
* ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR" || "WHATSAPP_MESSAGING_PHONE_NUMBER", // required
|
|
41
41
|
* };
|
|
42
42
|
* const command = new GetFlowAssociationCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
44
|
* // { // GetFlowAssociationResponse
|
|
45
45
|
* // ResourceId: "STRING_VALUE",
|
|
46
46
|
* // FlowId: "STRING_VALUE",
|
|
47
|
-
* // ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
|
|
47
|
+
* // ResourceType: "SMS_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR" || "WHATSAPP_MESSAGING_PHONE_NUMBER",
|
|
48
48
|
* // };
|
|
49
49
|
*
|
|
50
50
|
* ```
|
|
@@ -27,7 +27,7 @@ declare const ImportPhoneNumberCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Imports a claimed phone number from an external service, such as Amazon
|
|
30
|
+
* <p>Imports a claimed phone number from an external service, such as Amazon Web Services End User Messaging, into an
|
|
31
31
|
* Amazon Connect instance. You can call this API only in the same Amazon Web Services Region
|
|
32
32
|
* where the Amazon Connect instance was created.</p>
|
|
33
33
|
* <important>
|
|
@@ -36,7 +36,7 @@ declare const ListFlowAssociationsCommand_base: {
|
|
|
36
36
|
* const client = new ConnectClient(config);
|
|
37
37
|
* const input = { // ListFlowAssociationsRequest
|
|
38
38
|
* InstanceId: "STRING_VALUE", // required
|
|
39
|
-
* ResourceType: "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
|
|
39
|
+
* ResourceType: "WHATSAPP_MESSAGING_PHONE_NUMBER" || "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR",
|
|
40
40
|
* NextToken: "STRING_VALUE",
|
|
41
41
|
* MaxResults: Number("int"),
|
|
42
42
|
* };
|
|
@@ -47,7 +47,7 @@ declare const ListFlowAssociationsCommand_base: {
|
|
|
47
47
|
* // { // FlowAssociationSummary
|
|
48
48
|
* // ResourceId: "STRING_VALUE",
|
|
49
49
|
* // FlowId: "STRING_VALUE",
|
|
50
|
-
* // ResourceType: "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL",
|
|
50
|
+
* // ResourceType: "WHATSAPP_MESSAGING_PHONE_NUMBER" || "VOICE_PHONE_NUMBER" || "INBOUND_EMAIL" || "OUTBOUND_EMAIL" || "ANALYTICS_CONNECTOR",
|
|
51
51
|
* // },
|
|
52
52
|
* // ],
|
|
53
53
|
* // NextToken: "STRING_VALUE",
|
|
@@ -37,7 +37,7 @@ declare const ListIntegrationAssociationsCommand_base: {
|
|
|
37
37
|
* const client = new ConnectClient(config);
|
|
38
38
|
* const input = { // ListIntegrationAssociationsRequest
|
|
39
39
|
* InstanceId: "STRING_VALUE", // required
|
|
40
|
-
* IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY",
|
|
40
|
+
* IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY" || "ANALYTICS_CONNECTOR" || "CALL_TRANSFER_CONNECTOR",
|
|
41
41
|
* NextToken: "STRING_VALUE",
|
|
42
42
|
* MaxResults: Number("int"),
|
|
43
43
|
* IntegrationArn: "STRING_VALUE",
|
|
@@ -50,7 +50,7 @@ declare const ListIntegrationAssociationsCommand_base: {
|
|
|
50
50
|
* // IntegrationAssociationId: "STRING_VALUE",
|
|
51
51
|
* // IntegrationAssociationArn: "STRING_VALUE",
|
|
52
52
|
* // InstanceId: "STRING_VALUE",
|
|
53
|
-
* // IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY",
|
|
53
|
+
* // IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY" || "ANALYTICS_CONNECTOR" || "CALL_TRANSFER_CONNECTOR",
|
|
54
54
|
* // IntegrationArn: "STRING_VALUE",
|
|
55
55
|
* // SourceApplicationUrl: "STRING_VALUE",
|
|
56
56
|
* // SourceApplicationName: "STRING_VALUE",
|
|
@@ -42,6 +42,7 @@ declare const ResumeContactRecordingCommand_base: {
|
|
|
42
42
|
* InstanceId: "STRING_VALUE", // required
|
|
43
43
|
* ContactId: "STRING_VALUE", // required
|
|
44
44
|
* InitialContactId: "STRING_VALUE", // required
|
|
45
|
+
* ContactRecordingType: "AGENT" || "IVR" || "SCREEN",
|
|
45
46
|
* };
|
|
46
47
|
* const command = new ResumeContactRecordingCommand(input);
|
|
47
48
|
* const response = await client.send(command);
|
|
@@ -41,7 +41,7 @@ declare const SendChatIntegrationEventCommand_base: {
|
|
|
41
41
|
* </ul>
|
|
42
42
|
* <p>When a chat integration event is sent with chat identifiers that do not map to an active
|
|
43
43
|
* chat contact, a new chat contact is also created before handling chat action. </p>
|
|
44
|
-
* <p>Access to this API is currently restricted to Amazon
|
|
44
|
+
* <p>Access to this API is currently restricted to Amazon Web Services End User Messaging for supporting SMS
|
|
45
45
|
* integration. </p>
|
|
46
46
|
* @example
|
|
47
47
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -58,6 +58,7 @@ declare const StartContactRecordingCommand_base: {
|
|
|
58
58
|
* InitialContactId: "STRING_VALUE", // required
|
|
59
59
|
* VoiceRecordingConfiguration: { // VoiceRecordingConfiguration
|
|
60
60
|
* VoiceRecordingTrack: "FROM_AGENT" || "TO_AGENT" || "ALL",
|
|
61
|
+
* IvrRecordingTrack: "ALL",
|
|
61
62
|
* },
|
|
62
63
|
* };
|
|
63
64
|
* const command = new StartContactRecordingCommand(input);
|
|
@@ -29,13 +29,13 @@ declare const StartOutboundChatContactCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* <p>Initiates a new outbound SMS contact to a customer. Response of this API provides the
|
|
32
|
-
* ContactId of the outbound SMS contact created.</p>
|
|
32
|
+
* <code>ContactId</code> of the outbound SMS contact created.</p>
|
|
33
33
|
* <p>
|
|
34
34
|
* <b>SourceEndpoint</b> only supports Endpoints with
|
|
35
35
|
* <code>CONNECT_PHONENUMBER_ARN</code> as Type and <b>DestinationEndpoint</b> only supports Endpoints with <code>TELEPHONE_NUMBER</code> as
|
|
36
36
|
* Type. <b>ContactFlowId</b> initiates the flow to manage the new SMS
|
|
37
37
|
* contact created.</p>
|
|
38
|
-
* <p>This API can be used to initiate outbound SMS contacts for an agent or it can also deflect
|
|
38
|
+
* <p>This API can be used to initiate outbound SMS contacts for an agent, or it can also deflect
|
|
39
39
|
* an ongoing contact to an outbound SMS contact by using the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_StartOutboundChatContact.html">StartOutboundChatContact</a> Flow Action.</p>
|
|
40
40
|
* <p>For more information about using SMS in Amazon Connect, see the following topics in the
|
|
41
41
|
* <i>Amazon Connect Administrator Guide</i>:</p>
|
|
@@ -43,6 +43,7 @@ declare const StopContactRecordingCommand_base: {
|
|
|
43
43
|
* InstanceId: "STRING_VALUE", // required
|
|
44
44
|
* ContactId: "STRING_VALUE", // required
|
|
45
45
|
* InitialContactId: "STRING_VALUE", // required
|
|
46
|
+
* ContactRecordingType: "AGENT" || "IVR" || "SCREEN",
|
|
46
47
|
* };
|
|
47
48
|
* const command = new StopContactRecordingCommand(input);
|
|
48
49
|
* const response = await client.send(command);
|
|
@@ -45,6 +45,7 @@ declare const SuspendContactRecordingCommand_base: {
|
|
|
45
45
|
* InstanceId: "STRING_VALUE", // required
|
|
46
46
|
* ContactId: "STRING_VALUE", // required
|
|
47
47
|
* InitialContactId: "STRING_VALUE", // required
|
|
48
|
+
* ContactRecordingType: "AGENT" || "IVR" || "SCREEN",
|
|
48
49
|
* };
|
|
49
50
|
* const command = new SuspendContactRecordingCommand(input);
|
|
50
51
|
* const response = await client.send(command);
|
|
@@ -70,6 +70,20 @@ declare const UpdateContactCommand_base: {
|
|
|
70
70
|
* ValueInteger: Number("int"),
|
|
71
71
|
* },
|
|
72
72
|
* },
|
|
73
|
+
* QueueInfo: { // QueueInfoInput
|
|
74
|
+
* Id: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* UserInfo: { // UserInfo
|
|
77
|
+
* UserId: "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* CustomerEndpoint: { // Endpoint
|
|
80
|
+
* Type: "TELEPHONE_NUMBER" || "VOIP" || "CONTACT_FLOW" || "CONNECT_PHONENUMBER_ARN" || "EMAIL_ADDRESS",
|
|
81
|
+
* Address: "STRING_VALUE",
|
|
82
|
+
* },
|
|
83
|
+
* SystemEndpoint: {
|
|
84
|
+
* Type: "TELEPHONE_NUMBER" || "VOIP" || "CONTACT_FLOW" || "CONNECT_PHONENUMBER_ARN" || "EMAIL_ADDRESS",
|
|
85
|
+
* Address: "STRING_VALUE",
|
|
86
|
+
* },
|
|
73
87
|
* };
|
|
74
88
|
* const command = new UpdateContactCommand(input);
|
|
75
89
|
* const response = await client.send(command);
|
|
@@ -83,6 +97,13 @@ declare const UpdateContactCommand_base: {
|
|
|
83
97
|
* @see {@link UpdateContactCommandOutput} for command's `response` shape.
|
|
84
98
|
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
85
99
|
*
|
|
100
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
101
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ConflictException} (client fault)
|
|
104
|
+
* <p>Operation cannot be performed at this time as there is a conflict with another operation or
|
|
105
|
+
* contact state.</p>
|
|
106
|
+
*
|
|
86
107
|
* @throws {@link InternalServiceException} (server fault)
|
|
87
108
|
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
88
109
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* are also limits to the number of requests that you can make per second. For more information, see
|
|
22
22
|
* <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
|
|
23
23
|
* Guide</i>.</p>
|
|
24
|
-
* <p>You can connect programmatically to an Amazon Web Services service
|
|
24
|
+
* <p>You can use an endpoint to connect programmatically to an Amazon Web Services service. For
|
|
25
25
|
* 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>
|
|
26
26
|
*
|
|
27
27
|
* @packageDocumentation
|
|
@@ -1185,9 +1185,11 @@ export interface AssociateDefaultVocabularyResponse {
|
|
|
1185
1185
|
* @enum
|
|
1186
1186
|
*/
|
|
1187
1187
|
export declare const FlowAssociationResourceType: {
|
|
1188
|
+
readonly ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR";
|
|
1188
1189
|
readonly INBOUND_EMAIL: "INBOUND_EMAIL";
|
|
1189
1190
|
readonly OUTBOUND_EMAIL: "OUTBOUND_EMAIL";
|
|
1190
1191
|
readonly SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER";
|
|
1192
|
+
readonly WHATSAPP_MESSAGING_PHONE_NUMBER: "WHATSAPP_MESSAGING_PHONE_NUMBER";
|
|
1191
1193
|
};
|
|
1192
1194
|
/**
|
|
1193
1195
|
* @public
|
|
@@ -1204,6 +1206,16 @@ export interface AssociateFlowRequest {
|
|
|
1204
1206
|
InstanceId: string | undefined;
|
|
1205
1207
|
/**
|
|
1206
1208
|
* <p>The identifier of the resource.</p>
|
|
1209
|
+
* <ul>
|
|
1210
|
+
* <li>
|
|
1211
|
+
* <p>Amazon Web Services End User Messaging SMS phone number ARN when using <code>SMS_PHONE_NUMBER</code>
|
|
1212
|
+
* </p>
|
|
1213
|
+
* </li>
|
|
1214
|
+
* <li>
|
|
1215
|
+
* <p>Amazon Web Services End User Messaging Social phone number ARN when using <code>WHATSAPP_MESSAGING_PHONE_NUMBER</code>
|
|
1216
|
+
* </p>
|
|
1217
|
+
* </li>
|
|
1218
|
+
* </ul>
|
|
1207
1219
|
* @public
|
|
1208
1220
|
*/
|
|
1209
1221
|
ResourceId: string | undefined;
|
|
@@ -1994,9 +2006,11 @@ export interface BatchGetAttachedFileMetadataResponse {
|
|
|
1994
2006
|
* @enum
|
|
1995
2007
|
*/
|
|
1996
2008
|
export declare const ListFlowAssociationResourceType: {
|
|
2009
|
+
readonly ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR";
|
|
1997
2010
|
readonly INBOUND_EMAIL: "INBOUND_EMAIL";
|
|
1998
2011
|
readonly OUTBOUND_EMAIL: "OUTBOUND_EMAIL";
|
|
1999
2012
|
readonly VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER";
|
|
2013
|
+
readonly WHATSAPP_MESSAGING_PHONE_NUMBER: "WHATSAPP_MESSAGING_PHONE_NUMBER";
|
|
2000
2014
|
};
|
|
2001
2015
|
/**
|
|
2002
2016
|
* @public
|
|
@@ -2013,6 +2027,16 @@ export interface BatchGetFlowAssociationRequest {
|
|
|
2013
2027
|
InstanceId: string | undefined;
|
|
2014
2028
|
/**
|
|
2015
2029
|
* <p>A list of resource identifiers to retrieve flow associations.</p>
|
|
2030
|
+
* <ul>
|
|
2031
|
+
* <li>
|
|
2032
|
+
* <p>Amazon Web Services End User Messaging SMS phone number ARN when using <code>SMS_PHONE_NUMBER</code>
|
|
2033
|
+
* </p>
|
|
2034
|
+
* </li>
|
|
2035
|
+
* <li>
|
|
2036
|
+
* <p>Amazon Web Services End User Messaging Social phone number ARN when using <code>WHATSAPP_MESSAGING_PHONE_NUMBER</code>
|
|
2037
|
+
* </p>
|
|
2038
|
+
* </li>
|
|
2039
|
+
* </ul>
|
|
2016
2040
|
* @public
|
|
2017
2041
|
*/
|
|
2018
2042
|
ResourceIds: string[] | undefined;
|
|
@@ -3419,7 +3443,9 @@ export interface CreateInstanceResponse {
|
|
|
3419
3443
|
* @enum
|
|
3420
3444
|
*/
|
|
3421
3445
|
export declare const IntegrationType: {
|
|
3446
|
+
readonly ANALYTICS_CONNECTOR: "ANALYTICS_CONNECTOR";
|
|
3422
3447
|
readonly APPLICATION: "APPLICATION";
|
|
3448
|
+
readonly CALL_TRANSFER_CONNECTOR: "CALL_TRANSFER_CONNECTOR";
|
|
3423
3449
|
readonly CASES_DOMAIN: "CASES_DOMAIN";
|
|
3424
3450
|
readonly EVENT: "EVENT";
|
|
3425
3451
|
readonly FILE_SCANNER: "FILE_SCANNER";
|
|
@@ -3465,7 +3491,7 @@ export interface CreateIntegrationAssociationRequest {
|
|
|
3465
3491
|
/**
|
|
3466
3492
|
* <p>The Amazon Resource Name (ARN) of the integration.</p>
|
|
3467
3493
|
* <note>
|
|
3468
|
-
* <p>When integrating with Amazon
|
|
3494
|
+
* <p>When integrating with Amazon Web Services End User Messaging, the Amazon Connect and Amazon Web Services End User Messaging
|
|
3469
3495
|
* instances must be in the same account.</p>
|
|
3470
3496
|
* </note>
|
|
3471
3497
|
* @public
|