@infrab4a/connect 3.6.0 → 3.7.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 +5050 -5050
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/domain/catalog/index.d.ts +2 -2
- package/domain/catalog/models/category-filter.d.ts +9 -9
- package/domain/catalog/models/category.d.ts +25 -25
- package/domain/catalog/models/enums/index.d.ts +2 -2
- package/domain/catalog/models/enums/product-genders.enum.d.ts +5 -5
- package/domain/catalog/models/enums/shops.enum.d.ts +6 -6
- package/domain/catalog/models/filter-option.d.ts +10 -10
- package/domain/catalog/models/filter.d.ts +13 -13
- package/domain/catalog/models/index.d.ts +9 -9
- package/domain/catalog/models/kit-product.d.ts +12 -12
- package/domain/catalog/models/product.d.ts +40 -40
- package/domain/catalog/models/types/category-condition.type.d.ts +4 -4
- package/domain/catalog/models/types/category-metadata.type.d.ts +4 -4
- package/domain/catalog/models/types/index.d.ts +9 -9
- package/domain/catalog/models/types/product-gender.type.d.ts +1 -1
- package/domain/catalog/models/types/product-metadata.type.d.ts +4 -4
- package/domain/catalog/models/types/product-review.type.d.ts +17 -17
- package/domain/catalog/models/types/shop-description.type.d.ts +7 -7
- package/domain/catalog/models/types/shop-price.type.d.ts +6 -6
- package/domain/catalog/models/types/stock.type.d.ts +3 -3
- package/domain/catalog/models/types/variant-grade.type.d.ts +4 -4
- package/domain/catalog/models/variant.d.ts +18 -18
- package/domain/catalog/repositories/category-filter.repository.d.ts +5 -5
- package/domain/catalog/repositories/category.repository.d.ts +15 -15
- package/domain/catalog/repositories/filter-option.repository.d.ts +4 -4
- package/domain/catalog/repositories/filter.repository.d.ts +4 -4
- package/domain/catalog/repositories/index.d.ts +7 -7
- package/domain/catalog/repositories/product.repository.d.ts +13 -13
- package/domain/catalog/repositories/subscription-product.repository.d.ts +4 -4
- package/domain/catalog/repositories/variant.repository.d.ts +4 -4
- package/domain/generic/index.d.ts +2 -2
- package/domain/generic/model/base.model.d.ts +10 -10
- package/domain/generic/model/identifier-fields.d.ts +4 -4
- package/domain/generic/model/index.d.ts +3 -3
- package/domain/generic/model/types/base-model-builder.type.d.ts +15 -15
- package/domain/generic/model/types/identifier-model.type.d.ts +7 -7
- package/domain/generic/model/types/index.d.ts +5 -5
- package/domain/generic/model/types/model-base-structure.type.d.ts +6 -6
- package/domain/generic/model/types/non-function-properties.type.d.ts +12 -12
- package/domain/generic/model/types/non-function-property-name.type.d.ts +4 -4
- package/domain/generic/repository/create.repository.d.ts +8 -8
- package/domain/generic/repository/crud.repository.d.ts +19 -19
- package/domain/generic/repository/delete.repository.d.ts +7 -7
- package/domain/generic/repository/enums/index.d.ts +2 -2
- package/domain/generic/repository/enums/update-option-actions.enum.d.ts +7 -7
- package/domain/generic/repository/enums/where.enum.d.ts +14 -14
- package/domain/generic/repository/find.repository.d.ts +14 -14
- package/domain/generic/repository/get.repository.d.ts +5 -5
- package/domain/generic/repository/index.d.ts +9 -9
- package/domain/generic/repository/read.repository.d.ts +14 -14
- package/domain/generic/repository/types/index.d.ts +6 -6
- package/domain/generic/repository/types/repository-find-filters.type.d.ts +13 -13
- package/domain/generic/repository/types/repository-find-result.type.d.ts +4 -4
- package/domain/generic/repository/types/repository-limit-options.type.d.ts +4 -4
- package/domain/generic/repository/types/repository-order-by-list.type.d.ts +5 -5
- package/domain/generic/repository/types/repository-update-params.type.d.ts +11 -11
- package/domain/generic/repository/types/where-options.type.d.ts +2 -2
- package/domain/generic/repository/update.repository.d.ts +6 -6
- package/domain/index.d.ts +6 -6
- package/domain/location/index.d.ts +1 -1
- package/domain/location/models/address.d.ts +22 -22
- package/domain/location/models/index.d.ts +2 -2
- package/domain/location/models/types/index.d.ts +3 -3
- package/domain/location/models/types/location-bound.type.d.ts +6 -6
- package/domain/location/models/types/location-geometry.type.d.ts +7 -7
- package/domain/location/models/types/location-lat-lng.type.d.ts +4 -4
- package/domain/shop-settings/enums/filter-type.enum.d.ts +19 -19
- package/domain/shop-settings/enums/index.d.ts +2 -2
- package/domain/shop-settings/enums/questions-filters.enum.d.ts +19 -19
- package/domain/shop-settings/helpers/beauty-questions.helper.d.ts +9 -9
- package/domain/shop-settings/helpers/index.d.ts +1 -1
- package/domain/shop-settings/index.d.ts +4 -4
- package/domain/shop-settings/models/home.d.ts +18 -18
- package/domain/shop-settings/models/index.d.ts +3 -3
- package/domain/shop-settings/models/shop-menu.d.ts +7 -7
- package/domain/shop-settings/models/types/banner.type.d.ts +6 -6
- package/domain/shop-settings/models/types/benefit.type.d.ts +5 -5
- package/domain/shop-settings/models/types/home-data.type.d.ts +15 -15
- package/domain/shop-settings/models/types/index.d.ts +5 -5
- package/domain/shop-settings/models/types/menu-nav.type.d.ts +8 -8
- package/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -8
- package/domain/shop-settings/repositories/home.repository.d.ts +4 -4
- package/domain/shop-settings/repositories/index.d.ts +2 -2
- package/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -4
- package/domain/shopping/index.d.ts +2 -2
- package/domain/shopping/models/buy-2-win.d.ts +16 -16
- package/domain/shopping/models/checkout.d.ts +27 -27
- package/domain/shopping/models/coupons/coupon.d.ts +32 -32
- package/domain/shopping/models/coupons/enums/coupon-club-mens.enum.d.ts +5 -5
- package/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -4
- package/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +4 -4
- package/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +8 -8
- package/domain/shopping/models/coupons/enums/index.d.ts +3 -3
- package/domain/shopping/models/coupons/index.d.ts +2 -2
- package/domain/shopping/models/enums/checkout-types.enum.d.ts +5 -5
- package/domain/shopping/models/enums/index.d.ts +2 -2
- package/domain/shopping/models/enums/order-status.enum.d.ts +10 -10
- package/domain/shopping/models/index.d.ts +11 -11
- package/domain/shopping/models/line-item.d.ts +8 -8
- package/domain/shopping/models/order.d.ts +9 -9
- package/domain/shopping/models/payment.d.ts +67 -67
- package/domain/shopping/models/shipping-method.d.ts +16 -16
- package/domain/shopping/models/subscription/checkout.d.ts +21 -21
- package/domain/shopping/models/subscription/index.d.ts +2 -2
- package/domain/shopping/models/subscription/plan.d.ts +10 -10
- package/domain/shopping/models/types/index.d.ts +7 -7
- package/domain/shopping/models/types/payment-address.type.d.ts +12 -12
- package/domain/shopping/models/types/payment-billing.type.d.ts +7 -7
- package/domain/shopping/models/types/payment-card.type.d.ts +14 -14
- package/domain/shopping/models/types/payment-customer.type.d.ts +18 -18
- package/domain/shopping/models/types/payment-document.type.d.ts +6 -6
- package/domain/shopping/models/types/payment-item.type.d.ts +11 -11
- package/domain/shopping/models/types/payment-shipping.type.d.ts +10 -10
- package/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -4
- package/domain/shopping/repositories/checkout.repository.d.ts +4 -4
- package/domain/shopping/repositories/coupon.repository.d.ts +4 -4
- package/domain/shopping/repositories/index.d.ts +7 -7
- package/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
- package/domain/shopping/repositories/order.repository.d.ts +4 -4
- package/domain/shopping/repositories/payment.repository.d.ts +4 -4
- package/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -4
- package/domain/shopping/repositories/subscription/index.d.ts +2 -2
- package/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -4
- package/domain/users/errors/index.d.ts +3 -3
- package/domain/users/errors/unauthorized.error.d.ts +5 -5
- package/domain/users/errors/user-already-registered.error.d.ts +5 -5
- package/domain/users/errors/weak-password.error.d.ts +5 -5
- package/domain/users/index.d.ts +5 -5
- package/domain/users/models/beauty-profile.d.ts +11 -11
- package/domain/users/models/enums/accessory-importances.enum.d.ts +5 -5
- package/domain/users/models/enums/area.enum.d.ts +11 -11
- package/domain/users/models/enums/beard-problems.enum.d.ts +9 -9
- package/domain/users/models/enums/beard-sizes.enum.d.ts +7 -7
- package/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -6
- package/domain/users/models/enums/body-problems.enum.d.ts +11 -11
- package/domain/users/models/enums/body-shapes.enum.d.ts +7 -7
- package/domain/users/models/enums/body-tattoos.enum.d.ts +5 -5
- package/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -7
- package/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -10
- package/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -8
- package/domain/users/models/enums/family-incomes.enum.d.ts +8 -8
- package/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -5
- package/domain/users/models/enums/hair-colors.enum.d.ts +10 -10
- package/domain/users/models/enums/hair-problems.enum.d.ts +10 -10
- package/domain/users/models/enums/hair-strands.enum.d.ts +8 -8
- package/domain/users/models/enums/hair-types.enum.d.ts +7 -7
- package/domain/users/models/enums/index.d.ts +20 -20
- package/domain/users/models/enums/office-position.enum.d.ts +6 -6
- package/domain/users/models/enums/product-spents.enum.d.ts +8 -8
- package/domain/users/models/enums/user-type.enum.d.ts +8 -8
- package/domain/users/models/index.d.ts +7 -7
- package/domain/users/models/lead.d.ts +7 -7
- package/domain/users/models/subscription/edition.d.ts +16 -16
- package/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -3
- package/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -4
- package/domain/users/models/subscription/enums/index.d.ts +4 -4
- package/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -5
- package/domain/users/models/subscription/enums/status.enum.d.ts +4 -4
- package/domain/users/models/subscription/index.d.ts +4 -4
- package/domain/users/models/subscription/payment.d.ts +13 -13
- package/domain/users/models/subscription/subscription.d.ts +28 -28
- package/domain/users/models/user-address.d.ts +7 -7
- package/domain/users/models/user-payment-method.d.ts +14 -14
- package/domain/users/models/user.d.ts +28 -28
- package/domain/users/repositories/beauty-profile.repository.d.ts +4 -4
- package/domain/users/repositories/edition.repository.d.ts +4 -4
- package/domain/users/repositories/index.d.ts +8 -8
- package/domain/users/repositories/lead.repository.d.ts +4 -4
- package/domain/users/repositories/subscription-payment.repository.d.ts +4 -4
- package/domain/users/repositories/subscription.repository.d.ts +4 -4
- package/domain/users/repositories/user-address.repository.d.ts +4 -4
- package/domain/users/repositories/user-payment-method.repository.d.ts +4 -4
- package/domain/users/repositories/user.repository.d.ts +6 -6
- package/domain/users/services/authentication.service.d.ts +12 -12
- package/domain/users/services/index.d.ts +3 -3
- package/domain/users/services/register.service.d.ts +7 -7
- package/domain/users/services/types/basic-user-data.type.d.ts +4 -4
- package/domain/users/services/types/index.d.ts +1 -1
- package/domain/users/use-cases/authentication.d.ts +21 -21
- package/domain/users/use-cases/index.d.ts +4 -4
- package/domain/users/use-cases/recovery-password.d.ts +6 -6
- package/domain/users/use-cases/register.d.ts +13 -13
- package/domain/users/use-cases/signout.d.ts +6 -6
- package/errors/duplicated-results.error.d.ts +5 -5
- package/errors/index.d.ts +4 -4
- package/errors/invalid-argument.error.d.ts +5 -5
- package/errors/not-found.error.d.ts +5 -5
- package/errors/required-argument.error.d.ts +6 -6
- package/esm2015/domain/catalog/index.js +3 -3
- package/esm2015/domain/catalog/models/category-filter.js +10 -10
- package/esm2015/domain/catalog/models/category.js +17 -17
- package/esm2015/domain/catalog/models/enums/index.js +3 -3
- package/esm2015/domain/catalog/models/enums/product-genders.enum.js +7 -7
- package/esm2015/domain/catalog/models/enums/shops.enum.js +8 -8
- package/esm2015/domain/catalog/models/filter-option.js +10 -10
- package/esm2015/domain/catalog/models/filter.js +10 -10
- package/esm2015/domain/catalog/models/index.js +10 -10
- package/esm2015/domain/catalog/models/kit-product.js +18 -18
- package/esm2015/domain/catalog/models/product.js +17 -17
- package/esm2015/domain/catalog/models/types/category-condition.type.js +2 -2
- package/esm2015/domain/catalog/models/types/category-metadata.type.js +2 -2
- package/esm2015/domain/catalog/models/types/index.js +10 -10
- package/esm2015/domain/catalog/models/types/product-gender.type.js +2 -2
- package/esm2015/domain/catalog/models/types/product-metadata.type.js +2 -2
- package/esm2015/domain/catalog/models/types/product-review.type.js +2 -2
- package/esm2015/domain/catalog/models/types/shop-description.type.js +2 -2
- package/esm2015/domain/catalog/models/types/shop-price.type.js +2 -2
- package/esm2015/domain/catalog/models/types/stock.type.js +2 -2
- package/esm2015/domain/catalog/models/types/variant-grade.type.js +2 -2
- package/esm2015/domain/catalog/models/variant.js +10 -10
- package/esm2015/domain/catalog/repositories/category-filter.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/category.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/filter-option.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/filter.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/index.js +8 -8
- package/esm2015/domain/catalog/repositories/product.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/subscription-product.repository.js +2 -2
- package/esm2015/domain/catalog/repositories/variant.repository.js +2 -2
- package/esm2015/domain/generic/index.js +3 -3
- package/esm2015/domain/generic/model/base.model.js +23 -23
- package/esm2015/domain/generic/model/identifier-fields.js +2 -2
- package/esm2015/domain/generic/model/index.js +4 -4
- package/esm2015/domain/generic/model/types/base-model-builder.type.js +2 -2
- package/esm2015/domain/generic/model/types/identifier-model.type.js +2 -2
- package/esm2015/domain/generic/model/types/index.js +6 -6
- package/esm2015/domain/generic/model/types/model-base-structure.type.js +2 -2
- package/esm2015/domain/generic/model/types/non-function-properties.type.js +2 -2
- package/esm2015/domain/generic/model/types/non-function-property-name.type.js +2 -2
- package/esm2015/domain/generic/repository/create.repository.js +2 -2
- package/esm2015/domain/generic/repository/crud.repository.js +2 -2
- package/esm2015/domain/generic/repository/delete.repository.js +2 -2
- package/esm2015/domain/generic/repository/enums/index.js +3 -3
- package/esm2015/domain/generic/repository/enums/update-option-actions.enum.js +9 -9
- package/esm2015/domain/generic/repository/enums/where.enum.js +16 -16
- package/esm2015/domain/generic/repository/find.repository.js +2 -2
- package/esm2015/domain/generic/repository/get.repository.js +2 -2
- package/esm2015/domain/generic/repository/index.js +10 -10
- package/esm2015/domain/generic/repository/read.repository.js +2 -2
- package/esm2015/domain/generic/repository/types/index.js +7 -7
- package/esm2015/domain/generic/repository/types/repository-find-filters.type.js +2 -2
- package/esm2015/domain/generic/repository/types/repository-find-result.type.js +2 -2
- package/esm2015/domain/generic/repository/types/repository-limit-options.type.js +2 -2
- package/esm2015/domain/generic/repository/types/repository-order-by-list.type.js +2 -2
- package/esm2015/domain/generic/repository/types/repository-update-params.type.js +2 -2
- package/esm2015/domain/generic/repository/types/where-options.type.js +2 -2
- package/esm2015/domain/generic/repository/update.repository.js +2 -2
- package/esm2015/domain/index.js +7 -7
- package/esm2015/domain/location/index.js +2 -2
- package/esm2015/domain/location/models/address.js +7 -7
- package/esm2015/domain/location/models/index.js +3 -3
- package/esm2015/domain/location/models/types/index.js +4 -4
- package/esm2015/domain/location/models/types/location-bound.type.js +2 -2
- package/esm2015/domain/location/models/types/location-geometry.type.js +2 -2
- package/esm2015/domain/location/models/types/location-lat-lng.type.js +2 -2
- package/esm2015/domain/shop-settings/enums/filter-type.enum.js +21 -21
- package/esm2015/domain/shop-settings/enums/index.js +3 -3
- package/esm2015/domain/shop-settings/enums/questions-filters.enum.js +21 -21
- package/esm2015/domain/shop-settings/helpers/beauty-questions.helper.js +46 -46
- package/esm2015/domain/shop-settings/helpers/index.js +2 -2
- package/esm2015/domain/shop-settings/index.js +5 -5
- package/esm2015/domain/shop-settings/models/home.js +7 -7
- package/esm2015/domain/shop-settings/models/index.js +4 -4
- package/esm2015/domain/shop-settings/models/shop-menu.js +7 -7
- package/esm2015/domain/shop-settings/models/types/banner.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/benefit.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/home-data.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/index.js +6 -6
- package/esm2015/domain/shop-settings/models/types/menu-nav.type.js +2 -2
- package/esm2015/domain/shop-settings/models/types/sub-menu.type.js +2 -2
- package/esm2015/domain/shop-settings/repositories/home.repository.js +2 -2
- package/esm2015/domain/shop-settings/repositories/index.js +3 -3
- package/esm2015/domain/shop-settings/repositories/shop-menu.repository.js +2 -2
- package/esm2015/domain/shopping/index.js +3 -3
- package/esm2015/domain/shopping/models/buy-2-win.js +14 -14
- package/esm2015/domain/shopping/models/checkout.js +38 -38
- package/esm2015/domain/shopping/models/coupons/coupon.js +38 -38
- package/esm2015/domain/shopping/models/coupons/enums/coupon-club-mens.enum.js +7 -7
- package/esm2015/domain/shopping/models/coupons/enums/coupon-subtypes.enum.js +6 -6
- package/esm2015/domain/shopping/models/coupons/enums/coupon-types.enum.js +10 -10
- package/esm2015/domain/shopping/models/coupons/enums/exclusivities.enum.js +10 -10
- package/esm2015/domain/shopping/models/coupons/enums/index.js +4 -4
- package/esm2015/domain/shopping/models/coupons/index.js +3 -3
- package/esm2015/domain/shopping/models/enums/checkout-types.enum.js +7 -7
- package/esm2015/domain/shopping/models/enums/index.js +3 -3
- package/esm2015/domain/shopping/models/enums/order-status.enum.js +12 -12
- package/esm2015/domain/shopping/models/index.js +12 -12
- package/esm2015/domain/shopping/models/line-item.js +4 -4
- package/esm2015/domain/shopping/models/order.js +11 -11
- package/esm2015/domain/shopping/models/payment.js +169 -169
- package/esm2015/domain/shopping/models/shipping-method.js +7 -7
- package/esm2015/domain/shopping/models/subscription/checkout.js +28 -28
- package/esm2015/domain/shopping/models/subscription/index.js +3 -3
- package/esm2015/domain/shopping/models/subscription/plan.js +7 -7
- package/esm2015/domain/shopping/models/types/index.js +8 -8
- package/esm2015/domain/shopping/models/types/payment-address.type.js +2 -2
- package/esm2015/domain/shopping/models/types/payment-billing.type.js +2 -2
- package/esm2015/domain/shopping/models/types/payment-card.type.js +2 -2
- package/esm2015/domain/shopping/models/types/payment-customer.type.js +2 -2
- package/esm2015/domain/shopping/models/types/payment-document.type.js +2 -2
- package/esm2015/domain/shopping/models/types/payment-item.type.js +2 -2
- package/esm2015/domain/shopping/models/types/payment-shipping.type.js +2 -2
- package/esm2015/domain/shopping/repositories/buy-2-win.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/checkout.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/coupon.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/index.js +8 -8
- package/esm2015/domain/shopping/repositories/legacy-order.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/order.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/payment.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/subscription/checkout.repository.js +2 -2
- package/esm2015/domain/shopping/repositories/subscription/index.js +3 -3
- package/esm2015/domain/shopping/repositories/subscription/plan.repository.js +2 -2
- package/esm2015/domain/users/errors/index.js +4 -4
- package/esm2015/domain/users/errors/unauthorized.error.js +8 -8
- package/esm2015/domain/users/errors/user-already-registered.error.js +8 -8
- package/esm2015/domain/users/errors/weak-password.error.js +8 -8
- package/esm2015/domain/users/index.js +6 -6
- package/esm2015/domain/users/models/beauty-profile.js +12 -12
- package/esm2015/domain/users/models/enums/accessory-importances.enum.js +7 -7
- package/esm2015/domain/users/models/enums/area.enum.js +13 -13
- package/esm2015/domain/users/models/enums/beard-problems.enum.js +11 -11
- package/esm2015/domain/users/models/enums/beard-sizes.enum.js +9 -9
- package/esm2015/domain/users/models/enums/beauty-product-importances.enum.js +8 -8
- package/esm2015/domain/users/models/enums/body-problems.enum.js +13 -13
- package/esm2015/domain/users/models/enums/body-shapes.enum.js +9 -9
- package/esm2015/domain/users/models/enums/body-tattoos.enum.js +7 -7
- package/esm2015/domain/users/models/enums/face-skin-oilinesses.enum.js +9 -9
- package/esm2015/domain/users/models/enums/face-skin-problems.enum.js +12 -12
- package/esm2015/domain/users/models/enums/face-skin-tones.enum.js +10 -10
- package/esm2015/domain/users/models/enums/family-incomes.enum.js +10 -10
- package/esm2015/domain/users/models/enums/fragrance-importances.enum.js +7 -7
- package/esm2015/domain/users/models/enums/hair-colors.enum.js +12 -12
- package/esm2015/domain/users/models/enums/hair-problems.enum.js +12 -12
- package/esm2015/domain/users/models/enums/hair-strands.enum.js +10 -10
- package/esm2015/domain/users/models/enums/hair-types.enum.js +9 -9
- package/esm2015/domain/users/models/enums/index.js +21 -21
- package/esm2015/domain/users/models/enums/office-position.enum.js +8 -8
- package/esm2015/domain/users/models/enums/product-spents.enum.js +10 -10
- package/esm2015/domain/users/models/enums/user-type.enum.js +10 -10
- package/esm2015/domain/users/models/index.js +8 -8
- package/esm2015/domain/users/models/lead.js +7 -7
- package/esm2015/domain/users/models/subscription/edition.js +7 -7
- package/esm2015/domain/users/models/subscription/enums/billing-status.enum.js +5 -5
- package/esm2015/domain/users/models/subscription/enums/edition-status.enum.js +6 -6
- package/esm2015/domain/users/models/subscription/enums/index.js +5 -5
- package/esm2015/domain/users/models/subscription/enums/payment-type.enum.js +7 -7
- package/esm2015/domain/users/models/subscription/enums/status.enum.js +6 -6
- package/esm2015/domain/users/models/subscription/index.js +5 -5
- package/esm2015/domain/users/models/subscription/payment.js +14 -14
- package/esm2015/domain/users/models/subscription/subscription.js +43 -43
- package/esm2015/domain/users/models/user-address.js +7 -7
- package/esm2015/domain/users/models/user-payment-method.js +7 -7
- package/esm2015/domain/users/models/user.js +26 -26
- package/esm2015/domain/users/repositories/beauty-profile.repository.js +2 -2
- package/esm2015/domain/users/repositories/edition.repository.js +2 -2
- package/esm2015/domain/users/repositories/index.js +9 -9
- package/esm2015/domain/users/repositories/lead.repository.js +2 -2
- package/esm2015/domain/users/repositories/subscription-payment.repository.js +2 -2
- package/esm2015/domain/users/repositories/subscription.repository.js +2 -2
- package/esm2015/domain/users/repositories/user-address.repository.js +2 -2
- package/esm2015/domain/users/repositories/user-payment-method.repository.js +2 -2
- package/esm2015/domain/users/repositories/user.repository.js +2 -2
- package/esm2015/domain/users/services/authentication.service.js +2 -2
- package/esm2015/domain/users/services/index.js +4 -4
- package/esm2015/domain/users/services/register.service.js +2 -2
- package/esm2015/domain/users/services/types/basic-user-data.type.js +2 -2
- package/esm2015/domain/users/services/types/index.js +2 -2
- package/esm2015/domain/users/use-cases/authentication.js +40 -40
- package/esm2015/domain/users/use-cases/index.js +5 -5
- package/esm2015/domain/users/use-cases/recovery-password.js +12 -12
- package/esm2015/domain/users/use-cases/register.js +34 -34
- package/esm2015/domain/users/use-cases/signout.js +12 -12
- package/esm2015/errors/duplicated-results.error.js +8 -8
- package/esm2015/errors/index.js +5 -5
- package/esm2015/errors/invalid-argument.error.js +8 -8
- package/esm2015/errors/not-found.error.js +8 -8
- package/esm2015/errors/required-argument.error.js +9 -9
- package/esm2015/index.js +6 -6
- package/esm2015/infra/elasticsearch/adapters/axios.adapter.js +57 -57
- package/esm2015/infra/elasticsearch/adapters/elastic-search.adapter.js +2 -2
- package/esm2015/infra/elasticsearch/adapters/index.js +3 -3
- package/esm2015/infra/elasticsearch/index.js +4 -4
- package/esm2015/infra/elasticsearch/indexes/index.js +2 -2
- package/esm2015/infra/elasticsearch/indexes/products-index.js +94 -94
- package/esm2015/infra/elasticsearch/types/elastic-search-result.js +2 -2
- package/esm2015/infra/elasticsearch/types/index.js +2 -2
- package/esm2015/infra/firebase/auth/authentication-firebase-auth.service.js +52 -52
- package/esm2015/infra/firebase/auth/index.js +3 -3
- package/esm2015/infra/firebase/auth/register-firebase-auth.service.js +26 -26
- package/esm2015/infra/firebase/auth/types/firebase-user-with-id.type.js +2 -2
- package/esm2015/infra/firebase/firestore/enums/firestore-field-type.enum.js +10 -10
- package/esm2015/infra/firebase/firestore/enums/index.js +2 -2
- package/esm2015/infra/firebase/firestore/index.js +4 -4
- package/esm2015/infra/firebase/firestore/mixins/index.js +10 -10
- package/esm2015/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +31 -31
- package/esm2015/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +10 -10
- package/esm2015/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +18 -18
- package/esm2015/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +98 -98
- package/esm2015/infra/firebase/firestore/mixins/with-firestore.mixin.js +49 -49
- package/esm2015/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +24 -24
- package/esm2015/infra/firebase/firestore/mixins/with-helpers.mixin.js +17 -17
- package/esm2015/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +11 -11
- package/esm2015/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +45 -45
- package/esm2015/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +71 -71
- package/esm2015/infra/firebase/firestore/repositories/catalog/index.js +5 -5
- package/esm2015/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +55 -55
- package/esm2015/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +14 -14
- package/esm2015/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/index.js +5 -5
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +56 -56
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/index.js +3 -3
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +29 -29
- package/esm2015/infra/firebase/firestore/repositories/shopping/index.js +9 -9
- package/esm2015/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +9 -9
- package/esm2015/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +40 -40
- package/esm2015/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/users/index.js +9 -9
- package/esm2015/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +14 -14
- package/esm2015/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +12 -12
- package/esm2015/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +14 -14
- package/esm2015/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +14 -14
- package/esm2015/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +14 -14
- package/esm2015/infra/firebase/firestore/repositories/users/user-firestore.repository.js +68 -68
- package/esm2015/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +14 -14
- package/esm2015/infra/firebase/firestore/types/firestore-sub.repository.type.js +2 -2
- package/esm2015/infra/firebase/firestore/types/firestore.helpers.type.js +2 -2
- package/esm2015/infra/firebase/firestore/types/firestore.repository.type.js +2 -2
- package/esm2015/infra/firebase/firestore/types/index.js +4 -4
- package/esm2015/infra/firebase/index.js +3 -3
- package/esm2015/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.js +13 -13
- package/esm2015/infra/hasura-graphql/enums/hasura-graphql-where.enum.js +15 -15
- package/esm2015/infra/hasura-graphql/enums/index.js +3 -3
- package/esm2015/infra/hasura-graphql/index.js +5 -5
- package/esm2015/infra/hasura-graphql/mixins/helpers/attribute-option.helper.js +31 -31
- package/esm2015/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.js +53 -53
- package/esm2015/infra/hasura-graphql/mixins/helpers/filter-option.helper.js +22 -22
- package/esm2015/infra/hasura-graphql/mixins/helpers/graphql-field.helper.js +86 -86
- package/esm2015/infra/hasura-graphql/mixins/helpers/index.js +5 -5
- package/esm2015/infra/hasura-graphql/mixins/index.js +8 -8
- package/esm2015/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.js +45 -45
- package/esm2015/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.js +10 -10
- package/esm2015/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.js +29 -29
- package/esm2015/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.js +50 -50
- package/esm2015/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.js +35 -35
- package/esm2015/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.js +94 -94
- package/esm2015/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.js +56 -56
- package/esm2015/infra/hasura-graphql/models/category-hasura-graphql.js +4 -4
- package/esm2015/infra/hasura-graphql/models/index.js +5 -5
- package/esm2015/infra/hasura-graphql/models/kit-product-hasura-graphql.js +15 -15
- package/esm2015/infra/hasura-graphql/models/product-hasura-graphql.js +11 -11
- package/esm2015/infra/hasura-graphql/models/variant-hasura-graphql.js +9 -9
- package/esm2015/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.js +24 -24
- package/esm2015/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.js +321 -321
- package/esm2015/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.js +123 -123
- package/esm2015/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.js +21 -21
- package/esm2015/infra/hasura-graphql/repositories/catalog/index.js +7 -7
- package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +481 -481
- package/esm2015/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.js +116 -116
- package/esm2015/infra/hasura-graphql/repositories/index.js +2 -2
- package/esm2015/infra/hasura-graphql/types/fields.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/graphql.repository.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/hasura-graphql-auth-options.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/hasura-graphql-fields.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/hasura-graphql-headers.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/index.js +9 -9
- package/esm2015/infra/hasura-graphql/types/nested-field.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/query-builder-options.type.js +2 -2
- package/esm2015/infra/hasura-graphql/types/variable-options.type.js +2 -2
- package/esm2015/infra/index.js +4 -4
- package/esm2015/infrab4a-connect.js +4 -4
- package/esm2015/utils/index.js +8 -8
- package/esm2015/utils/is-uuid.js +3 -3
- package/esm2015/utils/mixins/base.mixin.js +6 -6
- package/esm2015/utils/mixins/index.js +4 -4
- package/esm2015/utils/mixins/merge-constructor-params.type.js +2 -2
- package/esm2015/utils/mixins/mixin-ctor.type.js +2 -2
- package/esm2015/utils/parse-datetime.js +14 -14
- package/esm2015/utils/types/array-element.type.js +2 -2
- package/esm2015/utils/types/index.js +3 -3
- package/esm2015/utils/types/prop.type.js +2 -2
- package/fesm2015/infrab4a-connect.js +3443 -3443
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/index.d.ts +5 -5
- package/infra/elasticsearch/adapters/axios.adapter.d.ts +14 -14
- package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +7 -7
- package/infra/elasticsearch/adapters/index.d.ts +2 -2
- package/infra/elasticsearch/index.d.ts +3 -3
- package/infra/elasticsearch/indexes/index.d.ts +1 -1
- package/infra/elasticsearch/indexes/products-index.d.ts +15 -15
- package/infra/elasticsearch/types/elastic-search-result.d.ts +7 -7
- package/infra/elasticsearch/types/index.d.ts +1 -1
- package/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
- package/infra/firebase/auth/index.d.ts +2 -2
- package/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
- package/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +3 -3
- package/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +8 -8
- package/infra/firebase/firestore/enums/index.d.ts +1 -1
- package/infra/firebase/firestore/index.d.ts +3 -3
- package/infra/firebase/firestore/mixins/index.d.ts +9 -9
- package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
- package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +4 -4
- package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
- package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
- package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +4 -4
- package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
- package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
- package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +7 -7
- package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
- package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +17 -17
- package/infra/firebase/firestore/repositories/catalog/index.d.ts +4 -4
- package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +12 -12
- package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/index.d.ts +4 -4
- package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
- package/infra/firebase/firestore/repositories/shop-settings/index.d.ts +2 -2
- package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
- package/infra/firebase/firestore/repositories/shopping/index.d.ts +8 -8
- package/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +7 -7
- package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/users/index.d.ts +8 -8
- package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +8 -8
- package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
- package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +13 -13
- package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
- package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
- package/infra/firebase/firestore/types/firestore.repository.type.d.ts +14 -14
- package/infra/firebase/firestore/types/index.d.ts +3 -3
- package/infra/firebase/index.d.ts +2 -2
- package/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
- package/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +13 -13
- package/infra/hasura-graphql/enums/index.d.ts +2 -2
- package/infra/hasura-graphql/index.d.ts +4 -4
- package/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +13 -13
- package/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
- package/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +6 -6
- package/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +8 -8
- package/infra/hasura-graphql/mixins/helpers/index.d.ts +4 -4
- package/infra/hasura-graphql/mixins/index.d.ts +7 -7
- package/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +8 -8
- package/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +11 -11
- package/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +7 -7
- package/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +20 -20
- package/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +24 -24
- package/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +11 -11
- package/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +14 -14
- package/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
- package/infra/hasura-graphql/models/index.d.ts +4 -4
- package/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +6 -6
- package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +14 -14
- package/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +9 -9
- package/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +11 -11
- package/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +30 -30
- package/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.d.ts +18 -18
- package/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.d.ts +10 -10
- package/infra/hasura-graphql/repositories/catalog/index.d.ts +6 -6
- package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +29 -29
- package/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +14 -14
- package/infra/hasura-graphql/repositories/index.d.ts +1 -1
- package/infra/hasura-graphql/types/fields.type.d.ts +2 -2
- package/infra/hasura-graphql/types/graphql.repository.type.d.ts +21 -21
- package/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
- package/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +40 -40
- package/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
- package/infra/hasura-graphql/types/index.d.ts +8 -8
- package/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
- package/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
- package/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
- package/infra/index.d.ts +3 -3
- package/infrab4a-connect.d.ts +5 -5
- package/package.json +1 -1
- package/utils/index.d.ts +7 -7
- package/utils/is-uuid.d.ts +1 -1
- package/utils/mixins/base.mixin.d.ts +3 -3
- package/utils/mixins/index.d.ts +3 -3
- package/utils/mixins/merge-constructor-params.type.d.ts +3 -3
- package/utils/mixins/mixin-ctor.type.d.ts +1 -1
- package/utils/parse-datetime.d.ts +1 -1
- package/utils/types/array-element.type.d.ts +1 -1
- package/utils/types/index.d.ts +2 -2
- package/utils/types/prop.type.d.ts +1 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
|
|
2
|
-
import { NonFunctionProperties, ModelBaseStructure } from '../../generic/model/types';
|
|
3
|
-
import { Area, OfficePosition, UserType } from './enums';
|
|
4
|
-
import { BeautyProfile } from './beauty-profile';
|
|
5
|
-
export declare class User extends BaseModel<User> {
|
|
6
|
-
id: string;
|
|
7
|
-
cpf?: string;
|
|
8
|
-
email: string;
|
|
9
|
-
firstName?: string;
|
|
10
|
-
lastName?: string;
|
|
11
|
-
displayName?: string;
|
|
12
|
-
phone?: string;
|
|
13
|
-
birthday?: Date;
|
|
14
|
-
acceptsNewsletter?: boolean;
|
|
15
|
-
type?: UserType;
|
|
16
|
-
area?: Area;
|
|
17
|
-
officePosition?: OfficePosition;
|
|
18
|
-
isSubscriber?: boolean;
|
|
19
|
-
subscriptionPlan?: string;
|
|
20
|
-
badgeId?: number;
|
|
21
|
-
badgeMultiplier?: number;
|
|
22
|
-
dateCreated?: Date;
|
|
23
|
-
dateModified?: Date;
|
|
24
|
-
beautyProfile?: BeautyProfile;
|
|
25
|
-
static toInstance<T extends ModelBaseStructure<User>>(this: new () => T, data?: Partial<NonFunctionProperties<User>>): T;
|
|
26
|
-
toPlain(): any;
|
|
27
|
-
static get identifiersFields(): GenericIdentifier[];
|
|
28
|
-
}
|
|
1
|
+
import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
|
|
2
|
+
import { NonFunctionProperties, ModelBaseStructure } from '../../generic/model/types';
|
|
3
|
+
import { Area, OfficePosition, UserType } from './enums';
|
|
4
|
+
import { BeautyProfile } from './beauty-profile';
|
|
5
|
+
export declare class User extends BaseModel<User> {
|
|
6
|
+
id: string;
|
|
7
|
+
cpf?: string;
|
|
8
|
+
email: string;
|
|
9
|
+
firstName?: string;
|
|
10
|
+
lastName?: string;
|
|
11
|
+
displayName?: string;
|
|
12
|
+
phone?: string;
|
|
13
|
+
birthday?: Date;
|
|
14
|
+
acceptsNewsletter?: boolean;
|
|
15
|
+
type?: UserType;
|
|
16
|
+
area?: Area;
|
|
17
|
+
officePosition?: OfficePosition;
|
|
18
|
+
isSubscriber?: boolean;
|
|
19
|
+
subscriptionPlan?: string;
|
|
20
|
+
badgeId?: number;
|
|
21
|
+
badgeMultiplier?: number;
|
|
22
|
+
dateCreated?: Date;
|
|
23
|
+
dateModified?: Date;
|
|
24
|
+
beautyProfile?: BeautyProfile;
|
|
25
|
+
static toInstance<T extends ModelBaseStructure<User>>(this: new () => T, data?: Partial<NonFunctionProperties<User>>): T;
|
|
26
|
+
toPlain(): any;
|
|
27
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
28
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { BeautyProfile } from '../models/beauty-profile';
|
|
3
|
-
export interface BeautyProfileRepository extends CrudRepository<BeautyProfile> {
|
|
4
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { BeautyProfile } from '../models/beauty-profile';
|
|
3
|
+
export interface BeautyProfileRepository extends CrudRepository<BeautyProfile> {
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { Edition } from '../models/subscription/edition';
|
|
3
|
-
export interface EditionRepository extends CrudRepository<Edition> {
|
|
4
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { Edition } from '../models/subscription/edition';
|
|
3
|
+
export interface EditionRepository extends CrudRepository<Edition> {
|
|
4
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './user.repository';
|
|
2
|
-
export * from './subscription.repository';
|
|
3
|
-
export * from './edition.repository';
|
|
4
|
-
export * from './beauty-profile.repository';
|
|
5
|
-
export * from './user-address.repository';
|
|
6
|
-
export * from './user-payment-method.repository';
|
|
7
|
-
export * from './subscription-payment.repository';
|
|
8
|
-
export * from './lead.repository';
|
|
1
|
+
export * from './user.repository';
|
|
2
|
+
export * from './subscription.repository';
|
|
3
|
+
export * from './edition.repository';
|
|
4
|
+
export * from './beauty-profile.repository';
|
|
5
|
+
export * from './user-address.repository';
|
|
6
|
+
export * from './user-payment-method.repository';
|
|
7
|
+
export * from './subscription-payment.repository';
|
|
8
|
+
export * from './lead.repository';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { Lead } from '../models/lead';
|
|
3
|
-
export interface LeadRepository extends CrudRepository<Lead> {
|
|
4
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { Lead } from '../models/lead';
|
|
3
|
+
export interface LeadRepository extends CrudRepository<Lead> {
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { SubscriptionPayment } from '../models/subscription/payment';
|
|
3
|
-
export interface SubscriptionPaymentRepository extends CrudRepository<SubscriptionPayment> {
|
|
4
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { SubscriptionPayment } from '../models/subscription/payment';
|
|
3
|
+
export interface SubscriptionPaymentRepository extends CrudRepository<SubscriptionPayment> {
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { Subscription } from '../models/subscription/subscription';
|
|
3
|
-
export interface SubscriptionRepository extends CrudRepository<Subscription> {
|
|
4
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { Subscription } from '../models/subscription/subscription';
|
|
3
|
+
export interface SubscriptionRepository extends CrudRepository<Subscription> {
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { UserAddress } from '../models/user-address';
|
|
3
|
-
export interface UserAddressRepository extends CrudRepository<UserAddress> {
|
|
4
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { UserAddress } from '../models/user-address';
|
|
3
|
+
export interface UserAddressRepository extends CrudRepository<UserAddress> {
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UserPaymentMethod } from '../models/user-payment-method';
|
|
2
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
3
|
-
export interface UserPaymentMethodRepository extends CrudRepository<UserPaymentMethod> {
|
|
4
|
-
}
|
|
1
|
+
import { UserPaymentMethod } from '../models/user-payment-method';
|
|
2
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
3
|
+
export interface UserPaymentMethodRepository extends CrudRepository<UserPaymentMethod> {
|
|
4
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { NonFunctionPropertyNames } from '../../generic';
|
|
3
|
-
import { User } from '../models/user';
|
|
4
|
-
export interface UserRepository extends CrudRepository<User> {
|
|
5
|
-
checkIfExistsByField(field: Extract<NonFunctionPropertyNames<User>, 'cpf' | 'email'>, value: string): Promise<boolean>;
|
|
6
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { NonFunctionPropertyNames } from '../../generic';
|
|
3
|
+
import { User } from '../models/user';
|
|
4
|
+
export interface UserRepository extends CrudRepository<User> {
|
|
5
|
+
checkIfExistsByField(field: Extract<NonFunctionPropertyNames<User>, 'cpf' | 'email'>, value: string): Promise<boolean>;
|
|
6
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { BasicUserData } from './types/basic-user-data.type';
|
|
2
|
-
export declare type LoginAndPasswordParams = {
|
|
3
|
-
email: string;
|
|
4
|
-
password: string;
|
|
5
|
-
};
|
|
6
|
-
export interface AuthenticationService {
|
|
7
|
-
signInWithEmailAndPassword(data: LoginAndPasswordParams): Promise<BasicUserData>;
|
|
8
|
-
signInWithGoogle(): Promise<BasicUserData>;
|
|
9
|
-
signOut(): Promise<void>;
|
|
10
|
-
signInAnonymously(): Promise<Pick<BasicUserData, 'id' | 'isAnonymous'>>;
|
|
11
|
-
sendPasswordResetEmail(email: string): Promise<void>;
|
|
12
|
-
}
|
|
1
|
+
import { BasicUserData } from './types/basic-user-data.type';
|
|
2
|
+
export declare type LoginAndPasswordParams = {
|
|
3
|
+
email: string;
|
|
4
|
+
password: string;
|
|
5
|
+
};
|
|
6
|
+
export interface AuthenticationService {
|
|
7
|
+
signInWithEmailAndPassword(data: LoginAndPasswordParams): Promise<BasicUserData>;
|
|
8
|
+
signInWithGoogle(): Promise<BasicUserData>;
|
|
9
|
+
signOut(): Promise<void>;
|
|
10
|
+
signInAnonymously(): Promise<Pick<BasicUserData, 'id' | 'isAnonymous'>>;
|
|
11
|
+
sendPasswordResetEmail(email: string): Promise<void>;
|
|
12
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './authentication.service';
|
|
2
|
-
export * from './register.service';
|
|
3
|
-
export * from './types';
|
|
1
|
+
export * from './authentication.service';
|
|
2
|
+
export * from './register.service';
|
|
3
|
+
export * from './types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BasicUserData } from './types/basic-user-data.type';
|
|
2
|
-
export declare type RegisterParams = Omit<BasicUserData, 'isAnonymous'> & {
|
|
3
|
-
password: string;
|
|
4
|
-
};
|
|
5
|
-
export interface RegisterService {
|
|
6
|
-
register(params: RegisterParams): Promise<BasicUserData>;
|
|
7
|
-
}
|
|
1
|
+
import { BasicUserData } from './types/basic-user-data.type';
|
|
2
|
+
export declare type RegisterParams = Omit<BasicUserData, 'isAnonymous'> & {
|
|
3
|
+
password: string;
|
|
4
|
+
};
|
|
5
|
+
export interface RegisterService {
|
|
6
|
+
register(params: RegisterParams): Promise<BasicUserData>;
|
|
7
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { User } from '../../models/user';
|
|
2
|
-
export declare type BasicUserData = Partial<Pick<User, 'id' | 'cpf' | 'email' | 'firstName' | 'lastName' | 'displayName' | 'phone' | 'birthday'>> & {
|
|
3
|
-
isAnonymous: boolean;
|
|
4
|
-
};
|
|
1
|
+
import { User } from '../../models/user';
|
|
2
|
+
export declare type BasicUserData = Partial<Pick<User, 'id' | 'cpf' | 'email' | 'firstName' | 'lastName' | 'displayName' | 'phone' | 'birthday'>> & {
|
|
3
|
+
isAnonymous: boolean;
|
|
4
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './basic-user-data.type';
|
|
1
|
+
export * from './basic-user-data.type';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { User } from '../models';
|
|
2
|
-
import { AuthenticationService } from '../services/authentication.service';
|
|
3
|
-
import { UserRepository } from '../repositories/user.repository';
|
|
4
|
-
export declare enum SignInMethods {
|
|
5
|
-
EMAIL_PASSWORD = "email_password",
|
|
6
|
-
GOOGLE = "google"
|
|
7
|
-
}
|
|
8
|
-
declare type SignInMethod = Lowercase<keyof typeof SignInMethods>;
|
|
9
|
-
declare type SignInParams = {
|
|
10
|
-
email?: string;
|
|
11
|
-
password?: string;
|
|
12
|
-
};
|
|
13
|
-
export declare class Authentication {
|
|
14
|
-
private readonly authService;
|
|
15
|
-
private readonly userRepository;
|
|
16
|
-
constructor(authService: AuthenticationService, userRepository: UserRepository);
|
|
17
|
-
signIn({ email, password }: SignInParams, signInMethod: SignInMethod): Promise<User>;
|
|
18
|
-
private getServiceByMethod;
|
|
19
|
-
private createsUserByCredential;
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
1
|
+
import { User } from '../models';
|
|
2
|
+
import { AuthenticationService } from '../services/authentication.service';
|
|
3
|
+
import { UserRepository } from '../repositories/user.repository';
|
|
4
|
+
export declare enum SignInMethods {
|
|
5
|
+
EMAIL_PASSWORD = "email_password",
|
|
6
|
+
GOOGLE = "google"
|
|
7
|
+
}
|
|
8
|
+
declare type SignInMethod = Lowercase<keyof typeof SignInMethods>;
|
|
9
|
+
declare type SignInParams = {
|
|
10
|
+
email?: string;
|
|
11
|
+
password?: string;
|
|
12
|
+
};
|
|
13
|
+
export declare class Authentication {
|
|
14
|
+
private readonly authService;
|
|
15
|
+
private readonly userRepository;
|
|
16
|
+
constructor(authService: AuthenticationService, userRepository: UserRepository);
|
|
17
|
+
signIn({ email, password }: SignInParams, signInMethod: SignInMethod): Promise<User>;
|
|
18
|
+
private getServiceByMethod;
|
|
19
|
+
private createsUserByCredential;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './authentication';
|
|
2
|
-
export * from './register';
|
|
3
|
-
export * from './signout';
|
|
4
|
-
export * from './recovery-password';
|
|
1
|
+
export * from './authentication';
|
|
2
|
+
export * from './register';
|
|
3
|
+
export * from './signout';
|
|
4
|
+
export * from './recovery-password';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AuthenticationService } from '../services/authentication.service';
|
|
2
|
-
export declare class RecoveryPassword {
|
|
3
|
-
private readonly authService;
|
|
4
|
-
constructor(authService: AuthenticationService);
|
|
5
|
-
sendEmail(email: string): Promise<void>;
|
|
6
|
-
}
|
|
1
|
+
import { AuthenticationService } from '../services/authentication.service';
|
|
2
|
+
export declare class RecoveryPassword {
|
|
3
|
+
private readonly authService;
|
|
4
|
+
constructor(authService: AuthenticationService);
|
|
5
|
+
sendEmail(email: string): Promise<void>;
|
|
6
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { User } from '../models';
|
|
2
|
-
import { RegisterService } from '../services/register.service';
|
|
3
|
-
import { UserRepository } from '../repositories/user.repository';
|
|
4
|
-
declare type RegisterParams = Partial<User> & {
|
|
5
|
-
password: string;
|
|
6
|
-
};
|
|
7
|
-
export declare class Register {
|
|
8
|
-
private readonly registerService;
|
|
9
|
-
private readonly userRepository;
|
|
10
|
-
constructor(registerService: RegisterService, userRepository: UserRepository);
|
|
11
|
-
register(params: RegisterParams): Promise<User>;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
1
|
+
import { User } from '../models';
|
|
2
|
+
import { RegisterService } from '../services/register.service';
|
|
3
|
+
import { UserRepository } from '../repositories/user.repository';
|
|
4
|
+
declare type RegisterParams = Partial<User> & {
|
|
5
|
+
password: string;
|
|
6
|
+
};
|
|
7
|
+
export declare class Register {
|
|
8
|
+
private readonly registerService;
|
|
9
|
+
private readonly userRepository;
|
|
10
|
+
constructor(registerService: RegisterService, userRepository: UserRepository);
|
|
11
|
+
register(params: RegisterParams): Promise<User>;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AuthenticationService } from '../services/authentication.service';
|
|
2
|
-
export declare class SignOut {
|
|
3
|
-
private readonly authService;
|
|
4
|
-
constructor(authService: AuthenticationService);
|
|
5
|
-
signOut(): Promise<void>;
|
|
6
|
-
}
|
|
1
|
+
import { AuthenticationService } from '../services/authentication.service';
|
|
2
|
+
export declare class SignOut {
|
|
3
|
+
private readonly authService;
|
|
4
|
+
constructor(authService: AuthenticationService);
|
|
5
|
+
signOut(): Promise<void>;
|
|
6
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomError } from 'ts-custom-error';
|
|
2
|
-
export declare class DuplicatedResultsError extends CustomError {
|
|
3
|
-
readonly message: any;
|
|
4
|
-
constructor(message: any);
|
|
5
|
-
}
|
|
1
|
+
import { CustomError } from 'ts-custom-error';
|
|
2
|
+
export declare class DuplicatedResultsError extends CustomError {
|
|
3
|
+
readonly message: any;
|
|
4
|
+
constructor(message: any);
|
|
5
|
+
}
|
package/errors/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './invalid-argument.error';
|
|
2
|
-
export * from './required-argument.error';
|
|
3
|
-
export * from './not-found.error';
|
|
4
|
-
export * from './duplicated-results.error';
|
|
1
|
+
export * from './invalid-argument.error';
|
|
2
|
+
export * from './required-argument.error';
|
|
3
|
+
export * from './not-found.error';
|
|
4
|
+
export * from './duplicated-results.error';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomError } from 'ts-custom-error';
|
|
2
|
-
export declare class InvalidArgumentError extends CustomError {
|
|
3
|
-
readonly message: any;
|
|
4
|
-
constructor(message: any);
|
|
5
|
-
}
|
|
1
|
+
import { CustomError } from 'ts-custom-error';
|
|
2
|
+
export declare class InvalidArgumentError extends CustomError {
|
|
3
|
+
readonly message: any;
|
|
4
|
+
constructor(message: any);
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomError } from 'ts-custom-error';
|
|
2
|
-
export declare class NotFoundError extends CustomError {
|
|
3
|
-
readonly message: any;
|
|
4
|
-
constructor(message: any);
|
|
5
|
-
}
|
|
1
|
+
import { CustomError } from 'ts-custom-error';
|
|
2
|
+
export declare class NotFoundError extends CustomError {
|
|
3
|
+
readonly message: any;
|
|
4
|
+
constructor(message: any);
|
|
5
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CustomError } from 'ts-custom-error';
|
|
2
|
-
export declare class RequiredArgumentError extends CustomError {
|
|
3
|
-
readonly args: string[];
|
|
4
|
-
arguments: string[];
|
|
5
|
-
constructor(args: string[]);
|
|
6
|
-
}
|
|
1
|
+
import { CustomError } from 'ts-custom-error';
|
|
2
|
+
export declare class RequiredArgumentError extends CustomError {
|
|
3
|
+
readonly args: string[];
|
|
4
|
+
arguments: string[];
|
|
5
|
+
constructor(args: string[]);
|
|
6
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './models';
|
|
2
|
-
export * from './repositories';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './models';
|
|
2
|
+
export * from './repositories';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9kb21haW4vY2F0YWxvZy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFVBQVUsQ0FBQTtBQUN4QixjQUFjLGdCQUFnQixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9tb2RlbHMnXHJcbmV4cG9ydCAqIGZyb20gJy4vcmVwb3NpdG9yaWVzJ1xyXG4iXX0=
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaseModel } from '../../generic/model';
|
|
2
|
-
export class CategoryFilter extends BaseModel {
|
|
3
|
-
// identifierFields(): NonFunctionPropertyNames<CategoryFilter>[] {
|
|
4
|
-
// return ['id']
|
|
5
|
-
// }
|
|
6
|
-
static get identifiersFields() {
|
|
7
|
-
return ['id', 'filterId', 'categoryId'];
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { BaseModel } from '../../generic/model';
|
|
2
|
+
export class CategoryFilter extends BaseModel {
|
|
3
|
+
// identifierFields(): NonFunctionPropertyNames<CategoryFilter>[] {
|
|
4
|
+
// return ['id']
|
|
5
|
+
// }
|
|
6
|
+
static get identifiersFields() {
|
|
7
|
+
return ['id', 'filterId', 'categoryId'];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnktZmlsdGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29ubmVjdC9zcmMvZG9tYWluL2NhdGFsb2cvbW9kZWxzL2NhdGVnb3J5LWZpbHRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0scUJBQXFCLENBQUE7QUFJL0MsTUFBTSxPQUFPLGNBQWUsU0FBUSxTQUF5QjtJQUszRCxtRUFBbUU7SUFDbkUsa0JBQWtCO0lBQ2xCLElBQUk7SUFFSixNQUFNLEtBQUssaUJBQWlCO1FBQzFCLE9BQU8sQ0FBQyxJQUFJLEVBQUUsVUFBVSxFQUFFLFlBQVksQ0FBQyxDQUFBO0lBQ3pDLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJhc2VNb2RlbCB9IGZyb20gJy4uLy4uL2dlbmVyaWMvbW9kZWwnXHJcblxyXG50eXBlIENhdGVnb3J5RmlsdGVySWRlbnRpZmllcnMgPSAnaWQnIHwgJ2ZpbHRlcklkJyB8ICdjYXRlZ29yeUlkJ1xyXG5cclxuZXhwb3J0IGNsYXNzIENhdGVnb3J5RmlsdGVyIGV4dGVuZHMgQmFzZU1vZGVsPENhdGVnb3J5RmlsdGVyPiB7XHJcbiAgaWQ6IG51bWJlclxyXG4gIGZpbHRlcklkOiBudW1iZXJcclxuICBjYXRlZ29yeUlkOiBudW1iZXJcclxuXHJcbiAgLy8gaWRlbnRpZmllckZpZWxkcygpOiBOb25GdW5jdGlvblByb3BlcnR5TmFtZXM8Q2F0ZWdvcnlGaWx0ZXI+W10ge1xyXG4gIC8vICAgcmV0dXJuIFsnaWQnXVxyXG4gIC8vIH1cclxuXHJcbiAgc3RhdGljIGdldCBpZGVudGlmaWVyc0ZpZWxkcygpOiBDYXRlZ29yeUZpbHRlcklkZW50aWZpZXJzW10ge1xyXG4gICAgcmV0dXJuIFsnaWQnLCAnZmlsdGVySWQnLCAnY2F0ZWdvcnlJZCddXHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { Type } from 'class-transformer';
|
|
3
|
-
import { BaseModel } from '../../generic/model';
|
|
4
|
-
import { Filter } from './filter';
|
|
5
|
-
export class Category extends BaseModel {
|
|
6
|
-
identifierFields() {
|
|
7
|
-
return ['id'];
|
|
8
|
-
}
|
|
9
|
-
static get identifiersFields() {
|
|
10
|
-
return ['id'];
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
__decorate([
|
|
14
|
-
Type(() => Filter),
|
|
15
|
-
__metadata("design:type", Array)
|
|
16
|
-
], Category.prototype, "filters", void 0);
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { Type } from 'class-transformer';
|
|
3
|
+
import { BaseModel } from '../../generic/model';
|
|
4
|
+
import { Filter } from './filter';
|
|
5
|
+
export class Category extends BaseModel {
|
|
6
|
+
identifierFields() {
|
|
7
|
+
return ['id'];
|
|
8
|
+
}
|
|
9
|
+
static get identifiersFields() {
|
|
10
|
+
return ['id'];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
__decorate([
|
|
14
|
+
Type(() => Filter),
|
|
15
|
+
__metadata("design:type", Array)
|
|
16
|
+
], Category.prototype, "filters", void 0);
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9kb21haW4vY2F0YWxvZy9tb2RlbHMvY2F0ZWdvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQTtBQUN4QyxPQUFPLEVBQUUsU0FBUyxFQUErQyxNQUFNLHFCQUFxQixDQUFBO0FBRTVGLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxVQUFVLENBQUE7QUFHakMsTUFBTSxPQUFPLFFBQVMsU0FBUSxTQUFtQjtJQXFCL0MsZ0JBQWdCO1FBQ2QsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFBO0lBQ2YsQ0FBQztJQUVELE1BQU0sS0FBSyxpQkFBaUI7UUFDMUIsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFBO0lBQ2YsQ0FBQztDQUNGO0FBVEM7SUFEQyxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMsTUFBTSxDQUFDOzt5Q0FDRCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFR5cGUgfSBmcm9tICdjbGFzcy10cmFuc2Zvcm1lcidcclxuaW1wb3J0IHsgQmFzZU1vZGVsLCBHZW5lcmljSWRlbnRpZmllciwgTm9uRnVuY3Rpb25Qcm9wZXJ0eU5hbWVzIH0gZnJvbSAnLi4vLi4vZ2VuZXJpYy9tb2RlbCdcclxuaW1wb3J0IHsgU2hvcHMgfSBmcm9tICcuL2VudW1zJ1xyXG5pbXBvcnQgeyBGaWx0ZXIgfSBmcm9tICcuL2ZpbHRlcidcclxuaW1wb3J0IHsgQ2F0ZWdvcnlDb25kaXRpb24sIENhdGVnb3J5TWV0YWRhdGEgfSBmcm9tICcuL3R5cGVzJ1xyXG5cclxuZXhwb3J0IGNsYXNzIENhdGVnb3J5IGV4dGVuZHMgQmFzZU1vZGVsPENhdGVnb3J5PiB7XHJcbiAgaWQ6IHN0cmluZ1xyXG4gIGJyYW5kQ2F0ZWdvcnk6IGJvb2xlYW5cclxuICBicmFuZExvZ28/OiBzdHJpbmdcclxuICBuYW1lOiBzdHJpbmdcclxuICBzbHVnOiBzdHJpbmdcclxuICBpbWFnZT86IHN0cmluZ1xyXG4gIGJyYW5kQ2F0ZWdvcnlCYW5uZXI/OiBzdHJpbmdcclxuICBicmFuZENhdGVnb3J5QmFubmVyTW9iaWxlPzogc3RyaW5nXHJcbiAgZGVzY3JpcHRpb246IHN0cmluZ1xyXG4gIGNvbmRpdGlvbnM/OiBDYXRlZ29yeUNvbmRpdGlvblxyXG4gIHByb2R1Y3RzPzogc3RyaW5nW11cclxuICBjcmVhdGVkQXQ/OiBEYXRlXHJcbiAgdXBkYXRlZEF0PzogRGF0ZVxyXG4gIHNob3A6IFNob3BzXHJcbiAgcHVibGlzaGVkOiBib29sZWFuXHJcbiAgbWV0YWRhdGE6IENhdGVnb3J5TWV0YWRhdGFcclxuXHJcbiAgQFR5cGUoKCkgPT4gRmlsdGVyKVxyXG4gIGZpbHRlcnM/OiBGaWx0ZXJbXVxyXG5cclxuICBpZGVudGlmaWVyRmllbGRzKCk6IE5vbkZ1bmN0aW9uUHJvcGVydHlOYW1lczxDYXRlZ29yeT5bXSB7XHJcbiAgICByZXR1cm4gWydpZCddXHJcbiAgfVxyXG5cclxuICBzdGF0aWMgZ2V0IGlkZW50aWZpZXJzRmllbGRzKCk6IEdlbmVyaWNJZGVudGlmaWVyW10ge1xyXG4gICAgcmV0dXJuIFsnaWQnXVxyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './product-genders.enum';
|
|
2
|
-
export * from './shops.enum';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './product-genders.enum';
|
|
2
|
+
export * from './shops.enum';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9kb21haW4vY2F0YWxvZy9tb2RlbHMvZW51bXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3QkFBd0IsQ0FBQTtBQUN0QyxjQUFjLGNBQWMsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcHJvZHVjdC1nZW5kZXJzLmVudW0nXHJcbmV4cG9ydCAqIGZyb20gJy4vc2hvcHMuZW51bSdcclxuIl19
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export var GenderDestination;
|
|
2
|
-
(function (GenderDestination) {
|
|
3
|
-
GenderDestination["FEMALE"] = "female";
|
|
4
|
-
GenderDestination["MALE"] = "male";
|
|
5
|
-
GenderDestination["UNISEX"] = "unisex";
|
|
6
|
-
})(GenderDestination || (GenderDestination = {}));
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export var GenderDestination;
|
|
2
|
+
(function (GenderDestination) {
|
|
3
|
+
GenderDestination["FEMALE"] = "female";
|
|
4
|
+
GenderDestination["MALE"] = "male";
|
|
5
|
+
GenderDestination["UNISEX"] = "unisex";
|
|
6
|
+
})(GenderDestination || (GenderDestination = {}));
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC1nZW5kZXJzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9kb21haW4vY2F0YWxvZy9tb2RlbHMvZW51bXMvcHJvZHVjdC1nZW5kZXJzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksaUJBSVg7QUFKRCxXQUFZLGlCQUFpQjtJQUMzQixzQ0FBaUIsQ0FBQTtJQUNqQixrQ0FBYSxDQUFBO0lBQ2Isc0NBQWlCLENBQUE7QUFDbkIsQ0FBQyxFQUpXLGlCQUFpQixLQUFqQixpQkFBaUIsUUFJNUIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBHZW5kZXJEZXN0aW5hdGlvbiB7XHJcbiAgRkVNQUxFID0gJ2ZlbWFsZScsXHJcbiAgTUFMRSA9ICdtYWxlJyxcclxuICBVTklTRVggPSAndW5pc2V4JyxcclxufVxyXG4iXX0=
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export var Shops;
|
|
2
|
-
(function (Shops) {
|
|
3
|
-
Shops["MENSMARKET"] = "mensmarket";
|
|
4
|
-
Shops["GLAMSHOP"] = "Glamshop";
|
|
5
|
-
Shops["GLAMPOINTS"] = "Glampoints";
|
|
6
|
-
Shops["ALL"] = "ALL";
|
|
7
|
-
})(Shops || (Shops = {}));
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export var Shops;
|
|
2
|
+
(function (Shops) {
|
|
3
|
+
Shops["MENSMARKET"] = "mensmarket";
|
|
4
|
+
Shops["GLAMSHOP"] = "Glamshop";
|
|
5
|
+
Shops["GLAMPOINTS"] = "Glampoints";
|
|
6
|
+
Shops["ALL"] = "ALL";
|
|
7
|
+
})(Shops || (Shops = {}));
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvcHMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2RvbWFpbi9jYXRhbG9nL21vZGVscy9lbnVtcy9zaG9wcy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLEtBS1g7QUFMRCxXQUFZLEtBQUs7SUFDZixrQ0FBeUIsQ0FBQTtJQUN6Qiw4QkFBcUIsQ0FBQTtJQUNyQixrQ0FBeUIsQ0FBQTtJQUN6QixvQkFBVyxDQUFBO0FBQ2IsQ0FBQyxFQUxXLEtBQUssS0FBTCxLQUFLLFFBS2hCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gU2hvcHMge1xyXG4gIE1FTlNNQVJLRVQgPSBgbWVuc21hcmtldGAsXHJcbiAgR0xBTVNIT1AgPSAnR2xhbXNob3AnLFxyXG4gIEdMQU1QT0lOVFMgPSAnR2xhbXBvaW50cycsXHJcbiAgQUxMID0gJ0FMTCdcclxufVxyXG4iXX0=
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaseModel } from '../../generic/model';
|
|
2
|
-
export class FilterOption extends BaseModel {
|
|
3
|
-
identifierFields() {
|
|
4
|
-
return ['id'];
|
|
5
|
-
}
|
|
6
|
-
static get identifiersFields() {
|
|
7
|
-
return ['id'];
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { BaseModel } from '../../generic/model';
|
|
2
|
+
export class FilterOption extends BaseModel {
|
|
3
|
+
identifierFields() {
|
|
4
|
+
return ['id'];
|
|
5
|
+
}
|
|
6
|
+
static get identifiersFields() {
|
|
7
|
+
return ['id'];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLW9wdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2RvbWFpbi9jYXRhbG9nL21vZGVscy9maWx0ZXItb3B0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQStDLE1BQU0scUJBQXFCLENBQUE7QUFFNUYsTUFBTSxPQUFPLFlBQWEsU0FBUSxTQUF1QjtJQU92RCxnQkFBZ0I7UUFDZCxPQUFPLENBQUMsSUFBSSxDQUFDLENBQUE7SUFDZixDQUFDO0lBRUQsTUFBTSxLQUFLLGlCQUFpQjtRQUMxQixPQUFPLENBQUMsSUFBSSxDQUFDLENBQUE7SUFDZixDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBCYXNlTW9kZWwsIEdlbmVyaWNJZGVudGlmaWVyLCBOb25GdW5jdGlvblByb3BlcnR5TmFtZXMgfSBmcm9tICcuLi8uLi9nZW5lcmljL21vZGVsJ1xyXG5cclxuZXhwb3J0IGNsYXNzIEZpbHRlck9wdGlvbiBleHRlbmRzIEJhc2VNb2RlbDxGaWx0ZXJPcHRpb24+IHtcclxuICBpZDogc3RyaW5nXHJcbiAgZmlsdGVySWQ6IG51bWJlclxyXG4gIGRlc2NyaXB0aW9uOiBzdHJpbmdcclxuICBjcmVhdGVkQXQ/OiBEYXRlXHJcbiAgdXBkYXRlZEF0PzogRGF0ZVxyXG5cclxuICBpZGVudGlmaWVyRmllbGRzKCk6IE5vbkZ1bmN0aW9uUHJvcGVydHlOYW1lczxGaWx0ZXJPcHRpb24+W10ge1xyXG4gICAgcmV0dXJuIFsnaWQnXVxyXG4gIH1cclxuXHJcbiAgc3RhdGljIGdldCBpZGVudGlmaWVyc0ZpZWxkcygpOiBHZW5lcmljSWRlbnRpZmllcltdIHtcclxuICAgIHJldHVybiBbJ2lkJ11cclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaseModel } from '../../generic/model';
|
|
2
|
-
export class Filter extends BaseModel {
|
|
3
|
-
identifierFields() {
|
|
4
|
-
return ['id'];
|
|
5
|
-
}
|
|
6
|
-
static get identifiersFields() {
|
|
7
|
-
return ['id'];
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { BaseModel } from '../../generic/model';
|
|
2
|
+
export class Filter extends BaseModel {
|
|
3
|
+
identifierFields() {
|
|
4
|
+
return ['id'];
|
|
5
|
+
}
|
|
6
|
+
static get identifiersFields() {
|
|
7
|
+
return ['id'];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29ubmVjdC9zcmMvZG9tYWluL2NhdGFsb2cvbW9kZWxzL2ZpbHRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUErQyxNQUFNLHFCQUFxQixDQUFBO0FBRzVGLE1BQU0sT0FBTyxNQUFPLFNBQVEsU0FBaUI7SUFTM0MsZ0JBQWdCO1FBQ2QsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFBO0lBQ2YsQ0FBQztJQUVELE1BQU0sS0FBSyxpQkFBaUI7UUFDMUIsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFBO0lBQ2YsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQmFzZU1vZGVsLCBHZW5lcmljSWRlbnRpZmllciwgTm9uRnVuY3Rpb25Qcm9wZXJ0eU5hbWVzIH0gZnJvbSAnLi4vLi4vZ2VuZXJpYy9tb2RlbCdcclxuaW1wb3J0IHsgRmlsdGVyT3B0aW9uIH0gZnJvbSAnLi9maWx0ZXItb3B0aW9uJ1xyXG5cclxuZXhwb3J0IGNsYXNzIEZpbHRlciBleHRlbmRzIEJhc2VNb2RlbDxGaWx0ZXI+IHtcclxuICBpZDogbnVtYmVyXHJcbiAgZGVzY3JpcHRpb246IHN0cmluZ1xyXG4gIHNsdWc6IHN0cmluZ1xyXG4gIGVuYWJsZWQ6IGJvb2xlYW5cclxuICBvcHRpb25zPzogRmlsdGVyT3B0aW9uW11cclxuICBjcmVhdGVkQXQ/OiBEYXRlXHJcbiAgdXBkYXRlZEF0PzogRGF0ZVxyXG5cclxuICBpZGVudGlmaWVyRmllbGRzKCk6IE5vbkZ1bmN0aW9uUHJvcGVydHlOYW1lczxGaWx0ZXI+W10ge1xyXG4gICAgcmV0dXJuIFsnaWQnXVxyXG4gIH1cclxuXHJcbiAgc3RhdGljIGdldCBpZGVudGlmaWVyc0ZpZWxkcygpOiBHZW5lcmljSWRlbnRpZmllcltdIHtcclxuICAgIHJldHVybiBbJ2lkJ11cclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './category';
|
|
2
|
-
export * from './category-filter';
|
|
3
|
-
export * from './enums';
|
|
4
|
-
export * from './filter';
|
|
5
|
-
export * from './filter-option';
|
|
6
|
-
export * from './kit-product';
|
|
7
|
-
export * from './product';
|
|
8
|
-
export * from './types';
|
|
9
|
-
export * from './variant';
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
export * from './category';
|
|
2
|
+
export * from './category-filter';
|
|
3
|
+
export * from './enums';
|
|
4
|
+
export * from './filter';
|
|
5
|
+
export * from './filter-option';
|
|
6
|
+
export * from './kit-product';
|
|
7
|
+
export * from './product';
|
|
8
|
+
export * from './types';
|
|
9
|
+
export * from './variant';
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9kb21haW4vY2F0YWxvZy9tb2RlbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxZQUFZLENBQUE7QUFDMUIsY0FBYyxtQkFBbUIsQ0FBQTtBQUNqQyxjQUFjLFNBQVMsQ0FBQTtBQUN2QixjQUFjLFVBQVUsQ0FBQTtBQUN4QixjQUFjLGlCQUFpQixDQUFBO0FBQy9CLGNBQWMsZUFBZSxDQUFBO0FBQzdCLGNBQWMsV0FBVyxDQUFBO0FBQ3pCLGNBQWMsU0FBUyxDQUFBO0FBQ3ZCLGNBQWMsV0FBVyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYXRlZ29yeSdcclxuZXhwb3J0ICogZnJvbSAnLi9jYXRlZ29yeS1maWx0ZXInXHJcbmV4cG9ydCAqIGZyb20gJy4vZW51bXMnXHJcbmV4cG9ydCAqIGZyb20gJy4vZmlsdGVyJ1xyXG5leHBvcnQgKiBmcm9tICcuL2ZpbHRlci1vcHRpb24nXHJcbmV4cG9ydCAqIGZyb20gJy4va2l0LXByb2R1Y3QnXHJcbmV4cG9ydCAqIGZyb20gJy4vcHJvZHVjdCdcclxuZXhwb3J0ICogZnJvbSAnLi90eXBlcydcclxuZXhwb3J0ICogZnJvbSAnLi92YXJpYW50J1xyXG4iXX0=
|