@infrab4a/connect 0.17.1-beta.3 → 1.0.0-beta.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/README.md +24 -24
- package/bundles/infrab4a-connect.umd.js +2261 -2463
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/esm2015/infrab4a-connect.js +5 -5
- package/esm2015/lib/domain/catalog/index.js +3 -0
- package/esm2015/lib/domain/catalog/models/category.js +7 -0
- package/esm2015/lib/domain/catalog/models/enums/index.js +2 -0
- package/esm2015/lib/domain/catalog/models/enums/shops.enum.js +6 -0
- package/esm2015/lib/domain/catalog/models/index.js +6 -0
- package/esm2015/lib/domain/catalog/models/product.js +11 -0
- package/esm2015/lib/domain/catalog/models/types/category-condition.type.js +2 -0
- package/esm2015/lib/domain/catalog/models/types/category-filter.type.js +2 -0
- package/esm2015/lib/domain/catalog/models/types/index.js +8 -0
- package/esm2015/lib/domain/catalog/models/types/product-review.type.js +2 -0
- package/esm2015/lib/domain/catalog/models/types/shops-description.type.js +2 -0
- package/esm2015/lib/domain/catalog/models/types/shops-price.type.js +2 -0
- package/esm2015/lib/domain/catalog/models/types/stock.type.js +2 -0
- package/esm2015/lib/domain/catalog/models/types/variant-grade.type.js +2 -0
- package/esm2015/lib/domain/catalog/models/variant.js +7 -0
- package/esm2015/lib/domain/catalog/repositories/category.repository.js +2 -0
- package/esm2015/lib/domain/catalog/repositories/index.js +5 -0
- package/esm2015/lib/domain/catalog/repositories/product.repository.js +2 -0
- package/esm2015/lib/domain/catalog/repositories/subscription-product.repository.js +2 -0
- package/esm2015/lib/domain/catalog/repositories/variant.repository.js +2 -0
- package/esm2015/lib/domain/general/index.js +3 -0
- package/esm2015/lib/domain/general/model/base-model-with-identifier-fields.js +2 -0
- package/esm2015/lib/domain/general/model/base.model.js +13 -0
- package/esm2015/lib/domain/general/model/identifier-fields.js +2 -0
- package/esm2015/lib/domain/general/model/index.js +5 -0
- package/esm2015/lib/domain/general/model/types/base-model-builder.type.js +2 -0
- package/esm2015/lib/domain/general/model/types/index.js +4 -0
- package/esm2015/lib/domain/general/model/types/non-function-properties.type.js +2 -0
- package/esm2015/lib/domain/general/model/types/non-function-property-name.type.js +2 -0
- package/esm2015/lib/domain/general/repository/create.repository.js +2 -0
- package/esm2015/lib/domain/general/repository/crud.repository.js +2 -0
- package/esm2015/lib/domain/general/repository/delete.repository.js +2 -0
- package/esm2015/lib/domain/general/repository/enums/index.js +3 -0
- package/esm2015/lib/domain/general/repository/enums/update-option-actions.enum.js +9 -0
- package/esm2015/lib/domain/general/repository/enums/where.enum.js +12 -0
- package/esm2015/lib/domain/general/repository/find.repository.js +2 -0
- package/esm2015/lib/domain/general/repository/get.repository.js +2 -0
- package/esm2015/lib/domain/general/repository/index.js +10 -0
- package/esm2015/lib/domain/general/repository/read.repository.js +2 -0
- package/esm2015/lib/domain/general/repository/types/index.js +6 -0
- package/esm2015/lib/domain/general/repository/types/repository-find-filters.type.js +2 -0
- package/esm2015/lib/domain/general/repository/types/repository-find-result.type.js +2 -0
- package/esm2015/lib/domain/general/repository/types/repository-limit-options.type.js +2 -0
- package/esm2015/lib/domain/general/repository/types/repository-order-by-list.type.js +2 -0
- package/esm2015/lib/domain/general/repository/types/repository-update-params.type.js +2 -0
- package/esm2015/lib/domain/general/repository/update.repository.js +2 -0
- package/esm2015/lib/domain/index.js +7 -0
- package/esm2015/lib/domain/location/index.js +2 -0
- package/esm2015/lib/domain/location/models/address.js +4 -0
- package/esm2015/lib/domain/location/models/index.js +3 -0
- package/esm2015/lib/domain/location/models/types/index.js +4 -0
- package/esm2015/lib/domain/location/models/types/location-bound.type.js +2 -0
- package/esm2015/lib/domain/location/models/types/location-geometry.type.js +2 -0
- package/esm2015/lib/domain/location/models/types/location-lat-lng.type.js +2 -0
- package/esm2015/lib/domain/shop-settings/enums/filter-type.enum.js +21 -0
- package/esm2015/lib/domain/shop-settings/enums/index.js +3 -0
- package/esm2015/lib/domain/shop-settings/enums/questions-filters.enum.js +21 -0
- package/esm2015/lib/domain/shop-settings/helpers/beauty-questions.helper.js +46 -0
- package/esm2015/lib/domain/shop-settings/helpers/index.js +2 -0
- package/esm2015/lib/domain/shop-settings/index.js +5 -0
- package/esm2015/lib/domain/shop-settings/models/home.js +7 -0
- package/esm2015/lib/domain/shop-settings/models/index.js +4 -0
- package/esm2015/lib/domain/shop-settings/models/shop-menu.js +7 -0
- package/esm2015/lib/domain/shop-settings/models/types/banner.type.js +2 -0
- package/esm2015/lib/domain/shop-settings/models/types/benefit.type.js +2 -0
- package/esm2015/lib/domain/shop-settings/models/types/index.js +5 -0
- package/esm2015/lib/domain/shop-settings/models/types/menu-nav.type.js +2 -0
- package/esm2015/lib/domain/shop-settings/models/types/sub-menu.type.js +2 -0
- package/esm2015/lib/domain/shop-settings/repositories/home.repository.js +2 -0
- package/esm2015/lib/domain/shop-settings/repositories/index.js +3 -0
- package/esm2015/lib/domain/shop-settings/repositories/shop-menu.repository.js +2 -0
- package/esm2015/lib/domain/shopping/index.js +3 -0
- package/esm2015/lib/domain/shopping/models/buy-2-win.js +14 -0
- package/esm2015/lib/domain/shopping/models/checkout.js +38 -0
- package/esm2015/lib/domain/shopping/models/coupons/club-coupon.js +23 -0
- package/esm2015/lib/domain/shopping/models/coupons/coupon.js +23 -0
- package/esm2015/lib/domain/shopping/models/coupons/enums/discount-type.enum.js +7 -0
- package/esm2015/lib/domain/shopping/models/coupons/enums/exclusivities.enum.js +7 -0
- package/esm2015/lib/domain/shopping/models/coupons/enums/index.js +3 -0
- package/esm2015/lib/domain/shopping/models/coupons/index.js +5 -0
- package/esm2015/lib/domain/shopping/models/coupons/store-coupon.js +23 -0
- package/esm2015/lib/domain/shopping/models/enums/checkout-types.enum.js +6 -0
- package/esm2015/lib/domain/shopping/models/enums/index.js +3 -0
- package/esm2015/lib/domain/shopping/models/enums/order-status.enum.js +12 -0
- package/esm2015/lib/domain/shopping/models/index.js +12 -0
- package/esm2015/lib/domain/shopping/models/line-item.js +4 -0
- package/esm2015/lib/domain/shopping/models/order.js +11 -0
- package/esm2015/lib/domain/shopping/models/payment.js +169 -0
- package/esm2015/lib/domain/shopping/models/shipping-method.js +7 -0
- package/esm2015/lib/domain/shopping/models/subscription/checkout.js +28 -0
- package/esm2015/lib/domain/shopping/models/subscription/index.js +3 -0
- package/esm2015/lib/domain/shopping/models/subscription/plan.js +7 -0
- package/esm2015/lib/domain/shopping/models/types/index.js +8 -0
- package/esm2015/lib/domain/shopping/models/types/payment-address.type.js +2 -0
- package/esm2015/lib/domain/shopping/models/types/payment-billing.type.js +2 -0
- package/esm2015/lib/domain/shopping/models/types/payment-card.type.js +2 -0
- package/esm2015/lib/domain/shopping/models/types/payment-customer.type.js +2 -0
- package/esm2015/lib/domain/shopping/models/types/payment-document.type.js +2 -0
- package/esm2015/lib/domain/shopping/models/types/payment-item.type.js +2 -0
- package/esm2015/lib/domain/shopping/models/types/payment-shipping.type.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/buy-2-win.repository.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/checkout.repository.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/coupon.repository.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/index.js +8 -0
- package/esm2015/lib/domain/shopping/repositories/legacy-order.repository.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/order.repository.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/payment.repository.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/subscription/checkout.repository.js +2 -0
- package/esm2015/lib/domain/shopping/repositories/subscription/index.js +3 -0
- package/esm2015/lib/domain/shopping/repositories/subscription/plan.repository.js +2 -0
- package/esm2015/lib/domain/users/errors/index.js +4 -0
- package/esm2015/lib/domain/users/errors/unauthorized.error.js +7 -0
- package/esm2015/lib/domain/users/errors/user-already-registered.error.js +7 -0
- package/esm2015/lib/domain/users/errors/weak-password.error.js +7 -0
- package/esm2015/lib/domain/users/index.js +6 -0
- package/esm2015/lib/domain/users/models/beauty-profile.js +12 -0
- package/esm2015/lib/domain/users/models/enums/accessory-importances.enum.js +7 -0
- package/esm2015/lib/domain/users/models/enums/area.enum.js +13 -0
- package/esm2015/lib/domain/users/models/enums/beard-problems.enum.js +11 -0
- package/esm2015/lib/domain/users/models/enums/beard-sizes.enum.js +9 -0
- package/esm2015/lib/domain/users/models/enums/beauty-product-importances.enum.js +8 -0
- package/esm2015/lib/domain/users/models/enums/body-problems.enum.js +13 -0
- package/esm2015/lib/domain/users/models/enums/body-shapes.enum.js +9 -0
- package/esm2015/lib/domain/users/models/enums/body-tattoos.enum.js +7 -0
- package/esm2015/lib/domain/users/models/enums/face-skin-oilinesses.enum.js +9 -0
- package/esm2015/lib/domain/users/models/enums/face-skin-problems.enum.js +12 -0
- package/esm2015/lib/domain/users/models/enums/face-skin-tones.enum.js +10 -0
- package/esm2015/lib/domain/users/models/enums/family-incomes.enum.js +10 -0
- package/esm2015/lib/domain/users/models/enums/fragrance-importances.enum.js +7 -0
- package/esm2015/lib/domain/users/models/enums/hair-colors.enum.js +12 -0
- package/esm2015/lib/domain/users/models/enums/hair-problems.enum.js +12 -0
- package/esm2015/lib/domain/users/models/enums/hair-strands.enum.js +10 -0
- package/esm2015/lib/domain/users/models/enums/hair-types.enum.js +9 -0
- package/esm2015/lib/domain/users/models/enums/index.js +21 -0
- package/esm2015/lib/domain/users/models/enums/office-position.enum.js +8 -0
- package/esm2015/lib/domain/users/models/enums/product-spents.enum.js +10 -0
- package/esm2015/lib/domain/users/models/enums/user-type.enum.js +10 -0
- package/esm2015/lib/domain/users/models/index.js +8 -0
- package/esm2015/lib/domain/users/models/lead.js +7 -0
- package/esm2015/lib/domain/users/models/subscription/edition.js +7 -0
- package/esm2015/lib/domain/users/models/subscription/enums/billing-status.enum.js +5 -0
- package/esm2015/lib/domain/users/models/subscription/enums/edition-status.enum.js +6 -0
- package/esm2015/lib/domain/users/models/subscription/enums/index.js +5 -0
- package/esm2015/lib/domain/users/models/subscription/enums/payment-type.enum.js +7 -0
- package/esm2015/lib/domain/users/models/subscription/enums/status.enum.js +6 -0
- package/esm2015/lib/domain/users/models/subscription/index.js +5 -0
- package/esm2015/lib/domain/users/models/subscription/payment.js +14 -0
- package/esm2015/lib/domain/users/models/subscription/subscription.js +43 -0
- package/esm2015/lib/domain/users/models/user-address.js +7 -0
- package/esm2015/lib/domain/users/models/user-payment-method.js +7 -0
- package/esm2015/lib/domain/users/models/user.js +26 -0
- package/esm2015/lib/domain/users/repositories/beauty-profile.repository.js +2 -0
- package/esm2015/lib/domain/users/repositories/edition.repository.js +2 -0
- package/esm2015/lib/domain/users/repositories/index.js +9 -0
- package/esm2015/lib/domain/users/repositories/lead.repository.js +2 -0
- package/esm2015/lib/domain/users/repositories/subscription-payment.repository.js +2 -0
- package/esm2015/lib/domain/users/repositories/subscription.repository.js +2 -0
- package/esm2015/lib/domain/users/repositories/user-address.repository.js +2 -0
- package/esm2015/lib/domain/users/repositories/user-payment-method.repository.js +2 -0
- package/esm2015/lib/domain/users/repositories/user.repository.js +2 -0
- package/esm2015/lib/domain/users/services/authentication.service.js +2 -0
- package/esm2015/lib/domain/users/services/index.js +4 -0
- package/esm2015/lib/domain/users/services/register.service.js +2 -0
- package/esm2015/lib/domain/users/services/types/basic-user-data.type.js +2 -0
- package/esm2015/lib/domain/users/services/types/index.js +2 -0
- package/esm2015/lib/domain/users/use-cases/authentication.js +40 -0
- package/esm2015/lib/domain/users/use-cases/index.js +4 -0
- package/esm2015/lib/domain/users/use-cases/register.js +34 -0
- package/esm2015/lib/domain/users/use-cases/signout.js +12 -0
- package/esm2015/lib/errors/duplicated-results.error.js +7 -0
- package/esm2015/lib/errors/index.js +5 -0
- package/esm2015/lib/errors/invalid-argument.error.js +7 -0
- package/esm2015/lib/errors/not-found.error.js +7 -0
- package/esm2015/lib/errors/required-argument.error.js +8 -0
- package/esm2015/lib/index.js +5 -0
- package/esm2015/lib/infra/firebase/auth/authentication-firebase-auth.service.js +47 -0
- package/esm2015/lib/infra/firebase/auth/index.js +3 -0
- package/esm2015/lib/infra/firebase/auth/register-firebase-auth.service.js +26 -0
- package/esm2015/lib/infra/firebase/auth/types/firebase-user-with-id.type.js +2 -0
- package/esm2015/lib/infra/firebase/firestore/index.js +4 -0
- package/esm2015/lib/infra/firebase/firestore/mixins/index.js +10 -0
- package/esm2015/lib/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +31 -0
- package/esm2015/lib/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +10 -0
- package/esm2015/lib/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +18 -0
- package/esm2015/lib/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +76 -0
- package/esm2015/lib/infra/firebase/firestore/mixins/with-firestore.mixin.js +26 -0
- package/esm2015/lib/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +24 -0
- package/esm2015/lib/infra/firebase/firestore/mixins/with-helpers.mixin.js +17 -0
- package/esm2015/lib/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +11 -0
- package/esm2015/lib/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +45 -0
- package/esm2015/lib/infra/firebase/firestore/models/user-search.js +7 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +78 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/catalog/index.js +5 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +23 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +14 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/index.js +5 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shop-settings/index.js +3 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +39 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/index.js +9 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +9 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/index.js +10 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +14 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +14 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +14 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +14 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/user-firestore.repository.js +70 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +14 -0
- package/esm2015/lib/infra/firebase/firestore/repositories/users/user-search-firestore.repository.js +12 -0
- package/esm2015/lib/infra/firebase/firestore/types/firestore-sub.repository.type.js +2 -0
- package/esm2015/lib/infra/firebase/firestore/types/firestore.helpers.type.js +2 -0
- package/esm2015/lib/infra/firebase/firestore/types/firestore.repository.type.js +2 -0
- package/esm2015/lib/infra/firebase/firestore/types/index.js +4 -0
- package/esm2015/lib/infra/firebase/index.js +3 -0
- package/esm2015/lib/infra/index.js +2 -0
- package/esm2015/lib/utils/index.js +5 -0
- package/esm2015/lib/utils/mixins/base.mixin.js +6 -0
- package/esm2015/lib/utils/mixins/index.js +3 -0
- package/esm2015/lib/utils/mixins/mixin-ctor.type.js +2 -0
- package/esm2015/lib/utils/types/index.js +2 -0
- package/esm2015/lib/utils/types/prop.type.js +2 -0
- package/esm2015/public-api.js +3 -0
- package/fesm2015/infrab4a-connect.js +1541 -1687
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/infrab4a-connect.d.ts +5 -5
- package/lib/domain/catalog/index.d.ts +2 -0
- package/lib/domain/catalog/models/category.d.ts +22 -0
- package/lib/domain/catalog/models/enums/index.d.ts +1 -0
- package/lib/domain/catalog/models/enums/shops.enum.d.ts +4 -0
- package/lib/domain/catalog/models/index.d.ts +5 -0
- package/lib/domain/catalog/models/product.d.ts +33 -0
- package/lib/domain/catalog/models/types/category-condition.type.d.ts +4 -0
- package/lib/domain/catalog/models/types/category-filter.type.d.ts +4 -0
- package/lib/domain/catalog/models/types/index.d.ts +7 -0
- package/lib/domain/catalog/models/types/product-review.type.d.ts +14 -0
- package/lib/domain/catalog/models/types/shops-description.type.d.ts +7 -0
- package/lib/domain/catalog/models/types/shops-price.type.d.ts +10 -0
- package/lib/domain/catalog/models/types/stock.type.d.ts +3 -0
- package/lib/domain/catalog/models/types/variant-grade.type.d.ts +4 -0
- package/lib/domain/catalog/models/variant.d.ts +14 -0
- package/lib/domain/catalog/repositories/category.repository.d.ts +12 -0
- package/lib/domain/catalog/repositories/index.d.ts +4 -0
- package/lib/domain/catalog/repositories/product.repository.d.ts +5 -0
- package/lib/domain/catalog/repositories/subscription-product.repository.d.ts +4 -0
- package/lib/domain/catalog/repositories/variant.repository.d.ts +4 -0
- package/lib/domain/general/index.d.ts +2 -0
- package/lib/domain/general/model/base-model-with-identifier-fields.d.ts +3 -0
- package/lib/domain/general/model/base.model.d.ts +6 -0
- package/lib/domain/general/model/identifier-fields.d.ts +4 -0
- package/lib/domain/general/model/index.d.ts +4 -0
- package/lib/domain/general/model/types/base-model-builder.type.d.ts +5 -0
- package/lib/domain/general/model/types/index.d.ts +3 -0
- package/lib/domain/general/model/types/non-function-properties.type.d.ts +2 -0
- package/lib/domain/general/model/types/non-function-property-name.type.d.ts +3 -0
- package/lib/domain/general/repository/create.repository.d.ts +5 -0
- package/lib/domain/general/repository/crud.repository.d.ts +7 -0
- package/lib/domain/general/repository/delete.repository.d.ts +5 -0
- package/lib/domain/general/repository/enums/index.d.ts +2 -0
- package/lib/domain/general/repository/enums/update-option-actions.enum.d.ts +7 -0
- package/lib/domain/general/repository/enums/where.enum.d.ts +10 -0
- package/lib/domain/general/repository/find.repository.d.ts +5 -0
- package/lib/domain/general/repository/get.repository.d.ts +5 -0
- package/lib/domain/general/repository/index.d.ts +9 -0
- package/lib/domain/general/repository/read.repository.d.ts +5 -0
- package/lib/domain/general/repository/types/index.d.ts +5 -0
- package/lib/domain/general/repository/types/repository-find-filters.type.d.ts +14 -0
- package/lib/domain/general/repository/types/repository-find-result.type.d.ts +4 -0
- package/lib/domain/general/repository/types/repository-limit-options.type.d.ts +4 -0
- package/lib/domain/general/repository/types/repository-order-by-list.type.d.ts +5 -0
- package/lib/domain/general/repository/types/repository-update-params.type.d.ts +11 -0
- package/lib/domain/general/repository/update.repository.d.ts +5 -0
- package/lib/domain/index.d.ts +6 -0
- package/lib/domain/location/index.d.ts +1 -0
- package/lib/domain/location/models/address.d.ts +21 -0
- package/lib/domain/location/models/index.d.ts +2 -0
- package/lib/domain/location/models/types/index.d.ts +3 -0
- package/lib/domain/location/models/types/location-bound.type.d.ts +6 -0
- package/lib/domain/location/models/types/location-geometry.type.d.ts +7 -0
- package/lib/domain/location/models/types/location-lat-lng.type.d.ts +4 -0
- package/lib/domain/shop-settings/enums/filter-type.enum.d.ts +19 -0
- package/lib/domain/shop-settings/enums/index.d.ts +2 -0
- package/lib/domain/shop-settings/enums/questions-filters.enum.d.ts +19 -0
- package/lib/domain/shop-settings/helpers/beauty-questions.helper.d.ts +9 -0
- package/lib/domain/shop-settings/helpers/index.d.ts +1 -0
- package/lib/domain/shop-settings/index.d.ts +4 -0
- package/lib/domain/shop-settings/models/home.d.ts +17 -0
- package/lib/domain/shop-settings/models/index.d.ts +3 -0
- package/lib/domain/shop-settings/models/shop-menu.d.ts +7 -0
- package/lib/domain/shop-settings/models/types/banner.type.d.ts +6 -0
- package/lib/domain/shop-settings/models/types/benefit.type.d.ts +5 -0
- package/lib/domain/shop-settings/models/types/index.d.ts +4 -0
- package/lib/domain/shop-settings/models/types/menu-nav.type.d.ts +8 -0
- package/lib/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -0
- package/lib/domain/shop-settings/repositories/home.repository.d.ts +4 -0
- package/lib/domain/shop-settings/repositories/index.d.ts +2 -0
- package/lib/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -0
- package/lib/domain/shopping/index.d.ts +2 -0
- package/lib/domain/shopping/models/buy-2-win.d.ts +18 -0
- package/lib/domain/shopping/models/checkout.d.ts +28 -0
- package/lib/domain/shopping/models/coupons/club-coupon.d.ts +9 -0
- package/lib/domain/shopping/models/coupons/coupon.d.ts +27 -0
- package/lib/domain/shopping/models/coupons/enums/discount-type.enum.d.ts +5 -0
- package/lib/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +5 -0
- package/lib/domain/shopping/models/coupons/enums/index.d.ts +2 -0
- package/lib/domain/shopping/models/coupons/index.d.ts +4 -0
- package/lib/domain/shopping/models/coupons/store-coupon.d.ts +8 -0
- package/lib/domain/shopping/models/enums/checkout-types.enum.d.ts +4 -0
- package/lib/domain/shopping/models/enums/index.d.ts +2 -0
- package/lib/domain/shopping/models/enums/order-status.enum.d.ts +10 -0
- package/lib/domain/shopping/models/index.d.ts +11 -0
- package/lib/domain/shopping/models/line-item.d.ts +8 -0
- package/lib/domain/shopping/models/order.d.ts +9 -0
- package/lib/domain/shopping/models/payment.d.ts +69 -0
- package/lib/domain/shopping/models/shipping-method.d.ts +18 -0
- package/lib/domain/shopping/models/subscription/checkout.d.ts +23 -0
- package/lib/domain/shopping/models/subscription/index.d.ts +2 -0
- package/lib/domain/shopping/models/subscription/plan.d.ts +12 -0
- package/lib/domain/shopping/models/types/index.d.ts +7 -0
- package/lib/domain/shopping/models/types/payment-address.type.d.ts +12 -0
- package/lib/domain/shopping/models/types/payment-billing.type.d.ts +7 -0
- package/lib/domain/shopping/models/types/payment-card.type.d.ts +14 -0
- package/lib/domain/shopping/models/types/payment-customer.type.d.ts +18 -0
- package/lib/domain/shopping/models/types/payment-document.type.d.ts +6 -0
- package/lib/domain/shopping/models/types/payment-item.type.d.ts +11 -0
- package/lib/domain/shopping/models/types/payment-shipping.type.d.ts +10 -0
- package/lib/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -0
- package/lib/domain/shopping/repositories/checkout.repository.d.ts +4 -0
- package/lib/domain/shopping/repositories/coupon.repository.d.ts +4 -0
- package/lib/domain/shopping/repositories/index.d.ts +7 -0
- package/lib/domain/shopping/repositories/legacy-order.repository.d.ts +3 -0
- package/lib/domain/shopping/repositories/order.repository.d.ts +4 -0
- package/lib/domain/shopping/repositories/payment.repository.d.ts +4 -0
- package/lib/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -0
- package/lib/domain/shopping/repositories/subscription/index.d.ts +2 -0
- package/lib/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -0
- package/lib/domain/users/errors/index.d.ts +3 -0
- package/lib/domain/users/errors/unauthorized.error.d.ts +4 -0
- package/lib/domain/users/errors/user-already-registered.error.d.ts +4 -0
- package/lib/domain/users/errors/weak-password.error.d.ts +4 -0
- package/lib/domain/users/index.d.ts +5 -0
- package/lib/domain/users/models/beauty-profile.d.ts +12 -0
- package/lib/domain/users/models/enums/accessory-importances.enum.d.ts +5 -0
- package/lib/domain/users/models/enums/area.enum.d.ts +11 -0
- package/lib/domain/users/models/enums/beard-problems.enum.d.ts +9 -0
- package/lib/domain/users/models/enums/beard-sizes.enum.d.ts +7 -0
- package/lib/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -0
- package/lib/domain/users/models/enums/body-problems.enum.d.ts +11 -0
- package/lib/domain/users/models/enums/body-shapes.enum.d.ts +7 -0
- package/lib/domain/users/models/enums/body-tattoos.enum.d.ts +5 -0
- package/lib/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -0
- package/lib/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -0
- package/lib/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -0
- package/lib/domain/users/models/enums/family-incomes.enum.d.ts +8 -0
- package/lib/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -0
- package/lib/domain/users/models/enums/hair-colors.enum.d.ts +10 -0
- package/lib/domain/users/models/enums/hair-problems.enum.d.ts +10 -0
- package/lib/domain/users/models/enums/hair-strands.enum.d.ts +8 -0
- package/lib/domain/users/models/enums/hair-types.enum.d.ts +7 -0
- package/lib/domain/users/models/enums/index.d.ts +20 -0
- package/lib/domain/users/models/enums/office-position.enum.d.ts +6 -0
- package/lib/domain/users/models/enums/product-spents.enum.d.ts +8 -0
- package/lib/domain/users/models/enums/user-type.enum.d.ts +8 -0
- package/lib/domain/users/models/index.d.ts +7 -0
- package/lib/domain/users/models/lead.d.ts +9 -0
- package/lib/domain/users/models/subscription/edition.d.ts +15 -0
- package/lib/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -0
- package/lib/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -0
- package/lib/domain/users/models/subscription/enums/index.d.ts +4 -0
- package/lib/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -0
- package/lib/domain/users/models/subscription/enums/status.enum.d.ts +4 -0
- package/lib/domain/users/models/subscription/index.d.ts +4 -0
- package/lib/domain/users/models/subscription/payment.d.ts +14 -0
- package/lib/domain/users/models/subscription/subscription.d.ts +30 -0
- package/lib/domain/users/models/user-address.d.ts +7 -0
- package/lib/domain/users/models/user-payment-method.d.ts +13 -0
- package/lib/domain/users/models/user.d.ts +24 -0
- package/lib/domain/users/repositories/beauty-profile.repository.d.ts +4 -0
- package/lib/domain/users/repositories/edition.repository.d.ts +4 -0
- package/lib/domain/users/repositories/index.d.ts +8 -0
- package/lib/domain/users/repositories/lead.repository.d.ts +4 -0
- package/lib/domain/users/repositories/subscription-payment.repository.d.ts +4 -0
- package/lib/domain/users/repositories/subscription.repository.d.ts +4 -0
- package/lib/domain/users/repositories/user-address.repository.d.ts +4 -0
- package/lib/domain/users/repositories/user-payment-method.repository.d.ts +4 -0
- package/lib/domain/users/repositories/user.repository.d.ts +6 -0
- package/lib/domain/users/services/authentication.service.d.ts +11 -0
- package/lib/domain/users/services/index.d.ts +3 -0
- package/lib/domain/users/services/register.service.d.ts +7 -0
- package/lib/domain/users/services/types/basic-user-data.type.d.ts +4 -0
- package/lib/domain/users/services/types/index.d.ts +1 -0
- package/lib/domain/users/use-cases/authentication.d.ts +21 -0
- package/lib/domain/users/use-cases/index.d.ts +3 -0
- package/lib/domain/users/use-cases/register.d.ts +13 -0
- package/lib/domain/users/use-cases/signout.d.ts +6 -0
- package/lib/errors/duplicated-results.error.d.ts +4 -0
- package/lib/errors/index.d.ts +4 -0
- package/lib/errors/invalid-argument.error.d.ts +4 -0
- package/lib/errors/not-found.error.d.ts +4 -0
- package/lib/errors/required-argument.error.d.ts +5 -0
- package/lib/index.d.ts +4 -0
- package/lib/infra/firebase/auth/authentication-firebase-auth.service.d.ts +11 -0
- package/lib/infra/firebase/auth/index.d.ts +2 -0
- package/lib/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -0
- package/lib/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +3 -0
- package/lib/infra/firebase/firestore/index.d.ts +3 -0
- package/lib/infra/firebase/firestore/mixins/index.d.ts +9 -0
- package/lib/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +17 -0
- package/lib/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +29 -0
- package/lib/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +15 -0
- package/lib/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +20 -0
- package/lib/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +15 -0
- package/lib/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +15 -0
- package/lib/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +10 -0
- package/lib/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +14 -0
- package/lib/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +16 -0
- package/lib/infra/firebase/firestore/models/user-search.d.ts +9 -0
- package/lib/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +55 -0
- package/lib/infra/firebase/firestore/repositories/catalog/index.d.ts +4 -0
- package/lib/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +50 -0
- package/lib/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +60 -0
- package/lib/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +49 -0
- package/lib/infra/firebase/firestore/repositories/index.d.ts +4 -0
- package/lib/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +49 -0
- package/lib/infra/firebase/firestore/repositories/shop-settings/index.d.ts +2 -0
- package/lib/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +49 -0
- package/lib/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +49 -0
- package/lib/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +49 -0
- package/lib/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +49 -0
- package/lib/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +53 -0
- package/lib/infra/firebase/firestore/repositories/shopping/index.d.ts +8 -0
- package/lib/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +7 -0
- package/lib/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +49 -0
- package/lib/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +49 -0
- package/lib/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +49 -0
- package/lib/infra/firebase/firestore/repositories/users/index.d.ts +9 -0
- package/lib/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +49 -0
- package/lib/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +60 -0
- package/lib/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +49 -0
- package/lib/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +60 -0
- package/lib/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +60 -0
- package/lib/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +60 -0
- package/lib/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +60 -0
- package/lib/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +60 -0
- package/lib/infra/firebase/firestore/repositories/users/user-search-firestore.repository.d.ts +50 -0
- package/lib/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -0
- package/lib/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -0
- package/lib/infra/firebase/firestore/types/firestore.repository.type.d.ts +8 -0
- package/lib/infra/firebase/firestore/types/index.d.ts +3 -0
- package/lib/infra/firebase/index.d.ts +2 -0
- package/lib/infra/index.d.ts +1 -0
- package/lib/utils/index.d.ts +4 -0
- package/lib/utils/mixins/base.mixin.d.ts +3 -0
- package/lib/utils/mixins/index.d.ts +2 -0
- package/lib/utils/mixins/mixin-ctor.type.d.ts +1 -0
- package/lib/utils/types/index.d.ts +1 -0
- package/lib/utils/types/prop.type.d.ts +1 -0
- package/package.json +1 -3
- package/public-api.d.ts +2 -0
- package/domain/catalog/index.d.ts +0 -2
- package/domain/catalog/models/category.d.ts +0 -22
- package/domain/catalog/models/enums/index.d.ts +0 -1
- package/domain/catalog/models/enums/shops.enum.d.ts +0 -5
- package/domain/catalog/models/index.d.ts +0 -5
- package/domain/catalog/models/product.d.ts +0 -35
- package/domain/catalog/models/types/category-condition.type.d.ts +0 -4
- package/domain/catalog/models/types/category-filter.type.d.ts +0 -4
- package/domain/catalog/models/types/index.d.ts +0 -7
- package/domain/catalog/models/types/product-review.type.d.ts +0 -15
- package/domain/catalog/models/types/shops-description.type.d.ts +0 -7
- package/domain/catalog/models/types/shops-price.type.d.ts +0 -10
- package/domain/catalog/models/types/stock.type.d.ts +0 -3
- package/domain/catalog/models/types/variant-grade.type.d.ts +0 -4
- package/domain/catalog/models/variant.d.ts +0 -14
- package/domain/catalog/repositories/category.repository.d.ts +0 -15
- package/domain/catalog/repositories/index.d.ts +0 -4
- package/domain/catalog/repositories/product.repository.d.ts +0 -5
- package/domain/catalog/repositories/subscription-product.repository.d.ts +0 -4
- package/domain/catalog/repositories/variant.repository.d.ts +0 -4
- package/domain/general/index.d.ts +0 -2
- package/domain/general/model/base-model-with-identifier-fields.d.ts +0 -3
- package/domain/general/model/base.model.d.ts +0 -6
- package/domain/general/model/identifier-fields.d.ts +0 -4
- package/domain/general/model/index.d.ts +0 -4
- package/domain/general/model/types/base-model-builder.type.d.ts +0 -5
- package/domain/general/model/types/index.d.ts +0 -3
- package/domain/general/model/types/non-function-properties.type.d.ts +0 -2
- package/domain/general/model/types/non-function-property-name.type.d.ts +0 -3
- package/domain/general/repository/create.repository.d.ts +0 -5
- package/domain/general/repository/crud.repository.d.ts +0 -7
- package/domain/general/repository/delete.repository.d.ts +0 -5
- package/domain/general/repository/enums/index.d.ts +0 -2
- package/domain/general/repository/enums/update-option-actions.enum.d.ts +0 -7
- package/domain/general/repository/enums/where.enum.d.ts +0 -10
- package/domain/general/repository/find.repository.d.ts +0 -5
- package/domain/general/repository/get.repository.d.ts +0 -5
- package/domain/general/repository/index.d.ts +0 -9
- package/domain/general/repository/read.repository.d.ts +0 -5
- package/domain/general/repository/types/index.d.ts +0 -5
- package/domain/general/repository/types/repository-find-filters.type.d.ts +0 -14
- package/domain/general/repository/types/repository-find-result.type.d.ts +0 -4
- package/domain/general/repository/types/repository-limit-options.type.d.ts +0 -4
- package/domain/general/repository/types/repository-order-by-list.type.d.ts +0 -5
- package/domain/general/repository/types/repository-update-params.type.d.ts +0 -11
- package/domain/general/repository/update.repository.d.ts +0 -5
- package/domain/index.d.ts +0 -6
- package/domain/location/index.d.ts +0 -1
- package/domain/location/models/address.d.ts +0 -21
- package/domain/location/models/index.d.ts +0 -2
- package/domain/location/models/types/index.d.ts +0 -3
- package/domain/location/models/types/location-bound.type.d.ts +0 -6
- package/domain/location/models/types/location-geometry.type.d.ts +0 -7
- package/domain/location/models/types/location-lat-lng.type.d.ts +0 -4
- package/domain/shop-settings/enums/filter-type.enum.d.ts +0 -19
- package/domain/shop-settings/enums/index.d.ts +0 -2
- package/domain/shop-settings/enums/questions-filters.enum.d.ts +0 -19
- package/domain/shop-settings/helpers/beauty-questions.helper.d.ts +0 -9
- package/domain/shop-settings/helpers/index.d.ts +0 -1
- package/domain/shop-settings/index.d.ts +0 -4
- package/domain/shop-settings/models/home.d.ts +0 -17
- package/domain/shop-settings/models/index.d.ts +0 -4
- package/domain/shop-settings/models/shop-menu.d.ts +0 -7
- package/domain/shop-settings/models/shop-settings.d.ts +0 -9
- package/domain/shop-settings/models/types/banner.type.d.ts +0 -6
- package/domain/shop-settings/models/types/benefit.type.d.ts +0 -5
- package/domain/shop-settings/models/types/home-data.type.d.ts +0 -15
- package/domain/shop-settings/models/types/index.d.ts +0 -10
- package/domain/shop-settings/models/types/menu-nav.type.d.ts +0 -8
- package/domain/shop-settings/models/types/shop-banner.type.d.ts +0 -10
- package/domain/shop-settings/models/types/shop-brands.type.d.ts +0 -10
- package/domain/shop-settings/models/types/shop-carousel.type.d.ts +0 -5
- package/domain/shop-settings/models/types/shop-collection.type.d.ts +0 -8
- package/domain/shop-settings/models/types/shop-section.type.d.ts +0 -9
- package/domain/shop-settings/models/types/sub-menu.type.d.ts +0 -8
- package/domain/shop-settings/repositories/home.repository.d.ts +0 -4
- package/domain/shop-settings/repositories/index.d.ts +0 -3
- package/domain/shop-settings/repositories/shop-menu.repository.d.ts +0 -4
- package/domain/shop-settings/repositories/shop-settings.repository.d.ts +0 -4
- package/domain/shopping/index.d.ts +0 -2
- package/domain/shopping/models/buy-2-win.d.ts +0 -18
- package/domain/shopping/models/checkout.d.ts +0 -29
- package/domain/shopping/models/coupons/coupon.d.ts +0 -28
- package/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +0 -4
- package/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +0 -6
- package/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +0 -5
- package/domain/shopping/models/coupons/enums/index.d.ts +0 -3
- package/domain/shopping/models/coupons/financial-coupon.d.ts +0 -9
- package/domain/shopping/models/coupons/index.d.ts +0 -3
- package/domain/shopping/models/enums/checkout-types.enum.d.ts +0 -4
- package/domain/shopping/models/enums/index.d.ts +0 -2
- package/domain/shopping/models/enums/order-status.enum.d.ts +0 -10
- package/domain/shopping/models/index.d.ts +0 -11
- package/domain/shopping/models/line-item.d.ts +0 -8
- package/domain/shopping/models/order.d.ts +0 -9
- package/domain/shopping/models/payment.d.ts +0 -69
- package/domain/shopping/models/shipping-method.d.ts +0 -18
- package/domain/shopping/models/subscription/checkout.d.ts +0 -23
- package/domain/shopping/models/subscription/index.d.ts +0 -2
- package/domain/shopping/models/subscription/plan.d.ts +0 -12
- package/domain/shopping/models/types/index.d.ts +0 -7
- package/domain/shopping/models/types/payment-address.type.d.ts +0 -12
- package/domain/shopping/models/types/payment-billing.type.d.ts +0 -7
- package/domain/shopping/models/types/payment-card.type.d.ts +0 -14
- package/domain/shopping/models/types/payment-customer.type.d.ts +0 -18
- package/domain/shopping/models/types/payment-document.type.d.ts +0 -6
- package/domain/shopping/models/types/payment-item.type.d.ts +0 -11
- package/domain/shopping/models/types/payment-shipping.type.d.ts +0 -10
- package/domain/shopping/repositories/buy-2-win.repository.d.ts +0 -4
- package/domain/shopping/repositories/checkout.repository.d.ts +0 -4
- package/domain/shopping/repositories/coupon.repository.d.ts +0 -4
- package/domain/shopping/repositories/index.d.ts +0 -7
- package/domain/shopping/repositories/legacy-order.repository.d.ts +0 -3
- package/domain/shopping/repositories/order.repository.d.ts +0 -4
- package/domain/shopping/repositories/payment.repository.d.ts +0 -4
- package/domain/shopping/repositories/subscription/checkout.repository.d.ts +0 -4
- package/domain/shopping/repositories/subscription/index.d.ts +0 -2
- package/domain/shopping/repositories/subscription/plan.repository.d.ts +0 -4
- package/domain/users/errors/index.d.ts +0 -3
- package/domain/users/errors/unauthorized.error.d.ts +0 -4
- package/domain/users/errors/user-already-registered.error.d.ts +0 -4
- package/domain/users/errors/weak-password.error.d.ts +0 -4
- package/domain/users/index.d.ts +0 -5
- package/domain/users/models/beauty-profile.d.ts +0 -12
- package/domain/users/models/enums/accessory-importances.enum.d.ts +0 -5
- package/domain/users/models/enums/area.enum.d.ts +0 -11
- package/domain/users/models/enums/beard-problems.enum.d.ts +0 -9
- package/domain/users/models/enums/beard-sizes.enum.d.ts +0 -7
- package/domain/users/models/enums/beauty-product-importances.enum.d.ts +0 -6
- package/domain/users/models/enums/body-problems.enum.d.ts +0 -11
- package/domain/users/models/enums/body-shapes.enum.d.ts +0 -7
- package/domain/users/models/enums/body-tattoos.enum.d.ts +0 -5
- package/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +0 -7
- package/domain/users/models/enums/face-skin-problems.enum.d.ts +0 -10
- package/domain/users/models/enums/face-skin-tones.enum.d.ts +0 -8
- package/domain/users/models/enums/family-incomes.enum.d.ts +0 -8
- package/domain/users/models/enums/fragrance-importances.enum.d.ts +0 -5
- package/domain/users/models/enums/hair-colors.enum.d.ts +0 -10
- package/domain/users/models/enums/hair-problems.enum.d.ts +0 -10
- package/domain/users/models/enums/hair-strands.enum.d.ts +0 -8
- package/domain/users/models/enums/hair-types.enum.d.ts +0 -7
- package/domain/users/models/enums/index.d.ts +0 -20
- package/domain/users/models/enums/office-position.enum.d.ts +0 -6
- package/domain/users/models/enums/product-spents.enum.d.ts +0 -8
- package/domain/users/models/enums/user-type.enum.d.ts +0 -8
- package/domain/users/models/index.d.ts +0 -7
- package/domain/users/models/lead.d.ts +0 -9
- package/domain/users/models/subscription/edition.d.ts +0 -17
- package/domain/users/models/subscription/enums/billing-status.enum.d.ts +0 -3
- package/domain/users/models/subscription/enums/edition-status.enum.d.ts +0 -4
- package/domain/users/models/subscription/enums/index.d.ts +0 -4
- package/domain/users/models/subscription/enums/payment-type.enum.d.ts +0 -5
- package/domain/users/models/subscription/enums/status.enum.d.ts +0 -4
- package/domain/users/models/subscription/index.d.ts +0 -4
- package/domain/users/models/subscription/payment.d.ts +0 -14
- package/domain/users/models/subscription/subscription.d.ts +0 -30
- package/domain/users/models/user-address.d.ts +0 -7
- package/domain/users/models/user-payment-method.d.ts +0 -14
- package/domain/users/models/user.d.ts +0 -25
- package/domain/users/repositories/beauty-profile.repository.d.ts +0 -4
- package/domain/users/repositories/edition.repository.d.ts +0 -4
- package/domain/users/repositories/index.d.ts +0 -8
- package/domain/users/repositories/lead.repository.d.ts +0 -4
- package/domain/users/repositories/subscription-payment.repository.d.ts +0 -4
- package/domain/users/repositories/subscription.repository.d.ts +0 -4
- package/domain/users/repositories/user-address.repository.d.ts +0 -4
- package/domain/users/repositories/user-payment-method.repository.d.ts +0 -4
- package/domain/users/repositories/user.repository.d.ts +0 -6
- package/domain/users/services/authentication.service.d.ts +0 -12
- package/domain/users/services/index.d.ts +0 -3
- package/domain/users/services/register.service.d.ts +0 -7
- package/domain/users/services/types/basic-user-data.type.d.ts +0 -4
- package/domain/users/services/types/index.d.ts +0 -1
- package/domain/users/use-cases/authentication.d.ts +0 -21
- package/domain/users/use-cases/index.d.ts +0 -4
- package/domain/users/use-cases/recovery-password.d.ts +0 -6
- package/domain/users/use-cases/register.d.ts +0 -13
- package/domain/users/use-cases/signout.d.ts +0 -6
- package/errors/duplicated-results.error.d.ts +0 -4
- package/errors/index.d.ts +0 -4
- package/errors/invalid-argument.error.d.ts +0 -4
- package/errors/not-found.error.d.ts +0 -4
- package/errors/required-argument.error.d.ts +0 -5
- package/esm2015/domain/catalog/index.js +0 -3
- package/esm2015/domain/catalog/models/category.js +0 -7
- package/esm2015/domain/catalog/models/enums/index.js +0 -2
- package/esm2015/domain/catalog/models/enums/shops.enum.js +0 -7
- package/esm2015/domain/catalog/models/index.js +0 -6
- package/esm2015/domain/catalog/models/product.js +0 -11
- package/esm2015/domain/catalog/models/types/category-condition.type.js +0 -2
- package/esm2015/domain/catalog/models/types/category-filter.type.js +0 -2
- package/esm2015/domain/catalog/models/types/index.js +0 -8
- package/esm2015/domain/catalog/models/types/product-review.type.js +0 -2
- package/esm2015/domain/catalog/models/types/shops-description.type.js +0 -2
- package/esm2015/domain/catalog/models/types/shops-price.type.js +0 -2
- package/esm2015/domain/catalog/models/types/stock.type.js +0 -2
- package/esm2015/domain/catalog/models/types/variant-grade.type.js +0 -2
- package/esm2015/domain/catalog/models/variant.js +0 -7
- package/esm2015/domain/catalog/repositories/category.repository.js +0 -2
- package/esm2015/domain/catalog/repositories/index.js +0 -5
- package/esm2015/domain/catalog/repositories/product.repository.js +0 -2
- package/esm2015/domain/catalog/repositories/subscription-product.repository.js +0 -2
- package/esm2015/domain/catalog/repositories/variant.repository.js +0 -2
- package/esm2015/domain/general/index.js +0 -3
- package/esm2015/domain/general/model/base-model-with-identifier-fields.js +0 -2
- package/esm2015/domain/general/model/base.model.js +0 -13
- package/esm2015/domain/general/model/identifier-fields.js +0 -2
- package/esm2015/domain/general/model/index.js +0 -5
- package/esm2015/domain/general/model/types/base-model-builder.type.js +0 -2
- package/esm2015/domain/general/model/types/index.js +0 -4
- package/esm2015/domain/general/model/types/non-function-properties.type.js +0 -2
- package/esm2015/domain/general/model/types/non-function-property-name.type.js +0 -2
- package/esm2015/domain/general/repository/create.repository.js +0 -2
- package/esm2015/domain/general/repository/crud.repository.js +0 -2
- package/esm2015/domain/general/repository/delete.repository.js +0 -2
- package/esm2015/domain/general/repository/enums/index.js +0 -3
- package/esm2015/domain/general/repository/enums/update-option-actions.enum.js +0 -9
- package/esm2015/domain/general/repository/enums/where.enum.js +0 -12
- package/esm2015/domain/general/repository/find.repository.js +0 -2
- package/esm2015/domain/general/repository/get.repository.js +0 -2
- package/esm2015/domain/general/repository/index.js +0 -10
- package/esm2015/domain/general/repository/read.repository.js +0 -2
- package/esm2015/domain/general/repository/types/index.js +0 -6
- package/esm2015/domain/general/repository/types/repository-find-filters.type.js +0 -2
- package/esm2015/domain/general/repository/types/repository-find-result.type.js +0 -2
- package/esm2015/domain/general/repository/types/repository-limit-options.type.js +0 -2
- package/esm2015/domain/general/repository/types/repository-order-by-list.type.js +0 -2
- package/esm2015/domain/general/repository/types/repository-update-params.type.js +0 -2
- package/esm2015/domain/general/repository/update.repository.js +0 -2
- package/esm2015/domain/index.js +0 -7
- package/esm2015/domain/location/index.js +0 -2
- package/esm2015/domain/location/models/address.js +0 -4
- package/esm2015/domain/location/models/index.js +0 -3
- package/esm2015/domain/location/models/types/index.js +0 -4
- package/esm2015/domain/location/models/types/location-bound.type.js +0 -2
- package/esm2015/domain/location/models/types/location-geometry.type.js +0 -2
- package/esm2015/domain/location/models/types/location-lat-lng.type.js +0 -2
- package/esm2015/domain/shop-settings/enums/filter-type.enum.js +0 -21
- package/esm2015/domain/shop-settings/enums/index.js +0 -3
- package/esm2015/domain/shop-settings/enums/questions-filters.enum.js +0 -21
- package/esm2015/domain/shop-settings/helpers/beauty-questions.helper.js +0 -46
- package/esm2015/domain/shop-settings/helpers/index.js +0 -2
- package/esm2015/domain/shop-settings/index.js +0 -5
- package/esm2015/domain/shop-settings/models/home.js +0 -7
- package/esm2015/domain/shop-settings/models/index.js +0 -5
- package/esm2015/domain/shop-settings/models/shop-menu.js +0 -7
- package/esm2015/domain/shop-settings/models/shop-settings.js +0 -7
- package/esm2015/domain/shop-settings/models/types/banner.type.js +0 -2
- package/esm2015/domain/shop-settings/models/types/benefit.type.js +0 -2
- package/esm2015/domain/shop-settings/models/types/home-data.type.js +0 -2
- package/esm2015/domain/shop-settings/models/types/index.js +0 -11
- package/esm2015/domain/shop-settings/models/types/menu-nav.type.js +0 -2
- package/esm2015/domain/shop-settings/models/types/shop-banner.type.js +0 -2
- package/esm2015/domain/shop-settings/models/types/shop-brands.type.js +0 -2
- package/esm2015/domain/shop-settings/models/types/shop-carousel.type.js +0 -2
- package/esm2015/domain/shop-settings/models/types/shop-collection.type.js +0 -2
- package/esm2015/domain/shop-settings/models/types/shop-section.type.js +0 -2
- package/esm2015/domain/shop-settings/models/types/sub-menu.type.js +0 -2
- package/esm2015/domain/shop-settings/repositories/home.repository.js +0 -2
- package/esm2015/domain/shop-settings/repositories/index.js +0 -4
- package/esm2015/domain/shop-settings/repositories/shop-menu.repository.js +0 -2
- package/esm2015/domain/shop-settings/repositories/shop-settings.repository.js +0 -2
- package/esm2015/domain/shopping/index.js +0 -3
- package/esm2015/domain/shopping/models/buy-2-win.js +0 -14
- package/esm2015/domain/shopping/models/checkout.js +0 -38
- package/esm2015/domain/shopping/models/coupons/coupon.js +0 -23
- package/esm2015/domain/shopping/models/coupons/enums/coupon-subtypes.enum.js +0 -6
- package/esm2015/domain/shopping/models/coupons/enums/coupon-types.enum.js +0 -8
- package/esm2015/domain/shopping/models/coupons/enums/exclusivities.enum.js +0 -7
- package/esm2015/domain/shopping/models/coupons/enums/index.js +0 -4
- package/esm2015/domain/shopping/models/coupons/financial-coupon.js +0 -28
- package/esm2015/domain/shopping/models/coupons/index.js +0 -4
- package/esm2015/domain/shopping/models/enums/checkout-types.enum.js +0 -6
- package/esm2015/domain/shopping/models/enums/index.js +0 -3
- package/esm2015/domain/shopping/models/enums/order-status.enum.js +0 -12
- package/esm2015/domain/shopping/models/index.js +0 -12
- package/esm2015/domain/shopping/models/line-item.js +0 -4
- package/esm2015/domain/shopping/models/order.js +0 -11
- package/esm2015/domain/shopping/models/payment.js +0 -169
- package/esm2015/domain/shopping/models/shipping-method.js +0 -7
- package/esm2015/domain/shopping/models/subscription/checkout.js +0 -28
- package/esm2015/domain/shopping/models/subscription/index.js +0 -3
- package/esm2015/domain/shopping/models/subscription/plan.js +0 -7
- package/esm2015/domain/shopping/models/types/index.js +0 -8
- package/esm2015/domain/shopping/models/types/payment-address.type.js +0 -2
- package/esm2015/domain/shopping/models/types/payment-billing.type.js +0 -2
- package/esm2015/domain/shopping/models/types/payment-card.type.js +0 -2
- package/esm2015/domain/shopping/models/types/payment-customer.type.js +0 -2
- package/esm2015/domain/shopping/models/types/payment-document.type.js +0 -2
- package/esm2015/domain/shopping/models/types/payment-item.type.js +0 -2
- package/esm2015/domain/shopping/models/types/payment-shipping.type.js +0 -2
- package/esm2015/domain/shopping/repositories/buy-2-win.repository.js +0 -2
- package/esm2015/domain/shopping/repositories/checkout.repository.js +0 -2
- package/esm2015/domain/shopping/repositories/coupon.repository.js +0 -2
- package/esm2015/domain/shopping/repositories/index.js +0 -8
- package/esm2015/domain/shopping/repositories/legacy-order.repository.js +0 -2
- package/esm2015/domain/shopping/repositories/order.repository.js +0 -2
- package/esm2015/domain/shopping/repositories/payment.repository.js +0 -2
- package/esm2015/domain/shopping/repositories/subscription/checkout.repository.js +0 -2
- package/esm2015/domain/shopping/repositories/subscription/index.js +0 -3
- package/esm2015/domain/shopping/repositories/subscription/plan.repository.js +0 -2
- package/esm2015/domain/users/errors/index.js +0 -4
- package/esm2015/domain/users/errors/unauthorized.error.js +0 -7
- package/esm2015/domain/users/errors/user-already-registered.error.js +0 -7
- package/esm2015/domain/users/errors/weak-password.error.js +0 -7
- package/esm2015/domain/users/index.js +0 -6
- package/esm2015/domain/users/models/beauty-profile.js +0 -12
- package/esm2015/domain/users/models/enums/accessory-importances.enum.js +0 -7
- package/esm2015/domain/users/models/enums/area.enum.js +0 -13
- package/esm2015/domain/users/models/enums/beard-problems.enum.js +0 -11
- package/esm2015/domain/users/models/enums/beard-sizes.enum.js +0 -9
- package/esm2015/domain/users/models/enums/beauty-product-importances.enum.js +0 -8
- package/esm2015/domain/users/models/enums/body-problems.enum.js +0 -13
- package/esm2015/domain/users/models/enums/body-shapes.enum.js +0 -9
- package/esm2015/domain/users/models/enums/body-tattoos.enum.js +0 -7
- package/esm2015/domain/users/models/enums/face-skin-oilinesses.enum.js +0 -9
- package/esm2015/domain/users/models/enums/face-skin-problems.enum.js +0 -12
- package/esm2015/domain/users/models/enums/face-skin-tones.enum.js +0 -10
- package/esm2015/domain/users/models/enums/family-incomes.enum.js +0 -10
- package/esm2015/domain/users/models/enums/fragrance-importances.enum.js +0 -7
- package/esm2015/domain/users/models/enums/hair-colors.enum.js +0 -12
- package/esm2015/domain/users/models/enums/hair-problems.enum.js +0 -12
- package/esm2015/domain/users/models/enums/hair-strands.enum.js +0 -10
- package/esm2015/domain/users/models/enums/hair-types.enum.js +0 -9
- package/esm2015/domain/users/models/enums/index.js +0 -21
- package/esm2015/domain/users/models/enums/office-position.enum.js +0 -8
- package/esm2015/domain/users/models/enums/product-spents.enum.js +0 -10
- package/esm2015/domain/users/models/enums/user-type.enum.js +0 -10
- package/esm2015/domain/users/models/index.js +0 -8
- package/esm2015/domain/users/models/lead.js +0 -7
- package/esm2015/domain/users/models/subscription/edition.js +0 -7
- package/esm2015/domain/users/models/subscription/enums/billing-status.enum.js +0 -5
- package/esm2015/domain/users/models/subscription/enums/edition-status.enum.js +0 -6
- package/esm2015/domain/users/models/subscription/enums/index.js +0 -5
- package/esm2015/domain/users/models/subscription/enums/payment-type.enum.js +0 -7
- package/esm2015/domain/users/models/subscription/enums/status.enum.js +0 -6
- package/esm2015/domain/users/models/subscription/index.js +0 -5
- package/esm2015/domain/users/models/subscription/payment.js +0 -14
- package/esm2015/domain/users/models/subscription/subscription.js +0 -43
- package/esm2015/domain/users/models/user-address.js +0 -7
- package/esm2015/domain/users/models/user-payment-method.js +0 -7
- package/esm2015/domain/users/models/user.js +0 -26
- package/esm2015/domain/users/repositories/beauty-profile.repository.js +0 -2
- package/esm2015/domain/users/repositories/edition.repository.js +0 -2
- package/esm2015/domain/users/repositories/index.js +0 -9
- package/esm2015/domain/users/repositories/lead.repository.js +0 -2
- package/esm2015/domain/users/repositories/subscription-payment.repository.js +0 -2
- package/esm2015/domain/users/repositories/subscription.repository.js +0 -2
- package/esm2015/domain/users/repositories/user-address.repository.js +0 -2
- package/esm2015/domain/users/repositories/user-payment-method.repository.js +0 -2
- package/esm2015/domain/users/repositories/user.repository.js +0 -2
- package/esm2015/domain/users/services/authentication.service.js +0 -2
- package/esm2015/domain/users/services/index.js +0 -4
- package/esm2015/domain/users/services/register.service.js +0 -2
- package/esm2015/domain/users/services/types/basic-user-data.type.js +0 -2
- package/esm2015/domain/users/services/types/index.js +0 -2
- package/esm2015/domain/users/use-cases/authentication.js +0 -40
- package/esm2015/domain/users/use-cases/index.js +0 -5
- package/esm2015/domain/users/use-cases/recovery-password.js +0 -12
- package/esm2015/domain/users/use-cases/register.js +0 -34
- package/esm2015/domain/users/use-cases/signout.js +0 -12
- package/esm2015/errors/duplicated-results.error.js +0 -7
- package/esm2015/errors/index.js +0 -5
- package/esm2015/errors/invalid-argument.error.js +0 -7
- package/esm2015/errors/not-found.error.js +0 -7
- package/esm2015/errors/required-argument.error.js +0 -8
- package/esm2015/index.js +0 -6
- package/esm2015/infra/elasticsearch/adapters/axios.adapter.js +0 -22
- package/esm2015/infra/elasticsearch/adapters/elastic-search.adapter.js +0 -2
- package/esm2015/infra/elasticsearch/adapters/index.js +0 -3
- package/esm2015/infra/elasticsearch/index.js +0 -4
- package/esm2015/infra/elasticsearch/indexes/index.js +0 -2
- package/esm2015/infra/elasticsearch/indexes/products-index.js +0 -59
- package/esm2015/infra/elasticsearch/types/elastic-search-result.js +0 -2
- package/esm2015/infra/elasticsearch/types/index.js +0 -2
- package/esm2015/infra/firebase/auth/authentication-firebase-auth.service.js +0 -52
- package/esm2015/infra/firebase/auth/index.js +0 -3
- package/esm2015/infra/firebase/auth/register-firebase-auth.service.js +0 -26
- package/esm2015/infra/firebase/auth/types/firebase-user-with-id.type.js +0 -2
- package/esm2015/infra/firebase/firestore/index.js +0 -4
- package/esm2015/infra/firebase/firestore/mixins/index.js +0 -10
- package/esm2015/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +0 -31
- package/esm2015/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +0 -10
- package/esm2015/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +0 -18
- package/esm2015/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +0 -87
- package/esm2015/infra/firebase/firestore/mixins/with-firestore.mixin.js +0 -26
- package/esm2015/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +0 -24
- package/esm2015/infra/firebase/firestore/mixins/with-helpers.mixin.js +0 -17
- package/esm2015/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +0 -11
- package/esm2015/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +0 -45
- package/esm2015/infra/firebase/firestore/models/user-search.js +0 -7
- package/esm2015/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +0 -72
- package/esm2015/infra/firebase/firestore/repositories/catalog/index.js +0 -5
- package/esm2015/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +0 -23
- package/esm2015/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +0 -14
- package/esm2015/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +0 -12
- package/esm2015/infra/firebase/firestore/repositories/index.js +0 -5
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +0 -56
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/index.js +0 -4
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +0 -12
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.js +0 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +0 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +0 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +0 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +0 -29
- package/esm2015/infra/firebase/firestore/repositories/shopping/index.js +0 -9
- package/esm2015/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +0 -9
- package/esm2015/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +0 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +0 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +0 -12
- package/esm2015/infra/firebase/firestore/repositories/users/index.js +0 -10
- package/esm2015/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +0 -12
- package/esm2015/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +0 -14
- package/esm2015/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +0 -12
- package/esm2015/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +0 -14
- package/esm2015/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +0 -14
- package/esm2015/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +0 -14
- package/esm2015/infra/firebase/firestore/repositories/users/user-firestore.repository.js +0 -70
- package/esm2015/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +0 -14
- package/esm2015/infra/firebase/firestore/repositories/users/user-search-firestore.repository.js +0 -12
- package/esm2015/infra/firebase/firestore/types/firestore-sub.repository.type.js +0 -2
- package/esm2015/infra/firebase/firestore/types/firestore.helpers.type.js +0 -2
- package/esm2015/infra/firebase/firestore/types/firestore.repository.type.js +0 -2
- package/esm2015/infra/firebase/firestore/types/index.js +0 -4
- package/esm2015/infra/firebase/index.js +0 -3
- package/esm2015/infra/index.js +0 -3
- package/esm2015/utils/index.js +0 -6
- package/esm2015/utils/mixins/base.mixin.js +0 -6
- package/esm2015/utils/mixins/index.js +0 -3
- package/esm2015/utils/mixins/mixin-ctor.type.js +0 -2
- package/esm2015/utils/types/index.js +0 -2
- package/esm2015/utils/types/prop.type.js +0 -2
- package/index.d.ts +0 -5
- package/infra/elasticsearch/adapters/axios.adapter.d.ts +0 -11
- package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +0 -4
- package/infra/elasticsearch/adapters/index.d.ts +0 -2
- package/infra/elasticsearch/index.d.ts +0 -3
- package/infra/elasticsearch/indexes/index.d.ts +0 -1
- package/infra/elasticsearch/indexes/products-index.d.ts +0 -11
- package/infra/elasticsearch/types/elastic-search-result.d.ts +0 -7
- package/infra/elasticsearch/types/index.d.ts +0 -1
- package/infra/firebase/auth/authentication-firebase-auth.service.d.ts +0 -12
- package/infra/firebase/auth/index.d.ts +0 -2
- package/infra/firebase/auth/register-firebase-auth.service.d.ts +0 -8
- package/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +0 -3
- package/infra/firebase/firestore/index.d.ts +0 -3
- package/infra/firebase/firestore/mixins/index.d.ts +0 -9
- package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +0 -17
- package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +0 -29
- package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +0 -15
- package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +0 -20
- package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +0 -15
- package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +0 -15
- package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +0 -10
- package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +0 -14
- package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +0 -16
- package/infra/firebase/firestore/models/user-search.d.ts +0 -9
- package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +0 -58
- package/infra/firebase/firestore/repositories/catalog/index.d.ts +0 -4
- package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +0 -50
- package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +0 -60
- package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +0 -49
- package/infra/firebase/firestore/repositories/index.d.ts +0 -4
- package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +0 -57
- package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +0 -3
- package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +0 -49
- package/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +0 -49
- package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +0 -49
- package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +0 -49
- package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +0 -49
- package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +0 -53
- package/infra/firebase/firestore/repositories/shopping/index.d.ts +0 -8
- package/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +0 -7
- package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +0 -49
- package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +0 -49
- package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +0 -49
- package/infra/firebase/firestore/repositories/users/index.d.ts +0 -9
- package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +0 -49
- package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +0 -60
- package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +0 -49
- package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +0 -60
- package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +0 -60
- package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +0 -60
- package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +0 -60
- package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +0 -60
- package/infra/firebase/firestore/repositories/users/user-search-firestore.repository.d.ts +0 -50
- package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +0 -6
- package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +0 -8
- package/infra/firebase/firestore/types/firestore.repository.type.d.ts +0 -8
- package/infra/firebase/firestore/types/index.d.ts +0 -3
- package/infra/firebase/index.d.ts +0 -2
- package/infra/index.d.ts +0 -2
- package/utils/index.d.ts +0 -6
- package/utils/mixins/base.mixin.d.ts +0 -3
- package/utils/mixins/index.d.ts +0 -2
- package/utils/mixins/mixin-ctor.type.d.ts +0 -1
- package/utils/types/index.d.ts +0 -1
- package/utils/types/prop.type.d.ts +0 -1
package/esm2015/lib/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Base } from '../../../../../utils';
|
|
2
|
+
import { User, UserAddress } from '../../../../../domain';
|
|
3
|
+
import { withCrudFirestore, withFirestore, withHelpers, withSubCollection } from '../../mixins';
|
|
4
|
+
export class UserAddressFirestoreRepository extends withSubCollection(withCrudFirestore(withHelpers(withFirestore(Base))), User) {
|
|
5
|
+
constructor(firestore, parentRepository) {
|
|
6
|
+
super();
|
|
7
|
+
this.firestore = firestore;
|
|
8
|
+
this.parentRepository = parentRepository;
|
|
9
|
+
this.collectionName = 'address';
|
|
10
|
+
this.parentIdField = 'userId';
|
|
11
|
+
this.model = UserAddress;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1hZGRyZXNzLWZpcmVzdG9yZS5yZXBvc2l0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29ubmVjdC9zcmMvbGliL2luZn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Jlc3NSZXBvc2l0b3J5IH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vZG9tYWluJ1xuaW1wb3J0IHsgd2l0aENydWRGaXJlc3RvcmUsIHdpdGhGaXJlc3RvcmUsIHdpdGhIZWxwZXJzLCB3aXRoU3ViQ29sbGVjdGlvbiB9IGZyb20gJy4uLy4uL21peGlucydcblxuaW1wb3J0IHsgVXNlckZpcmVzdG9yZVJlcG9zaXRvcnkgfSBmcm9tICcuL3VzZXItZmlyZXN0b3JlLnJlcG9zaXRvcnknXG5cbmV4cG9ydCBjbGFzcyBVc2VyQWRkcmVzc0ZpcmVzdG9yZVJlcG9zaXRvcnlcbiAgZXh0ZW5kcyB3aXRoU3ViQ29sbGVjdGlvbih3aXRoQ3J1ZEZpcmVzdG9yZSh3aXRoSGVscGVycyh3aXRoRmlyZXN0b3JlPFVzZXJBZGRyZXNzPihCYXNlKSkpLCBVc2VyKVxuICBpbXBsZW1lbnRzIFVzZXJBZGRyZXNzUmVwb3NpdG9yeVxue1xuICBjb25zdHJ1Y3RvcihyZWFkb25seSBmaXJlc3RvcmU6IEZpcmViYXNlRmlyZXN0b3JlLCByZWFkb25seSBwYXJlbnRSZXBvc2l0b3J5OiBVc2VyRmlyZXN0b3JlUmVwb3NpdG9yeSkge1xuICAgIHN1cGVyKClcbiAgICB0aGlzLmNvbGxlY3Rpb25OYW1lID0gJ2FkZHJlc3MnXG4gICAgdGhpcy5wYXJlbnRJZEZpZWxkID0gJ3VzZXJJZCdcbiAgICB0aGlzLm1vZGVsID0gVXNlckFkZHJlc3NcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Base } from '../../../../../utils';
|
|
2
|
+
import { BeautyProfile, User } from '../../../../../domain';
|
|
3
|
+
import { withCrudFirestore, withFirestore, withHelpers, withSubCollection } from '../../mixins';
|
|
4
|
+
export class UserBeautyProfileFirestoreRepository extends withSubCollection(withCrudFirestore(withHelpers(withFirestore(Base))), User) {
|
|
5
|
+
constructor(firestore, parentRepository) {
|
|
6
|
+
super();
|
|
7
|
+
this.firestore = firestore;
|
|
8
|
+
this.parentRepository = parentRepository;
|
|
9
|
+
this.collectionName = 'CX';
|
|
10
|
+
this.parentIdField = 'userId';
|
|
11
|
+
this.model = BeautyProfile;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1iZWF1dHktcHJvZmlsZS1maXJlc3RvcmUucmVwb3NpdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi9pbmZyYS9maXJlYmFzZS9maXJlc3RvcmUvcmVwb3NpdG9yaWVzL3VzZXJzL3VzZXItYmVhdXR5LXByb2ZpbGUtZmlyZXN0b3JlLnJlcG9zaXRvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLHNCQUFzQixDQUFBO0FBQzNDLE9BQU8sRUFBRSxhQUFhLEVBQTJCLElBQUksRUFBRSxNQUFNLHVCQUF1QixDQUFBO0FBQ3BGLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxhQUFhLEVBQUUsV0FBVyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sY0FBYyxDQUFBO0FBSS9GLE1BQU0sT0FBTyxvQ0FDWCxTQUFRLGlCQUFpQixDQUFDLGlCQUFpQixDQUFDLFdBQVcsQ0FBQyxhQUFhLENBQWdCLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBRSxJQUFJLENBQUM7SUFHbkcsWUFBcUIsU0FBNEIsRUFBVyxnQkFBeUM7UUFDbkcsS0FBSyxFQUFFLENBQUE7UUFEWSxjQUFTLEdBQVQsU0FBUyxDQUFtQjtRQUFXLHFCQUFnQixHQUFoQixnQ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aXRvcnk6IFVzZXJGaXJlc3RvcmVSZXBvc2l0b3J5KSB7XG4gICAgc3VwZXIoKVxuICAgIHRoaXMuY29sbGVjdGlvbk5hbWUgPSAnQ1gnXG4gICAgdGhpcy5wYXJlbnRJZEZpZWxkID0gJ3VzZXJJZCdcbiAgICB0aGlzLm1vZGVsID0gQmVhdXR5UHJvZmlsZVxuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { __awaiter } from "tslib";
|
|
2
|
+
import { Base } from '../../../../../utils';
|
|
3
|
+
import { BeautyProfile, User, Where } from '../../../../../domain';
|
|
4
|
+
import { withCrudFirestore, withFirestore, withHelpers } from '../../mixins';
|
|
5
|
+
import { UserSearchFirestoreRepository } from './user-search-firestore.repository';
|
|
6
|
+
export class UserFirestoreRepository extends withCrudFirestore(withHelpers(withFirestore(Base))) {
|
|
7
|
+
constructor(firestore, userSearchFirestoreRepository = new UserSearchFirestoreRepository(firestore)) {
|
|
8
|
+
super();
|
|
9
|
+
this.firestore = firestore;
|
|
10
|
+
this.userSearchFirestoreRepository = userSearchFirestoreRepository;
|
|
11
|
+
this.collectionName = 'users';
|
|
12
|
+
this.model = User;
|
|
13
|
+
}
|
|
14
|
+
get(identifiers) {
|
|
15
|
+
const _super = Object.create(null, {
|
|
16
|
+
get: { get: () => super.get }
|
|
17
|
+
});
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
const user = yield _super.get.call(this, { id: identifiers.id });
|
|
20
|
+
user.beautyProfile = yield this.getBeautyProfile(user.id);
|
|
21
|
+
user.isSubscriber = yield this.checkIfIsSubscriber(user.id);
|
|
22
|
+
return user;
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
checkIfExistsByField(field, value) {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
const result = yield this.userSearchFirestoreRepository.find([{ [field]: { operator: Where.EQUALS, value } }]);
|
|
28
|
+
return result.count > 0;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
buildModelInstance() {
|
|
32
|
+
const { fromFirestore, toFirestore } = super.buildModelInstance();
|
|
33
|
+
return {
|
|
34
|
+
toFirestore: (data) => {
|
|
35
|
+
const plain = toFirestore(data);
|
|
36
|
+
delete plain.isSubscriber;
|
|
37
|
+
return plain;
|
|
38
|
+
},
|
|
39
|
+
fromFirestore,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
getBeautyProfile(userId) {
|
|
43
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
44
|
+
const beautyProfile = yield this.collection()
|
|
45
|
+
.doc(userId)
|
|
46
|
+
.collection('CX')
|
|
47
|
+
.withConverter(this.buildBeautyProfileModelInstance())
|
|
48
|
+
.doc('beautyProfile')
|
|
49
|
+
.get();
|
|
50
|
+
return beautyProfile.data();
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
checkIfIsSubscriber(userId) {
|
|
54
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
const docs = yield this.firestore
|
|
56
|
+
.collection('subscription')
|
|
57
|
+
.where('user.id', '==', userId)
|
|
58
|
+
.where('status', '==', 'active')
|
|
59
|
+
.get();
|
|
60
|
+
return !!docs && !!docs.size;
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
buildBeautyProfileModelInstance() {
|
|
64
|
+
return {
|
|
65
|
+
toFirestore: (data) => data.toPlain(),
|
|
66
|
+
fromFirestore: (snap) => BeautyProfile.toInstance(snap.data()),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1maXJlc3RvcmUucmVwb3NpdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi9pbmZyYS9ma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ogUXVlcnlEb2N1bWVudFNuYXBzaG90PEJlYXV0eVByb2ZpbGU+KTogQmVhdXR5UHJvZmlsZSA9PlxuICAgICAgICBCZWF1dHlQcm9maWxlLnRvSW5zdGFuY2Uoc25hcC5kYXRhKCkpLFxuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Base } from '../../../../../utils';
|
|
2
|
+
import { User, UserPaymentMethod } from '../../../../../domain';
|
|
3
|
+
import { withCrudFirestore, withFirestore, withHelpers, withSubCollection } from '../../mixins';
|
|
4
|
+
export class UserPaymentMethodFirestoreRepository extends withSubCollection(withCrudFirestore(withHelpers(withFirestore(Base))), User) {
|
|
5
|
+
constructor(firestore, parentRepository) {
|
|
6
|
+
super();
|
|
7
|
+
this.firestore = firestore;
|
|
8
|
+
this.parentRepository = parentRepository;
|
|
9
|
+
this.collectionName = 'payment_method';
|
|
10
|
+
this.parentIdField = 'userId';
|
|
11
|
+
this.model = UserPaymentMethod;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1wYXltZW50LW1ldGhvZC1maXJlc3RvcmUucmVwb3NpdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi9pbmZyYS9maXJlYmFzZS9maXJlc3RvcmUvcmVwb3NpdG9yaWVzL3VzZXJzL3VzZXItcGF5bWVudC1tZXRob2QtZmlyZXN0b3JlLnJlcG9zaXRvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLHNCQUFzQixDQUFBO0FBQzNDLE9BQU8sRUFBRSxJQUFJLEVBQUUsaUJBQWlCLEVBQStCLE1BQU0sdUJBQXVCLENBQU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yZXN0b3JlLnJlcG9zaXRvcnknXG5cbmV4cG9ydCBjbGFzcyBVc2VyUGF5bWVudE1ldGhvZEZpcmVzdG9yZVJlcG9zaXRvcnlcbiAgZXh0ZW5kcyB3aXRoU3ViQ29sbGVjdGlvbih3aXRoQ3J1ZEZpcmVzdG9yZSh3aXRoSGVscGVycyh3aXRoRmlyZXN0b3JlPFVzZXJQYXltZW50TWV0aG9kPihCYXNlKSkpLCBVc2VyKVxuICBpbXBsZW1lbnRzIFVzZXJQYXltZW50TWV0aG9kUmVwb3NpdG9yeVxue1xuICBjb25zdHJ1Y3RvcihyZWFkb25seSBmaXJlc3RvcmU6IEZpcmViYXNlRmlyZXN0b3JlLCByZWFkb25seSBwYXJlbnRSZXBvc2l0b3J5OiBVc2VyRmlyZXN0b3JlUmVwb3NpdG9yeSkge1xuICAgIHN1cGVyKClcbiAgICB0aGlzLmNvbGxlY3Rpb25OYW1lID0gJ3BheW1lbnRfbWV0aG9kJ1xuICAgIHRoaXMucGFyZW50SWRGaWVsZCA9ICd1c2VySWQnXG4gICAgdGhpcy5tb2RlbCA9IFVzZXJQYXltZW50TWV0aG9kXG4gIH1cbn1cbiJdfQ==
|
package/esm2015/lib/infra/firebase/firestore/repositories/users/user-search-firestore.repository.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Base } from '../../../../../utils';
|
|
2
|
+
import { UserSearch } from '../../models/user-search';
|
|
3
|
+
import { withCrudFirestore, withFirestore, withHelpers } from '../../mixins';
|
|
4
|
+
export class UserSearchFirestoreRepository extends withCrudFirestore(withHelpers(withFirestore(Base))) {
|
|
5
|
+
constructor(firestore) {
|
|
6
|
+
super();
|
|
7
|
+
this.firestore = firestore;
|
|
8
|
+
this.collectionName = 'userSearch';
|
|
9
|
+
this.model = UserSearch;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1zZWFyY2gtZm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RlbnQiOlsiaW1wb3J0IHsgQ29sbGVjdGlvblJlZmVyZW5jZSwgRmlyZWJhc2VGaXJlc3RvcmUgfSBmcm9tICdAZmlyZWJhc2UvZmlyZXN0b3JlLXR5cGVzJ1xuXG5pbXBvcnQgeyBCYXNlTW9kZWxCdWlsZGVyLCBCYXNlTW9kZWxXaXRoSWRlbnRpZmllciB9IGZyb20gJy4uLy4uLy4uLy4uL2RvbWFpbidcblxuZXhwb3J0IHR5cGUgRmlyZXN0b3JlUmVwb3NpdG9yeTxNb2RlbCBleHRlbmRzIEJhc2VNb2RlbFdpdGhJZGVudGlmaWVyPE1vZGVsPj4gPSB7XG4gIHJlYWRvbmx5IGZpcmVzdG9yZT86IEZpcmViYXNlRmlyZXN0b3JlXG4gIGNvbGxlY3Rpb25OYW1lOiBzdHJpbmdcbiAgbW9kZWw6IEJhc2VNb2RlbEJ1aWxkZXI8TW9kZWw+XG4gIGNvbGxlY3Rpb24ocGF0aD86IHN0cmluZyk6IENvbGxlY3Rpb25SZWZlcmVuY2U8TW9kZWw+XG59XG4iXX0=
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './firestore.repository.type';
|
|
2
|
+
export * from './firestore.helpers.type';
|
|
3
|
+
export * from './firestore-sub.repository.type';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvaW5mcmEvZmlyZWJhc2UvZmlyZXN0b3JlL3R5cGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNkJBQTZCLENBQUE7QUFDM0MsY0FBYywwQkFBMEIsQ0FBQTtBQUN4QyxjQUFjLGlDQUFpQyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9maXJlc3RvcmUucmVwb3NpdG9yeS50eXBlJ1xuZXhwb3J0ICogZnJvbSAnLi9maXJlc3RvcmUuaGVscGVycy50eXBlJ1xuZXhwb3J0ICogZnJvbSAnLi9maXJlc3RvcmUtc3ViLnJlcG9zaXRvcnkudHlwZSdcbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './firestore';
|
|
2
|
+
export * from './auth';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvaW5mcmEvZmlyZWJhc2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUE7QUFDM0IsY0FBYyxRQUFRLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2ZpcmVzdG9yZSdcbmV4cG9ydCAqIGZyb20gJy4vYXV0aCdcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './firebase';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvaW5mcmEvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxZQUFZLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2ZpcmViYXNlJ1xuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { chunk, isEmpty, isNil, isNumber, isObject, isString, pick } from 'lodash';
|
|
2
|
+
export { chunk, isEmpty, isNil, isNumber, isObject, isString, pick };
|
|
3
|
+
export * from './mixins';
|
|
4
|
+
export * from './types';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvdXRpbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEtBQUssRUFBRSxPQUFPLEVBQUUsS0FBSyxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBRSxNQUFNLFFBQVEsQ0FBQTtBQUVsRixPQUFPLEVBQUUsS0FBSyxFQUFFLE9BQU8sRUFBRSxLQUFLLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLENBQUE7QUFDcEUsY0FBYyxVQUFVLENBQUE7QUFDeEIsY0FBYyxTQUFTLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjaHVuaywgaXNFbXB0eSwgaXNOaWwsIGlzTnVtYmVyLCBpc09iamVjdCwgaXNTdHJpbmcsIHBpY2sgfSBmcm9tICdsb2Rhc2gnXG5cbmV4cG9ydCB7IGNodW5rLCBpc0VtcHR5LCBpc05pbCwgaXNOdW1iZXIsIGlzT2JqZWN0LCBpc1N0cmluZywgcGljayB9XG5leHBvcnQgKiBmcm9tICcuL21peGlucydcbmV4cG9ydCAqIGZyb20gJy4vdHlwZXMnXG4iXX0=
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export class Base {
|
|
2
|
+
constructor(...args) {
|
|
3
|
+
Object.assign(this, ...args);
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5taXhpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi91dGlscy9taXhpbnMvYmFzZS5taXhpbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8sSUFBSTtJQUNmLFlBQVksR0FBRyxJQUFnQjtRQUM3QixNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksRUFBRSxHQUFHLElBQUksQ0FBQyxDQUFBO0lBQzlCLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBCYXNlIHtcbiAgY29uc3RydWN0b3IoLi4uYXJnczogQXJyYXk8YW55Pikge1xuICAgIE9iamVjdC5hc3NpZ24odGhpcywgLi4uYXJncylcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './mixin-ctor.type';
|
|
2
|
+
export * from './base.mixin';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvdXRpbHMvbWl4aW5zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUE7QUFDakMsY0FBYyxjQUFjLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21peGluLWN0b3IudHlwZSdcbmV4cG9ydCAqIGZyb20gJy4vYmFzZS5taXhpbidcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWl4aW4tY3Rvci50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29ubmVjdC9zcmMvbGliL3V0aWxzL21peGlucy9taXhpbi1jdG9yLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIE1peGluQ3RvcjxUID0ge30+ID0gbmV3ICguLi5hcmdzOiBBcnJheTxhbnk+KSA9PiBUXG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './prop.type';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvdXRpbHMvdHlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3Byb3AudHlwZSdcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcC50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29ubmVjdC9zcmMvbGliL3V0aWxzL3R5cGVzL3Byb3AudHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgUHJvcFR5cGU8VE9iaiwgVFByb3AgZXh0ZW5kcyBrZXlvZiBUT2JqPiA9IFRPYmpbVFByb3BdXG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
export * from './lib';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxrQkFBa0IsQ0FBQTtBQUV6QixjQUFjLE9BQU8sQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAncmVmbGVjdC1tZXRhZGF0YSdcblxuZXhwb3J0ICogZnJvbSAnLi9saWInXG4iXX0=
|