retell-sdk 6.2.5 → 6.2.6
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 +9 -0
- package/package.json +1 -1
- package/resources/agent.d.mts +3 -3
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +3 -3
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +3 -3
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +3 -3
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +141 -21
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +141 -21
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +3 -3
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +3 -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 +42 -42
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +42 -42
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +87 -87
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +87 -87
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.mts +3 -3
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +3 -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 +0 -6
- package/src/resources/batch-call.ts +0 -6
- package/src/resources/call.ts +144 -30
- package/src/resources/chat-agent.ts +0 -6
- package/src/resources/chat.ts +72 -6
- package/src/resources/conversation-flow-component.ts +0 -84
- package/src/resources/conversation-flow.ts +0 -174
- package/src/resources/llm.ts +0 -6
- package/src/resources/playground.ts +24 -2
- package/src/resources/tests.ts +0 -6
- 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
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 {
|