@infrab4a/connect 3.14.2 → 3.14.3-beta.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.
- package/README.md +24 -24
- package/bundles/infrab4a-connect.umd.js +6106 -6056
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/domain/catalog/helpers/index.d.ts +1 -1
- package/domain/catalog/helpers/round-product-price.helper.d.ts +4 -4
- package/domain/catalog/index.d.ts +3 -3
- package/domain/catalog/models/category-collection-children.d.ts +13 -13
- package/domain/catalog/models/category-filter.d.ts +13 -11
- package/domain/catalog/models/category.d.ts +31 -29
- package/domain/catalog/models/enums/index.d.ts +2 -2
- package/domain/catalog/models/enums/product-genders.enum.d.ts +5 -5
- package/domain/catalog/models/enums/shops.enum.d.ts +6 -6
- package/domain/catalog/models/filter-option.d.ts +9 -9
- package/domain/catalog/models/filter.d.ts +12 -12
- package/domain/catalog/models/index.d.ts +10 -10
- package/domain/catalog/models/kit-product.d.ts +12 -12
- package/domain/catalog/models/product.d.ts +44 -44
- package/domain/catalog/models/types/category-condition.type.d.ts +4 -4
- package/domain/catalog/models/types/category-metadata.type.d.ts +4 -4
- package/domain/catalog/models/types/category-product.d.ts +4 -4
- package/domain/catalog/models/types/index.d.ts +11 -11
- package/domain/catalog/models/types/product-evaluation.type.d.ts +6 -6
- package/domain/catalog/models/types/product-gender.type.d.ts +1 -1
- package/domain/catalog/models/types/product-metadata.type.d.ts +4 -4
- package/domain/catalog/models/types/product-review.type.d.ts +17 -17
- package/domain/catalog/models/types/shop-description.type.d.ts +8 -8
- package/domain/catalog/models/types/shop-price.type.d.ts +6 -6
- package/domain/catalog/models/types/stock.type.d.ts +3 -3
- package/domain/catalog/models/types/variant-grade.type.d.ts +4 -4
- package/domain/catalog/models/variant.d.ts +17 -17
- package/domain/catalog/repositories/category-collection-children.repository.d.ts +4 -4
- package/domain/catalog/repositories/category-filter.repository.d.ts +5 -5
- package/domain/catalog/repositories/category.repository.d.ts +18 -18
- package/domain/catalog/repositories/filter-option.repository.d.ts +4 -4
- package/domain/catalog/repositories/filter.repository.d.ts +4 -4
- package/domain/catalog/repositories/index.d.ts +8 -8
- package/domain/catalog/repositories/product.repository.d.ts +15 -15
- package/domain/catalog/repositories/subscription-product.repository.d.ts +4 -4
- package/domain/catalog/repositories/variant.repository.d.ts +4 -4
- package/domain/generic/index.d.ts +2 -2
- package/domain/generic/model/base.model.d.ts +14 -14
- package/domain/generic/model/identifier-fields.d.ts +4 -4
- package/domain/generic/model/index.d.ts +3 -3
- package/domain/generic/model/types/base-model-builder.type.d.ts +17 -17
- package/domain/generic/model/types/identifier-model.type.d.ts +8 -8
- package/domain/generic/model/types/index.d.ts +5 -5
- package/domain/generic/model/types/model-base-structure.type.d.ts +12 -12
- package/domain/generic/model/types/non-function-properties.type.d.ts +12 -12
- package/domain/generic/model/types/non-function-property-name.type.d.ts +13 -13
- package/domain/generic/repository/create.repository.d.ts +8 -8
- package/domain/generic/repository/crud.repository.d.ts +19 -19
- package/domain/generic/repository/delete.repository.d.ts +7 -7
- package/domain/generic/repository/enums/index.d.ts +2 -2
- package/domain/generic/repository/enums/update-option-actions.enum.d.ts +7 -7
- package/domain/generic/repository/enums/where.enum.d.ts +14 -14
- package/domain/generic/repository/find.repository.d.ts +16 -16
- package/domain/generic/repository/get.repository.d.ts +5 -5
- package/domain/generic/repository/index.d.ts +9 -9
- package/domain/generic/repository/read.repository.d.ts +14 -14
- package/domain/generic/repository/types/index.d.ts +6 -6
- package/domain/generic/repository/types/repository-find-filters.type.d.ts +13 -13
- package/domain/generic/repository/types/repository-find-result.type.d.ts +11 -11
- package/domain/generic/repository/types/repository-limit-options.type.d.ts +4 -4
- package/domain/generic/repository/types/repository-order-by-list.type.d.ts +5 -5
- package/domain/generic/repository/types/repository-update-params.type.d.ts +11 -11
- package/domain/generic/repository/types/where-options.type.d.ts +2 -2
- package/domain/generic/repository/update.repository.d.ts +6 -6
- package/domain/index.d.ts +6 -6
- package/domain/location/index.d.ts +1 -1
- package/domain/location/models/address.d.ts +24 -24
- package/domain/location/models/index.d.ts +2 -2
- package/domain/location/models/types/index.d.ts +3 -3
- package/domain/location/models/types/location-bound.type.d.ts +6 -6
- package/domain/location/models/types/location-geometry.type.d.ts +7 -7
- package/domain/location/models/types/location-lat-lng.type.d.ts +4 -4
- package/domain/shop-settings/enums/filter-type.enum.d.ts +19 -19
- package/domain/shop-settings/enums/index.d.ts +2 -2
- package/domain/shop-settings/enums/questions-filters.enum.d.ts +19 -19
- package/domain/shop-settings/helpers/beauty-questions.helper.d.ts +9 -9
- package/domain/shop-settings/helpers/index.d.ts +1 -1
- package/domain/shop-settings/index.d.ts +4 -4
- package/domain/shop-settings/models/home.d.ts +18 -18
- package/domain/shop-settings/models/index.d.ts +4 -4
- package/domain/shop-settings/models/shop-menu.d.ts +7 -7
- package/domain/shop-settings/models/shop-settings.d.ts +9 -9
- package/domain/shop-settings/models/types/banner.type.d.ts +6 -6
- package/domain/shop-settings/models/types/benefit.type.d.ts +5 -5
- package/domain/shop-settings/models/types/home-data.type.d.ts +15 -15
- package/domain/shop-settings/models/types/index.d.ts +10 -10
- package/domain/shop-settings/models/types/menu-nav.type.d.ts +8 -8
- package/domain/shop-settings/models/types/shop-banner.type.d.ts +12 -12
- package/domain/shop-settings/models/types/shop-brands.type.d.ts +10 -10
- package/domain/shop-settings/models/types/shop-carousel.type.d.ts +5 -5
- package/domain/shop-settings/models/types/shop-collection.type.d.ts +9 -9
- package/domain/shop-settings/models/types/shop-section.type.d.ts +9 -9
- package/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -8
- package/domain/shop-settings/repositories/home.repository.d.ts +4 -4
- package/domain/shop-settings/repositories/index.d.ts +3 -3
- package/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -4
- package/domain/shop-settings/repositories/shop-settings.repository.d.ts +4 -4
- package/domain/shopping/index.d.ts +2 -2
- package/domain/shopping/models/buy-2-win.d.ts +18 -18
- package/domain/shopping/models/campaign-dashboard.d.ts +15 -15
- package/domain/shopping/models/campaign-hashtag.d.ts +18 -18
- package/domain/shopping/models/checkout.d.ts +26 -26
- package/domain/shopping/models/coupons/coupon.d.ts +60 -60
- package/domain/shopping/models/coupons/enums/coupon-club-mens.enum.d.ts +5 -5
- package/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -4
- package/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +4 -4
- package/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +8 -8
- package/domain/shopping/models/coupons/enums/index.d.ts +3 -3
- package/domain/shopping/models/coupons/index.d.ts +2 -2
- package/domain/shopping/models/enums/checkout-types.enum.d.ts +5 -5
- package/domain/shopping/models/enums/index.d.ts +2 -2
- package/domain/shopping/models/enums/order-status.enum.d.ts +10 -10
- package/domain/shopping/models/index.d.ts +12 -12
- package/domain/shopping/models/line-item.d.ts +8 -8
- package/domain/shopping/models/order.d.ts +10 -10
- package/domain/shopping/models/payment.d.ts +67 -67
- package/domain/shopping/models/shipping-method.d.ts +17 -17
- package/domain/shopping/models/subscription/checkout.d.ts +20 -20
- package/domain/shopping/models/subscription/index.d.ts +2 -2
- package/domain/shopping/models/subscription/plan.d.ts +10 -10
- package/domain/shopping/models/types/index.d.ts +7 -7
- package/domain/shopping/models/types/payment-address.type.d.ts +12 -12
- package/domain/shopping/models/types/payment-billing.type.d.ts +7 -7
- package/domain/shopping/models/types/payment-card.type.d.ts +14 -14
- package/domain/shopping/models/types/payment-customer.type.d.ts +18 -18
- package/domain/shopping/models/types/payment-document.type.d.ts +6 -6
- package/domain/shopping/models/types/payment-item.type.d.ts +11 -11
- package/domain/shopping/models/types/payment-shipping.type.d.ts +10 -10
- package/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -4
- package/domain/shopping/repositories/campaign-dashboard.repository.d.ts +4 -4
- package/domain/shopping/repositories/campaign-hashtag.repository.d.ts +4 -4
- package/domain/shopping/repositories/checkout.repository.d.ts +4 -4
- package/domain/shopping/repositories/coupon.repository.d.ts +4 -4
- package/domain/shopping/repositories/index.d.ts +9 -9
- package/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
- package/domain/shopping/repositories/order.repository.d.ts +4 -4
- package/domain/shopping/repositories/payment.repository.d.ts +4 -4
- package/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -4
- package/domain/shopping/repositories/subscription/index.d.ts +2 -2
- package/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -4
- package/domain/users/errors/index.d.ts +3 -3
- package/domain/users/errors/unauthorized.error.d.ts +5 -5
- package/domain/users/errors/user-already-registered.error.d.ts +5 -5
- package/domain/users/errors/weak-password.error.d.ts +5 -5
- package/domain/users/index.d.ts +5 -5
- package/domain/users/models/beauty-profile.d.ts +11 -11
- package/domain/users/models/enums/accessory-importances.enum.d.ts +5 -5
- package/domain/users/models/enums/area.enum.d.ts +11 -11
- package/domain/users/models/enums/beard-problems.enum.d.ts +9 -9
- package/domain/users/models/enums/beard-sizes.enum.d.ts +7 -7
- package/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -6
- package/domain/users/models/enums/body-problems.enum.d.ts +11 -11
- package/domain/users/models/enums/body-shapes.enum.d.ts +7 -7
- package/domain/users/models/enums/body-tattoos.enum.d.ts +5 -5
- package/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -7
- package/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -10
- package/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -8
- package/domain/users/models/enums/family-incomes.enum.d.ts +8 -8
- package/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -5
- package/domain/users/models/enums/hair-colors.enum.d.ts +10 -10
- package/domain/users/models/enums/hair-problems.enum.d.ts +10 -10
- package/domain/users/models/enums/hair-strands.enum.d.ts +8 -8
- package/domain/users/models/enums/hair-types.enum.d.ts +7 -7
- package/domain/users/models/enums/index.d.ts +20 -20
- package/domain/users/models/enums/office-position.enum.d.ts +6 -6
- package/domain/users/models/enums/product-spents.enum.d.ts +8 -8
- package/domain/users/models/enums/user-type.enum.d.ts +8 -8
- package/domain/users/models/index.d.ts +7 -7
- package/domain/users/models/lead.d.ts +8 -8
- package/domain/users/models/subscription/edition.d.ts +16 -16
- package/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -3
- package/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -4
- package/domain/users/models/subscription/enums/index.d.ts +4 -4
- package/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -5
- package/domain/users/models/subscription/enums/status.enum.d.ts +4 -4
- package/domain/users/models/subscription/index.d.ts +4 -4
- package/domain/users/models/subscription/payment.d.ts +13 -13
- package/domain/users/models/subscription/subscription.d.ts +28 -28
- package/domain/users/models/user-address.d.ts +7 -7
- package/domain/users/models/user-payment-method.d.ts +14 -14
- package/domain/users/models/user.d.ts +27 -27
- package/domain/users/repositories/beauty-profile.repository.d.ts +4 -4
- package/domain/users/repositories/edition.repository.d.ts +4 -4
- package/domain/users/repositories/index.d.ts +8 -8
- package/domain/users/repositories/lead.repository.d.ts +4 -4
- package/domain/users/repositories/subscription-payment.repository.d.ts +4 -4
- package/domain/users/repositories/subscription.repository.d.ts +4 -4
- package/domain/users/repositories/user-address.repository.d.ts +4 -4
- package/domain/users/repositories/user-payment-method.repository.d.ts +4 -4
- package/domain/users/repositories/user.repository.d.ts +6 -6
- package/domain/users/services/authentication.service.d.ts +12 -12
- package/domain/users/services/index.d.ts +3 -3
- package/domain/users/services/register.service.d.ts +7 -7
- package/domain/users/services/types/basic-user-data.type.d.ts +4 -4
- package/domain/users/services/types/index.d.ts +1 -1
- package/domain/users/use-cases/authentication.d.ts +21 -21
- package/domain/users/use-cases/index.d.ts +4 -4
- package/domain/users/use-cases/recovery-password.d.ts +6 -6
- package/domain/users/use-cases/register.d.ts +13 -13
- package/domain/users/use-cases/signout.d.ts +6 -6
- package/errors/duplicated-results.error.d.ts +5 -5
- package/errors/index.d.ts +4 -4
- package/errors/invalid-argument.error.d.ts +5 -5
- package/errors/not-found.error.d.ts +5 -5
- package/errors/required-argument.error.d.ts +6 -6
- package/esm2015/domain/catalog/helpers/index.js +2 -2
- package/esm2015/domain/catalog/helpers/round-product-price.helper.js +15 -15
- package/esm2015/domain/catalog/index.js +4 -4
- package/esm2015/domain/catalog/models/category-collection-children.js +13 -13
- package/esm2015/domain/catalog/models/category-filter.js +19 -14
- package/esm2015/domain/catalog/models/category.js +23 -18
- package/esm2015/domain/catalog/models/enums/index.js +3 -3
- package/esm2015/domain/catalog/models/enums/product-genders.enum.js +7 -7
- package/esm2015/domain/catalog/models/enums/shops.enum.js +8 -8
- package/esm2015/domain/catalog/models/filter-option.js +7 -7
- package/esm2015/domain/catalog/models/filter.js +7 -7
- package/esm2015/domain/catalog/models/index.js +11 -11
- package/esm2015/domain/catalog/models/kit-product.js +18 -18
- package/esm2015/domain/catalog/models/product.js +37 -37
- package/esm2015/domain/catalog/models/types/category-condition.type.js +2 -2
- package/esm2015/domain/catalog/models/types/category-metadata.type.js +2 -2
- package/esm2015/domain/catalog/models/types/category-product.js +2 -2
- package/esm2015/domain/catalog/models/types/index.js +12 -12
- package/esm2015/domain/catalog/models/types/product-evaluation.type.js +2 -2
- package/esm2015/domain/catalog/models/types/product-gender.type.js +2 -2
- package/esm2015/domain/catalog/models/types/product-metadata.type.js +2 -2
- package/esm2015/domain/catalog/models/types/product-review.type.js +2 -2
- package/esm2015/domain/catalog/models/types/shop-description.type.js +2 -2
- package/esm2015/domain/catalog/models/types/shop-price.type.js +2 -2
- package/esm2015/domain/catalog/models/types/stock.type.js +2 -2
- package/esm2015/domain/catalog/models/types/variant-grade.type.js +2 -2
- package/esm2015/domain/catalog/models/variant.js +7 -7
- package/esm2015/domain/catalog/repositories/category-collection-children.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/category-filter.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/category.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/filter-option.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/filter.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/index.js +9 -9
- package/esm2015/domain/catalog/repositories/product.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/subscription-product.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/variant.repository.js +2 -2
- package/esm2015/domain/generic/index.js +3 -3
- package/esm2015/domain/generic/model/base.model.js +24 -24
- package/esm2015/domain/generic/model/identifier-fields.js +2 -2
- package/esm2015/domain/generic/model/index.js +4 -4
- package/esm2015/domain/generic/model/types/base-model-builder.type.js +2 -2
- package/esm2015/domain/generic/model/types/identifier-model.type.js +2 -2
- package/esm2015/domain/generic/model/types/index.js +6 -6
- package/esm2015/domain/generic/model/types/model-base-structure.type.js +2 -2
- package/esm2015/domain/generic/model/types/non-function-properties.type.js +2 -2
- package/esm2015/domain/generic/model/types/non-function-property-name.type.js +2 -2
- package/esm2015/domain/generic/repository/create.repository.js +2 -2
- package/esm2015/domain/generic/repository/crud.repository.js +2 -2
- package/esm2015/domain/generic/repository/delete.repository.js +2 -2
- package/esm2015/domain/generic/repository/enums/index.js +3 -3
- package/esm2015/domain/generic/repository/enums/update-option-actions.enum.js +9 -9
- package/esm2015/domain/generic/repository/enums/where.enum.js +16 -16
- package/esm2015/domain/generic/repository/find.repository.js +2 -2
- package/esm2015/domain/generic/repository/get.repository.js +2 -2
- package/esm2015/domain/generic/repository/index.js +10 -10
- package/esm2015/domain/generic/repository/read.repository.js +2 -2
- package/esm2015/domain/generic/repository/types/index.js +7 -7
- package/esm2015/domain/generic/repository/types/repository-find-filters.type.js +2 -2
- package/esm2015/domain/generic/repository/types/repository-find-result.type.js +2 -2
- package/esm2015/domain/generic/repository/types/repository-limit-options.type.js +2 -2
- package/esm2015/domain/generic/repository/types/repository-order-by-list.type.js +2 -2
- package/esm2015/domain/generic/repository/types/repository-update-params.type.js +2 -2
- package/esm2015/domain/generic/repository/types/where-options.type.js +2 -2
- package/esm2015/domain/generic/repository/update.repository.js +2 -2
- package/esm2015/domain/index.js +7 -7
- package/esm2015/domain/location/index.js +2 -2
- package/esm2015/domain/location/models/address.js +7 -7
- package/esm2015/domain/location/models/index.js +3 -3
- package/esm2015/domain/location/models/types/index.js +4 -4
- package/esm2015/domain/location/models/types/location-bound.type.js +2 -2
- package/esm2015/domain/location/models/types/location-geometry.type.js +2 -2
- package/esm2015/domain/location/models/types/location-lat-lng.type.js +2 -2
- package/esm2015/domain/shop-settings/enums/filter-type.enum.js +21 -21
- package/esm2015/domain/shop-settings/enums/index.js +3 -3
- package/esm2015/domain/shop-settings/enums/questions-filters.enum.js +21 -21
- package/esm2015/domain/shop-settings/helpers/beauty-questions.helper.js +46 -46
- package/esm2015/domain/shop-settings/helpers/index.js +2 -2
- package/esm2015/domain/shop-settings/index.js +5 -5
- package/esm2015/domain/shop-settings/models/home.js +7 -7
- package/esm2015/domain/shop-settings/models/index.js +5 -5
- package/esm2015/domain/shop-settings/models/shop-menu.js +7 -7
- package/esm2015/domain/shop-settings/models/shop-settings.js +7 -7
- package/esm2015/domain/shop-settings/models/types/banner.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/benefit.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/home-data.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/index.js +11 -11
- package/esm2015/domain/shop-settings/models/types/menu-nav.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/shop-banner.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/shop-brands.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/shop-carousel.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/shop-collection.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/shop-section.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/sub-menu.type.js +2 -2
- package/esm2015/domain/shop-settings/repositories/home.repository.js +2 -2
- package/esm2015/domain/shop-settings/repositories/index.js +4 -4
- package/esm2015/domain/shop-settings/repositories/shop-menu.repository.js +2 -2
- package/esm2015/domain/shop-settings/repositories/shop-settings.repository.js +2 -2
- package/esm2015/domain/shopping/index.js +3 -3
- package/esm2015/domain/shopping/models/buy-2-win.js +14 -14
- package/esm2015/domain/shopping/models/campaign-dashboard.js +7 -7
- package/esm2015/domain/shopping/models/campaign-hashtag.js +7 -7
- package/esm2015/domain/shopping/models/checkout.js +37 -37
- package/esm2015/domain/shopping/models/coupons/coupon.js +38 -38
- package/esm2015/domain/shopping/models/coupons/enums/coupon-club-mens.enum.js +7 -7
- package/esm2015/domain/shopping/models/coupons/enums/coupon-subtypes.enum.js +6 -6
- package/esm2015/domain/shopping/models/coupons/enums/coupon-types.enum.js +10 -10
- package/esm2015/domain/shopping/models/coupons/enums/exclusivities.enum.js +10 -10
- package/esm2015/domain/shopping/models/coupons/enums/index.js +4 -4
- package/esm2015/domain/shopping/models/coupons/index.js +3 -3
- package/esm2015/domain/shopping/models/enums/checkout-types.enum.js +7 -7
- package/esm2015/domain/shopping/models/enums/index.js +3 -3
- package/esm2015/domain/shopping/models/enums/order-status.enum.js +12 -12
- package/esm2015/domain/shopping/models/index.js +13 -13
- package/esm2015/domain/shopping/models/line-item.js +4 -4
- package/esm2015/domain/shopping/models/order.js +11 -11
- package/esm2015/domain/shopping/models/payment.js +169 -169
- package/esm2015/domain/shopping/models/shipping-method.js +7 -7
- package/esm2015/domain/shopping/models/subscription/checkout.js +28 -28
- package/esm2015/domain/shopping/models/subscription/index.js +3 -3
- package/esm2015/domain/shopping/models/subscription/plan.js +7 -7
- package/esm2015/domain/shopping/models/types/index.js +8 -8
- package/esm2015/domain/shopping/models/types/payment-address.type.js +2 -2
- package/esm2015/domain/shopping/models/types/payment-billing.type.js +2 -2
- package/esm2015/domain/shopping/models/types/payment-card.type.js +2 -2
- package/esm2015/domain/shopping/models/types/payment-customer.type.js +2 -2
- package/esm2015/domain/shopping/models/types/payment-document.type.js +2 -2
- package/esm2015/domain/shopping/models/types/payment-item.type.js +2 -2
- package/esm2015/domain/shopping/models/types/payment-shipping.type.js +2 -2
- package/esm2015/domain/shopping/repositories/buy-2-win.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/campaign-dashboard.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/campaign-hashtag.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/checkout.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/coupon.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/index.js +10 -10
- package/esm2015/domain/shopping/repositories/legacy-order.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/order.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/payment.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/subscription/checkout.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/subscription/index.js +3 -3
- package/esm2015/domain/shopping/repositories/subscription/plan.repository.js +2 -2
- package/esm2015/domain/users/errors/index.js +4 -4
- package/esm2015/domain/users/errors/unauthorized.error.js +8 -8
- package/esm2015/domain/users/errors/user-already-registered.error.js +8 -8
- package/esm2015/domain/users/errors/weak-password.error.js +8 -8
- package/esm2015/domain/users/index.js +6 -6
- package/esm2015/domain/users/models/beauty-profile.js +12 -12
- package/esm2015/domain/users/models/enums/accessory-importances.enum.js +7 -7
- package/esm2015/domain/users/models/enums/area.enum.js +13 -13
- package/esm2015/domain/users/models/enums/beard-problems.enum.js +11 -11
- package/esm2015/domain/users/models/enums/beard-sizes.enum.js +9 -9
- package/esm2015/domain/users/models/enums/beauty-product-importances.enum.js +8 -8
- package/esm2015/domain/users/models/enums/body-problems.enum.js +13 -13
- package/esm2015/domain/users/models/enums/body-shapes.enum.js +9 -9
- package/esm2015/domain/users/models/enums/body-tattoos.enum.js +7 -7
- package/esm2015/domain/users/models/enums/face-skin-oilinesses.enum.js +9 -9
- package/esm2015/domain/users/models/enums/face-skin-problems.enum.js +12 -12
- package/esm2015/domain/users/models/enums/face-skin-tones.enum.js +10 -10
- package/esm2015/domain/users/models/enums/family-incomes.enum.js +10 -10
- package/esm2015/domain/users/models/enums/fragrance-importances.enum.js +7 -7
- package/esm2015/domain/users/models/enums/hair-colors.enum.js +12 -12
- package/esm2015/domain/users/models/enums/hair-problems.enum.js +12 -12
- package/esm2015/domain/users/models/enums/hair-strands.enum.js +10 -10
- package/esm2015/domain/users/models/enums/hair-types.enum.js +9 -9
- package/esm2015/domain/users/models/enums/index.js +21 -21
- package/esm2015/domain/users/models/enums/office-position.enum.js +8 -8
- package/esm2015/domain/users/models/enums/product-spents.enum.js +10 -10
- package/esm2015/domain/users/models/enums/user-type.enum.js +10 -10
- package/esm2015/domain/users/models/index.js +8 -8
- package/esm2015/domain/users/models/lead.js +7 -7
- package/esm2015/domain/users/models/subscription/edition.js +7 -7
- package/esm2015/domain/users/models/subscription/enums/billing-status.enum.js +5 -5
- package/esm2015/domain/users/models/subscription/enums/edition-status.enum.js +6 -6
- package/esm2015/domain/users/models/subscription/enums/index.js +5 -5
- package/esm2015/domain/users/models/subscription/enums/payment-type.enum.js +7 -7
- package/esm2015/domain/users/models/subscription/enums/status.enum.js +6 -6
- package/esm2015/domain/users/models/subscription/index.js +5 -5
- package/esm2015/domain/users/models/subscription/payment.js +14 -14
- package/esm2015/domain/users/models/subscription/subscription.js +43 -43
- package/esm2015/domain/users/models/user-address.js +7 -7
- package/esm2015/domain/users/models/user-payment-method.js +7 -7
- package/esm2015/domain/users/models/user.js +26 -26
- package/esm2015/domain/users/repositories/beauty-profile.repository.js +2 -2
- package/esm2015/domain/users/repositories/edition.repository.js +2 -2
- package/esm2015/domain/users/repositories/index.js +9 -9
- package/esm2015/domain/users/repositories/lead.repository.js +2 -2
- package/esm2015/domain/users/repositories/subscription-payment.repository.js +2 -2
- package/esm2015/domain/users/repositories/subscription.repository.js +2 -2
- package/esm2015/domain/users/repositories/user-address.repository.js +2 -2
- package/esm2015/domain/users/repositories/user-payment-method.repository.js +2 -2
- package/esm2015/domain/users/repositories/user.repository.js +2 -2
- package/esm2015/domain/users/services/authentication.service.js +2 -2
- package/esm2015/domain/users/services/index.js +4 -4
- package/esm2015/domain/users/services/register.service.js +2 -2
- package/esm2015/domain/users/services/types/basic-user-data.type.js +2 -2
- package/esm2015/domain/users/services/types/index.js +2 -2
- package/esm2015/domain/users/use-cases/authentication.js +40 -40
- package/esm2015/domain/users/use-cases/index.js +5 -5
- package/esm2015/domain/users/use-cases/recovery-password.js +12 -12
- package/esm2015/domain/users/use-cases/register.js +34 -34
- package/esm2015/domain/users/use-cases/signout.js +12 -12
- package/esm2015/errors/duplicated-results.error.js +8 -8
- package/esm2015/errors/index.js +5 -5
- package/esm2015/errors/invalid-argument.error.js +8 -8
- package/esm2015/errors/not-found.error.js +8 -8
- package/esm2015/errors/required-argument.error.js +9 -9
- package/esm2015/index.js +6 -6
- package/esm2015/infra/elasticsearch/adapters/axios.adapter.js +76 -76
- package/esm2015/infra/elasticsearch/adapters/elastic-search.adapter.js +2 -2
- package/esm2015/infra/elasticsearch/adapters/index.js +3 -3
- package/esm2015/infra/elasticsearch/index.js +4 -4
- package/esm2015/infra/elasticsearch/indexes/index.js +2 -2
- package/esm2015/infra/elasticsearch/indexes/products-index.js +115 -115
- package/esm2015/infra/elasticsearch/types/elastic-search-result.js +2 -2
- package/esm2015/infra/elasticsearch/types/index.js +2 -2
- package/esm2015/infra/firebase/auth/authentication-firebase-auth.service.js +52 -52
- package/esm2015/infra/firebase/auth/index.js +3 -3
- package/esm2015/infra/firebase/auth/register-firebase-auth.service.js +26 -26
- package/esm2015/infra/firebase/auth/types/firebase-user-with-id.type.js +2 -2
- package/esm2015/infra/firebase/firestore/enums/firestore-field-type.enum.js +10 -10
- package/esm2015/infra/firebase/firestore/enums/index.js +2 -2
- package/esm2015/infra/firebase/firestore/index.js +4 -4
- package/esm2015/infra/firebase/firestore/mixins/index.js +10 -10
- package/esm2015/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +31 -31
- package/esm2015/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +10 -10
- package/esm2015/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +18 -18
- package/esm2015/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +98 -98
- package/esm2015/infra/firebase/firestore/mixins/with-firestore.mixin.js +64 -64
- package/esm2015/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +24 -24
- package/esm2015/infra/firebase/firestore/mixins/with-helpers.mixin.js +17 -17
- package/esm2015/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +11 -11
- package/esm2015/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +45 -45
- package/esm2015/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +82 -82
- package/esm2015/infra/firebase/firestore/repositories/catalog/index.js +5 -5
- package/esm2015/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +58 -58
- package/esm2015/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +14 -14
- package/esm2015/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/index.js +5 -5
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +56 -56
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/index.js +4 -4
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +29 -29
- package/esm2015/infra/firebase/firestore/repositories/shopping/index.js +11 -11
- package/esm2015/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +9 -9
- package/esm2015/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +40 -40
- package/esm2015/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/users/index.js +9 -9
- package/esm2015/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +14 -14
- package/esm2015/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +14 -14
- package/esm2015/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +14 -14
- package/esm2015/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +14 -14
- package/esm2015/infra/firebase/firestore/repositories/users/user-firestore.repository.js +68 -68
- package/esm2015/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +14 -14
- package/esm2015/infra/firebase/firestore/types/firestore-sub.repository.type.js +2 -2
- package/esm2015/infra/firebase/firestore/types/firestore.helpers.type.js +2 -2
- package/esm2015/infra/firebase/firestore/types/firestore.repository.type.js +2 -2
- package/esm2015/infra/firebase/firestore/types/index.js +4 -4
- package/esm2015/infra/firebase/index.js +3 -3
- package/esm2015/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.js +13 -13
- package/esm2015/infra/hasura-graphql/enums/hasura-graphql-where.enum.js +15 -15
- package/esm2015/infra/hasura-graphql/enums/index.js +3 -3
- package/esm2015/infra/hasura-graphql/index.js +5 -5
- package/esm2015/infra/hasura-graphql/mixins/helpers/attribute-option.helper.js +31 -31
- package/esm2015/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.js +58 -58
- package/esm2015/infra/hasura-graphql/mixins/helpers/filter-option.helper.js +22 -22
- package/esm2015/infra/hasura-graphql/mixins/helpers/graphql-field.helper.js +95 -95
- package/esm2015/infra/hasura-graphql/mixins/helpers/index.js +5 -5
- package/esm2015/infra/hasura-graphql/mixins/index.js +8 -8
- package/esm2015/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.js +61 -61
- package/esm2015/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.js +10 -10
- package/esm2015/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.js +31 -31
- package/esm2015/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.js +109 -109
- package/esm2015/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.js +37 -37
- package/esm2015/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.js +97 -97
- package/esm2015/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.js +58 -58
- package/esm2015/infra/hasura-graphql/models/category-hasura-graphql.js +4 -4
- package/esm2015/infra/hasura-graphql/models/index.js +5 -5
- package/esm2015/infra/hasura-graphql/models/kit-product-hasura-graphql.js +15 -15
- package/esm2015/infra/hasura-graphql/models/product-hasura-graphql.js +11 -11
- package/esm2015/infra/hasura-graphql/models/variant-hasura-graphql.js +9 -9
- package/esm2015/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.js +38 -38
- package/esm2015/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.js +97 -55
- package/esm2015/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.js +377 -377
- package/esm2015/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.js +123 -123
- package/esm2015/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.js +21 -21
- package/esm2015/infra/hasura-graphql/repositories/catalog/index.js +8 -8
- package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +506 -506
- package/esm2015/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.js +117 -117
- package/esm2015/infra/hasura-graphql/repositories/index.js +2 -2
- package/esm2015/infra/hasura-graphql/types/fields.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/graphql.repository.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/hasura-graphql-auth-options.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/hasura-graphql-fields.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/hasura-graphql-headers.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/index.js +9 -9
- package/esm2015/infra/hasura-graphql/types/nested-field.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/query-builder-options.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/variable-options.type.js +2 -2
- package/esm2015/infra/index.js +4 -4
- package/esm2015/infrab4a-connect.js +4 -4
- package/esm2015/utils/decorators/debug.class.decorator.js +7 -7
- package/esm2015/utils/decorators/index.js +3 -3
- package/esm2015/utils/decorators/trace.method.decorator.js +81 -81
- package/esm2015/utils/helpers/class-name.helper.js +15 -15
- package/esm2015/utils/helpers/debug-decorator.helper.js +18 -18
- package/esm2015/utils/helpers/debug.helper.js +150 -150
- package/esm2015/utils/helpers/index.js +5 -5
- package/esm2015/utils/helpers/reflect.helper.js +165 -165
- package/esm2015/utils/index.js +11 -11
- package/esm2015/utils/is-uuid.js +3 -3
- package/esm2015/utils/log.utils.js +9 -9
- package/esm2015/utils/mixins/base.mixin.js +6 -6
- package/esm2015/utils/mixins/index.js +4 -4
- package/esm2015/utils/mixins/merge-constructor-params.type.js +2 -2
- package/esm2015/utils/mixins/mixin-ctor.type.js +2 -2
- package/esm2015/utils/parse-datetime.js +14 -14
- package/esm2015/utils/types/array-element.type.js +2 -2
- package/esm2015/utils/types/index.js +3 -3
- package/esm2015/utils/types/prop.type.js +2 -2
- package/fesm2015/infrab4a-connect.js +4178 -4128
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/index.d.ts +5 -5
- package/infra/elasticsearch/adapters/axios.adapter.d.ts +16 -16
- package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +8 -8
- package/infra/elasticsearch/adapters/index.d.ts +2 -2
- package/infra/elasticsearch/index.d.ts +3 -3
- package/infra/elasticsearch/indexes/index.d.ts +1 -1
- package/infra/elasticsearch/indexes/products-index.d.ts +13 -13
- package/infra/elasticsearch/types/elastic-search-result.d.ts +9 -9
- package/infra/elasticsearch/types/index.d.ts +1 -1
- package/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
- package/infra/firebase/auth/index.d.ts +2 -2
- package/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
- package/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +3 -3
- package/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +8 -8
- package/infra/firebase/firestore/enums/index.d.ts +1 -1
- package/infra/firebase/firestore/index.d.ts +3 -3
- package/infra/firebase/firestore/mixins/index.d.ts +9 -9
- package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
- package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +4 -4
- package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
- package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
- package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +4 -4
- package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
- package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
- package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +7 -7
- package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
- package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +21 -21
- package/infra/firebase/firestore/repositories/catalog/index.d.ts +4 -4
- package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/index.d.ts +4 -4
- package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
- package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +3 -3
- package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.d.ts +9 -9
- package/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.d.ts +9 -9
- package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
- package/infra/firebase/firestore/repositories/shopping/index.d.ts +10 -10
- package/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +7 -7
- package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/users/index.d.ts +8 -8
- package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
- package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
- package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
- package/infra/firebase/firestore/types/firestore.repository.type.d.ts +14 -14
- package/infra/firebase/firestore/types/index.d.ts +3 -3
- package/infra/firebase/index.d.ts +2 -2
- package/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
- package/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +13 -13
- package/infra/hasura-graphql/enums/index.d.ts +2 -2
- package/infra/hasura-graphql/index.d.ts +4 -4
- package/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +15 -15
- package/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
- package/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +8 -8
- package/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +9 -9
- package/infra/hasura-graphql/mixins/helpers/index.d.ts +4 -4
- package/infra/hasura-graphql/mixins/index.d.ts +7 -7
- package/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +9 -9
- package/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +11 -11
- package/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +7 -7
- package/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +33 -33
- package/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +25 -25
- package/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +11 -11
- package/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +14 -14
- package/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
- package/infra/hasura-graphql/models/index.d.ts +4 -4
- package/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +6 -6
- package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +18 -18
- package/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +10 -10
- package/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.d.ts +10 -10
- package/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +11 -11
- package/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +34 -34
- package/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.d.ts +18 -18
- package/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.d.ts +10 -10
- package/infra/hasura-graphql/repositories/catalog/index.d.ts +7 -7
- package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +30 -30
- package/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +14 -14
- package/infra/hasura-graphql/repositories/index.d.ts +1 -1
- package/infra/hasura-graphql/types/fields.type.d.ts +2 -2
- package/infra/hasura-graphql/types/graphql.repository.type.d.ts +23 -23
- package/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
- package/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +44 -44
- package/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
- package/infra/hasura-graphql/types/index.d.ts +8 -8
- package/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
- package/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
- package/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
- package/infra/index.d.ts +3 -3
- package/infrab4a-connect.d.ts +5 -5
- package/package.json +1 -1
- package/utils/decorators/debug.class.decorator.d.ts +2 -2
- package/utils/decorators/index.d.ts +2 -2
- package/utils/decorators/trace.method.decorator.d.ts +14 -14
- package/utils/helpers/class-name.helper.d.ts +3 -3
- package/utils/helpers/debug-decorator.helper.d.ts +9 -9
- package/utils/helpers/debug.helper.d.ts +60 -60
- package/utils/helpers/index.d.ts +4 -4
- package/utils/helpers/reflect.helper.d.ts +50 -50
- package/utils/index.d.ts +10 -10
- package/utils/is-uuid.d.ts +1 -1
- package/utils/log.utils.d.ts +7 -7
- package/utils/mixins/base.mixin.d.ts +3 -3
- package/utils/mixins/index.d.ts +3 -3
- package/utils/mixins/merge-constructor-params.type.d.ts +3 -3
- package/utils/mixins/mixin-ctor.type.d.ts +1 -1
- package/utils/parse-datetime.d.ts +1 -1
- package/utils/types/array-element.type.d.ts +1 -1
- package/utils/types/index.d.ts +2 -2
- package/utils/types/prop.type.d.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './round-product-price.helper';
|
|
1
|
+
export * from './round-product-price.helper';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Product } from '../models';
|
|
2
|
-
export declare class RoundProductPricesHelper {
|
|
3
|
-
static roundProductPrices(product: Product): Product;
|
|
4
|
-
}
|
|
1
|
+
import { Product } from '../models';
|
|
2
|
+
export declare class RoundProductPricesHelper {
|
|
3
|
+
static roundProductPrices(product: Product): Product;
|
|
4
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './helpers';
|
|
2
|
-
export * from './models';
|
|
3
|
-
export * from './repositories';
|
|
1
|
+
export * from './helpers';
|
|
2
|
+
export * from './models';
|
|
3
|
+
export * from './repositories';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { BaseModel } from '../../generic/model';
|
|
2
|
-
export declare type CategoryCollectionChildrenIdentifiers = 'collectionId' | 'categoryId';
|
|
3
|
-
export declare class CategoryCollectionChildren extends BaseModel<CategoryCollectionChildren, CategoryCollectionChildrenIdentifiers> {
|
|
4
|
-
collectionId: number;
|
|
5
|
-
categoryId: number;
|
|
6
|
-
parentCollectionId?: number;
|
|
7
|
-
parentCategoryId?: number;
|
|
8
|
-
name: string;
|
|
9
|
-
slug: string;
|
|
10
|
-
reference?: string;
|
|
11
|
-
parent?: CategoryCollectionChildren;
|
|
12
|
-
static get identifiersFields(): CategoryCollectionChildrenIdentifiers[];
|
|
13
|
-
}
|
|
1
|
+
import { BaseModel } from '../../generic/model';
|
|
2
|
+
export declare type CategoryCollectionChildrenIdentifiers = 'collectionId' | 'categoryId';
|
|
3
|
+
export declare class CategoryCollectionChildren extends BaseModel<CategoryCollectionChildren, CategoryCollectionChildrenIdentifiers> {
|
|
4
|
+
collectionId: number;
|
|
5
|
+
categoryId: number;
|
|
6
|
+
parentCollectionId?: number;
|
|
7
|
+
parentCategoryId?: number;
|
|
8
|
+
name: string;
|
|
9
|
+
slug: string;
|
|
10
|
+
reference?: string;
|
|
11
|
+
parent?: CategoryCollectionChildren;
|
|
12
|
+
static get identifiersFields(): CategoryCollectionChildrenIdentifiers[];
|
|
13
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { BaseModel } from '../../generic/model';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { BaseModel } from '../../generic/model';
|
|
2
|
+
import { Category } from './category';
|
|
3
|
+
import { Filter } from './filter';
|
|
4
|
+
declare type CategoryFilterIdentifiers = 'id' | 'filterId' | 'categoryId';
|
|
5
|
+
export declare class CategoryFilter extends BaseModel<CategoryFilter, CategoryFilterIdentifiers> {
|
|
6
|
+
id: number;
|
|
7
|
+
filterId: number;
|
|
8
|
+
categoryId: number;
|
|
9
|
+
filter?: Filter;
|
|
10
|
+
category?: Category;
|
|
11
|
+
static get identifiersFields(): CategoryFilterIdentifiers[];
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
-
import { Shops } from './enums';
|
|
3
|
-
import { Filter } from './filter';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
+
import { Shops } from './enums';
|
|
3
|
+
import { Filter } from './filter';
|
|
4
|
+
import { Product } from './product';
|
|
5
|
+
import { CategoryCondition, CategoryMetadata } from './types';
|
|
6
|
+
export declare class Category extends BaseModel<Category> {
|
|
7
|
+
id: string;
|
|
8
|
+
brandCategory: boolean;
|
|
9
|
+
brandLogo?: string;
|
|
10
|
+
name: string;
|
|
11
|
+
slug: string;
|
|
12
|
+
image?: string;
|
|
13
|
+
brandCategoryBanner?: string;
|
|
14
|
+
brandCategoryBannerMobile?: string;
|
|
15
|
+
description: string;
|
|
16
|
+
conditions?: CategoryCondition;
|
|
17
|
+
products?: string[];
|
|
18
|
+
createdAt?: Date;
|
|
19
|
+
updatedAt?: Date;
|
|
20
|
+
shop?: Shops;
|
|
21
|
+
shops?: string[];
|
|
22
|
+
published: boolean;
|
|
23
|
+
metadata: CategoryMetadata;
|
|
24
|
+
isCollection?: boolean;
|
|
25
|
+
reference?: string;
|
|
26
|
+
parentId?: number;
|
|
27
|
+
parent?: Category;
|
|
28
|
+
filters?: Filter[];
|
|
29
|
+
childrenProducts?: Product[];
|
|
30
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
31
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './product-genders.enum';
|
|
2
|
-
export * from './shops.enum';
|
|
1
|
+
export * from './product-genders.enum';
|
|
2
|
+
export * from './shops.enum';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum GenderDestination {
|
|
2
|
-
FEMALE = "female",
|
|
3
|
-
MALE = "male",
|
|
4
|
-
UNISEX = "unisex"
|
|
5
|
-
}
|
|
1
|
+
export declare enum GenderDestination {
|
|
2
|
+
FEMALE = "female",
|
|
3
|
+
MALE = "male",
|
|
4
|
+
UNISEX = "unisex"
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum Shops {
|
|
2
|
-
MENSMARKET = "mensmarket",
|
|
3
|
-
GLAMSHOP = "Glamshop",
|
|
4
|
-
GLAMPOINTS = "Glampoints",
|
|
5
|
-
ALL = "ALL"
|
|
6
|
-
}
|
|
1
|
+
export declare enum Shops {
|
|
2
|
+
MENSMARKET = "mensmarket",
|
|
3
|
+
GLAMSHOP = "Glamshop",
|
|
4
|
+
GLAMPOINTS = "Glampoints",
|
|
5
|
+
ALL = "ALL"
|
|
6
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
-
export declare class FilterOption extends BaseModel<FilterOption> {
|
|
3
|
-
id: string;
|
|
4
|
-
filterId: number;
|
|
5
|
-
description: string;
|
|
6
|
-
createdAt?: Date;
|
|
7
|
-
updatedAt?: Date;
|
|
8
|
-
static get identifiersFields(): GenericIdentifier[];
|
|
9
|
-
}
|
|
1
|
+
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
+
export declare class FilterOption extends BaseModel<FilterOption> {
|
|
3
|
+
id: string;
|
|
4
|
+
filterId: number;
|
|
5
|
+
description: string;
|
|
6
|
+
createdAt?: Date;
|
|
7
|
+
updatedAt?: Date;
|
|
8
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
9
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
-
import { FilterOption } from './filter-option';
|
|
3
|
-
export declare class Filter extends BaseModel<Filter> {
|
|
4
|
-
id: number;
|
|
5
|
-
description: string;
|
|
6
|
-
slug: string;
|
|
7
|
-
enabled: boolean;
|
|
8
|
-
options?: FilterOption[];
|
|
9
|
-
createdAt?: Date;
|
|
10
|
-
updatedAt?: Date;
|
|
11
|
-
static get identifiersFields(): GenericIdentifier[];
|
|
12
|
-
}
|
|
1
|
+
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
+
import { FilterOption } from './filter-option';
|
|
3
|
+
export declare class Filter extends BaseModel<Filter> {
|
|
4
|
+
id: number;
|
|
5
|
+
description: string;
|
|
6
|
+
slug: string;
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
options?: FilterOption[];
|
|
9
|
+
createdAt?: Date;
|
|
10
|
+
updatedAt?: Date;
|
|
11
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
12
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './category';
|
|
2
|
-
export * from './category-collection-children';
|
|
3
|
-
export * from './category-filter';
|
|
4
|
-
export * from './enums';
|
|
5
|
-
export * from './filter';
|
|
6
|
-
export * from './filter-option';
|
|
7
|
-
export * from './kit-product';
|
|
8
|
-
export * from './product';
|
|
9
|
-
export * from './types';
|
|
10
|
-
export * from './variant';
|
|
1
|
+
export * from './category';
|
|
2
|
+
export * from './category-collection-children';
|
|
3
|
+
export * from './category-filter';
|
|
4
|
+
export * from './enums';
|
|
5
|
+
export * from './filter';
|
|
6
|
+
export * from './filter-option';
|
|
7
|
+
export * from './kit-product';
|
|
8
|
+
export * from './product';
|
|
9
|
+
export * from './types';
|
|
10
|
+
export * from './variant';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { BaseModel } from '../../generic/model';
|
|
2
|
-
import { Product } from './product';
|
|
3
|
-
declare type KitProductIdentifiers = 'productId' | 'kitProductId';
|
|
4
|
-
export declare class KitProduct extends BaseModel<KitProduct, KitProductIdentifiers> {
|
|
5
|
-
productId: string;
|
|
6
|
-
kitProductId: string;
|
|
7
|
-
quantity: number;
|
|
8
|
-
kit: Product;
|
|
9
|
-
product: Product;
|
|
10
|
-
static get identifiersFields(): KitProductIdentifiers[];
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
1
|
+
import { BaseModel } from '../../generic/model';
|
|
2
|
+
import { Product } from './product';
|
|
3
|
+
declare type KitProductIdentifiers = 'productId' | 'kitProductId';
|
|
4
|
+
export declare class KitProduct extends BaseModel<KitProduct, KitProductIdentifiers> {
|
|
5
|
+
productId: string;
|
|
6
|
+
kitProductId: string;
|
|
7
|
+
quantity: number;
|
|
8
|
+
kit: Product;
|
|
9
|
+
product: Product;
|
|
10
|
+
static get identifiersFields(): KitProductIdentifiers[];
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
-
import { Category } from './category';
|
|
3
|
-
import { KitProduct } from './kit-product';
|
|
4
|
-
import { ProductEvaluation, ProductGender, ProductMetadata, ProductReview, ShopDescription, ShopPrice, Stock } from './types';
|
|
5
|
-
import { Variant } from './variant';
|
|
6
|
-
export declare class Product extends BaseModel<Product> {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
slug: string;
|
|
10
|
-
description: ShopDescription;
|
|
11
|
-
sku: string;
|
|
12
|
-
price: ShopPrice;
|
|
13
|
-
hasVariants: boolean;
|
|
14
|
-
NCM: string;
|
|
15
|
-
EAN: string;
|
|
16
|
-
CEST: string;
|
|
17
|
-
weight: number;
|
|
18
|
-
stock: Stock;
|
|
19
|
-
costPrice: number;
|
|
20
|
-
images?: string[];
|
|
21
|
-
miniatures?: string[];
|
|
22
|
-
published: boolean;
|
|
23
|
-
createdAt?: Date;
|
|
24
|
-
updatedAt?: Date;
|
|
25
|
-
brand: string;
|
|
26
|
-
tags?: string[];
|
|
27
|
-
filters?: string[];
|
|
28
|
-
type?: string;
|
|
29
|
-
categories?: string[];
|
|
30
|
-
reviews?: ProductReview[];
|
|
31
|
-
variant?: Variant;
|
|
32
|
-
video?: string;
|
|
33
|
-
isKit?: boolean;
|
|
34
|
-
rate?: number;
|
|
35
|
-
gender?: ProductGender;
|
|
36
|
-
shoppingCount?: number;
|
|
37
|
-
metadata: ProductMetadata;
|
|
38
|
-
category: Category;
|
|
39
|
-
kitProducts?: KitProduct[];
|
|
40
|
-
private reviewsTotal?;
|
|
41
|
-
get evaluation(): ProductEvaluation;
|
|
42
|
-
set evaluation(evaluation: ProductEvaluation);
|
|
43
|
-
static get identifiersFields(): GenericIdentifier[];
|
|
44
|
-
}
|
|
1
|
+
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
+
import { Category } from './category';
|
|
3
|
+
import { KitProduct } from './kit-product';
|
|
4
|
+
import { ProductEvaluation, ProductGender, ProductMetadata, ProductReview, ShopDescription, ShopPrice, Stock } from './types';
|
|
5
|
+
import { Variant } from './variant';
|
|
6
|
+
export declare class Product extends BaseModel<Product> {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
slug: string;
|
|
10
|
+
description: ShopDescription;
|
|
11
|
+
sku: string;
|
|
12
|
+
price: ShopPrice;
|
|
13
|
+
hasVariants: boolean;
|
|
14
|
+
NCM: string;
|
|
15
|
+
EAN: string;
|
|
16
|
+
CEST: string;
|
|
17
|
+
weight: number;
|
|
18
|
+
stock: Stock;
|
|
19
|
+
costPrice: number;
|
|
20
|
+
images?: string[];
|
|
21
|
+
miniatures?: string[];
|
|
22
|
+
published: boolean;
|
|
23
|
+
createdAt?: Date;
|
|
24
|
+
updatedAt?: Date;
|
|
25
|
+
brand: string;
|
|
26
|
+
tags?: string[];
|
|
27
|
+
filters?: string[];
|
|
28
|
+
type?: string;
|
|
29
|
+
categories?: string[];
|
|
30
|
+
reviews?: ProductReview[];
|
|
31
|
+
variant?: Variant;
|
|
32
|
+
video?: string;
|
|
33
|
+
isKit?: boolean;
|
|
34
|
+
rate?: number;
|
|
35
|
+
gender?: ProductGender;
|
|
36
|
+
shoppingCount?: number;
|
|
37
|
+
metadata: ProductMetadata;
|
|
38
|
+
category: Category;
|
|
39
|
+
kitProducts?: KitProduct[];
|
|
40
|
+
private reviewsTotal?;
|
|
41
|
+
get evaluation(): ProductEvaluation;
|
|
42
|
+
set evaluation(evaluation: ProductEvaluation);
|
|
43
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
44
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type CategoryCondition = {
|
|
2
|
-
tags?: string[];
|
|
3
|
-
brand?: string;
|
|
4
|
-
};
|
|
1
|
+
export declare type CategoryCondition = {
|
|
2
|
+
tags?: string[];
|
|
3
|
+
brand?: string;
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type CategoryMetadata = {
|
|
2
|
-
title?: string;
|
|
3
|
-
description?: string;
|
|
4
|
-
};
|
|
1
|
+
export declare type CategoryMetadata = {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type CategoryProduct = {
|
|
2
|
-
category_id: number;
|
|
3
|
-
product_id: number;
|
|
4
|
-
};
|
|
1
|
+
export declare type CategoryProduct = {
|
|
2
|
+
category_id: number;
|
|
3
|
+
product_id: number;
|
|
4
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from './category-condition.type';
|
|
2
|
-
export * from './category-metadata.type';
|
|
3
|
-
export * from './category-product';
|
|
4
|
-
export * from './product-evaluation.type';
|
|
5
|
-
export * from './product-gender.type';
|
|
6
|
-
export * from './product-metadata.type';
|
|
7
|
-
export * from './product-review.type';
|
|
8
|
-
export * from './shop-description.type';
|
|
9
|
-
export * from './shop-price.type';
|
|
10
|
-
export * from './stock.type';
|
|
11
|
-
export * from './variant-grade.type';
|
|
1
|
+
export * from './category-condition.type';
|
|
2
|
+
export * from './category-metadata.type';
|
|
3
|
+
export * from './category-product';
|
|
4
|
+
export * from './product-evaluation.type';
|
|
5
|
+
export * from './product-gender.type';
|
|
6
|
+
export * from './product-metadata.type';
|
|
7
|
+
export * from './product-review.type';
|
|
8
|
+
export * from './shop-description.type';
|
|
9
|
+
export * from './shop-price.type';
|
|
10
|
+
export * from './stock.type';
|
|
11
|
+
export * from './variant-grade.type';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProductReview } from './product-review.type';
|
|
2
|
-
export declare type ProductEvaluation = {
|
|
3
|
-
reviews?: ProductReview[];
|
|
4
|
-
rating?: number;
|
|
5
|
-
count?: number;
|
|
6
|
-
};
|
|
1
|
+
import { ProductReview } from './product-review.type';
|
|
2
|
+
export declare type ProductEvaluation = {
|
|
3
|
+
reviews?: ProductReview[];
|
|
4
|
+
rating?: number;
|
|
5
|
+
count?: number;
|
|
6
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type ProductGender = 'female' | 'male' | 'unisex';
|
|
1
|
+
export declare type ProductGender = 'female' | 'male' | 'unisex';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type ProductMetadata = {
|
|
2
|
-
title?: string;
|
|
3
|
-
description?: string;
|
|
4
|
-
};
|
|
1
|
+
export declare type ProductMetadata = {
|
|
2
|
+
title?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Shops } from '../enums/shops.enum';
|
|
2
|
-
export declare type ProductReview = {
|
|
3
|
-
id?: string;
|
|
4
|
-
shop: Shops;
|
|
5
|
-
rate: number;
|
|
6
|
-
author?: string;
|
|
7
|
-
email?: string;
|
|
8
|
-
location?: string;
|
|
9
|
-
review?: string;
|
|
10
|
-
status?: boolean;
|
|
11
|
-
title?: string;
|
|
12
|
-
personId?: number;
|
|
13
|
-
points?: number;
|
|
14
|
-
orderId?: string;
|
|
15
|
-
createdAt?: Date;
|
|
16
|
-
updatedAt?: Date;
|
|
17
|
-
};
|
|
1
|
+
import { Shops } from '../enums/shops.enum';
|
|
2
|
+
export declare type ProductReview = {
|
|
3
|
+
id?: string;
|
|
4
|
+
shop: Shops;
|
|
5
|
+
rate: number;
|
|
6
|
+
author?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
location?: string;
|
|
9
|
+
review?: string;
|
|
10
|
+
status?: boolean;
|
|
11
|
+
title?: string;
|
|
12
|
+
personId?: number;
|
|
13
|
+
points?: number;
|
|
14
|
+
orderId?: string;
|
|
15
|
+
createdAt?: Date;
|
|
16
|
+
updatedAt?: Date;
|
|
17
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare type ShopDescription = {
|
|
2
|
-
description: string;
|
|
3
|
-
differentials?: string;
|
|
4
|
-
whoMustUse?: string;
|
|
5
|
-
howToUse?: string;
|
|
6
|
-
brand?: string;
|
|
7
|
-
ingredients?: string;
|
|
8
|
-
};
|
|
1
|
+
export declare type ShopDescription = {
|
|
2
|
+
description: string;
|
|
3
|
+
differentials?: string;
|
|
4
|
+
whoMustUse?: string;
|
|
5
|
+
howToUse?: string;
|
|
6
|
+
brand?: string;
|
|
7
|
+
ingredients?: string;
|
|
8
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare type ShopPrice = {
|
|
2
|
-
price: number;
|
|
3
|
-
fullPrice: number;
|
|
4
|
-
subscriberDiscountPercentage?: number;
|
|
5
|
-
subscriberPrice?: number;
|
|
6
|
-
};
|
|
1
|
+
export declare type ShopPrice = {
|
|
2
|
+
price: number;
|
|
3
|
+
fullPrice: number;
|
|
4
|
+
subscriberDiscountPercentage?: number;
|
|
5
|
+
subscriberPrice?: number;
|
|
6
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare type Stock = {
|
|
2
|
-
quantity: number;
|
|
3
|
-
};
|
|
1
|
+
export declare type Stock = {
|
|
2
|
+
quantity: number;
|
|
3
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type VariantGrade = {
|
|
2
|
-
title: string;
|
|
3
|
-
value: string;
|
|
4
|
-
};
|
|
1
|
+
export declare type VariantGrade = {
|
|
2
|
+
title: string;
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { BaseModel } from '../../generic/model';
|
|
2
|
-
import { ShopPrice, Stock, VariantGrade } from './types';
|
|
3
|
-
export declare type ProductVariantIdentifiers = 'id' | 'productId';
|
|
4
|
-
export declare class Variant extends BaseModel<Variant, ProductVariantIdentifiers> {
|
|
5
|
-
id: string;
|
|
6
|
-
productId: string;
|
|
7
|
-
sku: string;
|
|
8
|
-
price: ShopPrice;
|
|
9
|
-
EAN: string;
|
|
10
|
-
stock: Stock;
|
|
11
|
-
grade?: VariantGrade[];
|
|
12
|
-
costPrice: number;
|
|
13
|
-
weight: number;
|
|
14
|
-
createdAt?: Date;
|
|
15
|
-
updatedAt?: Date;
|
|
16
|
-
static get identifiersFields(): ProductVariantIdentifiers[];
|
|
17
|
-
}
|
|
1
|
+
import { BaseModel } from '../../generic/model';
|
|
2
|
+
import { ShopPrice, Stock, VariantGrade } from './types';
|
|
3
|
+
export declare type ProductVariantIdentifiers = 'id' | 'productId';
|
|
4
|
+
export declare class Variant extends BaseModel<Variant, ProductVariantIdentifiers> {
|
|
5
|
+
id: string;
|
|
6
|
+
productId: string;
|
|
7
|
+
sku: string;
|
|
8
|
+
price: ShopPrice;
|
|
9
|
+
EAN: string;
|
|
10
|
+
stock: Stock;
|
|
11
|
+
grade?: VariantGrade[];
|
|
12
|
+
costPrice: number;
|
|
13
|
+
weight: number;
|
|
14
|
+
createdAt?: Date;
|
|
15
|
+
updatedAt?: Date;
|
|
16
|
+
static get identifiersFields(): ProductVariantIdentifiers[];
|
|
17
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { CategoryCollectionChildren } from '../models';
|
|
3
|
-
export interface CategoryCollectionChildrenRepository extends CrudRepository<CategoryCollectionChildren> {
|
|
4
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { CategoryCollectionChildren } from '../models';
|
|
3
|
+
export interface CategoryCollectionChildrenRepository extends CrudRepository<CategoryCollectionChildren> {
|
|
4
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { CategoryFilter } from '../models';
|
|
3
|
-
export interface CategoryFilterRepository extends CrudRepository<CategoryFilter> {
|
|
4
|
-
deleteByCategoryAndFilter(categoryId: number, filterId: number): Promise<any>;
|
|
5
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { CategoryFilter } from '../models';
|
|
3
|
+
export interface CategoryFilterRepository extends CrudRepository<CategoryFilter> {
|
|
4
|
+
deleteByCategoryAndFilter(categoryId: number, filterId: number): Promise<any>;
|
|
5
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { Product } from '../models';
|
|
3
|
-
import { Category } from '../models/category';
|
|
4
|
-
import { Shops } from '../models/enums/shops.enum';
|
|
5
|
-
export interface CategoryRepository extends CrudRepository<Category> {
|
|
6
|
-
getCategoryBySlug(slug: string, shop: Shops): Promise<Category>;
|
|
7
|
-
getCategoryByShop(shop: string): Promise<Category[]>;
|
|
8
|
-
getCategoriesForHome(categoryIds: string[], limit?: number, gender?: string): Promise<{
|
|
9
|
-
category: Category;
|
|
10
|
-
products: Product[];
|
|
11
|
-
}[]>;
|
|
12
|
-
mountCategory(category: Category, options?: {
|
|
13
|
-
limit?: number;
|
|
14
|
-
hasStock?: boolean;
|
|
15
|
-
}): Promise<Product[]>;
|
|
16
|
-
getChildren(parentId: number): Promise<Category[]>;
|
|
17
|
-
isChild(id: number, parentId: number): Promise<boolean>;
|
|
18
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { Product } from '../models';
|
|
3
|
+
import { Category } from '../models/category';
|
|
4
|
+
import { Shops } from '../models/enums/shops.enum';
|
|
5
|
+
export interface CategoryRepository extends CrudRepository<Category> {
|
|
6
|
+
getCategoryBySlug(slug: string, shop: Shops): Promise<Category>;
|
|
7
|
+
getCategoryByShop(shop: string): Promise<Category[]>;
|
|
8
|
+
getCategoriesForHome(categoryIds: string[], limit?: number, gender?: string): Promise<{
|
|
9
|
+
category: Category;
|
|
10
|
+
products: Product[];
|
|
11
|
+
}[]>;
|
|
12
|
+
mountCategory(category: Category, options?: {
|
|
13
|
+
limit?: number;
|
|
14
|
+
hasStock?: boolean;
|
|
15
|
+
}): Promise<Product[]>;
|
|
16
|
+
getChildren(parentId: number): Promise<Category[]>;
|
|
17
|
+
isChild(id: number, parentId: number): Promise<boolean>;
|
|
18
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { FilterOption } from "../models";
|
|
3
|
-
export interface FilterOptionRepository extends CrudRepository<FilterOption> {
|
|
4
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { FilterOption } from "../models";
|
|
3
|
+
export interface FilterOptionRepository extends CrudRepository<FilterOption> {
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { Filter } from "../models";
|
|
3
|
-
export interface FilterRepository extends CrudRepository<Filter> {
|
|
4
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { Filter } from "../models";
|
|
3
|
+
export interface FilterRepository extends CrudRepository<Filter> {
|
|
4
|
+
}
|