retell-sdk 6.2.5 → 6.2.7
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 +20 -0
- package/package.json +1 -1
- package/resources/agent.d.mts +30 -3
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +30 -3
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +24 -7
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +24 -7
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +206 -34
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +206 -34
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +2 -1
- package/resources/call.js.map +1 -1
- package/resources/call.mjs +2 -1
- package/resources/call.mjs.map +1 -1
- package/resources/chat-agent.d.mts +19 -3
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +19 -3
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat.d.mts +66 -6
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +66 -6
- package/resources/chat.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +294 -42
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +294 -42
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +609 -87
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +609 -87
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.mts +24 -3
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +24 -3
- package/resources/llm.d.ts.map +1 -1
- package/resources/playground.d.mts +22 -2
- package/resources/playground.d.mts.map +1 -1
- package/resources/playground.d.ts +22 -2
- package/resources/playground.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/resources/agent.ts +37 -6
- package/src/resources/batch-call.ts +27 -11
- package/src/resources/call.ts +227 -46
- package/src/resources/chat-agent.ts +24 -6
- package/src/resources/chat.ts +72 -6
- package/src/resources/conversation-flow-component.ts +378 -126
- package/src/resources/conversation-flow.ts +783 -261
- package/src/resources/llm.ts +27 -6
- package/src/resources/playground.ts +24 -2
- package/src/resources/tests.ts +6 -9
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -427,7 +427,6 @@ export interface ChatAgentResponse {
|
|
|
427
427
|
post_chat_analysis_model?:
|
|
428
428
|
| 'gpt-4.1'
|
|
429
429
|
| 'gpt-4.1-mini'
|
|
430
|
-
| 'gpt-4.1-nano'
|
|
431
430
|
| 'gpt-5'
|
|
432
431
|
| 'gpt-5-mini'
|
|
433
432
|
| 'gpt-5-nano'
|
|
@@ -443,7 +442,6 @@ export interface ChatAgentResponse {
|
|
|
443
442
|
| 'gpt-6-sol'
|
|
444
443
|
| 'gpt-6.1-sol'
|
|
445
444
|
| 'gpt-6-luna'
|
|
446
|
-
| 'claude-4.5-sonnet'
|
|
447
445
|
| 'claude-4.6-sonnet'
|
|
448
446
|
| 'claude-5-opus'
|
|
449
447
|
| 'claude-5.5-opus'
|
|
@@ -458,6 +456,7 @@ export interface ChatAgentResponse {
|
|
|
458
456
|
| 'gemini-3.6-flash'
|
|
459
457
|
| 'gemini-3.7-flash'
|
|
460
458
|
| 'gemini-3.8-flash'
|
|
459
|
+
| 'gemini-4-argon'
|
|
461
460
|
| null;
|
|
462
461
|
|
|
463
462
|
/**
|
|
@@ -1914,6 +1913,11 @@ export namespace ChatAgentListResponse {
|
|
|
1914
1913
|
* update or creation if no updates available.
|
|
1915
1914
|
*/
|
|
1916
1915
|
user_modified_timestamp: number;
|
|
1916
|
+
|
|
1917
|
+
/**
|
|
1918
|
+
* Whether the agent is a transfer agent used for agentic warm transfer.
|
|
1919
|
+
*/
|
|
1920
|
+
is_transfer_agent?: boolean;
|
|
1917
1921
|
}
|
|
1918
1922
|
|
|
1919
1923
|
export namespace Item {
|
|
@@ -2160,7 +2164,6 @@ export interface ChatAgentCreateParams {
|
|
|
2160
2164
|
post_chat_analysis_model?:
|
|
2161
2165
|
| 'gpt-4.1'
|
|
2162
2166
|
| 'gpt-4.1-mini'
|
|
2163
|
-
| 'gpt-4.1-nano'
|
|
2164
2167
|
| 'gpt-5'
|
|
2165
2168
|
| 'gpt-5-mini'
|
|
2166
2169
|
| 'gpt-5-nano'
|
|
@@ -2176,7 +2179,6 @@ export interface ChatAgentCreateParams {
|
|
|
2176
2179
|
| 'gpt-6-sol'
|
|
2177
2180
|
| 'gpt-6.1-sol'
|
|
2178
2181
|
| 'gpt-6-luna'
|
|
2179
|
-
| 'claude-4.5-sonnet'
|
|
2180
2182
|
| 'claude-4.6-sonnet'
|
|
2181
2183
|
| 'claude-5-opus'
|
|
2182
2184
|
| 'claude-5.5-opus'
|
|
@@ -2191,6 +2193,7 @@ export interface ChatAgentCreateParams {
|
|
|
2191
2193
|
| 'gemini-3.6-flash'
|
|
2192
2194
|
| 'gemini-3.7-flash'
|
|
2193
2195
|
| 'gemini-3.8-flash'
|
|
2196
|
+
| 'gemini-4-argon'
|
|
2194
2197
|
| null;
|
|
2195
2198
|
|
|
2196
2199
|
/**
|
|
@@ -3842,7 +3845,6 @@ export interface ChatAgentUpdateParams {
|
|
|
3842
3845
|
post_chat_analysis_model?:
|
|
3843
3846
|
| 'gpt-4.1'
|
|
3844
3847
|
| 'gpt-4.1-mini'
|
|
3845
|
-
| 'gpt-4.1-nano'
|
|
3846
3848
|
| 'gpt-5'
|
|
3847
3849
|
| 'gpt-5-mini'
|
|
3848
3850
|
| 'gpt-5-nano'
|
|
@@ -3858,7 +3860,6 @@ export interface ChatAgentUpdateParams {
|
|
|
3858
3860
|
| 'gpt-6-sol'
|
|
3859
3861
|
| 'gpt-6.1-sol'
|
|
3860
3862
|
| 'gpt-6-luna'
|
|
3861
|
-
| 'claude-4.5-sonnet'
|
|
3862
3863
|
| 'claude-4.6-sonnet'
|
|
3863
3864
|
| 'claude-5-opus'
|
|
3864
3865
|
| 'claude-5.5-opus'
|
|
@@ -3873,6 +3874,7 @@ export interface ChatAgentUpdateParams {
|
|
|
3873
3874
|
| 'gemini-3.6-flash'
|
|
3874
3875
|
| 'gemini-3.7-flash'
|
|
3875
3876
|
| 'gemini-3.8-flash'
|
|
3877
|
+
| 'gemini-4-argon'
|
|
3876
3878
|
| null;
|
|
3877
3879
|
|
|
3878
3880
|
/**
|
|
@@ -5329,6 +5331,11 @@ export namespace ChatAgentListParams {
|
|
|
5329
5331
|
export interface FilterCriteria {
|
|
5330
5332
|
channel?: FilterCriteria.Channel;
|
|
5331
5333
|
|
|
5334
|
+
/**
|
|
5335
|
+
* Filter by whether the agent is a transfer agent.
|
|
5336
|
+
*/
|
|
5337
|
+
is_transfer_agent?: FilterCriteria.IsTransferAgent;
|
|
5338
|
+
|
|
5332
5339
|
/**
|
|
5333
5340
|
* Case-insensitive substring search over agent name, plus substring search over
|
|
5334
5341
|
* agent id.
|
|
@@ -5347,6 +5354,17 @@ export namespace ChatAgentListParams {
|
|
|
5347
5354
|
|
|
5348
5355
|
value: 'voice' | 'chat';
|
|
5349
5356
|
}
|
|
5357
|
+
|
|
5358
|
+
/**
|
|
5359
|
+
* Filter by whether the agent is a transfer agent.
|
|
5360
|
+
*/
|
|
5361
|
+
export interface IsTransferAgent {
|
|
5362
|
+
op: 'eq';
|
|
5363
|
+
|
|
5364
|
+
type: 'boolean';
|
|
5365
|
+
|
|
5366
|
+
value: boolean;
|
|
5367
|
+
}
|
|
5350
5368
|
}
|
|
5351
5369
|
}
|
|
5352
5370
|
|
package/src/resources/chat.ts
CHANGED
|
@@ -439,7 +439,9 @@ export namespace ChatResponse {
|
|
|
439
439
|
arguments: string;
|
|
440
440
|
|
|
441
441
|
/**
|
|
442
|
-
* Name of the
|
|
442
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
443
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
444
|
+
* characters. To identify the kind of tool, use `type`.
|
|
443
445
|
*/
|
|
444
446
|
name: string;
|
|
445
447
|
|
|
@@ -468,6 +470,15 @@ export namespace ChatResponse {
|
|
|
468
470
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
469
471
|
*/
|
|
470
472
|
thought_signature?: string;
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
476
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
477
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
478
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
479
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
480
|
+
*/
|
|
481
|
+
type?: string;
|
|
471
482
|
}
|
|
472
483
|
|
|
473
484
|
export interface ToolCallResultMessageBase {
|
|
@@ -692,7 +703,9 @@ export namespace ChatResponse {
|
|
|
692
703
|
arguments: string;
|
|
693
704
|
|
|
694
705
|
/**
|
|
695
|
-
* Name of the
|
|
706
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
707
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
708
|
+
* characters. To identify the kind of tool, use `type`.
|
|
696
709
|
*/
|
|
697
710
|
name: string;
|
|
698
711
|
|
|
@@ -721,6 +734,15 @@ export namespace ChatResponse {
|
|
|
721
734
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
722
735
|
*/
|
|
723
736
|
thought_signature?: string;
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
740
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
741
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
742
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
743
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
744
|
+
*/
|
|
745
|
+
type?: string;
|
|
724
746
|
}
|
|
725
747
|
|
|
726
748
|
export interface ToolCallResultMessageBase {
|
|
@@ -945,7 +967,9 @@ export namespace ChatResponse {
|
|
|
945
967
|
arguments: string;
|
|
946
968
|
|
|
947
969
|
/**
|
|
948
|
-
* Name of the
|
|
970
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
971
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
972
|
+
* characters. To identify the kind of tool, use `type`.
|
|
949
973
|
*/
|
|
950
974
|
name: string;
|
|
951
975
|
|
|
@@ -974,6 +998,15 @@ export namespace ChatResponse {
|
|
|
974
998
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
975
999
|
*/
|
|
976
1000
|
thought_signature?: string;
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
1004
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
1005
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
1006
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
1007
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
1008
|
+
*/
|
|
1009
|
+
type?: string;
|
|
977
1010
|
}
|
|
978
1011
|
|
|
979
1012
|
export interface ToolCallResultMessageBase {
|
|
@@ -1198,7 +1231,9 @@ export namespace ChatResponse {
|
|
|
1198
1231
|
arguments: string;
|
|
1199
1232
|
|
|
1200
1233
|
/**
|
|
1201
|
-
* Name of the
|
|
1234
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
1235
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
1236
|
+
* characters. To identify the kind of tool, use `type`.
|
|
1202
1237
|
*/
|
|
1203
1238
|
name: string;
|
|
1204
1239
|
|
|
@@ -1227,6 +1262,15 @@ export namespace ChatResponse {
|
|
|
1227
1262
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
1228
1263
|
*/
|
|
1229
1264
|
thought_signature?: string;
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
1268
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
1269
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
1270
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
1271
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
1272
|
+
*/
|
|
1273
|
+
type?: string;
|
|
1230
1274
|
}
|
|
1231
1275
|
|
|
1232
1276
|
export interface ToolCallResultMessageBase {
|
|
@@ -1451,7 +1495,9 @@ export namespace ChatResponse {
|
|
|
1451
1495
|
arguments: string;
|
|
1452
1496
|
|
|
1453
1497
|
/**
|
|
1454
|
-
* Name of the
|
|
1498
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
1499
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
1500
|
+
* characters. To identify the kind of tool, use `type`.
|
|
1455
1501
|
*/
|
|
1456
1502
|
name: string;
|
|
1457
1503
|
|
|
@@ -1480,6 +1526,15 @@ export namespace ChatResponse {
|
|
|
1480
1526
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
1481
1527
|
*/
|
|
1482
1528
|
thought_signature?: string;
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
1532
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
1533
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
1534
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
1535
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
1536
|
+
*/
|
|
1537
|
+
type?: string;
|
|
1483
1538
|
}
|
|
1484
1539
|
|
|
1485
1540
|
export interface ToolCallResultMessageBase {
|
|
@@ -1750,7 +1805,9 @@ export namespace ChatCreateChatCompletionResponse {
|
|
|
1750
1805
|
arguments: string;
|
|
1751
1806
|
|
|
1752
1807
|
/**
|
|
1753
|
-
* Name of the
|
|
1808
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
1809
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
1810
|
+
* characters. To identify the kind of tool, use `type`.
|
|
1754
1811
|
*/
|
|
1755
1812
|
name: string;
|
|
1756
1813
|
|
|
@@ -1779,6 +1836,15 @@ export namespace ChatCreateChatCompletionResponse {
|
|
|
1779
1836
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
1780
1837
|
*/
|
|
1781
1838
|
thought_signature?: string;
|
|
1839
|
+
|
|
1840
|
+
/**
|
|
1841
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
1842
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
1843
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
1844
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
1845
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
1846
|
+
*/
|
|
1847
|
+
type?: string;
|
|
1782
1848
|
}
|
|
1783
1849
|
|
|
1784
1850
|
export interface ToolCallResultMessageBase {
|