@infrab4a/connect 5.4.0-alpha.2 → 5.4.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +9323 -9323
- package/index.d.ts +1 -1
- package/index.esm.js +9323 -9323
- package/package.json +2 -2
- package/src/domain/catalog/helpers/index.d.ts +1 -1
- package/src/domain/catalog/helpers/round-product-price.helper.d.ts +4 -4
- package/src/domain/catalog/index.d.ts +3 -3
- package/src/domain/catalog/models/category-collection-children.d.ts +13 -13
- package/src/domain/catalog/models/category-filter.d.ts +13 -13
- package/src/domain/catalog/models/category-product.d.ts +8 -8
- package/src/domain/catalog/models/category.d.ts +52 -52
- package/src/domain/catalog/models/enums/brand-equity-options.enum.d.ts +7 -7
- package/src/domain/catalog/models/enums/index.d.ts +5 -5
- package/src/domain/catalog/models/enums/product-genders.enum.d.ts +5 -5
- package/src/domain/catalog/models/enums/product-label.enum.d.ts +6 -6
- package/src/domain/catalog/models/enums/shops.enum.d.ts +6 -6
- package/src/domain/catalog/models/enums/wishlist-log.enum.d.ts +7 -7
- package/src/domain/catalog/models/filter-option.d.ts +9 -9
- package/src/domain/catalog/models/filter.d.ts +15 -15
- package/src/domain/catalog/models/group.d.ts +6 -6
- package/src/domain/catalog/models/index.d.ts +16 -16
- package/src/domain/catalog/models/kit-product.d.ts +13 -13
- package/src/domain/catalog/models/product-base.d.ts +50 -50
- package/src/domain/catalog/models/product-errors.d.ts +16 -16
- package/src/domain/catalog/models/product-review.d.ts +20 -20
- package/src/domain/catalog/models/product-stock-notification.d.ts +12 -12
- package/src/domain/catalog/models/product.d.ts +6 -6
- package/src/domain/catalog/models/types/brand-equity-option.type.d.ts +2 -2
- package/src/domain/catalog/models/types/brands-shop-menu.type.d.ts +13 -13
- package/src/domain/catalog/models/types/category-condition.type.d.ts +4 -4
- package/src/domain/catalog/models/types/category-images.type.d.ts +8 -8
- package/src/domain/catalog/models/types/category-metadata.type.d.ts +6 -6
- package/src/domain/catalog/models/types/category-most-relevant.type.d.ts +4 -4
- package/src/domain/catalog/models/types/category-product.d.ts +4 -4
- package/src/domain/catalog/models/types/index.d.ts +16 -16
- package/src/domain/catalog/models/types/product-evaluation.type.d.ts +6 -6
- package/src/domain/catalog/models/types/product-gender.type.d.ts +1 -1
- package/src/domain/catalog/models/types/product-label.type.d.ts +2 -2
- package/src/domain/catalog/models/types/product-metadata.type.d.ts +4 -4
- package/src/domain/catalog/models/types/product-variant-report.type.d.ts +46 -46
- package/src/domain/catalog/models/types/report-stock-notification.type.d.ts +21 -21
- package/src/domain/catalog/models/types/shop-description.type.d.ts +9 -9
- package/src/domain/catalog/models/types/shop-price.type.d.ts +7 -7
- package/src/domain/catalog/models/types/stock.type.d.ts +3 -3
- package/src/domain/catalog/models/types/variant-grade.type.d.ts +4 -4
- package/src/domain/catalog/models/variant.d.ts +8 -8
- package/src/domain/catalog/models/wishlist.d.ts +11 -11
- package/src/domain/catalog/repositories/category-collection-children.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/category-filter.repository.d.ts +7 -7
- package/src/domain/catalog/repositories/category-product.repository.d.ts +11 -11
- package/src/domain/catalog/repositories/category.repository.d.ts +43 -43
- package/src/domain/catalog/repositories/filter-option.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/filter.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/group.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/index.d.ts +14 -14
- package/src/domain/catalog/repositories/product-errors.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/product-reviews.repository.d.ts +7 -7
- package/src/domain/catalog/repositories/product-stock-notification.repository.d.ts +20 -20
- package/src/domain/catalog/repositories/product.repository.d.ts +40 -40
- package/src/domain/catalog/repositories/subscription-product.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/variant.repository.d.ts +5 -5
- package/src/domain/catalog/repositories/wishlist.repository.d.ts +11 -11
- package/src/domain/general/cacheadapter.d.ts +11 -11
- package/src/domain/general/index.d.ts +5 -5
- package/src/domain/general/models/index.d.ts +2 -2
- package/src/domain/general/models/log-document.d.ts +15 -15
- package/src/domain/general/models/sequences.d.ts +9 -9
- package/src/domain/general/repositories/index.d.ts +2 -2
- package/src/domain/general/repositories/log.repository.d.ts +4 -4
- package/src/domain/general/repositories/sequences.repository.d.ts +4 -4
- package/src/domain/general/search/index.d.ts +1 -1
- package/src/domain/general/search/product-search-index.d.ts +3 -3
- package/src/domain/general/storage/file-uploader.service.d.ts +3 -3
- package/src/domain/general/storage/index.d.ts +1 -1
- package/src/domain/generic/index.d.ts +2 -2
- package/src/domain/generic/model/base.model.d.ts +14 -14
- package/src/domain/generic/model/identifier-fields.d.ts +4 -4
- package/src/domain/generic/model/index.d.ts +3 -3
- package/src/domain/generic/model/types/base-model-builder.type.d.ts +17 -17
- package/src/domain/generic/model/types/identifier-model.type.d.ts +8 -8
- package/src/domain/generic/model/types/index.d.ts +5 -5
- package/src/domain/generic/model/types/model-base-structure.type.d.ts +12 -12
- package/src/domain/generic/model/types/non-function-properties.type.d.ts +12 -12
- package/src/domain/generic/model/types/non-function-property-name.type.d.ts +13 -13
- package/src/domain/generic/repository/create.repository.d.ts +8 -8
- package/src/domain/generic/repository/crud.repository.d.ts +19 -19
- package/src/domain/generic/repository/delete.repository.d.ts +7 -7
- package/src/domain/generic/repository/enums/index.d.ts +2 -2
- package/src/domain/generic/repository/enums/update-option-actions.enum.d.ts +7 -7
- package/src/domain/generic/repository/enums/where.enum.d.ts +15 -15
- package/src/domain/generic/repository/find.repository.d.ts +19 -19
- package/src/domain/generic/repository/get.repository.d.ts +8 -8
- package/src/domain/generic/repository/index.d.ts +9 -9
- package/src/domain/generic/repository/read.repository.d.ts +14 -14
- package/src/domain/generic/repository/types/index.d.ts +7 -7
- package/src/domain/generic/repository/types/repository-cache-options.type.d.ts +9 -9
- package/src/domain/generic/repository/types/repository-find-filters.type.d.ts +15 -15
- package/src/domain/generic/repository/types/repository-find-result.type.d.ts +14 -14
- package/src/domain/generic/repository/types/repository-limit-options.type.d.ts +4 -4
- package/src/domain/generic/repository/types/repository-order-by-list.type.d.ts +5 -5
- package/src/domain/generic/repository/types/repository-update-params.type.d.ts +11 -11
- package/src/domain/generic/repository/types/where-options.type.d.ts +2 -2
- package/src/domain/generic/repository/update.repository.d.ts +6 -6
- package/src/domain/index.d.ts +7 -7
- package/src/domain/location/index.d.ts +1 -1
- package/src/domain/location/models/address.d.ts +24 -24
- package/src/domain/location/models/index.d.ts +2 -2
- package/src/domain/location/models/types/index.d.ts +3 -3
- package/src/domain/location/models/types/location-bound.type.d.ts +6 -6
- package/src/domain/location/models/types/location-geometry.type.d.ts +7 -7
- package/src/domain/location/models/types/location-lat-lng.type.d.ts +4 -4
- package/src/domain/shop-settings/enums/filter-type.enum.d.ts +19 -19
- package/src/domain/shop-settings/enums/index.d.ts +3 -3
- package/src/domain/shop-settings/enums/questions-filters.enum.d.ts +19 -19
- package/src/domain/shop-settings/enums/shop-page-name.enum.d.ts +19 -19
- package/src/domain/shop-settings/helpers/beauty-questions.helper.d.ts +9 -9
- package/src/domain/shop-settings/helpers/index.d.ts +1 -1
- package/src/domain/shop-settings/index.d.ts +4 -4
- package/src/domain/shop-settings/models/campaign-banner.d.ts +11 -11
- package/src/domain/shop-settings/models/campaign.d.ts +10 -10
- package/src/domain/shop-settings/models/home.d.ts +19 -19
- package/src/domain/shop-settings/models/index.d.ts +6 -6
- package/src/domain/shop-settings/models/shop-menu.d.ts +9 -9
- package/src/domain/shop-settings/models/shop-settings.d.ts +15 -15
- package/src/domain/shop-settings/models/types/banner.type.d.ts +6 -6
- package/src/domain/shop-settings/models/types/benefit.type.d.ts +5 -5
- package/src/domain/shop-settings/models/types/brands-carousel.type.d.ts +3 -3
- package/src/domain/shop-settings/models/types/campaign-page.d.ts +17 -17
- package/src/domain/shop-settings/models/types/home-data.type.d.ts +15 -15
- package/src/domain/shop-settings/models/types/index.d.ts +18 -18
- package/src/domain/shop-settings/models/types/landing-page.d.ts +8 -8
- package/src/domain/shop-settings/models/types/menu-nav.type.d.ts +9 -9
- package/src/domain/shop-settings/models/types/promotion-page.d.ts +10 -10
- package/src/domain/shop-settings/models/types/sections.type.d.ts +37 -37
- package/src/domain/shop-settings/models/types/shop-banner.type.d.ts +13 -13
- package/src/domain/shop-settings/models/types/shop-brands.type.d.ts +10 -10
- package/src/domain/shop-settings/models/types/shop-carousel.type.d.ts +4 -4
- package/src/domain/shop-settings/models/types/shop-collection.type.d.ts +9 -9
- package/src/domain/shop-settings/models/types/shop-gift.type.d.ts +8 -8
- package/src/domain/shop-settings/models/types/shop-home.d.ts +12 -12
- package/src/domain/shop-settings/models/types/shop-post.type.d.ts +7 -7
- package/src/domain/shop-settings/models/types/shop-sameday-not-available.d.ts +6 -6
- package/src/domain/shop-settings/models/types/shop-section.type.d.ts +12 -12
- package/src/domain/shop-settings/models/types/sub-menu.type.d.ts +8 -8
- package/src/domain/shop-settings/repositories/campaign-banner.repository.d.ts +4 -4
- package/src/domain/shop-settings/repositories/campaign.repository.d.ts +4 -4
- package/src/domain/shop-settings/repositories/home.repository.d.ts +4 -4
- package/src/domain/shop-settings/repositories/index.d.ts +5 -5
- package/src/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -4
- package/src/domain/shop-settings/repositories/shop-settings.repository.d.ts +4 -4
- package/src/domain/shopping/enums/antifraud-providers.enum.d.ts +6 -6
- package/src/domain/shopping/enums/business-unit.enum.d.ts +4 -4
- package/src/domain/shopping/enums/index.d.ts +8 -8
- package/src/domain/shopping/enums/order-blocked.enum.d.ts +5 -5
- package/src/domain/shopping/enums/pagarme-payment-status.enum.d.ts +10 -10
- package/src/domain/shopping/enums/pagarme-v5-payment-status.enum.d.ts +24 -24
- package/src/domain/shopping/enums/payment-methods.enum.d.ts +6 -6
- package/src/domain/shopping/enums/payment-providers.enum.d.ts +5 -5
- package/src/domain/shopping/enums/transaction-payment-methods.enum.d.ts +5 -5
- package/src/domain/shopping/factories/adyen-payment-method.factory.d.ts +9 -9
- package/src/domain/shopping/factories/antifraud-provider.factory.d.ts +15 -15
- package/src/domain/shopping/factories/base-payment-method.factory.d.ts +7 -7
- package/src/domain/shopping/factories/glampoints-payment-method.factory.d.ts +8 -8
- package/src/domain/shopping/factories/index.d.ts +5 -5
- package/src/domain/shopping/factories/pagarme-payment-method.factory.d.ts +11 -11
- package/src/domain/shopping/factories/payment-provider.factory.d.ts +15 -15
- package/src/domain/shopping/index.d.ts +7 -7
- package/src/domain/shopping/interfaces/antifraud-method-factory.interface.d.ts +11 -11
- package/src/domain/shopping/interfaces/antifraud-provider.interface.d.ts +5 -5
- package/src/domain/shopping/interfaces/index.d.ts +7 -7
- package/src/domain/shopping/interfaces/payment-method-factory.interface.d.ts +14 -14
- package/src/domain/shopping/interfaces/payment-provider-bank-slip.interface.d.ts +7 -7
- package/src/domain/shopping/interfaces/payment-provider-card.interface.d.ts +21 -21
- package/src/domain/shopping/interfaces/payment-provider-glampoints.interface.d.ts +9 -9
- package/src/domain/shopping/interfaces/payment-provider-pix.interface.d.ts +5 -5
- package/src/domain/shopping/models/buy-2-win.d.ts +20 -20
- package/src/domain/shopping/models/campaign-dashboard.d.ts +15 -15
- package/src/domain/shopping/models/campaign-hashtag.d.ts +18 -18
- package/src/domain/shopping/models/checkout.d.ts +26 -26
- package/src/domain/shopping/models/coupons/coupon.d.ts +67 -67
- package/src/domain/shopping/models/coupons/enums/coupon-category.enum.d.ts +41 -41
- package/src/domain/shopping/models/coupons/enums/coupon-channels.enum.d.ts +10 -10
- package/src/domain/shopping/models/coupons/enums/coupon-club-mens.enum.d.ts +5 -5
- package/src/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -4
- package/src/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +5 -5
- package/src/domain/shopping/models/coupons/enums/exclusivities.enum.d.ts +8 -8
- package/src/domain/shopping/models/coupons/enums/index.d.ts +5 -5
- package/src/domain/shopping/models/coupons/index.d.ts +2 -2
- package/src/domain/shopping/models/coupons/types/coupon-category.type.d.ts +2 -2
- package/src/domain/shopping/models/coupons/types/coupon-channel.type.d.ts +2 -2
- package/src/domain/shopping/models/coupons/types/index.d.ts +2 -2
- package/src/domain/shopping/models/enums/checkout-types.enum.d.ts +5 -5
- package/src/domain/shopping/models/enums/index.d.ts +2 -2
- package/src/domain/shopping/models/enums/order-status.enum.d.ts +10 -10
- package/src/domain/shopping/models/index.d.ts +14 -14
- package/src/domain/shopping/models/line-item.d.ts +10 -10
- package/src/domain/shopping/models/order-blocked.d.ts +24 -24
- package/src/domain/shopping/models/order.d.ts +17 -17
- package/src/domain/shopping/models/payment-transaction.d.ts +82 -82
- package/src/domain/shopping/models/payment.d.ts +16 -16
- package/src/domain/shopping/models/shipping-method.d.ts +21 -21
- package/src/domain/shopping/models/subscription/checkout.d.ts +21 -21
- package/src/domain/shopping/models/subscription/index.d.ts +2 -2
- package/src/domain/shopping/models/subscription/plan.d.ts +10 -10
- package/src/domain/shopping/models/types/index.d.ts +7 -7
- package/src/domain/shopping/models/types/payment-address.type.d.ts +12 -12
- package/src/domain/shopping/models/types/payment-billing.type.d.ts +7 -7
- package/src/domain/shopping/models/types/payment-card.type.d.ts +14 -14
- package/src/domain/shopping/models/types/payment-customer.type.d.ts +18 -18
- package/src/domain/shopping/models/types/payment-document.type.d.ts +6 -6
- package/src/domain/shopping/models/types/payment-item.type.d.ts +11 -11
- package/src/domain/shopping/models/types/payment-shipping.type.d.ts +10 -10
- package/src/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/campaign-dashboard.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/campaign-hashtag.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/checkout.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/coupon.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/index.d.ts +10 -10
- package/src/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
- package/src/domain/shopping/repositories/order-blocked.repository.d.ts +14 -14
- package/src/domain/shopping/repositories/order.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/payment.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/subscription/index.d.ts +2 -2
- package/src/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -4
- package/src/domain/shopping/services/antifraud-bankslip.service.d.ts +9 -9
- package/src/domain/shopping/services/antifraud-card.service.d.ts +35 -35
- package/src/domain/shopping/services/antifraud-glampoints.service.d.ts +6 -6
- package/src/domain/shopping/services/antifraud-pix.service.d.ts +6 -6
- package/src/domain/shopping/services/glampoints-payment.service.d.ts +13 -13
- package/src/domain/shopping/services/index.d.ts +5 -5
- package/src/domain/shopping/types/adyen-card.type.d.ts +3 -3
- package/src/domain/shopping/types/adyen-credentials.type.d.ts +6 -6
- package/src/domain/shopping/types/antifraud-provider.type.d.ts +2 -2
- package/src/domain/shopping/types/base-card.type.d.ts +2 -2
- package/src/domain/shopping/types/card-info.type.d.ts +9 -9
- package/src/domain/shopping/types/checkout-paylod-request.type.d.ts +15 -15
- package/src/domain/shopping/types/checkout-response.type.d.ts +7 -7
- package/src/domain/shopping/types/checkout-stock-validation.type.d.ts +5 -5
- package/src/domain/shopping/types/glam-credentials.type.d.ts +6 -6
- package/src/domain/shopping/types/index.d.ts +17 -17
- package/src/domain/shopping/types/order-tracking-events.type.d.ts +14 -14
- package/src/domain/shopping/types/pagarme-card-manual-hash.type.d.ts +6 -6
- package/src/domain/shopping/types/pagarme-card.type.d.ts +22 -22
- package/src/domain/shopping/types/pagarme-credentials-v5.type.d.ts +4 -4
- package/src/domain/shopping/types/pagarme-credentials.type.d.ts +13 -13
- package/src/domain/shopping/types/payment-card-info.type.d.ts +7 -7
- package/src/domain/shopping/types/payment-method.type.d.ts +2 -2
- package/src/domain/shopping/types/payment-provider.type.d.ts +2 -2
- package/src/domain/shopping/types/shipping-method-response.type.d.ts +13 -13
- package/src/domain/shopping/types/shipping-product-request.type.d.ts +9 -9
- package/src/domain/users/errors/index.d.ts +3 -3
- package/src/domain/users/errors/unauthorized.error.d.ts +4 -4
- package/src/domain/users/errors/user-already-registered.error.d.ts +4 -4
- package/src/domain/users/errors/weak-password.error.d.ts +4 -4
- package/src/domain/users/index.d.ts +5 -5
- package/src/domain/users/models/beauty-profile.d.ts +11 -11
- package/src/domain/users/models/enums/accessory-importances.enum.d.ts +5 -5
- package/src/domain/users/models/enums/area.enum.d.ts +11 -11
- package/src/domain/users/models/enums/beard-problems.enum.d.ts +9 -9
- package/src/domain/users/models/enums/beard-sizes.enum.d.ts +7 -7
- package/src/domain/users/models/enums/beauty-product-importances.enum.d.ts +6 -6
- package/src/domain/users/models/enums/body-problems.enum.d.ts +11 -11
- package/src/domain/users/models/enums/body-shapes.enum.d.ts +7 -7
- package/src/domain/users/models/enums/body-tattoos.enum.d.ts +5 -5
- package/src/domain/users/models/enums/face-skin-oilinesses.enum.d.ts +7 -7
- package/src/domain/users/models/enums/face-skin-problems.enum.d.ts +10 -10
- package/src/domain/users/models/enums/face-skin-tones.enum.d.ts +8 -8
- package/src/domain/users/models/enums/family-incomes.enum.d.ts +8 -8
- package/src/domain/users/models/enums/fragrance-importances.enum.d.ts +5 -5
- package/src/domain/users/models/enums/hair-colors.enum.d.ts +10 -10
- package/src/domain/users/models/enums/hair-problems.enum.d.ts +10 -10
- package/src/domain/users/models/enums/hair-strands.enum.d.ts +8 -8
- package/src/domain/users/models/enums/hair-types.enum.d.ts +7 -7
- package/src/domain/users/models/enums/index.d.ts +21 -21
- package/src/domain/users/models/enums/office-position.enum.d.ts +6 -6
- package/src/domain/users/models/enums/person-types.enum.d.ts +5 -5
- package/src/domain/users/models/enums/product-spents.enum.d.ts +8 -8
- package/src/domain/users/models/enums/user-type.enum.d.ts +8 -8
- package/src/domain/users/models/index.d.ts +8 -8
- package/src/domain/users/models/lead.d.ts +8 -8
- package/src/domain/users/models/subscription/edition.d.ts +16 -16
- package/src/domain/users/models/subscription/enums/billing-status.enum.d.ts +3 -3
- package/src/domain/users/models/subscription/enums/edition-status.enum.d.ts +4 -4
- package/src/domain/users/models/subscription/enums/index.d.ts +5 -5
- package/src/domain/users/models/subscription/enums/payment-type.enum.d.ts +5 -5
- package/src/domain/users/models/subscription/enums/plans.enum.d.ts +6 -6
- package/src/domain/users/models/subscription/enums/status.enum.d.ts +4 -4
- package/src/domain/users/models/subscription/index.d.ts +7 -7
- package/src/domain/users/models/subscription/payment.d.ts +13 -13
- package/src/domain/users/models/subscription/subscription-materialization.d.ts +32 -32
- package/src/domain/users/models/subscription/subscription-summary.d.ts +15 -15
- package/src/domain/users/models/subscription/subscription.d.ts +29 -29
- package/src/domain/users/models/subscription/types/index.d.ts +1 -1
- package/src/domain/users/models/subscription/types/plan.type.d.ts +2 -2
- package/src/domain/users/models/types/index.d.ts +1 -1
- package/src/domain/users/models/types/person.type.d.ts +2 -2
- package/src/domain/users/models/user-address.d.ts +7 -7
- package/src/domain/users/models/user-payment-method.d.ts +16 -16
- package/src/domain/users/models/user.d.ts +28 -28
- package/src/domain/users/repositories/beauty-profile.repository.d.ts +4 -4
- package/src/domain/users/repositories/edition.repository.d.ts +4 -4
- package/src/domain/users/repositories/index.d.ts +10 -10
- package/src/domain/users/repositories/lead.repository.d.ts +4 -4
- package/src/domain/users/repositories/subscription-materialization.repository.d.ts +4 -4
- package/src/domain/users/repositories/subscription-payment.repository.d.ts +4 -4
- package/src/domain/users/repositories/subscription-summary.repository.d.ts +4 -4
- package/src/domain/users/repositories/subscription.repository.d.ts +4 -4
- package/src/domain/users/repositories/user-address.repository.d.ts +4 -4
- package/src/domain/users/repositories/user-payment-method.repository.d.ts +4 -4
- package/src/domain/users/repositories/user.repository.d.ts +6 -6
- package/src/domain/users/services/authentication.service.d.ts +12 -12
- package/src/domain/users/services/index.d.ts +3 -3
- package/src/domain/users/services/register.service.d.ts +7 -7
- package/src/domain/users/services/types/basic-user-data.type.d.ts +4 -4
- package/src/domain/users/services/types/index.d.ts +1 -1
- package/src/domain/users/use-cases/authentication.d.ts +21 -21
- package/src/domain/users/use-cases/index.d.ts +5 -5
- package/src/domain/users/use-cases/recovery-password.d.ts +6 -6
- package/src/domain/users/use-cases/register.d.ts +13 -13
- package/src/domain/users/use-cases/signout.d.ts +6 -6
- package/src/domain/users/use-cases/update-user-image.d.ts +9 -9
- package/src/errors/business.error.d.ts +7 -7
- package/src/errors/duplicated-results.error.d.ts +4 -4
- package/src/errors/fraud-validation.error.d.ts +7 -7
- package/src/errors/index.d.ts +10 -10
- package/src/errors/invalid-argument.error.d.ts +4 -4
- package/src/errors/not-found.error.d.ts +4 -4
- package/src/errors/payment.error.d.ts +7 -7
- package/src/errors/required-argument.error.d.ts +6 -6
- package/src/errors/stock-limit.error.d.ts +5 -5
- package/src/errors/stock-out.error.d.ts +5 -5
- package/src/errors/types/checkout-additional-data-erro.type.d.ts +6 -6
- package/src/errors/types/index.d.ts +2 -2
- package/src/errors/types/pagarme-erros.type.d.ts +9 -9
- package/src/index.d.ts +5 -5
- package/src/infra/adyen/adapters/adyen-card-payment-axios.adapter.d.ts +19 -19
- package/src/infra/adyen/adapters/index.d.ts +1 -1
- package/src/infra/adyen/helpers/adyen-blocked-order.helper.d.ts +13 -13
- package/src/infra/adyen/helpers/adyen-payment-factory.helper.d.ts +6 -6
- package/src/infra/adyen/helpers/adyen-payment-operations.helper.d.ts +31 -31
- package/src/infra/adyen/helpers/index.d.ts +3 -3
- package/src/infra/adyen/index.d.ts +1 -1
- package/src/infra/cache/index.d.ts +1 -1
- package/src/infra/cache/restcache.adapter.d.ts +15 -15
- package/src/infra/elasticsearch/adapters/axios.adapter.d.ts +17 -17
- package/src/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +8 -8
- package/src/infra/elasticsearch/adapters/index.d.ts +2 -2
- package/src/infra/elasticsearch/helpers/elasticsearch-fields.helper.d.ts +8 -8
- package/src/infra/elasticsearch/helpers/elasticsearch-query-builder.helper.d.ts +16 -16
- package/src/infra/elasticsearch/helpers/elasticsearch-result-processor.helper.d.ts +8 -8
- package/src/infra/elasticsearch/helpers/elasticsearch-search-operations.helper.d.ts +11 -11
- package/src/infra/elasticsearch/helpers/index.d.ts +4 -4
- package/src/infra/elasticsearch/index.d.ts +3 -3
- package/src/infra/elasticsearch/indexes/index.d.ts +1 -1
- package/src/infra/elasticsearch/indexes/products-index.d.ts +13 -13
- package/src/infra/elasticsearch/types/elastic-search-result.d.ts +9 -9
- package/src/infra/elasticsearch/types/index.d.ts +1 -1
- package/src/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -12
- package/src/infra/firebase/auth/index.d.ts +2 -2
- package/src/infra/firebase/auth/register-firebase-auth.service.d.ts +8 -8
- package/src/infra/firebase/auth/types/firebase-user-with-id.type.d.ts +5 -5
- package/src/infra/firebase/auth/types/index.d.ts +1 -1
- package/src/infra/firebase/firestore/enums/firestore-field-type.enum.d.ts +8 -8
- package/src/infra/firebase/firestore/enums/index.d.ts +1 -1
- package/src/infra/firebase/firestore/index.d.ts +5 -5
- package/src/infra/firebase/firestore/mixins/helpers/cache-key-generator.helper.d.ts +9 -9
- package/src/infra/firebase/firestore/mixins/helpers/firestore-cache.helper.d.ts +41 -41
- package/src/infra/firebase/firestore/mixins/helpers/firestore-data-converter.helper.d.ts +7 -7
- package/src/infra/firebase/firestore/mixins/helpers/firestore-model-converter.helper.d.ts +14 -14
- package/src/infra/firebase/firestore/mixins/helpers/firestore-operations.helper.d.ts +24 -24
- package/src/infra/firebase/firestore/mixins/helpers/firestore-query-builder.helper.d.ts +37 -37
- package/src/infra/firebase/firestore/mixins/helpers/index.d.ts +4 -4
- package/src/infra/firebase/firestore/mixins/index.d.ts +9 -9
- package/src/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -4
- package/src/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +5 -5
- package/src/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -4
- package/src/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -4
- package/src/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +14 -14
- package/src/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -4
- package/src/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -11
- package/src/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +11 -8
- package/src/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +33 -33
- package/src/infra/firebase/firestore/repositories/catalog/group-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/catalog/index.d.ts +5 -5
- package/src/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +18 -18
- package/src/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +13 -13
- package/src/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/general/index.d.ts +2 -2
- package/src/infra/firebase/firestore/repositories/general/log-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/general/sequences-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/index.d.ts +5 -5
- package/src/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -16
- package/src/infra/firebase/firestore/repositories/shop-settings/index.d.ts +3 -3
- package/src/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shop-settings/shop-settings-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shopping/campaign-dashboard-firestore.repository.d.ts +8 -8
- package/src/infra/firebase/firestore/repositories/shopping/campaign-hashtag-firestore.repository.d.ts +8 -8
- package/src/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/repositories/shopping/index.d.ts +11 -11
- package/src/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +6 -6
- package/src/infra/firebase/firestore/repositories/shopping/order-blocked-firestore.repository.d.ts +16 -16
- package/src/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +13 -13
- package/src/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/users/index.d.ts +10 -10
- package/src/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/users/subscription-materialization-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/repositories/users/subscription-summary-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +17 -17
- package/src/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +12 -12
- package/src/infra/firebase/firestore/services/connect-collection-reference.d.ts +21 -21
- package/src/infra/firebase/firestore/services/connect-collection.service.d.ts +32 -32
- package/src/infra/firebase/firestore/services/connect-document-reference.d.ts +12 -12
- package/src/infra/firebase/firestore/services/connect-document.service.d.ts +17 -17
- package/src/infra/firebase/firestore/services/connect-firestore.d.ts +7 -7
- package/src/infra/firebase/firestore/services/connect-firestore.service.d.ts +11 -11
- package/src/infra/firebase/firestore/services/index.d.ts +6 -6
- package/src/infra/firebase/firestore/types/connect-firestore/connect-document-data.type.d.ts +5 -5
- package/src/infra/firebase/firestore/types/connect-firestore/connect-document-snapshot.type.d.ts +10 -10
- package/src/infra/firebase/firestore/types/connect-firestore/connect-query-snapshot.type.d.ts +7 -7
- package/src/infra/firebase/firestore/types/connect-firestore/connect-where-option.type.d.ts +2 -2
- package/src/infra/firebase/firestore/types/connect-firestore/index.d.ts +4 -4
- package/src/infra/firebase/firestore/types/firestore-interceptors.type.d.ts +14 -14
- package/src/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -6
- package/src/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -8
- package/src/infra/firebase/firestore/types/firestore.repository.type.d.ts +21 -21
- package/src/infra/firebase/firestore/types/index.d.ts +5 -5
- package/src/infra/firebase/firestore/vo/connectBaseDocumentSnapshot.vo.d.ts +10 -10
- package/src/infra/firebase/firestore/vo/index.d.ts +1 -1
- package/src/infra/firebase/index.d.ts +3 -3
- package/src/infra/firebase/storage/firebase-file-uploader.service.d.ts +8 -8
- package/src/infra/firebase/storage/index.d.ts +1 -1
- package/src/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -11
- package/src/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +18 -18
- package/src/infra/hasura-graphql/enums/index.d.ts +2 -2
- package/src/infra/hasura-graphql/index.d.ts +4 -4
- package/src/infra/hasura-graphql/mixins/factories/create-hasura-class.factory.d.ts +30 -30
- package/src/infra/hasura-graphql/mixins/factories/delete-hasura-class.factory.d.ts +26 -26
- package/src/infra/hasura-graphql/mixins/factories/find-hasura-class.factory.d.ts +31 -31
- package/src/infra/hasura-graphql/mixins/factories/get-hasura-class.factory.d.ts +29 -29
- package/src/infra/hasura-graphql/mixins/factories/hasura-graphql-class.factory.d.ts +40 -40
- package/src/infra/hasura-graphql/mixins/factories/index.d.ts +6 -6
- package/src/infra/hasura-graphql/mixins/factories/update-hasura-class.factory.d.ts +36 -36
- package/src/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +19 -13
- package/src/infra/hasura-graphql/mixins/helpers/bind-filter-query.helper.d.ts +10 -10
- package/src/infra/hasura-graphql/mixins/helpers/cache-key-generator.helper.d.ts +6 -6
- package/src/infra/hasura-graphql/mixins/helpers/create/hasura-column.helper.d.ts +7 -7
- package/src/infra/hasura-graphql/mixins/helpers/create/hasura-create-operations.helper.d.ts +16 -16
- package/src/infra/hasura-graphql/mixins/helpers/create/index.d.ts +2 -2
- package/src/infra/hasura-graphql/mixins/helpers/delete/hasura-cache-operations.helper.d.ts +9 -9
- package/src/infra/hasura-graphql/mixins/helpers/delete/hasura-delete-operations.helper.d.ts +15 -15
- package/src/infra/hasura-graphql/mixins/helpers/delete/hasura-delete-variables.helper.d.ts +10 -10
- package/src/infra/hasura-graphql/mixins/helpers/delete/index.d.ts +3 -3
- package/src/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +10 -8
- package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-binding.helper.d.ts +18 -18
- package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-cache.helper.d.ts +25 -25
- package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-operations.helper.d.ts +20 -20
- package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-query-builder.helper.d.ts +14 -14
- package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-result.helper.d.ts +26 -26
- package/src/infra/hasura-graphql/mixins/helpers/find/hasura-find-variables.helper.d.ts +21 -21
- package/src/infra/hasura-graphql/mixins/helpers/find/index.d.ts +6 -6
- package/src/infra/hasura-graphql/mixins/helpers/get/hasura-get-cache.helper.d.ts +21 -21
- package/src/infra/hasura-graphql/mixins/helpers/get/hasura-get-operations.helper.d.ts +18 -18
- package/src/infra/hasura-graphql/mixins/helpers/get/hasura-get-variables.helper.d.ts +9 -9
- package/src/infra/hasura-graphql/mixins/helpers/get/index.d.ts +3 -3
- package/src/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +12 -10
- package/src/infra/hasura-graphql/mixins/helpers/hasura-auth.helper.d.ts +4 -4
- package/src/infra/hasura-graphql/mixins/helpers/hasura-data-converter.helper.d.ts +8 -8
- package/src/infra/hasura-graphql/mixins/helpers/hasura-graphql-operations.helper.d.ts +32 -32
- package/src/infra/hasura-graphql/mixins/helpers/hasura-query-builder.helper.d.ts +23 -23
- package/src/infra/hasura-graphql/mixins/helpers/hasura-request.helper.d.ts +11 -11
- package/src/infra/hasura-graphql/mixins/helpers/index.d.ts +16 -16
- package/src/infra/hasura-graphql/mixins/helpers/md5-generator.helper.d.ts +4 -4
- package/src/infra/hasura-graphql/mixins/helpers/update/hasura-update-data.helper.d.ts +6 -6
- package/src/infra/hasura-graphql/mixins/helpers/update/hasura-update-operations.helper.d.ts +18 -18
- package/src/infra/hasura-graphql/mixins/helpers/update/hasura-update-variables.helper.d.ts +25 -25
- package/src/infra/hasura-graphql/mixins/helpers/update/index.d.ts +3 -3
- package/src/infra/hasura-graphql/mixins/index.d.ts +7 -7
- package/src/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +5 -5
- package/src/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +7 -7
- package/src/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +5 -5
- package/src/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +4 -4
- package/src/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +5 -5
- package/src/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +6 -6
- package/src/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +6 -6
- package/src/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -6
- package/src/infra/hasura-graphql/models/index.d.ts +5 -5
- package/src/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +5 -5
- package/src/infra/hasura-graphql/models/product-errors-hasura-graphql.d.ts +6 -6
- package/src/infra/hasura-graphql/models/product-hasura-graphql.d.ts +18 -18
- package/src/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +8 -8
- package/src/infra/hasura-graphql/models/wishlist-hasura-graphql.d.ts +4 -4
- package/src/infra/hasura-graphql/repositories/catalog/category-collection-children-hasura-graphql.repository.d.ts +8 -8
- package/src/infra/hasura-graphql/repositories/catalog/category-filter-hasura-graphql.repository.d.ts +11 -11
- package/src/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +38 -38
- package/src/infra/hasura-graphql/repositories/catalog/category-product-hasura-graphql.repository.d.ts +14 -14
- package/src/infra/hasura-graphql/repositories/catalog/filter-hasura-graphql.repository.d.ts +16 -16
- package/src/infra/hasura-graphql/repositories/catalog/filter-option-hasura-graphql.repository.d.ts +8 -8
- package/src/infra/hasura-graphql/repositories/catalog/helpers/category-cache-operations.helper.d.ts +31 -31
- package/src/infra/hasura-graphql/repositories/catalog/helpers/category-filter-operations.helper.d.ts +17 -17
- package/src/infra/hasura-graphql/repositories/catalog/helpers/category-home-operations.helper.d.ts +32 -32
- package/src/infra/hasura-graphql/repositories/catalog/helpers/category-mount-operations.helper.d.ts +19 -19
- package/src/infra/hasura-graphql/repositories/catalog/helpers/category-product-operations.helper.d.ts +62 -62
- package/src/infra/hasura-graphql/repositories/catalog/helpers/index.d.ts +10 -10
- package/src/infra/hasura-graphql/repositories/catalog/helpers/product-fetch-reviews.helper.d.ts +17 -17
- package/src/infra/hasura-graphql/repositories/catalog/helpers/product-review-cache.helper.d.ts +28 -28
- package/src/infra/hasura-graphql/repositories/catalog/helpers/product-review-operations.helper.d.ts +20 -20
- package/src/infra/hasura-graphql/repositories/catalog/helpers/product-review-update.helper.d.ts +20 -20
- package/src/infra/hasura-graphql/repositories/catalog/helpers/product-variant-report.helper.d.ts +9 -9
- package/src/infra/hasura-graphql/repositories/catalog/index.d.ts +12 -12
- package/src/infra/hasura-graphql/repositories/catalog/product-errors-hasura-graphql.repository.d.ts +13 -13
- package/src/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +45 -45
- package/src/infra/hasura-graphql/repositories/catalog/product-review-hasura-graphql.repository.d.ts +11 -11
- package/src/infra/hasura-graphql/repositories/catalog/product-stock-notification-hasura-graphql.repository.d.ts +22 -22
- package/src/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +13 -13
- package/src/infra/hasura-graphql/repositories/catalog/wishlist-hasura-graphql.repository.d.ts +30 -30
- package/src/infra/hasura-graphql/repositories/index.d.ts +1 -1
- package/src/infra/hasura-graphql/types/fields.type.d.ts +2 -2
- package/src/infra/hasura-graphql/types/graphql.repository.type.d.ts +25 -25
- package/src/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -8
- package/src/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +44 -44
- package/src/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -7
- package/src/infra/hasura-graphql/types/index.d.ts +8 -8
- package/src/infra/hasura-graphql/types/nested-field.type.d.ts +7 -7
- package/src/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -7
- package/src/infra/hasura-graphql/types/variable-options.type.d.ts +9 -9
- package/src/infra/index.d.ts +7 -7
- package/src/infra/pagarme/adapters/helpers/index.d.ts +5 -5
- package/src/infra/pagarme/adapters/helpers/pagarme-blocked-order.helper.d.ts +14 -14
- package/src/infra/pagarme/adapters/helpers/pagarme-payment-factory.helper.d.ts +11 -11
- package/src/infra/pagarme/adapters/helpers/pagarme-payment-operations.helper.d.ts +12 -12
- package/src/infra/pagarme/adapters/helpers/pagarme-v5-request.helper.d.ts +12 -12
- package/src/infra/pagarme/adapters/helpers/pagarme-v5-response.helper.d.ts +10 -10
- package/src/infra/pagarme/adapters/index.d.ts +2 -2
- package/src/infra/pagarme/adapters/v4/index.d.ts +3 -3
- package/src/infra/pagarme/adapters/v4/pagarme-bank-slip-payment-axios.adapter.d.ts +12 -12
- package/src/infra/pagarme/adapters/v4/pagarme-card-payment-axios.adapter.d.ts +18 -18
- package/src/infra/pagarme/adapters/v4/pagarme-pix-payment-axios.adapter.d.ts +11 -11
- package/src/infra/pagarme/adapters/v5/index.d.ts +3 -3
- package/src/infra/pagarme/adapters/v5/pagarmev5-bank-slip-payment-axios.adapter.d.ts +11 -11
- package/src/infra/pagarme/adapters/v5/pagarmev5-card-payment-axios.adapter.d.ts +24 -24
- package/src/infra/pagarme/adapters/v5/pagarmev5-pix-payment-axios.adapter.d.ts +10 -10
- package/src/infra/pagarme/index.d.ts +2 -2
- package/src/infra/pagarme/types/index.d.ts +1 -1
- package/src/infra/pagarme/types/v5/index.d.ts +4 -4
- package/src/infra/pagarme/types/v5/pagarmev5-customer.type.d.ts +19 -19
- package/src/infra/pagarme/types/v5/pagarmev5-order-request-payload.type.d.ts +89 -89
- package/src/infra/pagarme/types/v5/pagarmev5-order-response.type.d.ts +126 -126
- package/src/infra/pagarme/types/v5/pagarmev5-postback-response.type.d.ts +11 -11
- package/src/infra/vertex-ai/adapters/index.d.ts +2 -2
- package/src/infra/vertex-ai/adapters/vertex-ai-search.adapter.d.ts +10 -10
- package/src/infra/vertex-ai/adapters/vertex-axios.adapter.d.ts +15 -15
- package/src/infra/vertex-ai/index.d.ts +3 -3
- package/src/infra/vertex-ai/indexes/index.d.ts +1 -1
- package/src/infra/vertex-ai/indexes/products-vertex-search.d.ts +13 -13
- package/src/infra/vertex-ai/types/axios-vertex-search-config.d.ts +4 -4
- package/src/infra/vertex-ai/types/index.d.ts +3 -3
- package/src/infra/vertex-ai/types/product-bulk.d.ts +4 -4
- package/src/infra/vertex-ai/types/product-search.d.ts +21 -21
- package/src/utils/circular-dependencies.d.ts +3 -3
- package/src/utils/decorators/debug.class.decorator.d.ts +2 -2
- package/src/utils/decorators/index.d.ts +2 -2
- package/src/utils/decorators/trace.method.decorator.d.ts +14 -14
- package/src/utils/get.d.ts +1 -1
- package/src/utils/helpers/class-name.helper.d.ts +3 -3
- package/src/utils/helpers/debug-decorator.helper.d.ts +9 -9
- package/src/utils/helpers/debug.helper.d.ts +60 -60
- package/src/utils/helpers/index.d.ts +4 -4
- package/src/utils/helpers/reflect.helper.d.ts +50 -50
- package/src/utils/index.d.ts +17 -17
- package/src/utils/is-uuid.d.ts +1 -1
- package/src/utils/is.d.ts +1 -1
- package/src/utils/log.utils.d.ts +7 -7
- package/src/utils/mixins/base.mixin.d.ts +3 -3
- package/src/utils/mixins/index.d.ts +3 -3
- package/src/utils/mixins/merge-constructor-params.type.d.ts +3 -3
- package/src/utils/mixins/mixin-ctor.type.d.ts +1 -1
- package/src/utils/obs-emitter.d.ts +15 -15
- package/src/utils/parse-datetime.d.ts +1 -1
- package/src/utils/serialize.d.ts +2 -2
- package/src/utils/types/array-element.type.d.ts +1 -1
- package/src/utils/types/index.d.ts +2 -2
- package/src/utils/types/prop.type.d.ts +1 -1
- package/index.esm.d.ts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
-
import { ShopMenu } from '../models/shop-menu';
|
|
3
|
-
export interface ShopMenuRepository extends CrudRepository<ShopMenu> {
|
|
4
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository/crud.repository';
|
|
2
|
+
import { ShopMenu } from '../models/shop-menu';
|
|
3
|
+
export interface ShopMenuRepository extends CrudRepository<ShopMenu> {
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CrudRepository } from '../../generic/repository';
|
|
2
|
-
import { ShopSettings } from '../models/shop-settings';
|
|
3
|
-
export interface ShopSettingsRepository extends CrudRepository<ShopSettings> {
|
|
4
|
-
}
|
|
1
|
+
import { CrudRepository } from '../../generic/repository';
|
|
2
|
+
import { ShopSettings } from '../models/shop-settings';
|
|
3
|
+
export interface ShopSettingsRepository extends CrudRepository<ShopSettings> {
|
|
4
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum AntifraudProviders {
|
|
2
|
-
BANKSLIP = "bankSlip",
|
|
3
|
-
CARD = "card",
|
|
4
|
-
PIX = "pix",
|
|
5
|
-
POINTS = "glampoints"
|
|
6
|
-
}
|
|
1
|
+
export declare enum AntifraudProviders {
|
|
2
|
+
BANKSLIP = "bankSlip",
|
|
3
|
+
CARD = "card",
|
|
4
|
+
PIX = "pix",
|
|
5
|
+
POINTS = "glampoints"
|
|
6
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum BusinessUnitEnum {
|
|
2
|
-
'SUBSCRIPTION' = 1,
|
|
3
|
-
'SHOP' = 2
|
|
4
|
-
}
|
|
1
|
+
export declare enum BusinessUnitEnum {
|
|
2
|
+
'SUBSCRIPTION' = 1,
|
|
3
|
+
'SHOP' = 2
|
|
4
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './antifraud-providers.enum';
|
|
2
|
-
export * from './business-unit.enum';
|
|
3
|
-
export * from './order-blocked.enum';
|
|
4
|
-
export * from './pagarme-payment-status.enum';
|
|
5
|
-
export * from './pagarme-v5-payment-status.enum';
|
|
6
|
-
export * from './payment-methods.enum';
|
|
7
|
-
export * from './payment-providers.enum';
|
|
8
|
-
export * from './transaction-payment-methods.enum';
|
|
1
|
+
export * from './antifraud-providers.enum';
|
|
2
|
+
export * from './business-unit.enum';
|
|
3
|
+
export * from './order-blocked.enum';
|
|
4
|
+
export * from './pagarme-payment-status.enum';
|
|
5
|
+
export * from './pagarme-v5-payment-status.enum';
|
|
6
|
+
export * from './payment-methods.enum';
|
|
7
|
+
export * from './payment-providers.enum';
|
|
8
|
+
export * from './transaction-payment-methods.enum';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum OrderBlockedType {
|
|
2
|
-
Checkout = "Checkout",
|
|
3
|
-
Card = "Card",
|
|
4
|
-
Boleto = "Boleto"
|
|
5
|
-
}
|
|
1
|
+
export declare enum OrderBlockedType {
|
|
2
|
+
Checkout = "Checkout",
|
|
3
|
+
Card = "Card",
|
|
4
|
+
Boleto = "Boleto"
|
|
5
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare enum PagarmePaymentStatus {
|
|
2
|
-
'Em processamento' = "processing",
|
|
3
|
-
'Autorizada' = "authorized",
|
|
4
|
-
'Pago' = "paid",
|
|
5
|
-
'Estornada' = "refunded",
|
|
6
|
-
'Aguardando pagamento' = "waiting_payment",
|
|
7
|
-
'Aguardando estorno' = "pending_refund",
|
|
8
|
-
'Recusada/Não autorizada' = "refused",
|
|
9
|
-
'Chargedback' = "chargedback"
|
|
10
|
-
}
|
|
1
|
+
export declare enum PagarmePaymentStatus {
|
|
2
|
+
'Em processamento' = "processing",
|
|
3
|
+
'Autorizada' = "authorized",
|
|
4
|
+
'Pago' = "paid",
|
|
5
|
+
'Estornada' = "refunded",
|
|
6
|
+
'Aguardando pagamento' = "waiting_payment",
|
|
7
|
+
'Aguardando estorno' = "pending_refund",
|
|
8
|
+
'Recusada/Não autorizada' = "refused",
|
|
9
|
+
'Chargedback' = "chargedback"
|
|
10
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export declare enum PagarMeV5PaymentStatus {
|
|
2
|
-
'Em processamento' = "processing",
|
|
3
|
-
'Gerado' = "generated",
|
|
4
|
-
'Visualizado' = "viewed",
|
|
5
|
-
'Pago a menor' = "underpaid",
|
|
6
|
-
'Pago a maior' = "overpaid",
|
|
7
|
-
'Aguardando pagamento' = "waiting_payment",
|
|
8
|
-
'Pago' = "paid",
|
|
9
|
-
'Aguardando estorno' = "pending_refund",
|
|
10
|
-
'Autorizada pendente de captura' = "authorized_pending_capture",
|
|
11
|
-
'Não autorizada' = "not_authorized",
|
|
12
|
-
'Capturada' = "captured",
|
|
13
|
-
'Aguardando captura' = "waiting_capture",
|
|
14
|
-
'Com erro' = "with_error",
|
|
15
|
-
'Estornado' = "refunded",
|
|
16
|
-
'Cancelado' = "voided",
|
|
17
|
-
'Falha' = "failed"
|
|
18
|
-
}
|
|
19
|
-
export declare enum PagarMeV5OrderStatus {
|
|
20
|
-
'Pendente' = "pending",
|
|
21
|
-
'Pago' = "paid",
|
|
22
|
-
'Cancelado' = "canceled",
|
|
23
|
-
'Falha' = "failed"
|
|
24
|
-
}
|
|
1
|
+
export declare enum PagarMeV5PaymentStatus {
|
|
2
|
+
'Em processamento' = "processing",
|
|
3
|
+
'Gerado' = "generated",
|
|
4
|
+
'Visualizado' = "viewed",
|
|
5
|
+
'Pago a menor' = "underpaid",
|
|
6
|
+
'Pago a maior' = "overpaid",
|
|
7
|
+
'Aguardando pagamento' = "waiting_payment",
|
|
8
|
+
'Pago' = "paid",
|
|
9
|
+
'Aguardando estorno' = "pending_refund",
|
|
10
|
+
'Autorizada pendente de captura' = "authorized_pending_capture",
|
|
11
|
+
'Não autorizada' = "not_authorized",
|
|
12
|
+
'Capturada' = "captured",
|
|
13
|
+
'Aguardando captura' = "waiting_capture",
|
|
14
|
+
'Com erro' = "with_error",
|
|
15
|
+
'Estornado' = "refunded",
|
|
16
|
+
'Cancelado' = "voided",
|
|
17
|
+
'Falha' = "failed"
|
|
18
|
+
}
|
|
19
|
+
export declare enum PagarMeV5OrderStatus {
|
|
20
|
+
'Pendente' = "pending",
|
|
21
|
+
'Pago' = "paid",
|
|
22
|
+
'Cancelado' = "canceled",
|
|
23
|
+
'Falha' = "failed"
|
|
24
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum PaymentMethods {
|
|
2
|
-
CARD = "card",
|
|
3
|
-
BANKSLIP = "bankSlip",
|
|
4
|
-
PIX = "pix",
|
|
5
|
-
POINTS = "glampoints"
|
|
6
|
-
}
|
|
1
|
+
export declare enum PaymentMethods {
|
|
2
|
+
CARD = "card",
|
|
3
|
+
BANKSLIP = "bankSlip",
|
|
4
|
+
PIX = "pix",
|
|
5
|
+
POINTS = "glampoints"
|
|
6
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum PaymentProviders {
|
|
2
|
-
PAGARME = "pagarMe",
|
|
3
|
-
ADYEN = "adyen",
|
|
4
|
-
GLAMPOINTS = "glampoints"
|
|
5
|
-
}
|
|
1
|
+
export declare enum PaymentProviders {
|
|
2
|
+
PAGARME = "pagarMe",
|
|
3
|
+
ADYEN = "adyen",
|
|
4
|
+
GLAMPOINTS = "glampoints"
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum TransactionPaymentMethods {
|
|
2
|
-
CARD = "credit_card",
|
|
3
|
-
BANKSLIP = "boleto",
|
|
4
|
-
PIX = "pix"
|
|
5
|
-
}
|
|
1
|
+
export declare enum TransactionPaymentMethods {
|
|
2
|
+
CARD = "credit_card",
|
|
3
|
+
BANKSLIP = "boleto",
|
|
4
|
+
PIX = "pix"
|
|
5
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PaymentProviderCard } from '../interfaces';
|
|
2
|
-
import { AdyenCard } from '../types';
|
|
3
|
-
import { BasePaymentMethodFactory } from './base-payment-method.factory';
|
|
4
|
-
type AdyenPaymentFactoryMethods = {
|
|
5
|
-
card?: PaymentProviderCard<AdyenCard>;
|
|
6
|
-
};
|
|
7
|
-
export declare class AdyenPaymentMethodFactory extends BasePaymentMethodFactory<AdyenPaymentFactoryMethods> {
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
1
|
+
import { PaymentProviderCard } from '../interfaces';
|
|
2
|
+
import { AdyenCard } from '../types';
|
|
3
|
+
import { BasePaymentMethodFactory } from './base-payment-method.factory';
|
|
4
|
+
type AdyenPaymentFactoryMethods = {
|
|
5
|
+
card?: PaymentProviderCard<AdyenCard>;
|
|
6
|
+
};
|
|
7
|
+
export declare class AdyenPaymentMethodFactory extends BasePaymentMethodFactory<AdyenPaymentFactoryMethods> {
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { AntifraudMethodFactory } from '../interfaces';
|
|
2
|
-
import { AntifraudBankSlipService, AntifraudCardService, AntifraudGlampointsService, AntifraudPixService } from '../services';
|
|
3
|
-
import { AntifraudeProvider } from '../types';
|
|
4
|
-
type AntifraudMethods = {
|
|
5
|
-
bankSlip?: AntifraudBankSlipService;
|
|
6
|
-
card?: AntifraudCardService;
|
|
7
|
-
pix?: AntifraudPixService;
|
|
8
|
-
glampoints?: AntifraudGlampointsService;
|
|
9
|
-
};
|
|
10
|
-
export declare class AntifraudProviderFactory implements AntifraudMethodFactory {
|
|
11
|
-
private readonly antifraudProviders;
|
|
12
|
-
constructor(antifraudProviders: AntifraudMethods);
|
|
13
|
-
build<T extends AntifraudeProvider>(provider: T): AntifraudProviderFactory['antifraudProviders'][T];
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
1
|
+
import { AntifraudMethodFactory } from '../interfaces';
|
|
2
|
+
import { AntifraudBankSlipService, AntifraudCardService, AntifraudGlampointsService, AntifraudPixService } from '../services';
|
|
3
|
+
import { AntifraudeProvider } from '../types';
|
|
4
|
+
type AntifraudMethods = {
|
|
5
|
+
bankSlip?: AntifraudBankSlipService;
|
|
6
|
+
card?: AntifraudCardService;
|
|
7
|
+
pix?: AntifraudPixService;
|
|
8
|
+
glampoints?: AntifraudGlampointsService;
|
|
9
|
+
};
|
|
10
|
+
export declare class AntifraudProviderFactory implements AntifraudMethodFactory {
|
|
11
|
+
private readonly antifraudProviders;
|
|
12
|
+
constructor(antifraudProviders: AntifraudMethods);
|
|
13
|
+
build<T extends AntifraudeProvider>(provider: T): AntifraudProviderFactory['antifraudProviders'][T];
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PaymentMethodFactory, PaymentMethodFactoryMethods } from '../interfaces';
|
|
2
|
-
import { PaymentMethod } from '../types';
|
|
3
|
-
export declare abstract class BasePaymentMethodFactory<T extends PaymentMethodFactoryMethods = PaymentMethodFactoryMethods> implements PaymentMethodFactory {
|
|
4
|
-
private readonly methods;
|
|
5
|
-
constructor(methods: T);
|
|
6
|
-
build<T extends PaymentMethod>(method: T): BasePaymentMethodFactory['methods'][T];
|
|
7
|
-
}
|
|
1
|
+
import { PaymentMethodFactory, PaymentMethodFactoryMethods } from '../interfaces';
|
|
2
|
+
import { PaymentMethod } from '../types';
|
|
3
|
+
export declare abstract class BasePaymentMethodFactory<T extends PaymentMethodFactoryMethods = PaymentMethodFactoryMethods> implements PaymentMethodFactory {
|
|
4
|
+
private readonly methods;
|
|
5
|
+
constructor(methods: T);
|
|
6
|
+
build<T extends PaymentMethod>(method: T): BasePaymentMethodFactory['methods'][T];
|
|
7
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { GlampointsPaymentService } from '../services';
|
|
2
|
-
import { BasePaymentMethodFactory } from './base-payment-method.factory';
|
|
3
|
-
type GlampointsPaymentFactoryMethods = {
|
|
4
|
-
glampoints: GlampointsPaymentService;
|
|
5
|
-
};
|
|
6
|
-
export declare class GlampointsPaymentMethodFactory extends BasePaymentMethodFactory<GlampointsPaymentFactoryMethods> {
|
|
7
|
-
}
|
|
8
|
-
export {};
|
|
1
|
+
import { GlampointsPaymentService } from '../services';
|
|
2
|
+
import { BasePaymentMethodFactory } from './base-payment-method.factory';
|
|
3
|
+
type GlampointsPaymentFactoryMethods = {
|
|
4
|
+
glampoints: GlampointsPaymentService;
|
|
5
|
+
};
|
|
6
|
+
export declare class GlampointsPaymentMethodFactory extends BasePaymentMethodFactory<GlampointsPaymentFactoryMethods> {
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './adyen-payment-method.factory';
|
|
2
|
-
export * from './antifraud-provider.factory';
|
|
3
|
-
export * from './glampoints-payment-method.factory';
|
|
4
|
-
export * from './pagarme-payment-method.factory';
|
|
5
|
-
export * from './payment-provider.factory';
|
|
1
|
+
export * from './adyen-payment-method.factory';
|
|
2
|
+
export * from './antifraud-provider.factory';
|
|
3
|
+
export * from './glampoints-payment-method.factory';
|
|
4
|
+
export * from './pagarme-payment-method.factory';
|
|
5
|
+
export * from './payment-provider.factory';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PaymentProviderBankSlip, PaymentProviderCard, PaymentProviderPix } from '../interfaces';
|
|
2
|
-
import { PagarMeCard } from '../types';
|
|
3
|
-
import { BasePaymentMethodFactory } from './base-payment-method.factory';
|
|
4
|
-
type PagarmePaymentFactoryMethods = {
|
|
5
|
-
card?: PaymentProviderCard<PagarMeCard>;
|
|
6
|
-
bankSlip?: PaymentProviderBankSlip;
|
|
7
|
-
pix?: PaymentProviderPix;
|
|
8
|
-
};
|
|
9
|
-
export declare class PagarmePaymentMethodFactory extends BasePaymentMethodFactory<PagarmePaymentFactoryMethods> {
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
1
|
+
import { PaymentProviderBankSlip, PaymentProviderCard, PaymentProviderPix } from '../interfaces';
|
|
2
|
+
import { PagarMeCard } from '../types';
|
|
3
|
+
import { BasePaymentMethodFactory } from './base-payment-method.factory';
|
|
4
|
+
type PagarmePaymentFactoryMethods = {
|
|
5
|
+
card?: PaymentProviderCard<PagarMeCard>;
|
|
6
|
+
bankSlip?: PaymentProviderBankSlip;
|
|
7
|
+
pix?: PaymentProviderPix;
|
|
8
|
+
};
|
|
9
|
+
export declare class PagarmePaymentMethodFactory extends BasePaymentMethodFactory<PagarmePaymentFactoryMethods> {
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { PaymentProvider } from '../types';
|
|
2
|
-
import { AdyenPaymentMethodFactory } from './adyen-payment-method.factory';
|
|
3
|
-
import { GlampointsPaymentMethodFactory } from './glampoints-payment-method.factory';
|
|
4
|
-
import { PagarmePaymentMethodFactory } from './pagarme-payment-method.factory';
|
|
5
|
-
type PaymentProviderFactoryFactories = {
|
|
6
|
-
pagarMe?: PagarmePaymentMethodFactory;
|
|
7
|
-
adyen?: AdyenPaymentMethodFactory;
|
|
8
|
-
glampoints?: GlampointsPaymentMethodFactory;
|
|
9
|
-
};
|
|
10
|
-
export declare class PaymentProviderFactory {
|
|
11
|
-
private readonly paymentProviders;
|
|
12
|
-
constructor(paymentProviders: PaymentProviderFactoryFactories);
|
|
13
|
-
build<T extends PaymentProvider>(provider: T): PaymentProviderFactory['paymentProviders'][T];
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
1
|
+
import { PaymentProvider } from '../types';
|
|
2
|
+
import { AdyenPaymentMethodFactory } from './adyen-payment-method.factory';
|
|
3
|
+
import { GlampointsPaymentMethodFactory } from './glampoints-payment-method.factory';
|
|
4
|
+
import { PagarmePaymentMethodFactory } from './pagarme-payment-method.factory';
|
|
5
|
+
type PaymentProviderFactoryFactories = {
|
|
6
|
+
pagarMe?: PagarmePaymentMethodFactory;
|
|
7
|
+
adyen?: AdyenPaymentMethodFactory;
|
|
8
|
+
glampoints?: GlampointsPaymentMethodFactory;
|
|
9
|
+
};
|
|
10
|
+
export declare class PaymentProviderFactory {
|
|
11
|
+
private readonly paymentProviders;
|
|
12
|
+
constructor(paymentProviders: PaymentProviderFactoryFactories);
|
|
13
|
+
build<T extends PaymentProvider>(provider: T): PaymentProviderFactory['paymentProviders'][T];
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './enums';
|
|
2
|
-
export * from './factories';
|
|
3
|
-
export * from './interfaces';
|
|
4
|
-
export * from './models';
|
|
5
|
-
export * from './repositories';
|
|
6
|
-
export * from './services';
|
|
7
|
-
export * from './types';
|
|
1
|
+
export * from './enums';
|
|
2
|
+
export * from './factories';
|
|
3
|
+
export * from './interfaces';
|
|
4
|
+
export * from './models';
|
|
5
|
+
export * from './repositories';
|
|
6
|
+
export * from './services';
|
|
7
|
+
export * from './types';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AntifraudeProvider } from '../types';
|
|
2
|
-
import { AntifraudProvider } from './antifraud-provider.interface';
|
|
3
|
-
export type AntifraudMethods = {
|
|
4
|
-
bankSlip?: AntifraudProvider;
|
|
5
|
-
card?: AntifraudProvider;
|
|
6
|
-
pix?: AntifraudProvider;
|
|
7
|
-
glampoints?: AntifraudProvider;
|
|
8
|
-
};
|
|
9
|
-
export interface AntifraudMethodFactory {
|
|
10
|
-
build<T extends AntifraudeProvider>(method: T): AntifraudMethods[T];
|
|
11
|
-
}
|
|
1
|
+
import { AntifraudeProvider } from '../types';
|
|
2
|
+
import { AntifraudProvider } from './antifraud-provider.interface';
|
|
3
|
+
export type AntifraudMethods = {
|
|
4
|
+
bankSlip?: AntifraudProvider;
|
|
5
|
+
card?: AntifraudProvider;
|
|
6
|
+
pix?: AntifraudProvider;
|
|
7
|
+
glampoints?: AntifraudProvider;
|
|
8
|
+
};
|
|
9
|
+
export interface AntifraudMethodFactory {
|
|
10
|
+
build<T extends AntifraudeProvider>(method: T): AntifraudMethods[T];
|
|
11
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Checkout } from '../models';
|
|
2
|
-
import { PaymentCardInfo } from '../types';
|
|
3
|
-
export interface AntifraudProvider {
|
|
4
|
-
validate(checkout: Checkout, card?: PaymentCardInfo): Promise<Boolean>;
|
|
5
|
-
}
|
|
1
|
+
import { Checkout } from '../models';
|
|
2
|
+
import { PaymentCardInfo } from '../types';
|
|
3
|
+
export interface AntifraudProvider {
|
|
4
|
+
validate(checkout: Checkout, card?: PaymentCardInfo): Promise<Boolean>;
|
|
5
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './antifraud-method-factory.interface';
|
|
2
|
-
export * from './antifraud-provider.interface';
|
|
3
|
-
export * from './payment-method-factory.interface';
|
|
4
|
-
export * from './payment-provider-bank-slip.interface';
|
|
5
|
-
export * from './payment-provider-card.interface';
|
|
6
|
-
export * from './payment-provider-glampoints.interface';
|
|
7
|
-
export * from './payment-provider-pix.interface';
|
|
1
|
+
export * from './antifraud-method-factory.interface';
|
|
2
|
+
export * from './antifraud-provider.interface';
|
|
3
|
+
export * from './payment-method-factory.interface';
|
|
4
|
+
export * from './payment-provider-bank-slip.interface';
|
|
5
|
+
export * from './payment-provider-card.interface';
|
|
6
|
+
export * from './payment-provider-glampoints.interface';
|
|
7
|
+
export * from './payment-provider-pix.interface';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { PaymentMethod } from '../types';
|
|
2
|
-
import { PaymentProviderBankSlip } from './payment-provider-bank-slip.interface';
|
|
3
|
-
import { PaymentProviderCard } from './payment-provider-card.interface';
|
|
4
|
-
import { PaymentProviderGlampoints } from './payment-provider-glampoints.interface';
|
|
5
|
-
import { PaymentProviderPix } from './payment-provider-pix.interface';
|
|
6
|
-
export type PaymentMethodFactoryMethods = {
|
|
7
|
-
card?: PaymentProviderCard;
|
|
8
|
-
bankSlip?: PaymentProviderBankSlip;
|
|
9
|
-
pix?: PaymentProviderPix;
|
|
10
|
-
glampoints?: PaymentProviderGlampoints;
|
|
11
|
-
};
|
|
12
|
-
export interface PaymentMethodFactory {
|
|
13
|
-
build<T extends PaymentMethod>(method: T): PaymentMethodFactoryMethods[T];
|
|
14
|
-
}
|
|
1
|
+
import { PaymentMethod } from '../types';
|
|
2
|
+
import { PaymentProviderBankSlip } from './payment-provider-bank-slip.interface';
|
|
3
|
+
import { PaymentProviderCard } from './payment-provider-card.interface';
|
|
4
|
+
import { PaymentProviderGlampoints } from './payment-provider-glampoints.interface';
|
|
5
|
+
import { PaymentProviderPix } from './payment-provider-pix.interface';
|
|
6
|
+
export type PaymentMethodFactoryMethods = {
|
|
7
|
+
card?: PaymentProviderCard;
|
|
8
|
+
bankSlip?: PaymentProviderBankSlip;
|
|
9
|
+
pix?: PaymentProviderPix;
|
|
10
|
+
glampoints?: PaymentProviderGlampoints;
|
|
11
|
+
};
|
|
12
|
+
export interface PaymentMethodFactory {
|
|
13
|
+
build<T extends PaymentMethod>(method: T): PaymentMethodFactoryMethods[T];
|
|
14
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PaymentTransaction } from '../models';
|
|
2
|
-
import { Checkout } from '../models/checkout';
|
|
3
|
-
import { Payment } from '../models/payment';
|
|
4
|
-
export interface PaymentProviderBankSlip {
|
|
5
|
-
pay(checkout: Checkout): Promise<Payment>;
|
|
6
|
-
getBoletoTransaction(paymentId: number): Promise<PaymentTransaction>;
|
|
7
|
-
}
|
|
1
|
+
import { PaymentTransaction } from '../models';
|
|
2
|
+
import { Checkout } from '../models/checkout';
|
|
3
|
+
import { Payment } from '../models/payment';
|
|
4
|
+
export interface PaymentProviderBankSlip {
|
|
5
|
+
pay(checkout: Checkout): Promise<Payment>;
|
|
6
|
+
getBoletoTransaction(paymentId: number): Promise<PaymentTransaction>;
|
|
7
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Shops } from '../../catalog';
|
|
2
|
-
import { User, UserAddress } from '../../users';
|
|
3
|
-
import { BusinessUnitEnum } from '../enums';
|
|
4
|
-
import { PaymentTransaction } from '../models';
|
|
5
|
-
import { Checkout } from '../models/checkout';
|
|
6
|
-
import { Payment } from '../models/payment';
|
|
7
|
-
import { CardInfo, PaymentCardInfo } from '../types';
|
|
8
|
-
import { BaseCard } from '../types/base-card.type';
|
|
9
|
-
export interface PaymentProviderCard<Card extends BaseCard = BaseCard> {
|
|
10
|
-
pay(checkout: Checkout, card: PaymentCardInfo): Promise<Payment>;
|
|
11
|
-
addCard?(card: CardInfo, customer: User & {
|
|
12
|
-
billingAddress: Partial<UserAddress>;
|
|
13
|
-
}): Promise<Card>;
|
|
14
|
-
getCardByToken(token: string): Promise<Card>;
|
|
15
|
-
getCardByToken(customerId: string, token: string): Promise<Card>;
|
|
16
|
-
createCardHash<T>(bu: BusinessUnitEnum, shop: Shops, card?: CardInfo): Promise<string | T>;
|
|
17
|
-
createTransaction(info: any): Promise<PaymentTransaction>;
|
|
18
|
-
createOrUpdateCustomer?(customer: User & {
|
|
19
|
-
billingAddress: Partial<UserAddress>;
|
|
20
|
-
}): any;
|
|
21
|
-
}
|
|
1
|
+
import { Shops } from '../../catalog';
|
|
2
|
+
import { User, UserAddress } from '../../users';
|
|
3
|
+
import { BusinessUnitEnum } from '../enums';
|
|
4
|
+
import { PaymentTransaction } from '../models';
|
|
5
|
+
import { Checkout } from '../models/checkout';
|
|
6
|
+
import { Payment } from '../models/payment';
|
|
7
|
+
import { CardInfo, PaymentCardInfo } from '../types';
|
|
8
|
+
import { BaseCard } from '../types/base-card.type';
|
|
9
|
+
export interface PaymentProviderCard<Card extends BaseCard = BaseCard> {
|
|
10
|
+
pay(checkout: Checkout, card: PaymentCardInfo): Promise<Payment>;
|
|
11
|
+
addCard?(card: CardInfo, customer: User & {
|
|
12
|
+
billingAddress: Partial<UserAddress>;
|
|
13
|
+
}): Promise<Card>;
|
|
14
|
+
getCardByToken(token: string): Promise<Card>;
|
|
15
|
+
getCardByToken(customerId: string, token: string): Promise<Card>;
|
|
16
|
+
createCardHash<T>(bu: BusinessUnitEnum, shop: Shops, card?: CardInfo): Promise<string | T>;
|
|
17
|
+
createTransaction(info: any): Promise<PaymentTransaction>;
|
|
18
|
+
createOrUpdateCustomer?(customer: User & {
|
|
19
|
+
billingAddress: Partial<UserAddress>;
|
|
20
|
+
}): any;
|
|
21
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { User } from '../../users';
|
|
2
|
-
import { Order } from '../models';
|
|
3
|
-
import { Checkout } from '../models/checkout';
|
|
4
|
-
import { Payment } from '../models/payment';
|
|
5
|
-
export interface PaymentProviderGlampoints {
|
|
6
|
-
pay(checkout: Checkout): Promise<Payment>;
|
|
7
|
-
rewardByOrder(order: Order, user: User): Promise<void>;
|
|
8
|
-
negativateRewardByOrderId(order: Order): Promise<any>;
|
|
9
|
-
}
|
|
1
|
+
import { User } from '../../users';
|
|
2
|
+
import { Order } from '../models';
|
|
3
|
+
import { Checkout } from '../models/checkout';
|
|
4
|
+
import { Payment } from '../models/payment';
|
|
5
|
+
export interface PaymentProviderGlampoints {
|
|
6
|
+
pay(checkout: Checkout): Promise<Payment>;
|
|
7
|
+
rewardByOrder(order: Order, user: User): Promise<void>;
|
|
8
|
+
negativateRewardByOrderId(order: Order): Promise<any>;
|
|
9
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Checkout } from '../models/checkout';
|
|
2
|
-
import { Payment } from '../models/payment';
|
|
3
|
-
export interface PaymentProviderPix {
|
|
4
|
-
pay(checkout: Checkout): Promise<Payment>;
|
|
5
|
-
}
|
|
1
|
+
import { Checkout } from '../models/checkout';
|
|
2
|
+
import { Payment } from '../models/payment';
|
|
3
|
+
export interface PaymentProviderPix {
|
|
4
|
+
pay(checkout: Checkout): Promise<Payment>;
|
|
5
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Category, Shops } from '../../catalog/models';
|
|
2
|
-
import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
|
|
3
|
-
export declare class Buy2Win extends BaseModel<Buy2Win> {
|
|
4
|
-
active: boolean;
|
|
5
|
-
cartValue: number;
|
|
6
|
-
createdAt: Date;
|
|
7
|
-
endDate: Date;
|
|
8
|
-
id?: string;
|
|
9
|
-
name: string;
|
|
10
|
-
products?: string[];
|
|
11
|
-
shop: Shops;
|
|
12
|
-
activeCategory?: boolean;
|
|
13
|
-
cartValueMin?: number;
|
|
14
|
-
cartItensQuantityMin?: number;
|
|
15
|
-
type: 'items' | 'value';
|
|
16
|
-
startDate: Date;
|
|
17
|
-
updatedAt?: Date;
|
|
18
|
-
categories: Category[];
|
|
19
|
-
static get identifiersFields(): GenericIdentifier[];
|
|
20
|
-
}
|
|
1
|
+
import { Category, Shops } from '../../catalog/models';
|
|
2
|
+
import { BaseModel, GenericIdentifier } from '../../generic/model/base.model';
|
|
3
|
+
export declare class Buy2Win extends BaseModel<Buy2Win> {
|
|
4
|
+
active: boolean;
|
|
5
|
+
cartValue: number;
|
|
6
|
+
createdAt: Date;
|
|
7
|
+
endDate: Date;
|
|
8
|
+
id?: string;
|
|
9
|
+
name: string;
|
|
10
|
+
products?: string[];
|
|
11
|
+
shop: Shops;
|
|
12
|
+
activeCategory?: boolean;
|
|
13
|
+
cartValueMin?: number;
|
|
14
|
+
cartItensQuantityMin?: number;
|
|
15
|
+
type: 'items' | 'value';
|
|
16
|
+
startDate: Date;
|
|
17
|
+
updatedAt?: Date;
|
|
18
|
+
categories: Category[];
|
|
19
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
20
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { BaseModel, GenericIdentifier } from '../../generic';
|
|
2
|
-
export declare class CampaignDashboard extends BaseModel<CampaignDashboard> {
|
|
3
|
-
id: string;
|
|
4
|
-
status: string;
|
|
5
|
-
updatedAt?: string;
|
|
6
|
-
environment: string;
|
|
7
|
-
bannerAlt: string;
|
|
8
|
-
imgMob: string;
|
|
9
|
-
imgDesk: string;
|
|
10
|
-
urlBanner?: string;
|
|
11
|
-
positionBanner?: number;
|
|
12
|
-
startDate?: Date;
|
|
13
|
-
endDate?: Date;
|
|
14
|
-
static get identifiersFields(): GenericIdentifier[];
|
|
15
|
-
}
|
|
1
|
+
import { BaseModel, GenericIdentifier } from '../../generic';
|
|
2
|
+
export declare class CampaignDashboard extends BaseModel<CampaignDashboard> {
|
|
3
|
+
id: string;
|
|
4
|
+
status: string;
|
|
5
|
+
updatedAt?: string;
|
|
6
|
+
environment: string;
|
|
7
|
+
bannerAlt: string;
|
|
8
|
+
imgMob: string;
|
|
9
|
+
imgDesk: string;
|
|
10
|
+
urlBanner?: string;
|
|
11
|
+
positionBanner?: number;
|
|
12
|
+
startDate?: Date;
|
|
13
|
+
endDate?: Date;
|
|
14
|
+
static get identifiersFields(): GenericIdentifier[];
|
|
15
|
+
}
|