retell-sdk 6.2.6 → 6.2.7

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 (51) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/package.json +1 -1
  3. package/resources/agent.d.mts +30 -3
  4. package/resources/agent.d.mts.map +1 -1
  5. package/resources/agent.d.ts +30 -3
  6. package/resources/agent.d.ts.map +1 -1
  7. package/resources/batch-call.d.mts +24 -7
  8. package/resources/batch-call.d.mts.map +1 -1
  9. package/resources/batch-call.d.ts +24 -7
  10. package/resources/batch-call.d.ts.map +1 -1
  11. package/resources/call.d.mts +74 -22
  12. package/resources/call.d.mts.map +1 -1
  13. package/resources/call.d.ts +74 -22
  14. package/resources/call.d.ts.map +1 -1
  15. package/resources/call.js +2 -1
  16. package/resources/call.js.map +1 -1
  17. package/resources/call.mjs +2 -1
  18. package/resources/call.mjs.map +1 -1
  19. package/resources/chat-agent.d.mts +19 -3
  20. package/resources/chat-agent.d.mts.map +1 -1
  21. package/resources/chat-agent.d.ts +19 -3
  22. package/resources/chat-agent.d.ts.map +1 -1
  23. package/resources/conversation-flow-component.d.mts +294 -42
  24. package/resources/conversation-flow-component.d.mts.map +1 -1
  25. package/resources/conversation-flow-component.d.ts +294 -42
  26. package/resources/conversation-flow-component.d.ts.map +1 -1
  27. package/resources/conversation-flow.d.mts +609 -87
  28. package/resources/conversation-flow.d.mts.map +1 -1
  29. package/resources/conversation-flow.d.ts +609 -87
  30. package/resources/conversation-flow.d.ts.map +1 -1
  31. package/resources/llm.d.mts +24 -3
  32. package/resources/llm.d.mts.map +1 -1
  33. package/resources/llm.d.ts +24 -3
  34. package/resources/llm.d.ts.map +1 -1
  35. package/resources/tests.d.mts +3 -3
  36. package/resources/tests.d.mts.map +1 -1
  37. package/resources/tests.d.ts +3 -3
  38. package/resources/tests.d.ts.map +1 -1
  39. package/src/resources/agent.ts +37 -0
  40. package/src/resources/batch-call.ts +27 -5
  41. package/src/resources/call.ts +83 -16
  42. package/src/resources/chat-agent.ts +24 -0
  43. package/src/resources/conversation-flow-component.ts +378 -42
  44. package/src/resources/conversation-flow.ts +783 -87
  45. package/src/resources/llm.ts +27 -0
  46. package/src/resources/tests.ts +6 -3
  47. package/src/version.ts +1 -1
  48. package/version.d.mts +1 -1
  49. package/version.d.ts +1 -1
  50. package/version.js +1 -1
  51. package/version.mjs +1 -1
@@ -216,6 +216,7 @@ export interface LlmResponse {
216
216
  | 'gemini-3.6-flash'
217
217
  | 'gemini-3.7-flash'
218
218
  | 'gemini-3.8-flash'
219
+ | 'gemini-4-argon'
219
220
  | null;
220
221
 
221
222
  /**
@@ -233,6 +234,14 @@ export interface LlmResponse {
233
234
  */
234
235
  model_temperature?: number;
235
236
 
237
+ /**
238
+ * If set to true, will use the ultrafast tier for much faster response generation,
239
+ * default to false. Only supported by gpt-6.1-sol on voice agents; ignored
240
+ * otherwise. Takes precedence over model_high_priority. This feature comes with a
241
+ * higher cost.
242
+ */
243
+ model_ultrafast?: boolean | null;
244
+
236
245
  /**
237
246
  * Select the underlying speech to speech model. Can only set this or model, not
238
247
  * both.
@@ -3055,6 +3064,7 @@ export interface LlmCreateParams {
3055
3064
  | 'gemini-3.6-flash'
3056
3065
  | 'gemini-3.7-flash'
3057
3066
  | 'gemini-3.8-flash'
3067
+ | 'gemini-4-argon'
3058
3068
  | null;
3059
3069
 
3060
3070
  /**
@@ -3072,6 +3082,14 @@ export interface LlmCreateParams {
3072
3082
  */
3073
3083
  model_temperature?: number;
3074
3084
 
3085
+ /**
3086
+ * If set to true, will use the ultrafast tier for much faster response generation,
3087
+ * default to false. Only supported by gpt-6.1-sol on voice agents; ignored
3088
+ * otherwise. Takes precedence over model_high_priority. This feature comes with a
3089
+ * higher cost.
3090
+ */
3091
+ model_ultrafast?: boolean | null;
3092
+
3075
3093
  /**
3076
3094
  * Select the underlying speech to speech model. Can only set this or model, not
3077
3095
  * both.
@@ -5891,6 +5909,7 @@ export interface LlmUpdateParams {
5891
5909
  | 'gemini-3.6-flash'
5892
5910
  | 'gemini-3.7-flash'
5893
5911
  | 'gemini-3.8-flash'
5912
+ | 'gemini-4-argon'
5894
5913
  | null;
5895
5914
 
5896
5915
  /**
@@ -5908,6 +5927,14 @@ export interface LlmUpdateParams {
5908
5927
  */
5909
5928
  model_temperature?: number;
5910
5929
 
5930
+ /**
5931
+ * Body param: If set to true, will use the ultrafast tier for much faster response
5932
+ * generation, default to false. Only supported by gpt-6.1-sol on voice agents;
5933
+ * ignored otherwise. Takes precedence over model_high_priority. This feature comes
5934
+ * with a higher cost.
5935
+ */
5936
+ model_ultrafast?: boolean | null;
5937
+
5911
5938
  /**
5912
5939
  * Body param: Select the underlying speech to speech model. Can only set this or
5913
5940
  * model, not both.
@@ -241,7 +241,8 @@ export interface TestCaseDefinitionResponse {
241
241
  | 'gemini-3.5-flash-lite'
242
242
  | 'gemini-3.6-flash'
243
243
  | 'gemini-3.7-flash'
244
- | 'gemini-3.8-flash';
244
+ | 'gemini-3.8-flash'
245
+ | 'gemini-4-argon';
245
246
 
246
247
  /**
247
248
  * Array of metric names to evaluate
@@ -579,7 +580,8 @@ export interface TestCreateTestCaseDefinitionParams {
579
580
  | 'gemini-3.5-flash-lite'
580
581
  | 'gemini-3.6-flash'
581
582
  | 'gemini-3.7-flash'
582
- | 'gemini-3.8-flash';
583
+ | 'gemini-3.8-flash'
584
+ | 'gemini-4-argon';
583
585
 
584
586
  /**
585
587
  * Mock tool calls for testing
@@ -791,7 +793,8 @@ export interface TestUpdateTestCaseDefinitionParams {
791
793
  | 'gemini-3.5-flash-lite'
792
794
  | 'gemini-3.6-flash'
793
795
  | 'gemini-3.7-flash'
794
- | 'gemini-3.8-flash';
796
+ | 'gemini-3.8-flash'
797
+ | 'gemini-4-argon';
795
798
 
796
799
  /**
797
800
  * Array of metric names to evaluate
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '6.2.6'; // x-release-please-version
1
+ export const VERSION = '6.2.7'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.2.6";
1
+ export declare const VERSION = "6.2.7";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "6.2.6";
1
+ export declare const VERSION = "6.2.7";
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.6'; // x-release-please-version
4
+ exports.VERSION = '6.2.7'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '6.2.6'; // x-release-please-version
1
+ export const VERSION = '6.2.7'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map