@infrab4a/connect 5.7.0 → 5.7.1

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 (656) hide show
  1. package/index.cjs.js +11151 -11149
  2. package/index.d.ts +1 -1
  3. package/index.esm.js +11151 -11149
  4. package/package.json +1 -1
  5. package/src/domain/catalog/helpers/index.d.ts +1 -1
  6. package/src/domain/catalog/helpers/round-product-price.helper.d.ts +4 -4
  7. package/src/domain/catalog/index.d.ts +3 -3
  8. package/src/domain/catalog/models/category-brand.d.ts +17 -17
  9. package/src/domain/catalog/models/category-collection-children.d.ts +13 -13
  10. package/src/domain/catalog/models/category-filter.d.ts +13 -13
  11. package/src/domain/catalog/models/category-product.d.ts +8 -8
  12. package/src/domain/catalog/models/category.d.ts +52 -52
  13. package/src/domain/catalog/models/enums/brand-equity-options.enum.d.ts +7 -7
  14. package/src/domain/catalog/models/enums/index.d.ts +5 -5
  15. package/src/domain/catalog/models/enums/product-genders.enum.d.ts +5 -5
  16. package/src/domain/catalog/models/enums/product-label.enum.d.ts +6 -6
  17. package/src/domain/catalog/models/enums/shops.enum.d.ts +8 -8
  18. package/src/domain/catalog/models/enums/wishlist-log.enum.d.ts +7 -7
  19. package/src/domain/catalog/models/filter-option.d.ts +9 -9
  20. package/src/domain/catalog/models/filter.d.ts +15 -15
  21. package/src/domain/catalog/models/group.d.ts +6 -6
  22. package/src/domain/catalog/models/index.d.ts +20 -20
  23. package/src/domain/catalog/models/kit-product.d.ts +13 -13
  24. package/src/domain/catalog/models/product-base.d.ts +54 -53
  25. package/src/domain/catalog/models/product-errors.d.ts +16 -16
  26. package/src/domain/catalog/models/product-group.d.ts +12 -12
  27. package/src/domain/catalog/models/product-price-log.d.ts +25 -25
  28. package/src/domain/catalog/models/product-review.d.ts +22 -22
  29. package/src/domain/catalog/models/product-stock-entry.d.ts +16 -16
  30. package/src/domain/catalog/models/product-stock-notification.d.ts +12 -12
  31. package/src/domain/catalog/models/product.d.ts +7 -7
  32. package/src/domain/catalog/models/types/brand-equity-option.type.d.ts +2 -2
  33. package/src/domain/catalog/models/types/brands-shop-menu.type.d.ts +13 -13
  34. package/src/domain/catalog/models/types/category-condition.type.d.ts +4 -4
  35. package/src/domain/catalog/models/types/category-images.type.d.ts +8 -8
  36. package/src/domain/catalog/models/types/category-metadata.type.d.ts +6 -6
  37. package/src/domain/catalog/models/types/category-most-relevant.type.d.ts +4 -4
  38. package/src/domain/catalog/models/types/category-product.d.ts +4 -4
  39. package/src/domain/catalog/models/types/index.d.ts +17 -17
  40. package/src/domain/catalog/models/types/product-competitors-price.d.ts +6 -6
  41. package/src/domain/catalog/models/types/product-evaluation.type.d.ts +6 -6
  42. package/src/domain/catalog/models/types/product-gender.type.d.ts +1 -1
  43. package/src/domain/catalog/models/types/product-label.type.d.ts +2 -2
  44. package/src/domain/catalog/models/types/product-metadata.type.d.ts +4 -4
  45. package/src/domain/catalog/models/types/product-variant-report.type.d.ts +46 -46
  46. package/src/domain/catalog/models/types/report-stock-notification.type.d.ts +21 -21
  47. package/src/domain/catalog/models/types/shop-description.type.d.ts +9 -9
  48. package/src/domain/catalog/models/types/shop-price.type.d.ts +7 -7
  49. package/src/domain/catalog/models/types/stock.type.d.ts +3 -3
  50. package/src/domain/catalog/models/types/variant-grade.type.d.ts +4 -4
  51. package/src/domain/catalog/models/variant.d.ts +8 -8
  52. package/src/domain/catalog/models/wishlist.d.ts +11 -11
  53. package/src/domain/catalog/repositories/category-brand.repository.d.ts +4 -4
  54. package/src/domain/catalog/repositories/category-collection-children.repository.d.ts +4 -4
  55. package/src/domain/catalog/repositories/category-filter.repository.d.ts +7 -7
  56. package/src/domain/catalog/repositories/category-product.repository.d.ts +13 -13
  57. package/src/domain/catalog/repositories/category.repository.d.ts +43 -43
  58. package/src/domain/catalog/repositories/filter-option.repository.d.ts +4 -4
  59. package/src/domain/catalog/repositories/filter.repository.d.ts +4 -4
  60. package/src/domain/catalog/repositories/group.repository.d.ts +4 -4
  61. package/src/domain/catalog/repositories/index.d.ts +19 -19
  62. package/src/domain/catalog/repositories/product-catalog.repository.d.ts +17 -17
  63. package/src/domain/catalog/repositories/product-errors.repository.d.ts +4 -4
  64. package/src/domain/catalog/repositories/product-group.repository.d.ts +4 -4
  65. package/src/domain/catalog/repositories/product-price-log.repository.d.ts +4 -4
  66. package/src/domain/catalog/repositories/product-reviews.repository.d.ts +7 -7
  67. package/src/domain/catalog/repositories/product-stock-entry.repository.d.ts +4 -4
  68. package/src/domain/catalog/repositories/product-stock-notification.repository.d.ts +20 -20
  69. package/src/domain/catalog/repositories/product.repository.d.ts +40 -40
  70. package/src/domain/catalog/repositories/subscription-product.repository.d.ts +4 -4
  71. package/src/domain/catalog/repositories/variant.repository.d.ts +5 -5
  72. package/src/domain/catalog/repositories/wishlist.repository.d.ts +11 -11
  73. package/src/domain/general/cacheadapter.d.ts +11 -11
  74. package/src/domain/general/index.d.ts +5 -5
  75. package/src/domain/general/models/index.d.ts +2 -2
  76. package/src/domain/general/models/log-document.d.ts +15 -15
  77. package/src/domain/general/models/sequences.d.ts +9 -9
  78. package/src/domain/general/repositories/index.d.ts +2 -2
  79. package/src/domain/general/repositories/log.repository.d.ts +4 -4
  80. package/src/domain/general/repositories/sequences.repository.d.ts +4 -4
  81. package/src/domain/general/search/index.d.ts +1 -1
  82. package/src/domain/general/search/product-search-index.d.ts +3 -3
  83. package/src/domain/general/storage/file-uploader.service.d.ts +3 -3
  84. package/src/domain/general/storage/index.d.ts +1 -1
  85. package/src/domain/generic/index.d.ts +2 -2
  86. package/src/domain/generic/model/base.model.d.ts +14 -14
  87. package/src/domain/generic/model/identifier-fields.d.ts +4 -4
  88. package/src/domain/generic/model/index.d.ts +3 -3
  89. package/src/domain/generic/model/types/base-model-builder.type.d.ts +17 -17
  90. package/src/domain/generic/model/types/identifier-model.type.d.ts +8 -8
  91. package/src/domain/generic/model/types/index.d.ts +5 -5
  92. package/src/domain/generic/model/types/model-base-structure.type.d.ts +12 -12
  93. package/src/domain/generic/model/types/non-function-properties.type.d.ts +12 -12
  94. package/src/domain/generic/model/types/non-function-property-name.type.d.ts +13 -13
  95. package/src/domain/generic/repository/create.repository.d.ts +8 -8
  96. package/src/domain/generic/repository/crud.repository.d.ts +19 -19
  97. package/src/domain/generic/repository/delete.repository.d.ts +7 -7
  98. package/src/domain/generic/repository/enums/index.d.ts +2 -2
  99. package/src/domain/generic/repository/enums/update-option-actions.enum.d.ts +7 -7
  100. package/src/domain/generic/repository/enums/where.enum.d.ts +15 -15
  101. package/src/domain/generic/repository/find.repository.d.ts +19 -19
  102. package/src/domain/generic/repository/get.repository.d.ts +8 -8
  103. package/src/domain/generic/repository/index.d.ts +9 -9
  104. package/src/domain/generic/repository/read.repository.d.ts +14 -14
  105. package/src/domain/generic/repository/types/index.d.ts +7 -7
  106. package/src/domain/generic/repository/types/repository-cache-options.type.d.ts +9 -9
  107. package/src/domain/generic/repository/types/repository-find-filters.type.d.ts +15 -15
  108. package/src/domain/generic/repository/types/repository-find-result.type.d.ts +14 -14
  109. package/src/domain/generic/repository/types/repository-limit-options.type.d.ts +4 -4
  110. package/src/domain/generic/repository/types/repository-order-by-list.type.d.ts +5 -5
  111. package/src/domain/generic/repository/types/repository-update-params.type.d.ts +11 -11
  112. package/src/domain/generic/repository/types/where-options.type.d.ts +2 -2
  113. package/src/domain/generic/repository/update.repository.d.ts +6 -6
  114. package/src/domain/index.d.ts +7 -7
  115. package/src/domain/location/index.d.ts +1 -1
  116. package/src/domain/location/models/address.d.ts +24 -24
  117. package/src/domain/location/models/index.d.ts +2 -2
  118. package/src/domain/location/models/types/index.d.ts +3 -3
  119. package/src/domain/location/models/types/location-bound.type.d.ts +6 -6
  120. package/src/domain/location/models/types/location-geometry.type.d.ts +7 -7
  121. package/src/domain/location/models/types/location-lat-lng.type.d.ts +4 -4
  122. package/src/domain/shop-settings/enums/filter-type.enum.d.ts +19 -19
  123. package/src/domain/shop-settings/enums/index.d.ts +3 -3
  124. package/src/domain/shop-settings/enums/questions-filters.enum.d.ts +19 -19
  125. package/src/domain/shop-settings/enums/shop-page-name.enum.d.ts +20 -20
  126. package/src/domain/shop-settings/helpers/beauty-questions.helper.d.ts +9 -9
  127. package/src/domain/shop-settings/helpers/index.d.ts +1 -1
  128. package/src/domain/shop-settings/index.d.ts +4 -4
  129. package/src/domain/shop-settings/models/campaign-banner.d.ts +11 -11
  130. package/src/domain/shop-settings/models/campaign.d.ts +10 -10
  131. package/src/domain/shop-settings/models/home.d.ts +19 -19
  132. package/src/domain/shop-settings/models/index.d.ts +7 -7
  133. package/src/domain/shop-settings/models/shop-configs.d.ts +18 -18
  134. package/src/domain/shop-settings/models/shop-menu.d.ts +9 -9
  135. package/src/domain/shop-settings/models/shop-page-settings.d.ts +18 -18
  136. package/src/domain/shop-settings/models/types/banner.type.d.ts +6 -6
  137. package/src/domain/shop-settings/models/types/benefit.type.d.ts +5 -5
  138. package/src/domain/shop-settings/models/types/brands-carousel.type.d.ts +3 -3
  139. package/src/domain/shop-settings/models/types/campaign-page.d.ts +17 -17
  140. package/src/domain/shop-settings/models/types/home-data.type.d.ts +15 -15
  141. package/src/domain/shop-settings/models/types/index.d.ts +20 -20
  142. package/src/domain/shop-settings/models/types/landing-page.d.ts +8 -8
  143. package/src/domain/shop-settings/models/types/limit-orders.type.d.ts +7 -7
  144. package/src/domain/shop-settings/models/types/menu-nav.type.d.ts +9 -9
  145. package/src/domain/shop-settings/models/types/promotion-page.d.ts +10 -10
  146. package/src/domain/shop-settings/models/types/sections.type.d.ts +37 -37
  147. package/src/domain/shop-settings/models/types/shop-banner.type.d.ts +13 -13
  148. package/src/domain/shop-settings/models/types/shop-brands.type.d.ts +10 -10
  149. package/src/domain/shop-settings/models/types/shop-carousel.type.d.ts +4 -4
  150. package/src/domain/shop-settings/models/types/shop-collection.type.d.ts +9 -9
  151. package/src/domain/shop-settings/models/types/shop-error-messages.type.d.ts +10 -10
  152. package/src/domain/shop-settings/models/types/shop-gift.type.d.ts +8 -8
  153. package/src/domain/shop-settings/models/types/shop-home.d.ts +12 -12
  154. package/src/domain/shop-settings/models/types/shop-page-section.type.d.ts +140 -140
  155. package/src/domain/shop-settings/models/types/shop-post.type.d.ts +7 -7
  156. package/src/domain/shop-settings/models/types/shop-sameday-not-available.d.ts +6 -6
  157. package/src/domain/shop-settings/models/types/shop-section.type.d.ts +12 -12
  158. package/src/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -8
  159. package/src/domain/shop-settings/repositories/campaign-banner.repository.d.ts +4 -4
  160. package/src/domain/shop-settings/repositories/campaign.repository.d.ts +4 -4
  161. package/src/domain/shop-settings/repositories/home.repository.d.ts +4 -4
  162. package/src/domain/shop-settings/repositories/index.d.ts +6 -6
  163. package/src/domain/shop-settings/repositories/shop-configs.repository.d.ts +4 -4
  164. package/src/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -4
  165. package/src/domain/shop-settings/repositories/shop-settings.repository.d.ts +4 -4
  166. package/src/domain/shopping/enums/antifraud-providers.enum.d.ts +6 -6
  167. package/src/domain/shopping/enums/business-unit.enum.d.ts +4 -4
  168. package/src/domain/shopping/enums/index.d.ts +9 -9
  169. package/src/domain/shopping/enums/order-blocked.enum.d.ts +5 -5
  170. package/src/domain/shopping/enums/order-payment-status.enum.d.ts +10 -10
  171. package/src/domain/shopping/enums/pagarme-payment-status.enum.d.ts +10 -10
  172. package/src/domain/shopping/enums/pagarme-v5-payment-status.enum.d.ts +24 -24
  173. package/src/domain/shopping/enums/payment-methods.enum.d.ts +6 -6
  174. package/src/domain/shopping/enums/payment-providers.enum.d.ts +6 -6
  175. package/src/domain/shopping/enums/transaction-payment-methods.enum.d.ts +5 -5
  176. package/src/domain/shopping/factories/adyen-payment-method.factory.d.ts +9 -9
  177. package/src/domain/shopping/factories/antifraud-provider.factory.d.ts +15 -15
  178. package/src/domain/shopping/factories/base-payment-method.factory.d.ts +7 -7
  179. package/src/domain/shopping/factories/glampoints-payment-method.factory.d.ts +8 -8
  180. package/src/domain/shopping/factories/index.d.ts +6 -6
  181. package/src/domain/shopping/factories/mercado-pago-payment-method.factory.d.ts +11 -11
  182. package/src/domain/shopping/factories/pagarme-payment-method.factory.d.ts +11 -11
  183. package/src/domain/shopping/factories/payment-provider.factory.d.ts +17 -17
  184. package/src/domain/shopping/index.d.ts +7 -7
  185. package/src/domain/shopping/interfaces/antifraud-method-factory.interface.d.ts +11 -11
  186. package/src/domain/shopping/interfaces/antifraud-provider.interface.d.ts +5 -5
  187. package/src/domain/shopping/interfaces/index.d.ts +7 -7
  188. package/src/domain/shopping/interfaces/payment-method-factory.interface.d.ts +14 -14
  189. package/src/domain/shopping/interfaces/payment-provider-bank-slip.interface.d.ts +7 -7
  190. package/src/domain/shopping/interfaces/payment-provider-card.interface.d.ts +21 -21
  191. package/src/domain/shopping/interfaces/payment-provider-glampoints.interface.d.ts +9 -9
  192. package/src/domain/shopping/interfaces/payment-provider-pix.interface.d.ts +5 -5
  193. package/src/domain/shopping/models/buy-2-win.d.ts +20 -20
  194. package/src/domain/shopping/models/campaign-dashboard.d.ts +15 -15
  195. package/src/domain/shopping/models/campaign-hashtag.d.ts +18 -18
  196. package/src/domain/shopping/models/checkout.d.ts +26 -26
  197. package/src/domain/shopping/models/coupons/coupon.d.ts +67 -67
  198. package/src/domain/shopping/models/coupons/enums/coupon-category.enum.d.ts +41 -41
  199. package/src/domain/shopping/models/coupons/enums/coupon-channels.enum.d.ts +10 -10
  200. package/src/domain/shopping/models/coupons/enums/coupon-club-mens.enum.d.ts +5 -5
  201. package/src/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -4
  202. package/src/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +5 -5
  203. package/src/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +8 -8
  204. package/src/domain/shopping/models/coupons/enums/index.d.ts +5 -5
  205. package/src/domain/shopping/models/coupons/index.d.ts +2 -2
  206. package/src/domain/shopping/models/coupons/types/coupon-category.type.d.ts +2 -2
  207. package/src/domain/shopping/models/coupons/types/coupon-channel.type.d.ts +2 -2
  208. package/src/domain/shopping/models/coupons/types/index.d.ts +2 -2
  209. package/src/domain/shopping/models/enums/checkout-types.enum.d.ts +5 -5
  210. package/src/domain/shopping/models/enums/index.d.ts +5 -5
  211. package/src/domain/shopping/models/enums/order-status.enum.d.ts +11 -11
  212. package/src/domain/shopping/models/enums/shopping-recurrence-cycle.enum.d.ts +5 -5
  213. package/src/domain/shopping/models/enums/shopping-recurrence-edition-status.enum.d.ts +11 -11
  214. package/src/domain/shopping/models/enums/shopping-recurrence-status.enum.d.ts +7 -7
  215. package/src/domain/shopping/models/index.d.ts +15 -15
  216. package/src/domain/shopping/models/line-item.d.ts +10 -10
  217. package/src/domain/shopping/models/order-blocked.d.ts +29 -29
  218. package/src/domain/shopping/models/order.d.ts +36 -36
  219. package/src/domain/shopping/models/payment-transaction.d.ts +84 -84
  220. package/src/domain/shopping/models/payment.d.ts +17 -17
  221. package/src/domain/shopping/models/recurrence/index.d.ts +2 -2
  222. package/src/domain/shopping/models/recurrence/shopping-recurrence-edition.d.ts +18 -18
  223. package/src/domain/shopping/models/recurrence/shopping-recurrence.d.ts +45 -45
  224. package/src/domain/shopping/models/shipping-method.d.ts +23 -23
  225. package/src/domain/shopping/models/subscription/checkout.d.ts +21 -21
  226. package/src/domain/shopping/models/subscription/index.d.ts +2 -2
  227. package/src/domain/shopping/models/subscription/plan.d.ts +10 -10
  228. package/src/domain/shopping/models/types/index.d.ts +8 -8
  229. package/src/domain/shopping/models/types/line-item-recurrence.type.d.ts +2 -2
  230. package/src/domain/shopping/models/types/payment-address.type.d.ts +12 -12
  231. package/src/domain/shopping/models/types/payment-billing.type.d.ts +7 -7
  232. package/src/domain/shopping/models/types/payment-card.type.d.ts +14 -14
  233. package/src/domain/shopping/models/types/payment-customer.type.d.ts +18 -18
  234. package/src/domain/shopping/models/types/payment-document.type.d.ts +6 -6
  235. package/src/domain/shopping/models/types/payment-item.type.d.ts +11 -11
  236. package/src/domain/shopping/models/types/payment-shipping.type.d.ts +10 -10
  237. package/src/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -4
  238. package/src/domain/shopping/repositories/campaign-dashboard.repository.d.ts +4 -4
  239. package/src/domain/shopping/repositories/campaign-hashtag.repository.d.ts +4 -4
  240. package/src/domain/shopping/repositories/checkout.repository.d.ts +4 -4
  241. package/src/domain/shopping/repositories/coupon.repository.d.ts +4 -4
  242. package/src/domain/shopping/repositories/index.d.ts +11 -11
  243. package/src/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
  244. package/src/domain/shopping/repositories/order-blocked.repository.d.ts +19 -19
  245. package/src/domain/shopping/repositories/order.repository.d.ts +4 -4
  246. package/src/domain/shopping/repositories/payment.repository.d.ts +4 -4
  247. package/src/domain/shopping/repositories/recurrence/index.d.ts +2 -2
  248. package/src/domain/shopping/repositories/recurrence/shopping-recurrence-edition.repository.d.ts +4 -4
  249. package/src/domain/shopping/repositories/recurrence/shopping-recurrence.repository.d.ts +9 -9
  250. package/src/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -4
  251. package/src/domain/shopping/repositories/subscription/index.d.ts +2 -2
  252. package/src/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -4
  253. package/src/domain/shopping/services/antifraud-bankslip.service.d.ts +9 -9
  254. package/src/domain/shopping/services/antifraud-card.service.d.ts +37 -37
  255. package/src/domain/shopping/services/antifraud-glampoints.service.d.ts +6 -6
  256. package/src/domain/shopping/services/antifraud-pix.service.d.ts +6 -6
  257. package/src/domain/shopping/services/glampoints-payment.service.d.ts +13 -13
  258. package/src/domain/shopping/services/index.d.ts +5 -5
  259. package/src/domain/shopping/types/adyen-card.type.d.ts +3 -3
  260. package/src/domain/shopping/types/adyen-credentials.type.d.ts +6 -6
  261. package/src/domain/shopping/types/antifraud-provider.type.d.ts +2 -2
  262. package/src/domain/shopping/types/base-card.type.d.ts +2 -2
  263. package/src/domain/shopping/types/card-info.type.d.ts +9 -9
  264. package/src/domain/shopping/types/checkout-paylod-request.type.d.ts +10 -10
  265. package/src/domain/shopping/types/checkout-response.type.d.ts +7 -7
  266. package/src/domain/shopping/types/checkout-stock-validation.type.d.ts +5 -5
  267. package/src/domain/shopping/types/create-recurrency-payload.type.d.ts +8 -8
  268. package/src/domain/shopping/types/glam-credentials.type.d.ts +6 -6
  269. package/src/domain/shopping/types/index.d.ts +20 -20
  270. package/src/domain/shopping/types/mercado-pago-card.type.d.ts +14 -14
  271. package/src/domain/shopping/types/mercado-pago-credentials.type.d.ts +5 -5
  272. package/src/domain/shopping/types/order-tracking-events.type.d.ts +14 -14
  273. package/src/domain/shopping/types/pagarme-card-manual-hash.type.d.ts +6 -6
  274. package/src/domain/shopping/types/pagarme-card.type.d.ts +22 -22
  275. package/src/domain/shopping/types/pagarme-credentials-v5.type.d.ts +4 -4
  276. package/src/domain/shopping/types/pagarme-credentials.type.d.ts +13 -13
  277. package/src/domain/shopping/types/payment-card-info.type.d.ts +12 -12
  278. package/src/domain/shopping/types/payment-method.type.d.ts +2 -2
  279. package/src/domain/shopping/types/payment-provider.type.d.ts +2 -2
  280. package/src/domain/shopping/types/shipping-method-response.type.d.ts +13 -13
  281. package/src/domain/shopping/types/shipping-product-request.type.d.ts +9 -9
  282. package/src/domain/users/errors/index.d.ts +3 -3
  283. package/src/domain/users/errors/unauthorized.error.d.ts +4 -4
  284. package/src/domain/users/errors/user-already-registered.error.d.ts +4 -4
  285. package/src/domain/users/errors/weak-password.error.d.ts +4 -4
  286. package/src/domain/users/index.d.ts +5 -5
  287. package/src/domain/users/models/beauty-profile.d.ts +11 -11
  288. package/src/domain/users/models/enums/accessory-importances.enum.d.ts +5 -5
  289. package/src/domain/users/models/enums/area.enum.d.ts +11 -11
  290. package/src/domain/users/models/enums/beard-problems.enum.d.ts +9 -9
  291. package/src/domain/users/models/enums/beard-sizes.enum.d.ts +7 -7
  292. package/src/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -6
  293. package/src/domain/users/models/enums/body-problems.enum.d.ts +11 -11
  294. package/src/domain/users/models/enums/body-shapes.enum.d.ts +7 -7
  295. package/src/domain/users/models/enums/body-tattoos.enum.d.ts +5 -5
  296. package/src/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -7
  297. package/src/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -10
  298. package/src/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -8
  299. package/src/domain/users/models/enums/family-incomes.enum.d.ts +8 -8
  300. package/src/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -5
  301. package/src/domain/users/models/enums/hair-colors.enum.d.ts +10 -10
  302. package/src/domain/users/models/enums/hair-problems.enum.d.ts +10 -10
  303. package/src/domain/users/models/enums/hair-strands.enum.d.ts +8 -8
  304. package/src/domain/users/models/enums/hair-types.enum.d.ts +7 -7
  305. package/src/domain/users/models/enums/index.d.ts +21 -21
  306. package/src/domain/users/models/enums/office-position.enum.d.ts +6 -6
  307. package/src/domain/users/models/enums/person-types.enum.d.ts +5 -5
  308. package/src/domain/users/models/enums/product-spents.enum.d.ts +8 -8
  309. package/src/domain/users/models/enums/user-type.enum.d.ts +8 -8
  310. package/src/domain/users/models/index.d.ts +8 -8
  311. package/src/domain/users/models/lead.d.ts +8 -8
  312. package/src/domain/users/models/subscription/edition.d.ts +16 -16
  313. package/src/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -3
  314. package/src/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -4
  315. package/src/domain/users/models/subscription/enums/index.d.ts +5 -5
  316. package/src/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -5
  317. package/src/domain/users/models/subscription/enums/plans.enum.d.ts +6 -6
  318. package/src/domain/users/models/subscription/enums/status.enum.d.ts +4 -4
  319. package/src/domain/users/models/subscription/index.d.ts +7 -7
  320. package/src/domain/users/models/subscription/payment.d.ts +13 -13
  321. package/src/domain/users/models/subscription/subscription-materialization.d.ts +32 -32
  322. package/src/domain/users/models/subscription/subscription-summary.d.ts +15 -15
  323. package/src/domain/users/models/subscription/subscription.d.ts +29 -29
  324. package/src/domain/users/models/subscription/types/index.d.ts +1 -1
  325. package/src/domain/users/models/subscription/types/plan.type.d.ts +2 -2
  326. package/src/domain/users/models/types/index.d.ts +1 -1
  327. package/src/domain/users/models/types/person.type.d.ts +2 -2
  328. package/src/domain/users/models/user-address.d.ts +7 -7
  329. package/src/domain/users/models/user-payment-method.d.ts +16 -16
  330. package/src/domain/users/models/user.d.ts +29 -29
  331. package/src/domain/users/repositories/beauty-profile.repository.d.ts +4 -4
  332. package/src/domain/users/repositories/edition.repository.d.ts +4 -4
  333. package/src/domain/users/repositories/index.d.ts +10 -10
  334. package/src/domain/users/repositories/lead.repository.d.ts +4 -4
  335. package/src/domain/users/repositories/subscription-materialization.repository.d.ts +4 -4
  336. package/src/domain/users/repositories/subscription-payment.repository.d.ts +4 -4
  337. package/src/domain/users/repositories/subscription-summary.repository.d.ts +4 -4
  338. package/src/domain/users/repositories/subscription.repository.d.ts +4 -4
  339. package/src/domain/users/repositories/user-address.repository.d.ts +4 -4
  340. package/src/domain/users/repositories/user-payment-method.repository.d.ts +4 -4
  341. package/src/domain/users/repositories/user.repository.d.ts +6 -6
  342. package/src/domain/users/services/authentication.service.d.ts +12 -12
  343. package/src/domain/users/services/index.d.ts +3 -3
  344. package/src/domain/users/services/register.service.d.ts +7 -7
  345. package/src/domain/users/services/types/basic-user-data.type.d.ts +4 -4
  346. package/src/domain/users/services/types/index.d.ts +1 -1
  347. package/src/domain/users/use-cases/authentication.d.ts +21 -21
  348. package/src/domain/users/use-cases/index.d.ts +5 -5
  349. package/src/domain/users/use-cases/recovery-password.d.ts +6 -6
  350. package/src/domain/users/use-cases/register.d.ts +13 -13
  351. package/src/domain/users/use-cases/signout.d.ts +6 -6
  352. package/src/domain/users/use-cases/update-user-image.d.ts +9 -9
  353. package/src/errors/business.error.d.ts +7 -7
  354. package/src/errors/duplicated-results.error.d.ts +4 -4
  355. package/src/errors/enum/error.enum.d.ts +14 -14
  356. package/src/errors/enum/index.d.ts +1 -1
  357. package/src/errors/fraud-validation.error.d.ts +7 -7
  358. package/src/errors/index.d.ts +12 -12
  359. package/src/errors/invalid-argument.error.d.ts +4 -4
  360. package/src/errors/invalid-checkout.error.d.ts +7 -7
  361. package/src/errors/not-found.error.d.ts +5 -5
  362. package/src/errors/payment.error.d.ts +7 -7
  363. package/src/errors/required-argument.error.d.ts +6 -6
  364. package/src/errors/stock-limit.error.d.ts +5 -5
  365. package/src/errors/stock-out.error.d.ts +5 -5
  366. package/src/errors/types/checkout-additional-data-erro.type.d.ts +6 -6
  367. package/src/errors/types/index.d.ts +2 -2
  368. package/src/errors/types/pagarme-erros.type.d.ts +9 -9
  369. package/src/index.d.ts +5 -5
  370. package/src/infra/adyen/adapters/adyen-card-payment-axios.adapter.d.ts +19 -19
  371. package/src/infra/adyen/adapters/index.d.ts +1 -1
  372. package/src/infra/adyen/helpers/adyen-blocked-order.helper.d.ts +13 -13
  373. package/src/infra/adyen/helpers/adyen-payment-factory.helper.d.ts +6 -6
  374. package/src/infra/adyen/helpers/adyen-payment-operations.helper.d.ts +31 -31
  375. package/src/infra/adyen/helpers/index.d.ts +3 -3
  376. package/src/infra/adyen/index.d.ts +1 -1
  377. package/src/infra/cache/index.d.ts +1 -1
  378. package/src/infra/cache/restcache.adapter.d.ts +15 -15
  379. package/src/infra/elasticsearch/adapters/axios.adapter.d.ts +17 -17
  380. package/src/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +8 -8
  381. package/src/infra/elasticsearch/adapters/index.d.ts +2 -2
  382. package/src/infra/elasticsearch/helpers/elasticsearch-fields.helper.d.ts +8 -8
  383. package/src/infra/elasticsearch/helpers/elasticsearch-query-builder.helper.d.ts +16 -16
  384. package/src/infra/elasticsearch/helpers/elasticsearch-result-processor.helper.d.ts +8 -8
  385. package/src/infra/elasticsearch/helpers/elasticsearch-search-operations.helper.d.ts +11 -11
  386. package/src/infra/elasticsearch/helpers/index.d.ts +4 -4
  387. package/src/infra/elasticsearch/index.d.ts +3 -3
  388. package/src/infra/elasticsearch/indexes/index.d.ts +1 -1
  389. package/src/infra/elasticsearch/indexes/products-index.d.ts +13 -13
  390. package/src/infra/elasticsearch/types/elastic-search-result.d.ts +9 -9
  391. package/src/infra/elasticsearch/types/index.d.ts +1 -1
  392. package/src/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
  393. package/src/infra/firebase/auth/index.d.ts +2 -2
  394. package/src/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
  395. package/src/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +5 -5
  396. package/src/infra/firebase/auth/types/index.d.ts +1 -1
  397. package/src/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +8 -8
  398. package/src/infra/firebase/firestore/enums/index.d.ts +1 -1
  399. package/src/infra/firebase/firestore/index.d.ts +5 -5
  400. package/src/infra/firebase/firestore/mixins/helpers/cache-key-generator.helper.d.ts +9 -9
  401. package/src/infra/firebase/firestore/mixins/helpers/firestore-cache.helper.d.ts +41 -41
  402. package/src/infra/firebase/firestore/mixins/helpers/firestore-data-converter.helper.d.ts +7 -7
  403. package/src/infra/firebase/firestore/mixins/helpers/firestore-model-converter.helper.d.ts +14 -14
  404. package/src/infra/firebase/firestore/mixins/helpers/firestore-operations.helper.d.ts +24 -24
  405. package/src/infra/firebase/firestore/mixins/helpers/firestore-query-builder.helper.d.ts +37 -37
  406. package/src/infra/firebase/firestore/mixins/helpers/index.d.ts +4 -4
  407. package/src/infra/firebase/firestore/mixins/index.d.ts +9 -9
  408. package/src/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
  409. package/src/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +5 -5
  410. package/src/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
  411. package/src/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
  412. package/src/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +14 -14
  413. package/src/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
  414. package/src/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
  415. package/src/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +11 -11
  416. package/src/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
  417. package/src/infra/firebase/firestore/repositories/catalog/category-brand-firestore.repository.d.ts +7 -7
  418. package/src/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +33 -33
  419. package/src/infra/firebase/firestore/repositories/catalog/group-firestore.repository.d.ts +7 -7
  420. package/src/infra/firebase/firestore/repositories/catalog/index.d.ts +6 -6
  421. package/src/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +18 -18
  422. package/src/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +13 -13
  423. package/src/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +7 -7
  424. package/src/infra/firebase/firestore/repositories/general/index.d.ts +2 -2
  425. package/src/infra/firebase/firestore/repositories/general/log-firestore.repository.d.ts +7 -7
  426. package/src/infra/firebase/firestore/repositories/general/sequences-firestore.repository.d.ts +7 -7
  427. package/src/infra/firebase/firestore/repositories/index.d.ts +5 -5
  428. package/src/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
  429. package/src/infra/firebase/firestore/repositories/shop-settings/index.d.ts +4 -4
  430. package/src/infra/firebase/firestore/repositories/shop-settings/shop-configs-firestore.repository.d.ts +7 -7
  431. package/src/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +7 -7
  432. package/src/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +7 -7
  433. package/src/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +7 -7
  434. package/src/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.d.ts +8 -8
  435. package/src/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.d.ts +8 -8
  436. package/src/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +7 -7
  437. package/src/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +7 -7
  438. package/src/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
  439. package/src/infra/firebase/firestore/repositories/shopping/index.d.ts +13 -13
  440. package/src/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +6 -6
  441. package/src/infra/firebase/firestore/repositories/shopping/order-blocked-firestore.repository.d.ts +17 -17
  442. package/src/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
  443. package/src/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +7 -7
  444. package/src/infra/firebase/firestore/repositories/shopping/shopping-recurrence-edition-firestore.repository.d.ts +7 -7
  445. package/src/infra/firebase/firestore/repositories/shopping/shopping-recurrence-firestore.repository.d.ts +10 -10
  446. package/src/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +7 -7
  447. package/src/infra/firebase/firestore/repositories/users/index.d.ts +10 -10
  448. package/src/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +7 -7
  449. package/src/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +12 -12
  450. package/src/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +7 -7
  451. package/src/infra/firebase/firestore/repositories/users/subscription-materialization-firestore.repository.d.ts +7 -7
  452. package/src/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +12 -12
  453. package/src/infra/firebase/firestore/repositories/users/subscription-summary-firestore.repository.d.ts +7 -7
  454. package/src/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +12 -12
  455. package/src/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +12 -12
  456. package/src/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
  457. package/src/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +12 -12
  458. package/src/infra/firebase/firestore/services/connect-collection-reference.d.ts +21 -21
  459. package/src/infra/firebase/firestore/services/connect-collection.service.d.ts +32 -32
  460. package/src/infra/firebase/firestore/services/connect-document-reference.d.ts +12 -12
  461. package/src/infra/firebase/firestore/services/connect-document.service.d.ts +17 -17
  462. package/src/infra/firebase/firestore/services/connect-firestore.d.ts +7 -7
  463. package/src/infra/firebase/firestore/services/connect-firestore.service.d.ts +11 -11
  464. package/src/infra/firebase/firestore/services/index.d.ts +6 -6
  465. package/src/infra/firebase/firestore/types/connect-firestore/connect-document-data.type.d.ts +5 -5
  466. package/src/infra/firebase/firestore/types/connect-firestore/connect-document-snapshot.type.d.ts +10 -10
  467. package/src/infra/firebase/firestore/types/connect-firestore/connect-query-snapshot.type.d.ts +7 -7
  468. package/src/infra/firebase/firestore/types/connect-firestore/connect-where-option.type.d.ts +2 -2
  469. package/src/infra/firebase/firestore/types/connect-firestore/index.d.ts +4 -4
  470. package/src/infra/firebase/firestore/types/firestore-interceptors.type.d.ts +14 -14
  471. package/src/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
  472. package/src/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
  473. package/src/infra/firebase/firestore/types/firestore.repository.type.d.ts +21 -21
  474. package/src/infra/firebase/firestore/types/index.d.ts +5 -5
  475. package/src/infra/firebase/firestore/vo/connectBaseDocumentSnapshot.vo.d.ts +10 -10
  476. package/src/infra/firebase/firestore/vo/index.d.ts +1 -1
  477. package/src/infra/firebase/index.d.ts +3 -3
  478. package/src/infra/firebase/storage/firebase-file-uploader.service.d.ts +8 -8
  479. package/src/infra/firebase/storage/index.d.ts +1 -1
  480. package/src/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
  481. package/src/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +18 -18
  482. package/src/infra/hasura-graphql/enums/index.d.ts +2 -2
  483. package/src/infra/hasura-graphql/index.d.ts +4 -4
  484. package/src/infra/hasura-graphql/mixins/factories/create-hasura-class.factory.d.ts +30 -30
  485. package/src/infra/hasura-graphql/mixins/factories/delete-hasura-class.factory.d.ts +26 -26
  486. package/src/infra/hasura-graphql/mixins/factories/find-hasura-class.factory.d.ts +31 -31
  487. package/src/infra/hasura-graphql/mixins/factories/get-hasura-class.factory.d.ts +29 -29
  488. package/src/infra/hasura-graphql/mixins/factories/hasura-graphql-class.factory.d.ts +40 -40
  489. package/src/infra/hasura-graphql/mixins/factories/index.d.ts +6 -6
  490. package/src/infra/hasura-graphql/mixins/factories/update-hasura-class.factory.d.ts +36 -36
  491. package/src/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +13 -19
  492. package/src/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
  493. package/src/infra/hasura-graphql/mixins/helpers/cache-key-generator.helper.d.ts +6 -6
  494. package/src/infra/hasura-graphql/mixins/helpers/create/hasura-column.helper.d.ts +7 -7
  495. package/src/infra/hasura-graphql/mixins/helpers/create/hasura-create-operations.helper.d.ts +16 -16
  496. package/src/infra/hasura-graphql/mixins/helpers/create/index.d.ts +2 -2
  497. package/src/infra/hasura-graphql/mixins/helpers/delete/hasura-cache-operations.helper.d.ts +9 -9
  498. package/src/infra/hasura-graphql/mixins/helpers/delete/hasura-delete-operations.helper.d.ts +15 -15
  499. package/src/infra/hasura-graphql/mixins/helpers/delete/hasura-delete-variables.helper.d.ts +10 -10
  500. package/src/infra/hasura-graphql/mixins/helpers/delete/index.d.ts +3 -3
  501. package/src/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +8 -10
  502. package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-binding.helper.d.ts +18 -18
  503. package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-cache.helper.d.ts +25 -25
  504. package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-operations.helper.d.ts +20 -20
  505. package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-query-builder.helper.d.ts +14 -14
  506. package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-result.helper.d.ts +26 -26
  507. package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-variables.helper.d.ts +21 -21
  508. package/src/infra/hasura-graphql/mixins/helpers/find/index.d.ts +6 -6
  509. package/src/infra/hasura-graphql/mixins/helpers/get/hasura-get-cache.helper.d.ts +21 -21
  510. package/src/infra/hasura-graphql/mixins/helpers/get/hasura-get-operations.helper.d.ts +18 -18
  511. package/src/infra/hasura-graphql/mixins/helpers/get/hasura-get-variables.helper.d.ts +9 -9
  512. package/src/infra/hasura-graphql/mixins/helpers/get/index.d.ts +3 -3
  513. package/src/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +10 -12
  514. package/src/infra/hasura-graphql/mixins/helpers/hasura-auth.helper.d.ts +4 -4
  515. package/src/infra/hasura-graphql/mixins/helpers/hasura-data-converter.helper.d.ts +8 -8
  516. package/src/infra/hasura-graphql/mixins/helpers/hasura-graphql-operations.helper.d.ts +32 -32
  517. package/src/infra/hasura-graphql/mixins/helpers/hasura-query-builder.helper.d.ts +23 -23
  518. package/src/infra/hasura-graphql/mixins/helpers/hasura-request.helper.d.ts +11 -11
  519. package/src/infra/hasura-graphql/mixins/helpers/index.d.ts +16 -16
  520. package/src/infra/hasura-graphql/mixins/helpers/md5-generator.helper.d.ts +4 -4
  521. package/src/infra/hasura-graphql/mixins/helpers/update/hasura-update-data.helper.d.ts +6 -6
  522. package/src/infra/hasura-graphql/mixins/helpers/update/hasura-update-operations.helper.d.ts +18 -18
  523. package/src/infra/hasura-graphql/mixins/helpers/update/hasura-update-variables.helper.d.ts +25 -25
  524. package/src/infra/hasura-graphql/mixins/helpers/update/index.d.ts +3 -3
  525. package/src/infra/hasura-graphql/mixins/index.d.ts +7 -7
  526. package/src/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +5 -5
  527. package/src/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +7 -7
  528. package/src/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +5 -5
  529. package/src/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +4 -4
  530. package/src/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +5 -5
  531. package/src/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +6 -6
  532. package/src/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +6 -6
  533. package/src/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
  534. package/src/infra/hasura-graphql/models/index.d.ts +7 -7
  535. package/src/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +5 -5
  536. package/src/infra/hasura-graphql/models/product-catalog-hasura-graphql.d.ts +16 -16
  537. package/src/infra/hasura-graphql/models/product-errors-hasura-graphql.d.ts +6 -6
  538. package/src/infra/hasura-graphql/models/product-hasura-graphql.d.ts +18 -18
  539. package/src/infra/hasura-graphql/models/product-stock-entry-hasura-graphql.d.ts +3 -3
  540. package/src/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +15 -15
  541. package/src/infra/hasura-graphql/models/wishlist-hasura-graphql.d.ts +4 -4
  542. package/src/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.d.ts +8 -8
  543. package/src/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +11 -11
  544. package/src/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +38 -38
  545. package/src/infra/hasura-graphql/repositories/catalog/category-product-hasura-graphql.repository.d.ts +16 -16
  546. package/src/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.d.ts +16 -16
  547. package/src/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.d.ts +8 -8
  548. package/src/infra/hasura-graphql/repositories/catalog/helpers/category-cache-operations.helper.d.ts +31 -31
  549. package/src/infra/hasura-graphql/repositories/catalog/helpers/category-filter-operations.helper.d.ts +17 -17
  550. package/src/infra/hasura-graphql/repositories/catalog/helpers/category-home-operations.helper.d.ts +32 -32
  551. package/src/infra/hasura-graphql/repositories/catalog/helpers/category-mount-operations.helper.d.ts +19 -19
  552. package/src/infra/hasura-graphql/repositories/catalog/helpers/category-product-operations.helper.d.ts +62 -62
  553. package/src/infra/hasura-graphql/repositories/catalog/helpers/index.d.ts +10 -10
  554. package/src/infra/hasura-graphql/repositories/catalog/helpers/product-fetch-reviews.helper.d.ts +17 -17
  555. package/src/infra/hasura-graphql/repositories/catalog/helpers/product-review-cache.helper.d.ts +28 -28
  556. package/src/infra/hasura-graphql/repositories/catalog/helpers/product-review-operations.helper.d.ts +20 -20
  557. package/src/infra/hasura-graphql/repositories/catalog/helpers/product-review-update.helper.d.ts +20 -20
  558. package/src/infra/hasura-graphql/repositories/catalog/helpers/product-variant-report.helper.d.ts +9 -9
  559. package/src/infra/hasura-graphql/repositories/catalog/index.d.ts +16 -16
  560. package/src/infra/hasura-graphql/repositories/catalog/product-catalog-hasura-graphql.repository.d.ts +22 -22
  561. package/src/infra/hasura-graphql/repositories/catalog/product-errors-hasura-graphql.repository.d.ts +13 -13
  562. package/src/infra/hasura-graphql/repositories/catalog/product-group-hasura-graphql.repository.d.ts +7 -7
  563. package/src/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +45 -45
  564. package/src/infra/hasura-graphql/repositories/catalog/product-price-log-hasura-graphql.repository.d.ts +7 -7
  565. package/src/infra/hasura-graphql/repositories/catalog/product-review-hasura-graphql.repository.d.ts +11 -11
  566. package/src/infra/hasura-graphql/repositories/catalog/product-stock-entry-hasura-graphql.repository.d.ts +8 -8
  567. package/src/infra/hasura-graphql/repositories/catalog/product-stock-notification-hasura-graphql.repository.d.ts +22 -22
  568. package/src/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +14 -14
  569. package/src/infra/hasura-graphql/repositories/catalog/wishlist-hasura-graphql.repository.d.ts +30 -30
  570. package/src/infra/hasura-graphql/repositories/index.d.ts +1 -1
  571. package/src/infra/hasura-graphql/types/fields.type.d.ts +2 -2
  572. package/src/infra/hasura-graphql/types/graphql.repository.type.d.ts +25 -25
  573. package/src/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
  574. package/src/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +44 -44
  575. package/src/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
  576. package/src/infra/hasura-graphql/types/index.d.ts +8 -8
  577. package/src/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
  578. package/src/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
  579. package/src/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
  580. package/src/infra/index.d.ts +8 -8
  581. package/src/infra/mercado-pago/adapters/index.d.ts +3 -3
  582. package/src/infra/mercado-pago/adapters/mercado-pago-base-axios.d.ts +11 -11
  583. package/src/infra/mercado-pago/adapters/mercado-pago-boleto-payment-axios.adapter.d.ts +8 -8
  584. package/src/infra/mercado-pago/adapters/mercado-pago-card-payment-axios.adapter.d.ts +22 -22
  585. package/src/infra/mercado-pago/adapters/mercado-pago-pix-payment-axios.adapter.d.ts +8 -8
  586. package/src/infra/mercado-pago/enums/index.d.ts +2 -2
  587. package/src/infra/mercado-pago/enums/mercado-pago-status-detail.enum.d.ts +33 -33
  588. package/src/infra/mercado-pago/enums/mercado-pago-status.enum.d.ts +10 -10
  589. package/src/infra/mercado-pago/helpers/index.d.ts +3 -3
  590. package/src/infra/mercado-pago/helpers/mercado-pago-errors.helper.d.ts +3 -3
  591. package/src/infra/mercado-pago/helpers/mercado-pago-request.helper.d.ts +60 -60
  592. package/src/infra/mercado-pago/helpers/mercado-pago-response.helper.d.ts +10 -10
  593. package/src/infra/mercado-pago/index.d.ts +4 -4
  594. package/src/infra/mercado-pago/types/index.d.ts +3 -3
  595. package/src/infra/mercado-pago/types/mercado-pago-request.type.d.ts +1 -1
  596. package/src/infra/mercado-pago/types/mercado-pago-response.type.d.ts +211 -211
  597. package/src/infra/mercado-pago/types/mercado-pago-status-detail.type.d.ts +2 -2
  598. package/src/infra/mercado-pago/types/mercado-pago-status.type.d.ts +2 -2
  599. package/src/infra/pagarme/adapters/helpers/index.d.ts +6 -6
  600. package/src/infra/pagarme/adapters/helpers/pagarme-blocked-order.helper.d.ts +19 -19
  601. package/src/infra/pagarme/adapters/helpers/pagarme-errors.helper.d.ts +3 -3
  602. package/src/infra/pagarme/adapters/helpers/pagarme-payment-factory.helper.d.ts +11 -11
  603. package/src/infra/pagarme/adapters/helpers/pagarme-payment-operations.helper.d.ts +12 -12
  604. package/src/infra/pagarme/adapters/helpers/pagarme-v5-request.helper.d.ts +13 -13
  605. package/src/infra/pagarme/adapters/helpers/pagarme-v5-response.helper.d.ts +10 -10
  606. package/src/infra/pagarme/adapters/index.d.ts +2 -2
  607. package/src/infra/pagarme/adapters/v4/index.d.ts +3 -3
  608. package/src/infra/pagarme/adapters/v4/pagarme-bank-slip-payment-axios.adapter.d.ts +12 -12
  609. package/src/infra/pagarme/adapters/v4/pagarme-card-payment-axios.adapter.d.ts +18 -18
  610. package/src/infra/pagarme/adapters/v4/pagarme-pix-payment-axios.adapter.d.ts +11 -11
  611. package/src/infra/pagarme/adapters/v5/index.d.ts +4 -4
  612. package/src/infra/pagarme/adapters/v5/pagarmev5-bank-slip-payment-axios.adapter.d.ts +11 -11
  613. package/src/infra/pagarme/adapters/v5/pagarmev5-base-axios.d.ts +11 -11
  614. package/src/infra/pagarme/adapters/v5/pagarmev5-card-payment-axios.adapter.d.ts +25 -25
  615. package/src/infra/pagarme/adapters/v5/pagarmev5-pix-payment-axios.adapter.d.ts +11 -11
  616. package/src/infra/pagarme/index.d.ts +2 -2
  617. package/src/infra/pagarme/types/index.d.ts +1 -1
  618. package/src/infra/pagarme/types/v5/index.d.ts +4 -4
  619. package/src/infra/pagarme/types/v5/pagarmev5-customer.type.d.ts +19 -19
  620. package/src/infra/pagarme/types/v5/pagarmev5-order-request-payload.type.d.ts +91 -91
  621. package/src/infra/pagarme/types/v5/pagarmev5-order-response.type.d.ts +241 -241
  622. package/src/infra/pagarme/types/v5/pagarmev5-postback-response.type.d.ts +11 -11
  623. package/src/infra/vertex-ai/adapters/index.d.ts +2 -2
  624. package/src/infra/vertex-ai/adapters/vertex-ai-search.adapter.d.ts +10 -10
  625. package/src/infra/vertex-ai/adapters/vertex-axios.adapter.d.ts +15 -15
  626. package/src/infra/vertex-ai/index.d.ts +3 -3
  627. package/src/infra/vertex-ai/indexes/index.d.ts +1 -1
  628. package/src/infra/vertex-ai/indexes/products-vertex-search.d.ts +13 -13
  629. package/src/infra/vertex-ai/types/axios-vertex-search-config.d.ts +4 -4
  630. package/src/infra/vertex-ai/types/index.d.ts +3 -3
  631. package/src/infra/vertex-ai/types/product-bulk.d.ts +4 -4
  632. package/src/infra/vertex-ai/types/product-search.d.ts +21 -21
  633. package/src/utils/circular-dependencies.d.ts +3 -3
  634. package/src/utils/decorators/debug.class.decorator.d.ts +2 -2
  635. package/src/utils/decorators/index.d.ts +2 -2
  636. package/src/utils/decorators/trace.method.decorator.d.ts +14 -14
  637. package/src/utils/get.d.ts +1 -1
  638. package/src/utils/helpers/class-name.helper.d.ts +3 -3
  639. package/src/utils/helpers/debug-decorator.helper.d.ts +9 -9
  640. package/src/utils/helpers/debug.helper.d.ts +60 -60
  641. package/src/utils/helpers/index.d.ts +4 -4
  642. package/src/utils/helpers/reflect.helper.d.ts +50 -50
  643. package/src/utils/index.d.ts +17 -17
  644. package/src/utils/is-uuid.d.ts +1 -1
  645. package/src/utils/is.d.ts +1 -1
  646. package/src/utils/log.utils.d.ts +7 -7
  647. package/src/utils/mixins/base.mixin.d.ts +3 -3
  648. package/src/utils/mixins/index.d.ts +3 -3
  649. package/src/utils/mixins/merge-constructor-params.type.d.ts +3 -3
  650. package/src/utils/mixins/mixin-ctor.type.d.ts +1 -1
  651. package/src/utils/obs-emitter.d.ts +15 -15
  652. package/src/utils/parse-datetime.d.ts +1 -1
  653. package/src/utils/serialize.d.ts +2 -2
  654. package/src/utils/types/array-element.type.d.ts +1 -1
  655. package/src/utils/types/index.d.ts +2 -2
  656. package/src/utils/types/prop.type.d.ts +1 -1
@@ -1,9 +1,9 @@
1
- import { SubMenu } from './sub-menu.type';
2
- export type MenuNav = {
3
- image?: string;
4
- label: string;
5
- path: string;
6
- position: string;
7
- subMenu: SubMenu[];
8
- static: boolean;
9
- };
1
+ import { SubMenu } from './sub-menu.type';
2
+ export type MenuNav = {
3
+ image?: string;
4
+ label: string;
5
+ path: string;
6
+ position: string;
7
+ subMenu: SubMenu[];
8
+ static: boolean;
9
+ };
@@ -1,10 +1,10 @@
1
- import { BrandsCarousel } from './brands-carousel.type';
2
- import { ShopBanner } from './shop-banner.type';
3
- import { ShopGift } from './shop-gift.type';
4
- import { ShopSection } from './shop-section.type';
5
- export type PromotionPageList = {
6
- ShopBanner: ShopBanner;
7
- BrandsCarousel: BrandsCarousel;
8
- ShopGift: ShopGift;
9
- };
10
- export type PromotionPage<T extends keyof PromotionPageList> = PromotionPageList[T] & ShopSection;
1
+ import { BrandsCarousel } from './brands-carousel.type';
2
+ import { ShopBanner } from './shop-banner.type';
3
+ import { ShopGift } from './shop-gift.type';
4
+ import { ShopSection } from './shop-section.type';
5
+ export type PromotionPageList = {
6
+ ShopBanner: ShopBanner;
7
+ BrandsCarousel: BrandsCarousel;
8
+ ShopGift: ShopGift;
9
+ };
10
+ export type PromotionPage<T extends keyof PromotionPageList> = PromotionPageList[T] & ShopSection;
@@ -1,37 +1,37 @@
1
- import { LandingPage } from './landing-page';
2
- import { PromotionPage } from './promotion-page';
3
- import { ShopBanner } from './shop-banner.type';
4
- import { ShopCarousel } from './shop-carousel.type';
5
- import { ShopGift } from './shop-gift.type';
6
- import { ShopHome } from './shop-home';
7
- import { ShopPost } from './shop-post.type';
8
- import { ShopSection } from './shop-section.type';
9
- export type HomeSection = [ShopHome<any>];
10
- export type LPClubeShopSection = [ShopCarousel];
11
- export type SubscriberPanelShopSection = [ShopCarousel[]];
12
- export type InviteFriendsShopSection = [ShopCarousel];
13
- export type InviteAndWinShopSection = [ShopGift];
14
- export type WinGlampointsShopSection = [ShopGift];
15
- export type PostsShopSection = [ShopSection & {
16
- posts: ShopPost[];
17
- }];
18
- export type GlampointsVitrineShopSection = [ShopBanner];
19
- export type SimpleLPShopSection = [(ShopBanner & {
20
- carouselColor?: string;
21
- })[]];
22
- export type LandingPageSection = [LandingPage<any>];
23
- export type PromotionPageSection = [PromotionPage<any>];
24
- export type SectionList = {
25
- HomeSection: HomeSection;
26
- LPClubeShopSection: LPClubeShopSection;
27
- SubscriberPanelShopSection: SubscriberPanelShopSection;
28
- InviteFriendsShopSection: InviteFriendsShopSection;
29
- InviteAndWinShopSection: InviteAndWinShopSection;
30
- WinGlampointsShopSection: WinGlampointsShopSection;
31
- PostsShopSection: PostsShopSection;
32
- GlampointsVitrineShopSection: GlampointsVitrineShopSection;
33
- SimpleLPShopSection: SimpleLPShopSection;
34
- LandingPageSection: LandingPageSection;
35
- PromotionPageSection: PromotionPageSection;
36
- };
37
- export type Section<T extends keyof SectionList> = SectionList[T];
1
+ import { LandingPage } from './landing-page';
2
+ import { PromotionPage } from './promotion-page';
3
+ import { ShopBanner } from './shop-banner.type';
4
+ import { ShopCarousel } from './shop-carousel.type';
5
+ import { ShopGift } from './shop-gift.type';
6
+ import { ShopHome } from './shop-home';
7
+ import { ShopPost } from './shop-post.type';
8
+ import { ShopSection } from './shop-section.type';
9
+ export type HomeSection = [ShopHome<any>];
10
+ export type LPClubeShopSection = [ShopCarousel];
11
+ export type SubscriberPanelShopSection = [ShopCarousel[]];
12
+ export type InviteFriendsShopSection = [ShopCarousel];
13
+ export type InviteAndWinShopSection = [ShopGift];
14
+ export type WinGlampointsShopSection = [ShopGift];
15
+ export type PostsShopSection = [ShopSection & {
16
+ posts: ShopPost[];
17
+ }];
18
+ export type GlampointsVitrineShopSection = [ShopBanner];
19
+ export type SimpleLPShopSection = [(ShopBanner & {
20
+ carouselColor?: string;
21
+ })[]];
22
+ export type LandingPageSection = [LandingPage<any>];
23
+ export type PromotionPageSection = [PromotionPage<any>];
24
+ export type SectionList = {
25
+ HomeSection: HomeSection;
26
+ LPClubeShopSection: LPClubeShopSection;
27
+ SubscriberPanelShopSection: SubscriberPanelShopSection;
28
+ InviteFriendsShopSection: InviteFriendsShopSection;
29
+ InviteAndWinShopSection: InviteAndWinShopSection;
30
+ WinGlampointsShopSection: WinGlampointsShopSection;
31
+ PostsShopSection: PostsShopSection;
32
+ GlampointsVitrineShopSection: GlampointsVitrineShopSection;
33
+ SimpleLPShopSection: SimpleLPShopSection;
34
+ LandingPageSection: LandingPageSection;
35
+ PromotionPageSection: PromotionPageSection;
36
+ };
37
+ export type Section<T extends keyof SectionList> = SectionList[T];
@@ -1,13 +1,13 @@
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
- published?: boolean;
12
- title: string;
13
- }
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
+ published?: boolean;
12
+ title: string;
13
+ }
@@ -1,10 +1,10 @@
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
+ 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,4 +1,4 @@
1
- import { ShopBanner } from './shop-banner.type';
2
- export interface ShopCarousel {
3
- banners: ShopBanner[];
4
- }
1
+ import { ShopBanner } from './shop-banner.type';
2
+ export interface ShopCarousel {
3
+ banners: ShopBanner[];
4
+ }
@@ -1,9 +1,9 @@
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
+ 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,10 +1,10 @@
1
- import { ErrorsCode } from '../../../../errors';
2
- export type ShopErrorMessages = {
3
- code: ErrorsCode;
4
- title: string;
5
- message: string;
6
- additionalInfo?: string;
7
- icon?: string;
8
- buttonText?: string;
9
- description?: string;
10
- };
1
+ import { ErrorsCode } from '../../../../errors';
2
+ export type ShopErrorMessages = {
3
+ code: ErrorsCode;
4
+ title: string;
5
+ message: string;
6
+ additionalInfo?: string;
7
+ icon?: string;
8
+ buttonText?: string;
9
+ description?: string;
10
+ };
@@ -1,8 +1,8 @@
1
- import { ShopSection } from './shop-section.type';
2
- export interface ShopGift extends ShopSection {
3
- nameGift: string;
4
- imageGift: string;
5
- altTextGift: string;
6
- discount: string;
7
- expiration: Date;
8
- }
1
+ import { ShopSection } from './shop-section.type';
2
+ export interface ShopGift extends ShopSection {
3
+ nameGift: string;
4
+ imageGift: string;
5
+ altTextGift: string;
6
+ discount: string;
7
+ expiration: Date;
8
+ }
@@ -1,12 +1,12 @@
1
- import { ShopBanner } from './shop-banner.type';
2
- import { ShopBrands } from './shop-brands.type';
3
- import { ShopCarousel } from './shop-carousel.type';
4
- import { ShopCollection } from './shop-collection.type';
5
- import { ShopSection } from './shop-section.type';
6
- export type ShopHomeList = {
7
- ShopBanner: ShopBanner;
8
- ShopCarousel: ShopCarousel;
9
- ShopCollection: ShopCollection;
10
- ShopBrands: ShopBrands;
11
- };
12
- export type ShopHome<T extends keyof ShopHomeList> = ShopHomeList[T] & ShopSection;
1
+ import { ShopBanner } from './shop-banner.type';
2
+ import { ShopBrands } from './shop-brands.type';
3
+ import { ShopCarousel } from './shop-carousel.type';
4
+ import { ShopCollection } from './shop-collection.type';
5
+ import { ShopSection } from './shop-section.type';
6
+ export type ShopHomeList = {
7
+ ShopBanner: ShopBanner;
8
+ ShopCarousel: ShopCarousel;
9
+ ShopCollection: ShopCollection;
10
+ ShopBrands: ShopBrands;
11
+ };
12
+ export type ShopHome<T extends keyof ShopHomeList> = ShopHomeList[T] & ShopSection;
@@ -1,140 +1,140 @@
1
- export type ShopPageSection = Array<SectionUnion>;
2
- export type SectionUnion = SectionLive | SectionCarousel | SectionBanner | SectionInfobars | SectionHighlights | SectionSubscriberInfo | SectionCollection | SectionBeautyProfileCollection | SectionPlans | SectionSinglePlan | SectionBrands | SectionNewsletter;
3
- export declare enum ShopPageSectionType {
4
- LIVE = "LIVE",
5
- CAROUSEL = "CAROUSEL",
6
- BANNER = "BANNER",
7
- INFOBARS = "INFOBARS",
8
- HIGHLIGHTS = "HIGHLIGHTS",
9
- SUBSCRIBER_INFO = "SUBSCRIBER_INFO",
10
- COLLECTION = "COLLECTION",
11
- BEAUTY_PROFILE_COLLECTION = "BEAUTY_PROFILE_COLLECTION",
12
- PLANS = "PLANS",
13
- SINGLE_PLAN = "SINGLE_PLAN",
14
- BRANDS = "BRANDS",
15
- NEWSLETTER = "NEWSLETTER"
16
- }
17
- export type SectionLive = {
18
- id: string;
19
- type: ShopPageSectionType.LIVE;
20
- fixed: boolean;
21
- editable: boolean;
22
- title: string;
23
- link: string;
24
- active: boolean;
25
- };
26
- export type SectionCarousel = {
27
- id: string;
28
- type: ShopPageSectionType.CAROUSEL;
29
- fixed: boolean;
30
- editable: boolean;
31
- banners: Banner[];
32
- };
33
- export type SectionInfobars = {
34
- id: string;
35
- type: ShopPageSectionType.INFOBARS;
36
- fixed: boolean;
37
- editable: boolean;
38
- infobars: Infobar[];
39
- };
40
- export type Infobar = {
41
- id: string;
42
- link: string;
43
- text: string;
44
- active: boolean;
45
- };
46
- export type SectionHighlights = {
47
- id: string;
48
- type: ShopPageSectionType.HIGHLIGHTS;
49
- fixed: boolean;
50
- editable: boolean;
51
- highlights: Highlight[];
52
- };
53
- export type Highlight = {
54
- id: string;
55
- title: string;
56
- subtitle: string;
57
- link: string;
58
- image: string;
59
- altText: string;
60
- highlighted: boolean;
61
- starred: boolean;
62
- displayRules?: Array<Partial<DisplayRules>>;
63
- };
64
- export type SectionSubscriberInfo = {
65
- id: string;
66
- type: ShopPageSectionType.SUBSCRIBER_INFO;
67
- fixed: boolean;
68
- editable: boolean;
69
- };
70
- export type Banner = {
71
- id: string;
72
- mobileImage: string;
73
- desktopImage: string;
74
- link: string;
75
- altText: string;
76
- countdown?: string;
77
- displayRules?: Array<Partial<DisplayRules>>;
78
- publishDate?: Date;
79
- expirationDate?: Date;
80
- };
81
- export type SectionBanner = Banner & {
82
- type: ShopPageSectionType.BANNER;
83
- fixed: boolean;
84
- editable: boolean;
85
- };
86
- export type SectionCollection = {
87
- id: string;
88
- type: ShopPageSectionType.COLLECTION;
89
- fixed: boolean;
90
- editable: boolean;
91
- slug: string;
92
- title: string;
93
- categoryId: number;
94
- displayRules?: Array<Partial<DisplayRules>>;
95
- publishDate?: Date;
96
- expirationDate?: Date;
97
- };
98
- export type SectionBeautyProfileCollection = {
99
- id: string;
100
- type: ShopPageSectionType.BEAUTY_PROFILE_COLLECTION;
101
- fixed: boolean;
102
- editable: boolean;
103
- };
104
- export type DisplayRules = {
105
- subscriberBuyer: boolean;
106
- notSubscriber: boolean;
107
- subscriberNotBuyer: boolean;
108
- topBadgeSubscriber: boolean;
109
- beautyProfile?: boolean;
110
- };
111
- export type SectionPlans = {
112
- id: string;
113
- type: ShopPageSectionType.PLANS;
114
- fixed: boolean;
115
- editable: boolean;
116
- };
117
- export type SectionSinglePlan = {
118
- id: string;
119
- type: ShopPageSectionType.SINGLE_PLAN;
120
- fixed: boolean;
121
- editable: boolean;
122
- };
123
- export type Brand = {
124
- slug: string;
125
- image: string;
126
- brandName: string;
127
- };
128
- export type SectionBrands = {
129
- id: string;
130
- type: ShopPageSectionType.BRANDS;
131
- fixed: boolean;
132
- editable: boolean;
133
- brands: Brand[];
134
- };
135
- export type SectionNewsletter = {
136
- id: string;
137
- type: ShopPageSectionType.NEWSLETTER;
138
- fixed: boolean;
139
- editable: boolean;
140
- };
1
+ export type ShopPageSection = Array<SectionUnion>;
2
+ export type SectionUnion = SectionLive | SectionCarousel | SectionBanner | SectionInfobars | SectionHighlights | SectionSubscriberInfo | SectionCollection | SectionBeautyProfileCollection | SectionPlans | SectionSinglePlan | SectionBrands | SectionNewsletter;
3
+ export declare enum ShopPageSectionType {
4
+ LIVE = "LIVE",
5
+ CAROUSEL = "CAROUSEL",
6
+ BANNER = "BANNER",
7
+ INFOBARS = "INFOBARS",
8
+ HIGHLIGHTS = "HIGHLIGHTS",
9
+ SUBSCRIBER_INFO = "SUBSCRIBER_INFO",
10
+ COLLECTION = "COLLECTION",
11
+ BEAUTY_PROFILE_COLLECTION = "BEAUTY_PROFILE_COLLECTION",
12
+ PLANS = "PLANS",
13
+ SINGLE_PLAN = "SINGLE_PLAN",
14
+ BRANDS = "BRANDS",
15
+ NEWSLETTER = "NEWSLETTER"
16
+ }
17
+ export type SectionLive = {
18
+ id: string;
19
+ type: ShopPageSectionType.LIVE;
20
+ fixed: boolean;
21
+ editable: boolean;
22
+ title: string;
23
+ link: string;
24
+ active: boolean;
25
+ };
26
+ export type SectionCarousel = {
27
+ id: string;
28
+ type: ShopPageSectionType.CAROUSEL;
29
+ fixed: boolean;
30
+ editable: boolean;
31
+ banners: Banner[];
32
+ };
33
+ export type SectionInfobars = {
34
+ id: string;
35
+ type: ShopPageSectionType.INFOBARS;
36
+ fixed: boolean;
37
+ editable: boolean;
38
+ infobars: Infobar[];
39
+ };
40
+ export type Infobar = {
41
+ id: string;
42
+ link: string;
43
+ text: string;
44
+ active: boolean;
45
+ };
46
+ export type SectionHighlights = {
47
+ id: string;
48
+ type: ShopPageSectionType.HIGHLIGHTS;
49
+ fixed: boolean;
50
+ editable: boolean;
51
+ highlights: Highlight[];
52
+ };
53
+ export type Highlight = {
54
+ id: string;
55
+ title: string;
56
+ subtitle: string;
57
+ link: string;
58
+ image: string;
59
+ altText: string;
60
+ highlighted: boolean;
61
+ starred: boolean;
62
+ displayRules?: Array<Partial<DisplayRules>>;
63
+ };
64
+ export type SectionSubscriberInfo = {
65
+ id: string;
66
+ type: ShopPageSectionType.SUBSCRIBER_INFO;
67
+ fixed: boolean;
68
+ editable: boolean;
69
+ };
70
+ export type Banner = {
71
+ id: string;
72
+ mobileImage: string;
73
+ desktopImage: string;
74
+ link: string;
75
+ altText: string;
76
+ countdown?: string;
77
+ displayRules?: Array<Partial<DisplayRules>>;
78
+ publishDate?: Date;
79
+ expirationDate?: Date;
80
+ };
81
+ export type SectionBanner = Banner & {
82
+ type: ShopPageSectionType.BANNER;
83
+ fixed: boolean;
84
+ editable: boolean;
85
+ };
86
+ export type SectionCollection = {
87
+ id: string;
88
+ type: ShopPageSectionType.COLLECTION;
89
+ fixed: boolean;
90
+ editable: boolean;
91
+ slug: string;
92
+ title: string;
93
+ categoryId: number;
94
+ displayRules?: Array<Partial<DisplayRules>>;
95
+ publishDate?: Date;
96
+ expirationDate?: Date;
97
+ };
98
+ export type SectionBeautyProfileCollection = {
99
+ id: string;
100
+ type: ShopPageSectionType.BEAUTY_PROFILE_COLLECTION;
101
+ fixed: boolean;
102
+ editable: boolean;
103
+ };
104
+ export type DisplayRules = {
105
+ subscriberBuyer: boolean;
106
+ notSubscriber: boolean;
107
+ subscriberNotBuyer: boolean;
108
+ topBadgeSubscriber: boolean;
109
+ beautyProfile?: boolean;
110
+ };
111
+ export type SectionPlans = {
112
+ id: string;
113
+ type: ShopPageSectionType.PLANS;
114
+ fixed: boolean;
115
+ editable: boolean;
116
+ };
117
+ export type SectionSinglePlan = {
118
+ id: string;
119
+ type: ShopPageSectionType.SINGLE_PLAN;
120
+ fixed: boolean;
121
+ editable: boolean;
122
+ };
123
+ export type Brand = {
124
+ slug: string;
125
+ image: string;
126
+ brandName: string;
127
+ };
128
+ export type SectionBrands = {
129
+ id: string;
130
+ type: ShopPageSectionType.BRANDS;
131
+ fixed: boolean;
132
+ editable: boolean;
133
+ brands: Brand[];
134
+ };
135
+ export type SectionNewsletter = {
136
+ id: string;
137
+ type: ShopPageSectionType.NEWSLETTER;
138
+ fixed: boolean;
139
+ editable: boolean;
140
+ };
@@ -1,7 +1,7 @@
1
- import { ShopSection } from './shop-section.type';
2
- export interface ShopPost extends ShopSection {
3
- image: string;
4
- imageTitle: string;
5
- postSuggestion: string;
6
- tag: string;
7
- }
1
+ import { ShopSection } from './shop-section.type';
2
+ export interface ShopPost extends ShopSection {
3
+ image: string;
4
+ imageTitle: string;
5
+ postSuggestion: string;
6
+ tag: string;
7
+ }
@@ -1,6 +1,6 @@
1
- export type ShopSameDayNotAvailable = {
2
- [key: string]: {
3
- beginDate: string;
4
- endDate: string;
5
- };
6
- };
1
+ export type ShopSameDayNotAvailable = {
2
+ [key: string]: {
3
+ beginDate: string;
4
+ endDate: string;
5
+ };
6
+ };
@@ -1,12 +1,12 @@
1
- export type ShopSection = {
2
- id: string;
3
- title?: string;
4
- type: string;
5
- createdAt: Date;
6
- updatedAt?: Date;
7
- fixed: boolean;
8
- editable: boolean;
9
- titleMeta: string;
10
- descriptionMeta: string;
11
- imageMeta: string;
12
- };
1
+ export type ShopSection = {
2
+ id: string;
3
+ title?: string;
4
+ type: string;
5
+ createdAt: Date;
6
+ updatedAt?: Date;
7
+ fixed: boolean;
8
+ editable: boolean;
9
+ titleMeta: string;
10
+ descriptionMeta: string;
11
+ imageMeta: string;
12
+ };
@@ -1,8 +1,8 @@
1
- export type SubMenu = SubMenuItem & {
2
- subChildMenu: SubMenuItem[];
3
- };
4
- type SubMenuItem = {
5
- label: string;
6
- path: string;
7
- };
8
- export {};
1
+ export type SubMenu = SubMenuItem & {
2
+ subChildMenu: SubMenuItem[];
3
+ };
4
+ type SubMenuItem = {
5
+ label: string;
6
+ path: string;
7
+ };
8
+ export {};
@@ -1,4 +1,4 @@
1
- import { CrudRepository } from '../../generic/repository/crud.repository';
2
- import { CampaignBanner } from '../models';
3
- export interface CampaignBannerRepository extends CrudRepository<CampaignBanner> {
4
- }
1
+ import { CrudRepository } from '../../generic/repository/crud.repository';
2
+ import { CampaignBanner } from '../models';
3
+ export interface CampaignBannerRepository extends CrudRepository<CampaignBanner> {
4
+ }
@@ -1,4 +1,4 @@
1
- import { CrudRepository } from '../../generic/repository/crud.repository';
2
- import { Campaign } from '../models';
3
- export interface CampaignRepository extends CrudRepository<Campaign> {
4
- }
1
+ import { CrudRepository } from '../../generic/repository/crud.repository';
2
+ import { Campaign } from '../models';
3
+ export interface CampaignRepository extends CrudRepository<Campaign> {
4
+ }
@@ -1,4 +1,4 @@
1
- import { CrudRepository } from '../../generic/repository/crud.repository';
2
- import { Home } from '../models/home';
3
- export interface HomeRepository extends CrudRepository<Home> {
4
- }
1
+ import { CrudRepository } from '../../generic/repository/crud.repository';
2
+ import { Home } from '../models/home';
3
+ export interface HomeRepository extends CrudRepository<Home> {
4
+ }
@@ -1,6 +1,6 @@
1
- export * from './campaign-banner.repository';
2
- export * from './campaign.repository';
3
- export * from './home.repository';
4
- export * from './shop-configs.repository';
5
- export * from './shop-menu.repository';
6
- export * from './shop-settings.repository';
1
+ export * from './campaign-banner.repository';
2
+ export * from './campaign.repository';
3
+ export * from './home.repository';
4
+ export * from './shop-configs.repository';
5
+ export * from './shop-menu.repository';
6
+ export * from './shop-settings.repository';