@aws-sdk/client-connect 3.925.0 → 3.927.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
@@ -3168,6 +3168,128 @@ export interface CreateEmailAddressResponse {
3168
3168
  */
3169
3169
  EmailAddressArn?: string | undefined;
3170
3170
  }
3171
+ /**
3172
+ * <p>The automatic evaluation configuration of an evaluation form.</p>
3173
+ * @public
3174
+ */
3175
+ export interface EvaluationFormAutoEvaluationConfiguration {
3176
+ /**
3177
+ * <p>When automated evaluation is enabled.</p>
3178
+ * @public
3179
+ */
3180
+ Enabled: boolean | undefined;
3181
+ }
3182
+ /**
3183
+ * @public
3184
+ * @enum
3185
+ */
3186
+ export declare const EvaluationFormItemEnablementAction: {
3187
+ readonly DISABLE: "DISABLE";
3188
+ readonly ENABLE: "ENABLE";
3189
+ };
3190
+ /**
3191
+ * @public
3192
+ */
3193
+ export type EvaluationFormItemEnablementAction = (typeof EvaluationFormItemEnablementAction)[keyof typeof EvaluationFormItemEnablementAction];
3194
+ /**
3195
+ * @public
3196
+ * @enum
3197
+ */
3198
+ export declare const EvaluationFormItemSourceValuesComparator: {
3199
+ readonly IN: "IN";
3200
+ readonly NOT_IN: "NOT_IN";
3201
+ };
3202
+ /**
3203
+ * @public
3204
+ */
3205
+ export type EvaluationFormItemSourceValuesComparator = (typeof EvaluationFormItemSourceValuesComparator)[keyof typeof EvaluationFormItemSourceValuesComparator];
3206
+ /**
3207
+ * @public
3208
+ * @enum
3209
+ */
3210
+ export declare const EvaluationFormItemEnablementSourceType: {
3211
+ readonly QUESTION_REF_ID: "QUESTION_REF_ID";
3212
+ };
3213
+ /**
3214
+ * @public
3215
+ */
3216
+ export type EvaluationFormItemEnablementSourceType = (typeof EvaluationFormItemEnablementSourceType)[keyof typeof EvaluationFormItemEnablementSourceType];
3217
+ /**
3218
+ * <p>An enablement expression source item.</p>
3219
+ * @public
3220
+ */
3221
+ export interface EvaluationFormItemEnablementSource {
3222
+ /**
3223
+ * <p>A type of source item. </p>
3224
+ * @public
3225
+ */
3226
+ Type: EvaluationFormItemEnablementSourceType | undefined;
3227
+ /**
3228
+ * <p>A referenceId of the source item.</p>
3229
+ * @public
3230
+ */
3231
+ RefId?: string | undefined;
3232
+ }
3233
+ /**
3234
+ * @public
3235
+ * @enum
3236
+ */
3237
+ export declare const EvaluationFormItemEnablementSourceValueType: {
3238
+ readonly OPTION_REF_ID: "OPTION_REF_ID";
3239
+ };
3240
+ /**
3241
+ * @public
3242
+ */
3243
+ export type EvaluationFormItemEnablementSourceValueType = (typeof EvaluationFormItemEnablementSourceValueType)[keyof typeof EvaluationFormItemEnablementSourceValueType];
3244
+ /**
3245
+ * <p>An enablement expression source value.</p>
3246
+ * @public
3247
+ */
3248
+ export interface EvaluationFormItemEnablementSourceValue {
3249
+ /**
3250
+ * <p>A type of source item value. </p>
3251
+ * @public
3252
+ */
3253
+ Type: EvaluationFormItemEnablementSourceValueType | undefined;
3254
+ /**
3255
+ * <p>A referenceId of the source value.</p>
3256
+ * @public
3257
+ */
3258
+ RefId?: string | undefined;
3259
+ }
3260
+ /**
3261
+ * <p>An expression that defines a basic building block of conditional enablement.</p>
3262
+ * @public
3263
+ */
3264
+ export interface EvaluationFormItemEnablementExpression {
3265
+ /**
3266
+ * <p>A source item of enablement expression.</p>
3267
+ * @public
3268
+ */
3269
+ Source: EvaluationFormItemEnablementSource | undefined;
3270
+ /**
3271
+ * <p>A list of values from source item.</p>
3272
+ * @public
3273
+ */
3274
+ Values: EvaluationFormItemEnablementSourceValue[] | undefined;
3275
+ /**
3276
+ * <p>A comparator to be used against list of values. </p>
3277
+ * @public
3278
+ */
3279
+ Comparator: EvaluationFormItemSourceValuesComparator | undefined;
3280
+ }
3281
+ /**
3282
+ * @public
3283
+ * @enum
3284
+ */
3285
+ export declare const EvaluationFormItemEnablementOperator: {
3286
+ readonly AND: "AND";
3287
+ readonly OR: "OR";
3288
+ };
3289
+ /**
3290
+ * @public
3291
+ */
3292
+ export type EvaluationFormItemEnablementOperator = (typeof EvaluationFormItemEnablementOperator)[keyof typeof EvaluationFormItemEnablementOperator];
3171
3293
  /**
3172
3294
  * @public
3173
3295
  * @enum
@@ -3181,16 +3303,42 @@ export declare const EvaluationFormQuestionType: {
3181
3303
  * @public
3182
3304
  */
3183
3305
  export type EvaluationFormQuestionType = (typeof EvaluationFormQuestionType)[keyof typeof EvaluationFormQuestionType];
3306
+ /**
3307
+ * @public
3308
+ * @enum
3309
+ */
3310
+ export declare const EvaluationFormQuestionAutomationAnswerSourceType: {
3311
+ readonly CONTACT_LENS_DATA: "CONTACT_LENS_DATA";
3312
+ readonly GEN_AI: "GEN_AI";
3313
+ };
3314
+ /**
3315
+ * @public
3316
+ */
3317
+ export type EvaluationFormQuestionAutomationAnswerSourceType = (typeof EvaluationFormQuestionAutomationAnswerSourceType)[keyof typeof EvaluationFormQuestionAutomationAnswerSourceType];
3318
+ /**
3319
+ * <p>A question automation answer.</p>
3320
+ * @public
3321
+ */
3322
+ export interface EvaluationFormQuestionAutomationAnswerSource {
3323
+ /**
3324
+ * <p>The automation answer source type.</p>
3325
+ * @public
3326
+ */
3327
+ SourceType: EvaluationFormQuestionAutomationAnswerSourceType | undefined;
3328
+ }
3184
3329
  /**
3185
3330
  * @public
3186
3331
  * @enum
3187
3332
  */
3188
3333
  export declare const NumericQuestionPropertyAutomationLabel: {
3334
+ readonly AGENT_INTERACTION_AND_HOLD_DURATION: "AGENT_INTERACTION_AND_HOLD_DURATION";
3189
3335
  readonly AGENT_INTERACTION_DURATION: "AGENT_INTERACTION_DURATION";
3190
3336
  readonly CONTACT_DURATION: "CONTACT_DURATION";
3191
3337
  readonly CUSTOMER_HOLD_TIME: "CUSTOMER_HOLD_TIME";
3338
+ readonly LONGEST_HOLD_DURATION: "LONGEST_HOLD_DURATION";
3192
3339
  readonly NON_TALK_TIME: "NON_TALK_TIME";
3193
3340
  readonly NON_TALK_TIME_PERCENTAGE: "NON_TALK_TIME_PERCENTAGE";
3341
+ readonly NUMBER_OF_HOLDS: "NUMBER_OF_HOLDS";
3194
3342
  readonly NUMBER_OF_INTERRUPTIONS: "NUMBER_OF_INTERRUPTIONS";
3195
3343
  readonly OVERALL_AGENT_SENTIMENT_SCORE: "OVERALL_AGENT_SENTIMENT_SCORE";
3196
3344
  readonly OVERALL_CUSTOMER_SENTIMENT_SCORE: "OVERALL_CUSTOMER_SENTIMENT_SCORE";
@@ -3233,7 +3381,7 @@ export interface NumericQuestionPropertyValueAutomation {
3233
3381
  * <p>Information about the automation configuration in numeric questions.</p>
3234
3382
  * @public
3235
3383
  */
3236
- export type EvaluationFormNumericQuestionAutomation = EvaluationFormNumericQuestionAutomation.PropertyValueMember | EvaluationFormNumericQuestionAutomation.$UnknownMember;
3384
+ export type EvaluationFormNumericQuestionAutomation = EvaluationFormNumericQuestionAutomation.AnswerSourceMember | EvaluationFormNumericQuestionAutomation.PropertyValueMember | EvaluationFormNumericQuestionAutomation.$UnknownMember;
3237
3385
  /**
3238
3386
  * @public
3239
3387
  */
@@ -3244,6 +3392,16 @@ export declare namespace EvaluationFormNumericQuestionAutomation {
3244
3392
  */
3245
3393
  interface PropertyValueMember {
3246
3394
  PropertyValue: NumericQuestionPropertyValueAutomation;
3395
+ AnswerSource?: never;
3396
+ $unknown?: never;
3397
+ }
3398
+ /**
3399
+ * <p>A source of automation answer for numeric question.</p>
3400
+ * @public
3401
+ */
3402
+ interface AnswerSourceMember {
3403
+ PropertyValue?: never;
3404
+ AnswerSource: EvaluationFormQuestionAutomationAnswerSource;
3247
3405
  $unknown?: never;
3248
3406
  }
3249
3407
  /**
@@ -3251,14 +3409,27 @@ export declare namespace EvaluationFormNumericQuestionAutomation {
3251
3409
  */
3252
3410
  interface $UnknownMember {
3253
3411
  PropertyValue?: never;
3412
+ AnswerSource?: never;
3254
3413
  $unknown: [string, any];
3255
3414
  }
3256
3415
  interface Visitor<T> {
3257
3416
  PropertyValue: (value: NumericQuestionPropertyValueAutomation) => T;
3417
+ AnswerSource: (value: EvaluationFormQuestionAutomationAnswerSource) => T;
3258
3418
  _: (name: string, value: any) => T;
3259
3419
  }
3260
3420
  const visit: <T>(value: EvaluationFormNumericQuestionAutomation, visitor: Visitor<T>) => T;
3261
3421
  }
3422
+ /**
3423
+ * <p>Information about automatic fail configuration for an evaluation form.</p>
3424
+ * @public
3425
+ */
3426
+ export interface AutomaticFailConfiguration {
3427
+ /**
3428
+ * <p>The referenceId of the target section for auto failure.</p>
3429
+ * @public
3430
+ */
3431
+ TargetSection?: string | undefined;
3432
+ }
3262
3433
  /**
3263
3434
  * <p>Information about the option range used for scoring in numeric questions.</p>
3264
3435
  * @public
@@ -3285,6 +3456,11 @@ export interface EvaluationFormNumericQuestionOption {
3285
3456
  * @public
3286
3457
  */
3287
3458
  AutomaticFail?: boolean | undefined;
3459
+ /**
3460
+ * <p>A configuration for automatic fail.</p>
3461
+ * @public
3462
+ */
3463
+ AutomaticFailConfiguration?: AutomaticFailConfiguration | undefined;
3288
3464
  }
3289
3465
  /**
3290
3466
  * <p>Information about properties for a numeric question in an evaluation form.</p>
@@ -3390,13 +3566,18 @@ export interface EvaluationFormSingleSelectQuestionAutomation {
3390
3566
  * <p>The automation options of the single select question.</p>
3391
3567
  * @public
3392
3568
  */
3393
- Options: EvaluationFormSingleSelectQuestionAutomationOption[] | undefined;
3569
+ Options?: EvaluationFormSingleSelectQuestionAutomationOption[] | undefined;
3394
3570
  /**
3395
3571
  * <p>The identifier of the default answer option, when none of the automation options match the
3396
3572
  * criteria.</p>
3397
3573
  * @public
3398
3574
  */
3399
3575
  DefaultOptionRefId?: string | undefined;
3576
+ /**
3577
+ * <p>Automation answer source.</p>
3578
+ * @public
3579
+ */
3580
+ AnswerSource?: EvaluationFormQuestionAutomationAnswerSource | undefined;
3400
3581
  }
3401
3582
  /**
3402
3583
  * @public
@@ -3437,6 +3618,11 @@ export interface EvaluationFormSingleSelectQuestionOption {
3437
3618
  * @public
3438
3619
  */
3439
3620
  AutomaticFail?: boolean | undefined;
3621
+ /**
3622
+ * <p>Whether automatic fail is configured on a single select question. </p>
3623
+ * @public
3624
+ */
3625
+ AutomaticFailConfiguration?: AutomaticFailConfiguration | undefined;
3440
3626
  }
3441
3627
  /**
3442
3628
  * <p>Information about the options in single select questions.</p>
@@ -3459,12 +3645,34 @@ export interface EvaluationFormSingleSelectQuestionProperties {
3459
3645
  */
3460
3646
  Automation?: EvaluationFormSingleSelectQuestionAutomation | undefined;
3461
3647
  }
3648
+ /**
3649
+ * <p>Information about the automation configuration in text questions.</p>
3650
+ * @public
3651
+ */
3652
+ export interface EvaluationFormTextQuestionAutomation {
3653
+ /**
3654
+ * <p>Automation answer source.</p>
3655
+ * @public
3656
+ */
3657
+ AnswerSource?: EvaluationFormQuestionAutomationAnswerSource | undefined;
3658
+ }
3659
+ /**
3660
+ * <p>Information about properties for a text question in an evaluation form.</p>
3661
+ * @public
3662
+ */
3663
+ export interface EvaluationFormTextQuestionProperties {
3664
+ /**
3665
+ * <p>The automation properties of the text question.</p>
3666
+ * @public
3667
+ */
3668
+ Automation?: EvaluationFormTextQuestionAutomation | undefined;
3669
+ }
3462
3670
  /**
3463
3671
  * <p>Information about properties for a question in an evaluation form. The question type
3464
3672
  * properties must be either for a numeric question or a single select question.</p>
3465
3673
  * @public
3466
3674
  */
3467
- export type EvaluationFormQuestionTypeProperties = EvaluationFormQuestionTypeProperties.NumericMember | EvaluationFormQuestionTypeProperties.SingleSelectMember | EvaluationFormQuestionTypeProperties.$UnknownMember;
3675
+ export type EvaluationFormQuestionTypeProperties = EvaluationFormQuestionTypeProperties.NumericMember | EvaluationFormQuestionTypeProperties.SingleSelectMember | EvaluationFormQuestionTypeProperties.TextMember | EvaluationFormQuestionTypeProperties.$UnknownMember;
3468
3676
  /**
3469
3677
  * @public
3470
3678
  */
@@ -3476,6 +3684,7 @@ export declare namespace EvaluationFormQuestionTypeProperties {
3476
3684
  interface NumericMember {
3477
3685
  Numeric: EvaluationFormNumericQuestionProperties;
3478
3686
  SingleSelect?: never;
3687
+ Text?: never;
3479
3688
  $unknown?: never;
3480
3689
  }
3481
3690
  /**
@@ -3485,6 +3694,17 @@ export declare namespace EvaluationFormQuestionTypeProperties {
3485
3694
  interface SingleSelectMember {
3486
3695
  Numeric?: never;
3487
3696
  SingleSelect: EvaluationFormSingleSelectQuestionProperties;
3697
+ Text?: never;
3698
+ $unknown?: never;
3699
+ }
3700
+ /**
3701
+ * <p>The properties of the text question.</p>
3702
+ * @public
3703
+ */
3704
+ interface TextMember {
3705
+ Numeric?: never;
3706
+ SingleSelect?: never;
3707
+ Text: EvaluationFormTextQuestionProperties;
3488
3708
  $unknown?: never;
3489
3709
  }
3490
3710
  /**
@@ -3493,58 +3713,17 @@ export declare namespace EvaluationFormQuestionTypeProperties {
3493
3713
  interface $UnknownMember {
3494
3714
  Numeric?: never;
3495
3715
  SingleSelect?: never;
3716
+ Text?: never;
3496
3717
  $unknown: [string, any];
3497
3718
  }
3498
3719
  interface Visitor<T> {
3499
3720
  Numeric: (value: EvaluationFormNumericQuestionProperties) => T;
3500
3721
  SingleSelect: (value: EvaluationFormSingleSelectQuestionProperties) => T;
3722
+ Text: (value: EvaluationFormTextQuestionProperties) => T;
3501
3723
  _: (name: string, value: any) => T;
3502
3724
  }
3503
3725
  const visit: <T>(value: EvaluationFormQuestionTypeProperties, visitor: Visitor<T>) => T;
3504
3726
  }
3505
- /**
3506
- * <p>Information about a question from an evaluation form.</p>
3507
- * @public
3508
- */
3509
- export interface EvaluationFormQuestion {
3510
- /**
3511
- * <p>The title of the question.</p>
3512
- * @public
3513
- */
3514
- Title: string | undefined;
3515
- /**
3516
- * <p>The instructions of the section.</p>
3517
- * @public
3518
- */
3519
- Instructions?: string | undefined;
3520
- /**
3521
- * <p>The identifier of the question. An identifier must be unique within the evaluation
3522
- * form.</p>
3523
- * @public
3524
- */
3525
- RefId: string | undefined;
3526
- /**
3527
- * <p>The flag to enable not applicable answers to the question.</p>
3528
- * @public
3529
- */
3530
- NotApplicableEnabled?: boolean | undefined;
3531
- /**
3532
- * <p>The type of the question.</p>
3533
- * @public
3534
- */
3535
- QuestionType: EvaluationFormQuestionType | undefined;
3536
- /**
3537
- * <p>The properties of the type of question. Text questions do not have to define question type
3538
- * properties.</p>
3539
- * @public
3540
- */
3541
- QuestionTypeProperties?: EvaluationFormQuestionTypeProperties | undefined;
3542
- /**
3543
- * <p>The scoring weight of the section.</p>
3544
- * @public
3545
- */
3546
- Weight?: number | undefined;
3547
- }
3548
3727
  /**
3549
3728
  * @public
3550
3729
  * @enum
@@ -6191,261 +6370,6 @@ export interface View {
6191
6370
  */
6192
6371
  ViewContentSha256?: string | undefined;
6193
6372
  }
6194
- /**
6195
- * @public
6196
- */
6197
- export interface CreateViewResponse {
6198
- /**
6199
- * <p>A view resource object. Contains metadata and content necessary to render the view.</p>
6200
- * @public
6201
- */
6202
- View?: View | undefined;
6203
- }
6204
- /**
6205
- * @public
6206
- * @enum
6207
- */
6208
- export declare const ResourceType: {
6209
- readonly CONTACT: "CONTACT";
6210
- readonly CONTACT_FLOW: "CONTACT_FLOW";
6211
- readonly HIERARCHY_GROUP: "HIERARCHY_GROUP";
6212
- readonly HIERARCHY_LEVEL: "HIERARCHY_LEVEL";
6213
- readonly INSTANCE: "INSTANCE";
6214
- readonly PARTICIPANT: "PARTICIPANT";
6215
- readonly PHONE_NUMBER: "PHONE_NUMBER";
6216
- readonly USER: "USER";
6217
- };
6218
- /**
6219
- * @public
6220
- */
6221
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
6222
- /**
6223
- * <p>That resource is already in use (for example, you're trying to add a record with the same
6224
- * name as an existing record). If you are trying to delete a resource (for example,
6225
- * DeleteHoursOfOperation or DeletePredefinedAttribute), remove its reference from related resources
6226
- * and then try again.</p>
6227
- * @public
6228
- */
6229
- export declare class ResourceInUseException extends __BaseException {
6230
- readonly name: "ResourceInUseException";
6231
- readonly $fault: "client";
6232
- Message?: string | undefined;
6233
- /**
6234
- * <p>The type of resource.</p>
6235
- * @public
6236
- */
6237
- ResourceType?: ResourceType | undefined;
6238
- /**
6239
- * <p>The identifier for the resource.</p>
6240
- * @public
6241
- */
6242
- ResourceId?: string | undefined;
6243
- /**
6244
- * @internal
6245
- */
6246
- constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
6247
- }
6248
- /**
6249
- * <p>Displayed when rate-related API limits are exceeded.</p>
6250
- * @public
6251
- */
6252
- export declare class TooManyRequestsException extends __BaseException {
6253
- readonly name: "TooManyRequestsException";
6254
- readonly $fault: "client";
6255
- Message?: string | undefined;
6256
- /**
6257
- * @internal
6258
- */
6259
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
6260
- }
6261
- /**
6262
- * @public
6263
- */
6264
- export interface CreateViewVersionRequest {
6265
- /**
6266
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of
6267
- * the instance.</p>
6268
- * @public
6269
- */
6270
- InstanceId: string | undefined;
6271
- /**
6272
- * <p>The identifier of the view. Both <code>ViewArn</code> and <code>ViewId</code> can be
6273
- * used.</p>
6274
- * @public
6275
- */
6276
- ViewId: string | undefined;
6277
- /**
6278
- * <p>The description for the version being published.</p>
6279
- * @public
6280
- */
6281
- VersionDescription?: string | undefined;
6282
- /**
6283
- * <p>Indicates the checksum value of the latest published view content.</p>
6284
- * @public
6285
- */
6286
- ViewContentSha256?: string | undefined;
6287
- }
6288
- /**
6289
- * @public
6290
- */
6291
- export interface CreateViewVersionResponse {
6292
- /**
6293
- * <p>All view data is contained within the View object.</p>
6294
- * @public
6295
- */
6296
- View?: View | undefined;
6297
- }
6298
- /**
6299
- * @public
6300
- */
6301
- export interface CreateVocabularyRequest {
6302
- /**
6303
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
6304
- * request. If not provided, the Amazon Web Services
6305
- * SDK populates this field. For more information about idempotency, see
6306
- * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>. If a create request is received more than once with same client token,
6307
- * subsequent requests return the previous response without creating a vocabulary again.</p>
6308
- * @public
6309
- */
6310
- ClientToken?: string | undefined;
6311
- /**
6312
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6313
- * @public
6314
- */
6315
- InstanceId: string | undefined;
6316
- /**
6317
- * <p>A unique name of the custom vocabulary.</p>
6318
- * @public
6319
- */
6320
- VocabularyName: string | undefined;
6321
- /**
6322
- * <p>The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see
6323
- * <a href="https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-whatis.html">What is Amazon Transcribe?</a>
6324
- * </p>
6325
- * @public
6326
- */
6327
- LanguageCode: VocabularyLanguageCode | undefined;
6328
- /**
6329
- * <p>The content of the custom vocabulary in plain-text format with a table of values. Each row
6330
- * in the table represents a word or a phrase, described with <code>Phrase</code>, <code>IPA</code>,
6331
- * <code>SoundsLike</code>, and <code>DisplayAs</code> fields. Separate the fields with TAB
6332
- * characters. The size limit is 50KB. For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html#create-vocabulary-table">Create a custom
6333
- * vocabulary using a table</a>.</p>
6334
- * @public
6335
- */
6336
- Content: string | undefined;
6337
- /**
6338
- * <p>The tags used to organize, track, or control access for this resource. For example, \{ "Tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
6339
- * @public
6340
- */
6341
- Tags?: Record<string, string> | undefined;
6342
- }
6343
- /**
6344
- * @public
6345
- * @enum
6346
- */
6347
- export declare const VocabularyState: {
6348
- readonly ACTIVE: "ACTIVE";
6349
- readonly CREATION_FAILED: "CREATION_FAILED";
6350
- readonly CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS";
6351
- readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
6352
- };
6353
- /**
6354
- * @public
6355
- */
6356
- export type VocabularyState = (typeof VocabularyState)[keyof typeof VocabularyState];
6357
- /**
6358
- * @public
6359
- */
6360
- export interface CreateVocabularyResponse {
6361
- /**
6362
- * <p>The Amazon Resource Name (ARN) of the custom vocabulary.</p>
6363
- * @public
6364
- */
6365
- VocabularyArn: string | undefined;
6366
- /**
6367
- * <p>The identifier of the custom vocabulary.</p>
6368
- * @public
6369
- */
6370
- VocabularyId: string | undefined;
6371
- /**
6372
- * <p>The current state of the custom vocabulary.</p>
6373
- * @public
6374
- */
6375
- State: VocabularyState | undefined;
6376
- }
6377
- /**
6378
- * @public
6379
- */
6380
- export interface DeactivateEvaluationFormRequest {
6381
- /**
6382
- * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
6383
- * @public
6384
- */
6385
- InstanceId: string | undefined;
6386
- /**
6387
- * <p>The unique identifier for the evaluation form.</p>
6388
- * @public
6389
- */
6390
- EvaluationFormId: string | undefined;
6391
- /**
6392
- * <p>A version of the evaluation form. If the version property is not provided, the latest version of the
6393
- * evaluation form is deactivated.</p>
6394
- * @public
6395
- */
6396
- EvaluationFormVersion: number | undefined;
6397
- }
6398
- /**
6399
- * @public
6400
- */
6401
- export interface DeactivateEvaluationFormResponse {
6402
- /**
6403
- * <p>The unique identifier for the evaluation form.</p>
6404
- * @public
6405
- */
6406
- EvaluationFormId: string | undefined;
6407
- /**
6408
- * <p>The Amazon Resource Name (ARN) for the evaluation form resource.</p>
6409
- * @public
6410
- */
6411
- EvaluationFormArn: string | undefined;
6412
- /**
6413
- * <p>The version of the deactivated evaluation form resource.</p>
6414
- * @public
6415
- */
6416
- EvaluationFormVersion: number | undefined;
6417
- }
6418
- /**
6419
- * Request to DeleteAttachedFile API
6420
- * @public
6421
- */
6422
- export interface DeleteAttachedFileRequest {
6423
- /**
6424
- * <p>The unique identifier of the Connect instance.</p>
6425
- * @public
6426
- */
6427
- InstanceId: string | undefined;
6428
- /**
6429
- * <p>The unique identifier of the attached file resource.</p>
6430
- * @public
6431
- */
6432
- FileId: string | undefined;
6433
- /**
6434
- * <p>The resource to which the attached file is (being) uploaded to. <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Cases</a> are the only
6435
- * current supported resource.</p>
6436
- * <note>
6437
- * <p>This value must be a valid ARN.</p>
6438
- * </note>
6439
- * @public
6440
- */
6441
- AssociatedResourceArn: string | undefined;
6442
- }
6443
- /**
6444
- * Response from DeleteAttachedFile API
6445
- * @public
6446
- */
6447
- export interface DeleteAttachedFileResponse {
6448
- }
6449
6373
  /**
6450
6374
  * @internal
6451
6375
  */
@@ -6478,11 +6402,3 @@ export declare const ViewContentFilterSensitiveLog: (obj: ViewContent) => any;
6478
6402
  * @internal
6479
6403
  */
6480
6404
  export declare const ViewFilterSensitiveLog: (obj: View) => any;
6481
- /**
6482
- * @internal
6483
- */
6484
- export declare const CreateViewResponseFilterSensitiveLog: (obj: CreateViewResponse) => any;
6485
- /**
6486
- * @internal
6487
- */
6488
- export declare const CreateViewVersionResponseFilterSensitiveLog: (obj: CreateViewVersionResponse) => any;