@keystrokehq/retellai 0.1.2 → 0.1.3
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/actions/add-community-voice.cjs +1 -1
- package/dist/actions/add-community-voice.cjs.map +1 -1
- package/dist/actions/add-community-voice.d.cts +1 -1
- package/dist/actions/add-community-voice.d.mts +1 -1
- package/dist/actions/add-community-voice.mjs +1 -1
- package/dist/actions/add-community-voice.mjs.map +1 -1
- package/dist/actions/add-knowledge-base-sources.cjs +6 -6
- package/dist/actions/add-knowledge-base-sources.cjs.map +1 -1
- package/dist/actions/add-knowledge-base-sources.d.cts +8 -6
- package/dist/actions/add-knowledge-base-sources.d.mts +8 -6
- package/dist/actions/add-knowledge-base-sources.mjs +6 -6
- package/dist/actions/add-knowledge-base-sources.mjs.map +1 -1
- package/dist/actions/buy-a-new-phone-number-bind-agents.cjs +2 -2
- 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 +2 -2
- package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts +2 -2
- package/dist/actions/buy-a-new-phone-number-bind-agents.mjs +2 -2
- package/dist/actions/buy-a-new-phone-number-bind-agents.mjs.map +1 -1
- package/dist/actions/create-a-new-outbound-phone-call.cjs +17 -17
- package/dist/actions/create-a-new-outbound-phone-call.cjs.map +1 -1
- package/dist/actions/create-a-new-outbound-phone-call.d.cts +32 -32
- package/dist/actions/create-a-new-outbound-phone-call.d.mts +32 -32
- package/dist/actions/create-a-new-outbound-phone-call.mjs +17 -17
- package/dist/actions/create-a-new-outbound-phone-call.mjs.map +1 -1
- package/dist/actions/create-a-new-web-call.cjs +5 -5
- package/dist/actions/create-a-new-web-call.cjs.map +1 -1
- package/dist/actions/create-a-new-web-call.d.cts +5 -5
- package/dist/actions/create-a-new-web-call.d.mts +5 -5
- package/dist/actions/create-a-new-web-call.mjs +5 -5
- package/dist/actions/create-a-new-web-call.mjs.map +1 -1
- package/dist/actions/create-agent.cjs +15 -15
- package/dist/actions/create-agent.cjs.map +1 -1
- package/dist/actions/create-agent.d.cts +20 -18
- package/dist/actions/create-agent.d.mts +20 -18
- package/dist/actions/create-agent.mjs +15 -15
- package/dist/actions/create-agent.mjs.map +1 -1
- package/dist/actions/create-batch-test.cjs +4 -4
- package/dist/actions/create-batch-test.cjs.map +1 -1
- package/dist/actions/create-batch-test.d.cts +6 -4
- package/dist/actions/create-batch-test.d.mts +6 -4
- package/dist/actions/create-batch-test.mjs +4 -4
- package/dist/actions/create-batch-test.mjs.map +1 -1
- package/dist/actions/create-chat-agent.cjs +11 -11
- package/dist/actions/create-chat-agent.cjs.map +1 -1
- package/dist/actions/create-chat-agent.d.cts +14 -11
- package/dist/actions/create-chat-agent.d.mts +14 -11
- package/dist/actions/create-chat-agent.mjs +11 -11
- package/dist/actions/create-chat-agent.mjs.map +1 -1
- package/dist/actions/create-chat-completion.cjs +1 -1
- package/dist/actions/create-chat-completion.cjs.map +1 -1
- package/dist/actions/create-chat-completion.d.cts +1 -1
- package/dist/actions/create-chat-completion.d.mts +1 -1
- package/dist/actions/create-chat-completion.mjs +1 -1
- package/dist/actions/create-chat-completion.mjs.map +1 -1
- package/dist/actions/create-chat.cjs +4 -4
- package/dist/actions/create-chat.cjs.map +1 -1
- package/dist/actions/create-chat.d.cts +4 -4
- package/dist/actions/create-chat.d.mts +4 -4
- package/dist/actions/create-chat.mjs +4 -4
- package/dist/actions/create-chat.mjs.map +1 -1
- package/dist/actions/create-conversation-flow-component.cjs +6 -6
- package/dist/actions/create-conversation-flow-component.cjs.map +1 -1
- package/dist/actions/create-conversation-flow-component.d.cts +6 -6
- package/dist/actions/create-conversation-flow-component.d.mts +6 -6
- package/dist/actions/create-conversation-flow-component.mjs +6 -6
- package/dist/actions/create-conversation-flow-component.mjs.map +1 -1
- package/dist/actions/create-conversation-flow.cjs +1 -1
- package/dist/actions/create-conversation-flow.cjs.map +1 -1
- package/dist/actions/create-conversation-flow.d.cts +1 -1
- package/dist/actions/create-conversation-flow.d.mts +1 -1
- package/dist/actions/create-conversation-flow.mjs +1 -1
- package/dist/actions/create-conversation-flow.mjs.map +1 -1
- package/dist/actions/create-knowledge-base.cjs +3 -3
- package/dist/actions/create-knowledge-base.cjs.map +1 -1
- package/dist/actions/create-knowledge-base.d.cts +5 -3
- package/dist/actions/create-knowledge-base.d.mts +5 -3
- package/dist/actions/create-knowledge-base.mjs +3 -3
- package/dist/actions/create-knowledge-base.mjs.map +1 -1
- package/dist/actions/create-retell-llm.cjs +20 -20
- package/dist/actions/create-retell-llm.cjs.map +1 -1
- package/dist/actions/create-retell-llm.d.cts +32 -27
- package/dist/actions/create-retell-llm.d.mts +32 -27
- package/dist/actions/create-retell-llm.mjs +20 -20
- package/dist/actions/create-retell-llm.mjs.map +1 -1
- package/dist/actions/create-test-case-definition.cjs +7 -7
- package/dist/actions/create-test-case-definition.cjs.map +1 -1
- package/dist/actions/create-test-case-definition.d.cts +10 -9
- package/dist/actions/create-test-case-definition.d.cts.map +1 -1
- package/dist/actions/create-test-case-definition.d.mts +10 -9
- package/dist/actions/create-test-case-definition.d.mts.map +1 -1
- package/dist/actions/create-test-case-definition.mjs +7 -7
- 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 +2 -2
- package/dist/actions/delete-agent.d.mts +2 -2
- package/dist/actions/delete-agent.mjs +2 -2
- package/dist/actions/delete-agent.mjs.map +1 -1
- package/dist/actions/delete-call.cjs +1 -1
- package/dist/actions/delete-call.cjs.map +1 -1
- package/dist/actions/delete-call.d.cts +1 -1
- package/dist/actions/delete-call.d.cts.map +1 -1
- package/dist/actions/delete-call.d.mts +1 -1
- package/dist/actions/delete-call.d.mts.map +1 -1
- package/dist/actions/delete-call.mjs +1 -1
- package/dist/actions/delete-call.mjs.map +1 -1
- package/dist/actions/delete-chat-agent.cjs +1 -1
- package/dist/actions/delete-chat-agent.cjs.map +1 -1
- package/dist/actions/delete-chat-agent.d.cts +1 -1
- package/dist/actions/delete-chat-agent.d.mts +1 -1
- package/dist/actions/delete-chat-agent.mjs +1 -1
- package/dist/actions/delete-chat-agent.mjs.map +1 -1
- package/dist/actions/delete-conversation-flow-component.cjs +1 -1
- package/dist/actions/delete-conversation-flow-component.cjs.map +1 -1
- package/dist/actions/delete-conversation-flow-component.d.cts +1 -1
- package/dist/actions/delete-conversation-flow-component.d.cts.map +1 -1
- package/dist/actions/delete-conversation-flow-component.d.mts +1 -1
- package/dist/actions/delete-conversation-flow-component.d.mts.map +1 -1
- package/dist/actions/delete-conversation-flow-component.mjs +1 -1
- package/dist/actions/delete-conversation-flow-component.mjs.map +1 -1
- package/dist/actions/delete-conversation-flow.cjs +1 -1
- package/dist/actions/delete-conversation-flow.cjs.map +1 -1
- package/dist/actions/delete-conversation-flow.d.cts +1 -1
- package/dist/actions/delete-conversation-flow.d.cts.map +1 -1
- package/dist/actions/delete-conversation-flow.d.mts +1 -1
- package/dist/actions/delete-conversation-flow.d.mts.map +1 -1
- package/dist/actions/delete-conversation-flow.mjs +1 -1
- package/dist/actions/delete-conversation-flow.mjs.map +1 -1
- package/dist/actions/delete-knowledge-base-source.cjs +1 -1
- package/dist/actions/delete-knowledge-base-source.cjs.map +1 -1
- package/dist/actions/delete-knowledge-base-source.d.cts +1 -1
- package/dist/actions/delete-knowledge-base-source.d.cts.map +1 -1
- package/dist/actions/delete-knowledge-base-source.d.mts +1 -1
- package/dist/actions/delete-knowledge-base-source.d.mts.map +1 -1
- package/dist/actions/delete-knowledge-base-source.mjs +1 -1
- package/dist/actions/delete-knowledge-base-source.mjs.map +1 -1
- package/dist/actions/delete-knowledge-base.cjs +1 -1
- package/dist/actions/delete-knowledge-base.cjs.map +1 -1
- package/dist/actions/delete-knowledge-base.d.cts +1 -1
- package/dist/actions/delete-knowledge-base.d.cts.map +1 -1
- package/dist/actions/delete-knowledge-base.d.mts +1 -1
- package/dist/actions/delete-knowledge-base.d.mts.map +1 -1
- package/dist/actions/delete-knowledge-base.mjs +1 -1
- package/dist/actions/delete-knowledge-base.mjs.map +1 -1
- package/dist/actions/delete-phone-number.cjs +1 -1
- package/dist/actions/delete-phone-number.cjs.map +1 -1
- package/dist/actions/delete-phone-number.d.cts +1 -1
- package/dist/actions/delete-phone-number.d.mts +1 -1
- package/dist/actions/delete-phone-number.mjs +1 -1
- package/dist/actions/delete-phone-number.mjs.map +1 -1
- package/dist/actions/delete-retell-llm.cjs +1 -1
- package/dist/actions/delete-retell-llm.cjs.map +1 -1
- package/dist/actions/delete-retell-llm.d.cts +1 -1
- package/dist/actions/delete-retell-llm.d.cts.map +1 -1
- package/dist/actions/delete-retell-llm.d.mts +1 -1
- package/dist/actions/delete-retell-llm.d.mts.map +1 -1
- package/dist/actions/delete-retell-llm.mjs +1 -1
- package/dist/actions/delete-retell-llm.mjs.map +1 -1
- package/dist/actions/delete-test-case-definition.cjs +1 -1
- package/dist/actions/delete-test-case-definition.cjs.map +1 -1
- package/dist/actions/delete-test-case-definition.d.cts +1 -1
- package/dist/actions/delete-test-case-definition.d.cts.map +1 -1
- package/dist/actions/delete-test-case-definition.d.mts +1 -1
- package/dist/actions/delete-test-case-definition.d.mts.map +1 -1
- package/dist/actions/delete-test-case-definition.mjs +1 -1
- package/dist/actions/delete-test-case-definition.mjs.map +1 -1
- package/dist/actions/end-chat.cjs +1 -1
- package/dist/actions/end-chat.cjs.map +1 -1
- package/dist/actions/end-chat.d.cts +1 -1
- package/dist/actions/end-chat.d.mts +1 -1
- package/dist/actions/end-chat.mjs +1 -1
- package/dist/actions/end-chat.mjs.map +1 -1
- package/dist/actions/get-agent.cjs +18 -18
- package/dist/actions/get-agent.cjs.map +1 -1
- package/dist/actions/get-agent.d.cts +18 -18
- package/dist/actions/get-agent.d.mts +18 -18
- package/dist/actions/get-agent.mjs +18 -18
- package/dist/actions/get-agent.mjs.map +1 -1
- package/dist/actions/get-batch-test.cjs +4 -4
- package/dist/actions/get-batch-test.cjs.map +1 -1
- package/dist/actions/get-batch-test.d.cts +4 -4
- package/dist/actions/get-batch-test.d.mts +4 -4
- package/dist/actions/get-batch-test.mjs +4 -4
- package/dist/actions/get-batch-test.mjs.map +1 -1
- package/dist/actions/get-chat-agent-versions.cjs +2 -2
- package/dist/actions/get-chat-agent-versions.cjs.map +1 -1
- package/dist/actions/get-chat-agent-versions.d.cts +2 -2
- package/dist/actions/get-chat-agent-versions.d.mts +2 -2
- package/dist/actions/get-chat-agent-versions.mjs +2 -2
- package/dist/actions/get-chat-agent-versions.mjs.map +1 -1
- package/dist/actions/get-chat-agent.cjs +9 -9
- package/dist/actions/get-chat-agent.cjs.map +1 -1
- package/dist/actions/get-chat-agent.d.cts +9 -9
- package/dist/actions/get-chat-agent.d.mts +9 -9
- package/dist/actions/get-chat-agent.mjs +9 -9
- package/dist/actions/get-chat-agent.mjs.map +1 -1
- package/dist/actions/get-chat.cjs +4 -4
- package/dist/actions/get-chat.cjs.map +1 -1
- package/dist/actions/get-chat.d.cts +4 -4
- package/dist/actions/get-chat.d.mts +4 -4
- package/dist/actions/get-chat.mjs +4 -4
- package/dist/actions/get-chat.mjs.map +1 -1
- package/dist/actions/get-concurrency.cjs +1 -1
- package/dist/actions/get-concurrency.cjs.map +1 -1
- package/dist/actions/get-concurrency.d.cts +1 -1
- package/dist/actions/get-concurrency.d.mts +1 -1
- package/dist/actions/get-concurrency.mjs +1 -1
- package/dist/actions/get-concurrency.mjs.map +1 -1
- package/dist/actions/get-conversation-flow-component.cjs +8 -8
- package/dist/actions/get-conversation-flow-component.cjs.map +1 -1
- package/dist/actions/get-conversation-flow-component.d.cts +9 -9
- package/dist/actions/get-conversation-flow-component.d.mts +9 -9
- package/dist/actions/get-conversation-flow-component.mjs +8 -8
- package/dist/actions/get-conversation-flow-component.mjs.map +1 -1
- package/dist/actions/get-conversation-flow.cjs +9 -9
- package/dist/actions/get-conversation-flow.cjs.map +1 -1
- package/dist/actions/get-conversation-flow.d.cts +12 -12
- package/dist/actions/get-conversation-flow.d.mts +12 -12
- package/dist/actions/get-conversation-flow.mjs +9 -9
- package/dist/actions/get-conversation-flow.mjs.map +1 -1
- package/dist/actions/get-knowledge-base.cjs +4 -4
- package/dist/actions/get-knowledge-base.cjs.map +1 -1
- package/dist/actions/get-knowledge-base.d.cts +4 -4
- package/dist/actions/get-knowledge-base.d.mts +4 -4
- package/dist/actions/get-knowledge-base.mjs +4 -4
- package/dist/actions/get-knowledge-base.mjs.map +1 -1
- package/dist/actions/get-retell-llm.cjs +26 -26
- package/dist/actions/get-retell-llm.cjs.map +1 -1
- package/dist/actions/get-retell-llm.d.cts +48 -48
- package/dist/actions/get-retell-llm.d.mts +48 -48
- package/dist/actions/get-retell-llm.mjs +26 -26
- package/dist/actions/get-retell-llm.mjs.map +1 -1
- package/dist/actions/import-phone-number.cjs +2 -2
- package/dist/actions/import-phone-number.cjs.map +1 -1
- package/dist/actions/import-phone-number.d.cts +2 -2
- package/dist/actions/import-phone-number.d.mts +2 -2
- package/dist/actions/import-phone-number.mjs +2 -2
- package/dist/actions/import-phone-number.mjs.map +1 -1
- package/dist/actions/list-batch-tests.cjs +5 -5
- package/dist/actions/list-batch-tests.cjs.map +1 -1
- package/dist/actions/list-batch-tests.d.cts +5 -5
- package/dist/actions/list-batch-tests.d.mts +5 -5
- package/dist/actions/list-batch-tests.mjs +5 -5
- package/dist/actions/list-batch-tests.mjs.map +1 -1
- package/dist/actions/list-conversation-flow-components.cjs +2 -2
- package/dist/actions/list-conversation-flow-components.cjs.map +1 -1
- package/dist/actions/list-conversation-flow-components.d.cts +2 -2
- package/dist/actions/list-conversation-flow-components.d.mts +2 -2
- package/dist/actions/list-conversation-flow-components.mjs +2 -2
- package/dist/actions/list-conversation-flow-components.mjs.map +1 -1
- package/dist/actions/list-conversation-flows.cjs +2 -2
- package/dist/actions/list-conversation-flows.cjs.map +1 -1
- package/dist/actions/list-conversation-flows.d.cts +2 -2
- package/dist/actions/list-conversation-flows.d.mts +2 -2
- package/dist/actions/list-conversation-flows.mjs +2 -2
- package/dist/actions/list-conversation-flows.mjs.map +1 -1
- package/dist/actions/list-retell-llms.cjs +7 -7
- package/dist/actions/list-retell-llms.cjs.map +1 -1
- package/dist/actions/list-retell-llms.d.cts +7 -7
- package/dist/actions/list-retell-llms.d.mts +7 -7
- package/dist/actions/list-retell-llms.mjs +7 -7
- package/dist/actions/list-retell-llms.mjs.map +1 -1
- package/dist/actions/list-test-case-definitions.cjs +6 -6
- package/dist/actions/list-test-case-definitions.cjs.map +1 -1
- package/dist/actions/list-test-case-definitions.d.cts +6 -6
- package/dist/actions/list-test-case-definitions.d.mts +6 -6
- package/dist/actions/list-test-case-definitions.mjs +6 -6
- package/dist/actions/list-test-case-definitions.mjs.map +1 -1
- package/dist/actions/publish-agent.cjs +1 -1
- package/dist/actions/publish-agent.cjs.map +1 -1
- package/dist/actions/publish-agent.d.cts +1 -1
- package/dist/actions/publish-agent.d.mts +1 -1
- package/dist/actions/publish-agent.mjs +1 -1
- package/dist/actions/publish-agent.mjs.map +1 -1
- package/dist/actions/publish-chat-agent.cjs +1 -1
- package/dist/actions/publish-chat-agent.cjs.map +1 -1
- package/dist/actions/publish-chat-agent.d.cts +1 -1
- package/dist/actions/publish-chat-agent.d.mts +1 -1
- package/dist/actions/publish-chat-agent.mjs +1 -1
- package/dist/actions/publish-chat-agent.mjs.map +1 -1
- package/dist/actions/register-phone-call.cjs +17 -17
- package/dist/actions/register-phone-call.cjs.map +1 -1
- package/dist/actions/register-phone-call.d.cts +32 -32
- package/dist/actions/register-phone-call.d.mts +32 -32
- package/dist/actions/register-phone-call.mjs +17 -17
- package/dist/actions/register-phone-call.mjs.map +1 -1
- package/dist/actions/retrieve-call-details.cjs +18 -18
- package/dist/actions/retrieve-call-details.cjs.map +1 -1
- package/dist/actions/retrieve-call-details.d.cts +29 -29
- package/dist/actions/retrieve-call-details.d.mts +29 -29
- package/dist/actions/retrieve-call-details.mjs +18 -18
- package/dist/actions/retrieve-call-details.mjs.map +1 -1
- package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs +2 -2
- 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 +2 -2
- package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts +2 -2
- package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs +2 -2
- package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs.map +1 -1
- package/dist/actions/retrieve-details-of-a-specific-voice.cjs +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 +1 -1
- package/dist/actions/retrieve-details-of-a-specific-voice.d.mts +1 -1
- package/dist/actions/retrieve-details-of-a-specific-voice.mjs +1 -1
- package/dist/actions/retrieve-details-of-a-specific-voice.mjs.map +1 -1
- package/dist/actions/search-community-voice.cjs +2 -2
- package/dist/actions/search-community-voice.cjs.map +1 -1
- package/dist/actions/search-community-voice.d.cts +2 -2
- package/dist/actions/search-community-voice.d.mts +2 -2
- package/dist/actions/search-community-voice.mjs +2 -2
- package/dist/actions/search-community-voice.mjs.map +1 -1
- package/dist/actions/update-agent.cjs +30 -30
- package/dist/actions/update-agent.cjs.map +1 -1
- package/dist/actions/update-agent.d.cts +41 -30
- package/dist/actions/update-agent.d.mts +41 -30
- package/dist/actions/update-agent.mjs +30 -30
- package/dist/actions/update-agent.mjs.map +1 -1
- package/dist/actions/update-call.cjs +4 -4
- package/dist/actions/update-call.cjs.map +1 -1
- package/dist/actions/update-call.d.cts +6 -6
- package/dist/actions/update-call.d.mts +6 -6
- package/dist/actions/update-call.mjs +4 -4
- package/dist/actions/update-call.mjs.map +1 -1
- package/dist/actions/update-chat-agent.cjs +19 -19
- package/dist/actions/update-chat-agent.cjs.map +1 -1
- package/dist/actions/update-chat-agent.d.cts +21 -21
- package/dist/actions/update-chat-agent.d.mts +21 -21
- package/dist/actions/update-chat-agent.mjs +19 -19
- package/dist/actions/update-chat-agent.mjs.map +1 -1
- package/dist/actions/update-chat-metadata.cjs +7 -7
- package/dist/actions/update-chat-metadata.cjs.map +1 -1
- package/dist/actions/update-chat-metadata.d.cts +9 -9
- package/dist/actions/update-chat-metadata.d.mts +9 -9
- package/dist/actions/update-chat-metadata.mjs +7 -7
- package/dist/actions/update-chat-metadata.mjs.map +1 -1
- package/dist/actions/update-conversation-flow-component.cjs +19 -19
- package/dist/actions/update-conversation-flow-component.cjs.map +1 -1
- package/dist/actions/update-conversation-flow-component.d.cts +32 -32
- package/dist/actions/update-conversation-flow-component.d.mts +32 -32
- package/dist/actions/update-conversation-flow-component.mjs +19 -19
- package/dist/actions/update-conversation-flow-component.mjs.map +1 -1
- package/dist/actions/update-conversation-flow.cjs +7 -7
- package/dist/actions/update-conversation-flow.cjs.map +1 -1
- package/dist/actions/update-conversation-flow.d.cts +9 -9
- package/dist/actions/update-conversation-flow.d.mts +9 -9
- package/dist/actions/update-conversation-flow.mjs +7 -7
- package/dist/actions/update-conversation-flow.mjs.map +1 -1
- package/dist/actions/update-phone-number.cjs +2 -2
- package/dist/actions/update-phone-number.cjs.map +1 -1
- package/dist/actions/update-phone-number.d.cts +2 -2
- package/dist/actions/update-phone-number.d.mts +2 -2
- package/dist/actions/update-phone-number.mjs +2 -2
- package/dist/actions/update-phone-number.mjs.map +1 -1
- package/dist/actions/update-retell-llm.cjs +20 -20
- package/dist/actions/update-retell-llm.cjs.map +1 -1
- package/dist/actions/update-retell-llm.d.cts +34 -29
- package/dist/actions/update-retell-llm.d.mts +34 -29
- package/dist/actions/update-retell-llm.mjs +20 -20
- package/dist/actions/update-retell-llm.mjs.map +1 -1
- package/dist/actions/update-test-case-definition.cjs +9 -9
- package/dist/actions/update-test-case-definition.cjs.map +1 -1
- package/dist/actions/update-test-case-definition.d.cts +16 -13
- package/dist/actions/update-test-case-definition.d.cts.map +1 -1
- package/dist/actions/update-test-case-definition.d.mts +16 -13
- package/dist/actions/update-test-case-definition.d.mts.map +1 -1
- package/dist/actions/update-test-case-definition.mjs +9 -9
- package/dist/actions/update-test-case-definition.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ const RetellaiAddCommunityVoiceOutput = zod.z.object({
|
|
|
13
13
|
voice_name: zod.z.string().describe("Name of the voice as stored in your library").nullable().optional(),
|
|
14
14
|
voice_type: zod.z.string().describe("Type of voice (e.g., 'custom')").nullable().optional(),
|
|
15
15
|
preview_audio_url: zod.z.string().describe("URL to preview audio sample of the voice").nullable().optional()
|
|
16
|
-
}).describe("Response schema for `AddCommunityVoice`");
|
|
16
|
+
}).passthrough().describe("Response schema for `AddCommunityVoice`");
|
|
17
17
|
const retellaiAddCommunityVoice = require_action.action("RETELLAI_ADD_COMMUNITY_VOICE", {
|
|
18
18
|
slug: "retellai-add-community-voice",
|
|
19
19
|
name: "Add community voice",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-community-voice.cjs","names":["z","action"],"sources":["../../src/actions/add-community-voice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiAddCommunityVoiceInput = z.object({\n voice_name: z.string().describe(\"Custom name for the voice in your library. This will be how the voice appears in your voice list.\"),\n public_user_id: z.string().describe(\"Public user ID of the voice creator. This is required for ElevenLabs community voices to properly attribute and access the voice.\"),\n provider_voice_id: z.string().describe(\"The voice ID from the voice provider (e.g., ElevenLabs). This identifies the specific community voice you want to add to your library.\"),\n}).describe(\"Request schema for `AddCommunityVoice`\");\nexport const RetellaiAddCommunityVoiceOutput = z.object({\n provider: z.string().describe(\"Voice provider (e.g., 'elevenlabs')\").nullable().optional(),\n voice_id: z.string().describe(\"Unique identifier for the added voice in your library\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to the avatar image for the voice\").nullable().optional(),\n voice_name: z.string().describe(\"Name of the voice as stored in your library\").nullable().optional(),\n voice_type: z.string().describe(\"Type of voice (e.g., 'custom')\").nullable().optional(),\n preview_audio_url: z.string().describe(\"URL to preview audio sample of the voice\").nullable().optional(),\n}).describe(\"Response schema for `AddCommunityVoice`\");\n\nexport const retellaiAddCommunityVoice = action(\"RETELLAI_ADD_COMMUNITY_VOICE\", {\n slug: \"retellai-add-community-voice\",\n name: \"Add community voice\",\n description: \"Add a community voice from ElevenLabs to your Retell voice library. Use when you need to import a shared community voice for use in your agents.\",\n input: RetellaiAddCommunityVoiceInput,\n output: RetellaiAddCommunityVoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CACnI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CACvK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;AACjL,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"add-community-voice.cjs","names":["z","action"],"sources":["../../src/actions/add-community-voice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiAddCommunityVoiceInput = z.object({\n voice_name: z.string().describe(\"Custom name for the voice in your library. This will be how the voice appears in your voice list.\"),\n public_user_id: z.string().describe(\"Public user ID of the voice creator. This is required for ElevenLabs community voices to properly attribute and access the voice.\"),\n provider_voice_id: z.string().describe(\"The voice ID from the voice provider (e.g., ElevenLabs). This identifies the specific community voice you want to add to your library.\"),\n}).describe(\"Request schema for `AddCommunityVoice`\");\nexport const RetellaiAddCommunityVoiceOutput = z.object({\n provider: z.string().describe(\"Voice provider (e.g., 'elevenlabs')\").nullable().optional(),\n voice_id: z.string().describe(\"Unique identifier for the added voice in your library\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to the avatar image for the voice\").nullable().optional(),\n voice_name: z.string().describe(\"Name of the voice as stored in your library\").nullable().optional(),\n voice_type: z.string().describe(\"Type of voice (e.g., 'custom')\").nullable().optional(),\n preview_audio_url: z.string().describe(\"URL to preview audio sample of the voice\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddCommunityVoice`\");\n\nexport const retellaiAddCommunityVoice = action(\"RETELLAI_ADD_COMMUNITY_VOICE\", {\n slug: \"retellai-add-community-voice\",\n name: \"Add community voice\",\n description: \"Add a community voice from ElevenLabs to your Retell voice library. Use when you need to import a shared community voice for use in your agents.\",\n input: RetellaiAddCommunityVoiceInput,\n output: RetellaiAddCommunityVoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CACnI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CACvK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;AACjL,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const RetellaiAddCommunityVoiceOutput: z.ZodObject<{
|
|
|
13
13
|
voice_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
voice_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
preview_audio_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const retellaiAddCommunityVoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
voice_name: string;
|
|
19
19
|
public_user_id: string;
|
|
@@ -13,7 +13,7 @@ declare const RetellaiAddCommunityVoiceOutput: z.ZodObject<{
|
|
|
13
13
|
voice_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
voice_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
preview_audio_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const retellaiAddCommunityVoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
voice_name: string;
|
|
19
19
|
public_user_id: string;
|
|
@@ -16,7 +16,7 @@ const retellaiAddCommunityVoice = action("RETELLAI_ADD_COMMUNITY_VOICE", {
|
|
|
16
16
|
voice_name: z.string().describe("Name of the voice as stored in your library").nullable().optional(),
|
|
17
17
|
voice_type: z.string().describe("Type of voice (e.g., 'custom')").nullable().optional(),
|
|
18
18
|
preview_audio_url: z.string().describe("URL to preview audio sample of the voice").nullable().optional()
|
|
19
|
-
}).describe("Response schema for `AddCommunityVoice`")
|
|
19
|
+
}).passthrough().describe("Response schema for `AddCommunityVoice`")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { retellaiAddCommunityVoice };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-community-voice.mjs","names":[],"sources":["../../src/actions/add-community-voice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiAddCommunityVoiceInput = z.object({\n voice_name: z.string().describe(\"Custom name for the voice in your library. This will be how the voice appears in your voice list.\"),\n public_user_id: z.string().describe(\"Public user ID of the voice creator. This is required for ElevenLabs community voices to properly attribute and access the voice.\"),\n provider_voice_id: z.string().describe(\"The voice ID from the voice provider (e.g., ElevenLabs). This identifies the specific community voice you want to add to your library.\"),\n}).describe(\"Request schema for `AddCommunityVoice`\");\nexport const RetellaiAddCommunityVoiceOutput = z.object({\n provider: z.string().describe(\"Voice provider (e.g., 'elevenlabs')\").nullable().optional(),\n voice_id: z.string().describe(\"Unique identifier for the added voice in your library\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to the avatar image for the voice\").nullable().optional(),\n voice_name: z.string().describe(\"Name of the voice as stored in your library\").nullable().optional(),\n voice_type: z.string().describe(\"Type of voice (e.g., 'custom')\").nullable().optional(),\n preview_audio_url: z.string().describe(\"URL to preview audio sample of the voice\").nullable().optional(),\n}).describe(\"Response schema for `AddCommunityVoice`\");\n\nexport const retellaiAddCommunityVoice = action(\"RETELLAI_ADD_COMMUNITY_VOICE\", {\n slug: \"retellai-add-community-voice\",\n name: \"Add community voice\",\n description: \"Add a community voice from ElevenLabs to your Retell voice library. Use when you need to import a shared community voice for use in your agents.\",\n input: RetellaiAddCommunityVoiceInput,\n output: RetellaiAddCommunityVoiceOutput,\n});\n"],"mappings":";;AAkBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB4C,EAAE,OAAO;EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EACnI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;EACvK,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACjL,CAAC,CAAC,CAAC,SAAS,wCAcH;CACP,QAd6C,EAAE,OAAO;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"add-community-voice.mjs","names":[],"sources":["../../src/actions/add-community-voice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiAddCommunityVoiceInput = z.object({\n voice_name: z.string().describe(\"Custom name for the voice in your library. This will be how the voice appears in your voice list.\"),\n public_user_id: z.string().describe(\"Public user ID of the voice creator. This is required for ElevenLabs community voices to properly attribute and access the voice.\"),\n provider_voice_id: z.string().describe(\"The voice ID from the voice provider (e.g., ElevenLabs). This identifies the specific community voice you want to add to your library.\"),\n}).describe(\"Request schema for `AddCommunityVoice`\");\nexport const RetellaiAddCommunityVoiceOutput = z.object({\n provider: z.string().describe(\"Voice provider (e.g., 'elevenlabs')\").nullable().optional(),\n voice_id: z.string().describe(\"Unique identifier for the added voice in your library\").nullable().optional(),\n avatar_url: z.string().describe(\"URL to the avatar image for the voice\").nullable().optional(),\n voice_name: z.string().describe(\"Name of the voice as stored in your library\").nullable().optional(),\n voice_type: z.string().describe(\"Type of voice (e.g., 'custom')\").nullable().optional(),\n preview_audio_url: z.string().describe(\"URL to preview audio sample of the voice\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddCommunityVoice`\");\n\nexport const retellaiAddCommunityVoice = action(\"RETELLAI_ADD_COMMUNITY_VOICE\", {\n slug: \"retellai-add-community-voice\",\n name: \"Add community voice\",\n description: \"Add a community voice from ElevenLabs to your Retell voice library. Use when you need to import a shared community voice for use in your agents.\",\n input: RetellaiAddCommunityVoiceInput,\n output: RetellaiAddCommunityVoiceOutput,\n});\n"],"mappings":";;AAkBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB4C,EAAE,OAAO;EACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EACnI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;EACvK,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI;CACjL,CAAC,CAAC,CAAC,SAAS,wCAcH;CACP,QAd6C,EAAE,OAAO;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -8,11 +8,11 @@ const RetellaiAddKnowledgeBaseSourcesInput = zod.z.object({
|
|
|
8
8
|
name: zod.z.string().describe("The filename that will be used when uploading the file to the destination service"),
|
|
9
9
|
s3key: zod.z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
|
|
10
10
|
mimetype: zod.z.string().describe("The MIME type of the file")
|
|
11
|
-
})).describe("Files to add to the knowledge base. Limit to 25 files, where each file is limited to 50MB.").optional(),
|
|
11
|
+
}).passthrough()).describe("Files to add to the knowledge base. Limit to 25 files, where each file is limited to 50MB.").optional(),
|
|
12
12
|
knowledge_base_texts: zod.z.array(zod.z.object({
|
|
13
13
|
text: zod.z.string().describe("The text content to add to the knowledge base"),
|
|
14
14
|
title: zod.z.string().describe("Title or label for this text entry")
|
|
15
|
-
}).describe("Text entry for knowledge base")).describe("Texts to add to the knowledge base. Array of objects with title (string, required) and text (string, required).").optional()
|
|
15
|
+
}).passthrough().describe("Text entry for knowledge base")).describe("Texts to add to the knowledge base. Array of objects with title (string, required) and text (string, required).").optional()
|
|
16
16
|
}).describe("Request schema for adding sources to a knowledge base");
|
|
17
17
|
const RetellaiAddKnowledgeBaseSources_DocumentSourceSchema = zod.z.object({
|
|
18
18
|
type: zod.z.string().describe("Source type identifier, value is 'document'").nullable(),
|
|
@@ -20,18 +20,18 @@ const RetellaiAddKnowledgeBaseSources_DocumentSourceSchema = zod.z.object({
|
|
|
20
20
|
filename: zod.z.string().describe("Name of the document file").nullable(),
|
|
21
21
|
file_size: zod.z.number().int().describe("Size of the document file in bytes").nullable().optional(),
|
|
22
22
|
source_id: zod.z.string().describe("Unique identifier of the source").nullable()
|
|
23
|
-
}).describe("Document source type for knowledge base");
|
|
23
|
+
}).passthrough().describe("Document source type for knowledge base");
|
|
24
24
|
const RetellaiAddKnowledgeBaseSources_TextSourceSchema = zod.z.object({
|
|
25
25
|
type: zod.z.string().describe("Source type identifier, value is 'text'").nullable(),
|
|
26
26
|
title: zod.z.string().describe("Title of the text source").nullable(),
|
|
27
27
|
source_id: zod.z.string().describe("Unique identifier of the source").nullable(),
|
|
28
28
|
content_url: zod.z.string().describe("URL to access the text content").nullable()
|
|
29
|
-
}).describe("Text source type for knowledge base");
|
|
29
|
+
}).passthrough().describe("Text source type for knowledge base");
|
|
30
30
|
const RetellaiAddKnowledgeBaseSources_URLSourceSchema = zod.z.object({
|
|
31
31
|
url: zod.z.string().describe("URL of the source").nullable(),
|
|
32
32
|
type: zod.z.string().describe("Source type identifier, value is 'url'").nullable(),
|
|
33
33
|
source_id: zod.z.string().describe("Unique identifier of the source").nullable()
|
|
34
|
-
}).describe("URL source type for knowledge base");
|
|
34
|
+
}).passthrough().describe("URL source type for knowledge base");
|
|
35
35
|
const RetellaiAddKnowledgeBaseSourcesOutput = zod.z.object({
|
|
36
36
|
status: zod.z.string().describe("Processing state of the knowledge base. Possible values: in_progress, complete, error, or refreshing_in_progress").nullable(),
|
|
37
37
|
knowledge_base_id: zod.z.string().describe("Unique id of the knowledge base").nullable(),
|
|
@@ -43,7 +43,7 @@ const RetellaiAddKnowledgeBaseSourcesOutput = zod.z.object({
|
|
|
43
43
|
RetellaiAddKnowledgeBaseSources_URLSourceSchema
|
|
44
44
|
])).describe("Collection of source items (documents, text, or URLs)").nullable().optional(),
|
|
45
45
|
last_refreshed_timestamp: zod.z.number().int().describe("Last refreshed timestamp in milliseconds since epoch").nullable().optional()
|
|
46
|
-
}).describe("Response schema for adding sources to a knowledge base");
|
|
46
|
+
}).passthrough().describe("Response schema for adding sources to a knowledge base");
|
|
47
47
|
const retellaiAddKnowledgeBaseSources = require_action.action("RETELLAI_ADD_KNOWLEDGE_BASE_SOURCES", {
|
|
48
48
|
slug: "retellai-add-knowledge-base-sources",
|
|
49
49
|
name: "Add sources to knowledge base",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-knowledge-base-sources.cjs","names":["z","action"],"sources":["../../src/actions/add-knowledge-base-sources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiAddKnowledgeBaseSourcesInput = z.object({\n knowledge_base_id: z.string().describe(\"The knowledge base id to add sources to\"),\n knowledge_base_urls: z.array(z.string()).describe(\"URLs to be scraped and added to the knowledge base. Must be valid URLs.\").optional(),\n knowledge_base_files: z.array(z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n})).describe(\"Files to add to the knowledge base. Limit to 25 files, where each file is limited to 50MB.\").optional(),\n knowledge_base_texts: z.array(z.object({\n text: z.string().describe(\"The text content to add to the knowledge base\"),\n title: z.string().describe(\"Title or label for this text entry\"),\n}).describe(\"Text entry for knowledge base\")).describe(\"Texts to add to the knowledge base. Array of objects with title (string, required) and text (string, required).\").optional(),\n}).describe(\"Request schema for adding sources to a knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_DocumentSourceSchema = z.object({\n type: z.string().describe(\"Source type identifier, value is '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().optional(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n}).describe(\"Document source type for knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_TextSourceSchema = z.object({\n type: z.string().describe(\"Source type identifier, value is '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 RetellaiAddKnowledgeBaseSources_URLSourceSchema = z.object({\n url: z.string().describe(\"URL of the source\").nullable(),\n type: z.string().describe(\"Source type identifier, value is 'url'\").nullable(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n}).describe(\"URL source type for knowledge base\");\nexport const RetellaiAddKnowledgeBaseSourcesOutput = 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\").nullable(),\n knowledge_base_sources: z.array(z.union([RetellaiAddKnowledgeBaseSources_DocumentSourceSchema, RetellaiAddKnowledgeBaseSources_TextSourceSchema, RetellaiAddKnowledgeBaseSources_URLSourceSchema])).describe(\"Collection of source items (documents, text, or URLs)\").nullable().optional(),\n last_refreshed_timestamp: z.number().int().describe(\"Last refreshed timestamp in milliseconds since epoch\").nullable().optional(),\n}).describe(\"Response schema for adding sources to a knowledge base\");\n\nexport const retellaiAddKnowledgeBaseSources = action(\"RETELLAI_ADD_KNOWLEDGE_BASE_SOURCES\", {\n slug: \"retellai-add-knowledge-base-sources\",\n name: \"Add sources to knowledge base\",\n description: \"Tool to add sources (documents, URLs, text) to an existing knowledge base in Retell AI. Use when you need to add additional content to a knowledge base. At least one of knowledge_base_texts, knowledge_base_files, or knowledge_base_urls should be provided.\",\n input: RetellaiAddKnowledgeBaseSourcesInput,\n output: RetellaiAddKnowledgeBaseSourcesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAChF,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACtI,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"add-knowledge-base-sources.cjs","names":["z","action"],"sources":["../../src/actions/add-knowledge-base-sources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiAddKnowledgeBaseSourcesInput = z.object({\n knowledge_base_id: z.string().describe(\"The knowledge base id to add sources to\"),\n knowledge_base_urls: z.array(z.string()).describe(\"URLs to be scraped and added to the knowledge base. Must be valid URLs.\").optional(),\n knowledge_base_files: z.array(z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).passthrough()).describe(\"Files to add to the knowledge base. Limit to 25 files, where each file is limited to 50MB.\").optional(),\n knowledge_base_texts: z.array(z.object({\n text: z.string().describe(\"The text content to add to the knowledge base\"),\n title: z.string().describe(\"Title or label for this text entry\"),\n}).passthrough().describe(\"Text entry for knowledge base\")).describe(\"Texts to add to the knowledge base. Array of objects with title (string, required) and text (string, required).\").optional(),\n}).describe(\"Request schema for adding sources to a knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_DocumentSourceSchema = z.object({\n type: z.string().describe(\"Source type identifier, value is '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().optional(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n}).passthrough().describe(\"Document source type for knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_TextSourceSchema = z.object({\n type: z.string().describe(\"Source type identifier, value is '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}).passthrough().describe(\"Text source type for knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_URLSourceSchema = z.object({\n url: z.string().describe(\"URL of the source\").nullable(),\n type: z.string().describe(\"Source type identifier, value is 'url'\").nullable(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n}).passthrough().describe(\"URL source type for knowledge base\");\nexport const RetellaiAddKnowledgeBaseSourcesOutput = 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\").nullable(),\n knowledge_base_sources: z.array(z.union([RetellaiAddKnowledgeBaseSources_DocumentSourceSchema, RetellaiAddKnowledgeBaseSources_TextSourceSchema, RetellaiAddKnowledgeBaseSources_URLSourceSchema])).describe(\"Collection of source items (documents, text, or URLs)\").nullable().optional(),\n last_refreshed_timestamp: z.number().int().describe(\"Last refreshed timestamp in milliseconds since epoch\").nullable().optional(),\n}).passthrough().describe(\"Response schema for adding sources to a knowledge base\");\n\nexport const retellaiAddKnowledgeBaseSources = action(\"RETELLAI_ADD_KNOWLEDGE_BASE_SOURCES\", {\n slug: \"retellai-add-knowledge-base-sources\",\n name: \"Add sources to knowledge base\",\n description: \"Tool to add sources (documents, URLs, text) to an existing knowledge base in Retell AI. Use when you need to add additional content to a knowledge base. At least one of knowledge_base_texts, knowledge_base_files, or knowledge_base_urls should be provided.\",\n input: RetellaiAddKnowledgeBaseSourcesInput,\n output: RetellaiAddKnowledgeBaseSourcesOutput,\n});\n"],"mappings":"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"}
|
|
@@ -8,11 +8,11 @@ declare const RetellaiAddKnowledgeBaseSourcesInput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
s3key: z.ZodString;
|
|
10
10
|
mimetype: z.ZodString;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>;
|
|
12
12
|
knowledge_base_texts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13
13
|
text: z.ZodString;
|
|
14
14
|
title: z.ZodString;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
declare const RetellaiAddKnowledgeBaseSourcesOutput: z.ZodObject<{
|
|
18
18
|
status: z.ZodNullable<z.ZodString>;
|
|
@@ -25,27 +25,29 @@ declare const RetellaiAddKnowledgeBaseSourcesOutput: z.ZodObject<{
|
|
|
25
25
|
filename: z.ZodNullable<z.ZodString>;
|
|
26
26
|
file_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
source_id: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
29
29
|
type: z.ZodNullable<z.ZodString>;
|
|
30
30
|
title: z.ZodNullable<z.ZodString>;
|
|
31
31
|
source_id: z.ZodNullable<z.ZodString>;
|
|
32
32
|
content_url: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
34
34
|
url: z.ZodNullable<z.ZodString>;
|
|
35
35
|
type: z.ZodNullable<z.ZodString>;
|
|
36
36
|
source_id: z.ZodNullable<z.ZodString>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>]>>>>;
|
|
38
38
|
last_refreshed_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>;
|
|
40
40
|
declare const retellaiAddKnowledgeBaseSources: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
41
|
knowledge_base_id: string;
|
|
42
42
|
knowledge_base_urls?: string[] | undefined;
|
|
43
43
|
knowledge_base_files?: {
|
|
44
|
+
[x: string]: unknown;
|
|
44
45
|
name: string;
|
|
45
46
|
s3key: string;
|
|
46
47
|
mimetype: string;
|
|
47
48
|
}[] | undefined;
|
|
48
49
|
knowledge_base_texts?: {
|
|
50
|
+
[x: string]: unknown;
|
|
49
51
|
text: string;
|
|
50
52
|
title: string;
|
|
51
53
|
}[] | undefined;
|
|
@@ -8,11 +8,11 @@ declare const RetellaiAddKnowledgeBaseSourcesInput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
s3key: z.ZodString;
|
|
10
10
|
mimetype: z.ZodString;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>;
|
|
12
12
|
knowledge_base_texts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13
13
|
text: z.ZodString;
|
|
14
14
|
title: z.ZodString;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
declare const RetellaiAddKnowledgeBaseSourcesOutput: z.ZodObject<{
|
|
18
18
|
status: z.ZodNullable<z.ZodString>;
|
|
@@ -25,27 +25,29 @@ declare const RetellaiAddKnowledgeBaseSourcesOutput: z.ZodObject<{
|
|
|
25
25
|
filename: z.ZodNullable<z.ZodString>;
|
|
26
26
|
file_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
source_id: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
29
29
|
type: z.ZodNullable<z.ZodString>;
|
|
30
30
|
title: z.ZodNullable<z.ZodString>;
|
|
31
31
|
source_id: z.ZodNullable<z.ZodString>;
|
|
32
32
|
content_url: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
34
34
|
url: z.ZodNullable<z.ZodString>;
|
|
35
35
|
type: z.ZodNullable<z.ZodString>;
|
|
36
36
|
source_id: z.ZodNullable<z.ZodString>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>]>>>>;
|
|
38
38
|
last_refreshed_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$loose>;
|
|
40
40
|
declare const retellaiAddKnowledgeBaseSources: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
41
|
knowledge_base_id: string;
|
|
42
42
|
knowledge_base_urls?: string[] | undefined;
|
|
43
43
|
knowledge_base_files?: {
|
|
44
|
+
[x: string]: unknown;
|
|
44
45
|
name: string;
|
|
45
46
|
s3key: string;
|
|
46
47
|
mimetype: string;
|
|
47
48
|
}[] | undefined;
|
|
48
49
|
knowledge_base_texts?: {
|
|
50
|
+
[x: string]: unknown;
|
|
49
51
|
text: string;
|
|
50
52
|
title: string;
|
|
51
53
|
}[] | undefined;
|
|
@@ -8,11 +8,11 @@ const RetellaiAddKnowledgeBaseSourcesInput = z.object({
|
|
|
8
8
|
name: z.string().describe("The filename that will be used when uploading the file to the destination service"),
|
|
9
9
|
s3key: z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
|
|
10
10
|
mimetype: z.string().describe("The MIME type of the file")
|
|
11
|
-
})).describe("Files to add to the knowledge base. Limit to 25 files, where each file is limited to 50MB.").optional(),
|
|
11
|
+
}).passthrough()).describe("Files to add to the knowledge base. Limit to 25 files, where each file is limited to 50MB.").optional(),
|
|
12
12
|
knowledge_base_texts: z.array(z.object({
|
|
13
13
|
text: z.string().describe("The text content to add to the knowledge base"),
|
|
14
14
|
title: z.string().describe("Title or label for this text entry")
|
|
15
|
-
}).describe("Text entry for knowledge base")).describe("Texts to add to the knowledge base. Array of objects with title (string, required) and text (string, required).").optional()
|
|
15
|
+
}).passthrough().describe("Text entry for knowledge base")).describe("Texts to add to the knowledge base. Array of objects with title (string, required) and text (string, required).").optional()
|
|
16
16
|
}).describe("Request schema for adding sources to a knowledge base");
|
|
17
17
|
const RetellaiAddKnowledgeBaseSources_DocumentSourceSchema = z.object({
|
|
18
18
|
type: z.string().describe("Source type identifier, value is 'document'").nullable(),
|
|
@@ -20,18 +20,18 @@ const RetellaiAddKnowledgeBaseSources_DocumentSourceSchema = z.object({
|
|
|
20
20
|
filename: z.string().describe("Name of the document file").nullable(),
|
|
21
21
|
file_size: z.number().int().describe("Size of the document file in bytes").nullable().optional(),
|
|
22
22
|
source_id: z.string().describe("Unique identifier of the source").nullable()
|
|
23
|
-
}).describe("Document source type for knowledge base");
|
|
23
|
+
}).passthrough().describe("Document source type for knowledge base");
|
|
24
24
|
const RetellaiAddKnowledgeBaseSources_TextSourceSchema = z.object({
|
|
25
25
|
type: z.string().describe("Source type identifier, value is 'text'").nullable(),
|
|
26
26
|
title: z.string().describe("Title of the text source").nullable(),
|
|
27
27
|
source_id: z.string().describe("Unique identifier of the source").nullable(),
|
|
28
28
|
content_url: z.string().describe("URL to access the text content").nullable()
|
|
29
|
-
}).describe("Text source type for knowledge base");
|
|
29
|
+
}).passthrough().describe("Text source type for knowledge base");
|
|
30
30
|
const RetellaiAddKnowledgeBaseSources_URLSourceSchema = z.object({
|
|
31
31
|
url: z.string().describe("URL of the source").nullable(),
|
|
32
32
|
type: z.string().describe("Source type identifier, value is 'url'").nullable(),
|
|
33
33
|
source_id: z.string().describe("Unique identifier of the source").nullable()
|
|
34
|
-
}).describe("URL source type for knowledge base");
|
|
34
|
+
}).passthrough().describe("URL source type for knowledge base");
|
|
35
35
|
const retellaiAddKnowledgeBaseSources = action("RETELLAI_ADD_KNOWLEDGE_BASE_SOURCES", {
|
|
36
36
|
slug: "retellai-add-knowledge-base-sources",
|
|
37
37
|
name: "Add sources to knowledge base",
|
|
@@ -48,7 +48,7 @@ const retellaiAddKnowledgeBaseSources = action("RETELLAI_ADD_KNOWLEDGE_BASE_SOUR
|
|
|
48
48
|
RetellaiAddKnowledgeBaseSources_URLSourceSchema
|
|
49
49
|
])).describe("Collection of source items (documents, text, or URLs)").nullable().optional(),
|
|
50
50
|
last_refreshed_timestamp: z.number().int().describe("Last refreshed timestamp in milliseconds since epoch").nullable().optional()
|
|
51
|
-
}).describe("Response schema for adding sources to a knowledge base")
|
|
51
|
+
}).passthrough().describe("Response schema for adding sources to a knowledge base")
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
54
|
export { retellaiAddKnowledgeBaseSources };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-knowledge-base-sources.mjs","names":[],"sources":["../../src/actions/add-knowledge-base-sources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiAddKnowledgeBaseSourcesInput = z.object({\n knowledge_base_id: z.string().describe(\"The knowledge base id to add sources to\"),\n knowledge_base_urls: z.array(z.string()).describe(\"URLs to be scraped and added to the knowledge base. Must be valid URLs.\").optional(),\n knowledge_base_files: z.array(z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n})).describe(\"Files to add to the knowledge base. Limit to 25 files, where each file is limited to 50MB.\").optional(),\n knowledge_base_texts: z.array(z.object({\n text: z.string().describe(\"The text content to add to the knowledge base\"),\n title: z.string().describe(\"Title or label for this text entry\"),\n}).describe(\"Text entry for knowledge base\")).describe(\"Texts to add to the knowledge base. Array of objects with title (string, required) and text (string, required).\").optional(),\n}).describe(\"Request schema for adding sources to a knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_DocumentSourceSchema = z.object({\n type: z.string().describe(\"Source type identifier, value is '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().optional(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n}).describe(\"Document source type for knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_TextSourceSchema = z.object({\n type: z.string().describe(\"Source type identifier, value is '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 RetellaiAddKnowledgeBaseSources_URLSourceSchema = z.object({\n url: z.string().describe(\"URL of the source\").nullable(),\n type: z.string().describe(\"Source type identifier, value is 'url'\").nullable(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n}).describe(\"URL source type for knowledge base\");\nexport const RetellaiAddKnowledgeBaseSourcesOutput = 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\").nullable(),\n knowledge_base_sources: z.array(z.union([RetellaiAddKnowledgeBaseSources_DocumentSourceSchema, RetellaiAddKnowledgeBaseSources_TextSourceSchema, RetellaiAddKnowledgeBaseSources_URLSourceSchema])).describe(\"Collection of source items (documents, text, or URLs)\").nullable().optional(),\n last_refreshed_timestamp: z.number().int().describe(\"Last refreshed timestamp in milliseconds since epoch\").nullable().optional(),\n}).describe(\"Response schema for adding sources to a knowledge base\");\n\nexport const retellaiAddKnowledgeBaseSources = action(\"RETELLAI_ADD_KNOWLEDGE_BASE_SOURCES\", {\n slug: \"retellai-add-knowledge-base-sources\",\n name: \"Add sources to knowledge base\",\n description: \"Tool to add sources (documents, URLs, text) to an existing knowledge base in Retell AI. Use when you need to add additional content to a knowledge base. At least one of knowledge_base_texts, knowledge_base_files, or knowledge_base_urls should be provided.\",\n input: RetellaiAddKnowledgeBaseSourcesInput,\n output: RetellaiAddKnowledgeBaseSourcesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAChF,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACtI,sBAAsB,EAAE,MAAM,EAAE,OAAO;EACvC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"add-knowledge-base-sources.mjs","names":[],"sources":["../../src/actions/add-knowledge-base-sources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiAddKnowledgeBaseSourcesInput = z.object({\n knowledge_base_id: z.string().describe(\"The knowledge base id to add sources to\"),\n knowledge_base_urls: z.array(z.string()).describe(\"URLs to be scraped and added to the knowledge base. Must be valid URLs.\").optional(),\n knowledge_base_files: z.array(z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).passthrough()).describe(\"Files to add to the knowledge base. Limit to 25 files, where each file is limited to 50MB.\").optional(),\n knowledge_base_texts: z.array(z.object({\n text: z.string().describe(\"The text content to add to the knowledge base\"),\n title: z.string().describe(\"Title or label for this text entry\"),\n}).passthrough().describe(\"Text entry for knowledge base\")).describe(\"Texts to add to the knowledge base. Array of objects with title (string, required) and text (string, required).\").optional(),\n}).describe(\"Request schema for adding sources to a knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_DocumentSourceSchema = z.object({\n type: z.string().describe(\"Source type identifier, value is '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().optional(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n}).passthrough().describe(\"Document source type for knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_TextSourceSchema = z.object({\n type: z.string().describe(\"Source type identifier, value is '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}).passthrough().describe(\"Text source type for knowledge base\");\nconst RetellaiAddKnowledgeBaseSources_URLSourceSchema = z.object({\n url: z.string().describe(\"URL of the source\").nullable(),\n type: z.string().describe(\"Source type identifier, value is 'url'\").nullable(),\n source_id: z.string().describe(\"Unique identifier of the source\").nullable(),\n}).passthrough().describe(\"URL source type for knowledge base\");\nexport const RetellaiAddKnowledgeBaseSourcesOutput = 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\").nullable(),\n knowledge_base_sources: z.array(z.union([RetellaiAddKnowledgeBaseSources_DocumentSourceSchema, RetellaiAddKnowledgeBaseSources_TextSourceSchema, RetellaiAddKnowledgeBaseSources_URLSourceSchema])).describe(\"Collection of source items (documents, text, or URLs)\").nullable().optional(),\n last_refreshed_timestamp: z.number().int().describe(\"Last refreshed timestamp in milliseconds since epoch\").nullable().optional(),\n}).passthrough().describe(\"Response schema for adding sources to a knowledge base\");\n\nexport const retellaiAddKnowledgeBaseSources = action(\"RETELLAI_ADD_KNOWLEDGE_BASE_SOURCES\", {\n slug: \"retellai-add-knowledge-base-sources\",\n name: \"Add sources to knowledge base\",\n description: \"Tool to add sources (documents, URLs, text) to an existing knowledge base in Retell AI. Use when you need to add additional content to a knowledge base. At least one of knowledge_base_texts, knowledge_base_files, or knowledge_base_urls should be provided.\",\n input: RetellaiAddKnowledgeBaseSourcesInput,\n output: RetellaiAddKnowledgeBaseSourcesOutput,\n});\n"],"mappings":"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"}
|
|
@@ -11,7 +11,7 @@ const RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema = zod.z.
|
|
|
11
11
|
authUsername: zod.z.string().describe("Authentication username for SIP trunk.").nullable().optional(),
|
|
12
12
|
terminationUri: zod.z.string().describe("SIP termination URI for outbound calls.").nullable().optional(),
|
|
13
13
|
transportProtocol: zod.z.string().describe("Transport protocol for SIP connection (e.g., 'UDP', 'TCP', 'TLS').").nullable().optional()
|
|
14
|
-
}).describe("SIP configuration for outbound calls.");
|
|
14
|
+
}).passthrough().describe("SIP configuration for outbound calls.");
|
|
15
15
|
const RetellaiBuyANewPhoneNumberBindAgentsOutput = zod.z.object({
|
|
16
16
|
areaCode: zod.z.number().int().describe("Three-digit US area code of the phone number.").nullable().optional(),
|
|
17
17
|
nickname: zod.z.string().describe("Custom reference label for the phone number.").nullable().optional(),
|
|
@@ -27,7 +27,7 @@ const RetellaiBuyANewPhoneNumberBindAgentsOutput = zod.z.object({
|
|
|
27
27
|
allowedInboundCountryList: zod.z.array(zod.z.string()).describe("List of ISO country codes that are permitted to make inbound calls to this number.").nullable().optional(),
|
|
28
28
|
lastModificationTimestamp: zod.z.number().int().describe("Unix timestamp in milliseconds indicating when this phone number was last modified.").nullable(),
|
|
29
29
|
allowedOutboundCountryList: zod.z.array(zod.z.string()).describe("List of ISO country codes that this number is permitted to call.").nullable().optional()
|
|
30
|
-
}).describe("Response schema for `BuyANewPhoneNumberBindAgents`");
|
|
30
|
+
}).passthrough().describe("Response schema for `BuyANewPhoneNumberBindAgents`");
|
|
31
31
|
const retellaiBuyANewPhoneNumberBindAgents = require_action.action("RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS", {
|
|
32
32
|
slug: "retellai-buy-a-new-phone-number-bind-agents",
|
|
33
33
|
name: "Buy a new phone number bind agents",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buy-a-new-phone-number-bind-agents.cjs","names":["z","action"],"sources":["../../src/actions/buy-a-new-phone-number-bind-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiBuyANewPhoneNumberBindAgentsInput = z.object({\n nickname: z.string().describe(\"Nickname for the number, for reference only.\").optional(),\n area_code: z.number().int().describe(\"Area code of the number to obtain. Format is a 3-digit integer, currently supporting only US area codes.\").optional(),\n inbound_agent_id: z.string().describe(\"Unique id of agent to bind to the number. If null, this number would not accept inbound calls.\").optional(),\n outbound_agent_id: z.string().describe(\"Unique id of agent to bind to the number. If null, this number would not initiate outbound calls without an agent id override.\").optional(),\n}).describe(\"Request schema for `BuyANewPhoneNumberBindAgents`\");\nconst RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema = z.object({\n authUsername: z.string().describe(\"Authentication username for SIP trunk.\").nullable().optional(),\n terminationUri: z.string().describe(\"SIP termination URI for outbound calls.\").nullable().optional(),\n transportProtocol: z.string().describe(\"Transport protocol for SIP connection (e.g., 'UDP', 'TCP', 'TLS').\").nullable().optional(),\n}).describe(\"SIP configuration for outbound calls.\");\nexport const RetellaiBuyANewPhoneNumberBindAgentsOutput = z.object({\n areaCode: z.number().int().describe(\"Three-digit US area code of the phone number.\").nullable().optional(),\n nickname: z.string().describe(\"Custom reference label for the phone number.\").nullable().optional(),\n phone_number: z.string().describe(\"E.164 formatted phone number (e.g., '+14157774444').\").nullable(),\n inboundAgentId: z.string().describe(\"Agent ID that handles incoming calls to this phone number.\").nullable().optional(),\n outboundAgentId: z.string().describe(\"Agent ID that initiates outbound calls from this phone number.\").nullable().optional(),\n phoneNumberType: z.string().describe(\"Type of phone number, either 'retell-twilio', 'retell-telnyx', or 'custom'.\").nullable(),\n inboundWebhookUrl: z.string().describe(\"Webhook endpoint URL for customizing incoming call handling.\").nullable().optional(),\n phoneNumberPretty: z.string().describe(\"Formatted display version of the phone number (e.g., '+1 (415) 777-4444').\").nullable().optional(),\n inboundAgentVersion: z.number().int().describe(\"Version of the inbound agent bound to this phone number.\").nullable().optional(),\n outboundAgentVersion: z.number().int().describe(\"Version of the outbound agent bound to this phone number.\").nullable().optional(),\n sipOutboundTrunkConfig: RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema.nullable().optional(),\n allowedInboundCountryList: z.array(z.string()).describe(\"List of ISO country codes that are permitted to make inbound calls to this number.\").nullable().optional(),\n lastModificationTimestamp: z.number().int().describe(\"Unix timestamp in milliseconds indicating when this phone number was last modified.\").nullable(),\n allowedOutboundCountryList: z.array(z.string()).describe(\"List of ISO country codes that this number is permitted to call.\").nullable().optional(),\n}).describe(\"Response schema for `BuyANewPhoneNumberBindAgents`\");\n\nexport const retellaiBuyANewPhoneNumberBindAgents = action(\"RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS\", {\n slug: \"retellai-buy-a-new-phone-number-bind-agents\",\n name: \"Buy a new phone number bind agents\",\n description: \"This endpoint allows purchasing a new phone number with a specified area code and binding it to designated agents for inbound and outbound calls. It requires JSON with agent IDs and area code. Responses indicate the creation status or errors. A purchased phone number is a prerequisite for initiating outbound calls; an empty phone number inventory will prevent outbound calls from being made.\",\n input: RetellaiBuyANewPhoneNumberBindAgentsInput,\n output: RetellaiBuyANewPhoneNumberBindAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC1J,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACjJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,oEAAoEA,IAAAA,EAAE,OAAO;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"buy-a-new-phone-number-bind-agents.cjs","names":["z","action"],"sources":["../../src/actions/buy-a-new-phone-number-bind-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiBuyANewPhoneNumberBindAgentsInput = z.object({\n nickname: z.string().describe(\"Nickname for the number, for reference only.\").optional(),\n area_code: z.number().int().describe(\"Area code of the number to obtain. Format is a 3-digit integer, currently supporting only US area codes.\").optional(),\n inbound_agent_id: z.string().describe(\"Unique id of agent to bind to the number. If null, this number would not accept inbound calls.\").optional(),\n outbound_agent_id: z.string().describe(\"Unique id of agent to bind to the number. If null, this number would not initiate outbound calls without an agent id override.\").optional(),\n}).describe(\"Request schema for `BuyANewPhoneNumberBindAgents`\");\nconst RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema = z.object({\n authUsername: z.string().describe(\"Authentication username for SIP trunk.\").nullable().optional(),\n terminationUri: z.string().describe(\"SIP termination URI for outbound calls.\").nullable().optional(),\n transportProtocol: z.string().describe(\"Transport protocol for SIP connection (e.g., 'UDP', 'TCP', 'TLS').\").nullable().optional(),\n}).passthrough().describe(\"SIP configuration for outbound calls.\");\nexport const RetellaiBuyANewPhoneNumberBindAgentsOutput = z.object({\n areaCode: z.number().int().describe(\"Three-digit US area code of the phone number.\").nullable().optional(),\n nickname: z.string().describe(\"Custom reference label for the phone number.\").nullable().optional(),\n phone_number: z.string().describe(\"E.164 formatted phone number (e.g., '+14157774444').\").nullable(),\n inboundAgentId: z.string().describe(\"Agent ID that handles incoming calls to this phone number.\").nullable().optional(),\n outboundAgentId: z.string().describe(\"Agent ID that initiates outbound calls from this phone number.\").nullable().optional(),\n phoneNumberType: z.string().describe(\"Type of phone number, either 'retell-twilio', 'retell-telnyx', or 'custom'.\").nullable(),\n inboundWebhookUrl: z.string().describe(\"Webhook endpoint URL for customizing incoming call handling.\").nullable().optional(),\n phoneNumberPretty: z.string().describe(\"Formatted display version of the phone number (e.g., '+1 (415) 777-4444').\").nullable().optional(),\n inboundAgentVersion: z.number().int().describe(\"Version of the inbound agent bound to this phone number.\").nullable().optional(),\n outboundAgentVersion: z.number().int().describe(\"Version of the outbound agent bound to this phone number.\").nullable().optional(),\n sipOutboundTrunkConfig: RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema.nullable().optional(),\n allowedInboundCountryList: z.array(z.string()).describe(\"List of ISO country codes that are permitted to make inbound calls to this number.\").nullable().optional(),\n lastModificationTimestamp: z.number().int().describe(\"Unix timestamp in milliseconds indicating when this phone number was last modified.\").nullable(),\n allowedOutboundCountryList: z.array(z.string()).describe(\"List of ISO country codes that this number is permitted to call.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `BuyANewPhoneNumberBindAgents`\");\n\nexport const retellaiBuyANewPhoneNumberBindAgents = action(\"RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS\", {\n slug: \"retellai-buy-a-new-phone-number-bind-agents\",\n name: \"Buy a new phone number bind agents\",\n description: \"This endpoint allows purchasing a new phone number with a specified area code and binding it to designated agents for inbound and outbound calls. It requires JSON with agent IDs and area code. Responses indicate the creation status or errors. A purchased phone number is a prerequisite for initiating outbound calls; an empty phone number inventory will prevent outbound calls from being made.\",\n input: RetellaiBuyANewPhoneNumberBindAgentsInput,\n output: RetellaiBuyANewPhoneNumberBindAgentsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -22,11 +22,11 @@ declare const RetellaiBuyANewPhoneNumberBindAgentsOutput: z.ZodObject<{
|
|
|
22
22
|
authUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
terminationUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
transportProtocol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
allowedInboundCountryList: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
27
|
lastModificationTimestamp: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
allowedOutboundCountryList: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const retellaiBuyANewPhoneNumberBindAgents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
nickname?: string | undefined;
|
|
32
32
|
area_code?: number | undefined;
|
|
@@ -22,11 +22,11 @@ declare const RetellaiBuyANewPhoneNumberBindAgentsOutput: z.ZodObject<{
|
|
|
22
22
|
authUsername: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
terminationUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
transportProtocol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>;
|
|
26
26
|
allowedInboundCountryList: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
27
27
|
lastModificationTimestamp: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
allowedOutboundCountryList: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const retellaiBuyANewPhoneNumberBindAgents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
nickname?: string | undefined;
|
|
32
32
|
area_code?: number | undefined;
|
|
@@ -11,7 +11,7 @@ const RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema = z.obje
|
|
|
11
11
|
authUsername: z.string().describe("Authentication username for SIP trunk.").nullable().optional(),
|
|
12
12
|
terminationUri: z.string().describe("SIP termination URI for outbound calls.").nullable().optional(),
|
|
13
13
|
transportProtocol: z.string().describe("Transport protocol for SIP connection (e.g., 'UDP', 'TCP', 'TLS').").nullable().optional()
|
|
14
|
-
}).describe("SIP configuration for outbound calls.");
|
|
14
|
+
}).passthrough().describe("SIP configuration for outbound calls.");
|
|
15
15
|
const retellaiBuyANewPhoneNumberBindAgents = action("RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS", {
|
|
16
16
|
slug: "retellai-buy-a-new-phone-number-bind-agents",
|
|
17
17
|
name: "Buy a new phone number bind agents",
|
|
@@ -32,7 +32,7 @@ const retellaiBuyANewPhoneNumberBindAgents = action("RETELLAI_BUY_A_NEW_PHONE_NU
|
|
|
32
32
|
allowedInboundCountryList: z.array(z.string()).describe("List of ISO country codes that are permitted to make inbound calls to this number.").nullable().optional(),
|
|
33
33
|
lastModificationTimestamp: z.number().int().describe("Unix timestamp in milliseconds indicating when this phone number was last modified.").nullable(),
|
|
34
34
|
allowedOutboundCountryList: z.array(z.string()).describe("List of ISO country codes that this number is permitted to call.").nullable().optional()
|
|
35
|
-
}).describe("Response schema for `BuyANewPhoneNumberBindAgents`")
|
|
35
|
+
}).passthrough().describe("Response schema for `BuyANewPhoneNumberBindAgents`")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { retellaiBuyANewPhoneNumberBindAgents };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buy-a-new-phone-number-bind-agents.mjs","names":[],"sources":["../../src/actions/buy-a-new-phone-number-bind-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiBuyANewPhoneNumberBindAgentsInput = z.object({\n nickname: z.string().describe(\"Nickname for the number, for reference only.\").optional(),\n area_code: z.number().int().describe(\"Area code of the number to obtain. Format is a 3-digit integer, currently supporting only US area codes.\").optional(),\n inbound_agent_id: z.string().describe(\"Unique id of agent to bind to the number. If null, this number would not accept inbound calls.\").optional(),\n outbound_agent_id: z.string().describe(\"Unique id of agent to bind to the number. If null, this number would not initiate outbound calls without an agent id override.\").optional(),\n}).describe(\"Request schema for `BuyANewPhoneNumberBindAgents`\");\nconst RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema = z.object({\n authUsername: z.string().describe(\"Authentication username for SIP trunk.\").nullable().optional(),\n terminationUri: z.string().describe(\"SIP termination URI for outbound calls.\").nullable().optional(),\n transportProtocol: z.string().describe(\"Transport protocol for SIP connection (e.g., 'UDP', 'TCP', 'TLS').\").nullable().optional(),\n}).describe(\"SIP configuration for outbound calls.\");\nexport const RetellaiBuyANewPhoneNumberBindAgentsOutput = z.object({\n areaCode: z.number().int().describe(\"Three-digit US area code of the phone number.\").nullable().optional(),\n nickname: z.string().describe(\"Custom reference label for the phone number.\").nullable().optional(),\n phone_number: z.string().describe(\"E.164 formatted phone number (e.g., '+14157774444').\").nullable(),\n inboundAgentId: z.string().describe(\"Agent ID that handles incoming calls to this phone number.\").nullable().optional(),\n outboundAgentId: z.string().describe(\"Agent ID that initiates outbound calls from this phone number.\").nullable().optional(),\n phoneNumberType: z.string().describe(\"Type of phone number, either 'retell-twilio', 'retell-telnyx', or 'custom'.\").nullable(),\n inboundWebhookUrl: z.string().describe(\"Webhook endpoint URL for customizing incoming call handling.\").nullable().optional(),\n phoneNumberPretty: z.string().describe(\"Formatted display version of the phone number (e.g., '+1 (415) 777-4444').\").nullable().optional(),\n inboundAgentVersion: z.number().int().describe(\"Version of the inbound agent bound to this phone number.\").nullable().optional(),\n outboundAgentVersion: z.number().int().describe(\"Version of the outbound agent bound to this phone number.\").nullable().optional(),\n sipOutboundTrunkConfig: RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema.nullable().optional(),\n allowedInboundCountryList: z.array(z.string()).describe(\"List of ISO country codes that are permitted to make inbound calls to this number.\").nullable().optional(),\n lastModificationTimestamp: z.number().int().describe(\"Unix timestamp in milliseconds indicating when this phone number was last modified.\").nullable(),\n allowedOutboundCountryList: z.array(z.string()).describe(\"List of ISO country codes that this number is permitted to call.\").nullable().optional(),\n}).describe(\"Response schema for `BuyANewPhoneNumberBindAgents`\");\n\nexport const retellaiBuyANewPhoneNumberBindAgents = action(\"RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS\", {\n slug: \"retellai-buy-a-new-phone-number-bind-agents\",\n name: \"Buy a new phone number bind agents\",\n description: \"This endpoint allows purchasing a new phone number with a specified area code and binding it to designated agents for inbound and outbound calls. It requires JSON with agent IDs and area code. Responses indicate the creation status or errors. A purchased phone number is a prerequisite for initiating outbound calls; an empty phone number inventory will prevent outbound calls from being made.\",\n input: RetellaiBuyANewPhoneNumberBindAgentsInput,\n output: RetellaiBuyANewPhoneNumberBindAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC1J,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACjJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,oEAAoE,EAAE,OAAO;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"buy-a-new-phone-number-bind-agents.mjs","names":[],"sources":["../../src/actions/buy-a-new-phone-number-bind-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiBuyANewPhoneNumberBindAgentsInput = z.object({\n nickname: z.string().describe(\"Nickname for the number, for reference only.\").optional(),\n area_code: z.number().int().describe(\"Area code of the number to obtain. Format is a 3-digit integer, currently supporting only US area codes.\").optional(),\n inbound_agent_id: z.string().describe(\"Unique id of agent to bind to the number. If null, this number would not accept inbound calls.\").optional(),\n outbound_agent_id: z.string().describe(\"Unique id of agent to bind to the number. If null, this number would not initiate outbound calls without an agent id override.\").optional(),\n}).describe(\"Request schema for `BuyANewPhoneNumberBindAgents`\");\nconst RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema = z.object({\n authUsername: z.string().describe(\"Authentication username for SIP trunk.\").nullable().optional(),\n terminationUri: z.string().describe(\"SIP termination URI for outbound calls.\").nullable().optional(),\n transportProtocol: z.string().describe(\"Transport protocol for SIP connection (e.g., 'UDP', 'TCP', 'TLS').\").nullable().optional(),\n}).passthrough().describe(\"SIP configuration for outbound calls.\");\nexport const RetellaiBuyANewPhoneNumberBindAgentsOutput = z.object({\n areaCode: z.number().int().describe(\"Three-digit US area code of the phone number.\").nullable().optional(),\n nickname: z.string().describe(\"Custom reference label for the phone number.\").nullable().optional(),\n phone_number: z.string().describe(\"E.164 formatted phone number (e.g., '+14157774444').\").nullable(),\n inboundAgentId: z.string().describe(\"Agent ID that handles incoming calls to this phone number.\").nullable().optional(),\n outboundAgentId: z.string().describe(\"Agent ID that initiates outbound calls from this phone number.\").nullable().optional(),\n phoneNumberType: z.string().describe(\"Type of phone number, either 'retell-twilio', 'retell-telnyx', or 'custom'.\").nullable(),\n inboundWebhookUrl: z.string().describe(\"Webhook endpoint URL for customizing incoming call handling.\").nullable().optional(),\n phoneNumberPretty: z.string().describe(\"Formatted display version of the phone number (e.g., '+1 (415) 777-4444').\").nullable().optional(),\n inboundAgentVersion: z.number().int().describe(\"Version of the inbound agent bound to this phone number.\").nullable().optional(),\n outboundAgentVersion: z.number().int().describe(\"Version of the outbound agent bound to this phone number.\").nullable().optional(),\n sipOutboundTrunkConfig: RetellaiBuyANewPhoneNumberBindAgents_SipOutboundTrunkConfigSchema.nullable().optional(),\n allowedInboundCountryList: z.array(z.string()).describe(\"List of ISO country codes that are permitted to make inbound calls to this number.\").nullable().optional(),\n lastModificationTimestamp: z.number().int().describe(\"Unix timestamp in milliseconds indicating when this phone number was last modified.\").nullable(),\n allowedOutboundCountryList: z.array(z.string()).describe(\"List of ISO country codes that this number is permitted to call.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `BuyANewPhoneNumberBindAgents`\");\n\nexport const retellaiBuyANewPhoneNumberBindAgents = action(\"RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS\", {\n slug: \"retellai-buy-a-new-phone-number-bind-agents\",\n name: \"Buy a new phone number bind agents\",\n description: \"This endpoint allows purchasing a new phone number with a specified area code and binding it to designated agents for inbound and outbound calls. It requires JSON with agent IDs and area code. Responses indicate the creation status or errors. A purchased phone number is a prerequisite for initiating outbound calls; an empty phone number inventory will prevent outbound calls from being made.\",\n input: RetellaiBuyANewPhoneNumberBindAgentsInput,\n output: RetellaiBuyANewPhoneNumberBindAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC1J,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACjJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,oEAAoE,EAAE,OAAO;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAkBjE,MAAa,uCAAuC,OAAO,+CAA+C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtBwD,EAAE,OAAO;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACnG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC7H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,wBAAwB,kEAAkE,SAAS,CAAC,CAAC,SAAS;EAC9G,2BAA2B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClK,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EACrJ,4BAA4B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -8,19 +8,19 @@ const RetellaiCreateANewOutboundPhoneCallInput = zod.z.object({
|
|
|
8
8
|
override_agent_id: zod.z.string().describe("For this particular call, override the agent used with this agent id. This does not bind the agent to this number, this is for one time override.").optional(),
|
|
9
9
|
ignore_e164_validation: zod.z.boolean().describe("If true, E.164 validation will be ignored for the from_number. Useful for dialing internal pseudo numbers. Only applies with custom telephony, not Retell Telephony.").optional(),
|
|
10
10
|
override_agent_version: zod.z.number().int().describe("For this particular call, set the agent version. Only effective when override_agent_id is set.").optional(),
|
|
11
|
-
retell_llm_dynamic_variables: zod.z.
|
|
11
|
+
retell_llm_dynamic_variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A set of key-value pairs to inject into the prompt and tool descriptions. Values must be strings. Use {{variable_name}} in prompts to reference them.").optional()
|
|
12
12
|
}).describe("Request schema for `CreateANewOutboundPhoneCall`");
|
|
13
13
|
const RetellaiCreateANewOutboundPhoneCall_ProductCostSchema = zod.z.object({
|
|
14
14
|
cost: zod.z.number().describe("Total cost in cents for this product").nullable(),
|
|
15
15
|
product: zod.z.string().describe("Product name").nullable(),
|
|
16
16
|
unit_price: zod.z.number().describe("Cost in cents per second").nullable()
|
|
17
|
-
}).describe("Individual product cost breakdown");
|
|
17
|
+
}).passthrough().describe("Individual product cost breakdown");
|
|
18
18
|
const RetellaiCreateANewOutboundPhoneCall_CallCostSchema = zod.z.object({
|
|
19
19
|
combined_cost: zod.z.number().describe("Total cost in cents for the entire call").nullable(),
|
|
20
20
|
product_costs: zod.z.array(RetellaiCreateANewOutboundPhoneCall_ProductCostSchema).describe("List of individual product costs"),
|
|
21
21
|
total_duration_seconds: zod.z.number().describe("Total call duration in seconds").nullable(),
|
|
22
22
|
total_duration_unit_price: zod.z.number().describe("Combined rate in cents per second").nullable()
|
|
23
|
-
}).describe("Pricing breakdown for the call");
|
|
23
|
+
}).passthrough().describe("Pricing breakdown for the call");
|
|
24
24
|
const RetellaiCreateANewOutboundPhoneCall_LatencyStatisticsSchema = zod.z.object({
|
|
25
25
|
max: zod.z.number().describe("Maximum latency").nullable().optional(),
|
|
26
26
|
min: zod.z.number().describe("Minimum latency").nullable().optional(),
|
|
@@ -30,7 +30,7 @@ const RetellaiCreateANewOutboundPhoneCall_LatencyStatisticsSchema = zod.z.object
|
|
|
30
30
|
p95: zod.z.number().describe("95th percentile latency").nullable().optional(),
|
|
31
31
|
p99: zod.z.number().describe("99th percentile latency").nullable().optional(),
|
|
32
32
|
values: zod.z.array(zod.z.number()).describe("All latency measurements").nullable().optional()
|
|
33
|
-
}).describe("Latency statistics in milliseconds");
|
|
33
|
+
}).passthrough().describe("Latency statistics in milliseconds");
|
|
34
34
|
const RetellaiCreateANewOutboundPhoneCall_CallAnalysisSchema = zod.z.object({
|
|
35
35
|
call_summary: zod.z.string().describe("High-level summary of the call").nullable().optional(),
|
|
36
36
|
in_voicemail: zod.z.boolean().describe("Flag indicating whether the call reached voicemail").nullable().optional(),
|
|
@@ -42,17 +42,17 @@ const RetellaiCreateANewOutboundPhoneCall_CallAnalysisSchema = zod.z.object({
|
|
|
42
42
|
]).describe("Sentiment analysis of the user during the call").nullable().optional(),
|
|
43
43
|
call_successful: zod.z.boolean().describe("Indicator of whether the call achieved its intended task").nullable().optional(),
|
|
44
44
|
custom_analysis_data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom data extracted according to the agent's analysis schema").nullable().optional()
|
|
45
|
-
}).describe("Post-call analysis including sentiment, summary, and success metrics");
|
|
45
|
+
}).passthrough().describe("Post-call analysis including sentiment, summary, and success metrics");
|
|
46
46
|
const RetellaiCreateANewOutboundPhoneCall_LLMTokenUsageSchema = zod.z.object({
|
|
47
47
|
values: zod.z.array(zod.z.number()).describe("Token counts per request"),
|
|
48
48
|
average: zod.z.number().describe("Mean tokens per request").nullable(),
|
|
49
49
|
num_requests: zod.z.number().describe("Total number of LLM calls").nullable()
|
|
50
|
-
}).describe("Token usage statistics for LLM calls");
|
|
50
|
+
}).passthrough().describe("Token usage statistics for LLM calls");
|
|
51
51
|
const RetellaiCreateANewOutboundPhoneCall_WordSchema = zod.z.object({
|
|
52
52
|
end: zod.z.number().describe("End time in seconds").nullable(),
|
|
53
53
|
word: zod.z.string().describe("Transcribed word").nullable(),
|
|
54
54
|
start: zod.z.number().describe("Start time in seconds").nullable()
|
|
55
|
-
}).describe("Word-level timing information");
|
|
55
|
+
}).passthrough().describe("Word-level timing information");
|
|
56
56
|
const RetellaiCreateANewOutboundPhoneCall_UtteranceSchema = zod.z.object({
|
|
57
57
|
role: zod.z.enum([
|
|
58
58
|
"agent",
|
|
@@ -61,31 +61,31 @@ const RetellaiCreateANewOutboundPhoneCall_UtteranceSchema = zod.z.object({
|
|
|
61
61
|
]).describe("Speaker role").nullable(),
|
|
62
62
|
words: zod.z.array(RetellaiCreateANewOutboundPhoneCall_WordSchema).describe("Word-level timing information").nullable().optional(),
|
|
63
63
|
content: zod.z.string().describe("Transcript text for this utterance").nullable()
|
|
64
|
-
}).describe("Utterance object representing a speaker turn");
|
|
65
|
-
const RetellaiCreateANewOutboundPhoneCall_TelephonyIdentifierSchema = zod.z.object({ twilio_call_sid: zod.z.string().describe("Twilio call session identifier").nullable().optional() }).describe("Telephony tracking information");
|
|
64
|
+
}).passthrough().describe("Utterance object representing a speaker turn");
|
|
65
|
+
const RetellaiCreateANewOutboundPhoneCall_TelephonyIdentifierSchema = zod.z.object({ twilio_call_sid: zod.z.string().describe("Twilio call session identifier").nullable().optional() }).passthrough().describe("Telephony tracking information");
|
|
66
66
|
const RetellaiCreateANewOutboundPhoneCall_ToolCallInvocationSchema = zod.z.object({
|
|
67
67
|
name: zod.z.string().describe("Function name being called").nullable(),
|
|
68
68
|
role: zod.z.string().describe("Role type for tool call invocation").nullable(),
|
|
69
69
|
arguments: zod.z.string().describe("Stringified JSON arguments").nullable(),
|
|
70
70
|
tool_call_id: zod.z.string().describe("Unique identifier for this tool call").nullable(),
|
|
71
71
|
thought_signature: zod.z.string().describe("Gemini thinking model data").nullable().optional()
|
|
72
|
-
}).describe("Tool call invocation");
|
|
72
|
+
}).passthrough().describe("Tool call invocation");
|
|
73
73
|
const RetellaiCreateANewOutboundPhoneCall_ToolCallResultSchema = zod.z.object({
|
|
74
74
|
role: zod.z.string().describe("Role type for tool call result").nullable(),
|
|
75
75
|
content: zod.z.string().describe("Tool output").nullable(),
|
|
76
76
|
tool_call_id: zod.z.string().describe("Identifier matching the invocation").nullable()
|
|
77
|
-
}).describe("Tool call result");
|
|
77
|
+
}).passthrough().describe("Tool call result");
|
|
78
78
|
const RetellaiCreateANewOutboundPhoneCall_NodeTransitionSchema = zod.z.object({
|
|
79
79
|
role: zod.z.string().describe("Role type for node transition").nullable(),
|
|
80
80
|
new_node_id: zod.z.string().describe("New workflow node ID").nullable(),
|
|
81
81
|
new_node_name: zod.z.string().describe("New workflow node name").nullable(),
|
|
82
82
|
former_node_id: zod.z.string().describe("Previous workflow node ID").nullable(),
|
|
83
83
|
former_node_name: zod.z.string().describe("Previous workflow node name").nullable()
|
|
84
|
-
}).describe("Workflow node transition");
|
|
84
|
+
}).passthrough().describe("Workflow node transition");
|
|
85
85
|
const RetellaiCreateANewOutboundPhoneCall_DTMFEntrySchema = zod.z.object({
|
|
86
86
|
role: zod.z.string().describe("Role type for DTMF entry").nullable(),
|
|
87
87
|
digit: zod.z.string().describe("Single digit pressed").nullable()
|
|
88
|
-
}).describe("DTMF digit entry");
|
|
88
|
+
}).passthrough().describe("DTMF digit entry");
|
|
89
89
|
const RetellaiCreateANewOutboundPhoneCallOutput = zod.z.object({
|
|
90
90
|
call_id: zod.z.string().describe("Unique id of the call. Used to identify the call in the LLM websocket and authenticate in the audio websocket").nullable(),
|
|
91
91
|
agent_id: zod.z.string().describe("Corresponding agent id of this call").nullable(),
|
|
@@ -119,7 +119,7 @@ const RetellaiCreateANewOutboundPhoneCallOutput = zod.z.object({
|
|
|
119
119
|
start_timestamp: zod.z.number().int().describe("Call start time in milliseconds since epoch").nullable().optional(),
|
|
120
120
|
opt_in_signed_url: zod.z.boolean().describe("Enable 24-hour expiring URLs for recordings and logs").nullable().optional(),
|
|
121
121
|
transcript_object: zod.z.array(RetellaiCreateANewOutboundPhoneCall_UtteranceSchema).describe("Timestamped list of utterances. Available after call ends").nullable().optional(),
|
|
122
|
-
custom_sip_headers: zod.z.
|
|
122
|
+
custom_sip_headers: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom SIP headers added to the call. Key-value pairs of strings").nullable().optional(),
|
|
123
123
|
data_storage_setting: zod.z.enum([
|
|
124
124
|
"everything",
|
|
125
125
|
"everything_except_pii",
|
|
@@ -169,9 +169,9 @@ const RetellaiCreateANewOutboundPhoneCallOutput = zod.z.object({
|
|
|
169
169
|
RetellaiCreateANewOutboundPhoneCall_NodeTransitionSchema,
|
|
170
170
|
RetellaiCreateANewOutboundPhoneCall_DTMFEntrySchema
|
|
171
171
|
])).describe("Interleaved list of utterances, tool calls, and node transitions").nullable().optional(),
|
|
172
|
-
collected_dynamic_variables: zod.z.
|
|
172
|
+
collected_dynamic_variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Variables collected during the call. Key-value pairs of strings").nullable().optional(),
|
|
173
173
|
recording_multi_channel_url: zod.z.string().describe("URL to multi-channel recording with per-party audio channels").nullable().optional(),
|
|
174
|
-
retell_llm_dynamic_variables: zod.z.
|
|
174
|
+
retell_llm_dynamic_variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Variables injected into the LLM prompt for this call. Key-value pairs of strings").nullable().optional(),
|
|
175
175
|
scrubbed_transcript_with_tool_calls: zod.z.array(zod.z.union([
|
|
176
176
|
RetellaiCreateANewOutboundPhoneCall_UtteranceSchema,
|
|
177
177
|
RetellaiCreateANewOutboundPhoneCall_ToolCallInvocationSchema,
|
|
@@ -181,7 +181,7 @@ const RetellaiCreateANewOutboundPhoneCallOutput = zod.z.object({
|
|
|
181
181
|
])).describe("Same structure as transcript_with_tool_calls, with personally identifiable information removed when possible").nullable().optional(),
|
|
182
182
|
scrubbed_recording_multi_channel_url: zod.z.string().describe("URL to multi-channel recording with PII removed").nullable().optional(),
|
|
183
183
|
knowledge_base_retrieved_contents_url: zod.z.string().describe("URL to knowledge base retrieval results").nullable().optional()
|
|
184
|
-
}).describe("V2PhoneCallResponse object returned when creating an outbound phone call");
|
|
184
|
+
}).passthrough().describe("V2PhoneCallResponse object returned when creating an outbound phone call");
|
|
185
185
|
const retellaiCreateANewOutboundPhoneCall = require_action.action("RETELLAI_CREATE_A_NEW_OUTBOUND_PHONE_CALL", {
|
|
186
186
|
slug: "retellai-create-a-new-outbound-phone-call",
|
|
187
187
|
name: "Create a new outbound phone call",
|