@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":"bot-action.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/bot-action.js","sources":["../../../../src/content-fields/hubtype-fields/bot-action.ts"],"sourcesContent":["import type { HtBaseNode } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtBotActionNode extends HtBaseNode {\n id: string\n type: HtNodeWithContentType.BOT_ACTION\n content: {\n payload_id: string\n payload_params?: string\n }\n}\n"],"names":[],"mappings":"AAUC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/button.js","sources":["../../../../src/content-fields/hubtype-fields/button.ts"],"sourcesContent":["import type { HtNodeLink, HtTextLocale, HtUrlLocale } from './common'\n\nexport interface HtButton {\n id: string\n text: HtTextLocale[]\n url: HtUrlLocale[]\n target?: HtNodeLink\n hidden: string[]\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 declare enum HtAiValidationType {
|
|
4
4
|
NONE = "none",
|
|
5
5
|
NAME = "name",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HtAiValidationType = void 0;
|
|
4
|
-
var HtAiValidationType;
|
|
5
|
-
(function (HtAiValidationType) {
|
|
1
|
+
var capture_user_input_HtAiValidationType = /*#__PURE__*/ function(HtAiValidationType) {
|
|
6
2
|
HtAiValidationType["NONE"] = "none";
|
|
7
3
|
HtAiValidationType["NAME"] = "name";
|
|
8
4
|
HtAiValidationType["EMAIL"] = "email";
|
|
9
5
|
HtAiValidationType["PHONE"] = "phone";
|
|
10
6
|
HtAiValidationType["CUSTOM"] = "custom";
|
|
11
|
-
|
|
7
|
+
return HtAiValidationType;
|
|
8
|
+
}({});
|
|
9
|
+
|
|
10
|
+
export { capture_user_input_HtAiValidationType as HtAiValidationType };
|
|
11
|
+
|
|
12
12
|
//# sourceMappingURL=capture-user-input.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capture-user-input.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/capture-user-input.js","sources":["../../../../src/content-fields/hubtype-fields/capture-user-input.ts"],"sourcesContent":["import type { HtBaseNode, HtNodeLink } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport enum HtAiValidationType {\n NONE = 'none',\n NAME = 'name',\n EMAIL = 'email',\n PHONE = 'phone',\n CUSTOM = 'custom',\n}\n\nexport interface HtCaptureUserInputNode extends HtBaseNode {\n type: HtNodeWithContentType.CAPTURE_USER_INPUT\n content: {\n field_name: string\n ai_validation_type?: HtAiValidationType\n ai_validation_instructions?: string\n capture_success: HtNodeLink\n capture_fail: HtNodeLink\n }\n}\n"],"names":["HtAiValidationType"],"mappings":"AAGO,IAAKA,qCAAkBA,0BAAlBA;;;;;;WAAAA;MAMX"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HtButton } from './button';
|
|
2
|
-
import type { HtBaseNode, HtMediaFileLocale, HtTextLocale } from './common';
|
|
3
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtButton } from './button.js';
|
|
2
|
+
import type { HtBaseNode, HtMediaFileLocale, HtTextLocale } from './common.js';
|
|
3
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
4
4
|
export interface HtCarouselElement {
|
|
5
5
|
id: string;
|
|
6
6
|
title: HtTextLocale[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/carousel.js","sources":["../../../../src/content-fields/hubtype-fields/carousel.ts"],"sourcesContent":["import type { HtButton } from './button'\nimport type { HtBaseNode, HtMediaFileLocale, HtTextLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtCarouselElement {\n id: string\n title: HtTextLocale[]\n subtitle: HtTextLocale[]\n image: HtMediaFileLocale[]\n button: HtButton\n}\n\nexport interface HtCarouselNode extends HtBaseNode {\n type: HtNodeWithContentType.CAROUSEL\n content: {\n whatsapp_text: HtTextLocale[]\n elements: HtCarouselElement[]\n }\n}\n"],"names":[],"mappings":"AAkBC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HtBaseNode } from './common';
|
|
2
|
-
import type { HtFunctionResult } from './function';
|
|
3
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common.js';
|
|
2
|
+
import type { HtFunctionResult } from './function.js';
|
|
3
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
4
4
|
export interface HtChannelConditionalNode extends HtBaseNode {
|
|
5
5
|
type: HtNodeWithContentType.FUNCTION;
|
|
6
6
|
content: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel-conditional.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/channel-conditional.js","sources":["../../../../src/content-fields/hubtype-fields/channel-conditional.ts"],"sourcesContent":["import type { HtBaseNode } from './common'\nimport type { HtFunctionResult } from './function'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtChannelConditionalNode extends HtBaseNode {\n type: HtNodeWithContentType.FUNCTION\n content: {\n action: string //'get-channel-type'\n result_mapping: HtFunctionResult[]\n }\n}\n"],"names":[],"mappings":"AAUC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtNodeWithContentType, HtNodeWithoutContentType } from './node-types';
|
|
2
|
-
import type { HtNodeComponent } from './nodes';
|
|
1
|
+
import type { HtNodeWithContentType, HtNodeWithoutContentType } from './node-types.js';
|
|
2
|
+
import type { HtNodeComponent } from './nodes.js';
|
|
3
3
|
export interface HtFlowBuilderData {
|
|
4
4
|
version: string;
|
|
5
5
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/common.js","sources":["../../../../src/content-fields/hubtype-fields/common.ts"],"sourcesContent":["import type {\n HtNodeWithContentType,\n HtNodeWithoutContentType,\n} from './node-types'\nimport type { HtNodeComponent } from './nodes'\n\nexport interface HtFlowBuilderData {\n version: string\n name: string\n locales: string[]\n default_locale_code: string\n start_node_id?: string\n ai_model_id?: string\n is_ai_agent_active?: boolean\n nodes: HtNodeComponent[]\n flows: HtFlows[]\n webviews: HtFlowWebview[]\n campaigns: HtCampaign[]\n bot_variable_definitions: HtBotVariableDefinition[]\n}\n\nexport interface HtFlows {\n id: string\n name: string\n start_node_id: string\n}\n\nexport interface HtFlowWebview {\n id: string\n name: string\n component_name: string\n}\n\nexport interface HtCampaign {\n id: string\n name: string\n start_node_id: string\n}\n\nexport interface HtBotVariableDefinition {\n key_path: string\n is_from_bot_config: boolean\n type?: string\n}\n\nexport interface HtNodeLink {\n id: string\n type: HtNodeWithContentType | HtNodeWithoutContentType\n}\n\nexport interface HtBaseNode {\n id: string\n code: string\n meta: {\n x: number\n y: number\n }\n follow_up?: HtNodeLink\n target?: HtNodeLink\n flow_id: string // TODO: Review if this field is necessary in all HtBaseNode\n is_meaningful?: boolean\n}\n\nexport interface HtTextLocale {\n message: string\n locale: string\n}\n\nexport interface HtMediaFileLocale {\n id: string\n file: string\n locale: string\n}\n\nexport interface HtVideoLocale {\n url: string\n is_embedded: boolean\n locale: string\n}\n\nexport interface HtQueueLocale {\n id: string\n name: string\n locale: string\n}\n\nexport interface HtInputLocale {\n values: string[]\n locale: string\n}\n\nexport interface HtUrlLocale {\n id: string\n locale: string\n}\n\nexport interface HtPayloadLocale {\n id: string\n locale: string\n}\n"],"names":[],"mappings":"AAmGC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HtBaseNode } from './common';
|
|
2
|
-
import type { HtFunctionResult } from './function';
|
|
3
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common.js';
|
|
2
|
+
import type { HtFunctionResult } from './function.js';
|
|
3
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
4
4
|
export interface HtCountryConditionalNode extends HtBaseNode {
|
|
5
5
|
type: HtNodeWithContentType.FUNCTION;
|
|
6
6
|
content: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country-conditional.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/country-conditional.js","sources":["../../../../src/content-fields/hubtype-fields/country-conditional.ts"],"sourcesContent":["import type { HtBaseNode } from './common'\nimport type { HtFunctionResult } from './function'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtCountryConditionalNode extends HtBaseNode {\n type: HtNodeWithContentType.FUNCTION\n content: {\n action: string //'check-country'\n result_mapping: HtFunctionResult[]\n }\n}\n"],"names":[],"mappings":"AAUC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export declare enum VariableFormat {
|
|
4
4
|
Boolean = "boolean",
|
|
5
5
|
Number = "number",
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BooleanConditionOperator = exports.NumberConditionOperator = exports.StringConditionOperator = exports.VariableFormat = void 0;
|
|
4
|
-
var VariableFormat;
|
|
5
|
-
(function (VariableFormat) {
|
|
1
|
+
var custom_conditional_v2_VariableFormat = /*#__PURE__*/ function(VariableFormat) {
|
|
6
2
|
VariableFormat["Boolean"] = "boolean";
|
|
7
3
|
VariableFormat["Number"] = "number";
|
|
8
4
|
VariableFormat["String"] = "string";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
return VariableFormat;
|
|
6
|
+
}({});
|
|
7
|
+
var custom_conditional_v2_StringConditionOperator = /*#__PURE__*/ function(StringConditionOperator) {
|
|
12
8
|
StringConditionOperator["Contains"] = "contains";
|
|
13
9
|
StringConditionOperator["NotContains"] = "notContains";
|
|
14
10
|
StringConditionOperator["EqualsTo"] = "equalsTo";
|
|
@@ -17,9 +13,9 @@ var StringConditionOperator;
|
|
|
17
13
|
StringConditionOperator["NotStartsWith"] = "notStartsWith";
|
|
18
14
|
StringConditionOperator["EndsWith"] = "endsWith";
|
|
19
15
|
StringConditionOperator["NotEndsWith"] = "notEndsWith";
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
return StringConditionOperator;
|
|
17
|
+
}({});
|
|
18
|
+
var custom_conditional_v2_NumberConditionOperator = /*#__PURE__*/ function(NumberConditionOperator) {
|
|
23
19
|
NumberConditionOperator["EqualsTo"] = "equalsTo";
|
|
24
20
|
NumberConditionOperator["NotEqualsTo"] = "notEqualsTo";
|
|
25
21
|
NumberConditionOperator["GreaterThan"] = "greaterThan";
|
|
@@ -28,9 +24,13 @@ var NumberConditionOperator;
|
|
|
28
24
|
NumberConditionOperator["LessThanOrEqualTo"] = "lessThanOrEqualTo";
|
|
29
25
|
NumberConditionOperator["Between"] = "between";
|
|
30
26
|
NumberConditionOperator["NotBetween"] = "notBetween";
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
return NumberConditionOperator;
|
|
28
|
+
}({});
|
|
29
|
+
var custom_conditional_v2_BooleanConditionOperator = /*#__PURE__*/ function(BooleanConditionOperator) {
|
|
34
30
|
BooleanConditionOperator["IsTruthy"] = "isTruthy";
|
|
35
|
-
|
|
31
|
+
return BooleanConditionOperator;
|
|
32
|
+
}({});
|
|
33
|
+
|
|
34
|
+
export { custom_conditional_v2_BooleanConditionOperator as BooleanConditionOperator, custom_conditional_v2_NumberConditionOperator as NumberConditionOperator, custom_conditional_v2_StringConditionOperator as StringConditionOperator, custom_conditional_v2_VariableFormat as VariableFormat };
|
|
35
|
+
|
|
36
36
|
//# sourceMappingURL=custom-conditional-v2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-conditional-v2.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/custom-conditional-v2.js","sources":["../../../../src/content-fields/hubtype-fields/custom-conditional-v2.ts"],"sourcesContent":["import type { HtBaseNode, HtNodeLink } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport enum VariableFormat {\n Boolean = 'boolean',\n Number = 'number',\n String = 'string',\n}\n\nexport enum StringConditionOperator {\n Contains = 'contains',\n NotContains = 'notContains',\n EqualsTo = 'equalsTo',\n NotEqualsTo = 'notEqualsTo',\n StartsWith = 'startsWith',\n NotStartsWith = 'notStartsWith',\n EndsWith = 'endsWith',\n NotEndsWith = 'notEndsWith',\n}\n\nexport interface HtStringCondition {\n operator: StringConditionOperator\n value?: string\n target?: HtNodeLink\n}\n\nexport enum NumberConditionOperator {\n EqualsTo = 'equalsTo',\n NotEqualsTo = 'notEqualsTo',\n GreaterThan = 'greaterThan',\n LessThan = 'lessThan',\n GreaterThanOrEqualTo = 'greaterThanOrEqualTo',\n LessThanOrEqualTo = 'lessThanOrEqualTo',\n Between = 'between',\n NotBetween = 'notBetween',\n}\n\nexport interface HtNumberCondition {\n operator: NumberConditionOperator\n value?: number\n min?: number\n max?: number\n target?: HtNodeLink\n}\n\nexport enum BooleanConditionOperator {\n IsTruthy = 'isTruthy',\n}\n\nexport interface HtBooleanCondition {\n operator: BooleanConditionOperator\n target?: HtNodeLink\n}\n\nexport type HtCondition =\n | HtStringCondition\n | HtNumberCondition\n | HtBooleanCondition\n\nexport interface HtCustomConditionalV2Node extends HtBaseNode {\n type: HtNodeWithContentType.CUSTOM_CONDITION\n content: {\n type: VariableFormat\n key_path: string\n conditions: HtCondition[]\n default_target: HtNodeLink\n }\n}\n"],"names":["VariableFormat","StringConditionOperator","NumberConditionOperator","BooleanConditionOperator"],"mappings":"AAGO,IAAKA,oCAAcA,0BAAdA;;;;WAAAA;MAIX;AAEM,IAAKC,6CAAuBA,0BAAvBA;;;;;;;;;WAAAA;MASX;AAQM,IAAKC,6CAAuBA,0BAAvBA;;;;;;;;;WAAAA;MASX;AAUM,IAAKC,8CAAwBA,0BAAxBA;;WAAAA;MAEX"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { HtBaseNode } from './common';
|
|
2
|
-
import type { HtFunctionArguments, HtFunctionResult } from './function';
|
|
3
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common.js';
|
|
2
|
+
import type { HtFunctionArguments, HtFunctionResult } from './function.js';
|
|
3
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
4
4
|
export interface HtCustomConditionalNode extends HtBaseNode {
|
|
5
5
|
type: HtNodeWithContentType.FUNCTION;
|
|
6
6
|
content: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-conditional.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/custom-conditional.js","sources":["../../../../src/content-fields/hubtype-fields/custom-conditional.ts"],"sourcesContent":["import type { HtBaseNode } from './common'\nimport type { HtFunctionArguments, HtFunctionResult } from './function'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtCustomConditionalNode extends HtBaseNode {\n type: HtNodeWithContentType.FUNCTION\n content: {\n action: string //'check-bot-variable'\n arguments: HtFunctionArguments[]\n result_mapping: HtFunctionResult[]\n }\n}\n"],"names":[],"mappings":"AAWC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtFallbackNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.FALLBACK;
|
|
5
5
|
content: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fallback.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/fallback.js","sources":["../../../../src/content-fields/hubtype-fields/fallback.ts"],"sourcesContent":["import type { HtBaseNode, HtNodeLink } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtFallbackNode extends HtBaseNode {\n type: HtNodeWithContentType.FALLBACK\n content: {\n first_message?: HtNodeLink\n second_message?: HtNodeLink\n }\n}\n"],"names":[],"mappings":"AASC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtNodeLink } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtNodeLink } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export declare enum HtArgumentType {
|
|
4
4
|
BOOLEAN = "boolean",
|
|
5
5
|
NUMBER = "number",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HtArgumentType = void 0;
|
|
4
|
-
var HtArgumentType;
|
|
5
|
-
(function (HtArgumentType) {
|
|
1
|
+
var function_HtArgumentType = /*#__PURE__*/ function(HtArgumentType) {
|
|
6
2
|
HtArgumentType["BOOLEAN"] = "boolean";
|
|
7
3
|
HtArgumentType["NUMBER"] = "number";
|
|
8
4
|
HtArgumentType["STRING"] = "string";
|
|
9
5
|
HtArgumentType["JSON"] = "json";
|
|
10
|
-
|
|
6
|
+
return HtArgumentType;
|
|
7
|
+
}({});
|
|
8
|
+
|
|
9
|
+
export { function_HtArgumentType as HtArgumentType };
|
|
10
|
+
|
|
11
11
|
//# sourceMappingURL=function.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/function.js","sources":["../../../../src/content-fields/hubtype-fields/function.ts"],"sourcesContent":["import type { HtBaseNode, HtNodeLink } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport enum HtArgumentType {\n BOOLEAN = 'boolean',\n NUMBER = 'number',\n STRING = 'string',\n JSON = 'json',\n}\n\nexport interface HtFunctionArgument {\n type: HtArgumentType\n name: string\n value: string\n}\n\nexport interface HtFunctionArgumentLocale {\n locale: string\n values: HtFunctionArgument[]\n}\n\nexport interface HtFunctionResult {\n result: string | boolean | number\n target?: HtNodeLink\n}\n\nexport type HtFunctionArguments = HtFunctionArgumentLocale | HtFunctionArgument\n\nexport interface HtFunctionNode extends HtBaseNode {\n type: HtNodeWithContentType.FUNCTION\n content: {\n action: string\n arguments: HtFunctionArguments[]\n result_mapping: HtFunctionResult[]\n }\n}\n"],"names":["HtArgumentType"],"mappings":"AAGO,IAAKA,uBAAcA,0BAAdA;;;;;WAAAA;MAKX"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtGoToFlow extends HtBaseNode {
|
|
4
4
|
id: string;
|
|
5
5
|
type: HtNodeWithContentType.GO_TO_FLOW;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"go-to-flow.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/go-to-flow.js","sources":["../../../../src/content-fields/hubtype-fields/go-to-flow.ts"],"sourcesContent":["import type { HtBaseNode } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtGoToFlow extends HtBaseNode {\n id: string\n type: HtNodeWithContentType.GO_TO_FLOW\n content: {\n flow_id: string\n }\n}\n"],"names":[],"mappings":"AASC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtPayloadLocale, HtQueueLocale } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtPayloadLocale, HtQueueLocale } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtHandoffNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.HANDOFF;
|
|
5
5
|
content: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handoff.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/handoff.js","sources":["../../../../src/content-fields/hubtype-fields/handoff.ts"],"sourcesContent":["import type { HtBaseNode, HtPayloadLocale, HtQueueLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtHandoffNode extends HtBaseNode {\n type: HtNodeWithContentType.HANDOFF\n content: {\n queue: HtQueueLocale[]\n payload: HtPayloadLocale[]\n has_auto_assign: boolean\n has_queue_position_changed_notifications_enabled: boolean\n }\n}\n"],"names":[],"mappings":"AAWC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtMediaFileLocale } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtMediaFileLocale } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtImageNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.IMAGE;
|
|
5
5
|
content: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/image.js","sources":["../../../../src/content-fields/hubtype-fields/image.ts"],"sourcesContent":["import type { HtBaseNode, HtMediaFileLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtImageNode extends HtBaseNode {\n type: HtNodeWithContentType.IMAGE\n content: {\n image: HtMediaFileLocale[]\n }\n}\n"],"names":[],"mappings":"AAQC"}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export * from './ai-agent';
|
|
2
|
-
export * from './ai-agent-router';
|
|
3
|
-
export * from './bot-action';
|
|
4
|
-
export * from './button';
|
|
5
|
-
export * from './capture-user-input';
|
|
6
|
-
export * from './carousel';
|
|
7
|
-
export * from './common';
|
|
8
|
-
export * from './custom-conditional-v2';
|
|
9
|
-
export * from './fallback';
|
|
10
|
-
export * from './function';
|
|
11
|
-
export * from './go-to-flow';
|
|
12
|
-
export * from './handoff';
|
|
13
|
-
export * from './image';
|
|
14
|
-
export * from './keyword';
|
|
15
|
-
export * from './node-types';
|
|
16
|
-
export * from './nodes';
|
|
17
|
-
export * from './payload';
|
|
18
|
-
export * from './rating';
|
|
19
|
-
export * from './smart-intent';
|
|
20
|
-
export * from './text';
|
|
21
|
-
export * from './url';
|
|
22
|
-
export * from './video';
|
|
23
|
-
export * from './webview';
|
|
24
|
-
export * from './whatsapp-button-list';
|
|
25
|
-
export * from './whatsapp-cta-url-button';
|
|
26
|
-
export * from './whatsapp-request-contact-info';
|
|
27
|
-
export * from './whatsapp-template';
|
|
1
|
+
export * from './ai-agent.js';
|
|
2
|
+
export * from './ai-agent-router.js';
|
|
3
|
+
export * from './bot-action.js';
|
|
4
|
+
export * from './button.js';
|
|
5
|
+
export * from './capture-user-input.js';
|
|
6
|
+
export * from './carousel.js';
|
|
7
|
+
export * from './common.js';
|
|
8
|
+
export * from './custom-conditional-v2.js';
|
|
9
|
+
export * from './fallback.js';
|
|
10
|
+
export * from './function.js';
|
|
11
|
+
export * from './go-to-flow.js';
|
|
12
|
+
export * from './handoff.js';
|
|
13
|
+
export * from './image.js';
|
|
14
|
+
export * from './keyword.js';
|
|
15
|
+
export * from './node-types.js';
|
|
16
|
+
export * from './nodes.js';
|
|
17
|
+
export * from './payload.js';
|
|
18
|
+
export * from './rating.js';
|
|
19
|
+
export * from './smart-intent.js';
|
|
20
|
+
export * from './text.js';
|
|
21
|
+
export * from './url.js';
|
|
22
|
+
export * from './video.js';
|
|
23
|
+
export * from './webview.js';
|
|
24
|
+
export * from './whatsapp-button-list.js';
|
|
25
|
+
export * from './whatsapp-cta-url-button.js';
|
|
26
|
+
export * from './whatsapp-request-contact-info.js';
|
|
27
|
+
export * from './whatsapp-template.js';
|
|
@@ -1,31 +1,57 @@
|
|
|
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
|
-
|
|
1
|
+
export * from "./ai-agent.js";
|
|
2
|
+
export * from "./ai-agent-router.js";
|
|
3
|
+
export * from "./bot-action.js";
|
|
4
|
+
export * from "./button.js";
|
|
5
|
+
export * from "./capture-user-input.js";
|
|
6
|
+
export * from "./carousel.js";
|
|
7
|
+
export * from "./common.js";
|
|
8
|
+
export * from "./custom-conditional-v2.js";
|
|
9
|
+
export * from "./fallback.js";
|
|
10
|
+
export * from "./function.js";
|
|
11
|
+
export * from "./go-to-flow.js";
|
|
12
|
+
export * from "./handoff.js";
|
|
13
|
+
export * from "./image.js";
|
|
14
|
+
export * from "./keyword.js";
|
|
15
|
+
export * from "./node-types.js";
|
|
16
|
+
export * from "./nodes.js";
|
|
17
|
+
export * from "./payload.js";
|
|
18
|
+
export * from "./rating.js";
|
|
19
|
+
export * from "./smart-intent.js";
|
|
20
|
+
export * from "./text.js";
|
|
21
|
+
export * from "./url.js";
|
|
22
|
+
export * from "./video.js";
|
|
23
|
+
export * from "./webview.js";
|
|
24
|
+
export * from "./whatsapp-button-list.js";
|
|
25
|
+
export * from "./whatsapp-cta-url-button.js";
|
|
26
|
+
export * from "./whatsapp-request-contact-info.js";
|
|
27
|
+
export * from "./whatsapp-template.js";
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
31
57
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/index.js","sources":["../../../../src/content-fields/hubtype-fields/index.ts"],"sourcesContent":["export * from './ai-agent'\nexport * from './ai-agent-router'\nexport * from './bot-action'\nexport * from './button'\nexport * from './capture-user-input'\nexport * from './carousel'\nexport * from './common'\nexport * from './custom-conditional-v2'\nexport * from './fallback'\nexport * from './function'\nexport * from './go-to-flow'\nexport * from './handoff'\nexport * from './image'\nexport * from './keyword'\nexport * from './node-types'\nexport * from './nodes'\nexport * from './payload'\nexport * from './rating'\nexport * from './smart-intent'\nexport * from './text'\nexport * from './url'\nexport * from './video'\nexport * from './webview'\nexport * from './whatsapp-button-list'\nexport * from './whatsapp-cta-url-button'\nexport * from './whatsapp-request-contact-info'\nexport * from './whatsapp-template'\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAA0B;AACO;AACL;AACJ;AACY;AACV;AACF;AACe;AACb;AACA;AACE;AACH;AACF;AACE;AACG;AACL;AACE;AACD;AACM;AACR;AACD;AACE;AACE;AACa;AACG;AACM;AACZ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HtBaseNode, HtInputLocale, HtTextLocale } from './common';
|
|
2
|
-
import type { HtNodeWithContentType } from './node-types';
|
|
1
|
+
import type { HtBaseNode, HtInputLocale, HtTextLocale } from './common.js';
|
|
2
|
+
import type { HtNodeWithContentType } from './node-types.js';
|
|
3
3
|
export interface HtKeywordNode extends HtBaseNode {
|
|
4
4
|
type: HtNodeWithContentType.KEYWORD;
|
|
5
5
|
content: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyword.js","
|
|
1
|
+
{"version":3,"file":"content-fields/hubtype-fields/keyword.js","sources":["../../../../src/content-fields/hubtype-fields/keyword.ts"],"sourcesContent":["import type { HtBaseNode, HtInputLocale, HtTextLocale } from './common'\nimport type { HtNodeWithContentType } from './node-types'\n\nexport interface HtKeywordNode extends HtBaseNode {\n type: HtNodeWithContentType.KEYWORD\n content: {\n title: HtTextLocale[]\n keywords: HtInputLocale[]\n }\n}\n"],"names":[],"mappings":"AASC"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HtButtonStyle = exports.HtNodeWithoutContentType = exports.HtNodeWithContentType = void 0;
|
|
4
|
-
var HtNodeWithContentType;
|
|
5
|
-
(function (HtNodeWithContentType) {
|
|
1
|
+
var node_types_HtNodeWithContentType = /*#__PURE__*/ function(HtNodeWithContentType) {
|
|
6
2
|
HtNodeWithContentType["CAROUSEL"] = "carousel";
|
|
7
3
|
HtNodeWithContentType["HANDOFF"] = "handoff";
|
|
8
4
|
HtNodeWithContentType["IMAGE"] = "image";
|
|
@@ -24,15 +20,19 @@ var HtNodeWithContentType;
|
|
|
24
20
|
HtNodeWithContentType["GO_TO_FLOW"] = "go-to-flow";
|
|
25
21
|
HtNodeWithContentType["CAPTURE_USER_INPUT"] = "capture-user-input";
|
|
26
22
|
HtNodeWithContentType["CUSTOM_CONDITION"] = "custom-condition";
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
return HtNodeWithContentType;
|
|
24
|
+
}({});
|
|
25
|
+
var node_types_HtNodeWithoutContentType = /*#__PURE__*/ function(HtNodeWithoutContentType) {
|
|
30
26
|
HtNodeWithoutContentType["URL"] = "url";
|
|
31
27
|
HtNodeWithoutContentType["PAYLOAD"] = "payload";
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
return HtNodeWithoutContentType;
|
|
29
|
+
}({});
|
|
30
|
+
var node_types_HtButtonStyle = /*#__PURE__*/ function(HtButtonStyle) {
|
|
35
31
|
HtButtonStyle["BUTTON"] = "button";
|
|
36
32
|
HtButtonStyle["QUICK_REPLY"] = "quick-reply";
|
|
37
|
-
|
|
33
|
+
return HtButtonStyle;
|
|
34
|
+
}({});
|
|
35
|
+
|
|
36
|
+
export { node_types_HtButtonStyle as HtButtonStyle, node_types_HtNodeWithContentType as HtNodeWithContentType, node_types_HtNodeWithoutContentType as HtNodeWithoutContentType };
|
|
37
|
+
|
|
38
38
|
//# sourceMappingURL=node-types.js.map
|