@aws-sdk/client-connect 3.908.0 → 3.910.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +1 -0
- package/dist-es/commands/ListInstancesCommand.js +1 -1
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/AssociateContactWithUserCommand.d.ts +9 -9
- package/dist-types/commands/DescribeContactCommand.d.ts +40 -14
- package/dist-types/commands/ListInstancesCommand.d.ts +1 -2
- package/dist-types/commands/ListRoutingProfileManualAssignmentQueuesCommand.d.ts +6 -5
- package/dist-types/models/models_1.d.ts +16 -16
- package/dist-types/models/models_2.d.ts +27 -17
- package/dist-types/models/models_3.d.ts +20 -2
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_1.d.ts +4 -4
- package/dist-types/ts3.4/models/models_2.d.ts +4 -3
- package/dist-types/ts3.4/models/models_3.d.ts +5 -1
- package/package.json +33 -33
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://connect.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://connect.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -11189,6 +11189,7 @@ const de_Contact = (output, context) => {
|
|
|
11189
11189
|
SegmentAttributes: (_) => de_SegmentAttributes(_),
|
|
11190
11190
|
SystemEndpoint: smithyClient._json,
|
|
11191
11191
|
Tags: smithyClient._json,
|
|
11192
|
+
TaskTemplateInfo: smithyClient._json,
|
|
11192
11193
|
TotalPauseCount: smithyClient.expectInt32,
|
|
11193
11194
|
TotalPauseDurationInSeconds: smithyClient.expectInt32,
|
|
11194
11195
|
WisdomInfo: smithyClient._json,
|
|
@@ -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 { ListInstancesResponseFilterSensitiveLog } from "../models/models_2";
|
|
5
|
+
import { ListInstancesResponseFilterSensitiveLog, } from "../models/models_2";
|
|
6
6
|
import { de_ListInstancesCommand, se_ListInstancesCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class ListInstancesCommand extends $Command
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const u = "required", v = "fn", w = "argv", x = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "string" }, j = { [u]: true, "default": false, "type": "boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://connect.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://connect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://connect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://connect.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -9199,6 +9199,7 @@ const de_Contact = (output, context) => {
|
|
|
9199
9199
|
SegmentAttributes: (_) => de_SegmentAttributes(_, context),
|
|
9200
9200
|
SystemEndpoint: _json,
|
|
9201
9201
|
Tags: _json,
|
|
9202
|
+
TaskTemplateInfo: _json,
|
|
9202
9203
|
TotalPauseCount: __expectInt32,
|
|
9203
9204
|
TotalPauseDurationInSeconds: __expectInt32,
|
|
9204
9205
|
WisdomInfo: _json,
|
|
@@ -34,16 +34,11 @@ declare const AssociateContactWithUserCommand_base: {
|
|
|
34
34
|
* <p>Following are common uses cases for this API:</p>
|
|
35
35
|
* <ul>
|
|
36
36
|
* <li>
|
|
37
|
-
* <p>
|
|
38
|
-
* system routing in Amazon Connect. You can create tailored contact distribution logic that
|
|
39
|
-
* offers queued contacts directly to specific agents.</p>
|
|
37
|
+
* <p>Programmatically assign queued contacts to available users.</p>
|
|
40
38
|
* </li>
|
|
41
39
|
* <li>
|
|
42
|
-
* <p>
|
|
43
|
-
*
|
|
44
|
-
* workflows outside of standard queue management.</p>
|
|
45
|
-
* <p>For information about how manual contact assignment works in the agent workspace, see the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/worklist-app.html">Access the Worklist app in the Amazon Connect agent workspace</a> in the <i>Amazon Connect Administrator
|
|
46
|
-
* Guide</i>. </p>
|
|
40
|
+
* <p>Leverage the IAM context key <code>connect:PreferredUserArn</code> to restrict contact
|
|
41
|
+
* association to specific preferred user.</p>
|
|
47
42
|
* </li>
|
|
48
43
|
* </ul>
|
|
49
44
|
* <p>
|
|
@@ -51,7 +46,7 @@ declare const AssociateContactWithUserCommand_base: {
|
|
|
51
46
|
* </p>
|
|
52
47
|
* <ul>
|
|
53
48
|
* <li>
|
|
54
|
-
* <p>Use this API chat
|
|
49
|
+
* <p>Use this API with chat, email, and task contacts. It does not support voice
|
|
55
50
|
* contacts.</p>
|
|
56
51
|
* </li>
|
|
57
52
|
* <li>
|
|
@@ -68,6 +63,11 @@ declare const AssociateContactWithUserCommand_base: {
|
|
|
68
63
|
* authorization controls and prevent unauthorized contact associations. Verify that your IAM
|
|
69
64
|
* policies are properly configured to support your intended use cases.</p>
|
|
70
65
|
* </li>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>The service quota <i>Queues per routing profile per instance</i> applies to
|
|
68
|
+
* manually assigned queues, too. For more information about this quota, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#connect-quotas">Amazon Connect quotas</a> in the <i>Amazon Connect Administrator
|
|
69
|
+
* Guide</i>.</p>
|
|
70
|
+
* </li>
|
|
71
71
|
* </ul>
|
|
72
72
|
* <p>
|
|
73
73
|
* <b>Endpoints</b>: See <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect endpoints and
|
|
@@ -30,20 +30,42 @@ declare const DescribeContactCommand_base: {
|
|
|
30
30
|
/**
|
|
31
31
|
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
|
|
32
32
|
* <p>Describes the specified contact. </p>
|
|
33
|
-
* <
|
|
34
|
-
* <
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* </
|
|
46
|
-
*
|
|
33
|
+
* <p>
|
|
34
|
+
* <b>Use cases</b>
|
|
35
|
+
* </p>
|
|
36
|
+
* <p>Following are common uses cases for this API:</p>
|
|
37
|
+
* <ul>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>Retrieve contact information such as the caller's phone number and the specific number the
|
|
40
|
+
* caller dialed to integrate into custom monitoring or custom agent experience solutions.</p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>Detect when a customer chat session disconnects due to a network issue on the agent's end.
|
|
44
|
+
* Use the DisconnectReason field in the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/ctr-data-model.html#ctr-ContactTraceRecord">ContactTraceRecord</a> to detect this event and then re-queue the chat for followup.</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>Identify after contact work (ACW) duration and call recordings information when a
|
|
48
|
+
* COMPLETED event is received by using the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-events.html">contact event stream</a>. </p>
|
|
49
|
+
* </li>
|
|
50
|
+
* </ul>
|
|
51
|
+
* <p>
|
|
52
|
+
* <b>Important things to know</b>
|
|
53
|
+
* </p>
|
|
54
|
+
* <ul>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>
|
|
57
|
+
* <code>SystemEndpoint</code> is not populated for contacts with initiation method of
|
|
58
|
+
* MONITOR, QUEUE_TRANSFER, or CALLBACK</p>
|
|
59
|
+
* </li>
|
|
60
|
+
* <li>
|
|
61
|
+
* <p>Contact information remains available in Amazon Connect for 24 months from the
|
|
62
|
+
* <code>InitiationTimestamp</code>, and then it is deleted. Only contact information that is
|
|
63
|
+
* available in Amazon Connect is returned by this API.</p>
|
|
64
|
+
* </li>
|
|
65
|
+
* </ul>
|
|
66
|
+
* <p>
|
|
67
|
+
* <b>Endpoints</b>: See <a href="https://docs.aws.amazon.com/general/latest/gr/connect_region.html">Amazon Connect endpoints and
|
|
68
|
+
* quotas</a>.</p>
|
|
47
69
|
* @example
|
|
48
70
|
* Use a bare-bones client and the command you need to make an API call.
|
|
49
71
|
* ```javascript
|
|
@@ -377,6 +399,10 @@ declare const DescribeContactCommand_base: {
|
|
|
377
399
|
* // ExportLocation: "STRING_VALUE",
|
|
378
400
|
* // },
|
|
379
401
|
* // },
|
|
402
|
+
* // TaskTemplateInfo: { // TaskTemplateInfoV2
|
|
403
|
+
* // Arn: "STRING_VALUE",
|
|
404
|
+
* // Name: "STRING_VALUE",
|
|
405
|
+
* // },
|
|
380
406
|
* // ContactDetails: { // ContactDetails
|
|
381
407
|
* // Name: "STRING_VALUE",
|
|
382
408
|
* // Description: "STRING_VALUE",
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListInstancesRequest } from "../models/
|
|
5
|
-
import { ListInstancesResponse } from "../models/models_2";
|
|
4
|
+
import { ListInstancesRequest, ListInstancesResponse } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -34,11 +34,12 @@ declare const ListRoutingProfileManualAssignmentQueuesCommand_base: {
|
|
|
34
34
|
* <p>Following are common uses cases for this API:</p>
|
|
35
35
|
* <ul>
|
|
36
36
|
* <li>
|
|
37
|
-
* <p>This API returns list of queues where contacts can be manually assigned or picked
|
|
38
|
-
* user can additionally filter on queues, if they
|
|
39
|
-
* invalid request exception will be thrown).</p>
|
|
40
|
-
* <p>For information about how manual contact assignment works in the agent workspace, see the
|
|
41
|
-
*
|
|
37
|
+
* <p>This API returns list of queues where contacts can be manually assigned or picked by an
|
|
38
|
+
* agent who has access to the Worklist app. The user can additionally filter on queues, if they
|
|
39
|
+
* have access to those queues (otherwise a invalid request exception will be thrown).</p>
|
|
40
|
+
* <p>For information about how manual contact assignment works in the agent workspace, see the
|
|
41
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/worklist-app.html">Access the
|
|
42
|
+
* Worklist app in the Amazon Connect agent workspace</a> in the <i>Amazon Connect Administrator Guide</i>. </p>
|
|
42
43
|
* </li>
|
|
43
44
|
* </ul>
|
|
44
45
|
* <p>
|
|
@@ -1061,6 +1061,22 @@ export declare const RoutingCriteriaStepStatus: {
|
|
|
1061
1061
|
* @public
|
|
1062
1062
|
*/
|
|
1063
1063
|
export type RoutingCriteriaStepStatus = (typeof RoutingCriteriaStepStatus)[keyof typeof RoutingCriteriaStepStatus];
|
|
1064
|
+
/**
|
|
1065
|
+
* <p>Information about the task template used to create this contact.</p>
|
|
1066
|
+
* @public
|
|
1067
|
+
*/
|
|
1068
|
+
export interface TaskTemplateInfoV2 {
|
|
1069
|
+
/**
|
|
1070
|
+
* <p>The Amazon Resource Name (ARN) of the task template used to create this contact.</p>
|
|
1071
|
+
* @public
|
|
1072
|
+
*/
|
|
1073
|
+
Arn?: string | undefined;
|
|
1074
|
+
/**
|
|
1075
|
+
* <p>The name of the task template used to create this contact.</p>
|
|
1076
|
+
* @public
|
|
1077
|
+
*/
|
|
1078
|
+
Name?: string | undefined;
|
|
1079
|
+
}
|
|
1064
1080
|
/**
|
|
1065
1081
|
* <p>Information about Amazon Connect Wisdom.</p>
|
|
1066
1082
|
* @public
|
|
@@ -9254,22 +9270,6 @@ export interface ListInstanceAttributesResponse {
|
|
|
9254
9270
|
*/
|
|
9255
9271
|
NextToken?: string | undefined;
|
|
9256
9272
|
}
|
|
9257
|
-
/**
|
|
9258
|
-
* @public
|
|
9259
|
-
*/
|
|
9260
|
-
export interface ListInstancesRequest {
|
|
9261
|
-
/**
|
|
9262
|
-
* <p>The token for the next set of results. Use the value returned in the previous
|
|
9263
|
-
* response in the next request to retrieve the next set of results.</p>
|
|
9264
|
-
* @public
|
|
9265
|
-
*/
|
|
9266
|
-
NextToken?: string | undefined;
|
|
9267
|
-
/**
|
|
9268
|
-
* <p>The maximum number of results to return per page.</p>
|
|
9269
|
-
* @public
|
|
9270
|
-
*/
|
|
9271
|
-
MaxResults?: number | undefined;
|
|
9272
|
-
}
|
|
9273
9273
|
/**
|
|
9274
9274
|
* @internal
|
|
9275
9275
|
*/
|
|
@@ -2,6 +2,22 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
3
|
import { ActionSummary, AgentHierarchyGroups, AgentStatus, AgentStatusState, AllowedCapabilities, Application, Channel, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, DirectoryType, EventSourceName, FileStatusType, FileUseCaseType, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, LexBot, MonitorCapability, ParticipantRole, QuickConnectType, Reference, RehydrationType, RulePublishStatus, SourceType, StringComparisonType, StringCondition, TagCondition, TaskTemplateStatus, UseCaseType, UserPhoneConfig, UserProficiency, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
4
4
|
import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, EvaluationAnswerData, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, HoursOfOperationOverride, InstanceStatus, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QuickConnect, RoutingProfile, SortOrder, TrafficDistributionGroupStatus } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface ListInstancesRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
11
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
NextToken?: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* <p>The maximum number of results to return per page.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
MaxResults?: number | undefined;
|
|
20
|
+
}
|
|
5
21
|
/**
|
|
6
22
|
* <p>Information about the instance.</p>
|
|
7
23
|
* @public
|
|
@@ -790,7 +806,7 @@ export interface ListQueuesResponse {
|
|
|
790
806
|
*/
|
|
791
807
|
export interface ListQuickConnectsRequest {
|
|
792
808
|
/**
|
|
793
|
-
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance
|
|
809
|
+
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance. Both Instance ID and Instance ARN are supported input formats. </p>
|
|
794
810
|
* @public
|
|
795
811
|
*/
|
|
796
812
|
InstanceId: string | undefined;
|
|
@@ -1537,6 +1553,10 @@ export interface RoutingProfileManualAssignmentQueueConfigSummary {
|
|
|
1537
1553
|
QueueName: string | undefined;
|
|
1538
1554
|
/**
|
|
1539
1555
|
* <p>The channels this queue supports. Valid Values: CHAT | TASK | EMAIL </p>
|
|
1556
|
+
* <important>
|
|
1557
|
+
* <p>VOICE is not supported. The information shown below is incorrect. We're working to correct
|
|
1558
|
+
* it. </p>
|
|
1559
|
+
* </important>
|
|
1540
1560
|
* @public
|
|
1541
1561
|
*/
|
|
1542
1562
|
Channel: Channel | undefined;
|
|
@@ -3208,8 +3228,8 @@ export declare const SearchContactsTimeRangeConditionType: {
|
|
|
3208
3228
|
*/
|
|
3209
3229
|
export type SearchContactsTimeRangeConditionType = (typeof SearchContactsTimeRangeConditionType)[keyof typeof SearchContactsTimeRangeConditionType];
|
|
3210
3230
|
/**
|
|
3211
|
-
* <p>The timestamp condition indicating which timestamp should be used and how it should
|
|
3212
|
-
* filtered
|
|
3231
|
+
* <p>The timestamp condition indicating which contact timestamp should be used and how it should
|
|
3232
|
+
* be filtered. It is not an actual timestamp value. </p>
|
|
3213
3233
|
* @public
|
|
3214
3234
|
*/
|
|
3215
3235
|
export interface SearchContactsTimestampCondition {
|
|
@@ -3255,7 +3275,10 @@ export declare const SearchContactsMatchType: {
|
|
|
3255
3275
|
*/
|
|
3256
3276
|
export type SearchContactsMatchType = (typeof SearchContactsMatchType)[keyof typeof SearchContactsMatchType];
|
|
3257
3277
|
/**
|
|
3258
|
-
* <p>Time range that you additionally want to filter on.</p>
|
|
3278
|
+
* <p>Time range that you <b>additionally</b> want to filter on.</p>
|
|
3279
|
+
* <note>
|
|
3280
|
+
* <p>This is different from the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchContactsTimeRange.html">SearchContactsTimeRange</a> data type.</p>
|
|
3281
|
+
* </note>
|
|
3259
3282
|
* @public
|
|
3260
3283
|
*/
|
|
3261
3284
|
export interface SearchContactsAdditionalTimeRange {
|
|
@@ -6727,19 +6750,6 @@ export interface UpdateContactFlowNameRequest {
|
|
|
6727
6750
|
*/
|
|
6728
6751
|
export interface UpdateContactFlowNameResponse {
|
|
6729
6752
|
}
|
|
6730
|
-
/**
|
|
6731
|
-
* <p>Specify whether this routing criteria step should apply for only a limited amount of time,
|
|
6732
|
-
* or if it should never expire.</p>
|
|
6733
|
-
* @public
|
|
6734
|
-
*/
|
|
6735
|
-
export interface RoutingCriteriaInputStepExpiry {
|
|
6736
|
-
/**
|
|
6737
|
-
* <p>The number of seconds that the contact will be routed only to agents matching this routing
|
|
6738
|
-
* step, if expiry was configured for this routing step.</p>
|
|
6739
|
-
* @public
|
|
6740
|
-
*/
|
|
6741
|
-
DurationInSeconds?: number | undefined;
|
|
6742
|
-
}
|
|
6743
6753
|
/**
|
|
6744
6754
|
* @internal
|
|
6745
6755
|
*/
|
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
3
|
import { AdditionalEmailRecipients, AgentAvailabilityTimer, AgentConfig, AgentInfo, AgentStatusSearchFilter, Application, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, Endpoint, EvaluationFormQuestion, EvaluationFormScoringStrategy, HoursOfOperationConfig, HoursOfOperationOverrideConfig, InitiateAs, InputPredefinedAttributeConfiguration, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, OutboundEmailConfig, PredefinedAttributeValues, QuickConnectConfig, Reference, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, StringCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UserIdentityInfo, UserInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus } from "./models_0";
|
|
4
|
-
import { AnsweringMachineDetectionStatus, AttributeCondition, ChatMetrics, ContactDetails, ContactEvaluation, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, EvaluationFormVersionStatus, Expiry, InstanceAttributeType, QualityMetrics, QueueInfo, QueueStatus, RecordingInfo, RoutingCriteriaStepStatus, SignInConfig, TelephonyConfig, WisdomInfo } from "./models_1";
|
|
5
|
-
import { ChatMessage, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, ContactSearchSummaryAgentInfo, ContactSearchSummaryQueueInfo, DateCondition, EmailAddressInfo, EmailAddressSearchFilter, EmailAttachment, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter,
|
|
4
|
+
import { AnsweringMachineDetectionStatus, AttributeCondition, ChatMetrics, ContactDetails, ContactEvaluation, ContactFlowModuleState, ContactFlowModuleStatus, ContactFlowState, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, EvaluationFormVersionStatus, Expiry, InstanceAttributeType, QualityMetrics, QueueInfo, QueueStatus, RecordingInfo, RoutingCriteriaStepStatus, SignInConfig, TaskTemplateInfoV2, TelephonyConfig, WisdomInfo } from "./models_1";
|
|
5
|
+
import { ChatMessage, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, ContactSearchSummaryAgentInfo, ContactSearchSummaryQueueInfo, DateCondition, EmailAddressInfo, EmailAddressSearchFilter, EmailAttachment, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, UserHierarchyGroupSearchFilter, UserSearchFilter } from "./models_2";
|
|
6
|
+
/**
|
|
7
|
+
* <p>Specify whether this routing criteria step should apply for only a limited amount of time,
|
|
8
|
+
* or if it should never expire.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RoutingCriteriaInputStepExpiry {
|
|
12
|
+
/**
|
|
13
|
+
* <p>The number of seconds that the contact will be routed only to agents matching this routing
|
|
14
|
+
* step, if expiry was configured for this routing step.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
DurationInSeconds?: number | undefined;
|
|
18
|
+
}
|
|
6
19
|
/**
|
|
7
20
|
* @public
|
|
8
21
|
*/
|
|
@@ -3706,6 +3719,11 @@ export interface Contact {
|
|
|
3706
3719
|
* @public
|
|
3707
3720
|
*/
|
|
3708
3721
|
ContactEvaluations?: Record<string, ContactEvaluation> | undefined;
|
|
3722
|
+
/**
|
|
3723
|
+
* <p>If this contact was created using a task template, this contains information about the task template.</p>
|
|
3724
|
+
* @public
|
|
3725
|
+
*/
|
|
3726
|
+
TaskTemplateInfo?: TaskTemplateInfoV2 | undefined;
|
|
3709
3727
|
/**
|
|
3710
3728
|
* <p>A map of string key/value pairs that contain user-defined attributes which are lightly typed
|
|
3711
3729
|
* within the contact. This object is used only for task contacts.</p>
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConnectClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
ListInstancesRequest,
|
|
10
|
+
ListInstancesResponse,
|
|
11
|
+
} from "../models/models_2";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface ListInstancesCommandInput extends ListInstancesRequest {}
|
|
@@ -334,6 +334,10 @@ export declare const RoutingCriteriaStepStatus: {
|
|
|
334
334
|
};
|
|
335
335
|
export type RoutingCriteriaStepStatus =
|
|
336
336
|
(typeof RoutingCriteriaStepStatus)[keyof typeof RoutingCriteriaStepStatus];
|
|
337
|
+
export interface TaskTemplateInfoV2 {
|
|
338
|
+
Arn?: string | undefined;
|
|
339
|
+
Name?: string | undefined;
|
|
340
|
+
}
|
|
337
341
|
export interface WisdomInfo {
|
|
338
342
|
SessionArn?: string | undefined;
|
|
339
343
|
}
|
|
@@ -2123,10 +2127,6 @@ export interface ListInstanceAttributesResponse {
|
|
|
2123
2127
|
Attributes?: Attribute[] | undefined;
|
|
2124
2128
|
NextToken?: string | undefined;
|
|
2125
2129
|
}
|
|
2126
|
-
export interface ListInstancesRequest {
|
|
2127
|
-
NextToken?: string | undefined;
|
|
2128
|
-
MaxResults?: number | undefined;
|
|
2129
|
-
}
|
|
2130
2130
|
export declare const DescribeEmailAddressResponseFilterSensitiveLog: (
|
|
2131
2131
|
obj: DescribeEmailAddressResponse
|
|
2132
2132
|
) => any;
|
|
@@ -60,6 +60,10 @@ import {
|
|
|
60
60
|
SortOrder,
|
|
61
61
|
TrafficDistributionGroupStatus,
|
|
62
62
|
} from "./models_1";
|
|
63
|
+
export interface ListInstancesRequest {
|
|
64
|
+
NextToken?: string | undefined;
|
|
65
|
+
MaxResults?: number | undefined;
|
|
66
|
+
}
|
|
63
67
|
export interface InstanceSummary {
|
|
64
68
|
Id?: string | undefined;
|
|
65
69
|
Arn?: string | undefined;
|
|
@@ -1733,9 +1737,6 @@ export interface UpdateContactFlowNameRequest {
|
|
|
1733
1737
|
Description?: string | undefined;
|
|
1734
1738
|
}
|
|
1735
1739
|
export interface UpdateContactFlowNameResponse {}
|
|
1736
|
-
export interface RoutingCriteriaInputStepExpiry {
|
|
1737
|
-
DurationInSeconds?: number | undefined;
|
|
1738
|
-
}
|
|
1739
1740
|
export declare const InstanceSummaryFilterSensitiveLog: (
|
|
1740
1741
|
obj: InstanceSummary
|
|
1741
1742
|
) => any;
|
|
@@ -66,6 +66,7 @@ import {
|
|
|
66
66
|
RecordingInfo,
|
|
67
67
|
RoutingCriteriaStepStatus,
|
|
68
68
|
SignInConfig,
|
|
69
|
+
TaskTemplateInfoV2,
|
|
69
70
|
TelephonyConfig,
|
|
70
71
|
WisdomInfo,
|
|
71
72
|
} from "./models_1";
|
|
@@ -90,13 +91,15 @@ import {
|
|
|
90
91
|
QueueInfoInput,
|
|
91
92
|
QueueSearchFilter,
|
|
92
93
|
QuickConnectSearchFilter,
|
|
93
|
-
RoutingCriteriaInputStepExpiry,
|
|
94
94
|
RoutingProfileSearchFilter,
|
|
95
95
|
SearchableQueueType,
|
|
96
96
|
SecurityProfilesSearchFilter,
|
|
97
97
|
UserHierarchyGroupSearchFilter,
|
|
98
98
|
UserSearchFilter,
|
|
99
99
|
} from "./models_2";
|
|
100
|
+
export interface RoutingCriteriaInputStepExpiry {
|
|
101
|
+
DurationInSeconds?: number | undefined;
|
|
102
|
+
}
|
|
100
103
|
export interface UpdateContactRoutingDataResponse {}
|
|
101
104
|
export interface UpdateContactScheduleRequest {
|
|
102
105
|
InstanceId: string | undefined;
|
|
@@ -899,6 +902,7 @@ export interface Contact {
|
|
|
899
902
|
Recordings?: RecordingInfo[] | undefined;
|
|
900
903
|
DisconnectReason?: string | undefined;
|
|
901
904
|
ContactEvaluations?: Record<string, ContactEvaluation> | undefined;
|
|
905
|
+
TaskTemplateInfo?: TaskTemplateInfoV2 | undefined;
|
|
902
906
|
ContactDetails?: ContactDetails | undefined;
|
|
903
907
|
Attributes?: Record<string, string> | undefined;
|
|
904
908
|
}
|
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.910.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connect",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.3.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.910.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.910.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.910.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.910.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.910.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.910.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.910.0",
|
|
30
|
+
"@aws-sdk/types": "3.910.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.910.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.910.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.910.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.3.2",
|
|
35
|
+
"@smithy/core": "^3.16.1",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.3",
|
|
37
|
+
"@smithy/hash-node": "^4.2.2",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.2",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.2",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.3",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.3",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.2",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.2",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.2",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.1",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.2",
|
|
47
|
+
"@smithy/smithy-client": "^4.8.1",
|
|
48
|
+
"@smithy/types": "^4.7.1",
|
|
49
|
+
"@smithy/url-parser": "^4.2.2",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.2",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.3",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.2",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.2",
|
|
57
|
+
"@smithy/util-retry": "^4.2.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
59
|
"@smithy/uuid": "^1.1.0",
|
|
60
60
|
"tslib": "^2.6.2"
|