@envive-ai/react-hooks 0.2.3 → 0.2.5
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-BEGeYKG5.cjs +0 -0
- package/dist/AmplitudeOperations-CWI4yjZ4.js +1 -0
- package/dist/NewOrgConfig-B98Y9tMb.js +10 -0
- package/dist/NewOrgConfig-ZbBKiByQ.cjs +15 -0
- package/dist/SystemSettingsContext-CO5c1L62.cjs +20 -0
- package/dist/SystemSettingsContext-CXmUlH8i.js +13 -0
- package/dist/TrackComponentVisibleEvent-B0WO3ArV.js +52 -0
- package/dist/TrackComponentVisibleEvent-LRE9MYzL.cjs +59 -0
- package/dist/amplitudeContext-B73xamNe.d.cts +52 -0
- package/dist/amplitudeContext-DXnJi0V1.d.ts +52 -0
- package/dist/api-BWSsazAG.js +166 -0
- package/dist/api-DeW6rHj3.cjs +239 -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-DNji91Im.cjs +58 -0
- package/dist/atomStore-DXTVqiKc.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-CH_-ssYa.js +38 -0
- package/dist/cdnContext-D7kHxOzE.cjs +53 -0
- package/dist/chat-ClvJ9xEj.js +25 -0
- package/dist/chat-CqPuT9_V.cjs +393 -0
- package/dist/chat-DCGriB7h.cjs +145 -0
- package/dist/chat-DH70QqJp.js +257 -0
- package/dist/chatElementDisplayLocation-BoE6DEdv.d.ts +25 -0
- package/dist/chatElementDisplayLocation-DWmfNX_u.d.cts +25 -0
- package/dist/chatSearch-BQCZI8MJ.cjs +418 -0
- package/dist/chatSearch-D8xCWU8m.js +295 -0
- package/dist/chatState-CcFtSqJT.cjs +120 -0
- package/dist/chatState-DKnNHmwe.js +34 -0
- package/dist/chunk-CUT6urMc.cjs +30 -0
- package/dist/common-DQPvV_S_.cjs +189 -0
- package/dist/common-c_4eX0qn.js +39 -0
- package/dist/components-CDpaMUjK.js +11 -0
- package/dist/components-DKwVHIjq.cjs +29 -0
- package/dist/config/index.cjs +71 -0
- package/dist/config/index.d.cts +5 -0
- package/dist/config/index.d.ts +5 -0
- package/dist/config/index.js +6 -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 +71 -0
- package/dist/config/locators/index.d.cts +5 -0
- package/dist/config/locators/index.d.ts +5 -0
- package/dist/config/locators/index.js +6 -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-Bqf3ooj8.cjs +304 -0
- package/dist/domObserver-v9ODTyfT.js +285 -0
- package/dist/enviveConfig-DZBohDpc.js +62 -0
- package/dist/enviveConfig-Dv9-esGV.cjs +130 -0
- package/dist/enviveConfigContext-D2OELZDR.cjs +60 -0
- package/dist/enviveConfigContext-DrDjCems.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-DYY4l817.cjs +90 -0
- package/dist/events-DyUix-Bn.js +78 -0
- package/dist/featureFlagServiceContext-CJyYItqu.cjs +62 -0
- package/dist/featureFlagServiceContext-C_2m4wPL.d.ts +23 -0
- package/dist/featureFlagServiceContext-CiKWV306.d.cts +23 -0
- package/dist/featureFlagServiceContext-FBM6DdMJ.js +42 -0
- package/dist/featureGates-KEwAL8p_.js +26 -0
- package/dist/featureGates-qU_ulhpC.cjs +32 -0
- package/dist/frontendConfig-CymUbclV.d.ts +856 -0
- package/dist/frontendConfig-tVg0hsWZ.d.cts +856 -0
- package/dist/globalSearch-Ccxq8hNF.js +14 -0
- package/dist/globalSearch-FBk2epe8.cjs +39 -0
- package/dist/graphql-3PxNRFOc.js +36 -0
- package/dist/graphql-DGYfelZp.cjs +53 -0
- package/dist/graphqlConfig-GHZ1UgCw.cjs +73 -0
- package/dist/graphqlConfig-mDg6J44N.js +24 -0
- package/dist/graphqlContext-BZPEAFSR.cjs +111 -0
- package/dist/graphqlContext-Bf3E-V2T.d.cts +28 -0
- package/dist/graphqlContext-CQikpV_I.d.ts +28 -0
- package/dist/graphqlContext-eaZPxgRE.js +96 -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-9NE86em3.d.cts +35 -0
- package/dist/index-BVf069X-.d.ts +184 -0
- package/dist/index-B_KJB5L_.d.cts +186 -0
- package/dist/index-BkLv_fCu.d.ts +186 -0
- package/dist/index-Bmub8e38.d.cts +98 -0
- package/dist/index-C0eAp5f5.d.ts +98 -0
- package/dist/index-CESxqFso.d.cts +228 -0
- package/dist/index-CG3P8xE1.d.cts +676 -0
- package/dist/index-CJc7_j_v.d.ts +44 -0
- package/dist/index-CiWEYzXl.d.cts +184 -0
- package/dist/index-Cyq5HiC0.d.cts +44 -0
- package/dist/index-DBqgBV9N.d.ts +9 -0
- package/dist/index-DHgVW8ey.d.ts +35 -0
- package/dist/index-DL2ODEnw.d.ts +1 -0
- package/dist/index-Da1s8h5C.d.cts +9 -0
- package/dist/index-DgjDuQl4.d.ts +676 -0
- package/dist/index-DzbkQtaK.d.cts +24 -0
- package/dist/index-FQjyuD3D.d.cts +22 -0
- package/dist/index-LTdMHOxj.d.ts +22 -0
- package/dist/index-RcVcRKH7.d.cts +1 -0
- package/dist/index-nDWHlouq.d.ts +24 -0
- package/dist/index-vP8BKdxl.d.ts +228 -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-BPZ82q-G.js +95 -0
- package/dist/localStorageContext-NRP-CdmF.cjs +115 -0
- package/dist/locators-BMQGmGLq.js +23 -0
- package/dist/locators-DxYdak1F.cjs +131 -0
- package/dist/logger-TBIl4uIH.cjs +26 -0
- package/dist/logger-W3lqg-4b.js +20 -0
- package/dist/models-D-4db7XW.cjs +1537 -0
- package/dist/models-c86hYW-F.js +1296 -0
- package/dist/newOrgConfigAtom-A4BEeHMf.cjs +15 -0
- package/dist/newOrgConfigAtom-OzAyrPS8.js +8 -0
- package/dist/newOrgConfigContext-DOdUxlOE.d.cts +16 -0
- package/dist/newOrgConfigContext-DX9iqIIK.cjs +68 -0
- package/dist/newOrgConfigContext-aqN8Tu79.js +53 -0
- package/dist/newOrgConfigContext-jphS5d4K.d.ts +16 -0
- package/dist/nodeSelector-B3bPtEjX.d.cts +31 -0
- package/dist/nodeSelector-Dcn3_NrZ.d.ts +31 -0
- package/dist/org-Bq2KsJSp.cjs +43 -0
- package/dist/org-gtWmGw4K.js +12 -0
- package/dist/search-BQPMtze5.cjs +205 -0
- package/dist/search-CIrqYYMI.d.ts +20 -0
- package/dist/search-PXzaYtZj.js +126 -0
- package/dist/search-filter-types-BhK20ts3.d.ts +102 -0
- package/dist/search-filter-types-BxaNSLs_.d.cts +102 -0
- package/dist/search-y-ioX5Mz.d.cts +20 -0
- package/dist/searchContext-CmsLR6Ka.cjs +145 -0
- package/dist/searchContext-NPfqMf6b.js +129 -0
- package/dist/searchServiceAdapter-BczodJGV.cjs +34 -0
- package/dist/searchServiceAdapter-BuEHFG5t.js +16 -0
- package/dist/sessionStorageContext-C1u04nAK.js +52 -0
- package/dist/sessionStorageContext-Cy8xc9-3.cjs +66 -0
- package/dist/shopifyUrlContext-CUyq3f27.cjs +75 -0
- package/dist/shopifyUrlContext-DTLlqlMj.js +61 -0
- package/dist/spiffyWidgets-BnkP5kXf.d.ts +20 -0
- package/dist/spiffyWidgets-BuS00VaQ.d.cts +20 -0
- package/dist/systemSettingsContext-Ba-wi2NZ.cjs +60 -0
- package/dist/systemSettingsContext-DumUaV0m.js +39 -0
- package/dist/test-types-DbrKQIqB.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-BWzwd0Qc.js +30 -0
- package/dist/types-CEx2uKKS.d.ts +51 -0
- package/dist/types-CKMMb_gX.d.cts +51 -0
- package/dist/types-CKPddlfS.cjs +0 -0
- package/dist/types-CtUb63bt.js +76 -0
- package/dist/types-Cz8CaPUQ.cjs +48 -0
- package/dist/types-Dc6hx6ei.js +1 -0
- package/dist/types-Mwm0bS2l.d.ts +10 -0
- package/dist/types-UUvB6h05.cjs +106 -0
- package/dist/types-zQGBI-Yo.d.cts +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-COzMdJaX.cjs +78 -0
- package/dist/urlsParser-DxjoLj98.js +42 -0
- package/dist/useAmplitudeOperations-Cv0fi3uj.cjs +41 -0
- package/dist/useAmplitudeOperations-Ti6phPPq.js +34 -0
- package/dist/useAppDetails-BgqbPlfR.cjs +38 -0
- package/dist/useAppDetails-DnKGYtCd.js +30 -0
- package/dist/useDebounce-BV7B-Jz3.js +19 -0
- package/dist/useDebounce-vU5iW5sa.cjs +26 -0
- package/dist/useGraphQLConfig-BizpCw23.cjs +76 -0
- package/dist/useGraphQLConfig-DFWl9Z89.js +63 -0
- package/dist/useIntersection-BJRFGG0f.js +21 -0
- package/dist/useIntersection-CYRvxtRN.cjs +28 -0
- package/dist/useMessageInterceptor-BjGP_uXm.js +25 -0
- package/dist/useMessageInterceptor-arAqUq1Q.cjs +33 -0
- package/dist/userIdentityContext-BvsEnQVX.d.ts +20 -0
- package/dist/userIdentityContext-D2oFVFzo.d.cts +20 -0
- package/dist/utilityTypes-B2KuRn37.js +1 -0
- package/dist/utilityTypes-BGbL2WTP.cjs +0 -0
- package/dist/utils-B3x_9JTY.d.cts +15 -0
- package/dist/utils-B7PAzB_M.d.cts +22 -0
- package/dist/utils-BRNaQkCK.js +23 -0
- package/dist/utils-Buo4KU5l.cjs +29 -0
- package/dist/utils-CDw74BCO.cjs +33 -0
- package/dist/utils-CLGXsOwE.cjs +1591 -0
- package/dist/utils-CrQ0h9tc.d.ts +22 -0
- package/dist/utils-DIvMgPe8.js +27 -0
- package/dist/utils-D_kATUj6.js +92 -0
- package/dist/utils-DyTiotQz.d.ts +15 -0
- package/dist/utils-hYTjy7hJ.cjs +130 -0
- package/dist/utils-jYtD3hmA.js +1385 -0
- package/dist/variantInfo-BfKlkaWU.js +11 -0
- package/dist/variantInfo-DpLn4nHz.cjs +17 -0
- package/package.json +11 -2
- package/src/config/index.ts +1 -0
- 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,239 @@
|
|
|
1
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
+
const require_utils = require('./utils-CDw74BCO.cjs');
|
|
3
|
+
const require_logger = require('./logger-TBIl4uIH.cjs');
|
|
4
|
+
let __spiffy_ai_commerce_api_client = require("@spiffy-ai/commerce-api-client");
|
|
5
|
+
__spiffy_ai_commerce_api_client = require_chunk.__toESM(__spiffy_ai_commerce_api_client);
|
|
6
|
+
|
|
7
|
+
//#region src/application/models/guards/api/isApiPDPEventAttributes.ts
|
|
8
|
+
const isApiPDPAttributes = (data) => {
|
|
9
|
+
if (data == null || typeof data !== "object") return false;
|
|
10
|
+
if (!("product_id" in data) || typeof data.product_id !== "string") return false;
|
|
11
|
+
if ("parent_product_id" in data && typeof data.parent_product_id !== "string") return false;
|
|
12
|
+
if ("url" in data && data.url != null && typeof data.url !== "string") return false;
|
|
13
|
+
return true;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/application/models/guards/api/isApiQueryTypedEventAttributes.ts
|
|
18
|
+
const isApiQueryTypedAttributes = (data) => data != null && typeof data === "object" && "query" in data && typeof data.query === "string";
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/application/models/guards/api/isApiResponse.ts
|
|
22
|
+
const isApiResponse = (data) => {
|
|
23
|
+
if (data == null || typeof data !== "object") {
|
|
24
|
+
require_logger.logger_default.logError("isApiResponse: data is null or not an object", void 0, { data });
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
if (!require_utils.hasPropertyOfType(data, "id", "string")) {
|
|
28
|
+
require_logger.logger_default.logError("isApiResponse: id is not a string", void 0, { data });
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
if (!require_utils.hasPropertyOfType(data, "category", "string") || !Object.values(__spiffy_ai_commerce_api_client.ResponseCategory).includes(data.category)) {
|
|
32
|
+
require_logger.logger_default.logError("isApiResponse: category is not a string or not a valid response category", void 0, { data });
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
if (!require_utils.hasPropertyOfType(data, "created_at", "string")) {
|
|
36
|
+
require_logger.logger_default.logError("isApiResponse: created_at is not a string", void 0, { data });
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
if (!require_utils.hasPropertyOfType(data, "attributes", "object", true)) {
|
|
40
|
+
require_logger.logger_default.logError("isApiResponse: attributes is not an object", void 0, { data });
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
return true;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region src/application/models/guards/api/isApiProductResponseAttributes.ts
|
|
48
|
+
const isApiProductResponseAttributes = (attributes) => {
|
|
49
|
+
if (attributes == null || typeof attributes !== "object") {
|
|
50
|
+
require_logger.logger_default.logError("isApiProductResponseAttributes: attributes is null or not an object", void 0, { attributes });
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
if (!require_utils.hasPropertyOfType(attributes, "description", "string", true)) {
|
|
54
|
+
require_logger.logger_default.logError("isApiProductResponseAttributes: description is not a string", void 0, { attributes });
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
if (!require_utils.hasPropertyOfType(attributes, "image_url", "string", true)) {
|
|
58
|
+
require_logger.logger_default.logError("isApiProductResponseAttributes: image_url is not a string", void 0, { attributes });
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
if (!require_utils.hasPropertyOfType(attributes, "title", "string")) {
|
|
62
|
+
require_logger.logger_default.logError("isApiProductResponseAttributes: title is not a string", void 0, { attributes });
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
if (!require_utils.hasPropertyOfType(attributes, "url", "string")) {
|
|
66
|
+
require_logger.logger_default.logError("isApiProductResponseAttributes: url is not a string", void 0, { attributes });
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
if (!require_utils.hasPropertyOfType(attributes, "original_price", "number", true)) {
|
|
70
|
+
require_logger.logger_default.logError("isApiProductResponseAttributes: original_price is not a number", void 0, { attributes });
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
if (!require_utils.hasPropertyOfType(attributes, "sale_price", "number", true)) {
|
|
74
|
+
require_logger.logger_default.logError("isApiProductResponseAttributes: sale_price is not a number", void 0, { attributes });
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
if (!require_utils.hasPropertyOfType(attributes, "average_rating", "number", true)) {
|
|
78
|
+
require_logger.logger_default.logError("isApiProductResponseAttributes: average_rating is not a number", void 0, { attributes });
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
if (!require_utils.hasPropertyOfType(attributes, "number_reviews", "number", true)) {
|
|
82
|
+
require_logger.logger_default.logError("isApiProductResponseAttributes: number_reviews is not a number", void 0, { attributes });
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
if (!require_utils.hasPropertyOfType(attributes, "metadata", "array", true)) {
|
|
86
|
+
require_logger.logger_default.logError("isApiProductResponseAttributes: metadata is not an array", void 0, { attributes });
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
return true;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region src/application/models/guards/api/isApiReviewRichInformation.ts
|
|
94
|
+
const isApiReviewRichInformation = (richInfo) => {
|
|
95
|
+
if (richInfo == null || typeof richInfo !== "object") return false;
|
|
96
|
+
if ("cons" in richInfo && (!Array.isArray(richInfo.cons) || richInfo.cons.some((con) => typeof con !== "string"))) return false;
|
|
97
|
+
if ("pros" in richInfo && (!Array.isArray(richInfo.pros) || richInfo.pros.some((pro) => typeof pro !== "string"))) return false;
|
|
98
|
+
if ("review_date" in richInfo && typeof richInfo.review_date !== "string") return false;
|
|
99
|
+
if ("reviewer_title" in richInfo && typeof richInfo.reviewer_title !== "string") return false;
|
|
100
|
+
if ("product_familiarity" in richInfo && typeof richInfo.product_familiarity !== "string") return false;
|
|
101
|
+
return true;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region src/application/models/guards/api/isApiReviewResponseAttributes.ts
|
|
106
|
+
const isApiReviewResponseAttributes = (obj) => {
|
|
107
|
+
if (obj == null || typeof obj !== "object") return false;
|
|
108
|
+
if ("title" in obj && obj.title != null && typeof obj.title !== "string") return false;
|
|
109
|
+
if ("review" in obj && typeof obj.review !== "string") return false;
|
|
110
|
+
if ("reviewer" in obj && typeof obj.reviewer !== "string") return false;
|
|
111
|
+
if ("stars" in obj && typeof obj.stars !== "number") return false;
|
|
112
|
+
if ("rich_information" in obj && !isApiReviewRichInformation(obj.rich_information)) return false;
|
|
113
|
+
return true;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/application/models/guards/api/isApiSearchEventAttributes.ts
|
|
118
|
+
const isApiSearchAttributes = (data) => {
|
|
119
|
+
if (data == null || typeof data !== "object") return false;
|
|
120
|
+
if (!("search_term" in data) || typeof data.search_term !== "string") return false;
|
|
121
|
+
if ("selected_filters" in data && !Array.isArray(data.selected_filters)) return false;
|
|
122
|
+
if (!!data.search_term) return true;
|
|
123
|
+
if (!("search_results" in data) || !Array.isArray(data.search_results) || !data.search_results.every((v) => typeof v === "string")) return false;
|
|
124
|
+
return true;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region src/application/models/guards/api/isApiSuggestion.ts
|
|
129
|
+
const isSuggestion = (data) => {
|
|
130
|
+
if (data == null || typeof data !== "object") return false;
|
|
131
|
+
if (!("id" in data) || typeof data.id !== "string") return false;
|
|
132
|
+
if (!("category" in data) || typeof data.category !== "string" || !Object.values(__spiffy_ai_commerce_api_client.SuggestionCategory).includes(data.category)) return false;
|
|
133
|
+
if (!("created_at" in data) || typeof data.created_at !== "string") return false;
|
|
134
|
+
if (!("content" in data) || typeof data.content !== "string") return false;
|
|
135
|
+
if ("is_answer" in data && data.is_answer != null && typeof data.is_answer !== "boolean") return false;
|
|
136
|
+
return true;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region src/application/models/guards/api/isApiSuggestionClickedEventAttributes.ts
|
|
141
|
+
const isApiSuggestionClickedAttributes = (data) => data != null && typeof data === "object" && "suggestion_id" in data && typeof data.suggestion_id === "string";
|
|
142
|
+
|
|
143
|
+
//#endregion
|
|
144
|
+
//#region src/application/models/guards/api/isApiTextResponseAttributes.ts
|
|
145
|
+
const isApiTextResponseAttributes = (attributes) => typeof attributes === "object" && attributes != null && "content" in attributes && typeof attributes.content === "string";
|
|
146
|
+
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/application/models/guards/api/isApiUserEvent.ts
|
|
149
|
+
const isApiUserEvent = (data) => {
|
|
150
|
+
if (data == null || typeof data !== "object") return false;
|
|
151
|
+
if (!("event_id" in data) || typeof data.event_id !== "string") return false;
|
|
152
|
+
if (!("created_at" in data) || typeof data.created_at !== "string") return false;
|
|
153
|
+
if (!("category" in data) || typeof data.category !== "string" || !Object.values(__spiffy_ai_commerce_api_client.UserEventCategory).includes(data.category)) return false;
|
|
154
|
+
return true;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
//#endregion
|
|
158
|
+
//#region src/application/models/guards/api/isApiProductSearchAttributes.ts
|
|
159
|
+
const isApiProductSearchResponseAttributes = (attributes) => {
|
|
160
|
+
if (attributes == null || typeof attributes !== "object") return false;
|
|
161
|
+
if ("generated_query" in attributes && typeof attributes.generated_query !== "string") return false;
|
|
162
|
+
if ("product_count" in attributes && attributes.product_count != null && typeof attributes.product_count !== "number") return false;
|
|
163
|
+
return true;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
//#endregion
|
|
167
|
+
Object.defineProperty(exports, 'isApiPDPAttributes', {
|
|
168
|
+
enumerable: true,
|
|
169
|
+
get: function () {
|
|
170
|
+
return isApiPDPAttributes;
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
Object.defineProperty(exports, 'isApiProductResponseAttributes', {
|
|
174
|
+
enumerable: true,
|
|
175
|
+
get: function () {
|
|
176
|
+
return isApiProductResponseAttributes;
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
Object.defineProperty(exports, 'isApiProductSearchResponseAttributes', {
|
|
180
|
+
enumerable: true,
|
|
181
|
+
get: function () {
|
|
182
|
+
return isApiProductSearchResponseAttributes;
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
Object.defineProperty(exports, 'isApiQueryTypedAttributes', {
|
|
186
|
+
enumerable: true,
|
|
187
|
+
get: function () {
|
|
188
|
+
return isApiQueryTypedAttributes;
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
Object.defineProperty(exports, 'isApiResponse', {
|
|
192
|
+
enumerable: true,
|
|
193
|
+
get: function () {
|
|
194
|
+
return isApiResponse;
|
|
195
|
+
}
|
|
196
|
+
});
|
|
197
|
+
Object.defineProperty(exports, 'isApiReviewResponseAttributes', {
|
|
198
|
+
enumerable: true,
|
|
199
|
+
get: function () {
|
|
200
|
+
return isApiReviewResponseAttributes;
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
Object.defineProperty(exports, 'isApiReviewRichInformation', {
|
|
204
|
+
enumerable: true,
|
|
205
|
+
get: function () {
|
|
206
|
+
return isApiReviewRichInformation;
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
Object.defineProperty(exports, 'isApiSearchAttributes', {
|
|
210
|
+
enumerable: true,
|
|
211
|
+
get: function () {
|
|
212
|
+
return isApiSearchAttributes;
|
|
213
|
+
}
|
|
214
|
+
});
|
|
215
|
+
Object.defineProperty(exports, 'isApiSuggestionClickedAttributes', {
|
|
216
|
+
enumerable: true,
|
|
217
|
+
get: function () {
|
|
218
|
+
return isApiSuggestionClickedAttributes;
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
Object.defineProperty(exports, 'isApiTextResponseAttributes', {
|
|
222
|
+
enumerable: true,
|
|
223
|
+
get: function () {
|
|
224
|
+
return isApiTextResponseAttributes;
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
Object.defineProperty(exports, 'isApiUserEvent', {
|
|
228
|
+
enumerable: true,
|
|
229
|
+
get: function () {
|
|
230
|
+
return isApiUserEvent;
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
Object.defineProperty(exports, 'isSuggestion', {
|
|
234
|
+
enumerable: true,
|
|
235
|
+
get: function () {
|
|
236
|
+
return isSuggestion;
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLURlVzZySGozLmNqcyIsIm5hbWVzIjpbImhhc1Byb3BlcnR5T2ZUeXBlIiwiUmVzcG9uc2VDYXRlZ29yeSIsImhhc1Byb3BlcnR5T2ZUeXBlIiwiU3VnZ2VzdGlvbkNhdGVnb3J5IiwiVXNlckV2ZW50Q2F0ZWdvcnkiXSwic291cmNlcyI6WyIuLi9zcmMvYXBwbGljYXRpb24vbW9kZWxzL2d1YXJkcy9hcGkvaXNBcGlQRFBFdmVudEF0dHJpYnV0ZXMudHMiLCIuLi9zcmMvYXBwbGljYXRpb24vbW9kZWxzL2d1YXJkcy9hcGkvaXNBcGlRdWVyeVR5cGVkRXZlbnRBdHRyaWJ1dGVzLnRzIiwiLi4vc3JjL2FwcGxpY2F0aW9uL21vZGVscy9ndWFyZHMvYXBpL2lzQX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QUNsQyxRQUFPO0FBR1QsS0FBSSxFQUFFLGNBQWMsU0FBUyxPQUFPLEtBQUssYUFBYSxTQUNwRCxRQUFPO0FBR1QsS0FBSSxFQUFFLGdCQUFnQixTQUFTLE9BQU8sS0FBSyxlQUFlLFNBQ3hELFFBQU87QUFHVCxLQUNFLEVBQUUsY0FBYyxTQUNoQixPQUFPLEtBQUssYUFBYSxZQUN6QixDQUFDLE9BQU8sT0FBT0Msa0RBQWtCLENBQUMsU0FBUyxLQUFLLFNBQThCLENBRTlFLFFBQU87QUFHVCxRQUFPOzs7OztBQ3JCVCxNQUFhLHdDQUNYLGVBQ2tEO0FBQ2xELEtBQUksY0FBYyxRQUFRLE9BQU8sZUFBZSxTQUM5QyxRQUFPO0FBR1QsS0FBSSxxQkFBcUIsY0FBYyxPQUFPLFdBQVcsb0JBQW9CLFNBQzNFLFFBQU87QUFHVCxLQUNFLG1CQUFtQixjQUNuQixXQUFXLGlCQUFpQixRQUM1QixPQUFPLFdBQVcsa0JBQWtCLFNBRXBDLFFBQU87QUFHVCxRQUFPIn0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
require('../../../urlsParser-COzMdJaX.cjs');
|
|
2
|
+
const require_graphql = require('../../../graphql-DGYfelZp.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-C0eAp5f5.js";
|
|
2
|
+
export { GetMerchantColorsQueryData, GetMerchantFrontendConfigQueryData, MountingConfigQueryData, PageVariantCheckQueryData, PageVariantQueryData, UIConfigQueryData, WidgetConfigQueryData, WidgetMountingQueryData, getMerchantColorsQuery, getMerchantFrontendConfigQuery };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
require('../../../../utils-CDw74BCO.cjs');
|
|
2
|
+
const require_api = require('../../../../api-DeW6rHj3.cjs');
|
|
3
|
+
require('../../../../logger-TBIl4uIH.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-BVf069X-.js";
|
|
2
|
+
import "../../../../index-vP8BKdxl.js";
|
|
3
|
+
export { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "../../../../utils-DIvMgPe8.js";
|
|
2
|
+
import { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../../../api-BWSsazAG.js";
|
|
3
|
+
import "../../../../logger-W3lqg-4b.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-UUvB6h05.cjs');
|
|
2
|
+
const require_models = require('../../models-D-4db7XW.cjs');
|
|
3
|
+
const require_featureGates = require('../../featureGates-qU_ulhpC.cjs');
|
|
4
|
+
require('../../urlsParser-COzMdJaX.cjs');
|
|
5
|
+
const require_graphql = require('../../graphql-DGYfelZp.cjs');
|
|
6
|
+
const require_utils = require('../../utils-CDw74BCO.cjs');
|
|
7
|
+
const require_api = require('../../api-DeW6rHj3.cjs');
|
|
8
|
+
require('../../logger-TBIl4uIH.cjs');
|
|
9
|
+
require('../../utilityTypes-BGbL2WTP.cjs');
|
|
10
|
+
const require_variantInfo = require('../../variantInfo-DpLn4nHz.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-C0eAp5f5.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-BVf069X-.js";
|
|
3
|
+
import { BuiltIns, CamelCase, CamelCaseOptions, CamelCasedPropertiesDeep, IsLowerCase, IsNumeric, IsUpperCase, NonRecursiveType, Primitive, SplitWords, Trim, UnknownArray, UpperCaseCharacters, Whitespace, WordSeparators } from "../../index-vP8BKdxl.js";
|
|
4
|
+
import { hasPropertyOfType } from "../../utils-DyTiotQz.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-DgjDuQl4.js";
|
|
6
|
+
import { ChatElementDisplayLocation } from "../../chatElementDisplayLocation-BoE6DEdv.js";
|
|
7
|
+
import { ColorMapping, ColorNames, FeatureGates, FrontendConfig, OrgAnalyticsAmplitudeConfig, OrgAnalyticsConfig, OrgAnalyticsCustomerServiceConfig, OrgAnalyticsGoogleAnalyticsConfig, OrgConfig$1 as OrgConfig, OrgConfigExperiment, OrgConfigFeatureGate, Organization, OrganizationConfig, OrganizationSettings, colorVar } from "../../frontendConfig-CymUbclV.js";
|
|
8
|
+
import "../../test-types-DbrKQIqB.js";
|
|
9
|
+
import { SpiffyWidgets } from "../../spiffyWidgets-BnkP5kXf.js";
|
|
10
|
+
import { ProductSearchResponse, ProductSearchResponseAttributes, SearchParams, SearchResult } from "../../search-CIrqYYMI.js";
|
|
11
|
+
import { PDPVariantInfo, PLPInfo, PLPVariantInfo, PageVisitInfo, PageVisitVariantInfo, ProductInfo, VariantInfo, VariantType, VariantTypeEnum } from "../../index-CJc7_j_v.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-CtUb63bt.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-c86hYW-F.js";
|
|
3
|
+
import { FeatureGates } from "../../featureGates-KEwAL8p_.js";
|
|
4
|
+
import "../../urlsParser-DxjoLj98.js";
|
|
5
|
+
import { getMerchantColorsQuery, getMerchantFrontendConfigQuery } from "../../graphql-3PxNRFOc.js";
|
|
6
|
+
import { hasPropertyOfType } from "../../utils-DIvMgPe8.js";
|
|
7
|
+
import { isApiPDPAttributes, isApiProductResponseAttributes, isApiProductSearchResponseAttributes, isApiQueryTypedAttributes, isApiResponse, isApiReviewResponseAttributes, isApiReviewRichInformation, isApiSearchAttributes, isApiSuggestionClickedAttributes, isApiTextResponseAttributes, isApiUserEvent, isSuggestion } from "../../api-BWSsazAG.js";
|
|
8
|
+
import "../../logger-W3lqg-4b.js";
|
|
9
|
+
import "../../utilityTypes-B2KuRn37.js";
|
|
10
|
+
import { VariantTypeEnum } from "../../variantInfo-BfKlkaWU.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-BGbL2WTP.cjs');
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
require('../../types-UUvB6h05.cjs');
|
|
2
|
+
require('../../events-DYY4l817.cjs');
|
|
3
|
+
require('../../models-D-4db7XW.cjs');
|
|
4
|
+
require('../../featureGates-qU_ulhpC.cjs');
|
|
5
|
+
const require_urlsParser = require('../../urlsParser-COzMdJaX.cjs');
|
|
6
|
+
require('../../graphql-DGYfelZp.cjs');
|
|
7
|
+
require('../../utils-CDw74BCO.cjs');
|
|
8
|
+
require('../../api-DeW6rHj3.cjs');
|
|
9
|
+
require('../../logger-TBIl4uIH.cjs');
|
|
10
|
+
require('../../utilityTypes-BGbL2WTP.cjs');
|
|
11
|
+
require('../../variantInfo-DpLn4nHz.cjs');
|
|
12
|
+
require('../../localStorageContext-NRP-CdmF.cjs');
|
|
13
|
+
require('../../enviveConfig-Dv9-esGV.cjs');
|
|
14
|
+
require('../../graphqlConfig-GHZ1UgCw.cjs');
|
|
15
|
+
const require_utils$1 = require('../../utils-CLGXsOwE.cjs');
|
|
16
|
+
require('../../atomStore-DNji91Im.cjs');
|
|
17
|
+
require('../../enviveConfigContext-D2OELZDR.cjs');
|
|
18
|
+
require('../../featureFlagServiceContext-CJyYItqu.cjs');
|
|
19
|
+
const require_domObserver = require('../../domObserver-Bqf3ooj8.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;
|