retell-sdk 6.2.4 → 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.
Files changed (57) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/package.json +1 -1
  3. package/resources/agent.d.mts +24 -12
  4. package/resources/agent.d.mts.map +1 -1
  5. package/resources/agent.d.ts +24 -12
  6. package/resources/agent.d.ts.map +1 -1
  7. package/resources/batch-call.d.mts +10 -6
  8. package/resources/batch-call.d.mts.map +1 -1
  9. package/resources/batch-call.d.ts +10 -6
  10. package/resources/batch-call.d.ts.map +1 -1
  11. package/resources/call.d.mts +162 -30
  12. package/resources/call.d.mts.map +1 -1
  13. package/resources/call.d.ts +162 -30
  14. package/resources/call.d.ts.map +1 -1
  15. package/resources/chat-agent.d.mts +24 -12
  16. package/resources/chat-agent.d.mts.map +1 -1
  17. package/resources/chat-agent.d.ts +24 -12
  18. package/resources/chat-agent.d.ts.map +1 -1
  19. package/resources/chat.d.mts +66 -6
  20. package/resources/chat.d.mts.map +1 -1
  21. package/resources/chat.d.ts +66 -6
  22. package/resources/chat.d.ts.map +1 -1
  23. package/resources/conversation-flow-component.d.mts +63 -51
  24. package/resources/conversation-flow-component.d.mts.map +1 -1
  25. package/resources/conversation-flow-component.d.ts +63 -51
  26. package/resources/conversation-flow-component.d.ts.map +1 -1
  27. package/resources/conversation-flow.d.mts +129 -105
  28. package/resources/conversation-flow.d.mts.map +1 -1
  29. package/resources/conversation-flow.d.ts +129 -105
  30. package/resources/conversation-flow.d.ts.map +1 -1
  31. package/resources/llm.d.mts +33 -15
  32. package/resources/llm.d.mts.map +1 -1
  33. package/resources/llm.d.ts +33 -15
  34. package/resources/llm.d.ts.map +1 -1
  35. package/resources/playground.d.mts +22 -2
  36. package/resources/playground.d.mts.map +1 -1
  37. package/resources/playground.d.ts +22 -2
  38. package/resources/playground.d.ts.map +1 -1
  39. package/resources/tests.d.mts +3 -3
  40. package/resources/tests.d.mts.map +1 -1
  41. package/resources/tests.d.ts +3 -3
  42. package/resources/tests.d.ts.map +1 -1
  43. package/src/resources/agent.ts +21 -15
  44. package/src/resources/batch-call.ts +7 -9
  45. package/src/resources/call.ts +165 -39
  46. package/src/resources/chat-agent.ts +21 -15
  47. package/src/resources/chat.ts +72 -6
  48. package/src/resources/conversation-flow-component.ts +21 -93
  49. package/src/resources/conversation-flow.ts +42 -192
  50. package/src/resources/llm.ts +30 -18
  51. package/src/resources/playground.ts +24 -2
  52. package/src/resources/tests.ts +0 -6
  53. package/src/version.ts +1 -1
  54. package/version.d.mts +1 -1
  55. package/version.d.ts +1 -1
  56. package/version.js +1 -1
  57. package/version.mjs +1 -1
@@ -439,7 +439,9 @@ export namespace ChatResponse {
439
439
  arguments: string;
440
440
 
441
441
  /**
442
- * Name of the function in this tool call.
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 function in this tool call.
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 function in this tool call.
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 function in this tool call.
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 function in this tool call.
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 function in this tool call.
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 {