retell-sdk 5.66.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +7 -14
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +7 -14
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js +0 -8
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs +0 -8
- package/resources/agent.mjs.map +1 -1
- package/resources/batch-call.d.mts +5 -5
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +5 -5
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +15 -15
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +15 -15
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +7 -14
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +7 -14
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat-agent.js +0 -8
- package/resources/chat-agent.js.map +1 -1
- package/resources/chat-agent.mjs +0 -8
- package/resources/chat-agent.mjs.map +1 -1
- package/resources/chat.d.mts +57 -0
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +57 -0
- package/resources/chat.d.ts.map +1 -1
- package/resources/contact.d.mts +32 -32
- package/resources/contact.d.mts.map +1 -1
- package/resources/contact.d.ts +32 -32
- package/resources/contact.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +57 -525
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +57 -525
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +117 -1053
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +117 -1053
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/crm.d.mts +6 -0
- package/resources/crm.d.mts.map +1 -1
- package/resources/crm.d.ts +6 -0
- package/resources/crm.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/llm.d.mts +12 -456
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +12 -456
- package/resources/llm.d.ts.map +1 -1
- package/resources/tests.d.mts +3 -3
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +3 -3
- package/resources/tests.d.ts.map +1 -1
- package/src/client.ts +0 -4
- package/src/resources/agent.ts +9 -15
- package/src/resources/batch-call.ts +9 -3
- package/src/resources/call.ts +27 -9
- package/src/resources/chat-agent.ts +9 -15
- package/src/resources/chat.ts +77 -0
- package/src/resources/contact.ts +38 -38
- package/src/resources/conversation-flow-component.ts +138 -618
- package/src/resources/conversation-flow.ts +285 -1233
- package/src/resources/crm.ts +7 -0
- package/src/resources/index.ts +0 -2
- package/src/resources/llm.ts +9 -531
- package/src/resources/tests.ts +9 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
package/src/resources/crm.ts
CHANGED
|
@@ -227,6 +227,13 @@ export interface CRMUpdateConfigParams {
|
|
|
227
227
|
*/
|
|
228
228
|
contact_columns_order?: Array<string>;
|
|
229
229
|
|
|
230
|
+
/**
|
|
231
|
+
* Replaces the organization's available contact tags. Tags are trimmed and
|
|
232
|
+
* deduplicated. Omit to leave unchanged, or send null or an empty array to clear
|
|
233
|
+
* the list. Does not change tags already assigned to contacts.
|
|
234
|
+
*/
|
|
235
|
+
contact_tags?: Array<string> | null;
|
|
236
|
+
|
|
230
237
|
/**
|
|
231
238
|
* Replaces the stored list.
|
|
232
239
|
*/
|
package/src/resources/index.ts
CHANGED
|
@@ -5,7 +5,6 @@ export {
|
|
|
5
5
|
type AgentResponse,
|
|
6
6
|
type AgentListResponse,
|
|
7
7
|
type AgentCreateVersionResponse,
|
|
8
|
-
type AgentGetVersionsResponse,
|
|
9
8
|
type AgentListVersionsResponse,
|
|
10
9
|
type AgentRepairResponse,
|
|
11
10
|
type AgentCreateParams,
|
|
@@ -75,7 +74,6 @@ export {
|
|
|
75
74
|
type ChatAgentResponse,
|
|
76
75
|
type ChatAgentListResponse,
|
|
77
76
|
type ChatAgentCreateVersionResponse,
|
|
78
|
-
type ChatAgentGetVersionsResponse,
|
|
79
77
|
type ChatAgentCreateParams,
|
|
80
78
|
type ChatAgentRetrieveParams,
|
|
81
79
|
type ChatAgentUpdateParams,
|
package/src/resources/llm.ts
CHANGED
|
@@ -143,8 +143,6 @@ export interface LlmResponse {
|
|
|
143
143
|
general_tools?: Array<
|
|
144
144
|
| LlmResponse.EndCallTool
|
|
145
145
|
| LlmResponse.TransferCallTool
|
|
146
|
-
| LlmResponse.CheckAvailabilityCalTool
|
|
147
|
-
| LlmResponse.BookAppointmentCalTool
|
|
148
146
|
| LlmResponse.AgentSwapTool
|
|
149
147
|
| LlmResponse.PressDigitTool
|
|
150
148
|
| LlmResponse.SendSMSTool
|
|
@@ -183,7 +181,7 @@ export interface LlmResponse {
|
|
|
183
181
|
mcps?: Array<LlmResponse.Mcp> | null;
|
|
184
182
|
|
|
185
183
|
/**
|
|
186
|
-
* Select the underlying text LLM. If not set, would default to gpt-
|
|
184
|
+
* Select the underlying text LLM. If not set, would default to gpt-5.6-terra.
|
|
187
185
|
*/
|
|
188
186
|
model?:
|
|
189
187
|
| 'gpt-4.1'
|
|
@@ -209,6 +207,8 @@ export interface LlmResponse {
|
|
|
209
207
|
| 'gemini-3.5-flash'
|
|
210
208
|
| 'gemini-3.5-flash-lite'
|
|
211
209
|
| 'gemini-3.6-flash'
|
|
210
|
+
| 'gemini-3.7-flash'
|
|
211
|
+
| 'gemini-3.8-flash'
|
|
212
212
|
| null;
|
|
213
213
|
|
|
214
214
|
/**
|
|
@@ -668,92 +668,6 @@ export namespace LlmResponse {
|
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
670
|
|
|
671
|
-
/**
|
|
672
|
-
* @deprecated
|
|
673
|
-
*/
|
|
674
|
-
export interface CheckAvailabilityCalTool {
|
|
675
|
-
/**
|
|
676
|
-
* Cal.com Api key that have access to the cal.com event you want to check
|
|
677
|
-
* availability for.
|
|
678
|
-
*/
|
|
679
|
-
cal_api_key: string;
|
|
680
|
-
|
|
681
|
-
/**
|
|
682
|
-
* Cal.com event type id number for the cal.com event you want to check
|
|
683
|
-
* availability for. Can be a number or a dynamic variable in the format
|
|
684
|
-
* `{{variable_name}}` that will be resolved at runtime.
|
|
685
|
-
*/
|
|
686
|
-
event_type_id: number | string;
|
|
687
|
-
|
|
688
|
-
/**
|
|
689
|
-
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
690
|
-
* time (general tools + state tools + state transitions). Must be consisted of
|
|
691
|
-
* a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
|
|
692
|
-
* (no space allowed).
|
|
693
|
-
*/
|
|
694
|
-
name: string;
|
|
695
|
-
|
|
696
|
-
type: 'check_availability_cal';
|
|
697
|
-
|
|
698
|
-
/**
|
|
699
|
-
* Describes what the tool does, sometimes can also include information about when
|
|
700
|
-
* to call the tool.
|
|
701
|
-
*/
|
|
702
|
-
description?: string;
|
|
703
|
-
|
|
704
|
-
/**
|
|
705
|
-
* Timezone to be used when checking availability, must be in
|
|
706
|
-
* [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
707
|
-
* Can also be a dynamic variable in the format `{{variable_name}}` that will be
|
|
708
|
-
* resolved at runtime. If not specified, will check if user specified timezone in
|
|
709
|
-
* call, and if not, will use the timezone of the Retell servers.
|
|
710
|
-
*/
|
|
711
|
-
timezone?: string;
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
/**
|
|
715
|
-
* @deprecated
|
|
716
|
-
*/
|
|
717
|
-
export interface BookAppointmentCalTool {
|
|
718
|
-
/**
|
|
719
|
-
* Cal.com Api key that have access to the cal.com event you want to book
|
|
720
|
-
* appointment.
|
|
721
|
-
*/
|
|
722
|
-
cal_api_key: string;
|
|
723
|
-
|
|
724
|
-
/**
|
|
725
|
-
* Cal.com event type id number for the cal.com event you want to book appointment.
|
|
726
|
-
* Can be a number or a dynamic variable in the format `{{variable_name}}` that
|
|
727
|
-
* will be resolved at runtime.
|
|
728
|
-
*/
|
|
729
|
-
event_type_id: number | string;
|
|
730
|
-
|
|
731
|
-
/**
|
|
732
|
-
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
733
|
-
* time (general tools + state tools + state transitions). Must be consisted of
|
|
734
|
-
* a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
|
|
735
|
-
* (no space allowed).
|
|
736
|
-
*/
|
|
737
|
-
name: string;
|
|
738
|
-
|
|
739
|
-
type: 'book_appointment_cal';
|
|
740
|
-
|
|
741
|
-
/**
|
|
742
|
-
* Describes what the tool does, sometimes can also include information about when
|
|
743
|
-
* to call the tool.
|
|
744
|
-
*/
|
|
745
|
-
description?: string;
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* Timezone to be used when booking appointment, must be in
|
|
749
|
-
* [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
750
|
-
* Can also be a dynamic variable in the format `{{variable_name}}` that will be
|
|
751
|
-
* resolved at runtime. If not specified, will check if user specified timezone in
|
|
752
|
-
* call, and if not, will use the timezone of the Retell servers.
|
|
753
|
-
*/
|
|
754
|
-
timezone?: string;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
671
|
export interface AgentSwapTool {
|
|
758
672
|
/**
|
|
759
673
|
* The id of the agent to swap to.
|
|
@@ -1519,8 +1433,6 @@ export namespace LlmResponse {
|
|
|
1519
1433
|
tools?: Array<
|
|
1520
1434
|
| State.EndCallTool
|
|
1521
1435
|
| State.TransferCallTool
|
|
1522
|
-
| State.CheckAvailabilityCalTool
|
|
1523
|
-
| State.BookAppointmentCalTool
|
|
1524
1436
|
| State.AgentSwapTool
|
|
1525
1437
|
| State.PressDigitTool
|
|
1526
1438
|
| State.SendSMSTool
|
|
@@ -1986,92 +1898,6 @@ export namespace LlmResponse {
|
|
|
1986
1898
|
}
|
|
1987
1899
|
}
|
|
1988
1900
|
|
|
1989
|
-
/**
|
|
1990
|
-
* @deprecated
|
|
1991
|
-
*/
|
|
1992
|
-
export interface CheckAvailabilityCalTool {
|
|
1993
|
-
/**
|
|
1994
|
-
* Cal.com Api key that have access to the cal.com event you want to check
|
|
1995
|
-
* availability for.
|
|
1996
|
-
*/
|
|
1997
|
-
cal_api_key: string;
|
|
1998
|
-
|
|
1999
|
-
/**
|
|
2000
|
-
* Cal.com event type id number for the cal.com event you want to check
|
|
2001
|
-
* availability for. Can be a number or a dynamic variable in the format
|
|
2002
|
-
* `{{variable_name}}` that will be resolved at runtime.
|
|
2003
|
-
*/
|
|
2004
|
-
event_type_id: number | string;
|
|
2005
|
-
|
|
2006
|
-
/**
|
|
2007
|
-
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
2008
|
-
* time (general tools + state tools + state transitions). Must be consisted of
|
|
2009
|
-
* a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
|
|
2010
|
-
* (no space allowed).
|
|
2011
|
-
*/
|
|
2012
|
-
name: string;
|
|
2013
|
-
|
|
2014
|
-
type: 'check_availability_cal';
|
|
2015
|
-
|
|
2016
|
-
/**
|
|
2017
|
-
* Describes what the tool does, sometimes can also include information about when
|
|
2018
|
-
* to call the tool.
|
|
2019
|
-
*/
|
|
2020
|
-
description?: string;
|
|
2021
|
-
|
|
2022
|
-
/**
|
|
2023
|
-
* Timezone to be used when checking availability, must be in
|
|
2024
|
-
* [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
2025
|
-
* Can also be a dynamic variable in the format `{{variable_name}}` that will be
|
|
2026
|
-
* resolved at runtime. If not specified, will check if user specified timezone in
|
|
2027
|
-
* call, and if not, will use the timezone of the Retell servers.
|
|
2028
|
-
*/
|
|
2029
|
-
timezone?: string;
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
|
-
/**
|
|
2033
|
-
* @deprecated
|
|
2034
|
-
*/
|
|
2035
|
-
export interface BookAppointmentCalTool {
|
|
2036
|
-
/**
|
|
2037
|
-
* Cal.com Api key that have access to the cal.com event you want to book
|
|
2038
|
-
* appointment.
|
|
2039
|
-
*/
|
|
2040
|
-
cal_api_key: string;
|
|
2041
|
-
|
|
2042
|
-
/**
|
|
2043
|
-
* Cal.com event type id number for the cal.com event you want to book appointment.
|
|
2044
|
-
* Can be a number or a dynamic variable in the format `{{variable_name}}` that
|
|
2045
|
-
* will be resolved at runtime.
|
|
2046
|
-
*/
|
|
2047
|
-
event_type_id: number | string;
|
|
2048
|
-
|
|
2049
|
-
/**
|
|
2050
|
-
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
2051
|
-
* time (general tools + state tools + state transitions). Must be consisted of
|
|
2052
|
-
* a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
|
|
2053
|
-
* (no space allowed).
|
|
2054
|
-
*/
|
|
2055
|
-
name: string;
|
|
2056
|
-
|
|
2057
|
-
type: 'book_appointment_cal';
|
|
2058
|
-
|
|
2059
|
-
/**
|
|
2060
|
-
* Describes what the tool does, sometimes can also include information about when
|
|
2061
|
-
* to call the tool.
|
|
2062
|
-
*/
|
|
2063
|
-
description?: string;
|
|
2064
|
-
|
|
2065
|
-
/**
|
|
2066
|
-
* Timezone to be used when booking appointment, must be in
|
|
2067
|
-
* [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
2068
|
-
* Can also be a dynamic variable in the format `{{variable_name}}` that will be
|
|
2069
|
-
* resolved at runtime. If not specified, will check if user specified timezone in
|
|
2070
|
-
* call, and if not, will use the timezone of the Retell servers.
|
|
2071
|
-
*/
|
|
2072
|
-
timezone?: string;
|
|
2073
|
-
}
|
|
2074
|
-
|
|
2075
1901
|
export interface AgentSwapTool {
|
|
2076
1902
|
/**
|
|
2077
1903
|
* The id of the agent to swap to.
|
|
@@ -2823,8 +2649,6 @@ export interface LlmCreateParams {
|
|
|
2823
2649
|
general_tools?: Array<
|
|
2824
2650
|
| LlmCreateParams.EndCallTool
|
|
2825
2651
|
| LlmCreateParams.TransferCallTool
|
|
2826
|
-
| LlmCreateParams.CheckAvailabilityCalTool
|
|
2827
|
-
| LlmCreateParams.BookAppointmentCalTool
|
|
2828
2652
|
| LlmCreateParams.AgentSwapTool
|
|
2829
2653
|
| LlmCreateParams.PressDigitTool
|
|
2830
2654
|
| LlmCreateParams.SendSMSTool
|
|
@@ -2858,7 +2682,7 @@ export interface LlmCreateParams {
|
|
|
2858
2682
|
mcps?: Array<LlmCreateParams.Mcp> | null;
|
|
2859
2683
|
|
|
2860
2684
|
/**
|
|
2861
|
-
* Select the underlying text LLM. If not set, would default to gpt-
|
|
2685
|
+
* Select the underlying text LLM. If not set, would default to gpt-5.6-terra.
|
|
2862
2686
|
*/
|
|
2863
2687
|
model?:
|
|
2864
2688
|
| 'gpt-4.1'
|
|
@@ -2884,6 +2708,8 @@ export interface LlmCreateParams {
|
|
|
2884
2708
|
| 'gemini-3.5-flash'
|
|
2885
2709
|
| 'gemini-3.5-flash-lite'
|
|
2886
2710
|
| 'gemini-3.6-flash'
|
|
2711
|
+
| 'gemini-3.7-flash'
|
|
2712
|
+
| 'gemini-3.8-flash'
|
|
2887
2713
|
| null;
|
|
2888
2714
|
|
|
2889
2715
|
/**
|
|
@@ -3338,92 +3164,6 @@ export namespace LlmCreateParams {
|
|
|
3338
3164
|
}
|
|
3339
3165
|
}
|
|
3340
3166
|
|
|
3341
|
-
/**
|
|
3342
|
-
* @deprecated
|
|
3343
|
-
*/
|
|
3344
|
-
export interface CheckAvailabilityCalTool {
|
|
3345
|
-
/**
|
|
3346
|
-
* Cal.com Api key that have access to the cal.com event you want to check
|
|
3347
|
-
* availability for.
|
|
3348
|
-
*/
|
|
3349
|
-
cal_api_key: string;
|
|
3350
|
-
|
|
3351
|
-
/**
|
|
3352
|
-
* Cal.com event type id number for the cal.com event you want to check
|
|
3353
|
-
* availability for. Can be a number or a dynamic variable in the format
|
|
3354
|
-
* `{{variable_name}}` that will be resolved at runtime.
|
|
3355
|
-
*/
|
|
3356
|
-
event_type_id: number | string;
|
|
3357
|
-
|
|
3358
|
-
/**
|
|
3359
|
-
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
3360
|
-
* time (general tools + state tools + state transitions). Must be consisted of
|
|
3361
|
-
* a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
|
|
3362
|
-
* (no space allowed).
|
|
3363
|
-
*/
|
|
3364
|
-
name: string;
|
|
3365
|
-
|
|
3366
|
-
type: 'check_availability_cal';
|
|
3367
|
-
|
|
3368
|
-
/**
|
|
3369
|
-
* Describes what the tool does, sometimes can also include information about when
|
|
3370
|
-
* to call the tool.
|
|
3371
|
-
*/
|
|
3372
|
-
description?: string;
|
|
3373
|
-
|
|
3374
|
-
/**
|
|
3375
|
-
* Timezone to be used when checking availability, must be in
|
|
3376
|
-
* [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
3377
|
-
* Can also be a dynamic variable in the format `{{variable_name}}` that will be
|
|
3378
|
-
* resolved at runtime. If not specified, will check if user specified timezone in
|
|
3379
|
-
* call, and if not, will use the timezone of the Retell servers.
|
|
3380
|
-
*/
|
|
3381
|
-
timezone?: string;
|
|
3382
|
-
}
|
|
3383
|
-
|
|
3384
|
-
/**
|
|
3385
|
-
* @deprecated
|
|
3386
|
-
*/
|
|
3387
|
-
export interface BookAppointmentCalTool {
|
|
3388
|
-
/**
|
|
3389
|
-
* Cal.com Api key that have access to the cal.com event you want to book
|
|
3390
|
-
* appointment.
|
|
3391
|
-
*/
|
|
3392
|
-
cal_api_key: string;
|
|
3393
|
-
|
|
3394
|
-
/**
|
|
3395
|
-
* Cal.com event type id number for the cal.com event you want to book appointment.
|
|
3396
|
-
* Can be a number or a dynamic variable in the format `{{variable_name}}` that
|
|
3397
|
-
* will be resolved at runtime.
|
|
3398
|
-
*/
|
|
3399
|
-
event_type_id: number | string;
|
|
3400
|
-
|
|
3401
|
-
/**
|
|
3402
|
-
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
3403
|
-
* time (general tools + state tools + state transitions). Must be consisted of
|
|
3404
|
-
* a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
|
|
3405
|
-
* (no space allowed).
|
|
3406
|
-
*/
|
|
3407
|
-
name: string;
|
|
3408
|
-
|
|
3409
|
-
type: 'book_appointment_cal';
|
|
3410
|
-
|
|
3411
|
-
/**
|
|
3412
|
-
* Describes what the tool does, sometimes can also include information about when
|
|
3413
|
-
* to call the tool.
|
|
3414
|
-
*/
|
|
3415
|
-
description?: string;
|
|
3416
|
-
|
|
3417
|
-
/**
|
|
3418
|
-
* Timezone to be used when booking appointment, must be in
|
|
3419
|
-
* [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
3420
|
-
* Can also be a dynamic variable in the format `{{variable_name}}` that will be
|
|
3421
|
-
* resolved at runtime. If not specified, will check if user specified timezone in
|
|
3422
|
-
* call, and if not, will use the timezone of the Retell servers.
|
|
3423
|
-
*/
|
|
3424
|
-
timezone?: string;
|
|
3425
|
-
}
|
|
3426
|
-
|
|
3427
3167
|
export interface AgentSwapTool {
|
|
3428
3168
|
/**
|
|
3429
3169
|
* The id of the agent to swap to.
|
|
@@ -4189,8 +3929,6 @@ export namespace LlmCreateParams {
|
|
|
4189
3929
|
tools?: Array<
|
|
4190
3930
|
| State.EndCallTool
|
|
4191
3931
|
| State.TransferCallTool
|
|
4192
|
-
| State.CheckAvailabilityCalTool
|
|
4193
|
-
| State.BookAppointmentCalTool
|
|
4194
3932
|
| State.AgentSwapTool
|
|
4195
3933
|
| State.PressDigitTool
|
|
4196
3934
|
| State.SendSMSTool
|
|
@@ -4656,92 +4394,6 @@ export namespace LlmCreateParams {
|
|
|
4656
4394
|
}
|
|
4657
4395
|
}
|
|
4658
4396
|
|
|
4659
|
-
/**
|
|
4660
|
-
* @deprecated
|
|
4661
|
-
*/
|
|
4662
|
-
export interface CheckAvailabilityCalTool {
|
|
4663
|
-
/**
|
|
4664
|
-
* Cal.com Api key that have access to the cal.com event you want to check
|
|
4665
|
-
* availability for.
|
|
4666
|
-
*/
|
|
4667
|
-
cal_api_key: string;
|
|
4668
|
-
|
|
4669
|
-
/**
|
|
4670
|
-
* Cal.com event type id number for the cal.com event you want to check
|
|
4671
|
-
* availability for. Can be a number or a dynamic variable in the format
|
|
4672
|
-
* `{{variable_name}}` that will be resolved at runtime.
|
|
4673
|
-
*/
|
|
4674
|
-
event_type_id: number | string;
|
|
4675
|
-
|
|
4676
|
-
/**
|
|
4677
|
-
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
4678
|
-
* time (general tools + state tools + state transitions). Must be consisted of
|
|
4679
|
-
* a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
|
|
4680
|
-
* (no space allowed).
|
|
4681
|
-
*/
|
|
4682
|
-
name: string;
|
|
4683
|
-
|
|
4684
|
-
type: 'check_availability_cal';
|
|
4685
|
-
|
|
4686
|
-
/**
|
|
4687
|
-
* Describes what the tool does, sometimes can also include information about when
|
|
4688
|
-
* to call the tool.
|
|
4689
|
-
*/
|
|
4690
|
-
description?: string;
|
|
4691
|
-
|
|
4692
|
-
/**
|
|
4693
|
-
* Timezone to be used when checking availability, must be in
|
|
4694
|
-
* [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
4695
|
-
* Can also be a dynamic variable in the format `{{variable_name}}` that will be
|
|
4696
|
-
* resolved at runtime. If not specified, will check if user specified timezone in
|
|
4697
|
-
* call, and if not, will use the timezone of the Retell servers.
|
|
4698
|
-
*/
|
|
4699
|
-
timezone?: string;
|
|
4700
|
-
}
|
|
4701
|
-
|
|
4702
|
-
/**
|
|
4703
|
-
* @deprecated
|
|
4704
|
-
*/
|
|
4705
|
-
export interface BookAppointmentCalTool {
|
|
4706
|
-
/**
|
|
4707
|
-
* Cal.com Api key that have access to the cal.com event you want to book
|
|
4708
|
-
* appointment.
|
|
4709
|
-
*/
|
|
4710
|
-
cal_api_key: string;
|
|
4711
|
-
|
|
4712
|
-
/**
|
|
4713
|
-
* Cal.com event type id number for the cal.com event you want to book appointment.
|
|
4714
|
-
* Can be a number or a dynamic variable in the format `{{variable_name}}` that
|
|
4715
|
-
* will be resolved at runtime.
|
|
4716
|
-
*/
|
|
4717
|
-
event_type_id: number | string;
|
|
4718
|
-
|
|
4719
|
-
/**
|
|
4720
|
-
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
4721
|
-
* time (general tools + state tools + state transitions). Must be consisted of
|
|
4722
|
-
* a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
|
|
4723
|
-
* (no space allowed).
|
|
4724
|
-
*/
|
|
4725
|
-
name: string;
|
|
4726
|
-
|
|
4727
|
-
type: 'book_appointment_cal';
|
|
4728
|
-
|
|
4729
|
-
/**
|
|
4730
|
-
* Describes what the tool does, sometimes can also include information about when
|
|
4731
|
-
* to call the tool.
|
|
4732
|
-
*/
|
|
4733
|
-
description?: string;
|
|
4734
|
-
|
|
4735
|
-
/**
|
|
4736
|
-
* Timezone to be used when booking appointment, must be in
|
|
4737
|
-
* [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
4738
|
-
* Can also be a dynamic variable in the format `{{variable_name}}` that will be
|
|
4739
|
-
* resolved at runtime. If not specified, will check if user specified timezone in
|
|
4740
|
-
* call, and if not, will use the timezone of the Retell servers.
|
|
4741
|
-
*/
|
|
4742
|
-
timezone?: string;
|
|
4743
|
-
}
|
|
4744
|
-
|
|
4745
4397
|
export interface AgentSwapTool {
|
|
4746
4398
|
/**
|
|
4747
4399
|
* The id of the agent to swap to.
|
|
@@ -5494,8 +5146,6 @@ export interface LlmUpdateParams {
|
|
|
5494
5146
|
general_tools?: Array<
|
|
5495
5147
|
| LlmUpdateParams.EndCallTool
|
|
5496
5148
|
| LlmUpdateParams.TransferCallTool
|
|
5497
|
-
| LlmUpdateParams.CheckAvailabilityCalTool
|
|
5498
|
-
| LlmUpdateParams.BookAppointmentCalTool
|
|
5499
5149
|
| LlmUpdateParams.AgentSwapTool
|
|
5500
5150
|
| LlmUpdateParams.PressDigitTool
|
|
5501
5151
|
| LlmUpdateParams.SendSMSTool
|
|
@@ -5530,7 +5180,7 @@ export interface LlmUpdateParams {
|
|
|
5530
5180
|
|
|
5531
5181
|
/**
|
|
5532
5182
|
* Body param: Select the underlying text LLM. If not set, would default to
|
|
5533
|
-
* gpt-
|
|
5183
|
+
* gpt-5.6-terra.
|
|
5534
5184
|
*/
|
|
5535
5185
|
model?:
|
|
5536
5186
|
| 'gpt-4.1'
|
|
@@ -5556,6 +5206,8 @@ export interface LlmUpdateParams {
|
|
|
5556
5206
|
| 'gemini-3.5-flash'
|
|
5557
5207
|
| 'gemini-3.5-flash-lite'
|
|
5558
5208
|
| 'gemini-3.6-flash'
|
|
5209
|
+
| 'gemini-3.7-flash'
|
|
5210
|
+
| 'gemini-3.8-flash'
|
|
5559
5211
|
| null;
|
|
5560
5212
|
|
|
5561
5213
|
/**
|
|
@@ -6010,92 +5662,6 @@ export namespace LlmUpdateParams {
|
|
|
6010
5662
|
}
|
|
6011
5663
|
}
|
|
6012
5664
|
|
|
6013
|
-
/**
|
|
6014
|
-
* @deprecated
|
|
6015
|
-
*/
|
|
6016
|
-
export interface CheckAvailabilityCalTool {
|
|
6017
|
-
/**
|
|
6018
|
-
* Cal.com Api key that have access to the cal.com event you want to check
|
|
6019
|
-
* availability for.
|
|
6020
|
-
*/
|
|
6021
|
-
cal_api_key: string;
|
|
6022
|
-
|
|
6023
|
-
/**
|
|
6024
|
-
* Cal.com event type id number for the cal.com event you want to check
|
|
6025
|
-
* availability for. Can be a number or a dynamic variable in the format
|
|
6026
|
-
* `{{variable_name}}` that will be resolved at runtime.
|
|
6027
|
-
*/
|
|
6028
|
-
event_type_id: number | string;
|
|
6029
|
-
|
|
6030
|
-
/**
|
|
6031
|
-
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
6032
|
-
* time (general tools + state tools + state transitions). Must be consisted of
|
|
6033
|
-
* a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
|
|
6034
|
-
* (no space allowed).
|
|
6035
|
-
*/
|
|
6036
|
-
name: string;
|
|
6037
|
-
|
|
6038
|
-
type: 'check_availability_cal';
|
|
6039
|
-
|
|
6040
|
-
/**
|
|
6041
|
-
* Describes what the tool does, sometimes can also include information about when
|
|
6042
|
-
* to call the tool.
|
|
6043
|
-
*/
|
|
6044
|
-
description?: string;
|
|
6045
|
-
|
|
6046
|
-
/**
|
|
6047
|
-
* Timezone to be used when checking availability, must be in
|
|
6048
|
-
* [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
6049
|
-
* Can also be a dynamic variable in the format `{{variable_name}}` that will be
|
|
6050
|
-
* resolved at runtime. If not specified, will check if user specified timezone in
|
|
6051
|
-
* call, and if not, will use the timezone of the Retell servers.
|
|
6052
|
-
*/
|
|
6053
|
-
timezone?: string;
|
|
6054
|
-
}
|
|
6055
|
-
|
|
6056
|
-
/**
|
|
6057
|
-
* @deprecated
|
|
6058
|
-
*/
|
|
6059
|
-
export interface BookAppointmentCalTool {
|
|
6060
|
-
/**
|
|
6061
|
-
* Cal.com Api key that have access to the cal.com event you want to book
|
|
6062
|
-
* appointment.
|
|
6063
|
-
*/
|
|
6064
|
-
cal_api_key: string;
|
|
6065
|
-
|
|
6066
|
-
/**
|
|
6067
|
-
* Cal.com event type id number for the cal.com event you want to book appointment.
|
|
6068
|
-
* Can be a number or a dynamic variable in the format `{{variable_name}}` that
|
|
6069
|
-
* will be resolved at runtime.
|
|
6070
|
-
*/
|
|
6071
|
-
event_type_id: number | string;
|
|
6072
|
-
|
|
6073
|
-
/**
|
|
6074
|
-
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
6075
|
-
* time (general tools + state tools + state transitions). Must be consisted of
|
|
6076
|
-
* a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
|
|
6077
|
-
* (no space allowed).
|
|
6078
|
-
*/
|
|
6079
|
-
name: string;
|
|
6080
|
-
|
|
6081
|
-
type: 'book_appointment_cal';
|
|
6082
|
-
|
|
6083
|
-
/**
|
|
6084
|
-
* Describes what the tool does, sometimes can also include information about when
|
|
6085
|
-
* to call the tool.
|
|
6086
|
-
*/
|
|
6087
|
-
description?: string;
|
|
6088
|
-
|
|
6089
|
-
/**
|
|
6090
|
-
* Timezone to be used when booking appointment, must be in
|
|
6091
|
-
* [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
6092
|
-
* Can also be a dynamic variable in the format `{{variable_name}}` that will be
|
|
6093
|
-
* resolved at runtime. If not specified, will check if user specified timezone in
|
|
6094
|
-
* call, and if not, will use the timezone of the Retell servers.
|
|
6095
|
-
*/
|
|
6096
|
-
timezone?: string;
|
|
6097
|
-
}
|
|
6098
|
-
|
|
6099
5665
|
export interface AgentSwapTool {
|
|
6100
5666
|
/**
|
|
6101
5667
|
* The id of the agent to swap to.
|
|
@@ -6861,8 +6427,6 @@ export namespace LlmUpdateParams {
|
|
|
6861
6427
|
tools?: Array<
|
|
6862
6428
|
| State.EndCallTool
|
|
6863
6429
|
| State.TransferCallTool
|
|
6864
|
-
| State.CheckAvailabilityCalTool
|
|
6865
|
-
| State.BookAppointmentCalTool
|
|
6866
6430
|
| State.AgentSwapTool
|
|
6867
6431
|
| State.PressDigitTool
|
|
6868
6432
|
| State.SendSMSTool
|
|
@@ -7328,92 +6892,6 @@ export namespace LlmUpdateParams {
|
|
|
7328
6892
|
}
|
|
7329
6893
|
}
|
|
7330
6894
|
|
|
7331
|
-
/**
|
|
7332
|
-
* @deprecated
|
|
7333
|
-
*/
|
|
7334
|
-
export interface CheckAvailabilityCalTool {
|
|
7335
|
-
/**
|
|
7336
|
-
* Cal.com Api key that have access to the cal.com event you want to check
|
|
7337
|
-
* availability for.
|
|
7338
|
-
*/
|
|
7339
|
-
cal_api_key: string;
|
|
7340
|
-
|
|
7341
|
-
/**
|
|
7342
|
-
* Cal.com event type id number for the cal.com event you want to check
|
|
7343
|
-
* availability for. Can be a number or a dynamic variable in the format
|
|
7344
|
-
* `{{variable_name}}` that will be resolved at runtime.
|
|
7345
|
-
*/
|
|
7346
|
-
event_type_id: number | string;
|
|
7347
|
-
|
|
7348
|
-
/**
|
|
7349
|
-
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
7350
|
-
* time (general tools + state tools + state transitions). Must be consisted of
|
|
7351
|
-
* a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
|
|
7352
|
-
* (no space allowed).
|
|
7353
|
-
*/
|
|
7354
|
-
name: string;
|
|
7355
|
-
|
|
7356
|
-
type: 'check_availability_cal';
|
|
7357
|
-
|
|
7358
|
-
/**
|
|
7359
|
-
* Describes what the tool does, sometimes can also include information about when
|
|
7360
|
-
* to call the tool.
|
|
7361
|
-
*/
|
|
7362
|
-
description?: string;
|
|
7363
|
-
|
|
7364
|
-
/**
|
|
7365
|
-
* Timezone to be used when checking availability, must be in
|
|
7366
|
-
* [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
7367
|
-
* Can also be a dynamic variable in the format `{{variable_name}}` that will be
|
|
7368
|
-
* resolved at runtime. If not specified, will check if user specified timezone in
|
|
7369
|
-
* call, and if not, will use the timezone of the Retell servers.
|
|
7370
|
-
*/
|
|
7371
|
-
timezone?: string;
|
|
7372
|
-
}
|
|
7373
|
-
|
|
7374
|
-
/**
|
|
7375
|
-
* @deprecated
|
|
7376
|
-
*/
|
|
7377
|
-
export interface BookAppointmentCalTool {
|
|
7378
|
-
/**
|
|
7379
|
-
* Cal.com Api key that have access to the cal.com event you want to book
|
|
7380
|
-
* appointment.
|
|
7381
|
-
*/
|
|
7382
|
-
cal_api_key: string;
|
|
7383
|
-
|
|
7384
|
-
/**
|
|
7385
|
-
* Cal.com event type id number for the cal.com event you want to book appointment.
|
|
7386
|
-
* Can be a number or a dynamic variable in the format `{{variable_name}}` that
|
|
7387
|
-
* will be resolved at runtime.
|
|
7388
|
-
*/
|
|
7389
|
-
event_type_id: number | string;
|
|
7390
|
-
|
|
7391
|
-
/**
|
|
7392
|
-
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
7393
|
-
* time (general tools + state tools + state transitions). Must be consisted of
|
|
7394
|
-
* a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64
|
|
7395
|
-
* (no space allowed).
|
|
7396
|
-
*/
|
|
7397
|
-
name: string;
|
|
7398
|
-
|
|
7399
|
-
type: 'book_appointment_cal';
|
|
7400
|
-
|
|
7401
|
-
/**
|
|
7402
|
-
* Describes what the tool does, sometimes can also include information about when
|
|
7403
|
-
* to call the tool.
|
|
7404
|
-
*/
|
|
7405
|
-
description?: string;
|
|
7406
|
-
|
|
7407
|
-
/**
|
|
7408
|
-
* Timezone to be used when booking appointment, must be in
|
|
7409
|
-
* [IANA timezone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
7410
|
-
* Can also be a dynamic variable in the format `{{variable_name}}` that will be
|
|
7411
|
-
* resolved at runtime. If not specified, will check if user specified timezone in
|
|
7412
|
-
* call, and if not, will use the timezone of the Retell servers.
|
|
7413
|
-
*/
|
|
7414
|
-
timezone?: string;
|
|
7415
|
-
}
|
|
7416
|
-
|
|
7417
6895
|
export interface AgentSwapTool {
|
|
7418
6896
|
/**
|
|
7419
6897
|
* The id of the agent to swap to.
|