@lookiero/checkout 5.3.0-beta.2 → 6.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +9 -0
- package/.lintstagedrc.js +4 -0
- package/.prettierrc.json +1 -0
- package/@types/declarations.d.ts +1 -0
- package/@types/event.d.ts +1 -0
- package/app.json +36 -0
- package/babel.config.js +7 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.js +8 -9
- package/dist/pact.config.d.ts +13 -0
- package/dist/pact.config.js +9 -0
- package/dist/public/assets/adaptive-icon.png +0 -0
- package/dist/public/assets/favicon.png +0 -0
- package/dist/public/assets/icon.png +0 -0
- package/dist/public/assets/splash.png +0 -0
- package/dist/src/Expo.js +5 -0
- package/dist/src/ExpoRoot.d.ts +5 -0
- package/dist/src/ExpoRoot.js +148 -0
- package/dist/src/domain/checkout/event/createModalNotificationWhenCheckoutSubmitted.js +12 -0
- package/dist/src/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.js +11 -0
- package/dist/src/domain/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.js +12 -0
- package/dist/src/infrastructure/delivery/baseBootstrap.js +97 -0
- package/dist/src/infrastructure/delivery/bootstrap.js +64 -0
- package/dist/src/infrastructure/domain/checkout/model/httpCheckouts.d.ts +16 -0
- package/dist/src/infrastructure/domain/checkout/react/useStartCheckout.d.ts +15 -0
- package/dist/src/infrastructure/domain/checkout/react/useStartCheckout.js +21 -0
- package/dist/src/infrastructure/domain/checkout/react/useSubmitCheckout.d.ts +15 -0
- package/dist/src/infrastructure/domain/checkout/react/useSubmitCheckout.js +26 -0
- package/dist/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +16 -0
- package/dist/src/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.d.ts +15 -0
- package/dist/src/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.js +27 -0
- package/dist/src/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.d.ts +16 -0
- package/dist/src/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.js +28 -0
- package/dist/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacks.d.ts +16 -0
- package/dist/src/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.d.ts +19 -0
- package/dist/src/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.js +27 -0
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.d.ts +16 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +15 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.js +24 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +18 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.js +24 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.d.ts +15 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.js +24 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +19 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.js +28 -0
- package/dist/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.d.ts +18 -0
- package/dist/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.js +22 -0
- package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.js +27 -0
- package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.d.ts +12 -0
- package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.js +46 -0
- package/dist/src/infrastructure/projection/checkout/checkout.mock.d.ts +19 -0
- package/dist/src/infrastructure/projection/checkout/checkout.mock.js +21 -0
- package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.js +105 -0
- package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.js +47 -0
- package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.js +42 -0
- package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.js +42 -0
- package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.js +42 -0
- package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.js +6 -0
- package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.js +47 -0
- package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.d.ts +15 -0
- package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.js +43 -0
- package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.js +48 -0
- package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.js +103 -0
- package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.js +46 -0
- package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.js +103 -0
- package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.d.ts +6 -0
- package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.js +183 -0
- package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.js +46 -0
- package/dist/src/infrastructure/projection/pricing/pricing.mock.d.ts +9 -0
- package/dist/src/infrastructure/projection/pricing/pricing.mock.js +42 -0
- package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.js +46 -0
- package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.js +400 -0
- package/dist/src/infrastructure/tracking/tracking.d.ts +112 -0
- package/dist/src/infrastructure/tracking/tracking.js +31 -0
- package/dist/src/infrastructure/tracking/useTrackAssignedVariationByExperiment.d.ts +20 -0
- package/dist/src/infrastructure/tracking/useTrackAssignedVariationByExperiment.js +25 -0
- package/dist/src/infrastructure/tracking/useTrackChangeFeedback.d.ts +22 -0
- package/dist/src/infrastructure/tracking/useTrackChangeFeedback.js +26 -0
- package/dist/src/infrastructure/tracking/useTrackCheckout.d.ts +30 -0
- package/dist/src/infrastructure/tracking/useTrackCheckout.js +38 -0
- package/dist/src/infrastructure/tracking/useTrackImageView.d.ts +23 -0
- package/dist/src/infrastructure/tracking/useTrackImageView.js +25 -0
- package/dist/src/infrastructure/tracking/useTrackItemPageView.d.ts +20 -0
- package/dist/src/infrastructure/tracking/useTrackItemPageView.js +38 -0
- package/dist/src/infrastructure/tracking/useTrackKeepItem.d.ts +18 -0
- package/dist/src/infrastructure/tracking/useTrackKeepItem.js +24 -0
- package/dist/src/infrastructure/tracking/useTrackPageView.d.ts +14 -0
- package/dist/src/infrastructure/tracking/useTrackPageView.js +21 -0
- package/dist/src/infrastructure/tracking/useTrackPressBack.d.ts +17 -0
- package/dist/src/infrastructure/tracking/useTrackPressBack.js +22 -0
- package/dist/src/infrastructure/tracking/useTrackPressContinue.d.ts +17 -0
- package/dist/src/infrastructure/tracking/useTrackPressContinue.js +22 -0
- package/dist/src/infrastructure/tracking/useTrackPressItem.d.ts +20 -0
- package/dist/src/infrastructure/tracking/useTrackPressItem.js +23 -0
- package/dist/src/infrastructure/tracking/useTrackPressNext.d.ts +21 -0
- package/dist/src/infrastructure/tracking/useTrackPressNext.js +24 -0
- package/dist/src/infrastructure/tracking/useTrackPressPrevious.d.ts +21 -0
- package/dist/src/infrastructure/tracking/useTrackPressPrevious.js +24 -0
- package/dist/src/infrastructure/tracking/useTrackPressPricing.d.ts +20 -0
- package/dist/src/infrastructure/tracking/useTrackPressPricing.js +24 -0
- package/dist/src/infrastructure/tracking/useTrackReplaceItem.d.ts +22 -0
- package/dist/src/infrastructure/tracking/useTrackReplaceItem.js +25 -0
- package/dist/src/infrastructure/tracking/useTrackResetItem.d.ts +18 -0
- package/dist/src/infrastructure/tracking/useTrackResetItem.js +23 -0
- package/dist/src/infrastructure/tracking/useTrackReturnItem.d.ts +18 -0
- package/dist/src/infrastructure/tracking/useTrackReturnItem.js +23 -0
- package/dist/src/infrastructure/tracking/useTrackTabView.d.ts +17 -0
- package/dist/src/infrastructure/tracking/useTrackTabView.js +23 -0
- package/dist/src/infrastructure/ui/Root.d.ts +36 -0
- package/dist/src/infrastructure/ui/Root.js +23 -0
- package/dist/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +16 -0
- package/dist/src/infrastructure/ui/components/atoms/price/Price.js +31 -0
- package/dist/src/infrastructure/ui/components/atoms/price/Price.style.js +19 -0
- package/dist/src/infrastructure/ui/components/layouts/body/Body.js +6 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +12 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.js +12 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.js +12 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.js +12 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.js +15 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.js +28 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.js +12 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +23 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +18 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +14 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.style.js +14 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +40 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +17 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +27 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.style.js +9 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.d.ts +11 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.js +16 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.d.ts +12 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.js +15 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +14 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +15 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +49 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.style.js +7 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +20 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +13 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +20 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.js +11 -0
- package/dist/src/infrastructure/ui/components/templates/footer/Footer.js +13 -0
- package/dist/src/infrastructure/ui/components/templates/header/Header.style.js +18 -0
- package/dist/src/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.js +11 -0
- package/dist/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.js +16 -0
- package/dist/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.style.js +10 -0
- package/dist/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.js +10 -0
- package/dist/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.js +14 -0
- package/dist/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.js +35 -0
- package/dist/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.style.js +10 -0
- package/dist/src/infrastructure/ui/components/templates/header/logo/Logo.d.ts +3 -0
- package/dist/src/infrastructure/ui/components/templates/header/logo/Logo.js +5 -0
- package/dist/src/infrastructure/ui/hooks/useNewFeedbackExperiment.d.ts +11 -0
- package/dist/src/infrastructure/ui/hooks/useNewFeedbackExperiment.js +49 -0
- package/dist/src/infrastructure/ui/hooks/usePaymentInstrumentEvents.d.ts +9 -0
- package/dist/src/infrastructure/ui/hooks/usePaymentInstrumentEvents.js +29 -0
- package/dist/src/infrastructure/ui/hooks/useStaticInfo.d.ts +15 -0
- package/dist/src/infrastructure/ui/hooks/useStaticInfo.js +13 -0
- package/dist/src/infrastructure/ui/hooks/useSubmitCheckout.d.ts +27 -0
- package/dist/src/infrastructure/ui/hooks/useSubmitCheckout.js +63 -0
- package/dist/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +21 -0
- package/dist/src/infrastructure/ui/routing/CheckoutMiddleware.js +91 -0
- package/dist/src/infrastructure/ui/routing/Routing.d.ts +32 -0
- package/dist/src/infrastructure/ui/routing/Routing.js +93 -0
- package/dist/src/infrastructure/ui/test/createWrapper.d.ts +12 -0
- package/dist/src/infrastructure/ui/test/createWrapper.js +5 -0
- package/dist/src/infrastructure/ui/test/render.d.ts +15 -0
- package/dist/src/infrastructure/ui/test/render.js +16 -0
- package/dist/src/infrastructure/ui/views/App.js +15 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.d.ts +9 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.js +85 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.style.js +63 -0
- package/dist/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.d.ts +12 -0
- package/dist/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.js +90 -0
- package/dist/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.d.ts +3 -0
- package/dist/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.js +9 -0
- package/dist/src/infrastructure/ui/views/checkout/components/paymentInstrument/PaymentInstrument.js +12 -0
- package/dist/src/infrastructure/ui/views/feedback/Feedback.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/feedback/Feedback.js +85 -0
- package/dist/src/infrastructure/ui/views/feedback/Feedback.style.js +17 -0
- package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.js +39 -0
- package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.js +10 -0
- package/dist/src/infrastructure/ui/views/item/Item.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/item/Item.js +179 -0
- package/dist/src/infrastructure/ui/views/item/Item.style.js +20 -0
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +24 -0
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +12 -0
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +22 -0
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +22 -0
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +25 -0
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.d.ts +16 -0
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.js +39 -0
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.d.ts +26 -0
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.js +29 -0
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +23 -0
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +20 -0
- package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +35 -0
- package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +32 -0
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +29 -0
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +12 -0
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +40 -0
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +12 -0
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +15 -0
- package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.js +18 -0
- package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.style.d.ts +18 -0
- package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.style.js +21 -0
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +18 -0
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +15 -0
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +18 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.d.ts +18 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.js +47 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.d.ts +17 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.js +20 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.d.ts +18 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.js +71 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.js +10 -0
- package/dist/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.d.ts +19 -0
- package/dist/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.js +35 -0
- package/dist/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.style.js +18 -0
- package/dist/src/infrastructure/ui/views/return/Return.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/return/Return.js +141 -0
- package/dist/src/infrastructure/ui/views/return/Return.style.js +47 -0
- package/dist/src/infrastructure/ui/views/return/components/price/Price.js +25 -0
- package/dist/src/infrastructure/ui/views/return/components/price/Price.style.js +19 -0
- package/dist/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.js +36 -0
- package/dist/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.style.js +34 -0
- package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +38 -0
- package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.style.js +43 -0
- package/dist/src/infrastructure/ui/views/summary/Summary.d.ts +8 -0
- package/dist/src/infrastructure/ui/views/summary/Summary.js +98 -0
- package/dist/src/infrastructure/ui/views/summary/Summary.style.js +70 -0
- package/dist/src/infrastructure/ui/views/summary/components/pricing/Pricing.js +52 -0
- package/dist/src/infrastructure/ui/views/summary/components/pricing/Pricing.style.js +31 -0
- package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +13 -0
- package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.js +9 -0
- package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.js +10 -0
- package/dist/src/infrastructure/ui/views/summaryTabs/SummaryTabs.d.ts +3 -0
- package/dist/src/infrastructure/ui/views/summaryTabs/SummaryTabs.js +58 -0
- package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.js +24 -0
- package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +18 -0
- package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +21 -0
- package/dist/src/projection/payment/paymentFlowPayload.js +1 -0
- package/dist/src/projection/pricing/pricing.js +1 -0
- package/dist/src/projection/shared/customer.d.ts +8 -0
- package/dist/src/projection/shared/customer.js +1 -0
- package/dist/src/projection/shared/order.js +1 -0
- package/dist/src/projection/shared/price.js +1 -0
- package/dist/src/projection/shared/subscription.js +1 -0
- package/dist/src/shared/ui/components/atoms/error/Error.js +4 -0
- package/dist/src/shared/ui/components/atoms/field/Field.js +26 -0
- package/dist/src/shared/ui/components/atoms/field/Field.style.js +19 -0
- package/dist/src/shared/ui/components/molecules/inputField/InputField.d.ts +24 -0
- package/dist/src/shared/ui/components/molecules/inputField/InputField.js +29 -0
- package/dist/src/shared/ui/components/molecules/inputField/InputField.style.js +37 -0
- package/dist/src/version.d.ts +1 -0
- package/dist/src/version.js +1 -0
- package/index.ts +73 -0
- package/jest.config.js +10 -0
- package/jest.setup.js +65 -0
- package/package.json +61 -112
- package/pact.config.ts +31 -0
- package/pact.publish.js +32 -0
- package/public/assets/adaptive-icon.png +0 -0
- package/public/assets/favicon.png +0 -0
- package/public/assets/icon.png +0 -0
- package/public/assets/splash.png +0 -0
- package/public/images/not-found.png +0 -0
- package/src/Expo.tsx +7 -0
- package/src/ExpoRoot.tsx +193 -0
- package/src/domain/checkout/command/startCheckout.test.ts +12 -0
- package/src/domain/checkout/command/startCheckout.ts +18 -0
- package/src/domain/checkout/command/submitCheckout.test.ts +12 -0
- package/src/domain/checkout/command/submitCheckout.ts +18 -0
- package/src/domain/checkout/event/createModalNotificationWhenCheckoutSubmitted.test.ts +31 -0
- package/src/domain/checkout/event/createModalNotificationWhenCheckoutSubmitted.ts +23 -0
- package/src/domain/checkout/model/checkout.test.ts +77 -0
- package/src/domain/checkout/model/checkout.ts +55 -0
- package/src/domain/checkout/model/checkoutStarted.test.ts +12 -0
- package/src/domain/checkout/model/checkoutStarted.ts +22 -0
- package/src/domain/checkout/model/checkoutSubmitted.test.ts +12 -0
- package/src/domain/checkout/model/checkoutSubmitted.ts +22 -0
- package/src/domain/checkout/model/checkouts.ts +15 -0
- package/src/domain/checkoutBooking/command/blockCheckoutBooking.test.ts +12 -0
- package/src/domain/checkoutBooking/command/blockCheckoutBooking.ts +19 -0
- package/src/domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.test.ts +17 -0
- package/src/domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.ts +27 -0
- package/src/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.test.ts +33 -0
- package/src/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.ts +23 -0
- package/src/domain/checkoutBooking/model/checkoutBooking.test.ts +71 -0
- package/src/domain/checkoutBooking/model/checkoutBooking.ts +46 -0
- package/src/domain/checkoutBooking/model/checkoutBookingBlocked.test.ts +12 -0
- package/src/domain/checkoutBooking/model/checkoutBookingBlocked.ts +19 -0
- package/src/domain/checkoutBooking/model/checkoutBookingBooked.test.ts +14 -0
- package/src/domain/checkoutBooking/model/checkoutBookingBooked.ts +25 -0
- package/src/domain/checkoutBooking/model/checkoutBookingExpired.test.ts +12 -0
- package/src/domain/checkoutBooking/model/checkoutBookingExpired.ts +22 -0
- package/src/domain/checkoutBooking/model/checkoutBookings.ts +15 -0
- package/src/domain/checkoutFeedback/command/giveCheckoutFeedback.test.ts +13 -0
- package/src/domain/checkoutFeedback/command/giveCheckoutFeedback.ts +23 -0
- package/src/domain/checkoutFeedback/model/checkoutFeedback.test.ts +30 -0
- package/src/domain/checkoutFeedback/model/checkoutFeedback.ts +25 -0
- package/src/domain/checkoutFeedback/model/checkoutFeedbackGiven.test.ts +14 -0
- package/src/domain/checkoutFeedback/model/checkoutFeedbackGiven.ts +25 -0
- package/src/domain/checkoutFeedback/model/checkoutFeedbacks.ts +15 -0
- package/src/domain/checkoutFeedback/model/feedbacks.ts +5 -0
- package/src/domain/checkoutItem/command/keepCheckoutItem.test.ts +12 -0
- package/src/domain/checkoutItem/command/keepCheckoutItem.ts +19 -0
- package/src/domain/checkoutItem/command/replaceCheckoutItem.test.ts +14 -0
- package/src/domain/checkoutItem/command/replaceCheckoutItem.ts +22 -0
- package/src/domain/checkoutItem/command/resetCheckoutItem.test.ts +12 -0
- package/src/domain/checkoutItem/command/resetCheckoutItem.ts +19 -0
- package/src/domain/checkoutItem/command/returnCheckoutItem.test.ts +13 -0
- package/src/domain/checkoutItem/command/returnCheckoutItem.ts +23 -0
- package/src/domain/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.test.ts +31 -0
- package/src/domain/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.ts +24 -0
- package/src/domain/checkoutItem/model/checkoutItem.test.ts +80 -0
- package/src/domain/checkoutItem/model/checkoutItem.ts +84 -0
- package/src/domain/checkoutItem/model/checkoutItemKept.test.ts +12 -0
- package/src/domain/checkoutItem/model/checkoutItemKept.ts +22 -0
- package/src/domain/checkoutItem/model/checkoutItemReplaced.test.ts +12 -0
- package/src/domain/checkoutItem/model/checkoutItemReplaced.ts +22 -0
- package/src/domain/checkoutItem/model/checkoutItemReset.test.ts +12 -0
- package/src/domain/checkoutItem/model/checkoutItemReset.ts +22 -0
- package/src/domain/checkoutItem/model/checkoutItemReturned.test.ts +12 -0
- package/src/domain/checkoutItem/model/checkoutItemReturned.ts +22 -0
- package/src/domain/checkoutItem/model/checkoutItems.ts +15 -0
- package/src/domain/checkoutItem/model/currency.ts +7 -0
- package/src/domain/checkoutItem/model/feedbacks.ts +5 -0
- package/src/domain/checkoutItem/model/price.ts +12 -0
- package/src/domain/uiSetting/command/updateUiSetting.test.ts +18 -0
- package/src/domain/uiSetting/command/updateUiSetting.ts +26 -0
- package/src/domain/uiSetting/model/uiSetting.test.ts +25 -0
- package/src/domain/uiSetting/model/uiSetting.ts +24 -0
- package/src/domain/uiSetting/model/uiSettingUpdated.test.ts +16 -0
- package/src/domain/uiSetting/model/uiSettingUpdated.ts +25 -0
- package/src/domain/uiSetting/model/uiSettings.ts +15 -0
- package/src/infrastructure/ab-testing/kameleoonEnvironment.ts +13 -0
- package/src/infrastructure/delivery/baseBootstrap.ts +336 -0
- package/src/infrastructure/delivery/bootstrap.mock.ts +113 -0
- package/src/infrastructure/delivery/bootstrap.ts +77 -0
- package/src/infrastructure/delivery/mock/checkoutBookingDataSource.ts +31 -0
- package/src/infrastructure/delivery/mock/checkoutDataSource.ts +45 -0
- package/src/infrastructure/delivery/mock/checkoutFeedbackDataSource.ts +31 -0
- package/src/infrastructure/delivery/mock/dataSourceCheckoutBookings.ts +60 -0
- package/src/infrastructure/delivery/mock/dataSourceCheckoutFeedbacks.ts +31 -0
- package/src/infrastructure/delivery/mock/dataSourceCheckoutItems.ts +61 -0
- package/src/infrastructure/delivery/mock/dataSourceCheckouts.ts +56 -0
- package/src/infrastructure/domain/checkout/model/httpCheckouts.test.ts +65 -0
- package/src/infrastructure/domain/checkout/model/httpCheckouts.ts +58 -0
- package/src/infrastructure/domain/checkout/model/httpCheckoutsStart.test.ts +44 -0
- package/src/infrastructure/domain/checkout/model/httpCheckoutsStart.ts +25 -0
- package/src/infrastructure/domain/checkout/model/httpCheckoutsSubmit.test.ts +44 -0
- package/src/infrastructure/domain/checkout/model/httpCheckoutsSubmit.ts +25 -0
- package/src/infrastructure/domain/checkout/react/useStartCheckout.test.ts +92 -0
- package/src/infrastructure/domain/checkout/react/useStartCheckout.ts +41 -0
- package/src/infrastructure/domain/checkout/react/useSubmitCheckout.test.ts +85 -0
- package/src/infrastructure/domain/checkout/react/useSubmitCheckout.ts +46 -0
- package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.test.ts +45 -0
- package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.ts +61 -0
- package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBlock.test.ts +41 -0
- package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBlock.ts +30 -0
- package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBook.test.ts +45 -0
- package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBook.ts +33 -0
- package/src/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.test.ts +83 -0
- package/src/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.ts +49 -0
- package/src/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.test.ts +71 -0
- package/src/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.ts +54 -0
- package/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacks.test.ts +34 -0
- package/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacks.ts +30 -0
- package/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.test.ts +42 -0
- package/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.ts +28 -0
- package/src/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.test.ts +81 -0
- package/src/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.ts +56 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.test.ts +75 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.ts +68 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsKeep.test.ts +45 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsKeep.ts +25 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReplace.test.ts +45 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReplace.ts +28 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReset.test.ts +45 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReset.ts +25 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReturn.test.ts +45 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReturn.ts +28 -0
- package/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.test.ts +83 -0
- package/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.ts +43 -0
- package/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.test.ts +83 -0
- package/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.ts +50 -0
- package/src/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.test.ts +83 -0
- package/src/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.ts +43 -0
- package/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.test.ts +83 -0
- package/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.ts +55 -0
- package/src/infrastructure/domain/uiSetting/model/storageUiSettings.test.ts +50 -0
- package/src/infrastructure/domain/uiSetting/model/storageUiSettings.ts +49 -0
- package/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.test.ts +62 -0
- package/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.ts +50 -0
- package/src/infrastructure/persistence/asyncStorageStorage.ts +13 -0
- package/src/infrastructure/persistence/storage.ts +9 -0
- package/src/infrastructure/persistence/uiSettingData.ts +7 -0
- package/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.ts +30 -0
- package/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.ts +60 -0
- package/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.test.ts +55 -0
- package/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.ts +34 -0
- package/src/infrastructure/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.test.ts +32 -0
- package/src/infrastructure/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.ts +32 -0
- package/src/infrastructure/projection/checkout/checkout.mock.ts +42 -0
- package/src/infrastructure/projection/checkout/checkout.ts +25 -0
- package/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.ts +124 -0
- package/src/infrastructure/projection/checkout/httpCheckoutByIdView.test.ts +56 -0
- package/src/infrastructure/projection/checkout/httpCheckoutByIdView.ts +32 -0
- package/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.ts +61 -0
- package/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.test.ts +56 -0
- package/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.ts +35 -0
- package/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.ts +55 -0
- package/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.test.ts +39 -0
- package/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.ts +29 -0
- package/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.ts +55 -0
- package/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.test.ts +38 -0
- package/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.ts +29 -0
- package/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.ts +55 -0
- package/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.test.ts +38 -0
- package/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.ts +29 -0
- package/src/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.test.ts +29 -0
- package/src/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.ts +49 -0
- package/src/infrastructure/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.test.ts +28 -0
- package/src/infrastructure/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.ts +25 -0
- package/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.test.ts +45 -0
- package/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.ts +33 -0
- package/src/infrastructure/projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId.test.ts +41 -0
- package/src/infrastructure/projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId.ts +30 -0
- package/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.ts +9 -0
- package/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.ts +61 -0
- package/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.test.ts +56 -0
- package/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.ts +34 -0
- package/src/infrastructure/projection/checkoutFeedback/checkoutFeedback.mock.ts +8 -0
- package/src/infrastructure/projection/checkoutItem/checkoutItem.mock.ts +68 -0
- package/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.ts +62 -0
- package/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.test.ts +56 -0
- package/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.ts +34 -0
- package/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.ts +108 -0
- package/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.ts +60 -0
- package/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.test.ts +55 -0
- package/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.ts +34 -0
- package/src/infrastructure/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.test.ts +38 -0
- package/src/infrastructure/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.ts +21 -0
- package/src/infrastructure/projection/feedback/feedback.mock.ts +9 -0
- package/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.ts +130 -0
- package/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.test.ts +55 -0
- package/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.ts +34 -0
- package/src/infrastructure/projection/payment/paymentFlowPayload.mock.ts +194 -0
- package/src/infrastructure/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.test.ts +29 -0
- package/src/infrastructure/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.ts +33 -0
- package/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.ts +60 -0
- package/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.test.ts +55 -0
- package/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.ts +35 -0
- package/src/infrastructure/projection/pricing/pricing.mock.ts +53 -0
- package/src/infrastructure/projection/pricing/pricing.ts +32 -0
- package/src/infrastructure/projection/pricing/react/useViewPricingByCheckoutId.test.ts +32 -0
- package/src/infrastructure/projection/pricing/react/useViewPricingByCheckoutId.ts +50 -0
- package/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.ts +60 -0
- package/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.test.ts +55 -0
- package/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.ts +34 -0
- package/src/infrastructure/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.test.ts +34 -0
- package/src/infrastructure/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.ts +21 -0
- package/src/infrastructure/projection/returnQuestion/returnQuestions.mock.ts +402 -0
- package/src/infrastructure/projection/uiSetting/react/useViewUiSettingByKey.test.ts +33 -0
- package/src/infrastructure/projection/uiSetting/react/useViewUiSettingByKey.ts +22 -0
- package/src/infrastructure/projection/uiSetting/storageUiSettingByKeyView.test.ts +36 -0
- package/src/infrastructure/projection/uiSetting/storageUiSettingByKeyView.ts +37 -0
- package/src/infrastructure/tracking/tracking.ts +160 -0
- package/src/infrastructure/tracking/useTrackAssignedVariationByExperiment.test.ts +50 -0
- package/src/infrastructure/tracking/useTrackAssignedVariationByExperiment.ts +61 -0
- package/src/infrastructure/tracking/useTrackChangeFeedback.test.tsx +48 -0
- package/src/infrastructure/tracking/useTrackChangeFeedback.ts +56 -0
- package/src/infrastructure/tracking/useTrackCheckout.test.tsx +67 -0
- package/src/infrastructure/tracking/useTrackCheckout.ts +86 -0
- package/src/infrastructure/tracking/useTrackImageView.test.tsx +47 -0
- package/src/infrastructure/tracking/useTrackImageView.ts +63 -0
- package/src/infrastructure/tracking/useTrackItemPageView.test.tsx +50 -0
- package/src/infrastructure/tracking/useTrackItemPageView.ts +72 -0
- package/src/infrastructure/tracking/useTrackKeepItem.test.tsx +43 -0
- package/src/infrastructure/tracking/useTrackKeepItem.ts +47 -0
- package/src/infrastructure/tracking/useTrackPageView.test.tsx +40 -0
- package/src/infrastructure/tracking/useTrackPageView.ts +39 -0
- package/src/infrastructure/tracking/useTrackPressBack.test.tsx +41 -0
- package/src/infrastructure/tracking/useTrackPressBack.ts +45 -0
- package/src/infrastructure/tracking/useTrackPressContinue.test.tsx +40 -0
- package/src/infrastructure/tracking/useTrackPressContinue.ts +50 -0
- package/src/infrastructure/tracking/useTrackPressItem.test.tsx +41 -0
- package/src/infrastructure/tracking/useTrackPressItem.ts +51 -0
- package/src/infrastructure/tracking/useTrackPressNext.test.tsx +45 -0
- package/src/infrastructure/tracking/useTrackPressNext.ts +54 -0
- package/src/infrastructure/tracking/useTrackPressPrevious.test.tsx +45 -0
- package/src/infrastructure/tracking/useTrackPressPrevious.ts +60 -0
- package/src/infrastructure/tracking/useTrackPressPricing.test.tsx +41 -0
- package/src/infrastructure/tracking/useTrackPressPricing.ts +52 -0
- package/src/infrastructure/tracking/useTrackReplaceItem.test.tsx +45 -0
- package/src/infrastructure/tracking/useTrackReplaceItem.ts +62 -0
- package/src/infrastructure/tracking/useTrackResetItem.test.tsx +42 -0
- package/src/infrastructure/tracking/useTrackResetItem.ts +46 -0
- package/src/infrastructure/tracking/useTrackReturnItem.test.tsx +42 -0
- package/src/infrastructure/tracking/useTrackReturnItem.ts +46 -0
- package/src/infrastructure/tracking/useTrackTabView.test.tsx +42 -0
- package/src/infrastructure/tracking/useTrackTabView.ts +53 -0
- package/src/infrastructure/ui/Root.tsx +92 -0
- package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.ts +11 -0
- package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.test.tsx +20 -0
- package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.tsx +34 -0
- package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/__snapshots__/FiveItemsDiscountBanner.test.tsx.snap +115 -0
- package/src/infrastructure/ui/components/atoms/price/Price.style.ts +22 -0
- package/src/infrastructure/ui/components/atoms/price/Price.test.tsx +49 -0
- package/src/infrastructure/ui/components/atoms/price/Price.tsx +70 -0
- package/src/infrastructure/ui/components/atoms/price/__snapshots__/Price.test.tsx.snap +159 -0
- package/src/infrastructure/ui/components/layouts/body/Body.style.ts +10 -0
- package/src/infrastructure/ui/components/layouts/body/Body.test.tsx +36 -0
- package/src/infrastructure/ui/components/layouts/body/Body.tsx +19 -0
- package/src/infrastructure/ui/components/layouts/body/__snapshots__/Body.test.tsx.snap +143 -0
- package/src/infrastructure/ui/components/layouts/layout/Layout.ts +25 -0
- package/src/infrastructure/ui/components/layouts/layout/components/footer/Footer.test.tsx +40 -0
- package/src/infrastructure/ui/components/layouts/layout/components/footer/Footer.tsx +9 -0
- package/src/infrastructure/ui/components/layouts/layout/components/footer/__snapshots__/Footer.test.tsx.snap +36 -0
- package/src/infrastructure/ui/components/layouts/layout/components/header/Header.style.ts +21 -0
- package/src/infrastructure/ui/components/layouts/layout/components/header/Header.test.tsx +26 -0
- package/src/infrastructure/ui/components/layouts/layout/components/header/Header.tsx +10 -0
- package/src/infrastructure/ui/components/layouts/layout/components/header/__snapshots__/Header.test.tsx.snap +45 -0
- package/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.style.ts +15 -0
- package/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.test.tsx +66 -0
- package/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.tsx +45 -0
- package/src/infrastructure/ui/components/layouts/layout/dummyLayout/__snapshots__/DummyLayout.test.tsx.snap +1349 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/CheckoutQuestion.test.tsx +85 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/CheckoutQuestion.tsx +33 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/CheckoutQuestions.test.tsx +70 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/CheckoutQuestions.tsx +17 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.test.ts +65 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.tsx +113 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.test.tsx +82 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.tsx +45 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.ts +14 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.ts +10 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.test.tsx +42 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.tsx +34 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.ts +15 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.tsx +24 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultReturnQuestionItem.test.tsx +33 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.ts +18 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.test.tsx +59 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.tsx +24 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.ts +9 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.test.tsx +50 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.tsx +55 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.tsx +13 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.tsx +13 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.tsx +13 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.test.tsx +50 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.tsx +36 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.test.tsx +82 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.tsx +35 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.test.tsx +63 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.tsx +23 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/isChildReturnQuestion.ts +32 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.test.ts +61 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.tsx +147 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.test.tsx +78 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.tsx +42 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.ts +14 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.test.tsx +50 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.tsx +8 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.ts +21 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.test.tsx +61 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.tsx +41 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.style.ts +17 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.tsx +31 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.ts +20 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.test.tsx +112 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.tsx +98 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.tsx +21 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.style.ts +12 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.test.tsx +110 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.tsx +73 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.ts +18 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.tsx +48 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.ts +18 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.test.tsx +60 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.tsx +37 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.style.ts +10 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.tsx +97 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.ts +16 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.test.tsx +88 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.tsx +38 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.ts +14 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.test.tsx +64 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.tsx +50 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/util/__snapshots__/returnQuestionFeedback.test.ts.snap +46 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.test.ts +33 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.ts +120 -0
- package/src/infrastructure/ui/components/templates/footer/Footer.test.tsx +15 -0
- package/src/infrastructure/ui/components/templates/footer/Footer.tsx +19 -0
- package/src/infrastructure/ui/components/templates/footer/__snapshots__/Footer.test.tsx.snap +1127 -0
- package/src/infrastructure/ui/components/templates/header/Header.style.ts +22 -0
- package/src/infrastructure/ui/components/templates/header/Header.test.tsx +26 -0
- package/src/infrastructure/ui/components/templates/header/Header.tsx +17 -0
- package/src/infrastructure/ui/components/templates/header/__snapshots__/Header.test.tsx.snap +55 -0
- package/src/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.ts +14 -0
- package/src/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.tsx +7 -0
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.style.ts +13 -0
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.test.tsx +23 -0
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.tsx +28 -0
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/__snapshots__/CheckoutHeader.test.tsx.snap +213 -0
- package/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.test.tsx +23 -0
- package/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.tsx +18 -0
- package/src/infrastructure/ui/components/templates/header/defaultHeader/__snapshots__/DefaultHeader.test.tsx.snap +195 -0
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.test.tsx +23 -0
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.tsx +25 -0
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/__snapshots__/ItemDetailHeader.test.tsx.snap +201 -0
- package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.style.ts +13 -0
- package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.test.tsx +51 -0
- package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.tsx +89 -0
- package/src/infrastructure/ui/components/templates/header/itemHeader/__snapshots__/ItemHeader.test.tsx.snap +314 -0
- package/src/infrastructure/ui/components/templates/header/logo/Logo.Base64.ts +4 -0
- package/src/infrastructure/ui/components/templates/header/logo/Logo.tsx +7 -0
- package/src/infrastructure/ui/hooks/useMediaImage.ts +23 -0
- package/src/infrastructure/ui/hooks/useNewFeedbackExperiment.test.tsx +84 -0
- package/src/infrastructure/ui/hooks/useNewFeedbackExperiment.tsx +82 -0
- package/src/infrastructure/ui/hooks/usePaymentInstrumentEvents.ts +75 -0
- package/src/infrastructure/ui/hooks/useStaticInfo.test.tsx +31 -0
- package/src/infrastructure/ui/hooks/useStaticInfo.tsx +36 -0
- package/src/infrastructure/ui/hooks/useSubmitCheckout.test.ts +239 -0
- package/src/infrastructure/ui/hooks/useSubmitCheckout.ts +119 -0
- package/src/infrastructure/ui/i18n/fetchTranslations.test.ts +29 -0
- package/src/infrastructure/ui/i18n/fetchTranslations.ts +27 -0
- package/src/infrastructure/ui/i18n/i18n.ts +61 -0
- package/src/infrastructure/ui/i18n/translationEndpoint.test.ts +13 -0
- package/src/infrastructure/ui/i18n/translationEndpoint.ts +50 -0
- package/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.test.tsx +74 -0
- package/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.tsx +39 -0
- package/src/infrastructure/ui/routing/CheckoutMiddleware.test.tsx +285 -0
- package/src/infrastructure/ui/routing/CheckoutMiddleware.tsx +134 -0
- package/src/infrastructure/ui/routing/Routing.tsx +178 -0
- package/src/infrastructure/ui/routing/router/Router.native.ts +1 -0
- package/src/infrastructure/ui/routing/router/Router.ts +1 -0
- package/src/infrastructure/ui/routing/routes.ts +11 -0
- package/src/infrastructure/ui/routing/useBasePath.test.tsx +19 -0
- package/src/infrastructure/ui/routing/useBasePath.tsx +24 -0
- package/src/infrastructure/ui/settings/UISettings.ts +3 -0
- package/src/infrastructure/ui/test/createWrapper.tsx +17 -0
- package/src/infrastructure/ui/test/render.tsx +46 -0
- package/src/infrastructure/ui/views/App.tsx +32 -0
- package/src/infrastructure/ui/views/checkout/Checkout.style.ts +66 -0
- package/src/infrastructure/ui/views/checkout/Checkout.test.tsx +144 -0
- package/src/infrastructure/ui/views/checkout/Checkout.tsx +162 -0
- package/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.test.tsx +131 -0
- package/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.tsx +125 -0
- package/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.test.tsx +17 -0
- package/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.tsx +19 -0
- package/src/infrastructure/ui/views/checkout/components/deliveryBanner/__snapshots__/DeliveryBanner.test.tsx.snap +93 -0
- package/src/infrastructure/ui/views/checkout/components/paymentInstrument/PaymentInstrument.tsx +27 -0
- package/src/infrastructure/ui/views/feedback/Feedback.style.ts +20 -0
- package/src/infrastructure/ui/views/feedback/Feedback.test.tsx +122 -0
- package/src/infrastructure/ui/views/feedback/Feedback.tsx +130 -0
- package/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.ts +13 -0
- package/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.test.tsx +50 -0
- package/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.tsx +73 -0
- package/src/infrastructure/ui/views/item/Item.style.ts +23 -0
- package/src/infrastructure/ui/views/item/Item.test.tsx +311 -0
- package/src/infrastructure/ui/views/item/Item.tsx +294 -0
- package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.ts +15 -0
- package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.test.tsx +37 -0
- package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.tsx +42 -0
- package/src/infrastructure/ui/views/item/components/banner/__snapshots__/CustomerDecissionBanner.test.tsx.snap +508 -0
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.ts +28 -0
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.test.tsx +50 -0
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.tsx +44 -0
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/__snapshots__/GetOutOfCheckoutModal.test.tsx.snap +461 -0
- package/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.ts +32 -0
- package/src/infrastructure/ui/views/item/components/itemActions/ItemActions.test.tsx +129 -0
- package/src/infrastructure/ui/views/item/components/itemActions/ItemActions.tsx +109 -0
- package/src/infrastructure/ui/views/item/components/itemActions/__snapshots__/ItemActions.test.tsx.snap +492 -0
- package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.ts +23 -0
- package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.test.tsx +66 -0
- package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.tsx +52 -0
- package/src/infrastructure/ui/views/item/components/productVariantDescription/__snapshots__/ProductVariantDescription.test.tsx.snap +315 -0
- package/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.ts +36 -0
- package/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.test.tsx +59 -0
- package/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.tsx +83 -0
- package/src/infrastructure/ui/views/item/components/productVariantSlider/__snapshots__/ProductVariantSlider.test.tsx.snap +340 -0
- package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.ts +15 -0
- package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.tsx +49 -0
- package/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.ts +18 -0
- package/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.tsx +79 -0
- package/src/infrastructure/ui/views/item/components/selectModal/SelecModal.test.tsx +44 -0
- package/src/infrastructure/ui/views/item/components/selectModal/SelectModal.style.ts +24 -0
- package/src/infrastructure/ui/views/item/components/selectModal/SelectModal.tsx +83 -0
- package/src/infrastructure/ui/views/item/components/selectModal/__snapshots__/SelecModal.test.tsx.snap +297 -0
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.ts +20 -0
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.test.tsx +47 -0
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.tsx +33 -0
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/__snapshots__/SizeWithoutStockModal.test.tsx.snap +402 -0
- package/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.ts +23 -0
- package/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.test.tsx +137 -0
- package/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.tsx +100 -0
- package/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.ts +13 -0
- package/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.test.tsx +211 -0
- package/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.tsx +135 -0
- package/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.style.ts +21 -0
- package/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.test.tsx +122 -0
- package/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.tsx +92 -0
- package/src/infrastructure/ui/views/item/views/productVariant/__snapshots__/ProductVariant.test.tsx.snap +1462 -0
- package/src/infrastructure/ui/views/return/Return.style.ts +50 -0
- package/src/infrastructure/ui/views/return/Return.tsx +234 -0
- package/src/infrastructure/ui/views/return/components/price/Price.style.ts +22 -0
- package/src/infrastructure/ui/views/return/components/price/Price.test.tsx +49 -0
- package/src/infrastructure/ui/views/return/components/price/Price.tsx +48 -0
- package/src/infrastructure/ui/views/return/components/price/__snapshots__/Price.test.tsx.snap +168 -0
- package/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.style.ts +38 -0
- package/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.tsx +67 -0
- package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.style.ts +57 -0
- package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.test.tsx +98 -0
- package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.tsx +102 -0
- package/src/infrastructure/ui/views/shared/components/productVariant/__snapshots__/ProductVariant.test.tsx.snap +487 -0
- package/src/infrastructure/ui/views/summary/Summary.style.ts +84 -0
- package/src/infrastructure/ui/views/summary/Summary.test.tsx +107 -0
- package/src/infrastructure/ui/views/summary/Summary.tsx +174 -0
- package/src/infrastructure/ui/views/summary/components/pricing/Pricing.style.ts +34 -0
- package/src/infrastructure/ui/views/summary/components/pricing/Pricing.test.tsx +118 -0
- package/src/infrastructure/ui/views/summary/components/pricing/Pricing.tsx +141 -0
- package/src/infrastructure/ui/views/summary/components/pricing/__snapshots__/Pricing.test.tsx.snap +601 -0
- package/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.ts +13 -0
- package/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.tsx +43 -0
- package/src/infrastructure/ui/views/summaryTabs/SummaryTabs.test.tsx +94 -0
- package/src/infrastructure/ui/views/summaryTabs/SummaryTabs.tsx +104 -0
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.ts +24 -0
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.test.tsx +94 -0
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.tsx +133 -0
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/__snapshots__/CheckoutItemsTabs.test.tsx.snap +1261 -0
- package/src/projection/bookedProductsVariants/bookedProductsVariants.ts +12 -0
- package/src/projection/bookedProductsVariants/viewBookedProductVariantsForCheckoutItem.ts +61 -0
- package/src/projection/bookedProductsVariants/viewBookedProductsVariantsForCheckoutItem.test.ts +26 -0
- package/src/projection/checkout/checkout.ts +14 -0
- package/src/projection/checkout/viewCheckoutById.test.ts +20 -0
- package/src/projection/checkout/viewCheckoutById.ts +51 -0
- package/src/projection/checkout/viewFirstAvailableCheckoutByCustomerId.test.ts +23 -0
- package/src/projection/checkout/viewFirstAvailableCheckoutByCustomerId.ts +57 -0
- package/src/projection/checkout/viewFiveItemsDiscountByCustomerId.test.ts +22 -0
- package/src/projection/checkout/viewFiveItemsDiscountByCustomerId.ts +56 -0
- package/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.test.ts +54 -0
- package/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.ts +46 -0
- package/src/projection/checkout/viewIsCheckoutEnabledByCustomerId.test.ts +21 -0
- package/src/projection/checkout/viewIsCheckoutEnabledByCustomerId.ts +56 -0
- package/src/projection/checkout/viewIsSizeChangeEnabledByCheckoutId.test.ts +21 -0
- package/src/projection/checkout/viewIsSizeChangeEnabledByCheckoutId.ts +56 -0
- package/src/projection/checkoutBooking/checkoutBooking.ts +7 -0
- package/src/projection/checkoutBooking/viewCheckoutBookingById.test.ts +23 -0
- package/src/projection/checkoutBooking/viewCheckoutBookingById.ts +51 -0
- package/src/projection/checkoutFeedback/checkoutFeedback.ts +5 -0
- package/src/projection/checkoutItem/checkoutItem.ts +52 -0
- package/src/projection/checkoutItem/viewCheckoutItemById.test.ts +25 -0
- package/src/projection/checkoutItem/viewCheckoutItemById.ts +51 -0
- package/src/projection/checkoutQuestion/checkoutQuestion.ts +20 -0
- package/src/projection/checkoutQuestion/listCheckoutQuestionsByCheckoutId.test.ts +31 -0
- package/src/projection/checkoutQuestion/listCheckoutQuestionsByCheckoutId.ts +61 -0
- package/src/projection/feedback/feedback.ts +5 -0
- package/src/projection/payment/paymentFlowPayload.ts +42 -0
- package/src/projection/payment/viewPaymentFlowPayloadByCheckoutId.test.ts +23 -0
- package/src/projection/payment/viewPaymentFlowPayloadByCheckoutId.ts +61 -0
- package/src/projection/pricing/pricing.ts +22 -0
- package/src/projection/pricing/viewPricingByCheckoutId.test.ts +24 -0
- package/src/projection/pricing/viewPricingByCheckoutId.ts +51 -0
- package/src/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.test.ts +30 -0
- package/src/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.ts +61 -0
- package/src/projection/returnQuestion/returnQuestion.ts +20 -0
- package/src/projection/shared/country.ts +15 -0
- package/src/projection/shared/customer.ts +10 -0
- package/src/projection/shared/locale.ts +13 -0
- package/src/projection/shared/order.ts +7 -0
- package/src/projection/shared/price.ts +12 -0
- package/src/projection/shared/size.test.ts +24 -0
- package/src/projection/shared/size.ts +25 -0
- package/src/projection/shared/subscription.ts +3 -0
- package/src/projection/uiSetting/viewUiSettingByKey.test.ts +23 -0
- package/src/projection/uiSetting/viewUiSettingByKey.ts +50 -0
- package/src/shared/ui/components/atoms/aspectRatioView/AspectRatioView.tsx +46 -0
- package/src/shared/ui/components/atoms/error/Error.test.tsx +11 -0
- package/src/shared/ui/components/atoms/error/Error.tsx +18 -0
- package/src/shared/ui/components/atoms/error/__snapshots__/Error.test.tsx.snap +54 -0
- package/src/shared/ui/components/atoms/field/Field.style.ts +22 -0
- package/src/shared/ui/components/atoms/field/Field.test.tsx +19 -0
- package/src/shared/ui/components/atoms/field/Field.tsx +54 -0
- package/src/shared/ui/components/atoms/field/__snapshots__/Field.test.tsx.snap +189 -0
- package/src/shared/ui/components/molecules/inputField/InputField.style.ts +40 -0
- package/src/shared/ui/components/molecules/inputField/InputField.test.tsx +41 -0
- package/src/shared/ui/components/molecules/inputField/InputField.tsx +97 -0
- package/src/shared/ui/components/molecules/inputField/__snapshots__/InputField.test.tsx.snap +154 -0
- package/tsconfig.build.json +4 -0
- package/tsconfig.json +7 -0
- package/web/index.html +128 -0
- package/webpack.config.js +75 -0
- package/README.md +0 -54
- package/dist/domain/checkout/event/createModalNotificationWhenCheckoutSubmitted.js +0 -12
- package/dist/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.js +0 -13
- package/dist/domain/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.js +0 -12
- package/dist/infrastructure/delivery/baseBootstrap.js +0 -98
- package/dist/infrastructure/delivery/bootstrap.js +0 -64
- package/dist/infrastructure/delivery/http/fetchHttpClient.d.ts +0 -14
- package/dist/infrastructure/delivery/http/fetchHttpClient.js +0 -37
- package/dist/infrastructure/delivery/http/httpClient.d.ts +0 -22
- package/dist/infrastructure/domain/checkout/model/httpCheckouts.d.ts +0 -16
- package/dist/infrastructure/domain/checkout/react/useStartCheckout.d.ts +0 -15
- package/dist/infrastructure/domain/checkout/react/useStartCheckout.js +0 -21
- package/dist/infrastructure/domain/checkout/react/useSubmitCheckout.d.ts +0 -15
- package/dist/infrastructure/domain/checkout/react/useSubmitCheckout.js +0 -27
- package/dist/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +0 -16
- package/dist/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.d.ts +0 -15
- package/dist/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.js +0 -28
- package/dist/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.d.ts +0 -16
- package/dist/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.js +0 -29
- package/dist/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacks.d.ts +0 -16
- package/dist/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.d.ts +0 -19
- package/dist/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.js +0 -28
- package/dist/infrastructure/domain/checkoutItem/model/httpCheckoutItems.d.ts +0 -16
- package/dist/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +0 -15
- package/dist/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.js +0 -25
- package/dist/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +0 -18
- package/dist/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.js +0 -25
- package/dist/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.d.ts +0 -15
- package/dist/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.js +0 -25
- package/dist/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +0 -19
- package/dist/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.js +0 -29
- package/dist/infrastructure/domain/uiSetting/react/useUpdateUiSetting.d.ts +0 -18
- package/dist/infrastructure/domain/uiSetting/react/useUpdateUiSetting.js +0 -22
- package/dist/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.d.ts +0 -12
- package/dist/infrastructure/projection/checkout/httpCheckoutByIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.d.ts +0 -12
- package/dist/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.d.ts +0 -12
- package/dist/infrastructure/projection/pricing/httpPricingByCheckoutIdView.d.ts +0 -12
- package/dist/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +0 -12
- package/dist/infrastructure/testing/AsyncKameleoon.d.ts +0 -18
- package/dist/infrastructure/testing/AsyncKameleoon.js +0 -40
- package/dist/infrastructure/testing/Kameleoon.d.ts +0 -49
- package/dist/infrastructure/testing/Kameleoon.js +0 -3
- package/dist/infrastructure/testing/react/Kameleoon.d.ts +0 -9
- package/dist/infrastructure/testing/react/Kameleoon.js +0 -3
- package/dist/infrastructure/testing/react/Kameleoon.web.d.ts +0 -4
- package/dist/infrastructure/testing/react/Kameleoon.web.js +0 -16
- package/dist/infrastructure/testing/react/useAssignedVariationByExperimentId.d.ts +0 -14
- package/dist/infrastructure/testing/react/useAssignedVariationByExperimentId.js +0 -4
- package/dist/infrastructure/testing/react/useAssignedVariationByExperimentId.web.d.ts +0 -3
- package/dist/infrastructure/testing/react/useAssignedVariationByExperimentId.web.js +0 -17
- package/dist/infrastructure/testing/react/useKameleoon.d.ts +0 -9
- package/dist/infrastructure/testing/react/useKameleoon.js +0 -10
- package/dist/infrastructure/testing/react/useTrackingConversion.d.ts +0 -12
- package/dist/infrastructure/testing/react/useTrackingConversion.js +0 -6
- package/dist/infrastructure/testing/react/useTrackingConversion.web.d.ts +0 -3
- package/dist/infrastructure/testing/react/useTrackingConversion.web.js +0 -13
- package/dist/infrastructure/tracking/tracking.d.ts +0 -9
- package/dist/infrastructure/tracking/tracking.js +0 -10
- package/dist/infrastructure/ui/Root.d.ts +0 -36
- package/dist/infrastructure/ui/Root.js +0 -18
- package/dist/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +0 -16
- package/dist/infrastructure/ui/components/atoms/price/Price.js +0 -31
- package/dist/infrastructure/ui/components/atoms/price/Price.style.js +0 -19
- package/dist/infrastructure/ui/components/layouts/body/Body.js +0 -7
- package/dist/infrastructure/ui/components/layouts/tabs/Tabs.d.ts +0 -28
- package/dist/infrastructure/ui/components/layouts/tabs/Tabs.js +0 -47
- package/dist/infrastructure/ui/components/layouts/tabs/Tabs.style.d.ts +0 -26
- package/dist/infrastructure/ui/components/layouts/tabs/Tabs.style.js +0 -29
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +0 -12
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.js +0 -12
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.js +0 -12
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.js +0 -12
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.js +0 -15
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.js +0 -28
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.js +0 -12
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +0 -23
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +0 -18
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +0 -14
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.style.js +0 -14
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +0 -40
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +0 -17
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +0 -27
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.style.js +0 -9
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.d.ts +0 -11
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.js +0 -14
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.d.ts +0 -9
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.js +0 -8
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +0 -14
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +0 -15
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +0 -49
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.style.js +0 -7
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +0 -20
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +0 -13
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +0 -20
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.js +0 -11
- package/dist/infrastructure/ui/components/templates/footer/Footer.js +0 -13
- package/dist/infrastructure/ui/components/templates/header/Header.style.js +0 -18
- package/dist/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.js +0 -11
- package/dist/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.js +0 -16
- package/dist/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.style.js +0 -10
- package/dist/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.js +0 -10
- package/dist/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.js +0 -14
- package/dist/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.js +0 -35
- package/dist/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.style.js +0 -10
- package/dist/infrastructure/ui/components/templates/header/logo/Logo.d.ts +0 -9
- package/dist/infrastructure/ui/components/templates/header/logo/Logo.js +0 -9
- package/dist/infrastructure/ui/hooks/useNewFeedbackExperiment.d.ts +0 -14
- package/dist/infrastructure/ui/hooks/useNewFeedbackExperiment.js +0 -48
- package/dist/infrastructure/ui/hooks/usePaymentInstrumentEvents.d.ts +0 -9
- package/dist/infrastructure/ui/hooks/usePaymentInstrumentEvents.js +0 -30
- package/dist/infrastructure/ui/hooks/useStaticInfo.d.ts +0 -12
- package/dist/infrastructure/ui/hooks/useStaticInfo.js +0 -10
- package/dist/infrastructure/ui/hooks/useSubmitCheckout.d.ts +0 -27
- package/dist/infrastructure/ui/hooks/useSubmitCheckout.js +0 -64
- package/dist/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +0 -21
- package/dist/infrastructure/ui/routing/CheckoutMiddleware.js +0 -91
- package/dist/infrastructure/ui/routing/Routing.d.ts +0 -32
- package/dist/infrastructure/ui/routing/Routing.js +0 -93
- package/dist/infrastructure/ui/views/App.js +0 -14
- package/dist/infrastructure/ui/views/checkout/Checkout.d.ts +0 -12
- package/dist/infrastructure/ui/views/checkout/Checkout.js +0 -80
- package/dist/infrastructure/ui/views/checkout/Checkout.style.js +0 -63
- package/dist/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.d.ts +0 -15
- package/dist/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.js +0 -87
- package/dist/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.d.ts +0 -3
- package/dist/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.js +0 -9
- package/dist/infrastructure/ui/views/checkout/components/paymentInstrument/PaymentInstrument.js +0 -12
- package/dist/infrastructure/ui/views/feedback/Feedback.d.ts +0 -10
- package/dist/infrastructure/ui/views/feedback/Feedback.js +0 -80
- package/dist/infrastructure/ui/views/feedback/Feedback.style.js +0 -17
- package/dist/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.js +0 -39
- package/dist/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.js +0 -10
- package/dist/infrastructure/ui/views/item/Item.d.ts +0 -10
- package/dist/infrastructure/ui/views/item/Item.js +0 -177
- package/dist/infrastructure/ui/views/item/Item.style.js +0 -20
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +0 -24
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +0 -12
- package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +0 -22
- package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +0 -22
- package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +0 -25
- package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.d.ts +0 -16
- package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.js +0 -39
- package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.style.d.ts +0 -25
- package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.style.js +0 -28
- package/dist/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +0 -23
- package/dist/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +0 -20
- package/dist/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +0 -37
- package/dist/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +0 -32
- package/dist/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +0 -29
- package/dist/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +0 -12
- package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +0 -38
- package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -9
- package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -12
- package/dist/infrastructure/ui/views/item/components/selectModal/SelectModal.js +0 -18
- package/dist/infrastructure/ui/views/item/components/selectModal/SelectModal.style.d.ts +0 -17
- package/dist/infrastructure/ui/views/item/components/selectModal/SelectModal.style.js +0 -20
- package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +0 -16
- package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +0 -12
- package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +0 -15
- package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.d.ts +0 -20
- package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.js +0 -44
- package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.d.ts +0 -15
- package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.js +0 -18
- package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.d.ts +0 -20
- package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.js +0 -67
- package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.d.ts +0 -6
- package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.js +0 -9
- package/dist/infrastructure/ui/views/item/views/productVariant/ProductVariant.d.ts +0 -17
- package/dist/infrastructure/ui/views/item/views/productVariant/ProductVariant.js +0 -34
- package/dist/infrastructure/ui/views/item/views/productVariant/ProductVariant.style.js +0 -18
- package/dist/infrastructure/ui/views/return/Return.d.ts +0 -10
- package/dist/infrastructure/ui/views/return/Return.js +0 -141
- package/dist/infrastructure/ui/views/return/Return.style.js +0 -47
- package/dist/infrastructure/ui/views/return/components/price/Price.js +0 -25
- package/dist/infrastructure/ui/views/return/components/price/Price.style.js +0 -19
- package/dist/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.js +0 -37
- package/dist/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.style.js +0 -34
- package/dist/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +0 -38
- package/dist/infrastructure/ui/views/shared/components/productVariant/ProductVariant.style.js +0 -43
- package/dist/infrastructure/ui/views/summary/Summary.d.ts +0 -11
- package/dist/infrastructure/ui/views/summary/Summary.js +0 -93
- package/dist/infrastructure/ui/views/summary/Summary.style.js +0 -70
- package/dist/infrastructure/ui/views/summary/components/pricing/Pricing.js +0 -52
- package/dist/infrastructure/ui/views/summary/components/pricing/Pricing.style.js +0 -31
- package/dist/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +0 -13
- package/dist/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.js +0 -8
- package/dist/infrastructure/ui/views/summaryTabs/SummaryTabs.d.ts +0 -8
- package/dist/infrastructure/ui/views/summaryTabs/SummaryTabs.js +0 -52
- package/dist/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.js +0 -24
- package/dist/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +0 -10
- package/dist/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +0 -13
- package/dist/projection/shared/customer.d.ts +0 -6
- package/dist/shared/logging/Logger.d.ts +0 -7
- package/dist/shared/logging/SentryDependencies.d.ts +0 -11
- package/dist/shared/logging/SentryDependencies.js +0 -17
- package/dist/shared/logging/SentryDependencies.native.d.ts +0 -10
- package/dist/shared/logging/SentryDependencies.native.js +0 -15
- package/dist/shared/logging/SentryLogger.d.ts +0 -17
- package/dist/shared/logging/SentryLogger.js +0 -118
- package/dist/shared/logging/SentryLoggerHOC.d.ts +0 -15
- package/dist/shared/logging/SentryLoggerHOC.js +0 -24
- package/dist/shared/logging/reactRouterV6Instrumentation/NativeReactRouterV6Instrumentation.d.ts +0 -49
- package/dist/shared/logging/reactRouterV6Instrumentation/NativeReactRouterV6Instrumentation.js +0 -131
- package/dist/shared/logging/reactRouterV6Instrumentation/location.d.ts +0 -3
- package/dist/shared/logging/reactRouterV6Instrumentation/location.js +0 -5
- package/dist/shared/logging/reactRouterV6Instrumentation/normalizedNameAndMatchForLocation.d.ts +0 -12
- package/dist/shared/logging/reactRouterV6Instrumentation/normalizedNameAndMatchForLocation.js +0 -34
- package/dist/shared/logging/reactRouterV6Instrumentation/reactRouterV6Instrumentation.d.ts +0 -15
- package/dist/shared/logging/reactRouterV6Instrumentation/reactRouterV6Instrumentation.js +0 -92
- package/dist/shared/logging/reactRouterV6Instrumentation/types.d.ts +0 -9
- package/dist/shared/logging/types.d.ts +0 -22
- package/dist/shared/logging/useLogger.d.ts +0 -12
- package/dist/shared/logging/useLogger.js +0 -10
- package/dist/shared/notifications/domain/notification/command/createModalNotification.d.ts +0 -18
- package/dist/shared/notifications/domain/notification/command/createModalNotification.js +0 -9
- package/dist/shared/notifications/domain/notification/command/createToastNotification.d.ts +0 -18
- package/dist/shared/notifications/domain/notification/command/createToastNotification.js +0 -9
- package/dist/shared/notifications/domain/notification/command/removeNotification.d.ts +0 -13
- package/dist/shared/notifications/domain/notification/command/removeNotification.js +0 -4
- package/dist/shared/notifications/domain/notification/model/notification.d.ts +0 -25
- package/dist/shared/notifications/domain/notification/model/notification.js +0 -43
- package/dist/shared/notifications/domain/notification/model/notificationCreated.d.ts +0 -14
- package/dist/shared/notifications/domain/notification/model/notificationCreated.js +0 -5
- package/dist/shared/notifications/domain/notification/model/notificationRemoved.d.ts +0 -14
- package/dist/shared/notifications/domain/notification/model/notificationRemoved.js +0 -5
- package/dist/shared/notifications/domain/notification/model/notifications.d.ts +0 -7
- package/dist/shared/notifications/index.d.ts +0 -9
- package/dist/shared/notifications/index.js +0 -6
- package/dist/shared/notifications/infrastructure/delivery/bootstrap.d.ts +0 -21
- package/dist/shared/notifications/infrastructure/delivery/bootstrap.js +0 -21
- package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotifications.d.ts +0 -18
- package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotifications.js +0 -25
- package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.d.ts +0 -8
- package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.js +0 -18
- package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.d.ts +0 -5
- package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.js +0 -10
- package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateModalNotification.d.ts +0 -20
- package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateModalNotification.js +0 -22
- package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateToastNotification.d.ts +0 -21
- package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateToastNotification.js +0 -22
- package/dist/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.d.ts +0 -17
- package/dist/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.js +0 -16
- package/dist/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.d.ts +0 -7
- package/dist/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.js +0 -13
- package/dist/shared/notifications/infrastructure/persistence/notificationDto.d.ts +0 -10
- package/dist/shared/notifications/infrastructure/persistence/storage.d.ts +0 -7
- package/dist/shared/notifications/infrastructure/projection/notification/notification.d.ts +0 -7
- package/dist/shared/notifications/infrastructure/projection/notification/notification.js +0 -17
- package/dist/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.d.ts +0 -13
- package/dist/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.js +0 -6
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.d.ts +0 -10
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.js +0 -29
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.style.d.ts +0 -12
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.style.js +0 -15
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotifications.d.ts +0 -8
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotifications.js +0 -6
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotifications.style.d.ts +0 -25
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotifications.style.js +0 -18
- package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotificationItem.d.ts +0 -15
- package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotificationItem.js +0 -17
- package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotifications.d.ts +0 -9
- package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotifications.js +0 -20
- package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotifications.style.d.ts +0 -116
- package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotifications.style.js +0 -29
- package/dist/shared/notifications/infrastructure/ui/notificationsRoot.d.ts +0 -13
- package/dist/shared/notifications/infrastructure/ui/notificationsRoot.js +0 -11
- package/dist/shared/notifications/infrastructure/ui/views/Notifications.d.ts +0 -6
- package/dist/shared/notifications/infrastructure/ui/views/Notifications.js +0 -19
- package/dist/shared/notifications/projection/notification/listNotifications.d.ts +0 -19
- package/dist/shared/notifications/projection/notification/listNotifications.js +0 -5
- package/dist/shared/notifications/projection/notification/notification.d.ts +0 -24
- package/dist/shared/notifications/projection/notification/notification.js +0 -8
- package/dist/shared/notifications/projection/notification/react/useListNotifications.d.ts +0 -10
- package/dist/shared/notifications/projection/notification/react/useListNotifications.js +0 -12
- package/dist/shared/tracking/infrastructure/useEmitUserEvent.d.ts +0 -6
- package/dist/shared/tracking/infrastructure/useEmitUserEvent.js +0 -7
- package/dist/shared/tracking/infrastructure/useTrackAssignedVariationByExperiment.d.ts +0 -18
- package/dist/shared/tracking/infrastructure/useTrackAssignedVariationByExperiment.js +0 -24
- package/dist/shared/tracking/infrastructure/useTrackChangeFeedback.d.ts +0 -20
- package/dist/shared/tracking/infrastructure/useTrackChangeFeedback.js +0 -25
- package/dist/shared/tracking/infrastructure/useTrackCheckout.d.ts +0 -28
- package/dist/shared/tracking/infrastructure/useTrackCheckout.js +0 -37
- package/dist/shared/tracking/infrastructure/useTrackImageView.d.ts +0 -21
- package/dist/shared/tracking/infrastructure/useTrackImageView.js +0 -25
- package/dist/shared/tracking/infrastructure/useTrackItemPageView.d.ts +0 -18
- package/dist/shared/tracking/infrastructure/useTrackItemPageView.js +0 -26
- package/dist/shared/tracking/infrastructure/useTrackKeepItem.d.ts +0 -16
- package/dist/shared/tracking/infrastructure/useTrackKeepItem.js +0 -23
- package/dist/shared/tracking/infrastructure/useTrackPageView.d.ts +0 -12
- package/dist/shared/tracking/infrastructure/useTrackPageView.js +0 -21
- package/dist/shared/tracking/infrastructure/useTrackPressBack.d.ts +0 -15
- package/dist/shared/tracking/infrastructure/useTrackPressBack.js +0 -22
- package/dist/shared/tracking/infrastructure/useTrackPressContinue.d.ts +0 -15
- package/dist/shared/tracking/infrastructure/useTrackPressContinue.js +0 -22
- package/dist/shared/tracking/infrastructure/useTrackPressItem.d.ts +0 -18
- package/dist/shared/tracking/infrastructure/useTrackPressItem.js +0 -23
- package/dist/shared/tracking/infrastructure/useTrackPressMenu.d.ts +0 -16
- package/dist/shared/tracking/infrastructure/useTrackPressMenu.js +0 -23
- package/dist/shared/tracking/infrastructure/useTrackPressNext.d.ts +0 -17
- package/dist/shared/tracking/infrastructure/useTrackPressNext.js +0 -24
- package/dist/shared/tracking/infrastructure/useTrackPressPrevious.d.ts +0 -17
- package/dist/shared/tracking/infrastructure/useTrackPressPrevious.js +0 -24
- package/dist/shared/tracking/infrastructure/useTrackPressPricing.d.ts +0 -18
- package/dist/shared/tracking/infrastructure/useTrackPressPricing.js +0 -23
- package/dist/shared/tracking/infrastructure/useTrackReplaceItem.d.ts +0 -20
- package/dist/shared/tracking/infrastructure/useTrackReplaceItem.js +0 -25
- package/dist/shared/tracking/infrastructure/useTrackResetItem.d.ts +0 -16
- package/dist/shared/tracking/infrastructure/useTrackResetItem.js +0 -23
- package/dist/shared/tracking/infrastructure/useTrackReturnItem.d.ts +0 -16
- package/dist/shared/tracking/infrastructure/useTrackReturnItem.js +0 -23
- package/dist/shared/tracking/infrastructure/useTrackTabView.d.ts +0 -15
- package/dist/shared/tracking/infrastructure/useTrackTabView.js +0 -23
- package/dist/shared/tracking/tracking.d.ts +0 -112
- package/dist/shared/tracking/tracking.js +0 -26
- package/dist/shared/ui/components/atoms/error/Error.js +0 -4
- package/dist/shared/ui/components/atoms/field/Field.js +0 -25
- package/dist/shared/ui/components/atoms/field/Field.style.js +0 -19
- package/dist/shared/ui/components/atoms/spinner/Spinner.d.ts +0 -3
- package/dist/shared/ui/components/atoms/spinner/Spinner.js +0 -7
- package/dist/shared/ui/components/atoms/spinner/Spinner.style.d.ts +0 -9
- package/dist/shared/ui/components/atoms/spinner/Spinner.style.js +0 -10
- package/dist/shared/ui/components/layouts/carousel/Bullets.d.ts +0 -10
- package/dist/shared/ui/components/layouts/carousel/Bullets.js +0 -28
- package/dist/shared/ui/components/layouts/carousel/Bullets.style.d.ts +0 -12
- package/dist/shared/ui/components/layouts/carousel/Bullets.style.js +0 -15
- package/dist/shared/ui/components/layouts/carousel/Carousel.d.ts +0 -33
- package/dist/shared/ui/components/layouts/carousel/Carousel.js +0 -87
- package/dist/shared/ui/components/layouts/carousel/Carousel.style.d.ts +0 -24
- package/dist/shared/ui/components/layouts/carousel/Carousel.style.js +0 -25
- package/dist/shared/ui/components/layouts/column/Column.d.ts +0 -10
- package/dist/shared/ui/components/layouts/column/Column.js +0 -10
- package/dist/shared/ui/components/layouts/column/Column.style.d.ts +0 -12
- package/dist/shared/ui/components/layouts/column/Column.style.js +0 -23
- package/dist/shared/ui/components/layouts/modal/Modal.d.ts +0 -21
- package/dist/shared/ui/components/layouts/modal/Modal.js +0 -95
- package/dist/shared/ui/components/layouts/modal/Modal.style.d.ts +0 -153
- package/dist/shared/ui/components/layouts/modal/Modal.style.js +0 -77
- package/dist/shared/ui/components/layouts/row/Row.d.ts +0 -6
- package/dist/shared/ui/components/layouts/row/Row.js +0 -10
- package/dist/shared/ui/components/layouts/row/Row.style.d.ts +0 -13
- package/dist/shared/ui/components/layouts/row/Row.style.js +0 -17
- package/dist/shared/ui/components/layouts/stack/Stack.d.ts +0 -8
- package/dist/shared/ui/components/layouts/stack/Stack.js +0 -28
- package/dist/shared/ui/components/layouts/stack/Stack.style.d.ts +0 -10
- package/dist/shared/ui/components/layouts/stack/Stack.style.js +0 -11
- package/dist/shared/ui/components/layouts/sticky/Sticky.d.ts +0 -14
- package/dist/shared/ui/components/layouts/sticky/Sticky.js +0 -8
- package/dist/shared/ui/components/layouts/sticky/Sticky.style.d.ts +0 -105
- package/dist/shared/ui/components/layouts/sticky/Sticky.style.js +0 -24
- package/dist/shared/ui/components/molecules/inputField/InputField.d.ts +0 -24
- package/dist/shared/ui/components/molecules/inputField/InputField.js +0 -28
- package/dist/shared/ui/components/molecules/inputField/InputField.style.js +0 -37
- package/dist/shared/ui/hooks/useScreenSize.d.ts +0 -4
- package/dist/shared/ui/hooks/useScreenSize.js +0 -9
- /package/dist/{domain/checkout/model/checkouts.js → src/Expo.d.ts} +0 -0
- /package/dist/{domain → src/domain}/checkout/command/startCheckout.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/command/startCheckout.js +0 -0
- /package/dist/{domain → src/domain}/checkout/command/submitCheckout.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/command/submitCheckout.js +0 -0
- /package/dist/{domain → src/domain}/checkout/event/createModalNotificationWhenCheckoutSubmitted.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkout.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkout.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutSubmitted.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutSubmitted.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkouts.d.ts +0 -0
- /package/dist/{domain/checkoutBooking/model/checkoutBookings.js → src/domain/checkout/model/checkouts.js} +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/command/blockCheckoutBooking.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/command/blockCheckoutBooking.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBlocked.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBlocked.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingExpired.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingExpired.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookings.d.ts +0 -0
- /package/dist/{domain/checkoutFeedback/model/checkoutFeedbacks.js → src/domain/checkoutBooking/model/checkoutBookings.js} +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/command/giveCheckoutFeedback.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/command/giveCheckoutFeedback.js +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedback.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedback.js +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedbackGiven.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedbackGiven.js +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedbacks.d.ts +0 -0
- /package/dist/{domain/checkoutFeedback/model/feedbacks.js → src/domain/checkoutFeedback/model/checkoutFeedbacks.js} +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/model/feedbacks.d.ts +0 -0
- /package/dist/{domain/checkoutItem → src/domain/checkoutFeedback}/model/feedbacks.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/resetCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/resetCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReset.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReset.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/currency.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/currency.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/feedbacks.d.ts +0 -0
- /package/dist/{domain/checkoutItem/model/price.js → src/domain/checkoutItem/model/feedbacks.js} +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/price.d.ts +0 -0
- /package/dist/{projection/shared → src/domain/checkoutItem/model}/price.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.js +0 -0
- /package/dist/{infrastructure/testing → src/infrastructure/ab-testing}/kameleoonEnvironment.d.ts +0 -0
- /package/dist/{infrastructure/testing → src/infrastructure/ab-testing}/kameleoonEnvironment.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/baseBootstrap.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/bootstrap.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutFeedbackDataSource.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutFeedbackDataSource.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutFeedbacks.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutFeedbacks.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckouts.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsSubmit.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsSubmit.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBlock.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBlock.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacks.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItems.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReset.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReset.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/storage.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/storage.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.js +0 -0
- /package/dist/{infrastructure/delivery/http/httpClient.js → src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpCheckoutByIdView.js +0 -0
- /package/dist/{infrastructure/ui/components/layouts/layout/Layout.js → src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.js +0 -0
- /package/dist/{infrastructure/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.js → src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.js +0 -0
- /package/dist/{infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js → src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.js +0 -0
- /package/dist/{projection/bookedProductsVariants/bookedProductsVariants.js → src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.js +0 -0
- /package/dist/{projection/checkout/checkout.js → src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutBooking/httpCheckoutBookingByIdView.js +0 -0
- /package/dist/{projection/checkoutBooking/checkoutBooking.js → src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.js +0 -0
- /package/dist/{projection/checkoutFeedback/checkoutFeedback.js → src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.js +0 -0
- /package/dist/{projection/feedback/feedback.js → src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.js +0 -0
- /package/dist/{projection/payment/paymentFlowPayload.js → src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/httpPricingByCheckoutIdView.js +0 -0
- /package/dist/{projection/pricing/pricing.js → src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/pricing.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/pricing.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.js +0 -0
- /package/dist/{projection/shared/customer.js → src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/Layout.d.ts +0 -0
- /package/dist/{projection/shared/order.js → src/infrastructure/ui/components/layouts/layout/Layout.js} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/footer/Footer.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/footer/Footer.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/header/Header.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/header/Header.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/header/Header.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/header/Header.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/dummyLayout/DummyLayout.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/dummyLayout/DummyLayout.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/dummyLayout/DummyLayout.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/dummyLayout/DummyLayout.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestion.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestion.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestions.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestions.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.d.ts +0 -0
- /package/dist/{projection/shared/subscription.js → src/infrastructure/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.js} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/isChildReturnQuestion.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/isChildReturnQuestion.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +0 -0
- /package/dist/{shared/logging/Logger.js → src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/footer/Footer.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/Header.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/Header.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/Header.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/checkoutHeader/CheckoutHeader.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/checkoutHeader/CheckoutHeader.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/defaultHeader/DefaultHeader.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/itemHeader/ItemHeader.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/itemHeader/ItemHeader.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/logo/Logo.Base64.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/logo/Logo.Base64.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/i18n/fetchTranslations.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/i18n/fetchTranslations.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/i18n/translationEndpoint.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/i18n/translationEndpoint.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutMiddleware.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/useBasePath.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/useBasePath.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/App.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/checkout/Checkout.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/checkout/components/paymentInstrument/PaymentInstrument.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/feedback/Feedback.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/selectModal/SelectModal.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/views/productVariant/ProductVariant.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/return/Return.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/return/components/price/Price.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/return/components/price/Price.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/return/components/productVariantPreview/ProductVariantPreview.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/return/components/productVariantPreview/ProductVariantPreview.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/shared/components/productVariant/ProductVariant.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/shared/components/productVariant/ProductVariant.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +0 -0
- /package/dist/{projection → src/projection}/bookedProductsVariants/bookedProductsVariants.d.ts +0 -0
- /package/dist/{shared/logging/reactRouterV6Instrumentation/types.js → src/projection/bookedProductsVariants/bookedProductsVariants.js} +0 -0
- /package/dist/{projection → src/projection}/bookedProductsVariants/viewBookedProductVariantsForCheckoutItem.d.ts +0 -0
- /package/dist/{projection → src/projection}/bookedProductsVariants/viewBookedProductVariantsForCheckoutItem.js +0 -0
- /package/dist/{projection → src/projection}/checkout/checkout.d.ts +0 -0
- /package/dist/{shared/logging/types.js → src/projection/checkout/checkout.js} +0 -0
- /package/dist/{projection → src/projection}/checkout/viewCheckoutById.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewCheckoutById.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsSizeChangeEnabledByCheckoutId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsSizeChangeEnabledByCheckoutId.js +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/checkoutBooking.d.ts +0 -0
- /package/dist/{shared/notifications/domain/notification/model/notifications.js → src/projection/checkoutBooking/checkoutBooking.js} +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.js +0 -0
- /package/dist/{projection → src/projection}/checkoutFeedback/checkoutFeedback.d.ts +0 -0
- /package/dist/{shared/notifications/infrastructure/persistence/notificationDto.js → src/projection/checkoutFeedback/checkoutFeedback.js} +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.js +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.js +0 -0
- /package/dist/{projection → src/projection}/checkoutQuestion/checkoutQuestion.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutQuestion/checkoutQuestion.js +0 -0
- /package/dist/{projection → src/projection}/checkoutQuestion/listCheckoutQuestionsByCheckoutId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutQuestion/listCheckoutQuestionsByCheckoutId.js +0 -0
- /package/dist/{projection → src/projection}/feedback/feedback.d.ts +0 -0
- /package/dist/{shared/notifications/infrastructure/persistence/storage.js → src/projection/feedback/feedback.js} +0 -0
- /package/dist/{projection → src/projection}/payment/paymentFlowPayload.d.ts +0 -0
- /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
- /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.js +0 -0
- /package/dist/{projection → src/projection}/pricing/pricing.d.ts +0 -0
- /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.d.ts +0 -0
- /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.js +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.d.ts +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.js +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.d.ts +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.js +0 -0
- /package/dist/{projection → src/projection}/shared/country.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/country.js +0 -0
- /package/dist/{projection → src/projection}/shared/locale.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/locale.js +0 -0
- /package/dist/{projection → src/projection}/shared/order.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/price.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/size.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/size.js +0 -0
- /package/dist/{projection → src/projection}/shared/subscription.d.ts +0 -0
- /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.d.ts +0 -0
- /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.js +0 -0
- /package/dist/{shared → src/shared}/ui/components/atoms/aspectRatioView/AspectRatioView.d.ts +0 -0
- /package/dist/{shared → src/shared}/ui/components/atoms/aspectRatioView/AspectRatioView.js +0 -0
- /package/dist/{shared → src/shared}/ui/components/atoms/error/Error.d.ts +0 -0
- /package/dist/{shared → src/shared}/ui/components/atoms/field/Field.d.ts +0 -0
- /package/dist/{shared → src/shared}/ui/components/atoms/field/Field.style.d.ts +0 -0
- /package/dist/{shared → src/shared}/ui/components/molecules/inputField/InputField.style.d.ts +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { mock } from "jest-mock-extended";
|
|
2
|
+
import { fetchHttpPost } from "@lookiero/sty-psp-http";
|
|
3
|
+
import { CheckoutItemStatus } from "../../../domain/checkoutItem/model/checkoutItem";
|
|
4
|
+
import { CheckoutDto, toCheckoutProjection } from "./checkout";
|
|
5
|
+
import { checkoutDto } from "./checkout.mock";
|
|
6
|
+
import { httpCheckoutByIdView as sut } from "./httpCheckoutByIdView";
|
|
7
|
+
|
|
8
|
+
const fetchMock = jest.fn();
|
|
9
|
+
global.fetch = fetchMock;
|
|
10
|
+
const apiUrl = "/api";
|
|
11
|
+
const getAuthToken = () => Promise.resolve("token");
|
|
12
|
+
const view = sut({ httpPost: fetchHttpPost({ apiUrl: () => apiUrl, getAuthToken }) });
|
|
13
|
+
const signal = mock<AbortSignal>();
|
|
14
|
+
|
|
15
|
+
const checkoutId = "29790d24-b139-4ab8-b618-d796d101e974";
|
|
16
|
+
const checkoutResponse: { result: CheckoutDto } = {
|
|
17
|
+
result: checkoutDto({ items: [{ status: CheckoutItemStatus.KEPT }] }),
|
|
18
|
+
};
|
|
19
|
+
const checkoutResponseOk: Response = {
|
|
20
|
+
ok: true,
|
|
21
|
+
status: 200,
|
|
22
|
+
text: () => Promise.resolve(JSON.stringify(checkoutResponse)),
|
|
23
|
+
} as Response;
|
|
24
|
+
const checkoutResponseNotFound: Response = {
|
|
25
|
+
ok: false,
|
|
26
|
+
status: 404,
|
|
27
|
+
} as Response;
|
|
28
|
+
const checkoutResponseError: Response = {
|
|
29
|
+
ok: false,
|
|
30
|
+
} as Response;
|
|
31
|
+
|
|
32
|
+
describe("httpCheckoutByIdView", () => {
|
|
33
|
+
it("returns a Checkout projection for a 200 response", async () => {
|
|
34
|
+
fetchMock.mockReturnValue(Promise.resolve(checkoutResponseOk));
|
|
35
|
+
|
|
36
|
+
const returnedCheckout = await view({ checkoutId, signal });
|
|
37
|
+
|
|
38
|
+
expect(returnedCheckout).toStrictEqual(toCheckoutProjection(checkoutResponse.result));
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
it("returns null for a 404 response", async () => {
|
|
42
|
+
fetchMock.mockReturnValue(Promise.resolve(checkoutResponseNotFound));
|
|
43
|
+
|
|
44
|
+
const returnedCheckout = await view({ checkoutId, signal });
|
|
45
|
+
|
|
46
|
+
expect(returnedCheckout).toBeNull();
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
it("returns null for a non successfull response", async () => {
|
|
50
|
+
fetchMock.mockReturnValue(Promise.resolve(checkoutResponseError));
|
|
51
|
+
|
|
52
|
+
const returnedCheckout = await view({ checkoutId, signal });
|
|
53
|
+
|
|
54
|
+
expect(returnedCheckout).toBeNull();
|
|
55
|
+
});
|
|
56
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { HttpPostFunction } from "@lookiero/sty-psp-http";
|
|
2
|
+
import { CheckoutByIdView, ViewCheckoutByIdResult } from "../../../projection/checkout/viewCheckoutById";
|
|
3
|
+
import { CheckoutDto, toCheckoutProjection } from "./checkout";
|
|
4
|
+
|
|
5
|
+
interface HttpCheckoutByIdView extends CheckoutByIdView {}
|
|
6
|
+
|
|
7
|
+
interface HttpCheckoutByIdViewFunctionArgs {
|
|
8
|
+
readonly httpPost: HttpPostFunction;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface HttpCheckoutByIdViewFunction {
|
|
12
|
+
(args: HttpCheckoutByIdViewFunctionArgs): HttpCheckoutByIdView;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface ViewCheckoutByIdResponse {
|
|
16
|
+
readonly result: CheckoutDto;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const httpCheckoutByIdView: HttpCheckoutByIdViewFunction =
|
|
20
|
+
({ httpPost }) =>
|
|
21
|
+
async ({ checkoutId, signal }) =>
|
|
22
|
+
await httpPost<ViewCheckoutByIdResponse, ViewCheckoutByIdResult>({
|
|
23
|
+
endpoint: "/view-checkout-by-id",
|
|
24
|
+
body: { checkoutId },
|
|
25
|
+
signal,
|
|
26
|
+
result: {
|
|
27
|
+
error: null,
|
|
28
|
+
success: (response) => toCheckoutProjection(response.result),
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export { httpCheckoutByIdView };
|
package/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.ts
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { MatchersV3, PactV3 } from "@pact-foundation/pact";
|
|
2
|
+
import { fetchHttpPost } from "@lookiero/sty-psp-http";
|
|
3
|
+
import {
|
|
4
|
+
AUTH_TOKEN,
|
|
5
|
+
DEFAULT_PACT_OPTIONS,
|
|
6
|
+
DEFAULT_REQUEST_HEADERS,
|
|
7
|
+
DEFAULT_RESPONSE_HEADERS,
|
|
8
|
+
fromMockServerUrlToApiUrl,
|
|
9
|
+
} from "../../../../pact.config";
|
|
10
|
+
import { CheckoutItemStatus } from "../../../domain/checkoutItem/model/checkoutItem";
|
|
11
|
+
import { CheckoutProjection } from "../../../projection/checkout/checkout";
|
|
12
|
+
import { checkout } from "./checkout.mock";
|
|
13
|
+
import { httpFirstAvailableCheckoutByCustomerIdView } from "./httpFirstAvailableCheckoutByCustomerIdView";
|
|
14
|
+
|
|
15
|
+
const provider = new PactV3({
|
|
16
|
+
...DEFAULT_PACT_OPTIONS,
|
|
17
|
+
consumer: "STY-BOX_CHECKOUT-FRONT",
|
|
18
|
+
provider: "STY-BOX_CHECKOUT-BACK_ViewFirstAvailableCheckoutByCustomerId",
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
const customerId = "fab61a4d-c94d-4e33-b098-1945294a5f75";
|
|
22
|
+
|
|
23
|
+
const checkoutResponse: { result: CheckoutProjection } = {
|
|
24
|
+
result: checkout({ items: [{ status: CheckoutItemStatus.KEPT }] }),
|
|
25
|
+
};
|
|
26
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
const EXPECTED_BODY = MatchersV3.like(checkoutResponse);
|
|
29
|
+
|
|
30
|
+
describe("STY-BOX_CHECKOUT-BACK_ViewFirstAvailableCheckoutByCustomerId API", () => {
|
|
31
|
+
it("returns a first available checkout for the given customer id", () => {
|
|
32
|
+
provider
|
|
33
|
+
.given("a first available checkout for the given customer id")
|
|
34
|
+
.uponReceiving("checkout projection")
|
|
35
|
+
.withRequest({
|
|
36
|
+
method: "POST",
|
|
37
|
+
path: "/api/view-first-available-checkout-by-customer-id",
|
|
38
|
+
headers: DEFAULT_REQUEST_HEADERS,
|
|
39
|
+
body: { customerId },
|
|
40
|
+
})
|
|
41
|
+
.willRespondWith({
|
|
42
|
+
status: 200,
|
|
43
|
+
headers: DEFAULT_RESPONSE_HEADERS,
|
|
44
|
+
body: EXPECTED_BODY,
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
return provider.executeTest(async (mockserver) => {
|
|
48
|
+
const httpPost = fetchHttpPost({
|
|
49
|
+
apiUrl: () => fromMockServerUrlToApiUrl(mockserver),
|
|
50
|
+
getAuthToken: () => Promise.resolve(AUTH_TOKEN),
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
const response = await httpFirstAvailableCheckoutByCustomerIdView({ httpPost })({
|
|
54
|
+
customerId,
|
|
55
|
+
signal: undefined,
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
expect(response).toStrictEqual(checkoutResponse.result);
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
});
|
package/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.test.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { mock } from "jest-mock-extended";
|
|
2
|
+
import { fetchHttpPost } from "@lookiero/sty-psp-http";
|
|
3
|
+
import { CheckoutItemStatus } from "../../../domain/checkoutItem/model/checkoutItem";
|
|
4
|
+
import { CheckoutDto, toCheckoutProjection } from "./checkout";
|
|
5
|
+
import { checkoutDto } from "./checkout.mock";
|
|
6
|
+
import { httpFirstAvailableCheckoutByCustomerIdView as sut } from "./httpFirstAvailableCheckoutByCustomerIdView";
|
|
7
|
+
|
|
8
|
+
const fetchMock = jest.fn();
|
|
9
|
+
global.fetch = fetchMock;
|
|
10
|
+
const apiUrl = "/api";
|
|
11
|
+
const getAuthToken = () => Promise.resolve("token");
|
|
12
|
+
const view = sut({ httpPost: fetchHttpPost({ apiUrl: () => apiUrl, getAuthToken }) });
|
|
13
|
+
const signal = mock<AbortSignal>();
|
|
14
|
+
|
|
15
|
+
const customerId = "29790d24-b139-4ab8-b618-d796d101e974";
|
|
16
|
+
const checkoutResponse: { result: CheckoutDto } = {
|
|
17
|
+
result: checkoutDto({ items: [{ status: CheckoutItemStatus.KEPT }] }),
|
|
18
|
+
};
|
|
19
|
+
const checkoutResponseOk: Response = {
|
|
20
|
+
ok: true,
|
|
21
|
+
status: 200,
|
|
22
|
+
text: () => Promise.resolve(JSON.stringify(checkoutResponse)),
|
|
23
|
+
} as Response;
|
|
24
|
+
const checkoutResponseNotFound: Response = {
|
|
25
|
+
ok: false,
|
|
26
|
+
status: 404,
|
|
27
|
+
} as Response;
|
|
28
|
+
const checkoutResponseError: Response = {
|
|
29
|
+
ok: false,
|
|
30
|
+
} as Response;
|
|
31
|
+
|
|
32
|
+
describe("httpFirstAvailableCheckoutByCustomerIdView", () => {
|
|
33
|
+
it("returns a Checkout projection for a 200 response", async () => {
|
|
34
|
+
fetchMock.mockReturnValue(Promise.resolve(checkoutResponseOk));
|
|
35
|
+
|
|
36
|
+
const returnedCheckout = await view({ customerId, signal });
|
|
37
|
+
|
|
38
|
+
expect(returnedCheckout).toStrictEqual(toCheckoutProjection(checkoutResponse.result));
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
it("returns null for a 404 response", async () => {
|
|
42
|
+
fetchMock.mockReturnValue(Promise.resolve(checkoutResponseNotFound));
|
|
43
|
+
|
|
44
|
+
const returnedCheckout = await view({ customerId, signal });
|
|
45
|
+
|
|
46
|
+
expect(returnedCheckout).toBeNull();
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
it("returns null for a non successfull response", async () => {
|
|
50
|
+
fetchMock.mockReturnValue(Promise.resolve(checkoutResponseError));
|
|
51
|
+
|
|
52
|
+
const returnedCheckout = await view({ customerId, signal });
|
|
53
|
+
|
|
54
|
+
expect(returnedCheckout).toBeNull();
|
|
55
|
+
});
|
|
56
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { HttpPostFunction } from "@lookiero/sty-psp-http";
|
|
2
|
+
import {
|
|
3
|
+
FirstAvailableCheckoutByCustomerIdView,
|
|
4
|
+
ViewFirstAvailableCheckoutByCustomerIdResult,
|
|
5
|
+
} from "../../../projection/checkout/viewFirstAvailableCheckoutByCustomerId";
|
|
6
|
+
import { CheckoutDto, toCheckoutProjection } from "./checkout";
|
|
7
|
+
|
|
8
|
+
interface HttpFirstAvailableCheckoutByCustomerIdView extends FirstAvailableCheckoutByCustomerIdView {}
|
|
9
|
+
|
|
10
|
+
interface HttpFirstAvailableCheckoutByCustomerIdViewFunctionArgs {
|
|
11
|
+
readonly httpPost: HttpPostFunction;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface HttpFirstAvailableCheckoutByCustomerIdViewFunction {
|
|
15
|
+
(args: HttpFirstAvailableCheckoutByCustomerIdViewFunctionArgs): HttpFirstAvailableCheckoutByCustomerIdView;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface ViewFirstAvailableCheckoutByCustomerIdResponse {
|
|
19
|
+
readonly result: CheckoutDto;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const httpFirstAvailableCheckoutByCustomerIdView: HttpFirstAvailableCheckoutByCustomerIdViewFunction =
|
|
23
|
+
({ httpPost }) =>
|
|
24
|
+
async ({ customerId, signal }) =>
|
|
25
|
+
await httpPost<ViewFirstAvailableCheckoutByCustomerIdResponse, ViewFirstAvailableCheckoutByCustomerIdResult>({
|
|
26
|
+
endpoint: "/view-first-available-checkout-by-customer-id",
|
|
27
|
+
body: { customerId },
|
|
28
|
+
signal,
|
|
29
|
+
result: {
|
|
30
|
+
error: null,
|
|
31
|
+
success: (response) => toCheckoutProjection(response.result),
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export { httpFirstAvailableCheckoutByCustomerIdView };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { MatchersV3, PactV3 } from "@pact-foundation/pact";
|
|
2
|
+
import { fetchHttpGet } from "@lookiero/sty-psp-http";
|
|
3
|
+
import {
|
|
4
|
+
AUTH_TOKEN,
|
|
5
|
+
DEFAULT_PACT_OPTIONS,
|
|
6
|
+
DEFAULT_REQUEST_HEADERS,
|
|
7
|
+
DEFAULT_RESPONSE_HEADERS,
|
|
8
|
+
fromMockServerUrlToApiUrl,
|
|
9
|
+
} from "../../../../pact.config";
|
|
10
|
+
import { httpFiveItemsDiscountByCustomerIdView } from "./httpFiveItemsDiscountByCustomerIdView";
|
|
11
|
+
|
|
12
|
+
const provider = new PactV3({
|
|
13
|
+
...DEFAULT_PACT_OPTIONS,
|
|
14
|
+
consumer: "STY-BOX_CHECKOUT-FRONT",
|
|
15
|
+
provider: "STY-BOX_CHECKOUT-BACK_ViewFiveItemsDiscountByCustomerId",
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
const customerId = "fab61a4d-c94d-4e33-b098-1945294a5f75";
|
|
19
|
+
const fiveItemsDiscountResponse = 25;
|
|
20
|
+
|
|
21
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
const EXPECTED_BODY = MatchersV3.number(fiveItemsDiscountResponse);
|
|
24
|
+
|
|
25
|
+
describe("STY-BOX_CHECKOUT-BACK_ViewFiveItemsDiscountByCustomerId API", () => {
|
|
26
|
+
it("returns a five items discount for the given customer id", () => {
|
|
27
|
+
provider
|
|
28
|
+
.given("a five items discount for the given customer id")
|
|
29
|
+
.uponReceiving("five items discount")
|
|
30
|
+
.withRequest({
|
|
31
|
+
method: "GET",
|
|
32
|
+
path: `/api/view-five-items-discount-by-customer-id/${customerId}`,
|
|
33
|
+
headers: DEFAULT_REQUEST_HEADERS,
|
|
34
|
+
})
|
|
35
|
+
.willRespondWith({
|
|
36
|
+
status: 200,
|
|
37
|
+
headers: DEFAULT_RESPONSE_HEADERS,
|
|
38
|
+
body: EXPECTED_BODY,
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
return provider.executeTest(async (mockserver) => {
|
|
42
|
+
const httpGet = fetchHttpGet({
|
|
43
|
+
apiUrl: () => fromMockServerUrlToApiUrl(mockserver),
|
|
44
|
+
getAuthToken: () => Promise.resolve(AUTH_TOKEN),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
const response = await httpFiveItemsDiscountByCustomerIdView({ httpGet })({
|
|
48
|
+
customerId,
|
|
49
|
+
signal: undefined,
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
expect(response).toStrictEqual(fiveItemsDiscountResponse);
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { mock } from "jest-mock-extended";
|
|
2
|
+
import { fetchHttpGet } from "@lookiero/sty-psp-http";
|
|
3
|
+
import { httpFiveItemsDiscountByCustomerIdView as sut } from "./httpFiveItemsDiscountByCustomerIdView";
|
|
4
|
+
|
|
5
|
+
const fetchMock = jest.fn();
|
|
6
|
+
global.fetch = fetchMock;
|
|
7
|
+
const apiUrl = "/api";
|
|
8
|
+
const getAuthToken = () => Promise.resolve("token");
|
|
9
|
+
const view = sut({ httpGet: fetchHttpGet({ apiUrl: () => apiUrl, getAuthToken }) });
|
|
10
|
+
const signal = mock<AbortSignal>();
|
|
11
|
+
|
|
12
|
+
const customerId = "29790d24-b139-4ab8-b618-d796d101e974";
|
|
13
|
+
const fiveItemsDiscount = 25;
|
|
14
|
+
const fiveItemsDiscountResponseOk: Response = {
|
|
15
|
+
ok: true,
|
|
16
|
+
status: 200,
|
|
17
|
+
text: () => Promise.resolve(JSON.stringify(fiveItemsDiscount)),
|
|
18
|
+
} as Response;
|
|
19
|
+
const fiveItemsDiscountResponseError: Response = {
|
|
20
|
+
ok: false,
|
|
21
|
+
} as Response;
|
|
22
|
+
|
|
23
|
+
describe("httpFiveItemsDiscountByCustomerIdView", () => {
|
|
24
|
+
it("returns five items discount if enabled/not for a 200 response", async () => {
|
|
25
|
+
fetchMock.mockReturnValue(Promise.resolve(fiveItemsDiscountResponseOk));
|
|
26
|
+
|
|
27
|
+
const enabled = await view({ customerId, signal });
|
|
28
|
+
|
|
29
|
+
expect(enabled).toBe(fiveItemsDiscount);
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
it("returns 0 for a non successfull response", async () => {
|
|
33
|
+
fetchMock.mockReturnValue(Promise.resolve(fiveItemsDiscountResponseError));
|
|
34
|
+
|
|
35
|
+
const enabled = await view({ customerId, signal });
|
|
36
|
+
|
|
37
|
+
expect(enabled).toBe(0);
|
|
38
|
+
});
|
|
39
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { HttpGetFunction } from "@lookiero/sty-psp-http";
|
|
2
|
+
import {
|
|
3
|
+
FiveItemsDiscountByCustomerIdProjection,
|
|
4
|
+
FiveItemsDiscountByCustomerIdView,
|
|
5
|
+
} from "../../../projection/checkout/viewFiveItemsDiscountByCustomerId";
|
|
6
|
+
|
|
7
|
+
interface HttpFiveItemsDiscountByCustomerIdView extends FiveItemsDiscountByCustomerIdView {}
|
|
8
|
+
|
|
9
|
+
interface HttpFiveItemsDiscountByCustomerIdViewFunctionArgs {
|
|
10
|
+
readonly httpGet: HttpGetFunction;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface HttpFiveItemsDiscountByCustomerIdViewFunction {
|
|
14
|
+
(args: HttpFiveItemsDiscountByCustomerIdViewFunctionArgs): HttpFiveItemsDiscountByCustomerIdView;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const httpFiveItemsDiscountByCustomerIdView: HttpFiveItemsDiscountByCustomerIdViewFunction =
|
|
18
|
+
({ httpGet }) =>
|
|
19
|
+
async ({ customerId, signal }) =>
|
|
20
|
+
await httpGet<FiveItemsDiscountByCustomerIdProjection>({
|
|
21
|
+
endpoint: `/view-five-items-discount-by-customer-id/${customerId}`,
|
|
22
|
+
signal,
|
|
23
|
+
result: {
|
|
24
|
+
error: 0,
|
|
25
|
+
success: (response) => response,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export { httpFiveItemsDiscountByCustomerIdView };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { MatchersV3, PactV3 } from "@pact-foundation/pact";
|
|
2
|
+
import { fetchHttpGet } from "@lookiero/sty-psp-http";
|
|
3
|
+
import {
|
|
4
|
+
AUTH_TOKEN,
|
|
5
|
+
DEFAULT_PACT_OPTIONS,
|
|
6
|
+
DEFAULT_REQUEST_HEADERS,
|
|
7
|
+
DEFAULT_RESPONSE_HEADERS,
|
|
8
|
+
fromMockServerUrlToApiUrl,
|
|
9
|
+
} from "../../../../pact.config";
|
|
10
|
+
import { httpIsCheckoutEnabledByCustomerIdView } from "./httpIsCheckoutEnabledByCustomerIdView";
|
|
11
|
+
|
|
12
|
+
const provider = new PactV3({
|
|
13
|
+
...DEFAULT_PACT_OPTIONS,
|
|
14
|
+
consumer: "STY-BOX_CHECKOUT-FRONT",
|
|
15
|
+
provider: "STY-BOX_CHECKOUT-BACK_ViewIsCheckoutEnabledByCustomerId",
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
const customerId = "fab61a4d-c94d-4e33-b098-1945294a5f75";
|
|
19
|
+
const isCheckoutEnabledResponse = true;
|
|
20
|
+
|
|
21
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
const EXPECTED_BODY = MatchersV3.boolean(isCheckoutEnabledResponse);
|
|
24
|
+
|
|
25
|
+
describe("STY-BOX_CHECKOUT-BACK_ViewIsCheckoutEnabledByCustomerId API", () => {
|
|
26
|
+
it("returns is new checkout enabled for the given customer id", () => {
|
|
27
|
+
provider
|
|
28
|
+
.given("is new checkout enabled for the given customer id")
|
|
29
|
+
.uponReceiving("is new checkout enabled")
|
|
30
|
+
.withRequest({
|
|
31
|
+
method: "GET",
|
|
32
|
+
path: `/api/is-new-checkout-enabled/${customerId}`,
|
|
33
|
+
headers: DEFAULT_REQUEST_HEADERS,
|
|
34
|
+
})
|
|
35
|
+
.willRespondWith({
|
|
36
|
+
status: 200,
|
|
37
|
+
headers: DEFAULT_RESPONSE_HEADERS,
|
|
38
|
+
body: EXPECTED_BODY,
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
return provider.executeTest(async (mockserver) => {
|
|
42
|
+
const httpGet = fetchHttpGet({
|
|
43
|
+
apiUrl: () => fromMockServerUrlToApiUrl(mockserver),
|
|
44
|
+
getAuthToken: () => Promise.resolve(AUTH_TOKEN),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
const response = await httpIsCheckoutEnabledByCustomerIdView({ httpGet })({
|
|
48
|
+
customerId,
|
|
49
|
+
signal: undefined,
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
expect(response).toStrictEqual(isCheckoutEnabledResponse);
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { mock } from "jest-mock-extended";
|
|
2
|
+
import { fetchHttpGet } from "@lookiero/sty-psp-http";
|
|
3
|
+
import { httpIsCheckoutEnabledByCustomerIdView as sut } from "./httpIsCheckoutEnabledByCustomerIdView";
|
|
4
|
+
|
|
5
|
+
const fetchMock = jest.fn();
|
|
6
|
+
global.fetch = fetchMock;
|
|
7
|
+
const apiUrl = "/api";
|
|
8
|
+
const getAuthToken = () => Promise.resolve("token");
|
|
9
|
+
const view = sut({ httpGet: fetchHttpGet({ apiUrl: () => apiUrl, getAuthToken }) });
|
|
10
|
+
const signal = mock<AbortSignal>();
|
|
11
|
+
|
|
12
|
+
const customerId = "29790d24-b139-4ab8-b618-d796d101e974";
|
|
13
|
+
const checkoutResponseOk: Response = {
|
|
14
|
+
ok: true,
|
|
15
|
+
status: 200,
|
|
16
|
+
text: () => Promise.resolve(JSON.stringify(true)),
|
|
17
|
+
} as Response;
|
|
18
|
+
const checkoutResponseError: Response = {
|
|
19
|
+
ok: false,
|
|
20
|
+
} as Response;
|
|
21
|
+
|
|
22
|
+
describe("httpIsCheckoutEnabledByCustomerIdView", () => {
|
|
23
|
+
it("returns true/false if enabled/not for a 200 response", async () => {
|
|
24
|
+
fetchMock.mockReturnValue(Promise.resolve(checkoutResponseOk));
|
|
25
|
+
|
|
26
|
+
const enabled = await view({ customerId, signal });
|
|
27
|
+
|
|
28
|
+
expect(enabled).toBe(true);
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
it("returns false for a non successfull response", async () => {
|
|
32
|
+
fetchMock.mockReturnValue(Promise.resolve(checkoutResponseError));
|
|
33
|
+
|
|
34
|
+
const enabled = await view({ customerId, signal });
|
|
35
|
+
|
|
36
|
+
expect(enabled).toBe(false);
|
|
37
|
+
});
|
|
38
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { HttpGetFunction } from "@lookiero/sty-psp-http";
|
|
2
|
+
import {
|
|
3
|
+
IsCheckoutEnabledByCustomerIdProjection,
|
|
4
|
+
IsCheckoutEnabledByCustomerIdView,
|
|
5
|
+
} from "../../../projection/checkout/viewIsCheckoutEnabledByCustomerId";
|
|
6
|
+
|
|
7
|
+
interface HttpIsCheckoutEnabledByCustomerIdView extends IsCheckoutEnabledByCustomerIdView {}
|
|
8
|
+
|
|
9
|
+
interface HttpIsCheckoutEnabledByCustomerIdViewFunctionArgs {
|
|
10
|
+
readonly httpGet: HttpGetFunction;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface HttpIsCheckoutEnabledByCustomerIdViewFunction {
|
|
14
|
+
(args: HttpIsCheckoutEnabledByCustomerIdViewFunctionArgs): HttpIsCheckoutEnabledByCustomerIdView;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const httpIsCheckoutEnabledByCustomerIdView: HttpIsCheckoutEnabledByCustomerIdViewFunction =
|
|
18
|
+
({ httpGet }) =>
|
|
19
|
+
async ({ customerId, signal }) =>
|
|
20
|
+
await httpGet<IsCheckoutEnabledByCustomerIdProjection>({
|
|
21
|
+
endpoint: `/is-new-checkout-enabled/${customerId}`,
|
|
22
|
+
signal,
|
|
23
|
+
result: {
|
|
24
|
+
error: false,
|
|
25
|
+
success: (response) => response,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export { httpIsCheckoutEnabledByCustomerIdView };
|
package/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.ts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { MatchersV3, PactV3 } from "@pact-foundation/pact";
|
|
2
|
+
import { fetchHttpGet } from "@lookiero/sty-psp-http";
|
|
3
|
+
import {
|
|
4
|
+
AUTH_TOKEN,
|
|
5
|
+
DEFAULT_PACT_OPTIONS,
|
|
6
|
+
DEFAULT_REQUEST_HEADERS,
|
|
7
|
+
DEFAULT_RESPONSE_HEADERS,
|
|
8
|
+
fromMockServerUrlToApiUrl,
|
|
9
|
+
} from "../../../../pact.config";
|
|
10
|
+
import { httpIsSizeChangeEnabledByCheckoutIdView } from "./httpIsSizeChangeEnabledByCheckoutIdView";
|
|
11
|
+
|
|
12
|
+
const provider = new PactV3({
|
|
13
|
+
...DEFAULT_PACT_OPTIONS,
|
|
14
|
+
consumer: "STY-BOX_CHECKOUT-FRONT",
|
|
15
|
+
provider: "STY-BOX_CHECKOUT-BACK_ViewIsSizeChangeEnabledByCheckoutId",
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
const checkoutId = "fab61a4d-c94d-4e33-b098-1945294a5f75";
|
|
19
|
+
const isSizeChangeEnabledResponse = true;
|
|
20
|
+
|
|
21
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
const EXPECTED_BODY = MatchersV3.like(isSizeChangeEnabledResponse);
|
|
24
|
+
|
|
25
|
+
describe("STY-BOX_CHECKOUT-BACK_ViewIsSizeChangeEnabledByCheckoutId API", () => {
|
|
26
|
+
it("returns is size-change enabled for the given checkout id", () => {
|
|
27
|
+
provider
|
|
28
|
+
.given("is size-change enabled for the given checkout id")
|
|
29
|
+
.uponReceiving("is size-change enabled")
|
|
30
|
+
.withRequest({
|
|
31
|
+
method: "GET",
|
|
32
|
+
path: `/api/is-size-change-enabled-by-checkout-id/${checkoutId}`,
|
|
33
|
+
headers: DEFAULT_REQUEST_HEADERS,
|
|
34
|
+
})
|
|
35
|
+
.willRespondWith({
|
|
36
|
+
status: 200,
|
|
37
|
+
headers: DEFAULT_RESPONSE_HEADERS,
|
|
38
|
+
body: EXPECTED_BODY,
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
return provider.executeTest(async (mockserver) => {
|
|
42
|
+
const httpGet = fetchHttpGet({
|
|
43
|
+
apiUrl: () => fromMockServerUrlToApiUrl(mockserver),
|
|
44
|
+
getAuthToken: () => Promise.resolve(AUTH_TOKEN),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
const response = await httpIsSizeChangeEnabledByCheckoutIdView({ httpGet })({
|
|
48
|
+
checkoutId,
|
|
49
|
+
signal: undefined,
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
expect(response).toStrictEqual(isSizeChangeEnabledResponse);
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
});
|
package/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.test.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { mock } from "jest-mock-extended";
|
|
2
|
+
import { fetchHttpGet } from "@lookiero/sty-psp-http";
|
|
3
|
+
import { httpIsSizeChangeEnabledByCheckoutIdView as sut } from "./httpIsSizeChangeEnabledByCheckoutIdView";
|
|
4
|
+
|
|
5
|
+
const fetchMock = jest.fn();
|
|
6
|
+
global.fetch = fetchMock;
|
|
7
|
+
const apiUrl = "/api";
|
|
8
|
+
const getAuthToken = () => Promise.resolve("token");
|
|
9
|
+
const view = sut({ httpGet: fetchHttpGet({ apiUrl: () => apiUrl, getAuthToken }) });
|
|
10
|
+
const signal = mock<AbortSignal>();
|
|
11
|
+
|
|
12
|
+
const checkoutId = "29790d24-b139-4ab8-b618-d796d101e974";
|
|
13
|
+
const responseOk: Response = {
|
|
14
|
+
ok: true,
|
|
15
|
+
status: 200,
|
|
16
|
+
text: () => Promise.resolve(JSON.stringify(true)),
|
|
17
|
+
} as Response;
|
|
18
|
+
const responseError: Response = {
|
|
19
|
+
ok: false,
|
|
20
|
+
} as Response;
|
|
21
|
+
|
|
22
|
+
describe("httpIsSizeChangeEnabledByCheckoutIdView", () => {
|
|
23
|
+
it("returns true/false if enabled/not for a 200 response", async () => {
|
|
24
|
+
fetchMock.mockReturnValue(Promise.resolve(responseOk));
|
|
25
|
+
|
|
26
|
+
const enabled = await view({ checkoutId, signal });
|
|
27
|
+
|
|
28
|
+
expect(enabled).toBe(true);
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
it("returns false for a non successfull response", async () => {
|
|
32
|
+
fetchMock.mockReturnValue(Promise.resolve(responseError));
|
|
33
|
+
|
|
34
|
+
const enabled = await view({ checkoutId, signal });
|
|
35
|
+
|
|
36
|
+
expect(enabled).toBe(false);
|
|
37
|
+
});
|
|
38
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { HttpGetFunction } from "@lookiero/sty-psp-http";
|
|
2
|
+
import {
|
|
3
|
+
IsSizeChangeEnabledByCheckoutIdProjection,
|
|
4
|
+
IsSizeChangeEnabledByCheckoutIdView,
|
|
5
|
+
} from "../../../projection/checkout/viewIsSizeChangeEnabledByCheckoutId";
|
|
6
|
+
|
|
7
|
+
interface HttpIsSizeChangeEnabledByCheckoutIdView extends IsSizeChangeEnabledByCheckoutIdView {}
|
|
8
|
+
|
|
9
|
+
interface HttpIsSizeChangeEnabledByCheckoutIdViewFunctionArgs {
|
|
10
|
+
readonly httpGet: HttpGetFunction;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface HttpIsSizeChangeEnabledByCheckoutIdViewFunction {
|
|
14
|
+
(args: HttpIsSizeChangeEnabledByCheckoutIdViewFunctionArgs): HttpIsSizeChangeEnabledByCheckoutIdView;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const httpIsSizeChangeEnabledByCheckoutIdView: HttpIsSizeChangeEnabledByCheckoutIdViewFunction =
|
|
18
|
+
({ httpGet }) =>
|
|
19
|
+
async ({ checkoutId, signal }) =>
|
|
20
|
+
await httpGet<IsSizeChangeEnabledByCheckoutIdProjection>({
|
|
21
|
+
endpoint: `/is-size-change-enabled-by-checkout-id/${checkoutId}`,
|
|
22
|
+
signal,
|
|
23
|
+
result: {
|
|
24
|
+
error: false,
|
|
25
|
+
success: (response) => response,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export { httpIsSizeChangeEnabledByCheckoutIdView };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { renderHook, waitFor } from "@testing-library/react-native";
|
|
2
|
+
import { bootstrap, QueryStatus } from "@lookiero/messaging-react";
|
|
3
|
+
import { CheckoutProjection } from "../../../../projection/checkout/checkout";
|
|
4
|
+
import {
|
|
5
|
+
viewFirstAvailableCheckoutByCustomerIdHandler,
|
|
6
|
+
VIEW_FIRST_AVAILABLE_CHECKOUT_BY_CUSTOMER_ID,
|
|
7
|
+
} from "../../../../projection/checkout/viewFirstAvailableCheckoutByCustomerId";
|
|
8
|
+
import { MESSAGING_CONTEXT_ID } from "../../../delivery/baseBootstrap";
|
|
9
|
+
import { useViewFirstAvailableCheckoutByCustomerId as sut } from "./useViewFirstAvailableCheckoutByCustomerId";
|
|
10
|
+
|
|
11
|
+
const customerId = "29790d24-b139-4ab8-b618-d796d101e974";
|
|
12
|
+
const checkoutProjection: CheckoutProjection = { id: "75574065-5838-42de-9924-c712f7854347" } as CheckoutProjection;
|
|
13
|
+
const view = jest.fn().mockReturnValue(checkoutProjection);
|
|
14
|
+
const { Component: Messaging } = bootstrap({ id: MESSAGING_CONTEXT_ID })
|
|
15
|
+
.query(VIEW_FIRST_AVAILABLE_CHECKOUT_BY_CUSTOMER_ID, viewFirstAvailableCheckoutByCustomerIdHandler, { view })
|
|
16
|
+
.build();
|
|
17
|
+
|
|
18
|
+
describe("useViewFirstAvailableCheckoutByCustomerId integration hook", () => {
|
|
19
|
+
it("returns success as the query status and the result itself after rendering the hook", async () => {
|
|
20
|
+
const { result } = renderHook(() => sut({ customerId }), { wrapper: Messaging });
|
|
21
|
+
|
|
22
|
+
await waitFor(() => {
|
|
23
|
+
const [projection, status] = result.current;
|
|
24
|
+
|
|
25
|
+
expect(projection).toStrictEqual(checkoutProjection);
|
|
26
|
+
expect(status).toBe(QueryStatus.SUCCESS);
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
});
|