@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
@@ -3,7 +3,6 @@ import {
3
3
  AutoEvaluationStatus,
4
4
  BooleanComparisonType,
5
5
  Channel,
6
- ChatEventType,
7
6
  ContactFlowModuleState,
8
7
  ContactFlowState,
9
8
  ContactFlowStatus,
@@ -23,17 +22,16 @@ import {
23
22
  EvaluationStatus,
24
23
  EvaluationType,
25
24
  EventSourceName,
26
- FileStatusType,
27
- FileUseCaseType,
25
+ ExecutionRecordStatus,
28
26
  HierarchyGroupMatchType,
29
27
  InstanceStatus,
30
28
  InstanceStorageResourceType,
31
29
  IntegrationType,
30
+ LexVersion,
32
31
  ListFlowAssociationResourceType,
33
32
  MediaType,
34
33
  MonitorCapability,
35
34
  NumberComparisonType,
36
- OutboundMessageSourceType,
37
35
  ParticipantRole,
38
36
  PhoneNumberCountryCode,
39
37
  PhoneNumberType,
@@ -48,8 +46,6 @@ import {
48
46
  RealTimeContactAnalysisSupportedChannel,
49
47
  ReferenceStatus,
50
48
  ReferenceType,
51
- RehydrationType,
52
- ResponseMode,
53
49
  RulePublishStatus,
54
50
  SearchContactsMatchType,
55
51
  SearchContactsTimeRangeConditionType,
@@ -60,8 +56,9 @@ import {
60
56
  StringComparisonType,
61
57
  TargetListType,
62
58
  TaskTemplateStatus,
59
+ TestCaseExecutionStatus,
60
+ TestCaseStatus,
63
61
  TrafficDistributionGroupStatus,
64
- TrafficType,
65
62
  UseCaseType,
66
63
  ViewStatus,
67
64
  ViewType,
@@ -72,8 +69,8 @@ import {
72
69
  import {
73
70
  AgentHierarchyGroups,
74
71
  ControlPlaneAttributeFilter,
75
- CreatedByInfo,
76
72
  DataTableLockVersion,
73
+ LexV2Bot,
77
74
  StringCondition,
78
75
  UserPhoneConfig,
79
76
  ActionSummary,
@@ -93,6 +90,7 @@ import {
93
90
  import {
94
91
  EvaluationContactParticipant,
95
92
  EvaluationScore,
93
+ AnalyticsDataSetsResult,
96
94
  Attribute,
97
95
  ContactFlow,
98
96
  ContactFlowModule,
@@ -108,7 +106,73 @@ import {
108
106
  Queue,
109
107
  QuickConnect,
110
108
  RoutingProfile,
109
+ TestCase,
111
110
  } from "./models_1";
111
+ export interface ListAnalyticsDataLakeDataSetsResponse {
112
+ Results?: AnalyticsDataSetsResult[] | undefined;
113
+ NextToken?: string | undefined;
114
+ }
115
+ export interface ListApprovedOriginsRequest {
116
+ InstanceId: string | undefined;
117
+ NextToken?: string | undefined;
118
+ MaxResults?: number | undefined;
119
+ }
120
+ export interface ListApprovedOriginsResponse {
121
+ Origins?: string[] | undefined;
122
+ NextToken?: string | undefined;
123
+ }
124
+ export interface ListAssociatedContactsRequest {
125
+ InstanceId: string | undefined;
126
+ ContactId: string | undefined;
127
+ MaxResults?: number | undefined;
128
+ NextToken?: string | undefined;
129
+ }
130
+ export interface AssociatedContactSummary {
131
+ ContactId?: string | undefined;
132
+ ContactArn?: string | undefined;
133
+ InitiationTimestamp?: Date | undefined;
134
+ DisconnectTimestamp?: Date | undefined;
135
+ InitialContactId?: string | undefined;
136
+ PreviousContactId?: string | undefined;
137
+ RelatedContactId?: string | undefined;
138
+ InitiationMethod?: ContactInitiationMethod | undefined;
139
+ Channel?: Channel | undefined;
140
+ }
141
+ export interface ListAssociatedContactsResponse {
142
+ ContactSummaryList?: AssociatedContactSummary[] | undefined;
143
+ NextToken?: string | undefined;
144
+ }
145
+ export interface ListAuthenticationProfilesRequest {
146
+ InstanceId: string | undefined;
147
+ MaxResults?: number | undefined;
148
+ NextToken?: string | undefined;
149
+ }
150
+ export interface AuthenticationProfileSummary {
151
+ Id?: string | undefined;
152
+ Arn?: string | undefined;
153
+ Name?: string | undefined;
154
+ IsDefault?: boolean | undefined;
155
+ LastModifiedTime?: Date | undefined;
156
+ LastModifiedRegion?: string | undefined;
157
+ }
158
+ export interface ListAuthenticationProfilesResponse {
159
+ AuthenticationProfileSummaryList?: AuthenticationProfileSummary[] | undefined;
160
+ NextToken?: string | undefined;
161
+ }
162
+ export interface ListBotsRequest {
163
+ InstanceId: string | undefined;
164
+ NextToken?: string | undefined;
165
+ MaxResults?: number | undefined;
166
+ LexVersion: LexVersion | undefined;
167
+ }
168
+ export interface LexBotConfig {
169
+ LexBot?: LexBot | undefined;
170
+ LexV2Bot?: LexV2Bot | undefined;
171
+ }
172
+ export interface ListBotsResponse {
173
+ LexBots?: LexBotConfig[] | undefined;
174
+ NextToken?: string | undefined;
175
+ }
112
176
  export interface ListChildHoursOfOperationsRequest {
113
177
  InstanceId: string | undefined;
114
178
  HoursOfOperationId: string | undefined;
@@ -1143,6 +1207,63 @@ export interface ListTaskTemplatesResponse {
1143
1207
  TaskTemplates?: TaskTemplateMetadata[] | undefined;
1144
1208
  NextToken?: string | undefined;
1145
1209
  }
1210
+ export interface ListTestCaseExecutionRecordsRequest {
1211
+ InstanceId: string | undefined;
1212
+ TestCaseId: string | undefined;
1213
+ TestCaseExecutionId: string | undefined;
1214
+ Status?: TestCaseExecutionStatus | undefined;
1215
+ NextToken?: string | undefined;
1216
+ MaxResults?: number | undefined;
1217
+ }
1218
+ export interface ExecutionRecord {
1219
+ ObservationId?: string | undefined;
1220
+ Status?: ExecutionRecordStatus | undefined;
1221
+ Timestamp?: Date | undefined;
1222
+ Record?: string | undefined;
1223
+ }
1224
+ export interface ListTestCaseExecutionRecordsResponse {
1225
+ ExecutionRecords?: ExecutionRecord[] | undefined;
1226
+ NextToken?: string | undefined;
1227
+ }
1228
+ export interface ListTestCaseExecutionsRequest {
1229
+ InstanceId: string | undefined;
1230
+ TestCaseId?: string | undefined;
1231
+ TestCaseName?: string | undefined;
1232
+ StartTime?: Date | undefined;
1233
+ EndTime?: Date | undefined;
1234
+ Status?: TestCaseExecutionStatus | undefined;
1235
+ NextToken?: string | undefined;
1236
+ MaxResults?: number | undefined;
1237
+ }
1238
+ export interface TestCaseExecution {
1239
+ StartTime?: Date | undefined;
1240
+ EndTime?: Date | undefined;
1241
+ TestCaseExecutionId?: string | undefined;
1242
+ TestCaseId?: string | undefined;
1243
+ TestCaseExecutionStatus?: TestCaseExecutionStatus | undefined;
1244
+ Tags?: Record<string, string> | undefined;
1245
+ }
1246
+ export interface ListTestCaseExecutionsResponse {
1247
+ TestCaseExecutions?: TestCaseExecution[] | undefined;
1248
+ NextToken?: string | undefined;
1249
+ }
1250
+ export interface ListTestCasesRequest {
1251
+ InstanceId: string | undefined;
1252
+ NextToken?: string | undefined;
1253
+ MaxResults?: number | undefined;
1254
+ }
1255
+ export interface TestCaseSummary {
1256
+ Id?: string | undefined;
1257
+ Arn?: string | undefined;
1258
+ Name?: string | undefined;
1259
+ Status?: TestCaseStatus | undefined;
1260
+ LastModifiedTime?: Date | undefined;
1261
+ LastModifiedRegion?: string | undefined;
1262
+ }
1263
+ export interface ListTestCasesResponse {
1264
+ TestCaseSummaryList?: TestCaseSummary[] | undefined;
1265
+ NextToken?: string | undefined;
1266
+ }
1146
1267
  export interface ListTrafficDistributionGroupsRequest {
1147
1268
  MaxResults?: number | undefined;
1148
1269
  NextToken?: string | undefined;
@@ -1716,6 +1837,14 @@ export interface SearchSecurityProfilesResponse {
1716
1837
  NextToken?: string | undefined;
1717
1838
  ApproximateTotalCount?: number | undefined;
1718
1839
  }
1840
+ export interface TestCaseSearchFilter {
1841
+ TagFilter?: ControlPlaneTagFilter | undefined;
1842
+ }
1843
+ export interface SearchTestCasesResponse {
1844
+ TestCases?: TestCase[] | undefined;
1845
+ NextToken?: string | undefined;
1846
+ ApproximateTotalCount?: number | undefined;
1847
+ }
1719
1848
  export interface UserHierarchyGroupSearchFilter {
1720
1849
  AttributeFilter?: ControlPlaneAttributeFilter | undefined;
1721
1850
  }
@@ -1834,116 +1963,3 @@ export interface SearchWorkspacesResponse {
1834
1963
  Workspaces?: WorkspaceSearchSummary[] | undefined;
1835
1964
  ApproximateTotalCount?: number | undefined;
1836
1965
  }
1837
- export interface ChatEvent {
1838
- Type: ChatEventType | undefined;
1839
- ContentType?: string | undefined;
1840
- Content?: string | undefined;
1841
- }
1842
- export interface ParticipantDetails {
1843
- DisplayName: string | undefined;
1844
- }
1845
- export interface ChatStreamingConfiguration {
1846
- StreamingEndpointArn: string | undefined;
1847
- }
1848
- export interface NewSessionDetails {
1849
- SupportedMessagingContentTypes?: string[] | undefined;
1850
- ParticipantDetails?: ParticipantDetails | undefined;
1851
- Attributes?: Record<string, string> | undefined;
1852
- StreamingConfiguration?: ChatStreamingConfiguration | undefined;
1853
- }
1854
- export interface SendChatIntegrationEventRequest {
1855
- SourceId: string | undefined;
1856
- DestinationId: string | undefined;
1857
- Subtype?: string | undefined;
1858
- Event: ChatEvent | undefined;
1859
- NewSessionDetails?: NewSessionDetails | undefined;
1860
- }
1861
- export interface SendChatIntegrationEventResponse {
1862
- InitialContactId?: string | undefined;
1863
- NewChatCreated?: boolean | undefined;
1864
- }
1865
- export interface EmailAddressInfo {
1866
- EmailAddress: string | undefined;
1867
- DisplayName?: string | undefined;
1868
- }
1869
- export interface OutboundAdditionalRecipients {
1870
- CcEmailAddresses?: EmailAddressInfo[] | undefined;
1871
- }
1872
- export interface OutboundRawMessage {
1873
- Subject: string | undefined;
1874
- Body: string | undefined;
1875
- ContentType: string | undefined;
1876
- }
1877
- export interface TemplateAttributes {
1878
- CustomAttributes?: Record<string, string> | undefined;
1879
- CustomerProfileAttributes?: string | undefined;
1880
- }
1881
- export interface TemplatedMessageConfig {
1882
- KnowledgeBaseId: string | undefined;
1883
- MessageTemplateId: string | undefined;
1884
- TemplateAttributes: TemplateAttributes | undefined;
1885
- }
1886
- export interface OutboundEmailContent {
1887
- MessageSourceType: OutboundMessageSourceType | undefined;
1888
- TemplatedMessageConfig?: TemplatedMessageConfig | undefined;
1889
- RawMessage?: OutboundRawMessage | undefined;
1890
- }
1891
- export interface SourceCampaign {
1892
- CampaignId?: string | undefined;
1893
- OutboundRequestId?: string | undefined;
1894
- }
1895
- export interface SendOutboundEmailRequest {
1896
- InstanceId: string | undefined;
1897
- FromEmailAddress: EmailAddressInfo | undefined;
1898
- DestinationEmailAddress: EmailAddressInfo | undefined;
1899
- AdditionalRecipients?: OutboundAdditionalRecipients | undefined;
1900
- EmailMessage: OutboundEmailContent | undefined;
1901
- TrafficType: TrafficType | undefined;
1902
- SourceCampaign?: SourceCampaign | undefined;
1903
- ClientToken?: string | undefined;
1904
- }
1905
- export interface SendOutboundEmailResponse {}
1906
- export interface StartAttachedFileUploadRequest {
1907
- ClientToken?: string | undefined;
1908
- InstanceId: string | undefined;
1909
- FileName: string | undefined;
1910
- FileSizeInBytes: number | undefined;
1911
- UrlExpiryInSeconds?: number | undefined;
1912
- FileUseCaseType: FileUseCaseType | undefined;
1913
- AssociatedResourceArn: string | undefined;
1914
- CreatedBy?: CreatedByInfo | undefined;
1915
- Tags?: Record<string, string> | undefined;
1916
- }
1917
- export interface UploadUrlMetadata {
1918
- Url?: string | undefined;
1919
- UrlExpiry?: string | undefined;
1920
- HeadersToInclude?: Record<string, string> | undefined;
1921
- }
1922
- export interface StartAttachedFileUploadResponse {
1923
- FileArn?: string | undefined;
1924
- FileId?: string | undefined;
1925
- CreationTime?: string | undefined;
1926
- FileStatus?: FileStatusType | undefined;
1927
- CreatedBy?: CreatedByInfo | undefined;
1928
- UploadUrlMetadata?: UploadUrlMetadata | undefined;
1929
- }
1930
- export interface ChatMessage {
1931
- ContentType: string | undefined;
1932
- Content: string | undefined;
1933
- }
1934
- export interface ParticipantConfiguration {
1935
- ResponseMode?: ResponseMode | undefined;
1936
- }
1937
- export interface PersistentChat {
1938
- RehydrationType?: RehydrationType | undefined;
1939
- SourceContactId?: string | undefined;
1940
- }
1941
- export interface StartChatContactResponse {
1942
- ContactId?: string | undefined;
1943
- ParticipantId?: string | undefined;
1944
- ParticipantToken?: string | undefined;
1945
- ContinuedFromContactId?: string | undefined;
1946
- }
1947
- export interface AutoEvaluationConfiguration {
1948
- Enabled: boolean | undefined;
1949
- }
@@ -3,6 +3,7 @@ import {
3
3
  AgentStatusState,
4
4
  AnsweringMachineDetectionStatus,
5
5
  Channel,
6
+ ChatEventType,
6
7
  ContactFlowModuleState,
7
8
  ContactFlowModuleStatus,
8
9
  ContactFlowState,
@@ -19,20 +20,27 @@ import {
19
20
  EvaluationFormItemEnablementOperator,
20
21
  EvaluationFormQuestionType,
21
22
  EvaluationFormVersionStatus,
23
+ FileStatusType,
24
+ FileUseCaseType,
22
25
  InboundMessageSourceType,
23
26
  InitiateAs,
24
27
  InstanceAttributeType,
25
28
  InstanceStorageResourceType,
26
29
  IvrRecordingTrack,
27
30
  MeetingFeatureStatus,
31
+ OutboundMessageSourceType,
28
32
  OverrideType,
29
33
  ParticipantTimerAction,
30
34
  ParticipantTimerType,
31
35
  QueueStatus,
36
+ RehydrationType,
37
+ ResponseMode,
32
38
  RoutingCriteriaStepStatus,
33
39
  RulePublishStatus,
34
40
  SearchableQueueType,
35
41
  TaskTemplateStatus,
42
+ TestCaseExecutionStatus,
43
+ TestCaseStatus,
36
44
  TimerEligibleParticipantRoles,
37
45
  TrafficType,
38
46
  ViewStatus,
@@ -47,6 +55,7 @@ import {
47
55
  AgentStatusSearchFilter,
48
56
  AllowedCapabilities,
49
57
  Campaign,
58
+ CreatedByInfo,
50
59
  DataTableLockVersion,
51
60
  Endpoint,
52
61
  EvaluationFormAutoEvaluationConfiguration,
@@ -67,6 +76,7 @@ import {
67
76
  StringCondition,
68
77
  TaskTemplateConstraints,
69
78
  TaskTemplateDefaults,
79
+ TestCaseEntryPoint,
70
80
  UserIdentityInfo,
71
81
  UserInfo,
72
82
  UserPhoneConfig,
@@ -111,10 +121,7 @@ import {
111
121
  RecordingInfo,
112
122
  } from "./models_1";
113
123
  import {
114
- AutoEvaluationConfiguration,
115
124
  BooleanCondition,
116
- ChatMessage,
117
- ChatStreamingConfiguration,
118
125
  ContactFlowModuleSearchFilter,
119
126
  ContactFlowSearchFilter,
120
127
  ContactSearchSummaryAgentInfo,
@@ -130,24 +137,131 @@ import {
130
137
  HoursOfOperationSearchFilter,
131
138
  ListCondition,
132
139
  NumberCondition,
133
- OutboundAdditionalRecipients,
134
- OutboundEmailContent,
135
- ParticipantConfiguration,
136
- ParticipantDetails,
137
- PersistentChat,
138
140
  PromptSearchFilter,
139
141
  QueueSearchFilter,
140
142
  QuickConnectSearchFilter,
141
143
  RoutingProfileSearchFilter,
142
144
  SecurityProfilesSearchFilter,
143
- TemplatedMessageConfig,
145
+ TestCaseSearchFilter,
144
146
  UserHierarchyGroupSearchFilter,
145
147
  UserSearchFilter,
146
148
  ViewSearchFilter,
147
149
  WorkspaceAssociationSearchFilter,
148
150
  WorkspaceSearchFilter,
149
- EmailAddressInfo,
150
151
  } from "./models_2";
152
+ export interface ChatEvent {
153
+ Type: ChatEventType | undefined;
154
+ ContentType?: string | undefined;
155
+ Content?: string | undefined;
156
+ }
157
+ export interface ParticipantDetails {
158
+ DisplayName: string | undefined;
159
+ }
160
+ export interface ChatStreamingConfiguration {
161
+ StreamingEndpointArn: string | undefined;
162
+ }
163
+ export interface NewSessionDetails {
164
+ SupportedMessagingContentTypes?: string[] | undefined;
165
+ ParticipantDetails?: ParticipantDetails | undefined;
166
+ Attributes?: Record<string, string> | undefined;
167
+ StreamingConfiguration?: ChatStreamingConfiguration | undefined;
168
+ }
169
+ export interface SendChatIntegrationEventRequest {
170
+ SourceId: string | undefined;
171
+ DestinationId: string | undefined;
172
+ Subtype?: string | undefined;
173
+ Event: ChatEvent | undefined;
174
+ NewSessionDetails?: NewSessionDetails | undefined;
175
+ }
176
+ export interface SendChatIntegrationEventResponse {
177
+ InitialContactId?: string | undefined;
178
+ NewChatCreated?: boolean | undefined;
179
+ }
180
+ export interface EmailAddressInfo {
181
+ EmailAddress: string | undefined;
182
+ DisplayName?: string | undefined;
183
+ }
184
+ export interface OutboundAdditionalRecipients {
185
+ CcEmailAddresses?: EmailAddressInfo[] | undefined;
186
+ }
187
+ export interface OutboundRawMessage {
188
+ Subject: string | undefined;
189
+ Body: string | undefined;
190
+ ContentType: string | undefined;
191
+ }
192
+ export interface TemplateAttributes {
193
+ CustomAttributes?: Record<string, string> | undefined;
194
+ CustomerProfileAttributes?: string | undefined;
195
+ }
196
+ export interface TemplatedMessageConfig {
197
+ KnowledgeBaseId: string | undefined;
198
+ MessageTemplateId: string | undefined;
199
+ TemplateAttributes: TemplateAttributes | undefined;
200
+ }
201
+ export interface OutboundEmailContent {
202
+ MessageSourceType: OutboundMessageSourceType | undefined;
203
+ TemplatedMessageConfig?: TemplatedMessageConfig | undefined;
204
+ RawMessage?: OutboundRawMessage | undefined;
205
+ }
206
+ export interface SourceCampaign {
207
+ CampaignId?: string | undefined;
208
+ OutboundRequestId?: string | undefined;
209
+ }
210
+ export interface SendOutboundEmailRequest {
211
+ InstanceId: string | undefined;
212
+ FromEmailAddress: EmailAddressInfo | undefined;
213
+ DestinationEmailAddress: EmailAddressInfo | undefined;
214
+ AdditionalRecipients?: OutboundAdditionalRecipients | undefined;
215
+ EmailMessage: OutboundEmailContent | undefined;
216
+ TrafficType: TrafficType | undefined;
217
+ SourceCampaign?: SourceCampaign | undefined;
218
+ ClientToken?: string | undefined;
219
+ }
220
+ export interface SendOutboundEmailResponse {}
221
+ export interface StartAttachedFileUploadRequest {
222
+ ClientToken?: string | undefined;
223
+ InstanceId: string | undefined;
224
+ FileName: string | undefined;
225
+ FileSizeInBytes: number | undefined;
226
+ UrlExpiryInSeconds?: number | undefined;
227
+ FileUseCaseType: FileUseCaseType | undefined;
228
+ AssociatedResourceArn: string | undefined;
229
+ CreatedBy?: CreatedByInfo | undefined;
230
+ Tags?: Record<string, string> | undefined;
231
+ }
232
+ export interface UploadUrlMetadata {
233
+ Url?: string | undefined;
234
+ UrlExpiry?: string | undefined;
235
+ HeadersToInclude?: Record<string, string> | undefined;
236
+ }
237
+ export interface StartAttachedFileUploadResponse {
238
+ FileArn?: string | undefined;
239
+ FileId?: string | undefined;
240
+ CreationTime?: string | undefined;
241
+ FileStatus?: FileStatusType | undefined;
242
+ CreatedBy?: CreatedByInfo | undefined;
243
+ UploadUrlMetadata?: UploadUrlMetadata | undefined;
244
+ }
245
+ export interface ChatMessage {
246
+ ContentType: string | undefined;
247
+ Content: string | undefined;
248
+ }
249
+ export interface ParticipantConfiguration {
250
+ ResponseMode?: ResponseMode | undefined;
251
+ }
252
+ export interface PersistentChat {
253
+ RehydrationType?: RehydrationType | undefined;
254
+ SourceContactId?: string | undefined;
255
+ }
256
+ export interface StartChatContactResponse {
257
+ ContactId?: string | undefined;
258
+ ParticipantId?: string | undefined;
259
+ ParticipantToken?: string | undefined;
260
+ ContinuedFromContactId?: string | undefined;
261
+ }
262
+ export interface AutoEvaluationConfiguration {
263
+ Enabled: boolean | undefined;
264
+ }
151
265
  export interface StartContactEvaluationRequest {
152
266
  InstanceId: string | undefined;
153
267
  ContactId: string | undefined;
@@ -257,6 +371,16 @@ export interface StartScreenSharingResponse {}
257
371
  export interface StartTaskContactResponse {
258
372
  ContactId?: string | undefined;
259
373
  }
374
+ export interface StartTestCaseExecutionRequest {
375
+ InstanceId: string | undefined;
376
+ TestCaseId: string | undefined;
377
+ ClientToken?: string | undefined;
378
+ }
379
+ export interface StartTestCaseExecutionResponse {
380
+ TestCaseExecutionId?: string | undefined;
381
+ TestCaseId?: string | undefined;
382
+ Status?: TestCaseExecutionStatus | undefined;
383
+ }
260
384
  export interface StartWebRTCContactRequest {
261
385
  Attributes?: Record<string, string> | undefined;
262
386
  ClientToken?: string | undefined;
@@ -328,6 +452,13 @@ export interface StopContactStreamingRequest {
328
452
  StreamingId: string | undefined;
329
453
  }
330
454
  export interface StopContactStreamingResponse {}
455
+ export interface StopTestCaseExecutionRequest {
456
+ InstanceId: string | undefined;
457
+ TestCaseExecutionId: string | undefined;
458
+ TestCaseId: string | undefined;
459
+ ClientToken?: string | undefined;
460
+ }
461
+ export interface StopTestCaseExecutionResponse {}
331
462
  export interface EvaluationAnswerInput {
332
463
  Value?: EvaluationAnswerData | undefined;
333
464
  }
@@ -794,6 +925,19 @@ export interface UpdateTaskTemplateResponse {
794
925
  LastModifiedTime?: Date | undefined;
795
926
  CreatedTime?: Date | undefined;
796
927
  }
928
+ export interface UpdateTestCaseRequest {
929
+ InstanceId: string | undefined;
930
+ TestCaseId: string | undefined;
931
+ Content?: string | undefined;
932
+ EntryPoint?: TestCaseEntryPoint | undefined;
933
+ InitializationData?: string | undefined;
934
+ Name?: string | undefined;
935
+ Description?: string | undefined;
936
+ Status?: TestCaseStatus | undefined;
937
+ LastModifiedTime?: Date | undefined;
938
+ LastModifiedRegion?: string | undefined;
939
+ }
940
+ export interface UpdateTestCaseResponse {}
797
941
  export interface UpdateTrafficDistributionRequest {
798
942
  Id: string | undefined;
799
943
  TelephonyConfig?: TelephonyConfig | undefined;
@@ -1033,6 +1177,12 @@ export interface SegmentAttributeValue {
1033
1177
  ValueList?: SegmentAttributeValue[] | undefined;
1034
1178
  ValueArn?: string | undefined;
1035
1179
  }
1180
+ export interface TestCaseSearchCriteria {
1181
+ OrConditions?: TestCaseSearchCriteria[] | undefined;
1182
+ AndConditions?: TestCaseSearchCriteria[] | undefined;
1183
+ StringCondition?: StringCondition | undefined;
1184
+ StatusCondition?: TestCaseStatus | undefined;
1185
+ }
1036
1186
  export interface UserHierarchyGroupSearchCriteria {
1037
1187
  OrConditions?: UserHierarchyGroupSearchCriteria[] | undefined;
1038
1188
  AndConditions?: UserHierarchyGroupSearchCriteria[] | undefined;
@@ -1180,6 +1330,13 @@ export interface SearchSecurityProfilesRequest {
1180
1330
  SearchCriteria?: SecurityProfileSearchCriteria | undefined;
1181
1331
  SearchFilter?: SecurityProfilesSearchFilter | undefined;
1182
1332
  }
1333
+ export interface SearchTestCasesRequest {
1334
+ InstanceId: string | undefined;
1335
+ NextToken?: string | undefined;
1336
+ MaxResults?: number | undefined;
1337
+ SearchFilter?: TestCaseSearchFilter | undefined;
1338
+ SearchCriteria?: TestCaseSearchCriteria | undefined;
1339
+ }
1183
1340
  export interface SearchUserHierarchyGroupsRequest {
1184
1341
  InstanceId: string | undefined;
1185
1342
  NextToken?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListTestCasesCommandInput,
4
+ ListTestCasesCommandOutput,
5
+ } from "../commands/ListTestCasesCommand";
6
+ import { ConnectPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListTestCases: (
8
+ config: ConnectPaginationConfiguration,
9
+ input: ListTestCasesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListTestCasesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ SearchTestCasesCommandInput,
4
+ SearchTestCasesCommandOutput,
5
+ } from "../commands/SearchTestCasesCommand";
6
+ import { ConnectPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateSearchTestCases: (
8
+ config: ConnectPaginationConfiguration,
9
+ input: SearchTestCasesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<SearchTestCasesCommandOutput>;
@@ -51,6 +51,7 @@ export * from "./ListSecurityProfileFlowModulesPaginator";
51
51
  export * from "./ListSecurityProfilePermissionsPaginator";
52
52
  export * from "./ListSecurityProfilesPaginator";
53
53
  export * from "./ListTaskTemplatesPaginator";
54
+ export * from "./ListTestCasesPaginator";
54
55
  export * from "./ListTrafficDistributionGroupsPaginator";
55
56
  export * from "./ListTrafficDistributionGroupUsersPaginator";
56
57
  export * from "./ListUseCasesPaginator";
@@ -76,6 +77,7 @@ export * from "./SearchQuickConnectsPaginator";
76
77
  export * from "./SearchResourceTagsPaginator";
77
78
  export * from "./SearchRoutingProfilesPaginator";
78
79
  export * from "./SearchSecurityProfilesPaginator";
80
+ export * from "./SearchTestCasesPaginator";
79
81
  export * from "./SearchUserHierarchyGroupsPaginator";
80
82
  export * from "./SearchUsersPaginator";
81
83
  export * from "./SearchViewsPaginator";