@lookiero/checkout 0.2.37 → 0.2.38
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/package.json +1 -1
- package/dist/pact.config.d.ts +0 -13
- package/dist/pact.config.js +0 -9
- package/dist/src/infrastructure/delivery/bootstrap.mock.d.ts +0 -3
- package/dist/src/infrastructure/delivery/bootstrap.mock.js +0 -48
- package/dist/src/infrastructure/projection/checkout/checkout.mock.d.ts +0 -18
- package/dist/src/infrastructure/projection/checkout/checkout.mock.js +0 -16
- package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.d.ts +0 -1
- package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.js +0 -45
- package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.d.ts +0 -18
- package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.js +0 -43
- package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.d.ts +0 -3
- package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.js +0 -348
- /package/dist/{src/domain → domain}/checkout/command/startCheckout.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkout/command/startCheckout.js +0 -0
- /package/dist/{src/domain → domain}/checkout/model/checkout.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkout/model/checkout.js +0 -0
- /package/dist/{src/domain → domain}/checkout/model/checkoutStarted.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkout/model/checkoutStarted.js +0 -0
- /package/dist/{src/domain → domain}/checkout/model/checkouts.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkout/model/checkouts.js +0 -0
- /package/dist/{src/domain → domain}/checkoutBooking/command/bookSizeReplaceableProductVariantsForCheckoutItem.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutBooking/command/bookSizeReplaceableProductVariantsForCheckoutItem.js +0 -0
- /package/dist/{src/domain → domain}/checkoutBooking/model/checkoutBooking.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutBooking/model/checkoutBooking.js +0 -0
- /package/dist/{src/domain → domain}/checkoutBooking/model/checkoutBookingBooked.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutBooking/model/checkoutBookingBooked.js +0 -0
- /package/dist/{src/domain → domain}/checkoutBooking/model/checkoutBookings.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutBooking/model/checkoutBookings.js +0 -0
- /package/dist/{src/domain → domain}/checkoutItem/command/keepCheckoutItem.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutItem/command/keepCheckoutItem.js +0 -0
- /package/dist/{src/domain → domain}/checkoutItem/model/checkoutItem.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutItem/model/checkoutItem.js +0 -0
- /package/dist/{src/domain → domain}/checkoutItem/model/checkoutItemKept.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutItem/model/checkoutItemKept.js +0 -0
- /package/dist/{src/domain → domain}/checkoutItem/model/checkoutItems.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutItem/model/checkoutItems.js +0 -0
- /package/dist/{src/domain → domain}/checkoutItem/model/currency.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutItem/model/currency.js +0 -0
- /package/dist/{src/domain → domain}/checkoutItem/model/price.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutItem/model/price.js +0 -0
- /package/dist/{src/domain → domain}/uiSetting/command/updateUiSetting.d.ts +0 -0
- /package/dist/{src/domain → domain}/uiSetting/command/updateUiSetting.js +0 -0
- /package/dist/{src/domain → domain}/uiSetting/model/uiSetting.d.ts +0 -0
- /package/dist/{src/domain → domain}/uiSetting/model/uiSetting.js +0 -0
- /package/dist/{src/domain → domain}/uiSetting/model/uiSettingUpdated.d.ts +0 -0
- /package/dist/{src/domain → domain}/uiSetting/model/uiSettingUpdated.js +0 -0
- /package/dist/{src/domain → domain}/uiSetting/model/uiSettings.d.ts +0 -0
- /package/dist/{src/domain → domain}/uiSetting/model/uiSettings.js +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/index.js → index.js} +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/baseBootstrap.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/baseBootstrap.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/bootstrap.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/bootstrap.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/http/fetchHttpClient.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/http/fetchHttpClient.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/http/httpClient.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/http/httpClient.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/checkoutDataSource.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/checkoutDataSource.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/dataSourceCheckoutItems.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/dataSourceCheckoutItems.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/dataSourceCheckouts.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/dataSourceCheckouts.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/model/httpCheckouts.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/model/httpCheckouts.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/model/httpCheckoutsStart.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/model/httpCheckoutsStart.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/react/useStartCheckout.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/react/useStartCheckout.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutBooking/react/useBookSizeReplaceableProductVariantsForCheckoutItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutBooking/react/useBookSizeReplaceableProductVariantsForCheckoutItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutItem/model/httpCheckoutItems.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutItem/model/httpCheckoutItems.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutItem/react/useKeepCheckoutItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/uiSetting/model/storageUiSettings.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/uiSetting/model/storageUiSettings.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/uiSetting/react/useIncrementIntroShownCount.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/uiSetting/react/useIncrementIntroShownCount.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/uiSetting/react/useUpdateUiSetting.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/uiSetting/react/useUpdateUiSetting.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/persistence/asyncStorageStorage.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/persistence/asyncStorageStorage.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/persistence/storage.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/persistence/storage.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/persistence/uiSettingData.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/persistence/uiSettingData.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/bookedSizeReplaceableProductVariants/bookedSizeReplaceableProductVariants.mock.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/bookedSizeReplaceableProductVariants/bookedSizeReplaceableProductVariants.mock.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/bookedSizeReplaceableProductVariants/httpBookedSizeReplaceableProductVariantsForCheckoutItemView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/bookedSizeReplaceableProductVariants/httpBookedSizeReplaceableProductVariantsForCheckoutItemView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/bookedSizeReplaceableProductVariants/react/useViewBookedSizeReplaceableProductVariantsForCheckoutItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/bookedSizeReplaceableProductVariants/react/useViewBookedSizeReplaceableProductVariantsForCheckoutItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/checkout.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/checkout.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/httpCheckoutByIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/httpCheckoutByIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutItem/checkoutItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutItem/checkoutItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/feedback/feedback.mock.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/feedback/feedback.mock.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/returnQuestion/returnQuestion.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/returnQuestion/returnQuestion.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/uiSetting/react/useShouldIntroBeShown.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/uiSetting/react/useShouldIntroBeShown.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/uiSetting/react/useViewIntroShownCount.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/uiSetting/react/useViewIntroShownCount.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/uiSetting/storageUiSettingByKeyView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/uiSetting/storageUiSettingByKeyView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/Root.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/Root.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/atoms/price/Price.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/atoms/price/Price.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/atoms/price/Price.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/atoms/price/Price.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/layouts/body/Body.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/layouts/body/Body.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/layouts/body/Body.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/layouts/body/Body.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/templates/SafeAreaScrollView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/templates/SafeAreaScrollView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/hooks/useMediaImage.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/hooks/useMediaImage.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/i18n/i18n.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/i18n/i18n.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/CheckoutMiddleware.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/CheckoutMiddleware.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/Routing.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/Routing.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/router/Router.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/router/Router.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/router/Router.native.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/router/Router.native.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/routes.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/routes.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/settings/UISettings.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/settings/UISettings.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/error/Error.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/error/Error.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/error/Error.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/error/Error.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/field/Field.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/field/Field.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/field/Field.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/field/Field.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/icon/Icon.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/icon/Icon.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/icon/Icon.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/icon/Icon.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/input/Input.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/input/Input.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/input/Input.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/input/Input.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/spinner/Spinner.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/spinner/Spinner.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/spinner/Spinner.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/atoms/spinner/Spinner.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/column/Column.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/column/Column.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/column/Column.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/column/Column.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/modal/Modal.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/modal/Modal.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/modal/Modal.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/modal/Modal.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/row/Row.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/row/Row.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/row/Row.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/row/Row.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/slider/Pagination.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/slider/Pagination.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/slider/Pagination.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/slider/Pagination.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/slider/Slider.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/slider/Slider.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/slider/Slider.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/slider/Slider.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/sticky/Sticky.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/sticky/Sticky.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/sticky/Sticky.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/layouts/sticky/Sticky.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/molecules/buttonIcon/ButtonIcon.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/molecules/buttonIcon/ButtonIcon.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/molecules/buttonIcon/ButtonIcon.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/molecules/buttonIcon/ButtonIcon.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/molecules/inputField/InputField.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/molecules/inputField/InputField.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/molecules/inputField/InputField.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/molecules/inputField/InputField.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/molecules/selectField/SelectField.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/molecules/selectField/SelectField.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/molecules/selectField/SelectField.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/components/molecules/selectField/SelectField.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/hooks/useScreenSize.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/shared/hooks/useScreenSize.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/theme/theme.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/theme/theme.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/App.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/App.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/intro/Intro.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/intro/Intro.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/intro/Intro.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/intro/Intro.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/Item.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/Item.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/Item.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/Item.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/itemActions/ItemActions.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/itemActions/ItemActions.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/itemActions/ItemActions.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/itemActions/ItemActions.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/productVariant/ProductVariant.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/productVariant/ProductVariant.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/productVariant/ProductVariant.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/productVariant/ProductVariant.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/Summary.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/Summary.js +0 -0
- /package/dist/{src/projection → projection}/bookedSizeReplaceableProductVariants/viewBookedSizeReplaceableProductVariantsForCheckoutItem.d.ts +0 -0
- /package/dist/{src/projection → projection}/bookedSizeReplaceableProductVariants/viewBookedSizeReplaceableProductVariantsForCheckoutItem.js +0 -0
- /package/dist/{src/projection → projection}/checkout/checkout.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkout/checkout.js +0 -0
- /package/dist/{src/projection → projection}/checkout/viewCheckoutById.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkout/viewCheckoutById.js +0 -0
- /package/dist/{src/projection → projection}/checkout/viewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkout/viewFirstAvailableCheckoutByCustomerId.js +0 -0
- /package/dist/{src/projection → projection}/checkout/viewFiveItemsDiscountByCustomerId.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkout/viewFiveItemsDiscountByCustomerId.js +0 -0
- /package/dist/{src/projection → projection}/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkout/viewIsCheckoutAccessibleByCustomerId.js +0 -0
- /package/dist/{src/projection → projection}/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkout/viewIsCheckoutEnabledByCustomerId.js +0 -0
- /package/dist/{src/projection → projection}/checkoutItem/checkoutItem.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkoutItem/checkoutItem.js +0 -0
- /package/dist/{src/projection → projection}/checkoutItem/viewCheckoutItemById.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkoutItem/viewCheckoutItemById.js +0 -0
- /package/dist/{src/projection → projection}/feedback/feedback.d.ts +0 -0
- /package/dist/{src/projection → projection}/feedback/feedback.js +0 -0
- /package/dist/{src/projection → projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.d.ts +0 -0
- /package/dist/{src/projection → projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.js +0 -0
- /package/dist/{src/projection → projection}/returnQuestion/returnQuestion.d.ts +0 -0
- /package/dist/{src/projection → projection}/returnQuestion/returnQuestion.js +0 -0
- /package/dist/{src/projection → projection}/shared/size.d.ts +0 -0
- /package/dist/{src/projection → projection}/shared/size.js +0 -0
- /package/dist/{src/projection → projection}/uiSetting/viewUiSettingByKey.d.ts +0 -0
- /package/dist/{src/projection → projection}/uiSetting/viewUiSettingByKey.js +0 -0
package/package.json
CHANGED
package/dist/pact.config.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { V3MockServer } from "@pact-foundation/pact";
|
|
2
|
-
interface StringObject {
|
|
3
|
-
readonly [k: string]: string;
|
|
4
|
-
}
|
|
5
|
-
declare const DEFAULT_PACT_OPTIONS: StringObject;
|
|
6
|
-
declare const AUTH_TOKEN = "eyJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6InBpY2tlcixwYWNrZXIiLCJzdWIiOiIxIiwiaWF0IjoxNjAyODQ4MzEyfQ.gCs2_vBcJsXt4EdreNSjDI8NWkOTQ5Cy4SwtrGnuJ44";
|
|
7
|
-
declare const DEFAULT_REQUEST_HEADERS: StringObject;
|
|
8
|
-
declare const DEFAULT_RESPONSE_HEADERS: StringObject;
|
|
9
|
-
interface FromMockServerUrlToApiUrlFunction {
|
|
10
|
-
(mockServer: V3MockServer): string;
|
|
11
|
-
}
|
|
12
|
-
declare const fromMockServerUrlToApiUrl: FromMockServerUrlToApiUrlFunction;
|
|
13
|
-
export { fromMockServerUrlToApiUrl, AUTH_TOKEN, DEFAULT_PACT_OPTIONS, DEFAULT_REQUEST_HEADERS, DEFAULT_RESPONSE_HEADERS, };
|
package/dist/pact.config.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const DEFAULT_PACT_OPTIONS = { dir: ".contracts", logDir: ".pact/logs" };
|
|
2
|
-
const AUTH_TOKEN = "eyJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6InBpY2tlcixwYWNrZXIiLCJzdWIiOiIxIiwiaWF0IjoxNjAyODQ4MzEyfQ.gCs2_vBcJsXt4EdreNSjDI8NWkOTQ5Cy4SwtrGnuJ44";
|
|
3
|
-
const DEFAULT_REQUEST_HEADERS = {
|
|
4
|
-
Authorization: `Bearer ${AUTH_TOKEN}`,
|
|
5
|
-
["Content-Type"]: "application/json",
|
|
6
|
-
};
|
|
7
|
-
const DEFAULT_RESPONSE_HEADERS = { ["Content-Type"]: "application/json" };
|
|
8
|
-
const fromMockServerUrlToApiUrl = (mockServer) => mockServer.url.concat("/api");
|
|
9
|
-
export { fromMockServerUrlToApiUrl, AUTH_TOKEN, DEFAULT_PACT_OPTIONS, DEFAULT_REQUEST_HEADERS, DEFAULT_RESPONSE_HEADERS, };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { CheckoutItemStatus } from "../../domain/checkoutItem/model/checkoutItem";
|
|
2
|
-
import { getUiSetting, saveUiSetting } from "../domain/uiSetting/model/storageUiSettings";
|
|
3
|
-
import { read, write } from "../persistence/asyncStorageStorage";
|
|
4
|
-
import { startedCheckoutWithStatusProjection } from "../projection/checkout/checkout.mock";
|
|
5
|
-
import { returnQuestions as returnQuestionsMock } from "../projection/returnQuestion/returnQuestions.mock";
|
|
6
|
-
import { storageUiSettingByKeyView } from "../projection/uiSetting/storageUiSettingByKeyView";
|
|
7
|
-
import { baseBootstrap } from "./baseBootstrap";
|
|
8
|
-
import { checkoutDataSource } from "./mock/checkoutDataSource";
|
|
9
|
-
import { getCheckoutItem, saveCheckoutItem } from "./mock/dataSourceCheckoutItems";
|
|
10
|
-
import { getCheckout, saveCheckout } from "./mock/dataSourceCheckouts";
|
|
11
|
-
const IS_CHECKOUT_ENABLED = true;
|
|
12
|
-
const FIVE_ITEMS_DISCOUNT = 25;
|
|
13
|
-
const dataSource = checkoutDataSource({
|
|
14
|
-
data: startedCheckoutWithStatusProjection({
|
|
15
|
-
status: [
|
|
16
|
-
CheckoutItemStatus.INITIAL,
|
|
17
|
-
CheckoutItemStatus.INITIAL,
|
|
18
|
-
CheckoutItemStatus.INITIAL,
|
|
19
|
-
CheckoutItemStatus.INITIAL,
|
|
20
|
-
CheckoutItemStatus.INITIAL,
|
|
21
|
-
],
|
|
22
|
-
}),
|
|
23
|
-
});
|
|
24
|
-
const checkoutByIdView = async () => dataSource.getCheckout();
|
|
25
|
-
const firstAvailableCheckoutByCustomerIdView = async () => dataSource.getCheckout();
|
|
26
|
-
const isCheckoutEnabledByCustomerIdView = async () => IS_CHECKOUT_ENABLED;
|
|
27
|
-
const fiveItemsDiscountByCustomerIdView = async () => FIVE_ITEMS_DISCOUNT;
|
|
28
|
-
const checkoutItemByIdView = async ({ checkoutItemId }) => dataSource.getCheckoutItem(checkoutItemId);
|
|
29
|
-
const returnQuestionsByCheckoutItemIdView = async () => returnQuestionsMock;
|
|
30
|
-
const bootstrap = () => baseBootstrap({
|
|
31
|
-
checkoutByIdView,
|
|
32
|
-
firstAvailableCheckoutByCustomerIdView,
|
|
33
|
-
isCheckoutEnabledByCustomerIdView,
|
|
34
|
-
fiveItemsDiscountByCustomerIdView,
|
|
35
|
-
uiSettingByKeyView: storageUiSettingByKeyView({ read }),
|
|
36
|
-
checkoutItemByIdView,
|
|
37
|
-
returnQuestionsByCheckoutItemIdView,
|
|
38
|
-
getUiSetting,
|
|
39
|
-
saveUiSetting,
|
|
40
|
-
uiSettingsDependencies: [{ read, write }],
|
|
41
|
-
getCheckout,
|
|
42
|
-
saveCheckout,
|
|
43
|
-
checkoutsDependencies: [{ dataSource }],
|
|
44
|
-
getCheckoutItem,
|
|
45
|
-
saveCheckoutItem,
|
|
46
|
-
checkoutItemsDependencies: [{ dataSource }],
|
|
47
|
-
});
|
|
48
|
-
export { bootstrap };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CheckoutItemStatus } from "../../../domain/checkoutItem/model/checkoutItem";
|
|
2
|
-
import { CheckoutProjection } from "../../../projection/checkout/checkout";
|
|
3
|
-
import { CheckoutDto } from "./checkout";
|
|
4
|
-
interface StartedCheckoutWithStatusDtoFunctionArgs {
|
|
5
|
-
readonly status: CheckoutItemStatus[];
|
|
6
|
-
}
|
|
7
|
-
interface StartedCheckoutWithStatusDtoFunction {
|
|
8
|
-
(args: StartedCheckoutWithStatusDtoFunctionArgs): CheckoutDto;
|
|
9
|
-
}
|
|
10
|
-
declare const startedCheckoutWithStatusDto: StartedCheckoutWithStatusDtoFunction;
|
|
11
|
-
interface StartedCheckoutWithStatusProjectionFunctionArgs {
|
|
12
|
-
readonly status: CheckoutItemStatus[];
|
|
13
|
-
}
|
|
14
|
-
interface StartedCheckoutWithStatusProjectionFunction {
|
|
15
|
-
(args: StartedCheckoutWithStatusProjectionFunctionArgs): CheckoutProjection;
|
|
16
|
-
}
|
|
17
|
-
declare const startedCheckoutWithStatusProjection: StartedCheckoutWithStatusProjectionFunction;
|
|
18
|
-
export { startedCheckoutWithStatusDto, startedCheckoutWithStatusProjection };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { v4 as uuid } from "uuid";
|
|
2
|
-
import { CheckoutStatus } from "../../../domain/checkout/model/checkout";
|
|
3
|
-
import { checkoutItemDto } from "../checkoutItem/checkoutItem.mock";
|
|
4
|
-
import { toCheckoutProjection } from "./checkout";
|
|
5
|
-
const checkoutWithItemsDto = ({ items }) => ({
|
|
6
|
-
id: uuid(),
|
|
7
|
-
status: CheckoutStatus.STARTED,
|
|
8
|
-
customer_id: uuid(),
|
|
9
|
-
box_id: uuid(),
|
|
10
|
-
booking_id: uuid(),
|
|
11
|
-
expires_on: "2022-09-20",
|
|
12
|
-
items,
|
|
13
|
-
});
|
|
14
|
-
const startedCheckoutWithStatusDto = ({ status }) => checkoutWithItemsDto({ items: status.map((status) => checkoutItemDto({ status })) });
|
|
15
|
-
const startedCheckoutWithStatusProjection = ({ status }) => toCheckoutProjection(startedCheckoutWithStatusDto({ status }));
|
|
16
|
-
export { startedCheckoutWithStatusDto, startedCheckoutWithStatusProjection };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { MatchersV3, PactV3 } from "@pact-foundation/pact";
|
|
2
|
-
import { AUTH_TOKEN, DEFAULT_PACT_OPTIONS, DEFAULT_REQUEST_HEADERS, DEFAULT_RESPONSE_HEADERS, fromMockServerUrlToApiUrl, } from "../../../../pact.config";
|
|
3
|
-
import { CheckoutItemStatus } from "../../../domain/checkoutItem/model/checkoutItem";
|
|
4
|
-
import { fetchHttpPost } from "../../delivery/http/fetchHttpClient";
|
|
5
|
-
import { toCheckoutProjection } from "./checkout";
|
|
6
|
-
import { startedCheckoutWithStatusDto } from "./checkout.mock";
|
|
7
|
-
import { httpCheckoutByIdView } from "./httpCheckoutByIdView";
|
|
8
|
-
const provider = new PactV3({
|
|
9
|
-
...DEFAULT_PACT_OPTIONS,
|
|
10
|
-
consumer: "STY-BOX_CHECKOUT-FRONT",
|
|
11
|
-
provider: "STY-BOX_CHECKOUT-BACK_ViewCheckoutById",
|
|
12
|
-
});
|
|
13
|
-
const checkoutId = "e2490de5-5bd3-43d5-b7c4-526e33f71304";
|
|
14
|
-
const checkoutResponse = {
|
|
15
|
-
result: startedCheckoutWithStatusDto({ status: [CheckoutItemStatus.KEPT] }),
|
|
16
|
-
};
|
|
17
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
const EXPECTED_BODY = MatchersV3.like(checkoutResponse);
|
|
20
|
-
describe("STY-BOX_CHECKOUT-BACK_ViewCheckoutById API", () => {
|
|
21
|
-
it("returns a valid checkout for the given id", () => {
|
|
22
|
-
provider
|
|
23
|
-
.given("a valid checkout for the given id")
|
|
24
|
-
.uponReceiving("checkout projection")
|
|
25
|
-
.withRequest({
|
|
26
|
-
method: "POST",
|
|
27
|
-
path: "/api/view-checkout-by-id",
|
|
28
|
-
headers: DEFAULT_REQUEST_HEADERS,
|
|
29
|
-
body: { checkoutId },
|
|
30
|
-
})
|
|
31
|
-
.willRespondWith({
|
|
32
|
-
status: 200,
|
|
33
|
-
headers: DEFAULT_RESPONSE_HEADERS,
|
|
34
|
-
body: EXPECTED_BODY,
|
|
35
|
-
});
|
|
36
|
-
return provider.executeTest(async (mockserver) => {
|
|
37
|
-
const httpPost = fetchHttpPost({
|
|
38
|
-
apiUrl: fromMockServerUrlToApiUrl(mockserver),
|
|
39
|
-
getAuthToken: () => Promise.resolve(AUTH_TOKEN),
|
|
40
|
-
});
|
|
41
|
-
const response = await httpCheckoutByIdView({ httpPost })({ checkoutId, signal: undefined });
|
|
42
|
-
expect(response).toStrictEqual(toCheckoutProjection(checkoutResponse.result));
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CheckoutItemStatus } from "../../../domain/checkoutItem/model/checkoutItem";
|
|
2
|
-
import { CheckoutItemProjection } from "../../../projection/checkoutItem/checkoutItem";
|
|
3
|
-
import { CheckoutItemDto } from "./checkoutItem";
|
|
4
|
-
interface CheckoutItemDtoFunctionArgs {
|
|
5
|
-
readonly status: CheckoutItemStatus;
|
|
6
|
-
}
|
|
7
|
-
interface CheckoutItemDtoFunction {
|
|
8
|
-
(args: CheckoutItemDtoFunctionArgs): CheckoutItemDto;
|
|
9
|
-
}
|
|
10
|
-
declare const checkoutItemDto: CheckoutItemDtoFunction;
|
|
11
|
-
interface CheckoutItemProjectionFunctionArgs {
|
|
12
|
-
readonly status: CheckoutItemStatus;
|
|
13
|
-
}
|
|
14
|
-
interface CheckoutItemProjectionFunction {
|
|
15
|
-
(args: CheckoutItemProjectionFunctionArgs): CheckoutItemProjection;
|
|
16
|
-
}
|
|
17
|
-
declare const checkoutItemProjection: CheckoutItemProjectionFunction;
|
|
18
|
-
export { checkoutItemDto, checkoutItemProjection };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { v4 as uuid } from "uuid";
|
|
2
|
-
import { Currency, MediaPerspective } from "../../../projection/checkoutItem/checkoutItem";
|
|
3
|
-
import { toCheckoutItemProjection } from "./checkoutItem";
|
|
4
|
-
const checkoutItemDto = ({ status }) => ({
|
|
5
|
-
id: uuid(),
|
|
6
|
-
status,
|
|
7
|
-
price: {
|
|
8
|
-
amount: 3999,
|
|
9
|
-
currency: Currency.EUR,
|
|
10
|
-
},
|
|
11
|
-
feedback: {},
|
|
12
|
-
product_variant: {
|
|
13
|
-
id: uuid(),
|
|
14
|
-
media: [
|
|
15
|
-
{
|
|
16
|
-
id: uuid(),
|
|
17
|
-
url: "https://cdn-catalog-back-prod.envs.lookiero.tech/1a/28/1a28f712-a76c-4172-8a11-f15002981dc0.jpg",
|
|
18
|
-
perspective: MediaPerspective.MAIN,
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
id: uuid(),
|
|
22
|
-
url: "https://cdn-catalog-back-prod.envs.lookiero.tech/15/ac/15aca112-4e71-4646-8db5-7f9723bc0130.jpg",
|
|
23
|
-
perspective: MediaPerspective.DETAIL,
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
brand: "CKS",
|
|
27
|
-
name: "Sari Tshirt lines",
|
|
28
|
-
size: {
|
|
29
|
-
id: uuid(),
|
|
30
|
-
lookiero: "M",
|
|
31
|
-
uk: "M",
|
|
32
|
-
it: "M",
|
|
33
|
-
europe: "M",
|
|
34
|
-
unique: false,
|
|
35
|
-
},
|
|
36
|
-
color: {
|
|
37
|
-
id: uuid(),
|
|
38
|
-
label: "black_C2",
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
});
|
|
42
|
-
const checkoutItemProjection = ({ status }) => toCheckoutItemProjection(checkoutItemDto({ status }));
|
|
43
|
-
export { checkoutItemDto, checkoutItemProjection };
|
|
@@ -1,348 +0,0 @@
|
|
|
1
|
-
import { ReturnQuestionType } from "../../../projection/returnQuestion/returnQuestion";
|
|
2
|
-
const returnQuestions = [
|
|
3
|
-
{
|
|
4
|
-
id: "efe07b97-f6fb-4b6a-ba92-b68519320b2c",
|
|
5
|
-
name: "main_title",
|
|
6
|
-
type: ReturnQuestionType.HOST_DEFAULT,
|
|
7
|
-
children: [
|
|
8
|
-
{
|
|
9
|
-
id: "ed396b68-1436-48ab-842f-fbfea996fad4",
|
|
10
|
-
name: "size",
|
|
11
|
-
placeholder: "size_placeholder",
|
|
12
|
-
type: ReturnQuestionType.HOST_SELECT,
|
|
13
|
-
children: [
|
|
14
|
-
{
|
|
15
|
-
id: "0ad1dba8-b02c-4121-a1e3-981f1c30800d",
|
|
16
|
-
name: "size_title",
|
|
17
|
-
type: ReturnQuestionType.HOST_STACK,
|
|
18
|
-
children: [
|
|
19
|
-
{
|
|
20
|
-
id: "9251dc2c-d76a-484d-9299-346929af932f",
|
|
21
|
-
name: "size_large",
|
|
22
|
-
type: ReturnQuestionType.OPTION,
|
|
23
|
-
children: [
|
|
24
|
-
{
|
|
25
|
-
id: "542c4d24-e1da-484f-8c3a-7d89ee135adc",
|
|
26
|
-
name: "",
|
|
27
|
-
type: ReturnQuestionType.HOST_STACK,
|
|
28
|
-
children: [
|
|
29
|
-
{
|
|
30
|
-
id: "68c0bb98-b00a-4b86-af43-528fe903cb69",
|
|
31
|
-
name: "size_overall",
|
|
32
|
-
type: ReturnQuestionType.OPTION,
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
id: "85e84a77-461c-41e6-8544-95b5294d0b80",
|
|
36
|
-
name: "size_trousers_too_long",
|
|
37
|
-
type: ReturnQuestionType.OPTION,
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
id: "29441d25-8d9f-471e-a13e-a03f61c88091",
|
|
41
|
-
name: "size_fit_cut_does_not_fit",
|
|
42
|
-
type: ReturnQuestionType.OPTION,
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: "a081c3e9-1904-4a60-8899-b72c1a3a0291",
|
|
50
|
-
name: "size_correct",
|
|
51
|
-
type: ReturnQuestionType.OPTION,
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
id: "624cce3d-bd86-463a-b16b-c862ad73d5f3",
|
|
55
|
-
name: "size_small",
|
|
56
|
-
type: ReturnQuestionType.OPTION,
|
|
57
|
-
children: [
|
|
58
|
-
{
|
|
59
|
-
id: "58e5ae9a-bc0d-4d27-b267-854a51c2a79a",
|
|
60
|
-
name: "",
|
|
61
|
-
type: ReturnQuestionType.HOST_STACK,
|
|
62
|
-
children: [
|
|
63
|
-
{
|
|
64
|
-
id: "6a3d11fc-570c-4085-a850-1967228cdd4c",
|
|
65
|
-
name: "size_overall",
|
|
66
|
-
type: ReturnQuestionType.OPTION,
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
id: "c27e1936-deea-4dbe-a8f1-fe4fb8564deb",
|
|
70
|
-
name: "size_trousers_too_short",
|
|
71
|
-
type: ReturnQuestionType.OPTION,
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
id: "e77232ae-eeec-4722-b2d3-f5c0d34fd0ca",
|
|
75
|
-
name: "size_fit_cut_does_not_fit",
|
|
76
|
-
type: ReturnQuestionType.OPTION,
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
id: "6a6d3878-5561-412c-96f3-7ed79ee587bb",
|
|
88
|
-
name: "style",
|
|
89
|
-
placeholder: "style_placeholder",
|
|
90
|
-
type: ReturnQuestionType.HOST_SELECT,
|
|
91
|
-
children: [
|
|
92
|
-
{
|
|
93
|
-
id: "fd7ff4a0-78ed-4c0d-aa4d-64962739c322",
|
|
94
|
-
name: "style_title",
|
|
95
|
-
type: ReturnQuestionType.HOST_STACK,
|
|
96
|
-
children: [
|
|
97
|
-
{
|
|
98
|
-
id: "56631448-d33d-49fb-b3f8-4486b68b60c3",
|
|
99
|
-
name: "style_i_love_it_but",
|
|
100
|
-
type: ReturnQuestionType.OPTION,
|
|
101
|
-
children: [
|
|
102
|
-
{
|
|
103
|
-
id: "90329d91-bd5d-4439-bb0a-b338caaeff2b",
|
|
104
|
-
name: "",
|
|
105
|
-
type: ReturnQuestionType.HOST_STACK,
|
|
106
|
-
children: [
|
|
107
|
-
{
|
|
108
|
-
id: "a3d937b6-7499-4a3c-86bf-5c0af9ab2e23",
|
|
109
|
-
name: "style_i_already_have_something_similar",
|
|
110
|
-
type: ReturnQuestionType.OPTION,
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
id: "7970edd3-fb5c-42d3-afe3-ce31bcbb856c",
|
|
114
|
-
name: "style_very_basic_simple",
|
|
115
|
-
type: ReturnQuestionType.OPTION,
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
id: "bab3d4f9-0227-4550-a53f-3c125d68429c",
|
|
119
|
-
name: "style_i_dont_need_it_at_the_moment",
|
|
120
|
-
type: ReturnQuestionType.OPTION,
|
|
121
|
-
},
|
|
122
|
-
],
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
id: "5287d1df-a28a-42cd-9138-01f82aeea4c2",
|
|
128
|
-
name: "style_i_like_it_but",
|
|
129
|
-
type: ReturnQuestionType.OPTION,
|
|
130
|
-
children: [
|
|
131
|
-
{
|
|
132
|
-
id: "35b86395-6b6b-4a39-ab16-05511f58acdd",
|
|
133
|
-
name: "",
|
|
134
|
-
type: ReturnQuestionType.HOST_STACK,
|
|
135
|
-
children: [
|
|
136
|
-
{
|
|
137
|
-
id: "e1f6ac53-f203-4b32-9ff0-782c028d9e95",
|
|
138
|
-
name: "style_i_already_have_something_similar",
|
|
139
|
-
type: ReturnQuestionType.OPTION,
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
id: "12875926-b67a-4ad3-852c-1608c7dcc558",
|
|
143
|
-
name: "style_very_basic_simple",
|
|
144
|
-
type: ReturnQuestionType.OPTION,
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
id: "a5eb96bf-73d4-4df5-8ad8-097410b24526",
|
|
148
|
-
name: "style_i_dont_need_it_at_the_moment",
|
|
149
|
-
type: ReturnQuestionType.OPTION,
|
|
150
|
-
},
|
|
151
|
-
],
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
id: "757107a9-8e2d-4194-a7fe-0d55cde49c11",
|
|
157
|
-
name: "style_not_bad_but",
|
|
158
|
-
type: ReturnQuestionType.OPTION,
|
|
159
|
-
children: [
|
|
160
|
-
{
|
|
161
|
-
id: "c6f75ee3-a445-4103-a682-f0c3a742108d",
|
|
162
|
-
name: "",
|
|
163
|
-
type: ReturnQuestionType.HOST_STACK,
|
|
164
|
-
children: [
|
|
165
|
-
{
|
|
166
|
-
id: "4f46d4b1-b103-43b2-b669-be721ab46e03",
|
|
167
|
-
name: "style_i_dont_like_the_color",
|
|
168
|
-
type: ReturnQuestionType.OPTION,
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
id: "48412165-5e05-4806-8e21-ea59c41d0479",
|
|
172
|
-
name: "style_very_basic_simple",
|
|
173
|
-
type: ReturnQuestionType.OPTION,
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
id: "51262c01-eaa3-4d3a-aeb9-95dc8b0dd687",
|
|
177
|
-
name: "style_i_dont_like_the_fabric",
|
|
178
|
-
type: ReturnQuestionType.OPTION,
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
id: "9dea1c2b-4f8c-4192-a547-999df55e77e4",
|
|
182
|
-
name: "style_i_dont_like_the_print",
|
|
183
|
-
type: ReturnQuestionType.OPTION,
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
id: "b1277bf3-4bbb-487a-8e58-88efecc61c3f",
|
|
187
|
-
name: "style_not_my_style_in_general",
|
|
188
|
-
type: ReturnQuestionType.OPTION,
|
|
189
|
-
},
|
|
190
|
-
],
|
|
191
|
-
},
|
|
192
|
-
],
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
id: "8a9cd6f8-db4b-4904-8a48-3d9bbd6f7a69",
|
|
196
|
-
name: "style_i_dont_like",
|
|
197
|
-
type: ReturnQuestionType.OPTION,
|
|
198
|
-
children: [
|
|
199
|
-
{
|
|
200
|
-
id: "f604240d-c093-4a9e-ab85-4adc0744066a",
|
|
201
|
-
name: "",
|
|
202
|
-
type: ReturnQuestionType.HOST_STACK,
|
|
203
|
-
children: [
|
|
204
|
-
{
|
|
205
|
-
id: "42dbbb93-7808-4ac3-8431-582f812cb314",
|
|
206
|
-
name: "style_i_dont_like_the_color",
|
|
207
|
-
type: ReturnQuestionType.OPTION,
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
id: "af1ade81-7b22-4f7e-a505-2ae275a6440f",
|
|
211
|
-
name: "style_very_basic_simple",
|
|
212
|
-
type: ReturnQuestionType.OPTION,
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
id: "26d073b4-2588-4391-9b4c-e8e4a8eba2a8",
|
|
216
|
-
name: "style_i_dont_like_the_fabric",
|
|
217
|
-
type: ReturnQuestionType.OPTION,
|
|
218
|
-
},
|
|
219
|
-
{
|
|
220
|
-
id: "ee50ab07-b7a6-415e-a04a-c9f350396185",
|
|
221
|
-
name: "style_i_dont_like_the_print",
|
|
222
|
-
type: ReturnQuestionType.OPTION,
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
id: "ce3227e4-851e-47b7-98c1-c63a402e8477",
|
|
226
|
-
name: "style_not_my_style_in_general",
|
|
227
|
-
type: ReturnQuestionType.OPTION,
|
|
228
|
-
},
|
|
229
|
-
],
|
|
230
|
-
},
|
|
231
|
-
],
|
|
232
|
-
},
|
|
233
|
-
],
|
|
234
|
-
},
|
|
235
|
-
],
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
id: "a1acdb2d-62c8-467f-b7cc-dc24d967290c",
|
|
239
|
-
name: "quality",
|
|
240
|
-
placeholder: "quality_placeholder",
|
|
241
|
-
type: ReturnQuestionType.HOST_SELECT,
|
|
242
|
-
children: [
|
|
243
|
-
{
|
|
244
|
-
id: "405de847-188f-46c1-b66d-941c22a6b7a9",
|
|
245
|
-
name: "quality_title",
|
|
246
|
-
type: ReturnQuestionType.HOST_STACK,
|
|
247
|
-
children: [
|
|
248
|
-
{
|
|
249
|
-
id: "cce7851c-92c7-461b-8dcb-903c5de59ed1",
|
|
250
|
-
name: "quality_good",
|
|
251
|
-
type: ReturnQuestionType.OPTION,
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
id: "4bf8f27d-669b-4d36-8d39-b5599c671816",
|
|
255
|
-
name: "quality_regular",
|
|
256
|
-
type: ReturnQuestionType.OPTION,
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
id: "48bfe766-92c0-4ff5-a793-e107b60786ff",
|
|
260
|
-
name: "quality_bad",
|
|
261
|
-
type: ReturnQuestionType.OPTION,
|
|
262
|
-
},
|
|
263
|
-
],
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
id: "f25ccdcf-b648-479e-b4a1-86129e3e8c0b",
|
|
269
|
-
name: "price",
|
|
270
|
-
placeholder: "price_placeholder",
|
|
271
|
-
type: ReturnQuestionType.HOST_SELECT,
|
|
272
|
-
children: [
|
|
273
|
-
{
|
|
274
|
-
id: "b0e0463c-787f-4d6c-adf3-5151ab6fc959",
|
|
275
|
-
name: "price_title",
|
|
276
|
-
type: ReturnQuestionType.HOST_STACK,
|
|
277
|
-
children: [
|
|
278
|
-
{
|
|
279
|
-
id: "9c59e396-4135-4255-9437-22555837d686",
|
|
280
|
-
name: "price_expensive",
|
|
281
|
-
type: ReturnQuestionType.OPTION,
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
id: "10db17f8-0982-49ee-9aeb-f752d953654c",
|
|
285
|
-
name: "price_cheap",
|
|
286
|
-
type: ReturnQuestionType.OPTION,
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
id: "acf64bb3-b91b-48e7-bba1-0541620ed1c5",
|
|
290
|
-
name: "price_fair",
|
|
291
|
-
type: ReturnQuestionType.OPTION,
|
|
292
|
-
},
|
|
293
|
-
],
|
|
294
|
-
},
|
|
295
|
-
],
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
id: "b7ad1665-5e54-4ee4-b455-e7189f33083c",
|
|
299
|
-
name: "others",
|
|
300
|
-
placeholder: "others_placeholder",
|
|
301
|
-
type: ReturnQuestionType.HOST_SELECT,
|
|
302
|
-
children: [
|
|
303
|
-
{
|
|
304
|
-
id: "32cd0ef9-78d7-4605-a279-556749b36d4a",
|
|
305
|
-
name: "others_title",
|
|
306
|
-
type: ReturnQuestionType.HOST_STACK,
|
|
307
|
-
children: [
|
|
308
|
-
{
|
|
309
|
-
id: "95c4fd13-9ca3-45a6-8795-23415bbd0a5e",
|
|
310
|
-
name: "others_i_dont_like_the_brand",
|
|
311
|
-
type: ReturnQuestionType.OPTION,
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
id: "f25c63bd-42d3-4242-9b81-927025aa9d67",
|
|
315
|
-
name: "others_different_from_preview",
|
|
316
|
-
type: ReturnQuestionType.OPTION,
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
id: "0e0b16c1-a721-4a14-aea6-e0cf5c262222",
|
|
320
|
-
name: "others_delivery_delay",
|
|
321
|
-
type: ReturnQuestionType.OPTION,
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
id: "11699ae8-325d-429c-9c05-ff2d6cc45d54",
|
|
325
|
-
name: "others_item_is_defective",
|
|
326
|
-
type: ReturnQuestionType.OPTION,
|
|
327
|
-
},
|
|
328
|
-
],
|
|
329
|
-
},
|
|
330
|
-
],
|
|
331
|
-
},
|
|
332
|
-
],
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
id: "ce3e8d57-5eea-4dd3-bef4-2e811a143612",
|
|
336
|
-
name: "comment_title",
|
|
337
|
-
type: ReturnQuestionType.HOST_TEXTAREA,
|
|
338
|
-
children: [
|
|
339
|
-
{
|
|
340
|
-
id: "1123a37d-bc00-43a4-9d28-cee1dfaf356c",
|
|
341
|
-
name: "comment_textarea",
|
|
342
|
-
placeholder: "comment_textarea_placeholder",
|
|
343
|
-
type: ReturnQuestionType.TEXTAREA,
|
|
344
|
-
},
|
|
345
|
-
],
|
|
346
|
-
},
|
|
347
|
-
];
|
|
348
|
-
export { returnQuestions };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|