@infrab4a/connect 5.7.10 → 5.8.0-alpha.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 (664) hide show
  1. package/index.cjs.js +11307 -11313
  2. package/index.d.ts +1 -1
  3. package/index.esm.js +11273 -11272
  4. package/package.json +5 -3
  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 +64 -64
  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 +60 -60
  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 +20 -20
  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 +21 -21
  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/shipping-thresholds.type.d.ts +17 -17
  148. package/src/domain/shop-settings/models/types/shop-banner.type.d.ts +13 -13
  149. package/src/domain/shop-settings/models/types/shop-brands.type.d.ts +10 -10
  150. package/src/domain/shop-settings/models/types/shop-carousel.type.d.ts +4 -4
  151. package/src/domain/shop-settings/models/types/shop-collection.type.d.ts +9 -9
  152. package/src/domain/shop-settings/models/types/shop-error-messages.type.d.ts +10 -10
  153. package/src/domain/shop-settings/models/types/shop-gift.type.d.ts +8 -8
  154. package/src/domain/shop-settings/models/types/shop-home.d.ts +12 -12
  155. package/src/domain/shop-settings/models/types/shop-page-section.type.d.ts +140 -140
  156. package/src/domain/shop-settings/models/types/shop-post.type.d.ts +7 -7
  157. package/src/domain/shop-settings/models/types/shop-sameday-not-available.d.ts +6 -6
  158. package/src/domain/shop-settings/models/types/shop-section.type.d.ts +12 -12
  159. package/src/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -8
  160. package/src/domain/shop-settings/repositories/campaign-banner.repository.d.ts +4 -4
  161. package/src/domain/shop-settings/repositories/campaign.repository.d.ts +4 -4
  162. package/src/domain/shop-settings/repositories/home.repository.d.ts +4 -4
  163. package/src/domain/shop-settings/repositories/index.d.ts +6 -6
  164. package/src/domain/shop-settings/repositories/shop-configs.repository.d.ts +4 -4
  165. package/src/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -4
  166. package/src/domain/shop-settings/repositories/shop-settings.repository.d.ts +4 -4
  167. package/src/domain/shopping/enums/antifraud-providers.enum.d.ts +6 -6
  168. package/src/domain/shopping/enums/business-unit.enum.d.ts +4 -4
  169. package/src/domain/shopping/enums/index.d.ts +9 -9
  170. package/src/domain/shopping/enums/order-blocked.enum.d.ts +5 -5
  171. package/src/domain/shopping/enums/order-payment-status.enum.d.ts +10 -10
  172. package/src/domain/shopping/enums/pagarme-payment-status.enum.d.ts +10 -10
  173. package/src/domain/shopping/enums/pagarme-v5-payment-status.enum.d.ts +24 -24
  174. package/src/domain/shopping/enums/payment-methods.enum.d.ts +6 -6
  175. package/src/domain/shopping/enums/payment-providers.enum.d.ts +6 -6
  176. package/src/domain/shopping/enums/transaction-payment-methods.enum.d.ts +5 -5
  177. package/src/domain/shopping/factories/adyen-payment-method.factory.d.ts +9 -9
  178. package/src/domain/shopping/factories/antifraud-provider.factory.d.ts +15 -15
  179. package/src/domain/shopping/factories/base-payment-method.factory.d.ts +7 -7
  180. package/src/domain/shopping/factories/glampoints-payment-method.factory.d.ts +8 -8
  181. package/src/domain/shopping/factories/index.d.ts +6 -6
  182. package/src/domain/shopping/factories/mercado-pago-payment-method.factory.d.ts +11 -11
  183. package/src/domain/shopping/factories/pagarme-payment-method.factory.d.ts +11 -11
  184. package/src/domain/shopping/factories/payment-provider.factory.d.ts +17 -17
  185. package/src/domain/shopping/index.d.ts +7 -7
  186. package/src/domain/shopping/interfaces/antifraud-method-factory.interface.d.ts +11 -11
  187. package/src/domain/shopping/interfaces/antifraud-provider.interface.d.ts +5 -5
  188. package/src/domain/shopping/interfaces/index.d.ts +7 -7
  189. package/src/domain/shopping/interfaces/payment-method-factory.interface.d.ts +14 -14
  190. package/src/domain/shopping/interfaces/payment-provider-bank-slip.interface.d.ts +7 -7
  191. package/src/domain/shopping/interfaces/payment-provider-card.interface.d.ts +21 -21
  192. package/src/domain/shopping/interfaces/payment-provider-glampoints.interface.d.ts +9 -9
  193. package/src/domain/shopping/interfaces/payment-provider-pix.interface.d.ts +5 -5
  194. package/src/domain/shopping/models/buy-2-win.d.ts +20 -20
  195. package/src/domain/shopping/models/campaign-dashboard.d.ts +15 -15
  196. package/src/domain/shopping/models/campaign-hashtag.d.ts +18 -18
  197. package/src/domain/shopping/models/checkout.d.ts +38 -28
  198. package/src/domain/shopping/models/coupons/coupon.d.ts +72 -67
  199. package/src/domain/shopping/models/coupons/enums/coupon-category.enum.d.ts +41 -41
  200. package/src/domain/shopping/models/coupons/enums/coupon-channels.enum.d.ts +10 -10
  201. package/src/domain/shopping/models/coupons/enums/coupon-club-mens.enum.d.ts +5 -5
  202. package/src/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -4
  203. package/src/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +5 -5
  204. package/src/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +8 -8
  205. package/src/domain/shopping/models/coupons/enums/index.d.ts +5 -5
  206. package/src/domain/shopping/models/coupons/index.d.ts +2 -2
  207. package/src/domain/shopping/models/coupons/types/coupon-category.type.d.ts +2 -2
  208. package/src/domain/shopping/models/coupons/types/coupon-channel.type.d.ts +2 -2
  209. package/src/domain/shopping/models/coupons/types/index.d.ts +2 -2
  210. package/src/domain/shopping/models/enums/checkout-types.enum.d.ts +5 -5
  211. package/src/domain/shopping/models/enums/index.d.ts +5 -5
  212. package/src/domain/shopping/models/enums/order-status.enum.d.ts +11 -11
  213. package/src/domain/shopping/models/enums/shopping-recurrence-cycle.enum.d.ts +5 -5
  214. package/src/domain/shopping/models/enums/shopping-recurrence-edition-status.enum.d.ts +11 -11
  215. package/src/domain/shopping/models/enums/shopping-recurrence-status.enum.d.ts +7 -7
  216. package/src/domain/shopping/models/index.d.ts +15 -15
  217. package/src/domain/shopping/models/line-item.d.ts +15 -15
  218. package/src/domain/shopping/models/order-blocked.d.ts +29 -29
  219. package/src/domain/shopping/models/order.d.ts +37 -37
  220. package/src/domain/shopping/models/payment-transaction.d.ts +84 -84
  221. package/src/domain/shopping/models/payment.d.ts +17 -17
  222. package/src/domain/shopping/models/recurrence/index.d.ts +3 -3
  223. package/src/domain/shopping/models/recurrence/shopping-recurrence-edition.d.ts +18 -18
  224. package/src/domain/shopping/models/recurrence/shopping-recurrence-error-log.d.ts +9 -9
  225. package/src/domain/shopping/models/recurrence/shopping-recurrence.d.ts +45 -45
  226. package/src/domain/shopping/models/shipping-method.d.ts +23 -23
  227. package/src/domain/shopping/models/subscription/checkout.d.ts +21 -21
  228. package/src/domain/shopping/models/subscription/index.d.ts +2 -2
  229. package/src/domain/shopping/models/subscription/plan.d.ts +10 -10
  230. package/src/domain/shopping/models/types/index.d.ts +8 -8
  231. package/src/domain/shopping/models/types/line-item-recurrence.type.d.ts +2 -2
  232. package/src/domain/shopping/models/types/payment-address.type.d.ts +12 -12
  233. package/src/domain/shopping/models/types/payment-billing.type.d.ts +7 -7
  234. package/src/domain/shopping/models/types/payment-card.type.d.ts +14 -14
  235. package/src/domain/shopping/models/types/payment-customer.type.d.ts +18 -18
  236. package/src/domain/shopping/models/types/payment-document.type.d.ts +6 -6
  237. package/src/domain/shopping/models/types/payment-item.type.d.ts +11 -11
  238. package/src/domain/shopping/models/types/payment-shipping.type.d.ts +10 -10
  239. package/src/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -4
  240. package/src/domain/shopping/repositories/campaign-dashboard.repository.d.ts +4 -4
  241. package/src/domain/shopping/repositories/campaign-hashtag.repository.d.ts +4 -4
  242. package/src/domain/shopping/repositories/checkout.repository.d.ts +4 -4
  243. package/src/domain/shopping/repositories/coupon.repository.d.ts +4 -4
  244. package/src/domain/shopping/repositories/index.d.ts +11 -11
  245. package/src/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
  246. package/src/domain/shopping/repositories/order-blocked.repository.d.ts +19 -19
  247. package/src/domain/shopping/repositories/order.repository.d.ts +4 -4
  248. package/src/domain/shopping/repositories/payment.repository.d.ts +4 -4
  249. package/src/domain/shopping/repositories/recurrence/index.d.ts +3 -3
  250. package/src/domain/shopping/repositories/recurrence/shopping-recurrence-edition.repository.d.ts +4 -4
  251. package/src/domain/shopping/repositories/recurrence/shopping-recurrence-error-log.repository.d.ts +4 -4
  252. package/src/domain/shopping/repositories/recurrence/shopping-recurrence.repository.d.ts +9 -9
  253. package/src/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -4
  254. package/src/domain/shopping/repositories/subscription/index.d.ts +2 -2
  255. package/src/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -4
  256. package/src/domain/shopping/services/antifraud-bankslip.service.d.ts +9 -9
  257. package/src/domain/shopping/services/antifraud-card.service.d.ts +37 -37
  258. package/src/domain/shopping/services/antifraud-glampoints.service.d.ts +6 -6
  259. package/src/domain/shopping/services/antifraud-pix.service.d.ts +6 -6
  260. package/src/domain/shopping/services/glampoints-payment.service.d.ts +13 -13
  261. package/src/domain/shopping/services/index.d.ts +5 -5
  262. package/src/domain/shopping/types/adyen-card.type.d.ts +3 -3
  263. package/src/domain/shopping/types/adyen-credentials.type.d.ts +6 -6
  264. package/src/domain/shopping/types/antifraud-provider.type.d.ts +2 -2
  265. package/src/domain/shopping/types/base-card.type.d.ts +2 -2
  266. package/src/domain/shopping/types/card-info.type.d.ts +9 -9
  267. package/src/domain/shopping/types/checkout-paylod-request.type.d.ts +10 -10
  268. package/src/domain/shopping/types/checkout-response.type.d.ts +7 -7
  269. package/src/domain/shopping/types/checkout-stock-validation.type.d.ts +5 -5
  270. package/src/domain/shopping/types/create-recurrency-payload.type.d.ts +6 -6
  271. package/src/domain/shopping/types/glam-credentials.type.d.ts +6 -6
  272. package/src/domain/shopping/types/index.d.ts +21 -21
  273. package/src/domain/shopping/types/mercado-pago-card.type.d.ts +14 -14
  274. package/src/domain/shopping/types/mercado-pago-credentials.type.d.ts +5 -5
  275. package/src/domain/shopping/types/order-tracking-events.type.d.ts +14 -14
  276. package/src/domain/shopping/types/pagarme-card-manual-hash.type.d.ts +6 -6
  277. package/src/domain/shopping/types/pagarme-card.type.d.ts +22 -22
  278. package/src/domain/shopping/types/pagarme-credentials-v5.type.d.ts +4 -4
  279. package/src/domain/shopping/types/pagarme-credentials.type.d.ts +13 -13
  280. package/src/domain/shopping/types/payment-card-info.type.d.ts +12 -12
  281. package/src/domain/shopping/types/payment-method.type.d.ts +2 -2
  282. package/src/domain/shopping/types/payment-provider.type.d.ts +2 -2
  283. package/src/domain/shopping/types/shipping-method-response.type.d.ts +26 -13
  284. package/src/domain/shopping/types/shipping-product-request.type.d.ts +9 -9
  285. package/src/domain/shopping/types/shopping-recurrence-update-payloads.type.d.ts +35 -35
  286. package/src/domain/users/errors/index.d.ts +3 -3
  287. package/src/domain/users/errors/unauthorized.error.d.ts +4 -4
  288. package/src/domain/users/errors/user-already-registered.error.d.ts +4 -4
  289. package/src/domain/users/errors/weak-password.error.d.ts +4 -4
  290. package/src/domain/users/index.d.ts +5 -5
  291. package/src/domain/users/models/beauty-profile.d.ts +11 -11
  292. package/src/domain/users/models/enums/accessory-importances.enum.d.ts +5 -5
  293. package/src/domain/users/models/enums/area.enum.d.ts +11 -11
  294. package/src/domain/users/models/enums/beard-problems.enum.d.ts +9 -9
  295. package/src/domain/users/models/enums/beard-sizes.enum.d.ts +7 -7
  296. package/src/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -6
  297. package/src/domain/users/models/enums/body-problems.enum.d.ts +11 -11
  298. package/src/domain/users/models/enums/body-shapes.enum.d.ts +7 -7
  299. package/src/domain/users/models/enums/body-tattoos.enum.d.ts +5 -5
  300. package/src/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -7
  301. package/src/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -10
  302. package/src/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -8
  303. package/src/domain/users/models/enums/family-incomes.enum.d.ts +8 -8
  304. package/src/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -5
  305. package/src/domain/users/models/enums/hair-colors.enum.d.ts +10 -10
  306. package/src/domain/users/models/enums/hair-problems.enum.d.ts +10 -10
  307. package/src/domain/users/models/enums/hair-strands.enum.d.ts +8 -8
  308. package/src/domain/users/models/enums/hair-types.enum.d.ts +7 -7
  309. package/src/domain/users/models/enums/index.d.ts +21 -21
  310. package/src/domain/users/models/enums/office-position.enum.d.ts +6 -6
  311. package/src/domain/users/models/enums/person-types.enum.d.ts +5 -5
  312. package/src/domain/users/models/enums/product-spents.enum.d.ts +8 -8
  313. package/src/domain/users/models/enums/user-type.enum.d.ts +8 -8
  314. package/src/domain/users/models/index.d.ts +8 -8
  315. package/src/domain/users/models/lead.d.ts +8 -8
  316. package/src/domain/users/models/subscription/edition.d.ts +16 -16
  317. package/src/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -3
  318. package/src/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -4
  319. package/src/domain/users/models/subscription/enums/index.d.ts +5 -5
  320. package/src/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -5
  321. package/src/domain/users/models/subscription/enums/plans.enum.d.ts +6 -6
  322. package/src/domain/users/models/subscription/enums/status.enum.d.ts +4 -4
  323. package/src/domain/users/models/subscription/index.d.ts +7 -7
  324. package/src/domain/users/models/subscription/payment.d.ts +13 -13
  325. package/src/domain/users/models/subscription/subscription-materialization.d.ts +32 -32
  326. package/src/domain/users/models/subscription/subscription-summary.d.ts +15 -15
  327. package/src/domain/users/models/subscription/subscription.d.ts +29 -29
  328. package/src/domain/users/models/subscription/types/index.d.ts +1 -1
  329. package/src/domain/users/models/subscription/types/plan.type.d.ts +2 -2
  330. package/src/domain/users/models/types/index.d.ts +1 -1
  331. package/src/domain/users/models/types/person.type.d.ts +2 -2
  332. package/src/domain/users/models/user-address.d.ts +7 -7
  333. package/src/domain/users/models/user-payment-method.d.ts +16 -16
  334. package/src/domain/users/models/user.d.ts +29 -29
  335. package/src/domain/users/repositories/beauty-profile.repository.d.ts +4 -4
  336. package/src/domain/users/repositories/edition.repository.d.ts +4 -4
  337. package/src/domain/users/repositories/index.d.ts +10 -10
  338. package/src/domain/users/repositories/lead.repository.d.ts +4 -4
  339. package/src/domain/users/repositories/subscription-materialization.repository.d.ts +4 -4
  340. package/src/domain/users/repositories/subscription-payment.repository.d.ts +4 -4
  341. package/src/domain/users/repositories/subscription-summary.repository.d.ts +4 -4
  342. package/src/domain/users/repositories/subscription.repository.d.ts +4 -4
  343. package/src/domain/users/repositories/user-address.repository.d.ts +4 -4
  344. package/src/domain/users/repositories/user-payment-method.repository.d.ts +4 -4
  345. package/src/domain/users/repositories/user.repository.d.ts +6 -6
  346. package/src/domain/users/services/authentication.service.d.ts +12 -12
  347. package/src/domain/users/services/index.d.ts +3 -3
  348. package/src/domain/users/services/register.service.d.ts +7 -7
  349. package/src/domain/users/services/types/basic-user-data.type.d.ts +4 -4
  350. package/src/domain/users/services/types/index.d.ts +1 -1
  351. package/src/domain/users/use-cases/authentication.d.ts +21 -21
  352. package/src/domain/users/use-cases/index.d.ts +5 -5
  353. package/src/domain/users/use-cases/recovery-password.d.ts +6 -6
  354. package/src/domain/users/use-cases/register.d.ts +13 -13
  355. package/src/domain/users/use-cases/signout.d.ts +6 -6
  356. package/src/domain/users/use-cases/update-user-image.d.ts +9 -9
  357. package/src/errors/business.error.d.ts +7 -7
  358. package/src/errors/duplicated-results.error.d.ts +4 -4
  359. package/src/errors/enum/error.enum.d.ts +14 -14
  360. package/src/errors/enum/index.d.ts +1 -1
  361. package/src/errors/fraud-validation.error.d.ts +7 -7
  362. package/src/errors/index.d.ts +12 -12
  363. package/src/errors/invalid-argument.error.d.ts +4 -4
  364. package/src/errors/invalid-checkout.error.d.ts +7 -7
  365. package/src/errors/not-found.error.d.ts +5 -5
  366. package/src/errors/payment.error.d.ts +7 -7
  367. package/src/errors/required-argument.error.d.ts +6 -6
  368. package/src/errors/stock-limit.error.d.ts +5 -5
  369. package/src/errors/stock-out.error.d.ts +5 -5
  370. package/src/errors/types/checkout-additional-data-erro.type.d.ts +6 -6
  371. package/src/errors/types/index.d.ts +2 -2
  372. package/src/errors/types/pagarme-erros.type.d.ts +9 -9
  373. package/src/index.d.ts +5 -5
  374. package/src/infra/adyen/adapters/adyen-card-payment-axios.adapter.d.ts +19 -19
  375. package/src/infra/adyen/adapters/index.d.ts +1 -1
  376. package/src/infra/adyen/helpers/adyen-blocked-order.helper.d.ts +13 -13
  377. package/src/infra/adyen/helpers/adyen-payment-factory.helper.d.ts +6 -6
  378. package/src/infra/adyen/helpers/adyen-payment-operations.helper.d.ts +31 -31
  379. package/src/infra/adyen/helpers/index.d.ts +3 -3
  380. package/src/infra/adyen/index.d.ts +1 -1
  381. package/src/infra/cache/index.d.ts +2 -2
  382. package/src/infra/cache/resolve-cache-config.d.ts +2 -2
  383. package/src/infra/cache/restcache.adapter.d.ts +18 -18
  384. package/src/infra/elasticsearch/adapters/axios.adapter.d.ts +17 -17
  385. package/src/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +8 -8
  386. package/src/infra/elasticsearch/adapters/index.d.ts +2 -2
  387. package/src/infra/elasticsearch/helpers/elasticsearch-fields.helper.d.ts +8 -8
  388. package/src/infra/elasticsearch/helpers/elasticsearch-query-builder.helper.d.ts +16 -16
  389. package/src/infra/elasticsearch/helpers/elasticsearch-result-processor.helper.d.ts +8 -8
  390. package/src/infra/elasticsearch/helpers/elasticsearch-search-operations.helper.d.ts +11 -11
  391. package/src/infra/elasticsearch/helpers/index.d.ts +4 -4
  392. package/src/infra/elasticsearch/index.d.ts +3 -3
  393. package/src/infra/elasticsearch/indexes/index.d.ts +1 -1
  394. package/src/infra/elasticsearch/indexes/products-index.d.ts +13 -13
  395. package/src/infra/elasticsearch/types/elastic-search-result.d.ts +9 -9
  396. package/src/infra/elasticsearch/types/index.d.ts +1 -1
  397. package/src/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
  398. package/src/infra/firebase/auth/index.d.ts +2 -2
  399. package/src/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
  400. package/src/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +5 -5
  401. package/src/infra/firebase/auth/types/index.d.ts +1 -1
  402. package/src/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +8 -8
  403. package/src/infra/firebase/firestore/enums/index.d.ts +1 -1
  404. package/src/infra/firebase/firestore/index.d.ts +5 -5
  405. package/src/infra/firebase/firestore/mixins/helpers/cache-key-generator.helper.d.ts +9 -9
  406. package/src/infra/firebase/firestore/mixins/helpers/firestore-cache.helper.d.ts +41 -41
  407. package/src/infra/firebase/firestore/mixins/helpers/firestore-data-converter.helper.d.ts +7 -7
  408. package/src/infra/firebase/firestore/mixins/helpers/firestore-model-converter.helper.d.ts +14 -14
  409. package/src/infra/firebase/firestore/mixins/helpers/firestore-operations.helper.d.ts +24 -24
  410. package/src/infra/firebase/firestore/mixins/helpers/firestore-query-builder.helper.d.ts +37 -37
  411. package/src/infra/firebase/firestore/mixins/helpers/index.d.ts +4 -4
  412. package/src/infra/firebase/firestore/mixins/index.d.ts +9 -9
  413. package/src/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
  414. package/src/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +5 -5
  415. package/src/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
  416. package/src/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
  417. package/src/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +14 -14
  418. package/src/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
  419. package/src/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
  420. package/src/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +8 -11
  421. package/src/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
  422. package/src/infra/firebase/firestore/repositories/catalog/category-brand-firestore.repository.d.ts +7 -7
  423. package/src/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +33 -33
  424. package/src/infra/firebase/firestore/repositories/catalog/group-firestore.repository.d.ts +7 -7
  425. package/src/infra/firebase/firestore/repositories/catalog/index.d.ts +6 -6
  426. package/src/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +18 -18
  427. package/src/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +13 -13
  428. package/src/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +7 -7
  429. package/src/infra/firebase/firestore/repositories/general/index.d.ts +2 -2
  430. package/src/infra/firebase/firestore/repositories/general/log-firestore.repository.d.ts +7 -7
  431. package/src/infra/firebase/firestore/repositories/general/sequences-firestore.repository.d.ts +7 -7
  432. package/src/infra/firebase/firestore/repositories/index.d.ts +5 -5
  433. package/src/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
  434. package/src/infra/firebase/firestore/repositories/shop-settings/index.d.ts +4 -4
  435. package/src/infra/firebase/firestore/repositories/shop-settings/shop-configs-firestore.repository.d.ts +7 -7
  436. package/src/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +7 -7
  437. package/src/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +7 -7
  438. package/src/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +7 -7
  439. package/src/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.d.ts +8 -8
  440. package/src/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.d.ts +8 -8
  441. package/src/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +7 -7
  442. package/src/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +7 -7
  443. package/src/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
  444. package/src/infra/firebase/firestore/repositories/shopping/index.d.ts +14 -14
  445. package/src/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +6 -6
  446. package/src/infra/firebase/firestore/repositories/shopping/order-blocked-firestore.repository.d.ts +17 -17
  447. package/src/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
  448. package/src/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +7 -7
  449. package/src/infra/firebase/firestore/repositories/shopping/shopping-recurrence-edition-firestore.repository.d.ts +7 -7
  450. package/src/infra/firebase/firestore/repositories/shopping/shopping-recurrence-error-log-firestore.repository.d.ts +7 -7
  451. package/src/infra/firebase/firestore/repositories/shopping/shopping-recurrence-firestore.repository.d.ts +10 -10
  452. package/src/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +7 -7
  453. package/src/infra/firebase/firestore/repositories/users/index.d.ts +10 -10
  454. package/src/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +7 -7
  455. package/src/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +12 -12
  456. package/src/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +7 -7
  457. package/src/infra/firebase/firestore/repositories/users/subscription-materialization-firestore.repository.d.ts +7 -7
  458. package/src/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +12 -12
  459. package/src/infra/firebase/firestore/repositories/users/subscription-summary-firestore.repository.d.ts +7 -7
  460. package/src/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +12 -12
  461. package/src/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +12 -12
  462. package/src/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
  463. package/src/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +12 -12
  464. package/src/infra/firebase/firestore/services/connect-collection-reference.d.ts +21 -21
  465. package/src/infra/firebase/firestore/services/connect-collection.service.d.ts +32 -32
  466. package/src/infra/firebase/firestore/services/connect-document-reference.d.ts +12 -12
  467. package/src/infra/firebase/firestore/services/connect-document.service.d.ts +17 -17
  468. package/src/infra/firebase/firestore/services/connect-firestore.d.ts +7 -7
  469. package/src/infra/firebase/firestore/services/connect-firestore.service.d.ts +11 -11
  470. package/src/infra/firebase/firestore/services/index.d.ts +6 -6
  471. package/src/infra/firebase/firestore/types/connect-firestore/connect-document-data.type.d.ts +5 -5
  472. package/src/infra/firebase/firestore/types/connect-firestore/connect-document-snapshot.type.d.ts +10 -10
  473. package/src/infra/firebase/firestore/types/connect-firestore/connect-query-snapshot.type.d.ts +7 -7
  474. package/src/infra/firebase/firestore/types/connect-firestore/connect-where-option.type.d.ts +2 -2
  475. package/src/infra/firebase/firestore/types/connect-firestore/index.d.ts +4 -4
  476. package/src/infra/firebase/firestore/types/firestore-interceptors.type.d.ts +14 -14
  477. package/src/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
  478. package/src/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
  479. package/src/infra/firebase/firestore/types/firestore.repository.type.d.ts +21 -21
  480. package/src/infra/firebase/firestore/types/index.d.ts +5 -5
  481. package/src/infra/firebase/firestore/vo/connectBaseDocumentSnapshot.vo.d.ts +10 -10
  482. package/src/infra/firebase/firestore/vo/index.d.ts +1 -1
  483. package/src/infra/firebase/index.d.ts +3 -3
  484. package/src/infra/firebase/storage/firebase-file-uploader.service.d.ts +8 -8
  485. package/src/infra/firebase/storage/index.d.ts +1 -1
  486. package/src/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
  487. package/src/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +18 -18
  488. package/src/infra/hasura-graphql/enums/index.d.ts +2 -2
  489. package/src/infra/hasura-graphql/index.d.ts +4 -4
  490. package/src/infra/hasura-graphql/mixins/factories/create-hasura-class.factory.d.ts +30 -30
  491. package/src/infra/hasura-graphql/mixins/factories/delete-hasura-class.factory.d.ts +26 -26
  492. package/src/infra/hasura-graphql/mixins/factories/find-hasura-class.factory.d.ts +31 -31
  493. package/src/infra/hasura-graphql/mixins/factories/get-hasura-class.factory.d.ts +29 -29
  494. package/src/infra/hasura-graphql/mixins/factories/hasura-graphql-class.factory.d.ts +40 -40
  495. package/src/infra/hasura-graphql/mixins/factories/index.d.ts +6 -6
  496. package/src/infra/hasura-graphql/mixins/factories/update-hasura-class.factory.d.ts +36 -36
  497. package/src/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +13 -19
  498. package/src/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
  499. package/src/infra/hasura-graphql/mixins/helpers/cache-key-generator.helper.d.ts +6 -6
  500. package/src/infra/hasura-graphql/mixins/helpers/create/hasura-column.helper.d.ts +7 -7
  501. package/src/infra/hasura-graphql/mixins/helpers/create/hasura-create-operations.helper.d.ts +16 -16
  502. package/src/infra/hasura-graphql/mixins/helpers/create/index.d.ts +2 -2
  503. package/src/infra/hasura-graphql/mixins/helpers/delete/hasura-cache-operations.helper.d.ts +9 -9
  504. package/src/infra/hasura-graphql/mixins/helpers/delete/hasura-delete-operations.helper.d.ts +15 -15
  505. package/src/infra/hasura-graphql/mixins/helpers/delete/hasura-delete-variables.helper.d.ts +10 -10
  506. package/src/infra/hasura-graphql/mixins/helpers/delete/index.d.ts +3 -3
  507. package/src/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +8 -10
  508. package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-binding.helper.d.ts +18 -18
  509. package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-cache.helper.d.ts +25 -25
  510. package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-operations.helper.d.ts +20 -20
  511. package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-query-builder.helper.d.ts +14 -14
  512. package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-result.helper.d.ts +26 -26
  513. package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-variables.helper.d.ts +21 -21
  514. package/src/infra/hasura-graphql/mixins/helpers/find/index.d.ts +6 -6
  515. package/src/infra/hasura-graphql/mixins/helpers/get/hasura-get-cache.helper.d.ts +21 -21
  516. package/src/infra/hasura-graphql/mixins/helpers/get/hasura-get-operations.helper.d.ts +18 -18
  517. package/src/infra/hasura-graphql/mixins/helpers/get/hasura-get-variables.helper.d.ts +9 -9
  518. package/src/infra/hasura-graphql/mixins/helpers/get/index.d.ts +3 -3
  519. package/src/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +10 -12
  520. package/src/infra/hasura-graphql/mixins/helpers/hasura-auth.helper.d.ts +4 -4
  521. package/src/infra/hasura-graphql/mixins/helpers/hasura-data-converter.helper.d.ts +8 -8
  522. package/src/infra/hasura-graphql/mixins/helpers/hasura-graphql-operations.helper.d.ts +32 -32
  523. package/src/infra/hasura-graphql/mixins/helpers/hasura-query-builder.helper.d.ts +23 -23
  524. package/src/infra/hasura-graphql/mixins/helpers/hasura-request.helper.d.ts +11 -11
  525. package/src/infra/hasura-graphql/mixins/helpers/index.d.ts +16 -16
  526. package/src/infra/hasura-graphql/mixins/helpers/md5-generator.helper.d.ts +4 -4
  527. package/src/infra/hasura-graphql/mixins/helpers/update/hasura-update-data.helper.d.ts +6 -6
  528. package/src/infra/hasura-graphql/mixins/helpers/update/hasura-update-operations.helper.d.ts +18 -18
  529. package/src/infra/hasura-graphql/mixins/helpers/update/hasura-update-variables.helper.d.ts +25 -25
  530. package/src/infra/hasura-graphql/mixins/helpers/update/index.d.ts +3 -3
  531. package/src/infra/hasura-graphql/mixins/index.d.ts +7 -7
  532. package/src/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +5 -5
  533. package/src/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +7 -7
  534. package/src/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +5 -5
  535. package/src/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +4 -4
  536. package/src/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +5 -5
  537. package/src/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +6 -6
  538. package/src/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +6 -6
  539. package/src/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
  540. package/src/infra/hasura-graphql/models/index.d.ts +7 -7
  541. package/src/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +5 -5
  542. package/src/infra/hasura-graphql/models/product-catalog-hasura-graphql.d.ts +16 -16
  543. package/src/infra/hasura-graphql/models/product-errors-hasura-graphql.d.ts +6 -6
  544. package/src/infra/hasura-graphql/models/product-hasura-graphql.d.ts +18 -18
  545. package/src/infra/hasura-graphql/models/product-stock-entry-hasura-graphql.d.ts +3 -3
  546. package/src/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +15 -15
  547. package/src/infra/hasura-graphql/models/wishlist-hasura-graphql.d.ts +4 -4
  548. package/src/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.d.ts +8 -8
  549. package/src/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +11 -11
  550. package/src/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +38 -38
  551. package/src/infra/hasura-graphql/repositories/catalog/category-product-hasura-graphql.repository.d.ts +16 -16
  552. package/src/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.d.ts +16 -16
  553. package/src/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.d.ts +8 -8
  554. package/src/infra/hasura-graphql/repositories/catalog/helpers/category-cache-operations.helper.d.ts +31 -31
  555. package/src/infra/hasura-graphql/repositories/catalog/helpers/category-filter-operations.helper.d.ts +17 -17
  556. package/src/infra/hasura-graphql/repositories/catalog/helpers/category-home-operations.helper.d.ts +32 -32
  557. package/src/infra/hasura-graphql/repositories/catalog/helpers/category-mount-operations.helper.d.ts +19 -19
  558. package/src/infra/hasura-graphql/repositories/catalog/helpers/category-product-operations.helper.d.ts +62 -62
  559. package/src/infra/hasura-graphql/repositories/catalog/helpers/index.d.ts +10 -10
  560. package/src/infra/hasura-graphql/repositories/catalog/helpers/product-fetch-reviews.helper.d.ts +17 -17
  561. package/src/infra/hasura-graphql/repositories/catalog/helpers/product-review-cache.helper.d.ts +28 -28
  562. package/src/infra/hasura-graphql/repositories/catalog/helpers/product-review-operations.helper.d.ts +20 -20
  563. package/src/infra/hasura-graphql/repositories/catalog/helpers/product-review-update.helper.d.ts +20 -20
  564. package/src/infra/hasura-graphql/repositories/catalog/helpers/product-variant-report.helper.d.ts +9 -9
  565. package/src/infra/hasura-graphql/repositories/catalog/index.d.ts +16 -16
  566. package/src/infra/hasura-graphql/repositories/catalog/product-catalog-hasura-graphql.repository.d.ts +22 -22
  567. package/src/infra/hasura-graphql/repositories/catalog/product-errors-hasura-graphql.repository.d.ts +13 -13
  568. package/src/infra/hasura-graphql/repositories/catalog/product-group-hasura-graphql.repository.d.ts +7 -7
  569. package/src/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +45 -45
  570. package/src/infra/hasura-graphql/repositories/catalog/product-price-log-hasura-graphql.repository.d.ts +7 -7
  571. package/src/infra/hasura-graphql/repositories/catalog/product-review-hasura-graphql.repository.d.ts +11 -11
  572. package/src/infra/hasura-graphql/repositories/catalog/product-stock-entry-hasura-graphql.repository.d.ts +8 -8
  573. package/src/infra/hasura-graphql/repositories/catalog/product-stock-notification-hasura-graphql.repository.d.ts +22 -22
  574. package/src/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +14 -14
  575. package/src/infra/hasura-graphql/repositories/catalog/wishlist-hasura-graphql.repository.d.ts +30 -30
  576. package/src/infra/hasura-graphql/repositories/index.d.ts +1 -1
  577. package/src/infra/hasura-graphql/types/fields.type.d.ts +2 -2
  578. package/src/infra/hasura-graphql/types/graphql.repository.type.d.ts +25 -25
  579. package/src/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
  580. package/src/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +44 -44
  581. package/src/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
  582. package/src/infra/hasura-graphql/types/index.d.ts +8 -8
  583. package/src/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
  584. package/src/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
  585. package/src/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
  586. package/src/infra/index.d.ts +8 -8
  587. package/src/infra/mercado-pago/adapters/index.d.ts +3 -3
  588. package/src/infra/mercado-pago/adapters/mercado-pago-base-axios.d.ts +11 -11
  589. package/src/infra/mercado-pago/adapters/mercado-pago-boleto-payment-axios.adapter.d.ts +8 -8
  590. package/src/infra/mercado-pago/adapters/mercado-pago-card-payment-axios.adapter.d.ts +22 -22
  591. package/src/infra/mercado-pago/adapters/mercado-pago-pix-payment-axios.adapter.d.ts +8 -8
  592. package/src/infra/mercado-pago/enums/index.d.ts +2 -2
  593. package/src/infra/mercado-pago/enums/mercado-pago-status-detail.enum.d.ts +33 -33
  594. package/src/infra/mercado-pago/enums/mercado-pago-status.enum.d.ts +10 -10
  595. package/src/infra/mercado-pago/helpers/index.d.ts +3 -3
  596. package/src/infra/mercado-pago/helpers/mercado-pago-errors.helper.d.ts +3 -3
  597. package/src/infra/mercado-pago/helpers/mercado-pago-request.helper.d.ts +60 -60
  598. package/src/infra/mercado-pago/helpers/mercado-pago-response.helper.d.ts +10 -10
  599. package/src/infra/mercado-pago/index.d.ts +4 -4
  600. package/src/infra/mercado-pago/types/index.d.ts +3 -3
  601. package/src/infra/mercado-pago/types/mercado-pago-request.type.d.ts +1 -1
  602. package/src/infra/mercado-pago/types/mercado-pago-response.type.d.ts +211 -211
  603. package/src/infra/mercado-pago/types/mercado-pago-status-detail.type.d.ts +2 -2
  604. package/src/infra/mercado-pago/types/mercado-pago-status.type.d.ts +2 -2
  605. package/src/infra/pagarme/adapters/helpers/index.d.ts +6 -6
  606. package/src/infra/pagarme/adapters/helpers/pagarme-blocked-order.helper.d.ts +19 -19
  607. package/src/infra/pagarme/adapters/helpers/pagarme-errors.helper.d.ts +3 -3
  608. package/src/infra/pagarme/adapters/helpers/pagarme-payment-factory.helper.d.ts +11 -11
  609. package/src/infra/pagarme/adapters/helpers/pagarme-payment-operations.helper.d.ts +12 -12
  610. package/src/infra/pagarme/adapters/helpers/pagarme-v5-request.helper.d.ts +13 -13
  611. package/src/infra/pagarme/adapters/helpers/pagarme-v5-response.helper.d.ts +10 -10
  612. package/src/infra/pagarme/adapters/index.d.ts +2 -2
  613. package/src/infra/pagarme/adapters/v4/index.d.ts +3 -3
  614. package/src/infra/pagarme/adapters/v4/pagarme-bank-slip-payment-axios.adapter.d.ts +12 -12
  615. package/src/infra/pagarme/adapters/v4/pagarme-card-payment-axios.adapter.d.ts +18 -18
  616. package/src/infra/pagarme/adapters/v4/pagarme-pix-payment-axios.adapter.d.ts +11 -11
  617. package/src/infra/pagarme/adapters/v5/index.d.ts +4 -4
  618. package/src/infra/pagarme/adapters/v5/pagarmev5-bank-slip-payment-axios.adapter.d.ts +11 -11
  619. package/src/infra/pagarme/adapters/v5/pagarmev5-base-axios.d.ts +11 -11
  620. package/src/infra/pagarme/adapters/v5/pagarmev5-card-payment-axios.adapter.d.ts +25 -25
  621. package/src/infra/pagarme/adapters/v5/pagarmev5-pix-payment-axios.adapter.d.ts +11 -11
  622. package/src/infra/pagarme/index.d.ts +2 -2
  623. package/src/infra/pagarme/types/index.d.ts +1 -1
  624. package/src/infra/pagarme/types/v5/index.d.ts +4 -4
  625. package/src/infra/pagarme/types/v5/pagarmev5-customer.type.d.ts +19 -19
  626. package/src/infra/pagarme/types/v5/pagarmev5-order-request-payload.type.d.ts +91 -91
  627. package/src/infra/pagarme/types/v5/pagarmev5-order-response.type.d.ts +241 -241
  628. package/src/infra/pagarme/types/v5/pagarmev5-postback-response.type.d.ts +11 -11
  629. package/src/infra/vertex-ai/adapters/index.d.ts +2 -2
  630. package/src/infra/vertex-ai/adapters/vertex-ai-search.adapter.d.ts +10 -10
  631. package/src/infra/vertex-ai/adapters/vertex-axios.adapter.d.ts +15 -15
  632. package/src/infra/vertex-ai/index.d.ts +3 -3
  633. package/src/infra/vertex-ai/indexes/index.d.ts +1 -1
  634. package/src/infra/vertex-ai/indexes/products-vertex-search.d.ts +13 -13
  635. package/src/infra/vertex-ai/types/axios-vertex-search-config.d.ts +4 -4
  636. package/src/infra/vertex-ai/types/index.d.ts +3 -3
  637. package/src/infra/vertex-ai/types/product-bulk.d.ts +4 -4
  638. package/src/infra/vertex-ai/types/product-search.d.ts +21 -21
  639. package/src/utils/circular-dependencies.d.ts +3 -3
  640. package/src/utils/decorators/debug.class.decorator.d.ts +2 -2
  641. package/src/utils/decorators/index.d.ts +2 -2
  642. package/src/utils/decorators/trace.method.decorator.d.ts +14 -14
  643. package/src/utils/get.d.ts +1 -1
  644. package/src/utils/helpers/class-name.helper.d.ts +3 -3
  645. package/src/utils/helpers/debug-decorator.helper.d.ts +9 -9
  646. package/src/utils/helpers/debug.helper.d.ts +60 -60
  647. package/src/utils/helpers/index.d.ts +4 -4
  648. package/src/utils/helpers/reflect.helper.d.ts +50 -50
  649. package/src/utils/index.d.ts +18 -18
  650. package/src/utils/is-uuid.d.ts +1 -1
  651. package/src/utils/is.d.ts +1 -1
  652. package/src/utils/log.utils.d.ts +7 -7
  653. package/src/utils/mixins/base.mixin.d.ts +3 -3
  654. package/src/utils/mixins/index.d.ts +3 -3
  655. package/src/utils/mixins/merge-constructor-params.type.d.ts +3 -3
  656. package/src/utils/mixins/mixin-ctor.type.d.ts +1 -1
  657. package/src/utils/obs-emitter.d.ts +15 -15
  658. package/src/utils/parse-datetime.d.ts +1 -1
  659. package/src/utils/serialize.d.ts +2 -2
  660. package/src/utils/to-cents.d.ts +5 -5
  661. package/src/utils/types/array-element.type.d.ts +1 -1
  662. package/src/utils/types/index.d.ts +2 -2
  663. package/src/utils/types/prop.type.d.ts +1 -1
  664. package/index.cjs.d.ts +0 -1
@@ -1,4 +1,4 @@
1
- import { CustomError } from 'ts-custom-error';
2
- export declare class DuplicatedResultsError extends CustomError {
3
- constructor(message: string);
4
- }
1
+ import { CustomError } from 'ts-custom-error';
2
+ export declare class DuplicatedResultsError extends CustomError {
3
+ constructor(message: string);
4
+ }
@@ -1,14 +1,14 @@
1
- export declare enum ErrorsCode {
2
- genericError = "generic-error",
3
- businessError = "business-error",
4
- invalidCheckoutError = "invalid-checkout",
5
- stockLimit = "stock-limit",
6
- stockOut = "stock-out",
7
- notFound = "not-found",
8
- fraudPreventionInternal = "fraud-prevention-internal",
9
- fraudPreventionExternal = "fraud-prevention-external",
10
- invalidCardError = "invalid-card-error",
11
- insufficientFundsError = "insufficient-funds-error",
12
- paymentNotAuthorizedError = "payment-not-authorized-error",
13
- paymentError = "payment-error"
14
- }
1
+ export declare enum ErrorsCode {
2
+ genericError = "generic-error",
3
+ businessError = "business-error",
4
+ invalidCheckoutError = "invalid-checkout",
5
+ stockLimit = "stock-limit",
6
+ stockOut = "stock-out",
7
+ notFound = "not-found",
8
+ fraudPreventionInternal = "fraud-prevention-internal",
9
+ fraudPreventionExternal = "fraud-prevention-external",
10
+ invalidCardError = "invalid-card-error",
11
+ insufficientFundsError = "insufficient-funds-error",
12
+ paymentNotAuthorizedError = "payment-not-authorized-error",
13
+ paymentError = "payment-error"
14
+ }
@@ -1 +1 @@
1
- export * from './error.enum';
1
+ export * from './error.enum';
@@ -1,7 +1,7 @@
1
- import { CustomError } from 'ts-custom-error';
2
- import { checkoutAdditionalDataError } from './types';
3
- export declare class FraudValidationError extends CustomError {
4
- additionalData?: checkoutAdditionalDataError;
5
- type: string;
6
- constructor(message: string, type: string, additionalData?: checkoutAdditionalDataError);
7
- }
1
+ import { CustomError } from 'ts-custom-error';
2
+ import { checkoutAdditionalDataError } from './types';
3
+ export declare class FraudValidationError extends CustomError {
4
+ additionalData?: checkoutAdditionalDataError;
5
+ type: string;
6
+ constructor(message: string, type: string, additionalData?: checkoutAdditionalDataError);
7
+ }
@@ -1,12 +1,12 @@
1
- export * from './business.error';
2
- export * from './duplicated-results.error';
3
- export * from './enum';
4
- export * from './fraud-validation.error';
5
- export * from './invalid-argument.error';
6
- export * from './invalid-checkout.error';
7
- export * from './not-found.error';
8
- export * from './payment.error';
9
- export * from './required-argument.error';
10
- export * from './stock-limit.error';
11
- export * from './stock-out.error';
12
- export * from './types';
1
+ export * from './business.error';
2
+ export * from './duplicated-results.error';
3
+ export * from './enum';
4
+ export * from './fraud-validation.error';
5
+ export * from './invalid-argument.error';
6
+ export * from './invalid-checkout.error';
7
+ export * from './not-found.error';
8
+ export * from './payment.error';
9
+ export * from './required-argument.error';
10
+ export * from './stock-limit.error';
11
+ export * from './stock-out.error';
12
+ export * from './types';
@@ -1,4 +1,4 @@
1
- import { CustomError } from 'ts-custom-error';
2
- export declare class InvalidArgumentError extends CustomError {
3
- constructor(message: string);
4
- }
1
+ import { CustomError } from 'ts-custom-error';
2
+ export declare class InvalidArgumentError extends CustomError {
3
+ constructor(message: string);
4
+ }
@@ -1,7 +1,7 @@
1
- import { CustomError } from 'ts-custom-error';
2
- import { checkoutAdditionalDataError } from './types';
3
- export declare class InvalidCheckoutError extends CustomError {
4
- additionalData?: checkoutAdditionalDataError;
5
- type: string;
6
- constructor(message: string, additionalData?: checkoutAdditionalDataError);
7
- }
1
+ import { CustomError } from 'ts-custom-error';
2
+ import { checkoutAdditionalDataError } from './types';
3
+ export declare class InvalidCheckoutError extends CustomError {
4
+ additionalData?: checkoutAdditionalDataError;
5
+ type: string;
6
+ constructor(message: string, additionalData?: checkoutAdditionalDataError);
7
+ }
@@ -1,5 +1,5 @@
1
- import { CustomError } from 'ts-custom-error';
2
- export declare class NotFoundError extends CustomError {
3
- type: string;
4
- constructor(message: string);
5
- }
1
+ import { CustomError } from 'ts-custom-error';
2
+ export declare class NotFoundError extends CustomError {
3
+ type: string;
4
+ constructor(message: string);
5
+ }
@@ -1,7 +1,7 @@
1
- import { CustomError } from 'ts-custom-error';
2
- import { checkoutAdditionalDataError } from './types';
3
- export declare class PaymentError extends CustomError {
4
- additionalData?: checkoutAdditionalDataError;
5
- type: string;
6
- constructor(message: string, type: string, additionalData?: checkoutAdditionalDataError);
7
- }
1
+ import { CustomError } from 'ts-custom-error';
2
+ import { checkoutAdditionalDataError } from './types';
3
+ export declare class PaymentError extends CustomError {
4
+ additionalData?: checkoutAdditionalDataError;
5
+ type: string;
6
+ constructor(message: string, type: string, additionalData?: checkoutAdditionalDataError);
7
+ }
@@ -1,6 +1,6 @@
1
- import { CustomError } from 'ts-custom-error';
2
- export declare class RequiredArgumentError extends CustomError {
3
- readonly args: string[];
4
- arguments: string[];
5
- constructor(args: string[]);
6
- }
1
+ import { CustomError } from 'ts-custom-error';
2
+ export declare class RequiredArgumentError extends CustomError {
3
+ readonly args: string[];
4
+ arguments: string[];
5
+ constructor(args: string[]);
6
+ }
@@ -1,5 +1,5 @@
1
- import { BusinessError } from './business.error';
2
- import { checkoutAdditionalDataError } from './types';
3
- export declare class StockLimitError extends BusinessError {
4
- constructor(message: string, additionalData: checkoutAdditionalDataError);
5
- }
1
+ import { BusinessError } from './business.error';
2
+ import { checkoutAdditionalDataError } from './types';
3
+ export declare class StockLimitError extends BusinessError {
4
+ constructor(message: string, additionalData: checkoutAdditionalDataError);
5
+ }
@@ -1,5 +1,5 @@
1
- import { BusinessError } from './business.error';
2
- import { checkoutAdditionalDataError } from './types';
3
- export declare class StockOutError extends BusinessError {
4
- constructor(message: string, additionalData?: checkoutAdditionalDataError);
5
- }
1
+ import { BusinessError } from './business.error';
2
+ import { checkoutAdditionalDataError } from './types';
3
+ export declare class StockOutError extends BusinessError {
4
+ constructor(message: string, additionalData?: checkoutAdditionalDataError);
5
+ }
@@ -1,6 +1,6 @@
1
- export type checkoutAdditionalDataError = {
2
- checkoutId?: string;
3
- userEmail?: string;
4
- info?: any;
5
- paymentId?: string | number;
6
- };
1
+ export type checkoutAdditionalDataError = {
2
+ checkoutId?: string;
3
+ userEmail?: string;
4
+ info?: any;
5
+ paymentId?: string | number;
6
+ };
@@ -1,2 +1,2 @@
1
- export * from './checkout-additional-data-erro.type';
2
- export * from './pagarme-erros.type';
1
+ export * from './checkout-additional-data-erro.type';
2
+ export * from './pagarme-erros.type';
@@ -1,9 +1,9 @@
1
- export type PagarMeError = {
2
- errors: {
3
- message: string;
4
- parameter_name: string;
5
- type: string;
6
- }[];
7
- method: string;
8
- url: string;
9
- };
1
+ export type PagarMeError = {
2
+ errors: {
3
+ message: string;
4
+ parameter_name: string;
5
+ type: string;
6
+ }[];
7
+ method: string;
8
+ url: string;
9
+ };
package/src/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import 'reflect-metadata';
2
- export * from './domain';
3
- export * from './errors';
4
- export * from './infra';
5
- export * from './utils';
1
+ import 'reflect-metadata';
2
+ export * from './domain';
3
+ export * from './errors';
4
+ export * from './infra';
5
+ export * from './utils';
@@ -1,19 +1,19 @@
1
- import { BusinessUnitEnum } from '../../../domain';
2
- import { PaymentProviderCard } from '../../../domain/shopping/interfaces';
3
- import { Checkout, Payment, PaymentTransaction } from '../../../domain/shopping/models';
4
- import { OrderBlockedRepository, PaymentRepository } from '../../../domain/shopping/repositories';
5
- import { AdyenCard, AdyenCredentials, PaymentCardInfo } from '../../../domain/shopping/types';
6
- export declare class AdyenCardAxiosAdapter implements PaymentProviderCard<AdyenCard> {
7
- private credentials;
8
- private paymentRepository;
9
- private orderBlockedRepository;
10
- constructor(credentials: AdyenCredentials, paymentRepository: PaymentRepository, orderBlockedRepository: OrderBlockedRepository);
11
- createCardHash(_bu: BusinessUnitEnum): Promise<string>;
12
- pay(checkout: Checkout, card: PaymentCardInfo): Promise<Payment>;
13
- private executeAdyenPayment;
14
- private handleUnauthorizedPayment;
15
- private createSuccessfulPayment;
16
- addCard(): Promise<AdyenCard>;
17
- getCardByToken(_token: string): Promise<AdyenCard>;
18
- createTransaction(_info: any): Promise<PaymentTransaction>;
19
- }
1
+ import { BusinessUnitEnum } from '../../../domain';
2
+ import { PaymentProviderCard } from '../../../domain/shopping/interfaces';
3
+ import { Checkout, Payment, PaymentTransaction } from '../../../domain/shopping/models';
4
+ import { OrderBlockedRepository, PaymentRepository } from '../../../domain/shopping/repositories';
5
+ import { AdyenCard, AdyenCredentials, PaymentCardInfo } from '../../../domain/shopping/types';
6
+ export declare class AdyenCardAxiosAdapter implements PaymentProviderCard<AdyenCard> {
7
+ private credentials;
8
+ private paymentRepository;
9
+ private orderBlockedRepository;
10
+ constructor(credentials: AdyenCredentials, paymentRepository: PaymentRepository, orderBlockedRepository: OrderBlockedRepository);
11
+ createCardHash(_bu: BusinessUnitEnum): Promise<string>;
12
+ pay(checkout: Checkout, card: PaymentCardInfo): Promise<Payment>;
13
+ private executeAdyenPayment;
14
+ private handleUnauthorizedPayment;
15
+ private createSuccessfulPayment;
16
+ addCard(): Promise<AdyenCard>;
17
+ getCardByToken(_token: string): Promise<AdyenCard>;
18
+ createTransaction(_info: any): Promise<PaymentTransaction>;
19
+ }
@@ -1 +1 @@
1
- export * from './adyen-card-payment-axios.adapter';
1
+ export * from './adyen-card-payment-axios.adapter';
@@ -1,13 +1,13 @@
1
- import { Checkout } from '../../../domain/shopping/models';
2
- import { OrderBlockedRepository } from '../../../domain/shopping/repositories';
3
- import { PaymentCardInfo } from '../../../domain/shopping/types';
4
- import { PaymentError } from '../../../errors';
5
- export declare class AdyenBlockedOrderHelper {
6
- static handleUnauthorizedPayment(params: {
7
- checkout: Checkout;
8
- card: PaymentCardInfo;
9
- orderBlockedRepository: OrderBlockedRepository;
10
- adyenResponse: any;
11
- }): Promise<never>;
12
- static createPaymentError(checkout: Checkout, errorInfo: any): PaymentError;
13
- }
1
+ import { Checkout } from '../../../domain/shopping/models';
2
+ import { OrderBlockedRepository } from '../../../domain/shopping/repositories';
3
+ import { PaymentCardInfo } from '../../../domain/shopping/types';
4
+ import { PaymentError } from '../../../errors';
5
+ export declare class AdyenBlockedOrderHelper {
6
+ static handleUnauthorizedPayment(params: {
7
+ checkout: Checkout;
8
+ card: PaymentCardInfo;
9
+ orderBlockedRepository: OrderBlockedRepository;
10
+ adyenResponse: any;
11
+ }): Promise<never>;
12
+ static createPaymentError(checkout: Checkout, errorInfo: any): PaymentError;
13
+ }
@@ -1,6 +1,6 @@
1
- import { Checkout, Payment } from '../../../domain/shopping/models';
2
- import { PaymentRepository } from '../../../domain/shopping/repositories';
3
- import { AdyenPaymentResponse } from './adyen-payment-operations.helper';
4
- export declare class AdyenPaymentFactoryHelper {
5
- static createPaymentFromAdyenResponse(checkout: Checkout, adyenResponse: AdyenPaymentResponse, paymentRepository: PaymentRepository): Promise<Payment>;
6
- }
1
+ import { Checkout, Payment } from '../../../domain/shopping/models';
2
+ import { PaymentRepository } from '../../../domain/shopping/repositories';
3
+ import { AdyenPaymentResponse } from './adyen-payment-operations.helper';
4
+ export declare class AdyenPaymentFactoryHelper {
5
+ static createPaymentFromAdyenResponse(checkout: Checkout, adyenResponse: AdyenPaymentResponse, paymentRepository: PaymentRepository): Promise<Payment>;
6
+ }
@@ -1,31 +1,31 @@
1
- import { AxiosResponse } from 'axios';
2
- import { Checkout } from '../../../domain/shopping/models';
3
- import { AdyenCredentials, PaymentCardInfo } from '../../../domain/shopping/types';
4
- export interface AdyenPaymentRequest {
5
- amount: {
6
- currency: string;
7
- value: number;
8
- };
9
- paymentMethod: {
10
- type: string;
11
- storedPaymentMethodId: string;
12
- };
13
- reference: string;
14
- shopperInteraction: string;
15
- merchantAccount: string;
16
- shopperReference: string;
17
- recurringProcessingModel: string;
18
- returnUrl: string;
19
- installments: {
20
- value: number;
21
- };
22
- }
23
- export interface AdyenPaymentResponse {
24
- resultCode: 'Authorised' | 'Refused' | 'Error' | string;
25
- [key: string]: any;
26
- }
27
- export declare class AdyenPaymentOperationsHelper {
28
- static buildPaymentRequest(checkout: Checkout, card: PaymentCardInfo, credentials: AdyenCredentials): AdyenPaymentRequest;
29
- static executePaymentRequest(paymentRequest: AdyenPaymentRequest, credentials: AdyenCredentials): Promise<AxiosResponse<AdyenPaymentResponse>>;
30
- static isPaymentAuthorised(response: AdyenPaymentResponse): boolean;
31
- }
1
+ import { AxiosResponse } from 'axios';
2
+ import { Checkout } from '../../../domain/shopping/models';
3
+ import { AdyenCredentials, PaymentCardInfo } from '../../../domain/shopping/types';
4
+ export interface AdyenPaymentRequest {
5
+ amount: {
6
+ currency: string;
7
+ value: number;
8
+ };
9
+ paymentMethod: {
10
+ type: string;
11
+ storedPaymentMethodId: string;
12
+ };
13
+ reference: string;
14
+ shopperInteraction: string;
15
+ merchantAccount: string;
16
+ shopperReference: string;
17
+ recurringProcessingModel: string;
18
+ returnUrl: string;
19
+ installments: {
20
+ value: number;
21
+ };
22
+ }
23
+ export interface AdyenPaymentResponse {
24
+ resultCode: 'Authorised' | 'Refused' | 'Error' | string;
25
+ [key: string]: any;
26
+ }
27
+ export declare class AdyenPaymentOperationsHelper {
28
+ static buildPaymentRequest(checkout: Checkout, card: PaymentCardInfo, credentials: AdyenCredentials): AdyenPaymentRequest;
29
+ static executePaymentRequest(paymentRequest: AdyenPaymentRequest, credentials: AdyenCredentials): Promise<AxiosResponse<AdyenPaymentResponse>>;
30
+ static isPaymentAuthorised(response: AdyenPaymentResponse): boolean;
31
+ }
@@ -1,3 +1,3 @@
1
- export * from './adyen-blocked-order.helper';
2
- export * from './adyen-payment-factory.helper';
3
- export * from './adyen-payment-operations.helper';
1
+ export * from './adyen-blocked-order.helper';
2
+ export * from './adyen-payment-factory.helper';
3
+ export * from './adyen-payment-operations.helper';
@@ -1 +1 @@
1
- export * from './adapters';
1
+ export * from './adapters';
@@ -1,2 +1,2 @@
1
- export * from './resolve-cache-config';
2
- export * from './restcache.adapter';
1
+ export * from './resolve-cache-config';
2
+ export * from './restcache.adapter';
@@ -1,2 +1,2 @@
1
- import { CacheConfig } from '../../domain/generic/repository/types/repository-cache-options.type';
2
- export declare function resolveCacheConfig(cache: unknown): CacheConfig | undefined;
1
+ import { CacheConfig } from '../../domain/generic/repository/types/repository-cache-options.type';
2
+ export declare function resolveCacheConfig(cache: unknown): CacheConfig | undefined;
@@ -1,18 +1,18 @@
1
- import { CacheAdapter, CacheOptions } from '../../domain/general/cacheadapter';
2
- export interface RESTCacheConfig {
3
- baseURL: string;
4
- authToken?: string;
5
- mobileApiKey?: string;
6
- }
7
- export declare class RestCacheAdapter implements CacheAdapter {
8
- private client;
9
- private readonly logger;
10
- private readonly configured;
11
- constructor(config: RESTCacheConfig);
12
- isConfigured(): boolean;
13
- set(options: CacheOptions): Promise<boolean>;
14
- get<T = any>(key: string): Promise<T | null>;
15
- remove(key: string): Promise<boolean>;
16
- clear(): Promise<boolean>;
17
- private isValidBaseURL;
18
- }
1
+ import { CacheAdapter, CacheOptions } from '../../domain/general/cacheadapter';
2
+ export interface RESTCacheConfig {
3
+ baseURL: string;
4
+ authToken?: string;
5
+ mobileApiKey?: string;
6
+ }
7
+ export declare class RestCacheAdapter implements CacheAdapter {
8
+ private client;
9
+ private readonly logger;
10
+ private readonly configured;
11
+ constructor(config: RESTCacheConfig);
12
+ isConfigured(): boolean;
13
+ set(options: CacheOptions): Promise<boolean>;
14
+ get<T = any>(key: string): Promise<T | null>;
15
+ remove(key: string): Promise<boolean>;
16
+ clear(): Promise<boolean>;
17
+ private isValidBaseURL;
18
+ }
@@ -1,17 +1,17 @@
1
- import { ModelBaseStructure } from '../../../domain';
2
- import { ElasticSearchResult } from '../types/elastic-search-result';
3
- import { ElasticSearchAdapter } from './elastic-search.adapter';
4
- export type AxiosElasticSearchConfig = {
5
- url: string;
6
- credential: string;
7
- };
8
- export declare class AxiosAdapter<T extends ModelBaseStructure<T>> implements ElasticSearchAdapter<T> {
9
- private readonly config;
10
- private logger;
11
- constructor(config: AxiosElasticSearchConfig);
12
- get(index: string, id: string): Promise<T>;
13
- query(index: string, query: any): Promise<ElasticSearchResult<T>>;
14
- save(index: string, data: T): Promise<void>;
15
- update(index: string, id: string, data: Partial<T>): Promise<void>;
16
- delete(index: string, id: string): Promise<void>;
17
- }
1
+ import { ModelBaseStructure } from '../../../domain';
2
+ import { ElasticSearchResult } from '../types/elastic-search-result';
3
+ import { ElasticSearchAdapter } from './elastic-search.adapter';
4
+ export type AxiosElasticSearchConfig = {
5
+ url: string;
6
+ credential: string;
7
+ };
8
+ export declare class AxiosAdapter<T extends ModelBaseStructure<T>> implements ElasticSearchAdapter<T> {
9
+ private readonly config;
10
+ private logger;
11
+ constructor(config: AxiosElasticSearchConfig);
12
+ get(index: string, id: string): Promise<T>;
13
+ query(index: string, query: any): Promise<ElasticSearchResult<T>>;
14
+ save(index: string, data: T): Promise<void>;
15
+ update(index: string, id: string, data: Partial<T>): Promise<void>;
16
+ delete(index: string, id: string): Promise<void>;
17
+ }
@@ -1,8 +1,8 @@
1
- import { ElasticSearchResult } from '../types/elastic-search-result';
2
- export interface ElasticSearchAdapter<T = any> {
3
- get(index: string, id: string): Promise<T>;
4
- query(index: string, query: any): Promise<ElasticSearchResult<T>>;
5
- save(index: string, data: T): Promise<void>;
6
- update(index: string, id: string, data: Partial<T>): Promise<void>;
7
- delete(index: string, id: string): Promise<void>;
8
- }
1
+ import { ElasticSearchResult } from '../types/elastic-search-result';
2
+ export interface ElasticSearchAdapter<T = any> {
3
+ get(index: string, id: string): Promise<T>;
4
+ query(index: string, query: any): Promise<ElasticSearchResult<T>>;
5
+ save(index: string, data: T): Promise<void>;
6
+ update(index: string, id: string, data: Partial<T>): Promise<void>;
7
+ delete(index: string, id: string): Promise<void>;
8
+ }
@@ -1,2 +1,2 @@
1
- export * from './axios.adapter';
2
- export * from './elastic-search.adapter';
1
+ export * from './axios.adapter';
2
+ export * from './elastic-search.adapter';
@@ -1,8 +1,8 @@
1
- export declare class ElasticSearchFieldsHelper {
2
- static getProductSearchFields(total: number): string[];
3
- static getProductSearchFilters(): Array<{
4
- term: {
5
- [key: string]: string | boolean | number;
6
- };
7
- }>;
8
- }
1
+ export declare class ElasticSearchFieldsHelper {
2
+ static getProductSearchFields(total: number): string[];
3
+ static getProductSearchFilters(): Array<{
4
+ term: {
5
+ [key: string]: string | boolean | number;
6
+ };
7
+ }>;
8
+ }
@@ -1,16 +1,16 @@
1
- export interface ElasticSearchQuery {
2
- should: any[];
3
- filter: Array<{
4
- term: {
5
- [key: string]: string | boolean | number;
6
- };
7
- }>;
8
- }
9
- export declare class ElasticSearchQueryBuilderHelper {
10
- static buildProductSearchQuery(searchTerm: string, filters: Array<{
11
- term: {
12
- [key: string]: string | boolean | number;
13
- };
14
- }>): ElasticSearchQuery;
15
- private static addComplementarySearchRules;
16
- }
1
+ export interface ElasticSearchQuery {
2
+ should: any[];
3
+ filter: Array<{
4
+ term: {
5
+ [key: string]: string | boolean | number;
6
+ };
7
+ }>;
8
+ }
9
+ export declare class ElasticSearchQueryBuilderHelper {
10
+ static buildProductSearchQuery(searchTerm: string, filters: Array<{
11
+ term: {
12
+ [key: string]: string | boolean | number;
13
+ };
14
+ }>): ElasticSearchQuery;
15
+ private static addComplementarySearchRules;
16
+ }
@@ -1,8 +1,8 @@
1
- import { Product } from '../../../domain';
2
- import { ElasticSearchResult } from '../types';
3
- export declare class ElasticSearchResultProcessorHelper {
4
- static processProductSearchResults(search: ElasticSearchResult<Product>): any[];
5
- private static filterValidHits;
6
- private static applyPriceRounding;
7
- private static transformHitsToProducts;
8
- }
1
+ import { Product } from '../../../domain';
2
+ import { ElasticSearchResult } from '../types';
3
+ export declare class ElasticSearchResultProcessorHelper {
4
+ static processProductSearchResults(search: ElasticSearchResult<Product>): any[];
5
+ private static filterValidHits;
6
+ private static applyPriceRounding;
7
+ private static transformHitsToProducts;
8
+ }
@@ -1,11 +1,11 @@
1
- import { Product } from '../../../domain';
2
- import { ElasticSearchAdapter } from '../adapters';
3
- export interface ProductSearchParams {
4
- searchTerm: string;
5
- total: number;
6
- shop?: string;
7
- }
8
- export declare class ElasticSearchOperationsHelper {
9
- static executeProductSearch(params: ProductSearchParams, adapter: ElasticSearchAdapter<Product>, index: string): Promise<any[]>;
10
- private static performSearch;
11
- }
1
+ import { Product } from '../../../domain';
2
+ import { ElasticSearchAdapter } from '../adapters';
3
+ export interface ProductSearchParams {
4
+ searchTerm: string;
5
+ total: number;
6
+ shop?: string;
7
+ }
8
+ export declare class ElasticSearchOperationsHelper {
9
+ static executeProductSearch(params: ProductSearchParams, adapter: ElasticSearchAdapter<Product>, index: string): Promise<any[]>;
10
+ private static performSearch;
11
+ }
@@ -1,4 +1,4 @@
1
- export * from './elasticsearch-fields.helper';
2
- export * from './elasticsearch-query-builder.helper';
3
- export * from './elasticsearch-result-processor.helper';
4
- export * from './elasticsearch-search-operations.helper';
1
+ export * from './elasticsearch-fields.helper';
2
+ export * from './elasticsearch-query-builder.helper';
3
+ export * from './elasticsearch-result-processor.helper';
4
+ export * from './elasticsearch-search-operations.helper';
@@ -1,3 +1,3 @@
1
- export * from './adapters';
2
- export * from './indexes';
3
- export * from './types';
1
+ export * from './adapters';
2
+ export * from './indexes';
3
+ export * from './types';
@@ -1 +1 @@
1
- export * from './products-index';
1
+ export * from './products-index';