@lookiero/checkout 0.3.5 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (480) hide show
  1. package/README.md +1 -0
  2. package/dist/package.json +116 -0
  3. package/dist/src/ExpoRoot.d.ts +5 -0
  4. package/dist/src/ExpoRoot.js +94 -0
  5. package/dist/{index.d.ts → src/index.d.ts} +1 -1
  6. package/dist/{index.js → src/index.js} +6 -3
  7. package/dist/{infrastructure → src/infrastructure}/delivery/bootstrap.d.ts +1 -1
  8. package/dist/{infrastructure → src/infrastructure}/delivery/bootstrap.js +3 -3
  9. package/dist/{infrastructure → src/infrastructure}/delivery/http/fetchHttpClient.d.ts +1 -1
  10. package/dist/src/infrastructure/delivery/http/fetchHttpClient.js +20 -0
  11. package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useMarkCheckoutAsPaid.d.ts +2 -2
  12. package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useMarkCheckoutAsPaid.js +7 -3
  13. package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.d.ts +1 -1
  14. package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.js +2 -2
  15. package/dist/{infrastructure → src/infrastructure}/ui/Root.d.ts +3 -0
  16. package/dist/{infrastructure → src/infrastructure}/ui/Root.js +3 -2
  17. package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.js +2 -2
  18. package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.js +1 -1
  19. package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +3 -3
  20. package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +1 -1
  21. package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.d.ts +8 -1
  22. package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.js +7 -0
  23. package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.js +1 -1
  24. package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutMiddleware.js +5 -1
  25. package/dist/{infrastructure → src/infrastructure}/ui/routing/Routing.d.ts +3 -2
  26. package/dist/{infrastructure → src/infrastructure}/ui/routing/Routing.js +8 -2
  27. package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.d.ts +3 -1
  28. package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.js +2 -0
  29. package/dist/{infrastructure → src/infrastructure}/ui/views/App.js +2 -0
  30. package/dist/src/infrastructure/ui/views/checkout/Checkout.d.ts +7 -0
  31. package/dist/src/infrastructure/ui/views/checkout/Checkout.js +78 -0
  32. package/dist/src/infrastructure/ui/views/checkout/Checkout.style.d.ts +22 -0
  33. package/dist/src/infrastructure/ui/views/checkout/Checkout.style.js +25 -0
  34. package/dist/src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.d.ts +7 -0
  35. package/dist/src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.js +25 -0
  36. package/dist/src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.style.js +19 -0
  37. package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.js +1 -1
  38. package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.js +1 -1
  39. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +1 -1
  40. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.d.ts +1 -1
  41. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.js +2 -2
  42. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.js +1 -1
  43. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +1 -1
  44. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +1 -1
  45. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +1 -1
  46. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.js +1 -1
  47. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +1 -1
  48. package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +16 -0
  49. package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.js +1 -1
  50. package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.js +1 -1
  51. package/dist/src/shared/notifications/domain/notification/command/createNotification.d.ts +17 -0
  52. package/dist/src/shared/notifications/domain/notification/command/createNotification.js +7 -0
  53. package/dist/src/shared/notifications/domain/notification/command/removeNotification.d.ts +13 -0
  54. package/dist/src/shared/notifications/domain/notification/command/removeNotification.js +4 -0
  55. package/dist/src/shared/notifications/domain/notification/command/removeNotification.tes.d.ts +1 -0
  56. package/dist/src/shared/notifications/domain/notification/command/removeNotification.tes.js +9 -0
  57. package/dist/src/shared/notifications/domain/notification/model/notification.d.ts +18 -0
  58. package/dist/src/shared/notifications/domain/notification/model/notification.js +27 -0
  59. package/dist/src/shared/notifications/domain/notification/model/notificationCreated.d.ts +13 -0
  60. package/dist/src/shared/notifications/domain/notification/model/notificationCreated.js +4 -0
  61. package/dist/src/shared/notifications/domain/notification/model/notificationRemoved.d.ts +13 -0
  62. package/dist/src/shared/notifications/domain/notification/model/notificationRemoved.js +4 -0
  63. package/dist/src/shared/notifications/domain/notification/model/notifications.d.ts +7 -0
  64. package/dist/src/shared/notifications/domain/notification/model/notifications.js +1 -0
  65. package/dist/src/shared/notifications/index.d.ts +8 -0
  66. package/dist/src/shared/notifications/index.js +5 -0
  67. package/dist/src/shared/notifications/infrastructure/delivery/bootstrap.d.ts +13 -0
  68. package/dist/src/shared/notifications/infrastructure/delivery/bootstrap.js +14 -0
  69. package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotifications.d.ts +18 -0
  70. package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotifications.js +23 -0
  71. package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.d.ts +8 -0
  72. package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.js +16 -0
  73. package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.d.ts +5 -0
  74. package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.js +10 -0
  75. package/dist/src/shared/notifications/infrastructure/domain/notification/react/useCreateNotification.d.ts +16 -0
  76. package/dist/src/shared/notifications/infrastructure/domain/notification/react/useCreateNotification.js +16 -0
  77. package/dist/src/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.d.ts +12 -0
  78. package/dist/src/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.js +10 -0
  79. package/dist/src/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.d.ts +7 -0
  80. package/dist/src/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.js +13 -0
  81. package/dist/src/shared/notifications/infrastructure/persistence/notificationDto.d.ts +8 -0
  82. package/dist/src/shared/notifications/infrastructure/persistence/notificationDto.js +1 -0
  83. package/dist/src/shared/notifications/infrastructure/persistence/storage.d.ts +7 -0
  84. package/dist/src/shared/notifications/infrastructure/persistence/storage.js +1 -0
  85. package/dist/src/shared/notifications/infrastructure/projection/notification/notification.d.ts +7 -0
  86. package/dist/src/shared/notifications/infrastructure/projection/notification/notification.js +7 -0
  87. package/dist/src/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.d.ts +13 -0
  88. package/dist/src/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.js +6 -0
  89. package/dist/src/shared/notifications/infrastructure/ui/components/NotificationItem.d.ts +12 -0
  90. package/dist/src/shared/notifications/infrastructure/ui/components/NotificationItem.js +24 -0
  91. package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.d.ts +9 -0
  92. package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.js +13 -0
  93. package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.style.d.ts +25 -0
  94. package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.style.js +28 -0
  95. package/dist/src/shared/notifications/infrastructure/ui/notificationsRoot.d.ts +13 -0
  96. package/dist/src/shared/notifications/infrastructure/ui/notificationsRoot.js +11 -0
  97. package/dist/src/shared/notifications/infrastructure/ui/views/Notifications.d.ts +3 -0
  98. package/dist/src/shared/notifications/infrastructure/ui/views/Notifications.js +11 -0
  99. package/dist/src/shared/notifications/projection/notification/listNotifications.d.ts +19 -0
  100. package/dist/src/shared/notifications/projection/notification/listNotifications.js +5 -0
  101. package/dist/src/shared/notifications/projection/notification/notification.d.ts +8 -0
  102. package/dist/src/shared/notifications/projection/notification/notification.js +1 -0
  103. package/dist/src/shared/notifications/projection/notification/react/useListNotifications.d.ts +7 -0
  104. package/dist/src/shared/notifications/projection/notification/react/useListNotifications.js +15 -0
  105. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.style.js +1 -1
  106. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.js +1 -1
  107. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.style.js +1 -1
  108. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.js +1 -1
  109. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.style.js +1 -1
  110. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.js +1 -1
  111. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.style.js +1 -1
  112. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.js +1 -1
  113. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.js +1 -1
  114. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.style.js +1 -1
  115. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.style.js +1 -1
  116. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.style.js +1 -1
  117. package/dist/src/shared/ui/components/layouts/stack/Stack.d.ts +8 -0
  118. package/dist/src/shared/ui/components/layouts/stack/Stack.js +29 -0
  119. package/dist/src/shared/ui/components/layouts/stack/Stack.style.d.ts +10 -0
  120. package/dist/src/shared/ui/components/layouts/stack/Stack.style.js +11 -0
  121. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.js +1 -1
  122. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.style.js +1 -1
  123. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.style.js +1 -1
  124. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.js +1 -1
  125. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.style.js +1 -1
  126. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.js +1 -1
  127. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.style.js +1 -1
  128. package/dist/src/shared/ui/components/molecules/toast/Toast.d.ts +25 -0
  129. package/dist/src/shared/ui/components/molecules/toast/Toast.js +22 -0
  130. package/dist/src/shared/ui/components/molecules/toast/Toast.style.d.ts +34 -0
  131. package/dist/src/shared/ui/components/molecules/toast/Toast.style.js +37 -0
  132. package/package.json +24 -4
  133. package/dist/infrastructure/delivery/http/fetchHttpClient.js +0 -20
  134. /package/dist/{domain → src/domain}/checkout/command/markCheckoutAsPaid.d.ts +0 -0
  135. /package/dist/{domain → src/domain}/checkout/command/markCheckoutAsPaid.js +0 -0
  136. /package/dist/{domain → src/domain}/checkout/command/startCheckout.d.ts +0 -0
  137. /package/dist/{domain → src/domain}/checkout/command/startCheckout.js +0 -0
  138. /package/dist/{domain → src/domain}/checkout/model/checkout.d.ts +0 -0
  139. /package/dist/{domain → src/domain}/checkout/model/checkout.js +0 -0
  140. /package/dist/{domain → src/domain}/checkout/model/checkoutPaid.d.ts +0 -0
  141. /package/dist/{domain → src/domain}/checkout/model/checkoutPaid.js +0 -0
  142. /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.d.ts +0 -0
  143. /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.js +0 -0
  144. /package/dist/{domain → src/domain}/checkout/model/checkouts.d.ts +0 -0
  145. /package/dist/{domain → src/domain}/checkout/model/checkouts.js +0 -0
  146. /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.d.ts +0 -0
  147. /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.js +0 -0
  148. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.d.ts +0 -0
  149. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.js +0 -0
  150. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.d.ts +0 -0
  151. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.js +0 -0
  152. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookings.d.ts +0 -0
  153. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookings.js +0 -0
  154. /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.d.ts +0 -0
  155. /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.js +0 -0
  156. /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.d.ts +0 -0
  157. /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.js +0 -0
  158. /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.d.ts +0 -0
  159. /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.js +0 -0
  160. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.d.ts +0 -0
  161. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.js +0 -0
  162. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.d.ts +0 -0
  163. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.js +0 -0
  164. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.d.ts +0 -0
  165. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.js +0 -0
  166. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.d.ts +0 -0
  167. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.js +0 -0
  168. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.d.ts +0 -0
  169. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.js +0 -0
  170. /package/dist/{domain → src/domain}/checkoutItem/model/currency.d.ts +0 -0
  171. /package/dist/{domain → src/domain}/checkoutItem/model/currency.js +0 -0
  172. /package/dist/{domain → src/domain}/checkoutItem/model/feedbacks.d.ts +0 -0
  173. /package/dist/{domain → src/domain}/checkoutItem/model/feedbacks.js +0 -0
  174. /package/dist/{domain → src/domain}/checkoutItem/model/price.d.ts +0 -0
  175. /package/dist/{domain → src/domain}/checkoutItem/model/price.js +0 -0
  176. /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.d.ts +0 -0
  177. /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.js +0 -0
  178. /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.d.ts +0 -0
  179. /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.js +0 -0
  180. /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.d.ts +0 -0
  181. /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.js +0 -0
  182. /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.d.ts +0 -0
  183. /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.js +0 -0
  184. /package/dist/{infrastructure → src/infrastructure}/delivery/baseBootstrap.d.ts +0 -0
  185. /package/dist/{infrastructure → src/infrastructure}/delivery/baseBootstrap.js +0 -0
  186. /package/dist/{infrastructure → src/infrastructure}/delivery/http/httpClient.d.ts +0 -0
  187. /package/dist/{infrastructure → src/infrastructure}/delivery/http/httpClient.js +0 -0
  188. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.d.ts +0 -0
  189. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.js +0 -0
  190. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.d.ts +0 -0
  191. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.js +0 -0
  192. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.d.ts +0 -0
  193. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.js +0 -0
  194. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.d.ts +0 -0
  195. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.js +0 -0
  196. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.d.ts +0 -0
  197. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.js +0 -0
  198. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckouts.d.ts +0 -0
  199. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckouts.js +0 -0
  200. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsMarkAsPaid.d.ts +0 -0
  201. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsMarkAsPaid.js +0 -0
  202. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.d.ts +0 -0
  203. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.js +0 -0
  204. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useStartCheckout.d.ts +0 -0
  205. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useStartCheckout.js +0 -0
  206. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +0 -0
  207. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.js +0 -0
  208. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.d.ts +0 -0
  209. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.js +0 -0
  210. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.d.ts +0 -0
  211. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.js +0 -0
  212. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItems.d.ts +0 -0
  213. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItems.js +0 -0
  214. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.d.ts +0 -0
  215. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.js +0 -0
  216. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.d.ts +0 -0
  217. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.js +0 -0
  218. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.d.ts +0 -0
  219. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.js +0 -0
  220. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +0 -0
  221. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useKeepCheckoutItem.js +0 -0
  222. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +0 -0
  223. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReplaceCheckoutItem.js +0 -0
  224. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +0 -0
  225. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReturnCheckoutItem.js +0 -0
  226. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.d.ts +0 -0
  227. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.js +0 -0
  228. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useIncrementIntroShownCount.d.ts +0 -0
  229. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useIncrementIntroShownCount.js +0 -0
  230. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useUpdateUiSetting.d.ts +0 -0
  231. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useUpdateUiSetting.js +0 -0
  232. /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.d.ts +0 -0
  233. /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.js +0 -0
  234. /package/dist/{infrastructure → src/infrastructure}/persistence/storage.d.ts +0 -0
  235. /package/dist/{infrastructure → src/infrastructure}/persistence/storage.js +0 -0
  236. /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.d.ts +0 -0
  237. /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.js +0 -0
  238. /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.d.ts +0 -0
  239. /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.js +0 -0
  240. /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.d.ts +0 -0
  241. /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.js +0 -0
  242. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.d.ts +0 -0
  243. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.js +0 -0
  244. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpCheckoutByIdView.d.ts +0 -0
  245. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpCheckoutByIdView.js +0 -0
  246. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +0 -0
  247. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.js +0 -0
  248. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +0 -0
  249. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.js +0 -0
  250. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +0 -0
  251. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.js +0 -0
  252. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
  253. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +0 -0
  254. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.d.ts +0 -0
  255. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.js +0 -0
  256. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
  257. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +0 -0
  258. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutBooking/httpCheckoutBookingByIdView.d.ts +0 -0
  259. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutBooking/httpCheckoutBookingByIdView.js +0 -0
  260. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +0 -0
  261. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.js +0 -0
  262. /package/dist/{infrastructure → src/infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.d.ts +0 -0
  263. /package/dist/{infrastructure → src/infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.js +0 -0
  264. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/httpPricingByCheckoutIdView.d.ts +0 -0
  265. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/httpPricingByCheckoutIdView.js +0 -0
  266. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.d.ts +0 -0
  267. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.js +0 -0
  268. /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +0 -0
  269. /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.js +0 -0
  270. /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.d.ts +0 -0
  271. /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.js +0 -0
  272. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useShouldIntroBeShown.d.ts +0 -0
  273. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useShouldIntroBeShown.js +0 -0
  274. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewIntroShownCount.d.ts +0 -0
  275. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewIntroShownCount.js +0 -0
  276. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.d.ts +0 -0
  277. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.js +0 -0
  278. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.d.ts +0 -0
  279. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.js +0 -0
  280. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.d.ts +0 -0
  281. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.js +0 -0
  282. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.style.d.ts +0 -0
  283. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.style.js +0 -0
  284. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.d.ts +0 -0
  285. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.d.ts +0 -0
  286. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.js +0 -0
  287. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.d.ts +0 -0
  288. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.style.d.ts +0 -0
  289. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.style.js +0 -0
  290. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.d.ts +0 -0
  291. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.js +0 -0
  292. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.d.ts +0 -0
  293. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.js +0 -0
  294. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.d.ts +0 -0
  295. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.js +0 -0
  296. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +0 -0
  297. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.js +0 -0
  298. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +0 -0
  299. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js +0 -0
  300. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.d.ts +0 -0
  301. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.js +0 -0
  302. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.d.ts +0 -0
  303. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +0 -0
  304. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.d.ts +0 -0
  305. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +0 -0
  306. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.d.ts +0 -0
  307. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.d.ts +0 -0
  308. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +0 -0
  309. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.d.ts +0 -0
  310. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.js +0 -0
  311. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.d.ts +0 -0
  312. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.js +0 -0
  313. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.d.ts +0 -0
  314. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +0 -0
  315. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.d.ts +0 -0
  316. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +0 -0
  317. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.d.ts +0 -0
  318. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +0 -0
  319. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.d.ts +0 -0
  320. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +0 -0
  321. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.d.ts +0 -0
  322. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.d.ts +0 -0
  323. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.js +0 -0
  324. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/SafeAreaScrollView.d.ts +0 -0
  325. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/SafeAreaScrollView.js +0 -0
  326. /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.d.ts +0 -0
  327. /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.js +0 -0
  328. /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.d.ts +0 -0
  329. /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutMiddleware.d.ts +0 -0
  330. /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.d.ts +0 -0
  331. /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.js +0 -0
  332. /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.d.ts +0 -0
  333. /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.js +0 -0
  334. /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.d.ts +0 -0
  335. /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.js +0 -0
  336. /package/dist/{infrastructure → src/infrastructure}/ui/theme/theme.d.ts +0 -0
  337. /package/dist/{infrastructure → src/infrastructure}/ui/theme/theme.js +0 -0
  338. /package/dist/{infrastructure → src/infrastructure}/ui/views/App.d.ts +0 -0
  339. /package/dist/{infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.d.ts → src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.style.d.ts} +0 -0
  340. /package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.d.ts +0 -0
  341. /package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.style.d.ts +0 -0
  342. /package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.style.js +0 -0
  343. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.d.ts +0 -0
  344. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.style.d.ts +0 -0
  345. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.style.js +0 -0
  346. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +0 -0
  347. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.js +0 -0
  348. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +0 -0
  349. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.js +0 -0
  350. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.d.ts +0 -0
  351. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +0 -0
  352. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +0 -0
  353. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.style.d.ts +0 -0
  354. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.style.js +0 -0
  355. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.d.ts +0 -0
  356. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.style.d.ts +0 -0
  357. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.style.js +0 -0
  358. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +0 -0
  359. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +0 -0
  360. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.d.ts +0 -0
  361. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +0 -0
  362. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.d.ts +0 -0
  363. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.d.ts +0 -0
  364. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +0 -0
  365. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +0 -0
  366. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.d.ts +0 -0
  367. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +0 -0
  368. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +0 -0
  369. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -0
  370. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -0
  371. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.d.ts +0 -0
  372. /package/dist/{infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts → src/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.d.ts} +0 -0
  373. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.js +0 -0
  374. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.d.ts +0 -0
  375. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +0 -0
  376. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.d.ts +0 -0
  377. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.style.d.ts +0 -0
  378. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.style.js +0 -0
  379. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +0 -0
  380. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.js +0 -0
  381. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +0 -0
  382. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +0 -0
  383. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.d.ts +0 -0
  384. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +0 -0
  385. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.d.ts +0 -0
  386. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.js +0 -0
  387. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.d.ts +0 -0
  388. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.js +0 -0
  389. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.style.d.ts +0 -0
  390. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.style.js +0 -0
  391. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowDown.d.ts +0 -0
  392. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowDown.js +0 -0
  393. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowUp.d.ts +0 -0
  394. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowUp.js +0 -0
  395. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +0 -0
  396. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.style.d.ts +0 -0
  397. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.style.js +0 -0
  398. /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.d.ts +0 -0
  399. /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.js +0 -0
  400. /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.d.ts +0 -0
  401. /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.js +0 -0
  402. /package/dist/{projection → src/projection}/checkout/checkout.d.ts +0 -0
  403. /package/dist/{projection → src/projection}/checkout/checkout.js +0 -0
  404. /package/dist/{projection → src/projection}/checkout/viewCheckoutById.d.ts +0 -0
  405. /package/dist/{projection → src/projection}/checkout/viewCheckoutById.js +0 -0
  406. /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
  407. /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.js +0 -0
  408. /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.d.ts +0 -0
  409. /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.js +0 -0
  410. /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
  411. /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.js +0 -0
  412. /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +0 -0
  413. /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.js +0 -0
  414. /package/dist/{projection → src/projection}/checkoutBooking/checkoutBooking.d.ts +0 -0
  415. /package/dist/{projection → src/projection}/checkoutBooking/checkoutBooking.js +0 -0
  416. /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.d.ts +0 -0
  417. /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.js +0 -0
  418. /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.d.ts +0 -0
  419. /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.js +0 -0
  420. /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.d.ts +0 -0
  421. /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.js +0 -0
  422. /package/dist/{projection → src/projection}/feedback/feedback.d.ts +0 -0
  423. /package/dist/{projection → src/projection}/feedback/feedback.js +0 -0
  424. /package/dist/{projection → src/projection}/payment/paymentFlowPayload.d.ts +0 -0
  425. /package/dist/{projection → src/projection}/payment/paymentFlowPayload.js +0 -0
  426. /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
  427. /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.js +0 -0
  428. /package/dist/{projection → src/projection}/pricing/pricing.d.ts +0 -0
  429. /package/dist/{projection → src/projection}/pricing/pricing.js +0 -0
  430. /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.d.ts +0 -0
  431. /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.js +0 -0
  432. /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.d.ts +0 -0
  433. /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.js +0 -0
  434. /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.d.ts +0 -0
  435. /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.js +0 -0
  436. /package/dist/{projection → src/projection}/shared/price.d.ts +0 -0
  437. /package/dist/{projection → src/projection}/shared/price.js +0 -0
  438. /package/dist/{projection → src/projection}/shared/size.d.ts +0 -0
  439. /package/dist/{projection → src/projection}/shared/size.js +0 -0
  440. /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.d.ts +0 -0
  441. /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.js +0 -0
  442. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.d.ts +0 -0
  443. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.js +0 -0
  444. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.style.d.ts +0 -0
  445. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.d.ts +0 -0
  446. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.style.d.ts +0 -0
  447. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.d.ts +0 -0
  448. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.style.d.ts +0 -0
  449. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.d.ts +0 -0
  450. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.style.d.ts +0 -0
  451. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.d.ts +0 -0
  452. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.style.d.ts +0 -0
  453. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.style.js +0 -0
  454. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.d.ts +0 -0
  455. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.js +0 -0
  456. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.style.d.ts +0 -0
  457. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.style.js +0 -0
  458. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.d.ts +0 -0
  459. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.style.d.ts +0 -0
  460. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.d.ts +0 -0
  461. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.js +0 -0
  462. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.style.d.ts +0 -0
  463. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.d.ts +0 -0
  464. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.js +0 -0
  465. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.style.d.ts +0 -0
  466. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.d.ts +0 -0
  467. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.js +0 -0
  468. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.style.d.ts +0 -0
  469. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.style.js +0 -0
  470. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.d.ts +0 -0
  471. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.style.d.ts +0 -0
  472. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.d.ts +0 -0
  473. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.js +0 -0
  474. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.style.d.ts +0 -0
  475. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.d.ts +0 -0
  476. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.style.d.ts +0 -0
  477. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.d.ts +0 -0
  478. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.style.d.ts +0 -0
  479. /package/dist/{infrastructure/ui/shared → src/shared/ui}/hooks/useScreenSize.d.ts +0 -0
  480. /package/dist/{infrastructure/ui/shared → src/shared/ui}/hooks/useScreenSize.js +0 -0
package/README.md CHANGED
@@ -29,6 +29,7 @@ Once we can replace the build of Jenkins for NPM one, we are going to be able to
29
29
  "dependencies": {
30
30
  (...)
31
31
  "@expo/dev-server": "0.1.120",
32
+ "inline-style-prefixer": "6.0.1",
32
33
  (...)
33
34
  },
34
35
  "devDependencies": {
@@ -0,0 +1,116 @@
1
+ {
2
+ "name": "@lookiero/checkout",
3
+ "version": "0.3.7",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "engines": {
10
+ "node": "^14.20.0 || ^16.13.0 || ^18.9.0"
11
+ },
12
+ "scripts": {
13
+ "start": "expo start",
14
+ "android": "expo start --android",
15
+ "ios": "expo start --ios",
16
+ "web": "expo start --web",
17
+ "export-analyze-web": "BUNDLE_ANALYZE=true NODE_ENV=production expo export:web",
18
+ "build": "tsc -b tsconfig.build.json",
19
+ "build:app": "tsc -p ./tsconfig.build-app.json --noemit && ENTRY_POINT='./src/Expo.tsx' NODE_ENV=production expo export:web --clear",
20
+ "lint": "eslint --fix --cache --cache-location ./node_modules/.cache/.eslintcache --ext ts,tsx .",
21
+ "format": "prettier --write \"**/*.+(json|css|ts|tsx|md)\"",
22
+ "test": "tsc -p ./tsconfig.test.json --noemit && jest",
23
+ "test:coverage": "jest --coverage --coverageReporters=text --detectOpenHandles --forceExit --silent",
24
+ "test:contract": "TEST_ENV=CONTRACT jest --coverage false --detectOpenHandles --testMatch \"**/?(*.)+(pact).ts\" --testTimeout=3000 --watchAll=false --forceExit",
25
+ "publish:contract": "BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) node pact.publish.js",
26
+ "prepare": "husky install"
27
+ },
28
+ "dependencies": {
29
+ "@expo/dev-server": "0.1.120",
30
+ "@gorhom/portal": "^1.0.14",
31
+ "@lookiero/i18n": "^0.8.1",
32
+ "@lookiero/i18n-react": "^0.8.1",
33
+ "@lookiero/messaging": "^8.0.0",
34
+ "@lookiero/messaging-react": "^8.0.0",
35
+ "@react-spring/native": "^9.5.5",
36
+ "inline-style-prefixer": "6.0.1",
37
+ "react-native-safe-area-context": "^4.4.1",
38
+ "react-native-svg": "12.3.0",
39
+ "tiny-invariant": "^1.2.0",
40
+ "uuid": "^9.0.0"
41
+ },
42
+ "peerDependencies": {
43
+ "@lookiero/aurora-fonts": "^1.0.6",
44
+ "@lookiero/aurora-iconfont": "^2.0.37",
45
+ "@lookiero/aurora-next": "^3.0.185",
46
+ "@lookiero/data-sources": "^0.3",
47
+ "@lookiero/event": "^0.3",
48
+ "@lookiero/locale": "^0.3",
49
+ "@lookiero/payments-front": "^0.16.3",
50
+ "apollo-boost": "0.4.4",
51
+ "graphql": "14.5.8",
52
+ "graphql-tag": "2.10.1",
53
+ "react": "^18.0.0",
54
+ "react-dom": "^18.0.0",
55
+ "react-native": "^0.70.1",
56
+ "react-native-web": "^0.18.9",
57
+ "react-router-dom": "^6.4.2",
58
+ "react-router-native": "^6.4.2"
59
+ },
60
+ "devDependencies": {
61
+ "@babel/core": "^7.19.1",
62
+ "@expo/webpack-config": "^0.17.2",
63
+ "@lookiero/aurora-fonts": "^1.0.6",
64
+ "@lookiero/aurora-iconfont": "^2.0.37",
65
+ "@lookiero/aurora-next": "^3.0.185",
66
+ "@lookiero/data-sources": "^0.3",
67
+ "@lookiero/event": "^0.3",
68
+ "@lookiero/locale": "^0.3",
69
+ "@lookiero/payments-front": "^0.16.3",
70
+ "@pact-foundation/pact": "^10.1.4",
71
+ "@pact-foundation/pact-node": "^10.17.6",
72
+ "@testing-library/react": "^13.4.0",
73
+ "@testing-library/react-hooks": "^8.0.1",
74
+ "@testing-library/react-native": "^11.0.0",
75
+ "@trivago/prettier-plugin-sort-imports": "^3.3.0",
76
+ "@types/jest": "^29.1.0",
77
+ "@types/react": "~18.0.0",
78
+ "@types/react-dom": "~18.0.0",
79
+ "@types/react-native": "~0.69.1",
80
+ "@types/uuid": "^8.3.4",
81
+ "apollo-boost": "0.4.4",
82
+ "eslint": "^8.24.0",
83
+ "eslint-config-prettier": "^8.5.0",
84
+ "eslint-config-react-app": "^7.0.1",
85
+ "eslint-plugin-flowtype": "^8.0.3",
86
+ "eslint-plugin-import": "^2.26.0",
87
+ "eslint-plugin-jsx-a11y": "^6.6.1",
88
+ "eslint-plugin-prettier": "^4.2.1",
89
+ "eslint-plugin-react": "^7.31.8",
90
+ "eslint-plugin-react-hooks": "^4.6.0",
91
+ "eslint-plugin-react-native": "^4.0.0",
92
+ "expo": "~46.0.8",
93
+ "expo-status-bar": "~1.4.0",
94
+ "graphql": "14.5.8",
95
+ "graphql-tag": "2.10.1",
96
+ "husky": "^8.0.1",
97
+ "jest": "^29.1.1",
98
+ "jest-expo": "^46.0.1",
99
+ "jest-fetch-mock": "^3.0.3",
100
+ "jest-mock-extended": "^2.0.7",
101
+ "lint-staged": "^13.0.3",
102
+ "pino-std-serializers": "^6.0.0",
103
+ "prettier": "^2.7.1",
104
+ "react": "^18.0.0",
105
+ "react-dom": "^18.0.0",
106
+ "react-native": "^0.70.1",
107
+ "react-native-get-random-values": "^1.8.0",
108
+ "react-native-unimodules": "^0.14.10",
109
+ "react-native-web": "^0.18.9",
110
+ "react-router-dom": "^6.4.2",
111
+ "react-router-native": "^6.4.2",
112
+ "react-test-renderer": "^18.0.0",
113
+ "typescript": "^4.6.3",
114
+ "webpack-bundle-analyzer": "^4.6.1"
115
+ }
116
+ }
@@ -0,0 +1,5 @@
1
+ import "expo/build/Expo.fx";
2
+ import { FC } from "react";
3
+ import "react-native-get-random-values";
4
+ declare const ExpoRoot: FC;
5
+ export { ExpoRoot };
@@ -0,0 +1,94 @@
1
+ import { Aurora } from "@lookiero/aurora-next/build/components/primitives/Aurora/Aurora";
2
+ import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
3
+ import { fetchFetchTranslation } from "@lookiero/i18n";
4
+ import { i18n } from "@lookiero/i18n-react";
5
+ import { setPaymentsBridge } from "@lookiero/payments-front";
6
+ import { useFonts } from "expo-font";
7
+ import "expo/build/Expo.fx";
8
+ import React, { useCallback, useState } from "react";
9
+ import { Platform, StatusBar } from "react-native";
10
+ import "react-native-get-random-values";
11
+ import { version } from "../package.json";
12
+ // import { bootstrap as checkoutMockBootstrap } from "./infrastructure/delivery/bootstrap.mock";
13
+ import { bootstrap as checkoutBootstrap } from "./infrastructure/delivery/bootstrap";
14
+ import { root } from "./infrastructure/ui/Root";
15
+ import { Router } from "./infrastructure/ui/routing/router/Router";
16
+ import { notificationsRoot } from "./shared/notifications";
17
+ const apiUrl = Platform.OS !== "web" ? "https://web2.ps.dev.aws.lookiero.es/checkout/api" : __DEV__ ? "/local-to-dev" : "/api";
18
+ const authToken = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIwOTUxNjAsImV4cCI6MTY2OTM5MTY3MCwiZGlzcGxheU5hbWUiOiJBbGV4YW5kZXIiLCJjb3VudHJ5X2NvZGUiOiJFUyIsImFjY2Vzc1ZpYSI6ImVtYWlsIiwic3Vic2NyaXB0aW9uU3RhcnRpbmdEYXRlIjoiMjAyMC0wOS0wMSIsImltcGVyc29uYXRlZCI6ZmFsc2UsInV1aWQiOiJjZjdjNjQxZi0wZTVjLTQ4NTAtYWUwNy0yNzY3NDdlZGZkMGIiLCJpYXQiOjE2NjY3MTMyNzB9.KaEZc8M5N9TWg6flwUMx7O14DW-u4oTWFzYm23RaL9c";
19
+ const translationsUrl = Platform.OS !== "web" ? "https://web2.ps.dev.aws.lookiero.es/checkout/i18n" : __DEV__ ? "/local-to-i18n" : "/i18n";
20
+ const translationsApiKey = "f2AfMGaPCZGVbAFWz_OV4GWhBDG_NbZJ";
21
+ const translations = (locale) => `${translationsUrl}/${locale}?key=${translationsApiKey}&no-folding=true`;
22
+ setPaymentsBridge({
23
+ getToken: () => Promise.resolve(authToken),
24
+ stripeKey: "pk_test_6dwdUfkUm7AaUH3oSje9H0kk",
25
+ stripeUkKey: "pk_test_51Jw6NEHQ1gSUXaQ8KKBLBhmzw7k0TCTN0GQ6qq8oGRmXCn09ptn7zrHX5jsyidv8iBDGuzUDV3R0fko01m5oJzMO00z6XmoLbn",
26
+ commonAssetsPath: "https://cdn.dev.envs.lookiero.tech/commons",
27
+ paymentsAssetsPath: "https://cdn.dev.envs.lookiero.tech/payments-front",
28
+ iOSInAppBrowserBannerHeight: 70,
29
+ useAvoidKeyboard: () => ({
30
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
31
+ // @ts-ignore
32
+ setAvoidKeyboard: (state) => console.log("setAvoidKeyboard: ", state),
33
+ }),
34
+ emitTrackingEvent: (e) => {
35
+ console.log("Tracking Payment event", e);
36
+ },
37
+ appVersion: version,
38
+ googlePay: {
39
+ merchant: {
40
+ merchantId: "0123456789",
41
+ merchantName: "Lookiero",
42
+ },
43
+ isTestEnv: true,
44
+ },
45
+ useFeatureFlags: () => ({
46
+ /* eslint-disable @typescript-eslint/naming-convention */
47
+ ALLOW_GOOGLE_PAY_AT: true,
48
+ ALLOW_GOOGLE_PAY_BE: true,
49
+ ALLOW_GOOGLE_PAY_DE: true,
50
+ ALLOW_GOOGLE_PAY_ES: true,
51
+ ALLOW_GOOGLE_PAY_FR: true,
52
+ ALLOW_GOOGLE_PAY_GB: true,
53
+ ALLOW_GOOGLE_PAY_IT: true,
54
+ ALLOW_GOOGLE_PAY_LU: true,
55
+ ALLOW_GOOGLE_PAY_NL: true,
56
+ ALLOW_GOOGLE_PAY_PT: true,
57
+ ALLOW_GOOGLE_PAY_APP_AT: true,
58
+ ALLOW_GOOGLE_PAY_APP_BE: true,
59
+ ALLOW_GOOGLE_PAY_APP_DE: true,
60
+ ALLOW_GOOGLE_PAY_APP_ES: true,
61
+ ALLOW_GOOGLE_PAY_APP_FR: true,
62
+ ALLOW_GOOGLE_PAY_APP_GB: true,
63
+ ALLOW_GOOGLE_PAY_APP_IT: true,
64
+ ALLOW_GOOGLE_PAY_APP_LU: true,
65
+ ALLOW_GOOGLE_PAY_APP_NL: true,
66
+ ALLOW_GOOGLE_PAY_APP_PT: true,
67
+ /* eslint-enable @typescript-eslint/naming-convention */
68
+ }),
69
+ });
70
+ // const { Component: Messaging } = checkoutMockBootstrap();
71
+ const { Component: Messaging } = checkoutBootstrap({ apiUrl, authToken });
72
+ const I18n = i18n({
73
+ fetchTranslation: fetchFetchTranslation({ endpoint: translations }),
74
+ contextId: "CheckoutI18n",
75
+ });
76
+ const Notifications = notificationsRoot();
77
+ const Root = root({ Messaging, I18n, Notifications, authToken, development: false });
78
+ const ExpoRoot = () => {
79
+ const [fontsLoaded] = useFonts({
80
+ ["Romie-Regular"]: require("@lookiero/aurora-fonts/Romie-Regular.ttf"),
81
+ ["FoundersGroteskText-Regular"]: require("@lookiero/aurora-fonts/FoundersGroteskText-Regular.ttf"),
82
+ ["Canela-Light"]: require("@lookiero/aurora-fonts/Canela-Light.ttf"),
83
+ auroraicons: require("@lookiero/aurora-iconfont/dist/auroraicons.ttf"),
84
+ });
85
+ const [isAccessible, setIsAccessible] = useState();
86
+ const onNotAccessible = useCallback(() => setIsAccessible(false), []);
87
+ return fontsLoaded ? (React.createElement(React.Fragment, null,
88
+ React.createElement(Aurora, { useStack: false },
89
+ isAccessible === false && React.createElement(Text, { heading: true }, "Checkout is not accessible!"),
90
+ React.createElement(Router, null,
91
+ React.createElement(Root, { basePath: "", customerId: "cf7c641f-0e5c-4850-ae07-276747edfd0b", locale: "es", onNotAccessible: onNotAccessible }))),
92
+ React.createElement(StatusBar, null))) : null;
93
+ };
94
+ export { ExpoRoot };
@@ -18,7 +18,7 @@ interface BootstrapFunctionReturn {
18
18
  readonly isCheckoutAccessible: IsCheckoutAccessibleFunction;
19
19
  }
20
20
  interface BootstrapFunction {
21
- (args: BootstrapFunctionArgs): BootstrapFunctionReturn;
21
+ (args: BootstrapFunctionArgs): Promise<BootstrapFunctionReturn>;
22
22
  }
23
23
  declare const bootstrap: BootstrapFunction;
24
24
  export { bootstrap };
@@ -3,13 +3,16 @@ import { i18n } from "@lookiero/i18n-react";
3
3
  import { bootstrap as checkoutBootstrap } from "./infrastructure/delivery/bootstrap";
4
4
  import { root } from "./infrastructure/ui/Root";
5
5
  import { viewIsCheckoutAccessibleByCustomerId, } from "./projection/checkout/viewIsCheckoutAccessibleByCustomerId";
6
- const bootstrap = ({ apiUrl, getAuthToken, translations }) => {
7
- const { Component: Messaging, queryBus } = checkoutBootstrap({ apiUrl, getAuthToken });
6
+ import { notificationsRoot } from "./shared/notifications";
7
+ const bootstrap = async ({ apiUrl, getAuthToken, translations }) => {
8
+ const authToken = await getAuthToken();
9
+ const { Component: Messaging, queryBus } = checkoutBootstrap({ apiUrl, authToken });
8
10
  const I18n = i18n({
9
11
  fetchTranslation: fetchFetchTranslation({ endpoint: translations }),
10
12
  contextId: "CheckoutI18n",
11
13
  });
12
- const Root = root({ Messaging, I18n });
14
+ const Notifications = notificationsRoot();
15
+ const Root = root({ Messaging, I18n, Notifications, authToken });
13
16
  const isCheckoutAccessible = ({ customerId }) => queryBus(viewIsCheckoutAccessibleByCustomerId({ customerId }));
14
17
  return {
15
18
  Root,
@@ -1,6 +1,6 @@
1
1
  import { BuildBootstrapFunctionReturn } from "@lookiero/messaging-react";
2
2
  interface BootstrapFunctionArgs {
3
- readonly getAuthToken: () => Promise<string>;
3
+ readonly authToken: string;
4
4
  readonly apiUrl: string;
5
5
  }
6
6
  interface BootstrapFunction {
@@ -15,9 +15,9 @@ import { httpReturnQuestionsByCheckoutItemIdView } from "../projection/returnQue
15
15
  import { storageUiSettingByKeyView } from "../projection/uiSetting/storageUiSettingByKeyView";
16
16
  import { baseBootstrap } from "./baseBootstrap";
17
17
  import { fetchHttpGet, fetchHttpPost } from "./http/fetchHttpClient";
18
- const bootstrap = ({ apiUrl, getAuthToken }) => {
19
- const httpGet = fetchHttpGet({ apiUrl, getAuthToken });
20
- const httpPost = fetchHttpPost({ apiUrl, getAuthToken });
18
+ const bootstrap = ({ apiUrl, authToken }) => {
19
+ const httpGet = fetchHttpGet({ apiUrl, authToken });
20
+ const httpPost = fetchHttpPost({ apiUrl, authToken });
21
21
  return baseBootstrap({
22
22
  checkoutByIdView: httpCheckoutByIdView({ httpPost }),
23
23
  firstAvailableCheckoutByCustomerIdView: httpFirstAvailableCheckoutByCustomerIdView({ httpPost }),
@@ -1,7 +1,7 @@
1
1
  import { HttpGetFunction, HttpPostFunction } from "./httpClient";
2
2
  interface FetchHttpFunctionArgs {
3
3
  readonly apiUrl: string;
4
- readonly getAuthToken: () => Promise<string>;
4
+ readonly authToken: string;
5
5
  }
6
6
  interface FetchHttpPostFunction {
7
7
  (args: FetchHttpFunctionArgs): HttpPostFunction;
@@ -0,0 +1,20 @@
1
+ const fetchHttpPost = ({ apiUrl, authToken }) => async ({ endpoint, body, signal }) => fetch(`${apiUrl}${endpoint}`, {
2
+ method: "POST",
3
+ headers: {
4
+ ["Content-Type"]: "application/json",
5
+ authorization: `Bearer ${authToken}`,
6
+ },
7
+ body: JSON.stringify(body),
8
+ signal,
9
+ });
10
+ const fetchHttpGet = ({ apiUrl, authToken }) => async ({ endpoint, signal }) => fetch(`${apiUrl}${endpoint}`, {
11
+ method: "GET",
12
+ credentials: "include",
13
+ headers: {
14
+ Authorization: `Bearer ${authToken}`,
15
+ ["Content-Type"]: "application/json",
16
+ },
17
+ referrer: "",
18
+ signal,
19
+ });
20
+ export { fetchHttpGet, fetchHttpPost };
@@ -1,10 +1,10 @@
1
1
  import { CommandStatus } from "@lookiero/messaging-react";
2
2
  interface MarkAsPaidFunction {
3
- (): Promise<void>;
3
+ (): void;
4
4
  }
5
5
  declare type UseMarkCheckoutAsPaid = [markAsPaid: MarkAsPaidFunction, status: CommandStatus];
6
6
  interface UseMarkCheckoutAsPaidFunctionArgs {
7
- readonly checkoutId: string;
7
+ readonly checkoutId?: string;
8
8
  }
9
9
  interface UseMarkCheckoutAsPaidFunction {
10
10
  (args: UseMarkCheckoutAsPaidFunctionArgs): UseMarkCheckoutAsPaid;
@@ -1,12 +1,16 @@
1
1
  import { useCommand } from "@lookiero/messaging-react";
2
2
  import { useCallback } from "react";
3
+ import invariant from "tiny-invariant";
3
4
  import { markCheckoutAsPaid } from "../../../../domain/checkout/command/markCheckoutAsPaid";
4
5
  import { MESSAGING_CONTEXT_ID } from "../../../delivery/baseBootstrap";
5
6
  const useMarkCheckoutAsPaid = ({ checkoutId }) => {
6
7
  const [commandBus, status] = useCommand({ contextId: MESSAGING_CONTEXT_ID });
7
- const markAsPaid = useCallback(() => commandBus(markCheckoutAsPaid({
8
- aggregateId: checkoutId,
9
- })), [checkoutId, commandBus]);
8
+ const markAsPaid = useCallback(() => {
9
+ invariant(checkoutId, "CheckoutId must be defined in order to mark the checkout as paid");
10
+ commandBus(markCheckoutAsPaid({
11
+ aggregateId: checkoutId,
12
+ }));
13
+ }, [checkoutId, commandBus]);
10
14
  return [markAsPaid, status];
11
15
  };
12
16
  export { useMarkCheckoutAsPaid };
@@ -1,7 +1,7 @@
1
1
  import { UseQueryFunctionResult } from "@lookiero/messaging-react";
2
2
  import { PaymentFlowPayloadProjection } from "../../../../projection/payment/paymentFlowPayload";
3
3
  interface UseViewPaymentFlowPayloadByCheckoutIdFunctionArgs {
4
- readonly checkoutId: string;
4
+ readonly checkoutId?: string;
5
5
  }
6
6
  interface UseViewPaymentFlowPayloadByCheckoutIdFunction {
7
7
  (args: UseViewPaymentFlowPayloadByCheckoutIdFunctionArgs): UseQueryFunctionResult<PaymentFlowPayloadProjection>;
@@ -9,9 +9,9 @@ const isCheckoutItemReturned = (event) => event.name === CHECKOUT_ITEM_RETURNED;
9
9
  const isCheckoutItemReplaced = (event) => event.name === CHECKOUT_ITEM_REPLACED;
10
10
  const shouldInvalidate = (event) => isCheckoutItemKept(event) || isCheckoutItemReplaced(event) || isCheckoutItemReturned(event);
11
11
  const useViewPaymentFlowPayloadByCheckoutId = ({ checkoutId }) => useQuery({
12
- query: viewPaymentFlowPayloadByCheckoutId({ checkoutId }),
12
+ query: viewPaymentFlowPayloadByCheckoutId({ checkoutId: checkoutId }),
13
13
  contextId: MESSAGING_CONTEXT_ID,
14
14
  invalidation: shouldInvalidate,
15
- options: { staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
15
+ options: { staleTime: Infinity, retry: false, refetchOnWindowFocus: false, enabled: Boolean(checkoutId) },
16
16
  });
17
17
  export { useViewPaymentFlowPayloadByCheckoutId };
@@ -1,10 +1,13 @@
1
1
  import { I18n } from "@lookiero/i18n-react";
2
2
  import { MessagingRoot } from "@lookiero/messaging-react/bootstrap";
3
3
  import { FC } from "react";
4
+ import { NotificationsRoot } from "../../shared/notifications";
4
5
  interface RootFunctionArgs {
5
6
  readonly Messaging: MessagingRoot;
7
+ readonly Notifications: NotificationsRoot;
6
8
  readonly I18n: I18n;
7
9
  readonly development?: boolean;
10
+ readonly authToken: string;
8
11
  }
9
12
  interface RootFunction {
10
13
  (args: RootFunctionArgs): FC<RootProps>;
@@ -1,11 +1,12 @@
1
1
  import React, { useCallback } from "react";
2
2
  import { Platform } from "react-native";
3
3
  import { Routing } from "./routing/Routing";
4
- const root = ({ Messaging, I18n, development }) =>
4
+ const root = ({ Messaging, I18n, Notifications, authToken, development }) =>
5
5
  // eslint-disable-next-line react/display-name, react/prop-types
6
6
  ({ basePath, locale = "en", customerId, onNotAccessible }) => {
7
7
  const handleOnI18nError = useCallback(() => void 0, []);
8
8
  return (React.createElement(Messaging, { includeReactQueryDevTools: Platform.OS === "web" },
9
- React.createElement(Routing, { I18n: I18n, basePath: basePath, customerId: customerId, locale: locale, onI18nError: development ? undefined : handleOnI18nError, onNotAccessible: onNotAccessible })));
9
+ React.createElement(Notifications, { includeReactQueryDevTools: Platform.OS === "web" },
10
+ React.createElement(Routing, { I18n: I18n, authToken: authToken, basePath: basePath, customerId: customerId, locale: locale, onI18nError: development ? undefined : handleOnI18nError, onNotAccessible: onNotAccessible }))));
10
11
  };
11
12
  export { root };
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { Column } from "../../../shared/components/layouts/column/Column";
3
- import { Row } from "../../../shared/components/layouts/row/Row";
2
+ import { Column } from "../../../../../shared/ui/components/layouts/column/Column";
3
+ import { Row } from "../../../../../shared/ui/components/layouts/row/Row";
4
4
  import { style } from "./Body.style";
5
5
  const Body = ({ children, style: customStyle }) => (React.createElement(Row, { style: [style.row, customStyle?.row] },
6
6
  React.createElement(Column, { style: customStyle?.column }, children)));
@@ -3,7 +3,7 @@ import { animated, useSpring } from "@react-spring/native";
3
3
  import React, { Children, useCallback, useState } from "react";
4
4
  import { Pressable, View } from "react-native";
5
5
  import invariant from "tiny-invariant";
6
- import { Slider } from "../../../shared/components/layouts/slider/Slider";
6
+ import { Slider } from "../../../../../shared/ui/components/layouts/slider/Slider";
7
7
  import { style } from "./Tabs.style";
8
8
  const Tab = ({ children, active, disabled = false, style: customStyle, onPress, onLayout }) => (React.createElement(Pressable, { disabled: disabled, style: [style.tab, customStyle?.tab], testID: "tab", onLayout: onLayout, onPress: onPress },
9
9
  React.createElement(Text, { level: 2, style: [style.tabText, active && style.tabActiveText, customStyle?.tabText], detail: true }, children)));
@@ -1,10 +1,10 @@
1
1
  import { useI18nMessage, useIntl } from "@lookiero/i18n-react";
2
2
  import React, { useCallback, useState } from "react";
3
3
  import { TouchableHighlight, View } from "react-native";
4
+ import { Modal } from "../../../../../../../shared/ui/components/layouts/modal/Modal";
5
+ import { ButtonIcon } from "../../../../../../../shared/ui/components/molecules/buttonIcon/ButtonIcon";
6
+ import { InputField } from "../../../../../../../shared/ui/components/molecules/inputField/InputField";
4
7
  import { RETURN_QUESTIONS_PREFIX } from "../../../../../i18n/i18n";
5
- import { Modal } from "../../../../../shared/components/layouts/modal/Modal";
6
- import { ButtonIcon } from "../../../../../shared/components/molecules/buttonIcon/ButtonIcon";
7
- import { InputField } from "../../../../../shared/components/molecules/inputField/InputField";
8
8
  import { useReturnQuestionFeedback, useReturnQuestionFeedbackForId } from "../../behaviors/useReturnQuestionFeedback";
9
9
  import { deepestReturnQuestionWithFeedbackForReturnQuestion, feedbackForReturnQuestion, } from "../../util/returnQuestionFeedback";
10
10
  import { style, containerUnderlayColor } from "./HostSelectReturnQuestionItem.style";
@@ -1,7 +1,7 @@
1
1
  import { useI18nMessage } from "@lookiero/i18n-react";
2
2
  import React, { useCallback } from "react";
3
+ import { InputField } from "../../../../../../../shared/ui/components/molecules/inputField/InputField";
3
4
  import { RETURN_QUESTIONS_PREFIX } from "../../../../../i18n/i18n";
4
- import { InputField } from "../../../../../shared/components/molecules/inputField/InputField";
5
5
  import { useReturnQuestionFeedbackForId } from "../../behaviors/useReturnQuestionFeedback";
6
6
  const TEXTAREA_MIN_HEIGHT = 96;
7
7
  const TextareaReturnQuestionItem = ({ returnQuestion, returnQuestionParentId, }) => {
@@ -48,6 +48,13 @@ declare enum I18nMessages {
48
48
  SUMMARY_TOTAL_ITEMS_KEPT = "summary.total_items_kept",
49
49
  SUMMARY_CREDIT = "summary.credit",
50
50
  SUMMARY_FEE = "summary.fee",
51
- PRODUCT_VARIANT_SIZE_CHANGE = "product_variant.size_change"
51
+ PRODUCT_VARIANT_SIZE_CHANGE = "product_variant.size_change",
52
+ CHECKOUT_TITLE = "checkout.title",
53
+ CHECKOUT_PAY_BUTTON = "checkout.pay_button",
54
+ CHECKOUT_TOAST_REJECTED = "checkout.toast_rejected",
55
+ CHECKOUT_TOAST_ERROR = "checkout.toast_error",
56
+ CHECKOUT_SUCCESS_MODAL_TITLE = "checkout.success_modal_title",
57
+ CHECKOUT_SUCCESS_MODAL_DESCRIPTION = "checkout.success_modal_description",
58
+ CHECKOUT_SUCCESS_MODAL_BUTTON = "checkout.success_modal_button"
52
59
  }
53
60
  export { I18nMessages, COLOR_I18N_PREFIX, RETURN_QUESTIONS_PREFIX, RETURN_QUESTIONS_FEEDBACK_PREFIX };
@@ -50,5 +50,12 @@ var I18nMessages;
50
50
  I18nMessages["SUMMARY_CREDIT"] = "summary.credit";
51
51
  I18nMessages["SUMMARY_FEE"] = "summary.fee";
52
52
  I18nMessages["PRODUCT_VARIANT_SIZE_CHANGE"] = "product_variant.size_change";
53
+ I18nMessages["CHECKOUT_TITLE"] = "checkout.title";
54
+ I18nMessages["CHECKOUT_PAY_BUTTON"] = "checkout.pay_button";
55
+ I18nMessages["CHECKOUT_TOAST_REJECTED"] = "checkout.toast_rejected";
56
+ I18nMessages["CHECKOUT_TOAST_ERROR"] = "checkout.toast_error";
57
+ I18nMessages["CHECKOUT_SUCCESS_MODAL_TITLE"] = "checkout.success_modal_title";
58
+ I18nMessages["CHECKOUT_SUCCESS_MODAL_DESCRIPTION"] = "checkout.success_modal_description";
59
+ I18nMessages["CHECKOUT_SUCCESS_MODAL_BUTTON"] = "checkout.success_modal_button";
53
60
  })(I18nMessages || (I18nMessages = {}));
54
61
  export { I18nMessages, COLOR_I18N_PREFIX, RETURN_QUESTIONS_PREFIX, RETURN_QUESTIONS_FEEDBACK_PREFIX };
@@ -1,7 +1,7 @@
1
1
  import { QueryStatus } from "@lookiero/messaging-react";
2
2
  import React, { useEffect, useRef } from "react";
3
+ import { Spinner } from "../../../shared/ui/components/atoms/spinner/Spinner";
3
4
  import { useViewIsCheckoutAccessibleByCustomerId } from "../../projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId";
4
- import { Spinner } from "../shared/components/atoms/spinner/Spinner";
5
5
  const CheckoutAccessibilityMiddleware = ({ customerId, onNotAccessible, loader = React.createElement(Spinner, null), children, }) => {
6
6
  const [accessible, status] = useViewIsCheckoutAccessibleByCustomerId({ customerId });
7
7
  const onNotAccessibleRef = useRef(onNotAccessible);
@@ -2,9 +2,9 @@ import { QueryStatus } from "@lookiero/messaging-react";
2
2
  import React, { useRef } from "react";
3
3
  import { generatePath, Navigate, useMatch } from "react-router-native";
4
4
  import { CheckoutItemStatus } from "../../../domain/checkoutItem/model/checkoutItem";
5
+ import { Spinner } from "../../../shared/ui/components/atoms/spinner/Spinner";
5
6
  import { useViewFirstAvailableCheckoutByCustomerId } from "../../projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId";
6
7
  import { useShouldIntroBeShown } from "../../projection/uiSetting/react/useShouldIntroBeShown";
7
- import { Spinner } from "../shared/components/atoms/spinner/Spinner";
8
8
  import { Routes } from "./routes";
9
9
  const CheckoutMiddleware = ({ basePath, customerId, loader = React.createElement(Spinner, null), children }) => {
10
10
  const introShown = useRef(false);
@@ -15,12 +15,16 @@ const CheckoutMiddleware = ({ basePath, customerId, loader = React.createElement
15
15
  const itemRouteMatch = useMatch(`${basePath}/${Routes.ITEM}`);
16
16
  const itemDetailRouteMatch = useMatch(`${basePath}/${Routes.ITEM_DETAIL}`);
17
17
  const summaryRouteMatch = useMatch(`${basePath}/${Routes.SUMMARY}`);
18
+ const checkoutRouteMatch = useMatch(`${basePath}/${Routes.CHECKOUT}`);
18
19
  const dependenciesLoadedStatuses = [QueryStatus.ERROR, QueryStatus.SUCCESS];
19
20
  const dependenciesLoaded = dependenciesLoadedStatuses.includes(shouldIntroBeShownStatus) &&
20
21
  dependenciesLoadedStatuses.includes(checkoutStatus);
21
22
  if (!dependenciesLoaded) {
22
23
  return loader;
23
24
  }
25
+ if (checkoutRouteMatch) {
26
+ return children;
27
+ }
24
28
  if (shouldIntroBeShown && !introShown.current) {
25
29
  if (introRouteMatch) {
26
30
  introShown.current = true;
@@ -1,11 +1,12 @@
1
1
  import { I18n } from "@lookiero/i18n-react";
2
2
  import { FC } from "react";
3
3
  interface RoutingProps {
4
- readonly onNotAccessible: () => void;
4
+ readonly basePath?: string;
5
5
  readonly customerId: string | undefined;
6
6
  readonly locale: string;
7
7
  readonly I18n: I18n;
8
- readonly basePath?: string;
8
+ readonly authToken: string;
9
+ readonly onNotAccessible: () => void;
9
10
  readonly onI18nError?: (err: Error) => void;
10
11
  }
11
12
  declare const Routing: FC<RoutingProps>;
@@ -1,6 +1,6 @@
1
1
  import React, { lazy, Suspense } from "react";
2
2
  import { Navigate, Outlet, useRoutes } from "react-router-native";
3
- import { Spinner } from "../shared/components/atoms/spinner/Spinner";
3
+ import { Spinner } from "../../../shared/ui/components/atoms/spinner/Spinner";
4
4
  import { App } from "../views/App";
5
5
  import { CheckoutAccessibilityMiddleware } from "./CheckoutAccessibilityMiddleware";
6
6
  import { CheckoutMiddleware } from "./CheckoutMiddleware";
@@ -8,7 +8,8 @@ import { Routes } from "./routes";
8
8
  const Intro = lazy(() => import("../views/intro/Intro").then((module) => ({ default: module.Intro })));
9
9
  const Item = lazy(() => import("../views/item/Item").then((module) => ({ default: module.Item })));
10
10
  const Summary = lazy(() => import("../views/summary/Summary").then((module) => ({ default: module.Summary })));
11
- const Routing = ({ basePath = "", onNotAccessible, customerId, locale, I18n, onI18nError }) => {
11
+ const Checkout = lazy(() => import("../views/checkout/Checkout").then((module) => ({ default: module.Checkout })));
12
+ const Routing = ({ basePath = "", customerId, locale, I18n, authToken, onI18nError, onNotAccessible, }) => {
12
13
  const routes = useRoutes([
13
14
  {
14
15
  path: "",
@@ -38,6 +39,11 @@ const Routing = ({ basePath = "", onNotAccessible, customerId, locale, I18n, onI
38
39
  element: (React.createElement(Suspense, { fallback: React.createElement(Spinner, null) },
39
40
  React.createElement(Summary, { customerId: customerId }))),
40
41
  },
42
+ {
43
+ path: Routes.CHECKOUT,
44
+ element: (React.createElement(Suspense, { fallback: React.createElement(Spinner, null) },
45
+ React.createElement(Checkout, { authToken: authToken, customerId: customerId }))),
46
+ },
41
47
  {
42
48
  path: "*",
43
49
  element: React.createElement(Navigate, { to: `${Routes.HOME}`, replace: true }),
@@ -3,5 +3,7 @@ export declare enum Routes {
3
3
  INTRO = "intro",
4
4
  ITEM_DETAIL = "item/:id/detail",
5
5
  ITEM = "item/:id",
6
- SUMMARY = "summary"
6
+ SUMMARY = "summary",
7
+ CHECKOUT = "checkout",
8
+ FEEDBACK = "feedback"
7
9
  }
@@ -5,4 +5,6 @@ export var Routes;
5
5
  Routes["ITEM_DETAIL"] = "item/:id/detail";
6
6
  Routes["ITEM"] = "item/:id";
7
7
  Routes["SUMMARY"] = "summary";
8
+ Routes["CHECKOUT"] = "checkout";
9
+ Routes["FEEDBACK"] = "feedback";
8
10
  })(Routes || (Routes = {}));
@@ -1,6 +1,8 @@
1
1
  import { PortalProvider } from "@gorhom/portal";
2
2
  import React from "react";
3
3
  import { SafeAreaProvider } from "react-native-safe-area-context";
4
+ import { Notifications } from "../../../shared/notifications/infrastructure/ui/views/Notifications";
4
5
  const App = ({ children }) => (React.createElement(SafeAreaProvider, null,
6
+ React.createElement(Notifications, null),
5
7
  React.createElement(PortalProvider, null, children)));
6
8
  export { App };
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ interface CheckoutProps {
3
+ readonly customerId: string;
4
+ readonly authToken: string;
5
+ }
6
+ declare const Checkout: FC<CheckoutProps>;
7
+ export { Checkout };