@infrab4a/connect 3.3.0-beta.2 → 3.3.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (675) hide show
  1. package/README.md +24 -24
  2. package/bundles/infrab4a-connect.umd.js +5031 -0
  3. package/bundles/infrab4a-connect.umd.js.map +1 -0
  4. package/domain/catalog/index.d.ts +2 -2
  5. package/domain/catalog/models/category.d.ts +24 -24
  6. package/domain/catalog/models/enums/index.d.ts +2 -2
  7. package/domain/catalog/models/enums/product-genders.enum.d.ts +5 -5
  8. package/domain/catalog/models/enums/shops.enum.d.ts +6 -6
  9. package/domain/catalog/models/index.d.ts +6 -6
  10. package/domain/catalog/models/kit-product.d.ts +12 -12
  11. package/domain/catalog/models/product.d.ts +39 -39
  12. package/domain/catalog/models/types/category-condition.type.d.ts +4 -4
  13. package/domain/catalog/models/types/category-filter.type.d.ts +4 -4
  14. package/domain/catalog/models/types/category-metadata.type.d.ts +4 -4
  15. package/domain/catalog/models/types/index.d.ts +10 -10
  16. package/domain/catalog/models/types/product-gender.type.d.ts +1 -1
  17. package/domain/catalog/models/types/product-metadata.type.d.ts +4 -4
  18. package/domain/catalog/models/types/product-review.type.d.ts +17 -17
  19. package/domain/catalog/models/types/shop-description.type.d.ts +7 -7
  20. package/domain/catalog/models/types/shop-price.type.d.ts +6 -6
  21. package/domain/catalog/models/types/stock.type.d.ts +3 -3
  22. package/domain/catalog/models/types/variant-grade.type.d.ts +4 -4
  23. package/domain/catalog/models/variant.d.ts +18 -18
  24. package/domain/catalog/repositories/category.repository.d.ts +15 -15
  25. package/domain/catalog/repositories/index.d.ts +4 -4
  26. package/domain/catalog/repositories/product.repository.d.ts +12 -12
  27. package/domain/catalog/repositories/subscription-product.repository.d.ts +4 -4
  28. package/domain/catalog/repositories/variant.repository.d.ts +4 -4
  29. package/domain/generic/index.d.ts +2 -2
  30. package/domain/generic/model/base.model.d.ts +10 -10
  31. package/domain/generic/model/identifier-fields.d.ts +4 -4
  32. package/domain/generic/model/index.d.ts +3 -3
  33. package/domain/generic/model/types/base-model-builder.type.d.ts +15 -15
  34. package/domain/generic/model/types/identifier-model.type.d.ts +7 -7
  35. package/domain/generic/model/types/index.d.ts +5 -5
  36. package/domain/generic/model/types/model-base-structure.type.d.ts +6 -6
  37. package/domain/generic/model/types/non-function-properties.type.d.ts +12 -12
  38. package/domain/generic/model/types/non-function-property-name.type.d.ts +4 -4
  39. package/domain/generic/repository/create.repository.d.ts +8 -8
  40. package/domain/generic/repository/crud.repository.d.ts +19 -19
  41. package/domain/generic/repository/delete.repository.d.ts +7 -7
  42. package/domain/generic/repository/enums/index.d.ts +2 -2
  43. package/domain/generic/repository/enums/update-option-actions.enum.d.ts +7 -7
  44. package/domain/generic/repository/enums/where.enum.d.ts +14 -14
  45. package/domain/generic/repository/find.repository.d.ts +11 -11
  46. package/domain/generic/repository/get.repository.d.ts +5 -5
  47. package/domain/generic/repository/index.d.ts +9 -9
  48. package/domain/generic/repository/read.repository.d.ts +14 -14
  49. package/domain/generic/repository/types/index.d.ts +6 -6
  50. package/domain/generic/repository/types/repository-find-filters.type.d.ts +13 -13
  51. package/domain/generic/repository/types/repository-find-result.type.d.ts +4 -4
  52. package/domain/generic/repository/types/repository-limit-options.type.d.ts +4 -4
  53. package/domain/generic/repository/types/repository-order-by-list.type.d.ts +5 -5
  54. package/domain/generic/repository/types/repository-update-params.type.d.ts +11 -11
  55. package/domain/generic/repository/types/where-options.type.d.ts +2 -2
  56. package/domain/generic/repository/update.repository.d.ts +6 -6
  57. package/domain/index.d.ts +6 -6
  58. package/domain/location/index.d.ts +1 -1
  59. package/domain/location/models/address.d.ts +22 -22
  60. package/domain/location/models/index.d.ts +2 -2
  61. package/domain/location/models/types/index.d.ts +3 -3
  62. package/domain/location/models/types/location-bound.type.d.ts +6 -6
  63. package/domain/location/models/types/location-geometry.type.d.ts +7 -7
  64. package/domain/location/models/types/location-lat-lng.type.d.ts +4 -4
  65. package/domain/shop-settings/enums/filter-type.enum.d.ts +19 -19
  66. package/domain/shop-settings/enums/index.d.ts +2 -2
  67. package/domain/shop-settings/enums/questions-filters.enum.d.ts +19 -19
  68. package/domain/shop-settings/helpers/beauty-questions.helper.d.ts +9 -9
  69. package/domain/shop-settings/helpers/index.d.ts +1 -1
  70. package/domain/shop-settings/index.d.ts +4 -4
  71. package/domain/shop-settings/models/home.d.ts +18 -18
  72. package/domain/shop-settings/models/index.d.ts +4 -3
  73. package/domain/shop-settings/models/shop-menu.d.ts +7 -7
  74. package/domain/shop-settings/models/shop-settings.d.ts +9 -0
  75. package/domain/shop-settings/models/types/banner.type.d.ts +6 -6
  76. package/domain/shop-settings/models/types/benefit.type.d.ts +5 -5
  77. package/domain/shop-settings/models/types/home-data.type.d.ts +15 -15
  78. package/domain/shop-settings/models/types/index.d.ts +10 -5
  79. package/domain/shop-settings/models/types/menu-nav.type.d.ts +8 -8
  80. package/domain/shop-settings/models/types/shop-banner.type.d.ts +11 -0
  81. package/domain/shop-settings/models/types/shop-brands.type.d.ts +10 -0
  82. package/domain/shop-settings/models/types/shop-carousel.type.d.ts +5 -0
  83. package/domain/shop-settings/models/types/shop-collection.type.d.ts +9 -0
  84. package/domain/shop-settings/models/types/shop-section.type.d.ts +9 -0
  85. package/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -8
  86. package/domain/shop-settings/repositories/home.repository.d.ts +4 -4
  87. package/domain/shop-settings/repositories/index.d.ts +3 -2
  88. package/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -4
  89. package/domain/shop-settings/repositories/shop-settings.repository.d.ts +4 -0
  90. package/domain/shopping/index.d.ts +2 -2
  91. package/domain/shopping/models/buy-2-win.d.ts +16 -16
  92. package/domain/shopping/models/checkout.d.ts +27 -27
  93. package/domain/shopping/models/coupons/coupon.d.ts +32 -32
  94. package/domain/shopping/models/coupons/enums/coupon-club-mens.enum.d.ts +5 -5
  95. package/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -4
  96. package/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +4 -4
  97. package/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +8 -8
  98. package/domain/shopping/models/coupons/enums/index.d.ts +3 -3
  99. package/domain/shopping/models/coupons/index.d.ts +2 -2
  100. package/domain/shopping/models/enums/checkout-types.enum.d.ts +5 -5
  101. package/domain/shopping/models/enums/index.d.ts +2 -2
  102. package/domain/shopping/models/enums/order-status.enum.d.ts +10 -10
  103. package/domain/shopping/models/index.d.ts +11 -11
  104. package/domain/shopping/models/line-item.d.ts +8 -8
  105. package/domain/shopping/models/order.d.ts +9 -9
  106. package/domain/shopping/models/payment.d.ts +67 -67
  107. package/domain/shopping/models/shipping-method.d.ts +16 -16
  108. package/domain/shopping/models/subscription/checkout.d.ts +21 -21
  109. package/domain/shopping/models/subscription/index.d.ts +2 -2
  110. package/domain/shopping/models/subscription/plan.d.ts +10 -10
  111. package/domain/shopping/models/types/index.d.ts +7 -7
  112. package/domain/shopping/models/types/payment-address.type.d.ts +12 -12
  113. package/domain/shopping/models/types/payment-billing.type.d.ts +7 -7
  114. package/domain/shopping/models/types/payment-card.type.d.ts +14 -14
  115. package/domain/shopping/models/types/payment-customer.type.d.ts +18 -18
  116. package/domain/shopping/models/types/payment-document.type.d.ts +6 -6
  117. package/domain/shopping/models/types/payment-item.type.d.ts +11 -11
  118. package/domain/shopping/models/types/payment-shipping.type.d.ts +10 -10
  119. package/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -4
  120. package/domain/shopping/repositories/checkout.repository.d.ts +4 -4
  121. package/domain/shopping/repositories/coupon.repository.d.ts +4 -4
  122. package/domain/shopping/repositories/index.d.ts +7 -7
  123. package/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
  124. package/domain/shopping/repositories/order.repository.d.ts +4 -4
  125. package/domain/shopping/repositories/payment.repository.d.ts +4 -4
  126. package/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -4
  127. package/domain/shopping/repositories/subscription/index.d.ts +2 -2
  128. package/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -4
  129. package/domain/users/errors/index.d.ts +3 -3
  130. package/domain/users/errors/unauthorized.error.d.ts +5 -5
  131. package/domain/users/errors/user-already-registered.error.d.ts +5 -5
  132. package/domain/users/errors/weak-password.error.d.ts +5 -5
  133. package/domain/users/index.d.ts +5 -5
  134. package/domain/users/models/beauty-profile.d.ts +11 -11
  135. package/domain/users/models/enums/accessory-importances.enum.d.ts +5 -5
  136. package/domain/users/models/enums/area.enum.d.ts +11 -11
  137. package/domain/users/models/enums/beard-problems.enum.d.ts +9 -9
  138. package/domain/users/models/enums/beard-sizes.enum.d.ts +7 -7
  139. package/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -6
  140. package/domain/users/models/enums/body-problems.enum.d.ts +11 -11
  141. package/domain/users/models/enums/body-shapes.enum.d.ts +7 -7
  142. package/domain/users/models/enums/body-tattoos.enum.d.ts +5 -5
  143. package/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -7
  144. package/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -10
  145. package/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -8
  146. package/domain/users/models/enums/family-incomes.enum.d.ts +8 -8
  147. package/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -5
  148. package/domain/users/models/enums/hair-colors.enum.d.ts +10 -10
  149. package/domain/users/models/enums/hair-problems.enum.d.ts +10 -10
  150. package/domain/users/models/enums/hair-strands.enum.d.ts +8 -8
  151. package/domain/users/models/enums/hair-types.enum.d.ts +7 -7
  152. package/domain/users/models/enums/index.d.ts +20 -20
  153. package/domain/users/models/enums/office-position.enum.d.ts +6 -6
  154. package/domain/users/models/enums/product-spents.enum.d.ts +8 -8
  155. package/domain/users/models/enums/user-type.enum.d.ts +8 -8
  156. package/domain/users/models/index.d.ts +7 -7
  157. package/domain/users/models/lead.d.ts +7 -7
  158. package/domain/users/models/subscription/edition.d.ts +16 -16
  159. package/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -3
  160. package/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -4
  161. package/domain/users/models/subscription/enums/index.d.ts +4 -4
  162. package/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -5
  163. package/domain/users/models/subscription/enums/status.enum.d.ts +4 -4
  164. package/domain/users/models/subscription/index.d.ts +4 -4
  165. package/domain/users/models/subscription/payment.d.ts +13 -13
  166. package/domain/users/models/subscription/subscription.d.ts +28 -28
  167. package/domain/users/models/user-address.d.ts +7 -7
  168. package/domain/users/models/user-payment-method.d.ts +14 -14
  169. package/domain/users/models/user.d.ts +28 -28
  170. package/domain/users/repositories/beauty-profile.repository.d.ts +4 -4
  171. package/domain/users/repositories/edition.repository.d.ts +4 -4
  172. package/domain/users/repositories/index.d.ts +8 -8
  173. package/domain/users/repositories/lead.repository.d.ts +4 -4
  174. package/domain/users/repositories/subscription-payment.repository.d.ts +4 -4
  175. package/domain/users/repositories/subscription.repository.d.ts +4 -4
  176. package/domain/users/repositories/user-address.repository.d.ts +4 -4
  177. package/domain/users/repositories/user-payment-method.repository.d.ts +4 -4
  178. package/domain/users/repositories/user.repository.d.ts +6 -6
  179. package/domain/users/services/authentication.service.d.ts +12 -12
  180. package/domain/users/services/index.d.ts +3 -3
  181. package/domain/users/services/register.service.d.ts +7 -7
  182. package/domain/users/services/types/basic-user-data.type.d.ts +4 -4
  183. package/domain/users/services/types/index.d.ts +1 -1
  184. package/domain/users/use-cases/authentication.d.ts +21 -21
  185. package/domain/users/use-cases/index.d.ts +4 -4
  186. package/domain/users/use-cases/recovery-password.d.ts +6 -6
  187. package/domain/users/use-cases/register.d.ts +13 -13
  188. package/domain/users/use-cases/signout.d.ts +6 -6
  189. package/errors/duplicated-results.error.d.ts +5 -5
  190. package/errors/index.d.ts +4 -4
  191. package/errors/invalid-argument.error.d.ts +5 -5
  192. package/errors/not-found.error.d.ts +5 -5
  193. package/errors/required-argument.error.d.ts +6 -6
  194. package/{esm2020/domain/catalog/index.mjs → esm2015/domain/catalog/index.js} +3 -3
  195. package/esm2015/domain/catalog/models/category.js +10 -0
  196. package/{esm2020/domain/catalog/models/enums/index.mjs → esm2015/domain/catalog/models/enums/index.js} +3 -3
  197. package/{esm2020/domain/catalog/models/enums/product-genders.enum.mjs → esm2015/domain/catalog/models/enums/product-genders.enum.js} +7 -7
  198. package/{esm2020/domain/catalog/models/enums/shops.enum.mjs → esm2015/domain/catalog/models/enums/shops.enum.js} +8 -8
  199. package/{esm2020/domain/catalog/models/index.mjs → esm2015/domain/catalog/models/index.js} +7 -7
  200. package/{esm2020/domain/catalog/models/kit-product.mjs → esm2015/domain/catalog/models/kit-product.js} +18 -18
  201. package/esm2015/domain/catalog/models/product.js +17 -0
  202. package/{esm2020/domain/catalog/models/types/category-condition.type.mjs → esm2015/domain/catalog/models/types/category-condition.type.js} +2 -2
  203. package/{esm2020/domain/catalog/models/types/category-filter.type.mjs → esm2015/domain/catalog/models/types/category-filter.type.js} +2 -2
  204. package/{esm2020/domain/catalog/models/types/category-metadata.type.mjs → esm2015/domain/catalog/models/types/category-metadata.type.js} +2 -2
  205. package/{esm2020/domain/catalog/models/types/index.mjs → esm2015/domain/catalog/models/types/index.js} +11 -11
  206. package/{esm2020/domain/catalog/models/types/product-gender.type.mjs → esm2015/domain/catalog/models/types/product-gender.type.js} +2 -2
  207. package/{esm2020/domain/catalog/models/types/product-metadata.type.mjs → esm2015/domain/catalog/models/types/product-metadata.type.js} +2 -2
  208. package/esm2015/domain/catalog/models/types/product-review.type.js +2 -0
  209. package/{esm2020/domain/catalog/models/types/shop-description.type.mjs → esm2015/domain/catalog/models/types/shop-description.type.js} +2 -2
  210. package/{esm2020/domain/catalog/models/types/shop-price.type.mjs → esm2015/domain/catalog/models/types/shop-price.type.js} +2 -2
  211. package/{esm2020/domain/catalog/models/types/stock.type.mjs → esm2015/domain/catalog/models/types/stock.type.js} +2 -2
  212. package/{esm2020/domain/catalog/models/types/variant-grade.type.mjs → esm2015/domain/catalog/models/types/variant-grade.type.js} +2 -2
  213. package/esm2015/domain/catalog/models/variant.js +10 -0
  214. package/esm2015/domain/catalog/repositories/category.repository.js +2 -0
  215. package/{esm2020/domain/catalog/repositories/index.mjs → esm2015/domain/catalog/repositories/index.js} +5 -5
  216. package/esm2015/domain/catalog/repositories/product.repository.js +2 -0
  217. package/{esm2020/domain/catalog/repositories/subscription-product.repository.mjs → esm2015/domain/catalog/repositories/subscription-product.repository.js} +2 -2
  218. package/{esm2020/domain/catalog/repositories/variant.repository.mjs → esm2015/domain/catalog/repositories/variant.repository.js} +2 -2
  219. package/{esm2020/domain/generic/index.mjs → esm2015/domain/generic/index.js} +3 -3
  220. package/esm2015/domain/generic/model/base.model.js +23 -0
  221. package/{esm2020/domain/generic/model/identifier-fields.mjs → esm2015/domain/generic/model/identifier-fields.js} +2 -2
  222. package/{esm2020/domain/generic/model/index.mjs → esm2015/domain/generic/model/index.js} +4 -4
  223. package/esm2015/domain/generic/model/types/base-model-builder.type.js +2 -0
  224. package/esm2015/domain/generic/model/types/identifier-model.type.js +2 -0
  225. package/{esm2020/domain/generic/model/types/index.mjs → esm2015/domain/generic/model/types/index.js} +6 -6
  226. package/{esm2020/domain/generic/model/types/model-base-structure.type.mjs → esm2015/domain/generic/model/types/model-base-structure.type.js} +2 -2
  227. package/esm2015/domain/generic/model/types/non-function-properties.type.js +2 -0
  228. package/{esm2020/domain/generic/model/types/non-function-property-name.type.mjs → esm2015/domain/generic/model/types/non-function-property-name.type.js} +2 -2
  229. package/esm2015/domain/generic/repository/create.repository.js +2 -0
  230. package/esm2015/domain/generic/repository/crud.repository.js +2 -0
  231. package/esm2015/domain/generic/repository/delete.repository.js +2 -0
  232. package/{esm2020/domain/generic/repository/enums/index.mjs → esm2015/domain/generic/repository/enums/index.js} +3 -3
  233. package/{esm2020/domain/generic/repository/enums/update-option-actions.enum.mjs → esm2015/domain/generic/repository/enums/update-option-actions.enum.js} +9 -9
  234. package/{esm2020/domain/generic/repository/enums/where.enum.mjs → esm2015/domain/generic/repository/enums/where.enum.js} +16 -16
  235. package/esm2015/domain/generic/repository/find.repository.js +2 -0
  236. package/esm2015/domain/generic/repository/get.repository.js +2 -0
  237. package/{esm2020/domain/generic/repository/index.mjs → esm2015/domain/generic/repository/index.js} +10 -10
  238. package/esm2015/domain/generic/repository/read.repository.js +2 -0
  239. package/{esm2020/domain/generic/repository/types/index.mjs → esm2015/domain/generic/repository/types/index.js} +7 -7
  240. package/esm2015/domain/generic/repository/types/repository-find-filters.type.js +2 -0
  241. package/{esm2020/domain/generic/repository/types/repository-find-result.type.mjs → esm2015/domain/generic/repository/types/repository-find-result.type.js} +2 -2
  242. package/{esm2020/domain/generic/repository/types/repository-limit-options.type.mjs → esm2015/domain/generic/repository/types/repository-limit-options.type.js} +2 -2
  243. package/{esm2020/domain/generic/repository/types/repository-order-by-list.type.mjs → esm2015/domain/generic/repository/types/repository-order-by-list.type.js} +2 -2
  244. package/esm2015/domain/generic/repository/types/repository-update-params.type.js +2 -0
  245. package/{esm2020/domain/generic/repository/types/where-options.type.mjs → esm2015/domain/generic/repository/types/where-options.type.js} +2 -2
  246. package/esm2015/domain/generic/repository/update.repository.js +2 -0
  247. package/{esm2020/domain/index.mjs → esm2015/domain/index.js} +7 -7
  248. package/{esm2020/domain/location/index.mjs → esm2015/domain/location/index.js} +2 -2
  249. package/esm2015/domain/location/models/address.js +7 -0
  250. package/{esm2020/domain/location/models/index.mjs → esm2015/domain/location/models/index.js} +3 -3
  251. package/{esm2020/domain/location/models/types/index.mjs → esm2015/domain/location/models/types/index.js} +4 -4
  252. package/{esm2020/domain/location/models/types/location-bound.type.mjs → esm2015/domain/location/models/types/location-bound.type.js} +2 -2
  253. package/{esm2020/domain/location/models/types/location-geometry.type.mjs → esm2015/domain/location/models/types/location-geometry.type.js} +2 -2
  254. package/{esm2020/domain/location/models/types/location-lat-lng.type.mjs → esm2015/domain/location/models/types/location-lat-lng.type.js} +2 -2
  255. package/{esm2020/domain/shop-settings/enums/filter-type.enum.mjs → esm2015/domain/shop-settings/enums/filter-type.enum.js} +21 -21
  256. package/{esm2020/domain/shop-settings/enums/index.mjs → esm2015/domain/shop-settings/enums/index.js} +3 -3
  257. package/{esm2020/domain/shop-settings/enums/questions-filters.enum.mjs → esm2015/domain/shop-settings/enums/questions-filters.enum.js} +21 -21
  258. package/{esm2020/domain/shop-settings/helpers/beauty-questions.helper.mjs → esm2015/domain/shop-settings/helpers/beauty-questions.helper.js} +46 -46
  259. package/{esm2020/domain/shop-settings/helpers/index.mjs → esm2015/domain/shop-settings/helpers/index.js} +2 -2
  260. package/{esm2020/domain/shop-settings/index.mjs → esm2015/domain/shop-settings/index.js} +5 -5
  261. package/esm2015/domain/shop-settings/models/home.js +7 -0
  262. package/{esm2020/domain/shop-settings/models/index.mjs → esm2015/domain/shop-settings/models/index.js} +5 -4
  263. package/{esm2020/domain/shop-settings/models/shop-menu.mjs → esm2015/domain/shop-settings/models/shop-menu.js} +7 -7
  264. package/esm2015/domain/shop-settings/models/shop-settings.js +7 -0
  265. package/{esm2020/domain/shop-settings/models/types/banner.type.mjs → esm2015/domain/shop-settings/models/types/banner.type.js} +2 -2
  266. package/{esm2020/domain/shop-settings/models/types/benefit.type.mjs → esm2015/domain/shop-settings/models/types/benefit.type.js} +2 -2
  267. package/esm2015/domain/shop-settings/models/types/home-data.type.js +2 -0
  268. package/esm2015/domain/shop-settings/models/types/index.js +11 -0
  269. package/{esm2020/domain/shop-settings/models/types/menu-nav.type.mjs → esm2015/domain/shop-settings/models/types/menu-nav.type.js} +2 -2
  270. package/esm2015/domain/shop-settings/models/types/shop-banner.type.js +2 -0
  271. package/esm2015/domain/shop-settings/models/types/shop-brands.type.js +2 -0
  272. package/esm2015/domain/shop-settings/models/types/shop-carousel.type.js +2 -0
  273. package/esm2015/domain/shop-settings/models/types/shop-collection.type.js +2 -0
  274. package/esm2015/domain/shop-settings/models/types/shop-section.type.js +2 -0
  275. package/{esm2020/domain/shop-settings/models/types/sub-menu.type.mjs → esm2015/domain/shop-settings/models/types/sub-menu.type.js} +2 -2
  276. package/{esm2020/domain/shop-settings/repositories/home.repository.mjs → esm2015/domain/shop-settings/repositories/home.repository.js} +2 -2
  277. package/{esm2020/domain/shop-settings/repositories/index.mjs → esm2015/domain/shop-settings/repositories/index.js} +4 -3
  278. package/{esm2020/domain/shop-settings/repositories/shop-menu.repository.mjs → esm2015/domain/shop-settings/repositories/shop-menu.repository.js} +2 -2
  279. package/esm2015/domain/shop-settings/repositories/shop-settings.repository.js +2 -0
  280. package/{esm2020/domain/shopping/index.mjs → esm2015/domain/shopping/index.js} +3 -3
  281. package/{esm2020/domain/shopping/models/buy-2-win.mjs → esm2015/domain/shopping/models/buy-2-win.js} +14 -14
  282. package/esm2015/domain/shopping/models/checkout.js +38 -0
  283. package/{esm2020/domain/shopping/models/coupons/coupon.mjs → esm2015/domain/shopping/models/coupons/coupon.js} +38 -38
  284. package/{esm2020/domain/shopping/models/coupons/enums/coupon-club-mens.enum.mjs → esm2015/domain/shopping/models/coupons/enums/coupon-club-mens.enum.js} +7 -7
  285. package/{esm2020/domain/shopping/models/coupons/enums/coupon-subtypes.enum.mjs → esm2015/domain/shopping/models/coupons/enums/coupon-subtypes.enum.js} +6 -6
  286. package/{esm2020/domain/shopping/models/coupons/enums/coupon-types.enum.mjs → esm2015/domain/shopping/models/coupons/enums/coupon-types.enum.js} +10 -10
  287. package/{esm2020/domain/shopping/models/coupons/enums/exclusivities.enum.mjs → esm2015/domain/shopping/models/coupons/enums/exclusivities.enum.js} +10 -10
  288. package/{esm2020/domain/shopping/models/coupons/enums/index.mjs → esm2015/domain/shopping/models/coupons/enums/index.js} +4 -4
  289. package/{esm2020/domain/shopping/models/coupons/index.mjs → esm2015/domain/shopping/models/coupons/index.js} +3 -3
  290. package/{esm2020/domain/shopping/models/enums/checkout-types.enum.mjs → esm2015/domain/shopping/models/enums/checkout-types.enum.js} +7 -7
  291. package/{esm2020/domain/shopping/models/enums/index.mjs → esm2015/domain/shopping/models/enums/index.js} +3 -3
  292. package/{esm2020/domain/shopping/models/enums/order-status.enum.mjs → esm2015/domain/shopping/models/enums/order-status.enum.js} +12 -12
  293. package/{esm2020/domain/shopping/models/index.mjs → esm2015/domain/shopping/models/index.js} +12 -12
  294. package/{esm2020/domain/shopping/models/line-item.mjs → esm2015/domain/shopping/models/line-item.js} +4 -4
  295. package/{esm2020/domain/shopping/models/order.mjs → esm2015/domain/shopping/models/order.js} +11 -11
  296. package/esm2015/domain/shopping/models/payment.js +169 -0
  297. package/{esm2020/domain/shopping/models/shipping-method.mjs → esm2015/domain/shopping/models/shipping-method.js} +7 -7
  298. package/{esm2020/domain/shopping/models/subscription/checkout.mjs → esm2015/domain/shopping/models/subscription/checkout.js} +28 -28
  299. package/{esm2020/domain/shopping/models/subscription/index.mjs → esm2015/domain/shopping/models/subscription/index.js} +3 -3
  300. package/{esm2020/domain/shopping/models/subscription/plan.mjs → esm2015/domain/shopping/models/subscription/plan.js} +7 -7
  301. package/{esm2020/domain/shopping/models/types/index.mjs → esm2015/domain/shopping/models/types/index.js} +8 -8
  302. package/esm2015/domain/shopping/models/types/payment-address.type.js +2 -0
  303. package/{esm2020/domain/shopping/models/types/payment-billing.type.mjs → esm2015/domain/shopping/models/types/payment-billing.type.js} +2 -2
  304. package/esm2015/domain/shopping/models/types/payment-card.type.js +2 -0
  305. package/esm2015/domain/shopping/models/types/payment-customer.type.js +2 -0
  306. package/{esm2020/domain/shopping/models/types/payment-document.type.mjs → esm2015/domain/shopping/models/types/payment-document.type.js} +2 -2
  307. package/{esm2020/domain/shopping/models/types/payment-item.type.mjs → esm2015/domain/shopping/models/types/payment-item.type.js} +2 -2
  308. package/{esm2020/domain/shopping/models/types/payment-shipping.type.mjs → esm2015/domain/shopping/models/types/payment-shipping.type.js} +2 -2
  309. package/{esm2020/domain/shopping/repositories/buy-2-win.repository.mjs → esm2015/domain/shopping/repositories/buy-2-win.repository.js} +2 -2
  310. package/{esm2020/domain/shopping/repositories/checkout.repository.mjs → esm2015/domain/shopping/repositories/checkout.repository.js} +2 -2
  311. package/{esm2020/domain/shopping/repositories/coupon.repository.mjs → esm2015/domain/shopping/repositories/coupon.repository.js} +2 -2
  312. package/{esm2020/domain/shopping/repositories/index.mjs → esm2015/domain/shopping/repositories/index.js} +8 -8
  313. package/{esm2020/domain/shopping/repositories/legacy-order.repository.mjs → esm2015/domain/shopping/repositories/legacy-order.repository.js} +2 -2
  314. package/{esm2020/domain/shopping/repositories/order.repository.mjs → esm2015/domain/shopping/repositories/order.repository.js} +2 -2
  315. package/{esm2020/domain/shopping/repositories/payment.repository.mjs → esm2015/domain/shopping/repositories/payment.repository.js} +2 -2
  316. package/{esm2020/domain/shopping/repositories/subscription/checkout.repository.mjs → esm2015/domain/shopping/repositories/subscription/checkout.repository.js} +2 -2
  317. package/{esm2020/domain/shopping/repositories/subscription/index.mjs → esm2015/domain/shopping/repositories/subscription/index.js} +3 -3
  318. package/{esm2020/domain/shopping/repositories/subscription/plan.repository.mjs → esm2015/domain/shopping/repositories/subscription/plan.repository.js} +2 -2
  319. package/{esm2020/domain/users/errors/index.mjs → esm2015/domain/users/errors/index.js} +4 -4
  320. package/{esm2020/domain/users/errors/unauthorized.error.mjs → esm2015/domain/users/errors/unauthorized.error.js} +8 -8
  321. package/{esm2020/domain/users/errors/user-already-registered.error.mjs → esm2015/domain/users/errors/user-already-registered.error.js} +8 -8
  322. package/{esm2020/domain/users/errors/weak-password.error.mjs → esm2015/domain/users/errors/weak-password.error.js} +8 -8
  323. package/{esm2020/domain/users/index.mjs → esm2015/domain/users/index.js} +6 -6
  324. package/{esm2020/domain/users/models/beauty-profile.mjs → esm2015/domain/users/models/beauty-profile.js} +12 -12
  325. package/{esm2020/domain/users/models/enums/accessory-importances.enum.mjs → esm2015/domain/users/models/enums/accessory-importances.enum.js} +7 -7
  326. package/{esm2020/domain/users/models/enums/area.enum.mjs → esm2015/domain/users/models/enums/area.enum.js} +13 -13
  327. package/{esm2020/domain/users/models/enums/beard-problems.enum.mjs → esm2015/domain/users/models/enums/beard-problems.enum.js} +11 -11
  328. package/{esm2020/domain/users/models/enums/beard-sizes.enum.mjs → esm2015/domain/users/models/enums/beard-sizes.enum.js} +9 -9
  329. package/{esm2020/domain/users/models/enums/beauty-product-importances.enum.mjs → esm2015/domain/users/models/enums/beauty-product-importances.enum.js} +8 -8
  330. package/{esm2020/domain/users/models/enums/body-problems.enum.mjs → esm2015/domain/users/models/enums/body-problems.enum.js} +13 -13
  331. package/{esm2020/domain/users/models/enums/body-shapes.enum.mjs → esm2015/domain/users/models/enums/body-shapes.enum.js} +9 -9
  332. package/{esm2020/domain/users/models/enums/body-tattoos.enum.mjs → esm2015/domain/users/models/enums/body-tattoos.enum.js} +7 -7
  333. package/{esm2020/domain/users/models/enums/face-skin-oilinesses.enum.mjs → esm2015/domain/users/models/enums/face-skin-oilinesses.enum.js} +9 -9
  334. package/{esm2020/domain/users/models/enums/face-skin-problems.enum.mjs → esm2015/domain/users/models/enums/face-skin-problems.enum.js} +12 -12
  335. package/{esm2020/domain/users/models/enums/face-skin-tones.enum.mjs → esm2015/domain/users/models/enums/face-skin-tones.enum.js} +10 -10
  336. package/{esm2020/domain/users/models/enums/family-incomes.enum.mjs → esm2015/domain/users/models/enums/family-incomes.enum.js} +10 -10
  337. package/{esm2020/domain/users/models/enums/fragrance-importances.enum.mjs → esm2015/domain/users/models/enums/fragrance-importances.enum.js} +7 -7
  338. package/{esm2020/domain/users/models/enums/hair-colors.enum.mjs → esm2015/domain/users/models/enums/hair-colors.enum.js} +12 -12
  339. package/{esm2020/domain/users/models/enums/hair-problems.enum.mjs → esm2015/domain/users/models/enums/hair-problems.enum.js} +12 -12
  340. package/{esm2020/domain/users/models/enums/hair-strands.enum.mjs → esm2015/domain/users/models/enums/hair-strands.enum.js} +10 -10
  341. package/{esm2020/domain/users/models/enums/hair-types.enum.mjs → esm2015/domain/users/models/enums/hair-types.enum.js} +9 -9
  342. package/{esm2020/domain/users/models/enums/index.mjs → esm2015/domain/users/models/enums/index.js} +21 -21
  343. package/{esm2020/domain/users/models/enums/office-position.enum.mjs → esm2015/domain/users/models/enums/office-position.enum.js} +8 -8
  344. package/{esm2020/domain/users/models/enums/product-spents.enum.mjs → esm2015/domain/users/models/enums/product-spents.enum.js} +10 -10
  345. package/{esm2020/domain/users/models/enums/user-type.enum.mjs → esm2015/domain/users/models/enums/user-type.enum.js} +10 -10
  346. package/{esm2020/domain/users/models/index.mjs → esm2015/domain/users/models/index.js} +8 -8
  347. package/{esm2020/domain/users/models/lead.mjs → esm2015/domain/users/models/lead.js} +7 -7
  348. package/esm2015/domain/users/models/subscription/edition.js +7 -0
  349. package/{esm2020/domain/users/models/subscription/enums/billing-status.enum.mjs → esm2015/domain/users/models/subscription/enums/billing-status.enum.js} +5 -5
  350. package/{esm2020/domain/users/models/subscription/enums/edition-status.enum.mjs → esm2015/domain/users/models/subscription/enums/edition-status.enum.js} +6 -6
  351. package/{esm2020/domain/users/models/subscription/enums/index.mjs → esm2015/domain/users/models/subscription/enums/index.js} +5 -5
  352. package/{esm2020/domain/users/models/subscription/enums/payment-type.enum.mjs → esm2015/domain/users/models/subscription/enums/payment-type.enum.js} +7 -7
  353. package/{esm2020/domain/users/models/subscription/enums/status.enum.mjs → esm2015/domain/users/models/subscription/enums/status.enum.js} +6 -6
  354. package/{esm2020/domain/users/models/subscription/index.mjs → esm2015/domain/users/models/subscription/index.js} +5 -5
  355. package/{esm2020/domain/users/models/subscription/payment.mjs → esm2015/domain/users/models/subscription/payment.js} +14 -14
  356. package/{esm2020/domain/users/models/subscription/subscription.mjs → esm2015/domain/users/models/subscription/subscription.js} +43 -43
  357. package/{esm2020/domain/users/models/user-address.mjs → esm2015/domain/users/models/user-address.js} +7 -7
  358. package/{esm2020/domain/users/models/user-payment-method.mjs → esm2015/domain/users/models/user-payment-method.js} +7 -7
  359. package/{esm2020/domain/users/models/user.mjs → esm2015/domain/users/models/user.js} +26 -26
  360. package/{esm2020/domain/users/repositories/beauty-profile.repository.mjs → esm2015/domain/users/repositories/beauty-profile.repository.js} +2 -2
  361. package/{esm2020/domain/users/repositories/edition.repository.mjs → esm2015/domain/users/repositories/edition.repository.js} +2 -2
  362. package/{esm2020/domain/users/repositories/index.mjs → esm2015/domain/users/repositories/index.js} +9 -9
  363. package/{esm2020/domain/users/repositories/lead.repository.mjs → esm2015/domain/users/repositories/lead.repository.js} +2 -2
  364. package/{esm2020/domain/users/repositories/subscription-payment.repository.mjs → esm2015/domain/users/repositories/subscription-payment.repository.js} +2 -2
  365. package/{esm2020/domain/users/repositories/subscription.repository.mjs → esm2015/domain/users/repositories/subscription.repository.js} +2 -2
  366. package/{esm2020/domain/users/repositories/user-address.repository.mjs → esm2015/domain/users/repositories/user-address.repository.js} +2 -2
  367. package/{esm2020/domain/users/repositories/user-payment-method.repository.mjs → esm2015/domain/users/repositories/user-payment-method.repository.js} +2 -2
  368. package/esm2015/domain/users/repositories/user.repository.js +2 -0
  369. package/esm2015/domain/users/services/authentication.service.js +2 -0
  370. package/{esm2020/domain/users/services/index.mjs → esm2015/domain/users/services/index.js} +4 -4
  371. package/{esm2020/domain/users/services/register.service.mjs → esm2015/domain/users/services/register.service.js} +2 -2
  372. package/{esm2020/domain/users/services/types/basic-user-data.type.mjs → esm2015/domain/users/services/types/basic-user-data.type.js} +2 -2
  373. package/{esm2020/domain/users/services/types/index.mjs → esm2015/domain/users/services/types/index.js} +2 -2
  374. package/esm2015/domain/users/use-cases/authentication.js +40 -0
  375. package/{esm2020/domain/users/use-cases/index.mjs → esm2015/domain/users/use-cases/index.js} +5 -5
  376. package/esm2015/domain/users/use-cases/recovery-password.js +12 -0
  377. package/esm2015/domain/users/use-cases/register.js +34 -0
  378. package/esm2015/domain/users/use-cases/signout.js +12 -0
  379. package/{esm2020/errors/duplicated-results.error.mjs → esm2015/errors/duplicated-results.error.js} +8 -8
  380. package/{esm2020/errors/index.mjs → esm2015/errors/index.js} +5 -5
  381. package/{esm2020/errors/invalid-argument.error.mjs → esm2015/errors/invalid-argument.error.js} +8 -8
  382. package/{esm2020/errors/not-found.error.mjs → esm2015/errors/not-found.error.js} +8 -8
  383. package/{esm2020/errors/required-argument.error.mjs → esm2015/errors/required-argument.error.js} +9 -9
  384. package/{esm2020/index.mjs → esm2015/index.js} +6 -6
  385. package/esm2015/infra/elasticsearch/adapters/axios.adapter.js +57 -0
  386. package/esm2015/infra/elasticsearch/adapters/elastic-search.adapter.js +2 -0
  387. package/{esm2020/infra/elasticsearch/adapters/index.mjs → esm2015/infra/elasticsearch/adapters/index.js} +3 -3
  388. package/{esm2020/infra/elasticsearch/index.mjs → esm2015/infra/elasticsearch/index.js} +4 -4
  389. package/{esm2020/infra/elasticsearch/indexes/index.mjs → esm2015/infra/elasticsearch/indexes/index.js} +2 -2
  390. package/esm2015/infra/elasticsearch/indexes/products-index.js +93 -0
  391. package/{esm2020/infra/elasticsearch/types/elastic-search-result.mjs → esm2015/infra/elasticsearch/types/elastic-search-result.js} +2 -2
  392. package/{esm2020/infra/elasticsearch/types/index.mjs → esm2015/infra/elasticsearch/types/index.js} +2 -2
  393. package/esm2015/infra/firebase/auth/authentication-firebase-auth.service.js +52 -0
  394. package/{esm2020/infra/firebase/auth/index.mjs → esm2015/infra/firebase/auth/index.js} +3 -3
  395. package/esm2015/infra/firebase/auth/register-firebase-auth.service.js +26 -0
  396. package/{esm2020/infra/firebase/auth/types/firebase-user-with-id.type.mjs → esm2015/infra/firebase/auth/types/firebase-user-with-id.type.js} +2 -2
  397. package/{esm2020/infra/firebase/firestore/index.mjs → esm2015/infra/firebase/firestore/index.js} +4 -4
  398. package/{esm2020/infra/firebase/firestore/mixins/index.mjs → esm2015/infra/firebase/firestore/mixins/index.js} +10 -10
  399. package/esm2015/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +31 -0
  400. package/esm2015/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +10 -0
  401. package/esm2015/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +18 -0
  402. package/esm2015/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +92 -0
  403. package/esm2015/infra/firebase/firestore/mixins/with-firestore.mixin.js +22 -0
  404. package/esm2015/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +24 -0
  405. package/{esm2020/infra/firebase/firestore/mixins/with-helpers.mixin.mjs → esm2015/infra/firebase/firestore/mixins/with-helpers.mixin.js} +17 -17
  406. package/esm2015/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +11 -0
  407. package/esm2015/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +45 -0
  408. package/esm2015/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +71 -0
  409. package/{esm2020/infra/firebase/firestore/repositories/catalog/index.mjs → esm2015/infra/firebase/firestore/repositories/catalog/index.js} +5 -5
  410. package/esm2015/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +52 -0
  411. package/{esm2020/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js} +14 -14
  412. package/{esm2020/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js} +12 -12
  413. package/{esm2020/infra/firebase/firestore/repositories/index.mjs → esm2015/infra/firebase/firestore/repositories/index.js} +5 -5
  414. package/esm2015/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +56 -0
  415. package/{esm2020/infra/firebase/firestore/repositories/shop-settings/index.mjs → esm2015/infra/firebase/firestore/repositories/shop-settings/index.js} +4 -3
  416. package/{esm2020/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js} +12 -12
  417. package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.js +12 -0
  418. package/{esm2020/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js} +12 -12
  419. package/{esm2020/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js} +12 -12
  420. package/{esm2020/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js} +12 -12
  421. package/{esm2020/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js} +29 -29
  422. package/{esm2020/infra/firebase/firestore/repositories/shopping/index.mjs → esm2015/infra/firebase/firestore/repositories/shopping/index.js} +9 -9
  423. package/{esm2020/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js} +9 -9
  424. package/esm2015/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +35 -0
  425. package/{esm2020/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js} +12 -12
  426. package/{esm2020/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js} +12 -12
  427. package/{esm2020/infra/firebase/firestore/repositories/users/index.mjs → esm2015/infra/firebase/firestore/repositories/users/index.js} +9 -9
  428. package/{esm2020/infra/firebase/firestore/repositories/users/lead-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/users/lead-firestore.repository.js} +12 -12
  429. package/{esm2020/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js} +14 -14
  430. package/{esm2020/infra/firebase/firestore/repositories/users/subscription-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js} +12 -12
  431. package/{esm2020/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js} +14 -14
  432. package/{esm2020/infra/firebase/firestore/repositories/users/user-address-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js} +14 -14
  433. package/{esm2020/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js} +14 -14
  434. package/esm2015/infra/firebase/firestore/repositories/users/user-firestore.repository.js +68 -0
  435. package/{esm2020/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.mjs → esm2015/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js} +14 -14
  436. package/esm2015/infra/firebase/firestore/types/firestore-sub.repository.type.js +2 -0
  437. package/esm2015/infra/firebase/firestore/types/firestore.helpers.type.js +2 -0
  438. package/esm2015/infra/firebase/firestore/types/firestore.repository.type.js +2 -0
  439. package/{esm2020/infra/firebase/firestore/types/index.mjs → esm2015/infra/firebase/firestore/types/index.js} +4 -4
  440. package/{esm2020/infra/firebase/index.mjs → esm2015/infra/firebase/index.js} +3 -3
  441. package/{esm2020/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.mjs → esm2015/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.js} +13 -13
  442. package/{esm2020/infra/hasura-graphql/enums/hasura-graphql-where.enum.mjs → esm2015/infra/hasura-graphql/enums/hasura-graphql-where.enum.js} +15 -15
  443. package/{esm2020/infra/hasura-graphql/enums/index.mjs → esm2015/infra/hasura-graphql/enums/index.js} +3 -3
  444. package/{esm2020/infra/hasura-graphql/index.mjs → esm2015/infra/hasura-graphql/index.js} +5 -5
  445. package/esm2015/infra/hasura-graphql/mixins/helpers/attribute-option.helper.js +31 -0
  446. package/esm2015/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.js +53 -0
  447. package/esm2015/infra/hasura-graphql/mixins/helpers/filter-option.helper.js +22 -0
  448. package/esm2015/infra/hasura-graphql/mixins/helpers/graphql-field.helper.js +86 -0
  449. package/{esm2020/infra/hasura-graphql/mixins/helpers/index.mjs → esm2015/infra/hasura-graphql/mixins/helpers/index.js} +5 -5
  450. package/{esm2020/infra/hasura-graphql/mixins/index.mjs → esm2015/infra/hasura-graphql/mixins/index.js} +8 -8
  451. package/esm2015/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.js +45 -0
  452. package/esm2015/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.js +10 -0
  453. package/esm2015/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.js +29 -0
  454. package/esm2015/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.js +45 -0
  455. package/esm2015/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.js +35 -0
  456. package/esm2015/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.js +94 -0
  457. package/esm2015/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.js +56 -0
  458. package/{esm2020/infra/hasura-graphql/models/category-hasura-graphql.mjs → esm2015/infra/hasura-graphql/models/category-hasura-graphql.js} +4 -4
  459. package/{esm2020/infra/hasura-graphql/models/index.mjs → esm2015/infra/hasura-graphql/models/index.js} +5 -5
  460. package/{esm2020/infra/hasura-graphql/models/kit-product-hasura-graphql.mjs → esm2015/infra/hasura-graphql/models/kit-product-hasura-graphql.js} +15 -15
  461. package/{esm2020/infra/hasura-graphql/models/product-hasura-graphql.mjs → esm2015/infra/hasura-graphql/models/product-hasura-graphql.js} +11 -11
  462. package/{esm2020/infra/hasura-graphql/models/variant-hasura-graphql.mjs → esm2015/infra/hasura-graphql/models/variant-hasura-graphql.js} +9 -9
  463. package/esm2015/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.js +230 -0
  464. package/{esm2020/infra/hasura-graphql/repositories/catalog/index.mjs → esm2015/infra/hasura-graphql/repositories/catalog/index.js} +4 -4
  465. package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +462 -0
  466. package/esm2015/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.js +116 -0
  467. package/{esm2020/infra/hasura-graphql/repositories/index.mjs → esm2015/infra/hasura-graphql/repositories/index.js} +2 -2
  468. package/{esm2020/infra/hasura-graphql/types/fields.type.mjs → esm2015/infra/hasura-graphql/types/fields.type.js} +2 -2
  469. package/esm2015/infra/hasura-graphql/types/graphql.repository.type.js +2 -0
  470. package/{esm2020/infra/hasura-graphql/types/hasura-graphql-auth-options.type.mjs → esm2015/infra/hasura-graphql/types/hasura-graphql-auth-options.type.js} +2 -2
  471. package/esm2015/infra/hasura-graphql/types/hasura-graphql-fields.type.js +2 -0
  472. package/{esm2020/infra/hasura-graphql/types/hasura-graphql-headers.type.mjs → esm2015/infra/hasura-graphql/types/hasura-graphql-headers.type.js} +2 -2
  473. package/{esm2020/infra/hasura-graphql/types/index.mjs → esm2015/infra/hasura-graphql/types/index.js} +9 -9
  474. package/{esm2020/infra/hasura-graphql/types/nested-field.type.mjs → esm2015/infra/hasura-graphql/types/nested-field.type.js} +2 -2
  475. package/{esm2020/infra/hasura-graphql/types/query-builder-options.type.mjs → esm2015/infra/hasura-graphql/types/query-builder-options.type.js} +2 -2
  476. package/{esm2020/infra/hasura-graphql/types/variable-options.type.mjs → esm2015/infra/hasura-graphql/types/variable-options.type.js} +2 -2
  477. package/{esm2020/infra/index.mjs → esm2015/infra/index.js} +4 -4
  478. package/{esm2020/infrab4a-connect.mjs → esm2015/infrab4a-connect.js} +4 -4
  479. package/{esm2020/utils/index.mjs → esm2015/utils/index.js} +8 -8
  480. package/{esm2020/utils/is-uuid.mjs → esm2015/utils/is-uuid.js} +3 -3
  481. package/{esm2020/utils/mixins/base.mixin.mjs → esm2015/utils/mixins/base.mixin.js} +6 -6
  482. package/{esm2020/utils/mixins/index.mjs → esm2015/utils/mixins/index.js} +4 -4
  483. package/{esm2020/utils/mixins/merge-constructor-params.type.mjs → esm2015/utils/mixins/merge-constructor-params.type.js} +2 -2
  484. package/{esm2020/utils/mixins/mixin-ctor.type.mjs → esm2015/utils/mixins/mixin-ctor.type.js} +2 -2
  485. package/{esm2020/utils/parse-datetime.mjs → esm2015/utils/parse-datetime.js} +14 -14
  486. package/{esm2020/utils/types/array-element.type.mjs → esm2015/utils/types/array-element.type.js} +2 -2
  487. package/{esm2020/utils/types/index.mjs → esm2015/utils/types/index.js} +3 -3
  488. package/{esm2020/utils/types/prop.type.mjs → esm2015/utils/types/prop.type.js} +2 -2
  489. package/fesm2015/{infrab4a-connect.mjs → infrab4a-connect.js} +3112 -3152
  490. package/fesm2015/infrab4a-connect.js.map +1 -0
  491. package/index.d.ts +5 -5
  492. package/infra/elasticsearch/adapters/axios.adapter.d.ts +14 -14
  493. package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +7 -7
  494. package/infra/elasticsearch/adapters/index.d.ts +2 -2
  495. package/infra/elasticsearch/index.d.ts +3 -3
  496. package/infra/elasticsearch/indexes/index.d.ts +1 -1
  497. package/infra/elasticsearch/indexes/products-index.d.ts +15 -15
  498. package/infra/elasticsearch/types/elastic-search-result.d.ts +7 -7
  499. package/infra/elasticsearch/types/index.d.ts +1 -1
  500. package/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
  501. package/infra/firebase/auth/index.d.ts +2 -2
  502. package/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
  503. package/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +3 -3
  504. package/infra/firebase/firestore/index.d.ts +3 -3
  505. package/infra/firebase/firestore/mixins/index.d.ts +9 -9
  506. package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
  507. package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +4 -4
  508. package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
  509. package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
  510. package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +4 -4
  511. package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
  512. package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
  513. package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +7 -7
  514. package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
  515. package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +17 -17
  516. package/infra/firebase/firestore/repositories/catalog/index.d.ts +4 -4
  517. package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +11 -11
  518. package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +13 -13
  519. package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +8 -8
  520. package/infra/firebase/firestore/repositories/index.d.ts +4 -4
  521. package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
  522. package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +3 -2
  523. package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +8 -8
  524. package/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +8 -0
  525. package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +8 -8
  526. package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +8 -8
  527. package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +8 -8
  528. package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
  529. package/infra/firebase/firestore/repositories/shopping/index.d.ts +8 -8
  530. package/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +7 -7
  531. package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
  532. package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +8 -8
  533. package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +8 -8
  534. package/infra/firebase/firestore/repositories/users/index.d.ts +8 -8
  535. package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +8 -8
  536. package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +13 -13
  537. package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +8 -8
  538. package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +13 -13
  539. package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +13 -13
  540. package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +13 -13
  541. package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
  542. package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +13 -13
  543. package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
  544. package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
  545. package/infra/firebase/firestore/types/firestore.repository.type.d.ts +12 -14
  546. package/infra/firebase/firestore/types/index.d.ts +3 -3
  547. package/infra/firebase/index.d.ts +2 -2
  548. package/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
  549. package/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +13 -13
  550. package/infra/hasura-graphql/enums/index.d.ts +2 -2
  551. package/infra/hasura-graphql/index.d.ts +4 -4
  552. package/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +13 -13
  553. package/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
  554. package/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +6 -6
  555. package/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +8 -8
  556. package/infra/hasura-graphql/mixins/helpers/index.d.ts +4 -4
  557. package/infra/hasura-graphql/mixins/index.d.ts +7 -7
  558. package/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +8 -8
  559. package/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +11 -11
  560. package/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +7 -7
  561. package/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +25 -25
  562. package/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +24 -24
  563. package/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +11 -11
  564. package/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +14 -14
  565. package/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
  566. package/infra/hasura-graphql/models/index.d.ts +4 -4
  567. package/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +6 -6
  568. package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +14 -14
  569. package/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +9 -9
  570. package/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +27 -27
  571. package/infra/hasura-graphql/repositories/catalog/index.d.ts +3 -3
  572. package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +28 -28
  573. package/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +14 -14
  574. package/infra/hasura-graphql/repositories/index.d.ts +1 -1
  575. package/infra/hasura-graphql/types/fields.type.d.ts +2 -2
  576. package/infra/hasura-graphql/types/graphql.repository.type.d.ts +21 -21
  577. package/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
  578. package/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +40 -40
  579. package/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
  580. package/infra/hasura-graphql/types/index.d.ts +8 -8
  581. package/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
  582. package/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
  583. package/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
  584. package/infra/index.d.ts +3 -3
  585. package/infrab4a-connect.d.ts +5 -0
  586. package/package.json +8 -21
  587. package/utils/index.d.ts +7 -7
  588. package/utils/is-uuid.d.ts +1 -1
  589. package/utils/mixins/base.mixin.d.ts +3 -3
  590. package/utils/mixins/index.d.ts +3 -3
  591. package/utils/mixins/merge-constructor-params.type.d.ts +3 -3
  592. package/utils/mixins/mixin-ctor.type.d.ts +1 -1
  593. package/utils/parse-datetime.d.ts +1 -1
  594. package/utils/types/array-element.type.d.ts +1 -1
  595. package/utils/types/index.d.ts +2 -2
  596. package/utils/types/prop.type.d.ts +1 -1
  597. package/esm2020/domain/catalog/models/category.mjs +0 -10
  598. package/esm2020/domain/catalog/models/product.mjs +0 -17
  599. package/esm2020/domain/catalog/models/types/product-review.type.mjs +0 -2
  600. package/esm2020/domain/catalog/models/variant.mjs +0 -10
  601. package/esm2020/domain/catalog/repositories/category.repository.mjs +0 -2
  602. package/esm2020/domain/catalog/repositories/product.repository.mjs +0 -2
  603. package/esm2020/domain/generic/model/base.model.mjs +0 -23
  604. package/esm2020/domain/generic/model/types/base-model-builder.type.mjs +0 -2
  605. package/esm2020/domain/generic/model/types/identifier-model.type.mjs +0 -2
  606. package/esm2020/domain/generic/model/types/non-function-properties.type.mjs +0 -2
  607. package/esm2020/domain/generic/repository/create.repository.mjs +0 -2
  608. package/esm2020/domain/generic/repository/crud.repository.mjs +0 -2
  609. package/esm2020/domain/generic/repository/delete.repository.mjs +0 -2
  610. package/esm2020/domain/generic/repository/find.repository.mjs +0 -2
  611. package/esm2020/domain/generic/repository/get.repository.mjs +0 -2
  612. package/esm2020/domain/generic/repository/read.repository.mjs +0 -2
  613. package/esm2020/domain/generic/repository/types/repository-find-filters.type.mjs +0 -2
  614. package/esm2020/domain/generic/repository/types/repository-update-params.type.mjs +0 -2
  615. package/esm2020/domain/generic/repository/update.repository.mjs +0 -2
  616. package/esm2020/domain/location/models/address.mjs +0 -7
  617. package/esm2020/domain/shop-settings/models/home.mjs +0 -7
  618. package/esm2020/domain/shop-settings/models/types/home-data.type.mjs +0 -2
  619. package/esm2020/domain/shop-settings/models/types/index.mjs +0 -6
  620. package/esm2020/domain/shopping/models/checkout.mjs +0 -38
  621. package/esm2020/domain/shopping/models/payment.mjs +0 -169
  622. package/esm2020/domain/shopping/models/types/payment-address.type.mjs +0 -2
  623. package/esm2020/domain/shopping/models/types/payment-card.type.mjs +0 -2
  624. package/esm2020/domain/shopping/models/types/payment-customer.type.mjs +0 -2
  625. package/esm2020/domain/users/models/subscription/edition.mjs +0 -7
  626. package/esm2020/domain/users/repositories/user.repository.mjs +0 -2
  627. package/esm2020/domain/users/services/authentication.service.mjs +0 -2
  628. package/esm2020/domain/users/use-cases/authentication.mjs +0 -43
  629. package/esm2020/domain/users/use-cases/recovery-password.mjs +0 -9
  630. package/esm2020/domain/users/use-cases/register.mjs +0 -38
  631. package/esm2020/domain/users/use-cases/signout.mjs +0 -9
  632. package/esm2020/infra/elasticsearch/adapters/axios.adapter.mjs +0 -48
  633. package/esm2020/infra/elasticsearch/adapters/elastic-search.adapter.mjs +0 -2
  634. package/esm2020/infra/elasticsearch/indexes/products-index.mjs +0 -88
  635. package/esm2020/infra/firebase/auth/authentication-firebase-auth.service.mjs +0 -41
  636. package/esm2020/infra/firebase/auth/register-firebase-auth.service.mjs +0 -23
  637. package/esm2020/infra/firebase/firestore/enums/firestore-field-type.enum.mjs +0 -10
  638. package/esm2020/infra/firebase/firestore/enums/index.mjs +0 -2
  639. package/esm2020/infra/firebase/firestore/mixins/with-create-firestore.mixin.mjs +0 -25
  640. package/esm2020/infra/firebase/firestore/mixins/with-crud-firestore.mixin.mjs +0 -10
  641. package/esm2020/infra/firebase/firestore/mixins/with-delete-firestore.mixin.mjs +0 -15
  642. package/esm2020/infra/firebase/firestore/mixins/with-find-firestore.mixin.mjs +0 -94
  643. package/esm2020/infra/firebase/firestore/mixins/with-firestore.mixin.mjs +0 -52
  644. package/esm2020/infra/firebase/firestore/mixins/with-get-firestore.mixin.mjs +0 -21
  645. package/esm2020/infra/firebase/firestore/mixins/with-sub-collection.mixin.mjs +0 -11
  646. package/esm2020/infra/firebase/firestore/mixins/with-update-firestore.mixin.mjs +0 -42
  647. package/esm2020/infra/firebase/firestore/repositories/catalog/category-firestore.repository.mjs +0 -64
  648. package/esm2020/infra/firebase/firestore/repositories/catalog/product-firestore.repository.mjs +0 -45
  649. package/esm2020/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.mjs +0 -54
  650. package/esm2020/infra/firebase/firestore/repositories/shopping/order-firestore.repository.mjs +0 -38
  651. package/esm2020/infra/firebase/firestore/repositories/users/user-firestore.repository.mjs +0 -56
  652. package/esm2020/infra/firebase/firestore/types/firestore-sub.repository.type.mjs +0 -2
  653. package/esm2020/infra/firebase/firestore/types/firestore.helpers.type.mjs +0 -2
  654. package/esm2020/infra/firebase/firestore/types/firestore.repository.type.mjs +0 -2
  655. package/esm2020/infra/hasura-graphql/mixins/helpers/attribute-option.helper.mjs +0 -32
  656. package/esm2020/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.mjs +0 -68
  657. package/esm2020/infra/hasura-graphql/mixins/helpers/filter-option.helper.mjs +0 -22
  658. package/esm2020/infra/hasura-graphql/mixins/helpers/graphql-field.helper.mjs +0 -96
  659. package/esm2020/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.mjs +0 -37
  660. package/esm2020/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.mjs +0 -10
  661. package/esm2020/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.mjs +0 -29
  662. package/esm2020/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.mjs +0 -46
  663. package/esm2020/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.mjs +0 -34
  664. package/esm2020/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.mjs +0 -92
  665. package/esm2020/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.mjs +0 -58
  666. package/esm2020/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.mjs +0 -219
  667. package/esm2020/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.mjs +0 -466
  668. package/esm2020/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.mjs +0 -106
  669. package/esm2020/infra/hasura-graphql/types/graphql.repository.type.mjs +0 -2
  670. package/esm2020/infra/hasura-graphql/types/hasura-graphql-fields.type.mjs +0 -2
  671. package/fesm2015/infrab4a-connect.mjs.map +0 -1
  672. package/fesm2020/infrab4a-connect.mjs +0 -3261
  673. package/fesm2020/infrab4a-connect.mjs.map +0 -1
  674. package/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +0 -8
  675. package/infra/firebase/firestore/enums/index.d.ts +0 -1
@@ -1,106 +0,0 @@
1
- import { Where, } from '../../../../domain';
2
- import { NotFoundError } from '../../../../errors';
3
- import { Base, isNil } from '../../../../utils';
4
- import { HasuraGraphQLColumnType } from '../../enums';
5
- import { withCrudHasuraGraphQL, withHasuraGraphQL } from '../../mixins';
6
- import { VariantHasuraGraphQL } from '../../models';
7
- export class VariantHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGraphQL(Base)) {
8
- constructor(endpoint, authOptions) {
9
- super({
10
- tableName: 'product',
11
- model: VariantHasuraGraphQL,
12
- endpoint,
13
- authOptions,
14
- fields: [
15
- { id: { columnName: 'id', to: (value) => +value, from: (value) => value.toString() } },
16
- { firestoreId: { columnName: 'firestore_id' } },
17
- { productId: { columnName: 'main_product_id', to: (value) => +value, from: (value) => value?.toString() } },
18
- { EAN: { columnName: 'ean' } },
19
- { costPrice: { columnName: 'cost_price' } },
20
- {
21
- price: {
22
- columnName: 'price',
23
- from: (price, data) => ({
24
- price,
25
- fullPrice: data.full_price,
26
- subscriberDiscountPercentage: data.subscriber_discount_percentage,
27
- subscriberPrice: data.subscriber_price,
28
- }),
29
- bindFindFilter: (sentence) => {
30
- const filters = Object.values(sentence).shift();
31
- return {
32
- ...((filters?.price || filters?.price === 0) && { price: filters.price }),
33
- ...((filters.fullPrice || filters.fullPrice === 0) && { full_price: filters.fullPrice }),
34
- ...((filters.subscriberDiscountPercentage || filters.subscriberDiscountPercentage === 0) && {
35
- subscriber_discount_percentage: filters.subscriberDiscountPercentage,
36
- }),
37
- ...((filters.subscriberPrice || filters.subscriberPrice === 0) && {
38
- subscriber_price: filters.subscriberPrice,
39
- }),
40
- };
41
- },
42
- bindPersistData: (priceData) => ({
43
- ...(priceData?.price >= 0 && { price: priceData.price }),
44
- ...(priceData.fullPrice >= 0 && { full_price: priceData.fullPrice }),
45
- ...(priceData.subscriberDiscountPercentage >= 0 && {
46
- subscriber_discount_percentage: priceData.subscriberDiscountPercentage,
47
- }),
48
- ...(priceData.subscriberPrice >= 0 && { subscriber_price: priceData.subscriberPrice }),
49
- }),
50
- },
51
- },
52
- { fullPrice: { columnName: 'full_price' } },
53
- { subscriberDiscountPercentage: { columnName: 'subscriber_discount_percentage' } },
54
- { subscriberPrice: { columnName: 'subscriber_price' } },
55
- 'sku',
56
- {
57
- stock: {
58
- columnName: 'stock',
59
- from: (quantity) => ({ quantity }),
60
- to: (value) => (isNil(value?.quantity) ? value : value?.quantity),
61
- },
62
- },
63
- 'weight',
64
- { name: { to: () => '', from: () => undefined } },
65
- { hasVariants: { columnName: 'has_variants', to: () => false, from: () => undefined } },
66
- { createdAt: { columnName: 'created_at' } },
67
- { updatedAt: { columnName: 'updated_at' } },
68
- {
69
- grade: {
70
- columnName: 'grade',
71
- type: HasuraGraphQLColumnType.Jsonb,
72
- },
73
- },
74
- ],
75
- });
76
- }
77
- async get(identifiers) {
78
- const variant = Number.isNaN(+identifiers.id)
79
- ? (await this.find({ filters: { firestoreId: identifiers.id } })).data?.[0]
80
- : await super.get(identifiers);
81
- if (!variant.productId)
82
- throw new NotFoundError(`Variant not found, it is a product`);
83
- return variant;
84
- }
85
- async find(params) {
86
- const { filters, ...options } = params || {};
87
- return super.find({ ...options, filters: { productId: { operator: Where.ISNOTNULL }, ...filters } });
88
- }
89
- async update(params) {
90
- const { productId, id: checkId, ...data } = params;
91
- const dataWithProductId = this.paramsToPlain({ id: checkId, productId });
92
- const id = await this.getId(dataWithProductId.id);
93
- const product = await super.update({ id, ...data });
94
- product.productId = dataWithProductId.productId;
95
- return product;
96
- }
97
- async getId(id) {
98
- if (!Number.isNaN(+id))
99
- return id;
100
- const { data } = await this.find({ filters: { firestoreId: id } });
101
- if (data?.[0]?.id)
102
- return data?.[0]?.id;
103
- throw new NotFoundError(`Product with id ${id} not found`);
104
- }
105
- }
106
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFyaWFudC1oYXN1cmEtZ3JhcGhxbC5yZXBvc2l0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29ubmVjdC9zcmMvaW5mcmEvaGFzdXJhLWdyYXBocWwvcmVwb3NpdG9yaWVzL2NhdGFsb2cvdmFyaWFudC1oYXN1cmEtZ3JhcGhxbC5yZXBvc2l0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFPTCxLQUFLLEdBQ04sTUFBTSxvQkFBb0IsQ0FBQTtBQUMzQixPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sb0JBQW9CLENBQUE7QUFDbEQsT0FBTyxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQTtBQUMvQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxhQUFhLENBQUE7QUFDckQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLGlCQUFpQixFQUFFLE1BQU0sY0FBYyxDQUFBO0FBQ3ZFLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGNBQWMsQ0FBQTtBQUduRCxNQUFNLE9BQU8sOEJBQ1gsU0FBUSxxQkFBcUIsQ0FBQyxpQkFBaUIsQ0FBdUIsSUFBSSxDQUFDLENBQUM7SUFHNUUsWUFBWSxRQUFnQixFQUFFLFdBQXF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ogeyBjb2x1bW5OYW1lOiAnY29zdF9wcmljZScgfSB9LFxuICAgICAgICB7XG4gICAgICAgICAgcHJpY2U6IHtcbiAgICAgICAgICAgIGNvbHVtbk5hbWU6ICdwcmljZScsXG4gICAgICAgICAgICBmcm9tOiAocHJpY2UsIGRhdGEpOiBTaG9wUHJpY2UgPT4gKHtcbiAgICAgICAgICAgICAgcHJpY2UsXG4gICAgICAgICAgICAgIGZ1bGxQcmljZTogZGF0YS5mdWxsX3ByaWNlLFxuICAgICAgICAgICAgICBzdWJzY3JpYmVyRGlzY291bnRQZXJjZW50YWdlOiBkYXRhLnN1YnNjcmliZXJfZGlzY291bnRfcGVyY2VudGFnZSxcbiAgICAgICAgICAgICAgc3Vic2NyaWJlclByaWNlOiBkYXRhLnN1YnNjcmliZXJfcHJpY2UsXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIGJpbmRGaW5kRmlsdGVyOiAoc2VudGVuY2UpID0+IHtcbiAgICAgICAgICAgICAgY29uc3QgZmlsdGVycyA9IE9iamVjdC52YWx1ZXMoc2VudGVuY2UpLnNoaWZ0KClcblxuICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIC4uLigoZmlsdGVycz8ucHJpY2UgfHwgZmlsdGVycz8ucHJpY2UgPT09IDApICYmIHsgcHJpY2U6IGZpbHRlcnMucHJpY2UgfSksXG4gICAgICAgICAgICAgICAgLi4uKChmaWx0ZXJzLmZ1bGxQcmljZSB8fCBmaWx0ZXJzLmZ1bGxQcmljZSA9PT0gMCkgJiYgeyBmdWxsX3ByaWNlOiBmaWx0ZXJzLmZ1bGxQcmljZSB9KSxcbiAgICAgICAgICAgICAgICAuLi4oKGZpbHRlcnMuc3Vic2NyaWJlckRpc2NvdW50UGVyY2VudGFnZSB8fCBmaWx0ZXJzLnN1YnNjcmliZXJEaXNjb3VudFBlcmNlbnRhZ2UgPT09IDApICYmIHtcbiAgICAgICAgICAgICAgICAgIHN1YnNjcmliZXJfZGlzY291bnRfcGVyY2VudGFnZTogZmlsdGVycy5zdWJzY3JpYmVyRGlzY291bnRQZXJjZW50YWdlLFxuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICAgIC4uLigoZmlsdGVycy5zdWJzY3JpYmVyUHJpY2UgfHwgZmlsdGVycy5zdWJzY3JpYmVyUHJpY2UgPT09IDApICYmIHtcbiAgICAgICAgICAgICAgICAgIHN1YnNjcmliZXJfcHJpY2U6IGZpbHRlcnMuc3Vic2NyaWJlclByaWNlLFxuICAgICAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgYmluZFBlcnNpc3REYXRhOiAocHJpY2VEYXRhKSA9PiAoe1xuICAgICAgICAgICAgICAuLi4ocHJpY2VEYXRhPy5wcmljZSA+PSAwICYmIHsgcHJpY2U6IHByaWNlRGF0YS5wcmljZSB9KSxcbiAgICAgICAgICAgICAgLi4uKHByaWNlRGF0YS5mdWxsUHJpY2UgPj0gMCAmJiB7IGZ1bGxfcHJpY2U6IHByaWNlRGF0YS5mdWxsUHJpY2UgfSksXG4gICAgICAgICAgICAgIC4uLihwcmljZURhdGEuc3Vic2NyaWJlckRpc2NvdW50UGVyY2VudGFnZSA+PSAwICYmIHtcbiAgICAgICAgICAgICAgICBzdWJzY3JpYmVyX2Rpc2NvdW50X3BlcmNlbnRhZ2U6IHByaWNlRGF0YS5zdWJzY3JpYmVyRGlzY291bnRQZXJjZW50YWdlLFxuICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgLi4uKHByaWNlRGF0YS5zdWJzY3JpYmVyUHJpY2UgPj0gMCAmJiB7IHN1YnNjcmliZXJfcHJpY2U6IHByaWNlRGF0YS5zdWJzY3JpYmVyUHJpY2UgfSksXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICB9LFxuICAgICAgICB9LFxuICAgICAgICB7IGZ1bGxQcmljZTogeyBjb2x1bW5OYW1lOiAnZnVsbF9wcmljZScgfSB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nVjdHVyZVxuICAgICAgP1xuICAgICAgICAgIHwgTm9uRnVuY3Rpb25BbmRJZGVudGlmaWVyUHJvcGVydHlOYW1lczxNb2RlbD5cbiAgICAgICAgICB8IHtcbiAgICAgICAgICAgICAgW2tleSBpbiBOb25GdW5jdGlvbkFuZElkZW50aWZpZXJQcm9wZXJ0eU5hbWVzPE1vZGVsPl0/OiBQcm9wVHlwZTxNb2RlbCwga2V5PiBleHRlbmRzIE1vZGVsQmFzZVN0cnVjdHVyZVxuICAgICAgICAgICAgICAgID8gSGFzdXJhR3JhcGhRTEZpZWxkczxQcm9wVHlwZTxNb2RlbCwga2V5Pj5cbiAgICAgICAgICAgICAgICA6IFByb3BUeXBlPE1vZGVsLCBrZXk+IGV4dGVuZHMgYW55W11cbiAgICAgICAgICAgICAgICA/IFByb3BUeXBlPE1vZGVsLCBrZXk+W10gZXh0ZW5kcyBNb2RlbEJhc2VTdHJ1Y3R1cmVbXVxuICAgICAgICAgICAgICAgICAgPyBIYXN1cmFHcmFwaFFMRmllbGRzPFByb3BUeXBlPE1vZGVsLCBrZXk+W10+XG4gICAgICAgICAgICAgICAgICA6IG5ldmVyXG4gICAgICAgICAgICAgICAgOiBuZXZlclxuICAgICAgICAgICAgfVxuICAgICAgICAgIHwge1xuICAgICAgICAgICAgICBba2V5IGluIE5vbkZ1bmN0aW9uQW5kSWRlbnRpZmllclByb3BlcnR5TmFtZXM8TW9kZWw+XT86IGtleSBleHRlbmRzICdhZ2dyZWdhdGUnXG4gICAgICAgICAgICAgICAgPyBuZXZlclxuICAgICAgICAgICAgICAgIDogUHJvcFR5cGU8TW9kZWwsIGtleT4gZXh0ZW5kcyBNb2RlbEJhc2VTdHJ1Y3R1cmVcbiAgICAgICAgICAgICAgICA/IENvbHVtbk9wdGlvbnM8UHJvcFR5cGU8TW9kZWwsIGtleT4sIE1vZGVsPlxuICAgICAgICAgICAgICAgIDogQ29sdW1uT3B0aW9uczxQcm9wVHlwZTxNb2RlbCwga2V5PiwgTW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