@aws-sdk/client-connect 3.974.0 → 3.975.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.
Files changed (92) hide show
  1. package/README.md +77 -0
  2. package/dist-cjs/index.js +548 -24
  3. package/dist-es/Connect.js +22 -0
  4. package/dist-es/commands/CreateTestCaseCommand.js +16 -0
  5. package/dist-es/commands/DeleteTestCaseCommand.js +16 -0
  6. package/dist-es/commands/DescribeTestCaseCommand.js +16 -0
  7. package/dist-es/commands/GetTestCaseExecutionSummaryCommand.js +16 -0
  8. package/dist-es/commands/ListTestCaseExecutionRecordsCommand.js +16 -0
  9. package/dist-es/commands/ListTestCaseExecutionsCommand.js +16 -0
  10. package/dist-es/commands/ListTestCasesCommand.js +16 -0
  11. package/dist-es/commands/SearchTestCasesCommand.js +16 -0
  12. package/dist-es/commands/StartTestCaseExecutionCommand.js +16 -0
  13. package/dist-es/commands/StopTestCaseExecutionCommand.js +16 -0
  14. package/dist-es/commands/UpdateTestCaseCommand.js +16 -0
  15. package/dist-es/commands/index.js +11 -0
  16. package/dist-es/models/enums.js +20 -0
  17. package/dist-es/models/errors.js +14 -0
  18. package/dist-es/pagination/ListTestCasesPaginator.js +4 -0
  19. package/dist-es/pagination/SearchTestCasesPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +2 -0
  21. package/dist-es/schemas/schemas_0.js +307 -25
  22. package/dist-types/Connect.d.ts +77 -0
  23. package/dist-types/ConnectClient.d.ts +13 -2
  24. package/dist-types/commands/CreateTestCaseCommand.d.ts +127 -0
  25. package/dist-types/commands/CreateWorkspacePageCommand.d.ts +1 -1
  26. package/dist-types/commands/DeactivateEvaluationFormCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteTestCaseCommand.d.ts +91 -0
  28. package/dist-types/commands/DescribeTestCaseCommand.d.ts +116 -0
  29. package/dist-types/commands/GetTestCaseExecutionSummaryCommand.d.ts +101 -0
  30. package/dist-types/commands/ListAnalyticsDataLakeDataSetsCommand.d.ts +2 -1
  31. package/dist-types/commands/ListApprovedOriginsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListAssociatedContactsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListAuthenticationProfilesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListBotsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListTestCaseExecutionRecordsCommand.d.ts +105 -0
  36. package/dist-types/commands/ListTestCaseExecutionsCommand.d.ts +111 -0
  37. package/dist-types/commands/ListTestCasesCommand.d.ts +104 -0
  38. package/dist-types/commands/SearchTestCasesCommand.d.ts +167 -0
  39. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +1 -1
  40. package/dist-types/commands/SendOutboundEmailCommand.d.ts +1 -1
  41. package/dist-types/commands/StartAttachedFileUploadCommand.d.ts +1 -1
  42. package/dist-types/commands/StartChatContactCommand.d.ts +1 -2
  43. package/dist-types/commands/StartTestCaseExecutionCommand.d.ts +99 -0
  44. package/dist-types/commands/StopTestCaseExecutionCommand.d.ts +93 -0
  45. package/dist-types/commands/UpdateTestCaseCommand.d.ts +112 -0
  46. package/dist-types/commands/index.d.ts +11 -0
  47. package/dist-types/models/enums.d.ts +52 -0
  48. package/dist-types/models/errors.d.ts +17 -0
  49. package/dist-types/models/models_0.d.ts +113 -84
  50. package/dist-types/models/models_1.d.ts +267 -282
  51. package/dist-types/models/models_2.d.ts +578 -599
  52. package/dist-types/models/models_3.d.ts +774 -3
  53. package/dist-types/pagination/ListTestCasesPaginator.d.ts +7 -0
  54. package/dist-types/pagination/SearchTestCasesPaginator.d.ts +7 -0
  55. package/dist-types/pagination/index.d.ts +2 -0
  56. package/dist-types/schemas/schemas_0.d.ts +43 -0
  57. package/dist-types/ts3.4/Connect.d.ts +187 -0
  58. package/dist-types/ts3.4/ConnectClient.d.ts +66 -0
  59. package/dist-types/ts3.4/commands/CreateTestCaseCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/CreateWorkspacePageCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/DeactivateEvaluationFormCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/DeleteTestCaseCommand.d.ts +50 -0
  63. package/dist-types/ts3.4/commands/DescribeTestCaseCommand.d.ts +50 -0
  64. package/dist-types/ts3.4/commands/GetTestCaseExecutionSummaryCommand.d.ts +51 -0
  65. package/dist-types/ts3.4/commands/ListAnalyticsDataLakeDataSetsCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/ListApprovedOriginsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListAssociatedContactsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListAuthenticationProfilesCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ListTestCaseExecutionRecordsCommand.d.ts +51 -0
  71. package/dist-types/ts3.4/commands/ListTestCaseExecutionsCommand.d.ts +51 -0
  72. package/dist-types/ts3.4/commands/ListTestCasesCommand.d.ts +50 -0
  73. package/dist-types/ts3.4/commands/SearchTestCasesCommand.d.ts +48 -0
  74. package/dist-types/ts3.4/commands/SendChatIntegrationEventCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/SendOutboundEmailCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/StartAttachedFileUploadCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +4 -2
  78. package/dist-types/ts3.4/commands/StartTestCaseExecutionCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/StopTestCaseExecutionCommand.d.ts +51 -0
  80. package/dist-types/ts3.4/commands/UpdateTestCaseCommand.d.ts +50 -0
  81. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  82. package/dist-types/ts3.4/models/enums.d.ts +28 -0
  83. package/dist-types/ts3.4/models/errors.d.ts +8 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +28 -19
  85. package/dist-types/ts3.4/models/models_1.d.ts +65 -67
  86. package/dist-types/ts3.4/models/models_2.d.ts +137 -121
  87. package/dist-types/ts3.4/models/models_3.d.ts +167 -10
  88. package/dist-types/ts3.4/pagination/ListTestCasesPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/SearchTestCasesPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  91. package/dist-types/ts3.4/schemas/schemas_0.d.ts +43 -0
  92. package/package.json +9 -9
@@ -0,0 +1,48 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectClient";
8
+ import { SearchTestCasesResponse } from "../models/models_2";
9
+ import { SearchTestCasesRequest } from "../models/models_3";
10
+ export { __MetadataBearer };
11
+ export { $Command };
12
+ export interface SearchTestCasesCommandInput extends SearchTestCasesRequest {}
13
+ export interface SearchTestCasesCommandOutput
14
+ extends SearchTestCasesResponse,
15
+ __MetadataBearer {}
16
+ declare const SearchTestCasesCommand_base: {
17
+ new (
18
+ input: SearchTestCasesCommandInput
19
+ ): import("@smithy/smithy-client").CommandImpl<
20
+ SearchTestCasesCommandInput,
21
+ SearchTestCasesCommandOutput,
22
+ ConnectClientResolvedConfig,
23
+ ServiceInputTypes,
24
+ ServiceOutputTypes
25
+ >;
26
+ new (
27
+ input: SearchTestCasesCommandInput
28
+ ): import("@smithy/smithy-client").CommandImpl<
29
+ SearchTestCasesCommandInput,
30
+ SearchTestCasesCommandOutput,
31
+ ConnectClientResolvedConfig,
32
+ ServiceInputTypes,
33
+ ServiceOutputTypes
34
+ >;
35
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
36
+ };
37
+ export declare class SearchTestCasesCommand extends SearchTestCasesCommand_base {
38
+ protected static __types: {
39
+ api: {
40
+ input: SearchTestCasesRequest;
41
+ output: SearchTestCasesResponse;
42
+ };
43
+ sdk: {
44
+ input: SearchTestCasesCommandInput;
45
+ output: SearchTestCasesCommandOutput;
46
+ };
47
+ };
48
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  SendChatIntegrationEventRequest,
10
10
  SendChatIntegrationEventResponse,
11
- } from "../models/models_2";
11
+ } from "../models/models_3";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface SendChatIntegrationEventCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  SendOutboundEmailRequest,
10
10
  SendOutboundEmailResponse,
11
- } from "../models/models_2";
11
+ } from "../models/models_3";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface SendOutboundEmailCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  StartAttachedFileUploadRequest,
10
10
  StartAttachedFileUploadResponse,
11
- } from "../models/models_2";
11
+ } from "../models/models_3";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface StartAttachedFileUploadCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { StartChatContactResponse } from "../models/models_2";
9
- import { StartChatContactRequest } from "../models/models_3";
8
+ import {
9
+ StartChatContactRequest,
10
+ StartChatContactResponse,
11
+ } from "../models/models_3";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface StartChatContactCommandInput extends StartChatContactRequest {}
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectClient";
8
+ import {
9
+ StartTestCaseExecutionRequest,
10
+ StartTestCaseExecutionResponse,
11
+ } from "../models/models_3";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StartTestCaseExecutionCommandInput
15
+ extends StartTestCaseExecutionRequest {}
16
+ export interface StartTestCaseExecutionCommandOutput
17
+ extends StartTestCaseExecutionResponse,
18
+ __MetadataBearer {}
19
+ declare const StartTestCaseExecutionCommand_base: {
20
+ new (
21
+ input: StartTestCaseExecutionCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StartTestCaseExecutionCommandInput,
24
+ StartTestCaseExecutionCommandOutput,
25
+ ConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: StartTestCaseExecutionCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StartTestCaseExecutionCommandInput,
33
+ StartTestCaseExecutionCommandOutput,
34
+ ConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StartTestCaseExecutionCommand extends StartTestCaseExecutionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StartTestCaseExecutionRequest;
44
+ output: StartTestCaseExecutionResponse;
45
+ };
46
+ sdk: {
47
+ input: StartTestCaseExecutionCommandInput;
48
+ output: StartTestCaseExecutionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectClient";
8
+ import {
9
+ StopTestCaseExecutionRequest,
10
+ StopTestCaseExecutionResponse,
11
+ } from "../models/models_3";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StopTestCaseExecutionCommandInput
15
+ extends StopTestCaseExecutionRequest {}
16
+ export interface StopTestCaseExecutionCommandOutput
17
+ extends StopTestCaseExecutionResponse,
18
+ __MetadataBearer {}
19
+ declare const StopTestCaseExecutionCommand_base: {
20
+ new (
21
+ input: StopTestCaseExecutionCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StopTestCaseExecutionCommandInput,
24
+ StopTestCaseExecutionCommandOutput,
25
+ ConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: StopTestCaseExecutionCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StopTestCaseExecutionCommandInput,
33
+ StopTestCaseExecutionCommandOutput,
34
+ ConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StopTestCaseExecutionCommand extends StopTestCaseExecutionCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StopTestCaseExecutionRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: StopTestCaseExecutionCommandInput;
48
+ output: StopTestCaseExecutionCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectClient";
8
+ import {
9
+ UpdateTestCaseRequest,
10
+ UpdateTestCaseResponse,
11
+ } from "../models/models_3";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateTestCaseCommandInput extends UpdateTestCaseRequest {}
15
+ export interface UpdateTestCaseCommandOutput
16
+ extends UpdateTestCaseResponse,
17
+ __MetadataBearer {}
18
+ declare const UpdateTestCaseCommand_base: {
19
+ new (
20
+ input: UpdateTestCaseCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ UpdateTestCaseCommandInput,
23
+ UpdateTestCaseCommandOutput,
24
+ ConnectClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: UpdateTestCaseCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ UpdateTestCaseCommandInput,
32
+ UpdateTestCaseCommandOutput,
33
+ ConnectClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class UpdateTestCaseCommand extends UpdateTestCaseCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: UpdateTestCaseRequest;
43
+ output: {};
44
+ };
45
+ sdk: {
46
+ input: UpdateTestCaseCommandInput;
47
+ output: UpdateTestCaseCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -55,6 +55,7 @@ export * from "./CreateRoutingProfileCommand";
55
55
  export * from "./CreateRuleCommand";
56
56
  export * from "./CreateSecurityProfileCommand";
57
57
  export * from "./CreateTaskTemplateCommand";
58
+ export * from "./CreateTestCaseCommand";
58
59
  export * from "./CreateTrafficDistributionGroupCommand";
59
60
  export * from "./CreateUseCaseCommand";
60
61
  export * from "./CreateUserCommand";
@@ -89,6 +90,7 @@ export * from "./DeleteRoutingProfileCommand";
89
90
  export * from "./DeleteRuleCommand";
90
91
  export * from "./DeleteSecurityProfileCommand";
91
92
  export * from "./DeleteTaskTemplateCommand";
93
+ export * from "./DeleteTestCaseCommand";
92
94
  export * from "./DeleteTrafficDistributionGroupCommand";
93
95
  export * from "./DeleteUseCaseCommand";
94
96
  export * from "./DeleteUserCommand";
@@ -123,6 +125,7 @@ export * from "./DescribeQuickConnectCommand";
123
125
  export * from "./DescribeRoutingProfileCommand";
124
126
  export * from "./DescribeRuleCommand";
125
127
  export * from "./DescribeSecurityProfileCommand";
128
+ export * from "./DescribeTestCaseCommand";
126
129
  export * from "./DescribeTrafficDistributionGroupCommand";
127
130
  export * from "./DescribeUserCommand";
128
131
  export * from "./DescribeUserHierarchyGroupCommand";
@@ -161,6 +164,7 @@ export * from "./GetMetricDataCommand";
161
164
  export * from "./GetMetricDataV2Command";
162
165
  export * from "./GetPromptFileCommand";
163
166
  export * from "./GetTaskTemplateCommand";
167
+ export * from "./GetTestCaseExecutionSummaryCommand";
164
168
  export * from "./GetTrafficDistributionCommand";
165
169
  export * from "./ImportPhoneNumberCommand";
166
170
  export * from "./ImportWorkspaceMediaCommand";
@@ -215,6 +219,9 @@ export * from "./ListSecurityProfilePermissionsCommand";
215
219
  export * from "./ListSecurityProfilesCommand";
216
220
  export * from "./ListTagsForResourceCommand";
217
221
  export * from "./ListTaskTemplatesCommand";
222
+ export * from "./ListTestCaseExecutionRecordsCommand";
223
+ export * from "./ListTestCaseExecutionsCommand";
224
+ export * from "./ListTestCasesCommand";
218
225
  export * from "./ListTrafficDistributionGroupUsersCommand";
219
226
  export * from "./ListTrafficDistributionGroupsCommand";
220
227
  export * from "./ListUseCasesCommand";
@@ -251,6 +258,7 @@ export * from "./SearchQuickConnectsCommand";
251
258
  export * from "./SearchResourceTagsCommand";
252
259
  export * from "./SearchRoutingProfilesCommand";
253
260
  export * from "./SearchSecurityProfilesCommand";
261
+ export * from "./SearchTestCasesCommand";
254
262
  export * from "./SearchUserHierarchyGroupsCommand";
255
263
  export * from "./SearchUsersCommand";
256
264
  export * from "./SearchViewsCommand";
@@ -271,11 +279,13 @@ export * from "./StartOutboundEmailContactCommand";
271
279
  export * from "./StartOutboundVoiceContactCommand";
272
280
  export * from "./StartScreenSharingCommand";
273
281
  export * from "./StartTaskContactCommand";
282
+ export * from "./StartTestCaseExecutionCommand";
274
283
  export * from "./StartWebRTCContactCommand";
275
284
  export * from "./StopContactCommand";
276
285
  export * from "./StopContactMediaProcessingCommand";
277
286
  export * from "./StopContactRecordingCommand";
278
287
  export * from "./StopContactStreamingCommand";
288
+ export * from "./StopTestCaseExecutionCommand";
279
289
  export * from "./SubmitContactEvaluationCommand";
280
290
  export * from "./SuspendContactRecordingCommand";
281
291
  export * from "./TagContactCommand";
@@ -327,6 +337,7 @@ export * from "./UpdateRoutingProfileQueuesCommand";
327
337
  export * from "./UpdateRuleCommand";
328
338
  export * from "./UpdateSecurityProfileCommand";
329
339
  export * from "./UpdateTaskTemplateCommand";
340
+ export * from "./UpdateTestCaseCommand";
330
341
  export * from "./UpdateTrafficDistributionCommand";
331
342
  export * from "./UpdateUserHierarchyCommand";
332
343
  export * from "./UpdateUserHierarchyGroupNameCommand";
@@ -628,6 +628,17 @@ export declare const PropertyValidationExceptionReason: {
628
628
  };
629
629
  export type PropertyValidationExceptionReason =
630
630
  (typeof PropertyValidationExceptionReason)[keyof typeof PropertyValidationExceptionReason];
631
+ export declare const TestCaseEntryPointType: {
632
+ readonly VOICE_CALL: "VOICE_CALL";
633
+ };
634
+ export type TestCaseEntryPointType =
635
+ (typeof TestCaseEntryPointType)[keyof typeof TestCaseEntryPointType];
636
+ export declare const TestCaseStatus: {
637
+ readonly PUBLISHED: "PUBLISHED";
638
+ readonly SAVED: "SAVED";
639
+ };
640
+ export type TestCaseStatus =
641
+ (typeof TestCaseStatus)[keyof typeof TestCaseStatus];
631
642
  export declare const UseCaseType: {
632
643
  readonly CONNECT_CAMPAIGNS: "CONNECT_CAMPAIGNS";
633
644
  readonly RULES_EVALUATION: "RULES_EVALUATION";
@@ -1236,6 +1247,15 @@ export declare const IntervalPeriod: {
1236
1247
  };
1237
1248
  export type IntervalPeriod =
1238
1249
  (typeof IntervalPeriod)[keyof typeof IntervalPeriod];
1250
+ export declare const TestCaseExecutionStatus: {
1251
+ readonly FAILED: "FAILED";
1252
+ readonly INITIATED: "INITIATED";
1253
+ readonly IN_PROGRESS: "IN_PROGRESS";
1254
+ readonly PASSED: "PASSED";
1255
+ readonly STOPPED: "STOPPED";
1256
+ };
1257
+ export type TestCaseExecutionStatus =
1258
+ (typeof TestCaseExecutionStatus)[keyof typeof TestCaseExecutionStatus];
1239
1259
  export declare const LexVersion: {
1240
1260
  readonly V1: "V1";
1241
1261
  readonly V2: "V2";
@@ -1304,6 +1324,14 @@ export declare const RealTimeContactAnalysisStatus: {
1304
1324
  };
1305
1325
  export type RealTimeContactAnalysisStatus =
1306
1326
  (typeof RealTimeContactAnalysisStatus)[keyof typeof RealTimeContactAnalysisStatus];
1327
+ export declare const ExecutionRecordStatus: {
1328
+ readonly FAILED: "FAILED";
1329
+ readonly IN_PROGRESS: "IN_PROGRESS";
1330
+ readonly PASSED: "PASSED";
1331
+ readonly STOPPED: "STOPPED";
1332
+ };
1333
+ export type ExecutionRecordStatus =
1334
+ (typeof ExecutionRecordStatus)[keyof typeof ExecutionRecordStatus];
1307
1335
  export declare const ContactRecordingType: {
1308
1336
  readonly AGENT: "AGENT";
1309
1337
  readonly IVR: "IVR";
@@ -142,6 +142,14 @@ export declare class PropertyValidationException extends __BaseException {
142
142
  opts: __ExceptionOptionType<PropertyValidationException, __BaseException>
143
143
  );
144
144
  }
145
+ export declare class InvalidTestCaseException extends __BaseException {
146
+ readonly name: "InvalidTestCaseException";
147
+ readonly $fault: "client";
148
+ Problems?: ProblemDetail[] | undefined;
149
+ constructor(
150
+ opts: __ExceptionOptionType<InvalidTestCaseException, __BaseException>
151
+ );
152
+ }
145
153
  export declare class ResourceNotReadyException extends __BaseException {
146
154
  readonly name: "ResourceNotReadyException";
147
155
  readonly $fault: "client";
@@ -70,6 +70,8 @@ import {
70
70
  StringComparisonType,
71
71
  TaskTemplateFieldType,
72
72
  TaskTemplateStatus,
73
+ TestCaseEntryPointType,
74
+ TestCaseStatus,
73
75
  UseCaseType,
74
76
  VideoCapability,
75
77
  ViewStatus,
@@ -1542,6 +1544,32 @@ export interface PropertyValidationExceptionProperty {
1542
1544
  Reason: PropertyValidationExceptionReason | undefined;
1543
1545
  Message: string | undefined;
1544
1546
  }
1547
+ export interface VoiceCallEntryPointParameters {
1548
+ SourcePhoneNumber?: string | undefined;
1549
+ DestinationPhoneNumber?: string | undefined;
1550
+ FlowId?: string | undefined;
1551
+ }
1552
+ export interface TestCaseEntryPoint {
1553
+ Type?: TestCaseEntryPointType | undefined;
1554
+ VoiceCallEntryPointParameters?: VoiceCallEntryPointParameters | undefined;
1555
+ }
1556
+ export interface CreateTestCaseRequest {
1557
+ InstanceId: string | undefined;
1558
+ Name: string | undefined;
1559
+ Description?: string | undefined;
1560
+ Content: string | undefined;
1561
+ EntryPoint?: TestCaseEntryPoint | undefined;
1562
+ InitializationData?: string | undefined;
1563
+ Status?: TestCaseStatus | undefined;
1564
+ TestCaseId?: string | undefined;
1565
+ Tags?: Record<string, string> | undefined;
1566
+ LastModifiedTime?: Date | undefined;
1567
+ LastModifiedRegion?: string | undefined;
1568
+ }
1569
+ export interface CreateTestCaseResponse {
1570
+ TestCaseId?: string | undefined;
1571
+ TestCaseArn?: string | undefined;
1572
+ }
1545
1573
  export interface CreateTrafficDistributionGroupRequest {
1546
1574
  Name: string | undefined;
1547
1575
  Description?: string | undefined;
@@ -1726,22 +1754,3 @@ export interface CreateWorkspaceResponse {
1726
1754
  WorkspaceId: string | undefined;
1727
1755
  WorkspaceArn: string | undefined;
1728
1756
  }
1729
- export interface CreateWorkspacePageRequest {
1730
- InstanceId: string | undefined;
1731
- WorkspaceId: string | undefined;
1732
- ResourceArn: string | undefined;
1733
- Page: string | undefined;
1734
- Slug?: string | undefined;
1735
- InputData?: string | undefined;
1736
- }
1737
- export interface CreateWorkspacePageResponse {}
1738
- export interface DeactivateEvaluationFormRequest {
1739
- InstanceId: string | undefined;
1740
- EvaluationFormId: string | undefined;
1741
- EvaluationFormVersion: number | undefined;
1742
- }
1743
- export interface DeactivateEvaluationFormResponse {
1744
- EvaluationFormId: string | undefined;
1745
- EvaluationFormArn: string | undefined;
1746
- EvaluationFormVersion: number | undefined;
1747
- }
@@ -9,7 +9,6 @@ import {
9
9
  ContactFlowState,
10
10
  ContactFlowStatus,
11
11
  ContactFlowType,
12
- ContactInitiationMethod,
13
12
  ContactMetricName,
14
13
  ContactParticipantRole,
15
14
  ContactState,
@@ -36,7 +35,6 @@ import {
36
35
  InstanceStatus,
37
36
  InstanceStorageResourceType,
38
37
  IntervalPeriod,
39
- LexVersion,
40
38
  MediaStreamType,
41
39
  MediaType,
42
40
  NextContactType,
@@ -56,6 +54,8 @@ import {
56
54
  Status,
57
55
  StorageType,
58
56
  TaskTemplateStatus,
57
+ TestCaseExecutionStatus,
58
+ TestCaseStatus,
59
59
  TrafficDistributionGroupStatus,
60
60
  Unit,
61
61
  Visibility,
@@ -89,6 +89,7 @@ import {
89
89
  RuleTriggerEventSource,
90
90
  TaskTemplateConstraints,
91
91
  TaskTemplateDefaults,
92
+ TestCaseEntryPoint,
92
93
  UserIdentityInfo,
93
94
  UserPhoneConfig,
94
95
  Validation,
@@ -111,6 +112,25 @@ import {
111
112
  SuccessfulBatchAssociationSummary,
112
113
  TaskTemplateField,
113
114
  } from "./models_0";
115
+ export interface CreateWorkspacePageRequest {
116
+ InstanceId: string | undefined;
117
+ WorkspaceId: string | undefined;
118
+ ResourceArn: string | undefined;
119
+ Page: string | undefined;
120
+ Slug?: string | undefined;
121
+ InputData?: string | undefined;
122
+ }
123
+ export interface CreateWorkspacePageResponse {}
124
+ export interface DeactivateEvaluationFormRequest {
125
+ InstanceId: string | undefined;
126
+ EvaluationFormId: string | undefined;
127
+ EvaluationFormVersion: number | undefined;
128
+ }
129
+ export interface DeactivateEvaluationFormResponse {
130
+ EvaluationFormId: string | undefined;
131
+ EvaluationFormArn: string | undefined;
132
+ EvaluationFormVersion: number | undefined;
133
+ }
114
134
  export interface DeleteAttachedFileRequest {
115
135
  InstanceId: string | undefined;
116
136
  FileId: string | undefined;
@@ -228,6 +248,11 @@ export interface DeleteTaskTemplateRequest {
228
248
  TaskTemplateId: string | undefined;
229
249
  }
230
250
  export interface DeleteTaskTemplateResponse {}
251
+ export interface DeleteTestCaseRequest {
252
+ InstanceId: string | undefined;
253
+ TestCaseId: string | undefined;
254
+ }
255
+ export interface DeleteTestCaseResponse {}
231
256
  export interface DeleteTrafficDistributionGroupRequest {
232
257
  TrafficDistributionGroupId: string | undefined;
233
258
  }
@@ -1035,6 +1060,28 @@ export interface SecurityProfile {
1035
1060
  export interface DescribeSecurityProfileResponse {
1036
1061
  SecurityProfile?: SecurityProfile | undefined;
1037
1062
  }
1063
+ export interface DescribeTestCaseRequest {
1064
+ InstanceId: string | undefined;
1065
+ TestCaseId: string | undefined;
1066
+ Status?: TestCaseStatus | undefined;
1067
+ }
1068
+ export interface TestCase {
1069
+ Arn?: string | undefined;
1070
+ Id?: string | undefined;
1071
+ Name?: string | undefined;
1072
+ Content?: string | undefined;
1073
+ EntryPoint?: TestCaseEntryPoint | undefined;
1074
+ InitializationData?: string | undefined;
1075
+ Description?: string | undefined;
1076
+ Status?: TestCaseStatus | undefined;
1077
+ LastModifiedTime?: Date | undefined;
1078
+ LastModifiedRegion?: string | undefined;
1079
+ Tags?: Record<string, string> | undefined;
1080
+ TestCaseSha256?: string | undefined;
1081
+ }
1082
+ export interface DescribeTestCaseResponse {
1083
+ TestCase?: TestCase | undefined;
1084
+ }
1038
1085
  export interface DescribeTrafficDistributionGroupRequest {
1039
1086
  TrafficDistributionGroupId: string | undefined;
1040
1087
  }
@@ -1636,6 +1683,22 @@ export interface GetTaskTemplateResponse {
1636
1683
  CreatedTime?: Date | undefined;
1637
1684
  Tags?: Record<string, string> | undefined;
1638
1685
  }
1686
+ export interface GetTestCaseExecutionSummaryRequest {
1687
+ InstanceId: string | undefined;
1688
+ TestCaseId: string | undefined;
1689
+ TestCaseExecutionId: string | undefined;
1690
+ }
1691
+ export interface ObservationSummary {
1692
+ TotalObservations?: number | undefined;
1693
+ ObservationsPassed?: number | undefined;
1694
+ ObservationsFailed?: number | undefined;
1695
+ }
1696
+ export interface GetTestCaseExecutionSummaryResponse {
1697
+ StartTime?: Date | undefined;
1698
+ EndTime?: Date | undefined;
1699
+ Status?: TestCaseExecutionStatus | undefined;
1700
+ ObservationSummary?: ObservationSummary | undefined;
1701
+ }
1639
1702
  export interface GetTrafficDistributionRequest {
1640
1703
  Id: string | undefined;
1641
1704
  }
@@ -1703,68 +1766,3 @@ export interface AnalyticsDataSetsResult {
1703
1766
  DataSetId?: string | undefined;
1704
1767
  DataSetName?: string | undefined;
1705
1768
  }
1706
- export interface ListAnalyticsDataLakeDataSetsResponse {
1707
- Results?: AnalyticsDataSetsResult[] | undefined;
1708
- NextToken?: string | undefined;
1709
- }
1710
- export interface ListApprovedOriginsRequest {
1711
- InstanceId: string | undefined;
1712
- NextToken?: string | undefined;
1713
- MaxResults?: number | undefined;
1714
- }
1715
- export interface ListApprovedOriginsResponse {
1716
- Origins?: string[] | undefined;
1717
- NextToken?: string | undefined;
1718
- }
1719
- export interface ListAssociatedContactsRequest {
1720
- InstanceId: string | undefined;
1721
- ContactId: string | undefined;
1722
- MaxResults?: number | undefined;
1723
- NextToken?: string | undefined;
1724
- }
1725
- export interface AssociatedContactSummary {
1726
- ContactId?: string | undefined;
1727
- ContactArn?: string | undefined;
1728
- InitiationTimestamp?: Date | undefined;
1729
- DisconnectTimestamp?: Date | undefined;
1730
- InitialContactId?: string | undefined;
1731
- PreviousContactId?: string | undefined;
1732
- RelatedContactId?: string | undefined;
1733
- InitiationMethod?: ContactInitiationMethod | undefined;
1734
- Channel?: Channel | undefined;
1735
- }
1736
- export interface ListAssociatedContactsResponse {
1737
- ContactSummaryList?: AssociatedContactSummary[] | undefined;
1738
- NextToken?: string | undefined;
1739
- }
1740
- export interface ListAuthenticationProfilesRequest {
1741
- InstanceId: string | undefined;
1742
- MaxResults?: number | undefined;
1743
- NextToken?: string | undefined;
1744
- }
1745
- export interface AuthenticationProfileSummary {
1746
- Id?: string | undefined;
1747
- Arn?: string | undefined;
1748
- Name?: string | undefined;
1749
- IsDefault?: boolean | undefined;
1750
- LastModifiedTime?: Date | undefined;
1751
- LastModifiedRegion?: string | undefined;
1752
- }
1753
- export interface ListAuthenticationProfilesResponse {
1754
- AuthenticationProfileSummaryList?: AuthenticationProfileSummary[] | undefined;
1755
- NextToken?: string | undefined;
1756
- }
1757
- export interface ListBotsRequest {
1758
- InstanceId: string | undefined;
1759
- NextToken?: string | undefined;
1760
- MaxResults?: number | undefined;
1761
- LexVersion: LexVersion | undefined;
1762
- }
1763
- export interface LexBotConfig {
1764
- LexBot?: LexBot | undefined;
1765
- LexV2Bot?: LexV2Bot | undefined;
1766
- }
1767
- export interface ListBotsResponse {
1768
- LexBots?: LexBotConfig[] | undefined;
1769
- NextToken?: string | undefined;
1770
- }