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
@@ -180,11 +180,7 @@ export interface ConversationFlowComponentResponse {
180
180
  /**
181
181
  * Tools available within the component
182
182
  */
183
- tools?: Array<
184
- | ConversationFlowComponentResponse.CustomTool
185
- | ConversationFlowComponentResponse.CheckAvailabilityCalTool
186
- | ConversationFlowComponentResponse.BookAppointmentCalTool
187
- > | null;
183
+ tools?: Array<ConversationFlowComponentResponse.Tool> | null;
188
184
  }
189
185
 
190
186
  export namespace ConversationFlowComponentResponse {
@@ -832,7 +828,9 @@ export namespace ConversationFlowComponentResponse {
832
828
  | 'gemini-3.1-flash-lite'
833
829
  | 'gemini-3.5-flash'
834
830
  | 'gemini-3.5-flash-lite'
835
- | 'gemini-3.6-flash';
831
+ | 'gemini-3.6-flash'
832
+ | 'gemini-3.7-flash'
833
+ | 'gemini-3.8-flash';
836
834
 
837
835
  /**
838
836
  * Type of model choice
@@ -1019,8 +1017,6 @@ export namespace ConversationFlowComponentResponse {
1019
1017
  tools?: Array<
1020
1018
  | SubagentNode.EndCallTool
1021
1019
  | SubagentNode.TransferCallTool
1022
- | SubagentNode.CheckAvailabilityCalTool
1023
- | SubagentNode.BookAppointmentCalTool
1024
1020
  | SubagentNode.AgentSwapTool
1025
1021
  | SubagentNode.PressDigitTool
1026
1022
  | SubagentNode.SendSMSTool
@@ -1581,7 +1577,9 @@ export namespace ConversationFlowComponentResponse {
1581
1577
  | 'gemini-3.1-flash-lite'
1582
1578
  | 'gemini-3.5-flash'
1583
1579
  | 'gemini-3.5-flash-lite'
1584
- | 'gemini-3.6-flash';
1580
+ | 'gemini-3.6-flash'
1581
+ | 'gemini-3.7-flash'
1582
+ | 'gemini-3.8-flash';
1585
1583
 
1586
1584
  /**
1587
1585
  * Type of model choice
@@ -2067,92 +2065,6 @@ export namespace ConversationFlowComponentResponse {
2067
2065
  }
2068
2066
  }
2069
2067
 
2070
- /**
2071
- * @deprecated
2072
- */
2073
- export interface CheckAvailabilityCalTool {
2074
- /**
2075
- * Cal.com Api key that have access to the cal.com event you want to check
2076
- * availability for.
2077
- */
2078
- cal_api_key: string;
2079
-
2080
- /**
2081
- * Cal.com event type id number for the cal.com event you want to check
2082
- * availability for. Can be a number or a dynamic variable in the format
2083
- * `{{variable_name}}` that will be resolved at runtime.
2084
- */
2085
- event_type_id: number | string;
2086
-
2087
- /**
2088
- * Name of the tool. Must be unique within all tools available to LLM at any given
2089
- * time (general tools + state tools + state transitions). Must be consisted of
2090
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
2091
- * (no space allowed).
2092
- */
2093
- name: string;
2094
-
2095
- type: 'check_availability_cal';
2096
-
2097
- /**
2098
- * Describes what the tool does, sometimes can also include information about when
2099
- * to call the tool.
2100
- */
2101
- description?: string;
2102
-
2103
- /**
2104
- * Timezone to be used when checking availability, must be in
2105
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
2106
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
2107
- * resolved at runtime. If not specified, will check if user specified timezone in
2108
- * call, and if not, will use the timezone of the Retell servers.
2109
- */
2110
- timezone?: string;
2111
- }
2112
-
2113
- /**
2114
- * @deprecated
2115
- */
2116
- export interface BookAppointmentCalTool {
2117
- /**
2118
- * Cal.com Api key that have access to the cal.com event you want to book
2119
- * appointment.
2120
- */
2121
- cal_api_key: string;
2122
-
2123
- /**
2124
- * Cal.com event type id number for the cal.com event you want to book appointment.
2125
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
2126
- * will be resolved at runtime.
2127
- */
2128
- event_type_id: number | string;
2129
-
2130
- /**
2131
- * Name of the tool. Must be unique within all tools available to LLM at any given
2132
- * time (general tools + state tools + state transitions). Must be consisted of
2133
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
2134
- * (no space allowed).
2135
- */
2136
- name: string;
2137
-
2138
- type: 'book_appointment_cal';
2139
-
2140
- /**
2141
- * Describes what the tool does, sometimes can also include information about when
2142
- * to call the tool.
2143
- */
2144
- description?: string;
2145
-
2146
- /**
2147
- * Timezone to be used when booking appointment, must be in
2148
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
2149
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
2150
- * resolved at runtime. If not specified, will check if user specified timezone in
2151
- * call, and if not, will use the timezone of the Retell servers.
2152
- */
2153
- timezone?: string;
2154
- }
2155
-
2156
2068
  export interface AgentSwapTool {
2157
2069
  /**
2158
2070
  * The id of the agent to swap to.
@@ -3110,7 +3022,9 @@ export namespace ConversationFlowComponentResponse {
3110
3022
  | 'gemini-3.1-flash-lite'
3111
3023
  | 'gemini-3.5-flash'
3112
3024
  | 'gemini-3.5-flash-lite'
3113
- | 'gemini-3.6-flash';
3025
+ | 'gemini-3.6-flash'
3026
+ | 'gemini-3.7-flash'
3027
+ | 'gemini-3.8-flash';
3114
3028
 
3115
3029
  /**
3116
3030
  * Type of model choice
@@ -3590,7 +3504,9 @@ export namespace ConversationFlowComponentResponse {
3590
3504
  | 'gemini-3.1-flash-lite'
3591
3505
  | 'gemini-3.5-flash'
3592
3506
  | 'gemini-3.5-flash-lite'
3593
- | 'gemini-3.6-flash';
3507
+ | 'gemini-3.6-flash'
3508
+ | 'gemini-3.7-flash'
3509
+ | 'gemini-3.8-flash';
3594
3510
 
3595
3511
  /**
3596
3512
  * Type of model choice
@@ -4077,7 +3993,9 @@ export namespace ConversationFlowComponentResponse {
4077
3993
  | 'gemini-3.1-flash-lite'
4078
3994
  | 'gemini-3.5-flash'
4079
3995
  | 'gemini-3.5-flash-lite'
4080
- | 'gemini-3.6-flash';
3996
+ | 'gemini-3.6-flash'
3997
+ | 'gemini-3.7-flash'
3998
+ | 'gemini-3.8-flash';
4081
3999
 
4082
4000
  /**
4083
4001
  * Type of model choice
@@ -4751,7 +4669,9 @@ export namespace ConversationFlowComponentResponse {
4751
4669
  | 'gemini-3.1-flash-lite'
4752
4670
  | 'gemini-3.5-flash'
4753
4671
  | 'gemini-3.5-flash-lite'
4754
- | 'gemini-3.6-flash';
4672
+ | 'gemini-3.6-flash'
4673
+ | 'gemini-3.7-flash'
4674
+ | 'gemini-3.8-flash';
4755
4675
 
4756
4676
  /**
4757
4677
  * Type of model choice
@@ -5199,7 +5119,9 @@ export namespace ConversationFlowComponentResponse {
5199
5119
  | 'gemini-3.1-flash-lite'
5200
5120
  | 'gemini-3.5-flash'
5201
5121
  | 'gemini-3.5-flash-lite'
5202
- | 'gemini-3.6-flash';
5122
+ | 'gemini-3.6-flash'
5123
+ | 'gemini-3.7-flash'
5124
+ | 'gemini-3.8-flash';
5203
5125
 
5204
5126
  /**
5205
5127
  * Type of model choice
@@ -5628,7 +5550,9 @@ export namespace ConversationFlowComponentResponse {
5628
5550
  | 'gemini-3.1-flash-lite'
5629
5551
  | 'gemini-3.5-flash'
5630
5552
  | 'gemini-3.5-flash-lite'
5631
- | 'gemini-3.6-flash';
5553
+ | 'gemini-3.6-flash'
5554
+ | 'gemini-3.7-flash'
5555
+ | 'gemini-3.8-flash';
5632
5556
 
5633
5557
  /**
5634
5558
  * Type of model choice
@@ -6070,7 +5994,9 @@ export namespace ConversationFlowComponentResponse {
6070
5994
  | 'gemini-3.1-flash-lite'
6071
5995
  | 'gemini-3.5-flash'
6072
5996
  | 'gemini-3.5-flash-lite'
6073
- | 'gemini-3.6-flash';
5997
+ | 'gemini-3.6-flash'
5998
+ | 'gemini-3.7-flash'
5999
+ | 'gemini-3.8-flash';
6074
6000
 
6075
6001
  /**
6076
6002
  * Type of model choice
@@ -6641,7 +6567,9 @@ export namespace ConversationFlowComponentResponse {
6641
6567
  | 'gemini-3.1-flash-lite'
6642
6568
  | 'gemini-3.5-flash'
6643
6569
  | 'gemini-3.5-flash-lite'
6644
- | 'gemini-3.6-flash';
6570
+ | 'gemini-3.6-flash'
6571
+ | 'gemini-3.7-flash'
6572
+ | 'gemini-3.8-flash';
6645
6573
 
6646
6574
  /**
6647
6575
  * Type of model choice
@@ -7032,7 +6960,9 @@ export namespace ConversationFlowComponentResponse {
7032
6960
  | 'gemini-3.1-flash-lite'
7033
6961
  | 'gemini-3.5-flash'
7034
6962
  | 'gemini-3.5-flash-lite'
7035
- | 'gemini-3.6-flash';
6963
+ | 'gemini-3.6-flash'
6964
+ | 'gemini-3.7-flash'
6965
+ | 'gemini-3.8-flash';
7036
6966
 
7037
6967
  /**
7038
6968
  * Type of model choice
@@ -7521,7 +7451,9 @@ export namespace ConversationFlowComponentResponse {
7521
7451
  | 'gemini-3.1-flash-lite'
7522
7452
  | 'gemini-3.5-flash'
7523
7453
  | 'gemini-3.5-flash-lite'
7524
- | 'gemini-3.6-flash';
7454
+ | 'gemini-3.6-flash'
7455
+ | 'gemini-3.7-flash'
7456
+ | 'gemini-3.8-flash';
7525
7457
 
7526
7458
  /**
7527
7459
  * Type of model choice
@@ -8207,7 +8139,9 @@ export namespace ConversationFlowComponentResponse {
8207
8139
  | 'gemini-3.1-flash-lite'
8208
8140
  | 'gemini-3.5-flash'
8209
8141
  | 'gemini-3.5-flash-lite'
8210
- | 'gemini-3.6-flash';
8142
+ | 'gemini-3.6-flash'
8143
+ | 'gemini-3.7-flash'
8144
+ | 'gemini-3.8-flash';
8211
8145
 
8212
8146
  /**
8213
8147
  * Type of model choice
@@ -8484,7 +8418,9 @@ export namespace ConversationFlowComponentResponse {
8484
8418
  | 'gemini-3.1-flash-lite'
8485
8419
  | 'gemini-3.5-flash'
8486
8420
  | 'gemini-3.5-flash-lite'
8487
- | 'gemini-3.6-flash';
8421
+ | 'gemini-3.6-flash'
8422
+ | 'gemini-3.7-flash'
8423
+ | 'gemini-3.8-flash';
8488
8424
 
8489
8425
  /**
8490
8426
  * Type of model choice
@@ -8575,7 +8511,7 @@ export namespace ConversationFlowComponentResponse {
8575
8511
  }
8576
8512
  }
8577
8513
 
8578
- export interface CustomTool {
8514
+ export interface Tool {
8579
8515
  /**
8580
8516
  * Name of the tool. Must be unique within all tools available to LLM at any given
8581
8517
  * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
@@ -8664,7 +8600,7 @@ export namespace ConversationFlowComponentResponse {
8664
8600
  * documentation about the format. Omitting parameters defines a function with an
8665
8601
  * empty parameter list.
8666
8602
  */
8667
- parameters?: CustomTool.Parameters;
8603
+ parameters?: Tool.Parameters;
8668
8604
 
8669
8605
  /**
8670
8606
  * Query parameters to append to the request URL.
@@ -8707,7 +8643,7 @@ export namespace ConversationFlowComponentResponse {
8707
8643
  tool_id?: string;
8708
8644
  }
8709
8645
 
8710
- export namespace CustomTool {
8646
+ export namespace Tool {
8711
8647
  /**
8712
8648
  * The parameters the functions accepts, described as a JSON Schema object. See
8713
8649
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -8734,102 +8670,6 @@ export namespace ConversationFlowComponentResponse {
8734
8670
  required?: Array<string>;
8735
8671
  }
8736
8672
  }
8737
-
8738
- /**
8739
- * @deprecated
8740
- */
8741
- export interface CheckAvailabilityCalTool {
8742
- /**
8743
- * Cal.com Api key that have access to the cal.com event you want to check
8744
- * availability for.
8745
- */
8746
- cal_api_key: string;
8747
-
8748
- /**
8749
- * Cal.com event type id number for the cal.com event you want to check
8750
- * availability for. Can be a number or a dynamic variable in the format
8751
- * `{{variable_name}}` that will be resolved at runtime.
8752
- */
8753
- event_type_id: number | string;
8754
-
8755
- /**
8756
- * Name of the tool. Must be unique within all tools available to LLM at any given
8757
- * time (general tools + state tools + state transitions). Must be consisted of
8758
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
8759
- * (no space allowed).
8760
- */
8761
- name: string;
8762
-
8763
- type: 'check_availability_cal';
8764
-
8765
- /**
8766
- * Describes what the tool does, sometimes can also include information about when
8767
- * to call the tool.
8768
- */
8769
- description?: string;
8770
-
8771
- /**
8772
- * Timezone to be used when checking availability, must be in
8773
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
8774
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
8775
- * resolved at runtime. If not specified, will check if user specified timezone in
8776
- * call, and if not, will use the timezone of the Retell servers.
8777
- */
8778
- timezone?: string;
8779
-
8780
- /**
8781
- * Unique identifier for the tool
8782
- */
8783
- tool_id?: string;
8784
- }
8785
-
8786
- /**
8787
- * @deprecated
8788
- */
8789
- export interface BookAppointmentCalTool {
8790
- /**
8791
- * Cal.com Api key that have access to the cal.com event you want to book
8792
- * appointment.
8793
- */
8794
- cal_api_key: string;
8795
-
8796
- /**
8797
- * Cal.com event type id number for the cal.com event you want to book appointment.
8798
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
8799
- * will be resolved at runtime.
8800
- */
8801
- event_type_id: number | string;
8802
-
8803
- /**
8804
- * Name of the tool. Must be unique within all tools available to LLM at any given
8805
- * time (general tools + state tools + state transitions). Must be consisted of
8806
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
8807
- * (no space allowed).
8808
- */
8809
- name: string;
8810
-
8811
- type: 'book_appointment_cal';
8812
-
8813
- /**
8814
- * Describes what the tool does, sometimes can also include information about when
8815
- * to call the tool.
8816
- */
8817
- description?: string;
8818
-
8819
- /**
8820
- * Timezone to be used when booking appointment, must be in
8821
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
8822
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
8823
- * resolved at runtime. If not specified, will check if user specified timezone in
8824
- * call, and if not, will use the timezone of the Retell servers.
8825
- */
8826
- timezone?: string;
8827
-
8828
- /**
8829
- * Unique identifier for the tool
8830
- */
8831
- tool_id?: string;
8832
- }
8833
8673
  }
8834
8674
 
8835
8675
  export interface ConversationFlowComponentListResponse {
@@ -8901,11 +8741,7 @@ export interface ConversationFlowComponentCreateParams {
8901
8741
  /**
8902
8742
  * Tools available within the component
8903
8743
  */
8904
- tools?: Array<
8905
- | ConversationFlowComponentCreateParams.CustomTool
8906
- | ConversationFlowComponentCreateParams.CheckAvailabilityCalTool
8907
- | ConversationFlowComponentCreateParams.BookAppointmentCalTool
8908
- > | null;
8744
+ tools?: Array<ConversationFlowComponentCreateParams.Tool> | null;
8909
8745
  }
8910
8746
 
8911
8747
  export namespace ConversationFlowComponentCreateParams {
@@ -9553,7 +9389,9 @@ export namespace ConversationFlowComponentCreateParams {
9553
9389
  | 'gemini-3.1-flash-lite'
9554
9390
  | 'gemini-3.5-flash'
9555
9391
  | 'gemini-3.5-flash-lite'
9556
- | 'gemini-3.6-flash';
9392
+ | 'gemini-3.6-flash'
9393
+ | 'gemini-3.7-flash'
9394
+ | 'gemini-3.8-flash';
9557
9395
 
9558
9396
  /**
9559
9397
  * Type of model choice
@@ -9740,8 +9578,6 @@ export namespace ConversationFlowComponentCreateParams {
9740
9578
  tools?: Array<
9741
9579
  | SubagentNode.EndCallTool
9742
9580
  | SubagentNode.TransferCallTool
9743
- | SubagentNode.CheckAvailabilityCalTool
9744
- | SubagentNode.BookAppointmentCalTool
9745
9581
  | SubagentNode.AgentSwapTool
9746
9582
  | SubagentNode.PressDigitTool
9747
9583
  | SubagentNode.SendSMSTool
@@ -10302,7 +10138,9 @@ export namespace ConversationFlowComponentCreateParams {
10302
10138
  | 'gemini-3.1-flash-lite'
10303
10139
  | 'gemini-3.5-flash'
10304
10140
  | 'gemini-3.5-flash-lite'
10305
- | 'gemini-3.6-flash';
10141
+ | 'gemini-3.6-flash'
10142
+ | 'gemini-3.7-flash'
10143
+ | 'gemini-3.8-flash';
10306
10144
 
10307
10145
  /**
10308
10146
  * Type of model choice
@@ -10788,92 +10626,6 @@ export namespace ConversationFlowComponentCreateParams {
10788
10626
  }
10789
10627
  }
10790
10628
 
10791
- /**
10792
- * @deprecated
10793
- */
10794
- export interface CheckAvailabilityCalTool {
10795
- /**
10796
- * Cal.com Api key that have access to the cal.com event you want to check
10797
- * availability for.
10798
- */
10799
- cal_api_key: string;
10800
-
10801
- /**
10802
- * Cal.com event type id number for the cal.com event you want to check
10803
- * availability for. Can be a number or a dynamic variable in the format
10804
- * `{{variable_name}}` that will be resolved at runtime.
10805
- */
10806
- event_type_id: number | string;
10807
-
10808
- /**
10809
- * Name of the tool. Must be unique within all tools available to LLM at any given
10810
- * time (general tools + state tools + state transitions). Must be consisted of
10811
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
10812
- * (no space allowed).
10813
- */
10814
- name: string;
10815
-
10816
- type: 'check_availability_cal';
10817
-
10818
- /**
10819
- * Describes what the tool does, sometimes can also include information about when
10820
- * to call the tool.
10821
- */
10822
- description?: string;
10823
-
10824
- /**
10825
- * Timezone to be used when checking availability, must be in
10826
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
10827
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
10828
- * resolved at runtime. If not specified, will check if user specified timezone in
10829
- * call, and if not, will use the timezone of the Retell servers.
10830
- */
10831
- timezone?: string;
10832
- }
10833
-
10834
- /**
10835
- * @deprecated
10836
- */
10837
- export interface BookAppointmentCalTool {
10838
- /**
10839
- * Cal.com Api key that have access to the cal.com event you want to book
10840
- * appointment.
10841
- */
10842
- cal_api_key: string;
10843
-
10844
- /**
10845
- * Cal.com event type id number for the cal.com event you want to book appointment.
10846
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
10847
- * will be resolved at runtime.
10848
- */
10849
- event_type_id: number | string;
10850
-
10851
- /**
10852
- * Name of the tool. Must be unique within all tools available to LLM at any given
10853
- * time (general tools + state tools + state transitions). Must be consisted of
10854
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
10855
- * (no space allowed).
10856
- */
10857
- name: string;
10858
-
10859
- type: 'book_appointment_cal';
10860
-
10861
- /**
10862
- * Describes what the tool does, sometimes can also include information about when
10863
- * to call the tool.
10864
- */
10865
- description?: string;
10866
-
10867
- /**
10868
- * Timezone to be used when booking appointment, must be in
10869
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
10870
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
10871
- * resolved at runtime. If not specified, will check if user specified timezone in
10872
- * call, and if not, will use the timezone of the Retell servers.
10873
- */
10874
- timezone?: string;
10875
- }
10876
-
10877
10629
  export interface AgentSwapTool {
10878
10630
  /**
10879
10631
  * The id of the agent to swap to.
@@ -11831,7 +11583,9 @@ export namespace ConversationFlowComponentCreateParams {
11831
11583
  | 'gemini-3.1-flash-lite'
11832
11584
  | 'gemini-3.5-flash'
11833
11585
  | 'gemini-3.5-flash-lite'
11834
- | 'gemini-3.6-flash';
11586
+ | 'gemini-3.6-flash'
11587
+ | 'gemini-3.7-flash'
11588
+ | 'gemini-3.8-flash';
11835
11589
 
11836
11590
  /**
11837
11591
  * Type of model choice
@@ -12311,7 +12065,9 @@ export namespace ConversationFlowComponentCreateParams {
12311
12065
  | 'gemini-3.1-flash-lite'
12312
12066
  | 'gemini-3.5-flash'
12313
12067
  | 'gemini-3.5-flash-lite'
12314
- | 'gemini-3.6-flash';
12068
+ | 'gemini-3.6-flash'
12069
+ | 'gemini-3.7-flash'
12070
+ | 'gemini-3.8-flash';
12315
12071
 
12316
12072
  /**
12317
12073
  * Type of model choice
@@ -12798,7 +12554,9 @@ export namespace ConversationFlowComponentCreateParams {
12798
12554
  | 'gemini-3.1-flash-lite'
12799
12555
  | 'gemini-3.5-flash'
12800
12556
  | 'gemini-3.5-flash-lite'
12801
- | 'gemini-3.6-flash';
12557
+ | 'gemini-3.6-flash'
12558
+ | 'gemini-3.7-flash'
12559
+ | 'gemini-3.8-flash';
12802
12560
 
12803
12561
  /**
12804
12562
  * Type of model choice
@@ -13472,7 +13230,9 @@ export namespace ConversationFlowComponentCreateParams {
13472
13230
  | 'gemini-3.1-flash-lite'
13473
13231
  | 'gemini-3.5-flash'
13474
13232
  | 'gemini-3.5-flash-lite'
13475
- | 'gemini-3.6-flash';
13233
+ | 'gemini-3.6-flash'
13234
+ | 'gemini-3.7-flash'
13235
+ | 'gemini-3.8-flash';
13476
13236
 
13477
13237
  /**
13478
13238
  * Type of model choice
@@ -13920,7 +13680,9 @@ export namespace ConversationFlowComponentCreateParams {
13920
13680
  | 'gemini-3.1-flash-lite'
13921
13681
  | 'gemini-3.5-flash'
13922
13682
  | 'gemini-3.5-flash-lite'
13923
- | 'gemini-3.6-flash';
13683
+ | 'gemini-3.6-flash'
13684
+ | 'gemini-3.7-flash'
13685
+ | 'gemini-3.8-flash';
13924
13686
 
13925
13687
  /**
13926
13688
  * Type of model choice
@@ -14349,7 +14111,9 @@ export namespace ConversationFlowComponentCreateParams {
14349
14111
  | 'gemini-3.1-flash-lite'
14350
14112
  | 'gemini-3.5-flash'
14351
14113
  | 'gemini-3.5-flash-lite'
14352
- | 'gemini-3.6-flash';
14114
+ | 'gemini-3.6-flash'
14115
+ | 'gemini-3.7-flash'
14116
+ | 'gemini-3.8-flash';
14353
14117
 
14354
14118
  /**
14355
14119
  * Type of model choice
@@ -14791,7 +14555,9 @@ export namespace ConversationFlowComponentCreateParams {
14791
14555
  | 'gemini-3.1-flash-lite'
14792
14556
  | 'gemini-3.5-flash'
14793
14557
  | 'gemini-3.5-flash-lite'
14794
- | 'gemini-3.6-flash';
14558
+ | 'gemini-3.6-flash'
14559
+ | 'gemini-3.7-flash'
14560
+ | 'gemini-3.8-flash';
14795
14561
 
14796
14562
  /**
14797
14563
  * Type of model choice
@@ -15362,7 +15128,9 @@ export namespace ConversationFlowComponentCreateParams {
15362
15128
  | 'gemini-3.1-flash-lite'
15363
15129
  | 'gemini-3.5-flash'
15364
15130
  | 'gemini-3.5-flash-lite'
15365
- | 'gemini-3.6-flash';
15131
+ | 'gemini-3.6-flash'
15132
+ | 'gemini-3.7-flash'
15133
+ | 'gemini-3.8-flash';
15366
15134
 
15367
15135
  /**
15368
15136
  * Type of model choice
@@ -15753,7 +15521,9 @@ export namespace ConversationFlowComponentCreateParams {
15753
15521
  | 'gemini-3.1-flash-lite'
15754
15522
  | 'gemini-3.5-flash'
15755
15523
  | 'gemini-3.5-flash-lite'
15756
- | 'gemini-3.6-flash';
15524
+ | 'gemini-3.6-flash'
15525
+ | 'gemini-3.7-flash'
15526
+ | 'gemini-3.8-flash';
15757
15527
 
15758
15528
  /**
15759
15529
  * Type of model choice
@@ -16242,7 +16012,9 @@ export namespace ConversationFlowComponentCreateParams {
16242
16012
  | 'gemini-3.1-flash-lite'
16243
16013
  | 'gemini-3.5-flash'
16244
16014
  | 'gemini-3.5-flash-lite'
16245
- | 'gemini-3.6-flash';
16015
+ | 'gemini-3.6-flash'
16016
+ | 'gemini-3.7-flash'
16017
+ | 'gemini-3.8-flash';
16246
16018
 
16247
16019
  /**
16248
16020
  * Type of model choice
@@ -16928,7 +16700,9 @@ export namespace ConversationFlowComponentCreateParams {
16928
16700
  | 'gemini-3.1-flash-lite'
16929
16701
  | 'gemini-3.5-flash'
16930
16702
  | 'gemini-3.5-flash-lite'
16931
- | 'gemini-3.6-flash';
16703
+ | 'gemini-3.6-flash'
16704
+ | 'gemini-3.7-flash'
16705
+ | 'gemini-3.8-flash';
16932
16706
 
16933
16707
  /**
16934
16708
  * Type of model choice
@@ -17205,7 +16979,9 @@ export namespace ConversationFlowComponentCreateParams {
17205
16979
  | 'gemini-3.1-flash-lite'
17206
16980
  | 'gemini-3.5-flash'
17207
16981
  | 'gemini-3.5-flash-lite'
17208
- | 'gemini-3.6-flash';
16982
+ | 'gemini-3.6-flash'
16983
+ | 'gemini-3.7-flash'
16984
+ | 'gemini-3.8-flash';
17209
16985
 
17210
16986
  /**
17211
16987
  * Type of model choice
@@ -17296,7 +17072,7 @@ export namespace ConversationFlowComponentCreateParams {
17296
17072
  }
17297
17073
  }
17298
17074
 
17299
- export interface CustomTool {
17075
+ export interface Tool {
17300
17076
  /**
17301
17077
  * Name of the tool. Must be unique within all tools available to LLM at any given
17302
17078
  * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
@@ -17385,7 +17161,7 @@ export namespace ConversationFlowComponentCreateParams {
17385
17161
  * documentation about the format. Omitting parameters defines a function with an
17386
17162
  * empty parameter list.
17387
17163
  */
17388
- parameters?: CustomTool.Parameters;
17164
+ parameters?: Tool.Parameters;
17389
17165
 
17390
17166
  /**
17391
17167
  * Query parameters to append to the request URL.
@@ -17428,7 +17204,7 @@ export namespace ConversationFlowComponentCreateParams {
17428
17204
  tool_id?: string;
17429
17205
  }
17430
17206
 
17431
- export namespace CustomTool {
17207
+ export namespace Tool {
17432
17208
  /**
17433
17209
  * The parameters the functions accepts, described as a JSON Schema object. See
17434
17210
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -17455,102 +17231,6 @@ export namespace ConversationFlowComponentCreateParams {
17455
17231
  required?: Array<string>;
17456
17232
  }
17457
17233
  }
17458
-
17459
- /**
17460
- * @deprecated
17461
- */
17462
- export interface CheckAvailabilityCalTool {
17463
- /**
17464
- * Cal.com Api key that have access to the cal.com event you want to check
17465
- * availability for.
17466
- */
17467
- cal_api_key: string;
17468
-
17469
- /**
17470
- * Cal.com event type id number for the cal.com event you want to check
17471
- * availability for. Can be a number or a dynamic variable in the format
17472
- * `{{variable_name}}` that will be resolved at runtime.
17473
- */
17474
- event_type_id: number | string;
17475
-
17476
- /**
17477
- * Name of the tool. Must be unique within all tools available to LLM at any given
17478
- * time (general tools + state tools + state transitions). Must be consisted of
17479
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
17480
- * (no space allowed).
17481
- */
17482
- name: string;
17483
-
17484
- type: 'check_availability_cal';
17485
-
17486
- /**
17487
- * Describes what the tool does, sometimes can also include information about when
17488
- * to call the tool.
17489
- */
17490
- description?: string;
17491
-
17492
- /**
17493
- * Timezone to be used when checking availability, must be in
17494
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
17495
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
17496
- * resolved at runtime. If not specified, will check if user specified timezone in
17497
- * call, and if not, will use the timezone of the Retell servers.
17498
- */
17499
- timezone?: string;
17500
-
17501
- /**
17502
- * Unique identifier for the tool
17503
- */
17504
- tool_id?: string;
17505
- }
17506
-
17507
- /**
17508
- * @deprecated
17509
- */
17510
- export interface BookAppointmentCalTool {
17511
- /**
17512
- * Cal.com Api key that have access to the cal.com event you want to book
17513
- * appointment.
17514
- */
17515
- cal_api_key: string;
17516
-
17517
- /**
17518
- * Cal.com event type id number for the cal.com event you want to book appointment.
17519
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
17520
- * will be resolved at runtime.
17521
- */
17522
- event_type_id: number | string;
17523
-
17524
- /**
17525
- * Name of the tool. Must be unique within all tools available to LLM at any given
17526
- * time (general tools + state tools + state transitions). Must be consisted of
17527
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
17528
- * (no space allowed).
17529
- */
17530
- name: string;
17531
-
17532
- type: 'book_appointment_cal';
17533
-
17534
- /**
17535
- * Describes what the tool does, sometimes can also include information about when
17536
- * to call the tool.
17537
- */
17538
- description?: string;
17539
-
17540
- /**
17541
- * Timezone to be used when booking appointment, must be in
17542
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
17543
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
17544
- * resolved at runtime. If not specified, will check if user specified timezone in
17545
- * call, and if not, will use the timezone of the Retell servers.
17546
- */
17547
- timezone?: string;
17548
-
17549
- /**
17550
- * Unique identifier for the tool
17551
- */
17552
- tool_id?: string;
17553
- }
17554
17234
  }
17555
17235
 
17556
17236
  export interface ConversationFlowComponentUpdateParams {
@@ -17608,11 +17288,7 @@ export interface ConversationFlowComponentUpdateParams {
17608
17288
  /**
17609
17289
  * Tools available within the component
17610
17290
  */
17611
- tools?: Array<
17612
- | ConversationFlowComponentUpdateParams.CustomTool
17613
- | ConversationFlowComponentUpdateParams.CheckAvailabilityCalTool
17614
- | ConversationFlowComponentUpdateParams.BookAppointmentCalTool
17615
- > | null;
17291
+ tools?: Array<ConversationFlowComponentUpdateParams.Tool> | null;
17616
17292
  }
17617
17293
 
17618
17294
  export namespace ConversationFlowComponentUpdateParams {
@@ -18294,7 +17970,9 @@ export namespace ConversationFlowComponentUpdateParams {
18294
17970
  | 'gemini-3.1-flash-lite'
18295
17971
  | 'gemini-3.5-flash'
18296
17972
  | 'gemini-3.5-flash-lite'
18297
- | 'gemini-3.6-flash';
17973
+ | 'gemini-3.6-flash'
17974
+ | 'gemini-3.7-flash'
17975
+ | 'gemini-3.8-flash';
18298
17976
 
18299
17977
  /**
18300
17978
  * Type of model choice
@@ -18481,8 +18159,6 @@ export namespace ConversationFlowComponentUpdateParams {
18481
18159
  tools?: Array<
18482
18160
  | SubagentNode.EndCallTool
18483
18161
  | SubagentNode.TransferCallTool
18484
- | SubagentNode.CheckAvailabilityCalTool
18485
- | SubagentNode.BookAppointmentCalTool
18486
18162
  | SubagentNode.AgentSwapTool
18487
18163
  | SubagentNode.PressDigitTool
18488
18164
  | SubagentNode.SendSMSTool
@@ -19043,7 +18719,9 @@ export namespace ConversationFlowComponentUpdateParams {
19043
18719
  | 'gemini-3.1-flash-lite'
19044
18720
  | 'gemini-3.5-flash'
19045
18721
  | 'gemini-3.5-flash-lite'
19046
- | 'gemini-3.6-flash';
18722
+ | 'gemini-3.6-flash'
18723
+ | 'gemini-3.7-flash'
18724
+ | 'gemini-3.8-flash';
19047
18725
 
19048
18726
  /**
19049
18727
  * Type of model choice
@@ -19529,92 +19207,6 @@ export namespace ConversationFlowComponentUpdateParams {
19529
19207
  }
19530
19208
  }
19531
19209
 
19532
- /**
19533
- * @deprecated
19534
- */
19535
- export interface CheckAvailabilityCalTool {
19536
- /**
19537
- * Cal.com Api key that have access to the cal.com event you want to check
19538
- * availability for.
19539
- */
19540
- cal_api_key: string;
19541
-
19542
- /**
19543
- * Cal.com event type id number for the cal.com event you want to check
19544
- * availability for. Can be a number or a dynamic variable in the format
19545
- * `{{variable_name}}` that will be resolved at runtime.
19546
- */
19547
- event_type_id: number | string;
19548
-
19549
- /**
19550
- * Name of the tool. Must be unique within all tools available to LLM at any given
19551
- * time (general tools + state tools + state transitions). Must be consisted of
19552
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
19553
- * (no space allowed).
19554
- */
19555
- name: string;
19556
-
19557
- type: 'check_availability_cal';
19558
-
19559
- /**
19560
- * Describes what the tool does, sometimes can also include information about when
19561
- * to call the tool.
19562
- */
19563
- description?: string;
19564
-
19565
- /**
19566
- * Timezone to be used when checking availability, must be in
19567
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
19568
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
19569
- * resolved at runtime. If not specified, will check if user specified timezone in
19570
- * call, and if not, will use the timezone of the Retell servers.
19571
- */
19572
- timezone?: string;
19573
- }
19574
-
19575
- /**
19576
- * @deprecated
19577
- */
19578
- export interface BookAppointmentCalTool {
19579
- /**
19580
- * Cal.com Api key that have access to the cal.com event you want to book
19581
- * appointment.
19582
- */
19583
- cal_api_key: string;
19584
-
19585
- /**
19586
- * Cal.com event type id number for the cal.com event you want to book appointment.
19587
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
19588
- * will be resolved at runtime.
19589
- */
19590
- event_type_id: number | string;
19591
-
19592
- /**
19593
- * Name of the tool. Must be unique within all tools available to LLM at any given
19594
- * time (general tools + state tools + state transitions). Must be consisted of
19595
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
19596
- * (no space allowed).
19597
- */
19598
- name: string;
19599
-
19600
- type: 'book_appointment_cal';
19601
-
19602
- /**
19603
- * Describes what the tool does, sometimes can also include information about when
19604
- * to call the tool.
19605
- */
19606
- description?: string;
19607
-
19608
- /**
19609
- * Timezone to be used when booking appointment, must be in
19610
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
19611
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
19612
- * resolved at runtime. If not specified, will check if user specified timezone in
19613
- * call, and if not, will use the timezone of the Retell servers.
19614
- */
19615
- timezone?: string;
19616
- }
19617
-
19618
19210
  export interface AgentSwapTool {
19619
19211
  /**
19620
19212
  * The id of the agent to swap to.
@@ -20572,7 +20164,9 @@ export namespace ConversationFlowComponentUpdateParams {
20572
20164
  | 'gemini-3.1-flash-lite'
20573
20165
  | 'gemini-3.5-flash'
20574
20166
  | 'gemini-3.5-flash-lite'
20575
- | 'gemini-3.6-flash';
20167
+ | 'gemini-3.6-flash'
20168
+ | 'gemini-3.7-flash'
20169
+ | 'gemini-3.8-flash';
20576
20170
 
20577
20171
  /**
20578
20172
  * Type of model choice
@@ -21052,7 +20646,9 @@ export namespace ConversationFlowComponentUpdateParams {
21052
20646
  | 'gemini-3.1-flash-lite'
21053
20647
  | 'gemini-3.5-flash'
21054
20648
  | 'gemini-3.5-flash-lite'
21055
- | 'gemini-3.6-flash';
20649
+ | 'gemini-3.6-flash'
20650
+ | 'gemini-3.7-flash'
20651
+ | 'gemini-3.8-flash';
21056
20652
 
21057
20653
  /**
21058
20654
  * Type of model choice
@@ -21539,7 +21135,9 @@ export namespace ConversationFlowComponentUpdateParams {
21539
21135
  | 'gemini-3.1-flash-lite'
21540
21136
  | 'gemini-3.5-flash'
21541
21137
  | 'gemini-3.5-flash-lite'
21542
- | 'gemini-3.6-flash';
21138
+ | 'gemini-3.6-flash'
21139
+ | 'gemini-3.7-flash'
21140
+ | 'gemini-3.8-flash';
21543
21141
 
21544
21142
  /**
21545
21143
  * Type of model choice
@@ -22213,7 +21811,9 @@ export namespace ConversationFlowComponentUpdateParams {
22213
21811
  | 'gemini-3.1-flash-lite'
22214
21812
  | 'gemini-3.5-flash'
22215
21813
  | 'gemini-3.5-flash-lite'
22216
- | 'gemini-3.6-flash';
21814
+ | 'gemini-3.6-flash'
21815
+ | 'gemini-3.7-flash'
21816
+ | 'gemini-3.8-flash';
22217
21817
 
22218
21818
  /**
22219
21819
  * Type of model choice
@@ -22661,7 +22261,9 @@ export namespace ConversationFlowComponentUpdateParams {
22661
22261
  | 'gemini-3.1-flash-lite'
22662
22262
  | 'gemini-3.5-flash'
22663
22263
  | 'gemini-3.5-flash-lite'
22664
- | 'gemini-3.6-flash';
22264
+ | 'gemini-3.6-flash'
22265
+ | 'gemini-3.7-flash'
22266
+ | 'gemini-3.8-flash';
22665
22267
 
22666
22268
  /**
22667
22269
  * Type of model choice
@@ -23090,7 +22692,9 @@ export namespace ConversationFlowComponentUpdateParams {
23090
22692
  | 'gemini-3.1-flash-lite'
23091
22693
  | 'gemini-3.5-flash'
23092
22694
  | 'gemini-3.5-flash-lite'
23093
- | 'gemini-3.6-flash';
22695
+ | 'gemini-3.6-flash'
22696
+ | 'gemini-3.7-flash'
22697
+ | 'gemini-3.8-flash';
23094
22698
 
23095
22699
  /**
23096
22700
  * Type of model choice
@@ -23532,7 +23136,9 @@ export namespace ConversationFlowComponentUpdateParams {
23532
23136
  | 'gemini-3.1-flash-lite'
23533
23137
  | 'gemini-3.5-flash'
23534
23138
  | 'gemini-3.5-flash-lite'
23535
- | 'gemini-3.6-flash';
23139
+ | 'gemini-3.6-flash'
23140
+ | 'gemini-3.7-flash'
23141
+ | 'gemini-3.8-flash';
23536
23142
 
23537
23143
  /**
23538
23144
  * Type of model choice
@@ -24103,7 +23709,9 @@ export namespace ConversationFlowComponentUpdateParams {
24103
23709
  | 'gemini-3.1-flash-lite'
24104
23710
  | 'gemini-3.5-flash'
24105
23711
  | 'gemini-3.5-flash-lite'
24106
- | 'gemini-3.6-flash';
23712
+ | 'gemini-3.6-flash'
23713
+ | 'gemini-3.7-flash'
23714
+ | 'gemini-3.8-flash';
24107
23715
 
24108
23716
  /**
24109
23717
  * Type of model choice
@@ -24494,7 +24102,9 @@ export namespace ConversationFlowComponentUpdateParams {
24494
24102
  | 'gemini-3.1-flash-lite'
24495
24103
  | 'gemini-3.5-flash'
24496
24104
  | 'gemini-3.5-flash-lite'
24497
- | 'gemini-3.6-flash';
24105
+ | 'gemini-3.6-flash'
24106
+ | 'gemini-3.7-flash'
24107
+ | 'gemini-3.8-flash';
24498
24108
 
24499
24109
  /**
24500
24110
  * Type of model choice
@@ -24983,7 +24593,9 @@ export namespace ConversationFlowComponentUpdateParams {
24983
24593
  | 'gemini-3.1-flash-lite'
24984
24594
  | 'gemini-3.5-flash'
24985
24595
  | 'gemini-3.5-flash-lite'
24986
- | 'gemini-3.6-flash';
24596
+ | 'gemini-3.6-flash'
24597
+ | 'gemini-3.7-flash'
24598
+ | 'gemini-3.8-flash';
24987
24599
 
24988
24600
  /**
24989
24601
  * Type of model choice
@@ -25669,7 +25281,9 @@ export namespace ConversationFlowComponentUpdateParams {
25669
25281
  | 'gemini-3.1-flash-lite'
25670
25282
  | 'gemini-3.5-flash'
25671
25283
  | 'gemini-3.5-flash-lite'
25672
- | 'gemini-3.6-flash';
25284
+ | 'gemini-3.6-flash'
25285
+ | 'gemini-3.7-flash'
25286
+ | 'gemini-3.8-flash';
25673
25287
 
25674
25288
  /**
25675
25289
  * Type of model choice
@@ -25946,7 +25560,9 @@ export namespace ConversationFlowComponentUpdateParams {
25946
25560
  | 'gemini-3.1-flash-lite'
25947
25561
  | 'gemini-3.5-flash'
25948
25562
  | 'gemini-3.5-flash-lite'
25949
- | 'gemini-3.6-flash';
25563
+ | 'gemini-3.6-flash'
25564
+ | 'gemini-3.7-flash'
25565
+ | 'gemini-3.8-flash';
25950
25566
 
25951
25567
  /**
25952
25568
  * Type of model choice
@@ -26003,7 +25619,7 @@ export namespace ConversationFlowComponentUpdateParams {
26003
25619
  }
26004
25620
  }
26005
25621
 
26006
- export interface CustomTool {
25622
+ export interface Tool {
26007
25623
  /**
26008
25624
  * Name of the tool. Must be unique within all tools available to LLM at any given
26009
25625
  * time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
@@ -26092,7 +25708,7 @@ export namespace ConversationFlowComponentUpdateParams {
26092
25708
  * documentation about the format. Omitting parameters defines a function with an
26093
25709
  * empty parameter list.
26094
25710
  */
26095
- parameters?: CustomTool.Parameters;
25711
+ parameters?: Tool.Parameters;
26096
25712
 
26097
25713
  /**
26098
25714
  * Query parameters to append to the request URL.
@@ -26135,7 +25751,7 @@ export namespace ConversationFlowComponentUpdateParams {
26135
25751
  tool_id?: string;
26136
25752
  }
26137
25753
 
26138
- export namespace CustomTool {
25754
+ export namespace Tool {
26139
25755
  /**
26140
25756
  * The parameters the functions accepts, described as a JSON Schema object. See
26141
25757
  * [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
@@ -26162,102 +25778,6 @@ export namespace ConversationFlowComponentUpdateParams {
26162
25778
  required?: Array<string>;
26163
25779
  }
26164
25780
  }
26165
-
26166
- /**
26167
- * @deprecated
26168
- */
26169
- export interface CheckAvailabilityCalTool {
26170
- /**
26171
- * Cal.com Api key that have access to the cal.com event you want to check
26172
- * availability for.
26173
- */
26174
- cal_api_key: string;
26175
-
26176
- /**
26177
- * Cal.com event type id number for the cal.com event you want to check
26178
- * availability for. Can be a number or a dynamic variable in the format
26179
- * `{{variable_name}}` that will be resolved at runtime.
26180
- */
26181
- event_type_id: number | string;
26182
-
26183
- /**
26184
- * Name of the tool. Must be unique within all tools available to LLM at any given
26185
- * time (general tools + state tools + state transitions). Must be consisted of
26186
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
26187
- * (no space allowed).
26188
- */
26189
- name: string;
26190
-
26191
- type: 'check_availability_cal';
26192
-
26193
- /**
26194
- * Describes what the tool does, sometimes can also include information about when
26195
- * to call the tool.
26196
- */
26197
- description?: string;
26198
-
26199
- /**
26200
- * Timezone to be used when checking availability, must be in
26201
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
26202
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
26203
- * resolved at runtime. If not specified, will check if user specified timezone in
26204
- * call, and if not, will use the timezone of the Retell servers.
26205
- */
26206
- timezone?: string;
26207
-
26208
- /**
26209
- * Unique identifier for the tool
26210
- */
26211
- tool_id?: string;
26212
- }
26213
-
26214
- /**
26215
- * @deprecated
26216
- */
26217
- export interface BookAppointmentCalTool {
26218
- /**
26219
- * Cal.com Api key that have access to the cal.com event you want to book
26220
- * appointment.
26221
- */
26222
- cal_api_key: string;
26223
-
26224
- /**
26225
- * Cal.com event type id number for the cal.com event you want to book appointment.
26226
- * Can be a number or a dynamic variable in the format `{{variable_name}}` that
26227
- * will be resolved at runtime.
26228
- */
26229
- event_type_id: number | string;
26230
-
26231
- /**
26232
- * Name of the tool. Must be unique within all tools available to LLM at any given
26233
- * time (general tools + state tools + state transitions). Must be consisted of
26234
- * a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
26235
- * (no space allowed).
26236
- */
26237
- name: string;
26238
-
26239
- type: 'book_appointment_cal';
26240
-
26241
- /**
26242
- * Describes what the tool does, sometimes can also include information about when
26243
- * to call the tool.
26244
- */
26245
- description?: string;
26246
-
26247
- /**
26248
- * Timezone to be used when booking appointment, must be in
26249
- * [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
26250
- * Can also be a dynamic variable in the format `{{variable_name}}` that will be
26251
- * resolved at runtime. If not specified, will check if user specified timezone in
26252
- * call, and if not, will use the timezone of the Retell servers.
26253
- */
26254
- timezone?: string;
26255
-
26256
- /**
26257
- * Unique identifier for the tool
26258
- */
26259
- tool_id?: string;
26260
- }
26261
25781
  }
26262
25782
 
26263
25783
  export interface ConversationFlowComponentListParams {