@aws-sdk/client-connect 3.1072.0 → 3.1073.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 +14 -0
- package/dist-cjs/index.js +54 -1
- package/dist-cjs/schemas/schemas_0.js +197 -48
- package/dist-es/Connect.js +4 -0
- package/dist-es/commands/GetEvaluationFormValidationCommand.js +16 -0
- package/dist-es/commands/StartEvaluationFormValidationCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +20 -0
- package/dist-es/models/models_4.js +1 -0
- package/dist-es/schemas/schemas_0.js +183 -48
- package/dist-types/Connect.d.ts +14 -0
- package/dist-types/ConnectClient.d.ts +4 -2
- package/dist-types/commands/CreateEvaluationFormCommand.d.ts +65 -1
- package/dist-types/commands/CreateViewCommand.d.ts +2 -1
- package/dist-types/commands/CreateViewVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateVocabularyCommand.d.ts +1 -2
- package/dist-types/commands/DescribeContactCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +72 -2
- package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +68 -2
- package/dist-types/commands/GetEvaluationFormValidationCommand.d.ts +112 -0
- package/dist-types/commands/GetMetricDataV2Command.d.ts +1 -2
- package/dist-types/commands/ListContactEvaluationsCommand.d.ts +3 -0
- package/dist-types/commands/SearchContactEvaluationsCommand.d.ts +37 -0
- package/dist-types/commands/SearchContactsCommand.d.ts +1 -1
- package/dist-types/commands/SearchEvaluationFormsCommand.d.ts +1 -2
- package/dist-types/commands/SearchHoursOfOperationOverridesCommand.d.ts +1 -2
- package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +1 -2
- package/dist-types/commands/SearchNotificationsCommand.d.ts +1 -2
- package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +1 -2
- package/dist-types/commands/StartEvaluationFormValidationCommand.d.ts +102 -0
- package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +2 -1
- package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +67 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +60 -0
- package/dist-types/models/models_0.d.ts +127 -103
- package/dist-types/models/models_1.d.ts +217 -1947
- package/dist-types/models/models_2.d.ts +2078 -384
- package/dist-types/models/models_3.d.ts +1479 -1769
- package/dist-types/models/models_4.d.ts +707 -0
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/Connect.d.ts +34 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEvaluationFormValidationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchEvaluationFormsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchHoursOfOperationOverridesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchNotificationsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartEvaluationFormValidationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +30 -0
- package/dist-types/ts3.4/models/models_0.d.ts +30 -23
- package/dist-types/ts3.4/models/models_1.d.ts +50 -45
- package/dist-types/ts3.4/models/models_2.d.ts +75 -81
- package/dist-types/ts3.4/models/models_3.d.ts +96 -175
- package/dist-types/ts3.4/models/models_4.d.ts +197 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { Command as $Command } from "@smithy/core/client";
|
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
4
|
import type { DescribeEvaluationFormRequest } from "../models/models_1";
|
|
5
|
-
import type { DescribeEvaluationFormResponse } from "../models/
|
|
5
|
+
import type { DescribeEvaluationFormResponse } from "../models/models_4";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -70,6 +70,14 @@ declare const DescribeEvaluationFormCommand_base: {
|
|
|
70
70
|
* // Instructions: "STRING_VALUE",
|
|
71
71
|
* // Items: "<EvaluationFormItemsList>", // required
|
|
72
72
|
* // Weight: Number("double"),
|
|
73
|
+
* // IsExcludedFromScoring: true || false,
|
|
74
|
+
* // ScoreThresholds: [ // EvaluationFormScoreThresholdList
|
|
75
|
+
* // { // EvaluationFormScoreThreshold
|
|
76
|
+
* // PerformanceCategory: "NEEDS_IMPROVEMENT" || "EXCEEDS_EXPECTATIONS", // required
|
|
77
|
+
* // MinScorePercentage: Number("double"),
|
|
78
|
+
* // MaxScorePercentage: Number("double"),
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
73
81
|
* // },
|
|
74
82
|
* // Question: { // EvaluationFormQuestion
|
|
75
83
|
* // Title: "STRING_VALUE", // required
|
|
@@ -90,6 +98,10 @@ declare const DescribeEvaluationFormCommand_base: {
|
|
|
90
98
|
* // AutomaticFailConfiguration: { // AutomaticFailConfiguration
|
|
91
99
|
* // TargetSection: "STRING_VALUE",
|
|
92
100
|
* // },
|
|
101
|
+
* // PointsConfiguration: { // QuestionOptionPointsConfiguration
|
|
102
|
+
* // PointValue: Number("int"), // required
|
|
103
|
+
* // IsBonus: true || false,
|
|
104
|
+
* // },
|
|
93
105
|
* // },
|
|
94
106
|
* // ],
|
|
95
107
|
* // Automation: { // EvaluationFormNumericQuestionAutomation Union: only one key present
|
|
@@ -111,6 +123,10 @@ declare const DescribeEvaluationFormCommand_base: {
|
|
|
111
123
|
* // AutomaticFailConfiguration: {
|
|
112
124
|
* // TargetSection: "STRING_VALUE",
|
|
113
125
|
* // },
|
|
126
|
+
* // PointsConfiguration: {
|
|
127
|
+
* // PointValue: Number("int"), // required
|
|
128
|
+
* // IsBonus: true || false,
|
|
129
|
+
* // },
|
|
114
130
|
* // },
|
|
115
131
|
* // ],
|
|
116
132
|
* // DisplayAs: "DROPDOWN" || "RADIO",
|
|
@@ -142,6 +158,15 @@ declare const DescribeEvaluationFormCommand_base: {
|
|
|
142
158
|
* // { // EvaluationFormMultiSelectQuestionOption
|
|
143
159
|
* // RefId: "STRING_VALUE", // required
|
|
144
160
|
* // Text: "STRING_VALUE", // required
|
|
161
|
+
* // Score: Number("int"),
|
|
162
|
+
* // AutomaticFail: true || false,
|
|
163
|
+
* // AutomaticFailConfiguration: {
|
|
164
|
+
* // TargetSection: "STRING_VALUE",
|
|
165
|
+
* // },
|
|
166
|
+
* // PointsConfiguration: {
|
|
167
|
+
* // PointValue: Number("int"), // required
|
|
168
|
+
* // IsBonus: true || false,
|
|
169
|
+
* // },
|
|
145
170
|
* // },
|
|
146
171
|
* // ],
|
|
147
172
|
* // DisplayAs: "DROPDOWN" || "CHECKBOX",
|
|
@@ -212,10 +237,27 @@ declare const DescribeEvaluationFormCommand_base: {
|
|
|
212
237
|
* // DefaultAction: "DISABLE" || "ENABLE",
|
|
213
238
|
* // },
|
|
214
239
|
* // Weight: Number("double"),
|
|
240
|
+
* // ScoringConfiguration: { // EvaluationFormQuestionScoringConfiguration
|
|
241
|
+
* // PointsConfiguration: { // QuestionPointsConfiguration
|
|
242
|
+
* // MaxPointValue: Number("int"),
|
|
243
|
+
* // MinPointValue: Number("int"),
|
|
244
|
+
* // IsBonus: true || false,
|
|
245
|
+
* // },
|
|
246
|
+
* // IsExcludedFromScoring: true || false,
|
|
247
|
+
* // ScoreThresholds: [
|
|
248
|
+
* // {
|
|
249
|
+
* // PerformanceCategory: "NEEDS_IMPROVEMENT" || "EXCEEDS_EXPECTATIONS", // required
|
|
250
|
+
* // MinScorePercentage: Number("double"),
|
|
251
|
+
* // MaxScorePercentage: Number("double"),
|
|
252
|
+
* // },
|
|
253
|
+
* // ],
|
|
254
|
+
* // },
|
|
215
255
|
* // },
|
|
216
256
|
* // },
|
|
217
257
|
* // ],
|
|
218
258
|
* // Weight: Number("double"),
|
|
259
|
+
* // IsExcludedFromScoring: true || false,
|
|
260
|
+
* // ScoreThresholds: "<EvaluationFormScoreThresholdList>",
|
|
219
261
|
* // },
|
|
220
262
|
* // Question: {
|
|
221
263
|
* // Title: "STRING_VALUE", // required
|
|
@@ -236,6 +278,10 @@ declare const DescribeEvaluationFormCommand_base: {
|
|
|
236
278
|
* // AutomaticFailConfiguration: {
|
|
237
279
|
* // TargetSection: "STRING_VALUE",
|
|
238
280
|
* // },
|
|
281
|
+
* // PointsConfiguration: {
|
|
282
|
+
* // PointValue: Number("int"), // required
|
|
283
|
+
* // IsBonus: true || false,
|
|
284
|
+
* // },
|
|
239
285
|
* // },
|
|
240
286
|
* // ],
|
|
241
287
|
* // Automation: {// Union: only one key present
|
|
@@ -257,6 +303,10 @@ declare const DescribeEvaluationFormCommand_base: {
|
|
|
257
303
|
* // AutomaticFailConfiguration: {
|
|
258
304
|
* // TargetSection: "STRING_VALUE",
|
|
259
305
|
* // },
|
|
306
|
+
* // PointsConfiguration: {
|
|
307
|
+
* // PointValue: Number("int"), // required
|
|
308
|
+
* // IsBonus: true || false,
|
|
309
|
+
* // },
|
|
260
310
|
* // },
|
|
261
311
|
* // ],
|
|
262
312
|
* // DisplayAs: "DROPDOWN" || "RADIO",
|
|
@@ -284,6 +334,10 @@ declare const DescribeEvaluationFormCommand_base: {
|
|
|
284
334
|
* // {
|
|
285
335
|
* // RefId: "STRING_VALUE", // required
|
|
286
336
|
* // Text: "STRING_VALUE", // required
|
|
337
|
+
* // Score: Number("int"),
|
|
338
|
+
* // AutomaticFail: true || false,
|
|
339
|
+
* // AutomaticFailConfiguration: "<AutomaticFailConfiguration>",
|
|
340
|
+
* // PointsConfiguration: "<QuestionOptionPointsConfiguration>",
|
|
287
341
|
* // },
|
|
288
342
|
* // ],
|
|
289
343
|
* // DisplayAs: "DROPDOWN" || "CHECKBOX",
|
|
@@ -310,12 +364,22 @@ declare const DescribeEvaluationFormCommand_base: {
|
|
|
310
364
|
* // DefaultAction: "DISABLE" || "ENABLE",
|
|
311
365
|
* // },
|
|
312
366
|
* // Weight: Number("double"),
|
|
367
|
+
* // ScoringConfiguration: {
|
|
368
|
+
* // PointsConfiguration: {
|
|
369
|
+
* // MaxPointValue: Number("int"),
|
|
370
|
+
* // MinPointValue: Number("int"),
|
|
371
|
+
* // IsBonus: true || false,
|
|
372
|
+
* // },
|
|
373
|
+
* // IsExcludedFromScoring: true || false,
|
|
374
|
+
* // ScoreThresholds: "<EvaluationFormScoreThresholdList>",
|
|
375
|
+
* // },
|
|
313
376
|
* // },
|
|
314
377
|
* // },
|
|
315
378
|
* // ],
|
|
316
379
|
* // ScoringStrategy: { // EvaluationFormScoringStrategy
|
|
317
|
-
* // Mode: "QUESTION_ONLY" || "SECTION_ONLY", // required
|
|
380
|
+
* // Mode: "QUESTION_ONLY" || "SECTION_ONLY" || "POINTS_BASED", // required
|
|
318
381
|
* // Status: "ENABLED" || "DISABLED", // required
|
|
382
|
+
* // ScoreThresholds: "<EvaluationFormScoreThresholdList>",
|
|
319
383
|
* // },
|
|
320
384
|
* // CreatedTime: new Date("TIMESTAMP"), // required
|
|
321
385
|
* // CreatedBy: "STRING_VALUE", // required
|
|
@@ -344,6 +408,8 @@ declare const DescribeEvaluationFormCommand_base: {
|
|
|
344
408
|
* // LanguageConfiguration: { // EvaluationFormLanguageConfiguration
|
|
345
409
|
* // FormLanguage: "de-DE" || "en-US" || "es-ES" || "fr-FR" || "it-IT" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN",
|
|
346
410
|
* // },
|
|
411
|
+
* // LatestValidationStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED",
|
|
412
|
+
* // LastValidationTime: new Date("TIMESTAMP"),
|
|
347
413
|
* // },
|
|
348
414
|
* // };
|
|
349
415
|
*
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
+
import type { GetEvaluationFormValidationRequest, GetEvaluationFormValidationResponse } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetEvaluationFormValidationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetEvaluationFormValidationCommandInput extends GetEvaluationFormValidationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetEvaluationFormValidationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetEvaluationFormValidationCommandOutput extends GetEvaluationFormValidationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetEvaluationFormValidationCommand_base: {
|
|
25
|
+
new (input: GetEvaluationFormValidationCommandInput): import("@smithy/core/client").CommandImpl<GetEvaluationFormValidationCommandInput, GetEvaluationFormValidationCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetEvaluationFormValidationCommandInput): import("@smithy/core/client").CommandImpl<GetEvaluationFormValidationCommandInput, GetEvaluationFormValidationCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves the status and results of a validation process started by <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_StartEvaluationFormValidation.html">StartEvaluationFormValidation</a>.
|
|
33
|
+
* Returns the current execution status (<code>IN_PROGRESS</code>, <code>COMPLETED</code>, or <code>FAILED</code>),
|
|
34
|
+
* the validated form version, and when completed, a list of findings that identify structural issues and quality
|
|
35
|
+
* improvements for the evaluation form, and may include suggested fixes. If the validation failed, a reason is provided
|
|
36
|
+
* indicating the cause of the failure.</p>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { ConnectClient, GetEvaluationFormValidationCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
41
|
+
* // const { ConnectClient, GetEvaluationFormValidationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
42
|
+
* // import type { ConnectClientConfig } from "@aws-sdk/client-connect";
|
|
43
|
+
* const config = {}; // type is ConnectClientConfig
|
|
44
|
+
* const client = new ConnectClient(config);
|
|
45
|
+
* const input = { // GetEvaluationFormValidationRequest
|
|
46
|
+
* InstanceId: "STRING_VALUE", // required
|
|
47
|
+
* EvaluationFormId: "STRING_VALUE", // required
|
|
48
|
+
* EvaluationFormVersion: Number("int"),
|
|
49
|
+
* };
|
|
50
|
+
* const command = new GetEvaluationFormValidationCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // GetEvaluationFormValidationResponse
|
|
53
|
+
* // Status: "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
|
|
54
|
+
* // FailureReason: "STRING_VALUE",
|
|
55
|
+
* // EvaluationFormId: "STRING_VALUE", // required
|
|
56
|
+
* // EvaluationFormVersion: Number("int"), // required
|
|
57
|
+
* // StartedTime: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // Findings: [ // EvaluationFormValidationFindingList
|
|
59
|
+
* // { // EvaluationFormValidationFinding
|
|
60
|
+
* // IssueCode: "STRING_VALUE", // required
|
|
61
|
+
* // Items: [ // EvaluationFormValidationFindingItemList
|
|
62
|
+
* // { // EvaluationFormValidationFindingItem
|
|
63
|
+
* // RefId: "STRING_VALUE",
|
|
64
|
+
* // Property: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // Description: "STRING_VALUE", // required
|
|
68
|
+
* // Suggestion: "STRING_VALUE",
|
|
69
|
+
* // Severity: "WARNING" || "ERROR", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param GetEvaluationFormValidationCommandInput - {@link GetEvaluationFormValidationCommandInput}
|
|
77
|
+
* @returns {@link GetEvaluationFormValidationCommandOutput}
|
|
78
|
+
* @see {@link GetEvaluationFormValidationCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link GetEvaluationFormValidationCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
83
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
86
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>The specified resource was not found.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ConnectServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
96
|
+
*
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class GetEvaluationFormValidationCommand extends GetEvaluationFormValidationCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: GetEvaluationFormValidationRequest;
|
|
105
|
+
output: GetEvaluationFormValidationResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: GetEvaluationFormValidationCommandInput;
|
|
109
|
+
output: GetEvaluationFormValidationCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import type { GetMetricDataV2Request } from "../models/
|
|
5
|
-
import type { GetMetricDataV2Response } from "../models/models_2";
|
|
4
|
+
import type { GetMetricDataV2Request, GetMetricDataV2Response } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -62,6 +62,9 @@ declare const ListContactEvaluationsCommand_base: {
|
|
|
62
62
|
* // NotApplicable: true || false,
|
|
63
63
|
* // AutomaticFail: true || false,
|
|
64
64
|
* // AppliedWeight: Number("double"),
|
|
65
|
+
* // EarnedPoints: Number("int"),
|
|
66
|
+
* // MaxBasePoint: Number("int"),
|
|
67
|
+
* // PerformanceCategory: "NEEDS_IMPROVEMENT" || "EXCEEDS_EXPECTATIONS",
|
|
65
68
|
* // },
|
|
66
69
|
* // Acknowledgement: { // EvaluationAcknowledgementSummary
|
|
67
70
|
* // AcknowledgedTime: new Date("TIMESTAMP"),
|
|
@@ -158,6 +158,40 @@ declare const SearchContactEvaluationsCommand_base: {
|
|
|
158
158
|
* },
|
|
159
159
|
* TagCondition: "<TagCondition>",
|
|
160
160
|
* },
|
|
161
|
+
* ContactEvaluationAttributeFilter: { // ContactEvaluationAttributeFilter
|
|
162
|
+
* OrConditions: [ // ContactEvaluationAttributeOrConditionList
|
|
163
|
+
* { // ContactEvaluationAttributeAndCondition
|
|
164
|
+
* TagConditions: [
|
|
165
|
+
* "<TagCondition>",
|
|
166
|
+
* ],
|
|
167
|
+
* AttributeConditions: [ // ContactEvaluationAttributeConditionList
|
|
168
|
+
* { // ContactEvaluationAttributeCondition
|
|
169
|
+
* AttributeKey: "ContactAgentId",
|
|
170
|
+
* AttributeValue: { // ContactEvaluationAttributeValue
|
|
171
|
+
* StringValue: "STRING_VALUE",
|
|
172
|
+
* },
|
|
173
|
+
* ComparisonType: "EXACT",
|
|
174
|
+
* },
|
|
175
|
+
* ],
|
|
176
|
+
* },
|
|
177
|
+
* ],
|
|
178
|
+
* AndCondition: {
|
|
179
|
+
* TagConditions: [
|
|
180
|
+
* "<TagCondition>",
|
|
181
|
+
* ],
|
|
182
|
+
* AttributeConditions: [
|
|
183
|
+
* {
|
|
184
|
+
* AttributeKey: "ContactAgentId",
|
|
185
|
+
* AttributeValue: {
|
|
186
|
+
* StringValue: "STRING_VALUE",
|
|
187
|
+
* },
|
|
188
|
+
* ComparisonType: "EXACT",
|
|
189
|
+
* },
|
|
190
|
+
* ],
|
|
191
|
+
* },
|
|
192
|
+
* TagCondition: "<TagCondition>",
|
|
193
|
+
* ContactEvaluationAttributeCondition: "<ContactEvaluationAttributeCondition>",
|
|
194
|
+
* },
|
|
161
195
|
* },
|
|
162
196
|
* };
|
|
163
197
|
* const command = new SearchContactEvaluationsCommand(input);
|
|
@@ -187,6 +221,9 @@ declare const SearchContactEvaluationsCommand_base: {
|
|
|
187
221
|
* // ReviewId: "STRING_VALUE",
|
|
188
222
|
* // ContactParticipantRole: "AGENT" || "SYSTEM" || "CUSTOM_BOT" || "CUSTOMER",
|
|
189
223
|
* // ContactParticipantId: "STRING_VALUE",
|
|
224
|
+
* // EarnedPoints: Number("int"),
|
|
225
|
+
* // MaxBasePoint: Number("int"),
|
|
226
|
+
* // PerformanceCategory: "NEEDS_IMPROVEMENT" || "EXCEEDS_EXPECTATIONS",
|
|
190
227
|
* // },
|
|
191
228
|
* // Status: "DRAFT" || "SUBMITTED" || "REVIEW_REQUESTED" || "UNDER_REVIEW", // required
|
|
192
229
|
* // EvaluationType: "STANDARD" || "CALIBRATION",
|
|
@@ -2,7 +2,7 @@ import { Command as $Command } from "@smithy/core/client";
|
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
4
|
import type { SearchContactsRequest } from "../models/models_2";
|
|
5
|
-
import type { SearchContactsResponse } from "../models/
|
|
5
|
+
import type { SearchContactsResponse } from "../models/models_4";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import type { SearchEvaluationFormsResponse } from "../models/
|
|
5
|
-
import type { SearchEvaluationFormsRequest } from "../models/models_3";
|
|
4
|
+
import type { SearchEvaluationFormsRequest, SearchEvaluationFormsResponse } from "../models/models_3";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import type { SearchHoursOfOperationOverridesResponse } from "../models/
|
|
5
|
-
import type { SearchHoursOfOperationOverridesRequest } from "../models/models_3";
|
|
4
|
+
import type { SearchHoursOfOperationOverridesRequest, SearchHoursOfOperationOverridesResponse } from "../models/models_3";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import type { SearchHoursOfOperationsResponse } from "../models/
|
|
5
|
-
import type { SearchHoursOfOperationsRequest } from "../models/models_3";
|
|
4
|
+
import type { SearchHoursOfOperationsRequest, SearchHoursOfOperationsResponse } from "../models/models_3";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import type { SearchNotificationsResponse } from "../models/
|
|
5
|
-
import type { SearchNotificationsRequest } from "../models/models_3";
|
|
4
|
+
import type { SearchNotificationsRequest, SearchNotificationsResponse } from "../models/models_3";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import type { SearchPredefinedAttributesResponse } from "../models/
|
|
5
|
-
import type { SearchPredefinedAttributesRequest } from "../models/models_3";
|
|
4
|
+
import type { SearchPredefinedAttributesRequest, SearchPredefinedAttributesResponse } from "../models/models_3";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
+
import type { StartEvaluationFormValidationRequest, StartEvaluationFormValidationResponse } from "../models/models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartEvaluationFormValidationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartEvaluationFormValidationCommandInput extends StartEvaluationFormValidationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartEvaluationFormValidationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartEvaluationFormValidationCommandOutput extends StartEvaluationFormValidationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartEvaluationFormValidationCommand_base: {
|
|
25
|
+
new (input: StartEvaluationFormValidationCommandInput): import("@smithy/core/client").CommandImpl<StartEvaluationFormValidationCommandInput, StartEvaluationFormValidationCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartEvaluationFormValidationCommandInput): import("@smithy/core/client").CommandImpl<StartEvaluationFormValidationCommandInput, StartEvaluationFormValidationCommandOutput, ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Starts an asynchronous validation process for an evaluation form version in the specified Connect Customer
|
|
33
|
+
* instance. The validation first performs structural checks on the form content (such as verifying required fields,
|
|
34
|
+
* valid scoring configuration, and correct conditional logic), then asynchronously analyzes questions configured for
|
|
35
|
+
* generative AI evaluation against a set of best practices. Use <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_GetEvaluationFormValidation.html">GetEvaluationFormValidation</a> to
|
|
36
|
+
* retrieve the status and results once the validation completes.</p>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { ConnectClient, StartEvaluationFormValidationCommand } from "@aws-sdk/client-connect"; // ES Modules import
|
|
41
|
+
* // const { ConnectClient, StartEvaluationFormValidationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
|
|
42
|
+
* // import type { ConnectClientConfig } from "@aws-sdk/client-connect";
|
|
43
|
+
* const config = {}; // type is ConnectClientConfig
|
|
44
|
+
* const client = new ConnectClient(config);
|
|
45
|
+
* const input = { // StartEvaluationFormValidationRequest
|
|
46
|
+
* InstanceId: "STRING_VALUE", // required
|
|
47
|
+
* EvaluationFormId: "STRING_VALUE", // required
|
|
48
|
+
* EvaluationFormVersion: Number("int"), // required
|
|
49
|
+
* };
|
|
50
|
+
* const command = new StartEvaluationFormValidationCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // StartEvaluationFormValidationResponse
|
|
53
|
+
* // EvaluationFormId: "STRING_VALUE", // required
|
|
54
|
+
* // EvaluationFormArn: "STRING_VALUE", // required
|
|
55
|
+
* // EvaluationFormVersion: Number("int"), // required
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param StartEvaluationFormValidationCommandInput - {@link StartEvaluationFormValidationCommandInput}
|
|
61
|
+
* @returns {@link StartEvaluationFormValidationCommandOutput}
|
|
62
|
+
* @see {@link StartEvaluationFormValidationCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link StartEvaluationFormValidationCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
67
|
+
* <p>Request processing failed because of an error or failure with the service.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
70
|
+
* <p>One or more of the specified parameters are not valid.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
73
|
+
* <p>A resource already has that name.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The specified resource was not found.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
79
|
+
* <p>The service quota has been exceeded.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ConnectServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Connect service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class StartEvaluationFormValidationCommand extends StartEvaluationFormValidationCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: StartEvaluationFormValidationRequest;
|
|
95
|
+
output: StartEvaluationFormValidationResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: StartEvaluationFormValidationCommandInput;
|
|
99
|
+
output: StartEvaluationFormValidationCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import type {
|
|
4
|
+
import type { UpdateContactRoutingDataResponse } from "../models/models_3";
|
|
5
|
+
import type { UpdateContactRoutingDataRequest } from "../models/models_4";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|