@infrab4a/connect 4.0.0-beta.29 → 4.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 (278) hide show
  1. package/domain/catalog/index.d.ts +0 -1
  2. package/domain/catalog/models/category.d.ts +5 -10
  3. package/domain/catalog/models/index.d.ts +0 -4
  4. package/domain/catalog/models/kit-product.d.ts +1 -1
  5. package/domain/catalog/models/product.d.ts +3 -8
  6. package/domain/catalog/models/types/category-filter.type.d.ts +4 -0
  7. package/domain/catalog/models/types/index.d.ts +1 -2
  8. package/domain/catalog/models/variant.d.ts +2 -1
  9. package/domain/catalog/repositories/category.repository.d.ts +3 -4
  10. package/domain/catalog/repositories/index.d.ts +0 -4
  11. package/domain/catalog/repositories/product.repository.d.ts +0 -1
  12. package/domain/generic/model/base.model.d.ts +5 -9
  13. package/domain/generic/model/types/base-model-builder.type.d.ts +2 -4
  14. package/domain/generic/model/types/identifier-model.type.d.ts +5 -6
  15. package/domain/generic/model/types/model-base-structure.type.d.ts +3 -9
  16. package/domain/generic/model/types/non-function-property-name.type.d.ts +3 -12
  17. package/domain/generic/repository/find.repository.d.ts +0 -3
  18. package/domain/generic/repository/get.repository.d.ts +2 -2
  19. package/domain/generic/repository/types/repository-find-filters.type.d.ts +3 -3
  20. package/domain/generic/repository/types/repository-order-by-list.type.d.ts +2 -2
  21. package/domain/generic/repository/types/repository-update-params.type.d.ts +2 -2
  22. package/domain/location/models/address.d.ts +3 -5
  23. package/domain/shop-settings/models/index.d.ts +0 -1
  24. package/domain/shop-settings/models/types/index.d.ts +1 -6
  25. package/domain/shop-settings/repositories/index.d.ts +0 -1
  26. package/domain/shopping/models/buy-2-win.d.ts +1 -3
  27. package/domain/shopping/models/checkout.d.ts +6 -5
  28. package/domain/shopping/models/index.d.ts +4 -5
  29. package/domain/shopping/models/subscription/checkout.d.ts +4 -3
  30. package/domain/shopping/repositories/index.d.ts +2 -4
  31. package/domain/users/models/lead.d.ts +0 -1
  32. package/domain/users/models/subscription/subscription.d.ts +3 -3
  33. package/domain/users/models/user-address.d.ts +2 -1
  34. package/domain/users/models/user.d.ts +3 -2
  35. package/esm2020/domain/catalog/index.mjs +1 -2
  36. package/esm2020/domain/catalog/models/category.mjs +4 -12
  37. package/esm2020/domain/catalog/models/index.mjs +1 -5
  38. package/esm2020/domain/catalog/models/kit-product.mjs +2 -2
  39. package/esm2020/domain/catalog/models/product.mjs +3 -23
  40. package/esm2020/domain/catalog/models/types/category-filter.type.mjs +2 -0
  41. package/esm2020/domain/catalog/models/types/index.mjs +2 -3
  42. package/esm2020/domain/catalog/models/variant.mjs +4 -1
  43. package/esm2020/domain/catalog/repositories/category.repository.mjs +1 -1
  44. package/esm2020/domain/catalog/repositories/index.mjs +1 -5
  45. package/esm2020/domain/catalog/repositories/product.repository.mjs +1 -1
  46. package/esm2020/domain/generic/model/base.model.mjs +2 -3
  47. package/esm2020/domain/generic/model/types/base-model-builder.type.mjs +1 -1
  48. package/esm2020/domain/generic/model/types/identifier-model.type.mjs +1 -1
  49. package/esm2020/domain/generic/model/types/model-base-structure.type.mjs +1 -1
  50. package/esm2020/domain/generic/model/types/non-function-property-name.type.mjs +1 -1
  51. package/esm2020/domain/generic/repository/find.repository.mjs +1 -1
  52. package/esm2020/domain/generic/repository/get.repository.mjs +1 -1
  53. package/esm2020/domain/generic/repository/types/repository-find-filters.type.mjs +1 -1
  54. package/esm2020/domain/generic/repository/types/repository-order-by-list.type.mjs +1 -1
  55. package/esm2020/domain/generic/repository/types/repository-update-params.type.mjs +1 -1
  56. package/esm2020/domain/location/models/address.mjs +2 -2
  57. package/esm2020/domain/shop-settings/models/index.mjs +1 -2
  58. package/esm2020/domain/shop-settings/models/types/index.mjs +2 -7
  59. package/esm2020/domain/shop-settings/repositories/index.mjs +1 -2
  60. package/esm2020/domain/shopping/models/buy-2-win.mjs +2 -2
  61. package/esm2020/domain/shopping/models/checkout.mjs +7 -6
  62. package/esm2020/domain/shopping/models/index.mjs +5 -6
  63. package/esm2020/domain/shopping/models/order.mjs +1 -1
  64. package/esm2020/domain/shopping/models/subscription/checkout.mjs +6 -6
  65. package/esm2020/domain/shopping/repositories/index.mjs +3 -5
  66. package/esm2020/domain/users/models/lead.mjs +1 -1
  67. package/esm2020/domain/users/models/subscription/edition.mjs +1 -1
  68. package/esm2020/domain/users/models/subscription/payment.mjs +1 -1
  69. package/esm2020/domain/users/models/subscription/subscription.mjs +6 -6
  70. package/esm2020/domain/users/models/user-address.mjs +1 -1
  71. package/esm2020/domain/users/models/user-payment-method.mjs +1 -1
  72. package/esm2020/domain/users/models/user.mjs +2 -2
  73. package/esm2020/domain/users/use-cases/authentication.mjs +2 -2
  74. package/esm2020/infra/elasticsearch/adapters/axios.adapter.mjs +11 -28
  75. package/esm2020/infra/elasticsearch/adapters/elastic-search.adapter.mjs +1 -1
  76. package/esm2020/infra/elasticsearch/indexes/products-index.mjs +51 -58
  77. package/esm2020/infra/elasticsearch/types/elastic-search-result.mjs +1 -1
  78. package/esm2020/infra/firebase/firestore/mixins/with-create-firestore.mixin.mjs +4 -8
  79. package/esm2020/infra/firebase/firestore/mixins/with-crud-firestore.mixin.mjs +1 -1
  80. package/esm2020/infra/firebase/firestore/mixins/with-delete-firestore.mixin.mjs +2 -6
  81. package/esm2020/infra/firebase/firestore/mixins/with-find-firestore.mixin.mjs +7 -10
  82. package/esm2020/infra/firebase/firestore/mixins/with-firestore.mixin.mjs +4 -27
  83. package/esm2020/infra/firebase/firestore/mixins/with-get-firestore.mixin.mjs +3 -6
  84. package/esm2020/infra/firebase/firestore/mixins/with-helpers.mixin.mjs +1 -1
  85. package/esm2020/infra/firebase/firestore/mixins/with-sub-collection.mixin.mjs +3 -5
  86. package/esm2020/infra/firebase/firestore/mixins/with-update-firestore.mixin.mjs +4 -7
  87. package/esm2020/infra/firebase/firestore/repositories/catalog/category-firestore.repository.mjs +8 -15
  88. package/esm2020/infra/firebase/firestore/repositories/catalog/product-firestore.repository.mjs +6 -11
  89. package/esm2020/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.mjs +8 -10
  90. package/esm2020/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.mjs +6 -8
  91. package/esm2020/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.mjs +30 -36
  92. package/esm2020/infra/firebase/firestore/repositories/shop-settings/index.mjs +1 -2
  93. package/esm2020/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.mjs +6 -8
  94. package/esm2020/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.mjs +6 -8
  95. package/esm2020/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.mjs +6 -8
  96. package/esm2020/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.mjs +6 -8
  97. package/esm2020/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.mjs +6 -8
  98. package/esm2020/infra/firebase/firestore/repositories/shopping/index.mjs +4 -6
  99. package/esm2020/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.mjs +4 -6
  100. package/esm2020/infra/firebase/firestore/repositories/shopping/order-firestore.repository.mjs +9 -11
  101. package/esm2020/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.mjs +6 -8
  102. package/esm2020/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.mjs +6 -8
  103. package/esm2020/infra/firebase/firestore/repositories/users/lead-firestore.repository.mjs +6 -8
  104. package/esm2020/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.mjs +8 -10
  105. package/esm2020/infra/firebase/firestore/repositories/users/subscription-firestore.repository.mjs +6 -8
  106. package/esm2020/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.mjs +8 -10
  107. package/esm2020/infra/firebase/firestore/repositories/users/user-address-firestore.repository.mjs +8 -10
  108. package/esm2020/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.mjs +8 -10
  109. package/esm2020/infra/firebase/firestore/repositories/users/user-firestore.repository.mjs +6 -8
  110. package/esm2020/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.mjs +8 -10
  111. package/esm2020/infra/firebase/firestore/types/firestore-sub.repository.type.mjs +1 -1
  112. package/esm2020/infra/firebase/firestore/types/firestore.helpers.type.mjs +1 -1
  113. package/esm2020/infra/firebase/firestore/types/firestore.repository.type.mjs +1 -1
  114. package/esm2020/infra/firebase/firestore/types/index.mjs +3 -4
  115. package/esm2020/infra/hasura-graphql/mixins/helpers/attribute-option.helper.mjs +2 -2
  116. package/esm2020/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.mjs +4 -5
  117. package/esm2020/infra/hasura-graphql/mixins/helpers/filter-option.helper.mjs +1 -1
  118. package/esm2020/infra/hasura-graphql/mixins/helpers/graphql-field.helper.mjs +25 -36
  119. package/esm2020/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.mjs +4 -6
  120. package/esm2020/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.mjs +1 -1
  121. package/esm2020/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.mjs +3 -5
  122. package/esm2020/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.mjs +15 -36
  123. package/esm2020/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.mjs +3 -5
  124. package/esm2020/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.mjs +24 -40
  125. package/esm2020/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.mjs +5 -7
  126. package/esm2020/infra/hasura-graphql/models/product-hasura-graphql.mjs +1 -1
  127. package/esm2020/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.mjs +12 -130
  128. package/esm2020/infra/hasura-graphql/repositories/catalog/index.mjs +1 -5
  129. package/esm2020/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.mjs +16 -43
  130. package/esm2020/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.mjs +7 -8
  131. package/esm2020/infra/hasura-graphql/types/graphql.repository.type.mjs +1 -1
  132. package/esm2020/infra/hasura-graphql/types/hasura-graphql-fields.type.mjs +1 -1
  133. package/esm2020/utils/index.mjs +4 -6
  134. package/fesm2015/infrab4a-connect.mjs +385 -1497
  135. package/fesm2015/infrab4a-connect.mjs.map +1 -1
  136. package/fesm2020/infrab4a-connect.mjs +391 -1473
  137. package/fesm2020/infrab4a-connect.mjs.map +1 -1
  138. package/infra/elasticsearch/adapters/axios.adapter.d.ts +5 -7
  139. package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +2 -3
  140. package/infra/elasticsearch/indexes/products-index.d.ts +10 -8
  141. package/infra/elasticsearch/types/elastic-search-result.d.ts +0 -2
  142. package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +2 -2
  143. package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +1 -2
  144. package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +2 -2
  145. package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +2 -2
  146. package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +4 -13
  147. package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +2 -2
  148. package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +2 -2
  149. package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +4 -8
  150. package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +3 -3
  151. package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +5 -6
  152. package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +4 -4
  153. package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +4 -3
  154. package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +4 -3
  155. package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +4 -4
  156. package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +0 -1
  157. package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +4 -3
  158. package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +4 -3
  159. package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +4 -3
  160. package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +4 -3
  161. package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +4 -4
  162. package/infra/firebase/firestore/repositories/shopping/index.d.ts +3 -5
  163. package/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +4 -3
  164. package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +4 -4
  165. package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +4 -3
  166. package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +4 -3
  167. package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +4 -3
  168. package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +4 -3
  169. package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +4 -3
  170. package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +4 -3
  171. package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +4 -3
  172. package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +4 -3
  173. package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +4 -4
  174. package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +4 -3
  175. package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +3 -3
  176. package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +5 -5
  177. package/infra/firebase/firestore/types/firestore.repository.type.d.ts +1 -3
  178. package/infra/firebase/firestore/types/index.d.ts +2 -3
  179. package/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +3 -9
  180. package/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +5 -5
  181. package/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +2 -4
  182. package/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +5 -8
  183. package/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +1 -2
  184. package/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +3 -3
  185. package/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +1 -1
  186. package/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +15 -12
  187. package/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +6 -7
  188. package/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +3 -14
  189. package/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +2 -2
  190. package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +0 -1
  191. package/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +5 -10
  192. package/infra/hasura-graphql/repositories/catalog/index.d.ts +0 -4
  193. package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +3 -4
  194. package/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +4 -4
  195. package/infra/hasura-graphql/types/graphql.repository.type.d.ts +5 -7
  196. package/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +3 -7
  197. package/package.json +1 -2
  198. package/utils/index.d.ts +22 -5
  199. package/domain/catalog/helpers/RoundProdutcPriceHelper.d.ts +0 -4
  200. package/domain/catalog/helpers/index.d.ts +0 -1
  201. package/domain/catalog/models/category-collection-children.d.ts +0 -13
  202. package/domain/catalog/models/category-filter.d.ts +0 -11
  203. package/domain/catalog/models/filter-option.d.ts +0 -9
  204. package/domain/catalog/models/filter.d.ts +0 -12
  205. package/domain/catalog/models/types/category-product.d.ts +0 -4
  206. package/domain/catalog/models/types/product-evaluation.type.d.ts +0 -6
  207. package/domain/catalog/repositories/category-collection-children.repository.d.ts +0 -4
  208. package/domain/catalog/repositories/category-filter.repository.d.ts +0 -5
  209. package/domain/catalog/repositories/filter-option.repository.d.ts +0 -4
  210. package/domain/catalog/repositories/filter.repository.d.ts +0 -4
  211. package/domain/shop-settings/models/shop-settings.d.ts +0 -9
  212. package/domain/shop-settings/models/types/shop-banner.type.d.ts +0 -12
  213. package/domain/shop-settings/models/types/shop-brands.type.d.ts +0 -10
  214. package/domain/shop-settings/models/types/shop-carousel.type.d.ts +0 -5
  215. package/domain/shop-settings/models/types/shop-collection.type.d.ts +0 -9
  216. package/domain/shop-settings/models/types/shop-section.type.d.ts +0 -9
  217. package/domain/shop-settings/repositories/shop-settings.repository.d.ts +0 -4
  218. package/domain/shopping/models/campaign-dashboard.d.ts +0 -15
  219. package/domain/shopping/models/campaign-hashtag.d.ts +0 -18
  220. package/domain/shopping/repositories/campaign-dashboard.repository.d.ts +0 -4
  221. package/domain/shopping/repositories/campaign-hashtag.repository.d.ts +0 -4
  222. package/esm2020/domain/catalog/helpers/RoundProdutcPriceHelper.mjs +0 -15
  223. package/esm2020/domain/catalog/helpers/index.mjs +0 -2
  224. package/esm2020/domain/catalog/models/category-collection-children.mjs +0 -13
  225. package/esm2020/domain/catalog/models/category-filter.mjs +0 -14
  226. package/esm2020/domain/catalog/models/filter-option.mjs +0 -7
  227. package/esm2020/domain/catalog/models/filter.mjs +0 -7
  228. package/esm2020/domain/catalog/models/types/category-product.mjs +0 -2
  229. package/esm2020/domain/catalog/models/types/product-evaluation.type.mjs +0 -2
  230. package/esm2020/domain/catalog/repositories/category-collection-children.repository.mjs +0 -2
  231. package/esm2020/domain/catalog/repositories/category-filter.repository.mjs +0 -2
  232. package/esm2020/domain/catalog/repositories/filter-option.repository.mjs +0 -2
  233. package/esm2020/domain/catalog/repositories/filter.repository.mjs +0 -2
  234. package/esm2020/domain/shop-settings/models/shop-settings.mjs +0 -7
  235. package/esm2020/domain/shop-settings/models/types/shop-banner.type.mjs +0 -2
  236. package/esm2020/domain/shop-settings/models/types/shop-brands.type.mjs +0 -2
  237. package/esm2020/domain/shop-settings/models/types/shop-carousel.type.mjs +0 -2
  238. package/esm2020/domain/shop-settings/models/types/shop-collection.type.mjs +0 -2
  239. package/esm2020/domain/shop-settings/models/types/shop-section.type.mjs +0 -2
  240. package/esm2020/domain/shop-settings/repositories/shop-settings.repository.mjs +0 -2
  241. package/esm2020/domain/shopping/models/campaign-dashboard.mjs +0 -7
  242. package/esm2020/domain/shopping/models/campaign-hashtag.mjs +0 -7
  243. package/esm2020/domain/shopping/repositories/campaign-dashboard.repository.mjs +0 -2
  244. package/esm2020/domain/shopping/repositories/campaign-hashtag.repository.mjs +0 -2
  245. package/esm2020/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.mjs +0 -14
  246. package/esm2020/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.mjs +0 -14
  247. package/esm2020/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.mjs +0 -14
  248. package/esm2020/infra/firebase/firestore/types/firestore-interceptors.type.mjs +0 -2
  249. package/esm2020/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.mjs +0 -38
  250. package/esm2020/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.mjs +0 -56
  251. package/esm2020/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.mjs +0 -105
  252. package/esm2020/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.mjs +0 -22
  253. package/esm2020/utils/decorators/debug.class.decorator.mjs +0 -7
  254. package/esm2020/utils/decorators/index.mjs +0 -3
  255. package/esm2020/utils/decorators/trace.method.decorator.mjs +0 -81
  256. package/esm2020/utils/helpers/class-name.helper.mjs +0 -15
  257. package/esm2020/utils/helpers/debug-decorator.helper.mjs +0 -18
  258. package/esm2020/utils/helpers/debug.helper.mjs +0 -150
  259. package/esm2020/utils/helpers/index.mjs +0 -5
  260. package/esm2020/utils/helpers/reflect.helper.mjs +0 -165
  261. package/esm2020/utils/log.utils.mjs +0 -9
  262. package/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +0 -7
  263. package/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.d.ts +0 -8
  264. package/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.d.ts +0 -8
  265. package/infra/firebase/firestore/types/firestore-interceptors.type.d.ts +0 -14
  266. package/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.d.ts +0 -10
  267. package/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +0 -11
  268. package/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.d.ts +0 -18
  269. package/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.d.ts +0 -10
  270. package/utils/decorators/debug.class.decorator.d.ts +0 -2
  271. package/utils/decorators/index.d.ts +0 -2
  272. package/utils/decorators/trace.method.decorator.d.ts +0 -14
  273. package/utils/helpers/class-name.helper.d.ts +0 -3
  274. package/utils/helpers/debug-decorator.helper.d.ts +0 -9
  275. package/utils/helpers/debug.helper.d.ts +0 -60
  276. package/utils/helpers/index.d.ts +0 -4
  277. package/utils/helpers/reflect.helper.d.ts +0 -50
  278. package/utils/log.utils.d.ts +0 -7
@@ -1,3 +1,2 @@
1
- export * from './helpers';
2
1
  export * from './models';
3
2
  export * from './repositories';
@@ -1,7 +1,6 @@
1
- import { BaseModel, GenericIdentifier } from '../../generic/model';
1
+ import { BaseModel, GenericIdentifier, NonFunctionPropertyNames } from '../../generic/model';
2
2
  import { Shops } from './enums';
3
- import { Filter } from './filter';
4
- import { CategoryCondition, CategoryMetadata } from './types';
3
+ import { CategoryCondition, CategoryFilter, CategoryMetadata } from './types';
5
4
  export declare class Category extends BaseModel<Category> {
6
5
  id: string;
7
6
  brandCategory: boolean;
@@ -14,16 +13,12 @@ export declare class Category extends BaseModel<Category> {
14
13
  description: string;
15
14
  conditions?: CategoryCondition;
16
15
  products?: string[];
16
+ filters?: CategoryFilter[];
17
17
  createdAt?: Date;
18
18
  updatedAt?: Date;
19
- shop?: Shops;
20
- shops?: string[];
19
+ shop: Shops;
21
20
  published: boolean;
22
21
  metadata: CategoryMetadata;
23
- isCollection?: boolean;
24
- reference?: string;
25
- parentId?: number;
26
- parent?: Category;
27
- filters?: Filter[];
22
+ identifierFields(): NonFunctionPropertyNames<Category>[];
28
23
  static get identifiersFields(): GenericIdentifier[];
29
24
  }
@@ -1,9 +1,5 @@
1
1
  export * from './category';
2
- export * from './category-collection-children';
3
- export * from './category-filter';
4
2
  export * from './enums';
5
- export * from './filter';
6
- export * from './filter-option';
7
3
  export * from './kit-product';
8
4
  export * from './product';
9
5
  export * from './types';
@@ -1,6 +1,6 @@
1
1
  import { BaseModel } from '../../generic/model';
2
2
  import { Product } from './product';
3
- declare type KitProductIdentifiers = 'productId' | 'kitProductId';
3
+ declare type KitProductIdentifiers = 'productId' | 'kitProducId';
4
4
  export declare class KitProduct extends BaseModel<KitProduct, KitProductIdentifiers> {
5
5
  productId: string;
6
6
  kitProductId: string;
@@ -1,7 +1,6 @@
1
- import { BaseModel, GenericIdentifier } from '../../generic/model';
2
- import { Category } from './category';
1
+ import { BaseModel, GenericIdentifier, NonFunctionPropertyNames } from '../../generic/model';
3
2
  import { KitProduct } from './kit-product';
4
- import { ProductEvaluation, ProductGender, ProductMetadata, ProductReview, ShopDescription, ShopPrice, Stock } from './types';
3
+ import { ProductGender, ProductMetadata, ProductReview, ShopDescription, ShopPrice, Stock } from './types';
5
4
  import { Variant } from './variant';
6
5
  export declare class Product extends BaseModel<Product> {
7
6
  id: string;
@@ -24,7 +23,6 @@ export declare class Product extends BaseModel<Product> {
24
23
  updatedAt?: Date;
25
24
  brand: string;
26
25
  tags?: string[];
27
- filters?: string[];
28
26
  type?: string;
29
27
  categories?: string[];
30
28
  reviews?: ProductReview[];
@@ -35,10 +33,7 @@ export declare class Product extends BaseModel<Product> {
35
33
  gender?: ProductGender;
36
34
  shoppingCount?: number;
37
35
  metadata: ProductMetadata;
38
- category: Category;
39
36
  kitProducts?: KitProduct[];
40
- private reviewsTotal?;
41
- get evaluation(): ProductEvaluation;
42
- set evaluation(evaluation: ProductEvaluation);
37
+ identifierFields(): NonFunctionPropertyNames<Product>[];
43
38
  static get identifiersFields(): GenericIdentifier[];
44
39
  }
@@ -0,0 +1,4 @@
1
+ export declare type CategoryFilter = {
2
+ name?: string;
3
+ tags?: string[];
4
+ };
@@ -1,7 +1,6 @@
1
1
  export * from './category-condition.type';
2
+ export * from './category-filter.type';
2
3
  export * from './category-metadata.type';
3
- export * from './category-product';
4
- export * from './product-evaluation.type';
5
4
  export * from './product-gender.type';
6
5
  export * from './product-metadata.type';
7
6
  export * from './product-review.type';
@@ -1,4 +1,4 @@
1
- import { BaseModel } from '../../generic/model';
1
+ import { BaseModel, NonFunctionPropertyNames } from '../../generic/model';
2
2
  import { ShopPrice, Stock, VariantGrade } from './types';
3
3
  export declare type ProductVariantIdentifiers = 'id' | 'productId';
4
4
  export declare class Variant extends BaseModel<Variant, ProductVariantIdentifiers> {
@@ -13,5 +13,6 @@ export declare class Variant extends BaseModel<Variant, ProductVariantIdentifier
13
13
  weight: number;
14
14
  createdAt?: Date;
15
15
  updatedAt?: Date;
16
+ identifierFields(): NonFunctionPropertyNames<Variant>[];
16
17
  static get identifiersFields(): ProductVariantIdentifiers[];
17
18
  }
@@ -1,11 +1,10 @@
1
- import { CrudRepository } from '../../generic/repository/crud.repository';
2
- import { Product } from '../models';
3
1
  import { Category } from '../models/category';
2
+ import { CrudRepository } from '../../generic/repository/crud.repository';
4
3
  import { Shops } from '../models/enums/shops.enum';
4
+ import { Product } from '../models';
5
5
  export interface CategoryRepository extends CrudRepository<Category> {
6
6
  getCategoryBySlug(slug: string, shop: Shops): Promise<Category>;
7
- getCategoryByShop(shop: string): Promise<Category[]>;
8
- getCategoriesForHome(categoryIds: string[], limit?: number, gender?: string): Promise<{
7
+ getCategoriesForHome(categoryIds: string[], limit?: number): Promise<{
9
8
  category: Category;
10
9
  products: Product[];
11
10
  }[]>;
@@ -1,8 +1,4 @@
1
- export * from './category-collection-children.repository';
2
- export * from './category-filter.repository';
3
1
  export * from './category.repository';
4
- export * from './filter-option.repository';
5
- export * from './filter.repository';
6
2
  export * from './product.repository';
7
3
  export * from './subscription-product.repository';
8
4
  export * from './variant.repository';
@@ -9,5 +9,4 @@ export declare type ReviewWithProductData = ProductReview & {
9
9
  export interface ProductRepository extends CrudRepository<Product> {
10
10
  getBySlug(slug: string): Promise<Product>;
11
11
  fetchReviews(status: ReviewStatusParams): Promise<ReviewWithProductData[]>;
12
- cleanShoppingCountFromIds(ids: string[]): Promise<any>;
13
12
  }
@@ -1,14 +1,10 @@
1
- import { ModelBaseStructure, NonFunctionAndIdentifierProperties, NonFunctionAndIdentifierPropertyNames } from './types';
2
- export declare type GenericIdentifier<M = {
3
- id: string;
4
- }, T = NonFunctionAndIdentifierPropertyNames<M>> = T;
5
- export declare class BaseModel<Model extends ModelBaseStructure<Model, Identifiers>, Identifiers = GenericIdentifier> implements ModelBaseStructure<Model, Identifiers> {
6
- get identifier(): {
7
- [key in Extract<NonFunctionAndIdentifierPropertyNames<Model>, Identifiers>]: Model[key];
8
- };
1
+ import { ModelBaseStructure, NonFunctionAndIdentifierProperties, NonFunctionProperties } from './types';
2
+ export declare type GenericIdentifier<T = 'id'> = T;
3
+ export declare class BaseModel<Model, Identifiers = GenericIdentifier> implements ModelBaseStructure<Model, Identifiers> {
4
+ get identifier(): NonFunctionAndIdentifierProperties<Model>;
9
5
  get identifiersFields(): Identifiers[];
10
6
  constructor(args?: Partial<Model>);
11
- static toInstance<T>(this: new () => T, data?: Partial<NonFunctionAndIdentifierProperties<T>>): T;
7
+ static toInstance<T extends ModelBaseStructure>(this: new () => T, data?: Partial<NonFunctionProperties<T>>): T;
12
8
  static isModel<T extends ModelBaseStructure>(this: new () => T, value: any): value is T;
13
9
  toPlain(): any;
14
10
  }
@@ -1,8 +1,6 @@
1
- import { PartialIdentifiersModel } from './identifier-model.type';
2
- import { ModelBaseStructure } from './model-base-structure.type';
3
1
  import { NonFunctionAndIdentifierPropertiesWithNoPartial } from './non-function-properties.type';
4
2
  import { NonFunctionAndIdentifierPropertyNames } from './non-function-property-name.type';
5
- export interface BaseModelBuilder<T extends ModelBaseStructure<T>, Identifiers = NonFunctionAndIdentifierPropertyNames<T> | any, P extends T & {
3
+ export interface BaseModelBuilder<T, Identifiers = NonFunctionAndIdentifierPropertyNames<T>, P extends T & {
6
4
  prototype: unknown;
7
5
  } = T & {
8
6
  prototype: unknown;
@@ -12,6 +10,6 @@ export interface BaseModelBuilder<T extends ModelBaseStructure<T>, Identifiers =
12
10
  prototype: {
13
11
  [key in keyof P['prototype']]: P['prototype'][key];
14
12
  };
15
- toInstance<E>(this: new () => E, data?: NonFunctionAndIdentifierPropertiesWithNoPartial<T> | PartialIdentifiersModel<T>): E;
13
+ toInstance(this: new () => T, data?: Partial<NonFunctionAndIdentifierPropertiesWithNoPartial<T>>): T;
16
14
  isModel(model: any): model is T;
17
15
  }
@@ -1,8 +1,7 @@
1
- import { PropType } from '../../../../utils';
1
+ import { ArrayElement, PropType } from '../../../../utils';
2
2
  import { ModelBaseStructure } from './model-base-structure.type';
3
+ import { NonFunctionAndIdentifierPropertiesWithNoPartial } from './non-function-properties.type';
3
4
  import { NonFunctionAndIdentifierPropertyNames } from './non-function-property-name.type';
4
- export declare type IdentifierModel<Model extends ModelBaseStructure> = Extract<NonFunctionAndIdentifierPropertyNames<Model>, PropType<Model, 'identifiersFields'>[number]>;
5
- export declare type IdentifiersModel<Model extends ModelBaseStructure> = {
6
- [K in IdentifierModel<Model>]: Model[K];
7
- };
8
- export declare type PartialIdentifiersModel<Model extends ModelBaseStructure> = Partial<IdentifiersModel<Model>>;
5
+ export declare type IdentifierModel<Model extends ModelBaseStructure> = ArrayElement<PropType<Model, 'identifiersFields'>>;
6
+ export declare type IdentifiersModel<Model extends ModelBaseStructure> = Pick<NonFunctionAndIdentifierPropertiesWithNoPartial<Model>, Extract<NonFunctionAndIdentifierPropertyNames<Model>, IdentifierModel<Model>>>;
7
+ export declare type PartialIdentifiersModel<Model extends ModelBaseStructure> = Partial<Pick<NonFunctionAndIdentifierPropertiesWithNoPartial<Model>, Extract<NonFunctionAndIdentifierPropertyNames<Model>, IdentifierModel<Model>>>>;
@@ -1,12 +1,6 @@
1
- import { NonFunctionAndIdentifierPropertyNames } from '..';
2
- declare type ModelBaseStructureRecord = Record<string, any> & {
3
- identifiersFields: any[];
4
- };
5
- export declare type ModelBaseStructure<M extends ModelBaseStructureRecord = ModelBaseStructureRecord, I = M['identifiersFields'][number]> = {
6
- identifier: {
7
- [key in Extract<NonFunctionAndIdentifierPropertyNames<M>, I>]: M[key];
8
- };
1
+ import { NonFunctionAndIdentifierProperties } from './non-function-properties.type';
2
+ export declare type ModelBaseStructure<M = any, I = any> = {
3
+ identifier: NonFunctionAndIdentifierProperties<M>;
9
4
  identifiersFields: I[];
10
5
  toPlain: any;
11
6
  };
12
- export {};
@@ -1,13 +1,4 @@
1
- export declare type IfEquals<X, Y, A = X, B = never> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? A : B;
2
- export declare type ReadonlyKeys<T> = {
3
- [P in keyof T]-?: IfEquals<{
4
- [Q in P]: T[P];
5
- }, {
6
- -readonly [Q in P]: T[P];
7
- }, never, P>;
8
- }[keyof T];
9
- export declare type WritableKeys<T> = Exclude<keyof T, ReadonlyKeys<T>>;
10
- export declare type NonFunctionPropertyNames<T, P = T, E extends WritableKeys<P> = WritableKeys<P>> = {
11
- [K in E]: P[K] extends Function ? never : K extends 'identifiersFields' ? never : K;
1
+ export declare type NonFunctionPropertyNames<T, E extends keyof T = keyof T> = {
2
+ [K in E]: T[K] extends Function ? never : K;
12
3
  }[E];
13
- export declare type NonFunctionAndIdentifierPropertyNames<T> = NonFunctionPropertyNames<Omit<T, 'identifier' | 'identifiersFields'>>;
4
+ export declare type NonFunctionAndIdentifierPropertyNames<T> = NonFunctionPropertyNames<T, Exclude<keyof T, 'identifier' | 'identifiersFields'>>;
@@ -5,9 +5,6 @@ export declare type FindRepositoryParams<Model extends ModelBaseStructure> = {
5
5
  fields?: NonFunctionPropertyNames<Model>[];
6
6
  limits?: RepositoryLimitOptions<Model>;
7
7
  orderBy?: RepositoryOrderBy<Model>;
8
- options?: {
9
- enableCount?: boolean;
10
- };
11
8
  };
12
9
  export interface FindRepository<Model extends ModelBaseStructure, Params = FindRepositoryParams<Model>> {
13
10
  find(options?: Params): Promise<RepositoryFindResult<Model>>;
@@ -1,5 +1,5 @@
1
- import { IdentifiersModel, ModelBaseStructure } from '../model/types';
2
- export declare type GetRepositoryParams<Model extends ModelBaseStructure> = IdentifiersModel<Model>;
1
+ import { ModelBaseStructure, NonFunctionAndIdentifierProperties } from '../model/types';
2
+ export declare type GetRepositoryParams<Model extends ModelBaseStructure> = NonFunctionAndIdentifierProperties<Model>;
3
3
  export interface GetRepository<Model extends ModelBaseStructure, Params = GetRepositoryParams<Model>> {
4
4
  get(identifiers: Params): Promise<Model>;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import { PropType } from '../../../../utils';
2
2
  import { ModelBaseStructure } from '../../model';
3
- import { NonFunctionAndIdentifierPropertyNames } from '../../model/types/non-function-property-name.type';
3
+ import { NonFunctionPropertyNames } from '../../model/types/non-function-property-name.type';
4
4
  import { Where } from '../enums/where.enum';
5
5
  export declare type RepositoryFindFieltersOptions<Model, FieldName extends keyof Model> = {
6
6
  operator: Where;
@@ -8,6 +8,6 @@ export declare type RepositoryFindFieltersOptions<Model, FieldName extends keyof
8
8
  };
9
9
  export declare type RepositoryFindField<Model, FieldName extends keyof Model> = RepositoryFindFieltersOptions<Model, FieldName> | RepositoryFindFieltersOptions<Model, FieldName>[] | Partial<PropType<Model, FieldName>>;
10
10
  export declare type NestedRepositoryFindFieltersOptions<Model> = {
11
- [key in NonFunctionAndIdentifierPropertyNames<Model>]?: PropType<Model, key> extends ModelBaseStructure ? NestedRepositoryFindFieltersOptions<PropType<Model, key>> : PropType<Required<Model>, key> extends any[] ? PropType<Required<Model>, key>[number] extends ModelBaseStructure ? NestedRepositoryFindFieltersOptions<PropType<Required<Model>, key>[number]> : PropType<Required<Model>, key>[number] extends Record<string, any> ? NestedRepositoryFindFieltersOptions<PropType<Required<Model>, key>[number]> : RepositoryFindField<Model, key> : PropType<Model, key> extends Record<string, any> ? NestedRepositoryFindFieltersOptions<Required<PropType<Model, key>>> : RepositoryFindField<Model, key>;
11
+ [key in NonFunctionPropertyNames<Model>]?: PropType<Model, key> extends ModelBaseStructure<PropType<Model, key>> ? NestedRepositoryFindFieltersOptions<PropType<Model, key>> : PropType<Required<Model>, key> extends any[] ? PropType<Required<Model>, key>[number] extends ModelBaseStructure ? NestedRepositoryFindFieltersOptions<PropType<Required<Model>, key>[number]> : PropType<Required<Model>, key>[number] extends Record<string, any> ? NestedRepositoryFindFieltersOptions<PropType<Required<Model>, key>[number]> : RepositoryFindField<Model, key> : PropType<Model, key> extends Record<string, any> ? NestedRepositoryFindFieltersOptions<Required<PropType<Model, key>>> : RepositoryFindField<Model, key>;
12
12
  };
13
- export declare type RepositoryFindFielters<Model extends ModelBaseStructure> = NestedRepositoryFindFieltersOptions<Model>;
13
+ export declare type RepositoryFindFielters<Model extends ModelBaseStructure<Model>> = NestedRepositoryFindFieltersOptions<Model>;
@@ -1,5 +1,5 @@
1
- import { NonFunctionAndIdentifierPropertyNames } from '../../model/types/non-function-property-name.type';
1
+ import { NonFunctionPropertyNames } from '../../model/types/non-function-property-name.type';
2
2
  export declare type RepositoryOrderBy<Model> = {
3
- [key in NonFunctionAndIdentifierPropertyNames<Model>]?: 'asc' | 'desc';
3
+ [key in NonFunctionPropertyNames<Model>]?: 'asc' | 'desc';
4
4
  };
5
5
  export declare type RepositoryOrderByList<Model> = RepositoryOrderBy<Model>[];
@@ -1,11 +1,11 @@
1
1
  import { ModelBaseStructure } from '../..';
2
2
  import { PropType } from '../../../../utils';
3
- import { NonFunctionAndIdentifierPropertyNames } from '../../model/types/non-function-property-name.type';
3
+ import { NonFunctionPropertyNames } from '../../model/types/non-function-property-name.type';
4
4
  export declare type UpdateOptionAction = 'removeField' | 'update' | 'merge' | 'remove' | 'null';
5
5
  export declare type UpdateOptions<T> = {
6
6
  action: UpdateOptionAction;
7
7
  value?: T;
8
8
  };
9
9
  export declare type RepositoryUpdateParams<Model extends ModelBaseStructure> = {
10
- [key in NonFunctionAndIdentifierPropertyNames<Model>]?: UpdateOptions<PropType<Model, key>> | PropType<Model, key>;
10
+ [key in NonFunctionPropertyNames<Model>]?: UpdateOptions<PropType<Model, key>> | PropType<Model, key>;
11
11
  };
@@ -1,14 +1,12 @@
1
- import { BaseModel, GenericIdentifier, ModelBaseStructure } from '../../generic';
1
+ import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
2
2
  import { LocationGeometry } from './types/location-geometry.type';
3
- export declare abstract class Address<ChildAddress extends ModelBaseStructure<ChildAddress, Identifiers>, Identifiers = ChildAddress['identifiersFields']> extends BaseModel<ChildAddress, Identifiers> {
4
- id: string;
3
+ export declare abstract class Address<Identifiers = GenericIdentifier> extends BaseModel<Address, Identifiers> {
5
4
  default?: boolean;
6
5
  recipient?: string;
7
6
  zip?: string;
8
7
  street?: string;
9
8
  number?: string;
10
9
  extension?: string;
11
- reference?: string;
12
10
  district?: string;
13
11
  city?: string;
14
12
  regionalPole?: string;
@@ -20,5 +18,5 @@ export declare abstract class Address<ChildAddress extends ModelBaseStructure<Ch
20
18
  formattedAddress?: string;
21
19
  placeId?: string;
22
20
  geometry?: LocationGeometry;
23
- static get identifiersFields(): Array<GenericIdentifier | {}>;
21
+ static get identifiersFields(): string[];
24
22
  }
@@ -1,4 +1,3 @@
1
1
  export * from './home';
2
2
  export * from './shop-menu';
3
- export * from './shop-settings';
4
3
  export * from './types';
@@ -1,10 +1,5 @@
1
1
  export * from './banner.type';
2
2
  export * from './benefit.type';
3
- export * from './home-data.type';
4
3
  export * from './menu-nav.type';
5
- export * from './shop-banner.type';
6
- export * from './shop-brands.type';
7
- export * from './shop-carousel.type';
8
- export * from './shop-collection.type';
9
- export * from './shop-section.type';
10
4
  export * from './sub-menu.type';
5
+ export * from './home-data.type';
@@ -1,3 +1,2 @@
1
1
  export * from './home.repository';
2
2
  export * from './shop-menu.repository';
3
- export * from './shop-settings.repository';
@@ -1,5 +1,5 @@
1
- import { Category, Shops } from '../../catalog/models';
2
1
  import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
2
+ import { Shops, Category } from '../../catalog/models';
3
3
  export declare class Buy2Win extends BaseModel<Buy2Win> {
4
4
  active: boolean;
5
5
  cartValue: number;
@@ -9,8 +9,6 @@ export declare class Buy2Win extends BaseModel<Buy2Win> {
9
9
  name: string;
10
10
  products?: string[];
11
11
  shop: Shops;
12
- activeCategory?: boolean;
13
- cartValueMin?: number;
14
12
  startDate: Date;
15
13
  updatedAt?: Date;
16
14
  categories: Category[];
@@ -1,13 +1,14 @@
1
- import { Shops } from '../../catalog/models/enums/shops.enum';
1
+ import { Address } from '../../location/models/address';
2
2
  import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
3
- import { User, UserAddress } from '../../users';
3
+ import { User } from '../../users/models/user';
4
4
  import { Coupon } from './coupons/coupon';
5
5
  import { LineItem } from './line-item';
6
6
  import { ShippingMethod } from './shipping-method';
7
+ import { Shops } from '../../catalog/models/enums/shops.enum';
7
8
  export declare class Checkout extends BaseModel<Checkout> {
8
9
  id?: string;
9
10
  paymentId?: string;
10
- status?: any;
11
+ status?: string;
11
12
  createdAt?: Date;
12
13
  updatedAt?: Date;
13
14
  completedAt?: Date;
@@ -18,8 +19,8 @@ export declare class Checkout extends BaseModel<Checkout> {
18
19
  glampoints?: number;
19
20
  lineItems?: LineItem[];
20
21
  user?: User;
21
- shippingAddress?: UserAddress;
22
- billingAddress?: UserAddress;
22
+ shippingAddress?: Address;
23
+ billingAddress?: Address;
23
24
  shipping?: ShippingMethod;
24
25
  coupon?: Coupon;
25
26
  static get identifiersFields(): GenericIdentifier[];
@@ -1,12 +1,11 @@
1
- export * from './buy-2-win';
2
- export * from './campaign-dashboard';
3
- export * from './campaign-hashtag';
4
- export * from './checkout';
5
1
  export * from './coupons';
6
2
  export * from './enums';
3
+ export * from './types';
4
+ export * from './checkout';
7
5
  export * from './line-item';
8
6
  export * from './order';
9
7
  export * from './payment';
10
8
  export * from './shipping-method';
11
9
  export * from './subscription';
12
- export * from './types';
10
+ export * from './buy-2-win';
11
+ export * from './buy-2-win';
@@ -1,6 +1,7 @@
1
+ import { Address } from '../../../location/models/address';
1
2
  import { BaseModel, GenericIdentifier } from '../../../generic/model/base.model';
2
- import { User, UserAddress } from '../../../users';
3
3
  import { Coupon } from '../coupons/coupon';
4
+ import { User } from '../../../users/models/user';
4
5
  import { SubscriptionPlan } from './plan';
5
6
  export declare class CheckoutSubscription extends BaseModel<CheckoutSubscription> {
6
7
  id?: string;
@@ -12,8 +13,8 @@ export declare class CheckoutSubscription extends BaseModel<CheckoutSubscription
12
13
  discount?: number;
13
14
  subTotalPrice?: number;
14
15
  totalPrice?: number;
15
- shippingAddress: UserAddress;
16
- billingAddress?: UserAddress;
16
+ shippingAddress: Address;
17
+ billingAddress?: Address;
17
18
  subscriptionPlan: SubscriptionPlan;
18
19
  coupon?: Coupon;
19
20
  static get identifiersFields(): GenericIdentifier[];
@@ -1,9 +1,7 @@
1
- export * from './buy-2-win.repository';
2
- export * from './campaign-dashboard.repository';
3
- export * from './campaign-hashtag.repository';
4
1
  export * from './checkout.repository';
5
2
  export * from './coupon.repository';
6
- export * from './legacy-order.repository';
7
3
  export * from './order.repository';
8
4
  export * from './payment.repository';
9
5
  export * from './subscription';
6
+ export * from './buy-2-win.repository';
7
+ export * from './legacy-order.repository';
@@ -3,6 +3,5 @@ export declare class Lead extends BaseModel<Lead> {
3
3
  id: string;
4
4
  acceptsNewsletter: boolean;
5
5
  email: string;
6
- source: string;
7
6
  static get identifiersFields(): GenericIdentifier[];
8
7
  }
@@ -1,8 +1,8 @@
1
+ import { Address } from '../../../location/models/address';
1
2
  import { BaseModel, GenericIdentifier } from '../../../generic/model/base.model';
2
3
  import { Coupon } from '../../../shopping/models/coupons/coupon';
3
4
  import { SubscriptionPlan } from '../../../shopping/models/subscription/plan';
4
5
  import { User } from '../user';
5
- import { UserAddress } from '../user-address';
6
6
  import { Edition } from './edition';
7
7
  import { Status } from './enums/status.enum';
8
8
  import { SubscriptionPayment } from './payment';
@@ -19,8 +19,8 @@ export declare class Subscription extends BaseModel<Subscription> {
19
19
  updatedAt: Date;
20
20
  user: User;
21
21
  subscriptionPlan: SubscriptionPlan;
22
- shippingAddress: UserAddress;
23
- billingAddress?: UserAddress;
22
+ shippingAddress: Address;
23
+ billingAddress?: Address;
24
24
  coupon?: Coupon;
25
25
  editions: Edition[];
26
26
  payment?: SubscriptionPayment[];
@@ -1,6 +1,7 @@
1
1
  import { Address } from '../../location/models/address';
2
2
  export declare type UserAddressIdentifiers = 'id' | 'userId';
3
- export declare class UserAddress extends Address<UserAddress, UserAddressIdentifiers> {
3
+ export declare class UserAddress extends Address<UserAddressIdentifiers> {
4
+ id: string;
4
5
  userId: string;
5
6
  static get identifiersFields(): UserAddressIdentifiers[];
6
7
  }
@@ -1,4 +1,5 @@
1
- import { BaseModel, GenericIdentifier, NonFunctionAndIdentifierProperties } from '../../generic';
1
+ import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
2
+ import { ModelBaseStructure, NonFunctionProperties } from '../../generic/model/types';
2
3
  import { BeautyProfile } from './beauty-profile';
3
4
  import { Area, OfficePosition, UserType } from './enums';
4
5
  export declare class User extends BaseModel<User> {
@@ -21,7 +22,7 @@ export declare class User extends BaseModel<User> {
21
22
  dateCreated?: Date;
22
23
  dateModified?: Date;
23
24
  beautyProfile?: BeautyProfile;
24
- static toInstance<T>(this: new () => T, data?: Partial<NonFunctionAndIdentifierProperties<User>>): T;
25
+ static toInstance<T extends ModelBaseStructure<User>>(this: new () => T, data?: Partial<NonFunctionProperties<User>>): T;
25
26
  toPlain(): Record<string, any>;
26
27
  static get identifiersFields(): GenericIdentifier[];
27
28
  }
@@ -1,4 +1,3 @@
1
- export * from './helpers';
2
1
  export * from './models';
3
2
  export * from './repositories';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9kb21haW4vY2F0YWxvZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFdBQVcsQ0FBQTtBQUN6QixjQUFjLFVBQVUsQ0FBQTtBQUN4QixjQUFjLGdCQUFnQixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9oZWxwZXJzJ1xuZXhwb3J0ICogZnJvbSAnLi9tb2RlbHMnXG5leHBvcnQgKiBmcm9tICcuL3JlcG9zaXRvcmllcydcbiJdfQ==
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9kb21haW4vY2F0YWxvZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFVBQVUsQ0FBQTtBQUN4QixjQUFjLGdCQUFnQixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9tb2RlbHMnXG5leHBvcnQgKiBmcm9tICcuL3JlcG9zaXRvcmllcydcbiJdfQ==
@@ -1,18 +1,10 @@
1
- import { __decorate, __metadata } from "tslib";
2
- import { Type } from 'class-transformer';
3
1
  import { BaseModel } from '../../generic/model';
4
- import { Filter } from './filter';
5
2
  export class Category extends BaseModel {
3
+ identifierFields() {
4
+ return ['id'];
5
+ }
6
6
  static get identifiersFields() {
7
7
  return ['id'];
8
8
  }
9
9
  }
10
- __decorate([
11
- Type(() => Category),
12
- __metadata("design:type", Category)
13
- ], Category.prototype, "parent", void 0);
14
- __decorate([
15
- Type(() => Filter),
16
- __metadata("design:type", Array)
17
- ], Category.prototype, "filters", void 0);
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9kb21haW4vY2F0YWxvZy9tb2RlbHMvY2F0ZWdvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQTtBQUN4QyxPQUFPLEVBQUUsU0FBUyxFQUFxQixNQUFNLHFCQUFxQixDQUFBO0FBRWxFLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxVQUFVLENBQUE7QUFHakMsTUFBTSxPQUFPLFFBQVMsU0FBUSxTQUFtQjtJQTRCL0MsTUFBTSxLQUFLLGlCQUFpQjtRQUMxQixPQUFPLENBQUMsSUFBSSxDQUFDLENBQUE7SUFDZixDQUFDO0NBQ0Y7QUFUQztJQUFDLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyxRQUFRLENBQUM7OEJBQ1osUUFBUTt3Q0FBQTtBQUVqQjtJQUFDLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyxNQUFNLENBQUM7O3lDQUNEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVHlwZSB9IGZyb20gJ2NsYXNzLXRyYW5zZm9ybWVyJ1xuaW1wb3J0IHsgQmFzZU1vZGVsLCBHZW5lcmljSWRlbnRpZmllciB9IGZyb20gJy4uLy4uL2dlbmVyaWMvbW9kZWwnXG5pbXBvcnQgeyBTaG9w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Q2F0ZWdvcnlCYW5uZXI/OiBzdHJpbmdcbiAgYnJhbmRDYXRlZ29yeUJhbm5lck1vYmlsZT86IHN0cmluZ1xuICBkZXNjcmlwdGlvbjogc3RyaW5nXG4gIGNvbmRpdGlvbnM/OiBDYXRlZ29yeUNvbmRpdGlvblxuICBwcm9kdWN0cz86IHN0cmluZ1tdXG4gIGZpbHRlcnM/OiBDYXRlZ29yeUZpbHRlcltdXG4gIGNyZWF0ZWRBdD86IERhdGVcbiAgdXBkYXRlZEF0PzogRGF0ZVxuICBzaG9wOiBTaG9wc1xuICBwdWJsaXNoZWQ6IGJvb2xlYW5cbiAgbWV0YWRhdGE6IENhdGVnb3J5TWV0YWRhdGFcblxuICBpZGVudGlmaWVyRmllbGRzKCk6IE5vbkZ1bmN0aW9uUHJvcGVydHlOYW1lczxDYXRlZ29yeT5bXSB7XG4gICAgcmV0dXJuIFsnaWQnXVxuICB9XG5cbiAgc3RhdGljIGdldCBpZGVudGlmaWVyc0ZpZWxkcygpOiBHZW5lcmljSWRlbnRpZmllcltdIHtcbiAgICByZXR1cm4gWydpZCddXG4gIH1cbn1cbiJdfQ==
@@ -1,11 +1,7 @@
1
1
  export * from './category';
2
- export * from './category-collection-children';
3
- export * from './category-filter';
4
2
  export * from './enums';
5
- export * from './filter';
6
- export * from './filter-option';
7
3
  export * from './kit-product';
8
4
  export * from './product';
9
5
  export * from './types';
10
6
  export * from './variant';
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9kb21haW4vY2F0YWxvZy9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxZQUFZLENBQUE7QUFDMUIsY0FBYyxnQ0FBZ0MsQ0FBQTtBQUM5QyxjQUFjLG1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VudCI6WyJleHBvcnQgKiBmcm9tICcuL2NhdGVnb3J5J1xuZXhwb3J0ICogZnJvbSAnLi9lbnVtcydcbmV4cG9ydCAqIGZyb20gJy4va2l0LXByb2R1Y3QnXG5leHBvcnQgKiBmcm9tICcuL3Byb2R1Y3QnXG5leHBvcnQgKiBmcm9tICcuL3R5cGVzJ1xuZXhwb3J0ICogZnJvbSAnLi92YXJpYW50J1xuIl19
@@ -4,7 +4,7 @@ import { BaseModel } from '../../generic/model';
4
4
  import { Product } from './product';
5
5
  export class KitProduct extends BaseModel {
6
6
  static get identifiersFields() {
7
- return ['productId', 'kitProductId'];
7
+ return ['productId', 'kitProducId'];
8
8
  }
9
9
  }
10
10
  __decorate([
@@ -15,4 +15,4 @@ __decorate([
15
15
  Type(() => Product),
16
16
  __metadata("design:type", Product)
17
17
  ], KitProduct.prototype, "product", void 0);
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXByb2R1Y3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9kb21haW4vY2F0YWxvZy9tb2RlbHMva2l0LXByb2R1Y3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQTtBQUN4QyxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0scUJBQXFCLENBQUE7QUFDL0MsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLFdBQVcsQ0FBQTtBQUluQyxNQUFNLE9BQU8sVUFBVyxTQUFRLFNBQTRDO0lBVzFFLE1BQU0sS0FBSyxpQkFBaUI7UUFDMUIsT0FBTyxDQUFDLFdBQVcsRUFBRSxjQUFjLENBQUMsQ0FBQTtJQUN0QyxDQUFDO0NBQ0Y7QUFUQztJQUFDLElBQUksQ0FBQyxH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