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.
Files changed (57) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/package.json +1 -1
  3. package/resources/agent.d.mts +3 -3
  4. package/resources/agent.d.mts.map +1 -1
  5. package/resources/agent.d.ts +3 -3
  6. package/resources/agent.d.ts.map +1 -1
  7. package/resources/batch-call.d.mts +3 -3
  8. package/resources/batch-call.d.mts.map +1 -1
  9. package/resources/batch-call.d.ts +3 -3
  10. package/resources/batch-call.d.ts.map +1 -1
  11. package/resources/call.d.mts +141 -21
  12. package/resources/call.d.mts.map +1 -1
  13. package/resources/call.d.ts +141 -21
  14. package/resources/call.d.ts.map +1 -1
  15. package/resources/chat-agent.d.mts +3 -3
  16. package/resources/chat-agent.d.mts.map +1 -1
  17. package/resources/chat-agent.d.ts +3 -3
  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 +42 -42
  24. package/resources/conversation-flow-component.d.mts.map +1 -1
  25. package/resources/conversation-flow-component.d.ts +42 -42
  26. package/resources/conversation-flow-component.d.ts.map +1 -1
  27. package/resources/conversation-flow.d.mts +87 -87
  28. package/resources/conversation-flow.d.mts.map +1 -1
  29. package/resources/conversation-flow.d.ts +87 -87
  30. package/resources/conversation-flow.d.ts.map +1 -1
  31. package/resources/llm.d.mts +3 -3
  32. package/resources/llm.d.mts.map +1 -1
  33. package/resources/llm.d.ts +3 -3
  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 +0 -6
  44. package/src/resources/batch-call.ts +0 -6
  45. package/src/resources/call.ts +144 -30
  46. package/src/resources/chat-agent.ts +0 -6
  47. package/src/resources/chat.ts +72 -6
  48. package/src/resources/conversation-flow-component.ts +0 -84
  49. package/src/resources/conversation-flow.ts +0 -174
  50. package/src/resources/llm.ts +0 -6
  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
@@ -187,7 +187,6 @@ export interface LlmResponse {
187
187
  model?:
188
188
  | 'gpt-4.1'
189
189
  | 'gpt-4.1-mini'
190
- | 'gpt-4.1-nano'
191
190
  | 'gpt-5'
192
191
  | 'gpt-5-mini'
193
192
  | 'gpt-5-nano'
@@ -203,7 +202,6 @@ export interface LlmResponse {
203
202
  | 'gpt-6-sol'
204
203
  | 'gpt-6.1-sol'
205
204
  | 'gpt-6-luna'
206
- | 'claude-4.5-sonnet'
207
205
  | 'claude-4.6-sonnet'
208
206
  | 'claude-5-opus'
209
207
  | 'claude-5.5-opus'
@@ -3028,7 +3026,6 @@ export interface LlmCreateParams {
3028
3026
  model?:
3029
3027
  | 'gpt-4.1'
3030
3028
  | 'gpt-4.1-mini'
3031
- | 'gpt-4.1-nano'
3032
3029
  | 'gpt-5'
3033
3030
  | 'gpt-5-mini'
3034
3031
  | 'gpt-5-nano'
@@ -3044,7 +3041,6 @@ export interface LlmCreateParams {
3044
3041
  | 'gpt-6-sol'
3045
3042
  | 'gpt-6.1-sol'
3046
3043
  | 'gpt-6-luna'
3047
- | 'claude-4.5-sonnet'
3048
3044
  | 'claude-4.6-sonnet'
3049
3045
  | 'claude-5-opus'
3050
3046
  | 'claude-5.5-opus'
@@ -5866,7 +5862,6 @@ export interface LlmUpdateParams {
5866
5862
  model?:
5867
5863
  | 'gpt-4.1'
5868
5864
  | 'gpt-4.1-mini'
5869
- | 'gpt-4.1-nano'
5870
5865
  | 'gpt-5'
5871
5866
  | 'gpt-5-mini'
5872
5867
  | 'gpt-5-nano'
@@ -5882,7 +5877,6 @@ export interface LlmUpdateParams {
5882
5877
  | 'gpt-6-sol'
5883
5878
  | 'gpt-6.1-sol'
5884
5879
  | 'gpt-6-luna'
5885
- | 'claude-4.5-sonnet'
5886
5880
  | 'claude-4.6-sonnet'
5887
5881
  | 'claude-5-opus'
5888
5882
  | 'claude-5.5-opus'
@@ -140,7 +140,9 @@ export namespace PlaygroundCompletionResponse {
140
140
  arguments: string;
141
141
 
142
142
  /**
143
- * Name of the function in this tool call.
143
+ * Name of the tool. This is the configured tool name, or the node name for a
144
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
145
+ * characters. To identify the kind of tool, use `type`.
144
146
  */
145
147
  name: string;
146
148
 
@@ -169,6 +171,15 @@ export namespace PlaygroundCompletionResponse {
169
171
  * internally to maintain reasoning chain in multi-turn function calling.
170
172
  */
171
173
  thought_signature?: string;
174
+
175
+ /**
176
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
177
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
178
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
179
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
180
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
181
+ */
182
+ type?: string;
172
183
  }
173
184
 
174
185
  export interface ToolCallResultMessageBase {
@@ -447,7 +458,9 @@ export namespace PlaygroundCompletionParams {
447
458
  arguments: string;
448
459
 
449
460
  /**
450
- * Name of the function in this tool call.
461
+ * Name of the tool. This is the configured tool name, or the node name for a
462
+ * built-in conversation flow node, so it can contain spaces and non-ASCII
463
+ * characters. To identify the kind of tool, use `type`.
451
464
  */
452
465
  name: string;
453
466
 
@@ -476,6 +489,15 @@ export namespace PlaygroundCompletionParams {
476
489
  * internally to maintain reasoning chain in multi-turn function calling.
477
490
  */
478
491
  thought_signature?: string;
492
+
493
+ /**
494
+ * Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
495
+ * `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
496
+ * `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
497
+ * `book_appointment_cal`, and `check_availability_cal`. New values can be added.
498
+ * Absent on tool calls sent by a custom LLM, and on some older calls and chats.
499
+ */
500
+ type?: string;
479
501
  }
480
502
 
481
503
  export interface ToolCallResultMessageBase {
@@ -213,7 +213,6 @@ export interface TestCaseDefinitionResponse {
213
213
  llm_model:
214
214
  | 'gpt-4.1'
215
215
  | 'gpt-4.1-mini'
216
- | 'gpt-4.1-nano'
217
216
  | 'gpt-5'
218
217
  | 'gpt-5-mini'
219
218
  | 'gpt-5-nano'
@@ -229,7 +228,6 @@ export interface TestCaseDefinitionResponse {
229
228
  | 'gpt-6-sol'
230
229
  | 'gpt-6.1-sol'
231
230
  | 'gpt-6-luna'
232
- | 'claude-4.5-sonnet'
233
231
  | 'claude-4.6-sonnet'
234
232
  | 'claude-5-opus'
235
233
  | 'claude-5.5-opus'
@@ -553,7 +551,6 @@ export interface TestCreateTestCaseDefinitionParams {
553
551
  llm_model?:
554
552
  | 'gpt-4.1'
555
553
  | 'gpt-4.1-mini'
556
- | 'gpt-4.1-nano'
557
554
  | 'gpt-5'
558
555
  | 'gpt-5-mini'
559
556
  | 'gpt-5-nano'
@@ -569,7 +566,6 @@ export interface TestCreateTestCaseDefinitionParams {
569
566
  | 'gpt-6-sol'
570
567
  | 'gpt-6.1-sol'
571
568
  | 'gpt-6-luna'
572
- | 'claude-4.5-sonnet'
573
569
  | 'claude-4.6-sonnet'
574
570
  | 'claude-5-opus'
575
571
  | 'claude-5.5-opus'
@@ -767,7 +763,6 @@ export interface TestUpdateTestCaseDefinitionParams {
767
763
  llm_model?:
768
764
  | 'gpt-4.1'
769
765
  | 'gpt-4.1-mini'
770
- | 'gpt-4.1-nano'
771
766
  | 'gpt-5'
772
767
  | 'gpt-5-mini'
773
768
  | 'gpt-5-nano'
@@ -783,7 +778,6 @@ export interface TestUpdateTestCaseDefinitionParams {
783
778
  | 'gpt-6-sol'
784
779
  | 'gpt-6.1-sol'
785
780
  | 'gpt-6-luna'
786
- | 'claude-4.5-sonnet'
787
781
  | 'claude-4.6-sonnet'
788
782
  | 'claude-5-opus'
789
783
  | 'claude-5.5-opus'
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '6.2.5'; // x-release-please-version
1
+ export const VERSION = '6.2.6'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.2.5";
1
+ export declare const VERSION = "6.2.6";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.2.5";
1
+ export declare const VERSION = "6.2.6";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '6.2.5'; // x-release-please-version
4
+ exports.VERSION = '6.2.6'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '6.2.5'; // x-release-please-version
1
+ export const VERSION = '6.2.6'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map