retell-sdk 5.40.0 → 5.41.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 (60) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +1 -1
  3. package/resources/agent.d.mts +84 -20
  4. package/resources/agent.d.mts.map +1 -1
  5. package/resources/agent.d.ts +84 -20
  6. package/resources/agent.d.ts.map +1 -1
  7. package/resources/agent.js +12 -4
  8. package/resources/agent.js.map +1 -1
  9. package/resources/agent.mjs +12 -4
  10. package/resources/agent.mjs.map +1 -1
  11. package/resources/batch-call.d.mts +3 -3
  12. package/resources/batch-call.d.mts.map +1 -1
  13. package/resources/batch-call.d.ts +3 -3
  14. package/resources/batch-call.d.ts.map +1 -1
  15. package/resources/call.d.mts +24 -9
  16. package/resources/call.d.mts.map +1 -1
  17. package/resources/call.d.ts +24 -9
  18. package/resources/call.d.ts.map +1 -1
  19. package/resources/chat-agent.d.mts +84 -20
  20. package/resources/chat-agent.d.mts.map +1 -1
  21. package/resources/chat-agent.d.ts +84 -20
  22. package/resources/chat-agent.d.ts.map +1 -1
  23. package/resources/chat-agent.js +12 -4
  24. package/resources/chat-agent.js.map +1 -1
  25. package/resources/chat-agent.mjs +12 -4
  26. package/resources/chat-agent.mjs.map +1 -1
  27. package/resources/conversation-flow-component.d.mts +42 -42
  28. package/resources/conversation-flow-component.d.mts.map +1 -1
  29. package/resources/conversation-flow-component.d.ts +42 -42
  30. package/resources/conversation-flow-component.d.ts.map +1 -1
  31. package/resources/conversation-flow.d.mts +87 -87
  32. package/resources/conversation-flow.d.mts.map +1 -1
  33. package/resources/conversation-flow.d.ts +87 -87
  34. package/resources/conversation-flow.d.ts.map +1 -1
  35. package/resources/llm.d.mts +3 -3
  36. package/resources/llm.d.mts.map +1 -1
  37. package/resources/llm.d.ts +3 -3
  38. package/resources/llm.d.ts.map +1 -1
  39. package/resources/phone-number.d.mts +4 -8
  40. package/resources/phone-number.d.mts.map +1 -1
  41. package/resources/phone-number.d.ts +4 -8
  42. package/resources/phone-number.d.ts.map +1 -1
  43. package/resources/tests.d.mts +3 -3
  44. package/resources/tests.d.mts.map +1 -1
  45. package/resources/tests.d.ts +3 -3
  46. package/resources/tests.d.ts.map +1 -1
  47. package/src/resources/agent.ts +100 -18
  48. package/src/resources/batch-call.ts +4 -1
  49. package/src/resources/call.ts +31 -3
  50. package/src/resources/chat-agent.ts +100 -18
  51. package/src/resources/conversation-flow-component.ts +84 -42
  52. package/src/resources/conversation-flow.ts +174 -87
  53. package/src/resources/llm.ts +3 -0
  54. package/src/resources/phone-number.ts +4 -8
  55. package/src/resources/tests.ts +6 -3
  56. package/src/version.ts +1 -1
  57. package/version.d.mts +1 -1
  58. package/version.d.ts +1 -1
  59. package/version.js +1 -1
  60. package/version.mjs +1 -1
@@ -191,6 +191,7 @@ export interface LlmResponse {
191
191
  | 'claude-4.5-haiku'
192
192
  | 'gemini-3.0-flash'
193
193
  | 'gemini-3.1-flash-lite'
194
+ | 'gemini-3.5-flash'
194
195
  | null;
195
196
 
196
197
  /**
@@ -2803,6 +2804,7 @@ export interface LlmCreateParams {
2803
2804
  | 'claude-4.5-haiku'
2804
2805
  | 'gemini-3.0-flash'
2805
2806
  | 'gemini-3.1-flash-lite'
2807
+ | 'gemini-3.5-flash'
2806
2808
  | null;
2807
2809
 
2808
2810
  /**
@@ -5429,6 +5431,7 @@ export interface LlmUpdateParams {
5429
5431
  | 'claude-4.5-haiku'
5430
5432
  | 'gemini-3.0-flash'
5431
5433
  | 'gemini-3.1-flash-lite'
5434
+ | 'gemini-3.5-flash'
5432
5435
  | null;
5433
5436
 
5434
5437
  /**
@@ -171,8 +171,7 @@ export interface PhoneNumberResponse {
171
171
  /**
172
172
  * Inbound SMS agents to bind to the number with weights. If set and non-empty, one
173
173
  * agent will be picked randomly for each inbound SMS, with probability
174
- * proportional to the weight. Total weights must add up to 1. If not set or empty,
175
- * fallback to inbound_sms_agent_id.
174
+ * proportional to the weight. Total weights must add up to 1.
176
175
  */
177
176
  inbound_sms_agents?: Array<PhoneNumberResponse.InboundSMSAgent> | null;
178
177
 
@@ -205,8 +204,7 @@ export interface PhoneNumberResponse {
205
204
  /**
206
205
  * Outbound SMS agents to bind to the number with weights. If set and non-empty,
207
206
  * one agent will be picked randomly for each outbound SMS, with probability
208
- * proportional to the weight. Total weights must add up to 1. If not set or empty,
209
- * fallback to outbound_sms_agent_id.
207
+ * proportional to the weight. Total weights must add up to 1.
210
208
  */
211
209
  outbound_sms_agents?: Array<PhoneNumberResponse.OutboundSMSAgent> | null;
212
210
 
@@ -662,8 +660,7 @@ export interface PhoneNumberUpdateParams {
662
660
  /**
663
661
  * Inbound SMS agents to bind to the number with weights. If set and non-empty, one
664
662
  * agent will be picked randomly for each inbound SMS, with probability
665
- * proportional to the weight. Total weights must add up to 1. If not set or empty,
666
- * fallback to inbound_sms_agent_id.
663
+ * proportional to the weight. Total weights must add up to 1.
667
664
  */
668
665
  inbound_sms_agents?: Array<PhoneNumberUpdateParams.InboundSMSAgent> | null;
669
666
 
@@ -696,8 +693,7 @@ export interface PhoneNumberUpdateParams {
696
693
  /**
697
694
  * Outbound SMS agents to bind to the number with weights. If set and non-empty,
698
695
  * one agent will be picked randomly for each outbound SMS, with probability
699
- * proportional to the weight. Total weights must add up to 1. If not set or empty,
700
- * fallback to outbound_sms_agent_id.
696
+ * proportional to the weight. Total weights must add up to 1.
701
697
  */
702
698
  outbound_sms_agents?: Array<PhoneNumberUpdateParams.OutboundSMSAgent> | null;
703
699
 
@@ -227,7 +227,8 @@ export interface TestCaseDefinitionResponse {
227
227
  | 'claude-4.6-sonnet'
228
228
  | 'claude-4.5-haiku'
229
229
  | 'gemini-3.0-flash'
230
- | 'gemini-3.1-flash-lite';
230
+ | 'gemini-3.1-flash-lite'
231
+ | 'gemini-3.5-flash';
231
232
 
232
233
  /**
233
234
  * Array of metric names to evaluate
@@ -489,7 +490,8 @@ export interface TestCreateTestCaseDefinitionParams {
489
490
  | 'claude-4.6-sonnet'
490
491
  | 'claude-4.5-haiku'
491
492
  | 'gemini-3.0-flash'
492
- | 'gemini-3.1-flash-lite';
493
+ | 'gemini-3.1-flash-lite'
494
+ | 'gemini-3.5-flash';
493
495
 
494
496
  /**
495
497
  * Mock tool calls for testing
@@ -631,7 +633,8 @@ export interface TestUpdateTestCaseDefinitionParams {
631
633
  | 'claude-4.6-sonnet'
632
634
  | 'claude-4.5-haiku'
633
635
  | 'gemini-3.0-flash'
634
- | 'gemini-3.1-flash-lite';
636
+ | 'gemini-3.1-flash-lite'
637
+ | 'gemini-3.5-flash';
635
638
 
636
639
  /**
637
640
  * Array of metric names to evaluate
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.40.0'; // x-release-please-version
1
+ export const VERSION = '5.41.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.40.0";
1
+ export declare const VERSION = "5.41.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.40.0";
1
+ export declare const VERSION = "5.41.0";
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 = '5.40.0'; // x-release-please-version
4
+ exports.VERSION = '5.41.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.40.0'; // x-release-please-version
1
+ export const VERSION = '5.41.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map