@botonic/plugin-flow-builder 0.56.0-alpha.0 → 0.57.0-rslib-esm.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/{cjs/action → action}/ai-agent-from-user-input.d.ts +2 -2
- package/lib/{cjs/action → action}/ai-agent-from-user-input.js +9 -6
- package/lib/action/ai-agent-from-user-input.js.map +1 -0
- package/lib/{esm/action → action}/context.d.ts +2 -2
- package/lib/action/context.js +20 -0
- package/lib/action/context.js.map +1 -0
- package/lib/{cjs/action → action}/fallback.d.ts +2 -2
- package/lib/{cjs/action → action}/fallback.js +16 -11
- package/lib/action/fallback.js.map +1 -0
- package/lib/action/first-interaction.d.ts +3 -0
- package/lib/{cjs/action → action}/first-interaction.js +39 -27
- package/lib/action/first-interaction.js.map +1 -0
- package/lib/{cjs/action → action}/get-contents.d.ts +1 -1
- package/lib/action/get-contents.js +56 -0
- package/lib/action/get-contents.js.map +1 -0
- package/lib/{esm/action → action}/index.d.ts +1 -1
- package/lib/{esm/action → action}/index.js +68 -32
- package/lib/action/index.js.map +1 -0
- package/lib/action/payload.d.ts +3 -0
- package/lib/{cjs/action → action}/payload.js +27 -23
- package/lib/action/payload.js.map +1 -0
- package/lib/{cjs/api.d.ts → api.d.ts} +2 -2
- package/lib/{esm/api.js → api.js} +55 -44
- package/lib/api.js.map +1 -0
- package/lib/constants.js +17 -0
- package/lib/constants.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/content-fields-base.d.ts +2 -2
- package/lib/content-fields/content-fields-base.js +78 -0
- package/lib/content-fields/content-fields-base.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/custom-conditional/custom-conditional-v2-evaluators.d.ts +1 -1
- package/lib/content-fields/custom-conditional/custom-conditional-v2-evaluators.js +73 -0
- package/lib/content-fields/custom-conditional/custom-conditional-v2-evaluators.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/custom-conditional/custom-conditional-v2-resolver.d.ts +1 -1
- package/lib/{cjs/content-fields → content-fields}/custom-conditional/custom-conditional-v2-resolver.js +15 -15
- package/lib/content-fields/custom-conditional/custom-conditional-v2-resolver.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/custom-conditional/flow-custom-condition-v2.d.ts +3 -3
- package/lib/content-fields/custom-conditional/flow-custom-condition-v2.js +94 -0
- package/lib/content-fields/custom-conditional/flow-custom-condition-v2.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/flow-ai-agent-base.d.ts +4 -4
- package/lib/content-fields/flow-ai-agent-base.js +100 -0
- package/lib/content-fields/flow-ai-agent-base.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/flow-ai-agent-router.d.ts +5 -5
- package/lib/{esm/content-fields → content-fields}/flow-ai-agent-router.js +57 -46
- package/lib/content-fields/flow-ai-agent-router.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/flow-ai-agent.d.ts +4 -4
- package/lib/{cjs/content-fields → content-fields}/flow-ai-agent.js +33 -22
- package/lib/content-fields/flow-ai-agent.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/flow-bot-action.d.ts +3 -3
- package/lib/{esm/content-fields → content-fields}/flow-bot-action.js +23 -15
- package/lib/content-fields/flow-bot-action.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/flow-button.d.ts +5 -5
- package/lib/{esm/content-fields → content-fields}/flow-button.js +48 -29
- package/lib/content-fields/flow-button.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/flow-capture-user-input.d.ts +2 -2
- package/lib/content-fields/flow-capture-user-input.js +46 -0
- package/lib/content-fields/flow-capture-user-input.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/flow-carousel.d.ts +4 -4
- package/lib/content-fields/flow-carousel.js +193 -0
- package/lib/content-fields/flow-carousel.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/flow-channel-conditional.d.ts +3 -3
- package/lib/{esm/content-fields → content-fields}/flow-channel-conditional.js +26 -22
- package/lib/content-fields/flow-channel-conditional.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/flow-country-conditional.d.ts +3 -3
- package/lib/{esm/content-fields → content-fields}/flow-country-conditional.js +26 -21
- package/lib/content-fields/flow-country-conditional.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/flow-custom-conditional.d.ts +4 -4
- package/lib/{esm/content-fields → content-fields}/flow-custom-conditional.js +31 -33
- package/lib/content-fields/flow-custom-conditional.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/flow-element.d.ts +4 -4
- package/lib/content-fields/flow-element.js +67 -0
- package/lib/content-fields/flow-element.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/flow-go-to-flow.d.ts +3 -3
- package/lib/{esm/content-fields → content-fields}/flow-go-to-flow.js +25 -20
- package/lib/content-fields/flow-go-to-flow.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/flow-handoff.d.ts +3 -3
- package/lib/{cjs/content-fields → content-fields}/flow-handoff.js +30 -19
- package/lib/content-fields/flow-handoff.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/flow-image.d.ts +2 -2
- package/lib/content-fields/flow-image.js +42 -0
- package/lib/content-fields/flow-image.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/flow-queue-status-conditional.d.ts +3 -3
- package/lib/{cjs/content-fields → content-fields}/flow-queue-status-conditional.js +45 -40
- package/lib/content-fields/flow-queue-status-conditional.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/flow-rating.d.ts +3 -3
- package/lib/content-fields/flow-rating.js +88 -0
- package/lib/content-fields/flow-rating.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/flow-text.d.ts +4 -4
- package/lib/content-fields/flow-text.js +82 -0
- package/lib/content-fields/flow-text.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/flow-video.d.ts +2 -2
- package/lib/content-fields/flow-video.js +42 -0
- package/lib/content-fields/flow-video.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/flow-webview.d.ts +2 -2
- package/lib/{cjs/content-fields → content-fields}/flow-webview.js +31 -28
- package/lib/content-fields/flow-webview.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/flow-whatsapp-cta-url-button.d.ts +3 -3
- package/lib/content-fields/flow-whatsapp-cta-url-button.js +131 -0
- package/lib/content-fields/flow-whatsapp-cta-url-button.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/flow-whatsapp-request-contact-info.d.ts +3 -4
- package/lib/content-fields/flow-whatsapp-request-contact-info.js +51 -0
- package/lib/content-fields/flow-whatsapp-request-contact-info.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/flow-whatsapp-template.d.ts +2 -2
- package/lib/{esm/content-fields → content-fields}/flow-whatsapp-template.js +119 -102
- package/lib/content-fields/flow-whatsapp-template.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/ai-agent-router.d.ts +3 -3
- package/lib/content-fields/hubtype-fields/ai-agent-router.js +4 -0
- package/lib/content-fields/hubtype-fields/ai-agent-router.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/ai-agent.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/ai-agent.js +4 -0
- package/lib/content-fields/hubtype-fields/ai-agent.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/bot-action.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/bot-action.js +4 -0
- package/lib/content-fields/hubtype-fields/bot-action.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/button.d.ts +1 -1
- package/lib/content-fields/hubtype-fields/button.js +4 -0
- package/lib/content-fields/hubtype-fields/button.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/capture-user-input.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/capture-user-input.js +12 -0
- package/lib/content-fields/hubtype-fields/capture-user-input.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/carousel.d.ts +3 -3
- package/lib/content-fields/hubtype-fields/carousel.js +4 -0
- package/lib/content-fields/hubtype-fields/carousel.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/channel-conditional.d.ts +3 -3
- package/lib/content-fields/hubtype-fields/channel-conditional.js +4 -0
- package/lib/content-fields/hubtype-fields/channel-conditional.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/common.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/common.js +4 -0
- package/lib/content-fields/hubtype-fields/common.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/country-conditional.d.ts +3 -3
- package/lib/content-fields/hubtype-fields/country-conditional.js +4 -0
- package/lib/content-fields/hubtype-fields/country-conditional.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/custom-conditional-v2.d.ts +2 -2
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/custom-conditional-v2.js +15 -15
- package/lib/content-fields/hubtype-fields/custom-conditional-v2.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/custom-conditional.d.ts +3 -3
- package/lib/content-fields/hubtype-fields/custom-conditional.js +4 -0
- package/lib/content-fields/hubtype-fields/custom-conditional.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/fallback.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/fallback.js +4 -0
- package/lib/content-fields/hubtype-fields/fallback.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/function.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/function.js +11 -0
- package/lib/content-fields/hubtype-fields/function.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/go-to-flow.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/go-to-flow.js +4 -0
- package/lib/content-fields/hubtype-fields/go-to-flow.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/handoff.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/handoff.js +4 -0
- package/lib/content-fields/hubtype-fields/handoff.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/image.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/image.js +4 -0
- package/lib/content-fields/hubtype-fields/image.js.map +1 -0
- package/lib/content-fields/hubtype-fields/index.d.ts +27 -0
- package/lib/content-fields/hubtype-fields/index.js +57 -0
- package/lib/content-fields/hubtype-fields/index.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/keyword.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/keyword.js +4 -0
- package/lib/content-fields/hubtype-fields/keyword.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/node-types.js +12 -12
- package/lib/content-fields/hubtype-fields/node-types.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/nodes.d.ts +23 -23
- package/lib/content-fields/hubtype-fields/nodes.js +4 -0
- package/lib/content-fields/hubtype-fields/nodes.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/payload.d.ts +1 -1
- package/lib/content-fields/hubtype-fields/payload.js +4 -0
- package/lib/content-fields/hubtype-fields/payload.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/queue-status-conditional.d.ts +3 -3
- package/lib/content-fields/hubtype-fields/queue-status-conditional.js +4 -0
- package/lib/content-fields/hubtype-fields/queue-status-conditional.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/rating.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/rating.js +9 -0
- package/lib/content-fields/hubtype-fields/rating.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/smart-intent.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/smart-intent.js +4 -0
- package/lib/content-fields/hubtype-fields/smart-intent.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/text.d.ts +3 -3
- package/lib/content-fields/hubtype-fields/text.js +4 -0
- package/lib/content-fields/hubtype-fields/text.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/url.d.ts +1 -1
- package/lib/content-fields/hubtype-fields/url.js +4 -0
- package/lib/content-fields/hubtype-fields/url.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/video.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/video.js +4 -0
- package/lib/content-fields/hubtype-fields/video.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/webview.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/webview.js +4 -0
- package/lib/content-fields/hubtype-fields/webview.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/hubtype-fields/whatsapp-button-list.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/whatsapp-button-list.js +4 -0
- package/lib/content-fields/hubtype-fields/whatsapp-button-list.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/whatsapp-cta-url-button.d.ts +3 -3
- package/lib/content-fields/hubtype-fields/whatsapp-cta-url-button.js +4 -0
- package/lib/content-fields/hubtype-fields/whatsapp-cta-url-button.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/whatsapp-request-contact-info.d.ts +2 -2
- package/lib/content-fields/hubtype-fields/whatsapp-request-contact-info.js +4 -0
- package/lib/content-fields/hubtype-fields/whatsapp-request-contact-info.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/hubtype-fields/whatsapp-template.d.ts +3 -3
- package/lib/content-fields/hubtype-fields/whatsapp-template.js +9 -0
- package/lib/content-fields/hubtype-fields/whatsapp-template.js.map +1 -0
- package/lib/content-fields/index.d.ts +25 -0
- package/lib/content-fields/index.js +73 -0
- package/lib/content-fields/index.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/whatsapp-button-list/flow-whatsapp-button-list-row.d.ts +3 -3
- package/lib/{esm/content-fields → content-fields}/whatsapp-button-list/flow-whatsapp-button-list-row.js +16 -14
- package/lib/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js.map +1 -0
- package/lib/{cjs/content-fields → content-fields}/whatsapp-button-list/flow-whatsapp-button-list-section.d.ts +4 -4
- package/lib/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js +41 -0
- package/lib/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/whatsapp-button-list/flow-whatsapp-button-list.d.ts +4 -4
- package/lib/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js +66 -0
- package/lib/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js.map +1 -0
- package/lib/{esm/content-fields → content-fields}/whatsapp-button-list/index.d.ts +3 -3
- package/lib/content-fields/whatsapp-button-list/index.js +12 -0
- package/lib/content-fields/whatsapp-button-list/index.js.map +1 -0
- package/lib/{cjs/filters → filters}/index.d.ts +2 -2
- package/lib/filters/index.js +16 -0
- package/lib/filters/index.js.map +1 -0
- package/lib/{cjs/flow-factory.d.ts → flow-factory.d.ts} +3 -3
- package/lib/flow-factory.js +75 -0
- package/lib/flow-factory.js.map +1 -0
- package/lib/{esm/functions → functions}/index.d.ts +1 -1
- package/lib/{cjs/functions → functions}/index.js +25 -19
- package/lib/functions/index.js.map +1 -0
- package/lib/{cjs/index.d.ts → index.d.ts} +12 -12
- package/lib/{esm/index.js → index.js} +94 -77
- package/lib/index.js.map +1 -0
- package/lib/services/hubtype-queues-api.js +26 -0
- package/lib/services/hubtype-queues-api.js.map +1 -0
- package/lib/structured-output/flow-builder-content.js +16 -0
- package/lib/structured-output/flow-builder-content.js.map +1 -0
- package/lib/{cjs/tracking.d.ts → tracking.d.ts} +2 -2
- package/lib/{cjs/tracking.js → tracking.js} +27 -21
- package/lib/tracking.js.map +1 -0
- package/lib/{esm/types.d.ts → types.d.ts} +5 -5
- package/lib/types.js +14 -0
- package/lib/types.js.map +1 -0
- package/lib/{esm/user-input → user-input}/capture-user-input-api.d.ts +2 -2
- package/lib/{cjs/user-input → user-input}/capture-user-input-api.js +44 -33
- package/lib/user-input/capture-user-input-api.js.map +1 -0
- package/lib/{esm/user-input → user-input}/index.d.ts +2 -2
- package/lib/user-input/index.js +46 -0
- package/lib/user-input/index.js.map +1 -0
- package/lib/{esm/user-input → user-input}/keyword.d.ts +2 -2
- package/lib/{esm/user-input → user-input}/keyword.js +31 -26
- package/lib/user-input/keyword.js.map +1 -0
- package/lib/{cjs/user-input → user-input}/smart-intent.d.ts +2 -2
- package/lib/{cjs/user-input → user-input}/smart-intent.js +36 -32
- package/lib/user-input/smart-intent.js.map +1 -0
- package/lib/{cjs/utils → utils}/ai-agent.d.ts +3 -3
- package/lib/utils/ai-agent.js +33 -0
- package/lib/utils/ai-agent.js.map +1 -0
- package/lib/{cjs/utils → utils}/authentication.js +10 -7
- package/lib/utils/authentication.js.map +1 -0
- package/lib/{cjs/utils → utils}/flow-locale.js +14 -18
- package/lib/utils/flow-locale.js.map +1 -0
- package/lib/{cjs/utils → utils}/get-flow-builder-plugin.d.ts +1 -1
- package/lib/{cjs/utils → utils}/get-flow-builder-plugin.js +4 -4
- package/lib/utils/get-flow-builder-plugin.js.map +1 -0
- package/lib/{cjs/utils → utils}/hubtype-assistant-content.d.ts +1 -2
- package/lib/{cjs/utils → utils}/hubtype-assistant-content.js +57 -54
- package/lib/utils/hubtype-assistant-content.js.map +1 -0
- package/lib/utils/input.js +37 -0
- package/lib/utils/input.js.map +1 -0
- package/lib/{cjs/webview → webview}/contents-context.d.ts +1 -1
- package/lib/webview/contents-context.js +14 -0
- package/lib/webview/contents-context.js.map +1 -0
- package/lib/webview/index.d.ts +3 -0
- package/lib/webview/index.js +11 -0
- package/lib/webview/index.js.map +1 -0
- package/lib/{esm/webview → webview}/types.d.ts +1 -1
- package/lib/webview/types.js +9 -0
- package/lib/webview/types.js.map +1 -0
- package/lib/{cjs/webview → webview}/use-webview-contents.d.ts +1 -1
- package/lib/webview/use-webview-contents.js +90 -0
- package/lib/webview/use-webview-contents.js.map +1 -0
- package/package.json +10 -8
- package/src/content-fields/flow-ai-agent-base.tsx +0 -11
- package/src/content-fields/flow-whatsapp-request-contact-info.tsx +1 -17
- package/src/content-fields/index.ts +2 -2
- package/src/index.ts +5 -5
- package/src/types.ts +6 -6
- package/src/utils/hubtype-assistant-content.ts +0 -14
- package/lib/cjs/action/ai-agent-from-user-input.js.map +0 -1
- package/lib/cjs/action/context.d.ts +0 -11
- package/lib/cjs/action/context.js +0 -17
- package/lib/cjs/action/context.js.map +0 -1
- package/lib/cjs/action/fallback.js.map +0 -1
- package/lib/cjs/action/first-interaction.d.ts +0 -3
- package/lib/cjs/action/first-interaction.js.map +0 -1
- package/lib/cjs/action/get-contents.js +0 -39
- package/lib/cjs/action/get-contents.js.map +0 -1
- package/lib/cjs/action/index.d.ts +0 -25
- package/lib/cjs/action/index.js +0 -90
- package/lib/cjs/action/index.js.map +0 -1
- package/lib/cjs/action/payload.d.ts +0 -3
- package/lib/cjs/action/payload.js.map +0 -1
- package/lib/cjs/api.js +0 -205
- package/lib/cjs/api.js.map +0 -1
- package/lib/cjs/constants.js +0 -19
- package/lib/cjs/constants.js.map +0 -1
- package/lib/cjs/content-fields/content-fields-base.d.ts +0 -20
- package/lib/cjs/content-fields/content-fields-base.js +0 -74
- package/lib/cjs/content-fields/content-fields-base.js.map +0 -1
- package/lib/cjs/content-fields/custom-conditional/custom-conditional-v2-evaluators.d.ts +0 -15
- package/lib/cjs/content-fields/custom-conditional/custom-conditional-v2-evaluators.js +0 -71
- package/lib/cjs/content-fields/custom-conditional/custom-conditional-v2-evaluators.js.map +0 -1
- package/lib/cjs/content-fields/custom-conditional/custom-conditional-v2-resolver.d.ts +0 -9
- package/lib/cjs/content-fields/custom-conditional/custom-conditional-v2-resolver.js.map +0 -1
- package/lib/cjs/content-fields/custom-conditional/flow-custom-condition-v2.js +0 -79
- package/lib/cjs/content-fields/custom-conditional/flow-custom-condition-v2.js.map +0 -1
- package/lib/cjs/content-fields/flow-ai-agent-base.d.ts +0 -25
- package/lib/cjs/content-fields/flow-ai-agent-base.js +0 -97
- package/lib/cjs/content-fields/flow-ai-agent-base.js.map +0 -1
- package/lib/cjs/content-fields/flow-ai-agent-router.d.ts +0 -21
- package/lib/cjs/content-fields/flow-ai-agent-router.js +0 -125
- package/lib/cjs/content-fields/flow-ai-agent-router.js.map +0 -1
- package/lib/cjs/content-fields/flow-ai-agent.js.map +0 -1
- package/lib/cjs/content-fields/flow-bot-action.d.ts +0 -14
- package/lib/cjs/content-fields/flow-bot-action.js +0 -45
- package/lib/cjs/content-fields/flow-bot-action.js.map +0 -1
- package/lib/cjs/content-fields/flow-button.d.ts +0 -31
- package/lib/cjs/content-fields/flow-button.js +0 -86
- package/lib/cjs/content-fields/flow-button.js.map +0 -1
- package/lib/cjs/content-fields/flow-capture-user-input.js +0 -45
- package/lib/cjs/content-fields/flow-capture-user-input.js.map +0 -1
- package/lib/cjs/content-fields/flow-carousel.d.ts +0 -22
- package/lib/cjs/content-fields/flow-carousel.js +0 -152
- package/lib/cjs/content-fields/flow-carousel.js.map +0 -1
- package/lib/cjs/content-fields/flow-channel-conditional.d.ts +0 -14
- package/lib/cjs/content-fields/flow-channel-conditional.js +0 -57
- package/lib/cjs/content-fields/flow-channel-conditional.js.map +0 -1
- package/lib/cjs/content-fields/flow-country-conditional.js +0 -59
- package/lib/cjs/content-fields/flow-country-conditional.js.map +0 -1
- package/lib/cjs/content-fields/flow-custom-conditional.js +0 -89
- package/lib/cjs/content-fields/flow-custom-conditional.js.map +0 -1
- package/lib/cjs/content-fields/flow-element.js +0 -50
- package/lib/cjs/content-fields/flow-element.js.map +0 -1
- package/lib/cjs/content-fields/flow-go-to-flow.d.ts +0 -13
- package/lib/cjs/content-fields/flow-go-to-flow.js +0 -51
- package/lib/cjs/content-fields/flow-go-to-flow.js.map +0 -1
- package/lib/cjs/content-fields/flow-handoff.js.map +0 -1
- package/lib/cjs/content-fields/flow-image.js +0 -33
- package/lib/cjs/content-fields/flow-image.js.map +0 -1
- package/lib/cjs/content-fields/flow-queue-status-conditional.js.map +0 -1
- package/lib/cjs/content-fields/flow-rating.d.ts +0 -15
- package/lib/cjs/content-fields/flow-rating.js +0 -66
- package/lib/cjs/content-fields/flow-rating.js.map +0 -1
- package/lib/cjs/content-fields/flow-text.js +0 -60
- package/lib/cjs/content-fields/flow-text.js.map +0 -1
- package/lib/cjs/content-fields/flow-video.d.ts +0 -10
- package/lib/cjs/content-fields/flow-video.js +0 -33
- package/lib/cjs/content-fields/flow-video.js.map +0 -1
- package/lib/cjs/content-fields/flow-webview.d.ts +0 -16
- package/lib/cjs/content-fields/flow-webview.js.map +0 -1
- package/lib/cjs/content-fields/flow-whatsapp-cta-url-button.d.ts +0 -21
- package/lib/cjs/content-fields/flow-whatsapp-cta-url-button.js +0 -92
- package/lib/cjs/content-fields/flow-whatsapp-cta-url-button.js.map +0 -1
- package/lib/cjs/content-fields/flow-whatsapp-request-contact-info.d.ts +0 -11
- package/lib/cjs/content-fields/flow-whatsapp-request-contact-info.js +0 -45
- package/lib/cjs/content-fields/flow-whatsapp-request-contact-info.js.map +0 -1
- package/lib/cjs/content-fields/flow-whatsapp-template.js +0 -264
- package/lib/cjs/content-fields/flow-whatsapp-template.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/ai-agent-router.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/ai-agent-router.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/ai-agent.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/ai-agent.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/bot-action.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/bot-action.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/button.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/button.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/capture-user-input.js +0 -12
- package/lib/cjs/content-fields/hubtype-fields/capture-user-input.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/carousel.d.ts +0 -17
- package/lib/cjs/content-fields/hubtype-fields/carousel.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/carousel.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/channel-conditional.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/channel-conditional.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/common.d.ts +0 -83
- package/lib/cjs/content-fields/hubtype-fields/common.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/common.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/country-conditional.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/country-conditional.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/custom-conditional-v2.d.ts +0 -56
- package/lib/cjs/content-fields/hubtype-fields/custom-conditional-v2.js +0 -36
- package/lib/cjs/content-fields/hubtype-fields/custom-conditional-v2.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/custom-conditional.d.ts +0 -11
- package/lib/cjs/content-fields/hubtype-fields/custom-conditional.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/custom-conditional.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/fallback.d.ts +0 -9
- package/lib/cjs/content-fields/hubtype-fields/fallback.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/fallback.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/function.d.ts +0 -30
- package/lib/cjs/content-fields/hubtype-fields/function.js +0 -11
- package/lib/cjs/content-fields/hubtype-fields/function.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/go-to-flow.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/go-to-flow.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/handoff.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/handoff.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/image.d.ts +0 -8
- package/lib/cjs/content-fields/hubtype-fields/image.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/image.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/index.d.ts +0 -27
- package/lib/cjs/content-fields/hubtype-fields/index.js +0 -31
- package/lib/cjs/content-fields/hubtype-fields/index.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/keyword.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/keyword.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/node-types.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/nodes.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/nodes.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/payload.d.ts +0 -8
- package/lib/cjs/content-fields/hubtype-fields/payload.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/payload.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/queue-status-conditional.d.ts +0 -25
- package/lib/cjs/content-fields/hubtype-fields/queue-status-conditional.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/queue-status-conditional.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/rating.d.ts +0 -23
- package/lib/cjs/content-fields/hubtype-fields/rating.js +0 -9
- package/lib/cjs/content-fields/hubtype-fields/rating.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/smart-intent.d.ts +0 -12
- package/lib/cjs/content-fields/hubtype-fields/smart-intent.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/smart-intent.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/text.d.ts +0 -11
- package/lib/cjs/content-fields/hubtype-fields/text.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/text.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/url.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/url.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/video.d.ts +0 -8
- package/lib/cjs/content-fields/hubtype-fields/video.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/video.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/webview.d.ts +0 -17
- package/lib/cjs/content-fields/hubtype-fields/webview.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/webview.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/whatsapp-button-list.d.ts +0 -21
- package/lib/cjs/content-fields/hubtype-fields/whatsapp-button-list.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/whatsapp-button-list.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/whatsapp-cta-url-button.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/whatsapp-cta-url-button.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/whatsapp-request-contact-info.js +0 -3
- package/lib/cjs/content-fields/hubtype-fields/whatsapp-request-contact-info.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/whatsapp-template.js +0 -9
- package/lib/cjs/content-fields/hubtype-fields/whatsapp-template.js.map +0 -1
- package/lib/cjs/content-fields/index.d.ts +0 -25
- package/lib/cjs/content-fields/index.js +0 -52
- package/lib/cjs/content-fields/index.js.map +0 -1
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js +0 -41
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js.map +0 -1
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js +0 -36
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js.map +0 -1
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list.d.ts +0 -14
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js +0 -46
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js.map +0 -1
- package/lib/cjs/content-fields/whatsapp-button-list/index.d.ts +0 -3
- package/lib/cjs/content-fields/whatsapp-button-list/index.js +0 -10
- package/lib/cjs/content-fields/whatsapp-button-list/index.js.map +0 -1
- package/lib/cjs/filters/index.js +0 -17
- package/lib/cjs/filters/index.js.map +0 -1
- package/lib/cjs/flow-factory.js +0 -69
- package/lib/cjs/flow-factory.js.map +0 -1
- package/lib/cjs/functions/index.d.ts +0 -11
- package/lib/cjs/functions/index.js.map +0 -1
- package/lib/cjs/index.js +0 -178
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/services/hubtype-queues-api.js +0 -26
- package/lib/cjs/services/hubtype-queues-api.js.map +0 -1
- package/lib/cjs/structured-output/flow-builder-content.js +0 -15
- package/lib/cjs/structured-output/flow-builder-content.js.map +0 -1
- package/lib/cjs/tracking.js.map +0 -1
- package/lib/cjs/types.d.ts +0 -62
- package/lib/cjs/types.js +0 -14
- package/lib/cjs/types.js.map +0 -1
- package/lib/cjs/user-input/capture-user-input-api.d.ts +0 -21
- package/lib/cjs/user-input/capture-user-input-api.js.map +0 -1
- package/lib/cjs/user-input/index.d.ts +0 -4
- package/lib/cjs/user-input/index.js +0 -37
- package/lib/cjs/user-input/index.js.map +0 -1
- package/lib/cjs/user-input/keyword.d.ts +0 -27
- package/lib/cjs/user-input/keyword.js +0 -84
- package/lib/cjs/user-input/keyword.js.map +0 -1
- package/lib/cjs/user-input/smart-intent.js.map +0 -1
- package/lib/cjs/utils/ai-agent.js +0 -28
- package/lib/cjs/utils/ai-agent.js.map +0 -1
- package/lib/cjs/utils/authentication.js.map +0 -1
- package/lib/cjs/utils/flow-locale.js.map +0 -1
- package/lib/cjs/utils/get-flow-builder-plugin.js.map +0 -1
- package/lib/cjs/utils/hubtype-assistant-content.js.map +0 -1
- package/lib/cjs/utils/input.js +0 -35
- package/lib/cjs/utils/input.js.map +0 -1
- package/lib/cjs/webview/contents-context.js +0 -12
- package/lib/cjs/webview/contents-context.js.map +0 -1
- package/lib/cjs/webview/index.d.ts +0 -3
- package/lib/cjs/webview/index.js +0 -10
- package/lib/cjs/webview/index.js.map +0 -1
- package/lib/cjs/webview/types.d.ts +0 -47
- package/lib/cjs/webview/types.js +0 -9
- package/lib/cjs/webview/types.js.map +0 -1
- package/lib/cjs/webview/use-webview-contents.js +0 -83
- package/lib/cjs/webview/use-webview-contents.js.map +0 -1
- package/lib/esm/action/ai-agent-from-user-input.d.ts +0 -3
- package/lib/esm/action/ai-agent-from-user-input.js +0 -32
- package/lib/esm/action/ai-agent-from-user-input.js.map +0 -1
- package/lib/esm/action/context.js +0 -17
- package/lib/esm/action/context.js.map +0 -1
- package/lib/esm/action/fallback.d.ts +0 -3
- package/lib/esm/action/fallback.js +0 -36
- package/lib/esm/action/fallback.js.map +0 -1
- package/lib/esm/action/first-interaction.d.ts +0 -3
- package/lib/esm/action/first-interaction.js +0 -88
- package/lib/esm/action/first-interaction.js.map +0 -1
- package/lib/esm/action/get-contents.d.ts +0 -3
- package/lib/esm/action/get-contents.js +0 -39
- package/lib/esm/action/get-contents.js.map +0 -1
- package/lib/esm/action/index.js.map +0 -1
- package/lib/esm/action/payload.d.ts +0 -3
- package/lib/esm/action/payload.js +0 -74
- package/lib/esm/action/payload.js.map +0 -1
- package/lib/esm/api.d.ts +0 -40
- package/lib/esm/api.js.map +0 -1
- package/lib/esm/constants.d.ts +0 -13
- package/lib/esm/constants.js +0 -19
- package/lib/esm/constants.js.map +0 -1
- package/lib/esm/content-fields/content-fields-base.js +0 -74
- package/lib/esm/content-fields/content-fields-base.js.map +0 -1
- package/lib/esm/content-fields/custom-conditional/custom-conditional-v2-evaluators.js +0 -71
- package/lib/esm/content-fields/custom-conditional/custom-conditional-v2-evaluators.js.map +0 -1
- package/lib/esm/content-fields/custom-conditional/custom-conditional-v2-resolver.js +0 -58
- package/lib/esm/content-fields/custom-conditional/custom-conditional-v2-resolver.js.map +0 -1
- package/lib/esm/content-fields/custom-conditional/flow-custom-condition-v2.d.ts +0 -17
- package/lib/esm/content-fields/custom-conditional/flow-custom-condition-v2.js +0 -79
- package/lib/esm/content-fields/custom-conditional/flow-custom-condition-v2.js.map +0 -1
- package/lib/esm/content-fields/flow-ai-agent-base.js +0 -97
- package/lib/esm/content-fields/flow-ai-agent-base.js.map +0 -1
- package/lib/esm/content-fields/flow-ai-agent-router.js.map +0 -1
- package/lib/esm/content-fields/flow-ai-agent.d.ts +0 -17
- package/lib/esm/content-fields/flow-ai-agent.js +0 -64
- package/lib/esm/content-fields/flow-ai-agent.js.map +0 -1
- package/lib/esm/content-fields/flow-bot-action.js.map +0 -1
- package/lib/esm/content-fields/flow-button.js.map +0 -1
- package/lib/esm/content-fields/flow-capture-user-input.d.ts +0 -14
- package/lib/esm/content-fields/flow-capture-user-input.js +0 -45
- package/lib/esm/content-fields/flow-capture-user-input.js.map +0 -1
- package/lib/esm/content-fields/flow-carousel.js +0 -152
- package/lib/esm/content-fields/flow-carousel.js.map +0 -1
- package/lib/esm/content-fields/flow-channel-conditional.js.map +0 -1
- package/lib/esm/content-fields/flow-country-conditional.d.ts +0 -13
- package/lib/esm/content-fields/flow-country-conditional.js.map +0 -1
- package/lib/esm/content-fields/flow-custom-conditional.d.ts +0 -17
- package/lib/esm/content-fields/flow-custom-conditional.js.map +0 -1
- package/lib/esm/content-fields/flow-element.d.ts +0 -22
- package/lib/esm/content-fields/flow-element.js +0 -50
- package/lib/esm/content-fields/flow-element.js.map +0 -1
- package/lib/esm/content-fields/flow-go-to-flow.js.map +0 -1
- package/lib/esm/content-fields/flow-handoff.d.ts +0 -17
- package/lib/esm/content-fields/flow-handoff.js +0 -68
- package/lib/esm/content-fields/flow-handoff.js.map +0 -1
- package/lib/esm/content-fields/flow-image.d.ts +0 -10
- package/lib/esm/content-fields/flow-image.js +0 -33
- package/lib/esm/content-fields/flow-image.js.map +0 -1
- package/lib/esm/content-fields/flow-queue-status-conditional.d.ts +0 -30
- package/lib/esm/content-fields/flow-queue-status-conditional.js +0 -95
- package/lib/esm/content-fields/flow-queue-status-conditional.js.map +0 -1
- package/lib/esm/content-fields/flow-rating.js +0 -66
- package/lib/esm/content-fields/flow-rating.js.map +0 -1
- package/lib/esm/content-fields/flow-text.d.ts +0 -15
- package/lib/esm/content-fields/flow-text.js +0 -60
- package/lib/esm/content-fields/flow-text.js.map +0 -1
- package/lib/esm/content-fields/flow-video.js +0 -33
- package/lib/esm/content-fields/flow-video.js.map +0 -1
- package/lib/esm/content-fields/flow-webview.js +0 -78
- package/lib/esm/content-fields/flow-webview.js.map +0 -1
- package/lib/esm/content-fields/flow-whatsapp-cta-url-button.js +0 -92
- package/lib/esm/content-fields/flow-whatsapp-cta-url-button.js.map +0 -1
- package/lib/esm/content-fields/flow-whatsapp-request-contact-info.js +0 -45
- package/lib/esm/content-fields/flow-whatsapp-request-contact-info.js.map +0 -1
- package/lib/esm/content-fields/flow-whatsapp-template.d.ts +0 -37
- package/lib/esm/content-fields/flow-whatsapp-template.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/ai-agent-router.d.ts +0 -21
- package/lib/esm/content-fields/hubtype-fields/ai-agent-router.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/ai-agent-router.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/ai-agent.d.ts +0 -25
- package/lib/esm/content-fields/hubtype-fields/ai-agent.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/ai-agent.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/bot-action.d.ts +0 -10
- package/lib/esm/content-fields/hubtype-fields/bot-action.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/bot-action.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/button.d.ts +0 -8
- package/lib/esm/content-fields/hubtype-fields/button.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/button.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/capture-user-input.d.ts +0 -19
- package/lib/esm/content-fields/hubtype-fields/capture-user-input.js +0 -12
- package/lib/esm/content-fields/hubtype-fields/capture-user-input.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/carousel.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/carousel.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/channel-conditional.d.ts +0 -10
- package/lib/esm/content-fields/hubtype-fields/channel-conditional.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/channel-conditional.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/common.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/common.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/country-conditional.d.ts +0 -10
- package/lib/esm/content-fields/hubtype-fields/country-conditional.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/country-conditional.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/custom-conditional-v2.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/custom-conditional.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/custom-conditional.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/fallback.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/fallback.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/function.js +0 -11
- package/lib/esm/content-fields/hubtype-fields/function.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/go-to-flow.d.ts +0 -9
- package/lib/esm/content-fields/hubtype-fields/go-to-flow.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/go-to-flow.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/handoff.d.ts +0 -11
- package/lib/esm/content-fields/hubtype-fields/handoff.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/handoff.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/image.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/image.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/index.d.ts +0 -27
- package/lib/esm/content-fields/hubtype-fields/index.js +0 -31
- package/lib/esm/content-fields/hubtype-fields/index.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/keyword.d.ts +0 -9
- package/lib/esm/content-fields/hubtype-fields/keyword.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/keyword.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/node-types.d.ts +0 -31
- package/lib/esm/content-fields/hubtype-fields/node-types.js +0 -38
- package/lib/esm/content-fields/hubtype-fields/node-types.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/nodes.d.ts +0 -26
- package/lib/esm/content-fields/hubtype-fields/nodes.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/nodes.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/payload.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/payload.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/queue-status-conditional.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/queue-status-conditional.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/rating.js +0 -9
- package/lib/esm/content-fields/hubtype-fields/rating.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/smart-intent.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/smart-intent.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/text.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/text.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/url.d.ts +0 -8
- package/lib/esm/content-fields/hubtype-fields/url.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/url.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/video.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/video.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/webview.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/webview.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/whatsapp-button-list.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/whatsapp-button-list.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/whatsapp-cta-url-button.d.ts +0 -17
- package/lib/esm/content-fields/hubtype-fields/whatsapp-cta-url-button.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/whatsapp-cta-url-button.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/whatsapp-request-contact-info.d.ts +0 -8
- package/lib/esm/content-fields/hubtype-fields/whatsapp-request-contact-info.js +0 -3
- package/lib/esm/content-fields/hubtype-fields/whatsapp-request-contact-info.js.map +0 -1
- package/lib/esm/content-fields/hubtype-fields/whatsapp-template.d.ts +0 -96
- package/lib/esm/content-fields/hubtype-fields/whatsapp-template.js +0 -9
- package/lib/esm/content-fields/hubtype-fields/whatsapp-template.js.map +0 -1
- package/lib/esm/content-fields/index.d.ts +0 -25
- package/lib/esm/content-fields/index.js +0 -52
- package/lib/esm/content-fields/index.js.map +0 -1
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.d.ts +0 -14
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js.map +0 -1
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.d.ts +0 -13
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js +0 -36
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js.map +0 -1
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js +0 -46
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js.map +0 -1
- package/lib/esm/content-fields/whatsapp-button-list/index.js +0 -10
- package/lib/esm/content-fields/whatsapp-button-list/index.js.map +0 -1
- package/lib/esm/filters/index.d.ts +0 -12
- package/lib/esm/filters/index.js +0 -17
- package/lib/esm/filters/index.js.map +0 -1
- package/lib/esm/flow-factory.d.ts +0 -12
- package/lib/esm/flow-factory.js +0 -69
- package/lib/esm/flow-factory.js.map +0 -1
- package/lib/esm/functions/index.js +0 -49
- package/lib/esm/functions/index.js.map +0 -1
- package/lib/esm/index.d.ts +0 -45
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/services/hubtype-queues-api.d.ts +0 -14
- package/lib/esm/services/hubtype-queues-api.js +0 -26
- package/lib/esm/services/hubtype-queues-api.js.map +0 -1
- package/lib/esm/structured-output/flow-builder-content.d.ts +0 -13
- package/lib/esm/structured-output/flow-builder-content.js +0 -15
- package/lib/esm/structured-output/flow-builder-content.js.map +0 -1
- package/lib/esm/tracking.d.ts +0 -16
- package/lib/esm/tracking.js +0 -71
- package/lib/esm/tracking.js.map +0 -1
- package/lib/esm/types.js +0 -14
- package/lib/esm/types.js.map +0 -1
- package/lib/esm/user-input/capture-user-input-api.js +0 -88
- package/lib/esm/user-input/capture-user-input-api.js.map +0 -1
- package/lib/esm/user-input/index.js +0 -37
- package/lib/esm/user-input/index.js.map +0 -1
- package/lib/esm/user-input/keyword.js.map +0 -1
- package/lib/esm/user-input/smart-intent.d.ts +0 -24
- package/lib/esm/user-input/smart-intent.js +0 -89
- package/lib/esm/user-input/smart-intent.js.map +0 -1
- package/lib/esm/utils/ai-agent.d.ts +0 -11
- package/lib/esm/utils/ai-agent.js +0 -28
- package/lib/esm/utils/ai-agent.js.map +0 -1
- package/lib/esm/utils/authentication.d.ts +0 -2
- package/lib/esm/utils/authentication.js +0 -21
- package/lib/esm/utils/authentication.js.map +0 -1
- package/lib/esm/utils/flow-locale.d.ts +0 -22
- package/lib/esm/utils/flow-locale.js +0 -79
- package/lib/esm/utils/flow-locale.js.map +0 -1
- package/lib/esm/utils/get-flow-builder-plugin.d.ts +0 -3
- package/lib/esm/utils/get-flow-builder-plugin.js +0 -16
- package/lib/esm/utils/get-flow-builder-plugin.js.map +0 -1
- package/lib/esm/utils/hubtype-assistant-content.d.ts +0 -13
- package/lib/esm/utils/hubtype-assistant-content.js +0 -184
- package/lib/esm/utils/hubtype-assistant-content.js.map +0 -1
- package/lib/esm/utils/input.d.ts +0 -6
- package/lib/esm/utils/input.js +0 -35
- package/lib/esm/utils/input.js.map +0 -1
- package/lib/esm/webview/contents-context.d.ts +0 -2
- package/lib/esm/webview/contents-context.js +0 -12
- package/lib/esm/webview/contents-context.js.map +0 -1
- package/lib/esm/webview/index.d.ts +0 -3
- package/lib/esm/webview/index.js +0 -10
- package/lib/esm/webview/index.js.map +0 -1
- package/lib/esm/webview/types.js +0 -9
- package/lib/esm/webview/types.js.map +0 -1
- package/lib/esm/webview/use-webview-contents.d.ts +0 -2
- package/lib/esm/webview/use-webview-contents.js +0 -83
- package/lib/esm/webview/use-webview-contents.js.map +0 -1
- /package/lib/{cjs/constants.d.ts → constants.d.ts} +0 -0
- /package/lib/{cjs/content-fields → content-fields}/hubtype-fields/node-types.d.ts +0 -0
- /package/lib/{cjs/services → services}/hubtype-queues-api.d.ts +0 -0
- /package/lib/{cjs/structured-output → structured-output}/flow-builder-content.d.ts +0 -0
- /package/lib/{cjs/utils → utils}/authentication.d.ts +0 -0
- /package/lib/{cjs/utils → utils}/flow-locale.d.ts +0 -0
- /package/lib/{cjs/utils → utils}/input.d.ts +0 -0
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BooleanConditionOperator = exports.NumberConditionOperator = exports.StringConditionOperator = exports.VariableFormat = void 0;
|
|
4
|
-
var VariableFormat;
|
|
5
|
-
(function (VariableFormat) {
|
|
1
|
+
var custom_conditional_v2_VariableFormat = /*#__PURE__*/ function(VariableFormat) {
|
|
6
2
|
VariableFormat["Boolean"] = "boolean";
|
|
7
3
|
VariableFormat["Number"] = "number";
|
|
8
4
|
VariableFormat["String"] = "string";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
return VariableFormat;
|
|
6
|
+
}({});
|
|
7
|
+
var custom_conditional_v2_StringConditionOperator = /*#__PURE__*/ function(StringConditionOperator) {
|
|
12
8
|
StringConditionOperator["Contains"] = "contains";
|
|
13
9
|
StringConditionOperator["NotContains"] = "notContains";
|
|
14
10
|
StringConditionOperator["EqualsTo"] = "equalsTo";
|
|
@@ -17,9 +13,9 @@ var StringConditionOperator;
|
|
|
17
13
|
StringConditionOperator["NotStartsWith"] = "notStartsWith";
|
|
18
14
|
StringConditionOperator["EndsWith"] = "endsWith";
|
|
19
15
|
StringConditionOperator["NotEndsWith"] = "notEndsWith";
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
return StringConditionOperator;
|
|
17
|
+
}({});
|
|
18
|
+
var custom_conditional_v2_NumberConditionOperator = /*#__PURE__*/ function(NumberConditionOperator) {
|
|
23
19
|
NumberConditionOperator["EqualsTo"] = "equalsTo";
|
|
24
20
|
NumberConditionOperator["NotEqualsTo"] = "notEqualsTo";
|
|
25
21
|
NumberConditionOperator["GreaterThan"] = "greaterThan";
|
|
@@ -28,9 +24,13 @@ var NumberConditionOperator;
|
|
|
28
24
|
NumberConditionOperator["LessThanOrEqualTo"] = "lessThanOrEqualTo";
|
|
29
25
|
NumberConditionOperator["Between"] = "between";
|
|
30
26
|
NumberConditionOperator["NotBetween"] = "notBetween";
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
return NumberConditionOperator;
|
|
28
|
+
}({});
|
|
29
|
+
var custom_conditional_v2_BooleanConditionOperator = /*#__PURE__*/ function(BooleanConditionOperator) {
|
|
34
30
|
BooleanConditionOperator["IsTruthy"] = "isTruthy";
|
|
35
|
-
|
|
31
|
+
return BooleanConditionOperator;
|
|
32
|
+
}({});
|
|
33
|
+
|
|
34
|
+
export { custom_conditional_v2_BooleanConditionOperator as BooleanConditionOperator, custom_conditional_v2_NumberConditionOperator as NumberConditionOperator, custom_conditional_v2_StringConditionOperator as StringConditionOperator, custom_conditional_v2_VariableFormat as VariableFormat };
|
|
35
|
+
|
|
36
36
|
//# sourceMappingURL=custom-conditional-v2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/custom-conditional-v2.js","sources":["../../../src/content-fields/hubtype-fields/custom-conditional-v2.ts"],"sourcesContent":["import type { HtBaseNode, HtNodeLink } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport enum VariableFormat {\n Boolean = 'boolean',\n Number = 'number',\n String = 'string',\n}\n\nexport enum StringConditionOperator {\n Contains = 'contains',\n NotContains = 'notContains',\n EqualsTo = 'equalsTo',\n NotEqualsTo = 'notEqualsTo',\n StartsWith = 'startsWith',\n NotStartsWith = 'notStartsWith',\n EndsWith = 'endsWith',\n NotEndsWith = 'notEndsWith',\n}\n\nexport interface HtStringCondition {\n operator: StringConditionOperator\n value?: string\n target?: HtNodeLink\n}\n\nexport enum NumberConditionOperator {\n EqualsTo = 'equalsTo',\n NotEqualsTo = 'notEqualsTo',\n GreaterThan = 'greaterThan',\n LessThan = 'lessThan',\n GreaterThanOrEqualTo = 'greaterThanOrEqualTo',\n LessThanOrEqualTo = 'lessThanOrEqualTo',\n Between = 'between',\n NotBetween = 'notBetween',\n}\n\nexport interface HtNumberCondition {\n operator: NumberConditionOperator\n value?: number\n min?: number\n max?: number\n target?: HtNodeLink\n}\n\nexport enum BooleanConditionOperator {\n IsTruthy = 'isTruthy',\n}\n\nexport interface HtBooleanCondition {\n operator: BooleanConditionOperator\n target?: HtNodeLink\n}\n\nexport type HtCondition =\n | HtStringCondition\n | HtNumberCondition\n | HtBooleanCondition\n\nexport interface HtCustomConditionalV2Node extends HtBaseNode {\n type: HtNodeWithContentType.CUSTOM_CONDITION\n content: {\n type: VariableFormat\n key_path: string\n conditions: HtCondition[]\n default_target: HtNodeLink\n }\n}\n"],"names":["VariableFormat","StringConditionOperator","NumberConditionOperator","BooleanConditionOperator"],"mappings":"AAGO,IAAKA,oCAAcA,0BAAdA;;;;WAAAA;MAIX;AAEM,IAAKC,6CAAuBA,0BAAvBA;;;;;;;;;WAAAA;MASX;AAQM,IAAKC,6CAAuBA,0BAAvBA;;;;;;;;;WAAAA;MASX;AAUM,IAAKC,8CAAwBA,0BAAxBA;;WAAAA;MAEX"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HtBaseNode } from './common';
|
|
2
|
-
import type { HtFunctionArguments, HtFunctionResult } from './function';
|
|
3
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common.js';
|
|
2
|
+
import type { HtFunctionArguments, HtFunctionResult } from './function.js';
|
|
3
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
4
4
|
export interface HtCustomConditionalNode extends HtBaseNode {
|
|
5
5
|
type: HtNodeWithContentType.FUNCTION;
|
|
6
6
|
content: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/custom-conditional.js","sources":["../../../src/content-fields/hubtype-fields/custom-conditional.ts"],"sourcesContent":["import type { HtBaseNode } from './common'\nimport type { HtFunctionArguments, HtFunctionResult } from './function'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtCustomConditionalNode extends HtBaseNode {\n type: HtNodeWithContentType.FUNCTION\n content: {\n action: string //'check-bot-variable'\n arguments: HtFunctionArguments[]\n result_mapping: HtFunctionResult[]\n }\n}\n"],"names":[],"mappings":"AAWC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtFallbackNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.FALLBACK;
|
|
5
5
|
content: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/fallback.js","sources":["../../../src/content-fields/hubtype-fields/fallback.ts"],"sourcesContent":["import type { HtBaseNode, HtNodeLink } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtFallbackNode extends HtBaseNode {\n type: HtNodeWithContentType.FALLBACK\n content: {\n first_message?: HtNodeLink\n second_message?: HtNodeLink\n }\n}\n"],"names":[],"mappings":"AASC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export declare enum HtArgumentType {
|
|
4
4
|
BOOLEAN = "boolean",
|
|
5
5
|
NUMBER = "number",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var function_HtArgumentType = /*#__PURE__*/ function(HtArgumentType) {
|
|
2
|
+
HtArgumentType["BOOLEAN"] = "boolean";
|
|
3
|
+
HtArgumentType["NUMBER"] = "number";
|
|
4
|
+
HtArgumentType["STRING"] = "string";
|
|
5
|
+
HtArgumentType["JSON"] = "json";
|
|
6
|
+
return HtArgumentType;
|
|
7
|
+
}({});
|
|
8
|
+
|
|
9
|
+
export { function_HtArgumentType as HtArgumentType };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/function.js","sources":["../../../src/content-fields/hubtype-fields/function.ts"],"sourcesContent":["import type { HtBaseNode, HtNodeLink } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport enum HtArgumentType {\n BOOLEAN = 'boolean',\n NUMBER = 'number',\n STRING = 'string',\n JSON = 'json',\n}\n\nexport interface HtFunctionArgument {\n type: HtArgumentType\n name: string\n value: string\n}\n\nexport interface HtFunctionArgumentLocale {\n locale: string\n values: HtFunctionArgument[]\n}\n\nexport interface HtFunctionResult {\n result: string | boolean | number\n target?: HtNodeLink\n}\n\nexport type HtFunctionArguments = HtFunctionArgumentLocale | HtFunctionArgument\n\nexport interface HtFunctionNode extends HtBaseNode {\n type: HtNodeWithContentType.FUNCTION\n content: {\n action: string\n arguments: HtFunctionArguments[]\n result_mapping: HtFunctionResult[]\n }\n}\n"],"names":["HtArgumentType"],"mappings":"AAGO,IAAKA,uBAAcA,0BAAdA;;;;;WAAAA;MAKX"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtGoToFlow extends HtBaseNode {
|
|
4
4
|
id: string;
|
|
5
5
|
type: HtNodeWithContentType.GO_TO_FLOW;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/go-to-flow.js","sources":["../../../src/content-fields/hubtype-fields/go-to-flow.ts"],"sourcesContent":["import type { HtBaseNode } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtGoToFlow extends HtBaseNode {\n id: string\n type: HtNodeWithContentType.GO_TO_FLOW\n content: {\n flow_id: string\n }\n}\n"],"names":[],"mappings":"AASC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtPayloadLocale, HtQueueLocale } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtPayloadLocale, HtQueueLocale } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtHandoffNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.HANDOFF;
|
|
5
5
|
content: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/handoff.js","sources":["../../../src/content-fields/hubtype-fields/handoff.ts"],"sourcesContent":["import type { HtBaseNode, HtPayloadLocale, HtQueueLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtHandoffNode extends HtBaseNode {\n type: HtNodeWithContentType.HANDOFF\n content: {\n queue: HtQueueLocale[]\n payload: HtPayloadLocale[]\n has_auto_assign: boolean\n has_queue_position_changed_notifications_enabled: boolean\n }\n}\n"],"names":[],"mappings":"AAWC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtMediaFileLocale } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtMediaFileLocale } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtImageNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.IMAGE;
|
|
5
5
|
content: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/image.js","sources":["../../../src/content-fields/hubtype-fields/image.ts"],"sourcesContent":["import type { HtBaseNode, HtMediaFileLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtImageNode extends HtBaseNode {\n type: HtNodeWithContentType.IMAGE\n content: {\n image: HtMediaFileLocale[]\n }\n}\n"],"names":[],"mappings":"AAQC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from './ai-agent.js';
|
|
2
|
+
export * from './ai-agent-router.js';
|
|
3
|
+
export * from './bot-action.js';
|
|
4
|
+
export * from './button.js';
|
|
5
|
+
export * from './capture-user-input.js';
|
|
6
|
+
export * from './carousel.js';
|
|
7
|
+
export * from './common.js';
|
|
8
|
+
export * from './custom-conditional-v2.js';
|
|
9
|
+
export * from './fallback.js';
|
|
10
|
+
export * from './function.js';
|
|
11
|
+
export * from './go-to-flow.js';
|
|
12
|
+
export * from './handoff.js';
|
|
13
|
+
export * from './image.js';
|
|
14
|
+
export * from './keyword.js';
|
|
15
|
+
export * from './node-types.js';
|
|
16
|
+
export * from './nodes.js';
|
|
17
|
+
export * from './payload.js';
|
|
18
|
+
export * from './rating.js';
|
|
19
|
+
export * from './smart-intent.js';
|
|
20
|
+
export * from './text.js';
|
|
21
|
+
export * from './url.js';
|
|
22
|
+
export * from './video.js';
|
|
23
|
+
export * from './webview.js';
|
|
24
|
+
export * from './whatsapp-button-list.js';
|
|
25
|
+
export * from './whatsapp-cta-url-button.js';
|
|
26
|
+
export * from './whatsapp-request-contact-info.js';
|
|
27
|
+
export * from './whatsapp-template.js';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export * from "./ai-agent.js";
|
|
2
|
+
export * from "./ai-agent-router.js";
|
|
3
|
+
export * from "./bot-action.js";
|
|
4
|
+
export * from "./button.js";
|
|
5
|
+
export * from "./capture-user-input.js";
|
|
6
|
+
export * from "./carousel.js";
|
|
7
|
+
export * from "./common.js";
|
|
8
|
+
export * from "./custom-conditional-v2.js";
|
|
9
|
+
export * from "./fallback.js";
|
|
10
|
+
export * from "./function.js";
|
|
11
|
+
export * from "./go-to-flow.js";
|
|
12
|
+
export * from "./handoff.js";
|
|
13
|
+
export * from "./image.js";
|
|
14
|
+
export * from "./keyword.js";
|
|
15
|
+
export * from "./node-types.js";
|
|
16
|
+
export * from "./nodes.js";
|
|
17
|
+
export * from "./payload.js";
|
|
18
|
+
export * from "./rating.js";
|
|
19
|
+
export * from "./smart-intent.js";
|
|
20
|
+
export * from "./text.js";
|
|
21
|
+
export * from "./url.js";
|
|
22
|
+
export * from "./video.js";
|
|
23
|
+
export * from "./webview.js";
|
|
24
|
+
export * from "./whatsapp-button-list.js";
|
|
25
|
+
export * from "./whatsapp-cta-url-button.js";
|
|
26
|
+
export * from "./whatsapp-request-contact-info.js";
|
|
27
|
+
export * from "./whatsapp-template.js";
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/index.js","sources":["../../../src/content-fields/hubtype-fields/index.ts"],"sourcesContent":["export * from './ai-agent'\nexport * from './ai-agent-router'\nexport * from './bot-action'\nexport * from './button'\nexport * from './capture-user-input'\nexport * from './carousel'\nexport * from './common'\nexport * from './custom-conditional-v2'\nexport * from './fallback'\nexport * from './function'\nexport * from './go-to-flow'\nexport * from './handoff'\nexport * from './image'\nexport * from './keyword'\nexport * from './node-types'\nexport * from './nodes'\nexport * from './payload'\nexport * from './rating'\nexport * from './smart-intent'\nexport * from './text'\nexport * from './url'\nexport * from './video'\nexport * from './webview'\nexport * from './whatsapp-button-list'\nexport * from './whatsapp-cta-url-button'\nexport * from './whatsapp-request-contact-info'\nexport * from './whatsapp-template'\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAA0B;AACO;AACL;AACJ;AACY;AACV;AACF;AACe;AACb;AACA;AACE;AACH;AACF;AACE;AACG;AACL;AACE;AACD;AACM;AACR;AACD;AACE;AACE;AACa;AACG;AACM;AACZ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtInputLocale, HtTextLocale } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtInputLocale, HtTextLocale } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtKeywordNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.KEYWORD;
|
|
5
5
|
content: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/keyword.js","sources":["../../../src/content-fields/hubtype-fields/keyword.ts"],"sourcesContent":["import type { HtBaseNode, HtInputLocale, HtTextLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtKeywordNode extends HtBaseNode {\n type: HtNodeWithContentType.KEYWORD\n content: {\n title: HtTextLocale[]\n keywords: HtInputLocale[]\n }\n}\n"],"names":[],"mappings":"AASC"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HtButtonStyle = exports.HtNodeWithoutContentType = exports.HtNodeWithContentType = void 0;
|
|
4
|
-
var HtNodeWithContentType;
|
|
5
|
-
(function (HtNodeWithContentType) {
|
|
1
|
+
var node_types_HtNodeWithContentType = /*#__PURE__*/ function(HtNodeWithContentType) {
|
|
6
2
|
HtNodeWithContentType["CAROUSEL"] = "carousel";
|
|
7
3
|
HtNodeWithContentType["HANDOFF"] = "handoff";
|
|
8
4
|
HtNodeWithContentType["IMAGE"] = "image";
|
|
@@ -24,15 +20,19 @@ var HtNodeWithContentType;
|
|
|
24
20
|
HtNodeWithContentType["GO_TO_FLOW"] = "go-to-flow";
|
|
25
21
|
HtNodeWithContentType["CAPTURE_USER_INPUT"] = "capture-user-input";
|
|
26
22
|
HtNodeWithContentType["CUSTOM_CONDITION"] = "custom-condition";
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
return HtNodeWithContentType;
|
|
24
|
+
}({});
|
|
25
|
+
var node_types_HtNodeWithoutContentType = /*#__PURE__*/ function(HtNodeWithoutContentType) {
|
|
30
26
|
HtNodeWithoutContentType["URL"] = "url";
|
|
31
27
|
HtNodeWithoutContentType["PAYLOAD"] = "payload";
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
return HtNodeWithoutContentType;
|
|
29
|
+
}({});
|
|
30
|
+
var node_types_HtButtonStyle = /*#__PURE__*/ function(HtButtonStyle) {
|
|
35
31
|
HtButtonStyle["BUTTON"] = "button";
|
|
36
32
|
HtButtonStyle["QUICK_REPLY"] = "quick-reply";
|
|
37
|
-
|
|
33
|
+
return HtButtonStyle;
|
|
34
|
+
}({});
|
|
35
|
+
|
|
36
|
+
export { node_types_HtButtonStyle as HtButtonStyle, node_types_HtNodeWithContentType as HtNodeWithContentType, node_types_HtNodeWithoutContentType as HtNodeWithoutContentType };
|
|
37
|
+
|
|
38
38
|
//# sourceMappingURL=node-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/node-types.js","sources":["../../../src/content-fields/hubtype-fields/node-types.ts"],"sourcesContent":["export enum HtNodeWithContentType {\n CAROUSEL = 'carousel',\n HANDOFF = 'handoff',\n IMAGE = 'image',\n TEXT = 'text',\n KEYWORD = 'keyword',\n SMART_INTENT = 'smart-intent',\n FUNCTION = 'function',\n FALLBACK = 'fallback',\n VIDEO = 'video',\n WHATSAPP_BUTTON_LIST = 'whatsapp-button-list',\n WHATSAPP_CTA_URL_BUTTON = 'whatsapp-cta-url-button',\n WHATSAPP_REQUEST_CONTACT_INFO = 'whatsapp-request-contact-info',\n WHATSAPP_TEMPLATE = 'whatsapp-template',\n BOT_ACTION = 'bot-action',\n AI_AGENT = 'ai-agent',\n AI_AGENT_ROUTER = 'ai-agent-router',\n RATING = 'rating',\n WEBVIEW = 'webview',\n GO_TO_FLOW = 'go-to-flow',\n CAPTURE_USER_INPUT = 'capture-user-input',\n CUSTOM_CONDITION = 'custom-condition',\n}\n\nexport enum HtNodeWithoutContentType {\n URL = 'url',\n PAYLOAD = 'payload',\n}\n\nexport enum HtButtonStyle {\n BUTTON = 'button',\n QUICK_REPLY = 'quick-reply',\n}\n"],"names":["HtNodeWithContentType","HtNodeWithoutContentType","HtButtonStyle"],"mappings":"AAAO,IAAKA,gCAAqBA,0BAArBA;;;;;;;;;;;;;;;;;;;;;;WAAAA;MAsBX;AAEM,IAAKC,mCAAwBA,0BAAxBA;;;WAAAA;MAGX;AAEM,IAAKC,wBAAaA,0BAAbA;;;WAAAA;MAGX"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import type { HtAiAgentNode } from './ai-agent';
|
|
2
|
-
import type { HtAiAgentRouterNode } from './ai-agent-router';
|
|
3
|
-
import type { HtBotActionNode } from './bot-action';
|
|
4
|
-
import type { HtCaptureUserInputNode } from './capture-user-input';
|
|
5
|
-
import type { HtCarouselNode } from './carousel';
|
|
6
|
-
import type { HtCustomConditionalV2Node } from './custom-conditional-v2';
|
|
7
|
-
import type { HtFallbackNode } from './fallback';
|
|
8
|
-
import type { HtFunctionNode } from './function';
|
|
9
|
-
import type { HtGoToFlow } from './go-to-flow';
|
|
10
|
-
import type { HtHandoffNode } from './handoff';
|
|
11
|
-
import type { HtImageNode } from './image';
|
|
12
|
-
import type { HtKeywordNode } from './keyword';
|
|
13
|
-
import type { HtPayloadNode } from './payload';
|
|
14
|
-
import type { HtRatingNode } from './rating';
|
|
15
|
-
import type { HtSmartIntentNode } from './smart-intent';
|
|
16
|
-
import type { HtTextNode } from './text';
|
|
17
|
-
import type { HtUrlNode } from './url';
|
|
18
|
-
import type { HtVideoNode } from './video';
|
|
19
|
-
import type { HtWebviewNode } from './webview';
|
|
20
|
-
import type { HtWhatsappButtonListNode } from './whatsapp-button-list';
|
|
21
|
-
import type { HtWhatsappCTAUrlButtonNode } from './whatsapp-cta-url-button';
|
|
22
|
-
import type { HtWhatsappRequestContactInfoNode } from './whatsapp-request-contact-info';
|
|
23
|
-
import type { HtWhatsappTemplateNode } from './whatsapp-template';
|
|
1
|
+
import type { HtAiAgentNode } from './ai-agent.js';
|
|
2
|
+
import type { HtAiAgentRouterNode } from './ai-agent-router.js';
|
|
3
|
+
import type { HtBotActionNode } from './bot-action.js';
|
|
4
|
+
import type { HtCaptureUserInputNode } from './capture-user-input.js';
|
|
5
|
+
import type { HtCarouselNode } from './carousel.js';
|
|
6
|
+
import type { HtCustomConditionalV2Node } from './custom-conditional-v2.js';
|
|
7
|
+
import type { HtFallbackNode } from './fallback.js';
|
|
8
|
+
import type { HtFunctionNode } from './function.js';
|
|
9
|
+
import type { HtGoToFlow } from './go-to-flow.js';
|
|
10
|
+
import type { HtHandoffNode } from './handoff.js';
|
|
11
|
+
import type { HtImageNode } from './image.js';
|
|
12
|
+
import type { HtKeywordNode } from './keyword.js';
|
|
13
|
+
import type { HtPayloadNode } from './payload.js';
|
|
14
|
+
import type { HtRatingNode } from './rating.js';
|
|
15
|
+
import type { HtSmartIntentNode } from './smart-intent.js';
|
|
16
|
+
import type { HtTextNode } from './text.js';
|
|
17
|
+
import type { HtUrlNode } from './url.js';
|
|
18
|
+
import type { HtVideoNode } from './video.js';
|
|
19
|
+
import type { HtWebviewNode } from './webview.js';
|
|
20
|
+
import type { HtWhatsappButtonListNode } from './whatsapp-button-list.js';
|
|
21
|
+
import type { HtWhatsappCTAUrlButtonNode } from './whatsapp-cta-url-button.js';
|
|
22
|
+
import type { HtWhatsappRequestContactInfoNode } from './whatsapp-request-contact-info.js';
|
|
23
|
+
import type { HtWhatsappTemplateNode } from './whatsapp-template.js';
|
|
24
24
|
export type HtNodeWithContent = HtTextNode | HtImageNode | HtVideoNode | HtCarouselNode | HtHandoffNode | HtKeywordNode | HtFunctionNode | HtFallbackNode | HtWhatsappButtonListNode | HtWhatsappCTAUrlButtonNode | HtWhatsappRequestContactInfoNode | HtSmartIntentNode | HtBotActionNode | HtAiAgentNode | HtAiAgentRouterNode | HtRatingNode | HtWebviewNode | HtGoToFlow | HtWhatsappTemplateNode | HtCaptureUserInputNode | HtCustomConditionalV2Node;
|
|
25
25
|
export type HtNodeWithoutContent = HtUrlNode | HtPayloadNode;
|
|
26
26
|
export type HtNodeComponent = HtNodeWithContent | HtNodeWithoutContent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/nodes.js","sources":["../../../src/content-fields/hubtype-fields/nodes.ts"],"sourcesContent":["import type { HtAiAgentNode } from './ai-agent'\nimport type { HtAiAgentRouterNode } from './ai-agent-router'\nimport type { HtBotActionNode } from './bot-action'\nimport type { HtCaptureUserInputNode } from './capture-user-input'\nimport type { HtCarouselNode } from './carousel'\nimport type { HtCustomConditionalV2Node } from './custom-conditional-v2'\n// import { HtChannelConditionalNode } from './channel-conditional'\n// import { HtCountryConditionalNode } from './country-conditional'\n// import { HtCustomConditionalNode } from './custom-conditional'\nimport type { HtFallbackNode } from './fallback'\nimport type { HtFunctionNode } from './function'\nimport type { HtGoToFlow } from './go-to-flow'\nimport type { HtHandoffNode } from './handoff'\nimport type { HtImageNode } from './image'\nimport type { HtKeywordNode } from './keyword'\nimport type { HtPayloadNode } from './payload'\n// import { HtQueueStatusConditionalNode } from './queue-status-conditional'\nimport type { HtRatingNode } from './rating'\nimport type { HtSmartIntentNode } from './smart-intent'\nimport type { HtTextNode } from './text'\nimport type { HtUrlNode } from './url'\nimport type { HtVideoNode } from './video'\nimport type { HtWebviewNode } from './webview'\nimport type { HtWhatsappButtonListNode } from './whatsapp-button-list'\nimport type { HtWhatsappCTAUrlButtonNode } from './whatsapp-cta-url-button'\nimport type { HtWhatsappRequestContactInfoNode } from './whatsapp-request-contact-info'\nimport type { HtWhatsappTemplateNode } from './whatsapp-template'\n\nexport type HtNodeWithContent =\n | HtTextNode\n | HtImageNode\n | HtVideoNode\n | HtCarouselNode\n | HtHandoffNode\n | HtKeywordNode\n | HtFunctionNode\n | HtFallbackNode\n | HtWhatsappButtonListNode\n | HtWhatsappCTAUrlButtonNode\n | HtWhatsappRequestContactInfoNode\n | HtSmartIntentNode\n | HtBotActionNode\n | HtAiAgentNode\n | HtAiAgentRouterNode\n | HtRatingNode\n | HtWebviewNode\n | HtGoToFlow\n | HtWhatsappTemplateNode\n | HtCaptureUserInputNode\n | HtCustomConditionalV2Node\n// | HtChannelConditionalNode\n// | HtCountryConditionalNode\n// | HtCustomConditionalNode\n// | HtQueueStatusConditionalNode\n\nexport type HtNodeWithoutContent = HtUrlNode | HtPayloadNode\n\nexport type HtNodeComponent = HtNodeWithContent | HtNodeWithoutContent\n"],"names":[],"mappings":"AAyDsE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/payload.js","sources":["../../../src/content-fields/hubtype-fields/payload.ts"],"sourcesContent":["import type { HtNodeWithoutContentType } from './node-types'\n\nexport interface HtPayloadNode {\n id: string\n type: HtNodeWithoutContentType.PAYLOAD\n content: {\n payload: string\n }\n}\n"],"names":[],"mappings":"AAQC"}
|
package/lib/{esm/content-fields → content-fields}/hubtype-fields/queue-status-conditional.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
-
import type { HtFunctionArguments, HtFunctionResult } from './function';
|
|
3
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common.js';
|
|
2
|
+
import type { HtFunctionArguments, HtFunctionResult } from './function.js';
|
|
3
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
4
4
|
export type HtQueueStatusConditionalResultMapping = [
|
|
5
5
|
{
|
|
6
6
|
result: 'open';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/queue-status-conditional.js","sources":["../../../src/content-fields/hubtype-fields/queue-status-conditional.ts"],"sourcesContent":["import type { HtBaseNode, HtNodeLink } from './common'\nimport type { HtFunctionArguments, HtFunctionResult } from './function'\nimport type { HtNodeWithContentType } from './node-types'\n\n/* TODO: In the future, refactor the conditional nodes so they are not of type FUNCTION and can use type-hints for all exact arguments and results. */\n\n// interface HtQueueArgument {\n// locale: string\n// values: [\n// {\n// type: 'string'\n// name: 'queue_id'\n// value: string\n// },\n// {\n// type: 'string'\n// name: 'queue_name'\n// value: string\n// },\n// ]\n// }\n\n// interface HtCheckAvailableAgentsArgument {\n// type: 'boolean'\n// name: 'check_available_agents'\n// value: boolean\n// }\n\n// export interface HtQueueStatusConditionalArguments {\n// values: HtQueueArgument[] | HtCheckAvailableAgentsArgument[]\n// }\n\nexport type HtQueueStatusConditionalResultMapping = [\n {\n result: 'open'\n target: HtNodeLink\n },\n {\n result: 'closed'\n target: HtNodeLink\n },\n {\n result: 'open-without-agents'\n target: HtNodeLink\n },\n]\n\nexport interface HtQueueStatusConditionalNode extends HtBaseNode {\n type: HtNodeWithContentType.FUNCTION\n content: {\n action: string //'get-channel-type'\n arguments: HtFunctionArguments[]\n result_mapping: HtFunctionResult[]\n }\n}\n"],"names":[],"mappings":"AAsDC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtNodeLink, HtTextLocale } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink, HtTextLocale } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export declare enum RatingType {
|
|
4
4
|
Stars = "stars",
|
|
5
5
|
Smileys = "smileys"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/rating.js","sources":["../../../src/content-fields/hubtype-fields/rating.ts"],"sourcesContent":["import type { HtBaseNode, HtNodeLink, HtTextLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport enum RatingType {\n Stars = 'stars',\n Smileys = 'smileys',\n}\n\nexport interface HtRatingButton {\n id: string\n text: string\n payload: string\n value: number\n target?: HtNodeLink\n}\n\nexport interface HtRatingNode extends HtBaseNode {\n type: HtNodeWithContentType.RATING\n content: {\n text: HtTextLocale[]\n buttons: HtRatingButton[]\n rating_type: RatingType\n send_button_text: HtTextLocale[]\n open_list_button_text: HtTextLocale[]\n }\n}\n"],"names":["RatingType"],"mappings":"AAGO,IAAKA,iBAAUA,0BAAVA;;;WAAAA;MAGX"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
interface SmartIntent {
|
|
4
4
|
title: string;
|
|
5
5
|
description: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/smart-intent.js","sources":["../../../src/content-fields/hubtype-fields/smart-intent.ts"],"sourcesContent":["import type { HtBaseNode } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\ninterface SmartIntent {\n title: string\n description: string\n is_active?: boolean\n}\n\nexport interface HtSmartIntentNode extends HtBaseNode {\n type: HtNodeWithContentType.SMART_INTENT\n content: SmartIntent\n}\n"],"names":[],"mappings":"AAYC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HtButton } from './button';
|
|
2
|
-
import type { HtBaseNode, HtTextLocale } from './common';
|
|
3
|
-
import type { HtButtonStyle, HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtButton } from './button.js';
|
|
2
|
+
import type { HtBaseNode, HtTextLocale } from './common.js';
|
|
3
|
+
import type { HtButtonStyle, HtNodeWithContentType } from './node-types.js';
|
|
4
4
|
export interface HtTextNode extends HtBaseNode {
|
|
5
5
|
type: HtNodeWithContentType.TEXT;
|
|
6
6
|
content: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/text.js","sources":["../../../src/content-fields/hubtype-fields/text.ts"],"sourcesContent":["import type { HtButton } from './button'\nimport type { HtBaseNode, HtTextLocale } from './common'\nimport type { HtButtonStyle, HtNodeWithContentType } from './node-types'\n\nexport interface HtTextNode extends HtBaseNode {\n type: HtNodeWithContentType.TEXT\n content: {\n text: HtTextLocale[]\n buttons_style?: HtButtonStyle\n buttons: HtButton[]\n }\n}\n"],"names":[],"mappings":"AAWC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/url.js","sources":["../../../src/content-fields/hubtype-fields/url.ts"],"sourcesContent":["import type { HtNodeWithoutContentType } from './node-types'\n\nexport interface HtUrlNode {\n id: string\n type: HtNodeWithoutContentType.URL\n content: {\n url: string\n }\n}\n"],"names":[],"mappings":"AAQC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtVideoLocale } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtVideoLocale } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtVideoNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.VIDEO;
|
|
5
5
|
content: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/video.js","sources":["../../../src/content-fields/hubtype-fields/video.ts"],"sourcesContent":["import type { HtBaseNode, HtVideoLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtVideoNode extends HtBaseNode {\n type: HtNodeWithContentType.VIDEO\n content: {\n video: HtVideoLocale[]\n }\n}\n"],"names":[],"mappings":"AAQC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtWebviewExits {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/webview.js","sources":["../../../src/content-fields/hubtype-fields/webview.ts"],"sourcesContent":["import type { HtBaseNode, HtNodeLink } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtWebviewExits {\n id: string\n name: string\n target?: HtNodeLink\n}\n\nexport interface HtWebviewNode extends HtBaseNode {\n type: HtNodeWithContentType.WEBVIEW\n content: {\n webview_target_id: string\n webview_name: string\n webview_component_name: string\n webview_params: Record<string, string>\n exits: HtWebviewExits[]\n }\n}\n"],"names":[],"mappings":"AAkBC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtNodeLink, HtTextLocale } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink, HtTextLocale } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtWhatsappButtonListRow {
|
|
4
4
|
id: string;
|
|
5
5
|
text: HtTextLocale[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/whatsapp-button-list.js","sources":["../../../src/content-fields/hubtype-fields/whatsapp-button-list.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\nimport type { HtBaseNode, HtNodeLink, HtTextLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtWhatsappButtonListRow {\n id: string\n text: HtTextLocale[]\n description: HtTextLocale[]\n target?: HtNodeLink\n}\n\nexport interface HtWhatsappButtonListSection {\n id: string\n title: HtTextLocale[]\n rows: HtWhatsappButtonListRow[]\n}\n\nexport interface HtWhatsappButtonListNode extends HtBaseNode {\n type: HtNodeWithContentType.WHATSAPP_BUTTON_LIST\n content: {\n text: HtTextLocale[]\n button_text: HtTextLocale[]\n sections: HtWhatsappButtonListSection[]\n }\n}\n"],"names":[],"mappings":"AAAA,uDAAuD,GAwBtD"}
|
package/lib/{cjs/content-fields → content-fields}/hubtype-fields/whatsapp-cta-url-button.d.ts
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { WhatsappCTAUrlHeaderType } from '@botonic/react';
|
|
2
|
-
import type { HtButton } from './button';
|
|
3
|
-
import type { HtBaseNode, HtMediaFileLocale, HtTextLocale } from './common';
|
|
4
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
2
|
+
import type { HtButton } from './button.js';
|
|
3
|
+
import type { HtBaseNode, HtMediaFileLocale, HtTextLocale } from './common.js';
|
|
4
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
5
5
|
export interface HtWhatsappCTAUrlButtonNode extends HtBaseNode {
|
|
6
6
|
type: HtNodeWithContentType.WHATSAPP_CTA_URL_BUTTON;
|
|
7
7
|
content: {
|