@aws-sdk/client-connect 3.319.0 → 3.321.1

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 (113) hide show
  1. package/README.md +119 -7
  2. package/dist-cjs/Connect.js +28 -0
  3. package/dist-cjs/commands/ActivateEvaluationFormCommand.js +45 -0
  4. package/dist-cjs/commands/CreateEvaluationFormCommand.js +45 -0
  5. package/dist-cjs/commands/DeactivateEvaluationFormCommand.js +45 -0
  6. package/dist-cjs/commands/DeleteContactEvaluationCommand.js +45 -0
  7. package/dist-cjs/commands/DeleteEvaluationFormCommand.js +45 -0
  8. package/dist-cjs/commands/DescribeContactEvaluationCommand.js +45 -0
  9. package/dist-cjs/commands/DescribeEvaluationFormCommand.js +45 -0
  10. package/dist-cjs/commands/GetFederationTokenCommand.js +2 -2
  11. package/dist-cjs/commands/ListContactEvaluationsCommand.js +45 -0
  12. package/dist-cjs/commands/ListEvaluationFormVersionsCommand.js +45 -0
  13. package/dist-cjs/commands/ListEvaluationFormsCommand.js +45 -0
  14. package/dist-cjs/commands/StartContactEvaluationCommand.js +45 -0
  15. package/dist-cjs/commands/SubmitContactEvaluationCommand.js +45 -0
  16. package/dist-cjs/commands/UpdateContactEvaluationCommand.js +45 -0
  17. package/dist-cjs/commands/UpdateEvaluationFormCommand.js +45 -0
  18. package/dist-cjs/commands/index.js +14 -0
  19. package/dist-cjs/models/models_0.js +142 -125
  20. package/dist-cjs/models/models_1.js +71 -1
  21. package/dist-cjs/pagination/ListContactEvaluationsPaginator.js +28 -0
  22. package/dist-cjs/pagination/ListEvaluationFormVersionsPaginator.js +29 -0
  23. package/dist-cjs/pagination/ListEvaluationFormsPaginator.js +29 -0
  24. package/dist-cjs/pagination/index.js +3 -0
  25. package/dist-cjs/protocols/Aws_restJson1.js +1272 -41
  26. package/dist-es/Connect.js +28 -0
  27. package/dist-es/commands/ActivateEvaluationFormCommand.js +41 -0
  28. package/dist-es/commands/CreateEvaluationFormCommand.js +41 -0
  29. package/dist-es/commands/DeactivateEvaluationFormCommand.js +41 -0
  30. package/dist-es/commands/DeleteContactEvaluationCommand.js +41 -0
  31. package/dist-es/commands/DeleteEvaluationFormCommand.js +41 -0
  32. package/dist-es/commands/DescribeContactEvaluationCommand.js +41 -0
  33. package/dist-es/commands/DescribeEvaluationFormCommand.js +41 -0
  34. package/dist-es/commands/GetFederationTokenCommand.js +1 -1
  35. package/dist-es/commands/ListContactEvaluationsCommand.js +41 -0
  36. package/dist-es/commands/ListEvaluationFormVersionsCommand.js +41 -0
  37. package/dist-es/commands/ListEvaluationFormsCommand.js +41 -0
  38. package/dist-es/commands/StartContactEvaluationCommand.js +41 -0
  39. package/dist-es/commands/SubmitContactEvaluationCommand.js +41 -0
  40. package/dist-es/commands/UpdateContactEvaluationCommand.js +41 -0
  41. package/dist-es/commands/UpdateEvaluationFormCommand.js +41 -0
  42. package/dist-es/commands/index.js +14 -0
  43. package/dist-es/models/models_0.js +136 -116
  44. package/dist-es/models/models_1.js +67 -0
  45. package/dist-es/pagination/ListContactEvaluationsPaginator.js +24 -0
  46. package/dist-es/pagination/ListEvaluationFormVersionsPaginator.js +25 -0
  47. package/dist-es/pagination/ListEvaluationFormsPaginator.js +25 -0
  48. package/dist-es/pagination/index.js +3 -0
  49. package/dist-es/protocols/Aws_restJson1.js +1235 -33
  50. package/dist-types/Connect.d.ts +98 -0
  51. package/dist-types/ConnectClient.d.ts +16 -2
  52. package/dist-types/commands/ActivateEvaluationFormCommand.d.ts +81 -0
  53. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +213 -0
  54. package/dist-types/commands/CreateParticipantCommand.d.ts +1 -1
  55. package/dist-types/commands/DeactivateEvaluationFormCommand.d.ts +81 -0
  56. package/dist-types/commands/DeleteContactEvaluationCommand.d.ts +79 -0
  57. package/dist-types/commands/DeleteEvaluationFormCommand.d.ts +89 -0
  58. package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +77 -0
  59. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +79 -0
  60. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +1 -1
  61. package/dist-types/commands/GetFederationTokenCommand.d.ts +1 -1
  62. package/dist-types/commands/GetMetricDataCommand.d.ts +1 -1
  63. package/dist-types/commands/GetMetricDataV2Command.d.ts +1 -1
  64. package/dist-types/commands/GetTaskTemplateCommand.d.ts +1 -1
  65. package/dist-types/commands/GetTrafficDistributionCommand.d.ts +1 -1
  66. package/dist-types/commands/ListAgentStatusesCommand.d.ts +1 -2
  67. package/dist-types/commands/ListContactEvaluationsCommand.d.ts +77 -0
  68. package/dist-types/commands/ListEvaluationFormVersionsCommand.d.ts +78 -0
  69. package/dist-types/commands/ListEvaluationFormsCommand.d.ts +77 -0
  70. package/dist-types/commands/StartContactEvaluationCommand.d.ts +91 -0
  71. package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +98 -0
  72. package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +96 -0
  73. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +215 -0
  74. package/dist-types/commands/index.d.ts +14 -0
  75. package/dist-types/models/models_0.d.ts +859 -1281
  76. package/dist-types/models/models_1.d.ts +1758 -3
  77. package/dist-types/pagination/ListContactEvaluationsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/ListEvaluationFormVersionsPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListEvaluationFormsPaginator.d.ts +7 -0
  80. package/dist-types/pagination/index.d.ts +3 -0
  81. package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
  82. package/dist-types/ts3.4/Connect.d.ts +238 -0
  83. package/dist-types/ts3.4/ConnectClient.d.ts +84 -0
  84. package/dist-types/ts3.4/commands/ActivateEvaluationFormCommand.d.ts +41 -0
  85. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +39 -0
  86. package/dist-types/ts3.4/commands/DeactivateEvaluationFormCommand.d.ts +41 -0
  87. package/dist-types/ts3.4/commands/DeleteContactEvaluationCommand.d.ts +37 -0
  88. package/dist-types/ts3.4/commands/DeleteEvaluationFormCommand.d.ts +36 -0
  89. package/dist-types/ts3.4/commands/DescribeContactEvaluationCommand.d.ts +39 -0
  90. package/dist-types/ts3.4/commands/DescribeEvaluationFormCommand.d.ts +39 -0
  91. package/dist-types/ts3.4/commands/GetCurrentUserDataCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/GetTrafficDistributionCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +4 -2
  98. package/dist-types/ts3.4/commands/ListContactEvaluationsCommand.d.ts +41 -0
  99. package/dist-types/ts3.4/commands/ListEvaluationFormVersionsCommand.d.ts +41 -0
  100. package/dist-types/ts3.4/commands/ListEvaluationFormsCommand.d.ts +38 -0
  101. package/dist-types/ts3.4/commands/StartContactEvaluationCommand.d.ts +41 -0
  102. package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +41 -0
  103. package/dist-types/ts3.4/commands/UpdateContactEvaluationCommand.d.ts +41 -0
  104. package/dist-types/ts3.4/commands/UpdateEvaluationFormCommand.d.ts +41 -0
  105. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +328 -262
  107. package/dist-types/ts3.4/models/models_1.d.ts +425 -1
  108. package/dist-types/ts3.4/pagination/ListContactEvaluationsPaginator.d.ts +11 -0
  109. package/dist-types/ts3.4/pagination/ListEvaluationFormVersionsPaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/ListEvaluationFormsPaginator.d.ts +11 -0
  111. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  112. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
  113. package/package.json +4 -4
@@ -2,15 +2,30 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import {
4
4
  ActionSummary,
5
+ AgentContactReference,
6
+ AgentStatusReference,
5
7
  AgentStatusState,
6
8
  AgentStatusSummary,
9
+ AgentStatusType,
7
10
  Attribute,
8
11
  Channel,
12
+ ContactFilter,
9
13
  ContactFlowModuleState,
10
14
  ContactFlowState,
11
15
  ContactFlowType,
16
+ Dimensions,
12
17
  DirectoryType,
18
+ Evaluation,
19
+ EvaluationAnswerData,
20
+ EvaluationFormQuestion,
21
+ EvaluationFormScoringStrategy,
22
+ EvaluationFormVersionStatus,
23
+ EvaluationNote,
24
+ EvaluationScore,
25
+ EvaluationStatus,
13
26
  EventSourceName,
27
+ Filters,
28
+ Grouping,
14
29
  HierarchyGroupSummary,
15
30
  HoursOfOperationConfig,
16
31
  InstanceAttributeType,
@@ -33,6 +48,7 @@ import {
33
48
  ReferenceType,
34
49
  RoutingProfile,
35
50
  RoutingProfileQueueConfig,
51
+ RoutingProfileReference,
36
52
  RuleAction,
37
53
  RulePublishStatus,
38
54
  SourceType,
@@ -40,14 +56,232 @@ import {
40
56
  TaskTemplateDefaults,
41
57
  TaskTemplateField,
42
58
  TaskTemplateStatus,
43
- TelephonyConfig,
44
59
  TrafficDistributionGroupStatus,
60
+ Unit,
45
61
  UseCaseType,
46
62
  UserIdentityInfo,
47
63
  UserPhoneConfig,
48
64
  VocabularyLanguageCode,
49
65
  VocabularyState,
50
66
  } from "./models_0";
67
+ export interface UserDataFilters {
68
+ Queues?: string[];
69
+ ContactFilter?: ContactFilter;
70
+ RoutingProfiles?: string[];
71
+ Agents?: string[];
72
+ UserHierarchyGroups?: string[];
73
+ }
74
+ export interface GetCurrentUserDataRequest {
75
+ InstanceId: string | undefined;
76
+ Filters: UserDataFilters | undefined;
77
+ NextToken?: string;
78
+ MaxResults?: number;
79
+ }
80
+ export interface HierarchyGroupSummaryReference {
81
+ Id?: string;
82
+ Arn?: string;
83
+ }
84
+ export interface HierarchyPathReference {
85
+ LevelOne?: HierarchyGroupSummaryReference;
86
+ LevelTwo?: HierarchyGroupSummaryReference;
87
+ LevelThree?: HierarchyGroupSummaryReference;
88
+ LevelFour?: HierarchyGroupSummaryReference;
89
+ LevelFive?: HierarchyGroupSummaryReference;
90
+ }
91
+ export interface UserReference {
92
+ Id?: string;
93
+ Arn?: string;
94
+ }
95
+ export interface UserData {
96
+ User?: UserReference;
97
+ RoutingProfile?: RoutingProfileReference;
98
+ HierarchyPath?: HierarchyPathReference;
99
+ Status?: AgentStatusReference;
100
+ AvailableSlotsByChannel?: Record<string, number>;
101
+ MaxSlotsByChannel?: Record<string, number>;
102
+ ActiveSlotsByChannel?: Record<string, number>;
103
+ Contacts?: AgentContactReference[];
104
+ NextStatus?: string;
105
+ }
106
+ export interface GetCurrentUserDataResponse {
107
+ NextToken?: string;
108
+ UserDataList?: UserData[];
109
+ ApproximateTotalCount?: number;
110
+ }
111
+ export interface GetFederationTokenRequest {
112
+ InstanceId: string | undefined;
113
+ }
114
+ export interface Credentials {
115
+ AccessToken?: string;
116
+ AccessTokenExpiration?: Date;
117
+ RefreshToken?: string;
118
+ RefreshTokenExpiration?: Date;
119
+ }
120
+ export interface GetFederationTokenResponse {
121
+ Credentials?: Credentials;
122
+ SignInUrl?: string;
123
+ UserArn?: string;
124
+ UserId?: string;
125
+ }
126
+ export declare class UserNotFoundException extends __BaseException {
127
+ readonly name: "UserNotFoundException";
128
+ readonly $fault: "client";
129
+ Message?: string;
130
+ constructor(
131
+ opts: __ExceptionOptionType<UserNotFoundException, __BaseException>
132
+ );
133
+ }
134
+ export declare const HistoricalMetricName: {
135
+ readonly ABANDON_TIME: "ABANDON_TIME";
136
+ readonly AFTER_CONTACT_WORK_TIME: "AFTER_CONTACT_WORK_TIME";
137
+ readonly API_CONTACTS_HANDLED: "API_CONTACTS_HANDLED";
138
+ readonly CALLBACK_CONTACTS_HANDLED: "CALLBACK_CONTACTS_HANDLED";
139
+ readonly CONTACTS_ABANDONED: "CONTACTS_ABANDONED";
140
+ readonly CONTACTS_AGENT_HUNG_UP_FIRST: "CONTACTS_AGENT_HUNG_UP_FIRST";
141
+ readonly CONTACTS_CONSULTED: "CONTACTS_CONSULTED";
142
+ readonly CONTACTS_HANDLED: "CONTACTS_HANDLED";
143
+ readonly CONTACTS_HANDLED_INCOMING: "CONTACTS_HANDLED_INCOMING";
144
+ readonly CONTACTS_HANDLED_OUTBOUND: "CONTACTS_HANDLED_OUTBOUND";
145
+ readonly CONTACTS_HOLD_ABANDONS: "CONTACTS_HOLD_ABANDONS";
146
+ readonly CONTACTS_MISSED: "CONTACTS_MISSED";
147
+ readonly CONTACTS_QUEUED: "CONTACTS_QUEUED";
148
+ readonly CONTACTS_TRANSFERRED_IN: "CONTACTS_TRANSFERRED_IN";
149
+ readonly CONTACTS_TRANSFERRED_IN_FROM_QUEUE: "CONTACTS_TRANSFERRED_IN_FROM_QUEUE";
150
+ readonly CONTACTS_TRANSFERRED_OUT: "CONTACTS_TRANSFERRED_OUT";
151
+ readonly CONTACTS_TRANSFERRED_OUT_FROM_QUEUE: "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE";
152
+ readonly HANDLE_TIME: "HANDLE_TIME";
153
+ readonly HOLD_TIME: "HOLD_TIME";
154
+ readonly INTERACTION_AND_HOLD_TIME: "INTERACTION_AND_HOLD_TIME";
155
+ readonly INTERACTION_TIME: "INTERACTION_TIME";
156
+ readonly OCCUPANCY: "OCCUPANCY";
157
+ readonly QUEUED_TIME: "QUEUED_TIME";
158
+ readonly QUEUE_ANSWER_TIME: "QUEUE_ANSWER_TIME";
159
+ readonly SERVICE_LEVEL: "SERVICE_LEVEL";
160
+ };
161
+ export type HistoricalMetricName =
162
+ (typeof HistoricalMetricName)[keyof typeof HistoricalMetricName];
163
+ export declare const Statistic: {
164
+ readonly AVG: "AVG";
165
+ readonly MAX: "MAX";
166
+ readonly SUM: "SUM";
167
+ };
168
+ export type Statistic = (typeof Statistic)[keyof typeof Statistic];
169
+ export declare const Comparison: {
170
+ readonly LT: "LT";
171
+ };
172
+ export type Comparison = (typeof Comparison)[keyof typeof Comparison];
173
+ export interface Threshold {
174
+ Comparison?: Comparison | string;
175
+ ThresholdValue?: number;
176
+ }
177
+ export interface HistoricalMetric {
178
+ Name?: HistoricalMetricName | string;
179
+ Threshold?: Threshold;
180
+ Statistic?: Statistic | string;
181
+ Unit?: Unit | string;
182
+ }
183
+ export interface GetMetricDataRequest {
184
+ InstanceId: string | undefined;
185
+ StartTime: Date | undefined;
186
+ EndTime: Date | undefined;
187
+ Filters: Filters | undefined;
188
+ Groupings?: (Grouping | string)[];
189
+ HistoricalMetrics: HistoricalMetric[] | undefined;
190
+ NextToken?: string;
191
+ MaxResults?: number;
192
+ }
193
+ export interface HistoricalMetricData {
194
+ Metric?: HistoricalMetric;
195
+ Value?: number;
196
+ }
197
+ export interface HistoricalMetricResult {
198
+ Dimensions?: Dimensions;
199
+ Collections?: HistoricalMetricData[];
200
+ }
201
+ export interface GetMetricDataResponse {
202
+ NextToken?: string;
203
+ MetricResults?: HistoricalMetricResult[];
204
+ }
205
+ export interface FilterV2 {
206
+ FilterKey?: string;
207
+ FilterValues?: string[];
208
+ }
209
+ export interface MetricFilterV2 {
210
+ MetricFilterKey?: string;
211
+ MetricFilterValues?: string[];
212
+ }
213
+ export interface ThresholdV2 {
214
+ Comparison?: string;
215
+ ThresholdValue?: number;
216
+ }
217
+ export interface MetricV2 {
218
+ Name?: string;
219
+ Threshold?: ThresholdV2[];
220
+ MetricFilters?: MetricFilterV2[];
221
+ }
222
+ export interface GetMetricDataV2Request {
223
+ ResourceArn: string | undefined;
224
+ StartTime: Date | undefined;
225
+ EndTime: Date | undefined;
226
+ Filters: FilterV2[] | undefined;
227
+ Groupings?: string[];
228
+ Metrics: MetricV2[] | undefined;
229
+ NextToken?: string;
230
+ MaxResults?: number;
231
+ }
232
+ export interface MetricDataV2 {
233
+ Metric?: MetricV2;
234
+ Value?: number;
235
+ }
236
+ export interface MetricResultV2 {
237
+ Dimensions?: Record<string, string>;
238
+ Collections?: MetricDataV2[];
239
+ }
240
+ export interface GetMetricDataV2Response {
241
+ NextToken?: string;
242
+ MetricResults?: MetricResultV2[];
243
+ }
244
+ export interface GetTaskTemplateRequest {
245
+ InstanceId: string | undefined;
246
+ TaskTemplateId: string | undefined;
247
+ SnapshotVersion?: string;
248
+ }
249
+ export interface GetTaskTemplateResponse {
250
+ InstanceId?: string;
251
+ Id: string | undefined;
252
+ Arn: string | undefined;
253
+ Name: string | undefined;
254
+ Description?: string;
255
+ ContactFlowId?: string;
256
+ Constraints?: TaskTemplateConstraints;
257
+ Defaults?: TaskTemplateDefaults;
258
+ Fields?: TaskTemplateField[];
259
+ Status?: TaskTemplateStatus | string;
260
+ LastModifiedTime?: Date;
261
+ CreatedTime?: Date;
262
+ Tags?: Record<string, string>;
263
+ }
264
+ export interface GetTrafficDistributionRequest {
265
+ Id: string | undefined;
266
+ }
267
+ export interface Distribution {
268
+ Region: string | undefined;
269
+ Percentage: number | undefined;
270
+ }
271
+ export interface TelephonyConfig {
272
+ Distributions: Distribution[] | undefined;
273
+ }
274
+ export interface GetTrafficDistributionResponse {
275
+ TelephonyConfig?: TelephonyConfig;
276
+ Id?: string;
277
+ Arn?: string;
278
+ }
279
+ export interface ListAgentStatusRequest {
280
+ InstanceId: string | undefined;
281
+ NextToken?: string;
282
+ MaxResults?: number;
283
+ AgentStatusTypes?: (AgentStatusType | string)[];
284
+ }
51
285
  export interface ListAgentStatusResponse {
52
286
  NextToken?: string;
53
287
  AgentStatusSummaryList?: AgentStatusSummary[];
@@ -80,6 +314,26 @@ export interface ListBotsResponse {
80
314
  LexBots?: LexBotConfig[];
81
315
  NextToken?: string;
82
316
  }
317
+ export interface ListContactEvaluationsRequest {
318
+ InstanceId: string | undefined;
319
+ ContactId: string | undefined;
320
+ NextToken?: string;
321
+ }
322
+ export interface EvaluationSummary {
323
+ EvaluationId: string | undefined;
324
+ EvaluationArn: string | undefined;
325
+ EvaluationFormTitle: string | undefined;
326
+ EvaluationFormId: string | undefined;
327
+ Status: EvaluationStatus | string | undefined;
328
+ EvaluatorArn: string | undefined;
329
+ Score?: EvaluationScore;
330
+ CreatedTime: Date | undefined;
331
+ LastModifiedTime: Date | undefined;
332
+ }
333
+ export interface ListContactEvaluationsResponse {
334
+ EvaluationSummaryList: EvaluationSummary[] | undefined;
335
+ NextToken?: string;
336
+ }
83
337
  export interface ListContactFlowModulesRequest {
84
338
  InstanceId: string | undefined;
85
339
  NextToken?: string;
@@ -253,6 +507,49 @@ export interface ListDefaultVocabulariesResponse {
253
507
  DefaultVocabularyList: DefaultVocabulary[] | undefined;
254
508
  NextToken?: string;
255
509
  }
510
+ export interface ListEvaluationFormsRequest {
511
+ InstanceId: string | undefined;
512
+ MaxResults?: number;
513
+ NextToken?: string;
514
+ }
515
+ export interface EvaluationFormSummary {
516
+ EvaluationFormId: string | undefined;
517
+ EvaluationFormArn: string | undefined;
518
+ Title: string | undefined;
519
+ CreatedTime: Date | undefined;
520
+ CreatedBy: string | undefined;
521
+ LastModifiedTime: Date | undefined;
522
+ LastModifiedBy: string | undefined;
523
+ LastActivatedTime?: Date;
524
+ LastActivatedBy?: string;
525
+ LatestVersion: number | undefined;
526
+ ActiveVersion?: number;
527
+ }
528
+ export interface ListEvaluationFormsResponse {
529
+ EvaluationFormSummaryList: EvaluationFormSummary[] | undefined;
530
+ NextToken?: string;
531
+ }
532
+ export interface ListEvaluationFormVersionsRequest {
533
+ InstanceId: string | undefined;
534
+ EvaluationFormId: string | undefined;
535
+ MaxResults?: number;
536
+ NextToken?: string;
537
+ }
538
+ export interface EvaluationFormVersionSummary {
539
+ EvaluationFormArn: string | undefined;
540
+ EvaluationFormId: string | undefined;
541
+ EvaluationFormVersion: number | undefined;
542
+ Locked: boolean | undefined;
543
+ Status: EvaluationFormVersionStatus | string | undefined;
544
+ CreatedTime: Date | undefined;
545
+ CreatedBy: string | undefined;
546
+ LastModifiedTime: Date | undefined;
547
+ LastModifiedBy: string | undefined;
548
+ }
549
+ export interface ListEvaluationFormVersionsResponse {
550
+ EvaluationFormVersionSummaryList: EvaluationFormVersionSummary[] | undefined;
551
+ NextToken?: string;
552
+ }
256
553
  export interface ListHoursOfOperationsRequest {
257
554
  InstanceId: string | undefined;
258
555
  NextToken?: string;
@@ -815,6 +1112,16 @@ export interface StartChatContactResponse {
815
1112
  ParticipantToken?: string;
816
1113
  ContinuedFromContactId?: string;
817
1114
  }
1115
+ export interface StartContactEvaluationRequest {
1116
+ InstanceId: string | undefined;
1117
+ ContactId: string | undefined;
1118
+ EvaluationFormId: string | undefined;
1119
+ ClientToken?: string;
1120
+ }
1121
+ export interface StartContactEvaluationResponse {
1122
+ EvaluationId: string | undefined;
1123
+ EvaluationArn: string | undefined;
1124
+ }
818
1125
  export declare const VoiceRecordingTrack: {
819
1126
  readonly ALL: "ALL";
820
1127
  readonly FROM_AGENT: "FROM_AGENT";
@@ -929,6 +1236,19 @@ export interface StopContactStreamingRequest {
929
1236
  StreamingId: string | undefined;
930
1237
  }
931
1238
  export interface StopContactStreamingResponse {}
1239
+ export interface EvaluationAnswerInput {
1240
+ Value?: EvaluationAnswerData;
1241
+ }
1242
+ export interface SubmitContactEvaluationRequest {
1243
+ InstanceId: string | undefined;
1244
+ EvaluationId: string | undefined;
1245
+ Answers?: Record<string, EvaluationAnswerInput>;
1246
+ Notes?: Record<string, EvaluationNote>;
1247
+ }
1248
+ export interface SubmitContactEvaluationResponse {
1249
+ EvaluationId: string | undefined;
1250
+ EvaluationArn: string | undefined;
1251
+ }
932
1252
  export interface SuspendContactRecordingRequest {
933
1253
  InstanceId: string | undefined;
934
1254
  ContactId: string | undefined;
@@ -978,6 +1298,16 @@ export interface UpdateContactAttributesRequest {
978
1298
  Attributes: Record<string, string> | undefined;
979
1299
  }
980
1300
  export interface UpdateContactAttributesResponse {}
1301
+ export interface UpdateContactEvaluationRequest {
1302
+ InstanceId: string | undefined;
1303
+ EvaluationId: string | undefined;
1304
+ Answers?: Record<string, EvaluationAnswerInput>;
1305
+ Notes?: Record<string, EvaluationNote>;
1306
+ }
1307
+ export interface UpdateContactEvaluationResponse {
1308
+ EvaluationId: string | undefined;
1309
+ EvaluationArn: string | undefined;
1310
+ }
981
1311
  export interface UpdateContactFlowContentRequest {
982
1312
  InstanceId: string | undefined;
983
1313
  ContactFlowId: string | undefined;
@@ -1019,6 +1349,11 @@ export interface UpdateContactScheduleRequest {
1019
1349
  ScheduledTime: Date | undefined;
1020
1350
  }
1021
1351
  export interface UpdateContactScheduleResponse {}
1352
+ export interface UpdateEvaluationFormResponse {
1353
+ EvaluationFormId: string | undefined;
1354
+ EvaluationFormArn: string | undefined;
1355
+ EvaluationFormVersion: number | undefined;
1356
+ }
1022
1357
  export interface UpdateHoursOfOperationRequest {
1023
1358
  InstanceId: string | undefined;
1024
1359
  HoursOfOperationId: string | undefined;
@@ -1274,6 +1609,73 @@ export interface UpdateUserSecurityProfilesRequest {
1274
1609
  UserId: string | undefined;
1275
1610
  InstanceId: string | undefined;
1276
1611
  }
1612
+ export type EvaluationFormItem =
1613
+ | EvaluationFormItem.QuestionMember
1614
+ | EvaluationFormItem.SectionMember
1615
+ | EvaluationFormItem.$UnknownMember;
1616
+ export declare namespace EvaluationFormItem {
1617
+ interface SectionMember {
1618
+ Section: EvaluationFormSection;
1619
+ Question?: never;
1620
+ $unknown?: never;
1621
+ }
1622
+ interface QuestionMember {
1623
+ Section?: never;
1624
+ Question: EvaluationFormQuestion;
1625
+ $unknown?: never;
1626
+ }
1627
+ interface $UnknownMember {
1628
+ Section?: never;
1629
+ Question?: never;
1630
+ $unknown: [string, any];
1631
+ }
1632
+ interface Visitor<T> {
1633
+ Section: (value: EvaluationFormSection) => T;
1634
+ Question: (value: EvaluationFormQuestion) => T;
1635
+ _: (name: string, value: any) => T;
1636
+ }
1637
+ const visit: <T>(value: EvaluationFormItem, visitor: Visitor<T>) => T;
1638
+ }
1639
+ export interface EvaluationFormSection {
1640
+ Title: string | undefined;
1641
+ RefId: string | undefined;
1642
+ Instructions?: string;
1643
+ Items?: EvaluationFormItem[];
1644
+ Weight?: number;
1645
+ }
1646
+ export interface CreateEvaluationFormRequest {
1647
+ InstanceId: string | undefined;
1648
+ Title: string | undefined;
1649
+ Description?: string;
1650
+ Items: EvaluationFormItem[] | undefined;
1651
+ ScoringStrategy?: EvaluationFormScoringStrategy;
1652
+ ClientToken?: string;
1653
+ }
1654
+ export interface EvaluationForm {
1655
+ EvaluationFormId: string | undefined;
1656
+ EvaluationFormVersion: number | undefined;
1657
+ Locked: boolean | undefined;
1658
+ EvaluationFormArn: string | undefined;
1659
+ Title: string | undefined;
1660
+ Description?: string;
1661
+ Status: EvaluationFormVersionStatus | string | undefined;
1662
+ Items: EvaluationFormItem[] | undefined;
1663
+ ScoringStrategy?: EvaluationFormScoringStrategy;
1664
+ CreatedTime: Date | undefined;
1665
+ CreatedBy: string | undefined;
1666
+ LastModifiedTime: Date | undefined;
1667
+ LastModifiedBy: string | undefined;
1668
+ Tags?: Record<string, string>;
1669
+ }
1670
+ export interface EvaluationFormContent {
1671
+ EvaluationFormVersion: number | undefined;
1672
+ EvaluationFormId: string | undefined;
1673
+ EvaluationFormArn: string | undefined;
1674
+ Title: string | undefined;
1675
+ Description?: string;
1676
+ Items: EvaluationFormItem[] | undefined;
1677
+ ScoringStrategy?: EvaluationFormScoringStrategy;
1678
+ }
1277
1679
  export interface QueueSearchCriteria {
1278
1680
  OrConditions?: QueueSearchCriteria[];
1279
1681
  AndConditions?: QueueSearchCriteria[];
@@ -1290,12 +1692,30 @@ export interface SecurityProfileSearchCriteria {
1290
1692
  AndConditions?: SecurityProfileSearchCriteria[];
1291
1693
  StringCondition?: StringCondition;
1292
1694
  }
1695
+ export interface UpdateEvaluationFormRequest {
1696
+ InstanceId: string | undefined;
1697
+ EvaluationFormId: string | undefined;
1698
+ EvaluationFormVersion: number | undefined;
1699
+ CreateNewVersion?: boolean;
1700
+ Title: string | undefined;
1701
+ Description?: string;
1702
+ Items: EvaluationFormItem[] | undefined;
1703
+ ScoringStrategy?: EvaluationFormScoringStrategy;
1704
+ ClientToken?: string;
1705
+ }
1293
1706
  export interface UserSearchCriteria {
1294
1707
  OrConditions?: UserSearchCriteria[];
1295
1708
  AndConditions?: UserSearchCriteria[];
1296
1709
  StringCondition?: StringCondition;
1297
1710
  HierarchyGroupCondition?: HierarchyGroupCondition;
1298
1711
  }
1712
+ export interface DescribeContactEvaluationResponse {
1713
+ Evaluation: Evaluation | undefined;
1714
+ EvaluationForm: EvaluationFormContent | undefined;
1715
+ }
1716
+ export interface DescribeEvaluationFormResponse {
1717
+ EvaluationForm: EvaluationForm | undefined;
1718
+ }
1299
1719
  export interface SearchQueuesRequest {
1300
1720
  InstanceId: string | undefined;
1301
1721
  NextToken?: string;
@@ -1324,6 +1744,10 @@ export interface SearchUsersRequest {
1324
1744
  SearchFilter?: UserSearchFilter;
1325
1745
  SearchCriteria?: UserSearchCriteria;
1326
1746
  }
1747
+ export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
1748
+ export declare const GetFederationTokenResponseFilterSensitiveLog: (
1749
+ obj: GetFederationTokenResponse
1750
+ ) => any;
1327
1751
  export declare const InstanceSummaryFilterSensitiveLog: (
1328
1752
  obj: InstanceSummary
1329
1753
  ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListContactEvaluationsCommandInput,
4
+ ListContactEvaluationsCommandOutput,
5
+ } from "../commands/ListContactEvaluationsCommand";
6
+ import { ConnectPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListContactEvaluations(
8
+ config: ConnectPaginationConfiguration,
9
+ input: ListContactEvaluationsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListContactEvaluationsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListEvaluationFormVersionsCommandInput,
4
+ ListEvaluationFormVersionsCommandOutput,
5
+ } from "../commands/ListEvaluationFormVersionsCommand";
6
+ import { ConnectPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListEvaluationFormVersions(
8
+ config: ConnectPaginationConfiguration,
9
+ input: ListEvaluationFormVersionsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListEvaluationFormVersionsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListEvaluationFormsCommandInput,
4
+ ListEvaluationFormsCommandOutput,
5
+ } from "../commands/ListEvaluationFormsCommand";
6
+ import { ConnectPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListEvaluationForms(
8
+ config: ConnectPaginationConfiguration,
9
+ input: ListEvaluationFormsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListEvaluationFormsCommandOutput>;
@@ -6,10 +6,13 @@ export * from "./Interfaces";
6
6
  export * from "./ListAgentStatusesPaginator";
7
7
  export * from "./ListApprovedOriginsPaginator";
8
8
  export * from "./ListBotsPaginator";
9
+ export * from "./ListContactEvaluationsPaginator";
9
10
  export * from "./ListContactFlowModulesPaginator";
10
11
  export * from "./ListContactFlowsPaginator";
11
12
  export * from "./ListContactReferencesPaginator";
12
13
  export * from "./ListDefaultVocabulariesPaginator";
14
+ export * from "./ListEvaluationFormVersionsPaginator";
15
+ export * from "./ListEvaluationFormsPaginator";
13
16
  export * from "./ListHoursOfOperationsPaginator";
14
17
  export * from "./ListInstanceAttributesPaginator";
15
18
  export * from "./ListInstanceStorageConfigsPaginator";