@infrab4a/connect 3.4.0 → 3.4.3-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (614) hide show
  1. package/README.md +24 -24
  2. package/bundles/infrab4a-connect.umd.js +4739 -5048
  3. package/bundles/infrab4a-connect.umd.js.map +1 -1
  4. package/domain/catalog/index.d.ts +2 -2
  5. package/domain/catalog/models/category.d.ts +24 -25
  6. package/domain/catalog/models/enums/index.d.ts +2 -2
  7. package/domain/catalog/models/enums/product-genders.enum.d.ts +5 -5
  8. package/domain/catalog/models/enums/shops.enum.d.ts +6 -6
  9. package/domain/catalog/models/index.d.ts +6 -9
  10. package/domain/catalog/models/kit-product.d.ts +12 -12
  11. package/domain/catalog/models/product.d.ts +39 -40
  12. package/domain/catalog/models/types/category-condition.type.d.ts +4 -4
  13. package/domain/catalog/models/types/category-filter.type.d.ts +4 -0
  14. package/domain/catalog/models/types/category-metadata.type.d.ts +4 -4
  15. package/domain/catalog/models/types/index.d.ts +10 -9
  16. package/domain/catalog/models/types/product-gender.type.d.ts +1 -1
  17. package/domain/catalog/models/types/product-metadata.type.d.ts +4 -4
  18. package/domain/catalog/models/types/product-review.type.d.ts +17 -17
  19. package/domain/catalog/models/types/shop-description.type.d.ts +7 -7
  20. package/domain/catalog/models/types/shop-price.type.d.ts +6 -6
  21. package/domain/catalog/models/types/stock.type.d.ts +3 -3
  22. package/domain/catalog/models/types/variant-grade.type.d.ts +4 -4
  23. package/domain/catalog/models/variant.d.ts +18 -18
  24. package/domain/catalog/repositories/category.repository.d.ts +15 -15
  25. package/domain/catalog/repositories/index.d.ts +4 -7
  26. package/domain/catalog/repositories/product.repository.d.ts +12 -12
  27. package/domain/catalog/repositories/subscription-product.repository.d.ts +4 -4
  28. package/domain/catalog/repositories/variant.repository.d.ts +4 -4
  29. package/domain/generic/index.d.ts +2 -2
  30. package/domain/generic/model/base.model.d.ts +10 -10
  31. package/domain/generic/model/identifier-fields.d.ts +4 -4
  32. package/domain/generic/model/index.d.ts +3 -3
  33. package/domain/generic/model/types/base-model-builder.type.d.ts +15 -15
  34. package/domain/generic/model/types/identifier-model.type.d.ts +7 -7
  35. package/domain/generic/model/types/index.d.ts +5 -5
  36. package/domain/generic/model/types/model-base-structure.type.d.ts +6 -6
  37. package/domain/generic/model/types/non-function-properties.type.d.ts +12 -12
  38. package/domain/generic/model/types/non-function-property-name.type.d.ts +4 -4
  39. package/domain/generic/repository/create.repository.d.ts +8 -8
  40. package/domain/generic/repository/crud.repository.d.ts +19 -19
  41. package/domain/generic/repository/delete.repository.d.ts +7 -7
  42. package/domain/generic/repository/enums/index.d.ts +2 -2
  43. package/domain/generic/repository/enums/update-option-actions.enum.d.ts +7 -7
  44. package/domain/generic/repository/enums/where.enum.d.ts +14 -14
  45. package/domain/generic/repository/find.repository.d.ts +14 -14
  46. package/domain/generic/repository/get.repository.d.ts +5 -5
  47. package/domain/generic/repository/index.d.ts +9 -9
  48. package/domain/generic/repository/read.repository.d.ts +14 -14
  49. package/domain/generic/repository/types/index.d.ts +6 -6
  50. package/domain/generic/repository/types/repository-find-filters.type.d.ts +13 -13
  51. package/domain/generic/repository/types/repository-find-result.type.d.ts +4 -4
  52. package/domain/generic/repository/types/repository-limit-options.type.d.ts +4 -4
  53. package/domain/generic/repository/types/repository-order-by-list.type.d.ts +5 -5
  54. package/domain/generic/repository/types/repository-update-params.type.d.ts +11 -11
  55. package/domain/generic/repository/types/where-options.type.d.ts +2 -2
  56. package/domain/generic/repository/update.repository.d.ts +6 -6
  57. package/domain/index.d.ts +6 -6
  58. package/domain/location/index.d.ts +1 -1
  59. package/domain/location/models/address.d.ts +22 -22
  60. package/domain/location/models/index.d.ts +2 -2
  61. package/domain/location/models/types/index.d.ts +3 -3
  62. package/domain/location/models/types/location-bound.type.d.ts +6 -6
  63. package/domain/location/models/types/location-geometry.type.d.ts +7 -7
  64. package/domain/location/models/types/location-lat-lng.type.d.ts +4 -4
  65. package/domain/shop-settings/enums/filter-type.enum.d.ts +19 -19
  66. package/domain/shop-settings/enums/index.d.ts +2 -2
  67. package/domain/shop-settings/enums/questions-filters.enum.d.ts +19 -19
  68. package/domain/shop-settings/helpers/beauty-questions.helper.d.ts +9 -9
  69. package/domain/shop-settings/helpers/index.d.ts +1 -1
  70. package/domain/shop-settings/index.d.ts +4 -4
  71. package/domain/shop-settings/models/home.d.ts +18 -18
  72. package/domain/shop-settings/models/index.d.ts +3 -3
  73. package/domain/shop-settings/models/shop-menu.d.ts +7 -7
  74. package/domain/shop-settings/models/types/banner.type.d.ts +6 -6
  75. package/domain/shop-settings/models/types/benefit.type.d.ts +5 -5
  76. package/domain/shop-settings/models/types/home-data.type.d.ts +15 -15
  77. package/domain/shop-settings/models/types/index.d.ts +5 -5
  78. package/domain/shop-settings/models/types/menu-nav.type.d.ts +8 -8
  79. package/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -8
  80. package/domain/shop-settings/repositories/home.repository.d.ts +4 -4
  81. package/domain/shop-settings/repositories/index.d.ts +2 -2
  82. package/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -4
  83. package/domain/shopping/index.d.ts +2 -2
  84. package/domain/shopping/models/buy-2-win.d.ts +16 -16
  85. package/domain/shopping/models/campaign-dashboard.d.ts +15 -0
  86. package/domain/shopping/models/campaign-hashtag.d.ts +18 -0
  87. package/domain/shopping/models/checkout.d.ts +27 -27
  88. package/domain/shopping/models/coupons/coupon.d.ts +32 -32
  89. package/domain/shopping/models/coupons/enums/coupon-club-mens.enum.d.ts +5 -5
  90. package/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -4
  91. package/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +4 -4
  92. package/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +8 -8
  93. package/domain/shopping/models/coupons/enums/index.d.ts +3 -3
  94. package/domain/shopping/models/coupons/index.d.ts +2 -2
  95. package/domain/shopping/models/enums/checkout-types.enum.d.ts +5 -5
  96. package/domain/shopping/models/enums/index.d.ts +2 -2
  97. package/domain/shopping/models/enums/order-status.enum.d.ts +10 -10
  98. package/domain/shopping/models/index.d.ts +12 -11
  99. package/domain/shopping/models/line-item.d.ts +8 -8
  100. package/domain/shopping/models/order.d.ts +9 -9
  101. package/domain/shopping/models/payment.d.ts +67 -67
  102. package/domain/shopping/models/shipping-method.d.ts +16 -16
  103. package/domain/shopping/models/subscription/checkout.d.ts +21 -21
  104. package/domain/shopping/models/subscription/index.d.ts +2 -2
  105. package/domain/shopping/models/subscription/plan.d.ts +10 -10
  106. package/domain/shopping/models/types/index.d.ts +7 -7
  107. package/domain/shopping/models/types/payment-address.type.d.ts +12 -12
  108. package/domain/shopping/models/types/payment-billing.type.d.ts +7 -7
  109. package/domain/shopping/models/types/payment-card.type.d.ts +14 -14
  110. package/domain/shopping/models/types/payment-customer.type.d.ts +18 -18
  111. package/domain/shopping/models/types/payment-document.type.d.ts +6 -6
  112. package/domain/shopping/models/types/payment-item.type.d.ts +11 -11
  113. package/domain/shopping/models/types/payment-shipping.type.d.ts +10 -10
  114. package/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -4
  115. package/domain/shopping/repositories/campaign-dashboard.repository.d.ts +4 -0
  116. package/domain/shopping/repositories/campaign-hashtag.repository.d.ts +4 -0
  117. package/domain/shopping/repositories/checkout.repository.d.ts +4 -4
  118. package/domain/shopping/repositories/coupon.repository.d.ts +4 -4
  119. package/domain/shopping/repositories/index.d.ts +9 -7
  120. package/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
  121. package/domain/shopping/repositories/order.repository.d.ts +4 -4
  122. package/domain/shopping/repositories/payment.repository.d.ts +4 -4
  123. package/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -4
  124. package/domain/shopping/repositories/subscription/index.d.ts +2 -2
  125. package/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -4
  126. package/domain/users/errors/index.d.ts +3 -3
  127. package/domain/users/errors/unauthorized.error.d.ts +5 -5
  128. package/domain/users/errors/user-already-registered.error.d.ts +5 -5
  129. package/domain/users/errors/weak-password.error.d.ts +5 -5
  130. package/domain/users/index.d.ts +5 -5
  131. package/domain/users/models/beauty-profile.d.ts +11 -11
  132. package/domain/users/models/enums/accessory-importances.enum.d.ts +5 -5
  133. package/domain/users/models/enums/area.enum.d.ts +11 -11
  134. package/domain/users/models/enums/beard-problems.enum.d.ts +9 -9
  135. package/domain/users/models/enums/beard-sizes.enum.d.ts +7 -7
  136. package/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -6
  137. package/domain/users/models/enums/body-problems.enum.d.ts +11 -11
  138. package/domain/users/models/enums/body-shapes.enum.d.ts +7 -7
  139. package/domain/users/models/enums/body-tattoos.enum.d.ts +5 -5
  140. package/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -7
  141. package/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -10
  142. package/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -8
  143. package/domain/users/models/enums/family-incomes.enum.d.ts +8 -8
  144. package/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -5
  145. package/domain/users/models/enums/hair-colors.enum.d.ts +10 -10
  146. package/domain/users/models/enums/hair-problems.enum.d.ts +10 -10
  147. package/domain/users/models/enums/hair-strands.enum.d.ts +8 -8
  148. package/domain/users/models/enums/hair-types.enum.d.ts +7 -7
  149. package/domain/users/models/enums/index.d.ts +20 -20
  150. package/domain/users/models/enums/office-position.enum.d.ts +6 -6
  151. package/domain/users/models/enums/product-spents.enum.d.ts +8 -8
  152. package/domain/users/models/enums/user-type.enum.d.ts +8 -8
  153. package/domain/users/models/index.d.ts +7 -7
  154. package/domain/users/models/lead.d.ts +7 -7
  155. package/domain/users/models/subscription/edition.d.ts +16 -16
  156. package/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -3
  157. package/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -4
  158. package/domain/users/models/subscription/enums/index.d.ts +4 -4
  159. package/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -5
  160. package/domain/users/models/subscription/enums/status.enum.d.ts +4 -4
  161. package/domain/users/models/subscription/index.d.ts +4 -4
  162. package/domain/users/models/subscription/payment.d.ts +13 -13
  163. package/domain/users/models/subscription/subscription.d.ts +28 -28
  164. package/domain/users/models/user-address.d.ts +7 -7
  165. package/domain/users/models/user-payment-method.d.ts +14 -14
  166. package/domain/users/models/user.d.ts +28 -28
  167. package/domain/users/repositories/beauty-profile.repository.d.ts +4 -4
  168. package/domain/users/repositories/edition.repository.d.ts +4 -4
  169. package/domain/users/repositories/index.d.ts +8 -8
  170. package/domain/users/repositories/lead.repository.d.ts +4 -4
  171. package/domain/users/repositories/subscription-payment.repository.d.ts +4 -4
  172. package/domain/users/repositories/subscription.repository.d.ts +4 -4
  173. package/domain/users/repositories/user-address.repository.d.ts +4 -4
  174. package/domain/users/repositories/user-payment-method.repository.d.ts +4 -4
  175. package/domain/users/repositories/user.repository.d.ts +6 -6
  176. package/domain/users/services/authentication.service.d.ts +12 -12
  177. package/domain/users/services/index.d.ts +3 -3
  178. package/domain/users/services/register.service.d.ts +7 -7
  179. package/domain/users/services/types/basic-user-data.type.d.ts +4 -4
  180. package/domain/users/services/types/index.d.ts +1 -1
  181. package/domain/users/use-cases/authentication.d.ts +21 -21
  182. package/domain/users/use-cases/index.d.ts +4 -4
  183. package/domain/users/use-cases/recovery-password.d.ts +6 -6
  184. package/domain/users/use-cases/register.d.ts +13 -13
  185. package/domain/users/use-cases/signout.d.ts +6 -6
  186. package/errors/duplicated-results.error.d.ts +5 -5
  187. package/errors/index.d.ts +4 -4
  188. package/errors/invalid-argument.error.d.ts +5 -5
  189. package/errors/not-found.error.d.ts +5 -5
  190. package/errors/required-argument.error.d.ts +6 -6
  191. package/esm2015/domain/catalog/index.js +3 -3
  192. package/esm2015/domain/catalog/models/category.js +10 -17
  193. package/esm2015/domain/catalog/models/enums/index.js +3 -3
  194. package/esm2015/domain/catalog/models/enums/product-genders.enum.js +7 -7
  195. package/esm2015/domain/catalog/models/enums/shops.enum.js +8 -8
  196. package/esm2015/domain/catalog/models/index.js +7 -10
  197. package/esm2015/domain/catalog/models/kit-product.js +18 -18
  198. package/esm2015/domain/catalog/models/product.js +17 -17
  199. package/esm2015/domain/catalog/models/types/category-condition.type.js +2 -2
  200. package/esm2015/domain/catalog/models/types/category-filter.type.js +2 -0
  201. package/esm2015/domain/catalog/models/types/category-metadata.type.js +2 -2
  202. package/esm2015/domain/catalog/models/types/index.js +11 -10
  203. package/esm2015/domain/catalog/models/types/product-gender.type.js +2 -2
  204. package/esm2015/domain/catalog/models/types/product-metadata.type.js +2 -2
  205. package/esm2015/domain/catalog/models/types/product-review.type.js +2 -2
  206. package/esm2015/domain/catalog/models/types/shop-description.type.js +2 -2
  207. package/esm2015/domain/catalog/models/types/shop-price.type.js +2 -2
  208. package/esm2015/domain/catalog/models/types/stock.type.js +2 -2
  209. package/esm2015/domain/catalog/models/types/variant-grade.type.js +2 -2
  210. package/esm2015/domain/catalog/models/variant.js +10 -10
  211. package/esm2015/domain/catalog/repositories/category.repository.js +2 -2
  212. package/esm2015/domain/catalog/repositories/index.js +5 -8
  213. package/esm2015/domain/catalog/repositories/product.repository.js +2 -2
  214. package/esm2015/domain/catalog/repositories/subscription-product.repository.js +2 -2
  215. package/esm2015/domain/catalog/repositories/variant.repository.js +2 -2
  216. package/esm2015/domain/generic/index.js +3 -3
  217. package/esm2015/domain/generic/model/base.model.js +23 -23
  218. package/esm2015/domain/generic/model/identifier-fields.js +2 -2
  219. package/esm2015/domain/generic/model/index.js +4 -4
  220. package/esm2015/domain/generic/model/types/base-model-builder.type.js +2 -2
  221. package/esm2015/domain/generic/model/types/identifier-model.type.js +2 -2
  222. package/esm2015/domain/generic/model/types/index.js +6 -6
  223. package/esm2015/domain/generic/model/types/model-base-structure.type.js +2 -2
  224. package/esm2015/domain/generic/model/types/non-function-properties.type.js +2 -2
  225. package/esm2015/domain/generic/model/types/non-function-property-name.type.js +2 -2
  226. package/esm2015/domain/generic/repository/create.repository.js +2 -2
  227. package/esm2015/domain/generic/repository/crud.repository.js +2 -2
  228. package/esm2015/domain/generic/repository/delete.repository.js +2 -2
  229. package/esm2015/domain/generic/repository/enums/index.js +3 -3
  230. package/esm2015/domain/generic/repository/enums/update-option-actions.enum.js +9 -9
  231. package/esm2015/domain/generic/repository/enums/where.enum.js +16 -16
  232. package/esm2015/domain/generic/repository/find.repository.js +2 -2
  233. package/esm2015/domain/generic/repository/get.repository.js +2 -2
  234. package/esm2015/domain/generic/repository/index.js +10 -10
  235. package/esm2015/domain/generic/repository/read.repository.js +2 -2
  236. package/esm2015/domain/generic/repository/types/index.js +7 -7
  237. package/esm2015/domain/generic/repository/types/repository-find-filters.type.js +2 -2
  238. package/esm2015/domain/generic/repository/types/repository-find-result.type.js +2 -2
  239. package/esm2015/domain/generic/repository/types/repository-limit-options.type.js +2 -2
  240. package/esm2015/domain/generic/repository/types/repository-order-by-list.type.js +2 -2
  241. package/esm2015/domain/generic/repository/types/repository-update-params.type.js +2 -2
  242. package/esm2015/domain/generic/repository/types/where-options.type.js +2 -2
  243. package/esm2015/domain/generic/repository/update.repository.js +2 -2
  244. package/esm2015/domain/index.js +7 -7
  245. package/esm2015/domain/location/index.js +2 -2
  246. package/esm2015/domain/location/models/address.js +7 -7
  247. package/esm2015/domain/location/models/index.js +3 -3
  248. package/esm2015/domain/location/models/types/index.js +4 -4
  249. package/esm2015/domain/location/models/types/location-bound.type.js +2 -2
  250. package/esm2015/domain/location/models/types/location-geometry.type.js +2 -2
  251. package/esm2015/domain/location/models/types/location-lat-lng.type.js +2 -2
  252. package/esm2015/domain/shop-settings/enums/filter-type.enum.js +21 -21
  253. package/esm2015/domain/shop-settings/enums/index.js +3 -3
  254. package/esm2015/domain/shop-settings/enums/questions-filters.enum.js +21 -21
  255. package/esm2015/domain/shop-settings/helpers/beauty-questions.helper.js +46 -46
  256. package/esm2015/domain/shop-settings/helpers/index.js +2 -2
  257. package/esm2015/domain/shop-settings/index.js +5 -5
  258. package/esm2015/domain/shop-settings/models/home.js +7 -7
  259. package/esm2015/domain/shop-settings/models/index.js +4 -4
  260. package/esm2015/domain/shop-settings/models/shop-menu.js +7 -7
  261. package/esm2015/domain/shop-settings/models/types/banner.type.js +2 -2
  262. package/esm2015/domain/shop-settings/models/types/benefit.type.js +2 -2
  263. package/esm2015/domain/shop-settings/models/types/home-data.type.js +2 -2
  264. package/esm2015/domain/shop-settings/models/types/index.js +6 -6
  265. package/esm2015/domain/shop-settings/models/types/menu-nav.type.js +2 -2
  266. package/esm2015/domain/shop-settings/models/types/sub-menu.type.js +2 -2
  267. package/esm2015/domain/shop-settings/repositories/home.repository.js +2 -2
  268. package/esm2015/domain/shop-settings/repositories/index.js +3 -3
  269. package/esm2015/domain/shop-settings/repositories/shop-menu.repository.js +2 -2
  270. package/esm2015/domain/shopping/index.js +3 -3
  271. package/esm2015/domain/shopping/models/buy-2-win.js +14 -14
  272. package/esm2015/domain/shopping/models/campaign-dashboard.js +7 -0
  273. package/esm2015/domain/shopping/models/campaign-hashtag.js +7 -0
  274. package/esm2015/domain/shopping/models/checkout.js +38 -38
  275. package/esm2015/domain/shopping/models/coupons/coupon.js +38 -38
  276. package/esm2015/domain/shopping/models/coupons/enums/coupon-club-mens.enum.js +7 -7
  277. package/esm2015/domain/shopping/models/coupons/enums/coupon-subtypes.enum.js +6 -6
  278. package/esm2015/domain/shopping/models/coupons/enums/coupon-types.enum.js +10 -10
  279. package/esm2015/domain/shopping/models/coupons/enums/exclusivities.enum.js +10 -10
  280. package/esm2015/domain/shopping/models/coupons/enums/index.js +4 -4
  281. package/esm2015/domain/shopping/models/coupons/index.js +3 -3
  282. package/esm2015/domain/shopping/models/enums/checkout-types.enum.js +7 -7
  283. package/esm2015/domain/shopping/models/enums/index.js +3 -3
  284. package/esm2015/domain/shopping/models/enums/order-status.enum.js +12 -12
  285. package/esm2015/domain/shopping/models/index.js +13 -12
  286. package/esm2015/domain/shopping/models/line-item.js +4 -4
  287. package/esm2015/domain/shopping/models/order.js +11 -11
  288. package/esm2015/domain/shopping/models/payment.js +169 -169
  289. package/esm2015/domain/shopping/models/shipping-method.js +7 -7
  290. package/esm2015/domain/shopping/models/subscription/checkout.js +28 -28
  291. package/esm2015/domain/shopping/models/subscription/index.js +3 -3
  292. package/esm2015/domain/shopping/models/subscription/plan.js +7 -7
  293. package/esm2015/domain/shopping/models/types/index.js +8 -8
  294. package/esm2015/domain/shopping/models/types/payment-address.type.js +2 -2
  295. package/esm2015/domain/shopping/models/types/payment-billing.type.js +2 -2
  296. package/esm2015/domain/shopping/models/types/payment-card.type.js +2 -2
  297. package/esm2015/domain/shopping/models/types/payment-customer.type.js +2 -2
  298. package/esm2015/domain/shopping/models/types/payment-document.type.js +2 -2
  299. package/esm2015/domain/shopping/models/types/payment-item.type.js +2 -2
  300. package/esm2015/domain/shopping/models/types/payment-shipping.type.js +2 -2
  301. package/esm2015/domain/shopping/repositories/buy-2-win.repository.js +2 -2
  302. package/esm2015/domain/shopping/repositories/campaign-dashboard.repository.js +2 -0
  303. package/esm2015/domain/shopping/repositories/campaign-hashtag.repository.js +2 -0
  304. package/esm2015/domain/shopping/repositories/checkout.repository.js +2 -2
  305. package/esm2015/domain/shopping/repositories/coupon.repository.js +2 -2
  306. package/esm2015/domain/shopping/repositories/index.js +10 -8
  307. package/esm2015/domain/shopping/repositories/legacy-order.repository.js +2 -2
  308. package/esm2015/domain/shopping/repositories/order.repository.js +2 -2
  309. package/esm2015/domain/shopping/repositories/payment.repository.js +2 -2
  310. package/esm2015/domain/shopping/repositories/subscription/checkout.repository.js +2 -2
  311. package/esm2015/domain/shopping/repositories/subscription/index.js +3 -3
  312. package/esm2015/domain/shopping/repositories/subscription/plan.repository.js +2 -2
  313. package/esm2015/domain/users/errors/index.js +4 -4
  314. package/esm2015/domain/users/errors/unauthorized.error.js +8 -8
  315. package/esm2015/domain/users/errors/user-already-registered.error.js +8 -8
  316. package/esm2015/domain/users/errors/weak-password.error.js +8 -8
  317. package/esm2015/domain/users/index.js +6 -6
  318. package/esm2015/domain/users/models/beauty-profile.js +12 -12
  319. package/esm2015/domain/users/models/enums/accessory-importances.enum.js +7 -7
  320. package/esm2015/domain/users/models/enums/area.enum.js +13 -13
  321. package/esm2015/domain/users/models/enums/beard-problems.enum.js +11 -11
  322. package/esm2015/domain/users/models/enums/beard-sizes.enum.js +9 -9
  323. package/esm2015/domain/users/models/enums/beauty-product-importances.enum.js +8 -8
  324. package/esm2015/domain/users/models/enums/body-problems.enum.js +13 -13
  325. package/esm2015/domain/users/models/enums/body-shapes.enum.js +9 -9
  326. package/esm2015/domain/users/models/enums/body-tattoos.enum.js +7 -7
  327. package/esm2015/domain/users/models/enums/face-skin-oilinesses.enum.js +9 -9
  328. package/esm2015/domain/users/models/enums/face-skin-problems.enum.js +12 -12
  329. package/esm2015/domain/users/models/enums/face-skin-tones.enum.js +10 -10
  330. package/esm2015/domain/users/models/enums/family-incomes.enum.js +10 -10
  331. package/esm2015/domain/users/models/enums/fragrance-importances.enum.js +7 -7
  332. package/esm2015/domain/users/models/enums/hair-colors.enum.js +12 -12
  333. package/esm2015/domain/users/models/enums/hair-problems.enum.js +12 -12
  334. package/esm2015/domain/users/models/enums/hair-strands.enum.js +10 -10
  335. package/esm2015/domain/users/models/enums/hair-types.enum.js +9 -9
  336. package/esm2015/domain/users/models/enums/index.js +21 -21
  337. package/esm2015/domain/users/models/enums/office-position.enum.js +8 -8
  338. package/esm2015/domain/users/models/enums/product-spents.enum.js +10 -10
  339. package/esm2015/domain/users/models/enums/user-type.enum.js +10 -10
  340. package/esm2015/domain/users/models/index.js +8 -8
  341. package/esm2015/domain/users/models/lead.js +7 -7
  342. package/esm2015/domain/users/models/subscription/edition.js +7 -7
  343. package/esm2015/domain/users/models/subscription/enums/billing-status.enum.js +5 -5
  344. package/esm2015/domain/users/models/subscription/enums/edition-status.enum.js +6 -6
  345. package/esm2015/domain/users/models/subscription/enums/index.js +5 -5
  346. package/esm2015/domain/users/models/subscription/enums/payment-type.enum.js +7 -7
  347. package/esm2015/domain/users/models/subscription/enums/status.enum.js +6 -6
  348. package/esm2015/domain/users/models/subscription/index.js +5 -5
  349. package/esm2015/domain/users/models/subscription/payment.js +14 -14
  350. package/esm2015/domain/users/models/subscription/subscription.js +43 -43
  351. package/esm2015/domain/users/models/user-address.js +7 -7
  352. package/esm2015/domain/users/models/user-payment-method.js +7 -7
  353. package/esm2015/domain/users/models/user.js +26 -26
  354. package/esm2015/domain/users/repositories/beauty-profile.repository.js +2 -2
  355. package/esm2015/domain/users/repositories/edition.repository.js +2 -2
  356. package/esm2015/domain/users/repositories/index.js +9 -9
  357. package/esm2015/domain/users/repositories/lead.repository.js +2 -2
  358. package/esm2015/domain/users/repositories/subscription-payment.repository.js +2 -2
  359. package/esm2015/domain/users/repositories/subscription.repository.js +2 -2
  360. package/esm2015/domain/users/repositories/user-address.repository.js +2 -2
  361. package/esm2015/domain/users/repositories/user-payment-method.repository.js +2 -2
  362. package/esm2015/domain/users/repositories/user.repository.js +2 -2
  363. package/esm2015/domain/users/services/authentication.service.js +2 -2
  364. package/esm2015/domain/users/services/index.js +4 -4
  365. package/esm2015/domain/users/services/register.service.js +2 -2
  366. package/esm2015/domain/users/services/types/basic-user-data.type.js +2 -2
  367. package/esm2015/domain/users/services/types/index.js +2 -2
  368. package/esm2015/domain/users/use-cases/authentication.js +40 -40
  369. package/esm2015/domain/users/use-cases/index.js +5 -5
  370. package/esm2015/domain/users/use-cases/recovery-password.js +12 -12
  371. package/esm2015/domain/users/use-cases/register.js +34 -34
  372. package/esm2015/domain/users/use-cases/signout.js +12 -12
  373. package/esm2015/errors/duplicated-results.error.js +8 -8
  374. package/esm2015/errors/index.js +5 -5
  375. package/esm2015/errors/invalid-argument.error.js +8 -8
  376. package/esm2015/errors/not-found.error.js +8 -8
  377. package/esm2015/errors/required-argument.error.js +9 -9
  378. package/esm2015/index.js +6 -6
  379. package/esm2015/infra/elasticsearch/adapters/axios.adapter.js +57 -57
  380. package/esm2015/infra/elasticsearch/adapters/elastic-search.adapter.js +2 -2
  381. package/esm2015/infra/elasticsearch/adapters/index.js +3 -3
  382. package/esm2015/infra/elasticsearch/index.js +4 -4
  383. package/esm2015/infra/elasticsearch/indexes/index.js +2 -2
  384. package/esm2015/infra/elasticsearch/indexes/products-index.js +93 -94
  385. package/esm2015/infra/elasticsearch/types/elastic-search-result.js +2 -2
  386. package/esm2015/infra/elasticsearch/types/index.js +2 -2
  387. package/esm2015/infra/firebase/auth/authentication-firebase-auth.service.js +52 -52
  388. package/esm2015/infra/firebase/auth/index.js +3 -3
  389. package/esm2015/infra/firebase/auth/register-firebase-auth.service.js +26 -26
  390. package/esm2015/infra/firebase/auth/types/firebase-user-with-id.type.js +2 -2
  391. package/esm2015/infra/firebase/firestore/enums/firestore-field-type.enum.js +10 -10
  392. package/esm2015/infra/firebase/firestore/enums/index.js +2 -2
  393. package/esm2015/infra/firebase/firestore/index.js +4 -4
  394. package/esm2015/infra/firebase/firestore/mixins/index.js +10 -10
  395. package/esm2015/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +31 -31
  396. package/esm2015/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +10 -10
  397. package/esm2015/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +18 -18
  398. package/esm2015/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +98 -98
  399. package/esm2015/infra/firebase/firestore/mixins/with-firestore.mixin.js +49 -49
  400. package/esm2015/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +24 -24
  401. package/esm2015/infra/firebase/firestore/mixins/with-helpers.mixin.js +17 -17
  402. package/esm2015/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +11 -11
  403. package/esm2015/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +45 -45
  404. package/esm2015/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +71 -71
  405. package/esm2015/infra/firebase/firestore/repositories/catalog/index.js +5 -5
  406. package/esm2015/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +52 -52
  407. package/esm2015/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +14 -14
  408. package/esm2015/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +12 -12
  409. package/esm2015/infra/firebase/firestore/repositories/index.js +5 -5
  410. package/esm2015/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +56 -56
  411. package/esm2015/infra/firebase/firestore/repositories/shop-settings/index.js +3 -3
  412. package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +12 -12
  413. package/esm2015/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +12 -12
  414. package/esm2015/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.js +12 -0
  415. package/esm2015/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.js +12 -0
  416. package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +12 -12
  417. package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +12 -12
  418. package/esm2015/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +29 -29
  419. package/esm2015/infra/firebase/firestore/repositories/shopping/index.js +11 -9
  420. package/esm2015/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +9 -9
  421. package/esm2015/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +40 -40
  422. package/esm2015/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +12 -12
  423. package/esm2015/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +12 -12
  424. package/esm2015/infra/firebase/firestore/repositories/users/index.js +9 -9
  425. package/esm2015/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +12 -12
  426. package/esm2015/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +14 -14
  427. package/esm2015/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +12 -12
  428. package/esm2015/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +14 -14
  429. package/esm2015/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +14 -14
  430. package/esm2015/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +14 -14
  431. package/esm2015/infra/firebase/firestore/repositories/users/user-firestore.repository.js +68 -68
  432. package/esm2015/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +14 -14
  433. package/esm2015/infra/firebase/firestore/types/firestore-sub.repository.type.js +2 -2
  434. package/esm2015/infra/firebase/firestore/types/firestore.helpers.type.js +2 -2
  435. package/esm2015/infra/firebase/firestore/types/firestore.repository.type.js +2 -2
  436. package/esm2015/infra/firebase/firestore/types/index.js +4 -4
  437. package/esm2015/infra/firebase/index.js +3 -3
  438. package/esm2015/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.js +13 -13
  439. package/esm2015/infra/hasura-graphql/enums/hasura-graphql-where.enum.js +15 -15
  440. package/esm2015/infra/hasura-graphql/enums/index.js +3 -3
  441. package/esm2015/infra/hasura-graphql/index.js +5 -5
  442. package/esm2015/infra/hasura-graphql/mixins/helpers/attribute-option.helper.js +31 -31
  443. package/esm2015/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.js +53 -53
  444. package/esm2015/infra/hasura-graphql/mixins/helpers/filter-option.helper.js +22 -22
  445. package/esm2015/infra/hasura-graphql/mixins/helpers/graphql-field.helper.js +86 -86
  446. package/esm2015/infra/hasura-graphql/mixins/helpers/index.js +5 -5
  447. package/esm2015/infra/hasura-graphql/mixins/index.js +8 -8
  448. package/esm2015/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.js +45 -45
  449. package/esm2015/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.js +10 -10
  450. package/esm2015/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.js +29 -29
  451. package/esm2015/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.js +50 -50
  452. package/esm2015/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.js +35 -35
  453. package/esm2015/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.js +94 -94
  454. package/esm2015/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.js +56 -56
  455. package/esm2015/infra/hasura-graphql/models/category-hasura-graphql.js +4 -4
  456. package/esm2015/infra/hasura-graphql/models/index.js +5 -5
  457. package/esm2015/infra/hasura-graphql/models/kit-product-hasura-graphql.js +15 -15
  458. package/esm2015/infra/hasura-graphql/models/product-hasura-graphql.js +11 -11
  459. package/esm2015/infra/hasura-graphql/models/variant-hasura-graphql.js +9 -9
  460. package/esm2015/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.js +241 -321
  461. package/esm2015/infra/hasura-graphql/repositories/catalog/index.js +4 -7
  462. package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +465 -466
  463. package/esm2015/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.js +116 -116
  464. package/esm2015/infra/hasura-graphql/repositories/index.js +2 -2
  465. package/esm2015/infra/hasura-graphql/types/fields.type.js +2 -2
  466. package/esm2015/infra/hasura-graphql/types/graphql.repository.type.js +2 -2
  467. package/esm2015/infra/hasura-graphql/types/hasura-graphql-auth-options.type.js +2 -2
  468. package/esm2015/infra/hasura-graphql/types/hasura-graphql-fields.type.js +2 -2
  469. package/esm2015/infra/hasura-graphql/types/hasura-graphql-headers.type.js +2 -2
  470. package/esm2015/infra/hasura-graphql/types/index.js +9 -9
  471. package/esm2015/infra/hasura-graphql/types/nested-field.type.js +2 -2
  472. package/esm2015/infra/hasura-graphql/types/query-builder-options.type.js +2 -2
  473. package/esm2015/infra/hasura-graphql/types/variable-options.type.js +2 -2
  474. package/esm2015/infra/index.js +4 -4
  475. package/esm2015/infrab4a-connect.js +4 -4
  476. package/esm2015/utils/index.js +8 -8
  477. package/esm2015/utils/is-uuid.js +3 -3
  478. package/esm2015/utils/mixins/base.mixin.js +6 -6
  479. package/esm2015/utils/mixins/index.js +4 -4
  480. package/esm2015/utils/mixins/merge-constructor-params.type.js +2 -2
  481. package/esm2015/utils/mixins/mixin-ctor.type.js +2 -2
  482. package/esm2015/utils/parse-datetime.js +14 -14
  483. package/esm2015/utils/types/array-element.type.js +2 -2
  484. package/esm2015/utils/types/index.js +3 -3
  485. package/esm2015/utils/types/prop.type.js +2 -2
  486. package/fesm2015/infrab4a-connect.js +3192 -3433
  487. package/fesm2015/infrab4a-connect.js.map +1 -1
  488. package/index.d.ts +5 -5
  489. package/infra/elasticsearch/adapters/axios.adapter.d.ts +14 -14
  490. package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +7 -7
  491. package/infra/elasticsearch/adapters/index.d.ts +2 -2
  492. package/infra/elasticsearch/index.d.ts +3 -3
  493. package/infra/elasticsearch/indexes/index.d.ts +1 -1
  494. package/infra/elasticsearch/indexes/products-index.d.ts +15 -15
  495. package/infra/elasticsearch/types/elastic-search-result.d.ts +7 -7
  496. package/infra/elasticsearch/types/index.d.ts +1 -1
  497. package/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
  498. package/infra/firebase/auth/index.d.ts +2 -2
  499. package/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
  500. package/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +3 -3
  501. package/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +8 -8
  502. package/infra/firebase/firestore/enums/index.d.ts +1 -1
  503. package/infra/firebase/firestore/index.d.ts +3 -3
  504. package/infra/firebase/firestore/mixins/index.d.ts +9 -9
  505. package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
  506. package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +4 -4
  507. package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
  508. package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
  509. package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +4 -4
  510. package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
  511. package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
  512. package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +7 -7
  513. package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
  514. package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +17 -17
  515. package/infra/firebase/firestore/repositories/catalog/index.d.ts +4 -4
  516. package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +11 -11
  517. package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +13 -13
  518. package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +8 -8
  519. package/infra/firebase/firestore/repositories/index.d.ts +4 -4
  520. package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
  521. package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +2 -2
  522. package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +8 -8
  523. package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +8 -8
  524. package/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.d.ts +9 -0
  525. package/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.d.ts +9 -0
  526. package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +8 -8
  527. package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +8 -8
  528. package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
  529. package/infra/firebase/firestore/repositories/shopping/index.d.ts +10 -8
  530. package/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +7 -7
  531. package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
  532. package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +8 -8
  533. package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +8 -8
  534. package/infra/firebase/firestore/repositories/users/index.d.ts +8 -8
  535. package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +8 -8
  536. package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +13 -13
  537. package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +8 -8
  538. package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +13 -13
  539. package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +13 -13
  540. package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +13 -13
  541. package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
  542. package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +13 -13
  543. package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
  544. package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
  545. package/infra/firebase/firestore/types/firestore.repository.type.d.ts +14 -14
  546. package/infra/firebase/firestore/types/index.d.ts +3 -3
  547. package/infra/firebase/index.d.ts +2 -2
  548. package/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
  549. package/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +13 -13
  550. package/infra/hasura-graphql/enums/index.d.ts +2 -2
  551. package/infra/hasura-graphql/index.d.ts +4 -4
  552. package/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +13 -13
  553. package/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
  554. package/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +6 -6
  555. package/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +8 -8
  556. package/infra/hasura-graphql/mixins/helpers/index.d.ts +4 -4
  557. package/infra/hasura-graphql/mixins/index.d.ts +7 -7
  558. package/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +8 -8
  559. package/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +11 -11
  560. package/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +7 -7
  561. package/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +20 -20
  562. package/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +24 -24
  563. package/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +11 -11
  564. package/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +14 -14
  565. package/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
  566. package/infra/hasura-graphql/models/index.d.ts +4 -4
  567. package/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +6 -6
  568. package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +14 -14
  569. package/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +9 -9
  570. package/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +27 -30
  571. package/infra/hasura-graphql/repositories/catalog/index.d.ts +3 -6
  572. package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +28 -28
  573. package/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +14 -14
  574. package/infra/hasura-graphql/repositories/index.d.ts +1 -1
  575. package/infra/hasura-graphql/types/fields.type.d.ts +2 -2
  576. package/infra/hasura-graphql/types/graphql.repository.type.d.ts +21 -21
  577. package/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
  578. package/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +40 -40
  579. package/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
  580. package/infra/hasura-graphql/types/index.d.ts +8 -8
  581. package/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
  582. package/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
  583. package/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
  584. package/infra/index.d.ts +3 -3
  585. package/infrab4a-connect.d.ts +5 -5
  586. package/package.json +2 -2
  587. package/utils/index.d.ts +7 -7
  588. package/utils/is-uuid.d.ts +1 -1
  589. package/utils/mixins/base.mixin.d.ts +3 -3
  590. package/utils/mixins/index.d.ts +3 -3
  591. package/utils/mixins/merge-constructor-params.type.d.ts +3 -3
  592. package/utils/mixins/mixin-ctor.type.d.ts +1 -1
  593. package/utils/parse-datetime.d.ts +1 -1
  594. package/utils/types/array-element.type.d.ts +1 -1
  595. package/utils/types/index.d.ts +2 -2
  596. package/utils/types/prop.type.d.ts +1 -1
  597. package/domain/catalog/models/category-filter.d.ts +0 -9
  598. package/domain/catalog/models/filter-option.d.ts +0 -10
  599. package/domain/catalog/models/filter.d.ts +0 -13
  600. package/domain/catalog/repositories/category-filter.repository.d.ts +0 -5
  601. package/domain/catalog/repositories/filter-option.repository.d.ts +0 -4
  602. package/domain/catalog/repositories/filter.repository.d.ts +0 -4
  603. package/esm2015/domain/catalog/models/category-filter.js +0 -10
  604. package/esm2015/domain/catalog/models/filter-option.js +0 -10
  605. package/esm2015/domain/catalog/models/filter.js +0 -10
  606. package/esm2015/domain/catalog/repositories/category-filter.repository.js +0 -2
  607. package/esm2015/domain/catalog/repositories/filter-option.repository.js +0 -2
  608. package/esm2015/domain/catalog/repositories/filter.repository.js +0 -2
  609. package/esm2015/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.js +0 -24
  610. package/esm2015/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.js +0 -123
  611. package/esm2015/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.js +0 -21
  612. package/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +0 -11
  613. package/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.d.ts +0 -18
  614. package/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.d.ts +0 -10
@@ -1,2 +1,2 @@
1
- export * from './models';
2
- export * from './repositories';
1
+ export * from './models';
2
+ export * from './repositories';
@@ -1,25 +1,24 @@
1
- import { BaseModel, GenericIdentifier, NonFunctionPropertyNames } from '../../generic/model';
2
- import { Shops } from './enums';
3
- import { Filter } from './filter';
4
- import { CategoryCondition, CategoryMetadata } from './types';
5
- export declare class Category extends BaseModel<Category> {
6
- id: string;
7
- brandCategory: boolean;
8
- brandLogo?: string;
9
- name: string;
10
- slug: string;
11
- image?: string;
12
- brandCategoryBanner?: string;
13
- brandCategoryBannerMobile?: string;
14
- description: string;
15
- conditions?: CategoryCondition;
16
- products?: string[];
17
- createdAt?: Date;
18
- updatedAt?: Date;
19
- shop: Shops;
20
- published: boolean;
21
- metadata: CategoryMetadata;
22
- filters?: Filter[];
23
- identifierFields(): NonFunctionPropertyNames<Category>[];
24
- static get identifiersFields(): GenericIdentifier[];
25
- }
1
+ import { BaseModel, GenericIdentifier, NonFunctionPropertyNames } from '../../generic/model';
2
+ import { Shops } from './enums';
3
+ import { CategoryCondition, CategoryFilter, CategoryMetadata } from './types';
4
+ export declare class Category extends BaseModel<Category> {
5
+ id: string;
6
+ brandCategory: boolean;
7
+ brandLogo?: string;
8
+ name: string;
9
+ slug: string;
10
+ image?: string;
11
+ brandCategoryBanner?: string;
12
+ brandCategoryBannerMobile?: string;
13
+ description: string;
14
+ conditions?: CategoryCondition;
15
+ products?: string[];
16
+ filters?: CategoryFilter[];
17
+ createdAt?: Date;
18
+ updatedAt?: Date;
19
+ shop: Shops;
20
+ published: boolean;
21
+ metadata: CategoryMetadata;
22
+ identifierFields(): NonFunctionPropertyNames<Category>[];
23
+ static get identifiersFields(): GenericIdentifier[];
24
+ }
@@ -1,2 +1,2 @@
1
- export * from './product-genders.enum';
2
- export * from './shops.enum';
1
+ export * from './product-genders.enum';
2
+ export * from './shops.enum';
@@ -1,5 +1,5 @@
1
- export declare enum GenderDestination {
2
- FEMALE = "female",
3
- MALE = "male",
4
- UNISEX = "unisex"
5
- }
1
+ export declare enum GenderDestination {
2
+ FEMALE = "female",
3
+ MALE = "male",
4
+ UNISEX = "unisex"
5
+ }
@@ -1,6 +1,6 @@
1
- export declare enum Shops {
2
- MENSMARKET = "mensmarket",
3
- GLAMSHOP = "Glamshop",
4
- GLAMPOINTS = "Glampoints",
5
- ALL = "ALL"
6
- }
1
+ export declare enum Shops {
2
+ MENSMARKET = "mensmarket",
3
+ GLAMSHOP = "Glamshop",
4
+ GLAMPOINTS = "Glampoints",
5
+ ALL = "ALL"
6
+ }
@@ -1,9 +1,6 @@
1
- export * from './category';
2
- export * from './category-filter';
3
- export * from './enums';
4
- export * from './filter';
5
- export * from './filter-option';
6
- export * from './kit-product';
7
- export * from './product';
8
- export * from './types';
9
- export * from './variant';
1
+ export * from './category';
2
+ export * from './enums';
3
+ export * from './kit-product';
4
+ export * from './product';
5
+ export * from './types';
6
+ export * from './variant';
@@ -1,12 +1,12 @@
1
- import { BaseModel } from '../../generic/model';
2
- import { Product } from './product';
3
- declare type KitProductIdentifiers = 'productId' | 'kitProducId';
4
- export declare class KitProduct extends BaseModel<KitProduct, KitProductIdentifiers> {
5
- productId: string;
6
- kitProductId: string;
7
- quantity: number;
8
- kit: Product;
9
- product: Product;
10
- static get identifiersFields(): KitProductIdentifiers[];
11
- }
12
- export {};
1
+ import { BaseModel } from '../../generic/model';
2
+ import { Product } from './product';
3
+ declare type KitProductIdentifiers = 'productId' | 'kitProducId';
4
+ export declare class KitProduct extends BaseModel<KitProduct, KitProductIdentifiers> {
5
+ productId: string;
6
+ kitProductId: string;
7
+ quantity: number;
8
+ kit: Product;
9
+ product: Product;
10
+ static get identifiersFields(): KitProductIdentifiers[];
11
+ }
12
+ export {};
@@ -1,40 +1,39 @@
1
- import { BaseModel, GenericIdentifier, NonFunctionPropertyNames } from '../../generic/model';
2
- import { KitProduct } from './kit-product';
3
- import { ProductGender, ProductMetadata, ProductReview, ShopDescription, ShopPrice, Stock } from './types';
4
- import { Variant } from './variant';
5
- export declare class Product extends BaseModel<Product> {
6
- id: string;
7
- name: string;
8
- slug: string;
9
- description: ShopDescription;
10
- sku: string;
11
- price: ShopPrice;
12
- hasVariants: boolean;
13
- NCM: string;
14
- EAN: string;
15
- CEST: string;
16
- weight: number;
17
- stock: Stock;
18
- costPrice: number;
19
- images?: string[];
20
- miniatures?: string[];
21
- published: boolean;
22
- createdAt?: Date;
23
- updatedAt?: Date;
24
- brand: string;
25
- tags?: string[];
26
- filters?: string[];
27
- type?: string;
28
- categories?: string[];
29
- reviews?: ProductReview[];
30
- variant?: Variant;
31
- video?: string;
32
- isKit?: boolean;
33
- rate?: number;
34
- gender?: ProductGender;
35
- shoppingCount?: number;
36
- metadata: ProductMetadata;
37
- kitProducts?: KitProduct[];
38
- identifierFields(): NonFunctionPropertyNames<Product>[];
39
- static get identifiersFields(): GenericIdentifier[];
40
- }
1
+ import { BaseModel, GenericIdentifier, NonFunctionPropertyNames } from '../../generic/model';
2
+ import { KitProduct } from './kit-product';
3
+ import { ProductGender, ProductMetadata, ProductReview, ShopDescription, ShopPrice, Stock } from './types';
4
+ import { Variant } from './variant';
5
+ export declare class Product extends BaseModel<Product> {
6
+ id: string;
7
+ name: string;
8
+ slug: string;
9
+ description: ShopDescription;
10
+ sku: string;
11
+ price: ShopPrice;
12
+ hasVariants: boolean;
13
+ NCM: string;
14
+ EAN: string;
15
+ CEST: string;
16
+ weight: number;
17
+ stock: Stock;
18
+ costPrice: number;
19
+ images?: string[];
20
+ miniatures?: string[];
21
+ published: boolean;
22
+ createdAt?: Date;
23
+ updatedAt?: Date;
24
+ brand: string;
25
+ tags?: string[];
26
+ type?: string;
27
+ categories?: string[];
28
+ reviews?: ProductReview[];
29
+ variant?: Variant;
30
+ video?: string;
31
+ isKit?: boolean;
32
+ rate?: number;
33
+ gender?: ProductGender;
34
+ shoppingCount?: number;
35
+ metadata: ProductMetadata;
36
+ kitProducts?: KitProduct[];
37
+ identifierFields(): NonFunctionPropertyNames<Product>[];
38
+ static get identifiersFields(): GenericIdentifier[];
39
+ }
@@ -1,4 +1,4 @@
1
- export declare type CategoryCondition = {
2
- tags?: string[];
3
- brand?: string;
4
- };
1
+ export declare type CategoryCondition = {
2
+ tags?: string[];
3
+ brand?: string;
4
+ };
@@ -0,0 +1,4 @@
1
+ export declare type CategoryFilter = {
2
+ name?: string;
3
+ tags?: string[];
4
+ };
@@ -1,4 +1,4 @@
1
- export declare type CategoryMetadata = {
2
- title?: string;
3
- description?: string;
4
- };
1
+ export declare type CategoryMetadata = {
2
+ title?: string;
3
+ description?: string;
4
+ };
@@ -1,9 +1,10 @@
1
- export * from './category-condition.type';
2
- export * from './category-metadata.type';
3
- export * from './product-gender.type';
4
- export * from './product-metadata.type';
5
- export * from './product-review.type';
6
- export * from './shop-description.type';
7
- export * from './shop-price.type';
8
- export * from './stock.type';
9
- export * from './variant-grade.type';
1
+ export * from './category-condition.type';
2
+ export * from './category-filter.type';
3
+ export * from './category-metadata.type';
4
+ export * from './product-gender.type';
5
+ export * from './product-metadata.type';
6
+ export * from './product-review.type';
7
+ export * from './shop-description.type';
8
+ export * from './shop-price.type';
9
+ export * from './stock.type';
10
+ export * from './variant-grade.type';
@@ -1 +1 @@
1
- export declare type ProductGender = 'female' | 'male' | 'unisex';
1
+ export declare type ProductGender = 'female' | 'male' | 'unisex';
@@ -1,4 +1,4 @@
1
- export declare type ProductMetadata = {
2
- title?: string;
3
- description?: string;
4
- };
1
+ export declare type ProductMetadata = {
2
+ title?: string;
3
+ description?: string;
4
+ };
@@ -1,17 +1,17 @@
1
- import { Shops } from '../enums/shops.enum';
2
- export declare type ProductReview = {
3
- id?: string;
4
- shop: Shops;
5
- rate: number;
6
- author?: string;
7
- email?: string;
8
- location?: string;
9
- review?: string;
10
- status?: boolean;
11
- title?: string;
12
- personId?: number;
13
- points?: number;
14
- orderId?: string;
15
- createdAt?: Date;
16
- updatedAt?: Date;
17
- };
1
+ import { Shops } from '../enums/shops.enum';
2
+ export declare type ProductReview = {
3
+ id?: string;
4
+ shop: Shops;
5
+ rate: number;
6
+ author?: string;
7
+ email?: string;
8
+ location?: string;
9
+ review?: string;
10
+ status?: boolean;
11
+ title?: string;
12
+ personId?: number;
13
+ points?: number;
14
+ orderId?: string;
15
+ createdAt?: Date;
16
+ updatedAt?: Date;
17
+ };
@@ -1,7 +1,7 @@
1
- export declare type ShopDescription = {
2
- description: string;
3
- differentials?: string;
4
- whoMustUse?: string;
5
- howToUse?: string;
6
- brand?: string;
7
- };
1
+ export declare type ShopDescription = {
2
+ description: string;
3
+ differentials?: string;
4
+ whoMustUse?: string;
5
+ howToUse?: string;
6
+ brand?: string;
7
+ };
@@ -1,6 +1,6 @@
1
- export declare type ShopPrice = {
2
- price: number;
3
- fullPrice: number;
4
- subscriberDiscountPercentage?: number;
5
- subscriberPrice?: number;
6
- };
1
+ export declare type ShopPrice = {
2
+ price: number;
3
+ fullPrice: number;
4
+ subscriberDiscountPercentage?: number;
5
+ subscriberPrice?: number;
6
+ };
@@ -1,3 +1,3 @@
1
- export declare type Stock = {
2
- quantity: number;
3
- };
1
+ export declare type Stock = {
2
+ quantity: number;
3
+ };
@@ -1,4 +1,4 @@
1
- export declare type VariantGrade = {
2
- title: string;
3
- value: string;
4
- };
1
+ export declare type VariantGrade = {
2
+ title: string;
3
+ value: string;
4
+ };
@@ -1,18 +1,18 @@
1
- import { BaseModel, NonFunctionPropertyNames } from '../../generic/model';
2
- import { ShopPrice, Stock, VariantGrade } from './types';
3
- export declare type ProductVariantIdentifiers = 'id' | 'productId';
4
- export declare class Variant extends BaseModel<Variant, ProductVariantIdentifiers> {
5
- id: string;
6
- productId: string;
7
- sku: string;
8
- price: ShopPrice;
9
- EAN: string;
10
- stock: Stock;
11
- grade?: VariantGrade[];
12
- costPrice: number;
13
- weight: number;
14
- createdAt?: Date;
15
- updatedAt?: Date;
16
- identifierFields(): NonFunctionPropertyNames<Variant>[];
17
- static get identifiersFields(): ProductVariantIdentifiers[];
18
- }
1
+ import { BaseModel, NonFunctionPropertyNames } from '../../generic/model';
2
+ import { ShopPrice, Stock, VariantGrade } from './types';
3
+ export declare type ProductVariantIdentifiers = 'id' | 'productId';
4
+ export declare class Variant extends BaseModel<Variant, ProductVariantIdentifiers> {
5
+ id: string;
6
+ productId: string;
7
+ sku: string;
8
+ price: ShopPrice;
9
+ EAN: string;
10
+ stock: Stock;
11
+ grade?: VariantGrade[];
12
+ costPrice: number;
13
+ weight: number;
14
+ createdAt?: Date;
15
+ updatedAt?: Date;
16
+ identifierFields(): NonFunctionPropertyNames<Variant>[];
17
+ static get identifiersFields(): ProductVariantIdentifiers[];
18
+ }
@@ -1,15 +1,15 @@
1
- import { Category } from '../models/category';
2
- import { CrudRepository } from '../../generic/repository/crud.repository';
3
- import { Shops } from '../models/enums/shops.enum';
4
- import { Product } from '../models';
5
- export interface CategoryRepository extends CrudRepository<Category> {
6
- getCategoryBySlug(slug: string, shop: Shops): Promise<Category>;
7
- getCategoriesForHome(categoryIds: string[], limit?: number): Promise<{
8
- category: Category;
9
- products: Product[];
10
- }[]>;
11
- mountCategory(category: Category, options?: {
12
- limit?: number;
13
- hasStock?: boolean;
14
- }): Promise<Product[]>;
15
- }
1
+ import { Category } from '../models/category';
2
+ import { CrudRepository } from '../../generic/repository/crud.repository';
3
+ import { Shops } from '../models/enums/shops.enum';
4
+ import { Product } from '../models';
5
+ export interface CategoryRepository extends CrudRepository<Category> {
6
+ getCategoryBySlug(slug: string, shop: Shops): Promise<Category>;
7
+ getCategoriesForHome(categoryIds: string[], limit?: number): Promise<{
8
+ category: Category;
9
+ products: Product[];
10
+ }[]>;
11
+ mountCategory(category: Category, options?: {
12
+ limit?: number;
13
+ hasStock?: boolean;
14
+ }): Promise<Product[]>;
15
+ }
@@ -1,7 +1,4 @@
1
- export * from './category-filter.repository';
2
- export * from './category.repository';
3
- export * from './filter-option.repository';
4
- export * from './filter.repository';
5
- export * from './product.repository';
6
- export * from './subscription-product.repository';
7
- export * from './variant.repository';
1
+ export * from './category.repository';
2
+ export * from './product.repository';
3
+ export * from './subscription-product.repository';
4
+ export * from './variant.repository';
@@ -1,12 +1,12 @@
1
- import { CrudRepository } from '../../generic/repository/crud.repository';
2
- import { Product, ProductReview } from '../models';
3
- export declare type ReviewStatusParams = 'pending' | 'approved' | 'rejected';
4
- export declare type ReviewWithProductData = ProductReview & {
5
- productId: string;
6
- productName: string;
7
- productSku: string;
8
- };
9
- export interface ProductRepository extends CrudRepository<Product> {
10
- getBySlug(slug: string): Promise<Product>;
11
- fetchReviews(status: ReviewStatusParams): Promise<ReviewWithProductData[]>;
12
- }
1
+ import { CrudRepository } from '../../generic/repository/crud.repository';
2
+ import { Product, ProductReview } from '../models';
3
+ export declare type ReviewStatusParams = 'pending' | 'approved' | 'rejected';
4
+ export declare type ReviewWithProductData = ProductReview & {
5
+ productId: string;
6
+ productName: string;
7
+ productSku: string;
8
+ };
9
+ export interface ProductRepository extends CrudRepository<Product> {
10
+ getBySlug(slug: string): Promise<Product>;
11
+ fetchReviews(status: ReviewStatusParams): Promise<ReviewWithProductData[]>;
12
+ }
@@ -1,4 +1,4 @@
1
- import { CrudRepository } from '../../generic/repository/crud.repository';
2
- import { Product } from '../models';
3
- export interface SubscriptionProductRepository extends CrudRepository<Product> {
4
- }
1
+ import { CrudRepository } from '../../generic/repository/crud.repository';
2
+ import { Product } from '../models';
3
+ export interface SubscriptionProductRepository extends CrudRepository<Product> {
4
+ }
@@ -1,4 +1,4 @@
1
- import { CrudRepository } from '../../generic/repository/crud.repository';
2
- import { Variant } from '../models/variant';
3
- export interface VariantRepository extends CrudRepository<Variant> {
4
- }
1
+ import { CrudRepository } from '../../generic/repository/crud.repository';
2
+ import { Variant } from '../models/variant';
3
+ export interface VariantRepository extends CrudRepository<Variant> {
4
+ }
@@ -1,2 +1,2 @@
1
- export * from './model';
2
- export * from './repository';
1
+ export * from './model';
2
+ export * from './repository';
@@ -1,10 +1,10 @@
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>;
5
- get identifiersFields(): Identifiers[];
6
- constructor(args?: Partial<Model>);
7
- static toInstance<T extends ModelBaseStructure>(this: new () => T, data?: Partial<NonFunctionProperties<T>>): T;
8
- static isModel<T extends ModelBaseStructure>(this: new () => T, value: any): value is T;
9
- toPlain(): any;
10
- }
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>;
5
+ get identifiersFields(): Identifiers[];
6
+ constructor(args?: Partial<Model>);
7
+ static toInstance<T extends ModelBaseStructure>(this: new () => T, data?: Partial<NonFunctionProperties<T>>): T;
8
+ static isModel<T extends ModelBaseStructure>(this: new () => T, value: any): value is T;
9
+ toPlain(): any;
10
+ }
@@ -1,4 +1,4 @@
1
- import { NonFunctionPropertyNames } from './types/non-function-property-name.type';
2
- export interface IdentifierFields<Model> {
3
- identifierFields: () => NonFunctionPropertyNames<Model>[];
4
- }
1
+ import { NonFunctionPropertyNames } from './types/non-function-property-name.type';
2
+ export interface IdentifierFields<Model> {
3
+ identifierFields: () => NonFunctionPropertyNames<Model>[];
4
+ }
@@ -1,3 +1,3 @@
1
- export * from './base.model';
2
- export * from './identifier-fields';
3
- export * from './types';
1
+ export * from './base.model';
2
+ export * from './identifier-fields';
3
+ export * from './types';
@@ -1,15 +1,15 @@
1
- import { NonFunctionAndIdentifierPropertiesWithNoPartial } from './non-function-properties.type';
2
- import { NonFunctionAndIdentifierPropertyNames } from './non-function-property-name.type';
3
- export interface BaseModelBuilder<T, Identifiers = NonFunctionAndIdentifierPropertyNames<T>, P extends T & {
4
- prototype: unknown;
5
- } = T & {
6
- prototype: unknown;
7
- }> {
8
- new (...args: any[]): T;
9
- identifiersFields: Identifiers[];
10
- prototype: {
11
- [key in keyof P['prototype']]: P['prototype'][key];
12
- };
13
- toInstance(this: new () => T, data?: Partial<NonFunctionAndIdentifierPropertiesWithNoPartial<T>>): T;
14
- isModel(model: any): model is T;
15
- }
1
+ import { NonFunctionAndIdentifierPropertiesWithNoPartial } from './non-function-properties.type';
2
+ import { NonFunctionAndIdentifierPropertyNames } from './non-function-property-name.type';
3
+ export interface BaseModelBuilder<T, Identifiers = NonFunctionAndIdentifierPropertyNames<T>, P extends T & {
4
+ prototype: unknown;
5
+ } = T & {
6
+ prototype: unknown;
7
+ }> {
8
+ new (...args: any[]): T;
9
+ identifiersFields: Identifiers[];
10
+ prototype: {
11
+ [key in keyof P['prototype']]: P['prototype'][key];
12
+ };
13
+ toInstance(this: new () => T, data?: Partial<NonFunctionAndIdentifierPropertiesWithNoPartial<T>>): T;
14
+ isModel(model: any): model is T;
15
+ }
@@ -1,7 +1,7 @@
1
- import { ArrayElement, PropType } from '../../../../utils';
2
- import { ModelBaseStructure } from './model-base-structure.type';
3
- import { NonFunctionAndIdentifierPropertiesWithNoPartial } from './non-function-properties.type';
4
- import { NonFunctionAndIdentifierPropertyNames } from './non-function-property-name.type';
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
+ import { ArrayElement, PropType } from '../../../../utils';
2
+ import { ModelBaseStructure } from './model-base-structure.type';
3
+ import { NonFunctionAndIdentifierPropertiesWithNoPartial } from './non-function-properties.type';
4
+ import { NonFunctionAndIdentifierPropertyNames } from './non-function-property-name.type';
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,5 +1,5 @@
1
- export * from './non-function-property-name.type';
2
- export * from './non-function-properties.type';
3
- export * from './base-model-builder.type';
4
- export * from './model-base-structure.type';
5
- export * from './identifier-model.type';
1
+ export * from './non-function-property-name.type';
2
+ export * from './non-function-properties.type';
3
+ export * from './base-model-builder.type';
4
+ export * from './model-base-structure.type';
5
+ export * from './identifier-model.type';
@@ -1,6 +1,6 @@
1
- import { NonFunctionAndIdentifierProperties } from './non-function-properties.type';
2
- export declare type ModelBaseStructure<M = any, I = any> = {
3
- identifier: NonFunctionAndIdentifierProperties<M>;
4
- identifiersFields: I[];
5
- toPlain: any;
6
- };
1
+ import { NonFunctionAndIdentifierProperties } from './non-function-properties.type';
2
+ export declare type ModelBaseStructure<M = any, I = any> = {
3
+ identifier: NonFunctionAndIdentifierProperties<M>;
4
+ identifiersFields: I[];
5
+ toPlain: any;
6
+ };