retell-sdk 5.10.2 → 5.11.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 (42) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/package.json +1 -1
  3. package/resources/agent.d.mts +316 -3
  4. package/resources/agent.d.mts.map +1 -1
  5. package/resources/agent.d.ts +316 -3
  6. package/resources/agent.d.ts.map +1 -1
  7. package/resources/batch-call.d.mts +105 -1
  8. package/resources/batch-call.d.mts.map +1 -1
  9. package/resources/batch-call.d.ts +105 -1
  10. package/resources/batch-call.d.ts.map +1 -1
  11. package/resources/call.d.mts +315 -3
  12. package/resources/call.d.mts.map +1 -1
  13. package/resources/call.d.ts +315 -3
  14. package/resources/call.d.ts.map +1 -1
  15. package/resources/chat-agent.d.mts +255 -3
  16. package/resources/chat-agent.d.mts.map +1 -1
  17. package/resources/chat-agent.d.ts +255 -3
  18. package/resources/chat-agent.d.ts.map +1 -1
  19. package/resources/conversation-flow-component.d.mts +2164 -730
  20. package/resources/conversation-flow-component.d.mts.map +1 -1
  21. package/resources/conversation-flow-component.d.ts +2164 -730
  22. package/resources/conversation-flow-component.d.ts.map +1 -1
  23. package/resources/conversation-flow.d.mts +13562 -10694
  24. package/resources/conversation-flow.d.mts.map +1 -1
  25. package/resources/conversation-flow.d.ts +13562 -10694
  26. package/resources/conversation-flow.d.ts.map +1 -1
  27. package/resources/llm.d.mts +246 -0
  28. package/resources/llm.d.mts.map +1 -1
  29. package/resources/llm.d.ts +246 -0
  30. package/resources/llm.d.ts.map +1 -1
  31. package/src/resources/agent.ts +376 -0
  32. package/src/resources/batch-call.ts +125 -0
  33. package/src/resources/call.ts +375 -0
  34. package/src/resources/chat-agent.ts +300 -0
  35. package/src/resources/conversation-flow-component.ts +8295 -6198
  36. package/src/resources/conversation-flow.ts +9667 -5473
  37. package/src/resources/llm.ts +288 -0
  38. package/src/version.ts +1 -1
  39. package/version.d.mts +1 -1
  40. package/version.d.ts +1 -1
  41. package/version.js +1 -1
  42. package/version.mjs +1 -1
@@ -2194,6 +2194,10 @@ export declare namespace CallCreatePhoneCallParams {
2194
2194
  * agent output and user input.
2195
2195
  */
2196
2196
  guardrail_config?: Agent.GuardrailConfig;
2197
+ /**
2198
+ * Toggle behavior presets on/off to influence agent response style and behaviors.
2199
+ */
2200
+ handbook_config?: Agent.HandbookConfig;
2197
2201
  /**
2198
2202
  * Controls how sensitive the agent is to user interruptions. Value ranging from
2199
2203
  * [0,1]. Lower value means it will take longer / more words for user to interrupt
@@ -2251,7 +2255,7 @@ export declare namespace CallCreatePhoneCallParams {
2251
2255
  * pre-defined variables extracted in the call analysis. This will be available
2252
2256
  * after the call ends.
2253
2257
  */
2254
- post_call_analysis_data?: Array<Agent.StringAnalysisData | Agent.EnumAnalysisData | Agent.BooleanAnalysisData | Agent.NumberAnalysisData> | null;
2258
+ post_call_analysis_data?: Array<Agent.StringAnalysisData | Agent.EnumAnalysisData | Agent.BooleanAnalysisData | Agent.NumberAnalysisData | Agent.CallPresetAnalysisData> | null;
2255
2259
  /**
2256
2260
  * The model to use for post call analysis. Default to gpt-4.1-mini.
2257
2261
  */
@@ -2305,6 +2309,11 @@ export declare namespace CallCreatePhoneCallParams {
2305
2309
  * Default to fast mode. When set to custom, custom_stt_config must be provided.
2306
2310
  */
2307
2311
  stt_mode?: 'fast' | 'accurate' | 'custom';
2312
+ /**
2313
+ * IANA timezone for the agent (e.g. America/New_York). Defaults to
2314
+ * America/Los_Angeles if not set.
2315
+ */
2316
+ timezone?: string | null;
2308
2317
  user_dtmf_options?: Agent.UserDtmfOptions | null;
2309
2318
  /**
2310
2319
  * Optional description of the agent version. Used for your own reference and
@@ -2421,6 +2430,49 @@ export declare namespace CallCreatePhoneCallParams {
2421
2430
  */
2422
2431
  output_topics?: Array<'harassment' | 'self_harm' | 'sexual_exploitation' | 'violence' | 'defense_and_national_security' | 'illicit_and_harmful_activity' | 'gambling' | 'regulated_professional_advice' | 'child_safety_and_exploitation'> | null;
2423
2432
  }
2433
+ /**
2434
+ * Toggle behavior presets on/off to influence agent response style and behaviors.
2435
+ */
2436
+ interface HandbookConfig {
2437
+ /**
2438
+ * When asked, acknowledge being a virtual assistant.
2439
+ */
2440
+ ai_disclosure?: boolean;
2441
+ /**
2442
+ * Professional call center rep baseline.
2443
+ */
2444
+ default_personality?: boolean;
2445
+ /**
2446
+ * Repeat back and confirm important details (voice only).
2447
+ */
2448
+ echo_verification?: boolean;
2449
+ /**
2450
+ * Warm acknowledgment of caller concerns.
2451
+ */
2452
+ high_empathy?: boolean;
2453
+ /**
2454
+ * Spell using NATO phonetic alphabet style (voice only).
2455
+ */
2456
+ nato_phonetic_alphabet?: boolean;
2457
+ /**
2458
+ * Sprinkle natural speech fillers like "um", "you know" for a more human,
2459
+ * conversational tone.
2460
+ */
2461
+ natural_filler_words?: boolean;
2462
+ /**
2463
+ * Stay within prompt/context scope, don't invent details.
2464
+ */
2465
+ scope_boundaries?: boolean;
2466
+ /**
2467
+ * Treat near-match similar words as same entity to reduce impact of transcription
2468
+ * error (voice only).
2469
+ */
2470
+ smart_matching?: boolean;
2471
+ /**
2472
+ * Convert numbers/dates/currency to spoken forms (voice only).
2473
+ */
2474
+ speech_normalization?: boolean;
2475
+ }
2424
2476
  /**
2425
2477
  * If this option is set, the call will try to detect IVR in the first 3 minutes of
2426
2478
  * the call. Actions defined will be applied when the IVR is detected. Set this to
@@ -2460,6 +2512,12 @@ export declare namespace CallCreatePhoneCallParams {
2460
2512
  * Type of the variable to extract.
2461
2513
  */
2462
2514
  type: 'string';
2515
+ /**
2516
+ * Optional instruction to help decide whether this field needs to be populated in
2517
+ * the analysis. If not set, the field is always included. If required is true,
2518
+ * this is ignored.
2519
+ */
2520
+ conditional_prompt?: string;
2463
2521
  /**
2464
2522
  * Examples of the variable value to teach model the style and syntax.
2465
2523
  */
@@ -2487,6 +2545,12 @@ export declare namespace CallCreatePhoneCallParams {
2487
2545
  * Type of the variable to extract.
2488
2546
  */
2489
2547
  type: 'enum';
2548
+ /**
2549
+ * Optional instruction to help decide whether this field needs to be populated in
2550
+ * the analysis. If not set, the field is always included. If required is true,
2551
+ * this is ignored.
2552
+ */
2553
+ conditional_prompt?: string;
2490
2554
  /**
2491
2555
  * Whether this data is required. If true and the data is not extracted, the call
2492
2556
  * will be marked as unsuccessful.
@@ -2506,6 +2570,12 @@ export declare namespace CallCreatePhoneCallParams {
2506
2570
  * Type of the variable to extract.
2507
2571
  */
2508
2572
  type: 'boolean';
2573
+ /**
2574
+ * Optional instruction to help decide whether this field needs to be populated in
2575
+ * the analysis. If not set, the field is always included. If required is true,
2576
+ * this is ignored.
2577
+ */
2578
+ conditional_prompt?: string;
2509
2579
  /**
2510
2580
  * Whether this data is required. If true and the data is not extracted, the call
2511
2581
  * will be marked as unsuccessful.
@@ -2525,12 +2595,46 @@ export declare namespace CallCreatePhoneCallParams {
2525
2595
  * Type of the variable to extract.
2526
2596
  */
2527
2597
  type: 'number';
2598
+ /**
2599
+ * Optional instruction to help decide whether this field needs to be populated in
2600
+ * the analysis. If not set, the field is always included. If required is true,
2601
+ * this is ignored.
2602
+ */
2603
+ conditional_prompt?: string;
2528
2604
  /**
2529
2605
  * Whether this data is required. If true and the data is not extracted, the call
2530
2606
  * will be marked as unsuccessful.
2531
2607
  */
2532
2608
  required?: boolean;
2533
2609
  }
2610
+ /**
2611
+ * System preset for post-call analysis (voice agents). Use in
2612
+ * post_call_analysis_data to override prompts or mark fields optional.
2613
+ */
2614
+ interface CallPresetAnalysisData {
2615
+ /**
2616
+ * Preset identifier for voice agent analysis.
2617
+ */
2618
+ name: 'call_summary' | 'call_successful' | 'user_sentiment';
2619
+ /**
2620
+ * Identifies this item as a system preset.
2621
+ */
2622
+ type: 'system-presets';
2623
+ /**
2624
+ * Optional instruction to help decide whether this field needs to be populated. If
2625
+ * not set, the field is always included.
2626
+ */
2627
+ conditional_prompt?: string;
2628
+ /**
2629
+ * Prompt or description for this preset.
2630
+ */
2631
+ description?: string;
2632
+ /**
2633
+ * If false, this field is optional in the analysis. If true or unset, the field is
2634
+ * required.
2635
+ */
2636
+ required?: boolean;
2637
+ }
2534
2638
  interface PronunciationDictionary {
2535
2639
  /**
2536
2640
  * The phonetic alphabet to be used for pronunciation.
@@ -3006,6 +3110,10 @@ export declare namespace CallCreateWebCallParams {
3006
3110
  * agent output and user input.
3007
3111
  */
3008
3112
  guardrail_config?: Agent.GuardrailConfig;
3113
+ /**
3114
+ * Toggle behavior presets on/off to influence agent response style and behaviors.
3115
+ */
3116
+ handbook_config?: Agent.HandbookConfig;
3009
3117
  /**
3010
3118
  * Controls how sensitive the agent is to user interruptions. Value ranging from
3011
3119
  * [0,1]. Lower value means it will take longer / more words for user to interrupt
@@ -3063,7 +3171,7 @@ export declare namespace CallCreateWebCallParams {
3063
3171
  * pre-defined variables extracted in the call analysis. This will be available
3064
3172
  * after the call ends.
3065
3173
  */
3066
- post_call_analysis_data?: Array<Agent.StringAnalysisData | Agent.EnumAnalysisData | Agent.BooleanAnalysisData | Agent.NumberAnalysisData> | null;
3174
+ post_call_analysis_data?: Array<Agent.StringAnalysisData | Agent.EnumAnalysisData | Agent.BooleanAnalysisData | Agent.NumberAnalysisData | Agent.CallPresetAnalysisData> | null;
3067
3175
  /**
3068
3176
  * The model to use for post call analysis. Default to gpt-4.1-mini.
3069
3177
  */
@@ -3117,6 +3225,11 @@ export declare namespace CallCreateWebCallParams {
3117
3225
  * Default to fast mode. When set to custom, custom_stt_config must be provided.
3118
3226
  */
3119
3227
  stt_mode?: 'fast' | 'accurate' | 'custom';
3228
+ /**
3229
+ * IANA timezone for the agent (e.g. America/New_York). Defaults to
3230
+ * America/Los_Angeles if not set.
3231
+ */
3232
+ timezone?: string | null;
3120
3233
  user_dtmf_options?: Agent.UserDtmfOptions | null;
3121
3234
  /**
3122
3235
  * Optional description of the agent version. Used for your own reference and
@@ -3233,6 +3346,49 @@ export declare namespace CallCreateWebCallParams {
3233
3346
  */
3234
3347
  output_topics?: Array<'harassment' | 'self_harm' | 'sexual_exploitation' | 'violence' | 'defense_and_national_security' | 'illicit_and_harmful_activity' | 'gambling' | 'regulated_professional_advice' | 'child_safety_and_exploitation'> | null;
3235
3348
  }
3349
+ /**
3350
+ * Toggle behavior presets on/off to influence agent response style and behaviors.
3351
+ */
3352
+ interface HandbookConfig {
3353
+ /**
3354
+ * When asked, acknowledge being a virtual assistant.
3355
+ */
3356
+ ai_disclosure?: boolean;
3357
+ /**
3358
+ * Professional call center rep baseline.
3359
+ */
3360
+ default_personality?: boolean;
3361
+ /**
3362
+ * Repeat back and confirm important details (voice only).
3363
+ */
3364
+ echo_verification?: boolean;
3365
+ /**
3366
+ * Warm acknowledgment of caller concerns.
3367
+ */
3368
+ high_empathy?: boolean;
3369
+ /**
3370
+ * Spell using NATO phonetic alphabet style (voice only).
3371
+ */
3372
+ nato_phonetic_alphabet?: boolean;
3373
+ /**
3374
+ * Sprinkle natural speech fillers like "um", "you know" for a more human,
3375
+ * conversational tone.
3376
+ */
3377
+ natural_filler_words?: boolean;
3378
+ /**
3379
+ * Stay within prompt/context scope, don't invent details.
3380
+ */
3381
+ scope_boundaries?: boolean;
3382
+ /**
3383
+ * Treat near-match similar words as same entity to reduce impact of transcription
3384
+ * error (voice only).
3385
+ */
3386
+ smart_matching?: boolean;
3387
+ /**
3388
+ * Convert numbers/dates/currency to spoken forms (voice only).
3389
+ */
3390
+ speech_normalization?: boolean;
3391
+ }
3236
3392
  /**
3237
3393
  * If this option is set, the call will try to detect IVR in the first 3 minutes of
3238
3394
  * the call. Actions defined will be applied when the IVR is detected. Set this to
@@ -3272,6 +3428,12 @@ export declare namespace CallCreateWebCallParams {
3272
3428
  * Type of the variable to extract.
3273
3429
  */
3274
3430
  type: 'string';
3431
+ /**
3432
+ * Optional instruction to help decide whether this field needs to be populated in
3433
+ * the analysis. If not set, the field is always included. If required is true,
3434
+ * this is ignored.
3435
+ */
3436
+ conditional_prompt?: string;
3275
3437
  /**
3276
3438
  * Examples of the variable value to teach model the style and syntax.
3277
3439
  */
@@ -3299,6 +3461,12 @@ export declare namespace CallCreateWebCallParams {
3299
3461
  * Type of the variable to extract.
3300
3462
  */
3301
3463
  type: 'enum';
3464
+ /**
3465
+ * Optional instruction to help decide whether this field needs to be populated in
3466
+ * the analysis. If not set, the field is always included. If required is true,
3467
+ * this is ignored.
3468
+ */
3469
+ conditional_prompt?: string;
3302
3470
  /**
3303
3471
  * Whether this data is required. If true and the data is not extracted, the call
3304
3472
  * will be marked as unsuccessful.
@@ -3318,6 +3486,12 @@ export declare namespace CallCreateWebCallParams {
3318
3486
  * Type of the variable to extract.
3319
3487
  */
3320
3488
  type: 'boolean';
3489
+ /**
3490
+ * Optional instruction to help decide whether this field needs to be populated in
3491
+ * the analysis. If not set, the field is always included. If required is true,
3492
+ * this is ignored.
3493
+ */
3494
+ conditional_prompt?: string;
3321
3495
  /**
3322
3496
  * Whether this data is required. If true and the data is not extracted, the call
3323
3497
  * will be marked as unsuccessful.
@@ -3337,12 +3511,46 @@ export declare namespace CallCreateWebCallParams {
3337
3511
  * Type of the variable to extract.
3338
3512
  */
3339
3513
  type: 'number';
3514
+ /**
3515
+ * Optional instruction to help decide whether this field needs to be populated in
3516
+ * the analysis. If not set, the field is always included. If required is true,
3517
+ * this is ignored.
3518
+ */
3519
+ conditional_prompt?: string;
3340
3520
  /**
3341
3521
  * Whether this data is required. If true and the data is not extracted, the call
3342
3522
  * will be marked as unsuccessful.
3343
3523
  */
3344
3524
  required?: boolean;
3345
3525
  }
3526
+ /**
3527
+ * System preset for post-call analysis (voice agents). Use in
3528
+ * post_call_analysis_data to override prompts or mark fields optional.
3529
+ */
3530
+ interface CallPresetAnalysisData {
3531
+ /**
3532
+ * Preset identifier for voice agent analysis.
3533
+ */
3534
+ name: 'call_summary' | 'call_successful' | 'user_sentiment';
3535
+ /**
3536
+ * Identifies this item as a system preset.
3537
+ */
3538
+ type: 'system-presets';
3539
+ /**
3540
+ * Optional instruction to help decide whether this field needs to be populated. If
3541
+ * not set, the field is always included.
3542
+ */
3543
+ conditional_prompt?: string;
3544
+ /**
3545
+ * Prompt or description for this preset.
3546
+ */
3547
+ description?: string;
3548
+ /**
3549
+ * If false, this field is optional in the analysis. If true or unset, the field is
3550
+ * required.
3551
+ */
3552
+ required?: boolean;
3553
+ }
3346
3554
  interface PronunciationDictionary {
3347
3555
  /**
3348
3556
  * The phonetic alphabet to be used for pronunciation.
@@ -3817,6 +4025,10 @@ export declare namespace CallRegisterPhoneCallParams {
3817
4025
  * agent output and user input.
3818
4026
  */
3819
4027
  guardrail_config?: Agent.GuardrailConfig;
4028
+ /**
4029
+ * Toggle behavior presets on/off to influence agent response style and behaviors.
4030
+ */
4031
+ handbook_config?: Agent.HandbookConfig;
3820
4032
  /**
3821
4033
  * Controls how sensitive the agent is to user interruptions. Value ranging from
3822
4034
  * [0,1]. Lower value means it will take longer / more words for user to interrupt
@@ -3874,7 +4086,7 @@ export declare namespace CallRegisterPhoneCallParams {
3874
4086
  * pre-defined variables extracted in the call analysis. This will be available
3875
4087
  * after the call ends.
3876
4088
  */
3877
- post_call_analysis_data?: Array<Agent.StringAnalysisData | Agent.EnumAnalysisData | Agent.BooleanAnalysisData | Agent.NumberAnalysisData> | null;
4089
+ post_call_analysis_data?: Array<Agent.StringAnalysisData | Agent.EnumAnalysisData | Agent.BooleanAnalysisData | Agent.NumberAnalysisData | Agent.CallPresetAnalysisData> | null;
3878
4090
  /**
3879
4091
  * The model to use for post call analysis. Default to gpt-4.1-mini.
3880
4092
  */
@@ -3928,6 +4140,11 @@ export declare namespace CallRegisterPhoneCallParams {
3928
4140
  * Default to fast mode. When set to custom, custom_stt_config must be provided.
3929
4141
  */
3930
4142
  stt_mode?: 'fast' | 'accurate' | 'custom';
4143
+ /**
4144
+ * IANA timezone for the agent (e.g. America/New_York). Defaults to
4145
+ * America/Los_Angeles if not set.
4146
+ */
4147
+ timezone?: string | null;
3931
4148
  user_dtmf_options?: Agent.UserDtmfOptions | null;
3932
4149
  /**
3933
4150
  * Optional description of the agent version. Used for your own reference and
@@ -4044,6 +4261,49 @@ export declare namespace CallRegisterPhoneCallParams {
4044
4261
  */
4045
4262
  output_topics?: Array<'harassment' | 'self_harm' | 'sexual_exploitation' | 'violence' | 'defense_and_national_security' | 'illicit_and_harmful_activity' | 'gambling' | 'regulated_professional_advice' | 'child_safety_and_exploitation'> | null;
4046
4263
  }
4264
+ /**
4265
+ * Toggle behavior presets on/off to influence agent response style and behaviors.
4266
+ */
4267
+ interface HandbookConfig {
4268
+ /**
4269
+ * When asked, acknowledge being a virtual assistant.
4270
+ */
4271
+ ai_disclosure?: boolean;
4272
+ /**
4273
+ * Professional call center rep baseline.
4274
+ */
4275
+ default_personality?: boolean;
4276
+ /**
4277
+ * Repeat back and confirm important details (voice only).
4278
+ */
4279
+ echo_verification?: boolean;
4280
+ /**
4281
+ * Warm acknowledgment of caller concerns.
4282
+ */
4283
+ high_empathy?: boolean;
4284
+ /**
4285
+ * Spell using NATO phonetic alphabet style (voice only).
4286
+ */
4287
+ nato_phonetic_alphabet?: boolean;
4288
+ /**
4289
+ * Sprinkle natural speech fillers like "um", "you know" for a more human,
4290
+ * conversational tone.
4291
+ */
4292
+ natural_filler_words?: boolean;
4293
+ /**
4294
+ * Stay within prompt/context scope, don't invent details.
4295
+ */
4296
+ scope_boundaries?: boolean;
4297
+ /**
4298
+ * Treat near-match similar words as same entity to reduce impact of transcription
4299
+ * error (voice only).
4300
+ */
4301
+ smart_matching?: boolean;
4302
+ /**
4303
+ * Convert numbers/dates/currency to spoken forms (voice only).
4304
+ */
4305
+ speech_normalization?: boolean;
4306
+ }
4047
4307
  /**
4048
4308
  * If this option is set, the call will try to detect IVR in the first 3 minutes of
4049
4309
  * the call. Actions defined will be applied when the IVR is detected. Set this to
@@ -4083,6 +4343,12 @@ export declare namespace CallRegisterPhoneCallParams {
4083
4343
  * Type of the variable to extract.
4084
4344
  */
4085
4345
  type: 'string';
4346
+ /**
4347
+ * Optional instruction to help decide whether this field needs to be populated in
4348
+ * the analysis. If not set, the field is always included. If required is true,
4349
+ * this is ignored.
4350
+ */
4351
+ conditional_prompt?: string;
4086
4352
  /**
4087
4353
  * Examples of the variable value to teach model the style and syntax.
4088
4354
  */
@@ -4110,6 +4376,12 @@ export declare namespace CallRegisterPhoneCallParams {
4110
4376
  * Type of the variable to extract.
4111
4377
  */
4112
4378
  type: 'enum';
4379
+ /**
4380
+ * Optional instruction to help decide whether this field needs to be populated in
4381
+ * the analysis. If not set, the field is always included. If required is true,
4382
+ * this is ignored.
4383
+ */
4384
+ conditional_prompt?: string;
4113
4385
  /**
4114
4386
  * Whether this data is required. If true and the data is not extracted, the call
4115
4387
  * will be marked as unsuccessful.
@@ -4129,6 +4401,12 @@ export declare namespace CallRegisterPhoneCallParams {
4129
4401
  * Type of the variable to extract.
4130
4402
  */
4131
4403
  type: 'boolean';
4404
+ /**
4405
+ * Optional instruction to help decide whether this field needs to be populated in
4406
+ * the analysis. If not set, the field is always included. If required is true,
4407
+ * this is ignored.
4408
+ */
4409
+ conditional_prompt?: string;
4132
4410
  /**
4133
4411
  * Whether this data is required. If true and the data is not extracted, the call
4134
4412
  * will be marked as unsuccessful.
@@ -4148,12 +4426,46 @@ export declare namespace CallRegisterPhoneCallParams {
4148
4426
  * Type of the variable to extract.
4149
4427
  */
4150
4428
  type: 'number';
4429
+ /**
4430
+ * Optional instruction to help decide whether this field needs to be populated in
4431
+ * the analysis. If not set, the field is always included. If required is true,
4432
+ * this is ignored.
4433
+ */
4434
+ conditional_prompt?: string;
4151
4435
  /**
4152
4436
  * Whether this data is required. If true and the data is not extracted, the call
4153
4437
  * will be marked as unsuccessful.
4154
4438
  */
4155
4439
  required?: boolean;
4156
4440
  }
4441
+ /**
4442
+ * System preset for post-call analysis (voice agents). Use in
4443
+ * post_call_analysis_data to override prompts or mark fields optional.
4444
+ */
4445
+ interface CallPresetAnalysisData {
4446
+ /**
4447
+ * Preset identifier for voice agent analysis.
4448
+ */
4449
+ name: 'call_summary' | 'call_successful' | 'user_sentiment';
4450
+ /**
4451
+ * Identifies this item as a system preset.
4452
+ */
4453
+ type: 'system-presets';
4454
+ /**
4455
+ * Optional instruction to help decide whether this field needs to be populated. If
4456
+ * not set, the field is always included.
4457
+ */
4458
+ conditional_prompt?: string;
4459
+ /**
4460
+ * Prompt or description for this preset.
4461
+ */
4462
+ description?: string;
4463
+ /**
4464
+ * If false, this field is optional in the analysis. If true or unset, the field is
4465
+ * required.
4466
+ */
4467
+ required?: boolean;
4468
+ }
4157
4469
  interface PronunciationDictionary {
4158
4470
  /**
4159
4471
  * The phonetic alphabet to be used for pronunciation.