@infrab4a/connect 3.13.2-beta.2 → 3.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (640) hide show
  1. package/README.md +24 -24
  2. package/bundles/infrab4a-connect.umd.js +5276 -5267
  3. package/bundles/infrab4a-connect.umd.js.map +1 -1
  4. package/domain/catalog/index.d.ts +2 -2
  5. package/domain/catalog/models/category-collection-children.d.ts +14 -14
  6. package/domain/catalog/models/category-filter.d.ts +9 -9
  7. package/domain/catalog/models/category.d.ts +29 -29
  8. package/domain/catalog/models/enums/index.d.ts +2 -2
  9. package/domain/catalog/models/enums/product-genders.enum.d.ts +5 -5
  10. package/domain/catalog/models/enums/shops.enum.d.ts +6 -6
  11. package/domain/catalog/models/filter-option.d.ts +10 -10
  12. package/domain/catalog/models/filter.d.ts +13 -13
  13. package/domain/catalog/models/index.d.ts +10 -10
  14. package/domain/catalog/models/kit-product.d.ts +12 -12
  15. package/domain/catalog/models/product.d.ts +45 -45
  16. package/domain/catalog/models/types/category-condition.type.d.ts +4 -4
  17. package/domain/catalog/models/types/category-metadata.type.d.ts +4 -4
  18. package/domain/catalog/models/types/category-product.d.ts +4 -4
  19. package/domain/catalog/models/types/index.d.ts +11 -11
  20. package/domain/catalog/models/types/product-evaluation.type.d.ts +6 -6
  21. package/domain/catalog/models/types/product-gender.type.d.ts +1 -1
  22. package/domain/catalog/models/types/product-metadata.type.d.ts +4 -4
  23. package/domain/catalog/models/types/product-review.type.d.ts +17 -17
  24. package/domain/catalog/models/types/shop-description.type.d.ts +7 -7
  25. package/domain/catalog/models/types/shop-price.type.d.ts +6 -6
  26. package/domain/catalog/models/types/stock.type.d.ts +3 -3
  27. package/domain/catalog/models/types/variant-grade.type.d.ts +4 -4
  28. package/domain/catalog/models/variant.d.ts +18 -18
  29. package/domain/catalog/repositories/category-collection-children.repository.d.ts +4 -4
  30. package/domain/catalog/repositories/category-filter.repository.d.ts +5 -5
  31. package/domain/catalog/repositories/category.repository.d.ts +15 -15
  32. package/domain/catalog/repositories/filter-option.repository.d.ts +4 -4
  33. package/domain/catalog/repositories/filter.repository.d.ts +4 -4
  34. package/domain/catalog/repositories/index.d.ts +8 -8
  35. package/domain/catalog/repositories/product.repository.d.ts +13 -13
  36. package/domain/catalog/repositories/subscription-product.repository.d.ts +4 -4
  37. package/domain/catalog/repositories/variant.repository.d.ts +4 -4
  38. package/domain/generic/index.d.ts +2 -2
  39. package/domain/generic/model/base.model.d.ts +10 -10
  40. package/domain/generic/model/identifier-fields.d.ts +4 -4
  41. package/domain/generic/model/index.d.ts +3 -3
  42. package/domain/generic/model/types/base-model-builder.type.d.ts +15 -15
  43. package/domain/generic/model/types/identifier-model.type.d.ts +7 -7
  44. package/domain/generic/model/types/index.d.ts +5 -5
  45. package/domain/generic/model/types/model-base-structure.type.d.ts +6 -6
  46. package/domain/generic/model/types/non-function-properties.type.d.ts +12 -12
  47. package/domain/generic/model/types/non-function-property-name.type.d.ts +4 -4
  48. package/domain/generic/repository/create.repository.d.ts +8 -8
  49. package/domain/generic/repository/crud.repository.d.ts +19 -19
  50. package/domain/generic/repository/delete.repository.d.ts +7 -7
  51. package/domain/generic/repository/enums/index.d.ts +2 -2
  52. package/domain/generic/repository/enums/update-option-actions.enum.d.ts +7 -7
  53. package/domain/generic/repository/enums/where.enum.d.ts +14 -14
  54. package/domain/generic/repository/find.repository.d.ts +14 -14
  55. package/domain/generic/repository/get.repository.d.ts +5 -5
  56. package/domain/generic/repository/index.d.ts +9 -9
  57. package/domain/generic/repository/read.repository.d.ts +14 -14
  58. package/domain/generic/repository/types/index.d.ts +6 -6
  59. package/domain/generic/repository/types/repository-find-filters.type.d.ts +13 -13
  60. package/domain/generic/repository/types/repository-find-result.type.d.ts +4 -4
  61. package/domain/generic/repository/types/repository-limit-options.type.d.ts +4 -4
  62. package/domain/generic/repository/types/repository-order-by-list.type.d.ts +5 -5
  63. package/domain/generic/repository/types/repository-update-params.type.d.ts +11 -11
  64. package/domain/generic/repository/types/where-options.type.d.ts +2 -2
  65. package/domain/generic/repository/update.repository.d.ts +6 -6
  66. package/domain/index.d.ts +6 -6
  67. package/domain/location/index.d.ts +1 -1
  68. package/domain/location/models/address.d.ts +23 -23
  69. package/domain/location/models/index.d.ts +2 -2
  70. package/domain/location/models/types/index.d.ts +3 -3
  71. package/domain/location/models/types/location-bound.type.d.ts +6 -6
  72. package/domain/location/models/types/location-geometry.type.d.ts +7 -7
  73. package/domain/location/models/types/location-lat-lng.type.d.ts +4 -4
  74. package/domain/shop-settings/enums/filter-type.enum.d.ts +19 -19
  75. package/domain/shop-settings/enums/index.d.ts +2 -2
  76. package/domain/shop-settings/enums/questions-filters.enum.d.ts +19 -19
  77. package/domain/shop-settings/helpers/beauty-questions.helper.d.ts +9 -9
  78. package/domain/shop-settings/helpers/index.d.ts +1 -1
  79. package/domain/shop-settings/index.d.ts +4 -4
  80. package/domain/shop-settings/models/home.d.ts +18 -18
  81. package/domain/shop-settings/models/index.d.ts +4 -4
  82. package/domain/shop-settings/models/shop-menu.d.ts +7 -7
  83. package/domain/shop-settings/models/shop-settings.d.ts +9 -9
  84. package/domain/shop-settings/models/types/banner.type.d.ts +6 -6
  85. package/domain/shop-settings/models/types/benefit.type.d.ts +5 -5
  86. package/domain/shop-settings/models/types/home-data.type.d.ts +15 -15
  87. package/domain/shop-settings/models/types/index.d.ts +10 -10
  88. package/domain/shop-settings/models/types/menu-nav.type.d.ts +8 -8
  89. package/domain/shop-settings/models/types/shop-banner.type.d.ts +12 -12
  90. package/domain/shop-settings/models/types/shop-brands.type.d.ts +10 -10
  91. package/domain/shop-settings/models/types/shop-carousel.type.d.ts +5 -5
  92. package/domain/shop-settings/models/types/shop-collection.type.d.ts +9 -9
  93. package/domain/shop-settings/models/types/shop-section.type.d.ts +9 -9
  94. package/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -8
  95. package/domain/shop-settings/repositories/home.repository.d.ts +4 -4
  96. package/domain/shop-settings/repositories/index.d.ts +3 -3
  97. package/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -4
  98. package/domain/shop-settings/repositories/shop-settings.repository.d.ts +4 -4
  99. package/domain/shopping/index.d.ts +2 -2
  100. package/domain/shopping/models/buy-2-win.d.ts +18 -18
  101. package/domain/shopping/models/campaign-dashboard.d.ts +15 -15
  102. package/domain/shopping/models/campaign-hashtag.d.ts +18 -18
  103. package/domain/shopping/models/checkout.d.ts +27 -27
  104. package/domain/shopping/models/coupons/coupon.d.ts +32 -46
  105. package/domain/shopping/models/coupons/enums/coupon-club-mens.enum.d.ts +5 -5
  106. package/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -4
  107. package/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +4 -4
  108. package/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +8 -8
  109. package/domain/shopping/models/coupons/enums/index.d.ts +3 -3
  110. package/domain/shopping/models/coupons/index.d.ts +2 -2
  111. package/domain/shopping/models/enums/checkout-types.enum.d.ts +5 -5
  112. package/domain/shopping/models/enums/index.d.ts +2 -2
  113. package/domain/shopping/models/enums/order-status.enum.d.ts +10 -10
  114. package/domain/shopping/models/index.d.ts +12 -12
  115. package/domain/shopping/models/line-item.d.ts +8 -8
  116. package/domain/shopping/models/order.d.ts +9 -9
  117. package/domain/shopping/models/payment.d.ts +67 -67
  118. package/domain/shopping/models/shipping-method.d.ts +16 -16
  119. package/domain/shopping/models/subscription/checkout.d.ts +21 -21
  120. package/domain/shopping/models/subscription/index.d.ts +2 -2
  121. package/domain/shopping/models/subscription/plan.d.ts +10 -10
  122. package/domain/shopping/models/types/index.d.ts +7 -7
  123. package/domain/shopping/models/types/payment-address.type.d.ts +12 -12
  124. package/domain/shopping/models/types/payment-billing.type.d.ts +7 -7
  125. package/domain/shopping/models/types/payment-card.type.d.ts +14 -14
  126. package/domain/shopping/models/types/payment-customer.type.d.ts +18 -18
  127. package/domain/shopping/models/types/payment-document.type.d.ts +6 -6
  128. package/domain/shopping/models/types/payment-item.type.d.ts +11 -11
  129. package/domain/shopping/models/types/payment-shipping.type.d.ts +10 -10
  130. package/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -4
  131. package/domain/shopping/repositories/campaign-dashboard.repository.d.ts +4 -4
  132. package/domain/shopping/repositories/campaign-hashtag.repository.d.ts +4 -4
  133. package/domain/shopping/repositories/checkout.repository.d.ts +4 -4
  134. package/domain/shopping/repositories/coupon.repository.d.ts +4 -4
  135. package/domain/shopping/repositories/index.d.ts +9 -9
  136. package/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
  137. package/domain/shopping/repositories/order.repository.d.ts +4 -4
  138. package/domain/shopping/repositories/payment.repository.d.ts +4 -4
  139. package/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -4
  140. package/domain/shopping/repositories/subscription/index.d.ts +2 -2
  141. package/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -4
  142. package/domain/users/errors/index.d.ts +3 -3
  143. package/domain/users/errors/unauthorized.error.d.ts +5 -5
  144. package/domain/users/errors/user-already-registered.error.d.ts +5 -5
  145. package/domain/users/errors/weak-password.error.d.ts +5 -5
  146. package/domain/users/index.d.ts +5 -5
  147. package/domain/users/models/beauty-profile.d.ts +11 -11
  148. package/domain/users/models/enums/accessory-importances.enum.d.ts +5 -5
  149. package/domain/users/models/enums/area.enum.d.ts +11 -11
  150. package/domain/users/models/enums/beard-problems.enum.d.ts +9 -9
  151. package/domain/users/models/enums/beard-sizes.enum.d.ts +7 -7
  152. package/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -6
  153. package/domain/users/models/enums/body-problems.enum.d.ts +11 -11
  154. package/domain/users/models/enums/body-shapes.enum.d.ts +7 -7
  155. package/domain/users/models/enums/body-tattoos.enum.d.ts +5 -5
  156. package/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -7
  157. package/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -10
  158. package/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -8
  159. package/domain/users/models/enums/family-incomes.enum.d.ts +8 -8
  160. package/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -5
  161. package/domain/users/models/enums/hair-colors.enum.d.ts +10 -10
  162. package/domain/users/models/enums/hair-problems.enum.d.ts +10 -10
  163. package/domain/users/models/enums/hair-strands.enum.d.ts +8 -8
  164. package/domain/users/models/enums/hair-types.enum.d.ts +7 -7
  165. package/domain/users/models/enums/index.d.ts +20 -20
  166. package/domain/users/models/enums/office-position.enum.d.ts +6 -6
  167. package/domain/users/models/enums/product-spents.enum.d.ts +8 -8
  168. package/domain/users/models/enums/user-type.enum.d.ts +8 -8
  169. package/domain/users/models/index.d.ts +7 -7
  170. package/domain/users/models/lead.d.ts +8 -8
  171. package/domain/users/models/subscription/edition.d.ts +16 -16
  172. package/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -3
  173. package/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -4
  174. package/domain/users/models/subscription/enums/index.d.ts +4 -4
  175. package/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -5
  176. package/domain/users/models/subscription/enums/status.enum.d.ts +4 -4
  177. package/domain/users/models/subscription/index.d.ts +4 -4
  178. package/domain/users/models/subscription/payment.d.ts +13 -13
  179. package/domain/users/models/subscription/subscription.d.ts +28 -28
  180. package/domain/users/models/user-address.d.ts +7 -7
  181. package/domain/users/models/user-payment-method.d.ts +14 -14
  182. package/domain/users/models/user.d.ts +28 -28
  183. package/domain/users/repositories/beauty-profile.repository.d.ts +4 -4
  184. package/domain/users/repositories/edition.repository.d.ts +4 -4
  185. package/domain/users/repositories/index.d.ts +8 -8
  186. package/domain/users/repositories/lead.repository.d.ts +4 -4
  187. package/domain/users/repositories/subscription-payment.repository.d.ts +4 -4
  188. package/domain/users/repositories/subscription.repository.d.ts +4 -4
  189. package/domain/users/repositories/user-address.repository.d.ts +4 -4
  190. package/domain/users/repositories/user-payment-method.repository.d.ts +4 -4
  191. package/domain/users/repositories/user.repository.d.ts +6 -6
  192. package/domain/users/services/authentication.service.d.ts +12 -12
  193. package/domain/users/services/index.d.ts +3 -3
  194. package/domain/users/services/register.service.d.ts +7 -7
  195. package/domain/users/services/types/basic-user-data.type.d.ts +4 -4
  196. package/domain/users/services/types/index.d.ts +1 -1
  197. package/domain/users/use-cases/authentication.d.ts +21 -21
  198. package/domain/users/use-cases/index.d.ts +4 -4
  199. package/domain/users/use-cases/recovery-password.d.ts +6 -6
  200. package/domain/users/use-cases/register.d.ts +13 -13
  201. package/domain/users/use-cases/signout.d.ts +6 -6
  202. package/errors/duplicated-results.error.d.ts +5 -5
  203. package/errors/index.d.ts +4 -4
  204. package/errors/invalid-argument.error.d.ts +5 -5
  205. package/errors/not-found.error.d.ts +5 -5
  206. package/errors/required-argument.error.d.ts +6 -6
  207. package/esm2015/domain/catalog/index.js +3 -3
  208. package/esm2015/domain/catalog/models/category-collection-children.js +16 -16
  209. package/esm2015/domain/catalog/models/category-filter.js +10 -10
  210. package/esm2015/domain/catalog/models/category.js +21 -21
  211. package/esm2015/domain/catalog/models/enums/index.js +3 -3
  212. package/esm2015/domain/catalog/models/enums/product-genders.enum.js +7 -7
  213. package/esm2015/domain/catalog/models/enums/shops.enum.js +8 -8
  214. package/esm2015/domain/catalog/models/filter-option.js +10 -10
  215. package/esm2015/domain/catalog/models/filter.js +10 -10
  216. package/esm2015/domain/catalog/models/index.js +11 -11
  217. package/esm2015/domain/catalog/models/kit-product.js +18 -18
  218. package/esm2015/domain/catalog/models/product.js +40 -40
  219. package/esm2015/domain/catalog/models/types/category-condition.type.js +2 -2
  220. package/esm2015/domain/catalog/models/types/category-metadata.type.js +2 -2
  221. package/esm2015/domain/catalog/models/types/category-product.js +2 -2
  222. package/esm2015/domain/catalog/models/types/index.js +12 -12
  223. package/esm2015/domain/catalog/models/types/product-evaluation.type.js +2 -2
  224. package/esm2015/domain/catalog/models/types/product-gender.type.js +2 -2
  225. package/esm2015/domain/catalog/models/types/product-metadata.type.js +2 -2
  226. package/esm2015/domain/catalog/models/types/product-review.type.js +2 -2
  227. package/esm2015/domain/catalog/models/types/shop-description.type.js +2 -2
  228. package/esm2015/domain/catalog/models/types/shop-price.type.js +2 -2
  229. package/esm2015/domain/catalog/models/types/stock.type.js +2 -2
  230. package/esm2015/domain/catalog/models/types/variant-grade.type.js +2 -2
  231. package/esm2015/domain/catalog/models/variant.js +10 -10
  232. package/esm2015/domain/catalog/repositories/category-collection-children.repository.js +2 -2
  233. package/esm2015/domain/catalog/repositories/category-filter.repository.js +2 -2
  234. package/esm2015/domain/catalog/repositories/category.repository.js +2 -2
  235. package/esm2015/domain/catalog/repositories/filter-option.repository.js +2 -2
  236. package/esm2015/domain/catalog/repositories/filter.repository.js +2 -2
  237. package/esm2015/domain/catalog/repositories/index.js +9 -9
  238. package/esm2015/domain/catalog/repositories/product.repository.js +2 -2
  239. package/esm2015/domain/catalog/repositories/subscription-product.repository.js +2 -2
  240. package/esm2015/domain/catalog/repositories/variant.repository.js +2 -2
  241. package/esm2015/domain/generic/index.js +3 -3
  242. package/esm2015/domain/generic/model/base.model.js +23 -23
  243. package/esm2015/domain/generic/model/identifier-fields.js +2 -2
  244. package/esm2015/domain/generic/model/index.js +4 -4
  245. package/esm2015/domain/generic/model/types/base-model-builder.type.js +2 -2
  246. package/esm2015/domain/generic/model/types/identifier-model.type.js +2 -2
  247. package/esm2015/domain/generic/model/types/index.js +6 -6
  248. package/esm2015/domain/generic/model/types/model-base-structure.type.js +2 -2
  249. package/esm2015/domain/generic/model/types/non-function-properties.type.js +2 -2
  250. package/esm2015/domain/generic/model/types/non-function-property-name.type.js +2 -2
  251. package/esm2015/domain/generic/repository/create.repository.js +2 -2
  252. package/esm2015/domain/generic/repository/crud.repository.js +2 -2
  253. package/esm2015/domain/generic/repository/delete.repository.js +2 -2
  254. package/esm2015/domain/generic/repository/enums/index.js +3 -3
  255. package/esm2015/domain/generic/repository/enums/update-option-actions.enum.js +9 -9
  256. package/esm2015/domain/generic/repository/enums/where.enum.js +16 -16
  257. package/esm2015/domain/generic/repository/find.repository.js +2 -2
  258. package/esm2015/domain/generic/repository/get.repository.js +2 -2
  259. package/esm2015/domain/generic/repository/index.js +10 -10
  260. package/esm2015/domain/generic/repository/read.repository.js +2 -2
  261. package/esm2015/domain/generic/repository/types/index.js +7 -7
  262. package/esm2015/domain/generic/repository/types/repository-find-filters.type.js +2 -2
  263. package/esm2015/domain/generic/repository/types/repository-find-result.type.js +2 -2
  264. package/esm2015/domain/generic/repository/types/repository-limit-options.type.js +2 -2
  265. package/esm2015/domain/generic/repository/types/repository-order-by-list.type.js +2 -2
  266. package/esm2015/domain/generic/repository/types/repository-update-params.type.js +2 -2
  267. package/esm2015/domain/generic/repository/types/where-options.type.js +2 -2
  268. package/esm2015/domain/generic/repository/update.repository.js +2 -2
  269. package/esm2015/domain/index.js +7 -7
  270. package/esm2015/domain/location/index.js +2 -2
  271. package/esm2015/domain/location/models/address.js +7 -7
  272. package/esm2015/domain/location/models/index.js +3 -3
  273. package/esm2015/domain/location/models/types/index.js +4 -4
  274. package/esm2015/domain/location/models/types/location-bound.type.js +2 -2
  275. package/esm2015/domain/location/models/types/location-geometry.type.js +2 -2
  276. package/esm2015/domain/location/models/types/location-lat-lng.type.js +2 -2
  277. package/esm2015/domain/shop-settings/enums/filter-type.enum.js +21 -21
  278. package/esm2015/domain/shop-settings/enums/index.js +3 -3
  279. package/esm2015/domain/shop-settings/enums/questions-filters.enum.js +21 -21
  280. package/esm2015/domain/shop-settings/helpers/beauty-questions.helper.js +46 -46
  281. package/esm2015/domain/shop-settings/helpers/index.js +2 -2
  282. package/esm2015/domain/shop-settings/index.js +5 -5
  283. package/esm2015/domain/shop-settings/models/home.js +7 -7
  284. package/esm2015/domain/shop-settings/models/index.js +5 -5
  285. package/esm2015/domain/shop-settings/models/shop-menu.js +7 -7
  286. package/esm2015/domain/shop-settings/models/shop-settings.js +7 -7
  287. package/esm2015/domain/shop-settings/models/types/banner.type.js +2 -2
  288. package/esm2015/domain/shop-settings/models/types/benefit.type.js +2 -2
  289. package/esm2015/domain/shop-settings/models/types/home-data.type.js +2 -2
  290. package/esm2015/domain/shop-settings/models/types/index.js +11 -11
  291. package/esm2015/domain/shop-settings/models/types/menu-nav.type.js +2 -2
  292. package/esm2015/domain/shop-settings/models/types/shop-banner.type.js +2 -2
  293. package/esm2015/domain/shop-settings/models/types/shop-brands.type.js +2 -2
  294. package/esm2015/domain/shop-settings/models/types/shop-carousel.type.js +2 -2
  295. package/esm2015/domain/shop-settings/models/types/shop-collection.type.js +2 -2
  296. package/esm2015/domain/shop-settings/models/types/shop-section.type.js +2 -2
  297. package/esm2015/domain/shop-settings/models/types/sub-menu.type.js +2 -2
  298. package/esm2015/domain/shop-settings/repositories/home.repository.js +2 -2
  299. package/esm2015/domain/shop-settings/repositories/index.js +4 -4
  300. package/esm2015/domain/shop-settings/repositories/shop-menu.repository.js +2 -2
  301. package/esm2015/domain/shop-settings/repositories/shop-settings.repository.js +2 -2
  302. package/esm2015/domain/shopping/index.js +3 -3
  303. package/esm2015/domain/shopping/models/buy-2-win.js +14 -14
  304. package/esm2015/domain/shopping/models/campaign-dashboard.js +7 -7
  305. package/esm2015/domain/shopping/models/campaign-hashtag.js +7 -7
  306. package/esm2015/domain/shopping/models/checkout.js +38 -38
  307. package/esm2015/domain/shopping/models/coupons/coupon.js +38 -40
  308. package/esm2015/domain/shopping/models/coupons/enums/coupon-club-mens.enum.js +7 -7
  309. package/esm2015/domain/shopping/models/coupons/enums/coupon-subtypes.enum.js +6 -6
  310. package/esm2015/domain/shopping/models/coupons/enums/coupon-types.enum.js +10 -10
  311. package/esm2015/domain/shopping/models/coupons/enums/exclusivities.enum.js +10 -10
  312. package/esm2015/domain/shopping/models/coupons/enums/index.js +4 -4
  313. package/esm2015/domain/shopping/models/coupons/index.js +3 -3
  314. package/esm2015/domain/shopping/models/enums/checkout-types.enum.js +7 -7
  315. package/esm2015/domain/shopping/models/enums/index.js +3 -3
  316. package/esm2015/domain/shopping/models/enums/order-status.enum.js +12 -12
  317. package/esm2015/domain/shopping/models/index.js +13 -13
  318. package/esm2015/domain/shopping/models/line-item.js +4 -4
  319. package/esm2015/domain/shopping/models/order.js +11 -11
  320. package/esm2015/domain/shopping/models/payment.js +169 -169
  321. package/esm2015/domain/shopping/models/shipping-method.js +7 -7
  322. package/esm2015/domain/shopping/models/subscription/checkout.js +28 -28
  323. package/esm2015/domain/shopping/models/subscription/index.js +3 -3
  324. package/esm2015/domain/shopping/models/subscription/plan.js +7 -7
  325. package/esm2015/domain/shopping/models/types/index.js +8 -8
  326. package/esm2015/domain/shopping/models/types/payment-address.type.js +2 -2
  327. package/esm2015/domain/shopping/models/types/payment-billing.type.js +2 -2
  328. package/esm2015/domain/shopping/models/types/payment-card.type.js +2 -2
  329. package/esm2015/domain/shopping/models/types/payment-customer.type.js +2 -2
  330. package/esm2015/domain/shopping/models/types/payment-document.type.js +2 -2
  331. package/esm2015/domain/shopping/models/types/payment-item.type.js +2 -2
  332. package/esm2015/domain/shopping/models/types/payment-shipping.type.js +2 -2
  333. package/esm2015/domain/shopping/repositories/buy-2-win.repository.js +2 -2
  334. package/esm2015/domain/shopping/repositories/campaign-dashboard.repository.js +2 -2
  335. package/esm2015/domain/shopping/repositories/campaign-hashtag.repository.js +2 -2
  336. package/esm2015/domain/shopping/repositories/checkout.repository.js +2 -2
  337. package/esm2015/domain/shopping/repositories/coupon.repository.js +2 -2
  338. package/esm2015/domain/shopping/repositories/index.js +10 -10
  339. package/esm2015/domain/shopping/repositories/legacy-order.repository.js +2 -2
  340. package/esm2015/domain/shopping/repositories/order.repository.js +2 -2
  341. package/esm2015/domain/shopping/repositories/payment.repository.js +2 -2
  342. package/esm2015/domain/shopping/repositories/subscription/checkout.repository.js +2 -2
  343. package/esm2015/domain/shopping/repositories/subscription/index.js +3 -3
  344. package/esm2015/domain/shopping/repositories/subscription/plan.repository.js +2 -2
  345. package/esm2015/domain/users/errors/index.js +4 -4
  346. package/esm2015/domain/users/errors/unauthorized.error.js +8 -8
  347. package/esm2015/domain/users/errors/user-already-registered.error.js +8 -8
  348. package/esm2015/domain/users/errors/weak-password.error.js +8 -8
  349. package/esm2015/domain/users/index.js +6 -6
  350. package/esm2015/domain/users/models/beauty-profile.js +12 -12
  351. package/esm2015/domain/users/models/enums/accessory-importances.enum.js +7 -7
  352. package/esm2015/domain/users/models/enums/area.enum.js +13 -13
  353. package/esm2015/domain/users/models/enums/beard-problems.enum.js +11 -11
  354. package/esm2015/domain/users/models/enums/beard-sizes.enum.js +9 -9
  355. package/esm2015/domain/users/models/enums/beauty-product-importances.enum.js +8 -8
  356. package/esm2015/domain/users/models/enums/body-problems.enum.js +13 -13
  357. package/esm2015/domain/users/models/enums/body-shapes.enum.js +9 -9
  358. package/esm2015/domain/users/models/enums/body-tattoos.enum.js +7 -7
  359. package/esm2015/domain/users/models/enums/face-skin-oilinesses.enum.js +9 -9
  360. package/esm2015/domain/users/models/enums/face-skin-problems.enum.js +12 -12
  361. package/esm2015/domain/users/models/enums/face-skin-tones.enum.js +10 -10
  362. package/esm2015/domain/users/models/enums/family-incomes.enum.js +10 -10
  363. package/esm2015/domain/users/models/enums/fragrance-importances.enum.js +7 -7
  364. package/esm2015/domain/users/models/enums/hair-colors.enum.js +12 -12
  365. package/esm2015/domain/users/models/enums/hair-problems.enum.js +12 -12
  366. package/esm2015/domain/users/models/enums/hair-strands.enum.js +10 -10
  367. package/esm2015/domain/users/models/enums/hair-types.enum.js +9 -9
  368. package/esm2015/domain/users/models/enums/index.js +21 -21
  369. package/esm2015/domain/users/models/enums/office-position.enum.js +8 -8
  370. package/esm2015/domain/users/models/enums/product-spents.enum.js +10 -10
  371. package/esm2015/domain/users/models/enums/user-type.enum.js +10 -10
  372. package/esm2015/domain/users/models/index.js +8 -8
  373. package/esm2015/domain/users/models/lead.js +7 -7
  374. package/esm2015/domain/users/models/subscription/edition.js +7 -7
  375. package/esm2015/domain/users/models/subscription/enums/billing-status.enum.js +5 -5
  376. package/esm2015/domain/users/models/subscription/enums/edition-status.enum.js +6 -6
  377. package/esm2015/domain/users/models/subscription/enums/index.js +5 -5
  378. package/esm2015/domain/users/models/subscription/enums/payment-type.enum.js +7 -7
  379. package/esm2015/domain/users/models/subscription/enums/status.enum.js +6 -6
  380. package/esm2015/domain/users/models/subscription/index.js +5 -5
  381. package/esm2015/domain/users/models/subscription/payment.js +14 -14
  382. package/esm2015/domain/users/models/subscription/subscription.js +43 -43
  383. package/esm2015/domain/users/models/user-address.js +7 -7
  384. package/esm2015/domain/users/models/user-payment-method.js +7 -7
  385. package/esm2015/domain/users/models/user.js +26 -26
  386. package/esm2015/domain/users/repositories/beauty-profile.repository.js +2 -2
  387. package/esm2015/domain/users/repositories/edition.repository.js +2 -2
  388. package/esm2015/domain/users/repositories/index.js +9 -9
  389. package/esm2015/domain/users/repositories/lead.repository.js +2 -2
  390. package/esm2015/domain/users/repositories/subscription-payment.repository.js +2 -2
  391. package/esm2015/domain/users/repositories/subscription.repository.js +2 -2
  392. package/esm2015/domain/users/repositories/user-address.repository.js +2 -2
  393. package/esm2015/domain/users/repositories/user-payment-method.repository.js +2 -2
  394. package/esm2015/domain/users/repositories/user.repository.js +2 -2
  395. package/esm2015/domain/users/services/authentication.service.js +2 -2
  396. package/esm2015/domain/users/services/index.js +4 -4
  397. package/esm2015/domain/users/services/register.service.js +2 -2
  398. package/esm2015/domain/users/services/types/basic-user-data.type.js +2 -2
  399. package/esm2015/domain/users/services/types/index.js +2 -2
  400. package/esm2015/domain/users/use-cases/authentication.js +40 -40
  401. package/esm2015/domain/users/use-cases/index.js +5 -5
  402. package/esm2015/domain/users/use-cases/recovery-password.js +12 -12
  403. package/esm2015/domain/users/use-cases/register.js +34 -34
  404. package/esm2015/domain/users/use-cases/signout.js +12 -12
  405. package/esm2015/errors/duplicated-results.error.js +8 -8
  406. package/esm2015/errors/index.js +5 -5
  407. package/esm2015/errors/invalid-argument.error.js +8 -8
  408. package/esm2015/errors/not-found.error.js +8 -8
  409. package/esm2015/errors/required-argument.error.js +9 -9
  410. package/esm2015/index.js +6 -6
  411. package/esm2015/infra/elasticsearch/adapters/axios.adapter.js +76 -76
  412. package/esm2015/infra/elasticsearch/adapters/elastic-search.adapter.js +2 -2
  413. package/esm2015/infra/elasticsearch/adapters/index.js +3 -3
  414. package/esm2015/infra/elasticsearch/index.js +4 -4
  415. package/esm2015/infra/elasticsearch/indexes/index.js +2 -2
  416. package/esm2015/infra/elasticsearch/indexes/products-index.js +110 -110
  417. package/esm2015/infra/elasticsearch/types/elastic-search-result.js +2 -2
  418. package/esm2015/infra/elasticsearch/types/index.js +2 -2
  419. package/esm2015/infra/firebase/auth/authentication-firebase-auth.service.js +52 -52
  420. package/esm2015/infra/firebase/auth/index.js +3 -3
  421. package/esm2015/infra/firebase/auth/register-firebase-auth.service.js +26 -26
  422. package/esm2015/infra/firebase/auth/types/firebase-user-with-id.type.js +2 -2
  423. package/esm2015/infra/firebase/firestore/enums/firestore-field-type.enum.js +10 -10
  424. package/esm2015/infra/firebase/firestore/enums/index.js +2 -2
  425. package/esm2015/infra/firebase/firestore/index.js +4 -4
  426. package/esm2015/infra/firebase/firestore/mixins/index.js +10 -10
  427. package/esm2015/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +31 -31
  428. package/esm2015/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +10 -10
  429. package/esm2015/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +18 -18
  430. package/esm2015/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +98 -98
  431. package/esm2015/infra/firebase/firestore/mixins/with-firestore.mixin.js +49 -49
  432. package/esm2015/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +24 -24
  433. package/esm2015/infra/firebase/firestore/mixins/with-helpers.mixin.js +17 -17
  434. package/esm2015/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +11 -11
  435. package/esm2015/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +45 -45
  436. package/esm2015/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +73 -73
  437. package/esm2015/infra/firebase/firestore/repositories/catalog/index.js +5 -5
  438. package/esm2015/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +55 -55
  439. package/esm2015/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +14 -14
  440. package/esm2015/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +12 -12
  441. package/esm2015/infra/firebase/firestore/repositories/index.js +5 -5
  442. package/esm2015/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +56 -56
  443. package/esm2015/infra/firebase/firestore/repositories/shop-settings/index.js +4 -4
  444. package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +12 -12
  445. package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.js +12 -12
  446. package/esm2015/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +12 -12
  447. package/esm2015/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.js +12 -12
  448. package/esm2015/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.js +12 -12
  449. package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +12 -12
  450. package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +12 -12
  451. package/esm2015/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +29 -29
  452. package/esm2015/infra/firebase/firestore/repositories/shopping/index.js +11 -11
  453. package/esm2015/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +9 -9
  454. package/esm2015/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +40 -40
  455. package/esm2015/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +12 -12
  456. package/esm2015/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +12 -12
  457. package/esm2015/infra/firebase/firestore/repositories/users/index.js +9 -9
  458. package/esm2015/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +12 -12
  459. package/esm2015/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +14 -14
  460. package/esm2015/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +12 -12
  461. package/esm2015/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +14 -14
  462. package/esm2015/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +14 -14
  463. package/esm2015/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +14 -14
  464. package/esm2015/infra/firebase/firestore/repositories/users/user-firestore.repository.js +68 -68
  465. package/esm2015/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +14 -14
  466. package/esm2015/infra/firebase/firestore/types/firestore-sub.repository.type.js +2 -2
  467. package/esm2015/infra/firebase/firestore/types/firestore.helpers.type.js +2 -2
  468. package/esm2015/infra/firebase/firestore/types/firestore.repository.type.js +2 -2
  469. package/esm2015/infra/firebase/firestore/types/index.js +4 -4
  470. package/esm2015/infra/firebase/index.js +3 -3
  471. package/esm2015/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.js +13 -13
  472. package/esm2015/infra/hasura-graphql/enums/hasura-graphql-where.enum.js +15 -15
  473. package/esm2015/infra/hasura-graphql/enums/index.js +3 -3
  474. package/esm2015/infra/hasura-graphql/index.js +5 -5
  475. package/esm2015/infra/hasura-graphql/mixins/helpers/attribute-option.helper.js +31 -31
  476. package/esm2015/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.js +53 -53
  477. package/esm2015/infra/hasura-graphql/mixins/helpers/filter-option.helper.js +22 -22
  478. package/esm2015/infra/hasura-graphql/mixins/helpers/graphql-field.helper.js +90 -90
  479. package/esm2015/infra/hasura-graphql/mixins/helpers/index.js +5 -5
  480. package/esm2015/infra/hasura-graphql/mixins/index.js +8 -8
  481. package/esm2015/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.js +45 -45
  482. package/esm2015/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.js +10 -10
  483. package/esm2015/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.js +29 -29
  484. package/esm2015/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.js +50 -50
  485. package/esm2015/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.js +35 -35
  486. package/esm2015/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.js +94 -94
  487. package/esm2015/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.js +56 -56
  488. package/esm2015/infra/hasura-graphql/models/category-hasura-graphql.js +4 -4
  489. package/esm2015/infra/hasura-graphql/models/index.js +5 -5
  490. package/esm2015/infra/hasura-graphql/models/kit-product-hasura-graphql.js +15 -15
  491. package/esm2015/infra/hasura-graphql/models/product-hasura-graphql.js +11 -11
  492. package/esm2015/infra/hasura-graphql/models/variant-hasura-graphql.js +9 -9
  493. package/esm2015/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.js +38 -38
  494. package/esm2015/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.js +24 -24
  495. package/esm2015/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.js +333 -333
  496. package/esm2015/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.js +123 -123
  497. package/esm2015/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.js +21 -21
  498. package/esm2015/infra/hasura-graphql/repositories/catalog/index.js +8 -8
  499. package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +490 -489
  500. package/esm2015/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.js +116 -116
  501. package/esm2015/infra/hasura-graphql/repositories/index.js +2 -2
  502. package/esm2015/infra/hasura-graphql/types/fields.type.js +2 -2
  503. package/esm2015/infra/hasura-graphql/types/graphql.repository.type.js +2 -2
  504. package/esm2015/infra/hasura-graphql/types/hasura-graphql-auth-options.type.js +2 -2
  505. package/esm2015/infra/hasura-graphql/types/hasura-graphql-fields.type.js +2 -2
  506. package/esm2015/infra/hasura-graphql/types/hasura-graphql-headers.type.js +2 -2
  507. package/esm2015/infra/hasura-graphql/types/index.js +9 -9
  508. package/esm2015/infra/hasura-graphql/types/nested-field.type.js +2 -2
  509. package/esm2015/infra/hasura-graphql/types/query-builder-options.type.js +2 -2
  510. package/esm2015/infra/hasura-graphql/types/variable-options.type.js +2 -2
  511. package/esm2015/infra/index.js +4 -4
  512. package/esm2015/infrab4a-connect.js +4 -4
  513. package/esm2015/utils/index.js +9 -8
  514. package/esm2015/utils/is-uuid.js +3 -3
  515. package/esm2015/utils/mixins/base.mixin.js +6 -6
  516. package/esm2015/utils/mixins/index.js +4 -4
  517. package/esm2015/utils/mixins/merge-constructor-params.type.js +2 -2
  518. package/esm2015/utils/mixins/mixin-ctor.type.js +2 -2
  519. package/esm2015/utils/parse-datetime.js +14 -14
  520. package/esm2015/utils/round-product-price.js +12 -0
  521. package/esm2015/utils/types/array-element.type.js +2 -2
  522. package/esm2015/utils/types/index.js +3 -3
  523. package/esm2015/utils/types/prop.type.js +2 -2
  524. package/fesm2015/infrab4a-connect.js +3638 -3630
  525. package/fesm2015/infrab4a-connect.js.map +1 -1
  526. package/index.d.ts +5 -5
  527. package/infra/elasticsearch/adapters/axios.adapter.d.ts +16 -16
  528. package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +8 -8
  529. package/infra/elasticsearch/adapters/index.d.ts +2 -2
  530. package/infra/elasticsearch/index.d.ts +3 -3
  531. package/infra/elasticsearch/indexes/index.d.ts +1 -1
  532. package/infra/elasticsearch/indexes/products-index.d.ts +13 -13
  533. package/infra/elasticsearch/types/elastic-search-result.d.ts +9 -9
  534. package/infra/elasticsearch/types/index.d.ts +1 -1
  535. package/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
  536. package/infra/firebase/auth/index.d.ts +2 -2
  537. package/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
  538. package/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +3 -3
  539. package/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +8 -8
  540. package/infra/firebase/firestore/enums/index.d.ts +1 -1
  541. package/infra/firebase/firestore/index.d.ts +3 -3
  542. package/infra/firebase/firestore/mixins/index.d.ts +9 -9
  543. package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
  544. package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +4 -4
  545. package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
  546. package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
  547. package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +4 -4
  548. package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
  549. package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
  550. package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +7 -7
  551. package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
  552. package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +18 -18
  553. package/infra/firebase/firestore/repositories/catalog/index.d.ts +4 -4
  554. package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +12 -12
  555. package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +13 -13
  556. package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +8 -8
  557. package/infra/firebase/firestore/repositories/index.d.ts +4 -4
  558. package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
  559. package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +3 -3
  560. package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +8 -8
  561. package/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +8 -8
  562. package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +8 -8
  563. package/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.d.ts +9 -9
  564. package/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.d.ts +9 -9
  565. package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +8 -8
  566. package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +8 -8
  567. package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
  568. package/infra/firebase/firestore/repositories/shopping/index.d.ts +10 -10
  569. package/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +7 -7
  570. package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
  571. package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +8 -8
  572. package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +8 -8
  573. package/infra/firebase/firestore/repositories/users/index.d.ts +8 -8
  574. package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +8 -8
  575. package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +13 -13
  576. package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +8 -8
  577. package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +13 -13
  578. package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +13 -13
  579. package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +13 -13
  580. package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
  581. package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +13 -13
  582. package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
  583. package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
  584. package/infra/firebase/firestore/types/firestore.repository.type.d.ts +14 -14
  585. package/infra/firebase/firestore/types/index.d.ts +3 -3
  586. package/infra/firebase/index.d.ts +2 -2
  587. package/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
  588. package/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +13 -13
  589. package/infra/hasura-graphql/enums/index.d.ts +2 -2
  590. package/infra/hasura-graphql/index.d.ts +4 -4
  591. package/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +13 -13
  592. package/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
  593. package/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +6 -6
  594. package/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +8 -8
  595. package/infra/hasura-graphql/mixins/helpers/index.d.ts +4 -4
  596. package/infra/hasura-graphql/mixins/index.d.ts +7 -7
  597. package/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +8 -8
  598. package/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +11 -11
  599. package/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +7 -7
  600. package/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +20 -20
  601. package/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +24 -24
  602. package/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +11 -11
  603. package/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +14 -14
  604. package/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
  605. package/infra/hasura-graphql/models/index.d.ts +4 -4
  606. package/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +6 -6
  607. package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +15 -15
  608. package/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +9 -9
  609. package/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.d.ts +10 -10
  610. package/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +11 -11
  611. package/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +31 -31
  612. package/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.d.ts +18 -18
  613. package/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.d.ts +10 -10
  614. package/infra/hasura-graphql/repositories/catalog/index.d.ts +7 -7
  615. package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +29 -29
  616. package/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +14 -14
  617. package/infra/hasura-graphql/repositories/index.d.ts +1 -1
  618. package/infra/hasura-graphql/types/fields.type.d.ts +2 -2
  619. package/infra/hasura-graphql/types/graphql.repository.type.d.ts +21 -21
  620. package/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
  621. package/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +40 -40
  622. package/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
  623. package/infra/hasura-graphql/types/index.d.ts +8 -8
  624. package/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
  625. package/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
  626. package/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
  627. package/infra/index.d.ts +3 -3
  628. package/infrab4a-connect.d.ts +5 -5
  629. package/package.json +1 -1
  630. package/utils/index.d.ts +8 -7
  631. package/utils/is-uuid.d.ts +1 -1
  632. package/utils/mixins/base.mixin.d.ts +3 -3
  633. package/utils/mixins/index.d.ts +3 -3
  634. package/utils/mixins/merge-constructor-params.type.d.ts +3 -3
  635. package/utils/mixins/mixin-ctor.type.d.ts +1 -1
  636. package/utils/parse-datetime.d.ts +1 -1
  637. package/utils/round-product-price.d.ts +2 -0
  638. package/utils/types/array-element.type.d.ts +1 -1
  639. package/utils/types/index.d.ts +2 -2
  640. package/utils/types/prop.type.d.ts +1 -1
@@ -1,18 +1,18 @@
1
- import { BaseModel, GenericIdentifier } from "../../generic";
2
- export declare class CampaignHashtag extends BaseModel<CampaignHashtag> {
3
- id: string;
4
- status?: string;
5
- updatedAt?: string;
6
- environment: string;
7
- campaignName?: string;
8
- campaignImage?: string;
9
- campaignMinGlampoints?: number;
10
- campaignMaxGlampoints?: number;
11
- campaignReferCode?: string;
12
- campaignDescription?: string;
13
- startDate?: Date;
14
- endDate?: Date;
15
- campaignSubscribed: boolean;
16
- rules?: string[];
17
- static get identifiersFields(): GenericIdentifier[];
18
- }
1
+ import { BaseModel, GenericIdentifier } from "../../generic";
2
+ export declare class CampaignHashtag extends BaseModel<CampaignHashtag> {
3
+ id: string;
4
+ status?: string;
5
+ updatedAt?: string;
6
+ environment: string;
7
+ campaignName?: string;
8
+ campaignImage?: string;
9
+ campaignMinGlampoints?: number;
10
+ campaignMaxGlampoints?: number;
11
+ campaignReferCode?: string;
12
+ campaignDescription?: string;
13
+ startDate?: Date;
14
+ endDate?: Date;
15
+ campaignSubscribed: boolean;
16
+ rules?: string[];
17
+ static get identifiersFields(): GenericIdentifier[];
18
+ }
@@ -1,27 +1,27 @@
1
- import { Address } from '../../location/models/address';
2
- import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
3
- import { User } from '../../users/models/user';
4
- import { Coupon } from './coupons/coupon';
5
- import { LineItem } from './line-item';
6
- import { ShippingMethod } from './shipping-method';
7
- import { Shops } from '../../catalog/models/enums/shops.enum';
8
- export declare class Checkout extends BaseModel<Checkout> {
9
- id?: string;
10
- paymentId?: string;
11
- status?: string;
12
- createdAt?: Date;
13
- updatedAt?: Date;
14
- completedAt?: Date;
15
- discount?: number;
16
- subTotalPrice?: number;
17
- totalPrice?: number;
18
- shop: Shops;
19
- glampoints?: number;
20
- lineItems?: LineItem[];
21
- user?: User;
22
- shippingAddress?: Address;
23
- billingAddress?: Address;
24
- shipping?: ShippingMethod;
25
- coupon?: Coupon;
26
- static get identifiersFields(): GenericIdentifier[];
27
- }
1
+ import { Address } from '../../location/models/address';
2
+ import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
3
+ import { User } from '../../users/models/user';
4
+ import { Coupon } from './coupons/coupon';
5
+ import { LineItem } from './line-item';
6
+ import { ShippingMethod } from './shipping-method';
7
+ import { Shops } from '../../catalog/models/enums/shops.enum';
8
+ export declare class Checkout extends BaseModel<Checkout> {
9
+ id?: string;
10
+ paymentId?: string;
11
+ status?: string;
12
+ createdAt?: Date;
13
+ updatedAt?: Date;
14
+ completedAt?: Date;
15
+ discount?: number;
16
+ subTotalPrice?: number;
17
+ totalPrice?: number;
18
+ shop: Shops;
19
+ glampoints?: number;
20
+ lineItems?: LineItem[];
21
+ user?: User;
22
+ shippingAddress?: Address;
23
+ billingAddress?: Address;
24
+ shipping?: ShippingMethod;
25
+ coupon?: Coupon;
26
+ static get identifiersFields(): GenericIdentifier[];
27
+ }
@@ -1,46 +1,32 @@
1
- import { Shops } from '../../../catalog/models/enums/shops.enum';
2
- import { BaseModel, GenericIdentifier } from '../../../generic/model/base.model';
3
- import { CheckoutTypes } from '../enums/checkout-types.enum';
4
- import { CouponTypes, Exclusivities } from './enums';
5
- import { ClubeDaMensPlan } from './enums/coupon-club-mens.enum';
6
- export declare class Coupon extends BaseModel<Coupon> {
7
- id: string;
8
- category?: string;
9
- discount: {
10
- subscriber: {
11
- type: CouponTypes;
12
- value: number;
13
- };
14
- non_subscriber: {
15
- type: CouponTypes;
16
- value: number;
17
- };
18
- subscription?: {
19
- type: CouponTypes;
20
- value: number;
21
- };
22
- };
23
- user?: string;
24
- userExclusiveEmail?: string[];
25
- campaign?: string;
26
- nickname: string;
27
- beginAt: Date;
28
- expiresIn?: Date;
29
- unlimited?: boolean;
30
- useLimit?: number;
31
- useLimitPerUser?: boolean;
32
- shopAvailability: Shops;
33
- personId?: number;
34
- influencerEmail?: string;
35
- plan?: ClubeDaMensPlan;
36
- productsCategories: string[];
37
- minSubTotalValue?: number;
38
- active?: Boolean;
39
- createdAt: Date;
40
- updatedAt?: Date;
41
- checkoutType: CheckoutTypes;
42
- exclusivityType?: [Exclusivities];
43
- get isInfluencer(): boolean;
44
- static get identifiersFields(): GenericIdentifier[];
45
- static createCoupon(userId: string): Coupon;
46
- }
1
+ import { Shops } from '../../../catalog/models/enums/shops.enum';
2
+ import { BaseModel, GenericIdentifier } from '../../../generic/model/base.model';
3
+ import { CheckoutTypes } from '../enums/checkout-types.enum';
4
+ import { CouponTypes, Exclusivities } from './enums';
5
+ import { ClubeDaMensPlan } from './enums/coupon-club-mens.enum';
6
+ export declare class Coupon extends BaseModel<Coupon> {
7
+ id: string;
8
+ type: CouponTypes;
9
+ discount?: number;
10
+ user?: string;
11
+ userExclusiveEmail?: string;
12
+ campaign?: string;
13
+ nickname: string;
14
+ beginAt: Date;
15
+ expiresIn?: Date;
16
+ useLimit?: number;
17
+ useLimitPerUser?: boolean;
18
+ shopAvailability: Shops;
19
+ personId?: number;
20
+ influencerEmail?: string;
21
+ plan?: ClubeDaMensPlan;
22
+ productsCategories: string[];
23
+ minSubTotalValue?: number;
24
+ active?: Boolean;
25
+ createdAt: Date;
26
+ updatedAt?: Date;
27
+ checkoutType: CheckoutTypes;
28
+ exclusivityType?: Exclusivities;
29
+ get isInfluencer(): boolean;
30
+ static get identifiersFields(): GenericIdentifier[];
31
+ static createCoupon(userId: string): Coupon;
32
+ }
@@ -1,5 +1,5 @@
1
- export declare enum ClubeDaMensPlan {
2
- PRIME = "PRIME",
3
- SELECT = "SELECT",
4
- ALL = "ALL"
5
- }
1
+ export declare enum ClubeDaMensPlan {
2
+ PRIME = "PRIME",
3
+ SELECT = "SELECT",
4
+ ALL = "ALL"
5
+ }
@@ -1,4 +1,4 @@
1
- export declare enum CouponSubtypes {
2
- ABSOLUTE = 1,
3
- PERCENTAGE = 2
4
- }
1
+ export declare enum CouponSubtypes {
2
+ ABSOLUTE = 1,
3
+ PERCENTAGE = 2
4
+ }
@@ -1,4 +1,4 @@
1
- export declare enum CouponTypes {
2
- ABSOLUTE = 1,
3
- PERCENTAGE = 2
4
- }
1
+ export declare enum CouponTypes {
2
+ ABSOLUTE = 1,
3
+ PERCENTAGE = 2
4
+ }
@@ -1,8 +1,8 @@
1
- export declare enum Exclusivities {
2
- ALL_USERS = 1,
3
- SPECIFIC_USER = 2,
4
- COLLABORATORS = 3,
5
- ACTIVE_SUBSCRIBER = 4,
6
- INACTIVE_SUBSCRIBER = 5,
7
- NON_SUBSCRIBER = 6
8
- }
1
+ export declare enum Exclusivities {
2
+ ALL_USERS = 1,
3
+ SPECIFIC_USER = 2,
4
+ COLLABORATORS = 3,
5
+ ACTIVE_SUBSCRIBER = 4,
6
+ INACTIVE_SUBSCRIBER = 5,
7
+ NON_SUBSCRIBER = 6
8
+ }
@@ -1,3 +1,3 @@
1
- export * from './coupon-types.enum';
2
- export * from './coupon-subtypes.enum';
3
- export * from './exclusivities.enum';
1
+ export * from './coupon-types.enum';
2
+ export * from './coupon-subtypes.enum';
3
+ export * from './exclusivities.enum';
@@ -1,2 +1,2 @@
1
- export * from './enums';
2
- export * from './coupon';
1
+ export * from './enums';
2
+ export * from './coupon';
@@ -1,5 +1,5 @@
1
- export declare enum CheckoutTypes {
2
- ECOMMERCE = 1,
3
- SUBSCRIPTION = 2,
4
- ALL = 3
5
- }
1
+ export declare enum CheckoutTypes {
2
+ ECOMMERCE = 1,
3
+ SUBSCRIPTION = 2,
4
+ ALL = 3
5
+ }
@@ -1,2 +1,2 @@
1
- export * from './checkout-types.enum';
2
- export * from './order-status.enum';
1
+ export * from './checkout-types.enum';
2
+ export * from './order-status.enum';
@@ -1,10 +1,10 @@
1
- export declare enum OrderStatus {
2
- AGUARDANDO_PAGAMENTO = "Aguardando pagamento",
3
- EM_PREPARO = "Preparando pedido",
4
- NF_EMITIDA = "Nota Fiscal Emitida",
5
- AGUARDANDO_ENVIO = "Aguardando Transaportadora",
6
- ENVIADO = "Enviado",
7
- ENTREGUE = "Entregue",
8
- CANCELADO = "Cancelado",
9
- CREDIT_CARD = "credit_card"
10
- }
1
+ export declare enum OrderStatus {
2
+ AGUARDANDO_PAGAMENTO = "Aguardando pagamento",
3
+ EM_PREPARO = "Preparando pedido",
4
+ NF_EMITIDA = "Nota Fiscal Emitida",
5
+ AGUARDANDO_ENVIO = "Aguardando Transaportadora",
6
+ ENVIADO = "Enviado",
7
+ ENTREGUE = "Entregue",
8
+ CANCELADO = "Cancelado",
9
+ CREDIT_CARD = "credit_card"
10
+ }
@@ -1,12 +1,12 @@
1
- export * from './buy-2-win';
2
- export * from './campaign-dashboard';
3
- export * from './campaign-hashtag';
4
- export * from './checkout';
5
- export * from './coupons';
6
- export * from './enums';
7
- export * from './line-item';
8
- export * from './order';
9
- export * from './payment';
10
- export * from './shipping-method';
11
- export * from './subscription';
12
- export * from './types';
1
+ export * from './buy-2-win';
2
+ export * from './campaign-dashboard';
3
+ export * from './campaign-hashtag';
4
+ export * from './checkout';
5
+ export * from './coupons';
6
+ export * from './enums';
7
+ export * from './line-item';
8
+ export * from './order';
9
+ export * from './payment';
10
+ export * from './shipping-method';
11
+ export * from './subscription';
12
+ export * from './types';
@@ -1,8 +1,8 @@
1
- import { Product } from '../../catalog/models/product';
2
- export declare class LineItem extends Product {
3
- parentId?: string;
4
- quantity: number;
5
- isGift?: boolean;
6
- pricePaid?: number;
7
- image?: string;
8
- }
1
+ import { Product } from '../../catalog/models/product';
2
+ export declare class LineItem extends Product {
3
+ parentId?: string;
4
+ quantity: number;
5
+ isGift?: boolean;
6
+ pricePaid?: number;
7
+ image?: string;
8
+ }
@@ -1,9 +1,9 @@
1
- import { Checkout } from './checkout';
2
- import { OrderStatus } from './enums/order-status.enum';
3
- import { Payment } from './payment';
4
- export declare class Order extends Checkout {
5
- status: OrderStatus;
6
- trackingCode?: string;
7
- trackingUrl?: string;
8
- payment: Payment;
9
- }
1
+ import { Checkout } from './checkout';
2
+ import { OrderStatus } from './enums/order-status.enum';
3
+ import { Payment } from './payment';
4
+ export declare class Order extends Checkout {
5
+ status: OrderStatus;
6
+ trackingCode?: string;
7
+ trackingUrl?: string;
8
+ payment: Payment;
9
+ }
@@ -1,67 +1,67 @@
1
- import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
2
- import { PaymentBilling, PaymentCard, PaymentCustomer, PaymentItem, PaymentShipping } from './types';
3
- export declare class Payment extends BaseModel<Payment> {
4
- id: number;
5
- object: string;
6
- status: string;
7
- tid: number;
8
- nsu: number;
9
- amount: number;
10
- cost: number;
11
- installments: number;
12
- referer: string;
13
- ip: string;
14
- phone: string;
15
- address: string;
16
- metadata: any;
17
- device: string;
18
- payment: string;
19
- addition: string;
20
- discount: string;
21
- customer: PaymentCustomer;
22
- billing: PaymentBilling;
23
- shipping: PaymentShipping;
24
- items: PaymentItem[];
25
- card: PaymentCard;
26
- refuseReason: string;
27
- statusReason: string;
28
- acquirerResponseCode: string;
29
- acquirerName: string;
30
- acquirerId: string;
31
- authorizationCode: string;
32
- softDescriptor: string;
33
- dateCreated: string;
34
- dateUpdated: string;
35
- authorizedAmount: number;
36
- paidAmount: number;
37
- refundedAmount: number;
38
- cardHolderName: string;
39
- cardLastDigits: string;
40
- cardFirstDigits: string;
41
- cardBrand: string;
42
- cardPinMode: string;
43
- cardMagstripeFallback: boolean;
44
- cvmPin: boolean;
45
- postbackUrl: string;
46
- paymentMethod: string;
47
- captureMethod: string;
48
- antifraudScore: string;
49
- boletoUrl: string;
50
- boletoBarcode: string;
51
- boletoExpirationDate: string;
52
- subscriptionId: string;
53
- splitRules: string;
54
- antifraudMetadata: any;
55
- referenceKey: string;
56
- localTransactionId: string;
57
- localTime: string;
58
- fraudCovered: boolean;
59
- fraudReimbursed: string;
60
- orderId: string;
61
- riskLevel: string;
62
- receiptUrl: string;
63
- privateLabel: string;
64
- pixQrCode: string;
65
- pixExpirationDate: string;
66
- static get identifiersFields(): GenericIdentifier[];
67
- }
1
+ import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
2
+ import { PaymentBilling, PaymentCard, PaymentCustomer, PaymentItem, PaymentShipping } from './types';
3
+ export declare class Payment extends BaseModel<Payment> {
4
+ id: number;
5
+ object: string;
6
+ status: string;
7
+ tid: number;
8
+ nsu: number;
9
+ amount: number;
10
+ cost: number;
11
+ installments: number;
12
+ referer: string;
13
+ ip: string;
14
+ phone: string;
15
+ address: string;
16
+ metadata: any;
17
+ device: string;
18
+ payment: string;
19
+ addition: string;
20
+ discount: string;
21
+ customer: PaymentCustomer;
22
+ billing: PaymentBilling;
23
+ shipping: PaymentShipping;
24
+ items: PaymentItem[];
25
+ card: PaymentCard;
26
+ refuseReason: string;
27
+ statusReason: string;
28
+ acquirerResponseCode: string;
29
+ acquirerName: string;
30
+ acquirerId: string;
31
+ authorizationCode: string;
32
+ softDescriptor: string;
33
+ dateCreated: string;
34
+ dateUpdated: string;
35
+ authorizedAmount: number;
36
+ paidAmount: number;
37
+ refundedAmount: number;
38
+ cardHolderName: string;
39
+ cardLastDigits: string;
40
+ cardFirstDigits: string;
41
+ cardBrand: string;
42
+ cardPinMode: string;
43
+ cardMagstripeFallback: boolean;
44
+ cvmPin: boolean;
45
+ postbackUrl: string;
46
+ paymentMethod: string;
47
+ captureMethod: string;
48
+ antifraudScore: string;
49
+ boletoUrl: string;
50
+ boletoBarcode: string;
51
+ boletoExpirationDate: string;
52
+ subscriptionId: string;
53
+ splitRules: string;
54
+ antifraudMetadata: any;
55
+ referenceKey: string;
56
+ localTransactionId: string;
57
+ localTime: string;
58
+ fraudCovered: boolean;
59
+ fraudReimbursed: string;
60
+ orderId: string;
61
+ riskLevel: string;
62
+ receiptUrl: string;
63
+ privateLabel: string;
64
+ pixQrCode: string;
65
+ pixExpirationDate: string;
66
+ static get identifiersFields(): GenericIdentifier[];
67
+ }
@@ -1,16 +1,16 @@
1
- import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
2
- export declare class ShippingMethod extends BaseModel<ShippingMethod> {
3
- id: string;
4
- CNPJ: string;
5
- DaysToDelivery: number;
6
- MaxGrams: number;
7
- MinGrams: number;
8
- ServiceCompanyRangeId: number;
9
- ShippingCompanyId: number;
10
- ShippingCompanyName: string;
11
- ShippingPrice: number;
12
- State: string;
13
- ZipEnd: number;
14
- ZipStart: number;
15
- static get identifiersFields(): GenericIdentifier[];
16
- }
1
+ import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
2
+ export declare class ShippingMethod extends BaseModel<ShippingMethod> {
3
+ id: string;
4
+ CNPJ: string;
5
+ DaysToDelivery: number;
6
+ MaxGrams: number;
7
+ MinGrams: number;
8
+ ServiceCompanyRangeId: number;
9
+ ShippingCompanyId: number;
10
+ ShippingCompanyName: string;
11
+ ShippingPrice: number;
12
+ State: string;
13
+ ZipEnd: number;
14
+ ZipStart: number;
15
+ static get identifiersFields(): GenericIdentifier[];
16
+ }
@@ -1,21 +1,21 @@
1
- import { Address } from '../../../location/models/address';
2
- import { BaseModel, GenericIdentifier } from '../../../generic/model/base.model';
3
- import { Coupon } from '../coupons/coupon';
4
- import { User } from '../../../users/models/user';
5
- import { SubscriptionPlan } from './plan';
6
- export declare class CheckoutSubscription extends BaseModel<CheckoutSubscription> {
7
- id?: string;
8
- user: User;
9
- createdAt: Date;
10
- updatedAt: Date;
11
- completedAt?: Date;
12
- userId?: string;
13
- discount?: number;
14
- subTotalPrice?: number;
15
- totalPrice?: number;
16
- shippingAddress: Address;
17
- billingAddress?: Address;
18
- subscriptionPlan: SubscriptionPlan;
19
- coupon?: Coupon;
20
- static get identifiersFields(): GenericIdentifier[];
21
- }
1
+ import { Address } from '../../../location/models/address';
2
+ import { BaseModel, GenericIdentifier } from '../../../generic/model/base.model';
3
+ import { Coupon } from '../coupons/coupon';
4
+ import { User } from '../../../users/models/user';
5
+ import { SubscriptionPlan } from './plan';
6
+ export declare class CheckoutSubscription extends BaseModel<CheckoutSubscription> {
7
+ id?: string;
8
+ user: User;
9
+ createdAt: Date;
10
+ updatedAt: Date;
11
+ completedAt?: Date;
12
+ userId?: string;
13
+ discount?: number;
14
+ subTotalPrice?: number;
15
+ totalPrice?: number;
16
+ shippingAddress: Address;
17
+ billingAddress?: Address;
18
+ subscriptionPlan: SubscriptionPlan;
19
+ coupon?: Coupon;
20
+ static get identifiersFields(): GenericIdentifier[];
21
+ }
@@ -1,2 +1,2 @@
1
- export * from './checkout';
2
- export * from './plan';
1
+ export * from './checkout';
2
+ export * from './plan';
@@ -1,10 +1,10 @@
1
- import { BaseModel, GenericIdentifier } from '../../../generic/model/base.model';
2
- export declare class SubscriptionPlan extends BaseModel<SubscriptionPlan> {
3
- id: string;
4
- name: string;
5
- billingPrice: number;
6
- recurrencePrice: number;
7
- recurrenceCycle: number;
8
- maxAttempts: number;
9
- static get identifiersFields(): GenericIdentifier[];
10
- }
1
+ import { BaseModel, GenericIdentifier } from '../../../generic/model/base.model';
2
+ export declare class SubscriptionPlan extends BaseModel<SubscriptionPlan> {
3
+ id: string;
4
+ name: string;
5
+ billingPrice: number;
6
+ recurrencePrice: number;
7
+ recurrenceCycle: number;
8
+ maxAttempts: number;
9
+ static get identifiersFields(): GenericIdentifier[];
10
+ }
@@ -1,7 +1,7 @@
1
- export * from './payment-customer.type';
2
- export * from './payment-document.type';
3
- export * from './payment-address.type';
4
- export * from './payment-billing.type';
5
- export * from './payment-shipping.type';
6
- export * from './payment-item.type';
7
- export * from './payment-card.type';
1
+ export * from './payment-customer.type';
2
+ export * from './payment-document.type';
3
+ export * from './payment-address.type';
4
+ export * from './payment-billing.type';
5
+ export * from './payment-shipping.type';
6
+ export * from './payment-item.type';
7
+ export * from './payment-card.type';
@@ -1,12 +1,12 @@
1
- export declare type PaymentAddress = {
2
- id: number;
3
- object: string;
4
- street: string;
5
- complementary: string;
6
- street_number: string;
7
- neighborhood: string;
8
- city: string;
9
- state: string;
10
- zipcode: string;
11
- country: string;
12
- };
1
+ export declare type PaymentAddress = {
2
+ id: number;
3
+ object: string;
4
+ street: string;
5
+ complementary: string;
6
+ street_number: string;
7
+ neighborhood: string;
8
+ city: string;
9
+ state: string;
10
+ zipcode: string;
11
+ country: string;
12
+ };
@@ -1,7 +1,7 @@
1
- import { PaymentAddress } from './payment-address.type';
2
- export declare type PaymentBilling = {
3
- object: string;
4
- id: number;
5
- name: string;
6
- address: PaymentAddress;
7
- };
1
+ import { PaymentAddress } from './payment-address.type';
2
+ export declare type PaymentBilling = {
3
+ object: string;
4
+ id: number;
5
+ name: string;
6
+ address: PaymentAddress;
7
+ };