@infrab4a/connect 4.15.0-beta.1 → 4.15.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 (415) hide show
  1. package/index.cjs.js +5694 -5534
  2. package/index.d.ts +1 -1
  3. package/index.esm.js +5694 -5536
  4. package/package.json +2 -2
  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-base.d.ts +49 -49
  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-for-product.d.ts +5 -5
  12. package/src/domain/catalog/models/category.d.ts +7 -7
  13. package/src/domain/catalog/models/enums/index.d.ts +2 -2
  14. package/src/domain/catalog/models/enums/product-genders.enum.d.ts +5 -5
  15. package/src/domain/catalog/models/enums/shops.enum.d.ts +6 -6
  16. package/src/domain/catalog/models/filter-option.d.ts +9 -9
  17. package/src/domain/catalog/models/filter.d.ts +15 -15
  18. package/src/domain/catalog/models/index.d.ts +13 -13
  19. package/src/domain/catalog/models/kit-product.d.ts +12 -12
  20. package/src/domain/catalog/models/product-base.d.ts +42 -42
  21. package/src/domain/catalog/models/product-for-category.d.ts +7 -7
  22. package/src/domain/catalog/models/product-for-kit.d.ts +7 -7
  23. package/src/domain/catalog/models/product-reviews.d.ts +20 -20
  24. package/src/domain/catalog/models/product-stock-notification.d.ts +12 -12
  25. package/src/domain/catalog/models/product.d.ts +9 -9
  26. package/src/domain/catalog/models/types/category-condition.type.d.ts +4 -4
  27. package/src/domain/catalog/models/types/category-images.type.d.ts +8 -8
  28. package/src/domain/catalog/models/types/category-metadata.type.d.ts +6 -6
  29. package/src/domain/catalog/models/types/category-most-relevant.type.d.ts +4 -4
  30. package/src/domain/catalog/models/types/category-product.d.ts +4 -4
  31. package/src/domain/catalog/models/types/index.d.ts +15 -15
  32. package/src/domain/catalog/models/types/product-evaluation.type.d.ts +6 -6
  33. package/src/domain/catalog/models/types/product-gender.type.d.ts +1 -1
  34. package/src/domain/catalog/models/types/product-label.type.d.ts +1 -1
  35. package/src/domain/catalog/models/types/product-metadata.type.d.ts +4 -4
  36. package/src/domain/catalog/models/types/product-review.type.d.ts +17 -17
  37. package/src/domain/catalog/models/types/report-stock-notification.type.d.ts +21 -21
  38. package/src/domain/catalog/models/types/shop-description.type.d.ts +9 -9
  39. package/src/domain/catalog/models/types/shop-price.type.d.ts +7 -7
  40. package/src/domain/catalog/models/types/stock.type.d.ts +3 -3
  41. package/src/domain/catalog/models/types/variant-grade.type.d.ts +4 -4
  42. package/src/domain/catalog/models/variant.d.ts +17 -17
  43. package/src/domain/catalog/models/wishlist.d.ts +11 -11
  44. package/src/domain/catalog/repositories/category-collection-children.repository.d.ts +4 -4
  45. package/src/domain/catalog/repositories/category-filter.repository.d.ts +6 -6
  46. package/src/domain/catalog/repositories/category.repository.d.ts +18 -18
  47. package/src/domain/catalog/repositories/filter-option.repository.d.ts +4 -4
  48. package/src/domain/catalog/repositories/filter.repository.d.ts +4 -4
  49. package/src/domain/catalog/repositories/index.d.ts +11 -11
  50. package/src/domain/catalog/repositories/product-reviews.repository.d.ts +7 -7
  51. package/src/domain/catalog/repositories/product-stock-notification.repository.d.ts +13 -13
  52. package/src/domain/catalog/repositories/product.repository.d.ts +28 -28
  53. package/src/domain/catalog/repositories/subscription-product.repository.d.ts +4 -4
  54. package/src/domain/catalog/repositories/variant.repository.d.ts +4 -4
  55. package/src/domain/catalog/repositories/wishlist.repository.d.ts +9 -9
  56. package/src/domain/general/index.d.ts +2 -1
  57. package/src/domain/general/search/index.d.ts +1 -0
  58. package/src/domain/general/search/product-search-index.d.ts +3 -0
  59. package/src/domain/general/storage/file-uploader.service.d.ts +3 -3
  60. package/src/domain/general/storage/index.d.ts +1 -1
  61. package/src/domain/generic/index.d.ts +2 -2
  62. package/src/domain/generic/model/base.model.d.ts +14 -14
  63. package/src/domain/generic/model/identifier-fields.d.ts +4 -4
  64. package/src/domain/generic/model/index.d.ts +3 -3
  65. package/src/domain/generic/model/types/base-model-builder.type.d.ts +17 -17
  66. package/src/domain/generic/model/types/identifier-model.type.d.ts +8 -8
  67. package/src/domain/generic/model/types/index.d.ts +5 -5
  68. package/src/domain/generic/model/types/model-base-structure.type.d.ts +12 -12
  69. package/src/domain/generic/model/types/non-function-properties.type.d.ts +12 -12
  70. package/src/domain/generic/model/types/non-function-property-name.type.d.ts +13 -13
  71. package/src/domain/generic/repository/create.repository.d.ts +8 -8
  72. package/src/domain/generic/repository/crud.repository.d.ts +19 -19
  73. package/src/domain/generic/repository/delete.repository.d.ts +7 -7
  74. package/src/domain/generic/repository/enums/index.d.ts +2 -2
  75. package/src/domain/generic/repository/enums/update-option-actions.enum.d.ts +7 -7
  76. package/src/domain/generic/repository/enums/where.enum.d.ts +15 -15
  77. package/src/domain/generic/repository/find.repository.d.ts +17 -17
  78. package/src/domain/generic/repository/get.repository.d.ts +5 -5
  79. package/src/domain/generic/repository/index.d.ts +9 -9
  80. package/src/domain/generic/repository/read.repository.d.ts +14 -14
  81. package/src/domain/generic/repository/types/index.d.ts +6 -6
  82. package/src/domain/generic/repository/types/repository-find-filters.type.d.ts +15 -15
  83. package/src/domain/generic/repository/types/repository-find-result.type.d.ts +14 -14
  84. package/src/domain/generic/repository/types/repository-limit-options.type.d.ts +4 -4
  85. package/src/domain/generic/repository/types/repository-order-by-list.type.d.ts +5 -5
  86. package/src/domain/generic/repository/types/repository-update-params.type.d.ts +11 -11
  87. package/src/domain/generic/repository/types/where-options.type.d.ts +2 -2
  88. package/src/domain/generic/repository/update.repository.d.ts +6 -6
  89. package/src/domain/index.d.ts +7 -7
  90. package/src/domain/location/index.d.ts +1 -1
  91. package/src/domain/location/models/address.d.ts +24 -24
  92. package/src/domain/location/models/index.d.ts +2 -2
  93. package/src/domain/location/models/types/index.d.ts +3 -3
  94. package/src/domain/location/models/types/location-bound.type.d.ts +6 -6
  95. package/src/domain/location/models/types/location-geometry.type.d.ts +7 -7
  96. package/src/domain/location/models/types/location-lat-lng.type.d.ts +4 -4
  97. package/src/domain/shop-settings/enums/filter-type.enum.d.ts +19 -19
  98. package/src/domain/shop-settings/enums/index.d.ts +3 -3
  99. package/src/domain/shop-settings/enums/questions-filters.enum.d.ts +19 -19
  100. package/src/domain/shop-settings/enums/shop-page-name.enum.d.ts +19 -19
  101. package/src/domain/shop-settings/helpers/beauty-questions.helper.d.ts +9 -9
  102. package/src/domain/shop-settings/helpers/index.d.ts +1 -1
  103. package/src/domain/shop-settings/index.d.ts +4 -4
  104. package/src/domain/shop-settings/models/campaign-banner.d.ts +11 -11
  105. package/src/domain/shop-settings/models/campaign.d.ts +10 -10
  106. package/src/domain/shop-settings/models/home.d.ts +18 -18
  107. package/src/domain/shop-settings/models/index.d.ts +6 -6
  108. package/src/domain/shop-settings/models/shop-menu.d.ts +9 -9
  109. package/src/domain/shop-settings/models/shop-settings.d.ts +15 -15
  110. package/src/domain/shop-settings/models/types/banner.type.d.ts +6 -6
  111. package/src/domain/shop-settings/models/types/benefit.type.d.ts +5 -5
  112. package/src/domain/shop-settings/models/types/brands-carousel.type.d.ts +3 -3
  113. package/src/domain/shop-settings/models/types/campaign-page.d.ts +17 -17
  114. package/src/domain/shop-settings/models/types/home-data.type.d.ts +15 -15
  115. package/src/domain/shop-settings/models/types/index.d.ts +17 -17
  116. package/src/domain/shop-settings/models/types/landing-page.d.ts +8 -8
  117. package/src/domain/shop-settings/models/types/menu-nav.type.d.ts +9 -9
  118. package/src/domain/shop-settings/models/types/promotion-page.d.ts +10 -10
  119. package/src/domain/shop-settings/models/types/sections.type.d.ts +37 -37
  120. package/src/domain/shop-settings/models/types/shop-banner.type.d.ts +13 -13
  121. package/src/domain/shop-settings/models/types/shop-brands.type.d.ts +10 -10
  122. package/src/domain/shop-settings/models/types/shop-carousel.type.d.ts +4 -4
  123. package/src/domain/shop-settings/models/types/shop-collection.type.d.ts +9 -9
  124. package/src/domain/shop-settings/models/types/shop-gift.type.d.ts +8 -8
  125. package/src/domain/shop-settings/models/types/shop-home.d.ts +12 -12
  126. package/src/domain/shop-settings/models/types/shop-post.type.d.ts +7 -7
  127. package/src/domain/shop-settings/models/types/shop-section.type.d.ts +12 -12
  128. package/src/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -8
  129. package/src/domain/shop-settings/repositories/campaign-banner.repository.d.ts +4 -4
  130. package/src/domain/shop-settings/repositories/campaign.repository.d.ts +4 -4
  131. package/src/domain/shop-settings/repositories/home.repository.d.ts +4 -4
  132. package/src/domain/shop-settings/repositories/index.d.ts +5 -5
  133. package/src/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -4
  134. package/src/domain/shop-settings/repositories/shop-settings.repository.d.ts +4 -4
  135. package/src/domain/shopping/index.d.ts +3 -3
  136. package/src/domain/shopping/models/buy-2-win.d.ts +18 -18
  137. package/src/domain/shopping/models/campaign-dashboard.d.ts +15 -15
  138. package/src/domain/shopping/models/campaign-hashtag.d.ts +18 -18
  139. package/src/domain/shopping/models/checkout.d.ts +26 -26
  140. package/src/domain/shopping/models/coupons/coupon.d.ts +63 -63
  141. package/src/domain/shopping/models/coupons/enums/coupon-club-mens.enum.d.ts +5 -5
  142. package/src/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -4
  143. package/src/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +4 -4
  144. package/src/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +8 -8
  145. package/src/domain/shopping/models/coupons/enums/index.d.ts +3 -3
  146. package/src/domain/shopping/models/coupons/index.d.ts +2 -2
  147. package/src/domain/shopping/models/enums/checkout-types.enum.d.ts +5 -5
  148. package/src/domain/shopping/models/enums/index.d.ts +2 -2
  149. package/src/domain/shopping/models/enums/order-status.enum.d.ts +10 -10
  150. package/src/domain/shopping/models/index.d.ts +13 -13
  151. package/src/domain/shopping/models/line-item.d.ts +10 -10
  152. package/src/domain/shopping/models/order-blocked.d.ts +26 -26
  153. package/src/domain/shopping/models/order.d.ts +14 -14
  154. package/src/domain/shopping/models/payment.d.ts +68 -68
  155. package/src/domain/shopping/models/shipping-method.d.ts +17 -17
  156. package/src/domain/shopping/models/subscription/checkout.d.ts +21 -21
  157. package/src/domain/shopping/models/subscription/index.d.ts +2 -2
  158. package/src/domain/shopping/models/subscription/plan.d.ts +10 -10
  159. package/src/domain/shopping/models/types/index.d.ts +7 -7
  160. package/src/domain/shopping/models/types/payment-address.type.d.ts +12 -12
  161. package/src/domain/shopping/models/types/payment-billing.type.d.ts +7 -7
  162. package/src/domain/shopping/models/types/payment-card.type.d.ts +14 -14
  163. package/src/domain/shopping/models/types/payment-customer.type.d.ts +18 -18
  164. package/src/domain/shopping/models/types/payment-document.type.d.ts +6 -6
  165. package/src/domain/shopping/models/types/payment-item.type.d.ts +11 -11
  166. package/src/domain/shopping/models/types/payment-shipping.type.d.ts +10 -10
  167. package/src/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -4
  168. package/src/domain/shopping/repositories/campaign-dashboard.repository.d.ts +4 -4
  169. package/src/domain/shopping/repositories/campaign-hashtag.repository.d.ts +4 -4
  170. package/src/domain/shopping/repositories/checkout.repository.d.ts +4 -4
  171. package/src/domain/shopping/repositories/coupon.repository.d.ts +4 -4
  172. package/src/domain/shopping/repositories/index.d.ts +10 -10
  173. package/src/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
  174. package/src/domain/shopping/repositories/order-blocked.repository.d.ts +6 -6
  175. package/src/domain/shopping/repositories/order.repository.d.ts +4 -4
  176. package/src/domain/shopping/repositories/payment.repository.d.ts +4 -4
  177. package/src/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -4
  178. package/src/domain/shopping/repositories/subscription/index.d.ts +2 -2
  179. package/src/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -4
  180. package/src/domain/shopping/types/index.d.ts +2 -2
  181. package/src/domain/shopping/types/order-tracking-events.type.d.ts +14 -14
  182. package/src/domain/shopping/types/payment-card-info.type.d.ts +4 -4
  183. package/src/domain/users/errors/index.d.ts +3 -3
  184. package/src/domain/users/errors/unauthorized.error.d.ts +4 -4
  185. package/src/domain/users/errors/user-already-registered.error.d.ts +4 -4
  186. package/src/domain/users/errors/weak-password.error.d.ts +4 -4
  187. package/src/domain/users/index.d.ts +5 -5
  188. package/src/domain/users/models/beauty-profile.d.ts +11 -11
  189. package/src/domain/users/models/enums/accessory-importances.enum.d.ts +5 -5
  190. package/src/domain/users/models/enums/area.enum.d.ts +11 -11
  191. package/src/domain/users/models/enums/beard-problems.enum.d.ts +9 -9
  192. package/src/domain/users/models/enums/beard-sizes.enum.d.ts +7 -7
  193. package/src/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -6
  194. package/src/domain/users/models/enums/body-problems.enum.d.ts +11 -11
  195. package/src/domain/users/models/enums/body-shapes.enum.d.ts +7 -7
  196. package/src/domain/users/models/enums/body-tattoos.enum.d.ts +5 -5
  197. package/src/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -7
  198. package/src/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -10
  199. package/src/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -8
  200. package/src/domain/users/models/enums/family-incomes.enum.d.ts +8 -8
  201. package/src/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -5
  202. package/src/domain/users/models/enums/hair-colors.enum.d.ts +10 -10
  203. package/src/domain/users/models/enums/hair-problems.enum.d.ts +10 -10
  204. package/src/domain/users/models/enums/hair-strands.enum.d.ts +8 -8
  205. package/src/domain/users/models/enums/hair-types.enum.d.ts +7 -7
  206. package/src/domain/users/models/enums/index.d.ts +21 -21
  207. package/src/domain/users/models/enums/office-position.enum.d.ts +6 -6
  208. package/src/domain/users/models/enums/person-types.enum.d.ts +5 -5
  209. package/src/domain/users/models/enums/product-spents.enum.d.ts +8 -8
  210. package/src/domain/users/models/enums/user-type.enum.d.ts +8 -8
  211. package/src/domain/users/models/index.d.ts +8 -8
  212. package/src/domain/users/models/lead.d.ts +8 -8
  213. package/src/domain/users/models/subscription/edition.d.ts +16 -16
  214. package/src/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -3
  215. package/src/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -4
  216. package/src/domain/users/models/subscription/enums/index.d.ts +5 -5
  217. package/src/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -5
  218. package/src/domain/users/models/subscription/enums/plans.enum.d.ts +6 -6
  219. package/src/domain/users/models/subscription/enums/status.enum.d.ts +4 -4
  220. package/src/domain/users/models/subscription/index.d.ts +7 -7
  221. package/src/domain/users/models/subscription/payment.d.ts +13 -13
  222. package/src/domain/users/models/subscription/subscription-materialization.d.ts +31 -31
  223. package/src/domain/users/models/subscription/subscription-summary.d.ts +15 -15
  224. package/src/domain/users/models/subscription/subscription.d.ts +29 -29
  225. package/src/domain/users/models/subscription/types/index.d.ts +1 -1
  226. package/src/domain/users/models/subscription/types/plan.type.d.ts +2 -2
  227. package/src/domain/users/models/types/index.d.ts +1 -1
  228. package/src/domain/users/models/types/person.type.d.ts +2 -2
  229. package/src/domain/users/models/user-address.d.ts +6 -6
  230. package/src/domain/users/models/user-payment-method.d.ts +14 -14
  231. package/src/domain/users/models/user.d.ts +28 -28
  232. package/src/domain/users/repositories/beauty-profile.repository.d.ts +4 -4
  233. package/src/domain/users/repositories/edition.repository.d.ts +4 -4
  234. package/src/domain/users/repositories/index.d.ts +10 -10
  235. package/src/domain/users/repositories/lead.repository.d.ts +4 -4
  236. package/src/domain/users/repositories/subscription-materialization.repository.d.ts +4 -4
  237. package/src/domain/users/repositories/subscription-payment.repository.d.ts +4 -4
  238. package/src/domain/users/repositories/subscription-summary.repository.d.ts +4 -4
  239. package/src/domain/users/repositories/subscription.repository.d.ts +4 -4
  240. package/src/domain/users/repositories/user-address.repository.d.ts +4 -4
  241. package/src/domain/users/repositories/user-payment-method.repository.d.ts +4 -4
  242. package/src/domain/users/repositories/user.repository.d.ts +6 -6
  243. package/src/domain/users/services/authentication.service.d.ts +12 -12
  244. package/src/domain/users/services/index.d.ts +3 -3
  245. package/src/domain/users/services/register.service.d.ts +7 -7
  246. package/src/domain/users/services/types/basic-user-data.type.d.ts +4 -4
  247. package/src/domain/users/services/types/index.d.ts +1 -1
  248. package/src/domain/users/use-cases/authentication.d.ts +21 -21
  249. package/src/domain/users/use-cases/index.d.ts +5 -5
  250. package/src/domain/users/use-cases/recovery-password.d.ts +6 -6
  251. package/src/domain/users/use-cases/register.d.ts +13 -13
  252. package/src/domain/users/use-cases/signout.d.ts +6 -6
  253. package/src/domain/users/use-cases/update-user-image.d.ts +9 -9
  254. package/src/errors/duplicated-results.error.d.ts +4 -4
  255. package/src/errors/index.d.ts +4 -4
  256. package/src/errors/invalid-argument.error.d.ts +4 -4
  257. package/src/errors/not-found.error.d.ts +4 -4
  258. package/src/errors/required-argument.error.d.ts +6 -6
  259. package/src/index.d.ts +5 -5
  260. package/src/infra/elasticsearch/adapters/axios.adapter.d.ts +17 -17
  261. package/src/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +8 -8
  262. package/src/infra/elasticsearch/adapters/index.d.ts +2 -2
  263. package/src/infra/elasticsearch/index.d.ts +3 -3
  264. package/src/infra/elasticsearch/indexes/index.d.ts +1 -1
  265. package/src/infra/elasticsearch/indexes/products-index.d.ts +49 -13
  266. package/src/infra/elasticsearch/types/elastic-search-result.d.ts +9 -9
  267. package/src/infra/elasticsearch/types/index.d.ts +1 -1
  268. package/src/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
  269. package/src/infra/firebase/auth/index.d.ts +2 -2
  270. package/src/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
  271. package/src/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +5 -5
  272. package/src/infra/firebase/auth/types/index.d.ts +1 -1
  273. package/src/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +8 -8
  274. package/src/infra/firebase/firestore/enums/index.d.ts +1 -1
  275. package/src/infra/firebase/firestore/index.d.ts +5 -5
  276. package/src/infra/firebase/firestore/mixins/index.d.ts +9 -9
  277. package/src/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
  278. package/src/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +5 -5
  279. package/src/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
  280. package/src/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
  281. package/src/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +13 -13
  282. package/src/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
  283. package/src/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
  284. package/src/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +11 -11
  285. package/src/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
  286. package/src/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +20 -20
  287. package/src/infra/firebase/firestore/repositories/catalog/index.d.ts +4 -4
  288. package/src/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +14 -14
  289. package/src/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +12 -12
  290. package/src/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +7 -7
  291. package/src/infra/firebase/firestore/repositories/index.d.ts +4 -4
  292. package/src/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
  293. package/src/infra/firebase/firestore/repositories/shop-settings/index.d.ts +3 -3
  294. package/src/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +7 -7
  295. package/src/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +7 -7
  296. package/src/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +7 -7
  297. package/src/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.d.ts +8 -8
  298. package/src/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.d.ts +8 -8
  299. package/src/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +7 -7
  300. package/src/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +7 -7
  301. package/src/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
  302. package/src/infra/firebase/firestore/repositories/shopping/index.d.ts +11 -11
  303. package/src/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +6 -6
  304. package/src/infra/firebase/firestore/repositories/shopping/order-blocked-firestore.repository.ts.d.ts +9 -9
  305. package/src/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
  306. package/src/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +7 -7
  307. package/src/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +7 -7
  308. package/src/infra/firebase/firestore/repositories/users/index.d.ts +10 -10
  309. package/src/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +7 -7
  310. package/src/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +12 -12
  311. package/src/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +7 -7
  312. package/src/infra/firebase/firestore/repositories/users/subscription-materialization-firestore.repository.d.ts +7 -7
  313. package/src/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +12 -12
  314. package/src/infra/firebase/firestore/repositories/users/subscription-summary-firestore.repository.d.ts +7 -7
  315. package/src/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +12 -12
  316. package/src/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +12 -12
  317. package/src/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
  318. package/src/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +12 -12
  319. package/src/infra/firebase/firestore/services/connect-collection-reference.d.ts +21 -21
  320. package/src/infra/firebase/firestore/services/connect-collection.service.d.ts +32 -32
  321. package/src/infra/firebase/firestore/services/connect-document-reference.d.ts +12 -12
  322. package/src/infra/firebase/firestore/services/connect-document.service.d.ts +17 -17
  323. package/src/infra/firebase/firestore/services/connect-firestore.d.ts +7 -7
  324. package/src/infra/firebase/firestore/services/connect-firestore.service.d.ts +11 -11
  325. package/src/infra/firebase/firestore/services/index.d.ts +6 -6
  326. package/src/infra/firebase/firestore/types/connect-firestore/connect-document-data.type.d.ts +5 -5
  327. package/src/infra/firebase/firestore/types/connect-firestore/connect-document-snapshot.type.d.ts +10 -10
  328. package/src/infra/firebase/firestore/types/connect-firestore/connect-query-snapshot.type.d.ts +7 -7
  329. package/src/infra/firebase/firestore/types/connect-firestore/connect-where-option.type.d.ts +2 -2
  330. package/src/infra/firebase/firestore/types/connect-firestore/index.d.ts +4 -4
  331. package/src/infra/firebase/firestore/types/firestore-interceptors.type.d.ts +14 -14
  332. package/src/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
  333. package/src/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
  334. package/src/infra/firebase/firestore/types/firestore.repository.type.d.ts +20 -20
  335. package/src/infra/firebase/firestore/types/index.d.ts +5 -5
  336. package/src/infra/firebase/firestore/vo/connectBaseDocumentSnapshot.vo.d.ts +10 -10
  337. package/src/infra/firebase/firestore/vo/index.d.ts +1 -1
  338. package/src/infra/firebase/index.d.ts +3 -3
  339. package/src/infra/firebase/storage/firebase-file-uploader.service.d.ts +8 -8
  340. package/src/infra/firebase/storage/index.d.ts +1 -1
  341. package/src/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
  342. package/src/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +18 -18
  343. package/src/infra/hasura-graphql/enums/index.d.ts +2 -2
  344. package/src/infra/hasura-graphql/index.d.ts +4 -4
  345. package/src/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +19 -13
  346. package/src/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
  347. package/src/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +10 -8
  348. package/src/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +12 -10
  349. package/src/infra/hasura-graphql/mixins/helpers/index.d.ts +4 -4
  350. package/src/infra/hasura-graphql/mixins/index.d.ts +7 -7
  351. package/src/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +9 -9
  352. package/src/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +11 -11
  353. package/src/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +7 -7
  354. package/src/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +34 -34
  355. package/src/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +25 -25
  356. package/src/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +23 -23
  357. package/src/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +14 -14
  358. package/src/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
  359. package/src/infra/hasura-graphql/models/index.d.ts +4 -4
  360. package/src/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +6 -6
  361. package/src/infra/hasura-graphql/models/product-hasura-graphql.d.ts +18 -18
  362. package/src/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +10 -10
  363. package/src/infra/hasura-graphql/models/wishlist-hasura-graphql.d.ts +4 -4
  364. package/src/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.d.ts +10 -10
  365. package/src/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +12 -12
  366. package/src/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +34 -34
  367. package/src/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.d.ts +18 -18
  368. package/src/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.d.ts +10 -10
  369. package/src/infra/hasura-graphql/repositories/catalog/index.d.ts +10 -10
  370. package/src/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +32 -32
  371. package/src/infra/hasura-graphql/repositories/catalog/product-review-hasura-graphql.repository.d.ts +13 -13
  372. package/src/infra/hasura-graphql/repositories/catalog/product-stock-notification-hasura-graphql.repository.d.ts +18 -18
  373. package/src/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +14 -14
  374. package/src/infra/hasura-graphql/repositories/catalog/wishlist-hasura-graphql.repository.d.ts +30 -30
  375. package/src/infra/hasura-graphql/repositories/index.d.ts +1 -1
  376. package/src/infra/hasura-graphql/types/fields.type.d.ts +2 -2
  377. package/src/infra/hasura-graphql/types/graphql.repository.type.d.ts +24 -24
  378. package/src/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
  379. package/src/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +44 -44
  380. package/src/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
  381. package/src/infra/hasura-graphql/types/index.d.ts +8 -8
  382. package/src/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
  383. package/src/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
  384. package/src/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
  385. package/src/infra/index.d.ts +4 -3
  386. package/src/infra/vertex-ai/adapters/index.d.ts +2 -0
  387. package/src/infra/vertex-ai/adapters/vertex-ai-search.adapter.d.ts +9 -0
  388. package/src/infra/vertex-ai/adapters/vertex-axios.adapter.d.ts +14 -0
  389. package/src/infra/vertex-ai/index.d.ts +3 -0
  390. package/src/infra/vertex-ai/indexes/index.d.ts +1 -0
  391. package/src/infra/vertex-ai/indexes/products-vertex-search.d.ts +13 -0
  392. package/src/infra/vertex-ai/types/axios-vertex-search-config.d.ts +4 -0
  393. package/src/infra/vertex-ai/types/index.d.ts +2 -0
  394. package/src/infra/vertex-ai/types/product-search.d.ts +21 -0
  395. package/src/utils/decorators/debug.class.decorator.d.ts +2 -2
  396. package/src/utils/decorators/index.d.ts +2 -2
  397. package/src/utils/decorators/trace.method.decorator.d.ts +14 -14
  398. package/src/utils/get.d.ts +1 -1
  399. package/src/utils/helpers/class-name.helper.d.ts +3 -3
  400. package/src/utils/helpers/debug-decorator.helper.d.ts +9 -9
  401. package/src/utils/helpers/debug.helper.d.ts +60 -60
  402. package/src/utils/helpers/index.d.ts +4 -4
  403. package/src/utils/helpers/reflect.helper.d.ts +50 -50
  404. package/src/utils/index.d.ts +13 -13
  405. package/src/utils/is-uuid.d.ts +1 -1
  406. package/src/utils/is.d.ts +1 -1
  407. package/src/utils/log.utils.d.ts +7 -7
  408. package/src/utils/mixins/base.mixin.d.ts +3 -3
  409. package/src/utils/mixins/index.d.ts +3 -3
  410. package/src/utils/mixins/merge-constructor-params.type.d.ts +3 -3
  411. package/src/utils/mixins/mixin-ctor.type.d.ts +1 -1
  412. package/src/utils/parse-datetime.d.ts +1 -1
  413. package/src/utils/types/array-element.type.d.ts +1 -1
  414. package/src/utils/types/index.d.ts +2 -2
  415. package/src/utils/types/prop.type.d.ts +1 -1
@@ -1,44 +1,44 @@
1
- import { ModelBaseStructure, NestedRepositoryFindFieltersOptions, NonFunctionAndIdentifierPropertyNames, RepositoryFindField } from '../../../domain';
2
- import { PropType } from '../../../utils';
3
- import { HasuraGraphQLColumnType } from '../enums';
4
- export type ColumnOptions<FieldType, Model, ValueFrom = any> = {
5
- type?: HasuraGraphQLColumnType;
6
- columnName?: string;
7
- filters?: {
8
- filterType: HasuraGraphQLColumnType | string;
9
- filters: NestedRepositoryFindFieltersOptions<FieldType>;
10
- };
11
- fields?: HasuraGraphQLFields<FieldType>;
12
- foreignKeyColumn?: Partial<Record<NonFunctionAndIdentifierPropertyNames<FieldType extends any[] ? FieldType[number] : FieldType>, NonFunctionAndIdentifierPropertyNames<Model> | (string & {})>> | {};
13
- from?: (value: ValueFrom | ValueFrom[], data?: any) => FieldType;
14
- to?: (value: FieldType, instance?: Model) => ValueFrom;
15
- bindFindFilter?: (sentence: RepositoryFindField<Model, keyof Model>) => Record<string, RepositoryFindField<any, any> | ValueFrom> | RepositoryFindField<any, any> | ValueFrom;
16
- bindPersistData?: (value: FieldType, instance?: Model) => Record<string, ValueFrom>;
17
- };
18
- export type AggregateOptionNames = 'avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddev_pop' | 'stddev_samp' | 'sum' | 'var_pop' | 'var_samp' | 'variance';
19
- export type AggregateOptionFields<Model, Type, Properties extends keyof Model = keyof Model> = {
20
- [K in Properties]: PropType<Model, K> extends Type ? K : never;
21
- }[Properties] | string;
22
- export type AggregateOptions<Model> = {
23
- avg?: Array<AggregateOptionFields<Model, number>>;
24
- max?: Array<AggregateOptionFields<Model, number | Date>>;
25
- min?: Array<AggregateOptionFields<Model, number | Date>>;
26
- stddev?: Array<AggregateOptionFields<Model, number>>;
27
- stddev_pop?: Array<AggregateOptionFields<Model, number>>;
28
- stddev_samp?: Array<AggregateOptionFields<Model, number>>;
29
- sum?: Array<AggregateOptionFields<Model, number>>;
30
- var_pop?: Array<AggregateOptionFields<Model, number>>;
31
- var_samp?: Array<AggregateOptionFields<Model, number>>;
32
- variance?: Array<AggregateOptionFields<Model, number>>;
33
- };
34
- type ModelBaseHasuraGraphQLFields<Model> = Model extends ModelBaseStructure ? NonFunctionAndIdentifierPropertyNames<Model> | {
35
- [key in NonFunctionAndIdentifierPropertyNames<Model>]?: PropType<Model, key> extends ModelBaseStructure ? HasuraGraphQLFields<PropType<Model, key>> : PropType<Model, key> extends any[] ? PropType<Model, key>[] extends ModelBaseStructure[] ? HasuraGraphQLFields<PropType<Model, key>[]> : never : never;
36
- } | {
37
- [key in NonFunctionAndIdentifierPropertyNames<Model>]?: key extends 'aggregate' ? never : PropType<Model, key> extends ModelBaseStructure ? ColumnOptions<PropType<Model, key>, Model> : ColumnOptions<PropType<Model, key>, Model>;
38
- } | Record<string, ColumnOptions<PropType<Model, any>, Model>> : string;
39
- export type HasuraGraphQLFields<Model> = (ModelBaseHasuraGraphQLFields<Model> | {
40
- aggregate: Array<AggregateOptions<Model> | 'count'>;
41
- } | {
42
- returning: NonFunctionAndIdentifierPropertyNames<Model>[];
43
- } | 'affected_rows')[];
44
- export {};
1
+ import { ModelBaseStructure, NestedRepositoryFindFieltersOptions, NonFunctionAndIdentifierPropertyNames, RepositoryFindField } from '../../../domain';
2
+ import { PropType } from '../../../utils';
3
+ import { HasuraGraphQLColumnType } from '../enums';
4
+ export type ColumnOptions<FieldType, Model, ValueFrom = any> = {
5
+ type?: HasuraGraphQLColumnType;
6
+ columnName?: string;
7
+ filters?: {
8
+ filterType: HasuraGraphQLColumnType | string;
9
+ filters: NestedRepositoryFindFieltersOptions<FieldType>;
10
+ };
11
+ fields?: HasuraGraphQLFields<FieldType>;
12
+ foreignKeyColumn?: Partial<Record<NonFunctionAndIdentifierPropertyNames<FieldType extends any[] ? FieldType[number] : FieldType>, NonFunctionAndIdentifierPropertyNames<Model> | (string & {})>> | {};
13
+ from?: (value: ValueFrom | ValueFrom[], data?: any) => FieldType;
14
+ to?: (value: FieldType, instance?: Model) => ValueFrom;
15
+ bindFindFilter?: (sentence: RepositoryFindField<Model, keyof Model>) => Record<string, RepositoryFindField<any, any> | ValueFrom> | RepositoryFindField<any, any> | ValueFrom;
16
+ bindPersistData?: (value: FieldType, instance?: Model) => Record<string, ValueFrom>;
17
+ };
18
+ export type AggregateOptionNames = 'avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddev_pop' | 'stddev_samp' | 'sum' | 'var_pop' | 'var_samp' | 'variance';
19
+ export type AggregateOptionFields<Model, Type, Properties extends keyof Model = keyof Model> = {
20
+ [K in Properties]: PropType<Model, K> extends Type ? K : never;
21
+ }[Properties] | string;
22
+ export type AggregateOptions<Model> = {
23
+ avg?: Array<AggregateOptionFields<Model, number>>;
24
+ max?: Array<AggregateOptionFields<Model, number | Date>>;
25
+ min?: Array<AggregateOptionFields<Model, number | Date>>;
26
+ stddev?: Array<AggregateOptionFields<Model, number>>;
27
+ stddev_pop?: Array<AggregateOptionFields<Model, number>>;
28
+ stddev_samp?: Array<AggregateOptionFields<Model, number>>;
29
+ sum?: Array<AggregateOptionFields<Model, number>>;
30
+ var_pop?: Array<AggregateOptionFields<Model, number>>;
31
+ var_samp?: Array<AggregateOptionFields<Model, number>>;
32
+ variance?: Array<AggregateOptionFields<Model, number>>;
33
+ };
34
+ type ModelBaseHasuraGraphQLFields<Model> = Model extends ModelBaseStructure ? NonFunctionAndIdentifierPropertyNames<Model> | {
35
+ [key in NonFunctionAndIdentifierPropertyNames<Model>]?: PropType<Model, key> extends ModelBaseStructure ? HasuraGraphQLFields<PropType<Model, key>> : PropType<Model, key> extends any[] ? PropType<Model, key>[] extends ModelBaseStructure[] ? HasuraGraphQLFields<PropType<Model, key>[]> : never : never;
36
+ } | {
37
+ [key in NonFunctionAndIdentifierPropertyNames<Model>]?: key extends 'aggregate' ? never : PropType<Model, key> extends ModelBaseStructure ? ColumnOptions<PropType<Model, key>, Model> : ColumnOptions<PropType<Model, key>, Model>;
38
+ } | Record<string, ColumnOptions<PropType<Model, any>, Model>> : string;
39
+ export type HasuraGraphQLFields<Model> = (ModelBaseHasuraGraphQLFields<Model> | {
40
+ aggregate: Array<AggregateOptions<Model> | 'count'>;
41
+ } | {
42
+ returning: NonFunctionAndIdentifierPropertyNames<Model>[];
43
+ } | 'affected_rows')[];
44
+ export {};
@@ -1,7 +1,7 @@
1
- export type HasuraGraphQLHeaders = {
2
- Authorization?: string;
3
- 'Content-Type': string;
4
- 'X-Hasura-Admin-Secret'?: string;
5
- 'X-Hasura-Role'?: string;
6
- 'X-Hasura-User-Id'?: string;
7
- };
1
+ export type HasuraGraphQLHeaders = {
2
+ Authorization?: string;
3
+ 'Content-Type': string;
4
+ 'X-Hasura-Admin-Secret'?: string;
5
+ 'X-Hasura-Role'?: string;
6
+ 'X-Hasura-User-Id'?: string;
7
+ };
@@ -1,8 +1,8 @@
1
- export * from './fields.type';
2
- export * from './graphql.repository.type';
3
- export * from './nested-field.type';
4
- export * from './query-builder-options.type';
5
- export * from './variable-options.type';
6
- export * from './hasura-graphql-auth-options.type';
7
- export * from './hasura-graphql-fields.type';
8
- export * from './hasura-graphql-headers.type';
1
+ export * from './fields.type';
2
+ export * from './graphql.repository.type';
3
+ export * from './nested-field.type';
4
+ export * from './query-builder-options.type';
5
+ export * from './variable-options.type';
6
+ export * from './hasura-graphql-auth-options.type';
7
+ export * from './hasura-graphql-fields.type';
8
+ export * from './hasura-graphql-headers.type';
@@ -1,7 +1,7 @@
1
- import { Fields } from './fields.type';
2
- import { QueryBuilderOptions } from './query-builder-options.type';
3
- export type NestedField = {
4
- operation: string;
5
- variables: QueryBuilderOptions[];
6
- fields: Fields;
7
- };
1
+ import { Fields } from './fields.type';
2
+ import { QueryBuilderOptions } from './query-builder-options.type';
3
+ export type NestedField = {
4
+ operation: string;
5
+ variables: QueryBuilderOptions[];
6
+ fields: Fields;
7
+ };
@@ -1,7 +1,7 @@
1
- import { Fields } from './fields.type';
2
- import { VariableOptions } from './variable-options.type';
3
- export interface QueryBuilderOptions {
4
- operation: string;
5
- fields?: Fields;
6
- variables?: VariableOptions;
7
- }
1
+ import { Fields } from './fields.type';
2
+ import { VariableOptions } from './variable-options.type';
3
+ export interface QueryBuilderOptions {
4
+ operation: string;
5
+ fields?: Fields;
6
+ variables?: VariableOptions;
7
+ }
@@ -1,9 +1,9 @@
1
- export type VariableOptions = {
2
- type?: string;
3
- name?: string;
4
- value: any;
5
- list?: boolean;
6
- required?: boolean;
7
- } | {
8
- [k: string]: any;
9
- };
1
+ export type VariableOptions = {
2
+ type?: string;
3
+ name?: string;
4
+ value: any;
5
+ list?: boolean;
6
+ required?: boolean;
7
+ } | {
8
+ [k: string]: any;
9
+ };
@@ -1,3 +1,4 @@
1
- export * from './elasticsearch';
2
- export * from './firebase';
3
- export * from './hasura-graphql';
1
+ export * from './elasticsearch';
2
+ export * from './firebase';
3
+ export * from './hasura-graphql';
4
+ export * from './vertex-ai';
@@ -0,0 +1,2 @@
1
+ export * from './vertex-ai-search.adapter';
2
+ export * from './vertex-axios.adapter';
@@ -0,0 +1,9 @@
1
+ import { Product } from '../../../domain';
2
+ import { ProductSearch } from '../types';
3
+ export interface VertexSearchAdapter<T> {
4
+ query(searchTerm: string, total: number, gender?: String): Promise<ProductSearch[]>;
5
+ get(id: string): Promise<T>;
6
+ save(data: Product): Promise<any>;
7
+ update(id: string, data: Product): Promise<any>;
8
+ delete(id: string): Promise<void>;
9
+ }
@@ -0,0 +1,14 @@
1
+ import { Product } from '../../../domain';
2
+ import { ProductSearch } from '../types';
3
+ import { VertexSearchConfig } from '../types/axios-vertex-search-config';
4
+ import { VertexSearchAdapter } from './vertex-ai-search.adapter';
5
+ export declare class VertexAxiosAdapter implements VertexSearchAdapter<ProductSearch> {
6
+ private readonly config;
7
+ private logger;
8
+ constructor(config: VertexSearchConfig);
9
+ query(term: string, total: number, gender?: String): Promise<ProductSearch[]>;
10
+ get(id: string): Promise<ProductSearch>;
11
+ save(data: Product): Promise<any>;
12
+ update(id: string, data: Product): Promise<any>;
13
+ delete(id: string): Promise<void>;
14
+ }
@@ -0,0 +1,3 @@
1
+ export * from './adapters';
2
+ export * from './indexes';
3
+ export * from './types';
@@ -0,0 +1 @@
1
+ export * from './products-vertex-search';
@@ -0,0 +1,13 @@
1
+ import { ProductSearchIndex } from '../../../domain';
2
+ import { ProductHasuraGraphQL } from '../../hasura-graphql';
3
+ import { VertexSearchAdapter } from '../adapters';
4
+ import { ProductSearch } from '../types';
5
+ export declare class ProductsVertexSearch implements ProductSearchIndex {
6
+ private readonly adapter;
7
+ constructor(adapter: VertexSearchAdapter<ProductSearch>);
8
+ getById(id: string): Promise<ProductSearch>;
9
+ search<ProductSearch>(searchTerm: string, total: number, gender?: String): Promise<ProductSearch[]>;
10
+ save(product: ProductHasuraGraphQL): Promise<void>;
11
+ update(product: ProductHasuraGraphQL): Promise<void>;
12
+ delete(id: string): Promise<void>;
13
+ }
@@ -0,0 +1,4 @@
1
+ export type VertexSearchConfig = {
2
+ url: string;
3
+ token?: string;
4
+ };
@@ -0,0 +1,2 @@
1
+ export * from './axios-vertex-search-config';
2
+ export * from './product-search';
@@ -0,0 +1,21 @@
1
+ export type ProductSearch = {
2
+ id: string;
3
+ name: string;
4
+ ean?: string;
5
+ sku: string;
6
+ icon?: string;
7
+ miniatures?: string;
8
+ description?: string;
9
+ slug: string;
10
+ brand: string;
11
+ published: boolean;
12
+ gender: string;
13
+ shoppingCount: number;
14
+ stock: number;
15
+ rating: number;
16
+ fullPrice: number;
17
+ price: number;
18
+ subscriberPrice: number;
19
+ outlet: boolean;
20
+ createdAt: Date;
21
+ };
@@ -1,2 +1,2 @@
1
- import { DebugOptions } from '../helpers';
2
- export declare function Debug(opts?: DebugOptions): ClassDecorator;
1
+ import { DebugOptions } from '../helpers';
2
+ export declare function Debug(opts?: DebugOptions): ClassDecorator;
@@ -1,2 +1,2 @@
1
- export * from './debug.class.decorator';
2
- export * from './trace.method.decorator';
1
+ export * from './debug.class.decorator';
2
+ export * from './trace.method.decorator';
@@ -1,14 +1,14 @@
1
- export type CallbackFnArgs<T, Result> = {
2
- target: T;
3
- result: Result;
4
- args: Array<any>;
5
- namespace?: Array<string>;
6
- };
7
- type CallbackFn<T, Result> = (opts: CallbackFnArgs<T, Result>) => void;
8
- type TraceOptions<T, Result> = {
9
- callbackFn?: CallbackFn<T, Result>;
10
- level?: 'trace' | 'log';
11
- };
12
- export declare function Log<T, Result>(options?: TraceOptions<T, Result>): (target: any, propertyKey: string, propertyDescriptor: PropertyDescriptor) => PropertyDescriptor;
13
- export declare function Trace<T, Result>(options?: TraceOptions<T, Result>): (target: any, propertyKey: string, propertyDescriptor: PropertyDescriptor) => PropertyDescriptor;
14
- export {};
1
+ export type CallbackFnArgs<T, Result> = {
2
+ target: T;
3
+ result: Result;
4
+ args: Array<any>;
5
+ namespace?: Array<string>;
6
+ };
7
+ type CallbackFn<T, Result> = (opts: CallbackFnArgs<T, Result>) => void;
8
+ type TraceOptions<T, Result> = {
9
+ callbackFn?: CallbackFn<T, Result>;
10
+ level?: 'trace' | 'log';
11
+ };
12
+ export declare function Log<T, Result>(options?: TraceOptions<T, Result>): (target: any, propertyKey: string, propertyDescriptor: PropertyDescriptor) => PropertyDescriptor;
13
+ export declare function Trace<T, Result>(options?: TraceOptions<T, Result>): (target: any, propertyKey: string, propertyDescriptor: PropertyDescriptor) => PropertyDescriptor;
14
+ export {};
@@ -1 +1 @@
1
- export declare const get: (object: any, path: string, defaultValue?: any) => any;
1
+ export declare const get: (object: any, path: string, defaultValue?: any) => any;
@@ -1,3 +1,3 @@
1
- export declare class ClassNameHelper {
2
- static get(clazz: any): string;
3
- }
1
+ export declare class ClassNameHelper {
2
+ static get(clazz: any): string;
3
+ }
@@ -1,9 +1,9 @@
1
- export type DebugOptions = {
2
- name?: string;
3
- namespaces?: Array<string>;
4
- };
5
- export declare class DebugDecoratorHelper {
6
- static DebugNamingMetadataKey: string;
7
- static set(target: object, options: DebugOptions): void;
8
- static get(target: object): DebugOptions;
9
- }
1
+ export type DebugOptions = {
2
+ name?: string;
3
+ namespaces?: Array<string>;
4
+ };
5
+ export declare class DebugDecoratorHelper {
6
+ static DebugNamingMetadataKey: string;
7
+ static set(target: object, options: DebugOptions): void;
8
+ static get(target: object): DebugOptions;
9
+ }
@@ -1,60 +1,60 @@
1
- import { Debugger } from 'debug';
2
- import { Subject } from 'rxjs';
3
- export type Debuggable = {
4
- debug: DebugHelper;
5
- };
6
- type DebugLog = {
7
- namespace: string;
8
- message: string;
9
- args: Array<any>;
10
- };
11
- type DebugError = {
12
- namespace: string;
13
- error: any;
14
- args: Array<any>;
15
- };
16
- export declare const isDebuggable: (object: any) => object is Debuggable;
17
- export declare class DebugHelper {
18
- static logs$: Subject<DebugLog>;
19
- static traces$: Subject<DebugLog>;
20
- static errors$: Subject<DebugError>;
21
- static isDebuggable: (object: any) => object is Debuggable;
22
- static namespacesFor(target: object): Array<string>;
23
- static as(...namespaces: Array<string>): DebugHelper;
24
- static for(target: object, ...namespaces: Array<string>): DebugHelper;
25
- static from(target: object, ...namespaces: Array<string>): DebugHelper;
26
- static clonedFrom(target: object, ...namespaces: Array<string>): DebugHelper;
27
- static clone(target: object, ...namespaces: Array<string>): {
28
- original: DebugHelper;
29
- debug: DebugHelper;
30
- };
31
- static replace(target: any, attrs: {
32
- with: DebugHelper;
33
- }): void;
34
- static mock(target: object, ...namespaces: Array<string>): {
35
- original: DebugHelper;
36
- debug: DebugHelper;
37
- };
38
- logger: Debugger;
39
- tracer: Debugger;
40
- err: Debugger;
41
- namespaces: Set<string>;
42
- constructor(...namespace: Array<string>);
43
- get entries(): Array<string>;
44
- get namespace(): string;
45
- log(message?: any, ...args: Array<any>): DebugHelper;
46
- trace(message?: any, ...args: Array<any>): DebugHelper;
47
- error(error: any, ...args: Array<any>): DebugHelper;
48
- build(): DebugHelper;
49
- with(...namespace: Array<string>): DebugHelper;
50
- push(...namespace: Array<string>): DebugHelper;
51
- unshift(...namespace: Array<string>): DebugHelper;
52
- reset(...namespace: Array<string>): DebugHelper;
53
- startWith(...namespace: Array<string>): DebugHelper;
54
- shift(): DebugHelper;
55
- pop(): DebugHelper;
56
- clear(): DebugHelper;
57
- remove(...namespace: Array<string>): DebugHelper;
58
- puts(...args: Array<string>): string;
59
- }
60
- export {};
1
+ import { Debugger } from 'debug';
2
+ import { Subject } from 'rxjs';
3
+ export type Debuggable = {
4
+ debug: DebugHelper;
5
+ };
6
+ type DebugLog = {
7
+ namespace: string;
8
+ message: string;
9
+ args: Array<any>;
10
+ };
11
+ type DebugError = {
12
+ namespace: string;
13
+ error: any;
14
+ args: Array<any>;
15
+ };
16
+ export declare const isDebuggable: (object: any) => object is Debuggable;
17
+ export declare class DebugHelper {
18
+ static logs$: Subject<DebugLog>;
19
+ static traces$: Subject<DebugLog>;
20
+ static errors$: Subject<DebugError>;
21
+ static isDebuggable: (object: any) => object is Debuggable;
22
+ static namespacesFor(target: object): Array<string>;
23
+ static as(...namespaces: Array<string>): DebugHelper;
24
+ static for(target: object, ...namespaces: Array<string>): DebugHelper;
25
+ static from(target: object, ...namespaces: Array<string>): DebugHelper;
26
+ static clonedFrom(target: object, ...namespaces: Array<string>): DebugHelper;
27
+ static clone(target: object, ...namespaces: Array<string>): {
28
+ original: DebugHelper;
29
+ debug: DebugHelper;
30
+ };
31
+ static replace(target: any, attrs: {
32
+ with: DebugHelper;
33
+ }): void;
34
+ static mock(target: object, ...namespaces: Array<string>): {
35
+ original: DebugHelper;
36
+ debug: DebugHelper;
37
+ };
38
+ logger: Debugger;
39
+ tracer: Debugger;
40
+ err: Debugger;
41
+ namespaces: Set<string>;
42
+ constructor(...namespace: Array<string>);
43
+ get entries(): Array<string>;
44
+ get namespace(): string;
45
+ log(message?: any, ...args: Array<any>): DebugHelper;
46
+ trace(message?: any, ...args: Array<any>): DebugHelper;
47
+ error(error: any, ...args: Array<any>): DebugHelper;
48
+ build(): DebugHelper;
49
+ with(...namespace: Array<string>): DebugHelper;
50
+ push(...namespace: Array<string>): DebugHelper;
51
+ unshift(...namespace: Array<string>): DebugHelper;
52
+ reset(...namespace: Array<string>): DebugHelper;
53
+ startWith(...namespace: Array<string>): DebugHelper;
54
+ shift(): DebugHelper;
55
+ pop(): DebugHelper;
56
+ clear(): DebugHelper;
57
+ remove(...namespace: Array<string>): DebugHelper;
58
+ puts(...args: Array<string>): string;
59
+ }
60
+ export {};
@@ -1,4 +1,4 @@
1
- export * from './debug.helper';
2
- export * from './reflect.helper';
3
- export * from './class-name.helper';
4
- export * from './debug-decorator.helper';
1
+ export * from './debug.helper';
2
+ export * from './reflect.helper';
3
+ export * from './class-name.helper';
4
+ export * from './debug-decorator.helper';
@@ -1,50 +1,50 @@
1
- import 'reflect-metadata';
2
- type Dictionary<T> = {
3
- [key: string]: T;
4
- };
5
- export type MetaArgs = {
6
- key: keyof MetaStorage | string;
7
- target: any;
8
- property?: string | symbol;
9
- own?: boolean;
10
- propertyDescriptor?: PropertyDescriptor;
11
- };
12
- export type MetaValueArgs<T = any> = MetaArgs & {
13
- value: T;
14
- };
15
- type MetaProperties<T = any> = Dictionary<T>;
16
- type MetaTargets = Dictionary<MetaProperties>;
17
- type MetaKeys = Dictionary<MetaTargets>;
18
- type MetaStorage = {
19
- value?: any;
20
- object?: any;
21
- values?: MetaKeys;
22
- } & Record<string, any>;
23
- export declare class ReflectHelper {
24
- static get items(): MetaStorage;
25
- static get keys(): Array<string>;
26
- static has(key: keyof MetaStorage, target?: any, property?: string | symbol): boolean;
27
- static get<T = any>({ key, target, property, own }: MetaArgs): Array<T>;
28
- static first<T = any>({ key, target, property, own }: MetaArgs): T;
29
- static last<T = any>({ key, target, property, own }: MetaArgs): T;
30
- static set<T = any>({ key, target, property, value, propertyDescriptor }: MetaValueArgs<T>): void;
31
- static add<T = any>({ key, target, property, value, propertyDescriptor }: MetaValueArgs<T>): void;
32
- static all<T = any>({ key }: Partial<MetaArgs>): Array<MetaValueArgs<T>>;
33
- static allFrom(key: string, target: any): any;
34
- static allValuesFrom(key: string, target: any, property: any): any;
35
- static delete({ key, target, property }: MetaArgs): boolean;
36
- static clear(key?: string): void;
37
- static getType({ target, propertyKey }: {
38
- target: string;
39
- propertyKey: string;
40
- }): any;
41
- static getReturntype({ target, propertyKey }: {
42
- target: string;
43
- propertyKey: string;
44
- }): any;
45
- static getAllMethods(target: any): string[];
46
- private static _items;
47
- private static put;
48
- private static remove;
49
- }
50
- export {};
1
+ import 'reflect-metadata';
2
+ type Dictionary<T> = {
3
+ [key: string]: T;
4
+ };
5
+ export type MetaArgs = {
6
+ key: keyof MetaStorage | string;
7
+ target: any;
8
+ property?: string | symbol;
9
+ own?: boolean;
10
+ propertyDescriptor?: PropertyDescriptor;
11
+ };
12
+ export type MetaValueArgs<T = any> = MetaArgs & {
13
+ value: T;
14
+ };
15
+ type MetaProperties<T = any> = Dictionary<T>;
16
+ type MetaTargets = Dictionary<MetaProperties>;
17
+ type MetaKeys = Dictionary<MetaTargets>;
18
+ type MetaStorage = {
19
+ value?: any;
20
+ object?: any;
21
+ values?: MetaKeys;
22
+ } & Record<string, any>;
23
+ export declare class ReflectHelper {
24
+ static get items(): MetaStorage;
25
+ static get keys(): Array<string>;
26
+ static has(key: keyof MetaStorage, target?: any, property?: string | symbol): boolean;
27
+ static get<T = any>({ key, target, property, own }: MetaArgs): Array<T>;
28
+ static first<T = any>({ key, target, property, own }: MetaArgs): T;
29
+ static last<T = any>({ key, target, property, own }: MetaArgs): T;
30
+ static set<T = any>({ key, target, property, value, propertyDescriptor }: MetaValueArgs<T>): void;
31
+ static add<T = any>({ key, target, property, value, propertyDescriptor }: MetaValueArgs<T>): void;
32
+ static all<T = any>({ key }: Partial<MetaArgs>): Array<MetaValueArgs<T>>;
33
+ static allFrom(key: string, target: any): any;
34
+ static allValuesFrom(key: string, target: any, property: any): any;
35
+ static delete({ key, target, property }: MetaArgs): boolean;
36
+ static clear(key?: string): void;
37
+ static getType({ target, propertyKey }: {
38
+ target: string;
39
+ propertyKey: string;
40
+ }): any;
41
+ static getReturntype({ target, propertyKey }: {
42
+ target: string;
43
+ propertyKey: string;
44
+ }): any;
45
+ static getAllMethods(target: any): string[];
46
+ private static _items;
47
+ private static put;
48
+ private static remove;
49
+ }
50
+ export {};
@@ -1,13 +1,13 @@
1
- import { add, addBusinessDays, addDays, addMonths, addYears, Duration, endOfDay, format, formatISO9075, parseISO, startOfDay, sub } from 'date-fns';
2
- import { chunk, each, get, isBoolean, isDate, isEmpty, isInteger, isNaN, isNil, isNumber, isObject, isString, now, omit, pick, set, sortBy, unset } from 'lodash';
3
- export type DateDuration = Duration;
4
- export * from './decorators';
5
- export * from './get';
6
- export * from './helpers';
7
- export * from './is';
8
- export * from './is-uuid';
9
- export * from './log.utils';
10
- export * from './mixins';
11
- export * from './parse-datetime';
12
- export * from './types';
13
- export { add, addBusinessDays, addDays, addMonths, addYears, chunk, each, endOfDay, format, formatISO9075, get, isBoolean, isDate, isEmpty, isInteger, isNaN, isNil, isNumber, isObject, isString, now, omit, parseISO, pick, set, sortBy, startOfDay, sub, unset, };
1
+ import { add, addBusinessDays, addDays, addMonths, addYears, Duration, endOfDay, format, formatISO9075, parseISO, startOfDay, sub } from 'date-fns';
2
+ import { chunk, each, get, isBoolean, isDate, isEmpty, isInteger, isNaN, isNil, isNumber, isObject, isString, now, omit, pick, set, sortBy, unset } from 'lodash';
3
+ export type DateDuration = Duration;
4
+ export * from './decorators';
5
+ export * from './get';
6
+ export * from './helpers';
7
+ export * from './is';
8
+ export * from './is-uuid';
9
+ export * from './log.utils';
10
+ export * from './mixins';
11
+ export * from './parse-datetime';
12
+ export * from './types';
13
+ export { add, addBusinessDays, addDays, addMonths, addYears, chunk, each, endOfDay, format, formatISO9075, get, isBoolean, isDate, isEmpty, isInteger, isNaN, isNil, isNumber, isObject, isString, now, omit, parseISO, pick, set, sortBy, startOfDay, sub, unset, };
@@ -1 +1 @@
1
- export declare const isUUID: (value: string) => boolean;
1
+ export declare const isUUID: (value: string) => boolean;
package/src/utils/is.d.ts CHANGED
@@ -1 +1 @@
1
- export declare function is<T>(value: any): T;
1
+ export declare function is<T>(value: any): T;
@@ -1,7 +1,7 @@
1
- import { Debugger } from 'debug';
2
- export declare enum DebugNamespaces {
3
- ROOT = "connect",
4
- TRACE = "trace",
5
- ERROR = "error"
6
- }
7
- export declare const Logger: Debugger;
1
+ import { Debugger } from 'debug';
2
+ export declare enum DebugNamespaces {
3
+ ROOT = "connect",
4
+ TRACE = "trace",
5
+ ERROR = "error"
6
+ }
7
+ export declare const Logger: Debugger;