@botonic/react 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/app.js +4 -5
- package/lib/esm/app.js.map +1 -1
- package/lib/esm/assets/types.d.ts +4 -0
- package/lib/esm/botonic-tester.js +79 -33
- package/lib/esm/botonic-tester.js.map +1 -1
- package/lib/esm/components/audio.d.ts +1 -1
- package/lib/esm/components/audio.js +52 -20
- package/lib/esm/components/audio.js.map +1 -1
- package/lib/esm/components/button/index.d.ts +1 -1
- package/lib/esm/components/button/index.js +113 -69
- package/lib/esm/components/button/index.js.map +1 -1
- package/lib/esm/components/button/styles.js +27 -25
- package/lib/esm/components/button/styles.js.map +1 -1
- package/lib/esm/components/buttons-disabler.d.ts +1 -1
- package/lib/esm/components/buttons-disabler.js +37 -34
- package/lib/esm/components/buttons-disabler.js.map +1 -1
- package/lib/esm/components/carousel.d.ts +1 -1
- package/lib/esm/components/carousel.js +143 -66
- package/lib/esm/components/carousel.js.map +1 -1
- package/lib/esm/components/components.js +5 -8
- package/lib/esm/components/components.js.map +1 -1
- package/lib/esm/components/constants.js +5 -5
- package/lib/esm/components/constants.js.map +1 -1
- package/lib/esm/components/custom-message.d.ts +1 -1
- package/lib/esm/components/custom-message.js +84 -35
- package/lib/esm/components/custom-message.js.map +1 -1
- package/lib/esm/components/document.d.ts +1 -1
- package/lib/esm/components/document.js +58 -26
- package/lib/esm/components/document.js.map +1 -1
- package/lib/esm/components/element.js +41 -29
- package/lib/esm/components/element.js.map +1 -1
- package/lib/esm/components/handoff.js +51 -29
- package/lib/esm/components/handoff.js.map +1 -1
- package/lib/esm/components/image.d.ts +1 -1
- package/lib/esm/components/image.js +71 -30
- package/lib/esm/components/image.js.map +1 -1
- package/lib/esm/components/index-types.d.ts +1 -1
- package/lib/esm/components/index-types.js +3 -2
- package/lib/esm/components/index-types.js.map +1 -1
- package/lib/esm/components/index.d.ts +33 -33
- package/lib/esm/components/index.js +98 -70
- package/lib/esm/components/index.js.map +1 -1
- package/lib/esm/components/location.js +57 -20
- package/lib/esm/components/location.js.map +1 -1
- package/lib/esm/components/markdown.js +53 -60
- package/lib/esm/components/markdown.js.map +1 -1
- package/lib/esm/components/message/index.js +205 -102
- package/lib/esm/components/message/index.js.map +1 -1
- package/lib/esm/components/message/message-footer.d.ts +1 -1
- package/lib/esm/components/message/message-footer.js +36 -18
- package/lib/esm/components/message/message-footer.js.map +1 -1
- package/lib/esm/components/message/message-image.d.ts +1 -1
- package/lib/esm/components/message/message-image.js +44 -24
- package/lib/esm/components/message/message-image.js.map +1 -1
- package/lib/esm/components/message/styles.js +34 -34
- package/lib/esm/components/message/styles.js.map +1 -1
- package/lib/esm/components/message/timestamps.d.ts +1 -1
- package/lib/esm/components/message/timestamps.js +54 -32
- package/lib/esm/components/message/timestamps.js.map +1 -1
- package/lib/esm/components/message-template.js +24 -11
- package/lib/esm/components/message-template.js.map +1 -1
- package/lib/esm/components/multichannel/facebook/facebook.js +33 -20
- package/lib/esm/components/multichannel/facebook/facebook.js.map +1 -1
- package/lib/esm/components/multichannel/index-types.js +4 -2
- package/lib/esm/components/multichannel/index-types.js.map +1 -1
- package/lib/esm/components/multichannel/index.d.ts +6 -6
- package/lib/esm/components/multichannel/index.js +24 -15
- package/lib/esm/components/multichannel/index.js.map +1 -1
- package/lib/esm/components/multichannel/multichannel-button.js +63 -42
- package/lib/esm/components/multichannel/multichannel-button.js.map +1 -1
- package/lib/esm/components/multichannel/multichannel-carousel.js +84 -41
- package/lib/esm/components/multichannel/multichannel-carousel.js.map +1 -1
- package/lib/esm/components/multichannel/multichannel-context.js +10 -8
- package/lib/esm/components/multichannel/multichannel-context.js.map +1 -1
- package/lib/esm/components/multichannel/multichannel-reply.js +34 -20
- package/lib/esm/components/multichannel/multichannel-reply.js.map +1 -1
- package/lib/esm/components/multichannel/multichannel-text.js +196 -94
- package/lib/esm/components/multichannel/multichannel-text.js.map +1 -1
- package/lib/esm/components/multichannel/multichannel-utils.js +22 -35
- package/lib/esm/components/multichannel/multichannel-utils.js.map +1 -1
- package/lib/esm/components/multichannel/multichannel.js +91 -43
- package/lib/esm/components/multichannel/multichannel.js.map +1 -1
- package/lib/esm/components/multichannel/whatsapp/constants.js +15 -13
- package/lib/esm/components/multichannel/whatsapp/constants.js.map +1 -1
- package/lib/esm/components/multichannel/whatsapp/markdown-meta.js +3 -3
- package/lib/esm/components/multichannel/whatsapp/markdown-meta.js.map +1 -1
- package/lib/esm/components/pic.js +46 -23
- package/lib/esm/components/pic.js.map +1 -1
- package/lib/esm/components/raw.js +65 -24
- package/lib/esm/components/raw.js.map +1 -1
- package/lib/esm/components/reply.d.ts +1 -1
- package/lib/esm/components/reply.js +68 -32
- package/lib/esm/components/reply.js.map +1 -1
- package/lib/esm/components/share-button.js +24 -11
- package/lib/esm/components/share-button.js.map +1 -1
- package/lib/esm/components/subtitle.js +37 -19
- package/lib/esm/components/subtitle.js.map +1 -1
- package/lib/esm/components/system-debug-trace/debug-message.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/debug-message.js +104 -54
- package/lib/esm/components/system-debug-trace/debug-message.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/ai-agent.d.ts +2 -2
- package/lib/esm/components/system-debug-trace/events/ai-agent/ai-agent.js +121 -34
- package/lib/esm/components/system-debug-trace/events/ai-agent/ai-agent.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/executed-tools.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/executed-tools.js +38 -13
- package/lib/esm/components/system-debug-trace/events/ai-agent/executed-tools.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/index.d.ts +2 -2
- package/lib/esm/components/system-debug-trace/events/ai-agent/index.js +6 -5
- package/lib/esm/components/system-debug-trace/events/ai-agent/index.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/parse-tools.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/parse-tools.js +10 -12
- package/lib/esm/components/system-debug-trace/events/ai-agent/parse-tools.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.d.ts +2 -2
- package/lib/esm/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js +11 -17
- package/lib/esm/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/types.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/types.js +3 -2
- package/lib/esm/components/system-debug-trace/events/ai-agent/types.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.d.ts +2 -2
- package/lib/esm/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js +23 -23
- package/lib/esm/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/ai-agent-router.d.ts +2 -2
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/ai-agent-router.js +88 -18
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/ai-agent-router.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/index.d.ts +2 -2
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/index.js +6 -5
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/index.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/types.d.ts +2 -2
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/types.js +3 -2
- package/lib/esm/components/system-debug-trace/events/ai-agent-router/types.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/bot-action.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/bot-action.js +28 -12
- package/lib/esm/components/system-debug-trace/events/bot-action.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/components/guardrail-item.js +38 -11
- package/lib/esm/components/system-debug-trace/events/components/guardrail-item.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/components/index.d.ts +2 -2
- package/lib/esm/components/system-debug-trace/events/components/index.js +6 -5
- package/lib/esm/components/system-debug-trace/events/components/index.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/components/sources-section.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/components/sources-section.js +46 -17
- package/lib/esm/components/system-debug-trace/events/components/sources-section.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/conditional-channel.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/conditional-channel.js +28 -12
- package/lib/esm/components/system-debug-trace/events/conditional-channel.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/conditional-country.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/conditional-country.js +28 -12
- package/lib/esm/components/system-debug-trace/events/conditional-country.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/conditional-custom.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/conditional-custom.js +59 -17
- package/lib/esm/components/system-debug-trace/events/conditional-custom.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/conditional-queue-status.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/conditional-queue-status.js +72 -20
- package/lib/esm/components/system-debug-trace/events/conditional-queue-status.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/constants.js +5 -5
- package/lib/esm/components/system-debug-trace/events/constants.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/fallback.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/fallback.js +29 -12
- package/lib/esm/components/system-debug-trace/events/fallback.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/handoff-success.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/handoff-success.js +84 -27
- package/lib/esm/components/system-debug-trace/events/handoff-success.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/index.d.ts +14 -14
- package/lib/esm/components/system-debug-trace/events/index.js +30 -17
- package/lib/esm/components/system-debug-trace/events/index.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/keyword.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/keyword.js +29 -12
- package/lib/esm/components/system-debug-trace/events/keyword.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/knowledge-bases-types.js +3 -2
- package/lib/esm/components/system-debug-trace/events/knowledge-bases-types.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/redirect-flow.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/redirect-flow.js +28 -12
- package/lib/esm/components/system-debug-trace/events/redirect-flow.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/smart-intent.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/smart-intent.js +28 -11
- package/lib/esm/components/system-debug-trace/events/smart-intent.js.map +1 -1
- package/lib/esm/components/system-debug-trace/events/webview-action-triggered.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/events/webview-action-triggered.js +45 -19
- package/lib/esm/components/system-debug-trace/events/webview-action-triggered.js.map +1 -1
- package/lib/esm/components/system-debug-trace/hooks/use-knowledge-base-info.d.ts +2 -2
- package/lib/esm/components/system-debug-trace/hooks/use-knowledge-base-info.js +45 -38
- package/lib/esm/components/system-debug-trace/hooks/use-knowledge-base-info.js.map +1 -1
- package/lib/esm/components/system-debug-trace/hooks/use-last-label-position.js +22 -19
- package/lib/esm/components/system-debug-trace/hooks/use-last-label-position.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/ai-router.js +69 -12
- package/lib/esm/components/system-debug-trace/icons/ai-router.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/ai-specialist.js +83 -13
- package/lib/esm/components/system-debug-trace/icons/ai-specialist.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/arrow-progress.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/arrow-progress.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/arrow-progress.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/brain.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/brain.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/brain.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/caret-down.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/caret-down.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/caret-down.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/caret-up.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/caret-up.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/caret-up.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/circle-check.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/circle-check.js +20 -9
- package/lib/esm/components/system-debug-trace/icons/circle-check.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/code.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/code.js +20 -9
- package/lib/esm/components/system-debug-trace/icons/code.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/file-pdf.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/file-pdf.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/file-pdf.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/file-word.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/file-word.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/file-word.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/hand.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/hand.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/hand.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/head-set.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/head-set.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/head-set.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/index.d.ts +16 -16
- package/lib/esm/components/system-debug-trace/icons/index.js +34 -19
- package/lib/esm/components/system-debug-trace/icons/index.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/life-ring.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/life-ring.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/life-ring.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/link.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/link.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/link.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/quote-right.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/quote-right.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/quote-right.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/screwdriver-wrench.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/screwdriver-wrench.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/screwdriver-wrench.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/split.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/split.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/split.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/wand.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/wand.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/wand.js.map +1 -1
- package/lib/esm/components/system-debug-trace/icons/window-restore.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/icons/window-restore.js +21 -10
- package/lib/esm/components/system-debug-trace/icons/window-restore.js.map +1 -1
- package/lib/esm/components/system-debug-trace/index.js +35 -15
- package/lib/esm/components/system-debug-trace/index.js.map +1 -1
- package/lib/esm/components/system-debug-trace/styles.js +49 -45
- package/lib/esm/components/system-debug-trace/styles.js.map +1 -1
- package/lib/esm/components/system-debug-trace/types.d.ts +1 -1
- package/lib/esm/components/system-debug-trace/types.js +3 -2
- package/lib/esm/components/system-debug-trace/types.js.map +1 -1
- package/lib/esm/components/text.d.ts +1 -1
- package/lib/esm/components/text.js +57 -31
- package/lib/esm/components/text.js.map +1 -1
- package/lib/esm/components/title.js +33 -17
- package/lib/esm/components/title.js.map +1 -1
- package/lib/esm/components/video.d.ts +1 -1
- package/lib/esm/components/video.js +48 -21
- package/lib/esm/components/video.js.map +1 -1
- package/lib/esm/components/webchat-settings.d.ts +2 -2
- package/lib/esm/components/webchat-settings.js +43 -24
- package/lib/esm/components/webchat-settings.js.map +1 -1
- package/lib/esm/components/whatsapp-button-list.js +65 -38
- package/lib/esm/components/whatsapp-button-list.js.map +1 -1
- package/lib/esm/components/whatsapp-catalog.js +41 -18
- package/lib/esm/components/whatsapp-catalog.js.map +1 -1
- package/lib/esm/components/whatsapp-cta-url-button.js +58 -44
- package/lib/esm/components/whatsapp-cta-url-button.js.map +1 -1
- package/lib/esm/components/whatsapp-interactive-media-carousel.js +53 -19
- package/lib/esm/components/whatsapp-interactive-media-carousel.js.map +1 -1
- package/lib/esm/components/whatsapp-media-carousel.js +49 -24
- package/lib/esm/components/whatsapp-media-carousel.js.map +1 -1
- package/lib/esm/components/whatsapp-product-carousel.js +48 -22
- package/lib/esm/components/whatsapp-product-carousel.js.map +1 -1
- package/lib/esm/components/whatsapp-product-list.js +46 -19
- package/lib/esm/components/whatsapp-product-list.js.map +1 -1
- package/lib/esm/components/whatsapp-product.js +42 -18
- package/lib/esm/components/whatsapp-product.js.map +1 -1
- package/lib/esm/components/whatsapp-request-contact-info.js +40 -21
- package/lib/esm/components/whatsapp-request-contact-info.js.map +1 -1
- package/lib/esm/components/whatsapp-template/index.d.ts +1 -1
- package/lib/esm/components/whatsapp-template/index.js +45 -18
- package/lib/esm/components/whatsapp-template/index.js.map +1 -1
- package/lib/esm/components/whatsapp-template/types.js +12 -12
- package/lib/esm/components/whatsapp-template/types.js.map +1 -1
- package/lib/esm/constants.js +39 -24
- package/lib/esm/constants.js.map +1 -1
- package/lib/esm/contexts.d.ts +1 -1
- package/lib/esm/contexts.js +20 -17
- package/lib/esm/contexts.js.map +1 -1
- package/lib/esm/debug-system-messages.d.ts +1 -1
- package/lib/esm/debug-system-messages.js +80 -65
- package/lib/esm/debug-system-messages.js.map +1 -1
- package/lib/esm/dev-app.d.ts +4 -4
- package/lib/esm/dev-app.js +104 -67
- package/lib/esm/dev-app.js.map +1 -1
- package/lib/esm/index-types.d.ts +8 -8
- package/lib/esm/index-types.js +9 -9
- package/lib/esm/index-types.js.map +1 -1
- package/lib/esm/index.d.ts +12 -12
- package/lib/esm/index.js +33 -25
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/message-utils.js +40 -55
- package/lib/esm/message-utils.js.map +1 -1
- package/lib/esm/msg-to-botonic.js +166 -76
- package/lib/esm/msg-to-botonic.js.map +1 -1
- package/lib/esm/node-app.d.ts +1 -1
- package/lib/esm/node-app.js +17 -15
- package/lib/esm/node-app.js.map +1 -1
- package/lib/esm/package.json +3 -0
- package/lib/esm/react-bot.d.ts +2 -2
- package/lib/esm/react-bot.js +39 -26
- package/lib/esm/react-bot.js.map +1 -1
- package/lib/esm/shared/styles.js +12 -10
- package/lib/esm/shared/styles.js.map +1 -1
- package/lib/esm/util/dom.js +13 -16
- package/lib/esm/util/dom.js.map +1 -1
- package/lib/esm/util/environment.js +15 -24
- package/lib/esm/util/environment.js.map +1 -1
- package/lib/esm/util/error-boundary.js +29 -18
- package/lib/esm/util/error-boundary.js.map +1 -1
- package/lib/esm/util/functional.js +7 -14
- package/lib/esm/util/functional.js.map +1 -1
- package/lib/esm/util/i18n.js +12 -21
- package/lib/esm/util/i18n.js.map +1 -1
- package/lib/esm/util/index.d.ts +10 -10
- package/lib/esm/util/index.js +22 -13
- package/lib/esm/util/index.js.map +1 -1
- package/lib/esm/util/logs.js +17 -9
- package/lib/esm/util/logs.js.map +1 -1
- package/lib/esm/util/objects.js +14 -19
- package/lib/esm/util/objects.js.map +1 -1
- package/lib/esm/util/react.js +33 -27
- package/lib/esm/util/react.js.map +1 -1
- package/lib/esm/util/regexs.js +8 -11
- package/lib/esm/util/regexs.js.map +1 -1
- package/lib/esm/util/strings.js +4 -5
- package/lib/esm/util/strings.js.map +1 -1
- package/lib/esm/util/webchat.d.ts +2 -2
- package/lib/esm/util/webchat.js +48 -47
- package/lib/esm/util/webchat.js.map +1 -1
- package/lib/esm/util/webviews.d.ts +1 -1
- package/lib/esm/util/webviews.js +3 -3
- package/lib/esm/util/webviews.js.map +1 -1
- package/lib/esm/webchat/chat-area/index.js +42 -18
- package/lib/esm/webchat/chat-area/index.js.map +1 -1
- package/lib/esm/webchat/chat-area/styles.js +9 -7
- package/lib/esm/webchat/chat-area/styles.js.map +1 -1
- package/lib/esm/webchat/components/common.js +17 -10
- package/lib/esm/webchat/components/common.js.map +1 -1
- package/lib/esm/webchat/components/conditional-animation.js +32 -14
- package/lib/esm/webchat/components/conditional-animation.js.map +1 -1
- package/lib/esm/webchat/components/opened-persistent-menu.js +61 -26
- package/lib/esm/webchat/components/opened-persistent-menu.js.map +1 -1
- package/lib/esm/webchat/constants.js +5 -5
- package/lib/esm/webchat/constants.js.map +1 -1
- package/lib/esm/webchat/context/actions.js +6 -7
- package/lib/esm/webchat/context/actions.js.map +1 -1
- package/lib/esm/webchat/context/index.d.ts +3 -3
- package/lib/esm/webchat/context/index.js +59 -43
- package/lib/esm/webchat/context/index.js.map +1 -1
- package/lib/esm/webchat/context/messages-reducer.d.ts +2 -2
- package/lib/esm/webchat/context/messages-reducer.js +78 -66
- package/lib/esm/webchat/context/messages-reducer.js.map +1 -1
- package/lib/esm/webchat/context/types.d.ts +4 -4
- package/lib/esm/webchat/context/types.js +3 -2
- package/lib/esm/webchat/context/types.js.map +1 -1
- package/lib/esm/webchat/context/use-webchat.d.ts +5 -5
- package/lib/esm/webchat/context/use-webchat.js +144 -102
- package/lib/esm/webchat/context/use-webchat.js.map +1 -1
- package/lib/esm/webchat/context/webchat-reducer.d.ts +2 -2
- package/lib/esm/webchat/context/webchat-reducer.js +110 -51
- package/lib/esm/webchat/context/webchat-reducer.js.map +1 -1
- package/lib/esm/webchat/cover-component/index.js +24 -13
- package/lib/esm/webchat/cover-component/index.js.map +1 -1
- package/lib/esm/webchat/custom-messages/index.d.ts +1 -1
- package/lib/esm/webchat/custom-messages/index.js +5 -6
- package/lib/esm/webchat/custom-messages/index.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-angry.d.ts +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-angry.js +25 -7
- package/lib/esm/webchat/custom-messages/rating/icons/face-angry.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-frown.d.ts +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-frown.js +25 -7
- package/lib/esm/webchat/custom-messages/rating/icons/face-frown.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-grin-beam.d.ts +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-grin-beam.js +25 -7
- package/lib/esm/webchat/custom-messages/rating/icons/face-grin-beam.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-meh.d.ts +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-meh.js +25 -7
- package/lib/esm/webchat/custom-messages/rating/icons/face-meh.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-smile.d.ts +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/face-smile.js +25 -7
- package/lib/esm/webchat/custom-messages/rating/icons/face-smile.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/index.d.ts +6 -6
- package/lib/esm/webchat/custom-messages/rating/icons/index.js +14 -9
- package/lib/esm/webchat/custom-messages/rating/icons/index.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/star.d.ts +1 -1
- package/lib/esm/webchat/custom-messages/rating/icons/star.js +25 -7
- package/lib/esm/webchat/custom-messages/rating/icons/star.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/index.d.ts +1 -1
- package/lib/esm/webchat/custom-messages/rating/index.js +77 -28
- package/lib/esm/webchat/custom-messages/rating/index.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/rating-selector.d.ts +1 -1
- package/lib/esm/webchat/custom-messages/rating/rating-selector.js +49 -18
- package/lib/esm/webchat/custom-messages/rating/rating-selector.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/smileys.d.ts +1 -1
- package/lib/esm/webchat/custom-messages/rating/smileys.js +20 -13
- package/lib/esm/webchat/custom-messages/rating/smileys.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/stars.d.ts +1 -1
- package/lib/esm/webchat/custom-messages/rating/stars.js +15 -8
- package/lib/esm/webchat/custom-messages/rating/stars.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/styles.js +10 -8
- package/lib/esm/webchat/custom-messages/rating/styles.js.map +1 -1
- package/lib/esm/webchat/custom-messages/rating/types.js +6 -6
- package/lib/esm/webchat/custom-messages/rating/types.js.map +1 -1
- package/lib/esm/webchat/devices/index.js +10 -13
- package/lib/esm/webchat/devices/index.js.map +1 -1
- package/lib/esm/webchat/global.d.ts +3 -0
- package/lib/esm/webchat/header/default-header.js +71 -21
- package/lib/esm/webchat/header/default-header.js.map +1 -1
- package/lib/esm/webchat/header/index.js +42 -17
- package/lib/esm/webchat/header/index.js.map +1 -1
- package/lib/esm/webchat/header/styles.js +26 -22
- package/lib/esm/webchat/header/styles.js.map +1 -1
- package/lib/esm/webchat/hooks/index.d.ts +10 -10
- package/lib/esm/webchat/hooks/index.js +32 -23
- package/lib/esm/webchat/hooks/index.js.map +1 -1
- package/lib/esm/webchat/hooks/use-component-visible.js +17 -10
- package/lib/esm/webchat/hooks/use-component-visible.js.map +1 -1
- package/lib/esm/webchat/hooks/use-component-will-mount.js +9 -7
- package/lib/esm/webchat/hooks/use-component-will-mount.js.map +1 -1
- package/lib/esm/webchat/hooks/use-device-adapter.js +43 -24
- package/lib/esm/webchat/hooks/use-device-adapter.js.map +1 -1
- package/lib/esm/webchat/hooks/use-previous.js +9 -6
- package/lib/esm/webchat/hooks/use-previous.js.map +1 -1
- package/lib/esm/webchat/hooks/use-scroll-to-bottom.js +16 -12
- package/lib/esm/webchat/hooks/use-scroll-to-bottom.js.map +1 -1
- package/lib/esm/webchat/hooks/use-scrollbar-controller.js +48 -43
- package/lib/esm/webchat/hooks/use-scrollbar-controller.js.map +1 -1
- package/lib/esm/webchat/hooks/use-typing.d.ts +2 -2
- package/lib/esm/webchat/hooks/use-typing.js +24 -18
- package/lib/esm/webchat/hooks/use-typing.js.map +1 -1
- package/lib/esm/webchat/hooks/use-virtual-keyboard-detection.js +18 -12
- package/lib/esm/webchat/hooks/use-virtual-keyboard-detection.js.map +1 -1
- package/lib/esm/webchat/hooks/use-webchat-dimensions.js +24 -21
- package/lib/esm/webchat/hooks/use-webchat-dimensions.js.map +1 -1
- package/lib/esm/webchat/hooks/use-webchat-resizer.js +21 -21
- package/lib/esm/webchat/hooks/use-webchat-resizer.js.map +1 -1
- package/lib/esm/webchat/index-types.d.ts +1 -1
- package/lib/esm/webchat/index-types.js +3 -2
- package/lib/esm/webchat/index-types.js.map +1 -1
- package/lib/esm/webchat/index.d.ts +5 -5
- package/lib/esm/webchat/index.js +16 -13
- package/lib/esm/webchat/index.js.map +1 -1
- package/lib/esm/webchat/input-panel/attachment.js +60 -19
- package/lib/esm/webchat/input-panel/attachment.js.map +1 -1
- package/lib/esm/webchat/input-panel/emoji-picker.js +41 -20
- package/lib/esm/webchat/input-panel/emoji-picker.js.map +1 -1
- package/lib/esm/webchat/input-panel/index.js +87 -29
- package/lib/esm/webchat/input-panel/index.js.map +1 -1
- package/lib/esm/webchat/input-panel/opened-emoji-picker.js +37 -13
- package/lib/esm/webchat/input-panel/opened-emoji-picker.js.map +1 -1
- package/lib/esm/webchat/input-panel/persistent-menu.js +38 -17
- package/lib/esm/webchat/input-panel/persistent-menu.js.map +1 -1
- package/lib/esm/webchat/input-panel/send-button.js +40 -19
- package/lib/esm/webchat/input-panel/send-button.js.map +1 -1
- package/lib/esm/webchat/input-panel/styles.js +14 -10
- package/lib/esm/webchat/input-panel/styles.js.map +1 -1
- package/lib/esm/webchat/input-panel/textarea.d.ts +2 -2
- package/lib/esm/webchat/input-panel/textarea.js +56 -26
- package/lib/esm/webchat/input-panel/textarea.js.map +1 -1
- package/lib/esm/webchat/input-panel/typing-network-sender.d.ts +1 -1
- package/lib/esm/webchat/input-panel/typing-network-sender.js +57 -38
- package/lib/esm/webchat/input-panel/typing-network-sender.js.map +1 -1
- package/lib/esm/webchat/input-panel/use-typing-chat-event-sender.d.ts +1 -1
- package/lib/esm/webchat/input-panel/use-typing-chat-event-sender.js +32 -21
- package/lib/esm/webchat/input-panel/use-typing-chat-event-sender.js.map +1 -1
- package/lib/esm/webchat/input-panel/use-typing-session.d.ts +1 -1
- package/lib/esm/webchat/input-panel/use-typing-session.js +44 -33
- package/lib/esm/webchat/input-panel/use-typing-session.js.map +1 -1
- package/lib/esm/webchat/message-list/index.js +118 -58
- package/lib/esm/webchat/message-list/index.js.map +1 -1
- package/lib/esm/webchat/message-list/intro-message.js +47 -22
- package/lib/esm/webchat/message-list/intro-message.js.map +1 -1
- package/lib/esm/webchat/message-list/scroll-button.js +35 -16
- package/lib/esm/webchat/message-list/scroll-button.js.map +1 -1
- package/lib/esm/webchat/message-list/styles.js +13 -11
- package/lib/esm/webchat/message-list/styles.js.map +1 -1
- package/lib/esm/webchat/message-list/unread-messages-banner.js +43 -16
- package/lib/esm/webchat/message-list/unread-messages-banner.js.map +1 -1
- package/lib/esm/webchat/message-list/use-debounce.js +11 -8
- package/lib/esm/webchat/message-list/use-debounce.js.map +1 -1
- package/lib/esm/webchat/message-list/use-notifications.js +21 -14
- package/lib/esm/webchat/message-list/use-notifications.js.map +1 -1
- package/lib/esm/webchat/replies/index.js +41 -21
- package/lib/esm/webchat/replies/index.js.map +1 -1
- package/lib/esm/webchat/replies/styles.js +12 -10
- package/lib/esm/webchat/replies/styles.js.map +1 -1
- package/lib/esm/webchat/session-view.js +106 -41
- package/lib/esm/webchat/session-view.js.map +1 -1
- package/lib/esm/webchat/styles.js +33 -29
- package/lib/esm/webchat/styles.js.map +1 -1
- package/lib/esm/webchat/theme/default-theme.d.ts +1 -1
- package/lib/esm/webchat/theme/default-theme.js +52 -37
- package/lib/esm/webchat/theme/default-theme.js.map +1 -1
- package/lib/esm/webchat/theme/theme.d.ts +8 -0
- package/lib/esm/webchat/theme/types.d.ts +1 -1
- package/lib/esm/webchat/theme/types.js +3 -2
- package/lib/esm/webchat/theme/types.js.map +1 -1
- package/lib/esm/webchat/tracking.js +23 -15
- package/lib/esm/webchat/tracking.js.map +1 -1
- package/lib/esm/webchat/trigger-button/index.js +48 -23
- package/lib/esm/webchat/trigger-button/index.js.map +1 -1
- package/lib/esm/webchat/trigger-button/styles.js +15 -11
- package/lib/esm/webchat/trigger-button/styles.js.map +1 -1
- package/lib/esm/webchat/typing-indicator/index.js +30 -8
- package/lib/esm/webchat/typing-indicator/index.js.map +1 -1
- package/lib/esm/webchat/typing-indicator/styles.js +13 -11
- package/lib/esm/webchat/typing-indicator/styles.js.map +1 -1
- package/lib/esm/webchat/use-storage-state-hook.js +31 -18
- package/lib/esm/webchat/use-storage-state-hook.js.map +1 -1
- package/lib/esm/webchat/utils.js +9 -7
- package/lib/esm/webchat/utils.js.map +1 -1
- package/lib/esm/webchat/webchat-dev.js +74 -32
- package/lib/esm/webchat/webchat-dev.js.map +1 -1
- package/lib/esm/webchat/webchat.d.ts +1 -1
- package/lib/esm/webchat/webchat.js +455 -286
- package/lib/esm/webchat/webchat.js.map +1 -1
- package/lib/esm/webchat/webview/header.js +35 -16
- package/lib/esm/webchat/webview/header.js.map +1 -1
- package/lib/esm/webchat/webview/index.d.ts +1 -1
- package/lib/esm/webchat/webview/index.js +76 -42
- package/lib/esm/webchat/webview/index.js.map +1 -1
- package/lib/esm/webchat/webview/styles.js +35 -31
- package/lib/esm/webchat/webview/styles.js.map +1 -1
- package/lib/esm/webchat-app.d.ts +5 -5
- package/lib/esm/webchat-app.js +197 -134
- package/lib/esm/webchat-app.js.map +1 -1
- package/lib/esm/webview-app.js +103 -80
- package/lib/esm/webview-app.js.map +1 -1
- package/package.json +8 -10
- package/src/components/index.ts +14 -14
- package/src/dev-app.jsx +1 -1
- package/src/index-types.ts +6 -6
- package/src/webchat/context/index.tsx +1 -1
- package/src/webchat/index.ts +1 -1
- package/lib/cjs/app.d.ts +0 -2
- package/lib/cjs/app.js +0 -10
- package/lib/cjs/app.js.map +0 -1
- package/lib/cjs/assets/arrow-down.svg +0 -3
- package/lib/cjs/assets/arrow-scroll-down.svg +0 -3
- package/lib/cjs/assets/attachment-icon.svg +0 -7
- package/lib/cjs/assets/audio.svg +0 -4
- package/lib/cjs/assets/botonic_react_logo100x100.png +0 -0
- package/lib/cjs/assets/document.svg +0 -3
- package/lib/cjs/assets/emojiButton.svg +0 -6
- package/lib/cjs/assets/image.svg +0 -4
- package/lib/cjs/assets/leftArrow.svg +0 -3
- package/lib/cjs/assets/menuButton.svg +0 -3
- package/lib/cjs/assets/rightArrow.svg +0 -3
- package/lib/cjs/assets/send-button.svg +0 -1
- package/lib/cjs/assets/thumbs-down.svg +0 -3
- package/lib/cjs/assets/thumbs-up.svg +0 -3
- package/lib/cjs/assets/url-icon.png +0 -0
- package/lib/cjs/assets/video.svg +0 -3
- package/lib/cjs/botonic-tester.d.ts +0 -30
- package/lib/cjs/botonic-tester.js +0 -76
- package/lib/cjs/botonic-tester.js.map +0 -1
- package/lib/cjs/components/audio.d.ts +0 -9
- package/lib/cjs/components/audio.js +0 -27
- package/lib/cjs/components/audio.js.map +0 -1
- package/lib/cjs/components/button/index.d.ts +0 -17
- package/lib/cjs/components/button/index.js +0 -139
- package/lib/cjs/components/button/index.js.map +0 -1
- package/lib/cjs/components/button/styles.d.ts +0 -2
- package/lib/cjs/components/button/styles.js +0 -40
- package/lib/cjs/components/button/styles.js.map +0 -1
- package/lib/cjs/components/buttons-disabler.d.ts +0 -21
- package/lib/cjs/components/buttons-disabler.js +0 -94
- package/lib/cjs/components/buttons-disabler.js.map +0 -1
- package/lib/cjs/components/carousel.d.ts +0 -10
- package/lib/cjs/components/carousel.js +0 -119
- package/lib/cjs/components/carousel.js.map +0 -1
- package/lib/cjs/components/components.d.ts +0 -12
- package/lib/cjs/components/components.js +0 -21
- package/lib/cjs/components/components.js.map +0 -1
- package/lib/cjs/components/constants.d.ts +0 -11
- package/lib/cjs/components/constants.js +0 -15
- package/lib/cjs/components/constants.js.map +0 -1
- package/lib/cjs/components/custom-message.d.ts +0 -16
- package/lib/cjs/components/custom-message.js +0 -60
- package/lib/cjs/components/custom-message.js.map +0 -1
- package/lib/cjs/components/document.d.ts +0 -9
- package/lib/cjs/components/document.js +0 -50
- package/lib/cjs/components/document.js.map +0 -1
- package/lib/cjs/components/element.d.ts +0 -8
- package/lib/cjs/components/element.js +0 -56
- package/lib/cjs/components/element.js.map +0 -1
- package/lib/cjs/components/handoff.d.ts +0 -1
- package/lib/cjs/components/handoff.js +0 -54
- package/lib/cjs/components/handoff.js.map +0 -1
- package/lib/cjs/components/image.d.ts +0 -9
- package/lib/cjs/components/image.js +0 -40
- package/lib/cjs/components/image.js.map +0 -1
- package/lib/cjs/components/index-types.d.ts +0 -83
- package/lib/cjs/components/index-types.js +0 -3
- package/lib/cjs/components/index-types.js.map +0 -1
- package/lib/cjs/components/index.d.ts +0 -33
- package/lib/cjs/components/index.js +0 -71
- package/lib/cjs/components/index.js.map +0 -1
- package/lib/cjs/components/location.d.ts +0 -11
- package/lib/cjs/components/location.js +0 -31
- package/lib/cjs/components/location.js.map +0 -1
- package/lib/cjs/components/markdown.d.ts +0 -7
- package/lib/cjs/components/markdown.js +0 -172
- package/lib/cjs/components/markdown.js.map +0 -1
- package/lib/cjs/components/message/index.d.ts +0 -1
- package/lib/cjs/components/message/index.js +0 -174
- package/lib/cjs/components/message/index.js.map +0 -1
- package/lib/cjs/components/message/message-footer.d.ts +0 -8
- package/lib/cjs/components/message/message-footer.js +0 -20
- package/lib/cjs/components/message/message-footer.js.map +0 -1
- package/lib/cjs/components/message/message-image.d.ts +0 -7
- package/lib/cjs/components/message/message-image.js +0 -26
- package/lib/cjs/components/message/message-image.js.map +0 -1
- package/lib/cjs/components/message/styles.d.ts +0 -35
- package/lib/cjs/components/message/styles.js +0 -123
- package/lib/cjs/components/message/styles.js.map +0 -1
- package/lib/cjs/components/message/timestamps.d.ts +0 -13
- package/lib/cjs/components/message/timestamps.js +0 -45
- package/lib/cjs/components/message/timestamps.js.map +0 -1
- package/lib/cjs/components/message-template.d.ts +0 -1
- package/lib/cjs/components/message-template.js +0 -13
- package/lib/cjs/components/message-template.js.map +0 -1
- package/lib/cjs/components/multichannel/facebook/facebook.d.ts +0 -17
- package/lib/cjs/components/multichannel/facebook/facebook.js +0 -48
- package/lib/cjs/components/multichannel/facebook/facebook.js.map +0 -1
- package/lib/cjs/components/multichannel/index-types.d.ts +0 -42
- package/lib/cjs/components/multichannel/index-types.js +0 -3
- package/lib/cjs/components/multichannel/index-types.js.map +0 -1
- package/lib/cjs/components/multichannel/index.d.ts +0 -11
- package/lib/cjs/components/multichannel/index.js +0 -16
- package/lib/cjs/components/multichannel/index.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel-button.d.ts +0 -4
- package/lib/cjs/components/multichannel/multichannel-button.js +0 -72
- package/lib/cjs/components/multichannel/multichannel-button.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel-carousel.d.ts +0 -1
- package/lib/cjs/components/multichannel/multichannel-carousel.js +0 -80
- package/lib/cjs/components/multichannel/multichannel-carousel.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel-context.d.ts +0 -8
- package/lib/cjs/components/multichannel/multichannel-context.js +0 -13
- package/lib/cjs/components/multichannel/multichannel-context.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel-reply.d.ts +0 -4
- package/lib/cjs/components/multichannel/multichannel-reply.js +0 -27
- package/lib/cjs/components/multichannel/multichannel-reply.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel-text.d.ts +0 -1
- package/lib/cjs/components/multichannel/multichannel-text.js +0 -184
- package/lib/cjs/components/multichannel/multichannel-text.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel-utils.d.ts +0 -36
- package/lib/cjs/components/multichannel/multichannel-utils.js +0 -89
- package/lib/cjs/components/multichannel/multichannel-utils.js.map +0 -1
- package/lib/cjs/components/multichannel/multichannel.d.ts +0 -1
- package/lib/cjs/components/multichannel/multichannel.js +0 -63
- package/lib/cjs/components/multichannel/multichannel.js.map +0 -1
- package/lib/cjs/components/multichannel/whatsapp/constants.d.ts +0 -12
- package/lib/cjs/components/multichannel/whatsapp/constants.js +0 -14
- package/lib/cjs/components/multichannel/whatsapp/constants.js.map +0 -1
- package/lib/cjs/components/multichannel/whatsapp/markdown-meta.d.ts +0 -1
- package/lib/cjs/components/multichannel/whatsapp/markdown-meta.js +0 -41
- package/lib/cjs/components/multichannel/whatsapp/markdown-meta.js.map +0 -1
- package/lib/cjs/components/pic.d.ts +0 -10
- package/lib/cjs/components/pic.js +0 -32
- package/lib/cjs/components/pic.js.map +0 -1
- package/lib/cjs/components/raw.d.ts +0 -9
- package/lib/cjs/components/raw.js +0 -45
- package/lib/cjs/components/raw.js.map +0 -1
- package/lib/cjs/components/reply.d.ts +0 -11
- package/lib/cjs/components/reply.js +0 -66
- package/lib/cjs/components/reply.js.map +0 -1
- package/lib/cjs/components/share-button.d.ts +0 -1
- package/lib/cjs/components/share-button.js +0 -13
- package/lib/cjs/components/share-button.js.map +0 -1
- package/lib/cjs/components/subtitle.d.ts +0 -11
- package/lib/cjs/components/subtitle.js +0 -25
- package/lib/cjs/components/subtitle.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/debug-message.d.ts +0 -7
- package/lib/cjs/components/system-debug-trace/debug-message.js +0 -82
- package/lib/cjs/components/system-debug-trace/debug-message.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/ai-agent.d.ts +0 -4
- package/lib/cjs/components/system-debug-trace/events/ai-agent/ai-agent.js +0 -53
- package/lib/cjs/components/system-debug-trace/events/ai-agent/ai-agent.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/executed-tools.d.ts +0 -7
- package/lib/cjs/components/system-debug-trace/events/ai-agent/executed-tools.js +0 -21
- package/lib/cjs/components/system-debug-trace/events/ai-agent/executed-tools.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/index.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/events/ai-agent/index.js +0 -6
- package/lib/cjs/components/system-debug-trace/events/ai-agent/index.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/parse-tools.d.ts +0 -9
- package/lib/cjs/components/system-debug-trace/events/ai-agent/parse-tools.js +0 -32
- package/lib/cjs/components/system-debug-trace/events/ai-agent/parse-tools.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.d.ts +0 -6
- package/lib/cjs/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js +0 -55
- package/lib/cjs/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/types.d.ts +0 -23
- package/lib/cjs/components/system-debug-trace/events/ai-agent/types.js +0 -3
- package/lib/cjs/components/system-debug-trace/events/ai-agent/types.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.d.ts +0 -8
- package/lib/cjs/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js +0 -41
- package/lib/cjs/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/ai-agent-router.d.ts +0 -4
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/ai-agent-router.js +0 -23
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/ai-agent-router.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/index.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/index.js +0 -6
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/index.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/types.d.ts +0 -23
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/types.js +0 -3
- package/lib/cjs/components/system-debug-trace/events/ai-agent-router/types.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/bot-action.d.ts +0 -7
- package/lib/cjs/components/system-debug-trace/events/bot-action.js +0 -18
- package/lib/cjs/components/system-debug-trace/events/bot-action.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/components/guardrail-item.d.ts +0 -14
- package/lib/cjs/components/system-debug-trace/events/components/guardrail-item.js +0 -12
- package/lib/cjs/components/system-debug-trace/events/components/guardrail-item.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/components/index.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/events/components/index.js +0 -6
- package/lib/cjs/components/system-debug-trace/events/components/index.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/components/sources-section.d.ts +0 -11
- package/lib/cjs/components/system-debug-trace/events/components/sources-section.js +0 -27
- package/lib/cjs/components/system-debug-trace/events/components/sources-section.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/conditional-channel.d.ts +0 -7
- package/lib/cjs/components/system-debug-trace/events/conditional-channel.js +0 -18
- package/lib/cjs/components/system-debug-trace/events/conditional-channel.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/conditional-country.d.ts +0 -7
- package/lib/cjs/components/system-debug-trace/events/conditional-country.js +0 -18
- package/lib/cjs/components/system-debug-trace/events/conditional-country.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/conditional-custom.d.ts +0 -10
- package/lib/cjs/components/system-debug-trace/events/conditional-custom.js +0 -24
- package/lib/cjs/components/system-debug-trace/events/conditional-custom.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/conditional-queue-status.d.ts +0 -11
- package/lib/cjs/components/system-debug-trace/events/conditional-queue-status.js +0 -26
- package/lib/cjs/components/system-debug-trace/events/conditional-queue-status.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/constants.d.ts +0 -33
- package/lib/cjs/components/system-debug-trace/events/constants.js +0 -37
- package/lib/cjs/components/system-debug-trace/events/constants.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/fallback.d.ts +0 -9
- package/lib/cjs/components/system-debug-trace/events/fallback.js +0 -19
- package/lib/cjs/components/system-debug-trace/events/fallback.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/handoff-success.d.ts +0 -11
- package/lib/cjs/components/system-debug-trace/events/handoff-success.js +0 -42
- package/lib/cjs/components/system-debug-trace/events/handoff-success.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/index.d.ts +0 -14
- package/lib/cjs/components/system-debug-trace/events/index.js +0 -18
- package/lib/cjs/components/system-debug-trace/events/index.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/keyword.d.ts +0 -10
- package/lib/cjs/components/system-debug-trace/events/keyword.js +0 -18
- package/lib/cjs/components/system-debug-trace/events/keyword.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/knowledge-bases-types.d.ts +0 -31
- package/lib/cjs/components/system-debug-trace/events/knowledge-bases-types.js +0 -3
- package/lib/cjs/components/system-debug-trace/events/knowledge-bases-types.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/redirect-flow.d.ts +0 -10
- package/lib/cjs/components/system-debug-trace/events/redirect-flow.js +0 -18
- package/lib/cjs/components/system-debug-trace/events/redirect-flow.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/smart-intent.d.ts +0 -7
- package/lib/cjs/components/system-debug-trace/events/smart-intent.js +0 -17
- package/lib/cjs/components/system-debug-trace/events/smart-intent.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/events/webview-action-triggered.d.ts +0 -10
- package/lib/cjs/components/system-debug-trace/events/webview-action-triggered.js +0 -25
- package/lib/cjs/components/system-debug-trace/events/webview-action-triggered.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/hooks/use-knowledge-base-info.d.ts +0 -16
- package/lib/cjs/components/system-debug-trace/hooks/use-knowledge-base-info.js +0 -111
- package/lib/cjs/components/system-debug-trace/hooks/use-knowledge-base-info.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/hooks/use-last-label-position.d.ts +0 -9
- package/lib/cjs/components/system-debug-trace/hooks/use-last-label-position.js +0 -81
- package/lib/cjs/components/system-debug-trace/hooks/use-last-label-position.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/ai-router.d.ts +0 -1
- package/lib/cjs/components/system-debug-trace/icons/ai-router.js +0 -14
- package/lib/cjs/components/system-debug-trace/icons/ai-router.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/ai-specialist.d.ts +0 -1
- package/lib/cjs/components/system-debug-trace/icons/ai-specialist.js +0 -15
- package/lib/cjs/components/system-debug-trace/icons/ai-specialist.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/arrow-progress.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/arrow-progress.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/arrow-progress.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/brain.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/brain.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/brain.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/caret-down.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/caret-down.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/caret-down.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/caret-up.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/caret-up.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/caret-up.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/circle-check.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/circle-check.js +0 -11
- package/lib/cjs/components/system-debug-trace/icons/circle-check.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/code.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/code.js +0 -11
- package/lib/cjs/components/system-debug-trace/icons/code.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/file-pdf.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/file-pdf.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/file-pdf.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/file-word.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/file-word.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/file-word.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/hand.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/hand.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/hand.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/head-set.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/head-set.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/head-set.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/index.d.ts +0 -16
- package/lib/cjs/components/system-debug-trace/icons/index.js +0 -20
- package/lib/cjs/components/system-debug-trace/icons/index.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/life-ring.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/life-ring.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/life-ring.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/link.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/link.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/link.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/quote-right.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/quote-right.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/quote-right.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/screwdriver-wrench.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/screwdriver-wrench.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/screwdriver-wrench.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/split.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/split.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/split.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/wand.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/wand.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/wand.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/icons/window-restore.d.ts +0 -2
- package/lib/cjs/components/system-debug-trace/icons/window-restore.js +0 -12
- package/lib/cjs/components/system-debug-trace/icons/window-restore.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/index.d.ts +0 -10
- package/lib/cjs/components/system-debug-trace/index.js +0 -28
- package/lib/cjs/components/system-debug-trace/index.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/styles.d.ts +0 -23
- package/lib/cjs/components/system-debug-trace/styles.js +0 -286
- package/lib/cjs/components/system-debug-trace/styles.js.map +0 -1
- package/lib/cjs/components/system-debug-trace/types.d.ts +0 -13
- package/lib/cjs/components/system-debug-trace/types.js +0 -3
- package/lib/cjs/components/system-debug-trace/types.js.map +0 -1
- package/lib/cjs/components/text.d.ts +0 -8
- package/lib/cjs/components/text.js +0 -52
- package/lib/cjs/components/text.js.map +0 -1
- package/lib/cjs/components/title.d.ts +0 -11
- package/lib/cjs/components/title.js +0 -23
- package/lib/cjs/components/title.js.map +0 -1
- package/lib/cjs/components/video.d.ts +0 -9
- package/lib/cjs/components/video.js +0 -31
- package/lib/cjs/components/video.js.map +0 -1
- package/lib/cjs/components/webchat-settings.d.ts +0 -19
- package/lib/cjs/components/webchat-settings.js +0 -79
- package/lib/cjs/components/webchat-settings.js.map +0 -1
- package/lib/cjs/components/whatsapp-button-list.d.ts +0 -20
- package/lib/cjs/components/whatsapp-button-list.js +0 -51
- package/lib/cjs/components/whatsapp-button-list.js.map +0 -1
- package/lib/cjs/components/whatsapp-catalog.d.ts +0 -6
- package/lib/cjs/components/whatsapp-catalog.js +0 -25
- package/lib/cjs/components/whatsapp-catalog.js.map +0 -1
- package/lib/cjs/components/whatsapp-cta-url-button.d.ts +0 -40
- package/lib/cjs/components/whatsapp-cta-url-button.js +0 -61
- package/lib/cjs/components/whatsapp-cta-url-button.js.map +0 -1
- package/lib/cjs/components/whatsapp-interactive-media-carousel.d.ts +0 -31
- package/lib/cjs/components/whatsapp-interactive-media-carousel.js +0 -25
- package/lib/cjs/components/whatsapp-interactive-media-carousel.js.map +0 -1
- package/lib/cjs/components/whatsapp-media-carousel.d.ts +0 -46
- package/lib/cjs/components/whatsapp-media-carousel.js +0 -42
- package/lib/cjs/components/whatsapp-media-carousel.js.map +0 -1
- package/lib/cjs/components/whatsapp-product-carousel.d.ts +0 -32
- package/lib/cjs/components/whatsapp-product-carousel.js +0 -34
- package/lib/cjs/components/whatsapp-product-carousel.js.map +0 -1
- package/lib/cjs/components/whatsapp-product-list.d.ts +0 -15
- package/lib/cjs/components/whatsapp-product-list.js +0 -26
- package/lib/cjs/components/whatsapp-product-list.js.map +0 -1
- package/lib/cjs/components/whatsapp-product.d.ts +0 -7
- package/lib/cjs/components/whatsapp-product.js +0 -25
- package/lib/cjs/components/whatsapp-product.js.map +0 -1
- package/lib/cjs/components/whatsapp-request-contact-info.d.ts +0 -4
- package/lib/cjs/components/whatsapp-request-contact-info.js +0 -30
- package/lib/cjs/components/whatsapp-request-contact-info.js.map +0 -1
- package/lib/cjs/components/whatsapp-template/index.d.ts +0 -11
- package/lib/cjs/components/whatsapp-template/index.js +0 -25
- package/lib/cjs/components/whatsapp-template/index.js.map +0 -1
- package/lib/cjs/components/whatsapp-template/types.d.ts +0 -114
- package/lib/cjs/components/whatsapp-template/types.js +0 -30
- package/lib/cjs/components/whatsapp-template/types.js.map +0 -1
- package/lib/cjs/constants.d.ts +0 -163
- package/lib/cjs/constants.js +0 -189
- package/lib/cjs/constants.js.map +0 -1
- package/lib/cjs/contexts.d.ts +0 -17
- package/lib/cjs/contexts.js +0 -30
- package/lib/cjs/contexts.js.map +0 -1
- package/lib/cjs/debug-system-messages.d.ts +0 -177
- package/lib/cjs/debug-system-messages.js +0 -219
- package/lib/cjs/debug-system-messages.js.map +0 -1
- package/lib/cjs/dev-app.d.ts +0 -213
- package/lib/cjs/dev-app.js +0 -98
- package/lib/cjs/dev-app.js.map +0 -1
- package/lib/cjs/index-types.d.ts +0 -187
- package/lib/cjs/index-types.js +0 -16
- package/lib/cjs/index-types.js.map +0 -1
- package/lib/cjs/index.d.ts +0 -12
- package/lib/cjs/index.js +0 -26
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/message-utils.d.ts +0 -20
- package/lib/cjs/message-utils.js +0 -64
- package/lib/cjs/message-utils.js.map +0 -1
- package/lib/cjs/msg-to-botonic.d.ts +0 -17
- package/lib/cjs/msg-to-botonic.js +0 -142
- package/lib/cjs/msg-to-botonic.js.map +0 -1
- package/lib/cjs/node-app.d.ts +0 -7
- package/lib/cjs/node-app.js +0 -23
- package/lib/cjs/node-app.js.map +0 -1
- package/lib/cjs/react-bot.d.ts +0 -18
- package/lib/cjs/react-bot.js +0 -36
- package/lib/cjs/react-bot.js.map +0 -1
- package/lib/cjs/shared/styles.d.ts +0 -2
- package/lib/cjs/shared/styles.js +0 -32
- package/lib/cjs/shared/styles.js.map +0 -1
- package/lib/cjs/util/dom.d.ts +0 -4
- package/lib/cjs/util/dom.js +0 -31
- package/lib/cjs/util/dom.js.map +0 -1
- package/lib/cjs/util/environment.d.ts +0 -7
- package/lib/cjs/util/environment.js +0 -85
- package/lib/cjs/util/environment.js.map +0 -1
- package/lib/cjs/util/error-boundary.d.ts +0 -7
- package/lib/cjs/util/error-boundary.js +0 -32
- package/lib/cjs/util/error-boundary.js.map +0 -1
- package/lib/cjs/util/functional.d.ts +0 -3
- package/lib/cjs/util/functional.js +0 -29
- package/lib/cjs/util/functional.js.map +0 -1
- package/lib/cjs/util/i18n.d.ts +0 -26
- package/lib/cjs/util/i18n.js +0 -165
- package/lib/cjs/util/i18n.js.map +0 -1
- package/lib/cjs/util/index.d.ts +0 -10
- package/lib/cjs/util/index.js +0 -14
- package/lib/cjs/util/index.js.map +0 -1
- package/lib/cjs/util/logs.d.ts +0 -2
- package/lib/cjs/util/logs.js +0 -20
- package/lib/cjs/util/logs.js.map +0 -1
- package/lib/cjs/util/objects.d.ts +0 -3
- package/lib/cjs/util/objects.js +0 -45
- package/lib/cjs/util/objects.js.map +0 -1
- package/lib/cjs/util/react.d.ts +0 -12
- package/lib/cjs/util/react.js +0 -45
- package/lib/cjs/util/react.js.map +0 -1
- package/lib/cjs/util/regexs.d.ts +0 -2
- package/lib/cjs/util/regexs.js +0 -24
- package/lib/cjs/util/regexs.js.map +0 -1
- package/lib/cjs/util/strings.d.ts +0 -1
- package/lib/cjs/util/strings.js +0 -11
- package/lib/cjs/util/strings.js.map +0 -1
- package/lib/cjs/util/webchat.d.ts +0 -24
- package/lib/cjs/util/webchat.js +0 -100
- package/lib/cjs/util/webchat.js.map +0 -1
- package/lib/cjs/util/webviews.d.ts +0 -2
- package/lib/cjs/util/webviews.js +0 -8
- package/lib/cjs/util/webviews.js.map +0 -1
- package/lib/cjs/webchat/chat-area/index.d.ts +0 -1
- package/lib/cjs/webchat/chat-area/index.js +0 -22
- package/lib/cjs/webchat/chat-area/index.js.map +0 -1
- package/lib/cjs/webchat/chat-area/styles.d.ts +0 -3
- package/lib/cjs/webchat/chat-area/styles.js +0 -13
- package/lib/cjs/webchat/chat-area/styles.js.map +0 -1
- package/lib/cjs/webchat/components/common.d.ts +0 -1
- package/lib/cjs/webchat/components/common.js +0 -13
- package/lib/cjs/webchat/components/common.js.map +0 -1
- package/lib/cjs/webchat/components/conditional-animation.d.ts +0 -1
- package/lib/cjs/webchat/components/conditional-animation.js +0 -16
- package/lib/cjs/webchat/components/conditional-animation.js.map +0 -1
- package/lib/cjs/webchat/components/opened-persistent-menu.d.ts +0 -6
- package/lib/cjs/webchat/components/opened-persistent-menu.js +0 -37
- package/lib/cjs/webchat/components/opened-persistent-menu.js.map +0 -1
- package/lib/cjs/webchat/constants.d.ts +0 -8
- package/lib/cjs/webchat/constants.js +0 -13
- package/lib/cjs/webchat/constants.js.map +0 -1
- package/lib/cjs/webchat/context/actions.d.ts +0 -30
- package/lib/cjs/webchat/context/actions.js +0 -36
- package/lib/cjs/webchat/context/actions.js.map +0 -1
- package/lib/cjs/webchat/context/index.d.ts +0 -4
- package/lib/cjs/webchat/context/index.js +0 -102
- package/lib/cjs/webchat/context/index.js.map +0 -1
- package/lib/cjs/webchat/context/messages-reducer.d.ts +0 -6
- package/lib/cjs/webchat/context/messages-reducer.js +0 -175
- package/lib/cjs/webchat/context/messages-reducer.js.map +0 -1
- package/lib/cjs/webchat/context/types.d.ts +0 -84
- package/lib/cjs/webchat/context/types.js +0 -3
- package/lib/cjs/webchat/context/types.js.map +0 -1
- package/lib/cjs/webchat/context/use-webchat.d.ts +0 -46
- package/lib/cjs/webchat/context/use-webchat.js +0 -195
- package/lib/cjs/webchat/context/use-webchat.js.map +0 -1
- package/lib/cjs/webchat/context/webchat-reducer.d.ts +0 -6
- package/lib/cjs/webchat/context/webchat-reducer.js +0 -57
- package/lib/cjs/webchat/context/webchat-reducer.js.map +0 -1
- package/lib/cjs/webchat/cover-component/index.d.ts +0 -6
- package/lib/cjs/webchat/cover-component/index.js +0 -21
- package/lib/cjs/webchat/cover-component/index.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/index.d.ts +0 -1
- package/lib/cjs/webchat/custom-messages/index.js +0 -7
- package/lib/cjs/webchat/custom-messages/index.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/face-angry.d.ts +0 -3
- package/lib/cjs/webchat/custom-messages/rating/icons/face-angry.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/icons/face-angry.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/face-frown.d.ts +0 -3
- package/lib/cjs/webchat/custom-messages/rating/icons/face-frown.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/icons/face-frown.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/face-grin-beam.d.ts +0 -3
- package/lib/cjs/webchat/custom-messages/rating/icons/face-grin-beam.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/icons/face-grin-beam.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/face-meh.d.ts +0 -3
- package/lib/cjs/webchat/custom-messages/rating/icons/face-meh.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/icons/face-meh.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/face-smile.d.ts +0 -3
- package/lib/cjs/webchat/custom-messages/rating/icons/face-smile.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/icons/face-smile.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/index.d.ts +0 -6
- package/lib/cjs/webchat/custom-messages/rating/icons/index.js +0 -10
- package/lib/cjs/webchat/custom-messages/rating/icons/index.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/icons/star.d.ts +0 -3
- package/lib/cjs/webchat/custom-messages/rating/icons/star.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/icons/star.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/index.d.ts +0 -2
- package/lib/cjs/webchat/custom-messages/rating/index.js +0 -56
- package/lib/cjs/webchat/custom-messages/rating/index.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/rating-selector.d.ts +0 -11
- package/lib/cjs/webchat/custom-messages/rating/rating-selector.js +0 -26
- package/lib/cjs/webchat/custom-messages/rating/rating-selector.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/smileys.d.ts +0 -2
- package/lib/cjs/webchat/custom-messages/rating/smileys.js +0 -19
- package/lib/cjs/webchat/custom-messages/rating/smileys.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/stars.d.ts +0 -2
- package/lib/cjs/webchat/custom-messages/rating/stars.js +0 -11
- package/lib/cjs/webchat/custom-messages/rating/stars.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/styles.d.ts +0 -6
- package/lib/cjs/webchat/custom-messages/rating/styles.js +0 -25
- package/lib/cjs/webchat/custom-messages/rating/styles.js.map +0 -1
- package/lib/cjs/webchat/custom-messages/rating/types.d.ts +0 -13
- package/lib/cjs/webchat/custom-messages/rating/types.js +0 -9
- package/lib/cjs/webchat/custom-messages/rating/types.js.map +0 -1
- package/lib/cjs/webchat/devices/index.d.ts +0 -11
- package/lib/cjs/webchat/devices/index.js +0 -23
- package/lib/cjs/webchat/devices/index.js.map +0 -1
- package/lib/cjs/webchat/header/default-header.d.ts +0 -1
- package/lib/cjs/webchat/header/default-header.js +0 -25
- package/lib/cjs/webchat/header/default-header.js.map +0 -1
- package/lib/cjs/webchat/header/index.d.ts +0 -1
- package/lib/cjs/webchat/header/index.js +0 -23
- package/lib/cjs/webchat/header/index.js.map +0 -1
- package/lib/cjs/webchat/header/styles.d.ts +0 -7
- package/lib/cjs/webchat/header/styles.js +0 -63
- package/lib/cjs/webchat/header/styles.js.map +0 -1
- package/lib/cjs/webchat/hooks/index.d.ts +0 -10
- package/lib/cjs/webchat/hooks/index.js +0 -24
- package/lib/cjs/webchat/hooks/index.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-component-visible.d.ts +0 -7
- package/lib/cjs/webchat/hooks/use-component-visible.js +0 -23
- package/lib/cjs/webchat/hooks/use-component-visible.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-component-will-mount.d.ts +0 -1
- package/lib/cjs/webchat/hooks/use-component-will-mount.js +0 -9
- package/lib/cjs/webchat/hooks/use-component-will-mount.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-device-adapter.d.ts +0 -3
- package/lib/cjs/webchat/hooks/use-device-adapter.js +0 -49
- package/lib/cjs/webchat/hooks/use-device-adapter.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-previous.d.ts +0 -1
- package/lib/cjs/webchat/hooks/use-previous.js +0 -12
- package/lib/cjs/webchat/hooks/use-previous.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-scroll-to-bottom.d.ts +0 -9
- package/lib/cjs/webchat/hooks/use-scroll-to-bottom.js +0 -25
- package/lib/cjs/webchat/hooks/use-scroll-to-bottom.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-scrollbar-controller.d.ts +0 -6
- package/lib/cjs/webchat/hooks/use-scrollbar-controller.js +0 -143
- package/lib/cjs/webchat/hooks/use-scrollbar-controller.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-typing.d.ts +0 -10
- package/lib/cjs/webchat/hooks/use-typing.js +0 -36
- package/lib/cjs/webchat/hooks/use-typing.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-virtual-keyboard-detection.d.ts +0 -3
- package/lib/cjs/webchat/hooks/use-virtual-keyboard-detection.js +0 -26
- package/lib/cjs/webchat/hooks/use-virtual-keyboard-detection.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-webchat-dimensions.d.ts +0 -4
- package/lib/cjs/webchat/hooks/use-webchat-dimensions.js +0 -41
- package/lib/cjs/webchat/hooks/use-webchat-dimensions.js.map +0 -1
- package/lib/cjs/webchat/hooks/use-webchat-resizer.d.ts +0 -4
- package/lib/cjs/webchat/hooks/use-webchat-resizer.js +0 -34
- package/lib/cjs/webchat/hooks/use-webchat-resizer.js.map +0 -1
- package/lib/cjs/webchat/index-types.d.ts +0 -7
- package/lib/cjs/webchat/index-types.js +0 -3
- package/lib/cjs/webchat/index-types.js.map +0 -1
- package/lib/cjs/webchat/index.d.ts +0 -6
- package/lib/cjs/webchat/index.js +0 -20
- package/lib/cjs/webchat/index.js.map +0 -1
- package/lib/cjs/webchat/input-panel/attachment.d.ts +0 -6
- package/lib/cjs/webchat/input-panel/attachment.js +0 -30
- package/lib/cjs/webchat/input-panel/attachment.js.map +0 -1
- package/lib/cjs/webchat/input-panel/emoji-picker.d.ts +0 -5
- package/lib/cjs/webchat/input-panel/emoji-picker.js +0 -29
- package/lib/cjs/webchat/input-panel/emoji-picker.js.map +0 -1
- package/lib/cjs/webchat/input-panel/index.d.ts +0 -9
- package/lib/cjs/webchat/input-panel/index.js +0 -51
- package/lib/cjs/webchat/input-panel/index.js.map +0 -1
- package/lib/cjs/webchat/input-panel/opened-emoji-picker.d.ts +0 -6
- package/lib/cjs/webchat/input-panel/opened-emoji-picker.js +0 -15
- package/lib/cjs/webchat/input-panel/opened-emoji-picker.js.map +0 -1
- package/lib/cjs/webchat/input-panel/persistent-menu.d.ts +0 -5
- package/lib/cjs/webchat/input-panel/persistent-menu.js +0 -21
- package/lib/cjs/webchat/input-panel/persistent-menu.js.map +0 -1
- package/lib/cjs/webchat/input-panel/send-button.d.ts +0 -5
- package/lib/cjs/webchat/input-panel/send-button.js +0 -25
- package/lib/cjs/webchat/input-panel/send-button.js.map +0 -1
- package/lib/cjs/webchat/input-panel/styles.d.ts +0 -3
- package/lib/cjs/webchat/input-panel/styles.js +0 -31
- package/lib/cjs/webchat/input-panel/styles.js.map +0 -1
- package/lib/cjs/webchat/input-panel/textarea.d.ts +0 -10
- package/lib/cjs/webchat/input-panel/textarea.js +0 -52
- package/lib/cjs/webchat/input-panel/textarea.js.map +0 -1
- package/lib/cjs/webchat/input-panel/typing-network-sender.d.ts +0 -52
- package/lib/cjs/webchat/input-panel/typing-network-sender.js +0 -122
- package/lib/cjs/webchat/input-panel/typing-network-sender.js.map +0 -1
- package/lib/cjs/webchat/input-panel/use-typing-chat-event-sender.d.ts +0 -16
- package/lib/cjs/webchat/input-panel/use-typing-chat-event-sender.js +0 -45
- package/lib/cjs/webchat/input-panel/use-typing-chat-event-sender.js.map +0 -1
- package/lib/cjs/webchat/input-panel/use-typing-session.d.ts +0 -15
- package/lib/cjs/webchat/input-panel/use-typing-session.js +0 -98
- package/lib/cjs/webchat/input-panel/use-typing-session.js.map +0 -1
- package/lib/cjs/webchat/message-list/index.d.ts +0 -1
- package/lib/cjs/webchat/message-list/index.js +0 -116
- package/lib/cjs/webchat/message-list/index.js.map +0 -1
- package/lib/cjs/webchat/message-list/intro-message.d.ts +0 -1
- package/lib/cjs/webchat/message-list/intro-message.js +0 -24
- package/lib/cjs/webchat/message-list/intro-message.js.map +0 -1
- package/lib/cjs/webchat/message-list/scroll-button.d.ts +0 -5
- package/lib/cjs/webchat/message-list/scroll-button.js +0 -18
- package/lib/cjs/webchat/message-list/scroll-button.js.map +0 -1
- package/lib/cjs/webchat/message-list/styles.d.ts +0 -9
- package/lib/cjs/webchat/message-list/styles.js +0 -61
- package/lib/cjs/webchat/message-list/styles.js.map +0 -1
- package/lib/cjs/webchat/message-list/unread-messages-banner.d.ts +0 -7
- package/lib/cjs/webchat/message-list/unread-messages-banner.js +0 -18
- package/lib/cjs/webchat/message-list/unread-messages-banner.js.map +0 -1
- package/lib/cjs/webchat/message-list/use-debounce.d.ts +0 -1
- package/lib/cjs/webchat/message-list/use-debounce.js +0 -17
- package/lib/cjs/webchat/message-list/use-debounce.js.map +0 -1
- package/lib/cjs/webchat/message-list/use-notifications.d.ts +0 -7
- package/lib/cjs/webchat/message-list/use-notifications.js +0 -23
- package/lib/cjs/webchat/message-list/use-notifications.js.map +0 -1
- package/lib/cjs/webchat/replies/index.d.ts +0 -1
- package/lib/cjs/webchat/replies/index.js +0 -31
- package/lib/cjs/webchat/replies/index.js.map +0 -1
- package/lib/cjs/webchat/replies/styles.d.ts +0 -8
- package/lib/cjs/webchat/replies/styles.js +0 -25
- package/lib/cjs/webchat/replies/styles.js.map +0 -1
- package/lib/cjs/webchat/session-view.d.ts +0 -1
- package/lib/cjs/webchat/session-view.js +0 -103
- package/lib/cjs/webchat/session-view.js.map +0 -1
- package/lib/cjs/webchat/styles.d.ts +0 -4
- package/lib/cjs/webchat/styles.js +0 -65
- package/lib/cjs/webchat/styles.js.map +0 -1
- package/lib/cjs/webchat/theme/default-theme.d.ts +0 -2
- package/lib/cjs/webchat/theme/default-theme.js +0 -104
- package/lib/cjs/webchat/theme/default-theme.js.map +0 -1
- package/lib/cjs/webchat/theme/types.d.ts +0 -213
- package/lib/cjs/webchat/theme/types.js +0 -3
- package/lib/cjs/webchat/theme/types.js.map +0 -1
- package/lib/cjs/webchat/tracking.d.ts +0 -7
- package/lib/cjs/webchat/tracking.js +0 -39
- package/lib/cjs/webchat/tracking.js.map +0 -1
- package/lib/cjs/webchat/trigger-button/index.d.ts +0 -1
- package/lib/cjs/webchat/trigger-button/index.js +0 -34
- package/lib/cjs/webchat/trigger-button/index.js.map +0 -1
- package/lib/cjs/webchat/trigger-button/styles.d.ts +0 -3
- package/lib/cjs/webchat/trigger-button/styles.js +0 -40
- package/lib/cjs/webchat/trigger-button/styles.js.map +0 -1
- package/lib/cjs/webchat/typing-indicator/index.d.ts +0 -2
- package/lib/cjs/webchat/typing-indicator/index.js +0 -10
- package/lib/cjs/webchat/typing-indicator/index.js.map +0 -1
- package/lib/cjs/webchat/typing-indicator/styles.d.ts +0 -7
- package/lib/cjs/webchat/typing-indicator/styles.js +0 -50
- package/lib/cjs/webchat/typing-indicator/styles.js.map +0 -1
- package/lib/cjs/webchat/use-storage-state-hook.d.ts +0 -1
- package/lib/cjs/webchat/use-storage-state-hook.js +0 -40
- package/lib/cjs/webchat/use-storage-state-hook.js.map +0 -1
- package/lib/cjs/webchat/utils.d.ts +0 -2
- package/lib/cjs/webchat/utils.js +0 -13
- package/lib/cjs/webchat/utils.js.map +0 -1
- package/lib/cjs/webchat/webchat-dev.d.ts +0 -6
- package/lib/cjs/webchat/webchat-dev.js +0 -56
- package/lib/cjs/webchat/webchat-dev.js.map +0 -1
- package/lib/cjs/webchat/webchat.d.ts +0 -3
- package/lib/cjs/webchat/webchat.js +0 -560
- package/lib/cjs/webchat/webchat.js.map +0 -1
- package/lib/cjs/webchat/webview/header.d.ts +0 -1
- package/lib/cjs/webchat/webview/header.js +0 -18
- package/lib/cjs/webchat/webview/header.js.map +0 -1
- package/lib/cjs/webchat/webview/index.d.ts +0 -6
- package/lib/cjs/webchat/webview/index.js +0 -82
- package/lib/cjs/webchat/webview/index.js.map +0 -1
- package/lib/cjs/webchat/webview/styles.d.ts +0 -7
- package/lib/cjs/webchat/webview/styles.js +0 -60
- package/lib/cjs/webchat/webview/styles.js.map +0 -1
- package/lib/cjs/webchat-app.d.ts +0 -114
- package/lib/cjs/webchat-app.js +0 -407
- package/lib/cjs/webchat-app.js.map +0 -1
- package/lib/cjs/webchat.template.html +0 -37
- package/lib/cjs/webview-app.d.ts +0 -7
- package/lib/cjs/webview-app.js +0 -192
- package/lib/cjs/webview-app.js.map +0 -1
- package/lib/cjs/webview.template.html +0 -39
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/system-debug-trace/events/ai-agent-router/index.ts"],"names":[],"mappings":";;;AAAA,4DAAiC;AACjC,kDAAuB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { EventAction } from '@botonic/core';
|
|
2
|
-
import type { ToolExecuted } from '../ai-agent/types';
|
|
3
|
-
import type { ChunkIdsGroupedBySourceData } from '../knowledge-bases-types';
|
|
4
|
-
export type { ToolExecuted };
|
|
5
|
-
export interface SpecialistDebugEvent {
|
|
6
|
-
name: string;
|
|
7
|
-
description: string;
|
|
8
|
-
}
|
|
9
|
-
export interface AiAgentRouterDebugEvent {
|
|
10
|
-
action: EventAction.AiAgentRouter;
|
|
11
|
-
flow_node_content_id: string;
|
|
12
|
-
tools_executed: ToolExecuted[];
|
|
13
|
-
memory_length: number;
|
|
14
|
-
input_guardrails_triggered: string[];
|
|
15
|
-
output_guardrails_triggered: string[];
|
|
16
|
-
exit: boolean;
|
|
17
|
-
starting_agent_name: string;
|
|
18
|
-
last_agent_name: string;
|
|
19
|
-
available_specialists: SpecialistDebugEvent[];
|
|
20
|
-
is_transferred_to_specialist: boolean;
|
|
21
|
-
knowledge_base_chunks_with_sources?: ChunkIdsGroupedBySourceData[];
|
|
22
|
-
messageId?: string;
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../src/components/system-debug-trace/events/ai-agent-router/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { EventAction } from '@botonic/core';
|
|
2
|
-
import type { DebugEventConfig } from '../types';
|
|
3
|
-
export interface BotActionDebugEvent {
|
|
4
|
-
action: EventAction.BotAction;
|
|
5
|
-
payload: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const getBotActionEventConfig: (data: BotActionDebugEvent) => DebugEventConfig;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getBotActionEventConfig = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const core_1 = require("@botonic/core");
|
|
6
|
-
const code_1 = require("../icons/code");
|
|
7
|
-
const getBotActionEventConfig = (data) => {
|
|
8
|
-
const title = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Bot action triggered ", (0, jsx_runtime_1.jsxs)("span", { children: ["- ", data.payload] })] }));
|
|
9
|
-
return {
|
|
10
|
-
action: core_1.EventAction.BotAction,
|
|
11
|
-
title,
|
|
12
|
-
component: null,
|
|
13
|
-
icon: (0, jsx_runtime_1.jsx)(code_1.CodeSvg, {}),
|
|
14
|
-
collapsible: false,
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
exports.getBotActionEventConfig = getBotActionEventConfig;
|
|
18
|
-
//# sourceMappingURL=bot-action.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bot-action.js","sourceRoot":"","sources":["../../../../../src/components/system-debug-trace/events/bot-action.tsx"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAE3C,wCAAuC;AAQhC,MAAM,uBAAuB,GAAG,CACrC,IAAyB,EACP,EAAE;IACpB,MAAM,KAAK,GAAG,CACZ,sFACuB,mDAAS,IAAI,CAAC,OAAO,IAAQ,IACjD,CACJ,CAAA;IAED,OAAO;QACL,MAAM,EAAE,kBAAW,CAAC,SAAS;QAC7B,KAAK;QACL,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,uBAAC,cAAO,KAAG;QACjB,WAAW,EAAE,KAAK;KACnB,CAAA;AACH,CAAC,CAAA;AAhBY,QAAA,uBAAuB,2BAgBnC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
interface GuardrailItemProps {
|
|
3
|
-
guardrail: string;
|
|
4
|
-
keyPrefix: string;
|
|
5
|
-
$isLastItem?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const GuardrailItem: React.FC<GuardrailItemProps>;
|
|
8
|
-
interface GuardrailListProps {
|
|
9
|
-
guardrails: string[];
|
|
10
|
-
keyPrefix: string;
|
|
11
|
-
$isLastItem?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const GuardrailList: React.FC<GuardrailListProps>;
|
|
14
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GuardrailList = exports.GuardrailItem = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const icons_1 = require("../../icons");
|
|
6
|
-
const styles_1 = require("../../styles");
|
|
7
|
-
const constants_1 = require("../constants");
|
|
8
|
-
const GuardrailItem = ({ guardrail, keyPrefix, $isLastItem, }) => ((0, jsx_runtime_1.jsxs)(styles_1.StyledGuardrailItem, { "$isLastItem": $isLastItem, children: [(0, jsx_runtime_1.jsx)(icons_1.HandSvg, {}), (0, jsx_runtime_1.jsx)(styles_1.StyledGuardrailLabel, { children: constants_1.LABELS.GUARDRAIL_TRIGGERED }), (0, jsx_runtime_1.jsxs)(styles_1.StyledGuardrailValue, { children: ["- ", guardrail] })] }, `${keyPrefix}-${guardrail}`));
|
|
9
|
-
exports.GuardrailItem = GuardrailItem;
|
|
10
|
-
const GuardrailList = ({ guardrails, keyPrefix, $isLastItem, }) => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: guardrails.map(guardrail => ((0, jsx_runtime_1.jsx)(exports.GuardrailItem, { guardrail: guardrail, keyPrefix: keyPrefix, "$isLastItem": $isLastItem }, `${keyPrefix}-${guardrail}`))) }));
|
|
11
|
-
exports.GuardrailList = GuardrailList;
|
|
12
|
-
//# sourceMappingURL=guardrail-item.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"guardrail-item.js","sourceRoot":"","sources":["../../../../../../src/components/system-debug-trace/events/components/guardrail-item.tsx"],"names":[],"mappings":";;;;AAEA,uCAAqC;AACrC,yCAIqB;AACrB,4CAAqC;AAQ9B,MAAM,aAAa,GAAiC,CAAC,EAC1D,SAAS,EACT,SAAS,EACT,WAAW,GACZ,EAAE,EAAE,CAAC,CACJ,wBAAC,4BAAmB,mBAEL,WAAW,aAExB,uBAAC,eAAO,KAAG,EACX,uBAAC,6BAAoB,cAAE,kBAAM,CAAC,mBAAmB,GAAwB,EACzE,wBAAC,6BAAoB,qBAAI,SAAS,IAAwB,KALrD,GAAG,SAAS,IAAI,SAAS,EAAE,CAMZ,CACvB,CAAA;AAbY,QAAA,aAAa,iBAazB;AAQM,MAAM,aAAa,GAAiC,CAAC,EAC1D,UAAU,EACV,SAAS,EACT,WAAW,GACZ,EAAE,EAAE,CAAC,CACJ,2DACG,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,CAC3B,uBAAC,qBAAa,IAEZ,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,iBACP,WAAW,IAHnB,GAAG,SAAS,IAAI,SAAS,EAAE,CAIhC,CACH,CAAC,GACD,CACJ,CAAA;AAfY,QAAA,aAAa,iBAezB"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./guardrail-item"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./sources-section"), exports);
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/system-debug-trace/events/components/index.ts"],"names":[],"mappings":";;;AAAA,2DAAgC;AAChC,4DAAiC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { HubtypeChunk, HubtypeSource } from '../knowledge-bases-types';
|
|
3
|
-
interface SourcesSectionProps {
|
|
4
|
-
sources: HubtypeSource[];
|
|
5
|
-
chunks: HubtypeChunk[];
|
|
6
|
-
getIconForSourceType: (source: HubtypeSource) => React.ReactNode;
|
|
7
|
-
onSeeChunks: () => void;
|
|
8
|
-
label?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const SourcesSection: ({ sources, chunks, getIconForSourceType, onSeeChunks, label, }: SourcesSectionProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SourcesSection = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
-
const styled_components_1 = tslib_1.__importDefault(require("styled-components"));
|
|
7
|
-
const styles_1 = require("../../styles");
|
|
8
|
-
const constants_1 = require("../constants");
|
|
9
|
-
const StyledSeeChunksButton = (0, styled_components_1.default)(styles_1.StyledSeeInfo) `
|
|
10
|
-
margin-left: 0;
|
|
11
|
-
margin-top: 4px;
|
|
12
|
-
`;
|
|
13
|
-
const SourcesSection = ({ sources, chunks, getIconForSourceType, onSeeChunks, label = constants_1.LABELS.SOURCES, }) => {
|
|
14
|
-
if (sources.length === 0) {
|
|
15
|
-
return null;
|
|
16
|
-
}
|
|
17
|
-
return ((0, jsx_runtime_1.jsxs)(styles_1.StyledDebugDetail, { children: [(0, jsx_runtime_1.jsx)(styles_1.StyledDebugLabel, { children: label }), sources.map(source => {
|
|
18
|
-
const icon = getIconForSourceType(source);
|
|
19
|
-
const isUrl = source.type === 'url';
|
|
20
|
-
const value = isUrl
|
|
21
|
-
? source.activeExtractionJob?.url
|
|
22
|
-
: source.activeExtractionJob?.fileName;
|
|
23
|
-
return ((0, jsx_runtime_1.jsxs)(styles_1.StyledDebugItemWithIcon, { children: [icon, isUrl ? ((0, jsx_runtime_1.jsx)(styles_1.StyledUrlSourceValue, { href: value ?? '', target: '_blank', rel: 'noopener noreferrer', title: value ?? 'Not detected', children: value })) : ((0, jsx_runtime_1.jsx)(styles_1.StyledFileSourceValue, { children: value }))] }, source.id));
|
|
24
|
-
}), chunks.length > 0 && ((0, jsx_runtime_1.jsx)(StyledSeeChunksButton, { onClick: onSeeChunks, children: constants_1.LABELS.SEE_CHUNKS_BUTTON }))] }));
|
|
25
|
-
};
|
|
26
|
-
exports.SourcesSection = SourcesSection;
|
|
27
|
-
//# sourceMappingURL=sources-section.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sources-section.js","sourceRoot":"","sources":["../../../../../../src/components/system-debug-trace/events/components/sources-section.tsx"],"names":[],"mappings":";;;;;AACA,kFAAsC;AACtC,yCAOqB;AACrB,4CAAqC;AAGrC,MAAM,qBAAqB,GAAG,IAAA,2BAAM,EAAC,sBAAa,CAAC,CAAA;;;CAGlD,CAAA;AAUM,MAAM,cAAc,GAAG,CAAC,EAC7B,OAAO,EACP,MAAM,EACN,oBAAoB,EACpB,WAAW,EACX,KAAK,GAAG,kBAAM,CAAC,OAAO,GACF,EAAE,EAAE;IACxB,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,CACL,wBAAC,0BAAiB,eAChB,uBAAC,yBAAgB,cAAE,KAAK,GAAoB,EAC3C,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;gBACpB,MAAM,IAAI,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAA;gBACzC,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,KAAK,KAAK,CAAA;gBACnC,MAAM,KAAK,GAAG,KAAK;oBACjB,CAAC,CAAC,MAAM,CAAC,mBAAmB,EAAE,GAAG;oBACjC,CAAC,CAAC,MAAM,CAAC,mBAAmB,EAAE,QAAQ,CAAA;gBAExC,OAAO,CACL,wBAAC,gCAAuB,eACrB,IAAI,EACJ,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,6BAAoB,IACnB,IAAI,EAAE,KAAK,IAAI,EAAE,EACjB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,KAAK,EAAE,KAAK,IAAI,cAAc,YAE7B,KAAK,GACe,CACxB,CAAC,CAAC,CAAC,CACF,uBAAC,8BAAqB,cAAE,KAAK,GAAyB,CACvD,KAb2B,MAAM,CAAC,EAAE,CAcb,CAC3B,CAAA;YACH,CAAC,CAAC,EACD,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,CACpB,uBAAC,qBAAqB,IAAC,OAAO,EAAE,WAAW,YACxC,kBAAM,CAAC,iBAAiB,GACH,CACzB,IACiB,CACrB,CAAA;AACH,CAAC,CAAA;AA9CY,QAAA,cAAc,kBA8C1B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { EventAction } from '@botonic/core';
|
|
2
|
-
import type { DebugEventConfig } from '../types';
|
|
3
|
-
export interface ConditionalChannelDebugEvent {
|
|
4
|
-
action: EventAction.ConditionalChannel;
|
|
5
|
-
channel: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const getConditionalChannelEventConfig: (data: ConditionalChannelDebugEvent) => DebugEventConfig;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getConditionalChannelEventConfig = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const core_1 = require("@botonic/core");
|
|
6
|
-
const split_1 = require("../icons/split");
|
|
7
|
-
const getConditionalChannelEventConfig = (data) => {
|
|
8
|
-
const title = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Channel checked ", (0, jsx_runtime_1.jsxs)("span", { children: ["- ", data.channel] })] }));
|
|
9
|
-
return {
|
|
10
|
-
action: core_1.EventAction.ConditionalChannel,
|
|
11
|
-
title,
|
|
12
|
-
component: null,
|
|
13
|
-
icon: (0, jsx_runtime_1.jsx)(split_1.SplitSvg, {}),
|
|
14
|
-
collapsible: false,
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
exports.getConditionalChannelEventConfig = getConditionalChannelEventConfig;
|
|
18
|
-
//# sourceMappingURL=conditional-channel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"conditional-channel.js","sourceRoot":"","sources":["../../../../../src/components/system-debug-trace/events/conditional-channel.tsx"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAE3C,0CAAyC;AAQlC,MAAM,gCAAgC,GAAG,CAC9C,IAAkC,EAChB,EAAE;IACpB,MAAM,KAAK,GAAG,CACZ,iFACkB,mDAAS,IAAI,CAAC,OAAO,IAAQ,IAC5C,CACJ,CAAA;IAED,OAAO;QACL,MAAM,EAAE,kBAAW,CAAC,kBAAkB;QACtC,KAAK;QACL,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,uBAAC,gBAAQ,KAAG;QAClB,WAAW,EAAE,KAAK;KACnB,CAAA;AACH,CAAC,CAAA;AAhBY,QAAA,gCAAgC,oCAgB5C"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { EventAction } from '@botonic/core';
|
|
2
|
-
import type { DebugEventConfig } from '../types';
|
|
3
|
-
export interface ConditionalCountryDebugEvent {
|
|
4
|
-
action: EventAction.ConditionalCountry;
|
|
5
|
-
country: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const getConditionalCountryEventConfig: (data: ConditionalCountryDebugEvent) => DebugEventConfig;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getConditionalCountryEventConfig = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const core_1 = require("@botonic/core");
|
|
6
|
-
const split_1 = require("../icons/split");
|
|
7
|
-
const getConditionalCountryEventConfig = (data) => {
|
|
8
|
-
const title = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Country checked ", (0, jsx_runtime_1.jsxs)("span", { children: ["- ", data.country] })] }));
|
|
9
|
-
return {
|
|
10
|
-
action: core_1.EventAction.ConditionalCountry,
|
|
11
|
-
title,
|
|
12
|
-
component: null,
|
|
13
|
-
icon: (0, jsx_runtime_1.jsx)(split_1.SplitSvg, {}),
|
|
14
|
-
collapsible: false,
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
exports.getConditionalCountryEventConfig = getConditionalCountryEventConfig;
|
|
18
|
-
//# sourceMappingURL=conditional-country.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"conditional-country.js","sourceRoot":"","sources":["../../../../../src/components/system-debug-trace/events/conditional-country.tsx"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAE3C,0CAAyC;AAQlC,MAAM,gCAAgC,GAAG,CAC9C,IAAkC,EAChB,EAAE;IACpB,MAAM,KAAK,GAAG,CACZ,iFACkB,mDAAS,IAAI,CAAC,OAAO,IAAQ,IAC5C,CACJ,CAAA;IAED,OAAO;QACL,MAAM,EAAE,kBAAW,CAAC,kBAAkB;QACtC,KAAK;QACL,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,uBAAC,gBAAQ,KAAG;QAClB,WAAW,EAAE,KAAK;KACnB,CAAA;AACH,CAAC,CAAA;AAhBY,QAAA,gCAAgC,oCAgB5C"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventAction } from '@botonic/core';
|
|
2
|
-
import type { DebugEventConfig } from '../types';
|
|
3
|
-
export interface ConditionalCustomDebugEvent {
|
|
4
|
-
action: EventAction.ConditionalCustom;
|
|
5
|
-
conditional_variable: string;
|
|
6
|
-
variable_format: string;
|
|
7
|
-
operator: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const ConditionalCustom: (props: ConditionalCustomDebugEvent) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare const getConditionalCustomEventConfig: (_data: ConditionalCustomDebugEvent) => DebugEventConfig;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getConditionalCustomEventConfig = exports.ConditionalCustom = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const core_1 = require("@botonic/core");
|
|
6
|
-
const split_1 = require("../icons/split");
|
|
7
|
-
const styles_1 = require("../styles");
|
|
8
|
-
const constants_1 = require("./constants");
|
|
9
|
-
const ConditionalCustom = (props) => {
|
|
10
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(styles_1.StyledDebugDetail, { children: [(0, jsx_runtime_1.jsx)(styles_1.StyledDebugLabel, { children: constants_1.LABELS.TYPE }), (0, jsx_runtime_1.jsx)(styles_1.StyledDebugValue, { children: props.variable_format })] }), props.operator ? ((0, jsx_runtime_1.jsxs)(styles_1.StyledDebugDetail, { children: [(0, jsx_runtime_1.jsx)(styles_1.StyledDebugLabel, { children: constants_1.LABELS.OPERATOR }), (0, jsx_runtime_1.jsx)(styles_1.StyledDebugValue, { children: props.operator })] })) : null, (0, jsx_runtime_1.jsxs)(styles_1.StyledDebugDetail, { children: [(0, jsx_runtime_1.jsx)(styles_1.StyledDebugLabel, { children: constants_1.LABELS.TARGET }), (0, jsx_runtime_1.jsx)(styles_1.StyledDebugValue, { children: props.conditional_variable })] })] }));
|
|
11
|
-
};
|
|
12
|
-
exports.ConditionalCustom = ConditionalCustom;
|
|
13
|
-
const getConditionalCustomEventConfig = (_data) => {
|
|
14
|
-
const title = 'Custom condition';
|
|
15
|
-
return {
|
|
16
|
-
action: core_1.EventAction.ConditionalCustom,
|
|
17
|
-
title,
|
|
18
|
-
component: exports.ConditionalCustom,
|
|
19
|
-
icon: (0, jsx_runtime_1.jsx)(split_1.SplitSvg, {}),
|
|
20
|
-
collapsible: true,
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
exports.getConditionalCustomEventConfig = getConditionalCustomEventConfig;
|
|
24
|
-
//# sourceMappingURL=conditional-custom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"conditional-custom.js","sourceRoot":"","sources":["../../../../../src/components/system-debug-trace/events/conditional-custom.tsx"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAE3C,0CAAyC;AACzC,sCAIkB;AAElB,2CAAoC;AAS7B,MAAM,iBAAiB,GAAG,CAAC,KAAkC,EAAE,EAAE;IACtE,OAAO,CACL,6DACE,wBAAC,0BAAiB,eAChB,uBAAC,yBAAgB,cAAE,kBAAM,CAAC,IAAI,GAAoB,EAClD,uBAAC,yBAAgB,cAAE,KAAK,CAAC,eAAe,GAAoB,IAC1C,EACnB,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAChB,wBAAC,0BAAiB,eAChB,uBAAC,yBAAgB,cAAE,kBAAM,CAAC,QAAQ,GAAoB,EACtD,uBAAC,yBAAgB,cAAE,KAAK,CAAC,QAAQ,GAAoB,IACnC,CACrB,CAAC,CAAC,CAAC,IAAI,EACR,wBAAC,0BAAiB,eAChB,uBAAC,yBAAgB,cAAE,kBAAM,CAAC,MAAM,GAAoB,EACpD,uBAAC,yBAAgB,cAAE,KAAK,CAAC,oBAAoB,GAAoB,IAC/C,IACnB,CACJ,CAAA;AACH,CAAC,CAAA;AAnBY,QAAA,iBAAiB,qBAmB7B;AAEM,MAAM,+BAA+B,GAAG,CAC7C,KAAkC,EAChB,EAAE;IACpB,MAAM,KAAK,GAAG,kBAAkB,CAAA;IAEhC,OAAO;QACL,MAAM,EAAE,kBAAW,CAAC,iBAAiB;QACrC,KAAK;QACL,SAAS,EAAE,yBAAiB;QAC5B,IAAI,EAAE,uBAAC,gBAAQ,KAAG;QAClB,WAAW,EAAE,IAAI;KAClB,CAAA;AACH,CAAC,CAAA;AAZY,QAAA,+BAA+B,mCAY3C"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { EventAction } from '@botonic/core';
|
|
2
|
-
import type { DebugEventConfig } from '../types';
|
|
3
|
-
export interface ConditionalQueueStatusDebugEvent {
|
|
4
|
-
action: EventAction.ConditionalQueueStatus;
|
|
5
|
-
queue_id: string;
|
|
6
|
-
queue_name: string;
|
|
7
|
-
is_queue_open: boolean;
|
|
8
|
-
is_available_agent: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const ConditionalQueueStatus: (props: ConditionalQueueStatusDebugEvent) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export declare const getConditionalQueueStatusEventConfig: (data: ConditionalQueueStatusDebugEvent) => DebugEventConfig;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getConditionalQueueStatusEventConfig = exports.ConditionalQueueStatus = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const core_1 = require("@botonic/core");
|
|
6
|
-
const split_1 = require("../icons/split");
|
|
7
|
-
const styles_1 = require("../styles");
|
|
8
|
-
const constants_1 = require("./constants");
|
|
9
|
-
const ConditionalQueueStatus = (props) => {
|
|
10
|
-
const queueStatus = props.is_queue_open ? constants_1.LABELS.OPEN : constants_1.LABELS.CLOSED;
|
|
11
|
-
const agentStatus = props.is_available_agent ? constants_1.LABELS.YES : constants_1.LABELS.NO;
|
|
12
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(styles_1.StyledDebugDetail, { children: [(0, jsx_runtime_1.jsx)(styles_1.StyledDebugLabel, { children: constants_1.LABELS.QUEUE }), (0, jsx_runtime_1.jsx)(styles_1.StyledDebugValue, { children: props.queue_name })] }), (0, jsx_runtime_1.jsxs)(styles_1.StyledDebugDetail, { children: [(0, jsx_runtime_1.jsx)(styles_1.StyledDebugLabel, { children: constants_1.LABELS.STATUS }), (0, jsx_runtime_1.jsx)(styles_1.StyledDebugValue, { children: queueStatus })] }), (0, jsx_runtime_1.jsxs)(styles_1.StyledDebugDetail, { children: [(0, jsx_runtime_1.jsx)(styles_1.StyledDebugLabel, { children: constants_1.LABELS.AGENTS_AVAILABLE }), (0, jsx_runtime_1.jsx)(styles_1.StyledDebugValue, { children: agentStatus })] })] }));
|
|
13
|
-
};
|
|
14
|
-
exports.ConditionalQueueStatus = ConditionalQueueStatus;
|
|
15
|
-
const getConditionalQueueStatusEventConfig = (data) => {
|
|
16
|
-
const title = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Queue status checked ", (0, jsx_runtime_1.jsxs)("span", { children: ["- ", data.queue_name] })] }));
|
|
17
|
-
return {
|
|
18
|
-
action: core_1.EventAction.ConditionalQueueStatus,
|
|
19
|
-
title,
|
|
20
|
-
component: exports.ConditionalQueueStatus,
|
|
21
|
-
icon: (0, jsx_runtime_1.jsx)(split_1.SplitSvg, {}),
|
|
22
|
-
collapsible: true,
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
exports.getConditionalQueueStatusEventConfig = getConditionalQueueStatusEventConfig;
|
|
26
|
-
//# sourceMappingURL=conditional-queue-status.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"conditional-queue-status.js","sourceRoot":"","sources":["../../../../../src/components/system-debug-trace/events/conditional-queue-status.tsx"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAE3C,0CAAyC;AACzC,sCAIkB;AAElB,2CAAoC;AAU7B,MAAM,sBAAsB,GAAG,CACpC,KAAuC,EACvC,EAAE;IACF,MAAM,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,kBAAM,CAAC,IAAI,CAAC,CAAC,CAAC,kBAAM,CAAC,MAAM,CAAA;IACrE,MAAM,WAAW,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,kBAAM,CAAC,GAAG,CAAC,CAAC,CAAC,kBAAM,CAAC,EAAE,CAAA;IAErE,OAAO,CACL,6DACE,wBAAC,0BAAiB,eAChB,uBAAC,yBAAgB,cAAE,kBAAM,CAAC,KAAK,GAAoB,EACnD,uBAAC,yBAAgB,cAAE,KAAK,CAAC,UAAU,GAAoB,IACrC,EACpB,wBAAC,0BAAiB,eAChB,uBAAC,yBAAgB,cAAE,kBAAM,CAAC,MAAM,GAAoB,EACpD,uBAAC,yBAAgB,cAAE,WAAW,GAAoB,IAChC,EACpB,wBAAC,0BAAiB,eAChB,uBAAC,yBAAgB,cAAE,kBAAM,CAAC,gBAAgB,GAAoB,EAC9D,uBAAC,yBAAgB,cAAE,WAAW,GAAoB,IAChC,IACnB,CACJ,CAAA;AACH,CAAC,CAAA;AAtBY,QAAA,sBAAsB,0BAsBlC;AAEM,MAAM,oCAAoC,GAAG,CAClD,IAAsC,EACpB,EAAE;IACpB,MAAM,KAAK,GAAG,CACZ,sFACuB,mDAAS,IAAI,CAAC,UAAU,IAAQ,IACpD,CACJ,CAAA;IAED,OAAO;QACL,MAAM,EAAE,kBAAW,CAAC,sBAAsB;QAC1C,KAAK;QACL,SAAS,EAAE,8BAAsB;QACjC,IAAI,EAAE,uBAAC,gBAAQ,KAAG;QAClB,WAAW,EAAE,IAAI;KAClB,CAAA;AACH,CAAC,CAAA;AAhBY,QAAA,oCAAoC,wCAgBhD"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export declare const LABELS: {
|
|
2
|
-
readonly GUARDRAIL_TRIGGERED: "Guardrail triggered";
|
|
3
|
-
readonly FAITHFUL_ANSWER: "Faithful answer";
|
|
4
|
-
readonly QUERY: "Query";
|
|
5
|
-
readonly SOURCES: "Sources";
|
|
6
|
-
readonly KNOWLEDGE_SOURCES: "Knowledge sources";
|
|
7
|
-
readonly EXECUTED_TOOLS: "Executed tools";
|
|
8
|
-
readonly TOOL_ARGUMENTS: "Tool arguments";
|
|
9
|
-
readonly TOOL_RESULTS: "Tool results";
|
|
10
|
-
readonly NO_TOOLS_EXECUTED: "No tools executed";
|
|
11
|
-
readonly AUTO_ASSIGN_ON: "ON";
|
|
12
|
-
readonly AUTO_ASSIGN_OFF: "OFF";
|
|
13
|
-
readonly EXIT: "Exit";
|
|
14
|
-
readonly ERROR: "Error";
|
|
15
|
-
readonly QUEUE: "Queue";
|
|
16
|
-
readonly AUTO_ASSIGN: "Auto-assign";
|
|
17
|
-
readonly NOTE: "Note";
|
|
18
|
-
readonly SEE_CHUNKS_BUTTON: "See chunks";
|
|
19
|
-
readonly SEE_TOOL_DETAILS: "Details";
|
|
20
|
-
readonly STATUS: "Status";
|
|
21
|
-
readonly YES: "Yes";
|
|
22
|
-
readonly NO: "No";
|
|
23
|
-
readonly OPEN: "Open";
|
|
24
|
-
readonly CLOSED: "Closed";
|
|
25
|
-
readonly AGENTS_AVAILABLE: "Agents available";
|
|
26
|
-
readonly OPERATOR: "Operator";
|
|
27
|
-
readonly TARGET: "Target";
|
|
28
|
-
readonly TYPE: "Type";
|
|
29
|
-
readonly AVAILABLE_TRANSFERS: "Available transfers";
|
|
30
|
-
readonly SPECIALISTS_AVAILABLE: "Specialists available";
|
|
31
|
-
readonly NO_TRANSFER: "No transfer";
|
|
32
|
-
readonly TRANSFERRED_TO: "Transferred to";
|
|
33
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LABELS = void 0;
|
|
4
|
-
exports.LABELS = {
|
|
5
|
-
GUARDRAIL_TRIGGERED: 'Guardrail triggered',
|
|
6
|
-
FAITHFUL_ANSWER: 'Faithful answer',
|
|
7
|
-
QUERY: 'Query',
|
|
8
|
-
SOURCES: 'Sources',
|
|
9
|
-
KNOWLEDGE_SOURCES: 'Knowledge sources',
|
|
10
|
-
EXECUTED_TOOLS: 'Executed tools',
|
|
11
|
-
TOOL_ARGUMENTS: 'Tool arguments',
|
|
12
|
-
TOOL_RESULTS: 'Tool results',
|
|
13
|
-
NO_TOOLS_EXECUTED: 'No tools executed',
|
|
14
|
-
AUTO_ASSIGN_ON: 'ON',
|
|
15
|
-
AUTO_ASSIGN_OFF: 'OFF',
|
|
16
|
-
EXIT: 'Exit',
|
|
17
|
-
ERROR: 'Error',
|
|
18
|
-
QUEUE: 'Queue',
|
|
19
|
-
AUTO_ASSIGN: 'Auto-assign',
|
|
20
|
-
NOTE: 'Note',
|
|
21
|
-
SEE_CHUNKS_BUTTON: 'See chunks',
|
|
22
|
-
SEE_TOOL_DETAILS: 'Details',
|
|
23
|
-
STATUS: 'Status',
|
|
24
|
-
YES: 'Yes',
|
|
25
|
-
NO: 'No',
|
|
26
|
-
OPEN: 'Open',
|
|
27
|
-
CLOSED: 'Closed',
|
|
28
|
-
AGENTS_AVAILABLE: 'Agents available',
|
|
29
|
-
OPERATOR: 'Operator',
|
|
30
|
-
TARGET: 'Target',
|
|
31
|
-
TYPE: 'Type',
|
|
32
|
-
AVAILABLE_TRANSFERS: 'Available transfers',
|
|
33
|
-
SPECIALISTS_AVAILABLE: 'Specialists available',
|
|
34
|
-
NO_TRANSFER: 'No transfer',
|
|
35
|
-
TRANSFERRED_TO: 'Transferred to',
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/components/system-debug-trace/events/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IACpB,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,iBAAiB;IAClC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,iBAAiB,EAAE,mBAAmB;IACtC,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;IAC5B,iBAAiB,EAAE,mBAAmB;IACtC,cAAc,EAAE,IAAI;IACpB,eAAe,EAAE,KAAK;IACtB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,iBAAiB,EAAE,YAAY;IAC/B,gBAAgB,EAAE,SAAS;IAC3B,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,gBAAgB,EAAE,kBAAkB;IACpC,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,mBAAmB,EAAE,qBAAqB;IAC1C,qBAAqB,EAAE,uBAAuB;IAC9C,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;CACxB,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EventAction } from '@botonic/core';
|
|
2
|
-
import type { DebugEventConfig } from '../types';
|
|
3
|
-
export interface FallbackDebugEvent {
|
|
4
|
-
action: EventAction.Fallback;
|
|
5
|
-
user_input: string;
|
|
6
|
-
fallback_out: number;
|
|
7
|
-
fallback_message_id: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const getFallbackEventConfig: (data: FallbackDebugEvent) => DebugEventConfig;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getFallbackEventConfig = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const core_1 = require("@botonic/core");
|
|
6
|
-
const life_ring_1 = require("../icons/life-ring");
|
|
7
|
-
const getFallbackEventConfig = (data) => {
|
|
8
|
-
const ordinal = data.fallback_out === 1 ? '1st' : '2nd';
|
|
9
|
-
const title = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Fallback message triggered ", (0, jsx_runtime_1.jsxs)("span", { children: ["- ", ordinal, " message"] })] }));
|
|
10
|
-
return {
|
|
11
|
-
action: core_1.EventAction.Fallback,
|
|
12
|
-
title,
|
|
13
|
-
component: null,
|
|
14
|
-
icon: (0, jsx_runtime_1.jsx)(life_ring_1.LifeRingSvg, {}),
|
|
15
|
-
collapsible: false,
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
exports.getFallbackEventConfig = getFallbackEventConfig;
|
|
19
|
-
//# sourceMappingURL=fallback.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fallback.js","sourceRoot":"","sources":["../../../../../src/components/system-debug-trace/events/fallback.tsx"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAE3C,kDAAgD;AAUzC,MAAM,sBAAsB,GAAG,CACpC,IAAwB,EACN,EAAE;IACpB,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAA;IACvD,MAAM,KAAK,GAAG,CACZ,4FAC6B,mDAAS,OAAO,gBAAgB,IAC1D,CACJ,CAAA;IAED,OAAO;QACL,MAAM,EAAE,kBAAW,CAAC,QAAQ;QAC5B,KAAK;QACL,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,uBAAC,uBAAW,KAAG;QACrB,WAAW,EAAE,KAAK;KACnB,CAAA;AACH,CAAC,CAAA;AAjBY,QAAA,sBAAsB,0BAiBlC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { EventAction } from '@botonic/core';
|
|
2
|
-
import type { DebugEventConfig } from '../types';
|
|
3
|
-
export interface HandoffSuccessDebugEvent {
|
|
4
|
-
action: EventAction.HandoffSuccess;
|
|
5
|
-
handoff_queue_name: string;
|
|
6
|
-
handoff_is_queue_open: boolean;
|
|
7
|
-
handoff_has_auto_assign: boolean;
|
|
8
|
-
handoff_note_id: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const HandoffSuccess: (props: HandoffSuccessDebugEvent) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export declare const getHandoffSuccessEventConfig: (data: HandoffSuccessDebugEvent) => DebugEventConfig;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getHandoffSuccessEventConfig = exports.HandoffSuccess = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const core_1 = require("@botonic/core");
|
|
6
|
-
const react_1 = require("react");
|
|
7
|
-
const context_1 = require("../../../webchat/context");
|
|
8
|
-
const icons_1 = require("../icons");
|
|
9
|
-
const styles_1 = require("../styles");
|
|
10
|
-
const constants_1 = require("./constants");
|
|
11
|
-
const HandoffSuccess = (props) => {
|
|
12
|
-
const { previewUtils } = (0, react_1.useContext)(context_1.WebchatContext);
|
|
13
|
-
const [noteMessage, setNoteMessage] = (0, react_1.useState)();
|
|
14
|
-
(0, react_1.useEffect)(() => {
|
|
15
|
-
const fetchNoteMessage = async () => {
|
|
16
|
-
if (!previewUtils || !props.handoff_note_id) {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
const noteMessage = await previewUtils.getMessageById(props.handoff_note_id);
|
|
20
|
-
if (!noteMessage) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
setNoteMessage(noteMessage.text);
|
|
24
|
-
};
|
|
25
|
-
fetchNoteMessage();
|
|
26
|
-
}, [previewUtils, props.handoff_note_id]);
|
|
27
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(styles_1.StyledDebugDetail, { children: [(0, jsx_runtime_1.jsx)(styles_1.StyledDebugLabel, { children: constants_1.LABELS.QUEUE }), (0, jsx_runtime_1.jsx)(styles_1.StyledDebugValue, { children: props.handoff_queue_name })] }), (0, jsx_runtime_1.jsxs)(styles_1.StyledDebugDetail, { children: [(0, jsx_runtime_1.jsx)(styles_1.StyledDebugLabel, { children: constants_1.LABELS.AUTO_ASSIGN }), (0, jsx_runtime_1.jsx)(styles_1.StyledDebugValue, { children: props.handoff_has_auto_assign
|
|
28
|
-
? constants_1.LABELS.AUTO_ASSIGN_ON
|
|
29
|
-
: constants_1.LABELS.AUTO_ASSIGN_OFF })] }), Boolean(noteMessage) && ((0, jsx_runtime_1.jsxs)(styles_1.StyledDebugDetail, { children: [(0, jsx_runtime_1.jsx)(styles_1.StyledDebugLabel, { children: constants_1.LABELS.NOTE }), (0, jsx_runtime_1.jsx)(styles_1.StyledDebugValue, { children: noteMessage })] }))] }));
|
|
30
|
-
};
|
|
31
|
-
exports.HandoffSuccess = HandoffSuccess;
|
|
32
|
-
const getHandoffSuccessEventConfig = (data) => {
|
|
33
|
-
return {
|
|
34
|
-
action: core_1.EventAction.HandoffSuccess,
|
|
35
|
-
title: ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Handoff to agent ", (0, jsx_runtime_1.jsxs)("span", { children: ["- ", data.handoff_queue_name] })] })),
|
|
36
|
-
icon: (0, jsx_runtime_1.jsx)(icons_1.HeadSetSvg, {}),
|
|
37
|
-
component: exports.HandoffSuccess,
|
|
38
|
-
collapsible: true,
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
exports.getHandoffSuccessEventConfig = getHandoffSuccessEventConfig;
|
|
42
|
-
//# sourceMappingURL=handoff-success.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handoff-success.js","sourceRoot":"","sources":["../../../../../src/components/system-debug-trace/events/handoff-success.tsx"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,iCAAuD;AAEvD,sDAAyD;AACzD,oCAAqC;AACrC,sCAIkB;AAElB,2CAAoC;AAU7B,MAAM,cAAc,GAAG,CAAC,KAA+B,EAAE,EAAE;IAChE,MAAM,EAAE,YAAY,EAAE,GAAG,IAAA,kBAAU,EAAC,wBAAc,CAAC,CAAA;IACnD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,GAAU,CAAA;IAExD,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,MAAM,gBAAgB,GAAG,KAAK,IAAI,EAAE;YAClC,IAAI,CAAC,YAAY,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE,CAAC;gBAC5C,OAAM;YACR,CAAC;YACD,MAAM,WAAW,GAAG,MAAM,YAAY,CAAC,cAAc,CACnD,KAAK,CAAC,eAAe,CACtB,CAAA;YACD,IAAI,CAAC,WAAW,EAAE,CAAC;gBACjB,OAAM;YACR,CAAC;YACD,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CAAA;QAClC,CAAC,CAAA;QACD,gBAAgB,EAAE,CAAA;IACpB,CAAC,EAAE,CAAC,YAAY,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC,CAAA;IAEzC,OAAO,CACL,6DACE,wBAAC,0BAAiB,eAChB,uBAAC,yBAAgB,cAAE,kBAAM,CAAC,KAAK,GAAoB,EACnD,uBAAC,yBAAgB,cAAE,KAAK,CAAC,kBAAkB,GAAoB,IAC7C,EACpB,wBAAC,0BAAiB,eAChB,uBAAC,yBAAgB,cAAE,kBAAM,CAAC,WAAW,GAAoB,EACzD,uBAAC,yBAAgB,cACd,KAAK,CAAC,uBAAuB;4BAC5B,CAAC,CAAC,kBAAM,CAAC,cAAc;4BACvB,CAAC,CAAC,kBAAM,CAAC,eAAe,GACT,IACD,EACnB,OAAO,CAAC,WAAW,CAAC,IAAI,CACvB,wBAAC,0BAAiB,eAChB,uBAAC,yBAAgB,cAAE,kBAAM,CAAC,IAAI,GAAoB,EAClD,uBAAC,yBAAgB,cAAE,WAAW,GAAoB,IAChC,CACrB,IACA,CACJ,CAAA;AACH,CAAC,CAAA;AA1CY,QAAA,cAAc,kBA0C1B;AAEM,MAAM,4BAA4B,GAAG,CAC1C,IAA8B,EACZ,EAAE;IACpB,OAAO;QACL,MAAM,EAAE,kBAAW,CAAC,cAAc;QAClC,KAAK,EAAE,CACL,kFACmB,mDAAS,IAAI,CAAC,kBAAkB,IAAQ,IACxD,CACJ;QACD,IAAI,EAAE,uBAAC,kBAAU,KAAG;QACpB,SAAS,EAAE,sBAAc;QACzB,WAAW,EAAE,IAAI;KAClB,CAAA;AACH,CAAC,CAAA;AAdY,QAAA,4BAA4B,gCAcxC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export * from './ai-agent';
|
|
2
|
-
export * from './ai-agent-router';
|
|
3
|
-
export * from './bot-action';
|
|
4
|
-
export * from './conditional-channel';
|
|
5
|
-
export * from './conditional-country';
|
|
6
|
-
export * from './conditional-custom';
|
|
7
|
-
export * from './conditional-queue-status';
|
|
8
|
-
export * from './fallback';
|
|
9
|
-
export * from './handoff-success';
|
|
10
|
-
export * from './keyword';
|
|
11
|
-
export * from './knowledge-bases-types';
|
|
12
|
-
export * from './redirect-flow';
|
|
13
|
-
export * from './smart-intent';
|
|
14
|
-
export * from './webview-action-triggered';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./ai-agent"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ai-agent-router"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./bot-action"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./conditional-channel"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./conditional-country"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./conditional-custom"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./conditional-queue-status"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./fallback"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./handoff-success"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./keyword"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./knowledge-bases-types"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./redirect-flow"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./smart-intent"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./webview-action-triggered"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/system-debug-trace/events/index.ts"],"names":[],"mappings":";;;AAAA,qDAA0B;AAC1B,4DAAiC;AACjC,uDAA4B;AAC5B,gEAAqC;AACrC,gEAAqC;AACrC,+DAAoC;AACpC,qEAA0C;AAC1C,qDAA0B;AAC1B,4DAAiC;AACjC,oDAAyB;AACzB,kEAAuC;AACvC,0DAA+B;AAC/B,yDAA8B;AAC9B,qEAA0C"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EventAction } from '@botonic/core';
|
|
2
|
-
import type { DebugEventConfig } from '../types';
|
|
3
|
-
export interface KeywordDebugEvent {
|
|
4
|
-
action: EventAction.Keyword;
|
|
5
|
-
flow_id: string;
|
|
6
|
-
flow_node_id: string;
|
|
7
|
-
nlu_keyword_is_regex: boolean;
|
|
8
|
-
nlu_keyword_name: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const getKeywordEventConfig: (data: KeywordDebugEvent) => DebugEventConfig;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getKeywordEventConfig = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const core_1 = require("@botonic/core");
|
|
6
|
-
const quote_right_1 = require("../icons/quote-right");
|
|
7
|
-
const getKeywordEventConfig = (data) => {
|
|
8
|
-
const title = ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Keyword matched ", (0, jsx_runtime_1.jsxs)("span", { children: ["- \"", data.nlu_keyword_name, "\""] })] }));
|
|
9
|
-
return {
|
|
10
|
-
action: core_1.EventAction.Keyword,
|
|
11
|
-
title,
|
|
12
|
-
component: null,
|
|
13
|
-
icon: (0, jsx_runtime_1.jsx)(quote_right_1.QuoteRightSvg, {}),
|
|
14
|
-
collapsible: false,
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
exports.getKeywordEventConfig = getKeywordEventConfig;
|
|
18
|
-
//# sourceMappingURL=keyword.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keyword.js","sourceRoot":"","sources":["../../../../../src/components/system-debug-trace/events/keyword.tsx"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAE3C,sDAAoD;AAW7C,MAAM,qBAAqB,GAAG,CACnC,IAAuB,EACL,EAAE;IACpB,MAAM,KAAK,GAAG,CACZ,iFACkB,qDAAe,IAAI,CAAC,gBAAgB,UAAc,IACjE,CACJ,CAAA;IAED,OAAO;QACL,MAAM,EAAE,kBAAW,CAAC,OAAO;QAC3B,KAAK;QACL,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,uBAAC,2BAAa,KAAG;QACvB,WAAW,EAAE,KAAK;KACnB,CAAA;AACH,CAAC,CAAA;AAhBY,QAAA,qBAAqB,yBAgBjC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
interface HubtypeExtractionJob {
|
|
2
|
-
id: string;
|
|
3
|
-
fileName: string;
|
|
4
|
-
fileUrl: string;
|
|
5
|
-
url: string | null;
|
|
6
|
-
isActive: boolean;
|
|
7
|
-
status: string;
|
|
8
|
-
hash: string;
|
|
9
|
-
createdAt: string;
|
|
10
|
-
}
|
|
11
|
-
export interface HubtypeSource {
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
type: string;
|
|
15
|
-
scrapingCountryCode: string | null;
|
|
16
|
-
createdAt: string;
|
|
17
|
-
createdBy: string;
|
|
18
|
-
lastUpdatedAt: string;
|
|
19
|
-
lastUpdatedBy: string;
|
|
20
|
-
activeExtractionJob: HubtypeExtractionJob;
|
|
21
|
-
lastExtractionJob: HubtypeExtractionJob;
|
|
22
|
-
}
|
|
23
|
-
export interface HubtypeChunk {
|
|
24
|
-
id: string;
|
|
25
|
-
text: string;
|
|
26
|
-
}
|
|
27
|
-
export interface ChunkIdsGroupedBySourceData {
|
|
28
|
-
source: HubtypeSource;
|
|
29
|
-
chunks: HubtypeChunk[];
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"knowledge-bases-types.js","sourceRoot":"","sources":["../../../../../src/components/system-debug-trace/events/knowledge-bases-types.ts"],"names":[],"mappings":""}
|