retell-sdk 5.25.1 → 5.26.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 +8 -0
- package/package.json +1 -1
- package/resources/agent.d.mts +9 -18
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +9 -18
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +3 -6
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +3 -6
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +153 -22
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +153 -22
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +9 -18
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +9 -18
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat.d.mts +13 -1
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +13 -1
- package/resources/chat.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +12 -0
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +12 -0
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +27 -0
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +27 -0
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/knowledge-base.d.mts +4 -0
- package/resources/knowledge-base.d.mts.map +1 -1
- package/resources/knowledge-base.d.ts +4 -0
- package/resources/knowledge-base.d.ts.map +1 -1
- package/resources/llm.d.mts +3 -11
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +3 -11
- package/resources/llm.d.ts.map +1 -1
- package/resources/llm.js +2 -6
- package/resources/llm.js.map +1 -1
- package/resources/llm.mjs +2 -6
- package/resources/llm.mjs.map +1 -1
- package/src/resources/agent.ts +9 -21
- package/src/resources/batch-call.ts +3 -7
- package/src/resources/call.ts +179 -21
- package/src/resources/chat-agent.ts +9 -21
- package/src/resources/chat.ts +15 -1
- package/src/resources/conversation-flow-component.ts +15 -0
- package/src/resources/conversation-flow.ts +33 -0
- package/src/resources/knowledge-base.ts +5 -0
- package/src/resources/llm.ts +5 -19
- 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/call.ts
CHANGED
|
@@ -359,6 +359,7 @@ export interface PhoneCallResponse {
|
|
|
359
359
|
| PhoneCallResponse.ToolCallResultUtterance
|
|
360
360
|
| PhoneCallResponse.NodeTransitionUtterance
|
|
361
361
|
| PhoneCallResponse.DtmfUtterance
|
|
362
|
+
| PhoneCallResponse.SMSUtterance
|
|
362
363
|
>;
|
|
363
364
|
|
|
364
365
|
/**
|
|
@@ -395,6 +396,7 @@ export interface PhoneCallResponse {
|
|
|
395
396
|
| PhoneCallResponse.ToolCallResultUtterance
|
|
396
397
|
| PhoneCallResponse.NodeTransitionUtterance
|
|
397
398
|
| PhoneCallResponse.DtmfUtterance
|
|
399
|
+
| PhoneCallResponse.SMSUtterance
|
|
398
400
|
>;
|
|
399
401
|
|
|
400
402
|
/**
|
|
@@ -1038,6 +1040,44 @@ export namespace PhoneCallResponse {
|
|
|
1038
1040
|
role: 'dtmf';
|
|
1039
1041
|
}
|
|
1040
1042
|
|
|
1043
|
+
export interface SMSUtterance {
|
|
1044
|
+
/**
|
|
1045
|
+
* Text content of the SMS message.
|
|
1046
|
+
*/
|
|
1047
|
+
content: string;
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* SMS message received from the user during the call (for example while the agent
|
|
1051
|
+
* is leaving a voicemail). Not part of the spoken conversation.
|
|
1052
|
+
*/
|
|
1053
|
+
role: 'sms';
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* Time the SMS was received, in seconds relative to the start of the call.
|
|
1057
|
+
*/
|
|
1058
|
+
time_sec: number;
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* Multimedia attachments (MMS). Display only; not relayed into the spoken
|
|
1062
|
+
* conversation.
|
|
1063
|
+
*/
|
|
1064
|
+
multimedia?: Array<SMSUtterance.Multimedia>;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
export namespace SMSUtterance {
|
|
1068
|
+
export interface Multimedia {
|
|
1069
|
+
/**
|
|
1070
|
+
* URL of the multimedia attachment.
|
|
1071
|
+
*/
|
|
1072
|
+
url: string;
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* Optional textual summary of the attachment.
|
|
1076
|
+
*/
|
|
1077
|
+
summary?: string;
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1041
1081
|
/**
|
|
1042
1082
|
* Telephony identifier of the call, populated when available. Tracking purposes
|
|
1043
1083
|
* only.
|
|
@@ -1226,6 +1266,44 @@ export namespace PhoneCallResponse {
|
|
|
1226
1266
|
*/
|
|
1227
1267
|
role: 'dtmf';
|
|
1228
1268
|
}
|
|
1269
|
+
|
|
1270
|
+
export interface SMSUtterance {
|
|
1271
|
+
/**
|
|
1272
|
+
* Text content of the SMS message.
|
|
1273
|
+
*/
|
|
1274
|
+
content: string;
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* SMS message received from the user during the call (for example while the agent
|
|
1278
|
+
* is leaving a voicemail). Not part of the spoken conversation.
|
|
1279
|
+
*/
|
|
1280
|
+
role: 'sms';
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* Time the SMS was received, in seconds relative to the start of the call.
|
|
1284
|
+
*/
|
|
1285
|
+
time_sec: number;
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* Multimedia attachments (MMS). Display only; not relayed into the spoken
|
|
1289
|
+
* conversation.
|
|
1290
|
+
*/
|
|
1291
|
+
multimedia?: Array<SMSUtterance.Multimedia>;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
export namespace SMSUtterance {
|
|
1295
|
+
export interface Multimedia {
|
|
1296
|
+
/**
|
|
1297
|
+
* URL of the multimedia attachment.
|
|
1298
|
+
*/
|
|
1299
|
+
url: string;
|
|
1300
|
+
|
|
1301
|
+
/**
|
|
1302
|
+
* Optional textual summary of the attachment.
|
|
1303
|
+
*/
|
|
1304
|
+
summary?: string;
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1229
1307
|
}
|
|
1230
1308
|
|
|
1231
1309
|
export interface WebCallResponse {
|
|
@@ -1432,6 +1510,7 @@ export interface WebCallResponse {
|
|
|
1432
1510
|
| WebCallResponse.ToolCallResultUtterance
|
|
1433
1511
|
| WebCallResponse.NodeTransitionUtterance
|
|
1434
1512
|
| WebCallResponse.DtmfUtterance
|
|
1513
|
+
| WebCallResponse.SMSUtterance
|
|
1435
1514
|
>;
|
|
1436
1515
|
|
|
1437
1516
|
/**
|
|
@@ -1462,6 +1541,7 @@ export interface WebCallResponse {
|
|
|
1462
1541
|
| WebCallResponse.ToolCallResultUtterance
|
|
1463
1542
|
| WebCallResponse.NodeTransitionUtterance
|
|
1464
1543
|
| WebCallResponse.DtmfUtterance
|
|
1544
|
+
| WebCallResponse.SMSUtterance
|
|
1465
1545
|
>;
|
|
1466
1546
|
|
|
1467
1547
|
/**
|
|
@@ -2105,6 +2185,44 @@ export namespace WebCallResponse {
|
|
|
2105
2185
|
role: 'dtmf';
|
|
2106
2186
|
}
|
|
2107
2187
|
|
|
2188
|
+
export interface SMSUtterance {
|
|
2189
|
+
/**
|
|
2190
|
+
* Text content of the SMS message.
|
|
2191
|
+
*/
|
|
2192
|
+
content: string;
|
|
2193
|
+
|
|
2194
|
+
/**
|
|
2195
|
+
* SMS message received from the user during the call (for example while the agent
|
|
2196
|
+
* is leaving a voicemail). Not part of the spoken conversation.
|
|
2197
|
+
*/
|
|
2198
|
+
role: 'sms';
|
|
2199
|
+
|
|
2200
|
+
/**
|
|
2201
|
+
* Time the SMS was received, in seconds relative to the start of the call.
|
|
2202
|
+
*/
|
|
2203
|
+
time_sec: number;
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* Multimedia attachments (MMS). Display only; not relayed into the spoken
|
|
2207
|
+
* conversation.
|
|
2208
|
+
*/
|
|
2209
|
+
multimedia?: Array<SMSUtterance.Multimedia>;
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
export namespace SMSUtterance {
|
|
2213
|
+
export interface Multimedia {
|
|
2214
|
+
/**
|
|
2215
|
+
* URL of the multimedia attachment.
|
|
2216
|
+
*/
|
|
2217
|
+
url: string;
|
|
2218
|
+
|
|
2219
|
+
/**
|
|
2220
|
+
* Optional textual summary of the attachment.
|
|
2221
|
+
*/
|
|
2222
|
+
summary?: string;
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2108
2226
|
export interface TranscriptObject {
|
|
2109
2227
|
/**
|
|
2110
2228
|
* Transcript of the utterances.
|
|
@@ -2282,6 +2400,44 @@ export namespace WebCallResponse {
|
|
|
2282
2400
|
*/
|
|
2283
2401
|
role: 'dtmf';
|
|
2284
2402
|
}
|
|
2403
|
+
|
|
2404
|
+
export interface SMSUtterance {
|
|
2405
|
+
/**
|
|
2406
|
+
* Text content of the SMS message.
|
|
2407
|
+
*/
|
|
2408
|
+
content: string;
|
|
2409
|
+
|
|
2410
|
+
/**
|
|
2411
|
+
* SMS message received from the user during the call (for example while the agent
|
|
2412
|
+
* is leaving a voicemail). Not part of the spoken conversation.
|
|
2413
|
+
*/
|
|
2414
|
+
role: 'sms';
|
|
2415
|
+
|
|
2416
|
+
/**
|
|
2417
|
+
* Time the SMS was received, in seconds relative to the start of the call.
|
|
2418
|
+
*/
|
|
2419
|
+
time_sec: number;
|
|
2420
|
+
|
|
2421
|
+
/**
|
|
2422
|
+
* Multimedia attachments (MMS). Display only; not relayed into the spoken
|
|
2423
|
+
* conversation.
|
|
2424
|
+
*/
|
|
2425
|
+
multimedia?: Array<SMSUtterance.Multimedia>;
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
export namespace SMSUtterance {
|
|
2429
|
+
export interface Multimedia {
|
|
2430
|
+
/**
|
|
2431
|
+
* URL of the multimedia attachment.
|
|
2432
|
+
*/
|
|
2433
|
+
url: string;
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* Optional textual summary of the attachment.
|
|
2437
|
+
*/
|
|
2438
|
+
summary?: string;
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2285
2441
|
}
|
|
2286
2442
|
|
|
2287
2443
|
export interface CallListResponse {
|
|
@@ -2296,6 +2452,12 @@ export interface CallListResponse {
|
|
|
2296
2452
|
* Pagination key for the next page.
|
|
2297
2453
|
*/
|
|
2298
2454
|
pagination_key?: string;
|
|
2455
|
+
|
|
2456
|
+
/**
|
|
2457
|
+
* Total number of calls matching `filter_criteria`. Only present when
|
|
2458
|
+
* `include_total` is true.
|
|
2459
|
+
*/
|
|
2460
|
+
total?: number;
|
|
2299
2461
|
}
|
|
2300
2462
|
|
|
2301
2463
|
export namespace CallListResponse {
|
|
@@ -3769,6 +3931,14 @@ export interface CallListParams {
|
|
|
3769
3931
|
*/
|
|
3770
3932
|
filter_criteria?: CallListParams.FilterCriteria;
|
|
3771
3933
|
|
|
3934
|
+
/**
|
|
3935
|
+
* Whether to include `total` (count of all calls matching `filter_criteria`,
|
|
3936
|
+
* ignoring `limit`/`skip`/`pagination_key`) in the response. Defaults to false.
|
|
3937
|
+
* Each enabled request triggers an additional aggregate query, so opt in only when
|
|
3938
|
+
* the total is needed.
|
|
3939
|
+
*/
|
|
3940
|
+
include_total?: boolean;
|
|
3941
|
+
|
|
3772
3942
|
/**
|
|
3773
3943
|
* Maximum number of calls to return.
|
|
3774
3944
|
*/
|
|
@@ -4891,12 +5061,6 @@ export namespace CallCreatePhoneCallParams {
|
|
|
4891
5061
|
*/
|
|
4892
5062
|
interruption_sensitivity?: number;
|
|
4893
5063
|
|
|
4894
|
-
/**
|
|
4895
|
-
* Whether the agent is public. When set to true, the agent is available for public
|
|
4896
|
-
* agent preview link.
|
|
4897
|
-
*/
|
|
4898
|
-
is_public?: boolean | null;
|
|
4899
|
-
|
|
4900
5064
|
/**
|
|
4901
5065
|
* If this option is set, the call will try to detect IVR in the first 3 minutes of
|
|
4902
5066
|
* the call. Actions defined will be applied when the IVR is detected. Set this to
|
|
@@ -5435,7 +5599,9 @@ export namespace CallCreatePhoneCallParams {
|
|
|
5435
5599
|
*/
|
|
5436
5600
|
export interface PiiConfig {
|
|
5437
5601
|
/**
|
|
5438
|
-
* List of PII categories to scrub from transcripts and recordings.
|
|
5602
|
+
* List of PII categories to scrub from transcripts and recordings. PII redaction
|
|
5603
|
+
* is only active when this list is non-empty; an empty array means no PII
|
|
5604
|
+
* scrubbing is performed.
|
|
5439
5605
|
*/
|
|
5440
5606
|
categories: Array<
|
|
5441
5607
|
| 'person_name'
|
|
@@ -6254,12 +6420,6 @@ export namespace CallCreateWebCallParams {
|
|
|
6254
6420
|
*/
|
|
6255
6421
|
interruption_sensitivity?: number;
|
|
6256
6422
|
|
|
6257
|
-
/**
|
|
6258
|
-
* Whether the agent is public. When set to true, the agent is available for public
|
|
6259
|
-
* agent preview link.
|
|
6260
|
-
*/
|
|
6261
|
-
is_public?: boolean | null;
|
|
6262
|
-
|
|
6263
6423
|
/**
|
|
6264
6424
|
* If this option is set, the call will try to detect IVR in the first 3 minutes of
|
|
6265
6425
|
* the call. Actions defined will be applied when the IVR is detected. Set this to
|
|
@@ -6798,7 +6958,9 @@ export namespace CallCreateWebCallParams {
|
|
|
6798
6958
|
*/
|
|
6799
6959
|
export interface PiiConfig {
|
|
6800
6960
|
/**
|
|
6801
|
-
* List of PII categories to scrub from transcripts and recordings.
|
|
6961
|
+
* List of PII categories to scrub from transcripts and recordings. PII redaction
|
|
6962
|
+
* is only active when this list is non-empty; an empty array means no PII
|
|
6963
|
+
* scrubbing is performed.
|
|
6802
6964
|
*/
|
|
6803
6965
|
categories: Array<
|
|
6804
6966
|
| 'person_name'
|
|
@@ -7617,12 +7779,6 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
7617
7779
|
*/
|
|
7618
7780
|
interruption_sensitivity?: number;
|
|
7619
7781
|
|
|
7620
|
-
/**
|
|
7621
|
-
* Whether the agent is public. When set to true, the agent is available for public
|
|
7622
|
-
* agent preview link.
|
|
7623
|
-
*/
|
|
7624
|
-
is_public?: boolean | null;
|
|
7625
|
-
|
|
7626
7782
|
/**
|
|
7627
7783
|
* If this option is set, the call will try to detect IVR in the first 3 minutes of
|
|
7628
7784
|
* the call. Actions defined will be applied when the IVR is detected. Set this to
|
|
@@ -8161,7 +8317,9 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
8161
8317
|
*/
|
|
8162
8318
|
export interface PiiConfig {
|
|
8163
8319
|
/**
|
|
8164
|
-
* List of PII categories to scrub from transcripts and recordings.
|
|
8320
|
+
* List of PII categories to scrub from transcripts and recordings. PII redaction
|
|
8321
|
+
* is only active when this list is non-empty; an empty array means no PII
|
|
8322
|
+
* scrubbing is performed.
|
|
8165
8323
|
*/
|
|
8166
8324
|
categories: Array<
|
|
8167
8325
|
| 'person_name'
|
|
@@ -221,12 +221,6 @@ export interface ChatAgentResponse {
|
|
|
221
221
|
*/
|
|
222
222
|
handbook_config?: ChatAgentResponse.HandbookConfig;
|
|
223
223
|
|
|
224
|
-
/**
|
|
225
|
-
* Whether the agent is public. When set to true, the agent is available for public
|
|
226
|
-
* agent preview link.
|
|
227
|
-
*/
|
|
228
|
-
is_public?: boolean | null;
|
|
229
|
-
|
|
230
224
|
/**
|
|
231
225
|
* Whether the chat agent is published.
|
|
232
226
|
*/
|
|
@@ -566,7 +560,9 @@ export namespace ChatAgentResponse {
|
|
|
566
560
|
*/
|
|
567
561
|
export interface PiiConfig {
|
|
568
562
|
/**
|
|
569
|
-
* List of PII categories to scrub from transcripts and recordings.
|
|
563
|
+
* List of PII categories to scrub from transcripts and recordings. PII redaction
|
|
564
|
+
* is only active when this list is non-empty; an empty array means no PII
|
|
565
|
+
* scrubbing is performed.
|
|
570
566
|
*/
|
|
571
567
|
categories: Array<
|
|
572
568
|
| 'person_name'
|
|
@@ -832,12 +828,6 @@ export interface ChatAgentCreateParams {
|
|
|
832
828
|
*/
|
|
833
829
|
handbook_config?: ChatAgentCreateParams.HandbookConfig;
|
|
834
830
|
|
|
835
|
-
/**
|
|
836
|
-
* Whether the agent is public. When set to true, the agent is available for public
|
|
837
|
-
* agent preview link.
|
|
838
|
-
*/
|
|
839
|
-
is_public?: boolean | null;
|
|
840
|
-
|
|
841
831
|
/**
|
|
842
832
|
* Specifies what language(s) the agent will operate in. Accepts either a single
|
|
843
833
|
* scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
|
|
@@ -1167,7 +1157,9 @@ export namespace ChatAgentCreateParams {
|
|
|
1167
1157
|
*/
|
|
1168
1158
|
export interface PiiConfig {
|
|
1169
1159
|
/**
|
|
1170
|
-
* List of PII categories to scrub from transcripts and recordings.
|
|
1160
|
+
* List of PII categories to scrub from transcripts and recordings. PII redaction
|
|
1161
|
+
* is only active when this list is non-empty; an empty array means no PII
|
|
1162
|
+
* scrubbing is performed.
|
|
1171
1163
|
*/
|
|
1172
1164
|
categories: Array<
|
|
1173
1165
|
| 'person_name'
|
|
@@ -1435,12 +1427,6 @@ export interface ChatAgentUpdateParams {
|
|
|
1435
1427
|
*/
|
|
1436
1428
|
handbook_config?: ChatAgentUpdateParams.HandbookConfig;
|
|
1437
1429
|
|
|
1438
|
-
/**
|
|
1439
|
-
* Body param: Whether the agent is public. When set to true, the agent is
|
|
1440
|
-
* available for public agent preview link.
|
|
1441
|
-
*/
|
|
1442
|
-
is_public?: boolean | null;
|
|
1443
|
-
|
|
1444
1430
|
/**
|
|
1445
1431
|
* Body param: Specifies what language(s) the agent will operate in. Accepts either
|
|
1446
1432
|
* a single scalar locale (e.g. `en-US`), the legacy scalar value `multi` for
|
|
@@ -1734,7 +1720,9 @@ export namespace ChatAgentUpdateParams {
|
|
|
1734
1720
|
*/
|
|
1735
1721
|
export interface PiiConfig {
|
|
1736
1722
|
/**
|
|
1737
|
-
* List of PII categories to scrub from transcripts and recordings.
|
|
1723
|
+
* List of PII categories to scrub from transcripts and recordings. PII redaction
|
|
1724
|
+
* is only active when this list is non-empty; an empty array means no PII
|
|
1725
|
+
* scrubbing is performed.
|
|
1738
1726
|
*/
|
|
1739
1727
|
categories: Array<
|
|
1740
1728
|
| 'person_name'
|
package/src/resources/chat.ts
CHANGED
|
@@ -483,6 +483,12 @@ export interface ChatListResponse {
|
|
|
483
483
|
* Pagination key for the next page.
|
|
484
484
|
*/
|
|
485
485
|
pagination_key?: string;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Total number of chats matching `filter_criteria`. Only present when
|
|
489
|
+
* `include_total` is true.
|
|
490
|
+
*/
|
|
491
|
+
total?: number;
|
|
486
492
|
}
|
|
487
493
|
|
|
488
494
|
export namespace ChatListResponse {
|
|
@@ -675,7 +681,7 @@ export namespace ChatCreateChatCompletionResponse {
|
|
|
675
681
|
|
|
676
682
|
export interface ChatCreateParams {
|
|
677
683
|
/**
|
|
678
|
-
* The chat agent to use for the
|
|
684
|
+
* The chat agent to use for the chat.
|
|
679
685
|
*/
|
|
680
686
|
agent_id: string;
|
|
681
687
|
|
|
@@ -736,6 +742,14 @@ export interface ChatListParams {
|
|
|
736
742
|
*/
|
|
737
743
|
filter_criteria?: unknown;
|
|
738
744
|
|
|
745
|
+
/**
|
|
746
|
+
* Whether to include `total` (count of all chats matching `filter_criteria`,
|
|
747
|
+
* ignoring `limit`/`skip`/`pagination_key`) in the response. Defaults to false.
|
|
748
|
+
* Each enabled request triggers an additional aggregate query, so opt in only when
|
|
749
|
+
* the total is needed.
|
|
750
|
+
*/
|
|
751
|
+
include_total?: boolean;
|
|
752
|
+
|
|
739
753
|
/**
|
|
740
754
|
* Maximum number of chats to return.
|
|
741
755
|
*/
|
|
@@ -152,6 +152,11 @@ export interface ConversationFlowComponentResponse {
|
|
|
152
152
|
*/
|
|
153
153
|
begin_tag_display_position?: ConversationFlowComponentResponse.BeginTagDisplayPosition | null;
|
|
154
154
|
|
|
155
|
+
/**
|
|
156
|
+
* If enabled, the whole component will be converted as a Single Prompt agent.
|
|
157
|
+
*/
|
|
158
|
+
flex_mode?: boolean | null;
|
|
159
|
+
|
|
155
160
|
/**
|
|
156
161
|
* IDs of conversation flows linked to this shared component
|
|
157
162
|
*/
|
|
@@ -8392,6 +8397,11 @@ export interface ConversationFlowComponentCreateParams {
|
|
|
8392
8397
|
*/
|
|
8393
8398
|
begin_tag_display_position?: ConversationFlowComponentCreateParams.BeginTagDisplayPosition | null;
|
|
8394
8399
|
|
|
8400
|
+
/**
|
|
8401
|
+
* If enabled, the whole component will be converted as a Single Prompt agent.
|
|
8402
|
+
*/
|
|
8403
|
+
flex_mode?: boolean | null;
|
|
8404
|
+
|
|
8395
8405
|
/**
|
|
8396
8406
|
* A list of MCP server configurations to use for this component
|
|
8397
8407
|
*/
|
|
@@ -16587,6 +16597,11 @@ export interface ConversationFlowComponentUpdateParams {
|
|
|
16587
16597
|
*/
|
|
16588
16598
|
begin_tag_display_position?: ConversationFlowComponentUpdateParams.BeginTagDisplayPosition | null;
|
|
16589
16599
|
|
|
16600
|
+
/**
|
|
16601
|
+
* If enabled, the whole component will be converted as a Single Prompt agent.
|
|
16602
|
+
*/
|
|
16603
|
+
flex_mode?: boolean | null;
|
|
16604
|
+
|
|
16590
16605
|
/**
|
|
16591
16606
|
* A list of MCP server configurations to use for this component
|
|
16592
16607
|
*/
|
|
@@ -146,6 +146,12 @@ export interface ConversationFlowResponse {
|
|
|
146
146
|
*/
|
|
147
147
|
default_dynamic_variables?: { [key: string]: string } | null;
|
|
148
148
|
|
|
149
|
+
/**
|
|
150
|
+
* If enabled, the whole conversation flow will be converted as a Single Prompt
|
|
151
|
+
* agent.
|
|
152
|
+
*/
|
|
153
|
+
flex_mode?: boolean | null;
|
|
154
|
+
|
|
149
155
|
/**
|
|
150
156
|
* Global prompt used in every node of the conversation flow.
|
|
151
157
|
*/
|
|
@@ -276,6 +282,11 @@ export namespace ConversationFlowResponse {
|
|
|
276
282
|
*/
|
|
277
283
|
begin_tag_display_position?: Component.BeginTagDisplayPosition | null;
|
|
278
284
|
|
|
285
|
+
/**
|
|
286
|
+
* If enabled, the whole component will be converted as a Single Prompt agent.
|
|
287
|
+
*/
|
|
288
|
+
flex_mode?: boolean | null;
|
|
289
|
+
|
|
279
290
|
/**
|
|
280
291
|
* A list of MCP server configurations to use for this component
|
|
281
292
|
*/
|
|
@@ -16740,6 +16751,12 @@ export interface ConversationFlowCreateParams {
|
|
|
16740
16751
|
*/
|
|
16741
16752
|
default_dynamic_variables?: { [key: string]: string } | null;
|
|
16742
16753
|
|
|
16754
|
+
/**
|
|
16755
|
+
* If enabled, the whole conversation flow will be converted as a Single Prompt
|
|
16756
|
+
* agent.
|
|
16757
|
+
*/
|
|
16758
|
+
flex_mode?: boolean | null;
|
|
16759
|
+
|
|
16743
16760
|
/**
|
|
16744
16761
|
* Global prompt used in every node of the conversation flow.
|
|
16745
16762
|
*/
|
|
@@ -24734,6 +24751,11 @@ export namespace ConversationFlowCreateParams {
|
|
|
24734
24751
|
*/
|
|
24735
24752
|
begin_tag_display_position?: Component.BeginTagDisplayPosition | null;
|
|
24736
24753
|
|
|
24754
|
+
/**
|
|
24755
|
+
* If enabled, the whole component will be converted as a Single Prompt agent.
|
|
24756
|
+
*/
|
|
24757
|
+
flex_mode?: boolean | null;
|
|
24758
|
+
|
|
24737
24759
|
/**
|
|
24738
24760
|
* A list of MCP server configurations to use for this component
|
|
24739
24761
|
*/
|
|
@@ -33272,6 +33294,12 @@ export interface ConversationFlowUpdateParams {
|
|
|
33272
33294
|
*/
|
|
33273
33295
|
default_dynamic_variables?: { [key: string]: string } | null;
|
|
33274
33296
|
|
|
33297
|
+
/**
|
|
33298
|
+
* Body param: If enabled, the whole conversation flow will be converted as a
|
|
33299
|
+
* Single Prompt agent.
|
|
33300
|
+
*/
|
|
33301
|
+
flex_mode?: boolean | null;
|
|
33302
|
+
|
|
33275
33303
|
/**
|
|
33276
33304
|
* Body param: Global prompt used in every node of the conversation flow.
|
|
33277
33305
|
*/
|
|
@@ -33403,6 +33431,11 @@ export namespace ConversationFlowUpdateParams {
|
|
|
33403
33431
|
*/
|
|
33404
33432
|
begin_tag_display_position?: Component.BeginTagDisplayPosition | null;
|
|
33405
33433
|
|
|
33434
|
+
/**
|
|
33435
|
+
* If enabled, the whole component will be converted as a Single Prompt agent.
|
|
33436
|
+
*/
|
|
33437
|
+
flex_mode?: boolean | null;
|
|
33438
|
+
|
|
33406
33439
|
/**
|
|
33407
33440
|
* A list of MCP server configurations to use for this component
|
|
33408
33441
|
*/
|
|
@@ -168,6 +168,11 @@ export interface KnowledgeBaseResponse {
|
|
|
168
168
|
|
|
169
169
|
export namespace KnowledgeBaseResponse {
|
|
170
170
|
export interface KnowledgeBaseSourceDocument {
|
|
171
|
+
/**
|
|
172
|
+
* File size in bytes.
|
|
173
|
+
*/
|
|
174
|
+
file_size: number;
|
|
175
|
+
|
|
171
176
|
/**
|
|
172
177
|
* URL of the document stored.
|
|
173
178
|
*/
|
package/src/resources/llm.ts
CHANGED
|
@@ -53,12 +53,8 @@ export class Llm extends APIResource {
|
|
|
53
53
|
* ```
|
|
54
54
|
*/
|
|
55
55
|
update(llmID: string, params: LlmUpdateParams, options?: RequestOptions): APIPromise<LlmResponse> {
|
|
56
|
-
const {
|
|
57
|
-
return this._client.patch(path`/update-retell-llm/${llmID}`, {
|
|
58
|
-
query: { version: query_version },
|
|
59
|
-
body,
|
|
60
|
-
...options,
|
|
61
|
-
});
|
|
56
|
+
const { version, ...body } = params;
|
|
57
|
+
return this._client.patch(path`/update-retell-llm/${llmID}`, { query: { version }, body, ...options });
|
|
62
58
|
}
|
|
63
59
|
|
|
64
60
|
/**
|
|
@@ -246,9 +242,9 @@ export interface LlmResponse {
|
|
|
246
242
|
tool_call_strict_mode?: boolean | null;
|
|
247
243
|
|
|
248
244
|
/**
|
|
249
|
-
*
|
|
245
|
+
* Version of the Retell LLM Response Engine.
|
|
250
246
|
*/
|
|
251
|
-
version?: number
|
|
247
|
+
version?: number;
|
|
252
248
|
}
|
|
253
249
|
|
|
254
250
|
export namespace LlmResponse {
|
|
@@ -2797,11 +2793,6 @@ export interface LlmCreateParams {
|
|
|
2797
2793
|
* supported models.
|
|
2798
2794
|
*/
|
|
2799
2795
|
tool_call_strict_mode?: boolean | null;
|
|
2800
|
-
|
|
2801
|
-
/**
|
|
2802
|
-
* The version of the LLM.
|
|
2803
|
-
*/
|
|
2804
|
-
version?: number | null;
|
|
2805
2796
|
}
|
|
2806
2797
|
|
|
2807
2798
|
export namespace LlmCreateParams {
|
|
@@ -5209,7 +5200,7 @@ export interface LlmUpdateParams {
|
|
|
5209
5200
|
* Query param: Optional version of the API to use for this request. Default to
|
|
5210
5201
|
* latest version.
|
|
5211
5202
|
*/
|
|
5212
|
-
|
|
5203
|
+
version?: number;
|
|
5213
5204
|
|
|
5214
5205
|
/**
|
|
5215
5206
|
* Body param: If set, the AI will begin the conversation after waiting for the
|
|
@@ -5352,11 +5343,6 @@ export interface LlmUpdateParams {
|
|
|
5352
5343
|
* using certain supported models.
|
|
5353
5344
|
*/
|
|
5354
5345
|
tool_call_strict_mode?: boolean | null;
|
|
5355
|
-
|
|
5356
|
-
/**
|
|
5357
|
-
* Body param: The version of the LLM.
|
|
5358
|
-
*/
|
|
5359
|
-
body_version?: number | null;
|
|
5360
5346
|
}
|
|
5361
5347
|
|
|
5362
5348
|
export namespace LlmUpdateParams {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.26.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.26.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.26.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.26.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|