@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,121 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/create-retell-llm.ts
|
|
4
|
+
const RetellaiCreateRetellLlmInput = z.object({
|
|
5
|
+
mcps: z.array(z.object({
|
|
6
|
+
name: z.string().describe("Name of the MCP integration.").optional(),
|
|
7
|
+
parameters: z.object({}).describe("MCP-specific parameters.").optional(),
|
|
8
|
+
server_url: z.string().describe("URL of the MCP server.").optional(),
|
|
9
|
+
description: z.string().describe("Description of the MCP integration.").optional()
|
|
10
|
+
}).describe("Model Context Protocol configuration")).describe("Model Context Protocol (MCP) integrations for extended capabilities.").optional(),
|
|
11
|
+
model: z.enum([
|
|
12
|
+
"gpt-4.1",
|
|
13
|
+
"gpt-4.1-mini",
|
|
14
|
+
"claude-4.5-sonnet",
|
|
15
|
+
"gemini-2.5-flash"
|
|
16
|
+
]).describe("Text LLM model selection for generating responses.").optional(),
|
|
17
|
+
states: z.array(z.object({
|
|
18
|
+
name: z.string().describe("Name of the state.").optional(),
|
|
19
|
+
edges: z.array(z.object({
|
|
20
|
+
parameters: z.object({}).describe("Parameters for the transition.").optional(),
|
|
21
|
+
description: z.string().describe("Description of the transition condition.").optional(),
|
|
22
|
+
destination_state_name: z.string().describe("Name of the destination state.").optional()
|
|
23
|
+
}).describe("Edge definition for state transitions")).describe("Transitions to other states.").optional(),
|
|
24
|
+
tools: z.array(z.object({
|
|
25
|
+
url: z.string().describe("Webhook URL for custom tool execution.").optional(),
|
|
26
|
+
name: z.string().describe("Name of the tool.").optional(),
|
|
27
|
+
type: z.string().describe("Type of tool (e.g., 'end_call', 'transfer_call', 'custom').").optional(),
|
|
28
|
+
parameters: z.object({}).describe("Tool-specific parameters.").optional(),
|
|
29
|
+
description: z.string().describe("Description of what the tool does.").optional(),
|
|
30
|
+
speak_after_execution: z.boolean().describe("Whether agent should speak after tool execution.").optional(),
|
|
31
|
+
speak_during_execution: z.boolean().describe("Whether agent should speak during tool execution.").optional()
|
|
32
|
+
}).describe("Tool definition for agent capabilities")).describe("Tools available in this state.").optional(),
|
|
33
|
+
state_prompt: z.string().describe("Prompt specific to this state.").optional()
|
|
34
|
+
}).describe("State definition in conversation flow")).describe("Conversation state definitions with prompts, transitions (edges), and state-specific tools.").optional(),
|
|
35
|
+
kb_config: z.object({
|
|
36
|
+
top_k: z.number().int().describe("Number of top results to retrieve from knowledge base.").optional(),
|
|
37
|
+
filter_score: z.number().describe("Minimum similarity score threshold for filtering results.").optional()
|
|
38
|
+
}).describe("Knowledge base configuration for RAG").optional(),
|
|
39
|
+
s2s_model: z.enum(["gpt-4o-realtime", "gpt-4o-mini-realtime"]).describe("Speech-to-speech model selection for real-time voice responses.").optional(),
|
|
40
|
+
begin_message: z.string().describe("The first utterance spoken by the agent when the conversation starts.").optional(),
|
|
41
|
+
general_tools: z.array(z.object({
|
|
42
|
+
url: z.string().describe("Webhook URL for custom tool execution.").optional(),
|
|
43
|
+
name: z.string().describe("Name of the tool.").optional(),
|
|
44
|
+
type: z.string().describe("Type of tool (e.g., 'end_call', 'transfer_call', 'custom').").optional(),
|
|
45
|
+
parameters: z.object({}).describe("Tool-specific parameters.").optional(),
|
|
46
|
+
description: z.string().describe("Description of what the tool does.").optional(),
|
|
47
|
+
speak_after_execution: z.boolean().describe("Whether agent should speak after tool execution.").optional(),
|
|
48
|
+
speak_during_execution: z.boolean().describe("Whether agent should speak during tool execution.").optional()
|
|
49
|
+
}).describe("Tool definition for agent capabilities")).describe("Predefined tools available to the agent, such as end_call or transfer_call functions.").optional(),
|
|
50
|
+
start_speaker: z.enum(["user", "agent"]).describe("Determines who initiates the conversation. Either 'user' or 'agent'."),
|
|
51
|
+
general_prompt: z.string().describe("System prompt applied across all conversation states. Defines agent behavior and personality.").optional(),
|
|
52
|
+
starting_state: z.string().describe("Name of the initial conversation state when using multi-state flows.").optional(),
|
|
53
|
+
model_temperature: z.number().describe("Controls randomness in model responses. Range: [0, 1]. Default is 0 for deterministic output.").optional(),
|
|
54
|
+
knowledge_base_ids: z.array(z.string()).describe("List of knowledge base IDs for RAG (Retrieval-Augmented Generation) capabilities.").optional(),
|
|
55
|
+
model_high_priority: z.boolean().describe("Enables dedicated resources for lower latency responses. Use for high-priority agents.").optional(),
|
|
56
|
+
tool_call_strict_mode: z.boolean().describe("Enforces strict mode for tool calls to ensure proper function execution.").optional(),
|
|
57
|
+
default_dynamic_variables: z.object({}).describe("Key-value pairs injected into prompts as variables for dynamic content.").optional(),
|
|
58
|
+
begin_after_user_silence_ms: z.number().int().describe("Milliseconds to wait after user stops speaking before agent responds.").optional()
|
|
59
|
+
}).describe("Request schema for creating a Retell LLM Response Engine");
|
|
60
|
+
const RetellaiCreateRetellLlm_McpConfigSchema = z.object({
|
|
61
|
+
name: z.string().describe("Name of the MCP integration.").nullable().optional(),
|
|
62
|
+
parameters: z.object({}).describe("MCP-specific parameters.").nullable().optional(),
|
|
63
|
+
server_url: z.string().describe("URL of the MCP server.").nullable().optional(),
|
|
64
|
+
description: z.string().describe("Description of the MCP integration.").nullable().optional()
|
|
65
|
+
}).describe("Model Context Protocol configuration");
|
|
66
|
+
const RetellaiCreateRetellLlm_StateEdgeSchema = z.object({
|
|
67
|
+
parameters: z.object({}).describe("Parameters for the transition.").nullable().optional(),
|
|
68
|
+
description: z.string().describe("Description of the transition condition.").nullable().optional(),
|
|
69
|
+
destination_state_name: z.string().describe("Name of the destination state.").nullable().optional()
|
|
70
|
+
}).describe("Edge definition for state transitions");
|
|
71
|
+
const RetellaiCreateRetellLlm_ToolDefinitionSchema = z.object({
|
|
72
|
+
url: z.string().describe("Webhook URL for custom tool execution.").nullable().optional(),
|
|
73
|
+
name: z.string().describe("Name of the tool.").nullable().optional(),
|
|
74
|
+
type: z.string().describe("Type of tool (e.g., 'end_call', 'transfer_call', 'custom').").nullable().optional(),
|
|
75
|
+
parameters: z.object({}).describe("Tool-specific parameters.").nullable().optional(),
|
|
76
|
+
description: z.string().describe("Description of what the tool does.").nullable().optional(),
|
|
77
|
+
speak_after_execution: z.boolean().describe("Whether agent should speak after tool execution.").nullable().optional(),
|
|
78
|
+
speak_during_execution: z.boolean().describe("Whether agent should speak during tool execution.").nullable().optional()
|
|
79
|
+
}).describe("Tool definition for agent capabilities");
|
|
80
|
+
const RetellaiCreateRetellLlm_StateDefinitionSchema = z.object({
|
|
81
|
+
name: z.string().describe("Name of the state.").nullable().optional(),
|
|
82
|
+
edges: z.array(RetellaiCreateRetellLlm_StateEdgeSchema).describe("Transitions to other states.").nullable().optional(),
|
|
83
|
+
tools: z.array(RetellaiCreateRetellLlm_ToolDefinitionSchema).describe("Tools available in this state.").nullable().optional(),
|
|
84
|
+
state_prompt: z.string().describe("Prompt specific to this state.").nullable().optional()
|
|
85
|
+
}).describe("State definition in conversation flow");
|
|
86
|
+
const RetellaiCreateRetellLlm_KbConfigSchema = z.object({
|
|
87
|
+
top_k: z.number().int().describe("Number of top results to retrieve from knowledge base.").nullable().optional(),
|
|
88
|
+
filter_score: z.number().describe("Minimum similarity score threshold for filtering results.").nullable().optional()
|
|
89
|
+
}).describe("Knowledge base configuration for RAG");
|
|
90
|
+
const retellaiCreateRetellLlm = action("RETELLAI_CREATE_RETELL_LLM", {
|
|
91
|
+
slug: "retellai-create-retell-llm",
|
|
92
|
+
name: "Create Retell LLM Response Engine",
|
|
93
|
+
description: "Create a new Retell LLM Response Engine that can be attached to an agent. Use when you need to configure a new LLM-powered response system with custom prompts, tools, and conversation flows.",
|
|
94
|
+
input: RetellaiCreateRetellLlmInput,
|
|
95
|
+
output: z.object({
|
|
96
|
+
mcps: z.array(RetellaiCreateRetellLlm_McpConfigSchema).describe("Model Context Protocol configurations.").nullable().optional(),
|
|
97
|
+
model: z.string().describe("The text LLM model being used.").nullable().optional(),
|
|
98
|
+
llm_id: z.string().describe("Unique identifier of the created Retell LLM Response Engine."),
|
|
99
|
+
states: z.array(RetellaiCreateRetellLlm_StateDefinitionSchema).describe("Conversation states with prompts, edges, and state-specific tools.").nullable().optional(),
|
|
100
|
+
version: z.number().int().describe("Version number of the LLM configuration.").nullable().optional(),
|
|
101
|
+
kb_config: RetellaiCreateRetellLlm_KbConfigSchema.nullable().optional(),
|
|
102
|
+
s2s_model: z.string().describe("The speech-to-speech model being used.").nullable().optional(),
|
|
103
|
+
is_published: z.boolean().describe("Indicates whether this LLM version is published and active.").nullable().optional(),
|
|
104
|
+
begin_message: z.string().describe("Agent's opening utterance.").nullable().optional(),
|
|
105
|
+
general_tools: z.array(RetellaiCreateRetellLlm_ToolDefinitionSchema).describe("Available functions for the agent.").nullable().optional(),
|
|
106
|
+
start_speaker: z.string().describe("Who initiates the conversation (user or agent).").nullable().optional(),
|
|
107
|
+
general_prompt: z.string().describe("System prompt appended across all states.").nullable().optional(),
|
|
108
|
+
starting_state: z.string().describe("Initial state name.").nullable().optional(),
|
|
109
|
+
model_temperature: z.number().describe("Randomness control setting for the model.").nullable().optional(),
|
|
110
|
+
knowledge_base_ids: z.array(z.string()).describe("Associated knowledge base identifiers.").nullable().optional(),
|
|
111
|
+
model_high_priority: z.boolean().describe("High-priority resource pool access status.").nullable().optional(),
|
|
112
|
+
tool_call_strict_mode: z.boolean().describe("Strict tool calling enforcement status.").nullable().optional(),
|
|
113
|
+
default_dynamic_variables: z.object({}).describe("Key-value string pairs for prompt injection.").nullable().optional(),
|
|
114
|
+
begin_after_user_silence_ms: z.number().int().describe("Milliseconds before agent response after user silence.").nullable().optional(),
|
|
115
|
+
last_modification_timestamp: z.number().int().describe("Timestamp in milliseconds since epoch when the LLM was last modified.")
|
|
116
|
+
}).describe("Response schema for created Retell LLM Response Engine")
|
|
117
|
+
});
|
|
118
|
+
//#endregion
|
|
119
|
+
export { retellaiCreateRetellLlm };
|
|
120
|
+
|
|
121
|
+
//# sourceMappingURL=create-retell-llm.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-retell-llm.mjs","names":[],"sources":["../../src/actions/create-retell-llm.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiCreateRetellLlmInput: z.ZodTypeAny = z.object({\n mcps: z.array(z.object({\n name: z.string().describe(\"Name of the MCP integration.\").optional(),\n parameters: z.object({}).describe(\"MCP-specific parameters.\").optional(),\n server_url: z.string().describe(\"URL of the MCP server.\").optional(),\n description: z.string().describe(\"Description of the MCP integration.\").optional(),\n}).describe(\"Model Context Protocol configuration\")).describe(\"Model Context Protocol (MCP) integrations for extended capabilities.\").optional(),\n model: z.enum([\"gpt-4.1\", \"gpt-4.1-mini\", \"claude-4.5-sonnet\", \"gemini-2.5-flash\"]).describe(\"Text LLM model selection for generating responses.\").optional(),\n states: z.array(z.object({\n name: z.string().describe(\"Name of the state.\").optional(),\n edges: z.array(z.object({\n parameters: z.object({}).describe(\"Parameters for the transition.\").optional(),\n description: z.string().describe(\"Description of the transition condition.\").optional(),\n destination_state_name: z.string().describe(\"Name of the destination state.\").optional(),\n}).describe(\"Edge definition for state transitions\")).describe(\"Transitions to other states.\").optional(),\n tools: z.array(z.object({\n url: z.string().describe(\"Webhook URL for custom tool execution.\").optional(),\n name: z.string().describe(\"Name of the tool.\").optional(),\n type: z.string().describe(\"Type of tool (e.g., 'end_call', 'transfer_call', 'custom').\").optional(),\n parameters: z.object({}).describe(\"Tool-specific parameters.\").optional(),\n description: z.string().describe(\"Description of what the tool does.\").optional(),\n speak_after_execution: z.boolean().describe(\"Whether agent should speak after tool execution.\").optional(),\n speak_during_execution: z.boolean().describe(\"Whether agent should speak during tool execution.\").optional(),\n}).describe(\"Tool definition for agent capabilities\")).describe(\"Tools available in this state.\").optional(),\n state_prompt: z.string().describe(\"Prompt specific to this state.\").optional(),\n}).describe(\"State definition in conversation flow\")).describe(\"Conversation state definitions with prompts, transitions (edges), and state-specific tools.\").optional(),\n kb_config: z.object({\n top_k: z.number().int().describe(\"Number of top results to retrieve from knowledge base.\").optional(),\n filter_score: z.number().describe(\"Minimum similarity score threshold for filtering results.\").optional(),\n}).describe(\"Knowledge base configuration for RAG\").optional(),\n s2s_model: z.enum([\"gpt-4o-realtime\", \"gpt-4o-mini-realtime\"]).describe(\"Speech-to-speech model selection for real-time voice responses.\").optional(),\n begin_message: z.string().describe(\"The first utterance spoken by the agent when the conversation starts.\").optional(),\n general_tools: z.array(z.object({\n url: z.string().describe(\"Webhook URL for custom tool execution.\").optional(),\n name: z.string().describe(\"Name of the tool.\").optional(),\n type: z.string().describe(\"Type of tool (e.g., 'end_call', 'transfer_call', 'custom').\").optional(),\n parameters: z.object({}).describe(\"Tool-specific parameters.\").optional(),\n description: z.string().describe(\"Description of what the tool does.\").optional(),\n speak_after_execution: z.boolean().describe(\"Whether agent should speak after tool execution.\").optional(),\n speak_during_execution: z.boolean().describe(\"Whether agent should speak during tool execution.\").optional(),\n}).describe(\"Tool definition for agent capabilities\")).describe(\"Predefined tools available to the agent, such as end_call or transfer_call functions.\").optional(),\n start_speaker: z.enum([\"user\", \"agent\"]).describe(\"Determines who initiates the conversation. Either 'user' or 'agent'.\"),\n general_prompt: z.string().describe(\"System prompt applied across all conversation states. Defines agent behavior and personality.\").optional(),\n starting_state: z.string().describe(\"Name of the initial conversation state when using multi-state flows.\").optional(),\n model_temperature: z.number().describe(\"Controls randomness in model responses. Range: [0, 1]. Default is 0 for deterministic output.\").optional(),\n knowledge_base_ids: z.array(z.string()).describe(\"List of knowledge base IDs for RAG (Retrieval-Augmented Generation) capabilities.\").optional(),\n model_high_priority: z.boolean().describe(\"Enables dedicated resources for lower latency responses. Use for high-priority agents.\").optional(),\n tool_call_strict_mode: z.boolean().describe(\"Enforces strict mode for tool calls to ensure proper function execution.\").optional(),\n default_dynamic_variables: z.object({}).describe(\"Key-value pairs injected into prompts as variables for dynamic content.\").optional(),\n begin_after_user_silence_ms: z.number().int().describe(\"Milliseconds to wait after user stops speaking before agent responds.\").optional(),\n}).describe(\"Request schema for creating a Retell LLM Response Engine\");\nconst RetellaiCreateRetellLlm_McpConfigSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the MCP integration.\").nullable().optional(),\n parameters: z.object({}).describe(\"MCP-specific parameters.\").nullable().optional(),\n server_url: z.string().describe(\"URL of the MCP server.\").nullable().optional(),\n description: z.string().describe(\"Description of the MCP integration.\").nullable().optional(),\n}).describe(\"Model Context Protocol configuration\");\nconst RetellaiCreateRetellLlm_StateEdgeSchema: z.ZodTypeAny = z.object({\n parameters: z.object({}).describe(\"Parameters for the transition.\").nullable().optional(),\n description: z.string().describe(\"Description of the transition condition.\").nullable().optional(),\n destination_state_name: z.string().describe(\"Name of the destination state.\").nullable().optional(),\n}).describe(\"Edge definition for state transitions\");\nconst RetellaiCreateRetellLlm_ToolDefinitionSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Webhook URL for custom tool execution.\").nullable().optional(),\n name: z.string().describe(\"Name of the tool.\").nullable().optional(),\n type: z.string().describe(\"Type of tool (e.g., 'end_call', 'transfer_call', 'custom').\").nullable().optional(),\n parameters: z.object({}).describe(\"Tool-specific parameters.\").nullable().optional(),\n description: z.string().describe(\"Description of what the tool does.\").nullable().optional(),\n speak_after_execution: z.boolean().describe(\"Whether agent should speak after tool execution.\").nullable().optional(),\n speak_during_execution: z.boolean().describe(\"Whether agent should speak during tool execution.\").nullable().optional(),\n}).describe(\"Tool definition for agent capabilities\");\nconst RetellaiCreateRetellLlm_StateDefinitionSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the state.\").nullable().optional(),\n edges: z.array(RetellaiCreateRetellLlm_StateEdgeSchema).describe(\"Transitions to other states.\").nullable().optional(),\n tools: z.array(RetellaiCreateRetellLlm_ToolDefinitionSchema).describe(\"Tools available in this state.\").nullable().optional(),\n state_prompt: z.string().describe(\"Prompt specific to this state.\").nullable().optional(),\n}).describe(\"State definition in conversation flow\");\nconst RetellaiCreateRetellLlm_KbConfigSchema: z.ZodTypeAny = z.object({\n top_k: z.number().int().describe(\"Number of top results to retrieve from knowledge base.\").nullable().optional(),\n filter_score: z.number().describe(\"Minimum similarity score threshold for filtering results.\").nullable().optional(),\n}).describe(\"Knowledge base configuration for RAG\");\nexport const RetellaiCreateRetellLlmOutput: z.ZodTypeAny = z.object({\n mcps: z.array(RetellaiCreateRetellLlm_McpConfigSchema).describe(\"Model Context Protocol configurations.\").nullable().optional(),\n model: z.string().describe(\"The text LLM model being used.\").nullable().optional(),\n llm_id: z.string().describe(\"Unique identifier of the created Retell LLM Response Engine.\"),\n states: z.array(RetellaiCreateRetellLlm_StateDefinitionSchema).describe(\"Conversation states with prompts, edges, and state-specific tools.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the LLM configuration.\").nullable().optional(),\n kb_config: RetellaiCreateRetellLlm_KbConfigSchema.nullable().optional(),\n s2s_model: z.string().describe(\"The speech-to-speech model being used.\").nullable().optional(),\n is_published: z.boolean().describe(\"Indicates whether this LLM version is published and active.\").nullable().optional(),\n begin_message: z.string().describe(\"Agent's opening utterance.\").nullable().optional(),\n general_tools: z.array(RetellaiCreateRetellLlm_ToolDefinitionSchema).describe(\"Available functions for the agent.\").nullable().optional(),\n start_speaker: z.string().describe(\"Who initiates the conversation (user or agent).\").nullable().optional(),\n general_prompt: z.string().describe(\"System prompt appended across all states.\").nullable().optional(),\n starting_state: z.string().describe(\"Initial state name.\").nullable().optional(),\n model_temperature: z.number().describe(\"Randomness control setting for the model.\").nullable().optional(),\n knowledge_base_ids: z.array(z.string()).describe(\"Associated knowledge base identifiers.\").nullable().optional(),\n model_high_priority: z.boolean().describe(\"High-priority resource pool access status.\").nullable().optional(),\n tool_call_strict_mode: z.boolean().describe(\"Strict tool calling enforcement status.\").nullable().optional(),\n default_dynamic_variables: z.object({}).describe(\"Key-value string pairs for prompt injection.\").nullable().optional(),\n begin_after_user_silence_ms: z.number().int().describe(\"Milliseconds before agent response after user silence.\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the LLM was last modified.\"),\n}).describe(\"Response schema for created Retell LLM Response Engine\");\n\nexport const retellaiCreateRetellLlm = action(\"RETELLAI_CREATE_RETELL_LLM\", {\n slug: \"retellai-create-retell-llm\",\n name: \"Create Retell LLM Response Engine\",\n description: \"Create a new Retell LLM Response Engine that can be attached to an agent. Use when you need to configure a new LLM-powered response system with custom prompts, tools, and conversation flows.\",\n input: RetellaiCreateRetellLlmInput,\n output: RetellaiCreateRetellLlmOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,MAAM,EAAE,OAAO;EACvB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnF,CAA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
+
//#region src/actions/create-test-case-definition.ts
|
|
4
|
+
const RetellaiCreateTestCaseDefinitionInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Name of the test case definition."),
|
|
6
|
+
metrics: zod.z.array(zod.z.string()).describe("Array of metric name strings to evaluate the test case. Each metric describes a specific aspect to verify."),
|
|
7
|
+
llm_model: zod.z.string().describe("Optional LLM model specification to use for evaluation.").optional(),
|
|
8
|
+
tool_mocks: zod.z.array(zod.z.object({
|
|
9
|
+
name: zod.z.string().describe("Name of the tool to mock.").optional(),
|
|
10
|
+
response: zod.z.object({}).describe("Mocked response for the tool.").optional()
|
|
11
|
+
}).describe("Tool mock configuration for testing")).describe("Optional array of tool mocks to simulate tool responses during testing.").optional(),
|
|
12
|
+
user_prompt: zod.z.string().describe("User scenario prompt describing the identity, goal, and personality for the test case. Should outline who the user is, what they want to achieve, and how they behave."),
|
|
13
|
+
response_engine: zod.z.object({
|
|
14
|
+
type: zod.z.enum(["retell-llm", "conversation-flow"]).describe("Type of response engine. Must be either 'retell-llm' or 'conversation-flow'. Custom LLM is not supported."),
|
|
15
|
+
llm_id: zod.z.string().describe("ID of the Retell LLM to use. Required when type is 'retell-llm'.").optional(),
|
|
16
|
+
version: zod.z.number().int().describe("Version number of the response engine configuration."),
|
|
17
|
+
conversation_flow_id: zod.z.string().describe("ID of the conversation flow to use. Required when type is 'conversation-flow'.").optional()
|
|
18
|
+
}).describe("Response engine configuration. Must include type ('retell-llm' or 'conversation-flow'), the corresponding ID field, and version."),
|
|
19
|
+
dynamic_variables: zod.z.object({}).describe("Optional dynamic variables object to inject into the test case prompts as key-value pairs.").optional()
|
|
20
|
+
}).describe("Request schema for creating a test case definition");
|
|
21
|
+
const RetellaiCreateTestCaseDefinitionOutput = zod.z.object({
|
|
22
|
+
name: zod.z.string().describe("Name of the test case definition."),
|
|
23
|
+
type: zod.z.string().describe("Type of the test case definition."),
|
|
24
|
+
metrics: zod.z.array(zod.z.string()).describe("Array of metric name strings."),
|
|
25
|
+
llm_model: zod.z.string().describe("LLM model specification.").nullable().optional(),
|
|
26
|
+
tool_mocks: zod.z.array(zod.z.object({})).describe("Array of tool mocks.").nullable().optional(),
|
|
27
|
+
user_prompt: zod.z.string().describe("User scenario prompt."),
|
|
28
|
+
response_engine: zod.z.object({}).describe("Response engine configuration."),
|
|
29
|
+
dynamic_variables: zod.z.object({}).describe("Dynamic variables object.").nullable().optional(),
|
|
30
|
+
creation_timestamp: zod.z.number().int().describe("Timestamp in milliseconds since epoch when the test case definition was created."),
|
|
31
|
+
test_case_definition_id: zod.z.string().describe("Unique identifier of the created test case definition."),
|
|
32
|
+
user_modified_timestamp: zod.z.number().int().describe("Timestamp in milliseconds since epoch when the test case definition was last modified.")
|
|
33
|
+
}).describe("Response schema for created test case definition");
|
|
34
|
+
const retellaiCreateTestCaseDefinition = require_action.action("RETELLAI_CREATE_TEST_CASE_DEFINITION", {
|
|
35
|
+
slug: "retellai-create-test-case-definition",
|
|
36
|
+
name: "Create Test Case Definition",
|
|
37
|
+
description: "Tool to create a test case definition for agent QA testing in Retell AI. Use when you need to define test scenarios for evaluating agent performance with specific user personas, goals, and success metrics.",
|
|
38
|
+
input: RetellaiCreateTestCaseDefinitionInput,
|
|
39
|
+
output: RetellaiCreateTestCaseDefinitionOutput
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
exports.retellaiCreateTestCaseDefinition = retellaiCreateTestCaseDefinition;
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=create-test-case-definition.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-test-case-definition.cjs","names":["z","action"],"sources":["../../src/actions/create-test-case-definition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiCreateTestCaseDefinitionInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the test case definition.\"),\n metrics: z.array(z.string()).describe(\"Array of metric name strings to evaluate the test case. Each metric describes a specific aspect to verify.\"),\n llm_model: z.string().describe(\"Optional LLM model specification to use for evaluation.\").optional(),\n tool_mocks: z.array(z.object({\n name: z.string().describe(\"Name of the tool to mock.\").optional(),\n response: z.object({}).describe(\"Mocked response for the tool.\").optional(),\n}).describe(\"Tool mock configuration for testing\")).describe(\"Optional array of tool mocks to simulate tool responses during testing.\").optional(),\n user_prompt: z.string().describe(\"User scenario prompt describing the identity, goal, and personality for the test case. Should outline who the user is, what they want to achieve, and how they behave.\"),\n response_engine: z.object({\n type: z.enum([\"retell-llm\", \"conversation-flow\"]).describe(\"Type of response engine. Must be either 'retell-llm' or 'conversation-flow'. Custom LLM is not supported.\"),\n llm_id: z.string().describe(\"ID of the Retell LLM to use. Required when type is 'retell-llm'.\").optional(),\n version: z.number().int().describe(\"Version number of the response engine configuration.\"),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use. Required when type is 'conversation-flow'.\").optional(),\n}).describe(\"Response engine configuration. Must include type ('retell-llm' or 'conversation-flow'), the corresponding ID field, and version.\"),\n dynamic_variables: z.object({}).describe(\"Optional dynamic variables object to inject into the test case prompts as key-value pairs.\").optional(),\n}).describe(\"Request schema for creating a test case definition\");\nexport const RetellaiCreateTestCaseDefinitionOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the test case definition.\"),\n type: z.string().describe(\"Type of the test case definition.\"),\n metrics: z.array(z.string()).describe(\"Array of metric name strings.\"),\n llm_model: z.string().describe(\"LLM model specification.\").nullable().optional(),\n tool_mocks: z.array(z.object({})).describe(\"Array of tool mocks.\").nullable().optional(),\n user_prompt: z.string().describe(\"User scenario prompt.\"),\n response_engine: z.object({}).describe(\"Response engine configuration.\"),\n dynamic_variables: z.object({}).describe(\"Dynamic variables object.\").nullable().optional(),\n creation_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the test case definition was created.\"),\n test_case_definition_id: z.string().describe(\"Unique identifier of the created test case definition.\"),\n user_modified_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the test case definition was last modified.\"),\n}).describe(\"Response schema for created test case definition\");\n\nexport const retellaiCreateTestCaseDefinition = action(\"RETELLAI_CREATE_TEST_CASE_DEFINITION\", {\n slug: \"retellai-create-test-case-definition\",\n name: \"Create Test Case Definition\",\n description: \"Tool to create a test case definition for agent QA testing in Retell AI. Use when you need to define test scenarios for evaluating agent performance with specific user personas, goals, and success metrics.\",\n input: RetellaiCreateTestCaseDefinitionInput,\n output: RetellaiCreateTestCaseDefinitionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4GAA4G;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;CACzM,iBAAiBA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,KAAK,CAAC,cAAc,mBAAmB,CAAC,CAAC,CAAC,SAAS,2GAA2G;EACtK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EACzF,sBA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,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,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/create-test-case-definition.d.ts
|
|
4
|
+
declare const RetellaiCreateTestCaseDefinitionInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiCreateTestCaseDefinitionOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiCreateTestCaseDefinition: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiCreateTestCaseDefinition };
|
|
9
|
+
//# sourceMappingURL=create-test-case-definition.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-test-case-definition.d.cts","names":[],"sources":["../../src/actions/create-test-case-definition.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAgBW;AAAA,cACpD,sCAAA,EAAwC,CAAA,CAAE,UAYQ;AAAA,cAElD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-test-case-definition.d.ts
|
|
4
|
+
declare const RetellaiCreateTestCaseDefinitionInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiCreateTestCaseDefinitionOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiCreateTestCaseDefinition: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiCreateTestCaseDefinition };
|
|
9
|
+
//# sourceMappingURL=create-test-case-definition.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-test-case-definition.d.mts","names":[],"sources":["../../src/actions/create-test-case-definition.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAgBW;AAAA,cACpD,sCAAA,EAAwC,CAAA,CAAE,UAYQ;AAAA,cAElD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const retellaiCreateTestCaseDefinition = action("RETELLAI_CREATE_TEST_CASE_DEFINITION", {
|
|
4
|
+
slug: "retellai-create-test-case-definition",
|
|
5
|
+
name: "Create Test Case Definition",
|
|
6
|
+
description: "Tool to create a test case definition for agent QA testing in Retell AI. Use when you need to define test scenarios for evaluating agent performance with specific user personas, goals, and success metrics.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("Name of the test case definition."),
|
|
9
|
+
metrics: z.array(z.string()).describe("Array of metric name strings to evaluate the test case. Each metric describes a specific aspect to verify."),
|
|
10
|
+
llm_model: z.string().describe("Optional LLM model specification to use for evaluation.").optional(),
|
|
11
|
+
tool_mocks: z.array(z.object({
|
|
12
|
+
name: z.string().describe("Name of the tool to mock.").optional(),
|
|
13
|
+
response: z.object({}).describe("Mocked response for the tool.").optional()
|
|
14
|
+
}).describe("Tool mock configuration for testing")).describe("Optional array of tool mocks to simulate tool responses during testing.").optional(),
|
|
15
|
+
user_prompt: z.string().describe("User scenario prompt describing the identity, goal, and personality for the test case. Should outline who the user is, what they want to achieve, and how they behave."),
|
|
16
|
+
response_engine: z.object({
|
|
17
|
+
type: z.enum(["retell-llm", "conversation-flow"]).describe("Type of response engine. Must be either 'retell-llm' or 'conversation-flow'. Custom LLM is not supported."),
|
|
18
|
+
llm_id: z.string().describe("ID of the Retell LLM to use. Required when type is 'retell-llm'.").optional(),
|
|
19
|
+
version: z.number().int().describe("Version number of the response engine configuration."),
|
|
20
|
+
conversation_flow_id: z.string().describe("ID of the conversation flow to use. Required when type is 'conversation-flow'.").optional()
|
|
21
|
+
}).describe("Response engine configuration. Must include type ('retell-llm' or 'conversation-flow'), the corresponding ID field, and version."),
|
|
22
|
+
dynamic_variables: z.object({}).describe("Optional dynamic variables object to inject into the test case prompts as key-value pairs.").optional()
|
|
23
|
+
}).describe("Request schema for creating a test case definition"),
|
|
24
|
+
output: z.object({
|
|
25
|
+
name: z.string().describe("Name of the test case definition."),
|
|
26
|
+
type: z.string().describe("Type of the test case definition."),
|
|
27
|
+
metrics: z.array(z.string()).describe("Array of metric name strings."),
|
|
28
|
+
llm_model: z.string().describe("LLM model specification.").nullable().optional(),
|
|
29
|
+
tool_mocks: z.array(z.object({})).describe("Array of tool mocks.").nullable().optional(),
|
|
30
|
+
user_prompt: z.string().describe("User scenario prompt."),
|
|
31
|
+
response_engine: z.object({}).describe("Response engine configuration."),
|
|
32
|
+
dynamic_variables: z.object({}).describe("Dynamic variables object.").nullable().optional(),
|
|
33
|
+
creation_timestamp: z.number().int().describe("Timestamp in milliseconds since epoch when the test case definition was created."),
|
|
34
|
+
test_case_definition_id: z.string().describe("Unique identifier of the created test case definition."),
|
|
35
|
+
user_modified_timestamp: z.number().int().describe("Timestamp in milliseconds since epoch when the test case definition was last modified.")
|
|
36
|
+
}).describe("Response schema for created test case definition")
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
export { retellaiCreateTestCaseDefinition };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=create-test-case-definition.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-test-case-definition.mjs","names":[],"sources":["../../src/actions/create-test-case-definition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiCreateTestCaseDefinitionInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the test case definition.\"),\n metrics: z.array(z.string()).describe(\"Array of metric name strings to evaluate the test case. Each metric describes a specific aspect to verify.\"),\n llm_model: z.string().describe(\"Optional LLM model specification to use for evaluation.\").optional(),\n tool_mocks: z.array(z.object({\n name: z.string().describe(\"Name of the tool to mock.\").optional(),\n response: z.object({}).describe(\"Mocked response for the tool.\").optional(),\n}).describe(\"Tool mock configuration for testing\")).describe(\"Optional array of tool mocks to simulate tool responses during testing.\").optional(),\n user_prompt: z.string().describe(\"User scenario prompt describing the identity, goal, and personality for the test case. Should outline who the user is, what they want to achieve, and how they behave.\"),\n response_engine: z.object({\n type: z.enum([\"retell-llm\", \"conversation-flow\"]).describe(\"Type of response engine. Must be either 'retell-llm' or 'conversation-flow'. Custom LLM is not supported.\"),\n llm_id: z.string().describe(\"ID of the Retell LLM to use. Required when type is 'retell-llm'.\").optional(),\n version: z.number().int().describe(\"Version number of the response engine configuration.\"),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use. Required when type is 'conversation-flow'.\").optional(),\n}).describe(\"Response engine configuration. Must include type ('retell-llm' or 'conversation-flow'), the corresponding ID field, and version.\"),\n dynamic_variables: z.object({}).describe(\"Optional dynamic variables object to inject into the test case prompts as key-value pairs.\").optional(),\n}).describe(\"Request schema for creating a test case definition\");\nexport const RetellaiCreateTestCaseDefinitionOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the test case definition.\"),\n type: z.string().describe(\"Type of the test case definition.\"),\n metrics: z.array(z.string()).describe(\"Array of metric name strings.\"),\n llm_model: z.string().describe(\"LLM model specification.\").nullable().optional(),\n tool_mocks: z.array(z.object({})).describe(\"Array of tool mocks.\").nullable().optional(),\n user_prompt: z.string().describe(\"User scenario prompt.\"),\n response_engine: z.object({}).describe(\"Response engine configuration.\"),\n dynamic_variables: z.object({}).describe(\"Dynamic variables object.\").nullable().optional(),\n creation_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the test case definition was created.\"),\n test_case_definition_id: z.string().describe(\"Unique identifier of the created test case definition.\"),\n user_modified_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the test case definition was last modified.\"),\n}).describe(\"Response schema for created test case definition\");\n\nexport const retellaiCreateTestCaseDefinition = action(\"RETELLAI_CREATE_TEST_CASE_DEFINITION\", {\n slug: \"retellai-create-test-case-definition\",\n name: \"Create Test Case Definition\",\n description: \"Tool to create a test case definition for agent QA testing in Retell AI. Use when you need to define test scenarios for evaluating agent performance with specific user personas, goals, and success metrics.\",\n input: RetellaiCreateTestCaseDefinitionInput,\n output: RetellaiCreateTestCaseDefinitionOutput,\n});\n"],"mappings":";;AAmCA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnCiE,EAAE,OAAO;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4GAA4G;EAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,MAAM,EAAE,OAAO;GAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;GAChE,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC5E,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC/I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;EACzM,iBAAiB,EAAE,OAAO;GAC1B,MAAM,EAAE,KAAK,CAAC,cAAc,mBAAmB,CAAC,CAAC,CAAC,SAAS,2GAA2G;GACtK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC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.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-agent.ts
|
|
4
|
+
const RetellaiDeleteAgentInput = zod.z.object({ agent_id: zod.z.string().describe("Unique id of the agent to be deleted") }).describe("Request schema for `DeleteAgent`");
|
|
5
|
+
const RetellaiDeleteAgent_ErrorResponseSchema = zod.z.object({
|
|
6
|
+
status: zod.z.string().describe("Error status indicator, always 'error'"),
|
|
7
|
+
message: zod.z.string().describe("Error message describing what went wrong")
|
|
8
|
+
}).describe("Error response structure for delete agent operation");
|
|
9
|
+
const RetellaiDeleteAgentOutput = zod.z.object({ error: RetellaiDeleteAgent_ErrorResponseSchema.nullable().optional() }).describe("Response schema for `DeleteAgent`. Returns empty response on successful deletion (204 No Content).");
|
|
10
|
+
const retellaiDeleteAgent = require_action.action("RETELLAI_DELETE_AGENT", {
|
|
11
|
+
slug: "retellai-delete-agent",
|
|
12
|
+
name: "Delete agent",
|
|
13
|
+
description: "Deletes an existing agent by its unique identifier. Returns 204 No Content on successful deletion.",
|
|
14
|
+
input: RetellaiDeleteAgentInput,
|
|
15
|
+
output: RetellaiDeleteAgentOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.retellaiDeleteAgent = retellaiDeleteAgent;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=delete-agent.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-agent.cjs","names":["z","action"],"sources":["../../src/actions/delete-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteAgentInput: z.ZodTypeAny = z.object({\n agent_id: z.string().describe(\"Unique id of the agent to be deleted\"),\n}).describe(\"Request schema for `DeleteAgent`\");\nconst RetellaiDeleteAgent_ErrorResponseSchema: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Error status indicator, always 'error'\"),\n message: z.string().describe(\"Error message describing what went wrong\"),\n}).describe(\"Error response structure for delete agent operation\");\nexport const RetellaiDeleteAgentOutput: z.ZodTypeAny = z.object({\n error: RetellaiDeleteAgent_ErrorResponseSchema.nullable().optional(),\n}).describe(\"Response schema for `DeleteAgent`. Returns empty response on successful deletion (204 No Content).\");\n\nexport const retellaiDeleteAgent = action(\"RETELLAI_DELETE_AGENT\", {\n slug: \"retellai-delete-agent\",\n name: \"Delete agent\",\n description: \"Deletes an existing agent by its unique identifier. Returns 204 No Content on successful deletion.\",\n input: RetellaiDeleteAgentInput,\n output: RetellaiDeleteAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AACzE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,oGAAoG;AAEhH,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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/delete-agent.d.ts
|
|
4
|
+
declare const RetellaiDeleteAgentInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiDeleteAgentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiDeleteAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiDeleteAgent };
|
|
9
|
+
//# sourceMappingURL=delete-agent.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-agent.d.cts","names":[],"sources":["../../src/actions/delete-agent.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEM;AAAA,cAKlC,yBAAA,EAA2B,CAAA,CAAE,UAEuE;AAAA,cAEpG,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-agent.d.ts
|
|
4
|
+
declare const RetellaiDeleteAgentInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiDeleteAgentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiDeleteAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiDeleteAgent };
|
|
9
|
+
//# sourceMappingURL=delete-agent.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-agent.d.mts","names":[],"sources":["../../src/actions/delete-agent.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEM;AAAA,cAKlC,yBAAA,EAA2B,CAAA,CAAE,UAEuE;AAAA,cAEpG,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-agent.ts
|
|
4
|
+
const RetellaiDeleteAgentInput = z.object({ agent_id: z.string().describe("Unique id of the agent to be deleted") }).describe("Request schema for `DeleteAgent`");
|
|
5
|
+
const RetellaiDeleteAgent_ErrorResponseSchema = z.object({
|
|
6
|
+
status: z.string().describe("Error status indicator, always 'error'"),
|
|
7
|
+
message: z.string().describe("Error message describing what went wrong")
|
|
8
|
+
}).describe("Error response structure for delete agent operation");
|
|
9
|
+
const retellaiDeleteAgent = action("RETELLAI_DELETE_AGENT", {
|
|
10
|
+
slug: "retellai-delete-agent",
|
|
11
|
+
name: "Delete agent",
|
|
12
|
+
description: "Deletes an existing agent by its unique identifier. Returns 204 No Content on successful deletion.",
|
|
13
|
+
input: RetellaiDeleteAgentInput,
|
|
14
|
+
output: z.object({ error: RetellaiDeleteAgent_ErrorResponseSchema.nullable().optional() }).describe("Response schema for `DeleteAgent`. Returns empty response on successful deletion (204 No Content).")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { retellaiDeleteAgent };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-agent.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-agent.mjs","names":[],"sources":["../../src/actions/delete-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteAgentInput: z.ZodTypeAny = z.object({\n agent_id: z.string().describe(\"Unique id of the agent to be deleted\"),\n}).describe(\"Request schema for `DeleteAgent`\");\nconst RetellaiDeleteAgent_ErrorResponseSchema: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Error status indicator, always 'error'\"),\n message: z.string().describe(\"Error message describing what went wrong\"),\n}).describe(\"Error response structure for delete agent operation\");\nexport const RetellaiDeleteAgentOutput: z.ZodTypeAny = z.object({\n error: RetellaiDeleteAgent_ErrorResponseSchema.nullable().optional(),\n}).describe(\"Response schema for `DeleteAgent`. Returns empty response on successful deletion (204 No Content).\");\n\nexport const retellaiDeleteAgent = action(\"RETELLAI_DELETE_AGENT\", {\n slug: \"retellai-delete-agent\",\n name: \"Delete agent\",\n description: \"Deletes an existing agent by its unique identifier. Returns 204 No Content on successful deletion.\",\n input: RetellaiDeleteAgentInput,\n output: RetellaiDeleteAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,0CAAwD,EAAE,OAAO;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AACzE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAKjE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,oGAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-call.ts
|
|
4
|
+
const RetellaiDeleteCallInput = zod.z.object({ call_id: zod.z.string().describe("The call id to delete.") }).describe("Request schema for `DeleteCall`");
|
|
5
|
+
const RetellaiDeleteCallOutput = zod.z.object({}).describe("Response schema for `DeleteCall`. Returns 204 No Content on successful deletion.");
|
|
6
|
+
const retellaiDeleteCall = require_action.action("RETELLAI_DELETE_CALL", {
|
|
7
|
+
slug: "retellai-delete-call",
|
|
8
|
+
name: "Delete call",
|
|
9
|
+
description: "Delete a specific call and its associated data by call ID. Use when you need to permanently remove a call record from the system.",
|
|
10
|
+
input: RetellaiDeleteCallInput,
|
|
11
|
+
output: RetellaiDeleteCallOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.retellaiDeleteCall = retellaiDeleteCall;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-call.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-call.cjs","names":["z","action"],"sources":["../../src/actions/delete-call.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteCallInput: z.ZodTypeAny = z.object({\n call_id: z.string().describe(\"The call id to delete.\"),\n}).describe(\"Request schema for `DeleteCall`\");\nexport const RetellaiDeleteCallOutput: z.ZodTypeAny = z.object({}).describe(\"Response schema for `DeleteCall`. Returns 204 No Content on successful deletion.\");\n\nexport const retellaiDeleteCall = action(\"RETELLAI_DELETE_CALL\", {\n slug: \"retellai-delete-call\",\n name: \"Delete call\",\n description: \"Delete a specific call and its associated data by call ID. Use when you need to permanently remove a call record from the system.\",\n input: RetellaiDeleteCallInput,\n output: RetellaiDeleteCallOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACvD,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAE9J,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,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/delete-call.d.ts
|
|
4
|
+
declare const RetellaiDeleteCallInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiDeleteCallOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiDeleteCall: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiDeleteCall };
|
|
9
|
+
//# sourceMappingURL=delete-call.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-call.d.cts","names":[],"sources":["../../src/actions/delete-call.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEM;AAAA,cACjC,wBAAA,EAA0B,CAAA,CAAE,UAAsH;AAAA,cAElJ,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-call.d.ts
|
|
4
|
+
declare const RetellaiDeleteCallInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiDeleteCallOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiDeleteCall: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiDeleteCall };
|
|
9
|
+
//# sourceMappingURL=delete-call.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-call.d.mts","names":[],"sources":["../../src/actions/delete-call.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEM;AAAA,cACjC,wBAAA,EAA0B,CAAA,CAAE,UAAsH;AAAA,cAElJ,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const retellaiDeleteCall = action("RETELLAI_DELETE_CALL", {
|
|
4
|
+
slug: "retellai-delete-call",
|
|
5
|
+
name: "Delete call",
|
|
6
|
+
description: "Delete a specific call and its associated data by call ID. Use when you need to permanently remove a call record from the system.",
|
|
7
|
+
input: z.object({ call_id: z.string().describe("The call id to delete.") }).describe("Request schema for `DeleteCall`"),
|
|
8
|
+
output: z.object({}).describe("Response schema for `DeleteCall`. Returns 204 No Content on successful deletion.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { retellaiDeleteCall };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=delete-call.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-call.mjs","names":[],"sources":["../../src/actions/delete-call.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteCallInput: z.ZodTypeAny = z.object({\n call_id: z.string().describe(\"The call id to delete.\"),\n}).describe(\"Request schema for `DeleteCall`\");\nexport const RetellaiDeleteCallOutput: z.ZodTypeAny = z.object({}).describe(\"Response schema for `DeleteCall`. Returns 204 No Content on successful deletion.\");\n\nexport const retellaiDeleteCall = action(\"RETELLAI_DELETE_CALL\", {\n slug: \"retellai-delete-call\",\n name: \"Delete call\",\n description: \"Delete a specific call and its associated data by call ID. Use when you need to permanently remove a call record from the system.\",\n input: RetellaiDeleteCallInput,\n output: RetellaiDeleteCallOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACvD,CAAC,CAAC,CAAC,SAAS,iCAOH;CACP,QAPoD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAOlE;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-chat-agent.ts
|
|
4
|
+
const RetellaiDeleteChatAgentInput = zod.z.object({ agent_id: zod.z.string().describe("The unique identifier of the chat agent to delete") }).describe("Request schema for `DeleteChatAgent`");
|
|
5
|
+
const RetellaiDeleteChatAgentOutput = zod.z.object({
|
|
6
|
+
status: zod.z.string().describe("Error status indicator, always 'error' when present").nullable().optional(),
|
|
7
|
+
message: zod.z.string().describe("Human-readable error description").nullable().optional()
|
|
8
|
+
}).describe("Response schema for `DeleteChatAgent`\n\nSuccess (204): Returns None or empty response\nError responses contain status and message fields");
|
|
9
|
+
const retellaiDeleteChatAgent = require_action.action("RETELLAI_DELETE_CHAT_AGENT", {
|
|
10
|
+
slug: "retellai-delete-chat-agent",
|
|
11
|
+
name: "Delete chat agent",
|
|
12
|
+
description: "Delete an existing chat agent by its unique identifier. Use when you need to permanently remove a chat agent from the system.",
|
|
13
|
+
input: RetellaiDeleteChatAgentInput,
|
|
14
|
+
output: RetellaiDeleteChatAgentOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.retellaiDeleteChatAgent = retellaiDeleteChatAgent;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-chat-agent.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-chat-agent.cjs","names":["z","action"],"sources":["../../src/actions/delete-chat-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteChatAgentInput: z.ZodTypeAny = z.object({\n agent_id: z.string().describe(\"The unique identifier of the chat agent to delete\"),\n}).describe(\"Request schema for `DeleteChatAgent`\");\nexport const RetellaiDeleteChatAgentOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Error status indicator, always 'error' when present\").nullable().optional(),\n message: z.string().describe(\"Human-readable error description\").nullable().optional(),\n}).describe(\"Response schema for `DeleteChatAgent`\\n\\nSuccess (204): Returns None or empty response\\nError responses contain status and message fields\");\n\nexport const retellaiDeleteChatAgent = action(\"RETELLAI_DELETE_CHAT_AGENT\", {\n slug: \"retellai-delete-chat-agent\",\n name: \"Delete chat agent\",\n description: \"Delete an existing chat agent by its unique identifier. Use when you need to permanently remove a chat agent from the system.\",\n input: RetellaiDeleteChatAgentInput,\n output: RetellaiDeleteChatAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,2IAA2I;AAEvJ,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,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/delete-chat-agent.d.ts
|
|
4
|
+
declare const RetellaiDeleteChatAgentInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiDeleteChatAgentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiDeleteChatAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiDeleteChatAgent };
|
|
9
|
+
//# sourceMappingURL=delete-chat-agent.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-chat-agent.d.cts","names":[],"sources":["../../src/actions/delete-chat-agent.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEM;AAAA,cACtC,6BAAA,EAA+B,CAAA,CAAE,UAG0G;AAAA,cAE3I,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-chat-agent.d.ts
|
|
4
|
+
declare const RetellaiDeleteChatAgentInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiDeleteChatAgentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiDeleteChatAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiDeleteChatAgent };
|
|
9
|
+
//# sourceMappingURL=delete-chat-agent.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-chat-agent.d.mts","names":[],"sources":["../../src/actions/delete-chat-agent.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEM;AAAA,cACtC,6BAAA,EAA+B,CAAA,CAAE,UAG0G;AAAA,cAE3I,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const retellaiDeleteChatAgent = action("RETELLAI_DELETE_CHAT_AGENT", {
|
|
4
|
+
slug: "retellai-delete-chat-agent",
|
|
5
|
+
name: "Delete chat agent",
|
|
6
|
+
description: "Delete an existing chat agent by its unique identifier. Use when you need to permanently remove a chat agent from the system.",
|
|
7
|
+
input: z.object({ agent_id: z.string().describe("The unique identifier of the chat agent to delete") }).describe("Request schema for `DeleteChatAgent`"),
|
|
8
|
+
output: z.object({
|
|
9
|
+
status: z.string().describe("Error status indicator, always 'error' when present").nullable().optional(),
|
|
10
|
+
message: z.string().describe("Human-readable error description").nullable().optional()
|
|
11
|
+
}).describe("Response schema for `DeleteChatAgent`\n\nSuccess (204): Returns None or empty response\nError responses contain status and message fields")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { retellaiDeleteChatAgent };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-chat-agent.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-chat-agent.mjs","names":[],"sources":["../../src/actions/delete-chat-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteChatAgentInput: z.ZodTypeAny = z.object({\n agent_id: z.string().describe(\"The unique identifier of the chat agent to delete\"),\n}).describe(\"Request schema for `DeleteChatAgent`\");\nexport const RetellaiDeleteChatAgentOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Error status indicator, always 'error' when present\").nullable().optional(),\n message: z.string().describe(\"Human-readable error description\").nullable().optional(),\n}).describe(\"Response schema for `DeleteChatAgent`\\n\\nSuccess (204): Returns None or empty response\\nError responses contain status and message fields\");\n\nexport const retellaiDeleteChatAgent = action(\"RETELLAI_DELETE_CHAT_AGENT\", {\n slug: \"retellai-delete-chat-agent\",\n name: \"Delete chat agent\",\n description: \"Delete an existing chat agent by its unique identifier. Use when you need to permanently remove a chat agent from the system.\",\n input: RetellaiDeleteChatAgentInput,\n output: RetellaiDeleteChatAgentOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwD,EAAE,OAAO,EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC,CAAC,CAAC,SAAS,sCAUH;CACP,QAVyD,EAAE,OAAO;EAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,2IAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-conversation-flow-component.ts
|
|
4
|
+
const RetellaiDeleteConversationFlowComponentInput = zod.z.object({ conversation_flow_component_id: zod.z.string().describe("The unique identifier of the conversation flow component to delete.") }).describe("Request schema for `DeleteConversationFlowComponent`");
|
|
5
|
+
const RetellaiDeleteConversationFlowComponentOutput = zod.z.object({}).describe("Response schema for `DeleteConversationFlowComponent`.\n\nReturns 204 No Content on success with an empty response body.\nWhen a shared component is deleted, it creates local copies for all linked conversation flows.");
|
|
6
|
+
const retellaiDeleteConversationFlowComponent = require_action.action("RETELLAI_DELETE_CONVERSATION_FLOW_COMPONENT", {
|
|
7
|
+
slug: "retellai-delete-conversation-flow-component",
|
|
8
|
+
name: "Delete conversation flow component",
|
|
9
|
+
description: "Delete a shared conversation flow component. When deleting a shared component, creates local copies for all linked conversation flows.",
|
|
10
|
+
input: RetellaiDeleteConversationFlowComponentInput,
|
|
11
|
+
output: RetellaiDeleteConversationFlowComponentOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.retellaiDeleteConversationFlowComponent = retellaiDeleteConversationFlowComponent;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-conversation-flow-component.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-conversation-flow-component.cjs","names":["z","action"],"sources":["../../src/actions/delete-conversation-flow-component.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteConversationFlowComponentInput: z.ZodTypeAny = z.object({\n conversation_flow_component_id: z.string().describe(\"The unique identifier of the conversation flow component to delete.\"),\n}).describe(\"Request schema for `DeleteConversationFlowComponent`\");\nexport const RetellaiDeleteConversationFlowComponentOutput: z.ZodTypeAny = z.object({}).describe(\"Response schema for `DeleteConversationFlowComponent`.\\n\\nReturns 204 No Content on success with an empty response body.\\nWhen a shared component is deleted, it creates local copies for all linked conversation flows.\");\n\nexport const retellaiDeleteConversationFlowComponent = action(\"RETELLAI_DELETE_CONVERSATION_FLOW_COMPONENT\", {\n slug: \"retellai-delete-conversation-flow-component\",\n name: \"Delete conversation flow component\",\n description: \"Delete a shared conversation flow component. When deleting a shared component, creates local copies for all linked conversation flows.\",\n input: RetellaiDeleteConversationFlowComponentInput,\n output: RetellaiDeleteConversationFlowComponentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA6DA,IAAAA,EAAE,OAAO,EACjF,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EAC3H,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,gDAA8DA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0NAA0N;AAE3T,MAAa,0CAA0CC,eAAAA,OAAO,+CAA+C;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|