@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
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/retellai
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `retellai`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 67
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { retellaiAddCommunityVoice } from "@keystrokehq/retellai/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "retellai-agent",
|
|
15
|
+
tools: [retellaiAddCommunityVoice],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.retellai.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeRetellaiTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["retellai","executeRetellaiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { retellai } from \"./app\";\nimport { executeRetellaiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return retellai.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRetellaiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { retellai } from "./app.mjs";
|
|
2
|
+
import { executeRetellaiTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return retellai.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeRetellaiTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { retellai } from \"./app\";\nimport { executeRetellaiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return retellai.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRetellaiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/add-community-voice.ts
|
|
4
|
+
const RetellaiAddCommunityVoiceInput = zod.z.object({
|
|
5
|
+
voice_name: zod.z.string().describe("Custom name for the voice in your library. This will be how the voice appears in your voice list."),
|
|
6
|
+
public_user_id: zod.z.string().describe("Public user ID of the voice creator. This is required for ElevenLabs community voices to properly attribute and access the voice."),
|
|
7
|
+
provider_voice_id: zod.z.string().describe("The voice ID from the voice provider (e.g., ElevenLabs). This identifies the specific community voice you want to add to your library.")
|
|
8
|
+
}).describe("Request schema for `AddCommunityVoice`");
|
|
9
|
+
const RetellaiAddCommunityVoiceOutput = zod.z.object({
|
|
10
|
+
provider: zod.z.string().describe("Voice provider (e.g., 'elevenlabs')").nullable().optional(),
|
|
11
|
+
voice_id: zod.z.string().describe("Unique identifier for the added voice in your library").nullable().optional(),
|
|
12
|
+
avatar_url: zod.z.string().describe("URL to the avatar image for the voice").nullable().optional(),
|
|
13
|
+
voice_name: zod.z.string().describe("Name of the voice as stored in your library").nullable().optional(),
|
|
14
|
+
voice_type: zod.z.string().describe("Type of voice (e.g., 'custom')").nullable().optional(),
|
|
15
|
+
preview_audio_url: zod.z.string().describe("URL to preview audio sample of the voice").nullable().optional()
|
|
16
|
+
}).describe("Response schema for `AddCommunityVoice`");
|
|
17
|
+
const retellaiAddCommunityVoice = require_action.action("RETELLAI_ADD_COMMUNITY_VOICE", {
|
|
18
|
+
slug: "retellai-add-community-voice",
|
|
19
|
+
name: "Add community voice",
|
|
20
|
+
description: "Add a community voice from ElevenLabs to your Retell voice library. Use when you need to import a shared community voice for use in your agents.",
|
|
21
|
+
input: RetellaiAddCommunityVoiceInput,
|
|
22
|
+
output: RetellaiAddCommunityVoiceOutput
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
exports.retellaiAddCommunityVoice = retellaiAddCommunityVoice;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=add-community-voice.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-community-voice.cjs","names":["z","action"],"sources":["../../src/actions/add-community-voice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiAddCommunityVoiceInput: z.ZodTypeAny = z.object({\n voice_name: z.string().describe(\"Custom name for the voice in your library. This will be how the voice appears in your voice list.\"),\n public_user_id: z.string().describe(\"Public user ID of the voice creator. This is required for ElevenLabs community voices to properly attribute and access the voice.\"),\n provider_voice_id: z.string().describe(\"The voice ID from the voice provider (e.g., ElevenLabs). This identifies the specific community voice you want to add to your library.\"),\n}).describe(\"Request schema for `AddCommunityVoice`\");\nexport const RetellaiAddCommunityVoiceOutput: z.ZodTypeAny = z.object({\n provider: z.string().describe(\"Voice provider (e.g., 'elevenlabs')\").nullable().optional(),\n voice_id: z.string().describe(\"Unique identifier for the added voice in your library\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to the avatar image for the voice\").nullable().optional(),\n voice_name: z.string().describe(\"Name of the voice as stored in your library\").nullable().optional(),\n voice_type: z.string().describe(\"Type of voice (e.g., 'custom')\").nullable().optional(),\n preview_audio_url: z.string().describe(\"URL to preview audio sample of the voice\").nullable().optional(),\n}).describe(\"Response schema for `AddCommunityVoice`\");\n\nexport const retellaiAddCommunityVoice = action(\"RETELLAI_ADD_COMMUNITY_VOICE\", {\n slug: \"retellai-add-community-voice\",\n name: \"Add community voice\",\n description: \"Add a community voice from ElevenLabs to your Retell voice library. Use when you need to import a shared community voice for use in your agents.\",\n input: RetellaiAddCommunityVoiceInput,\n output: RetellaiAddCommunityVoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CACnI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CACvK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;AACjL,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/add-community-voice.d.ts
|
|
4
|
+
declare const RetellaiAddCommunityVoiceInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiAddCommunityVoiceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiAddCommunityVoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiAddCommunityVoice };
|
|
9
|
+
//# sourceMappingURL=add-community-voice.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-community-voice.d.cts","names":[],"sources":["../../src/actions/add-community-voice.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIM;AAAA,cACxC,+BAAA,EAAiC,CAAA,CAAE,UAOM;AAAA,cAEzC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/add-community-voice.d.ts
|
|
4
|
+
declare const RetellaiAddCommunityVoiceInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiAddCommunityVoiceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiAddCommunityVoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiAddCommunityVoice };
|
|
9
|
+
//# sourceMappingURL=add-community-voice.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-community-voice.d.mts","names":[],"sources":["../../src/actions/add-community-voice.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAIM;AAAA,cACxC,+BAAA,EAAiC,CAAA,CAAE,UAOM;AAAA,cAEzC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const retellaiAddCommunityVoice = action("RETELLAI_ADD_COMMUNITY_VOICE", {
|
|
4
|
+
slug: "retellai-add-community-voice",
|
|
5
|
+
name: "Add community voice",
|
|
6
|
+
description: "Add a community voice from ElevenLabs to your Retell voice library. Use when you need to import a shared community voice for use in your agents.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
voice_name: z.string().describe("Custom name for the voice in your library. This will be how the voice appears in your voice list."),
|
|
9
|
+
public_user_id: z.string().describe("Public user ID of the voice creator. This is required for ElevenLabs community voices to properly attribute and access the voice."),
|
|
10
|
+
provider_voice_id: z.string().describe("The voice ID from the voice provider (e.g., ElevenLabs). This identifies the specific community voice you want to add to your library.")
|
|
11
|
+
}).describe("Request schema for `AddCommunityVoice`"),
|
|
12
|
+
output: z.object({
|
|
13
|
+
provider: z.string().describe("Voice provider (e.g., 'elevenlabs')").nullable().optional(),
|
|
14
|
+
voice_id: z.string().describe("Unique identifier for the added voice in your library").nullable().optional(),
|
|
15
|
+
avatar_url: z.string().describe("URL to the avatar image for the voice").nullable().optional(),
|
|
16
|
+
voice_name: z.string().describe("Name of the voice as stored in your library").nullable().optional(),
|
|
17
|
+
voice_type: z.string().describe("Type of voice (e.g., 'custom')").nullable().optional(),
|
|
18
|
+
preview_audio_url: z.string().describe("URL to preview audio sample of the voice").nullable().optional()
|
|
19
|
+
}).describe("Response schema for `AddCommunityVoice`")
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { retellaiAddCommunityVoice };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=add-community-voice.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-community-voice.mjs","names":[],"sources":["../../src/actions/add-community-voice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiAddCommunityVoiceInput: z.ZodTypeAny = z.object({\n voice_name: z.string().describe(\"Custom name for the voice in your library. This will be how the voice appears in your voice list.\"),\n public_user_id: z.string().describe(\"Public user ID of the voice creator. This is required for ElevenLabs community voices to properly attribute and access the voice.\"),\n provider_voice_id: z.string().describe(\"The voice ID from the voice provider (e.g., ElevenLabs). This identifies the specific community voice you want to add to your library.\"),\n}).describe(\"Request schema for `AddCommunityVoice`\");\nexport const RetellaiAddCommunityVoiceOutput: z.ZodTypeAny = z.object({\n provider: z.string().describe(\"Voice provider (e.g., 'elevenlabs')\").nullable().optional(),\n voice_id: z.string().describe(\"Unique identifier for the added voice in your library\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to the avatar image for the voice\").nullable().optional(),\n voice_name: z.string().describe(\"Name of the voice as stored in your library\").nullable().optional(),\n voice_type: z.string().describe(\"Type of voice (e.g., 'custom')\").nullable().optional(),\n preview_audio_url: z.string().describe(\"URL to preview audio sample of the voice\").nullable().optional(),\n}).describe(\"Response schema for `AddCommunityVoice`\");\n\nexport const retellaiAddCommunityVoice = action(\"RETELLAI_ADD_COMMUNITY_VOICE\", {\n slug: \"retellai-add-community-voice\",\n name: \"Add community voice\",\n description: \"Add a community voice from ElevenLabs to your Retell voice library. Use when you need to import a shared community voice for use in your agents.\",\n input: RetellaiAddCommunityVoiceInput,\n output: RetellaiAddCommunityVoiceOutput,\n});\n"],"mappings":";;AAkBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0D,EAAE,OAAO;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EACnI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;EACvK,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACjL,CAAC,CAAC,CAAC,SAAS,wCAcH;CACP,QAd2D,EAAE,OAAO;EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/add-knowledge-base-sources.ts
|
|
4
|
+
const RetellaiAddKnowledgeBaseSourcesInput = zod.z.object({
|
|
5
|
+
knowledge_base_id: zod.z.string().describe("The knowledge base id to add sources to"),
|
|
6
|
+
knowledge_base_urls: zod.z.array(zod.z.string()).describe("URLs to be scraped and added to the knowledge base. Must be valid URLs.").optional(),
|
|
7
|
+
knowledge_base_files: zod.z.array(zod.z.object({
|
|
8
|
+
name: zod.z.string().describe("The filename that will be used when uploading the file to the destination service"),
|
|
9
|
+
s3key: zod.z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
|
|
10
|
+
mimetype: zod.z.string().describe("The MIME type of the file")
|
|
11
|
+
})).describe("Files to add to the knowledge base. Limit to 25 files, where each file is limited to 50MB.").optional(),
|
|
12
|
+
knowledge_base_texts: zod.z.array(zod.z.object({
|
|
13
|
+
text: zod.z.string().describe("The text content to add to the knowledge base"),
|
|
14
|
+
title: zod.z.string().describe("Title or label for this text entry")
|
|
15
|
+
}).describe("Text entry for knowledge base")).describe("Texts to add to the knowledge base. Array of objects with title (string, required) and text (string, required).").optional()
|
|
16
|
+
}).describe("Request schema for adding sources to a knowledge base");
|
|
17
|
+
const RetellaiAddKnowledgeBaseSources_DocumentSourceSchema = zod.z.object({
|
|
18
|
+
type: zod.z.string().describe("Source type identifier, value is 'document'"),
|
|
19
|
+
file_url: zod.z.string().describe("URL to access the document file"),
|
|
20
|
+
filename: zod.z.string().describe("Name of the document file"),
|
|
21
|
+
file_size: zod.z.number().int().describe("Size of the document file in bytes").nullable().optional(),
|
|
22
|
+
source_id: zod.z.string().describe("Unique identifier of the source")
|
|
23
|
+
}).describe("Document source type for knowledge base");
|
|
24
|
+
const RetellaiAddKnowledgeBaseSources_TextSourceSchema = zod.z.object({
|
|
25
|
+
type: zod.z.string().describe("Source type identifier, value is 'text'"),
|
|
26
|
+
title: zod.z.string().describe("Title of the text source"),
|
|
27
|
+
source_id: zod.z.string().describe("Unique identifier of the source"),
|
|
28
|
+
content_url: zod.z.string().describe("URL to access the text content")
|
|
29
|
+
}).describe("Text source type for knowledge base");
|
|
30
|
+
const RetellaiAddKnowledgeBaseSources_URLSourceSchema = zod.z.object({
|
|
31
|
+
url: zod.z.string().describe("URL of the source"),
|
|
32
|
+
type: zod.z.string().describe("Source type identifier, value is 'url'"),
|
|
33
|
+
source_id: zod.z.string().describe("Unique identifier of the source")
|
|
34
|
+
}).describe("URL source type for knowledge base");
|
|
35
|
+
const RetellaiAddKnowledgeBaseSourcesOutput = zod.z.object({
|
|
36
|
+
status: zod.z.string().describe("Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress"),
|
|
37
|
+
knowledge_base_id: zod.z.string().describe("Unique id of the knowledge base"),
|
|
38
|
+
enable_auto_refresh: zod.z.boolean().describe("Whether to enable auto refresh for the knowledge base URLs").nullable().optional(),
|
|
39
|
+
knowledge_base_name: zod.z.string().describe("Name of the knowledge base"),
|
|
40
|
+
knowledge_base_sources: zod.z.array(zod.z.union([
|
|
41
|
+
RetellaiAddKnowledgeBaseSources_DocumentSourceSchema,
|
|
42
|
+
RetellaiAddKnowledgeBaseSources_TextSourceSchema,
|
|
43
|
+
RetellaiAddKnowledgeBaseSources_URLSourceSchema
|
|
44
|
+
])).describe("Collection of source items (documents, text, or URLs)").nullable().optional(),
|
|
45
|
+
last_refreshed_timestamp: zod.z.number().int().describe("Last refreshed timestamp in milliseconds since epoch").nullable().optional()
|
|
46
|
+
}).describe("Response schema for adding sources to a knowledge base");
|
|
47
|
+
const retellaiAddKnowledgeBaseSources = require_action.action("RETELLAI_ADD_KNOWLEDGE_BASE_SOURCES", {
|
|
48
|
+
slug: "retellai-add-knowledge-base-sources",
|
|
49
|
+
name: "Add sources to knowledge base",
|
|
50
|
+
description: "Tool to add sources (documents, URLs, text) to an existing knowledge base in Retell AI. Use when you need to add additional content to a knowledge base. At least one of knowledge_base_texts, knowledge_base_files, or knowledge_base_urls should be provided.",
|
|
51
|
+
input: RetellaiAddKnowledgeBaseSourcesInput,
|
|
52
|
+
output: RetellaiAddKnowledgeBaseSourcesOutput
|
|
53
|
+
});
|
|
54
|
+
//#endregion
|
|
55
|
+
exports.retellaiAddKnowledgeBaseSources = retellaiAddKnowledgeBaseSources;
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=add-knowledge-base-sources.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-knowledge-base-sources.cjs","names":["z","action"],"sources":["../../src/actions/add-knowledge-base-sources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiAddKnowledgeBaseSourcesInput: z.ZodTypeAny = z.object({\n knowledge_base_id: z.string().describe(\"The knowledge base id to add sources to\"),\n knowledge_base_urls: z.array(z.string()).describe(\"URLs to be scraped and added to the knowledge base. Must be valid URLs.\").optional(),\n knowledge_base_files: z.array(z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n})).describe(\"Files to add to the knowledge base. Limit to 25 files, where each file is limited to 50MB.\").optional(),\n knowledge_base_texts: z.array(z.object({\n text: z.string().describe(\"The text content to add to the knowledge base\"),\n title: z.string().describe(\"Title or label for this text entry\"),\n}).describe(\"Text entry for knowledge base\")).describe(\"Texts to add to the knowledge base. Array of objects with title (string, required) and text (string, required).\").optional(),\n}).describe(\"Request schema for adding sources to a knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_DocumentSourceSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Source type identifier, value is 'document'\"),\n file_url: z.string().describe(\"URL to access the document file\"),\n filename: z.string().describe(\"Name of the document file\"),\n file_size: z.number().int().describe(\"Size of the document file in bytes\").nullable().optional(),\n source_id: z.string().describe(\"Unique identifier of the source\"),\n}).describe(\"Document source type for knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_TextSourceSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Source type identifier, value is 'text'\"),\n title: z.string().describe(\"Title of the text source\"),\n source_id: z.string().describe(\"Unique identifier of the source\"),\n content_url: z.string().describe(\"URL to access the text content\"),\n}).describe(\"Text source type for knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_URLSourceSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the source\"),\n type: z.string().describe(\"Source type identifier, value is 'url'\"),\n source_id: z.string().describe(\"Unique identifier of the source\"),\n}).describe(\"URL source type for knowledge base\");\nexport const RetellaiAddKnowledgeBaseSourcesOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress\"),\n knowledge_base_id: z.string().describe(\"Unique id of the knowledge base\"),\n enable_auto_refresh: z.boolean().describe(\"Whether to enable auto refresh for the knowledge base URLs\").nullable().optional(),\n knowledge_base_name: z.string().describe(\"Name of the knowledge base\"),\n knowledge_base_sources: z.array(z.union([RetellaiAddKnowledgeBaseSources_DocumentSourceSchema, RetellaiAddKnowledgeBaseSources_TextSourceSchema, RetellaiAddKnowledgeBaseSources_URLSourceSchema])).describe(\"Collection of source items (documents, text, or URLs)\").nullable().optional(),\n last_refreshed_timestamp: z.number().int().describe(\"Last refreshed timestamp in milliseconds since epoch\").nullable().optional(),\n}).describe(\"Response schema for adding sources to a knowledge base\");\n\nexport const retellaiAddKnowledgeBaseSources = action(\"RETELLAI_ADD_KNOWLEDGE_BASE_SOURCES\", {\n slug: \"retellai-add-knowledge-base-sources\",\n name: \"Add sources to knowledge base\",\n description: \"Tool to add sources (documents, URLs, text) to an existing knowledge base in Retell AI. Use when you need to add additional content to a knowledge base. At least one of knowledge_base_texts, knowledge_base_files, or knowledge_base_urls should be provided.\",\n input: RetellaiAddKnowledgeBaseSourcesInput,\n output: RetellaiAddKnowledgeBaseSourcesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAChF,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACtI,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClH,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAClE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACrD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAClE,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;CAC9I,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACxE,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACrE,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAAC;EAAsD;EAAkD;CAA+C,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1R,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,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/add-knowledge-base-sources.d.ts
|
|
4
|
+
declare const RetellaiAddKnowledgeBaseSourcesInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiAddKnowledgeBaseSourcesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiAddKnowledgeBaseSources: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiAddKnowledgeBaseSources };
|
|
9
|
+
//# sourceMappingURL=add-knowledge-base-sources.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-knowledge-base-sources.d.cts","names":[],"sources":["../../src/actions/add-knowledge-base-sources.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAYe;AAAA,cAmBvD,qCAAA,EAAuC,CAAA,CAAE,UAOe;AAAA,cAExD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/add-knowledge-base-sources.d.ts
|
|
4
|
+
declare const RetellaiAddKnowledgeBaseSourcesInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiAddKnowledgeBaseSourcesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiAddKnowledgeBaseSources: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiAddKnowledgeBaseSources };
|
|
9
|
+
//# sourceMappingURL=add-knowledge-base-sources.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-knowledge-base-sources.d.mts","names":[],"sources":["../../src/actions/add-knowledge-base-sources.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAYe;AAAA,cAmBvD,qCAAA,EAAuC,CAAA,CAAE,UAOe;AAAA,cAExD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/add-knowledge-base-sources.ts
|
|
4
|
+
const RetellaiAddKnowledgeBaseSourcesInput = z.object({
|
|
5
|
+
knowledge_base_id: z.string().describe("The knowledge base id to add sources to"),
|
|
6
|
+
knowledge_base_urls: z.array(z.string()).describe("URLs to be scraped and added to the knowledge base. Must be valid URLs.").optional(),
|
|
7
|
+
knowledge_base_files: z.array(z.object({
|
|
8
|
+
name: z.string().describe("The filename that will be used when uploading the file to the destination service"),
|
|
9
|
+
s3key: z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
|
|
10
|
+
mimetype: z.string().describe("The MIME type of the file")
|
|
11
|
+
})).describe("Files to add to the knowledge base. Limit to 25 files, where each file is limited to 50MB.").optional(),
|
|
12
|
+
knowledge_base_texts: z.array(z.object({
|
|
13
|
+
text: z.string().describe("The text content to add to the knowledge base"),
|
|
14
|
+
title: z.string().describe("Title or label for this text entry")
|
|
15
|
+
}).describe("Text entry for knowledge base")).describe("Texts to add to the knowledge base. Array of objects with title (string, required) and text (string, required).").optional()
|
|
16
|
+
}).describe("Request schema for adding sources to a knowledge base");
|
|
17
|
+
const RetellaiAddKnowledgeBaseSources_DocumentSourceSchema = z.object({
|
|
18
|
+
type: z.string().describe("Source type identifier, value is 'document'"),
|
|
19
|
+
file_url: z.string().describe("URL to access the document file"),
|
|
20
|
+
filename: z.string().describe("Name of the document file"),
|
|
21
|
+
file_size: z.number().int().describe("Size of the document file in bytes").nullable().optional(),
|
|
22
|
+
source_id: z.string().describe("Unique identifier of the source")
|
|
23
|
+
}).describe("Document source type for knowledge base");
|
|
24
|
+
const RetellaiAddKnowledgeBaseSources_TextSourceSchema = z.object({
|
|
25
|
+
type: z.string().describe("Source type identifier, value is 'text'"),
|
|
26
|
+
title: z.string().describe("Title of the text source"),
|
|
27
|
+
source_id: z.string().describe("Unique identifier of the source"),
|
|
28
|
+
content_url: z.string().describe("URL to access the text content")
|
|
29
|
+
}).describe("Text source type for knowledge base");
|
|
30
|
+
const RetellaiAddKnowledgeBaseSources_URLSourceSchema = z.object({
|
|
31
|
+
url: z.string().describe("URL of the source"),
|
|
32
|
+
type: z.string().describe("Source type identifier, value is 'url'"),
|
|
33
|
+
source_id: z.string().describe("Unique identifier of the source")
|
|
34
|
+
}).describe("URL source type for knowledge base");
|
|
35
|
+
const retellaiAddKnowledgeBaseSources = action("RETELLAI_ADD_KNOWLEDGE_BASE_SOURCES", {
|
|
36
|
+
slug: "retellai-add-knowledge-base-sources",
|
|
37
|
+
name: "Add sources to knowledge base",
|
|
38
|
+
description: "Tool to add sources (documents, URLs, text) to an existing knowledge base in Retell AI. Use when you need to add additional content to a knowledge base. At least one of knowledge_base_texts, knowledge_base_files, or knowledge_base_urls should be provided.",
|
|
39
|
+
input: RetellaiAddKnowledgeBaseSourcesInput,
|
|
40
|
+
output: z.object({
|
|
41
|
+
status: z.string().describe("Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress"),
|
|
42
|
+
knowledge_base_id: z.string().describe("Unique id of the knowledge base"),
|
|
43
|
+
enable_auto_refresh: z.boolean().describe("Whether to enable auto refresh for the knowledge base URLs").nullable().optional(),
|
|
44
|
+
knowledge_base_name: z.string().describe("Name of the knowledge base"),
|
|
45
|
+
knowledge_base_sources: z.array(z.union([
|
|
46
|
+
RetellaiAddKnowledgeBaseSources_DocumentSourceSchema,
|
|
47
|
+
RetellaiAddKnowledgeBaseSources_TextSourceSchema,
|
|
48
|
+
RetellaiAddKnowledgeBaseSources_URLSourceSchema
|
|
49
|
+
])).describe("Collection of source items (documents, text, or URLs)").nullable().optional(),
|
|
50
|
+
last_refreshed_timestamp: z.number().int().describe("Last refreshed timestamp in milliseconds since epoch").nullable().optional()
|
|
51
|
+
}).describe("Response schema for adding sources to a knowledge base")
|
|
52
|
+
});
|
|
53
|
+
//#endregion
|
|
54
|
+
export { retellaiAddKnowledgeBaseSources };
|
|
55
|
+
|
|
56
|
+
//# sourceMappingURL=add-knowledge-base-sources.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-knowledge-base-sources.mjs","names":[],"sources":["../../src/actions/add-knowledge-base-sources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiAddKnowledgeBaseSourcesInput: z.ZodTypeAny = z.object({\n knowledge_base_id: z.string().describe(\"The knowledge base id to add sources to\"),\n knowledge_base_urls: z.array(z.string()).describe(\"URLs to be scraped and added to the knowledge base. Must be valid URLs.\").optional(),\n knowledge_base_files: z.array(z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n})).describe(\"Files to add to the knowledge base. Limit to 25 files, where each file is limited to 50MB.\").optional(),\n knowledge_base_texts: z.array(z.object({\n text: z.string().describe(\"The text content to add to the knowledge base\"),\n title: z.string().describe(\"Title or label for this text entry\"),\n}).describe(\"Text entry for knowledge base\")).describe(\"Texts to add to the knowledge base. Array of objects with title (string, required) and text (string, required).\").optional(),\n}).describe(\"Request schema for adding sources to a knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_DocumentSourceSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Source type identifier, value is 'document'\"),\n file_url: z.string().describe(\"URL to access the document file\"),\n filename: z.string().describe(\"Name of the document file\"),\n file_size: z.number().int().describe(\"Size of the document file in bytes\").nullable().optional(),\n source_id: z.string().describe(\"Unique identifier of the source\"),\n}).describe(\"Document source type for knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_TextSourceSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Source type identifier, value is 'text'\"),\n title: z.string().describe(\"Title of the text source\"),\n source_id: z.string().describe(\"Unique identifier of the source\"),\n content_url: z.string().describe(\"URL to access the text content\"),\n}).describe(\"Text source type for knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_URLSourceSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the source\"),\n type: z.string().describe(\"Source type identifier, value is 'url'\"),\n source_id: z.string().describe(\"Unique identifier of the source\"),\n}).describe(\"URL source type for knowledge base\");\nexport const RetellaiAddKnowledgeBaseSourcesOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress\"),\n knowledge_base_id: z.string().describe(\"Unique id of the knowledge base\"),\n enable_auto_refresh: z.boolean().describe(\"Whether to enable auto refresh for the knowledge base URLs\").nullable().optional(),\n knowledge_base_name: z.string().describe(\"Name of the knowledge base\"),\n knowledge_base_sources: z.array(z.union([RetellaiAddKnowledgeBaseSources_DocumentSourceSchema, RetellaiAddKnowledgeBaseSources_TextSourceSchema, RetellaiAddKnowledgeBaseSources_URLSourceSchema])).describe(\"Collection of source items (documents, text, or URLs)\").nullable().optional(),\n last_refreshed_timestamp: z.number().int().describe(\"Last refreshed timestamp in milliseconds since epoch\").nullable().optional(),\n}).describe(\"Response schema for adding sources to a knowledge base\");\n\nexport const retellaiAddKnowledgeBaseSources = action(\"RETELLAI_ADD_KNOWLEDGE_BASE_SOURCES\", {\n slug: \"retellai-add-knowledge-base-sources\",\n name: \"Add sources to knowledge base\",\n description: \"Tool to add sources (documents, URLs, text) to an existing knowledge base in Retell AI. Use when you need to add additional content to a knowledge base. At least one of knowledge_base_texts, knowledge_base_files, or knowledge_base_urls should be provided.\",\n input: RetellaiAddKnowledgeBaseSourcesInput,\n output: RetellaiAddKnowledgeBaseSourcesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO;CACzE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAChF,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACtI,sBAAsB,EAAE,MAAM,EAAE,OAAO;EACvC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAClH,sBAAsB,EAAE,MAAM,EAAE,OAAO;EACvC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,uDAAqE,EAAE,OAAO;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACzD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAClE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAChE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACnE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,kDAAgE,EAAE,OAAO;CAC7E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAClE,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAUhD,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdiE,EAAE,OAAO;EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;EAC9I,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EACxE,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACrE,wBAAwB,EAAE,MAAM,EAAE,MAAM;GAAC;GAAsD;GAAkD;EAA+C,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1R,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/buy-a-new-phone-number-bind-agents.ts
|
|
4
|
+
const RetellaiBuyANewPhoneNumberBindAgentsInput = zod.z.object({
|
|
5
|
+
nickname: zod.z.string().describe("Nickname for the number, for reference only.").optional(),
|
|
6
|
+
area_code: zod.z.number().int().describe("Area code of the number to obtain. Format is a 3-digit integer, currently supporting only US area codes.").optional(),
|
|
7
|
+
inbound_agent_id: zod.z.string().describe("Unique id of agent to bind to the number. If null, this number would not accept inbound calls.").optional(),
|
|
8
|
+
outbound_agent_id: zod.z.string().describe("Unique id of agent to bind to the number. If null, this number would not initiate outbound calls without an agent id override.").optional()
|
|
9
|
+
}).describe("Request schema for `BuyANewPhoneNumberBindAgents`");
|
|
10
|
+
const RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema = zod.z.object({
|
|
11
|
+
authUsername: zod.z.string().describe("Authentication username for SIP trunk.").nullable().optional(),
|
|
12
|
+
terminationUri: zod.z.string().describe("SIP termination URI for outbound calls.").nullable().optional(),
|
|
13
|
+
transportProtocol: zod.z.string().describe("Transport protocol for SIP connection (e.g., 'UDP', 'TCP', 'TLS').").nullable().optional()
|
|
14
|
+
}).describe("SIP configuration for outbound calls.");
|
|
15
|
+
const RetellaiBuyANewPhoneNumberBindAgentsOutput = zod.z.object({
|
|
16
|
+
areaCode: zod.z.number().int().describe("Three-digit US area code of the phone number.").nullable().optional(),
|
|
17
|
+
nickname: zod.z.string().describe("Custom reference label for the phone number.").nullable().optional(),
|
|
18
|
+
phone_number: zod.z.string().describe("E.164 formatted phone number (e.g., '+14157774444')."),
|
|
19
|
+
inboundAgentId: zod.z.string().describe("Agent ID that handles incoming calls to this phone number.").nullable().optional(),
|
|
20
|
+
outboundAgentId: zod.z.string().describe("Agent ID that initiates outbound calls from this phone number.").nullable().optional(),
|
|
21
|
+
phoneNumberType: zod.z.string().describe("Type of phone number, either 'retell-twilio', 'retell-telnyx', or 'custom'."),
|
|
22
|
+
inboundWebhookUrl: zod.z.string().describe("Webhook endpoint URL for customizing incoming call handling.").nullable().optional(),
|
|
23
|
+
phoneNumberPretty: zod.z.string().describe("Formatted display version of the phone number (e.g., '+1 (415) 777-4444').").nullable().optional(),
|
|
24
|
+
inboundAgentVersion: zod.z.number().int().describe("Version of the inbound agent bound to this phone number.").nullable().optional(),
|
|
25
|
+
outboundAgentVersion: zod.z.number().int().describe("Version of the outbound agent bound to this phone number.").nullable().optional(),
|
|
26
|
+
sipOutboundTrunkConfig: RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema.nullable().optional(),
|
|
27
|
+
allowedInboundCountryList: zod.z.array(zod.z.string()).describe("List of ISO country codes that are permitted to make inbound calls to this number.").nullable().optional(),
|
|
28
|
+
lastModificationTimestamp: zod.z.number().int().describe("Unix timestamp in milliseconds indicating when this phone number was last modified."),
|
|
29
|
+
allowedOutboundCountryList: zod.z.array(zod.z.string()).describe("List of ISO country codes that this number is permitted to call.").nullable().optional()
|
|
30
|
+
}).describe("Response schema for `BuyANewPhoneNumberBindAgents`");
|
|
31
|
+
const retellaiBuyANewPhoneNumberBindAgents = require_action.action("RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS", {
|
|
32
|
+
slug: "retellai-buy-a-new-phone-number-bind-agents",
|
|
33
|
+
name: "Buy a new phone number bind agents",
|
|
34
|
+
description: "This endpoint allows purchasing a new phone number with a specified area code and binding it to designated agents for inbound and outbound calls. It requires JSON with agent IDs and area code. Responses indicate the creation status or errors. A purchased phone number is a prerequisite for initiating outbound calls; an empty phone number inventory will prevent outbound calls from being made.",
|
|
35
|
+
input: RetellaiBuyANewPhoneNumberBindAgentsInput,
|
|
36
|
+
output: RetellaiBuyANewPhoneNumberBindAgentsOutput
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
exports.retellaiBuyANewPhoneNumberBindAgents = retellaiBuyANewPhoneNumberBindAgents;
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=buy-a-new-phone-number-bind-agents.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buy-a-new-phone-number-bind-agents.cjs","names":["z","action"],"sources":["../../src/actions/buy-a-new-phone-number-bind-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiBuyANewPhoneNumberBindAgentsInput: z.ZodTypeAny = z.object({\n nickname: z.string().describe(\"Nickname for the number, for reference only.\").optional(),\n area_code: z.number().int().describe(\"Area code of the number to obtain. Format is a 3-digit integer, currently supporting only US area codes.\").optional(),\n inbound_agent_id: z.string().describe(\"Unique id of agent to bind to the number. If null, this number would not accept inbound calls.\").optional(),\n outbound_agent_id: z.string().describe(\"Unique id of agent to bind to the number. If null, this number would not initiate outbound calls without an agent id override.\").optional(),\n}).describe(\"Request schema for `BuyANewPhoneNumberBindAgents`\");\nconst RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema: z.ZodTypeAny = z.object({\n authUsername: z.string().describe(\"Authentication username for SIP trunk.\").nullable().optional(),\n terminationUri: z.string().describe(\"SIP termination URI for outbound calls.\").nullable().optional(),\n transportProtocol: z.string().describe(\"Transport protocol for SIP connection (e.g., 'UDP', 'TCP', 'TLS').\").nullable().optional(),\n}).describe(\"SIP configuration for outbound calls.\");\nexport const RetellaiBuyANewPhoneNumberBindAgentsOutput: z.ZodTypeAny = z.object({\n areaCode: z.number().int().describe(\"Three-digit US area code of the phone number.\").nullable().optional(),\n nickname: z.string().describe(\"Custom reference label for the phone number.\").nullable().optional(),\n phone_number: z.string().describe(\"E.164 formatted phone number (e.g., '+14157774444').\"),\n inboundAgentId: z.string().describe(\"Agent ID that handles incoming calls to this phone number.\").nullable().optional(),\n outboundAgentId: z.string().describe(\"Agent ID that initiates outbound calls from this phone number.\").nullable().optional(),\n phoneNumberType: z.string().describe(\"Type of phone number, either 'retell-twilio', 'retell-telnyx', or 'custom'.\"),\n inboundWebhookUrl: z.string().describe(\"Webhook endpoint URL for customizing incoming call handling.\").nullable().optional(),\n phoneNumberPretty: z.string().describe(\"Formatted display version of the phone number (e.g., '+1 (415) 777-4444').\").nullable().optional(),\n inboundAgentVersion: z.number().int().describe(\"Version of the inbound agent bound to this phone number.\").nullable().optional(),\n outboundAgentVersion: z.number().int().describe(\"Version of the outbound agent bound to this phone number.\").nullable().optional(),\n sipOutboundTrunkConfig: RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema.nullable().optional(),\n allowedInboundCountryList: z.array(z.string()).describe(\"List of ISO country codes that are permitted to make inbound calls to this number.\").nullable().optional(),\n lastModificationTimestamp: z.number().int().describe(\"Unix timestamp in milliseconds indicating when this phone number was last modified.\"),\n allowedOutboundCountryList: z.array(z.string()).describe(\"List of ISO country codes that this number is permitted to call.\").nullable().optional(),\n}).describe(\"Response schema for `BuyANewPhoneNumberBindAgents`\");\n\nexport const retellaiBuyANewPhoneNumberBindAgents = action(\"RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS\", {\n slug: \"retellai-buy-a-new-phone-number-bind-agents\",\n name: \"Buy a new phone number bind agents\",\n description: \"This endpoint allows purchasing a new phone number with a specified area code and binding it to designated agents for inbound and outbound calls. It requires JSON with agent IDs and area code. Responses indicate the creation status or errors. A purchased phone number is a prerequisite for initiating outbound calls; an empty phone number inventory will prevent outbound calls from being made.\",\n input: RetellaiBuyANewPhoneNumberBindAgentsInput,\n output: RetellaiBuyANewPhoneNumberBindAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC1J,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACjJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,oEAAkFA,IAAAA,EAAE,OAAO;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CAClH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,wBAAwB,kEAAkE,SAAS,CAAC,CAAC,SAAS;CAC9G,2BAA2BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF;CAC1I,4BAA4BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,uCAAuCC,eAAAA,OAAO,+CAA+C;CACxG,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/buy-a-new-phone-number-bind-agents.d.ts
|
|
4
|
+
declare const RetellaiBuyANewPhoneNumberBindAgentsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiBuyANewPhoneNumberBindAgentsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiBuyANewPhoneNumberBindAgents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiBuyANewPhoneNumberBindAgents };
|
|
9
|
+
//# sourceMappingURL=buy-a-new-phone-number-bind-agents.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buy-a-new-phone-number-bind-agents.d.cts","names":[],"sources":["../../src/actions/buy-a-new-phone-number-bind-agents.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAKM;AAAA,cAMnD,0CAAA,EAA4C,CAAA,CAAE,UAeM;AAAA,cAEpD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/buy-a-new-phone-number-bind-agents.d.ts
|
|
4
|
+
declare const RetellaiBuyANewPhoneNumberBindAgentsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiBuyANewPhoneNumberBindAgentsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiBuyANewPhoneNumberBindAgents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiBuyANewPhoneNumberBindAgents };
|
|
9
|
+
//# sourceMappingURL=buy-a-new-phone-number-bind-agents.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buy-a-new-phone-number-bind-agents.d.mts","names":[],"sources":["../../src/actions/buy-a-new-phone-number-bind-agents.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAKM;AAAA,cAMnD,0CAAA,EAA4C,CAAA,CAAE,UAeM;AAAA,cAEpD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/buy-a-new-phone-number-bind-agents.ts
|
|
4
|
+
const RetellaiBuyANewPhoneNumberBindAgentsInput = z.object({
|
|
5
|
+
nickname: z.string().describe("Nickname for the number, for reference only.").optional(),
|
|
6
|
+
area_code: z.number().int().describe("Area code of the number to obtain. Format is a 3-digit integer, currently supporting only US area codes.").optional(),
|
|
7
|
+
inbound_agent_id: z.string().describe("Unique id of agent to bind to the number. If null, this number would not accept inbound calls.").optional(),
|
|
8
|
+
outbound_agent_id: z.string().describe("Unique id of agent to bind to the number. If null, this number would not initiate outbound calls without an agent id override.").optional()
|
|
9
|
+
}).describe("Request schema for `BuyANewPhoneNumberBindAgents`");
|
|
10
|
+
const RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema = z.object({
|
|
11
|
+
authUsername: z.string().describe("Authentication username for SIP trunk.").nullable().optional(),
|
|
12
|
+
terminationUri: z.string().describe("SIP termination URI for outbound calls.").nullable().optional(),
|
|
13
|
+
transportProtocol: z.string().describe("Transport protocol for SIP connection (e.g., 'UDP', 'TCP', 'TLS').").nullable().optional()
|
|
14
|
+
}).describe("SIP configuration for outbound calls.");
|
|
15
|
+
const retellaiBuyANewPhoneNumberBindAgents = action("RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS", {
|
|
16
|
+
slug: "retellai-buy-a-new-phone-number-bind-agents",
|
|
17
|
+
name: "Buy a new phone number bind agents",
|
|
18
|
+
description: "This endpoint allows purchasing a new phone number with a specified area code and binding it to designated agents for inbound and outbound calls. It requires JSON with agent IDs and area code. Responses indicate the creation status or errors. A purchased phone number is a prerequisite for initiating outbound calls; an empty phone number inventory will prevent outbound calls from being made.",
|
|
19
|
+
input: RetellaiBuyANewPhoneNumberBindAgentsInput,
|
|
20
|
+
output: z.object({
|
|
21
|
+
areaCode: z.number().int().describe("Three-digit US area code of the phone number.").nullable().optional(),
|
|
22
|
+
nickname: z.string().describe("Custom reference label for the phone number.").nullable().optional(),
|
|
23
|
+
phone_number: z.string().describe("E.164 formatted phone number (e.g., '+14157774444')."),
|
|
24
|
+
inboundAgentId: z.string().describe("Agent ID that handles incoming calls to this phone number.").nullable().optional(),
|
|
25
|
+
outboundAgentId: z.string().describe("Agent ID that initiates outbound calls from this phone number.").nullable().optional(),
|
|
26
|
+
phoneNumberType: z.string().describe("Type of phone number, either 'retell-twilio', 'retell-telnyx', or 'custom'."),
|
|
27
|
+
inboundWebhookUrl: z.string().describe("Webhook endpoint URL for customizing incoming call handling.").nullable().optional(),
|
|
28
|
+
phoneNumberPretty: z.string().describe("Formatted display version of the phone number (e.g., '+1 (415) 777-4444').").nullable().optional(),
|
|
29
|
+
inboundAgentVersion: z.number().int().describe("Version of the inbound agent bound to this phone number.").nullable().optional(),
|
|
30
|
+
outboundAgentVersion: z.number().int().describe("Version of the outbound agent bound to this phone number.").nullable().optional(),
|
|
31
|
+
sipOutboundTrunkConfig: RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema.nullable().optional(),
|
|
32
|
+
allowedInboundCountryList: z.array(z.string()).describe("List of ISO country codes that are permitted to make inbound calls to this number.").nullable().optional(),
|
|
33
|
+
lastModificationTimestamp: z.number().int().describe("Unix timestamp in milliseconds indicating when this phone number was last modified."),
|
|
34
|
+
allowedOutboundCountryList: z.array(z.string()).describe("List of ISO country codes that this number is permitted to call.").nullable().optional()
|
|
35
|
+
}).describe("Response schema for `BuyANewPhoneNumberBindAgents`")
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
export { retellaiBuyANewPhoneNumberBindAgents };
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=buy-a-new-phone-number-bind-agents.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buy-a-new-phone-number-bind-agents.mjs","names":[],"sources":["../../src/actions/buy-a-new-phone-number-bind-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiBuyANewPhoneNumberBindAgentsInput: z.ZodTypeAny = z.object({\n nickname: z.string().describe(\"Nickname for the number, for reference only.\").optional(),\n area_code: z.number().int().describe(\"Area code of the number to obtain. Format is a 3-digit integer, currently supporting only US area codes.\").optional(),\n inbound_agent_id: z.string().describe(\"Unique id of agent to bind to the number. If null, this number would not accept inbound calls.\").optional(),\n outbound_agent_id: z.string().describe(\"Unique id of agent to bind to the number. If null, this number would not initiate outbound calls without an agent id override.\").optional(),\n}).describe(\"Request schema for `BuyANewPhoneNumberBindAgents`\");\nconst RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema: z.ZodTypeAny = z.object({\n authUsername: z.string().describe(\"Authentication username for SIP trunk.\").nullable().optional(),\n terminationUri: z.string().describe(\"SIP termination URI for outbound calls.\").nullable().optional(),\n transportProtocol: z.string().describe(\"Transport protocol for SIP connection (e.g., 'UDP', 'TCP', 'TLS').\").nullable().optional(),\n}).describe(\"SIP configuration for outbound calls.\");\nexport const RetellaiBuyANewPhoneNumberBindAgentsOutput: z.ZodTypeAny = z.object({\n areaCode: z.number().int().describe(\"Three-digit US area code of the phone number.\").nullable().optional(),\n nickname: z.string().describe(\"Custom reference label for the phone number.\").nullable().optional(),\n phone_number: z.string().describe(\"E.164 formatted phone number (e.g., '+14157774444').\"),\n inboundAgentId: z.string().describe(\"Agent ID that handles incoming calls to this phone number.\").nullable().optional(),\n outboundAgentId: z.string().describe(\"Agent ID that initiates outbound calls from this phone number.\").nullable().optional(),\n phoneNumberType: z.string().describe(\"Type of phone number, either 'retell-twilio', 'retell-telnyx', or 'custom'.\"),\n inboundWebhookUrl: z.string().describe(\"Webhook endpoint URL for customizing incoming call handling.\").nullable().optional(),\n phoneNumberPretty: z.string().describe(\"Formatted display version of the phone number (e.g., '+1 (415) 777-4444').\").nullable().optional(),\n inboundAgentVersion: z.number().int().describe(\"Version of the inbound agent bound to this phone number.\").nullable().optional(),\n outboundAgentVersion: z.number().int().describe(\"Version of the outbound agent bound to this phone number.\").nullable().optional(),\n sipOutboundTrunkConfig: RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema.nullable().optional(),\n allowedInboundCountryList: z.array(z.string()).describe(\"List of ISO country codes that are permitted to make inbound calls to this number.\").nullable().optional(),\n lastModificationTimestamp: z.number().int().describe(\"Unix timestamp in milliseconds indicating when this phone number was last modified.\"),\n allowedOutboundCountryList: z.array(z.string()).describe(\"List of ISO country codes that this number is permitted to call.\").nullable().optional(),\n}).describe(\"Response schema for `BuyANewPhoneNumberBindAgents`\");\n\nexport const retellaiBuyANewPhoneNumberBindAgents = action(\"RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS\", {\n slug: \"retellai-buy-a-new-phone-number-bind-agents\",\n name: \"Buy a new phone number bind agents\",\n description: \"This endpoint allows purchasing a new phone number with a specified area code and binding it to designated agents for inbound and outbound calls. It requires JSON with agent IDs and area code. Responses indicate the creation status or errors. A purchased phone number is a prerequisite for initiating outbound calls; an empty phone number inventory will prevent outbound calls from being made.\",\n input: RetellaiBuyANewPhoneNumberBindAgentsInput,\n output: RetellaiBuyANewPhoneNumberBindAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0D,EAAE,OAAO;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC1J,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACjJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,oEAAkF,EAAE,OAAO;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAkBnD,MAAa,uCAAuC,OAAO,+CAA+C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtBsE,EAAE,OAAO;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EAClH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,wBAAwB,kEAAkE,SAAS,CAAC,CAAC,SAAS;EAC9G,2BAA2B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClK,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF;EAC1I,4BAA4B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|