@infrab4a/connect 4.0.0 → 4.0.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 (800) hide show
  1. package/README.md +24 -24
  2. package/bundles/infrab4a-connect.umd.js +5108 -0
  3. package/bundles/infrab4a-connect.umd.js.map +1 -0
  4. package/domain/catalog/index.d.ts +2 -3
  5. package/domain/catalog/models/category.d.ts +24 -7
  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 -11
  10. package/domain/catalog/models/kit-product.d.ts +12 -12
  11. package/domain/catalog/models/product.d.ts +39 -9
  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 -0
  14. package/domain/catalog/models/types/category-metadata.type.d.ts +4 -4
  15. package/domain/catalog/models/types/index.d.ts +10 -11
  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 -8
  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 -17
  24. package/domain/catalog/repositories/category.repository.d.ts +15 -18
  25. package/domain/catalog/repositories/index.d.ts +4 -9
  26. package/domain/catalog/repositories/product.repository.d.ts +12 -15
  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 -14
  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 -17
  34. package/domain/generic/model/types/identifier-model.type.d.ts +7 -8
  35. package/domain/generic/model/types/index.d.ts +5 -5
  36. package/domain/generic/model/types/model-base-structure.type.d.ts +6 -12
  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 -13
  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 -17
  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 -14
  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 -24
  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 -4
  73. package/domain/shop-settings/models/shop-menu.d.ts +7 -7
  74. package/domain/shop-settings/models/shop-settings.d.ts +9 -9
  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 -10
  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 -12
  81. package/domain/shop-settings/models/types/shop-brands.type.d.ts +10 -10
  82. package/domain/shop-settings/models/types/shop-carousel.type.d.ts +5 -5
  83. package/domain/shop-settings/models/types/shop-collection.type.d.ts +9 -9
  84. package/domain/shop-settings/models/types/shop-section.type.d.ts +9 -9
  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 -3
  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 -4
  90. package/domain/shopping/index.d.ts +2 -2
  91. package/domain/shopping/models/buy-2-win.d.ts +16 -18
  92. package/domain/shopping/models/checkout.d.ts +27 -26
  93. package/domain/shopping/models/coupons/coupon.d.ts +32 -60
  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 -12
  104. package/domain/shopping/models/line-item.d.ts +8 -8
  105. package/domain/shopping/models/order.d.ts +9 -10
  106. package/domain/shopping/models/payment.d.ts +67 -67
  107. package/domain/shopping/models/shipping-method.d.ts +16 -17
  108. package/domain/shopping/models/subscription/checkout.d.ts +21 -20
  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 -9
  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 -4
  131. package/domain/users/errors/user-already-registered.error.d.ts +5 -4
  132. package/domain/users/errors/weak-password.error.d.ts +5 -4
  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 -8
  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 -6
  168. package/domain/users/models/user-payment-method.d.ts +14 -14
  169. package/domain/users/models/user.d.ts +28 -27
  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 -4
  190. package/errors/index.d.ts +4 -4
  191. package/errors/invalid-argument.error.d.ts +5 -4
  192. package/errors/not-found.error.d.ts +5 -4
  193. package/errors/required-argument.error.d.ts +6 -6
  194. package/{esm2020/domain/catalog/index.mjs → esm2015/domain/catalog/index.js} +3 -4
  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/esm2015/domain/catalog/models/index.js +7 -0
  200. package/esm2015/domain/catalog/models/kit-product.js +18 -0
  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/esm2015/domain/catalog/models/types/category-filter.type.js +2 -0
  204. package/{esm2020/domain/catalog/models/types/category-metadata.type.mjs → esm2015/domain/catalog/models/types/category-metadata.type.js} +2 -2
  205. package/esm2015/domain/catalog/models/types/index.js +11 -0
  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/esm2015/domain/catalog/repositories/index.js +5 -0
  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/esm2015/domain/generic/model/types/model-base-structure.type.js +2 -0
  227. package/esm2015/domain/generic/model/types/non-function-properties.type.js +2 -0
  228. package/esm2015/domain/generic/model/types/non-function-property-name.type.js +2 -0
  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/esm2015/domain/generic/repository/types/repository-find-result.type.js +2 -0
  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 -47
  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 -5
  263. package/{esm2020/domain/shop-settings/models/shop-menu.mjs → esm2015/domain/shop-settings/models/shop-menu.js} +7 -7
  264. package/{esm2020/domain/shop-settings/models/shop-settings.mjs → esm2015/domain/shop-settings/models/shop-settings.js} +7 -7
  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/{esm2020/domain/shop-settings/models/types/index.mjs → esm2015/domain/shop-settings/models/types/index.js} +11 -11
  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/{esm2020/domain/shop-settings/models/types/shop-banner.type.mjs → esm2015/domain/shop-settings/models/types/shop-banner.type.js} +2 -2
  271. package/{esm2020/domain/shop-settings/models/types/shop-brands.type.mjs → esm2015/domain/shop-settings/models/types/shop-brands.type.js} +2 -2
  272. package/{esm2020/domain/shop-settings/models/types/shop-carousel.type.mjs → esm2015/domain/shop-settings/models/types/shop-carousel.type.js} +2 -2
  273. package/{esm2020/domain/shop-settings/models/types/shop-collection.type.mjs → esm2015/domain/shop-settings/models/types/shop-collection.type.js} +2 -2
  274. package/{esm2020/domain/shop-settings/models/types/shop-section.type.mjs → esm2015/domain/shop-settings/models/types/shop-section.type.js} +2 -2
  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 -4
  278. package/{esm2020/domain/shop-settings/repositories/shop-menu.repository.mjs → esm2015/domain/shop-settings/repositories/shop-menu.repository.js} +2 -2
  279. package/{esm2020/domain/shop-settings/repositories/shop-settings.repository.mjs → esm2015/domain/shop-settings/repositories/shop-settings.repository.js} +2 -2
  280. package/{esm2020/domain/shopping/index.mjs → esm2015/domain/shopping/index.js} +3 -3
  281. package/esm2015/domain/shopping/models/buy-2-win.js +14 -0
  282. package/esm2015/domain/shopping/models/checkout.js +38 -0
  283. package/esm2015/domain/shopping/models/coupons/coupon.js +38 -0
  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/esm2015/domain/shopping/models/index.js +12 -0
  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/esm2015/domain/shopping/models/shipping-method.js +7 -0
  298. package/esm2015/domain/shopping/models/subscription/checkout.js +28 -0
  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/esm2015/domain/shopping/repositories/index.js +8 -0
  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 -7
  321. package/{esm2020/domain/users/errors/user-already-registered.error.mjs → esm2015/domain/users/errors/user-already-registered.error.js} +8 -7
  322. package/{esm2020/domain/users/errors/weak-password.error.mjs → esm2015/domain/users/errors/weak-password.error.js} +8 -7
  323. package/{esm2020/domain/users/index.mjs → esm2015/domain/users/index.js} +6 -6
  324. package/esm2015/domain/users/models/beauty-profile.js +12 -0
  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/esm2015/domain/users/models/subscription/payment.js +14 -0
  356. package/esm2015/domain/users/models/subscription/subscription.js +43 -0
  357. package/{esm2020/domain/users/models/user-address.mjs → esm2015/domain/users/models/user-address.js} +7 -7
  358. package/esm2015/domain/users/models/user-payment-method.js +7 -0
  359. package/esm2015/domain/users/models/user.js +26 -0
  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 -7
  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 -7
  382. package/{esm2020/errors/not-found.error.mjs → esm2015/errors/not-found.error.js} +8 -7
  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/enums/firestore-field-type.enum.mjs → esm2015/infra/firebase/firestore/enums/firestore-field-type.enum.js} +10 -10
  398. package/{esm2020/infra/firebase/firestore/enums/index.mjs → esm2015/infra/firebase/firestore/enums/index.js} +2 -2
  399. package/{esm2020/infra/firebase/firestore/index.mjs → esm2015/infra/firebase/firestore/index.js} +4 -4
  400. package/{esm2020/infra/firebase/firestore/mixins/index.mjs → esm2015/infra/firebase/firestore/mixins/index.js} +10 -10
  401. package/esm2015/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +31 -0
  402. package/esm2015/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +10 -0
  403. package/esm2015/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +18 -0
  404. package/esm2015/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +96 -0
  405. package/esm2015/infra/firebase/firestore/mixins/with-firestore.mixin.js +49 -0
  406. package/esm2015/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +24 -0
  407. package/esm2015/infra/firebase/firestore/mixins/with-helpers.mixin.js +17 -0
  408. package/esm2015/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +11 -0
  409. package/esm2015/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +45 -0
  410. package/esm2015/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +71 -0
  411. package/{esm2020/infra/firebase/firestore/repositories/catalog/index.mjs → esm2015/infra/firebase/firestore/repositories/catalog/index.js} +5 -5
  412. package/esm2015/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +52 -0
  413. package/esm2015/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +14 -0
  414. package/esm2015/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +12 -0
  415. package/{esm2020/infra/firebase/firestore/repositories/index.mjs → esm2015/infra/firebase/firestore/repositories/index.js} +5 -5
  416. package/esm2015/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +56 -0
  417. package/{esm2020/infra/firebase/firestore/repositories/shop-settings/index.mjs → esm2015/infra/firebase/firestore/repositories/shop-settings/index.js} +4 -4
  418. package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +12 -0
  419. package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.js +12 -0
  420. package/esm2015/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +12 -0
  421. package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +12 -0
  422. package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +12 -0
  423. package/esm2015/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +29 -0
  424. package/esm2015/infra/firebase/firestore/repositories/shopping/index.js +9 -0
  425. package/esm2015/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +9 -0
  426. package/esm2015/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +40 -0
  427. package/esm2015/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +12 -0
  428. package/esm2015/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +12 -0
  429. package/{esm2020/infra/firebase/firestore/repositories/users/index.mjs → esm2015/infra/firebase/firestore/repositories/users/index.js} +9 -9
  430. package/esm2015/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +12 -0
  431. package/esm2015/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +14 -0
  432. package/esm2015/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +12 -0
  433. package/esm2015/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +14 -0
  434. package/esm2015/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +14 -0
  435. package/esm2015/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +14 -0
  436. package/esm2015/infra/firebase/firestore/repositories/users/user-firestore.repository.js +68 -0
  437. package/esm2015/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +14 -0
  438. package/esm2015/infra/firebase/firestore/types/firestore-sub.repository.type.js +2 -0
  439. package/esm2015/infra/firebase/firestore/types/firestore.helpers.type.js +2 -0
  440. package/esm2015/infra/firebase/firestore/types/firestore.repository.type.js +2 -0
  441. package/esm2015/infra/firebase/firestore/types/index.js +4 -0
  442. package/{esm2020/infra/firebase/index.mjs → esm2015/infra/firebase/index.js} +3 -3
  443. 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
  444. package/{esm2020/infra/hasura-graphql/enums/hasura-graphql-where.enum.mjs → esm2015/infra/hasura-graphql/enums/hasura-graphql-where.enum.js} +15 -17
  445. package/{esm2020/infra/hasura-graphql/enums/index.mjs → esm2015/infra/hasura-graphql/enums/index.js} +3 -3
  446. package/{esm2020/infra/hasura-graphql/index.mjs → esm2015/infra/hasura-graphql/index.js} +5 -5
  447. package/esm2015/infra/hasura-graphql/mixins/helpers/attribute-option.helper.js +31 -0
  448. package/esm2015/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.js +53 -0
  449. package/esm2015/infra/hasura-graphql/mixins/helpers/filter-option.helper.js +22 -0
  450. package/esm2015/infra/hasura-graphql/mixins/helpers/graphql-field.helper.js +86 -0
  451. package/{esm2020/infra/hasura-graphql/mixins/helpers/index.mjs → esm2015/infra/hasura-graphql/mixins/helpers/index.js} +5 -5
  452. package/{esm2020/infra/hasura-graphql/mixins/index.mjs → esm2015/infra/hasura-graphql/mixins/index.js} +8 -8
  453. package/esm2015/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.js +45 -0
  454. package/esm2015/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.js +10 -0
  455. package/esm2015/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.js +29 -0
  456. package/esm2015/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.js +45 -0
  457. package/esm2015/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.js +35 -0
  458. package/esm2015/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.js +94 -0
  459. package/esm2015/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.js +56 -0
  460. package/{esm2020/infra/hasura-graphql/models/category-hasura-graphql.mjs → esm2015/infra/hasura-graphql/models/category-hasura-graphql.js} +4 -4
  461. package/{esm2020/infra/hasura-graphql/models/index.mjs → esm2015/infra/hasura-graphql/models/index.js} +5 -5
  462. package/{esm2020/infra/hasura-graphql/models/kit-product-hasura-graphql.mjs → esm2015/infra/hasura-graphql/models/kit-product-hasura-graphql.js} +15 -15
  463. package/esm2015/infra/hasura-graphql/models/product-hasura-graphql.js +11 -0
  464. package/{esm2020/infra/hasura-graphql/models/variant-hasura-graphql.mjs → esm2015/infra/hasura-graphql/models/variant-hasura-graphql.js} +9 -9
  465. package/esm2015/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.js +241 -0
  466. package/esm2015/infra/hasura-graphql/repositories/catalog/index.js +4 -0
  467. package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +462 -0
  468. package/esm2015/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.js +116 -0
  469. package/{esm2020/infra/hasura-graphql/repositories/index.mjs → esm2015/infra/hasura-graphql/repositories/index.js} +2 -2
  470. package/{esm2020/infra/hasura-graphql/types/fields.type.mjs → esm2015/infra/hasura-graphql/types/fields.type.js} +2 -2
  471. package/esm2015/infra/hasura-graphql/types/graphql.repository.type.js +2 -0
  472. 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
  473. package/esm2015/infra/hasura-graphql/types/hasura-graphql-fields.type.js +2 -0
  474. package/{esm2020/infra/hasura-graphql/types/hasura-graphql-headers.type.mjs → esm2015/infra/hasura-graphql/types/hasura-graphql-headers.type.js} +2 -2
  475. package/{esm2020/infra/hasura-graphql/types/index.mjs → esm2015/infra/hasura-graphql/types/index.js} +9 -9
  476. package/{esm2020/infra/hasura-graphql/types/nested-field.type.mjs → esm2015/infra/hasura-graphql/types/nested-field.type.js} +2 -2
  477. package/{esm2020/infra/hasura-graphql/types/query-builder-options.type.mjs → esm2015/infra/hasura-graphql/types/query-builder-options.type.js} +2 -2
  478. package/{esm2020/infra/hasura-graphql/types/variable-options.type.mjs → esm2015/infra/hasura-graphql/types/variable-options.type.js} +2 -2
  479. package/{esm2020/infra/index.mjs → esm2015/infra/index.js} +4 -4
  480. package/{esm2020/infrab4a-connect.mjs → esm2015/infrab4a-connect.js} +4 -4
  481. package/esm2015/utils/index.js +8 -0
  482. package/{esm2020/utils/is-uuid.mjs → esm2015/utils/is-uuid.js} +3 -3
  483. package/{esm2020/utils/mixins/base.mixin.mjs → esm2015/utils/mixins/base.mixin.js} +6 -6
  484. package/{esm2020/utils/mixins/index.mjs → esm2015/utils/mixins/index.js} +4 -4
  485. package/{esm2020/utils/mixins/merge-constructor-params.type.mjs → esm2015/utils/mixins/merge-constructor-params.type.js} +2 -2
  486. package/{esm2020/utils/mixins/mixin-ctor.type.mjs → esm2015/utils/mixins/mixin-ctor.type.js} +2 -2
  487. package/{esm2020/utils/parse-datetime.mjs → esm2015/utils/parse-datetime.js} +14 -14
  488. package/{esm2020/utils/types/array-element.type.mjs → esm2015/utils/types/array-element.type.js} +2 -2
  489. package/{esm2020/utils/types/index.mjs → esm2015/utils/types/index.js} +3 -3
  490. package/{esm2020/utils/types/prop.type.mjs → esm2015/utils/types/prop.type.js} +2 -2
  491. package/fesm2015/{infrab4a-connect.mjs → infrab4a-connect.js} +3178 -4788
  492. package/fesm2015/infrab4a-connect.js.map +1 -0
  493. package/index.d.ts +5 -5
  494. package/infra/elasticsearch/adapters/axios.adapter.d.ts +14 -16
  495. package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +7 -8
  496. package/infra/elasticsearch/adapters/index.d.ts +2 -2
  497. package/infra/elasticsearch/index.d.ts +3 -3
  498. package/infra/elasticsearch/indexes/index.d.ts +1 -1
  499. package/infra/elasticsearch/indexes/products-index.d.ts +15 -13
  500. package/infra/elasticsearch/types/elastic-search-result.d.ts +7 -9
  501. package/infra/elasticsearch/types/index.d.ts +1 -1
  502. package/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
  503. package/infra/firebase/auth/index.d.ts +2 -2
  504. package/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
  505. package/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +3 -5
  506. package/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +8 -8
  507. package/infra/firebase/firestore/enums/index.d.ts +1 -1
  508. package/infra/firebase/firestore/index.d.ts +3 -3
  509. package/infra/firebase/firestore/mixins/index.d.ts +9 -9
  510. package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
  511. package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +4 -5
  512. package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
  513. package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
  514. package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +4 -13
  515. package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
  516. package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
  517. package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +7 -11
  518. package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
  519. package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +17 -20
  520. package/infra/firebase/firestore/repositories/catalog/index.d.ts +4 -4
  521. package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +11 -12
  522. package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +13 -12
  523. package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +8 -7
  524. package/infra/firebase/firestore/repositories/index.d.ts +4 -4
  525. package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
  526. package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +3 -3
  527. package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +8 -7
  528. package/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +8 -7
  529. package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +8 -7
  530. package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +8 -7
  531. package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +8 -7
  532. package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
  533. package/infra/firebase/firestore/repositories/shopping/index.d.ts +8 -10
  534. package/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +7 -6
  535. package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
  536. package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +8 -7
  537. package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +8 -7
  538. package/infra/firebase/firestore/repositories/users/index.d.ts +8 -8
  539. package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +8 -7
  540. package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +13 -12
  541. package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +8 -7
  542. package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +13 -12
  543. package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +13 -12
  544. package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +13 -12
  545. package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
  546. package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +13 -12
  547. package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
  548. package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
  549. package/infra/firebase/firestore/types/firestore.repository.type.d.ts +14 -16
  550. package/infra/firebase/firestore/types/index.d.ts +3 -4
  551. package/infra/firebase/index.d.ts +2 -2
  552. package/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
  553. package/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +13 -15
  554. package/infra/hasura-graphql/enums/index.d.ts +2 -2
  555. package/infra/hasura-graphql/index.d.ts +4 -4
  556. package/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +13 -19
  557. package/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
  558. package/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +6 -8
  559. package/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +8 -12
  560. package/infra/hasura-graphql/mixins/helpers/index.d.ts +4 -4
  561. package/infra/hasura-graphql/mixins/index.d.ts +7 -7
  562. package/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +8 -9
  563. package/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +11 -11
  564. package/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +7 -7
  565. package/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +25 -34
  566. package/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +24 -25
  567. package/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +11 -23
  568. package/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +14 -14
  569. package/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
  570. package/infra/hasura-graphql/models/index.d.ts +4 -4
  571. package/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +6 -6
  572. package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +14 -18
  573. package/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +9 -10
  574. package/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +27 -34
  575. package/infra/hasura-graphql/repositories/catalog/index.d.ts +3 -8
  576. package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +28 -30
  577. package/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +14 -14
  578. package/infra/hasura-graphql/repositories/index.d.ts +1 -1
  579. package/infra/hasura-graphql/types/fields.type.d.ts +2 -2
  580. package/infra/hasura-graphql/types/graphql.repository.type.d.ts +21 -24
  581. package/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
  582. package/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +40 -44
  583. package/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
  584. package/infra/hasura-graphql/types/index.d.ts +8 -8
  585. package/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
  586. package/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
  587. package/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
  588. package/infra/index.d.ts +3 -3
  589. package/infrab4a-connect.d.ts +5 -0
  590. package/package.json +9 -23
  591. package/utils/index.d.ts +7 -13
  592. package/utils/is-uuid.d.ts +1 -1
  593. package/utils/mixins/base.mixin.d.ts +3 -3
  594. package/utils/mixins/index.d.ts +3 -3
  595. package/utils/mixins/merge-constructor-params.type.d.ts +3 -3
  596. package/utils/mixins/mixin-ctor.type.d.ts +1 -1
  597. package/utils/parse-datetime.d.ts +1 -1
  598. package/utils/types/array-element.type.d.ts +1 -1
  599. package/utils/types/index.d.ts +2 -2
  600. package/utils/types/prop.type.d.ts +1 -1
  601. package/domain/catalog/helpers/index.d.ts +0 -1
  602. package/domain/catalog/helpers/round-product-price.helper.d.ts +0 -4
  603. package/domain/catalog/models/category-base.d.ts +0 -30
  604. package/domain/catalog/models/category-collection-children.d.ts +0 -13
  605. package/domain/catalog/models/category-filter.d.ts +0 -13
  606. package/domain/catalog/models/category-for-product.d.ts +0 -5
  607. package/domain/catalog/models/filter-option.d.ts +0 -9
  608. package/domain/catalog/models/filter.d.ts +0 -12
  609. package/domain/catalog/models/product-base.d.ts +0 -40
  610. package/domain/catalog/models/product-for-category.d.ts +0 -7
  611. package/domain/catalog/models/product-for-kit.d.ts +0 -7
  612. package/domain/catalog/models/types/category-product.d.ts +0 -4
  613. package/domain/catalog/models/types/product-evaluation.type.d.ts +0 -6
  614. package/domain/catalog/models/wishlist.d.ts +0 -6
  615. package/domain/catalog/repositories/category-collection-children.repository.d.ts +0 -4
  616. package/domain/catalog/repositories/category-filter.repository.d.ts +0 -6
  617. package/domain/catalog/repositories/filter-option.repository.d.ts +0 -4
  618. package/domain/catalog/repositories/filter.repository.d.ts +0 -4
  619. package/domain/catalog/repositories/wishlist.repository.d.ts +0 -6
  620. package/domain/shopping/models/campaign-dashboard.d.ts +0 -15
  621. package/domain/shopping/models/campaign-hashtag.d.ts +0 -18
  622. package/domain/shopping/repositories/campaign-dashboard.repository.d.ts +0 -4
  623. package/domain/shopping/repositories/campaign-hashtag.repository.d.ts +0 -4
  624. package/esm2020/domain/catalog/helpers/index.mjs +0 -2
  625. package/esm2020/domain/catalog/helpers/round-product-price.helper.mjs +0 -15
  626. package/esm2020/domain/catalog/models/category-base.mjs +0 -18
  627. package/esm2020/domain/catalog/models/category-collection-children.mjs +0 -13
  628. package/esm2020/domain/catalog/models/category-filter.mjs +0 -19
  629. package/esm2020/domain/catalog/models/category-for-product.mjs +0 -7
  630. package/esm2020/domain/catalog/models/category.mjs +0 -14
  631. package/esm2020/domain/catalog/models/filter-option.mjs +0 -7
  632. package/esm2020/domain/catalog/models/filter.mjs +0 -7
  633. package/esm2020/domain/catalog/models/index.mjs +0 -12
  634. package/esm2020/domain/catalog/models/kit-product.mjs +0 -18
  635. package/esm2020/domain/catalog/models/product-base.mjs +0 -25
  636. package/esm2020/domain/catalog/models/product-for-category.mjs +0 -14
  637. package/esm2020/domain/catalog/models/product-for-kit.mjs +0 -14
  638. package/esm2020/domain/catalog/models/product.mjs +0 -19
  639. package/esm2020/domain/catalog/models/types/category-product.mjs +0 -2
  640. package/esm2020/domain/catalog/models/types/index.mjs +0 -12
  641. package/esm2020/domain/catalog/models/types/product-evaluation.type.mjs +0 -2
  642. package/esm2020/domain/catalog/models/types/product-review.type.mjs +0 -2
  643. package/esm2020/domain/catalog/models/variant.mjs +0 -7
  644. package/esm2020/domain/catalog/models/wishlist.mjs +0 -7
  645. package/esm2020/domain/catalog/repositories/category-collection-children.repository.mjs +0 -2
  646. package/esm2020/domain/catalog/repositories/category-filter.repository.mjs +0 -2
  647. package/esm2020/domain/catalog/repositories/category.repository.mjs +0 -2
  648. package/esm2020/domain/catalog/repositories/filter-option.repository.mjs +0 -2
  649. package/esm2020/domain/catalog/repositories/filter.repository.mjs +0 -2
  650. package/esm2020/domain/catalog/repositories/index.mjs +0 -10
  651. package/esm2020/domain/catalog/repositories/product.repository.mjs +0 -2
  652. package/esm2020/domain/catalog/repositories/wishlist.repository.mjs +0 -2
  653. package/esm2020/domain/generic/model/base.model.mjs +0 -24
  654. package/esm2020/domain/generic/model/types/base-model-builder.type.mjs +0 -2
  655. package/esm2020/domain/generic/model/types/identifier-model.type.mjs +0 -2
  656. package/esm2020/domain/generic/model/types/model-base-structure.type.mjs +0 -2
  657. package/esm2020/domain/generic/model/types/non-function-properties.type.mjs +0 -2
  658. package/esm2020/domain/generic/model/types/non-function-property-name.type.mjs +0 -2
  659. package/esm2020/domain/generic/repository/create.repository.mjs +0 -2
  660. package/esm2020/domain/generic/repository/crud.repository.mjs +0 -2
  661. package/esm2020/domain/generic/repository/delete.repository.mjs +0 -2
  662. package/esm2020/domain/generic/repository/find.repository.mjs +0 -2
  663. package/esm2020/domain/generic/repository/get.repository.mjs +0 -2
  664. package/esm2020/domain/generic/repository/read.repository.mjs +0 -2
  665. package/esm2020/domain/generic/repository/types/repository-find-filters.type.mjs +0 -2
  666. package/esm2020/domain/generic/repository/types/repository-find-result.type.mjs +0 -2
  667. package/esm2020/domain/generic/repository/types/repository-update-params.type.mjs +0 -2
  668. package/esm2020/domain/generic/repository/update.repository.mjs +0 -2
  669. package/esm2020/domain/location/models/address.mjs +0 -7
  670. package/esm2020/domain/shop-settings/models/home.mjs +0 -7
  671. package/esm2020/domain/shop-settings/models/types/home-data.type.mjs +0 -2
  672. package/esm2020/domain/shopping/models/buy-2-win.mjs +0 -14
  673. package/esm2020/domain/shopping/models/campaign-dashboard.mjs +0 -7
  674. package/esm2020/domain/shopping/models/campaign-hashtag.mjs +0 -7
  675. package/esm2020/domain/shopping/models/checkout.mjs +0 -37
  676. package/esm2020/domain/shopping/models/coupons/coupon.mjs +0 -38
  677. package/esm2020/domain/shopping/models/index.mjs +0 -13
  678. package/esm2020/domain/shopping/models/payment.mjs +0 -169
  679. package/esm2020/domain/shopping/models/shipping-method.mjs +0 -7
  680. package/esm2020/domain/shopping/models/subscription/checkout.mjs +0 -28
  681. package/esm2020/domain/shopping/models/types/payment-address.type.mjs +0 -2
  682. package/esm2020/domain/shopping/models/types/payment-card.type.mjs +0 -2
  683. package/esm2020/domain/shopping/models/types/payment-customer.type.mjs +0 -2
  684. package/esm2020/domain/shopping/repositories/campaign-dashboard.repository.mjs +0 -2
  685. package/esm2020/domain/shopping/repositories/campaign-hashtag.repository.mjs +0 -2
  686. package/esm2020/domain/shopping/repositories/index.mjs +0 -10
  687. package/esm2020/domain/users/models/beauty-profile.mjs +0 -12
  688. package/esm2020/domain/users/models/subscription/edition.mjs +0 -7
  689. package/esm2020/domain/users/models/subscription/payment.mjs +0 -14
  690. package/esm2020/domain/users/models/subscription/subscription.mjs +0 -43
  691. package/esm2020/domain/users/models/user-payment-method.mjs +0 -7
  692. package/esm2020/domain/users/models/user.mjs +0 -26
  693. package/esm2020/domain/users/repositories/user.repository.mjs +0 -2
  694. package/esm2020/domain/users/services/authentication.service.mjs +0 -2
  695. package/esm2020/domain/users/use-cases/authentication.mjs +0 -43
  696. package/esm2020/domain/users/use-cases/recovery-password.mjs +0 -9
  697. package/esm2020/domain/users/use-cases/register.mjs +0 -38
  698. package/esm2020/domain/users/use-cases/signout.mjs +0 -9
  699. package/esm2020/infra/elasticsearch/adapters/axios.adapter.mjs +0 -67
  700. package/esm2020/infra/elasticsearch/adapters/elastic-search.adapter.mjs +0 -2
  701. package/esm2020/infra/elasticsearch/indexes/products-index.mjs +0 -104
  702. package/esm2020/infra/firebase/auth/authentication-firebase-auth.service.mjs +0 -41
  703. package/esm2020/infra/firebase/auth/register-firebase-auth.service.mjs +0 -33
  704. package/esm2020/infra/firebase/firestore/mixins/with-create-firestore.mixin.mjs +0 -31
  705. package/esm2020/infra/firebase/firestore/mixins/with-crud-firestore.mixin.mjs +0 -10
  706. package/esm2020/infra/firebase/firestore/mixins/with-delete-firestore.mixin.mjs +0 -18
  707. package/esm2020/infra/firebase/firestore/mixins/with-find-firestore.mixin.mjs +0 -110
  708. package/esm2020/infra/firebase/firestore/mixins/with-firestore.mixin.mjs +0 -80
  709. package/esm2020/infra/firebase/firestore/mixins/with-get-firestore.mixin.mjs +0 -23
  710. package/esm2020/infra/firebase/firestore/mixins/with-helpers.mixin.mjs +0 -17
  711. package/esm2020/infra/firebase/firestore/mixins/with-sub-collection.mixin.mjs +0 -13
  712. package/esm2020/infra/firebase/firestore/mixins/with-update-firestore.mixin.mjs +0 -51
  713. package/esm2020/infra/firebase/firestore/repositories/catalog/category-firestore.repository.mjs +0 -67
  714. package/esm2020/infra/firebase/firestore/repositories/catalog/product-firestore.repository.mjs +0 -54
  715. package/esm2020/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.mjs +0 -16
  716. package/esm2020/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.mjs +0 -14
  717. package/esm2020/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.mjs +0 -60
  718. package/esm2020/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.mjs +0 -14
  719. package/esm2020/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.mjs +0 -14
  720. package/esm2020/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.mjs +0 -14
  721. package/esm2020/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.mjs +0 -14
  722. package/esm2020/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.mjs +0 -14
  723. package/esm2020/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.mjs +0 -14
  724. package/esm2020/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.mjs +0 -14
  725. package/esm2020/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.mjs +0 -31
  726. package/esm2020/infra/firebase/firestore/repositories/shopping/index.mjs +0 -11
  727. package/esm2020/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.mjs +0 -11
  728. package/esm2020/infra/firebase/firestore/repositories/shopping/order-firestore.repository.mjs +0 -40
  729. package/esm2020/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.mjs +0 -14
  730. package/esm2020/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.mjs +0 -14
  731. package/esm2020/infra/firebase/firestore/repositories/users/lead-firestore.repository.mjs +0 -14
  732. package/esm2020/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.mjs +0 -16
  733. package/esm2020/infra/firebase/firestore/repositories/users/subscription-firestore.repository.mjs +0 -14
  734. package/esm2020/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.mjs +0 -16
  735. package/esm2020/infra/firebase/firestore/repositories/users/user-address-firestore.repository.mjs +0 -16
  736. package/esm2020/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.mjs +0 -16
  737. package/esm2020/infra/firebase/firestore/repositories/users/user-firestore.repository.mjs +0 -50
  738. package/esm2020/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.mjs +0 -16
  739. package/esm2020/infra/firebase/firestore/types/firestore-interceptors.type.mjs +0 -2
  740. package/esm2020/infra/firebase/firestore/types/firestore-sub.repository.type.mjs +0 -2
  741. package/esm2020/infra/firebase/firestore/types/firestore.helpers.type.mjs +0 -2
  742. package/esm2020/infra/firebase/firestore/types/firestore.repository.type.mjs +0 -2
  743. package/esm2020/infra/firebase/firestore/types/index.mjs +0 -5
  744. package/esm2020/infra/hasura-graphql/mixins/helpers/attribute-option.helper.mjs +0 -35
  745. package/esm2020/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.mjs +0 -71
  746. package/esm2020/infra/hasura-graphql/mixins/helpers/filter-option.helper.mjs +0 -22
  747. package/esm2020/infra/hasura-graphql/mixins/helpers/graphql-field.helper.mjs +0 -125
  748. package/esm2020/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.mjs +0 -39
  749. package/esm2020/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.mjs +0 -10
  750. package/esm2020/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.mjs +0 -31
  751. package/esm2020/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.mjs +0 -152
  752. package/esm2020/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.mjs +0 -37
  753. package/esm2020/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.mjs +0 -108
  754. package/esm2020/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.mjs +0 -62
  755. package/esm2020/infra/hasura-graphql/models/product-hasura-graphql.mjs +0 -11
  756. package/esm2020/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.mjs +0 -39
  757. package/esm2020/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.mjs +0 -107
  758. package/esm2020/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.mjs +0 -339
  759. package/esm2020/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.mjs +0 -105
  760. package/esm2020/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.mjs +0 -22
  761. package/esm2020/infra/hasura-graphql/repositories/catalog/index.mjs +0 -9
  762. package/esm2020/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.mjs +0 -516
  763. package/esm2020/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.mjs +0 -114
  764. package/esm2020/infra/hasura-graphql/repositories/catalog/wishlist-hasura-graphql.repository.mjs +0 -236
  765. package/esm2020/infra/hasura-graphql/types/graphql.repository.type.mjs +0 -2
  766. package/esm2020/infra/hasura-graphql/types/hasura-graphql-fields.type.mjs +0 -2
  767. package/esm2020/utils/decorators/debug.class.decorator.mjs +0 -7
  768. package/esm2020/utils/decorators/index.mjs +0 -3
  769. package/esm2020/utils/decorators/trace.method.decorator.mjs +0 -81
  770. package/esm2020/utils/get.mjs +0 -3
  771. package/esm2020/utils/helpers/class-name.helper.mjs +0 -15
  772. package/esm2020/utils/helpers/debug-decorator.helper.mjs +0 -18
  773. package/esm2020/utils/helpers/debug.helper.mjs +0 -150
  774. package/esm2020/utils/helpers/index.mjs +0 -5
  775. package/esm2020/utils/helpers/reflect.helper.mjs +0 -165
  776. package/esm2020/utils/index.mjs +0 -13
  777. package/esm2020/utils/is.mjs +0 -4
  778. package/esm2020/utils/log.utils.mjs +0 -9
  779. package/fesm2015/infrab4a-connect.mjs.map +0 -1
  780. package/fesm2020/infrab4a-connect.mjs +0 -4856
  781. package/fesm2020/infrab4a-connect.mjs.map +0 -1
  782. package/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.d.ts +0 -8
  783. package/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.d.ts +0 -8
  784. package/infra/firebase/firestore/types/firestore-interceptors.type.d.ts +0 -14
  785. package/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.d.ts +0 -10
  786. package/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +0 -12
  787. package/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.d.ts +0 -18
  788. package/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.d.ts +0 -10
  789. package/infra/hasura-graphql/repositories/catalog/wishlist-hasura-graphql.repository.d.ts +0 -27
  790. package/utils/decorators/debug.class.decorator.d.ts +0 -2
  791. package/utils/decorators/index.d.ts +0 -2
  792. package/utils/decorators/trace.method.decorator.d.ts +0 -14
  793. package/utils/get.d.ts +0 -1
  794. package/utils/helpers/class-name.helper.d.ts +0 -3
  795. package/utils/helpers/debug-decorator.helper.d.ts +0 -9
  796. package/utils/helpers/debug.helper.d.ts +0 -60
  797. package/utils/helpers/index.d.ts +0 -4
  798. package/utils/helpers/reflect.helper.d.ts +0 -50
  799. package/utils/is.d.ts +0 -1
  800. package/utils/log.utils.d.ts +0 -7
@@ -1,105 +0,0 @@
1
- import { Filter } from '../../../../domain';
2
- import { Base } from '../../../../utils';
3
- import { withCrudHasuraGraphQL, withHasuraGraphQL } from '../../mixins';
4
- export class FilterHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGraphQL(Base)) {
5
- constructor({ endpoint, authOptions, interceptors, }, filterOptionRepository, categoryFilterRepository) {
6
- super({
7
- tableName: 'filter',
8
- model: Filter,
9
- endpoint,
10
- authOptions,
11
- interceptors,
12
- fields: [
13
- 'id',
14
- 'description',
15
- 'slug',
16
- 'enabled',
17
- { createdAt: { columnName: 'created_at' } },
18
- { updatedAt: { columnName: 'updated_at' } },
19
- {
20
- options: {
21
- columnName: 'options',
22
- foreignKeyColumn: { filterId: 'id' },
23
- fields: [
24
- 'id',
25
- { filterId: { columnName: 'filter_id' } },
26
- 'description',
27
- { createdAt: { columnName: 'created_at' } },
28
- { updatedAt: { columnName: 'updated_at' } },
29
- ],
30
- },
31
- },
32
- ],
33
- });
34
- this.filterOptionRepository = filterOptionRepository;
35
- this.categoryFilterRepository = categoryFilterRepository;
36
- }
37
- async update(params) {
38
- const { options, ...data } = params;
39
- const filter = await super.update(data);
40
- filter.options = await this.updateOptions(+data.id, { options });
41
- return filter;
42
- }
43
- async updateOptions(filterId, { options }) {
44
- if (!options)
45
- return [];
46
- if ('action' in options && options.action === 'remove' && options.value.length) {
47
- for (let i = 0; i < options.value.length; i++) {
48
- await this.filterOptionRepository.delete({ id: options.value[i].id });
49
- }
50
- return [];
51
- }
52
- if ('action' in options && options.action === 'merge' && options.value.length) {
53
- let filterOptions = [];
54
- for (let i = 0; i < options.value.length; i++) {
55
- try {
56
- const hasFilter = await this.filterOptionRepository.get({ id: options.value[i].id });
57
- if (hasFilter)
58
- filterOptions.push(hasFilter);
59
- }
60
- catch (error) {
61
- const newOption = await this.filterOptionRepository.create({ ...options.value[i], filterId });
62
- filterOptions.push(newOption);
63
- }
64
- }
65
- return filterOptions;
66
- }
67
- if (Array.isArray(options) && options.length) {
68
- let filterOptions = [];
69
- for (let i = 0; i < options.length; i++) {
70
- try {
71
- const hasFilter = await this.filterOptionRepository.get({ id: options[i].id });
72
- if (hasFilter)
73
- filterOptions.push(hasFilter);
74
- }
75
- catch (error) {
76
- const newOption = await this.filterOptionRepository.create({ ...options[i], filterId });
77
- filterOptions.push(newOption);
78
- }
79
- }
80
- }
81
- return [];
82
- }
83
- async delete(params) {
84
- const { data: categoryFilters } = await this.categoryFilterRepository.find({
85
- filters: {
86
- filterId: params.id,
87
- },
88
- });
89
- if (categoryFilters.length)
90
- throw new Error('Erro: o filtro está associado a uma ou mais categoria(s)');
91
- await this.deleteOptions(+params.id);
92
- await super.delete({ id: +params.id });
93
- return;
94
- }
95
- async deleteOptions(filterId) {
96
- await this.mutation('delete_filter_option', ['affected_rows'], {
97
- where: {
98
- type: 'filter_option_bool_exp',
99
- required: true,
100
- value: { filter_id: { _eq: filterId } },
101
- },
102
- });
103
- }
104
- }
105
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWhhc3VyYS1ncmFwaHFsLnJlcG9zaXRvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9pbmZyYS9oYXN1cmEtZ3JhcGhxbC9yZXBvc2l0b3JpZXMvY2F0YWxvZy9maWx0ZXItaGFzdXJhLWdyYXBocWwucmVwb3NpdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQTBCLE1BQU0sRUFBMEIsTUFBTSxvQkFBb0IsQ0FBQTtBQUUzRixPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sbUJBQW1CLENBQUE7QUFDeEMsT0FBTyxFQUEyQixxQkFBcUIsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGNBQWMsQ0FBQTtBQUloRyxNQUFNLE9BQU8sNkJBQ1gsU0FBUSxxQkFBcUIsQ0FBQyxpQkFBaUIsQ0FBUyxJQUFJLENBQUMsQ0FBQztJQUc5RCxZQUNFLEVBQ0UsUUFBUSxFQUNSLFdBQVcsRUFDWCxZQUFZLEdBQ3VFLEVBQ3BFLHNCQUEyRCxFQUMzRCx3QkFBK0Q7UUFF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GlvbnMoK3BhcmFtcy5pZClcbiAgICBhd2FpdCBzdXBlci5kZWxldGUoeyBpZDogK3BhcmFtcy5pZCB9KVxuXG4gICAgcmV0dXJuXG4gIH1cblxuICBhc3luYyBkZWxldGVPcHRpb25zKGZpbHRlcklkOiBudW1iZXIpOiBQcm9taXNlPHZvaWQ+IHtcbiAgICBhd2FpdCB0aGlzLm11dGF0aW9uKCdkZWxldGVfZmlsdGVyX29wdGlvbicsIFsnYWZmZWN0ZWRfcm93cyddLCB7XG4gICAgICB3aGVyZToge1xuICAgICAgICB0eXBlOiAnZmlsdGVyX29wdGlvbl9ib29sX2V4cCcsXG4gICAgICAgIHJlcXVpcmVkOiB0cnVlLFxuICAgICAgICB2YWx1ZTogeyBmaWx0ZXJfaWQ6IHsgX2VxOiBmaWx0ZXJJZCB9IH0sXG4gICAgICB9LFxuICAgIH0pXG4gIH1cbn1cbiJdfQ==
@@ -1,22 +0,0 @@
1
- import { FilterOption } from '../../../../domain';
2
- import { Base } from '../../../../utils';
3
- import { withCrudHasuraGraphQL, withHasuraGraphQL } from '../../mixins';
4
- export class FilterOptionHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGraphQL(Base)) {
5
- constructor({ endpoint, authOptions, interceptors, }) {
6
- super({
7
- tableName: 'filter_option',
8
- model: FilterOption,
9
- endpoint,
10
- authOptions,
11
- interceptors,
12
- fields: [
13
- 'id',
14
- 'description',
15
- { filterId: { columnName: 'filter_id' } },
16
- { createdAt: { columnName: 'created_at' } },
17
- { updatedAt: { columnName: 'updated_at' } },
18
- ],
19
- });
20
- }
21
- }
22
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLW9wdGlvbi1oYXN1cmEtZ3JhcGhxbC5yZXBvc2l0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29ubmVjdC9zcmMvaW5mc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fYXQnIH0gfSxcbiAgICAgICAgeyB1cGRhdGVkQXQ6IHsgY29sdW1uTmFtZTogJ3VwZGF0ZWRfYXQnIH0gfSxcbiAgICAgIF0sXG4gICAgfSlcbiAgfVxufVxuIl19
@@ -1,9 +0,0 @@
1
- export * from './category-collection-children-hasura-graphql.repository';
2
- export * from './category-filter-hasura-graphql.repository';
3
- export * from './category-hasura-graphql.repository';
4
- export * from './filter-hasura-graphql.repository';
5
- export * from './filter-option-hasura-graphql.repository';
6
- export * from './product-hasura-graphql.repository';
7
- export * from './variant-hasura-graphql.repository';
8
- export * from './wishlist-hasura-graphql.repository';
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9pbmZyYS9oYXN1cmEtZ3JhcGhxbC9yZXBvc2l0b3JpZXMvY2F0YWxvZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDBEQUEwRCxDQUFBO0FBQ3hFLGNBQWMsNkNBQTZDLENBQUE7QUFDM0QsY0FBYyxzQ0FBc0MsQ0FBQTtBQUNwRCxjQUFjLG9DQUFvQyxDQUFBO0FBQ2xELGNBQWMsMkNBQTJDLENBQUE7QUFDekQsY0FBYyxxQ0FBcUMsQ0FBQTtBQUNuRCxjQUFjLHFDQUFxQyxDQUFBO0FBQ25ELGNBQWMsc0NBQXNDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NhdGVnb3J5LWNvbGxlY3Rpb24tY2hpbGRyZW4taGFzdXJhLWdyYXBocWwucmVwb3NpdG9yeSdcbmV4cG9ydCAqIGZyb20gJy4vY2F0ZWdvcnktZmlsdGVyLWhhc3VyYS1ncmFwaHFsLnJlcG9zaXRvcnknXG5leHBvcnQgKi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