@onlive.ai/common-121 0.2.199 → 0.2.228
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/{audi-dark.theme-CwD9I0E3.d.cts → audi-dark.theme-C92mx6HX.d.cts} +1 -1
- package/{audi-dark.theme-CwD9I0E3.d.ts → audi-dark.theme-C92mx6HX.d.ts} +1 -1
- package/{audi.theme-UpbZQ49h.d.cts → audi.theme-b5_HO8i0.d.cts} +1 -1
- package/{audi.theme-UpbZQ49h.d.ts → audi.theme-b5_HO8i0.d.ts} +1 -1
- package/{australia.theme-o9dMWVmn.d.cts → australia.theme-Cr_KZr4r.d.cts} +1 -1
- package/{australia.theme-o9dMWVmn.d.ts → australia.theme-Cr_KZr4r.d.ts} +1 -1
- package/{chunk-H2PJ6KN6.js → chunk-JB6NDWSG.js} +1 -1
- package/components/asset/asset-modal-portal.cjs +1 -1
- package/components/asset/asset-modal-portal.d.cts +1 -1
- package/components/asset/asset-modal-portal.d.ts +1 -1
- package/components/asset/asset-modal-portal.js +1 -1
- package/components/asset/asset.cjs +2 -2
- package/components/asset/asset.d.cts +1 -1
- package/components/asset/asset.d.ts +1 -1
- package/components/asset/asset.js +2 -2
- package/components/asset/asset.loaders.cjs +1 -1
- package/components/asset/asset.loaders.d.cts +1 -1
- package/components/asset/asset.loaders.d.ts +1 -1
- package/components/asset/asset.loaders.js +1 -1
- package/components/asset/asset.renderer.cjs +2 -2
- package/components/asset/asset.renderer.d.cts +1 -1
- package/components/asset/asset.renderer.d.ts +1 -1
- package/components/asset/asset.renderer.js +2 -2
- package/components/asset/asset.styles.cjs +1 -1
- package/components/asset/asset.styles.d.cts +1 -1
- package/components/asset/asset.styles.d.ts +1 -1
- package/components/asset/asset.styles.js +1 -1
- package/components/asset/asset.types.cjs +1 -1
- package/components/asset/asset.types.d.cts +1 -1
- package/components/asset/asset.types.d.ts +1 -1
- package/components/asset/asset.types.js +1 -1
- package/components/asset/index.cjs +2 -2
- package/components/asset/index.d.cts +1 -1
- package/components/asset/index.d.ts +1 -1
- package/components/asset/index.js +2 -2
- package/components/player/player.cjs +1 -1
- package/components/player/player.d.cts +1 -1
- package/components/player/player.d.ts +1 -1
- package/components/player/player.js +1 -1
- package/components/player/player.styles.cjs +1 -1
- package/components/player/player.styles.d.cts +1 -1
- package/components/player/player.styles.d.ts +1 -1
- package/components/player/player.styles.js +1 -1
- package/components/side-bar/index.cjs +1 -1
- package/components/side-bar/index.d.cts +1 -1
- package/components/side-bar/index.d.ts +1 -1
- package/components/side-bar/index.js +1 -1
- package/components/side-bar/side-bar.cjs +1 -1
- package/components/side-bar/side-bar.d.cts +1 -1
- package/components/side-bar/side-bar.d.ts +1 -1
- package/components/side-bar/side-bar.js +1 -1
- package/components/side-bar/side-bar.styles.cjs +1 -1
- package/components/side-bar/side-bar.styles.d.cts +1 -1
- package/components/side-bar/side-bar.styles.d.ts +1 -1
- package/components/side-bar/side-bar.styles.js +1 -1
- package/components/side-bar/side-bar.types.cjs +1 -1
- package/components/side-bar/side-bar.types.d.cts +1 -1
- package/components/side-bar/side-bar.types.d.ts +1 -1
- package/components/side-bar/side-bar.types.js +1 -1
- package/components/upload/index.cjs +1 -1
- package/components/upload/index.d.cts +1 -1
- package/components/upload/index.d.ts +1 -1
- package/components/upload/index.js +1 -1
- package/components/upload/upload.cjs +1 -1
- package/components/upload/upload.d.cts +1 -1
- package/components/upload/upload.d.ts +1 -1
- package/components/upload/upload.js +1 -1
- package/components/upload/upload.styles.cjs +1 -1
- package/components/upload/upload.styles.d.cts +1 -1
- package/components/upload/upload.styles.d.ts +1 -1
- package/components/upload/upload.styles.js +1 -1
- package/components/upload/upload.types.cjs +1 -1
- package/components/upload/upload.types.d.cts +1 -1
- package/components/upload/upload.types.d.ts +1 -1
- package/components/upload/upload.types.js +1 -1
- package/{cuernavaca.theme-CoN1RWZa.d.cts → cuernavaca.theme-gwX4a0qX.d.cts} +1 -1
- package/{cuernavaca.theme-CoN1RWZa.d.ts → cuernavaca.theme-gwX4a0qX.d.ts} +1 -1
- package/{cupra-diagonal.theme-dpmVg1PK.d.cts → cupra-diagonal.theme-YeEq5NNx.d.cts} +1 -1
- package/{cupra-diagonal.theme-dpmVg1PK.d.ts → cupra-diagonal.theme-YeEq5NNx.d.ts} +1 -1
- package/{cupra-events.theme-DNLS7KDk.d.cts → cupra-events.theme-CZsQUILE.d.cts} +1 -1
- package/{cupra-events.theme-DNLS7KDk.d.ts → cupra-events.theme-CZsQUILE.d.ts} +1 -1
- package/{cupra.theme-B2ynqc3l.d.cts → cupra.theme-Dwf_KC9c.d.cts} +1 -1
- package/{cupra.theme-B2ynqc3l.d.ts → cupra.theme-Dwf_KC9c.d.ts} +1 -1
- package/dark-DSX5vBCc.d.cts +11 -0
- package/dark-DSX5vBCc.d.ts +11 -0
- package/{germany.theme-D4y6ZZ9P.d.cts → germany.theme-BZHEis96.d.cts} +1 -1
- package/{germany.theme-D4y6ZZ9P.d.ts → germany.theme-BZHEis96.d.ts} +1 -1
- package/{hyundai.theme-D20gCVHo.d.cts → hyundai.theme-CZ3-e75P.d.cts} +1 -1
- package/{hyundai.theme-D20gCVHo.d.ts → hyundai.theme-CZ3-e75P.d.ts} +1 -1
- package/index.cjs +92 -91
- package/index.d.cts +27 -5
- package/index.d.ts +27 -5
- package/index.iife.js +8720 -0
- package/index.js +118 -117
- package/{italy.theme--pc0L5YH.d.cts → italy.theme-e_NIp9gB.d.cts} +1 -1
- package/{italy.theme--pc0L5YH.d.ts → italy.theme-e_NIp9gB.d.ts} +1 -1
- package/jac-dark.theme-CID5X7cE.d.cts +11 -0
- package/jac-dark.theme-CID5X7cE.d.ts +11 -0
- package/jac.theme-C7kaj89z.d.cts +11 -0
- package/jac.theme-C7kaj89z.d.ts +11 -0
- package/light-DNobHysW.d.cts +11 -0
- package/light-DNobHysW.d.ts +11 -0
- package/{magimix.theme-DGN2p61n.d.cts → magimix.theme-_PJhrflU.d.cts} +1 -1
- package/{magimix.theme-DGN2p61n.d.ts → magimix.theme-_PJhrflU.d.ts} +1 -1
- package/{media-I2UT6LCZ.js → media-Z2KW3VEA.js} +2 -2
- package/{onlive-ai.theme-Csf9HHTX.d.cts → onlive-ai.theme-DQYkXql5.d.cts} +1 -1
- package/{onlive-ai.theme-Csf9HHTX.d.ts → onlive-ai.theme-DQYkXql5.d.ts} +1 -1
- package/{onlive.theme-BRD-Zi1_.d.cts → onlive.theme-D_SLBReG.d.cts} +1 -1
- package/{onlive.theme-BRD-Zi1_.d.ts → onlive.theme-D_SLBReG.d.ts} +1 -1
- package/package.json +8 -8
- package/react/components/asset/Asset.cjs +1 -1
- package/react/components/asset/Asset.jsx +1 -1
- package/react/components/side-bar/SideBar.cjs +1 -1
- package/react/components/side-bar/SideBar.jsx +1 -1
- package/react/components/upload/Upload.cjs +1 -1
- package/react/components/upload/Upload.jsx +1 -1
- package/{seat-cupra.theme-Ba-ZrvD5.d.cts → seat-cupra.theme-DaKdJYyc.d.cts} +1 -1
- package/{seat-cupra.theme-Ba-ZrvD5.d.ts → seat-cupra.theme-DaKdJYyc.d.ts} +1 -1
- package/{seat.theme-kkb_0PwM.d.cts → seat.theme-BkE3lDxJ.d.cts} +1 -1
- package/{seat.theme-kkb_0PwM.d.ts → seat.theme-BkE3lDxJ.d.ts} +1 -1
- package/services/audio.service.cjs +1 -1
- package/services/audio.service.d.cts +1 -1
- package/services/audio.service.d.ts +1 -1
- package/services/audio.service.js +1 -1
- package/services/conversation/conversation.service.cjs +2 -2
- package/services/conversation/conversation.service.d.cts +6 -2
- package/services/conversation/conversation.service.d.ts +6 -2
- package/services/conversation/conversation.service.js +2 -2
- package/services/conversation/conversation.types.cjs +2 -2
- package/services/conversation/conversation.types.d.cts +21 -3
- package/services/conversation/conversation.types.d.ts +21 -3
- package/services/conversation/conversation.types.js +2 -2
- package/services/conversation/index.cjs +2 -2
- package/services/conversation/index.d.cts +1 -1
- package/services/conversation/index.d.ts +1 -1
- package/services/conversation/index.js +2 -2
- package/services/conversation/mock/actor/agent.cjs +1 -1
- package/services/conversation/mock/actor/agent.d.cts +1 -1
- package/services/conversation/mock/actor/agent.d.ts +1 -1
- package/services/conversation/mock/actor/agent.js +1 -1
- package/services/conversation/mock/actor/index.cjs +1 -1
- package/services/conversation/mock/actor/index.d.cts +1 -1
- package/services/conversation/mock/actor/index.d.ts +1 -1
- package/services/conversation/mock/actor/index.js +1 -1
- package/services/conversation/mock/actor/strategies.cjs +1 -1
- package/services/conversation/mock/actor/strategies.d.cts +1 -1
- package/services/conversation/mock/actor/strategies.d.ts +1 -1
- package/services/conversation/mock/actor/strategies.js +1 -1
- package/services/conversation/mock/errors.cjs +1 -1
- package/services/conversation/mock/errors.d.cts +1 -1
- package/services/conversation/mock/errors.d.ts +1 -1
- package/services/conversation/mock/errors.js +1 -1
- package/services/conversation/mock/events.cjs +1 -1
- package/services/conversation/mock/events.d.cts +1 -1
- package/services/conversation/mock/events.d.ts +1 -1
- package/services/conversation/mock/events.js +1 -1
- package/services/conversation/mock/factory.cjs +2 -2
- package/services/conversation/mock/factory.d.cts +1 -1
- package/services/conversation/mock/factory.d.ts +1 -1
- package/services/conversation/mock/factory.js +2 -2
- package/services/conversation/mock/fixtures.cjs +1 -1
- package/services/conversation/mock/fixtures.d.cts +1 -1
- package/services/conversation/mock/fixtures.d.ts +1 -1
- package/services/conversation/mock/fixtures.js +1 -1
- package/services/conversation/mock/generators.cjs +1 -1
- package/services/conversation/mock/generators.d.cts +1 -1
- package/services/conversation/mock/generators.d.ts +1 -1
- package/services/conversation/mock/generators.js +1 -1
- package/services/conversation/mock/index.cjs +2 -2
- package/services/conversation/mock/index.d.cts +1 -1
- package/services/conversation/mock/index.d.ts +1 -1
- package/services/conversation/mock/index.js +2 -2
- package/services/conversation/mock/livekit/index.cjs +1 -1
- package/services/conversation/mock/livekit/index.d.cts +1 -1
- package/services/conversation/mock/livekit/index.d.ts +1 -1
- package/services/conversation/mock/livekit/index.js +1 -1
- package/services/conversation/mock/livekit/local-participant.cjs +1 -1
- package/services/conversation/mock/livekit/local-participant.d.cts +1 -1
- package/services/conversation/mock/livekit/local-participant.d.ts +1 -1
- package/services/conversation/mock/livekit/local-participant.js +1 -1
- package/services/conversation/mock/livekit/participant.cjs +1 -1
- package/services/conversation/mock/livekit/participant.d.cts +1 -1
- package/services/conversation/mock/livekit/participant.d.ts +1 -1
- package/services/conversation/mock/livekit/participant.js +1 -1
- package/services/conversation/mock/livekit/room.cjs +1 -1
- package/services/conversation/mock/livekit/room.d.cts +1 -1
- package/services/conversation/mock/livekit/room.d.ts +1 -1
- package/services/conversation/mock/livekit/room.js +1 -1
- package/services/conversation/mock/livekit/streams.cjs +1 -1
- package/services/conversation/mock/livekit/streams.d.cts +1 -1
- package/services/conversation/mock/livekit/streams.d.ts +1 -1
- package/services/conversation/mock/livekit/streams.js +1 -1
- package/services/conversation/mock/livekit/tracks.cjs +1 -1
- package/services/conversation/mock/livekit/tracks.d.cts +1 -1
- package/services/conversation/mock/livekit/tracks.d.ts +1 -1
- package/services/conversation/mock/livekit/tracks.js +1 -1
- package/services/conversation/mock/media.cjs +1 -1
- package/services/conversation/mock/media.d.cts +1 -1
- package/services/conversation/mock/media.d.ts +1 -1
- package/services/conversation/mock/media.js +1 -1
- package/services/conversation/mock/service.cjs +1 -1
- package/services/conversation/mock/service.d.cts +1 -1
- package/services/conversation/mock/service.d.ts +1 -1
- package/services/conversation/mock/service.js +1 -1
- package/services/conversation/mock/service.test.cjs +2 -2
- package/services/conversation/mock/service.test.d.cts +1 -1
- package/services/conversation/mock/service.test.d.ts +1 -1
- package/services/conversation/mock/service.test.js +2 -2
- package/services/conversation/mock/state.cjs +1 -1
- package/services/conversation/mock/state.d.cts +1 -1
- package/services/conversation/mock/state.d.ts +1 -1
- package/services/conversation/mock/state.js +1 -1
- package/services/conversation/mock/storybook.cjs +2 -2
- package/services/conversation/mock/storybook.d.cts +1 -1
- package/services/conversation/mock/storybook.d.ts +1 -1
- package/services/conversation/mock/storybook.js +2 -2
- package/services/conversation/mock/types.cjs +1 -1
- package/services/conversation/mock/types.d.cts +1 -1
- package/services/conversation/mock/types.d.ts +1 -1
- package/services/conversation/mock/types.js +1 -1
- package/services/deep-link.service.cjs +1 -1
- package/services/deep-link.service.d.cts +1 -1
- package/services/deep-link.service.d.ts +1 -1
- package/services/deep-link.service.js +1 -1
- package/services/faqs/faqs.service.cjs +1 -1
- package/services/faqs/faqs.service.d.cts +1 -1
- package/services/faqs/faqs.service.d.ts +1 -1
- package/services/faqs/faqs.service.js +1 -1
- package/services/faqs/faqs.types.cjs +1 -1
- package/services/faqs/faqs.types.d.cts +1 -1
- package/services/faqs/faqs.types.d.ts +1 -1
- package/services/faqs/faqs.types.js +1 -1
- package/services/faqs/index.cjs +1 -1
- package/services/faqs/index.d.cts +1 -1
- package/services/faqs/index.d.ts +1 -1
- package/services/faqs/index.js +1 -1
- package/services/file/file.service.cjs +1 -1
- package/services/file/file.service.d.cts +1 -1
- package/services/file/file.service.d.ts +1 -1
- package/services/file/file.service.js +1 -1
- package/services/file/file.types.cjs +1 -1
- package/services/file/file.types.d.cts +1 -1
- package/services/file/file.types.d.ts +1 -1
- package/services/file/file.types.js +1 -1
- package/services/file/index.cjs +1 -1
- package/services/file/index.d.cts +1 -1
- package/services/file/index.d.ts +1 -1
- package/services/file/index.js +1 -1
- package/services/firebase/firebase-api.cjs +1 -1
- package/services/firebase/firebase-api.d.cts +1 -1
- package/services/firebase/firebase-api.d.ts +1 -1
- package/services/firebase/firebase-api.js +1 -1
- package/services/multimedia/config.example.cjs +1 -1
- package/services/multimedia/config.example.d.cts +1 -1
- package/services/multimedia/config.example.d.ts +1 -1
- package/services/multimedia/config.example.js +1 -1
- package/services/multimedia/index.cjs +1 -1
- package/services/multimedia/index.d.cts +1 -1
- package/services/multimedia/index.d.ts +1 -1
- package/services/multimedia/index.js +1 -1
- package/services/multimedia/multimedia.service.cjs +1 -1
- package/services/multimedia/multimedia.service.d.cts +1 -1
- package/services/multimedia/multimedia.service.d.ts +1 -1
- package/services/multimedia/multimedia.service.js +1 -1
- package/services/multimedia/multimedia.types.cjs +1 -1
- package/services/multimedia/multimedia.types.d.cts +1 -1
- package/services/multimedia/multimedia.types.d.ts +1 -1
- package/services/multimedia/multimedia.types.js +1 -1
- package/services/product/index.cjs +1 -1
- package/services/product/index.d.cts +1 -1
- package/services/product/index.d.ts +1 -1
- package/services/product/index.js +1 -1
- package/services/product/product.service.cjs +1 -1
- package/services/product/product.service.d.cts +1 -1
- package/services/product/product.service.d.ts +1 -1
- package/services/product/product.service.js +1 -1
- package/services/product/product.types.cjs +1 -1
- package/services/product/product.types.d.cts +1 -1
- package/services/product/product.types.d.ts +1 -1
- package/services/product/product.types.js +1 -1
- package/services/request.provider.cjs +1 -1
- package/services/request.provider.d.cts +1 -1
- package/services/request.provider.d.ts +1 -1
- package/services/request.provider.js +1 -1
- package/services/session.service.cjs +1 -1
- package/services/session.service.d.cts +1 -1
- package/services/session.service.d.ts +1 -1
- package/services/session.service.js +1 -1
- package/services/sessions-api.service.cjs +2 -0
- package/services/sessions-api.service.d.cts +23 -0
- package/services/sessions-api.service.d.ts +23 -0
- package/services/sessions-api.service.js +2 -0
- package/services/sessions.controller.cjs +2 -0
- package/services/sessions.controller.d.cts +45 -0
- package/services/sessions.controller.d.ts +45 -0
- package/services/sessions.controller.js +2 -0
- package/services/sessions.types.cjs +2 -0
- package/services/sessions.types.d.cts +114 -0
- package/services/sessions.types.d.ts +114 -0
- package/services/sessions.types.js +1 -0
- package/services/upload/index.cjs +1 -1
- package/services/upload/index.d.cts +1 -1
- package/services/upload/index.d.ts +1 -1
- package/services/upload/index.js +1 -1
- package/services/upload/upload.service.cjs +1 -1
- package/services/upload/upload.service.d.cts +1 -1
- package/services/upload/upload.service.d.ts +1 -1
- package/services/upload/upload.service.js +1 -1
- package/skoda.theme-BhoWwnaO.d.cts +11 -0
- package/skoda.theme-BhoWwnaO.d.ts +11 -0
- package/themes/custom/audi-dark.theme.cjs +111 -4
- package/themes/custom/audi-dark.theme.css +110 -3
- package/themes/custom/audi-dark.theme.d.cts +2 -2
- package/themes/custom/audi-dark.theme.d.ts +2 -2
- package/themes/custom/audi-dark.theme.js +111 -4
- package/themes/custom/audi.theme.cjs +80 -4
- package/themes/custom/audi.theme.css +79 -3
- package/themes/custom/audi.theme.d.cts +2 -2
- package/themes/custom/audi.theme.d.ts +2 -2
- package/themes/custom/audi.theme.js +80 -4
- package/themes/custom/australia.theme.cjs +73 -1
- package/themes/custom/australia.theme.css +72 -0
- package/themes/custom/australia.theme.d.cts +2 -2
- package/themes/custom/australia.theme.d.ts +2 -2
- package/themes/custom/australia.theme.js +73 -1
- package/themes/custom/cuernavaca.theme.cjs +1 -1
- package/themes/custom/cuernavaca.theme.d.cts +2 -2
- package/themes/custom/cuernavaca.theme.d.ts +2 -2
- package/themes/custom/cuernavaca.theme.js +1 -1
- package/themes/custom/cupra-diagonal.theme.cjs +256 -29
- package/themes/custom/cupra-diagonal.theme.css +254 -27
- package/themes/custom/cupra-diagonal.theme.d.cts +2 -2
- package/themes/custom/cupra-diagonal.theme.d.ts +2 -2
- package/themes/custom/cupra-diagonal.theme.js +255 -28
- package/themes/custom/cupra-events.theme.cjs +1 -1
- package/themes/custom/cupra-events.theme.d.cts +2 -2
- package/themes/custom/cupra-events.theme.d.ts +2 -2
- package/themes/custom/cupra-events.theme.js +1 -1
- package/themes/custom/cupra.theme.cjs +771 -78
- package/themes/custom/cupra.theme.css +769 -76
- package/themes/custom/cupra.theme.d.cts +2 -2
- package/themes/custom/cupra.theme.d.ts +2 -2
- package/themes/custom/cupra.theme.js +774 -81
- package/themes/custom/germany.theme.cjs +114 -2
- package/themes/custom/germany.theme.css +112 -0
- package/themes/custom/germany.theme.d.cts +2 -2
- package/themes/custom/germany.theme.d.ts +2 -2
- package/themes/custom/germany.theme.js +113 -1
- package/themes/custom/glass.theme.cjs +25 -15
- package/themes/custom/glass.theme.css +24 -14
- package/themes/custom/glass.theme.d.cts +1 -1
- package/themes/custom/glass.theme.d.ts +1 -1
- package/themes/custom/glass.theme.js +25 -15
- package/themes/custom/hyundai.theme.cjs +1 -1
- package/themes/custom/hyundai.theme.d.cts +2 -2
- package/themes/custom/hyundai.theme.d.ts +2 -2
- package/themes/custom/hyundai.theme.js +1 -1
- package/themes/custom/italy.theme.cjs +140 -2
- package/themes/custom/italy.theme.css +139 -1
- package/themes/custom/italy.theme.d.cts +2 -2
- package/themes/custom/italy.theme.d.ts +2 -2
- package/themes/custom/italy.theme.js +140 -2
- package/themes/custom/jac-dark.theme.cjs +210 -0
- package/themes/custom/jac-dark.theme.css +207 -0
- package/themes/custom/jac-dark.theme.d.cts +3 -0
- package/themes/custom/jac-dark.theme.d.ts +3 -0
- package/themes/custom/jac-dark.theme.js +210 -0
- package/themes/custom/jac.theme.cjs +366 -0
- package/themes/custom/jac.theme.css +363 -0
- package/themes/custom/jac.theme.d.cts +3 -0
- package/themes/custom/jac.theme.d.ts +3 -0
- package/themes/custom/jac.theme.js +366 -0
- package/themes/custom/magimix.theme.cjs +178 -7
- package/themes/custom/magimix.theme.css +177 -6
- package/themes/custom/magimix.theme.d.cts +2 -2
- package/themes/custom/magimix.theme.d.ts +2 -2
- package/themes/custom/magimix.theme.js +177 -6
- package/themes/custom/onlive-ai.theme.cjs +1 -1
- package/themes/custom/onlive-ai.theme.d.cts +2 -2
- package/themes/custom/onlive-ai.theme.d.ts +2 -2
- package/themes/custom/onlive-ai.theme.js +1 -1
- package/themes/custom/onlive.theme.cjs +1 -1
- package/themes/custom/onlive.theme.d.cts +2 -2
- package/themes/custom/onlive.theme.d.ts +2 -2
- package/themes/custom/onlive.theme.js +1 -1
- package/themes/custom/seat-cupra.theme.cjs +1 -1
- package/themes/custom/seat-cupra.theme.d.cts +2 -2
- package/themes/custom/seat-cupra.theme.d.ts +2 -2
- package/themes/custom/seat-cupra.theme.js +1 -1
- package/themes/custom/seat.theme.cjs +209 -12
- package/themes/custom/seat.theme.css +207 -10
- package/themes/custom/seat.theme.d.cts +2 -2
- package/themes/custom/seat.theme.d.ts +2 -2
- package/themes/custom/seat.theme.js +208 -11
- package/themes/custom/skoda.theme.cjs +529 -0
- package/themes/custom/skoda.theme.css +526 -0
- package/themes/custom/skoda.theme.d.cts +3 -0
- package/themes/custom/skoda.theme.d.ts +3 -0
- package/themes/custom/skoda.theme.js +529 -0
- package/themes/custom/transparency.theme.cjs +42 -5
- package/themes/custom/transparency.theme.css +40 -3
- package/themes/custom/transparency.theme.d.cts +2 -2
- package/themes/custom/transparency.theme.d.ts +2 -2
- package/themes/custom/transparency.theme.js +41 -4
- package/themes/dark.cjs +1 -1
- package/themes/dark.d.cts +3 -6
- package/themes/dark.d.ts +3 -6
- package/themes/dark.js +1 -1
- package/themes/light.cjs +1 -1
- package/themes/light.d.cts +3 -6
- package/themes/light.d.ts +3 -6
- package/themes/light.js +1 -1
- package/{transparency.theme-CJ3Sg9kh.d.cts → transparency.theme-CbIjRfrj.d.cts} +1 -1
- package/{transparency.theme-CJ3Sg9kh.d.ts → transparency.theme-CbIjRfrj.d.ts} +1 -1
- package/types/deep-link.types.cjs +1 -1
- package/types/deep-link.types.d.cts +1 -1
- package/types/deep-link.types.d.ts +1 -1
- package/types/deep-link.types.js +1 -1
- package/types/globals.cjs +1 -1
- package/types/globals.d.cts +1 -1
- package/types/globals.d.ts +1 -1
- package/types/globals.js +1 -1
- package/types/tracking-options.cjs +1 -1
- package/types/tracking-options.d.cts +1 -1
- package/types/tracking-options.d.ts +1 -1
- package/types/tracking-options.js +1 -1
- package/utils/adopt-styles.cjs +1 -1
- package/utils/adopt-styles.d.cts +1 -1
- package/utils/adopt-styles.d.ts +1 -1
- package/utils/adopt-styles.js +1 -1
- package/utils/apply-optional-styles.cjs +8745 -4991
- package/utils/apply-optional-styles.d.cts +42 -23
- package/utils/apply-optional-styles.d.ts +42 -23
- package/utils/apply-optional-styles.js +8745 -4991
- package/utils/browser-preferences.cjs +2 -2
- package/utils/browser-preferences.d.cts +1 -1
- package/utils/browser-preferences.d.ts +1 -1
- package/utils/browser-preferences.js +2 -2
- package/utils/classify-media.cjs +1 -1
- package/utils/classify-media.d.cts +1 -1
- package/utils/classify-media.d.ts +1 -1
- package/utils/classify-media.js +1 -1
- package/utils/decorators.cjs +1 -1
- package/utils/decorators.d.cts +1 -1
- package/utils/decorators.d.ts +1 -1
- package/utils/decorators.js +1 -1
- package/utils/detected-lang.cjs +1 -1
- package/utils/detected-lang.d.cts +1 -1
- package/utils/detected-lang.d.ts +1 -1
- package/utils/detected-lang.js +1 -1
- package/utils/fullscreen.cjs +1 -1
- package/utils/fullscreen.d.cts +1 -1
- package/utils/fullscreen.d.ts +1 -1
- package/utils/fullscreen.js +1 -1
- package/utils/insert-script.cjs +1 -1
- package/utils/insert-script.d.cts +1 -1
- package/utils/insert-script.d.ts +1 -1
- package/utils/insert-script.js +1 -1
- package/utils/is-map-compatible.cjs +1 -1
- package/utils/is-map-compatible.d.cts +1 -1
- package/utils/is-map-compatible.d.ts +1 -1
- package/utils/is-map-compatible.js +1 -1
- package/utils/markdown.cjs +1 -1
- package/utils/markdown.d.cts +1 -1
- package/utils/markdown.d.ts +1 -1
- package/utils/markdown.js +1 -1
- package/utils/merge.cjs +1 -1
- package/utils/merge.d.cts +1 -1
- package/utils/merge.d.ts +1 -1
- package/utils/merge.js +1 -1
- package/utils/multiband-track-volume.cjs +1 -1
- package/utils/multiband-track-volume.d.cts +1 -1
- package/utils/multiband-track-volume.d.ts +1 -1
- package/utils/multiband-track-volume.js +1 -1
- package/utils/onlive-url-params.cjs +1 -1
- package/utils/onlive-url-params.d.cts +1 -1
- package/utils/onlive-url-params.d.ts +1 -1
- package/utils/onlive-url-params.js +1 -1
- package/utils/pretty-distance.cjs +1 -1
- package/utils/pretty-distance.d.cts +1 -1
- package/utils/pretty-distance.d.ts +1 -1
- package/utils/pretty-distance.js +1 -1
- package/utils/pretty-time.cjs +1 -1
- package/utils/pretty-time.d.cts +1 -1
- package/utils/pretty-time.d.ts +1 -1
- package/utils/pretty-time.js +1 -1
- package/utils/random-string.cjs +1 -1
- package/utils/random-string.d.cts +1 -1
- package/utils/random-string.d.ts +1 -1
- package/utils/random-string.js +1 -1
- package/utils/resource-type.cjs +1 -1
- package/utils/resource-type.d.cts +1 -1
- package/utils/resource-type.d.ts +1 -1
- package/utils/resource-type.js +1 -1
- package/utils/round-number.cjs +1 -1
- package/utils/round-number.d.cts +1 -1
- package/utils/round-number.d.ts +1 -1
- package/utils/round-number.js +1 -1
- package/utils/safe-html.cjs +2 -2
- package/utils/safe-html.d.cts +1 -1
- package/utils/safe-html.d.ts +1 -1
- package/utils/safe-html.js +2 -2
- package/utils/sanitize.cjs +1 -1
- package/utils/sanitize.d.cts +1 -1
- package/utils/sanitize.d.ts +1 -1
- package/utils/sanitize.js +1 -1
- package/utils/spread.cjs +1 -1
- package/utils/spread.d.cts +1 -1
- package/utils/spread.d.ts +1 -1
- package/utils/spread.js +1 -1
- package/utils/watch.cjs +1 -1
- package/utils/watch.d.cts +1 -1
- package/utils/watch.d.ts +1 -1
- package/utils/watch.js +1 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.228 | © 2026 Onlive.ai */
|
|
2
|
+
/**
|
|
3
|
+
* Represents a session entity returned by the API.
|
|
4
|
+
*
|
|
5
|
+
* @property {string} id - Unique internal identifier (UUID).
|
|
6
|
+
* @property {string} externalId - External identifier provided by the client.
|
|
7
|
+
* @property {string | null} title - Session summary (default: "Session - D/MM/YYYY").
|
|
8
|
+
* @property {string} userId - Internal user ID (UUID).
|
|
9
|
+
* @property {string} userExternalId - External user ID matching the cookie session.
|
|
10
|
+
* @property {string} organizationId - Organization the session belongs to (UUID).
|
|
11
|
+
* @property {Record<string, unknown> | null} metadata - Additional metadata.
|
|
12
|
+
* @property {string} createdAt - ISO timestamp of creation.
|
|
13
|
+
* @property {string} updatedAt - ISO timestamp of last update.
|
|
14
|
+
* @property {string | null} deletedAt - ISO timestamp of soft delete, or null.
|
|
15
|
+
* @property {SessionRoom[]} [rooms] - Associated rooms.
|
|
16
|
+
*/
|
|
17
|
+
type Session = {
|
|
18
|
+
id: string;
|
|
19
|
+
externalId: string;
|
|
20
|
+
title: string | null;
|
|
21
|
+
userId: string;
|
|
22
|
+
userExternalId: string;
|
|
23
|
+
organizationId: string;
|
|
24
|
+
metadata: Record<string, unknown> | null;
|
|
25
|
+
createdAt: string;
|
|
26
|
+
updatedAt: string;
|
|
27
|
+
deletedAt: string | null;
|
|
28
|
+
rooms?: SessionRoom[];
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Represents a room associated with a session.
|
|
32
|
+
*
|
|
33
|
+
* @property {string} id - Room UUID.
|
|
34
|
+
* @property {string} name - Room name.
|
|
35
|
+
* @property {string} status - Room status (e.g., "active").
|
|
36
|
+
* @property {SessionParticipant[]} [participants] - Room participants.
|
|
37
|
+
* @property {{ messages: number }} [_count] - Message count in the room.
|
|
38
|
+
*/
|
|
39
|
+
type SessionRoom = {
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
status: string;
|
|
43
|
+
participants?: SessionParticipant[];
|
|
44
|
+
_count?: {
|
|
45
|
+
messages: number;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Represents a participant in a session room.
|
|
50
|
+
*
|
|
51
|
+
* @property {string} id - Participant UUID.
|
|
52
|
+
* @property {string} name - Participant display name.
|
|
53
|
+
* @property {string} [role] - Participant role.
|
|
54
|
+
*/
|
|
55
|
+
type SessionParticipant = {
|
|
56
|
+
id: string;
|
|
57
|
+
name: string;
|
|
58
|
+
role?: string;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Parameters for listing sessions with pagination.
|
|
62
|
+
*
|
|
63
|
+
* @property {string} [userId] - Filter by user.
|
|
64
|
+
* @property {string} [externalId] - Filter by external ID.
|
|
65
|
+
* @property {number} [limit] - Number of results (default: 20).
|
|
66
|
+
* @property {number} [offset] - Offset for pagination (default: 0).
|
|
67
|
+
* @property {string} [orderBy] - Field to order by.
|
|
68
|
+
* @property {string} [orderDir] - Direction: "asc" or "desc".
|
|
69
|
+
*/
|
|
70
|
+
type ListSessionsParams = {
|
|
71
|
+
userId?: string;
|
|
72
|
+
userExternalId?: string;
|
|
73
|
+
externalId?: string;
|
|
74
|
+
limit?: number;
|
|
75
|
+
offset?: number;
|
|
76
|
+
orderBy?: string;
|
|
77
|
+
orderDir?: "asc" | "desc";
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Paginated response returned by the list sessions endpoint.
|
|
81
|
+
*
|
|
82
|
+
* @property {Session[]} data - Array of session entities.
|
|
83
|
+
* @property {number} total - Total number of sessions matching the query.
|
|
84
|
+
* @property {number} limit - Maximum number of results per page.
|
|
85
|
+
* @property {number} offset - Offset of the current page.
|
|
86
|
+
*/
|
|
87
|
+
type PaginatedSessionsResponse = {
|
|
88
|
+
data: Session[];
|
|
89
|
+
total: number;
|
|
90
|
+
limit: number;
|
|
91
|
+
offset: number;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Body for creating a new session.
|
|
95
|
+
*
|
|
96
|
+
* @property {string} externalId - External identifier.
|
|
97
|
+
* @property {string} userId - User UUID.
|
|
98
|
+
*/
|
|
99
|
+
type CreateSessionBody = {
|
|
100
|
+
externalId: string;
|
|
101
|
+
userId: string;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Body for updating a session.
|
|
105
|
+
*
|
|
106
|
+
* @property {string} [title] - Updated session title / summary.
|
|
107
|
+
* @property {Record<string, unknown>} [metadata] - Updated metadata.
|
|
108
|
+
*/
|
|
109
|
+
type UpdateSessionBody = {
|
|
110
|
+
title?: string;
|
|
111
|
+
metadata?: Record<string, unknown>;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
export type { CreateSessionBody, ListSessionsParams, PaginatedSessionsResponse, Session, SessionParticipant, SessionRoom, UpdateSessionBody };
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.228 | © 2026 Onlive.ai */
|
|
2
|
+
/**
|
|
3
|
+
* Represents a session entity returned by the API.
|
|
4
|
+
*
|
|
5
|
+
* @property {string} id - Unique internal identifier (UUID).
|
|
6
|
+
* @property {string} externalId - External identifier provided by the client.
|
|
7
|
+
* @property {string | null} title - Session summary (default: "Session - D/MM/YYYY").
|
|
8
|
+
* @property {string} userId - Internal user ID (UUID).
|
|
9
|
+
* @property {string} userExternalId - External user ID matching the cookie session.
|
|
10
|
+
* @property {string} organizationId - Organization the session belongs to (UUID).
|
|
11
|
+
* @property {Record<string, unknown> | null} metadata - Additional metadata.
|
|
12
|
+
* @property {string} createdAt - ISO timestamp of creation.
|
|
13
|
+
* @property {string} updatedAt - ISO timestamp of last update.
|
|
14
|
+
* @property {string | null} deletedAt - ISO timestamp of soft delete, or null.
|
|
15
|
+
* @property {SessionRoom[]} [rooms] - Associated rooms.
|
|
16
|
+
*/
|
|
17
|
+
type Session = {
|
|
18
|
+
id: string;
|
|
19
|
+
externalId: string;
|
|
20
|
+
title: string | null;
|
|
21
|
+
userId: string;
|
|
22
|
+
userExternalId: string;
|
|
23
|
+
organizationId: string;
|
|
24
|
+
metadata: Record<string, unknown> | null;
|
|
25
|
+
createdAt: string;
|
|
26
|
+
updatedAt: string;
|
|
27
|
+
deletedAt: string | null;
|
|
28
|
+
rooms?: SessionRoom[];
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Represents a room associated with a session.
|
|
32
|
+
*
|
|
33
|
+
* @property {string} id - Room UUID.
|
|
34
|
+
* @property {string} name - Room name.
|
|
35
|
+
* @property {string} status - Room status (e.g., "active").
|
|
36
|
+
* @property {SessionParticipant[]} [participants] - Room participants.
|
|
37
|
+
* @property {{ messages: number }} [_count] - Message count in the room.
|
|
38
|
+
*/
|
|
39
|
+
type SessionRoom = {
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
status: string;
|
|
43
|
+
participants?: SessionParticipant[];
|
|
44
|
+
_count?: {
|
|
45
|
+
messages: number;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Represents a participant in a session room.
|
|
50
|
+
*
|
|
51
|
+
* @property {string} id - Participant UUID.
|
|
52
|
+
* @property {string} name - Participant display name.
|
|
53
|
+
* @property {string} [role] - Participant role.
|
|
54
|
+
*/
|
|
55
|
+
type SessionParticipant = {
|
|
56
|
+
id: string;
|
|
57
|
+
name: string;
|
|
58
|
+
role?: string;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Parameters for listing sessions with pagination.
|
|
62
|
+
*
|
|
63
|
+
* @property {string} [userId] - Filter by user.
|
|
64
|
+
* @property {string} [externalId] - Filter by external ID.
|
|
65
|
+
* @property {number} [limit] - Number of results (default: 20).
|
|
66
|
+
* @property {number} [offset] - Offset for pagination (default: 0).
|
|
67
|
+
* @property {string} [orderBy] - Field to order by.
|
|
68
|
+
* @property {string} [orderDir] - Direction: "asc" or "desc".
|
|
69
|
+
*/
|
|
70
|
+
type ListSessionsParams = {
|
|
71
|
+
userId?: string;
|
|
72
|
+
userExternalId?: string;
|
|
73
|
+
externalId?: string;
|
|
74
|
+
limit?: number;
|
|
75
|
+
offset?: number;
|
|
76
|
+
orderBy?: string;
|
|
77
|
+
orderDir?: "asc" | "desc";
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Paginated response returned by the list sessions endpoint.
|
|
81
|
+
*
|
|
82
|
+
* @property {Session[]} data - Array of session entities.
|
|
83
|
+
* @property {number} total - Total number of sessions matching the query.
|
|
84
|
+
* @property {number} limit - Maximum number of results per page.
|
|
85
|
+
* @property {number} offset - Offset of the current page.
|
|
86
|
+
*/
|
|
87
|
+
type PaginatedSessionsResponse = {
|
|
88
|
+
data: Session[];
|
|
89
|
+
total: number;
|
|
90
|
+
limit: number;
|
|
91
|
+
offset: number;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Body for creating a new session.
|
|
95
|
+
*
|
|
96
|
+
* @property {string} externalId - External identifier.
|
|
97
|
+
* @property {string} userId - User UUID.
|
|
98
|
+
*/
|
|
99
|
+
type CreateSessionBody = {
|
|
100
|
+
externalId: string;
|
|
101
|
+
userId: string;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Body for updating a session.
|
|
105
|
+
*
|
|
106
|
+
* @property {string} [title] - Updated session title / summary.
|
|
107
|
+
* @property {Record<string, unknown>} [metadata] - Updated metadata.
|
|
108
|
+
*/
|
|
109
|
+
type UpdateSessionBody = {
|
|
110
|
+
title?: string;
|
|
111
|
+
metadata?: Record<string, unknown>;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
export type { CreateSessionBody, ListSessionsParams, PaginatedSessionsResponse, Session, SessionParticipant, SessionRoom, UpdateSessionBody };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.228 | © 2026 Onlive.ai */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @onlive.ai/common-121 v0.2.
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.228 | © 2026 Onlive.ai */
|
|
2
2
|
"use strict";var p=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var U=Object.prototype.hasOwnProperty;var m=(s,e)=>{for(var r in e)p(s,r,{get:e[r],enumerable:!0})},h=(s,e,r,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of f(e))!U.call(s,n)&&n!==r&&p(s,n,{get:()=>e[n],enumerable:!(t=g(e,n))||t.enumerable});return s};var S=s=>h(p({},"__esModule",{value:!0}),s);var v={};m(v,{UploadService:()=>l,getUploadService:()=>u});module.exports=S(v);var d=async(s,e)=>{let r=await fetch(s,e);if(!r.ok){let t=await r.json().catch(()=>({}));throw new Error(JSON.stringify({status:r.status,statusText:r.statusText,...t}))}return r&&r.json()};var l=class s{constructor(e){this.config=e}static getInstance(e){if(!s.instance&&e&&(s.instance=new s(e)),!s.instance)throw new Error("UploadService must be initialized with config first");return s.instance}static initialize(e){return s.instance=new s(e),s.instance}async uploadFile(e,r={}){try{let t=await this.getSignedUrl(e,r);return await this.uploadToS3(e,t.signedUrl,r.onProgress),{success:!0,fileId:t.fileId,url:t.url,key:t.key}}catch(t){return console.error("Error uploading file:",t),{success:!1,error:t instanceof Error?t.message:"Unknown error"}}}async getSignedUrl(e,r={}){let t={loadDirection:"up",bucketType:"conversations",filename:e.name,mimeType:e.type,path:r.path||"uploads",description:r.description||""},n=`${this.config.baseUrl}/file-upload/signed-url`;return this.makeRequest(n,{method:"POST",body:JSON.stringify(t)})}async uploadToS3(e,r,t){return new Promise((n,o)=>{let i=new XMLHttpRequest;t&&i.upload.addEventListener("progress",a=>{if(a.lengthComputable){let c=a.loaded/a.total*100;t(c)}}),i.addEventListener("load",()=>{i.status===200?n():o(new Error(`S3 upload failed! status: ${i.status}`))}),i.addEventListener("error",()=>{o(new Error("S3 upload failed"))}),i.addEventListener("abort",()=>{o(new Error("Upload cancelled"))}),i.open("PUT",r),i.setRequestHeader("Content-Type",e.type),i.send(e)})}async uploadFileWithRetry(e,r={}){let t=r.maxRetries||3,n=null;for(let o=1;o<=t;o++)try{let i=await this.uploadFile(e,r);if(i.success)return i;throw new Error(i.error||"Upload failed")}catch(i){if(n=i instanceof Error?i:new Error("Unknown error"),o===t)break;let a=2**o*1e3;await new Promise(c=>setTimeout(c,a))}return{success:!1,error:n?.message||"Upload failed after retries"}}cancelUpload(){}async makeRequest(e,r){let t={"Content-Type":"application/json","X-Onlive-Organization-Id":this.config.organizationId};return r?.headers&&Object.assign(t,r.headers),d(e,{...r,headers:t})}updateConfig(e){this.config={...this.config,...e}}getConfig(){return{...this.config}}},u=()=>l.getInstance();0&&(module.exports={UploadService,getUploadService});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @onlive.ai/common-121 v0.2.
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.228 | © 2026 Onlive.ai */
|
|
2
2
|
export { SignedUrlRequest, SignedUrlResponse, UploadProgressCallback, UploadResult, UploadService, UploadServiceConfig, getUploadService } from './upload.service.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @onlive.ai/common-121 v0.2.
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.228 | © 2026 Onlive.ai */
|
|
2
2
|
export { SignedUrlRequest, SignedUrlResponse, UploadProgressCallback, UploadResult, UploadService, UploadServiceConfig, getUploadService } from './upload.service.js';
|
package/services/upload/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @onlive.ai/common-121 v0.2.
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.228 | © 2026 Onlive.ai */
|
|
2
2
|
var p=async(i,e)=>{let r=await fetch(i,e);if(!r.ok){let t=await r.json().catch(()=>({}));throw new Error(JSON.stringify({status:r.status,statusText:r.statusText,...t}))}return r&&r.json()};var l=class i{constructor(e){this.config=e}static getInstance(e){if(!i.instance&&e&&(i.instance=new i(e)),!i.instance)throw new Error("UploadService must be initialized with config first");return i.instance}static initialize(e){return i.instance=new i(e),i.instance}async uploadFile(e,r={}){try{let t=await this.getSignedUrl(e,r);return await this.uploadToS3(e,t.signedUrl,r.onProgress),{success:!0,fileId:t.fileId,url:t.url,key:t.key}}catch(t){return console.error("Error uploading file:",t),{success:!1,error:t instanceof Error?t.message:"Unknown error"}}}async getSignedUrl(e,r={}){let t={loadDirection:"up",bucketType:"conversations",filename:e.name,mimeType:e.type,path:r.path||"uploads",description:r.description||""},o=`${this.config.baseUrl}/file-upload/signed-url`;return this.makeRequest(o,{method:"POST",body:JSON.stringify(t)})}async uploadToS3(e,r,t){return new Promise((o,n)=>{let s=new XMLHttpRequest;t&&s.upload.addEventListener("progress",a=>{if(a.lengthComputable){let c=a.loaded/a.total*100;t(c)}}),s.addEventListener("load",()=>{s.status===200?o():n(new Error(`S3 upload failed! status: ${s.status}`))}),s.addEventListener("error",()=>{n(new Error("S3 upload failed"))}),s.addEventListener("abort",()=>{n(new Error("Upload cancelled"))}),s.open("PUT",r),s.setRequestHeader("Content-Type",e.type),s.send(e)})}async uploadFileWithRetry(e,r={}){let t=r.maxRetries||3,o=null;for(let n=1;n<=t;n++)try{let s=await this.uploadFile(e,r);if(s.success)return s;throw new Error(s.error||"Upload failed")}catch(s){if(o=s instanceof Error?s:new Error("Unknown error"),n===t)break;let a=2**n*1e3;await new Promise(c=>setTimeout(c,a))}return{success:!1,error:o?.message||"Upload failed after retries"}}cancelUpload(){}async makeRequest(e,r){let t={"Content-Type":"application/json","X-Onlive-Organization-Id":this.config.organizationId};return r?.headers&&Object.assign(t,r.headers),p(e,{...r,headers:t})}updateConfig(e){this.config={...this.config,...e}}getConfig(){return{...this.config}}},d=()=>l.getInstance();export{l as UploadService,d as getUploadService};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @onlive.ai/common-121 v0.2.
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.228 | © 2026 Onlive.ai */
|
|
2
2
|
"use strict";var p=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var U=(i,e)=>{for(var r in e)p(i,r,{get:e[r],enumerable:!0})},m=(i,e,r,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of g(e))!f.call(i,n)&&n!==r&&p(i,n,{get:()=>e[n],enumerable:!(t=u(e,n))||t.enumerable});return i};var h=i=>m(p({},"__esModule",{value:!0}),i);var S={};U(S,{UploadService:()=>l,getUploadService:()=>y});module.exports=h(S);var d=async(i,e)=>{let r=await fetch(i,e);if(!r.ok){let t=await r.json().catch(()=>({}));throw new Error(JSON.stringify({status:r.status,statusText:r.statusText,...t}))}return r&&r.json()};var l=class i{constructor(e){this.config=e}static getInstance(e){if(!i.instance&&e&&(i.instance=new i(e)),!i.instance)throw new Error("UploadService must be initialized with config first");return i.instance}static initialize(e){return i.instance=new i(e),i.instance}async uploadFile(e,r={}){try{let t=await this.getSignedUrl(e,r);return await this.uploadToS3(e,t.signedUrl,r.onProgress),{success:!0,fileId:t.fileId,url:t.url,key:t.key}}catch(t){return console.error("Error uploading file:",t),{success:!1,error:t instanceof Error?t.message:"Unknown error"}}}async getSignedUrl(e,r={}){let t={loadDirection:"up",bucketType:"conversations",filename:e.name,mimeType:e.type,path:r.path||"uploads",description:r.description||""},n=`${this.config.baseUrl}/file-upload/signed-url`;return this.makeRequest(n,{method:"POST",body:JSON.stringify(t)})}async uploadToS3(e,r,t){return new Promise((n,o)=>{let s=new XMLHttpRequest;t&&s.upload.addEventListener("progress",a=>{if(a.lengthComputable){let c=a.loaded/a.total*100;t(c)}}),s.addEventListener("load",()=>{s.status===200?n():o(new Error(`S3 upload failed! status: ${s.status}`))}),s.addEventListener("error",()=>{o(new Error("S3 upload failed"))}),s.addEventListener("abort",()=>{o(new Error("Upload cancelled"))}),s.open("PUT",r),s.setRequestHeader("Content-Type",e.type),s.send(e)})}async uploadFileWithRetry(e,r={}){let t=r.maxRetries||3,n=null;for(let o=1;o<=t;o++)try{let s=await this.uploadFile(e,r);if(s.success)return s;throw new Error(s.error||"Upload failed")}catch(s){if(n=s instanceof Error?s:new Error("Unknown error"),o===t)break;let a=2**o*1e3;await new Promise(c=>setTimeout(c,a))}return{success:!1,error:n?.message||"Upload failed after retries"}}cancelUpload(){}async makeRequest(e,r){let t={"Content-Type":"application/json","X-Onlive-Organization-Id":this.config.organizationId};return r?.headers&&Object.assign(t,r.headers),d(e,{...r,headers:t})}updateConfig(e){this.config={...this.config,...e}}getConfig(){return{...this.config}}},y=()=>l.getInstance();0&&(module.exports={UploadService,getUploadService});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @onlive.ai/common-121 v0.2.
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.228 | © 2026 Onlive.ai */
|
|
2
2
|
var p=async(s,e)=>{let r=await fetch(s,e);if(!r.ok){let t=await r.json().catch(()=>({}));throw new Error(JSON.stringify({status:r.status,statusText:r.statusText,...t}))}return r&&r.json()};var c=class s{constructor(e){this.config=e}static getInstance(e){if(!s.instance&&e&&(s.instance=new s(e)),!s.instance)throw new Error("UploadService must be initialized with config first");return s.instance}static initialize(e){return s.instance=new s(e),s.instance}async uploadFile(e,r={}){try{let t=await this.getSignedUrl(e,r);return await this.uploadToS3(e,t.signedUrl,r.onProgress),{success:!0,fileId:t.fileId,url:t.url,key:t.key}}catch(t){return console.error("Error uploading file:",t),{success:!1,error:t instanceof Error?t.message:"Unknown error"}}}async getSignedUrl(e,r={}){let t={loadDirection:"up",bucketType:"conversations",filename:e.name,mimeType:e.type,path:r.path||"uploads",description:r.description||""},o=`${this.config.baseUrl}/file-upload/signed-url`;return this.makeRequest(o,{method:"POST",body:JSON.stringify(t)})}async uploadToS3(e,r,t){return new Promise((o,n)=>{let i=new XMLHttpRequest;t&&i.upload.addEventListener("progress",a=>{if(a.lengthComputable){let l=a.loaded/a.total*100;t(l)}}),i.addEventListener("load",()=>{i.status===200?o():n(new Error(`S3 upload failed! status: ${i.status}`))}),i.addEventListener("error",()=>{n(new Error("S3 upload failed"))}),i.addEventListener("abort",()=>{n(new Error("Upload cancelled"))}),i.open("PUT",r),i.setRequestHeader("Content-Type",e.type),i.send(e)})}async uploadFileWithRetry(e,r={}){let t=r.maxRetries||3,o=null;for(let n=1;n<=t;n++)try{let i=await this.uploadFile(e,r);if(i.success)return i;throw new Error(i.error||"Upload failed")}catch(i){if(o=i instanceof Error?i:new Error("Unknown error"),n===t)break;let a=2**n*1e3;await new Promise(l=>setTimeout(l,a))}return{success:!1,error:o?.message||"Upload failed after retries"}}cancelUpload(){}async makeRequest(e,r){let t={"Content-Type":"application/json","X-Onlive-Organization-Id":this.config.organizationId};return r?.headers&&Object.assign(t,r.headers),p(e,{...r,headers:t})}updateConfig(e){this.config={...this.config,...e}}getConfig(){return{...this.config}}},g=()=>c.getInstance();export{c as UploadService,g as getUploadService};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.228 | © 2026 Onlive.ai */
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
|
|
4
|
+
declare const styles: lit.CSSResult;
|
|
5
|
+
|
|
6
|
+
declare const _onlive_ai_common_121_themes_custom_skoda_theme_js_styles: typeof styles;
|
|
7
|
+
declare namespace _onlive_ai_common_121_themes_custom_skoda_theme_js {
|
|
8
|
+
export { _onlive_ai_common_121_themes_custom_skoda_theme_js_styles as styles };
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { _onlive_ai_common_121_themes_custom_skoda_theme_js as _, styles as s };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.228 | © 2026 Onlive.ai */
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
|
|
4
|
+
declare const styles: lit.CSSResult;
|
|
5
|
+
|
|
6
|
+
declare const _onlive_ai_common_121_themes_custom_skoda_theme_js_styles: typeof styles;
|
|
7
|
+
declare namespace _onlive_ai_common_121_themes_custom_skoda_theme_js {
|
|
8
|
+
export { _onlive_ai_common_121_themes_custom_skoda_theme_js_styles as styles };
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { _onlive_ai_common_121_themes_custom_skoda_theme_js as _, styles as s };
|