retell-sdk 4.61.0 → 4.63.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 +18 -0
- package/index.d.mts +3 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -0
- package/index.js.map +1 -1
- package/index.mjs +3 -0
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.ts +57 -6
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.ts +21 -4
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.ts +153 -16
- package/resources/call.d.ts.map +1 -1
- package/resources/chat-agent.d.ts +51 -3
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.ts +7835 -0
- package/resources/conversation-flow-component.d.ts.map +1 -0
- package/resources/conversation-flow-component.js +93 -0
- package/resources/conversation-flow-component.js.map +1 -0
- package/resources/conversation-flow-component.mjs +89 -0
- package/resources/conversation-flow-component.mjs.map +1 -0
- package/resources/conversation-flow.d.ts +540 -43
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/conversation-flow.js +1 -1
- package/resources/conversation-flow.mjs +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/llm.d.ts +501 -9
- package/resources/llm.d.ts.map +1 -1
- package/resources/mcp-tool.d.ts +2 -1
- package/resources/mcp-tool.d.ts.map +1 -1
- package/src/index.ts +17 -0
- package/src/resources/agent.ts +72 -27
- package/src/resources/batch-call.ts +34 -27
- package/src/resources/call.ts +210 -85
- package/src/resources/chat-agent.ts +66 -27
- package/src/resources/conversation-flow-component.ts +11183 -0
- package/src/resources/conversation-flow.ts +799 -326
- package/src/resources/index.ts +7 -0
- package/src/resources/llm.ts +621 -33
- package/src/resources/mcp-tool.ts +2 -1
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -13,7 +13,7 @@ class ConversationFlow extends resource_1.APIResource {
|
|
|
13
13
|
* ```ts
|
|
14
14
|
* const conversationFlowResponse =
|
|
15
15
|
* await client.conversationFlow.create({
|
|
16
|
-
* model_choice: { model: 'gpt-
|
|
16
|
+
* model_choice: { model: 'gpt-4.1', type: 'cascading' },
|
|
17
17
|
* nodes: [
|
|
18
18
|
* {
|
|
19
19
|
* id: 'start',
|
|
@@ -10,7 +10,7 @@ export class ConversationFlow extends APIResource {
|
|
|
10
10
|
* ```ts
|
|
11
11
|
* const conversationFlowResponse =
|
|
12
12
|
* await client.conversationFlow.create({
|
|
13
|
-
* model_choice: { model: 'gpt-
|
|
13
|
+
* model_choice: { model: 'gpt-4.1', type: 'cascading' },
|
|
14
14
|
* nodes: [
|
|
15
15
|
* {
|
|
16
16
|
* id: 'start',
|
package/resources/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { Chat, type ChatResponse, type ChatListResponse, type ChatCreateChatComp
|
|
|
5
5
|
export { ChatAgent, type ChatAgentResponse, type ChatAgentListResponse, type ChatAgentGetVersionsResponse, type ChatAgentCreateParams, type ChatAgentRetrieveParams, type ChatAgentUpdateParams, type ChatAgentListParams, } from "./chat-agent.js";
|
|
6
6
|
export { Concurrency, type ConcurrencyRetrieveResponse } from "./concurrency.js";
|
|
7
7
|
export { ConversationFlow, type ConversationFlowResponse, type ConversationFlowListResponse, type ConversationFlowCreateParams, type ConversationFlowRetrieveParams, type ConversationFlowUpdateParams, type ConversationFlowListParams, } from "./conversation-flow.js";
|
|
8
|
+
export { ConversationFlowComponent, type ConversationFlowComponentResponse, type ConversationFlowComponentListResponse, type ConversationFlowComponentCreateParams, type ConversationFlowComponentUpdateParams, } from "./conversation-flow-component.js";
|
|
8
9
|
export { KnowledgeBase, type KnowledgeBaseResponse, type KnowledgeBaseListResponse, type KnowledgeBaseCreateParams, type KnowledgeBaseAddSourcesParams, } from "./knowledge-base.js";
|
|
9
10
|
export { Llm, type LlmResponse, type LlmListResponse, type LlmCreateParams, type LlmRetrieveParams, type LlmUpdateParams, type LlmListParams, } from "./llm.js";
|
|
10
11
|
export { McpTool, type McpToolDefinition, type McpToolGetMcpToolsResponse, type McpToolGetMcpToolsParams, } from "./mcp-tool.js";
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,8BAA8B,EAAE,MAAM,cAAc,CAAC;AACtG,OAAO,EACL,IAAI,EACJ,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,GACjC,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,IAAI,EACJ,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,gCAAgC,EACrC,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,GAC7B,MAAM,QAAQ,CAAC;AAChB,OAAO,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GACzB,MAAM,cAAc,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AAC1B,OAAO,EACL,GAAG,EACH,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,OAAO,EACP,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,WAAW,EACX,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,KAAK,iBAAiB,EAAE,KAAK,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACxF,OAAO,EAAE,KAAK,EAAE,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Voice = exports.Tests = exports.PhoneNumber = exports.McpTool = exports.Llm = exports.KnowledgeBase = exports.ConversationFlow = exports.Concurrency = exports.ChatAgent = exports.Chat = exports.Call = exports.BatchCall = exports.Agent = void 0;
|
|
4
|
+
exports.Voice = exports.Tests = exports.PhoneNumber = exports.McpTool = exports.Llm = exports.KnowledgeBase = exports.ConversationFlowComponent = exports.ConversationFlow = exports.Concurrency = exports.ChatAgent = exports.Chat = exports.Call = exports.BatchCall = exports.Agent = void 0;
|
|
5
5
|
var agent_1 = require("./agent.js");
|
|
6
6
|
Object.defineProperty(exports, "Agent", { enumerable: true, get: function () { return agent_1.Agent; } });
|
|
7
7
|
var batch_call_1 = require("./batch-call.js");
|
|
@@ -16,6 +16,8 @@ var concurrency_1 = require("./concurrency.js");
|
|
|
16
16
|
Object.defineProperty(exports, "Concurrency", { enumerable: true, get: function () { return concurrency_1.Concurrency; } });
|
|
17
17
|
var conversation_flow_1 = require("./conversation-flow.js");
|
|
18
18
|
Object.defineProperty(exports, "ConversationFlow", { enumerable: true, get: function () { return conversation_flow_1.ConversationFlow; } });
|
|
19
|
+
var conversation_flow_component_1 = require("./conversation-flow-component.js");
|
|
20
|
+
Object.defineProperty(exports, "ConversationFlowComponent", { enumerable: true, get: function () { return conversation_flow_component_1.ConversationFlowComponent; } });
|
|
19
21
|
var knowledge_base_1 = require("./knowledge-base.js");
|
|
20
22
|
Object.defineProperty(exports, "KnowledgeBase", { enumerable: true, get: function () { return knowledge_base_1.KnowledgeBase; } });
|
|
21
23
|
var llm_1 = require("./llm.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCASiB;AARf,8FAAA,KAAK,OAAA;AASP,8CAAsG;AAA7F,uGAAA,SAAS,OAAA;AAClB,kCAWgB;AAVd,4FAAA,IAAI,OAAA;AAWN,kCASgB;AARd,4FAAA,IAAI,OAAA;AASN,8CASsB;AARpB,uGAAA,SAAS,OAAA;AASX,gDAA8E;AAArE,0GAAA,WAAW,OAAA;AACpB,4DAQ6B;AAP3B,qHAAA,gBAAgB,OAAA;AAQlB,sDAM0B;AALxB,+GAAA,aAAa,OAAA;AAMf,gCAQe;AAPb,0FAAA,GAAG,OAAA;AAQL,0CAKoB;AAJlB,mGAAA,OAAO,OAAA;AAKT,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,oCAAwF;AAA/E,8FAAA,KAAK,OAAA;AACd,oCAA4E;AAAnE,8FAAA,KAAK,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCASiB;AARf,8FAAA,KAAK,OAAA;AASP,8CAAsG;AAA7F,uGAAA,SAAS,OAAA;AAClB,kCAWgB;AAVd,4FAAA,IAAI,OAAA;AAWN,kCASgB;AARd,4FAAA,IAAI,OAAA;AASN,8CASsB;AARpB,uGAAA,SAAS,OAAA;AASX,gDAA8E;AAArE,0GAAA,WAAW,OAAA;AACpB,4DAQ6B;AAP3B,qHAAA,gBAAgB,OAAA;AAQlB,gFAMuC;AALrC,wIAAA,yBAAyB,OAAA;AAM3B,sDAM0B;AALxB,+GAAA,aAAa,OAAA;AAMf,gCAQe;AAPb,0FAAA,GAAG,OAAA;AAQL,0CAKoB;AAJlB,mGAAA,OAAO,OAAA;AAKT,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,oCAAwF;AAA/E,8FAAA,KAAK,OAAA;AACd,oCAA4E;AAAnE,8FAAA,KAAK,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -6,6 +6,7 @@ export { Chat, } from "./chat.mjs";
|
|
|
6
6
|
export { ChatAgent, } from "./chat-agent.mjs";
|
|
7
7
|
export { Concurrency } from "./concurrency.mjs";
|
|
8
8
|
export { ConversationFlow, } from "./conversation-flow.mjs";
|
|
9
|
+
export { ConversationFlowComponent, } from "./conversation-flow-component.mjs";
|
|
9
10
|
export { KnowledgeBase, } from "./knowledge-base.mjs";
|
|
10
11
|
export { Llm, } from "./llm.mjs";
|
|
11
12
|
export { McpTool, } from "./mcp-tool.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GAQN;OACM,EAAE,SAAS,EAA+D;OAC1E,EACL,IAAI,GAUL;OACM,EACL,IAAI,GAQL;OACM,EACL,SAAS,GAQV;OACM,EAAE,WAAW,EAAoC;OACjD,EACL,gBAAgB,GAOjB;OACM,EACL,aAAa,GAKd;OACM,EACL,GAAG,GAOJ;OACM,EACL,OAAO,GAIR;OACM,EACL,WAAW,GAMZ;OACM,EAAE,KAAK,EAA0D;OACjE,EAAE,KAAK,EAA8C"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GAQN;OACM,EAAE,SAAS,EAA+D;OAC1E,EACL,IAAI,GAUL;OACM,EACL,IAAI,GAQL;OACM,EACL,SAAS,GAQV;OACM,EAAE,WAAW,EAAoC;OACjD,EACL,gBAAgB,GAOjB;OACM,EACL,yBAAyB,GAK1B;OACM,EACL,aAAa,GAKd;OACM,EACL,GAAG,GAOJ;OACM,EACL,OAAO,GAIR;OACM,EACL,WAAW,GAMZ;OACM,EAAE,KAAK,EAA0D;OACjE,EAAE,KAAK,EAA8C"}
|