@envive-ai/react-hooks 0.2.3 → 0.2.4
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/README.md +35 -0
- package/dist/AmplitudeOperations-CEwp7tPJ.cjs +0 -0
- package/dist/AmplitudeOperations-uF2zIi_1.js +1 -0
- package/dist/NewOrgConfig-B_1A1d9q.cjs +15 -0
- package/dist/NewOrgConfig-xNlcpcF_.js +10 -0
- package/dist/SystemSettingsContext-CCuS3kWH.js +13 -0
- package/dist/SystemSettingsContext-Dh_35fES.cjs +20 -0
- package/dist/TrackComponentVisibleEvent-B828giM-.js +52 -0
- package/dist/TrackComponentVisibleEvent-DsTIH7Yt.cjs +59 -0
- package/dist/amplitudeContext-B73xamNe.d.cts +52 -0
- package/dist/amplitudeContext-BfRDG5CX.d.ts +52 -0
- package/dist/api-Bc3_julZ.cjs +239 -0
- package/dist/api-D9gmGNAV.js +166 -0
- package/dist/application/models/graphql/index.cjs +5 -0
- package/dist/application/models/graphql/index.d.cts +2 -0
- package/dist/application/models/graphql/index.d.ts +2 -0
- package/dist/application/models/graphql/index.js +4 -0
- package/dist/application/models/guards/api/index.cjs +16 -0
- package/dist/application/models/guards/api/index.d.cts +3 -0
- package/dist/application/models/guards/api/index.d.ts +3 -0
- package/dist/application/models/guards/api/index.js +5 -0
- package/dist/application/models/guards/utils.cjs +3 -0
- package/dist/application/models/guards/utils.d.cts +2 -0
- package/dist/application/models/guards/utils.d.ts +2 -0
- package/dist/application/models/guards/utils.js +3 -0
- package/dist/application/models/index.cjs +70 -0
- package/dist/application/models/index.d.cts +12 -0
- package/dist/application/models/index.d.ts +12 -0
- package/dist/application/models/index.js +12 -0
- package/dist/application/models/utilityTypes/index.cjs +1 -0
- package/dist/application/models/utilityTypes/index.d.cts +2 -0
- package/dist/application/models/utilityTypes/index.d.ts +2 -0
- package/dist/application/models/utilityTypes/index.js +3 -0
- package/dist/application/models/variantInfo/index.cjs +3 -0
- package/dist/application/models/variantInfo/index.d.cts +2 -0
- package/dist/application/models/variantInfo/index.d.ts +2 -0
- package/dist/application/models/variantInfo/index.js +3 -0
- package/dist/application/utils/index.cjs +47 -0
- package/dist/application/utils/index.d.cts +263 -0
- package/dist/application/utils/index.d.ts +263 -0
- package/dist/application/utils/index.js +21 -0
- package/dist/atomStore-8ppNkJ_n.cjs +58 -0
- package/dist/atomStore-BLYJ2ZoQ.js +32 -0
- package/dist/atoms/app/index.cjs +25 -0
- package/dist/atoms/app/index.d.cts +39 -0
- package/dist/atoms/app/index.d.ts +39 -0
- package/dist/atoms/app/index.js +21 -0
- package/dist/atoms/atomStore/index.cjs +6 -0
- package/dist/atoms/atomStore/index.d.cts +24 -0
- package/dist/atoms/atomStore/index.d.ts +24 -0
- package/dist/atoms/atomStore/index.js +3 -0
- package/dist/atoms/chat/index.cjs +52 -0
- package/dist/atoms/chat/index.d.cts +163 -0
- package/dist/atoms/chat/index.d.ts +163 -0
- package/dist/atoms/chat/index.js +23 -0
- package/dist/atoms/globalSearch/index.cjs +6 -0
- package/dist/atoms/globalSearch/index.d.cts +24 -0
- package/dist/atoms/globalSearch/index.d.ts +24 -0
- package/dist/atoms/globalSearch/index.js +3 -0
- package/dist/atoms/org/index.cjs +18 -0
- package/dist/atoms/org/index.d.cts +59 -0
- package/dist/atoms/org/index.d.ts +59 -0
- package/dist/atoms/org/index.js +5 -0
- package/dist/atoms/search/index.cjs +60 -0
- package/dist/atoms/search/index.d.cts +14 -0
- package/dist/atoms/search/index.d.ts +14 -0
- package/dist/atoms/search/index.js +30 -0
- package/dist/atoms/search/types.cjs +5 -0
- package/dist/atoms/search/types.d.cts +2 -0
- package/dist/atoms/search/types.d.ts +2 -0
- package/dist/atoms/search/types.js +3 -0
- package/dist/atoms/search/utils.cjs +3 -0
- package/dist/atoms/search/utils.d.cts +5 -0
- package/dist/atoms/search/utils.d.ts +5 -0
- package/dist/atoms/search/utils.js +3 -0
- package/dist/cdnContext-BlRI74F-.cjs +53 -0
- package/dist/cdnContext-D26C8Y4H.js +38 -0
- package/dist/chat-2NGrmU_Z.cjs +393 -0
- package/dist/chat-Bg3wEfNd.js +257 -0
- package/dist/chat-pXCsesuS.js +25 -0
- package/dist/chat-sCX7aTrz.cjs +145 -0
- package/dist/chatElementDisplayLocation-D6oLuQS4.d.ts +25 -0
- package/dist/chatElementDisplayLocation-DWmfNX_u.d.cts +25 -0
- package/dist/chatSearch-B4dsxGth.cjs +418 -0
- package/dist/chatSearch-Cvc_eBFV.js +295 -0
- package/dist/chatState-2bMtvPgG.js +34 -0
- package/dist/chatState-fP1r34CN.cjs +120 -0
- package/dist/chunk-CUT6urMc.cjs +30 -0
- package/dist/common-4xhjcUbt.cjs +189 -0
- package/dist/common-DhKoZ6jN.js +39 -0
- package/dist/components-BUisjl4v.js +11 -0
- package/dist/components-DVaYBroL.cjs +29 -0
- package/dist/config/locators/components/chat/index.cjs +22 -0
- package/dist/config/locators/components/chat/index.d.cts +2 -0
- package/dist/config/locators/components/chat/index.d.ts +2 -0
- package/dist/config/locators/components/chat/index.js +3 -0
- package/dist/config/locators/components/chat/variants/index.cjs +29 -0
- package/dist/config/locators/components/chat/variants/index.d.cts +16 -0
- package/dist/config/locators/components/chat/variants/index.d.ts +16 -0
- package/dist/config/locators/components/chat/variants/index.js +17 -0
- package/dist/config/locators/components/common/index.cjs +27 -0
- package/dist/config/locators/components/common/index.d.cts +2 -0
- package/dist/config/locators/components/common/index.d.ts +2 -0
- package/dist/config/locators/components/common/index.js +3 -0
- package/dist/config/locators/components/index.cjs +5 -0
- package/dist/config/locators/components/index.d.cts +2 -0
- package/dist/config/locators/components/index.d.ts +2 -0
- package/dist/config/locators/components/index.js +3 -0
- package/dist/config/locators/components/search/index.cjs +13 -0
- package/dist/config/locators/components/search/index.d.cts +8 -0
- package/dist/config/locators/components/search/index.d.ts +8 -0
- package/dist/config/locators/components/search/index.js +9 -0
- package/dist/config/locators/index.cjs +92 -0
- package/dist/config/locators/index.d.cts +26 -0
- package/dist/config/locators/index.d.ts +26 -0
- package/dist/config/locators/index.js +27 -0
- package/dist/contexts/amplitudeContext/index.cjs +23 -0
- package/dist/contexts/amplitudeContext/index.d.cts +2 -0
- package/dist/contexts/amplitudeContext/index.d.ts +2 -0
- package/dist/contexts/amplitudeContext/index.js +21 -0
- package/dist/contexts/cdnContext/index.cjs +7 -0
- package/dist/contexts/cdnContext/index.d.cts +15 -0
- package/dist/contexts/cdnContext/index.d.ts +15 -0
- package/dist/contexts/cdnContext/index.js +6 -0
- package/dist/contexts/chatContext/index.cjs +326 -0
- package/dist/contexts/chatContext/index.d.cts +15 -0
- package/dist/contexts/chatContext/index.d.ts +15 -0
- package/dist/contexts/chatContext/index.js +319 -0
- package/dist/contexts/enviveConfigContext/index.cjs +7 -0
- package/dist/contexts/enviveConfigContext/index.d.cts +30 -0
- package/dist/contexts/enviveConfigContext/index.d.ts +30 -0
- package/dist/contexts/enviveConfigContext/index.js +6 -0
- package/dist/contexts/enviveCssContext/index.cjs +66 -0
- package/dist/contexts/enviveCssContext/index.d.cts +10 -0
- package/dist/contexts/enviveCssContext/index.d.ts +10 -0
- package/dist/contexts/enviveCssContext/index.js +63 -0
- package/dist/contexts/featureFlagContext/index.cjs +107 -0
- package/dist/contexts/featureFlagContext/index.d.cts +20 -0
- package/dist/contexts/featureFlagContext/index.d.ts +20 -0
- package/dist/contexts/featureFlagContext/index.js +103 -0
- package/dist/contexts/featureFlagServiceContext/index.cjs +7 -0
- package/dist/contexts/featureFlagServiceContext/index.d.cts +5 -0
- package/dist/contexts/featureFlagServiceContext/index.d.ts +5 -0
- package/dist/contexts/featureFlagServiceContext/index.js +5 -0
- package/dist/contexts/graphqlContext/index.cjs +16 -0
- package/dist/contexts/graphqlContext/index.d.cts +14 -0
- package/dist/contexts/graphqlContext/index.d.ts +14 -0
- package/dist/contexts/graphqlContext/index.js +15 -0
- package/dist/contexts/localStorageContext/index.cjs +6 -0
- package/dist/contexts/localStorageContext/index.d.cts +30 -0
- package/dist/contexts/localStorageContext/index.d.ts +30 -0
- package/dist/contexts/localStorageContext/index.js +4 -0
- package/dist/contexts/newOrgConfigContext/index.cjs +20 -0
- package/dist/contexts/newOrgConfigContext/index.d.cts +15 -0
- package/dist/contexts/newOrgConfigContext/index.d.ts +15 -0
- package/dist/contexts/newOrgConfigContext/index.js +19 -0
- package/dist/contexts/searchContext/index.cjs +27 -0
- package/dist/contexts/searchContext/index.d.cts +16 -0
- package/dist/contexts/searchContext/index.d.ts +16 -0
- package/dist/contexts/searchContext/index.js +26 -0
- package/dist/contexts/sessionStorageContext/index.cjs +5 -0
- package/dist/contexts/sessionStorageContext/index.d.cts +15 -0
- package/dist/contexts/sessionStorageContext/index.d.ts +15 -0
- package/dist/contexts/sessionStorageContext/index.js +4 -0
- package/dist/contexts/shopifyUrlContext/index.cjs +5 -0
- package/dist/contexts/shopifyUrlContext/index.d.cts +20 -0
- package/dist/contexts/shopifyUrlContext/index.d.ts +20 -0
- package/dist/contexts/shopifyUrlContext/index.js +4 -0
- package/dist/contexts/systemSettingsContext/index.cjs +8 -0
- package/dist/contexts/systemSettingsContext/index.d.cts +37 -0
- package/dist/contexts/systemSettingsContext/index.d.ts +37 -0
- package/dist/contexts/systemSettingsContext/index.js +6 -0
- package/dist/contexts/types.cjs +7 -0
- package/dist/contexts/types.d.cts +4 -0
- package/dist/contexts/types.d.ts +4 -0
- package/dist/contexts/types.js +3 -0
- package/dist/contexts/userIdentityContext/index.cjs +22 -0
- package/dist/contexts/userIdentityContext/index.d.cts +2 -0
- package/dist/contexts/userIdentityContext/index.d.ts +2 -0
- package/dist/contexts/userIdentityContext/index.js +21 -0
- package/dist/domObserver-DKcas6tl.js +285 -0
- package/dist/domObserver-Do6RAJdf.cjs +304 -0
- package/dist/enviveConfig-BSfyz_pm.js +62 -0
- package/dist/enviveConfig-D8vcVPWD.cjs +130 -0
- package/dist/enviveConfigContext-C8cCcdKU.cjs +60 -0
- package/dist/enviveConfigContext-CJqpRSKu.js +45 -0
- package/dist/events/index.cjs +4 -0
- package/dist/events/index.d.cts +46 -0
- package/dist/events/index.d.ts +46 -0
- package/dist/events/index.js +3 -0
- package/dist/events-BHJJjPDN.js +78 -0
- package/dist/events-B_fJZf9E.cjs +90 -0
- package/dist/featureFlagServiceContext-C2Yj-Uyh.d.ts +23 -0
- package/dist/featureFlagServiceContext-CiKWV306.d.cts +23 -0
- package/dist/featureFlagServiceContext-DFb-uLHN.cjs +62 -0
- package/dist/featureFlagServiceContext-Dd_Hbq6e.js +42 -0
- package/dist/featureGates-BdvOVv8N.cjs +32 -0
- package/dist/featureGates-DhoJq4io.js +26 -0
- package/dist/frontendConfig-CbyjUXZW.d.ts +856 -0
- package/dist/frontendConfig-tVg0hsWZ.d.cts +856 -0
- package/dist/globalSearch-B_v9qfCT.js +14 -0
- package/dist/globalSearch-OiF96VLG.cjs +39 -0
- package/dist/graphql-B9HhDXYt.cjs +53 -0
- package/dist/graphql-W7GMIHUu.js +36 -0
- package/dist/graphqlConfig-DZHeFKDY.cjs +73 -0
- package/dist/graphqlConfig-Xk--JbPl.js +24 -0
- package/dist/graphqlContext-BotK7KCg.d.ts +28 -0
- package/dist/graphqlContext-CMav2igl.d.cts +28 -0
- package/dist/graphqlContext-CSVwhCnP.js +96 -0
- package/dist/graphqlContext-aaOOb79d.cjs +111 -0
- package/dist/hooks/AmplitudeOperations/index.cjs +23 -0
- package/dist/hooks/AmplitudeOperations/index.d.cts +12 -0
- package/dist/hooks/AmplitudeOperations/index.d.ts +12 -0
- package/dist/hooks/AmplitudeOperations/index.js +23 -0
- package/dist/hooks/AppDetails/index.cjs +24 -0
- package/dist/hooks/AppDetails/index.d.cts +27 -0
- package/dist/hooks/AppDetails/index.d.ts +27 -0
- package/dist/hooks/AppDetails/index.js +24 -0
- package/dist/hooks/BlockBackButton/index.cjs +29 -0
- package/dist/hooks/BlockBackButton/index.d.cts +5 -0
- package/dist/hooks/BlockBackButton/index.d.ts +5 -0
- package/dist/hooks/BlockBackButton/index.js +27 -0
- package/dist/hooks/CdnOperations/index.cjs +24 -0
- package/dist/hooks/CdnOperations/index.d.cts +7 -0
- package/dist/hooks/CdnOperations/index.d.ts +7 -0
- package/dist/hooks/CdnOperations/index.js +22 -0
- package/dist/hooks/ChatToggle/index.cjs +64 -0
- package/dist/hooks/ChatToggle/index.d.cts +12 -0
- package/dist/hooks/ChatToggle/index.d.ts +12 -0
- package/dist/hooks/ChatToggle/index.js +62 -0
- package/dist/hooks/ChatToggleAnalytics/index.cjs +39 -0
- package/dist/hooks/ChatToggleAnalytics/index.d.cts +9 -0
- package/dist/hooks/ChatToggleAnalytics/index.d.ts +9 -0
- package/dist/hooks/ChatToggleAnalytics/index.js +37 -0
- package/dist/hooks/CustomerSupportHandoff/index.cjs +36 -0
- package/dist/hooks/CustomerSupportHandoff/index.d.cts +16 -0
- package/dist/hooks/CustomerSupportHandoff/index.d.ts +16 -0
- package/dist/hooks/CustomerSupportHandoff/index.js +34 -0
- package/dist/hooks/Debounce/index.cjs +3 -0
- package/dist/hooks/Debounce/index.d.cts +5 -0
- package/dist/hooks/Debounce/index.d.ts +5 -0
- package/dist/hooks/Debounce/index.js +3 -0
- package/dist/hooks/ElementObserver/index.cjs +179 -0
- package/dist/hooks/ElementObserver/index.d.cts +29 -0
- package/dist/hooks/ElementObserver/index.d.ts +29 -0
- package/dist/hooks/ElementObserver/index.js +177 -0
- package/dist/hooks/GrabAndScroll/index.cjs +99 -0
- package/dist/hooks/GrabAndScroll/index.d.cts +14 -0
- package/dist/hooks/GrabAndScroll/index.d.ts +14 -0
- package/dist/hooks/GrabAndScroll/index.js +97 -0
- package/dist/hooks/GraphQLConfig/index.cjs +17 -0
- package/dist/hooks/GraphQLConfig/index.d.cts +28 -0
- package/dist/hooks/GraphQLConfig/index.d.ts +28 -0
- package/dist/hooks/GraphQLConfig/index.js +16 -0
- package/dist/hooks/IdentifyUser/index.cjs +55 -0
- package/dist/hooks/IdentifyUser/index.d.cts +10 -0
- package/dist/hooks/IdentifyUser/index.d.ts +10 -0
- package/dist/hooks/IdentifyUser/index.js +53 -0
- package/dist/hooks/ImageResolver/index.cjs +55 -0
- package/dist/hooks/ImageResolver/index.d.cts +7 -0
- package/dist/hooks/ImageResolver/index.d.ts +7 -0
- package/dist/hooks/ImageResolver/index.js +53 -0
- package/dist/hooks/Intersection/index.cjs +3 -0
- package/dist/hooks/Intersection/index.d.cts +7 -0
- package/dist/hooks/Intersection/index.d.ts +7 -0
- package/dist/hooks/Intersection/index.js +3 -0
- package/dist/hooks/IsSmallScreen/index.cjs +22 -0
- package/dist/hooks/IsSmallScreen/index.d.cts +5 -0
- package/dist/hooks/IsSmallScreen/index.d.ts +5 -0
- package/dist/hooks/IsSmallScreen/index.js +20 -0
- package/dist/hooks/LocalStorageOperations/index.cjs +79 -0
- package/dist/hooks/LocalStorageOperations/index.d.cts +17 -0
- package/dist/hooks/LocalStorageOperations/index.d.ts +17 -0
- package/dist/hooks/LocalStorageOperations/index.js +74 -0
- package/dist/hooks/MessageFilter/index.cjs +54 -0
- package/dist/hooks/MessageFilter/index.d.cts +30 -0
- package/dist/hooks/MessageFilter/index.d.ts +30 -0
- package/dist/hooks/MessageFilter/index.js +54 -0
- package/dist/hooks/MessageScrollObserver/index.cjs +36 -0
- package/dist/hooks/MessageScrollObserver/index.d.cts +5 -0
- package/dist/hooks/MessageScrollObserver/index.d.ts +5 -0
- package/dist/hooks/MessageScrollObserver/index.js +34 -0
- package/dist/hooks/NewOrgConfig/index.cjs +20 -0
- package/dist/hooks/NewOrgConfig/index.d.cts +20 -0
- package/dist/hooks/NewOrgConfig/index.d.ts +20 -0
- package/dist/hooks/NewOrgConfig/index.js +20 -0
- package/dist/hooks/Search/index.cjs +325 -0
- package/dist/hooks/Search/index.d.cts +61 -0
- package/dist/hooks/Search/index.d.ts +61 -0
- package/dist/hooks/Search/index.js +322 -0
- package/dist/hooks/SearchOperations/index.cjs +105 -0
- package/dist/hooks/SearchOperations/index.d.cts +22 -0
- package/dist/hooks/SearchOperations/index.d.ts +22 -0
- package/dist/hooks/SearchOperations/index.js +102 -0
- package/dist/hooks/SessionStorageOperations/index.cjs +30 -0
- package/dist/hooks/SessionStorageOperations/index.d.cts +8 -0
- package/dist/hooks/SessionStorageOperations/index.d.ts +8 -0
- package/dist/hooks/SessionStorageOperations/index.js +28 -0
- package/dist/hooks/ShopifyUrlOperations/index.cjs +53 -0
- package/dist/hooks/ShopifyUrlOperations/index.d.cts +23 -0
- package/dist/hooks/ShopifyUrlOperations/index.d.ts +23 -0
- package/dist/hooks/ShopifyUrlOperations/index.js +49 -0
- package/dist/hooks/SnapCalculator/index.cjs +29 -0
- package/dist/hooks/SnapCalculator/index.d.cts +12 -0
- package/dist/hooks/SnapCalculator/index.d.ts +12 -0
- package/dist/hooks/SnapCalculator/index.js +27 -0
- package/dist/hooks/SystemSettingsContext/index.cjs +7 -0
- package/dist/hooks/SystemSettingsContext/index.d.cts +23 -0
- package/dist/hooks/SystemSettingsContext/index.d.ts +23 -0
- package/dist/hooks/SystemSettingsContext/index.js +7 -0
- package/dist/hooks/TrackComponentVisibleEvent/index.cjs +23 -0
- package/dist/hooks/TrackComponentVisibleEvent/index.d.cts +18 -0
- package/dist/hooks/TrackComponentVisibleEvent/index.d.ts +18 -0
- package/dist/hooks/TrackComponentVisibleEvent/index.js +23 -0
- package/dist/hooks/UpdateAnalyticsProps/index.cjs +63 -0
- package/dist/hooks/UpdateAnalyticsProps/index.d.cts +9 -0
- package/dist/hooks/UpdateAnalyticsProps/index.d.ts +9 -0
- package/dist/hooks/UpdateAnalyticsProps/index.js +60 -0
- package/dist/hooks/utils.cjs +8 -0
- package/dist/hooks/utils.d.cts +13 -0
- package/dist/hooks/utils.d.ts +13 -0
- package/dist/hooks/utils.js +3 -0
- package/dist/index-7VOYQNo5.d.ts +184 -0
- package/dist/index-9NE86em3.d.cts +35 -0
- package/dist/index-Bmub8e38.d.cts +98 -0
- package/dist/index-C1nwLU6Q.d.ts +35 -0
- package/dist/index-CESxqFso.d.cts +228 -0
- package/dist/index-CG3P8xE1.d.cts +676 -0
- package/dist/index-CalyvQj_.d.ts +1 -0
- package/dist/index-CiWEYzXl.d.cts +184 -0
- package/dist/index-Cyq5HiC0.d.cts +44 -0
- package/dist/index-D9SzePCE.d.cts +186 -0
- package/dist/index-DDZmV951.d.ts +186 -0
- package/dist/index-Da1s8h5C.d.cts +9 -0
- package/dist/index-Dy22w7kg.d.ts +24 -0
- package/dist/index-DzbkQtaK.d.cts +24 -0
- package/dist/index-DzzKdrcZ.d.ts +9 -0
- package/dist/index-L7SEpDLz.d.ts +228 -0
- package/dist/index-RcVcRKH7.d.cts +1 -0
- package/dist/index-YrhxAGtH.d.ts +676 -0
- package/dist/index-exSzn3SP.d.ts +44 -0
- package/dist/index-hebsV7fc.d.ts +98 -0
- package/dist/interceptors/index.cjs +4 -0
- package/dist/interceptors/index.d.cts +20 -0
- package/dist/interceptors/index.d.ts +20 -0
- package/dist/interceptors/index.js +4 -0
- package/dist/interceptors/types.cjs +1 -0
- package/dist/interceptors/types.d.cts +13 -0
- package/dist/interceptors/types.d.ts +13 -0
- package/dist/interceptors/types.js +3 -0
- package/dist/localStorageContext-Dwgto93_.js +95 -0
- package/dist/localStorageContext-cnMYDllE.cjs +115 -0
- package/dist/logger-Cp7J4YJT.cjs +26 -0
- package/dist/logger-oAgZx2-m.js +20 -0
- package/dist/models-B1P-dSCW.cjs +1537 -0
- package/dist/models-CgvSM2fW.js +1296 -0
- package/dist/newOrgConfigAtom-B9FW3fDc.cjs +15 -0
- package/dist/newOrgConfigAtom-CMeY5c6t.js +8 -0
- package/dist/newOrgConfigContext-1uwWWCPa.js +53 -0
- package/dist/newOrgConfigContext-B0v1q3dk.cjs +68 -0
- package/dist/newOrgConfigContext-C8wBmK3q.d.cts +16 -0
- package/dist/newOrgConfigContext-D180PO0t.d.ts +16 -0
- package/dist/nodeSelector-B3bPtEjX.d.cts +31 -0
- package/dist/nodeSelector-DQicm08Y.d.ts +31 -0
- package/dist/org-DU3Wck0R.cjs +43 -0
- package/dist/org-DptftvB6.js +12 -0
- package/dist/search-BtYKpiNB.js +126 -0
- package/dist/search-DYVQuYti.d.ts +20 -0
- package/dist/search-Du6HZpO6.cjs +205 -0
- package/dist/search-filter-types-B5xcaEit.d.ts +102 -0
- package/dist/search-filter-types-DZPTzUK9.d.cts +102 -0
- package/dist/search-y-ioX5Mz.d.cts +20 -0
- package/dist/searchContext-BK43ArCs.cjs +145 -0
- package/dist/searchContext-JjZZhDCe.js +129 -0
- package/dist/searchServiceAdapter-BSPZOg1r.js +16 -0
- package/dist/searchServiceAdapter-DrjFCiw8.cjs +34 -0
- package/dist/sessionStorageContext-BQY9r8zz.js +52 -0
- package/dist/sessionStorageContext-R2yUAkd9.cjs +66 -0
- package/dist/shopifyUrlContext-Bon8_SUJ.js +61 -0
- package/dist/shopifyUrlContext-DUdw1xUH.cjs +75 -0
- package/dist/spiffyWidgets-BuS00VaQ.d.cts +20 -0
- package/dist/spiffyWidgets-DZqG5plz.d.ts +20 -0
- package/dist/systemSettingsContext-BjbhIz6y.js +39 -0
- package/dist/systemSettingsContext-Dv9EmjmZ.cjs +60 -0
- package/dist/test-types-Dl5puRHC.d.ts +40 -0
- package/dist/test-types-ThQiO_cc.d.cts +40 -0
- package/dist/types/index.cjs +34 -0
- package/dist/types/index.d.cts +3 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +31 -0
- package/dist/types-BwNrLPSZ.cjs +106 -0
- package/dist/types-CKMMb_gX.d.cts +51 -0
- package/dist/types-Csgpt7EV.d.ts +51 -0
- package/dist/types-D3uOF0Oy.js +76 -0
- package/dist/types-DIk0FLwd.js +30 -0
- package/dist/types-DNLkuGWZ.cjs +48 -0
- package/dist/types-DSW9XODe.d.cts +10 -0
- package/dist/types-DtTnp0o0.js +1 -0
- package/dist/types-a8gm_IaQ.cjs +0 -0
- package/dist/types-oSg-AkO5.d.ts +10 -0
- package/dist/types.cjs +0 -0
- package/dist/types.d.cts +15 -0
- package/dist/types.d.ts +15 -0
- package/dist/types.js +1 -0
- package/dist/urlsParser-BV5yF8sa.cjs +78 -0
- package/dist/urlsParser-DUgV_Qy9.js +42 -0
- package/dist/useAmplitudeOperations-C9o_wDU6.cjs +41 -0
- package/dist/useAmplitudeOperations-COq3L1no.js +34 -0
- package/dist/useAppDetails-C4GTLEIR.cjs +38 -0
- package/dist/useAppDetails-CEksA88Q.js +30 -0
- package/dist/useDebounce--rPGMuE7.js +19 -0
- package/dist/useDebounce-DECHWSTn.cjs +26 -0
- package/dist/useGraphQLConfig-DQoMmpNM.js +63 -0
- package/dist/useGraphQLConfig-DzH1nVBh.cjs +76 -0
- package/dist/useIntersection-UEO0Cezc.js +21 -0
- package/dist/useIntersection-rV0Q8mBH.cjs +28 -0
- package/dist/useMessageInterceptor-CstX10ih.cjs +33 -0
- package/dist/useMessageInterceptor-D5oAekXn.js +25 -0
- package/dist/userIdentityContext-8kfKQRFx.d.ts +20 -0
- package/dist/userIdentityContext-D2oFVFzo.d.cts +20 -0
- package/dist/utilityTypes-DynzxjK3.js +1 -0
- package/dist/utilityTypes-xb8SjKSV.cjs +0 -0
- package/dist/utils-ARmpTh1O.js +27 -0
- package/dist/utils-B3x_9JTY.d.cts +15 -0
- package/dist/utils-B8rATLoc.d.ts +22 -0
- package/dist/utils-BLe5oreh.d.ts +15 -0
- package/dist/utils-Bcz5kAgP.js +92 -0
- package/dist/utils-CMqFfqZx.cjs +130 -0
- package/dist/utils-Cavu4XiM.cjs +33 -0
- package/dist/utils-CqVRbvfN.cjs +29 -0
- package/dist/utils-DQhbbAnt.js +23 -0
- package/dist/utils-EDgzCG3Q.d.cts +22 -0
- package/dist/utils-V1YTUQng.js +1385 -0
- package/dist/utils-VI19AC8S.cjs +1591 -0
- package/dist/variantInfo-BRmDpamJ.cjs +17 -0
- package/dist/variantInfo-BwBBEWSA.js +11 -0
- package/package.json +3 -2
- package/src/config/locators/components/chat/index.ts +0 -1
- package/src/config/locators/components/chat/preview.ts +0 -1
- package/src/config/locators/components/common/index.ts +4 -0
- package/src/config/locators/index.ts +1 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { hasPropertyOfType } from "./utils-ARmpTh1O.js";
|
|
2
|
+
import { logger_default } from "./logger-oAgZx2-m.js";
|
|
3
|
+
import { ResponseCategory, SuggestionCategory, UserEventCategory } from "@spiffy-ai/commerce-api-client";
|
|
4
|
+
|
|
5
|
+
//#region src/application/models/guards/api/isApiPDPEventAttributes.ts
|
|
6
|
+
const isApiPDPAttributes = (data) => {
|
|
7
|
+
if (data == null || typeof data !== "object") return false;
|
|
8
|
+
if (!("product_id" in data) || typeof data.product_id !== "string") return false;
|
|
9
|
+
if ("parent_product_id" in data && typeof data.parent_product_id !== "string") return false;
|
|
10
|
+
if ("url" in data && data.url != null && typeof data.url !== "string") return false;
|
|
11
|
+
return true;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/application/models/guards/api/isApiQueryTypedEventAttributes.ts
|
|
16
|
+
const isApiQueryTypedAttributes = (data) => data != null && typeof data === "object" && "query" in data && typeof data.query === "string";
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/application/models/guards/api/isApiResponse.ts
|
|
20
|
+
const isApiResponse = (data) => {
|
|
21
|
+
if (data == null || typeof data !== "object") {
|
|
22
|
+
logger_default.logError("isApiResponse: data is null or not an object", void 0, { data });
|
|
23
|
+
return false;
|
|
24
|
+
}
|
|
25
|
+
if (!hasPropertyOfType(data, "id", "string")) {
|
|
26
|
+
logger_default.logError("isApiResponse: id is not a string", void 0, { data });
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
if (!hasPropertyOfType(data, "category", "string") || !Object.values(ResponseCategory).includes(data.category)) {
|
|
30
|
+
logger_default.logError("isApiResponse: category is not a string or not a valid response category", void 0, { data });
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
if (!hasPropertyOfType(data, "created_at", "string")) {
|
|
34
|
+
logger_default.logError("isApiResponse: created_at is not a string", void 0, { data });
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
if (!hasPropertyOfType(data, "attributes", "object", true)) {
|
|
38
|
+
logger_default.logError("isApiResponse: attributes is not an object", void 0, { data });
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
return true;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/application/models/guards/api/isApiProductResponseAttributes.ts
|
|
46
|
+
const isApiProductResponseAttributes = (attributes) => {
|
|
47
|
+
if (attributes == null || typeof attributes !== "object") {
|
|
48
|
+
logger_default.logError("isApiProductResponseAttributes: attributes is null or not an object", void 0, { attributes });
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
if (!hasPropertyOfType(attributes, "description", "string", true)) {
|
|
52
|
+
logger_default.logError("isApiProductResponseAttributes: description is not a string", void 0, { attributes });
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
if (!hasPropertyOfType(attributes, "image_url", "string", true)) {
|
|
56
|
+
logger_default.logError("isApiProductResponseAttributes: image_url is not a string", void 0, { attributes });
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
if (!hasPropertyOfType(attributes, "title", "string")) {
|
|
60
|
+
logger_default.logError("isApiProductResponseAttributes: title is not a string", void 0, { attributes });
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
if (!hasPropertyOfType(attributes, "url", "string")) {
|
|
64
|
+
logger_default.logError("isApiProductResponseAttributes: url is not a string", void 0, { attributes });
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
if (!hasPropertyOfType(attributes, "original_price", "number", true)) {
|
|
68
|
+
logger_default.logError("isApiProductResponseAttributes: original_price is not a number", void 0, { attributes });
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
if (!hasPropertyOfType(attributes, "sale_price", "number", true)) {
|
|
72
|
+
logger_default.logError("isApiProductResponseAttributes: sale_price is not a number", void 0, { attributes });
|
|
73
|
+
return false;
|
|
74
|
+
}
|
|
75
|
+
if (!hasPropertyOfType(attributes, "average_rating", "number", true)) {
|
|
76
|
+
logger_default.logError("isApiProductResponseAttributes: average_rating is not a number", void 0, { attributes });
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
if (!hasPropertyOfType(attributes, "number_reviews", "number", true)) {
|
|
80
|
+
logger_default.logError("isApiProductResponseAttributes: number_reviews is not a number", void 0, { attributes });
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
if (!hasPropertyOfType(attributes, "metadata", "array", true)) {
|
|
84
|
+
logger_default.logError("isApiProductResponseAttributes: metadata is not an array", void 0, { attributes });
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return true;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region src/application/models/guards/api/isApiReviewRichInformation.ts
|
|
92
|
+
const isApiReviewRichInformation = (richInfo) => {
|
|
93
|
+
if (richInfo == null || typeof richInfo !== "object") return false;
|
|
94
|
+
if ("cons" in richInfo && (!Array.isArray(richInfo.cons) || richInfo.cons.some((con) => typeof con !== "string"))) return false;
|
|
95
|
+
if ("pros" in richInfo && (!Array.isArray(richInfo.pros) || richInfo.pros.some((pro) => typeof pro !== "string"))) return false;
|
|
96
|
+
if ("review_date" in richInfo && typeof richInfo.review_date !== "string") return false;
|
|
97
|
+
if ("reviewer_title" in richInfo && typeof richInfo.reviewer_title !== "string") return false;
|
|
98
|
+
if ("product_familiarity" in richInfo && typeof richInfo.product_familiarity !== "string") return false;
|
|
99
|
+
return true;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region src/application/models/guards/api/isApiReviewResponseAttributes.ts
|
|
104
|
+
const isApiReviewResponseAttributes = (obj) => {
|
|
105
|
+
if (obj == null || typeof obj !== "object") return false;
|
|
106
|
+
if ("title" in obj && obj.title != null && typeof obj.title !== "string") return false;
|
|
107
|
+
if ("review" in obj && typeof obj.review !== "string") return false;
|
|
108
|
+
if ("reviewer" in obj && typeof obj.reviewer !== "string") return false;
|
|
109
|
+
if ("stars" in obj && typeof obj.stars !== "number") return false;
|
|
110
|
+
if ("rich_information" in obj && !isApiReviewRichInformation(obj.rich_information)) return false;
|
|
111
|
+
return true;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region src/application/models/guards/api/isApiSearchEventAttributes.ts
|
|
116
|
+
const isApiSearchAttributes = (data) => {
|
|
117
|
+
if (data == null || typeof data !== "object") return false;
|
|
118
|
+
if (!("search_term" in data) || typeof data.search_term !== "string") return false;
|
|
119
|
+
if ("selected_filters" in data && !Array.isArray(data.selected_filters)) return false;
|
|
120
|
+
if (!!data.search_term) return true;
|
|
121
|
+
if (!("search_results" in data) || !Array.isArray(data.search_results) || !data.search_results.every((v) => typeof v === "string")) return false;
|
|
122
|
+
return true;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
//#endregion
|
|
126
|
+
//#region src/application/models/guards/api/isApiSuggestion.ts
|
|
127
|
+
const isSuggestion = (data) => {
|
|
128
|
+
if (data == null || typeof data !== "object") return false;
|
|
129
|
+
if (!("id" in data) || typeof data.id !== "string") return false;
|
|
130
|
+
if (!("category" in data) || typeof data.category !== "string" || !Object.values(SuggestionCategory).includes(data.category)) return false;
|
|
131
|
+
if (!("created_at" in data) || typeof data.created_at !== "string") return false;
|
|
132
|
+
if (!("content" in data) || typeof data.content !== "string") return false;
|
|
133
|
+
if ("is_answer" in data && data.is_answer != null && typeof data.is_answer !== "boolean") return false;
|
|
134
|
+
return true;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/application/models/guards/api/isApiSuggestionClickedEventAttributes.ts
|
|
139
|
+
const isApiSuggestionClickedAttributes = (data) => data != null && typeof data === "object" && "suggestion_id" in data && typeof data.suggestion_id === "string";
|
|
140
|
+
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region src/application/models/guards/api/isApiTextResponseAttributes.ts
|
|
143
|
+
const isApiTextResponseAttributes = (attributes) => typeof attributes === "object" && attributes != null && "content" in attributes && typeof attributes.content === "string";
|
|
144
|
+
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region src/application/models/guards/api/isApiUserEvent.ts
|
|
147
|
+
const isApiUserEvent = (data) => {
|
|
148
|
+
if (data == null || typeof data !== "object") return false;
|
|
149
|
+
if (!("event_id" in data) || typeof data.event_id !== "string") return false;
|
|
150
|
+
if (!("created_at" in data) || typeof data.created_at !== "string") return false;
|
|
151
|
+
if (!("category" in data) || typeof data.category !== "string" || !Object.values(UserEventCategory).includes(data.category)) return false;
|
|
152
|
+
return true;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
//#endregion
|
|
156
|
+
//#region src/application/models/guards/api/isApiProductSearchAttributes.ts
|
|
157
|
+
const isApiProductSearchResponseAttributes = (attributes) => {
|
|
158
|
+
if (attributes == null || typeof attributes !== "object") return false;
|
|
159
|
+
if ("generated_query" in attributes && typeof attributes.generated_query !== "string") return false;
|
|
160
|
+
if ("product_count" in attributes && attributes.product_count != null && typeof attributes.product_count !== "number") return false;
|
|
161
|
+
return true;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
//#endregion
|
|
165
|
+
export { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion };
|
|
166
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLUQ5Z21HTkFWLmpzIiwibmFtZXMiOltdLCJzb3VyY2VzIjpbIi4uL3NyYy9hcHBsaWNhdGlvbi9tb2RlbHMvZ3VhcmRzL2FwaS9pc0FwaVBEUEV2ZW50QX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2QsYUFBYSxjQUNiLE9BQU8sV0FBVyxZQUFZOzs7O0FDTmhDLE1BQWEsa0JBQWtCLFNBQXFDO0FBQ2xFLEtBQUksUUFBUSxRQUFRLE9BQU8sU0FBUyxTQUNsQyxRQUFPO0FBR1QsS0FBSSxFQUFFLGNBQWMsU0FBUyxPQUFPLEtBQUssYUFBYSxTQUNwRCxRQUFPO0FBR1QsS0FBSSxFQUFFLGdCQUFnQixTQUFTLE9BQU8sS0FBSyxlQUFlLFNBQ3hELFFBQU87QUFHVCxLQUNFLEVBQUUsY0FBYyxTQUNoQixPQUFPLEtBQUssYUFBYSxZQUN6QixDQUFDLE9BQU8sT0FBTyxrQkFBa0IsQ0FBQyxTQUFTLEtBQUssU0FBOEIsQ0FFOUUsUUFBTztBQUdULFFBQU87Ozs7O0FDckJULE1BQWEsd0NBQ1gsZUFDa0Q7QUFDbEQsS0FBSSxjQUFjLFFBQVEsT0FBTyxlQUFlLFNBQzlDLFFBQU87QUFHVCxLQUFJLHFCQUFxQixjQUFjLE9BQU8sV0FBVyxvQkFBb0IsU0FDM0UsUUFBTztBQUdULEtBQ0UsbUJBQW1CLGNBQ25CLFdBQVcsaUJBQWlCLFFBQzVCLE9BQU8sV0FBVyxrQkFBa0IsU0FFcEMsUUFBTztBQUdULFFBQU8ifQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
require('../../../urlsParser-BV5yF8sa.cjs');
|
|
2
|
+
const require_graphql = require('../../../graphql-B9HhDXYt.cjs');
|
|
3
|
+
|
|
4
|
+
exports.getMerchantColorsQuery = require_graphql.getMerchantColorsQuery;
|
|
5
|
+
exports.getMerchantFrontendConfigQuery = require_graphql.getMerchantFrontendConfigQuery;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, MountingConfigQueryData, PageVariantCheckQueryData, PageVariantQueryData, UIConfigQueryData, WidgetConfigQueryData, WidgetMountingQueryData, getMerchantColorsQuery, getMerchantFrontendConfigQuery } from "../../../index-Bmub8e38.cjs";
|
|
2
|
+
export { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, MountingConfigQueryData, PageVariantCheckQueryData, PageVariantQueryData, UIConfigQueryData, WidgetConfigQueryData, WidgetMountingQueryData, getMerchantColorsQuery, getMerchantFrontendConfigQuery };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, MountingConfigQueryData, PageVariantCheckQueryData, PageVariantQueryData, UIConfigQueryData, WidgetConfigQueryData, WidgetMountingQueryData, getMerchantColorsQuery, getMerchantFrontendConfigQuery } from "../../../index-hebsV7fc.js";
|
|
2
|
+
export { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, MountingConfigQueryData, PageVariantCheckQueryData, PageVariantQueryData, UIConfigQueryData, WidgetConfigQueryData, WidgetMountingQueryData, getMerchantColorsQuery, getMerchantFrontendConfigQuery };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
require('../../../../utils-Cavu4XiM.cjs');
|
|
2
|
+
const require_api = require('../../../../api-Bc3_julZ.cjs');
|
|
3
|
+
require('../../../../logger-Cp7J4YJT.cjs');
|
|
4
|
+
|
|
5
|
+
exports.isApiPDPAttributes = require_api.isApiPDPAttributes;
|
|
6
|
+
exports.isApiProductResponseAttributes = require_api.isApiProductResponseAttributes;
|
|
7
|
+
exports.isApiProductSearchResponseAttributes = require_api.isApiProductSearchResponseAttributes;
|
|
8
|
+
exports.isApiQueryTypedAttributes = require_api.isApiQueryTypedAttributes;
|
|
9
|
+
exports.isApiResponse = require_api.isApiResponse;
|
|
10
|
+
exports.isApiReviewResponseAttributes = require_api.isApiReviewResponseAttributes;
|
|
11
|
+
exports.isApiReviewRichInformation = require_api.isApiReviewRichInformation;
|
|
12
|
+
exports.isApiSearchAttributes = require_api.isApiSearchAttributes;
|
|
13
|
+
exports.isApiSuggestionClickedAttributes = require_api.isApiSuggestionClickedAttributes;
|
|
14
|
+
exports.isApiTextResponseAttributes = require_api.isApiTextResponseAttributes;
|
|
15
|
+
exports.isApiUserEvent = require_api.isApiUserEvent;
|
|
16
|
+
exports.isSuggestion = require_api.isSuggestion;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../../../index-CiWEYzXl.cjs";
|
|
2
|
+
import "../../../../index-CESxqFso.cjs";
|
|
3
|
+
export { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../../../index-7VOYQNo5.js";
|
|
2
|
+
import "../../../../index-L7SEpDLz.js";
|
|
3
|
+
export { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "../../../../utils-ARmpTh1O.js";
|
|
2
|
+
import { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../../../api-D9gmGNAV.js";
|
|
3
|
+
import "../../../../logger-oAgZx2-m.js";
|
|
4
|
+
|
|
5
|
+
export { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
const require_types = require('../../types-BwNrLPSZ.cjs');
|
|
2
|
+
const require_models = require('../../models-B1P-dSCW.cjs');
|
|
3
|
+
const require_featureGates = require('../../featureGates-BdvOVv8N.cjs');
|
|
4
|
+
require('../../urlsParser-BV5yF8sa.cjs');
|
|
5
|
+
const require_graphql = require('../../graphql-B9HhDXYt.cjs');
|
|
6
|
+
const require_utils = require('../../utils-Cavu4XiM.cjs');
|
|
7
|
+
const require_api = require('../../api-Bc3_julZ.cjs');
|
|
8
|
+
require('../../logger-Cp7J4YJT.cjs');
|
|
9
|
+
require('../../utilityTypes-xb8SjKSV.cjs');
|
|
10
|
+
const require_variantInfo = require('../../variantInfo-BRmDpamJ.cjs');
|
|
11
|
+
|
|
12
|
+
exports.ChatElementDisplayLocation = require_models.ChatElementDisplayLocation;
|
|
13
|
+
exports.ColorNames = require_types.ColorNames;
|
|
14
|
+
exports.FeatureGates = require_featureGates.FeatureGates;
|
|
15
|
+
exports.GoogleAnalyticsEvents = require_models.GoogleAnalyticsEvents;
|
|
16
|
+
exports.MessageRole = require_models.MessageRole;
|
|
17
|
+
exports.MessageType = require_models.MessageType;
|
|
18
|
+
exports.OrgShortName = require_models.OrgShortName;
|
|
19
|
+
exports.ProductExperiment = require_models.ProductExperiment;
|
|
20
|
+
exports.SpiffyEventName = require_models.SpiffyEventName;
|
|
21
|
+
exports.SpiffyWidgets = require_models.SpiffyWidgets;
|
|
22
|
+
exports.VariantTypeEnum = require_variantInfo.VariantTypeEnum;
|
|
23
|
+
exports.colorVar = require_types.colorVar;
|
|
24
|
+
exports.getMerchantColorsQuery = require_graphql.getMerchantColorsQuery;
|
|
25
|
+
exports.getMerchantFrontendConfigQuery = require_graphql.getMerchantFrontendConfigQuery;
|
|
26
|
+
exports.getMerchantOrgIdQuery = require_models.getMerchantOrgIdQuery;
|
|
27
|
+
exports.hasPropertyOfType = require_utils.hasPropertyOfType;
|
|
28
|
+
exports.isApiFormResponseAttributes = require_models.isApiFormResponseAttributes;
|
|
29
|
+
exports.isApiFormSubmittedResponseAttributes = require_models.isApiFormSubmittedResponseAttributes;
|
|
30
|
+
exports.isApiOrderResponseAttributes = require_models.isApiOrderResponseAttributes;
|
|
31
|
+
exports.isApiOrgConfigResults = require_models.isApiOrgConfigResults;
|
|
32
|
+
exports.isApiOrganizationConfig = require_models.isApiOrganizationConfig;
|
|
33
|
+
exports.isApiPDPAttributes = require_api.isApiPDPAttributes;
|
|
34
|
+
exports.isApiPLPEventAttributes = require_models.isApiPLPEventAttributes;
|
|
35
|
+
exports.isApiPLPIdAttribute = require_models.isApiPLPIdAttribute;
|
|
36
|
+
exports.isApiPageResponseAttributes = require_models.isApiPageResponseAttributes;
|
|
37
|
+
exports.isApiProductResponseAttributes = require_api.isApiProductResponseAttributes;
|
|
38
|
+
exports.isApiProductSearchFilterResponseAttributes = require_models.isApiProductSearchFilterResponseAttributes;
|
|
39
|
+
exports.isApiProductSearchResponseAttributes = require_api.isApiProductSearchResponseAttributes;
|
|
40
|
+
exports.isApiQueryTypedAttributes = require_api.isApiQueryTypedAttributes;
|
|
41
|
+
exports.isApiResponse = require_api.isApiResponse;
|
|
42
|
+
exports.isApiReviewResponseAttributes = require_api.isApiReviewResponseAttributes;
|
|
43
|
+
exports.isApiReviewRichInformation = require_api.isApiReviewRichInformation;
|
|
44
|
+
exports.isApiSearchAttributes = require_api.isApiSearchAttributes;
|
|
45
|
+
exports.isApiSuggestionClickedAttributes = require_api.isApiSuggestionClickedAttributes;
|
|
46
|
+
exports.isApiTextResponseAttributes = require_api.isApiTextResponseAttributes;
|
|
47
|
+
exports.isApiUserEvent = require_api.isApiUserEvent;
|
|
48
|
+
exports.isBaseEcommerceEvent = require_models.isBaseEcommerceEvent;
|
|
49
|
+
exports.isGA4EcommerceEvent = require_models.isGA4EcommerceEvent;
|
|
50
|
+
exports.isGraphQLColorsConfig = require_models.isGraphQLColorsConfig;
|
|
51
|
+
exports.isLegacyUAEcommerceEvent = require_models.isLegacyUAEcommerceEvent;
|
|
52
|
+
exports.isMobilePLPChatPlacementParameter = require_models.isMobilePLPChatPlacementParameter;
|
|
53
|
+
exports.isSpanxTakeAQuizCtaParameter = require_models.isSpanxTakeAQuizCtaParameter;
|
|
54
|
+
exports.isSuggestion = require_api.isSuggestion;
|
|
55
|
+
exports.isVariantInfo = require_models.isVariantInfo;
|
|
56
|
+
exports.stringToFulfillmentDisplayStatusEnumValue = require_models.stringToFulfillmentDisplayStatusEnumValue;
|
|
57
|
+
exports.transformCamelToSnake = require_models.transformCamelToSnake;
|
|
58
|
+
exports.transformSnakeToCamel = require_models.transformSnakeToCamel;
|
|
59
|
+
exports.validateAndTransformMountingConfig = require_models.validateAndTransformMountingConfig;
|
|
60
|
+
exports.validateAndTransformPageVariants = require_models.validateAndTransformPageVariants;
|
|
61
|
+
exports.validateAndTransformWidgetConfig = require_models.validateAndTransformWidgetConfig;
|
|
62
|
+
exports.validateGraphQLColorsConfig = require_models.validateGraphQLColorsConfig;
|
|
63
|
+
exports.validateGraphQLFrontendConfig = require_models.validateGraphQLFrontendConfig;
|
|
64
|
+
exports.validateGraphQLOrgId = require_models.validateGraphQLOrgId;
|
|
65
|
+
exports.validateMobilePLPChatPlacementParameter = require_models.validateMobilePLPChatPlacementParameter;
|
|
66
|
+
exports.validateOrgConfigResults = require_models.validateOrgConfigResults;
|
|
67
|
+
exports.validateOrganizationConfig = require_models.validateOrganizationConfig;
|
|
68
|
+
exports.validateResponse = require_models.validateResponse;
|
|
69
|
+
exports.validateSuggestion = require_models.validateSuggestion;
|
|
70
|
+
exports.validateUserEvent = require_models.validateUserEvent;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, MountingConfigQueryData, PageVariantCheckQueryData, PageVariantQueryData, UIConfigQueryData, WidgetConfigQueryData, WidgetMountingQueryData, getMerchantColorsQuery, getMerchantFrontendConfigQuery } from "../../index-Bmub8e38.cjs";
|
|
2
|
+
import { AcceptableFormFieldType, ApiFormResponseAttributes, ApiFormResponseSchemaAttributes, ApiPageResponseAttributes, ApiProductSearchFilterResponseAttributes, ApiReviewResponseAttributes, ApiReviewRichInformation, ApiSearchResponseAttributes, ApiSearchResponseProductAttributes, ApiTextResponseAttributes, FormResponseAttributes, OrderItemInfo, OrderResponseAttributes, PageResponseAttributes, ProductResponseAttributes, Response, ReviewResponseAttributes, ReviewRichInformation, SearchProductFilterAttributes, SearchProductResponseAttributes, SearchResponseAttributes, SearchResponseProductAttributes, SeparatorResponseAttributes, TextResponseAttributes, isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../index-CiWEYzXl.cjs";
|
|
3
|
+
import { BuiltIns, CamelCase, CamelCaseOptions, CamelCasedPropertiesDeep, IsLowerCase, IsNumeric, IsUpperCase, NonRecursiveType, Primitive, SplitWords, Trim, UnknownArray, UpperCaseCharacters, Whitespace, WordSeparators } from "../../index-CESxqFso.cjs";
|
|
4
|
+
import { hasPropertyOfType } from "../../utils-B3x_9JTY.cjs";
|
|
5
|
+
import { ApiOrderItemInfo, ApiOrderResponseAttributes, ApiOrganizationConfig, AppLoadedUserEvent, AppUnloadedEvent, BaseEcommerceEvent, CachedValue, ClientDetails, Context, ConversationalSearchIds, DelimiterCase, DelimiterCasedPropertiesDeep, FormField, FormSubmitted, FormSubmittedAttributes, GA4EcommerceEvent, GenerationParams, GoogleAnalyticsEvents, Message, MessageRole, MessageType, MobilePLPChatPlacementParameter, NextMessageRequest, OrgShortName, PDPAttributes, PDPUserEvent, PLPAttributes, PLPUserEvent, PageVisitAttributes, PageVisitEvent, ProductExperiment, ProductMessageMetadata, ProductSearchMessageMetadata, QueryTypedAttributes, QueryTypedUserEvent, SearchAttributes, SearchUserEvent, SnakeCasedPropertiesDeep, SpanxTakeAQuizCtaParameter, SpiffyEventName, SplitIncludingDelimiters, Suggestion, SuggestionClickedAttributes, SuggestionsClickedUserEvent, SupportedEventRequest, UAEcommerceEvent, UserEvent, UserEventAttributes, getMerchantOrgIdQuery, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductSearchFilterResponseAttributes, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent } from "../../index-CG3P8xE1.cjs";
|
|
6
|
+
import { ChatElementDisplayLocation } from "../../chatElementDisplayLocation-DWmfNX_u.cjs";
|
|
7
|
+
import { ColorMapping, ColorNames, FeatureGates, FrontendConfig, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig$1 as OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, Organization, OrganizationConfig, OrganizationSettings, colorVar } from "../../frontendConfig-tVg0hsWZ.cjs";
|
|
8
|
+
import "../../test-types-ThQiO_cc.cjs";
|
|
9
|
+
import { SpiffyWidgets } from "../../spiffyWidgets-BuS00VaQ.cjs";
|
|
10
|
+
import { ProductSearchResponse, ProductSearchResponseAttributes, SearchParams, SearchResult } from "../../search-y-ioX5Mz.cjs";
|
|
11
|
+
import { PDPVariantInfo, PLPInfo, PLPVariantInfo, PageVisitInfo, PageVisitVariantInfo, ProductInfo, VariantInfo, VariantType, VariantTypeEnum } from "../../index-Cyq5HiC0.cjs";
|
|
12
|
+
export { AcceptableFormFieldType, ApiFormResponseAttributes, ApiFormResponseSchemaAttributes, ApiOrderItemInfo, ApiOrderResponseAttributes, ApiOrganizationConfig, ApiPageResponseAttributes, ApiProductSearchFilterResponseAttributes, ApiReviewResponseAttributes, ApiReviewRichInformation, ApiSearchResponseAttributes, ApiSearchResponseProductAttributes, ApiTextResponseAttributes, AppLoadedUserEvent, AppUnloadedEvent, BaseEcommerceEvent, BuiltIns, CachedValue, CamelCase, CamelCaseOptions, CamelCasedPropertiesDeep, ChatElementDisplayLocation, ClientDetails, ColorMapping, ColorNames, Context, ConversationalSearchIds, DelimiterCase, DelimiterCasedPropertiesDeep, FeatureGates, FormField, FormResponseAttributes, FormSubmitted, FormSubmittedAttributes, FrontendConfig, GA4EcommerceEvent, GenerationParams, GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, GoogleAnalyticsEvents, IsLowerCase, IsNumeric, IsUpperCase, Message, MessageRole, MessageType, MobilePLPChatPlacementParameter, MountingConfigQueryData, NextMessageRequest, NonRecursiveType, OrderItemInfo, OrderResponseAttributes, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, OrgShortName, Organization, OrganizationConfig, OrganizationSettings, PDPAttributes, PDPUserEvent, PDPVariantInfo, PLPAttributes, PLPInfo, PLPUserEvent, PLPVariantInfo, PageResponseAttributes, PageVariantCheckQueryData, PageVariantQueryData, PageVisitAttributes, PageVisitEvent, PageVisitInfo, PageVisitVariantInfo, Primitive, ProductExperiment, ProductInfo, ProductMessageMetadata, ProductResponseAttributes, ProductSearchMessageMetadata, ProductSearchResponse, ProductSearchResponseAttributes, QueryTypedAttributes, QueryTypedUserEvent, Response, ReviewResponseAttributes, ReviewRichInformation, SearchAttributes, SearchParams, SearchProductFilterAttributes, SearchProductResponseAttributes, SearchResponseAttributes, SearchResponseProductAttributes, SearchResult, SearchUserEvent, SeparatorResponseAttributes, SnakeCasedPropertiesDeep, SpanxTakeAQuizCtaParameter, SpiffyEventName, SpiffyWidgets, SplitIncludingDelimiters, SplitWords, Suggestion, SuggestionClickedAttributes, SuggestionsClickedUserEvent, SupportedEventRequest, TextResponseAttributes, Trim, UAEcommerceEvent, UIConfigQueryData, UnknownArray, UpperCaseCharacters, UserEvent, UserEventAttributes, VariantInfo, VariantType, VariantTypeEnum, Whitespace, WidgetConfigQueryData, WidgetMountingQueryData, WordSeparators, colorVar, getMerchantColorsQuery, getMerchantFrontendConfigQuery, getMerchantOrgIdQuery, hasPropertyOfType, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPDPAttributes, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductResponseAttributes, isApiProductSearchFilterResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isSuggestion, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, MountingConfigQueryData, PageVariantCheckQueryData, PageVariantQueryData, UIConfigQueryData, WidgetConfigQueryData, WidgetMountingQueryData, getMerchantColorsQuery, getMerchantFrontendConfigQuery } from "../../index-hebsV7fc.js";
|
|
2
|
+
import { AcceptableFormFieldType, ApiFormResponseAttributes, ApiFormResponseSchemaAttributes, ApiPageResponseAttributes, ApiProductSearchFilterResponseAttributes, ApiReviewResponseAttributes, ApiReviewRichInformation, ApiSearchResponseAttributes, ApiSearchResponseProductAttributes, ApiTextResponseAttributes, FormResponseAttributes, OrderItemInfo, OrderResponseAttributes, PageResponseAttributes, ProductResponseAttributes, Response, ReviewResponseAttributes, ReviewRichInformation, SearchProductFilterAttributes, SearchProductResponseAttributes, SearchResponseAttributes, SearchResponseProductAttributes, SeparatorResponseAttributes, TextResponseAttributes, isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../index-7VOYQNo5.js";
|
|
3
|
+
import { BuiltIns, CamelCase, CamelCaseOptions, CamelCasedPropertiesDeep, IsLowerCase, IsNumeric, IsUpperCase, NonRecursiveType, Primitive, SplitWords, Trim, UnknownArray, UpperCaseCharacters, Whitespace, WordSeparators } from "../../index-L7SEpDLz.js";
|
|
4
|
+
import { hasPropertyOfType } from "../../utils-BLe5oreh.js";
|
|
5
|
+
import { ApiOrderItemInfo, ApiOrderResponseAttributes, ApiOrganizationConfig, AppLoadedUserEvent, AppUnloadedEvent, BaseEcommerceEvent, CachedValue, ClientDetails, Context, ConversationalSearchIds, DelimiterCase, DelimiterCasedPropertiesDeep, FormField, FormSubmitted, FormSubmittedAttributes, GA4EcommerceEvent, GenerationParams, GoogleAnalyticsEvents, Message, MessageRole, MessageType, MobilePLPChatPlacementParameter, NextMessageRequest, OrgShortName, PDPAttributes, PDPUserEvent, PLPAttributes, PLPUserEvent, PageVisitAttributes, PageVisitEvent, ProductExperiment, ProductMessageMetadata, ProductSearchMessageMetadata, QueryTypedAttributes, QueryTypedUserEvent, SearchAttributes, SearchUserEvent, SnakeCasedPropertiesDeep, SpanxTakeAQuizCtaParameter, SpiffyEventName, SplitIncludingDelimiters, Suggestion, SuggestionClickedAttributes, SuggestionsClickedUserEvent, SupportedEventRequest, UAEcommerceEvent, UserEvent, UserEventAttributes, getMerchantOrgIdQuery, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductSearchFilterResponseAttributes, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent } from "../../index-YrhxAGtH.js";
|
|
6
|
+
import { ChatElementDisplayLocation } from "../../chatElementDisplayLocation-D6oLuQS4.js";
|
|
7
|
+
import { ColorMapping, ColorNames, FeatureGates, FrontendConfig, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig$1 as OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, Organization, OrganizationConfig, OrganizationSettings, colorVar } from "../../frontendConfig-CbyjUXZW.js";
|
|
8
|
+
import "../../test-types-Dl5puRHC.js";
|
|
9
|
+
import { SpiffyWidgets } from "../../spiffyWidgets-DZqG5plz.js";
|
|
10
|
+
import { ProductSearchResponse, ProductSearchResponseAttributes, SearchParams, SearchResult } from "../../search-DYVQuYti.js";
|
|
11
|
+
import { PDPVariantInfo, PLPInfo, PLPVariantInfo, PageVisitInfo, PageVisitVariantInfo, ProductInfo, VariantInfo, VariantType, VariantTypeEnum } from "../../index-exSzn3SP.js";
|
|
12
|
+
export { AcceptableFormFieldType, ApiFormResponseAttributes, ApiFormResponseSchemaAttributes, ApiOrderItemInfo, ApiOrderResponseAttributes, ApiOrganizationConfig, ApiPageResponseAttributes, ApiProductSearchFilterResponseAttributes, ApiReviewResponseAttributes, ApiReviewRichInformation, ApiSearchResponseAttributes, ApiSearchResponseProductAttributes, ApiTextResponseAttributes, AppLoadedUserEvent, AppUnloadedEvent, BaseEcommerceEvent, BuiltIns, CachedValue, CamelCase, CamelCaseOptions, CamelCasedPropertiesDeep, ChatElementDisplayLocation, ClientDetails, ColorMapping, ColorNames, Context, ConversationalSearchIds, DelimiterCase, DelimiterCasedPropertiesDeep, FeatureGates, FormField, FormResponseAttributes, FormSubmitted, FormSubmittedAttributes, FrontendConfig, GA4EcommerceEvent, GenerationParams, GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, GoogleAnalyticsEvents, IsLowerCase, IsNumeric, IsUpperCase, Message, MessageRole, MessageType, MobilePLPChatPlacementParameter, MountingConfigQueryData, NextMessageRequest, NonRecursiveType, OrderItemInfo, OrderResponseAttributes, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, OrgShortName, Organization, OrganizationConfig, OrganizationSettings, PDPAttributes, PDPUserEvent, PDPVariantInfo, PLPAttributes, PLPInfo, PLPUserEvent, PLPVariantInfo, PageResponseAttributes, PageVariantCheckQueryData, PageVariantQueryData, PageVisitAttributes, PageVisitEvent, PageVisitInfo, PageVisitVariantInfo, Primitive, ProductExperiment, ProductInfo, ProductMessageMetadata, ProductResponseAttributes, ProductSearchMessageMetadata, ProductSearchResponse, ProductSearchResponseAttributes, QueryTypedAttributes, QueryTypedUserEvent, Response, ReviewResponseAttributes, ReviewRichInformation, SearchAttributes, SearchParams, SearchProductFilterAttributes, SearchProductResponseAttributes, SearchResponseAttributes, SearchResponseProductAttributes, SearchResult, SearchUserEvent, SeparatorResponseAttributes, SnakeCasedPropertiesDeep, SpanxTakeAQuizCtaParameter, SpiffyEventName, SpiffyWidgets, SplitIncludingDelimiters, SplitWords, Suggestion, SuggestionClickedAttributes, SuggestionsClickedUserEvent, SupportedEventRequest, TextResponseAttributes, Trim, UAEcommerceEvent, UIConfigQueryData, UnknownArray, UpperCaseCharacters, UserEvent, UserEventAttributes, VariantInfo, VariantType, VariantTypeEnum, Whitespace, WidgetConfigQueryData, WidgetMountingQueryData, WordSeparators, colorVar, getMerchantColorsQuery, getMerchantFrontendConfigQuery, getMerchantOrgIdQuery, hasPropertyOfType, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPDPAttributes, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductResponseAttributes, isApiProductSearchFilterResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isSuggestion, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ColorNames, colorVar } from "../../types-D3uOF0Oy.js";
|
|
2
|
+
import { ChatElementDisplayLocation, GoogleAnalyticsEvents, MessageRole, MessageType, OrgShortName, ProductExperiment, SpiffyEventName, SpiffyWidgets, getMerchantOrgIdQuery, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductSearchFilterResponseAttributes, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent } from "../../models-CgvSM2fW.js";
|
|
3
|
+
import { FeatureGates } from "../../featureGates-DhoJq4io.js";
|
|
4
|
+
import "../../urlsParser-DUgV_Qy9.js";
|
|
5
|
+
import { getMerchantColorsQuery, getMerchantFrontendConfigQuery } from "../../graphql-W7GMIHUu.js";
|
|
6
|
+
import { hasPropertyOfType } from "../../utils-ARmpTh1O.js";
|
|
7
|
+
import { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../api-D9gmGNAV.js";
|
|
8
|
+
import "../../logger-oAgZx2-m.js";
|
|
9
|
+
import "../../utilityTypes-DynzxjK3.js";
|
|
10
|
+
import { VariantTypeEnum } from "../../variantInfo-BwBBEWSA.js";
|
|
11
|
+
|
|
12
|
+
export { ChatElementDisplayLocation, ColorNames, FeatureGates, GoogleAnalyticsEvents, MessageRole, MessageType, OrgShortName, ProductExperiment, SpiffyEventName, SpiffyWidgets, VariantTypeEnum, colorVar, getMerchantColorsQuery, getMerchantFrontendConfigQuery, getMerchantOrgIdQuery, hasPropertyOfType, isApiFormResponseAttributes, isApiFormSubmittedResponseAttributes, isApiOrderResponseAttributes, isApiOrgConfigResults, isApiOrganizationConfig, isApiPDPAttributes, isApiPLPEventAttributes, isApiPLPIdAttribute, isApiPageResponseAttributes, isApiProductResponseAttributes, isApiProductSearchFilterResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isBaseEcommerceEvent, isGA4EcommerceEvent, isGraphQLColorsConfig, isLegacyUAEcommerceEvent, isMobilePLPChatPlacementParameter, isSpanxTakeAQuizCtaParameter, isSuggestion, isVariantInfo, stringToFulfillmentDisplayStatusEnumValue, transformCamelToSnake, transformSnakeToCamel, validateAndTransformMountingConfig, validateAndTransformPageVariants, validateAndTransformWidgetConfig, validateGraphQLColorsConfig, validateGraphQLFrontendConfig, validateGraphQLOrgId, validateMobilePLPChatPlacementParameter, validateOrgConfigResults, validateOrganizationConfig, validateResponse, validateSuggestion, validateUserEvent };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../../../utilityTypes-xb8SjKSV.cjs');
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
require('../../types-BwNrLPSZ.cjs');
|
|
2
|
+
require('../../events-B_fJZf9E.cjs');
|
|
3
|
+
require('../../models-B1P-dSCW.cjs');
|
|
4
|
+
require('../../featureGates-BdvOVv8N.cjs');
|
|
5
|
+
const require_urlsParser = require('../../urlsParser-BV5yF8sa.cjs');
|
|
6
|
+
require('../../graphql-B9HhDXYt.cjs');
|
|
7
|
+
require('../../utils-Cavu4XiM.cjs');
|
|
8
|
+
require('../../api-Bc3_julZ.cjs');
|
|
9
|
+
require('../../logger-Cp7J4YJT.cjs');
|
|
10
|
+
require('../../utilityTypes-xb8SjKSV.cjs');
|
|
11
|
+
require('../../variantInfo-BRmDpamJ.cjs');
|
|
12
|
+
require('../../localStorageContext-cnMYDllE.cjs');
|
|
13
|
+
require('../../enviveConfig-D8vcVPWD.cjs');
|
|
14
|
+
require('../../graphqlConfig-DZHeFKDY.cjs');
|
|
15
|
+
const require_utils$1 = require('../../utils-VI19AC8S.cjs');
|
|
16
|
+
require('../../atomStore-8ppNkJ_n.cjs');
|
|
17
|
+
require('../../enviveConfigContext-C8cCcdKU.cjs');
|
|
18
|
+
require('../../featureFlagServiceContext-DFb-uLHN.cjs');
|
|
19
|
+
const require_domObserver = require('../../domObserver-Do6RAJdf.cjs');
|
|
20
|
+
|
|
21
|
+
exports.DOMObserver = require_domObserver.DOMObserver;
|
|
22
|
+
exports.ElementObserver = require_domObserver.ElementObserver;
|
|
23
|
+
exports.MutationHelper = require_domObserver.MutationHelper;
|
|
24
|
+
exports.NodeSelector = require_utils$1.NodeSelector;
|
|
25
|
+
exports.SelectorFactory = require_utils$1.SelectorFactory;
|
|
26
|
+
exports.StringUtils = require_utils$1.StringUtils;
|
|
27
|
+
exports.applyOverrides = require_utils$1.applyOverrides;
|
|
28
|
+
exports.buildSearchHash = require_urlsParser.buildSearchHash;
|
|
29
|
+
exports.buildSearchStartHash = require_urlsParser.buildSearchStartHash;
|
|
30
|
+
exports.coreContextToApiContext = require_utils$1.coreContextToApiContext;
|
|
31
|
+
exports.coreSupportedEventRequestToApiRequest = require_utils$1.coreSupportedEventRequestToApiRequest;
|
|
32
|
+
exports.coreUserEventToApiUserEvent = require_utils$1.coreUserEventToApiUserEvent;
|
|
33
|
+
exports.createUrlWithQueryParams = require_urlsParser.createUrlWithQueryParams;
|
|
34
|
+
exports.divideArray = require_utils$1.divideArray;
|
|
35
|
+
exports.getQueryParam = require_urlsParser.getQueryParam;
|
|
36
|
+
exports.getRecentProductImageUrls = require_utils$1.getRecentProductImageUrls;
|
|
37
|
+
exports.initAmplitude = require_utils$1.initAmplitude;
|
|
38
|
+
exports.initDataLayerWrapper = require_utils$1.initDataLayerWrapper;
|
|
39
|
+
exports.messageFromFormSubmittedEvent = require_utils$1.messageFromFormSubmittedEvent;
|
|
40
|
+
exports.messageFromQueryEvent = require_utils$1.messageFromQueryEvent;
|
|
41
|
+
exports.messageFromResponse = require_utils$1.messageFromResponse;
|
|
42
|
+
exports.messageFromSuggestionEvent = require_utils$1.messageFromSuggestionEvent;
|
|
43
|
+
exports.messageRequestToCommerceMessageRequest = require_utils$1.messageRequestToCommerceMessageRequest;
|
|
44
|
+
exports.parseHref = require_urlsParser.parseHref;
|
|
45
|
+
exports.parseSearchHash = require_urlsParser.parseSearchHash;
|
|
46
|
+
exports.prepareMerchantPage = require_utils$1.prepareMerchantPage;
|
|
47
|
+
exports.validateEmail = require_utils$1.validateEmail;
|