@hhgtech/hhg-components 1.21.5 → 1.21.7
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/build/babyGrowth.js +1 -1
- package/build/cache/core.d.ts +1 -1
- package/build/cache.js +1 -1
- package/build/care/components/atoms/icons/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/locationResults/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/locationResults/liSkeleton.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/reducer.d.ts +2 -2
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/searchResults/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/searchSubmitIcon/index.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/types.d.ts +3 -3
- package/build/care/components/organisms/bookingSearchBar/useAnimatedPlaceholder.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/useSearchBarApi.d.ts +1 -1
- package/build/care/interfaces/types.d.ts +21 -21
- package/build/care.js +1 -1
- package/build/components/atoms/alert/index.d.ts +1 -1
- package/build/components/atoms/avatar/index.d.ts +2 -2
- package/build/components/atoms/avatar/index.styled.d.ts +1 -1
- package/build/components/atoms/babyGrowthChart/index.d.ts +2 -2
- package/build/components/atoms/babyGrowthGender/index.d.ts +1 -1
- package/build/components/atoms/babyGrowthLegend/index.d.ts +2 -2
- package/build/components/atoms/babyGrowthProfileRadio/index.d.ts +1 -1
- package/build/components/atoms/babyGrowthRecord/index.d.ts +1 -1
- package/build/components/atoms/babyGrowthSwitch/index.d.ts +1 -1
- package/build/components/atoms/babyGrowthTooltip/index.d.ts +2 -2
- package/build/components/atoms/backdrop/index.d.ts +1 -1
- package/build/components/atoms/badge/index.d.ts +4 -4
- package/build/components/atoms/badge/index.styled.d.ts +1 -1
- package/build/components/atoms/borderHeading/index.d.ts +1 -1
- package/build/components/atoms/button/index.d.ts +1 -1
- package/build/components/atoms/button/index.styled.d.ts +1 -1
- package/build/components/atoms/checkbox/index.d.ts +1 -1
- package/build/components/atoms/container/index.d.ts +1 -1
- package/build/components/atoms/displayWrapper/index.d.ts +1 -1
- package/build/components/atoms/divider/index.d.ts +2 -2
- package/build/components/atoms/drawer/index.d.ts +2 -2
- package/build/components/atoms/fileDropdown/index.d.ts +2 -2
- package/build/components/atoms/flag/icons/cambodia.d.ts +1 -1
- package/build/components/atoms/flag/icons/english.d.ts +1 -1
- package/build/components/atoms/flag/icons/india.d.ts +1 -1
- package/build/components/atoms/flag/icons/indonesia.d.ts +1 -1
- package/build/components/atoms/flag/icons/malaysia.d.ts +1 -1
- package/build/components/atoms/flag/icons/myanmar.d.ts +1 -1
- package/build/components/atoms/flag/icons/philippines.d.ts +1 -1
- package/build/components/atoms/flag/icons/taiwan.d.ts +1 -1
- package/build/components/atoms/flag/icons/thailand.d.ts +1 -1
- package/build/components/atoms/flag/icons/vietnam.d.ts +1 -1
- package/build/components/atoms/flag/index.d.ts +3 -3
- package/build/components/atoms/grid/index.d.ts +1 -1
- package/build/components/atoms/heading/index.d.ts +1 -1
- package/build/components/atoms/heading/index.styled.d.ts +1 -1
- package/build/components/atoms/icons/index.d.ts +1 -1
- package/build/components/atoms/input/index.d.ts +1 -1
- package/build/components/atoms/label/index.d.ts +1 -1
- package/build/components/atoms/logo/index.d.ts +2 -2
- package/build/components/atoms/marryBabyText/index.d.ts +2 -2
- package/build/components/atoms/menu/index.d.ts +1 -1
- package/build/components/atoms/menu/item.d.ts +1 -1
- package/build/components/atoms/newBabyProfileRadio/index.d.ts +1 -1
- package/build/components/atoms/pagination/index.d.ts +1 -1
- package/build/components/atoms/progress/index.d.ts +1 -1
- package/build/components/atoms/pureInput/index.d.ts +2 -2
- package/build/components/atoms/radio/index.d.ts +1 -1
- package/build/components/atoms/radioImageGroup/index.d.ts +1 -1
- package/build/components/atoms/rateStars/index.d.ts +1 -1
- package/build/components/atoms/shadow/index.d.ts +1 -1
- package/build/components/atoms/slider/index.d.ts +1 -1
- package/build/components/atoms/tag/index.d.ts +1 -1
- package/build/components/atoms/tag/index.styled.d.ts +1 -1
- package/build/components/atoms/text/index.d.ts +4 -12
- package/build/components/atoms/text/index.styled.d.ts +1 -1
- package/build/components/atoms/textArea/index.d.ts +1 -1
- package/build/components/atoms/textDivider/index.d.ts +1 -1
- package/build/components/atoms/toggle/index.d.ts +1 -1
- package/build/components/atoms/underlinedLink/index.d.ts +1 -1
- package/build/components/atoms/uploader/index.d.ts +1 -1
- package/build/components/mantine/carousel/index.d.ts +1 -1
- package/build/components/mantine/checkbox/index.d.ts +1 -1
- package/build/components/mantine/datepicker/index.d.ts +2 -2
- package/build/components/mantine/datepicker/range.d.ts +1 -1
- package/build/components/mantine/input/file.d.ts +1 -1
- package/build/components/mantine/input/index.d.ts +1 -1
- package/build/components/mantine/input/number.d.ts +1 -1
- package/build/components/mantine/input/password.d.ts +1 -1
- package/build/components/mantine/loadingOverlay/index.d.ts +1 -1
- package/build/components/mantine/radio/index.d.ts +1 -1
- package/build/components/mantine/select/index.d.ts +1 -1
- package/build/components/mantine/slider/index.d.ts +1 -1
- package/build/components/molecules/ampNextPage/index.d.ts +2 -2
- package/build/components/molecules/articleCard/index.d.ts +1 -1
- package/build/components/molecules/babyGrowthChooseProfileDrawer/index.d.ts +1 -1
- package/build/components/molecules/breadcrumbs/index.d.ts +3 -3
- package/build/components/molecules/carousel/index.d.ts +1 -1
- package/build/components/molecules/carousel/index.styled.d.ts +1 -1
- package/build/components/molecules/categoryCard/index.d.ts +1 -1
- package/build/components/molecules/checkboxGroup/index.d.ts +1 -1
- package/build/components/molecules/childCard/index.d.ts +1 -1
- package/build/components/molecules/childCard/menu.d.ts +1 -1
- package/build/components/molecules/cookieAcceptConfirm/index.d.ts +1 -1
- package/build/components/molecules/datePicker/index.d.ts +2 -2
- package/build/components/molecules/dateRangePicker/calendar/index.d.ts +1 -1
- package/build/components/molecules/dateRangePicker/index.d.ts +1 -1
- package/build/components/molecules/dateRangePicker/types.d.ts +1 -1
- package/build/components/molecules/doctorInfo/index.d.ts +1 -1
- package/build/components/molecules/dropdown/index.d.ts +2 -2
- package/build/components/molecules/dropdownSearch/index.d.ts +2 -2
- package/build/components/molecules/dueDateCalculator/dueDateFormConception.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +1 -1
- package/build/components/molecules/dueDateCalculator/index.d.ts +1 -1
- package/build/components/molecules/embeddedHeathToolCards/dueDate.d.ts +4 -4
- package/build/components/molecules/embeddedHeathToolCards/ovulation.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/pwg.d.ts +2 -2
- package/build/components/molecules/floatButtonGroup/index.d.ts +2 -2
- package/build/components/molecules/iconText/index.d.ts +1 -1
- package/build/components/molecules/languageSwitcher/index.d.ts +1 -1
- package/build/components/molecules/languageSwitcher/tooltipSelection/index.d.ts +2 -2
- package/build/components/molecules/mobileBottomNavigation/MobileBottomNavigationIcon.d.ts +1 -1
- package/build/components/molecules/mobileBottomNavigation/index.d.ts +1 -1
- package/build/components/molecules/modal/index.d.ts +1 -1
- package/build/components/molecules/ovulationCalculator/index.d.ts +1 -1
- package/build/components/molecules/ovulationCalculator/ovulationForm.d.ts +1 -1
- package/build/components/molecules/popup/index.d.ts +1 -1
- package/build/components/molecules/progressBar/index.d.ts +1 -1
- package/build/components/molecules/radioGroup/index.d.ts +3 -3
- package/build/components/molecules/scrollList/index.d.ts +3 -3
- package/build/components/molecules/seoHead/index.d.ts +2 -2
- package/build/components/molecules/shareContainer/index.d.ts +1 -1
- package/build/components/molecules/shareDrawer/index.d.ts +1 -1
- package/build/components/molecules/sidemenu/menuLink.d.ts +1 -1
- package/build/components/molecules/sidemenu/sideHeader.d.ts +1 -1
- package/build/components/molecules/sidemenu/sideMenu.d.ts +1 -1
- package/build/components/molecules/sidemenu/userInfo.d.ts +1 -1
- package/build/components/molecules/starsRatingBox/index.d.ts +2 -2
- package/build/components/molecules/statisticCard/index.d.ts +1 -1
- package/build/components/molecules/surveyQuestionCard/surveyQuestionCard.d.ts +2 -2
- package/build/components/molecules/surveyQuestionCard/surveyQuestionContent.d.ts +4 -4
- package/build/components/molecules/surveyQuestionCard/surveyRadio.d.ts +1 -1
- package/build/components/molecules/surveyQuestionCard/surveyThankyouCard.d.ts +1 -1
- package/build/components/molecules/table/table.d.ts +1 -1
- package/build/components/molecules/table/tableBody.d.ts +1 -1
- package/build/components/molecules/table/tableCell.d.ts +1 -1
- package/build/components/molecules/table/tableHead.d.ts +1 -1
- package/build/components/molecules/table/tableRow.d.ts +1 -1
- package/build/components/molecules/tabs/index.d.ts +2 -2
- package/build/components/molecules/toolBannerCard/index.d.ts +1 -1
- package/build/components/molecules/weightGainForm/index.d.ts +1 -1
- package/build/components/organisms/footer/discoverFooter/index.d.ts +1 -1
- package/build/components/organisms/footer/index.d.ts +3 -3
- package/build/components/organisms/footer/maryBabyFooter/index.d.ts +1 -1
- package/build/components/organisms/heroBannerHealthTool/healthToolBanner.d.ts +1 -1
- package/build/components/organisms/heroBannerHealthTool/index.d.ts +1 -1
- package/build/components/organisms/navigationBookingButton/index.d.ts +1 -1
- package/build/components/organisms/navigationLogoutPopup/index.d.ts +1 -1
- package/build/components/organisms/navigationLogoutPopup/index.styled.d.ts +1 -1
- package/build/components/organisms/navigationProfileButton/index.d.ts +1 -1
- package/build/components/organisms/navigationProfileButton/popupWrapper.d.ts +1 -1
- package/build/components/organisms/navigationProfileButton/profilePopup.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/atoms/ClosePopupIcon.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/atoms/HamburgerIcon.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/atoms/ItemNav/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/atoms/PopupWrapper/btnClosePopup.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/atoms/PopupWrapper/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/Categories/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/Spotlights/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/careSpotlights.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/categorySpotlights.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/communitySpotlights.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuServiceList/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.styled.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/spotlightNoData/index.d.ts +1 -1
- package/build/components/organisms/navigationV2/hooks/useNavConfig.d.ts +1 -1
- package/build/components/organisms/navigationV2/index.d.ts +2 -2
- package/build/components/organisms/navigationV2/navigationContext.d.ts +1 -1
- package/build/components/organisms/navigationV2/types.d.ts +35 -35
- package/build/components/organisms/userProfileNavigation/index.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/navHeader/index.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/navMenu/index.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/navMenu/index.styled.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/navigationCard/index.d.ts +1 -1
- package/build/components/organisms/userProfileNavigation/types.d.ts +5 -5
- package/build/components/organisms/userProfileNavigation/userStats/index.d.ts +1 -1
- package/build/components.js +1 -1
- package/build/{core-8fcc56eb.js → core-f0edff4f.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/ecom_temp_excluded/dataFormatter/lib/apiTypes.d.ts +55 -55
- package/build/ecom_temp_excluded/dataFormatter/lib/dataTypes.d.ts +44 -44
- package/build/ecom_temp_excluded/interfaces/constants.d.ts +1 -1
- package/build/ecom_temp_excluded/interfaces/types.d.ts +22 -22
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{core-d22826b4.js → core-3e31237f.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/{getDynamicHealthTool-f43c2db2.js → getDynamicHealthTool-506a8dae.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/imgHHG.js +1 -1
- package/build/esm/{index-3e50d808.js → index-0758fd6f.js} +1 -1
- package/build/esm/{index-642d36c8.js → index-08a5379f.js} +1 -1
- package/build/esm/{index-7a537be1.js → index-1641cafe.js} +1 -1
- package/build/esm/index-48f56f96.js +1 -0
- package/build/esm/{index-f3a0141e.js → index-4b7e71be.js} +1 -1
- package/build/esm/index-72dbbe2c.js +1 -0
- package/build/esm/index-b39f000a.js +1 -0
- package/build/esm/{index-93d22d63.js → index-bab85b31.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-d8a819ea.js → index.styled-1d237565.js} +1 -1
- package/build/esm/{index.styled-faeac279.js → index.styled-9b9139b0.js} +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/{screenSizeContext-12f741e1.js → screenSizeContext-d0c9aa9b.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-cd9f6f24.js → translationsProvider-a738e5de.js} +1 -1
- package/build/esm/tslib.es6-dcf36680.js +1 -0
- package/build/esm/{types-e5491c06.js → types-141fd732.js} +1 -1
- package/build/esm/{types-9f13ee08.js → types-f823d240.js} +1 -1
- package/build/esm/{useFbDataLayer-5016df43.js → useFbDataLayer-f9adf2a7.js} +1 -1
- package/build/esm/{useHealthToolCache-e4e2778a.js → useHealthToolCache-79dda45b.js} +1 -1
- package/build/{getDynamicHealthTool-770421bc.js → getDynamicHealthTool-2103105f.js} +1 -1
- package/build/hooks/useDropdownSearch.d.ts +1 -1
- package/build/hooks/useGeolocation.d.ts +1 -1
- package/build/hooks/useTranslations.d.ts +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n/translations.d.ts +4 -4
- package/build/i18n/translationsContext.d.ts +1 -1
- package/build/i18n/translationsProvider.d.ts +3 -3
- package/build/i18n.js +1 -1
- package/build/imgHHG.js +1 -1
- package/build/{index-18fad696.js → index-10453b98.js} +1 -1
- package/build/{index-ef8759f0.js → index-3f230f6d.js} +1 -1
- package/build/index-4f3c2e85.js +1 -0
- package/build/index-7d017969.js +1 -0
- package/build/{index-06ae8f3a.js → index-982af205.js} +1 -1
- package/build/{index-eb84390c.js → index-ab2a12cb.js} +1 -1
- package/build/index-be767019.js +1 -0
- package/build/index-eea5bfce.js +1 -0
- package/build/index.js +1 -1
- package/build/{index.styled-03c4dedb.js → index.styled-007487b4.js} +1 -1
- package/build/{index.styled-1e5dd97e.js → index.styled-d5db8bd7.js} +1 -1
- package/build/interfaces/constants/index.d.ts +2 -2
- package/build/interfaces/types/BabyGrowth.d.ts +17 -17
- package/build/interfaces/types/HealthTool.d.ts +2 -2
- package/build/interfaces/types/index.d.ts +12 -12
- package/build/mantine.js +1 -1
- package/build/misc/theme.d.ts +2 -2
- package/build/misc.js +1 -1
- package/build/modules/imgHHG/index.d.ts +1 -1
- package/build/navigation.js +1 -1
- package/build/{screenSizeContext-60cc891b.js → screenSizeContext-b4958d62.js} +1 -1
- package/build/together/api/utils.d.ts +1 -1
- package/build/together/components/atoms/cardLink/index.d.ts +1 -1
- package/build/together/components/atoms/cardReactions/index.d.ts +1 -1
- package/build/together/components/atoms/labelSortPin/index.d.ts +1 -1
- package/build/together/components/atoms/labelSortPin/labelPin.d.ts +1 -1
- package/build/together/components/atoms/labelSortPin/labelSorting.d.ts +2 -2
- package/build/together/components/atoms/loading/index.d.ts +1 -1
- package/build/together/components/atoms/loading/loadingCard.d.ts +1 -1
- package/build/together/components/atoms/notificationBar/index.d.ts +1 -1
- package/build/together/components/atoms/sensitiveMask/index.d.ts +1 -1
- package/build/together/components/atoms/tagTopic/index.d.ts +1 -1
- package/build/together/components/atoms/userAvatar/index.d.ts +1 -1
- package/build/together/components/molecules/cardAuthor/customMMLocale/types.d.ts +4 -4
- package/build/together/components/molecules/cardAuthor/index.d.ts +1 -1
- package/build/together/components/molecules/createNewPostContent/index.d.ts +1 -1
- package/build/together/components/molecules/createPostDescription/editor.d.ts +1 -1
- package/build/together/components/molecules/createPostDescription/index.d.ts +1 -1
- package/build/together/components/molecules/createPostTitle/index.d.ts +1 -1
- package/build/together/components/molecules/inputCommentBar/index.d.ts +1 -1
- package/build/together/components/molecules/inputCommentBar/mainInputTriggerContext.d.ts +1 -1
- package/build/together/components/molecules/popupDanger/index.d.ts +1 -1
- package/build/together/components/molecules/popupDoctor/index.d.ts +1 -1
- package/build/together/components/molecules/popupExpert/index.d.ts +3 -3
- package/build/together/components/molecules/popupFrame/index.d.ts +1 -1
- package/build/together/components/molecules/popupFrame/popupShare.d.ts +1 -1
- package/build/together/components/molecules/popupHospital/index.d.ts +3 -3
- package/build/together/components/molecules/postContent/index.d.ts +1 -1
- package/build/together/components/molecules/postImagePreview/imagePreviewPopup.d.ts +1 -1
- package/build/together/components/molecules/postImagePreview/index.d.ts +1 -1
- package/build/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.d.ts +1 -1
- package/build/together/components/molecules/shareBox/index.d.ts +1 -1
- package/build/together/components/molecules/socialLinkPreview/index.d.ts +1 -1
- package/build/together/components/molecules/submitReportForm/index.d.ts +1 -1
- package/build/together/components/molecules/topicSelectList/index.d.ts +1 -1
- package/build/together/components/organisms/cardPost/index.d.ts +1 -1
- package/build/together/components/organisms/cardReply/index.d.ts +1 -1
- package/build/together/components/organisms/popoverMenu/index.d.ts +1 -1
- package/build/together/components/organisms/popoverMenu/treePopoverMenu.d.ts +4 -4
- package/build/together/hooks/useTogetherAuthRequiredAction.d.ts +1 -1
- package/build/together/interfaces/types.d.ts +108 -108
- package/build/together/togetherComponentGlobalContext.d.ts +5 -5
- package/build/together/utils/apiActions/comment.d.ts +1 -1
- package/build/together/utils/notification.d.ts +1 -1
- package/build/together.js +1 -1
- package/build/{translationsProvider-25c99317.js → translationsProvider-7fabb8fe.js} +1 -1
- package/build/tslib.es6-e6f346c4.js +1 -0
- package/build/{types-8591cb2a.js → types-7ce6024f.js} +1 -1
- package/build/{types-aac7135c.js → types-cd43472e.js} +1 -1
- package/build/{useFbDataLayer-eda77edb.js → useFbDataLayer-fbea3e5e.js} +1 -1
- package/build/{useHealthToolCache-014adcd3.js → useHealthToolCache-df134cc9.js} +1 -1
- package/package.json +14 -12
- package/build/esm/index-9bacff82.js +0 -1
- package/build/esm/index-f8e043bf.js +0 -1
- package/build/esm/index-fb454baf.js +0 -1
- package/build/esm/tslib.es6-5532bd7b.js +0 -15
- package/build/index-57a0589c.js +0 -1
- package/build/index-5d420cf1.js +0 -1
- package/build/index-a8a74936.js +0 -1
- package/build/index-b074559e.js +0 -1
- package/build/tslib.es6-f7929e76.js +0 -15
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OrderStatus } from '../../interfaces/types';
|
|
2
|
-
export
|
|
2
|
+
export type AutoCompleteAddressApi = {
|
|
3
3
|
description?: string;
|
|
4
4
|
place_id?: string;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type PaginationApi = {
|
|
7
7
|
current?: number;
|
|
8
8
|
first?: number;
|
|
9
9
|
items_per_page?: number;
|
|
@@ -12,19 +12,19 @@ export declare type PaginationApi = {
|
|
|
12
12
|
prev?: number;
|
|
13
13
|
total_items?: number;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type SpecialtyApi = {
|
|
16
16
|
name?: string;
|
|
17
17
|
id?: number;
|
|
18
18
|
thumbnail?: string;
|
|
19
19
|
total_doctor?: number;
|
|
20
20
|
slug?: string;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export type PriceInfoApi = {
|
|
23
23
|
final: number;
|
|
24
24
|
regular: number;
|
|
25
25
|
discount_percent: number;
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type ProductApi = {
|
|
28
28
|
id: number;
|
|
29
29
|
price: PriceInfoApi;
|
|
30
30
|
thumbnail: string;
|
|
@@ -58,13 +58,13 @@ export declare type ProductApi = {
|
|
|
58
58
|
categories?: CategoryApi[];
|
|
59
59
|
is_in_stock?: boolean;
|
|
60
60
|
};
|
|
61
|
-
export
|
|
61
|
+
export type BannerApi = {
|
|
62
62
|
name: string;
|
|
63
63
|
featured_image: string;
|
|
64
64
|
url: string;
|
|
65
65
|
image_alt: string;
|
|
66
66
|
};
|
|
67
|
-
export
|
|
67
|
+
export type FooterInfoApi = {
|
|
68
68
|
general: {
|
|
69
69
|
logo: string;
|
|
70
70
|
content: string;
|
|
@@ -98,15 +98,15 @@ export declare type FooterInfoApi = {
|
|
|
98
98
|
}>;
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
|
-
export
|
|
101
|
+
export type HotSearchKeywordApi = {
|
|
102
102
|
name: string;
|
|
103
103
|
};
|
|
104
|
-
export
|
|
104
|
+
export type HelpfulUrlApi = {
|
|
105
105
|
name: string;
|
|
106
106
|
url: string;
|
|
107
107
|
featured_image: string;
|
|
108
108
|
};
|
|
109
|
-
export
|
|
109
|
+
export type BlogPostApi = {
|
|
110
110
|
title: string;
|
|
111
111
|
image: string;
|
|
112
112
|
link: string;
|
|
@@ -129,7 +129,7 @@ export declare type BlogPostApi = {
|
|
|
129
129
|
modified_time: string;
|
|
130
130
|
};
|
|
131
131
|
};
|
|
132
|
-
export
|
|
132
|
+
export type BrandApi = {
|
|
133
133
|
id: number;
|
|
134
134
|
image: string;
|
|
135
135
|
position: string;
|
|
@@ -141,7 +141,7 @@ export declare type BrandApi = {
|
|
|
141
141
|
description: string | null;
|
|
142
142
|
bestseller_products: ProductApi[] | null;
|
|
143
143
|
};
|
|
144
|
-
export
|
|
144
|
+
export type HomePageApi = {
|
|
145
145
|
brands: BrandApi[];
|
|
146
146
|
hot_deals: ProductApi[];
|
|
147
147
|
new_products: ProductApi[];
|
|
@@ -153,7 +153,7 @@ export declare type HomePageApi = {
|
|
|
153
153
|
suggest_products: CategoryApi[];
|
|
154
154
|
promotions: PromotionApi[];
|
|
155
155
|
};
|
|
156
|
-
export
|
|
156
|
+
export type BlogPostDataReviewedUserApi = {
|
|
157
157
|
ID: number;
|
|
158
158
|
user_id: number;
|
|
159
159
|
former_role: string;
|
|
@@ -166,7 +166,7 @@ export declare type BlogPostDataReviewedUserApi = {
|
|
|
166
166
|
avatar_thumbnail: string;
|
|
167
167
|
turn_off_profile: boolean;
|
|
168
168
|
};
|
|
169
|
-
export
|
|
169
|
+
export type CategoryApi = {
|
|
170
170
|
id: number;
|
|
171
171
|
name: string;
|
|
172
172
|
slug: string;
|
|
@@ -175,7 +175,7 @@ export declare type CategoryApi = {
|
|
|
175
175
|
children?: CategoryApi[] | null;
|
|
176
176
|
products?: ProductApi[] | null;
|
|
177
177
|
};
|
|
178
|
-
export
|
|
178
|
+
export type NavigationApi = {
|
|
179
179
|
hot_search_keywords: HotSearchKeywordApi[];
|
|
180
180
|
helpful_urls: HelpfulUrlApi[];
|
|
181
181
|
categories: CategoryApi[];
|
|
@@ -184,7 +184,7 @@ export declare type NavigationApi = {
|
|
|
184
184
|
customer_id: number;
|
|
185
185
|
cart_items_qty?: number;
|
|
186
186
|
};
|
|
187
|
-
export
|
|
187
|
+
export type CategoryPageApi = {
|
|
188
188
|
id: number;
|
|
189
189
|
name: string;
|
|
190
190
|
slug: string;
|
|
@@ -192,28 +192,28 @@ export declare type CategoryPageApi = {
|
|
|
192
192
|
banners: BannerApi[];
|
|
193
193
|
bestseller_products: ProductApi[];
|
|
194
194
|
};
|
|
195
|
-
export
|
|
196
|
-
export
|
|
195
|
+
export type BrandPageApi = BrandApi;
|
|
196
|
+
export type ProductsApi = {
|
|
197
197
|
products: ProductApi[];
|
|
198
198
|
pagination: PaginationApi;
|
|
199
199
|
};
|
|
200
|
-
export
|
|
200
|
+
export type BrandsApi = {
|
|
201
201
|
brands: BrandApi[];
|
|
202
202
|
pagination: PaginationApi;
|
|
203
203
|
};
|
|
204
|
-
export
|
|
204
|
+
export type ProductDetailPageApi = {
|
|
205
205
|
related_products: ProductApi[];
|
|
206
206
|
bestseller_products: ProductApi[];
|
|
207
207
|
viewed_products: ProductApi[];
|
|
208
208
|
promotions?: PromotionApi[];
|
|
209
209
|
} & ProductApi;
|
|
210
|
-
export
|
|
210
|
+
export type SearchPageApi = {
|
|
211
211
|
products: ProductApi[];
|
|
212
212
|
suggest_products: CategoryApi[] | null;
|
|
213
213
|
hot_deals: ProductApi[];
|
|
214
214
|
pagination: PaginationApi;
|
|
215
215
|
};
|
|
216
|
-
export
|
|
216
|
+
export type ProductReviewApi = {
|
|
217
217
|
review_id: string;
|
|
218
218
|
created_at: string;
|
|
219
219
|
title: string;
|
|
@@ -227,13 +227,13 @@ export declare type ProductReviewApi = {
|
|
|
227
227
|
}[];
|
|
228
228
|
images: string[];
|
|
229
229
|
};
|
|
230
|
-
export
|
|
230
|
+
export type ProductPromotionApi = {
|
|
231
231
|
id: number;
|
|
232
232
|
name: string;
|
|
233
233
|
thumbnail: string;
|
|
234
234
|
expiration_date: string;
|
|
235
235
|
};
|
|
236
|
-
export
|
|
236
|
+
export type PromotionApi = {
|
|
237
237
|
id: number;
|
|
238
238
|
name: string;
|
|
239
239
|
thumbnail: string;
|
|
@@ -245,11 +245,11 @@ export declare type PromotionApi = {
|
|
|
245
245
|
meta_keywords?: string;
|
|
246
246
|
meta_description?: string;
|
|
247
247
|
};
|
|
248
|
-
export
|
|
248
|
+
export type CustomAttributesApi = {
|
|
249
249
|
attribute_code: string;
|
|
250
250
|
value: string;
|
|
251
251
|
};
|
|
252
|
-
export
|
|
252
|
+
export type AddressApi = {
|
|
253
253
|
id: number;
|
|
254
254
|
customer_id: number;
|
|
255
255
|
firstname: string;
|
|
@@ -266,19 +266,19 @@ export declare type AddressApi = {
|
|
|
266
266
|
full_address: string;
|
|
267
267
|
};
|
|
268
268
|
};
|
|
269
|
-
export
|
|
269
|
+
export type PromotionListApi = {
|
|
270
270
|
promotions: PromotionApi[];
|
|
271
271
|
pagination: PaginationApi;
|
|
272
272
|
};
|
|
273
|
-
export
|
|
273
|
+
export type PromotionPageApi = {
|
|
274
274
|
items: PromotionApi[];
|
|
275
275
|
pagination: PaginationApi;
|
|
276
276
|
};
|
|
277
|
-
export
|
|
277
|
+
export type StatisticApi = {
|
|
278
278
|
status: OrderStatus;
|
|
279
279
|
amount: string;
|
|
280
280
|
};
|
|
281
|
-
export
|
|
281
|
+
export type OrderApi = {
|
|
282
282
|
order_number: string;
|
|
283
283
|
shipping_data: {
|
|
284
284
|
shipping_method: string;
|
|
@@ -308,20 +308,20 @@ export declare type OrderApi = {
|
|
|
308
308
|
}[];
|
|
309
309
|
payment_method: string;
|
|
310
310
|
};
|
|
311
|
-
export
|
|
311
|
+
export type OrderConfirmationApi = {
|
|
312
312
|
is_success: boolean;
|
|
313
313
|
order_info: OrderApi;
|
|
314
314
|
};
|
|
315
|
-
export
|
|
315
|
+
export type AddressListApi = {
|
|
316
316
|
items: AddressApi[];
|
|
317
317
|
total_count: number;
|
|
318
318
|
};
|
|
319
|
-
export
|
|
319
|
+
export type OrderListApi = {
|
|
320
320
|
items: OrderApi[];
|
|
321
321
|
pagination: PaginationApi;
|
|
322
322
|
statistic: StatisticApi[];
|
|
323
323
|
};
|
|
324
|
-
export
|
|
324
|
+
export type ProductReviewListApi = {
|
|
325
325
|
items: ProductReviewApi[];
|
|
326
326
|
pagination: PaginationApi;
|
|
327
327
|
review_statistic: {
|
|
@@ -329,35 +329,35 @@ export declare type ProductReviewListApi = {
|
|
|
329
329
|
amount: string;
|
|
330
330
|
}[];
|
|
331
331
|
};
|
|
332
|
-
export
|
|
332
|
+
export type SearchSuggestionBoxApi = {
|
|
333
333
|
popular_keywords?: string[];
|
|
334
334
|
suggestions?: ProductApi[] | null;
|
|
335
335
|
popular_products?: ProductApi[] | null;
|
|
336
336
|
popular_categories?: CategoryApi[] | null;
|
|
337
337
|
};
|
|
338
|
-
export
|
|
338
|
+
export type ProvinceApi = {
|
|
339
339
|
id: string;
|
|
340
340
|
code: string;
|
|
341
341
|
name: string;
|
|
342
342
|
};
|
|
343
|
-
export
|
|
343
|
+
export type ProvinceListApi = {
|
|
344
344
|
available_regions: ProvinceApi[];
|
|
345
345
|
};
|
|
346
|
-
export
|
|
346
|
+
export type DistrictListApi = {
|
|
347
347
|
districts: DistrictApi[];
|
|
348
348
|
};
|
|
349
|
-
export
|
|
349
|
+
export type DistrictApi = {
|
|
350
350
|
id: string;
|
|
351
351
|
name: string;
|
|
352
352
|
};
|
|
353
|
-
export
|
|
353
|
+
export type CommuneApi = {
|
|
354
354
|
id: string;
|
|
355
355
|
name: string;
|
|
356
356
|
};
|
|
357
|
-
export
|
|
357
|
+
export type CommuneListApi = {
|
|
358
358
|
communes: CommuneApi[];
|
|
359
359
|
};
|
|
360
|
-
export
|
|
360
|
+
export type AddressFormApi = {
|
|
361
361
|
id?: number;
|
|
362
362
|
firstname: string;
|
|
363
363
|
lastname: string;
|
|
@@ -369,7 +369,7 @@ export declare type AddressFormApi = {
|
|
|
369
369
|
street: [string];
|
|
370
370
|
custom_attributes: CustomAttributesApi[];
|
|
371
371
|
};
|
|
372
|
-
export
|
|
372
|
+
export type CartItemApi = {
|
|
373
373
|
item_id: number;
|
|
374
374
|
sku: string;
|
|
375
375
|
qty: number;
|
|
@@ -386,7 +386,7 @@ export declare type CartItemApi = {
|
|
|
386
386
|
url_key: string;
|
|
387
387
|
};
|
|
388
388
|
};
|
|
389
|
-
export
|
|
389
|
+
export type CartAddressApi = {
|
|
390
390
|
id?: number;
|
|
391
391
|
region: string;
|
|
392
392
|
region_id: number;
|
|
@@ -407,7 +407,7 @@ export declare type CartAddressApi = {
|
|
|
407
407
|
full_address: string;
|
|
408
408
|
};
|
|
409
409
|
};
|
|
410
|
-
export
|
|
410
|
+
export type EstimatedShippingApi = {
|
|
411
411
|
carrier_code: string;
|
|
412
412
|
method_code: string;
|
|
413
413
|
carrier_title: string;
|
|
@@ -419,19 +419,19 @@ export declare type EstimatedShippingApi = {
|
|
|
419
419
|
price_excl_tax: number;
|
|
420
420
|
price_incl_tax: number;
|
|
421
421
|
};
|
|
422
|
-
export
|
|
422
|
+
export type PaymentInformationApi = {
|
|
423
423
|
payment_methods: {
|
|
424
424
|
code: string;
|
|
425
425
|
title: string;
|
|
426
426
|
}[];
|
|
427
427
|
totals: CartTotalApi;
|
|
428
428
|
};
|
|
429
|
-
export
|
|
429
|
+
export type CartBaseCustomerApi = {
|
|
430
430
|
email?: string;
|
|
431
431
|
firstname?: string;
|
|
432
432
|
lastname?: string;
|
|
433
433
|
};
|
|
434
|
-
export
|
|
434
|
+
export type CartLoggedInCustomerApi = {
|
|
435
435
|
id: number;
|
|
436
436
|
group_id: number;
|
|
437
437
|
created_at: string;
|
|
@@ -445,7 +445,7 @@ export declare type CartLoggedInCustomerApi = {
|
|
|
445
445
|
is_subscribed: boolean;
|
|
446
446
|
};
|
|
447
447
|
} & CartBaseCustomerApi;
|
|
448
|
-
export
|
|
448
|
+
export type CartApi = {
|
|
449
449
|
id: number;
|
|
450
450
|
created_at: string;
|
|
451
451
|
updated_at: string;
|
|
@@ -481,7 +481,7 @@ export declare type CartApi = {
|
|
|
481
481
|
}[];
|
|
482
482
|
};
|
|
483
483
|
};
|
|
484
|
-
export
|
|
484
|
+
export type CartTotalApi = {
|
|
485
485
|
grand_total: number;
|
|
486
486
|
base_grand_total: number;
|
|
487
487
|
subtotal: number;
|
|
@@ -538,17 +538,17 @@ export declare type CartTotalApi = {
|
|
|
538
538
|
coupon_description_text: string;
|
|
539
539
|
};
|
|
540
540
|
};
|
|
541
|
-
export
|
|
541
|
+
export type CouponApi = {
|
|
542
542
|
code: string;
|
|
543
543
|
name: string;
|
|
544
544
|
thumbnail: string;
|
|
545
545
|
expired_date: string;
|
|
546
546
|
};
|
|
547
|
-
export
|
|
547
|
+
export type CouponListApi = {
|
|
548
548
|
items: CouponApi[];
|
|
549
549
|
pagination: PaginationApi;
|
|
550
550
|
};
|
|
551
|
-
export
|
|
551
|
+
export type ShippingApi = {
|
|
552
552
|
carrier_code: string;
|
|
553
553
|
method_code: string;
|
|
554
554
|
carrier_title: string;
|
|
@@ -562,12 +562,12 @@ export declare type ShippingApi = {
|
|
|
562
562
|
thumbnail: string;
|
|
563
563
|
};
|
|
564
564
|
};
|
|
565
|
-
export
|
|
565
|
+
export type PaymentMethodsApi = {
|
|
566
566
|
payment_code: string;
|
|
567
567
|
payment_thumbnail: string;
|
|
568
568
|
payment_title: string;
|
|
569
569
|
};
|
|
570
|
-
export
|
|
570
|
+
export type ShippingInformation = {
|
|
571
571
|
extension_attributes: {
|
|
572
572
|
payment_detail_info: PaymentMethodsApi[];
|
|
573
573
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { OrderStatus } from '../../interfaces/types';
|
|
2
2
|
import { FooterInfoApi } from './apiTypes';
|
|
3
|
-
export
|
|
3
|
+
export type AutoCompleteAddress = {
|
|
4
4
|
description: string;
|
|
5
5
|
placeId: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type PriceInfo = {
|
|
8
8
|
final: number;
|
|
9
9
|
regular: number;
|
|
10
10
|
discountPercent: number;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type Product = {
|
|
13
13
|
id: number;
|
|
14
14
|
price: PriceInfo;
|
|
15
15
|
thumbnail: string;
|
|
@@ -43,28 +43,28 @@ export declare type Product = {
|
|
|
43
43
|
categories: Category[];
|
|
44
44
|
isInStock?: boolean;
|
|
45
45
|
};
|
|
46
|
-
export
|
|
46
|
+
export type Banner = {
|
|
47
47
|
name: string;
|
|
48
48
|
url: string;
|
|
49
49
|
featuredImage: string;
|
|
50
50
|
alt?: string;
|
|
51
51
|
};
|
|
52
|
-
export
|
|
52
|
+
export type HotSearchKeyword = {
|
|
53
53
|
name: string;
|
|
54
54
|
position: number;
|
|
55
55
|
status: boolean;
|
|
56
56
|
createdAt: string;
|
|
57
57
|
updatedAt: string;
|
|
58
58
|
};
|
|
59
|
-
export
|
|
59
|
+
export type HelpfulUrl = {
|
|
60
60
|
name: string;
|
|
61
61
|
url: string;
|
|
62
62
|
featuredImage: string;
|
|
63
63
|
};
|
|
64
|
-
export
|
|
64
|
+
export type PopularSearchType = {
|
|
65
65
|
text: string;
|
|
66
66
|
};
|
|
67
|
-
export
|
|
67
|
+
export type BlogPost = {
|
|
68
68
|
title: string;
|
|
69
69
|
image: string;
|
|
70
70
|
link: string;
|
|
@@ -87,7 +87,7 @@ export declare type BlogPost = {
|
|
|
87
87
|
modifiedTime: string;
|
|
88
88
|
} | null;
|
|
89
89
|
};
|
|
90
|
-
export
|
|
90
|
+
export type Brand = {
|
|
91
91
|
id: number;
|
|
92
92
|
image: string;
|
|
93
93
|
position: string;
|
|
@@ -99,7 +99,7 @@ export declare type Brand = {
|
|
|
99
99
|
description: string | null;
|
|
100
100
|
bestsellerProducts?: Product[] | null;
|
|
101
101
|
};
|
|
102
|
-
export
|
|
102
|
+
export type HomePage = {
|
|
103
103
|
brands: Brand[];
|
|
104
104
|
hotDeals: Product[];
|
|
105
105
|
newProducts: Product[];
|
|
@@ -111,7 +111,7 @@ export declare type HomePage = {
|
|
|
111
111
|
suggestProducts: Category[];
|
|
112
112
|
promotions: Promotion[];
|
|
113
113
|
};
|
|
114
|
-
export
|
|
114
|
+
export type BlogPostDataReviewedUser = {
|
|
115
115
|
id: number;
|
|
116
116
|
userId: number;
|
|
117
117
|
formerRole: string;
|
|
@@ -124,7 +124,7 @@ export declare type BlogPostDataReviewedUser = {
|
|
|
124
124
|
avatarThumbnail: string;
|
|
125
125
|
turnOffProfile: boolean;
|
|
126
126
|
};
|
|
127
|
-
export
|
|
127
|
+
export type CategoryPage = {
|
|
128
128
|
id: number;
|
|
129
129
|
name: string;
|
|
130
130
|
slug: string;
|
|
@@ -132,8 +132,8 @@ export declare type CategoryPage = {
|
|
|
132
132
|
bestsellerProducts: Product[];
|
|
133
133
|
description: string | null;
|
|
134
134
|
};
|
|
135
|
-
export
|
|
136
|
-
export
|
|
135
|
+
export type BrandPage = Brand;
|
|
136
|
+
export type Category = {
|
|
137
137
|
id: number;
|
|
138
138
|
name: string;
|
|
139
139
|
logo: string;
|
|
@@ -144,7 +144,7 @@ export declare type Category = {
|
|
|
144
144
|
fullSlug: string;
|
|
145
145
|
products?: Product[];
|
|
146
146
|
};
|
|
147
|
-
export
|
|
147
|
+
export type Navigation = {
|
|
148
148
|
hotSearchKeywords: PopularSearchType[];
|
|
149
149
|
helpfulUrls: HelpfulUrl[];
|
|
150
150
|
categories: Category[];
|
|
@@ -153,7 +153,7 @@ export declare type Navigation = {
|
|
|
153
153
|
customerId: number;
|
|
154
154
|
cartItemsQty: number | null;
|
|
155
155
|
};
|
|
156
|
-
export
|
|
156
|
+
export type Pagination = {
|
|
157
157
|
current?: number;
|
|
158
158
|
first?: number;
|
|
159
159
|
itemsPerPage?: number;
|
|
@@ -162,13 +162,13 @@ export declare type Pagination = {
|
|
|
162
162
|
prev?: number;
|
|
163
163
|
totalItems?: number;
|
|
164
164
|
};
|
|
165
|
-
export
|
|
165
|
+
export type ProductDetailPage = {
|
|
166
166
|
relatedProducts: Product[];
|
|
167
167
|
bestsellerProducts: Product[];
|
|
168
168
|
viewedProducts: Product[];
|
|
169
169
|
promotions: Promotion[];
|
|
170
170
|
} & Product;
|
|
171
|
-
export
|
|
171
|
+
export type ProductReview = {
|
|
172
172
|
reviewId: string;
|
|
173
173
|
createdAt: string;
|
|
174
174
|
title: string;
|
|
@@ -182,13 +182,13 @@ export declare type ProductReview = {
|
|
|
182
182
|
}[];
|
|
183
183
|
images: string[];
|
|
184
184
|
};
|
|
185
|
-
export
|
|
185
|
+
export type ProductPromotion = {
|
|
186
186
|
id: number;
|
|
187
187
|
name: string;
|
|
188
188
|
thumbnail: string;
|
|
189
189
|
expirationDate: string;
|
|
190
190
|
};
|
|
191
|
-
export
|
|
191
|
+
export type Promotion = {
|
|
192
192
|
id: number;
|
|
193
193
|
name: string;
|
|
194
194
|
thumbnail: string;
|
|
@@ -201,7 +201,7 @@ export declare type Promotion = {
|
|
|
201
201
|
metaKeywords?: string;
|
|
202
202
|
metaDescription?: string;
|
|
203
203
|
};
|
|
204
|
-
export
|
|
204
|
+
export type Address = {
|
|
205
205
|
id: string | number;
|
|
206
206
|
fullName: string;
|
|
207
207
|
telephone: string;
|
|
@@ -221,14 +221,14 @@ export declare type Address = {
|
|
|
221
221
|
isDefault: boolean;
|
|
222
222
|
fullAddress?: string;
|
|
223
223
|
};
|
|
224
|
-
export
|
|
224
|
+
export type Statistic = {
|
|
225
225
|
pending: number;
|
|
226
226
|
processing: number;
|
|
227
227
|
delivering: number;
|
|
228
228
|
complete: number;
|
|
229
229
|
canceled: number;
|
|
230
230
|
};
|
|
231
|
-
export
|
|
231
|
+
export type ProductOrder = {
|
|
232
232
|
sku: string;
|
|
233
233
|
name: string;
|
|
234
234
|
price: number;
|
|
@@ -240,7 +240,7 @@ export declare type ProductOrder = {
|
|
|
240
240
|
name: string;
|
|
241
241
|
}[] | null;
|
|
242
242
|
};
|
|
243
|
-
export
|
|
243
|
+
export type Order = {
|
|
244
244
|
orderNumber: string;
|
|
245
245
|
shippingData?: {
|
|
246
246
|
shippingMethod: string;
|
|
@@ -263,44 +263,44 @@ export declare type Order = {
|
|
|
263
263
|
products: ProductOrder[];
|
|
264
264
|
paymentMethod: string;
|
|
265
265
|
};
|
|
266
|
-
export
|
|
266
|
+
export type OrderConfirmation = {
|
|
267
267
|
isSuccess: boolean;
|
|
268
268
|
orderInfo: Order | null;
|
|
269
269
|
};
|
|
270
|
-
export
|
|
270
|
+
export type Province = {
|
|
271
271
|
value: string;
|
|
272
272
|
label: string;
|
|
273
273
|
};
|
|
274
|
-
export
|
|
274
|
+
export type District = {
|
|
275
275
|
value: string;
|
|
276
276
|
label: string;
|
|
277
277
|
};
|
|
278
|
-
export
|
|
278
|
+
export type Commune = {
|
|
279
279
|
value: string;
|
|
280
280
|
label: string;
|
|
281
281
|
};
|
|
282
|
-
export
|
|
282
|
+
export type StoreInfo = {
|
|
283
283
|
id?: string | number;
|
|
284
284
|
name: string;
|
|
285
285
|
address?: string;
|
|
286
286
|
province?: Province;
|
|
287
287
|
district?: District;
|
|
288
288
|
};
|
|
289
|
-
export
|
|
289
|
+
export type TagData = {
|
|
290
290
|
id: number;
|
|
291
291
|
name: string;
|
|
292
292
|
};
|
|
293
|
-
export
|
|
293
|
+
export type NavigationItem = {
|
|
294
294
|
logo: string;
|
|
295
295
|
name: string;
|
|
296
296
|
url: string;
|
|
297
297
|
};
|
|
298
|
-
export
|
|
298
|
+
export type DeliveryAddress = {
|
|
299
299
|
fullAddress: string;
|
|
300
300
|
telephone: string;
|
|
301
301
|
fullName: string;
|
|
302
302
|
};
|
|
303
|
-
export
|
|
303
|
+
export type CartItem = {
|
|
304
304
|
itemId: number;
|
|
305
305
|
sku: string;
|
|
306
306
|
qty: number;
|
|
@@ -315,7 +315,7 @@ export declare type CartItem = {
|
|
|
315
315
|
isInStock: boolean;
|
|
316
316
|
urlProduct: string;
|
|
317
317
|
};
|
|
318
|
-
export
|
|
318
|
+
export type CartAddress = {
|
|
319
319
|
id?: number;
|
|
320
320
|
region?: string;
|
|
321
321
|
regionId?: number;
|
|
@@ -334,7 +334,7 @@ export declare type CartAddress = {
|
|
|
334
334
|
fullAddress?: string;
|
|
335
335
|
customerAddressId?: number;
|
|
336
336
|
};
|
|
337
|
-
export
|
|
337
|
+
export type EstimatedShipping = {
|
|
338
338
|
carrierCode: string;
|
|
339
339
|
methodCode: string;
|
|
340
340
|
carrierTitle: string;
|
|
@@ -346,21 +346,21 @@ export declare type EstimatedShipping = {
|
|
|
346
346
|
priceExclTax: number;
|
|
347
347
|
priceInclTax: number;
|
|
348
348
|
};
|
|
349
|
-
export
|
|
349
|
+
export type PaymentMethodInfo = {
|
|
350
350
|
code: string;
|
|
351
351
|
title: string;
|
|
352
352
|
thumbnail: string;
|
|
353
353
|
};
|
|
354
|
-
export
|
|
354
|
+
export type PaymentInformation = {
|
|
355
355
|
paymentMethods: PaymentMethodInfo[] | [];
|
|
356
356
|
totals: CartTotal | null;
|
|
357
357
|
};
|
|
358
|
-
export
|
|
358
|
+
export type CartBaseCustomer = {
|
|
359
359
|
email?: string;
|
|
360
360
|
firstname?: string;
|
|
361
361
|
lastname?: string;
|
|
362
362
|
};
|
|
363
|
-
export
|
|
363
|
+
export type CartLoggedInCustomer = {
|
|
364
364
|
id: number;
|
|
365
365
|
groupId: number;
|
|
366
366
|
createdAt: string;
|
|
@@ -372,7 +372,7 @@ export declare type CartLoggedInCustomer = {
|
|
|
372
372
|
disableAutoGroupChange: number;
|
|
373
373
|
isSubscribed: boolean;
|
|
374
374
|
} & CartBaseCustomer;
|
|
375
|
-
export
|
|
375
|
+
export type Cart = {
|
|
376
376
|
id: number;
|
|
377
377
|
createdAt: string;
|
|
378
378
|
updatedAt: string;
|
|
@@ -406,7 +406,7 @@ export declare type Cart = {
|
|
|
406
406
|
items: CartItem[];
|
|
407
407
|
}[];
|
|
408
408
|
};
|
|
409
|
-
export
|
|
409
|
+
export type CartTotal = {
|
|
410
410
|
grandTotal: number;
|
|
411
411
|
baseGrandTotal: number;
|
|
412
412
|
subtotal: number;
|
|
@@ -463,13 +463,13 @@ export declare type CartTotal = {
|
|
|
463
463
|
value: number;
|
|
464
464
|
}[];
|
|
465
465
|
};
|
|
466
|
-
export
|
|
466
|
+
export type Coupon = {
|
|
467
467
|
code: string;
|
|
468
468
|
name: string;
|
|
469
469
|
thumbnail: string;
|
|
470
470
|
description: string;
|
|
471
471
|
};
|
|
472
|
-
export
|
|
472
|
+
export type Shipping = {
|
|
473
473
|
carrierCode: string;
|
|
474
474
|
methodCode: string;
|
|
475
475
|
title: string;
|
|
@@ -477,7 +477,7 @@ export declare type Shipping = {
|
|
|
477
477
|
price: number;
|
|
478
478
|
thumbnail: string;
|
|
479
479
|
};
|
|
480
|
-
export
|
|
480
|
+
export type BreadcrumbItem = {
|
|
481
481
|
label: string;
|
|
482
482
|
value: string;
|
|
483
483
|
};
|
|
@@ -87,7 +87,7 @@ export declare const COUNTRY_CURRENCY_SYMBOL: {
|
|
|
87
87
|
[key in LocaleType]: string;
|
|
88
88
|
};
|
|
89
89
|
export declare const CURRENCY_PREFIX: Record<string, string>;
|
|
90
|
-
export
|
|
90
|
+
export type LOCALISED_SLUGS_VALUE = {
|
|
91
91
|
[key in LocalisedSlugsType]?: string;
|
|
92
92
|
};
|
|
93
93
|
export declare const LOCALISED_SLUGS: {
|