retell-sdk 5.28.0 → 5.30.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 +16 -0
  2. package/package.json +1 -1
  3. package/resources/agent.d.mts +4 -3
  4. package/resources/agent.d.mts.map +1 -1
  5. package/resources/agent.d.ts +4 -3
  6. package/resources/agent.d.ts.map +1 -1
  7. package/resources/batch-call.d.mts +1 -1
  8. package/resources/batch-call.d.ts +1 -1
  9. package/resources/call.d.mts +73 -13
  10. package/resources/call.d.mts.map +1 -1
  11. package/resources/call.d.ts +73 -13
  12. package/resources/call.d.ts.map +1 -1
  13. package/resources/chat.d.mts +327 -2
  14. package/resources/chat.d.mts.map +1 -1
  15. package/resources/chat.d.ts +327 -2
  16. package/resources/chat.d.ts.map +1 -1
  17. package/resources/concurrency.d.mts +4 -0
  18. package/resources/concurrency.d.mts.map +1 -1
  19. package/resources/concurrency.d.ts +4 -0
  20. package/resources/concurrency.d.ts.map +1 -1
  21. package/resources/conversation-flow-component.d.mts +27 -0
  22. package/resources/conversation-flow-component.d.mts.map +1 -1
  23. package/resources/conversation-flow-component.d.ts +27 -0
  24. package/resources/conversation-flow-component.d.ts.map +1 -1
  25. package/resources/conversation-flow.d.mts +54 -0
  26. package/resources/conversation-flow.d.mts.map +1 -1
  27. package/resources/conversation-flow.d.ts +54 -0
  28. package/resources/conversation-flow.d.ts.map +1 -1
  29. package/resources/llm.d.mts +30 -0
  30. package/resources/llm.d.mts.map +1 -1
  31. package/resources/llm.d.ts +30 -0
  32. package/resources/llm.d.ts.map +1 -1
  33. package/resources/phone-number.d.mts +102 -63
  34. package/resources/phone-number.d.mts.map +1 -1
  35. package/resources/phone-number.d.ts +102 -63
  36. package/resources/phone-number.d.ts.map +1 -1
  37. package/resources/voice.d.mts +1 -1
  38. package/resources/voice.d.mts.map +1 -1
  39. package/resources/voice.d.ts +1 -1
  40. package/resources/voice.d.ts.map +1 -1
  41. package/src/resources/agent.ts +4 -3
  42. package/src/resources/batch-call.ts +1 -1
  43. package/src/resources/call.ts +85 -4
  44. package/src/resources/chat.ts +474 -2
  45. package/src/resources/concurrency.ts +5 -0
  46. package/src/resources/conversation-flow-component.ts +33 -0
  47. package/src/resources/conversation-flow.ts +66 -0
  48. package/src/resources/llm.ts +36 -0
  49. package/src/resources/phone-number.ts +102 -63
  50. package/src/resources/voice.ts +1 -1
  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
@@ -2274,6 +2274,12 @@ export namespace ConversationFlowComponentResponse {
2274
2274
  | ExtractDynamicVariableTool.BooleanAnalysisData
2275
2275
  | ExtractDynamicVariableTool.NumberAnalysisData
2276
2276
  >;
2277
+
2278
+ /**
2279
+ * If true, play a typing sound on the agent audio track while this tool is
2280
+ * executing.
2281
+ */
2282
+ enable_typing_sound?: boolean;
2277
2283
  }
2278
2284
 
2279
2285
  export namespace ExtractDynamicVariableTool {
@@ -5690,6 +5696,11 @@ export namespace ConversationFlowComponentResponse {
5690
5696
 
5691
5697
  else_edge?: ExtractDynamicVariablesNode.ElseEdge;
5692
5698
 
5699
+ /**
5700
+ * If true, play a typing sound while this extract step executes.
5701
+ */
5702
+ enable_typing_sound?: boolean;
5703
+
5693
5704
  finetune_transition_examples?: Array<ExtractDynamicVariablesNode.FinetuneTransitionExample>;
5694
5705
 
5695
5706
  global_node_setting?: ExtractDynamicVariablesNode.GlobalNodeSetting;
@@ -10514,6 +10525,12 @@ export namespace ConversationFlowComponentCreateParams {
10514
10525
  | ExtractDynamicVariableTool.BooleanAnalysisData
10515
10526
  | ExtractDynamicVariableTool.NumberAnalysisData
10516
10527
  >;
10528
+
10529
+ /**
10530
+ * If true, play a typing sound on the agent audio track while this tool is
10531
+ * executing.
10532
+ */
10533
+ enable_typing_sound?: boolean;
10517
10534
  }
10518
10535
 
10519
10536
  export namespace ExtractDynamicVariableTool {
@@ -13930,6 +13947,11 @@ export namespace ConversationFlowComponentCreateParams {
13930
13947
 
13931
13948
  else_edge?: ExtractDynamicVariablesNode.ElseEdge;
13932
13949
 
13950
+ /**
13951
+ * If true, play a typing sound while this extract step executes.
13952
+ */
13953
+ enable_typing_sound?: boolean;
13954
+
13933
13955
  finetune_transition_examples?: Array<ExtractDynamicVariablesNode.FinetuneTransitionExample>;
13934
13956
 
13935
13957
  global_node_setting?: ExtractDynamicVariablesNode.GlobalNodeSetting;
@@ -18774,6 +18796,12 @@ export namespace ConversationFlowComponentUpdateParams {
18774
18796
  | ExtractDynamicVariableTool.BooleanAnalysisData
18775
18797
  | ExtractDynamicVariableTool.NumberAnalysisData
18776
18798
  >;
18799
+
18800
+ /**
18801
+ * If true, play a typing sound on the agent audio track while this tool is
18802
+ * executing.
18803
+ */
18804
+ enable_typing_sound?: boolean;
18777
18805
  }
18778
18806
 
18779
18807
  export namespace ExtractDynamicVariableTool {
@@ -22190,6 +22218,11 @@ export namespace ConversationFlowComponentUpdateParams {
22190
22218
 
22191
22219
  else_edge?: ExtractDynamicVariablesNode.ElseEdge;
22192
22220
 
22221
+ /**
22222
+ * If true, play a typing sound while this extract step executes.
22223
+ */
22224
+ enable_typing_sound?: boolean;
22225
+
22193
22226
  finetune_transition_examples?: Array<ExtractDynamicVariablesNode.FinetuneTransitionExample>;
22194
22227
 
22195
22228
  global_node_setting?: ExtractDynamicVariablesNode.GlobalNodeSetting;
@@ -2397,6 +2397,12 @@ export namespace ConversationFlowResponse {
2397
2397
  | ExtractDynamicVariableTool.BooleanAnalysisData
2398
2398
  | ExtractDynamicVariableTool.NumberAnalysisData
2399
2399
  >;
2400
+
2401
+ /**
2402
+ * If true, play a typing sound on the agent audio track while this tool is
2403
+ * executing.
2404
+ */
2405
+ enable_typing_sound?: boolean;
2400
2406
  }
2401
2407
 
2402
2408
  export namespace ExtractDynamicVariableTool {
@@ -5813,6 +5819,11 @@ export namespace ConversationFlowResponse {
5813
5819
 
5814
5820
  else_edge?: ExtractDynamicVariablesNode.ElseEdge;
5815
5821
 
5822
+ /**
5823
+ * If true, play a typing sound while this extract step executes.
5824
+ */
5825
+ enable_typing_sound?: boolean;
5826
+
5816
5827
  finetune_transition_examples?: Array<ExtractDynamicVariablesNode.FinetuneTransitionExample>;
5817
5828
 
5818
5829
  global_node_setting?: ExtractDynamicVariablesNode.GlobalNodeSetting;
@@ -10638,6 +10649,12 @@ export namespace ConversationFlowResponse {
10638
10649
  | ExtractDynamicVariableTool.BooleanAnalysisData
10639
10650
  | ExtractDynamicVariableTool.NumberAnalysisData
10640
10651
  >;
10652
+
10653
+ /**
10654
+ * If true, play a typing sound on the agent audio track while this tool is
10655
+ * executing.
10656
+ */
10657
+ enable_typing_sound?: boolean;
10641
10658
  }
10642
10659
 
10643
10660
  export namespace ExtractDynamicVariableTool {
@@ -14054,6 +14071,11 @@ export namespace ConversationFlowResponse {
14054
14071
 
14055
14072
  else_edge?: ExtractDynamicVariablesNode.ElseEdge;
14056
14073
 
14074
+ /**
14075
+ * If true, play a typing sound while this extract step executes.
14076
+ */
14077
+ enable_typing_sound?: boolean;
14078
+
14057
14079
  finetune_transition_examples?: Array<ExtractDynamicVariablesNode.FinetuneTransitionExample>;
14058
14080
 
14059
14081
  global_node_setting?: ExtractDynamicVariablesNode.GlobalNodeSetting;
@@ -18939,6 +18961,12 @@ export namespace ConversationFlowCreateParams {
18939
18961
  | ExtractDynamicVariableTool.BooleanAnalysisData
18940
18962
  | ExtractDynamicVariableTool.NumberAnalysisData
18941
18963
  >;
18964
+
18965
+ /**
18966
+ * If true, play a typing sound on the agent audio track while this tool is
18967
+ * executing.
18968
+ */
18969
+ enable_typing_sound?: boolean;
18942
18970
  }
18943
18971
 
18944
18972
  export namespace ExtractDynamicVariableTool {
@@ -22355,6 +22383,11 @@ export namespace ConversationFlowCreateParams {
22355
22383
 
22356
22384
  else_edge?: ExtractDynamicVariablesNode.ElseEdge;
22357
22385
 
22386
+ /**
22387
+ * If true, play a typing sound while this extract step executes.
22388
+ */
22389
+ enable_typing_sound?: boolean;
22390
+
22358
22391
  finetune_transition_examples?: Array<ExtractDynamicVariablesNode.FinetuneTransitionExample>;
22359
22392
 
22360
22393
  global_node_setting?: ExtractDynamicVariablesNode.GlobalNodeSetting;
@@ -26866,6 +26899,12 @@ export namespace ConversationFlowCreateParams {
26866
26899
  | ExtractDynamicVariableTool.BooleanAnalysisData
26867
26900
  | ExtractDynamicVariableTool.NumberAnalysisData
26868
26901
  >;
26902
+
26903
+ /**
26904
+ * If true, play a typing sound on the agent audio track while this tool is
26905
+ * executing.
26906
+ */
26907
+ enable_typing_sound?: boolean;
26869
26908
  }
26870
26909
 
26871
26910
  export namespace ExtractDynamicVariableTool {
@@ -30282,6 +30321,11 @@ export namespace ConversationFlowCreateParams {
30282
30321
 
30283
30322
  else_edge?: ExtractDynamicVariablesNode.ElseEdge;
30284
30323
 
30324
+ /**
30325
+ * If true, play a typing sound while this extract step executes.
30326
+ */
30327
+ enable_typing_sound?: boolean;
30328
+
30285
30329
  finetune_transition_examples?: Array<ExtractDynamicVariablesNode.FinetuneTransitionExample>;
30286
30330
 
30287
30331
  global_node_setting?: ExtractDynamicVariablesNode.GlobalNodeSetting;
@@ -35546,6 +35590,12 @@ export namespace ConversationFlowUpdateParams {
35546
35590
  | ExtractDynamicVariableTool.BooleanAnalysisData
35547
35591
  | ExtractDynamicVariableTool.NumberAnalysisData
35548
35592
  >;
35593
+
35594
+ /**
35595
+ * If true, play a typing sound on the agent audio track while this tool is
35596
+ * executing.
35597
+ */
35598
+ enable_typing_sound?: boolean;
35549
35599
  }
35550
35600
 
35551
35601
  export namespace ExtractDynamicVariableTool {
@@ -38962,6 +39012,11 @@ export namespace ConversationFlowUpdateParams {
38962
39012
 
38963
39013
  else_edge?: ExtractDynamicVariablesNode.ElseEdge;
38964
39014
 
39015
+ /**
39016
+ * If true, play a typing sound while this extract step executes.
39017
+ */
39018
+ enable_typing_sound?: boolean;
39019
+
38965
39020
  finetune_transition_examples?: Array<ExtractDynamicVariablesNode.FinetuneTransitionExample>;
38966
39021
 
38967
39022
  global_node_setting?: ExtractDynamicVariablesNode.GlobalNodeSetting;
@@ -43787,6 +43842,12 @@ export namespace ConversationFlowUpdateParams {
43787
43842
  | ExtractDynamicVariableTool.BooleanAnalysisData
43788
43843
  | ExtractDynamicVariableTool.NumberAnalysisData
43789
43844
  >;
43845
+
43846
+ /**
43847
+ * If true, play a typing sound on the agent audio track while this tool is
43848
+ * executing.
43849
+ */
43850
+ enable_typing_sound?: boolean;
43790
43851
  }
43791
43852
 
43792
43853
  export namespace ExtractDynamicVariableTool {
@@ -47203,6 +47264,11 @@ export namespace ConversationFlowUpdateParams {
47203
47264
 
47204
47265
  else_edge?: ExtractDynamicVariablesNode.ElseEdge;
47205
47266
 
47267
+ /**
47268
+ * If true, play a typing sound while this extract step executes.
47269
+ */
47270
+ enable_typing_sound?: boolean;
47271
+
47206
47272
  finetune_transition_examples?: Array<ExtractDynamicVariablesNode.FinetuneTransitionExample>;
47207
47273
 
47208
47274
  global_node_setting?: ExtractDynamicVariablesNode.GlobalNodeSetting;
@@ -1093,6 +1093,12 @@ export namespace LlmResponse {
1093
1093
  | ExtractDynamicVariableTool.BooleanAnalysisData
1094
1094
  | ExtractDynamicVariableTool.NumberAnalysisData
1095
1095
  >;
1096
+
1097
+ /**
1098
+ * If true, play a typing sound on the agent audio track while this tool is
1099
+ * executing.
1100
+ */
1101
+ enable_typing_sound?: boolean;
1096
1102
  }
1097
1103
 
1098
1104
  export namespace ExtractDynamicVariableTool {
@@ -2359,6 +2365,12 @@ export namespace LlmResponse {
2359
2365
  | ExtractDynamicVariableTool.BooleanAnalysisData
2360
2366
  | ExtractDynamicVariableTool.NumberAnalysisData
2361
2367
  >;
2368
+
2369
+ /**
2370
+ * If true, play a typing sound on the agent audio track while this tool is
2371
+ * executing.
2372
+ */
2373
+ enable_typing_sound?: boolean;
2362
2374
  }
2363
2375
 
2364
2376
  export namespace ExtractDynamicVariableTool {
@@ -3641,6 +3653,12 @@ export namespace LlmCreateParams {
3641
3653
  | ExtractDynamicVariableTool.BooleanAnalysisData
3642
3654
  | ExtractDynamicVariableTool.NumberAnalysisData
3643
3655
  >;
3656
+
3657
+ /**
3658
+ * If true, play a typing sound on the agent audio track while this tool is
3659
+ * executing.
3660
+ */
3661
+ enable_typing_sound?: boolean;
3644
3662
  }
3645
3663
 
3646
3664
  export namespace ExtractDynamicVariableTool {
@@ -4907,6 +4925,12 @@ export namespace LlmCreateParams {
4907
4925
  | ExtractDynamicVariableTool.BooleanAnalysisData
4908
4926
  | ExtractDynamicVariableTool.NumberAnalysisData
4909
4927
  >;
4928
+
4929
+ /**
4930
+ * If true, play a typing sound on the agent audio track while this tool is
4931
+ * executing.
4932
+ */
4933
+ enable_typing_sound?: boolean;
4910
4934
  }
4911
4935
 
4912
4936
  export namespace ExtractDynamicVariableTool {
@@ -6191,6 +6215,12 @@ export namespace LlmUpdateParams {
6191
6215
  | ExtractDynamicVariableTool.BooleanAnalysisData
6192
6216
  | ExtractDynamicVariableTool.NumberAnalysisData
6193
6217
  >;
6218
+
6219
+ /**
6220
+ * If true, play a typing sound on the agent audio track while this tool is
6221
+ * executing.
6222
+ */
6223
+ enable_typing_sound?: boolean;
6194
6224
  }
6195
6225
 
6196
6226
  export namespace ExtractDynamicVariableTool {
@@ -7457,6 +7487,12 @@ export namespace LlmUpdateParams {
7457
7487
  | ExtractDynamicVariableTool.BooleanAnalysisData
7458
7488
  | ExtractDynamicVariableTool.NumberAnalysisData
7459
7489
  >;
7490
+
7491
+ /**
7492
+ * If true, play a typing sound on the agent audio track while this tool is
7493
+ * executing.
7494
+ */
7495
+ enable_typing_sound?: boolean;
7460
7496
  }
7461
7497
 
7462
7498
  export namespace ExtractDynamicVariableTool {
@@ -154,7 +154,8 @@ export interface PhoneNumberResponse {
154
154
 
155
155
  /**
156
156
  * Enterprise only. Phone number to transfer inbound calls to when organization is
157
- * in outage mode. Can be either a Retell phone number or an external number.
157
+ * in outage mode or when an inbound call cannot get a concurrency slot before the
158
+ * fallback timeout. Can be either a Retell phone number or an external number.
158
159
  * Cannot be the same as this phone number, and cannot be a number that already has
159
160
  * its own fallback configured (prevents nested forwarding).
160
161
  */
@@ -227,11 +228,14 @@ export namespace PhoneNumberResponse {
227
228
 
228
229
  /**
229
230
  * Agent version reference. Supports a numeric version (for example 3) or a
230
- * tag/environment name (for example "prod"). When a tag is provided, resolution
231
- * uses that exact tag assignment (including its dynamic variables). If the tag
232
- * exists but is currently unassigned, it resolves to latest. When a numeric
233
- * version (or latest) is provided, resolution applies dynamic variables from the
234
- * preferred tag for that resolved version (most recently assigned), if any.
231
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
232
+ * most recently created version (the largest version number), and
233
+ * "latest_published" resolves to the most recently published version. When a tag
234
+ * is provided, resolution uses that exact tag assignment (including its dynamic
235
+ * variables). If the tag exists but is currently unassigned, it resolves to
236
+ * latest. When a numeric version, latest, or latest_published is provided,
237
+ * resolution applies dynamic variables from the preferred tag for that resolved
238
+ * version (most recently assigned), if any.
235
239
  */
236
240
  agent_version?: number | string;
237
241
  }
@@ -247,11 +251,14 @@ export namespace PhoneNumberResponse {
247
251
 
248
252
  /**
249
253
  * Agent version reference. Supports a numeric version (for example 3) or a
250
- * tag/environment name (for example "prod"). When a tag is provided, resolution
251
- * uses that exact tag assignment (including its dynamic variables). If the tag
252
- * exists but is currently unassigned, it resolves to latest. When a numeric
253
- * version (or latest) is provided, resolution applies dynamic variables from the
254
- * preferred tag for that resolved version (most recently assigned), if any.
254
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
255
+ * most recently created version (the largest version number), and
256
+ * "latest_published" resolves to the most recently published version. When a tag
257
+ * is provided, resolution uses that exact tag assignment (including its dynamic
258
+ * variables). If the tag exists but is currently unassigned, it resolves to
259
+ * latest. When a numeric version, latest, or latest_published is provided,
260
+ * resolution applies dynamic variables from the preferred tag for that resolved
261
+ * version (most recently assigned), if any.
255
262
  */
256
263
  agent_version?: number | string;
257
264
  }
@@ -267,11 +274,14 @@ export namespace PhoneNumberResponse {
267
274
 
268
275
  /**
269
276
  * Agent version reference. Supports a numeric version (for example 3) or a
270
- * tag/environment name (for example "prod"). When a tag is provided, resolution
271
- * uses that exact tag assignment (including its dynamic variables). If the tag
272
- * exists but is currently unassigned, it resolves to latest. When a numeric
273
- * version (or latest) is provided, resolution applies dynamic variables from the
274
- * preferred tag for that resolved version (most recently assigned), if any.
277
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
278
+ * most recently created version (the largest version number), and
279
+ * "latest_published" resolves to the most recently published version. When a tag
280
+ * is provided, resolution uses that exact tag assignment (including its dynamic
281
+ * variables). If the tag exists but is currently unassigned, it resolves to
282
+ * latest. When a numeric version, latest, or latest_published is provided,
283
+ * resolution applies dynamic variables from the preferred tag for that resolved
284
+ * version (most recently assigned), if any.
275
285
  */
276
286
  agent_version?: number | string;
277
287
  }
@@ -287,11 +297,14 @@ export namespace PhoneNumberResponse {
287
297
 
288
298
  /**
289
299
  * Agent version reference. Supports a numeric version (for example 3) or a
290
- * tag/environment name (for example "prod"). When a tag is provided, resolution
291
- * uses that exact tag assignment (including its dynamic variables). If the tag
292
- * exists but is currently unassigned, it resolves to latest. When a numeric
293
- * version (or latest) is provided, resolution applies dynamic variables from the
294
- * preferred tag for that resolved version (most recently assigned), if any.
300
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
301
+ * most recently created version (the largest version number), and
302
+ * "latest_published" resolves to the most recently published version. When a tag
303
+ * is provided, resolution uses that exact tag assignment (including its dynamic
304
+ * variables). If the tag exists but is currently unassigned, it resolves to
305
+ * latest. When a numeric version, latest, or latest_published is provided,
306
+ * resolution applies dynamic variables from the preferred tag for that resolved
307
+ * version (most recently assigned), if any.
295
308
  */
296
309
  agent_version?: number | string;
297
310
  }
@@ -356,7 +369,8 @@ export interface PhoneNumberCreateParams {
356
369
 
357
370
  /**
358
371
  * Enterprise only. Phone number to transfer inbound calls to when organization is
359
- * in outage mode. Can be either a Retell phone number or an external number.
372
+ * in outage mode or when an inbound call cannot get a concurrency slot before the
373
+ * fallback timeout. Can be either a Retell phone number or an external number.
360
374
  * Cannot be the same as this phone number, and cannot be a number that already has
361
375
  * its own fallback configured (prevents nested forwarding).
362
376
  */
@@ -422,11 +436,14 @@ export namespace PhoneNumberCreateParams {
422
436
 
423
437
  /**
424
438
  * Agent version reference. Supports a numeric version (for example 3) or a
425
- * tag/environment name (for example "prod"). When a tag is provided, resolution
426
- * uses that exact tag assignment (including its dynamic variables). If the tag
427
- * exists but is currently unassigned, it resolves to latest. When a numeric
428
- * version (or latest) is provided, resolution applies dynamic variables from the
429
- * preferred tag for that resolved version (most recently assigned), if any.
439
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
440
+ * most recently created version (the largest version number), and
441
+ * "latest_published" resolves to the most recently published version. When a tag
442
+ * is provided, resolution uses that exact tag assignment (including its dynamic
443
+ * variables). If the tag exists but is currently unassigned, it resolves to
444
+ * latest. When a numeric version, latest, or latest_published is provided,
445
+ * resolution applies dynamic variables from the preferred tag for that resolved
446
+ * version (most recently assigned), if any.
430
447
  */
431
448
  agent_version?: number | string;
432
449
  }
@@ -442,11 +459,14 @@ export namespace PhoneNumberCreateParams {
442
459
 
443
460
  /**
444
461
  * Agent version reference. Supports a numeric version (for example 3) or a
445
- * tag/environment name (for example "prod"). When a tag is provided, resolution
446
- * uses that exact tag assignment (including its dynamic variables). If the tag
447
- * exists but is currently unassigned, it resolves to latest. When a numeric
448
- * version (or latest) is provided, resolution applies dynamic variables from the
449
- * preferred tag for that resolved version (most recently assigned), if any.
462
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
463
+ * most recently created version (the largest version number), and
464
+ * "latest_published" resolves to the most recently published version. When a tag
465
+ * is provided, resolution uses that exact tag assignment (including its dynamic
466
+ * variables). If the tag exists but is currently unassigned, it resolves to
467
+ * latest. When a numeric version, latest, or latest_published is provided,
468
+ * resolution applies dynamic variables from the preferred tag for that resolved
469
+ * version (most recently assigned), if any.
450
470
  */
451
471
  agent_version?: number | string;
452
472
  }
@@ -479,7 +499,8 @@ export interface PhoneNumberUpdateParams {
479
499
 
480
500
  /**
481
501
  * Enterprise only. Phone number to transfer inbound calls to when organization is
482
- * in outage mode. Can be either a Retell phone number or an external number. Set
502
+ * in outage mode or when an inbound call cannot get a concurrency slot before the
503
+ * fallback timeout. Can be either a Retell phone number or an external number. Set
483
504
  * to null to remove. Cannot be the same as this phone number, and cannot be a
484
505
  * number that already has its own fallback configured (prevents nested
485
506
  * forwarding).
@@ -558,11 +579,14 @@ export namespace PhoneNumberUpdateParams {
558
579
 
559
580
  /**
560
581
  * Agent version reference. Supports a numeric version (for example 3) or a
561
- * tag/environment name (for example "prod"). When a tag is provided, resolution
562
- * uses that exact tag assignment (including its dynamic variables). If the tag
563
- * exists but is currently unassigned, it resolves to latest. When a numeric
564
- * version (or latest) is provided, resolution applies dynamic variables from the
565
- * preferred tag for that resolved version (most recently assigned), if any.
582
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
583
+ * most recently created version (the largest version number), and
584
+ * "latest_published" resolves to the most recently published version. When a tag
585
+ * is provided, resolution uses that exact tag assignment (including its dynamic
586
+ * variables). If the tag exists but is currently unassigned, it resolves to
587
+ * latest. When a numeric version, latest, or latest_published is provided,
588
+ * resolution applies dynamic variables from the preferred tag for that resolved
589
+ * version (most recently assigned), if any.
566
590
  */
567
591
  agent_version?: number | string;
568
592
  }
@@ -578,11 +602,14 @@ export namespace PhoneNumberUpdateParams {
578
602
 
579
603
  /**
580
604
  * Agent version reference. Supports a numeric version (for example 3) or a
581
- * tag/environment name (for example "prod"). When a tag is provided, resolution
582
- * uses that exact tag assignment (including its dynamic variables). If the tag
583
- * exists but is currently unassigned, it resolves to latest. When a numeric
584
- * version (or latest) is provided, resolution applies dynamic variables from the
585
- * preferred tag for that resolved version (most recently assigned), if any.
605
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
606
+ * most recently created version (the largest version number), and
607
+ * "latest_published" resolves to the most recently published version. When a tag
608
+ * is provided, resolution uses that exact tag assignment (including its dynamic
609
+ * variables). If the tag exists but is currently unassigned, it resolves to
610
+ * latest. When a numeric version, latest, or latest_published is provided,
611
+ * resolution applies dynamic variables from the preferred tag for that resolved
612
+ * version (most recently assigned), if any.
586
613
  */
587
614
  agent_version?: number | string;
588
615
  }
@@ -598,11 +625,14 @@ export namespace PhoneNumberUpdateParams {
598
625
 
599
626
  /**
600
627
  * Agent version reference. Supports a numeric version (for example 3) or a
601
- * tag/environment name (for example "prod"). When a tag is provided, resolution
602
- * uses that exact tag assignment (including its dynamic variables). If the tag
603
- * exists but is currently unassigned, it resolves to latest. When a numeric
604
- * version (or latest) is provided, resolution applies dynamic variables from the
605
- * preferred tag for that resolved version (most recently assigned), if any.
628
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
629
+ * most recently created version (the largest version number), and
630
+ * "latest_published" resolves to the most recently published version. When a tag
631
+ * is provided, resolution uses that exact tag assignment (including its dynamic
632
+ * variables). If the tag exists but is currently unassigned, it resolves to
633
+ * latest. When a numeric version, latest, or latest_published is provided,
634
+ * resolution applies dynamic variables from the preferred tag for that resolved
635
+ * version (most recently assigned), if any.
606
636
  */
607
637
  agent_version?: number | string;
608
638
  }
@@ -618,11 +648,14 @@ export namespace PhoneNumberUpdateParams {
618
648
 
619
649
  /**
620
650
  * Agent version reference. Supports a numeric version (for example 3) or a
621
- * tag/environment name (for example "prod"). When a tag is provided, resolution
622
- * uses that exact tag assignment (including its dynamic variables). If the tag
623
- * exists but is currently unassigned, it resolves to latest. When a numeric
624
- * version (or latest) is provided, resolution applies dynamic variables from the
625
- * preferred tag for that resolved version (most recently assigned), if any.
651
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
652
+ * most recently created version (the largest version number), and
653
+ * "latest_published" resolves to the most recently published version. When a tag
654
+ * is provided, resolution uses that exact tag assignment (including its dynamic
655
+ * variables). If the tag exists but is currently unassigned, it resolves to
656
+ * latest. When a numeric version, latest, or latest_published is provided,
657
+ * resolution applies dynamic variables from the preferred tag for that resolved
658
+ * version (most recently assigned), if any.
626
659
  */
627
660
  agent_version?: number | string;
628
661
  }
@@ -734,11 +767,14 @@ export namespace PhoneNumberImportParams {
734
767
 
735
768
  /**
736
769
  * Agent version reference. Supports a numeric version (for example 3) or a
737
- * tag/environment name (for example "prod"). When a tag is provided, resolution
738
- * uses that exact tag assignment (including its dynamic variables). If the tag
739
- * exists but is currently unassigned, it resolves to latest. When a numeric
740
- * version (or latest) is provided, resolution applies dynamic variables from the
741
- * preferred tag for that resolved version (most recently assigned), if any.
770
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
771
+ * most recently created version (the largest version number), and
772
+ * "latest_published" resolves to the most recently published version. When a tag
773
+ * is provided, resolution uses that exact tag assignment (including its dynamic
774
+ * variables). If the tag exists but is currently unassigned, it resolves to
775
+ * latest. When a numeric version, latest, or latest_published is provided,
776
+ * resolution applies dynamic variables from the preferred tag for that resolved
777
+ * version (most recently assigned), if any.
742
778
  */
743
779
  agent_version?: number | string;
744
780
  }
@@ -754,11 +790,14 @@ export namespace PhoneNumberImportParams {
754
790
 
755
791
  /**
756
792
  * Agent version reference. Supports a numeric version (for example 3) or a
757
- * tag/environment name (for example "prod"). When a tag is provided, resolution
758
- * uses that exact tag assignment (including its dynamic variables). If the tag
759
- * exists but is currently unassigned, it resolves to latest. When a numeric
760
- * version (or latest) is provided, resolution applies dynamic variables from the
761
- * preferred tag for that resolved version (most recently assigned), if any.
793
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
794
+ * most recently created version (the largest version number), and
795
+ * "latest_published" resolves to the most recently published version. When a tag
796
+ * is provided, resolution uses that exact tag assignment (including its dynamic
797
+ * variables). If the tag exists but is currently unassigned, it resolves to
798
+ * latest. When a numeric version, latest, or latest_published is provided,
799
+ * resolution applies dynamic variables from the preferred tag for that resolved
800
+ * version (most recently assigned), if any.
762
801
  */
763
802
  agent_version?: number | string;
764
803
  }
@@ -53,7 +53,7 @@ export interface VoiceResponse {
53
53
  /**
54
54
  * Indicates the provider of voice.
55
55
  */
56
- provider: 'elevenlabs' | 'openai' | 'deepgram' | 'cartesia' | 'minimax' | 'fish_audio' | 'platform';
56
+ provider: 'elevenlabs' | 'openai' | 'cartesia' | 'minimax' | 'fish_audio' | 'platform';
57
57
 
58
58
  /**
59
59
  * Unique id for the voice.
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.28.0'; // x-release-please-version
1
+ export const VERSION = '5.30.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.28.0";
1
+ export declare const VERSION = "5.30.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.28.0";
1
+ export declare const VERSION = "5.30.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.28.0'; // x-release-please-version
4
+ exports.VERSION = '5.30.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.28.0'; // x-release-please-version
1
+ export const VERSION = '5.30.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map