retell-sdk 5.25.1 → 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 +8 -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
@@ -103,6 +103,11 @@ export interface ConversationFlowResponse {
103
103
  default_dynamic_variables?: {
104
104
  [key: string]: string;
105
105
  } | null;
106
+ /**
107
+ * If enabled, the whole conversation flow will be converted as a Single Prompt
108
+ * agent.
109
+ */
110
+ flex_mode?: boolean | null;
106
111
  /**
107
112
  * Global prompt used in every node of the conversation flow.
108
113
  */
@@ -179,6 +184,10 @@ export declare namespace ConversationFlowResponse {
179
184
  * Display position for the begin tag in the frontend
180
185
  */
181
186
  begin_tag_display_position?: Component.BeginTagDisplayPosition | null;
187
+ /**
188
+ * If enabled, the whole component will be converted as a Single Prompt agent.
189
+ */
190
+ flex_mode?: boolean | null;
182
191
  /**
183
192
  * A list of MCP server configurations to use for this component
184
193
  */
@@ -11782,6 +11791,11 @@ export interface ConversationFlowCreateParams {
11782
11791
  default_dynamic_variables?: {
11783
11792
  [key: string]: string;
11784
11793
  } | null;
11794
+ /**
11795
+ * If enabled, the whole conversation flow will be converted as a Single Prompt
11796
+ * agent.
11797
+ */
11798
+ flex_mode?: boolean | null;
11785
11799
  /**
11786
11800
  * Global prompt used in every node of the conversation flow.
11787
11801
  */
@@ -17354,6 +17368,10 @@ export declare namespace ConversationFlowCreateParams {
17354
17368
  * Display position for the begin tag in the frontend
17355
17369
  */
17356
17370
  begin_tag_display_position?: Component.BeginTagDisplayPosition | null;
17371
+ /**
17372
+ * If enabled, the whole component will be converted as a Single Prompt agent.
17373
+ */
17374
+ flex_mode?: boolean | null;
17357
17375
  /**
17358
17376
  * A list of MCP server configurations to use for this component
17359
17377
  */
@@ -23438,6 +23456,11 @@ export interface ConversationFlowUpdateParams {
23438
23456
  default_dynamic_variables?: {
23439
23457
  [key: string]: string;
23440
23458
  } | null;
23459
+ /**
23460
+ * Body param: If enabled, the whole conversation flow will be converted as a
23461
+ * Single Prompt agent.
23462
+ */
23463
+ flex_mode?: boolean | null;
23441
23464
  /**
23442
23465
  * Body param: Global prompt used in every node of the conversation flow.
23443
23466
  */
@@ -23515,6 +23538,10 @@ export declare namespace ConversationFlowUpdateParams {
23515
23538
  * Display position for the begin tag in the frontend
23516
23539
  */
23517
23540
  begin_tag_display_position?: Component.BeginTagDisplayPosition | null;
23541
+ /**
23542
+ * If enabled, the whole component will be converted as a Single Prompt agent.
23543
+ */
23544
+ flex_mode?: boolean | null;
23518
23545
  /**
23519
23546
  * A list of MCP server configurations to use for this component
23520
23547
  */