@infrab4a/connect 4.14.0-beta.6 → 4.14.0
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/index.cjs.js +5535 -5535
- package/index.d.ts +1 -1
- package/index.esm.js +5535 -5535
- package/package.json +1 -1
- package/src/domain/catalog/helpers/index.d.ts +1 -1
- package/src/domain/catalog/helpers/round-product-price.helper.d.ts +4 -4
- package/src/domain/catalog/index.d.ts +3 -3
- package/src/domain/catalog/models/category-base.d.ts +49 -49
- package/src/domain/catalog/models/category-collection-children.d.ts +13 -13
- package/src/domain/catalog/models/category-filter.d.ts +13 -13
- package/src/domain/catalog/models/category-for-product.d.ts +5 -5
- package/src/domain/catalog/models/category.d.ts +7 -7
- package/src/domain/catalog/models/enums/index.d.ts +2 -2
- package/src/domain/catalog/models/enums/product-genders.enum.d.ts +5 -5
- package/src/domain/catalog/models/enums/shops.enum.d.ts +6 -6
- package/src/domain/catalog/models/filter-option.d.ts +9 -9
- package/src/domain/catalog/models/filter.d.ts +15 -15
- package/src/domain/catalog/models/index.d.ts +13 -13
- package/src/domain/catalog/models/kit-product.d.ts +12 -12
- package/src/domain/catalog/models/product-base.d.ts +42 -42
- package/src/domain/catalog/models/product-for-category.d.ts +7 -7
- package/src/domain/catalog/models/product-for-kit.d.ts +7 -7
- package/src/domain/catalog/models/product-reviews.d.ts +20 -20
- package/src/domain/catalog/models/product-stock-notification.d.ts +12 -12
- package/src/domain/catalog/models/product.d.ts +9 -9
- package/src/domain/catalog/models/types/category-condition.type.d.ts +4 -4
- package/src/domain/catalog/models/types/category-images.type.d.ts +8 -8
- package/src/domain/catalog/models/types/category-metadata.type.d.ts +6 -6
- package/src/domain/catalog/models/types/category-most-relevant.type.d.ts +4 -4
- package/src/domain/catalog/models/types/category-product.d.ts +4 -4
- package/src/domain/catalog/models/types/index.d.ts +15 -15
- package/src/domain/catalog/models/types/product-evaluation.type.d.ts +6 -6
- package/src/domain/catalog/models/types/product-gender.type.d.ts +1 -1
- package/src/domain/catalog/models/types/product-label.type.d.ts +1 -1
- package/src/domain/catalog/models/types/product-metadata.type.d.ts +4 -4
- package/src/domain/catalog/models/types/product-review.type.d.ts +17 -17
- package/src/domain/catalog/models/types/report-stock-notification.type.d.ts +21 -21
- package/src/domain/catalog/models/types/shop-description.type.d.ts +9 -9
- package/src/domain/catalog/models/types/shop-price.type.d.ts +7 -7
- package/src/domain/catalog/models/types/stock.type.d.ts +3 -3
- package/src/domain/catalog/models/types/variant-grade.type.d.ts +4 -4
- package/src/domain/catalog/models/variant.d.ts +17 -17
- package/src/domain/catalog/models/wishlist.d.ts +11 -11
- package/src/domain/catalog/repositories/category-collection-children.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/category-filter.repository.d.ts +6 -6
- package/src/domain/catalog/repositories/category.repository.d.ts +18 -18
- package/src/domain/catalog/repositories/filter-option.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/filter.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/index.d.ts +11 -11
- package/src/domain/catalog/repositories/product-reviews.repository.d.ts +7 -7
- package/src/domain/catalog/repositories/product-stock-notification.repository.d.ts +13 -13
- package/src/domain/catalog/repositories/product.repository.d.ts +28 -28
- package/src/domain/catalog/repositories/subscription-product.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/variant.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/wishlist.repository.d.ts +9 -9
- package/src/domain/general/index.d.ts +1 -1
- package/src/domain/general/storage/file-uploader.service.d.ts +3 -3
- package/src/domain/general/storage/index.d.ts +1 -1
- package/src/domain/generic/index.d.ts +2 -2
- package/src/domain/generic/model/base.model.d.ts +14 -14
- package/src/domain/generic/model/identifier-fields.d.ts +4 -4
- package/src/domain/generic/model/index.d.ts +3 -3
- package/src/domain/generic/model/types/base-model-builder.type.d.ts +17 -17
- package/src/domain/generic/model/types/identifier-model.type.d.ts +8 -8
- package/src/domain/generic/model/types/index.d.ts +5 -5
- package/src/domain/generic/model/types/model-base-structure.type.d.ts +12 -12
- package/src/domain/generic/model/types/non-function-properties.type.d.ts +12 -12
- package/src/domain/generic/model/types/non-function-property-name.type.d.ts +13 -13
- package/src/domain/generic/repository/create.repository.d.ts +8 -8
- package/src/domain/generic/repository/crud.repository.d.ts +19 -19
- package/src/domain/generic/repository/delete.repository.d.ts +7 -7
- package/src/domain/generic/repository/enums/index.d.ts +2 -2
- package/src/domain/generic/repository/enums/update-option-actions.enum.d.ts +7 -7
- package/src/domain/generic/repository/enums/where.enum.d.ts +15 -15
- package/src/domain/generic/repository/find.repository.d.ts +17 -17
- package/src/domain/generic/repository/get.repository.d.ts +5 -5
- package/src/domain/generic/repository/index.d.ts +9 -9
- package/src/domain/generic/repository/read.repository.d.ts +14 -14
- package/src/domain/generic/repository/types/index.d.ts +6 -6
- package/src/domain/generic/repository/types/repository-find-filters.type.d.ts +15 -15
- package/src/domain/generic/repository/types/repository-find-result.type.d.ts +14 -14
- package/src/domain/generic/repository/types/repository-limit-options.type.d.ts +4 -4
- package/src/domain/generic/repository/types/repository-order-by-list.type.d.ts +5 -5
- package/src/domain/generic/repository/types/repository-update-params.type.d.ts +11 -11
- package/src/domain/generic/repository/types/where-options.type.d.ts +2 -2
- package/src/domain/generic/repository/update.repository.d.ts +6 -6
- package/src/domain/index.d.ts +7 -7
- package/src/domain/location/index.d.ts +1 -1
- package/src/domain/location/models/address.d.ts +24 -24
- package/src/domain/location/models/index.d.ts +2 -2
- package/src/domain/location/models/types/index.d.ts +3 -3
- package/src/domain/location/models/types/location-bound.type.d.ts +6 -6
- package/src/domain/location/models/types/location-geometry.type.d.ts +7 -7
- package/src/domain/location/models/types/location-lat-lng.type.d.ts +4 -4
- package/src/domain/shop-settings/enums/filter-type.enum.d.ts +19 -19
- package/src/domain/shop-settings/enums/index.d.ts +3 -3
- package/src/domain/shop-settings/enums/questions-filters.enum.d.ts +19 -19
- package/src/domain/shop-settings/enums/shop-page-name.enum.d.ts +19 -19
- package/src/domain/shop-settings/helpers/beauty-questions.helper.d.ts +9 -9
- package/src/domain/shop-settings/helpers/index.d.ts +1 -1
- package/src/domain/shop-settings/index.d.ts +4 -4
- package/src/domain/shop-settings/models/campaign-banner.d.ts +11 -11
- package/src/domain/shop-settings/models/campaign.d.ts +10 -10
- package/src/domain/shop-settings/models/home.d.ts +18 -18
- package/src/domain/shop-settings/models/index.d.ts +6 -6
- package/src/domain/shop-settings/models/shop-menu.d.ts +9 -9
- package/src/domain/shop-settings/models/shop-settings.d.ts +15 -15
- package/src/domain/shop-settings/models/types/banner.type.d.ts +6 -6
- package/src/domain/shop-settings/models/types/benefit.type.d.ts +5 -5
- package/src/domain/shop-settings/models/types/brands-carousel.type.d.ts +3 -3
- package/src/domain/shop-settings/models/types/campaign-page.d.ts +17 -17
- package/src/domain/shop-settings/models/types/home-data.type.d.ts +15 -15
- package/src/domain/shop-settings/models/types/index.d.ts +17 -17
- package/src/domain/shop-settings/models/types/landing-page.d.ts +8 -8
- package/src/domain/shop-settings/models/types/menu-nav.type.d.ts +9 -9
- package/src/domain/shop-settings/models/types/promotion-page.d.ts +10 -10
- package/src/domain/shop-settings/models/types/sections.type.d.ts +37 -37
- package/src/domain/shop-settings/models/types/shop-banner.type.d.ts +13 -13
- package/src/domain/shop-settings/models/types/shop-brands.type.d.ts +10 -10
- package/src/domain/shop-settings/models/types/shop-carousel.type.d.ts +4 -4
- package/src/domain/shop-settings/models/types/shop-collection.type.d.ts +9 -9
- package/src/domain/shop-settings/models/types/shop-gift.type.d.ts +8 -8
- package/src/domain/shop-settings/models/types/shop-home.d.ts +12 -12
- package/src/domain/shop-settings/models/types/shop-post.type.d.ts +7 -7
- package/src/domain/shop-settings/models/types/shop-section.type.d.ts +12 -12
- package/src/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -8
- package/src/domain/shop-settings/repositories/campaign-banner.repository.d.ts +4 -4
- package/src/domain/shop-settings/repositories/campaign.repository.d.ts +4 -4
- package/src/domain/shop-settings/repositories/home.repository.d.ts +4 -4
- package/src/domain/shop-settings/repositories/index.d.ts +5 -5
- package/src/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -4
- package/src/domain/shop-settings/repositories/shop-settings.repository.d.ts +4 -4
- package/src/domain/shopping/index.d.ts +3 -3
- package/src/domain/shopping/models/buy-2-win.d.ts +18 -18
- package/src/domain/shopping/models/campaign-dashboard.d.ts +15 -15
- package/src/domain/shopping/models/campaign-hashtag.d.ts +18 -18
- package/src/domain/shopping/models/checkout.d.ts +26 -26
- package/src/domain/shopping/models/coupons/coupon.d.ts +63 -63
- package/src/domain/shopping/models/coupons/enums/coupon-club-mens.enum.d.ts +5 -5
- package/src/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -4
- package/src/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +4 -4
- package/src/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +8 -8
- package/src/domain/shopping/models/coupons/enums/index.d.ts +3 -3
- package/src/domain/shopping/models/coupons/index.d.ts +2 -2
- package/src/domain/shopping/models/enums/checkout-types.enum.d.ts +5 -5
- package/src/domain/shopping/models/enums/index.d.ts +2 -2
- package/src/domain/shopping/models/enums/order-status.enum.d.ts +10 -10
- package/src/domain/shopping/models/index.d.ts +13 -13
- package/src/domain/shopping/models/line-item.d.ts +10 -10
- package/src/domain/shopping/models/order-blocked.d.ts +26 -26
- package/src/domain/shopping/models/order.d.ts +14 -14
- package/src/domain/shopping/models/payment.d.ts +68 -68
- package/src/domain/shopping/models/shipping-method.d.ts +17 -17
- package/src/domain/shopping/models/subscription/checkout.d.ts +21 -21
- package/src/domain/shopping/models/subscription/index.d.ts +2 -2
- package/src/domain/shopping/models/subscription/plan.d.ts +10 -10
- package/src/domain/shopping/models/types/index.d.ts +7 -7
- package/src/domain/shopping/models/types/payment-address.type.d.ts +12 -12
- package/src/domain/shopping/models/types/payment-billing.type.d.ts +7 -7
- package/src/domain/shopping/models/types/payment-card.type.d.ts +14 -14
- package/src/domain/shopping/models/types/payment-customer.type.d.ts +18 -18
- package/src/domain/shopping/models/types/payment-document.type.d.ts +6 -6
- package/src/domain/shopping/models/types/payment-item.type.d.ts +11 -11
- package/src/domain/shopping/models/types/payment-shipping.type.d.ts +10 -10
- package/src/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/campaign-dashboard.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/campaign-hashtag.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/checkout.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/coupon.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/index.d.ts +10 -10
- package/src/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
- package/src/domain/shopping/repositories/order-blocked.repository.d.ts +6 -6
- package/src/domain/shopping/repositories/order.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/payment.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/subscription/index.d.ts +2 -2
- package/src/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -4
- package/src/domain/shopping/types/index.d.ts +2 -2
- package/src/domain/shopping/types/order-tracking-events.type.d.ts +14 -14
- package/src/domain/shopping/types/payment-card-info.type.d.ts +4 -4
- package/src/domain/users/errors/index.d.ts +3 -3
- package/src/domain/users/errors/unauthorized.error.d.ts +4 -4
- package/src/domain/users/errors/user-already-registered.error.d.ts +4 -4
- package/src/domain/users/errors/weak-password.error.d.ts +4 -4
- package/src/domain/users/index.d.ts +5 -5
- package/src/domain/users/models/beauty-profile.d.ts +11 -11
- package/src/domain/users/models/enums/accessory-importances.enum.d.ts +5 -5
- package/src/domain/users/models/enums/area.enum.d.ts +11 -11
- package/src/domain/users/models/enums/beard-problems.enum.d.ts +9 -9
- package/src/domain/users/models/enums/beard-sizes.enum.d.ts +7 -7
- package/src/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -6
- package/src/domain/users/models/enums/body-problems.enum.d.ts +11 -11
- package/src/domain/users/models/enums/body-shapes.enum.d.ts +7 -7
- package/src/domain/users/models/enums/body-tattoos.enum.d.ts +5 -5
- package/src/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -7
- package/src/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -10
- package/src/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -8
- package/src/domain/users/models/enums/family-incomes.enum.d.ts +8 -8
- package/src/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -5
- package/src/domain/users/models/enums/hair-colors.enum.d.ts +10 -10
- package/src/domain/users/models/enums/hair-problems.enum.d.ts +10 -10
- package/src/domain/users/models/enums/hair-strands.enum.d.ts +8 -8
- package/src/domain/users/models/enums/hair-types.enum.d.ts +7 -7
- package/src/domain/users/models/enums/index.d.ts +21 -21
- package/src/domain/users/models/enums/office-position.enum.d.ts +6 -6
- package/src/domain/users/models/enums/person-types.enum.d.ts +5 -5
- package/src/domain/users/models/enums/product-spents.enum.d.ts +8 -8
- package/src/domain/users/models/enums/user-type.enum.d.ts +8 -8
- package/src/domain/users/models/index.d.ts +8 -8
- package/src/domain/users/models/lead.d.ts +8 -8
- package/src/domain/users/models/subscription/edition.d.ts +16 -16
- package/src/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -3
- package/src/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -4
- package/src/domain/users/models/subscription/enums/index.d.ts +5 -5
- package/src/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -5
- package/src/domain/users/models/subscription/enums/plans.enum.d.ts +6 -6
- package/src/domain/users/models/subscription/enums/status.enum.d.ts +4 -4
- package/src/domain/users/models/subscription/index.d.ts +7 -7
- package/src/domain/users/models/subscription/payment.d.ts +13 -13
- package/src/domain/users/models/subscription/subscription-materialization.d.ts +31 -31
- package/src/domain/users/models/subscription/subscription-summary.d.ts +15 -15
- package/src/domain/users/models/subscription/subscription.d.ts +29 -29
- package/src/domain/users/models/subscription/types/index.d.ts +1 -1
- package/src/domain/users/models/subscription/types/plan.type.d.ts +2 -2
- package/src/domain/users/models/types/index.d.ts +1 -1
- package/src/domain/users/models/types/person.type.d.ts +2 -2
- package/src/domain/users/models/user-address.d.ts +6 -6
- package/src/domain/users/models/user-payment-method.d.ts +14 -14
- package/src/domain/users/models/user.d.ts +28 -28
- package/src/domain/users/repositories/beauty-profile.repository.d.ts +4 -4
- package/src/domain/users/repositories/edition.repository.d.ts +4 -4
- package/src/domain/users/repositories/index.d.ts +10 -10
- package/src/domain/users/repositories/lead.repository.d.ts +4 -4
- package/src/domain/users/repositories/subscription-materialization.repository.d.ts +4 -4
- package/src/domain/users/repositories/subscription-payment.repository.d.ts +4 -4
- package/src/domain/users/repositories/subscription-summary.repository.d.ts +4 -4
- package/src/domain/users/repositories/subscription.repository.d.ts +4 -4
- package/src/domain/users/repositories/user-address.repository.d.ts +4 -4
- package/src/domain/users/repositories/user-payment-method.repository.d.ts +4 -4
- package/src/domain/users/repositories/user.repository.d.ts +6 -6
- package/src/domain/users/services/authentication.service.d.ts +12 -12
- package/src/domain/users/services/index.d.ts +3 -3
- package/src/domain/users/services/register.service.d.ts +7 -7
- package/src/domain/users/services/types/basic-user-data.type.d.ts +4 -4
- package/src/domain/users/services/types/index.d.ts +1 -1
- package/src/domain/users/use-cases/authentication.d.ts +21 -21
- package/src/domain/users/use-cases/index.d.ts +5 -5
- package/src/domain/users/use-cases/recovery-password.d.ts +6 -6
- package/src/domain/users/use-cases/register.d.ts +13 -13
- package/src/domain/users/use-cases/signout.d.ts +6 -6
- package/src/domain/users/use-cases/update-user-image.d.ts +9 -9
- package/src/errors/duplicated-results.error.d.ts +4 -4
- package/src/errors/index.d.ts +4 -4
- package/src/errors/invalid-argument.error.d.ts +4 -4
- package/src/errors/not-found.error.d.ts +4 -4
- package/src/errors/required-argument.error.d.ts +6 -6
- package/src/index.d.ts +5 -5
- package/src/infra/elasticsearch/adapters/axios.adapter.d.ts +17 -17
- package/src/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +8 -8
- package/src/infra/elasticsearch/adapters/index.d.ts +2 -2
- package/src/infra/elasticsearch/index.d.ts +3 -3
- package/src/infra/elasticsearch/indexes/index.d.ts +1 -1
- package/src/infra/elasticsearch/indexes/products-index.d.ts +13 -13
- package/src/infra/elasticsearch/types/elastic-search-result.d.ts +9 -9
- package/src/infra/elasticsearch/types/index.d.ts +1 -1
- package/src/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
- package/src/infra/firebase/auth/index.d.ts +2 -2
- package/src/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
- package/src/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +5 -5
- package/src/infra/firebase/auth/types/index.d.ts +1 -1
- package/src/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +8 -8
- package/src/infra/firebase/firestore/enums/index.d.ts +1 -1
- package/src/infra/firebase/firestore/index.d.ts +5 -5
- package/src/infra/firebase/firestore/mixins/index.d.ts +9 -9
- package/src/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
- package/src/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +5 -5
- package/src/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
- package/src/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
- package/src/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +13 -13
- package/src/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
- package/src/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
- package/src/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +11 -11
- package/src/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +20 -20
- package/src/infra/firebase/firestore/repositories/catalog/index.d.ts +4 -4
- package/src/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +14 -14
- package/src/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/index.d.ts +4 -4
- package/src/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
- package/src/infra/firebase/firestore/repositories/shop-settings/index.d.ts +3 -3
- package/src/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.d.ts +8 -8
- package/src/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.d.ts +8 -8
- package/src/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/repositories/shopping/index.d.ts +11 -11
- package/src/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +6 -6
- package/src/infra/firebase/firestore/repositories/shopping/order-blocked-firestore.repository.ts.d.ts +9 -9
- package/src/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
- package/src/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/users/index.d.ts +10 -10
- package/src/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/users/subscription-materialization-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/repositories/users/subscription-summary-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
- package/src/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/services/connect-collection-reference.d.ts +21 -21
- package/src/infra/firebase/firestore/services/connect-collection.service.d.ts +32 -32
- package/src/infra/firebase/firestore/services/connect-document-reference.d.ts +12 -12
- package/src/infra/firebase/firestore/services/connect-document.service.d.ts +17 -17
- package/src/infra/firebase/firestore/services/connect-firestore.d.ts +7 -7
- package/src/infra/firebase/firestore/services/connect-firestore.service.d.ts +11 -11
- package/src/infra/firebase/firestore/services/index.d.ts +6 -6
- package/src/infra/firebase/firestore/types/connect-firestore/connect-document-data.type.d.ts +5 -5
- package/src/infra/firebase/firestore/types/connect-firestore/connect-document-snapshot.type.d.ts +10 -10
- package/src/infra/firebase/firestore/types/connect-firestore/connect-query-snapshot.type.d.ts +7 -7
- package/src/infra/firebase/firestore/types/connect-firestore/connect-where-option.type.d.ts +2 -2
- package/src/infra/firebase/firestore/types/connect-firestore/index.d.ts +4 -4
- package/src/infra/firebase/firestore/types/firestore-interceptors.type.d.ts +14 -14
- package/src/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
- package/src/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
- package/src/infra/firebase/firestore/types/firestore.repository.type.d.ts +20 -20
- package/src/infra/firebase/firestore/types/index.d.ts +5 -5
- package/src/infra/firebase/firestore/vo/connectBaseDocumentSnapshot.vo.d.ts +10 -10
- package/src/infra/firebase/firestore/vo/index.d.ts +1 -1
- package/src/infra/firebase/index.d.ts +3 -3
- package/src/infra/firebase/storage/firebase-file-uploader.service.d.ts +8 -8
- package/src/infra/firebase/storage/index.d.ts +1 -1
- package/src/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
- package/src/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +18 -18
- package/src/infra/hasura-graphql/enums/index.d.ts +2 -2
- package/src/infra/hasura-graphql/index.d.ts +4 -4
- package/src/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +19 -13
- package/src/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
- package/src/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +10 -8
- package/src/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +12 -10
- package/src/infra/hasura-graphql/mixins/helpers/index.d.ts +4 -4
- package/src/infra/hasura-graphql/mixins/index.d.ts +7 -7
- package/src/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +9 -9
- package/src/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +11 -11
- package/src/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +7 -7
- package/src/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +34 -34
- package/src/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +25 -25
- package/src/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +23 -23
- package/src/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +14 -14
- package/src/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
- package/src/infra/hasura-graphql/models/index.d.ts +4 -4
- package/src/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +6 -6
- package/src/infra/hasura-graphql/models/product-hasura-graphql.d.ts +18 -18
- package/src/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +10 -10
- package/src/infra/hasura-graphql/models/wishlist-hasura-graphql.d.ts +4 -4
- package/src/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.d.ts +10 -10
- package/src/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +12 -12
- package/src/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +34 -34
- package/src/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.d.ts +18 -18
- package/src/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.d.ts +10 -10
- package/src/infra/hasura-graphql/repositories/catalog/index.d.ts +10 -10
- package/src/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +32 -32
- package/src/infra/hasura-graphql/repositories/catalog/product-review-hasura-graphql.repository.d.ts +13 -13
- package/src/infra/hasura-graphql/repositories/catalog/product-stock-notification-hasura-graphql.repository.d.ts +18 -18
- package/src/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +14 -14
- package/src/infra/hasura-graphql/repositories/catalog/wishlist-hasura-graphql.repository.d.ts +30 -30
- package/src/infra/hasura-graphql/repositories/index.d.ts +1 -1
- package/src/infra/hasura-graphql/types/fields.type.d.ts +2 -2
- package/src/infra/hasura-graphql/types/graphql.repository.type.d.ts +24 -24
- package/src/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
- package/src/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +44 -44
- package/src/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
- package/src/infra/hasura-graphql/types/index.d.ts +8 -8
- package/src/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
- package/src/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
- package/src/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
- package/src/infra/index.d.ts +3 -3
- package/src/utils/decorators/debug.class.decorator.d.ts +2 -2
- package/src/utils/decorators/index.d.ts +2 -2
- package/src/utils/decorators/trace.method.decorator.d.ts +14 -14
- package/src/utils/get.d.ts +1 -1
- package/src/utils/helpers/class-name.helper.d.ts +3 -3
- package/src/utils/helpers/debug-decorator.helper.d.ts +9 -9
- package/src/utils/helpers/debug.helper.d.ts +60 -60
- package/src/utils/helpers/index.d.ts +4 -4
- package/src/utils/helpers/reflect.helper.d.ts +50 -50
- package/src/utils/index.d.ts +13 -13
- package/src/utils/is-uuid.d.ts +1 -1
- package/src/utils/is.d.ts +1 -1
- package/src/utils/log.utils.d.ts +7 -7
- package/src/utils/mixins/base.mixin.d.ts +3 -3
- package/src/utils/mixins/index.d.ts +3 -3
- package/src/utils/mixins/merge-constructor-params.type.d.ts +3 -3
- package/src/utils/mixins/mixin-ctor.type.d.ts +1 -1
- package/src/utils/parse-datetime.d.ts +1 -1
- package/src/utils/types/array-element.type.d.ts +1 -1
- package/src/utils/types/index.d.ts +2 -2
- package/src/utils/types/prop.type.d.ts +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export declare enum FilterType {
|
|
2
|
-
ACCESSORY_IMPORTANCE = "accessoryImportance",
|
|
3
|
-
BEARD_PROBLEMS = "beardProblems",
|
|
4
|
-
BEARD_SIZE = "beardSize",
|
|
5
|
-
BEAUTY_PRODUCT_IMPORTANCE = "beautyProductImportance",
|
|
6
|
-
BODY_PROBLEMS = "bodyProblems",
|
|
7
|
-
BODY_SHAPE = "bodyShape",
|
|
8
|
-
BODY_TATTOOS = "bodyTattoos",
|
|
9
|
-
FACE_SKIN_OILINESS = "faceSkinOiliness",
|
|
10
|
-
FACE_SKIN_PROBLEMS = "faceSkinProblems",
|
|
11
|
-
FACE_SKIN_TONE = "faceSkinTone",
|
|
12
|
-
FAMILY_INCOME = "familyIncome",
|
|
13
|
-
FRAGRANCE_IMPORTANCE = "fragranceImportance",
|
|
14
|
-
HAIR_COLOR = "hairColor",
|
|
15
|
-
HAIR_PROBLEMS = "hairProblems",
|
|
16
|
-
HAIR_STRANDS = "hairStrands",
|
|
17
|
-
HAIR_TYPE = "hairType",
|
|
18
|
-
PRODUCT_SPENT = "productSpent"
|
|
19
|
-
}
|
|
1
|
+
export declare enum FilterType {
|
|
2
|
+
ACCESSORY_IMPORTANCE = "accessoryImportance",
|
|
3
|
+
BEARD_PROBLEMS = "beardProblems",
|
|
4
|
+
BEARD_SIZE = "beardSize",
|
|
5
|
+
BEAUTY_PRODUCT_IMPORTANCE = "beautyProductImportance",
|
|
6
|
+
BODY_PROBLEMS = "bodyProblems",
|
|
7
|
+
BODY_SHAPE = "bodyShape",
|
|
8
|
+
BODY_TATTOOS = "bodyTattoos",
|
|
9
|
+
FACE_SKIN_OILINESS = "faceSkinOiliness",
|
|
10
|
+
FACE_SKIN_PROBLEMS = "faceSkinProblems",
|
|
11
|
+
FACE_SKIN_TONE = "faceSkinTone",
|
|
12
|
+
FAMILY_INCOME = "familyIncome",
|
|
13
|
+
FRAGRANCE_IMPORTANCE = "fragranceImportance",
|
|
14
|
+
HAIR_COLOR = "hairColor",
|
|
15
|
+
HAIR_PROBLEMS = "hairProblems",
|
|
16
|
+
HAIR_STRANDS = "hairStrands",
|
|
17
|
+
HAIR_TYPE = "hairType",
|
|
18
|
+
PRODUCT_SPENT = "productSpent"
|
|
19
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './filter-type.enum';
|
|
2
|
-
export * from './questions-filters.enum';
|
|
3
|
-
export * from './shop-page-name.enum';
|
|
1
|
+
export * from './filter-type.enum';
|
|
2
|
+
export * from './questions-filters.enum';
|
|
3
|
+
export * from './shop-page-name.enum';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export declare enum QuestionsFilters {
|
|
2
|
-
ACCESSORY_IMPORTANCE = "Voc\u00EA gosta de usar acess\u00F3rios masculinos?",
|
|
3
|
-
BEARD_PROBLEMS = "Quais problemas de barba voc\u00EA tem?",
|
|
4
|
-
BEARD_SIZE = "Quais caracteristicas se aplicam \u00E0 sua BARBA/BIGODE?",
|
|
5
|
-
BEAUTY_PRODUCT_IMPORTANCE = "O que descreve melhor a sua rela\u00E7\u00E3o com produtos de beleza e cuidados pessoais?",
|
|
6
|
-
BODY_PROBLEMS = "Qual ou quais preocupa\u00E7\u00F5es voc\u00EA tem com a pele do seu corpo?",
|
|
7
|
-
BODY_SHAPE = "Qual e seu tipo de CORPO?",
|
|
8
|
-
BODY_TATTOOS = "Voc\u00EA tem alguma tatuagem?",
|
|
9
|
-
FACE_SKIN_OILINESS = "Quais caracteristicas se aplicam \u00E0 pele do seu ROSTO?",
|
|
10
|
-
FACE_SKIN_PROBLEMS = "Quais problemas a pele do seu rosto tem?",
|
|
11
|
-
FACE_SKIN_TONE = "Qual seu tom de pele?",
|
|
12
|
-
FAMILY_INCOME = "Qual a sua renda familiar mensal (considerando a renda de todas as pessoas que moram com voc\u00EA)?",
|
|
13
|
-
FRAGRANCE_IMPORTANCE = "O quanto voc\u00EA gosta de experimentar perfumes?",
|
|
14
|
-
HAIR_COLOR = "Seu cabelo \u00E9 naturalmente de qual COR?",
|
|
15
|
-
HAIR_PROBLEMS = "Qual ou quais problemas/caracter\u00EDstica de cabelo te preocupam?",
|
|
16
|
-
HAIR_STRANDS = "Como s\u00E3o seus fios?",
|
|
17
|
-
HAIR_TYPE = "Como \u00E9 o seu cabelo?",
|
|
18
|
-
PRODUCT_SPENT = "Qual \u00E9 o seu nivel de gasto mensal em produtos de beleza e cuidados pessoais?"
|
|
19
|
-
}
|
|
1
|
+
export declare enum QuestionsFilters {
|
|
2
|
+
ACCESSORY_IMPORTANCE = "Voc\u00EA gosta de usar acess\u00F3rios masculinos?",
|
|
3
|
+
BEARD_PROBLEMS = "Quais problemas de barba voc\u00EA tem?",
|
|
4
|
+
BEARD_SIZE = "Quais caracteristicas se aplicam \u00E0 sua BARBA/BIGODE?",
|
|
5
|
+
BEAUTY_PRODUCT_IMPORTANCE = "O que descreve melhor a sua rela\u00E7\u00E3o com produtos de beleza e cuidados pessoais?",
|
|
6
|
+
BODY_PROBLEMS = "Qual ou quais preocupa\u00E7\u00F5es voc\u00EA tem com a pele do seu corpo?",
|
|
7
|
+
BODY_SHAPE = "Qual e seu tipo de CORPO?",
|
|
8
|
+
BODY_TATTOOS = "Voc\u00EA tem alguma tatuagem?",
|
|
9
|
+
FACE_SKIN_OILINESS = "Quais caracteristicas se aplicam \u00E0 pele do seu ROSTO?",
|
|
10
|
+
FACE_SKIN_PROBLEMS = "Quais problemas a pele do seu rosto tem?",
|
|
11
|
+
FACE_SKIN_TONE = "Qual seu tom de pele?",
|
|
12
|
+
FAMILY_INCOME = "Qual a sua renda familiar mensal (considerando a renda de todas as pessoas que moram com voc\u00EA)?",
|
|
13
|
+
FRAGRANCE_IMPORTANCE = "O quanto voc\u00EA gosta de experimentar perfumes?",
|
|
14
|
+
HAIR_COLOR = "Seu cabelo \u00E9 naturalmente de qual COR?",
|
|
15
|
+
HAIR_PROBLEMS = "Qual ou quais problemas/caracter\u00EDstica de cabelo te preocupam?",
|
|
16
|
+
HAIR_STRANDS = "Como s\u00E3o seus fios?",
|
|
17
|
+
HAIR_TYPE = "Como \u00E9 o seu cabelo?",
|
|
18
|
+
PRODUCT_SPENT = "Qual \u00E9 o seu nivel de gasto mensal em produtos de beleza e cuidados pessoais?"
|
|
19
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export declare enum ShopPageName {
|
|
2
|
-
LP_CLUB = "LP_CLUBE",
|
|
3
|
-
SUBSCRIBER_PANEL = "SUBSCRIBER_PANEL",
|
|
4
|
-
INVITE_FRIENDS = "INVITE_FRIENDS",
|
|
5
|
-
INVITE_AND_WIN = "INVITE_AND_WIN",
|
|
6
|
-
WIN_GLAMPOINTS = "WIN_GLAMPOINTS",
|
|
7
|
-
POSTS = "POSTS",
|
|
8
|
-
GLAMPOINTS_SHOWCASE = "GLAMPOINTS_SHOWCASE",
|
|
9
|
-
LP_EDITIONS = "LP_EDITIONS",
|
|
10
|
-
LP_GLAMBOX_EDITION = "LP_GLAMBOX_EDITION",
|
|
11
|
-
LP_GLAMBOX_PROMOTION = "LP_GLAMBOX_PROMOTION",
|
|
12
|
-
LP_GLAMBAG_PROMOTION = "LP_GLAMBAG_PROMOTION",
|
|
13
|
-
LP_GLAMPASS_PROMOTION = "LP_GLAMPASS_PROMOTION",
|
|
14
|
-
LP_SUBSCRIPTION_PROMOTION = "LP_SUBSCRIPTION_PROMOTION",
|
|
15
|
-
LP_GLAMPARTNER_PROMOTION = "LP_GLAMPARTNER_PROMOTION",
|
|
16
|
-
LP_GLAMQUEENS = "LP_GLAMQUEENS",
|
|
17
|
-
LP_INVITE = "LP_INVITE",
|
|
18
|
-
LP_LIVELO = "LP_LIVELO"
|
|
19
|
-
}
|
|
1
|
+
export declare enum ShopPageName {
|
|
2
|
+
LP_CLUB = "LP_CLUBE",
|
|
3
|
+
SUBSCRIBER_PANEL = "SUBSCRIBER_PANEL",
|
|
4
|
+
INVITE_FRIENDS = "INVITE_FRIENDS",
|
|
5
|
+
INVITE_AND_WIN = "INVITE_AND_WIN",
|
|
6
|
+
WIN_GLAMPOINTS = "WIN_GLAMPOINTS",
|
|
7
|
+
POSTS = "POSTS",
|
|
8
|
+
GLAMPOINTS_SHOWCASE = "GLAMPOINTS_SHOWCASE",
|
|
9
|
+
LP_EDITIONS = "LP_EDITIONS",
|
|
10
|
+
LP_GLAMBOX_EDITION = "LP_GLAMBOX_EDITION",
|
|
11
|
+
LP_GLAMBOX_PROMOTION = "LP_GLAMBOX_PROMOTION",
|
|
12
|
+
LP_GLAMBAG_PROMOTION = "LP_GLAMBAG_PROMOTION",
|
|
13
|
+
LP_GLAMPASS_PROMOTION = "LP_GLAMPASS_PROMOTION",
|
|
14
|
+
LP_SUBSCRIPTION_PROMOTION = "LP_SUBSCRIPTION_PROMOTION",
|
|
15
|
+
LP_GLAMPARTNER_PROMOTION = "LP_GLAMPARTNER_PROMOTION",
|
|
16
|
+
LP_GLAMQUEENS = "LP_GLAMQUEENS",
|
|
17
|
+
LP_INVITE = "LP_INVITE",
|
|
18
|
+
LP_LIVELO = "LP_LIVELO"
|
|
19
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FilterType } from '../enums';
|
|
2
|
-
type FilterAnswers = {
|
|
3
|
-
[key: string]: string;
|
|
4
|
-
};
|
|
5
|
-
export declare class BeautyQuestionsHelper {
|
|
6
|
-
static getAnswers(filter: FilterType): FilterAnswers;
|
|
7
|
-
static getQuestions(filter: FilterType): string;
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
1
|
+
import { FilterType } from '../enums';
|
|
2
|
+
type FilterAnswers = {
|
|
3
|
+
[key: string]: string;
|
|
4
|
+
};
|
|
5
|
+
export declare class BeautyQuestionsHelper {
|
|
6
|
+
static getAnswers(filter: FilterType): FilterAnswers;
|
|
7
|
+
static getQuestions(filter: FilterType): string;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './beauty-questions.helper';
|
|
1
|
+
export * from './beauty-questions.helper';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './enums';
|
|
2
|
-
export * from './helpers';
|
|
3
|
-
export * from './models';
|
|
4
|
-
export * from './repositories';
|
|
1
|
+
export * from './enums';
|
|
2
|
+
export * from './helpers';
|
|
3
|
+
export * from './models';
|
|
4
|
+
export * from './repositories';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BaseModel, GenericIdentifier } from '../../generic';
|
|
2
|
-
export declare class CampaignBanner extends BaseModel<CampaignBanner> {
|
|
3
|
-
imageDesk: string;
|
|
4
|
-
imageMobile: string;
|
|
5
|
-
titleMeta: string;
|
|
6
|
-
imageMeta: string;
|
|
7
|
-
title: string;
|
|
8
|
-
redirectLink: string;
|
|
9
|
-
altText: string;
|
|
10
|
-
static get identifiersFields(): GenericIdentifier[];
|
|
11
|
-
}
|
|
1
|
+
import { BaseModel, GenericIdentifier } from '../../generic';
|
|
2
|
+
export declare class CampaignBanner extends BaseModel<CampaignBanner> {
|
|
3
|
+
imageDesk: string;
|
|
4
|
+
imageMobile: string;
|
|
5
|
+
titleMeta: string;
|
|
6
|
+
imageMeta: string;
|
|
7
|
+
title: string;
|
|
8
|
+
redirectLink: string;
|
|
9
|
+
altText: string;
|
|
10
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
11
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Shops } from '../../catalog';
|
|
2
|
-
import { BaseModel, GenericIdentifier } from '../../generic';
|
|
3
|
-
import { CampaignPage } from './types/campaign-page';
|
|
4
|
-
export declare class Campaign extends BaseModel<Campaign> {
|
|
5
|
-
pages: CampaignPage;
|
|
6
|
-
publishDate: Date;
|
|
7
|
-
endDate: Date;
|
|
8
|
-
shop: Shops;
|
|
9
|
-
static get identifiersFields(): GenericIdentifier[];
|
|
10
|
-
}
|
|
1
|
+
import { Shops } from '../../catalog';
|
|
2
|
+
import { BaseModel, GenericIdentifier } from '../../generic';
|
|
3
|
+
import { CampaignPage } from './types/campaign-page';
|
|
4
|
+
export declare class Campaign extends BaseModel<Campaign> {
|
|
5
|
+
pages: CampaignPage;
|
|
6
|
+
publishDate: Date;
|
|
7
|
+
endDate: Date;
|
|
8
|
+
shop: Shops;
|
|
9
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
10
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
-
import { Banner, Benefit, HomeDataStructure } from './types';
|
|
3
|
-
export declare class Home extends BaseModel<Home> {
|
|
4
|
-
benefitsSection: Benefit[];
|
|
5
|
-
blockBanners: Banner[];
|
|
6
|
-
blogBanner: Banner;
|
|
7
|
-
brandsCarousel: Banner[];
|
|
8
|
-
buyToWinBanner: Banner;
|
|
9
|
-
discoverCategories: string[];
|
|
10
|
-
featuredCampaignBanner: Banner;
|
|
11
|
-
featuredCategories: string[];
|
|
12
|
-
heroCarousel: Banner[];
|
|
13
|
-
verticalCarousels: string[];
|
|
14
|
-
id: string;
|
|
15
|
-
data: HomeDataStructure;
|
|
16
|
-
minValueForFreeShipping: number;
|
|
17
|
-
static get identifiersFields(): GenericIdentifier[];
|
|
18
|
-
}
|
|
1
|
+
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
+
import { Banner, Benefit, HomeDataStructure } from './types';
|
|
3
|
+
export declare class Home extends BaseModel<Home> {
|
|
4
|
+
benefitsSection: Benefit[];
|
|
5
|
+
blockBanners: Banner[];
|
|
6
|
+
blogBanner: Banner;
|
|
7
|
+
brandsCarousel: Banner[];
|
|
8
|
+
buyToWinBanner: Banner;
|
|
9
|
+
discoverCategories: string[];
|
|
10
|
+
featuredCampaignBanner: Banner;
|
|
11
|
+
featuredCategories: string[];
|
|
12
|
+
heroCarousel: Banner[];
|
|
13
|
+
verticalCarousels: string[];
|
|
14
|
+
id: string;
|
|
15
|
+
data: HomeDataStructure;
|
|
16
|
+
minValueForFreeShipping: number;
|
|
17
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
18
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './campaign';
|
|
2
|
-
export * from './campaign-banner';
|
|
3
|
-
export * from './home';
|
|
4
|
-
export * from './shop-menu';
|
|
5
|
-
export * from './shop-settings';
|
|
6
|
-
export * from './types';
|
|
1
|
+
export * from './campaign';
|
|
2
|
+
export * from './campaign-banner';
|
|
3
|
+
export * from './home';
|
|
4
|
+
export * from './shop-menu';
|
|
5
|
+
export * from './shop-settings';
|
|
6
|
+
export * from './types';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Shops } from '../../catalog';
|
|
2
|
-
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
3
|
-
import { MenuNav } from './types/menu-nav.type';
|
|
4
|
-
export declare class ShopMenu extends BaseModel<ShopMenu> {
|
|
5
|
-
menuNav: MenuNav[];
|
|
6
|
-
shop: Shops;
|
|
7
|
-
id: string;
|
|
8
|
-
static get identifiersFields(): GenericIdentifier[];
|
|
9
|
-
}
|
|
1
|
+
import { Shops } from '../../catalog';
|
|
2
|
+
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
3
|
+
import { MenuNav } from './types/menu-nav.type';
|
|
4
|
+
export declare class ShopMenu extends BaseModel<ShopMenu> {
|
|
5
|
+
menuNav: MenuNav[];
|
|
6
|
+
shop: Shops;
|
|
7
|
+
id: string;
|
|
8
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
9
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
-
import { ShopPageName } from '../enums';
|
|
3
|
-
import { Section } from './types';
|
|
4
|
-
export declare class ShopSettings extends BaseModel<ShopSettings> {
|
|
5
|
-
id: string | ShopPageName;
|
|
6
|
-
name: string;
|
|
7
|
-
shop: string;
|
|
8
|
-
sections: Section<any>;
|
|
9
|
-
descriptionMeta?: string;
|
|
10
|
-
titleMeta?: string;
|
|
11
|
-
imageMeta?: string;
|
|
12
|
-
hasMultiples?: boolean;
|
|
13
|
-
pagePath?: string;
|
|
14
|
-
static get identifiersFields(): GenericIdentifier[];
|
|
15
|
-
}
|
|
1
|
+
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
+
import { ShopPageName } from '../enums';
|
|
3
|
+
import { Section } from './types';
|
|
4
|
+
export declare class ShopSettings extends BaseModel<ShopSettings> {
|
|
5
|
+
id: string | ShopPageName;
|
|
6
|
+
name: string;
|
|
7
|
+
shop: string;
|
|
8
|
+
sections: Section<any>;
|
|
9
|
+
descriptionMeta?: string;
|
|
10
|
+
titleMeta?: string;
|
|
11
|
+
imageMeta?: string;
|
|
12
|
+
hasMultiples?: boolean;
|
|
13
|
+
pagePath?: string;
|
|
14
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
15
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type Banner = {
|
|
2
|
-
image?: string;
|
|
3
|
-
mobileImage?: string;
|
|
4
|
-
alt?: string;
|
|
5
|
-
path: string;
|
|
6
|
-
};
|
|
1
|
+
export type Banner = {
|
|
2
|
+
image?: string;
|
|
3
|
+
mobileImage?: string;
|
|
4
|
+
alt?: string;
|
|
5
|
+
path: string;
|
|
6
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type Benefit = {
|
|
2
|
-
description: string;
|
|
3
|
-
title: string;
|
|
4
|
-
image: string;
|
|
5
|
-
};
|
|
1
|
+
export type Benefit = {
|
|
2
|
+
description: string;
|
|
3
|
+
title: string;
|
|
4
|
+
image: string;
|
|
5
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface BrandsCarousel {
|
|
2
|
-
carouselColor?: string;
|
|
3
|
-
}
|
|
1
|
+
export interface BrandsCarousel {
|
|
2
|
+
carouselColor?: string;
|
|
3
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ShopPageName } from '../../enums';
|
|
2
|
-
import { CampaignBanner } from '../campaign-banner';
|
|
3
|
-
export type CampaignPage = {
|
|
4
|
-
[key in ShopPageName]: CampaignPageBase;
|
|
5
|
-
};
|
|
6
|
-
export type CampaignPageBase = {
|
|
7
|
-
createdAt: Date;
|
|
8
|
-
updatedAt: Date;
|
|
9
|
-
};
|
|
10
|
-
export type CampaignPageBanner = CampaignPageBase & {
|
|
11
|
-
publishDate: Date;
|
|
12
|
-
deleteDate: Date;
|
|
13
|
-
};
|
|
14
|
-
export type CampaignPageLPClube = CampaignPageBase & {
|
|
15
|
-
mainCarousel: Array<CampaignBanner>;
|
|
16
|
-
editionsCarousel: Array<CampaignBanner>;
|
|
17
|
-
};
|
|
1
|
+
import { ShopPageName } from '../../enums';
|
|
2
|
+
import { CampaignBanner } from '../campaign-banner';
|
|
3
|
+
export type CampaignPage = {
|
|
4
|
+
[key in ShopPageName]: CampaignPageBase;
|
|
5
|
+
};
|
|
6
|
+
export type CampaignPageBase = {
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
updatedAt: Date;
|
|
9
|
+
};
|
|
10
|
+
export type CampaignPageBanner = CampaignPageBase & {
|
|
11
|
+
publishDate: Date;
|
|
12
|
+
deleteDate: Date;
|
|
13
|
+
};
|
|
14
|
+
export type CampaignPageLPClube = CampaignPageBase & {
|
|
15
|
+
mainCarousel: Array<CampaignBanner>;
|
|
16
|
+
editionsCarousel: Array<CampaignBanner>;
|
|
17
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Category, Product } from '../../../catalog';
|
|
2
|
-
export type HomeCategoryGroup = {
|
|
3
|
-
category: Category;
|
|
4
|
-
products: Product[];
|
|
5
|
-
};
|
|
6
|
-
export type HomeData = {
|
|
7
|
-
discoverProducts: HomeCategoryGroup[];
|
|
8
|
-
featuredProducts: HomeCategoryGroup[];
|
|
9
|
-
verticalProducts: HomeCategoryGroup[];
|
|
10
|
-
};
|
|
11
|
-
export type HomeDataStructure = {
|
|
12
|
-
createdAt: Date;
|
|
13
|
-
expiresAt: Date;
|
|
14
|
-
data: HomeData;
|
|
15
|
-
};
|
|
1
|
+
import { Category, Product } from '../../../catalog';
|
|
2
|
+
export type HomeCategoryGroup = {
|
|
3
|
+
category: Category;
|
|
4
|
+
products: Product[];
|
|
5
|
+
};
|
|
6
|
+
export type HomeData = {
|
|
7
|
+
discoverProducts: HomeCategoryGroup[];
|
|
8
|
+
featuredProducts: HomeCategoryGroup[];
|
|
9
|
+
verticalProducts: HomeCategoryGroup[];
|
|
10
|
+
};
|
|
11
|
+
export type HomeDataStructure = {
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
expiresAt: Date;
|
|
14
|
+
data: HomeData;
|
|
15
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export * from './banner.type';
|
|
2
|
-
export * from './benefit.type';
|
|
3
|
-
export * from './brands-carousel.type';
|
|
4
|
-
export * from './campaign-page';
|
|
5
|
-
export * from './home-data.type';
|
|
6
|
-
export * from './landing-page';
|
|
7
|
-
export * from './menu-nav.type';
|
|
8
|
-
export * from './sections.type';
|
|
9
|
-
export * from './shop-banner.type';
|
|
10
|
-
export * from './shop-brands.type';
|
|
11
|
-
export * from './shop-carousel.type';
|
|
12
|
-
export * from './shop-collection.type';
|
|
13
|
-
export * from './shop-gift.type';
|
|
14
|
-
export * from './shop-home';
|
|
15
|
-
export * from './shop-post.type';
|
|
16
|
-
export * from './shop-section.type';
|
|
17
|
-
export * from './sub-menu.type';
|
|
1
|
+
export * from './banner.type';
|
|
2
|
+
export * from './benefit.type';
|
|
3
|
+
export * from './brands-carousel.type';
|
|
4
|
+
export * from './campaign-page';
|
|
5
|
+
export * from './home-data.type';
|
|
6
|
+
export * from './landing-page';
|
|
7
|
+
export * from './menu-nav.type';
|
|
8
|
+
export * from './sections.type';
|
|
9
|
+
export * from './shop-banner.type';
|
|
10
|
+
export * from './shop-brands.type';
|
|
11
|
+
export * from './shop-carousel.type';
|
|
12
|
+
export * from './shop-collection.type';
|
|
13
|
+
export * from './shop-gift.type';
|
|
14
|
+
export * from './shop-home';
|
|
15
|
+
export * from './shop-post.type';
|
|
16
|
+
export * from './shop-section.type';
|
|
17
|
+
export * from './sub-menu.type';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ShopBanner } from './shop-banner.type';
|
|
2
|
-
import { ShopCarousel } from './shop-carousel.type';
|
|
3
|
-
import { ShopSection } from './shop-section.type';
|
|
4
|
-
export type LandingPageList = {
|
|
5
|
-
ShopCarousel: ShopCarousel;
|
|
6
|
-
ShopBanner: ShopBanner;
|
|
7
|
-
};
|
|
8
|
-
export type LandingPage<T extends keyof LandingPageList> = LandingPageList[T] & ShopSection;
|
|
1
|
+
import { ShopBanner } from './shop-banner.type';
|
|
2
|
+
import { ShopCarousel } from './shop-carousel.type';
|
|
3
|
+
import { ShopSection } from './shop-section.type';
|
|
4
|
+
export type LandingPageList = {
|
|
5
|
+
ShopCarousel: ShopCarousel;
|
|
6
|
+
ShopBanner: ShopBanner;
|
|
7
|
+
};
|
|
8
|
+
export type LandingPage<T extends keyof LandingPageList> = LandingPageList[T] & ShopSection;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { SubMenu } from './sub-menu.type';
|
|
2
|
-
export type MenuNav = {
|
|
3
|
-
image?: string;
|
|
4
|
-
label: string;
|
|
5
|
-
path: string;
|
|
6
|
-
position: string;
|
|
7
|
-
subMenu: SubMenu[];
|
|
8
|
-
static: boolean;
|
|
9
|
-
};
|
|
1
|
+
import { SubMenu } from './sub-menu.type';
|
|
2
|
+
export type MenuNav = {
|
|
3
|
+
image?: string;
|
|
4
|
+
label: string;
|
|
5
|
+
path: string;
|
|
6
|
+
position: string;
|
|
7
|
+
subMenu: SubMenu[];
|
|
8
|
+
static: boolean;
|
|
9
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BrandsCarousel } from './brands-carousel.type';
|
|
2
|
-
import { ShopBanner } from './shop-banner.type';
|
|
3
|
-
import { ShopGift } from './shop-gift.type';
|
|
4
|
-
import { ShopSection } from './shop-section.type';
|
|
5
|
-
export type PromotionPageList = {
|
|
6
|
-
ShopBanner: ShopBanner;
|
|
7
|
-
BrandsCarousel: BrandsCarousel;
|
|
8
|
-
ShopGift: ShopGift;
|
|
9
|
-
};
|
|
10
|
-
export type PromotionPage<T extends keyof PromotionPageList> = PromotionPageList[T] & ShopSection;
|
|
1
|
+
import { BrandsCarousel } from './brands-carousel.type';
|
|
2
|
+
import { ShopBanner } from './shop-banner.type';
|
|
3
|
+
import { ShopGift } from './shop-gift.type';
|
|
4
|
+
import { ShopSection } from './shop-section.type';
|
|
5
|
+
export type PromotionPageList = {
|
|
6
|
+
ShopBanner: ShopBanner;
|
|
7
|
+
BrandsCarousel: BrandsCarousel;
|
|
8
|
+
ShopGift: ShopGift;
|
|
9
|
+
};
|
|
10
|
+
export type PromotionPage<T extends keyof PromotionPageList> = PromotionPageList[T] & ShopSection;
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { LandingPage } from './landing-page';
|
|
2
|
-
import { PromotionPage } from './promotion-page';
|
|
3
|
-
import { ShopBanner } from './shop-banner.type';
|
|
4
|
-
import { ShopCarousel } from './shop-carousel.type';
|
|
5
|
-
import { ShopGift } from './shop-gift.type';
|
|
6
|
-
import { ShopHome } from './shop-home';
|
|
7
|
-
import { ShopPost } from './shop-post.type';
|
|
8
|
-
import { ShopSection } from './shop-section.type';
|
|
9
|
-
export type HomeSection = [ShopHome<any>];
|
|
10
|
-
export type LPClubeShopSection = [ShopCarousel];
|
|
11
|
-
export type SubscriberPanelShopSection = [ShopCarousel[]];
|
|
12
|
-
export type InviteFriendsShopSection = [ShopCarousel];
|
|
13
|
-
export type InviteAndWinShopSection = [ShopGift];
|
|
14
|
-
export type WinGlampointsShopSection = [ShopGift];
|
|
15
|
-
export type PostsShopSection = [ShopSection & {
|
|
16
|
-
posts: ShopPost[];
|
|
17
|
-
}];
|
|
18
|
-
export type GlampointsVitrineShopSection = [ShopBanner];
|
|
19
|
-
export type SimpleLPShopSection = [(ShopBanner & {
|
|
20
|
-
carouselColor?: string;
|
|
21
|
-
})[]];
|
|
22
|
-
export type LandingPageSection = [LandingPage<any>];
|
|
23
|
-
export type PromotionPageSection = [PromotionPage<any>];
|
|
24
|
-
export type SectionList = {
|
|
25
|
-
HomeSection: HomeSection;
|
|
26
|
-
LPClubeShopSection: LPClubeShopSection;
|
|
27
|
-
SubscriberPanelShopSection: SubscriberPanelShopSection;
|
|
28
|
-
InviteFriendsShopSection: InviteFriendsShopSection;
|
|
29
|
-
InviteAndWinShopSection: InviteAndWinShopSection;
|
|
30
|
-
WinGlampointsShopSection: WinGlampointsShopSection;
|
|
31
|
-
PostsShopSection: PostsShopSection;
|
|
32
|
-
GlampointsVitrineShopSection: GlampointsVitrineShopSection;
|
|
33
|
-
SimpleLPShopSection: SimpleLPShopSection;
|
|
34
|
-
LandingPageSection: LandingPageSection;
|
|
35
|
-
PromotionPageSection: PromotionPageSection;
|
|
36
|
-
};
|
|
37
|
-
export type Section<T extends keyof SectionList> = SectionList[T];
|
|
1
|
+
import { LandingPage } from './landing-page';
|
|
2
|
+
import { PromotionPage } from './promotion-page';
|
|
3
|
+
import { ShopBanner } from './shop-banner.type';
|
|
4
|
+
import { ShopCarousel } from './shop-carousel.type';
|
|
5
|
+
import { ShopGift } from './shop-gift.type';
|
|
6
|
+
import { ShopHome } from './shop-home';
|
|
7
|
+
import { ShopPost } from './shop-post.type';
|
|
8
|
+
import { ShopSection } from './shop-section.type';
|
|
9
|
+
export type HomeSection = [ShopHome<any>];
|
|
10
|
+
export type LPClubeShopSection = [ShopCarousel];
|
|
11
|
+
export type SubscriberPanelShopSection = [ShopCarousel[]];
|
|
12
|
+
export type InviteFriendsShopSection = [ShopCarousel];
|
|
13
|
+
export type InviteAndWinShopSection = [ShopGift];
|
|
14
|
+
export type WinGlampointsShopSection = [ShopGift];
|
|
15
|
+
export type PostsShopSection = [ShopSection & {
|
|
16
|
+
posts: ShopPost[];
|
|
17
|
+
}];
|
|
18
|
+
export type GlampointsVitrineShopSection = [ShopBanner];
|
|
19
|
+
export type SimpleLPShopSection = [(ShopBanner & {
|
|
20
|
+
carouselColor?: string;
|
|
21
|
+
})[]];
|
|
22
|
+
export type LandingPageSection = [LandingPage<any>];
|
|
23
|
+
export type PromotionPageSection = [PromotionPage<any>];
|
|
24
|
+
export type SectionList = {
|
|
25
|
+
HomeSection: HomeSection;
|
|
26
|
+
LPClubeShopSection: LPClubeShopSection;
|
|
27
|
+
SubscriberPanelShopSection: SubscriberPanelShopSection;
|
|
28
|
+
InviteFriendsShopSection: InviteFriendsShopSection;
|
|
29
|
+
InviteAndWinShopSection: InviteAndWinShopSection;
|
|
30
|
+
WinGlampointsShopSection: WinGlampointsShopSection;
|
|
31
|
+
PostsShopSection: PostsShopSection;
|
|
32
|
+
GlampointsVitrineShopSection: GlampointsVitrineShopSection;
|
|
33
|
+
SimpleLPShopSection: SimpleLPShopSection;
|
|
34
|
+
LandingPageSection: LandingPageSection;
|
|
35
|
+
PromotionPageSection: PromotionPageSection;
|
|
36
|
+
};
|
|
37
|
+
export type Section<T extends keyof SectionList> = SectionList[T];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ShopSection } from './shop-section.type';
|
|
2
|
-
export interface ShopBanner extends ShopSection {
|
|
3
|
-
autoDelete?: boolean;
|
|
4
|
-
deleteDate?: Date;
|
|
5
|
-
autoPublish?: boolean;
|
|
6
|
-
publishDate?: Date;
|
|
7
|
-
link?: string;
|
|
8
|
-
mobileImage: string;
|
|
9
|
-
desktopImage: string;
|
|
10
|
-
altText: string;
|
|
11
|
-
published?: boolean;
|
|
12
|
-
title: string;
|
|
13
|
-
}
|
|
1
|
+
import { ShopSection } from './shop-section.type';
|
|
2
|
+
export interface ShopBanner extends ShopSection {
|
|
3
|
+
autoDelete?: boolean;
|
|
4
|
+
deleteDate?: Date;
|
|
5
|
+
autoPublish?: boolean;
|
|
6
|
+
publishDate?: Date;
|
|
7
|
+
link?: string;
|
|
8
|
+
mobileImage: string;
|
|
9
|
+
desktopImage: string;
|
|
10
|
+
altText: string;
|
|
11
|
+
published?: boolean;
|
|
12
|
+
title: string;
|
|
13
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ShopSection } from './shop-section.type';
|
|
2
|
-
export interface ShopBrands extends ShopSection {
|
|
3
|
-
brands: ShopBrand[];
|
|
4
|
-
}
|
|
5
|
-
export interface ShopBrand {
|
|
6
|
-
collectionId: string;
|
|
7
|
-
image: string;
|
|
8
|
-
slug: string;
|
|
9
|
-
brandName: string;
|
|
10
|
-
}
|
|
1
|
+
import { ShopSection } from './shop-section.type';
|
|
2
|
+
export interface ShopBrands extends ShopSection {
|
|
3
|
+
brands: ShopBrand[];
|
|
4
|
+
}
|
|
5
|
+
export interface ShopBrand {
|
|
6
|
+
collectionId: string;
|
|
7
|
+
image: string;
|
|
8
|
+
slug: string;
|
|
9
|
+
brandName: string;
|
|
10
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ShopBanner } from './shop-banner.type';
|
|
2
|
-
export interface ShopCarousel {
|
|
3
|
-
banners: ShopBanner[];
|
|
4
|
-
}
|
|
1
|
+
import { ShopBanner } from './shop-banner.type';
|
|
2
|
+
export interface ShopCarousel {
|
|
3
|
+
banners: ShopBanner[];
|
|
4
|
+
}
|