@infrab4a/connect 5.7.0-beta.2 → 5.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +11151 -11149
- package/index.d.ts +1 -1
- package/index.esm.js +11151 -11149
- package/package.json +1 -1
- package/src/domain/catalog/helpers/index.d.ts +1 -1
- package/src/domain/catalog/helpers/round-product-price.helper.d.ts +4 -4
- package/src/domain/catalog/index.d.ts +3 -3
- package/src/domain/catalog/models/category-brand.d.ts +17 -17
- 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 +8 -8
- 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 +20 -20
- package/src/domain/catalog/models/kit-product.d.ts +13 -13
- package/src/domain/catalog/models/product-base.d.ts +54 -53
- package/src/domain/catalog/models/product-errors.d.ts +16 -16
- package/src/domain/catalog/models/product-group.d.ts +12 -12
- package/src/domain/catalog/models/product-price-log.d.ts +25 -25
- package/src/domain/catalog/models/product-review.d.ts +22 -22
- package/src/domain/catalog/models/product-stock-entry.d.ts +16 -16
- package/src/domain/catalog/models/product-stock-notification.d.ts +12 -12
- package/src/domain/catalog/models/product.d.ts +7 -7
- 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 +17 -17
- package/src/domain/catalog/models/types/product-competitors-price.d.ts +6 -6
- 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-brand.repository.d.ts +4 -4
- 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 +13 -13
- 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 +19 -19
- package/src/domain/catalog/repositories/product-catalog.repository.d.ts +17 -17
- package/src/domain/catalog/repositories/product-errors.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/product-group.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/product-price-log.repository.d.ts +4 -4
- package/src/domain/catalog/repositories/product-reviews.repository.d.ts +7 -7
- package/src/domain/catalog/repositories/product-stock-entry.repository.d.ts +4 -4
- 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 +20 -20
- 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 +7 -7
- package/src/domain/shop-settings/models/shop-configs.d.ts +18 -18
- package/src/domain/shop-settings/models/shop-menu.d.ts +9 -9
- package/src/domain/shop-settings/models/shop-page-settings.d.ts +18 -18
- 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 +20 -20
- package/src/domain/shop-settings/models/types/landing-page.d.ts +8 -8
- package/src/domain/shop-settings/models/types/limit-orders.type.d.ts +7 -7
- 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-error-messages.type.d.ts +10 -10
- 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-page-section.type.d.ts +140 -140
- 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 +6 -6
- package/src/domain/shop-settings/repositories/shop-configs.repository.d.ts +4 -4
- 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 +9 -9
- package/src/domain/shopping/enums/order-blocked.enum.d.ts +5 -5
- package/src/domain/shopping/enums/order-payment-status.enum.d.ts +10 -10
- 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 +6 -6
- 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 +6 -6
- package/src/domain/shopping/factories/mercado-pago-payment-method.factory.d.ts +11 -11
- package/src/domain/shopping/factories/pagarme-payment-method.factory.d.ts +11 -11
- package/src/domain/shopping/factories/payment-provider.factory.d.ts +17 -17
- 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 +5 -5
- package/src/domain/shopping/models/enums/order-status.enum.d.ts +11 -11
- package/src/domain/shopping/models/enums/shopping-recurrence-cycle.enum.d.ts +5 -5
- package/src/domain/shopping/models/enums/shopping-recurrence-edition-status.enum.d.ts +11 -11
- package/src/domain/shopping/models/enums/shopping-recurrence-status.enum.d.ts +7 -7
- package/src/domain/shopping/models/index.d.ts +15 -15
- package/src/domain/shopping/models/line-item.d.ts +10 -10
- package/src/domain/shopping/models/order-blocked.d.ts +29 -29
- package/src/domain/shopping/models/order.d.ts +36 -36
- package/src/domain/shopping/models/payment-transaction.d.ts +84 -84
- package/src/domain/shopping/models/payment.d.ts +17 -17
- package/src/domain/shopping/models/recurrence/index.d.ts +2 -2
- package/src/domain/shopping/models/recurrence/shopping-recurrence-edition.d.ts +18 -18
- package/src/domain/shopping/models/recurrence/shopping-recurrence.d.ts +45 -45
- package/src/domain/shopping/models/shipping-method.d.ts +23 -23
- 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 +8 -8
- package/src/domain/shopping/models/types/line-item-recurrence.type.d.ts +2 -2
- 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 +11 -11
- package/src/domain/shopping/repositories/legacy-order.repository.d.ts +3 -3
- package/src/domain/shopping/repositories/order-blocked.repository.d.ts +19 -19
- 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/recurrence/index.d.ts +2 -2
- package/src/domain/shopping/repositories/recurrence/shopping-recurrence-edition.repository.d.ts +4 -4
- package/src/domain/shopping/repositories/recurrence/shopping-recurrence.repository.d.ts +9 -9
- 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 +37 -37
- 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 +10 -10
- 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/create-recurrency-payload.type.d.ts +8 -8
- package/src/domain/shopping/types/glam-credentials.type.d.ts +6 -6
- package/src/domain/shopping/types/index.d.ts +20 -20
- package/src/domain/shopping/types/mercado-pago-card.type.d.ts +14 -14
- package/src/domain/shopping/types/mercado-pago-credentials.type.d.ts +5 -5
- 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 +12 -12
- 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 +29 -29
- 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/enum/error.enum.d.ts +14 -14
- package/src/errors/enum/index.d.ts +1 -1
- package/src/errors/fraud-validation.error.d.ts +7 -7
- package/src/errors/index.d.ts +12 -12
- package/src/errors/invalid-argument.error.d.ts +4 -4
- package/src/errors/invalid-checkout.error.d.ts +7 -7
- package/src/errors/not-found.error.d.ts +5 -5
- 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 -11
- package/src/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/catalog/category-brand-firestore.repository.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 +6 -6
- 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 +4 -4
- package/src/infra/firebase/firestore/repositories/shop-settings/shop-configs-firestore.repository.d.ts +7 -7
- 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 +13 -13
- 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 +17 -17
- 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/shopping-recurrence-edition-firestore.repository.d.ts +7 -7
- package/src/infra/firebase/firestore/repositories/shopping/shopping-recurrence-firestore.repository.d.ts +10 -10
- 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 +13 -19
- 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 +8 -10
- 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 +10 -12
- 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 +7 -7
- package/src/infra/hasura-graphql/models/kit-product-hasura-graphql.d.ts +5 -5
- package/src/infra/hasura-graphql/models/product-catalog-hasura-graphql.d.ts +16 -16
- 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/product-stock-entry-hasura-graphql.d.ts +3 -3
- package/src/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +15 -15
- 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 +16 -16
- 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 +16 -16
- package/src/infra/hasura-graphql/repositories/catalog/product-catalog-hasura-graphql.repository.d.ts +22 -22
- package/src/infra/hasura-graphql/repositories/catalog/product-errors-hasura-graphql.repository.d.ts +13 -13
- package/src/infra/hasura-graphql/repositories/catalog/product-group-hasura-graphql.repository.d.ts +7 -7
- package/src/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +45 -45
- package/src/infra/hasura-graphql/repositories/catalog/product-price-log-hasura-graphql.repository.d.ts +7 -7
- 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-entry-hasura-graphql.repository.d.ts +8 -8
- 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 +14 -14
- package/src/infra/hasura-graphql/repositories/catalog/wishlist-hasura-graphql.repository.d.ts +30 -30
- package/src/infra/hasura-graphql/repositories/index.d.ts +1 -1
- package/src/infra/hasura-graphql/types/fields.type.d.ts +2 -2
- package/src/infra/hasura-graphql/types/graphql.repository.type.d.ts +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 +8 -8
- package/src/infra/mercado-pago/adapters/index.d.ts +3 -3
- package/src/infra/mercado-pago/adapters/mercado-pago-base-axios.d.ts +11 -11
- package/src/infra/mercado-pago/adapters/mercado-pago-boleto-payment-axios.adapter.d.ts +8 -8
- package/src/infra/mercado-pago/adapters/mercado-pago-card-payment-axios.adapter.d.ts +22 -22
- package/src/infra/mercado-pago/adapters/mercado-pago-pix-payment-axios.adapter.d.ts +8 -8
- package/src/infra/mercado-pago/enums/index.d.ts +2 -2
- package/src/infra/mercado-pago/enums/mercado-pago-status-detail.enum.d.ts +33 -33
- package/src/infra/mercado-pago/enums/mercado-pago-status.enum.d.ts +10 -10
- package/src/infra/mercado-pago/helpers/index.d.ts +3 -3
- package/src/infra/mercado-pago/helpers/mercado-pago-errors.helper.d.ts +3 -3
- package/src/infra/mercado-pago/helpers/mercado-pago-request.helper.d.ts +60 -60
- package/src/infra/mercado-pago/helpers/mercado-pago-response.helper.d.ts +10 -10
- package/src/infra/mercado-pago/index.d.ts +4 -4
- package/src/infra/mercado-pago/types/index.d.ts +3 -3
- package/src/infra/mercado-pago/types/mercado-pago-request.type.d.ts +1 -1
- package/src/infra/mercado-pago/types/mercado-pago-response.type.d.ts +211 -211
- package/src/infra/mercado-pago/types/mercado-pago-status-detail.type.d.ts +2 -2
- package/src/infra/mercado-pago/types/mercado-pago-status.type.d.ts +2 -2
- package/src/infra/pagarme/adapters/helpers/index.d.ts +6 -6
- package/src/infra/pagarme/adapters/helpers/pagarme-blocked-order.helper.d.ts +19 -19
- package/src/infra/pagarme/adapters/helpers/pagarme-errors.helper.d.ts +3 -3
- 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 +13 -13
- 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 +4 -4
- package/src/infra/pagarme/adapters/v5/pagarmev5-bank-slip-payment-axios.adapter.d.ts +11 -11
- package/src/infra/pagarme/adapters/v5/pagarmev5-base-axios.d.ts +11 -11
- package/src/infra/pagarme/adapters/v5/pagarmev5-card-payment-axios.adapter.d.ts +25 -25
- package/src/infra/pagarme/adapters/v5/pagarmev5-pix-payment-axios.adapter.d.ts +11 -11
- 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 +91 -91
- package/src/infra/pagarme/types/v5/pagarmev5-order-response.type.d.ts +241 -241
- 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
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { PaymentProviderBankSlip } from '../../../../domain/shopping/interfaces';
|
|
2
|
-
import { Checkout, Payment, PaymentTransaction } from '../../../../domain/shopping/models';
|
|
3
|
-
import { PaymentRepository } from '../../../../domain/shopping/repositories';
|
|
4
|
-
import { PagarmeCredentials } from '../../../../domain/shopping/types';
|
|
5
|
-
export declare class PagarmeBankSlipAxiosAdapter implements PaymentProviderBankSlip {
|
|
6
|
-
private credentials;
|
|
7
|
-
private paymentRepository;
|
|
8
|
-
constructor(credentials: PagarmeCredentials, paymentRepository: PaymentRepository);
|
|
9
|
-
pay(checkout: Checkout): Promise<Payment>;
|
|
10
|
-
getBoletoTransaction(paymentId: number): Promise<PaymentTransaction>;
|
|
11
|
-
private createBoletoPayment;
|
|
12
|
-
}
|
|
1
|
+
import { PaymentProviderBankSlip } from '../../../../domain/shopping/interfaces';
|
|
2
|
+
import { Checkout, Payment, PaymentTransaction } from '../../../../domain/shopping/models';
|
|
3
|
+
import { PaymentRepository } from '../../../../domain/shopping/repositories';
|
|
4
|
+
import { PagarmeCredentials } from '../../../../domain/shopping/types';
|
|
5
|
+
export declare class PagarmeBankSlipAxiosAdapter implements PaymentProviderBankSlip {
|
|
6
|
+
private credentials;
|
|
7
|
+
private paymentRepository;
|
|
8
|
+
constructor(credentials: PagarmeCredentials, paymentRepository: PaymentRepository);
|
|
9
|
+
pay(checkout: Checkout): Promise<Payment>;
|
|
10
|
+
getBoletoTransaction(paymentId: number): Promise<PaymentTransaction>;
|
|
11
|
+
private createBoletoPayment;
|
|
12
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Shops } from '../../../../domain/catalog';
|
|
2
|
-
import { BusinessUnitEnum } from '../../../../domain/shopping/enums';
|
|
3
|
-
import { PaymentProviderCard } from '../../../../domain/shopping/interfaces';
|
|
4
|
-
import { Checkout, Payment, PaymentTransaction } from '../../../../domain/shopping/models';
|
|
5
|
-
import { OrderBlockedRepository, PaymentRepository } from '../../../../domain/shopping/repositories';
|
|
6
|
-
import { CardInfo, PagarMeCard, PagarmeCredentials, PaymentCardInfo } from '../../../../domain/shopping/types';
|
|
7
|
-
export declare class PagarmeCardAxiosAdapter implements PaymentProviderCard<PagarMeCard> {
|
|
8
|
-
private credentials;
|
|
9
|
-
private paymentRepository;
|
|
10
|
-
private orderBlockedRepository;
|
|
11
|
-
constructor(credentials: PagarmeCredentials, paymentRepository: PaymentRepository, orderBlockedRepository: OrderBlockedRepository);
|
|
12
|
-
pay(checkout: Checkout, card: PaymentCardInfo): Promise<Payment>;
|
|
13
|
-
addCard(card: CardInfo): Promise<PagarMeCard>;
|
|
14
|
-
createCardHash<PagarMeCardManualHash>(bu: BusinessUnitEnum, shop?: Shops): Promise<PagarMeCardManualHash>;
|
|
15
|
-
getCardByToken(id: string): Promise<PagarMeCard>;
|
|
16
|
-
createTransaction(info: any): Promise<PaymentTransaction>;
|
|
17
|
-
private createCardPayment;
|
|
18
|
-
}
|
|
1
|
+
import { Shops } from '../../../../domain/catalog';
|
|
2
|
+
import { BusinessUnitEnum } from '../../../../domain/shopping/enums';
|
|
3
|
+
import { PaymentProviderCard } from '../../../../domain/shopping/interfaces';
|
|
4
|
+
import { Checkout, Payment, PaymentTransaction } from '../../../../domain/shopping/models';
|
|
5
|
+
import { OrderBlockedRepository, PaymentRepository } from '../../../../domain/shopping/repositories';
|
|
6
|
+
import { CardInfo, PagarMeCard, PagarmeCredentials, PaymentCardInfo } from '../../../../domain/shopping/types';
|
|
7
|
+
export declare class PagarmeCardAxiosAdapter implements PaymentProviderCard<PagarMeCard> {
|
|
8
|
+
private credentials;
|
|
9
|
+
private paymentRepository;
|
|
10
|
+
private orderBlockedRepository;
|
|
11
|
+
constructor(credentials: PagarmeCredentials, paymentRepository: PaymentRepository, orderBlockedRepository: OrderBlockedRepository);
|
|
12
|
+
pay(checkout: Checkout, card: PaymentCardInfo): Promise<Payment>;
|
|
13
|
+
addCard(card: CardInfo): Promise<PagarMeCard>;
|
|
14
|
+
createCardHash<PagarMeCardManualHash>(bu: BusinessUnitEnum, shop?: Shops): Promise<PagarMeCardManualHash>;
|
|
15
|
+
getCardByToken(id: string): Promise<PagarMeCard>;
|
|
16
|
+
createTransaction(info: any): Promise<PaymentTransaction>;
|
|
17
|
+
private createCardPayment;
|
|
18
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PaymentProviderPix } from '../../../../domain/shopping/interfaces';
|
|
2
|
-
import { Checkout, Payment } from '../../../../domain/shopping/models';
|
|
3
|
-
import { PaymentRepository } from '../../../../domain/shopping/repositories';
|
|
4
|
-
import { PagarmeCredentials } from '../../../../domain/shopping/types';
|
|
5
|
-
export declare class PagarmePixAxiosAdapter implements PaymentProviderPix {
|
|
6
|
-
private credentials;
|
|
7
|
-
private paymentRepository;
|
|
8
|
-
constructor(credentials: PagarmeCredentials, paymentRepository: PaymentRepository);
|
|
9
|
-
pay(checkout: Checkout): Promise<Payment>;
|
|
10
|
-
private createPixPayment;
|
|
11
|
-
}
|
|
1
|
+
import { PaymentProviderPix } from '../../../../domain/shopping/interfaces';
|
|
2
|
+
import { Checkout, Payment } from '../../../../domain/shopping/models';
|
|
3
|
+
import { PaymentRepository } from '../../../../domain/shopping/repositories';
|
|
4
|
+
import { PagarmeCredentials } from '../../../../domain/shopping/types';
|
|
5
|
+
export declare class PagarmePixAxiosAdapter implements PaymentProviderPix {
|
|
6
|
+
private credentials;
|
|
7
|
+
private paymentRepository;
|
|
8
|
+
constructor(credentials: PagarmeCredentials, paymentRepository: PaymentRepository);
|
|
9
|
+
pay(checkout: Checkout): Promise<Payment>;
|
|
10
|
+
private createPixPayment;
|
|
11
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './pagarmev5-bank-slip-payment-axios.adapter';
|
|
2
|
-
export * from './pagarmev5-base-axios';
|
|
3
|
-
export * from './pagarmev5-card-payment-axios.adapter';
|
|
4
|
-
export * from './pagarmev5-pix-payment-axios.adapter';
|
|
1
|
+
export * from './pagarmev5-bank-slip-payment-axios.adapter';
|
|
2
|
+
export * from './pagarmev5-base-axios';
|
|
3
|
+
export * from './pagarmev5-card-payment-axios.adapter';
|
|
4
|
+
export * from './pagarmev5-pix-payment-axios.adapter';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PaymentProviderBankSlip } from '../../../../domain/shopping/interfaces';
|
|
2
|
-
import { Checkout, Payment, PaymentTransaction } from '../../../../domain/shopping/models';
|
|
3
|
-
import { PaymentRepository } from '../../../../domain/shopping/repositories';
|
|
4
|
-
import { PagarmeCredentialsV5 } from '../../../../domain/shopping/types';
|
|
5
|
-
export declare class PagarmeV5BankSlipAxiosAdapter implements PaymentProviderBankSlip {
|
|
6
|
-
private credentials;
|
|
7
|
-
private paymentRepository;
|
|
8
|
-
constructor(credentials: PagarmeCredentialsV5, paymentRepository: PaymentRepository);
|
|
9
|
-
pay(checkout: Checkout): Promise<Payment>;
|
|
10
|
-
getBoletoTransaction(paymentId: number): Promise<PaymentTransaction>;
|
|
11
|
-
}
|
|
1
|
+
import { PaymentProviderBankSlip } from '../../../../domain/shopping/interfaces';
|
|
2
|
+
import { Checkout, Payment, PaymentTransaction } from '../../../../domain/shopping/models';
|
|
3
|
+
import { PaymentRepository } from '../../../../domain/shopping/repositories';
|
|
4
|
+
import { PagarmeCredentialsV5 } from '../../../../domain/shopping/types';
|
|
5
|
+
export declare class PagarmeV5BankSlipAxiosAdapter implements PaymentProviderBankSlip {
|
|
6
|
+
private credentials;
|
|
7
|
+
private paymentRepository;
|
|
8
|
+
constructor(credentials: PagarmeCredentialsV5, paymentRepository: PaymentRepository);
|
|
9
|
+
pay(checkout: Checkout): Promise<Payment>;
|
|
10
|
+
getBoletoTransaction(paymentId: number): Promise<PaymentTransaction>;
|
|
11
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Order, PagarmeCredentialsV5, PaymentRepository } from '../../../../domain';
|
|
2
|
-
export declare class PagarmeV5BaseAxiosAdapter {
|
|
3
|
-
protected credentials: PagarmeCredentialsV5;
|
|
4
|
-
protected paymentRepository: PaymentRepository;
|
|
5
|
-
constructor(credentials: PagarmeCredentialsV5, paymentRepository: PaymentRepository);
|
|
6
|
-
refund(order: Order, amount: number): Promise<{
|
|
7
|
-
status: string;
|
|
8
|
-
success: boolean;
|
|
9
|
-
}>;
|
|
10
|
-
private getRefundStatus;
|
|
11
|
-
}
|
|
1
|
+
import { Order, PagarmeCredentialsV5, PaymentRepository } from '../../../../domain';
|
|
2
|
+
export declare class PagarmeV5BaseAxiosAdapter {
|
|
3
|
+
protected credentials: PagarmeCredentialsV5;
|
|
4
|
+
protected paymentRepository: PaymentRepository;
|
|
5
|
+
constructor(credentials: PagarmeCredentialsV5, paymentRepository: PaymentRepository);
|
|
6
|
+
refund(order: Order, amount: number): Promise<{
|
|
7
|
+
status: string;
|
|
8
|
+
success: boolean;
|
|
9
|
+
}>;
|
|
10
|
+
private getRefundStatus;
|
|
11
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Shops, User, UserAddress } from '../../../../domain';
|
|
2
|
-
import { BusinessUnitEnum } from '../../../../domain/shopping/enums';
|
|
3
|
-
import { PaymentProviderCard } from '../../../../domain/shopping/interfaces';
|
|
4
|
-
import { Checkout, Payment, PaymentTransaction } from '../../../../domain/shopping/models';
|
|
5
|
-
import { OrderBlockedRepository, PaymentRepository } from '../../../../domain/shopping/repositories';
|
|
6
|
-
import { CardInfo, PagarMeCard, PagarmeCredentialsV5, PaymentCardInfo } from '../../../../domain/shopping/types';
|
|
7
|
-
import { PagarMeV5Customer } from '../../types';
|
|
8
|
-
import { PagarmeV5BaseAxiosAdapter } from './pagarmev5-base-axios';
|
|
9
|
-
export declare class PagarmeV5CardAxiosAdapter extends PagarmeV5BaseAxiosAdapter implements PaymentProviderCard<PagarMeCard> {
|
|
10
|
-
protected credentials: PagarmeCredentialsV5;
|
|
11
|
-
protected paymentRepository: PaymentRepository;
|
|
12
|
-
protected orderBlockedRepository: OrderBlockedRepository;
|
|
13
|
-
constructor(credentials: PagarmeCredentialsV5, paymentRepository: PaymentRepository, orderBlockedRepository: OrderBlockedRepository);
|
|
14
|
-
pay(checkout: Checkout, card: PaymentCardInfo): Promise<Payment>;
|
|
15
|
-
addCard(card: CardInfo, customer: User & {
|
|
16
|
-
billingAddress: Partial<UserAddress>;
|
|
17
|
-
}): Promise<PagarMeCard>;
|
|
18
|
-
createCardHash<PagarMeCardManualHash>(bu: BusinessUnitEnum, shop?: Shops): Promise<PagarMeCardManualHash>;
|
|
19
|
-
getCardByToken(token: string): Promise<PagarMeCard>;
|
|
20
|
-
getCardByToken(customerId: string, token: string): Promise<PagarMeCard>;
|
|
21
|
-
createTransaction(info: any): Promise<PaymentTransaction>;
|
|
22
|
-
createOrUpdateCustomer(customer: User & {
|
|
23
|
-
billingAddress: Partial<UserAddress>;
|
|
24
|
-
}): Promise<PagarMeV5Customer>;
|
|
25
|
-
}
|
|
1
|
+
import { Shops, User, UserAddress } from '../../../../domain';
|
|
2
|
+
import { BusinessUnitEnum } from '../../../../domain/shopping/enums';
|
|
3
|
+
import { PaymentProviderCard } from '../../../../domain/shopping/interfaces';
|
|
4
|
+
import { Checkout, Payment, PaymentTransaction } from '../../../../domain/shopping/models';
|
|
5
|
+
import { OrderBlockedRepository, PaymentRepository } from '../../../../domain/shopping/repositories';
|
|
6
|
+
import { CardInfo, PagarMeCard, PagarmeCredentialsV5, PaymentCardInfo } from '../../../../domain/shopping/types';
|
|
7
|
+
import { PagarMeV5Customer } from '../../types';
|
|
8
|
+
import { PagarmeV5BaseAxiosAdapter } from './pagarmev5-base-axios';
|
|
9
|
+
export declare class PagarmeV5CardAxiosAdapter extends PagarmeV5BaseAxiosAdapter implements PaymentProviderCard<PagarMeCard> {
|
|
10
|
+
protected credentials: PagarmeCredentialsV5;
|
|
11
|
+
protected paymentRepository: PaymentRepository;
|
|
12
|
+
protected orderBlockedRepository: OrderBlockedRepository;
|
|
13
|
+
constructor(credentials: PagarmeCredentialsV5, paymentRepository: PaymentRepository, orderBlockedRepository: OrderBlockedRepository);
|
|
14
|
+
pay(checkout: Checkout, card: PaymentCardInfo): Promise<Payment>;
|
|
15
|
+
addCard(card: CardInfo, customer: User & {
|
|
16
|
+
billingAddress: Partial<UserAddress>;
|
|
17
|
+
}): Promise<PagarMeCard>;
|
|
18
|
+
createCardHash<PagarMeCardManualHash>(bu: BusinessUnitEnum, shop?: Shops): Promise<PagarMeCardManualHash>;
|
|
19
|
+
getCardByToken(token: string): Promise<PagarMeCard>;
|
|
20
|
+
getCardByToken(customerId: string, token: string): Promise<PagarMeCard>;
|
|
21
|
+
createTransaction(info: any): Promise<PaymentTransaction>;
|
|
22
|
+
createOrUpdateCustomer(customer: User & {
|
|
23
|
+
billingAddress: Partial<UserAddress>;
|
|
24
|
+
}): Promise<PagarMeV5Customer>;
|
|
25
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PagarmeCredentialsV5 } from '../../../../domain';
|
|
2
|
-
import { PaymentProviderPix } from '../../../../domain/shopping/interfaces';
|
|
3
|
-
import { Checkout, Payment } from '../../../../domain/shopping/models';
|
|
4
|
-
import { PaymentRepository } from '../../../../domain/shopping/repositories';
|
|
5
|
-
import { PagarmeV5BaseAxiosAdapter } from './pagarmev5-base-axios';
|
|
6
|
-
export declare class PagarmeV5PixAxiosAdapter extends PagarmeV5BaseAxiosAdapter implements PaymentProviderPix {
|
|
7
|
-
protected credentials: PagarmeCredentialsV5;
|
|
8
|
-
protected paymentRepository: PaymentRepository;
|
|
9
|
-
constructor(credentials: PagarmeCredentialsV5, paymentRepository: PaymentRepository);
|
|
10
|
-
pay(checkout: Checkout): Promise<Payment>;
|
|
11
|
-
}
|
|
1
|
+
import { PagarmeCredentialsV5 } from '../../../../domain';
|
|
2
|
+
import { PaymentProviderPix } from '../../../../domain/shopping/interfaces';
|
|
3
|
+
import { Checkout, Payment } from '../../../../domain/shopping/models';
|
|
4
|
+
import { PaymentRepository } from '../../../../domain/shopping/repositories';
|
|
5
|
+
import { PagarmeV5BaseAxiosAdapter } from './pagarmev5-base-axios';
|
|
6
|
+
export declare class PagarmeV5PixAxiosAdapter extends PagarmeV5BaseAxiosAdapter implements PaymentProviderPix {
|
|
7
|
+
protected credentials: PagarmeCredentialsV5;
|
|
8
|
+
protected paymentRepository: PaymentRepository;
|
|
9
|
+
constructor(credentials: PagarmeCredentialsV5, paymentRepository: PaymentRepository);
|
|
10
|
+
pay(checkout: Checkout): Promise<Payment>;
|
|
11
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './adapters';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './adapters';
|
|
2
|
+
export * from './types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './v5';
|
|
1
|
+
export * from './v5';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './pagarmev5-customer.type';
|
|
2
|
-
export * from './pagarmev5-order-request-payload.type';
|
|
3
|
-
export * from './pagarmev5-order-response.type';
|
|
4
|
-
export * from './pagarmev5-postback-response.type';
|
|
1
|
+
export * from './pagarmev5-customer.type';
|
|
2
|
+
export * from './pagarmev5-order-request-payload.type';
|
|
3
|
+
export * from './pagarmev5-order-response.type';
|
|
4
|
+
export * from './pagarmev5-postback-response.type';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export type PagarMeV5Customer = {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
email: string;
|
|
5
|
-
code: string;
|
|
6
|
-
document: string;
|
|
7
|
-
document_type: string;
|
|
8
|
-
type: string;
|
|
9
|
-
gender: string;
|
|
10
|
-
delinquent: boolean;
|
|
11
|
-
address: {
|
|
12
|
-
line_1: string;
|
|
13
|
-
line_2: string;
|
|
14
|
-
zip_code: string;
|
|
15
|
-
city: string;
|
|
16
|
-
state: string;
|
|
17
|
-
country: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
1
|
+
export type PagarMeV5Customer = {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
code: string;
|
|
6
|
+
document: string;
|
|
7
|
+
document_type: string;
|
|
8
|
+
type: string;
|
|
9
|
+
gender: string;
|
|
10
|
+
delinquent: boolean;
|
|
11
|
+
address: {
|
|
12
|
+
line_1: string;
|
|
13
|
+
line_2: string;
|
|
14
|
+
zip_code: string;
|
|
15
|
+
city: string;
|
|
16
|
+
state: string;
|
|
17
|
+
country: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
export type PagarMeV5RequestPayload = {
|
|
2
|
-
items: PagarMeV5Orderitems[];
|
|
3
|
-
customer: PagarMeV5OrderCustomer;
|
|
4
|
-
payments: PagarMeV5OrderPaymentInfo[];
|
|
5
|
-
shipping?: PagarMeV5OrderShippingInfo;
|
|
6
|
-
antifraude_enabled?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export type PagarMeV5OrderCustomer = {
|
|
9
|
-
name: string;
|
|
10
|
-
email: string;
|
|
11
|
-
type: string;
|
|
12
|
-
document: string;
|
|
13
|
-
phones: {
|
|
14
|
-
home_phone?: {
|
|
15
|
-
country_code: string;
|
|
16
|
-
number: string;
|
|
17
|
-
area_code: string;
|
|
18
|
-
};
|
|
19
|
-
mobile_phone: {
|
|
20
|
-
country_code: string;
|
|
21
|
-
number: string;
|
|
22
|
-
area_code: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
address?: {
|
|
26
|
-
line_1: string;
|
|
27
|
-
line_2: string;
|
|
28
|
-
zip_code: string;
|
|
29
|
-
city: string;
|
|
30
|
-
state: string;
|
|
31
|
-
country: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export type PagarMeV5Orderitems = {
|
|
35
|
-
amount: number;
|
|
36
|
-
description: string;
|
|
37
|
-
quantity: number;
|
|
38
|
-
code?: string;
|
|
39
|
-
};
|
|
40
|
-
export type PagarMeV5OrderPaymentInfo = {
|
|
41
|
-
payment_method: 'boleto' | 'pix' | 'credit_card';
|
|
42
|
-
amount: number;
|
|
43
|
-
pix?: PagarMeV5OrderPaymentPixInfo;
|
|
44
|
-
boleto?: PagarMeV5OrderPaymentBoletoInfo;
|
|
45
|
-
credit_card?: PagarMeV5OrderPaymentCardInfo;
|
|
46
|
-
};
|
|
47
|
-
export type PagarMeV5OrderPaymentPixInfo = {
|
|
48
|
-
expires_at?: string;
|
|
49
|
-
expires_in?: number;
|
|
50
|
-
additional_information?: [
|
|
51
|
-
{
|
|
52
|
-
name: string;
|
|
53
|
-
value: string;
|
|
54
|
-
}
|
|
55
|
-
];
|
|
56
|
-
};
|
|
57
|
-
export type PagarMeV5OrderPaymentBoletoInfo = {
|
|
58
|
-
instructions: string;
|
|
59
|
-
due_at: string;
|
|
60
|
-
type: 'DM' | 'BDP';
|
|
61
|
-
document_number?: string;
|
|
62
|
-
};
|
|
63
|
-
export type PagarMeV5OrderPaymentCardInfo = {
|
|
64
|
-
installments: number;
|
|
65
|
-
statement_descriptor: string;
|
|
66
|
-
card_id: string;
|
|
67
|
-
card: {
|
|
68
|
-
cvv: string;
|
|
69
|
-
billing_address?: {
|
|
70
|
-
line_1: string;
|
|
71
|
-
zip_code: string;
|
|
72
|
-
city: string;
|
|
73
|
-
state: string;
|
|
74
|
-
country: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
export type PagarMeV5OrderShippingInfo = {
|
|
79
|
-
amount: number;
|
|
80
|
-
description: string;
|
|
81
|
-
recipient_name: string;
|
|
82
|
-
recipient_phone: string;
|
|
83
|
-
address: {
|
|
84
|
-
line_1: string;
|
|
85
|
-
line_2?: string;
|
|
86
|
-
zip_code: string;
|
|
87
|
-
city: string;
|
|
88
|
-
state: string;
|
|
89
|
-
country: string;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
1
|
+
export type PagarMeV5RequestPayload = {
|
|
2
|
+
items: PagarMeV5Orderitems[];
|
|
3
|
+
customer: PagarMeV5OrderCustomer;
|
|
4
|
+
payments: PagarMeV5OrderPaymentInfo[];
|
|
5
|
+
shipping?: PagarMeV5OrderShippingInfo;
|
|
6
|
+
antifraude_enabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type PagarMeV5OrderCustomer = {
|
|
9
|
+
name: string;
|
|
10
|
+
email: string;
|
|
11
|
+
type: string;
|
|
12
|
+
document: string;
|
|
13
|
+
phones: {
|
|
14
|
+
home_phone?: {
|
|
15
|
+
country_code: string;
|
|
16
|
+
number: string;
|
|
17
|
+
area_code: string;
|
|
18
|
+
};
|
|
19
|
+
mobile_phone: {
|
|
20
|
+
country_code: string;
|
|
21
|
+
number: string;
|
|
22
|
+
area_code: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
address?: {
|
|
26
|
+
line_1: string;
|
|
27
|
+
line_2: string;
|
|
28
|
+
zip_code: string;
|
|
29
|
+
city: string;
|
|
30
|
+
state: string;
|
|
31
|
+
country: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export type PagarMeV5Orderitems = {
|
|
35
|
+
amount: number;
|
|
36
|
+
description: string;
|
|
37
|
+
quantity: number;
|
|
38
|
+
code?: string;
|
|
39
|
+
};
|
|
40
|
+
export type PagarMeV5OrderPaymentInfo = {
|
|
41
|
+
payment_method: 'boleto' | 'pix' | 'credit_card';
|
|
42
|
+
amount: number;
|
|
43
|
+
pix?: PagarMeV5OrderPaymentPixInfo;
|
|
44
|
+
boleto?: PagarMeV5OrderPaymentBoletoInfo;
|
|
45
|
+
credit_card?: PagarMeV5OrderPaymentCardInfo;
|
|
46
|
+
};
|
|
47
|
+
export type PagarMeV5OrderPaymentPixInfo = {
|
|
48
|
+
expires_at?: string;
|
|
49
|
+
expires_in?: number;
|
|
50
|
+
additional_information?: [
|
|
51
|
+
{
|
|
52
|
+
name: string;
|
|
53
|
+
value: string;
|
|
54
|
+
}
|
|
55
|
+
];
|
|
56
|
+
};
|
|
57
|
+
export type PagarMeV5OrderPaymentBoletoInfo = {
|
|
58
|
+
instructions: string;
|
|
59
|
+
due_at: string;
|
|
60
|
+
type: 'DM' | 'BDP';
|
|
61
|
+
document_number?: string;
|
|
62
|
+
};
|
|
63
|
+
export type PagarMeV5OrderPaymentCardInfo = {
|
|
64
|
+
installments: number;
|
|
65
|
+
statement_descriptor: string;
|
|
66
|
+
card_id: string;
|
|
67
|
+
card: {
|
|
68
|
+
cvv: string;
|
|
69
|
+
billing_address?: {
|
|
70
|
+
line_1: string;
|
|
71
|
+
zip_code: string;
|
|
72
|
+
city: string;
|
|
73
|
+
state: string;
|
|
74
|
+
country: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
export type PagarMeV5OrderShippingInfo = {
|
|
79
|
+
amount: number;
|
|
80
|
+
description: string;
|
|
81
|
+
recipient_name: string;
|
|
82
|
+
recipient_phone: string;
|
|
83
|
+
address: {
|
|
84
|
+
line_1: string;
|
|
85
|
+
line_2?: string;
|
|
86
|
+
zip_code: string;
|
|
87
|
+
city: string;
|
|
88
|
+
state: string;
|
|
89
|
+
country: string;
|
|
90
|
+
};
|
|
91
|
+
};
|