@aws-sdk/client-connect 3.338.0 → 3.341.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/commands/CreatePromptCommand.js +2 -1
- package/dist-cjs/commands/DeletePromptCommand.js +2 -1
- package/dist-cjs/commands/DescribePromptCommand.js +2 -1
- package/dist-cjs/commands/GetPromptFileCommand.js +2 -1
- package/dist-cjs/commands/UpdatePromptCommand.js +2 -1
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-es/commands/CreatePromptCommand.js +1 -0
- package/dist-es/commands/DeletePromptCommand.js +1 -0
- package/dist-es/commands/DescribePromptCommand.js +1 -0
- package/dist-es/commands/GetPromptFileCommand.js +1 -0
- package/dist-es/commands/UpdatePromptCommand.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +5 -6
- package/dist-types/commands/CreateParticipantCommand.d.ts +1 -1
- package/dist-types/commands/CreatePromptCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEvaluationFormCommand.d.ts +2 -2
- package/dist-types/commands/DeletePromptCommand.d.ts +4 -0
- package/dist-types/commands/DescribeContactCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +2 -2
- package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +2 -2
- package/dist-types/commands/DescribePromptCommand.d.ts +4 -0
- package/dist-types/commands/GetCurrentUserDataCommand.d.ts +1 -1
- package/dist-types/commands/GetPromptFileCommand.d.ts +4 -0
- package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +5 -6
- package/dist-types/commands/UpdatePromptCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +9 -8
- package/dist-types/models/models_1.d.ts +2 -3
- package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetPromptFileCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +1 -1
- package/package.json +28 -28
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreatePromptCommand = void 0;
|
|
3
|
+
exports.CreatePromptCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class CreatePromptCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeletePromptCommand = void 0;
|
|
3
|
+
exports.DeletePromptCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class DeletePromptCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DescribePromptCommand = void 0;
|
|
3
|
+
exports.DescribePromptCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class DescribePromptCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetPromptFileCommand = void 0;
|
|
3
|
+
exports.GetPromptFileCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class GetPromptFileCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdatePromptCommand = void 0;
|
|
3
|
+
exports.UpdatePromptCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class UpdatePromptCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_CreatePromptCommand, se_CreatePromptCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class CreatePromptCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_DeletePromptCommand, se_DeletePromptCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class DeletePromptCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_DescribePromptCommand, se_DescribePromptCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class DescribePromptCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_GetPromptFileCommand, se_GetPromptFileCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class GetPromptFileCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_UpdatePromptCommand, se_UpdatePromptCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class UpdatePromptCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -24,10 +24,9 @@ export interface CreateEvaluationFormCommandOutput extends CreateEvaluationFormR
|
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* @public
|
|
27
|
-
* <p>Creates an evaluation form in the specified Amazon Connect instance. The form can be
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* form.</p>
|
|
27
|
+
* <p>Creates an evaluation form in the specified Amazon Connect instance. The form can be used to define
|
|
28
|
+
* questions related to agent performance, and create sections to organize such questions. Question and section identifiers
|
|
29
|
+
* cannot be duplicated within the same evaluation form.</p>
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -44,13 +43,13 @@ export interface CreateEvaluationFormCommandOutput extends CreateEvaluationFormR
|
|
|
44
43
|
* Title: "STRING_VALUE", // required
|
|
45
44
|
* RefId: "STRING_VALUE", // required
|
|
46
45
|
* Instructions: "STRING_VALUE",
|
|
47
|
-
* Items: [
|
|
46
|
+
* Items: [ // required
|
|
48
47
|
* {// Union: only one key present
|
|
49
48
|
* Section: {
|
|
50
49
|
* Title: "STRING_VALUE", // required
|
|
51
50
|
* RefId: "STRING_VALUE", // required
|
|
52
51
|
* Instructions: "STRING_VALUE",
|
|
53
|
-
* Items: "<EvaluationFormItemsList>",
|
|
52
|
+
* Items: "<EvaluationFormItemsList>", // required
|
|
54
53
|
* Weight: Number("double"),
|
|
55
54
|
* },
|
|
56
55
|
* Question: { // EvaluationFormQuestion
|
|
@@ -24,7 +24,7 @@ export interface CreateParticipantCommandOutput extends CreateParticipantRespons
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Adds a new participant into an on-going chat contact. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-customize-flow.html">Customize chat
|
|
27
|
-
*
|
|
27
|
+
* flow experiences by integrating custom participants</a>.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -3,6 +3,10 @@ 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
5
|
import { CreatePromptRequest, CreatePromptResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -26,8 +26,8 @@ export interface DeleteEvaluationFormCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* <p>Deletes an evaluation form in the specified Amazon Connect instance. </p>
|
|
27
27
|
* <ul>
|
|
28
28
|
* <li>
|
|
29
|
-
* <p>If the version
|
|
30
|
-
*
|
|
29
|
+
* <p>If the version
|
|
30
|
+
* property is provided, only the specified version of the evaluation form is deleted.</p>
|
|
31
31
|
* </li>
|
|
32
32
|
* <li>
|
|
33
33
|
* <p>If no version is provided, then the full form (all versions) is deleted.</p>
|
|
@@ -3,6 +3,10 @@ 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
5
|
import { DeletePromptRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -49,7 +49,7 @@ export interface DescribeContactCommandOutput extends DescribeContactResponse, _
|
|
|
49
49
|
* // Id: "STRING_VALUE",
|
|
50
50
|
* // InitialContactId: "STRING_VALUE",
|
|
51
51
|
* // PreviousContactId: "STRING_VALUE",
|
|
52
|
-
* // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR",
|
|
52
|
+
* // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND",
|
|
53
53
|
* // Name: "STRING_VALUE",
|
|
54
54
|
* // Description: "STRING_VALUE",
|
|
55
55
|
* // Channel: "VOICE" || "CHAT" || "TASK",
|
|
@@ -96,13 +96,13 @@ export interface DescribeContactEvaluationCommandOutput extends DescribeContactE
|
|
|
96
96
|
* // Title: "STRING_VALUE", // required
|
|
97
97
|
* // RefId: "STRING_VALUE", // required
|
|
98
98
|
* // Instructions: "STRING_VALUE",
|
|
99
|
-
* // Items: [
|
|
99
|
+
* // Items: [ // required
|
|
100
100
|
* // {// Union: only one key present
|
|
101
101
|
* // Section: {
|
|
102
102
|
* // Title: "STRING_VALUE", // required
|
|
103
103
|
* // RefId: "STRING_VALUE", // required
|
|
104
104
|
* // Instructions: "STRING_VALUE",
|
|
105
|
-
* // Items: "<EvaluationFormItemsList>",
|
|
105
|
+
* // Items: "<EvaluationFormItemsList>", // required
|
|
106
106
|
* // Weight: Number("double"),
|
|
107
107
|
* // },
|
|
108
108
|
* // Question: { // EvaluationFormQuestion
|
|
@@ -54,13 +54,13 @@ export interface DescribeEvaluationFormCommandOutput extends DescribeEvaluationF
|
|
|
54
54
|
* // Title: "STRING_VALUE", // required
|
|
55
55
|
* // RefId: "STRING_VALUE", // required
|
|
56
56
|
* // Instructions: "STRING_VALUE",
|
|
57
|
-
* // Items: [
|
|
57
|
+
* // Items: [ // required
|
|
58
58
|
* // {// Union: only one key present
|
|
59
59
|
* // Section: {
|
|
60
60
|
* // Title: "STRING_VALUE", // required
|
|
61
61
|
* // RefId: "STRING_VALUE", // required
|
|
62
62
|
* // Instructions: "STRING_VALUE",
|
|
63
|
-
* // Items: "<EvaluationFormItemsList>",
|
|
63
|
+
* // Items: "<EvaluationFormItemsList>", // required
|
|
64
64
|
* // Weight: Number("double"),
|
|
65
65
|
* // },
|
|
66
66
|
* // Question: { // EvaluationFormQuestion
|
|
@@ -3,6 +3,10 @@ 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
5
|
import { DescribePromptRequest, DescribePromptResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -108,7 +108,7 @@ export interface GetCurrentUserDataCommandOutput extends GetCurrentUserDataRespo
|
|
|
108
108
|
* // { // AgentContactReference
|
|
109
109
|
* // ContactId: "STRING_VALUE",
|
|
110
110
|
* // Channel: "VOICE" || "CHAT" || "TASK",
|
|
111
|
-
* // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR",
|
|
111
|
+
* // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND",
|
|
112
112
|
* // AgentContactState: "INCOMING" || "PENDING" || "CONNECTING" || "CONNECTED" || "CONNECTED_ONHOLD" || "MISSED" || "ERROR" || "ENDED" || "REJECTED",
|
|
113
113
|
* // StateStartTimestamp: new Date("TIMESTAMP"),
|
|
114
114
|
* // ConnectedToAgentTimestamp: new Date("TIMESTAMP"),
|
|
@@ -3,6 +3,10 @@ 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
5
|
import { GetPromptFileRequest, GetPromptFileResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -24,10 +24,9 @@ export interface UpdateEvaluationFormCommandOutput extends UpdateEvaluationFormR
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Updates details about a specific evaluation form version in the specified Amazon Connect
|
|
27
|
-
* instance. Question and section
|
|
28
|
-
* form.</p>
|
|
29
|
-
* <p>This operation does not support partial updates. Instead it does a full update of evaluation
|
|
30
|
-
* form content.</p>
|
|
27
|
+
* instance. Question and section
|
|
28
|
+
* identifiers cannot be duplicated within the same evaluation form.</p>
|
|
29
|
+
* <p>This operation does not support partial updates. Instead it does a full update of evaluation form content.</p>
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
@@ -47,13 +46,13 @@ export interface UpdateEvaluationFormCommandOutput extends UpdateEvaluationFormR
|
|
|
47
46
|
* Title: "STRING_VALUE", // required
|
|
48
47
|
* RefId: "STRING_VALUE", // required
|
|
49
48
|
* Instructions: "STRING_VALUE",
|
|
50
|
-
* Items: [
|
|
49
|
+
* Items: [ // required
|
|
51
50
|
* {// Union: only one key present
|
|
52
51
|
* Section: {
|
|
53
52
|
* Title: "STRING_VALUE", // required
|
|
54
53
|
* RefId: "STRING_VALUE", // required
|
|
55
54
|
* Instructions: "STRING_VALUE",
|
|
56
|
-
* Items: "<EvaluationFormItemsList>",
|
|
55
|
+
* Items: "<EvaluationFormItemsList>", // required
|
|
57
56
|
* Weight: Number("double"),
|
|
58
57
|
* },
|
|
59
58
|
* Question: { // EvaluationFormQuestion
|
|
@@ -3,6 +3,10 @@ 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
5
|
import { UpdatePromptRequest, UpdatePromptResponse } from "../models/models_1";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -50,8 +50,8 @@ export interface ActivateEvaluationFormRequest {
|
|
|
50
50
|
*/
|
|
51
51
|
EvaluationFormId: string | undefined;
|
|
52
52
|
/**
|
|
53
|
-
* <p>The version of the evaluation form to activate. If the version property is not provided, the
|
|
54
|
-
*
|
|
53
|
+
* <p>The version of the evaluation form to activate. If the version property is not provided, the latest version of the
|
|
54
|
+
* evaluation form is activated.</p>
|
|
55
55
|
*/
|
|
56
56
|
EvaluationFormVersion: number | undefined;
|
|
57
57
|
}
|
|
@@ -186,6 +186,7 @@ export declare const ContactInitiationMethod: {
|
|
|
186
186
|
readonly API: "API";
|
|
187
187
|
readonly CALLBACK: "CALLBACK";
|
|
188
188
|
readonly DISCONNECT: "DISCONNECT";
|
|
189
|
+
readonly EXTERNAL_OUTBOUND: "EXTERNAL_OUTBOUND";
|
|
189
190
|
readonly INBOUND: "INBOUND";
|
|
190
191
|
readonly MONITOR: "MONITOR";
|
|
191
192
|
readonly OUTBOUND: "OUTBOUND";
|
|
@@ -1260,10 +1261,10 @@ export interface SingleSelectQuestionRuleCategoryAutomation {
|
|
|
1260
1261
|
*/
|
|
1261
1262
|
Category: string | undefined;
|
|
1262
1263
|
/**
|
|
1263
|
-
* <p>The condition to apply for the automation option. If the condition is <code>PRESENT</code>,
|
|
1264
|
-
*
|
|
1265
|
-
*
|
|
1266
|
-
*
|
|
1264
|
+
* <p>The condition to apply for the automation option. If the condition is <code>PRESENT</code>, then the
|
|
1265
|
+
* option is applied when the contact data includes the category. Similarly, if the condition is
|
|
1266
|
+
* <code>NOT_PRESENT</code>, then the option is applied when the contact data does not include the
|
|
1267
|
+
* category.</p>
|
|
1267
1268
|
*/
|
|
1268
1269
|
Condition: SingleSelectQuestionRuleCategoryAutomationCondition | string | undefined;
|
|
1269
1270
|
/**
|
|
@@ -1795,8 +1796,8 @@ export interface ParticipantTokenCredentials {
|
|
|
1795
1796
|
*/
|
|
1796
1797
|
export interface CreateParticipantResponse {
|
|
1797
1798
|
/**
|
|
1798
|
-
* <p>The token used by the chat participant to call <code>CreateParticipantConnection</code>. The
|
|
1799
|
-
*
|
|
1799
|
+
* <p>The token used by the chat participant to call <code>CreateParticipantConnection</code>. The participant
|
|
1800
|
+
* token is valid for the lifetime of a chat participant.</p>
|
|
1800
1801
|
*/
|
|
1801
1802
|
ParticipantCredentials?: ParticipantTokenCredentials;
|
|
1802
1803
|
/**
|
|
@@ -711,8 +711,7 @@ export interface MetricFilterV2 {
|
|
|
711
711
|
* <p>The key to use for filtering data. </p>
|
|
712
712
|
* <p>Valid metric filter keys: <code>INITIATION_METHOD</code>, <code>DISCONNECT_REASON</code>.
|
|
713
713
|
* These are the same values as the <code>InitiationMethod</code> and <code>DisconnectReason</code>
|
|
714
|
-
* in the contact record. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/ctr-data-model.html#ctr-ContactTraceRecord">ContactTraceRecord</a> in the <i>Amazon Connect Administrator's
|
|
715
|
-
* Guide</i>. </p>
|
|
714
|
+
* in the contact record. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/ctr-data-model.html#ctr-ContactTraceRecord">ContactTraceRecord</a> in the <i>Amazon Connect Administrator's Guide</i>. </p>
|
|
716
715
|
*/
|
|
717
716
|
MetricFilterKey?: string;
|
|
718
717
|
/**
|
|
@@ -5934,7 +5933,7 @@ export interface EvaluationFormSection {
|
|
|
5934
5933
|
/**
|
|
5935
5934
|
* <p>The items of the section.</p>
|
|
5936
5935
|
*/
|
|
5937
|
-
Items
|
|
5936
|
+
Items: EvaluationFormItem[] | undefined;
|
|
5938
5937
|
/**
|
|
5939
5938
|
* <p>The scoring weight of the section.</p>
|
|
5940
5939
|
*/
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
14
|
import { CreatePromptRequest, CreatePromptResponse } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface CreatePromptCommandInput extends CreatePromptRequest {}
|
|
16
17
|
export interface CreatePromptCommandOutput
|
|
17
18
|
extends CreatePromptResponse,
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
14
|
import { DeletePromptRequest } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface DeletePromptCommandInput extends DeletePromptRequest {}
|
|
16
17
|
export interface DeletePromptCommandOutput extends __MetadataBearer {}
|
|
17
18
|
export declare class DeletePromptCommand extends $Command<
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DescribePromptRequest,
|
|
16
16
|
DescribePromptResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DescribePromptCommandInput extends DescribePromptRequest {}
|
|
19
20
|
export interface DescribePromptCommandOutput
|
|
20
21
|
extends DescribePromptResponse,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
GetPromptFileRequest,
|
|
16
16
|
GetPromptFileResponse,
|
|
17
17
|
} from "../models/models_1";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface GetPromptFileCommandInput extends GetPromptFileRequest {}
|
|
19
20
|
export interface GetPromptFileCommandOutput
|
|
20
21
|
extends GetPromptFileResponse,
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../ConnectClient";
|
|
14
14
|
import { UpdatePromptRequest, UpdatePromptResponse } from "../models/models_1";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface UpdatePromptCommandInput extends UpdatePromptRequest {}
|
|
16
17
|
export interface UpdatePromptCommandOutput
|
|
17
18
|
extends UpdatePromptResponse,
|
|
@@ -90,6 +90,7 @@ export declare const ContactInitiationMethod: {
|
|
|
90
90
|
readonly API: "API";
|
|
91
91
|
readonly CALLBACK: "CALLBACK";
|
|
92
92
|
readonly DISCONNECT: "DISCONNECT";
|
|
93
|
+
readonly EXTERNAL_OUTBOUND: "EXTERNAL_OUTBOUND";
|
|
93
94
|
readonly INBOUND: "INBOUND";
|
|
94
95
|
readonly MONITOR: "MONITOR";
|
|
95
96
|
readonly OUTBOUND: "OUTBOUND";
|
|
@@ -1684,7 +1684,7 @@ export interface EvaluationFormSection {
|
|
|
1684
1684
|
Title: string | undefined;
|
|
1685
1685
|
RefId: string | undefined;
|
|
1686
1686
|
Instructions?: string;
|
|
1687
|
-
Items
|
|
1687
|
+
Items: EvaluationFormItem[] | undefined;
|
|
1688
1688
|
Weight?: number;
|
|
1689
1689
|
}
|
|
1690
1690
|
export interface CreateEvaluationFormRequest {
|
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.341.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,36 +21,36 @@
|
|
|
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/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.341.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.341.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.341.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.341.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.341.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.341.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.341.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.341.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.341.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.341.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.341.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.341.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.341.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.341.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.341.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.341.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.341.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.341.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.341.0",
|
|
43
|
+
"@aws-sdk/types": "3.341.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.341.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.341.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.341.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.341.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.341.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.341.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.341.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|