@keystrokehq/retellai 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-community-voice.cjs +27 -0
- package/dist/actions/add-community-voice.cjs.map +1 -0
- package/dist/actions/add-community-voice.d.cts +9 -0
- package/dist/actions/add-community-voice.d.cts.map +1 -0
- package/dist/actions/add-community-voice.d.mts +9 -0
- package/dist/actions/add-community-voice.d.mts.map +1 -0
- package/dist/actions/add-community-voice.mjs +24 -0
- package/dist/actions/add-community-voice.mjs.map +1 -0
- package/dist/actions/add-knowledge-base-sources.cjs +57 -0
- package/dist/actions/add-knowledge-base-sources.cjs.map +1 -0
- package/dist/actions/add-knowledge-base-sources.d.cts +9 -0
- package/dist/actions/add-knowledge-base-sources.d.cts.map +1 -0
- package/dist/actions/add-knowledge-base-sources.d.mts +9 -0
- package/dist/actions/add-knowledge-base-sources.d.mts.map +1 -0
- package/dist/actions/add-knowledge-base-sources.mjs +56 -0
- package/dist/actions/add-knowledge-base-sources.mjs.map +1 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.cjs +41 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.cjs.map +1 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts +9 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts.map +1 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts +9 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts.map +1 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.mjs +40 -0
- package/dist/actions/buy-a-new-phone-number-bind-agents.mjs.map +1 -0
- package/dist/actions/create-a-new-outbound-phone-call.cjs +195 -0
- package/dist/actions/create-a-new-outbound-phone-call.cjs.map +1 -0
- package/dist/actions/create-a-new-outbound-phone-call.d.cts +9 -0
- package/dist/actions/create-a-new-outbound-phone-call.d.cts.map +1 -0
- package/dist/actions/create-a-new-outbound-phone-call.d.mts +9 -0
- package/dist/actions/create-a-new-outbound-phone-call.d.mts.map +1 -0
- package/dist/actions/create-a-new-outbound-phone-call.mjs +194 -0
- package/dist/actions/create-a-new-outbound-phone-call.mjs.map +1 -0
- package/dist/actions/create-a-new-web-call.cjs +69 -0
- package/dist/actions/create-a-new-web-call.cjs.map +1 -0
- package/dist/actions/create-a-new-web-call.d.cts +9 -0
- package/dist/actions/create-a-new-web-call.d.cts.map +1 -0
- package/dist/actions/create-a-new-web-call.d.mts +9 -0
- package/dist/actions/create-a-new-web-call.d.mts.map +1 -0
- package/dist/actions/create-a-new-web-call.mjs +68 -0
- package/dist/actions/create-a-new-web-call.mjs.map +1 -0
- package/dist/actions/create-agent.cjs +162 -0
- package/dist/actions/create-agent.cjs.map +1 -0
- package/dist/actions/create-agent.d.cts +9 -0
- package/dist/actions/create-agent.d.cts.map +1 -0
- package/dist/actions/create-agent.d.mts +9 -0
- package/dist/actions/create-agent.d.mts.map +1 -0
- package/dist/actions/create-agent.mjs +159 -0
- package/dist/actions/create-agent.mjs.map +1 -0
- package/dist/actions/create-batch-test.cjs +44 -0
- package/dist/actions/create-batch-test.cjs.map +1 -0
- package/dist/actions/create-batch-test.d.cts +9 -0
- package/dist/actions/create-batch-test.d.cts.map +1 -0
- package/dist/actions/create-batch-test.d.mts +9 -0
- package/dist/actions/create-batch-test.d.mts.map +1 -0
- package/dist/actions/create-batch-test.mjs +43 -0
- package/dist/actions/create-batch-test.mjs.map +1 -0
- package/dist/actions/create-chat-agent.cjs +138 -0
- package/dist/actions/create-chat-agent.cjs.map +1 -0
- package/dist/actions/create-chat-agent.d.cts +9 -0
- package/dist/actions/create-chat-agent.d.cts.map +1 -0
- package/dist/actions/create-chat-agent.d.mts +9 -0
- package/dist/actions/create-chat-agent.d.mts.map +1 -0
- package/dist/actions/create-chat-agent.mjs +137 -0
- package/dist/actions/create-chat-agent.mjs.map +1 -0
- package/dist/actions/create-chat-completion.cjs +19 -0
- package/dist/actions/create-chat-completion.cjs.map +1 -0
- package/dist/actions/create-chat-completion.d.cts +9 -0
- package/dist/actions/create-chat-completion.d.cts.map +1 -0
- package/dist/actions/create-chat-completion.d.mts +9 -0
- package/dist/actions/create-chat-completion.d.mts.map +1 -0
- package/dist/actions/create-chat-completion.mjs +16 -0
- package/dist/actions/create-chat-completion.mjs.map +1 -0
- package/dist/actions/create-chat.cjs +61 -0
- package/dist/actions/create-chat.cjs.map +1 -0
- package/dist/actions/create-chat.d.cts +9 -0
- package/dist/actions/create-chat.d.cts.map +1 -0
- package/dist/actions/create-chat.d.mts +9 -0
- package/dist/actions/create-chat.d.mts.map +1 -0
- package/dist/actions/create-chat.mjs +60 -0
- package/dist/actions/create-chat.mjs.map +1 -0
- package/dist/actions/create-conversation-flow-component.cjs +66 -0
- package/dist/actions/create-conversation-flow-component.cjs.map +1 -0
- package/dist/actions/create-conversation-flow-component.d.cts +9 -0
- package/dist/actions/create-conversation-flow-component.d.cts.map +1 -0
- package/dist/actions/create-conversation-flow-component.d.mts +9 -0
- package/dist/actions/create-conversation-flow-component.d.mts.map +1 -0
- package/dist/actions/create-conversation-flow-component.mjs +65 -0
- package/dist/actions/create-conversation-flow-component.mjs.map +1 -0
- package/dist/actions/create-conversation-flow.cjs +52 -0
- package/dist/actions/create-conversation-flow.cjs.map +1 -0
- package/dist/actions/create-conversation-flow.d.cts +9 -0
- package/dist/actions/create-conversation-flow.d.cts.map +1 -0
- package/dist/actions/create-conversation-flow.d.mts +9 -0
- package/dist/actions/create-conversation-flow.d.mts.map +1 -0
- package/dist/actions/create-conversation-flow.mjs +49 -0
- package/dist/actions/create-conversation-flow.mjs.map +1 -0
- package/dist/actions/create-knowledge-base.cjs +35 -0
- package/dist/actions/create-knowledge-base.cjs.map +1 -0
- package/dist/actions/create-knowledge-base.d.cts +9 -0
- package/dist/actions/create-knowledge-base.d.cts.map +1 -0
- package/dist/actions/create-knowledge-base.d.mts +9 -0
- package/dist/actions/create-knowledge-base.d.mts.map +1 -0
- package/dist/actions/create-knowledge-base.mjs +32 -0
- package/dist/actions/create-knowledge-base.mjs.map +1 -0
- package/dist/actions/create-retell-llm.cjs +122 -0
- package/dist/actions/create-retell-llm.cjs.map +1 -0
- package/dist/actions/create-retell-llm.d.cts +9 -0
- package/dist/actions/create-retell-llm.d.cts.map +1 -0
- package/dist/actions/create-retell-llm.d.mts +9 -0
- package/dist/actions/create-retell-llm.d.mts.map +1 -0
- package/dist/actions/create-retell-llm.mjs +121 -0
- package/dist/actions/create-retell-llm.mjs.map +1 -0
- package/dist/actions/create-test-case-definition.cjs +44 -0
- package/dist/actions/create-test-case-definition.cjs.map +1 -0
- package/dist/actions/create-test-case-definition.d.cts +9 -0
- package/dist/actions/create-test-case-definition.d.cts.map +1 -0
- package/dist/actions/create-test-case-definition.d.mts +9 -0
- package/dist/actions/create-test-case-definition.d.mts.map +1 -0
- package/dist/actions/create-test-case-definition.mjs +41 -0
- package/dist/actions/create-test-case-definition.mjs.map +1 -0
- package/dist/actions/delete-agent.cjs +20 -0
- package/dist/actions/delete-agent.cjs.map +1 -0
- package/dist/actions/delete-agent.d.cts +9 -0
- package/dist/actions/delete-agent.d.cts.map +1 -0
- package/dist/actions/delete-agent.d.mts +9 -0
- package/dist/actions/delete-agent.d.mts.map +1 -0
- package/dist/actions/delete-agent.mjs +19 -0
- package/dist/actions/delete-agent.mjs.map +1 -0
- package/dist/actions/delete-call.cjs +16 -0
- package/dist/actions/delete-call.cjs.map +1 -0
- package/dist/actions/delete-call.d.cts +9 -0
- package/dist/actions/delete-call.d.cts.map +1 -0
- package/dist/actions/delete-call.d.mts +9 -0
- package/dist/actions/delete-call.d.mts.map +1 -0
- package/dist/actions/delete-call.mjs +13 -0
- package/dist/actions/delete-call.mjs.map +1 -0
- package/dist/actions/delete-chat-agent.cjs +19 -0
- package/dist/actions/delete-chat-agent.cjs.map +1 -0
- package/dist/actions/delete-chat-agent.d.cts +9 -0
- package/dist/actions/delete-chat-agent.d.cts.map +1 -0
- package/dist/actions/delete-chat-agent.d.mts +9 -0
- package/dist/actions/delete-chat-agent.d.mts.map +1 -0
- package/dist/actions/delete-chat-agent.mjs +16 -0
- package/dist/actions/delete-chat-agent.mjs.map +1 -0
- package/dist/actions/delete-conversation-flow-component.cjs +16 -0
- package/dist/actions/delete-conversation-flow-component.cjs.map +1 -0
- package/dist/actions/delete-conversation-flow-component.d.cts +9 -0
- package/dist/actions/delete-conversation-flow-component.d.cts.map +1 -0
- package/dist/actions/delete-conversation-flow-component.d.mts +9 -0
- package/dist/actions/delete-conversation-flow-component.d.mts.map +1 -0
- package/dist/actions/delete-conversation-flow-component.mjs +13 -0
- package/dist/actions/delete-conversation-flow-component.mjs.map +1 -0
- package/dist/actions/delete-conversation-flow.cjs +16 -0
- package/dist/actions/delete-conversation-flow.cjs.map +1 -0
- package/dist/actions/delete-conversation-flow.d.cts +9 -0
- package/dist/actions/delete-conversation-flow.d.cts.map +1 -0
- package/dist/actions/delete-conversation-flow.d.mts +9 -0
- package/dist/actions/delete-conversation-flow.d.mts.map +1 -0
- package/dist/actions/delete-conversation-flow.mjs +13 -0
- package/dist/actions/delete-conversation-flow.mjs.map +1 -0
- package/dist/actions/delete-knowledge-base-source.cjs +19 -0
- package/dist/actions/delete-knowledge-base-source.cjs.map +1 -0
- package/dist/actions/delete-knowledge-base-source.d.cts +9 -0
- package/dist/actions/delete-knowledge-base-source.d.cts.map +1 -0
- package/dist/actions/delete-knowledge-base-source.d.mts +9 -0
- package/dist/actions/delete-knowledge-base-source.d.mts.map +1 -0
- package/dist/actions/delete-knowledge-base-source.mjs +16 -0
- package/dist/actions/delete-knowledge-base-source.mjs.map +1 -0
- package/dist/actions/delete-knowledge-base.cjs +16 -0
- package/dist/actions/delete-knowledge-base.cjs.map +1 -0
- package/dist/actions/delete-knowledge-base.d.cts +9 -0
- package/dist/actions/delete-knowledge-base.d.cts.map +1 -0
- package/dist/actions/delete-knowledge-base.d.mts +9 -0
- package/dist/actions/delete-knowledge-base.d.mts.map +1 -0
- package/dist/actions/delete-knowledge-base.mjs +13 -0
- package/dist/actions/delete-knowledge-base.mjs.map +1 -0
- package/dist/actions/delete-phone-number.cjs +19 -0
- package/dist/actions/delete-phone-number.cjs.map +1 -0
- package/dist/actions/delete-phone-number.d.cts +9 -0
- package/dist/actions/delete-phone-number.d.cts.map +1 -0
- package/dist/actions/delete-phone-number.d.mts +9 -0
- package/dist/actions/delete-phone-number.d.mts.map +1 -0
- package/dist/actions/delete-phone-number.mjs +16 -0
- package/dist/actions/delete-phone-number.mjs.map +1 -0
- package/dist/actions/delete-retell-llm.cjs +16 -0
- package/dist/actions/delete-retell-llm.cjs.map +1 -0
- package/dist/actions/delete-retell-llm.d.cts +9 -0
- package/dist/actions/delete-retell-llm.d.cts.map +1 -0
- package/dist/actions/delete-retell-llm.d.mts +9 -0
- package/dist/actions/delete-retell-llm.d.mts.map +1 -0
- package/dist/actions/delete-retell-llm.mjs +13 -0
- package/dist/actions/delete-retell-llm.mjs.map +1 -0
- package/dist/actions/delete-test-case-definition.cjs +16 -0
- package/dist/actions/delete-test-case-definition.cjs.map +1 -0
- package/dist/actions/delete-test-case-definition.d.cts +9 -0
- package/dist/actions/delete-test-case-definition.d.cts.map +1 -0
- package/dist/actions/delete-test-case-definition.d.mts +9 -0
- package/dist/actions/delete-test-case-definition.d.mts.map +1 -0
- package/dist/actions/delete-test-case-definition.mjs +13 -0
- package/dist/actions/delete-test-case-definition.mjs.map +1 -0
- package/dist/actions/end-chat.cjs +19 -0
- package/dist/actions/end-chat.cjs.map +1 -0
- package/dist/actions/end-chat.d.cts +9 -0
- package/dist/actions/end-chat.d.cts.map +1 -0
- package/dist/actions/end-chat.d.mts +9 -0
- package/dist/actions/end-chat.d.mts.map +1 -0
- package/dist/actions/end-chat.mjs +16 -0
- package/dist/actions/end-chat.mjs.map +1 -0
- package/dist/actions/get-agent-versions.cjs +16 -0
- package/dist/actions/get-agent-versions.cjs.map +1 -0
- package/dist/actions/get-agent-versions.d.cts +9 -0
- package/dist/actions/get-agent-versions.d.cts.map +1 -0
- package/dist/actions/get-agent-versions.d.mts +9 -0
- package/dist/actions/get-agent-versions.d.mts.map +1 -0
- package/dist/actions/get-agent-versions.mjs +13 -0
- package/dist/actions/get-agent-versions.mjs.map +1 -0
- package/dist/actions/get-agent.cjs +148 -0
- package/dist/actions/get-agent.cjs.map +1 -0
- package/dist/actions/get-agent.d.cts +9 -0
- package/dist/actions/get-agent.d.cts.map +1 -0
- package/dist/actions/get-agent.d.mts +9 -0
- package/dist/actions/get-agent.d.mts.map +1 -0
- package/dist/actions/get-agent.mjs +147 -0
- package/dist/actions/get-agent.mjs.map +1 -0
- package/dist/actions/get-batch-test.cjs +44 -0
- package/dist/actions/get-batch-test.cjs.map +1 -0
- package/dist/actions/get-batch-test.d.cts +9 -0
- package/dist/actions/get-batch-test.d.cts.map +1 -0
- package/dist/actions/get-batch-test.d.mts +9 -0
- package/dist/actions/get-batch-test.d.mts.map +1 -0
- package/dist/actions/get-batch-test.mjs +43 -0
- package/dist/actions/get-batch-test.mjs.map +1 -0
- package/dist/actions/get-chat-agent-versions.cjs +31 -0
- package/dist/actions/get-chat-agent-versions.cjs.map +1 -0
- package/dist/actions/get-chat-agent-versions.d.cts +9 -0
- package/dist/actions/get-chat-agent-versions.d.cts.map +1 -0
- package/dist/actions/get-chat-agent-versions.d.mts +9 -0
- package/dist/actions/get-chat-agent-versions.d.mts.map +1 -0
- package/dist/actions/get-chat-agent-versions.mjs +30 -0
- package/dist/actions/get-chat-agent-versions.mjs.map +1 -0
- package/dist/actions/get-chat-agent.cjs +105 -0
- package/dist/actions/get-chat-agent.cjs.map +1 -0
- package/dist/actions/get-chat-agent.d.cts +9 -0
- package/dist/actions/get-chat-agent.d.cts.map +1 -0
- package/dist/actions/get-chat-agent.d.mts +9 -0
- package/dist/actions/get-chat-agent.d.mts.map +1 -0
- package/dist/actions/get-chat-agent.mjs +104 -0
- package/dist/actions/get-chat-agent.mjs.map +1 -0
- package/dist/actions/get-chat.cjs +56 -0
- package/dist/actions/get-chat.cjs.map +1 -0
- package/dist/actions/get-chat.d.cts +9 -0
- package/dist/actions/get-chat.d.cts.map +1 -0
- package/dist/actions/get-chat.d.mts +9 -0
- package/dist/actions/get-chat.d.mts.map +1 -0
- package/dist/actions/get-chat.mjs +55 -0
- package/dist/actions/get-chat.mjs.map +1 -0
- package/dist/actions/get-concurrency.cjs +23 -0
- package/dist/actions/get-concurrency.cjs.map +1 -0
- package/dist/actions/get-concurrency.d.cts +9 -0
- package/dist/actions/get-concurrency.d.cts.map +1 -0
- package/dist/actions/get-concurrency.d.mts +9 -0
- package/dist/actions/get-concurrency.d.mts.map +1 -0
- package/dist/actions/get-concurrency.mjs +20 -0
- package/dist/actions/get-concurrency.mjs.map +1 -0
- package/dist/actions/get-conversation-flow-component.cjs +75 -0
- package/dist/actions/get-conversation-flow-component.cjs.map +1 -0
- package/dist/actions/get-conversation-flow-component.d.cts +9 -0
- package/dist/actions/get-conversation-flow-component.d.cts.map +1 -0
- package/dist/actions/get-conversation-flow-component.d.mts +9 -0
- package/dist/actions/get-conversation-flow-component.d.mts.map +1 -0
- package/dist/actions/get-conversation-flow-component.mjs +74 -0
- package/dist/actions/get-conversation-flow-component.mjs.map +1 -0
- package/dist/actions/get-conversation-flow.cjs +83 -0
- package/dist/actions/get-conversation-flow.cjs.map +1 -0
- package/dist/actions/get-conversation-flow.d.cts +9 -0
- package/dist/actions/get-conversation-flow.d.cts.map +1 -0
- package/dist/actions/get-conversation-flow.d.mts +9 -0
- package/dist/actions/get-conversation-flow.d.mts.map +1 -0
- package/dist/actions/get-conversation-flow.mjs +82 -0
- package/dist/actions/get-conversation-flow.mjs.map +1 -0
- package/dist/actions/get-knowledge-base.cjs +45 -0
- package/dist/actions/get-knowledge-base.cjs.map +1 -0
- package/dist/actions/get-knowledge-base.d.cts +9 -0
- package/dist/actions/get-knowledge-base.d.cts.map +1 -0
- package/dist/actions/get-knowledge-base.d.mts +9 -0
- package/dist/actions/get-knowledge-base.d.mts.map +1 -0
- package/dist/actions/get-knowledge-base.mjs +44 -0
- package/dist/actions/get-knowledge-base.mjs.map +1 -0
- package/dist/actions/get-retell-llm.cjs +253 -0
- package/dist/actions/get-retell-llm.cjs.map +1 -0
- package/dist/actions/get-retell-llm.d.cts +9 -0
- package/dist/actions/get-retell-llm.d.cts.map +1 -0
- package/dist/actions/get-retell-llm.d.mts +9 -0
- package/dist/actions/get-retell-llm.d.mts.map +1 -0
- package/dist/actions/get-retell-llm.mjs +252 -0
- package/dist/actions/get-retell-llm.mjs.map +1 -0
- package/dist/actions/import-phone-number.cjs +50 -0
- package/dist/actions/import-phone-number.cjs.map +1 -0
- package/dist/actions/import-phone-number.d.cts +9 -0
- package/dist/actions/import-phone-number.d.cts.map +1 -0
- package/dist/actions/import-phone-number.d.mts +9 -0
- package/dist/actions/import-phone-number.d.mts.map +1 -0
- package/dist/actions/import-phone-number.mjs +49 -0
- package/dist/actions/import-phone-number.mjs.map +1 -0
- package/dist/actions/index.cjs +135 -0
- package/dist/actions/index.d.cts +68 -0
- package/dist/actions/index.d.mts +68 -0
- package/dist/actions/index.mjs +68 -0
- package/dist/actions/list-agents.cjs +16 -0
- package/dist/actions/list-agents.cjs.map +1 -0
- package/dist/actions/list-agents.d.cts +9 -0
- package/dist/actions/list-agents.d.cts.map +1 -0
- package/dist/actions/list-agents.d.mts +9 -0
- package/dist/actions/list-agents.d.mts.map +1 -0
- package/dist/actions/list-agents.mjs +13 -0
- package/dist/actions/list-agents.mjs.map +1 -0
- package/dist/actions/list-all-chats.cjs +20 -0
- package/dist/actions/list-all-chats.cjs.map +1 -0
- package/dist/actions/list-all-chats.d.cts +9 -0
- package/dist/actions/list-all-chats.d.cts.map +1 -0
- package/dist/actions/list-all-chats.d.mts +9 -0
- package/dist/actions/list-all-chats.d.mts.map +1 -0
- package/dist/actions/list-all-chats.mjs +17 -0
- package/dist/actions/list-all-chats.mjs.map +1 -0
- package/dist/actions/list-all-phone-numbers.cjs +16 -0
- package/dist/actions/list-all-phone-numbers.cjs.map +1 -0
- package/dist/actions/list-all-phone-numbers.d.cts +9 -0
- package/dist/actions/list-all-phone-numbers.d.cts.map +1 -0
- package/dist/actions/list-all-phone-numbers.d.mts +9 -0
- package/dist/actions/list-all-phone-numbers.d.mts.map +1 -0
- package/dist/actions/list-all-phone-numbers.mjs +13 -0
- package/dist/actions/list-all-phone-numbers.mjs.map +1 -0
- package/dist/actions/list-batch-tests.cjs +51 -0
- package/dist/actions/list-batch-tests.cjs.map +1 -0
- package/dist/actions/list-batch-tests.d.cts +9 -0
- package/dist/actions/list-batch-tests.d.cts.map +1 -0
- package/dist/actions/list-batch-tests.d.mts +9 -0
- package/dist/actions/list-batch-tests.d.mts.map +1 -0
- package/dist/actions/list-batch-tests.mjs +50 -0
- package/dist/actions/list-batch-tests.mjs.map +1 -0
- package/dist/actions/list-chat-agents.cjs +20 -0
- package/dist/actions/list-chat-agents.cjs.map +1 -0
- package/dist/actions/list-chat-agents.d.cts +9 -0
- package/dist/actions/list-chat-agents.d.cts.map +1 -0
- package/dist/actions/list-chat-agents.d.mts +9 -0
- package/dist/actions/list-chat-agents.d.mts.map +1 -0
- package/dist/actions/list-chat-agents.mjs +17 -0
- package/dist/actions/list-chat-agents.mjs.map +1 -0
- package/dist/actions/list-conversation-flow-components.cjs +24 -0
- package/dist/actions/list-conversation-flow-components.cjs.map +1 -0
- package/dist/actions/list-conversation-flow-components.d.cts +9 -0
- package/dist/actions/list-conversation-flow-components.d.cts.map +1 -0
- package/dist/actions/list-conversation-flow-components.d.mts +9 -0
- package/dist/actions/list-conversation-flow-components.d.mts.map +1 -0
- package/dist/actions/list-conversation-flow-components.mjs +23 -0
- package/dist/actions/list-conversation-flow-components.mjs.map +1 -0
- package/dist/actions/list-conversation-flows.cjs +31 -0
- package/dist/actions/list-conversation-flows.cjs.map +1 -0
- package/dist/actions/list-conversation-flows.d.cts +9 -0
- package/dist/actions/list-conversation-flows.d.cts.map +1 -0
- package/dist/actions/list-conversation-flows.d.mts +9 -0
- package/dist/actions/list-conversation-flows.d.mts.map +1 -0
- package/dist/actions/list-conversation-flows.mjs +30 -0
- package/dist/actions/list-conversation-flows.mjs.map +1 -0
- package/dist/actions/list-knowledge-bases.cjs +16 -0
- package/dist/actions/list-knowledge-bases.cjs.map +1 -0
- package/dist/actions/list-knowledge-bases.d.cts +9 -0
- package/dist/actions/list-knowledge-bases.d.cts.map +1 -0
- package/dist/actions/list-knowledge-bases.d.mts +9 -0
- package/dist/actions/list-knowledge-bases.d.mts.map +1 -0
- package/dist/actions/list-knowledge-bases.mjs +13 -0
- package/dist/actions/list-knowledge-bases.mjs.map +1 -0
- package/dist/actions/list-retell-llms.cjs +72 -0
- package/dist/actions/list-retell-llms.cjs.map +1 -0
- package/dist/actions/list-retell-llms.d.cts +9 -0
- package/dist/actions/list-retell-llms.d.cts.map +1 -0
- package/dist/actions/list-retell-llms.d.mts +9 -0
- package/dist/actions/list-retell-llms.d.mts.map +1 -0
- package/dist/actions/list-retell-llms.mjs +71 -0
- package/dist/actions/list-retell-llms.mjs.map +1 -0
- package/dist/actions/list-test-case-definitions.cjs +34 -0
- package/dist/actions/list-test-case-definitions.cjs.map +1 -0
- package/dist/actions/list-test-case-definitions.d.cts +9 -0
- package/dist/actions/list-test-case-definitions.d.cts.map +1 -0
- package/dist/actions/list-test-case-definitions.d.mts +9 -0
- package/dist/actions/list-test-case-definitions.d.mts.map +1 -0
- package/dist/actions/list-test-case-definitions.mjs +33 -0
- package/dist/actions/list-test-case-definitions.mjs.map +1 -0
- package/dist/actions/list-test-runs.cjs +16 -0
- package/dist/actions/list-test-runs.cjs.map +1 -0
- package/dist/actions/list-test-runs.d.cts +9 -0
- package/dist/actions/list-test-runs.d.cts.map +1 -0
- package/dist/actions/list-test-runs.d.mts +9 -0
- package/dist/actions/list-test-runs.d.mts.map +1 -0
- package/dist/actions/list-test-runs.mjs +13 -0
- package/dist/actions/list-test-runs.mjs.map +1 -0
- package/dist/actions/list-voices.cjs +16 -0
- package/dist/actions/list-voices.cjs.map +1 -0
- package/dist/actions/list-voices.d.cts +9 -0
- package/dist/actions/list-voices.d.cts.map +1 -0
- package/dist/actions/list-voices.d.mts +9 -0
- package/dist/actions/list-voices.d.mts.map +1 -0
- package/dist/actions/list-voices.mjs +13 -0
- package/dist/actions/list-voices.mjs.map +1 -0
- package/dist/actions/publish-agent.cjs +70 -0
- package/dist/actions/publish-agent.cjs.map +1 -0
- package/dist/actions/publish-agent.d.cts +9 -0
- package/dist/actions/publish-agent.d.cts.map +1 -0
- package/dist/actions/publish-agent.d.mts +9 -0
- package/dist/actions/publish-agent.d.mts.map +1 -0
- package/dist/actions/publish-agent.mjs +67 -0
- package/dist/actions/publish-agent.mjs.map +1 -0
- package/dist/actions/publish-chat-agent.cjs +37 -0
- package/dist/actions/publish-chat-agent.cjs.map +1 -0
- package/dist/actions/publish-chat-agent.d.cts +9 -0
- package/dist/actions/publish-chat-agent.d.cts.map +1 -0
- package/dist/actions/publish-chat-agent.d.mts +9 -0
- package/dist/actions/publish-chat-agent.d.mts.map +1 -0
- package/dist/actions/publish-chat-agent.mjs +34 -0
- package/dist/actions/publish-chat-agent.mjs.map +1 -0
- package/dist/actions/register-phone-call.cjs +196 -0
- package/dist/actions/register-phone-call.cjs.map +1 -0
- package/dist/actions/register-phone-call.d.cts +9 -0
- package/dist/actions/register-phone-call.d.cts.map +1 -0
- package/dist/actions/register-phone-call.d.mts +9 -0
- package/dist/actions/register-phone-call.d.mts.map +1 -0
- package/dist/actions/register-phone-call.mjs +195 -0
- package/dist/actions/register-phone-call.mjs.map +1 -0
- package/dist/actions/retrieve-call-details-by-id.cjs +16 -0
- package/dist/actions/retrieve-call-details-by-id.cjs.map +1 -0
- package/dist/actions/retrieve-call-details-by-id.d.cts +9 -0
- package/dist/actions/retrieve-call-details-by-id.d.cts.map +1 -0
- package/dist/actions/retrieve-call-details-by-id.d.mts +9 -0
- package/dist/actions/retrieve-call-details-by-id.d.mts.map +1 -0
- package/dist/actions/retrieve-call-details-by-id.mjs +13 -0
- package/dist/actions/retrieve-call-details-by-id.mjs.map +1 -0
- package/dist/actions/retrieve-call-details.cjs +136 -0
- package/dist/actions/retrieve-call-details.cjs.map +1 -0
- package/dist/actions/retrieve-call-details.d.cts +9 -0
- package/dist/actions/retrieve-call-details.d.cts.map +1 -0
- package/dist/actions/retrieve-call-details.d.mts +9 -0
- package/dist/actions/retrieve-call-details.d.mts.map +1 -0
- package/dist/actions/retrieve-call-details.mjs +135 -0
- package/dist/actions/retrieve-call-details.mjs.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs +29 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts +9 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts +9 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs +28 -0
- package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.cjs +24 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.cjs.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.d.cts +9 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.d.cts.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.d.mts +9 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.d.mts.map +1 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.mjs +21 -0
- package/dist/actions/retrieve-details-of-a-specific-voice.mjs.map +1 -0
- package/dist/actions/search-community-voice.cjs +29 -0
- package/dist/actions/search-community-voice.cjs.map +1 -0
- package/dist/actions/search-community-voice.d.cts +9 -0
- package/dist/actions/search-community-voice.d.cts.map +1 -0
- package/dist/actions/search-community-voice.d.mts +9 -0
- package/dist/actions/search-community-voice.d.mts.map +1 -0
- package/dist/actions/search-community-voice.mjs +28 -0
- package/dist/actions/search-community-voice.mjs.map +1 -0
- package/dist/actions/update-agent.cjs +261 -0
- package/dist/actions/update-agent.cjs.map +1 -0
- package/dist/actions/update-agent.d.cts +9 -0
- package/dist/actions/update-agent.d.cts.map +1 -0
- package/dist/actions/update-agent.d.mts +9 -0
- package/dist/actions/update-agent.d.mts.map +1 -0
- package/dist/actions/update-agent.mjs +260 -0
- package/dist/actions/update-agent.mjs.map +1 -0
- package/dist/actions/update-call.cjs +36 -0
- package/dist/actions/update-call.cjs.map +1 -0
- package/dist/actions/update-call.d.cts +9 -0
- package/dist/actions/update-call.d.cts.map +1 -0
- package/dist/actions/update-call.d.mts +9 -0
- package/dist/actions/update-call.d.mts.map +1 -0
- package/dist/actions/update-call.mjs +35 -0
- package/dist/actions/update-call.mjs.map +1 -0
- package/dist/actions/update-chat-agent.cjs +222 -0
- package/dist/actions/update-chat-agent.cjs.map +1 -0
- package/dist/actions/update-chat-agent.d.cts +9 -0
- package/dist/actions/update-chat-agent.d.cts.map +1 -0
- package/dist/actions/update-chat-agent.d.mts +9 -0
- package/dist/actions/update-chat-agent.d.mts.map +1 -0
- package/dist/actions/update-chat-agent.mjs +221 -0
- package/dist/actions/update-chat-agent.mjs.map +1 -0
- package/dist/actions/update-chat-metadata.cjs +62 -0
- package/dist/actions/update-chat-metadata.cjs.map +1 -0
- package/dist/actions/update-chat-metadata.d.cts +9 -0
- package/dist/actions/update-chat-metadata.d.cts.map +1 -0
- package/dist/actions/update-chat-metadata.d.mts +9 -0
- package/dist/actions/update-chat-metadata.d.mts.map +1 -0
- package/dist/actions/update-chat-metadata.mjs +61 -0
- package/dist/actions/update-chat-metadata.mjs.map +1 -0
- package/dist/actions/update-conversation-flow-component.cjs +258 -0
- package/dist/actions/update-conversation-flow-component.cjs.map +1 -0
- package/dist/actions/update-conversation-flow-component.d.cts +9 -0
- package/dist/actions/update-conversation-flow-component.d.cts.map +1 -0
- package/dist/actions/update-conversation-flow-component.d.mts +9 -0
- package/dist/actions/update-conversation-flow-component.d.mts.map +1 -0
- package/dist/actions/update-conversation-flow-component.mjs +257 -0
- package/dist/actions/update-conversation-flow-component.mjs.map +1 -0
- package/dist/actions/update-conversation-flow.cjs +109 -0
- package/dist/actions/update-conversation-flow.cjs.map +1 -0
- package/dist/actions/update-conversation-flow.d.cts +9 -0
- package/dist/actions/update-conversation-flow.d.cts.map +1 -0
- package/dist/actions/update-conversation-flow.d.mts +9 -0
- package/dist/actions/update-conversation-flow.d.mts.map +1 -0
- package/dist/actions/update-conversation-flow.mjs +108 -0
- package/dist/actions/update-conversation-flow.mjs.map +1 -0
- package/dist/actions/update-phone-number.cjs +58 -0
- package/dist/actions/update-phone-number.cjs.map +1 -0
- package/dist/actions/update-phone-number.d.cts +9 -0
- package/dist/actions/update-phone-number.d.cts.map +1 -0
- package/dist/actions/update-phone-number.d.mts +9 -0
- package/dist/actions/update-phone-number.d.mts.map +1 -0
- package/dist/actions/update-phone-number.mjs +57 -0
- package/dist/actions/update-phone-number.mjs.map +1 -0
- package/dist/actions/update-retell-llm.cjs +125 -0
- package/dist/actions/update-retell-llm.cjs.map +1 -0
- package/dist/actions/update-retell-llm.d.cts +9 -0
- package/dist/actions/update-retell-llm.d.cts.map +1 -0
- package/dist/actions/update-retell-llm.d.mts +9 -0
- package/dist/actions/update-retell-llm.d.mts.map +1 -0
- package/dist/actions/update-retell-llm.mjs +124 -0
- package/dist/actions/update-retell-llm.mjs.map +1 -0
- package/dist/actions/update-test-case-definition.cjs +80 -0
- package/dist/actions/update-test-case-definition.cjs.map +1 -0
- package/dist/actions/update-test-case-definition.d.cts +9 -0
- package/dist/actions/update-test-case-definition.d.cts.map +1 -0
- package/dist/actions/update-test-case-definition.d.mts +9 -0
- package/dist/actions/update-test-case-definition.d.mts.map +1 -0
- package/dist/actions/update-test-case-definition.mjs +79 -0
- package/dist/actions/update-test-case-definition.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +140 -0
- package/dist/index.d.cts +70 -0
- package/dist/index.d.mts +70 -0
- package/dist/index.mjs +71 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"end-chat.mjs","names":[],"sources":["../../src/actions/end-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiEndChatInput: z.ZodTypeAny = z.object({\n chat_id: z.string().describe(\"Unique id of the chat to be ended\"),\n}).describe(\"Request schema for `EndChat`\");\nexport const RetellaiEndChatOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Error status indicator, always 'error' when present\").nullable().optional(),\n message: z.string().describe(\"Human-readable error description\").nullable().optional(),\n}).describe(\"Response schema for `EndChat`\\n\\nSuccess (204): Returns None or empty response\\nError responses contain status and message fields\");\n\nexport const retellaiEndChat = action(\"RETELLAI_END_CHAT\", {\n slug: \"retellai-end-chat\",\n name: \"End chat\",\n description: \"Tool to end an active chat session. Use when you need to terminate an ongoing chat conversation.\",\n input: RetellaiEndChatInput,\n output: RetellaiEndChatOutput,\n});\n"],"mappings":";;AAYA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EAClE,CAAC,CAAC,CAAC,SAAS,8BAUH;CACP,QAViD,EAAE,OAAO;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,mIAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-agent-versions.ts
|
|
4
|
+
const RetellaiGetAgentVersionsInput = zod.z.object({ agent_id: zod.z.string().describe("The unique identifier of the agent to retrieve versions for") }).describe("Request schema for `GetAgentVersions`");
|
|
5
|
+
const RetellaiGetAgentVersionsOutput = zod.z.unknown();
|
|
6
|
+
const retellaiGetAgentVersions = require_action.action("RETELLAI_GET_AGENT_VERSIONS", {
|
|
7
|
+
slug: "retellai-get-agent-versions",
|
|
8
|
+
name: "Get agent versions",
|
|
9
|
+
description: "Tool to retrieve all versions of a specific agent. Use when you need to view version history or access previous configurations of an agent.",
|
|
10
|
+
input: RetellaiGetAgentVersionsInput,
|
|
11
|
+
output: RetellaiGetAgentVersionsOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.retellaiGetAgentVersions = retellaiGetAgentVersions;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-agent-versions.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-agent-versions.cjs","names":["z","action"],"sources":["../../src/actions/get-agent-versions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetAgentVersionsInput: z.ZodTypeAny = z.object({\n agent_id: z.string().describe(\"The unique identifier of the agent to retrieve versions for\"),\n}).describe(\"Request schema for `GetAgentVersions`\");\nexport const RetellaiGetAgentVersionsOutput: z.ZodTypeAny = z.unknown();\n\nexport const retellaiGetAgentVersions = action(\"RETELLAI_GET_AGENT_VERSIONS\", {\n slug: \"retellai-get-agent-versions\",\n name: \"Get agent versions\",\n description: \"Tool to retrieve all versions of a specific agent. Use when you need to view version history or access previous configurations of an agent.\",\n input: RetellaiGetAgentVersionsInput,\n output: RetellaiGetAgentVersionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,iCAA+CA,IAAAA,EAAE,QAAQ;AAEtE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-agent-versions.d.ts
|
|
4
|
+
declare const RetellaiGetAgentVersionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiGetAgentVersionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiGetAgentVersions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiGetAgentVersions };
|
|
9
|
+
//# sourceMappingURL=get-agent-versions.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-agent-versions.d.cts","names":[],"sources":["../../src/actions/get-agent-versions.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEM;AAAA,cACvC,8BAAA,EAAgC,CAAA,CAAE,UAAwB;AAAA,cAE1D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-agent-versions.d.ts
|
|
4
|
+
declare const RetellaiGetAgentVersionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiGetAgentVersionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiGetAgentVersions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiGetAgentVersions };
|
|
9
|
+
//# sourceMappingURL=get-agent-versions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-agent-versions.d.mts","names":[],"sources":["../../src/actions/get-agent-versions.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEM;AAAA,cACvC,8BAAA,EAAgC,CAAA,CAAE,UAAwB;AAAA,cAE1D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const retellaiGetAgentVersions = action("RETELLAI_GET_AGENT_VERSIONS", {
|
|
4
|
+
slug: "retellai-get-agent-versions",
|
|
5
|
+
name: "Get agent versions",
|
|
6
|
+
description: "Tool to retrieve all versions of a specific agent. Use when you need to view version history or access previous configurations of an agent.",
|
|
7
|
+
input: z.object({ agent_id: z.string().describe("The unique identifier of the agent to retrieve versions for") }).describe("Request schema for `GetAgentVersions`"),
|
|
8
|
+
output: z.unknown()
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { retellaiGetAgentVersions };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=get-agent-versions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-agent-versions.mjs","names":[],"sources":["../../src/actions/get-agent-versions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetAgentVersionsInput: z.ZodTypeAny = z.object({\n agent_id: z.string().describe(\"The unique identifier of the agent to retrieve versions for\"),\n}).describe(\"Request schema for `GetAgentVersions`\");\nexport const RetellaiGetAgentVersionsOutput: z.ZodTypeAny = z.unknown();\n\nexport const retellaiGetAgentVersions = action(\"RETELLAI_GET_AGENT_VERSIONS\", {\n slug: \"retellai-get-agent-versions\",\n name: \"Get agent versions\",\n description: \"Tool to retrieve all versions of a specific agent. Use when you need to view version history or access previous configurations of an agent.\",\n input: RetellaiGetAgentVersionsInput,\n output: RetellaiGetAgentVersionsOutput,\n});\n"],"mappings":";;AASA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyD,EAAE,OAAO,EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,EAC7F,CAAC,CAAC,CAAC,SAAS,uCAOH;CACP,QAP0D,EAAE,QAOpD;AACV,CAAC"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-agent.ts
|
|
4
|
+
const RetellaiGetAgentInput = zod.z.object({ agent_id: zod.z.string().describe("Unique identifier of the agent to retrieve") }).describe("Request schema for `RetellaiGetAgent`");
|
|
5
|
+
const RetellaiGetAgent_IvrHangupActionSchema = zod.z.object({ type: zod.z.string().describe("Action type, must be 'hangup'.") }).describe("Hang up the call");
|
|
6
|
+
const RetellaiGetAgent_IvrOptionSchema = zod.z.object({ action: RetellaiGetAgent_IvrHangupActionSchema.nullable() }).describe("Action to take upon IVR detection");
|
|
7
|
+
const RetellaiGetAgent_PiiConfigSchema = zod.z.object({
|
|
8
|
+
mode: zod.z.string().describe("Processing timing for PII scrubbing. Value: 'post_call'."),
|
|
9
|
+
categories: zod.z.array(zod.z.string()).describe("Categories of PII to scrub. Values: 'person_name', 'address', 'email', 'phone_number', 'ssn', 'passport', 'driver_license', 'credit_card', 'bank_account', 'password', 'pin', 'medical_id', 'date_of_birth', 'customer_account_number'.")
|
|
10
|
+
}).describe("PII (Personally Identifiable Information) scrubbing configuration");
|
|
11
|
+
const RetellaiGetAgent_RetellLlmResponseEngineSchema = zod.z.object({
|
|
12
|
+
type: zod.z.string().describe("Engine type, must be 'retell-llm'."),
|
|
13
|
+
llm_id: zod.z.string().describe("Unique identifier for the LLM."),
|
|
14
|
+
version: zod.z.number().describe("Version of the LLM.").nullable().optional()
|
|
15
|
+
}).describe("Retell LLM response engine");
|
|
16
|
+
const RetellaiGetAgent_CustomLlmResponseEngineSchema = zod.z.object({
|
|
17
|
+
type: zod.z.string().describe("Engine type, must be 'custom-llm'."),
|
|
18
|
+
llm_websocket_url: zod.z.string().describe("WebSocket URL for custom LLM.")
|
|
19
|
+
}).describe("Custom LLM response engine");
|
|
20
|
+
const RetellaiGetAgent_ConversationFlowResponseEngineSchema = zod.z.object({
|
|
21
|
+
type: zod.z.string().describe("Engine type, must be 'conversation-flow'."),
|
|
22
|
+
version: zod.z.number().describe("Version of the conversation flow.").nullable().optional(),
|
|
23
|
+
conversation_flow_id: zod.z.string().describe("Unique identifier for the conversation flow.")
|
|
24
|
+
}).describe("Conversation flow response engine");
|
|
25
|
+
const RetellaiGetAgent_VoicemailPromptActionSchema = zod.z.object({
|
|
26
|
+
text: zod.z.string().describe("Prompt text for generating voicemail message."),
|
|
27
|
+
type: zod.z.string().describe("Action type, must be 'prompt'.")
|
|
28
|
+
}).describe("Generate response using prompt");
|
|
29
|
+
const RetellaiGetAgent_VoicemailStaticTextActionSchema = zod.z.object({
|
|
30
|
+
text: zod.z.string().describe("Fixed message to leave."),
|
|
31
|
+
static_text: zod.z.string().describe("Action type, must be 'static_text'.")
|
|
32
|
+
}).describe("Use static text message");
|
|
33
|
+
const RetellaiGetAgent_VoicemailHangupActionSchema = zod.z.object({ type: zod.z.string().describe("Action type, must be 'hangup'.") }).describe("Hang up the call");
|
|
34
|
+
const RetellaiGetAgent_VoicemailBridgeTransferActionSchema = zod.z.object({ bridge_transfer: zod.z.string().describe("Action type, must be 'bridge_transfer'.") }).describe("Bridge transfer");
|
|
35
|
+
const RetellaiGetAgent_VoicemailOptionSchema = zod.z.object({ action: zod.z.union([
|
|
36
|
+
RetellaiGetAgent_VoicemailPromptActionSchema,
|
|
37
|
+
RetellaiGetAgent_VoicemailStaticTextActionSchema,
|
|
38
|
+
RetellaiGetAgent_VoicemailHangupActionSchema,
|
|
39
|
+
RetellaiGetAgent_VoicemailBridgeTransferActionSchema
|
|
40
|
+
]) }).describe("Action to take upon voicemail detection");
|
|
41
|
+
const RetellaiGetAgent_UserDtmfOptionsSchema = zod.z.object({
|
|
42
|
+
timeout_ms: zod.z.number().int().describe("Waiting period between digits in milliseconds, ranging from 1000 to 15000.").nullable().optional(),
|
|
43
|
+
digit_limit: zod.z.number().describe("Maximum DTMF digits per turn, ranging from 1 to 50.").nullable().optional(),
|
|
44
|
+
termination_key: zod.z.string().describe("Single key (0-9, #, or *) that ends DTMF input.").nullable().optional()
|
|
45
|
+
}).describe("DTMF input configuration options");
|
|
46
|
+
const RetellaiGetAgent_StringAnalysisDataSchema = zod.z.object({
|
|
47
|
+
name: zod.z.string().describe("Name of the analysis field."),
|
|
48
|
+
type: zod.z.string().describe("Analysis data type, must be 'string'."),
|
|
49
|
+
examples: zod.z.array(zod.z.string()).describe("Example values for extraction.").nullable().optional(),
|
|
50
|
+
description: zod.z.string().describe("Description of what to extract.")
|
|
51
|
+
}).describe("String analysis data type");
|
|
52
|
+
const RetellaiGetAgent_EnumAnalysisDataSchema = zod.z.object({
|
|
53
|
+
name: zod.z.string().describe("Name of the analysis field."),
|
|
54
|
+
type: zod.z.string().describe("Analysis data type, must be 'enum'."),
|
|
55
|
+
choices: zod.z.array(zod.z.string()).describe("Allowed enum values."),
|
|
56
|
+
description: zod.z.string().describe("Description of what to extract.")
|
|
57
|
+
}).describe("Enum analysis data type");
|
|
58
|
+
const RetellaiGetAgent_BooleanAnalysisDataSchema = zod.z.object({
|
|
59
|
+
name: zod.z.string().describe("Name of the analysis field."),
|
|
60
|
+
type: zod.z.string().describe("Analysis data type, must be 'boolean'."),
|
|
61
|
+
description: zod.z.string().describe("Description of what to extract.")
|
|
62
|
+
}).describe("Boolean analysis data type");
|
|
63
|
+
const RetellaiGetAgent_NumberAnalysisDataSchema = zod.z.object({
|
|
64
|
+
name: zod.z.string().describe("Name of the analysis field."),
|
|
65
|
+
type: zod.z.string().describe("Analysis data type, must be 'number'."),
|
|
66
|
+
description: zod.z.string().describe("Description of what to extract.")
|
|
67
|
+
}).describe("Number analysis data type");
|
|
68
|
+
const RetellaiGetAgent_PronunciationDictionaryEntrySchema = zod.z.object({
|
|
69
|
+
word: zod.z.string().describe("The term to annotate with pronunciation guidance."),
|
|
70
|
+
phoneme: zod.z.string().describe("Pronunciation representation in the specified alphabet."),
|
|
71
|
+
alphabet: zod.z.string().describe("Phonetic alphabet format. Values: 'ipa' or 'cmu'.")
|
|
72
|
+
}).describe("Custom word pronunciation entry");
|
|
73
|
+
const RetellaiGetAgentOutput = zod.z.object({
|
|
74
|
+
volume: zod.z.number().describe("Speech loudness control ranging from 0 to 2. Lower values mean quieter speech, higher values mean louder speech. Default is 1.").nullable().optional(),
|
|
75
|
+
channel: zod.z.string().describe("Communication channel type. Value: 'voice'.").nullable().optional(),
|
|
76
|
+
version: zod.z.number().int().describe("Version of the agent."),
|
|
77
|
+
agent_id: zod.z.string().describe("Unique id of agent."),
|
|
78
|
+
language: zod.z.string().describe("Speech recognition dialect. Default is 'en-US'.").nullable().optional(),
|
|
79
|
+
stt_mode: zod.z.string().describe("Speech-to-text optimization mode. Values: 'fast', 'accurate'. Default is 'fast'.").nullable().optional(),
|
|
80
|
+
voice_id: zod.z.string().describe("Unique voice id used for the agent."),
|
|
81
|
+
is_public: zod.z.boolean().describe("Whether agent is available for public preview.").nullable().optional(),
|
|
82
|
+
agent_name: zod.z.string().describe("Agent name for internal reference purposes.").nullable().optional(),
|
|
83
|
+
ivr_option: RetellaiGetAgent_IvrOptionSchema.nullable().optional(),
|
|
84
|
+
pii_config: RetellaiGetAgent_PiiConfigSchema.nullable().optional(),
|
|
85
|
+
voice_model: zod.z.string().describe("Provider-specific voice synthesis model.").nullable().optional(),
|
|
86
|
+
voice_speed: zod.z.number().describe("Speech rate control ranging from 0.5 to 2. Lower values mean slower speech, higher values mean faster speech. Default is 1.").nullable().optional(),
|
|
87
|
+
webhook_url: zod.z.string().describe("Event notification endpoint URL for agent-specific webhooks.").nullable().optional(),
|
|
88
|
+
is_published: zod.z.boolean().describe("Publication status of the agent. Default is false.").nullable().optional(),
|
|
89
|
+
ambient_sound: zod.z.string().describe("Background environment audio setting.").nullable().optional(),
|
|
90
|
+
voice_emotion: zod.z.string().describe("Emotional tone for speech synthesis.").nullable().optional(),
|
|
91
|
+
denoising_mode: zod.z.string().describe("Audio enhancement approach. Options: 'noise-cancellation', 'none'. Default is 'noise-cancellation'.").nullable().optional(),
|
|
92
|
+
responsiveness: zod.z.number().describe("Agent reactivity control ranging from 0 to 1. Lower values mean less responsive (agent waits more), higher values mean more responsive with faster exchanges. Default is 1.").nullable().optional(),
|
|
93
|
+
allow_user_dtmf: zod.z.boolean().describe("Allow DTMF (dual-tone multi-frequency) input from user. Default is true.").nullable().optional(),
|
|
94
|
+
response_engine: zod.z.union([
|
|
95
|
+
RetellaiGetAgent_RetellLlmResponseEngineSchema,
|
|
96
|
+
RetellaiGetAgent_CustomLlmResponseEngineSchema,
|
|
97
|
+
RetellaiGetAgent_ConversationFlowResponseEngineSchema
|
|
98
|
+
]),
|
|
99
|
+
boosted_keywords: zod.z.array(zod.z.string()).describe("List of keywords to bias the transcriber model for names, brands, street names, etc.").nullable().optional(),
|
|
100
|
+
ring_duration_ms: zod.z.number().int().describe("Phone ringing duration in milliseconds for outbound calls. Default is 30000.").nullable().optional(),
|
|
101
|
+
voicemail_option: RetellaiGetAgent_VoicemailOptionSchema.nullable().optional(),
|
|
102
|
+
backchannel_words: zod.z.array(zod.z.string()).describe("Custom backchannel vocabulary.").nullable().optional(),
|
|
103
|
+
custom_stt_config: zod.z.unknown().describe("Provider-specific speech-to-text configuration settings.").nullable().optional(),
|
|
104
|
+
opt_in_signed_url: zod.z.boolean().describe("Enable security signatures on URLs. Default is false.").nullable().optional(),
|
|
105
|
+
user_dtmf_options: RetellaiGetAgent_UserDtmfOptionsSchema.nullable().optional(),
|
|
106
|
+
voice_temperature: zod.z.number().describe("Voice stability control ranging from 0 to 2. Lower values mean more stable and less variant speech, higher values mean more variant speech. Default is 1.").nullable().optional(),
|
|
107
|
+
voicemail_message: zod.z.string().describe("Message to leave when voicemail is detected.").nullable().optional(),
|
|
108
|
+
enable_backchannel: zod.z.boolean().describe("Enable agent interjection phrases like 'yeah', 'uh-huh' to signify interest and engagement. Default is false.").nullable().optional(),
|
|
109
|
+
fallback_voice_ids: zod.z.array(zod.z.string()).describe("Alternate voice IDs to use during TTS provider outages.").nullable().optional(),
|
|
110
|
+
reminder_max_count: zod.z.number().int().describe("Maximum number of reminder repetitions. Default is 1.").nullable().optional(),
|
|
111
|
+
webhook_timeout_ms: zod.z.number().int().describe("Webhook response timeout in milliseconds. Default is 10000.").nullable().optional(),
|
|
112
|
+
reminder_trigger_ms: zod.z.number().describe("Silence duration in milliseconds before reminder is triggered. Default is 10000.").nullable().optional(),
|
|
113
|
+
version_description: zod.z.string().describe("Documentation of agent version.").nullable().optional(),
|
|
114
|
+
ambient_sound_volume: zod.z.number().describe("Ambient audio loudness ranging from 0 to 2. Default is 1.").nullable().optional(),
|
|
115
|
+
data_storage_setting: zod.z.string().describe("Granular setting to manage how Retell stores sensitive data (transcripts, recordings, logs). Options: 'everything', 'everything_except_pii', 'basic_attributes_only'. Default is 'everything'.").nullable().optional(),
|
|
116
|
+
max_call_duration_ms: zod.z.number().int().describe("Maximum call length in milliseconds. Default is 3600000 (1 hour).").nullable().optional(),
|
|
117
|
+
normalize_for_speech: zod.z.boolean().describe("Enable text normalization for speech synthesis. Default is false.").nullable().optional(),
|
|
118
|
+
vocab_specialization: zod.z.string().describe("Transcription vocabulary domain specialization. Default is 'general'.").nullable().optional(),
|
|
119
|
+
backchannel_frequency: zod.z.number().describe("Backchannel occurrence frequency ranging from 0 to 1. Default is 0.8.").nullable().optional(),
|
|
120
|
+
begin_message_delay_ms: zod.z.number().int().describe("Initial message delay in milliseconds before agent speaks. Default is 0.").nullable().optional(),
|
|
121
|
+
analysis_summary_prompt: zod.z.string().describe("Prompt guidance for generating call summary.").nullable().optional(),
|
|
122
|
+
post_call_analysis_data: zod.z.array(zod.z.union([
|
|
123
|
+
RetellaiGetAgent_StringAnalysisDataSchema,
|
|
124
|
+
RetellaiGetAgent_EnumAnalysisDataSchema,
|
|
125
|
+
RetellaiGetAgent_BooleanAnalysisDataSchema,
|
|
126
|
+
RetellaiGetAgent_NumberAnalysisDataSchema
|
|
127
|
+
])).describe("Custom extraction parameters for post-call analysis.").nullable().optional(),
|
|
128
|
+
interruption_sensitivity: zod.z.number().describe("Control for how easily users can interrupt the agent, ranging from 0 to 1. Setting to 0 prevents interruptions. Default is 1.").nullable().optional(),
|
|
129
|
+
post_call_analysis_model: zod.z.string().describe("LLM model to use for post-call analysis. Default is 'gpt-4.1-mini'.").nullable().optional(),
|
|
130
|
+
pronunciation_dictionary: zod.z.array(RetellaiGetAgent_PronunciationDictionaryEntrySchema).describe("Custom word pronunciations. Used specifically for English and ElevenLabs voices.").nullable().optional(),
|
|
131
|
+
signed_url_expiration_ms: zod.z.number().int().describe("URL validity duration in milliseconds. Default is 86400000 (24 hours).").nullable().optional(),
|
|
132
|
+
end_call_after_silence_ms: zod.z.number().int().describe("Call termination timeout in milliseconds after silence. Default is 600000 (10 minutes).").nullable().optional(),
|
|
133
|
+
analysis_successful_prompt: zod.z.string().describe("Prompt for determining if call was successful.").nullable().optional(),
|
|
134
|
+
enable_voicemail_detection: zod.z.boolean().describe("Enable voicemail recognition for phone calls. Default is false.").nullable().optional(),
|
|
135
|
+
last_modification_timestamp: zod.z.number().int().describe("Last modification timestamp (milliseconds since epoch)."),
|
|
136
|
+
voicemail_detection_timeout_ms: zod.z.number().int().describe("Voicemail detection cutoff duration in milliseconds. Default is 30000.").nullable().optional()
|
|
137
|
+
}).describe("Response schema for `RetellaiGetAgent`");
|
|
138
|
+
const retellaiGetAgent = require_action.action("RETELLAI_GET_AGENT", {
|
|
139
|
+
slug: "retellai-get-agent",
|
|
140
|
+
name: "Retrieve details of a specific agent",
|
|
141
|
+
description: "Retrieve details of a specific agent by its unique identifier. Use when you need to access agent configuration details.",
|
|
142
|
+
input: RetellaiGetAgentInput,
|
|
143
|
+
output: RetellaiGetAgentOutput
|
|
144
|
+
});
|
|
145
|
+
//#endregion
|
|
146
|
+
exports.retellaiGetAgent = retellaiGetAgent;
|
|
147
|
+
|
|
148
|
+
//# sourceMappingURL=get-agent.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-agent.cjs","names":["z","action"],"sources":["../../src/actions/get-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetAgentInput: z.ZodTypeAny = z.object({\n agent_id: z.string().describe(\"Unique identifier of the agent to retrieve\"),\n}).describe(\"Request schema for `RetellaiGetAgent`\");\nconst RetellaiGetAgent_IvrHangupActionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Action type, must be 'hangup'.\"),\n}).describe(\"Hang up the call\");\nconst RetellaiGetAgent_IvrOptionSchema: z.ZodTypeAny = z.object({\n action: RetellaiGetAgent_IvrHangupActionSchema.nullable(),\n}).describe(\"Action to take upon IVR detection\");\nconst RetellaiGetAgent_PiiConfigSchema: z.ZodTypeAny = z.object({\n mode: z.string().describe(\"Processing timing for PII scrubbing. Value: 'post_call'.\"),\n categories: z.array(z.string()).describe(\"Categories of PII to scrub. Values: 'person_name', 'address', 'email', 'phone_number', 'ssn', 'passport', 'driver_license', 'credit_card', 'bank_account', 'password', 'pin', 'medical_id', 'date_of_birth', 'customer_account_number'.\"),\n}).describe(\"PII (Personally Identifiable Information) scrubbing configuration\");\nconst RetellaiGetAgent_RetellLlmResponseEngineSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Engine type, must be 'retell-llm'.\"),\n llm_id: z.string().describe(\"Unique identifier for the LLM.\"),\n version: z.number().describe(\"Version of the LLM.\").nullable().optional(),\n}).describe(\"Retell LLM response engine\");\nconst RetellaiGetAgent_CustomLlmResponseEngineSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Engine type, must be 'custom-llm'.\"),\n llm_websocket_url: z.string().describe(\"WebSocket URL for custom LLM.\"),\n}).describe(\"Custom LLM response engine\");\nconst RetellaiGetAgent_ConversationFlowResponseEngineSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Engine type, must be 'conversation-flow'.\"),\n version: z.number().describe(\"Version of the conversation flow.\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"Unique identifier for the conversation flow.\"),\n}).describe(\"Conversation flow response engine\");\nconst RetellaiGetAgent_VoicemailPromptActionSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Prompt text for generating voicemail message.\"),\n type: z.string().describe(\"Action type, must be 'prompt'.\"),\n}).describe(\"Generate response using prompt\");\nconst RetellaiGetAgent_VoicemailStaticTextActionSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Fixed message to leave.\"),\n static_text: z.string().describe(\"Action type, must be 'static_text'.\"),\n}).describe(\"Use static text message\");\nconst RetellaiGetAgent_VoicemailHangupActionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Action type, must be 'hangup'.\"),\n}).describe(\"Hang up the call\");\nconst RetellaiGetAgent_VoicemailBridgeTransferActionSchema: z.ZodTypeAny = z.object({\n bridge_transfer: z.string().describe(\"Action type, must be 'bridge_transfer'.\"),\n}).describe(\"Bridge transfer\");\nconst RetellaiGetAgent_VoicemailOptionSchema: z.ZodTypeAny = z.object({\n action: z.union([RetellaiGetAgent_VoicemailPromptActionSchema, RetellaiGetAgent_VoicemailStaticTextActionSchema, RetellaiGetAgent_VoicemailHangupActionSchema, RetellaiGetAgent_VoicemailBridgeTransferActionSchema]),\n}).describe(\"Action to take upon voicemail detection\");\nconst RetellaiGetAgent_UserDtmfOptionsSchema: z.ZodTypeAny = z.object({\n timeout_ms: z.number().int().describe(\"Waiting period between digits in milliseconds, ranging from 1000 to 15000.\").nullable().optional(),\n digit_limit: z.number().describe(\"Maximum DTMF digits per turn, ranging from 1 to 50.\").nullable().optional(),\n termination_key: z.string().describe(\"Single key (0-9, #, or *) that ends DTMF input.\").nullable().optional(),\n}).describe(\"DTMF input configuration options\");\nconst RetellaiGetAgent_StringAnalysisDataSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the analysis field.\"),\n type: z.string().describe(\"Analysis data type, must be 'string'.\"),\n examples: z.array(z.string()).describe(\"Example values for extraction.\").nullable().optional(),\n description: z.string().describe(\"Description of what to extract.\"),\n}).describe(\"String analysis data type\");\nconst RetellaiGetAgent_EnumAnalysisDataSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the analysis field.\"),\n type: z.string().describe(\"Analysis data type, must be 'enum'.\"),\n choices: z.array(z.string()).describe(\"Allowed enum values.\"),\n description: z.string().describe(\"Description of what to extract.\"),\n}).describe(\"Enum analysis data type\");\nconst RetellaiGetAgent_BooleanAnalysisDataSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the analysis field.\"),\n type: z.string().describe(\"Analysis data type, must be 'boolean'.\"),\n description: z.string().describe(\"Description of what to extract.\"),\n}).describe(\"Boolean analysis data type\");\nconst RetellaiGetAgent_NumberAnalysisDataSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the analysis field.\"),\n type: z.string().describe(\"Analysis data type, must be 'number'.\"),\n description: z.string().describe(\"Description of what to extract.\"),\n}).describe(\"Number analysis data type\");\nconst RetellaiGetAgent_PronunciationDictionaryEntrySchema: z.ZodTypeAny = z.object({\n word: z.string().describe(\"The term to annotate with pronunciation guidance.\"),\n phoneme: z.string().describe(\"Pronunciation representation in the specified alphabet.\"),\n alphabet: z.string().describe(\"Phonetic alphabet format. Values: 'ipa' or 'cmu'.\"),\n}).describe(\"Custom word pronunciation entry\");\nexport const RetellaiGetAgentOutput: z.ZodTypeAny = z.object({\n volume: z.number().describe(\"Speech loudness control ranging from 0 to 2. Lower values mean quieter speech, higher values mean louder speech. Default is 1.\").nullable().optional(),\n channel: z.string().describe(\"Communication channel type. Value: 'voice'.\").nullable().optional(),\n version: z.number().int().describe(\"Version of the agent.\"),\n agent_id: z.string().describe(\"Unique id of agent.\"),\n language: z.string().describe(\"Speech recognition dialect. Default is 'en-US'.\").nullable().optional(),\n stt_mode: z.string().describe(\"Speech-to-text optimization mode. Values: 'fast', 'accurate'. Default is 'fast'.\").nullable().optional(),\n voice_id: z.string().describe(\"Unique voice id used for the agent.\"),\n is_public: z.boolean().describe(\"Whether agent is available for public preview.\").nullable().optional(),\n agent_name: z.string().describe(\"Agent name for internal reference purposes.\").nullable().optional(),\n ivr_option: RetellaiGetAgent_IvrOptionSchema.nullable().optional(),\n pii_config: RetellaiGetAgent_PiiConfigSchema.nullable().optional(),\n voice_model: z.string().describe(\"Provider-specific voice synthesis model.\").nullable().optional(),\n voice_speed: z.number().describe(\"Speech rate control ranging from 0.5 to 2. Lower values mean slower speech, higher values mean faster speech. Default is 1.\").nullable().optional(),\n webhook_url: z.string().describe(\"Event notification endpoint URL for agent-specific webhooks.\").nullable().optional(),\n is_published: z.boolean().describe(\"Publication status of the agent. Default is false.\").nullable().optional(),\n ambient_sound: z.string().describe(\"Background environment audio setting.\").nullable().optional(),\n voice_emotion: z.string().describe(\"Emotional tone for speech synthesis.\").nullable().optional(),\n denoising_mode: z.string().describe(\"Audio enhancement approach. Options: 'noise-cancellation', 'none'. Default is 'noise-cancellation'.\").nullable().optional(),\n responsiveness: z.number().describe(\"Agent reactivity control ranging from 0 to 1. Lower values mean less responsive (agent waits more), higher values mean more responsive with faster exchanges. Default is 1.\").nullable().optional(),\n allow_user_dtmf: z.boolean().describe(\"Allow DTMF (dual-tone multi-frequency) input from user. Default is true.\").nullable().optional(),\n response_engine: z.union([RetellaiGetAgent_RetellLlmResponseEngineSchema, RetellaiGetAgent_CustomLlmResponseEngineSchema, RetellaiGetAgent_ConversationFlowResponseEngineSchema]),\n boosted_keywords: z.array(z.string()).describe(\"List of keywords to bias the transcriber model for names, brands, street names, etc.\").nullable().optional(),\n ring_duration_ms: z.number().int().describe(\"Phone ringing duration in milliseconds for outbound calls. Default is 30000.\").nullable().optional(),\n voicemail_option: RetellaiGetAgent_VoicemailOptionSchema.nullable().optional(),\n backchannel_words: z.array(z.string()).describe(\"Custom backchannel vocabulary.\").nullable().optional(),\n custom_stt_config: z.unknown().describe(\"Provider-specific speech-to-text configuration settings.\").nullable().optional(),\n opt_in_signed_url: z.boolean().describe(\"Enable security signatures on URLs. Default is false.\").nullable().optional(),\n user_dtmf_options: RetellaiGetAgent_UserDtmfOptionsSchema.nullable().optional(),\n voice_temperature: z.number().describe(\"Voice stability control ranging from 0 to 2. Lower values mean more stable and less variant speech, higher values mean more variant speech. Default is 1.\").nullable().optional(),\n voicemail_message: z.string().describe(\"Message to leave when voicemail is detected.\").nullable().optional(),\n enable_backchannel: z.boolean().describe(\"Enable agent interjection phrases like 'yeah', 'uh-huh' to signify interest and engagement. Default is false.\").nullable().optional(),\n fallback_voice_ids: z.array(z.string()).describe(\"Alternate voice IDs to use during TTS provider outages.\").nullable().optional(),\n reminder_max_count: z.number().int().describe(\"Maximum number of reminder repetitions. Default is 1.\").nullable().optional(),\n webhook_timeout_ms: z.number().int().describe(\"Webhook response timeout in milliseconds. Default is 10000.\").nullable().optional(),\n reminder_trigger_ms: z.number().describe(\"Silence duration in milliseconds before reminder is triggered. Default is 10000.\").nullable().optional(),\n version_description: z.string().describe(\"Documentation of agent version.\").nullable().optional(),\n ambient_sound_volume: z.number().describe(\"Ambient audio loudness ranging from 0 to 2. Default is 1.\").nullable().optional(),\n data_storage_setting: z.string().describe(\"Granular setting to manage how Retell stores sensitive data (transcripts, recordings, logs). Options: 'everything', 'everything_except_pii', 'basic_attributes_only'. Default is 'everything'.\").nullable().optional(),\n max_call_duration_ms: z.number().int().describe(\"Maximum call length in milliseconds. Default is 3600000 (1 hour).\").nullable().optional(),\n normalize_for_speech: z.boolean().describe(\"Enable text normalization for speech synthesis. Default is false.\").nullable().optional(),\n vocab_specialization: z.string().describe(\"Transcription vocabulary domain specialization. Default is 'general'.\").nullable().optional(),\n backchannel_frequency: z.number().describe(\"Backchannel occurrence frequency ranging from 0 to 1. Default is 0.8.\").nullable().optional(),\n begin_message_delay_ms: z.number().int().describe(\"Initial message delay in milliseconds before agent speaks. Default is 0.\").nullable().optional(),\n analysis_summary_prompt: z.string().describe(\"Prompt guidance for generating call summary.\").nullable().optional(),\n post_call_analysis_data: z.array(z.union([RetellaiGetAgent_StringAnalysisDataSchema, RetellaiGetAgent_EnumAnalysisDataSchema, RetellaiGetAgent_BooleanAnalysisDataSchema, RetellaiGetAgent_NumberAnalysisDataSchema])).describe(\"Custom extraction parameters for post-call analysis.\").nullable().optional(),\n interruption_sensitivity: z.number().describe(\"Control for how easily users can interrupt the agent, ranging from 0 to 1. Setting to 0 prevents interruptions. Default is 1.\").nullable().optional(),\n post_call_analysis_model: z.string().describe(\"LLM model to use for post-call analysis. Default is 'gpt-4.1-mini'.\").nullable().optional(),\n pronunciation_dictionary: z.array(RetellaiGetAgent_PronunciationDictionaryEntrySchema).describe(\"Custom word pronunciations. Used specifically for English and ElevenLabs voices.\").nullable().optional(),\n signed_url_expiration_ms: z.number().int().describe(\"URL validity duration in milliseconds. Default is 86400000 (24 hours).\").nullable().optional(),\n end_call_after_silence_ms: z.number().int().describe(\"Call termination timeout in milliseconds after silence. Default is 600000 (10 minutes).\").nullable().optional(),\n analysis_successful_prompt: z.string().describe(\"Prompt for determining if call was successful.\").nullable().optional(),\n enable_voicemail_detection: z.boolean().describe(\"Enable voicemail recognition for phone calls. Default is false.\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Last modification timestamp (milliseconds since epoch).\"),\n voicemail_detection_timeout_ms: z.number().int().describe(\"Voicemail detection cutoff duration in milliseconds. Default is 30000.\").nullable().optional(),\n}).describe(\"Response schema for `RetellaiGetAgent`\");\n\nexport const retellaiGetAgent = action(\"RETELLAI_GET_AGENT\", {\n slug: \"retellai-get-agent\",\n name: \"Retrieve details of a specific agent\",\n description: \"Retrieve details of a specific agent by its unique identifier. Use when you need to access agent configuration details.\",\n input: RetellaiGetAgentInput,\n output: RetellaiGetAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC5E,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,yCAAuDA,IAAAA,EAAE,OAAO,EACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,EAC5D,CAAC,CAAC,CAAC,SAAS,kBAAkB;AAC9B,MAAM,mCAAiDA,IAAAA,EAAE,OAAO,EAC9D,QAAQ,uCAAuC,SAAS,EAC1D,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACpF,YAAYA,IAAAA,E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S,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAChH,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-agent.d.ts
|
|
4
|
+
declare const RetellaiGetAgentInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiGetAgentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiGetAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiGetAgent };
|
|
9
|
+
//# sourceMappingURL=get-agent.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-agent.d.cts","names":[],"sources":["../../src/actions/get-agent.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEc;AAAA,cA0EvC,sBAAA,EAAwB,CAAA,CAAE,UAuDc;AAAA,cAExC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-agent.d.ts
|
|
4
|
+
declare const RetellaiGetAgentInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiGetAgentOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiGetAgent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiGetAgent };
|
|
9
|
+
//# sourceMappingURL=get-agent.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-agent.d.mts","names":[],"sources":["../../src/actions/get-agent.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEc;AAAA,cA0EvC,sBAAA,EAAwB,CAAA,CAAE,UAuDc;AAAA,cAExC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-agent.ts
|
|
4
|
+
const RetellaiGetAgentInput = z.object({ agent_id: z.string().describe("Unique identifier of the agent to retrieve") }).describe("Request schema for `RetellaiGetAgent`");
|
|
5
|
+
const RetellaiGetAgent_IvrHangupActionSchema = z.object({ type: z.string().describe("Action type, must be 'hangup'.") }).describe("Hang up the call");
|
|
6
|
+
const RetellaiGetAgent_IvrOptionSchema = z.object({ action: RetellaiGetAgent_IvrHangupActionSchema.nullable() }).describe("Action to take upon IVR detection");
|
|
7
|
+
const RetellaiGetAgent_PiiConfigSchema = z.object({
|
|
8
|
+
mode: z.string().describe("Processing timing for PII scrubbing. Value: 'post_call'."),
|
|
9
|
+
categories: z.array(z.string()).describe("Categories of PII to scrub. Values: 'person_name', 'address', 'email', 'phone_number', 'ssn', 'passport', 'driver_license', 'credit_card', 'bank_account', 'password', 'pin', 'medical_id', 'date_of_birth', 'customer_account_number'.")
|
|
10
|
+
}).describe("PII (Personally Identifiable Information) scrubbing configuration");
|
|
11
|
+
const RetellaiGetAgent_RetellLlmResponseEngineSchema = z.object({
|
|
12
|
+
type: z.string().describe("Engine type, must be 'retell-llm'."),
|
|
13
|
+
llm_id: z.string().describe("Unique identifier for the LLM."),
|
|
14
|
+
version: z.number().describe("Version of the LLM.").nullable().optional()
|
|
15
|
+
}).describe("Retell LLM response engine");
|
|
16
|
+
const RetellaiGetAgent_CustomLlmResponseEngineSchema = z.object({
|
|
17
|
+
type: z.string().describe("Engine type, must be 'custom-llm'."),
|
|
18
|
+
llm_websocket_url: z.string().describe("WebSocket URL for custom LLM.")
|
|
19
|
+
}).describe("Custom LLM response engine");
|
|
20
|
+
const RetellaiGetAgent_ConversationFlowResponseEngineSchema = z.object({
|
|
21
|
+
type: z.string().describe("Engine type, must be 'conversation-flow'."),
|
|
22
|
+
version: z.number().describe("Version of the conversation flow.").nullable().optional(),
|
|
23
|
+
conversation_flow_id: z.string().describe("Unique identifier for the conversation flow.")
|
|
24
|
+
}).describe("Conversation flow response engine");
|
|
25
|
+
const RetellaiGetAgent_VoicemailPromptActionSchema = z.object({
|
|
26
|
+
text: z.string().describe("Prompt text for generating voicemail message."),
|
|
27
|
+
type: z.string().describe("Action type, must be 'prompt'.")
|
|
28
|
+
}).describe("Generate response using prompt");
|
|
29
|
+
const RetellaiGetAgent_VoicemailStaticTextActionSchema = z.object({
|
|
30
|
+
text: z.string().describe("Fixed message to leave."),
|
|
31
|
+
static_text: z.string().describe("Action type, must be 'static_text'.")
|
|
32
|
+
}).describe("Use static text message");
|
|
33
|
+
const RetellaiGetAgent_VoicemailHangupActionSchema = z.object({ type: z.string().describe("Action type, must be 'hangup'.") }).describe("Hang up the call");
|
|
34
|
+
const RetellaiGetAgent_VoicemailBridgeTransferActionSchema = z.object({ bridge_transfer: z.string().describe("Action type, must be 'bridge_transfer'.") }).describe("Bridge transfer");
|
|
35
|
+
const RetellaiGetAgent_VoicemailOptionSchema = z.object({ action: z.union([
|
|
36
|
+
RetellaiGetAgent_VoicemailPromptActionSchema,
|
|
37
|
+
RetellaiGetAgent_VoicemailStaticTextActionSchema,
|
|
38
|
+
RetellaiGetAgent_VoicemailHangupActionSchema,
|
|
39
|
+
RetellaiGetAgent_VoicemailBridgeTransferActionSchema
|
|
40
|
+
]) }).describe("Action to take upon voicemail detection");
|
|
41
|
+
const RetellaiGetAgent_UserDtmfOptionsSchema = z.object({
|
|
42
|
+
timeout_ms: z.number().int().describe("Waiting period between digits in milliseconds, ranging from 1000 to 15000.").nullable().optional(),
|
|
43
|
+
digit_limit: z.number().describe("Maximum DTMF digits per turn, ranging from 1 to 50.").nullable().optional(),
|
|
44
|
+
termination_key: z.string().describe("Single key (0-9, #, or *) that ends DTMF input.").nullable().optional()
|
|
45
|
+
}).describe("DTMF input configuration options");
|
|
46
|
+
const RetellaiGetAgent_StringAnalysisDataSchema = z.object({
|
|
47
|
+
name: z.string().describe("Name of the analysis field."),
|
|
48
|
+
type: z.string().describe("Analysis data type, must be 'string'."),
|
|
49
|
+
examples: z.array(z.string()).describe("Example values for extraction.").nullable().optional(),
|
|
50
|
+
description: z.string().describe("Description of what to extract.")
|
|
51
|
+
}).describe("String analysis data type");
|
|
52
|
+
const RetellaiGetAgent_EnumAnalysisDataSchema = z.object({
|
|
53
|
+
name: z.string().describe("Name of the analysis field."),
|
|
54
|
+
type: z.string().describe("Analysis data type, must be 'enum'."),
|
|
55
|
+
choices: z.array(z.string()).describe("Allowed enum values."),
|
|
56
|
+
description: z.string().describe("Description of what to extract.")
|
|
57
|
+
}).describe("Enum analysis data type");
|
|
58
|
+
const RetellaiGetAgent_BooleanAnalysisDataSchema = z.object({
|
|
59
|
+
name: z.string().describe("Name of the analysis field."),
|
|
60
|
+
type: z.string().describe("Analysis data type, must be 'boolean'."),
|
|
61
|
+
description: z.string().describe("Description of what to extract.")
|
|
62
|
+
}).describe("Boolean analysis data type");
|
|
63
|
+
const RetellaiGetAgent_NumberAnalysisDataSchema = z.object({
|
|
64
|
+
name: z.string().describe("Name of the analysis field."),
|
|
65
|
+
type: z.string().describe("Analysis data type, must be 'number'."),
|
|
66
|
+
description: z.string().describe("Description of what to extract.")
|
|
67
|
+
}).describe("Number analysis data type");
|
|
68
|
+
const RetellaiGetAgent_PronunciationDictionaryEntrySchema = z.object({
|
|
69
|
+
word: z.string().describe("The term to annotate with pronunciation guidance."),
|
|
70
|
+
phoneme: z.string().describe("Pronunciation representation in the specified alphabet."),
|
|
71
|
+
alphabet: z.string().describe("Phonetic alphabet format. Values: 'ipa' or 'cmu'.")
|
|
72
|
+
}).describe("Custom word pronunciation entry");
|
|
73
|
+
const retellaiGetAgent = action("RETELLAI_GET_AGENT", {
|
|
74
|
+
slug: "retellai-get-agent",
|
|
75
|
+
name: "Retrieve details of a specific agent",
|
|
76
|
+
description: "Retrieve details of a specific agent by its unique identifier. Use when you need to access agent configuration details.",
|
|
77
|
+
input: RetellaiGetAgentInput,
|
|
78
|
+
output: z.object({
|
|
79
|
+
volume: z.number().describe("Speech loudness control ranging from 0 to 2. Lower values mean quieter speech, higher values mean louder speech. Default is 1.").nullable().optional(),
|
|
80
|
+
channel: z.string().describe("Communication channel type. Value: 'voice'.").nullable().optional(),
|
|
81
|
+
version: z.number().int().describe("Version of the agent."),
|
|
82
|
+
agent_id: z.string().describe("Unique id of agent."),
|
|
83
|
+
language: z.string().describe("Speech recognition dialect. Default is 'en-US'.").nullable().optional(),
|
|
84
|
+
stt_mode: z.string().describe("Speech-to-text optimization mode. Values: 'fast', 'accurate'. Default is 'fast'.").nullable().optional(),
|
|
85
|
+
voice_id: z.string().describe("Unique voice id used for the agent."),
|
|
86
|
+
is_public: z.boolean().describe("Whether agent is available for public preview.").nullable().optional(),
|
|
87
|
+
agent_name: z.string().describe("Agent name for internal reference purposes.").nullable().optional(),
|
|
88
|
+
ivr_option: RetellaiGetAgent_IvrOptionSchema.nullable().optional(),
|
|
89
|
+
pii_config: RetellaiGetAgent_PiiConfigSchema.nullable().optional(),
|
|
90
|
+
voice_model: z.string().describe("Provider-specific voice synthesis model.").nullable().optional(),
|
|
91
|
+
voice_speed: z.number().describe("Speech rate control ranging from 0.5 to 2. Lower values mean slower speech, higher values mean faster speech. Default is 1.").nullable().optional(),
|
|
92
|
+
webhook_url: z.string().describe("Event notification endpoint URL for agent-specific webhooks.").nullable().optional(),
|
|
93
|
+
is_published: z.boolean().describe("Publication status of the agent. Default is false.").nullable().optional(),
|
|
94
|
+
ambient_sound: z.string().describe("Background environment audio setting.").nullable().optional(),
|
|
95
|
+
voice_emotion: z.string().describe("Emotional tone for speech synthesis.").nullable().optional(),
|
|
96
|
+
denoising_mode: z.string().describe("Audio enhancement approach. Options: 'noise-cancellation', 'none'. Default is 'noise-cancellation'.").nullable().optional(),
|
|
97
|
+
responsiveness: z.number().describe("Agent reactivity control ranging from 0 to 1. Lower values mean less responsive (agent waits more), higher values mean more responsive with faster exchanges. Default is 1.").nullable().optional(),
|
|
98
|
+
allow_user_dtmf: z.boolean().describe("Allow DTMF (dual-tone multi-frequency) input from user. Default is true.").nullable().optional(),
|
|
99
|
+
response_engine: z.union([
|
|
100
|
+
RetellaiGetAgent_RetellLlmResponseEngineSchema,
|
|
101
|
+
RetellaiGetAgent_CustomLlmResponseEngineSchema,
|
|
102
|
+
RetellaiGetAgent_ConversationFlowResponseEngineSchema
|
|
103
|
+
]),
|
|
104
|
+
boosted_keywords: z.array(z.string()).describe("List of keywords to bias the transcriber model for names, brands, street names, etc.").nullable().optional(),
|
|
105
|
+
ring_duration_ms: z.number().int().describe("Phone ringing duration in milliseconds for outbound calls. Default is 30000.").nullable().optional(),
|
|
106
|
+
voicemail_option: RetellaiGetAgent_VoicemailOptionSchema.nullable().optional(),
|
|
107
|
+
backchannel_words: z.array(z.string()).describe("Custom backchannel vocabulary.").nullable().optional(),
|
|
108
|
+
custom_stt_config: z.unknown().describe("Provider-specific speech-to-text configuration settings.").nullable().optional(),
|
|
109
|
+
opt_in_signed_url: z.boolean().describe("Enable security signatures on URLs. Default is false.").nullable().optional(),
|
|
110
|
+
user_dtmf_options: RetellaiGetAgent_UserDtmfOptionsSchema.nullable().optional(),
|
|
111
|
+
voice_temperature: z.number().describe("Voice stability control ranging from 0 to 2. Lower values mean more stable and less variant speech, higher values mean more variant speech. Default is 1.").nullable().optional(),
|
|
112
|
+
voicemail_message: z.string().describe("Message to leave when voicemail is detected.").nullable().optional(),
|
|
113
|
+
enable_backchannel: z.boolean().describe("Enable agent interjection phrases like 'yeah', 'uh-huh' to signify interest and engagement. Default is false.").nullable().optional(),
|
|
114
|
+
fallback_voice_ids: z.array(z.string()).describe("Alternate voice IDs to use during TTS provider outages.").nullable().optional(),
|
|
115
|
+
reminder_max_count: z.number().int().describe("Maximum number of reminder repetitions. Default is 1.").nullable().optional(),
|
|
116
|
+
webhook_timeout_ms: z.number().int().describe("Webhook response timeout in milliseconds. Default is 10000.").nullable().optional(),
|
|
117
|
+
reminder_trigger_ms: z.number().describe("Silence duration in milliseconds before reminder is triggered. Default is 10000.").nullable().optional(),
|
|
118
|
+
version_description: z.string().describe("Documentation of agent version.").nullable().optional(),
|
|
119
|
+
ambient_sound_volume: z.number().describe("Ambient audio loudness ranging from 0 to 2. Default is 1.").nullable().optional(),
|
|
120
|
+
data_storage_setting: z.string().describe("Granular setting to manage how Retell stores sensitive data (transcripts, recordings, logs). Options: 'everything', 'everything_except_pii', 'basic_attributes_only'. Default is 'everything'.").nullable().optional(),
|
|
121
|
+
max_call_duration_ms: z.number().int().describe("Maximum call length in milliseconds. Default is 3600000 (1 hour).").nullable().optional(),
|
|
122
|
+
normalize_for_speech: z.boolean().describe("Enable text normalization for speech synthesis. Default is false.").nullable().optional(),
|
|
123
|
+
vocab_specialization: z.string().describe("Transcription vocabulary domain specialization. Default is 'general'.").nullable().optional(),
|
|
124
|
+
backchannel_frequency: z.number().describe("Backchannel occurrence frequency ranging from 0 to 1. Default is 0.8.").nullable().optional(),
|
|
125
|
+
begin_message_delay_ms: z.number().int().describe("Initial message delay in milliseconds before agent speaks. Default is 0.").nullable().optional(),
|
|
126
|
+
analysis_summary_prompt: z.string().describe("Prompt guidance for generating call summary.").nullable().optional(),
|
|
127
|
+
post_call_analysis_data: z.array(z.union([
|
|
128
|
+
RetellaiGetAgent_StringAnalysisDataSchema,
|
|
129
|
+
RetellaiGetAgent_EnumAnalysisDataSchema,
|
|
130
|
+
RetellaiGetAgent_BooleanAnalysisDataSchema,
|
|
131
|
+
RetellaiGetAgent_NumberAnalysisDataSchema
|
|
132
|
+
])).describe("Custom extraction parameters for post-call analysis.").nullable().optional(),
|
|
133
|
+
interruption_sensitivity: z.number().describe("Control for how easily users can interrupt the agent, ranging from 0 to 1. Setting to 0 prevents interruptions. Default is 1.").nullable().optional(),
|
|
134
|
+
post_call_analysis_model: z.string().describe("LLM model to use for post-call analysis. Default is 'gpt-4.1-mini'.").nullable().optional(),
|
|
135
|
+
pronunciation_dictionary: z.array(RetellaiGetAgent_PronunciationDictionaryEntrySchema).describe("Custom word pronunciations. Used specifically for English and ElevenLabs voices.").nullable().optional(),
|
|
136
|
+
signed_url_expiration_ms: z.number().int().describe("URL validity duration in milliseconds. Default is 86400000 (24 hours).").nullable().optional(),
|
|
137
|
+
end_call_after_silence_ms: z.number().int().describe("Call termination timeout in milliseconds after silence. Default is 600000 (10 minutes).").nullable().optional(),
|
|
138
|
+
analysis_successful_prompt: z.string().describe("Prompt for determining if call was successful.").nullable().optional(),
|
|
139
|
+
enable_voicemail_detection: z.boolean().describe("Enable voicemail recognition for phone calls. Default is false.").nullable().optional(),
|
|
140
|
+
last_modification_timestamp: z.number().int().describe("Last modification timestamp (milliseconds since epoch)."),
|
|
141
|
+
voicemail_detection_timeout_ms: z.number().int().describe("Voicemail detection cutoff duration in milliseconds. Default is 30000.").nullable().optional()
|
|
142
|
+
}).describe("Response schema for `RetellaiGetAgent`")
|
|
143
|
+
});
|
|
144
|
+
//#endregion
|
|
145
|
+
export { retellaiGetAgent };
|
|
146
|
+
|
|
147
|
+
//# sourceMappingURL=get-agent.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-agent.mjs","names":[],"sources":["../../src/actions/get-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetAgentInput: z.ZodTypeAny = z.object({\n agent_id: z.string().describe(\"Unique identifier of the agent to retrieve\"),\n}).describe(\"Request schema for `RetellaiGetAgent`\");\nconst RetellaiGetAgent_IvrHangupActionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Action type, must be 'hangup'.\"),\n}).describe(\"Hang up the call\");\nconst RetellaiGetAgent_IvrOptionSchema: z.ZodTypeAny = z.object({\n action: RetellaiGetAgent_IvrHangupActionSchema.nullable(),\n}).describe(\"Action to take upon IVR detection\");\nconst RetellaiGetAgent_PiiConfigSchema: z.ZodTypeAny = z.object({\n mode: z.string().describe(\"Processing timing for PII scrubbing. Value: 'post_call'.\"),\n categories: z.array(z.string()).describe(\"Categories of PII to scrub. Values: 'person_name', 'address', 'email', 'phone_number', 'ssn', 'passport', 'driver_license', 'credit_card', 'bank_account', 'password', 'pin', 'medical_id', 'date_of_birth', 'customer_account_number'.\"),\n}).describe(\"PII (Personally Identifiable Information) scrubbing configuration\");\nconst RetellaiGetAgent_RetellLlmResponseEngineSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Engine type, must be 'retell-llm'.\"),\n llm_id: z.string().describe(\"Unique identifier for the LLM.\"),\n version: z.number().describe(\"Version of the LLM.\").nullable().optional(),\n}).describe(\"Retell LLM response engine\");\nconst RetellaiGetAgent_CustomLlmResponseEngineSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Engine type, must be 'custom-llm'.\"),\n llm_websocket_url: z.string().describe(\"WebSocket URL for custom LLM.\"),\n}).describe(\"Custom LLM response engine\");\nconst RetellaiGetAgent_ConversationFlowResponseEngineSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Engine type, must be 'conversation-flow'.\"),\n version: z.number().describe(\"Version of the conversation flow.\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"Unique identifier for the conversation flow.\"),\n}).describe(\"Conversation flow response engine\");\nconst RetellaiGetAgent_VoicemailPromptActionSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Prompt text for generating voicemail message.\"),\n type: z.string().describe(\"Action type, must be 'prompt'.\"),\n}).describe(\"Generate response using prompt\");\nconst RetellaiGetAgent_VoicemailStaticTextActionSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Fixed message to leave.\"),\n static_text: z.string().describe(\"Action type, must be 'static_text'.\"),\n}).describe(\"Use static text message\");\nconst RetellaiGetAgent_VoicemailHangupActionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Action type, must be 'hangup'.\"),\n}).describe(\"Hang up the call\");\nconst RetellaiGetAgent_VoicemailBridgeTransferActionSchema: z.ZodTypeAny = z.object({\n bridge_transfer: z.string().describe(\"Action type, must be 'bridge_transfer'.\"),\n}).describe(\"Bridge transfer\");\nconst RetellaiGetAgent_VoicemailOptionSchema: z.ZodTypeAny = z.object({\n action: z.union([RetellaiGetAgent_VoicemailPromptActionSchema, RetellaiGetAgent_VoicemailStaticTextActionSchema, RetellaiGetAgent_VoicemailHangupActionSchema, RetellaiGetAgent_VoicemailBridgeTransferActionSchema]),\n}).describe(\"Action to take upon voicemail detection\");\nconst RetellaiGetAgent_UserDtmfOptionsSchema: z.ZodTypeAny = z.object({\n timeout_ms: z.number().int().describe(\"Waiting period between digits in milliseconds, ranging from 1000 to 15000.\").nullable().optional(),\n digit_limit: z.number().describe(\"Maximum DTMF digits per turn, ranging from 1 to 50.\").nullable().optional(),\n termination_key: z.string().describe(\"Single key (0-9, #, or *) that ends DTMF input.\").nullable().optional(),\n}).describe(\"DTMF input configuration options\");\nconst RetellaiGetAgent_StringAnalysisDataSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the analysis field.\"),\n type: z.string().describe(\"Analysis data type, must be 'string'.\"),\n examples: z.array(z.string()).describe(\"Example values for extraction.\").nullable().optional(),\n description: z.string().describe(\"Description of what to extract.\"),\n}).describe(\"String analysis data type\");\nconst RetellaiGetAgent_EnumAnalysisDataSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the analysis field.\"),\n type: z.string().describe(\"Analysis data type, must be 'enum'.\"),\n choices: z.array(z.string()).describe(\"Allowed enum values.\"),\n description: z.string().describe(\"Description of what to extract.\"),\n}).describe(\"Enum analysis data type\");\nconst RetellaiGetAgent_BooleanAnalysisDataSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the analysis field.\"),\n type: z.string().describe(\"Analysis data type, must be 'boolean'.\"),\n description: z.string().describe(\"Description of what to extract.\"),\n}).describe(\"Boolean analysis data type\");\nconst RetellaiGetAgent_NumberAnalysisDataSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the analysis field.\"),\n type: z.string().describe(\"Analysis data type, must be 'number'.\"),\n description: z.string().describe(\"Description of what to extract.\"),\n}).describe(\"Number analysis data type\");\nconst RetellaiGetAgent_PronunciationDictionaryEntrySchema: z.ZodTypeAny = z.object({\n word: z.string().describe(\"The term to annotate with pronunciation guidance.\"),\n phoneme: z.string().describe(\"Pronunciation representation in the specified alphabet.\"),\n alphabet: z.string().describe(\"Phonetic alphabet format. Values: 'ipa' or 'cmu'.\"),\n}).describe(\"Custom word pronunciation entry\");\nexport const RetellaiGetAgentOutput: z.ZodTypeAny = z.object({\n volume: z.number().describe(\"Speech loudness control ranging from 0 to 2. Lower values mean quieter speech, higher values mean louder speech. Default is 1.\").nullable().optional(),\n channel: z.string().describe(\"Communication channel type. Value: 'voice'.\").nullable().optional(),\n version: z.number().int().describe(\"Version of the agent.\"),\n agent_id: z.string().describe(\"Unique id of agent.\"),\n language: z.string().describe(\"Speech recognition dialect. Default is 'en-US'.\").nullable().optional(),\n stt_mode: z.string().describe(\"Speech-to-text optimization mode. Values: 'fast', 'accurate'. Default is 'fast'.\").nullable().optional(),\n voice_id: z.string().describe(\"Unique voice id used for the agent.\"),\n is_public: z.boolean().describe(\"Whether agent is available for public preview.\").nullable().optional(),\n agent_name: z.string().describe(\"Agent name for internal reference purposes.\").nullable().optional(),\n ivr_option: RetellaiGetAgent_IvrOptionSchema.nullable().optional(),\n pii_config: RetellaiGetAgent_PiiConfigSchema.nullable().optional(),\n voice_model: z.string().describe(\"Provider-specific voice synthesis model.\").nullable().optional(),\n voice_speed: z.number().describe(\"Speech rate control ranging from 0.5 to 2. Lower values mean slower speech, higher values mean faster speech. Default is 1.\").nullable().optional(),\n webhook_url: z.string().describe(\"Event notification endpoint URL for agent-specific webhooks.\").nullable().optional(),\n is_published: z.boolean().describe(\"Publication status of the agent. Default is false.\").nullable().optional(),\n ambient_sound: z.string().describe(\"Background environment audio setting.\").nullable().optional(),\n voice_emotion: z.string().describe(\"Emotional tone for speech synthesis.\").nullable().optional(),\n denoising_mode: z.string().describe(\"Audio enhancement approach. Options: 'noise-cancellation', 'none'. Default is 'noise-cancellation'.\").nullable().optional(),\n responsiveness: z.number().describe(\"Agent reactivity control ranging from 0 to 1. Lower values mean less responsive (agent waits more), higher values mean more responsive with faster exchanges. Default is 1.\").nullable().optional(),\n allow_user_dtmf: z.boolean().describe(\"Allow DTMF (dual-tone multi-frequency) input from user. Default is true.\").nullable().optional(),\n response_engine: z.union([RetellaiGetAgent_RetellLlmResponseEngineSchema, RetellaiGetAgent_CustomLlmResponseEngineSchema, RetellaiGetAgent_ConversationFlowResponseEngineSchema]),\n boosted_keywords: z.array(z.string()).describe(\"List of keywords to bias the transcriber model for names, brands, street names, etc.\").nullable().optional(),\n ring_duration_ms: z.number().int().describe(\"Phone ringing duration in milliseconds for outbound calls. Default is 30000.\").nullable().optional(),\n voicemail_option: RetellaiGetAgent_VoicemailOptionSchema.nullable().optional(),\n backchannel_words: z.array(z.string()).describe(\"Custom backchannel vocabulary.\").nullable().optional(),\n custom_stt_config: z.unknown().describe(\"Provider-specific speech-to-text configuration settings.\").nullable().optional(),\n opt_in_signed_url: z.boolean().describe(\"Enable security signatures on URLs. Default is false.\").nullable().optional(),\n user_dtmf_options: RetellaiGetAgent_UserDtmfOptionsSchema.nullable().optional(),\n voice_temperature: z.number().describe(\"Voice stability control ranging from 0 to 2. Lower values mean more stable and less variant speech, higher values mean more variant speech. Default is 1.\").nullable().optional(),\n voicemail_message: z.string().describe(\"Message to leave when voicemail is detected.\").nullable().optional(),\n enable_backchannel: z.boolean().describe(\"Enable agent interjection phrases like 'yeah', 'uh-huh' to signify interest and engagement. Default is false.\").nullable().optional(),\n fallback_voice_ids: z.array(z.string()).describe(\"Alternate voice IDs to use during TTS provider outages.\").nullable().optional(),\n reminder_max_count: z.number().int().describe(\"Maximum number of reminder repetitions. Default is 1.\").nullable().optional(),\n webhook_timeout_ms: z.number().int().describe(\"Webhook response timeout in milliseconds. Default is 10000.\").nullable().optional(),\n reminder_trigger_ms: z.number().describe(\"Silence duration in milliseconds before reminder is triggered. Default is 10000.\").nullable().optional(),\n version_description: z.string().describe(\"Documentation of agent version.\").nullable().optional(),\n ambient_sound_volume: z.number().describe(\"Ambient audio loudness ranging from 0 to 2. Default is 1.\").nullable().optional(),\n data_storage_setting: z.string().describe(\"Granular setting to manage how Retell stores sensitive data (transcripts, recordings, logs). Options: 'everything', 'everything_except_pii', 'basic_attributes_only'. Default is 'everything'.\").nullable().optional(),\n max_call_duration_ms: z.number().int().describe(\"Maximum call length in milliseconds. Default is 3600000 (1 hour).\").nullable().optional(),\n normalize_for_speech: z.boolean().describe(\"Enable text normalization for speech synthesis. Default is false.\").nullable().optional(),\n vocab_specialization: z.string().describe(\"Transcription vocabulary domain specialization. Default is 'general'.\").nullable().optional(),\n backchannel_frequency: z.number().describe(\"Backchannel occurrence frequency ranging from 0 to 1. Default is 0.8.\").nullable().optional(),\n begin_message_delay_ms: z.number().int().describe(\"Initial message delay in milliseconds before agent speaks. Default is 0.\").nullable().optional(),\n analysis_summary_prompt: z.string().describe(\"Prompt guidance for generating call summary.\").nullable().optional(),\n post_call_analysis_data: z.array(z.union([RetellaiGetAgent_StringAnalysisDataSchema, RetellaiGetAgent_EnumAnalysisDataSchema, RetellaiGetAgent_BooleanAnalysisDataSchema, RetellaiGetAgent_NumberAnalysisDataSchema])).describe(\"Custom extraction parameters for post-call analysis.\").nullable().optional(),\n interruption_sensitivity: z.number().describe(\"Control for how easily users can interrupt the agent, ranging from 0 to 1. Setting to 0 prevents interruptions. Default is 1.\").nullable().optional(),\n post_call_analysis_model: z.string().describe(\"LLM model to use for post-call analysis. Default is 'gpt-4.1-mini'.\").nullable().optional(),\n pronunciation_dictionary: z.array(RetellaiGetAgent_PronunciationDictionaryEntrySchema).describe(\"Custom word pronunciations. Used specifically for English and ElevenLabs voices.\").nullable().optional(),\n signed_url_expiration_ms: z.number().int().describe(\"URL validity duration in milliseconds. Default is 86400000 (24 hours).\").nullable().optional(),\n end_call_after_silence_ms: z.number().int().describe(\"Call termination timeout in milliseconds after silence. Default is 600000 (10 minutes).\").nullable().optional(),\n analysis_successful_prompt: z.string().describe(\"Prompt for determining if call was successful.\").nullable().optional(),\n enable_voicemail_detection: z.boolean().describe(\"Enable voicemail recognition for phone calls. Default is false.\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Last modification timestamp (milliseconds since epoch).\"),\n voicemail_detection_timeout_ms: z.number().int().describe(\"Voicemail detection cutoff duration in milliseconds. Default is 30000.\").nullable().optional(),\n}).describe(\"Response schema for `RetellaiGetAgent`\");\n\nexport const retellaiGetAgent = action(\"RETELLAI_GET_AGENT\", {\n slug: \"retellai-get-agent\",\n name: \"Retrieve details of a specific agent\",\n description: \"Retrieve details of a specific agent by its unique identifier. Use when you need to access agent configuration details.\",\n input: RetellaiGetAgentInput,\n output: RetellaiGetAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EAC5E,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,yCAAu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AAM;GAAC;GAA2C;GAAyC;GAA4C;EAAyC,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5S,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnM,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,0BAA0B,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxM,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClJ,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpK,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,4BAA4B,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;EAChH,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-batch-test.ts
|
|
4
|
+
const RetellaiGetBatchTestInput = zod.z.object({ test_case_batch_job_id: zod.z.string().describe("ID of the batch test job to retrieve") }).describe("Request schema for `GetBatchTest`");
|
|
5
|
+
const RetellaiGetBatchTest_RetellLlmResponseEngineSchema = zod.z.object({
|
|
6
|
+
type: zod.z.string().describe("Engine type"),
|
|
7
|
+
llmId: zod.z.string().describe("LLM identifier"),
|
|
8
|
+
version: zod.z.number().describe("Version of the LLM").nullable().optional()
|
|
9
|
+
}).describe("Retell LLM response engine");
|
|
10
|
+
const RetellaiGetBatchTest_CustomLlmResponseEngineSchema = zod.z.object({
|
|
11
|
+
type: zod.z.string().describe("Engine type"),
|
|
12
|
+
llmWebsocketUrl: zod.z.string().describe("WebSocket URL for custom LLM")
|
|
13
|
+
}).describe("Custom LLM response engine");
|
|
14
|
+
const RetellaiGetBatchTest_ConversationFlowResponseEngineSchema = zod.z.object({
|
|
15
|
+
type: zod.z.string().describe("Engine type"),
|
|
16
|
+
version: zod.z.number().describe("Version of the conversation flow").nullable().optional(),
|
|
17
|
+
conversationFlowId: zod.z.string().describe("Conversation flow identifier")
|
|
18
|
+
}).describe("Conversation flow response engine");
|
|
19
|
+
const RetellaiGetBatchTestOutput = zod.z.object({
|
|
20
|
+
status: zod.z.enum(["in_progress", "complete"]).describe("Status of the batch job"),
|
|
21
|
+
failCount: zod.z.number().int().describe("Number of test cases that failed"),
|
|
22
|
+
passCount: zod.z.number().int().describe("Number of test cases that passed"),
|
|
23
|
+
errorCount: zod.z.number().int().describe("Number of test cases that encountered errors"),
|
|
24
|
+
totalCount: zod.z.number().int().describe("Total number of test cases in the batch"),
|
|
25
|
+
responseEngine: zod.z.union([
|
|
26
|
+
RetellaiGetBatchTest_RetellLlmResponseEngineSchema,
|
|
27
|
+
RetellaiGetBatchTest_CustomLlmResponseEngineSchema,
|
|
28
|
+
RetellaiGetBatchTest_ConversationFlowResponseEngineSchema
|
|
29
|
+
]),
|
|
30
|
+
creationTimestamp: zod.z.number().int().describe("Timestamp when the batch job was created (milliseconds since epoch)"),
|
|
31
|
+
testCaseBatchJobId: zod.z.string().describe("Unique identifier for the test case batch job"),
|
|
32
|
+
userModifiedTimestamp: zod.z.number().int().describe("Timestamp when the batch job was last modified (milliseconds since epoch)")
|
|
33
|
+
}).describe("Response schema for `GetBatchTest`");
|
|
34
|
+
const retellaiGetBatchTest = require_action.action("RETELLAI_GET_BATCH_TEST", {
|
|
35
|
+
slug: "retellai-get-batch-test",
|
|
36
|
+
name: "Get batch test",
|
|
37
|
+
description: "Retrieve details and results of a specific batch test job. Use when you need to check the status and results of a batch test execution.",
|
|
38
|
+
input: RetellaiGetBatchTestInput,
|
|
39
|
+
output: RetellaiGetBatchTestOutput
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
exports.retellaiGetBatchTest = retellaiGetBatchTest;
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=get-batch-test.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-batch-test.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-test.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetBatchTestInput: z.ZodTypeAny = z.object({\n test_case_batch_job_id: z.string().describe(\"ID of the batch test job to retrieve\"),\n}).describe(\"Request schema for `GetBatchTest`\");\nconst RetellaiGetBatchTest_RetellLlmResponseEngineSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Engine type\"),\n llmId: z.string().describe(\"LLM identifier\"),\n version: z.number().describe(\"Version of the LLM\").nullable().optional(),\n}).describe(\"Retell LLM response engine\");\nconst RetellaiGetBatchTest_CustomLlmResponseEngineSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Engine type\"),\n llmWebsocketUrl: z.string().describe(\"WebSocket URL for custom LLM\"),\n}).describe(\"Custom LLM response engine\");\nconst RetellaiGetBatchTest_ConversationFlowResponseEngineSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Engine type\"),\n version: z.number().describe(\"Version of the conversation flow\").nullable().optional(),\n conversationFlowId: z.string().describe(\"Conversation flow identifier\"),\n}).describe(\"Conversation flow response engine\");\nexport const RetellaiGetBatchTestOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"in_progress\", \"complete\"]).describe(\"Status of the batch job\"),\n failCount: z.number().int().describe(\"Number of test cases that failed\"),\n passCount: z.number().int().describe(\"Number of test cases that passed\"),\n errorCount: z.number().int().describe(\"Number of test cases that encountered errors\"),\n totalCount: z.number().int().describe(\"Total number of test cases in the batch\"),\n responseEngine: z.union([RetellaiGetBatchTest_RetellLlmResponseEngineSchema, RetellaiGetBatchTest_CustomLlmResponseEngineSchema, RetellaiGetBatchTest_ConversationFlowResponseEngineSchema]),\n creationTimestamp: z.number().int().describe(\"Timestamp when the batch job was created (milliseconds since epoch)\"),\n testCaseBatchJobId: z.string().describe(\"Unique identifier for the test case batch job\"),\n userModifiedTimestamp: z.number().int().describe(\"Timestamp when the batch job was last modified (milliseconds since epoch)\"),\n}).describe(\"Response schema for `GetBatchTest`\");\n\nexport const retellaiGetBatchTest = action(\"RETELLAI_GET_BATCH_TEST\", {\n slug: \"retellai-get-batch-test\",\n name: \"Get batch test\",\n description: \"Retrieve details and results of a specific batch test job. Use when you need to check the status and results of a batch test execution.\",\n input: RetellaiGetBatchTestInput,\n output: RetellaiGetBatchTestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACpF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,qDAAmEA,IAAAA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D,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-batch-test.d.ts
|
|
4
|
+
declare const RetellaiGetBatchTestInput: z.ZodTypeAny;
|
|
5
|
+
declare const RetellaiGetBatchTestOutput: z.ZodTypeAny;
|
|
6
|
+
declare const retellaiGetBatchTest: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { retellaiGetBatchTest };
|
|
9
|
+
//# sourceMappingURL=get-batch-test.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-batch-test.d.cts","names":[],"sources":["../../src/actions/get-batch-test.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEM;AAAA,cAenC,0BAAA,EAA4B,CAAA,CAAE,UAUM;AAAA,cAEpC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|