@botonic/plugin-flow-builder 0.44.2 → 0.45.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/action/ai-agent.d.ts +2 -2
- package/lib/cjs/action/ai-agent.js.map +1 -1
- package/lib/cjs/action/fallback.d.ts +2 -2
- package/lib/cjs/action/fallback.js.map +1 -1
- package/lib/cjs/action/first-interaction.d.ts +2 -2
- package/lib/cjs/action/first-interaction.js +1 -1
- package/lib/cjs/action/first-interaction.js.map +1 -1
- package/lib/cjs/action/index.d.ts +4 -4
- package/lib/cjs/action/index.js.map +1 -1
- package/lib/cjs/action/knowledge-bases.d.ts +2 -2
- package/lib/cjs/action/payload.d.ts +2 -2
- package/lib/cjs/action/payload.js.map +1 -1
- package/lib/cjs/api.d.ts +3 -3
- package/lib/cjs/api.js +10 -5
- package/lib/cjs/api.js.map +1 -1
- package/lib/cjs/content-fields/content-fields-base.d.ts +2 -2
- package/lib/cjs/content-fields/flow-ai-agent.d.ts +3 -3
- package/lib/cjs/content-fields/flow-ai-agent.js.map +1 -1
- package/lib/cjs/content-fields/flow-bot-action.d.ts +3 -3
- package/lib/cjs/content-fields/flow-bot-action.js.map +1 -1
- package/lib/cjs/content-fields/flow-button.d.ts +4 -4
- package/lib/cjs/content-fields/flow-button.js +5 -5
- package/lib/cjs/content-fields/flow-button.js.map +1 -1
- package/lib/cjs/content-fields/flow-capture-user-input.d.ts +2 -2
- package/lib/cjs/content-fields/flow-carousel.d.ts +4 -4
- package/lib/cjs/content-fields/flow-carousel.js +1 -1
- package/lib/cjs/content-fields/flow-carousel.js.map +1 -1
- package/lib/cjs/content-fields/flow-channel-conditional.d.ts +3 -3
- package/lib/cjs/content-fields/flow-channel-conditional.js.map +1 -1
- package/lib/cjs/content-fields/flow-country-conditional.d.ts +3 -3
- package/lib/cjs/content-fields/flow-country-conditional.js.map +1 -1
- package/lib/cjs/content-fields/flow-custom-conditional.d.ts +3 -3
- package/lib/cjs/content-fields/flow-custom-conditional.js.map +1 -1
- package/lib/cjs/content-fields/flow-element.d.ts +4 -4
- package/lib/cjs/content-fields/flow-element.js +3 -3
- package/lib/cjs/content-fields/flow-element.js.map +1 -1
- package/lib/cjs/content-fields/flow-go-to-flow.d.ts +3 -3
- package/lib/cjs/content-fields/flow-go-to-flow.js.map +1 -1
- package/lib/cjs/content-fields/flow-handoff.d.ts +3 -3
- package/lib/cjs/content-fields/flow-handoff.js +2 -2
- package/lib/cjs/content-fields/flow-handoff.js.map +1 -1
- package/lib/cjs/content-fields/flow-image.d.ts +2 -2
- package/lib/cjs/content-fields/flow-image.js +1 -1
- package/lib/cjs/content-fields/flow-image.js.map +1 -1
- package/lib/cjs/content-fields/flow-knowledge-base.d.ts +2 -2
- package/lib/cjs/content-fields/flow-knowledge-base.js.map +1 -1
- package/lib/cjs/content-fields/flow-queue-status-conditional.d.ts +3 -3
- package/lib/cjs/content-fields/flow-queue-status-conditional.js.map +1 -1
- package/lib/cjs/content-fields/flow-rating.d.ts +2 -2
- package/lib/cjs/content-fields/flow-rating.js +3 -3
- package/lib/cjs/content-fields/flow-rating.js.map +1 -1
- package/lib/cjs/content-fields/flow-text.d.ts +4 -4
- package/lib/cjs/content-fields/flow-text.js +1 -1
- package/lib/cjs/content-fields/flow-text.js.map +1 -1
- package/lib/cjs/content-fields/flow-video.d.ts +2 -2
- package/lib/cjs/content-fields/flow-video.js +1 -1
- package/lib/cjs/content-fields/flow-video.js.map +1 -1
- package/lib/cjs/content-fields/flow-webview.d.ts +2 -2
- package/lib/cjs/content-fields/flow-webview.js.map +1 -1
- package/lib/cjs/content-fields/flow-whatsapp-cta-url-button.d.ts +3 -3
- package/lib/cjs/content-fields/flow-whatsapp-cta-url-button.js +10 -6
- package/lib/cjs/content-fields/flow-whatsapp-cta-url-button.js.map +1 -1
- package/lib/cjs/content-fields/flow-whatsapp-template.d.ts +2 -2
- package/lib/cjs/content-fields/flow-whatsapp-template.js.map +1 -1
- package/lib/cjs/content-fields/hubtype-fields/ai-agent.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/bot-action.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/button.d.ts +1 -1
- package/lib/cjs/content-fields/hubtype-fields/capture-user-input.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/carousel.d.ts +3 -3
- package/lib/cjs/content-fields/hubtype-fields/channel-conditional.d.ts +3 -3
- package/lib/cjs/content-fields/hubtype-fields/common.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/country-conditional.d.ts +3 -3
- package/lib/cjs/content-fields/hubtype-fields/custom-conditional.d.ts +3 -3
- package/lib/cjs/content-fields/hubtype-fields/fallback.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/function.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/go-to-flow.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/handoff.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/image.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/keyword.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/knowledge-base.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/nodes.d.ts +21 -21
- package/lib/cjs/content-fields/hubtype-fields/payload.d.ts +1 -1
- package/lib/cjs/content-fields/hubtype-fields/queue-status-conditional.d.ts +3 -3
- package/lib/cjs/content-fields/hubtype-fields/rating.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/smart-intent.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/text.d.ts +3 -3
- package/lib/cjs/content-fields/hubtype-fields/url.d.ts +1 -1
- package/lib/cjs/content-fields/hubtype-fields/video.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/webview.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/whatsapp-button-list.d.ts +2 -2
- package/lib/cjs/content-fields/hubtype-fields/whatsapp-cta-url-button.d.ts +4 -4
- package/lib/cjs/content-fields/hubtype-fields/whatsapp-template.d.ts +4 -4
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.d.ts +3 -3
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js +2 -2
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js.map +1 -1
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.d.ts +3 -3
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js +3 -2
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js.map +1 -1
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list.d.ts +3 -3
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js +3 -2
- package/lib/cjs/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js.map +1 -1
- package/lib/cjs/filters/index.d.ts +3 -3
- package/lib/cjs/flow-factory.d.ts +4 -4
- package/lib/cjs/functions/index.d.ts +2 -2
- package/lib/cjs/helpers.d.ts +2 -2
- package/lib/cjs/index.d.ts +5 -5
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/tracking.d.ts +3 -3
- package/lib/cjs/tracking.js.map +1 -1
- package/lib/cjs/types.d.ts +3 -3
- package/lib/cjs/user-input/capture-user-input-api.d.ts +3 -3
- package/lib/cjs/user-input/capture-user-input-api.js +1 -4
- package/lib/cjs/user-input/capture-user-input-api.js.map +1 -1
- package/lib/cjs/user-input/index.d.ts +3 -3
- package/lib/cjs/user-input/index.js.map +1 -1
- package/lib/cjs/user-input/keyword.d.ts +3 -3
- package/lib/cjs/user-input/keyword.js.map +1 -1
- package/lib/cjs/user-input/smart-intent.d.ts +3 -3
- package/lib/cjs/user-input/smart-intent.js +6 -3
- package/lib/cjs/user-input/smart-intent.js.map +1 -1
- package/lib/cjs/utils.d.ts +2 -2
- package/lib/cjs/utils.js.map +1 -1
- package/lib/cjs/webview/contents-context.d.ts +1 -1
- package/lib/cjs/webview/types.d.ts +1 -1
- package/lib/cjs/webview/use-webview-contents.d.ts +1 -1
- package/lib/esm/action/ai-agent.d.ts +2 -2
- package/lib/esm/action/ai-agent.js.map +1 -1
- package/lib/esm/action/fallback.d.ts +2 -2
- package/lib/esm/action/fallback.js.map +1 -1
- package/lib/esm/action/first-interaction.d.ts +2 -2
- package/lib/esm/action/first-interaction.js +1 -1
- package/lib/esm/action/first-interaction.js.map +1 -1
- package/lib/esm/action/index.d.ts +4 -4
- package/lib/esm/action/index.js.map +1 -1
- package/lib/esm/action/knowledge-bases.d.ts +2 -2
- package/lib/esm/action/payload.d.ts +2 -2
- package/lib/esm/action/payload.js.map +1 -1
- package/lib/esm/api.d.ts +3 -3
- package/lib/esm/api.js +10 -5
- package/lib/esm/api.js.map +1 -1
- package/lib/esm/content-fields/content-fields-base.d.ts +2 -2
- package/lib/esm/content-fields/flow-ai-agent.d.ts +3 -3
- package/lib/esm/content-fields/flow-ai-agent.js.map +1 -1
- package/lib/esm/content-fields/flow-bot-action.d.ts +3 -3
- package/lib/esm/content-fields/flow-bot-action.js.map +1 -1
- package/lib/esm/content-fields/flow-button.d.ts +4 -4
- package/lib/esm/content-fields/flow-button.js +5 -5
- package/lib/esm/content-fields/flow-button.js.map +1 -1
- package/lib/esm/content-fields/flow-capture-user-input.d.ts +2 -2
- package/lib/esm/content-fields/flow-carousel.d.ts +4 -4
- package/lib/esm/content-fields/flow-carousel.js +1 -1
- package/lib/esm/content-fields/flow-carousel.js.map +1 -1
- package/lib/esm/content-fields/flow-channel-conditional.d.ts +3 -3
- package/lib/esm/content-fields/flow-channel-conditional.js.map +1 -1
- package/lib/esm/content-fields/flow-country-conditional.d.ts +3 -3
- package/lib/esm/content-fields/flow-country-conditional.js.map +1 -1
- package/lib/esm/content-fields/flow-custom-conditional.d.ts +3 -3
- package/lib/esm/content-fields/flow-custom-conditional.js.map +1 -1
- package/lib/esm/content-fields/flow-element.d.ts +4 -4
- package/lib/esm/content-fields/flow-element.js +3 -3
- package/lib/esm/content-fields/flow-element.js.map +1 -1
- package/lib/esm/content-fields/flow-go-to-flow.d.ts +3 -3
- package/lib/esm/content-fields/flow-go-to-flow.js.map +1 -1
- package/lib/esm/content-fields/flow-handoff.d.ts +3 -3
- package/lib/esm/content-fields/flow-handoff.js +2 -2
- package/lib/esm/content-fields/flow-handoff.js.map +1 -1
- package/lib/esm/content-fields/flow-image.d.ts +2 -2
- package/lib/esm/content-fields/flow-image.js +1 -1
- package/lib/esm/content-fields/flow-image.js.map +1 -1
- package/lib/esm/content-fields/flow-knowledge-base.d.ts +2 -2
- package/lib/esm/content-fields/flow-knowledge-base.js.map +1 -1
- package/lib/esm/content-fields/flow-queue-status-conditional.d.ts +3 -3
- package/lib/esm/content-fields/flow-queue-status-conditional.js.map +1 -1
- package/lib/esm/content-fields/flow-rating.d.ts +2 -2
- package/lib/esm/content-fields/flow-rating.js +3 -3
- package/lib/esm/content-fields/flow-rating.js.map +1 -1
- package/lib/esm/content-fields/flow-text.d.ts +4 -4
- package/lib/esm/content-fields/flow-text.js +1 -1
- package/lib/esm/content-fields/flow-text.js.map +1 -1
- package/lib/esm/content-fields/flow-video.d.ts +2 -2
- package/lib/esm/content-fields/flow-video.js +1 -1
- package/lib/esm/content-fields/flow-video.js.map +1 -1
- package/lib/esm/content-fields/flow-webview.d.ts +2 -2
- package/lib/esm/content-fields/flow-webview.js.map +1 -1
- package/lib/esm/content-fields/flow-whatsapp-cta-url-button.d.ts +3 -3
- package/lib/esm/content-fields/flow-whatsapp-cta-url-button.js +10 -6
- package/lib/esm/content-fields/flow-whatsapp-cta-url-button.js.map +1 -1
- package/lib/esm/content-fields/flow-whatsapp-template.d.ts +2 -2
- package/lib/esm/content-fields/flow-whatsapp-template.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/ai-agent.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/bot-action.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/button.d.ts +1 -1
- package/lib/esm/content-fields/hubtype-fields/capture-user-input.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/carousel.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/channel-conditional.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/common.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/country-conditional.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/custom-conditional.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/fallback.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/function.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/go-to-flow.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/handoff.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/image.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/keyword.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/knowledge-base.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/nodes.d.ts +21 -21
- package/lib/esm/content-fields/hubtype-fields/payload.d.ts +1 -1
- package/lib/esm/content-fields/hubtype-fields/queue-status-conditional.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/rating.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/smart-intent.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/text.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/url.d.ts +1 -1
- package/lib/esm/content-fields/hubtype-fields/video.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/webview.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/whatsapp-button-list.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/whatsapp-cta-url-button.d.ts +4 -4
- package/lib/esm/content-fields/hubtype-fields/whatsapp-template.d.ts +4 -4
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.d.ts +3 -3
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js +2 -2
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.js.map +1 -1
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.d.ts +3 -3
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js +3 -2
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js.map +1 -1
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list.d.ts +3 -3
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js +3 -2
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js.map +1 -1
- package/lib/esm/filters/index.d.ts +3 -3
- package/lib/esm/flow-factory.d.ts +4 -4
- package/lib/esm/functions/index.d.ts +2 -2
- package/lib/esm/helpers.d.ts +2 -2
- package/lib/esm/index.d.ts +5 -5
- package/lib/esm/index.js +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/tracking.d.ts +3 -3
- package/lib/esm/tracking.js.map +1 -1
- package/lib/esm/types.d.ts +3 -3
- package/lib/esm/user-input/capture-user-input-api.d.ts +3 -3
- package/lib/esm/user-input/capture-user-input-api.js +1 -4
- package/lib/esm/user-input/capture-user-input-api.js.map +1 -1
- package/lib/esm/user-input/index.d.ts +3 -3
- package/lib/esm/user-input/index.js.map +1 -1
- package/lib/esm/user-input/keyword.d.ts +3 -3
- package/lib/esm/user-input/keyword.js.map +1 -1
- package/lib/esm/user-input/smart-intent.d.ts +3 -3
- package/lib/esm/user-input/smart-intent.js +6 -3
- package/lib/esm/user-input/smart-intent.js.map +1 -1
- package/lib/esm/utils.d.ts +2 -2
- package/lib/esm/utils.js.map +1 -1
- package/lib/esm/webview/contents-context.d.ts +1 -1
- package/lib/esm/webview/types.d.ts +1 -1
- package/lib/esm/webview/use-webview-contents.d.ts +1 -1
- package/package.json +5 -8
- package/src/action/ai-agent.ts +7 -7
- package/src/action/fallback.ts +5 -5
- package/src/action/first-interaction.ts +5 -5
- package/src/action/index.tsx +6 -6
- package/src/action/knowledge-bases.ts +7 -7
- package/src/action/payload.ts +4 -4
- package/src/api.ts +31 -21
- package/src/content-fields/content-fields-base.ts +2 -2
- package/src/content-fields/flow-ai-agent.tsx +6 -3
- package/src/content-fields/flow-bot-action.tsx +4 -4
- package/src/content-fields/flow-button.tsx +14 -12
- package/src/content-fields/flow-capture-user-input.tsx +2 -2
- package/src/content-fields/flow-carousel.tsx +6 -7
- package/src/content-fields/flow-channel-conditional.tsx +4 -4
- package/src/content-fields/flow-country-conditional.tsx +4 -4
- package/src/content-fields/flow-custom-conditional.tsx +4 -4
- package/src/content-fields/flow-element.tsx +16 -7
- package/src/content-fields/flow-go-to-flow.tsx +4 -4
- package/src/content-fields/flow-handoff.tsx +11 -5
- package/src/content-fields/flow-image.tsx +3 -4
- package/src/content-fields/flow-knowledge-base.tsx +2 -4
- package/src/content-fields/flow-queue-status-conditional.tsx +4 -5
- package/src/content-fields/flow-rating.tsx +5 -5
- package/src/content-fields/flow-text.tsx +5 -6
- package/src/content-fields/flow-video.tsx +3 -4
- package/src/content-fields/flow-webview.tsx +3 -3
- package/src/content-fields/flow-whatsapp-cta-url-button.tsx +25 -22
- package/src/content-fields/flow-whatsapp-template.tsx +10 -11
- package/src/content-fields/hubtype-fields/ai-agent.ts +2 -2
- package/src/content-fields/hubtype-fields/bot-action.ts +2 -2
- package/src/content-fields/hubtype-fields/button.ts +1 -1
- package/src/content-fields/hubtype-fields/capture-user-input.ts +2 -2
- package/src/content-fields/hubtype-fields/carousel.ts +3 -3
- package/src/content-fields/hubtype-fields/channel-conditional.ts +3 -3
- package/src/content-fields/hubtype-fields/common.ts +5 -2
- package/src/content-fields/hubtype-fields/country-conditional.ts +3 -3
- package/src/content-fields/hubtype-fields/custom-conditional.ts +3 -3
- package/src/content-fields/hubtype-fields/fallback.ts +2 -2
- package/src/content-fields/hubtype-fields/function.ts +2 -2
- package/src/content-fields/hubtype-fields/go-to-flow.ts +2 -2
- package/src/content-fields/hubtype-fields/handoff.ts +2 -2
- package/src/content-fields/hubtype-fields/image.ts +2 -2
- package/src/content-fields/hubtype-fields/keyword.ts +2 -2
- package/src/content-fields/hubtype-fields/knowledge-base.ts +2 -2
- package/src/content-fields/hubtype-fields/nodes.ts +21 -21
- package/src/content-fields/hubtype-fields/payload.ts +1 -1
- package/src/content-fields/hubtype-fields/queue-status-conditional.ts +3 -3
- package/src/content-fields/hubtype-fields/rating.ts +2 -2
- package/src/content-fields/hubtype-fields/smart-intent.ts +2 -2
- package/src/content-fields/hubtype-fields/text.ts +3 -3
- package/src/content-fields/hubtype-fields/url.ts +1 -1
- package/src/content-fields/hubtype-fields/video.ts +2 -2
- package/src/content-fields/hubtype-fields/webview.ts +2 -2
- package/src/content-fields/hubtype-fields/whatsapp-button-list.ts +2 -2
- package/src/content-fields/hubtype-fields/whatsapp-cta-url-button.ts +4 -4
- package/src/content-fields/hubtype-fields/whatsapp-template.ts +4 -4
- package/src/content-fields/whatsapp-button-list/flow-whatsapp-button-list-row.tsx +11 -5
- package/src/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.tsx +10 -5
- package/src/content-fields/whatsapp-button-list/flow-whatsapp-button-list.tsx +14 -9
- package/src/filters/index.ts +3 -3
- package/src/flow-factory.ts +5 -5
- package/src/functions/index.ts +2 -2
- package/src/helpers.ts +2 -2
- package/src/index.ts +19 -19
- package/src/tracking.ts +5 -5
- package/src/types.ts +7 -7
- package/src/user-input/capture-user-input-api.ts +5 -9
- package/src/user-input/index.ts +6 -3
- package/src/user-input/keyword.ts +4 -4
- package/src/user-input/smart-intent.ts +14 -8
- package/src/utils.ts +3 -3
- package/src/webview/contents-context.ts +1 -1
- package/src/webview/types.ts +1 -1
- package/src/webview/use-webview-contents.ts +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ActionRequest } from '@botonic/react';
|
|
1
|
+
import { type ActionRequest } from '@botonic/react';
|
|
2
2
|
import { ContentFieldsBase } from './content-fields-base';
|
|
3
|
-
import { HtKnowledgeBaseNode } from './hubtype-fields';
|
|
3
|
+
import type { HtKnowledgeBaseNode } from './hubtype-fields';
|
|
4
4
|
export declare const DISABLED_MEMORY_LENGTH = 1;
|
|
5
5
|
export declare class FlowKnowledgeBase extends ContentFieldsBase {
|
|
6
6
|
feedbackEnabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-knowledge-base.js","sourceRoot":"","sources":["../../../src/content-fields/flow-knowledge-base.tsx"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"flow-knowledge-base.js","sourceRoot":"","sources":["../../../src/content-fields/flow-knowledge-base.tsx"],"names":[],"mappings":";;;;AAAA,0CAAyD;AAEzD,+DAAyD;AAG5C,QAAA,sBAAsB,GAAG,CAAC,CAAA;AAEvC,MAAa,iBAAkB,SAAQ,uCAAiB;IAAxD;;QACS,oBAAe,GAAY,KAAK,CAAA;QAChC,YAAO,GAAa,EAAE,CAAA;QACtB,SAAI,GAAW,EAAE,CAAA;QAEjB,gBAAW,GAAmC,EAAE,CAAA;IAsCzD,CAAC;IAjCC,MAAM,CAAC,cAAc,CAAC,SAA8B;QAClD,MAAM,gBAAgB,GAAG,IAAI,iBAAiB,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC5D,gBAAgB,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAA;QACtC,gBAAgB,CAAC,eAAe,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,CAAA;QACrE,gBAAgB,CAAC,WAAW,GAAG,SAAS,CAAC,OAAO,CAAC,YAAY,CAAA;QAC7D,gBAAgB,CAAC,YAAY,GAAG,SAAS,CAAC,OAAO,CAAC,YAAY,CAAA;QAC9D,gBAAgB,CAAC,SAAS,GAAG,SAAS,CAAC,OAAO,CAAC,UAAU,IAAI,KAAK,CAAA;QAClE,gBAAgB,CAAC,YAAY;YAC3B,SAAS,CAAC,OAAO,CAAC,aAAa,IAAI,8BAAsB,CAAA;QAC3D,gBAAgB,CAAC,QAAQ,GAAG,SAAS,CAAC,SAAS,CAAA;QAE/C,OAAO,gBAAgB,CAAA;IACzB,CAAC;IAED,6DAA6D;IAC7D,KAAK,CAAC,SAAS,CAAC,QAAuB;QACrC,oEAAoE;QACpE,kEAAkE;QAClE,iEAAiE;IACnE,CAAC;IAED,SAAS,CAAC,EAAU,EAAE,OAAsB;QAC1C,OAAO,CACL,uBAAC,YAAI,IAEH,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,gBAAgB,EAAE,OAAO,CAAC,KAAK,CAAC,kBAAkB,YAEjD,IAAI,CAAC,IAAI,IALL,EAAE,CAMF,CACR,CAAA;IACH,CAAC;CACF;AA3CD,8CA2CC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ActionRequest } from '@botonic/react';
|
|
1
|
+
import type { ActionRequest } from '@botonic/react';
|
|
2
2
|
import { ContentFieldsBase } from './content-fields-base';
|
|
3
|
-
import { HtFunctionArguments, HtFunctionResult } from './hubtype-fields/function';
|
|
4
|
-
import { HtQueueStatusConditionalNode, HtQueueStatusConditionalResultMapping } from './hubtype-fields/queue-status-conditional';
|
|
3
|
+
import type { HtFunctionArguments, HtFunctionResult } from './hubtype-fields/function';
|
|
4
|
+
import type { HtQueueStatusConditionalNode, HtQueueStatusConditionalResultMapping } from './hubtype-fields/queue-status-conditional';
|
|
5
5
|
declare enum QueueStatusResult {
|
|
6
6
|
OPEN = "open",
|
|
7
7
|
CLOSED = "closed",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-queue-status-conditional.js","sourceRoot":"","sources":["../../../src/content-fields/flow-queue-status-conditional.tsx"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"flow-queue-status-conditional.js","sourceRoot":"","sources":["../../../src/content-fields/flow-queue-status-conditional.tsx"],"names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C;YACrE,OAAO,iBAAiB,CAAC,mBAAmB,CAAA;QAC9C,CAAC;QAED,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,MAAM,CAAA;IACtE,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,OAAsB;QACpC,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,iBAAiB,EAAE,GACrE,IAAA,oDAAyC,EAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC,CAAA;QAC7D,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE,CAAC;YACpC,OAAO,CAAC,IAAI,CACV,2BAA2B,IAAI,CAAC,IAAI,kCAAkC,CACvE,CAAA;QACH,CAAC;QACD,MAAM,2BAA2B,GAAgC;YAC/D,MAAM,EAAE,kBAAW,CAAC,sBAAsB;YAC1C,YAAY;YACZ,MAAM;YACN,QAAQ;YACR,UAAU;YACV,iBAAiB;YACjB,oBAAoB,EAAE,KAAK;YAC3B,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;SACxC,CAAA;QACD,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,GAAG,2BAA2B,CAAA;QAC5D,MAAM,IAAA,qBAAU,EAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,CAAA;IAC9C,CAAC;IAED,SAAS;QACP,OAAO,kDAAK,CAAA;IACd,CAAC;CACF;AAlGD,gEAkGC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ActionRequest } from '@botonic/react';
|
|
1
|
+
import { type ActionRequest } from '@botonic/react';
|
|
2
2
|
import { ContentFieldsBase } from './content-fields-base';
|
|
3
3
|
import { FlowButton } from './flow-button';
|
|
4
|
-
import { HtRatingNode, RatingType } from './hubtype-fields';
|
|
4
|
+
import { type HtRatingNode, RatingType } from './hubtype-fields';
|
|
5
5
|
export declare class FlowRating extends ContentFieldsBase {
|
|
6
6
|
text: string;
|
|
7
7
|
sendButtonText: string;
|
|
@@ -21,11 +21,11 @@ class FlowRating extends content_fields_base_1.ContentFieldsBase {
|
|
|
21
21
|
static fromHubtypeCMS(cmsText, locale) {
|
|
22
22
|
const newRating = new FlowRating(cmsText.id);
|
|
23
23
|
newRating.code = cmsText.code;
|
|
24
|
-
newRating.text =
|
|
25
|
-
newRating.sendButtonText =
|
|
24
|
+
newRating.text = FlowRating.getTextByLocale(locale, cmsText.content.text);
|
|
25
|
+
newRating.sendButtonText = FlowRating.getTextByLocale(locale, cmsText.content.send_button_text);
|
|
26
26
|
newRating.ratingType = cmsText.content.rating_type;
|
|
27
27
|
newRating.buttons = cmsText.content.buttons.map(button => flow_button_1.FlowButton.fromRating(button));
|
|
28
|
-
newRating.openListButtonText =
|
|
28
|
+
newRating.openListButtonText = FlowRating.getTextByLocale(locale, cmsText.content.open_list_button_text);
|
|
29
29
|
newRating.followUp = cmsText.follow_up;
|
|
30
30
|
return newRating;
|
|
31
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-rating.js","sourceRoot":"","sources":["../../../src/content-fields/flow-rating.tsx"],"names":[],"mappings":";;;;AAAA,wCAA4D;AAC5D,0CAKuB;AAEvB,wCAAiD;AACjD,0CAA6C;AAC7C,+DAAyD;AACzD,+CAA0C;AAC1C,
|
|
1
|
+
{"version":3,"file":"flow-rating.js","sourceRoot":"","sources":["../../../src/content-fields/flow-rating.tsx"],"names":[],"mappings":";;;;AAAA,wCAA4D;AAC5D,0CAKuB;AAEvB,wCAAiD;AACjD,0CAA6C;AAC7C,+DAAyD;AACzD,+CAA0C;AAC1C,qDAAgE;AAEhE,MAAa,UAAW,SAAQ,uCAAiB;IAAjD;;QACS,SAAI,GAAG,EAAE,CAAA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,CAAC;CACF;AApFD,gCAoFC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TextMessage, TextWithButtonsMessage } from '@botonic/core';
|
|
2
|
-
import { ActionRequest } from '@botonic/react';
|
|
3
|
-
import { FlowBuilderApi } from '../api';
|
|
1
|
+
import type { TextMessage, TextWithButtonsMessage } from '@botonic/core';
|
|
2
|
+
import { type ActionRequest } from '@botonic/react';
|
|
3
|
+
import type { FlowBuilderApi } from '../api';
|
|
4
4
|
import { ContentFieldsBase } from './content-fields-base';
|
|
5
5
|
import { FlowButton } from './flow-button';
|
|
6
|
-
import { HtButtonStyle, HtTextNode } from './hubtype-fields';
|
|
6
|
+
import { HtButtonStyle, type HtTextNode } from './hubtype-fields';
|
|
7
7
|
export declare class FlowText extends ContentFieldsBase {
|
|
8
8
|
text: string;
|
|
9
9
|
buttons: FlowButton[];
|
|
@@ -19,7 +19,7 @@ class FlowText extends content_fields_base_1.ContentFieldsBase {
|
|
|
19
19
|
const newText = new FlowText(cmsText.id);
|
|
20
20
|
newText.code = cmsText.code;
|
|
21
21
|
newText.buttonStyle = cmsText.content.buttons_style || hubtype_fields_1.HtButtonStyle.BUTTON;
|
|
22
|
-
newText.text =
|
|
22
|
+
newText.text = FlowText.getTextByLocale(locale, cmsText.content.text);
|
|
23
23
|
newText.buttons = cmsText.content.buttons.map(button => flow_button_1.FlowButton.fromHubtypeCMS(button, locale, cmsApi));
|
|
24
24
|
newText.followUp = cmsText.follow_up;
|
|
25
25
|
return newText;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-text.js","sourceRoot":"","sources":["../../../src/content-fields/flow-text.tsx"],"names":[],"mappings":";;;;AACA,
|
|
1
|
+
{"version":3,"file":"flow-text.js","sourceRoot":"","sources":["../../../src/content-fields/flow-text.tsx"],"names":[],"mappings":";;;;AACA,0CAAyD;AAGzD,4CAAmE;AACnE,0CAA6C;AAC7C,+DAAyD;AACzD,+CAA0C;AAC1C,qDAAiE;AAEj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AAmC,CAAA;QACzD,CAAC;QAED,OAAO,CACL,wBAAC,YAAI,eACF,WAAW,CAAC,OAAO,CAAC,IAAI,EACxB,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,WAAW,EAAE,EAAE;oBACvD,MAAM,UAAU,GAAG;wBACjB,EAAE,EAAE,GAAG,EAAE,WAAW,WAAW,EAAE;wBACjC,IAAI,EAAE,MAAM,CAAC,IAAI;wBACjB,GAAG,EAAE,MAAM,CAAC,GAAG;wBACf,OAAO,EACL,MAAM,CAAC,OAAO;4BACd,GAAG,yBAAa,GAAG,iCAAqB,GAAG,WAAW,EAAE;qBAC3D,CAAA;oBACD,OAAO,wBAAU,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,YAAY,CAAC,WAAW,CAAC,CAAA;gBACrE,CAAC,CAAC,KAZO,EAAE,CAaN,CACR,CAAA;IACH,CAAC;IAED,SAAS,CAAC,EAAU,EAAE,OAAsB;QAC1C,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;QAC9D,OAAO,CACL,wBAAC,YAAI,eACF,YAAY,EACZ,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,WAAW,EAAE,EAAE,CACxC,MAAM,CAAC,YAAY,CAAC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,CACnD,KAJQ,EAAE,CAKN,CACR,CAAA;IACH,CAAC;CACF;AAlED,4BAkEC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ActionRequest } from '@botonic/react';
|
|
1
|
+
import { type ActionRequest } from '@botonic/react';
|
|
2
2
|
import { ContentFieldsBase } from './content-fields-base';
|
|
3
|
-
import { HtVideoNode } from './hubtype-fields';
|
|
3
|
+
import type { HtVideoNode } from './hubtype-fields';
|
|
4
4
|
export declare class FlowVideo extends ContentFieldsBase {
|
|
5
5
|
src: string;
|
|
6
6
|
static fromHubtypeCMS(component: HtVideoNode, locale: string): FlowVideo;
|
|
@@ -13,7 +13,7 @@ class FlowVideo extends content_fields_base_1.ContentFieldsBase {
|
|
|
13
13
|
static fromHubtypeCMS(component, locale) {
|
|
14
14
|
const newVideo = new FlowVideo(component.id);
|
|
15
15
|
newVideo.code = component.code;
|
|
16
|
-
newVideo.src =
|
|
16
|
+
newVideo.src = FlowVideo.getVideoByLocale(locale, component.content.video);
|
|
17
17
|
newVideo.followUp = component.follow_up;
|
|
18
18
|
return newVideo;
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-video.js","sourceRoot":"","sources":["../../../src/content-fields/flow-video.tsx"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"flow-video.js","sourceRoot":"","sources":["../../../src/content-fields/flow-video.tsx"],"names":[],"mappings":";;;;AAAA,0CAA0D;AAE1D,0CAA6C;AAC7C,+DAAyD;AAGzD,MAAa,SAAU,SAAQ,uCAAiB;IAAhD;;QACS,QAAG,GAAG,EAAE,CAAA;IAkBjB,CAAC;IAhBC,MAAM,CAAC,cAAc,CAAC,SAAsB,EAAE,MAAc;QAC1D,MAAM,QAAQ,GAAG,IAAI,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC5C,QAAQ,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAA;QAC9B,QAAQ,CAAC,GAAG,GAAG,SAAS,CAAC,gBAAgB,CAAC,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QAC1E,QAAQ,CAAC,QAAQ,GAAG,SAAS,CAAC,SAAS,CAAA;QAEvC,OAAO,QAAQ,CAAA;IACjB,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,OAAsB;QACpC,MAAM,IAAA,0BAAe,EAAC,OAAO,EAAE,IAAI,CAAC,CAAA;IACtC,CAAC;IAED,SAAS,CAAC,EAAU;QAClB,OAAO,uBAAC,aAAK,IAAU,GAAG,EAAE,IAAI,CAAC,GAAG,IAAjB,EAAE,CAAmB,CAAA;IAC1C,CAAC;CACF;AAnBD,8BAmBC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ActionRequest } from '@botonic/react';
|
|
1
|
+
import type { ActionRequest } from '@botonic/react';
|
|
2
2
|
import { ContentFieldsBase } from './content-fields-base';
|
|
3
|
-
import { HtWebviewExits, HtWebviewNode } from './hubtype-fields';
|
|
3
|
+
import type { HtWebviewExits, HtWebviewNode } from './hubtype-fields';
|
|
4
4
|
export declare class FlowWebview extends ContentFieldsBase {
|
|
5
5
|
webviewTargetId: string;
|
|
6
6
|
webviewName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-webview.js","sourceRoot":"","sources":["../../../src/content-fields/flow-webview.tsx"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"flow-webview.js","sourceRoot":"","sources":["../../../src/content-fields/flow-webview.tsx"],"names":[],"mappings":";;;AAAA,wCAA6E;AAG7E,0CAGoB;AACpB,+DAAyD;AAGzD,MAAa,WAAY,SAAQ,uCAAiB;IAAlD;;QACS,oBAAe,GAAW,EAAE,CAAA;QAC5B,gBAAW,GAAW,EAAE,CAAA;QACxB,yBAAoB,GAAW,EAAE,CAAA;QACjC,UAAK,GAAqB,EAAE,CAAA;IA+BrC,CAAC;IA7BC,MAAM,CAAC,cAAc,CAAC,SAAwB;QAC5C,MAAM,UAAU,GAAG,IAAI,WAAW,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAChD,UAAU,CAAC,eAAe,GAAG,SAAS,CAAC,OAAO,CAAC,iBAAiB,CAAA;QAChE,UAAU,CAAC,WAAW,GAAG,SAAS,CAAC,OAAO,CAAC,YAAY,CAAA;QACvD,UAAU,CAAC,oBAAoB,GAAG,SAAS,CAAC,OAAO,CAAC,sBAAsB,CAAA;QAC1E,UAAU,CAAC,KAAK,GAAG,SAAS,CAAC,OAAO,CAAC,KAAK,CAAA;QAC1C,UAAU,CAAC,QAAQ,GAAG,SAAS,CAAC,SAAS,CAAA;QAEzC,OAAO,UAAU,CAAA;IACnB,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,OAAsB;QACpC,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,iBAAiB,EAAE,GACrE,IAAA,oDAAyC,EAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC,CAAA;QAE7D,MAAM,2BAA2B,GAAgC;YAC/D,MAAM,EAAE,kBAAW,CAAC,sBAAsB;YAC1C,YAAY;YACZ,MAAM;YACN,QAAQ;YACR,UAAU;YACV,iBAAiB;YACjB,oBAAoB,EAAE,KAAK;YAC3B,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAA;QACD,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,GAAG,2BAA2B,CAAA;QAC5D,MAAM,IAAA,qBAAU,EAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,CAAA;IAC9C,CAAC;CACF;AAnCD,kCAmCC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ActionRequest, WhatsappCTAUrlHeaderType } from '@botonic/react';
|
|
2
|
-
import { FlowBuilderApi } from '../api';
|
|
1
|
+
import { type ActionRequest, WhatsappCTAUrlHeaderType } from '@botonic/react';
|
|
2
|
+
import type { FlowBuilderApi } from '../api';
|
|
3
3
|
import { ContentFieldsBase } from './content-fields-base';
|
|
4
|
-
import { HtWhatsappCTAUrlButtonNode } from './hubtype-fields';
|
|
4
|
+
import type { HtWhatsappCTAUrlButtonNode } from './hubtype-fields';
|
|
5
5
|
export declare class FlowWhatsappCtaUrlButtonNode extends ContentFieldsBase {
|
|
6
6
|
text: string;
|
|
7
7
|
header?: string;
|
|
@@ -17,9 +17,9 @@ class FlowWhatsappCtaUrlButtonNode extends content_fields_base_1.ContentFieldsBa
|
|
|
17
17
|
static fromHubtypeCMS(component, locale, cmsApi) {
|
|
18
18
|
const whatsappCtaUrlButton = new FlowWhatsappCtaUrlButtonNode(component.id);
|
|
19
19
|
whatsappCtaUrlButton.code = component.code;
|
|
20
|
-
whatsappCtaUrlButton.text =
|
|
20
|
+
whatsappCtaUrlButton.text = FlowWhatsappCtaUrlButtonNode.getTextByLocale(locale, component.content.text);
|
|
21
21
|
FlowWhatsappCtaUrlButtonNode.setHeader(whatsappCtaUrlButton, component, locale);
|
|
22
|
-
whatsappCtaUrlButton.footer =
|
|
22
|
+
whatsappCtaUrlButton.footer = FlowWhatsappCtaUrlButtonNode.getTextByLocale(locale, component.content.footer);
|
|
23
23
|
const button = flow_button_1.FlowButton.fromHubtypeCMS(component.content.button, locale, cmsApi);
|
|
24
24
|
whatsappCtaUrlButton.displayText = button.text;
|
|
25
25
|
const urlId = flow_button_1.FlowButton.getUrlId(component.content.button, locale);
|
|
@@ -38,19 +38,23 @@ class FlowWhatsappCtaUrlButtonNode extends content_fields_base_1.ContentFieldsBa
|
|
|
38
38
|
whatsappCtaUrlButton.headerType = component.content
|
|
39
39
|
.header_type;
|
|
40
40
|
if (component.content.header_type === react_1.WhatsappCTAUrlHeaderType.Text) {
|
|
41
|
-
whatsappCtaUrlButton.header =
|
|
41
|
+
whatsappCtaUrlButton.header =
|
|
42
|
+
FlowWhatsappCtaUrlButtonNode.getTextByLocale(locale, component.content.header);
|
|
42
43
|
}
|
|
43
44
|
if (component.content.header_type === react_1.WhatsappCTAUrlHeaderType.Image &&
|
|
44
45
|
component.content.header_image) {
|
|
45
|
-
whatsappCtaUrlButton.headerImage =
|
|
46
|
+
whatsappCtaUrlButton.headerImage =
|
|
47
|
+
FlowWhatsappCtaUrlButtonNode.getAssetByLocale(locale, component.content.header_image);
|
|
46
48
|
}
|
|
47
49
|
if (component.content.header_type === react_1.WhatsappCTAUrlHeaderType.Video &&
|
|
48
50
|
component.content.header_video) {
|
|
49
|
-
whatsappCtaUrlButton.headerVideo =
|
|
51
|
+
whatsappCtaUrlButton.headerVideo =
|
|
52
|
+
FlowWhatsappCtaUrlButtonNode.getAssetByLocale(locale, component.content.header_video);
|
|
50
53
|
}
|
|
51
54
|
if (component.content.header_type === react_1.WhatsappCTAUrlHeaderType.Document &&
|
|
52
55
|
component.content.header_document) {
|
|
53
|
-
whatsappCtaUrlButton.headerDocument =
|
|
56
|
+
whatsappCtaUrlButton.headerDocument =
|
|
57
|
+
FlowWhatsappCtaUrlButtonNode.getAssetByLocale(locale, component.content.header_document);
|
|
54
58
|
}
|
|
55
59
|
}
|
|
56
60
|
async trackFlow(request) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-whatsapp-cta-url-button.js","sourceRoot":"","sources":["../../../src/content-fields/flow-whatsapp-cta-url-button.tsx"],"names":[],"mappings":";;;;AAAA,wCAA0C;AAC1C,0CAMuB;
|
|
1
|
+
{"version":3,"file":"flow-whatsapp-cta-url-button.js","sourceRoot":"","sources":["../../../src/content-fields/flow-whatsapp-cta-url-button.tsx"],"names":[],"mappings":";;;;AAAA,wCAA0C;AAC1C,0CAMuB;AAGvB,0CAA6C;AAC7C,+DAAyD;AACzD,+CAA0C;AAG1C,MAAa,4BAA6B,SAAQ,uCAAiB;IAAnE;;QACS,SAAI,GAAG,EAAE,CAAA;QAOT,gBAAW,GAAG,EAAE,CAAA;QAChB,QAAG,GAAW,EAAE,CAAA;IAwLzB,CAAC;IAtLC,MAAM,CAAC,cAAc,CACnB,SAAqC,EACrC,MAAc,EACd,MAAsB;QAEtB,MAAM,oBAAoB,GAAG,IAAI,4BAA4B,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;QAC3E,oBAAoB,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAA;QAC1C,oBAAoB,CAAC,IAAI,GAAG,4BAA4B,CAAC,eAAe,CACtE,MAAM,EACN,SAAS,CAAC,OAAO,CAAC,IAAI,CACvB,CAAA;QACD,4BAA4B,CAAC,SA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AAM,EAAE,IAAI,CAAC,MAAM,EACnB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,GAAG,EAAE,IAAI,CAAC,GAAG,IANR,EAAE,CAOP,CACH,CAAA;QACH,CAAC;QAED,OAAO,CACL,uBAAC,4BAAoB,IAEnB,IAAI,EAAE,YAAY,EAClB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,GAAG,EAAE,IAAI,CAAC,GAAG,IAJR,EAAE,CAKP,CACH,CAAA;IACH,CAAC;CACF;AAjMD,oEAiMC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ActionRequest, WhatsAppTemplateParameterType } from '@botonic/react';
|
|
1
|
+
import { type ActionRequest, WhatsAppTemplateParameterType } from '@botonic/react';
|
|
2
2
|
import { ContentFieldsBase } from './content-fields-base';
|
|
3
|
-
import { HtButton, HtMediaFileLocale, HtWhatsAppTemplate, HtWhatsappTemplateNode } from './hubtype-fields';
|
|
3
|
+
import type { HtButton, HtMediaFileLocale, HtWhatsAppTemplate, HtWhatsappTemplateNode } from './hubtype-fields';
|
|
4
4
|
interface HeaderVariables {
|
|
5
5
|
type: WhatsAppTemplateParameterType;
|
|
6
6
|
text?: Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow-whatsapp-template.js","sourceRoot":"","sources":["../../../src/content-fields/flow-whatsapp-template.tsx"],"names":[],"mappings":";;;;AAAA,wCAA0C;AAC1C,0CAcuB;
|
|
1
|
+
{"version":3,"file":"flow-whatsapp-template.js","sourceRoot":"","sources":["../../../src/content-fields/flow-whatsapp-template.tsx"],"names":[],"mappings":";;;;AAAA,wCAA0C;AAC1C,0CAcuB;AAEvB,wCAAiD;AACjD,0CAA6C;AAC7C,+DAAyD;AAgBzD,MAAa,oBAAqB,SAAQ,uCAAi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H,CAAC;QAED,OAAO,CACL,wBAAC,YAAI,eACF,sBAAsB,YAAY,KAAK,gBAAgB,GAAG,EAC1D,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,EAC9C,IAAI,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,EAC1C,OAAO,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,KAJxC,EAAE,CAKN,CACR,CAAA;IACH,CAAC;CACF;AAtQD,oDAsQC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export interface HtInputGuardrailRule {
|
|
4
4
|
name: string;
|
|
5
5
|
description: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export interface HtBotActionNode extends HtBaseNode {
|
|
4
4
|
id: string;
|
|
5
5
|
type: HtNodeWithContentType.BOT_ACTION;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export declare enum HtAiValidationType {
|
|
4
4
|
NONE = "none",
|
|
5
5
|
NAME = "name",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HtButton } from './button';
|
|
2
|
-
import { HtBaseNode, HtMediaFileLocale, HtTextLocale } from './common';
|
|
3
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtButton } from './button';
|
|
2
|
+
import type { HtBaseNode, HtMediaFileLocale, HtTextLocale } from './common';
|
|
3
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
4
4
|
export interface HtCarouselElement {
|
|
5
5
|
id: string;
|
|
6
6
|
title: HtTextLocale[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HtBaseNode } from './common';
|
|
2
|
-
import { HtFunctionResult } from './function';
|
|
3
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common';
|
|
2
|
+
import type { HtFunctionResult } from './function';
|
|
3
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
4
4
|
export interface HtChannelConditionalNode extends HtBaseNode {
|
|
5
5
|
type: HtNodeWithContentType.FUNCTION;
|
|
6
6
|
content: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtNodeWithContentType, HtNodeWithoutContentType } from './node-types';
|
|
2
|
-
import { HtNodeComponent } from './nodes';
|
|
1
|
+
import type { HtNodeWithContentType, HtNodeWithoutContentType } from './node-types';
|
|
2
|
+
import type { HtNodeComponent } from './nodes';
|
|
3
3
|
export interface HtFlowBuilderData {
|
|
4
4
|
version: string;
|
|
5
5
|
name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HtBaseNode } from './common';
|
|
2
|
-
import { HtFunctionResult } from './function';
|
|
3
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common';
|
|
2
|
+
import type { HtFunctionResult } from './function';
|
|
3
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
4
4
|
export interface HtCountryConditionalNode extends HtBaseNode {
|
|
5
5
|
type: HtNodeWithContentType.FUNCTION;
|
|
6
6
|
content: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HtBaseNode } from './common';
|
|
2
|
-
import { HtFunctionArguments, HtFunctionResult } from './function';
|
|
3
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common';
|
|
2
|
+
import type { HtFunctionArguments, HtFunctionResult } from './function';
|
|
3
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
4
4
|
export interface HtCustomConditionalNode extends HtBaseNode {
|
|
5
5
|
type: HtNodeWithContentType.FUNCTION;
|
|
6
6
|
content: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export interface HtFallbackNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.FALLBACK;
|
|
5
5
|
content: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export declare enum HtArgumentType {
|
|
4
4
|
BOOLEAN = "boolean",
|
|
5
5
|
NUMBER = "number",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export interface HtGoToFlow extends HtBaseNode {
|
|
4
4
|
id: string;
|
|
5
5
|
type: HtNodeWithContentType.GO_TO_FLOW;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode, HtPayloadLocale, HtQueueLocale } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtPayloadLocale, HtQueueLocale } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export interface HtHandoffNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.HANDOFF;
|
|
5
5
|
content: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode, HtMediaFileLocale } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtMediaFileLocale } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export interface HtImageNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.IMAGE;
|
|
5
5
|
content: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode, HtInputLocale, HtTextLocale } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtInputLocale, HtTextLocale } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export interface HtKeywordNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.KEYWORD;
|
|
5
5
|
content: {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { HtAiAgentNode } from './ai-agent';
|
|
2
|
-
import { HtBotActionNode } from './bot-action';
|
|
3
|
-
import { HtCaptureUserInputNode } from './capture-user-input';
|
|
4
|
-
import { HtCarouselNode } from './carousel';
|
|
5
|
-
import { HtFallbackNode } from './fallback';
|
|
6
|
-
import { HtFunctionNode } from './function';
|
|
7
|
-
import { HtGoToFlow } from './go-to-flow';
|
|
8
|
-
import { HtHandoffNode } from './handoff';
|
|
9
|
-
import { HtImageNode } from './image';
|
|
10
|
-
import { HtKeywordNode } from './keyword';
|
|
11
|
-
import { HtKnowledgeBaseNode } from './knowledge-base';
|
|
12
|
-
import { HtPayloadNode } from './payload';
|
|
13
|
-
import { HtRatingNode } from './rating';
|
|
14
|
-
import { HtSmartIntentNode } from './smart-intent';
|
|
15
|
-
import { HtTextNode } from './text';
|
|
16
|
-
import { HtUrlNode } from './url';
|
|
17
|
-
import { HtVideoNode } from './video';
|
|
18
|
-
import { HtWebviewNode } from './webview';
|
|
19
|
-
import { HtWhatsappButtonListNode } from './whatsapp-button-list';
|
|
20
|
-
import { HtWhatsappCTAUrlButtonNode } from './whatsapp-cta-url-button';
|
|
21
|
-
import { HtWhatsappTemplateNode } from './whatsapp-template';
|
|
1
|
+
import type { HtAiAgentNode } from './ai-agent';
|
|
2
|
+
import type { HtBotActionNode } from './bot-action';
|
|
3
|
+
import type { HtCaptureUserInputNode } from './capture-user-input';
|
|
4
|
+
import type { HtCarouselNode } from './carousel';
|
|
5
|
+
import type { HtFallbackNode } from './fallback';
|
|
6
|
+
import type { HtFunctionNode } from './function';
|
|
7
|
+
import type { HtGoToFlow } from './go-to-flow';
|
|
8
|
+
import type { HtHandoffNode } from './handoff';
|
|
9
|
+
import type { HtImageNode } from './image';
|
|
10
|
+
import type { HtKeywordNode } from './keyword';
|
|
11
|
+
import type { HtKnowledgeBaseNode } from './knowledge-base';
|
|
12
|
+
import type { HtPayloadNode } from './payload';
|
|
13
|
+
import type { HtRatingNode } from './rating';
|
|
14
|
+
import type { HtSmartIntentNode } from './smart-intent';
|
|
15
|
+
import type { HtTextNode } from './text';
|
|
16
|
+
import type { HtUrlNode } from './url';
|
|
17
|
+
import type { HtVideoNode } from './video';
|
|
18
|
+
import type { HtWebviewNode } from './webview';
|
|
19
|
+
import type { HtWhatsappButtonListNode } from './whatsapp-button-list';
|
|
20
|
+
import type { HtWhatsappCTAUrlButtonNode } from './whatsapp-cta-url-button';
|
|
21
|
+
import type { HtWhatsappTemplateNode } from './whatsapp-template';
|
|
22
22
|
export type HtNodeWithContent = HtTextNode | HtImageNode | HtVideoNode | HtCarouselNode | HtHandoffNode | HtKeywordNode | HtFunctionNode | HtFallbackNode | HtWhatsappButtonListNode | HtWhatsappCTAUrlButtonNode | HtSmartIntentNode | HtKnowledgeBaseNode | HtBotActionNode | HtAiAgentNode | HtRatingNode | HtWebviewNode | HtGoToFlow | HtWhatsappTemplateNode | HtCaptureUserInputNode;
|
|
23
23
|
export type HtNodeWithoutContent = HtUrlNode | HtPayloadNode;
|
|
24
24
|
export type HtNodeComponent = HtNodeWithContent | HtNodeWithoutContent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
-
import { HtFunctionArguments, HtFunctionResult } from './function';
|
|
3
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
+
import type { HtFunctionArguments, HtFunctionResult } from './function';
|
|
3
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
4
4
|
export type HtQueueStatusConditionalResultMapping = [
|
|
5
5
|
{
|
|
6
6
|
result: 'open';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode, HtNodeLink, HtTextLocale } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink, HtTextLocale } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export declare enum RatingType {
|
|
4
4
|
Stars = "stars",
|
|
5
5
|
Smileys = "smileys"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HtButton } from './button';
|
|
2
|
-
import { HtBaseNode, HtTextLocale } from './common';
|
|
3
|
-
import { HtButtonStyle, HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtButton } from './button';
|
|
2
|
+
import type { HtBaseNode, HtTextLocale } from './common';
|
|
3
|
+
import type { HtButtonStyle, HtNodeWithContentType } from './node-types';
|
|
4
4
|
export interface HtTextNode extends HtBaseNode {
|
|
5
5
|
type: HtNodeWithContentType.TEXT;
|
|
6
6
|
content: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode, HtVideoLocale } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtVideoLocale } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export interface HtVideoNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.VIDEO;
|
|
5
5
|
content: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export interface HtWebviewExits {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HtBaseNode, HtNodeLink, HtTextLocale } from './common';
|
|
2
|
-
import { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink, HtTextLocale } from './common';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types';
|
|
3
3
|
export interface HtWhatsappButtonListRow {
|
|
4
4
|
id: string;
|
|
5
5
|
text: HtTextLocale[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { WhatsappCTAUrlHeaderType } from '@botonic/react';
|
|
2
|
-
import { HtButton } from './button';
|
|
3
|
-
import { HtBaseNode, HtMediaFileLocale, HtTextLocale } from './common';
|
|
4
|
-
import { HtNodeWithContentType } from './node-types';
|
|
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';
|
|
5
5
|
export interface HtWhatsappCTAUrlButtonNode extends HtBaseNode {
|
|
6
6
|
type: HtNodeWithContentType.WHATSAPP_CTA_URL_BUTTON;
|
|
7
7
|
content: {
|