@infrab4a/connect 4.0.0-beta.44 → 4.0.0-beta.46

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 (681) hide show
  1. package/README.md +24 -24
  2. package/domain/catalog/helpers/index.d.ts +1 -1
  3. package/domain/catalog/helpers/round-product-price.helper.d.ts +4 -4
  4. package/domain/catalog/index.d.ts +3 -3
  5. package/domain/catalog/models/category-base.d.ts +30 -30
  6. package/domain/catalog/models/category-collection-children.d.ts +13 -13
  7. package/domain/catalog/models/category-filter.d.ts +13 -13
  8. package/domain/catalog/models/category-for-product.d.ts +5 -5
  9. package/domain/catalog/models/category.d.ts +7 -7
  10. package/domain/catalog/models/enums/index.d.ts +2 -2
  11. package/domain/catalog/models/enums/product-genders.enum.d.ts +5 -5
  12. package/domain/catalog/models/enums/shops.enum.d.ts +6 -6
  13. package/domain/catalog/models/filter-option.d.ts +9 -9
  14. package/domain/catalog/models/filter.d.ts +12 -12
  15. package/domain/catalog/models/index.d.ts +11 -11
  16. package/domain/catalog/models/kit-product.d.ts +12 -12
  17. package/domain/catalog/models/product-base.d.ts +40 -40
  18. package/domain/catalog/models/product-for-category.d.ts +7 -7
  19. package/domain/catalog/models/product-for-kit.d.ts +7 -7
  20. package/domain/catalog/models/product.d.ts +9 -9
  21. package/domain/catalog/models/types/category-condition.type.d.ts +4 -4
  22. package/domain/catalog/models/types/category-metadata.type.d.ts +4 -4
  23. package/domain/catalog/models/types/category-product.d.ts +4 -4
  24. package/domain/catalog/models/types/index.d.ts +11 -11
  25. package/domain/catalog/models/types/product-evaluation.type.d.ts +6 -6
  26. package/domain/catalog/models/types/product-gender.type.d.ts +1 -1
  27. package/domain/catalog/models/types/product-metadata.type.d.ts +4 -4
  28. package/domain/catalog/models/types/product-review.type.d.ts +17 -17
  29. package/domain/catalog/models/types/shop-description.type.d.ts +8 -8
  30. package/domain/catalog/models/types/shop-price.type.d.ts +6 -6
  31. package/domain/catalog/models/types/stock.type.d.ts +3 -3
  32. package/domain/catalog/models/types/variant-grade.type.d.ts +4 -4
  33. package/domain/catalog/models/variant.d.ts +17 -17
  34. package/domain/catalog/models/wishlist.d.ts +6 -6
  35. package/domain/catalog/repositories/category-collection-children.repository.d.ts +4 -4
  36. package/domain/catalog/repositories/category-filter.repository.d.ts +6 -6
  37. package/domain/catalog/repositories/category.repository.d.ts +18 -18
  38. package/domain/catalog/repositories/filter-option.repository.d.ts +4 -4
  39. package/domain/catalog/repositories/filter.repository.d.ts +4 -4
  40. package/domain/catalog/repositories/index.d.ts +9 -9
  41. package/domain/catalog/repositories/product.repository.d.ts +15 -15
  42. package/domain/catalog/repositories/subscription-product.repository.d.ts +4 -4
  43. package/domain/catalog/repositories/variant.repository.d.ts +4 -4
  44. package/domain/catalog/repositories/wishlist.repository.d.ts +6 -6
  45. package/domain/generic/index.d.ts +2 -2
  46. package/domain/generic/model/base.model.d.ts +14 -14
  47. package/domain/generic/model/identifier-fields.d.ts +4 -4
  48. package/domain/generic/model/index.d.ts +3 -3
  49. package/domain/generic/model/types/base-model-builder.type.d.ts +17 -17
  50. package/domain/generic/model/types/identifier-model.type.d.ts +8 -8
  51. package/domain/generic/model/types/index.d.ts +5 -5
  52. package/domain/generic/model/types/model-base-structure.type.d.ts +12 -12
  53. package/domain/generic/model/types/non-function-properties.type.d.ts +12 -12
  54. package/domain/generic/model/types/non-function-property-name.type.d.ts +13 -13
  55. package/domain/generic/repository/create.repository.d.ts +8 -8
  56. package/domain/generic/repository/crud.repository.d.ts +19 -19
  57. package/domain/generic/repository/delete.repository.d.ts +7 -7
  58. package/domain/generic/repository/enums/index.d.ts +2 -2
  59. package/domain/generic/repository/enums/update-option-actions.enum.d.ts +7 -7
  60. package/domain/generic/repository/enums/where.enum.d.ts +14 -14
  61. package/domain/generic/repository/find.repository.d.ts +16 -16
  62. package/domain/generic/repository/get.repository.d.ts +5 -5
  63. package/domain/generic/repository/index.d.ts +9 -9
  64. package/domain/generic/repository/read.repository.d.ts +14 -14
  65. package/domain/generic/repository/types/index.d.ts +6 -6
  66. package/domain/generic/repository/types/repository-find-filters.type.d.ts +13 -13
  67. package/domain/generic/repository/types/repository-find-result.type.d.ts +11 -11
  68. package/domain/generic/repository/types/repository-limit-options.type.d.ts +4 -4
  69. package/domain/generic/repository/types/repository-order-by-list.type.d.ts +5 -5
  70. package/domain/generic/repository/types/repository-update-params.type.d.ts +11 -11
  71. package/domain/generic/repository/types/where-options.type.d.ts +2 -2
  72. package/domain/generic/repository/update.repository.d.ts +6 -6
  73. package/domain/index.d.ts +6 -6
  74. package/domain/location/index.d.ts +1 -1
  75. package/domain/location/models/address.d.ts +24 -24
  76. package/domain/location/models/index.d.ts +2 -2
  77. package/domain/location/models/types/index.d.ts +3 -3
  78. package/domain/location/models/types/location-bound.type.d.ts +6 -6
  79. package/domain/location/models/types/location-geometry.type.d.ts +7 -7
  80. package/domain/location/models/types/location-lat-lng.type.d.ts +4 -4
  81. package/domain/shop-settings/enums/filter-type.enum.d.ts +19 -19
  82. package/domain/shop-settings/enums/index.d.ts +2 -2
  83. package/domain/shop-settings/enums/questions-filters.enum.d.ts +19 -19
  84. package/domain/shop-settings/helpers/beauty-questions.helper.d.ts +9 -9
  85. package/domain/shop-settings/helpers/index.d.ts +1 -1
  86. package/domain/shop-settings/index.d.ts +4 -4
  87. package/domain/shop-settings/models/home.d.ts +18 -18
  88. package/domain/shop-settings/models/index.d.ts +4 -4
  89. package/domain/shop-settings/models/shop-menu.d.ts +7 -7
  90. package/domain/shop-settings/models/shop-settings.d.ts +9 -9
  91. package/domain/shop-settings/models/types/banner.type.d.ts +6 -6
  92. package/domain/shop-settings/models/types/benefit.type.d.ts +5 -5
  93. package/domain/shop-settings/models/types/home-data.type.d.ts +15 -15
  94. package/domain/shop-settings/models/types/index.d.ts +10 -10
  95. package/domain/shop-settings/models/types/menu-nav.type.d.ts +8 -8
  96. package/domain/shop-settings/models/types/shop-banner.type.d.ts +12 -12
  97. package/domain/shop-settings/models/types/shop-brands.type.d.ts +10 -10
  98. package/domain/shop-settings/models/types/shop-carousel.type.d.ts +5 -5
  99. package/domain/shop-settings/models/types/shop-collection.type.d.ts +9 -9
  100. package/domain/shop-settings/models/types/shop-section.type.d.ts +9 -9
  101. package/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -8
  102. package/domain/shop-settings/repositories/home.repository.d.ts +4 -4
  103. package/domain/shop-settings/repositories/index.d.ts +3 -3
  104. package/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -4
  105. package/domain/shop-settings/repositories/shop-settings.repository.d.ts +4 -4
  106. package/domain/shopping/index.d.ts +2 -2
  107. package/domain/shopping/models/buy-2-win.d.ts +18 -18
  108. package/domain/shopping/models/campaign-dashboard.d.ts +15 -15
  109. package/domain/shopping/models/campaign-hashtag.d.ts +18 -18
  110. package/domain/shopping/models/checkout.d.ts +26 -26
  111. package/domain/shopping/models/coupons/coupon.d.ts +60 -60
  112. package/domain/shopping/models/coupons/enums/coupon-club-mens.enum.d.ts +5 -5
  113. package/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -4
  114. package/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +4 -4
  115. package/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +8 -8
  116. package/domain/shopping/models/coupons/enums/index.d.ts +3 -3
  117. package/domain/shopping/models/coupons/index.d.ts +2 -2
  118. package/domain/shopping/models/enums/checkout-types.enum.d.ts +5 -5
  119. package/domain/shopping/models/enums/index.d.ts +2 -2
  120. package/domain/shopping/models/enums/order-status.enum.d.ts +10 -10
  121. package/domain/shopping/models/index.d.ts +12 -12
  122. package/domain/shopping/models/line-item.d.ts +8 -8
  123. package/domain/shopping/models/order.d.ts +10 -10
  124. package/domain/shopping/models/payment.d.ts +67 -67
  125. package/domain/shopping/models/shipping-method.d.ts +17 -17
  126. package/domain/shopping/models/subscription/checkout.d.ts +20 -20
  127. package/domain/shopping/models/subscription/index.d.ts +2 -2
  128. package/domain/shopping/models/subscription/plan.d.ts +10 -10
  129. package/domain/shopping/models/types/index.d.ts +7 -7
  130. package/domain/shopping/models/types/payment-address.type.d.ts +12 -12
  131. package/domain/shopping/models/types/payment-billing.type.d.ts +7 -7
  132. package/domain/shopping/models/types/payment-card.type.d.ts +14 -14
  133. package/domain/shopping/models/types/payment-customer.type.d.ts +18 -18
  134. package/domain/shopping/models/types/payment-document.type.d.ts +6 -6
  135. package/domain/shopping/models/types/payment-item.type.d.ts +11 -11
  136. package/domain/shopping/models/types/payment-shipping.type.d.ts +10 -10
  137. package/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -4
  138. package/domain/shopping/repositories/campaign-dashboard.repository.d.ts +4 -4
  139. package/domain/shopping/repositories/campaign-hashtag.repository.d.ts +4 -4
  140. package/domain/shopping/repositories/checkout.repository.d.ts +4 -4
  141. package/domain/shopping/repositories/coupon.repository.d.ts +4 -4
  142. package/domain/shopping/repositories/index.d.ts +9 -9
  143. package/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
  144. package/domain/shopping/repositories/order.repository.d.ts +4 -4
  145. package/domain/shopping/repositories/payment.repository.d.ts +4 -4
  146. package/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -4
  147. package/domain/shopping/repositories/subscription/index.d.ts +2 -2
  148. package/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -4
  149. package/domain/users/errors/index.d.ts +3 -3
  150. package/domain/users/errors/unauthorized.error.d.ts +4 -4
  151. package/domain/users/errors/user-already-registered.error.d.ts +4 -4
  152. package/domain/users/errors/weak-password.error.d.ts +4 -4
  153. package/domain/users/index.d.ts +5 -5
  154. package/domain/users/models/beauty-profile.d.ts +11 -11
  155. package/domain/users/models/enums/accessory-importances.enum.d.ts +5 -5
  156. package/domain/users/models/enums/area.enum.d.ts +11 -11
  157. package/domain/users/models/enums/beard-problems.enum.d.ts +9 -9
  158. package/domain/users/models/enums/beard-sizes.enum.d.ts +7 -7
  159. package/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -6
  160. package/domain/users/models/enums/body-problems.enum.d.ts +11 -11
  161. package/domain/users/models/enums/body-shapes.enum.d.ts +7 -7
  162. package/domain/users/models/enums/body-tattoos.enum.d.ts +5 -5
  163. package/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -7
  164. package/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -10
  165. package/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -8
  166. package/domain/users/models/enums/family-incomes.enum.d.ts +8 -8
  167. package/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -5
  168. package/domain/users/models/enums/hair-colors.enum.d.ts +10 -10
  169. package/domain/users/models/enums/hair-problems.enum.d.ts +10 -10
  170. package/domain/users/models/enums/hair-strands.enum.d.ts +8 -8
  171. package/domain/users/models/enums/hair-types.enum.d.ts +7 -7
  172. package/domain/users/models/enums/index.d.ts +20 -20
  173. package/domain/users/models/enums/office-position.enum.d.ts +6 -6
  174. package/domain/users/models/enums/product-spents.enum.d.ts +8 -8
  175. package/domain/users/models/enums/user-type.enum.d.ts +8 -8
  176. package/domain/users/models/index.d.ts +7 -7
  177. package/domain/users/models/lead.d.ts +8 -8
  178. package/domain/users/models/subscription/edition.d.ts +16 -16
  179. package/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -3
  180. package/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -4
  181. package/domain/users/models/subscription/enums/index.d.ts +4 -4
  182. package/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -5
  183. package/domain/users/models/subscription/enums/status.enum.d.ts +4 -4
  184. package/domain/users/models/subscription/index.d.ts +4 -4
  185. package/domain/users/models/subscription/payment.d.ts +13 -13
  186. package/domain/users/models/subscription/subscription.d.ts +28 -28
  187. package/domain/users/models/user-address.d.ts +6 -6
  188. package/domain/users/models/user-payment-method.d.ts +14 -14
  189. package/domain/users/models/user.d.ts +27 -27
  190. package/domain/users/repositories/beauty-profile.repository.d.ts +4 -4
  191. package/domain/users/repositories/edition.repository.d.ts +4 -4
  192. package/domain/users/repositories/index.d.ts +8 -8
  193. package/domain/users/repositories/lead.repository.d.ts +4 -4
  194. package/domain/users/repositories/subscription-payment.repository.d.ts +4 -4
  195. package/domain/users/repositories/subscription.repository.d.ts +4 -4
  196. package/domain/users/repositories/user-address.repository.d.ts +4 -4
  197. package/domain/users/repositories/user-payment-method.repository.d.ts +4 -4
  198. package/domain/users/repositories/user.repository.d.ts +6 -6
  199. package/domain/users/services/authentication.service.d.ts +12 -12
  200. package/domain/users/services/index.d.ts +3 -3
  201. package/domain/users/services/register.service.d.ts +7 -7
  202. package/domain/users/services/types/basic-user-data.type.d.ts +4 -4
  203. package/domain/users/services/types/index.d.ts +1 -1
  204. package/domain/users/use-cases/authentication.d.ts +21 -21
  205. package/domain/users/use-cases/index.d.ts +4 -4
  206. package/domain/users/use-cases/recovery-password.d.ts +6 -6
  207. package/domain/users/use-cases/register.d.ts +13 -13
  208. package/domain/users/use-cases/signout.d.ts +6 -6
  209. package/errors/duplicated-results.error.d.ts +4 -4
  210. package/errors/index.d.ts +4 -4
  211. package/errors/invalid-argument.error.d.ts +4 -4
  212. package/errors/not-found.error.d.ts +4 -4
  213. package/errors/required-argument.error.d.ts +6 -6
  214. package/esm2020/domain/catalog/helpers/index.mjs +2 -2
  215. package/esm2020/domain/catalog/helpers/round-product-price.helper.mjs +15 -15
  216. package/esm2020/domain/catalog/index.mjs +4 -4
  217. package/esm2020/domain/catalog/models/category-base.mjs +18 -18
  218. package/esm2020/domain/catalog/models/category-collection-children.mjs +13 -13
  219. package/esm2020/domain/catalog/models/category-filter.mjs +19 -19
  220. package/esm2020/domain/catalog/models/category-for-product.mjs +7 -7
  221. package/esm2020/domain/catalog/models/category.mjs +14 -14
  222. package/esm2020/domain/catalog/models/enums/index.mjs +3 -3
  223. package/esm2020/domain/catalog/models/enums/product-genders.enum.mjs +7 -7
  224. package/esm2020/domain/catalog/models/enums/shops.enum.mjs +8 -8
  225. package/esm2020/domain/catalog/models/filter-option.mjs +7 -7
  226. package/esm2020/domain/catalog/models/filter.mjs +7 -7
  227. package/esm2020/domain/catalog/models/index.mjs +12 -12
  228. package/esm2020/domain/catalog/models/kit-product.mjs +18 -18
  229. package/esm2020/domain/catalog/models/product-base.mjs +25 -25
  230. package/esm2020/domain/catalog/models/product-for-category.mjs +14 -14
  231. package/esm2020/domain/catalog/models/product-for-kit.mjs +14 -14
  232. package/esm2020/domain/catalog/models/product.mjs +19 -19
  233. package/esm2020/domain/catalog/models/types/category-condition.type.mjs +2 -2
  234. package/esm2020/domain/catalog/models/types/category-metadata.type.mjs +2 -2
  235. package/esm2020/domain/catalog/models/types/category-product.mjs +2 -2
  236. package/esm2020/domain/catalog/models/types/index.mjs +12 -12
  237. package/esm2020/domain/catalog/models/types/product-evaluation.type.mjs +2 -2
  238. package/esm2020/domain/catalog/models/types/product-gender.type.mjs +2 -2
  239. package/esm2020/domain/catalog/models/types/product-metadata.type.mjs +2 -2
  240. package/esm2020/domain/catalog/models/types/product-review.type.mjs +2 -2
  241. package/esm2020/domain/catalog/models/types/shop-description.type.mjs +2 -2
  242. package/esm2020/domain/catalog/models/types/shop-price.type.mjs +2 -2
  243. package/esm2020/domain/catalog/models/types/stock.type.mjs +2 -2
  244. package/esm2020/domain/catalog/models/types/variant-grade.type.mjs +2 -2
  245. package/esm2020/domain/catalog/models/variant.mjs +7 -7
  246. package/esm2020/domain/catalog/models/wishlist.mjs +7 -7
  247. package/esm2020/domain/catalog/repositories/category-collection-children.repository.mjs +2 -2
  248. package/esm2020/domain/catalog/repositories/category-filter.repository.mjs +2 -2
  249. package/esm2020/domain/catalog/repositories/category.repository.mjs +2 -2
  250. package/esm2020/domain/catalog/repositories/filter-option.repository.mjs +2 -2
  251. package/esm2020/domain/catalog/repositories/filter.repository.mjs +2 -2
  252. package/esm2020/domain/catalog/repositories/index.mjs +10 -10
  253. package/esm2020/domain/catalog/repositories/product.repository.mjs +2 -2
  254. package/esm2020/domain/catalog/repositories/subscription-product.repository.mjs +2 -2
  255. package/esm2020/domain/catalog/repositories/variant.repository.mjs +2 -2
  256. package/esm2020/domain/catalog/repositories/wishlist.repository.mjs +2 -2
  257. package/esm2020/domain/generic/index.mjs +3 -3
  258. package/esm2020/domain/generic/model/base.model.mjs +24 -24
  259. package/esm2020/domain/generic/model/identifier-fields.mjs +2 -2
  260. package/esm2020/domain/generic/model/index.mjs +4 -4
  261. package/esm2020/domain/generic/model/types/base-model-builder.type.mjs +2 -2
  262. package/esm2020/domain/generic/model/types/identifier-model.type.mjs +2 -2
  263. package/esm2020/domain/generic/model/types/index.mjs +6 -6
  264. package/esm2020/domain/generic/model/types/model-base-structure.type.mjs +2 -2
  265. package/esm2020/domain/generic/model/types/non-function-properties.type.mjs +2 -2
  266. package/esm2020/domain/generic/model/types/non-function-property-name.type.mjs +2 -2
  267. package/esm2020/domain/generic/repository/create.repository.mjs +2 -2
  268. package/esm2020/domain/generic/repository/crud.repository.mjs +2 -2
  269. package/esm2020/domain/generic/repository/delete.repository.mjs +2 -2
  270. package/esm2020/domain/generic/repository/enums/index.mjs +3 -3
  271. package/esm2020/domain/generic/repository/enums/update-option-actions.enum.mjs +9 -9
  272. package/esm2020/domain/generic/repository/enums/where.enum.mjs +16 -16
  273. package/esm2020/domain/generic/repository/find.repository.mjs +2 -2
  274. package/esm2020/domain/generic/repository/get.repository.mjs +2 -2
  275. package/esm2020/domain/generic/repository/index.mjs +10 -10
  276. package/esm2020/domain/generic/repository/read.repository.mjs +2 -2
  277. package/esm2020/domain/generic/repository/types/index.mjs +7 -7
  278. package/esm2020/domain/generic/repository/types/repository-find-filters.type.mjs +2 -2
  279. package/esm2020/domain/generic/repository/types/repository-find-result.type.mjs +2 -2
  280. package/esm2020/domain/generic/repository/types/repository-limit-options.type.mjs +2 -2
  281. package/esm2020/domain/generic/repository/types/repository-order-by-list.type.mjs +2 -2
  282. package/esm2020/domain/generic/repository/types/repository-update-params.type.mjs +2 -2
  283. package/esm2020/domain/generic/repository/types/where-options.type.mjs +2 -2
  284. package/esm2020/domain/generic/repository/update.repository.mjs +2 -2
  285. package/esm2020/domain/index.mjs +7 -7
  286. package/esm2020/domain/location/index.mjs +2 -2
  287. package/esm2020/domain/location/models/address.mjs +7 -7
  288. package/esm2020/domain/location/models/index.mjs +3 -3
  289. package/esm2020/domain/location/models/types/index.mjs +4 -4
  290. package/esm2020/domain/location/models/types/location-bound.type.mjs +2 -2
  291. package/esm2020/domain/location/models/types/location-geometry.type.mjs +2 -2
  292. package/esm2020/domain/location/models/types/location-lat-lng.type.mjs +2 -2
  293. package/esm2020/domain/shop-settings/enums/filter-type.enum.mjs +21 -21
  294. package/esm2020/domain/shop-settings/enums/index.mjs +3 -3
  295. package/esm2020/domain/shop-settings/enums/questions-filters.enum.mjs +21 -21
  296. package/esm2020/domain/shop-settings/helpers/beauty-questions.helper.mjs +47 -47
  297. package/esm2020/domain/shop-settings/helpers/index.mjs +2 -2
  298. package/esm2020/domain/shop-settings/index.mjs +5 -5
  299. package/esm2020/domain/shop-settings/models/home.mjs +7 -7
  300. package/esm2020/domain/shop-settings/models/index.mjs +5 -5
  301. package/esm2020/domain/shop-settings/models/shop-menu.mjs +7 -7
  302. package/esm2020/domain/shop-settings/models/shop-settings.mjs +7 -7
  303. package/esm2020/domain/shop-settings/models/types/banner.type.mjs +2 -2
  304. package/esm2020/domain/shop-settings/models/types/benefit.type.mjs +2 -2
  305. package/esm2020/domain/shop-settings/models/types/home-data.type.mjs +2 -2
  306. package/esm2020/domain/shop-settings/models/types/index.mjs +11 -11
  307. package/esm2020/domain/shop-settings/models/types/menu-nav.type.mjs +2 -2
  308. package/esm2020/domain/shop-settings/models/types/shop-banner.type.mjs +2 -2
  309. package/esm2020/domain/shop-settings/models/types/shop-brands.type.mjs +2 -2
  310. package/esm2020/domain/shop-settings/models/types/shop-carousel.type.mjs +2 -2
  311. package/esm2020/domain/shop-settings/models/types/shop-collection.type.mjs +2 -2
  312. package/esm2020/domain/shop-settings/models/types/shop-section.type.mjs +2 -2
  313. package/esm2020/domain/shop-settings/models/types/sub-menu.type.mjs +2 -2
  314. package/esm2020/domain/shop-settings/repositories/home.repository.mjs +2 -2
  315. package/esm2020/domain/shop-settings/repositories/index.mjs +4 -4
  316. package/esm2020/domain/shop-settings/repositories/shop-menu.repository.mjs +2 -2
  317. package/esm2020/domain/shop-settings/repositories/shop-settings.repository.mjs +2 -2
  318. package/esm2020/domain/shopping/index.mjs +3 -3
  319. package/esm2020/domain/shopping/models/buy-2-win.mjs +14 -14
  320. package/esm2020/domain/shopping/models/campaign-dashboard.mjs +7 -7
  321. package/esm2020/domain/shopping/models/campaign-hashtag.mjs +7 -7
  322. package/esm2020/domain/shopping/models/checkout.mjs +37 -37
  323. package/esm2020/domain/shopping/models/coupons/coupon.mjs +38 -38
  324. package/esm2020/domain/shopping/models/coupons/enums/coupon-club-mens.enum.mjs +7 -7
  325. package/esm2020/domain/shopping/models/coupons/enums/coupon-subtypes.enum.mjs +6 -6
  326. package/esm2020/domain/shopping/models/coupons/enums/coupon-types.enum.mjs +10 -10
  327. package/esm2020/domain/shopping/models/coupons/enums/exclusivities.enum.mjs +10 -10
  328. package/esm2020/domain/shopping/models/coupons/enums/index.mjs +4 -4
  329. package/esm2020/domain/shopping/models/coupons/index.mjs +3 -3
  330. package/esm2020/domain/shopping/models/enums/checkout-types.enum.mjs +7 -7
  331. package/esm2020/domain/shopping/models/enums/index.mjs +3 -3
  332. package/esm2020/domain/shopping/models/enums/order-status.enum.mjs +12 -12
  333. package/esm2020/domain/shopping/models/index.mjs +13 -13
  334. package/esm2020/domain/shopping/models/line-item.mjs +4 -4
  335. package/esm2020/domain/shopping/models/order.mjs +11 -11
  336. package/esm2020/domain/shopping/models/payment.mjs +169 -169
  337. package/esm2020/domain/shopping/models/shipping-method.mjs +7 -7
  338. package/esm2020/domain/shopping/models/subscription/checkout.mjs +28 -28
  339. package/esm2020/domain/shopping/models/subscription/index.mjs +3 -3
  340. package/esm2020/domain/shopping/models/subscription/plan.mjs +7 -7
  341. package/esm2020/domain/shopping/models/types/index.mjs +8 -8
  342. package/esm2020/domain/shopping/models/types/payment-address.type.mjs +2 -2
  343. package/esm2020/domain/shopping/models/types/payment-billing.type.mjs +2 -2
  344. package/esm2020/domain/shopping/models/types/payment-card.type.mjs +2 -2
  345. package/esm2020/domain/shopping/models/types/payment-customer.type.mjs +2 -2
  346. package/esm2020/domain/shopping/models/types/payment-document.type.mjs +2 -2
  347. package/esm2020/domain/shopping/models/types/payment-item.type.mjs +2 -2
  348. package/esm2020/domain/shopping/models/types/payment-shipping.type.mjs +2 -2
  349. package/esm2020/domain/shopping/repositories/buy-2-win.repository.mjs +2 -2
  350. package/esm2020/domain/shopping/repositories/campaign-dashboard.repository.mjs +2 -2
  351. package/esm2020/domain/shopping/repositories/campaign-hashtag.repository.mjs +2 -2
  352. package/esm2020/domain/shopping/repositories/checkout.repository.mjs +2 -2
  353. package/esm2020/domain/shopping/repositories/coupon.repository.mjs +2 -2
  354. package/esm2020/domain/shopping/repositories/index.mjs +10 -10
  355. package/esm2020/domain/shopping/repositories/legacy-order.repository.mjs +2 -2
  356. package/esm2020/domain/shopping/repositories/order.repository.mjs +2 -2
  357. package/esm2020/domain/shopping/repositories/payment.repository.mjs +2 -2
  358. package/esm2020/domain/shopping/repositories/subscription/checkout.repository.mjs +2 -2
  359. package/esm2020/domain/shopping/repositories/subscription/index.mjs +3 -3
  360. package/esm2020/domain/shopping/repositories/subscription/plan.repository.mjs +2 -2
  361. package/esm2020/domain/users/errors/index.mjs +4 -4
  362. package/esm2020/domain/users/errors/unauthorized.error.mjs +7 -7
  363. package/esm2020/domain/users/errors/user-already-registered.error.mjs +7 -7
  364. package/esm2020/domain/users/errors/weak-password.error.mjs +7 -7
  365. package/esm2020/domain/users/index.mjs +6 -6
  366. package/esm2020/domain/users/models/beauty-profile.mjs +12 -12
  367. package/esm2020/domain/users/models/enums/accessory-importances.enum.mjs +7 -7
  368. package/esm2020/domain/users/models/enums/area.enum.mjs +13 -13
  369. package/esm2020/domain/users/models/enums/beard-problems.enum.mjs +11 -11
  370. package/esm2020/domain/users/models/enums/beard-sizes.enum.mjs +9 -9
  371. package/esm2020/domain/users/models/enums/beauty-product-importances.enum.mjs +8 -8
  372. package/esm2020/domain/users/models/enums/body-problems.enum.mjs +13 -13
  373. package/esm2020/domain/users/models/enums/body-shapes.enum.mjs +9 -9
  374. package/esm2020/domain/users/models/enums/body-tattoos.enum.mjs +7 -7
  375. package/esm2020/domain/users/models/enums/face-skin-oilinesses.enum.mjs +9 -9
  376. package/esm2020/domain/users/models/enums/face-skin-problems.enum.mjs +12 -12
  377. package/esm2020/domain/users/models/enums/face-skin-tones.enum.mjs +10 -10
  378. package/esm2020/domain/users/models/enums/family-incomes.enum.mjs +10 -10
  379. package/esm2020/domain/users/models/enums/fragrance-importances.enum.mjs +7 -7
  380. package/esm2020/domain/users/models/enums/hair-colors.enum.mjs +12 -12
  381. package/esm2020/domain/users/models/enums/hair-problems.enum.mjs +12 -12
  382. package/esm2020/domain/users/models/enums/hair-strands.enum.mjs +10 -10
  383. package/esm2020/domain/users/models/enums/hair-types.enum.mjs +9 -9
  384. package/esm2020/domain/users/models/enums/index.mjs +21 -21
  385. package/esm2020/domain/users/models/enums/office-position.enum.mjs +8 -8
  386. package/esm2020/domain/users/models/enums/product-spents.enum.mjs +10 -10
  387. package/esm2020/domain/users/models/enums/user-type.enum.mjs +10 -10
  388. package/esm2020/domain/users/models/index.mjs +8 -8
  389. package/esm2020/domain/users/models/lead.mjs +7 -7
  390. package/esm2020/domain/users/models/subscription/edition.mjs +7 -7
  391. package/esm2020/domain/users/models/subscription/enums/billing-status.enum.mjs +5 -5
  392. package/esm2020/domain/users/models/subscription/enums/edition-status.enum.mjs +6 -6
  393. package/esm2020/domain/users/models/subscription/enums/index.mjs +5 -5
  394. package/esm2020/domain/users/models/subscription/enums/payment-type.enum.mjs +7 -7
  395. package/esm2020/domain/users/models/subscription/enums/status.enum.mjs +6 -6
  396. package/esm2020/domain/users/models/subscription/index.mjs +5 -5
  397. package/esm2020/domain/users/models/subscription/payment.mjs +14 -14
  398. package/esm2020/domain/users/models/subscription/subscription.mjs +43 -43
  399. package/esm2020/domain/users/models/user-address.mjs +7 -7
  400. package/esm2020/domain/users/models/user-payment-method.mjs +7 -7
  401. package/esm2020/domain/users/models/user.mjs +26 -26
  402. package/esm2020/domain/users/repositories/beauty-profile.repository.mjs +2 -2
  403. package/esm2020/domain/users/repositories/edition.repository.mjs +2 -2
  404. package/esm2020/domain/users/repositories/index.mjs +9 -9
  405. package/esm2020/domain/users/repositories/lead.repository.mjs +2 -2
  406. package/esm2020/domain/users/repositories/subscription-payment.repository.mjs +2 -2
  407. package/esm2020/domain/users/repositories/subscription.repository.mjs +2 -2
  408. package/esm2020/domain/users/repositories/user-address.repository.mjs +2 -2
  409. package/esm2020/domain/users/repositories/user-payment-method.repository.mjs +2 -2
  410. package/esm2020/domain/users/repositories/user.repository.mjs +2 -2
  411. package/esm2020/domain/users/services/authentication.service.mjs +2 -2
  412. package/esm2020/domain/users/services/index.mjs +4 -4
  413. package/esm2020/domain/users/services/register.service.mjs +2 -2
  414. package/esm2020/domain/users/services/types/basic-user-data.type.mjs +2 -2
  415. package/esm2020/domain/users/services/types/index.mjs +2 -2
  416. package/esm2020/domain/users/use-cases/authentication.mjs +43 -43
  417. package/esm2020/domain/users/use-cases/index.mjs +5 -5
  418. package/esm2020/domain/users/use-cases/recovery-password.mjs +9 -9
  419. package/esm2020/domain/users/use-cases/register.mjs +38 -38
  420. package/esm2020/domain/users/use-cases/signout.mjs +9 -9
  421. package/esm2020/errors/duplicated-results.error.mjs +7 -7
  422. package/esm2020/errors/index.mjs +5 -5
  423. package/esm2020/errors/invalid-argument.error.mjs +7 -7
  424. package/esm2020/errors/not-found.error.mjs +7 -7
  425. package/esm2020/errors/required-argument.error.mjs +9 -9
  426. package/esm2020/index.mjs +6 -6
  427. package/esm2020/infra/elasticsearch/adapters/axios.adapter.mjs +67 -67
  428. package/esm2020/infra/elasticsearch/adapters/elastic-search.adapter.mjs +2 -2
  429. package/esm2020/infra/elasticsearch/adapters/index.mjs +3 -3
  430. package/esm2020/infra/elasticsearch/index.mjs +4 -4
  431. package/esm2020/infra/elasticsearch/indexes/index.mjs +2 -2
  432. package/esm2020/infra/elasticsearch/indexes/products-index.mjs +104 -104
  433. package/esm2020/infra/elasticsearch/types/elastic-search-result.mjs +2 -2
  434. package/esm2020/infra/elasticsearch/types/index.mjs +2 -2
  435. package/esm2020/infra/firebase/auth/authentication-firebase-auth.service.mjs +41 -41
  436. package/esm2020/infra/firebase/auth/index.mjs +3 -3
  437. package/esm2020/infra/firebase/auth/register-firebase-auth.service.mjs +33 -33
  438. package/esm2020/infra/firebase/auth/types/firebase-user-with-id.type.mjs +2 -2
  439. package/esm2020/infra/firebase/firestore/enums/firestore-field-type.enum.mjs +10 -10
  440. package/esm2020/infra/firebase/firestore/enums/index.mjs +2 -2
  441. package/esm2020/infra/firebase/firestore/index.mjs +4 -4
  442. package/esm2020/infra/firebase/firestore/mixins/index.mjs +10 -10
  443. package/esm2020/infra/firebase/firestore/mixins/with-create-firestore.mixin.mjs +31 -31
  444. package/esm2020/infra/firebase/firestore/mixins/with-crud-firestore.mixin.mjs +10 -10
  445. package/esm2020/infra/firebase/firestore/mixins/with-delete-firestore.mixin.mjs +18 -18
  446. package/esm2020/infra/firebase/firestore/mixins/with-find-firestore.mixin.mjs +110 -110
  447. package/esm2020/infra/firebase/firestore/mixins/with-firestore.mixin.mjs +80 -80
  448. package/esm2020/infra/firebase/firestore/mixins/with-get-firestore.mixin.mjs +23 -23
  449. package/esm2020/infra/firebase/firestore/mixins/with-helpers.mixin.mjs +17 -17
  450. package/esm2020/infra/firebase/firestore/mixins/with-sub-collection.mixin.mjs +13 -13
  451. package/esm2020/infra/firebase/firestore/mixins/with-update-firestore.mixin.mjs +51 -51
  452. package/esm2020/infra/firebase/firestore/repositories/catalog/category-firestore.repository.mjs +67 -67
  453. package/esm2020/infra/firebase/firestore/repositories/catalog/index.mjs +5 -5
  454. package/esm2020/infra/firebase/firestore/repositories/catalog/product-firestore.repository.mjs +54 -54
  455. package/esm2020/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.mjs +16 -16
  456. package/esm2020/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.mjs +14 -14
  457. package/esm2020/infra/firebase/firestore/repositories/index.mjs +5 -5
  458. package/esm2020/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.mjs +60 -60
  459. package/esm2020/infra/firebase/firestore/repositories/shop-settings/index.mjs +4 -4
  460. package/esm2020/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.mjs +14 -14
  461. package/esm2020/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.mjs +14 -14
  462. package/esm2020/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.mjs +14 -14
  463. package/esm2020/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.mjs +14 -14
  464. package/esm2020/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.mjs +14 -14
  465. package/esm2020/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.mjs +14 -14
  466. package/esm2020/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.mjs +14 -14
  467. package/esm2020/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.mjs +31 -31
  468. package/esm2020/infra/firebase/firestore/repositories/shopping/index.mjs +11 -11
  469. package/esm2020/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.mjs +11 -11
  470. package/esm2020/infra/firebase/firestore/repositories/shopping/order-firestore.repository.mjs +40 -40
  471. package/esm2020/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.mjs +14 -14
  472. package/esm2020/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.mjs +14 -14
  473. package/esm2020/infra/firebase/firestore/repositories/users/index.mjs +9 -9
  474. package/esm2020/infra/firebase/firestore/repositories/users/lead-firestore.repository.mjs +14 -14
  475. package/esm2020/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.mjs +16 -16
  476. package/esm2020/infra/firebase/firestore/repositories/users/subscription-firestore.repository.mjs +14 -14
  477. package/esm2020/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.mjs +16 -16
  478. package/esm2020/infra/firebase/firestore/repositories/users/user-address-firestore.repository.mjs +16 -16
  479. package/esm2020/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.mjs +16 -16
  480. package/esm2020/infra/firebase/firestore/repositories/users/user-firestore.repository.mjs +50 -50
  481. package/esm2020/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.mjs +16 -16
  482. package/esm2020/infra/firebase/firestore/types/firestore-interceptors.type.mjs +2 -2
  483. package/esm2020/infra/firebase/firestore/types/firestore-sub.repository.type.mjs +2 -2
  484. package/esm2020/infra/firebase/firestore/types/firestore.helpers.type.mjs +2 -2
  485. package/esm2020/infra/firebase/firestore/types/firestore.repository.type.mjs +2 -2
  486. package/esm2020/infra/firebase/firestore/types/index.mjs +5 -5
  487. package/esm2020/infra/firebase/index.mjs +3 -3
  488. package/esm2020/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.mjs +13 -13
  489. package/esm2020/infra/hasura-graphql/enums/hasura-graphql-where.enum.mjs +17 -17
  490. package/esm2020/infra/hasura-graphql/enums/index.mjs +3 -3
  491. package/esm2020/infra/hasura-graphql/index.mjs +5 -5
  492. package/esm2020/infra/hasura-graphql/mixins/helpers/attribute-option.helper.mjs +35 -35
  493. package/esm2020/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.mjs +71 -71
  494. package/esm2020/infra/hasura-graphql/mixins/helpers/filter-option.helper.mjs +22 -22
  495. package/esm2020/infra/hasura-graphql/mixins/helpers/graphql-field.helper.mjs +125 -125
  496. package/esm2020/infra/hasura-graphql/mixins/helpers/index.mjs +5 -5
  497. package/esm2020/infra/hasura-graphql/mixins/index.mjs +8 -8
  498. package/esm2020/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.mjs +39 -39
  499. package/esm2020/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.mjs +10 -10
  500. package/esm2020/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.mjs +31 -31
  501. package/esm2020/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.mjs +115 -115
  502. package/esm2020/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.mjs +37 -37
  503. package/esm2020/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.mjs +108 -108
  504. package/esm2020/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.mjs +62 -62
  505. package/esm2020/infra/hasura-graphql/models/category-hasura-graphql.mjs +4 -4
  506. package/esm2020/infra/hasura-graphql/models/index.mjs +5 -5
  507. package/esm2020/infra/hasura-graphql/models/kit-product-hasura-graphql.mjs +15 -15
  508. package/esm2020/infra/hasura-graphql/models/product-hasura-graphql.mjs +11 -11
  509. package/esm2020/infra/hasura-graphql/models/variant-hasura-graphql.mjs +9 -9
  510. package/esm2020/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.mjs +39 -38
  511. package/esm2020/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.mjs +107 -107
  512. package/esm2020/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.mjs +339 -339
  513. package/esm2020/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.mjs +105 -105
  514. package/esm2020/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.mjs +22 -22
  515. package/esm2020/infra/hasura-graphql/repositories/catalog/index.mjs +9 -9
  516. package/esm2020/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.mjs +516 -516
  517. package/esm2020/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.mjs +114 -114
  518. package/esm2020/infra/hasura-graphql/repositories/catalog/wishlist-hasura-graphql.repository.mjs +236 -235
  519. package/esm2020/infra/hasura-graphql/repositories/index.mjs +2 -2
  520. package/esm2020/infra/hasura-graphql/types/fields.type.mjs +2 -2
  521. package/esm2020/infra/hasura-graphql/types/graphql.repository.type.mjs +2 -2
  522. package/esm2020/infra/hasura-graphql/types/hasura-graphql-auth-options.type.mjs +2 -2
  523. package/esm2020/infra/hasura-graphql/types/hasura-graphql-fields.type.mjs +2 -2
  524. package/esm2020/infra/hasura-graphql/types/hasura-graphql-headers.type.mjs +2 -2
  525. package/esm2020/infra/hasura-graphql/types/index.mjs +9 -9
  526. package/esm2020/infra/hasura-graphql/types/nested-field.type.mjs +2 -2
  527. package/esm2020/infra/hasura-graphql/types/query-builder-options.type.mjs +2 -2
  528. package/esm2020/infra/hasura-graphql/types/variable-options.type.mjs +2 -2
  529. package/esm2020/infra/index.mjs +4 -4
  530. package/esm2020/infrab4a-connect.mjs +4 -4
  531. package/esm2020/utils/decorators/debug.class.decorator.mjs +7 -7
  532. package/esm2020/utils/decorators/index.mjs +3 -3
  533. package/esm2020/utils/decorators/trace.method.decorator.mjs +81 -81
  534. package/esm2020/utils/get.mjs +3 -3
  535. package/esm2020/utils/helpers/class-name.helper.mjs +15 -15
  536. package/esm2020/utils/helpers/debug-decorator.helper.mjs +18 -18
  537. package/esm2020/utils/helpers/debug.helper.mjs +150 -150
  538. package/esm2020/utils/helpers/index.mjs +5 -5
  539. package/esm2020/utils/helpers/reflect.helper.mjs +165 -165
  540. package/esm2020/utils/index.mjs +13 -13
  541. package/esm2020/utils/is-uuid.mjs +3 -3
  542. package/esm2020/utils/is.mjs +4 -4
  543. package/esm2020/utils/log.utils.mjs +9 -9
  544. package/esm2020/utils/mixins/base.mixin.mjs +6 -6
  545. package/esm2020/utils/mixins/index.mjs +4 -4
  546. package/esm2020/utils/mixins/merge-constructor-params.type.mjs +2 -2
  547. package/esm2020/utils/mixins/mixin-ctor.type.mjs +2 -2
  548. package/esm2020/utils/parse-datetime.mjs +14 -14
  549. package/esm2020/utils/types/array-element.type.mjs +2 -2
  550. package/esm2020/utils/types/index.mjs +3 -3
  551. package/esm2020/utils/types/prop.type.mjs +2 -2
  552. package/fesm2015/infrab4a-connect.mjs +4569 -4567
  553. package/fesm2015/infrab4a-connect.mjs.map +1 -1
  554. package/fesm2020/infrab4a-connect.mjs +4476 -4474
  555. package/fesm2020/infrab4a-connect.mjs.map +1 -1
  556. package/index.d.ts +5 -5
  557. package/infra/elasticsearch/adapters/axios.adapter.d.ts +16 -16
  558. package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +8 -8
  559. package/infra/elasticsearch/adapters/index.d.ts +2 -2
  560. package/infra/elasticsearch/index.d.ts +3 -3
  561. package/infra/elasticsearch/indexes/index.d.ts +1 -1
  562. package/infra/elasticsearch/indexes/products-index.d.ts +13 -13
  563. package/infra/elasticsearch/types/elastic-search-result.d.ts +9 -9
  564. package/infra/elasticsearch/types/index.d.ts +1 -1
  565. package/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
  566. package/infra/firebase/auth/index.d.ts +2 -2
  567. package/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
  568. package/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +5 -5
  569. package/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +8 -8
  570. package/infra/firebase/firestore/enums/index.d.ts +1 -1
  571. package/infra/firebase/firestore/index.d.ts +3 -3
  572. package/infra/firebase/firestore/mixins/index.d.ts +9 -9
  573. package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
  574. package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +5 -5
  575. package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
  576. package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
  577. package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +13 -13
  578. package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
  579. package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
  580. package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +11 -11
  581. package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
  582. package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +20 -20
  583. package/infra/firebase/firestore/repositories/catalog/index.d.ts +4 -4
  584. package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +12 -12
  585. package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +12 -12
  586. package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +7 -7
  587. package/infra/firebase/firestore/repositories/index.d.ts +4 -4
  588. package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
  589. package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +3 -3
  590. package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +7 -7
  591. package/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +7 -7
  592. package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +7 -7
  593. package/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.d.ts +8 -8
  594. package/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.d.ts +8 -8
  595. package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +7 -7
  596. package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +7 -7
  597. package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
  598. package/infra/firebase/firestore/repositories/shopping/index.d.ts +10 -10
  599. package/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +6 -6
  600. package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
  601. package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +7 -7
  602. package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +7 -7
  603. package/infra/firebase/firestore/repositories/users/index.d.ts +8 -8
  604. package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +7 -7
  605. package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +12 -12
  606. package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +7 -7
  607. package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +12 -12
  608. package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +12 -12
  609. package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +12 -12
  610. package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
  611. package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +12 -12
  612. package/infra/firebase/firestore/types/firestore-interceptors.type.d.ts +14 -14
  613. package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
  614. package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
  615. package/infra/firebase/firestore/types/firestore.repository.type.d.ts +16 -16
  616. package/infra/firebase/firestore/types/index.d.ts +4 -4
  617. package/infra/firebase/index.d.ts +2 -2
  618. package/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
  619. package/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +15 -15
  620. package/infra/hasura-graphql/enums/index.d.ts +2 -2
  621. package/infra/hasura-graphql/index.d.ts +4 -4
  622. package/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +19 -19
  623. package/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
  624. package/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +8 -8
  625. package/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +11 -11
  626. package/infra/hasura-graphql/mixins/helpers/index.d.ts +4 -4
  627. package/infra/hasura-graphql/mixins/index.d.ts +7 -7
  628. package/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +9 -9
  629. package/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +11 -11
  630. package/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +7 -7
  631. package/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +33 -33
  632. package/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +25 -25
  633. package/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +22 -22
  634. package/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +14 -14
  635. package/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
  636. package/infra/hasura-graphql/models/index.d.ts +4 -4
  637. package/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +6 -6
  638. package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +18 -18
  639. package/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +10 -10
  640. package/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.d.ts +10 -10
  641. package/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +12 -12
  642. package/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +34 -34
  643. package/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.d.ts +18 -18
  644. package/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.d.ts +10 -10
  645. package/infra/hasura-graphql/repositories/catalog/index.d.ts +8 -8
  646. package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +30 -30
  647. package/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +14 -14
  648. package/infra/hasura-graphql/repositories/catalog/wishlist-hasura-graphql.repository.d.ts +27 -27
  649. package/infra/hasura-graphql/repositories/index.d.ts +1 -1
  650. package/infra/hasura-graphql/types/fields.type.d.ts +2 -2
  651. package/infra/hasura-graphql/types/graphql.repository.type.d.ts +23 -23
  652. package/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
  653. package/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +44 -44
  654. package/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
  655. package/infra/hasura-graphql/types/index.d.ts +8 -8
  656. package/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
  657. package/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
  658. package/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
  659. package/infra/index.d.ts +3 -3
  660. package/package.json +1 -1
  661. package/utils/decorators/debug.class.decorator.d.ts +2 -2
  662. package/utils/decorators/index.d.ts +2 -2
  663. package/utils/decorators/trace.method.decorator.d.ts +14 -14
  664. package/utils/get.d.ts +1 -1
  665. package/utils/helpers/class-name.helper.d.ts +3 -3
  666. package/utils/helpers/debug-decorator.helper.d.ts +9 -9
  667. package/utils/helpers/debug.helper.d.ts +60 -60
  668. package/utils/helpers/index.d.ts +4 -4
  669. package/utils/helpers/reflect.helper.d.ts +50 -50
  670. package/utils/index.d.ts +13 -13
  671. package/utils/is-uuid.d.ts +1 -1
  672. package/utils/is.d.ts +1 -1
  673. package/utils/log.utils.d.ts +7 -7
  674. package/utils/mixins/base.mixin.d.ts +3 -3
  675. package/utils/mixins/index.d.ts +3 -3
  676. package/utils/mixins/merge-constructor-params.type.d.ts +3 -3
  677. package/utils/mixins/mixin-ctor.type.d.ts +1 -1
  678. package/utils/parse-datetime.d.ts +1 -1
  679. package/utils/types/array-element.type.d.ts +1 -1
  680. package/utils/types/index.d.ts +2 -2
  681. package/utils/types/prop.type.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- export * from './firestore-interceptors.type';
2
- export * from './firestore-sub.repository.type';
3
- export * from './firestore.helpers.type';
4
- export * from './firestore.repository.type';
1
+ export * from './firestore-interceptors.type';
2
+ export * from './firestore-sub.repository.type';
3
+ export * from './firestore.helpers.type';
4
+ export * from './firestore.repository.type';
@@ -1,2 +1,2 @@
1
- export * from './firestore';
2
- export * from './auth';
1
+ export * from './firestore';
2
+ export * from './auth';
@@ -1,11 +1,11 @@
1
- export declare enum HasuraGraphQLColumnType {
2
- Int = "Int",
3
- Float = "Float",
4
- Boolean = "Boolean",
5
- String = "String",
6
- DateTime = "timestampz",
7
- Json = "json",
8
- Jsonb = "jsonb",
9
- Enum = "enum",
10
- Uuid = "uuid"
11
- }
1
+ export declare enum HasuraGraphQLColumnType {
2
+ Int = "Int",
3
+ Float = "Float",
4
+ Boolean = "Boolean",
5
+ String = "String",
6
+ DateTime = "timestampz",
7
+ Json = "json",
8
+ Jsonb = "jsonb",
9
+ Enum = "enum",
10
+ Uuid = "uuid"
11
+ }
@@ -1,15 +1,15 @@
1
- export declare enum HasuraGraphQLWhere {
2
- EQUALS = "_eq",
3
- GT = "_gt",
4
- GTE = "_gte",
5
- IN = "_in",
6
- NOTIN = "_nin",
7
- LT = "_lt",
8
- LTE = "_lte",
9
- LIKE = "_like",
10
- NOTLIKE = "_nlike",
11
- ISNULL = "_is_null",
12
- ISNOTNULL = "_is_null",
13
- JSON_CONTAINS = "_contains",
14
- JSON_HAS_KEYS_ANY = "_has_keys_any"
15
- }
1
+ export declare enum HasuraGraphQLWhere {
2
+ EQUALS = "_eq",
3
+ GT = "_gt",
4
+ GTE = "_gte",
5
+ IN = "_in",
6
+ NOTIN = "_nin",
7
+ LT = "_lt",
8
+ LTE = "_lte",
9
+ LIKE = "_like",
10
+ NOTLIKE = "_nlike",
11
+ ISNULL = "_is_null",
12
+ ISNOTNULL = "_is_null",
13
+ JSON_CONTAINS = "_contains",
14
+ JSON_HAS_KEYS_ANY = "_has_keys_any"
15
+ }
@@ -1,2 +1,2 @@
1
- export * from './hasura-graphql-where.enum';
2
- export * from './hasura-graphql-column-type.enum';
1
+ export * from './hasura-graphql-where.enum';
2
+ export * from './hasura-graphql-column-type.enum';
@@ -1,4 +1,4 @@
1
- export * from './mixins';
2
- export * from './models';
3
- export * from './repositories';
4
- export * from './types';
1
+ export * from './mixins';
2
+ export * from './models';
3
+ export * from './repositories';
4
+ export * from './types';
@@ -1,19 +1,19 @@
1
- import { ModelBaseStructure, NonFunctionAndIdentifierPropertyNames } from '../../../../domain';
2
- import { ColumnOptions, HasuraGraphQLFields } from '../../types';
3
- declare type FindByAttributeResult<MBase extends ModelBaseStructure<MBase>, Attribute extends NonFunctionAndIdentifierPropertyNames<MBase>> = ColumnOptions<MBase[Attribute], MBase> & {
4
- attributeName: Attribute;
5
- };
6
- export declare class AttributeOptionHelper {
7
- static FindByAttribute: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, Attribute extends NonFunctionAndIdentifierPropertyNames<MBase> = NonFunctionAndIdentifierPropertyNames<MBase>>(attributeName: Attribute, fields: HasuraGraphQLFields<MBase>) => FindByAttributeResult<MBase, Attribute>;
8
- static CheckIsColumnOption: <Model extends ModelBaseStructure<Model, Model["identifiersFields"][number]>, ParentModel extends ModelBaseStructure<Record<string, any> & {
9
- identifiersFields: any[];
10
- }, any>>(fieldValue: any) => fieldValue is ColumnOptions<Model, ParentModel, any>;
11
- static FindColumnOptionFromList: <Model extends ModelBaseStructure<Record<string, any> & {
12
- identifiersFields: any[];
13
- }, any>, ParentModel extends ModelBaseStructure<Record<string, any> & {
14
- identifiersFields: any[];
15
- }, any>>(columnName: string, fields: HasuraGraphQLFields<ParentModel>) => ColumnOptions<Model, ParentModel, any> & {
16
- attributeName: NonFunctionAndIdentifierPropertyNames<ParentModel>;
17
- };
18
- }
19
- export {};
1
+ import { ModelBaseStructure, NonFunctionAndIdentifierPropertyNames } from '../../../../domain';
2
+ import { ColumnOptions, HasuraGraphQLFields } from '../../types';
3
+ declare type FindByAttributeResult<MBase extends ModelBaseStructure<MBase>, Attribute extends NonFunctionAndIdentifierPropertyNames<MBase>> = ColumnOptions<MBase[Attribute], MBase> & {
4
+ attributeName: Attribute;
5
+ };
6
+ export declare class AttributeOptionHelper {
7
+ static FindByAttribute: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, Attribute extends NonFunctionAndIdentifierPropertyNames<MBase> = NonFunctionAndIdentifierPropertyNames<MBase>>(attributeName: Attribute, fields: HasuraGraphQLFields<MBase>) => FindByAttributeResult<MBase, Attribute>;
8
+ static CheckIsColumnOption: <Model extends ModelBaseStructure<Model, Model["identifiersFields"][number]>, ParentModel extends ModelBaseStructure<Record<string, any> & {
9
+ identifiersFields: any[];
10
+ }, any>>(fieldValue: any) => fieldValue is ColumnOptions<Model, ParentModel, any>;
11
+ static FindColumnOptionFromList: <Model extends ModelBaseStructure<Record<string, any> & {
12
+ identifiersFields: any[];
13
+ }, any>, ParentModel extends ModelBaseStructure<Record<string, any> & {
14
+ identifiersFields: any[];
15
+ }, any>>(columnName: string, fields: HasuraGraphQLFields<ParentModel>) => ColumnOptions<Model, ParentModel, any> & {
16
+ attributeName: NonFunctionAndIdentifierPropertyNames<ParentModel>;
17
+ };
18
+ }
19
+ export {};
@@ -1,10 +1,10 @@
1
- import { ModelBaseStructure, NonFunctionAndIdentifierPropertyNames, NonFunctionPropertyNames, RepositoryFindFielters, RepositoryFindFieltersOptions } from '../../../../domain';
2
- import { HasuraGraphQLWhere } from '../../enums';
3
- import { ColumnOptions, HasuraGraphQLFields, VariableOptions } from '../../types';
4
- export declare class BindFilterQueryHelper {
5
- static MakeGraphQLWhere: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>>(filter: RepositoryFindFielters<MBase>, fields: HasuraGraphQLFields<MBase>) => VariableOptions;
6
- static BuildWhereSentence: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>>(field: NonFunctionAndIdentifierPropertyNames<MBase>, options: RepositoryFindFieltersOptions<MBase, NonFunctionAndIdentifierPropertyNames<MBase>>, fields: HasuraGraphQLFields<MBase>) => VariableOptions;
7
- static BuildOperatorSentence: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>>(options: RepositoryFindFieltersOptions<MBase, any>, fieldOption: ColumnOptions<any, any>) => VariableOptions;
8
- static GetHasuraOperator: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>>(options: RepositoryFindFieltersOptions<MBase, NonFunctionPropertyNames<MBase, MBase, Exclude<keyof MBase, import("../../../../domain").ReadonlyKeys<MBase>>>>, fieldOption: ColumnOptions<any, any>) => HasuraGraphQLWhere;
9
- static GetHasuraJsonbOperator: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>>(options: RepositoryFindFieltersOptions<MBase, NonFunctionPropertyNames<MBase, MBase, Exclude<keyof MBase, import("../../../../domain").ReadonlyKeys<MBase>>>>) => HasuraGraphQLWhere;
10
- }
1
+ import { ModelBaseStructure, NonFunctionAndIdentifierPropertyNames, NonFunctionPropertyNames, RepositoryFindFielters, RepositoryFindFieltersOptions } from '../../../../domain';
2
+ import { HasuraGraphQLWhere } from '../../enums';
3
+ import { ColumnOptions, HasuraGraphQLFields, VariableOptions } from '../../types';
4
+ export declare class BindFilterQueryHelper {
5
+ static MakeGraphQLWhere: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>>(filter: RepositoryFindFielters<MBase>, fields: HasuraGraphQLFields<MBase>) => VariableOptions;
6
+ static BuildWhereSentence: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>>(field: NonFunctionAndIdentifierPropertyNames<MBase>, options: RepositoryFindFieltersOptions<MBase, NonFunctionAndIdentifierPropertyNames<MBase>>, fields: HasuraGraphQLFields<MBase>) => VariableOptions;
7
+ static BuildOperatorSentence: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>>(options: RepositoryFindFieltersOptions<MBase, any>, fieldOption: ColumnOptions<any, any>) => VariableOptions;
8
+ static GetHasuraOperator: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>>(options: RepositoryFindFieltersOptions<MBase, NonFunctionPropertyNames<MBase, MBase, Exclude<keyof MBase, import("../../../../domain").ReadonlyKeys<MBase>>>>, fieldOption: ColumnOptions<any, any>) => HasuraGraphQLWhere;
9
+ static GetHasuraJsonbOperator: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>>(options: RepositoryFindFieltersOptions<MBase, NonFunctionPropertyNames<MBase, MBase, Exclude<keyof MBase, import("../../../../domain").ReadonlyKeys<MBase>>>>) => HasuraGraphQLWhere;
10
+ }
@@ -1,8 +1,8 @@
1
- import { ModelBaseStructure, RepositoryFindFieltersOptions } from '../../../../domain';
2
- import { ColumnOptions } from '../../types';
3
- export declare class FilterOptionHelper {
4
- static CheckIfIsFilterOption: <Model extends ModelBaseStructure<Record<string, any> & {
5
- identifiersFields: any[];
6
- }, any>>(filter: any) => filter is RepositoryFindFieltersOptions<Model, any>;
7
- static GetValueFromFilter: <Model extends ModelBaseStructure<Model, Model["identifiersFields"][number]>>(filter: RepositoryFindFieltersOptions<Model, any>, fieldOption: ColumnOptions<any, any>) => any;
8
- }
1
+ import { ModelBaseStructure, RepositoryFindFieltersOptions } from '../../../../domain';
2
+ import { ColumnOptions } from '../../types';
3
+ export declare class FilterOptionHelper {
4
+ static CheckIfIsFilterOption: <Model extends ModelBaseStructure<Record<string, any> & {
5
+ identifiersFields: any[];
6
+ }, any>>(filter: any) => filter is RepositoryFindFieltersOptions<Model, any>;
7
+ static GetValueFromFilter: <Model extends ModelBaseStructure<Model, Model["identifiersFields"][number]>>(filter: RepositoryFindFieltersOptions<Model, any>, fieldOption: ColumnOptions<any, any>) => any;
8
+ }
@@ -1,11 +1,11 @@
1
- import { ModelBaseStructure, NonFunctionAndIdentifierPropertiesWithNoPartial, PartialIdentifiersModel } from '../../../../domain';
2
- import { Fields, GraphQLParams, HasuraGraphQLFields } from '../../types';
3
- export declare class GraphQLFieldHelper {
4
- static CheckIsGraphQLParams: <Model extends ModelBaseStructure<Model, Model["identifiersFields"][number]>>(params: string | GraphQLParams<Model>[]) => params is GraphQLParams<Model>[];
5
- static ConvertModelFieldsToGraphQLFields: <Model extends ModelBaseStructure<Model, Model["identifiersFields"][number]>>(fields: HasuraGraphQLFields<Model>) => Fields;
6
- static ConvertFieldValueFrom: <Model extends ModelBaseStructure<Record<string, any> & {
7
- identifiersFields: any[];
8
- }, any>, RecordDataType extends string | number | Date | DataType, DataType extends Record<string, RecordDataType | RecordDataType[]>>(data: DataType, fields: HasuraGraphQLFields<Model>) => NonFunctionAndIdentifierPropertiesWithNoPartial<Model> | Partial<import("../../../../domain").IdentifiersModel<Model>>;
9
- static ConvertFieldValueTo: <Model extends ModelBaseStructure<Model, Model["identifiersFields"][number]>, DataType extends Record<string, string | number | Date | DataType>>(instance: Model, fields: HasuraGraphQLFields<Model>, update?: boolean) => DataType;
10
- private static ConvertNestedFieldsToGraphQLFields;
11
- }
1
+ import { ModelBaseStructure, NonFunctionAndIdentifierPropertiesWithNoPartial, PartialIdentifiersModel } from '../../../../domain';
2
+ import { Fields, GraphQLParams, HasuraGraphQLFields } from '../../types';
3
+ export declare class GraphQLFieldHelper {
4
+ static CheckIsGraphQLParams: <Model extends ModelBaseStructure<Model, Model["identifiersFields"][number]>>(params: string | GraphQLParams<Model>[]) => params is GraphQLParams<Model>[];
5
+ static ConvertModelFieldsToGraphQLFields: <Model extends ModelBaseStructure<Model, Model["identifiersFields"][number]>>(fields: HasuraGraphQLFields<Model>) => Fields;
6
+ static ConvertFieldValueFrom: <Model extends ModelBaseStructure<Record<string, any> & {
7
+ identifiersFields: any[];
8
+ }, any>, RecordDataType extends string | number | Date | DataType, DataType extends Record<string, RecordDataType | RecordDataType[]>>(data: DataType, fields: HasuraGraphQLFields<Model>) => NonFunctionAndIdentifierPropertiesWithNoPartial<Model> | Partial<import("../../../../domain").IdentifiersModel<Model>>;
9
+ static ConvertFieldValueTo: <Model extends ModelBaseStructure<Model, Model["identifiersFields"][number]>, DataType extends Record<string, string | number | Date | DataType>>(instance: Model, fields: HasuraGraphQLFields<Model>, update?: boolean) => DataType;
10
+ private static ConvertNestedFieldsToGraphQLFields;
11
+ }
@@ -1,4 +1,4 @@
1
- export * from './attribute-option.helper';
2
- export * from './bind-filter-query.helper';
3
- export * from './filter-option.helper';
4
- export * from './graphql-field.helper';
1
+ export * from './attribute-option.helper';
2
+ export * from './bind-filter-query.helper';
3
+ export * from './filter-option.helper';
4
+ export * from './graphql-field.helper';
@@ -1,7 +1,7 @@
1
- export * from './with-create-hasura-graphql.mixin';
2
- export * from './with-delete-hasura-graphql.mixin';
3
- export * from './with-hasura-graphql.mixin';
4
- export * from './with-update-hasura-graphql.mixin';
5
- export * from './with-get-hasura-graphql.mixin';
6
- export * from './with-find-hasura-graphql.mixin';
7
- export * from './with-crud-hasura-graphql.mixin';
1
+ export * from './with-create-hasura-graphql.mixin';
2
+ export * from './with-delete-hasura-graphql.mixin';
3
+ export * from './with-hasura-graphql.mixin';
4
+ export * from './with-update-hasura-graphql.mixin';
5
+ export * from './with-get-hasura-graphql.mixin';
6
+ export * from './with-find-hasura-graphql.mixin';
7
+ export * from './with-crud-hasura-graphql.mixin';
@@ -1,9 +1,9 @@
1
- import { CreateRepository, CreateRepositoryParams, ModelBaseStructure } from '../../../domain';
2
- import { MergeConstructorParams, MixinCtor } from '../../../utils';
3
- import { GraphQLRepository } from '../types';
4
- export declare type CreateConstructorParams = {
5
- insertGraphQLOperation?: string;
6
- insertAllGraphQLOperation?: string;
7
- insertGraphQLObjectType?: string;
8
- };
9
- export declare const withCreateHasuraGraphQL: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => MixinCtor<GraphQLRepository<MBase> & InstanceType<TMixinBase> & CreateRepository<MBase, CreateRepositoryParams<MBase>>, MergeConstructorParams<[CreateConstructorParams, ...any[]], ConstructorParameters<TMixinBase>>>;
1
+ import { CreateRepository, CreateRepositoryParams, ModelBaseStructure } from '../../../domain';
2
+ import { MergeConstructorParams, MixinCtor } from '../../../utils';
3
+ import { GraphQLRepository } from '../types';
4
+ export declare type CreateConstructorParams = {
5
+ insertGraphQLOperation?: string;
6
+ insertAllGraphQLOperation?: string;
7
+ insertGraphQLObjectType?: string;
8
+ };
9
+ export declare const withCreateHasuraGraphQL: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => MixinCtor<GraphQLRepository<MBase> & InstanceType<TMixinBase> & CreateRepository<MBase, CreateRepositoryParams<MBase>>, MergeConstructorParams<[CreateConstructorParams, ...any[]], ConstructorParameters<TMixinBase>>>;
@@ -1,11 +1,11 @@
1
- import { CrudRepository, ModelBaseStructure } from '../../../domain';
2
- import { MergeConstructorParams, MixinCtor } from '../../../utils';
3
- import { GraphQLRepository } from '../types';
4
- import { CreateConstructorParams } from './with-create-hasura-graphql.mixin';
5
- import { DeleteConstructorParams } from './with-delete-hasura-graphql.mixin';
6
- import { GetConstructorParams } from './with-get-hasura-graphql.mixin';
7
- import { HasuraConstructorParams } from './with-hasura-graphql.mixin';
8
- import { UpdateConstructorParams, UpdateHasuraGraphQLRepositoryType } from './with-update-hasura-graphql.mixin';
9
- export declare const withCrudHasuraGraphQL: <TBase extends ModelBaseStructure<TBase, TBase["identifiersFields"][number]>, Repository = CrudRepository<TBase, import("../../../domain").CrudParams<TBase>>, TMixinBase extends MixinCtor<any, any[]> = MixinCtor<any, any[]>>(MixinBase: MixinCtor<GraphQLRepository<TBase>, any[]> & TMixinBase) => MixinCtor<GraphQLRepository<TBase> & Repository & import("../../../domain").UpdateRepository<TBase, import("../../../domain").RepositoryUpdateParams<TBase>> & {
10
- paramsToPlain(params: import("../../../domain").RepositoryUpdateParams<TBase>): Partial<TBase>;
11
- }, MergeConstructorParams<[HasuraConstructorParams<TBase> & CreateConstructorParams & DeleteConstructorParams & GetConstructorParams & UpdateConstructorParams, ...any[]], ConstructorParameters<TMixinBase>>>;
1
+ import { CrudRepository, ModelBaseStructure } from '../../../domain';
2
+ import { MergeConstructorParams, MixinCtor } from '../../../utils';
3
+ import { GraphQLRepository } from '../types';
4
+ import { CreateConstructorParams } from './with-create-hasura-graphql.mixin';
5
+ import { DeleteConstructorParams } from './with-delete-hasura-graphql.mixin';
6
+ import { GetConstructorParams } from './with-get-hasura-graphql.mixin';
7
+ import { HasuraConstructorParams } from './with-hasura-graphql.mixin';
8
+ import { UpdateConstructorParams, UpdateHasuraGraphQLRepositoryType } from './with-update-hasura-graphql.mixin';
9
+ export declare const withCrudHasuraGraphQL: <TBase extends ModelBaseStructure<TBase, TBase["identifiersFields"][number]>, Repository = CrudRepository<TBase, import("../../../domain").CrudParams<TBase>>, TMixinBase extends MixinCtor<any, any[]> = MixinCtor<any, any[]>>(MixinBase: MixinCtor<GraphQLRepository<TBase>, any[]> & TMixinBase) => MixinCtor<GraphQLRepository<TBase> & Repository & import("../../../domain").UpdateRepository<TBase, import("../../../domain").RepositoryUpdateParams<TBase>> & {
10
+ paramsToPlain(params: import("../../../domain").RepositoryUpdateParams<TBase>): Partial<TBase>;
11
+ }, MergeConstructorParams<[HasuraConstructorParams<TBase> & CreateConstructorParams & DeleteConstructorParams & GetConstructorParams & UpdateConstructorParams, ...any[]], ConstructorParameters<TMixinBase>>>;
@@ -1,7 +1,7 @@
1
- import { DeleteRepository, DeleteRepositoryParams, ModelBaseStructure } from '../../../domain';
2
- import { MergeConstructorParams, MixinCtor } from '../../../utils';
3
- import { GraphQLRepository } from '../types';
4
- export declare type DeleteConstructorParams = {
5
- deleteGraphQLOperation?: string;
6
- };
7
- export declare const withDeleteHasuraGraphQL: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => MixinCtor<GraphQLRepository<MBase> & DeleteRepository<MBase, DeleteRepositoryParams<MBase>> & InstanceType<TMixinBase>, MergeConstructorParams<[DeleteConstructorParams, ...any[]], ConstructorParameters<TMixinBase>>>;
1
+ import { DeleteRepository, DeleteRepositoryParams, ModelBaseStructure } from '../../../domain';
2
+ import { MergeConstructorParams, MixinCtor } from '../../../utils';
3
+ import { GraphQLRepository } from '../types';
4
+ export declare type DeleteConstructorParams = {
5
+ deleteGraphQLOperation?: string;
6
+ };
7
+ export declare const withDeleteHasuraGraphQL: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => MixinCtor<GraphQLRepository<MBase> & DeleteRepository<MBase, DeleteRepositoryParams<MBase>> & InstanceType<TMixinBase>, MergeConstructorParams<[DeleteConstructorParams, ...any[]], ConstructorParameters<TMixinBase>>>;
@@ -1,33 +1,33 @@
1
- import { FindRepositoryParams, ModelBaseStructure, NonFunctionAndIdentifierPropertyNames, RepositoryFindResult, RepositoryOrderBy } from '../../../domain';
2
- import { DebugHelper, MixinCtor } from '../../../utils';
3
- import { GraphQLParams, GraphQLRepository, HasuraGraphQLFields } from '../types';
4
- export declare const withFindHasuraGraphQL: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => {
5
- new (...args: any[]): {
6
- find(params?: FindRepositoryParams<MBase>): Promise<RepositoryFindResult<MBase>>;
7
- bindOrderByAttributes: (orderBy: RepositoryOrderBy<MBase>, fields: HasuraGraphQLFields<MBase>) => any[];
8
- bindAggretageAttributes: (aggregates: {
9
- minimal?: ({} | NonFunctionAndIdentifierPropertyNames<MBase>)[];
10
- maximum?: ({} | NonFunctionAndIdentifierPropertyNames<MBase>)[];
11
- }, fields: HasuraGraphQLFields<MBase>) => ({
12
- min: {}[];
13
- max?: undefined;
14
- } | {
15
- max: {}[];
16
- min?: undefined;
17
- })[];
18
- bindAttributesToColumns: (attributes: ({} | NonFunctionAndIdentifierPropertyNames<MBase>)[], fields: HasuraGraphQLFields<MBase>) => {}[];
19
- tableName: string;
20
- model: import("../../../domain").BaseModelBuilder<MBase, any, MBase & {
21
- prototype: unknown;
22
- }>;
23
- fields: HasuraGraphQLFields<MBase>;
24
- endpoint: string;
25
- authOptions: import("../types").HasuraGraphQLAuthOptions;
26
- logger: DebugHelper;
27
- mutation: <ReturnFields = any>(operation: string, fields?: string[] | HasuraGraphQLFields<MBase>, variables?: import("../types").VariableOptions) => Promise<ReturnFields>;
28
- query: <ReturnFields_1 = any>(operation: string | GraphQLParams<MBase>[], fields?: string[] | HasuraGraphQLFields<MBase>, variables?: import("../types").VariableOptions) => Promise<ReturnFields_1>;
29
- getAttributeGraphQLTypeOf: <FieldValue>(value: FieldValue) => string;
30
- convertDataFromHasura(data: Record<string, string | number>, fields?: string[] | HasuraGraphQLFields<MBase>): MBase;
31
- convertDataToHasura(instance: MBase, update?: boolean): Record<string, string | number>;
32
- };
33
- } & TMixinBase;
1
+ import { FindRepositoryParams, ModelBaseStructure, NonFunctionAndIdentifierPropertyNames, RepositoryFindResult, RepositoryOrderBy } from '../../../domain';
2
+ import { DebugHelper, MixinCtor } from '../../../utils';
3
+ import { GraphQLParams, GraphQLRepository, HasuraGraphQLFields } from '../types';
4
+ export declare const withFindHasuraGraphQL: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => {
5
+ new (...args: any[]): {
6
+ find(params?: FindRepositoryParams<MBase>): Promise<RepositoryFindResult<MBase>>;
7
+ bindOrderByAttributes: (orderBy: RepositoryOrderBy<MBase>, fields: HasuraGraphQLFields<MBase>) => any[];
8
+ bindAggretageAttributes: (aggregates: {
9
+ minimal?: ({} | NonFunctionAndIdentifierPropertyNames<MBase>)[];
10
+ maximum?: ({} | NonFunctionAndIdentifierPropertyNames<MBase>)[];
11
+ }, fields: HasuraGraphQLFields<MBase>) => ({
12
+ min: {}[];
13
+ max?: undefined;
14
+ } | {
15
+ max: {}[];
16
+ min?: undefined;
17
+ })[];
18
+ bindAttributesToColumns: (attributes: ({} | NonFunctionAndIdentifierPropertyNames<MBase>)[], fields: HasuraGraphQLFields<MBase>) => {}[];
19
+ tableName: string;
20
+ model: import("../../../domain").BaseModelBuilder<MBase, any, MBase & {
21
+ prototype: unknown;
22
+ }>;
23
+ fields: HasuraGraphQLFields<MBase>;
24
+ endpoint: string;
25
+ authOptions: import("../types").HasuraGraphQLAuthOptions;
26
+ logger: DebugHelper;
27
+ mutation: <ReturnFields = any>(operation: string, fields?: string[] | HasuraGraphQLFields<MBase>, variables?: import("../types").VariableOptions) => Promise<ReturnFields>;
28
+ query: <ReturnFields_1 = any>(operation: string | GraphQLParams<MBase>[], fields?: string[] | HasuraGraphQLFields<MBase>, variables?: import("../types").VariableOptions) => Promise<ReturnFields_1>;
29
+ getAttributeGraphQLTypeOf: <FieldValue>(value: FieldValue) => string;
30
+ convertDataFromHasura(data: Record<string, string | number>, fields?: string[] | HasuraGraphQLFields<MBase>): MBase;
31
+ convertDataToHasura(instance: MBase, update?: boolean): Record<string, string | number>;
32
+ };
33
+ } & TMixinBase;
@@ -1,25 +1,25 @@
1
- import { GetRepositoryParams, ModelBaseStructure } from '../../../domain';
2
- import { DebugHelper, MixinCtor } from '../../../utils';
3
- import { GraphQLRepository } from '../types';
4
- export declare type GetConstructorParams = {
5
- getGraphQLOperation?: string;
6
- };
7
- export declare const withGetHasuraGraphQL: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => {
8
- new (...params: any[]): {
9
- getGraphQLOperation: string;
10
- get(identifiers: GetRepositoryParams<MBase>): Promise<MBase>;
11
- tableName: string;
12
- model: import("../../../domain").BaseModelBuilder<MBase, any, MBase & {
13
- prototype: unknown;
14
- }>;
15
- fields: import("../types").HasuraGraphQLFields<MBase>;
16
- endpoint: string;
17
- authOptions: import("../types").HasuraGraphQLAuthOptions;
18
- logger: DebugHelper;
19
- mutation: <ReturnFields = any>(operation: string, fields?: string[] | import("../types").HasuraGraphQLFields<MBase>, variables?: import("../types").VariableOptions) => Promise<ReturnFields>;
20
- query: <ReturnFields_1 = any>(operation: string | import("../types").GraphQLParams<MBase>[], fields?: string[] | import("../types").HasuraGraphQLFields<MBase>, variables?: import("../types").VariableOptions) => Promise<ReturnFields_1>;
21
- getAttributeGraphQLTypeOf: <FieldValue>(value: FieldValue) => string;
22
- convertDataFromHasura(data: Record<string, string | number>, fields?: string[] | import("../types").HasuraGraphQLFields<MBase>): MBase;
23
- convertDataToHasura(instance: MBase, update?: boolean): Record<string, string | number>;
24
- };
25
- } & TMixinBase;
1
+ import { GetRepositoryParams, ModelBaseStructure } from '../../../domain';
2
+ import { DebugHelper, MixinCtor } from '../../../utils';
3
+ import { GraphQLRepository } from '../types';
4
+ export declare type GetConstructorParams = {
5
+ getGraphQLOperation?: string;
6
+ };
7
+ export declare const withGetHasuraGraphQL: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => {
8
+ new (...params: any[]): {
9
+ getGraphQLOperation: string;
10
+ get(identifiers: GetRepositoryParams<MBase>): Promise<MBase>;
11
+ tableName: string;
12
+ model: import("../../../domain").BaseModelBuilder<MBase, any, MBase & {
13
+ prototype: unknown;
14
+ }>;
15
+ fields: import("../types").HasuraGraphQLFields<MBase>;
16
+ endpoint: string;
17
+ authOptions: import("../types").HasuraGraphQLAuthOptions;
18
+ logger: DebugHelper;
19
+ mutation: <ReturnFields = any>(operation: string, fields?: string[] | import("../types").HasuraGraphQLFields<MBase>, variables?: import("../types").VariableOptions) => Promise<ReturnFields>;
20
+ query: <ReturnFields_1 = any>(operation: string | import("../types").GraphQLParams<MBase>[], fields?: string[] | import("../types").HasuraGraphQLFields<MBase>, variables?: import("../types").VariableOptions) => Promise<ReturnFields_1>;
21
+ getAttributeGraphQLTypeOf: <FieldValue>(value: FieldValue) => string;
22
+ convertDataFromHasura(data: Record<string, string | number>, fields?: string[] | import("../types").HasuraGraphQLFields<MBase>): MBase;
23
+ convertDataToHasura(instance: MBase, update?: boolean): Record<string, string | number>;
24
+ };
25
+ } & TMixinBase;
@@ -1,22 +1,22 @@
1
- import { BaseModelBuilder, ModelBaseStructure } from '../../../domain';
2
- import { MergeConstructorParams, MixinCtor } from '../../../utils';
3
- import { Fields, GraphQLRepository, HasuraGraphQLAuthOptions, HasuraGraphQLFields, VariableOptions } from '../types';
4
- declare type QueryBuilderOptions = {
5
- operation: string;
6
- fields: Fields;
7
- variables?: VariableOptions;
8
- };
9
- declare type HasuraGraphQLInterceptors<P = QueryBuilderOptions | QueryBuilderOptions[]> = {
10
- request?: <R>(request: P) => Promise<P & R>;
11
- response?: <R>(response: R, request: P) => Promise<R>;
12
- };
13
- export declare type HasuraConstructorParams<Model extends ModelBaseStructure<Model, Model['identifiersFields'][number]>> = {
14
- tableName: string;
15
- model: BaseModelBuilder<Model>;
16
- fields: HasuraGraphQLFields<Model>;
17
- endpoint: string;
18
- interceptors?: HasuraGraphQLInterceptors;
19
- authOptions: HasuraGraphQLAuthOptions;
20
- };
21
- export declare const withHasuraGraphQL: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, T extends MixinCtor<any, any[]> = MixinCtor<any, any[]>>(MixinBase: T) => MixinCtor<GraphQLRepository<MBase>, any[]>;
22
- export {};
1
+ import { BaseModelBuilder, ModelBaseStructure } from '../../../domain';
2
+ import { MergeConstructorParams, MixinCtor } from '../../../utils';
3
+ import { Fields, GraphQLRepository, HasuraGraphQLAuthOptions, HasuraGraphQLFields, VariableOptions } from '../types';
4
+ declare type QueryBuilderOptions = {
5
+ operation: string;
6
+ fields: Fields;
7
+ variables?: VariableOptions;
8
+ };
9
+ declare type HasuraGraphQLInterceptors<P = QueryBuilderOptions | QueryBuilderOptions[]> = {
10
+ request?: <R>(request: P) => Promise<P & R>;
11
+ response?: <R>(response: R, request: P) => Promise<R>;
12
+ };
13
+ export declare type HasuraConstructorParams<Model extends ModelBaseStructure<Model, Model['identifiersFields'][number]>> = {
14
+ tableName: string;
15
+ model: BaseModelBuilder<Model>;
16
+ fields: HasuraGraphQLFields<Model>;
17
+ endpoint: string;
18
+ interceptors?: HasuraGraphQLInterceptors;
19
+ authOptions: HasuraGraphQLAuthOptions;
20
+ };
21
+ export declare const withHasuraGraphQL: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, T extends MixinCtor<any, any[]> = MixinCtor<any, any[]>>(MixinBase: T) => MixinCtor<GraphQLRepository<MBase>, any[]>;
22
+ export {};
@@ -1,14 +1,14 @@
1
- import { ModelBaseStructure, RepositoryUpdateParams, UpdateRepository } from '../../../domain';
2
- import { MergeConstructorParams, MixinCtor } from '../../../utils';
3
- import { GraphQLRepository } from '../types';
4
- export declare type UpdateHasuraGraphQLRepositoryType<MBase extends ModelBaseStructure<MBase, MBase['identifiersFields'][number]>> = UpdateRepository<MBase> & {
5
- paramsToPlain(params: RepositoryUpdateParams<MBase>): Partial<MBase>;
6
- };
7
- export declare type UpdateConstructorParams = {
8
- updateGraphQLOperation?: string;
9
- updateGraphQLObjectType?: string;
10
- updateGraphQLPKType?: string;
11
- };
12
- export declare const withUpdateHasuraGraphQL: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => MixinCtor<GraphQLRepository<MBase> & UpdateRepository<MBase, RepositoryUpdateParams<MBase>> & {
13
- paramsToPlain(params: RepositoryUpdateParams<MBase>): Partial<MBase>;
14
- } & InstanceType<TMixinBase>, MergeConstructorParams<[UpdateConstructorParams, ...any[]], ConstructorParameters<TMixinBase>>>;
1
+ import { ModelBaseStructure, RepositoryUpdateParams, UpdateRepository } from '../../../domain';
2
+ import { MergeConstructorParams, MixinCtor } from '../../../utils';
3
+ import { GraphQLRepository } from '../types';
4
+ export declare type UpdateHasuraGraphQLRepositoryType<MBase extends ModelBaseStructure<MBase, MBase['identifiersFields'][number]>> = UpdateRepository<MBase> & {
5
+ paramsToPlain(params: RepositoryUpdateParams<MBase>): Partial<MBase>;
6
+ };
7
+ export declare type UpdateConstructorParams = {
8
+ updateGraphQLOperation?: string;
9
+ updateGraphQLObjectType?: string;
10
+ updateGraphQLPKType?: string;
11
+ };
12
+ export declare const withUpdateHasuraGraphQL: <MBase extends ModelBaseStructure<MBase, MBase["identifiersFields"][number]>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => MixinCtor<GraphQLRepository<MBase> & UpdateRepository<MBase, RepositoryUpdateParams<MBase>> & {
13
+ paramsToPlain(params: RepositoryUpdateParams<MBase>): Partial<MBase>;
14
+ } & InstanceType<TMixinBase>, MergeConstructorParams<[UpdateConstructorParams, ...any[]], ConstructorParameters<TMixinBase>>>;
@@ -1,6 +1,6 @@
1
- import { Category } from '../../../domain';
2
- export declare class CategoryHasuraGraphQL extends Category {
3
- firestoreId?: string;
4
- brandCondition?: string;
5
- tagCondition?: string[];
6
- }
1
+ import { Category } from '../../../domain';
2
+ export declare class CategoryHasuraGraphQL extends Category {
3
+ firestoreId?: string;
4
+ brandCondition?: string;
5
+ tagCondition?: string[];
6
+ }
@@ -1,4 +1,4 @@
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';
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';
@@ -1,6 +1,6 @@
1
- import { KitProduct } from '../../../domain';
2
- import { ProductHasuraGraphQL } from './product-hasura-graphql';
3
- export declare class KitProductHasuraGraphQL extends KitProduct {
4
- kit: ProductHasuraGraphQL;
5
- product: ProductHasuraGraphQL;
6
- }
1
+ import { KitProduct } from '../../../domain';
2
+ import { ProductHasuraGraphQL } from './product-hasura-graphql';
3
+ export declare class KitProductHasuraGraphQL extends KitProduct {
4
+ kit: ProductHasuraGraphQL;
5
+ product: ProductHasuraGraphQL;
6
+ }
@@ -1,18 +1,18 @@
1
- import { Product } from '../../../domain';
2
- import { KitProductHasuraGraphQL } from './kit-product-hasura-graphql';
3
- export declare class ProductHasuraGraphQL extends Product {
4
- firestoreId?: string;
5
- fullPrice?: number;
6
- subscriberDiscountPercentage?: number;
7
- subscriberPrice?: number;
8
- productId?: number;
9
- differentials?: string;
10
- whoMustUse?: string;
11
- howToUse?: string;
12
- brandDescription?: string;
13
- categoryId?: number;
14
- ingredients?: string;
15
- hasStock?: boolean;
16
- intGender?: number;
17
- kitProducts?: KitProductHasuraGraphQL[];
18
- }
1
+ import { Product } from '../../../domain';
2
+ import { KitProductHasuraGraphQL } from './kit-product-hasura-graphql';
3
+ export declare class ProductHasuraGraphQL extends Product {
4
+ firestoreId?: string;
5
+ fullPrice?: number;
6
+ subscriberDiscountPercentage?: number;
7
+ subscriberPrice?: number;
8
+ productId?: number;
9
+ differentials?: string;
10
+ whoMustUse?: string;
11
+ howToUse?: string;
12
+ brandDescription?: string;
13
+ categoryId?: number;
14
+ ingredients?: string;
15
+ hasStock?: boolean;
16
+ intGender?: number;
17
+ kitProducts?: KitProductHasuraGraphQL[];
18
+ }
@@ -1,10 +1,10 @@
1
- import { Variant } from '../../../domain';
2
- export declare class VariantHasuraGraphQL extends Variant {
3
- firestoreId?: string;
4
- fullPrice?: number;
5
- subscriberDiscountPercentage?: number;
6
- subscriberPrice?: number;
7
- hasStock?: boolean;
8
- name?: string;
9
- hasVariants?: boolean;
10
- }
1
+ import { Variant } from '../../../domain';
2
+ export declare class VariantHasuraGraphQL extends Variant {
3
+ firestoreId?: string;
4
+ fullPrice?: number;
5
+ subscriberDiscountPercentage?: number;
6
+ subscriberPrice?: number;
7
+ hasStock?: boolean;
8
+ name?: string;
9
+ hasVariants?: boolean;
10
+ }