retell-sdk 6.2.5 → 6.2.6
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 +9 -0
- package/package.json +1 -1
- package/resources/agent.d.mts +3 -3
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +3 -3
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +3 -3
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +3 -3
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +141 -21
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +141 -21
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +3 -3
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +3 -3
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat.d.mts +66 -6
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +66 -6
- package/resources/chat.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +42 -42
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +42 -42
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +87 -87
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +87 -87
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.mts +3 -3
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +3 -3
- package/resources/llm.d.ts.map +1 -1
- package/resources/playground.d.mts +22 -2
- package/resources/playground.d.mts.map +1 -1
- package/resources/playground.d.ts +22 -2
- package/resources/playground.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/resources/agent.ts +0 -6
- package/src/resources/batch-call.ts +0 -6
- package/src/resources/call.ts +144 -30
- package/src/resources/chat-agent.ts +0 -6
- package/src/resources/chat.ts +72 -6
- package/src/resources/conversation-flow-component.ts +0 -84
- package/src/resources/conversation-flow.ts +0 -174
- package/src/resources/llm.ts +0 -6
- package/src/resources/playground.ts +24 -2
- package/src/resources/tests.ts +0 -6
- 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/resources/tests.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export interface TestCaseDefinitionResponse {
|
|
|
132
132
|
/**
|
|
133
133
|
* LLM model to use for simulation
|
|
134
134
|
*/
|
|
135
|
-
llm_model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-
|
|
135
|
+
llm_model: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
|
|
136
136
|
/**
|
|
137
137
|
* Array of metric names to evaluate
|
|
138
138
|
*/
|
|
@@ -383,7 +383,7 @@ export interface TestCreateTestCaseDefinitionParams {
|
|
|
383
383
|
/**
|
|
384
384
|
* LLM model to use for simulation
|
|
385
385
|
*/
|
|
386
|
-
llm_model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-
|
|
386
|
+
llm_model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
|
|
387
387
|
/**
|
|
388
388
|
* Mock tool calls for testing
|
|
389
389
|
*/
|
|
@@ -537,7 +537,7 @@ export interface TestUpdateTestCaseDefinitionParams {
|
|
|
537
537
|
/**
|
|
538
538
|
* LLM model to use for simulation
|
|
539
539
|
*/
|
|
540
|
-
llm_model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-
|
|
540
|
+
llm_model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'gpt-6-astra' | 'gpt-6-sol' | 'gpt-6.1-sol' | 'gpt-6-luna' | 'claude-4.6-sonnet' | 'claude-5-opus' | 'claude-5.5-opus' | 'claude-5-sonnet' | 'claude-5.5-sonnet' | 'claude-5.5-haiku' | 'claude-4.5-haiku' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.6-flash' | 'gemini-3.7-flash' | 'gemini-3.8-flash';
|
|
541
541
|
/**
|
|
542
542
|
* Array of metric names to evaluate
|
|
543
543
|
*/
|
package/resources/tests.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tests.d.ts","sourceRoot":"","sources":["../src/resources/tests.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,eAAe,CAAC,IAAI,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAIzG;;OAEG;IACH,wBAAwB,CACtB,IAAI,EAAE,kCAAkC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;OAEG;IACH,wBAAwB,CAAC,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOlG;;OAEG;IACH,YAAY,CAAC,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAIjG;;OAEG;IACH,qBAAqB,CACnB,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;OAEG;IACH,UAAU,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAI5F;;OAEG;IACH,cAAc,CACZ,KAAK,EAAE,wBAAwB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;OAEG;IACH,uBAAuB,CACrB,KAAK,EAAE,iCAAiC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;IAI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
| 'gpt-4.1'
|
|
681
681
|
| 'gpt-4.1-mini'
|
|
682
|
-
| 'gpt-4.1-nano'
|
|
683
682
|
| 'gpt-5'
|
|
684
683
|
| 'gpt-5-mini'
|
|
685
684
|
| 'gpt-5-nano'
|
|
@@ -695,7 +694,6 @@ export interface AgentResponse {
|
|
|
695
694
|
| 'gpt-6-sol'
|
|
696
695
|
| 'gpt-6.1-sol'
|
|
697
696
|
| 'gpt-6-luna'
|
|
698
|
-
| 'claude-4.5-sonnet'
|
|
699
697
|
| 'claude-4.6-sonnet'
|
|
700
698
|
| 'claude-5-opus'
|
|
701
699
|
| 'claude-5.5-opus'
|
|
@@ -2972,7 +2970,6 @@ export interface AgentCreateParams {
|
|
|
2972
2970
|
post_call_analysis_model?:
|
|
2973
2971
|
| 'gpt-4.1'
|
|
2974
2972
|
| 'gpt-4.1-mini'
|
|
2975
|
-
| 'gpt-4.1-nano'
|
|
2976
2973
|
| 'gpt-5'
|
|
2977
2974
|
| 'gpt-5-mini'
|
|
2978
2975
|
| 'gpt-5-nano'
|
|
@@ -2988,7 +2985,6 @@ export interface AgentCreateParams {
|
|
|
2988
2985
|
| 'gpt-6-sol'
|
|
2989
2986
|
| 'gpt-6.1-sol'
|
|
2990
2987
|
| 'gpt-6-luna'
|
|
2991
|
-
| 'claude-4.5-sonnet'
|
|
2992
2988
|
| 'claude-4.6-sonnet'
|
|
2993
2989
|
| 'claude-5-opus'
|
|
2994
2990
|
| 'claude-5.5-opus'
|
|
@@ -5171,7 +5167,6 @@ export interface AgentUpdateParams {
|
|
|
5171
5167
|
post_call_analysis_model?:
|
|
5172
5168
|
| 'gpt-4.1'
|
|
5173
5169
|
| 'gpt-4.1-mini'
|
|
5174
|
-
| 'gpt-4.1-nano'
|
|
5175
5170
|
| 'gpt-5'
|
|
5176
5171
|
| 'gpt-5-mini'
|
|
5177
5172
|
| 'gpt-5-nano'
|
|
@@ -5187,7 +5182,6 @@ export interface AgentUpdateParams {
|
|
|
5187
5182
|
| 'gpt-6-sol'
|
|
5188
5183
|
| 'gpt-6.1-sol'
|
|
5189
5184
|
| 'gpt-6-luna'
|
|
5190
|
-
| 'claude-4.5-sonnet'
|
|
5191
5185
|
| 'claude-4.6-sonnet'
|
|
5192
5186
|
| 'claude-5-opus'
|
|
5193
5187
|
| 'claude-5.5-opus'
|
|
@@ -651,7 +651,6 @@ export namespace BatchCallCreateBatchCallParams {
|
|
|
651
651
|
post_call_analysis_model?:
|
|
652
652
|
| 'gpt-4.1'
|
|
653
653
|
| 'gpt-4.1-mini'
|
|
654
|
-
| 'gpt-4.1-nano'
|
|
655
654
|
| 'gpt-5'
|
|
656
655
|
| 'gpt-5-mini'
|
|
657
656
|
| 'gpt-5-nano'
|
|
@@ -667,7 +666,6 @@ export namespace BatchCallCreateBatchCallParams {
|
|
|
667
666
|
| 'gpt-6-sol'
|
|
668
667
|
| 'gpt-6.1-sol'
|
|
669
668
|
| 'gpt-6-luna'
|
|
670
|
-
| 'claude-4.5-sonnet'
|
|
671
669
|
| 'claude-4.6-sonnet'
|
|
672
670
|
| 'claude-5-opus'
|
|
673
671
|
| 'claude-5.5-opus'
|
|
@@ -2489,7 +2487,6 @@ export namespace BatchCallCreateBatchCallParams {
|
|
|
2489
2487
|
model:
|
|
2490
2488
|
| 'gpt-4.1'
|
|
2491
2489
|
| 'gpt-4.1-mini'
|
|
2492
|
-
| 'gpt-4.1-nano'
|
|
2493
2490
|
| 'gpt-5'
|
|
2494
2491
|
| 'gpt-5-mini'
|
|
2495
2492
|
| 'gpt-5-nano'
|
|
@@ -2505,7 +2502,6 @@ export namespace BatchCallCreateBatchCallParams {
|
|
|
2505
2502
|
| 'gpt-6-sol'
|
|
2506
2503
|
| 'gpt-6.1-sol'
|
|
2507
2504
|
| 'gpt-6-luna'
|
|
2508
|
-
| 'claude-4.5-sonnet'
|
|
2509
2505
|
| 'claude-4.6-sonnet'
|
|
2510
2506
|
| 'claude-5-opus'
|
|
2511
2507
|
| 'claude-5.5-opus'
|
|
@@ -2589,7 +2585,6 @@ export namespace BatchCallCreateBatchCallParams {
|
|
|
2589
2585
|
model?:
|
|
2590
2586
|
| 'gpt-4.1'
|
|
2591
2587
|
| 'gpt-4.1-mini'
|
|
2592
|
-
| 'gpt-4.1-nano'
|
|
2593
2588
|
| 'gpt-5'
|
|
2594
2589
|
| 'gpt-5-mini'
|
|
2595
2590
|
| 'gpt-5-nano'
|
|
@@ -2605,7 +2600,6 @@ export namespace BatchCallCreateBatchCallParams {
|
|
|
2605
2600
|
| 'gpt-6-sol'
|
|
2606
2601
|
| 'gpt-6.1-sol'
|
|
2607
2602
|
| 'gpt-6-luna'
|
|
2608
|
-
| 'claude-4.5-sonnet'
|
|
2609
2603
|
| 'claude-4.6-sonnet'
|
|
2610
2604
|
| 'claude-5-opus'
|
|
2611
2605
|
| 'claude-5.5-opus'
|
package/src/resources/call.ts
CHANGED
|
@@ -1153,7 +1153,9 @@ export namespace PhoneCallResponse {
|
|
|
1153
1153
|
arguments: string;
|
|
1154
1154
|
|
|
1155
1155
|
/**
|
|
1156
|
-
* Name of the
|
|
1156
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
1157
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
1158
|
+
* characters. To identify the kind of tool, use `type`.
|
|
1157
1159
|
*/
|
|
1158
1160
|
name: string;
|
|
1159
1161
|
|
|
@@ -1172,6 +1174,15 @@ export namespace PhoneCallResponse {
|
|
|
1172
1174
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
1173
1175
|
*/
|
|
1174
1176
|
thought_signature?: string;
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
1180
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
1181
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
1182
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
1183
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
1184
|
+
*/
|
|
1185
|
+
type?: string;
|
|
1175
1186
|
}
|
|
1176
1187
|
|
|
1177
1188
|
export interface ToolCallResultUtterance {
|
|
@@ -1347,7 +1358,9 @@ export namespace PhoneCallResponse {
|
|
|
1347
1358
|
arguments: string;
|
|
1348
1359
|
|
|
1349
1360
|
/**
|
|
1350
|
-
* Name of the
|
|
1361
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
1362
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
1363
|
+
* characters. To identify the kind of tool, use `type`.
|
|
1351
1364
|
*/
|
|
1352
1365
|
name: string;
|
|
1353
1366
|
|
|
@@ -1366,6 +1379,15 @@ export namespace PhoneCallResponse {
|
|
|
1366
1379
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
1367
1380
|
*/
|
|
1368
1381
|
thought_signature?: string;
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
1385
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
1386
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
1387
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
1388
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
1389
|
+
*/
|
|
1390
|
+
type?: string;
|
|
1369
1391
|
}
|
|
1370
1392
|
|
|
1371
1393
|
export interface ToolCallResultUtterance {
|
|
@@ -1541,7 +1563,9 @@ export namespace PhoneCallResponse {
|
|
|
1541
1563
|
arguments: string;
|
|
1542
1564
|
|
|
1543
1565
|
/**
|
|
1544
|
-
* Name of the
|
|
1566
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
1567
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
1568
|
+
* characters. To identify the kind of tool, use `type`.
|
|
1545
1569
|
*/
|
|
1546
1570
|
name: string;
|
|
1547
1571
|
|
|
@@ -1560,6 +1584,15 @@ export namespace PhoneCallResponse {
|
|
|
1560
1584
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
1561
1585
|
*/
|
|
1562
1586
|
thought_signature?: string;
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
1590
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
1591
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
1592
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
1593
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
1594
|
+
*/
|
|
1595
|
+
type?: string;
|
|
1563
1596
|
}
|
|
1564
1597
|
|
|
1565
1598
|
export interface ToolCallResultUtterance {
|
|
@@ -1735,7 +1768,9 @@ export namespace PhoneCallResponse {
|
|
|
1735
1768
|
arguments: string;
|
|
1736
1769
|
|
|
1737
1770
|
/**
|
|
1738
|
-
* Name of the
|
|
1771
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
1772
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
1773
|
+
* characters. To identify the kind of tool, use `type`.
|
|
1739
1774
|
*/
|
|
1740
1775
|
name: string;
|
|
1741
1776
|
|
|
@@ -1754,6 +1789,15 @@ export namespace PhoneCallResponse {
|
|
|
1754
1789
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
1755
1790
|
*/
|
|
1756
1791
|
thought_signature?: string;
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
1795
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
1796
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
1797
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
1798
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
1799
|
+
*/
|
|
1800
|
+
type?: string;
|
|
1757
1801
|
}
|
|
1758
1802
|
|
|
1759
1803
|
export interface ToolCallResultUtterance {
|
|
@@ -1929,7 +1973,9 @@ export namespace PhoneCallResponse {
|
|
|
1929
1973
|
arguments: string;
|
|
1930
1974
|
|
|
1931
1975
|
/**
|
|
1932
|
-
* Name of the
|
|
1976
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
1977
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
1978
|
+
* characters. To identify the kind of tool, use `type`.
|
|
1933
1979
|
*/
|
|
1934
1980
|
name: string;
|
|
1935
1981
|
|
|
@@ -1948,6 +1994,15 @@ export namespace PhoneCallResponse {
|
|
|
1948
1994
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
1949
1995
|
*/
|
|
1950
1996
|
thought_signature?: string;
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
2000
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
2001
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
2002
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
2003
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
2004
|
+
*/
|
|
2005
|
+
type?: string;
|
|
1951
2006
|
}
|
|
1952
2007
|
|
|
1953
2008
|
export interface ToolCallResultUtterance {
|
|
@@ -2174,7 +2229,9 @@ export namespace PhoneCallResponse {
|
|
|
2174
2229
|
arguments: string;
|
|
2175
2230
|
|
|
2176
2231
|
/**
|
|
2177
|
-
* Name of the
|
|
2232
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
2233
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
2234
|
+
* characters. To identify the kind of tool, use `type`.
|
|
2178
2235
|
*/
|
|
2179
2236
|
name: string;
|
|
2180
2237
|
|
|
@@ -2193,6 +2250,15 @@ export namespace PhoneCallResponse {
|
|
|
2193
2250
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
2194
2251
|
*/
|
|
2195
2252
|
thought_signature?: string;
|
|
2253
|
+
|
|
2254
|
+
/**
|
|
2255
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
2256
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
2257
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
2258
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
2259
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
2260
|
+
*/
|
|
2261
|
+
type?: string;
|
|
2196
2262
|
}
|
|
2197
2263
|
|
|
2198
2264
|
export interface ToolCallResultUtterance {
|
|
@@ -3190,7 +3256,9 @@ export namespace WebCallResponse {
|
|
|
3190
3256
|
arguments: string;
|
|
3191
3257
|
|
|
3192
3258
|
/**
|
|
3193
|
-
* Name of the
|
|
3259
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
3260
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
3261
|
+
* characters. To identify the kind of tool, use `type`.
|
|
3194
3262
|
*/
|
|
3195
3263
|
name: string;
|
|
3196
3264
|
|
|
@@ -3209,6 +3277,15 @@ export namespace WebCallResponse {
|
|
|
3209
3277
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
3210
3278
|
*/
|
|
3211
3279
|
thought_signature?: string;
|
|
3280
|
+
|
|
3281
|
+
/**
|
|
3282
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
3283
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
3284
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
3285
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
3286
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
3287
|
+
*/
|
|
3288
|
+
type?: string;
|
|
3212
3289
|
}
|
|
3213
3290
|
|
|
3214
3291
|
export interface ToolCallResultUtterance {
|
|
@@ -3384,7 +3461,9 @@ export namespace WebCallResponse {
|
|
|
3384
3461
|
arguments: string;
|
|
3385
3462
|
|
|
3386
3463
|
/**
|
|
3387
|
-
* Name of the
|
|
3464
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
3465
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
3466
|
+
* characters. To identify the kind of tool, use `type`.
|
|
3388
3467
|
*/
|
|
3389
3468
|
name: string;
|
|
3390
3469
|
|
|
@@ -3403,6 +3482,15 @@ export namespace WebCallResponse {
|
|
|
3403
3482
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
3404
3483
|
*/
|
|
3405
3484
|
thought_signature?: string;
|
|
3485
|
+
|
|
3486
|
+
/**
|
|
3487
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
3488
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
3489
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
3490
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
3491
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
3492
|
+
*/
|
|
3493
|
+
type?: string;
|
|
3406
3494
|
}
|
|
3407
3495
|
|
|
3408
3496
|
export interface ToolCallResultUtterance {
|
|
@@ -3578,7 +3666,9 @@ export namespace WebCallResponse {
|
|
|
3578
3666
|
arguments: string;
|
|
3579
3667
|
|
|
3580
3668
|
/**
|
|
3581
|
-
* Name of the
|
|
3669
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
3670
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
3671
|
+
* characters. To identify the kind of tool, use `type`.
|
|
3582
3672
|
*/
|
|
3583
3673
|
name: string;
|
|
3584
3674
|
|
|
@@ -3597,6 +3687,15 @@ export namespace WebCallResponse {
|
|
|
3597
3687
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
3598
3688
|
*/
|
|
3599
3689
|
thought_signature?: string;
|
|
3690
|
+
|
|
3691
|
+
/**
|
|
3692
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
3693
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
3694
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
3695
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
3696
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
3697
|
+
*/
|
|
3698
|
+
type?: string;
|
|
3600
3699
|
}
|
|
3601
3700
|
|
|
3602
3701
|
export interface ToolCallResultUtterance {
|
|
@@ -3772,7 +3871,9 @@ export namespace WebCallResponse {
|
|
|
3772
3871
|
arguments: string;
|
|
3773
3872
|
|
|
3774
3873
|
/**
|
|
3775
|
-
* Name of the
|
|
3874
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
3875
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
3876
|
+
* characters. To identify the kind of tool, use `type`.
|
|
3776
3877
|
*/
|
|
3777
3878
|
name: string;
|
|
3778
3879
|
|
|
@@ -3791,6 +3892,15 @@ export namespace WebCallResponse {
|
|
|
3791
3892
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
3792
3893
|
*/
|
|
3793
3894
|
thought_signature?: string;
|
|
3895
|
+
|
|
3896
|
+
/**
|
|
3897
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
3898
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
3899
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
3900
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
3901
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
3902
|
+
*/
|
|
3903
|
+
type?: string;
|
|
3794
3904
|
}
|
|
3795
3905
|
|
|
3796
3906
|
export interface ToolCallResultUtterance {
|
|
@@ -3966,7 +4076,9 @@ export namespace WebCallResponse {
|
|
|
3966
4076
|
arguments: string;
|
|
3967
4077
|
|
|
3968
4078
|
/**
|
|
3969
|
-
* Name of the
|
|
4079
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
4080
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
4081
|
+
* characters. To identify the kind of tool, use `type`.
|
|
3970
4082
|
*/
|
|
3971
4083
|
name: string;
|
|
3972
4084
|
|
|
@@ -3985,6 +4097,15 @@ export namespace WebCallResponse {
|
|
|
3985
4097
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
3986
4098
|
*/
|
|
3987
4099
|
thought_signature?: string;
|
|
4100
|
+
|
|
4101
|
+
/**
|
|
4102
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
4103
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
4104
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
4105
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
4106
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
4107
|
+
*/
|
|
4108
|
+
type?: string;
|
|
3988
4109
|
}
|
|
3989
4110
|
|
|
3990
4111
|
export interface ToolCallResultUtterance {
|
|
@@ -4200,7 +4321,9 @@ export namespace WebCallResponse {
|
|
|
4200
4321
|
arguments: string;
|
|
4201
4322
|
|
|
4202
4323
|
/**
|
|
4203
|
-
* Name of the
|
|
4324
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
4325
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
4326
|
+
* characters. To identify the kind of tool, use `type`.
|
|
4204
4327
|
*/
|
|
4205
4328
|
name: string;
|
|
4206
4329
|
|
|
@@ -4219,6 +4342,15 @@ export namespace WebCallResponse {
|
|
|
4219
4342
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
4220
4343
|
*/
|
|
4221
4344
|
thought_signature?: string;
|
|
4345
|
+
|
|
4346
|
+
/**
|
|
4347
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
4348
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
4349
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
4350
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
4351
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
4352
|
+
*/
|
|
4353
|
+
type?: string;
|
|
4222
4354
|
}
|
|
4223
4355
|
|
|
4224
4356
|
export interface ToolCallResultUtterance {
|
|
@@ -7442,7 +7574,6 @@ export namespace CallCreatePhoneCallParams {
|
|
|
7442
7574
|
post_call_analysis_model?:
|
|
7443
7575
|
| 'gpt-4.1'
|
|
7444
7576
|
| 'gpt-4.1-mini'
|
|
7445
|
-
| 'gpt-4.1-nano'
|
|
7446
7577
|
| 'gpt-5'
|
|
7447
7578
|
| 'gpt-5-mini'
|
|
7448
7579
|
| 'gpt-5-nano'
|
|
@@ -7458,7 +7589,6 @@ export namespace CallCreatePhoneCallParams {
|
|
|
7458
7589
|
| 'gpt-6-sol'
|
|
7459
7590
|
| 'gpt-6.1-sol'
|
|
7460
7591
|
| 'gpt-6-luna'
|
|
7461
|
-
| 'claude-4.5-sonnet'
|
|
7462
7592
|
| 'claude-4.6-sonnet'
|
|
7463
7593
|
| 'claude-5-opus'
|
|
7464
7594
|
| 'claude-5.5-opus'
|
|
@@ -9280,7 +9410,6 @@ export namespace CallCreatePhoneCallParams {
|
|
|
9280
9410
|
model:
|
|
9281
9411
|
| 'gpt-4.1'
|
|
9282
9412
|
| 'gpt-4.1-mini'
|
|
9283
|
-
| 'gpt-4.1-nano'
|
|
9284
9413
|
| 'gpt-5'
|
|
9285
9414
|
| 'gpt-5-mini'
|
|
9286
9415
|
| 'gpt-5-nano'
|
|
@@ -9296,7 +9425,6 @@ export namespace CallCreatePhoneCallParams {
|
|
|
9296
9425
|
| 'gpt-6-sol'
|
|
9297
9426
|
| 'gpt-6.1-sol'
|
|
9298
9427
|
| 'gpt-6-luna'
|
|
9299
|
-
| 'claude-4.5-sonnet'
|
|
9300
9428
|
| 'claude-4.6-sonnet'
|
|
9301
9429
|
| 'claude-5-opus'
|
|
9302
9430
|
| 'claude-5.5-opus'
|
|
@@ -9380,7 +9508,6 @@ export namespace CallCreatePhoneCallParams {
|
|
|
9380
9508
|
model?:
|
|
9381
9509
|
| 'gpt-4.1'
|
|
9382
9510
|
| 'gpt-4.1-mini'
|
|
9383
|
-
| 'gpt-4.1-nano'
|
|
9384
9511
|
| 'gpt-5'
|
|
9385
9512
|
| 'gpt-5-mini'
|
|
9386
9513
|
| 'gpt-5-nano'
|
|
@@ -9396,7 +9523,6 @@ export namespace CallCreatePhoneCallParams {
|
|
|
9396
9523
|
| 'gpt-6-sol'
|
|
9397
9524
|
| 'gpt-6.1-sol'
|
|
9398
9525
|
| 'gpt-6-luna'
|
|
9399
|
-
| 'claude-4.5-sonnet'
|
|
9400
9526
|
| 'claude-4.6-sonnet'
|
|
9401
9527
|
| 'claude-5-opus'
|
|
9402
9528
|
| 'claude-5.5-opus'
|
|
@@ -9982,7 +10108,6 @@ export namespace CallCreateWebCallParams {
|
|
|
9982
10108
|
post_call_analysis_model?:
|
|
9983
10109
|
| 'gpt-4.1'
|
|
9984
10110
|
| 'gpt-4.1-mini'
|
|
9985
|
-
| 'gpt-4.1-nano'
|
|
9986
10111
|
| 'gpt-5'
|
|
9987
10112
|
| 'gpt-5-mini'
|
|
9988
10113
|
| 'gpt-5-nano'
|
|
@@ -9998,7 +10123,6 @@ export namespace CallCreateWebCallParams {
|
|
|
9998
10123
|
| 'gpt-6-sol'
|
|
9999
10124
|
| 'gpt-6.1-sol'
|
|
10000
10125
|
| 'gpt-6-luna'
|
|
10001
|
-
| 'claude-4.5-sonnet'
|
|
10002
10126
|
| 'claude-4.6-sonnet'
|
|
10003
10127
|
| 'claude-5-opus'
|
|
10004
10128
|
| 'claude-5.5-opus'
|
|
@@ -11820,7 +11944,6 @@ export namespace CallCreateWebCallParams {
|
|
|
11820
11944
|
model:
|
|
11821
11945
|
| 'gpt-4.1'
|
|
11822
11946
|
| 'gpt-4.1-mini'
|
|
11823
|
-
| 'gpt-4.1-nano'
|
|
11824
11947
|
| 'gpt-5'
|
|
11825
11948
|
| 'gpt-5-mini'
|
|
11826
11949
|
| 'gpt-5-nano'
|
|
@@ -11836,7 +11959,6 @@ export namespace CallCreateWebCallParams {
|
|
|
11836
11959
|
| 'gpt-6-sol'
|
|
11837
11960
|
| 'gpt-6.1-sol'
|
|
11838
11961
|
| 'gpt-6-luna'
|
|
11839
|
-
| 'claude-4.5-sonnet'
|
|
11840
11962
|
| 'claude-4.6-sonnet'
|
|
11841
11963
|
| 'claude-5-opus'
|
|
11842
11964
|
| 'claude-5.5-opus'
|
|
@@ -11920,7 +12042,6 @@ export namespace CallCreateWebCallParams {
|
|
|
11920
12042
|
model?:
|
|
11921
12043
|
| 'gpt-4.1'
|
|
11922
12044
|
| 'gpt-4.1-mini'
|
|
11923
|
-
| 'gpt-4.1-nano'
|
|
11924
12045
|
| 'gpt-5'
|
|
11925
12046
|
| 'gpt-5-mini'
|
|
11926
12047
|
| 'gpt-5-nano'
|
|
@@ -11936,7 +12057,6 @@ export namespace CallCreateWebCallParams {
|
|
|
11936
12057
|
| 'gpt-6-sol'
|
|
11937
12058
|
| 'gpt-6.1-sol'
|
|
11938
12059
|
| 'gpt-6-luna'
|
|
11939
|
-
| 'claude-4.5-sonnet'
|
|
11940
12060
|
| 'claude-4.6-sonnet'
|
|
11941
12061
|
| 'claude-5-opus'
|
|
11942
12062
|
| 'claude-5.5-opus'
|
|
@@ -12522,7 +12642,6 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
12522
12642
|
post_call_analysis_model?:
|
|
12523
12643
|
| 'gpt-4.1'
|
|
12524
12644
|
| 'gpt-4.1-mini'
|
|
12525
|
-
| 'gpt-4.1-nano'
|
|
12526
12645
|
| 'gpt-5'
|
|
12527
12646
|
| 'gpt-5-mini'
|
|
12528
12647
|
| 'gpt-5-nano'
|
|
@@ -12538,7 +12657,6 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
12538
12657
|
| 'gpt-6-sol'
|
|
12539
12658
|
| 'gpt-6.1-sol'
|
|
12540
12659
|
| 'gpt-6-luna'
|
|
12541
|
-
| 'claude-4.5-sonnet'
|
|
12542
12660
|
| 'claude-4.6-sonnet'
|
|
12543
12661
|
| 'claude-5-opus'
|
|
12544
12662
|
| 'claude-5.5-opus'
|
|
@@ -14360,7 +14478,6 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
14360
14478
|
model:
|
|
14361
14479
|
| 'gpt-4.1'
|
|
14362
14480
|
| 'gpt-4.1-mini'
|
|
14363
|
-
| 'gpt-4.1-nano'
|
|
14364
14481
|
| 'gpt-5'
|
|
14365
14482
|
| 'gpt-5-mini'
|
|
14366
14483
|
| 'gpt-5-nano'
|
|
@@ -14376,7 +14493,6 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
14376
14493
|
| 'gpt-6-sol'
|
|
14377
14494
|
| 'gpt-6.1-sol'
|
|
14378
14495
|
| 'gpt-6-luna'
|
|
14379
|
-
| 'claude-4.5-sonnet'
|
|
14380
14496
|
| 'claude-4.6-sonnet'
|
|
14381
14497
|
| 'claude-5-opus'
|
|
14382
14498
|
| 'claude-5.5-opus'
|
|
@@ -14460,7 +14576,6 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
14460
14576
|
model?:
|
|
14461
14577
|
| 'gpt-4.1'
|
|
14462
14578
|
| 'gpt-4.1-mini'
|
|
14463
|
-
| 'gpt-4.1-nano'
|
|
14464
14579
|
| 'gpt-5'
|
|
14465
14580
|
| 'gpt-5-mini'
|
|
14466
14581
|
| 'gpt-5-nano'
|
|
@@ -14476,7 +14591,6 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
14476
14591
|
| 'gpt-6-sol'
|
|
14477
14592
|
| 'gpt-6.1-sol'
|
|
14478
14593
|
| 'gpt-6-luna'
|
|
14479
|
-
| 'claude-4.5-sonnet'
|
|
14480
14594
|
| 'claude-4.6-sonnet'
|
|
14481
14595
|
| 'claude-5-opus'
|
|
14482
14596
|
| 'claude-5.5-opus'
|
|
@@ -427,7 +427,6 @@ export interface ChatAgentResponse {
|
|
|
427
427
|
post_chat_analysis_model?:
|
|
428
428
|
| 'gpt-4.1'
|
|
429
429
|
| 'gpt-4.1-mini'
|
|
430
|
-
| 'gpt-4.1-nano'
|
|
431
430
|
| 'gpt-5'
|
|
432
431
|
| 'gpt-5-mini'
|
|
433
432
|
| 'gpt-5-nano'
|
|
@@ -443,7 +442,6 @@ export interface ChatAgentResponse {
|
|
|
443
442
|
| 'gpt-6-sol'
|
|
444
443
|
| 'gpt-6.1-sol'
|
|
445
444
|
| 'gpt-6-luna'
|
|
446
|
-
| 'claude-4.5-sonnet'
|
|
447
445
|
| 'claude-4.6-sonnet'
|
|
448
446
|
| 'claude-5-opus'
|
|
449
447
|
| 'claude-5.5-opus'
|
|
@@ -2160,7 +2158,6 @@ export interface ChatAgentCreateParams {
|
|
|
2160
2158
|
post_chat_analysis_model?:
|
|
2161
2159
|
| 'gpt-4.1'
|
|
2162
2160
|
| 'gpt-4.1-mini'
|
|
2163
|
-
| 'gpt-4.1-nano'
|
|
2164
2161
|
| 'gpt-5'
|
|
2165
2162
|
| 'gpt-5-mini'
|
|
2166
2163
|
| 'gpt-5-nano'
|
|
@@ -2176,7 +2173,6 @@ export interface ChatAgentCreateParams {
|
|
|
2176
2173
|
| 'gpt-6-sol'
|
|
2177
2174
|
| 'gpt-6.1-sol'
|
|
2178
2175
|
| 'gpt-6-luna'
|
|
2179
|
-
| 'claude-4.5-sonnet'
|
|
2180
2176
|
| 'claude-4.6-sonnet'
|
|
2181
2177
|
| 'claude-5-opus'
|
|
2182
2178
|
| 'claude-5.5-opus'
|
|
@@ -3842,7 +3838,6 @@ export interface ChatAgentUpdateParams {
|
|
|
3842
3838
|
post_chat_analysis_model?:
|
|
3843
3839
|
| 'gpt-4.1'
|
|
3844
3840
|
| 'gpt-4.1-mini'
|
|
3845
|
-
| 'gpt-4.1-nano'
|
|
3846
3841
|
| 'gpt-5'
|
|
3847
3842
|
| 'gpt-5-mini'
|
|
3848
3843
|
| 'gpt-5-nano'
|
|
@@ -3858,7 +3853,6 @@ export interface ChatAgentUpdateParams {
|
|
|
3858
3853
|
| 'gpt-6-sol'
|
|
3859
3854
|
| 'gpt-6.1-sol'
|
|
3860
3855
|
| 'gpt-6-luna'
|
|
3861
|
-
| 'claude-4.5-sonnet'
|
|
3862
3856
|
| 'claude-4.6-sonnet'
|
|
3863
3857
|
| 'claude-5-opus'
|
|
3864
3858
|
| 'claude-5.5-opus'
|