@keystrokehq/retellai 0.1.0 → 0.1.2
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-community-voice.cjs.map +1 -1
- package/dist/actions/add-community-voice.d.cts +18 -3
- package/dist/actions/add-community-voice.d.cts.map +1 -1
- package/dist/actions/add-community-voice.d.mts +18 -3
- package/dist/actions/add-community-voice.d.mts.map +1 -1
- package/dist/actions/add-community-voice.mjs.map +1 -1
- package/dist/actions/add-knowledge-base-sources.cjs +14 -14
- package/dist/actions/add-knowledge-base-sources.cjs.map +1 -1
- package/dist/actions/add-knowledge-base-sources.d.cts +49 -3
- package/dist/actions/add-knowledge-base-sources.d.cts.map +1 -1
- package/dist/actions/add-knowledge-base-sources.d.mts +49 -3
- package/dist/actions/add-knowledge-base-sources.d.mts.map +1 -1
- package/dist/actions/add-knowledge-base-sources.mjs +14 -14
- package/dist/actions/add-knowledge-base-sources.mjs.map +1 -1
- package/dist/actions/buy-a-new-phone-number-bind-agents.cjs +3 -3
- package/dist/actions/buy-a-new-phone-number-bind-agents.cjs.map +1 -1
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts +32 -3
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts.map +1 -1
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts +32 -3
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts.map +1 -1
- package/dist/actions/buy-a-new-phone-number-bind-agents.mjs +3 -3
- package/dist/actions/buy-a-new-phone-number-bind-agents.mjs.map +1 -1
- package/dist/actions/create-a-new-outbound-phone-call.cjs +35 -35
- package/dist/actions/create-a-new-outbound-phone-call.cjs.map +1 -1
- package/dist/actions/create-a-new-outbound-phone-call.d.cts +268 -3
- package/dist/actions/create-a-new-outbound-phone-call.d.cts.map +1 -1
- package/dist/actions/create-a-new-outbound-phone-call.d.mts +268 -3
- package/dist/actions/create-a-new-outbound-phone-call.d.mts.map +1 -1
- package/dist/actions/create-a-new-outbound-phone-call.mjs +35 -35
- package/dist/actions/create-a-new-outbound-phone-call.mjs.map +1 -1
- package/dist/actions/create-a-new-web-call.cjs +6 -6
- package/dist/actions/create-a-new-web-call.cjs.map +1 -1
- package/dist/actions/create-a-new-web-call.d.cts +57 -3
- package/dist/actions/create-a-new-web-call.d.cts.map +1 -1
- package/dist/actions/create-a-new-web-call.d.mts +57 -3
- package/dist/actions/create-a-new-web-call.d.mts.map +1 -1
- package/dist/actions/create-a-new-web-call.mjs +6 -6
- package/dist/actions/create-a-new-web-call.mjs.map +1 -1
- package/dist/actions/create-agent.cjs +3 -3
- package/dist/actions/create-agent.cjs.map +1 -1
- package/dist/actions/create-agent.d.cts +230 -3
- package/dist/actions/create-agent.d.cts.map +1 -1
- package/dist/actions/create-agent.d.mts +230 -3
- package/dist/actions/create-agent.d.mts.map +1 -1
- package/dist/actions/create-agent.mjs +3 -3
- package/dist/actions/create-agent.mjs.map +1 -1
- package/dist/actions/create-batch-test.cjs +9 -9
- package/dist/actions/create-batch-test.cjs.map +1 -1
- package/dist/actions/create-batch-test.d.cts +44 -3
- package/dist/actions/create-batch-test.d.cts.map +1 -1
- package/dist/actions/create-batch-test.d.mts +44 -3
- package/dist/actions/create-batch-test.d.mts.map +1 -1
- package/dist/actions/create-batch-test.mjs +9 -9
- package/dist/actions/create-batch-test.mjs.map +1 -1
- package/dist/actions/create-chat-agent.cjs +12 -12
- package/dist/actions/create-chat-agent.cjs.map +1 -1
- package/dist/actions/create-chat-agent.d.cts +141 -3
- package/dist/actions/create-chat-agent.d.cts.map +1 -1
- package/dist/actions/create-chat-agent.d.mts +141 -3
- package/dist/actions/create-chat-agent.d.mts.map +1 -1
- package/dist/actions/create-chat-agent.mjs +12 -12
- package/dist/actions/create-chat-agent.mjs.map +1 -1
- package/dist/actions/create-chat-completion.cjs.map +1 -1
- package/dist/actions/create-chat-completion.d.cts +11 -3
- package/dist/actions/create-chat-completion.d.cts.map +1 -1
- package/dist/actions/create-chat-completion.d.mts +11 -3
- package/dist/actions/create-chat-completion.d.mts.map +1 -1
- package/dist/actions/create-chat-completion.mjs.map +1 -1
- package/dist/actions/create-chat.cjs +6 -6
- package/dist/actions/create-chat.cjs.map +1 -1
- package/dist/actions/create-chat.d.cts +53 -3
- package/dist/actions/create-chat.d.cts.map +1 -1
- package/dist/actions/create-chat.d.mts +53 -3
- package/dist/actions/create-chat.d.mts.map +1 -1
- package/dist/actions/create-chat.mjs +6 -6
- package/dist/actions/create-chat.mjs.map +1 -1
- package/dist/actions/create-conversation-flow-component.cjs +7 -7
- package/dist/actions/create-conversation-flow-component.cjs.map +1 -1
- package/dist/actions/create-conversation-flow-component.d.cts +57 -3
- package/dist/actions/create-conversation-flow-component.d.cts.map +1 -1
- package/dist/actions/create-conversation-flow-component.d.mts +57 -3
- package/dist/actions/create-conversation-flow-component.d.mts.map +1 -1
- package/dist/actions/create-conversation-flow-component.mjs +7 -7
- package/dist/actions/create-conversation-flow-component.mjs.map +1 -1
- package/dist/actions/create-conversation-flow.cjs +3 -3
- package/dist/actions/create-conversation-flow.cjs.map +1 -1
- package/dist/actions/create-conversation-flow.d.cts +59 -3
- package/dist/actions/create-conversation-flow.d.cts.map +1 -1
- package/dist/actions/create-conversation-flow.d.mts +59 -3
- package/dist/actions/create-conversation-flow.d.mts.map +1 -1
- package/dist/actions/create-conversation-flow.mjs +3 -3
- package/dist/actions/create-conversation-flow.mjs.map +1 -1
- package/dist/actions/create-knowledge-base.cjs +2 -2
- package/dist/actions/create-knowledge-base.cjs.map +1 -1
- package/dist/actions/create-knowledge-base.d.cts +34 -3
- package/dist/actions/create-knowledge-base.d.cts.map +1 -1
- package/dist/actions/create-knowledge-base.d.mts +34 -3
- package/dist/actions/create-knowledge-base.d.mts.map +1 -1
- package/dist/actions/create-knowledge-base.mjs +2 -2
- package/dist/actions/create-knowledge-base.mjs.map +1 -1
- package/dist/actions/create-retell-llm.cjs +2 -2
- package/dist/actions/create-retell-llm.cjs.map +1 -1
- package/dist/actions/create-retell-llm.d.cts +168 -3
- package/dist/actions/create-retell-llm.d.cts.map +1 -1
- package/dist/actions/create-retell-llm.d.mts +168 -3
- package/dist/actions/create-retell-llm.d.mts.map +1 -1
- package/dist/actions/create-retell-llm.mjs +2 -2
- package/dist/actions/create-retell-llm.mjs.map +1 -1
- package/dist/actions/create-test-case-definition.cjs +6 -6
- package/dist/actions/create-test-case-definition.cjs.map +1 -1
- package/dist/actions/create-test-case-definition.d.cts +50 -3
- package/dist/actions/create-test-case-definition.d.cts.map +1 -1
- package/dist/actions/create-test-case-definition.d.mts +50 -3
- package/dist/actions/create-test-case-definition.d.mts.map +1 -1
- package/dist/actions/create-test-case-definition.mjs +6 -6
- package/dist/actions/create-test-case-definition.mjs.map +1 -1
- package/dist/actions/delete-agent.cjs +2 -2
- package/dist/actions/delete-agent.cjs.map +1 -1
- package/dist/actions/delete-agent.d.cts +12 -3
- package/dist/actions/delete-agent.d.cts.map +1 -1
- package/dist/actions/delete-agent.d.mts +12 -3
- package/dist/actions/delete-agent.d.mts.map +1 -1
- package/dist/actions/delete-agent.mjs +2 -2
- package/dist/actions/delete-agent.mjs.map +1 -1
- package/dist/actions/delete-call.cjs.map +1 -1
- package/dist/actions/delete-call.d.cts +7 -3
- package/dist/actions/delete-call.d.cts.map +1 -1
- package/dist/actions/delete-call.d.mts +7 -3
- package/dist/actions/delete-call.d.mts.map +1 -1
- package/dist/actions/delete-call.mjs.map +1 -1
- package/dist/actions/delete-chat-agent.cjs.map +1 -1
- package/dist/actions/delete-chat-agent.d.cts +10 -3
- package/dist/actions/delete-chat-agent.d.cts.map +1 -1
- package/dist/actions/delete-chat-agent.d.mts +10 -3
- package/dist/actions/delete-chat-agent.d.mts.map +1 -1
- package/dist/actions/delete-chat-agent.mjs.map +1 -1
- package/dist/actions/delete-conversation-flow-component.cjs.map +1 -1
- package/dist/actions/delete-conversation-flow-component.d.cts +7 -3
- package/dist/actions/delete-conversation-flow-component.d.cts.map +1 -1
- package/dist/actions/delete-conversation-flow-component.d.mts +7 -3
- package/dist/actions/delete-conversation-flow-component.d.mts.map +1 -1
- package/dist/actions/delete-conversation-flow-component.mjs.map +1 -1
- package/dist/actions/delete-conversation-flow.cjs.map +1 -1
- package/dist/actions/delete-conversation-flow.d.cts +7 -3
- package/dist/actions/delete-conversation-flow.d.cts.map +1 -1
- package/dist/actions/delete-conversation-flow.d.mts +7 -3
- package/dist/actions/delete-conversation-flow.d.mts.map +1 -1
- package/dist/actions/delete-conversation-flow.mjs.map +1 -1
- package/dist/actions/delete-knowledge-base-source.cjs.map +1 -1
- package/dist/actions/delete-knowledge-base-source.d.cts +9 -3
- package/dist/actions/delete-knowledge-base-source.d.cts.map +1 -1
- package/dist/actions/delete-knowledge-base-source.d.mts +9 -3
- package/dist/actions/delete-knowledge-base-source.d.mts.map +1 -1
- package/dist/actions/delete-knowledge-base-source.mjs.map +1 -1
- package/dist/actions/delete-knowledge-base.cjs.map +1 -1
- package/dist/actions/delete-knowledge-base.d.cts +7 -3
- package/dist/actions/delete-knowledge-base.d.cts.map +1 -1
- package/dist/actions/delete-knowledge-base.d.mts +7 -3
- package/dist/actions/delete-knowledge-base.d.mts.map +1 -1
- package/dist/actions/delete-knowledge-base.mjs.map +1 -1
- package/dist/actions/delete-phone-number.cjs +2 -2
- package/dist/actions/delete-phone-number.cjs.map +1 -1
- package/dist/actions/delete-phone-number.d.cts +10 -3
- package/dist/actions/delete-phone-number.d.cts.map +1 -1
- package/dist/actions/delete-phone-number.d.mts +10 -3
- package/dist/actions/delete-phone-number.d.mts.map +1 -1
- package/dist/actions/delete-phone-number.mjs +2 -2
- package/dist/actions/delete-phone-number.mjs.map +1 -1
- package/dist/actions/delete-retell-llm.cjs.map +1 -1
- package/dist/actions/delete-retell-llm.d.cts +7 -3
- package/dist/actions/delete-retell-llm.d.cts.map +1 -1
- package/dist/actions/delete-retell-llm.d.mts +7 -3
- package/dist/actions/delete-retell-llm.d.mts.map +1 -1
- package/dist/actions/delete-retell-llm.mjs.map +1 -1
- package/dist/actions/delete-test-case-definition.cjs.map +1 -1
- package/dist/actions/delete-test-case-definition.d.cts +7 -3
- package/dist/actions/delete-test-case-definition.d.cts.map +1 -1
- package/dist/actions/delete-test-case-definition.d.mts +7 -3
- package/dist/actions/delete-test-case-definition.d.mts.map +1 -1
- package/dist/actions/delete-test-case-definition.mjs.map +1 -1
- package/dist/actions/end-chat.cjs.map +1 -1
- package/dist/actions/end-chat.d.cts +10 -3
- package/dist/actions/end-chat.d.cts.map +1 -1
- package/dist/actions/end-chat.d.mts +10 -3
- package/dist/actions/end-chat.d.mts.map +1 -1
- package/dist/actions/end-chat.mjs.map +1 -1
- package/dist/actions/get-agent-versions.cjs.map +1 -1
- package/dist/actions/get-agent-versions.d.cts +7 -3
- package/dist/actions/get-agent-versions.d.cts.map +1 -1
- package/dist/actions/get-agent-versions.d.mts +7 -3
- package/dist/actions/get-agent-versions.d.mts.map +1 -1
- package/dist/actions/get-agent-versions.mjs.map +1 -1
- package/dist/actions/get-agent.cjs +33 -33
- package/dist/actions/get-agent.cjs.map +1 -1
- package/dist/actions/get-agent.d.cts +118 -3
- package/dist/actions/get-agent.d.cts.map +1 -1
- package/dist/actions/get-agent.d.mts +118 -3
- package/dist/actions/get-agent.d.mts.map +1 -1
- package/dist/actions/get-agent.mjs +33 -33
- package/dist/actions/get-agent.mjs.map +1 -1
- package/dist/actions/get-batch-test.cjs +14 -14
- package/dist/actions/get-batch-test.cjs.map +1 -1
- package/dist/actions/get-batch-test.d.cts +31 -3
- package/dist/actions/get-batch-test.d.cts.map +1 -1
- package/dist/actions/get-batch-test.d.mts +31 -3
- package/dist/actions/get-batch-test.d.mts.map +1 -1
- package/dist/actions/get-batch-test.mjs +14 -14
- package/dist/actions/get-batch-test.mjs.map +1 -1
- package/dist/actions/get-chat-agent-versions.cjs.map +1 -1
- package/dist/actions/get-chat-agent-versions.d.cts +23 -3
- package/dist/actions/get-chat-agent-versions.d.cts.map +1 -1
- package/dist/actions/get-chat-agent-versions.d.mts +23 -3
- package/dist/actions/get-chat-agent-versions.d.mts.map +1 -1
- package/dist/actions/get-chat-agent-versions.mjs.map +1 -1
- package/dist/actions/get-chat-agent.cjs +21 -21
- package/dist/actions/get-chat-agent.cjs.map +1 -1
- package/dist/actions/get-chat-agent.d.cts +79 -3
- package/dist/actions/get-chat-agent.d.cts.map +1 -1
- package/dist/actions/get-chat-agent.d.mts +79 -3
- package/dist/actions/get-chat-agent.d.mts.map +1 -1
- package/dist/actions/get-chat-agent.mjs +21 -21
- package/dist/actions/get-chat-agent.mjs.map +1 -1
- package/dist/actions/get-chat.cjs +6 -6
- package/dist/actions/get-chat.cjs.map +1 -1
- package/dist/actions/get-chat.d.cts +47 -3
- package/dist/actions/get-chat.d.cts.map +1 -1
- package/dist/actions/get-chat.d.mts +47 -3
- package/dist/actions/get-chat.d.mts.map +1 -1
- package/dist/actions/get-chat.mjs +6 -6
- package/dist/actions/get-chat.mjs.map +1 -1
- package/dist/actions/get-concurrency.cjs.map +1 -1
- package/dist/actions/get-concurrency.d.cts +10 -3
- package/dist/actions/get-concurrency.d.cts.map +1 -1
- package/dist/actions/get-concurrency.d.mts +10 -3
- package/dist/actions/get-concurrency.d.mts.map +1 -1
- package/dist/actions/get-concurrency.mjs.map +1 -1
- package/dist/actions/get-conversation-flow-component.cjs +10 -10
- package/dist/actions/get-conversation-flow-component.cjs.map +1 -1
- package/dist/actions/get-conversation-flow-component.d.cts +62 -3
- package/dist/actions/get-conversation-flow-component.d.cts.map +1 -1
- package/dist/actions/get-conversation-flow-component.d.mts +62 -3
- package/dist/actions/get-conversation-flow-component.d.mts.map +1 -1
- package/dist/actions/get-conversation-flow-component.mjs +10 -10
- package/dist/actions/get-conversation-flow-component.mjs.map +1 -1
- package/dist/actions/get-conversation-flow.cjs +11 -11
- package/dist/actions/get-conversation-flow.cjs.map +1 -1
- package/dist/actions/get-conversation-flow.d.cts +86 -3
- package/dist/actions/get-conversation-flow.d.cts.map +1 -1
- package/dist/actions/get-conversation-flow.d.mts +86 -3
- package/dist/actions/get-conversation-flow.d.mts.map +1 -1
- package/dist/actions/get-conversation-flow.mjs +11 -11
- package/dist/actions/get-conversation-flow.mjs.map +1 -1
- package/dist/actions/get-knowledge-base.cjs +15 -15
- package/dist/actions/get-knowledge-base.cjs.map +1 -1
- package/dist/actions/get-knowledge-base.d.cts +29 -3
- package/dist/actions/get-knowledge-base.d.cts.map +1 -1
- package/dist/actions/get-knowledge-base.d.mts +29 -3
- package/dist/actions/get-knowledge-base.d.mts.map +1 -1
- package/dist/actions/get-knowledge-base.mjs +15 -15
- package/dist/actions/get-knowledge-base.mjs.map +1 -1
- package/dist/actions/get-retell-llm.cjs +53 -53
- package/dist/actions/get-retell-llm.cjs.map +1 -1
- package/dist/actions/get-retell-llm.d.cts +316 -3
- package/dist/actions/get-retell-llm.d.cts.map +1 -1
- package/dist/actions/get-retell-llm.d.mts +316 -3
- package/dist/actions/get-retell-llm.d.mts.map +1 -1
- package/dist/actions/get-retell-llm.mjs +53 -53
- package/dist/actions/get-retell-llm.mjs.map +1 -1
- package/dist/actions/import-phone-number.cjs.map +1 -1
- package/dist/actions/import-phone-number.d.cts +50 -3
- package/dist/actions/import-phone-number.d.cts.map +1 -1
- package/dist/actions/import-phone-number.d.mts +50 -3
- package/dist/actions/import-phone-number.d.mts.map +1 -1
- package/dist/actions/import-phone-number.mjs.map +1 -1
- package/dist/actions/list-agents.cjs.map +1 -1
- package/dist/actions/list-agents.d.cts +3 -3
- package/dist/actions/list-agents.d.cts.map +1 -1
- package/dist/actions/list-agents.d.mts +3 -3
- package/dist/actions/list-agents.d.mts.map +1 -1
- package/dist/actions/list-agents.mjs.map +1 -1
- package/dist/actions/list-all-chats.cjs.map +1 -1
- package/dist/actions/list-all-chats.d.cts +14 -3
- package/dist/actions/list-all-chats.d.cts.map +1 -1
- package/dist/actions/list-all-chats.d.mts +14 -3
- package/dist/actions/list-all-chats.d.mts.map +1 -1
- package/dist/actions/list-all-chats.mjs.map +1 -1
- package/dist/actions/list-all-phone-numbers.cjs.map +1 -1
- package/dist/actions/list-all-phone-numbers.d.cts +3 -3
- package/dist/actions/list-all-phone-numbers.d.cts.map +1 -1
- package/dist/actions/list-all-phone-numbers.d.mts +3 -3
- package/dist/actions/list-all-phone-numbers.d.mts.map +1 -1
- package/dist/actions/list-all-phone-numbers.mjs.map +1 -1
- package/dist/actions/list-batch-tests.cjs +13 -13
- package/dist/actions/list-batch-tests.cjs.map +1 -1
- package/dist/actions/list-batch-tests.d.cts +42 -3
- package/dist/actions/list-batch-tests.d.cts.map +1 -1
- package/dist/actions/list-batch-tests.d.mts +42 -3
- package/dist/actions/list-batch-tests.d.mts.map +1 -1
- package/dist/actions/list-batch-tests.mjs +13 -13
- package/dist/actions/list-batch-tests.mjs.map +1 -1
- package/dist/actions/list-chat-agents.cjs.map +1 -1
- package/dist/actions/list-chat-agents.d.cts +11 -3
- package/dist/actions/list-chat-agents.d.cts.map +1 -1
- package/dist/actions/list-chat-agents.d.mts +11 -3
- package/dist/actions/list-chat-agents.d.mts.map +1 -1
- package/dist/actions/list-chat-agents.mjs.map +1 -1
- package/dist/actions/list-conversation-flow-components.cjs.map +1 -1
- package/dist/actions/list-conversation-flow-components.d.cts +12 -3
- package/dist/actions/list-conversation-flow-components.d.cts.map +1 -1
- package/dist/actions/list-conversation-flow-components.d.mts +12 -3
- package/dist/actions/list-conversation-flow-components.d.mts.map +1 -1
- package/dist/actions/list-conversation-flow-components.mjs.map +1 -1
- package/dist/actions/list-conversation-flows.cjs.map +1 -1
- package/dist/actions/list-conversation-flows.d.cts +23 -3
- package/dist/actions/list-conversation-flows.d.cts.map +1 -1
- package/dist/actions/list-conversation-flows.d.mts +23 -3
- package/dist/actions/list-conversation-flows.d.mts.map +1 -1
- package/dist/actions/list-conversation-flows.mjs.map +1 -1
- package/dist/actions/list-knowledge-bases.cjs.map +1 -1
- package/dist/actions/list-knowledge-bases.d.cts +3 -3
- package/dist/actions/list-knowledge-bases.d.cts.map +1 -1
- package/dist/actions/list-knowledge-bases.d.mts +3 -3
- package/dist/actions/list-knowledge-bases.d.mts.map +1 -1
- package/dist/actions/list-knowledge-bases.mjs.map +1 -1
- package/dist/actions/list-retell-llms.cjs.map +1 -1
- package/dist/actions/list-retell-llms.d.cts +60 -3
- package/dist/actions/list-retell-llms.d.cts.map +1 -1
- package/dist/actions/list-retell-llms.d.mts +60 -3
- package/dist/actions/list-retell-llms.d.mts.map +1 -1
- package/dist/actions/list-retell-llms.mjs.map +1 -1
- package/dist/actions/list-test-case-definitions.cjs +7 -7
- package/dist/actions/list-test-case-definitions.cjs.map +1 -1
- package/dist/actions/list-test-case-definitions.d.cts +30 -3
- package/dist/actions/list-test-case-definitions.d.cts.map +1 -1
- package/dist/actions/list-test-case-definitions.d.mts +30 -3
- package/dist/actions/list-test-case-definitions.d.mts.map +1 -1
- package/dist/actions/list-test-case-definitions.mjs +7 -7
- package/dist/actions/list-test-case-definitions.mjs.map +1 -1
- package/dist/actions/list-test-runs.cjs.map +1 -1
- package/dist/actions/list-test-runs.d.cts +7 -3
- package/dist/actions/list-test-runs.d.cts.map +1 -1
- package/dist/actions/list-test-runs.d.mts +7 -3
- package/dist/actions/list-test-runs.d.mts.map +1 -1
- package/dist/actions/list-test-runs.mjs.map +1 -1
- package/dist/actions/list-voices.cjs.map +1 -1
- package/dist/actions/list-voices.d.cts +3 -3
- package/dist/actions/list-voices.d.cts.map +1 -1
- package/dist/actions/list-voices.d.mts +3 -3
- package/dist/actions/list-voices.d.mts.map +1 -1
- package/dist/actions/list-voices.mjs.map +1 -1
- package/dist/actions/publish-agent.cjs +4 -4
- package/dist/actions/publish-agent.cjs.map +1 -1
- package/dist/actions/publish-agent.d.cts +61 -3
- package/dist/actions/publish-agent.d.cts.map +1 -1
- package/dist/actions/publish-agent.d.mts +61 -3
- package/dist/actions/publish-agent.d.mts.map +1 -1
- package/dist/actions/publish-agent.mjs +4 -4
- package/dist/actions/publish-agent.mjs.map +1 -1
- package/dist/actions/publish-chat-agent.cjs +4 -4
- package/dist/actions/publish-chat-agent.cjs.map +1 -1
- package/dist/actions/publish-chat-agent.d.cts +28 -3
- package/dist/actions/publish-chat-agent.d.cts.map +1 -1
- package/dist/actions/publish-chat-agent.d.mts +28 -3
- package/dist/actions/publish-chat-agent.d.mts.map +1 -1
- package/dist/actions/publish-chat-agent.mjs +4 -4
- package/dist/actions/publish-chat-agent.mjs.map +1 -1
- package/dist/actions/register-phone-call.cjs +35 -35
- package/dist/actions/register-phone-call.cjs.map +1 -1
- package/dist/actions/register-phone-call.d.cts +271 -3
- package/dist/actions/register-phone-call.d.cts.map +1 -1
- package/dist/actions/register-phone-call.d.mts +271 -3
- package/dist/actions/register-phone-call.d.mts.map +1 -1
- package/dist/actions/register-phone-call.mjs +35 -35
- package/dist/actions/register-phone-call.mjs.map +1 -1
- package/dist/actions/retrieve-call-details-by-id.cjs.map +1 -1
- package/dist/actions/retrieve-call-details-by-id.d.cts +7 -3
- package/dist/actions/retrieve-call-details-by-id.d.cts.map +1 -1
- package/dist/actions/retrieve-call-details-by-id.d.mts +7 -3
- package/dist/actions/retrieve-call-details-by-id.d.mts.map +1 -1
- package/dist/actions/retrieve-call-details-by-id.mjs.map +1 -1
- package/dist/actions/retrieve-call-details.cjs.map +1 -1
- package/dist/actions/retrieve-call-details.d.cts +204 -3
- package/dist/actions/retrieve-call-details.d.cts.map +1 -1
- package/dist/actions/retrieve-call-details.d.mts +204 -3
- package/dist/actions/retrieve-call-details.d.mts.map +1 -1
- package/dist/actions/retrieve-call-details.mjs.map +1 -1
- package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs.map +1 -1
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts +19 -3
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts.map +1 -1
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts +19 -3
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts.map +1 -1
- package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs.map +1 -1
- package/dist/actions/retrieve-details-of-a-specific-voice.cjs.map +1 -1
- package/dist/actions/retrieve-details-of-a-specific-voice.d.cts +15 -3
- package/dist/actions/retrieve-details-of-a-specific-voice.d.cts.map +1 -1
- package/dist/actions/retrieve-details-of-a-specific-voice.d.mts +15 -3
- package/dist/actions/retrieve-details-of-a-specific-voice.d.mts.map +1 -1
- package/dist/actions/retrieve-details-of-a-specific-voice.mjs.map +1 -1
- package/dist/actions/search-community-voice.cjs.map +1 -1
- package/dist/actions/search-community-voice.d.cts +20 -3
- package/dist/actions/search-community-voice.d.cts.map +1 -1
- package/dist/actions/search-community-voice.d.mts +20 -3
- package/dist/actions/search-community-voice.d.mts.map +1 -1
- package/dist/actions/search-community-voice.mjs.map +1 -1
- package/dist/actions/update-agent.cjs +26 -26
- package/dist/actions/update-agent.cjs.map +1 -1
- package/dist/actions/update-agent.d.cts +302 -3
- package/dist/actions/update-agent.d.cts.map +1 -1
- package/dist/actions/update-agent.d.mts +302 -3
- package/dist/actions/update-agent.d.mts.map +1 -1
- package/dist/actions/update-agent.mjs +26 -26
- package/dist/actions/update-agent.mjs.map +1 -1
- package/dist/actions/update-call.cjs.map +1 -1
- package/dist/actions/update-call.d.cts +28 -3
- package/dist/actions/update-call.d.cts.map +1 -1
- package/dist/actions/update-call.d.mts +28 -3
- package/dist/actions/update-call.d.mts.map +1 -1
- package/dist/actions/update-call.mjs.map +1 -1
- package/dist/actions/update-chat-agent.cjs +35 -35
- package/dist/actions/update-chat-agent.cjs.map +1 -1
- package/dist/actions/update-chat-agent.d.cts +206 -3
- package/dist/actions/update-chat-agent.d.cts.map +1 -1
- package/dist/actions/update-chat-agent.d.mts +206 -3
- package/dist/actions/update-chat-agent.d.mts.map +1 -1
- package/dist/actions/update-chat-agent.mjs +35 -35
- package/dist/actions/update-chat-agent.mjs.map +1 -1
- package/dist/actions/update-chat-metadata.cjs +6 -6
- package/dist/actions/update-chat-metadata.cjs.map +1 -1
- package/dist/actions/update-chat-metadata.d.cts +58 -3
- package/dist/actions/update-chat-metadata.d.cts.map +1 -1
- package/dist/actions/update-chat-metadata.d.mts +58 -3
- package/dist/actions/update-chat-metadata.d.mts.map +1 -1
- package/dist/actions/update-chat-metadata.mjs +6 -6
- package/dist/actions/update-chat-metadata.mjs.map +1 -1
- package/dist/actions/update-conversation-flow-component.cjs +55 -55
- package/dist/actions/update-conversation-flow-component.cjs.map +1 -1
- package/dist/actions/update-conversation-flow-component.d.cts +265 -3
- package/dist/actions/update-conversation-flow-component.d.cts.map +1 -1
- package/dist/actions/update-conversation-flow-component.d.mts +265 -3
- package/dist/actions/update-conversation-flow-component.d.mts.map +1 -1
- package/dist/actions/update-conversation-flow-component.mjs +55 -55
- package/dist/actions/update-conversation-flow-component.mjs.map +1 -1
- package/dist/actions/update-conversation-flow.cjs +5 -5
- package/dist/actions/update-conversation-flow.cjs.map +1 -1
- package/dist/actions/update-conversation-flow.d.cts +114 -3
- package/dist/actions/update-conversation-flow.d.cts.map +1 -1
- package/dist/actions/update-conversation-flow.d.mts +114 -3
- package/dist/actions/update-conversation-flow.d.mts.map +1 -1
- package/dist/actions/update-conversation-flow.mjs +5 -5
- package/dist/actions/update-conversation-flow.mjs.map +1 -1
- package/dist/actions/update-phone-number.cjs +4 -4
- package/dist/actions/update-phone-number.cjs.map +1 -1
- package/dist/actions/update-phone-number.d.cts +58 -3
- package/dist/actions/update-phone-number.d.cts.map +1 -1
- package/dist/actions/update-phone-number.d.mts +58 -3
- package/dist/actions/update-phone-number.d.mts.map +1 -1
- package/dist/actions/update-phone-number.mjs +4 -4
- package/dist/actions/update-phone-number.mjs.map +1 -1
- package/dist/actions/update-retell-llm.cjs +2 -2
- package/dist/actions/update-retell-llm.cjs.map +1 -1
- package/dist/actions/update-retell-llm.d.cts +173 -3
- package/dist/actions/update-retell-llm.d.cts.map +1 -1
- package/dist/actions/update-retell-llm.d.mts +173 -3
- package/dist/actions/update-retell-llm.d.mts.map +1 -1
- package/dist/actions/update-retell-llm.mjs +2 -2
- package/dist/actions/update-retell-llm.mjs.map +1 -1
- package/dist/actions/update-test-case-definition.cjs +13 -13
- package/dist/actions/update-test-case-definition.cjs.map +1 -1
- package/dist/actions/update-test-case-definition.d.cts +86 -3
- package/dist/actions/update-test-case-definition.d.cts.map +1 -1
- package/dist/actions/update-test-case-definition.d.mts +86 -3
- package/dist/actions/update-test-case-definition.d.mts.map +1 -1
- package/dist/actions/update-test-case-definition.mjs +13 -13
- package/dist/actions/update-test-case-definition.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3,28 +3,28 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-knowledge-base.ts
|
|
4
4
|
const RetellaiGetKnowledgeBaseInput = zod.z.object({ knowledge_base_id: zod.z.string().describe("The unique identifier of the knowledge base to retrieve") }).describe("Request schema for `GetKnowledgeBase`");
|
|
5
5
|
const RetellaiGetKnowledgeBase_DocumentSourceSchema = zod.z.object({
|
|
6
|
-
type: zod.z.string().describe("Source type identifier, value must be 'document'"),
|
|
7
|
-
file_url: zod.z.string().describe("URL to access the document file"),
|
|
8
|
-
filename: zod.z.string().describe("Name of the document file"),
|
|
9
|
-
file_size: zod.z.number().int().describe("Size of the document file in bytes"),
|
|
10
|
-
source_id: zod.z.string().describe("Unique identifier of the source")
|
|
6
|
+
type: zod.z.string().describe("Source type identifier, value must be 'document'").nullable(),
|
|
7
|
+
file_url: zod.z.string().describe("URL to access the document file").nullable(),
|
|
8
|
+
filename: zod.z.string().describe("Name of the document file").nullable(),
|
|
9
|
+
file_size: zod.z.number().int().describe("Size of the document file in bytes").nullable(),
|
|
10
|
+
source_id: zod.z.string().describe("Unique identifier of the source").nullable()
|
|
11
11
|
}).describe("Document source type for knowledge base");
|
|
12
12
|
const RetellaiGetKnowledgeBase_TextSourceSchema = zod.z.object({
|
|
13
|
-
type: zod.z.string().describe("Source type identifier, value must be 'text'"),
|
|
14
|
-
title: zod.z.string().describe("Title of the text source"),
|
|
15
|
-
source_id: zod.z.string().describe("Unique identifier of the source"),
|
|
16
|
-
content_url: zod.z.string().describe("URL to access the text content")
|
|
13
|
+
type: zod.z.string().describe("Source type identifier, value must be 'text'").nullable(),
|
|
14
|
+
title: zod.z.string().describe("Title of the text source").nullable(),
|
|
15
|
+
source_id: zod.z.string().describe("Unique identifier of the source").nullable(),
|
|
16
|
+
content_url: zod.z.string().describe("URL to access the text content").nullable()
|
|
17
17
|
}).describe("Text source type for knowledge base");
|
|
18
18
|
const RetellaiGetKnowledgeBase_URLSourceSchema = zod.z.object({
|
|
19
|
-
url: zod.z.string().describe("URL of the source"),
|
|
20
|
-
type: zod.z.string().describe("Source type identifier, value must be 'url'"),
|
|
21
|
-
source_id: zod.z.string().describe("Unique identifier of the source")
|
|
19
|
+
url: zod.z.string().describe("URL of the source").nullable(),
|
|
20
|
+
type: zod.z.string().describe("Source type identifier, value must be 'url'").nullable(),
|
|
21
|
+
source_id: zod.z.string().describe("Unique identifier of the source").nullable()
|
|
22
22
|
}).describe("URL source type for knowledge base");
|
|
23
23
|
const RetellaiGetKnowledgeBaseOutput = zod.z.object({
|
|
24
|
-
status: zod.z.string().describe("Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress"),
|
|
25
|
-
knowledge_base_id: zod.z.string().describe("Unique id of the knowledge base"),
|
|
24
|
+
status: zod.z.string().describe("Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress").nullable(),
|
|
25
|
+
knowledge_base_id: zod.z.string().describe("Unique id of the knowledge base").nullable(),
|
|
26
26
|
enable_auto_refresh: zod.z.boolean().describe("Whether to enable auto refresh for the knowledge base URLs").nullable().optional(),
|
|
27
|
-
knowledge_base_name: zod.z.string().describe("Name of the knowledge base. Must be less than 40 characters"),
|
|
27
|
+
knowledge_base_name: zod.z.string().describe("Name of the knowledge base. Must be less than 40 characters").nullable(),
|
|
28
28
|
knowledge_base_sources: zod.z.array(zod.z.union([
|
|
29
29
|
RetellaiGetKnowledgeBase_DocumentSourceSchema,
|
|
30
30
|
RetellaiGetKnowledgeBase_TextSourceSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-knowledge-base.cjs","names":["z","action"],"sources":["../../src/actions/get-knowledge-base.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetKnowledgeBaseInput
|
|
1
|
+
{"version":3,"file":"get-knowledge-base.cjs","names":["z","action"],"sources":["../../src/actions/get-knowledge-base.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetKnowledgeBaseInput = z.object({\n knowledge_base_id: z.string().describe(\"The unique identifier of the knowledge base to retrieve\"),\n}).describe(\"Request schema for `GetKnowledgeBase`\");\nconst RetellaiGetKnowledgeBase_DocumentSourceSchema = z.object({\n type: z.string().describe(\"Source type identifier, value must be 'document'\").nullable(),\n file_url: z.string().describe(\"URL to access the document file\").nullable(),\n filename: z.string().describe(\"Name of the document file\").nullable(),\n file_size: z.number().int().describe(\"Size of the document file in bytes\").nullable(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n}).describe(\"Document source type for knowledge base\");\nconst RetellaiGetKnowledgeBase_TextSourceSchema = z.object({\n type: z.string().describe(\"Source type identifier, value must be 'text'\").nullable(),\n title: z.string().describe(\"Title of the text source\").nullable(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n content_url: z.string().describe(\"URL to access the text content\").nullable(),\n}).describe(\"Text source type for knowledge base\");\nconst RetellaiGetKnowledgeBase_URLSourceSchema = z.object({\n url: z.string().describe(\"URL of the source\").nullable(),\n type: z.string().describe(\"Source type identifier, value must be 'url'\").nullable(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n}).describe(\"URL source type for knowledge base\");\nexport const RetellaiGetKnowledgeBaseOutput = z.object({\n status: z.string().describe(\"Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress\").nullable(),\n knowledge_base_id: z.string().describe(\"Unique id of the knowledge base\").nullable(),\n enable_auto_refresh: z.boolean().describe(\"Whether to enable auto refresh for the knowledge base URLs\").nullable().optional(),\n knowledge_base_name: z.string().describe(\"Name of the knowledge base. Must be less than 40 characters\").nullable(),\n knowledge_base_sources: z.array(z.union([RetellaiGetKnowledgeBase_DocumentSourceSchema, RetellaiGetKnowledgeBase_TextSourceSchema, RetellaiGetKnowledgeBase_URLSourceSchema])).describe(\"Collection of source items (documents, text, or URLs)\").nullable().optional(),\n last_refreshed_timestamp: z.number().int().describe(\"Last refreshed timestamp in milliseconds since epoch\").nullable().optional(),\n}).describe(\"Response schema for `GetKnowledgeBase`\");\n\nexport const retellaiGetKnowledgeBase = action(\"RETELLAI_GET_KNOWLEDGE_BASE\", {\n slug: \"retellai-get-knowledge-base\",\n name: \"Get knowledge base\",\n description: \"Retrieve details of a specific knowledge base by its unique identifier. Use when you need to access knowledge base configuration including name, status, sources, and refresh settings.\",\n input: RetellaiGetKnowledgeBaseInput,\n output: RetellaiGetKnowledgeBaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAClG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACzJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACnF,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjH,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAAC;EAA+C;EAA2C;CAAwC,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrQ,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-knowledge-base.d.ts
|
|
4
|
-
declare const RetellaiGetKnowledgeBaseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RetellaiGetKnowledgeBaseInput: z.ZodObject<{
|
|
5
|
+
knowledge_base_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RetellaiGetKnowledgeBaseOutput: z.ZodObject<{
|
|
8
|
+
status: z.ZodNullable<z.ZodString>;
|
|
9
|
+
knowledge_base_id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
enable_auto_refresh: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
+
knowledge_base_name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
knowledge_base_sources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
13
|
+
type: z.ZodNullable<z.ZodString>;
|
|
14
|
+
file_url: z.ZodNullable<z.ZodString>;
|
|
15
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
16
|
+
file_size: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
source_id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
type: z.ZodNullable<z.ZodString>;
|
|
20
|
+
title: z.ZodNullable<z.ZodString>;
|
|
21
|
+
source_id: z.ZodNullable<z.ZodString>;
|
|
22
|
+
content_url: z.ZodNullable<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
url: z.ZodNullable<z.ZodString>;
|
|
25
|
+
type: z.ZodNullable<z.ZodString>;
|
|
26
|
+
source_id: z.ZodNullable<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>]>>>>;
|
|
28
|
+
last_refreshed_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const retellaiGetKnowledgeBase: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
knowledge_base_id: string;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { retellaiGetKnowledgeBase };
|
|
9
35
|
//# sourceMappingURL=get-knowledge-base.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-knowledge-base.d.cts","names":[],"sources":["../../src/actions/get-knowledge-base.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-knowledge-base.d.cts","names":[],"sources":["../../src/actions/get-knowledge-base.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAqB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-knowledge-base.d.ts
|
|
4
|
-
declare const RetellaiGetKnowledgeBaseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RetellaiGetKnowledgeBaseInput: z.ZodObject<{
|
|
5
|
+
knowledge_base_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RetellaiGetKnowledgeBaseOutput: z.ZodObject<{
|
|
8
|
+
status: z.ZodNullable<z.ZodString>;
|
|
9
|
+
knowledge_base_id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
enable_auto_refresh: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
+
knowledge_base_name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
knowledge_base_sources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
13
|
+
type: z.ZodNullable<z.ZodString>;
|
|
14
|
+
file_url: z.ZodNullable<z.ZodString>;
|
|
15
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
16
|
+
file_size: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
source_id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
type: z.ZodNullable<z.ZodString>;
|
|
20
|
+
title: z.ZodNullable<z.ZodString>;
|
|
21
|
+
source_id: z.ZodNullable<z.ZodString>;
|
|
22
|
+
content_url: z.ZodNullable<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
url: z.ZodNullable<z.ZodString>;
|
|
25
|
+
type: z.ZodNullable<z.ZodString>;
|
|
26
|
+
source_id: z.ZodNullable<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>]>>>>;
|
|
28
|
+
last_refreshed_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const retellaiGetKnowledgeBase: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
|
+
knowledge_base_id: string;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { retellaiGetKnowledgeBase };
|
|
9
35
|
//# sourceMappingURL=get-knowledge-base.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-knowledge-base.d.mts","names":[],"sources":["../../src/actions/get-knowledge-base.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-knowledge-base.d.mts","names":[],"sources":["../../src/actions/get-knowledge-base.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAqB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -3,22 +3,22 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-knowledge-base.ts
|
|
4
4
|
const RetellaiGetKnowledgeBaseInput = z.object({ knowledge_base_id: z.string().describe("The unique identifier of the knowledge base to retrieve") }).describe("Request schema for `GetKnowledgeBase`");
|
|
5
5
|
const RetellaiGetKnowledgeBase_DocumentSourceSchema = z.object({
|
|
6
|
-
type: z.string().describe("Source type identifier, value must be 'document'"),
|
|
7
|
-
file_url: z.string().describe("URL to access the document file"),
|
|
8
|
-
filename: z.string().describe("Name of the document file"),
|
|
9
|
-
file_size: z.number().int().describe("Size of the document file in bytes"),
|
|
10
|
-
source_id: z.string().describe("Unique identifier of the source")
|
|
6
|
+
type: z.string().describe("Source type identifier, value must be 'document'").nullable(),
|
|
7
|
+
file_url: z.string().describe("URL to access the document file").nullable(),
|
|
8
|
+
filename: z.string().describe("Name of the document file").nullable(),
|
|
9
|
+
file_size: z.number().int().describe("Size of the document file in bytes").nullable(),
|
|
10
|
+
source_id: z.string().describe("Unique identifier of the source").nullable()
|
|
11
11
|
}).describe("Document source type for knowledge base");
|
|
12
12
|
const RetellaiGetKnowledgeBase_TextSourceSchema = z.object({
|
|
13
|
-
type: z.string().describe("Source type identifier, value must be 'text'"),
|
|
14
|
-
title: z.string().describe("Title of the text source"),
|
|
15
|
-
source_id: z.string().describe("Unique identifier of the source"),
|
|
16
|
-
content_url: z.string().describe("URL to access the text content")
|
|
13
|
+
type: z.string().describe("Source type identifier, value must be 'text'").nullable(),
|
|
14
|
+
title: z.string().describe("Title of the text source").nullable(),
|
|
15
|
+
source_id: z.string().describe("Unique identifier of the source").nullable(),
|
|
16
|
+
content_url: z.string().describe("URL to access the text content").nullable()
|
|
17
17
|
}).describe("Text source type for knowledge base");
|
|
18
18
|
const RetellaiGetKnowledgeBase_URLSourceSchema = z.object({
|
|
19
|
-
url: z.string().describe("URL of the source"),
|
|
20
|
-
type: z.string().describe("Source type identifier, value must be 'url'"),
|
|
21
|
-
source_id: z.string().describe("Unique identifier of the source")
|
|
19
|
+
url: z.string().describe("URL of the source").nullable(),
|
|
20
|
+
type: z.string().describe("Source type identifier, value must be 'url'").nullable(),
|
|
21
|
+
source_id: z.string().describe("Unique identifier of the source").nullable()
|
|
22
22
|
}).describe("URL source type for knowledge base");
|
|
23
23
|
const retellaiGetKnowledgeBase = action("RETELLAI_GET_KNOWLEDGE_BASE", {
|
|
24
24
|
slug: "retellai-get-knowledge-base",
|
|
@@ -26,10 +26,10 @@ const retellaiGetKnowledgeBase = action("RETELLAI_GET_KNOWLEDGE_BASE", {
|
|
|
26
26
|
description: "Retrieve details of a specific knowledge base by its unique identifier. Use when you need to access knowledge base configuration including name, status, sources, and refresh settings.",
|
|
27
27
|
input: RetellaiGetKnowledgeBaseInput,
|
|
28
28
|
output: z.object({
|
|
29
|
-
status: z.string().describe("Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress"),
|
|
30
|
-
knowledge_base_id: z.string().describe("Unique id of the knowledge base"),
|
|
29
|
+
status: z.string().describe("Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress").nullable(),
|
|
30
|
+
knowledge_base_id: z.string().describe("Unique id of the knowledge base").nullable(),
|
|
31
31
|
enable_auto_refresh: z.boolean().describe("Whether to enable auto refresh for the knowledge base URLs").nullable().optional(),
|
|
32
|
-
knowledge_base_name: z.string().describe("Name of the knowledge base. Must be less than 40 characters"),
|
|
32
|
+
knowledge_base_name: z.string().describe("Name of the knowledge base. Must be less than 40 characters").nullable(),
|
|
33
33
|
knowledge_base_sources: z.array(z.union([
|
|
34
34
|
RetellaiGetKnowledgeBase_DocumentSourceSchema,
|
|
35
35
|
RetellaiGetKnowledgeBase_TextSourceSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-knowledge-base.mjs","names":[],"sources":["../../src/actions/get-knowledge-base.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetKnowledgeBaseInput
|
|
1
|
+
{"version":3,"file":"get-knowledge-base.mjs","names":[],"sources":["../../src/actions/get-knowledge-base.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetKnowledgeBaseInput = z.object({\n knowledge_base_id: z.string().describe(\"The unique identifier of the knowledge base to retrieve\"),\n}).describe(\"Request schema for `GetKnowledgeBase`\");\nconst RetellaiGetKnowledgeBase_DocumentSourceSchema = z.object({\n type: z.string().describe(\"Source type identifier, value must be 'document'\").nullable(),\n file_url: z.string().describe(\"URL to access the document file\").nullable(),\n filename: z.string().describe(\"Name of the document file\").nullable(),\n file_size: z.number().int().describe(\"Size of the document file in bytes\").nullable(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n}).describe(\"Document source type for knowledge base\");\nconst RetellaiGetKnowledgeBase_TextSourceSchema = z.object({\n type: z.string().describe(\"Source type identifier, value must be 'text'\").nullable(),\n title: z.string().describe(\"Title of the text source\").nullable(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n content_url: z.string().describe(\"URL to access the text content\").nullable(),\n}).describe(\"Text source type for knowledge base\");\nconst RetellaiGetKnowledgeBase_URLSourceSchema = z.object({\n url: z.string().describe(\"URL of the source\").nullable(),\n type: z.string().describe(\"Source type identifier, value must be 'url'\").nullable(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n}).describe(\"URL source type for knowledge base\");\nexport const RetellaiGetKnowledgeBaseOutput = z.object({\n status: z.string().describe(\"Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress\").nullable(),\n knowledge_base_id: z.string().describe(\"Unique id of the knowledge base\").nullable(),\n enable_auto_refresh: z.boolean().describe(\"Whether to enable auto refresh for the knowledge base URLs\").nullable().optional(),\n knowledge_base_name: z.string().describe(\"Name of the knowledge base. Must be less than 40 characters\").nullable(),\n knowledge_base_sources: z.array(z.union([RetellaiGetKnowledgeBase_DocumentSourceSchema, RetellaiGetKnowledgeBase_TextSourceSchema, RetellaiGetKnowledgeBase_URLSourceSchema])).describe(\"Collection of source items (documents, text, or URLs)\").nullable().optional(),\n last_refreshed_timestamp: z.number().int().describe(\"Last refreshed timestamp in milliseconds since epoch\").nullable().optional(),\n}).describe(\"Response schema for `GetKnowledgeBase`\");\n\nexport const retellaiGetKnowledgeBase = action(\"RETELLAI_GET_KNOWLEDGE_BASE\", {\n slug: \"retellai-get-knowledge-base\",\n name: \"Get knowledge base\",\n description: \"Retrieve details of a specific knowledge base by its unique identifier. Use when you need to access knowledge base configuration including name, status, sources, and refresh settings.\",\n input: RetellaiGetKnowledgeBaseInput,\n output: RetellaiGetKnowledgeBaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAClG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAUhD,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EACzJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACnF,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACjH,wBAAwB,EAAE,MAAM,EAAE,MAAM;GAAC;GAA+C;GAA2C;EAAwC,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrQ,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -6,37 +6,37 @@ const RetellaiGetRetellLlmInput = zod.z.object({
|
|
|
6
6
|
version: zod.z.number().int().describe("Optional version of the API to use for this request. Defaults to latest version if not specified").optional()
|
|
7
7
|
}).describe("Request schema for `RetellaiGetRetellLlm`");
|
|
8
8
|
const RetellaiGetRetellLlm_MCPServerSchema = zod.z.object({
|
|
9
|
-
url: zod.z.string().describe("MCP server URL"),
|
|
10
|
-
name: zod.z.string().describe("MCP server name"),
|
|
9
|
+
url: zod.z.string().describe("MCP server URL").nullable(),
|
|
10
|
+
name: zod.z.string().describe("MCP server name").nullable(),
|
|
11
11
|
headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("HTTP headers for MCP requests").nullable().optional(),
|
|
12
12
|
timeout_ms: zod.z.number().int().describe("Timeout for MCP requests in milliseconds").nullable().optional(),
|
|
13
13
|
query_params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Query parameters for MCP requests").nullable().optional()
|
|
14
14
|
}).describe("Model Context Protocol server configuration");
|
|
15
15
|
const RetellaiGetRetellLlm_StateEdgeSchema = zod.z.object({
|
|
16
16
|
parameters: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Describes what parameters you want to extract out when the transition changes. The parameters extracted here can be referenced in prompts & function descriptions of later states via dynamic variables.").nullable().optional(),
|
|
17
|
-
description: zod.z.string().describe("Describes what's the transition and at what time / criteria should this transition happen."),
|
|
18
|
-
destination_state_name: zod.z.string().describe("The destination state name when going through transition of state via this edge. State transition internally is implemented as a tool call of LLM, and a tool call with name 'transition_to_{destination_state_name}' will get created.")
|
|
17
|
+
description: zod.z.string().describe("Describes what's the transition and at what time / criteria should this transition happen.").nullable(),
|
|
18
|
+
destination_state_name: zod.z.string().describe("The destination state name when going through transition of state via this edge. State transition internally is implemented as a tool call of LLM, and a tool call with name 'transition_to_{destination_state_name}' will get created.").nullable()
|
|
19
19
|
}).describe("Edge definition for state transitions");
|
|
20
20
|
const RetellaiGetRetellLlm_EndCallToolSchema = zod.z.object({
|
|
21
|
-
name: zod.z.string().describe("Unique tool identifier"),
|
|
22
|
-
type: zod.z.string().describe("Tool type identifier"),
|
|
21
|
+
name: zod.z.string().describe("Unique tool identifier").nullable(),
|
|
22
|
+
type: zod.z.string().describe("Tool type identifier").nullable(),
|
|
23
23
|
description: zod.z.string().describe("Explains tool purpose and usage context").nullable().optional(),
|
|
24
24
|
speak_during_execution: zod.z.boolean().describe("Enable speech during termination").nullable().optional(),
|
|
25
25
|
execution_message_description: zod.z.string().describe("What the agent says when ending").nullable().optional()
|
|
26
26
|
}).describe("Tool for ending the call");
|
|
27
27
|
const RetellaiGetRetellLlm_ColdTransferOptionSchema = zod.z.object({
|
|
28
|
-
type: zod.z.string().describe("Transfer option type discriminator"),
|
|
28
|
+
type: zod.z.string().describe("Transfer option type discriminator").nullable(),
|
|
29
29
|
show_transferee_as_caller: zod.z.boolean().describe("Show transferee number as caller ID").nullable().optional()
|
|
30
30
|
}).describe("Cold transfer: direct transfer without briefing");
|
|
31
31
|
const RetellaiGetRetellLlm_WarmTransferOptionSchema = zod.z.object({
|
|
32
|
-
type: zod.z.string().describe("Transfer option type discriminator"),
|
|
32
|
+
type: zod.z.string().describe("Transfer option type discriminator").nullable(),
|
|
33
33
|
wait_for_human: zod.z.boolean().describe("Only complete transfer if human detected").nullable().optional(),
|
|
34
34
|
whisper_message: zod.z.string().describe("Message spoken only to transfer target (supports dynamic variables)").nullable().optional(),
|
|
35
35
|
on_hold_music_url: zod.z.string().describe("URL of music to play while caller is on hold").nullable().optional(),
|
|
36
36
|
three_way_message: zod.z.string().describe("Message heard by both caller and target during handoff (supports dynamic variables)").nullable().optional()
|
|
37
37
|
}).describe("Warm transfer: AI briefs the next agent before transferring");
|
|
38
38
|
const RetellaiGetRetellLlm_AgenticWarmTransferOptionSchema = zod.z.object({
|
|
39
|
-
type: zod.z.string().describe("Transfer option type discriminator"),
|
|
39
|
+
type: zod.z.string().describe("Transfer option type discriminator").nullable(),
|
|
40
40
|
prompt: zod.z.string().describe("Prompt to guide AI in evaluating transfer decision (supports dynamic variables)").nullable().optional(),
|
|
41
41
|
wait_for_human: zod.z.boolean().describe("Only complete transfer if human detected").nullable().optional(),
|
|
42
42
|
whisper_message: zod.z.string().describe("Message spoken only to transfer target (supports dynamic variables)").nullable().optional(),
|
|
@@ -44,17 +44,17 @@ const RetellaiGetRetellLlm_AgenticWarmTransferOptionSchema = zod.z.object({
|
|
|
44
44
|
three_way_message: zod.z.string().describe("Message heard by both caller and target during handoff (supports dynamic variables)").nullable().optional()
|
|
45
45
|
}).describe("Agentic warm transfer: AI evaluates whether to transfer");
|
|
46
46
|
const RetellaiGetRetellLlm_TransferDestinationPredefinedSchema = zod.z.object({
|
|
47
|
-
type: zod.z.string().describe("Destination type discriminator"),
|
|
48
|
-
number: zod.z.string().describe("Transfer number in E.164 format or dynamic variable"),
|
|
47
|
+
type: zod.z.string().describe("Destination type discriminator").nullable(),
|
|
48
|
+
number: zod.z.string().describe("Transfer number in E.164 format or dynamic variable").nullable(),
|
|
49
49
|
extension: zod.z.string().describe("Optional DTMF extension digits").nullable().optional()
|
|
50
50
|
}).describe("Predefined transfer destination with specific number");
|
|
51
51
|
const RetellaiGetRetellLlm_TransferDestinationInferredSchema = zod.z.object({
|
|
52
|
-
type: zod.z.string().describe("Destination type discriminator"),
|
|
53
|
-
prompt: zod.z.string().describe("Prompt to guide LLM in determining transfer number")
|
|
52
|
+
type: zod.z.string().describe("Destination type discriminator").nullable(),
|
|
53
|
+
prompt: zod.z.string().describe("Prompt to guide LLM in determining transfer number").nullable()
|
|
54
54
|
}).describe("Inferred transfer destination determined by LLM");
|
|
55
55
|
const RetellaiGetRetellLlm_TransferCallToolSchema = zod.z.object({
|
|
56
|
-
name: zod.z.string().describe("Unique tool identifier"),
|
|
57
|
-
type: zod.z.string().describe("Tool type identifier"),
|
|
56
|
+
name: zod.z.string().describe("Unique tool identifier").nullable(),
|
|
57
|
+
type: zod.z.string().describe("Tool type identifier").nullable(),
|
|
58
58
|
description: zod.z.string().describe("Explains tool purpose").nullable().optional(),
|
|
59
59
|
transfer_option: zod.z.union([
|
|
60
60
|
RetellaiGetRetellLlm_ColdTransferOptionSchema,
|
|
@@ -68,25 +68,25 @@ const RetellaiGetRetellLlm_TransferCallToolSchema = zod.z.object({
|
|
|
68
68
|
execution_message_description: zod.z.string().describe("Message spoken during transfer").nullable().optional()
|
|
69
69
|
}).describe("Tool for transferring the call");
|
|
70
70
|
const RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema = zod.z.object({
|
|
71
|
-
name: zod.z.string().describe("Unique tool identifier"),
|
|
72
|
-
type: zod.z.string().describe("Tool type identifier"),
|
|
71
|
+
name: zod.z.string().describe("Unique tool identifier").nullable(),
|
|
72
|
+
type: zod.z.string().describe("Tool type identifier").nullable(),
|
|
73
73
|
timezone: zod.z.string().describe("IANA timezone database reference").nullable().optional(),
|
|
74
|
-
cal_api_key: zod.z.string().describe("Cal.com authentication credential"),
|
|
74
|
+
cal_api_key: zod.z.string().describe("Cal.com authentication credential").nullable(),
|
|
75
75
|
description: zod.z.string().describe("Explains tool purpose").nullable().optional(),
|
|
76
|
-
event_type_id: zod.z.number().int().describe("Calendar event identifier")
|
|
76
|
+
event_type_id: zod.z.number().int().describe("Calendar event identifier").nullable()
|
|
77
77
|
}).describe("Tool for checking availability via Cal.com");
|
|
78
78
|
const RetellaiGetRetellLlm_BookAppointmentCalToolSchema = zod.z.object({
|
|
79
|
-
name: zod.z.string().describe("Unique tool identifier"),
|
|
80
|
-
type: zod.z.string().describe("Tool type identifier"),
|
|
79
|
+
name: zod.z.string().describe("Unique tool identifier").nullable(),
|
|
80
|
+
type: zod.z.string().describe("Tool type identifier").nullable(),
|
|
81
81
|
timezone: zod.z.string().describe("IANA timezone database reference").nullable().optional(),
|
|
82
|
-
cal_api_key: zod.z.string().describe("Cal.com authentication credential"),
|
|
82
|
+
cal_api_key: zod.z.string().describe("Cal.com authentication credential").nullable(),
|
|
83
83
|
description: zod.z.string().describe("Explains tool purpose").nullable().optional(),
|
|
84
|
-
event_type_id: zod.z.number().int().describe("Calendar event identifier")
|
|
84
|
+
event_type_id: zod.z.number().int().describe("Calendar event identifier").nullable()
|
|
85
85
|
}).describe("Tool for booking appointments via Cal.com");
|
|
86
86
|
const RetellaiGetRetellLlm_AgentSwapToolSchema = zod.z.object({
|
|
87
|
-
name: zod.z.string().describe("Unique tool identifier"),
|
|
88
|
-
type: zod.z.string().describe("Tool type identifier"),
|
|
89
|
-
agent_id: zod.z.string().describe("Target agent identifier"),
|
|
87
|
+
name: zod.z.string().describe("Unique tool identifier").nullable(),
|
|
88
|
+
type: zod.z.string().describe("Tool type identifier").nullable(),
|
|
89
|
+
agent_id: zod.z.string().describe("Target agent identifier").nullable(),
|
|
90
90
|
description: zod.z.string().describe("Explains tool purpose").nullable().optional(),
|
|
91
91
|
agent_version: zod.z.string().describe("Target agent version (uses latest if unspecified)").nullable().optional(),
|
|
92
92
|
webhook_setting: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Event notification configuration").nullable().optional(),
|
|
@@ -95,29 +95,29 @@ const RetellaiGetRetellLlm_AgentSwapToolSchema = zod.z.object({
|
|
|
95
95
|
execution_message_description: zod.z.string().describe("Message spoken during swap").nullable().optional()
|
|
96
96
|
}).describe("Tool for swapping to a different agent");
|
|
97
97
|
const RetellaiGetRetellLlm_PressDigitToolSchema = zod.z.object({
|
|
98
|
-
name: zod.z.string().describe("Unique tool identifier"),
|
|
99
|
-
type: zod.z.string().describe("Tool type identifier"),
|
|
98
|
+
name: zod.z.string().describe("Unique tool identifier").nullable(),
|
|
99
|
+
type: zod.z.string().describe("Tool type identifier").nullable(),
|
|
100
100
|
delay_ms: zod.z.number().int().describe("Milliseconds before sending (default: 1000ms, range: 0-5000ms)").nullable().optional(),
|
|
101
101
|
description: zod.z.string().describe("Explains tool purpose").nullable().optional()
|
|
102
102
|
}).describe("Tool for pressing phone digits");
|
|
103
103
|
const RetellaiGetRetellLlm_SmsContentPredefinedSchema = zod.z.object({
|
|
104
|
-
type: zod.z.string().describe("Content type discriminator"),
|
|
105
|
-
content: zod.z.string().describe("Static SMS text (supports dynamic variables like {{variable_name}})")
|
|
104
|
+
type: zod.z.string().describe("Content type discriminator").nullable(),
|
|
105
|
+
content: zod.z.string().describe("Static SMS text (supports dynamic variables like {{variable_name}})").nullable()
|
|
106
106
|
}).describe("Predefined SMS content with static text");
|
|
107
107
|
const RetellaiGetRetellLlm_SmsContentInferredSchema = zod.z.object({
|
|
108
|
-
type: zod.z.string().describe("Content type discriminator"),
|
|
109
|
-
prompt: zod.z.string().describe("Prompt to guide LLM in generating SMS content (supports dynamic variables)")
|
|
108
|
+
type: zod.z.string().describe("Content type discriminator").nullable(),
|
|
109
|
+
prompt: zod.z.string().describe("Prompt to guide LLM in generating SMS content (supports dynamic variables)").nullable()
|
|
110
110
|
}).describe("Inferred SMS content generated by LLM");
|
|
111
111
|
const RetellaiGetRetellLlm_SendSMSToolSchema = zod.z.object({
|
|
112
|
-
name: zod.z.string().describe("Unique tool identifier"),
|
|
113
|
-
type: zod.z.string().describe("Tool type identifier"),
|
|
112
|
+
name: zod.z.string().describe("Unique tool identifier").nullable(),
|
|
113
|
+
type: zod.z.string().describe("Tool type identifier").nullable(),
|
|
114
114
|
description: zod.z.string().describe("Explains tool purpose").nullable().optional(),
|
|
115
115
|
sms_content: zod.z.union([RetellaiGetRetellLlm_SmsContentPredefinedSchema, RetellaiGetRetellLlm_SmsContentInferredSchema])
|
|
116
116
|
}).describe("Tool for sending SMS messages");
|
|
117
117
|
const RetellaiGetRetellLlm_CustomToolSchema = zod.z.object({
|
|
118
|
-
url: zod.z.string().describe("API endpoint"),
|
|
119
|
-
name: zod.z.string().describe("Unique tool identifier"),
|
|
120
|
-
type: zod.z.string().describe("Tool type identifier"),
|
|
118
|
+
url: zod.z.string().describe("API endpoint").nullable(),
|
|
119
|
+
name: zod.z.string().describe("Unique tool identifier").nullable(),
|
|
120
|
+
type: zod.z.string().describe("Tool type identifier").nullable(),
|
|
121
121
|
method: zod.z.enum([
|
|
122
122
|
"GET",
|
|
123
123
|
"POST",
|
|
@@ -128,35 +128,35 @@ const RetellaiGetRetellLlm_CustomToolSchema = zod.z.object({
|
|
|
128
128
|
headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Request header key-value pairs").nullable().optional(),
|
|
129
129
|
parameters: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON Schema defining input arguments").nullable().optional(),
|
|
130
130
|
timeout_ms: zod.z.number().int().describe("Maximum execution duration (1000-600000ms; default: 120000ms)").nullable().optional(),
|
|
131
|
-
description: zod.z.string().describe("Explains purpose and invocation criteria"),
|
|
131
|
+
description: zod.z.string().describe("Explains purpose and invocation criteria").nullable(),
|
|
132
132
|
args_at_root: zod.z.boolean().describe("Pass parameters as root-level JSON").nullable().optional(),
|
|
133
133
|
query_params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("URL query parameters").nullable().optional(),
|
|
134
134
|
response_variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON path mappings for response extraction").nullable().optional(),
|
|
135
|
-
speak_after_execution: zod.z.boolean().describe("Enable LLM callback after execution"),
|
|
135
|
+
speak_after_execution: zod.z.boolean().describe("Enable LLM callback after execution").nullable(),
|
|
136
136
|
speak_during_execution: zod.z.boolean().describe("Enable interim speech").nullable().optional(),
|
|
137
137
|
execution_message_description: zod.z.string().describe("Interim message guidance").nullable().optional()
|
|
138
138
|
}).describe("Tool for custom API calls");
|
|
139
139
|
const RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema = zod.z.object({
|
|
140
|
-
name: zod.z.string().describe("Unique tool identifier"),
|
|
141
|
-
type: zod.z.string().describe("Tool type identifier"),
|
|
140
|
+
name: zod.z.string().describe("Unique tool identifier").nullable(),
|
|
141
|
+
type: zod.z.string().describe("Tool type identifier").nullable(),
|
|
142
142
|
variables: zod.z.array(zod.z.unknown()).describe("Data extraction definitions"),
|
|
143
|
-
description: zod.z.string().describe("Explains tool purpose")
|
|
143
|
+
description: zod.z.string().describe("Explains tool purpose").nullable()
|
|
144
144
|
}).describe("Tool for extracting dynamic variables");
|
|
145
145
|
const RetellaiGetRetellLlm_BridgeTransferToolSchema = zod.z.object({
|
|
146
|
-
name: zod.z.string().describe("Unique tool identifier"),
|
|
147
|
-
type: zod.z.string().describe("Tool type identifier"),
|
|
146
|
+
name: zod.z.string().describe("Unique tool identifier").nullable(),
|
|
147
|
+
type: zod.z.string().describe("Tool type identifier").nullable(),
|
|
148
148
|
description: zod.z.string().describe("Explains tool purpose").nullable().optional()
|
|
149
149
|
}).describe("Tool for bridge transfers");
|
|
150
150
|
const RetellaiGetRetellLlm_CancelTransferToolSchema = zod.z.object({
|
|
151
|
-
name: zod.z.string().describe("Unique tool identifier"),
|
|
152
|
-
type: zod.z.string().describe("Tool type identifier"),
|
|
151
|
+
name: zod.z.string().describe("Unique tool identifier").nullable(),
|
|
152
|
+
type: zod.z.string().describe("Tool type identifier").nullable(),
|
|
153
153
|
description: zod.z.string().describe("Explains tool purpose").nullable().optional()
|
|
154
154
|
}).describe("Tool for canceling transfers");
|
|
155
155
|
const RetellaiGetRetellLlm_MCPToolSchema = zod.z.object({
|
|
156
|
-
name: zod.z.string().describe("Tool identifier"),
|
|
157
|
-
type: zod.z.string().describe("Tool type identifier"),
|
|
156
|
+
name: zod.z.string().describe("Tool identifier").nullable(),
|
|
157
|
+
type: zod.z.string().describe("Tool type identifier").nullable(),
|
|
158
158
|
mcp_id: zod.z.string().describe("MCP server identifier").nullable().optional(),
|
|
159
|
-
description: zod.z.string().describe("Tool purpose explanation"),
|
|
159
|
+
description: zod.z.string().describe("Tool purpose explanation").nullable(),
|
|
160
160
|
input_schema: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Parameter schema definition").nullable().optional(),
|
|
161
161
|
response_variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Output data mappings").nullable().optional(),
|
|
162
162
|
speak_after_execution: zod.z.boolean().describe("Enable callback speech").nullable().optional(),
|
|
@@ -164,7 +164,7 @@ const RetellaiGetRetellLlm_MCPToolSchema = zod.z.object({
|
|
|
164
164
|
execution_message_description: zod.z.string().describe("Interim message guidance").nullable().optional()
|
|
165
165
|
}).describe("Tool for MCP (Model Context Protocol) calls");
|
|
166
166
|
const RetellaiGetRetellLlm_StateSchema = zod.z.object({
|
|
167
|
-
name: zod.z.string().describe("State identifier"),
|
|
167
|
+
name: zod.z.string().describe("State identifier").nullable(),
|
|
168
168
|
edges: zod.z.array(RetellaiGetRetellLlm_StateEdgeSchema).describe("State transition definitions").nullable().optional(),
|
|
169
169
|
tools: zod.z.array(zod.z.union([
|
|
170
170
|
RetellaiGetRetellLlm_EndCallToolSchema,
|
|
@@ -203,7 +203,7 @@ const RetellaiGetRetellLlmOutput = zod.z.object({
|
|
|
203
203
|
"gemini-2.5-flash-lite",
|
|
204
204
|
"gemini-3.0-flash"
|
|
205
205
|
]).describe("Underlying text LLM (defaults to gpt-4.1)").nullable().optional(),
|
|
206
|
-
llm_id: zod.z.string().describe("Unique id of Retell LLM Response Engine"),
|
|
206
|
+
llm_id: zod.z.string().describe("Unique id of Retell LLM Response Engine").nullable(),
|
|
207
207
|
states: zod.z.array(RetellaiGetRetellLlm_StateSchema).describe("State definitions for conversation flow. States help reduce prompt length and tool choices when calls can be broken into distinct stages.").nullable().optional(),
|
|
208
208
|
version: zod.z.number().int().describe("Engine version number").nullable().optional(),
|
|
209
209
|
kb_config: RetellaiGetRetellLlm_KnowledgeBaseConfigurationSchema.nullable().optional(),
|
|
@@ -229,7 +229,7 @@ const RetellaiGetRetellLlmOutput = zod.z.object({
|
|
|
229
229
|
RetellaiGetRetellLlm_CancelTransferToolSchema,
|
|
230
230
|
RetellaiGetRetellLlm_MCPToolSchema
|
|
231
231
|
])).describe("A list of tools the model may call (to get external knowledge, call API, etc). Available tools for the LLM to invoke regardless of state.").nullable().optional(),
|
|
232
|
-
start_speaker: zod.z.enum(["user", "agent"]).describe("The speaker who starts the conversation. Must be either 'user' or 'agent'."),
|
|
232
|
+
start_speaker: zod.z.enum(["user", "agent"]).describe("The speaker who starts the conversation. Must be either 'user' or 'agent'.").nullable(),
|
|
233
233
|
general_prompt: zod.z.string().describe("General prompt appended to system prompt no matter what state the agent is in. System prompt (with state) = general prompt + state prompt. System prompt (no state) = general prompt.").nullable().optional(),
|
|
234
234
|
starting_state: zod.z.string().describe("Name of the starting state. Required if states is not empty.").nullable().optional(),
|
|
235
235
|
model_temperature: zod.z.number().describe("Controls the randomness of the response. Value ranging from [0,1]").nullable().optional(),
|
|
@@ -238,7 +238,7 @@ const RetellaiGetRetellLlmOutput = zod.z.object({
|
|
|
238
238
|
tool_call_strict_mode: zod.z.boolean().describe("Strict mode for tool calls").nullable().optional(),
|
|
239
239
|
default_dynamic_variables: zod.z.object({}).describe("Default dynamic variables represented as key-value pairs of strings. These are injected into your Retell LLM prompt and tool description when specific values are not provided in a request.").nullable().optional(),
|
|
240
240
|
begin_after_user_silence_ms: zod.z.number().int().describe("If set, the AI will begin the conversation after waiting for the user for the duration (in milliseconds) specified by this attribute. This only applies if the agent is configured to wait for the user to speak first. If not set, the agent will wait indefinitely for the user to speak.").nullable().optional(),
|
|
241
|
-
last_modification_timestamp: zod.z.number().int().describe("Last modification timestamp (milliseconds since epoch)")
|
|
241
|
+
last_modification_timestamp: zod.z.number().int().describe("Last modification timestamp (milliseconds since epoch)").nullable()
|
|
242
242
|
}).describe("Response schema for `RetellaiGetRetellLlm`");
|
|
243
243
|
const retellaiGetRetellLlm = require_action.action("RETELLAI_GET_RETELL_LLM", {
|
|
244
244
|
slug: "retellai-get-retell-llm",
|