@keystrokehq/retellai 0.1.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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-community-voice.cjs +27 -0
- package/dist/actions/add-community-voice.cjs.map +1 -0
- package/dist/actions/add-community-voice.d.cts +9 -0
- package/dist/actions/add-community-voice.d.cts.map +1 -0
- package/dist/actions/add-community-voice.d.mts +9 -0
- package/dist/actions/add-community-voice.d.mts.map +1 -0
- package/dist/actions/add-community-voice.mjs +24 -0
- package/dist/actions/add-community-voice.mjs.map +1 -0
- package/dist/actions/add-knowledge-base-sources.cjs +57 -0
- package/dist/actions/add-knowledge-base-sources.cjs.map +1 -0
- package/dist/actions/add-knowledge-base-sources.d.cts +9 -0
- package/dist/actions/add-knowledge-base-sources.d.cts.map +1 -0
- package/dist/actions/add-knowledge-base-sources.d.mts +9 -0
- package/dist/actions/add-knowledge-base-sources.d.mts.map +1 -0
- package/dist/actions/add-knowledge-base-sources.mjs +56 -0
- package/dist/actions/add-knowledge-base-sources.mjs.map +1 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.cjs +41 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.cjs.map +1 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts +9 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts.map +1 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts +9 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts.map +1 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.mjs +40 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.mjs.map +1 -0
- package/dist/actions/create-a-new-outbound-phone-call.cjs +195 -0
- package/dist/actions/create-a-new-outbound-phone-call.cjs.map +1 -0
- package/dist/actions/create-a-new-outbound-phone-call.d.cts +9 -0
- package/dist/actions/create-a-new-outbound-phone-call.d.cts.map +1 -0
- package/dist/actions/create-a-new-outbound-phone-call.d.mts +9 -0
- package/dist/actions/create-a-new-outbound-phone-call.d.mts.map +1 -0
- package/dist/actions/create-a-new-outbound-phone-call.mjs +194 -0
- package/dist/actions/create-a-new-outbound-phone-call.mjs.map +1 -0
- package/dist/actions/create-a-new-web-call.cjs +69 -0
- package/dist/actions/create-a-new-web-call.cjs.map +1 -0
- package/dist/actions/create-a-new-web-call.d.cts +9 -0
- package/dist/actions/create-a-new-web-call.d.cts.map +1 -0
- package/dist/actions/create-a-new-web-call.d.mts +9 -0
- package/dist/actions/create-a-new-web-call.d.mts.map +1 -0
- package/dist/actions/create-a-new-web-call.mjs +68 -0
- package/dist/actions/create-a-new-web-call.mjs.map +1 -0
- package/dist/actions/create-agent.cjs +162 -0
- package/dist/actions/create-agent.cjs.map +1 -0
- package/dist/actions/create-agent.d.cts +9 -0
- package/dist/actions/create-agent.d.cts.map +1 -0
- package/dist/actions/create-agent.d.mts +9 -0
- package/dist/actions/create-agent.d.mts.map +1 -0
- package/dist/actions/create-agent.mjs +159 -0
- package/dist/actions/create-agent.mjs.map +1 -0
- package/dist/actions/create-batch-test.cjs +44 -0
- package/dist/actions/create-batch-test.cjs.map +1 -0
- package/dist/actions/create-batch-test.d.cts +9 -0
- package/dist/actions/create-batch-test.d.cts.map +1 -0
- package/dist/actions/create-batch-test.d.mts +9 -0
- package/dist/actions/create-batch-test.d.mts.map +1 -0
- package/dist/actions/create-batch-test.mjs +43 -0
- package/dist/actions/create-batch-test.mjs.map +1 -0
- package/dist/actions/create-chat-agent.cjs +138 -0
- package/dist/actions/create-chat-agent.cjs.map +1 -0
- package/dist/actions/create-chat-agent.d.cts +9 -0
- package/dist/actions/create-chat-agent.d.cts.map +1 -0
- package/dist/actions/create-chat-agent.d.mts +9 -0
- package/dist/actions/create-chat-agent.d.mts.map +1 -0
- package/dist/actions/create-chat-agent.mjs +137 -0
- package/dist/actions/create-chat-agent.mjs.map +1 -0
- package/dist/actions/create-chat-completion.cjs +19 -0
- package/dist/actions/create-chat-completion.cjs.map +1 -0
- package/dist/actions/create-chat-completion.d.cts +9 -0
- package/dist/actions/create-chat-completion.d.cts.map +1 -0
- package/dist/actions/create-chat-completion.d.mts +9 -0
- package/dist/actions/create-chat-completion.d.mts.map +1 -0
- package/dist/actions/create-chat-completion.mjs +16 -0
- package/dist/actions/create-chat-completion.mjs.map +1 -0
- package/dist/actions/create-chat.cjs +61 -0
- package/dist/actions/create-chat.cjs.map +1 -0
- package/dist/actions/create-chat.d.cts +9 -0
- package/dist/actions/create-chat.d.cts.map +1 -0
- package/dist/actions/create-chat.d.mts +9 -0
- package/dist/actions/create-chat.d.mts.map +1 -0
- package/dist/actions/create-chat.mjs +60 -0
- package/dist/actions/create-chat.mjs.map +1 -0
- package/dist/actions/create-conversation-flow-component.cjs +66 -0
- package/dist/actions/create-conversation-flow-component.cjs.map +1 -0
- package/dist/actions/create-conversation-flow-component.d.cts +9 -0
- package/dist/actions/create-conversation-flow-component.d.cts.map +1 -0
- package/dist/actions/create-conversation-flow-component.d.mts +9 -0
- package/dist/actions/create-conversation-flow-component.d.mts.map +1 -0
- package/dist/actions/create-conversation-flow-component.mjs +65 -0
- package/dist/actions/create-conversation-flow-component.mjs.map +1 -0
- package/dist/actions/create-conversation-flow.cjs +52 -0
- package/dist/actions/create-conversation-flow.cjs.map +1 -0
- package/dist/actions/create-conversation-flow.d.cts +9 -0
- package/dist/actions/create-conversation-flow.d.cts.map +1 -0
- package/dist/actions/create-conversation-flow.d.mts +9 -0
- package/dist/actions/create-conversation-flow.d.mts.map +1 -0
- package/dist/actions/create-conversation-flow.mjs +49 -0
- package/dist/actions/create-conversation-flow.mjs.map +1 -0
- package/dist/actions/create-knowledge-base.cjs +35 -0
- package/dist/actions/create-knowledge-base.cjs.map +1 -0
- package/dist/actions/create-knowledge-base.d.cts +9 -0
- package/dist/actions/create-knowledge-base.d.cts.map +1 -0
- package/dist/actions/create-knowledge-base.d.mts +9 -0
- package/dist/actions/create-knowledge-base.d.mts.map +1 -0
- package/dist/actions/create-knowledge-base.mjs +32 -0
- package/dist/actions/create-knowledge-base.mjs.map +1 -0
- package/dist/actions/create-retell-llm.cjs +122 -0
- package/dist/actions/create-retell-llm.cjs.map +1 -0
- package/dist/actions/create-retell-llm.d.cts +9 -0
- package/dist/actions/create-retell-llm.d.cts.map +1 -0
- package/dist/actions/create-retell-llm.d.mts +9 -0
- package/dist/actions/create-retell-llm.d.mts.map +1 -0
- package/dist/actions/create-retell-llm.mjs +121 -0
- package/dist/actions/create-retell-llm.mjs.map +1 -0
- package/dist/actions/create-test-case-definition.cjs +44 -0
- package/dist/actions/create-test-case-definition.cjs.map +1 -0
- package/dist/actions/create-test-case-definition.d.cts +9 -0
- package/dist/actions/create-test-case-definition.d.cts.map +1 -0
- package/dist/actions/create-test-case-definition.d.mts +9 -0
- package/dist/actions/create-test-case-definition.d.mts.map +1 -0
- package/dist/actions/create-test-case-definition.mjs +41 -0
- package/dist/actions/create-test-case-definition.mjs.map +1 -0
- package/dist/actions/delete-agent.cjs +20 -0
- package/dist/actions/delete-agent.cjs.map +1 -0
- package/dist/actions/delete-agent.d.cts +9 -0
- package/dist/actions/delete-agent.d.cts.map +1 -0
- package/dist/actions/delete-agent.d.mts +9 -0
- package/dist/actions/delete-agent.d.mts.map +1 -0
- package/dist/actions/delete-agent.mjs +19 -0
- package/dist/actions/delete-agent.mjs.map +1 -0
- package/dist/actions/delete-call.cjs +16 -0
- package/dist/actions/delete-call.cjs.map +1 -0
- package/dist/actions/delete-call.d.cts +9 -0
- package/dist/actions/delete-call.d.cts.map +1 -0
- package/dist/actions/delete-call.d.mts +9 -0
- package/dist/actions/delete-call.d.mts.map +1 -0
- package/dist/actions/delete-call.mjs +13 -0
- package/dist/actions/delete-call.mjs.map +1 -0
- package/dist/actions/delete-chat-agent.cjs +19 -0
- package/dist/actions/delete-chat-agent.cjs.map +1 -0
- package/dist/actions/delete-chat-agent.d.cts +9 -0
- package/dist/actions/delete-chat-agent.d.cts.map +1 -0
- package/dist/actions/delete-chat-agent.d.mts +9 -0
- package/dist/actions/delete-chat-agent.d.mts.map +1 -0
- package/dist/actions/delete-chat-agent.mjs +16 -0
- package/dist/actions/delete-chat-agent.mjs.map +1 -0
- package/dist/actions/delete-conversation-flow-component.cjs +16 -0
- package/dist/actions/delete-conversation-flow-component.cjs.map +1 -0
- package/dist/actions/delete-conversation-flow-component.d.cts +9 -0
- package/dist/actions/delete-conversation-flow-component.d.cts.map +1 -0
- package/dist/actions/delete-conversation-flow-component.d.mts +9 -0
- package/dist/actions/delete-conversation-flow-component.d.mts.map +1 -0
- package/dist/actions/delete-conversation-flow-component.mjs +13 -0
- package/dist/actions/delete-conversation-flow-component.mjs.map +1 -0
- package/dist/actions/delete-conversation-flow.cjs +16 -0
- package/dist/actions/delete-conversation-flow.cjs.map +1 -0
- package/dist/actions/delete-conversation-flow.d.cts +9 -0
- package/dist/actions/delete-conversation-flow.d.cts.map +1 -0
- package/dist/actions/delete-conversation-flow.d.mts +9 -0
- package/dist/actions/delete-conversation-flow.d.mts.map +1 -0
- package/dist/actions/delete-conversation-flow.mjs +13 -0
- package/dist/actions/delete-conversation-flow.mjs.map +1 -0
- package/dist/actions/delete-knowledge-base-source.cjs +19 -0
- package/dist/actions/delete-knowledge-base-source.cjs.map +1 -0
- package/dist/actions/delete-knowledge-base-source.d.cts +9 -0
- package/dist/actions/delete-knowledge-base-source.d.cts.map +1 -0
- package/dist/actions/delete-knowledge-base-source.d.mts +9 -0
- package/dist/actions/delete-knowledge-base-source.d.mts.map +1 -0
- package/dist/actions/delete-knowledge-base-source.mjs +16 -0
- package/dist/actions/delete-knowledge-base-source.mjs.map +1 -0
- package/dist/actions/delete-knowledge-base.cjs +16 -0
- package/dist/actions/delete-knowledge-base.cjs.map +1 -0
- package/dist/actions/delete-knowledge-base.d.cts +9 -0
- package/dist/actions/delete-knowledge-base.d.cts.map +1 -0
- package/dist/actions/delete-knowledge-base.d.mts +9 -0
- package/dist/actions/delete-knowledge-base.d.mts.map +1 -0
- package/dist/actions/delete-knowledge-base.mjs +13 -0
- package/dist/actions/delete-knowledge-base.mjs.map +1 -0
- package/dist/actions/delete-phone-number.cjs +19 -0
- package/dist/actions/delete-phone-number.cjs.map +1 -0
- package/dist/actions/delete-phone-number.d.cts +9 -0
- package/dist/actions/delete-phone-number.d.cts.map +1 -0
- package/dist/actions/delete-phone-number.d.mts +9 -0
- package/dist/actions/delete-phone-number.d.mts.map +1 -0
- package/dist/actions/delete-phone-number.mjs +16 -0
- package/dist/actions/delete-phone-number.mjs.map +1 -0
- package/dist/actions/delete-retell-llm.cjs +16 -0
- package/dist/actions/delete-retell-llm.cjs.map +1 -0
- package/dist/actions/delete-retell-llm.d.cts +9 -0
- package/dist/actions/delete-retell-llm.d.cts.map +1 -0
- package/dist/actions/delete-retell-llm.d.mts +9 -0
- package/dist/actions/delete-retell-llm.d.mts.map +1 -0
- package/dist/actions/delete-retell-llm.mjs +13 -0
- package/dist/actions/delete-retell-llm.mjs.map +1 -0
- package/dist/actions/delete-test-case-definition.cjs +16 -0
- package/dist/actions/delete-test-case-definition.cjs.map +1 -0
- package/dist/actions/delete-test-case-definition.d.cts +9 -0
- package/dist/actions/delete-test-case-definition.d.cts.map +1 -0
- package/dist/actions/delete-test-case-definition.d.mts +9 -0
- package/dist/actions/delete-test-case-definition.d.mts.map +1 -0
- package/dist/actions/delete-test-case-definition.mjs +13 -0
- package/dist/actions/delete-test-case-definition.mjs.map +1 -0
- package/dist/actions/end-chat.cjs +19 -0
- package/dist/actions/end-chat.cjs.map +1 -0
- package/dist/actions/end-chat.d.cts +9 -0
- package/dist/actions/end-chat.d.cts.map +1 -0
- package/dist/actions/end-chat.d.mts +9 -0
- package/dist/actions/end-chat.d.mts.map +1 -0
- package/dist/actions/end-chat.mjs +16 -0
- package/dist/actions/end-chat.mjs.map +1 -0
- package/dist/actions/get-agent-versions.cjs +16 -0
- package/dist/actions/get-agent-versions.cjs.map +1 -0
- package/dist/actions/get-agent-versions.d.cts +9 -0
- package/dist/actions/get-agent-versions.d.cts.map +1 -0
- package/dist/actions/get-agent-versions.d.mts +9 -0
- package/dist/actions/get-agent-versions.d.mts.map +1 -0
- package/dist/actions/get-agent-versions.mjs +13 -0
- package/dist/actions/get-agent-versions.mjs.map +1 -0
- package/dist/actions/get-agent.cjs +148 -0
- package/dist/actions/get-agent.cjs.map +1 -0
- package/dist/actions/get-agent.d.cts +9 -0
- package/dist/actions/get-agent.d.cts.map +1 -0
- package/dist/actions/get-agent.d.mts +9 -0
- package/dist/actions/get-agent.d.mts.map +1 -0
- package/dist/actions/get-agent.mjs +147 -0
- package/dist/actions/get-agent.mjs.map +1 -0
- package/dist/actions/get-batch-test.cjs +44 -0
- package/dist/actions/get-batch-test.cjs.map +1 -0
- package/dist/actions/get-batch-test.d.cts +9 -0
- package/dist/actions/get-batch-test.d.cts.map +1 -0
- package/dist/actions/get-batch-test.d.mts +9 -0
- package/dist/actions/get-batch-test.d.mts.map +1 -0
- package/dist/actions/get-batch-test.mjs +43 -0
- package/dist/actions/get-batch-test.mjs.map +1 -0
- package/dist/actions/get-chat-agent-versions.cjs +31 -0
- package/dist/actions/get-chat-agent-versions.cjs.map +1 -0
- package/dist/actions/get-chat-agent-versions.d.cts +9 -0
- package/dist/actions/get-chat-agent-versions.d.cts.map +1 -0
- package/dist/actions/get-chat-agent-versions.d.mts +9 -0
- package/dist/actions/get-chat-agent-versions.d.mts.map +1 -0
- package/dist/actions/get-chat-agent-versions.mjs +30 -0
- package/dist/actions/get-chat-agent-versions.mjs.map +1 -0
- package/dist/actions/get-chat-agent.cjs +105 -0
- package/dist/actions/get-chat-agent.cjs.map +1 -0
- package/dist/actions/get-chat-agent.d.cts +9 -0
- package/dist/actions/get-chat-agent.d.cts.map +1 -0
- package/dist/actions/get-chat-agent.d.mts +9 -0
- package/dist/actions/get-chat-agent.d.mts.map +1 -0
- package/dist/actions/get-chat-agent.mjs +104 -0
- package/dist/actions/get-chat-agent.mjs.map +1 -0
- package/dist/actions/get-chat.cjs +56 -0
- package/dist/actions/get-chat.cjs.map +1 -0
- package/dist/actions/get-chat.d.cts +9 -0
- package/dist/actions/get-chat.d.cts.map +1 -0
- package/dist/actions/get-chat.d.mts +9 -0
- package/dist/actions/get-chat.d.mts.map +1 -0
- package/dist/actions/get-chat.mjs +55 -0
- package/dist/actions/get-chat.mjs.map +1 -0
- package/dist/actions/get-concurrency.cjs +23 -0
- package/dist/actions/get-concurrency.cjs.map +1 -0
- package/dist/actions/get-concurrency.d.cts +9 -0
- package/dist/actions/get-concurrency.d.cts.map +1 -0
- package/dist/actions/get-concurrency.d.mts +9 -0
- package/dist/actions/get-concurrency.d.mts.map +1 -0
- package/dist/actions/get-concurrency.mjs +20 -0
- package/dist/actions/get-concurrency.mjs.map +1 -0
- package/dist/actions/get-conversation-flow-component.cjs +75 -0
- package/dist/actions/get-conversation-flow-component.cjs.map +1 -0
- package/dist/actions/get-conversation-flow-component.d.cts +9 -0
- package/dist/actions/get-conversation-flow-component.d.cts.map +1 -0
- package/dist/actions/get-conversation-flow-component.d.mts +9 -0
- package/dist/actions/get-conversation-flow-component.d.mts.map +1 -0
- package/dist/actions/get-conversation-flow-component.mjs +74 -0
- package/dist/actions/get-conversation-flow-component.mjs.map +1 -0
- package/dist/actions/get-conversation-flow.cjs +83 -0
- package/dist/actions/get-conversation-flow.cjs.map +1 -0
- package/dist/actions/get-conversation-flow.d.cts +9 -0
- package/dist/actions/get-conversation-flow.d.cts.map +1 -0
- package/dist/actions/get-conversation-flow.d.mts +9 -0
- package/dist/actions/get-conversation-flow.d.mts.map +1 -0
- package/dist/actions/get-conversation-flow.mjs +82 -0
- package/dist/actions/get-conversation-flow.mjs.map +1 -0
- package/dist/actions/get-knowledge-base.cjs +45 -0
- package/dist/actions/get-knowledge-base.cjs.map +1 -0
- package/dist/actions/get-knowledge-base.d.cts +9 -0
- package/dist/actions/get-knowledge-base.d.cts.map +1 -0
- package/dist/actions/get-knowledge-base.d.mts +9 -0
- package/dist/actions/get-knowledge-base.d.mts.map +1 -0
- package/dist/actions/get-knowledge-base.mjs +44 -0
- package/dist/actions/get-knowledge-base.mjs.map +1 -0
- package/dist/actions/get-retell-llm.cjs +253 -0
- package/dist/actions/get-retell-llm.cjs.map +1 -0
- package/dist/actions/get-retell-llm.d.cts +9 -0
- package/dist/actions/get-retell-llm.d.cts.map +1 -0
- package/dist/actions/get-retell-llm.d.mts +9 -0
- package/dist/actions/get-retell-llm.d.mts.map +1 -0
- package/dist/actions/get-retell-llm.mjs +252 -0
- package/dist/actions/get-retell-llm.mjs.map +1 -0
- package/dist/actions/import-phone-number.cjs +50 -0
- package/dist/actions/import-phone-number.cjs.map +1 -0
- package/dist/actions/import-phone-number.d.cts +9 -0
- package/dist/actions/import-phone-number.d.cts.map +1 -0
- package/dist/actions/import-phone-number.d.mts +9 -0
- package/dist/actions/import-phone-number.d.mts.map +1 -0
- package/dist/actions/import-phone-number.mjs +49 -0
- package/dist/actions/import-phone-number.mjs.map +1 -0
- package/dist/actions/index.cjs +135 -0
- package/dist/actions/index.d.cts +68 -0
- package/dist/actions/index.d.mts +68 -0
- package/dist/actions/index.mjs +68 -0
- package/dist/actions/list-agents.cjs +16 -0
- package/dist/actions/list-agents.cjs.map +1 -0
- package/dist/actions/list-agents.d.cts +9 -0
- package/dist/actions/list-agents.d.cts.map +1 -0
- package/dist/actions/list-agents.d.mts +9 -0
- package/dist/actions/list-agents.d.mts.map +1 -0
- package/dist/actions/list-agents.mjs +13 -0
- package/dist/actions/list-agents.mjs.map +1 -0
- package/dist/actions/list-all-chats.cjs +20 -0
- package/dist/actions/list-all-chats.cjs.map +1 -0
- package/dist/actions/list-all-chats.d.cts +9 -0
- package/dist/actions/list-all-chats.d.cts.map +1 -0
- package/dist/actions/list-all-chats.d.mts +9 -0
- package/dist/actions/list-all-chats.d.mts.map +1 -0
- package/dist/actions/list-all-chats.mjs +17 -0
- package/dist/actions/list-all-chats.mjs.map +1 -0
- package/dist/actions/list-all-phone-numbers.cjs +16 -0
- package/dist/actions/list-all-phone-numbers.cjs.map +1 -0
- package/dist/actions/list-all-phone-numbers.d.cts +9 -0
- package/dist/actions/list-all-phone-numbers.d.cts.map +1 -0
- package/dist/actions/list-all-phone-numbers.d.mts +9 -0
- package/dist/actions/list-all-phone-numbers.d.mts.map +1 -0
- package/dist/actions/list-all-phone-numbers.mjs +13 -0
- package/dist/actions/list-all-phone-numbers.mjs.map +1 -0
- package/dist/actions/list-batch-tests.cjs +51 -0
- package/dist/actions/list-batch-tests.cjs.map +1 -0
- package/dist/actions/list-batch-tests.d.cts +9 -0
- package/dist/actions/list-batch-tests.d.cts.map +1 -0
- package/dist/actions/list-batch-tests.d.mts +9 -0
- package/dist/actions/list-batch-tests.d.mts.map +1 -0
- package/dist/actions/list-batch-tests.mjs +50 -0
- package/dist/actions/list-batch-tests.mjs.map +1 -0
- package/dist/actions/list-chat-agents.cjs +20 -0
- package/dist/actions/list-chat-agents.cjs.map +1 -0
- package/dist/actions/list-chat-agents.d.cts +9 -0
- package/dist/actions/list-chat-agents.d.cts.map +1 -0
- package/dist/actions/list-chat-agents.d.mts +9 -0
- package/dist/actions/list-chat-agents.d.mts.map +1 -0
- package/dist/actions/list-chat-agents.mjs +17 -0
- package/dist/actions/list-chat-agents.mjs.map +1 -0
- package/dist/actions/list-conversation-flow-components.cjs +24 -0
- package/dist/actions/list-conversation-flow-components.cjs.map +1 -0
- package/dist/actions/list-conversation-flow-components.d.cts +9 -0
- package/dist/actions/list-conversation-flow-components.d.cts.map +1 -0
- package/dist/actions/list-conversation-flow-components.d.mts +9 -0
- package/dist/actions/list-conversation-flow-components.d.mts.map +1 -0
- package/dist/actions/list-conversation-flow-components.mjs +23 -0
- package/dist/actions/list-conversation-flow-components.mjs.map +1 -0
- package/dist/actions/list-conversation-flows.cjs +31 -0
- package/dist/actions/list-conversation-flows.cjs.map +1 -0
- package/dist/actions/list-conversation-flows.d.cts +9 -0
- package/dist/actions/list-conversation-flows.d.cts.map +1 -0
- package/dist/actions/list-conversation-flows.d.mts +9 -0
- package/dist/actions/list-conversation-flows.d.mts.map +1 -0
- package/dist/actions/list-conversation-flows.mjs +30 -0
- package/dist/actions/list-conversation-flows.mjs.map +1 -0
- package/dist/actions/list-knowledge-bases.cjs +16 -0
- package/dist/actions/list-knowledge-bases.cjs.map +1 -0
- package/dist/actions/list-knowledge-bases.d.cts +9 -0
- package/dist/actions/list-knowledge-bases.d.cts.map +1 -0
- package/dist/actions/list-knowledge-bases.d.mts +9 -0
- package/dist/actions/list-knowledge-bases.d.mts.map +1 -0
- package/dist/actions/list-knowledge-bases.mjs +13 -0
- package/dist/actions/list-knowledge-bases.mjs.map +1 -0
- package/dist/actions/list-retell-llms.cjs +72 -0
- package/dist/actions/list-retell-llms.cjs.map +1 -0
- package/dist/actions/list-retell-llms.d.cts +9 -0
- package/dist/actions/list-retell-llms.d.cts.map +1 -0
- package/dist/actions/list-retell-llms.d.mts +9 -0
- package/dist/actions/list-retell-llms.d.mts.map +1 -0
- package/dist/actions/list-retell-llms.mjs +71 -0
- package/dist/actions/list-retell-llms.mjs.map +1 -0
- package/dist/actions/list-test-case-definitions.cjs +34 -0
- package/dist/actions/list-test-case-definitions.cjs.map +1 -0
- package/dist/actions/list-test-case-definitions.d.cts +9 -0
- package/dist/actions/list-test-case-definitions.d.cts.map +1 -0
- package/dist/actions/list-test-case-definitions.d.mts +9 -0
- package/dist/actions/list-test-case-definitions.d.mts.map +1 -0
- package/dist/actions/list-test-case-definitions.mjs +33 -0
- package/dist/actions/list-test-case-definitions.mjs.map +1 -0
- package/dist/actions/list-test-runs.cjs +16 -0
- package/dist/actions/list-test-runs.cjs.map +1 -0
- package/dist/actions/list-test-runs.d.cts +9 -0
- package/dist/actions/list-test-runs.d.cts.map +1 -0
- package/dist/actions/list-test-runs.d.mts +9 -0
- package/dist/actions/list-test-runs.d.mts.map +1 -0
- package/dist/actions/list-test-runs.mjs +13 -0
- package/dist/actions/list-test-runs.mjs.map +1 -0
- package/dist/actions/list-voices.cjs +16 -0
- package/dist/actions/list-voices.cjs.map +1 -0
- package/dist/actions/list-voices.d.cts +9 -0
- package/dist/actions/list-voices.d.cts.map +1 -0
- package/dist/actions/list-voices.d.mts +9 -0
- package/dist/actions/list-voices.d.mts.map +1 -0
- package/dist/actions/list-voices.mjs +13 -0
- package/dist/actions/list-voices.mjs.map +1 -0
- package/dist/actions/publish-agent.cjs +70 -0
- package/dist/actions/publish-agent.cjs.map +1 -0
- package/dist/actions/publish-agent.d.cts +9 -0
- package/dist/actions/publish-agent.d.cts.map +1 -0
- package/dist/actions/publish-agent.d.mts +9 -0
- package/dist/actions/publish-agent.d.mts.map +1 -0
- package/dist/actions/publish-agent.mjs +67 -0
- package/dist/actions/publish-agent.mjs.map +1 -0
- package/dist/actions/publish-chat-agent.cjs +37 -0
- package/dist/actions/publish-chat-agent.cjs.map +1 -0
- package/dist/actions/publish-chat-agent.d.cts +9 -0
- package/dist/actions/publish-chat-agent.d.cts.map +1 -0
- package/dist/actions/publish-chat-agent.d.mts +9 -0
- package/dist/actions/publish-chat-agent.d.mts.map +1 -0
- package/dist/actions/publish-chat-agent.mjs +34 -0
- package/dist/actions/publish-chat-agent.mjs.map +1 -0
- package/dist/actions/register-phone-call.cjs +196 -0
- package/dist/actions/register-phone-call.cjs.map +1 -0
- package/dist/actions/register-phone-call.d.cts +9 -0
- package/dist/actions/register-phone-call.d.cts.map +1 -0
- package/dist/actions/register-phone-call.d.mts +9 -0
- package/dist/actions/register-phone-call.d.mts.map +1 -0
- package/dist/actions/register-phone-call.mjs +195 -0
- package/dist/actions/register-phone-call.mjs.map +1 -0
- package/dist/actions/retrieve-call-details-by-id.cjs +16 -0
- package/dist/actions/retrieve-call-details-by-id.cjs.map +1 -0
- package/dist/actions/retrieve-call-details-by-id.d.cts +9 -0
- package/dist/actions/retrieve-call-details-by-id.d.cts.map +1 -0
- package/dist/actions/retrieve-call-details-by-id.d.mts +9 -0
- package/dist/actions/retrieve-call-details-by-id.d.mts.map +1 -0
- package/dist/actions/retrieve-call-details-by-id.mjs +13 -0
- package/dist/actions/retrieve-call-details-by-id.mjs.map +1 -0
- package/dist/actions/retrieve-call-details.cjs +136 -0
- package/dist/actions/retrieve-call-details.cjs.map +1 -0
- package/dist/actions/retrieve-call-details.d.cts +9 -0
- package/dist/actions/retrieve-call-details.d.cts.map +1 -0
- package/dist/actions/retrieve-call-details.d.mts +9 -0
- package/dist/actions/retrieve-call-details.d.mts.map +1 -0
- package/dist/actions/retrieve-call-details.mjs +135 -0
- package/dist/actions/retrieve-call-details.mjs.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs +29 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts +9 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts +9 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs +28 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.cjs +24 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.cjs.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.d.cts +9 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.d.cts.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.d.mts +9 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.d.mts.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.mjs +21 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.mjs.map +1 -0
- package/dist/actions/search-community-voice.cjs +29 -0
- package/dist/actions/search-community-voice.cjs.map +1 -0
- package/dist/actions/search-community-voice.d.cts +9 -0
- package/dist/actions/search-community-voice.d.cts.map +1 -0
- package/dist/actions/search-community-voice.d.mts +9 -0
- package/dist/actions/search-community-voice.d.mts.map +1 -0
- package/dist/actions/search-community-voice.mjs +28 -0
- package/dist/actions/search-community-voice.mjs.map +1 -0
- package/dist/actions/update-agent.cjs +261 -0
- package/dist/actions/update-agent.cjs.map +1 -0
- package/dist/actions/update-agent.d.cts +9 -0
- package/dist/actions/update-agent.d.cts.map +1 -0
- package/dist/actions/update-agent.d.mts +9 -0
- package/dist/actions/update-agent.d.mts.map +1 -0
- package/dist/actions/update-agent.mjs +260 -0
- package/dist/actions/update-agent.mjs.map +1 -0
- package/dist/actions/update-call.cjs +36 -0
- package/dist/actions/update-call.cjs.map +1 -0
- package/dist/actions/update-call.d.cts +9 -0
- package/dist/actions/update-call.d.cts.map +1 -0
- package/dist/actions/update-call.d.mts +9 -0
- package/dist/actions/update-call.d.mts.map +1 -0
- package/dist/actions/update-call.mjs +35 -0
- package/dist/actions/update-call.mjs.map +1 -0
- package/dist/actions/update-chat-agent.cjs +222 -0
- package/dist/actions/update-chat-agent.cjs.map +1 -0
- package/dist/actions/update-chat-agent.d.cts +9 -0
- package/dist/actions/update-chat-agent.d.cts.map +1 -0
- package/dist/actions/update-chat-agent.d.mts +9 -0
- package/dist/actions/update-chat-agent.d.mts.map +1 -0
- package/dist/actions/update-chat-agent.mjs +221 -0
- package/dist/actions/update-chat-agent.mjs.map +1 -0
- package/dist/actions/update-chat-metadata.cjs +62 -0
- package/dist/actions/update-chat-metadata.cjs.map +1 -0
- package/dist/actions/update-chat-metadata.d.cts +9 -0
- package/dist/actions/update-chat-metadata.d.cts.map +1 -0
- package/dist/actions/update-chat-metadata.d.mts +9 -0
- package/dist/actions/update-chat-metadata.d.mts.map +1 -0
- package/dist/actions/update-chat-metadata.mjs +61 -0
- package/dist/actions/update-chat-metadata.mjs.map +1 -0
- package/dist/actions/update-conversation-flow-component.cjs +258 -0
- package/dist/actions/update-conversation-flow-component.cjs.map +1 -0
- package/dist/actions/update-conversation-flow-component.d.cts +9 -0
- package/dist/actions/update-conversation-flow-component.d.cts.map +1 -0
- package/dist/actions/update-conversation-flow-component.d.mts +9 -0
- package/dist/actions/update-conversation-flow-component.d.mts.map +1 -0
- package/dist/actions/update-conversation-flow-component.mjs +257 -0
- package/dist/actions/update-conversation-flow-component.mjs.map +1 -0
- package/dist/actions/update-conversation-flow.cjs +109 -0
- package/dist/actions/update-conversation-flow.cjs.map +1 -0
- package/dist/actions/update-conversation-flow.d.cts +9 -0
- package/dist/actions/update-conversation-flow.d.cts.map +1 -0
- package/dist/actions/update-conversation-flow.d.mts +9 -0
- package/dist/actions/update-conversation-flow.d.mts.map +1 -0
- package/dist/actions/update-conversation-flow.mjs +108 -0
- package/dist/actions/update-conversation-flow.mjs.map +1 -0
- package/dist/actions/update-phone-number.cjs +58 -0
- package/dist/actions/update-phone-number.cjs.map +1 -0
- package/dist/actions/update-phone-number.d.cts +9 -0
- package/dist/actions/update-phone-number.d.cts.map +1 -0
- package/dist/actions/update-phone-number.d.mts +9 -0
- package/dist/actions/update-phone-number.d.mts.map +1 -0
- package/dist/actions/update-phone-number.mjs +57 -0
- package/dist/actions/update-phone-number.mjs.map +1 -0
- package/dist/actions/update-retell-llm.cjs +125 -0
- package/dist/actions/update-retell-llm.cjs.map +1 -0
- package/dist/actions/update-retell-llm.d.cts +9 -0
- package/dist/actions/update-retell-llm.d.cts.map +1 -0
- package/dist/actions/update-retell-llm.d.mts +9 -0
- package/dist/actions/update-retell-llm.d.mts.map +1 -0
- package/dist/actions/update-retell-llm.mjs +124 -0
- package/dist/actions/update-retell-llm.mjs.map +1 -0
- package/dist/actions/update-test-case-definition.cjs +80 -0
- package/dist/actions/update-test-case-definition.cjs.map +1 -0
- package/dist/actions/update-test-case-definition.d.cts +9 -0
- package/dist/actions/update-test-case-definition.d.cts.map +1 -0
- package/dist/actions/update-test-case-definition.d.mts +9 -0
- package/dist/actions/update-test-case-definition.d.mts.map +1 -0
- package/dist/actions/update-test-case-definition.mjs +79 -0
- package/dist/actions/update-test-case-definition.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +140 -0
- package/dist/index.d.cts +70 -0
- package/dist/index.d.mts +70 -0
- package/dist/index.mjs +71 -0
- package/package.json +49 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-conversation-flow.ts
|
|
4
|
+
const RetellaiGetConversationFlowInput = z.object({ conversation_flow_id: z.string().describe("The unique identifier of the conversation flow to retrieve") }).describe("Request schema for `GetConversationFlow`");
|
|
5
|
+
const RetellaiGetConversationFlow_McpServerSchema = z.object({
|
|
6
|
+
url: z.string().describe("MCP server URL."),
|
|
7
|
+
name: z.string().describe("MCP server name."),
|
|
8
|
+
headers: z.record(z.string(), z.unknown()).describe("Request headers with authentication support.").nullable().optional(),
|
|
9
|
+
timeout_ms: z.number().int().describe("Connection timeout in milliseconds (default: 120000).").nullable().optional(),
|
|
10
|
+
query_params: z.record(z.string(), z.unknown()).describe("URL query parameters.").nullable().optional()
|
|
11
|
+
}).describe("MCP server configuration.");
|
|
12
|
+
const RetellaiGetConversationFlow_DisplayPositionSchema = z.object({
|
|
13
|
+
x: z.number().describe("X coordinate.").nullable().optional(),
|
|
14
|
+
y: z.number().describe("Y coordinate.").nullable().optional()
|
|
15
|
+
}).describe("UI positioning with x and y coordinates.");
|
|
16
|
+
const RetellaiGetConversationFlow_ConversationFlowNodeSchema = z.object({
|
|
17
|
+
id: z.string().describe("Unique identifier for the node."),
|
|
18
|
+
name: z.string().describe("Display name for the node.").nullable().optional(),
|
|
19
|
+
type: z.string().describe("Type of node (conversation, end, function, transfer_call, press_digit, branch, sms, extract_dynamic_variables, agent_swap, mcp, component, bridge_transfer, cancel_transfer)."),
|
|
20
|
+
edges: z.array(z.unknown()).describe("Array of conditional transitions to other nodes.").nullable().optional(),
|
|
21
|
+
instruction: z.unknown().describe("Node instruction, either prompt-based or static text.").nullable().optional(),
|
|
22
|
+
display_position: RetellaiGetConversationFlow_DisplayPositionSchema.nullable().optional(),
|
|
23
|
+
global_node_setting: z.unknown().describe("Global node activation conditions with finetune examples.").nullable().optional()
|
|
24
|
+
}).describe("Conversation flow node with discriminated union based on type field.");
|
|
25
|
+
const RetellaiGetConversationFlow_ToolSchema = z.object({
|
|
26
|
+
url: z.string().describe("Tool endpoint URL (supports dynamic variables).").nullable().optional(),
|
|
27
|
+
name: z.string().describe("Tool name.").nullable().optional(),
|
|
28
|
+
type: z.string().describe("Tool type (custom, check_availability_cal, book_appointment_cal)."),
|
|
29
|
+
method: z.string().describe("HTTP method for custom tools.").nullable().optional(),
|
|
30
|
+
headers: z.record(z.string(), z.unknown()).describe("Request headers including authentication.").nullable().optional(),
|
|
31
|
+
tool_id: z.string().describe("Unique identifier for the tool."),
|
|
32
|
+
parameters: z.record(z.string(), z.unknown()).describe("Tool parameters defined using JSON schema format.").nullable().optional(),
|
|
33
|
+
timeout_ms: z.number().int().describe("Tool execution timeout in milliseconds.").nullable().optional(),
|
|
34
|
+
description: z.string().describe("Tool description (max 1024 characters).").nullable().optional()
|
|
35
|
+
}).describe("Tool configuration for conversation flow.");
|
|
36
|
+
const RetellaiGetConversationFlow_KnowledgeBaseConfigurationSchema = z.object({
|
|
37
|
+
top_k: z.number().int().describe("Maximum number of chunks to retrieve (1-10, default: 3).").nullable().optional(),
|
|
38
|
+
filter_score: z.number().describe("Similarity threshold for filtering results (0-1).").nullable().optional()
|
|
39
|
+
}).describe("Knowledge base configuration for RAG retrieval.");
|
|
40
|
+
const RetellaiGetConversationFlow_ComponentSchema = z.object({
|
|
41
|
+
mcps: z.array(z.unknown()).describe("MCP server configurations for this component.").nullable().optional(),
|
|
42
|
+
name: z.string().describe("Component identifier."),
|
|
43
|
+
nodes: z.array(z.unknown()).describe("Array of nodes within the component."),
|
|
44
|
+
tools: z.array(RetellaiGetConversationFlow_ToolSchema).describe("Tools available within this component.").nullable().optional(),
|
|
45
|
+
start_node_id: z.string().describe("ID of the starting node in the component.").nullable().optional(),
|
|
46
|
+
begin_tag_display_position: RetellaiGetConversationFlow_DisplayPositionSchema.nullable().optional()
|
|
47
|
+
}).describe("Local component embedded within the conversation flow.");
|
|
48
|
+
const RetellaiGetConversationFlow_ModelChoiceSchema = z.object({
|
|
49
|
+
type: z.string().describe("Model choice type."),
|
|
50
|
+
model: z.string().describe("LLM model to use (e.g., gpt-4.1, gpt-5, claude-4.5-sonnet, gemini-2.5-flash)."),
|
|
51
|
+
high_priority: z.boolean().describe("Whether to allocate dedicated resources for this model.").nullable().optional()
|
|
52
|
+
}).describe("LLM model selection with cascading configuration.");
|
|
53
|
+
const retellaiGetConversationFlow = action("RETELLAI_GET_CONVERSATION_FLOW", {
|
|
54
|
+
slug: "retellai-get-conversation-flow",
|
|
55
|
+
name: "Get Conversation Flow",
|
|
56
|
+
description: "Retrieve details of a specific Conversation Flow by its ID. Use when you need to fetch conversation flow configuration including nodes, version, and settings.",
|
|
57
|
+
input: RetellaiGetConversationFlowInput,
|
|
58
|
+
output: z.object({
|
|
59
|
+
mcps: z.array(RetellaiGetConversationFlow_McpServerSchema).describe("A list of MCP server configurations to use for this conversation flow.").nullable().optional(),
|
|
60
|
+
nodes: z.array(RetellaiGetConversationFlow_ConversationFlowNodeSchema).describe("Array of nodes that define the conversation flow structure. Supports various node types including conversation, end, function, transfer_call, press_digit, branch, sms, extract_dynamic_variables, agent_swap, mcp, component, bridge_transfer, and cancel_transfer.").nullable().optional(),
|
|
61
|
+
tools: z.array(RetellaiGetConversationFlow_ToolSchema).describe("Available tools for the conversation flow including custom functions, calendar availability checks, and appointment booking.").nullable().optional(),
|
|
62
|
+
version: z.number().int().describe("Version number of the conversation flow."),
|
|
63
|
+
kb_config: RetellaiGetConversationFlow_KnowledgeBaseConfigurationSchema.nullable().optional(),
|
|
64
|
+
components: z.array(RetellaiGetConversationFlow_ComponentSchema).describe("Local components embedded within the conversation flow. Reusable node collections with their own structure.").nullable().optional(),
|
|
65
|
+
model_choice: RetellaiGetConversationFlow_ModelChoiceSchema.nullable().optional(),
|
|
66
|
+
global_prompt: z.string().describe("Global prompt used in every node of the conversation flow.").nullable().optional(),
|
|
67
|
+
start_node_id: z.string().describe("ID of the start node in the conversation flow.").nullable().optional(),
|
|
68
|
+
start_speaker: z.enum(["user", "agent"]).describe("Who initiates the conversation.").nullable().optional(),
|
|
69
|
+
is_transfer_llm: z.boolean().describe("Whether this conversation flow is used for transfer LLM.").nullable().optional(),
|
|
70
|
+
model_temperature: z.number().describe("Controls response randomness (0-1).").nullable().optional(),
|
|
71
|
+
knowledge_base_ids: z.array(z.string()).describe("Knowledge base IDs for RAG (Retrieval-Augmented Generation).").nullable().optional(),
|
|
72
|
+
conversation_flow_id: z.string().describe("Unique identifier for the conversation flow."),
|
|
73
|
+
tool_call_strict_mode: z.boolean().describe("Whether to use strict mode for tool calls.").nullable().optional(),
|
|
74
|
+
default_dynamic_variables: z.object({}).describe("Default dynamic variables that can be referenced throughout the conversation flow.").nullable().optional(),
|
|
75
|
+
begin_tag_display_position: RetellaiGetConversationFlow_DisplayPositionSchema.nullable().optional(),
|
|
76
|
+
begin_after_user_silence_ms: z.number().int().describe("If set, the AI will begin the conversation after waiting for the user for the duration (in milliseconds) specified by this attribute. Only applies if the agent is configured to wait for the user to speak first.").nullable().optional()
|
|
77
|
+
}).describe("Response schema for `GetConversationFlow`")
|
|
78
|
+
});
|
|
79
|
+
//#endregion
|
|
80
|
+
export { retellaiGetConversationFlow };
|
|
81
|
+
|
|
82
|
+
//# sourceMappingURL=get-conversation-flow.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-conversation-flow.mjs","names":[],"sources":["../../src/actions/get-conversation-flow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetConversationFlowInput: z.ZodTypeAny = z.object({\n conversation_flow_id: z.string().describe(\"The unique identifier of the conversation flow to retrieve\"),\n}).describe(\"Request schema for `GetConversationFlow`\");\nconst RetellaiGetConversationFlow_McpServerSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"MCP server URL.\"),\n name: z.string().describe(\"MCP server name.\"),\n headers: z.record(z.string(), z.unknown()).describe(\"Request headers with authentication support.\").nullable().optional(),\n timeout_ms: z.number().int().describe(\"Connection timeout in milliseconds (default: 120000).\").nullable().optional(),\n query_params: z.record(z.string(), z.unknown()).describe(\"URL query parameters.\").nullable().optional(),\n}).describe(\"MCP server configuration.\");\nconst RetellaiGetConversationFlow_DisplayPositionSchema: z.ZodTypeAny = z.object({\n x: z.number().describe(\"X coordinate.\").nullable().optional(),\n y: z.number().describe(\"Y coordinate.\").nullable().optional(),\n}).describe(\"UI positioning with x and y coordinates.\");\nconst RetellaiGetConversationFlow_ConversationFlowNodeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the node.\"),\n name: z.string().describe(\"Display name for the node.\").nullable().optional(),\n type: z.string().describe(\"Type of node (conversation, end, function, transfer_call, press_digit, branch, sms, extract_dynamic_variables, agent_swap, mcp, component, bridge_transfer, cancel_transfer).\"),\n edges: z.array(z.unknown()).describe(\"Array of conditional transitions to other nodes.\").nullable().optional(),\n instruction: z.unknown().describe(\"Node instruction, either prompt-based or static text.\").nullable().optional(),\n display_position: RetellaiGetConversationFlow_DisplayPositionSchema.nullable().optional(),\n global_node_setting: z.unknown().describe(\"Global node activation conditions with finetune examples.\").nullable().optional(),\n}).describe(\"Conversation flow node with discriminated union based on type field.\");\nconst RetellaiGetConversationFlow_ToolSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Tool endpoint URL (supports dynamic variables).\").nullable().optional(),\n name: z.string().describe(\"Tool name.\").nullable().optional(),\n type: z.string().describe(\"Tool type (custom, check_availability_cal, book_appointment_cal).\"),\n method: z.string().describe(\"HTTP method for custom tools.\").nullable().optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Request headers including authentication.\").nullable().optional(),\n tool_id: z.string().describe(\"Unique identifier for the tool.\"),\n parameters: z.record(z.string(), z.unknown()).describe(\"Tool parameters defined using JSON schema format.\").nullable().optional(),\n timeout_ms: z.number().int().describe(\"Tool execution timeout in milliseconds.\").nullable().optional(),\n description: z.string().describe(\"Tool description (max 1024 characters).\").nullable().optional(),\n}).describe(\"Tool configuration for conversation flow.\");\nconst RetellaiGetConversationFlow_KnowledgeBaseConfigurationSchema: z.ZodTypeAny = z.object({\n top_k: z.number().int().describe(\"Maximum number of chunks to retrieve (1-10, default: 3).\").nullable().optional(),\n filter_score: z.number().describe(\"Similarity threshold for filtering results (0-1).\").nullable().optional(),\n}).describe(\"Knowledge base configuration for RAG retrieval.\");\nconst RetellaiGetConversationFlow_ComponentSchema: z.ZodTypeAny = z.object({\n mcps: z.array(z.unknown()).describe(\"MCP server configurations for this component.\").nullable().optional(),\n name: z.string().describe(\"Component identifier.\"),\n nodes: z.array(z.unknown()).describe(\"Array of nodes within the component.\"),\n tools: z.array(RetellaiGetConversationFlow_ToolSchema).describe(\"Tools available within this component.\").nullable().optional(),\n start_node_id: z.string().describe(\"ID of the starting node in the component.\").nullable().optional(),\n begin_tag_display_position: RetellaiGetConversationFlow_DisplayPositionSchema.nullable().optional(),\n}).describe(\"Local component embedded within the conversation flow.\");\nconst RetellaiGetConversationFlow_ModelChoiceSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Model choice type.\"),\n model: z.string().describe(\"LLM model to use (e.g., gpt-4.1, gpt-5, claude-4.5-sonnet, gemini-2.5-flash).\"),\n high_priority: z.boolean().describe(\"Whether to allocate dedicated resources for this model.\").nullable().optional(),\n}).describe(\"LLM model selection with cascading configuration.\");\nexport const RetellaiGetConversationFlowOutput: z.ZodTypeAny = z.object({\n mcps: z.array(RetellaiGetConversationFlow_McpServerSchema).describe(\"A list of MCP server configurations to use for this conversation flow.\").nullable().optional(),\n nodes: z.array(RetellaiGetConversationFlow_ConversationFlowNodeSchema).describe(\"Array of nodes that define the conversation flow structure. Supports various node types including conversation, end, function, transfer_call, press_digit, branch, sms, extract_dynamic_variables, agent_swap, mcp, component, bridge_transfer, and cancel_transfer.\").nullable().optional(),\n tools: z.array(RetellaiGetConversationFlow_ToolSchema).describe(\"Available tools for the conversation flow including custom functions, calendar availability checks, and appointment booking.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the conversation flow.\"),\n kb_config: RetellaiGetConversationFlow_KnowledgeBaseConfigurationSchema.nullable().optional(),\n components: z.array(RetellaiGetConversationFlow_ComponentSchema).describe(\"Local components embedded within the conversation flow. Reusable node collections with their own structure.\").nullable().optional(),\n model_choice: RetellaiGetConversationFlow_ModelChoiceSchema.nullable().optional(),\n global_prompt: z.string().describe(\"Global prompt used in every node of the conversation flow.\").nullable().optional(),\n start_node_id: z.string().describe(\"ID of the start node in the conversation flow.\").nullable().optional(),\n start_speaker: z.enum([\"user\", \"agent\"]).describe(\"Who initiates the conversation.\").nullable().optional(),\n is_transfer_llm: z.boolean().describe(\"Whether this conversation flow is used for transfer LLM.\").nullable().optional(),\n model_temperature: z.number().describe(\"Controls response randomness (0-1).\").nullable().optional(),\n knowledge_base_ids: z.array(z.string()).describe(\"Knowledge base IDs for RAG (Retrieval-Augmented Generation).\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"Unique identifier for the conversation flow.\"),\n tool_call_strict_mode: z.boolean().describe(\"Whether to use strict mode for tool calls.\").nullable().optional(),\n default_dynamic_variables: z.object({}).describe(\"Default dynamic variables that can be referenced throughout the conversation flow.\").nullable().optional(),\n begin_tag_display_position: RetellaiGetConversationFlow_DisplayPositionSchema.nullable().optional(),\n begin_after_user_silence_ms: z.number().int().describe(\"If set, the AI will begin the conversation after waiting for the user for the duration (in milliseconds) specified by this attribute. Only applies if the agent is configured to wait for the user to speak first.\").nullable().optional(),\n}).describe(\"Response schema for `GetConversationFlow`\");\n\nexport const retellaiGetConversationFlow = action(\"RETELLAI_GET_CONVERSATION_FLOW\", {\n slug: \"retellai-get-conversation-flow\",\n name: \"Get Conversation Flow\",\n description: \"Retrieve details of a specific Conversation Flow by its ID. Use when you need to fetch conversation flow configuration including nodes, version, and settings.\",\n input: RetellaiGetConversationFlowInput,\n output: RetellaiGetConversationFlowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,EACrE,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EACxG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,8CAA4D,EAAE,OAAO;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACxF,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,4BAA4B,kDAAkD,SAAS,CAAC,CAAC,SAAS;EAClG,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oNAAoN,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnS,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-knowledge-base.ts
|
|
4
|
+
const RetellaiGetKnowledgeBaseInput = zod.z.object({ knowledge_base_id: zod.z.string().describe("The unique identifier of the knowledge base to retrieve") }).describe("Request schema for `GetKnowledgeBase`");
|
|
5
|
+
const RetellaiGetKnowledgeBase_DocumentSourceSchema = zod.z.object({
|
|
6
|
+
type: zod.z.string().describe("Source type identifier, value must be 'document'"),
|
|
7
|
+
file_url: zod.z.string().describe("URL to access the document file"),
|
|
8
|
+
filename: zod.z.string().describe("Name of the document file"),
|
|
9
|
+
file_size: zod.z.number().int().describe("Size of the document file in bytes"),
|
|
10
|
+
source_id: zod.z.string().describe("Unique identifier of the source")
|
|
11
|
+
}).describe("Document source type for knowledge base");
|
|
12
|
+
const RetellaiGetKnowledgeBase_TextSourceSchema = zod.z.object({
|
|
13
|
+
type: zod.z.string().describe("Source type identifier, value must be 'text'"),
|
|
14
|
+
title: zod.z.string().describe("Title of the text source"),
|
|
15
|
+
source_id: zod.z.string().describe("Unique identifier of the source"),
|
|
16
|
+
content_url: zod.z.string().describe("URL to access the text content")
|
|
17
|
+
}).describe("Text source type for knowledge base");
|
|
18
|
+
const RetellaiGetKnowledgeBase_URLSourceSchema = zod.z.object({
|
|
19
|
+
url: zod.z.string().describe("URL of the source"),
|
|
20
|
+
type: zod.z.string().describe("Source type identifier, value must be 'url'"),
|
|
21
|
+
source_id: zod.z.string().describe("Unique identifier of the source")
|
|
22
|
+
}).describe("URL source type for knowledge base");
|
|
23
|
+
const RetellaiGetKnowledgeBaseOutput = zod.z.object({
|
|
24
|
+
status: zod.z.string().describe("Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress"),
|
|
25
|
+
knowledge_base_id: zod.z.string().describe("Unique id of the knowledge base"),
|
|
26
|
+
enable_auto_refresh: zod.z.boolean().describe("Whether to enable auto refresh for the knowledge base URLs").nullable().optional(),
|
|
27
|
+
knowledge_base_name: zod.z.string().describe("Name of the knowledge base. Must be less than 40 characters"),
|
|
28
|
+
knowledge_base_sources: zod.z.array(zod.z.union([
|
|
29
|
+
RetellaiGetKnowledgeBase_DocumentSourceSchema,
|
|
30
|
+
RetellaiGetKnowledgeBase_TextSourceSchema,
|
|
31
|
+
RetellaiGetKnowledgeBase_URLSourceSchema
|
|
32
|
+
])).describe("Collection of source items (documents, text, or URLs)").nullable().optional(),
|
|
33
|
+
last_refreshed_timestamp: zod.z.number().int().describe("Last refreshed timestamp in milliseconds since epoch").nullable().optional()
|
|
34
|
+
}).describe("Response schema for `GetKnowledgeBase`");
|
|
35
|
+
const retellaiGetKnowledgeBase = require_action.action("RETELLAI_GET_KNOWLEDGE_BASE", {
|
|
36
|
+
slug: "retellai-get-knowledge-base",
|
|
37
|
+
name: "Get knowledge base",
|
|
38
|
+
description: "Retrieve details of a specific knowledge base by its unique identifier. Use when you need to access knowledge base configuration including name, status, sources, and refresh settings.",
|
|
39
|
+
input: RetellaiGetKnowledgeBaseInput,
|
|
40
|
+
output: RetellaiGetKnowledgeBaseOutput
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
exports.retellaiGetKnowledgeBase = retellaiGetKnowledgeBase;
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=get-knowledge-base.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-knowledge-base.cjs","names":["z","action"],"sources":["../../src/actions/get-knowledge-base.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetKnowledgeBaseInput: z.ZodTypeAny = z.object({\n knowledge_base_id: z.string().describe(\"The unique identifier of the knowledge base to retrieve\"),\n}).describe(\"Request schema for `GetKnowledgeBase`\");\nconst RetellaiGetKnowledgeBase_DocumentSourceSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Source type identifier, value must be 'document'\"),\n file_url: z.string().describe(\"URL to access the document file\"),\n filename: z.string().describe(\"Name of the document file\"),\n file_size: z.number().int().describe(\"Size of the document file in bytes\"),\n source_id: z.string().describe(\"Unique identifier of the source\"),\n}).describe(\"Document source type for knowledge base\");\nconst RetellaiGetKnowledgeBase_TextSourceSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Source type identifier, value must be 'text'\"),\n title: z.string().describe(\"Title of the text source\"),\n source_id: z.string().describe(\"Unique identifier of the source\"),\n content_url: z.string().describe(\"URL to access the text content\"),\n}).describe(\"Text source type for knowledge base\");\nconst RetellaiGetKnowledgeBase_URLSourceSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the source\"),\n type: z.string().describe(\"Source type identifier, value must be 'url'\"),\n source_id: z.string().describe(\"Unique identifier of the source\"),\n}).describe(\"URL source type for knowledge base\");\nexport const RetellaiGetKnowledgeBaseOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress\"),\n knowledge_base_id: z.string().describe(\"Unique id of the knowledge base\"),\n enable_auto_refresh: z.boolean().describe(\"Whether to enable auto refresh for the knowledge base URLs\").nullable().optional(),\n knowledge_base_name: z.string().describe(\"Name of the knowledge base. Must be less than 40 characters\"),\n knowledge_base_sources: z.array(z.union([RetellaiGetKnowledgeBase_DocumentSourceSchema, RetellaiGetKnowledgeBase_TextSourceSchema, RetellaiGetKnowledgeBase_URLSourceSchema])).describe(\"Collection of source items (documents, text, or URLs)\").nullable().optional(),\n last_refreshed_timestamp: z.number().int().describe(\"Last refreshed timestamp in milliseconds since epoch\").nullable().optional(),\n}).describe(\"Response schema for `GetKnowledgeBase`\");\n\nexport const retellaiGetKnowledgeBase = action(\"RETELLAI_GET_KNOWLEDGE_BASE\", {\n slug: \"retellai-get-knowledge-base\",\n name: \"Get knowledge base\",\n description: \"Retrieve details of a specific knowledge base by its unique identifier. Use when you need to access knowledge base configuration including name, status, sources, and refresh settings.\",\n input: RetellaiGetKnowledgeBaseInput,\n output: RetellaiGetKnowledgeBaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAClG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,WAAWA,IAAAA,EAAE,OA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AO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-knowledge-base.d.ts
|
|
4
|
+
declare const RetellaiGetKnowledgeBaseInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiGetKnowledgeBaseOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiGetKnowledgeBase: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiGetKnowledgeBase };
|
|
9
|
+
//# sourceMappingURL=get-knowledge-base.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-knowledge-base.d.cts","names":[],"sources":["../../src/actions/get-knowledge-base.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEM;AAAA,cAmBvC,8BAAA,EAAgC,CAAA,CAAE,UAOM;AAAA,cAExC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-knowledge-base.d.ts
|
|
4
|
+
declare const RetellaiGetKnowledgeBaseInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiGetKnowledgeBaseOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiGetKnowledgeBase: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiGetKnowledgeBase };
|
|
9
|
+
//# sourceMappingURL=get-knowledge-base.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-knowledge-base.d.mts","names":[],"sources":["../../src/actions/get-knowledge-base.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEM;AAAA,cAmBvC,8BAAA,EAAgC,CAAA,CAAE,UAOM;AAAA,cAExC,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-knowledge-base.ts
|
|
4
|
+
const RetellaiGetKnowledgeBaseInput = z.object({ knowledge_base_id: z.string().describe("The unique identifier of the knowledge base to retrieve") }).describe("Request schema for `GetKnowledgeBase`");
|
|
5
|
+
const RetellaiGetKnowledgeBase_DocumentSourceSchema = z.object({
|
|
6
|
+
type: z.string().describe("Source type identifier, value must be 'document'"),
|
|
7
|
+
file_url: z.string().describe("URL to access the document file"),
|
|
8
|
+
filename: z.string().describe("Name of the document file"),
|
|
9
|
+
file_size: z.number().int().describe("Size of the document file in bytes"),
|
|
10
|
+
source_id: z.string().describe("Unique identifier of the source")
|
|
11
|
+
}).describe("Document source type for knowledge base");
|
|
12
|
+
const RetellaiGetKnowledgeBase_TextSourceSchema = z.object({
|
|
13
|
+
type: z.string().describe("Source type identifier, value must be 'text'"),
|
|
14
|
+
title: z.string().describe("Title of the text source"),
|
|
15
|
+
source_id: z.string().describe("Unique identifier of the source"),
|
|
16
|
+
content_url: z.string().describe("URL to access the text content")
|
|
17
|
+
}).describe("Text source type for knowledge base");
|
|
18
|
+
const RetellaiGetKnowledgeBase_URLSourceSchema = z.object({
|
|
19
|
+
url: z.string().describe("URL of the source"),
|
|
20
|
+
type: z.string().describe("Source type identifier, value must be 'url'"),
|
|
21
|
+
source_id: z.string().describe("Unique identifier of the source")
|
|
22
|
+
}).describe("URL source type for knowledge base");
|
|
23
|
+
const retellaiGetKnowledgeBase = action("RETELLAI_GET_KNOWLEDGE_BASE", {
|
|
24
|
+
slug: "retellai-get-knowledge-base",
|
|
25
|
+
name: "Get knowledge base",
|
|
26
|
+
description: "Retrieve details of a specific knowledge base by its unique identifier. Use when you need to access knowledge base configuration including name, status, sources, and refresh settings.",
|
|
27
|
+
input: RetellaiGetKnowledgeBaseInput,
|
|
28
|
+
output: z.object({
|
|
29
|
+
status: z.string().describe("Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress"),
|
|
30
|
+
knowledge_base_id: z.string().describe("Unique id of the knowledge base"),
|
|
31
|
+
enable_auto_refresh: z.boolean().describe("Whether to enable auto refresh for the knowledge base URLs").nullable().optional(),
|
|
32
|
+
knowledge_base_name: z.string().describe("Name of the knowledge base. Must be less than 40 characters"),
|
|
33
|
+
knowledge_base_sources: z.array(z.union([
|
|
34
|
+
RetellaiGetKnowledgeBase_DocumentSourceSchema,
|
|
35
|
+
RetellaiGetKnowledgeBase_TextSourceSchema,
|
|
36
|
+
RetellaiGetKnowledgeBase_URLSourceSchema
|
|
37
|
+
])).describe("Collection of source items (documents, text, or URLs)").nullable().optional(),
|
|
38
|
+
last_refreshed_timestamp: z.number().int().describe("Last refreshed timestamp in milliseconds since epoch").nullable().optional()
|
|
39
|
+
}).describe("Response schema for `GetKnowledgeBase`")
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
export { retellaiGetKnowledgeBase };
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=get-knowledge-base.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-knowledge-base.mjs","names":[],"sources":["../../src/actions/get-knowledge-base.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetKnowledgeBaseInput: z.ZodTypeAny = z.object({\n knowledge_base_id: z.string().describe(\"The unique identifier of the knowledge base to retrieve\"),\n}).describe(\"Request schema for `GetKnowledgeBase`\");\nconst RetellaiGetKnowledgeBase_DocumentSourceSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Source type identifier, value must be 'document'\"),\n file_url: z.string().describe(\"URL to access the document file\"),\n filename: z.string().describe(\"Name of the document file\"),\n file_size: z.number().int().describe(\"Size of the document file in bytes\"),\n source_id: z.string().describe(\"Unique identifier of the source\"),\n}).describe(\"Document source type for knowledge base\");\nconst RetellaiGetKnowledgeBase_TextSourceSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Source type identifier, value must be 'text'\"),\n title: z.string().describe(\"Title of the text source\"),\n source_id: z.string().describe(\"Unique identifier of the source\"),\n content_url: z.string().describe(\"URL to access the text content\"),\n}).describe(\"Text source type for knowledge base\");\nconst RetellaiGetKnowledgeBase_URLSourceSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the source\"),\n type: z.string().describe(\"Source type identifier, value must be 'url'\"),\n source_id: z.string().describe(\"Unique identifier of the source\"),\n}).describe(\"URL source type for knowledge base\");\nexport const RetellaiGetKnowledgeBaseOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress\"),\n knowledge_base_id: z.string().describe(\"Unique id of the knowledge base\"),\n enable_auto_refresh: z.boolean().describe(\"Whether to enable auto refresh for the knowledge base URLs\").nullable().optional(),\n knowledge_base_name: z.string().describe(\"Name of the knowledge base. Must be less than 40 characters\"),\n knowledge_base_sources: z.array(z.union([RetellaiGetKnowledgeBase_DocumentSourceSchema, RetellaiGetKnowledgeBase_TextSourceSchema, RetellaiGetKnowledgeBase_URLSourceSchema])).describe(\"Collection of source items (documents, text, or URLs)\").nullable().optional(),\n last_refreshed_timestamp: z.number().int().describe(\"Last refreshed timestamp in milliseconds since epoch\").nullable().optional(),\n}).describe(\"Response schema for `GetKnowledgeBase`\");\n\nexport const retellaiGetKnowledgeBase = action(\"RETELLAI_GET_KNOWLEDGE_BASE\", {\n slug: \"retellai-get-knowledge-base\",\n name: \"Get knowledge base\",\n description: \"Retrieve details of a specific knowledge base by its unique identifier. Use when you need to access knowledge base configuration including name, status, sources, and refresh settings.\",\n input: RetellaiGetKnowledgeBaseInput,\n output: RetellaiGetKnowledgeBaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,EAClE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAClG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAClE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,4CAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAChE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,2CAAyD,EAAE,OAAO;CACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAClE,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAUhD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0D,EAAE,OAAO;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;EAC9I,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EACxE,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACtG,wBAAwB,EAAE,MAAM,EAAE,MAAM;GAAC;GAA+C;GAA2C;EAAwC,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrQ,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-retell-llm.ts
|
|
4
|
+
const RetellaiGetRetellLlmInput = zod.z.object({
|
|
5
|
+
llm_id: zod.z.string().describe("Unique identifier of the Retell LLM Response Engine to be retrieved"),
|
|
6
|
+
version: zod.z.number().int().describe("Optional version of the API to use for this request. Defaults to latest version if not specified").optional()
|
|
7
|
+
}).describe("Request schema for `RetellaiGetRetellLlm`");
|
|
8
|
+
const RetellaiGetRetellLlm_MCPServerSchema = zod.z.object({
|
|
9
|
+
url: zod.z.string().describe("MCP server URL"),
|
|
10
|
+
name: zod.z.string().describe("MCP server name"),
|
|
11
|
+
headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("HTTP headers for MCP requests").nullable().optional(),
|
|
12
|
+
timeout_ms: zod.z.number().int().describe("Timeout for MCP requests in milliseconds").nullable().optional(),
|
|
13
|
+
query_params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Query parameters for MCP requests").nullable().optional()
|
|
14
|
+
}).describe("Model Context Protocol server configuration");
|
|
15
|
+
const RetellaiGetRetellLlm_StateEdgeSchema = zod.z.object({
|
|
16
|
+
parameters: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Describes what parameters you want to extract out when the transition changes. The parameters extracted here can be referenced in prompts & function descriptions of later states via dynamic variables.").nullable().optional(),
|
|
17
|
+
description: zod.z.string().describe("Describes what's the transition and at what time / criteria should this transition happen."),
|
|
18
|
+
destination_state_name: zod.z.string().describe("The destination state name when going through transition of state via this edge. State transition internally is implemented as a tool call of LLM, and a tool call with name 'transition_to_{destination_state_name}' will get created.")
|
|
19
|
+
}).describe("Edge definition for state transitions");
|
|
20
|
+
const RetellaiGetRetellLlm_EndCallToolSchema = zod.z.object({
|
|
21
|
+
name: zod.z.string().describe("Unique tool identifier"),
|
|
22
|
+
type: zod.z.string().describe("Tool type identifier"),
|
|
23
|
+
description: zod.z.string().describe("Explains tool purpose and usage context").nullable().optional(),
|
|
24
|
+
speak_during_execution: zod.z.boolean().describe("Enable speech during termination").nullable().optional(),
|
|
25
|
+
execution_message_description: zod.z.string().describe("What the agent says when ending").nullable().optional()
|
|
26
|
+
}).describe("Tool for ending the call");
|
|
27
|
+
const RetellaiGetRetellLlm_ColdTransferOptionSchema = zod.z.object({
|
|
28
|
+
type: zod.z.string().describe("Transfer option type discriminator"),
|
|
29
|
+
show_transferee_as_caller: zod.z.boolean().describe("Show transferee number as caller ID").nullable().optional()
|
|
30
|
+
}).describe("Cold transfer: direct transfer without briefing");
|
|
31
|
+
const RetellaiGetRetellLlm_WarmTransferOptionSchema = zod.z.object({
|
|
32
|
+
type: zod.z.string().describe("Transfer option type discriminator"),
|
|
33
|
+
wait_for_human: zod.z.boolean().describe("Only complete transfer if human detected").nullable().optional(),
|
|
34
|
+
whisper_message: zod.z.string().describe("Message spoken only to transfer target (supports dynamic variables)").nullable().optional(),
|
|
35
|
+
on_hold_music_url: zod.z.string().describe("URL of music to play while caller is on hold").nullable().optional(),
|
|
36
|
+
three_way_message: zod.z.string().describe("Message heard by both caller and target during handoff (supports dynamic variables)").nullable().optional()
|
|
37
|
+
}).describe("Warm transfer: AI briefs the next agent before transferring");
|
|
38
|
+
const RetellaiGetRetellLlm_AgenticWarmTransferOptionSchema = zod.z.object({
|
|
39
|
+
type: zod.z.string().describe("Transfer option type discriminator"),
|
|
40
|
+
prompt: zod.z.string().describe("Prompt to guide AI in evaluating transfer decision (supports dynamic variables)").nullable().optional(),
|
|
41
|
+
wait_for_human: zod.z.boolean().describe("Only complete transfer if human detected").nullable().optional(),
|
|
42
|
+
whisper_message: zod.z.string().describe("Message spoken only to transfer target (supports dynamic variables)").nullable().optional(),
|
|
43
|
+
on_hold_music_url: zod.z.string().describe("URL of music to play while caller is on hold").nullable().optional(),
|
|
44
|
+
three_way_message: zod.z.string().describe("Message heard by both caller and target during handoff (supports dynamic variables)").nullable().optional()
|
|
45
|
+
}).describe("Agentic warm transfer: AI evaluates whether to transfer");
|
|
46
|
+
const RetellaiGetRetellLlm_TransferDestinationPredefinedSchema = zod.z.object({
|
|
47
|
+
type: zod.z.string().describe("Destination type discriminator"),
|
|
48
|
+
number: zod.z.string().describe("Transfer number in E.164 format or dynamic variable"),
|
|
49
|
+
extension: zod.z.string().describe("Optional DTMF extension digits").nullable().optional()
|
|
50
|
+
}).describe("Predefined transfer destination with specific number");
|
|
51
|
+
const RetellaiGetRetellLlm_TransferDestinationInferredSchema = zod.z.object({
|
|
52
|
+
type: zod.z.string().describe("Destination type discriminator"),
|
|
53
|
+
prompt: zod.z.string().describe("Prompt to guide LLM in determining transfer number")
|
|
54
|
+
}).describe("Inferred transfer destination determined by LLM");
|
|
55
|
+
const RetellaiGetRetellLlm_TransferCallToolSchema = zod.z.object({
|
|
56
|
+
name: zod.z.string().describe("Unique tool identifier"),
|
|
57
|
+
type: zod.z.string().describe("Tool type identifier"),
|
|
58
|
+
description: zod.z.string().describe("Explains tool purpose").nullable().optional(),
|
|
59
|
+
transfer_option: zod.z.union([
|
|
60
|
+
RetellaiGetRetellLlm_ColdTransferOptionSchema,
|
|
61
|
+
RetellaiGetRetellLlm_WarmTransferOptionSchema,
|
|
62
|
+
RetellaiGetRetellLlm_AgenticWarmTransferOptionSchema
|
|
63
|
+
]),
|
|
64
|
+
custom_sip_headers: zod.z.object({}).describe("Additional SIP protocol headers (key-value string pairs)").nullable().optional(),
|
|
65
|
+
transfer_destination: zod.z.union([RetellaiGetRetellLlm_TransferDestinationPredefinedSchema, RetellaiGetRetellLlm_TransferDestinationInferredSchema]),
|
|
66
|
+
ignore_e164_validation: zod.z.boolean().describe("Skip phone number format checks").nullable().optional(),
|
|
67
|
+
speak_during_execution: zod.z.boolean().describe("Enable speech notification").nullable().optional(),
|
|
68
|
+
execution_message_description: zod.z.string().describe("Message spoken during transfer").nullable().optional()
|
|
69
|
+
}).describe("Tool for transferring the call");
|
|
70
|
+
const RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema = zod.z.object({
|
|
71
|
+
name: zod.z.string().describe("Unique tool identifier"),
|
|
72
|
+
type: zod.z.string().describe("Tool type identifier"),
|
|
73
|
+
timezone: zod.z.string().describe("IANA timezone database reference").nullable().optional(),
|
|
74
|
+
cal_api_key: zod.z.string().describe("Cal.com authentication credential"),
|
|
75
|
+
description: zod.z.string().describe("Explains tool purpose").nullable().optional(),
|
|
76
|
+
event_type_id: zod.z.number().int().describe("Calendar event identifier")
|
|
77
|
+
}).describe("Tool for checking availability via Cal.com");
|
|
78
|
+
const RetellaiGetRetellLlm_BookAppointmentCalToolSchema = zod.z.object({
|
|
79
|
+
name: zod.z.string().describe("Unique tool identifier"),
|
|
80
|
+
type: zod.z.string().describe("Tool type identifier"),
|
|
81
|
+
timezone: zod.z.string().describe("IANA timezone database reference").nullable().optional(),
|
|
82
|
+
cal_api_key: zod.z.string().describe("Cal.com authentication credential"),
|
|
83
|
+
description: zod.z.string().describe("Explains tool purpose").nullable().optional(),
|
|
84
|
+
event_type_id: zod.z.number().int().describe("Calendar event identifier")
|
|
85
|
+
}).describe("Tool for booking appointments via Cal.com");
|
|
86
|
+
const RetellaiGetRetellLlm_AgentSwapToolSchema = zod.z.object({
|
|
87
|
+
name: zod.z.string().describe("Unique tool identifier"),
|
|
88
|
+
type: zod.z.string().describe("Tool type identifier"),
|
|
89
|
+
agent_id: zod.z.string().describe("Target agent identifier"),
|
|
90
|
+
description: zod.z.string().describe("Explains tool purpose").nullable().optional(),
|
|
91
|
+
agent_version: zod.z.string().describe("Target agent version (uses latest if unspecified)").nullable().optional(),
|
|
92
|
+
webhook_setting: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Event notification configuration").nullable().optional(),
|
|
93
|
+
speak_during_execution: zod.z.boolean().describe("Enable speech notification").nullable().optional(),
|
|
94
|
+
post_call_analysis_setting: zod.z.unknown().describe("Analysis scope configuration"),
|
|
95
|
+
execution_message_description: zod.z.string().describe("Message spoken during swap").nullable().optional()
|
|
96
|
+
}).describe("Tool for swapping to a different agent");
|
|
97
|
+
const RetellaiGetRetellLlm_PressDigitToolSchema = zod.z.object({
|
|
98
|
+
name: zod.z.string().describe("Unique tool identifier"),
|
|
99
|
+
type: zod.z.string().describe("Tool type identifier"),
|
|
100
|
+
delay_ms: zod.z.number().int().describe("Milliseconds before sending (default: 1000ms, range: 0-5000ms)").nullable().optional(),
|
|
101
|
+
description: zod.z.string().describe("Explains tool purpose").nullable().optional()
|
|
102
|
+
}).describe("Tool for pressing phone digits");
|
|
103
|
+
const RetellaiGetRetellLlm_SmsContentPredefinedSchema = zod.z.object({
|
|
104
|
+
type: zod.z.string().describe("Content type discriminator"),
|
|
105
|
+
content: zod.z.string().describe("Static SMS text (supports dynamic variables like {{variable_name}})")
|
|
106
|
+
}).describe("Predefined SMS content with static text");
|
|
107
|
+
const RetellaiGetRetellLlm_SmsContentInferredSchema = zod.z.object({
|
|
108
|
+
type: zod.z.string().describe("Content type discriminator"),
|
|
109
|
+
prompt: zod.z.string().describe("Prompt to guide LLM in generating SMS content (supports dynamic variables)")
|
|
110
|
+
}).describe("Inferred SMS content generated by LLM");
|
|
111
|
+
const RetellaiGetRetellLlm_SendSMSToolSchema = zod.z.object({
|
|
112
|
+
name: zod.z.string().describe("Unique tool identifier"),
|
|
113
|
+
type: zod.z.string().describe("Tool type identifier"),
|
|
114
|
+
description: zod.z.string().describe("Explains tool purpose").nullable().optional(),
|
|
115
|
+
sms_content: zod.z.union([RetellaiGetRetellLlm_SmsContentPredefinedSchema, RetellaiGetRetellLlm_SmsContentInferredSchema])
|
|
116
|
+
}).describe("Tool for sending SMS messages");
|
|
117
|
+
const RetellaiGetRetellLlm_CustomToolSchema = zod.z.object({
|
|
118
|
+
url: zod.z.string().describe("API endpoint"),
|
|
119
|
+
name: zod.z.string().describe("Unique tool identifier"),
|
|
120
|
+
type: zod.z.string().describe("Tool type identifier"),
|
|
121
|
+
method: zod.z.enum([
|
|
122
|
+
"GET",
|
|
123
|
+
"POST",
|
|
124
|
+
"PUT",
|
|
125
|
+
"PATCH",
|
|
126
|
+
"DELETE"
|
|
127
|
+
]).describe("HTTP verb (default: POST)").nullable().optional(),
|
|
128
|
+
headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Request header key-value pairs").nullable().optional(),
|
|
129
|
+
parameters: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON Schema defining input arguments").nullable().optional(),
|
|
130
|
+
timeout_ms: zod.z.number().int().describe("Maximum execution duration (1000-600000ms; default: 120000ms)").nullable().optional(),
|
|
131
|
+
description: zod.z.string().describe("Explains purpose and invocation criteria"),
|
|
132
|
+
args_at_root: zod.z.boolean().describe("Pass parameters as root-level JSON").nullable().optional(),
|
|
133
|
+
query_params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("URL query parameters").nullable().optional(),
|
|
134
|
+
response_variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON path mappings for response extraction").nullable().optional(),
|
|
135
|
+
speak_after_execution: zod.z.boolean().describe("Enable LLM callback after execution"),
|
|
136
|
+
speak_during_execution: zod.z.boolean().describe("Enable interim speech").nullable().optional(),
|
|
137
|
+
execution_message_description: zod.z.string().describe("Interim message guidance").nullable().optional()
|
|
138
|
+
}).describe("Tool for custom API calls");
|
|
139
|
+
const RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema = zod.z.object({
|
|
140
|
+
name: zod.z.string().describe("Unique tool identifier"),
|
|
141
|
+
type: zod.z.string().describe("Tool type identifier"),
|
|
142
|
+
variables: zod.z.array(zod.z.unknown()).describe("Data extraction definitions"),
|
|
143
|
+
description: zod.z.string().describe("Explains tool purpose")
|
|
144
|
+
}).describe("Tool for extracting dynamic variables");
|
|
145
|
+
const RetellaiGetRetellLlm_BridgeTransferToolSchema = zod.z.object({
|
|
146
|
+
name: zod.z.string().describe("Unique tool identifier"),
|
|
147
|
+
type: zod.z.string().describe("Tool type identifier"),
|
|
148
|
+
description: zod.z.string().describe("Explains tool purpose").nullable().optional()
|
|
149
|
+
}).describe("Tool for bridge transfers");
|
|
150
|
+
const RetellaiGetRetellLlm_CancelTransferToolSchema = zod.z.object({
|
|
151
|
+
name: zod.z.string().describe("Unique tool identifier"),
|
|
152
|
+
type: zod.z.string().describe("Tool type identifier"),
|
|
153
|
+
description: zod.z.string().describe("Explains tool purpose").nullable().optional()
|
|
154
|
+
}).describe("Tool for canceling transfers");
|
|
155
|
+
const RetellaiGetRetellLlm_MCPToolSchema = zod.z.object({
|
|
156
|
+
name: zod.z.string().describe("Tool identifier"),
|
|
157
|
+
type: zod.z.string().describe("Tool type identifier"),
|
|
158
|
+
mcp_id: zod.z.string().describe("MCP server identifier").nullable().optional(),
|
|
159
|
+
description: zod.z.string().describe("Tool purpose explanation"),
|
|
160
|
+
input_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameter schema definition").nullable().optional(),
|
|
161
|
+
response_variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Output data mappings").nullable().optional(),
|
|
162
|
+
speak_after_execution: zod.z.boolean().describe("Enable callback speech").nullable().optional(),
|
|
163
|
+
speak_during_execution: zod.z.boolean().describe("Enable interim speech").nullable().optional(),
|
|
164
|
+
execution_message_description: zod.z.string().describe("Interim message guidance").nullable().optional()
|
|
165
|
+
}).describe("Tool for MCP (Model Context Protocol) calls");
|
|
166
|
+
const RetellaiGetRetellLlm_StateSchema = zod.z.object({
|
|
167
|
+
name: zod.z.string().describe("State identifier"),
|
|
168
|
+
edges: zod.z.array(RetellaiGetRetellLlm_StateEdgeSchema).describe("State transition definitions").nullable().optional(),
|
|
169
|
+
tools: zod.z.array(zod.z.union([
|
|
170
|
+
RetellaiGetRetellLlm_EndCallToolSchema,
|
|
171
|
+
RetellaiGetRetellLlm_TransferCallToolSchema,
|
|
172
|
+
RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema,
|
|
173
|
+
RetellaiGetRetellLlm_BookAppointmentCalToolSchema,
|
|
174
|
+
RetellaiGetRetellLlm_AgentSwapToolSchema,
|
|
175
|
+
RetellaiGetRetellLlm_PressDigitToolSchema,
|
|
176
|
+
RetellaiGetRetellLlm_SendSMSToolSchema,
|
|
177
|
+
RetellaiGetRetellLlm_CustomToolSchema,
|
|
178
|
+
RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema,
|
|
179
|
+
RetellaiGetRetellLlm_BridgeTransferToolSchema,
|
|
180
|
+
RetellaiGetRetellLlm_CancelTransferToolSchema,
|
|
181
|
+
RetellaiGetRetellLlm_MCPToolSchema
|
|
182
|
+
])).describe("Tools available in this specific state").nullable().optional(),
|
|
183
|
+
state_prompt: zod.z.string().describe("Prompt specific to this state").nullable().optional()
|
|
184
|
+
}).describe("State definition for conversation flow");
|
|
185
|
+
const RetellaiGetRetellLlm_KnowledgeBaseConfigurationSchema = zod.z.object({
|
|
186
|
+
top_k: zod.z.number().int().describe("Number of top results to retrieve (1-10)").nullable().optional(),
|
|
187
|
+
filter_score: zod.z.number().describe("Score threshold for filtering results (0-1)").nullable().optional()
|
|
188
|
+
}).describe("Knowledge base configuration for RAG retrieval");
|
|
189
|
+
const RetellaiGetRetellLlmOutput = zod.z.object({
|
|
190
|
+
mcps: zod.z.array(RetellaiGetRetellLlm_MCPServerSchema).describe("Model Context Protocol servers").nullable().optional(),
|
|
191
|
+
model: zod.z.enum([
|
|
192
|
+
"gpt-4.1",
|
|
193
|
+
"gpt-4.1-mini",
|
|
194
|
+
"gpt-4.1-nano",
|
|
195
|
+
"gpt-5",
|
|
196
|
+
"gpt-5.1",
|
|
197
|
+
"gpt-5.2",
|
|
198
|
+
"gpt-5-mini",
|
|
199
|
+
"gpt-5-nano",
|
|
200
|
+
"claude-4.5-sonnet",
|
|
201
|
+
"claude-4.5-haiku",
|
|
202
|
+
"gemini-2.5-flash",
|
|
203
|
+
"gemini-2.5-flash-lite",
|
|
204
|
+
"gemini-3.0-flash"
|
|
205
|
+
]).describe("Underlying text LLM (defaults to gpt-4.1)").nullable().optional(),
|
|
206
|
+
llm_id: zod.z.string().describe("Unique id of Retell LLM Response Engine"),
|
|
207
|
+
states: zod.z.array(RetellaiGetRetellLlm_StateSchema).describe("State definitions for conversation flow. States help reduce prompt length and tool choices when calls can be broken into distinct stages.").nullable().optional(),
|
|
208
|
+
version: zod.z.number().int().describe("Engine version number").nullable().optional(),
|
|
209
|
+
kb_config: RetellaiGetRetellLlm_KnowledgeBaseConfigurationSchema.nullable().optional(),
|
|
210
|
+
s2s_model: zod.z.enum([
|
|
211
|
+
"gpt-4o-realtime",
|
|
212
|
+
"gpt-4o-mini-realtime",
|
|
213
|
+
"gpt-realtime",
|
|
214
|
+
"gpt-realtime-mini"
|
|
215
|
+
]).describe("Speech-to-speech model option").nullable().optional(),
|
|
216
|
+
is_published: zod.z.boolean().describe("Publication status of the engine").nullable().optional(),
|
|
217
|
+
begin_message: zod.z.string().describe("First utterance said by the agent in the call. If not set, LLM will dynamically generate a message. If set to empty string, agent will wait for user to speak first.").nullable().optional(),
|
|
218
|
+
general_tools: zod.z.array(zod.z.union([
|
|
219
|
+
RetellaiGetRetellLlm_EndCallToolSchema,
|
|
220
|
+
RetellaiGetRetellLlm_TransferCallToolSchema,
|
|
221
|
+
RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema,
|
|
222
|
+
RetellaiGetRetellLlm_BookAppointmentCalToolSchema,
|
|
223
|
+
RetellaiGetRetellLlm_AgentSwapToolSchema,
|
|
224
|
+
RetellaiGetRetellLlm_PressDigitToolSchema,
|
|
225
|
+
RetellaiGetRetellLlm_SendSMSToolSchema,
|
|
226
|
+
RetellaiGetRetellLlm_CustomToolSchema,
|
|
227
|
+
RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema,
|
|
228
|
+
RetellaiGetRetellLlm_BridgeTransferToolSchema,
|
|
229
|
+
RetellaiGetRetellLlm_CancelTransferToolSchema,
|
|
230
|
+
RetellaiGetRetellLlm_MCPToolSchema
|
|
231
|
+
])).describe("A list of tools the model may call (to get external knowledge, call API, etc). Available tools for the LLM to invoke regardless of state.").nullable().optional(),
|
|
232
|
+
start_speaker: zod.z.enum(["user", "agent"]).describe("The speaker who starts the conversation. Must be either 'user' or 'agent'."),
|
|
233
|
+
general_prompt: zod.z.string().describe("General prompt appended to system prompt no matter what state the agent is in. System prompt (with state) = general prompt + state prompt. System prompt (no state) = general prompt.").nullable().optional(),
|
|
234
|
+
starting_state: zod.z.string().describe("Name of the starting state. Required if states is not empty.").nullable().optional(),
|
|
235
|
+
model_temperature: zod.z.number().describe("Controls the randomness of the response. Value ranging from [0,1]").nullable().optional(),
|
|
236
|
+
knowledge_base_ids: zod.z.array(zod.z.string()).describe("Knowledge base identifiers").nullable().optional(),
|
|
237
|
+
model_high_priority: zod.z.boolean().describe("High priority pool with more dedicated resource").nullable().optional(),
|
|
238
|
+
tool_call_strict_mode: zod.z.boolean().describe("Strict mode for tool calls").nullable().optional(),
|
|
239
|
+
default_dynamic_variables: zod.z.object({}).describe("Default dynamic variables represented as key-value pairs of strings. These are injected into your Retell LLM prompt and tool description when specific values are not provided in a request.").nullable().optional(),
|
|
240
|
+
begin_after_user_silence_ms: zod.z.number().int().describe("If set, the AI will begin the conversation after waiting for the user for the duration (in milliseconds) specified by this attribute. This only applies if the agent is configured to wait for the user to speak first. If not set, the agent will wait indefinitely for the user to speak.").nullable().optional(),
|
|
241
|
+
last_modification_timestamp: zod.z.number().int().describe("Last modification timestamp (milliseconds since epoch)")
|
|
242
|
+
}).describe("Response schema for `RetellaiGetRetellLlm`");
|
|
243
|
+
const retellaiGetRetellLlm = require_action.action("RETELLAI_GET_RETELL_LLM", {
|
|
244
|
+
slug: "retellai-get-retell-llm",
|
|
245
|
+
name: "Retrieve details of a specific Retell LLM",
|
|
246
|
+
description: "Retrieve details of a specific Retell LLM Response Engine by its unique identifier. Use when you need to access LLM configuration including model settings, prompts, tools, states, and knowledge base configurations.",
|
|
247
|
+
input: RetellaiGetRetellLlmInput,
|
|
248
|
+
output: RetellaiGetRetellLlmOutput
|
|
249
|
+
});
|
|
250
|
+
//#endregion
|
|
251
|
+
exports.retellaiGetRetellLlm = retellaiGetRetellLlm;
|
|
252
|
+
|
|
253
|
+
//# sourceMappingURL=get-retell-llm.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-retell-llm.cjs","names":["z","action"],"sources":["../../src/actions/get-retell-llm.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetRetellLlmInput: z.ZodTypeAny = z.object({\n llm_id: z.string().describe(\"Unique identifier of the Retell LLM Response Engine to be retrieved\"),\n version: z.number().int().describe(\"Optional version of the API to use for this request. Defaults to latest version if not specified\").optional(),\n}).describe(\"Request schema for `RetellaiGetRetellLlm`\");\nconst RetellaiGetRetellLlm_MCPServerSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"MCP server URL\"),\n name: z.string().describe(\"MCP server name\"),\n headers: z.record(z.string(), z.unknown()).describe(\"HTTP headers for MCP requests\").nullable().optional(),\n timeout_ms: z.number().int().describe(\"Timeout for MCP requests in milliseconds\").nullable().optional(),\n query_params: z.record(z.string(), z.unknown()).describe(\"Query parameters for MCP requests\").nullable().optional(),\n}).describe(\"Model Context Protocol server configuration\");\nconst RetellaiGetRetellLlm_StateEdgeSchema: z.ZodTypeAny = z.object({\n parameters: z.record(z.string(), z.unknown()).describe(\"Describes what parameters you want to extract out when the transition changes. The parameters extracted here can be referenced in prompts & function descriptions of later states via dynamic variables.\").nullable().optional(),\n description: z.string().describe(\"Describes what's the transition and at what time / criteria should this transition happen.\"),\n destination_state_name: z.string().describe(\"The destination state name when going through transition of state via this edge. State transition internally is implemented as a tool call of LLM, and a tool call with name 'transition_to_{destination_state_name}' will get created.\"),\n}).describe(\"Edge definition for state transitions\");\nconst RetellaiGetRetellLlm_EndCallToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n description: z.string().describe(\"Explains tool purpose and usage context\").nullable().optional(),\n speak_during_execution: z.boolean().describe(\"Enable speech during termination\").nullable().optional(),\n execution_message_description: z.string().describe(\"What the agent says when ending\").nullable().optional(),\n}).describe(\"Tool for ending the call\");\nconst RetellaiGetRetellLlm_ColdTransferOptionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Transfer option type discriminator\"),\n show_transferee_as_caller: z.boolean().describe(\"Show transferee number as caller ID\").nullable().optional(),\n}).describe(\"Cold transfer: direct transfer without briefing\");\nconst RetellaiGetRetellLlm_WarmTransferOptionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Transfer option type discriminator\"),\n wait_for_human: z.boolean().describe(\"Only complete transfer if human detected\").nullable().optional(),\n whisper_message: z.string().describe(\"Message spoken only to transfer target (supports dynamic variables)\").nullable().optional(),\n on_hold_music_url: z.string().describe(\"URL of music to play while caller is on hold\").nullable().optional(),\n three_way_message: z.string().describe(\"Message heard by both caller and target during handoff (supports dynamic variables)\").nullable().optional(),\n}).describe(\"Warm transfer: AI briefs the next agent before transferring\");\nconst RetellaiGetRetellLlm_AgenticWarmTransferOptionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Transfer option type discriminator\"),\n prompt: z.string().describe(\"Prompt to guide AI in evaluating transfer decision (supports dynamic variables)\").nullable().optional(),\n wait_for_human: z.boolean().describe(\"Only complete transfer if human detected\").nullable().optional(),\n whisper_message: z.string().describe(\"Message spoken only to transfer target (supports dynamic variables)\").nullable().optional(),\n on_hold_music_url: z.string().describe(\"URL of music to play while caller is on hold\").nullable().optional(),\n three_way_message: z.string().describe(\"Message heard by both caller and target during handoff (supports dynamic variables)\").nullable().optional(),\n}).describe(\"Agentic warm transfer: AI evaluates whether to transfer\");\nconst RetellaiGetRetellLlm_TransferDestinationPredefinedSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Destination type discriminator\"),\n number: z.string().describe(\"Transfer number in E.164 format or dynamic variable\"),\n extension: z.string().describe(\"Optional DTMF extension digits\").nullable().optional(),\n}).describe(\"Predefined transfer destination with specific number\");\nconst RetellaiGetRetellLlm_TransferDestinationInferredSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Destination type discriminator\"),\n prompt: z.string().describe(\"Prompt to guide LLM in determining transfer number\"),\n}).describe(\"Inferred transfer destination determined by LLM\");\nconst RetellaiGetRetellLlm_TransferCallToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n transfer_option: z.union([RetellaiGetRetellLlm_ColdTransferOptionSchema, RetellaiGetRetellLlm_WarmTransferOptionSchema, RetellaiGetRetellLlm_AgenticWarmTransferOptionSchema]),\n custom_sip_headers: z.object({}).describe(\"Additional SIP protocol headers (key-value string pairs)\").nullable().optional(),\n transfer_destination: z.union([RetellaiGetRetellLlm_TransferDestinationPredefinedSchema, RetellaiGetRetellLlm_TransferDestinationInferredSchema]),\n ignore_e164_validation: z.boolean().describe(\"Skip phone number format checks\").nullable().optional(),\n speak_during_execution: z.boolean().describe(\"Enable speech notification\").nullable().optional(),\n execution_message_description: z.string().describe(\"Message spoken during transfer\").nullable().optional(),\n}).describe(\"Tool for transferring the call\");\nconst RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n timezone: z.string().describe(\"IANA timezone database reference\").nullable().optional(),\n cal_api_key: z.string().describe(\"Cal.com authentication credential\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n event_type_id: z.number().int().describe(\"Calendar event identifier\"),\n}).describe(\"Tool for checking availability via Cal.com\");\nconst RetellaiGetRetellLlm_BookAppointmentCalToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n timezone: z.string().describe(\"IANA timezone database reference\").nullable().optional(),\n cal_api_key: z.string().describe(\"Cal.com authentication credential\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n event_type_id: z.number().int().describe(\"Calendar event identifier\"),\n}).describe(\"Tool for booking appointments via Cal.com\");\nconst RetellaiGetRetellLlm_AgentSwapToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n agent_id: z.string().describe(\"Target agent identifier\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n agent_version: z.string().describe(\"Target agent version (uses latest if unspecified)\").nullable().optional(),\n webhook_setting: z.record(z.string(), z.unknown()).describe(\"Event notification configuration\").nullable().optional(),\n speak_during_execution: z.boolean().describe(\"Enable speech notification\").nullable().optional(),\n post_call_analysis_setting: z.unknown().describe(\"Analysis scope configuration\"),\n execution_message_description: z.string().describe(\"Message spoken during swap\").nullable().optional(),\n}).describe(\"Tool for swapping to a different agent\");\nconst RetellaiGetRetellLlm_PressDigitToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n delay_ms: z.number().int().describe(\"Milliseconds before sending (default: 1000ms, range: 0-5000ms)\").nullable().optional(),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n}).describe(\"Tool for pressing phone digits\");\nconst RetellaiGetRetellLlm_SmsContentPredefinedSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Content type discriminator\"),\n content: z.string().describe(\"Static SMS text (supports dynamic variables like {{variable_name}})\"),\n}).describe(\"Predefined SMS content with static text\");\nconst RetellaiGetRetellLlm_SmsContentInferredSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Content type discriminator\"),\n prompt: z.string().describe(\"Prompt to guide LLM in generating SMS content (supports dynamic variables)\"),\n}).describe(\"Inferred SMS content generated by LLM\");\nconst RetellaiGetRetellLlm_SendSMSToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n sms_content: z.union([RetellaiGetRetellLlm_SmsContentPredefinedSchema, RetellaiGetRetellLlm_SmsContentInferredSchema]),\n}).describe(\"Tool for sending SMS messages\");\nconst RetellaiGetRetellLlm_CustomToolSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"API endpoint\"),\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n method: z.enum([\"GET\", \"POST\", \"PUT\", \"PATCH\", \"DELETE\"]).describe(\"HTTP verb (default: POST)\").nullable().optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Request header key-value pairs\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"JSON Schema defining input arguments\").nullable().optional(),\n timeout_ms: z.number().int().describe(\"Maximum execution duration (1000-600000ms; default: 120000ms)\").nullable().optional(),\n description: z.string().describe(\"Explains purpose and invocation criteria\"),\n args_at_root: z.boolean().describe(\"Pass parameters as root-level JSON\").nullable().optional(),\n query_params: z.record(z.string(), z.unknown()).describe(\"URL query parameters\").nullable().optional(),\n response_variables: z.record(z.string(), z.unknown()).describe(\"JSON path mappings for response extraction\").nullable().optional(),\n speak_after_execution: z.boolean().describe(\"Enable LLM callback after execution\"),\n speak_during_execution: z.boolean().describe(\"Enable interim speech\").nullable().optional(),\n execution_message_description: z.string().describe(\"Interim message guidance\").nullable().optional(),\n}).describe(\"Tool for custom API calls\");\nconst RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n variables: z.array(z.unknown()).describe(\"Data extraction definitions\"),\n description: z.string().describe(\"Explains tool purpose\"),\n}).describe(\"Tool for extracting dynamic variables\");\nconst RetellaiGetRetellLlm_BridgeTransferToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n}).describe(\"Tool for bridge transfers\");\nconst RetellaiGetRetellLlm_CancelTransferToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n}).describe(\"Tool for canceling transfers\");\nconst RetellaiGetRetellLlm_MCPToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n mcp_id: z.string().describe(\"MCP server identifier\").nullable().optional(),\n description: z.string().describe(\"Tool purpose explanation\"),\n input_schema: z.record(z.string(), z.unknown()).describe(\"Parameter schema definition\").nullable().optional(),\n response_variables: z.record(z.string(), z.unknown()).describe(\"Output data mappings\").nullable().optional(),\n speak_after_execution: z.boolean().describe(\"Enable callback speech\").nullable().optional(),\n speak_during_execution: z.boolean().describe(\"Enable interim speech\").nullable().optional(),\n execution_message_description: z.string().describe(\"Interim message guidance\").nullable().optional(),\n}).describe(\"Tool for MCP (Model Context Protocol) calls\");\nconst RetellaiGetRetellLlm_StateSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"State identifier\"),\n edges: z.array(RetellaiGetRetellLlm_StateEdgeSchema).describe(\"State transition definitions\").nullable().optional(),\n tools: z.array(z.union([RetellaiGetRetellLlm_EndCallToolSchema, RetellaiGetRetellLlm_TransferCallToolSchema, RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema, RetellaiGetRetellLlm_BookAppointmentCalToolSchema, RetellaiGetRetellLlm_AgentSwapToolSchema, RetellaiGetRetellLlm_PressDigitToolSchema, RetellaiGetRetellLlm_SendSMSToolSchema, RetellaiGetRetellLlm_CustomToolSchema, RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema, RetellaiGetRetellLlm_BridgeTransferToolSchema, RetellaiGetRetellLlm_CancelTransferToolSchema, RetellaiGetRetellLlm_MCPToolSchema])).describe(\"Tools available in this specific state\").nullable().optional(),\n state_prompt: z.string().describe(\"Prompt specific to this state\").nullable().optional(),\n}).describe(\"State definition for conversation flow\");\nconst RetellaiGetRetellLlm_KnowledgeBaseConfigurationSchema: z.ZodTypeAny = z.object({\n top_k: z.number().int().describe(\"Number of top results to retrieve (1-10)\").nullable().optional(),\n filter_score: z.number().describe(\"Score threshold for filtering results (0-1)\").nullable().optional(),\n}).describe(\"Knowledge base configuration for RAG retrieval\");\nexport const RetellaiGetRetellLlmOutput: z.ZodTypeAny = z.object({\n mcps: z.array(RetellaiGetRetellLlm_MCPServerSchema).describe(\"Model Context Protocol servers\").nullable().optional(),\n model: z.enum([\"gpt-4.1\", \"gpt-4.1-mini\", \"gpt-4.1-nano\", \"gpt-5\", \"gpt-5.1\", \"gpt-5.2\", \"gpt-5-mini\", \"gpt-5-nano\", \"claude-4.5-sonnet\", \"claude-4.5-haiku\", \"gemini-2.5-flash\", \"gemini-2.5-flash-lite\", \"gemini-3.0-flash\"]).describe(\"Underlying text LLM (defaults to gpt-4.1)\").nullable().optional(),\n llm_id: z.string().describe(\"Unique id of Retell LLM Response Engine\"),\n states: z.array(RetellaiGetRetellLlm_StateSchema).describe(\"State definitions for conversation flow. States help reduce prompt length and tool choices when calls can be broken into distinct stages.\").nullable().optional(),\n version: z.number().int().describe(\"Engine version number\").nullable().optional(),\n kb_config: RetellaiGetRetellLlm_KnowledgeBaseConfigurationSchema.nullable().optional(),\n s2s_model: z.enum([\"gpt-4o-realtime\", \"gpt-4o-mini-realtime\", \"gpt-realtime\", \"gpt-realtime-mini\"]).describe(\"Speech-to-speech model option\").nullable().optional(),\n is_published: z.boolean().describe(\"Publication status of the engine\").nullable().optional(),\n begin_message: z.string().describe(\"First utterance said by the agent in the call. If not set, LLM will dynamically generate a message. If set to empty string, agent will wait for user to speak first.\").nullable().optional(),\n general_tools: z.array(z.union([RetellaiGetRetellLlm_EndCallToolSchema, RetellaiGetRetellLlm_TransferCallToolSchema, RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema, RetellaiGetRetellLlm_BookAppointmentCalToolSchema, RetellaiGetRetellLlm_AgentSwapToolSchema, RetellaiGetRetellLlm_PressDigitToolSchema, RetellaiGetRetellLlm_SendSMSToolSchema, RetellaiGetRetellLlm_CustomToolSchema, RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema, RetellaiGetRetellLlm_BridgeTransferToolSchema, RetellaiGetRetellLlm_CancelTransferToolSchema, RetellaiGetRetellLlm_MCPToolSchema])).describe(\"A list of tools the model may call (to get external knowledge, call API, etc). Available tools for the LLM to invoke regardless of state.\").nullable().optional(),\n start_speaker: z.enum([\"user\", \"agent\"]).describe(\"The speaker who starts the conversation. Must be either 'user' or 'agent'.\"),\n general_prompt: z.string().describe(\"General prompt appended to system prompt no matter what state the agent is in. System prompt (with state) = general prompt + state prompt. System prompt (no state) = general prompt.\").nullable().optional(),\n starting_state: z.string().describe(\"Name of the starting state. Required if states is not empty.\").nullable().optional(),\n model_temperature: z.number().describe(\"Controls the randomness of the response. Value ranging from [0,1]\").nullable().optional(),\n knowledge_base_ids: z.array(z.string()).describe(\"Knowledge base identifiers\").nullable().optional(),\n model_high_priority: z.boolean().describe(\"High priority pool with more dedicated resource\").nullable().optional(),\n tool_call_strict_mode: z.boolean().describe(\"Strict mode for tool calls\").nullable().optional(),\n default_dynamic_variables: z.object({}).describe(\"Default dynamic variables represented as key-value pairs of strings. These are injected into your Retell LLM prompt and tool description when specific values are not provided in a request.\").nullable().optional(),\n begin_after_user_silence_ms: z.number().int().describe(\"If set, the AI will begin the conversation after waiting for the user for the duration (in milliseconds) specified by this attribute. This only applies if the agent is configured to wait for the user to speak first. If not set, the agent will wait indefinitely for the user to speak.\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Last modification timestamp (milliseconds since epoch)\"),\n}).describe(\"Response schema for `RetellaiGetRetellLlm`\");\n\nexport const retellaiGetRetellLlm = action(\"RETELLAI_GET_RETELL_LLM\", {\n slug: \"retellai-get-retell-llm\",\n name: \"Retrieve details of a specific Retell LLM\",\n description: \"Retrieve details of a specific Retell LLM Response Engine by its unique identifier. Use when you need to access LLM configuration including model settings, prompts, tools, states, and knowledge base configurations.\",\n input: RetellaiGetRetellLlmInput,\n output: RetellaiGetRetellLlmOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,KAAKA,IAAAA,EAAE,OAAO,CA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AC,SAAS,CAAC,CAAC,SAAS;CAC1W,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;AACjH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-retell-llm.d.ts
|
|
4
|
+
declare const RetellaiGetRetellLlmInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiGetRetellLlmOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiGetRetellLlm: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiGetRetellLlm };
|
|
9
|
+
//# sourceMappingURL=get-retell-llm.d.cts.map
|