retell-sdk 5.28.0 → 5.29.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 +8 -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 +96 -60
  34. package/resources/phone-number.d.mts.map +1 -1
  35. package/resources/phone-number.d.ts +96 -60
  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 +96 -60
  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
@@ -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 {
@@ -227,11 +227,14 @@ export namespace PhoneNumberResponse {
227
227
 
228
228
  /**
229
229
  * 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.
230
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
231
+ * most recently created version (the largest version number), and
232
+ * "latest_published" resolves to the most recently published version. When a tag
233
+ * is provided, resolution uses that exact tag assignment (including its dynamic
234
+ * variables). If the tag exists but is currently unassigned, it resolves to
235
+ * latest. When a numeric version, latest, or latest_published is provided,
236
+ * resolution applies dynamic variables from the preferred tag for that resolved
237
+ * version (most recently assigned), if any.
235
238
  */
236
239
  agent_version?: number | string;
237
240
  }
@@ -247,11 +250,14 @@ export namespace PhoneNumberResponse {
247
250
 
248
251
  /**
249
252
  * 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.
253
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
254
+ * most recently created version (the largest version number), and
255
+ * "latest_published" resolves to the most recently published version. When a tag
256
+ * is provided, resolution uses that exact tag assignment (including its dynamic
257
+ * variables). If the tag exists but is currently unassigned, it resolves to
258
+ * latest. When a numeric version, latest, or latest_published is provided,
259
+ * resolution applies dynamic variables from the preferred tag for that resolved
260
+ * version (most recently assigned), if any.
255
261
  */
256
262
  agent_version?: number | string;
257
263
  }
@@ -267,11 +273,14 @@ export namespace PhoneNumberResponse {
267
273
 
268
274
  /**
269
275
  * 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.
276
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
277
+ * most recently created version (the largest version number), and
278
+ * "latest_published" resolves to the most recently published version. When a tag
279
+ * is provided, resolution uses that exact tag assignment (including its dynamic
280
+ * variables). If the tag exists but is currently unassigned, it resolves to
281
+ * latest. When a numeric version, latest, or latest_published is provided,
282
+ * resolution applies dynamic variables from the preferred tag for that resolved
283
+ * version (most recently assigned), if any.
275
284
  */
276
285
  agent_version?: number | string;
277
286
  }
@@ -287,11 +296,14 @@ export namespace PhoneNumberResponse {
287
296
 
288
297
  /**
289
298
  * 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.
299
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
300
+ * most recently created version (the largest version number), and
301
+ * "latest_published" resolves to the most recently published version. When a tag
302
+ * is provided, resolution uses that exact tag assignment (including its dynamic
303
+ * variables). If the tag exists but is currently unassigned, it resolves to
304
+ * latest. When a numeric version, latest, or latest_published is provided,
305
+ * resolution applies dynamic variables from the preferred tag for that resolved
306
+ * version (most recently assigned), if any.
295
307
  */
296
308
  agent_version?: number | string;
297
309
  }
@@ -422,11 +434,14 @@ export namespace PhoneNumberCreateParams {
422
434
 
423
435
  /**
424
436
  * 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.
437
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
438
+ * most recently created version (the largest version number), and
439
+ * "latest_published" resolves to the most recently published version. When a tag
440
+ * is provided, resolution uses that exact tag assignment (including its dynamic
441
+ * variables). If the tag exists but is currently unassigned, it resolves to
442
+ * latest. When a numeric version, latest, or latest_published is provided,
443
+ * resolution applies dynamic variables from the preferred tag for that resolved
444
+ * version (most recently assigned), if any.
430
445
  */
431
446
  agent_version?: number | string;
432
447
  }
@@ -442,11 +457,14 @@ export namespace PhoneNumberCreateParams {
442
457
 
443
458
  /**
444
459
  * 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.
460
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
461
+ * most recently created version (the largest version number), and
462
+ * "latest_published" resolves to the most recently published version. When a tag
463
+ * is provided, resolution uses that exact tag assignment (including its dynamic
464
+ * variables). If the tag exists but is currently unassigned, it resolves to
465
+ * latest. When a numeric version, latest, or latest_published is provided,
466
+ * resolution applies dynamic variables from the preferred tag for that resolved
467
+ * version (most recently assigned), if any.
450
468
  */
451
469
  agent_version?: number | string;
452
470
  }
@@ -558,11 +576,14 @@ export namespace PhoneNumberUpdateParams {
558
576
 
559
577
  /**
560
578
  * 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.
579
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
580
+ * most recently created version (the largest version number), and
581
+ * "latest_published" resolves to the most recently published version. When a tag
582
+ * is provided, resolution uses that exact tag assignment (including its dynamic
583
+ * variables). If the tag exists but is currently unassigned, it resolves to
584
+ * latest. When a numeric version, latest, or latest_published is provided,
585
+ * resolution applies dynamic variables from the preferred tag for that resolved
586
+ * version (most recently assigned), if any.
566
587
  */
567
588
  agent_version?: number | string;
568
589
  }
@@ -578,11 +599,14 @@ export namespace PhoneNumberUpdateParams {
578
599
 
579
600
  /**
580
601
  * 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.
602
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
603
+ * most recently created version (the largest version number), and
604
+ * "latest_published" resolves to the most recently published version. When a tag
605
+ * is provided, resolution uses that exact tag assignment (including its dynamic
606
+ * variables). If the tag exists but is currently unassigned, it resolves to
607
+ * latest. When a numeric version, latest, or latest_published is provided,
608
+ * resolution applies dynamic variables from the preferred tag for that resolved
609
+ * version (most recently assigned), if any.
586
610
  */
587
611
  agent_version?: number | string;
588
612
  }
@@ -598,11 +622,14 @@ export namespace PhoneNumberUpdateParams {
598
622
 
599
623
  /**
600
624
  * 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.
625
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
626
+ * most recently created version (the largest version number), and
627
+ * "latest_published" resolves to the most recently published version. When a tag
628
+ * is provided, resolution uses that exact tag assignment (including its dynamic
629
+ * variables). If the tag exists but is currently unassigned, it resolves to
630
+ * latest. When a numeric version, latest, or latest_published is provided,
631
+ * resolution applies dynamic variables from the preferred tag for that resolved
632
+ * version (most recently assigned), if any.
606
633
  */
607
634
  agent_version?: number | string;
608
635
  }
@@ -618,11 +645,14 @@ export namespace PhoneNumberUpdateParams {
618
645
 
619
646
  /**
620
647
  * 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.
648
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
649
+ * most recently created version (the largest version number), and
650
+ * "latest_published" resolves to the most recently published version. When a tag
651
+ * is provided, resolution uses that exact tag assignment (including its dynamic
652
+ * variables). If the tag exists but is currently unassigned, it resolves to
653
+ * latest. When a numeric version, latest, or latest_published is provided,
654
+ * resolution applies dynamic variables from the preferred tag for that resolved
655
+ * version (most recently assigned), if any.
626
656
  */
627
657
  agent_version?: number | string;
628
658
  }
@@ -734,11 +764,14 @@ export namespace PhoneNumberImportParams {
734
764
 
735
765
  /**
736
766
  * 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.
767
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
768
+ * most recently created version (the largest version number), and
769
+ * "latest_published" resolves to the most recently published version. When a tag
770
+ * is provided, resolution uses that exact tag assignment (including its dynamic
771
+ * variables). If the tag exists but is currently unassigned, it resolves to
772
+ * latest. When a numeric version, latest, or latest_published is provided,
773
+ * resolution applies dynamic variables from the preferred tag for that resolved
774
+ * version (most recently assigned), if any.
742
775
  */
743
776
  agent_version?: number | string;
744
777
  }
@@ -754,11 +787,14 @@ export namespace PhoneNumberImportParams {
754
787
 
755
788
  /**
756
789
  * 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.
790
+ * tag/environment name (for example "prod"). The string "latest" resolves to the
791
+ * most recently created version (the largest version number), and
792
+ * "latest_published" resolves to the most recently published version. When a tag
793
+ * is provided, resolution uses that exact tag assignment (including its dynamic
794
+ * variables). If the tag exists but is currently unassigned, it resolves to
795
+ * latest. When a numeric version, latest, or latest_published is provided,
796
+ * resolution applies dynamic variables from the preferred tag for that resolved
797
+ * version (most recently assigned), if any.
762
798
  */
763
799
  agent_version?: number | string;
764
800
  }
@@ -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.29.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.29.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.29.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.29.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.29.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map