retell-sdk 5.63.0 → 5.65.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 +42 -0
- package/README.md +29 -0
- package/client.d.mts +20 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +20 -8
- package/client.d.ts.map +1 -1
- package/client.js +12 -0
- package/client.js.map +1 -1
- package/client.mjs +12 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +102 -12
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +102 -12
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js +32 -4
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs +32 -4
- package/resources/agent.mjs.map +1 -1
- package/resources/app.d.mts +439 -0
- package/resources/app.d.mts.map +1 -0
- package/resources/app.d.ts +439 -0
- package/resources/app.d.ts.map +1 -0
- package/resources/app.js +69 -0
- package/resources/app.js.map +1 -0
- package/resources/app.mjs +65 -0
- package/resources/app.mjs.map +1 -0
- package/resources/asset.d.mts +53 -0
- package/resources/asset.d.mts.map +1 -0
- package/resources/asset.d.ts +53 -0
- package/resources/asset.d.ts.map +1 -0
- package/resources/asset.js +20 -0
- package/resources/asset.js.map +1 -0
- package/resources/asset.mjs +16 -0
- package/resources/asset.mjs.map +1 -0
- package/resources/batch-call.d.mts +4 -2
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +4 -2
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +221 -27
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +221 -27
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +37 -5
- package/resources/call.js.map +1 -1
- package/resources/call.mjs +37 -5
- package/resources/call.mjs.map +1 -1
- package/resources/chat-agent.d.mts +4 -10
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +4 -10
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat-agent.js +2 -8
- package/resources/chat-agent.js.map +1 -1
- package/resources/chat-agent.mjs +2 -8
- package/resources/chat-agent.mjs.map +1 -1
- package/resources/chat.d.mts +24 -11
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +24 -11
- package/resources/chat.d.ts.map +1 -1
- package/resources/contact.d.mts +669 -0
- package/resources/contact.d.mts.map +1 -0
- package/resources/contact.d.ts +669 -0
- package/resources/contact.d.ts.map +1 -0
- package/resources/contact.js +100 -0
- package/resources/contact.js.map +1 -0
- package/resources/contact.mjs +96 -0
- package/resources/contact.mjs.map +1 -0
- package/resources/conversation-flow-component.d.mts +56 -8
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +56 -8
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +120 -16
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +120 -16
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/conversation-flow.js +3 -1
- package/resources/conversation-flow.js.map +1 -1
- package/resources/conversation-flow.mjs +3 -1
- package/resources/conversation-flow.mjs.map +1 -1
- package/resources/crm.d.mts +226 -0
- package/resources/crm.d.mts.map +1 -0
- package/resources/crm.d.ts +226 -0
- package/resources/crm.d.ts.map +1 -0
- package/resources/crm.js +46 -0
- package/resources/crm.js.map +1 -0
- package/resources/crm.mjs +42 -0
- package/resources/crm.mjs.map +1 -0
- package/resources/export-request.d.mts +2 -2
- package/resources/export-request.d.mts.map +1 -1
- package/resources/export-request.d.ts +2 -2
- package/resources/export-request.d.ts.map +1 -1
- package/resources/index.d.mts +8 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -0
- package/resources/index.mjs.map +1 -1
- package/resources/knowledge-base.d.mts +16 -8
- package/resources/knowledge-base.d.mts.map +1 -1
- package/resources/knowledge-base.d.ts +16 -8
- package/resources/knowledge-base.d.ts.map +1 -1
- package/resources/llm.d.mts +66 -10
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +66 -10
- package/resources/llm.d.ts.map +1 -1
- package/resources/llm.js +3 -1
- package/resources/llm.js.map +1 -1
- package/resources/llm.mjs +3 -1
- package/resources/llm.mjs.map +1 -1
- package/resources/phone-number.d.mts +14 -8
- package/resources/phone-number.d.mts.map +1 -1
- package/resources/phone-number.d.ts +14 -8
- package/resources/phone-number.d.ts.map +1 -1
- package/resources/tests.d.mts +6 -6
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +6 -6
- package/resources/tests.d.ts.map +1 -1
- package/resources/voice.d.mts +4 -4
- package/resources/voice.d.mts.map +1 -1
- package/resources/voice.d.ts +4 -4
- package/resources/voice.d.ts.map +1 -1
- package/src/client.ts +116 -0
- package/src/resources/agent.ts +141 -9
- package/src/resources/app.ts +593 -0
- package/src/resources/asset.ts +69 -0
- package/src/resources/batch-call.ts +6 -1
- package/src/resources/call.ts +289 -25
- package/src/resources/chat-agent.ts +4 -10
- package/src/resources/chat.ts +28 -11
- package/src/resources/contact.ts +910 -0
- package/src/resources/conversation-flow-component.ts +56 -8
- package/src/resources/conversation-flow.ts +127 -15
- package/src/resources/crm.ts +298 -0
- package/src/resources/export-request.ts +2 -2
- package/src/resources/index.ts +50 -0
- package/src/resources/knowledge-base.ts +16 -8
- package/src/resources/llm.ts +73 -9
- package/src/resources/phone-number.ts +14 -8
- package/src/resources/tests.ts +6 -6
- package/src/resources/voice.ts +4 -4
- 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/index.d.mts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
export { Agent, type AgentResponse, type AgentListResponse, type AgentCreateVersionResponse, type AgentGetVersionsResponse, type AgentCreateParams, type AgentRetrieveParams, type AgentUpdateParams, type AgentListParams, type AgentCreateVersionParams, type AgentDeleteVersionParams, type AgentPublishParams, } from "./agent.mjs";
|
|
1
|
+
export { Agent, type AgentResponse, type AgentListResponse, type AgentCreateVersionResponse, type AgentGetVersionsResponse, type AgentListVersionsResponse, type AgentRepairResponse, type AgentCreateParams, type AgentRetrieveParams, type AgentUpdateParams, type AgentListParams, type AgentCreateVersionParams, type AgentDeleteVersionParams, type AgentListVersionsParams, type AgentPublishParams, type AgentRepairParams, } from "./agent.mjs";
|
|
2
|
+
export { App, type AppResponse, type AppListResponse, type AppListUsagesResponse, type AppTestAuthResponse, type AppCreateParams, type AppUpdateParams, type AppListParams, type AppDeleteParams, type AppListUsagesParams, } from "./app.mjs";
|
|
3
|
+
export { Asset, type AssetCreateResponse, type AssetCreateParams } from "./asset.mjs";
|
|
2
4
|
export { BatchCall, type BatchCallResponse, type BatchCallCreateBatchCallParams } from "./batch-call.mjs";
|
|
3
|
-
export {
|
|
5
|
+
export { CRM, type CRMConfig, type CRMGetSchemaResponse, type CRMGetSyncJobStatusResponse, type CRMRunSyncJobResponse, type CRMGetSchemaParams, type CRMUpdateConfigParams, } from "./crm.mjs";
|
|
6
|
+
export { Call, type CallResponse, type CreateWebCallResponse, type PhoneCallResponse, type WebCallResponse, type CallListResponse, type CallListenLiveResponse, type CallTakeOverLiveResponse, type CallUpdateLiveResponse, type CallUpdateParams, type CallListParams, type CallCreatePhoneCallParams, type CallCreateWebCallParams, type CallRegisterPhoneCallParams, type CallTakeOverLiveParams, type CallUpdateLiveParams, } from "./call.mjs";
|
|
4
7
|
export { Chat, type ChatResponse, type ChatListResponse, type ChatCreateChatCompletionResponse, type ChatCreateParams, type ChatUpdateParams, type ChatListParams, type ChatCreateChatCompletionParams, type ChatCreateSMSChatParams, } from "./chat.mjs";
|
|
5
8
|
export { ChatAgent, type ChatAgentResponse, type ChatAgentListResponse, type ChatAgentCreateVersionResponse, type ChatAgentGetVersionsResponse, type ChatAgentCreateParams, type ChatAgentRetrieveParams, type ChatAgentUpdateParams, type ChatAgentListParams, type ChatAgentCreateVersionParams, type ChatAgentDeleteVersionParams, type ChatAgentPublishParams, } from "./chat-agent.mjs";
|
|
6
9
|
export { Concurrency, type ConcurrencyRetrieveResponse } from "./concurrency.mjs";
|
|
7
|
-
export {
|
|
10
|
+
export { Contact, type ContactResponse, type ContactListResponse, type ContactBackfillAnalysisDataResponse, type ContactCreateImportResponse, type ContactGetBackfillJobStatusResponse, type ContactGetImportResponse, type ContactListConversationsResponse, type ContactUploadImportFileResponse, type ContactCreateParams, type ContactUpdateParams, type ContactListParams, type ContactBackfillAnalysisDataParams, type ContactCreateImportParams, type ContactListConversationsParams, type ContactUploadImportFileParams, } from "./contact.mjs";
|
|
11
|
+
export { ConversationFlow, type ConversationFlowResponse, type ConversationFlowListResponse, type ConversationFlowCreateParams, type ConversationFlowRetrieveParams, type ConversationFlowUpdateParams, type ConversationFlowListParams, type ConversationFlowDeleteParams, } from "./conversation-flow.mjs";
|
|
8
12
|
export { ConversationFlowComponent, type ConversationFlowComponentResponse, type ConversationFlowComponentListResponse, type ConversationFlowComponentCreateParams, type ConversationFlowComponentUpdateParams, type ConversationFlowComponentListParams, } from "./conversation-flow-component.mjs";
|
|
9
13
|
export { ExportRequest, type ExportRequestListResponse, type ExportRequestListParams, } from "./export-request.mjs";
|
|
10
14
|
export { Identity, type IdentityRetrieveResponse } from "./identity.mjs";
|
|
11
15
|
export { KnowledgeBase, type KnowledgeBaseResponse, type KnowledgeBaseListResponse, type KnowledgeBaseCreateParams, type KnowledgeBaseAddSourcesParams, type KnowledgeBaseDeleteSourceParams, } from "./knowledge-base.mjs";
|
|
12
|
-
export { Llm, type LlmResponse, type LlmListResponse, type LlmCreateParams, type LlmRetrieveParams, type LlmUpdateParams, type LlmListParams, } from "./llm.mjs";
|
|
16
|
+
export { Llm, type LlmResponse, type LlmListResponse, type LlmCreateParams, type LlmRetrieveParams, type LlmUpdateParams, type LlmListParams, type LlmDeleteParams, } from "./llm.mjs";
|
|
13
17
|
export { McpTool, type McpToolDefinition, type McpToolGetMcpToolsResponse, type McpToolGetMcpToolsParams, } from "./mcp-tool.mjs";
|
|
14
18
|
export { PhoneNumber, type PhoneNumberResponse, type PhoneNumberListResponse, type PhoneNumberCreateParams, type PhoneNumberUpdateParams, type PhoneNumberListParams, type PhoneNumberImportParams, } from "./phone-number.mjs";
|
|
15
19
|
export { Playground, type PlaygroundCompletionResponse, type PlaygroundCompletionParams } from "./playground.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,oBAAgB;AACjB,OAAO,EACL,GAAG,EACH,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,K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WAAW,EACX,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,GAC7B,2BAAuB;AACxB,OAAO,EAAE,UAAU,EAAE,KAAK,4BAA4B,EAAE,KAAK,0BAA0B,EAAE,yBAAqB;AAC9G,OAAO,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,kCAAkC,GACxC,oBAAgB;AACjB,OAAO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB,oBAAgB"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
export { Agent, type AgentResponse, type AgentListResponse, type AgentCreateVersionResponse, type AgentGetVersionsResponse, type AgentCreateParams, type AgentRetrieveParams, type AgentUpdateParams, type AgentListParams, type AgentCreateVersionParams, type AgentDeleteVersionParams, type AgentPublishParams, } from "./agent.js";
|
|
1
|
+
export { Agent, type AgentResponse, type AgentListResponse, type AgentCreateVersionResponse, type AgentGetVersionsResponse, type AgentListVersionsResponse, type AgentRepairResponse, type AgentCreateParams, type AgentRetrieveParams, type AgentUpdateParams, type AgentListParams, type AgentCreateVersionParams, type AgentDeleteVersionParams, type AgentListVersionsParams, type AgentPublishParams, type AgentRepairParams, } from "./agent.js";
|
|
2
|
+
export { App, type AppResponse, type AppListResponse, type AppListUsagesResponse, type AppTestAuthResponse, type AppCreateParams, type AppUpdateParams, type AppListParams, type AppDeleteParams, type AppListUsagesParams, } from "./app.js";
|
|
3
|
+
export { Asset, type AssetCreateResponse, type AssetCreateParams } from "./asset.js";
|
|
2
4
|
export { BatchCall, type BatchCallResponse, type BatchCallCreateBatchCallParams } from "./batch-call.js";
|
|
3
|
-
export {
|
|
5
|
+
export { CRM, type CRMConfig, type CRMGetSchemaResponse, type CRMGetSyncJobStatusResponse, type CRMRunSyncJobResponse, type CRMGetSchemaParams, type CRMUpdateConfigParams, } from "./crm.js";
|
|
6
|
+
export { Call, type CallResponse, type CreateWebCallResponse, type PhoneCallResponse, type WebCallResponse, type CallListResponse, type CallListenLiveResponse, type CallTakeOverLiveResponse, type CallUpdateLiveResponse, type CallUpdateParams, type CallListParams, type CallCreatePhoneCallParams, type CallCreateWebCallParams, type CallRegisterPhoneCallParams, type CallTakeOverLiveParams, type CallUpdateLiveParams, } from "./call.js";
|
|
4
7
|
export { Chat, type ChatResponse, type ChatListResponse, type ChatCreateChatCompletionResponse, type ChatCreateParams, type ChatUpdateParams, type ChatListParams, type ChatCreateChatCompletionParams, type ChatCreateSMSChatParams, } from "./chat.js";
|
|
5
8
|
export { ChatAgent, type ChatAgentResponse, type ChatAgentListResponse, type ChatAgentCreateVersionResponse, type ChatAgentGetVersionsResponse, type ChatAgentCreateParams, type ChatAgentRetrieveParams, type ChatAgentUpdateParams, type ChatAgentListParams, type ChatAgentCreateVersionParams, type ChatAgentDeleteVersionParams, type ChatAgentPublishParams, } from "./chat-agent.js";
|
|
6
9
|
export { Concurrency, type ConcurrencyRetrieveResponse } from "./concurrency.js";
|
|
7
|
-
export {
|
|
10
|
+
export { Contact, type ContactResponse, type ContactListResponse, type ContactBackfillAnalysisDataResponse, type ContactCreateImportResponse, type ContactGetBackfillJobStatusResponse, type ContactGetImportResponse, type ContactListConversationsResponse, type ContactUploadImportFileResponse, type ContactCreateParams, type ContactUpdateParams, type ContactListParams, type ContactBackfillAnalysisDataParams, type ContactCreateImportParams, type ContactListConversationsParams, type ContactUploadImportFileParams, } from "./contact.js";
|
|
11
|
+
export { ConversationFlow, type ConversationFlowResponse, type ConversationFlowListResponse, type ConversationFlowCreateParams, type ConversationFlowRetrieveParams, type ConversationFlowUpdateParams, type ConversationFlowListParams, type ConversationFlowDeleteParams, } from "./conversation-flow.js";
|
|
8
12
|
export { ConversationFlowComponent, type ConversationFlowComponentResponse, type ConversationFlowComponentListResponse, type ConversationFlowComponentCreateParams, type ConversationFlowComponentUpdateParams, type ConversationFlowComponentListParams, } from "./conversation-flow-component.js";
|
|
9
13
|
export { ExportRequest, type ExportRequestListResponse, type ExportRequestListParams, } from "./export-request.js";
|
|
10
14
|
export { Identity, type IdentityRetrieveResponse } from "./identity.js";
|
|
11
15
|
export { KnowledgeBase, type KnowledgeBaseResponse, type KnowledgeBaseListResponse, type KnowledgeBaseCreateParams, type KnowledgeBaseAddSourcesParams, type KnowledgeBaseDeleteSourceParams, } from "./knowledge-base.js";
|
|
12
|
-
export { Llm, type LlmResponse, type LlmListResponse, type LlmCreateParams, type LlmRetrieveParams, type LlmUpdateParams, type LlmListParams, } from "./llm.js";
|
|
16
|
+
export { Llm, type LlmResponse, type LlmListResponse, type LlmCreateParams, type LlmRetrieveParams, type LlmUpdateParams, type LlmListParams, type LlmDeleteParams, } from "./llm.js";
|
|
13
17
|
export { McpTool, type McpToolDefinition, type McpToolGetMcpToolsResponse, type McpToolGetMcpToolsParams, } from "./mcp-tool.js";
|
|
14
18
|
export { PhoneNumber, type PhoneNumberResponse, type PhoneNumberListResponse, type PhoneNumberCreateParams, type PhoneNumberUpdateParams, type PhoneNumberListParams, type PhoneNumberImportParams, } from "./phone-number.js";
|
|
15
19
|
export { Playground, type PlaygroundCompletionResponse, type PlaygroundCompletionParams } from "./playground.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,KAA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AAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,KAAK,kCAAkC,GACxC,mBAAgB;AACjB,OAAO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB,mBAAgB"}
|
package/resources/index.js
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
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.Playground = exports.PhoneNumber = exports.McpTool = exports.Llm = exports.KnowledgeBase = exports.Identity = exports.ExportRequest = exports.ConversationFlowComponent = exports.ConversationFlow = exports.Concurrency = exports.ChatAgent = exports.Chat = exports.Call = exports.BatchCall = exports.Agent = void 0;
|
|
4
|
+
exports.Voice = exports.Tests = exports.Playground = exports.PhoneNumber = exports.McpTool = exports.Llm = exports.KnowledgeBase = exports.Identity = exports.ExportRequest = exports.ConversationFlowComponent = exports.ConversationFlow = exports.Contact = exports.Concurrency = exports.ChatAgent = exports.Chat = exports.Call = exports.CRM = exports.BatchCall = exports.Asset = exports.App = 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
|
+
var app_1 = require("./app.js");
|
|
8
|
+
Object.defineProperty(exports, "App", { enumerable: true, get: function () { return app_1.App; } });
|
|
9
|
+
var asset_1 = require("./asset.js");
|
|
10
|
+
Object.defineProperty(exports, "Asset", { enumerable: true, get: function () { return asset_1.Asset; } });
|
|
7
11
|
var batch_call_1 = require("./batch-call.js");
|
|
8
12
|
Object.defineProperty(exports, "BatchCall", { enumerable: true, get: function () { return batch_call_1.BatchCall; } });
|
|
13
|
+
var crm_1 = require("./crm.js");
|
|
14
|
+
Object.defineProperty(exports, "CRM", { enumerable: true, get: function () { return crm_1.CRM; } });
|
|
9
15
|
var call_1 = require("./call.js");
|
|
10
16
|
Object.defineProperty(exports, "Call", { enumerable: true, get: function () { return call_1.Call; } });
|
|
11
17
|
var chat_1 = require("./chat.js");
|
|
@@ -14,6 +20,8 @@ var chat_agent_1 = require("./chat-agent.js");
|
|
|
14
20
|
Object.defineProperty(exports, "ChatAgent", { enumerable: true, get: function () { return chat_agent_1.ChatAgent; } });
|
|
15
21
|
var concurrency_1 = require("./concurrency.js");
|
|
16
22
|
Object.defineProperty(exports, "Concurrency", { enumerable: true, get: function () { return concurrency_1.Concurrency; } });
|
|
23
|
+
var contact_1 = require("./contact.js");
|
|
24
|
+
Object.defineProperty(exports, "Contact", { enumerable: true, get: function () { return contact_1.Contact; } });
|
|
17
25
|
var conversation_flow_1 = require("./conversation-flow.js");
|
|
18
26
|
Object.defineProperty(exports, "ConversationFlow", { enumerable: true, get: function () { return conversation_flow_1.ConversationFlow; } });
|
|
19
27
|
var conversation_flow_component_1 = require("./conversation-flow-component.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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAiBiB;AAhBf,8FAAA,KAAK,OAAA;AAiBP,gCAWe;AAVb,0FAAA,GAAG,OAAA;AAWL,oCAAkF;AAAzE,8FAAA,KAAK,OAAA;AACd,8CAAsG;AAA7F,uGAAA,SAAS,OAAA;AAClB,gCAQe;AAPb,0FAAA,GAAG,OAAA;AAQL,kCAiBgB;AAhBd,4FAAA,IAAI,OAAA;AAiBN,kCAUgB;AATd,4FAAA,IAAI,OAAA;AAUN,8CAasB;AAZpB,uGAAA,SAAS,OAAA;AAaX,gDAA8E;AAArE,0GAAA,WAAW,OAAA;AACpB,wCAiBmB;AAhBjB,kGAAA,OAAO,OAAA;AAiBT,4DAS6B;AAR3B,qHAAA,gBAAgB,OAAA;AASlB,gFAOuC;AANrC,wIAAA,yBAAyB,OAAA;AAO3B,sDAI0B;AAHxB,+GAAA,aAAa,OAAA;AAIf,0CAAqE;AAA5D,oGAAA,QAAQ,OAAA;AACjB,sDAO0B;AANxB,+GAAA,aAAa,OAAA;AAOf,gCASe;AARb,0FAAA,GAAG,OAAA;AASL,0CAKoB;AAJlB,mGAAA,OAAO,OAAA;AAKT,kDAQwB;AAPtB,2GAAA,WAAW,OAAA;AAQb,8CAA8G;AAArG,wGAAA,UAAU,OAAA;AACnB,oCAciB;AAbf,8FAAA,KAAK,OAAA;AAcP,oCAQiB;AAPf,8FAAA,KAAK,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
export { Agent, } from "./agent.mjs";
|
|
3
|
+
export { App, } from "./app.mjs";
|
|
4
|
+
export { Asset } from "./asset.mjs";
|
|
3
5
|
export { BatchCall } from "./batch-call.mjs";
|
|
6
|
+
export { CRM, } from "./crm.mjs";
|
|
4
7
|
export { Call, } from "./call.mjs";
|
|
5
8
|
export { Chat, } from "./chat.mjs";
|
|
6
9
|
export { ChatAgent, } from "./chat-agent.mjs";
|
|
7
10
|
export { Concurrency } from "./concurrency.mjs";
|
|
11
|
+
export { Contact, } from "./contact.mjs";
|
|
8
12
|
export { ConversationFlow, } from "./conversation-flow.mjs";
|
|
9
13
|
export { ConversationFlowComponent, } from "./conversation-flow-component.mjs";
|
|
10
14
|
export { ExportRequest, } from "./export-request.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;AAEtF,OAAO,EACL,KAAK,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,KAAK,GAgBN,oBAAgB;AACjB,OAAO,EACL,GAAG,GAUJ,kBAAc;AACf,OAAO,EAAE,KAAK,EAAoD,oBAAgB;AAClF,OAAO,EAAE,SAAS,EAA+D,yBAAqB;AACtG,OAAO,EACL,GAAG,GAOJ,kBAAc;AACf,OAAO,EACL,IAAI,GAgBL,mBAAe;AAChB,OAAO,EACL,IAAI,GASL,mBAAe;AAChB,OAAO,EACL,SAAS,GAYV,yBAAqB;AACtB,OAAO,EAAE,WAAW,EAAoC,0BAAsB;AAC9E,OAAO,EACL,OAAO,GAgBR,sBAAkB;AACnB,OAAO,EACL,gBAAgB,GAQjB,gCAA4B;AAC7B,OAAO,EACL,yBAAyB,GAM1B,0CAAsC;AACvC,OAAO,EACL,aAAa,GAGd,6BAAyB;AAC1B,OAAO,EAAE,QAAQ,EAAiC,uBAAmB;AACrE,OAAO,EACL,aAAa,GAMd,6BAAyB;AAC1B,OAAO,EACL,GAAG,GAQJ,kBAAc;AACf,OAAO,EACL,OAAO,GAIR,uBAAmB;AACpB,OAAO,EACL,WAAW,GAOZ,2BAAuB;AACxB,OAAO,EAAE,UAAU,EAAsE,yBAAqB;AAC9G,OAAO,EACL,KAAK,GAaN,oBAAgB;AACjB,OAAO,EACL,KAAK,GAON,oBAAgB"}
|
|
@@ -78,15 +78,23 @@ export interface KnowledgeBaseResponse {
|
|
|
78
78
|
*/
|
|
79
79
|
knowledge_base_name: string;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
81
|
+
* Current processing state of the knowledge base:
|
|
82
|
+
*
|
|
83
|
+
* - `in_progress`: Initial indexing is running. Source metadata may be incomplete
|
|
84
|
+
* until indexing finishes.
|
|
85
|
+
* - `complete`: Initial indexing or the latest update or refresh finished.
|
|
86
|
+
* Individual source failures may still be reported in `error_messages`.
|
|
87
|
+
* - `error`: Initial indexing failed. Source metadata may be incomplete.
|
|
88
|
+
* - `refreshing_in_progress`: An existing knowledge base is being updated. This
|
|
89
|
+
* includes indexing newly added sources or running a manual or automatic refresh
|
|
90
|
+
* that re-indexes URLs, Google Drive files, Microsoft OneDrive files, and pages
|
|
91
|
+
* from auto-crawling paths. Previously indexed sources remain available during
|
|
92
|
+
* the update, and the source list may change when it finishes.
|
|
85
93
|
*/
|
|
86
94
|
status: 'in_progress' | 'complete' | 'error' | 'refreshing_in_progress';
|
|
87
95
|
/**
|
|
88
|
-
* Whether
|
|
89
|
-
*
|
|
96
|
+
* Whether eligible URL and connected-file sources refresh automatically on a daily
|
|
97
|
+
* cadence.
|
|
90
98
|
*/
|
|
91
99
|
enable_auto_refresh?: boolean;
|
|
92
100
|
/**
|
|
@@ -172,8 +180,8 @@ export interface KnowledgeBaseCreateParams {
|
|
|
172
180
|
*/
|
|
173
181
|
knowledge_base_name: string;
|
|
174
182
|
/**
|
|
175
|
-
* Whether to
|
|
176
|
-
*
|
|
183
|
+
* Whether to refresh eligible URL and connected-file sources automatically on a
|
|
184
|
+
* daily cadence.
|
|
177
185
|
*/
|
|
178
186
|
enable_auto_refresh?: boolean;
|
|
179
187
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knowledge-base.d.mts","sourceRoot":"","sources":["../src/resources/knowledge-base.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,KAAK,UAAU,EAAE,4BAAwB;AAElD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAI7D,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAI,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAA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AAM,WAAW,6BAA6B;IAC5C;;;OAGG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAEzC;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,6BAA6B,CAAC,iBAAiB,CAAC,CAAC;IAE9E;;OAEG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrC;AAED,yBAAiB,6BAA6B,CAAC;IAC7C,UAAiB,iBAAiB;QAChC;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
|
@@ -78,15 +78,23 @@ export interface KnowledgeBaseResponse {
|
|
|
78
78
|
*/
|
|
79
79
|
knowledge_base_name: string;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
81
|
+
* Current processing state of the knowledge base:
|
|
82
|
+
*
|
|
83
|
+
* - `in_progress`: Initial indexing is running. Source metadata may be incomplete
|
|
84
|
+
* until indexing finishes.
|
|
85
|
+
* - `complete`: Initial indexing or the latest update or refresh finished.
|
|
86
|
+
* Individual source failures may still be reported in `error_messages`.
|
|
87
|
+
* - `error`: Initial indexing failed. Source metadata may be incomplete.
|
|
88
|
+
* - `refreshing_in_progress`: An existing knowledge base is being updated. This
|
|
89
|
+
* includes indexing newly added sources or running a manual or automatic refresh
|
|
90
|
+
* that re-indexes URLs, Google Drive files, Microsoft OneDrive files, and pages
|
|
91
|
+
* from auto-crawling paths. Previously indexed sources remain available during
|
|
92
|
+
* the update, and the source list may change when it finishes.
|
|
85
93
|
*/
|
|
86
94
|
status: 'in_progress' | 'complete' | 'error' | 'refreshing_in_progress';
|
|
87
95
|
/**
|
|
88
|
-
* Whether
|
|
89
|
-
*
|
|
96
|
+
* Whether eligible URL and connected-file sources refresh automatically on a daily
|
|
97
|
+
* cadence.
|
|
90
98
|
*/
|
|
91
99
|
enable_auto_refresh?: boolean;
|
|
92
100
|
/**
|
|
@@ -172,8 +180,8 @@ export interface KnowledgeBaseCreateParams {
|
|
|
172
180
|
*/
|
|
173
181
|
knowledge_base_name: string;
|
|
174
182
|
/**
|
|
175
|
-
* Whether to
|
|
176
|
-
*
|
|
183
|
+
* Whether to refresh eligible URL and connected-file sources automatically on a
|
|
184
|
+
* daily cadence.
|
|
177
185
|
*/
|
|
178
186
|
enable_auto_refresh?: boolean;
|
|
179
187
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knowledge-base.d.ts","sourceRoot":"","sources":["../src/resources/knowledge-base.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,KAAK,UAAU,EAAE,2BAAwB;AAElD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAI7D,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAI,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAOpG;;;;;;;;OAQG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAI9F;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc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CAAC,MAAM,CAAC,CAAC;CACrC;AAED,yBAAiB,6BAA6B,CAAC;IAC7C,UAAiB,iBAAiB;QAChC;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;KACf;CACF;AAED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
package/resources/llm.d.mts
CHANGED
|
@@ -55,7 +55,7 @@ export declare class Llm extends APIResource {
|
|
|
55
55
|
* await client.llm.delete('oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD');
|
|
56
56
|
* ```
|
|
57
57
|
*/
|
|
58
|
-
delete(llmID: string, options?: RequestOptions): APIPromise<void>;
|
|
58
|
+
delete(llmID: string, params?: LlmDeleteParams | null | undefined, options?: RequestOptions): APIPromise<void>;
|
|
59
59
|
}
|
|
60
60
|
export interface LlmResponse {
|
|
61
61
|
/**
|
|
@@ -498,6 +498,9 @@ export declare namespace LlmResponse {
|
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
+
/**
|
|
502
|
+
* @deprecated
|
|
503
|
+
*/
|
|
501
504
|
interface CheckAvailabilityCalTool {
|
|
502
505
|
/**
|
|
503
506
|
* Cal.com Api key that have access to the cal.com event you want to check
|
|
@@ -532,6 +535,9 @@ export declare namespace LlmResponse {
|
|
|
532
535
|
*/
|
|
533
536
|
timezone?: string;
|
|
534
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* @deprecated
|
|
540
|
+
*/
|
|
535
541
|
interface BookAppointmentCalTool {
|
|
536
542
|
/**
|
|
537
543
|
* Cal.com Api key that have access to the cal.com event you want to book
|
|
@@ -607,7 +613,9 @@ export declare namespace LlmResponse {
|
|
|
607
613
|
*/
|
|
608
614
|
keep_current_language?: boolean;
|
|
609
615
|
/**
|
|
610
|
-
* If true, keep the current voice when swapping agents.
|
|
616
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
617
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
618
|
+
* Defaults to false.
|
|
611
619
|
*/
|
|
612
620
|
keep_current_voice?: boolean;
|
|
613
621
|
speak_during_execution?: boolean;
|
|
@@ -1590,6 +1598,9 @@ export declare namespace LlmResponse {
|
|
|
1590
1598
|
}
|
|
1591
1599
|
}
|
|
1592
1600
|
}
|
|
1601
|
+
/**
|
|
1602
|
+
* @deprecated
|
|
1603
|
+
*/
|
|
1593
1604
|
interface CheckAvailabilityCalTool {
|
|
1594
1605
|
/**
|
|
1595
1606
|
* Cal.com Api key that have access to the cal.com event you want to check
|
|
@@ -1624,6 +1635,9 @@ export declare namespace LlmResponse {
|
|
|
1624
1635
|
*/
|
|
1625
1636
|
timezone?: string;
|
|
1626
1637
|
}
|
|
1638
|
+
/**
|
|
1639
|
+
* @deprecated
|
|
1640
|
+
*/
|
|
1627
1641
|
interface BookAppointmentCalTool {
|
|
1628
1642
|
/**
|
|
1629
1643
|
* Cal.com Api key that have access to the cal.com event you want to book
|
|
@@ -1699,7 +1713,9 @@ export declare namespace LlmResponse {
|
|
|
1699
1713
|
*/
|
|
1700
1714
|
keep_current_language?: boolean;
|
|
1701
1715
|
/**
|
|
1702
|
-
* If true, keep the current voice when swapping agents.
|
|
1716
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
1717
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
1718
|
+
* Defaults to false.
|
|
1703
1719
|
*/
|
|
1704
1720
|
keep_current_voice?: boolean;
|
|
1705
1721
|
speak_during_execution?: boolean;
|
|
@@ -2249,8 +2265,8 @@ export interface LlmListResponse {
|
|
|
2249
2265
|
/**
|
|
2250
2266
|
* Whether more results are available.
|
|
2251
2267
|
*/
|
|
2252
|
-
has_more
|
|
2253
|
-
items
|
|
2268
|
+
has_more: boolean;
|
|
2269
|
+
items: Array<LlmResponse>;
|
|
2254
2270
|
/**
|
|
2255
2271
|
* Pagination key for the next page.
|
|
2256
2272
|
*/
|
|
@@ -2680,6 +2696,9 @@ export declare namespace LlmCreateParams {
|
|
|
2680
2696
|
}
|
|
2681
2697
|
}
|
|
2682
2698
|
}
|
|
2699
|
+
/**
|
|
2700
|
+
* @deprecated
|
|
2701
|
+
*/
|
|
2683
2702
|
interface CheckAvailabilityCalTool {
|
|
2684
2703
|
/**
|
|
2685
2704
|
* Cal.com Api key that have access to the cal.com event you want to check
|
|
@@ -2714,6 +2733,9 @@ export declare namespace LlmCreateParams {
|
|
|
2714
2733
|
*/
|
|
2715
2734
|
timezone?: string;
|
|
2716
2735
|
}
|
|
2736
|
+
/**
|
|
2737
|
+
* @deprecated
|
|
2738
|
+
*/
|
|
2717
2739
|
interface BookAppointmentCalTool {
|
|
2718
2740
|
/**
|
|
2719
2741
|
* Cal.com Api key that have access to the cal.com event you want to book
|
|
@@ -2789,7 +2811,9 @@ export declare namespace LlmCreateParams {
|
|
|
2789
2811
|
*/
|
|
2790
2812
|
keep_current_language?: boolean;
|
|
2791
2813
|
/**
|
|
2792
|
-
* If true, keep the current voice when swapping agents.
|
|
2814
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
2815
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
2816
|
+
* Defaults to false.
|
|
2793
2817
|
*/
|
|
2794
2818
|
keep_current_voice?: boolean;
|
|
2795
2819
|
speak_during_execution?: boolean;
|
|
@@ -3772,6 +3796,9 @@ export declare namespace LlmCreateParams {
|
|
|
3772
3796
|
}
|
|
3773
3797
|
}
|
|
3774
3798
|
}
|
|
3799
|
+
/**
|
|
3800
|
+
* @deprecated
|
|
3801
|
+
*/
|
|
3775
3802
|
interface CheckAvailabilityCalTool {
|
|
3776
3803
|
/**
|
|
3777
3804
|
* Cal.com Api key that have access to the cal.com event you want to check
|
|
@@ -3806,6 +3833,9 @@ export declare namespace LlmCreateParams {
|
|
|
3806
3833
|
*/
|
|
3807
3834
|
timezone?: string;
|
|
3808
3835
|
}
|
|
3836
|
+
/**
|
|
3837
|
+
* @deprecated
|
|
3838
|
+
*/
|
|
3809
3839
|
interface BookAppointmentCalTool {
|
|
3810
3840
|
/**
|
|
3811
3841
|
* Cal.com Api key that have access to the cal.com event you want to book
|
|
@@ -3881,7 +3911,9 @@ export declare namespace LlmCreateParams {
|
|
|
3881
3911
|
*/
|
|
3882
3912
|
keep_current_language?: boolean;
|
|
3883
3913
|
/**
|
|
3884
|
-
* If true, keep the current voice when swapping agents.
|
|
3914
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
3915
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
3916
|
+
* Defaults to false.
|
|
3885
3917
|
*/
|
|
3886
3918
|
keep_current_voice?: boolean;
|
|
3887
3919
|
speak_during_execution?: boolean;
|
|
@@ -4865,6 +4897,9 @@ export declare namespace LlmUpdateParams {
|
|
|
4865
4897
|
}
|
|
4866
4898
|
}
|
|
4867
4899
|
}
|
|
4900
|
+
/**
|
|
4901
|
+
* @deprecated
|
|
4902
|
+
*/
|
|
4868
4903
|
interface CheckAvailabilityCalTool {
|
|
4869
4904
|
/**
|
|
4870
4905
|
* Cal.com Api key that have access to the cal.com event you want to check
|
|
@@ -4899,6 +4934,9 @@ export declare namespace LlmUpdateParams {
|
|
|
4899
4934
|
*/
|
|
4900
4935
|
timezone?: string;
|
|
4901
4936
|
}
|
|
4937
|
+
/**
|
|
4938
|
+
* @deprecated
|
|
4939
|
+
*/
|
|
4902
4940
|
interface BookAppointmentCalTool {
|
|
4903
4941
|
/**
|
|
4904
4942
|
* Cal.com Api key that have access to the cal.com event you want to book
|
|
@@ -4974,7 +5012,9 @@ export declare namespace LlmUpdateParams {
|
|
|
4974
5012
|
*/
|
|
4975
5013
|
keep_current_language?: boolean;
|
|
4976
5014
|
/**
|
|
4977
|
-
* If true, keep the current voice when swapping agents.
|
|
5015
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
5016
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
5017
|
+
* Defaults to false.
|
|
4978
5018
|
*/
|
|
4979
5019
|
keep_current_voice?: boolean;
|
|
4980
5020
|
speak_during_execution?: boolean;
|
|
@@ -5957,6 +5997,9 @@ export declare namespace LlmUpdateParams {
|
|
|
5957
5997
|
}
|
|
5958
5998
|
}
|
|
5959
5999
|
}
|
|
6000
|
+
/**
|
|
6001
|
+
* @deprecated
|
|
6002
|
+
*/
|
|
5960
6003
|
interface CheckAvailabilityCalTool {
|
|
5961
6004
|
/**
|
|
5962
6005
|
* Cal.com Api key that have access to the cal.com event you want to check
|
|
@@ -5991,6 +6034,9 @@ export declare namespace LlmUpdateParams {
|
|
|
5991
6034
|
*/
|
|
5992
6035
|
timezone?: string;
|
|
5993
6036
|
}
|
|
6037
|
+
/**
|
|
6038
|
+
* @deprecated
|
|
6039
|
+
*/
|
|
5994
6040
|
interface BookAppointmentCalTool {
|
|
5995
6041
|
/**
|
|
5996
6042
|
* Cal.com Api key that have access to the cal.com event you want to book
|
|
@@ -6066,7 +6112,9 @@ export declare namespace LlmUpdateParams {
|
|
|
6066
6112
|
*/
|
|
6067
6113
|
keep_current_language?: boolean;
|
|
6068
6114
|
/**
|
|
6069
|
-
* If true, keep the current voice when swapping agents.
|
|
6115
|
+
* If true, keep the current voice and ambient sound settings when swapping agents.
|
|
6116
|
+
* Otherwise, use the destination agent's voice and ambient sound settings.
|
|
6117
|
+
* Defaults to false.
|
|
6070
6118
|
*/
|
|
6071
6119
|
keep_current_voice?: boolean;
|
|
6072
6120
|
speak_during_execution?: boolean;
|
|
@@ -6626,7 +6674,15 @@ export interface LlmListParams {
|
|
|
6626
6674
|
*/
|
|
6627
6675
|
sort_order?: 'ascending' | 'descending';
|
|
6628
6676
|
}
|
|
6677
|
+
export interface LlmDeleteParams {
|
|
6678
|
+
/**
|
|
6679
|
+
* By default the deletion is rejected with a 400 if any agent still uses this
|
|
6680
|
+
* Retell LLM as its response engine. Set to true to delete it anyway, which leaves
|
|
6681
|
+
* those agents pointing at a Retell LLM that no longer exists.
|
|
6682
|
+
*/
|
|
6683
|
+
force_delete?: boolean;
|
|
6684
|
+
}
|
|
6629
6685
|
export declare namespace Llm {
|
|
6630
|
-
export { type LlmResponse as LlmResponse, type LlmListResponse as LlmListResponse, type LlmCreateParams as LlmCreateParams, type LlmRetrieveParams as LlmRetrieveParams, type LlmUpdateParams as LlmUpdateParams, type LlmListParams as LlmListParams, };
|
|
6686
|
+
export { type LlmResponse as LlmResponse, type LlmListResponse as LlmListResponse, type LlmCreateParams as LlmCreateParams, type LlmRetrieveParams as LlmRetrieveParams, type LlmUpdateParams as LlmUpdateParams, type LlmListParams as LlmListParams, type LlmDeleteParams as LlmDeleteParams, };
|
|
6631
6687
|
}
|
|
6632
6688
|
//# sourceMappingURL=llm.d.mts.map
|