@aws-sdk/client-connect 3.925.0 → 3.926.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 (111) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +590 -146
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/CreateViewCommand.js +2 -1
  5. package/dist-es/commands/CreateViewVersionCommand.js +1 -1
  6. package/dist-es/commands/SearchContactEvaluationsCommand.js +22 -0
  7. package/dist-es/commands/SearchEvaluationFormsCommand.js +22 -0
  8. package/dist-es/commands/StartOutboundVoiceContactCommand.js +1 -1
  9. package/dist-es/commands/StartTaskContactCommand.js +1 -1
  10. package/dist-es/commands/StartWebRTCContactCommand.js +1 -1
  11. package/dist-es/commands/UpdateContactCommand.js +1 -1
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/models/models_0.js +29 -56
  14. package/dist-es/models/models_1.js +92 -20
  15. package/dist-es/models/models_2.js +50 -76
  16. package/dist-es/models/models_3.js +85 -0
  17. package/dist-es/protocols/Aws_restJson1.js +291 -4
  18. package/dist-types/Connect.d.ts +14 -0
  19. package/dist-types/ConnectClient.d.ts +4 -2
  20. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +96 -4
  21. package/dist-types/commands/CreateViewCommand.d.ts +2 -1
  22. package/dist-types/commands/CreateViewVersionCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateVocabularyCommand.d.ts +1 -1
  24. package/dist-types/commands/DeactivateEvaluationFormCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteAttachedFileCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeAuthenticationProfileCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeContactEvaluationCommand.d.ts +147 -4
  28. package/dist-types/commands/DescribeEvaluationFormCommand.d.ts +93 -4
  29. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +1 -1
  30. package/dist-types/commands/ListAuthenticationProfilesCommand.d.ts +1 -1
  31. package/dist-types/commands/ListBotsCommand.d.ts +2 -1
  32. package/dist-types/commands/ListContactEvaluationsCommand.d.ts +10 -1
  33. package/dist-types/commands/ListContactFlowModulesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListContactFlowVersionsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListContactFlowsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListContactReferencesCommand.d.ts +1 -1
  37. package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +1 -1
  38. package/dist-types/commands/ListEvaluationFormsCommand.d.ts +1 -1
  39. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +1 -1
  40. package/dist-types/commands/SearchContactEvaluationsCommand.d.ts +241 -0
  41. package/dist-types/commands/SearchEvaluationFormsCommand.d.ts +222 -0
  42. package/dist-types/commands/StartChatContactCommand.d.ts +1 -1
  43. package/dist-types/commands/StartContactEvaluationCommand.d.ts +6 -0
  44. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  45. package/dist-types/commands/StartScreenSharingCommand.d.ts +1 -1
  46. package/dist-types/commands/StartTaskContactCommand.d.ts +1 -2
  47. package/dist-types/commands/StartWebRTCContactCommand.d.ts +1 -1
  48. package/dist-types/commands/StopContactCommand.d.ts +1 -1
  49. package/dist-types/commands/StopContactRecordingCommand.d.ts +1 -1
  50. package/dist-types/commands/StopContactStreamingCommand.d.ts +1 -1
  51. package/dist-types/commands/SubmitContactEvaluationCommand.d.ts +4 -1
  52. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +1 -1
  53. package/dist-types/commands/TagContactCommand.d.ts +1 -1
  54. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  55. package/dist-types/commands/TransferContactCommand.d.ts +1 -1
  56. package/dist-types/commands/UntagContactCommand.d.ts +1 -1
  57. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateAuthenticationProfileCommand.d.ts +2 -2
  60. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +1 -1
  61. package/dist-types/commands/UpdateContactCommand.d.ts +1 -2
  62. package/dist-types/commands/UpdateContactEvaluationCommand.d.ts +3 -0
  63. package/dist-types/commands/UpdateEvaluationFormCommand.d.ts +93 -4
  64. package/dist-types/commands/index.d.ts +2 -0
  65. package/dist-types/models/models_0.d.ts +225 -309
  66. package/dist-types/models/models_1.d.ts +602 -845
  67. package/dist-types/models/models_2.d.ts +3819 -3480
  68. package/dist-types/models/models_3.d.ts +3116 -1848
  69. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  70. package/dist-types/ts3.4/Connect.d.ts +34 -0
  71. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  72. package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +2 -1
  73. package/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/DeactivateEvaluationFormCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/DeleteAttachedFileCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +2 -1
  78. package/dist-types/ts3.4/commands/ListContactEvaluationsCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/ListContactFlowVersionsCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/ListContactFlowsCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ListDefaultVocabulariesCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/ListEvaluationFormsCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/SearchContactEvaluationsCommand.d.ts +49 -0
  86. package/dist-types/ts3.4/commands/SearchEvaluationFormsCommand.d.ts +49 -0
  87. package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/StartScreenSharingCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +4 -2
  90. package/dist-types/ts3.4/commands/StartWebRTCContactCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/StopContactCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/SubmitContactEvaluationCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/TagContactCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/TransferContactCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/UntagContactCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/UpdateAuthenticationProfileCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +4 -2
  105. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +89 -94
  107. package/dist-types/ts3.4/models/models_1.d.ts +197 -256
  108. package/dist-types/ts3.4/models/models_2.d.ts +399 -249
  109. package/dist-types/ts3.4/models/models_3.d.ts +426 -74
  110. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  111. package/package.json +5 -5
@@ -6,6 +6,8 @@ import {
6
6
  AgentConfig,
7
7
  AgentInfo,
8
8
  AgentStatusSearchFilter,
9
+ AgentStatusState,
10
+ AllowedCapabilities,
9
11
  Application,
10
12
  Campaign,
11
13
  Channel,
@@ -13,7 +15,12 @@ import {
13
15
  ContactFlowType,
14
16
  ContactInitiationMethod,
15
17
  Endpoint,
16
- EvaluationFormQuestion,
18
+ EvaluationFormAutoEvaluationConfiguration,
19
+ EvaluationFormItemEnablementAction,
20
+ EvaluationFormItemEnablementExpression,
21
+ EvaluationFormItemEnablementOperator,
22
+ EvaluationFormQuestionType,
23
+ EvaluationFormQuestionTypeProperties,
17
24
  EvaluationFormScoringStrategy,
18
25
  HoursOfOperationConfig,
19
26
  HoursOfOperationOverrideConfig,
@@ -58,6 +65,7 @@ import {
58
65
  DisconnectDetails,
59
66
  EndpointInfo,
60
67
  Evaluation,
68
+ EvaluationAnswerData,
61
69
  EvaluationFormVersionStatus,
62
70
  EvaluationNote,
63
71
  Expiry,
@@ -73,38 +81,276 @@ import {
73
81
  WisdomInfo,
74
82
  } from "./models_1";
75
83
  import {
84
+ BooleanCondition,
76
85
  ChatMessage,
77
86
  ContactFlowModuleSearchFilter,
78
87
  ContactFlowSearchFilter,
88
+ ContactRecordingType,
79
89
  ContactSearchSummaryAgentInfo,
80
90
  ContactSearchSummaryQueueInfo,
81
91
  DateCondition,
92
+ DateTimeCondition,
93
+ DecimalCondition,
82
94
  EmailAddressInfo,
83
95
  EmailAddressSearchFilter,
84
96
  EmailAttachment,
85
- EvaluationAnswerInput,
97
+ EvaluationFormSearchFilter,
98
+ EvaluationSearchFilter,
86
99
  HierarchyGroupCondition,
87
100
  HoursOfOperationSearchFilter,
88
101
  InboundAdditionalRecipients,
89
102
  InboundEmailContent,
90
103
  ListCondition,
104
+ NumberCondition,
91
105
  ParticipantDetails,
92
106
  PersistentChat,
93
107
  PromptSearchFilter,
94
- QueueInfoInput,
95
108
  QueueSearchFilter,
96
109
  QuickConnectSearchFilter,
97
110
  RoutingProfileSearchFilter,
98
111
  SearchableQueueType,
99
112
  SecurityProfilesSearchFilter,
113
+ TrafficType,
100
114
  UserHierarchyGroupSearchFilter,
101
115
  UserSearchFilter,
102
116
  } from "./models_2";
117
+ export declare class DestinationNotAllowedException extends __BaseException {
118
+ readonly name: "DestinationNotAllowedException";
119
+ readonly $fault: "client";
120
+ Message?: string | undefined;
121
+ constructor(
122
+ opts: __ExceptionOptionType<DestinationNotAllowedException, __BaseException>
123
+ );
124
+ }
125
+ export declare class OutboundContactNotPermittedException extends __BaseException {
126
+ readonly name: "OutboundContactNotPermittedException";
127
+ readonly $fault: "client";
128
+ Message?: string | undefined;
129
+ constructor(
130
+ opts: __ExceptionOptionType<
131
+ OutboundContactNotPermittedException,
132
+ __BaseException
133
+ >
134
+ );
135
+ }
136
+ export interface AnswerMachineDetectionConfig {
137
+ EnableAnswerMachineDetection?: boolean | undefined;
138
+ AwaitAnswerMachinePrompt?: boolean | undefined;
139
+ }
140
+ export interface StartOutboundVoiceContactRequest {
141
+ Name?: string | undefined;
142
+ Description?: string | undefined;
143
+ References?: Record<string, Reference> | undefined;
144
+ RelatedContactId?: string | undefined;
145
+ DestinationPhoneNumber: string | undefined;
146
+ ContactFlowId: string | undefined;
147
+ InstanceId: string | undefined;
148
+ ClientToken?: string | undefined;
149
+ SourcePhoneNumber?: string | undefined;
150
+ QueueId?: string | undefined;
151
+ Attributes?: Record<string, string> | undefined;
152
+ AnswerMachineDetectionConfig?: AnswerMachineDetectionConfig | undefined;
153
+ CampaignId?: string | undefined;
154
+ TrafficType?: TrafficType | undefined;
155
+ OutboundStrategy?: OutboundStrategy | undefined;
156
+ }
157
+ export interface StartOutboundVoiceContactResponse {
158
+ ContactId?: string | undefined;
159
+ }
160
+ export interface StartScreenSharingRequest {
161
+ ClientToken?: string | undefined;
162
+ InstanceId: string | undefined;
163
+ ContactId: string | undefined;
164
+ }
165
+ export interface StartScreenSharingResponse {}
166
+ export interface StartTaskContactResponse {
167
+ ContactId?: string | undefined;
168
+ }
169
+ export interface StartWebRTCContactRequest {
170
+ Attributes?: Record<string, string> | undefined;
171
+ ClientToken?: string | undefined;
172
+ ContactFlowId: string | undefined;
173
+ InstanceId: string | undefined;
174
+ AllowedCapabilities?: AllowedCapabilities | undefined;
175
+ ParticipantDetails: ParticipantDetails | undefined;
176
+ RelatedContactId?: string | undefined;
177
+ References?: Record<string, Reference> | undefined;
178
+ Description?: string | undefined;
179
+ }
180
+ export interface Attendee {
181
+ AttendeeId?: string | undefined;
182
+ JoinToken?: string | undefined;
183
+ }
184
+ export interface MediaPlacement {
185
+ AudioHostUrl?: string | undefined;
186
+ AudioFallbackUrl?: string | undefined;
187
+ SignalingUrl?: string | undefined;
188
+ TurnControlUrl?: string | undefined;
189
+ EventIngestionUrl?: string | undefined;
190
+ }
191
+ export declare const MeetingFeatureStatus: {
192
+ readonly AVAILABLE: "AVAILABLE";
193
+ readonly UNAVAILABLE: "UNAVAILABLE";
194
+ };
195
+ export type MeetingFeatureStatus =
196
+ (typeof MeetingFeatureStatus)[keyof typeof MeetingFeatureStatus];
197
+ export interface AudioFeatures {
198
+ EchoReduction?: MeetingFeatureStatus | undefined;
199
+ }
200
+ export interface MeetingFeaturesConfiguration {
201
+ Audio?: AudioFeatures | undefined;
202
+ }
203
+ export interface Meeting {
204
+ MediaRegion?: string | undefined;
205
+ MediaPlacement?: MediaPlacement | undefined;
206
+ MeetingFeatures?: MeetingFeaturesConfiguration | undefined;
207
+ MeetingId?: string | undefined;
208
+ }
209
+ export interface ConnectionData {
210
+ Attendee?: Attendee | undefined;
211
+ Meeting?: Meeting | undefined;
212
+ }
213
+ export interface StartWebRTCContactResponse {
214
+ ConnectionData?: ConnectionData | undefined;
215
+ ContactId?: string | undefined;
216
+ ParticipantId?: string | undefined;
217
+ ParticipantToken?: string | undefined;
218
+ }
219
+ export declare class ContactNotFoundException extends __BaseException {
220
+ readonly name: "ContactNotFoundException";
221
+ readonly $fault: "client";
222
+ Message?: string | undefined;
223
+ constructor(
224
+ opts: __ExceptionOptionType<ContactNotFoundException, __BaseException>
225
+ );
226
+ }
227
+ export interface DisconnectReason {
228
+ Code?: string | undefined;
229
+ }
230
+ export interface StopContactRequest {
231
+ ContactId: string | undefined;
232
+ InstanceId: string | undefined;
233
+ DisconnectReason?: DisconnectReason | undefined;
234
+ }
235
+ export interface StopContactResponse {}
236
+ export interface StopContactRecordingRequest {
237
+ InstanceId: string | undefined;
238
+ ContactId: string | undefined;
239
+ InitialContactId: string | undefined;
240
+ ContactRecordingType?: ContactRecordingType | undefined;
241
+ }
242
+ export interface StopContactRecordingResponse {}
243
+ export interface StopContactStreamingRequest {
244
+ InstanceId: string | undefined;
245
+ ContactId: string | undefined;
246
+ StreamingId: string | undefined;
247
+ }
248
+ export interface StopContactStreamingResponse {}
249
+ export interface EvaluationAnswerInput {
250
+ Value?: EvaluationAnswerData | undefined;
251
+ }
252
+ export type EvaluatorUserUnion =
253
+ | EvaluatorUserUnion.ConnectUserArnMember
254
+ | EvaluatorUserUnion.$UnknownMember;
255
+ export declare namespace EvaluatorUserUnion {
256
+ interface ConnectUserArnMember {
257
+ ConnectUserArn: string;
258
+ $unknown?: never;
259
+ }
260
+ interface $UnknownMember {
261
+ ConnectUserArn?: never;
262
+ $unknown: [string, any];
263
+ }
264
+ interface Visitor<T> {
265
+ ConnectUserArn: (value: string) => T;
266
+ _: (name: string, value: any) => T;
267
+ }
268
+ const visit: <T>(value: EvaluatorUserUnion, visitor: Visitor<T>) => T;
269
+ }
270
+ export interface SubmitContactEvaluationRequest {
271
+ InstanceId: string | undefined;
272
+ EvaluationId: string | undefined;
273
+ Answers?: Record<string, EvaluationAnswerInput> | undefined;
274
+ Notes?: Record<string, EvaluationNote> | undefined;
275
+ SubmittedBy?: EvaluatorUserUnion | undefined;
276
+ }
277
+ export interface SubmitContactEvaluationResponse {
278
+ EvaluationId: string | undefined;
279
+ EvaluationArn: string | undefined;
280
+ }
281
+ export interface SuspendContactRecordingRequest {
282
+ InstanceId: string | undefined;
283
+ ContactId: string | undefined;
284
+ InitialContactId: string | undefined;
285
+ ContactRecordingType?: ContactRecordingType | undefined;
286
+ }
287
+ export interface SuspendContactRecordingResponse {}
288
+ export interface TagContactRequest {
289
+ ContactId: string | undefined;
290
+ InstanceId: string | undefined;
291
+ Tags: Record<string, string> | undefined;
292
+ }
293
+ export interface TagContactResponse {}
294
+ export interface TagResourceRequest {
295
+ resourceArn: string | undefined;
296
+ tags: Record<string, string> | undefined;
297
+ }
298
+ export interface TransferContactRequest {
299
+ InstanceId: string | undefined;
300
+ ContactId: string | undefined;
301
+ QueueId?: string | undefined;
302
+ UserId?: string | undefined;
303
+ ContactFlowId: string | undefined;
304
+ ClientToken?: string | undefined;
305
+ }
306
+ export interface TransferContactResponse {
307
+ ContactId?: string | undefined;
308
+ ContactArn?: string | undefined;
309
+ }
310
+ export interface UntagContactRequest {
311
+ ContactId: string | undefined;
312
+ InstanceId: string | undefined;
313
+ TagKeys: string[] | undefined;
314
+ }
315
+ export interface UntagContactResponse {}
316
+ export interface UntagResourceRequest {
317
+ resourceArn: string | undefined;
318
+ tagKeys: string[] | undefined;
319
+ }
320
+ export interface UpdateAgentStatusRequest {
321
+ InstanceId: string | undefined;
322
+ AgentStatusId: string | undefined;
323
+ Name?: string | undefined;
324
+ Description?: string | undefined;
325
+ State?: AgentStatusState | undefined;
326
+ DisplayOrder?: number | undefined;
327
+ ResetOrderNumber?: boolean | undefined;
328
+ }
329
+ export interface UpdateAuthenticationProfileRequest {
330
+ AuthenticationProfileId: string | undefined;
331
+ InstanceId: string | undefined;
332
+ Name?: string | undefined;
333
+ Description?: string | undefined;
334
+ AllowedIps?: string[] | undefined;
335
+ BlockedIps?: string[] | undefined;
336
+ PeriodicSessionDuration?: number | undefined;
337
+ }
338
+ export interface QueueInfoInput {
339
+ Id?: string | undefined;
340
+ }
341
+ export interface UpdateContactResponse {}
342
+ export interface UpdateContactAttributesRequest {
343
+ InitialContactId: string | undefined;
344
+ InstanceId: string | undefined;
345
+ Attributes: Record<string, string> | undefined;
346
+ }
347
+ export interface UpdateContactAttributesResponse {}
103
348
  export interface UpdateContactEvaluationRequest {
104
349
  InstanceId: string | undefined;
105
350
  EvaluationId: string | undefined;
106
351
  Answers?: Record<string, EvaluationAnswerInput> | undefined;
107
352
  Notes?: Record<string, EvaluationNote> | undefined;
353
+ UpdatedBy?: EvaluatorUserUnion | undefined;
108
354
  }
109
355
  export interface UpdateContactEvaluationResponse {
110
356
  EvaluationId: string | undefined;
@@ -519,39 +765,39 @@ export interface UpdateViewMetadataRequest {
519
765
  Description?: string | undefined;
520
766
  }
521
767
  export interface UpdateViewMetadataResponse {}
522
- export type EvaluationFormItem =
523
- | EvaluationFormItem.QuestionMember
524
- | EvaluationFormItem.SectionMember
525
- | EvaluationFormItem.$UnknownMember;
526
- export declare namespace EvaluationFormItem {
527
- interface SectionMember {
528
- Section: EvaluationFormSection;
529
- Question?: never;
768
+ export interface EvaluationFormItemEnablementCondition {
769
+ Operands: EvaluationFormItemEnablementConditionOperand[] | undefined;
770
+ Operator?: EvaluationFormItemEnablementOperator | undefined;
771
+ }
772
+ export type EvaluationFormItemEnablementConditionOperand =
773
+ | EvaluationFormItemEnablementConditionOperand.ConditionMember
774
+ | EvaluationFormItemEnablementConditionOperand.ExpressionMember
775
+ | EvaluationFormItemEnablementConditionOperand.$UnknownMember;
776
+ export declare namespace EvaluationFormItemEnablementConditionOperand {
777
+ interface ExpressionMember {
778
+ Expression: EvaluationFormItemEnablementExpression;
779
+ Condition?: never;
530
780
  $unknown?: never;
531
781
  }
532
- interface QuestionMember {
533
- Section?: never;
534
- Question: EvaluationFormQuestion;
782
+ interface ConditionMember {
783
+ Expression?: never;
784
+ Condition: EvaluationFormItemEnablementCondition;
535
785
  $unknown?: never;
536
786
  }
537
787
  interface $UnknownMember {
538
- Section?: never;
539
- Question?: never;
788
+ Expression?: never;
789
+ Condition?: never;
540
790
  $unknown: [string, any];
541
791
  }
542
792
  interface Visitor<T> {
543
- Section: (value: EvaluationFormSection) => T;
544
- Question: (value: EvaluationFormQuestion) => T;
793
+ Expression: (value: EvaluationFormItemEnablementExpression) => T;
794
+ Condition: (value: EvaluationFormItemEnablementCondition) => T;
545
795
  _: (name: string, value: any) => T;
546
796
  }
547
- const visit: <T>(value: EvaluationFormItem, visitor: Visitor<T>) => T;
548
- }
549
- export interface EvaluationFormSection {
550
- Title: string | undefined;
551
- RefId: string | undefined;
552
- Instructions?: string | undefined;
553
- Items: EvaluationFormItem[] | undefined;
554
- Weight?: number | undefined;
797
+ const visit: <T>(
798
+ value: EvaluationFormItemEnablementConditionOperand,
799
+ visitor: Visitor<T>
800
+ ) => T;
555
801
  }
556
802
  export interface AgentStatusSearchCriteria {
557
803
  OrConditions?: AgentStatusSearchCriteria[] | undefined;
@@ -573,43 +819,32 @@ export interface ContactFlowSearchCriteria {
573
819
  StateCondition?: ContactFlowState | undefined;
574
820
  StatusCondition?: ContactFlowStatus | undefined;
575
821
  }
576
- export interface CreateEvaluationFormRequest {
577
- InstanceId: string | undefined;
578
- Title: string | undefined;
579
- Description?: string | undefined;
580
- Items: EvaluationFormItem[] | undefined;
581
- ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
582
- ClientToken?: string | undefined;
583
- }
584
822
  export interface EmailAddressSearchCriteria {
585
823
  OrConditions?: EmailAddressSearchCriteria[] | undefined;
586
824
  AndConditions?: EmailAddressSearchCriteria[] | undefined;
587
825
  StringCondition?: StringCondition | undefined;
588
826
  }
589
- export interface EvaluationForm {
590
- EvaluationFormId: string | undefined;
591
- EvaluationFormVersion: number | undefined;
592
- Locked: boolean | undefined;
593
- EvaluationFormArn: string | undefined;
594
- Title: string | undefined;
595
- Description?: string | undefined;
596
- Status: EvaluationFormVersionStatus | undefined;
597
- Items: EvaluationFormItem[] | undefined;
598
- ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
599
- CreatedTime: Date | undefined;
600
- CreatedBy: string | undefined;
601
- LastModifiedTime: Date | undefined;
602
- LastModifiedBy: string | undefined;
603
- Tags?: Record<string, string> | undefined;
827
+ export interface EvaluationFormItemEnablementConfiguration {
828
+ Condition: EvaluationFormItemEnablementCondition | undefined;
829
+ Action: EvaluationFormItemEnablementAction | undefined;
830
+ DefaultAction?: EvaluationFormItemEnablementAction | undefined;
604
831
  }
605
- export interface EvaluationFormContent {
606
- EvaluationFormVersion: number | undefined;
607
- EvaluationFormId: string | undefined;
608
- EvaluationFormArn: string | undefined;
609
- Title: string | undefined;
610
- Description?: string | undefined;
611
- Items: EvaluationFormItem[] | undefined;
612
- ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
832
+ export interface EvaluationFormSearchCriteria {
833
+ OrConditions?: EvaluationFormSearchCriteria[] | undefined;
834
+ AndConditions?: EvaluationFormSearchCriteria[] | undefined;
835
+ StringCondition?: StringCondition | undefined;
836
+ NumberCondition?: NumberCondition | undefined;
837
+ BooleanCondition?: BooleanCondition | undefined;
838
+ DateTimeCondition?: DateTimeCondition | undefined;
839
+ }
840
+ export interface EvaluationSearchCriteria {
841
+ OrConditions?: EvaluationSearchCriteria[] | undefined;
842
+ AndConditions?: EvaluationSearchCriteria[] | undefined;
843
+ StringCondition?: StringCondition | undefined;
844
+ NumberCondition?: NumberCondition | undefined;
845
+ BooleanCondition?: BooleanCondition | undefined;
846
+ DateTimeCondition?: DateTimeCondition | undefined;
847
+ DecimalCondition?: DecimalCondition | undefined;
613
848
  }
614
849
  export interface Expression {
615
850
  AttributeCondition?: AttributeCondition | undefined;
@@ -666,17 +901,6 @@ export interface SegmentAttributeValue {
666
901
  ValueList?: SegmentAttributeValue[] | undefined;
667
902
  ValueArn?: string | undefined;
668
903
  }
669
- export interface UpdateEvaluationFormRequest {
670
- InstanceId: string | undefined;
671
- EvaluationFormId: string | undefined;
672
- EvaluationFormVersion: number | undefined;
673
- CreateNewVersion?: boolean | undefined;
674
- Title: string | undefined;
675
- Description?: string | undefined;
676
- Items: EvaluationFormItem[] | undefined;
677
- ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
678
- ClientToken?: string | undefined;
679
- }
680
904
  export interface UserHierarchyGroupSearchCriteria {
681
905
  OrConditions?: UserHierarchyGroupSearchCriteria[] | undefined;
682
906
  AndConditions?: UserHierarchyGroupSearchCriteria[] | undefined;
@@ -689,12 +913,15 @@ export interface UserSearchCriteria {
689
913
  ListCondition?: ListCondition | undefined;
690
914
  HierarchyGroupCondition?: HierarchyGroupCondition | undefined;
691
915
  }
692
- export interface DescribeContactEvaluationResponse {
693
- Evaluation: Evaluation | undefined;
694
- EvaluationForm: EvaluationFormContent | undefined;
695
- }
696
- export interface DescribeEvaluationFormResponse {
697
- EvaluationForm: EvaluationForm | undefined;
916
+ export interface EvaluationFormQuestion {
917
+ Title: string | undefined;
918
+ Instructions?: string | undefined;
919
+ RefId: string | undefined;
920
+ NotApplicableEnabled?: boolean | undefined;
921
+ QuestionType: EvaluationFormQuestionType | undefined;
922
+ QuestionTypeProperties?: EvaluationFormQuestionTypeProperties | undefined;
923
+ Enablement?: EvaluationFormItemEnablementConfiguration | undefined;
924
+ Weight?: number | undefined;
698
925
  }
699
926
  export interface RoutingCriteriaInputStep {
700
927
  Expiry?: RoutingCriteriaInputStepExpiry | undefined;
@@ -707,6 +934,13 @@ export interface SearchAgentStatusesRequest {
707
934
  SearchFilter?: AgentStatusSearchFilter | undefined;
708
935
  SearchCriteria?: AgentStatusSearchCriteria | undefined;
709
936
  }
937
+ export interface SearchContactEvaluationsRequest {
938
+ InstanceId: string | undefined;
939
+ NextToken?: string | undefined;
940
+ MaxResults?: number | undefined;
941
+ SearchCriteria?: EvaluationSearchCriteria | undefined;
942
+ SearchFilter?: EvaluationSearchFilter | undefined;
943
+ }
710
944
  export interface SearchContactFlowModulesRequest {
711
945
  InstanceId: string | undefined;
712
946
  NextToken?: string | undefined;
@@ -728,6 +962,13 @@ export interface SearchEmailAddressesRequest {
728
962
  SearchCriteria?: EmailAddressSearchCriteria | undefined;
729
963
  SearchFilter?: EmailAddressSearchFilter | undefined;
730
964
  }
965
+ export interface SearchEvaluationFormsRequest {
966
+ InstanceId: string | undefined;
967
+ NextToken?: string | undefined;
968
+ MaxResults?: number | undefined;
969
+ SearchCriteria?: EvaluationFormSearchCriteria | undefined;
970
+ SearchFilter?: EvaluationFormSearchFilter | undefined;
971
+ }
731
972
  export interface SearchHoursOfOperationOverridesRequest {
732
973
  InstanceId: string | undefined;
733
974
  NextToken?: string | undefined;
@@ -893,6 +1134,33 @@ export interface UpdateContactRequest {
893
1134
  CustomerEndpoint?: Endpoint | undefined;
894
1135
  SystemEndpoint?: Endpoint | undefined;
895
1136
  }
1137
+ export type EvaluationFormItem =
1138
+ | EvaluationFormItem.QuestionMember
1139
+ | EvaluationFormItem.SectionMember
1140
+ | EvaluationFormItem.$UnknownMember;
1141
+ export declare namespace EvaluationFormItem {
1142
+ interface SectionMember {
1143
+ Section: EvaluationFormSection;
1144
+ Question?: never;
1145
+ $unknown?: never;
1146
+ }
1147
+ interface QuestionMember {
1148
+ Section?: never;
1149
+ Question: EvaluationFormQuestion;
1150
+ $unknown?: never;
1151
+ }
1152
+ interface $UnknownMember {
1153
+ Section?: never;
1154
+ Question?: never;
1155
+ $unknown: [string, any];
1156
+ }
1157
+ interface Visitor<T> {
1158
+ Section: (value: EvaluationFormSection) => T;
1159
+ Question: (value: EvaluationFormQuestion) => T;
1160
+ _: (name: string, value: any) => T;
1161
+ }
1162
+ const visit: <T>(value: EvaluationFormItem, visitor: Visitor<T>) => T;
1163
+ }
896
1164
  export interface RoutingCriteria {
897
1165
  Steps?: Step[] | undefined;
898
1166
  ActivationTimestamp?: Date | undefined;
@@ -901,6 +1169,56 @@ export interface RoutingCriteria {
901
1169
  export interface RoutingCriteriaInput {
902
1170
  Steps?: RoutingCriteriaInputStep[] | undefined;
903
1171
  }
1172
+ export interface EvaluationFormSection {
1173
+ Title: string | undefined;
1174
+ RefId: string | undefined;
1175
+ Instructions?: string | undefined;
1176
+ Items: EvaluationFormItem[] | undefined;
1177
+ Weight?: number | undefined;
1178
+ }
1179
+ export interface CreateEvaluationFormRequest {
1180
+ InstanceId: string | undefined;
1181
+ Title: string | undefined;
1182
+ Description?: string | undefined;
1183
+ Items: EvaluationFormItem[] | undefined;
1184
+ ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
1185
+ AutoEvaluationConfiguration?:
1186
+ | EvaluationFormAutoEvaluationConfiguration
1187
+ | undefined;
1188
+ ClientToken?: string | undefined;
1189
+ Tags?: Record<string, string> | undefined;
1190
+ }
1191
+ export interface EvaluationForm {
1192
+ EvaluationFormId: string | undefined;
1193
+ EvaluationFormVersion: number | undefined;
1194
+ Locked: boolean | undefined;
1195
+ EvaluationFormArn: string | undefined;
1196
+ Title: string | undefined;
1197
+ Description?: string | undefined;
1198
+ Status: EvaluationFormVersionStatus | undefined;
1199
+ Items: EvaluationFormItem[] | undefined;
1200
+ ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
1201
+ CreatedTime: Date | undefined;
1202
+ CreatedBy: string | undefined;
1203
+ LastModifiedTime: Date | undefined;
1204
+ LastModifiedBy: string | undefined;
1205
+ AutoEvaluationConfiguration?:
1206
+ | EvaluationFormAutoEvaluationConfiguration
1207
+ | undefined;
1208
+ Tags?: Record<string, string> | undefined;
1209
+ }
1210
+ export interface EvaluationFormContent {
1211
+ EvaluationFormVersion: number | undefined;
1212
+ EvaluationFormId: string | undefined;
1213
+ EvaluationFormArn: string | undefined;
1214
+ Title: string | undefined;
1215
+ Description?: string | undefined;
1216
+ Items: EvaluationFormItem[] | undefined;
1217
+ ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
1218
+ AutoEvaluationConfiguration?:
1219
+ | EvaluationFormAutoEvaluationConfiguration
1220
+ | undefined;
1221
+ }
904
1222
  export interface UpdateContactRoutingDataRequest {
905
1223
  InstanceId: string | undefined;
906
1224
  ContactId: string | undefined;
@@ -908,6 +1226,27 @@ export interface UpdateContactRoutingDataRequest {
908
1226
  QueuePriority?: number | undefined;
909
1227
  RoutingCriteria?: RoutingCriteriaInput | undefined;
910
1228
  }
1229
+ export interface UpdateEvaluationFormRequest {
1230
+ InstanceId: string | undefined;
1231
+ EvaluationFormId: string | undefined;
1232
+ EvaluationFormVersion: number | undefined;
1233
+ CreateNewVersion?: boolean | undefined;
1234
+ Title: string | undefined;
1235
+ Description?: string | undefined;
1236
+ Items: EvaluationFormItem[] | undefined;
1237
+ ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
1238
+ AutoEvaluationConfiguration?:
1239
+ | EvaluationFormAutoEvaluationConfiguration
1240
+ | undefined;
1241
+ ClientToken?: string | undefined;
1242
+ }
1243
+ export interface DescribeContactEvaluationResponse {
1244
+ Evaluation: Evaluation | undefined;
1245
+ EvaluationForm: EvaluationFormContent | undefined;
1246
+ }
1247
+ export interface DescribeEvaluationFormResponse {
1248
+ EvaluationForm: EvaluationForm | undefined;
1249
+ }
911
1250
  export interface Contact {
912
1251
  Arn?: string | undefined;
913
1252
  Id?: string | undefined;
@@ -981,6 +1320,19 @@ export interface SearchContactsResponse {
981
1320
  NextToken?: string | undefined;
982
1321
  TotalCount?: number | undefined;
983
1322
  }
1323
+ export declare const StartOutboundVoiceContactRequestFilterSensitiveLog: (
1324
+ obj: StartOutboundVoiceContactRequest
1325
+ ) => any;
1326
+ export declare const StartWebRTCContactRequestFilterSensitiveLog: (
1327
+ obj: StartWebRTCContactRequest
1328
+ ) => any;
1329
+ export declare const AttendeeFilterSensitiveLog: (obj: Attendee) => any;
1330
+ export declare const ConnectionDataFilterSensitiveLog: (
1331
+ obj: ConnectionData
1332
+ ) => any;
1333
+ export declare const StartWebRTCContactResponseFilterSensitiveLog: (
1334
+ obj: StartWebRTCContactResponse
1335
+ ) => any;
984
1336
  export declare const UpdateEmailAddressMetadataRequestFilterSensitiveLog: (
985
1337
  obj: UpdateEmailAddressMetadataRequest
986
1338
  ) => any;
@@ -787,6 +787,10 @@ import {
787
787
  SearchAvailablePhoneNumbersCommandInput,
788
788
  SearchAvailablePhoneNumbersCommandOutput,
789
789
  } from "../commands/SearchAvailablePhoneNumbersCommand";
790
+ import {
791
+ SearchContactEvaluationsCommandInput,
792
+ SearchContactEvaluationsCommandOutput,
793
+ } from "../commands/SearchContactEvaluationsCommand";
790
794
  import {
791
795
  SearchContactFlowModulesCommandInput,
792
796
  SearchContactFlowModulesCommandOutput,
@@ -803,6 +807,10 @@ import {
803
807
  SearchEmailAddressesCommandInput,
804
808
  SearchEmailAddressesCommandOutput,
805
809
  } from "../commands/SearchEmailAddressesCommand";
810
+ import {
811
+ SearchEvaluationFormsCommandInput,
812
+ SearchEvaluationFormsCommandOutput,
813
+ } from "../commands/SearchEvaluationFormsCommand";
806
814
  import {
807
815
  SearchHoursOfOperationOverridesCommandInput,
808
816
  SearchHoursOfOperationOverridesCommandOutput,
@@ -1935,6 +1943,10 @@ export declare const se_SearchAvailablePhoneNumbersCommand: (
1935
1943
  input: SearchAvailablePhoneNumbersCommandInput,
1936
1944
  context: __SerdeContext
1937
1945
  ) => Promise<__HttpRequest>;
1946
+ export declare const se_SearchContactEvaluationsCommand: (
1947
+ input: SearchContactEvaluationsCommandInput,
1948
+ context: __SerdeContext
1949
+ ) => Promise<__HttpRequest>;
1938
1950
  export declare const se_SearchContactFlowModulesCommand: (
1939
1951
  input: SearchContactFlowModulesCommandInput,
1940
1952
  context: __SerdeContext
@@ -1951,6 +1963,10 @@ export declare const se_SearchEmailAddressesCommand: (
1951
1963
  input: SearchEmailAddressesCommandInput,
1952
1964
  context: __SerdeContext
1953
1965
  ) => Promise<__HttpRequest>;
1966
+ export declare const se_SearchEvaluationFormsCommand: (
1967
+ input: SearchEvaluationFormsCommandInput,
1968
+ context: __SerdeContext
1969
+ ) => Promise<__HttpRequest>;
1954
1970
  export declare const se_SearchHoursOfOperationOverridesCommand: (
1955
1971
  input: SearchHoursOfOperationOverridesCommandInput,
1956
1972
  context: __SerdeContext
@@ -3083,6 +3099,10 @@ export declare const de_SearchAvailablePhoneNumbersCommand: (
3083
3099
  output: __HttpResponse,
3084
3100
  context: __SerdeContext
3085
3101
  ) => Promise<SearchAvailablePhoneNumbersCommandOutput>;
3102
+ export declare const de_SearchContactEvaluationsCommand: (
3103
+ output: __HttpResponse,
3104
+ context: __SerdeContext
3105
+ ) => Promise<SearchContactEvaluationsCommandOutput>;
3086
3106
  export declare const de_SearchContactFlowModulesCommand: (
3087
3107
  output: __HttpResponse,
3088
3108
  context: __SerdeContext
@@ -3099,6 +3119,10 @@ export declare const de_SearchEmailAddressesCommand: (
3099
3119
  output: __HttpResponse,
3100
3120
  context: __SerdeContext
3101
3121
  ) => Promise<SearchEmailAddressesCommandOutput>;
3122
+ export declare const de_SearchEvaluationFormsCommand: (
3123
+ output: __HttpResponse,
3124
+ context: __SerdeContext
3125
+ ) => Promise<SearchEvaluationFormsCommandOutput>;
3102
3126
  export declare const de_SearchHoursOfOperationOverridesCommand: (
3103
3127
  output: __HttpResponse,
3104
3128
  context: __SerdeContext