retell-sdk 5.9.0 → 5.10.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 (57) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +2 -2
  3. package/package.json +1 -1
  4. package/resources/agent.d.mts +6 -21
  5. package/resources/agent.d.mts.map +1 -1
  6. package/resources/agent.d.ts +6 -21
  7. package/resources/agent.d.ts.map +1 -1
  8. package/resources/batch-call.d.mts +5 -10
  9. package/resources/batch-call.d.mts.map +1 -1
  10. package/resources/batch-call.d.ts +5 -10
  11. package/resources/batch-call.d.ts.map +1 -1
  12. package/resources/call.d.mts +31 -30
  13. package/resources/call.d.mts.map +1 -1
  14. package/resources/call.d.ts +31 -30
  15. package/resources/call.d.ts.map +1 -1
  16. package/resources/chat-agent.d.mts +3 -3
  17. package/resources/chat-agent.d.mts.map +1 -1
  18. package/resources/chat-agent.d.ts +3 -3
  19. package/resources/chat-agent.d.ts.map +1 -1
  20. package/resources/conversation-flow-component.d.mts +3183 -1404
  21. package/resources/conversation-flow-component.d.mts.map +1 -1
  22. package/resources/conversation-flow-component.d.ts +3183 -1404
  23. package/resources/conversation-flow-component.d.ts.map +1 -1
  24. package/resources/conversation-flow.d.mts +5336 -1778
  25. package/resources/conversation-flow.d.mts.map +1 -1
  26. package/resources/conversation-flow.d.ts +5336 -1778
  27. package/resources/conversation-flow.d.ts.map +1 -1
  28. package/resources/llm.d.mts +540 -42
  29. package/resources/llm.d.mts.map +1 -1
  30. package/resources/llm.d.ts +540 -42
  31. package/resources/llm.d.ts.map +1 -1
  32. package/resources/phone-number.d.mts +7 -0
  33. package/resources/phone-number.d.mts.map +1 -1
  34. package/resources/phone-number.d.ts +7 -0
  35. package/resources/phone-number.d.ts.map +1 -1
  36. package/resources/tests.d.mts +3 -3
  37. package/resources/tests.d.mts.map +1 -1
  38. package/resources/tests.d.ts +3 -3
  39. package/resources/tests.d.ts.map +1 -1
  40. package/src/resources/agent.ts +15 -30
  41. package/src/resources/batch-call.ts +16 -15
  42. package/src/resources/call.ts +67 -45
  43. package/src/resources/chat-agent.ts +15 -6
  44. package/src/resources/conversation-flow-component.ts +8409 -5565
  45. package/src/resources/conversation-flow.ts +10307 -4610
  46. package/src/resources/llm.ts +649 -52
  47. package/src/resources/phone-number.ts +8 -0
  48. package/src/resources/tests.ts +15 -6
  49. package/src/version.ts +1 -1
  50. package/version.d.mts +1 -1
  51. package/version.d.mts.map +1 -1
  52. package/version.d.ts +1 -1
  53. package/version.d.ts.map +1 -1
  54. package/version.js +1 -1
  55. package/version.js.map +1 -1
  56. package/version.mjs +1 -1
  57. package/version.mjs.map +1 -1
@@ -308,12 +308,6 @@ export interface AgentResponse {
308
308
  */
309
309
  enable_dynamic_voice_speed?: boolean;
310
310
 
311
- /**
312
- * If set to true, will detect whether the call enters a voicemail. Note that this
313
- * feature is only available for phone calls.
314
- */
315
- enable_voicemail_detection?: boolean;
316
-
317
311
  /**
318
312
  * If users stay silent for a period after agent speech, end the call. The minimum
319
313
  * value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).
@@ -484,10 +478,13 @@ export interface AgentResponse {
484
478
  | 'gpt-4.1-mini'
485
479
  | 'gpt-4.1-nano'
486
480
  | 'gpt-5'
487
- | 'gpt-5.1'
488
- | 'gpt-5.2'
489
481
  | 'gpt-5-mini'
490
482
  | 'gpt-5-nano'
483
+ | 'gpt-5.1'
484
+ | 'gpt-5.2'
485
+ | 'gpt-5.4'
486
+ | 'gpt-5.4-mini'
487
+ | 'gpt-5.4-nano'
491
488
  | 'claude-4.5-sonnet'
492
489
  | 'claude-4.6-sonnet'
493
490
  | 'claude-4.5-haiku'
@@ -579,10 +576,8 @@ export interface AgentResponse {
579
576
  | 'eleven_flash_v2_5'
580
577
  | 'eleven_multilingual_v2'
581
578
  | 'eleven_v3'
582
- | 'sonic-2'
583
579
  | 'sonic-3'
584
580
  | 'sonic-3-latest'
585
- | 'sonic-turbo'
586
581
  | 'tts-1'
587
582
  | 'gpt-4o-mini-tts'
588
583
  | 'speech-02-turbo'
@@ -1157,12 +1152,6 @@ export interface AgentCreateParams {
1157
1152
  */
1158
1153
  enable_dynamic_voice_speed?: boolean;
1159
1154
 
1160
- /**
1161
- * If set to true, will detect whether the call enters a voicemail. Note that this
1162
- * feature is only available for phone calls.
1163
- */
1164
- enable_voicemail_detection?: boolean;
1165
-
1166
1155
  /**
1167
1156
  * If users stay silent for a period after agent speech, end the call. The minimum
1168
1157
  * value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).
@@ -1328,10 +1317,13 @@ export interface AgentCreateParams {
1328
1317
  | 'gpt-4.1-mini'
1329
1318
  | 'gpt-4.1-nano'
1330
1319
  | 'gpt-5'
1331
- | 'gpt-5.1'
1332
- | 'gpt-5.2'
1333
1320
  | 'gpt-5-mini'
1334
1321
  | 'gpt-5-nano'
1322
+ | 'gpt-5.1'
1323
+ | 'gpt-5.2'
1324
+ | 'gpt-5.4'
1325
+ | 'gpt-5.4-mini'
1326
+ | 'gpt-5.4-nano'
1335
1327
  | 'claude-4.5-sonnet'
1336
1328
  | 'claude-4.6-sonnet'
1337
1329
  | 'claude-4.5-haiku'
@@ -1423,10 +1415,8 @@ export interface AgentCreateParams {
1423
1415
  | 'eleven_flash_v2_5'
1424
1416
  | 'eleven_multilingual_v2'
1425
1417
  | 'eleven_v3'
1426
- | 'sonic-2'
1427
1418
  | 'sonic-3'
1428
1419
  | 'sonic-3-latest'
1429
- | 'sonic-turbo'
1430
1420
  | 'tts-1'
1431
1421
  | 'gpt-4o-mini-tts'
1432
1422
  | 'speech-02-turbo'
@@ -1996,12 +1986,6 @@ export interface AgentUpdateParams {
1996
1986
  */
1997
1987
  enable_dynamic_voice_speed?: boolean;
1998
1988
 
1999
- /**
2000
- * Body param: If set to true, will detect whether the call enters a voicemail.
2001
- * Note that this feature is only available for phone calls.
2002
- */
2003
- enable_voicemail_detection?: boolean;
2004
-
2005
1989
  /**
2006
1990
  * Body param: If users stay silent for a period after agent speech, end the call.
2007
1991
  * The minimum value allowed is 10,000 ms (10 s). By default, this is set to 600000
@@ -2168,10 +2152,13 @@ export interface AgentUpdateParams {
2168
2152
  | 'gpt-4.1-mini'
2169
2153
  | 'gpt-4.1-nano'
2170
2154
  | 'gpt-5'
2171
- | 'gpt-5.1'
2172
- | 'gpt-5.2'
2173
2155
  | 'gpt-5-mini'
2174
2156
  | 'gpt-5-nano'
2157
+ | 'gpt-5.1'
2158
+ | 'gpt-5.2'
2159
+ | 'gpt-5.4'
2160
+ | 'gpt-5.4-mini'
2161
+ | 'gpt-5.4-nano'
2175
2162
  | 'claude-4.5-sonnet'
2176
2163
  | 'claude-4.6-sonnet'
2177
2164
  | 'claude-4.5-haiku'
@@ -2286,10 +2273,8 @@ export interface AgentUpdateParams {
2286
2273
  | 'eleven_flash_v2_5'
2287
2274
  | 'eleven_multilingual_v2'
2288
2275
  | 'eleven_v3'
2289
- | 'sonic-2'
2290
2276
  | 'sonic-3'
2291
2277
  | 'sonic-3-latest'
2292
- | 'sonic-turbo'
2293
2278
  | 'tts-1'
2294
2279
  | 'gpt-4o-mini-tts'
2295
2280
  | 'speech-02-turbo'
@@ -378,12 +378,6 @@ export namespace BatchCallCreateBatchCallParams {
378
378
  */
379
379
  enable_dynamic_voice_speed?: boolean;
380
380
 
381
- /**
382
- * If set to true, will detect whether the call enters a voicemail. Note that this
383
- * feature is only available for phone calls.
384
- */
385
- enable_voicemail_detection?: boolean;
386
-
387
381
  /**
388
382
  * If users stay silent for a period after agent speech, end the call. The minimum
389
383
  * value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).
@@ -549,10 +543,13 @@ export namespace BatchCallCreateBatchCallParams {
549
543
  | 'gpt-4.1-mini'
550
544
  | 'gpt-4.1-nano'
551
545
  | 'gpt-5'
552
- | 'gpt-5.1'
553
- | 'gpt-5.2'
554
546
  | 'gpt-5-mini'
555
547
  | 'gpt-5-nano'
548
+ | 'gpt-5.1'
549
+ | 'gpt-5.2'
550
+ | 'gpt-5.4'
551
+ | 'gpt-5.4-mini'
552
+ | 'gpt-5.4-nano'
556
553
  | 'claude-4.5-sonnet'
557
554
  | 'claude-4.6-sonnet'
558
555
  | 'claude-4.5-haiku'
@@ -660,10 +657,8 @@ export namespace BatchCallCreateBatchCallParams {
660
657
  | 'eleven_flash_v2_5'
661
658
  | 'eleven_multilingual_v2'
662
659
  | 'eleven_v3'
663
- | 'sonic-2'
664
660
  | 'sonic-3'
665
661
  | 'sonic-3-latest'
666
- | 'sonic-turbo'
667
662
  | 'tts-1'
668
663
  | 'gpt-4o-mini-tts'
669
664
  | 'speech-02-turbo'
@@ -1142,10 +1137,13 @@ export namespace BatchCallCreateBatchCallParams {
1142
1137
  | 'gpt-4.1-mini'
1143
1138
  | 'gpt-4.1-nano'
1144
1139
  | 'gpt-5'
1145
- | 'gpt-5.1'
1146
- | 'gpt-5.2'
1147
1140
  | 'gpt-5-mini'
1148
1141
  | 'gpt-5-nano'
1142
+ | 'gpt-5.1'
1143
+ | 'gpt-5.2'
1144
+ | 'gpt-5.4'
1145
+ | 'gpt-5.4-mini'
1146
+ | 'gpt-5.4-nano'
1149
1147
  | 'claude-4.5-sonnet'
1150
1148
  | 'claude-4.6-sonnet'
1151
1149
  | 'claude-4.5-haiku'
@@ -1205,10 +1203,13 @@ export namespace BatchCallCreateBatchCallParams {
1205
1203
  | 'gpt-4.1-mini'
1206
1204
  | 'gpt-4.1-nano'
1207
1205
  | 'gpt-5'
1208
- | 'gpt-5.1'
1209
- | 'gpt-5.2'
1210
1206
  | 'gpt-5-mini'
1211
1207
  | 'gpt-5-nano'
1208
+ | 'gpt-5.1'
1209
+ | 'gpt-5.2'
1210
+ | 'gpt-5.4'
1211
+ | 'gpt-5.4-mini'
1212
+ | 'gpt-5.4-nano'
1212
1213
  | 'claude-4.5-sonnet'
1213
1214
  | 'claude-4.6-sonnet'
1214
1215
  | 'claude-4.5-haiku'
@@ -1236,7 +1237,7 @@ export namespace BatchCallCreateBatchCallParams {
1236
1237
  * Select the underlying speech to speech model. Can only set this or model, not
1237
1238
  * both.
1238
1239
  */
1239
- s2s_model?: 'gpt-4o-realtime' | 'gpt-4o-mini-realtime' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
1240
+ s2s_model?: 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
1240
1241
 
1241
1242
  /**
1242
1243
  * The speaker who starts the conversation. Required. Must be either 'user' or
@@ -2310,6 +2310,11 @@ export namespace CallListParams {
2310
2310
  */
2311
2311
  batch_call_id?: Array<string>;
2312
2312
 
2313
+ /**
2314
+ * Only retrieve calls with specific call id(s).
2315
+ */
2316
+ call_id?: Array<string>;
2317
+
2313
2318
  /**
2314
2319
  * Only retrieve calls with specific call status(es).
2315
2320
  */
@@ -2707,12 +2712,6 @@ export namespace CallCreatePhoneCallParams {
2707
2712
  */
2708
2713
  enable_dynamic_voice_speed?: boolean;
2709
2714
 
2710
- /**
2711
- * If set to true, will detect whether the call enters a voicemail. Note that this
2712
- * feature is only available for phone calls.
2713
- */
2714
- enable_voicemail_detection?: boolean;
2715
-
2716
2715
  /**
2717
2716
  * If users stay silent for a period after agent speech, end the call. The minimum
2718
2717
  * value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).
@@ -2878,10 +2877,13 @@ export namespace CallCreatePhoneCallParams {
2878
2877
  | 'gpt-4.1-mini'
2879
2878
  | 'gpt-4.1-nano'
2880
2879
  | 'gpt-5'
2881
- | 'gpt-5.1'
2882
- | 'gpt-5.2'
2883
2880
  | 'gpt-5-mini'
2884
2881
  | 'gpt-5-nano'
2882
+ | 'gpt-5.1'
2883
+ | 'gpt-5.2'
2884
+ | 'gpt-5.4'
2885
+ | 'gpt-5.4-mini'
2886
+ | 'gpt-5.4-nano'
2885
2887
  | 'claude-4.5-sonnet'
2886
2888
  | 'claude-4.6-sonnet'
2887
2889
  | 'claude-4.5-haiku'
@@ -2989,10 +2991,8 @@ export namespace CallCreatePhoneCallParams {
2989
2991
  | 'eleven_flash_v2_5'
2990
2992
  | 'eleven_multilingual_v2'
2991
2993
  | 'eleven_v3'
2992
- | 'sonic-2'
2993
2994
  | 'sonic-3'
2994
2995
  | 'sonic-3-latest'
2995
- | 'sonic-turbo'
2996
2996
  | 'tts-1'
2997
2997
  | 'gpt-4o-mini-tts'
2998
2998
  | 'speech-02-turbo'
@@ -3471,10 +3471,13 @@ export namespace CallCreatePhoneCallParams {
3471
3471
  | 'gpt-4.1-mini'
3472
3472
  | 'gpt-4.1-nano'
3473
3473
  | 'gpt-5'
3474
- | 'gpt-5.1'
3475
- | 'gpt-5.2'
3476
3474
  | 'gpt-5-mini'
3477
3475
  | 'gpt-5-nano'
3476
+ | 'gpt-5.1'
3477
+ | 'gpt-5.2'
3478
+ | 'gpt-5.4'
3479
+ | 'gpt-5.4-mini'
3480
+ | 'gpt-5.4-nano'
3478
3481
  | 'claude-4.5-sonnet'
3479
3482
  | 'claude-4.6-sonnet'
3480
3483
  | 'claude-4.5-haiku'
@@ -3534,10 +3537,13 @@ export namespace CallCreatePhoneCallParams {
3534
3537
  | 'gpt-4.1-mini'
3535
3538
  | 'gpt-4.1-nano'
3536
3539
  | 'gpt-5'
3537
- | 'gpt-5.1'
3538
- | 'gpt-5.2'
3539
3540
  | 'gpt-5-mini'
3540
3541
  | 'gpt-5-nano'
3542
+ | 'gpt-5.1'
3543
+ | 'gpt-5.2'
3544
+ | 'gpt-5.4'
3545
+ | 'gpt-5.4-mini'
3546
+ | 'gpt-5.4-nano'
3541
3547
  | 'claude-4.5-sonnet'
3542
3548
  | 'claude-4.6-sonnet'
3543
3549
  | 'claude-4.5-haiku'
@@ -3565,7 +3571,7 @@ export namespace CallCreatePhoneCallParams {
3565
3571
  * Select the underlying speech to speech model. Can only set this or model, not
3566
3572
  * both.
3567
3573
  */
3568
- s2s_model?: 'gpt-4o-realtime' | 'gpt-4o-mini-realtime' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
3574
+ s2s_model?: 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
3569
3575
 
3570
3576
  /**
3571
3577
  * The speaker who starts the conversation. Required. Must be either 'user' or
@@ -3618,6 +3624,20 @@ export interface CallCreateWebCallParams {
3618
3624
  */
3619
3625
  agent_version?: number;
3620
3626
 
3627
+ /**
3628
+ * Start the call at this conversation flow node (stage). Must be a valid node id
3629
+ * in the agent's conversation flow. Only applicable when the agent uses
3630
+ * conversation flow as the response engine. Ignored for retell-llm agents.
3631
+ */
3632
+ current_node_id?: string | null;
3633
+
3634
+ /**
3635
+ * Start the conversation in this state (stage). Must be a valid state name in the
3636
+ * agent's Retell LLM. Only applicable when the agent uses Retell LLM with states.
3637
+ * Ignored for conversation-flow agents.
3638
+ */
3639
+ current_state?: string | null;
3640
+
3621
3641
  /**
3622
3642
  * An arbitrary object for storage purpose only. You can put anything here like
3623
3643
  * your internal customer id associated with the call. Not used for processing. You
@@ -3821,12 +3841,6 @@ export namespace CallCreateWebCallParams {
3821
3841
  */
3822
3842
  enable_dynamic_voice_speed?: boolean;
3823
3843
 
3824
- /**
3825
- * If set to true, will detect whether the call enters a voicemail. Note that this
3826
- * feature is only available for phone calls.
3827
- */
3828
- enable_voicemail_detection?: boolean;
3829
-
3830
3844
  /**
3831
3845
  * If users stay silent for a period after agent speech, end the call. The minimum
3832
3846
  * value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).
@@ -3992,10 +4006,13 @@ export namespace CallCreateWebCallParams {
3992
4006
  | 'gpt-4.1-mini'
3993
4007
  | 'gpt-4.1-nano'
3994
4008
  | 'gpt-5'
3995
- | 'gpt-5.1'
3996
- | 'gpt-5.2'
3997
4009
  | 'gpt-5-mini'
3998
4010
  | 'gpt-5-nano'
4011
+ | 'gpt-5.1'
4012
+ | 'gpt-5.2'
4013
+ | 'gpt-5.4'
4014
+ | 'gpt-5.4-mini'
4015
+ | 'gpt-5.4-nano'
3999
4016
  | 'claude-4.5-sonnet'
4000
4017
  | 'claude-4.6-sonnet'
4001
4018
  | 'claude-4.5-haiku'
@@ -4103,10 +4120,8 @@ export namespace CallCreateWebCallParams {
4103
4120
  | 'eleven_flash_v2_5'
4104
4121
  | 'eleven_multilingual_v2'
4105
4122
  | 'eleven_v3'
4106
- | 'sonic-2'
4107
4123
  | 'sonic-3'
4108
4124
  | 'sonic-3-latest'
4109
- | 'sonic-turbo'
4110
4125
  | 'tts-1'
4111
4126
  | 'gpt-4o-mini-tts'
4112
4127
  | 'speech-02-turbo'
@@ -4585,10 +4600,13 @@ export namespace CallCreateWebCallParams {
4585
4600
  | 'gpt-4.1-mini'
4586
4601
  | 'gpt-4.1-nano'
4587
4602
  | 'gpt-5'
4588
- | 'gpt-5.1'
4589
- | 'gpt-5.2'
4590
4603
  | 'gpt-5-mini'
4591
4604
  | 'gpt-5-nano'
4605
+ | 'gpt-5.1'
4606
+ | 'gpt-5.2'
4607
+ | 'gpt-5.4'
4608
+ | 'gpt-5.4-mini'
4609
+ | 'gpt-5.4-nano'
4592
4610
  | 'claude-4.5-sonnet'
4593
4611
  | 'claude-4.6-sonnet'
4594
4612
  | 'claude-4.5-haiku'
@@ -4648,10 +4666,13 @@ export namespace CallCreateWebCallParams {
4648
4666
  | 'gpt-4.1-mini'
4649
4667
  | 'gpt-4.1-nano'
4650
4668
  | 'gpt-5'
4651
- | 'gpt-5.1'
4652
- | 'gpt-5.2'
4653
4669
  | 'gpt-5-mini'
4654
4670
  | 'gpt-5-nano'
4671
+ | 'gpt-5.1'
4672
+ | 'gpt-5.2'
4673
+ | 'gpt-5.4'
4674
+ | 'gpt-5.4-mini'
4675
+ | 'gpt-5.4-nano'
4655
4676
  | 'claude-4.5-sonnet'
4656
4677
  | 'claude-4.6-sonnet'
4657
4678
  | 'claude-4.5-haiku'
@@ -4679,7 +4700,7 @@ export namespace CallCreateWebCallParams {
4679
4700
  * Select the underlying speech to speech model. Can only set this or model, not
4680
4701
  * both.
4681
4702
  */
4682
- s2s_model?: 'gpt-4o-realtime' | 'gpt-4o-mini-realtime' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
4703
+ s2s_model?: 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
4683
4704
 
4684
4705
  /**
4685
4706
  * The speaker who starts the conversation. Required. Must be either 'user' or
@@ -4949,12 +4970,6 @@ export namespace CallRegisterPhoneCallParams {
4949
4970
  */
4950
4971
  enable_dynamic_voice_speed?: boolean;
4951
4972
 
4952
- /**
4953
- * If set to true, will detect whether the call enters a voicemail. Note that this
4954
- * feature is only available for phone calls.
4955
- */
4956
- enable_voicemail_detection?: boolean;
4957
-
4958
4973
  /**
4959
4974
  * If users stay silent for a period after agent speech, end the call. The minimum
4960
4975
  * value allowed is 10,000 ms (10 s). By default, this is set to 600000 (10 min).
@@ -5120,10 +5135,13 @@ export namespace CallRegisterPhoneCallParams {
5120
5135
  | 'gpt-4.1-mini'
5121
5136
  | 'gpt-4.1-nano'
5122
5137
  | 'gpt-5'
5123
- | 'gpt-5.1'
5124
- | 'gpt-5.2'
5125
5138
  | 'gpt-5-mini'
5126
5139
  | 'gpt-5-nano'
5140
+ | 'gpt-5.1'
5141
+ | 'gpt-5.2'
5142
+ | 'gpt-5.4'
5143
+ | 'gpt-5.4-mini'
5144
+ | 'gpt-5.4-nano'
5127
5145
  | 'claude-4.5-sonnet'
5128
5146
  | 'claude-4.6-sonnet'
5129
5147
  | 'claude-4.5-haiku'
@@ -5231,10 +5249,8 @@ export namespace CallRegisterPhoneCallParams {
5231
5249
  | 'eleven_flash_v2_5'
5232
5250
  | 'eleven_multilingual_v2'
5233
5251
  | 'eleven_v3'
5234
- | 'sonic-2'
5235
5252
  | 'sonic-3'
5236
5253
  | 'sonic-3-latest'
5237
- | 'sonic-turbo'
5238
5254
  | 'tts-1'
5239
5255
  | 'gpt-4o-mini-tts'
5240
5256
  | 'speech-02-turbo'
@@ -5713,10 +5729,13 @@ export namespace CallRegisterPhoneCallParams {
5713
5729
  | 'gpt-4.1-mini'
5714
5730
  | 'gpt-4.1-nano'
5715
5731
  | 'gpt-5'
5716
- | 'gpt-5.1'
5717
- | 'gpt-5.2'
5718
5732
  | 'gpt-5-mini'
5719
5733
  | 'gpt-5-nano'
5734
+ | 'gpt-5.1'
5735
+ | 'gpt-5.2'
5736
+ | 'gpt-5.4'
5737
+ | 'gpt-5.4-mini'
5738
+ | 'gpt-5.4-nano'
5720
5739
  | 'claude-4.5-sonnet'
5721
5740
  | 'claude-4.6-sonnet'
5722
5741
  | 'claude-4.5-haiku'
@@ -5776,10 +5795,13 @@ export namespace CallRegisterPhoneCallParams {
5776
5795
  | 'gpt-4.1-mini'
5777
5796
  | 'gpt-4.1-nano'
5778
5797
  | 'gpt-5'
5779
- | 'gpt-5.1'
5780
- | 'gpt-5.2'
5781
5798
  | 'gpt-5-mini'
5782
5799
  | 'gpt-5-nano'
5800
+ | 'gpt-5.1'
5801
+ | 'gpt-5.2'
5802
+ | 'gpt-5.4'
5803
+ | 'gpt-5.4-mini'
5804
+ | 'gpt-5.4-nano'
5783
5805
  | 'claude-4.5-sonnet'
5784
5806
  | 'claude-4.6-sonnet'
5785
5807
  | 'claude-4.5-haiku'
@@ -5807,7 +5829,7 @@ export namespace CallRegisterPhoneCallParams {
5807
5829
  * Select the underlying speech to speech model. Can only set this or model, not
5808
5830
  * both.
5809
5831
  */
5810
- s2s_model?: 'gpt-4o-realtime' | 'gpt-4o-mini-realtime' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
5832
+ s2s_model?: 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
5811
5833
 
5812
5834
  /**
5813
5835
  * The speaker who starts the conversation. Required. Must be either 'user' or
@@ -294,10 +294,13 @@ export interface ChatAgentResponse {
294
294
  | 'gpt-4.1-mini'
295
295
  | 'gpt-4.1-nano'
296
296
  | 'gpt-5'
297
- | 'gpt-5.1'
298
- | 'gpt-5.2'
299
297
  | 'gpt-5-mini'
300
298
  | 'gpt-5-nano'
299
+ | 'gpt-5.1'
300
+ | 'gpt-5.2'
301
+ | 'gpt-5.4'
302
+ | 'gpt-5.4-mini'
303
+ | 'gpt-5.4-nano'
301
304
  | 'claude-4.5-sonnet'
302
305
  | 'claude-4.6-sonnet'
303
306
  | 'claude-4.5-haiku'
@@ -703,10 +706,13 @@ export interface ChatAgentCreateParams {
703
706
  | 'gpt-4.1-mini'
704
707
  | 'gpt-4.1-nano'
705
708
  | 'gpt-5'
706
- | 'gpt-5.1'
707
- | 'gpt-5.2'
708
709
  | 'gpt-5-mini'
709
710
  | 'gpt-5-nano'
711
+ | 'gpt-5.1'
712
+ | 'gpt-5.2'
713
+ | 'gpt-5.4'
714
+ | 'gpt-5.4-mini'
715
+ | 'gpt-5.4-nano'
710
716
  | 'claude-4.5-sonnet'
711
717
  | 'claude-4.6-sonnet'
712
718
  | 'claude-4.5-haiku'
@@ -1109,10 +1115,13 @@ export interface ChatAgentUpdateParams {
1109
1115
  | 'gpt-4.1-mini'
1110
1116
  | 'gpt-4.1-nano'
1111
1117
  | 'gpt-5'
1112
- | 'gpt-5.1'
1113
- | 'gpt-5.2'
1114
1118
  | 'gpt-5-mini'
1115
1119
  | 'gpt-5-nano'
1120
+ | 'gpt-5.1'
1121
+ | 'gpt-5.2'
1122
+ | 'gpt-5.4'
1123
+ | 'gpt-5.4-mini'
1124
+ | 'gpt-5.4-nano'
1116
1125
  | 'claude-4.5-sonnet'
1117
1126
  | 'claude-4.6-sonnet'
1118
1127
  | 'claude-4.5-haiku'