retell-sdk 4.52.0 → 4.54.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.54.0 (2025-10-22)
4
+
5
+ Full Changelog: [v4.53.0...v4.54.0](https://github.com/RetellAI/retell-typescript-sdk/compare/v4.53.0...v4.54.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([254b12a](https://github.com/RetellAI/retell-typescript-sdk/commit/254b12a5b24020b014d076c6661b43ab2b250a63))
10
+ * **api:** api update ([a06f51d](https://github.com/RetellAI/retell-typescript-sdk/commit/a06f51d13f1165ebe1ae2e6dc6f3adad19cc6db7))
11
+
12
+ ## 4.53.0 (2025-10-19)
13
+
14
+ Full Changelog: [v4.52.0...v4.53.0](https://github.com/RetellAI/retell-typescript-sdk/compare/v4.52.0...v4.53.0)
15
+
16
+ ### Features
17
+
18
+ * **api:** api update ([c8c0832](https://github.com/RetellAI/retell-typescript-sdk/commit/c8c0832badb2ddaeb1fe11246d680531a03994b6))
19
+
3
20
  ## 4.52.0 (2025-10-19)
4
21
 
5
22
  Full Changelog: [v4.51.0...v4.52.0](https://github.com/RetellAI/retell-typescript-sdk/compare/v4.51.0...v4.52.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "retell-sdk",
3
- "version": "4.52.0",
3
+ "version": "4.54.0",
4
4
  "description": "The official TypeScript library for the Retell API",
5
5
  "author": "Retell <support@retellai.com>",
6
6
  "types": "./index.d.ts",
@@ -65,6 +65,23 @@ export declare namespace BatchCallCreateBatchCallParams {
65
65
  * from Retell, only US numbers are supported as destination.
66
66
  */
67
67
  to_number: string;
68
+ /**
69
+ * If true, the e.164 validation will be ignored for the from_number. This can be
70
+ * useful when you want to dial to internal pseudo numbers. This only applies when
71
+ * you are using custom telephony and does not apply when you are using Retell
72
+ * Telephony. If omitted, the default value is false.
73
+ */
74
+ ignore_e164_validation?: boolean;
75
+ /**
76
+ * For this particular call, override the agent used with this agent id. This does
77
+ * not bind the agent to this number, this is for one time override.
78
+ */
79
+ override_agent_id?: string;
80
+ /**
81
+ * For this particular call, override the agent version used with this version.
82
+ * This does not bind the agent to this number, this is for one time override.
83
+ */
84
+ override_agent_version?: number;
68
85
  /**
69
86
  * Add optional dynamic variables in key value pairs of string that injects into
70
87
  * your Response Engine prompt and tool description. Only applicable for Response
@@ -1 +1 @@
1
- {"version":3,"file":"batch-call.d.ts","sourceRoot":"","sources":["../src/resources/batch-call.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;OAWG;IACH,eAAe,CACb,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;CAGtC;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;IAEpB,IAAI,EAAE,MAAM,CAAC;IAEb,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,KAAK,EAAE,KAAK,CAAC,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAElD;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAEjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,yBAAiB,8BAA8B,CAAC;IAC9C,UA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B,IAAI;QACnB;;;WAGG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;;;;WAKG;QACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;QAEjC;;;WAGG;QACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B;;;WAGG;QACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAEhC;;;;WAIG;QACH,4BAA4B,CAAC,EAAE;YAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;KAC3D;CACF;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
@@ -82,6 +82,13 @@ export interface ConversationFlowResponse {
82
82
  * Version number of the conversation flow
83
83
  */
84
84
  version: number;
85
+ /**
86
+ * If set, the AI will begin the conversation after waiting for the user for the
87
+ * duration (in milliseconds) specified by this attribute. This only applies if the
88
+ * agent is configured to wait for the user to speak first. If not set, the agent
89
+ * will wait indefinitely for the user to speak.
90
+ */
91
+ begin_after_user_silence_ms?: number | null;
85
92
  /**
86
93
  * Display position for the begin tag in the frontend.
87
94
  */
@@ -785,6 +792,13 @@ export declare namespace ConversationFlowResponse {
785
792
  */
786
793
  display_position?: TransferCallNode.DisplayPosition;
787
794
  global_node_setting?: TransferCallNode.GlobalNodeSetting;
795
+ /**
796
+ * If true, the e.164 validation will be ignored for the from_number. This can be
797
+ * useful when you want to dial to internal pseudo numbers. This only applies when
798
+ * you are using custom telephony and does not apply when you are using Retell
799
+ * Telephony. If omitted, the default value is false.
800
+ */
801
+ ignore_e164_validation?: boolean;
788
802
  model_choice?: TransferCallNode.ModelChoice;
789
803
  /**
790
804
  * Optional name for display purposes
@@ -857,13 +871,6 @@ export declare namespace ConversationFlowResponse {
857
871
  * digits, '\*', '#', or a dynamic variable like {{extension}}.
858
872
  */
859
873
  extension?: string;
860
- /**
861
- * If true, the e.164 validation will be ignored for the from_number. This can be
862
- * useful when you want to dial to internal pseudo numbers. This only applies when
863
- * you are using custom telephony and does not apply when you are using Retell
864
- * Telephony. If omitted, the default value is false.
865
- */
866
- ignore_e164_validation?: boolean;
867
874
  }
868
875
  interface TransferDestinationInferred {
869
876
  /**
@@ -3316,6 +3323,13 @@ export declare namespace ConversationFlowResponse {
3316
3323
  */
3317
3324
  display_position?: TransferCallNode.DisplayPosition;
3318
3325
  global_node_setting?: TransferCallNode.GlobalNodeSetting;
3326
+ /**
3327
+ * If true, the e.164 validation will be ignored for the from_number. This can be
3328
+ * useful when you want to dial to internal pseudo numbers. This only applies when
3329
+ * you are using custom telephony and does not apply when you are using Retell
3330
+ * Telephony. If omitted, the default value is false.
3331
+ */
3332
+ ignore_e164_validation?: boolean;
3319
3333
  model_choice?: TransferCallNode.ModelChoice;
3320
3334
  /**
3321
3335
  * Optional name for display purposes
@@ -3388,13 +3402,6 @@ export declare namespace ConversationFlowResponse {
3388
3402
  * digits, '\*', '#', or a dynamic variable like {{extension}}.
3389
3403
  */
3390
3404
  extension?: string;
3391
- /**
3392
- * If true, the e.164 validation will be ignored for the from_number. This can be
3393
- * useful when you want to dial to internal pseudo numbers. This only applies when
3394
- * you are using custom telephony and does not apply when you are using Retell
3395
- * Telephony. If omitted, the default value is false.
3396
- */
3397
- ignore_e164_validation?: boolean;
3398
3405
  }
3399
3406
  interface TransferDestinationInferred {
3400
3407
  /**
@@ -5190,6 +5197,13 @@ export interface ConversationFlowCreateParams {
5190
5197
  * Who starts the conversation - user or agent.
5191
5198
  */
5192
5199
  start_speaker: 'user' | 'agent';
5200
+ /**
5201
+ * If set, the AI will begin the conversation after waiting for the user for the
5202
+ * duration (in milliseconds) specified by this attribute. This only applies if the
5203
+ * agent is configured to wait for the user to speak first. If not set, the agent
5204
+ * will wait indefinitely for the user to speak.
5205
+ */
5206
+ begin_after_user_silence_ms?: number | null;
5193
5207
  /**
5194
5208
  * Display position for the begin tag in the frontend.
5195
5209
  */
@@ -5868,6 +5882,13 @@ export declare namespace ConversationFlowCreateParams {
5868
5882
  */
5869
5883
  display_position?: TransferCallNode.DisplayPosition;
5870
5884
  global_node_setting?: TransferCallNode.GlobalNodeSetting;
5885
+ /**
5886
+ * If true, the e.164 validation will be ignored for the from_number. This can be
5887
+ * useful when you want to dial to internal pseudo numbers. This only applies when
5888
+ * you are using custom telephony and does not apply when you are using Retell
5889
+ * Telephony. If omitted, the default value is false.
5890
+ */
5891
+ ignore_e164_validation?: boolean;
5871
5892
  model_choice?: TransferCallNode.ModelChoice;
5872
5893
  /**
5873
5894
  * Optional name for display purposes
@@ -5940,13 +5961,6 @@ export declare namespace ConversationFlowCreateParams {
5940
5961
  * digits, '\*', '#', or a dynamic variable like {{extension}}.
5941
5962
  */
5942
5963
  extension?: string;
5943
- /**
5944
- * If true, the e.164 validation will be ignored for the from_number. This can be
5945
- * useful when you want to dial to internal pseudo numbers. This only applies when
5946
- * you are using custom telephony and does not apply when you are using Retell
5947
- * Telephony. If omitted, the default value is false.
5948
- */
5949
- ignore_e164_validation?: boolean;
5950
5964
  }
5951
5965
  interface TransferDestinationInferred {
5952
5966
  /**
@@ -8219,6 +8233,13 @@ export declare namespace ConversationFlowCreateParams {
8219
8233
  */
8220
8234
  display_position?: TransferCallNode.DisplayPosition;
8221
8235
  global_node_setting?: TransferCallNode.GlobalNodeSetting;
8236
+ /**
8237
+ * If true, the e.164 validation will be ignored for the from_number. This can be
8238
+ * useful when you want to dial to internal pseudo numbers. This only applies when
8239
+ * you are using custom telephony and does not apply when you are using Retell
8240
+ * Telephony. If omitted, the default value is false.
8241
+ */
8242
+ ignore_e164_validation?: boolean;
8222
8243
  model_choice?: TransferCallNode.ModelChoice;
8223
8244
  /**
8224
8245
  * Optional name for display purposes
@@ -8291,13 +8312,6 @@ export declare namespace ConversationFlowCreateParams {
8291
8312
  * digits, '\*', '#', or a dynamic variable like {{extension}}.
8292
8313
  */
8293
8314
  extension?: string;
8294
- /**
8295
- * If true, the e.164 validation will be ignored for the from_number. This can be
8296
- * useful when you want to dial to internal pseudo numbers. This only applies when
8297
- * you are using custom telephony and does not apply when you are using Retell
8298
- * Telephony. If omitted, the default value is false.
8299
- */
8300
- ignore_e164_validation?: boolean;
8301
8315
  }
8302
8316
  interface TransferDestinationInferred {
8303
8317
  /**
@@ -10280,6 +10294,13 @@ export interface ConversationFlowUpdateParams {
10280
10294
  * Query param: Version of the conversation flow to update
10281
10295
  */
10282
10296
  version?: string;
10297
+ /**
10298
+ * Body param: If set, the AI will begin the conversation after waiting for the
10299
+ * user for the duration (in milliseconds) specified by this attribute. This only
10300
+ * applies if the agent is configured to wait for the user to speak first. If not
10301
+ * set, the agent will wait indefinitely for the user to speak.
10302
+ */
10303
+ begin_after_user_silence_ms?: number | null;
10283
10304
  /**
10284
10305
  * Body param: Display position for the begin tag in the frontend.
10285
10306
  */
@@ -10984,6 +11005,13 @@ export declare namespace ConversationFlowUpdateParams {
10984
11005
  */
10985
11006
  display_position?: TransferCallNode.DisplayPosition;
10986
11007
  global_node_setting?: TransferCallNode.GlobalNodeSetting;
11008
+ /**
11009
+ * If true, the e.164 validation will be ignored for the from_number. This can be
11010
+ * useful when you want to dial to internal pseudo numbers. This only applies when
11011
+ * you are using custom telephony and does not apply when you are using Retell
11012
+ * Telephony. If omitted, the default value is false.
11013
+ */
11014
+ ignore_e164_validation?: boolean;
10987
11015
  model_choice?: TransferCallNode.ModelChoice;
10988
11016
  /**
10989
11017
  * Optional name for display purposes
@@ -11056,13 +11084,6 @@ export declare namespace ConversationFlowUpdateParams {
11056
11084
  * digits, '\*', '#', or a dynamic variable like {{extension}}.
11057
11085
  */
11058
11086
  extension?: string;
11059
- /**
11060
- * If true, the e.164 validation will be ignored for the from_number. This can be
11061
- * useful when you want to dial to internal pseudo numbers. This only applies when
11062
- * you are using custom telephony and does not apply when you are using Retell
11063
- * Telephony. If omitted, the default value is false.
11064
- */
11065
- ignore_e164_validation?: boolean;
11066
11087
  }
11067
11088
  interface TransferDestinationInferred {
11068
11089
  /**
@@ -13515,6 +13536,13 @@ export declare namespace ConversationFlowUpdateParams {
13515
13536
  */
13516
13537
  display_position?: TransferCallNode.DisplayPosition;
13517
13538
  global_node_setting?: TransferCallNode.GlobalNodeSetting;
13539
+ /**
13540
+ * If true, the e.164 validation will be ignored for the from_number. This can be
13541
+ * useful when you want to dial to internal pseudo numbers. This only applies when
13542
+ * you are using custom telephony and does not apply when you are using Retell
13543
+ * Telephony. If omitted, the default value is false.
13544
+ */
13545
+ ignore_e164_validation?: boolean;
13518
13546
  model_choice?: TransferCallNode.ModelChoice;
13519
13547
  /**
13520
13548
  * Optional name for display purposes
@@ -13587,13 +13615,6 @@ export declare namespace ConversationFlowUpdateParams {
13587
13615
  * digits, '\*', '#', or a dynamic variable like {{extension}}.
13588
13616
  */
13589
13617
  extension?: string;
13590
- /**
13591
- * If true, the e.164 validation will be ignored for the from_number. This can be
13592
- * useful when you want to dial to internal pseudo numbers. This only applies when
13593
- * you are using custom telephony and does not apply when you are using Retell
13594
- * Telephony. If omitted, the default value is false.
13595
- */
13596
- ignore_e164_validation?: boolean;
13597
13618
  }
13598
13619
  interface TransferDestinationInferred {
13599
13620
  /**