retell-sdk 5.9.0 → 5.10.1

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 +27 -0
  2. package/README.md +2 -2
  3. package/package.json +1 -1
  4. package/resources/agent.d.mts +6 -21
  5. package/resources/agent.d.mts.map +1 -1
  6. package/resources/agent.d.ts +6 -21
  7. package/resources/agent.d.ts.map +1 -1
  8. package/resources/batch-call.d.mts +5 -10
  9. package/resources/batch-call.d.mts.map +1 -1
  10. package/resources/batch-call.d.ts +5 -10
  11. package/resources/batch-call.d.ts.map +1 -1
  12. package/resources/call.d.mts +31 -30
  13. package/resources/call.d.mts.map +1 -1
  14. package/resources/call.d.ts +31 -30
  15. package/resources/call.d.ts.map +1 -1
  16. package/resources/chat-agent.d.mts +3 -3
  17. package/resources/chat-agent.d.mts.map +1 -1
  18. package/resources/chat-agent.d.ts +3 -3
  19. package/resources/chat-agent.d.ts.map +1 -1
  20. package/resources/conversation-flow-component.d.mts +3183 -1404
  21. package/resources/conversation-flow-component.d.mts.map +1 -1
  22. package/resources/conversation-flow-component.d.ts +3183 -1404
  23. package/resources/conversation-flow-component.d.ts.map +1 -1
  24. package/resources/conversation-flow.d.mts +5336 -1778
  25. package/resources/conversation-flow.d.mts.map +1 -1
  26. package/resources/conversation-flow.d.ts +5336 -1778
  27. package/resources/conversation-flow.d.ts.map +1 -1
  28. package/resources/llm.d.mts +540 -42
  29. package/resources/llm.d.mts.map +1 -1
  30. package/resources/llm.d.ts +540 -42
  31. package/resources/llm.d.ts.map +1 -1
  32. package/resources/phone-number.d.mts +7 -0
  33. package/resources/phone-number.d.mts.map +1 -1
  34. package/resources/phone-number.d.ts +7 -0
  35. package/resources/phone-number.d.ts.map +1 -1
  36. package/resources/tests.d.mts +3 -3
  37. package/resources/tests.d.mts.map +1 -1
  38. package/resources/tests.d.ts +3 -3
  39. package/resources/tests.d.ts.map +1 -1
  40. package/src/resources/agent.ts +15 -30
  41. package/src/resources/batch-call.ts +16 -15
  42. package/src/resources/call.ts +67 -45
  43. package/src/resources/chat-agent.ts +15 -6
  44. package/src/resources/conversation-flow-component.ts +8409 -5565
  45. package/src/resources/conversation-flow.ts +10307 -4610
  46. package/src/resources/llm.ts +649 -52
  47. package/src/resources/phone-number.ts +8 -0
  48. package/src/resources/tests.ts +15 -6
  49. package/src/version.ts +1 -1
  50. package/version.d.mts +1 -1
  51. package/version.d.mts.map +1 -1
  52. package/version.d.ts +1 -1
  53. package/version.d.ts.map +1 -1
  54. package/version.js +1 -1
  55. package/version.js.map +1 -1
  56. package/version.mjs +1 -1
  57. package/version.mjs.map +1 -1
@@ -647,6 +647,14 @@ export interface PhoneNumberImportParams {
647
647
  */
648
648
  allowed_outbound_country_list?: Array<string> | null;
649
649
 
650
+ /**
651
+ * If true, E.164 validation for phone_number is skipped. This is useful for
652
+ * internal pseudo numbers when using custom telephony. If omitted, default is
653
+ * true. Must be a boolean literal; string values like "true" or "false" are
654
+ * invalid.
655
+ */
656
+ ignore_e164_validation?: boolean;
657
+
650
658
  /**
651
659
  * @deprecated Unique id of agent to bind to the number. The number will
652
660
  * automatically use the agent when receiving inbound calls. If null, this number
@@ -211,10 +211,13 @@ export interface TestCaseDefinitionResponse {
211
211
  | 'gpt-4.1-mini'
212
212
  | 'gpt-4.1-nano'
213
213
  | 'gpt-5'
214
- | 'gpt-5.1'
215
- | 'gpt-5.2'
216
214
  | 'gpt-5-mini'
217
215
  | 'gpt-5-nano'
216
+ | 'gpt-5.1'
217
+ | 'gpt-5.2'
218
+ | 'gpt-5.4'
219
+ | 'gpt-5.4-mini'
220
+ | 'gpt-5.4-nano'
218
221
  | 'claude-4.5-sonnet'
219
222
  | 'claude-4.6-sonnet'
220
223
  | 'claude-4.5-haiku'
@@ -482,10 +485,13 @@ export interface TestCreateTestCaseDefinitionParams {
482
485
  | 'gpt-4.1-mini'
483
486
  | 'gpt-4.1-nano'
484
487
  | 'gpt-5'
485
- | 'gpt-5.1'
486
- | 'gpt-5.2'
487
488
  | 'gpt-5-mini'
488
489
  | 'gpt-5-nano'
490
+ | 'gpt-5.1'
491
+ | 'gpt-5.2'
492
+ | 'gpt-5.4'
493
+ | 'gpt-5.4-mini'
494
+ | 'gpt-5.4-nano'
489
495
  | 'claude-4.5-sonnet'
490
496
  | 'claude-4.6-sonnet'
491
497
  | 'claude-4.5-haiku'
@@ -638,10 +644,13 @@ export interface TestUpdateTestCaseDefinitionParams {
638
644
  | 'gpt-4.1-mini'
639
645
  | 'gpt-4.1-nano'
640
646
  | 'gpt-5'
641
- | 'gpt-5.1'
642
- | 'gpt-5.2'
643
647
  | 'gpt-5-mini'
644
648
  | 'gpt-5-nano'
649
+ | 'gpt-5.1'
650
+ | 'gpt-5.2'
651
+ | 'gpt-5.4'
652
+ | 'gpt-5.4-mini'
653
+ | 'gpt-5.4-nano'
645
654
  | 'claude-4.5-sonnet'
646
655
  | 'claude-4.6-sonnet'
647
656
  | 'claude-4.5-haiku'
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.9.0'; // x-release-please-version
1
+ export const VERSION = '5.10.1'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.9.0";
1
+ export declare const VERSION = "5.10.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
1
+ {"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.9.0";
1
+ export declare const VERSION = "5.10.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
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.9.0'; // x-release-please-version
4
+ exports.VERSION = '5.10.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.9.0'; // x-release-please-version
1
+ export const VERSION = '5.10.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
package/version.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
1
+ {"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}