retell-sdk 4.40.0 → 4.41.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 +17 -0
- package/index.d.mts +4 -4
- package/index.d.ts +4 -4
- package/index.d.ts.map +1 -1
- package/index.js.map +1 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -5
- package/resources/agent.d.ts +21 -1
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js +5 -10
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs +5 -10
- package/resources/agent.mjs.map +1 -1
- package/resources/call.d.ts +6 -14
- package/resources/call.d.ts.map +1 -1
- package/resources/chat.d.ts +1 -1
- package/resources/chat.d.ts.map +1 -1
- package/resources/conversation-flow.d.ts +40 -24
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/llm.d.ts +63 -43
- package/resources/llm.d.ts.map +1 -1
- package/resources/llm.js +5 -10
- package/resources/llm.js.map +1 -1
- package/resources/llm.mjs +5 -10
- package/resources/llm.mjs.map +1 -1
- package/src/index.ts +4 -0
- package/src/resources/agent.ts +33 -2
- package/src/resources/call.ts +6 -16
- package/src/resources/chat.ts +1 -1
- package/src/resources/conversation-flow.ts +46 -30
- package/src/resources/index.ts +2 -0
- package/src/resources/llm.ts +81 -50
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -556,10 +556,6 @@ export declare namespace ConversationFlowResponse {
|
|
|
556
556
|
* Unique identifier for the node
|
|
557
557
|
*/
|
|
558
558
|
id: string;
|
|
559
|
-
/**
|
|
560
|
-
* Whether to speak during tool execution
|
|
561
|
-
*/
|
|
562
|
-
speak_during_execution: boolean;
|
|
563
559
|
/**
|
|
564
560
|
* Tool ID for function nodes
|
|
565
561
|
*/
|
|
@@ -590,6 +586,10 @@ export declare namespace ConversationFlowResponse {
|
|
|
590
586
|
* Optional name for display purposes
|
|
591
587
|
*/
|
|
592
588
|
name?: string;
|
|
589
|
+
/**
|
|
590
|
+
* Whether to speak during tool execution
|
|
591
|
+
*/
|
|
592
|
+
speak_during_execution?: boolean;
|
|
593
593
|
}
|
|
594
594
|
namespace FunctionNode {
|
|
595
595
|
/**
|
|
@@ -2056,10 +2056,6 @@ export declare namespace ConversationFlowResponse {
|
|
|
2056
2056
|
* Name of the MCP tool to call
|
|
2057
2057
|
*/
|
|
2058
2058
|
mcp_tool_name: string;
|
|
2059
|
-
/**
|
|
2060
|
-
* If true, will speak during execution
|
|
2061
|
-
*/
|
|
2062
|
-
speak_during_execution: boolean;
|
|
2063
2059
|
/**
|
|
2064
2060
|
* Type of the node
|
|
2065
2061
|
*/
|
|
@@ -2091,6 +2087,10 @@ export declare namespace ConversationFlowResponse {
|
|
|
2091
2087
|
response_variables?: {
|
|
2092
2088
|
[key: string]: string;
|
|
2093
2089
|
};
|
|
2090
|
+
/**
|
|
2091
|
+
* If true, will speak during execution
|
|
2092
|
+
*/
|
|
2093
|
+
speak_during_execution?: boolean;
|
|
2094
2094
|
}
|
|
2095
2095
|
namespace McpNode {
|
|
2096
2096
|
/**
|
|
@@ -2846,10 +2846,6 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
2846
2846
|
* Unique identifier for the node
|
|
2847
2847
|
*/
|
|
2848
2848
|
id: string;
|
|
2849
|
-
/**
|
|
2850
|
-
* Whether to speak during tool execution
|
|
2851
|
-
*/
|
|
2852
|
-
speak_during_execution: boolean;
|
|
2853
2849
|
/**
|
|
2854
2850
|
* Tool ID for function nodes
|
|
2855
2851
|
*/
|
|
@@ -2880,6 +2876,10 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
2880
2876
|
* Optional name for display purposes
|
|
2881
2877
|
*/
|
|
2882
2878
|
name?: string;
|
|
2879
|
+
/**
|
|
2880
|
+
* Whether to speak during tool execution
|
|
2881
|
+
*/
|
|
2882
|
+
speak_during_execution?: boolean;
|
|
2883
2883
|
}
|
|
2884
2884
|
namespace FunctionNode {
|
|
2885
2885
|
/**
|
|
@@ -4346,10 +4346,6 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
4346
4346
|
* Name of the MCP tool to call
|
|
4347
4347
|
*/
|
|
4348
4348
|
mcp_tool_name: string;
|
|
4349
|
-
/**
|
|
4350
|
-
* If true, will speak during execution
|
|
4351
|
-
*/
|
|
4352
|
-
speak_during_execution: boolean;
|
|
4353
4349
|
/**
|
|
4354
4350
|
* Type of the node
|
|
4355
4351
|
*/
|
|
@@ -4381,6 +4377,10 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
4381
4377
|
response_variables?: {
|
|
4382
4378
|
[key: string]: string;
|
|
4383
4379
|
};
|
|
4380
|
+
/**
|
|
4381
|
+
* If true, will speak during execution
|
|
4382
|
+
*/
|
|
4383
|
+
speak_during_execution?: boolean;
|
|
4384
4384
|
}
|
|
4385
4385
|
namespace McpNode {
|
|
4386
4386
|
/**
|
|
@@ -5205,10 +5205,6 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
5205
5205
|
* Unique identifier for the node
|
|
5206
5206
|
*/
|
|
5207
5207
|
id: string;
|
|
5208
|
-
/**
|
|
5209
|
-
* Whether to speak during tool execution
|
|
5210
|
-
*/
|
|
5211
|
-
speak_during_execution: boolean;
|
|
5212
5208
|
/**
|
|
5213
5209
|
* Tool ID for function nodes
|
|
5214
5210
|
*/
|
|
@@ -5239,6 +5235,10 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
5239
5235
|
* Optional name for display purposes
|
|
5240
5236
|
*/
|
|
5241
5237
|
name?: string;
|
|
5238
|
+
/**
|
|
5239
|
+
* Whether to speak during tool execution
|
|
5240
|
+
*/
|
|
5241
|
+
speak_during_execution?: boolean;
|
|
5242
5242
|
}
|
|
5243
5243
|
namespace FunctionNode {
|
|
5244
5244
|
/**
|
|
@@ -6705,10 +6705,6 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
6705
6705
|
* Name of the MCP tool to call
|
|
6706
6706
|
*/
|
|
6707
6707
|
mcp_tool_name: string;
|
|
6708
|
-
/**
|
|
6709
|
-
* If true, will speak during execution
|
|
6710
|
-
*/
|
|
6711
|
-
speak_during_execution: boolean;
|
|
6712
6708
|
/**
|
|
6713
6709
|
* Type of the node
|
|
6714
6710
|
*/
|
|
@@ -6740,6 +6736,10 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
6740
6736
|
response_variables?: {
|
|
6741
6737
|
[key: string]: string;
|
|
6742
6738
|
};
|
|
6739
|
+
/**
|
|
6740
|
+
* If true, will speak during execution
|
|
6741
|
+
*/
|
|
6742
|
+
speak_during_execution?: boolean;
|
|
6743
6743
|
}
|
|
6744
6744
|
namespace McpNode {
|
|
6745
6745
|
/**
|
|
@@ -7051,8 +7051,24 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
7051
7051
|
}
|
|
7052
7052
|
}
|
|
7053
7053
|
export interface ConversationFlowListParams {
|
|
7054
|
+
/**
|
|
7055
|
+
* Limit the number of conversation flows returned. Default 1000, Max 1000. To
|
|
7056
|
+
* retrieve more than 1000, use pagination_key to continue fetching the next page.
|
|
7057
|
+
*/
|
|
7054
7058
|
limit?: number;
|
|
7059
|
+
/**
|
|
7060
|
+
* The pagination key to continue fetching the next page of conversation flows.
|
|
7061
|
+
* Pagination key is represented by a conversation flow id here, and it's exclusive
|
|
7062
|
+
* (not included in the fetched conversation flows). The last conversation flow id
|
|
7063
|
+
* from the list conversation flows is usually used as pagination key here. If not
|
|
7064
|
+
* set, will start from the beginning.
|
|
7065
|
+
*/
|
|
7055
7066
|
pagination_key?: string;
|
|
7067
|
+
/**
|
|
7068
|
+
* Specifies the version of the conversation flow associated with the
|
|
7069
|
+
* pagination_key. When paginating, both the pagination_key and its version must be
|
|
7070
|
+
* provided to ensure consistent ordering and to fetch the next page correctly.
|
|
7071
|
+
*/
|
|
7056
7072
|
pagination_key_version?: number;
|
|
7057
7073
|
}
|
|
7058
7074
|
export declare namespace ConversationFlow {
|