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

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 (928) hide show
  1. package/bundles/infrab4a-connect.umd.js +278 -2234
  2. package/bundles/infrab4a-connect.umd.js.map +1 -1
  3. package/esm2015/infrab4a-connect.js +2 -2
  4. package/esm2015/lib/domain/catalog/index.js +3 -0
  5. package/esm2015/lib/domain/catalog/models/category.js +7 -0
  6. package/esm2015/lib/domain/catalog/models/enums/index.js +2 -0
  7. package/esm2015/lib/domain/catalog/models/enums/shops.enum.js +6 -0
  8. package/esm2015/lib/domain/catalog/models/index.js +6 -0
  9. package/esm2015/lib/domain/catalog/models/product.js +11 -0
  10. package/esm2015/lib/domain/catalog/models/types/category-condition.type.js +2 -0
  11. package/esm2015/lib/domain/catalog/models/types/category-filter.type.js +2 -0
  12. package/esm2015/lib/domain/catalog/models/types/index.js +8 -0
  13. package/esm2015/lib/domain/catalog/models/types/product-review.type.js +2 -0
  14. package/esm2015/lib/domain/catalog/models/types/shops-description.type.js +2 -0
  15. package/esm2015/lib/domain/catalog/models/types/shops-price.type.js +2 -0
  16. package/esm2015/lib/domain/catalog/models/types/stock.type.js +2 -0
  17. package/esm2015/lib/domain/catalog/models/types/variant-grade.type.js +2 -0
  18. package/esm2015/lib/domain/catalog/models/variant.js +7 -0
  19. package/esm2015/lib/domain/catalog/repositories/category.repository.js +2 -0
  20. package/esm2015/lib/domain/catalog/repositories/index.js +5 -0
  21. package/esm2015/lib/domain/catalog/repositories/product.repository.js +2 -0
  22. package/esm2015/lib/domain/catalog/repositories/subscription-product.repository.js +2 -0
  23. package/esm2015/lib/domain/catalog/repositories/variant.repository.js +2 -0
  24. package/esm2015/lib/domain/general/index.js +3 -0
  25. package/esm2015/lib/domain/general/model/base-model-with-identifier-fields.js +2 -0
  26. package/esm2015/lib/domain/general/model/base.model.js +13 -0
  27. package/esm2015/lib/domain/general/model/identifier-fields.js +2 -0
  28. package/esm2015/lib/domain/general/model/index.js +5 -0
  29. package/esm2015/lib/domain/general/model/types/base-model-builder.type.js +2 -0
  30. package/esm2015/lib/domain/general/model/types/index.js +4 -0
  31. package/esm2015/lib/domain/general/model/types/non-function-properties.type.js +2 -0
  32. package/esm2015/lib/domain/general/model/types/non-function-property-name.type.js +2 -0
  33. package/esm2015/lib/domain/general/repository/create.repository.js +2 -0
  34. package/esm2015/lib/domain/general/repository/crud.repository.js +2 -0
  35. package/esm2015/lib/domain/general/repository/delete.repository.js +2 -0
  36. package/esm2015/lib/domain/general/repository/enums/index.js +3 -0
  37. package/esm2015/lib/domain/general/repository/enums/update-option-actions.enum.js +9 -0
  38. package/esm2015/lib/domain/general/repository/enums/where.enum.js +12 -0
  39. package/esm2015/lib/domain/general/repository/find.repository.js +2 -0
  40. package/esm2015/lib/domain/general/repository/get.repository.js +2 -0
  41. package/esm2015/lib/domain/general/repository/index.js +10 -0
  42. package/esm2015/lib/domain/general/repository/read.repository.js +2 -0
  43. package/esm2015/lib/domain/general/repository/types/index.js +6 -0
  44. package/esm2015/lib/domain/general/repository/types/repository-find-filters.type.js +2 -0
  45. package/esm2015/lib/domain/general/repository/types/repository-find-result.type.js +2 -0
  46. package/esm2015/lib/domain/general/repository/types/repository-limit-options.type.js +2 -0
  47. package/esm2015/lib/domain/general/repository/types/repository-order-by-list.type.js +2 -0
  48. package/esm2015/lib/domain/general/repository/types/repository-update-params.type.js +2 -0
  49. package/esm2015/lib/domain/general/repository/update.repository.js +2 -0
  50. package/esm2015/lib/domain/index.js +7 -0
  51. package/esm2015/lib/domain/location/index.js +2 -0
  52. package/esm2015/lib/domain/location/models/address.js +4 -0
  53. package/esm2015/lib/domain/location/models/index.js +3 -0
  54. package/esm2015/lib/domain/location/models/types/index.js +4 -0
  55. package/esm2015/lib/domain/location/models/types/location-bound.type.js +2 -0
  56. package/esm2015/lib/domain/location/models/types/location-geometry.type.js +2 -0
  57. package/esm2015/lib/domain/location/models/types/location-lat-lng.type.js +2 -0
  58. package/esm2015/lib/domain/shop-settings/enums/filter-type.enum.js +21 -0
  59. package/esm2015/lib/domain/shop-settings/enums/index.js +3 -0
  60. package/esm2015/lib/domain/shop-settings/enums/questions-filters.enum.js +21 -0
  61. package/esm2015/lib/domain/shop-settings/helpers/beauty-questions.helper.js +46 -0
  62. package/esm2015/lib/domain/shop-settings/helpers/index.js +2 -0
  63. package/esm2015/lib/domain/shop-settings/index.js +5 -0
  64. package/esm2015/lib/domain/shop-settings/models/home.js +7 -0
  65. package/esm2015/lib/domain/shop-settings/models/index.js +4 -0
  66. package/esm2015/lib/domain/shop-settings/models/shop-menu.js +7 -0
  67. package/esm2015/lib/domain/shop-settings/models/types/banner.type.js +2 -0
  68. package/esm2015/lib/domain/shop-settings/models/types/benefit.type.js +2 -0
  69. package/esm2015/lib/domain/shop-settings/models/types/index.js +5 -0
  70. package/esm2015/lib/domain/shop-settings/models/types/menu-nav.type.js +2 -0
  71. package/esm2015/lib/domain/shop-settings/models/types/sub-menu.type.js +2 -0
  72. package/esm2015/lib/domain/shop-settings/repositories/home.repository.js +2 -0
  73. package/esm2015/lib/domain/shop-settings/repositories/index.js +3 -0
  74. package/esm2015/lib/domain/shop-settings/repositories/shop-menu.repository.js +2 -0
  75. package/esm2015/lib/domain/shopping/index.js +3 -0
  76. package/esm2015/lib/domain/shopping/models/buy-2-win.js +14 -0
  77. package/esm2015/lib/domain/shopping/models/checkout.js +46 -0
  78. package/esm2015/lib/domain/shopping/models/coupons/club-coupon.js +18 -0
  79. package/esm2015/lib/domain/shopping/models/coupons/coupon.js +31 -0
  80. package/esm2015/lib/domain/shopping/models/coupons/enums/discount-type.enum.js +7 -0
  81. package/esm2015/lib/domain/shopping/models/coupons/enums/exclusivities.enum.js +7 -0
  82. package/esm2015/lib/domain/shopping/models/coupons/enums/index.js +3 -0
  83. package/esm2015/lib/domain/shopping/models/coupons/index.js +5 -0
  84. package/esm2015/lib/domain/shopping/models/coupons/store-coupon.js +23 -0
  85. package/esm2015/lib/domain/shopping/models/enums/checkout-types.enum.js +6 -0
  86. package/esm2015/lib/domain/shopping/models/enums/index.js +3 -0
  87. package/esm2015/lib/domain/shopping/models/enums/order-status.enum.js +12 -0
  88. package/esm2015/lib/domain/shopping/models/index.js +12 -0
  89. package/esm2015/lib/domain/shopping/models/line-item.js +4 -0
  90. package/esm2015/lib/domain/shopping/models/order.js +11 -0
  91. package/esm2015/lib/domain/shopping/models/payment.js +169 -0
  92. package/esm2015/lib/domain/shopping/models/shipping-method.js +7 -0
  93. package/esm2015/lib/domain/shopping/models/subscription/checkout.js +28 -0
  94. package/esm2015/lib/domain/shopping/models/subscription/index.js +3 -0
  95. package/esm2015/lib/domain/shopping/models/subscription/plan.js +7 -0
  96. package/esm2015/lib/domain/shopping/models/types/index.js +8 -0
  97. package/esm2015/lib/domain/shopping/models/types/payment-address.type.js +2 -0
  98. package/esm2015/lib/domain/shopping/models/types/payment-billing.type.js +2 -0
  99. package/esm2015/lib/domain/shopping/models/types/payment-card.type.js +2 -0
  100. package/esm2015/lib/domain/shopping/models/types/payment-customer.type.js +2 -0
  101. package/esm2015/lib/domain/shopping/models/types/payment-document.type.js +2 -0
  102. package/esm2015/lib/domain/shopping/models/types/payment-item.type.js +2 -0
  103. package/esm2015/lib/domain/shopping/models/types/payment-shipping.type.js +2 -0
  104. package/esm2015/lib/domain/shopping/repositories/buy-2-win.repository.js +2 -0
  105. package/esm2015/lib/domain/shopping/repositories/checkout.repository.js +2 -0
  106. package/esm2015/lib/domain/shopping/repositories/coupon.repository.js +2 -0
  107. package/esm2015/lib/domain/shopping/repositories/index.js +8 -0
  108. package/esm2015/lib/domain/shopping/repositories/legacy-order.repository.js +2 -0
  109. package/esm2015/lib/domain/shopping/repositories/order.repository.js +2 -0
  110. package/esm2015/lib/domain/shopping/repositories/payment.repository.js +2 -0
  111. package/esm2015/lib/domain/shopping/repositories/subscription/checkout.repository.js +2 -0
  112. package/esm2015/lib/domain/shopping/repositories/subscription/index.js +3 -0
  113. package/esm2015/lib/domain/shopping/repositories/subscription/plan.repository.js +2 -0
  114. package/esm2015/lib/domain/users/errors/index.js +4 -0
  115. package/esm2015/lib/domain/users/errors/unauthorized.error.js +7 -0
  116. package/esm2015/lib/domain/users/errors/user-already-registered.error.js +7 -0
  117. package/esm2015/lib/domain/users/errors/weak-password.error.js +7 -0
  118. package/esm2015/lib/domain/users/index.js +6 -0
  119. package/esm2015/lib/domain/users/models/beauty-profile.js +12 -0
  120. package/esm2015/lib/domain/users/models/enums/accessory-importances.enum.js +7 -0
  121. package/esm2015/lib/domain/users/models/enums/area.enum.js +13 -0
  122. package/esm2015/lib/domain/users/models/enums/beard-problems.enum.js +11 -0
  123. package/esm2015/lib/domain/users/models/enums/beard-sizes.enum.js +9 -0
  124. package/esm2015/lib/domain/users/models/enums/beauty-product-importances.enum.js +8 -0
  125. package/esm2015/lib/domain/users/models/enums/body-problems.enum.js +13 -0
  126. package/esm2015/lib/domain/users/models/enums/body-shapes.enum.js +9 -0
  127. package/esm2015/lib/domain/users/models/enums/body-tattoos.enum.js +7 -0
  128. package/esm2015/lib/domain/users/models/enums/face-skin-oilinesses.enum.js +9 -0
  129. package/esm2015/lib/domain/users/models/enums/face-skin-problems.enum.js +12 -0
  130. package/esm2015/lib/domain/users/models/enums/face-skin-tones.enum.js +10 -0
  131. package/esm2015/lib/domain/users/models/enums/family-incomes.enum.js +10 -0
  132. package/esm2015/lib/domain/users/models/enums/fragrance-importances.enum.js +7 -0
  133. package/esm2015/lib/domain/users/models/enums/hair-colors.enum.js +12 -0
  134. package/esm2015/lib/domain/users/models/enums/hair-problems.enum.js +12 -0
  135. package/esm2015/lib/domain/users/models/enums/hair-strands.enum.js +10 -0
  136. package/esm2015/lib/domain/users/models/enums/hair-types.enum.js +9 -0
  137. package/esm2015/lib/domain/users/models/enums/index.js +21 -0
  138. package/esm2015/lib/domain/users/models/enums/office-position.enum.js +8 -0
  139. package/esm2015/lib/domain/users/models/enums/product-spents.enum.js +10 -0
  140. package/esm2015/lib/domain/users/models/enums/user-type.enum.js +10 -0
  141. package/esm2015/lib/domain/users/models/index.js +8 -0
  142. package/esm2015/lib/domain/users/models/lead.js +7 -0
  143. package/esm2015/lib/domain/users/models/subscription/edition.js +7 -0
  144. package/esm2015/lib/domain/users/models/subscription/enums/billing-status.enum.js +5 -0
  145. package/esm2015/lib/domain/users/models/subscription/enums/edition-status.enum.js +6 -0
  146. package/esm2015/lib/domain/users/models/subscription/enums/index.js +5 -0
  147. package/esm2015/lib/domain/users/models/subscription/enums/payment-type.enum.js +7 -0
  148. package/esm2015/lib/domain/users/models/subscription/enums/status.enum.js +6 -0
  149. package/esm2015/lib/domain/users/models/subscription/index.js +5 -0
  150. package/esm2015/lib/domain/users/models/subscription/payment.js +14 -0
  151. package/esm2015/lib/domain/users/models/subscription/subscription.js +43 -0
  152. package/esm2015/lib/domain/users/models/user-address.js +7 -0
  153. package/esm2015/lib/domain/users/models/user-payment-method.js +7 -0
  154. package/esm2015/lib/domain/users/models/user.js +26 -0
  155. package/esm2015/lib/domain/users/repositories/beauty-profile.repository.js +2 -0
  156. package/esm2015/lib/domain/users/repositories/edition.repository.js +2 -0
  157. package/esm2015/lib/domain/users/repositories/index.js +9 -0
  158. package/esm2015/lib/domain/users/repositories/lead.repository.js +2 -0
  159. package/esm2015/lib/domain/users/repositories/subscription-payment.repository.js +2 -0
  160. package/esm2015/lib/domain/users/repositories/subscription.repository.js +2 -0
  161. package/esm2015/lib/domain/users/repositories/user-address.repository.js +2 -0
  162. package/esm2015/lib/domain/users/repositories/user-payment-method.repository.js +2 -0
  163. package/esm2015/lib/domain/users/repositories/user.repository.js +2 -0
  164. package/esm2015/lib/domain/users/services/authentication.service.js +2 -0
  165. package/esm2015/lib/domain/users/services/index.js +4 -0
  166. package/esm2015/lib/domain/users/services/register.service.js +2 -0
  167. package/esm2015/lib/domain/users/services/types/basic-user-data.type.js +2 -0
  168. package/esm2015/lib/domain/users/services/types/index.js +2 -0
  169. package/esm2015/lib/domain/users/use-cases/authentication.js +40 -0
  170. package/esm2015/lib/domain/users/use-cases/index.js +4 -0
  171. package/esm2015/lib/domain/users/use-cases/register.js +34 -0
  172. package/esm2015/lib/domain/users/use-cases/signout.js +12 -0
  173. package/esm2015/lib/errors/duplicated-results.error.js +7 -0
  174. package/esm2015/lib/errors/index.js +5 -0
  175. package/esm2015/lib/errors/invalid-argument.error.js +7 -0
  176. package/esm2015/lib/errors/not-found.error.js +7 -0
  177. package/esm2015/lib/errors/required-argument.error.js +8 -0
  178. package/esm2015/lib/index.js +5 -0
  179. package/esm2015/lib/infra/firebase/auth/authentication-firebase-auth.service.js +47 -0
  180. package/esm2015/lib/infra/firebase/auth/index.js +3 -0
  181. package/esm2015/lib/infra/firebase/auth/register-firebase-auth.service.js +26 -0
  182. package/esm2015/lib/infra/firebase/auth/types/firebase-user-with-id.type.js +2 -0
  183. package/esm2015/lib/infra/firebase/firestore/index.js +4 -0
  184. package/esm2015/lib/infra/firebase/firestore/mixins/index.js +10 -0
  185. package/esm2015/lib/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +31 -0
  186. package/esm2015/lib/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +10 -0
  187. package/esm2015/lib/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +18 -0
  188. package/esm2015/lib/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +76 -0
  189. package/esm2015/lib/infra/firebase/firestore/mixins/with-firestore.mixin.js +26 -0
  190. package/esm2015/lib/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +24 -0
  191. package/esm2015/lib/infra/firebase/firestore/mixins/with-helpers.mixin.js +17 -0
  192. package/esm2015/lib/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +11 -0
  193. package/esm2015/lib/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +45 -0
  194. package/esm2015/lib/infra/firebase/firestore/models/user-search.js +7 -0
  195. package/esm2015/lib/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +78 -0
  196. package/esm2015/lib/infra/firebase/firestore/repositories/catalog/index.js +5 -0
  197. package/esm2015/lib/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +23 -0
  198. package/esm2015/lib/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +14 -0
  199. package/esm2015/lib/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +12 -0
  200. package/esm2015/lib/infra/firebase/firestore/repositories/index.js +5 -0
  201. package/esm2015/lib/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +12 -0
  202. package/esm2015/lib/infra/firebase/firestore/repositories/shop-settings/index.js +3 -0
  203. package/esm2015/lib/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +12 -0
  204. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +12 -0
  205. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +12 -0
  206. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +12 -0
  207. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +39 -0
  208. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/index.js +9 -0
  209. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +9 -0
  210. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +12 -0
  211. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +12 -0
  212. package/esm2015/lib/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +12 -0
  213. package/esm2015/lib/infra/firebase/firestore/repositories/users/index.js +10 -0
  214. package/esm2015/lib/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +12 -0
  215. package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +14 -0
  216. package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +12 -0
  217. package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +14 -0
  218. package/esm2015/lib/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +14 -0
  219. package/esm2015/lib/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +14 -0
  220. package/esm2015/lib/infra/firebase/firestore/repositories/users/user-firestore.repository.js +70 -0
  221. package/esm2015/lib/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +14 -0
  222. package/esm2015/lib/infra/firebase/firestore/repositories/users/user-search-firestore.repository.js +12 -0
  223. package/esm2015/lib/infra/firebase/firestore/types/firestore-sub.repository.type.js +2 -0
  224. package/esm2015/lib/infra/firebase/firestore/types/firestore.helpers.type.js +2 -0
  225. package/esm2015/lib/infra/firebase/firestore/types/firestore.repository.type.js +2 -0
  226. package/esm2015/lib/infra/firebase/firestore/types/index.js +4 -0
  227. package/esm2015/lib/infra/firebase/index.js +3 -0
  228. package/esm2015/lib/infra/index.js +2 -0
  229. package/esm2015/lib/utils/index.js +5 -0
  230. package/esm2015/lib/utils/mixins/base.mixin.js +6 -0
  231. package/esm2015/lib/utils/mixins/index.js +3 -0
  232. package/esm2015/lib/utils/mixins/mixin-ctor.type.js +2 -0
  233. package/esm2015/lib/utils/types/index.js +2 -0
  234. package/esm2015/lib/utils/types/prop.type.js +2 -0
  235. package/esm2015/public-api.js +3 -0
  236. package/fesm2015/infrab4a-connect.js +173 -1466
  237. package/fesm2015/infrab4a-connect.js.map +1 -1
  238. package/infrab4a-connect.d.ts +1 -1
  239. package/lib/domain/catalog/models/category.d.ts +22 -0
  240. package/lib/domain/catalog/models/enums/shops.enum.d.ts +4 -0
  241. package/lib/domain/catalog/models/index.d.ts +5 -0
  242. package/lib/domain/catalog/models/product.d.ts +33 -0
  243. package/lib/domain/catalog/models/types/product-review.type.d.ts +14 -0
  244. package/lib/domain/catalog/models/variant.d.ts +14 -0
  245. package/lib/domain/catalog/repositories/category.repository.d.ts +12 -0
  246. package/lib/domain/catalog/repositories/product.repository.d.ts +5 -0
  247. package/lib/domain/catalog/repositories/subscription-product.repository.d.ts +4 -0
  248. package/lib/domain/catalog/repositories/variant.repository.d.ts +4 -0
  249. package/lib/domain/general/model/base-model-with-identifier-fields.d.ts +3 -0
  250. package/lib/domain/general/model/base.model.d.ts +6 -0
  251. package/lib/domain/general/model/index.d.ts +4 -0
  252. package/lib/domain/general/model/types/base-model-builder.type.d.ts +5 -0
  253. package/lib/domain/general/model/types/index.d.ts +3 -0
  254. package/lib/domain/general/model/types/non-function-properties.type.d.ts +2 -0
  255. package/lib/domain/general/model/types/non-function-property-name.type.d.ts +3 -0
  256. package/lib/domain/general/repository/create.repository.d.ts +5 -0
  257. package/lib/domain/general/repository/crud.repository.d.ts +7 -0
  258. package/lib/domain/general/repository/delete.repository.d.ts +5 -0
  259. package/lib/domain/general/repository/enums/where.enum.d.ts +10 -0
  260. package/lib/domain/general/repository/find.repository.d.ts +5 -0
  261. package/lib/domain/general/repository/get.repository.d.ts +5 -0
  262. package/lib/domain/general/repository/read.repository.d.ts +5 -0
  263. package/lib/domain/general/repository/types/index.d.ts +5 -0
  264. package/lib/domain/general/repository/types/repository-find-filters.type.d.ts +14 -0
  265. package/lib/domain/general/repository/types/repository-update-params.type.d.ts +11 -0
  266. package/lib/domain/general/repository/update.repository.d.ts +5 -0
  267. package/lib/domain/index.d.ts +6 -0
  268. package/lib/domain/location/models/address.d.ts +21 -0
  269. package/lib/domain/shop-settings/models/home.d.ts +17 -0
  270. package/lib/domain/shop-settings/models/shop-menu.d.ts +7 -0
  271. package/lib/domain/shop-settings/models/types/index.d.ts +4 -0
  272. package/lib/domain/shop-settings/repositories/home.repository.d.ts +4 -0
  273. package/lib/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -0
  274. package/lib/domain/shopping/models/buy-2-win.d.ts +18 -0
  275. package/lib/domain/shopping/models/checkout.d.ts +28 -0
  276. package/lib/domain/shopping/models/coupons/club-coupon.d.ts +7 -0
  277. package/lib/domain/shopping/models/coupons/coupon.d.ts +28 -0
  278. package/lib/domain/shopping/models/coupons/enums/discount-type.enum.d.ts +5 -0
  279. package/lib/domain/shopping/models/coupons/enums/index.d.ts +2 -0
  280. package/lib/domain/shopping/models/coupons/index.d.ts +4 -0
  281. package/lib/domain/shopping/models/coupons/store-coupon.d.ts +8 -0
  282. package/lib/domain/shopping/models/payment.d.ts +69 -0
  283. package/lib/domain/shopping/models/shipping-method.d.ts +18 -0
  284. package/lib/domain/shopping/models/subscription/checkout.d.ts +23 -0
  285. package/lib/domain/shopping/models/subscription/plan.d.ts +12 -0
  286. package/lib/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -0
  287. package/lib/domain/shopping/repositories/checkout.repository.d.ts +4 -0
  288. package/lib/domain/shopping/repositories/coupon.repository.d.ts +4 -0
  289. package/lib/domain/shopping/repositories/order.repository.d.ts +4 -0
  290. package/lib/domain/shopping/repositories/payment.repository.d.ts +4 -0
  291. package/lib/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -0
  292. package/lib/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -0
  293. package/lib/domain/users/errors/unauthorized.error.d.ts +4 -0
  294. package/lib/domain/users/errors/user-already-registered.error.d.ts +4 -0
  295. package/lib/domain/users/errors/weak-password.error.d.ts +4 -0
  296. package/lib/domain/users/models/beauty-profile.d.ts +12 -0
  297. package/lib/domain/users/models/lead.d.ts +9 -0
  298. package/lib/domain/users/models/subscription/edition.d.ts +15 -0
  299. package/lib/domain/users/models/subscription/payment.d.ts +14 -0
  300. package/lib/domain/users/models/subscription/subscription.d.ts +30 -0
  301. package/lib/domain/users/models/user-address.d.ts +7 -0
  302. package/lib/domain/users/models/user-payment-method.d.ts +13 -0
  303. package/lib/domain/users/models/user.d.ts +24 -0
  304. package/lib/domain/users/repositories/beauty-profile.repository.d.ts +4 -0
  305. package/lib/domain/users/repositories/edition.repository.d.ts +4 -0
  306. package/lib/domain/users/repositories/lead.repository.d.ts +4 -0
  307. package/lib/domain/users/repositories/subscription-payment.repository.d.ts +4 -0
  308. package/lib/domain/users/repositories/subscription.repository.d.ts +4 -0
  309. package/lib/domain/users/repositories/user-address.repository.d.ts +4 -0
  310. package/lib/domain/users/repositories/user-payment-method.repository.d.ts +4 -0
  311. package/lib/domain/users/repositories/user.repository.d.ts +6 -0
  312. package/lib/domain/users/services/authentication.service.d.ts +11 -0
  313. package/lib/domain/users/use-cases/index.d.ts +3 -0
  314. package/lib/errors/duplicated-results.error.d.ts +4 -0
  315. package/lib/errors/invalid-argument.error.d.ts +4 -0
  316. package/lib/errors/not-found.error.d.ts +4 -0
  317. package/lib/errors/required-argument.error.d.ts +5 -0
  318. package/lib/index.d.ts +4 -0
  319. package/lib/infra/firebase/auth/authentication-firebase-auth.service.d.ts +11 -0
  320. package/lib/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -0
  321. package/lib/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +17 -0
  322. package/lib/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +29 -0
  323. package/lib/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +15 -0
  324. package/lib/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +20 -0
  325. package/lib/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +15 -0
  326. package/lib/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +15 -0
  327. package/lib/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +10 -0
  328. package/lib/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +14 -0
  329. package/lib/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +16 -0
  330. package/lib/infra/firebase/firestore/models/user-search.d.ts +9 -0
  331. package/lib/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +55 -0
  332. package/lib/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +50 -0
  333. package/lib/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +60 -0
  334. package/lib/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +49 -0
  335. package/lib/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +49 -0
  336. package/lib/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +49 -0
  337. package/lib/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +49 -0
  338. package/lib/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +49 -0
  339. package/lib/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +49 -0
  340. package/lib/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +53 -0
  341. package/lib/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +49 -0
  342. package/lib/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +49 -0
  343. package/lib/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +49 -0
  344. package/lib/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +49 -0
  345. package/lib/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +60 -0
  346. package/lib/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +49 -0
  347. package/lib/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +60 -0
  348. package/lib/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +60 -0
  349. package/lib/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +60 -0
  350. package/lib/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +60 -0
  351. package/lib/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +60 -0
  352. package/lib/infra/firebase/firestore/repositories/users/user-search-firestore.repository.d.ts +50 -0
  353. package/lib/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -0
  354. package/lib/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -0
  355. package/lib/infra/firebase/firestore/types/firestore.repository.type.d.ts +8 -0
  356. package/lib/infra/index.d.ts +1 -0
  357. package/lib/utils/index.d.ts +4 -0
  358. package/lib/utils/mixins/index.d.ts +2 -0
  359. package/lib/utils/mixins/mixin-ctor.type.d.ts +1 -0
  360. package/lib/utils/types/index.d.ts +1 -0
  361. package/package.json +3 -7
  362. package/public-api.d.ts +2 -0
  363. package/domain/catalog/models/category.d.ts +0 -23
  364. package/domain/catalog/models/enums/shops.enum.d.ts +0 -5
  365. package/domain/catalog/models/index.d.ts +0 -6
  366. package/domain/catalog/models/kit-product.d.ts +0 -12
  367. package/domain/catalog/models/product.d.ts +0 -39
  368. package/domain/catalog/models/types/product-review.type.d.ts +0 -17
  369. package/domain/catalog/models/variant.d.ts +0 -18
  370. package/domain/catalog/repositories/category.repository.d.ts +0 -15
  371. package/domain/catalog/repositories/product.repository.d.ts +0 -12
  372. package/domain/catalog/repositories/subscription-product.repository.d.ts +0 -4
  373. package/domain/catalog/repositories/variant.repository.d.ts +0 -4
  374. package/domain/generic/model/base.model.d.ts +0 -10
  375. package/domain/generic/model/index.d.ts +0 -3
  376. package/domain/generic/model/types/base-model-builder.type.d.ts +0 -15
  377. package/domain/generic/model/types/identifier-model.type.d.ts +0 -7
  378. package/domain/generic/model/types/index.d.ts +0 -5
  379. package/domain/generic/model/types/model-base-structure.type.d.ts +0 -6
  380. package/domain/generic/model/types/non-function-properties.type.d.ts +0 -12
  381. package/domain/generic/model/types/non-function-property-name.type.d.ts +0 -4
  382. package/domain/generic/repository/create.repository.d.ts +0 -8
  383. package/domain/generic/repository/crud.repository.d.ts +0 -19
  384. package/domain/generic/repository/delete.repository.d.ts +0 -7
  385. package/domain/generic/repository/enums/where.enum.d.ts +0 -13
  386. package/domain/generic/repository/find.repository.d.ts +0 -11
  387. package/domain/generic/repository/get.repository.d.ts +0 -5
  388. package/domain/generic/repository/read.repository.d.ts +0 -14
  389. package/domain/generic/repository/types/index.d.ts +0 -6
  390. package/domain/generic/repository/types/repository-find-filters.type.d.ts +0 -13
  391. package/domain/generic/repository/types/repository-update-params.type.d.ts +0 -11
  392. package/domain/generic/repository/types/where-options.type.d.ts +0 -2
  393. package/domain/generic/repository/update.repository.d.ts +0 -6
  394. package/domain/index.d.ts +0 -6
  395. package/domain/location/models/address.d.ts +0 -22
  396. package/domain/shop-settings/models/home.d.ts +0 -17
  397. package/domain/shop-settings/models/shop-menu.d.ts +0 -7
  398. package/domain/shop-settings/models/types/home-data.type.d.ts +0 -15
  399. package/domain/shop-settings/models/types/index.d.ts +0 -5
  400. package/domain/shop-settings/repositories/home.repository.d.ts +0 -4
  401. package/domain/shop-settings/repositories/shop-menu.repository.d.ts +0 -4
  402. package/domain/shopping/models/buy-2-win.d.ts +0 -16
  403. package/domain/shopping/models/checkout.d.ts +0 -27
  404. package/domain/shopping/models/coupons/coupon.d.ts +0 -26
  405. package/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +0 -4
  406. package/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +0 -6
  407. package/domain/shopping/models/coupons/enums/index.d.ts +0 -3
  408. package/domain/shopping/models/coupons/financial-coupon.d.ts +0 -9
  409. package/domain/shopping/models/coupons/index.d.ts +0 -3
  410. package/domain/shopping/models/payment.d.ts +0 -67
  411. package/domain/shopping/models/shipping-method.d.ts +0 -16
  412. package/domain/shopping/models/subscription/checkout.d.ts +0 -21
  413. package/domain/shopping/models/subscription/plan.d.ts +0 -10
  414. package/domain/shopping/repositories/buy-2-win.repository.d.ts +0 -4
  415. package/domain/shopping/repositories/checkout.repository.d.ts +0 -4
  416. package/domain/shopping/repositories/coupon.repository.d.ts +0 -4
  417. package/domain/shopping/repositories/order.repository.d.ts +0 -4
  418. package/domain/shopping/repositories/payment.repository.d.ts +0 -4
  419. package/domain/shopping/repositories/subscription/checkout.repository.d.ts +0 -4
  420. package/domain/shopping/repositories/subscription/plan.repository.d.ts +0 -4
  421. package/domain/users/errors/unauthorized.error.d.ts +0 -5
  422. package/domain/users/errors/user-already-registered.error.d.ts +0 -5
  423. package/domain/users/errors/weak-password.error.d.ts +0 -5
  424. package/domain/users/models/beauty-profile.d.ts +0 -11
  425. package/domain/users/models/lead.d.ts +0 -7
  426. package/domain/users/models/subscription/edition.d.ts +0 -16
  427. package/domain/users/models/subscription/payment.d.ts +0 -13
  428. package/domain/users/models/subscription/subscription.d.ts +0 -28
  429. package/domain/users/models/user-address.d.ts +0 -7
  430. package/domain/users/models/user-payment-method.d.ts +0 -14
  431. package/domain/users/models/user.d.ts +0 -26
  432. package/domain/users/repositories/beauty-profile.repository.d.ts +0 -4
  433. package/domain/users/repositories/edition.repository.d.ts +0 -4
  434. package/domain/users/repositories/lead.repository.d.ts +0 -4
  435. package/domain/users/repositories/subscription-payment.repository.d.ts +0 -4
  436. package/domain/users/repositories/subscription.repository.d.ts +0 -4
  437. package/domain/users/repositories/user-address.repository.d.ts +0 -4
  438. package/domain/users/repositories/user-payment-method.repository.d.ts +0 -4
  439. package/domain/users/repositories/user.repository.d.ts +0 -6
  440. package/domain/users/services/authentication.service.d.ts +0 -12
  441. package/domain/users/use-cases/index.d.ts +0 -4
  442. package/domain/users/use-cases/recovery-password.d.ts +0 -6
  443. package/errors/duplicated-results.error.d.ts +0 -5
  444. package/errors/invalid-argument.error.d.ts +0 -5
  445. package/errors/not-found.error.d.ts +0 -5
  446. package/errors/required-argument.error.d.ts +0 -6
  447. package/esm2015/domain/catalog/index.js +0 -3
  448. package/esm2015/domain/catalog/models/category.js +0 -10
  449. package/esm2015/domain/catalog/models/enums/index.js +0 -2
  450. package/esm2015/domain/catalog/models/enums/shops.enum.js +0 -7
  451. package/esm2015/domain/catalog/models/index.js +0 -7
  452. package/esm2015/domain/catalog/models/kit-product.js +0 -18
  453. package/esm2015/domain/catalog/models/product.js +0 -21
  454. package/esm2015/domain/catalog/models/types/category-condition.type.js +0 -2
  455. package/esm2015/domain/catalog/models/types/category-filter.type.js +0 -2
  456. package/esm2015/domain/catalog/models/types/index.js +0 -8
  457. package/esm2015/domain/catalog/models/types/product-review.type.js +0 -2
  458. package/esm2015/domain/catalog/models/types/shops-description.type.js +0 -2
  459. package/esm2015/domain/catalog/models/types/shops-price.type.js +0 -2
  460. package/esm2015/domain/catalog/models/types/stock.type.js +0 -2
  461. package/esm2015/domain/catalog/models/types/variant-grade.type.js +0 -2
  462. package/esm2015/domain/catalog/models/variant.js +0 -10
  463. package/esm2015/domain/catalog/repositories/category.repository.js +0 -2
  464. package/esm2015/domain/catalog/repositories/index.js +0 -5
  465. package/esm2015/domain/catalog/repositories/product.repository.js +0 -2
  466. package/esm2015/domain/catalog/repositories/subscription-product.repository.js +0 -2
  467. package/esm2015/domain/catalog/repositories/variant.repository.js +0 -2
  468. package/esm2015/domain/generic/index.js +0 -3
  469. package/esm2015/domain/generic/model/base.model.js +0 -23
  470. package/esm2015/domain/generic/model/identifier-fields.js +0 -2
  471. package/esm2015/domain/generic/model/index.js +0 -4
  472. package/esm2015/domain/generic/model/types/base-model-builder.type.js +0 -2
  473. package/esm2015/domain/generic/model/types/identifier-model.type.js +0 -2
  474. package/esm2015/domain/generic/model/types/index.js +0 -6
  475. package/esm2015/domain/generic/model/types/model-base-structure.type.js +0 -2
  476. package/esm2015/domain/generic/model/types/non-function-properties.type.js +0 -2
  477. package/esm2015/domain/generic/model/types/non-function-property-name.type.js +0 -2
  478. package/esm2015/domain/generic/repository/create.repository.js +0 -2
  479. package/esm2015/domain/generic/repository/crud.repository.js +0 -2
  480. package/esm2015/domain/generic/repository/delete.repository.js +0 -2
  481. package/esm2015/domain/generic/repository/enums/index.js +0 -3
  482. package/esm2015/domain/generic/repository/enums/update-option-actions.enum.js +0 -9
  483. package/esm2015/domain/generic/repository/enums/where.enum.js +0 -15
  484. package/esm2015/domain/generic/repository/find.repository.js +0 -2
  485. package/esm2015/domain/generic/repository/get.repository.js +0 -2
  486. package/esm2015/domain/generic/repository/index.js +0 -10
  487. package/esm2015/domain/generic/repository/read.repository.js +0 -2
  488. package/esm2015/domain/generic/repository/types/index.js +0 -7
  489. package/esm2015/domain/generic/repository/types/repository-find-filters.type.js +0 -2
  490. package/esm2015/domain/generic/repository/types/repository-find-result.type.js +0 -2
  491. package/esm2015/domain/generic/repository/types/repository-limit-options.type.js +0 -2
  492. package/esm2015/domain/generic/repository/types/repository-order-by-list.type.js +0 -2
  493. package/esm2015/domain/generic/repository/types/repository-update-params.type.js +0 -2
  494. package/esm2015/domain/generic/repository/types/where-options.type.js +0 -2
  495. package/esm2015/domain/generic/repository/update.repository.js +0 -2
  496. package/esm2015/domain/index.js +0 -7
  497. package/esm2015/domain/location/index.js +0 -2
  498. package/esm2015/domain/location/models/address.js +0 -7
  499. package/esm2015/domain/location/models/index.js +0 -3
  500. package/esm2015/domain/location/models/types/index.js +0 -4
  501. package/esm2015/domain/location/models/types/location-bound.type.js +0 -2
  502. package/esm2015/domain/location/models/types/location-geometry.type.js +0 -2
  503. package/esm2015/domain/location/models/types/location-lat-lng.type.js +0 -2
  504. package/esm2015/domain/shop-settings/enums/filter-type.enum.js +0 -21
  505. package/esm2015/domain/shop-settings/enums/index.js +0 -3
  506. package/esm2015/domain/shop-settings/enums/questions-filters.enum.js +0 -21
  507. package/esm2015/domain/shop-settings/helpers/beauty-questions.helper.js +0 -46
  508. package/esm2015/domain/shop-settings/helpers/index.js +0 -2
  509. package/esm2015/domain/shop-settings/index.js +0 -5
  510. package/esm2015/domain/shop-settings/models/home.js +0 -7
  511. package/esm2015/domain/shop-settings/models/index.js +0 -4
  512. package/esm2015/domain/shop-settings/models/shop-menu.js +0 -7
  513. package/esm2015/domain/shop-settings/models/types/banner.type.js +0 -2
  514. package/esm2015/domain/shop-settings/models/types/benefit.type.js +0 -2
  515. package/esm2015/domain/shop-settings/models/types/home-data.type.js +0 -2
  516. package/esm2015/domain/shop-settings/models/types/index.js +0 -6
  517. package/esm2015/domain/shop-settings/models/types/menu-nav.type.js +0 -2
  518. package/esm2015/domain/shop-settings/models/types/sub-menu.type.js +0 -2
  519. package/esm2015/domain/shop-settings/repositories/home.repository.js +0 -2
  520. package/esm2015/domain/shop-settings/repositories/index.js +0 -3
  521. package/esm2015/domain/shop-settings/repositories/shop-menu.repository.js +0 -2
  522. package/esm2015/domain/shopping/index.js +0 -3
  523. package/esm2015/domain/shopping/models/buy-2-win.js +0 -14
  524. package/esm2015/domain/shopping/models/checkout.js +0 -38
  525. package/esm2015/domain/shopping/models/coupons/coupon.js +0 -23
  526. package/esm2015/domain/shopping/models/coupons/enums/coupon-subtypes.enum.js +0 -6
  527. package/esm2015/domain/shopping/models/coupons/enums/coupon-types.enum.js +0 -8
  528. package/esm2015/domain/shopping/models/coupons/enums/exclusivities.enum.js +0 -7
  529. package/esm2015/domain/shopping/models/coupons/enums/index.js +0 -4
  530. package/esm2015/domain/shopping/models/coupons/financial-coupon.js +0 -28
  531. package/esm2015/domain/shopping/models/coupons/index.js +0 -4
  532. package/esm2015/domain/shopping/models/enums/checkout-types.enum.js +0 -6
  533. package/esm2015/domain/shopping/models/enums/index.js +0 -3
  534. package/esm2015/domain/shopping/models/enums/order-status.enum.js +0 -12
  535. package/esm2015/domain/shopping/models/index.js +0 -12
  536. package/esm2015/domain/shopping/models/line-item.js +0 -4
  537. package/esm2015/domain/shopping/models/order.js +0 -11
  538. package/esm2015/domain/shopping/models/payment.js +0 -169
  539. package/esm2015/domain/shopping/models/shipping-method.js +0 -7
  540. package/esm2015/domain/shopping/models/subscription/checkout.js +0 -28
  541. package/esm2015/domain/shopping/models/subscription/index.js +0 -3
  542. package/esm2015/domain/shopping/models/subscription/plan.js +0 -7
  543. package/esm2015/domain/shopping/models/types/index.js +0 -8
  544. package/esm2015/domain/shopping/models/types/payment-address.type.js +0 -2
  545. package/esm2015/domain/shopping/models/types/payment-billing.type.js +0 -2
  546. package/esm2015/domain/shopping/models/types/payment-card.type.js +0 -2
  547. package/esm2015/domain/shopping/models/types/payment-customer.type.js +0 -2
  548. package/esm2015/domain/shopping/models/types/payment-document.type.js +0 -2
  549. package/esm2015/domain/shopping/models/types/payment-item.type.js +0 -2
  550. package/esm2015/domain/shopping/models/types/payment-shipping.type.js +0 -2
  551. package/esm2015/domain/shopping/repositories/buy-2-win.repository.js +0 -2
  552. package/esm2015/domain/shopping/repositories/checkout.repository.js +0 -2
  553. package/esm2015/domain/shopping/repositories/coupon.repository.js +0 -2
  554. package/esm2015/domain/shopping/repositories/index.js +0 -8
  555. package/esm2015/domain/shopping/repositories/legacy-order.repository.js +0 -2
  556. package/esm2015/domain/shopping/repositories/order.repository.js +0 -2
  557. package/esm2015/domain/shopping/repositories/payment.repository.js +0 -2
  558. package/esm2015/domain/shopping/repositories/subscription/checkout.repository.js +0 -2
  559. package/esm2015/domain/shopping/repositories/subscription/index.js +0 -3
  560. package/esm2015/domain/shopping/repositories/subscription/plan.repository.js +0 -2
  561. package/esm2015/domain/users/errors/index.js +0 -4
  562. package/esm2015/domain/users/errors/unauthorized.error.js +0 -8
  563. package/esm2015/domain/users/errors/user-already-registered.error.js +0 -8
  564. package/esm2015/domain/users/errors/weak-password.error.js +0 -8
  565. package/esm2015/domain/users/index.js +0 -6
  566. package/esm2015/domain/users/models/beauty-profile.js +0 -12
  567. package/esm2015/domain/users/models/enums/accessory-importances.enum.js +0 -7
  568. package/esm2015/domain/users/models/enums/area.enum.js +0 -13
  569. package/esm2015/domain/users/models/enums/beard-problems.enum.js +0 -11
  570. package/esm2015/domain/users/models/enums/beard-sizes.enum.js +0 -9
  571. package/esm2015/domain/users/models/enums/beauty-product-importances.enum.js +0 -8
  572. package/esm2015/domain/users/models/enums/body-problems.enum.js +0 -13
  573. package/esm2015/domain/users/models/enums/body-shapes.enum.js +0 -9
  574. package/esm2015/domain/users/models/enums/body-tattoos.enum.js +0 -7
  575. package/esm2015/domain/users/models/enums/face-skin-oilinesses.enum.js +0 -9
  576. package/esm2015/domain/users/models/enums/face-skin-problems.enum.js +0 -12
  577. package/esm2015/domain/users/models/enums/face-skin-tones.enum.js +0 -10
  578. package/esm2015/domain/users/models/enums/family-incomes.enum.js +0 -10
  579. package/esm2015/domain/users/models/enums/fragrance-importances.enum.js +0 -7
  580. package/esm2015/domain/users/models/enums/hair-colors.enum.js +0 -12
  581. package/esm2015/domain/users/models/enums/hair-problems.enum.js +0 -12
  582. package/esm2015/domain/users/models/enums/hair-strands.enum.js +0 -10
  583. package/esm2015/domain/users/models/enums/hair-types.enum.js +0 -9
  584. package/esm2015/domain/users/models/enums/index.js +0 -21
  585. package/esm2015/domain/users/models/enums/office-position.enum.js +0 -8
  586. package/esm2015/domain/users/models/enums/product-spents.enum.js +0 -10
  587. package/esm2015/domain/users/models/enums/user-type.enum.js +0 -10
  588. package/esm2015/domain/users/models/index.js +0 -8
  589. package/esm2015/domain/users/models/lead.js +0 -7
  590. package/esm2015/domain/users/models/subscription/edition.js +0 -7
  591. package/esm2015/domain/users/models/subscription/enums/billing-status.enum.js +0 -5
  592. package/esm2015/domain/users/models/subscription/enums/edition-status.enum.js +0 -6
  593. package/esm2015/domain/users/models/subscription/enums/index.js +0 -5
  594. package/esm2015/domain/users/models/subscription/enums/payment-type.enum.js +0 -7
  595. package/esm2015/domain/users/models/subscription/enums/status.enum.js +0 -6
  596. package/esm2015/domain/users/models/subscription/index.js +0 -5
  597. package/esm2015/domain/users/models/subscription/payment.js +0 -14
  598. package/esm2015/domain/users/models/subscription/subscription.js +0 -43
  599. package/esm2015/domain/users/models/user-address.js +0 -7
  600. package/esm2015/domain/users/models/user-payment-method.js +0 -7
  601. package/esm2015/domain/users/models/user.js +0 -26
  602. package/esm2015/domain/users/repositories/beauty-profile.repository.js +0 -2
  603. package/esm2015/domain/users/repositories/edition.repository.js +0 -2
  604. package/esm2015/domain/users/repositories/index.js +0 -9
  605. package/esm2015/domain/users/repositories/lead.repository.js +0 -2
  606. package/esm2015/domain/users/repositories/subscription-payment.repository.js +0 -2
  607. package/esm2015/domain/users/repositories/subscription.repository.js +0 -2
  608. package/esm2015/domain/users/repositories/user-address.repository.js +0 -2
  609. package/esm2015/domain/users/repositories/user-payment-method.repository.js +0 -2
  610. package/esm2015/domain/users/repositories/user.repository.js +0 -2
  611. package/esm2015/domain/users/services/authentication.service.js +0 -2
  612. package/esm2015/domain/users/services/index.js +0 -4
  613. package/esm2015/domain/users/services/register.service.js +0 -2
  614. package/esm2015/domain/users/services/types/basic-user-data.type.js +0 -2
  615. package/esm2015/domain/users/services/types/index.js +0 -2
  616. package/esm2015/domain/users/use-cases/authentication.js +0 -40
  617. package/esm2015/domain/users/use-cases/index.js +0 -5
  618. package/esm2015/domain/users/use-cases/recovery-password.js +0 -12
  619. package/esm2015/domain/users/use-cases/register.js +0 -34
  620. package/esm2015/domain/users/use-cases/signout.js +0 -12
  621. package/esm2015/errors/duplicated-results.error.js +0 -8
  622. package/esm2015/errors/index.js +0 -5
  623. package/esm2015/errors/invalid-argument.error.js +0 -8
  624. package/esm2015/errors/not-found.error.js +0 -8
  625. package/esm2015/errors/required-argument.error.js +0 -9
  626. package/esm2015/index.js +0 -6
  627. package/esm2015/infra/elasticsearch/adapters/axios.adapter.js +0 -22
  628. package/esm2015/infra/elasticsearch/adapters/elastic-search.adapter.js +0 -2
  629. package/esm2015/infra/elasticsearch/adapters/index.js +0 -3
  630. package/esm2015/infra/elasticsearch/index.js +0 -4
  631. package/esm2015/infra/elasticsearch/indexes/index.js +0 -2
  632. package/esm2015/infra/elasticsearch/indexes/products-index.js +0 -59
  633. package/esm2015/infra/elasticsearch/types/elastic-search-result.js +0 -2
  634. package/esm2015/infra/elasticsearch/types/index.js +0 -2
  635. package/esm2015/infra/firebase/auth/authentication-firebase-auth.service.js +0 -52
  636. package/esm2015/infra/firebase/auth/index.js +0 -3
  637. package/esm2015/infra/firebase/auth/register-firebase-auth.service.js +0 -26
  638. package/esm2015/infra/firebase/auth/types/firebase-user-with-id.type.js +0 -2
  639. package/esm2015/infra/firebase/firestore/index.js +0 -4
  640. package/esm2015/infra/firebase/firestore/mixins/index.js +0 -10
  641. package/esm2015/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +0 -31
  642. package/esm2015/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +0 -10
  643. package/esm2015/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +0 -18
  644. package/esm2015/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +0 -86
  645. package/esm2015/infra/firebase/firestore/mixins/with-firestore.mixin.js +0 -22
  646. package/esm2015/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +0 -24
  647. package/esm2015/infra/firebase/firestore/mixins/with-helpers.mixin.js +0 -17
  648. package/esm2015/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +0 -11
  649. package/esm2015/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +0 -45
  650. package/esm2015/infra/firebase/firestore/models/user-search.js +0 -7
  651. package/esm2015/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +0 -72
  652. package/esm2015/infra/firebase/firestore/repositories/catalog/index.js +0 -5
  653. package/esm2015/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +0 -53
  654. package/esm2015/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +0 -14
  655. package/esm2015/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +0 -12
  656. package/esm2015/infra/firebase/firestore/repositories/index.js +0 -5
  657. package/esm2015/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +0 -56
  658. package/esm2015/infra/firebase/firestore/repositories/shop-settings/index.js +0 -3
  659. package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +0 -12
  660. package/esm2015/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +0 -12
  661. package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +0 -12
  662. package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +0 -12
  663. package/esm2015/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +0 -29
  664. package/esm2015/infra/firebase/firestore/repositories/shopping/index.js +0 -9
  665. package/esm2015/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +0 -9
  666. package/esm2015/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +0 -12
  667. package/esm2015/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +0 -12
  668. package/esm2015/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +0 -12
  669. package/esm2015/infra/firebase/firestore/repositories/users/index.js +0 -10
  670. package/esm2015/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +0 -12
  671. package/esm2015/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +0 -14
  672. package/esm2015/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +0 -12
  673. package/esm2015/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +0 -14
  674. package/esm2015/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +0 -14
  675. package/esm2015/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +0 -14
  676. package/esm2015/infra/firebase/firestore/repositories/users/user-firestore.repository.js +0 -70
  677. package/esm2015/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +0 -14
  678. package/esm2015/infra/firebase/firestore/repositories/users/user-search-firestore.repository.js +0 -12
  679. package/esm2015/infra/firebase/firestore/types/firestore-sub.repository.type.js +0 -2
  680. package/esm2015/infra/firebase/firestore/types/firestore.helpers.type.js +0 -2
  681. package/esm2015/infra/firebase/firestore/types/firestore.repository.type.js +0 -2
  682. package/esm2015/infra/firebase/firestore/types/index.js +0 -4
  683. package/esm2015/infra/firebase/index.js +0 -3
  684. package/esm2015/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.js +0 -13
  685. package/esm2015/infra/hasura-graphql/enums/hasura-graphql-where.enum.js +0 -15
  686. package/esm2015/infra/hasura-graphql/enums/index.js +0 -3
  687. package/esm2015/infra/hasura-graphql/index.js +0 -5
  688. package/esm2015/infra/hasura-graphql/mixins/helpers/attribute-option.helper.js +0 -31
  689. package/esm2015/infra/hasura-graphql/mixins/helpers/filter-option.helper.js +0 -18
  690. package/esm2015/infra/hasura-graphql/mixins/helpers/graphql-field.helper.js +0 -70
  691. package/esm2015/infra/hasura-graphql/mixins/helpers/index.js +0 -4
  692. package/esm2015/infra/hasura-graphql/mixins/index.js +0 -8
  693. package/esm2015/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.js +0 -45
  694. package/esm2015/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.js +0 -10
  695. package/esm2015/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.js +0 -29
  696. package/esm2015/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.js +0 -93
  697. package/esm2015/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.js +0 -35
  698. package/esm2015/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.js +0 -95
  699. package/esm2015/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.js +0 -56
  700. package/esm2015/infra/hasura-graphql/models/category-hasura-graphql.js +0 -4
  701. package/esm2015/infra/hasura-graphql/models/index.js +0 -5
  702. package/esm2015/infra/hasura-graphql/models/kit-product-hasura-graphql.js +0 -15
  703. package/esm2015/infra/hasura-graphql/models/product-hasura-graphql.js +0 -11
  704. package/esm2015/infra/hasura-graphql/models/variant-hasura-graphql.js +0 -9
  705. package/esm2015/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.js +0 -135
  706. package/esm2015/infra/hasura-graphql/repositories/catalog/index.js +0 -4
  707. package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +0 -367
  708. package/esm2015/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.js +0 -100
  709. package/esm2015/infra/hasura-graphql/repositories/index.js +0 -2
  710. package/esm2015/infra/hasura-graphql/types/fields.type.js +0 -2
  711. package/esm2015/infra/hasura-graphql/types/graphql.repository.type.js +0 -2
  712. package/esm2015/infra/hasura-graphql/types/hasura-graphql-auth-options.type.js +0 -2
  713. package/esm2015/infra/hasura-graphql/types/hasura-graphql-fields.type.js +0 -2
  714. package/esm2015/infra/hasura-graphql/types/hasura-graphql-headers.type.js +0 -2
  715. package/esm2015/infra/hasura-graphql/types/index.js +0 -9
  716. package/esm2015/infra/hasura-graphql/types/nested-field.type.js +0 -2
  717. package/esm2015/infra/hasura-graphql/types/query-builder-options.type.js +0 -2
  718. package/esm2015/infra/hasura-graphql/types/variable-options.type.js +0 -2
  719. package/esm2015/infra/index.js +0 -4
  720. package/esm2015/utils/index.js +0 -8
  721. package/esm2015/utils/is-uuid.js +0 -3
  722. package/esm2015/utils/mixins/base.mixin.js +0 -6
  723. package/esm2015/utils/mixins/index.js +0 -4
  724. package/esm2015/utils/mixins/merge-constructor-params.type.js +0 -2
  725. package/esm2015/utils/mixins/mixin-ctor.type.js +0 -2
  726. package/esm2015/utils/parse-datetime.js +0 -14
  727. package/esm2015/utils/types/array-element.type.js +0 -2
  728. package/esm2015/utils/types/index.js +0 -3
  729. package/esm2015/utils/types/prop.type.js +0 -2
  730. package/index.d.ts +0 -5
  731. package/infra/elasticsearch/adapters/axios.adapter.d.ts +0 -11
  732. package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +0 -4
  733. package/infra/elasticsearch/adapters/index.d.ts +0 -2
  734. package/infra/elasticsearch/index.d.ts +0 -3
  735. package/infra/elasticsearch/indexes/index.d.ts +0 -1
  736. package/infra/elasticsearch/indexes/products-index.d.ts +0 -11
  737. package/infra/elasticsearch/types/elastic-search-result.d.ts +0 -7
  738. package/infra/elasticsearch/types/index.d.ts +0 -1
  739. package/infra/firebase/auth/authentication-firebase-auth.service.d.ts +0 -12
  740. package/infra/firebase/auth/register-firebase-auth.service.d.ts +0 -8
  741. package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +0 -4
  742. package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +0 -4
  743. package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +0 -4
  744. package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +0 -4
  745. package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +0 -4
  746. package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +0 -4
  747. package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +0 -11
  748. package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +0 -7
  749. package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +0 -7
  750. package/infra/firebase/firestore/models/user-search.d.ts +0 -9
  751. package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +0 -17
  752. package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +0 -11
  753. package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +0 -13
  754. package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +0 -8
  755. package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +0 -16
  756. package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +0 -8
  757. package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +0 -8
  758. package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +0 -8
  759. package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +0 -8
  760. package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +0 -12
  761. package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +0 -8
  762. package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +0 -8
  763. package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +0 -8
  764. package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +0 -8
  765. package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +0 -13
  766. package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +0 -8
  767. package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +0 -13
  768. package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +0 -13
  769. package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +0 -13
  770. package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +0 -19
  771. package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +0 -13
  772. package/infra/firebase/firestore/repositories/users/user-search-firestore.repository.d.ts +0 -9
  773. package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +0 -6
  774. package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +0 -8
  775. package/infra/firebase/firestore/types/firestore.repository.type.d.ts +0 -12
  776. package/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +0 -11
  777. package/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +0 -13
  778. package/infra/hasura-graphql/enums/index.d.ts +0 -2
  779. package/infra/hasura-graphql/index.d.ts +0 -4
  780. package/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +0 -13
  781. package/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +0 -6
  782. package/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +0 -8
  783. package/infra/hasura-graphql/mixins/helpers/index.d.ts +0 -3
  784. package/infra/hasura-graphql/mixins/index.d.ts +0 -7
  785. package/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +0 -8
  786. package/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +0 -11
  787. package/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +0 -7
  788. package/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +0 -31
  789. package/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +0 -24
  790. package/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +0 -11
  791. package/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +0 -14
  792. package/infra/hasura-graphql/models/category-hasura-graphql.d.ts +0 -6
  793. package/infra/hasura-graphql/models/index.d.ts +0 -4
  794. package/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +0 -6
  795. package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +0 -9
  796. package/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +0 -9
  797. package/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +0 -22
  798. package/infra/hasura-graphql/repositories/catalog/index.d.ts +0 -3
  799. package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +0 -26
  800. package/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +0 -13
  801. package/infra/hasura-graphql/repositories/index.d.ts +0 -1
  802. package/infra/hasura-graphql/types/fields.type.d.ts +0 -2
  803. package/infra/hasura-graphql/types/graphql.repository.type.d.ts +0 -21
  804. package/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +0 -8
  805. package/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +0 -36
  806. package/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +0 -7
  807. package/infra/hasura-graphql/types/index.d.ts +0 -8
  808. package/infra/hasura-graphql/types/nested-field.type.d.ts +0 -7
  809. package/infra/hasura-graphql/types/query-builder-options.type.d.ts +0 -7
  810. package/infra/hasura-graphql/types/variable-options.type.d.ts +0 -9
  811. package/infra/index.d.ts +0 -3
  812. package/utils/index.d.ts +0 -7
  813. package/utils/is-uuid.d.ts +0 -1
  814. package/utils/mixins/index.d.ts +0 -3
  815. package/utils/mixins/merge-constructor-params.type.d.ts +0 -3
  816. package/utils/mixins/mixin-ctor.type.d.ts +0 -1
  817. package/utils/parse-datetime.d.ts +0 -1
  818. package/utils/types/array-element.type.d.ts +0 -1
  819. package/utils/types/index.d.ts +0 -2
  820. /package/{domain → lib/domain}/catalog/index.d.ts +0 -0
  821. /package/{domain → lib/domain}/catalog/models/enums/index.d.ts +0 -0
  822. /package/{domain → lib/domain}/catalog/models/types/category-condition.type.d.ts +0 -0
  823. /package/{domain → lib/domain}/catalog/models/types/category-filter.type.d.ts +0 -0
  824. /package/{domain → lib/domain}/catalog/models/types/index.d.ts +0 -0
  825. /package/{domain → lib/domain}/catalog/models/types/shops-description.type.d.ts +0 -0
  826. /package/{domain → lib/domain}/catalog/models/types/shops-price.type.d.ts +0 -0
  827. /package/{domain → lib/domain}/catalog/models/types/stock.type.d.ts +0 -0
  828. /package/{domain → lib/domain}/catalog/models/types/variant-grade.type.d.ts +0 -0
  829. /package/{domain → lib/domain}/catalog/repositories/index.d.ts +0 -0
  830. /package/{domain/generic → lib/domain/general}/index.d.ts +0 -0
  831. /package/{domain/generic → lib/domain/general}/model/identifier-fields.d.ts +0 -0
  832. /package/{domain/generic → lib/domain/general}/repository/enums/index.d.ts +0 -0
  833. /package/{domain/generic → lib/domain/general}/repository/enums/update-option-actions.enum.d.ts +0 -0
  834. /package/{domain/generic → lib/domain/general}/repository/index.d.ts +0 -0
  835. /package/{domain/generic → lib/domain/general}/repository/types/repository-find-result.type.d.ts +0 -0
  836. /package/{domain/generic → lib/domain/general}/repository/types/repository-limit-options.type.d.ts +0 -0
  837. /package/{domain/generic → lib/domain/general}/repository/types/repository-order-by-list.type.d.ts +0 -0
  838. /package/{domain → lib/domain}/location/index.d.ts +0 -0
  839. /package/{domain → lib/domain}/location/models/index.d.ts +0 -0
  840. /package/{domain → lib/domain}/location/models/types/index.d.ts +0 -0
  841. /package/{domain → lib/domain}/location/models/types/location-bound.type.d.ts +0 -0
  842. /package/{domain → lib/domain}/location/models/types/location-geometry.type.d.ts +0 -0
  843. /package/{domain → lib/domain}/location/models/types/location-lat-lng.type.d.ts +0 -0
  844. /package/{domain → lib/domain}/shop-settings/enums/filter-type.enum.d.ts +0 -0
  845. /package/{domain → lib/domain}/shop-settings/enums/index.d.ts +0 -0
  846. /package/{domain → lib/domain}/shop-settings/enums/questions-filters.enum.d.ts +0 -0
  847. /package/{domain → lib/domain}/shop-settings/helpers/beauty-questions.helper.d.ts +0 -0
  848. /package/{domain → lib/domain}/shop-settings/helpers/index.d.ts +0 -0
  849. /package/{domain → lib/domain}/shop-settings/index.d.ts +0 -0
  850. /package/{domain → lib/domain}/shop-settings/models/index.d.ts +0 -0
  851. /package/{domain → lib/domain}/shop-settings/models/types/banner.type.d.ts +0 -0
  852. /package/{domain → lib/domain}/shop-settings/models/types/benefit.type.d.ts +0 -0
  853. /package/{domain → lib/domain}/shop-settings/models/types/menu-nav.type.d.ts +0 -0
  854. /package/{domain → lib/domain}/shop-settings/models/types/sub-menu.type.d.ts +0 -0
  855. /package/{domain → lib/domain}/shop-settings/repositories/index.d.ts +0 -0
  856. /package/{domain → lib/domain}/shopping/index.d.ts +0 -0
  857. /package/{domain → lib/domain}/shopping/models/coupons/enums/exclusivities.enum.d.ts +0 -0
  858. /package/{domain → lib/domain}/shopping/models/enums/checkout-types.enum.d.ts +0 -0
  859. /package/{domain → lib/domain}/shopping/models/enums/index.d.ts +0 -0
  860. /package/{domain → lib/domain}/shopping/models/enums/order-status.enum.d.ts +0 -0
  861. /package/{domain → lib/domain}/shopping/models/index.d.ts +0 -0
  862. /package/{domain → lib/domain}/shopping/models/line-item.d.ts +0 -0
  863. /package/{domain → lib/domain}/shopping/models/order.d.ts +0 -0
  864. /package/{domain → lib/domain}/shopping/models/subscription/index.d.ts +0 -0
  865. /package/{domain → lib/domain}/shopping/models/types/index.d.ts +0 -0
  866. /package/{domain → lib/domain}/shopping/models/types/payment-address.type.d.ts +0 -0
  867. /package/{domain → lib/domain}/shopping/models/types/payment-billing.type.d.ts +0 -0
  868. /package/{domain → lib/domain}/shopping/models/types/payment-card.type.d.ts +0 -0
  869. /package/{domain → lib/domain}/shopping/models/types/payment-customer.type.d.ts +0 -0
  870. /package/{domain → lib/domain}/shopping/models/types/payment-document.type.d.ts +0 -0
  871. /package/{domain → lib/domain}/shopping/models/types/payment-item.type.d.ts +0 -0
  872. /package/{domain → lib/domain}/shopping/models/types/payment-shipping.type.d.ts +0 -0
  873. /package/{domain → lib/domain}/shopping/repositories/index.d.ts +0 -0
  874. /package/{domain → lib/domain}/shopping/repositories/legacy-order.repository.d.ts +0 -0
  875. /package/{domain → lib/domain}/shopping/repositories/subscription/index.d.ts +0 -0
  876. /package/{domain → lib/domain}/users/errors/index.d.ts +0 -0
  877. /package/{domain → lib/domain}/users/index.d.ts +0 -0
  878. /package/{domain → lib/domain}/users/models/enums/accessory-importances.enum.d.ts +0 -0
  879. /package/{domain → lib/domain}/users/models/enums/area.enum.d.ts +0 -0
  880. /package/{domain → lib/domain}/users/models/enums/beard-problems.enum.d.ts +0 -0
  881. /package/{domain → lib/domain}/users/models/enums/beard-sizes.enum.d.ts +0 -0
  882. /package/{domain → lib/domain}/users/models/enums/beauty-product-importances.enum.d.ts +0 -0
  883. /package/{domain → lib/domain}/users/models/enums/body-problems.enum.d.ts +0 -0
  884. /package/{domain → lib/domain}/users/models/enums/body-shapes.enum.d.ts +0 -0
  885. /package/{domain → lib/domain}/users/models/enums/body-tattoos.enum.d.ts +0 -0
  886. /package/{domain → lib/domain}/users/models/enums/face-skin-oilinesses.enum.d.ts +0 -0
  887. /package/{domain → lib/domain}/users/models/enums/face-skin-problems.enum.d.ts +0 -0
  888. /package/{domain → lib/domain}/users/models/enums/face-skin-tones.enum.d.ts +0 -0
  889. /package/{domain → lib/domain}/users/models/enums/family-incomes.enum.d.ts +0 -0
  890. /package/{domain → lib/domain}/users/models/enums/fragrance-importances.enum.d.ts +0 -0
  891. /package/{domain → lib/domain}/users/models/enums/hair-colors.enum.d.ts +0 -0
  892. /package/{domain → lib/domain}/users/models/enums/hair-problems.enum.d.ts +0 -0
  893. /package/{domain → lib/domain}/users/models/enums/hair-strands.enum.d.ts +0 -0
  894. /package/{domain → lib/domain}/users/models/enums/hair-types.enum.d.ts +0 -0
  895. /package/{domain → lib/domain}/users/models/enums/index.d.ts +0 -0
  896. /package/{domain → lib/domain}/users/models/enums/office-position.enum.d.ts +0 -0
  897. /package/{domain → lib/domain}/users/models/enums/product-spents.enum.d.ts +0 -0
  898. /package/{domain → lib/domain}/users/models/enums/user-type.enum.d.ts +0 -0
  899. /package/{domain → lib/domain}/users/models/index.d.ts +0 -0
  900. /package/{domain → lib/domain}/users/models/subscription/enums/billing-status.enum.d.ts +0 -0
  901. /package/{domain → lib/domain}/users/models/subscription/enums/edition-status.enum.d.ts +0 -0
  902. /package/{domain → lib/domain}/users/models/subscription/enums/index.d.ts +0 -0
  903. /package/{domain → lib/domain}/users/models/subscription/enums/payment-type.enum.d.ts +0 -0
  904. /package/{domain → lib/domain}/users/models/subscription/enums/status.enum.d.ts +0 -0
  905. /package/{domain → lib/domain}/users/models/subscription/index.d.ts +0 -0
  906. /package/{domain → lib/domain}/users/repositories/index.d.ts +0 -0
  907. /package/{domain → lib/domain}/users/services/index.d.ts +0 -0
  908. /package/{domain → lib/domain}/users/services/register.service.d.ts +0 -0
  909. /package/{domain → lib/domain}/users/services/types/basic-user-data.type.d.ts +0 -0
  910. /package/{domain → lib/domain}/users/services/types/index.d.ts +0 -0
  911. /package/{domain → lib/domain}/users/use-cases/authentication.d.ts +0 -0
  912. /package/{domain → lib/domain}/users/use-cases/register.d.ts +0 -0
  913. /package/{domain → lib/domain}/users/use-cases/signout.d.ts +0 -0
  914. /package/{errors → lib/errors}/index.d.ts +0 -0
  915. /package/{infra → lib/infra}/firebase/auth/index.d.ts +0 -0
  916. /package/{infra → lib/infra}/firebase/auth/types/firebase-user-with-id.type.d.ts +0 -0
  917. /package/{infra → lib/infra}/firebase/firestore/index.d.ts +0 -0
  918. /package/{infra → lib/infra}/firebase/firestore/mixins/index.d.ts +0 -0
  919. /package/{infra → lib/infra}/firebase/firestore/repositories/catalog/index.d.ts +0 -0
  920. /package/{infra → lib/infra}/firebase/firestore/repositories/index.d.ts +0 -0
  921. /package/{infra → lib/infra}/firebase/firestore/repositories/shop-settings/index.d.ts +0 -0
  922. /package/{infra → lib/infra}/firebase/firestore/repositories/shopping/index.d.ts +0 -0
  923. /package/{infra → lib/infra}/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +0 -0
  924. /package/{infra → lib/infra}/firebase/firestore/repositories/users/index.d.ts +0 -0
  925. /package/{infra → lib/infra}/firebase/firestore/types/index.d.ts +0 -0
  926. /package/{infra → lib/infra}/firebase/index.d.ts +0 -0
  927. /package/{utils → lib/utils}/mixins/base.mixin.d.ts +0 -0
  928. /package/{utils → lib/utils}/types/prop.type.d.ts +0 -0
@@ -1,5 +0,0 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9pbmZyYS9oYXN1cmEtZ3JhcGhxbC9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywyQkFBMkIsQ0FBQTtBQUN6QyxjQUFjLDhCQUE4QixDQUFBO0FBQzVDLGNBQWMsMEJBQTBCLENBQUE7QUFDeEMsY0FBYywwQkFBMEIsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2F0ZWdvcnktaGFzdXJhLWdyYXBocWwnXG5leHBvcnQgKiBmcm9tICcuL2tpdC1wcm9kdWN0LWhhc3VyYS1ncmFwaHFsJ1xuZXhwb3J0ICogZnJvbSAnLi9wcm9kdWN0LWhhc3VyYS1ncmFwaHFsJ1xuZXhwb3J0ICogZnJvbSAnLi92YXJpYW50LWhhc3VyYS1ncmFwaHFsJ1xuIl19
@@ -1,15 +0,0 @@
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
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXByb2R1Y3QtaGFzdXJhLWdyYXBocWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9pbmZyYS9oYXN1cmEtZ3JhcGhxbC9tb2RlbHMva2l0LXByb2R1Y3QtaGFzdXJhLWdyYXBocWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQTtBQUV4QyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0saUJBQWlCLENBQUE7QUFFNUMsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMEJBQTBCLENBQUE7QUFFL0QsTUFBTSxPQUFPLHVCQUF3QixTQUFRLFVBQVU7Q0FNdEQ7QUFKQztJQURDLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyxvQkFBb0IsQ0FBQzs4QkFDNUIsb0JBQW9CO29EQUFBO0FBR3pCO0lBREMsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDLG9CQUFvQixDQUFDOzhCQUN4QixvQkFBb0I7d0RBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUeXBlIH0gZnJvbSAnY2xhc3MtdHJhbnNmb3JtZXInXG5cbmltcG9ydCB7IEtpdFByb2R1Y3QgfSBmcm9tICcuLi8uLi8uLi9kb21haW4nXG5cbmltcG9ydCB7IFByb2R1Y3RIYXN1cmFHcmFwaFFMIH0gZnJvbSAnLi9wcm9kdWN0LWhhc3VyYS1ncmFwaHFsJ1xuXG5leHBvcnQgY2xhc3MgS2l0UHJvZHVjdEhhc3VyYUdyYXBoUUwgZXh0ZW5kcyBLaXRQcm9kdWN0IHtcbiAgQFR5cGUoKCkgPT4gUHJvZHVjdEhhc3VyYUdyYXBoUUwpXG4gIGtpdDogUHJvZHVjdEhhc3VyYUdyYXBoUUxcblxuICBAVHlwZSgoKSA9PiBQcm9kdWN0SGFzdXJhR3JhcGhRTClcbiAgcHJvZHVjdDogUHJvZHVjdEhhc3VyYUdyYXBoUUxcbn1cbiJdfQ==
@@ -1,11 +0,0 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC1oYXN1cmEtZ3JhcGhxbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2luZnJhL2hhc3VyYS1ncmFwaHFsL21vZGVscy9wcm9kdWN0LWhhc3VyYS1ncmFwaHFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sbUJBQW1CLENBQUE7QUFFeEMsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBRXpDLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDhCQUE4QixDQUFBO0FBRXRFLE1BQU0sT0FBTyxvQkFBcUIsU0FBUSxPQUFPO0NBUWhEO0FBREM7SUFEQyxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMsdUJBQXVCLENBQUM7O3lEQUNHIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVHlwZSB9IGZyb20gJ2NsYXNzLXRyYW5zZm9ybWVyJ1xuXG5pbXBvcnQgeyBQcm9kdWN0IH0gZnJvbSAnLi4vLi4vLi4vZG9tYWluJ1xuXG5pbXBvcnQgeyBLaXRQcm9kdWN0SGFzdXJhR3JhcGhRTCB9IGZyb20gJy4va2l0LXByb2R1Y3QtaGFzdXJhLWdyYXBocWwnXG5cbmV4cG9ydCBjbGFzcyBQcm9kdWN0SGFzdXJhR3JhcGhRTCBleHRlbmRzIFByb2R1Y3Qge1xuICBmaXJlc3RvcmVJZD86IHN0cmluZ1xuICBmdWxsUHJpY2U/OiBudW1iZXJcbiAgc3Vic2NyaWJlckRpc2NvdW50UGVyY2VudGFnZT86IG51bWJlclxuICBzdWJzY3JpYmVyUHJpY2U/OiBudW1iZXJcblxuICBAVHlwZSgoKSA9PiBLaXRQcm9kdWN0SGFzdXJhR3JhcGhRTClcbiAga2l0UHJvZHVjdHM/OiBLaXRQcm9kdWN0SGFzdXJhR3JhcGhRTFtdXG59XG4iXX0=
@@ -1,9 +0,0 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFyaWFudC1oYXN1cmEtZ3JhcGhxbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2luZnJhL2hhc3VyYS1ncmFwaHFsL21vZGVscy92YXJpYW50LWhhc3VyYS1ncmFwaHFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQTtBQUV6QyxNQUFNLE9BQU8sb0JBQXFCLFNBQVEsT0FBTztJQUFqRDs7UUFNRSxTQUFJLEdBQUssRUFBRSxDQUFBO1FBQ1gsZ0JBQVcsR0FBSyxLQUFLLENBQUE7SUFDdkIsQ0FBQztDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVmFyaWFudCB9IGZyb20gJy4uLy4uLy4uL2RvbWFpbidcblxuZXhwb3J0IGNsYXNzIFZhcmlhbnRIYXN1cmFHcmFwaFFMIGV4dGVuZHMgVmFyaWFudCB7XG4gIGZpcmVzdG9yZUlkPzogc3RyaW5nXG4gIGZ1bGxQcmljZT86IG51bWJlclxuICBzdWJzY3JpYmVyRGlzY291bnRQZXJjZW50YWdlPzogbnVtYmVyXG4gIHN1YnNjcmliZXJQcmljZT86IG51bWJlclxuXG4gIG5hbWUgPyA9ICcnXG4gIGhhc1ZhcmlhbnRzID8gPSBmYWxzZVxufVxuIl19
@@ -1,135 +0,0 @@
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,eyJ2ZXJzaW9uIjozLCJmaWx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gICAgICAgIGJpbmRGaW5kRmlsdGVyOiAoc2VudGVuY2U6IGFueSkgPT4ge1xuICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIC4uLihzZW50ZW5jZS5icmFuZCA/IHsgYnJhbmRfY29uZGl0aW9uOiBzZW50ZW5jZS5icmFuZCB9IDoge30pLFxuICAgICAgICAgICAgICAgIC4uLihzZW50ZW5jZS50YWdzID8geyB0YWdfY29uZGl0aW9uOiBzZW50ZW5jZS50YWdzIH0gOiB7fSksXG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgfSxcbiAgICAgICAgfSxcbiAgICAgICAgJ2ZpbHRlcnMnLFxuICAgICAgICB7IGNyZWF0ZWRBdDogeyBjb2x1bW5OYW1lOiAnY3JlYXRlZF9hdCcgfSB9LFxuICAgICAgICB7IHVwZGF0ZWRBdDogeyBjb2x1bW5OYW1lOiAndXBkYXRlZF9hdCcgfSB9LFxuICAgICAgICB7XG4gICAgICAgICAgcHJvZHVjdHM6IHtcbiAgICAgICAgICAgIGNvbHVtbk5hbWU6ICdwcm9kdWN0cycsXG4gICAgICAgICAgICBmaWVsZHM6IFsncHJvZHVjdF9pZCddLFxuICAgICAgICAgICAgZnJvbTogKHZhbHVlOiB7IHByb2R1Y3RfaWQ6IG51bWJlciB9W10pID0+IHZhbHVlLm1hcCgocHJvZHVjdCkgPT4gcHJvZHVjdC5wcm9kdWN0X2lkLnRvU3RyaW5nKCkpLFxuICAgICAgICAgICAgdG86IChwcm9kdWN0SWRzKSA9PlxuICAgICAgICAgICAgICBwcm9kdWN0SWRzLm1hcCgocHJvZHVjdElkKSA9PiAoe1xuICAgICAgICAgICAgICAgIHByb2R1Y3RfaWQ6ICtwcm9kdWN0SWQsXG4gICAgICAgICAgICAgIH0pKSxcbiAgICAgICAgICB9LFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICB9KVxuICB9XG5cbiAgYXN5bmMgZ2V0KGlkZW50aWZpZXJ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RGF0YSlcblxuICAgIHJldHVybiBwcm9kdWN0c1xuICB9XG59XG4iXX0=
@@ -1,4 +0,0 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9pbmZyYS9oYXN1cmEtZ3JhcGhxbC9yZXBvc2l0b3JpZXMvY2F0YWxvZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHNDQUFzQyxDQUFBO0FBQ3BELGNBQWMscUNBQXFDLENBQUE7QUFDbkQsY0FBYyxxQ0FBcUMsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2F0ZWdvcnktaGFzdXJhLWdyYXBocWwucmVwb3NpdG9yeSdcbmV4cG9ydCAqIGZyb20gJy4vcHJvZHVjdC1oYXN1cmEtZ3JhcGhxbC5yZXBvc2l0b3J5J1xuZXhwb3J0ICogZnJvbSAnLi92YXJpYW50LWhhc3VyYS1ncmFwaHFsLnJlcG9zaXRvcnknXG4iXX0=