retell-sdk 5.45.0 → 5.47.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 (55) hide show
  1. package/CHANGELOG.md +24 -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 +4 -4
  8. package/resources/batch-call.d.mts.map +1 -1
  9. package/resources/batch-call.d.ts +4 -4
  10. package/resources/batch-call.d.ts.map +1 -1
  11. package/resources/call.d.mts +18 -13
  12. package/resources/call.d.mts.map +1 -1
  13. package/resources/call.d.ts +18 -13
  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 +21 -1
  20. package/resources/chat.d.mts.map +1 -1
  21. package/resources/chat.d.ts +21 -1
  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 +6 -6
  32. package/resources/llm.d.mts.map +1 -1
  33. package/resources/llm.d.ts +6 -6
  34. package/resources/llm.d.ts.map +1 -1
  35. package/resources/phone-number.d.mts +12 -12
  36. package/resources/phone-number.d.ts +12 -12
  37. package/resources/tests.d.mts +3 -3
  38. package/resources/tests.d.mts.map +1 -1
  39. package/resources/tests.d.ts +3 -3
  40. package/resources/tests.d.ts.map +1 -1
  41. package/src/resources/agent.ts +6 -0
  42. package/src/resources/batch-call.ts +14 -1
  43. package/src/resources/call.ts +48 -4
  44. package/src/resources/chat-agent.ts +6 -0
  45. package/src/resources/chat.ts +25 -1
  46. package/src/resources/conversation-flow-component.ts +84 -0
  47. package/src/resources/conversation-flow.ts +174 -0
  48. package/src/resources/llm.ts +30 -3
  49. package/src/resources/phone-number.ts +12 -12
  50. package/src/resources/tests.ts +6 -0
  51. package/src/version.ts +1 -1
  52. package/version.d.mts +1 -1
  53. package/version.d.ts +1 -1
  54. package/version.js +1 -1
  55. package/version.mjs +1 -1
@@ -186,6 +186,8 @@ export interface LlmResponse {
186
186
  | 'gpt-5.4-mini'
187
187
  | 'gpt-5.4-nano'
188
188
  | 'gpt-5.5'
189
+ | 'gpt-5.6-terra'
190
+ | 'gpt-5.6-luna'
189
191
  | 'claude-4.5-sonnet'
190
192
  | 'claude-4.6-sonnet'
191
193
  | 'claude-5-sonnet'
@@ -214,7 +216,14 @@ export interface LlmResponse {
214
216
  * Select the underlying speech to speech model. Can only set this or model, not
215
217
  * both.
216
218
  */
217
- s2s_model?: 'gpt-realtime-2' | 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
219
+ s2s_model?:
220
+ | 'gpt-realtime-2.1'
221
+ | 'gpt-realtime-2.1-mini'
222
+ | 'gpt-realtime-2'
223
+ | 'gpt-realtime-1.5'
224
+ | 'gpt-realtime'
225
+ | 'gpt-realtime-mini'
226
+ | null;
218
227
 
219
228
  /**
220
229
  * The speaker who starts the conversation. Required. Must be either 'user' or
@@ -2800,6 +2809,8 @@ export interface LlmCreateParams {
2800
2809
  | 'gpt-5.4-mini'
2801
2810
  | 'gpt-5.4-nano'
2802
2811
  | 'gpt-5.5'
2812
+ | 'gpt-5.6-terra'
2813
+ | 'gpt-5.6-luna'
2803
2814
  | 'claude-4.5-sonnet'
2804
2815
  | 'claude-4.6-sonnet'
2805
2816
  | 'claude-5-sonnet'
@@ -2828,7 +2839,14 @@ export interface LlmCreateParams {
2828
2839
  * Select the underlying speech to speech model. Can only set this or model, not
2829
2840
  * both.
2830
2841
  */
2831
- s2s_model?: 'gpt-realtime-2' | 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
2842
+ s2s_model?:
2843
+ | 'gpt-realtime-2.1'
2844
+ | 'gpt-realtime-2.1-mini'
2845
+ | 'gpt-realtime-2'
2846
+ | 'gpt-realtime-1.5'
2847
+ | 'gpt-realtime'
2848
+ | 'gpt-realtime-mini'
2849
+ | null;
2832
2850
 
2833
2851
  /**
2834
2852
  * The speaker who starts the conversation. Required. Must be either 'user' or
@@ -5428,6 +5446,8 @@ export interface LlmUpdateParams {
5428
5446
  | 'gpt-5.4-mini'
5429
5447
  | 'gpt-5.4-nano'
5430
5448
  | 'gpt-5.5'
5449
+ | 'gpt-5.6-terra'
5450
+ | 'gpt-5.6-luna'
5431
5451
  | 'claude-4.5-sonnet'
5432
5452
  | 'claude-4.6-sonnet'
5433
5453
  | 'claude-5-sonnet'
@@ -5456,7 +5476,14 @@ export interface LlmUpdateParams {
5456
5476
  * Body param: Select the underlying speech to speech model. Can only set this or
5457
5477
  * model, not both.
5458
5478
  */
5459
- s2s_model?: 'gpt-realtime-2' | 'gpt-realtime-1.5' | 'gpt-realtime' | 'gpt-realtime-mini' | null;
5479
+ s2s_model?:
5480
+ | 'gpt-realtime-2.1'
5481
+ | 'gpt-realtime-2.1-mini'
5482
+ | 'gpt-realtime-2'
5483
+ | 'gpt-realtime-1.5'
5484
+ | 'gpt-realtime'
5485
+ | 'gpt-realtime-mini'
5486
+ | null;
5460
5487
 
5461
5488
  /**
5462
5489
  * Body param: The speaker who starts the conversation. Required. Must be either
@@ -177,15 +177,15 @@ export interface PhoneNumberResponse {
177
177
 
178
178
  /**
179
179
  * If set, Retell will send a webhook for inbound SMS, where you can override the
180
- * agent ID, set dynamic variables, and configure other fields specific to that
181
- * chat.
180
+ * agent ID, set dynamic variables, reject the SMS, and configure other fields
181
+ * specific to that chat.
182
182
  */
183
183
  inbound_sms_webhook_url?: string | null;
184
184
 
185
185
  /**
186
186
  * If set, Retell will send a webhook for inbound calls, where you can override the
187
- * agent ID, set dynamic variables, and configure other fields specific to that
188
- * call.
187
+ * agent ID, set dynamic variables, reject the call, and configure other fields
188
+ * specific to that call.
189
189
  */
190
190
  inbound_webhook_url?: string | null;
191
191
 
@@ -385,8 +385,8 @@ export interface PhoneNumberCreateParams {
385
385
 
386
386
  /**
387
387
  * If set, Retell will send a webhook for inbound calls, where you can override the
388
- * agent ID, set dynamic variables, and configure other fields specific to that
389
- * call.
388
+ * agent ID, set dynamic variables, reject the call, and configure other fields
389
+ * specific to that call.
390
390
  */
391
391
  inbound_webhook_url?: string | null;
392
392
 
@@ -517,8 +517,8 @@ export interface PhoneNumberImportParams {
517
517
 
518
518
  /**
519
519
  * If set, Retell will send a webhook for inbound calls, where you can override the
520
- * agent ID, set dynamic variables, and configure other fields specific to that
521
- * call.
520
+ * agent ID, set dynamic variables, reject the call, and configure other fields
521
+ * specific to that call.
522
522
  */
523
523
  inbound_webhook_url?: string | null;
524
524
 
@@ -666,15 +666,15 @@ export interface PhoneNumberUpdateParams {
666
666
 
667
667
  /**
668
668
  * If set, Retell will send a webhook for inbound SMS, where you can override the
669
- * agent ID, set dynamic variables, and configure other fields specific to that
670
- * chat.
669
+ * agent ID, set dynamic variables, reject the SMS, and configure other fields
670
+ * specific to that chat.
671
671
  */
672
672
  inbound_sms_webhook_url?: string | null;
673
673
 
674
674
  /**
675
675
  * If set, Retell will send a webhook for inbound calls, where you can override the
676
- * agent ID, set dynamic variables, and configure other fields specific to that
677
- * call.
676
+ * agent ID, set dynamic variables, reject the call, and configure other fields
677
+ * specific to that call.
678
678
  */
679
679
  inbound_webhook_url?: string | null;
680
680
 
@@ -223,6 +223,8 @@ export interface TestCaseDefinitionResponse {
223
223
  | 'gpt-5.4-mini'
224
224
  | 'gpt-5.4-nano'
225
225
  | 'gpt-5.5'
226
+ | 'gpt-5.6-terra'
227
+ | 'gpt-5.6-luna'
226
228
  | 'claude-4.5-sonnet'
227
229
  | 'claude-4.6-sonnet'
228
230
  | 'claude-5-sonnet'
@@ -499,6 +501,8 @@ export interface TestCreateTestCaseDefinitionParams {
499
501
  | 'gpt-5.4-mini'
500
502
  | 'gpt-5.4-nano'
501
503
  | 'gpt-5.5'
504
+ | 'gpt-5.6-terra'
505
+ | 'gpt-5.6-luna'
502
506
  | 'claude-4.5-sonnet'
503
507
  | 'claude-4.6-sonnet'
504
508
  | 'claude-5-sonnet'
@@ -655,6 +659,8 @@ export interface TestUpdateTestCaseDefinitionParams {
655
659
  | 'gpt-5.4-mini'
656
660
  | 'gpt-5.4-nano'
657
661
  | 'gpt-5.5'
662
+ | 'gpt-5.6-terra'
663
+ | 'gpt-5.6-luna'
658
664
  | 'claude-4.5-sonnet'
659
665
  | 'claude-4.6-sonnet'
660
666
  | 'claude-5-sonnet'
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.45.0'; // x-release-please-version
1
+ export const VERSION = '5.47.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.45.0";
1
+ export declare const VERSION = "5.47.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.45.0";
1
+ export declare const VERSION = "5.47.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.45.0'; // x-release-please-version
4
+ exports.VERSION = '5.47.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.45.0'; // x-release-please-version
1
+ export const VERSION = '5.47.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map