retell-sdk 4.49.0 → 4.51.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 +39 -0
- package/package.json +1 -1
- package/resources/agent.d.ts +3 -3
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.ts +7 -0
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.ts +15 -0
- package/resources/call.d.ts.map +1 -1
- package/resources/conversation-flow.d.ts +10634 -2477
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.ts +169 -40
- package/resources/llm.d.ts.map +1 -1
- package/resources/llm.js +4 -1
- package/resources/llm.js.map +1 -1
- package/resources/llm.mjs +4 -1
- package/resources/llm.mjs.map +1 -1
- package/src/resources/agent.ts +3 -0
- package/src/resources/batch-call.ts +8 -0
- package/src/resources/call.ts +18 -0
- package/src/resources/conversation-flow.ts +16299 -4554
- package/src/resources/llm.ts +196 -43
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/llm.ts
CHANGED
|
@@ -11,7 +11,9 @@ export class Llm extends APIResource {
|
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ```ts
|
|
14
|
-
* const llmResponse = await client.llm.create(
|
|
14
|
+
* const llmResponse = await client.llm.create({
|
|
15
|
+
* start_speaker: 'user',
|
|
16
|
+
* });
|
|
15
17
|
* ```
|
|
16
18
|
*/
|
|
17
19
|
create(body: LlmCreateParams, options?: Core.RequestOptions): Core.APIPromise<LlmResponse> {
|
|
@@ -53,6 +55,7 @@ export class Llm extends APIResource {
|
|
|
53
55
|
* const llmResponse = await client.llm.update(
|
|
54
56
|
* '16b980523634a6dc504898cda492e939',
|
|
55
57
|
* {
|
|
58
|
+
* start_speaker: 'user',
|
|
56
59
|
* begin_message:
|
|
57
60
|
* 'Hey I am a virtual assistant calling from Retell Hospital.',
|
|
58
61
|
* },
|
|
@@ -120,6 +123,12 @@ export interface LlmResponse {
|
|
|
120
123
|
*/
|
|
121
124
|
llm_id: string;
|
|
122
125
|
|
|
126
|
+
/**
|
|
127
|
+
* The speaker who starts the conversation. Required. Must be either 'user' or
|
|
128
|
+
* 'agent'.
|
|
129
|
+
*/
|
|
130
|
+
start_speaker: 'user' | 'agent';
|
|
131
|
+
|
|
123
132
|
/**
|
|
124
133
|
* First utterance said by the agent in the call. If not set, LLM will dynamically
|
|
125
134
|
* generate a message. If set to "", agent will wait for user to speak first.
|
|
@@ -221,12 +230,6 @@ export interface LlmResponse {
|
|
|
221
230
|
*/
|
|
222
231
|
s2s_model?: 'gpt-4o-realtime' | 'gpt-4o-mini-realtime' | 'gpt-realtime' | null;
|
|
223
232
|
|
|
224
|
-
/**
|
|
225
|
-
* The speaker who starts the conversation. Required. Must be either 'user' or
|
|
226
|
-
* 'agent'.
|
|
227
|
-
*/
|
|
228
|
-
start_speaker?: 'user' | 'agent';
|
|
229
|
-
|
|
230
233
|
/**
|
|
231
234
|
* Name of the starting state. Required if states is not empty.
|
|
232
235
|
*/
|
|
@@ -318,7 +321,7 @@ export namespace LlmResponse {
|
|
|
318
321
|
|
|
319
322
|
/**
|
|
320
323
|
* Extension digits to dial after the main number connects. Sent via DTMF. Allow
|
|
321
|
-
* digits, '\*', '#'.
|
|
324
|
+
* digits, '\*', '#', or a dynamic variable like {{extension}}.
|
|
322
325
|
*/
|
|
323
326
|
extension?: string;
|
|
324
327
|
}
|
|
@@ -345,9 +348,8 @@ export namespace LlmResponse {
|
|
|
345
348
|
|
|
346
349
|
/**
|
|
347
350
|
* If set to true, will show transferee (the user, not the AI agent) as caller when
|
|
348
|
-
* transferring, requires the telephony side to support
|
|
349
|
-
*
|
|
350
|
-
* field will be ignored. Default to false (default to show AI agent as caller).
|
|
351
|
+
* transferring, requires the telephony side to support caller id override. Retell
|
|
352
|
+
* Twilio numbers support this option.
|
|
351
353
|
*/
|
|
352
354
|
show_transferee_as_caller?: boolean;
|
|
353
355
|
}
|
|
@@ -363,6 +365,12 @@ export namespace LlmResponse {
|
|
|
363
365
|
*/
|
|
364
366
|
agent_detection_timeout_ms?: number;
|
|
365
367
|
|
|
368
|
+
/**
|
|
369
|
+
* IVR navigation option to run when doing human detection. This prompt will guide
|
|
370
|
+
* the AI on how to navigate the IVR system.
|
|
371
|
+
*/
|
|
372
|
+
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
373
|
+
|
|
366
374
|
/**
|
|
367
375
|
* The music to play while the caller is being transferred.
|
|
368
376
|
*/
|
|
@@ -397,9 +405,29 @@ export namespace LlmResponse {
|
|
|
397
405
|
public_handoff_option?:
|
|
398
406
|
| TransferOptionWarmTransfer.WarmTransferPrompt
|
|
399
407
|
| TransferOptionWarmTransfer.WarmTransferStaticMessage;
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* If set to true, will show transferee (the user, not the AI agent) as caller when
|
|
411
|
+
* transferring, requires the telephony side to support caller id override. Retell
|
|
412
|
+
* Twilio numbers support this option.
|
|
413
|
+
*/
|
|
414
|
+
show_transferee_as_caller?: boolean;
|
|
400
415
|
}
|
|
401
416
|
|
|
402
417
|
export namespace TransferOptionWarmTransfer {
|
|
418
|
+
/**
|
|
419
|
+
* IVR navigation option to run when doing human detection. This prompt will guide
|
|
420
|
+
* the AI on how to navigate the IVR system.
|
|
421
|
+
*/
|
|
422
|
+
export interface IvrOption {
|
|
423
|
+
/**
|
|
424
|
+
* The prompt to be used for warm handoff. Can contain dynamic variables.
|
|
425
|
+
*/
|
|
426
|
+
prompt?: string;
|
|
427
|
+
|
|
428
|
+
type?: 'prompt';
|
|
429
|
+
}
|
|
430
|
+
|
|
403
431
|
export interface WarmTransferPrompt {
|
|
404
432
|
/**
|
|
405
433
|
* The prompt to be used for warm handoff. Can contain dynamic variables.
|
|
@@ -1066,7 +1094,7 @@ export namespace LlmResponse {
|
|
|
1066
1094
|
|
|
1067
1095
|
/**
|
|
1068
1096
|
* Extension digits to dial after the main number connects. Sent via DTMF. Allow
|
|
1069
|
-
* digits, '\*', '#'.
|
|
1097
|
+
* digits, '\*', '#', or a dynamic variable like {{extension}}.
|
|
1070
1098
|
*/
|
|
1071
1099
|
extension?: string;
|
|
1072
1100
|
}
|
|
@@ -1093,9 +1121,8 @@ export namespace LlmResponse {
|
|
|
1093
1121
|
|
|
1094
1122
|
/**
|
|
1095
1123
|
* If set to true, will show transferee (the user, not the AI agent) as caller when
|
|
1096
|
-
* transferring, requires the telephony side to support
|
|
1097
|
-
*
|
|
1098
|
-
* field will be ignored. Default to false (default to show AI agent as caller).
|
|
1124
|
+
* transferring, requires the telephony side to support caller id override. Retell
|
|
1125
|
+
* Twilio numbers support this option.
|
|
1099
1126
|
*/
|
|
1100
1127
|
show_transferee_as_caller?: boolean;
|
|
1101
1128
|
}
|
|
@@ -1111,6 +1138,12 @@ export namespace LlmResponse {
|
|
|
1111
1138
|
*/
|
|
1112
1139
|
agent_detection_timeout_ms?: number;
|
|
1113
1140
|
|
|
1141
|
+
/**
|
|
1142
|
+
* IVR navigation option to run when doing human detection. This prompt will guide
|
|
1143
|
+
* the AI on how to navigate the IVR system.
|
|
1144
|
+
*/
|
|
1145
|
+
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
1146
|
+
|
|
1114
1147
|
/**
|
|
1115
1148
|
* The music to play while the caller is being transferred.
|
|
1116
1149
|
*/
|
|
@@ -1145,9 +1178,29 @@ export namespace LlmResponse {
|
|
|
1145
1178
|
public_handoff_option?:
|
|
1146
1179
|
| TransferOptionWarmTransfer.WarmTransferPrompt
|
|
1147
1180
|
| TransferOptionWarmTransfer.WarmTransferStaticMessage;
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* If set to true, will show transferee (the user, not the AI agent) as caller when
|
|
1184
|
+
* transferring, requires the telephony side to support caller id override. Retell
|
|
1185
|
+
* Twilio numbers support this option.
|
|
1186
|
+
*/
|
|
1187
|
+
show_transferee_as_caller?: boolean;
|
|
1148
1188
|
}
|
|
1149
1189
|
|
|
1150
1190
|
export namespace TransferOptionWarmTransfer {
|
|
1191
|
+
/**
|
|
1192
|
+
* IVR navigation option to run when doing human detection. This prompt will guide
|
|
1193
|
+
* the AI on how to navigate the IVR system.
|
|
1194
|
+
*/
|
|
1195
|
+
export interface IvrOption {
|
|
1196
|
+
/**
|
|
1197
|
+
* The prompt to be used for warm handoff. Can contain dynamic variables.
|
|
1198
|
+
*/
|
|
1199
|
+
prompt?: string;
|
|
1200
|
+
|
|
1201
|
+
type?: 'prompt';
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1151
1204
|
export interface WarmTransferPrompt {
|
|
1152
1205
|
/**
|
|
1153
1206
|
* The prompt to be used for warm handoff. Can contain dynamic variables.
|
|
@@ -1643,6 +1696,12 @@ export namespace LlmResponse {
|
|
|
1643
1696
|
export type LlmListResponse = Array<LlmResponse>;
|
|
1644
1697
|
|
|
1645
1698
|
export interface LlmCreateParams {
|
|
1699
|
+
/**
|
|
1700
|
+
* The speaker who starts the conversation. Required. Must be either 'user' or
|
|
1701
|
+
* 'agent'.
|
|
1702
|
+
*/
|
|
1703
|
+
start_speaker: 'user' | 'agent';
|
|
1704
|
+
|
|
1646
1705
|
/**
|
|
1647
1706
|
* First utterance said by the agent in the call. If not set, LLM will dynamically
|
|
1648
1707
|
* generate a message. If set to "", agent will wait for user to speak first.
|
|
@@ -1739,12 +1798,6 @@ export interface LlmCreateParams {
|
|
|
1739
1798
|
*/
|
|
1740
1799
|
s2s_model?: 'gpt-4o-realtime' | 'gpt-4o-mini-realtime' | 'gpt-realtime' | null;
|
|
1741
1800
|
|
|
1742
|
-
/**
|
|
1743
|
-
* The speaker who starts the conversation. Required. Must be either 'user' or
|
|
1744
|
-
* 'agent'.
|
|
1745
|
-
*/
|
|
1746
|
-
start_speaker?: 'user' | 'agent';
|
|
1747
|
-
|
|
1748
1801
|
/**
|
|
1749
1802
|
* Name of the starting state. Required if states is not empty.
|
|
1750
1803
|
*/
|
|
@@ -1836,7 +1889,7 @@ export namespace LlmCreateParams {
|
|
|
1836
1889
|
|
|
1837
1890
|
/**
|
|
1838
1891
|
* Extension digits to dial after the main number connects. Sent via DTMF. Allow
|
|
1839
|
-
* digits, '\*', '#'.
|
|
1892
|
+
* digits, '\*', '#', or a dynamic variable like {{extension}}.
|
|
1840
1893
|
*/
|
|
1841
1894
|
extension?: string;
|
|
1842
1895
|
}
|
|
@@ -1863,9 +1916,8 @@ export namespace LlmCreateParams {
|
|
|
1863
1916
|
|
|
1864
1917
|
/**
|
|
1865
1918
|
* If set to true, will show transferee (the user, not the AI agent) as caller when
|
|
1866
|
-
* transferring, requires the telephony side to support
|
|
1867
|
-
*
|
|
1868
|
-
* field will be ignored. Default to false (default to show AI agent as caller).
|
|
1919
|
+
* transferring, requires the telephony side to support caller id override. Retell
|
|
1920
|
+
* Twilio numbers support this option.
|
|
1869
1921
|
*/
|
|
1870
1922
|
show_transferee_as_caller?: boolean;
|
|
1871
1923
|
}
|
|
@@ -1881,6 +1933,12 @@ export namespace LlmCreateParams {
|
|
|
1881
1933
|
*/
|
|
1882
1934
|
agent_detection_timeout_ms?: number;
|
|
1883
1935
|
|
|
1936
|
+
/**
|
|
1937
|
+
* IVR navigation option to run when doing human detection. This prompt will guide
|
|
1938
|
+
* the AI on how to navigate the IVR system.
|
|
1939
|
+
*/
|
|
1940
|
+
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
1941
|
+
|
|
1884
1942
|
/**
|
|
1885
1943
|
* The music to play while the caller is being transferred.
|
|
1886
1944
|
*/
|
|
@@ -1915,9 +1973,29 @@ export namespace LlmCreateParams {
|
|
|
1915
1973
|
public_handoff_option?:
|
|
1916
1974
|
| TransferOptionWarmTransfer.WarmTransferPrompt
|
|
1917
1975
|
| TransferOptionWarmTransfer.WarmTransferStaticMessage;
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* If set to true, will show transferee (the user, not the AI agent) as caller when
|
|
1979
|
+
* transferring, requires the telephony side to support caller id override. Retell
|
|
1980
|
+
* Twilio numbers support this option.
|
|
1981
|
+
*/
|
|
1982
|
+
show_transferee_as_caller?: boolean;
|
|
1918
1983
|
}
|
|
1919
1984
|
|
|
1920
1985
|
export namespace TransferOptionWarmTransfer {
|
|
1986
|
+
/**
|
|
1987
|
+
* IVR navigation option to run when doing human detection. This prompt will guide
|
|
1988
|
+
* the AI on how to navigate the IVR system.
|
|
1989
|
+
*/
|
|
1990
|
+
export interface IvrOption {
|
|
1991
|
+
/**
|
|
1992
|
+
* The prompt to be used for warm handoff. Can contain dynamic variables.
|
|
1993
|
+
*/
|
|
1994
|
+
prompt?: string;
|
|
1995
|
+
|
|
1996
|
+
type?: 'prompt';
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1921
1999
|
export interface WarmTransferPrompt {
|
|
1922
2000
|
/**
|
|
1923
2001
|
* The prompt to be used for warm handoff. Can contain dynamic variables.
|
|
@@ -2584,7 +2662,7 @@ export namespace LlmCreateParams {
|
|
|
2584
2662
|
|
|
2585
2663
|
/**
|
|
2586
2664
|
* Extension digits to dial after the main number connects. Sent via DTMF. Allow
|
|
2587
|
-
* digits, '\*', '#'.
|
|
2665
|
+
* digits, '\*', '#', or a dynamic variable like {{extension}}.
|
|
2588
2666
|
*/
|
|
2589
2667
|
extension?: string;
|
|
2590
2668
|
}
|
|
@@ -2611,9 +2689,8 @@ export namespace LlmCreateParams {
|
|
|
2611
2689
|
|
|
2612
2690
|
/**
|
|
2613
2691
|
* If set to true, will show transferee (the user, not the AI agent) as caller when
|
|
2614
|
-
* transferring, requires the telephony side to support
|
|
2615
|
-
*
|
|
2616
|
-
* field will be ignored. Default to false (default to show AI agent as caller).
|
|
2692
|
+
* transferring, requires the telephony side to support caller id override. Retell
|
|
2693
|
+
* Twilio numbers support this option.
|
|
2617
2694
|
*/
|
|
2618
2695
|
show_transferee_as_caller?: boolean;
|
|
2619
2696
|
}
|
|
@@ -2629,6 +2706,12 @@ export namespace LlmCreateParams {
|
|
|
2629
2706
|
*/
|
|
2630
2707
|
agent_detection_timeout_ms?: number;
|
|
2631
2708
|
|
|
2709
|
+
/**
|
|
2710
|
+
* IVR navigation option to run when doing human detection. This prompt will guide
|
|
2711
|
+
* the AI on how to navigate the IVR system.
|
|
2712
|
+
*/
|
|
2713
|
+
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
2714
|
+
|
|
2632
2715
|
/**
|
|
2633
2716
|
* The music to play while the caller is being transferred.
|
|
2634
2717
|
*/
|
|
@@ -2663,9 +2746,29 @@ export namespace LlmCreateParams {
|
|
|
2663
2746
|
public_handoff_option?:
|
|
2664
2747
|
| TransferOptionWarmTransfer.WarmTransferPrompt
|
|
2665
2748
|
| TransferOptionWarmTransfer.WarmTransferStaticMessage;
|
|
2749
|
+
|
|
2750
|
+
/**
|
|
2751
|
+
* If set to true, will show transferee (the user, not the AI agent) as caller when
|
|
2752
|
+
* transferring, requires the telephony side to support caller id override. Retell
|
|
2753
|
+
* Twilio numbers support this option.
|
|
2754
|
+
*/
|
|
2755
|
+
show_transferee_as_caller?: boolean;
|
|
2666
2756
|
}
|
|
2667
2757
|
|
|
2668
2758
|
export namespace TransferOptionWarmTransfer {
|
|
2759
|
+
/**
|
|
2760
|
+
* IVR navigation option to run when doing human detection. This prompt will guide
|
|
2761
|
+
* the AI on how to navigate the IVR system.
|
|
2762
|
+
*/
|
|
2763
|
+
export interface IvrOption {
|
|
2764
|
+
/**
|
|
2765
|
+
* The prompt to be used for warm handoff. Can contain dynamic variables.
|
|
2766
|
+
*/
|
|
2767
|
+
prompt?: string;
|
|
2768
|
+
|
|
2769
|
+
type?: 'prompt';
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2669
2772
|
export interface WarmTransferPrompt {
|
|
2670
2773
|
/**
|
|
2671
2774
|
* The prompt to be used for warm handoff. Can contain dynamic variables.
|
|
@@ -3166,6 +3269,12 @@ export interface LlmRetrieveParams {
|
|
|
3166
3269
|
}
|
|
3167
3270
|
|
|
3168
3271
|
export interface LlmUpdateParams {
|
|
3272
|
+
/**
|
|
3273
|
+
* Body param: The speaker who starts the conversation. Required. Must be either
|
|
3274
|
+
* 'user' or 'agent'.
|
|
3275
|
+
*/
|
|
3276
|
+
start_speaker: 'user' | 'agent';
|
|
3277
|
+
|
|
3169
3278
|
/**
|
|
3170
3279
|
* Query param: Optional version of the API to use for this request. Default to
|
|
3171
3280
|
* latest version.
|
|
@@ -3272,12 +3381,6 @@ export interface LlmUpdateParams {
|
|
|
3272
3381
|
*/
|
|
3273
3382
|
s2s_model?: 'gpt-4o-realtime' | 'gpt-4o-mini-realtime' | 'gpt-realtime' | null;
|
|
3274
3383
|
|
|
3275
|
-
/**
|
|
3276
|
-
* Body param: The speaker who starts the conversation. Required. Must be either
|
|
3277
|
-
* 'user' or 'agent'.
|
|
3278
|
-
*/
|
|
3279
|
-
start_speaker?: 'user' | 'agent';
|
|
3280
|
-
|
|
3281
3384
|
/**
|
|
3282
3385
|
* Body param: Name of the starting state. Required if states is not empty.
|
|
3283
3386
|
*/
|
|
@@ -3369,7 +3472,7 @@ export namespace LlmUpdateParams {
|
|
|
3369
3472
|
|
|
3370
3473
|
/**
|
|
3371
3474
|
* Extension digits to dial after the main number connects. Sent via DTMF. Allow
|
|
3372
|
-
* digits, '\*', '#'.
|
|
3475
|
+
* digits, '\*', '#', or a dynamic variable like {{extension}}.
|
|
3373
3476
|
*/
|
|
3374
3477
|
extension?: string;
|
|
3375
3478
|
}
|
|
@@ -3396,9 +3499,8 @@ export namespace LlmUpdateParams {
|
|
|
3396
3499
|
|
|
3397
3500
|
/**
|
|
3398
3501
|
* If set to true, will show transferee (the user, not the AI agent) as caller when
|
|
3399
|
-
* transferring, requires the telephony side to support
|
|
3400
|
-
*
|
|
3401
|
-
* field will be ignored. Default to false (default to show AI agent as caller).
|
|
3502
|
+
* transferring, requires the telephony side to support caller id override. Retell
|
|
3503
|
+
* Twilio numbers support this option.
|
|
3402
3504
|
*/
|
|
3403
3505
|
show_transferee_as_caller?: boolean;
|
|
3404
3506
|
}
|
|
@@ -3414,6 +3516,12 @@ export namespace LlmUpdateParams {
|
|
|
3414
3516
|
*/
|
|
3415
3517
|
agent_detection_timeout_ms?: number;
|
|
3416
3518
|
|
|
3519
|
+
/**
|
|
3520
|
+
* IVR navigation option to run when doing human detection. This prompt will guide
|
|
3521
|
+
* the AI on how to navigate the IVR system.
|
|
3522
|
+
*/
|
|
3523
|
+
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
3524
|
+
|
|
3417
3525
|
/**
|
|
3418
3526
|
* The music to play while the caller is being transferred.
|
|
3419
3527
|
*/
|
|
@@ -3448,9 +3556,29 @@ export namespace LlmUpdateParams {
|
|
|
3448
3556
|
public_handoff_option?:
|
|
3449
3557
|
| TransferOptionWarmTransfer.WarmTransferPrompt
|
|
3450
3558
|
| TransferOptionWarmTransfer.WarmTransferStaticMessage;
|
|
3559
|
+
|
|
3560
|
+
/**
|
|
3561
|
+
* If set to true, will show transferee (the user, not the AI agent) as caller when
|
|
3562
|
+
* transferring, requires the telephony side to support caller id override. Retell
|
|
3563
|
+
* Twilio numbers support this option.
|
|
3564
|
+
*/
|
|
3565
|
+
show_transferee_as_caller?: boolean;
|
|
3451
3566
|
}
|
|
3452
3567
|
|
|
3453
3568
|
export namespace TransferOptionWarmTransfer {
|
|
3569
|
+
/**
|
|
3570
|
+
* IVR navigation option to run when doing human detection. This prompt will guide
|
|
3571
|
+
* the AI on how to navigate the IVR system.
|
|
3572
|
+
*/
|
|
3573
|
+
export interface IvrOption {
|
|
3574
|
+
/**
|
|
3575
|
+
* The prompt to be used for warm handoff. Can contain dynamic variables.
|
|
3576
|
+
*/
|
|
3577
|
+
prompt?: string;
|
|
3578
|
+
|
|
3579
|
+
type?: 'prompt';
|
|
3580
|
+
}
|
|
3581
|
+
|
|
3454
3582
|
export interface WarmTransferPrompt {
|
|
3455
3583
|
/**
|
|
3456
3584
|
* The prompt to be used for warm handoff. Can contain dynamic variables.
|
|
@@ -4117,7 +4245,7 @@ export namespace LlmUpdateParams {
|
|
|
4117
4245
|
|
|
4118
4246
|
/**
|
|
4119
4247
|
* Extension digits to dial after the main number connects. Sent via DTMF. Allow
|
|
4120
|
-
* digits, '\*', '#'.
|
|
4248
|
+
* digits, '\*', '#', or a dynamic variable like {{extension}}.
|
|
4121
4249
|
*/
|
|
4122
4250
|
extension?: string;
|
|
4123
4251
|
}
|
|
@@ -4144,9 +4272,8 @@ export namespace LlmUpdateParams {
|
|
|
4144
4272
|
|
|
4145
4273
|
/**
|
|
4146
4274
|
* If set to true, will show transferee (the user, not the AI agent) as caller when
|
|
4147
|
-
* transferring, requires the telephony side to support
|
|
4148
|
-
*
|
|
4149
|
-
* field will be ignored. Default to false (default to show AI agent as caller).
|
|
4275
|
+
* transferring, requires the telephony side to support caller id override. Retell
|
|
4276
|
+
* Twilio numbers support this option.
|
|
4150
4277
|
*/
|
|
4151
4278
|
show_transferee_as_caller?: boolean;
|
|
4152
4279
|
}
|
|
@@ -4162,6 +4289,12 @@ export namespace LlmUpdateParams {
|
|
|
4162
4289
|
*/
|
|
4163
4290
|
agent_detection_timeout_ms?: number;
|
|
4164
4291
|
|
|
4292
|
+
/**
|
|
4293
|
+
* IVR navigation option to run when doing human detection. This prompt will guide
|
|
4294
|
+
* the AI on how to navigate the IVR system.
|
|
4295
|
+
*/
|
|
4296
|
+
ivr_option?: TransferOptionWarmTransfer.IvrOption;
|
|
4297
|
+
|
|
4165
4298
|
/**
|
|
4166
4299
|
* The music to play while the caller is being transferred.
|
|
4167
4300
|
*/
|
|
@@ -4196,9 +4329,29 @@ export namespace LlmUpdateParams {
|
|
|
4196
4329
|
public_handoff_option?:
|
|
4197
4330
|
| TransferOptionWarmTransfer.WarmTransferPrompt
|
|
4198
4331
|
| TransferOptionWarmTransfer.WarmTransferStaticMessage;
|
|
4332
|
+
|
|
4333
|
+
/**
|
|
4334
|
+
* If set to true, will show transferee (the user, not the AI agent) as caller when
|
|
4335
|
+
* transferring, requires the telephony side to support caller id override. Retell
|
|
4336
|
+
* Twilio numbers support this option.
|
|
4337
|
+
*/
|
|
4338
|
+
show_transferee_as_caller?: boolean;
|
|
4199
4339
|
}
|
|
4200
4340
|
|
|
4201
4341
|
export namespace TransferOptionWarmTransfer {
|
|
4342
|
+
/**
|
|
4343
|
+
* IVR navigation option to run when doing human detection. This prompt will guide
|
|
4344
|
+
* the AI on how to navigate the IVR system.
|
|
4345
|
+
*/
|
|
4346
|
+
export interface IvrOption {
|
|
4347
|
+
/**
|
|
4348
|
+
* The prompt to be used for warm handoff. Can contain dynamic variables.
|
|
4349
|
+
*/
|
|
4350
|
+
prompt?: string;
|
|
4351
|
+
|
|
4352
|
+
type?: 'prompt';
|
|
4353
|
+
}
|
|
4354
|
+
|
|
4202
4355
|
export interface WarmTransferPrompt {
|
|
4203
4356
|
/**
|
|
4204
4357
|
* The prompt to be used for warm handoff. Can contain dynamic variables.
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.51.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.51.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.51.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|