retell-sdk 5.25.0 → 5.26.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +1 -1
  3. package/resources/agent.d.mts +9 -18
  4. package/resources/agent.d.mts.map +1 -1
  5. package/resources/agent.d.ts +9 -18
  6. package/resources/agent.d.ts.map +1 -1
  7. package/resources/batch-call.d.mts +3 -6
  8. package/resources/batch-call.d.mts.map +1 -1
  9. package/resources/batch-call.d.ts +3 -6
  10. package/resources/batch-call.d.ts.map +1 -1
  11. package/resources/call.d.mts +153 -22
  12. package/resources/call.d.mts.map +1 -1
  13. package/resources/call.d.ts +153 -22
  14. package/resources/call.d.ts.map +1 -1
  15. package/resources/chat-agent.d.mts +9 -18
  16. package/resources/chat-agent.d.mts.map +1 -1
  17. package/resources/chat-agent.d.ts +9 -18
  18. package/resources/chat-agent.d.ts.map +1 -1
  19. package/resources/chat.d.mts +13 -1
  20. package/resources/chat.d.mts.map +1 -1
  21. package/resources/chat.d.ts +13 -1
  22. package/resources/chat.d.ts.map +1 -1
  23. package/resources/conversation-flow-component.d.mts +12 -0
  24. package/resources/conversation-flow-component.d.mts.map +1 -1
  25. package/resources/conversation-flow-component.d.ts +12 -0
  26. package/resources/conversation-flow-component.d.ts.map +1 -1
  27. package/resources/conversation-flow.d.mts +27 -0
  28. package/resources/conversation-flow.d.mts.map +1 -1
  29. package/resources/conversation-flow.d.ts +27 -0
  30. package/resources/conversation-flow.d.ts.map +1 -1
  31. package/resources/knowledge-base.d.mts +4 -0
  32. package/resources/knowledge-base.d.mts.map +1 -1
  33. package/resources/knowledge-base.d.ts +4 -0
  34. package/resources/knowledge-base.d.ts.map +1 -1
  35. package/resources/llm.d.mts +3 -11
  36. package/resources/llm.d.mts.map +1 -1
  37. package/resources/llm.d.ts +3 -11
  38. package/resources/llm.d.ts.map +1 -1
  39. package/resources/llm.js +2 -6
  40. package/resources/llm.js.map +1 -1
  41. package/resources/llm.mjs +2 -6
  42. package/resources/llm.mjs.map +1 -1
  43. package/src/resources/agent.ts +9 -21
  44. package/src/resources/batch-call.ts +3 -7
  45. package/src/resources/call.ts +179 -21
  46. package/src/resources/chat-agent.ts +9 -21
  47. package/src/resources/chat.ts +15 -1
  48. package/src/resources/conversation-flow-component.ts +15 -0
  49. package/src/resources/conversation-flow.ts +33 -0
  50. package/src/resources/knowledge-base.ts +5 -0
  51. package/src/resources/llm.ts +5 -19
  52. package/src/version.ts +1 -1
  53. package/version.d.mts +1 -1
  54. package/version.d.ts +1 -1
  55. package/version.js +1 -1
  56. package/version.mjs +1 -1
@@ -92,6 +92,10 @@ export interface ConversationFlowComponentResponse {
92
92
  * Display position for the begin tag in the frontend
93
93
  */
94
94
  begin_tag_display_position?: ConversationFlowComponentResponse.BeginTagDisplayPosition | null;
95
+ /**
96
+ * If enabled, the whole component will be converted as a Single Prompt agent.
97
+ */
98
+ flex_mode?: boolean | null;
95
99
  /**
96
100
  * IDs of conversation flows linked to this shared component
97
101
  */
@@ -5896,6 +5900,10 @@ export interface ConversationFlowComponentCreateParams {
5896
5900
  * Display position for the begin tag in the frontend
5897
5901
  */
5898
5902
  begin_tag_display_position?: ConversationFlowComponentCreateParams.BeginTagDisplayPosition | null;
5903
+ /**
5904
+ * If enabled, the whole component will be converted as a Single Prompt agent.
5905
+ */
5906
+ flex_mode?: boolean | null;
5899
5907
  /**
5900
5908
  * A list of MCP server configurations to use for this component
5901
5909
  */
@@ -11677,6 +11685,10 @@ export interface ConversationFlowComponentUpdateParams {
11677
11685
  * Display position for the begin tag in the frontend
11678
11686
  */
11679
11687
  begin_tag_display_position?: ConversationFlowComponentUpdateParams.BeginTagDisplayPosition | null;
11688
+ /**
11689
+ * If enabled, the whole component will be converted as a Single Prompt agent.
11690
+ */
11691
+ flex_mode?: boolean | null;
11680
11692
  /**
11681
11693
  * A list of MCP server configurations to use for this component
11682
11694
  */