retell-sdk 6.2.4 → 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 +21 -0
- package/package.json +1 -1
- package/resources/agent.d.mts +24 -12
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +24 -12
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +10 -6
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +10 -6
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +162 -30
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +162 -30
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.mts +24 -12
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +24 -12
- 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 +63 -51
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +63 -51
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +129 -105
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +129 -105
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/llm.d.mts +33 -15
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +33 -15
- 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 +21 -15
- package/src/resources/batch-call.ts +7 -9
- package/src/resources/call.ts +165 -39
- package/src/resources/chat-agent.ts +21 -15
- package/src/resources/chat.ts +72 -6
- package/src/resources/conversation-flow-component.ts +21 -93
- package/src/resources/conversation-flow.ts +42 -192
- package/src/resources/llm.ts +30 -18
- 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/src/resources/llm.ts
CHANGED
|
@@ -187,7 +187,6 @@ export interface LlmResponse {
|
|
|
187
187
|
model?:
|
|
188
188
|
| 'gpt-4.1'
|
|
189
189
|
| 'gpt-4.1-mini'
|
|
190
|
-
| 'gpt-4.1-nano'
|
|
191
190
|
| 'gpt-5'
|
|
192
191
|
| 'gpt-5-mini'
|
|
193
192
|
| 'gpt-5-nano'
|
|
@@ -203,7 +202,6 @@ export interface LlmResponse {
|
|
|
203
202
|
| 'gpt-6-sol'
|
|
204
203
|
| 'gpt-6.1-sol'
|
|
205
204
|
| 'gpt-6-luna'
|
|
206
|
-
| 'claude-4.5-sonnet'
|
|
207
205
|
| 'claude-4.6-sonnet'
|
|
208
206
|
| 'claude-5-opus'
|
|
209
207
|
| 'claude-5.5-opus'
|
|
@@ -783,7 +781,9 @@ export namespace LlmResponse {
|
|
|
783
781
|
export interface SendSMSTool {
|
|
784
782
|
/**
|
|
785
783
|
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
786
|
-
* time (general tools + state tools + state edges).
|
|
784
|
+
* time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
|
|
785
|
+
* 0-9, or contain underscores and dashes, with a maximum length of 64 (no space
|
|
786
|
+
* allowed).
|
|
787
787
|
*/
|
|
788
788
|
name: string;
|
|
789
789
|
|
|
@@ -1400,7 +1400,8 @@ export namespace LlmResponse {
|
|
|
1400
1400
|
|
|
1401
1401
|
/**
|
|
1402
1402
|
* Name of the tool. Must be unique within the phase's tools; referenced by
|
|
1403
|
-
* depends_on.
|
|
1403
|
+
* depends_on. Must be consisted of a-z, A-Z, 0-9, or contain underscores and
|
|
1404
|
+
* dashes, with a maximum length of 64 (no space allowed).
|
|
1404
1405
|
*/
|
|
1405
1406
|
name: string;
|
|
1406
1407
|
|
|
@@ -2176,7 +2177,9 @@ export namespace LlmResponse {
|
|
|
2176
2177
|
export interface SendSMSTool {
|
|
2177
2178
|
/**
|
|
2178
2179
|
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
2179
|
-
* time (general tools + state tools + state edges).
|
|
2180
|
+
* time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
|
|
2181
|
+
* 0-9, or contain underscores and dashes, with a maximum length of 64 (no space
|
|
2182
|
+
* allowed).
|
|
2180
2183
|
*/
|
|
2181
2184
|
name: string;
|
|
2182
2185
|
|
|
@@ -2793,7 +2796,8 @@ export namespace LlmResponse {
|
|
|
2793
2796
|
|
|
2794
2797
|
/**
|
|
2795
2798
|
* Name of the tool. Must be unique within the phase's tools; referenced by
|
|
2796
|
-
* depends_on.
|
|
2799
|
+
* depends_on. Must be consisted of a-z, A-Z, 0-9, or contain underscores and
|
|
2800
|
+
* dashes, with a maximum length of 64 (no space allowed).
|
|
2797
2801
|
*/
|
|
2798
2802
|
name: string;
|
|
2799
2803
|
|
|
@@ -3022,7 +3026,6 @@ export interface LlmCreateParams {
|
|
|
3022
3026
|
model?:
|
|
3023
3027
|
| 'gpt-4.1'
|
|
3024
3028
|
| 'gpt-4.1-mini'
|
|
3025
|
-
| 'gpt-4.1-nano'
|
|
3026
3029
|
| 'gpt-5'
|
|
3027
3030
|
| 'gpt-5-mini'
|
|
3028
3031
|
| 'gpt-5-nano'
|
|
@@ -3038,7 +3041,6 @@ export interface LlmCreateParams {
|
|
|
3038
3041
|
| 'gpt-6-sol'
|
|
3039
3042
|
| 'gpt-6.1-sol'
|
|
3040
3043
|
| 'gpt-6-luna'
|
|
3041
|
-
| 'claude-4.5-sonnet'
|
|
3042
3044
|
| 'claude-4.6-sonnet'
|
|
3043
3045
|
| 'claude-5-opus'
|
|
3044
3046
|
| 'claude-5.5-opus'
|
|
@@ -3613,7 +3615,9 @@ export namespace LlmCreateParams {
|
|
|
3613
3615
|
export interface SendSMSTool {
|
|
3614
3616
|
/**
|
|
3615
3617
|
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
3616
|
-
* time (general tools + state tools + state edges).
|
|
3618
|
+
* time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
|
|
3619
|
+
* 0-9, or contain underscores and dashes, with a maximum length of 64 (no space
|
|
3620
|
+
* allowed).
|
|
3617
3621
|
*/
|
|
3618
3622
|
name: string;
|
|
3619
3623
|
|
|
@@ -4230,7 +4234,8 @@ export namespace LlmCreateParams {
|
|
|
4230
4234
|
|
|
4231
4235
|
/**
|
|
4232
4236
|
* Name of the tool. Must be unique within the phase's tools; referenced by
|
|
4233
|
-
* depends_on.
|
|
4237
|
+
* depends_on. Must be consisted of a-z, A-Z, 0-9, or contain underscores and
|
|
4238
|
+
* dashes, with a maximum length of 64 (no space allowed).
|
|
4234
4239
|
*/
|
|
4235
4240
|
name: string;
|
|
4236
4241
|
|
|
@@ -5006,7 +5011,9 @@ export namespace LlmCreateParams {
|
|
|
5006
5011
|
export interface SendSMSTool {
|
|
5007
5012
|
/**
|
|
5008
5013
|
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
5009
|
-
* time (general tools + state tools + state edges).
|
|
5014
|
+
* time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
|
|
5015
|
+
* 0-9, or contain underscores and dashes, with a maximum length of 64 (no space
|
|
5016
|
+
* allowed).
|
|
5010
5017
|
*/
|
|
5011
5018
|
name: string;
|
|
5012
5019
|
|
|
@@ -5623,7 +5630,8 @@ export namespace LlmCreateParams {
|
|
|
5623
5630
|
|
|
5624
5631
|
/**
|
|
5625
5632
|
* Name of the tool. Must be unique within the phase's tools; referenced by
|
|
5626
|
-
* depends_on.
|
|
5633
|
+
* depends_on. Must be consisted of a-z, A-Z, 0-9, or contain underscores and
|
|
5634
|
+
* dashes, with a maximum length of 64 (no space allowed).
|
|
5627
5635
|
*/
|
|
5628
5636
|
name: string;
|
|
5629
5637
|
|
|
@@ -5854,7 +5862,6 @@ export interface LlmUpdateParams {
|
|
|
5854
5862
|
model?:
|
|
5855
5863
|
| 'gpt-4.1'
|
|
5856
5864
|
| 'gpt-4.1-mini'
|
|
5857
|
-
| 'gpt-4.1-nano'
|
|
5858
5865
|
| 'gpt-5'
|
|
5859
5866
|
| 'gpt-5-mini'
|
|
5860
5867
|
| 'gpt-5-nano'
|
|
@@ -5870,7 +5877,6 @@ export interface LlmUpdateParams {
|
|
|
5870
5877
|
| 'gpt-6-sol'
|
|
5871
5878
|
| 'gpt-6.1-sol'
|
|
5872
5879
|
| 'gpt-6-luna'
|
|
5873
|
-
| 'claude-4.5-sonnet'
|
|
5874
5880
|
| 'claude-4.6-sonnet'
|
|
5875
5881
|
| 'claude-5-opus'
|
|
5876
5882
|
| 'claude-5.5-opus'
|
|
@@ -6445,7 +6451,9 @@ export namespace LlmUpdateParams {
|
|
|
6445
6451
|
export interface SendSMSTool {
|
|
6446
6452
|
/**
|
|
6447
6453
|
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
6448
|
-
* time (general tools + state tools + state edges).
|
|
6454
|
+
* time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
|
|
6455
|
+
* 0-9, or contain underscores and dashes, with a maximum length of 64 (no space
|
|
6456
|
+
* allowed).
|
|
6449
6457
|
*/
|
|
6450
6458
|
name: string;
|
|
6451
6459
|
|
|
@@ -7062,7 +7070,8 @@ export namespace LlmUpdateParams {
|
|
|
7062
7070
|
|
|
7063
7071
|
/**
|
|
7064
7072
|
* Name of the tool. Must be unique within the phase's tools; referenced by
|
|
7065
|
-
* depends_on.
|
|
7073
|
+
* depends_on. Must be consisted of a-z, A-Z, 0-9, or contain underscores and
|
|
7074
|
+
* dashes, with a maximum length of 64 (no space allowed).
|
|
7066
7075
|
*/
|
|
7067
7076
|
name: string;
|
|
7068
7077
|
|
|
@@ -7838,7 +7847,9 @@ export namespace LlmUpdateParams {
|
|
|
7838
7847
|
export interface SendSMSTool {
|
|
7839
7848
|
/**
|
|
7840
7849
|
* Name of the tool. Must be unique within all tools available to LLM at any given
|
|
7841
|
-
* time (general tools + state tools + state edges).
|
|
7850
|
+
* time (general tools + state tools + state edges). Must be consisted of a-z, A-Z,
|
|
7851
|
+
* 0-9, or contain underscores and dashes, with a maximum length of 64 (no space
|
|
7852
|
+
* allowed).
|
|
7842
7853
|
*/
|
|
7843
7854
|
name: string;
|
|
7844
7855
|
|
|
@@ -8455,7 +8466,8 @@ export namespace LlmUpdateParams {
|
|
|
8455
8466
|
|
|
8456
8467
|
/**
|
|
8457
8468
|
* Name of the tool. Must be unique within the phase's tools; referenced by
|
|
8458
|
-
* depends_on.
|
|
8469
|
+
* depends_on. Must be consisted of a-z, A-Z, 0-9, or contain underscores and
|
|
8470
|
+
* dashes, with a maximum length of 64 (no space allowed).
|
|
8459
8471
|
*/
|
|
8460
8472
|
name: string;
|
|
8461
8473
|
|
|
@@ -140,7 +140,9 @@ export namespace PlaygroundCompletionResponse {
|
|
|
140
140
|
arguments: string;
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
|
-
* Name of the
|
|
143
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
144
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
145
|
+
* characters. To identify the kind of tool, use `type`.
|
|
144
146
|
*/
|
|
145
147
|
name: string;
|
|
146
148
|
|
|
@@ -169,6 +171,15 @@ export namespace PlaygroundCompletionResponse {
|
|
|
169
171
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
170
172
|
*/
|
|
171
173
|
thought_signature?: string;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
177
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
178
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
179
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
180
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
181
|
+
*/
|
|
182
|
+
type?: string;
|
|
172
183
|
}
|
|
173
184
|
|
|
174
185
|
export interface ToolCallResultMessageBase {
|
|
@@ -447,7 +458,9 @@ export namespace PlaygroundCompletionParams {
|
|
|
447
458
|
arguments: string;
|
|
448
459
|
|
|
449
460
|
/**
|
|
450
|
-
* Name of the
|
|
461
|
+
* Name of the tool. This is the configured tool name, or the node name for a
|
|
462
|
+
* built-in conversation flow node, so it can contain spaces and non-ASCII
|
|
463
|
+
* characters. To identify the kind of tool, use `type`.
|
|
451
464
|
*/
|
|
452
465
|
name: string;
|
|
453
466
|
|
|
@@ -476,6 +489,15 @@ export namespace PlaygroundCompletionParams {
|
|
|
476
489
|
* internally to maintain reasoning chain in multi-turn function calling.
|
|
477
490
|
*/
|
|
478
491
|
thought_signature?: string;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* Kind of tool. Known values are `custom`, `code`, `mcp`, `integration_app`,
|
|
495
|
+
* `end_call`, `transfer_call`, `bridge_transfer`, `cancel_transfer`, `agent_swap`,
|
|
496
|
+
* `press_digit`, `send_sms`, `extract_dynamic_variable`, `adjust_voice_speed`,
|
|
497
|
+
* `book_appointment_cal`, and `check_availability_cal`. New values can be added.
|
|
498
|
+
* Absent on tool calls sent by a custom LLM, and on some older calls and chats.
|
|
499
|
+
*/
|
|
500
|
+
type?: string;
|
|
479
501
|
}
|
|
480
502
|
|
|
481
503
|
export interface ToolCallResultMessageBase {
|
package/src/resources/tests.ts
CHANGED
|
@@ -213,7 +213,6 @@ export interface TestCaseDefinitionResponse {
|
|
|
213
213
|
llm_model:
|
|
214
214
|
| 'gpt-4.1'
|
|
215
215
|
| 'gpt-4.1-mini'
|
|
216
|
-
| 'gpt-4.1-nano'
|
|
217
216
|
| 'gpt-5'
|
|
218
217
|
| 'gpt-5-mini'
|
|
219
218
|
| 'gpt-5-nano'
|
|
@@ -229,7 +228,6 @@ export interface TestCaseDefinitionResponse {
|
|
|
229
228
|
| 'gpt-6-sol'
|
|
230
229
|
| 'gpt-6.1-sol'
|
|
231
230
|
| 'gpt-6-luna'
|
|
232
|
-
| 'claude-4.5-sonnet'
|
|
233
231
|
| 'claude-4.6-sonnet'
|
|
234
232
|
| 'claude-5-opus'
|
|
235
233
|
| 'claude-5.5-opus'
|
|
@@ -553,7 +551,6 @@ export interface TestCreateTestCaseDefinitionParams {
|
|
|
553
551
|
llm_model?:
|
|
554
552
|
| 'gpt-4.1'
|
|
555
553
|
| 'gpt-4.1-mini'
|
|
556
|
-
| 'gpt-4.1-nano'
|
|
557
554
|
| 'gpt-5'
|
|
558
555
|
| 'gpt-5-mini'
|
|
559
556
|
| 'gpt-5-nano'
|
|
@@ -569,7 +566,6 @@ export interface TestCreateTestCaseDefinitionParams {
|
|
|
569
566
|
| 'gpt-6-sol'
|
|
570
567
|
| 'gpt-6.1-sol'
|
|
571
568
|
| 'gpt-6-luna'
|
|
572
|
-
| 'claude-4.5-sonnet'
|
|
573
569
|
| 'claude-4.6-sonnet'
|
|
574
570
|
| 'claude-5-opus'
|
|
575
571
|
| 'claude-5.5-opus'
|
|
@@ -767,7 +763,6 @@ export interface TestUpdateTestCaseDefinitionParams {
|
|
|
767
763
|
llm_model?:
|
|
768
764
|
| 'gpt-4.1'
|
|
769
765
|
| 'gpt-4.1-mini'
|
|
770
|
-
| 'gpt-4.1-nano'
|
|
771
766
|
| 'gpt-5'
|
|
772
767
|
| 'gpt-5-mini'
|
|
773
768
|
| 'gpt-5-nano'
|
|
@@ -783,7 +778,6 @@ export interface TestUpdateTestCaseDefinitionParams {
|
|
|
783
778
|
| 'gpt-6-sol'
|
|
784
779
|
| 'gpt-6.1-sol'
|
|
785
780
|
| 'gpt-6-luna'
|
|
786
|
-
| 'claude-4.5-sonnet'
|
|
787
781
|
| 'claude-4.6-sonnet'
|
|
788
782
|
| 'claude-5-opus'
|
|
789
783
|
| 'claude-5.5-opus'
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '6.2.
|
|
1
|
+
export const VERSION = '6.2.6'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.2.
|
|
1
|
+
export declare const VERSION = "6.2.6";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.2.
|
|
1
|
+
export declare const VERSION = "6.2.6";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '6.2.
|
|
1
|
+
export const VERSION = '6.2.6'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|