@botonic/plugin-flow-builder 0.56.0-alpha.0 → 0.57.0-rslib-esm.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/esm/action/ai-agent-from-user-input.d.ts +2 -2
- package/lib/esm/action/ai-agent-from-user-input.js +9 -6
- package/lib/esm/action/ai-agent-from-user-input.js.map +1 -1
- package/lib/esm/action/context.d.ts +2 -2
- package/lib/esm/action/context.js +9 -6
- package/lib/esm/action/context.js.map +1 -1
- package/lib/esm/action/fallback.d.ts +2 -2
- package/lib/esm/action/fallback.js +16 -11
- 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 +39 -27
- package/lib/esm/action/first-interaction.js.map +1 -1
- package/lib/esm/action/get-contents.d.ts +1 -1
- package/lib/esm/action/get-contents.js +37 -20
- package/lib/esm/action/get-contents.js.map +1 -1
- package/lib/esm/action/index.d.ts +1 -1
- package/lib/esm/action/index.js +68 -32
- package/lib/esm/action/index.js.map +1 -1
- package/lib/esm/action/payload.d.ts +2 -2
- package/lib/esm/action/payload.js +27 -23
- package/lib/esm/action/payload.js.map +1 -1
- package/lib/esm/api.d.ts +2 -2
- package/lib/esm/api.js +55 -44
- package/lib/esm/api.js.map +1 -1
- package/lib/esm/constants.js +16 -18
- package/lib/esm/constants.js.map +1 -1
- package/lib/esm/content-fields/content-fields-base.d.ts +2 -2
- package/lib/esm/content-fields/content-fields-base.js +33 -29
- package/lib/esm/content-fields/content-fields-base.js.map +1 -1
- package/lib/esm/content-fields/custom-conditional/custom-conditional-v2-evaluators.d.ts +1 -1
- package/lib/esm/content-fields/custom-conditional/custom-conditional-v2-evaluators.js +35 -33
- package/lib/esm/content-fields/custom-conditional/custom-conditional-v2-evaluators.js.map +1 -1
- package/lib/esm/content-fields/custom-conditional/custom-conditional-v2-resolver.d.ts +1 -1
- package/lib/esm/content-fields/custom-conditional/custom-conditional-v2-resolver.js +15 -15
- package/lib/esm/content-fields/custom-conditional/custom-conditional-v2-resolver.js.map +1 -1
- package/lib/esm/content-fields/custom-conditional/flow-custom-condition-v2.d.ts +2 -2
- package/lib/esm/content-fields/custom-conditional/flow-custom-condition-v2.js +50 -35
- package/lib/esm/content-fields/custom-conditional/flow-custom-condition-v2.js.map +1 -1
- package/lib/esm/content-fields/flow-ai-agent-base.d.ts +4 -4
- package/lib/esm/content-fields/flow-ai-agent-base.js +50 -47
- package/lib/esm/content-fields/flow-ai-agent-base.js.map +1 -1
- package/lib/esm/content-fields/flow-ai-agent-router.d.ts +5 -5
- package/lib/esm/content-fields/flow-ai-agent-router.js +57 -46
- package/lib/esm/content-fields/flow-ai-agent-router.js.map +1 -1
- package/lib/esm/content-fields/flow-ai-agent.d.ts +4 -4
- package/lib/esm/content-fields/flow-ai-agent.js +33 -22
- 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 +23 -15
- package/lib/esm/content-fields/flow-bot-action.js.map +1 -1
- package/lib/esm/content-fields/flow-button.d.ts +5 -5
- package/lib/esm/content-fields/flow-button.js +48 -29
- 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-capture-user-input.js +24 -23
- package/lib/esm/content-fields/flow-capture-user-input.js.map +1 -1
- package/lib/esm/content-fields/flow-carousel.d.ts +4 -4
- package/lib/esm/content-fields/flow-carousel.js +99 -58
- 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 +26 -22
- 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 +26 -21
- 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 +31 -33
- 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 +37 -20
- 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 +25 -20
- 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 +30 -19
- 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 +24 -15
- package/lib/esm/content-fields/flow-image.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 +45 -40
- package/lib/esm/content-fields/flow-queue-status-conditional.js.map +1 -1
- package/lib/esm/content-fields/flow-rating.d.ts +3 -3
- package/lib/esm/content-fields/flow-rating.js +62 -40
- 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 +51 -29
- 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 +24 -15
- 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 +31 -28
- 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 +91 -52
- package/lib/esm/content-fields/flow-whatsapp-cta-url-button.js.map +1 -1
- package/lib/esm/content-fields/flow-whatsapp-request-contact-info.d.ts +3 -4
- package/lib/esm/content-fields/flow-whatsapp-request-contact-info.js +32 -26
- package/lib/esm/content-fields/flow-whatsapp-request-contact-info.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 +119 -102
- package/lib/esm/content-fields/flow-whatsapp-template.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/ai-agent-router.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/ai-agent-router.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/ai-agent-router.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/ai-agent.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/ai-agent.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/ai-agent.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/bot-action.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/bot-action.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/bot-action.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/button.d.ts +1 -1
- package/lib/esm/content-fields/hubtype-fields/button.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/button.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/capture-user-input.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/capture-user-input.js +6 -6
- package/lib/esm/content-fields/hubtype-fields/capture-user-input.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/carousel.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/carousel.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/carousel.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/channel-conditional.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/channel-conditional.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/channel-conditional.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/common.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/common.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/common.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/country-conditional.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/country-conditional.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/country-conditional.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/custom-conditional-v2.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/custom-conditional-v2.js +15 -15
- package/lib/esm/content-fields/hubtype-fields/custom-conditional-v2.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/custom-conditional.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/custom-conditional.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/custom-conditional.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/fallback.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/fallback.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/fallback.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/function.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/function.js +6 -6
- package/lib/esm/content-fields/hubtype-fields/function.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/go-to-flow.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/go-to-flow.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/go-to-flow.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/handoff.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/handoff.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/handoff.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/image.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/image.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/image.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/index.d.ts +27 -27
- package/lib/esm/content-fields/hubtype-fields/index.js +56 -30
- package/lib/esm/content-fields/hubtype-fields/index.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/keyword.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/keyword.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/keyword.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/node-types.js +12 -12
- package/lib/esm/content-fields/hubtype-fields/node-types.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/nodes.d.ts +23 -23
- package/lib/esm/content-fields/hubtype-fields/nodes.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/nodes.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/payload.d.ts +1 -1
- package/lib/esm/content-fields/hubtype-fields/payload.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/payload.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/queue-status-conditional.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/queue-status-conditional.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/queue-status-conditional.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/rating.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/rating.js +6 -6
- package/lib/esm/content-fields/hubtype-fields/rating.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/smart-intent.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/smart-intent.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/smart-intent.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/text.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/text.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/text.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/url.d.ts +1 -1
- package/lib/esm/content-fields/hubtype-fields/url.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/url.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/video.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/video.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/video.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/webview.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/webview.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/webview.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/whatsapp-button-list.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/whatsapp-button-list.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/whatsapp-button-list.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/whatsapp-cta-url-button.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/whatsapp-cta-url-button.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/whatsapp-cta-url-button.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/whatsapp-request-contact-info.d.ts +2 -2
- package/lib/esm/content-fields/hubtype-fields/whatsapp-request-contact-info.js +3 -2
- package/lib/esm/content-fields/hubtype-fields/whatsapp-request-contact-info.js.map +1 -1
- package/lib/esm/content-fields/hubtype-fields/whatsapp-template.d.ts +3 -3
- package/lib/esm/content-fields/hubtype-fields/whatsapp-template.js +6 -6
- package/lib/esm/content-fields/hubtype-fields/whatsapp-template.js.map +1 -1
- package/lib/esm/content-fields/index.d.ts +23 -23
- package/lib/esm/content-fields/index.js +72 -51
- package/lib/esm/content-fields/index.js.map +1 -1
- 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 +16 -14
- 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 +4 -4
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list-section.js +20 -15
- 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 +4 -4
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js +46 -26
- package/lib/esm/content-fields/whatsapp-button-list/flow-whatsapp-button-list.js.map +1 -1
- package/lib/esm/content-fields/whatsapp-button-list/index.d.ts +3 -3
- package/lib/esm/content-fields/whatsapp-button-list/index.js +11 -9
- package/lib/esm/content-fields/whatsapp-button-list/index.js.map +1 -1
- package/lib/esm/filters/index.d.ts +2 -2
- package/lib/esm/filters/index.js +8 -9
- package/lib/esm/filters/index.js.map +1 -1
- package/lib/esm/flow-factory.d.ts +3 -3
- package/lib/esm/flow-factory.js +57 -51
- package/lib/esm/flow-factory.js.map +1 -1
- package/lib/esm/functions/index.d.ts +1 -1
- package/lib/esm/functions/index.js +25 -19
- package/lib/esm/functions/index.js.map +1 -1
- package/lib/esm/index.d.ts +12 -12
- package/lib/esm/index.js +94 -77
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/package.json +3 -0
- package/lib/esm/services/hubtype-queues-api.js +14 -14
- package/lib/esm/services/hubtype-queues-api.js.map +1 -1
- package/lib/esm/structured-output/flow-builder-content.js +14 -13
- package/lib/esm/structured-output/flow-builder-content.js.map +1 -1
- package/lib/esm/tracking.d.ts +2 -2
- package/lib/esm/tracking.js +27 -21
- package/lib/esm/tracking.js.map +1 -1
- package/lib/esm/types.d.ts +5 -5
- package/lib/esm/types.js +9 -9
- package/lib/esm/types.js.map +1 -1
- package/lib/esm/user-input/capture-user-input-api.d.ts +2 -2
- package/lib/esm/user-input/capture-user-input-api.js +44 -33
- package/lib/esm/user-input/capture-user-input-api.js.map +1 -1
- package/lib/esm/user-input/index.d.ts +2 -2
- package/lib/esm/user-input/index.js +23 -14
- package/lib/esm/user-input/index.js.map +1 -1
- package/lib/esm/user-input/keyword.d.ts +2 -2
- package/lib/esm/user-input/keyword.js +31 -26
- package/lib/esm/user-input/keyword.js.map +1 -1
- package/lib/esm/user-input/smart-intent.d.ts +2 -2
- package/lib/esm/user-input/smart-intent.js +36 -32
- package/lib/esm/user-input/smart-intent.js.map +1 -1
- package/lib/esm/utils/ai-agent.d.ts +3 -3
- package/lib/esm/utils/ai-agent.js +17 -12
- package/lib/esm/utils/ai-agent.js.map +1 -1
- package/lib/esm/utils/authentication.js +10 -7
- package/lib/esm/utils/authentication.js.map +1 -1
- package/lib/esm/utils/flow-locale.js +14 -18
- package/lib/esm/utils/flow-locale.js.map +1 -1
- package/lib/esm/utils/get-flow-builder-plugin.d.ts +1 -1
- package/lib/esm/utils/get-flow-builder-plugin.js +4 -4
- package/lib/esm/utils/get-flow-builder-plugin.js.map +1 -1
- package/lib/esm/utils/hubtype-assistant-content.d.ts +1 -2
- package/lib/esm/utils/hubtype-assistant-content.js +57 -54
- package/lib/esm/utils/hubtype-assistant-content.js.map +1 -1
- package/lib/esm/utils/input.js +16 -14
- package/lib/esm/utils/input.js.map +1 -1
- package/lib/esm/webview/contents-context.d.ts +1 -1
- package/lib/esm/webview/contents-context.js +13 -11
- package/lib/esm/webview/contents-context.js.map +1 -1
- package/lib/esm/webview/index.d.ts +3 -3
- package/lib/esm/webview/index.js +10 -9
- package/lib/esm/webview/index.js.map +1 -1
- package/lib/esm/webview/types.d.ts +1 -1
- package/lib/esm/webview/types.js +6 -6
- package/lib/esm/webview/types.js.map +1 -1
- package/lib/esm/webview/use-webview-contents.d.ts +1 -1
- package/lib/esm/webview/use-webview-contents.js +46 -39
- package/lib/esm/webview/use-webview-contents.js.map +1 -1
- package/package.json +8 -7
- 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/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.d.ts +0 -3
- package/lib/cjs/action/ai-agent-from-user-input.js +0 -32
- 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.d.ts +0 -3
- package/lib/cjs/action/fallback.js +0 -36
- 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 +0 -88
- package/lib/cjs/action/first-interaction.js.map +0 -1
- package/lib/cjs/action/get-contents.d.ts +0 -3
- 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 +0 -74
- package/lib/cjs/action/payload.js.map +0 -1
- package/lib/cjs/api.d.ts +0 -40
- package/lib/cjs/api.js +0 -205
- package/lib/cjs/api.js.map +0 -1
- package/lib/cjs/constants.d.ts +0 -13
- 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 +0 -58
- 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.d.ts +0 -17
- 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.d.ts +0 -17
- package/lib/cjs/content-fields/flow-ai-agent.js +0 -64
- 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.d.ts +0 -14
- 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.d.ts +0 -13
- 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.d.ts +0 -17
- 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.d.ts +0 -22
- 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.d.ts +0 -17
- package/lib/cjs/content-fields/flow-handoff.js +0 -68
- package/lib/cjs/content-fields/flow-handoff.js.map +0 -1
- package/lib/cjs/content-fields/flow-image.d.ts +0 -10
- 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.d.ts +0 -30
- package/lib/cjs/content-fields/flow-queue-status-conditional.js +0 -95
- 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.d.ts +0 -15
- 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 +0 -78
- 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.d.ts +0 -37
- 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.d.ts +0 -21
- 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.d.ts +0 -25
- 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.d.ts +0 -10
- 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.d.ts +0 -8
- 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.d.ts +0 -19
- 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.d.ts +0 -10
- 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.d.ts +0 -10
- 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.d.ts +0 -9
- 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.d.ts +0 -11
- 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.d.ts +0 -9
- 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.d.ts +0 -31
- package/lib/cjs/content-fields/hubtype-fields/node-types.js +0 -38
- package/lib/cjs/content-fields/hubtype-fields/node-types.js.map +0 -1
- package/lib/cjs/content-fields/hubtype-fields/nodes.d.ts +0 -26
- 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.d.ts +0 -8
- 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.d.ts +0 -17
- 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.d.ts +0 -8
- 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.d.ts +0 -96
- 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.d.ts +0 -14
- 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.d.ts +0 -13
- 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.d.ts +0 -12
- package/lib/cjs/filters/index.js +0 -17
- package/lib/cjs/filters/index.js.map +0 -1
- package/lib/cjs/flow-factory.d.ts +0 -12
- 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 +0 -49
- package/lib/cjs/functions/index.js.map +0 -1
- package/lib/cjs/index.d.ts +0 -45
- package/lib/cjs/index.js +0 -178
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/services/hubtype-queues-api.d.ts +0 -14
- 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.d.ts +0 -13
- 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.d.ts +0 -16
- package/lib/cjs/tracking.js +0 -71
- 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 +0 -88
- 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.d.ts +0 -24
- package/lib/cjs/user-input/smart-intent.js +0 -89
- package/lib/cjs/user-input/smart-intent.js.map +0 -1
- package/lib/cjs/utils/ai-agent.d.ts +0 -11
- package/lib/cjs/utils/ai-agent.js +0 -28
- package/lib/cjs/utils/ai-agent.js.map +0 -1
- package/lib/cjs/utils/authentication.d.ts +0 -2
- package/lib/cjs/utils/authentication.js +0 -21
- package/lib/cjs/utils/authentication.js.map +0 -1
- package/lib/cjs/utils/flow-locale.d.ts +0 -22
- package/lib/cjs/utils/flow-locale.js +0 -79
- package/lib/cjs/utils/flow-locale.js.map +0 -1
- package/lib/cjs/utils/get-flow-builder-plugin.d.ts +0 -3
- package/lib/cjs/utils/get-flow-builder-plugin.js +0 -16
- package/lib/cjs/utils/get-flow-builder-plugin.js.map +0 -1
- package/lib/cjs/utils/hubtype-assistant-content.d.ts +0 -13
- package/lib/cjs/utils/hubtype-assistant-content.js +0 -184
- package/lib/cjs/utils/hubtype-assistant-content.js.map +0 -1
- package/lib/cjs/utils/input.d.ts +0 -6
- package/lib/cjs/utils/input.js +0 -35
- package/lib/cjs/utils/input.js.map +0 -1
- package/lib/cjs/webview/contents-context.d.ts +0 -2
- 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.d.ts +0 -2
- package/lib/cjs/webview/use-webview-contents.js +0 -83
- package/lib/cjs/webview/use-webview-contents.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-types.js","
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodes.js","
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","
|
|
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"}
|
|
@@ -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';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue-status-conditional.js","
|
|
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"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RatingType = void 0;
|
|
4
|
-
var RatingType;
|
|
5
|
-
(function (RatingType) {
|
|
1
|
+
var rating_RatingType = /*#__PURE__*/ function(RatingType) {
|
|
6
2
|
RatingType["Stars"] = "stars";
|
|
7
3
|
RatingType["Smileys"] = "smileys";
|
|
8
|
-
|
|
4
|
+
return RatingType;
|
|
5
|
+
}({});
|
|
6
|
+
|
|
7
|
+
export { rating_RatingType as RatingType };
|
|
8
|
+
|
|
9
9
|
//# sourceMappingURL=rating.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rating.js","
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-intent.js","
|
|
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: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.js","
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url.js","
|
|
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: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video.js","
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webview.js","
|
|
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[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-button-list.js","
|
|
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"}
|
|
@@ -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: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-cta-url-button.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/whatsapp-cta-url-button.js","sources":["../../../../src/content-fields/hubtype-fields/whatsapp-cta-url-button.ts"],"sourcesContent":["import type { WhatsappCTAUrlHeaderType } from '@botonic/react'\n\nimport type { HtButton } from './button'\nimport type { HtBaseNode, HtMediaFileLocale, HtTextLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtWhatsappCTAUrlButtonNode extends HtBaseNode {\n type: HtNodeWithContentType.WHATSAPP_CTA_URL_BUTTON\n content: {\n text: HtTextLocale[]\n header: HtTextLocale[]\n header_type?: WhatsappCTAUrlHeaderType\n header_image?: HtMediaFileLocale[]\n header_video?: HtMediaFileLocale[]\n header_document?: HtMediaFileLocale[]\n footer: HtTextLocale[]\n button: HtButton\n }\n}\n"],"names":[],"mappings":"AAkBC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtTextLocale } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtTextLocale } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtWhatsappRequestContactInfoNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.WHATSAPP_REQUEST_CONTACT_INFO;
|
|
5
5
|
content: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-request-contact-info.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/whatsapp-request-contact-info.js","sources":["../../../../src/content-fields/hubtype-fields/whatsapp-request-contact-info.ts"],"sourcesContent":["import type { HtBaseNode, HtTextLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtWhatsappRequestContactInfoNode extends HtBaseNode {\n type: HtNodeWithContentType.WHATSAPP_REQUEST_CONTACT_INFO\n content: {\n text: HtTextLocale[]\n }\n}\n"],"names":[],"mappings":"AAQC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { WhatsAppTemplateButtonSubType, WhatsAppTemplateComponentType, WhatsAppTemplateParameterType } from '@botonic/react';
|
|
2
|
-
import type { HtButton } from './button';
|
|
3
|
-
import type { HtBaseNode, HtMediaFileLocale } from './common';
|
|
4
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
2
|
+
import type { HtButton } from './button.js';
|
|
3
|
+
import type { HtBaseNode, HtMediaFileLocale } from './common.js';
|
|
4
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
5
5
|
export declare enum HtWhatsAppTemplateFlowActionType {
|
|
6
6
|
NAVIGATE = "navigate",
|
|
7
7
|
DATA_EXCHANGE = "data_exchange"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HtWhatsAppTemplateFlowActionType = void 0;
|
|
4
|
-
var HtWhatsAppTemplateFlowActionType;
|
|
5
|
-
(function (HtWhatsAppTemplateFlowActionType) {
|
|
1
|
+
var whatsapp_template_HtWhatsAppTemplateFlowActionType = /*#__PURE__*/ function(HtWhatsAppTemplateFlowActionType) {
|
|
6
2
|
HtWhatsAppTemplateFlowActionType["NAVIGATE"] = "navigate";
|
|
7
3
|
HtWhatsAppTemplateFlowActionType["DATA_EXCHANGE"] = "data_exchange";
|
|
8
|
-
|
|
4
|
+
return HtWhatsAppTemplateFlowActionType;
|
|
5
|
+
}({});
|
|
6
|
+
|
|
7
|
+
export { whatsapp_template_HtWhatsAppTemplateFlowActionType as HtWhatsAppTemplateFlowActionType };
|
|
8
|
+
|
|
9
9
|
//# sourceMappingURL=whatsapp-template.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-template.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/whatsapp-template.js","sources":["../../../../src/content-fields/hubtype-fields/whatsapp-template.ts"],"sourcesContent":["import type {\n WhatsAppTemplateButtonSubType,\n WhatsAppTemplateComponentType,\n WhatsAppTemplateParameterType,\n} from '@botonic/react'\n\nimport type { HtButton } from './button'\nimport type { HtBaseNode, HtMediaFileLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport enum HtWhatsAppTemplateFlowActionType {\n NAVIGATE = 'navigate',\n DATA_EXCHANGE = 'data_exchange',\n}\n\ntype HtWhatsAppTemplateButton =\n | {\n type: WhatsAppTemplateButtonSubType.URL\n text: string\n url?: string\n index: number\n }\n | {\n type: WhatsAppTemplateButtonSubType.QUICK_REPLY\n text: string\n id: string\n index: number\n }\n | {\n type: WhatsAppTemplateButtonSubType.PHONE_NUMBER\n text: string\n phone_number: string\n index: number\n }\n | {\n type: WhatsAppTemplateButtonSubType.VOICE_CALL\n text: string\n index: number\n }\n | {\n type: WhatsAppTemplateButtonSubType.REQUEST_CONTACT_INFO\n text?: string\n index: number\n }\n | {\n type: WhatsAppTemplateButtonSubType.FLOW\n text: string\n flow_id: string\n flow_action?: HtWhatsAppTemplateFlowActionType\n navigate_screen?: string\n index: number\n }\n\nexport interface HtFlowButtonActionValue {\n flow_token: string\n flow_action_data?: Record<string, string>\n}\n\nexport interface HtWhatsAppTemplateHeaderComponent {\n type: WhatsAppTemplateComponentType.HEADER\n format:\n | WhatsAppTemplateParameterType.TEXT\n | WhatsAppTemplateParameterType.IMAGE\n | WhatsAppTemplateParameterType.VIDEO\n text?: string\n image?: { link: string }\n video?: { link: string }\n}\n\nexport interface HtWhatsAppTemplateBodyComponent {\n type: WhatsAppTemplateComponentType.BODY\n text: string\n}\n\nexport interface HtWhatsAppTemplateFooterComponent {\n type: WhatsAppTemplateComponentType.FOOTER\n text: string\n}\n\nexport interface HtWhatsAppTemplateButtonsComponent {\n type: WhatsAppTemplateComponentType.BUTTONS\n buttons: HtWhatsAppTemplateButton[]\n}\nexport type HtWhatsAppTemplateComponent =\n | HtWhatsAppTemplateHeaderComponent\n | HtWhatsAppTemplateBodyComponent\n | HtWhatsAppTemplateFooterComponent\n | HtWhatsAppTemplateButtonsComponent\n\nexport interface HtWhatsAppTemplate {\n id: string\n name: string\n language: string\n status: string\n category: string\n components: HtWhatsAppTemplateComponent[]\n namespace: string\n parameter_format: string\n}\n\nexport interface HtWhatsappTemplateContentByLocale {\n template?: HtWhatsAppTemplate\n header_variables?: {\n type: WhatsAppTemplateParameterType\n text?: Record<string, string>\n media?: HtMediaFileLocale[]\n }\n variable_values?: Record<string, string>\n url_variable_values?: Record<string, string>\n flow_button_action_values?: Record<string, HtFlowButtonActionValue>\n}\n\nexport interface HtWhatsappTemplateNode extends HtBaseNode {\n type: HtNodeWithContentType.WHATSAPP_TEMPLATE\n content: {\n by_locale: Record<string, HtWhatsappTemplateContentByLocale>\n buttons: HtButton[]\n }\n}\n"],"names":["HtWhatsAppTemplateFlowActionType"],"mappings":"AAUO,IAAKA,kDAAgCA,0BAAhCA;;;WAAAA;MAGX"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { FlowCustomConditionalV2 } from './custom-conditional/flow-custom-condition-v2';
|
|
2
|
-
import { FlowAiAgent } from './flow-ai-agent';
|
|
3
|
-
import { FlowAiAgentRouter } from './flow-ai-agent-router';
|
|
4
|
-
import { FlowBotAction } from './flow-bot-action';
|
|
5
|
-
import { FlowCaptureUserInput } from './flow-capture-user-input';
|
|
6
|
-
import { FlowCarousel } from './flow-carousel';
|
|
7
|
-
import { FlowChannelConditional } from './flow-channel-conditional';
|
|
8
|
-
import { FlowCountryConditional } from './flow-country-conditional';
|
|
9
|
-
import { FlowCustomConditional } from './flow-custom-conditional';
|
|
10
|
-
import { FlowGoToFlow } from './flow-go-to-flow';
|
|
11
|
-
import { FlowHandoff } from './flow-handoff';
|
|
12
|
-
import { FlowImage } from './flow-image';
|
|
13
|
-
import { FlowQueueStatusConditional } from './flow-queue-status-conditional';
|
|
14
|
-
import { FlowRating } from './flow-rating';
|
|
15
|
-
import { FlowText } from './flow-text';
|
|
16
|
-
import { FlowVideo } from './flow-video';
|
|
17
|
-
import { FlowWhatsappCtaUrlButtonNode } from './flow-whatsapp-cta-url-button';
|
|
18
|
-
import { FlowWhatsappRequestContactInfoNode } from './flow-whatsapp-request-contact-info';
|
|
19
|
-
import { FlowWhatsappTemplate } from './flow-whatsapp-template';
|
|
20
|
-
import { FlowWhatsappButtonList, FlowWhatsappButtonListRow, FlowWhatsappButtonListSection } from './whatsapp-button-list';
|
|
21
|
-
export { ContentFieldsBase } from './content-fields-base';
|
|
22
|
-
export { FlowButton } from './flow-button';
|
|
23
|
-
export { FlowElement } from './flow-element';
|
|
1
|
+
import { FlowCustomConditionalV2 } from './custom-conditional/flow-custom-condition-v2.js';
|
|
2
|
+
import { FlowAiAgent } from './flow-ai-agent.js';
|
|
3
|
+
import { FlowAiAgentRouter } from './flow-ai-agent-router.js';
|
|
4
|
+
import { FlowBotAction } from './flow-bot-action.js';
|
|
5
|
+
import { FlowCaptureUserInput } from './flow-capture-user-input.js';
|
|
6
|
+
import { FlowCarousel } from './flow-carousel.js';
|
|
7
|
+
import { FlowChannelConditional } from './flow-channel-conditional.js';
|
|
8
|
+
import { FlowCountryConditional } from './flow-country-conditional.js';
|
|
9
|
+
import { FlowCustomConditional } from './flow-custom-conditional.js';
|
|
10
|
+
import { FlowGoToFlow } from './flow-go-to-flow.js';
|
|
11
|
+
import { FlowHandoff } from './flow-handoff.js';
|
|
12
|
+
import { FlowImage } from './flow-image.js';
|
|
13
|
+
import { FlowQueueStatusConditional } from './flow-queue-status-conditional.js';
|
|
14
|
+
import { FlowRating } from './flow-rating.js';
|
|
15
|
+
import { FlowText } from './flow-text.js';
|
|
16
|
+
import { FlowVideo } from './flow-video.js';
|
|
17
|
+
import { FlowWhatsappCtaUrlButtonNode } from './flow-whatsapp-cta-url-button.js';
|
|
18
|
+
import { FlowWhatsappRequestContactInfoNode } from './flow-whatsapp-request-contact-info.js';
|
|
19
|
+
import { FlowWhatsappTemplate } from './flow-whatsapp-template.js';
|
|
20
|
+
import { FlowWhatsappButtonList, FlowWhatsappButtonListRow, FlowWhatsappButtonListSection } from './whatsapp-button-list/index.js';
|
|
21
|
+
export { ContentFieldsBase } from './content-fields-base.js';
|
|
22
|
+
export { FlowButton } from './flow-button.js';
|
|
23
|
+
export { FlowElement } from './flow-element.js';
|
|
24
24
|
export { FlowAiAgentRouter, FlowAiAgent, FlowBotAction, FlowCaptureUserInput, FlowCarousel, FlowChannelConditional, FlowCountryConditional, FlowCustomConditional, FlowGoToFlow, FlowHandoff, FlowImage, FlowQueueStatusConditional, FlowRating, FlowText, FlowVideo, FlowWhatsappButtonList, FlowWhatsappButtonListRow, FlowWhatsappButtonListSection, FlowWhatsappCtaUrlButtonNode, FlowWhatsappRequestContactInfoNode, FlowWhatsappTemplate, FlowCustomConditionalV2, };
|
|
25
25
|
export type FlowContent = FlowCarousel | FlowImage | FlowText | FlowVideo | FlowWhatsappButtonList | FlowWhatsappCtaUrlButtonNode | FlowWhatsappRequestContactInfoNode | FlowWhatsappTemplate | FlowHandoff | FlowBotAction | FlowAiAgent | FlowRating | FlowCountryConditional | FlowChannelConditional | FlowQueueStatusConditional | FlowCustomConditional | FlowGoToFlow | FlowCaptureUserInput | FlowAiAgentRouter | FlowCustomConditionalV2;
|
|
@@ -1,52 +1,73 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
export { FlowCustomConditionalV2 } from "./custom-conditional/flow-custom-condition-v2.js";
|
|
50
|
+
export { FlowAiAgent } from "./flow-ai-agent.js";
|
|
51
|
+
export { FlowAiAgentRouter } from "./flow-ai-agent-router.js";
|
|
52
|
+
export { FlowBotAction } from "./flow-bot-action.js";
|
|
53
|
+
export { FlowCaptureUserInput } from "./flow-capture-user-input.js";
|
|
54
|
+
export { FlowCarousel } from "./flow-carousel.js";
|
|
55
|
+
export { FlowChannelConditional } from "./flow-channel-conditional.js";
|
|
56
|
+
export { FlowCountryConditional } from "./flow-country-conditional.js";
|
|
57
|
+
export { FlowCustomConditional } from "./flow-custom-conditional.js";
|
|
58
|
+
export { FlowGoToFlow } from "./flow-go-to-flow.js";
|
|
59
|
+
export { FlowHandoff } from "./flow-handoff.js";
|
|
60
|
+
export { FlowImage } from "./flow-image.js";
|
|
61
|
+
export { FlowQueueStatusConditional } from "./flow-queue-status-conditional.js";
|
|
62
|
+
export { FlowRating } from "./flow-rating.js";
|
|
63
|
+
export { FlowText } from "./flow-text.js";
|
|
64
|
+
export { FlowVideo } from "./flow-video.js";
|
|
65
|
+
export { FlowWhatsappCtaUrlButtonNode } from "./flow-whatsapp-cta-url-button.js";
|
|
66
|
+
export { FlowWhatsappRequestContactInfoNode } from "./flow-whatsapp-request-contact-info.js";
|
|
67
|
+
export { FlowWhatsappTemplate } from "./flow-whatsapp-template.js";
|
|
68
|
+
export { FlowWhatsappButtonList, FlowWhatsappButtonListRow, FlowWhatsappButtonListSection } from "./whatsapp-button-list/index.js";
|
|
69
|
+
export { ContentFieldsBase } from "./content-fields-base.js";
|
|
70
|
+
export { FlowButton } from "./flow-button.js";
|
|
71
|
+
export { FlowElement } from "./flow-element.js";
|
|
72
|
+
|
|
52
73
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","
|
|
1
|
+
{"version":3,"file":"content-fields/index.js","sources":["../../../src/content-fields/index.ts"],"sourcesContent":["import { FlowCustomConditionalV2 } from './custom-conditional/flow-custom-condition-v2'\nimport { FlowAiAgent } from './flow-ai-agent'\nimport { FlowAiAgentRouter } from './flow-ai-agent-router'\nimport { FlowBotAction } from './flow-bot-action'\nimport { FlowCaptureUserInput } from './flow-capture-user-input'\nimport { FlowCarousel } from './flow-carousel'\nimport { FlowChannelConditional } from './flow-channel-conditional'\nimport { FlowCountryConditional } from './flow-country-conditional'\nimport { FlowCustomConditional } from './flow-custom-conditional'\nimport { FlowGoToFlow } from './flow-go-to-flow'\nimport { FlowHandoff } from './flow-handoff'\nimport { FlowImage } from './flow-image'\nimport { FlowQueueStatusConditional } from './flow-queue-status-conditional'\nimport { FlowRating } from './flow-rating'\nimport { FlowText } from './flow-text'\nimport { FlowVideo } from './flow-video'\nimport { FlowWhatsappCtaUrlButtonNode } from './flow-whatsapp-cta-url-button'\nimport { FlowWhatsappRequestContactInfoNode } from './flow-whatsapp-request-contact-info'\nimport { FlowWhatsappTemplate } from './flow-whatsapp-template'\nimport {\n FlowWhatsappButtonList,\n FlowWhatsappButtonListRow,\n FlowWhatsappButtonListSection,\n} from './whatsapp-button-list'\n\nexport { ContentFieldsBase } from './content-fields-base'\nexport { FlowButton } from './flow-button'\nexport { FlowElement } from './flow-element'\nexport {\n FlowAiAgentRouter,\n FlowAiAgent,\n FlowBotAction,\n FlowCaptureUserInput,\n FlowCarousel,\n FlowChannelConditional,\n FlowCountryConditional,\n FlowCustomConditional,\n FlowGoToFlow,\n FlowHandoff,\n FlowImage,\n FlowQueueStatusConditional,\n FlowRating,\n FlowText,\n FlowVideo,\n FlowWhatsappButtonList,\n FlowWhatsappButtonListRow,\n FlowWhatsappButtonListSection,\n FlowWhatsappCtaUrlButtonNode,\n FlowWhatsappRequestContactInfoNode,\n FlowWhatsappTemplate,\n FlowCustomConditionalV2,\n}\n\nexport type FlowContent =\n | FlowCarousel\n | FlowImage\n | FlowText\n | FlowVideo\n | FlowWhatsappButtonList\n | FlowWhatsappCtaUrlButtonNode\n | FlowWhatsappRequestContactInfoNode\n | FlowWhatsappTemplate\n | FlowHandoff\n | FlowBotAction\n | FlowAiAgent\n | FlowRating\n | FlowCountryConditional\n | FlowChannelConditional\n | FlowQueueStatusConditional\n | FlowCustomConditional\n | FlowGoToFlow\n | FlowCaptureUserInput\n | FlowAiAgentRouter\n | FlowCustomConditionalV2\n"],"names":["FlowCustomConditionalV2","FlowAiAgent","FlowAiAgentRouter","FlowBotAction","FlowCaptureUserInput","FlowCarousel","FlowChannelConditional","FlowCountryConditional","FlowCustomConditional","FlowGoToFlow","FlowHandoff","FlowImage","FlowQueueStatusConditional","FlowRating","FlowText","FlowVideo","FlowWhatsappCtaUrlButtonNode","FlowWhatsappRequestContactInfoNode","FlowWhatsappTemplate","FlowWhatsappButtonList","FlowWhatsappButtonListRow","FlowWhatsappButtonListSection","ContentFieldsBase","FlowButton","FlowElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAuF;AAC1C;AACa;AACT;AACe;AAClB;AACqB;AACA;AACF;AACjB;AACJ;AACJ;AACoC;AAClC;AACJ;AACE;AACqC;AACY;AAC1B;AAKhC;AAE0B;AACf;AACE;AAwB3C"}
|