retell-sdk 5.7.0 → 5.8.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 +224 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +6 -5
- package/client.js.map +1 -1
- package/client.mjs +6 -5
- package/client.mjs.map +1 -1
- package/internal/uploads.js +12 -2
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs +12 -2
- package/internal/uploads.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +72 -12
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +72 -12
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +26 -6
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +26 -6
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +78 -18
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +78 -18
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +66 -6
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +66 -6
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +225 -15
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +225 -15
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +453 -33
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +453 -33
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.mts +213 -3
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +213 -3
- package/resources/llm.d.ts.map +1 -1
- package/resources/tests.d.mts +3 -3
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +3 -3
- package/resources/tests.d.ts.map +1 -1
- package/src/client.ts +6 -5
- package/src/internal/uploads.ts +12 -4
- package/src/resources/agent.ts +84 -6
- package/src/resources/batch-call.ts +30 -2
- package/src/resources/call.ts +90 -6
- package/src/resources/chat-agent.ts +78 -3
- package/src/resources/conversation-flow-component.ts +267 -0
- package/src/resources/conversation-flow.ts +537 -0
- package/src/resources/llm.ts +255 -0
- package/src/resources/tests.ts +3 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/llm.ts
CHANGED
|
@@ -186,6 +186,7 @@ export interface LlmResponse {
|
|
|
186
186
|
| 'gpt-5-mini'
|
|
187
187
|
| 'gpt-5-nano'
|
|
188
188
|
| 'claude-4.5-sonnet'
|
|
189
|
+
| 'claude-4.6-sonnet'
|
|
189
190
|
| 'claude-4.5-haiku'
|
|
190
191
|
| 'gemini-2.5-flash'
|
|
191
192
|
| 'gemini-2.5-flash-lite'
|
|
@@ -396,6 +397,12 @@ export namespace LlmResponse {
|
|
|
396
397
|
* id when using `sip refer` cold transfer mode.
|
|
397
398
|
*/
|
|
398
399
|
show_transferee_as_caller?: boolean;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
403
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
404
|
+
*/
|
|
405
|
+
transfer_ring_duration_ms?: number;
|
|
399
406
|
}
|
|
400
407
|
|
|
401
408
|
export interface TransferOptionWarmTransfer {
|
|
@@ -461,6 +468,12 @@ export namespace LlmResponse {
|
|
|
461
468
|
* Twilio numbers support this option.
|
|
462
469
|
*/
|
|
463
470
|
show_transferee_as_caller?: boolean;
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
474
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
475
|
+
*/
|
|
476
|
+
transfer_ring_duration_ms?: number;
|
|
464
477
|
}
|
|
465
478
|
|
|
466
479
|
export namespace TransferOptionWarmTransfer {
|
|
@@ -550,6 +563,12 @@ export namespace LlmResponse {
|
|
|
550
563
|
* Twilio numbers support this option.
|
|
551
564
|
*/
|
|
552
565
|
show_transferee_as_caller?: boolean;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
569
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
570
|
+
*/
|
|
571
|
+
transfer_ring_duration_ms?: number;
|
|
553
572
|
}
|
|
554
573
|
|
|
555
574
|
export namespace TransferOptionAgenticWarmTransfer {
|
|
@@ -991,6 +1010,12 @@ export namespace LlmResponse {
|
|
|
991
1010
|
* Examples of the variable value to teach model the style and syntax.
|
|
992
1011
|
*/
|
|
993
1012
|
examples?: Array<string>;
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
1016
|
+
* will be marked as unsuccessful.
|
|
1017
|
+
*/
|
|
1018
|
+
required?: boolean;
|
|
994
1019
|
}
|
|
995
1020
|
|
|
996
1021
|
export interface EnumAnalysisData {
|
|
@@ -1013,6 +1038,12 @@ export namespace LlmResponse {
|
|
|
1013
1038
|
* Type of the variable to extract.
|
|
1014
1039
|
*/
|
|
1015
1040
|
type: 'enum';
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
1044
|
+
* will be marked as unsuccessful.
|
|
1045
|
+
*/
|
|
1046
|
+
required?: boolean;
|
|
1016
1047
|
}
|
|
1017
1048
|
|
|
1018
1049
|
export interface BooleanAnalysisData {
|
|
@@ -1030,6 +1061,12 @@ export namespace LlmResponse {
|
|
|
1030
1061
|
* Type of the variable to extract.
|
|
1031
1062
|
*/
|
|
1032
1063
|
type: 'boolean';
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
1067
|
+
* will be marked as unsuccessful.
|
|
1068
|
+
*/
|
|
1069
|
+
required?: boolean;
|
|
1033
1070
|
}
|
|
1034
1071
|
|
|
1035
1072
|
export interface NumberAnalysisData {
|
|
@@ -1047,6 +1084,12 @@ export namespace LlmResponse {
|
|
|
1047
1084
|
* Type of the variable to extract.
|
|
1048
1085
|
*/
|
|
1049
1086
|
type: 'number';
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
1090
|
+
* will be marked as unsuccessful.
|
|
1091
|
+
*/
|
|
1092
|
+
required?: boolean;
|
|
1050
1093
|
}
|
|
1051
1094
|
}
|
|
1052
1095
|
|
|
@@ -1442,6 +1485,12 @@ export namespace LlmResponse {
|
|
|
1442
1485
|
* id when using `sip refer` cold transfer mode.
|
|
1443
1486
|
*/
|
|
1444
1487
|
show_transferee_as_caller?: boolean;
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
1491
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
1492
|
+
*/
|
|
1493
|
+
transfer_ring_duration_ms?: number;
|
|
1445
1494
|
}
|
|
1446
1495
|
|
|
1447
1496
|
export interface TransferOptionWarmTransfer {
|
|
@@ -1507,6 +1556,12 @@ export namespace LlmResponse {
|
|
|
1507
1556
|
* Twilio numbers support this option.
|
|
1508
1557
|
*/
|
|
1509
1558
|
show_transferee_as_caller?: boolean;
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
1562
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
1563
|
+
*/
|
|
1564
|
+
transfer_ring_duration_ms?: number;
|
|
1510
1565
|
}
|
|
1511
1566
|
|
|
1512
1567
|
export namespace TransferOptionWarmTransfer {
|
|
@@ -1596,6 +1651,12 @@ export namespace LlmResponse {
|
|
|
1596
1651
|
* Twilio numbers support this option.
|
|
1597
1652
|
*/
|
|
1598
1653
|
show_transferee_as_caller?: boolean;
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
1657
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
1658
|
+
*/
|
|
1659
|
+
transfer_ring_duration_ms?: number;
|
|
1599
1660
|
}
|
|
1600
1661
|
|
|
1601
1662
|
export namespace TransferOptionAgenticWarmTransfer {
|
|
@@ -2037,6 +2098,12 @@ export namespace LlmResponse {
|
|
|
2037
2098
|
* Examples of the variable value to teach model the style and syntax.
|
|
2038
2099
|
*/
|
|
2039
2100
|
examples?: Array<string>;
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
2104
|
+
* will be marked as unsuccessful.
|
|
2105
|
+
*/
|
|
2106
|
+
required?: boolean;
|
|
2040
2107
|
}
|
|
2041
2108
|
|
|
2042
2109
|
export interface EnumAnalysisData {
|
|
@@ -2059,6 +2126,12 @@ export namespace LlmResponse {
|
|
|
2059
2126
|
* Type of the variable to extract.
|
|
2060
2127
|
*/
|
|
2061
2128
|
type: 'enum';
|
|
2129
|
+
|
|
2130
|
+
/**
|
|
2131
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
2132
|
+
* will be marked as unsuccessful.
|
|
2133
|
+
*/
|
|
2134
|
+
required?: boolean;
|
|
2062
2135
|
}
|
|
2063
2136
|
|
|
2064
2137
|
export interface BooleanAnalysisData {
|
|
@@ -2076,6 +2149,12 @@ export namespace LlmResponse {
|
|
|
2076
2149
|
* Type of the variable to extract.
|
|
2077
2150
|
*/
|
|
2078
2151
|
type: 'boolean';
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
2155
|
+
* will be marked as unsuccessful.
|
|
2156
|
+
*/
|
|
2157
|
+
required?: boolean;
|
|
2079
2158
|
}
|
|
2080
2159
|
|
|
2081
2160
|
export interface NumberAnalysisData {
|
|
@@ -2093,6 +2172,12 @@ export namespace LlmResponse {
|
|
|
2093
2172
|
* Type of the variable to extract.
|
|
2094
2173
|
*/
|
|
2095
2174
|
type: 'number';
|
|
2175
|
+
|
|
2176
|
+
/**
|
|
2177
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
2178
|
+
* will be marked as unsuccessful.
|
|
2179
|
+
*/
|
|
2180
|
+
required?: boolean;
|
|
2096
2181
|
}
|
|
2097
2182
|
}
|
|
2098
2183
|
|
|
@@ -2282,6 +2367,7 @@ export interface LlmCreateParams {
|
|
|
2282
2367
|
| 'gpt-5-mini'
|
|
2283
2368
|
| 'gpt-5-nano'
|
|
2284
2369
|
| 'claude-4.5-sonnet'
|
|
2370
|
+
| 'claude-4.6-sonnet'
|
|
2285
2371
|
| 'claude-4.5-haiku'
|
|
2286
2372
|
| 'gemini-2.5-flash'
|
|
2287
2373
|
| 'gemini-2.5-flash-lite'
|
|
@@ -2492,6 +2578,12 @@ export namespace LlmCreateParams {
|
|
|
2492
2578
|
* id when using `sip refer` cold transfer mode.
|
|
2493
2579
|
*/
|
|
2494
2580
|
show_transferee_as_caller?: boolean;
|
|
2581
|
+
|
|
2582
|
+
/**
|
|
2583
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
2584
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
2585
|
+
*/
|
|
2586
|
+
transfer_ring_duration_ms?: number;
|
|
2495
2587
|
}
|
|
2496
2588
|
|
|
2497
2589
|
export interface TransferOptionWarmTransfer {
|
|
@@ -2557,6 +2649,12 @@ export namespace LlmCreateParams {
|
|
|
2557
2649
|
* Twilio numbers support this option.
|
|
2558
2650
|
*/
|
|
2559
2651
|
show_transferee_as_caller?: boolean;
|
|
2652
|
+
|
|
2653
|
+
/**
|
|
2654
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
2655
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
2656
|
+
*/
|
|
2657
|
+
transfer_ring_duration_ms?: number;
|
|
2560
2658
|
}
|
|
2561
2659
|
|
|
2562
2660
|
export namespace TransferOptionWarmTransfer {
|
|
@@ -2646,6 +2744,12 @@ export namespace LlmCreateParams {
|
|
|
2646
2744
|
* Twilio numbers support this option.
|
|
2647
2745
|
*/
|
|
2648
2746
|
show_transferee_as_caller?: boolean;
|
|
2747
|
+
|
|
2748
|
+
/**
|
|
2749
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
2750
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
2751
|
+
*/
|
|
2752
|
+
transfer_ring_duration_ms?: number;
|
|
2649
2753
|
}
|
|
2650
2754
|
|
|
2651
2755
|
export namespace TransferOptionAgenticWarmTransfer {
|
|
@@ -3087,6 +3191,12 @@ export namespace LlmCreateParams {
|
|
|
3087
3191
|
* Examples of the variable value to teach model the style and syntax.
|
|
3088
3192
|
*/
|
|
3089
3193
|
examples?: Array<string>;
|
|
3194
|
+
|
|
3195
|
+
/**
|
|
3196
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
3197
|
+
* will be marked as unsuccessful.
|
|
3198
|
+
*/
|
|
3199
|
+
required?: boolean;
|
|
3090
3200
|
}
|
|
3091
3201
|
|
|
3092
3202
|
export interface EnumAnalysisData {
|
|
@@ -3109,6 +3219,12 @@ export namespace LlmCreateParams {
|
|
|
3109
3219
|
* Type of the variable to extract.
|
|
3110
3220
|
*/
|
|
3111
3221
|
type: 'enum';
|
|
3222
|
+
|
|
3223
|
+
/**
|
|
3224
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
3225
|
+
* will be marked as unsuccessful.
|
|
3226
|
+
*/
|
|
3227
|
+
required?: boolean;
|
|
3112
3228
|
}
|
|
3113
3229
|
|
|
3114
3230
|
export interface BooleanAnalysisData {
|
|
@@ -3126,6 +3242,12 @@ export namespace LlmCreateParams {
|
|
|
3126
3242
|
* Type of the variable to extract.
|
|
3127
3243
|
*/
|
|
3128
3244
|
type: 'boolean';
|
|
3245
|
+
|
|
3246
|
+
/**
|
|
3247
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
3248
|
+
* will be marked as unsuccessful.
|
|
3249
|
+
*/
|
|
3250
|
+
required?: boolean;
|
|
3129
3251
|
}
|
|
3130
3252
|
|
|
3131
3253
|
export interface NumberAnalysisData {
|
|
@@ -3143,6 +3265,12 @@ export namespace LlmCreateParams {
|
|
|
3143
3265
|
* Type of the variable to extract.
|
|
3144
3266
|
*/
|
|
3145
3267
|
type: 'number';
|
|
3268
|
+
|
|
3269
|
+
/**
|
|
3270
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
3271
|
+
* will be marked as unsuccessful.
|
|
3272
|
+
*/
|
|
3273
|
+
required?: boolean;
|
|
3146
3274
|
}
|
|
3147
3275
|
}
|
|
3148
3276
|
|
|
@@ -3538,6 +3666,12 @@ export namespace LlmCreateParams {
|
|
|
3538
3666
|
* id when using `sip refer` cold transfer mode.
|
|
3539
3667
|
*/
|
|
3540
3668
|
show_transferee_as_caller?: boolean;
|
|
3669
|
+
|
|
3670
|
+
/**
|
|
3671
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
3672
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
3673
|
+
*/
|
|
3674
|
+
transfer_ring_duration_ms?: number;
|
|
3541
3675
|
}
|
|
3542
3676
|
|
|
3543
3677
|
export interface TransferOptionWarmTransfer {
|
|
@@ -3603,6 +3737,12 @@ export namespace LlmCreateParams {
|
|
|
3603
3737
|
* Twilio numbers support this option.
|
|
3604
3738
|
*/
|
|
3605
3739
|
show_transferee_as_caller?: boolean;
|
|
3740
|
+
|
|
3741
|
+
/**
|
|
3742
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
3743
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
3744
|
+
*/
|
|
3745
|
+
transfer_ring_duration_ms?: number;
|
|
3606
3746
|
}
|
|
3607
3747
|
|
|
3608
3748
|
export namespace TransferOptionWarmTransfer {
|
|
@@ -3692,6 +3832,12 @@ export namespace LlmCreateParams {
|
|
|
3692
3832
|
* Twilio numbers support this option.
|
|
3693
3833
|
*/
|
|
3694
3834
|
show_transferee_as_caller?: boolean;
|
|
3835
|
+
|
|
3836
|
+
/**
|
|
3837
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
3838
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
3839
|
+
*/
|
|
3840
|
+
transfer_ring_duration_ms?: number;
|
|
3695
3841
|
}
|
|
3696
3842
|
|
|
3697
3843
|
export namespace TransferOptionAgenticWarmTransfer {
|
|
@@ -4133,6 +4279,12 @@ export namespace LlmCreateParams {
|
|
|
4133
4279
|
* Examples of the variable value to teach model the style and syntax.
|
|
4134
4280
|
*/
|
|
4135
4281
|
examples?: Array<string>;
|
|
4282
|
+
|
|
4283
|
+
/**
|
|
4284
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
4285
|
+
* will be marked as unsuccessful.
|
|
4286
|
+
*/
|
|
4287
|
+
required?: boolean;
|
|
4136
4288
|
}
|
|
4137
4289
|
|
|
4138
4290
|
export interface EnumAnalysisData {
|
|
@@ -4155,6 +4307,12 @@ export namespace LlmCreateParams {
|
|
|
4155
4307
|
* Type of the variable to extract.
|
|
4156
4308
|
*/
|
|
4157
4309
|
type: 'enum';
|
|
4310
|
+
|
|
4311
|
+
/**
|
|
4312
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
4313
|
+
* will be marked as unsuccessful.
|
|
4314
|
+
*/
|
|
4315
|
+
required?: boolean;
|
|
4158
4316
|
}
|
|
4159
4317
|
|
|
4160
4318
|
export interface BooleanAnalysisData {
|
|
@@ -4172,6 +4330,12 @@ export namespace LlmCreateParams {
|
|
|
4172
4330
|
* Type of the variable to extract.
|
|
4173
4331
|
*/
|
|
4174
4332
|
type: 'boolean';
|
|
4333
|
+
|
|
4334
|
+
/**
|
|
4335
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
4336
|
+
* will be marked as unsuccessful.
|
|
4337
|
+
*/
|
|
4338
|
+
required?: boolean;
|
|
4175
4339
|
}
|
|
4176
4340
|
|
|
4177
4341
|
export interface NumberAnalysisData {
|
|
@@ -4189,6 +4353,12 @@ export namespace LlmCreateParams {
|
|
|
4189
4353
|
* Type of the variable to extract.
|
|
4190
4354
|
*/
|
|
4191
4355
|
type: 'number';
|
|
4356
|
+
|
|
4357
|
+
/**
|
|
4358
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
4359
|
+
* will be marked as unsuccessful.
|
|
4360
|
+
*/
|
|
4361
|
+
required?: boolean;
|
|
4192
4362
|
}
|
|
4193
4363
|
}
|
|
4194
4364
|
|
|
@@ -4392,6 +4562,7 @@ export interface LlmUpdateParams {
|
|
|
4392
4562
|
| 'gpt-5-mini'
|
|
4393
4563
|
| 'gpt-5-nano'
|
|
4394
4564
|
| 'claude-4.5-sonnet'
|
|
4565
|
+
| 'claude-4.6-sonnet'
|
|
4395
4566
|
| 'claude-4.5-haiku'
|
|
4396
4567
|
| 'gemini-2.5-flash'
|
|
4397
4568
|
| 'gemini-2.5-flash-lite'
|
|
@@ -4602,6 +4773,12 @@ export namespace LlmUpdateParams {
|
|
|
4602
4773
|
* id when using `sip refer` cold transfer mode.
|
|
4603
4774
|
*/
|
|
4604
4775
|
show_transferee_as_caller?: boolean;
|
|
4776
|
+
|
|
4777
|
+
/**
|
|
4778
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
4779
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
4780
|
+
*/
|
|
4781
|
+
transfer_ring_duration_ms?: number;
|
|
4605
4782
|
}
|
|
4606
4783
|
|
|
4607
4784
|
export interface TransferOptionWarmTransfer {
|
|
@@ -4667,6 +4844,12 @@ export namespace LlmUpdateParams {
|
|
|
4667
4844
|
* Twilio numbers support this option.
|
|
4668
4845
|
*/
|
|
4669
4846
|
show_transferee_as_caller?: boolean;
|
|
4847
|
+
|
|
4848
|
+
/**
|
|
4849
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
4850
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
4851
|
+
*/
|
|
4852
|
+
transfer_ring_duration_ms?: number;
|
|
4670
4853
|
}
|
|
4671
4854
|
|
|
4672
4855
|
export namespace TransferOptionWarmTransfer {
|
|
@@ -4756,6 +4939,12 @@ export namespace LlmUpdateParams {
|
|
|
4756
4939
|
* Twilio numbers support this option.
|
|
4757
4940
|
*/
|
|
4758
4941
|
show_transferee_as_caller?: boolean;
|
|
4942
|
+
|
|
4943
|
+
/**
|
|
4944
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
4945
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
4946
|
+
*/
|
|
4947
|
+
transfer_ring_duration_ms?: number;
|
|
4759
4948
|
}
|
|
4760
4949
|
|
|
4761
4950
|
export namespace TransferOptionAgenticWarmTransfer {
|
|
@@ -5197,6 +5386,12 @@ export namespace LlmUpdateParams {
|
|
|
5197
5386
|
* Examples of the variable value to teach model the style and syntax.
|
|
5198
5387
|
*/
|
|
5199
5388
|
examples?: Array<string>;
|
|
5389
|
+
|
|
5390
|
+
/**
|
|
5391
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
5392
|
+
* will be marked as unsuccessful.
|
|
5393
|
+
*/
|
|
5394
|
+
required?: boolean;
|
|
5200
5395
|
}
|
|
5201
5396
|
|
|
5202
5397
|
export interface EnumAnalysisData {
|
|
@@ -5219,6 +5414,12 @@ export namespace LlmUpdateParams {
|
|
|
5219
5414
|
* Type of the variable to extract.
|
|
5220
5415
|
*/
|
|
5221
5416
|
type: 'enum';
|
|
5417
|
+
|
|
5418
|
+
/**
|
|
5419
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
5420
|
+
* will be marked as unsuccessful.
|
|
5421
|
+
*/
|
|
5422
|
+
required?: boolean;
|
|
5222
5423
|
}
|
|
5223
5424
|
|
|
5224
5425
|
export interface BooleanAnalysisData {
|
|
@@ -5236,6 +5437,12 @@ export namespace LlmUpdateParams {
|
|
|
5236
5437
|
* Type of the variable to extract.
|
|
5237
5438
|
*/
|
|
5238
5439
|
type: 'boolean';
|
|
5440
|
+
|
|
5441
|
+
/**
|
|
5442
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
5443
|
+
* will be marked as unsuccessful.
|
|
5444
|
+
*/
|
|
5445
|
+
required?: boolean;
|
|
5239
5446
|
}
|
|
5240
5447
|
|
|
5241
5448
|
export interface NumberAnalysisData {
|
|
@@ -5253,6 +5460,12 @@ export namespace LlmUpdateParams {
|
|
|
5253
5460
|
* Type of the variable to extract.
|
|
5254
5461
|
*/
|
|
5255
5462
|
type: 'number';
|
|
5463
|
+
|
|
5464
|
+
/**
|
|
5465
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
5466
|
+
* will be marked as unsuccessful.
|
|
5467
|
+
*/
|
|
5468
|
+
required?: boolean;
|
|
5256
5469
|
}
|
|
5257
5470
|
}
|
|
5258
5471
|
|
|
@@ -5648,6 +5861,12 @@ export namespace LlmUpdateParams {
|
|
|
5648
5861
|
* id when using `sip refer` cold transfer mode.
|
|
5649
5862
|
*/
|
|
5650
5863
|
show_transferee_as_caller?: boolean;
|
|
5864
|
+
|
|
5865
|
+
/**
|
|
5866
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
5867
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
5868
|
+
*/
|
|
5869
|
+
transfer_ring_duration_ms?: number;
|
|
5651
5870
|
}
|
|
5652
5871
|
|
|
5653
5872
|
export interface TransferOptionWarmTransfer {
|
|
@@ -5713,6 +5932,12 @@ export namespace LlmUpdateParams {
|
|
|
5713
5932
|
* Twilio numbers support this option.
|
|
5714
5933
|
*/
|
|
5715
5934
|
show_transferee_as_caller?: boolean;
|
|
5935
|
+
|
|
5936
|
+
/**
|
|
5937
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
5938
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
5939
|
+
*/
|
|
5940
|
+
transfer_ring_duration_ms?: number;
|
|
5716
5941
|
}
|
|
5717
5942
|
|
|
5718
5943
|
export namespace TransferOptionWarmTransfer {
|
|
@@ -5802,6 +6027,12 @@ export namespace LlmUpdateParams {
|
|
|
5802
6027
|
* Twilio numbers support this option.
|
|
5803
6028
|
*/
|
|
5804
6029
|
show_transferee_as_caller?: boolean;
|
|
6030
|
+
|
|
6031
|
+
/**
|
|
6032
|
+
* Override the ring duration for this specific transfer, in milliseconds. If not
|
|
6033
|
+
* set, falls back to the agent-level `ring_duration_ms`.
|
|
6034
|
+
*/
|
|
6035
|
+
transfer_ring_duration_ms?: number;
|
|
5805
6036
|
}
|
|
5806
6037
|
|
|
5807
6038
|
export namespace TransferOptionAgenticWarmTransfer {
|
|
@@ -6243,6 +6474,12 @@ export namespace LlmUpdateParams {
|
|
|
6243
6474
|
* Examples of the variable value to teach model the style and syntax.
|
|
6244
6475
|
*/
|
|
6245
6476
|
examples?: Array<string>;
|
|
6477
|
+
|
|
6478
|
+
/**
|
|
6479
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
6480
|
+
* will be marked as unsuccessful.
|
|
6481
|
+
*/
|
|
6482
|
+
required?: boolean;
|
|
6246
6483
|
}
|
|
6247
6484
|
|
|
6248
6485
|
export interface EnumAnalysisData {
|
|
@@ -6265,6 +6502,12 @@ export namespace LlmUpdateParams {
|
|
|
6265
6502
|
* Type of the variable to extract.
|
|
6266
6503
|
*/
|
|
6267
6504
|
type: 'enum';
|
|
6505
|
+
|
|
6506
|
+
/**
|
|
6507
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
6508
|
+
* will be marked as unsuccessful.
|
|
6509
|
+
*/
|
|
6510
|
+
required?: boolean;
|
|
6268
6511
|
}
|
|
6269
6512
|
|
|
6270
6513
|
export interface BooleanAnalysisData {
|
|
@@ -6282,6 +6525,12 @@ export namespace LlmUpdateParams {
|
|
|
6282
6525
|
* Type of the variable to extract.
|
|
6283
6526
|
*/
|
|
6284
6527
|
type: 'boolean';
|
|
6528
|
+
|
|
6529
|
+
/**
|
|
6530
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
6531
|
+
* will be marked as unsuccessful.
|
|
6532
|
+
*/
|
|
6533
|
+
required?: boolean;
|
|
6285
6534
|
}
|
|
6286
6535
|
|
|
6287
6536
|
export interface NumberAnalysisData {
|
|
@@ -6299,6 +6548,12 @@ export namespace LlmUpdateParams {
|
|
|
6299
6548
|
* Type of the variable to extract.
|
|
6300
6549
|
*/
|
|
6301
6550
|
type: 'number';
|
|
6551
|
+
|
|
6552
|
+
/**
|
|
6553
|
+
* Whether this data is required. If true and the data is not extracted, the call
|
|
6554
|
+
* will be marked as unsuccessful.
|
|
6555
|
+
*/
|
|
6556
|
+
required?: boolean;
|
|
6302
6557
|
}
|
|
6303
6558
|
}
|
|
6304
6559
|
|
package/src/resources/tests.ts
CHANGED
|
@@ -216,6 +216,7 @@ export interface TestCaseDefinitionResponse {
|
|
|
216
216
|
| 'gpt-5-mini'
|
|
217
217
|
| 'gpt-5-nano'
|
|
218
218
|
| 'claude-4.5-sonnet'
|
|
219
|
+
| 'claude-4.6-sonnet'
|
|
219
220
|
| 'claude-4.5-haiku'
|
|
220
221
|
| 'gemini-2.5-flash'
|
|
221
222
|
| 'gemini-2.5-flash-lite'
|
|
@@ -486,6 +487,7 @@ export interface TestCreateTestCaseDefinitionParams {
|
|
|
486
487
|
| 'gpt-5-mini'
|
|
487
488
|
| 'gpt-5-nano'
|
|
488
489
|
| 'claude-4.5-sonnet'
|
|
490
|
+
| 'claude-4.6-sonnet'
|
|
489
491
|
| 'claude-4.5-haiku'
|
|
490
492
|
| 'gemini-2.5-flash'
|
|
491
493
|
| 'gemini-2.5-flash-lite'
|
|
@@ -641,6 +643,7 @@ export interface TestUpdateTestCaseDefinitionParams {
|
|
|
641
643
|
| 'gpt-5-mini'
|
|
642
644
|
| 'gpt-5-nano'
|
|
643
645
|
| 'claude-4.5-sonnet'
|
|
646
|
+
| 'claude-4.6-sonnet'
|
|
644
647
|
| 'claude-4.5-haiku'
|
|
645
648
|
| 'gemini-2.5-flash'
|
|
646
649
|
| 'gemini-2.5-flash-lite'
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.8.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.8.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.8.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.8.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|