@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-chat-agent.cjs","names":["z","action"],"sources":["../../src/actions/get-chat-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetChatAgentInput = z.object({\n agent_id: z.string().describe(\"Unique identifier of the chat agent to retrieve\"),\n}).describe(\"Request schema for `RetellaiGetChatAgent`\");\nconst RetellaiGetChatAgent_PiiConfigurationSchema = z.object({\n mode: z.string().describe(\"PII scrubbing mode. Value: 'post_call'.\").nullable(),\n categories: z.array(z.enum([\"person_name\", \"address\", \"email\", \"phone_number\", \"SSN\", \"passport\", \"driver_license\", \"credit_card\", \"bank_account\", \"password\", \"PIN\", \"medical_id\", \"date_of_birth\", \"customer_account_number\"])).describe(\"Array of PII types to scrub.\"),\n}).describe(\"Configuration for scrubbing sensitive information\");\nconst RetellaiGetChatAgent_ResponseEngineRetellLmSchema = z.object({\n type: z.string().describe(\"Engine type identifier\").nullable(),\n llm_id: z.string().describe(\"Identifier of the Retell LLM\").nullable(),\n version: z.number().int().describe(\"Version of the Retell LLM\").nullable().optional(),\n}).describe(\"Retell-managed LLM response engine\");\nconst RetellaiGetChatAgent_ResponseEngineCustomLmSchema = z.object({\n type: z.string().describe(\"Engine type identifier\").nullable(),\n llm_websocket_url: z.string().describe(\"WebSocket URL for custom LLM\").nullable(),\n}).describe(\"Custom LLM via WebSocket\");\nconst RetellaiGetChatAgent_ResponseEngineConversationFlowSchema = z.object({\n type: z.string().describe(\"Engine type identifier\").nullable(),\n version: z.number().int().describe(\"Version of the conversation flow\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"Identifier of the conversation flow\").nullable(),\n}).describe(\"Conversation flow-based response engine\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataStringSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n examples: z.array(z.string()).describe(\"Example values\").nullable().optional(),\n description: z.string().describe(\"Variable description\").nullable(),\n}).describe(\"String type analysis data\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataEnumSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n choices: z.array(z.string()).describe(\"Allowed enum values\"),\n description: z.string().describe(\"Variable description\").nullable(),\n}).describe(\"Enum type analysis data\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataBooleanSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n description: z.string().describe(\"Variable description\").nullable(),\n}).describe(\"Boolean type analysis data\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataNumberSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n description: z.string().describe(\"Variable description\").nullable(),\n}).describe(\"Number type analysis data\");\nexport const RetellaiGetChatAgentOutput = z.object({\n version: z.number().int().describe(\"Agent version number.\").nullable().optional(),\n agent_id: z.string().describe(\"Unique id of chat agent.\").nullable(),\n language: z.string().describe(\"Language/dialect for the chat. Defaults to en-US. Supports 30+ locales plus 'multi' for multilingual support.\").nullable().optional(),\n is_public: z.boolean().describe(\"Public availability status for preview link.\").nullable().optional(),\n agent_name: z.string().describe(\"Agent identifier for reference purposes.\").nullable().optional(),\n pii_config: RetellaiGetChatAgent_PiiConfigurationSchema.nullable().optional(),\n webhook_url: z.string().describe(\"URL for receiving chat event notifications.\").nullable().optional(),\n is_published: z.boolean().describe(\"Publication status of the agent.\").nullable().optional(),\n response_engine: z.union([RetellaiGetChatAgent_ResponseEngineRetellLmSchema, RetellaiGetChatAgent_ResponseEngineCustomLmSchema, RetellaiGetChatAgent_ResponseEngineConversationFlowSchema]),\n opt_in_signed_url: z.boolean().describe(\"Enables signed URLs for public logs. Default: false.\").nullable().optional(),\n auto_close_message: z.string().describe(\"Message shown when chat closes automatically.\").nullable().optional(),\n webhook_timeout_ms: z.number().int().describe(\"Webhook timeout in milliseconds. Default: 10,000.\").nullable().optional(),\n data_storage_setting: z.enum([\"everything\", \"everything_except_pii\", \"basic_attributes_only\"]).describe(\"Data retention policy. Options: 'everything' (stores all data including transcripts and recordings), 'everything_except_pii' (stores data but excludes PII when possible), 'basic_attributes_only' (stores only basic metadata). Defaults to 'everything'.\").nullable().optional(),\n analysis_summary_prompt: z.string().describe(\"Custom prompt for chat summarization. Maximum 2000 characters.\").nullable().optional(),\n post_chat_analysis_data: z.array(z.union([RetellaiGetChatAgent_PostChatAnalysisDataStringSchema, RetellaiGetChatAgent_PostChatAnalysisDataEnumSchema, RetellaiGetChatAgent_PostChatAnalysisDataBooleanSchema, RetellaiGetChatAgent_PostChatAnalysisDataNumberSchema])).describe(\"Custom variables to extract post-conversation for analysis.\").nullable().optional(),\n post_chat_analysis_model: z.string().describe(\"LLM model for post-chat analysis. Default: gpt-4.1-mini.\").nullable().optional(),\n signed_url_expiration_ms: z.number().int().describe(\"Signed URL expiration duration in milliseconds. Default: 86,400,000 ms (24 hours).\").nullable().optional(),\n end_chat_after_silence_ms: z.number().int().describe(\"If users stay silent for a period after agent speech, end the chat. Minimum: 360,000 ms (0.1 hours), Maximum: 259,200,000 ms (72 hours).\").nullable().optional(),\n analysis_successful_prompt: z.string().describe(\"Custom prompt for success evaluation. Maximum 2000 characters.\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Last modification timestamp (milliseconds since epoch).\").nullable(),\n}).describe(\"Response schema for `RetellaiGetChatAgent`\");\n\nexport const retellaiGetChatAgent = action(\"RETELLAI_GET_CHAT_AGENT\", {\n slug: \"retellai-get-chat-agent\",\n name: \"Retrieve details of a specific chat agent\",\n description: \"Retrieve details of a specific chat agent by its unique identifier. Use when you need to access chat agent configuration details.\",\n input: RetellaiGetChatA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,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-chat-agent.cjs","names":["z","action"],"sources":["../../src/actions/get-chat-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetChatAgentInput = z.object({\n agent_id: z.string().describe(\"Unique identifier of the chat agent to retrieve\"),\n}).describe(\"Request schema for `RetellaiGetChatAgent`\");\nconst RetellaiGetChatAgent_PiiConfigurationSchema = z.object({\n mode: z.string().describe(\"PII scrubbing mode. Value: 'post_call'.\").nullable(),\n categories: z.array(z.enum([\"person_name\", \"address\", \"email\", \"phone_number\", \"SSN\", \"passport\", \"driver_license\", \"credit_card\", \"bank_account\", \"password\", \"PIN\", \"medical_id\", \"date_of_birth\", \"customer_account_number\"])).describe(\"Array of PII types to scrub.\"),\n}).passthrough().describe(\"Configuration for scrubbing sensitive information\");\nconst RetellaiGetChatAgent_ResponseEngineRetellLmSchema = z.object({\n type: z.string().describe(\"Engine type identifier\").nullable(),\n llm_id: z.string().describe(\"Identifier of the Retell LLM\").nullable(),\n version: z.number().int().describe(\"Version of the Retell LLM\").nullable().optional(),\n}).passthrough().describe(\"Retell-managed LLM response engine\");\nconst RetellaiGetChatAgent_ResponseEngineCustomLmSchema = z.object({\n type: z.string().describe(\"Engine type identifier\").nullable(),\n llm_websocket_url: z.string().describe(\"WebSocket URL for custom LLM\").nullable(),\n}).passthrough().describe(\"Custom LLM via WebSocket\");\nconst RetellaiGetChatAgent_ResponseEngineConversationFlowSchema = z.object({\n type: z.string().describe(\"Engine type identifier\").nullable(),\n version: z.number().int().describe(\"Version of the conversation flow\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"Identifier of the conversation flow\").nullable(),\n}).passthrough().describe(\"Conversation flow-based response engine\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataStringSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n examples: z.array(z.string()).describe(\"Example values\").nullable().optional(),\n description: z.string().describe(\"Variable description\").nullable(),\n}).passthrough().describe(\"String type analysis data\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataEnumSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n choices: z.array(z.string()).describe(\"Allowed enum values\"),\n description: z.string().describe(\"Variable description\").nullable(),\n}).passthrough().describe(\"Enum type analysis data\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataBooleanSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n description: z.string().describe(\"Variable description\").nullable(),\n}).passthrough().describe(\"Boolean type analysis data\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataNumberSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n description: z.string().describe(\"Variable description\").nullable(),\n}).passthrough().describe(\"Number type analysis data\");\nexport const RetellaiGetChatAgentOutput = z.object({\n version: z.number().int().describe(\"Agent version number.\").nullable().optional(),\n agent_id: z.string().describe(\"Unique id of chat agent.\").nullable(),\n language: z.string().describe(\"Language/dialect for the chat. Defaults to en-US. Supports 30+ locales plus 'multi' for multilingual support.\").nullable().optional(),\n is_public: z.boolean().describe(\"Public availability status for preview link.\").nullable().optional(),\n agent_name: z.string().describe(\"Agent identifier for reference purposes.\").nullable().optional(),\n pii_config: RetellaiGetChatAgent_PiiConfigurationSchema.nullable().optional(),\n webhook_url: z.string().describe(\"URL for receiving chat event notifications.\").nullable().optional(),\n is_published: z.boolean().describe(\"Publication status of the agent.\").nullable().optional(),\n response_engine: z.union([RetellaiGetChatAgent_ResponseEngineRetellLmSchema, RetellaiGetChatAgent_ResponseEngineCustomLmSchema, RetellaiGetChatAgent_ResponseEngineConversationFlowSchema]),\n opt_in_signed_url: z.boolean().describe(\"Enables signed URLs for public logs. Default: false.\").nullable().optional(),\n auto_close_message: z.string().describe(\"Message shown when chat closes automatically.\").nullable().optional(),\n webhook_timeout_ms: z.number().int().describe(\"Webhook timeout in milliseconds. Default: 10,000.\").nullable().optional(),\n data_storage_setting: z.enum([\"everything\", \"everything_except_pii\", \"basic_attributes_only\"]).describe(\"Data retention policy. Options: 'everything' (stores all data including transcripts and recordings), 'everything_except_pii' (stores data but excludes PII when possible), 'basic_attributes_only' (stores only basic metadata). Defaults to 'everything'.\").nullable().optional(),\n analysis_summary_prompt: z.string().describe(\"Custom prompt for chat summarization. Maximum 2000 characters.\").nullable().optional(),\n post_chat_analysis_data: z.array(z.union([RetellaiGetChatAgent_PostChatAnalysisDataStringSchema, RetellaiGetChatAgent_PostChatAnalysisDataEnumSchema, RetellaiGetChatAgent_PostChatAnalysisDataBooleanSchema, RetellaiGetChatAgent_PostChatAnalysisDataNumberSchema])).describe(\"Custom variables to extract post-conversation for analysis.\").nullable().optional(),\n post_chat_analysis_model: z.string().describe(\"LLM model for post-chat analysis. Default: gpt-4.1-mini.\").nullable().optional(),\n signed_url_expiration_ms: z.number().int().describe(\"Signed URL expiration duration in milliseconds. Default: 86,400,000 ms (24 hours).\").nullable().optional(),\n end_chat_after_silence_ms: z.number().int().describe(\"If users stay silent for a period after agent speech, end the chat. Minimum: 360,000 ms (0.1 hours), Maximum: 259,200,000 ms (72 hours).\").nullable().optional(),\n analysis_successful_prompt: z.string().describe(\"Custom prompt for success evaluation. Maximum 2000 characters.\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Last modification timestamp (milliseconds since epoch).\").nullable(),\n}).passthrough().describe(\"Response schema for `RetellaiGetChatAgent`\");\n\nexport const retellaiGetChatAgent = action(\"RETELLAI_GET_CHAT_AGENT\", {\n slug: \"retellai-get-chat-agent\",\n name: \"Retrieve details of a specific chat agent\",\n description: \"Retrieve details of a specific chat agent by its unique identifier. Use when you need to access chat agent configuration details.\",\n input: RetellaiGetChatAgentInput,\n output: RetellaiGetChatAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACjF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAW;EAAS;EAAgB;EAAO;EAAY;EAAkB;EAAe;EAAgB;EAAY;EAAO;EAAc;EAAiB;CAAyB,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC3Q,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAA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,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrN,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -28,21 +28,21 @@ declare const RetellaiGetChatAgentOutput: z.ZodObject<{
|
|
|
28
28
|
date_of_birth: "date_of_birth";
|
|
29
29
|
customer_account_number: "customer_account_number";
|
|
30
30
|
}>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
32
|
webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
is_published: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
34
34
|
response_engine: z.ZodUnion<readonly [z.ZodObject<{
|
|
35
35
|
type: z.ZodNullable<z.ZodString>;
|
|
36
36
|
llm_id: z.ZodNullable<z.ZodString>;
|
|
37
37
|
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
39
39
|
type: z.ZodNullable<z.ZodString>;
|
|
40
40
|
llm_websocket_url: z.ZodNullable<z.ZodString>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
42
42
|
type: z.ZodNullable<z.ZodString>;
|
|
43
43
|
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
44
|
conversation_flow_id: z.ZodNullable<z.ZodString>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>]>;
|
|
46
46
|
opt_in_signed_url: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
47
47
|
auto_close_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
webhook_timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -57,26 +57,26 @@ declare const RetellaiGetChatAgentOutput: z.ZodObject<{
|
|
|
57
57
|
type: z.ZodNullable<z.ZodString>;
|
|
58
58
|
examples: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
59
59
|
description: z.ZodNullable<z.ZodString>;
|
|
60
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
61
61
|
name: z.ZodNullable<z.ZodString>;
|
|
62
62
|
type: z.ZodNullable<z.ZodString>;
|
|
63
63
|
choices: z.ZodArray<z.ZodString>;
|
|
64
64
|
description: z.ZodNullable<z.ZodString>;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
66
66
|
name: z.ZodNullable<z.ZodString>;
|
|
67
67
|
type: z.ZodNullable<z.ZodString>;
|
|
68
68
|
description: z.ZodNullable<z.ZodString>;
|
|
69
|
-
}, z.core.$
|
|
69
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
70
70
|
name: z.ZodNullable<z.ZodString>;
|
|
71
71
|
type: z.ZodNullable<z.ZodString>;
|
|
72
72
|
description: z.ZodNullable<z.ZodString>;
|
|
73
|
-
}, z.core.$
|
|
73
|
+
}, z.core.$loose>]>>>>;
|
|
74
74
|
post_chat_analysis_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
signed_url_expiration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
76
76
|
end_chat_after_silence_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
77
77
|
analysis_successful_prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
78
|
last_modification_timestamp: z.ZodNullable<z.ZodNumber>;
|
|
79
|
-
}, z.core.$
|
|
79
|
+
}, z.core.$loose>;
|
|
80
80
|
declare const retellaiGetChatAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
81
81
|
agent_id: string;
|
|
82
82
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -28,21 +28,21 @@ declare const RetellaiGetChatAgentOutput: z.ZodObject<{
|
|
|
28
28
|
date_of_birth: "date_of_birth";
|
|
29
29
|
customer_account_number: "customer_account_number";
|
|
30
30
|
}>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>>;
|
|
32
32
|
webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
is_published: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
34
34
|
response_engine: z.ZodUnion<readonly [z.ZodObject<{
|
|
35
35
|
type: z.ZodNullable<z.ZodString>;
|
|
36
36
|
llm_id: z.ZodNullable<z.ZodString>;
|
|
37
37
|
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
39
39
|
type: z.ZodNullable<z.ZodString>;
|
|
40
40
|
llm_websocket_url: z.ZodNullable<z.ZodString>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
42
42
|
type: z.ZodNullable<z.ZodString>;
|
|
43
43
|
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
44
|
conversation_flow_id: z.ZodNullable<z.ZodString>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>]>;
|
|
46
46
|
opt_in_signed_url: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
47
47
|
auto_close_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
webhook_timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -57,26 +57,26 @@ declare const RetellaiGetChatAgentOutput: z.ZodObject<{
|
|
|
57
57
|
type: z.ZodNullable<z.ZodString>;
|
|
58
58
|
examples: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
59
59
|
description: z.ZodNullable<z.ZodString>;
|
|
60
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
61
61
|
name: z.ZodNullable<z.ZodString>;
|
|
62
62
|
type: z.ZodNullable<z.ZodString>;
|
|
63
63
|
choices: z.ZodArray<z.ZodString>;
|
|
64
64
|
description: z.ZodNullable<z.ZodString>;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
66
66
|
name: z.ZodNullable<z.ZodString>;
|
|
67
67
|
type: z.ZodNullable<z.ZodString>;
|
|
68
68
|
description: z.ZodNullable<z.ZodString>;
|
|
69
|
-
}, z.core.$
|
|
69
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
70
70
|
name: z.ZodNullable<z.ZodString>;
|
|
71
71
|
type: z.ZodNullable<z.ZodString>;
|
|
72
72
|
description: z.ZodNullable<z.ZodString>;
|
|
73
|
-
}, z.core.$
|
|
73
|
+
}, z.core.$loose>]>>>>;
|
|
74
74
|
post_chat_analysis_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
75
|
signed_url_expiration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
76
76
|
end_chat_after_silence_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
77
77
|
analysis_successful_prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
78
|
last_modification_timestamp: z.ZodNullable<z.ZodNumber>;
|
|
79
|
-
}, z.core.$
|
|
79
|
+
}, z.core.$loose>;
|
|
80
80
|
declare const retellaiGetChatAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
81
81
|
agent_id: string;
|
|
82
82
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -20,43 +20,43 @@ const RetellaiGetChatAgent_PiiConfigurationSchema = z.object({
|
|
|
20
20
|
"date_of_birth",
|
|
21
21
|
"customer_account_number"
|
|
22
22
|
])).describe("Array of PII types to scrub.")
|
|
23
|
-
}).describe("Configuration for scrubbing sensitive information");
|
|
23
|
+
}).passthrough().describe("Configuration for scrubbing sensitive information");
|
|
24
24
|
const RetellaiGetChatAgent_ResponseEngineRetellLmSchema = z.object({
|
|
25
25
|
type: z.string().describe("Engine type identifier").nullable(),
|
|
26
26
|
llm_id: z.string().describe("Identifier of the Retell LLM").nullable(),
|
|
27
27
|
version: z.number().int().describe("Version of the Retell LLM").nullable().optional()
|
|
28
|
-
}).describe("Retell-managed LLM response engine");
|
|
28
|
+
}).passthrough().describe("Retell-managed LLM response engine");
|
|
29
29
|
const RetellaiGetChatAgent_ResponseEngineCustomLmSchema = z.object({
|
|
30
30
|
type: z.string().describe("Engine type identifier").nullable(),
|
|
31
31
|
llm_websocket_url: z.string().describe("WebSocket URL for custom LLM").nullable()
|
|
32
|
-
}).describe("Custom LLM via WebSocket");
|
|
32
|
+
}).passthrough().describe("Custom LLM via WebSocket");
|
|
33
33
|
const RetellaiGetChatAgent_ResponseEngineConversationFlowSchema = z.object({
|
|
34
34
|
type: z.string().describe("Engine type identifier").nullable(),
|
|
35
35
|
version: z.number().int().describe("Version of the conversation flow").nullable().optional(),
|
|
36
36
|
conversation_flow_id: z.string().describe("Identifier of the conversation flow").nullable()
|
|
37
|
-
}).describe("Conversation flow-based response engine");
|
|
37
|
+
}).passthrough().describe("Conversation flow-based response engine");
|
|
38
38
|
const RetellaiGetChatAgent_PostChatAnalysisDataStringSchema = z.object({
|
|
39
39
|
name: z.string().describe("Variable name").nullable(),
|
|
40
40
|
type: z.string().describe("Analysis data type").nullable(),
|
|
41
41
|
examples: z.array(z.string()).describe("Example values").nullable().optional(),
|
|
42
42
|
description: z.string().describe("Variable description").nullable()
|
|
43
|
-
}).describe("String type analysis data");
|
|
43
|
+
}).passthrough().describe("String type analysis data");
|
|
44
44
|
const RetellaiGetChatAgent_PostChatAnalysisDataEnumSchema = z.object({
|
|
45
45
|
name: z.string().describe("Variable name").nullable(),
|
|
46
46
|
type: z.string().describe("Analysis data type").nullable(),
|
|
47
47
|
choices: z.array(z.string()).describe("Allowed enum values"),
|
|
48
48
|
description: z.string().describe("Variable description").nullable()
|
|
49
|
-
}).describe("Enum type analysis data");
|
|
49
|
+
}).passthrough().describe("Enum type analysis data");
|
|
50
50
|
const RetellaiGetChatAgent_PostChatAnalysisDataBooleanSchema = z.object({
|
|
51
51
|
name: z.string().describe("Variable name").nullable(),
|
|
52
52
|
type: z.string().describe("Analysis data type").nullable(),
|
|
53
53
|
description: z.string().describe("Variable description").nullable()
|
|
54
|
-
}).describe("Boolean type analysis data");
|
|
54
|
+
}).passthrough().describe("Boolean type analysis data");
|
|
55
55
|
const RetellaiGetChatAgent_PostChatAnalysisDataNumberSchema = z.object({
|
|
56
56
|
name: z.string().describe("Variable name").nullable(),
|
|
57
57
|
type: z.string().describe("Analysis data type").nullable(),
|
|
58
58
|
description: z.string().describe("Variable description").nullable()
|
|
59
|
-
}).describe("Number type analysis data");
|
|
59
|
+
}).passthrough().describe("Number type analysis data");
|
|
60
60
|
const retellaiGetChatAgent = action("RETELLAI_GET_CHAT_AGENT", {
|
|
61
61
|
slug: "retellai-get-chat-agent",
|
|
62
62
|
name: "Retrieve details of a specific chat agent",
|
|
@@ -96,7 +96,7 @@ const retellaiGetChatAgent = action("RETELLAI_GET_CHAT_AGENT", {
|
|
|
96
96
|
end_chat_after_silence_ms: z.number().int().describe("If users stay silent for a period after agent speech, end the chat. Minimum: 360,000 ms (0.1 hours), Maximum: 259,200,000 ms (72 hours).").nullable().optional(),
|
|
97
97
|
analysis_successful_prompt: z.string().describe("Custom prompt for success evaluation. Maximum 2000 characters.").nullable().optional(),
|
|
98
98
|
last_modification_timestamp: z.number().int().describe("Last modification timestamp (milliseconds since epoch).").nullable()
|
|
99
|
-
}).describe("Response schema for `RetellaiGetChatAgent`")
|
|
99
|
+
}).passthrough().describe("Response schema for `RetellaiGetChatAgent`")
|
|
100
100
|
});
|
|
101
101
|
//#endregion
|
|
102
102
|
export { retellaiGetChatAgent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-chat-agent.mjs","names":[],"sources":["../../src/actions/get-chat-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetChatAgentInput = z.object({\n agent_id: z.string().describe(\"Unique identifier of the chat agent to retrieve\"),\n}).describe(\"Request schema for `RetellaiGetChatAgent`\");\nconst RetellaiGetChatAgent_PiiConfigurationSchema = z.object({\n mode: z.string().describe(\"PII scrubbing mode. Value: 'post_call'.\").nullable(),\n categories: z.array(z.enum([\"person_name\", \"address\", \"email\", \"phone_number\", \"SSN\", \"passport\", \"driver_license\", \"credit_card\", \"bank_account\", \"password\", \"PIN\", \"medical_id\", \"date_of_birth\", \"customer_account_number\"])).describe(\"Array of PII types to scrub.\"),\n}).describe(\"Configuration for scrubbing sensitive information\");\nconst RetellaiGetChatAgent_ResponseEngineRetellLmSchema = z.object({\n type: z.string().describe(\"Engine type identifier\").nullable(),\n llm_id: z.string().describe(\"Identifier of the Retell LLM\").nullable(),\n version: z.number().int().describe(\"Version of the Retell LLM\").nullable().optional(),\n}).describe(\"Retell-managed LLM response engine\");\nconst RetellaiGetChatAgent_ResponseEngineCustomLmSchema = z.object({\n type: z.string().describe(\"Engine type identifier\").nullable(),\n llm_websocket_url: z.string().describe(\"WebSocket URL for custom LLM\").nullable(),\n}).describe(\"Custom LLM via WebSocket\");\nconst RetellaiGetChatAgent_ResponseEngineConversationFlowSchema = z.object({\n type: z.string().describe(\"Engine type identifier\").nullable(),\n version: z.number().int().describe(\"Version of the conversation flow\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"Identifier of the conversation flow\").nullable(),\n}).describe(\"Conversation flow-based response engine\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataStringSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n examples: z.array(z.string()).describe(\"Example values\").nullable().optional(),\n description: z.string().describe(\"Variable description\").nullable(),\n}).describe(\"String type analysis data\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataEnumSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n choices: z.array(z.string()).describe(\"Allowed enum values\"),\n description: z.string().describe(\"Variable description\").nullable(),\n}).describe(\"Enum type analysis data\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataBooleanSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n description: z.string().describe(\"Variable description\").nullable(),\n}).describe(\"Boolean type analysis data\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataNumberSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n description: z.string().describe(\"Variable description\").nullable(),\n}).describe(\"Number type analysis data\");\nexport const RetellaiGetChatAgentOutput = z.object({\n version: z.number().int().describe(\"Agent version number.\").nullable().optional(),\n agent_id: z.string().describe(\"Unique id of chat agent.\").nullable(),\n language: z.string().describe(\"Language/dialect for the chat. Defaults to en-US. Supports 30+ locales plus 'multi' for multilingual support.\").nullable().optional(),\n is_public: z.boolean().describe(\"Public availability status for preview link.\").nullable().optional(),\n agent_name: z.string().describe(\"Agent identifier for reference purposes.\").nullable().optional(),\n pii_config: RetellaiGetChatAgent_PiiConfigurationSchema.nullable().optional(),\n webhook_url: z.string().describe(\"URL for receiving chat event notifications.\").nullable().optional(),\n is_published: z.boolean().describe(\"Publication status of the agent.\").nullable().optional(),\n response_engine: z.union([RetellaiGetChatAgent_ResponseEngineRetellLmSchema, RetellaiGetChatAgent_ResponseEngineCustomLmSchema, RetellaiGetChatAgent_ResponseEngineConversationFlowSchema]),\n opt_in_signed_url: z.boolean().describe(\"Enables signed URLs for public logs. Default: false.\").nullable().optional(),\n auto_close_message: z.string().describe(\"Message shown when chat closes automatically.\").nullable().optional(),\n webhook_timeout_ms: z.number().int().describe(\"Webhook timeout in milliseconds. Default: 10,000.\").nullable().optional(),\n data_storage_setting: z.enum([\"everything\", \"everything_except_pii\", \"basic_attributes_only\"]).describe(\"Data retention policy. Options: 'everything' (stores all data including transcripts and recordings), 'everything_except_pii' (stores data but excludes PII when possible), 'basic_attributes_only' (stores only basic metadata). Defaults to 'everything'.\").nullable().optional(),\n analysis_summary_prompt: z.string().describe(\"Custom prompt for chat summarization. Maximum 2000 characters.\").nullable().optional(),\n post_chat_analysis_data: z.array(z.union([RetellaiGetChatAgent_PostChatAnalysisDataStringSchema, RetellaiGetChatAgent_PostChatAnalysisDataEnumSchema, RetellaiGetChatAgent_PostChatAnalysisDataBooleanSchema, RetellaiGetChatAgent_PostChatAnalysisDataNumberSchema])).describe(\"Custom variables to extract post-conversation for analysis.\").nullable().optional(),\n post_chat_analysis_model: z.string().describe(\"LLM model for post-chat analysis. Default: gpt-4.1-mini.\").nullable().optional(),\n signed_url_expiration_ms: z.number().int().describe(\"Signed URL expiration duration in milliseconds. Default: 86,400,000 ms (24 hours).\").nullable().optional(),\n end_chat_after_silence_ms: z.number().int().describe(\"If users stay silent for a period after agent speech, end the chat. Minimum: 360,000 ms (0.1 hours), Maximum: 259,200,000 ms (72 hours).\").nullable().optional(),\n analysis_successful_prompt: z.string().describe(\"Custom prompt for success evaluation. Maximum 2000 characters.\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Last modification timestamp (milliseconds since epoch).\").nullable(),\n}).describe(\"Response schema for `RetellaiGetChatAgent`\");\n\nexport const retellaiGetChatAgent = action(\"RETELLAI_GET_CHAT_AGENT\", {\n slug: \"retellai-get-chat-agent\",\n name: \"Retrieve details of a specific chat agent\",\n description: \"Retrieve details of a specific chat agent by its unique identifier. Use when you need to access chat agent configuration details.\",\n input: RetellaiGetChatAgentInput,\n output: RetellaiGetChatAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACjF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,MAAM,EAAE,KAAK;EAAC;EAAe;EAAW;EAAS;EAAgB;EAAO;EAAY;EAAkB;EAAe;EAAgB;EAAY;EAAO;EAAc;EAAiB;CAAyB,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC3Q,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,oDAAoD,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,M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action } from \"../action\";\n\nexport const RetellaiGetChatAgentInput = z.object({\n agent_id: z.string().describe(\"Unique identifier of the chat agent to retrieve\"),\n}).describe(\"Request schema for `RetellaiGetChatAgent`\");\nconst RetellaiGetChatAgent_PiiConfigurationSchema = z.object({\n mode: z.string().describe(\"PII scrubbing mode. Value: 'post_call'.\").nullable(),\n categories: z.array(z.enum([\"person_name\", \"address\", \"email\", \"phone_number\", \"SSN\", \"passport\", \"driver_license\", \"credit_card\", \"bank_account\", \"password\", \"PIN\", \"medical_id\", \"date_of_birth\", \"customer_account_number\"])).describe(\"Array of PII types to scrub.\"),\n}).passthrough().describe(\"Configuration for scrubbing sensitive information\");\nconst RetellaiGetChatAgent_ResponseEngineRetellLmSchema = z.object({\n type: z.string().describe(\"Engine type identifier\").nullable(),\n llm_id: z.string().describe(\"Identifier of the Retell LLM\").nullable(),\n version: z.number().int().describe(\"Version of the Retell LLM\").nullable().optional(),\n}).passthrough().describe(\"Retell-managed LLM response engine\");\nconst RetellaiGetChatAgent_ResponseEngineCustomLmSchema = z.object({\n type: z.string().describe(\"Engine type identifier\").nullable(),\n llm_websocket_url: z.string().describe(\"WebSocket URL for custom LLM\").nullable(),\n}).passthrough().describe(\"Custom LLM via WebSocket\");\nconst RetellaiGetChatAgent_ResponseEngineConversationFlowSchema = z.object({\n type: z.string().describe(\"Engine type identifier\").nullable(),\n version: z.number().int().describe(\"Version of the conversation flow\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"Identifier of the conversation flow\").nullable(),\n}).passthrough().describe(\"Conversation flow-based response engine\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataStringSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n examples: z.array(z.string()).describe(\"Example values\").nullable().optional(),\n description: z.string().describe(\"Variable description\").nullable(),\n}).passthrough().describe(\"String type analysis data\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataEnumSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n choices: z.array(z.string()).describe(\"Allowed enum values\"),\n description: z.string().describe(\"Variable description\").nullable(),\n}).passthrough().describe(\"Enum type analysis data\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataBooleanSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n description: z.string().describe(\"Variable description\").nullable(),\n}).passthrough().describe(\"Boolean type analysis data\");\nconst RetellaiGetChatAgent_PostChatAnalysisDataNumberSchema = z.object({\n name: z.string().describe(\"Variable name\").nullable(),\n type: z.string().describe(\"Analysis data type\").nullable(),\n description: z.string().describe(\"Variable description\").nullable(),\n}).passthrough().describe(\"Number type analysis data\");\nexport const RetellaiGetChatAgentOutput = z.object({\n version: z.number().int().describe(\"Agent version number.\").nullable().optional(),\n agent_id: z.string().describe(\"Unique id of chat agent.\").nullable(),\n language: z.string().describe(\"Language/dialect for the chat. Defaults to en-US. Supports 30+ locales plus 'multi' for multilingual support.\").nullable().optional(),\n is_public: z.boolean().describe(\"Public availability status for preview link.\").nullable().optional(),\n agent_name: z.string().describe(\"Agent identifier for reference purposes.\").nullable().optional(),\n pii_config: RetellaiGetChatAgent_PiiConfigurationSchema.nullable().optional(),\n webhook_url: z.string().describe(\"URL for receiving chat event notifications.\").nullable().optional(),\n is_published: z.boolean().describe(\"Publication status of the agent.\").nullable().optional(),\n response_engine: z.union([RetellaiGetChatAgent_ResponseEngineRetellLmSchema, RetellaiGetChatAgent_ResponseEngineCustomLmSchema, RetellaiGetChatAgent_ResponseEngineConversationFlowSchema]),\n opt_in_signed_url: z.boolean().describe(\"Enables signed URLs for public logs. Default: false.\").nullable().optional(),\n auto_close_message: z.string().describe(\"Message shown when chat closes automatically.\").nullable().optional(),\n webhook_timeout_ms: z.number().int().describe(\"Webhook timeout in milliseconds. Default: 10,000.\").nullable().optional(),\n data_storage_setting: z.enum([\"everything\", \"everything_except_pii\", \"basic_attributes_only\"]).describe(\"Data retention policy. Options: 'everything' (stores all data including transcripts and recordings), 'everything_except_pii' (stores data but excludes PII when possible), 'basic_attributes_only' (stores only basic metadata). Defaults to 'everything'.\").nullable().optional(),\n analysis_summary_prompt: z.string().describe(\"Custom prompt for chat summarization. Maximum 2000 characters.\").nullable().optional(),\n post_chat_analysis_data: z.array(z.union([RetellaiGetChatAgent_PostChatAnalysisDataStringSchema, RetellaiGetChatAgent_PostChatAnalysisDataEnumSchema, RetellaiGetChatAgent_PostChatAnalysisDataBooleanSchema, RetellaiGetChatAgent_PostChatAnalysisDataNumberSchema])).describe(\"Custom variables to extract post-conversation for analysis.\").nullable().optional(),\n post_chat_analysis_model: z.string().describe(\"LLM model for post-chat analysis. Default: gpt-4.1-mini.\").nullable().optional(),\n signed_url_expiration_ms: z.number().int().describe(\"Signed URL expiration duration in milliseconds. Default: 86,400,000 ms (24 hours).\").nullable().optional(),\n end_chat_after_silence_ms: z.number().int().describe(\"If users stay silent for a period after agent speech, end the chat. Minimum: 360,000 ms (0.1 hours), Maximum: 259,200,000 ms (72 hours).\").nullable().optional(),\n analysis_successful_prompt: z.string().describe(\"Custom prompt for success evaluation. Maximum 2000 characters.\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Last modification timestamp (milliseconds since epoch).\").nullable(),\n}).passthrough().describe(\"Response schema for `RetellaiGetChatAgent`\");\n\nexport const retellaiGetChatAgent = action(\"RETELLAI_GET_CHAT_AGENT\", {\n slug: \"retellai-get-chat-agent\",\n name: \"Retrieve details of a specific chat agent\",\n description: \"Retrieve details of a specific chat agent by its unique identifier. Use when you need to access chat agent configuration details.\",\n input: RetellaiGetChatAgentInput,\n output: RetellaiGetChatAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EACjF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,M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;EAAuB,CAAC,CAAC,CAAC,SAAS,4PAA4P,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1X,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,yBAAyB,EAAE,MAAM,EAAE,MAAM;GAAC;GAAuD;GAAqD;GAAwD;EAAqD,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnW,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9J,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrN,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -6,11 +6,11 @@ const RetellaiGetChat_ProductCostSchema = zod.z.object({
|
|
|
6
6
|
cost: zod.z.number().describe("Cost for the product in cents for the duration of the chat").nullable(),
|
|
7
7
|
product: zod.z.string().describe("Product name that has a cost associated with it").nullable(),
|
|
8
8
|
unit_price: zod.z.number().describe("Unit price of the product in cents per second").nullable()
|
|
9
|
-
}).describe("Individual product charge");
|
|
9
|
+
}).passthrough().describe("Individual product charge");
|
|
10
10
|
const RetellaiGetChat_ChatCostSchema = zod.z.object({
|
|
11
11
|
combined_cost: zod.z.number().describe("Combined cost of all individual costs in cents").nullable().optional(),
|
|
12
12
|
product_costs: zod.z.array(RetellaiGetChat_ProductCostSchema).describe("Collection of individual product charges").nullable().optional()
|
|
13
|
-
}).describe("Cost breakdown for the chat session");
|
|
13
|
+
}).passthrough().describe("Cost breakdown for the chat session");
|
|
14
14
|
const RetellaiGetChat_ChatAnalysisSchema = zod.z.object({
|
|
15
15
|
chat_summary: zod.z.string().describe("High-level conversation overview").nullable().optional(),
|
|
16
16
|
user_sentiment: zod.z.enum([
|
|
@@ -21,7 +21,7 @@ const RetellaiGetChat_ChatAnalysisSchema = zod.z.object({
|
|
|
21
21
|
]).describe("Detected user sentiment during the conversation").nullable().optional(),
|
|
22
22
|
chat_successful: zod.z.boolean().describe("Task completion indicator").nullable().optional(),
|
|
23
23
|
custom_analysis_data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Extracted data per defined schema").nullable().optional()
|
|
24
|
-
}).describe("Post chat analysis including sentiment, status, and summary");
|
|
24
|
+
}).passthrough().describe("Post chat analysis including sentiment, status, and summary");
|
|
25
25
|
const RetellaiGetChatOutput = zod.z.object({
|
|
26
26
|
chat_id: zod.z.string().describe("Unique id of the chat").nullable(),
|
|
27
27
|
version: zod.z.number().int().describe("Agent version number").nullable().optional(),
|
|
@@ -42,7 +42,7 @@ const RetellaiGetChatOutput = zod.z.object({
|
|
|
42
42
|
message_with_tool_calls: zod.z.array(zod.z.unknown()).describe("Array of message and tool call objects representing the conversation flow").nullable().optional(),
|
|
43
43
|
collected_dynamic_variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Variables collected after chat ends").nullable().optional(),
|
|
44
44
|
retell_llm_dynamic_variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Key-value pairs injected into prompts/tool descriptions").nullable().optional()
|
|
45
|
-
}).describe("Response schema for `GetChat`");
|
|
45
|
+
}).passthrough().describe("Response schema for `GetChat`");
|
|
46
46
|
const retellaiGetChat = require_action.action("RETELLAI_GET_CHAT", {
|
|
47
47
|
slug: "retellai-get-chat",
|
|
48
48
|
name: "Get chat details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-chat.cjs","names":["z","action"],"sources":["../../src/actions/get-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetChatInput = z.object({\n chat_id: z.string().describe(\"Unique id of the chat to be retrieved\"),\n}).describe(\"Request schema for `GetChat`\");\nconst RetellaiGetChat_ProductCostSchema = z.object({\n cost: z.number().describe(\"Cost for the product in cents for the duration of the chat\").nullable(),\n product: z.string().describe(\"Product name that has a cost associated with it\").nullable(),\n unit_price: z.number().describe(\"Unit price of the product in cents per second\").nullable(),\n}).describe(\"Individual product charge\");\nconst RetellaiGetChat_ChatCostSchema = z.object({\n combined_cost: z.number().describe(\"Combined cost of all individual costs in cents\").nullable().optional(),\n product_costs: z.array(RetellaiGetChat_ProductCostSchema).describe(\"Collection of individual product charges\").nullable().optional(),\n}).describe(\"Cost breakdown for the chat session\");\nconst RetellaiGetChat_ChatAnalysisSchema = z.object({\n chat_summary: z.string().describe(\"High-level conversation overview\").nullable().optional(),\n user_sentiment: z.enum([\"Negative\", \"Positive\", \"Neutral\", \"Unknown\"]).describe(\"Detected user sentiment during the conversation\").nullable().optional(),\n chat_successful: z.boolean().describe(\"Task completion indicator\").nullable().optional(),\n custom_analysis_data: z.record(z.string(), z.unknown()).describe(\"Extracted data per defined schema\").nullable().optional(),\n}).describe(\"Post chat analysis including sentiment, status, and summary\");\nexport const RetellaiGetChatOutput = z.object({\n chat_id: z.string().describe(\"Unique id of the chat\").nullable(),\n version: z.number().int().describe(\"Agent version number\").nullable().optional(),\n agent_id: z.string().describe(\"Corresponding chat agent id of this chat\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"An arbitrary object for storage purpose only\").nullable().optional(),\n chat_cost: RetellaiGetChat_ChatCostSchema.nullable().optional(),\n chat_type: z.enum([\"api_chat\", \"sms_chat\"]).describe(\"Type of chat interaction\").nullable().optional(),\n transcript: z.string().describe(\"Formatted conversation between agent and user\").nullable().optional(),\n chat_status: z.enum([\"ongoing\", \"ended\", \"error\"]).describe(\"Current status of the chat\").nullable(),\n chat_analysis: RetellaiGetChat_ChatAnalysisSchema.nullable().optional(),\n end_timestamp: z.number().int().describe(\"End timestamp in milliseconds since epoch\").nullable().optional(),\n start_timestamp: z.number().int().describe(\"Begin timestamp in milliseconds since epoch\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom metadata supporting string, number, or boolean values\").nullable().optional(),\n message_with_tool_calls: z.array(z.unknown()).describe(\"Array of message and tool call objects representing the conversation flow\").nullable().optional(),\n collected_dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Variables collected after chat ends\").nullable().optional(),\n retell_llm_dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Key-value pairs injected into prompts/tool descriptions\").nullable().optional(),\n}).describe(\"Response schema for `GetChat`\");\n\nexport const retellaiGetChat = action(\"RETELLAI_GET_CHAT\", {\n slug: \"retellai-get-chat\",\n name: \"Get chat details\",\n description: \"Tool to retrieve details of a specific chat session by chat ID. Use when you need to access chat transcript, status, or analysis data.\",\n input: RetellaiGetChatInput,\n output: RetellaiGetChatOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACtE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,2BAA2B;
|
|
1
|
+
{"version":3,"file":"get-chat.cjs","names":["z","action"],"sources":["../../src/actions/get-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetChatInput = z.object({\n chat_id: z.string().describe(\"Unique id of the chat to be retrieved\"),\n}).describe(\"Request schema for `GetChat`\");\nconst RetellaiGetChat_ProductCostSchema = z.object({\n cost: z.number().describe(\"Cost for the product in cents for the duration of the chat\").nullable(),\n product: z.string().describe(\"Product name that has a cost associated with it\").nullable(),\n unit_price: z.number().describe(\"Unit price of the product in cents per second\").nullable(),\n}).passthrough().describe(\"Individual product charge\");\nconst RetellaiGetChat_ChatCostSchema = z.object({\n combined_cost: z.number().describe(\"Combined cost of all individual costs in cents\").nullable().optional(),\n product_costs: z.array(RetellaiGetChat_ProductCostSchema).describe(\"Collection of individual product charges\").nullable().optional(),\n}).passthrough().describe(\"Cost breakdown for the chat session\");\nconst RetellaiGetChat_ChatAnalysisSchema = z.object({\n chat_summary: z.string().describe(\"High-level conversation overview\").nullable().optional(),\n user_sentiment: z.enum([\"Negative\", \"Positive\", \"Neutral\", \"Unknown\"]).describe(\"Detected user sentiment during the conversation\").nullable().optional(),\n chat_successful: z.boolean().describe(\"Task completion indicator\").nullable().optional(),\n custom_analysis_data: z.record(z.string(), z.unknown()).describe(\"Extracted data per defined schema\").nullable().optional(),\n}).passthrough().describe(\"Post chat analysis including sentiment, status, and summary\");\nexport const RetellaiGetChatOutput = z.object({\n chat_id: z.string().describe(\"Unique id of the chat\").nullable(),\n version: z.number().int().describe(\"Agent version number\").nullable().optional(),\n agent_id: z.string().describe(\"Corresponding chat agent id of this chat\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"An arbitrary object for storage purpose only\").nullable().optional(),\n chat_cost: RetellaiGetChat_ChatCostSchema.nullable().optional(),\n chat_type: z.enum([\"api_chat\", \"sms_chat\"]).describe(\"Type of chat interaction\").nullable().optional(),\n transcript: z.string().describe(\"Formatted conversation between agent and user\").nullable().optional(),\n chat_status: z.enum([\"ongoing\", \"ended\", \"error\"]).describe(\"Current status of the chat\").nullable(),\n chat_analysis: RetellaiGetChat_ChatAnalysisSchema.nullable().optional(),\n end_timestamp: z.number().int().describe(\"End timestamp in milliseconds since epoch\").nullable().optional(),\n start_timestamp: z.number().int().describe(\"Begin timestamp in milliseconds since epoch\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom metadata supporting string, number, or boolean values\").nullable().optional(),\n message_with_tool_calls: z.array(z.unknown()).describe(\"Array of message and tool call objects representing the conversation flow\").nullable().optional(),\n collected_dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Variables collected after chat ends\").nullable().optional(),\n retell_llm_dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Key-value pairs injected into prompts/tool descriptions\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetChat`\");\n\nexport const retellaiGetChat = action(\"RETELLAI_GET_CHAT\", {\n slug: \"retellai-get-chat\",\n name: \"Get chat details\",\n description: \"Tool to retrieve details of a specific chat session by chat ID. Use when you need to access chat transcript, status, or analysis data.\",\n input: RetellaiGetChatInput,\n output: RetellaiGetChatOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACtE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,iCAAi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AE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAEzD,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,8 +15,8 @@ declare const RetellaiGetChatOutput: z.ZodObject<{
|
|
|
15
15
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
16
16
|
product: z.ZodNullable<z.ZodString>;
|
|
17
17
|
unit_price: z.ZodNullable<z.ZodNumber>;
|
|
18
|
-
}, z.core.$
|
|
19
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
chat_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
21
21
|
api_chat: "api_chat";
|
|
22
22
|
sms_chat: "sms_chat";
|
|
@@ -37,14 +37,14 @@ declare const RetellaiGetChatOutput: z.ZodObject<{
|
|
|
37
37
|
}>>>;
|
|
38
38
|
chat_successful: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
39
39
|
custom_analysis_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
41
|
end_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
42
|
start_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
43
|
custom_attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
44
44
|
message_with_tool_calls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
45
45
|
collected_dynamic_variables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
46
46
|
retell_llm_dynamic_variables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>;
|
|
48
48
|
declare const retellaiGetChat: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
chat_id: string;
|
|
50
50
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -15,8 +15,8 @@ declare const RetellaiGetChatOutput: z.ZodObject<{
|
|
|
15
15
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
16
16
|
product: z.ZodNullable<z.ZodString>;
|
|
17
17
|
unit_price: z.ZodNullable<z.ZodNumber>;
|
|
18
|
-
}, z.core.$
|
|
19
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
chat_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
21
21
|
api_chat: "api_chat";
|
|
22
22
|
sms_chat: "sms_chat";
|
|
@@ -37,14 +37,14 @@ declare const RetellaiGetChatOutput: z.ZodObject<{
|
|
|
37
37
|
}>>>;
|
|
38
38
|
chat_successful: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
39
39
|
custom_analysis_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
41
|
end_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
42
|
start_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
43
|
custom_attributes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
44
44
|
message_with_tool_calls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
45
45
|
collected_dynamic_variables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
46
46
|
retell_llm_dynamic_variables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>;
|
|
48
48
|
declare const retellaiGetChat: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
chat_id: string;
|
|
50
50
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,11 +6,11 @@ const RetellaiGetChat_ProductCostSchema = z.object({
|
|
|
6
6
|
cost: z.number().describe("Cost for the product in cents for the duration of the chat").nullable(),
|
|
7
7
|
product: z.string().describe("Product name that has a cost associated with it").nullable(),
|
|
8
8
|
unit_price: z.number().describe("Unit price of the product in cents per second").nullable()
|
|
9
|
-
}).describe("Individual product charge");
|
|
9
|
+
}).passthrough().describe("Individual product charge");
|
|
10
10
|
const RetellaiGetChat_ChatCostSchema = z.object({
|
|
11
11
|
combined_cost: z.number().describe("Combined cost of all individual costs in cents").nullable().optional(),
|
|
12
12
|
product_costs: z.array(RetellaiGetChat_ProductCostSchema).describe("Collection of individual product charges").nullable().optional()
|
|
13
|
-
}).describe("Cost breakdown for the chat session");
|
|
13
|
+
}).passthrough().describe("Cost breakdown for the chat session");
|
|
14
14
|
const RetellaiGetChat_ChatAnalysisSchema = z.object({
|
|
15
15
|
chat_summary: z.string().describe("High-level conversation overview").nullable().optional(),
|
|
16
16
|
user_sentiment: z.enum([
|
|
@@ -21,7 +21,7 @@ const RetellaiGetChat_ChatAnalysisSchema = z.object({
|
|
|
21
21
|
]).describe("Detected user sentiment during the conversation").nullable().optional(),
|
|
22
22
|
chat_successful: z.boolean().describe("Task completion indicator").nullable().optional(),
|
|
23
23
|
custom_analysis_data: z.record(z.string(), z.unknown()).describe("Extracted data per defined schema").nullable().optional()
|
|
24
|
-
}).describe("Post chat analysis including sentiment, status, and summary");
|
|
24
|
+
}).passthrough().describe("Post chat analysis including sentiment, status, and summary");
|
|
25
25
|
const retellaiGetChat = action("RETELLAI_GET_CHAT", {
|
|
26
26
|
slug: "retellai-get-chat",
|
|
27
27
|
name: "Get chat details",
|
|
@@ -47,7 +47,7 @@ const retellaiGetChat = action("RETELLAI_GET_CHAT", {
|
|
|
47
47
|
message_with_tool_calls: z.array(z.unknown()).describe("Array of message and tool call objects representing the conversation flow").nullable().optional(),
|
|
48
48
|
collected_dynamic_variables: z.record(z.string(), z.unknown()).describe("Variables collected after chat ends").nullable().optional(),
|
|
49
49
|
retell_llm_dynamic_variables: z.record(z.string(), z.unknown()).describe("Key-value pairs injected into prompts/tool descriptions").nullable().optional()
|
|
50
|
-
}).describe("Response schema for `GetChat`")
|
|
50
|
+
}).passthrough().describe("Response schema for `GetChat`")
|
|
51
51
|
});
|
|
52
52
|
//#endregion
|
|
53
53
|
export { retellaiGetChat };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-chat.mjs","names":[],"sources":["../../src/actions/get-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetChatInput = z.object({\n chat_id: z.string().describe(\"Unique id of the chat to be retrieved\"),\n}).describe(\"Request schema for `GetChat`\");\nconst RetellaiGetChat_ProductCostSchema = z.object({\n cost: z.number().describe(\"Cost for the product in cents for the duration of the chat\").nullable(),\n product: z.string().describe(\"Product name that has a cost associated with it\").nullable(),\n unit_price: z.number().describe(\"Unit price of the product in cents per second\").nullable(),\n}).describe(\"Individual product charge\");\nconst RetellaiGetChat_ChatCostSchema = z.object({\n combined_cost: z.number().describe(\"Combined cost of all individual costs in cents\").nullable().optional(),\n product_costs: z.array(RetellaiGetChat_ProductCostSchema).describe(\"Collection of individual product charges\").nullable().optional(),\n}).describe(\"Cost breakdown for the chat session\");\nconst RetellaiGetChat_ChatAnalysisSchema = z.object({\n chat_summary: z.string().describe(\"High-level conversation overview\").nullable().optional(),\n user_sentiment: z.enum([\"Negative\", \"Positive\", \"Neutral\", \"Unknown\"]).describe(\"Detected user sentiment during the conversation\").nullable().optional(),\n chat_successful: z.boolean().describe(\"Task completion indicator\").nullable().optional(),\n custom_analysis_data: z.record(z.string(), z.unknown()).describe(\"Extracted data per defined schema\").nullable().optional(),\n}).describe(\"Post chat analysis including sentiment, status, and summary\");\nexport const RetellaiGetChatOutput = z.object({\n chat_id: z.string().describe(\"Unique id of the chat\").nullable(),\n version: z.number().int().describe(\"Agent version number\").nullable().optional(),\n agent_id: z.string().describe(\"Corresponding chat agent id of this chat\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"An arbitrary object for storage purpose only\").nullable().optional(),\n chat_cost: RetellaiGetChat_ChatCostSchema.nullable().optional(),\n chat_type: z.enum([\"api_chat\", \"sms_chat\"]).describe(\"Type of chat interaction\").nullable().optional(),\n transcript: z.string().describe(\"Formatted conversation between agent and user\").nullable().optional(),\n chat_status: z.enum([\"ongoing\", \"ended\", \"error\"]).describe(\"Current status of the chat\").nullable(),\n chat_analysis: RetellaiGetChat_ChatAnalysisSchema.nullable().optional(),\n end_timestamp: z.number().int().describe(\"End timestamp in milliseconds since epoch\").nullable().optional(),\n start_timestamp: z.number().int().describe(\"Begin timestamp in milliseconds since epoch\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom metadata supporting string, number, or boolean values\").nullable().optional(),\n message_with_tool_calls: z.array(z.unknown()).describe(\"Array of message and tool call objects representing the conversation flow\").nullable().optional(),\n collected_dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Variables collected after chat ends\").nullable().optional(),\n retell_llm_dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Key-value pairs injected into prompts/tool descriptions\").nullable().optional(),\n}).describe(\"Response schema for `GetChat`\");\n\nexport const retellaiGetChat = action(\"RETELLAI_GET_CHAT\", {\n slug: \"retellai-get-chat\",\n name: \"Get chat details\",\n description: \"Tool to retrieve details of a specific chat session by chat ID. Use when you need to access chat transcript, status, or analysis data.\",\n input: RetellaiGetChatInput,\n output: RetellaiGetChatOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACtE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,2BAA2B;
|
|
1
|
+
{"version":3,"file":"get-chat.mjs","names":[],"sources":["../../src/actions/get-chat.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetChatInput = z.object({\n chat_id: z.string().describe(\"Unique id of the chat to be retrieved\"),\n}).describe(\"Request schema for `GetChat`\");\nconst RetellaiGetChat_ProductCostSchema = z.object({\n cost: z.number().describe(\"Cost for the product in cents for the duration of the chat\").nullable(),\n product: z.string().describe(\"Product name that has a cost associated with it\").nullable(),\n unit_price: z.number().describe(\"Unit price of the product in cents per second\").nullable(),\n}).passthrough().describe(\"Individual product charge\");\nconst RetellaiGetChat_ChatCostSchema = z.object({\n combined_cost: z.number().describe(\"Combined cost of all individual costs in cents\").nullable().optional(),\n product_costs: z.array(RetellaiGetChat_ProductCostSchema).describe(\"Collection of individual product charges\").nullable().optional(),\n}).passthrough().describe(\"Cost breakdown for the chat session\");\nconst RetellaiGetChat_ChatAnalysisSchema = z.object({\n chat_summary: z.string().describe(\"High-level conversation overview\").nullable().optional(),\n user_sentiment: z.enum([\"Negative\", \"Positive\", \"Neutral\", \"Unknown\"]).describe(\"Detected user sentiment during the conversation\").nullable().optional(),\n chat_successful: z.boolean().describe(\"Task completion indicator\").nullable().optional(),\n custom_analysis_data: z.record(z.string(), z.unknown()).describe(\"Extracted data per defined schema\").nullable().optional(),\n}).passthrough().describe(\"Post chat analysis including sentiment, status, and summary\");\nexport const RetellaiGetChatOutput = z.object({\n chat_id: z.string().describe(\"Unique id of the chat\").nullable(),\n version: z.number().int().describe(\"Agent version number\").nullable().optional(),\n agent_id: z.string().describe(\"Corresponding chat agent id of this chat\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"An arbitrary object for storage purpose only\").nullable().optional(),\n chat_cost: RetellaiGetChat_ChatCostSchema.nullable().optional(),\n chat_type: z.enum([\"api_chat\", \"sms_chat\"]).describe(\"Type of chat interaction\").nullable().optional(),\n transcript: z.string().describe(\"Formatted conversation between agent and user\").nullable().optional(),\n chat_status: z.enum([\"ongoing\", \"ended\", \"error\"]).describe(\"Current status of the chat\").nullable(),\n chat_analysis: RetellaiGetChat_ChatAnalysisSchema.nullable().optional(),\n end_timestamp: z.number().int().describe(\"End timestamp in milliseconds since epoch\").nullable().optional(),\n start_timestamp: z.number().int().describe(\"Begin timestamp in milliseconds since epoch\").nullable().optional(),\n custom_attributes: z.record(z.string(), z.unknown()).describe(\"Custom metadata supporting string, number, or boolean values\").nullable().optional(),\n message_with_tool_calls: z.array(z.unknown()).describe(\"Array of message and tool call objects representing the conversation flow\").nullable().optional(),\n collected_dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Variables collected after chat ends\").nullable().optional(),\n retell_llm_dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Key-value pairs injected into prompts/tool descriptions\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetChat`\");\n\nexport const retellaiGetChat = action(\"RETELLAI_GET_CHAT\", {\n slug: \"retellai-get-chat\",\n name: \"Get chat details\",\n description: \"Tool to retrieve details of a specific chat session by chat ID. Use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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClJ,yBAAyB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,6BAA6B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,8BAA8B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const RetellaiGetConcurrencyOutput = zod.z.object({
|
|
|
9
9
|
purchased_concurrency: zod.z.number().int().describe("Additional purchased concurrency").nullable().optional(),
|
|
10
10
|
remaining_purchase_limit: zod.z.number().int().describe("Remaining concurrency available for purchase").nullable().optional(),
|
|
11
11
|
concurrency_purchase_limit: zod.z.number().int().describe("Maximum concurrency that can be purchased").nullable().optional()
|
|
12
|
-
}).describe("Response schema for `GetConcurrency`");
|
|
12
|
+
}).passthrough().describe("Response schema for `GetConcurrency`");
|
|
13
13
|
const retellaiGetConcurrency = require_action.action("RETELLAI_GET_CONCURRENCY", {
|
|
14
14
|
slug: "retellai-get-concurrency",
|
|
15
15
|
name: "Get concurrency",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-concurrency.cjs","names":["z","action"],"sources":["../../src/actions/get-concurrency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetConcurrencyInput = z.object({}).describe(\"Request schema for `GetConcurrency`\");\nexport const RetellaiGetConcurrencyOutput = z.object({\n base_concurrency: z.number().int().describe(\"Base concurrency included with the plan\").nullable().optional(),\n concurrency_limit: z.number().int().describe(\"Total concurrency limit for the organization\").nullable().optional(),\n current_concurrency: z.number().int().describe(\"Current number of active concurrent calls\").nullable().optional(),\n purchased_concurrency: z.number().int().describe(\"Additional purchased concurrency\").nullable().optional(),\n remaining_purchase_limit: z.number().int().describe(\"Remaining concurrency available for purchase\").nullable().optional(),\n concurrency_purchase_limit: z.number().int().describe(\"Maximum concurrency that can be purchased\").nullable().optional(),\n}).describe(\"Response schema for `GetConcurrency`\");\n\nexport const retellaiGetConcurrency = action(\"RETELLAI_GET_CONCURRENCY\", {\n slug: \"retellai-get-concurrency\",\n name: \"Get concurrency\",\n description: \"Retrieves the current concurrency and concurrency limits for the organization. Use when you need to check concurrent call capacity and availability.\",\n input: RetellaiGetConcurrencyInput,\n output: RetellaiGetConcurrencyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACtG,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,sCAAsC;
|
|
1
|
+
{"version":3,"file":"get-concurrency.cjs","names":["z","action"],"sources":["../../src/actions/get-concurrency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetConcurrencyInput = z.object({}).describe(\"Request schema for `GetConcurrency`\");\nexport const RetellaiGetConcurrencyOutput = z.object({\n base_concurrency: z.number().int().describe(\"Base concurrency included with the plan\").nullable().optional(),\n concurrency_limit: z.number().int().describe(\"Total concurrency limit for the organization\").nullable().optional(),\n current_concurrency: z.number().int().describe(\"Current number of active concurrent calls\").nullable().optional(),\n purchased_concurrency: z.number().int().describe(\"Additional purchased concurrency\").nullable().optional(),\n remaining_purchase_limit: z.number().int().describe(\"Remaining concurrency available for purchase\").nullable().optional(),\n concurrency_purchase_limit: z.number().int().describe(\"Maximum concurrency that can be purchased\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetConcurrency`\");\n\nexport const retellaiGetConcurrency = action(\"RETELLAI_GET_CONCURRENCY\", {\n slug: \"retellai-get-concurrency\",\n name: \"Get concurrency\",\n description: \"Retrieves the current concurrency and concurrency limits for the organization. Use when you need to check concurrent call capacity and availability.\",\n input: RetellaiGetConcurrencyInput,\n output: RetellaiGetConcurrencyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACtG,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const RetellaiGetConcurrencyOutput: z.ZodObject<{
|
|
|
9
9
|
purchased_concurrency: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
10
|
remaining_purchase_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
11
|
concurrency_purchase_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const retellaiGetConcurrency: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { retellaiGetConcurrency };
|
|
@@ -9,7 +9,7 @@ declare const RetellaiGetConcurrencyOutput: z.ZodObject<{
|
|
|
9
9
|
purchased_concurrency: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
10
|
remaining_purchase_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
11
|
concurrency_purchase_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const retellaiGetConcurrency: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { retellaiGetConcurrency };
|
|
@@ -12,7 +12,7 @@ const retellaiGetConcurrency = action("RETELLAI_GET_CONCURRENCY", {
|
|
|
12
12
|
purchased_concurrency: z.number().int().describe("Additional purchased concurrency").nullable().optional(),
|
|
13
13
|
remaining_purchase_limit: z.number().int().describe("Remaining concurrency available for purchase").nullable().optional(),
|
|
14
14
|
concurrency_purchase_limit: z.number().int().describe("Maximum concurrency that can be purchased").nullable().optional()
|
|
15
|
-
}).describe("Response schema for `GetConcurrency`")
|
|
15
|
+
}).passthrough().describe("Response schema for `GetConcurrency`")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { retellaiGetConcurrency };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-concurrency.mjs","names":[],"sources":["../../src/actions/get-concurrency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetConcurrencyInput = z.object({}).describe(\"Request schema for `GetConcurrency`\");\nexport const RetellaiGetConcurrencyOutput = z.object({\n base_concurrency: z.number().int().describe(\"Base concurrency included with the plan\").nullable().optional(),\n concurrency_limit: z.number().int().describe(\"Total concurrency limit for the organization\").nullable().optional(),\n current_concurrency: z.number().int().describe(\"Current number of active concurrent calls\").nullable().optional(),\n purchased_concurrency: z.number().int().describe(\"Additional purchased concurrency\").nullable().optional(),\n remaining_purchase_limit: z.number().int().describe(\"Remaining concurrency available for purchase\").nullable().optional(),\n concurrency_purchase_limit: z.number().int().describe(\"Maximum concurrency that can be purchased\").nullable().optional(),\n}).describe(\"Response schema for `GetConcurrency`\");\n\nexport const retellaiGetConcurrency = action(\"RETELLAI_GET_CONCURRENCY\", {\n slug: \"retellai-get-concurrency\",\n name: \"Get concurrency\",\n description: \"Retrieves the current concurrency and concurrency limits for the organization. Use when you need to check concurrent call capacity and availability.\",\n input: RetellaiGetConcurrencyInput,\n output: RetellaiGetConcurrencyOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAcxD;CACP,QAd0C,EAAE,OAAO;EACnD,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-concurrency.mjs","names":[],"sources":["../../src/actions/get-concurrency.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetConcurrencyInput = z.object({}).describe(\"Request schema for `GetConcurrency`\");\nexport const RetellaiGetConcurrencyOutput = z.object({\n base_concurrency: z.number().int().describe(\"Base concurrency included with the plan\").nullable().optional(),\n concurrency_limit: z.number().int().describe(\"Total concurrency limit for the organization\").nullable().optional(),\n current_concurrency: z.number().int().describe(\"Current number of active concurrent calls\").nullable().optional(),\n purchased_concurrency: z.number().int().describe(\"Additional purchased concurrency\").nullable().optional(),\n remaining_purchase_limit: z.number().int().describe(\"Remaining concurrency available for purchase\").nullable().optional(),\n concurrency_purchase_limit: z.number().int().describe(\"Maximum concurrency that can be purchased\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetConcurrency`\");\n\nexport const retellaiGetConcurrency = action(\"RETELLAI_GET_CONCURRENCY\", {\n slug: \"retellai-get-concurrency\",\n name: \"Get concurrency\",\n description: \"Retrieves the current concurrency and concurrency limits for the organization. Use when you need to check concurrent call capacity and availability.\",\n input: RetellaiGetConcurrencyInput,\n output: RetellaiGetConcurrencyOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qCAcxD;CACP,QAd0C,EAAE,OAAO;EACnD,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
|