@infrab4a/connect 1.0.0-beta.3 → 1.0.0-beta.30

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 (1038) hide show
  1. package/README.md +24 -24
  2. package/bundles/infrab4a-connect.umd.js +4260 -2300
  3. package/bundles/infrab4a-connect.umd.js.map +1 -1
  4. package/domain/catalog/index.d.ts +2 -0
  5. package/domain/catalog/models/category.d.ts +23 -0
  6. package/domain/catalog/models/enums/index.d.ts +1 -0
  7. package/domain/catalog/models/enums/shops.enum.d.ts +5 -0
  8. package/domain/catalog/models/index.d.ts +6 -0
  9. package/domain/catalog/models/kit-product.d.ts +12 -0
  10. package/domain/catalog/models/product.d.ts +39 -0
  11. package/domain/catalog/models/types/category-condition.type.d.ts +4 -0
  12. package/domain/catalog/models/types/category-filter.type.d.ts +4 -0
  13. package/domain/catalog/models/types/index.d.ts +7 -0
  14. package/domain/catalog/models/types/product-review.type.d.ts +17 -0
  15. package/domain/catalog/models/types/shops-description.type.d.ts +7 -0
  16. package/domain/catalog/models/types/shops-price.type.d.ts +10 -0
  17. package/domain/catalog/models/types/stock.type.d.ts +3 -0
  18. package/domain/catalog/models/types/variant-grade.type.d.ts +4 -0
  19. package/domain/catalog/models/variant.d.ts +18 -0
  20. package/domain/catalog/repositories/category.repository.d.ts +15 -0
  21. package/domain/catalog/repositories/index.d.ts +4 -0
  22. package/domain/catalog/repositories/product.repository.d.ts +12 -0
  23. package/domain/catalog/repositories/subscription-product.repository.d.ts +4 -0
  24. package/domain/catalog/repositories/variant.repository.d.ts +4 -0
  25. package/domain/generic/index.d.ts +2 -0
  26. package/domain/generic/model/base.model.d.ts +10 -0
  27. package/domain/generic/model/identifier-fields.d.ts +4 -0
  28. package/domain/generic/model/index.d.ts +3 -0
  29. package/domain/generic/model/types/base-model-builder.type.d.ts +15 -0
  30. package/domain/generic/model/types/identifier-model.type.d.ts +7 -0
  31. package/domain/generic/model/types/index.d.ts +5 -0
  32. package/domain/generic/model/types/model-base-structure.type.d.ts +6 -0
  33. package/domain/generic/model/types/non-function-properties.type.d.ts +12 -0
  34. package/domain/generic/model/types/non-function-property-name.type.d.ts +4 -0
  35. package/domain/generic/repository/create.repository.d.ts +8 -0
  36. package/domain/generic/repository/crud.repository.d.ts +19 -0
  37. package/domain/generic/repository/delete.repository.d.ts +7 -0
  38. package/domain/generic/repository/enums/index.d.ts +2 -0
  39. package/domain/generic/repository/enums/update-option-actions.enum.d.ts +7 -0
  40. package/domain/generic/repository/enums/where.enum.d.ts +13 -0
  41. package/domain/generic/repository/find.repository.d.ts +11 -0
  42. package/domain/generic/repository/get.repository.d.ts +5 -0
  43. package/domain/generic/repository/index.d.ts +9 -0
  44. package/domain/generic/repository/read.repository.d.ts +14 -0
  45. package/domain/generic/repository/types/index.d.ts +6 -0
  46. package/domain/generic/repository/types/repository-find-filters.type.d.ts +13 -0
  47. package/domain/generic/repository/types/repository-find-result.type.d.ts +4 -0
  48. package/domain/generic/repository/types/repository-limit-options.type.d.ts +4 -0
  49. package/domain/generic/repository/types/repository-order-by-list.type.d.ts +5 -0
  50. package/domain/generic/repository/types/repository-update-params.type.d.ts +11 -0
  51. package/domain/generic/repository/types/where-options.type.d.ts +2 -0
  52. package/domain/generic/repository/update.repository.d.ts +6 -0
  53. package/domain/index.d.ts +6 -0
  54. package/domain/location/index.d.ts +1 -0
  55. package/domain/location/models/address.d.ts +22 -0
  56. package/domain/location/models/index.d.ts +2 -0
  57. package/domain/location/models/types/index.d.ts +3 -0
  58. package/domain/location/models/types/location-bound.type.d.ts +6 -0
  59. package/domain/location/models/types/location-geometry.type.d.ts +7 -0
  60. package/domain/location/models/types/location-lat-lng.type.d.ts +4 -0
  61. package/domain/shop-settings/enums/filter-type.enum.d.ts +19 -0
  62. package/domain/shop-settings/enums/index.d.ts +2 -0
  63. package/domain/shop-settings/enums/questions-filters.enum.d.ts +19 -0
  64. package/domain/shop-settings/helpers/beauty-questions.helper.d.ts +9 -0
  65. package/domain/shop-settings/helpers/index.d.ts +1 -0
  66. package/domain/shop-settings/index.d.ts +4 -0
  67. package/domain/shop-settings/models/home.d.ts +17 -0
  68. package/domain/shop-settings/models/index.d.ts +3 -0
  69. package/domain/shop-settings/models/shop-menu.d.ts +7 -0
  70. package/domain/shop-settings/models/types/banner.type.d.ts +6 -0
  71. package/domain/shop-settings/models/types/benefit.type.d.ts +5 -0
  72. package/domain/shop-settings/models/types/home-data.type.d.ts +15 -0
  73. package/domain/shop-settings/models/types/index.d.ts +5 -0
  74. package/domain/shop-settings/models/types/menu-nav.type.d.ts +8 -0
  75. package/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -0
  76. package/domain/shop-settings/repositories/home.repository.d.ts +4 -0
  77. package/domain/shop-settings/repositories/index.d.ts +2 -0
  78. package/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -0
  79. package/domain/shopping/index.d.ts +2 -0
  80. package/domain/shopping/models/buy-2-win.d.ts +16 -0
  81. package/domain/shopping/models/checkout.d.ts +27 -0
  82. package/domain/shopping/models/coupons/coupon.d.ts +26 -0
  83. package/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -0
  84. package/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +6 -0
  85. package/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +5 -0
  86. package/domain/shopping/models/coupons/enums/index.d.ts +3 -0
  87. package/domain/shopping/models/coupons/financial-coupon.d.ts +9 -0
  88. package/domain/shopping/models/coupons/index.d.ts +3 -0
  89. package/domain/shopping/models/enums/checkout-types.enum.d.ts +4 -0
  90. package/domain/shopping/models/enums/index.d.ts +2 -0
  91. package/domain/shopping/models/enums/order-status.enum.d.ts +10 -0
  92. package/domain/shopping/models/index.d.ts +11 -0
  93. package/domain/shopping/models/line-item.d.ts +8 -0
  94. package/domain/shopping/models/order.d.ts +9 -0
  95. package/domain/shopping/models/payment.d.ts +67 -0
  96. package/domain/shopping/models/shipping-method.d.ts +16 -0
  97. package/domain/shopping/models/subscription/checkout.d.ts +21 -0
  98. package/domain/shopping/models/subscription/index.d.ts +2 -0
  99. package/domain/shopping/models/subscription/plan.d.ts +10 -0
  100. package/domain/shopping/models/types/index.d.ts +7 -0
  101. package/domain/shopping/models/types/payment-address.type.d.ts +12 -0
  102. package/domain/shopping/models/types/payment-billing.type.d.ts +7 -0
  103. package/domain/shopping/models/types/payment-card.type.d.ts +14 -0
  104. package/domain/shopping/models/types/payment-customer.type.d.ts +18 -0
  105. package/domain/shopping/models/types/payment-document.type.d.ts +6 -0
  106. package/domain/shopping/models/types/payment-item.type.d.ts +11 -0
  107. package/domain/shopping/models/types/payment-shipping.type.d.ts +10 -0
  108. package/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -0
  109. package/domain/shopping/repositories/checkout.repository.d.ts +4 -0
  110. package/domain/shopping/repositories/coupon.repository.d.ts +4 -0
  111. package/domain/shopping/repositories/index.d.ts +7 -0
  112. package/domain/shopping/repositories/legacy-order.repository.d.ts +3 -0
  113. package/domain/shopping/repositories/order.repository.d.ts +4 -0
  114. package/domain/shopping/repositories/payment.repository.d.ts +4 -0
  115. package/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -0
  116. package/domain/shopping/repositories/subscription/index.d.ts +2 -0
  117. package/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -0
  118. package/domain/users/errors/index.d.ts +3 -0
  119. package/domain/users/errors/unauthorized.error.d.ts +5 -0
  120. package/domain/users/errors/user-already-registered.error.d.ts +5 -0
  121. package/domain/users/errors/weak-password.error.d.ts +5 -0
  122. package/domain/users/index.d.ts +5 -0
  123. package/domain/users/models/beauty-profile.d.ts +11 -0
  124. package/domain/users/models/enums/accessory-importances.enum.d.ts +5 -0
  125. package/domain/users/models/enums/area.enum.d.ts +11 -0
  126. package/domain/users/models/enums/beard-problems.enum.d.ts +9 -0
  127. package/domain/users/models/enums/beard-sizes.enum.d.ts +7 -0
  128. package/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -0
  129. package/domain/users/models/enums/body-problems.enum.d.ts +11 -0
  130. package/domain/users/models/enums/body-shapes.enum.d.ts +7 -0
  131. package/domain/users/models/enums/body-tattoos.enum.d.ts +5 -0
  132. package/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -0
  133. package/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -0
  134. package/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -0
  135. package/domain/users/models/enums/family-incomes.enum.d.ts +8 -0
  136. package/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -0
  137. package/domain/users/models/enums/hair-colors.enum.d.ts +10 -0
  138. package/domain/users/models/enums/hair-problems.enum.d.ts +10 -0
  139. package/domain/users/models/enums/hair-strands.enum.d.ts +8 -0
  140. package/domain/users/models/enums/hair-types.enum.d.ts +7 -0
  141. package/domain/users/models/enums/index.d.ts +20 -0
  142. package/domain/users/models/enums/office-position.enum.d.ts +6 -0
  143. package/domain/users/models/enums/product-spents.enum.d.ts +8 -0
  144. package/domain/users/models/enums/user-type.enum.d.ts +8 -0
  145. package/domain/users/models/index.d.ts +7 -0
  146. package/domain/users/models/lead.d.ts +7 -0
  147. package/domain/users/models/subscription/edition.d.ts +16 -0
  148. package/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -0
  149. package/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -0
  150. package/domain/users/models/subscription/enums/index.d.ts +4 -0
  151. package/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -0
  152. package/domain/users/models/subscription/enums/status.enum.d.ts +4 -0
  153. package/domain/users/models/subscription/index.d.ts +4 -0
  154. package/domain/users/models/subscription/payment.d.ts +13 -0
  155. package/domain/users/models/subscription/subscription.d.ts +28 -0
  156. package/domain/users/models/user-address.d.ts +7 -0
  157. package/domain/users/models/user-payment-method.d.ts +14 -0
  158. package/domain/users/models/user.d.ts +26 -0
  159. package/domain/users/repositories/beauty-profile.repository.d.ts +4 -0
  160. package/domain/users/repositories/edition.repository.d.ts +4 -0
  161. package/domain/users/repositories/index.d.ts +8 -0
  162. package/domain/users/repositories/lead.repository.d.ts +4 -0
  163. package/domain/users/repositories/subscription-payment.repository.d.ts +4 -0
  164. package/domain/users/repositories/subscription.repository.d.ts +4 -0
  165. package/domain/users/repositories/user-address.repository.d.ts +4 -0
  166. package/domain/users/repositories/user-payment-method.repository.d.ts +4 -0
  167. package/domain/users/repositories/user.repository.d.ts +6 -0
  168. package/domain/users/services/authentication.service.d.ts +12 -0
  169. package/domain/users/services/index.d.ts +3 -0
  170. package/domain/users/services/register.service.d.ts +7 -0
  171. package/domain/users/services/types/basic-user-data.type.d.ts +4 -0
  172. package/domain/users/services/types/index.d.ts +1 -0
  173. package/domain/users/use-cases/authentication.d.ts +21 -0
  174. package/domain/users/use-cases/index.d.ts +4 -0
  175. package/domain/users/use-cases/recovery-password.d.ts +6 -0
  176. package/domain/users/use-cases/register.d.ts +13 -0
  177. package/domain/users/use-cases/signout.d.ts +6 -0
  178. package/errors/duplicated-results.error.d.ts +5 -0
  179. package/errors/index.d.ts +4 -0
  180. package/errors/invalid-argument.error.d.ts +5 -0
  181. package/errors/not-found.error.d.ts +5 -0
  182. package/errors/required-argument.error.d.ts +6 -0
  183. package/esm2015/domain/catalog/index.js +3 -0
  184. package/esm2015/domain/catalog/models/category.js +10 -0
  185. package/esm2015/domain/catalog/models/enums/index.js +2 -0
  186. package/esm2015/domain/catalog/models/enums/shops.enum.js +7 -0
  187. package/esm2015/domain/catalog/models/index.js +7 -0
  188. package/esm2015/domain/catalog/models/kit-product.js +18 -0
  189. package/esm2015/domain/catalog/models/product.js +21 -0
  190. package/esm2015/domain/catalog/models/types/category-condition.type.js +2 -0
  191. package/esm2015/domain/catalog/models/types/category-filter.type.js +2 -0
  192. package/esm2015/domain/catalog/models/types/index.js +8 -0
  193. package/esm2015/domain/catalog/models/types/product-review.type.js +2 -0
  194. package/esm2015/domain/catalog/models/types/shops-description.type.js +2 -0
  195. package/esm2015/domain/catalog/models/types/shops-price.type.js +2 -0
  196. package/esm2015/domain/catalog/models/types/stock.type.js +2 -0
  197. package/esm2015/domain/catalog/models/types/variant-grade.type.js +2 -0
  198. package/esm2015/domain/catalog/models/variant.js +10 -0
  199. package/esm2015/domain/catalog/repositories/category.repository.js +2 -0
  200. package/esm2015/domain/catalog/repositories/index.js +5 -0
  201. package/esm2015/domain/catalog/repositories/product.repository.js +2 -0
  202. package/esm2015/domain/catalog/repositories/subscription-product.repository.js +2 -0
  203. package/esm2015/domain/catalog/repositories/variant.repository.js +2 -0
  204. package/esm2015/domain/generic/index.js +3 -0
  205. package/esm2015/domain/generic/model/base.model.js +23 -0
  206. package/esm2015/domain/generic/model/identifier-fields.js +2 -0
  207. package/esm2015/domain/generic/model/index.js +4 -0
  208. package/esm2015/domain/generic/model/types/base-model-builder.type.js +2 -0
  209. package/esm2015/domain/generic/model/types/identifier-model.type.js +2 -0
  210. package/esm2015/domain/generic/model/types/index.js +6 -0
  211. package/esm2015/domain/generic/model/types/model-base-structure.type.js +2 -0
  212. package/esm2015/domain/generic/model/types/non-function-properties.type.js +2 -0
  213. package/esm2015/domain/generic/model/types/non-function-property-name.type.js +2 -0
  214. package/esm2015/domain/generic/repository/create.repository.js +2 -0
  215. package/esm2015/domain/generic/repository/crud.repository.js +2 -0
  216. package/esm2015/domain/generic/repository/delete.repository.js +2 -0
  217. package/esm2015/domain/generic/repository/enums/index.js +3 -0
  218. package/esm2015/domain/generic/repository/enums/update-option-actions.enum.js +9 -0
  219. package/esm2015/domain/generic/repository/enums/where.enum.js +15 -0
  220. package/esm2015/domain/generic/repository/find.repository.js +2 -0
  221. package/esm2015/domain/generic/repository/get.repository.js +2 -0
  222. package/esm2015/domain/generic/repository/index.js +10 -0
  223. package/esm2015/domain/generic/repository/read.repository.js +2 -0
  224. package/esm2015/domain/generic/repository/types/index.js +7 -0
  225. package/esm2015/domain/generic/repository/types/repository-find-filters.type.js +2 -0
  226. package/esm2015/domain/generic/repository/types/repository-find-result.type.js +2 -0
  227. package/esm2015/domain/generic/repository/types/repository-limit-options.type.js +2 -0
  228. package/esm2015/domain/generic/repository/types/repository-order-by-list.type.js +2 -0
  229. package/esm2015/domain/generic/repository/types/repository-update-params.type.js +2 -0
  230. package/esm2015/domain/generic/repository/types/where-options.type.js +2 -0
  231. package/esm2015/domain/generic/repository/update.repository.js +2 -0
  232. package/esm2015/domain/index.js +7 -0
  233. package/esm2015/domain/location/index.js +2 -0
  234. package/esm2015/domain/location/models/address.js +7 -0
  235. package/esm2015/domain/location/models/index.js +3 -0
  236. package/esm2015/domain/location/models/types/index.js +4 -0
  237. package/esm2015/domain/location/models/types/location-bound.type.js +2 -0
  238. package/esm2015/domain/location/models/types/location-geometry.type.js +2 -0
  239. package/esm2015/domain/location/models/types/location-lat-lng.type.js +2 -0
  240. package/esm2015/domain/shop-settings/enums/filter-type.enum.js +21 -0
  241. package/esm2015/domain/shop-settings/enums/index.js +3 -0
  242. package/esm2015/domain/shop-settings/enums/questions-filters.enum.js +21 -0
  243. package/esm2015/domain/shop-settings/helpers/beauty-questions.helper.js +46 -0
  244. package/esm2015/domain/shop-settings/helpers/index.js +2 -0
  245. package/esm2015/domain/shop-settings/index.js +5 -0
  246. package/esm2015/domain/shop-settings/models/home.js +7 -0
  247. package/esm2015/domain/shop-settings/models/index.js +4 -0
  248. package/esm2015/domain/shop-settings/models/shop-menu.js +7 -0
  249. package/esm2015/domain/shop-settings/models/types/banner.type.js +2 -0
  250. package/esm2015/domain/shop-settings/models/types/benefit.type.js +2 -0
  251. package/esm2015/domain/shop-settings/models/types/home-data.type.js +2 -0
  252. package/esm2015/domain/shop-settings/models/types/index.js +6 -0
  253. package/esm2015/domain/shop-settings/models/types/menu-nav.type.js +2 -0
  254. package/esm2015/domain/shop-settings/models/types/sub-menu.type.js +2 -0
  255. package/esm2015/domain/shop-settings/repositories/home.repository.js +2 -0
  256. package/esm2015/domain/shop-settings/repositories/index.js +3 -0
  257. package/esm2015/domain/shop-settings/repositories/shop-menu.repository.js +2 -0
  258. package/esm2015/domain/shopping/index.js +3 -0
  259. package/esm2015/domain/shopping/models/buy-2-win.js +14 -0
  260. package/esm2015/domain/shopping/models/checkout.js +38 -0
  261. package/esm2015/domain/shopping/models/coupons/coupon.js +23 -0
  262. package/esm2015/domain/shopping/models/coupons/enums/coupon-subtypes.enum.js +6 -0
  263. package/esm2015/domain/shopping/models/coupons/enums/coupon-types.enum.js +8 -0
  264. package/esm2015/domain/shopping/models/coupons/enums/exclusivities.enum.js +7 -0
  265. package/esm2015/domain/shopping/models/coupons/enums/index.js +4 -0
  266. package/esm2015/domain/shopping/models/coupons/financial-coupon.js +28 -0
  267. package/esm2015/domain/shopping/models/coupons/index.js +4 -0
  268. package/esm2015/domain/shopping/models/enums/checkout-types.enum.js +6 -0
  269. package/esm2015/domain/shopping/models/enums/index.js +3 -0
  270. package/esm2015/domain/shopping/models/enums/order-status.enum.js +12 -0
  271. package/esm2015/domain/shopping/models/index.js +12 -0
  272. package/esm2015/domain/shopping/models/line-item.js +4 -0
  273. package/esm2015/domain/shopping/models/order.js +11 -0
  274. package/esm2015/domain/shopping/models/payment.js +169 -0
  275. package/esm2015/domain/shopping/models/shipping-method.js +7 -0
  276. package/esm2015/domain/shopping/models/subscription/checkout.js +28 -0
  277. package/esm2015/domain/shopping/models/subscription/index.js +3 -0
  278. package/esm2015/domain/shopping/models/subscription/plan.js +7 -0
  279. package/esm2015/domain/shopping/models/types/index.js +8 -0
  280. package/esm2015/domain/shopping/models/types/payment-address.type.js +2 -0
  281. package/esm2015/domain/shopping/models/types/payment-billing.type.js +2 -0
  282. package/esm2015/domain/shopping/models/types/payment-card.type.js +2 -0
  283. package/esm2015/domain/shopping/models/types/payment-customer.type.js +2 -0
  284. package/esm2015/domain/shopping/models/types/payment-document.type.js +2 -0
  285. package/esm2015/domain/shopping/models/types/payment-item.type.js +2 -0
  286. package/esm2015/domain/shopping/models/types/payment-shipping.type.js +2 -0
  287. package/esm2015/domain/shopping/repositories/buy-2-win.repository.js +2 -0
  288. package/esm2015/domain/shopping/repositories/checkout.repository.js +2 -0
  289. package/esm2015/domain/shopping/repositories/coupon.repository.js +2 -0
  290. package/esm2015/domain/shopping/repositories/index.js +8 -0
  291. package/esm2015/domain/shopping/repositories/legacy-order.repository.js +2 -0
  292. package/esm2015/domain/shopping/repositories/order.repository.js +2 -0
  293. package/esm2015/domain/shopping/repositories/payment.repository.js +2 -0
  294. package/esm2015/domain/shopping/repositories/subscription/checkout.repository.js +2 -0
  295. package/esm2015/domain/shopping/repositories/subscription/index.js +3 -0
  296. package/esm2015/domain/shopping/repositories/subscription/plan.repository.js +2 -0
  297. package/esm2015/domain/users/errors/index.js +4 -0
  298. package/esm2015/domain/users/errors/unauthorized.error.js +8 -0
  299. package/esm2015/domain/users/errors/user-already-registered.error.js +8 -0
  300. package/esm2015/domain/users/errors/weak-password.error.js +8 -0
  301. package/esm2015/domain/users/index.js +6 -0
  302. package/esm2015/domain/users/models/beauty-profile.js +12 -0
  303. package/esm2015/domain/users/models/enums/accessory-importances.enum.js +7 -0
  304. package/esm2015/domain/users/models/enums/area.enum.js +13 -0
  305. package/esm2015/domain/users/models/enums/beard-problems.enum.js +11 -0
  306. package/esm2015/domain/users/models/enums/beard-sizes.enum.js +9 -0
  307. package/esm2015/domain/users/models/enums/beauty-product-importances.enum.js +8 -0
  308. package/esm2015/domain/users/models/enums/body-problems.enum.js +13 -0
  309. package/esm2015/domain/users/models/enums/body-shapes.enum.js +9 -0
  310. package/esm2015/domain/users/models/enums/body-tattoos.enum.js +7 -0
  311. package/esm2015/domain/users/models/enums/face-skin-oilinesses.enum.js +9 -0
  312. package/esm2015/domain/users/models/enums/face-skin-problems.enum.js +12 -0
  313. package/esm2015/domain/users/models/enums/face-skin-tones.enum.js +10 -0
  314. package/esm2015/domain/users/models/enums/family-incomes.enum.js +10 -0
  315. package/esm2015/domain/users/models/enums/fragrance-importances.enum.js +7 -0
  316. package/esm2015/domain/users/models/enums/hair-colors.enum.js +12 -0
  317. package/esm2015/domain/users/models/enums/hair-problems.enum.js +12 -0
  318. package/esm2015/domain/users/models/enums/hair-strands.enum.js +10 -0
  319. package/esm2015/domain/users/models/enums/hair-types.enum.js +9 -0
  320. package/esm2015/domain/users/models/enums/index.js +21 -0
  321. package/esm2015/domain/users/models/enums/office-position.enum.js +8 -0
  322. package/esm2015/domain/users/models/enums/product-spents.enum.js +10 -0
  323. package/esm2015/domain/users/models/enums/user-type.enum.js +10 -0
  324. package/esm2015/domain/users/models/index.js +8 -0
  325. package/esm2015/domain/users/models/lead.js +7 -0
  326. package/esm2015/domain/users/models/subscription/edition.js +7 -0
  327. package/esm2015/domain/users/models/subscription/enums/billing-status.enum.js +5 -0
  328. package/esm2015/domain/users/models/subscription/enums/edition-status.enum.js +6 -0
  329. package/esm2015/domain/users/models/subscription/enums/index.js +5 -0
  330. package/esm2015/domain/users/models/subscription/enums/payment-type.enum.js +7 -0
  331. package/esm2015/domain/users/models/subscription/enums/status.enum.js +6 -0
  332. package/esm2015/domain/users/models/subscription/index.js +5 -0
  333. package/esm2015/domain/users/models/subscription/payment.js +14 -0
  334. package/esm2015/domain/users/models/subscription/subscription.js +43 -0
  335. package/esm2015/domain/users/models/user-address.js +7 -0
  336. package/esm2015/domain/users/models/user-payment-method.js +7 -0
  337. package/esm2015/domain/users/models/user.js +26 -0
  338. package/esm2015/domain/users/repositories/beauty-profile.repository.js +2 -0
  339. package/esm2015/domain/users/repositories/edition.repository.js +2 -0
  340. package/esm2015/domain/users/repositories/index.js +9 -0
  341. package/esm2015/domain/users/repositories/lead.repository.js +2 -0
  342. package/esm2015/domain/users/repositories/subscription-payment.repository.js +2 -0
  343. package/esm2015/domain/users/repositories/subscription.repository.js +2 -0
  344. package/esm2015/domain/users/repositories/user-address.repository.js +2 -0
  345. package/esm2015/domain/users/repositories/user-payment-method.repository.js +2 -0
  346. package/esm2015/domain/users/repositories/user.repository.js +2 -0
  347. package/esm2015/domain/users/services/authentication.service.js +2 -0
  348. package/esm2015/domain/users/services/index.js +4 -0
  349. package/esm2015/domain/users/services/register.service.js +2 -0
  350. package/esm2015/domain/users/services/types/basic-user-data.type.js +2 -0
  351. package/esm2015/domain/users/services/types/index.js +2 -0
  352. package/esm2015/domain/users/use-cases/authentication.js +40 -0
  353. package/esm2015/domain/users/use-cases/index.js +5 -0
  354. package/esm2015/domain/users/use-cases/recovery-password.js +12 -0
  355. package/esm2015/domain/users/use-cases/register.js +34 -0
  356. package/esm2015/domain/users/use-cases/signout.js +12 -0
  357. package/esm2015/errors/duplicated-results.error.js +8 -0
  358. package/esm2015/errors/index.js +5 -0
  359. package/esm2015/errors/invalid-argument.error.js +8 -0
  360. package/esm2015/errors/not-found.error.js +8 -0
  361. package/esm2015/errors/required-argument.error.js +9 -0
  362. package/esm2015/index.js +6 -0
  363. package/esm2015/infra/elasticsearch/adapters/axios.adapter.js +22 -0
  364. package/esm2015/infra/elasticsearch/adapters/elastic-search.adapter.js +2 -0
  365. package/esm2015/infra/elasticsearch/adapters/index.js +3 -0
  366. package/esm2015/infra/elasticsearch/index.js +4 -0
  367. package/esm2015/infra/elasticsearch/indexes/index.js +2 -0
  368. package/esm2015/infra/elasticsearch/indexes/products-index.js +59 -0
  369. package/esm2015/infra/elasticsearch/types/elastic-search-result.js +2 -0
  370. package/esm2015/infra/elasticsearch/types/index.js +2 -0
  371. package/esm2015/infra/firebase/auth/authentication-firebase-auth.service.js +52 -0
  372. package/esm2015/infra/firebase/auth/index.js +3 -0
  373. package/esm2015/infra/firebase/auth/register-firebase-auth.service.js +26 -0
  374. package/esm2015/infra/firebase/auth/types/firebase-user-with-id.type.js +2 -0
  375. package/esm2015/infra/firebase/firestore/index.js +4 -0
  376. package/esm2015/infra/firebase/firestore/mixins/index.js +10 -0
  377. package/esm2015/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +31 -0
  378. package/esm2015/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +10 -0
  379. package/esm2015/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +18 -0
  380. package/esm2015/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +86 -0
  381. package/esm2015/infra/firebase/firestore/mixins/with-firestore.mixin.js +22 -0
  382. package/esm2015/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +24 -0
  383. package/esm2015/infra/firebase/firestore/mixins/with-helpers.mixin.js +17 -0
  384. package/esm2015/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +11 -0
  385. package/esm2015/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +45 -0
  386. package/esm2015/infra/firebase/firestore/models/user-search.js +7 -0
  387. package/esm2015/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +72 -0
  388. package/esm2015/infra/firebase/firestore/repositories/catalog/index.js +5 -0
  389. package/esm2015/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +53 -0
  390. package/esm2015/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +14 -0
  391. package/esm2015/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +12 -0
  392. package/esm2015/infra/firebase/firestore/repositories/index.js +5 -0
  393. package/esm2015/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +56 -0
  394. package/esm2015/infra/firebase/firestore/repositories/shop-settings/index.js +3 -0
  395. package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +12 -0
  396. package/esm2015/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +12 -0
  397. package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +12 -0
  398. package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +12 -0
  399. package/esm2015/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +29 -0
  400. package/esm2015/infra/firebase/firestore/repositories/shopping/index.js +9 -0
  401. package/esm2015/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +9 -0
  402. package/esm2015/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +12 -0
  403. package/esm2015/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +12 -0
  404. package/esm2015/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +12 -0
  405. package/esm2015/infra/firebase/firestore/repositories/users/index.js +10 -0
  406. package/esm2015/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +12 -0
  407. package/esm2015/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +14 -0
  408. package/esm2015/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +12 -0
  409. package/esm2015/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +14 -0
  410. package/esm2015/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +14 -0
  411. package/esm2015/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +14 -0
  412. package/esm2015/infra/firebase/firestore/repositories/users/user-firestore.repository.js +70 -0
  413. package/esm2015/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +14 -0
  414. package/esm2015/infra/firebase/firestore/repositories/users/user-search-firestore.repository.js +12 -0
  415. package/esm2015/infra/firebase/firestore/types/firestore-sub.repository.type.js +2 -0
  416. package/esm2015/infra/firebase/firestore/types/firestore.helpers.type.js +2 -0
  417. package/esm2015/infra/firebase/firestore/types/firestore.repository.type.js +2 -0
  418. package/esm2015/infra/firebase/firestore/types/index.js +4 -0
  419. package/esm2015/infra/firebase/index.js +3 -0
  420. package/esm2015/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.js +13 -0
  421. package/esm2015/infra/hasura-graphql/enums/hasura-graphql-where.enum.js +15 -0
  422. package/esm2015/infra/hasura-graphql/enums/index.js +3 -0
  423. package/esm2015/infra/hasura-graphql/index.js +5 -0
  424. package/esm2015/infra/hasura-graphql/mixins/helpers/attribute-option.helper.js +31 -0
  425. package/esm2015/infra/hasura-graphql/mixins/helpers/filter-option.helper.js +18 -0
  426. package/esm2015/infra/hasura-graphql/mixins/helpers/graphql-field.helper.js +70 -0
  427. package/esm2015/infra/hasura-graphql/mixins/helpers/index.js +4 -0
  428. package/esm2015/infra/hasura-graphql/mixins/index.js +8 -0
  429. package/esm2015/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.js +45 -0
  430. package/esm2015/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.js +10 -0
  431. package/esm2015/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.js +29 -0
  432. package/esm2015/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.js +93 -0
  433. package/esm2015/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.js +35 -0
  434. package/esm2015/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.js +94 -0
  435. package/esm2015/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.js +56 -0
  436. package/esm2015/infra/hasura-graphql/models/category-hasura-graphql.js +4 -0
  437. package/esm2015/infra/hasura-graphql/models/index.js +5 -0
  438. package/esm2015/infra/hasura-graphql/models/kit-product-hasura-graphql.js +15 -0
  439. package/esm2015/infra/hasura-graphql/models/product-hasura-graphql.js +11 -0
  440. package/esm2015/infra/hasura-graphql/models/variant-hasura-graphql.js +9 -0
  441. package/esm2015/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.js +135 -0
  442. package/esm2015/infra/hasura-graphql/repositories/catalog/index.js +4 -0
  443. package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +369 -0
  444. package/esm2015/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.js +100 -0
  445. package/esm2015/infra/hasura-graphql/repositories/index.js +2 -0
  446. package/esm2015/infra/hasura-graphql/types/fields.type.js +2 -0
  447. package/esm2015/infra/hasura-graphql/types/graphql.repository.type.js +2 -0
  448. package/esm2015/infra/hasura-graphql/types/hasura-graphql-auth-options.type.js +2 -0
  449. package/esm2015/infra/hasura-graphql/types/hasura-graphql-fields.type.js +2 -0
  450. package/esm2015/infra/hasura-graphql/types/hasura-graphql-headers.type.js +2 -0
  451. package/esm2015/infra/hasura-graphql/types/index.js +9 -0
  452. package/esm2015/infra/hasura-graphql/types/nested-field.type.js +2 -0
  453. package/esm2015/infra/hasura-graphql/types/query-builder-options.type.js +2 -0
  454. package/esm2015/infra/hasura-graphql/types/variable-options.type.js +2 -0
  455. package/esm2015/infra/index.js +4 -0
  456. package/esm2015/infrab4a-connect.js +5 -5
  457. package/esm2015/utils/index.js +8 -0
  458. package/esm2015/utils/is-uuid.js +3 -0
  459. package/esm2015/utils/mixins/base.mixin.js +6 -0
  460. package/esm2015/utils/mixins/index.js +4 -0
  461. package/esm2015/utils/mixins/merge-constructor-params.type.js +2 -0
  462. package/esm2015/utils/mixins/mixin-ctor.type.js +2 -0
  463. package/esm2015/utils/parse-datetime.js +14 -0
  464. package/esm2015/utils/types/array-element.type.js +2 -0
  465. package/esm2015/utils/types/index.js +3 -0
  466. package/esm2015/utils/types/prop.type.js +2 -0
  467. package/fesm2015/infrab4a-connect.js +2839 -1545
  468. package/fesm2015/infrab4a-connect.js.map +1 -1
  469. package/index.d.ts +5 -0
  470. package/infra/elasticsearch/adapters/axios.adapter.d.ts +11 -0
  471. package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +4 -0
  472. package/infra/elasticsearch/adapters/index.d.ts +2 -0
  473. package/infra/elasticsearch/index.d.ts +3 -0
  474. package/infra/elasticsearch/indexes/index.d.ts +1 -0
  475. package/infra/elasticsearch/indexes/products-index.d.ts +11 -0
  476. package/infra/elasticsearch/types/elastic-search-result.d.ts +7 -0
  477. package/infra/elasticsearch/types/index.d.ts +1 -0
  478. package/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -0
  479. package/infra/firebase/auth/index.d.ts +2 -0
  480. package/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -0
  481. package/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +3 -0
  482. package/infra/firebase/firestore/index.d.ts +3 -0
  483. package/infra/firebase/firestore/mixins/index.d.ts +9 -0
  484. package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -0
  485. package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +4 -0
  486. package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -0
  487. package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -0
  488. package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +4 -0
  489. package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -0
  490. package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -0
  491. package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +7 -0
  492. package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -0
  493. package/infra/firebase/firestore/models/user-search.d.ts +9 -0
  494. package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +17 -0
  495. package/infra/firebase/firestore/repositories/catalog/index.d.ts +4 -0
  496. package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +11 -0
  497. package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +13 -0
  498. package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +8 -0
  499. package/infra/firebase/firestore/repositories/index.d.ts +4 -0
  500. package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -0
  501. package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +2 -0
  502. package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +8 -0
  503. package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +8 -0
  504. package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +8 -0
  505. package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +8 -0
  506. package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -0
  507. package/infra/firebase/firestore/repositories/shopping/index.d.ts +8 -0
  508. package/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +7 -0
  509. package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +8 -0
  510. package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +8 -0
  511. package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +8 -0
  512. package/infra/firebase/firestore/repositories/users/index.d.ts +9 -0
  513. package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +8 -0
  514. package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +13 -0
  515. package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +8 -0
  516. package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +13 -0
  517. package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +13 -0
  518. package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +13 -0
  519. package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +19 -0
  520. package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +13 -0
  521. package/infra/firebase/firestore/repositories/users/user-search-firestore.repository.d.ts +9 -0
  522. package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -0
  523. package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -0
  524. package/infra/firebase/firestore/types/firestore.repository.type.d.ts +12 -0
  525. package/infra/firebase/firestore/types/index.d.ts +3 -0
  526. package/infra/firebase/index.d.ts +2 -0
  527. package/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -0
  528. package/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +13 -0
  529. package/infra/hasura-graphql/enums/index.d.ts +2 -0
  530. package/infra/hasura-graphql/index.d.ts +4 -0
  531. package/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +13 -0
  532. package/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +6 -0
  533. package/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +8 -0
  534. package/infra/hasura-graphql/mixins/helpers/index.d.ts +3 -0
  535. package/infra/hasura-graphql/mixins/index.d.ts +7 -0
  536. package/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +8 -0
  537. package/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +11 -0
  538. package/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +7 -0
  539. package/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +31 -0
  540. package/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +24 -0
  541. package/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +11 -0
  542. package/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +14 -0
  543. package/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -0
  544. package/infra/hasura-graphql/models/index.d.ts +4 -0
  545. package/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +6 -0
  546. package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +9 -0
  547. package/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +9 -0
  548. package/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +22 -0
  549. package/infra/hasura-graphql/repositories/catalog/index.d.ts +3 -0
  550. package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +26 -0
  551. package/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +13 -0
  552. package/infra/hasura-graphql/repositories/index.d.ts +1 -0
  553. package/infra/hasura-graphql/types/fields.type.d.ts +2 -0
  554. package/infra/hasura-graphql/types/graphql.repository.type.d.ts +21 -0
  555. package/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -0
  556. package/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +36 -0
  557. package/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -0
  558. package/infra/hasura-graphql/types/index.d.ts +8 -0
  559. package/infra/hasura-graphql/types/nested-field.type.d.ts +7 -0
  560. package/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -0
  561. package/infra/hasura-graphql/types/variable-options.type.d.ts +9 -0
  562. package/infra/index.d.ts +3 -0
  563. package/infrab4a-connect.d.ts +5 -5
  564. package/package.json +7 -3
  565. package/utils/index.d.ts +7 -0
  566. package/utils/is-uuid.d.ts +1 -0
  567. package/utils/mixins/base.mixin.d.ts +3 -0
  568. package/utils/mixins/index.d.ts +3 -0
  569. package/utils/mixins/merge-constructor-params.type.d.ts +3 -0
  570. package/utils/mixins/mixin-ctor.type.d.ts +1 -0
  571. package/utils/parse-datetime.d.ts +1 -0
  572. package/utils/types/array-element.type.d.ts +1 -0
  573. package/utils/types/index.d.ts +2 -0
  574. package/utils/types/prop.type.d.ts +1 -0
  575. package/esm2015/lib/domain/catalog/index.js +0 -3
  576. package/esm2015/lib/domain/catalog/models/category.js +0 -7
  577. package/esm2015/lib/domain/catalog/models/enums/index.js +0 -2
  578. package/esm2015/lib/domain/catalog/models/enums/shops.enum.js +0 -6
  579. package/esm2015/lib/domain/catalog/models/index.js +0 -6
  580. package/esm2015/lib/domain/catalog/models/product.js +0 -11
  581. package/esm2015/lib/domain/catalog/models/types/category-condition.type.js +0 -2
  582. package/esm2015/lib/domain/catalog/models/types/category-filter.type.js +0 -2
  583. package/esm2015/lib/domain/catalog/models/types/index.js +0 -8
  584. package/esm2015/lib/domain/catalog/models/types/product-review.type.js +0 -2
  585. package/esm2015/lib/domain/catalog/models/types/shops-description.type.js +0 -2
  586. package/esm2015/lib/domain/catalog/models/types/shops-price.type.js +0 -2
  587. package/esm2015/lib/domain/catalog/models/types/stock.type.js +0 -2
  588. package/esm2015/lib/domain/catalog/models/types/variant-grade.type.js +0 -2
  589. package/esm2015/lib/domain/catalog/models/variant.js +0 -7
  590. package/esm2015/lib/domain/catalog/repositories/category.repository.js +0 -2
  591. package/esm2015/lib/domain/catalog/repositories/index.js +0 -5
  592. package/esm2015/lib/domain/catalog/repositories/product.repository.js +0 -2
  593. package/esm2015/lib/domain/catalog/repositories/subscription-product.repository.js +0 -2
  594. package/esm2015/lib/domain/catalog/repositories/variant.repository.js +0 -2
  595. package/esm2015/lib/domain/general/index.js +0 -3
  596. package/esm2015/lib/domain/general/model/base-model-with-identifier-fields.js +0 -2
  597. package/esm2015/lib/domain/general/model/base.model.js +0 -13
  598. package/esm2015/lib/domain/general/model/identifier-fields.js +0 -2
  599. package/esm2015/lib/domain/general/model/index.js +0 -5
  600. package/esm2015/lib/domain/general/model/types/base-model-builder.type.js +0 -2
  601. package/esm2015/lib/domain/general/model/types/index.js +0 -4
  602. package/esm2015/lib/domain/general/model/types/non-function-properties.type.js +0 -2
  603. package/esm2015/lib/domain/general/model/types/non-function-property-name.type.js +0 -2
  604. package/esm2015/lib/domain/general/repository/create.repository.js +0 -2
  605. package/esm2015/lib/domain/general/repository/crud.repository.js +0 -2
  606. package/esm2015/lib/domain/general/repository/delete.repository.js +0 -2
  607. package/esm2015/lib/domain/general/repository/enums/index.js +0 -3
  608. package/esm2015/lib/domain/general/repository/enums/update-option-actions.enum.js +0 -9
  609. package/esm2015/lib/domain/general/repository/enums/where.enum.js +0 -12
  610. package/esm2015/lib/domain/general/repository/find.repository.js +0 -2
  611. package/esm2015/lib/domain/general/repository/get.repository.js +0 -2
  612. package/esm2015/lib/domain/general/repository/index.js +0 -10
  613. package/esm2015/lib/domain/general/repository/read.repository.js +0 -2
  614. package/esm2015/lib/domain/general/repository/types/index.js +0 -6
  615. package/esm2015/lib/domain/general/repository/types/repository-find-filters.type.js +0 -2
  616. package/esm2015/lib/domain/general/repository/types/repository-find-result.type.js +0 -2
  617. package/esm2015/lib/domain/general/repository/types/repository-limit-options.type.js +0 -2
  618. package/esm2015/lib/domain/general/repository/types/repository-order-by-list.type.js +0 -2
  619. package/esm2015/lib/domain/general/repository/types/repository-update-params.type.js +0 -2
  620. package/esm2015/lib/domain/general/repository/update.repository.js +0 -2
  621. package/esm2015/lib/domain/index.js +0 -7
  622. package/esm2015/lib/domain/location/index.js +0 -2
  623. package/esm2015/lib/domain/location/models/address.js +0 -4
  624. package/esm2015/lib/domain/location/models/index.js +0 -3
  625. package/esm2015/lib/domain/location/models/types/index.js +0 -4
  626. package/esm2015/lib/domain/location/models/types/location-bound.type.js +0 -2
  627. package/esm2015/lib/domain/location/models/types/location-geometry.type.js +0 -2
  628. package/esm2015/lib/domain/location/models/types/location-lat-lng.type.js +0 -2
  629. package/esm2015/lib/domain/shop-settings/enums/filter-type.enum.js +0 -21
  630. package/esm2015/lib/domain/shop-settings/enums/index.js +0 -3
  631. package/esm2015/lib/domain/shop-settings/enums/questions-filters.enum.js +0 -21
  632. package/esm2015/lib/domain/shop-settings/helpers/beauty-questions.helper.js +0 -46
  633. package/esm2015/lib/domain/shop-settings/helpers/index.js +0 -2
  634. package/esm2015/lib/domain/shop-settings/index.js +0 -5
  635. package/esm2015/lib/domain/shop-settings/models/home.js +0 -7
  636. package/esm2015/lib/domain/shop-settings/models/index.js +0 -4
  637. package/esm2015/lib/domain/shop-settings/models/shop-menu.js +0 -7
  638. package/esm2015/lib/domain/shop-settings/models/types/banner.type.js +0 -2
  639. package/esm2015/lib/domain/shop-settings/models/types/benefit.type.js +0 -2
  640. package/esm2015/lib/domain/shop-settings/models/types/index.js +0 -5
  641. package/esm2015/lib/domain/shop-settings/models/types/menu-nav.type.js +0 -2
  642. package/esm2015/lib/domain/shop-settings/models/types/sub-menu.type.js +0 -2
  643. package/esm2015/lib/domain/shop-settings/repositories/home.repository.js +0 -2
  644. package/esm2015/lib/domain/shop-settings/repositories/index.js +0 -3
  645. package/esm2015/lib/domain/shop-settings/repositories/shop-menu.repository.js +0 -2
  646. package/esm2015/lib/domain/shopping/index.js +0 -3
  647. package/esm2015/lib/domain/shopping/models/buy-2-win.js +0 -14
  648. package/esm2015/lib/domain/shopping/models/checkout.js +0 -46
  649. package/esm2015/lib/domain/shopping/models/coupons/club-coupon.js +0 -18
  650. package/esm2015/lib/domain/shopping/models/coupons/coupon.js +0 -31
  651. package/esm2015/lib/domain/shopping/models/coupons/enums/discount-type.enum.js +0 -7
  652. package/esm2015/lib/domain/shopping/models/coupons/enums/exclusivities.enum.js +0 -7
  653. package/esm2015/lib/domain/shopping/models/coupons/enums/index.js +0 -3
  654. package/esm2015/lib/domain/shopping/models/coupons/index.js +0 -5
  655. package/esm2015/lib/domain/shopping/models/coupons/store-coupon.js +0 -23
  656. package/esm2015/lib/domain/shopping/models/enums/checkout-types.enum.js +0 -6
  657. package/esm2015/lib/domain/shopping/models/enums/index.js +0 -3
  658. package/esm2015/lib/domain/shopping/models/enums/order-status.enum.js +0 -12
  659. package/esm2015/lib/domain/shopping/models/index.js +0 -12
  660. package/esm2015/lib/domain/shopping/models/line-item.js +0 -4
  661. package/esm2015/lib/domain/shopping/models/order.js +0 -11
  662. package/esm2015/lib/domain/shopping/models/payment.js +0 -169
  663. package/esm2015/lib/domain/shopping/models/shipping-method.js +0 -7
  664. package/esm2015/lib/domain/shopping/models/subscription/checkout.js +0 -28
  665. package/esm2015/lib/domain/shopping/models/subscription/index.js +0 -3
  666. package/esm2015/lib/domain/shopping/models/subscription/plan.js +0 -7
  667. package/esm2015/lib/domain/shopping/models/types/index.js +0 -8
  668. package/esm2015/lib/domain/shopping/models/types/payment-address.type.js +0 -2
  669. package/esm2015/lib/domain/shopping/models/types/payment-billing.type.js +0 -2
  670. package/esm2015/lib/domain/shopping/models/types/payment-card.type.js +0 -2
  671. package/esm2015/lib/domain/shopping/models/types/payment-customer.type.js +0 -2
  672. package/esm2015/lib/domain/shopping/models/types/payment-document.type.js +0 -2
  673. package/esm2015/lib/domain/shopping/models/types/payment-item.type.js +0 -2
  674. package/esm2015/lib/domain/shopping/models/types/payment-shipping.type.js +0 -2
  675. package/esm2015/lib/domain/shopping/repositories/buy-2-win.repository.js +0 -2
  676. package/esm2015/lib/domain/shopping/repositories/checkout.repository.js +0 -2
  677. package/esm2015/lib/domain/shopping/repositories/coupon.repository.js +0 -2
  678. package/esm2015/lib/domain/shopping/repositories/index.js +0 -8
  679. package/esm2015/lib/domain/shopping/repositories/legacy-order.repository.js +0 -2
  680. package/esm2015/lib/domain/shopping/repositories/order.repository.js +0 -2
  681. package/esm2015/lib/domain/shopping/repositories/payment.repository.js +0 -2
  682. package/esm2015/lib/domain/shopping/repositories/subscription/checkout.repository.js +0 -2
  683. package/esm2015/lib/domain/shopping/repositories/subscription/index.js +0 -3
  684. package/esm2015/lib/domain/shopping/repositories/subscription/plan.repository.js +0 -2
  685. package/esm2015/lib/domain/users/errors/index.js +0 -4
  686. package/esm2015/lib/domain/users/errors/unauthorized.error.js +0 -7
  687. package/esm2015/lib/domain/users/errors/user-already-registered.error.js +0 -7
  688. package/esm2015/lib/domain/users/errors/weak-password.error.js +0 -7
  689. package/esm2015/lib/domain/users/index.js +0 -6
  690. package/esm2015/lib/domain/users/models/beauty-profile.js +0 -12
  691. package/esm2015/lib/domain/users/models/enums/accessory-importances.enum.js +0 -7
  692. package/esm2015/lib/domain/users/models/enums/area.enum.js +0 -13
  693. package/esm2015/lib/domain/users/models/enums/beard-problems.enum.js +0 -11
  694. package/esm2015/lib/domain/users/models/enums/beard-sizes.enum.js +0 -9
  695. package/esm2015/lib/domain/users/models/enums/beauty-product-importances.enum.js +0 -8
  696. package/esm2015/lib/domain/users/models/enums/body-problems.enum.js +0 -13
  697. package/esm2015/lib/domain/users/models/enums/body-shapes.enum.js +0 -9
  698. package/esm2015/lib/domain/users/models/enums/body-tattoos.enum.js +0 -7
  699. package/esm2015/lib/domain/users/models/enums/face-skin-oilinesses.enum.js +0 -9
  700. package/esm2015/lib/domain/users/models/enums/face-skin-problems.enum.js +0 -12
  701. package/esm2015/lib/domain/users/models/enums/face-skin-tones.enum.js +0 -10
  702. package/esm2015/lib/domain/users/models/enums/family-incomes.enum.js +0 -10
  703. package/esm2015/lib/domain/users/models/enums/fragrance-importances.enum.js +0 -7
  704. package/esm2015/lib/domain/users/models/enums/hair-colors.enum.js +0 -12
  705. package/esm2015/lib/domain/users/models/enums/hair-problems.enum.js +0 -12
  706. package/esm2015/lib/domain/users/models/enums/hair-strands.enum.js +0 -10
  707. package/esm2015/lib/domain/users/models/enums/hair-types.enum.js +0 -9
  708. package/esm2015/lib/domain/users/models/enums/index.js +0 -21
  709. package/esm2015/lib/domain/users/models/enums/office-position.enum.js +0 -8
  710. package/esm2015/lib/domain/users/models/enums/product-spents.enum.js +0 -10
  711. package/esm2015/lib/domain/users/models/enums/user-type.enum.js +0 -10
  712. package/esm2015/lib/domain/users/models/index.js +0 -8
  713. package/esm2015/lib/domain/users/models/lead.js +0 -7
  714. package/esm2015/lib/domain/users/models/subscription/edition.js +0 -7
  715. package/esm2015/lib/domain/users/models/subscription/enums/billing-status.enum.js +0 -5
  716. package/esm2015/lib/domain/users/models/subscription/enums/edition-status.enum.js +0 -6
  717. package/esm2015/lib/domain/users/models/subscription/enums/index.js +0 -5
  718. package/esm2015/lib/domain/users/models/subscription/enums/payment-type.enum.js +0 -7
  719. package/esm2015/lib/domain/users/models/subscription/enums/status.enum.js +0 -6
  720. package/esm2015/lib/domain/users/models/subscription/index.js +0 -5
  721. package/esm2015/lib/domain/users/models/subscription/payment.js +0 -14
  722. package/esm2015/lib/domain/users/models/subscription/subscription.js +0 -43
  723. package/esm2015/lib/domain/users/models/user-address.js +0 -7
  724. package/esm2015/lib/domain/users/models/user-payment-method.js +0 -7
  725. package/esm2015/lib/domain/users/models/user.js +0 -26
  726. package/esm2015/lib/domain/users/repositories/beauty-profile.repository.js +0 -2
  727. package/esm2015/lib/domain/users/repositories/edition.repository.js +0 -2
  728. package/esm2015/lib/domain/users/repositories/index.js +0 -9
  729. package/esm2015/lib/domain/users/repositories/lead.repository.js +0 -2
  730. package/esm2015/lib/domain/users/repositories/subscription-payment.repository.js +0 -2
  731. package/esm2015/lib/domain/users/repositories/subscription.repository.js +0 -2
  732. package/esm2015/lib/domain/users/repositories/user-address.repository.js +0 -2
  733. package/esm2015/lib/domain/users/repositories/user-payment-method.repository.js +0 -2
  734. package/esm2015/lib/domain/users/repositories/user.repository.js +0 -2
  735. package/esm2015/lib/domain/users/services/authentication.service.js +0 -2
  736. package/esm2015/lib/domain/users/services/index.js +0 -4
  737. package/esm2015/lib/domain/users/services/register.service.js +0 -2
  738. package/esm2015/lib/domain/users/services/types/basic-user-data.type.js +0 -2
  739. package/esm2015/lib/domain/users/services/types/index.js +0 -2
  740. package/esm2015/lib/domain/users/use-cases/authentication.js +0 -40
  741. package/esm2015/lib/domain/users/use-cases/index.js +0 -4
  742. package/esm2015/lib/domain/users/use-cases/register.js +0 -34
  743. package/esm2015/lib/domain/users/use-cases/signout.js +0 -12
  744. package/esm2015/lib/errors/duplicated-results.error.js +0 -7
  745. package/esm2015/lib/errors/index.js +0 -5
  746. package/esm2015/lib/errors/invalid-argument.error.js +0 -7
  747. package/esm2015/lib/errors/not-found.error.js +0 -7
  748. package/esm2015/lib/errors/required-argument.error.js +0 -8
  749. package/esm2015/lib/index.js +0 -5
  750. package/esm2015/lib/infra/firebase/auth/authentication-firebase-auth.service.js +0 -47
  751. package/esm2015/lib/infra/firebase/auth/index.js +0 -3
  752. package/esm2015/lib/infra/firebase/auth/register-firebase-auth.service.js +0 -26
  753. package/esm2015/lib/infra/firebase/auth/types/firebase-user-with-id.type.js +0 -2
  754. package/esm2015/lib/infra/firebase/firestore/index.js +0 -4
  755. package/esm2015/lib/infra/firebase/firestore/mixins/index.js +0 -10
  756. package/esm2015/lib/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +0 -31
  757. package/esm2015/lib/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +0 -10
  758. package/esm2015/lib/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +0 -18
  759. package/esm2015/lib/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +0 -76
  760. package/esm2015/lib/infra/firebase/firestore/mixins/with-firestore.mixin.js +0 -26
  761. package/esm2015/lib/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +0 -24
  762. package/esm2015/lib/infra/firebase/firestore/mixins/with-helpers.mixin.js +0 -17
  763. package/esm2015/lib/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +0 -11
  764. package/esm2015/lib/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +0 -45
  765. package/esm2015/lib/infra/firebase/firestore/models/user-search.js +0 -7
  766. package/esm2015/lib/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +0 -78
  767. package/esm2015/lib/infra/firebase/firestore/repositories/catalog/index.js +0 -5
  768. package/esm2015/lib/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +0 -23
  769. package/esm2015/lib/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +0 -14
  770. package/esm2015/lib/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +0 -12
  771. package/esm2015/lib/infra/firebase/firestore/repositories/index.js +0 -5
  772. package/esm2015/lib/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +0 -12
  773. package/esm2015/lib/infra/firebase/firestore/repositories/shop-settings/index.js +0 -3
  774. package/esm2015/lib/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +0 -12
  775. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +0 -12
  776. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +0 -12
  777. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +0 -12
  778. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +0 -39
  779. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/index.js +0 -9
  780. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +0 -9
  781. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +0 -12
  782. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +0 -12
  783. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +0 -12
  784. package/esm2015/lib/infra/firebase/firestore/repositories/users/index.js +0 -10
  785. package/esm2015/lib/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +0 -12
  786. package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +0 -14
  787. package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +0 -12
  788. package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +0 -14
  789. package/esm2015/lib/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +0 -14
  790. package/esm2015/lib/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +0 -14
  791. package/esm2015/lib/infra/firebase/firestore/repositories/users/user-firestore.repository.js +0 -70
  792. package/esm2015/lib/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +0 -14
  793. package/esm2015/lib/infra/firebase/firestore/repositories/users/user-search-firestore.repository.js +0 -12
  794. package/esm2015/lib/infra/firebase/firestore/types/firestore-sub.repository.type.js +0 -2
  795. package/esm2015/lib/infra/firebase/firestore/types/firestore.helpers.type.js +0 -2
  796. package/esm2015/lib/infra/firebase/firestore/types/firestore.repository.type.js +0 -2
  797. package/esm2015/lib/infra/firebase/firestore/types/index.js +0 -4
  798. package/esm2015/lib/infra/firebase/index.js +0 -3
  799. package/esm2015/lib/infra/index.js +0 -2
  800. package/esm2015/lib/utils/index.js +0 -5
  801. package/esm2015/lib/utils/mixins/base.mixin.js +0 -6
  802. package/esm2015/lib/utils/mixins/index.js +0 -3
  803. package/esm2015/lib/utils/mixins/mixin-ctor.type.js +0 -2
  804. package/esm2015/lib/utils/types/index.js +0 -2
  805. package/esm2015/lib/utils/types/prop.type.js +0 -2
  806. package/esm2015/public-api.js +0 -3
  807. package/lib/domain/catalog/index.d.ts +0 -2
  808. package/lib/domain/catalog/models/category.d.ts +0 -22
  809. package/lib/domain/catalog/models/enums/index.d.ts +0 -1
  810. package/lib/domain/catalog/models/enums/shops.enum.d.ts +0 -4
  811. package/lib/domain/catalog/models/index.d.ts +0 -5
  812. package/lib/domain/catalog/models/product.d.ts +0 -33
  813. package/lib/domain/catalog/models/types/category-condition.type.d.ts +0 -4
  814. package/lib/domain/catalog/models/types/category-filter.type.d.ts +0 -4
  815. package/lib/domain/catalog/models/types/index.d.ts +0 -7
  816. package/lib/domain/catalog/models/types/product-review.type.d.ts +0 -14
  817. package/lib/domain/catalog/models/types/shops-description.type.d.ts +0 -7
  818. package/lib/domain/catalog/models/types/shops-price.type.d.ts +0 -10
  819. package/lib/domain/catalog/models/types/stock.type.d.ts +0 -3
  820. package/lib/domain/catalog/models/types/variant-grade.type.d.ts +0 -4
  821. package/lib/domain/catalog/models/variant.d.ts +0 -14
  822. package/lib/domain/catalog/repositories/category.repository.d.ts +0 -12
  823. package/lib/domain/catalog/repositories/index.d.ts +0 -4
  824. package/lib/domain/catalog/repositories/product.repository.d.ts +0 -5
  825. package/lib/domain/catalog/repositories/subscription-product.repository.d.ts +0 -4
  826. package/lib/domain/catalog/repositories/variant.repository.d.ts +0 -4
  827. package/lib/domain/general/index.d.ts +0 -2
  828. package/lib/domain/general/model/base-model-with-identifier-fields.d.ts +0 -3
  829. package/lib/domain/general/model/base.model.d.ts +0 -6
  830. package/lib/domain/general/model/identifier-fields.d.ts +0 -4
  831. package/lib/domain/general/model/index.d.ts +0 -4
  832. package/lib/domain/general/model/types/base-model-builder.type.d.ts +0 -5
  833. package/lib/domain/general/model/types/index.d.ts +0 -3
  834. package/lib/domain/general/model/types/non-function-properties.type.d.ts +0 -2
  835. package/lib/domain/general/model/types/non-function-property-name.type.d.ts +0 -3
  836. package/lib/domain/general/repository/create.repository.d.ts +0 -5
  837. package/lib/domain/general/repository/crud.repository.d.ts +0 -7
  838. package/lib/domain/general/repository/delete.repository.d.ts +0 -5
  839. package/lib/domain/general/repository/enums/index.d.ts +0 -2
  840. package/lib/domain/general/repository/enums/update-option-actions.enum.d.ts +0 -7
  841. package/lib/domain/general/repository/enums/where.enum.d.ts +0 -10
  842. package/lib/domain/general/repository/find.repository.d.ts +0 -5
  843. package/lib/domain/general/repository/get.repository.d.ts +0 -5
  844. package/lib/domain/general/repository/index.d.ts +0 -9
  845. package/lib/domain/general/repository/read.repository.d.ts +0 -5
  846. package/lib/domain/general/repository/types/index.d.ts +0 -5
  847. package/lib/domain/general/repository/types/repository-find-filters.type.d.ts +0 -14
  848. package/lib/domain/general/repository/types/repository-find-result.type.d.ts +0 -4
  849. package/lib/domain/general/repository/types/repository-limit-options.type.d.ts +0 -4
  850. package/lib/domain/general/repository/types/repository-order-by-list.type.d.ts +0 -5
  851. package/lib/domain/general/repository/types/repository-update-params.type.d.ts +0 -11
  852. package/lib/domain/general/repository/update.repository.d.ts +0 -5
  853. package/lib/domain/index.d.ts +0 -6
  854. package/lib/domain/location/index.d.ts +0 -1
  855. package/lib/domain/location/models/address.d.ts +0 -21
  856. package/lib/domain/location/models/index.d.ts +0 -2
  857. package/lib/domain/location/models/types/index.d.ts +0 -3
  858. package/lib/domain/location/models/types/location-bound.type.d.ts +0 -6
  859. package/lib/domain/location/models/types/location-geometry.type.d.ts +0 -7
  860. package/lib/domain/location/models/types/location-lat-lng.type.d.ts +0 -4
  861. package/lib/domain/shop-settings/enums/filter-type.enum.d.ts +0 -19
  862. package/lib/domain/shop-settings/enums/index.d.ts +0 -2
  863. package/lib/domain/shop-settings/enums/questions-filters.enum.d.ts +0 -19
  864. package/lib/domain/shop-settings/helpers/beauty-questions.helper.d.ts +0 -9
  865. package/lib/domain/shop-settings/helpers/index.d.ts +0 -1
  866. package/lib/domain/shop-settings/index.d.ts +0 -4
  867. package/lib/domain/shop-settings/models/home.d.ts +0 -17
  868. package/lib/domain/shop-settings/models/index.d.ts +0 -3
  869. package/lib/domain/shop-settings/models/shop-menu.d.ts +0 -7
  870. package/lib/domain/shop-settings/models/types/banner.type.d.ts +0 -6
  871. package/lib/domain/shop-settings/models/types/benefit.type.d.ts +0 -5
  872. package/lib/domain/shop-settings/models/types/index.d.ts +0 -4
  873. package/lib/domain/shop-settings/models/types/menu-nav.type.d.ts +0 -8
  874. package/lib/domain/shop-settings/models/types/sub-menu.type.d.ts +0 -8
  875. package/lib/domain/shop-settings/repositories/home.repository.d.ts +0 -4
  876. package/lib/domain/shop-settings/repositories/index.d.ts +0 -2
  877. package/lib/domain/shop-settings/repositories/shop-menu.repository.d.ts +0 -4
  878. package/lib/domain/shopping/index.d.ts +0 -2
  879. package/lib/domain/shopping/models/buy-2-win.d.ts +0 -18
  880. package/lib/domain/shopping/models/checkout.d.ts +0 -28
  881. package/lib/domain/shopping/models/coupons/club-coupon.d.ts +0 -7
  882. package/lib/domain/shopping/models/coupons/coupon.d.ts +0 -28
  883. package/lib/domain/shopping/models/coupons/enums/discount-type.enum.d.ts +0 -5
  884. package/lib/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +0 -5
  885. package/lib/domain/shopping/models/coupons/enums/index.d.ts +0 -2
  886. package/lib/domain/shopping/models/coupons/index.d.ts +0 -4
  887. package/lib/domain/shopping/models/coupons/store-coupon.d.ts +0 -8
  888. package/lib/domain/shopping/models/enums/checkout-types.enum.d.ts +0 -4
  889. package/lib/domain/shopping/models/enums/index.d.ts +0 -2
  890. package/lib/domain/shopping/models/enums/order-status.enum.d.ts +0 -10
  891. package/lib/domain/shopping/models/index.d.ts +0 -11
  892. package/lib/domain/shopping/models/line-item.d.ts +0 -8
  893. package/lib/domain/shopping/models/order.d.ts +0 -9
  894. package/lib/domain/shopping/models/payment.d.ts +0 -69
  895. package/lib/domain/shopping/models/shipping-method.d.ts +0 -18
  896. package/lib/domain/shopping/models/subscription/checkout.d.ts +0 -23
  897. package/lib/domain/shopping/models/subscription/index.d.ts +0 -2
  898. package/lib/domain/shopping/models/subscription/plan.d.ts +0 -12
  899. package/lib/domain/shopping/models/types/index.d.ts +0 -7
  900. package/lib/domain/shopping/models/types/payment-address.type.d.ts +0 -12
  901. package/lib/domain/shopping/models/types/payment-billing.type.d.ts +0 -7
  902. package/lib/domain/shopping/models/types/payment-card.type.d.ts +0 -14
  903. package/lib/domain/shopping/models/types/payment-customer.type.d.ts +0 -18
  904. package/lib/domain/shopping/models/types/payment-document.type.d.ts +0 -6
  905. package/lib/domain/shopping/models/types/payment-item.type.d.ts +0 -11
  906. package/lib/domain/shopping/models/types/payment-shipping.type.d.ts +0 -10
  907. package/lib/domain/shopping/repositories/buy-2-win.repository.d.ts +0 -4
  908. package/lib/domain/shopping/repositories/checkout.repository.d.ts +0 -4
  909. package/lib/domain/shopping/repositories/coupon.repository.d.ts +0 -4
  910. package/lib/domain/shopping/repositories/index.d.ts +0 -7
  911. package/lib/domain/shopping/repositories/legacy-order.repository.d.ts +0 -3
  912. package/lib/domain/shopping/repositories/order.repository.d.ts +0 -4
  913. package/lib/domain/shopping/repositories/payment.repository.d.ts +0 -4
  914. package/lib/domain/shopping/repositories/subscription/checkout.repository.d.ts +0 -4
  915. package/lib/domain/shopping/repositories/subscription/index.d.ts +0 -2
  916. package/lib/domain/shopping/repositories/subscription/plan.repository.d.ts +0 -4
  917. package/lib/domain/users/errors/index.d.ts +0 -3
  918. package/lib/domain/users/errors/unauthorized.error.d.ts +0 -4
  919. package/lib/domain/users/errors/user-already-registered.error.d.ts +0 -4
  920. package/lib/domain/users/errors/weak-password.error.d.ts +0 -4
  921. package/lib/domain/users/index.d.ts +0 -5
  922. package/lib/domain/users/models/beauty-profile.d.ts +0 -12
  923. package/lib/domain/users/models/enums/accessory-importances.enum.d.ts +0 -5
  924. package/lib/domain/users/models/enums/area.enum.d.ts +0 -11
  925. package/lib/domain/users/models/enums/beard-problems.enum.d.ts +0 -9
  926. package/lib/domain/users/models/enums/beard-sizes.enum.d.ts +0 -7
  927. package/lib/domain/users/models/enums/beauty-product-importances.enum.d.ts +0 -6
  928. package/lib/domain/users/models/enums/body-problems.enum.d.ts +0 -11
  929. package/lib/domain/users/models/enums/body-shapes.enum.d.ts +0 -7
  930. package/lib/domain/users/models/enums/body-tattoos.enum.d.ts +0 -5
  931. package/lib/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +0 -7
  932. package/lib/domain/users/models/enums/face-skin-problems.enum.d.ts +0 -10
  933. package/lib/domain/users/models/enums/face-skin-tones.enum.d.ts +0 -8
  934. package/lib/domain/users/models/enums/family-incomes.enum.d.ts +0 -8
  935. package/lib/domain/users/models/enums/fragrance-importances.enum.d.ts +0 -5
  936. package/lib/domain/users/models/enums/hair-colors.enum.d.ts +0 -10
  937. package/lib/domain/users/models/enums/hair-problems.enum.d.ts +0 -10
  938. package/lib/domain/users/models/enums/hair-strands.enum.d.ts +0 -8
  939. package/lib/domain/users/models/enums/hair-types.enum.d.ts +0 -7
  940. package/lib/domain/users/models/enums/index.d.ts +0 -20
  941. package/lib/domain/users/models/enums/office-position.enum.d.ts +0 -6
  942. package/lib/domain/users/models/enums/product-spents.enum.d.ts +0 -8
  943. package/lib/domain/users/models/enums/user-type.enum.d.ts +0 -8
  944. package/lib/domain/users/models/index.d.ts +0 -7
  945. package/lib/domain/users/models/lead.d.ts +0 -9
  946. package/lib/domain/users/models/subscription/edition.d.ts +0 -15
  947. package/lib/domain/users/models/subscription/enums/billing-status.enum.d.ts +0 -3
  948. package/lib/domain/users/models/subscription/enums/edition-status.enum.d.ts +0 -4
  949. package/lib/domain/users/models/subscription/enums/index.d.ts +0 -4
  950. package/lib/domain/users/models/subscription/enums/payment-type.enum.d.ts +0 -5
  951. package/lib/domain/users/models/subscription/enums/status.enum.d.ts +0 -4
  952. package/lib/domain/users/models/subscription/index.d.ts +0 -4
  953. package/lib/domain/users/models/subscription/payment.d.ts +0 -14
  954. package/lib/domain/users/models/subscription/subscription.d.ts +0 -30
  955. package/lib/domain/users/models/user-address.d.ts +0 -7
  956. package/lib/domain/users/models/user-payment-method.d.ts +0 -13
  957. package/lib/domain/users/models/user.d.ts +0 -24
  958. package/lib/domain/users/repositories/beauty-profile.repository.d.ts +0 -4
  959. package/lib/domain/users/repositories/edition.repository.d.ts +0 -4
  960. package/lib/domain/users/repositories/index.d.ts +0 -8
  961. package/lib/domain/users/repositories/lead.repository.d.ts +0 -4
  962. package/lib/domain/users/repositories/subscription-payment.repository.d.ts +0 -4
  963. package/lib/domain/users/repositories/subscription.repository.d.ts +0 -4
  964. package/lib/domain/users/repositories/user-address.repository.d.ts +0 -4
  965. package/lib/domain/users/repositories/user-payment-method.repository.d.ts +0 -4
  966. package/lib/domain/users/repositories/user.repository.d.ts +0 -6
  967. package/lib/domain/users/services/authentication.service.d.ts +0 -11
  968. package/lib/domain/users/services/index.d.ts +0 -3
  969. package/lib/domain/users/services/register.service.d.ts +0 -7
  970. package/lib/domain/users/services/types/basic-user-data.type.d.ts +0 -4
  971. package/lib/domain/users/services/types/index.d.ts +0 -1
  972. package/lib/domain/users/use-cases/authentication.d.ts +0 -21
  973. package/lib/domain/users/use-cases/index.d.ts +0 -3
  974. package/lib/domain/users/use-cases/register.d.ts +0 -13
  975. package/lib/domain/users/use-cases/signout.d.ts +0 -6
  976. package/lib/errors/duplicated-results.error.d.ts +0 -4
  977. package/lib/errors/index.d.ts +0 -4
  978. package/lib/errors/invalid-argument.error.d.ts +0 -4
  979. package/lib/errors/not-found.error.d.ts +0 -4
  980. package/lib/errors/required-argument.error.d.ts +0 -5
  981. package/lib/index.d.ts +0 -4
  982. package/lib/infra/firebase/auth/authentication-firebase-auth.service.d.ts +0 -11
  983. package/lib/infra/firebase/auth/index.d.ts +0 -2
  984. package/lib/infra/firebase/auth/register-firebase-auth.service.d.ts +0 -8
  985. package/lib/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +0 -3
  986. package/lib/infra/firebase/firestore/index.d.ts +0 -3
  987. package/lib/infra/firebase/firestore/mixins/index.d.ts +0 -9
  988. package/lib/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +0 -17
  989. package/lib/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +0 -29
  990. package/lib/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +0 -15
  991. package/lib/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +0 -20
  992. package/lib/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +0 -15
  993. package/lib/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +0 -15
  994. package/lib/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +0 -10
  995. package/lib/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +0 -14
  996. package/lib/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +0 -16
  997. package/lib/infra/firebase/firestore/models/user-search.d.ts +0 -9
  998. package/lib/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +0 -55
  999. package/lib/infra/firebase/firestore/repositories/catalog/index.d.ts +0 -4
  1000. package/lib/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +0 -50
  1001. package/lib/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +0 -60
  1002. package/lib/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +0 -49
  1003. package/lib/infra/firebase/firestore/repositories/index.d.ts +0 -4
  1004. package/lib/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +0 -49
  1005. package/lib/infra/firebase/firestore/repositories/shop-settings/index.d.ts +0 -2
  1006. package/lib/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +0 -49
  1007. package/lib/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +0 -49
  1008. package/lib/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +0 -49
  1009. package/lib/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +0 -49
  1010. package/lib/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +0 -53
  1011. package/lib/infra/firebase/firestore/repositories/shopping/index.d.ts +0 -8
  1012. package/lib/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +0 -7
  1013. package/lib/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +0 -49
  1014. package/lib/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +0 -49
  1015. package/lib/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +0 -49
  1016. package/lib/infra/firebase/firestore/repositories/users/index.d.ts +0 -9
  1017. package/lib/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +0 -49
  1018. package/lib/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +0 -60
  1019. package/lib/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +0 -49
  1020. package/lib/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +0 -60
  1021. package/lib/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +0 -60
  1022. package/lib/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +0 -60
  1023. package/lib/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +0 -60
  1024. package/lib/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +0 -60
  1025. package/lib/infra/firebase/firestore/repositories/users/user-search-firestore.repository.d.ts +0 -50
  1026. package/lib/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +0 -6
  1027. package/lib/infra/firebase/firestore/types/firestore.helpers.type.d.ts +0 -8
  1028. package/lib/infra/firebase/firestore/types/firestore.repository.type.d.ts +0 -8
  1029. package/lib/infra/firebase/firestore/types/index.d.ts +0 -3
  1030. package/lib/infra/firebase/index.d.ts +0 -2
  1031. package/lib/infra/index.d.ts +0 -1
  1032. package/lib/utils/index.d.ts +0 -4
  1033. package/lib/utils/mixins/base.mixin.d.ts +0 -3
  1034. package/lib/utils/mixins/index.d.ts +0 -2
  1035. package/lib/utils/mixins/mixin-ctor.type.d.ts +0 -1
  1036. package/lib/utils/types/index.d.ts +0 -1
  1037. package/lib/utils/types/prop.type.d.ts +0 -1
  1038. package/public-api.d.ts +0 -2
@@ -0,0 +1,5 @@
1
+ export * from './category-hasura-graphql';
2
+ export * from './kit-product-hasura-graphql';
3
+ export * from './product-hasura-graphql';
4
+ export * from './variant-hasura-graphql';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9pbmZyYS9oYXN1cmEtZ3JhcGhxbC9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywyQkFBMkIsQ0FBQTtBQUN6QyxjQUFjLDhCQUE4QixDQUFBO0FBQzVDLGNBQWMsMEJBQTBCLENBQUE7QUFDeEMsY0FBYywwQkFBMEIsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2F0ZWdvcnktaGFzdXJhLWdyYXBocWwnXHJcbmV4cG9ydCAqIGZyb20gJy4va2l0LXByb2R1Y3QtaGFzdXJhLWdyYXBocWwnXHJcbmV4cG9ydCAqIGZyb20gJy4vcHJvZHVjdC1oYXN1cmEtZ3JhcGhxbCdcclxuZXhwb3J0ICogZnJvbSAnLi92YXJpYW50LWhhc3VyYS1ncmFwaHFsJ1xyXG4iXX0=
@@ -0,0 +1,15 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { Type } from 'class-transformer';
3
+ import { KitProduct } from '../../../domain';
4
+ import { ProductHasuraGraphQL } from './product-hasura-graphql';
5
+ export class KitProductHasuraGraphQL extends KitProduct {
6
+ }
7
+ __decorate([
8
+ Type(() => ProductHasuraGraphQL),
9
+ __metadata("design:type", ProductHasuraGraphQL)
10
+ ], KitProductHasuraGraphQL.prototype, "kit", void 0);
11
+ __decorate([
12
+ Type(() => ProductHasuraGraphQL),
13
+ __metadata("design:type", ProductHasuraGraphQL)
14
+ ], KitProductHasuraGraphQL.prototype, "product", void 0);
15
+ //# sour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dWN0SGFzdXJhR3JhcGhRTClcclxuICBraXQ6IFByb2R1Y3RIYXN1cmFHcmFwaFFMXHJcblxyXG4gIEBUeXBlKCgpID0+IFByb2R1Y3RIYXN1cmFHcmFwaFFMKVxyXG4gIHByb2R1Y3Q6IFByb2R1Y3RIYXN1cmFHcmFwaFFMXHJcbn1cclxuIl19
@@ -0,0 +1,11 @@
1
+ import { __decorate, __metadata } from "tslib";
2
+ import { Type } from 'class-transformer';
3
+ import { Product } from '../../../domain';
4
+ import { KitProductHasuraGraphQL } from './kit-product-hasura-graphql';
5
+ export class ProductHasuraGraphQL extends Product {
6
+ }
7
+ __decorate([
8
+ Type(() => KitProductHasuraGraphQL),
9
+ __metadata("design:type", Array)
10
+ ], ProductHasuraGraphQL.prototype, "kitProducts", void 0);
11
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC1oYXN1cmEtZ3JhcGhxbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2luZnJhL2hhc3VyYS1ncmFwaHFsL21vZGVscy9wcm9kdWN0LWhhc3VyYS1ncmFwaHFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sbUJBQW1CLENBQUE7QUFFeEMsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBRXpDLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDhCQUE4QixDQUFBO0FBRXRFLE1BQU0sT0FBTyxvQkFBcUIsU0FBUSxPQUFPO0NBUWhEO0FBREM7SUFEQyxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMsdUJBQXVCLENBQUM7O3lEQUNHIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVHlwZSB9IGZyb20gJ2NsYXNzLXRyYW5zZm9ybWVyJ1xyXG5cclxuaW1wb3J0IHsgUHJvZHVjdCB9IGZyb20gJy4uLy4uLy4uL2RvbWFpbidcclxuXHJcbmltcG9ydCB7IEtpdFByb2R1Y3RIYXN1cmFHcmFwaFFMIH0gZnJvbSAnLi9raXQtcHJvZHVjdC1oYXN1cmEtZ3JhcGhxbCdcclxuXHJcbmV4cG9ydCBjbGFzcyBQcm9kdWN0SGFzdXJhR3JhcGhRTCBleHRlbmRzIFByb2R1Y3Qge1xyXG4gIGZpcmVzdG9yZUlkPzogc3RyaW5nXHJcbiAgZnVsbFByaWNlPzogbnVtYmVyXHJcbiAgc3Vic2NyaWJlckRpc2NvdW50UGVyY2VudGFnZT86IG51bWJlclxyXG4gIHN1YnNjcmliZXJQcmljZT86IG51bWJlclxyXG5cclxuICBAVHlwZSgoKSA9PiBLaXRQcm9kdWN0SGFzdXJhR3JhcGhRTClcclxuICBraXRQcm9kdWN0cz86IEtpdFByb2R1Y3RIYXN1cmFHcmFwaFFMW11cclxufVxyXG4iXX0=
@@ -0,0 +1,9 @@
1
+ import { Variant } from '../../../domain';
2
+ export class VariantHasuraGraphQL extends Variant {
3
+ constructor() {
4
+ super(...arguments);
5
+ this.name = '';
6
+ this.hasVariants = false;
7
+ }
8
+ }
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFyaWFudC1oYXN1cmEtZ3JhcGhxbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2luZnJhL2hhc3VyYS1ncmFwaHFsL21vZGVscy92YXJpYW50LWhhc3VyYS1ncmFwaHFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQTtBQUV6QyxNQUFNLE9BQU8sb0JBQXFCLFNBQVEsT0FBTztJQUFqRDs7UUFNRSxTQUFJLEdBQUssRUFBRSxDQUFBO1FBQ1gsZ0JBQVcsR0FBSyxLQUFLLENBQUE7SUFDdkIsQ0FBQztDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVmFyaWFudCB9IGZyb20gJy4uLy4uLy4uL2RvbWFpbidcclxuXHJcbmV4cG9ydCBjbGFzcyBWYXJpYW50SGFzdXJhR3JhcGhRTCBleHRlbmRzIFZhcmlhbnQge1xyXG4gIGZpcmVzdG9yZUlkPzogc3RyaW5nXHJcbiAgZnVsbFByaWNlPzogbnVtYmVyXHJcbiAgc3Vic2NyaWJlckRpc2NvdW50UGVyY2VudGFnZT86IG51bWJlclxyXG4gIHN1YnNjcmliZXJQcmljZT86IG51bWJlclxyXG5cclxuICBuYW1lID8gPSAnJ1xyXG4gIGhhc1ZhcmlhbnRzID8gPSBmYWxzZVxyXG59XHJcbiJdfQ==
@@ -0,0 +1,135 @@
1
+ import { __awaiter } from "tslib";
2
+ import { Category, Shops, Where } from '../../../../domain';
3
+ import { DuplicatedResultsError, NotFoundError, RequiredArgumentError } from '../../../../errors';
4
+ import { Base } from '../../../../utils';
5
+ import { HasuraGraphQLColumnType } from '../../enums';
6
+ import { withCrudHasuraGraphQL, withHasuraGraphQL } from '../../mixins';
7
+ export class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGraphQL(Base)) {
8
+ constructor(endpoint, authOptions, productRepository) {
9
+ super({
10
+ tableName: 'category',
11
+ model: Category,
12
+ endpoint,
13
+ authOptions,
14
+ fields: [
15
+ { id: { columnName: 'id', to: (value) => +value, from: (value) => value.toString() } },
16
+ { firestoreId: { columnName: 'firestore_id' } },
17
+ 'name',
18
+ 'description',
19
+ 'image',
20
+ 'published',
21
+ 'shop',
22
+ 'slug',
23
+ { brandCategory: { columnName: 'brand_category' } },
24
+ { brandCategoryBanner: { columnName: 'brand_banner' } },
25
+ { brandCategoryBannerMobile: { columnName: 'brand_banner_mobile' } },
26
+ { brandLogo: { columnName: 'brand_logo' } },
27
+ { brandCondition: { columnName: 'brand_condition' } },
28
+ {
29
+ conditions: {
30
+ columnName: 'tag_condition',
31
+ type: HasuraGraphQLColumnType.Jsonb,
32
+ from: (tags, row) => ({ brand: row.brand_condition, tags: Array.isArray(tags) ? tags : [] }),
33
+ bindPersistData: (value) => {
34
+ var _a, _b;
35
+ return {
36
+ brand_condition: value.brand,
37
+ tag_condition: `{"${((_b = (_a = value === null || value === void 0 ? void 0 : value.tags) === null || _a === void 0 ? void 0 : _a.join) === null || _b === void 0 ? void 0 : _b.call(_a, '","')) || ''}"}`,
38
+ };
39
+ },
40
+ bindFindFilter: (sentence) => {
41
+ return Object.assign(Object.assign({}, (sentence.brand ? { brand_condition: sentence.brand } : {})), (sentence.tags ? { tag_condition: sentence.tags } : {}));
42
+ },
43
+ },
44
+ },
45
+ 'filters',
46
+ { createdAt: { columnName: 'created_at' } },
47
+ { updatedAt: { columnName: 'updated_at' } },
48
+ {
49
+ products: {
50
+ columnName: 'products',
51
+ fields: ['product_id'],
52
+ from: (value) => value.map((product) => product.product_id.toString()),
53
+ to: (productIds) => productIds.map((productId) => ({
54
+ product_id: +productId,
55
+ })),
56
+ },
57
+ },
58
+ ],
59
+ });
60
+ this.productRepository = productRepository;
61
+ }
62
+ get(identifiers) {
63
+ const _super = Object.create(null, {
64
+ get: { get: () => super.get }
65
+ });
66
+ var _a;
67
+ return __awaiter(this, void 0, void 0, function* () {
68
+ return Number.isNaN(+identifiers.id)
69
+ ? (_a = (yield this.find({ filters: { firestoreId: identifiers.id } })).data) === null || _a === void 0 ? void 0 : _a[0]
70
+ : _super.get.call(this, identifiers);
71
+ });
72
+ }
73
+ getCategoryBySlug(slug, shop) {
74
+ return __awaiter(this, void 0, void 0, function* () {
75
+ if (!slug)
76
+ return;
77
+ const { data, count } = yield this.find({ filters: { slug, shop, published: true } });
78
+ if (count > 1)
79
+ throw new DuplicatedResultsError('Query returned duplicated values');
80
+ if (!count)
81
+ throw new NotFoundError(`Category with slug ${slug} not found`);
82
+ return data.shift();
83
+ });
84
+ }
85
+ getCategoriesForHome(categoryIds, limit = 4) {
86
+ return __awaiter(this, void 0, void 0, function* () {
87
+ const { data: categories, count } = yield this.find({
88
+ filters: { firestoreId: { operator: Where.IN, value: categoryIds.filter(Boolean) }, published: true },
89
+ });
90
+ if (!count)
91
+ throw new NotFoundError('Categories not found');
92
+ const homeSections = yield Promise.all(categories.map((category) => __awaiter(this, void 0, void 0, function* () {
93
+ return ({
94
+ category,
95
+ products: yield this.mountCategory(category, { limit, hasStock: true }),
96
+ });
97
+ })));
98
+ return homeSections;
99
+ });
100
+ }
101
+ mountCategory(category, options) {
102
+ return __awaiter(this, void 0, void 0, function* () {
103
+ if (!category.products)
104
+ throw new RequiredArgumentError(['Category products is empty']);
105
+ const products = [];
106
+ const publishedField = category.shop === Shops.GLAMSHOP ? 'publishedGlam' : 'published';
107
+ const { data: productsData } = yield this.productRepository.find(Object.assign({ filters: Object.assign({ id: { operator: Where.IN, value: category.products }, [publishedField]: true }, ((options === null || options === void 0 ? void 0 : options.hasStock) ? { stock: { quantity: { operator: Where.GT, value: 0 } } } : {})), fields: [
108
+ 'id',
109
+ 'name',
110
+ 'slug',
111
+ 'images',
112
+ 'miniatures',
113
+ 'price',
114
+ 'fullPrice',
115
+ 'subscriberDiscountPercentage',
116
+ 'subscriberPrice',
117
+ 'stock',
118
+ 'published',
119
+ 'publishedGlam',
120
+ 'CEST',
121
+ 'EAN',
122
+ 'NCM',
123
+ 'brand',
124
+ 'costPrice',
125
+ 'hasVariants',
126
+ 'isKit',
127
+ 'shopAvailability',
128
+ 'sku',
129
+ ] }, ((options === null || options === void 0 ? void 0 : options.limit) ? { limits: { limit: options === null || options === void 0 ? void 0 : options.limit } } : {})));
130
+ products.push(...productsData);
131
+ return products;
132
+ });
133
+ }
134
+ }
135
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW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ICAgICAgICAgICAgdGFnX2NvbmRpdGlvbjogYHtcIiR7dmFsdWU/LnRhZ3M/LmpvaW4/LignXCIsXCInKSB8fCAnJ31cIn1gLFxyXG4gICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfSxcclxuICAgICAgICAgICAgYmluZEZpbmRGaWx0ZXI6IChzZW50ZW5jZTogYW55KSA9PiB7XHJcbiAgICAgICAgICAgICAgcmV0dXJuIHtcclxuICAgICAgICAgICAgICAgIC4uLihzZW50ZW5jZS5icmFuZCA/IHsgYnJhbmRfY29uZGl0aW9uOiBzZW50ZW5jZS5icmFuZCB9IDoge30pLFxyXG4gICAgICAgICAgICAgICAgLi4uKHNlbnRlbmNlLnRhZ3MgPyB7IHRhZ19jb25kaXRpb246IHNlbnRlbmNlLnRhZ3MgfSA6IHt9KSxcclxuICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICB9LFxyXG4gICAgICAgIH0sXHJcbiAgICAgICAgJ2ZpbHRlcnMnLFxyXG4gICAgICAgIHsgY3JlYXRlZEF0OiB7IGNvbHVtbk5hbWU6ICdjcmVhdGVkX2F0JyB9IH0sXHJcbiAgICAgICAgeyB1cGRhdGVkQXQ6IHsgY29sdW1uTmFtZTogJ3VwZGF0ZWRfYXQnIH0gfSxcclxuICAgICAgICB7XHJcbiAgICAgICAgICBwcm9kdWN0czoge1xyXG4gICAgICAgICAgICBjb2x1bW5OYW1lOiAncHJvZHVjdHMnLFxyXG4gICAgICAgICAgICBmaWVsZHM6IFsncHJvZHVjdF9pZCddLFxyXG4gICAgICAgICAgICBmcm9tOiAodmFsdWU6IHsgcHJvZHVjdF9pZDogbnVtYmVyIH1bXSkgPT4gdmFsdWUubWFwKChwcm9kdWN0KSA9PiBwcm9kdWN0LnByb2R1Y3RfaWQudG9TdHJpbmcoKSksXHJcbiAgICAgICAgICAgIHRvOiAocHJvZHVjdElkcykgPT5cclxuICAgICAgICAgICAgICBwcm9kdWN0SWRzLm1hc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gICAgICdFQU4nLFxyXG4gICAgICAgICdOQ00nLFxyXG4gICAgICAgICdicmFuZCcsXHJcbiAgICAgICAgJ2Nvc3RQcmljZScsXHJcbiAgICAgICAgJ2hhc1ZhcmlhbnRzJyxcclxuICAgICAgICAnaXNLaXQnLFxyXG4gICAgICAgICdzaG9wQXZhaWxhYmlsaXR5JyxcclxuICAgICAgICAnc2t1JyxcclxuICAgICAgXSxcclxuICAgICAgLi4uKG9wdGlvbnM/LmxpbWl0ID8geyBsaW1pdHM6IHsgbGltaXQ6IG9wdGlvbnM/LmxpbWl0IH0gfSA6IHt9KSxcclxuICAgIH0pXHJcblxyXG4gICAgcHJvZHVjdHMucHVzaCguLi5wcm9kdWN0c0RhdGEpXHJcblxyXG4gICAgcmV0dXJuIHByb2R1Y3RzXHJcbiAgfVxyXG59XHJcbiJdfQ==
@@ -0,0 +1,4 @@
1
+ export * from './category-hasura-graphql.repository';
2
+ export * from './product-hasura-graphql.repository';
3
+ export * from './variant-hasura-graphql.repository';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9pbmZyYS9oYXN1cmEtZ3JhcGhxbC9yZXBvc2l0b3JpZXMvY2F0YWxvZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHNDQUFzQyxDQUFBO0FBQ3BELGNBQWMscUNBQXFDLENBQUE7QUFDbkQsY0FBYyxxQ0FBcUMsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2F0ZWdvcnktaGFzdXJhLWdyYXBocWwucmVwb3NpdG9yeSdcclxuZXhwb3J0ICogZnJvbSAnLi9wcm9kdWN0LWhhc3VyYS1ncmFwaHFsLnJlcG9zaXRvcnknXHJcbmV4cG9ydCAqIGZyb20gJy4vdmFyaWFudC1oYXN1cmEtZ3JhcGhxbC5yZXBvc2l0b3J5J1xyXG4iXX0=