@aws-sdk/client-connect 3.309.0 → 3.312.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/dist-cjs/models/models_0.js +6 -2
- package/dist-cjs/protocols/Aws_restJson1.js +14 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +14 -0
- package/dist-types/commands/CreateRoutingProfileCommand.d.ts +3 -0
- package/dist-types/commands/ListBotsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +36 -29
- package/dist-types/models/models_1.d.ts +35 -2
- package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -8
- package/dist-types/ts3.4/models/models_1.d.ts +9 -0
- package/package.json +35 -35
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.LexVersion = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = exports.TrafficDistributionGroupStatus = exports.QueueStatus = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = void 0;
|
|
3
|
+
exports.ContactFlowModuleStatus = exports.ContactFlowModuleState = exports.ContactFlowState = exports.ContactFlowNotPublishedException = exports.ResourceInUseException = exports.ResourceType = exports.VocabularyState = exports.PhoneType = exports.UseCaseType = exports.ResourceNotReadyException = exports.PropertyValidationException = exports.PropertyValidationExceptionReason = exports.TaskTemplateStatus = exports.TaskTemplateFieldType = exports.EventSourceName = exports.RulePublishStatus = exports.ReferenceType = exports.NotificationDeliveryType = exports.NotificationContentType = exports.BehaviorType = exports.QuickConnectType = exports.SourceType = exports.IntegrationType = exports.DirectoryType = exports.HoursOfOperationDays = exports.InvalidContactFlowModuleException = exports.InvalidContactFlowException = exports.ContactFlowType = exports.DuplicateResourceException = exports.IdempotencyException = exports.StorageType = exports.EncryptionType = exports.InstanceStorageResourceType = exports.VocabularyLanguageCode = exports.LimitExceededException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.InvalidRequestException = exports.InvalidParameterException = exports.InternalServiceException = exports.MonitorCapability = exports.AgentStatusType = exports.AgentStatusState = exports.ContactInitiationMethod = exports.Channel = exports.ContactState = exports.ActionType = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.GetFederationTokenResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.DescribeInstanceResponseFilterSensitiveLog = exports.InstanceFilterSensitiveLog = exports.CreateInstanceRequestFilterSensitiveLog = exports.LexVersion = exports.Comparison = exports.Statistic = exports.HistoricalMetricName = exports.UserNotFoundException = exports.SortOrder = exports.Grouping = exports.Unit = exports.CurrentMetricName = exports.TrafficDistributionGroupStatus = exports.QueueStatus = exports.PhoneNumberType = exports.PhoneNumberWorkflowStatus = exports.PhoneNumberCountryCode = exports.InstanceAttributeType = exports.InstanceStatus = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const ConnectServiceException_1 = require("./ConnectServiceException");
|
|
7
7
|
class AccessDeniedException extends ConnectServiceException_1.ConnectServiceException {
|
|
@@ -318,6 +318,10 @@ exports.QuickConnectType = {
|
|
|
318
318
|
QUEUE: "QUEUE",
|
|
319
319
|
USER: "USER",
|
|
320
320
|
};
|
|
321
|
+
exports.BehaviorType = {
|
|
322
|
+
ROUTE_ANY_CHANNEL: "ROUTE_ANY_CHANNEL",
|
|
323
|
+
ROUTE_CURRENT_CHANNEL_ONLY: "ROUTE_CURRENT_CHANNEL_ONLY",
|
|
324
|
+
};
|
|
321
325
|
exports.NotificationContentType = {
|
|
322
326
|
PLAIN_TEXT: "PLAIN_TEXT",
|
|
323
327
|
};
|
|
@@ -12445,6 +12445,11 @@ const se_ControlPlaneTagFilter = (input, context) => {
|
|
|
12445
12445
|
...(input.TagCondition != null && { TagCondition: se_TagCondition(input.TagCondition, context) }),
|
|
12446
12446
|
};
|
|
12447
12447
|
};
|
|
12448
|
+
const se_CrossChannelBehavior = (input, context) => {
|
|
12449
|
+
return {
|
|
12450
|
+
...(input.BehaviorType != null && { BehaviorType: input.BehaviorType }),
|
|
12451
|
+
};
|
|
12452
|
+
};
|
|
12448
12453
|
const se_CurrentMetric = (input, context) => {
|
|
12449
12454
|
return {
|
|
12450
12455
|
...(input.Name != null && { Name: input.Name }),
|
|
@@ -12658,6 +12663,9 @@ const se_MediaConcurrency = (input, context) => {
|
|
|
12658
12663
|
return {
|
|
12659
12664
|
...(input.Channel != null && { Channel: input.Channel }),
|
|
12660
12665
|
...(input.Concurrency != null && { Concurrency: input.Concurrency }),
|
|
12666
|
+
...(input.CrossChannelBehavior != null && {
|
|
12667
|
+
CrossChannelBehavior: se_CrossChannelBehavior(input.CrossChannelBehavior, context),
|
|
12668
|
+
}),
|
|
12661
12669
|
};
|
|
12662
12670
|
};
|
|
12663
12671
|
const se_MetricFiltersV2List = (input, context) => {
|
|
@@ -13499,6 +13507,11 @@ const de_Credentials = (output, context) => {
|
|
|
13499
13507
|
: undefined,
|
|
13500
13508
|
};
|
|
13501
13509
|
};
|
|
13510
|
+
const de_CrossChannelBehavior = (output, context) => {
|
|
13511
|
+
return {
|
|
13512
|
+
BehaviorType: (0, smithy_client_1.expectString)(output.BehaviorType),
|
|
13513
|
+
};
|
|
13514
|
+
};
|
|
13502
13515
|
const de_CurrentMetric = (output, context) => {
|
|
13503
13516
|
return {
|
|
13504
13517
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
@@ -13991,6 +14004,7 @@ const de_MediaConcurrency = (output, context) => {
|
|
|
13991
14004
|
return {
|
|
13992
14005
|
Channel: (0, smithy_client_1.expectString)(output.Channel),
|
|
13993
14006
|
Concurrency: (0, smithy_client_1.expectInt32)(output.Concurrency),
|
|
14007
|
+
CrossChannelBehavior: output.CrossChannelBehavior != null ? de_CrossChannelBehavior(output.CrossChannelBehavior, context) : undefined,
|
|
13994
14008
|
};
|
|
13995
14009
|
};
|
|
13996
14010
|
const de_MetricDataCollectionsV2 = (output, context) => {
|
|
@@ -301,6 +301,10 @@ export const QuickConnectType = {
|
|
|
301
301
|
QUEUE: "QUEUE",
|
|
302
302
|
USER: "USER",
|
|
303
303
|
};
|
|
304
|
+
export const BehaviorType = {
|
|
305
|
+
ROUTE_ANY_CHANNEL: "ROUTE_ANY_CHANNEL",
|
|
306
|
+
ROUTE_CURRENT_CHANNEL_ONLY: "ROUTE_CURRENT_CHANNEL_ONLY",
|
|
307
|
+
};
|
|
304
308
|
export const NotificationContentType = {
|
|
305
309
|
PLAIN_TEXT: "PLAIN_TEXT",
|
|
306
310
|
};
|
|
@@ -12096,6 +12096,11 @@ const se_ControlPlaneTagFilter = (input, context) => {
|
|
|
12096
12096
|
...(input.TagCondition != null && { TagCondition: se_TagCondition(input.TagCondition, context) }),
|
|
12097
12097
|
};
|
|
12098
12098
|
};
|
|
12099
|
+
const se_CrossChannelBehavior = (input, context) => {
|
|
12100
|
+
return {
|
|
12101
|
+
...(input.BehaviorType != null && { BehaviorType: input.BehaviorType }),
|
|
12102
|
+
};
|
|
12103
|
+
};
|
|
12099
12104
|
const se_CurrentMetric = (input, context) => {
|
|
12100
12105
|
return {
|
|
12101
12106
|
...(input.Name != null && { Name: input.Name }),
|
|
@@ -12309,6 +12314,9 @@ const se_MediaConcurrency = (input, context) => {
|
|
|
12309
12314
|
return {
|
|
12310
12315
|
...(input.Channel != null && { Channel: input.Channel }),
|
|
12311
12316
|
...(input.Concurrency != null && { Concurrency: input.Concurrency }),
|
|
12317
|
+
...(input.CrossChannelBehavior != null && {
|
|
12318
|
+
CrossChannelBehavior: se_CrossChannelBehavior(input.CrossChannelBehavior, context),
|
|
12319
|
+
}),
|
|
12312
12320
|
};
|
|
12313
12321
|
};
|
|
12314
12322
|
const se_MetricFiltersV2List = (input, context) => {
|
|
@@ -13150,6 +13158,11 @@ const de_Credentials = (output, context) => {
|
|
|
13150
13158
|
: undefined,
|
|
13151
13159
|
};
|
|
13152
13160
|
};
|
|
13161
|
+
const de_CrossChannelBehavior = (output, context) => {
|
|
13162
|
+
return {
|
|
13163
|
+
BehaviorType: __expectString(output.BehaviorType),
|
|
13164
|
+
};
|
|
13165
|
+
};
|
|
13153
13166
|
const de_CurrentMetric = (output, context) => {
|
|
13154
13167
|
return {
|
|
13155
13168
|
Name: __expectString(output.Name),
|
|
@@ -13642,6 +13655,7 @@ const de_MediaConcurrency = (output, context) => {
|
|
|
13642
13655
|
return {
|
|
13643
13656
|
Channel: __expectString(output.Channel),
|
|
13644
13657
|
Concurrency: __expectInt32(output.Concurrency),
|
|
13658
|
+
CrossChannelBehavior: output.CrossChannelBehavior != null ? de_CrossChannelBehavior(output.CrossChannelBehavior, context) : undefined,
|
|
13645
13659
|
};
|
|
13646
13660
|
};
|
|
13647
13661
|
const de_MetricDataCollectionsV2 = (output, context) => {
|
|
@@ -45,6 +45,9 @@ export interface CreateRoutingProfileCommandOutput extends CreateRoutingProfileR
|
|
|
45
45
|
* { // MediaConcurrency
|
|
46
46
|
* Channel: "VOICE" || "CHAT" || "TASK", // required
|
|
47
47
|
* Concurrency: Number("int"), // required
|
|
48
|
+
* CrossChannelBehavior: { // CrossChannelBehavior
|
|
49
|
+
* BehaviorType: "ROUTE_CURRENT_CHANNEL_ONLY" || "ROUTE_ANY_CHANNEL", // required
|
|
50
|
+
* },
|
|
48
51
|
* },
|
|
49
52
|
* ],
|
|
50
53
|
* Tags: { // TagMap
|
|
@@ -2,7 +2,8 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
5
|
-
import { ListBotsRequest
|
|
5
|
+
import { ListBotsRequest } from "../models/models_0";
|
|
6
|
+
import { ListBotsResponse } from "../models/models_1";
|
|
6
7
|
/**
|
|
7
8
|
* @public
|
|
8
9
|
*
|
|
@@ -34,6 +34,9 @@ export interface UpdateRoutingProfileConcurrencyCommandOutput extends __Metadata
|
|
|
34
34
|
* { // MediaConcurrency
|
|
35
35
|
* Channel: "VOICE" || "CHAT" || "TASK", // required
|
|
36
36
|
* Concurrency: Number("int"), // required
|
|
37
|
+
* CrossChannelBehavior: { // CrossChannelBehavior
|
|
38
|
+
* BehaviorType: "ROUTE_CURRENT_CHANNEL_ONLY" || "ROUTE_ANY_CHANNEL", // required
|
|
39
|
+
* },
|
|
37
40
|
* },
|
|
38
41
|
* ],
|
|
39
42
|
* };
|
|
@@ -1477,6 +1477,29 @@ export interface CreateQuickConnectResponse {
|
|
|
1477
1477
|
*/
|
|
1478
1478
|
QuickConnectId?: string;
|
|
1479
1479
|
}
|
|
1480
|
+
/**
|
|
1481
|
+
* @public
|
|
1482
|
+
* @enum
|
|
1483
|
+
*/
|
|
1484
|
+
export declare const BehaviorType: {
|
|
1485
|
+
readonly ROUTE_ANY_CHANNEL: "ROUTE_ANY_CHANNEL";
|
|
1486
|
+
readonly ROUTE_CURRENT_CHANNEL_ONLY: "ROUTE_CURRENT_CHANNEL_ONLY";
|
|
1487
|
+
};
|
|
1488
|
+
/**
|
|
1489
|
+
* @public
|
|
1490
|
+
*/
|
|
1491
|
+
export type BehaviorType = (typeof BehaviorType)[keyof typeof BehaviorType];
|
|
1492
|
+
/**
|
|
1493
|
+
* @public
|
|
1494
|
+
* <p>Defines the cross-channel routing behavior that allows an agent working on a contact in
|
|
1495
|
+
* one channel to be offered a contact from a different channel.</p>
|
|
1496
|
+
*/
|
|
1497
|
+
export interface CrossChannelBehavior {
|
|
1498
|
+
/**
|
|
1499
|
+
* <p>Specifies the other channels that can be routed to an agent handling their current channel.</p>
|
|
1500
|
+
*/
|
|
1501
|
+
BehaviorType: BehaviorType | string | undefined;
|
|
1502
|
+
}
|
|
1480
1503
|
/**
|
|
1481
1504
|
* @public
|
|
1482
1505
|
* <p>Contains information about which channels are supported, and how many contacts an agent can
|
|
@@ -1494,6 +1517,12 @@ export interface MediaConcurrency {
|
|
|
1494
1517
|
* <p>Valid Range for <code>TASK</code>: Minimum value of 1. Maximum value of 10.</p>
|
|
1495
1518
|
*/
|
|
1496
1519
|
Concurrency: number | undefined;
|
|
1520
|
+
/**
|
|
1521
|
+
* <p>Defines the cross-channel routing behavior for each channel that is enabled for this Routing
|
|
1522
|
+
* Profile. For example, this allows you to offer an agent a different contact from another channel
|
|
1523
|
+
* when they are currently working with a contact from a Voice channel.</p>
|
|
1524
|
+
*/
|
|
1525
|
+
CrossChannelBehavior?: CrossChannelBehavior;
|
|
1497
1526
|
}
|
|
1498
1527
|
/**
|
|
1499
1528
|
* @public
|
|
@@ -5628,7 +5657,7 @@ export interface GetMetricDataV2Request {
|
|
|
5628
5657
|
/**
|
|
5629
5658
|
* <p>The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the
|
|
5630
5659
|
* retrieval of historical metrics data. The time must be later than the start time
|
|
5631
|
-
* timestamp.</p>
|
|
5660
|
+
* timestamp. It cannot be later than the current timestamp.</p>
|
|
5632
5661
|
* <p>The time range between the start and end time must be less than 24 hours.</p>
|
|
5633
5662
|
*/
|
|
5634
5663
|
EndTime: Date | undefined;
|
|
@@ -5830,11 +5859,17 @@ export interface GetMetricDataV2Request {
|
|
|
5830
5859
|
* <dd>
|
|
5831
5860
|
* <p>Unit: Count</p>
|
|
5832
5861
|
* <p>Valid groupings and filters: Queue, Channel, Routing Profile</p>
|
|
5862
|
+
* <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800
|
|
5863
|
+
* (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>LT</code> (for
|
|
5864
|
+
* "Less than"). </p>
|
|
5833
5865
|
* </dd>
|
|
5834
5866
|
* <dt>SUM_CONTACTS_ABANDONED_IN_X</dt>
|
|
5835
5867
|
* <dd>
|
|
5836
5868
|
* <p>Unit: Count</p>
|
|
5837
5869
|
* <p>Valid groupings and filters: Queue, Channel, Routing Profile</p>
|
|
5870
|
+
* <p>Threshold: For <code>ThresholdValue</code>, enter any whole number from 1 to 604800
|
|
5871
|
+
* (inclusive), in seconds. For <code>Comparison</code>, you must enter <code>LT</code> (for
|
|
5872
|
+
* "Less than"). </p>
|
|
5838
5873
|
* </dd>
|
|
5839
5874
|
* <dt>SUM_CONTACTS_DISCONNECTED </dt>
|
|
5840
5875
|
* <dd>
|
|
@@ -6132,34 +6167,6 @@ export interface ListBotsRequest {
|
|
|
6132
6167
|
*/
|
|
6133
6168
|
LexVersion: LexVersion | string | undefined;
|
|
6134
6169
|
}
|
|
6135
|
-
/**
|
|
6136
|
-
* @public
|
|
6137
|
-
* <p>Configuration information of an Amazon Lex or Amazon Lex V2 bot.</p>
|
|
6138
|
-
*/
|
|
6139
|
-
export interface LexBotConfig {
|
|
6140
|
-
/**
|
|
6141
|
-
* <p>Configuration information of an Amazon Lex bot.</p>
|
|
6142
|
-
*/
|
|
6143
|
-
LexBot?: LexBot;
|
|
6144
|
-
/**
|
|
6145
|
-
* <p>Configuration information of an Amazon Lex V2 bot.</p>
|
|
6146
|
-
*/
|
|
6147
|
-
LexV2Bot?: LexV2Bot;
|
|
6148
|
-
}
|
|
6149
|
-
/**
|
|
6150
|
-
* @public
|
|
6151
|
-
*/
|
|
6152
|
-
export interface ListBotsResponse {
|
|
6153
|
-
/**
|
|
6154
|
-
* <p>The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots
|
|
6155
|
-
* associated with the specified instance.</p>
|
|
6156
|
-
*/
|
|
6157
|
-
LexBots?: LexBotConfig[];
|
|
6158
|
-
/**
|
|
6159
|
-
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
6160
|
-
*/
|
|
6161
|
-
NextToken?: string;
|
|
6162
|
-
}
|
|
6163
6170
|
/**
|
|
6164
6171
|
* @internal
|
|
6165
6172
|
*/
|
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
|
-
import { ActionSummary, AgentStatusState, Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, DirectoryType, EventSourceName, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, MediaConcurrency, MonitorCapability, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Queue, QueueStatus, QuickConnectConfig, QuickConnectType, Reference, ReferenceType, RoutingProfile, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TelephonyConfig, TrafficDistributionGroupStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
3
|
+
import { ActionSummary, AgentStatusState, Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, DirectoryType, EventSourceName, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStatus, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, LexV2Bot, MediaConcurrency, MonitorCapability, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Queue, QueueStatus, QuickConnectConfig, QuickConnectType, Reference, ReferenceType, RoutingProfile, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, SourceType, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TelephonyConfig, TrafficDistributionGroupStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* <p>Configuration information of an Amazon Lex or Amazon Lex V2 bot.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface LexBotConfig {
|
|
9
|
+
/**
|
|
10
|
+
* <p>Configuration information of an Amazon Lex bot.</p>
|
|
11
|
+
*/
|
|
12
|
+
LexBot?: LexBot;
|
|
13
|
+
/**
|
|
14
|
+
* <p>Configuration information of an Amazon Lex V2 bot.</p>
|
|
15
|
+
*/
|
|
16
|
+
LexV2Bot?: LexV2Bot;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export interface ListBotsResponse {
|
|
22
|
+
/**
|
|
23
|
+
* <p>The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots
|
|
24
|
+
* associated with the specified instance.</p>
|
|
25
|
+
*/
|
|
26
|
+
LexBots?: LexBotConfig[];
|
|
27
|
+
/**
|
|
28
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
29
|
+
*/
|
|
30
|
+
NextToken?: string;
|
|
31
|
+
}
|
|
4
32
|
/**
|
|
5
33
|
* @public
|
|
6
34
|
*/
|
|
@@ -2425,7 +2453,8 @@ export interface SearchVocabulariesResponse {
|
|
|
2425
2453
|
export interface ChatMessage {
|
|
2426
2454
|
/**
|
|
2427
2455
|
* <p>The type of the content. Supported types are <code>text/plain</code>,
|
|
2428
|
-
*
|
|
2456
|
+
* <code>text/markdown</code>, <code>application/json</code>, and
|
|
2457
|
+
* <code>application/vnd.amazonaws.connect.message.interactive.response</code>.</p>
|
|
2429
2458
|
*/
|
|
2430
2459
|
ContentType: string | undefined;
|
|
2431
2460
|
/**
|
|
@@ -2439,6 +2468,10 @@ export interface ChatMessage {
|
|
|
2439
2468
|
* <p>For <code>application/json</code>, the Length Constraints are Minimum of 1, Maximum of
|
|
2440
2469
|
* 12000. </p>
|
|
2441
2470
|
* </li>
|
|
2471
|
+
* <li>
|
|
2472
|
+
* <p>For <code>application/vnd.amazonaws.connect.message.interactive.response</code>, the Length
|
|
2473
|
+
* Constraints are Minimum of 1, Maximum of 12288.</p>
|
|
2474
|
+
* </li>
|
|
2442
2475
|
* </ul>
|
|
2443
2476
|
*/
|
|
2444
2477
|
Content: string | undefined;
|
|
@@ -11,7 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
|
-
import { ListBotsRequest
|
|
14
|
+
import { ListBotsRequest } from "../models/models_0";
|
|
15
|
+
import { ListBotsResponse } from "../models/models_1";
|
|
15
16
|
export interface ListBotsCommandInput extends ListBotsRequest {}
|
|
16
17
|
export interface ListBotsCommandOutput
|
|
17
18
|
extends ListBotsResponse,
|
|
@@ -548,9 +548,18 @@ export interface CreateQuickConnectResponse {
|
|
|
548
548
|
QuickConnectARN?: string;
|
|
549
549
|
QuickConnectId?: string;
|
|
550
550
|
}
|
|
551
|
+
export declare const BehaviorType: {
|
|
552
|
+
readonly ROUTE_ANY_CHANNEL: "ROUTE_ANY_CHANNEL";
|
|
553
|
+
readonly ROUTE_CURRENT_CHANNEL_ONLY: "ROUTE_CURRENT_CHANNEL_ONLY";
|
|
554
|
+
};
|
|
555
|
+
export type BehaviorType = (typeof BehaviorType)[keyof typeof BehaviorType];
|
|
556
|
+
export interface CrossChannelBehavior {
|
|
557
|
+
BehaviorType: BehaviorType | string | undefined;
|
|
558
|
+
}
|
|
551
559
|
export interface MediaConcurrency {
|
|
552
560
|
Channel: Channel | string | undefined;
|
|
553
561
|
Concurrency: number | undefined;
|
|
562
|
+
CrossChannelBehavior?: CrossChannelBehavior;
|
|
554
563
|
}
|
|
555
564
|
export interface CreateRoutingProfileRequest {
|
|
556
565
|
InstanceId: string | undefined;
|
|
@@ -1969,14 +1978,6 @@ export interface ListBotsRequest {
|
|
|
1969
1978
|
MaxResults?: number;
|
|
1970
1979
|
LexVersion: LexVersion | string | undefined;
|
|
1971
1980
|
}
|
|
1972
|
-
export interface LexBotConfig {
|
|
1973
|
-
LexBot?: LexBot;
|
|
1974
|
-
LexV2Bot?: LexV2Bot;
|
|
1975
|
-
}
|
|
1976
|
-
export interface ListBotsResponse {
|
|
1977
|
-
LexBots?: LexBotConfig[];
|
|
1978
|
-
NextToken?: string;
|
|
1979
|
-
}
|
|
1980
1981
|
export declare const CreateInstanceRequestFilterSensitiveLog: (
|
|
1981
1982
|
obj: CreateInstanceRequest
|
|
1982
1983
|
) => any;
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
InstanceStorageResourceType,
|
|
19
19
|
IntegrationType,
|
|
20
20
|
LexBot,
|
|
21
|
+
LexV2Bot,
|
|
21
22
|
MediaConcurrency,
|
|
22
23
|
MonitorCapability,
|
|
23
24
|
OutboundCallerConfig,
|
|
@@ -46,6 +47,14 @@ import {
|
|
|
46
47
|
VocabularyLanguageCode,
|
|
47
48
|
VocabularyState,
|
|
48
49
|
} from "./models_0";
|
|
50
|
+
export interface LexBotConfig {
|
|
51
|
+
LexBot?: LexBot;
|
|
52
|
+
LexV2Bot?: LexV2Bot;
|
|
53
|
+
}
|
|
54
|
+
export interface ListBotsResponse {
|
|
55
|
+
LexBots?: LexBotConfig[];
|
|
56
|
+
NextToken?: string;
|
|
57
|
+
}
|
|
49
58
|
export interface ListContactFlowModulesRequest {
|
|
50
59
|
InstanceId: string | undefined;
|
|
51
60
|
NextToken?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.312.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.312.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.310.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.310.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.310.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.310.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.310.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.310.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.310.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.310.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.310.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.310.0",
|
|
44
|
+
"@aws-sdk/types": "3.310.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.310.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.310.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.310.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.310.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.310.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.310.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
"files": [
|
|
81
|
-
"dist
|
|
81
|
+
"dist-*/**"
|
|
82
82
|
],
|
|
83
83
|
"author": {
|
|
84
84
|
"name": "AWS SDK for JavaScript Team",
|