retell-sdk 5.66.1 → 6.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/client.d.mts +4 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +4 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/agent.d.mts +7 -14
  10. package/resources/agent.d.mts.map +1 -1
  11. package/resources/agent.d.ts +7 -14
  12. package/resources/agent.d.ts.map +1 -1
  13. package/resources/agent.js +0 -8
  14. package/resources/agent.js.map +1 -1
  15. package/resources/agent.mjs +0 -8
  16. package/resources/agent.mjs.map +1 -1
  17. package/resources/batch-call.d.mts +5 -5
  18. package/resources/batch-call.d.mts.map +1 -1
  19. package/resources/batch-call.d.ts +5 -5
  20. package/resources/batch-call.d.ts.map +1 -1
  21. package/resources/call.d.mts +15 -15
  22. package/resources/call.d.mts.map +1 -1
  23. package/resources/call.d.ts +15 -15
  24. package/resources/call.d.ts.map +1 -1
  25. package/resources/chat-agent.d.mts +7 -14
  26. package/resources/chat-agent.d.mts.map +1 -1
  27. package/resources/chat-agent.d.ts +7 -14
  28. package/resources/chat-agent.d.ts.map +1 -1
  29. package/resources/chat-agent.js +0 -8
  30. package/resources/chat-agent.js.map +1 -1
  31. package/resources/chat-agent.mjs +0 -8
  32. package/resources/chat-agent.mjs.map +1 -1
  33. package/resources/chat.d.mts +57 -0
  34. package/resources/chat.d.mts.map +1 -1
  35. package/resources/chat.d.ts +57 -0
  36. package/resources/chat.d.ts.map +1 -1
  37. package/resources/contact.d.mts +32 -32
  38. package/resources/contact.d.mts.map +1 -1
  39. package/resources/contact.d.ts +32 -32
  40. package/resources/contact.d.ts.map +1 -1
  41. package/resources/conversation-flow-component.d.mts +57 -525
  42. package/resources/conversation-flow-component.d.mts.map +1 -1
  43. package/resources/conversation-flow-component.d.ts +57 -525
  44. package/resources/conversation-flow-component.d.ts.map +1 -1
  45. package/resources/conversation-flow.d.mts +117 -1053
  46. package/resources/conversation-flow.d.mts.map +1 -1
  47. package/resources/conversation-flow.d.ts +117 -1053
  48. package/resources/conversation-flow.d.ts.map +1 -1
  49. package/resources/crm.d.mts +6 -0
  50. package/resources/crm.d.mts.map +1 -1
  51. package/resources/crm.d.ts +6 -0
  52. package/resources/crm.d.ts.map +1 -1
  53. package/resources/index.d.mts +2 -2
  54. package/resources/index.d.mts.map +1 -1
  55. package/resources/index.d.ts +2 -2
  56. package/resources/index.d.ts.map +1 -1
  57. package/resources/index.js.map +1 -1
  58. package/resources/index.mjs.map +1 -1
  59. package/resources/llm.d.mts +12 -456
  60. package/resources/llm.d.mts.map +1 -1
  61. package/resources/llm.d.ts +12 -456
  62. package/resources/llm.d.ts.map +1 -1
  63. package/resources/tests.d.mts +3 -3
  64. package/resources/tests.d.mts.map +1 -1
  65. package/resources/tests.d.ts +3 -3
  66. package/resources/tests.d.ts.map +1 -1
  67. package/src/client.ts +0 -4
  68. package/src/resources/agent.ts +9 -15
  69. package/src/resources/batch-call.ts +9 -3
  70. package/src/resources/call.ts +27 -9
  71. package/src/resources/chat-agent.ts +9 -15
  72. package/src/resources/chat.ts +77 -0
  73. package/src/resources/contact.ts +38 -38
  74. package/src/resources/conversation-flow-component.ts +138 -618
  75. package/src/resources/conversation-flow.ts +285 -1233
  76. package/src/resources/crm.ts +7 -0
  77. package/src/resources/index.ts +0 -2
  78. package/src/resources/llm.ts +9 -531
  79. package/src/resources/tests.ts +9 -3
  80. package/src/version.ts +1 -1
  81. package/version.d.mts +1 -1
  82. package/version.d.mts.map +1 -1
  83. package/version.d.ts +1 -1
  84. package/version.d.ts.map +1 -1
  85. package/version.js +1 -1
  86. package/version.js.map +1 -1
  87. package/version.mjs +1 -1
  88. package/version.mjs.map +1 -1
@@ -115,7 +115,7 @@ export interface ConversationFlowComponentResponse {
115
115
  /**
116
116
  * Tools available within the component
117
117
  */
118
- tools?: Array<ConversationFlowComponentResponse.CustomTool | ConversationFlowComponentResponse.CheckAvailabilityCalTool | ConversationFlowComponentResponse.BookAppointmentCalTool> | null;
118
+ tools?: Array<ConversationFlowComponentResponse.Tool> | null;
119
119
  }
120
120
  export declare namespace ConversationFlowComponentResponse {
121
121
  interface ConversationNode {
@@ -549,7 +549,7 @@ export declare namespace ConversationFlowComponentResponse {
549
549
  /**
550
550
  * The LLM model to use
551
551
  */
552
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
552
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
553
553
  /**
554
554
  * Type of model choice
555
555
  */
@@ -680,7 +680,7 @@ export declare namespace ConversationFlowComponentResponse {
680
680
  * The tools owned by this subagent node. This includes other tool types like
681
681
  * transfer_call, agent_swap, etc.
682
682
  */
683
- tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.CheckAvailabilityCalTool | SubagentNode.BookAppointmentCalTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
683
+ tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
684
684
  voice_speed?: number | null;
685
685
  }
686
686
  namespace SubagentNode {
@@ -1041,7 +1041,7 @@ export declare namespace ConversationFlowComponentResponse {
1041
1041
  /**
1042
1042
  * The LLM model to use
1043
1043
  */
1044
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
1044
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
1045
1045
  /**
1046
1046
  * Type of model choice
1047
1047
  */
@@ -1425,80 +1425,6 @@ export declare namespace ConversationFlowComponentResponse {
1425
1425
  }
1426
1426
  }
1427
1427
  }
1428
- /**
1429
- * @deprecated
1430
- */
1431
- interface CheckAvailabilityCalTool {
1432
- /**
1433
- * Cal.com Api key that have access to the cal.com event you want to check
1434
- * availability for.
1435
- */
1436
- cal_api_key: string;
1437
- /**
1438
- * Cal.com event type id number for the cal.com event you want to check
1439
- * availability for. Can be a number or a dynamic variable in the format
1440
- * `{{variable_name}}` that will be resolved at runtime.
1441
- */
1442
- event_type_id: number | string;
1443
- /**
1444
- * Name of the tool. Must be unique within all tools available to LLM at any given
1445
- * time (general tools + state tools + state transitions). Must be consisted of
1446
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
1447
- * (no space allowed).
1448
- */
1449
- name: string;
1450
- type: 'check_availability_cal';
1451
- /**
1452
- * Describes what the tool does, sometimes can also include information about when
1453
- * to call the tool.
1454
- */
1455
- description?: string;
1456
- /**
1457
- * Timezone to be used when checking availability, must be in
1458
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
1459
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
1460
- * resolved at runtime. If not specified, will check if user specified timezone in
1461
- * call, and if not, will use the timezone of the Retell servers.
1462
- */
1463
- timezone?: string;
1464
- }
1465
- /**
1466
- * @deprecated
1467
- */
1468
- interface BookAppointmentCalTool {
1469
- /**
1470
- * Cal.com Api key that have access to the cal.com event you want to book
1471
- * appointment.
1472
- */
1473
- cal_api_key: string;
1474
- /**
1475
- * Cal.com event type id number for the cal.com event you want to book appointment.
1476
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
1477
- * will be resolved at runtime.
1478
- */
1479
- event_type_id: number | string;
1480
- /**
1481
- * Name of the tool. Must be unique within all tools available to LLM at any given
1482
- * time (general tools + state tools + state transitions). Must be consisted of
1483
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
1484
- * (no space allowed).
1485
- */
1486
- name: string;
1487
- type: 'book_appointment_cal';
1488
- /**
1489
- * Describes what the tool does, sometimes can also include information about when
1490
- * to call the tool.
1491
- */
1492
- description?: string;
1493
- /**
1494
- * Timezone to be used when booking appointment, must be in
1495
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
1496
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
1497
- * resolved at runtime. If not specified, will check if user specified timezone in
1498
- * call, and if not, will use the timezone of the Retell servers.
1499
- */
1500
- timezone?: string;
1501
- }
1502
1428
  interface AgentSwapTool {
1503
1429
  /**
1504
1430
  * The id of the agent to swap to.
@@ -2258,7 +2184,7 @@ export declare namespace ConversationFlowComponentResponse {
2258
2184
  /**
2259
2185
  * The LLM model to use
2260
2186
  */
2261
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
2187
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
2262
2188
  /**
2263
2189
  * Type of model choice
2264
2190
  */
@@ -2576,7 +2502,7 @@ export declare namespace ConversationFlowComponentResponse {
2576
2502
  /**
2577
2503
  * The LLM model to use
2578
2504
  */
2579
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
2505
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
2580
2506
  /**
2581
2507
  * Type of model choice
2582
2508
  */
@@ -2902,7 +2828,7 @@ export declare namespace ConversationFlowComponentResponse {
2902
2828
  /**
2903
2829
  * The LLM model to use
2904
2830
  */
2905
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
2831
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
2906
2832
  /**
2907
2833
  * Type of model choice
2908
2834
  */
@@ -3397,7 +3323,7 @@ export declare namespace ConversationFlowComponentResponse {
3397
3323
  /**
3398
3324
  * The LLM model to use
3399
3325
  */
3400
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
3326
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
3401
3327
  /**
3402
3328
  * Type of model choice
3403
3329
  */
@@ -3689,7 +3615,7 @@ export declare namespace ConversationFlowComponentResponse {
3689
3615
  /**
3690
3616
  * The LLM model to use
3691
3617
  */
3692
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
3618
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
3693
3619
  /**
3694
3620
  * Type of model choice
3695
3621
  */
@@ -3966,7 +3892,7 @@ export declare namespace ConversationFlowComponentResponse {
3966
3892
  /**
3967
3893
  * The LLM model to use
3968
3894
  */
3969
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
3895
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
3970
3896
  /**
3971
3897
  * Type of model choice
3972
3898
  */
@@ -4254,7 +4180,7 @@ export declare namespace ConversationFlowComponentResponse {
4254
4180
  /**
4255
4181
  * The LLM model to use
4256
4182
  */
4257
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
4183
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
4258
4184
  /**
4259
4185
  * Type of model choice
4260
4186
  */
@@ -4644,7 +4570,7 @@ export declare namespace ConversationFlowComponentResponse {
4644
4570
  /**
4645
4571
  * The LLM model to use
4646
4572
  */
4647
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
4573
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
4648
4574
  /**
4649
4575
  * Type of model choice
4650
4576
  */
@@ -4910,7 +4836,7 @@ export declare namespace ConversationFlowComponentResponse {
4910
4836
  /**
4911
4837
  * The LLM model to use
4912
4838
  */
4913
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
4839
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
4914
4840
  /**
4915
4841
  * Type of model choice
4916
4842
  */
@@ -5238,7 +5164,7 @@ export declare namespace ConversationFlowComponentResponse {
5238
5164
  /**
5239
5165
  * The LLM model to use
5240
5166
  */
5241
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
5167
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
5242
5168
  /**
5243
5169
  * Type of model choice
5244
5170
  */
@@ -5703,7 +5629,7 @@ export declare namespace ConversationFlowComponentResponse {
5703
5629
  /**
5704
5630
  * The LLM model to use
5705
5631
  */
5706
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
5632
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
5707
5633
  /**
5708
5634
  * Type of model choice
5709
5635
  */
@@ -5886,7 +5812,7 @@ export declare namespace ConversationFlowComponentResponse {
5886
5812
  /**
5887
5813
  * The LLM model to use
5888
5814
  */
5889
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
5815
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
5890
5816
  /**
5891
5817
  * Type of model choice
5892
5818
  */
@@ -5963,7 +5889,7 @@ export declare namespace ConversationFlowComponentResponse {
5963
5889
  width?: number;
5964
5890
  }
5965
5891
  }
5966
- interface CustomTool {
5892
+ interface Tool {
5967
5893
  /**
5968
5894
  * Name of the tool. Must be unique within all tools available to LLM at any given
5969
5895
  * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
@@ -6042,7 +5968,7 @@ export declare namespace ConversationFlowComponentResponse {
6042
5968
  * documentation about the format. Omitting parameters defines a function with an
6043
5969
  * empty parameter list.
6044
5970
  */
6045
- parameters?: CustomTool.Parameters;
5971
+ parameters?: Tool.Parameters;
6046
5972
  /**
6047
5973
  * Query parameters to append to the request URL.
6048
5974
  */
@@ -6082,7 +6008,7 @@ export declare namespace ConversationFlowComponentResponse {
6082
6008
  */
6083
6009
  tool_id?: string;
6084
6010
  }
6085
- namespace CustomTool {
6011
+ namespace Tool {
6086
6012
  /**
6087
6013
  * The parameters the functions accepts, described as a JSON Schema object. See
6088
6014
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -6107,88 +6033,6 @@ export declare namespace ConversationFlowComponentResponse {
6107
6033
  required?: Array<string>;
6108
6034
  }
6109
6035
  }
6110
- /**
6111
- * @deprecated
6112
- */
6113
- interface CheckAvailabilityCalTool {
6114
- /**
6115
- * Cal.com Api key that have access to the cal.com event you want to check
6116
- * availability for.
6117
- */
6118
- cal_api_key: string;
6119
- /**
6120
- * Cal.com event type id number for the cal.com event you want to check
6121
- * availability for. Can be a number or a dynamic variable in the format
6122
- * `{{variable_name}}` that will be resolved at runtime.
6123
- */
6124
- event_type_id: number | string;
6125
- /**
6126
- * Name of the tool. Must be unique within all tools available to LLM at any given
6127
- * time (general tools + state tools + state transitions). Must be consisted of
6128
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
6129
- * (no space allowed).
6130
- */
6131
- name: string;
6132
- type: 'check_availability_cal';
6133
- /**
6134
- * Describes what the tool does, sometimes can also include information about when
6135
- * to call the tool.
6136
- */
6137
- description?: string;
6138
- /**
6139
- * Timezone to be used when checking availability, must be in
6140
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
6141
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
6142
- * resolved at runtime. If not specified, will check if user specified timezone in
6143
- * call, and if not, will use the timezone of the Retell servers.
6144
- */
6145
- timezone?: string;
6146
- /**
6147
- * Unique identifier for the tool
6148
- */
6149
- tool_id?: string;
6150
- }
6151
- /**
6152
- * @deprecated
6153
- */
6154
- interface BookAppointmentCalTool {
6155
- /**
6156
- * Cal.com Api key that have access to the cal.com event you want to book
6157
- * appointment.
6158
- */
6159
- cal_api_key: string;
6160
- /**
6161
- * Cal.com event type id number for the cal.com event you want to book appointment.
6162
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
6163
- * will be resolved at runtime.
6164
- */
6165
- event_type_id: number | string;
6166
- /**
6167
- * Name of the tool. Must be unique within all tools available to LLM at any given
6168
- * time (general tools + state tools + state transitions). Must be consisted of
6169
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
6170
- * (no space allowed).
6171
- */
6172
- name: string;
6173
- type: 'book_appointment_cal';
6174
- /**
6175
- * Describes what the tool does, sometimes can also include information about when
6176
- * to call the tool.
6177
- */
6178
- description?: string;
6179
- /**
6180
- * Timezone to be used when booking appointment, must be in
6181
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
6182
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
6183
- * resolved at runtime. If not specified, will check if user specified timezone in
6184
- * call, and if not, will use the timezone of the Retell servers.
6185
- */
6186
- timezone?: string;
6187
- /**
6188
- * Unique identifier for the tool
6189
- */
6190
- tool_id?: string;
6191
- }
6192
6036
  }
6193
6037
  export interface ConversationFlowComponentListResponse {
6194
6038
  /**
@@ -6233,7 +6077,7 @@ export interface ConversationFlowComponentCreateParams {
6233
6077
  /**
6234
6078
  * Tools available within the component
6235
6079
  */
6236
- tools?: Array<ConversationFlowComponentCreateParams.CustomTool | ConversationFlowComponentCreateParams.CheckAvailabilityCalTool | ConversationFlowComponentCreateParams.BookAppointmentCalTool> | null;
6080
+ tools?: Array<ConversationFlowComponentCreateParams.Tool> | null;
6237
6081
  }
6238
6082
  export declare namespace ConversationFlowComponentCreateParams {
6239
6083
  interface ConversationNode {
@@ -6667,7 +6511,7 @@ export declare namespace ConversationFlowComponentCreateParams {
6667
6511
  /**
6668
6512
  * The LLM model to use
6669
6513
  */
6670
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
6514
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
6671
6515
  /**
6672
6516
  * Type of model choice
6673
6517
  */
@@ -6798,7 +6642,7 @@ export declare namespace ConversationFlowComponentCreateParams {
6798
6642
  * The tools owned by this subagent node. This includes other tool types like
6799
6643
  * transfer_call, agent_swap, etc.
6800
6644
  */
6801
- tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.CheckAvailabilityCalTool | SubagentNode.BookAppointmentCalTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
6645
+ tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
6802
6646
  voice_speed?: number | null;
6803
6647
  }
6804
6648
  namespace SubagentNode {
@@ -7159,7 +7003,7 @@ export declare namespace ConversationFlowComponentCreateParams {
7159
7003
  /**
7160
7004
  * The LLM model to use
7161
7005
  */
7162
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
7006
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
7163
7007
  /**
7164
7008
  * Type of model choice
7165
7009
  */
@@ -7543,80 +7387,6 @@ export declare namespace ConversationFlowComponentCreateParams {
7543
7387
  }
7544
7388
  }
7545
7389
  }
7546
- /**
7547
- * @deprecated
7548
- */
7549
- interface CheckAvailabilityCalTool {
7550
- /**
7551
- * Cal.com Api key that have access to the cal.com event you want to check
7552
- * availability for.
7553
- */
7554
- cal_api_key: string;
7555
- /**
7556
- * Cal.com event type id number for the cal.com event you want to check
7557
- * availability for. Can be a number or a dynamic variable in the format
7558
- * `{{variable_name}}` that will be resolved at runtime.
7559
- */
7560
- event_type_id: number | string;
7561
- /**
7562
- * Name of the tool. Must be unique within all tools available to LLM at any given
7563
- * time (general tools + state tools + state transitions). Must be consisted of
7564
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
7565
- * (no space allowed).
7566
- */
7567
- name: string;
7568
- type: 'check_availability_cal';
7569
- /**
7570
- * Describes what the tool does, sometimes can also include information about when
7571
- * to call the tool.
7572
- */
7573
- description?: string;
7574
- /**
7575
- * Timezone to be used when checking availability, must be in
7576
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
7577
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
7578
- * resolved at runtime. If not specified, will check if user specified timezone in
7579
- * call, and if not, will use the timezone of the Retell servers.
7580
- */
7581
- timezone?: string;
7582
- }
7583
- /**
7584
- * @deprecated
7585
- */
7586
- interface BookAppointmentCalTool {
7587
- /**
7588
- * Cal.com Api key that have access to the cal.com event you want to book
7589
- * appointment.
7590
- */
7591
- cal_api_key: string;
7592
- /**
7593
- * Cal.com event type id number for the cal.com event you want to book appointment.
7594
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
7595
- * will be resolved at runtime.
7596
- */
7597
- event_type_id: number | string;
7598
- /**
7599
- * Name of the tool. Must be unique within all tools available to LLM at any given
7600
- * time (general tools + state tools + state transitions). Must be consisted of
7601
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
7602
- * (no space allowed).
7603
- */
7604
- name: string;
7605
- type: 'book_appointment_cal';
7606
- /**
7607
- * Describes what the tool does, sometimes can also include information about when
7608
- * to call the tool.
7609
- */
7610
- description?: string;
7611
- /**
7612
- * Timezone to be used when booking appointment, must be in
7613
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
7614
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
7615
- * resolved at runtime. If not specified, will check if user specified timezone in
7616
- * call, and if not, will use the timezone of the Retell servers.
7617
- */
7618
- timezone?: string;
7619
- }
7620
7390
  interface AgentSwapTool {
7621
7391
  /**
7622
7392
  * The id of the agent to swap to.
@@ -8376,7 +8146,7 @@ export declare namespace ConversationFlowComponentCreateParams {
8376
8146
  /**
8377
8147
  * The LLM model to use
8378
8148
  */
8379
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
8149
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
8380
8150
  /**
8381
8151
  * Type of model choice
8382
8152
  */
@@ -8694,7 +8464,7 @@ export declare namespace ConversationFlowComponentCreateParams {
8694
8464
  /**
8695
8465
  * The LLM model to use
8696
8466
  */
8697
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
8467
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
8698
8468
  /**
8699
8469
  * Type of model choice
8700
8470
  */
@@ -9020,7 +8790,7 @@ export declare namespace ConversationFlowComponentCreateParams {
9020
8790
  /**
9021
8791
  * The LLM model to use
9022
8792
  */
9023
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
8793
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
9024
8794
  /**
9025
8795
  * Type of model choice
9026
8796
  */
@@ -9515,7 +9285,7 @@ export declare namespace ConversationFlowComponentCreateParams {
9515
9285
  /**
9516
9286
  * The LLM model to use
9517
9287
  */
9518
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
9288
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
9519
9289
  /**
9520
9290
  * Type of model choice
9521
9291
  */
@@ -9807,7 +9577,7 @@ export declare namespace ConversationFlowComponentCreateParams {
9807
9577
  /**
9808
9578
  * The LLM model to use
9809
9579
  */
9810
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
9580
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
9811
9581
  /**
9812
9582
  * Type of model choice
9813
9583
  */
@@ -10084,7 +9854,7 @@ export declare namespace ConversationFlowComponentCreateParams {
10084
9854
  /**
10085
9855
  * The LLM model to use
10086
9856
  */
10087
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
9857
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
10088
9858
  /**
10089
9859
  * Type of model choice
10090
9860
  */
@@ -10372,7 +10142,7 @@ export declare namespace ConversationFlowComponentCreateParams {
10372
10142
  /**
10373
10143
  * The LLM model to use
10374
10144
  */
10375
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
10145
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
10376
10146
  /**
10377
10147
  * Type of model choice
10378
10148
  */
@@ -10762,7 +10532,7 @@ export declare namespace ConversationFlowComponentCreateParams {
10762
10532
  /**
10763
10533
  * The LLM model to use
10764
10534
  */
10765
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
10535
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
10766
10536
  /**
10767
10537
  * Type of model choice
10768
10538
  */
@@ -11028,7 +10798,7 @@ export declare namespace ConversationFlowComponentCreateParams {
11028
10798
  /**
11029
10799
  * The LLM model to use
11030
10800
  */
11031
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
10801
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
11032
10802
  /**
11033
10803
  * Type of model choice
11034
10804
  */
@@ -11356,7 +11126,7 @@ export declare namespace ConversationFlowComponentCreateParams {
11356
11126
  /**
11357
11127
  * The LLM model to use
11358
11128
  */
11359
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
11129
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
11360
11130
  /**
11361
11131
  * Type of model choice
11362
11132
  */
@@ -11821,7 +11591,7 @@ export declare namespace ConversationFlowComponentCreateParams {
11821
11591
  /**
11822
11592
  * The LLM model to use
11823
11593
  */
11824
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
11594
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
11825
11595
  /**
11826
11596
  * Type of model choice
11827
11597
  */
@@ -12004,7 +11774,7 @@ export declare namespace ConversationFlowComponentCreateParams {
12004
11774
  /**
12005
11775
  * The LLM model to use
12006
11776
  */
12007
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
11777
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
12008
11778
  /**
12009
11779
  * Type of model choice
12010
11780
  */
@@ -12081,7 +11851,7 @@ export declare namespace ConversationFlowComponentCreateParams {
12081
11851
  width?: number;
12082
11852
  }
12083
11853
  }
12084
- interface CustomTool {
11854
+ interface Tool {
12085
11855
  /**
12086
11856
  * Name of the tool. Must be unique within all tools available to LLM at any given
12087
11857
  * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
@@ -12160,7 +11930,7 @@ export declare namespace ConversationFlowComponentCreateParams {
12160
11930
  * documentation about the format. Omitting parameters defines a function with an
12161
11931
  * empty parameter list.
12162
11932
  */
12163
- parameters?: CustomTool.Parameters;
11933
+ parameters?: Tool.Parameters;
12164
11934
  /**
12165
11935
  * Query parameters to append to the request URL.
12166
11936
  */
@@ -12200,7 +11970,7 @@ export declare namespace ConversationFlowComponentCreateParams {
12200
11970
  */
12201
11971
  tool_id?: string;
12202
11972
  }
12203
- namespace CustomTool {
11973
+ namespace Tool {
12204
11974
  /**
12205
11975
  * The parameters the functions accepts, described as a JSON Schema object. See
12206
11976
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -12225,88 +11995,6 @@ export declare namespace ConversationFlowComponentCreateParams {
12225
11995
  required?: Array<string>;
12226
11996
  }
12227
11997
  }
12228
- /**
12229
- * @deprecated
12230
- */
12231
- interface CheckAvailabilityCalTool {
12232
- /**
12233
- * Cal.com Api key that have access to the cal.com event you want to check
12234
- * availability for.
12235
- */
12236
- cal_api_key: string;
12237
- /**
12238
- * Cal.com event type id number for the cal.com event you want to check
12239
- * availability for. Can be a number or a dynamic variable in the format
12240
- * `{{variable_name}}` that will be resolved at runtime.
12241
- */
12242
- event_type_id: number | string;
12243
- /**
12244
- * Name of the tool. Must be unique within all tools available to LLM at any given
12245
- * time (general tools + state tools + state transitions). Must be consisted of
12246
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
12247
- * (no space allowed).
12248
- */
12249
- name: string;
12250
- type: 'check_availability_cal';
12251
- /**
12252
- * Describes what the tool does, sometimes can also include information about when
12253
- * to call the tool.
12254
- */
12255
- description?: string;
12256
- /**
12257
- * Timezone to be used when checking availability, must be in
12258
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
12259
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
12260
- * resolved at runtime. If not specified, will check if user specified timezone in
12261
- * call, and if not, will use the timezone of the Retell servers.
12262
- */
12263
- timezone?: string;
12264
- /**
12265
- * Unique identifier for the tool
12266
- */
12267
- tool_id?: string;
12268
- }
12269
- /**
12270
- * @deprecated
12271
- */
12272
- interface BookAppointmentCalTool {
12273
- /**
12274
- * Cal.com Api key that have access to the cal.com event you want to book
12275
- * appointment.
12276
- */
12277
- cal_api_key: string;
12278
- /**
12279
- * Cal.com event type id number for the cal.com event you want to book appointment.
12280
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
12281
- * will be resolved at runtime.
12282
- */
12283
- event_type_id: number | string;
12284
- /**
12285
- * Name of the tool. Must be unique within all tools available to LLM at any given
12286
- * time (general tools + state tools + state transitions). Must be consisted of
12287
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
12288
- * (no space allowed).
12289
- */
12290
- name: string;
12291
- type: 'book_appointment_cal';
12292
- /**
12293
- * Describes what the tool does, sometimes can also include information about when
12294
- * to call the tool.
12295
- */
12296
- description?: string;
12297
- /**
12298
- * Timezone to be used when booking appointment, must be in
12299
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
12300
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
12301
- * resolved at runtime. If not specified, will check if user specified timezone in
12302
- * call, and if not, will use the timezone of the Retell servers.
12303
- */
12304
- timezone?: string;
12305
- /**
12306
- * Unique identifier for the tool
12307
- */
12308
- tool_id?: string;
12309
- }
12310
11998
  }
12311
11999
  export interface ConversationFlowComponentUpdateParams {
12312
12000
  /**
@@ -12340,7 +12028,7 @@ export interface ConversationFlowComponentUpdateParams {
12340
12028
  /**
12341
12029
  * Tools available within the component
12342
12030
  */
12343
- tools?: Array<ConversationFlowComponentUpdateParams.CustomTool | ConversationFlowComponentUpdateParams.CheckAvailabilityCalTool | ConversationFlowComponentUpdateParams.BookAppointmentCalTool> | null;
12031
+ tools?: Array<ConversationFlowComponentUpdateParams.Tool> | null;
12344
12032
  }
12345
12033
  export declare namespace ConversationFlowComponentUpdateParams {
12346
12034
  /**
@@ -12805,7 +12493,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
12805
12493
  /**
12806
12494
  * The LLM model to use
12807
12495
  */
12808
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
12496
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
12809
12497
  /**
12810
12498
  * Type of model choice
12811
12499
  */
@@ -12936,7 +12624,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
12936
12624
  * The tools owned by this subagent node. This includes other tool types like
12937
12625
  * transfer_call, agent_swap, etc.
12938
12626
  */
12939
- tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.CheckAvailabilityCalTool | SubagentNode.BookAppointmentCalTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
12627
+ tools?: Array<SubagentNode.EndCallTool | SubagentNode.TransferCallTool | SubagentNode.AgentSwapTool | SubagentNode.PressDigitTool | SubagentNode.SendSMSTool | SubagentNode.CustomTool | SubagentNode.CodeTool | SubagentNode.ExtractDynamicVariableTool | SubagentNode.BridgeTransferTool | SubagentNode.CancelTransferTool | SubagentNode.McpTool> | null;
12940
12628
  voice_speed?: number | null;
12941
12629
  }
12942
12630
  namespace SubagentNode {
@@ -13297,7 +12985,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
13297
12985
  /**
13298
12986
  * The LLM model to use
13299
12987
  */
13300
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
12988
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
13301
12989
  /**
13302
12990
  * Type of model choice
13303
12991
  */
@@ -13681,80 +13369,6 @@ export declare namespace ConversationFlowComponentUpdateParams {
13681
13369
  }
13682
13370
  }
13683
13371
  }
13684
- /**
13685
- * @deprecated
13686
- */
13687
- interface CheckAvailabilityCalTool {
13688
- /**
13689
- * Cal.com Api key that have access to the cal.com event you want to check
13690
- * availability for.
13691
- */
13692
- cal_api_key: string;
13693
- /**
13694
- * Cal.com event type id number for the cal.com event you want to check
13695
- * availability for. Can be a number or a dynamic variable in the format
13696
- * `{{variable_name}}` that will be resolved at runtime.
13697
- */
13698
- event_type_id: number | string;
13699
- /**
13700
- * Name of the tool. Must be unique within all tools available to LLM at any given
13701
- * time (general tools + state tools + state transitions). Must be consisted of
13702
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
13703
- * (no space allowed).
13704
- */
13705
- name: string;
13706
- type: 'check_availability_cal';
13707
- /**
13708
- * Describes what the tool does, sometimes can also include information about when
13709
- * to call the tool.
13710
- */
13711
- description?: string;
13712
- /**
13713
- * Timezone to be used when checking availability, must be in
13714
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
13715
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
13716
- * resolved at runtime. If not specified, will check if user specified timezone in
13717
- * call, and if not, will use the timezone of the Retell servers.
13718
- */
13719
- timezone?: string;
13720
- }
13721
- /**
13722
- * @deprecated
13723
- */
13724
- interface BookAppointmentCalTool {
13725
- /**
13726
- * Cal.com Api key that have access to the cal.com event you want to book
13727
- * appointment.
13728
- */
13729
- cal_api_key: string;
13730
- /**
13731
- * Cal.com event type id number for the cal.com event you want to book appointment.
13732
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
13733
- * will be resolved at runtime.
13734
- */
13735
- event_type_id: number | string;
13736
- /**
13737
- * Name of the tool. Must be unique within all tools available to LLM at any given
13738
- * time (general tools + state tools + state transitions). Must be consisted of
13739
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
13740
- * (no space allowed).
13741
- */
13742
- name: string;
13743
- type: 'book_appointment_cal';
13744
- /**
13745
- * Describes what the tool does, sometimes can also include information about when
13746
- * to call the tool.
13747
- */
13748
- description?: string;
13749
- /**
13750
- * Timezone to be used when booking appointment, must be in
13751
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
13752
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
13753
- * resolved at runtime. If not specified, will check if user specified timezone in
13754
- * call, and if not, will use the timezone of the Retell servers.
13755
- */
13756
- timezone?: string;
13757
- }
13758
13372
  interface AgentSwapTool {
13759
13373
  /**
13760
13374
  * The id of the agent to swap to.
@@ -14514,7 +14128,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
14514
14128
  /**
14515
14129
  * The LLM model to use
14516
14130
  */
14517
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
14131
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
14518
14132
  /**
14519
14133
  * Type of model choice
14520
14134
  */
@@ -14832,7 +14446,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
14832
14446
  /**
14833
14447
  * The LLM model to use
14834
14448
  */
14835
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
14449
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
14836
14450
  /**
14837
14451
  * Type of model choice
14838
14452
  */
@@ -15158,7 +14772,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
15158
14772
  /**
15159
14773
  * The LLM model to use
15160
14774
  */
15161
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
14775
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
15162
14776
  /**
15163
14777
  * Type of model choice
15164
14778
  */
@@ -15653,7 +15267,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
15653
15267
  /**
15654
15268
  * The LLM model to use
15655
15269
  */
15656
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
15270
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
15657
15271
  /**
15658
15272
  * Type of model choice
15659
15273
  */
@@ -15945,7 +15559,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
15945
15559
  /**
15946
15560
  * The LLM model to use
15947
15561
  */
15948
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
15562
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
15949
15563
  /**
15950
15564
  * Type of model choice
15951
15565
  */
@@ -16222,7 +15836,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
16222
15836
  /**
16223
15837
  * The LLM model to use
16224
15838
  */
16225
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
15839
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
16226
15840
  /**
16227
15841
  * Type of model choice
16228
15842
  */
@@ -16510,7 +16124,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
16510
16124
  /**
16511
16125
  * The LLM model to use
16512
16126
  */
16513
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
16127
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
16514
16128
  /**
16515
16129
  * Type of model choice
16516
16130
  */
@@ -16900,7 +16514,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
16900
16514
  /**
16901
16515
  * The LLM model to use
16902
16516
  */
16903
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
16517
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
16904
16518
  /**
16905
16519
  * Type of model choice
16906
16520
  */
@@ -17166,7 +16780,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
17166
16780
  /**
17167
16781
  * The LLM model to use
17168
16782
  */
17169
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
16783
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
17170
16784
  /**
17171
16785
  * Type of model choice
17172
16786
  */
@@ -17494,7 +17108,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
17494
17108
  /**
17495
17109
  * The LLM model to use
17496
17110
  */
17497
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
17111
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
17498
17112
  /**
17499
17113
  * Type of model choice
17500
17114
  */
@@ -17959,7 +17573,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
17959
17573
  /**
17960
17574
  * The LLM model to use
17961
17575
  */
17962
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
17576
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
17963
17577
  /**
17964
17578
  * Type of model choice
17965
17579
  */
@@ -18142,7 +17756,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
18142
17756
  /**
18143
17757
  * The LLM model to use
18144
17758
  */
18145
- model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash';
17759
+ model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-5-sonnet' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
18146
17760
  /**
18147
17761
  * Type of model choice
18148
17762
  */
@@ -18188,7 +17802,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
18188
17802
  width?: number;
18189
17803
  }
18190
17804
  }
18191
- interface CustomTool {
17805
+ interface Tool {
18192
17806
  /**
18193
17807
  * Name of the tool. Must be unique within all tools available to LLM at any given
18194
17808
  * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
@@ -18267,7 +17881,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
18267
17881
  * documentation about the format. Omitting parameters defines a function with an
18268
17882
  * empty parameter list.
18269
17883
  */
18270
- parameters?: CustomTool.Parameters;
17884
+ parameters?: Tool.Parameters;
18271
17885
  /**
18272
17886
  * Query parameters to append to the request URL.
18273
17887
  */
@@ -18307,7 +17921,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
18307
17921
  */
18308
17922
  tool_id?: string;
18309
17923
  }
18310
- namespace CustomTool {
17924
+ namespace Tool {
18311
17925
  /**
18312
17926
  * The parameters the functions accepts, described as a JSON Schema object. See
18313
17927
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -18332,88 +17946,6 @@ export declare namespace ConversationFlowComponentUpdateParams {
18332
17946
  required?: Array<string>;
18333
17947
  }
18334
17948
  }
18335
- /**
18336
- * @deprecated
18337
- */
18338
- interface CheckAvailabilityCalTool {
18339
- /**
18340
- * Cal.com Api key that have access to the cal.com event you want to check
18341
- * availability for.
18342
- */
18343
- cal_api_key: string;
18344
- /**
18345
- * Cal.com event type id number for the cal.com event you want to check
18346
- * availability for. Can be a number or a dynamic variable in the format
18347
- * `{{variable_name}}` that will be resolved at runtime.
18348
- */
18349
- event_type_id: number | string;
18350
- /**
18351
- * Name of the tool. Must be unique within all tools available to LLM at any given
18352
- * time (general tools + state tools + state transitions). Must be consisted of
18353
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
18354
- * (no space allowed).
18355
- */
18356
- name: string;
18357
- type: 'check_availability_cal';
18358
- /**
18359
- * Describes what the tool does, sometimes can also include information about when
18360
- * to call the tool.
18361
- */
18362
- description?: string;
18363
- /**
18364
- * Timezone to be used when checking availability, must be in
18365
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
18366
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
18367
- * resolved at runtime. If not specified, will check if user specified timezone in
18368
- * call, and if not, will use the timezone of the Retell servers.
18369
- */
18370
- timezone?: string;
18371
- /**
18372
- * Unique identifier for the tool
18373
- */
18374
- tool_id?: string;
18375
- }
18376
- /**
18377
- * @deprecated
18378
- */
18379
- interface BookAppointmentCalTool {
18380
- /**
18381
- * Cal.com Api key that have access to the cal.com event you want to book
18382
- * appointment.
18383
- */
18384
- cal_api_key: string;
18385
- /**
18386
- * Cal.com event type id number for the cal.com event you want to book appointment.
18387
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
18388
- * will be resolved at runtime.
18389
- */
18390
- event_type_id: number | string;
18391
- /**
18392
- * Name of the tool. Must be unique within all tools available to LLM at any given
18393
- * time (general tools + state tools + state transitions). Must be consisted of
18394
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
18395
- * (no space allowed).
18396
- */
18397
- name: string;
18398
- type: 'book_appointment_cal';
18399
- /**
18400
- * Describes what the tool does, sometimes can also include information about when
18401
- * to call the tool.
18402
- */
18403
- description?: string;
18404
- /**
18405
- * Timezone to be used when booking appointment, must be in
18406
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
18407
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
18408
- * resolved at runtime. If not specified, will check if user specified timezone in
18409
- * call, and if not, will use the timezone of the Retell servers.
18410
- */
18411
- timezone?: string;
18412
- /**
18413
- * Unique identifier for the tool
18414
- */
18415
- tool_id?: string;
18416
- }
18417
17949
  }
18418
17950
  export interface ConversationFlowComponentListParams {
18419
17951
  /**