@infrab4a/connect 3.3.1-beta.0 → 3.3.1-beta.2

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 (600) hide show
  1. package/README.md +24 -24
  2. package/bundles/infrab4a-connect.umd.js +4615 -4561
  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 -24
  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 -6
  10. package/domain/catalog/models/kit-product.d.ts +12 -12
  11. package/domain/catalog/models/product.d.ts +39 -39
  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 -4
  14. package/domain/catalog/models/types/category-metadata.type.d.ts +4 -4
  15. package/domain/catalog/models/types/index.d.ts +10 -10
  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 -4
  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 -11
  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 -4
  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 -10
  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 -3
  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/checkout.d.ts +27 -27
  86. package/domain/shopping/models/coupons/coupon.d.ts +32 -32
  87. package/domain/shopping/models/coupons/enums/coupon-club-mens.enum.d.ts +5 -5
  88. package/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -4
  89. package/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +4 -4
  90. package/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +8 -8
  91. package/domain/shopping/models/coupons/enums/index.d.ts +3 -3
  92. package/domain/shopping/models/coupons/index.d.ts +2 -2
  93. package/domain/shopping/models/enums/checkout-types.enum.d.ts +5 -5
  94. package/domain/shopping/models/enums/index.d.ts +2 -2
  95. package/domain/shopping/models/enums/order-status.enum.d.ts +10 -10
  96. package/domain/shopping/models/index.d.ts +11 -11
  97. package/domain/shopping/models/line-item.d.ts +8 -8
  98. package/domain/shopping/models/order.d.ts +9 -9
  99. package/domain/shopping/models/payment.d.ts +67 -67
  100. package/domain/shopping/models/shipping-method.d.ts +16 -16
  101. package/domain/shopping/models/subscription/checkout.d.ts +21 -21
  102. package/domain/shopping/models/subscription/index.d.ts +2 -2
  103. package/domain/shopping/models/subscription/plan.d.ts +10 -10
  104. package/domain/shopping/models/types/index.d.ts +7 -7
  105. package/domain/shopping/models/types/payment-address.type.d.ts +12 -12
  106. package/domain/shopping/models/types/payment-billing.type.d.ts +7 -7
  107. package/domain/shopping/models/types/payment-card.type.d.ts +14 -14
  108. package/domain/shopping/models/types/payment-customer.type.d.ts +18 -18
  109. package/domain/shopping/models/types/payment-document.type.d.ts +6 -6
  110. package/domain/shopping/models/types/payment-item.type.d.ts +11 -11
  111. package/domain/shopping/models/types/payment-shipping.type.d.ts +10 -10
  112. package/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -4
  113. package/domain/shopping/repositories/checkout.repository.d.ts +4 -4
  114. package/domain/shopping/repositories/coupon.repository.d.ts +4 -4
  115. package/domain/shopping/repositories/index.d.ts +7 -7
  116. package/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
  117. package/domain/shopping/repositories/order.repository.d.ts +4 -4
  118. package/domain/shopping/repositories/payment.repository.d.ts +4 -4
  119. package/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -4
  120. package/domain/shopping/repositories/subscription/index.d.ts +2 -2
  121. package/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -4
  122. package/domain/users/errors/index.d.ts +3 -3
  123. package/domain/users/errors/unauthorized.error.d.ts +5 -5
  124. package/domain/users/errors/user-already-registered.error.d.ts +5 -5
  125. package/domain/users/errors/weak-password.error.d.ts +5 -5
  126. package/domain/users/index.d.ts +5 -5
  127. package/domain/users/models/beauty-profile.d.ts +11 -11
  128. package/domain/users/models/enums/accessory-importances.enum.d.ts +5 -5
  129. package/domain/users/models/enums/area.enum.d.ts +11 -11
  130. package/domain/users/models/enums/beard-problems.enum.d.ts +9 -9
  131. package/domain/users/models/enums/beard-sizes.enum.d.ts +7 -7
  132. package/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -6
  133. package/domain/users/models/enums/body-problems.enum.d.ts +11 -11
  134. package/domain/users/models/enums/body-shapes.enum.d.ts +7 -7
  135. package/domain/users/models/enums/body-tattoos.enum.d.ts +5 -5
  136. package/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -7
  137. package/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -10
  138. package/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -8
  139. package/domain/users/models/enums/family-incomes.enum.d.ts +8 -8
  140. package/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -5
  141. package/domain/users/models/enums/hair-colors.enum.d.ts +10 -10
  142. package/domain/users/models/enums/hair-problems.enum.d.ts +10 -10
  143. package/domain/users/models/enums/hair-strands.enum.d.ts +8 -8
  144. package/domain/users/models/enums/hair-types.enum.d.ts +7 -7
  145. package/domain/users/models/enums/index.d.ts +20 -20
  146. package/domain/users/models/enums/office-position.enum.d.ts +6 -6
  147. package/domain/users/models/enums/product-spents.enum.d.ts +8 -8
  148. package/domain/users/models/enums/user-type.enum.d.ts +8 -8
  149. package/domain/users/models/index.d.ts +7 -7
  150. package/domain/users/models/lead.d.ts +7 -7
  151. package/domain/users/models/subscription/edition.d.ts +16 -16
  152. package/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -3
  153. package/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -4
  154. package/domain/users/models/subscription/enums/index.d.ts +4 -4
  155. package/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -5
  156. package/domain/users/models/subscription/enums/status.enum.d.ts +4 -4
  157. package/domain/users/models/subscription/index.d.ts +4 -4
  158. package/domain/users/models/subscription/payment.d.ts +13 -13
  159. package/domain/users/models/subscription/subscription.d.ts +28 -28
  160. package/domain/users/models/user-address.d.ts +7 -7
  161. package/domain/users/models/user-payment-method.d.ts +14 -14
  162. package/domain/users/models/user.d.ts +28 -28
  163. package/domain/users/repositories/beauty-profile.repository.d.ts +4 -4
  164. package/domain/users/repositories/edition.repository.d.ts +4 -4
  165. package/domain/users/repositories/index.d.ts +8 -8
  166. package/domain/users/repositories/lead.repository.d.ts +4 -4
  167. package/domain/users/repositories/subscription-payment.repository.d.ts +4 -4
  168. package/domain/users/repositories/subscription.repository.d.ts +4 -4
  169. package/domain/users/repositories/user-address.repository.d.ts +4 -4
  170. package/domain/users/repositories/user-payment-method.repository.d.ts +4 -4
  171. package/domain/users/repositories/user.repository.d.ts +6 -6
  172. package/domain/users/services/authentication.service.d.ts +12 -12
  173. package/domain/users/services/index.d.ts +3 -3
  174. package/domain/users/services/register.service.d.ts +7 -7
  175. package/domain/users/services/types/basic-user-data.type.d.ts +4 -4
  176. package/domain/users/services/types/index.d.ts +1 -1
  177. package/domain/users/use-cases/authentication.d.ts +21 -21
  178. package/domain/users/use-cases/index.d.ts +4 -4
  179. package/domain/users/use-cases/recovery-password.d.ts +6 -6
  180. package/domain/users/use-cases/register.d.ts +13 -13
  181. package/domain/users/use-cases/signout.d.ts +6 -6
  182. package/errors/duplicated-results.error.d.ts +5 -5
  183. package/errors/index.d.ts +4 -4
  184. package/errors/invalid-argument.error.d.ts +5 -5
  185. package/errors/not-found.error.d.ts +5 -5
  186. package/errors/required-argument.error.d.ts +6 -6
  187. package/esm2015/domain/catalog/index.js +3 -3
  188. package/esm2015/domain/catalog/models/category.js +10 -10
  189. package/esm2015/domain/catalog/models/enums/index.js +3 -3
  190. package/esm2015/domain/catalog/models/enums/product-genders.enum.js +7 -7
  191. package/esm2015/domain/catalog/models/enums/shops.enum.js +8 -8
  192. package/esm2015/domain/catalog/models/index.js +7 -7
  193. package/esm2015/domain/catalog/models/kit-product.js +18 -18
  194. package/esm2015/domain/catalog/models/product.js +17 -17
  195. package/esm2015/domain/catalog/models/types/category-condition.type.js +2 -2
  196. package/esm2015/domain/catalog/models/types/category-filter.type.js +2 -2
  197. package/esm2015/domain/catalog/models/types/category-metadata.type.js +2 -2
  198. package/esm2015/domain/catalog/models/types/index.js +11 -11
  199. package/esm2015/domain/catalog/models/types/product-gender.type.js +2 -2
  200. package/esm2015/domain/catalog/models/types/product-metadata.type.js +2 -2
  201. package/esm2015/domain/catalog/models/types/product-review.type.js +2 -2
  202. package/esm2015/domain/catalog/models/types/shop-description.type.js +2 -2
  203. package/esm2015/domain/catalog/models/types/shop-price.type.js +2 -2
  204. package/esm2015/domain/catalog/models/types/stock.type.js +2 -2
  205. package/esm2015/domain/catalog/models/types/variant-grade.type.js +2 -2
  206. package/esm2015/domain/catalog/models/variant.js +10 -10
  207. package/esm2015/domain/catalog/repositories/category.repository.js +2 -2
  208. package/esm2015/domain/catalog/repositories/index.js +5 -5
  209. package/esm2015/domain/catalog/repositories/product.repository.js +2 -2
  210. package/esm2015/domain/catalog/repositories/subscription-product.repository.js +2 -2
  211. package/esm2015/domain/catalog/repositories/variant.repository.js +2 -2
  212. package/esm2015/domain/generic/index.js +3 -3
  213. package/esm2015/domain/generic/model/base.model.js +23 -23
  214. package/esm2015/domain/generic/model/identifier-fields.js +2 -2
  215. package/esm2015/domain/generic/model/index.js +4 -4
  216. package/esm2015/domain/generic/model/types/base-model-builder.type.js +2 -2
  217. package/esm2015/domain/generic/model/types/identifier-model.type.js +2 -2
  218. package/esm2015/domain/generic/model/types/index.js +6 -6
  219. package/esm2015/domain/generic/model/types/model-base-structure.type.js +2 -2
  220. package/esm2015/domain/generic/model/types/non-function-properties.type.js +2 -2
  221. package/esm2015/domain/generic/model/types/non-function-property-name.type.js +2 -2
  222. package/esm2015/domain/generic/repository/create.repository.js +2 -2
  223. package/esm2015/domain/generic/repository/crud.repository.js +2 -2
  224. package/esm2015/domain/generic/repository/delete.repository.js +2 -2
  225. package/esm2015/domain/generic/repository/enums/index.js +3 -3
  226. package/esm2015/domain/generic/repository/enums/update-option-actions.enum.js +9 -9
  227. package/esm2015/domain/generic/repository/enums/where.enum.js +16 -16
  228. package/esm2015/domain/generic/repository/find.repository.js +2 -2
  229. package/esm2015/domain/generic/repository/get.repository.js +2 -2
  230. package/esm2015/domain/generic/repository/index.js +10 -10
  231. package/esm2015/domain/generic/repository/read.repository.js +2 -2
  232. package/esm2015/domain/generic/repository/types/index.js +7 -7
  233. package/esm2015/domain/generic/repository/types/repository-find-filters.type.js +2 -2
  234. package/esm2015/domain/generic/repository/types/repository-find-result.type.js +2 -2
  235. package/esm2015/domain/generic/repository/types/repository-limit-options.type.js +2 -2
  236. package/esm2015/domain/generic/repository/types/repository-order-by-list.type.js +2 -2
  237. package/esm2015/domain/generic/repository/types/repository-update-params.type.js +2 -2
  238. package/esm2015/domain/generic/repository/types/where-options.type.js +2 -2
  239. package/esm2015/domain/generic/repository/update.repository.js +2 -2
  240. package/esm2015/domain/index.js +7 -7
  241. package/esm2015/domain/location/index.js +2 -2
  242. package/esm2015/domain/location/models/address.js +7 -7
  243. package/esm2015/domain/location/models/index.js +3 -3
  244. package/esm2015/domain/location/models/types/index.js +4 -4
  245. package/esm2015/domain/location/models/types/location-bound.type.js +2 -2
  246. package/esm2015/domain/location/models/types/location-geometry.type.js +2 -2
  247. package/esm2015/domain/location/models/types/location-lat-lng.type.js +2 -2
  248. package/esm2015/domain/shop-settings/enums/filter-type.enum.js +21 -21
  249. package/esm2015/domain/shop-settings/enums/index.js +3 -3
  250. package/esm2015/domain/shop-settings/enums/questions-filters.enum.js +21 -21
  251. package/esm2015/domain/shop-settings/helpers/beauty-questions.helper.js +46 -46
  252. package/esm2015/domain/shop-settings/helpers/index.js +2 -2
  253. package/esm2015/domain/shop-settings/index.js +5 -5
  254. package/esm2015/domain/shop-settings/models/home.js +7 -7
  255. package/esm2015/domain/shop-settings/models/index.js +4 -5
  256. package/esm2015/domain/shop-settings/models/shop-menu.js +7 -7
  257. package/esm2015/domain/shop-settings/models/types/banner.type.js +2 -2
  258. package/esm2015/domain/shop-settings/models/types/benefit.type.js +2 -2
  259. package/esm2015/domain/shop-settings/models/types/home-data.type.js +2 -2
  260. package/esm2015/domain/shop-settings/models/types/index.js +6 -11
  261. package/esm2015/domain/shop-settings/models/types/menu-nav.type.js +2 -2
  262. package/esm2015/domain/shop-settings/models/types/sub-menu.type.js +2 -2
  263. package/esm2015/domain/shop-settings/repositories/home.repository.js +2 -2
  264. package/esm2015/domain/shop-settings/repositories/index.js +3 -4
  265. package/esm2015/domain/shop-settings/repositories/shop-menu.repository.js +2 -2
  266. package/esm2015/domain/shopping/index.js +3 -3
  267. package/esm2015/domain/shopping/models/buy-2-win.js +14 -14
  268. package/esm2015/domain/shopping/models/checkout.js +38 -38
  269. package/esm2015/domain/shopping/models/coupons/coupon.js +38 -38
  270. package/esm2015/domain/shopping/models/coupons/enums/coupon-club-mens.enum.js +7 -7
  271. package/esm2015/domain/shopping/models/coupons/enums/coupon-subtypes.enum.js +6 -6
  272. package/esm2015/domain/shopping/models/coupons/enums/coupon-types.enum.js +10 -10
  273. package/esm2015/domain/shopping/models/coupons/enums/exclusivities.enum.js +10 -10
  274. package/esm2015/domain/shopping/models/coupons/enums/index.js +4 -4
  275. package/esm2015/domain/shopping/models/coupons/index.js +3 -3
  276. package/esm2015/domain/shopping/models/enums/checkout-types.enum.js +7 -7
  277. package/esm2015/domain/shopping/models/enums/index.js +3 -3
  278. package/esm2015/domain/shopping/models/enums/order-status.enum.js +12 -12
  279. package/esm2015/domain/shopping/models/index.js +12 -12
  280. package/esm2015/domain/shopping/models/line-item.js +4 -4
  281. package/esm2015/domain/shopping/models/order.js +11 -11
  282. package/esm2015/domain/shopping/models/payment.js +169 -169
  283. package/esm2015/domain/shopping/models/shipping-method.js +7 -7
  284. package/esm2015/domain/shopping/models/subscription/checkout.js +28 -28
  285. package/esm2015/domain/shopping/models/subscription/index.js +3 -3
  286. package/esm2015/domain/shopping/models/subscription/plan.js +7 -7
  287. package/esm2015/domain/shopping/models/types/index.js +8 -8
  288. package/esm2015/domain/shopping/models/types/payment-address.type.js +2 -2
  289. package/esm2015/domain/shopping/models/types/payment-billing.type.js +2 -2
  290. package/esm2015/domain/shopping/models/types/payment-card.type.js +2 -2
  291. package/esm2015/domain/shopping/models/types/payment-customer.type.js +2 -2
  292. package/esm2015/domain/shopping/models/types/payment-document.type.js +2 -2
  293. package/esm2015/domain/shopping/models/types/payment-item.type.js +2 -2
  294. package/esm2015/domain/shopping/models/types/payment-shipping.type.js +2 -2
  295. package/esm2015/domain/shopping/repositories/buy-2-win.repository.js +2 -2
  296. package/esm2015/domain/shopping/repositories/checkout.repository.js +2 -2
  297. package/esm2015/domain/shopping/repositories/coupon.repository.js +2 -2
  298. package/esm2015/domain/shopping/repositories/index.js +8 -8
  299. package/esm2015/domain/shopping/repositories/legacy-order.repository.js +2 -2
  300. package/esm2015/domain/shopping/repositories/order.repository.js +2 -2
  301. package/esm2015/domain/shopping/repositories/payment.repository.js +2 -2
  302. package/esm2015/domain/shopping/repositories/subscription/checkout.repository.js +2 -2
  303. package/esm2015/domain/shopping/repositories/subscription/index.js +3 -3
  304. package/esm2015/domain/shopping/repositories/subscription/plan.repository.js +2 -2
  305. package/esm2015/domain/users/errors/index.js +4 -4
  306. package/esm2015/domain/users/errors/unauthorized.error.js +8 -8
  307. package/esm2015/domain/users/errors/user-already-registered.error.js +8 -8
  308. package/esm2015/domain/users/errors/weak-password.error.js +8 -8
  309. package/esm2015/domain/users/index.js +6 -6
  310. package/esm2015/domain/users/models/beauty-profile.js +12 -12
  311. package/esm2015/domain/users/models/enums/accessory-importances.enum.js +7 -7
  312. package/esm2015/domain/users/models/enums/area.enum.js +13 -13
  313. package/esm2015/domain/users/models/enums/beard-problems.enum.js +11 -11
  314. package/esm2015/domain/users/models/enums/beard-sizes.enum.js +9 -9
  315. package/esm2015/domain/users/models/enums/beauty-product-importances.enum.js +8 -8
  316. package/esm2015/domain/users/models/enums/body-problems.enum.js +13 -13
  317. package/esm2015/domain/users/models/enums/body-shapes.enum.js +9 -9
  318. package/esm2015/domain/users/models/enums/body-tattoos.enum.js +7 -7
  319. package/esm2015/domain/users/models/enums/face-skin-oilinesses.enum.js +9 -9
  320. package/esm2015/domain/users/models/enums/face-skin-problems.enum.js +12 -12
  321. package/esm2015/domain/users/models/enums/face-skin-tones.enum.js +10 -10
  322. package/esm2015/domain/users/models/enums/family-incomes.enum.js +10 -10
  323. package/esm2015/domain/users/models/enums/fragrance-importances.enum.js +7 -7
  324. package/esm2015/domain/users/models/enums/hair-colors.enum.js +12 -12
  325. package/esm2015/domain/users/models/enums/hair-problems.enum.js +12 -12
  326. package/esm2015/domain/users/models/enums/hair-strands.enum.js +10 -10
  327. package/esm2015/domain/users/models/enums/hair-types.enum.js +9 -9
  328. package/esm2015/domain/users/models/enums/index.js +21 -21
  329. package/esm2015/domain/users/models/enums/office-position.enum.js +8 -8
  330. package/esm2015/domain/users/models/enums/product-spents.enum.js +10 -10
  331. package/esm2015/domain/users/models/enums/user-type.enum.js +10 -10
  332. package/esm2015/domain/users/models/index.js +8 -8
  333. package/esm2015/domain/users/models/lead.js +7 -7
  334. package/esm2015/domain/users/models/subscription/edition.js +7 -7
  335. package/esm2015/domain/users/models/subscription/enums/billing-status.enum.js +5 -5
  336. package/esm2015/domain/users/models/subscription/enums/edition-status.enum.js +6 -6
  337. package/esm2015/domain/users/models/subscription/enums/index.js +5 -5
  338. package/esm2015/domain/users/models/subscription/enums/payment-type.enum.js +7 -7
  339. package/esm2015/domain/users/models/subscription/enums/status.enum.js +6 -6
  340. package/esm2015/domain/users/models/subscription/index.js +5 -5
  341. package/esm2015/domain/users/models/subscription/payment.js +14 -14
  342. package/esm2015/domain/users/models/subscription/subscription.js +43 -43
  343. package/esm2015/domain/users/models/user-address.js +7 -7
  344. package/esm2015/domain/users/models/user-payment-method.js +7 -7
  345. package/esm2015/domain/users/models/user.js +26 -26
  346. package/esm2015/domain/users/repositories/beauty-profile.repository.js +2 -2
  347. package/esm2015/domain/users/repositories/edition.repository.js +2 -2
  348. package/esm2015/domain/users/repositories/index.js +9 -9
  349. package/esm2015/domain/users/repositories/lead.repository.js +2 -2
  350. package/esm2015/domain/users/repositories/subscription-payment.repository.js +2 -2
  351. package/esm2015/domain/users/repositories/subscription.repository.js +2 -2
  352. package/esm2015/domain/users/repositories/user-address.repository.js +2 -2
  353. package/esm2015/domain/users/repositories/user-payment-method.repository.js +2 -2
  354. package/esm2015/domain/users/repositories/user.repository.js +2 -2
  355. package/esm2015/domain/users/services/authentication.service.js +2 -2
  356. package/esm2015/domain/users/services/index.js +4 -4
  357. package/esm2015/domain/users/services/register.service.js +2 -2
  358. package/esm2015/domain/users/services/types/basic-user-data.type.js +2 -2
  359. package/esm2015/domain/users/services/types/index.js +2 -2
  360. package/esm2015/domain/users/use-cases/authentication.js +40 -40
  361. package/esm2015/domain/users/use-cases/index.js +5 -5
  362. package/esm2015/domain/users/use-cases/recovery-password.js +12 -12
  363. package/esm2015/domain/users/use-cases/register.js +34 -34
  364. package/esm2015/domain/users/use-cases/signout.js +12 -12
  365. package/esm2015/errors/duplicated-results.error.js +8 -8
  366. package/esm2015/errors/index.js +5 -5
  367. package/esm2015/errors/invalid-argument.error.js +8 -8
  368. package/esm2015/errors/not-found.error.js +8 -8
  369. package/esm2015/errors/required-argument.error.js +9 -9
  370. package/esm2015/index.js +6 -6
  371. package/esm2015/infra/elasticsearch/adapters/axios.adapter.js +57 -57
  372. package/esm2015/infra/elasticsearch/adapters/elastic-search.adapter.js +2 -2
  373. package/esm2015/infra/elasticsearch/adapters/index.js +3 -3
  374. package/esm2015/infra/elasticsearch/index.js +4 -4
  375. package/esm2015/infra/elasticsearch/indexes/index.js +2 -2
  376. package/esm2015/infra/elasticsearch/indexes/products-index.js +93 -93
  377. package/esm2015/infra/elasticsearch/types/elastic-search-result.js +2 -2
  378. package/esm2015/infra/elasticsearch/types/index.js +2 -2
  379. package/esm2015/infra/firebase/auth/authentication-firebase-auth.service.js +52 -52
  380. package/esm2015/infra/firebase/auth/index.js +3 -3
  381. package/esm2015/infra/firebase/auth/register-firebase-auth.service.js +26 -26
  382. package/esm2015/infra/firebase/auth/types/firebase-user-with-id.type.js +2 -2
  383. package/esm2015/infra/firebase/firestore/enums/firestore-field-type.enum.js +10 -0
  384. package/esm2015/infra/firebase/firestore/enums/index.js +2 -0
  385. package/esm2015/infra/firebase/firestore/index.js +4 -4
  386. package/esm2015/infra/firebase/firestore/mixins/index.js +10 -10
  387. package/esm2015/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +31 -31
  388. package/esm2015/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +10 -10
  389. package/esm2015/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +18 -18
  390. package/esm2015/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +98 -92
  391. package/esm2015/infra/firebase/firestore/mixins/with-firestore.mixin.js +49 -22
  392. package/esm2015/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +24 -24
  393. package/esm2015/infra/firebase/firestore/mixins/with-helpers.mixin.js +17 -17
  394. package/esm2015/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +11 -11
  395. package/esm2015/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +45 -45
  396. package/esm2015/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +71 -71
  397. package/esm2015/infra/firebase/firestore/repositories/catalog/index.js +5 -5
  398. package/esm2015/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +52 -52
  399. package/esm2015/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +14 -14
  400. package/esm2015/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +12 -12
  401. package/esm2015/infra/firebase/firestore/repositories/index.js +5 -5
  402. package/esm2015/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +56 -56
  403. package/esm2015/infra/firebase/firestore/repositories/shop-settings/index.js +3 -4
  404. package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +12 -12
  405. package/esm2015/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +12 -12
  406. package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +12 -12
  407. package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +12 -12
  408. package/esm2015/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +29 -29
  409. package/esm2015/infra/firebase/firestore/repositories/shopping/index.js +9 -9
  410. package/esm2015/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +9 -9
  411. package/esm2015/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +40 -35
  412. package/esm2015/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +12 -12
  413. package/esm2015/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +12 -12
  414. package/esm2015/infra/firebase/firestore/repositories/users/index.js +9 -9
  415. package/esm2015/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +12 -12
  416. package/esm2015/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +14 -14
  417. package/esm2015/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +12 -12
  418. package/esm2015/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +14 -14
  419. package/esm2015/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +14 -14
  420. package/esm2015/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +14 -14
  421. package/esm2015/infra/firebase/firestore/repositories/users/user-firestore.repository.js +68 -68
  422. package/esm2015/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +14 -14
  423. package/esm2015/infra/firebase/firestore/types/firestore-sub.repository.type.js +2 -2
  424. package/esm2015/infra/firebase/firestore/types/firestore.helpers.type.js +2 -2
  425. package/esm2015/infra/firebase/firestore/types/firestore.repository.type.js +2 -2
  426. package/esm2015/infra/firebase/firestore/types/index.js +4 -4
  427. package/esm2015/infra/firebase/index.js +3 -3
  428. package/esm2015/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.js +13 -13
  429. package/esm2015/infra/hasura-graphql/enums/hasura-graphql-where.enum.js +15 -15
  430. package/esm2015/infra/hasura-graphql/enums/index.js +3 -3
  431. package/esm2015/infra/hasura-graphql/index.js +5 -5
  432. package/esm2015/infra/hasura-graphql/mixins/helpers/attribute-option.helper.js +31 -31
  433. package/esm2015/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.js +53 -53
  434. package/esm2015/infra/hasura-graphql/mixins/helpers/filter-option.helper.js +22 -22
  435. package/esm2015/infra/hasura-graphql/mixins/helpers/graphql-field.helper.js +86 -86
  436. package/esm2015/infra/hasura-graphql/mixins/helpers/index.js +5 -5
  437. package/esm2015/infra/hasura-graphql/mixins/index.js +8 -8
  438. package/esm2015/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.js +45 -45
  439. package/esm2015/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.js +10 -10
  440. package/esm2015/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.js +29 -29
  441. package/esm2015/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.js +50 -45
  442. package/esm2015/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.js +35 -35
  443. package/esm2015/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.js +94 -94
  444. package/esm2015/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.js +56 -56
  445. package/esm2015/infra/hasura-graphql/models/category-hasura-graphql.js +4 -4
  446. package/esm2015/infra/hasura-graphql/models/index.js +5 -5
  447. package/esm2015/infra/hasura-graphql/models/kit-product-hasura-graphql.js +15 -15
  448. package/esm2015/infra/hasura-graphql/models/product-hasura-graphql.js +11 -11
  449. package/esm2015/infra/hasura-graphql/models/variant-hasura-graphql.js +9 -9
  450. package/esm2015/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.js +241 -230
  451. package/esm2015/infra/hasura-graphql/repositories/catalog/index.js +4 -4
  452. package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +465 -462
  453. package/esm2015/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.js +116 -116
  454. package/esm2015/infra/hasura-graphql/repositories/index.js +2 -2
  455. package/esm2015/infra/hasura-graphql/types/fields.type.js +2 -2
  456. package/esm2015/infra/hasura-graphql/types/graphql.repository.type.js +2 -2
  457. package/esm2015/infra/hasura-graphql/types/hasura-graphql-auth-options.type.js +2 -2
  458. package/esm2015/infra/hasura-graphql/types/hasura-graphql-fields.type.js +2 -2
  459. package/esm2015/infra/hasura-graphql/types/hasura-graphql-headers.type.js +2 -2
  460. package/esm2015/infra/hasura-graphql/types/index.js +9 -9
  461. package/esm2015/infra/hasura-graphql/types/nested-field.type.js +2 -2
  462. package/esm2015/infra/hasura-graphql/types/query-builder-options.type.js +2 -2
  463. package/esm2015/infra/hasura-graphql/types/variable-options.type.js +2 -2
  464. package/esm2015/infra/index.js +4 -4
  465. package/esm2015/infrab4a-connect.js +4 -4
  466. package/esm2015/utils/index.js +8 -8
  467. package/esm2015/utils/is-uuid.js +3 -3
  468. package/esm2015/utils/mixins/base.mixin.js +6 -6
  469. package/esm2015/utils/mixins/index.js +4 -4
  470. package/esm2015/utils/mixins/merge-constructor-params.type.js +2 -2
  471. package/esm2015/utils/mixins/mixin-ctor.type.js +2 -2
  472. package/esm2015/utils/parse-datetime.js +14 -14
  473. package/esm2015/utils/types/array-element.type.js +2 -2
  474. package/esm2015/utils/types/index.js +3 -3
  475. package/esm2015/utils/types/prop.type.js +2 -2
  476. package/fesm2015/infrab4a-connect.js +3161 -3111
  477. package/fesm2015/infrab4a-connect.js.map +1 -1
  478. package/index.d.ts +5 -5
  479. package/infra/elasticsearch/adapters/axios.adapter.d.ts +14 -14
  480. package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +7 -7
  481. package/infra/elasticsearch/adapters/index.d.ts +2 -2
  482. package/infra/elasticsearch/index.d.ts +3 -3
  483. package/infra/elasticsearch/indexes/index.d.ts +1 -1
  484. package/infra/elasticsearch/indexes/products-index.d.ts +15 -15
  485. package/infra/elasticsearch/types/elastic-search-result.d.ts +7 -7
  486. package/infra/elasticsearch/types/index.d.ts +1 -1
  487. package/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
  488. package/infra/firebase/auth/index.d.ts +2 -2
  489. package/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
  490. package/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +3 -3
  491. package/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +8 -0
  492. package/infra/firebase/firestore/enums/index.d.ts +1 -0
  493. package/infra/firebase/firestore/index.d.ts +3 -3
  494. package/infra/firebase/firestore/mixins/index.d.ts +9 -9
  495. package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
  496. package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +4 -4
  497. package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
  498. package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
  499. package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +4 -4
  500. package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
  501. package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
  502. package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +7 -7
  503. package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
  504. package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +17 -17
  505. package/infra/firebase/firestore/repositories/catalog/index.d.ts +4 -4
  506. package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +11 -11
  507. package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +13 -13
  508. package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +8 -8
  509. package/infra/firebase/firestore/repositories/index.d.ts +4 -4
  510. package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
  511. package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +2 -3
  512. package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +8 -8
  513. package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +8 -8
  514. package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +8 -8
  515. package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +8 -8
  516. package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
  517. package/infra/firebase/firestore/repositories/shopping/index.d.ts +8 -8
  518. package/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +7 -7
  519. package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
  520. package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +8 -8
  521. package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +8 -8
  522. package/infra/firebase/firestore/repositories/users/index.d.ts +8 -8
  523. package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +8 -8
  524. package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +13 -13
  525. package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +8 -8
  526. package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +13 -13
  527. package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +13 -13
  528. package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +13 -13
  529. package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
  530. package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +13 -13
  531. package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
  532. package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
  533. package/infra/firebase/firestore/types/firestore.repository.type.d.ts +14 -12
  534. package/infra/firebase/firestore/types/index.d.ts +3 -3
  535. package/infra/firebase/index.d.ts +2 -2
  536. package/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
  537. package/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +13 -13
  538. package/infra/hasura-graphql/enums/index.d.ts +2 -2
  539. package/infra/hasura-graphql/index.d.ts +4 -4
  540. package/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +13 -13
  541. package/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
  542. package/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +6 -6
  543. package/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +8 -8
  544. package/infra/hasura-graphql/mixins/helpers/index.d.ts +4 -4
  545. package/infra/hasura-graphql/mixins/index.d.ts +7 -7
  546. package/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +8 -8
  547. package/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +11 -11
  548. package/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +7 -7
  549. package/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +20 -25
  550. package/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +24 -24
  551. package/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +11 -11
  552. package/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +14 -14
  553. package/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
  554. package/infra/hasura-graphql/models/index.d.ts +4 -4
  555. package/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +6 -6
  556. package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +14 -14
  557. package/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +9 -9
  558. package/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +27 -27
  559. package/infra/hasura-graphql/repositories/catalog/index.d.ts +3 -3
  560. package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +28 -28
  561. package/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +14 -14
  562. package/infra/hasura-graphql/repositories/index.d.ts +1 -1
  563. package/infra/hasura-graphql/types/fields.type.d.ts +2 -2
  564. package/infra/hasura-graphql/types/graphql.repository.type.d.ts +21 -21
  565. package/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
  566. package/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +40 -40
  567. package/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
  568. package/infra/hasura-graphql/types/index.d.ts +8 -8
  569. package/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
  570. package/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
  571. package/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
  572. package/infra/index.d.ts +3 -3
  573. package/infrab4a-connect.d.ts +5 -5
  574. package/package.json +2 -2
  575. package/utils/index.d.ts +7 -7
  576. package/utils/is-uuid.d.ts +1 -1
  577. package/utils/mixins/base.mixin.d.ts +3 -3
  578. package/utils/mixins/index.d.ts +3 -3
  579. package/utils/mixins/merge-constructor-params.type.d.ts +3 -3
  580. package/utils/mixins/mixin-ctor.type.d.ts +1 -1
  581. package/utils/parse-datetime.d.ts +1 -1
  582. package/utils/types/array-element.type.d.ts +1 -1
  583. package/utils/types/index.d.ts +2 -2
  584. package/utils/types/prop.type.d.ts +1 -1
  585. package/domain/shop-settings/models/shop-settings.d.ts +0 -9
  586. package/domain/shop-settings/models/types/shop-banner.type.d.ts +0 -11
  587. package/domain/shop-settings/models/types/shop-brands.type.d.ts +0 -10
  588. package/domain/shop-settings/models/types/shop-carousel.type.d.ts +0 -5
  589. package/domain/shop-settings/models/types/shop-collection.type.d.ts +0 -9
  590. package/domain/shop-settings/models/types/shop-section.type.d.ts +0 -9
  591. package/domain/shop-settings/repositories/shop-settings.repository.d.ts +0 -4
  592. package/esm2015/domain/shop-settings/models/shop-settings.js +0 -7
  593. package/esm2015/domain/shop-settings/models/types/shop-banner.type.js +0 -2
  594. package/esm2015/domain/shop-settings/models/types/shop-brands.type.js +0 -2
  595. package/esm2015/domain/shop-settings/models/types/shop-carousel.type.js +0 -2
  596. package/esm2015/domain/shop-settings/models/types/shop-collection.type.js +0 -2
  597. package/esm2015/domain/shop-settings/models/types/shop-section.type.js +0 -2
  598. package/esm2015/domain/shop-settings/repositories/shop-settings.repository.js +0 -2
  599. package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.js +0 -12
  600. package/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +0 -8
@@ -1,40 +1,40 @@
1
- import { ModelBaseStructure, NestedRepositoryFindFieltersOptions, NonFunctionAndIdentifierPropertyNames, RepositoryFindField } from '../../../domain';
2
- import { PropType } from '../../../utils';
3
- import { HasuraGraphQLColumnType } from '../enums';
4
- export declare type ColumnOptions<FieldType, Model, ValueFrom = any> = {
5
- type?: HasuraGraphQLColumnType;
6
- columnName?: string;
7
- filters?: {
8
- filterType: HasuraGraphQLColumnType | string;
9
- filters: NestedRepositoryFindFieltersOptions<FieldType>;
10
- };
11
- fields?: HasuraGraphQLFields<FieldType extends any[] ? FieldType[number] : FieldType>;
12
- foreignKeyColumn?: Partial<Record<NonFunctionAndIdentifierPropertyNames<FieldType extends any[] ? FieldType[number] : FieldType>, NonFunctionAndIdentifierPropertyNames<Model> | (string & {})>> | {};
13
- from?: (value: ValueFrom | ValueFrom[], data?: any) => FieldType;
14
- to?: (value: FieldType, instance?: Model) => ValueFrom;
15
- bindFindFilter?: (sentence: RepositoryFindField<Model, keyof Model>) => Record<string, RepositoryFindField<any, any> | ValueFrom> | RepositoryFindField<any, any> | ValueFrom;
16
- bindPersistData?: (value: FieldType, instance?: Model) => Record<string, ValueFrom>;
17
- };
18
- export declare type AggregateOptionNames = 'avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddev_pop' | 'stddev_samp' | 'sum' | 'var_pop' | 'var_samp' | 'variance';
19
- export declare type AggregateOptionFields<Model, Type, Properties extends keyof Model = keyof Model> = {
20
- [K in Properties]: PropType<Model, K> extends Type ? K : never;
21
- }[Properties] | string;
22
- export declare type AggregateOptions<Model> = {
23
- avg?: Array<AggregateOptionFields<Model, number>>;
24
- max?: Array<AggregateOptionFields<Model, number | Date>>;
25
- min?: Array<AggregateOptionFields<Model, number | Date>>;
26
- stddev?: Array<AggregateOptionFields<Model, number>>;
27
- stddev_pop?: Array<AggregateOptionFields<Model, number>>;
28
- stddev_samp?: Array<AggregateOptionFields<Model, number>>;
29
- sum?: Array<AggregateOptionFields<Model, number>>;
30
- var_pop?: Array<AggregateOptionFields<Model, number>>;
31
- var_samp?: Array<AggregateOptionFields<Model, number>>;
32
- variance?: Array<AggregateOptionFields<Model, number>>;
33
- };
34
- export declare type HasuraGraphQLFields<Model> = ((Model extends ModelBaseStructure ? NonFunctionAndIdentifierPropertyNames<Model> | {
35
- [key in NonFunctionAndIdentifierPropertyNames<Model>]?: PropType<Model, key> extends ModelBaseStructure ? HasuraGraphQLFields<PropType<Model, key>> : PropType<Model, key> extends any[] ? PropType<Model, key>[] extends ModelBaseStructure[] ? HasuraGraphQLFields<PropType<Model, key>[]> : never : never;
36
- } | {
37
- [key in NonFunctionAndIdentifierPropertyNames<Model>]?: key extends 'aggregate' ? never : PropType<Model, key> extends ModelBaseStructure ? ColumnOptions<PropType<Model, key>, Model> : ColumnOptions<PropType<Model, key>, Model>;
38
- } : string) | {
39
- aggregate: Array<AggregateOptions<Model> | 'count'>;
40
- } | 'affected_rows')[];
1
+ import { ModelBaseStructure, NestedRepositoryFindFieltersOptions, NonFunctionAndIdentifierPropertyNames, RepositoryFindField } from '../../../domain';
2
+ import { PropType } from '../../../utils';
3
+ import { HasuraGraphQLColumnType } from '../enums';
4
+ export declare type ColumnOptions<FieldType, Model, ValueFrom = any> = {
5
+ type?: HasuraGraphQLColumnType;
6
+ columnName?: string;
7
+ filters?: {
8
+ filterType: HasuraGraphQLColumnType | string;
9
+ filters: NestedRepositoryFindFieltersOptions<FieldType>;
10
+ };
11
+ fields?: HasuraGraphQLFields<FieldType extends any[] ? FieldType[number] : FieldType>;
12
+ foreignKeyColumn?: Partial<Record<NonFunctionAndIdentifierPropertyNames<FieldType extends any[] ? FieldType[number] : FieldType>, NonFunctionAndIdentifierPropertyNames<Model> | (string & {})>> | {};
13
+ from?: (value: ValueFrom | ValueFrom[], data?: any) => FieldType;
14
+ to?: (value: FieldType, instance?: Model) => ValueFrom;
15
+ bindFindFilter?: (sentence: RepositoryFindField<Model, keyof Model>) => Record<string, RepositoryFindField<any, any> | ValueFrom> | RepositoryFindField<any, any> | ValueFrom;
16
+ bindPersistData?: (value: FieldType, instance?: Model) => Record<string, ValueFrom>;
17
+ };
18
+ export declare type AggregateOptionNames = 'avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddev_pop' | 'stddev_samp' | 'sum' | 'var_pop' | 'var_samp' | 'variance';
19
+ export declare type AggregateOptionFields<Model, Type, Properties extends keyof Model = keyof Model> = {
20
+ [K in Properties]: PropType<Model, K> extends Type ? K : never;
21
+ }[Properties] | string;
22
+ export declare type AggregateOptions<Model> = {
23
+ avg?: Array<AggregateOptionFields<Model, number>>;
24
+ max?: Array<AggregateOptionFields<Model, number | Date>>;
25
+ min?: Array<AggregateOptionFields<Model, number | Date>>;
26
+ stddev?: Array<AggregateOptionFields<Model, number>>;
27
+ stddev_pop?: Array<AggregateOptionFields<Model, number>>;
28
+ stddev_samp?: Array<AggregateOptionFields<Model, number>>;
29
+ sum?: Array<AggregateOptionFields<Model, number>>;
30
+ var_pop?: Array<AggregateOptionFields<Model, number>>;
31
+ var_samp?: Array<AggregateOptionFields<Model, number>>;
32
+ variance?: Array<AggregateOptionFields<Model, number>>;
33
+ };
34
+ export declare type HasuraGraphQLFields<Model> = ((Model extends ModelBaseStructure ? NonFunctionAndIdentifierPropertyNames<Model> | {
35
+ [key in NonFunctionAndIdentifierPropertyNames<Model>]?: PropType<Model, key> extends ModelBaseStructure ? HasuraGraphQLFields<PropType<Model, key>> : PropType<Model, key> extends any[] ? PropType<Model, key>[] extends ModelBaseStructure[] ? HasuraGraphQLFields<PropType<Model, key>[]> : never : never;
36
+ } | {
37
+ [key in NonFunctionAndIdentifierPropertyNames<Model>]?: key extends 'aggregate' ? never : PropType<Model, key> extends ModelBaseStructure ? ColumnOptions<PropType<Model, key>, Model> : ColumnOptions<PropType<Model, key>, Model>;
38
+ } : string) | {
39
+ aggregate: Array<AggregateOptions<Model> | 'count'>;
40
+ } | 'affected_rows')[];
@@ -1,7 +1,7 @@
1
- export declare type HasuraGraphQLHeaders = {
2
- Authorization?: string;
3
- 'Content-Type': string;
4
- 'X-Hasura-Admin-Secret'?: string;
5
- 'X-Hasura-Role'?: string;
6
- 'X-Hasura-User-Id'?: string;
7
- };
1
+ export declare type HasuraGraphQLHeaders = {
2
+ Authorization?: string;
3
+ 'Content-Type': string;
4
+ 'X-Hasura-Admin-Secret'?: string;
5
+ 'X-Hasura-Role'?: string;
6
+ 'X-Hasura-User-Id'?: string;
7
+ };
@@ -1,8 +1,8 @@
1
- export * from './fields.type';
2
- export * from './graphql.repository.type';
3
- export * from './nested-field.type';
4
- export * from './query-builder-options.type';
5
- export * from './variable-options.type';
6
- export * from './hasura-graphql-auth-options.type';
7
- export * from './hasura-graphql-fields.type';
8
- export * from './hasura-graphql-headers.type';
1
+ export * from './fields.type';
2
+ export * from './graphql.repository.type';
3
+ export * from './nested-field.type';
4
+ export * from './query-builder-options.type';
5
+ export * from './variable-options.type';
6
+ export * from './hasura-graphql-auth-options.type';
7
+ export * from './hasura-graphql-fields.type';
8
+ export * from './hasura-graphql-headers.type';
@@ -1,7 +1,7 @@
1
- import { Fields } from './fields.type';
2
- import { QueryBuilderOptions } from './query-builder-options.type';
3
- export declare type NestedField = {
4
- operation: string;
5
- variables: QueryBuilderOptions[];
6
- fields: Fields;
7
- };
1
+ import { Fields } from './fields.type';
2
+ import { QueryBuilderOptions } from './query-builder-options.type';
3
+ export declare type NestedField = {
4
+ operation: string;
5
+ variables: QueryBuilderOptions[];
6
+ fields: Fields;
7
+ };
@@ -1,7 +1,7 @@
1
- import { Fields } from './fields.type';
2
- import { VariableOptions } from './variable-options.type';
3
- export interface QueryBuilderOptions {
4
- operation: string;
5
- fields?: Fields;
6
- variables?: VariableOptions;
7
- }
1
+ import { Fields } from './fields.type';
2
+ import { VariableOptions } from './variable-options.type';
3
+ export interface QueryBuilderOptions {
4
+ operation: string;
5
+ fields?: Fields;
6
+ variables?: VariableOptions;
7
+ }
@@ -1,9 +1,9 @@
1
- export declare type VariableOptions = {
2
- type?: string;
3
- name?: string;
4
- value: any;
5
- list?: boolean;
6
- required?: boolean;
7
- } | {
8
- [k: string]: any;
9
- };
1
+ export declare type VariableOptions = {
2
+ type?: string;
3
+ name?: string;
4
+ value: any;
5
+ list?: boolean;
6
+ required?: boolean;
7
+ } | {
8
+ [k: string]: any;
9
+ };
package/infra/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from './elasticsearch';
2
- export * from './firebase';
3
- export * from './hasura-graphql';
1
+ export * from './elasticsearch';
2
+ export * from './firebase';
3
+ export * from './hasura-graphql';
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@infrab4a/connect" />
5
- export * from './index';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@infrab4a/connect" />
5
+ export * from './index';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "3.3.1-beta.0",
3
+ "version": "3.3.1-beta.2",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -27,4 +27,4 @@
27
27
  "fesm2015": "fesm2015/infrab4a-connect.js",
28
28
  "typings": "infrab4a-connect.d.ts",
29
29
  "sideEffects": false
30
- }
30
+ }
package/utils/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { add, addDays, addBusinessDays, addMonths, addYears, endOfDay, format, formatISO9075, parseISO, startOfDay, sub } from 'date-fns';
2
- import { chunk, isBoolean, isDate, isEmpty, isInteger, isNaN, isNil, isNumber, isObject, isString, now, omit, pick, set } from 'lodash';
3
- export * from './mixins';
4
- export * from './is-uuid';
5
- export * from './types';
6
- export * from './parse-datetime';
7
- export { add, addDays, addBusinessDays, addMonths, addYears, chunk, endOfDay, format, formatISO9075, isBoolean, isDate, isEmpty, isInteger, isNil, isNaN, isNumber, isObject, isString, parseISO, now, omit, pick, set, startOfDay, sub, };
1
+ import { add, addDays, addBusinessDays, addMonths, addYears, endOfDay, format, formatISO9075, parseISO, startOfDay, sub } from 'date-fns';
2
+ import { chunk, isBoolean, isDate, isEmpty, isInteger, isNaN, isNil, isNumber, isObject, isString, now, omit, pick, set } from 'lodash';
3
+ export * from './mixins';
4
+ export * from './is-uuid';
5
+ export * from './types';
6
+ export * from './parse-datetime';
7
+ export { add, addDays, addBusinessDays, addMonths, addYears, chunk, endOfDay, format, formatISO9075, isBoolean, isDate, isEmpty, isInteger, isNil, isNaN, isNumber, isObject, isString, parseISO, now, omit, pick, set, startOfDay, sub, };
@@ -1 +1 @@
1
- export declare const isUUID: (value: string) => boolean;
1
+ export declare const isUUID: (value: string) => boolean;
@@ -1,3 +1,3 @@
1
- export declare class Base {
2
- constructor(...args: Array<any>);
3
- }
1
+ export declare class Base {
2
+ constructor(...args: Array<any>);
3
+ }
@@ -1,3 +1,3 @@
1
- export * from './mixin-ctor.type';
2
- export * from './base.mixin';
3
- export * from './merge-constructor-params.type';
1
+ export * from './mixin-ctor.type';
2
+ export * from './base.mixin';
3
+ export * from './merge-constructor-params.type';
@@ -1,3 +1,3 @@
1
- declare type Tail<T extends any[]> = T extends [any, ...infer U] ? U : never;
2
- export declare type MergeConstructorParams<NewParams, CurrentParams extends any[]> = CurrentParams extends [] ? [NewParams, ...any] : CurrentParams[0] extends never ? [NewParams, ...any] : [CurrentParams[0] & NewParams, ...Tail<CurrentParams>];
3
- export {};
1
+ declare type Tail<T extends any[]> = T extends [any, ...infer U] ? U : never;
2
+ export declare type MergeConstructorParams<NewParams, CurrentParams extends any[]> = CurrentParams extends [] ? [NewParams, ...any] : CurrentParams[0] extends never ? [NewParams, ...any] : [CurrentParams[0] & NewParams, ...Tail<CurrentParams>];
3
+ export {};
@@ -1 +1 @@
1
- export declare type MixinCtor<T = any, A extends any[] = any[]> = new (...args: A) => T;
1
+ export declare type MixinCtor<T = any, A extends any[] = any[]> = new (...args: A) => T;
@@ -1 +1 @@
1
- export declare const parseDateTime: (value: string) => string | Date;
1
+ export declare const parseDateTime: (value: string) => string | Date;
@@ -1 +1 @@
1
- export declare type ArrayElement<ArrayType extends readonly unknown[]> = ArrayType extends readonly (infer ElementType)[] ? ElementType : never;
1
+ export declare type ArrayElement<ArrayType extends readonly unknown[]> = ArrayType extends readonly (infer ElementType)[] ? ElementType : never;
@@ -1,2 +1,2 @@
1
- export * from './prop.type';
2
- export * from './array-element.type';
1
+ export * from './prop.type';
2
+ export * from './array-element.type';
@@ -1 +1 @@
1
- export declare type PropType<TObj, TProp extends keyof TObj> = TObj[TProp];
1
+ export declare type PropType<TObj, TProp extends keyof TObj> = TObj[TProp];
@@ -1,9 +0,0 @@
1
- import { BaseModel, GenericIdentifier } from '../../generic/model';
2
- import { ShopBanner, ShopBrands, ShopCarousel, ShopCollection } from './types';
3
- export declare class ShopSettings extends BaseModel<ShopSettings> {
4
- id: string;
5
- name: string;
6
- shop: string;
7
- sections: (ShopBanner | ShopCarousel | ShopCollection | ShopBrands)[];
8
- static get identifiersFields(): GenericIdentifier[];
9
- }
@@ -1,11 +0,0 @@
1
- import { ShopSection } from './shop-section.type';
2
- export interface ShopBanner extends ShopSection {
3
- autoDelete: boolean;
4
- deleteDate: Date;
5
- autoPublish: boolean;
6
- publishDate: Date;
7
- link: string;
8
- mobileImage: string;
9
- desktopImage: string;
10
- altText: string;
11
- }
@@ -1,10 +0,0 @@
1
- import { ShopSection } from './shop-section.type';
2
- export interface ShopBrands extends ShopSection {
3
- brands: ShopBrand[];
4
- }
5
- export interface ShopBrand {
6
- collectionId: string;
7
- image: string;
8
- slug: string;
9
- brandName: string;
10
- }
@@ -1,5 +0,0 @@
1
- import { ShopBanner } from './shop-banner.type';
2
- import { ShopSection } from './shop-section.type';
3
- export interface ShopCarousel extends ShopSection {
4
- banners: ShopBanner[];
5
- }
@@ -1,9 +0,0 @@
1
- import { ShopSection } from './shop-section.type';
2
- export interface ShopCollection extends ShopSection {
3
- categoryId: string;
4
- beautyProfileFilter: boolean;
5
- collectionImage: string;
6
- collectionImageAlt: string;
7
- collectionColor: string;
8
- slug: string;
9
- }
@@ -1,9 +0,0 @@
1
- export declare type ShopSection = {
2
- id: string;
3
- title?: string;
4
- type: string;
5
- createdAt: Date;
6
- updatedAt?: Date;
7
- fixed: boolean;
8
- editable: boolean;
9
- };
@@ -1,4 +0,0 @@
1
- import { CrudRepository } from '../../generic/repository';
2
- import { ShopSettings } from '../models/shop-settings';
3
- export interface ShopSettingsRepository extends CrudRepository<ShopSettings> {
4
- }
@@ -1,7 +0,0 @@
1
- import { BaseModel } from '../../generic/model';
2
- export class ShopSettings extends BaseModel {
3
- static get identifiersFields() {
4
- return ['id'];
5
- }
6
- }
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvcC1zZXR0aW5ncy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2RvbWFpbi9zaG9wLXNldHRpbmdzL21vZGVscy9zaG9wLXNldHRpbmdzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQXFCLE1BQU0scUJBQXFCLENBQUE7QUFHbEUsTUFBTSxPQUFPLFlBQWEsU0FBUSxTQUF1QjtJQU12RCxNQUFNLEtBQUssaUJBQWlCO1FBQzFCLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQTtJQUNmLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJhc2VNb2RlbCwgR2VuZXJpY0lkZW50aWZpZXIgfSBmcm9tICcuLi8uLi9nZW5lcmljL21vZGVsJ1xyXG5pbXBvcnQgeyBTaG9wQmFubmVyLCBTaG9wQnJhbmRzLCBTaG9wQ2Fyb3VzZWwsIFNob3BDb2xsZWN0aW9uIH0gZnJvbSAnLi90eXBlcydcclxuXHJcbmV4cG9ydCBjbGFzcyBTaG9wU2V0dGluZ3MgZXh0ZW5kcyBCYXNlTW9kZWw8U2hvcFNldHRpbmdzPiB7XHJcbiAgaWQ6IHN0cmluZ1xyXG4gIG5hbWU6IHN0cmluZ1xyXG4gIHNob3A6IHN0cmluZ1xyXG4gIHNlY3Rpb25zOiAoU2hvcEJhbm5lciB8IFNob3BDYXJvdXNlbCB8IFNob3BDb2xsZWN0aW9uIHwgU2hvcEJyYW5kcylbXVxyXG5cclxuICBzdGF0aWMgZ2V0IGlkZW50aWZpZXJzRmllbGRzKCk6IEdlbmVyaWNJZGVudGlmaWVyW10ge1xyXG4gICAgcmV0dXJuIFsnaWQnXVxyXG4gIH1cclxufVxyXG4iXX0=
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvcC1iYW5uZXIudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2RvbWFpbi9zaG9wLXNldHRpbmdzL21vZGVscy90eXBlcy9zaG9wLWJhbm5lci50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBTaG9wU2VjdGlvbiB9IGZyb20gJy4vc2hvcC1zZWN0aW9uLnR5cGUnXHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIFNob3BCYW5uZXIgZXh0ZW5kcyBTaG9wU2VjdGlvbiB7XHJcbiAgYXV0b0RlbGV0ZTogYm9vbGVhblxyXG4gIGRlbGV0ZURhdGU6IERhdGVcclxuICBhdXRvUHVibGlzaDogYm9vbGVhblxyXG4gIHB1Ymxpc2hEYXRlOiBEYXRlXHJcbiAgbGluazogc3RyaW5nXHJcbiAgbW9iaWxlSW1hZ2U6IHN0cmluZ1xyXG4gIGRlc2t0b3BJbWFnZTogc3RyaW5nXHJcbiAgYWx0VGV4dDogc3RyaW5nXHJcbn1cclxuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvcC1icmFuZHMudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2RvbWFpbi9zaG9wLXNldHRpbmdzL21vZGVscy90eXBlcy9zaG9wLWJyYW5kcy50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBTaG9wU2VjdGlvbiB9IGZyb20gJy4vc2hvcC1zZWN0aW9uLnR5cGUnXHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIFNob3BCcmFuZHMgZXh0ZW5kcyBTaG9wU2VjdGlvbiB7XHJcbiAgYnJhbmRzOiBTaG9wQnJhbmRbXVxyXG59XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIFNob3BCcmFuZCB7XHJcbiAgY29sbGVjdGlvbklkOiBzdHJpbmdcclxuICBpbWFnZTogc3RyaW5nXHJcbiAgc2x1Zzogc3RyaW5nXHJcbiAgYnJhbmROYW1lOiBzdHJpbmdcclxufVxyXG4iXX0=
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvcC1jYXJvdXNlbC50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29ubmVjdC9zcmMvZG9tYWluL3Nob3Atc2V0dGluZ3MvbW9kZWxzL3R5cGVzL3Nob3AtY2Fyb3VzZWwudHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2hvcEJhbm5lciB9IGZyb20gJy4vc2hvcC1iYW5uZXIudHlwZSdcclxuaW1wb3J0IHsgU2hvcFNlY3Rpb24gfSBmcm9tICcuL3Nob3Atc2VjdGlvbi50eXBlJ1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBTaG9wQ2Fyb3VzZWwgZXh0ZW5kcyBTaG9wU2VjdGlvbiB7XHJcbiAgYmFubmVyczogU2hvcEJhbm5lcltdXHJcbn1cclxuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvcC1jb2xsZWN0aW9uLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9kb21haW4vc2hvcC1zZXR0aW5ncy9tb2RlbHMvdHlwZXMvc2hvcC1jb2xsZWN0aW9uLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFNob3BTZWN0aW9uIH0gZnJvbSAnLi9zaG9wLXNlY3Rpb24udHlwZSdcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgU2hvcENvbGxlY3Rpb24gZXh0ZW5kcyBTaG9wU2VjdGlvbiB7XHJcbiAgY2F0ZWdvcnlJZDogc3RyaW5nXHJcbiAgYmVhdXR5UHJvZmlsZUZpbHRlcjogYm9vbGVhblxyXG4gIGNvbGxlY3Rpb25JbWFnZTogc3RyaW5nXHJcbiAgY29sbGVjdGlvbkltYWdlQWx0OiBzdHJpbmdcclxuICBjb2xsZWN0aW9uQ29sb3I6IHN0cmluZ1xyXG4gIHNsdWc6IHN0cmluZ1xyXG59XHJcbiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvcC1zZWN0aW9uLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9kb21haW4vc2hvcC1zZXR0aW5ncy9tb2RlbHMvdHlwZXMvc2hvcC1zZWN0aW9uLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIFNob3BTZWN0aW9uID0ge1xyXG4gIGlkOiBzdHJpbmdcclxuICB0aXRsZT86IHN0cmluZ1xyXG4gIHR5cGU6IHN0cmluZ1xyXG4gIGNyZWF0ZWRBdDogRGF0ZVxyXG4gIHVwZGF0ZWRBdD86IERhdGVcclxuICBmaXhlZDogYm9vbGVhblxyXG4gIGVkaXRhYmxlOiBib29sZWFuXHJcbn1cclxuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvcC1zZXR0aW5ncy5yZXBvc2l0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29ubmVjdC9zcmMvZG9tYWluL3Nob3Atc2V0dGluZ3MvcmVwb3NpdG9yaWVzL3Nob3Atc2V0dGluZ3MucmVwb3NpdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ3J1ZFJlcG9zaXRvcnkgfSBmcm9tICcuLi8uLi9nZW5lcmljL3JlcG9zaXRvcnknXHJcbmltcG9ydCB7IFNob3BTZXR0aW5ncyB9IGZyb20gJy4uL21vZGVscy9zaG9wLXNldHRpbmdzJ1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBTaG9wU2V0dGluZ3NSZXBvc2l0b3J5IGV4dGVuZHMgQ3J1ZFJlcG9zaXRvcnk8U2hvcFNldHRpbmdzPiB7fVxyXG4iXX0=
@@ -1,12 +0,0 @@
1
- import { ShopSettings } from '../../../../../domain';
2
- import { Base } from '../../../../../utils';
3
- import { withCrudFirestore, withFirestore, withHelpers } from '../../mixins';
4
- export class ShopSettingsFirestoreRepository extends withCrudFirestore(withHelpers(withFirestore(Base))) {
5
- constructor(firestore) {
6
- super();
7
- this.firestore = firestore;
8
- this.collectionName = 'shopSettings';
9
- this.model = ShopSettings;
10
- }
11
- }
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvcC1zZXR0aW5ncy1maXJlc3RvcmUucmVwb3NpdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2luZnJhL2ZpcmViYXNlL2ZpcmVzdG9yZS9yZXBvc2l0b3JpZXMvc2hvcC1zZXR0aW5ncy9zaG9wLXNldHRpbmdzLWZpcmVzdG9yZS5yZXBvc2l0b3J5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxZQUFZLEVBQTBCLE1BQU0sdUJBQXVCLENBQUE7QUFFNUUsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLHNCQUFzQixDQUFBO0FBRTNDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxhQUFhLEVBQUUsV0FBVyxFQUFFLE1BQU0sY0FBYyxDQUFBO0FBRTVFLE1BQU0sT0FBTywrQkFDWCxTQUFRLGlCQUFpQixDQUFDLFdBQVcsQ0FBQyxhQUFhLENBQWUsSUFBSSxDQUFDLENBQUMsQ0FBQztJQUd6RSxZQUFxQixTQUE0QjtRQUMvQyxLQUFLLEVBQUUsQ0FBQTtRQURZLGNBQVMsR0FBVCxTQUFTLENBQW1CO1FBRS9DLElBQUksQ0FBQyxjQUFjLEdBQUcsY0FBYyxDQUFBO1FBQ3BDLElBQUksQ0FBQyxLQUFLLEdBQUcsWUFBWSxDQUFBO0lBQzNCLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZpcmViYXNlRmlyZXN0b3JlIH0gZnJvbSAnQGZpcmViYXNlL2ZpcmVzdG9yZS10eXBlcydcclxuaW1wb3J0IHsgU2hvcFNldHRpbmdzLCBTaG9wU2V0dGluZ3NSZXBvc2l0b3J5IH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vZG9tYWluJ1xyXG5cclxuaW1wb3J0IHsgQmFzZSB9IGZyb20gJy4uLy4uLy4uLy4uLy4uL3V0aWxzJ1xyXG5cclxuaW1wb3J0IHsgd2l0aENydWRGaXJlc3RvcmUsIHdpdGhGaXJlc3RvcmUsIHdpdGhIZWxwZXJzIH0gZnJvbSAnLi4vLi4vbWl4aW5zJ1xyXG5cclxuZXhwb3J0IGNsYXNzIFNob3BTZXR0aW5nc0ZpcmVzdG9yZVJlcG9zaXRvcnlcclxuICBleHRlbmRzIHdpdGhDcnVkRmlyZXN0b3JlKHdpdGhIZWxwZXJzKHdpdGhGaXJlc3RvcmU8U2hvcFNldHRpbmdzPihCYXNlKSkpXHJcbiAgaW1wbGVtZW50cyBTaG9wU2V0dGluZ3NSZXBvc2l0b3J5XHJcbntcclxuICBjb25zdHJ1Y3RvcihyZWFkb25seSBmaXJlc3RvcmU6IEZpcmViYXNlRmlyZXN0b3JlKSB7XHJcbiAgICBzdXBlcigpXHJcbiAgICB0aGlzLmNvbGxlY3Rpb25OYW1lID0gJ3Nob3BTZXR0aW5ncydcclxuICAgIHRoaXMubW9kZWwgPSBTaG9wU2V0dGluZ3NcclxuICB9XHJcbn1cclxuIl19
@@ -1,8 +0,0 @@
1
- import { FirebaseFirestore } from '@firebase/firestore-types';
2
- import { ShopSettings, ShopSettingsRepository } from '../../../../../domain';
3
- declare const ShopSettingsFirestoreRepository_base: import("../../../../../utils").MixinCtor<import("@infrab4a/connect").FirestoreRepository<ShopSettings> & import("../../../../../domain").CrudRepository<ShopSettings, import("../../../../../domain").CrudParams<ShopSettings>> & import("@infrab4a/connect").FirestoreHelpers, never>;
4
- export declare class ShopSettingsFirestoreRepository extends ShopSettingsFirestoreRepository_base implements ShopSettingsRepository {
5
- readonly firestore: FirebaseFirestore;
6
- constructor(firestore: FirebaseFirestore);
7
- }
8
- export {};