retell-sdk 5.2.0 → 5.3.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.
- package/CHANGELOG.md +22 -0
- package/package.json +1 -1
- package/resources/agent.d.mts +39 -3
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +39 -3
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +13 -1
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +13 -1
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +58 -6
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +58 -6
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +34 -0
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +34 -0
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat.d.mts +8 -0
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +8 -0
- package/resources/chat.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +1927 -16
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +1927 -16
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +3958 -136
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +3958 -136
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/phone-number.d.mts +57 -38
- package/resources/phone-number.d.mts.map +1 -1
- package/resources/phone-number.d.ts +57 -38
- package/resources/phone-number.d.ts.map +1 -1
- package/resources/voice.d.mts +6 -6
- package/resources/voice.d.mts.map +1 -1
- package/resources/voice.d.ts +6 -6
- package/resources/voice.d.ts.map +1 -1
- package/src/resources/agent.ts +45 -0
- package/src/resources/batch-call.ts +15 -0
- package/src/resources/call.ts +65 -3
- package/src/resources/chat-agent.ts +40 -0
- package/src/resources/chat.ts +10 -0
- package/src/resources/conversation-flow-component.ts +2808 -0
- package/src/resources/conversation-flow.ts +5801 -185
- package/src/resources/phone-number.ts +57 -38
- package/src/resources/voice.ts +6 -6
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -110,14 +110,16 @@ export interface PhoneNumberResponse {
|
|
|
110
110
|
*/
|
|
111
111
|
fallback_number?: string | null;
|
|
112
112
|
/**
|
|
113
|
-
* Unique id of agent to bind to the number. The number will
|
|
114
|
-
* agent when receiving inbound calls. If null, this number
|
|
115
|
-
* inbound call.
|
|
113
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
114
|
+
* automatically use the agent when receiving inbound calls. If null, this number
|
|
115
|
+
* would not accept inbound call. Deprecated. See
|
|
116
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
116
117
|
*/
|
|
117
118
|
inbound_agent_id?: string | null;
|
|
118
119
|
/**
|
|
119
|
-
* Version of the inbound agent to bind to the number. If not provided,
|
|
120
|
-
* default to latest version.
|
|
120
|
+
* @deprecated Version of the inbound agent to bind to the number. If not provided,
|
|
121
|
+
* will default to latest version. Deprecated. See
|
|
122
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
121
123
|
*/
|
|
122
124
|
inbound_agent_version?: number | null;
|
|
123
125
|
/**
|
|
@@ -149,14 +151,17 @@ export interface PhoneNumberResponse {
|
|
|
149
151
|
*/
|
|
150
152
|
nickname?: string | null;
|
|
151
153
|
/**
|
|
152
|
-
* Unique id of agent to bind to the number. The number will
|
|
153
|
-
* agent when conducting outbound calls. If null, this number
|
|
154
|
-
* initiate outbound call without agent id override.
|
|
154
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
155
|
+
* automatically use the agent when conducting outbound calls. If null, this number
|
|
156
|
+
* would not be able to initiate outbound call without agent id override.
|
|
157
|
+
* Deprecated. See
|
|
158
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
155
159
|
*/
|
|
156
160
|
outbound_agent_id?: string | null;
|
|
157
161
|
/**
|
|
158
|
-
* Version of the outbound agent to bind to the number. If not
|
|
159
|
-
* default to latest version.
|
|
162
|
+
* @deprecated Version of the outbound agent to bind to the number. If not
|
|
163
|
+
* provided, will default to latest version. Deprecated. See
|
|
164
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
160
165
|
*/
|
|
161
166
|
outbound_agent_version?: number | null;
|
|
162
167
|
/**
|
|
@@ -262,14 +267,16 @@ export interface PhoneNumberCreateParams {
|
|
|
262
267
|
*/
|
|
263
268
|
fallback_number?: string | null;
|
|
264
269
|
/**
|
|
265
|
-
* Unique id of agent to bind to the number. The number will
|
|
266
|
-
* agent when receiving inbound calls. If null, this number
|
|
267
|
-
* inbound call.
|
|
270
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
271
|
+
* automatically use the agent when receiving inbound calls. If null, this number
|
|
272
|
+
* would not accept inbound call. Deprecated. See
|
|
273
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
268
274
|
*/
|
|
269
275
|
inbound_agent_id?: string | null;
|
|
270
276
|
/**
|
|
271
|
-
* Version of the inbound agent to bind to the number. If not provided,
|
|
272
|
-
* default to latest version.
|
|
277
|
+
* @deprecated Version of the inbound agent to bind to the number. If not provided,
|
|
278
|
+
* will default to latest version. Deprecated. See
|
|
279
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
273
280
|
*/
|
|
274
281
|
inbound_agent_version?: number | null;
|
|
275
282
|
/**
|
|
@@ -293,14 +300,17 @@ export interface PhoneNumberCreateParams {
|
|
|
293
300
|
*/
|
|
294
301
|
number_provider?: 'twilio' | 'telnyx';
|
|
295
302
|
/**
|
|
296
|
-
* Unique id of agent to bind to the number. The number will
|
|
297
|
-
* agent when conducting outbound calls. If null, this number
|
|
298
|
-
* initiate outbound call without agent id override.
|
|
303
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
304
|
+
* automatically use the agent when conducting outbound calls. If null, this number
|
|
305
|
+
* would not be able to initiate outbound call without agent id override.
|
|
306
|
+
* Deprecated. See
|
|
307
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
299
308
|
*/
|
|
300
309
|
outbound_agent_id?: string | null;
|
|
301
310
|
/**
|
|
302
|
-
* Version of the outbound agent to bind to the number. If not
|
|
303
|
-
* default to latest version.
|
|
311
|
+
* @deprecated Version of the outbound agent to bind to the number. If not
|
|
312
|
+
* provided, will default to latest version. Deprecated. See
|
|
313
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
304
314
|
*/
|
|
305
315
|
outbound_agent_version?: number | null;
|
|
306
316
|
/**
|
|
@@ -375,14 +385,16 @@ export interface PhoneNumberUpdateParams {
|
|
|
375
385
|
*/
|
|
376
386
|
fallback_number?: string | null;
|
|
377
387
|
/**
|
|
378
|
-
* Unique id of agent to bind to the number. The number will
|
|
379
|
-
* agent when receiving inbound calls. If set to null, this
|
|
380
|
-
* inbound call.
|
|
388
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
389
|
+
* automatically use the agent when receiving inbound calls. If set to null, this
|
|
390
|
+
* number would not accept inbound call. Deprecated. See
|
|
391
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
381
392
|
*/
|
|
382
393
|
inbound_agent_id?: string | null;
|
|
383
394
|
/**
|
|
384
|
-
* Version of the inbound agent to bind to the number. If not provided,
|
|
385
|
-
* default to latest version.
|
|
395
|
+
* @deprecated Version of the inbound agent to bind to the number. If not provided,
|
|
396
|
+
* will default to latest version. Deprecated. See
|
|
397
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
386
398
|
*/
|
|
387
399
|
inbound_agent_version?: number | null;
|
|
388
400
|
/**
|
|
@@ -414,9 +426,11 @@ export interface PhoneNumberUpdateParams {
|
|
|
414
426
|
*/
|
|
415
427
|
nickname?: string | null;
|
|
416
428
|
/**
|
|
417
|
-
* Unique id of agent to bind to the number. The number will
|
|
418
|
-
* agent when conducting outbound calls. If set to null, this
|
|
419
|
-
* able to initiate outbound call without agent id override.
|
|
429
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
430
|
+
* automatically use the agent when conducting outbound calls. If set to null, this
|
|
431
|
+
* number would not be able to initiate outbound call without agent id override.
|
|
432
|
+
* Deprecated. See
|
|
433
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
420
434
|
*/
|
|
421
435
|
outbound_agent_id?: string | null;
|
|
422
436
|
/**
|
|
@@ -511,14 +525,16 @@ export interface PhoneNumberImportParams {
|
|
|
511
525
|
*/
|
|
512
526
|
allowed_outbound_country_list?: Array<string> | null;
|
|
513
527
|
/**
|
|
514
|
-
* Unique id of agent to bind to the number. The number will
|
|
515
|
-
* agent when receiving inbound calls. If null, this number
|
|
516
|
-
* inbound call.
|
|
528
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
529
|
+
* automatically use the agent when receiving inbound calls. If null, this number
|
|
530
|
+
* would not accept inbound call. Deprecated. See
|
|
531
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
517
532
|
*/
|
|
518
533
|
inbound_agent_id?: string | null;
|
|
519
534
|
/**
|
|
520
|
-
* Version of the inbound agent to bind to the number. If not provided,
|
|
521
|
-
* default to latest version.
|
|
535
|
+
* @deprecated Version of the inbound agent to bind to the number. If not provided,
|
|
536
|
+
* will default to latest version. Deprecated. See
|
|
537
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
522
538
|
*/
|
|
523
539
|
inbound_agent_version?: number | null;
|
|
524
540
|
/**
|
|
@@ -538,14 +554,17 @@ export interface PhoneNumberImportParams {
|
|
|
538
554
|
*/
|
|
539
555
|
nickname?: string;
|
|
540
556
|
/**
|
|
541
|
-
* Unique id of agent to bind to the number. The number will
|
|
542
|
-
* agent when conducting outbound calls. If null, this number
|
|
543
|
-
* initiate outbound call without agent id override.
|
|
557
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
558
|
+
* automatically use the agent when conducting outbound calls. If null, this number
|
|
559
|
+
* would not be able to initiate outbound call without agent id override.
|
|
560
|
+
* Deprecated. See
|
|
561
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
544
562
|
*/
|
|
545
563
|
outbound_agent_id?: string | null;
|
|
546
564
|
/**
|
|
547
|
-
* Version of the outbound agent to bind to the number. If not
|
|
548
|
-
* default to latest version.
|
|
565
|
+
* @deprecated Version of the outbound agent to bind to the number. If not
|
|
566
|
+
* provided, will default to latest version. Deprecated. See
|
|
567
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
549
568
|
*/
|
|
550
569
|
outbound_agent_version?: number | null;
|
|
551
570
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-number.d.mts","sourceRoot":"","sources":["../src/resources/phone-number.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIhG;;;;;;;;OAQG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIxF;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC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AAE,MAAM,CAAC;KACxB;IAED,UAAiB,aAAa;QAC5B,QAAQ,EAAE,MAAM,CAAC;QAEjB;;;WAGG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -110,14 +110,16 @@ export interface PhoneNumberResponse {
|
|
|
110
110
|
*/
|
|
111
111
|
fallback_number?: string | null;
|
|
112
112
|
/**
|
|
113
|
-
* Unique id of agent to bind to the number. The number will
|
|
114
|
-
* agent when receiving inbound calls. If null, this number
|
|
115
|
-
* inbound call.
|
|
113
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
114
|
+
* automatically use the agent when receiving inbound calls. If null, this number
|
|
115
|
+
* would not accept inbound call. Deprecated. See
|
|
116
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
116
117
|
*/
|
|
117
118
|
inbound_agent_id?: string | null;
|
|
118
119
|
/**
|
|
119
|
-
* Version of the inbound agent to bind to the number. If not provided,
|
|
120
|
-
* default to latest version.
|
|
120
|
+
* @deprecated Version of the inbound agent to bind to the number. If not provided,
|
|
121
|
+
* will default to latest version. Deprecated. See
|
|
122
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
121
123
|
*/
|
|
122
124
|
inbound_agent_version?: number | null;
|
|
123
125
|
/**
|
|
@@ -149,14 +151,17 @@ export interface PhoneNumberResponse {
|
|
|
149
151
|
*/
|
|
150
152
|
nickname?: string | null;
|
|
151
153
|
/**
|
|
152
|
-
* Unique id of agent to bind to the number. The number will
|
|
153
|
-
* agent when conducting outbound calls. If null, this number
|
|
154
|
-
* initiate outbound call without agent id override.
|
|
154
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
155
|
+
* automatically use the agent when conducting outbound calls. If null, this number
|
|
156
|
+
* would not be able to initiate outbound call without agent id override.
|
|
157
|
+
* Deprecated. See
|
|
158
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
155
159
|
*/
|
|
156
160
|
outbound_agent_id?: string | null;
|
|
157
161
|
/**
|
|
158
|
-
* Version of the outbound agent to bind to the number. If not
|
|
159
|
-
* default to latest version.
|
|
162
|
+
* @deprecated Version of the outbound agent to bind to the number. If not
|
|
163
|
+
* provided, will default to latest version. Deprecated. See
|
|
164
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
160
165
|
*/
|
|
161
166
|
outbound_agent_version?: number | null;
|
|
162
167
|
/**
|
|
@@ -262,14 +267,16 @@ export interface PhoneNumberCreateParams {
|
|
|
262
267
|
*/
|
|
263
268
|
fallback_number?: string | null;
|
|
264
269
|
/**
|
|
265
|
-
* Unique id of agent to bind to the number. The number will
|
|
266
|
-
* agent when receiving inbound calls. If null, this number
|
|
267
|
-
* inbound call.
|
|
270
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
271
|
+
* automatically use the agent when receiving inbound calls. If null, this number
|
|
272
|
+
* would not accept inbound call. Deprecated. See
|
|
273
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
268
274
|
*/
|
|
269
275
|
inbound_agent_id?: string | null;
|
|
270
276
|
/**
|
|
271
|
-
* Version of the inbound agent to bind to the number. If not provided,
|
|
272
|
-
* default to latest version.
|
|
277
|
+
* @deprecated Version of the inbound agent to bind to the number. If not provided,
|
|
278
|
+
* will default to latest version. Deprecated. See
|
|
279
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
273
280
|
*/
|
|
274
281
|
inbound_agent_version?: number | null;
|
|
275
282
|
/**
|
|
@@ -293,14 +300,17 @@ export interface PhoneNumberCreateParams {
|
|
|
293
300
|
*/
|
|
294
301
|
number_provider?: 'twilio' | 'telnyx';
|
|
295
302
|
/**
|
|
296
|
-
* Unique id of agent to bind to the number. The number will
|
|
297
|
-
* agent when conducting outbound calls. If null, this number
|
|
298
|
-
* initiate outbound call without agent id override.
|
|
303
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
304
|
+
* automatically use the agent when conducting outbound calls. If null, this number
|
|
305
|
+
* would not be able to initiate outbound call without agent id override.
|
|
306
|
+
* Deprecated. See
|
|
307
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
299
308
|
*/
|
|
300
309
|
outbound_agent_id?: string | null;
|
|
301
310
|
/**
|
|
302
|
-
* Version of the outbound agent to bind to the number. If not
|
|
303
|
-
* default to latest version.
|
|
311
|
+
* @deprecated Version of the outbound agent to bind to the number. If not
|
|
312
|
+
* provided, will default to latest version. Deprecated. See
|
|
313
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
304
314
|
*/
|
|
305
315
|
outbound_agent_version?: number | null;
|
|
306
316
|
/**
|
|
@@ -375,14 +385,16 @@ export interface PhoneNumberUpdateParams {
|
|
|
375
385
|
*/
|
|
376
386
|
fallback_number?: string | null;
|
|
377
387
|
/**
|
|
378
|
-
* Unique id of agent to bind to the number. The number will
|
|
379
|
-
* agent when receiving inbound calls. If set to null, this
|
|
380
|
-
* inbound call.
|
|
388
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
389
|
+
* automatically use the agent when receiving inbound calls. If set to null, this
|
|
390
|
+
* number would not accept inbound call. Deprecated. See
|
|
391
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
381
392
|
*/
|
|
382
393
|
inbound_agent_id?: string | null;
|
|
383
394
|
/**
|
|
384
|
-
* Version of the inbound agent to bind to the number. If not provided,
|
|
385
|
-
* default to latest version.
|
|
395
|
+
* @deprecated Version of the inbound agent to bind to the number. If not provided,
|
|
396
|
+
* will default to latest version. Deprecated. See
|
|
397
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
386
398
|
*/
|
|
387
399
|
inbound_agent_version?: number | null;
|
|
388
400
|
/**
|
|
@@ -414,9 +426,11 @@ export interface PhoneNumberUpdateParams {
|
|
|
414
426
|
*/
|
|
415
427
|
nickname?: string | null;
|
|
416
428
|
/**
|
|
417
|
-
* Unique id of agent to bind to the number. The number will
|
|
418
|
-
* agent when conducting outbound calls. If set to null, this
|
|
419
|
-
* able to initiate outbound call without agent id override.
|
|
429
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
430
|
+
* automatically use the agent when conducting outbound calls. If set to null, this
|
|
431
|
+
* number would not be able to initiate outbound call without agent id override.
|
|
432
|
+
* Deprecated. See
|
|
433
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
420
434
|
*/
|
|
421
435
|
outbound_agent_id?: string | null;
|
|
422
436
|
/**
|
|
@@ -511,14 +525,16 @@ export interface PhoneNumberImportParams {
|
|
|
511
525
|
*/
|
|
512
526
|
allowed_outbound_country_list?: Array<string> | null;
|
|
513
527
|
/**
|
|
514
|
-
* Unique id of agent to bind to the number. The number will
|
|
515
|
-
* agent when receiving inbound calls. If null, this number
|
|
516
|
-
* inbound call.
|
|
528
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
529
|
+
* automatically use the agent when receiving inbound calls. If null, this number
|
|
530
|
+
* would not accept inbound call. Deprecated. See
|
|
531
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
517
532
|
*/
|
|
518
533
|
inbound_agent_id?: string | null;
|
|
519
534
|
/**
|
|
520
|
-
* Version of the inbound agent to bind to the number. If not provided,
|
|
521
|
-
* default to latest version.
|
|
535
|
+
* @deprecated Version of the inbound agent to bind to the number. If not provided,
|
|
536
|
+
* will default to latest version. Deprecated. See
|
|
537
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
522
538
|
*/
|
|
523
539
|
inbound_agent_version?: number | null;
|
|
524
540
|
/**
|
|
@@ -538,14 +554,17 @@ export interface PhoneNumberImportParams {
|
|
|
538
554
|
*/
|
|
539
555
|
nickname?: string;
|
|
540
556
|
/**
|
|
541
|
-
* Unique id of agent to bind to the number. The number will
|
|
542
|
-
* agent when conducting outbound calls. If null, this number
|
|
543
|
-
* initiate outbound call without agent id override.
|
|
557
|
+
* @deprecated Unique id of agent to bind to the number. The number will
|
|
558
|
+
* automatically use the agent when conducting outbound calls. If null, this number
|
|
559
|
+
* would not be able to initiate outbound call without agent id override.
|
|
560
|
+
* Deprecated. See
|
|
561
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
544
562
|
*/
|
|
545
563
|
outbound_agent_id?: string | null;
|
|
546
564
|
/**
|
|
547
|
-
* Version of the outbound agent to bind to the number. If not
|
|
548
|
-
* default to latest version.
|
|
565
|
+
* @deprecated Version of the outbound agent to bind to the number. If not
|
|
566
|
+
* provided, will default to latest version. Deprecated. See
|
|
567
|
+
* https://docs.retellai.com/deprecation-notice/2026/03-31_phone_number_agent_fields
|
|
549
568
|
*/
|
|
550
569
|
outbound_agent_version?: number | null;
|
|
551
570
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-number.d.ts","sourceRoot":"","sources":["../src/resources/phone-number.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIhG;;;;;;;;OAQG;IACH,QAAQ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uB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,yBAAiB,uBAAuB,CAAC;IACvC,UAAiB,YAAY;QAC3B,QAAQ,EAAE,MAAM,CAAC;QAEjB;;;WAGG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB;IAED,UAAiB,aAAa;QAC5B,QAAQ,EAAE,MAAM,CAAC;QAEjB;;;WAGG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
package/resources/voice.d.mts
CHANGED
|
@@ -32,7 +32,7 @@ export interface VoiceResponse {
|
|
|
32
32
|
/**
|
|
33
33
|
* Indicates the provider of voice.
|
|
34
34
|
*/
|
|
35
|
-
provider: 'elevenlabs' | 'openai' | 'deepgram' | 'cartesia' | 'minimax';
|
|
35
|
+
provider: 'elevenlabs' | 'openai' | 'deepgram' | 'cartesia' | 'minimax' | 'fish_audio';
|
|
36
36
|
/**
|
|
37
37
|
* Unique id for the voice.
|
|
38
38
|
*/
|
|
@@ -97,12 +97,12 @@ export interface VoiceAddResourceParams {
|
|
|
97
97
|
/**
|
|
98
98
|
* Voice provider to add the voice from.
|
|
99
99
|
*/
|
|
100
|
-
voice_provider?: 'elevenlabs' | 'cartesia' | 'minimax';
|
|
100
|
+
voice_provider?: 'elevenlabs' | 'cartesia' | 'minimax' | 'fish_audio';
|
|
101
101
|
}
|
|
102
102
|
export interface VoiceCloneParams {
|
|
103
103
|
/**
|
|
104
104
|
* Audio files to use for voice cloning. Up to 25 files allowed. For Cartesia and
|
|
105
|
-
* MiniMax, only 1 file is supported.
|
|
105
|
+
* MiniMax, only 1 file is supported. For Inworld, up to 3 files are supported.
|
|
106
106
|
*/
|
|
107
107
|
files: Array<Uploadable>;
|
|
108
108
|
/**
|
|
@@ -110,9 +110,9 @@ export interface VoiceCloneParams {
|
|
|
110
110
|
*/
|
|
111
111
|
voice_name: string;
|
|
112
112
|
/**
|
|
113
|
-
* Voice provider to use for cloning.
|
|
113
|
+
* Voice provider to use for cloning.
|
|
114
114
|
*/
|
|
115
|
-
voice_provider
|
|
115
|
+
voice_provider: 'elevenlabs' | 'cartesia' | 'minimax' | 'fish_audio';
|
|
116
116
|
}
|
|
117
117
|
export interface VoiceSearchParams {
|
|
118
118
|
/**
|
|
@@ -122,7 +122,7 @@ export interface VoiceSearchParams {
|
|
|
122
122
|
/**
|
|
123
123
|
* Voice provider to search.
|
|
124
124
|
*/
|
|
125
|
-
voice_provider?: 'elevenlabs' | 'cartesia' | 'minimax';
|
|
125
|
+
voice_provider?: 'elevenlabs' | 'cartesia' | 'minimax' | 'fish_audio';
|
|
126
126
|
}
|
|
127
127
|
export declare namespace Voice {
|
|
128
128
|
export { type VoiceResponse as VoiceResponse, type VoiceListResponse as VoiceListResponse, type VoiceSearchResponse as VoiceSearchResponse, type VoiceAddResourceParams as VoiceAddResourceParams, type VoiceCloneParams as VoiceCloneParams, type VoiceSearchParams as VoiceSearchParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice.d.mts","sourceRoot":"","sources":["../src/resources/voice.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAA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GAAG,UAAU,GAAG,SAAS,GAAG,YAAY,CAAC;CACvE;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAEzB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,YAAY,CAAC;CACtE;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,cAAc,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,YAAY,CAAC;CACvE;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
package/resources/voice.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export interface VoiceResponse {
|
|
|
32
32
|
/**
|
|
33
33
|
* Indicates the provider of voice.
|
|
34
34
|
*/
|
|
35
|
-
provider: 'elevenlabs' | 'openai' | 'deepgram' | 'cartesia' | 'minimax';
|
|
35
|
+
provider: 'elevenlabs' | 'openai' | 'deepgram' | 'cartesia' | 'minimax' | 'fish_audio';
|
|
36
36
|
/**
|
|
37
37
|
* Unique id for the voice.
|
|
38
38
|
*/
|
|
@@ -97,12 +97,12 @@ export interface VoiceAddResourceParams {
|
|
|
97
97
|
/**
|
|
98
98
|
* Voice provider to add the voice from.
|
|
99
99
|
*/
|
|
100
|
-
voice_provider?: 'elevenlabs' | 'cartesia' | 'minimax';
|
|
100
|
+
voice_provider?: 'elevenlabs' | 'cartesia' | 'minimax' | 'fish_audio';
|
|
101
101
|
}
|
|
102
102
|
export interface VoiceCloneParams {
|
|
103
103
|
/**
|
|
104
104
|
* Audio files to use for voice cloning. Up to 25 files allowed. For Cartesia and
|
|
105
|
-
* MiniMax, only 1 file is supported.
|
|
105
|
+
* MiniMax, only 1 file is supported. For Inworld, up to 3 files are supported.
|
|
106
106
|
*/
|
|
107
107
|
files: Array<Uploadable>;
|
|
108
108
|
/**
|
|
@@ -110,9 +110,9 @@ export interface VoiceCloneParams {
|
|
|
110
110
|
*/
|
|
111
111
|
voice_name: string;
|
|
112
112
|
/**
|
|
113
|
-
* Voice provider to use for cloning.
|
|
113
|
+
* Voice provider to use for cloning.
|
|
114
114
|
*/
|
|
115
|
-
voice_provider
|
|
115
|
+
voice_provider: 'elevenlabs' | 'cartesia' | 'minimax' | 'fish_audio';
|
|
116
116
|
}
|
|
117
117
|
export interface VoiceSearchParams {
|
|
118
118
|
/**
|
|
@@ -122,7 +122,7 @@ export interface VoiceSearchParams {
|
|
|
122
122
|
/**
|
|
123
123
|
* Voice provider to search.
|
|
124
124
|
*/
|
|
125
|
-
voice_provider?: 'elevenlabs' | 'cartesia' | 'minimax';
|
|
125
|
+
voice_provider?: 'elevenlabs' | 'cartesia' | 'minimax' | 'fish_audio';
|
|
126
126
|
}
|
|
127
127
|
export declare namespace Voice {
|
|
128
128
|
export { type VoiceResponse as VoiceResponse, type VoiceListResponse as VoiceListResponse, type VoiceSearchResponse as VoiceSearchResponse, type VoiceAddResourceParams as VoiceAddResourceParams, type VoiceCloneParams as VoiceCloneParams, type VoiceSearchParams as VoiceSearchParams, };
|
package/resources/voice.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice.d.ts","sourceRoot":"","sources":["../src/resources/voice.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,cAAc,EAAE;AAIzB,qBAAa,KAAM,SA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ACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,cAAc,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,YAAY,CAAC;CACvE;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAEzB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,EAAE,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,YAAY,CAAC;CACtE;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,cAAc,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,YAAY,CAAC;CACvE;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
package/src/resources/agent.ts
CHANGED
|
@@ -216,6 +216,13 @@ export interface AgentResponse {
|
|
|
216
216
|
*/
|
|
217
217
|
analysis_summary_prompt?: string | null;
|
|
218
218
|
|
|
219
|
+
/**
|
|
220
|
+
* Prompt to guide how the post call or chat analysis should evaluate user
|
|
221
|
+
* sentiment. When unset, the default system prompt is used. Set to null to use the
|
|
222
|
+
* default prompt.
|
|
223
|
+
*/
|
|
224
|
+
analysis_user_sentiment_prompt?: string | null;
|
|
225
|
+
|
|
219
226
|
/**
|
|
220
227
|
* Only applicable when enable_backchannel is true. Controls how often the agent
|
|
221
228
|
* would backchannel when a backchannel is possible. Value ranging from [0,1].
|
|
@@ -254,6 +261,13 @@ export interface AgentResponse {
|
|
|
254
261
|
*/
|
|
255
262
|
custom_stt_config?: AgentResponse.CustomSttConfig;
|
|
256
263
|
|
|
264
|
+
/**
|
|
265
|
+
* Number of days to retain call/chat data before automatic deletion. Must be
|
|
266
|
+
* between 1 and 730 days. If not set, data is retained forever (no automatic
|
|
267
|
+
* deletion).
|
|
268
|
+
*/
|
|
269
|
+
data_storage_retention_days?: number | null;
|
|
270
|
+
|
|
257
271
|
/**
|
|
258
272
|
* Granular setting to manage how Retell stores sensitive data (transcripts,
|
|
259
273
|
* recordings, logs, etc.). This replaces the deprecated
|
|
@@ -563,6 +577,7 @@ export interface AgentResponse {
|
|
|
563
577
|
| 'gpt-4o-mini-tts'
|
|
564
578
|
| 'speech-02-turbo'
|
|
565
579
|
| 'speech-2.8-turbo'
|
|
580
|
+
| 's1'
|
|
566
581
|
| null;
|
|
567
582
|
|
|
568
583
|
/**
|
|
@@ -1016,6 +1031,13 @@ export interface AgentCreateParams {
|
|
|
1016
1031
|
*/
|
|
1017
1032
|
analysis_summary_prompt?: string | null;
|
|
1018
1033
|
|
|
1034
|
+
/**
|
|
1035
|
+
* Prompt to guide how the post call or chat analysis should evaluate user
|
|
1036
|
+
* sentiment. When unset, the default system prompt is used. Set to null to use the
|
|
1037
|
+
* default prompt.
|
|
1038
|
+
*/
|
|
1039
|
+
analysis_user_sentiment_prompt?: string | null;
|
|
1040
|
+
|
|
1019
1041
|
/**
|
|
1020
1042
|
* Only applicable when enable_backchannel is true. Controls how often the agent
|
|
1021
1043
|
* would backchannel when a backchannel is possible. Value ranging from [0,1].
|
|
@@ -1054,6 +1076,13 @@ export interface AgentCreateParams {
|
|
|
1054
1076
|
*/
|
|
1055
1077
|
custom_stt_config?: AgentCreateParams.CustomSttConfig;
|
|
1056
1078
|
|
|
1079
|
+
/**
|
|
1080
|
+
* Number of days to retain call/chat data before automatic deletion. Must be
|
|
1081
|
+
* between 1 and 730 days. If not set, data is retained forever (no automatic
|
|
1082
|
+
* deletion).
|
|
1083
|
+
*/
|
|
1084
|
+
data_storage_retention_days?: number | null;
|
|
1085
|
+
|
|
1057
1086
|
/**
|
|
1058
1087
|
* Granular setting to manage how Retell stores sensitive data (transcripts,
|
|
1059
1088
|
* recordings, logs, etc.). This replaces the deprecated
|
|
@@ -1358,6 +1387,7 @@ export interface AgentCreateParams {
|
|
|
1358
1387
|
| 'gpt-4o-mini-tts'
|
|
1359
1388
|
| 'speech-02-turbo'
|
|
1360
1389
|
| 'speech-2.8-turbo'
|
|
1390
|
+
| 's1'
|
|
1361
1391
|
| null;
|
|
1362
1392
|
|
|
1363
1393
|
/**
|
|
@@ -1805,6 +1835,13 @@ export interface AgentUpdateParams {
|
|
|
1805
1835
|
*/
|
|
1806
1836
|
analysis_summary_prompt?: string | null;
|
|
1807
1837
|
|
|
1838
|
+
/**
|
|
1839
|
+
* Body param: Prompt to guide how the post call or chat analysis should evaluate
|
|
1840
|
+
* user sentiment. When unset, the default system prompt is used. Set to null to
|
|
1841
|
+
* use the default prompt.
|
|
1842
|
+
*/
|
|
1843
|
+
analysis_user_sentiment_prompt?: string | null;
|
|
1844
|
+
|
|
1808
1845
|
/**
|
|
1809
1846
|
* Body param: Only applicable when enable_backchannel is true. Controls how often
|
|
1810
1847
|
* the agent would backchannel when a backchannel is possible. Value ranging from
|
|
@@ -1843,6 +1880,13 @@ export interface AgentUpdateParams {
|
|
|
1843
1880
|
*/
|
|
1844
1881
|
custom_stt_config?: AgentUpdateParams.CustomSttConfig;
|
|
1845
1882
|
|
|
1883
|
+
/**
|
|
1884
|
+
* Body param: Number of days to retain call/chat data before automatic deletion.
|
|
1885
|
+
* Must be between 1 and 730 days. If not set, data is retained forever (no
|
|
1886
|
+
* automatic deletion).
|
|
1887
|
+
*/
|
|
1888
|
+
data_storage_retention_days?: number | null;
|
|
1889
|
+
|
|
1846
1890
|
/**
|
|
1847
1891
|
* Body param: Granular setting to manage how Retell stores sensitive data
|
|
1848
1892
|
* (transcripts, recordings, logs, etc.). This replaces the deprecated
|
|
@@ -2173,6 +2217,7 @@ export interface AgentUpdateParams {
|
|
|
2173
2217
|
| 'gpt-4o-mini-tts'
|
|
2174
2218
|
| 'speech-02-turbo'
|
|
2175
2219
|
| 'speech-2.8-turbo'
|
|
2220
|
+
| 's1'
|
|
2176
2221
|
| null;
|
|
2177
2222
|
|
|
2178
2223
|
/**
|