@paddle/paddle-node-sdk 1.2.1 → 1.3.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/internal/api/client.js +100 -0
- package/dist/cjs/notifications/helpers/webhooks-validator.js +41 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/entities/address/address-collection.js +7 -0
- package/dist/esm/entities/address/address.js +19 -0
- package/dist/esm/entities/adjustment/adjustment-collection.js +7 -0
- package/dist/esm/entities/adjustment/adjustment-item-totals.js +7 -0
- package/dist/esm/entities/adjustment/adjustment-item.js +11 -0
- package/dist/esm/entities/adjustment/adjustment-proration.js +9 -0
- package/dist/esm/entities/adjustment/adjustment-time-period.js +6 -0
- package/dist/esm/entities/adjustment/adjustment.js +19 -0
- package/dist/esm/entities/business/business-collection.js +7 -0
- package/dist/esm/entities/business/business.js +16 -0
- package/dist/esm/entities/business/contacts.js +6 -0
- package/dist/esm/entities/customer/credit-balance.js +8 -0
- package/dist/esm/entities/customer/customer-balance.js +7 -0
- package/dist/esm/entities/customer/customer-collection.js +7 -0
- package/dist/esm/entities/customer/customer.js +15 -0
- package/dist/esm/entities/discount/discount-collection.js +7 -0
- package/dist/esm/entities/discount/discount.js +24 -0
- package/dist/esm/entities/event-types/event-type.js +8 -0
- package/dist/esm/entities/events/event-collection.js +7 -0
- package/dist/esm/entities/events/event.js +10 -0
- package/dist/esm/entities/index.js +16 -0
- package/dist/esm/entities/notification-settings/notification-settings.js +14 -0
- package/dist/esm/entities/notifications/notification-collection.js +7 -0
- package/dist/esm/entities/notifications/notification-log-collection.js +7 -0
- package/dist/esm/entities/notifications/notification-log.js +10 -0
- package/dist/esm/entities/notifications/notification.js +18 -0
- package/dist/esm/entities/notifications/replay-notification.js +5 -0
- package/dist/esm/entities/payout/payout.js +8 -0
- package/dist/esm/entities/price/price-collection.js +7 -0
- package/dist/esm/entities/price/price-quantity.js +6 -0
- package/dist/esm/entities/price/price.js +24 -0
- package/dist/esm/entities/pricing-preview/pricing-preview-details.js +6 -0
- package/dist/esm/entities/pricing-preview/pricing-preview-discounts.js +8 -0
- package/dist/esm/entities/pricing-preview/pricing-preview-line-item.js +17 -0
- package/dist/esm/entities/pricing-preview/pricing-preview.js +16 -0
- package/dist/esm/entities/product/product-collection.js +7 -0
- package/dist/esm/entities/product/product.js +18 -0
- package/dist/esm/entities/report/report-collection.js +7 -0
- package/dist/esm/entities/report/report-csv.js +5 -0
- package/dist/esm/entities/report/report-filters.js +8 -0
- package/dist/esm/entities/report/report.js +13 -0
- package/dist/esm/entities/shared/adjustment-original-amount.js +6 -0
- package/dist/esm/entities/shared/billing-details.js +10 -0
- package/dist/esm/entities/shared/chargeback-fee.js +7 -0
- package/dist/esm/entities/shared/import-meta.js +6 -0
- package/dist/esm/entities/shared/money.js +6 -0
- package/dist/esm/entities/shared/payment-card.js +9 -0
- package/dist/esm/entities/shared/payment-method-details.js +7 -0
- package/dist/esm/entities/shared/payout-totals-adjustment.js +14 -0
- package/dist/esm/entities/shared/tax-rates-used.js +7 -0
- package/dist/esm/entities/shared/time-period.js +6 -0
- package/dist/esm/entities/shared/total-adjustments.js +10 -0
- package/dist/esm/entities/shared/totals.js +8 -0
- package/dist/esm/entities/shared/transaction-checkout.js +5 -0
- package/dist/esm/entities/shared/transaction-payment-attempt.js +16 -0
- package/dist/esm/entities/shared/transaction-payout-totals-adjusted.js +14 -0
- package/dist/esm/entities/shared/transaction-payout-totals.js +15 -0
- package/dist/esm/entities/shared/transaction-totals-adjusted.js +11 -0
- package/dist/esm/entities/shared/transaction-totals.js +15 -0
- package/dist/esm/entities/shared/unit-price-override.js +7 -0
- package/dist/esm/entities/shared/unit-totals.js +8 -0
- package/dist/esm/entities/subscription/next-transaction-adjustment-item.js +10 -0
- package/dist/esm/entities/subscription/next-transaction-adjustment-preview.js +9 -0
- package/dist/esm/entities/subscription/next-transaction.js +8 -0
- package/dist/esm/entities/subscription/subscription-collection.js +7 -0
- package/dist/esm/entities/subscription/subscription-discount.js +8 -0
- package/dist/esm/entities/subscription/subscription-item.js +14 -0
- package/dist/esm/entities/subscription/subscription-management.js +8 -0
- package/dist/esm/entities/subscription/subscription-preview-summary-result.js +7 -0
- package/dist/esm/entities/subscription/subscription-preview-update-summary.js +8 -0
- package/dist/esm/entities/subscription/subscription-preview.js +47 -0
- package/dist/esm/entities/subscription/subscription-scheduled-change.js +7 -0
- package/dist/esm/entities/subscription/subscription-time-period.js +6 -0
- package/dist/esm/entities/subscription/subscription.js +38 -0
- package/dist/esm/entities/subscription/transaction-details-preview.js +8 -0
- package/dist/esm/entities/subscription/transaction-line-item-preview.js +11 -0
- package/dist/esm/entities/transaction/address-preview.js +6 -0
- package/dist/esm/entities/transaction/adjustment-totals-breakdown.js +7 -0
- package/dist/esm/entities/transaction/adjustment-totals.js +12 -0
- package/dist/esm/entities/transaction/proration.js +7 -0
- package/dist/esm/entities/transaction/transaction-adjustment-item.js +13 -0
- package/dist/esm/entities/transaction/transaction-adjustment.js +19 -0
- package/dist/esm/entities/transaction/transaction-collection.js +7 -0
- package/dist/esm/entities/transaction/transaction-details.js +17 -0
- package/dist/esm/entities/transaction/transaction-invoice-pdf.js +5 -0
- package/dist/esm/entities/transaction/transaction-item-preview.js +10 -0
- package/dist/esm/entities/transaction/transaction-item.js +8 -0
- package/dist/esm/entities/transaction/transaction-line-item.js +13 -0
- package/dist/esm/entities/transaction/transaction-preview.js +17 -0
- package/dist/esm/entities/transaction/transaction-proration.js +9 -0
- package/dist/esm/entities/transaction/transaction.js +39 -0
- package/dist/esm/entities/transaction/transactions-time-period.js +6 -0
- package/dist/esm/enums/adjustment/adjustment-action.js +1 -0
- package/dist/esm/enums/adjustment/adjustment-currency-code.js +1 -0
- package/dist/esm/enums/adjustment/adjustment-status.js +1 -0
- package/dist/esm/enums/adjustment/adjustment-type.js +1 -0
- package/dist/esm/enums/discount/discount-status.js +1 -0
- package/dist/esm/enums/discount/discount-type.js +1 -0
- package/dist/esm/enums/notification/notification-status.js +1 -0
- package/dist/esm/enums/notification/origin.js +1 -0
- package/dist/esm/enums/notification-settings/notification-settings-type.js +1 -0
- package/dist/esm/enums/payout/payout-status.js +1 -0
- package/dist/esm/enums/report/report-filter-name.js +1 -0
- package/dist/esm/enums/report/report-filter-operator.js +1 -0
- package/dist/esm/enums/report/report-status.js +1 -0
- package/dist/esm/enums/report/report-type.js +1 -0
- package/dist/esm/enums/shared/available-payment-methods.js +1 -0
- package/dist/esm/enums/shared/catalog-type.js +1 -0
- package/dist/esm/enums/shared/collection-mode.js +1 -0
- package/dist/esm/enums/shared/country-code.js +1 -0
- package/dist/esm/enums/shared/currency-code.js +1 -0
- package/dist/esm/enums/shared/error-code.js +1 -0
- package/dist/esm/enums/shared/interval.js +1 -0
- package/dist/esm/enums/shared/payment-attempt-status.js +1 -0
- package/dist/esm/enums/shared/payment-type.js +1 -0
- package/dist/esm/enums/shared/payout-currency-code.js +1 -0
- package/dist/esm/enums/shared/status.js +1 -0
- package/dist/esm/enums/shared/tax-category.js +1 -0
- package/dist/esm/enums/shared/tax-mode.js +1 -0
- package/dist/esm/enums/shared/transaction-origin.js +1 -0
- package/dist/esm/enums/shared/transaction-status.js +1 -0
- package/dist/esm/enums/subscription/proration-billing-mode.js +1 -0
- package/dist/esm/enums/subscription/scheduled-change-action.js +1 -0
- package/dist/esm/enums/subscription/subscription-effective-from.js +1 -0
- package/dist/esm/enums/subscription/subscription-item-status.js +1 -0
- package/dist/esm/enums/subscription/subscription-on-payment-failure.js +1 -0
- package/dist/esm/enums/subscription/subscription-status.js +1 -0
- package/dist/esm/enums/transaction/payment-card-type.js +1 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/internal/api/case-helpers.js +51 -0
- package/dist/esm/internal/api/client.js +93 -0
- package/dist/esm/internal/api/constants.js +5 -0
- package/dist/esm/internal/api/environment.js +5 -0
- package/dist/esm/internal/base/base-resource.js +17 -0
- package/dist/esm/internal/base/collection.js +61 -0
- package/dist/esm/internal/base/logger.js +17 -0
- package/dist/esm/internal/base/path-parameters.js +16 -0
- package/dist/esm/internal/base/query-parameters.js +16 -0
- package/dist/esm/internal/errors/generic.js +10 -0
- package/dist/esm/internal/index.js +2 -0
- package/dist/esm/internal/types/config.js +1 -0
- package/dist/esm/internal/types/response.js +1 -0
- package/dist/esm/notifications/entities/address/address-notification.js +20 -0
- package/dist/esm/notifications/entities/adjustment/adjustment-item-notification.js +11 -0
- package/dist/esm/notifications/entities/adjustment/adjustment-item-totals-notification.js +7 -0
- package/dist/esm/notifications/entities/adjustment/adjustment-notification.js +21 -0
- package/dist/esm/notifications/entities/adjustment/adjustment-proration-notification.js +9 -0
- package/dist/esm/notifications/entities/adjustment/adjustment-time-period-notification.js +6 -0
- package/dist/esm/notifications/entities/business/business-notification.js +17 -0
- package/dist/esm/notifications/entities/business/contacts-notification.js +6 -0
- package/dist/esm/notifications/entities/customer/customer-notification.js +15 -0
- package/dist/esm/notifications/entities/discount/discount-notification.js +24 -0
- package/dist/esm/notifications/entities/payout/payout-notification.js +8 -0
- package/dist/esm/notifications/entities/price/price-notification.js +23 -0
- package/dist/esm/notifications/entities/price/price-quantity-notification.js +6 -0
- package/dist/esm/notifications/entities/product/product-notification.js +17 -0
- package/dist/esm/notifications/entities/report/report-filters-notification.js +8 -0
- package/dist/esm/notifications/entities/report/report-notification.js +13 -0
- package/dist/esm/notifications/entities/shared/adjustment-original-amount-notification.js +6 -0
- package/dist/esm/notifications/entities/shared/billing-details-notification.js +10 -0
- package/dist/esm/notifications/entities/shared/chargeback-fee-notification.js +7 -0
- package/dist/esm/notifications/entities/shared/import-meta-notification.js +6 -0
- package/dist/esm/notifications/entities/shared/money-notification.js +6 -0
- package/dist/esm/notifications/entities/shared/payment-card-notification.js +9 -0
- package/dist/esm/notifications/entities/shared/payment-method-details-notification.js +7 -0
- package/dist/esm/notifications/entities/shared/payout-totals-adjustment-notification.js +14 -0
- package/dist/esm/notifications/entities/shared/tax-rates-used-notification.js +7 -0
- package/dist/esm/notifications/entities/shared/time-period-notification.js +6 -0
- package/dist/esm/notifications/entities/shared/total-adjustments-notification.js +10 -0
- package/dist/esm/notifications/entities/shared/totals-notification.js +8 -0
- package/dist/esm/notifications/entities/shared/transaction-checkout-notification.js +5 -0
- package/dist/esm/notifications/entities/shared/transaction-payment-attempt-notification.js +17 -0
- package/dist/esm/notifications/entities/shared/transaction-payout-totals-adjusted-notification.js +14 -0
- package/dist/esm/notifications/entities/shared/transaction-payout-totals-notification.js +15 -0
- package/dist/esm/notifications/entities/shared/transaction-totals-adjusted-notification.js +11 -0
- package/dist/esm/notifications/entities/shared/transaction-totals-notification.js +15 -0
- package/dist/esm/notifications/entities/shared/unit-price-override-notification.js +7 -0
- package/dist/esm/notifications/entities/shared/unit-totals-notification.js +8 -0
- package/dist/esm/notifications/entities/subscription/subscription-discount-notification.js +8 -0
- package/dist/esm/notifications/entities/subscription/subscription-item-notification.js +16 -0
- package/dist/esm/notifications/entities/subscription/subscription-notification.js +34 -0
- package/dist/esm/notifications/entities/subscription/subscription-price-notification.js +23 -0
- package/dist/esm/notifications/entities/subscription/subscription-scheduled-change-notification.js +7 -0
- package/dist/esm/notifications/entities/subscription/subscription-time-period-notification.js +6 -0
- package/dist/esm/notifications/entities/transaction/transaction-details-notification.js +17 -0
- package/dist/esm/notifications/entities/transaction/transaction-item-notification.js +8 -0
- package/dist/esm/notifications/entities/transaction/transaction-line-item-notification.js +17 -0
- package/dist/esm/notifications/entities/transaction/transaction-notification.js +31 -0
- package/dist/esm/notifications/entities/transaction/transaction-proration-notification.js +9 -0
- package/dist/esm/notifications/entities/transaction/transactions-time-period-notification.js +6 -0
- package/dist/esm/notifications/events/address/address-created-event.js +10 -0
- package/dist/esm/notifications/events/address/address-imported-event.js +10 -0
- package/dist/esm/notifications/events/address/address-updated-event.js +10 -0
- package/dist/esm/notifications/events/adjustment/adjustment-created-event.js +10 -0
- package/dist/esm/notifications/events/adjustment/adjustment-updated-event.js +10 -0
- package/dist/esm/notifications/events/business/business-created-event.js +10 -0
- package/dist/esm/notifications/events/business/business-imported-event.js +10 -0
- package/dist/esm/notifications/events/business/business-updated-event.js +10 -0
- package/dist/esm/notifications/events/customer/customer-created-event.js +10 -0
- package/dist/esm/notifications/events/customer/customer-imported-event.js +10 -0
- package/dist/esm/notifications/events/customer/customer-updated-event.js +10 -0
- package/dist/esm/notifications/events/discount/discount-created-event.js +10 -0
- package/dist/esm/notifications/events/discount/discount-imported-event.js +10 -0
- package/dist/esm/notifications/events/discount/discount-updated-event.js +10 -0
- package/dist/esm/notifications/events/payout/payout-created-event.js +10 -0
- package/dist/esm/notifications/events/payout/payout-paid-event.js +10 -0
- package/dist/esm/notifications/events/price/price-created-event.js +10 -0
- package/dist/esm/notifications/events/price/price-imported-event.js +10 -0
- package/dist/esm/notifications/events/price/price-updated-event.js +10 -0
- package/dist/esm/notifications/events/product/product-created-event.js +10 -0
- package/dist/esm/notifications/events/product/product-imported-event.js +10 -0
- package/dist/esm/notifications/events/product/product-updated-event.js +10 -0
- package/dist/esm/notifications/events/report/report-created-event.js +10 -0
- package/dist/esm/notifications/events/report/report-updated-event.js +10 -0
- package/dist/esm/notifications/events/subscription/subscription-activated-event.js +10 -0
- package/dist/esm/notifications/events/subscription/subscription-canceled-event.js +10 -0
- package/dist/esm/notifications/events/subscription/subscription-created-event.js +10 -0
- package/dist/esm/notifications/events/subscription/subscription-imported-event.js +10 -0
- package/dist/esm/notifications/events/subscription/subscription-past-due-event.js +10 -0
- package/dist/esm/notifications/events/subscription/subscription-paused-event.js +10 -0
- package/dist/esm/notifications/events/subscription/subscription-resumed-event.js +10 -0
- package/dist/esm/notifications/events/subscription/subscription-trialing-event.js +10 -0
- package/dist/esm/notifications/events/subscription/subscription-updated-event.js +10 -0
- package/dist/esm/notifications/events/transaction/transaction-billed-event.js +10 -0
- package/dist/esm/notifications/events/transaction/transaction-canceled-event.js +10 -0
- package/dist/esm/notifications/events/transaction/transaction-completed-event.js +10 -0
- package/dist/esm/notifications/events/transaction/transaction-created-event.js +10 -0
- package/dist/esm/notifications/events/transaction/transaction-paid-event.js +10 -0
- package/dist/esm/notifications/events/transaction/transaction-past-due-event.js +10 -0
- package/dist/esm/notifications/events/transaction/transaction-payment-failed-event.js +10 -0
- package/dist/esm/notifications/events/transaction/transaction-ready-event.js +10 -0
- package/dist/esm/notifications/events/transaction/transaction-updated-event.js +10 -0
- package/dist/esm/notifications/helpers/types.js +45 -0
- package/dist/esm/notifications/helpers/webhooks-validator.js +37 -0
- package/dist/esm/notifications/helpers/webhooks.js +110 -0
- package/dist/esm/notifications/types/address/address-notification-response.js +1 -0
- package/dist/esm/notifications/types/adjustment/adjustment-item-notification-response.js +1 -0
- package/dist/esm/notifications/types/adjustment/adjustment-notification-response.js +1 -0
- package/dist/esm/notifications/types/adjustment/adjustment-totals-breakdown-notification.js +1 -0
- package/dist/esm/notifications/types/adjustment/adjustment-totals-notification-response.js +1 -0
- package/dist/esm/notifications/types/adjustment/adjustments-proration-notification-response.js +1 -0
- package/dist/esm/notifications/types/adjustment/adjustments-time-period-notification-response.js +1 -0
- package/dist/esm/notifications/types/business/business-notification-response.js +1 -0
- package/dist/esm/notifications/types/business/businesses-contacts-notification.js +1 -0
- package/dist/esm/notifications/types/customer/customer-notification-response.js +1 -0
- package/dist/esm/notifications/types/discount/discount-notification-response.js +1 -0
- package/dist/esm/notifications/types/payout/payout-notification-response.js +1 -0
- package/dist/esm/notifications/types/price/price-notification-response.js +1 -0
- package/dist/esm/notifications/types/price/price-quantity-notification.js +1 -0
- package/dist/esm/notifications/types/product/product-notification-response.js +1 -0
- package/dist/esm/notifications/types/report/report-filters-notification-response.js +1 -0
- package/dist/esm/notifications/types/report/report-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/adjustment-original-amount-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/billing-details-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/chargeback-fee.js +1 -0
- package/dist/esm/notifications/types/shared/import-meta-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/money-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/payment-card-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/payment-method-details.js +1 -0
- package/dist/esm/notifications/types/shared/payout-totals-adjustment-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/shared-price-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/shared-product-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/tax-rates-used-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/time-period-notification.js +1 -0
- package/dist/esm/notifications/types/shared/total-adjustments-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/totals.js +1 -0
- package/dist/esm/notifications/types/shared/transaction-checkout-notification.js +1 -0
- package/dist/esm/notifications/types/shared/transaction-payment-attempt-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/transaction-payout-totals-adjusted-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/transaction-payout-totals-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/transaction-totals-adjusted-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/transaction-totals-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/unit-price-override-notification-response.js +1 -0
- package/dist/esm/notifications/types/shared/unit-totals.js +1 -0
- package/dist/esm/notifications/types/subscription/subscription-discount-notification-response.js +1 -0
- package/dist/esm/notifications/types/subscription/subscription-item-notification-response.js +1 -0
- package/dist/esm/notifications/types/subscription/subscription-notification-response.js +1 -0
- package/dist/esm/notifications/types/subscription/subscription-price-notification-response.js +1 -0
- package/dist/esm/notifications/types/subscription/subscription-scheduled-change-notification-response.js +1 -0
- package/dist/esm/notifications/types/subscription/subscription-time-period-notification-response.js +1 -0
- package/dist/esm/notifications/types/transaction/transaction-details-notification-response.js +1 -0
- package/dist/esm/notifications/types/transaction/transaction-item-notification-response.js +1 -0
- package/dist/esm/notifications/types/transaction/transaction-line-item-notification-response.js +1 -0
- package/dist/esm/notifications/types/transaction/transaction-notification-response.js +1 -0
- package/dist/esm/notifications/types/transaction/transaction-proration-notification-response.js +1 -0
- package/dist/esm/notifications/types/transaction/transactions-time-period-notification-response.js +1 -0
- package/dist/esm/paddle.js +29 -0
- package/dist/esm/resources/addresses/index.js +64 -0
- package/dist/esm/resources/addresses/operations/create-address-request-body.js +1 -0
- package/dist/esm/resources/addresses/operations/list-address-query-parameters.js +1 -0
- package/dist/esm/resources/addresses/operations/update-address-request-body.js +1 -0
- package/dist/esm/resources/adjustments/index.js +29 -0
- package/dist/esm/resources/adjustments/operations/create-adjustment-request-body.js +1 -0
- package/dist/esm/resources/adjustments/operations/list-adjustment-query-parameters.js +1 -0
- package/dist/esm/resources/businesses/index.js +64 -0
- package/dist/esm/resources/businesses/operations/create-business-request-body.js +1 -0
- package/dist/esm/resources/businesses/operations/list-business-query-parameters.js +1 -0
- package/dist/esm/resources/businesses/operations/update-business-request-body.js +1 -0
- package/dist/esm/resources/customers/index.js +68 -0
- package/dist/esm/resources/customers/operations/create-customer-request-body.js +1 -0
- package/dist/esm/resources/customers/operations/get-credit-balance-query-parameters.js +1 -0
- package/dist/esm/resources/customers/operations/list-customer-query-parameters.js +1 -0
- package/dist/esm/resources/customers/operations/update-customer-request-body.js +1 -0
- package/dist/esm/resources/discounts/index.js +56 -0
- package/dist/esm/resources/discounts/operations/create-discount-request-body.js +1 -0
- package/dist/esm/resources/discounts/operations/list-discount-query-parameters.js +1 -0
- package/dist/esm/resources/discounts/operations/update-discount-request-body.js +1 -0
- package/dist/esm/resources/event-types/index.js +23 -0
- package/dist/esm/resources/events/index.js +12 -0
- package/dist/esm/resources/events/operations/list-events-query-parameters.js +1 -0
- package/dist/esm/resources/notification-settings/index.js +66 -0
- package/dist/esm/resources/notification-settings/operations/create-notification-settings-request-body.js +1 -0
- package/dist/esm/resources/notification-settings/operations/update-notification-settings-request-body.js +1 -0
- package/dist/esm/resources/notifications/index.js +51 -0
- package/dist/esm/resources/notifications/operations/list-notification-log-query-parameters.js +1 -0
- package/dist/esm/resources/notifications/operations/list-notification-query-parameters.js +1 -0
- package/dist/esm/resources/prices/index.js +57 -0
- package/dist/esm/resources/prices/operations/create-price-request-body.js +1 -0
- package/dist/esm/resources/prices/operations/get-price-query-parameters.js +1 -0
- package/dist/esm/resources/prices/operations/list-price-query-parameters.js +1 -0
- package/dist/esm/resources/prices/operations/update-price-request-body.js +1 -0
- package/dist/esm/resources/pricing-preview/index.js +24 -0
- package/dist/esm/resources/pricing-preview/operations/pricing-preview-request-body.js +1 -0
- package/dist/esm/resources/products/index.js +57 -0
- package/dist/esm/resources/products/operations/create-product-request-body.js +1 -0
- package/dist/esm/resources/products/operations/get-product-query-parameters.js +1 -0
- package/dist/esm/resources/products/operations/list-product-query-parameters.js +1 -0
- package/dist/esm/resources/products/operations/update-product-request-body.js +1 -0
- package/dist/esm/resources/reports/index.js +51 -0
- package/dist/esm/resources/reports/operations/create-report-request-object.js +1 -0
- package/dist/esm/resources/reports/operations/list-report-query-parameters.js +1 -0
- package/dist/esm/resources/subscriptions/index.js +132 -0
- package/dist/esm/resources/subscriptions/operations/cancel-subscription-request-object.js +1 -0
- package/dist/esm/resources/subscriptions/operations/create-subscription-charge-request-object.js +1 -0
- package/dist/esm/resources/subscriptions/operations/get-subscription-query-parameters.js +1 -0
- package/dist/esm/resources/subscriptions/operations/list-subscription-query-parameters.js +1 -0
- package/dist/esm/resources/subscriptions/operations/pause-subscription-request-object.js +1 -0
- package/dist/esm/resources/subscriptions/operations/resume-subscription-request-object.js +1 -0
- package/dist/esm/resources/subscriptions/operations/update-subscription-request-body.js +1 -0
- package/dist/esm/resources/transactions/index.js +73 -0
- package/dist/esm/resources/transactions/operations/create-transaction-query-parameters.js +1 -0
- package/dist/esm/resources/transactions/operations/create-transaction-request-body.js +1 -0
- package/dist/esm/resources/transactions/operations/get-transaction-query-parameters.js +1 -0
- package/dist/esm/resources/transactions/operations/list-transaction-query-parameters.js +1 -0
- package/dist/esm/resources/transactions/operations/transaction-preview-request-body.js +1 -0
- package/dist/esm/resources/transactions/operations/update-transaction-query-parameters.js +1 -0
- package/dist/esm/resources/transactions/operations/update-transaction-request-body.js +1 -0
- package/dist/esm/types/address/address-response.js +1 -0
- package/dist/esm/types/adjustment/adjustment-item-response.js +1 -0
- package/dist/esm/types/adjustment/adjustment-response.js +1 -0
- package/dist/esm/types/adjustment/adjustments-proration-response.js +1 -0
- package/dist/esm/types/adjustment/adjustments-time-period-response.js +1 -0
- package/dist/esm/types/business/business-response.js +1 -0
- package/dist/esm/types/business/businesses-contacts.js +1 -0
- package/dist/esm/types/customer/credit-balance-response.js +1 -0
- package/dist/esm/types/customer/customer-balance.js +1 -0
- package/dist/esm/types/customer/customer-response.js +1 -0
- package/dist/esm/types/discount/discount-response.js +1 -0
- package/dist/esm/types/event-types/event-type-response.js +1 -0
- package/dist/esm/types/events/events-response.js +1 -0
- package/dist/esm/types/index.js +17 -0
- package/dist/esm/types/notification-settings/notification-settings-response.js +1 -0
- package/dist/esm/types/notifications/index.js +3 -0
- package/dist/esm/types/notifications/notification-log.js +1 -0
- package/dist/esm/types/notifications/notification.js +1 -0
- package/dist/esm/types/notifications/replay-notification.js +1 -0
- package/dist/esm/types/payout/payout-response.js +1 -0
- package/dist/esm/types/price/non-catalog-price-request.js +1 -0
- package/dist/esm/types/price/price-response.js +1 -0
- package/dist/esm/types/price/subscription-non-catalog-price-request.js +1 -0
- package/dist/esm/types/pricing-preview/pricing-preview-details-response.js +1 -0
- package/dist/esm/types/pricing-preview/pricing-preview-discounts-response.js +1 -0
- package/dist/esm/types/pricing-preview/pricing-preview-item-response.js +1 -0
- package/dist/esm/types/pricing-preview/pricing-preview-line-item-response.js +1 -0
- package/dist/esm/types/pricing-preview/pricing-preview-response.js +1 -0
- package/dist/esm/types/product/product-response.js +1 -0
- package/dist/esm/types/report/report-filters.js +1 -0
- package/dist/esm/types/report/report.js +1 -0
- package/dist/esm/types/report/reports-csv.js +1 -0
- package/dist/esm/types/shared/adjustment-item-totals.js +1 -0
- package/dist/esm/types/shared/adjustment-original-amount-response.js +1 -0
- package/dist/esm/types/shared/billing-details-create.js +1 -0
- package/dist/esm/types/shared/billing-details-response.js +1 -0
- package/dist/esm/types/shared/billing-details-update.js +1 -0
- package/dist/esm/types/shared/chargeback-fee.js +1 -0
- package/dist/esm/types/shared/custom-data.js +1 -0
- package/dist/esm/types/shared/import-meta-response.js +1 -0
- package/dist/esm/types/shared/money-response.js +1 -0
- package/dist/esm/types/shared/money.js +1 -0
- package/dist/esm/types/shared/payment-card-response.js +1 -0
- package/dist/esm/types/shared/payment-method-details.js +1 -0
- package/dist/esm/types/shared/payout-totals-adjustment-response.js +1 -0
- package/dist/esm/types/shared/price-quantity.js +1 -0
- package/dist/esm/types/shared/tax-rates-used-response.js +1 -0
- package/dist/esm/types/shared/time-period.js +1 -0
- package/dist/esm/types/shared/total-adjustments-response.js +1 -0
- package/dist/esm/types/shared/totals.js +1 -0
- package/dist/esm/types/shared/transaction-checkout.js +1 -0
- package/dist/esm/types/shared/transaction-details-preview-response.js +1 -0
- package/dist/esm/types/shared/transaction-line-item-preview-response.js +1 -0
- package/dist/esm/types/shared/transaction-payment-attempt-response.js +1 -0
- package/dist/esm/types/shared/transaction-payout-totals-adjusted-response.js +1 -0
- package/dist/esm/types/shared/transaction-payout-totals-response.js +1 -0
- package/dist/esm/types/shared/transaction-totals-adjusted-response.js +1 -0
- package/dist/esm/types/shared/transaction-totals-response.js +1 -0
- package/dist/esm/types/shared/unit-price-override-response.js +1 -0
- package/dist/esm/types/shared/unit-price-override.js +1 -0
- package/dist/esm/types/shared/unit-totals.js +1 -0
- package/dist/esm/types/subscription/next-transaction-response.js +1 -0
- package/dist/esm/types/subscription/subscription-discount-response.js +1 -0
- package/dist/esm/types/subscription/subscription-item-response.js +1 -0
- package/dist/esm/types/subscription/subscription-management-response.js +1 -0
- package/dist/esm/types/subscription/subscription-preview-response.js +1 -0
- package/dist/esm/types/subscription/subscription-preview-update-summary.js +1 -0
- package/dist/esm/types/subscription/subscription-response.js +1 -0
- package/dist/esm/types/subscription/subscription-result-response.js +1 -0
- package/dist/esm/types/subscription/subscription-scheduled-change-response.js +1 -0
- package/dist/esm/types/subscription/subscription-time-period-response.js +1 -0
- package/dist/esm/types/subscription/subscription-update-item.js +1 -0
- package/dist/esm/types/transaction/adjustment-totals-breakdown.js +1 -0
- package/dist/esm/types/transaction/adjustment-totals-response.js +1 -0
- package/dist/esm/types/transaction/transaction-adjustment-item-response.js +1 -0
- package/dist/esm/types/transaction/transaction-adjustment-response.js +1 -0
- package/dist/esm/types/transaction/transaction-details-response.js +1 -0
- package/dist/esm/types/transaction/transaction-invoice-pdf.js +1 -0
- package/dist/esm/types/transaction/transaction-item-response.js +1 -0
- package/dist/esm/types/transaction/transaction-item.js +1 -0
- package/dist/esm/types/transaction/transaction-line-item-response.js +1 -0
- package/dist/esm/types/transaction/transaction-preview-item.js +1 -0
- package/dist/esm/types/transaction/transaction-preview-response.js +1 -0
- package/dist/esm/types/transaction/transaction-proration-response.js +1 -0
- package/dist/esm/types/transaction/transaction-response.js +1 -0
- package/dist/esm/types/transaction/transactions-time-period-response.js +1 -0
- package/dist/esm/types/transaction/transactions-time-period.js +1 -0
- package/dist/esm/version.js +1 -0
- package/dist/types/entities/address/index.d.ts +2 -0
- package/dist/types/entities/adjustment/index.d.ts +6 -0
- package/dist/types/entities/business/index.d.ts +3 -0
- package/dist/types/entities/customer/index.d.ts +4 -0
- package/dist/types/entities/discount/index.d.ts +2 -0
- package/dist/types/entities/event-types/index.d.ts +1 -0
- package/dist/types/entities/events/index.d.ts +1 -0
- package/dist/types/entities/notification-settings/index.d.ts +1 -0
- package/dist/types/entities/notifications/index.d.ts +5 -0
- package/dist/types/entities/payout/index.d.ts +1 -0
- package/dist/types/entities/price/index.d.ts +3 -0
- package/dist/types/entities/pricing-preview/index.d.ts +4 -0
- package/dist/types/entities/product/index.d.ts +2 -0
- package/dist/types/entities/report/index.d.ts +4 -0
- package/dist/types/entities/shared/index.d.ts +20 -0
- package/dist/types/entities/subscription/index.d.ts +15 -0
- package/dist/types/entities/transaction/index.d.ts +16 -0
- package/dist/types/enums/adjustment/index.d.ts +4 -0
- package/dist/types/enums/discount/index.d.ts +2 -0
- package/dist/types/enums/index.d.ts +9 -0
- package/dist/types/enums/notification/index.d.ts +2 -0
- package/dist/types/enums/notification-settings/index.d.ts +1 -0
- package/dist/types/enums/payout/index.d.ts +1 -0
- package/dist/types/enums/report/index.d.ts +4 -0
- package/dist/types/enums/shared/index.d.ts +15 -0
- package/dist/types/enums/subscription/index.d.ts +6 -0
- package/dist/types/enums/transaction/index.d.ts +1 -0
- package/dist/types/index.d.ts +7 -16
- package/dist/types/internal/api/index.d.ts +2 -0
- package/dist/types/internal/base/index.d.ts +4 -0
- package/dist/types/notifications/entities/address/index.d.ts +1 -0
- package/dist/types/notifications/entities/adjustment/index.d.ts +5 -0
- package/dist/types/notifications/entities/business/index.d.ts +2 -0
- package/dist/types/notifications/entities/customer/index.d.ts +1 -0
- package/dist/types/notifications/entities/discount/index.d.ts +1 -0
- package/dist/types/notifications/entities/index.d.ts +12 -0
- package/dist/types/notifications/entities/payout/index.d.ts +1 -0
- package/dist/types/notifications/entities/price/index.d.ts +2 -0
- package/dist/types/notifications/entities/product/index.d.ts +1 -0
- package/dist/types/notifications/entities/report/index.d.ts +2 -0
- package/dist/types/notifications/entities/shared/index.d.ts +20 -0
- package/dist/types/notifications/entities/subscription/index.d.ts +6 -0
- package/dist/types/notifications/entities/transaction/index.d.ts +6 -0
- package/dist/types/notifications/events/address/index.d.ts +3 -0
- package/dist/types/notifications/events/adjustment/index.d.ts +2 -0
- package/dist/types/notifications/events/business/index.d.ts +3 -0
- package/dist/types/notifications/events/customer/index.d.ts +3 -0
- package/dist/types/notifications/events/discount/index.d.ts +3 -0
- package/dist/types/notifications/events/index.d.ts +11 -0
- package/dist/types/notifications/events/payout/index.d.ts +2 -0
- package/dist/types/notifications/events/price/index.d.ts +3 -0
- package/dist/types/notifications/events/product/index.d.ts +3 -0
- package/dist/types/notifications/events/report/index.d.ts +2 -0
- package/dist/types/notifications/events/subscription/index.d.ts +9 -0
- package/dist/types/notifications/events/transaction/index.d.ts +9 -0
- package/dist/types/notifications/helpers/index.d.ts +3 -0
- package/dist/types/notifications/index.d.ts +4 -3
- package/dist/types/notifications/types/address/index.d.ts +1 -0
- package/dist/types/notifications/types/adjustment/index.d.ts +6 -0
- package/dist/types/notifications/types/business/index.d.ts +2 -0
- package/dist/types/notifications/types/customer/index.d.ts +1 -0
- package/dist/types/notifications/types/discount/index.d.ts +1 -0
- package/dist/types/notifications/types/index.d.ts +12 -0
- package/dist/types/notifications/types/payout/index.d.ts +1 -0
- package/dist/types/notifications/types/price/index.d.ts +2 -0
- package/dist/types/notifications/types/product/index.d.ts +1 -0
- package/dist/types/notifications/types/report/index.d.ts +2 -0
- package/dist/types/notifications/types/shared/index.d.ts +22 -0
- package/dist/types/notifications/types/subscription/index.d.ts +7 -0
- package/dist/types/notifications/types/transaction/index.d.ts +6 -0
- package/dist/types/resources/addresses/operations/index.d.ts +3 -0
- package/dist/types/resources/adjustments/operations/index.d.ts +2 -0
- package/dist/types/resources/businesses/operations/index.d.ts +3 -0
- package/dist/types/resources/customers/operations/index.d.ts +4 -0
- package/dist/types/resources/discounts/operations/index.d.ts +3 -0
- package/dist/types/resources/events/operations/index.d.ts +1 -0
- package/dist/types/resources/index.d.ts +14 -0
- package/dist/types/resources/notification-settings/operations/index.d.ts +2 -0
- package/dist/types/resources/notifications/operations/index.d.ts +2 -0
- package/dist/types/resources/prices/operations/index.d.ts +4 -0
- package/dist/types/resources/pricing-preview/operations/index.d.ts +1 -0
- package/dist/types/resources/products/operations/index.d.ts +4 -0
- package/dist/types/resources/reports/operations/index.d.ts +2 -0
- package/dist/types/resources/subscriptions/operations/index.d.ts +7 -0
- package/dist/types/resources/transactions/operations/index.d.ts +7 -0
- package/dist/types/types/address/index.d.ts +1 -0
- package/dist/types/types/adjustment/index.d.ts +4 -0
- package/dist/types/types/business/index.d.ts +2 -0
- package/dist/types/types/customer/index.d.ts +3 -0
- package/dist/types/types/discount/index.d.ts +1 -0
- package/dist/types/types/event-types/index.d.ts +1 -0
- package/dist/types/types/events/index.d.ts +1 -0
- package/dist/types/types/index.d.ts +17 -0
- package/dist/types/types/notification-settings/index.d.ts +1 -0
- package/dist/types/types/notifications/index.d.ts +3 -0
- package/dist/types/types/payout/index.d.ts +1 -0
- package/dist/types/types/price/index.d.ts +3 -0
- package/dist/types/types/pricing-preview/index.d.ts +5 -0
- package/dist/types/types/product/index.d.ts +1 -0
- package/dist/types/types/report/index.d.ts +3 -0
- package/dist/types/types/shared/index.d.ts +29 -0
- package/dist/types/types/subscription/index.d.ts +12 -0
- package/dist/types/types/transaction/index.d.ts +15 -0
- package/dist/types/version.d.ts +1 -0
- package/package.json +5 -4
- package/dist/index.d.ts +0 -8
- package/dist/internal/api/client.js +0 -100
- package/dist/notifications/helpers/webhooks-validator.js +0 -41
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -4
- /package/dist/{entities → cjs/entities}/address/address-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/address/address.js +0 -0
- /package/dist/{entities → cjs/entities}/address/index.js +0 -0
- /package/dist/{entities → cjs/entities}/adjustment/adjustment-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/adjustment/adjustment-item-totals.js +0 -0
- /package/dist/{entities → cjs/entities}/adjustment/adjustment-item.js +0 -0
- /package/dist/{entities → cjs/entities}/adjustment/adjustment-proration.js +0 -0
- /package/dist/{entities → cjs/entities}/adjustment/adjustment-time-period.js +0 -0
- /package/dist/{entities → cjs/entities}/adjustment/adjustment.js +0 -0
- /package/dist/{entities → cjs/entities}/adjustment/index.js +0 -0
- /package/dist/{entities → cjs/entities}/business/business-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/business/business.js +0 -0
- /package/dist/{entities → cjs/entities}/business/contacts.js +0 -0
- /package/dist/{entities → cjs/entities}/business/index.js +0 -0
- /package/dist/{entities → cjs/entities}/customer/credit-balance.js +0 -0
- /package/dist/{entities → cjs/entities}/customer/customer-balance.js +0 -0
- /package/dist/{entities → cjs/entities}/customer/customer-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/customer/customer.js +0 -0
- /package/dist/{entities → cjs/entities}/customer/index.js +0 -0
- /package/dist/{entities → cjs/entities}/discount/discount-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/discount/discount.js +0 -0
- /package/dist/{entities → cjs/entities}/discount/index.js +0 -0
- /package/dist/{entities → cjs/entities}/event-types/event-type.js +0 -0
- /package/dist/{entities → cjs/entities}/event-types/index.js +0 -0
- /package/dist/{entities → cjs/entities}/events/event-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/events/event.js +0 -0
- /package/dist/{entities → cjs/entities}/events/index.js +0 -0
- /package/dist/{entities → cjs/entities}/index.js +0 -0
- /package/dist/{entities → cjs/entities}/notification-settings/index.js +0 -0
- /package/dist/{entities → cjs/entities}/notification-settings/notification-settings.js +0 -0
- /package/dist/{entities → cjs/entities}/notifications/index.js +0 -0
- /package/dist/{entities → cjs/entities}/notifications/notification-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/notifications/notification-log-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/notifications/notification-log.js +0 -0
- /package/dist/{entities → cjs/entities}/notifications/notification.js +0 -0
- /package/dist/{entities → cjs/entities}/notifications/replay-notification.js +0 -0
- /package/dist/{entities → cjs/entities}/payout/index.js +0 -0
- /package/dist/{entities → cjs/entities}/payout/payout.js +0 -0
- /package/dist/{entities → cjs/entities}/price/index.js +0 -0
- /package/dist/{entities → cjs/entities}/price/price-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/price/price-quantity.js +0 -0
- /package/dist/{entities → cjs/entities}/price/price.js +0 -0
- /package/dist/{entities → cjs/entities}/pricing-preview/index.js +0 -0
- /package/dist/{entities → cjs/entities}/pricing-preview/pricing-preview-details.js +0 -0
- /package/dist/{entities → cjs/entities}/pricing-preview/pricing-preview-discounts.js +0 -0
- /package/dist/{entities → cjs/entities}/pricing-preview/pricing-preview-line-item.js +0 -0
- /package/dist/{entities → cjs/entities}/pricing-preview/pricing-preview.js +0 -0
- /package/dist/{entities → cjs/entities}/product/index.js +0 -0
- /package/dist/{entities → cjs/entities}/product/product-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/product/product.js +0 -0
- /package/dist/{entities → cjs/entities}/report/index.js +0 -0
- /package/dist/{entities → cjs/entities}/report/report-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/report/report-csv.js +0 -0
- /package/dist/{entities → cjs/entities}/report/report-filters.js +0 -0
- /package/dist/{entities → cjs/entities}/report/report.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/adjustment-original-amount.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/billing-details.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/chargeback-fee.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/import-meta.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/index.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/money.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/payment-card.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/payment-method-details.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/payout-totals-adjustment.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/tax-rates-used.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/time-period.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/total-adjustments.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/totals.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/transaction-checkout.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/transaction-payment-attempt.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/transaction-payout-totals-adjusted.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/transaction-payout-totals.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/transaction-totals-adjusted.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/transaction-totals.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/unit-price-override.js +0 -0
- /package/dist/{entities → cjs/entities}/shared/unit-totals.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/index.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/next-transaction-adjustment-item.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/next-transaction-adjustment-preview.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/next-transaction.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/subscription-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/subscription-discount.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/subscription-item.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/subscription-management.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/subscription-preview-summary-result.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/subscription-preview-update-summary.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/subscription-preview.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/subscription-scheduled-change.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/subscription-time-period.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/subscription.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/transaction-details-preview.js +0 -0
- /package/dist/{entities → cjs/entities}/subscription/transaction-line-item-preview.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/address-preview.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/adjustment-totals-breakdown.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/adjustment-totals.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/index.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/proration.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/transaction-adjustment-item.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/transaction-adjustment.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/transaction-collection.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/transaction-details.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/transaction-invoice-pdf.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/transaction-item-preview.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/transaction-item.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/transaction-line-item.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/transaction-preview.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/transaction-proration.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/transaction.js +0 -0
- /package/dist/{entities → cjs/entities}/transaction/transactions-time-period.js +0 -0
- /package/dist/{enums → cjs/enums}/adjustment/adjustment-action.js +0 -0
- /package/dist/{enums → cjs/enums}/adjustment/adjustment-currency-code.js +0 -0
- /package/dist/{enums → cjs/enums}/adjustment/adjustment-status.js +0 -0
- /package/dist/{enums → cjs/enums}/adjustment/adjustment-type.js +0 -0
- /package/dist/{enums → cjs/enums}/adjustment/index.js +0 -0
- /package/dist/{enums → cjs/enums}/discount/discount-status.js +0 -0
- /package/dist/{enums → cjs/enums}/discount/discount-type.js +0 -0
- /package/dist/{enums → cjs/enums}/discount/index.js +0 -0
- /package/dist/{enums → cjs/enums}/index.js +0 -0
- /package/dist/{enums → cjs/enums}/notification/index.js +0 -0
- /package/dist/{enums → cjs/enums}/notification/notification-status.js +0 -0
- /package/dist/{enums → cjs/enums}/notification/origin.js +0 -0
- /package/dist/{enums → cjs/enums}/notification-settings/index.js +0 -0
- /package/dist/{enums → cjs/enums}/notification-settings/notification-settings-type.js +0 -0
- /package/dist/{enums → cjs/enums}/payout/index.js +0 -0
- /package/dist/{enums → cjs/enums}/payout/payout-status.js +0 -0
- /package/dist/{enums → cjs/enums}/report/index.js +0 -0
- /package/dist/{enums → cjs/enums}/report/report-filter-name.js +0 -0
- /package/dist/{enums → cjs/enums}/report/report-filter-operator.js +0 -0
- /package/dist/{enums → cjs/enums}/report/report-status.js +0 -0
- /package/dist/{enums → cjs/enums}/report/report-type.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/available-payment-methods.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/catalog-type.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/collection-mode.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/country-code.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/currency-code.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/error-code.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/index.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/interval.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/payment-attempt-status.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/payment-type.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/payout-currency-code.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/status.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/tax-category.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/tax-mode.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/transaction-origin.js +0 -0
- /package/dist/{enums → cjs/enums}/shared/transaction-status.js +0 -0
- /package/dist/{enums → cjs/enums}/subscription/index.js +0 -0
- /package/dist/{enums → cjs/enums}/subscription/proration-billing-mode.js +0 -0
- /package/dist/{enums → cjs/enums}/subscription/scheduled-change-action.js +0 -0
- /package/dist/{enums → cjs/enums}/subscription/subscription-effective-from.js +0 -0
- /package/dist/{enums → cjs/enums}/subscription/subscription-item-status.js +0 -0
- /package/dist/{enums → cjs/enums}/subscription/subscription-on-payment-failure.js +0 -0
- /package/dist/{enums → cjs/enums}/subscription/subscription-status.js +0 -0
- /package/dist/{enums → cjs/enums}/transaction/index.js +0 -0
- /package/dist/{enums → cjs/enums}/transaction/payment-card-type.js +0 -0
- /package/dist/{index.js → cjs/index.js} +0 -0
- /package/dist/{internal → cjs/internal}/api/case-helpers.js +0 -0
- /package/dist/{internal → cjs/internal}/api/constants.js +0 -0
- /package/dist/{internal → cjs/internal}/api/environment.js +0 -0
- /package/dist/{internal → cjs/internal}/api/index.js +0 -0
- /package/dist/{internal → cjs/internal}/base/base-resource.js +0 -0
- /package/dist/{internal → cjs/internal}/base/collection.js +0 -0
- /package/dist/{internal → cjs/internal}/base/index.js +0 -0
- /package/dist/{internal → cjs/internal}/base/logger.js +0 -0
- /package/dist/{internal → cjs/internal}/base/path-parameters.js +0 -0
- /package/dist/{internal → cjs/internal}/base/query-parameters.js +0 -0
- /package/dist/{internal → cjs/internal}/errors/generic.js +0 -0
- /package/dist/{internal → cjs/internal}/index.js +0 -0
- /package/dist/{internal → cjs/internal}/types/config.js +0 -0
- /package/dist/{internal → cjs/internal}/types/response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/address/address-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/address/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/adjustment/adjustment-item-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/adjustment/adjustment-item-totals-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/adjustment/adjustment-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/adjustment/adjustment-proration-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/adjustment/adjustment-time-period-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/adjustment/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/business/business-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/business/contacts-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/business/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/customer/customer-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/customer/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/discount/discount-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/discount/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/payout/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/payout/payout-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/price/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/price/price-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/price/price-quantity-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/product/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/product/product-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/report/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/report/report-filters-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/report/report-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/adjustment-original-amount-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/billing-details-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/chargeback-fee-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/import-meta-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/money-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/payment-card-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/payment-method-details-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/payout-totals-adjustment-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/tax-rates-used-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/time-period-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/total-adjustments-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/totals-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/transaction-checkout-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/transaction-payment-attempt-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/transaction-payout-totals-adjusted-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/transaction-payout-totals-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/transaction-totals-adjusted-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/transaction-totals-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/unit-price-override-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/shared/unit-totals-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/subscription/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/subscription/subscription-discount-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/subscription/subscription-item-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/subscription/subscription-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/subscription/subscription-price-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/subscription/subscription-scheduled-change-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/subscription/subscription-time-period-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/transaction/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/transaction/transaction-details-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/transaction/transaction-item-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/transaction/transaction-line-item-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/transaction/transaction-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/transaction/transaction-proration-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/entities/transaction/transactions-time-period-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/address/address-created-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/address/address-imported-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/address/address-updated-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/address/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/adjustment/adjustment-created-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/adjustment/adjustment-updated-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/adjustment/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/business/business-created-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/business/business-imported-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/business/business-updated-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/business/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/customer/customer-created-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/customer/customer-imported-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/customer/customer-updated-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/customer/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/discount/discount-created-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/discount/discount-imported-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/discount/discount-updated-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/discount/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/payout/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/payout/payout-created-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/payout/payout-paid-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/price/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/price/price-created-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/price/price-imported-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/price/price-updated-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/product/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/product/product-created-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/product/product-imported-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/product/product-updated-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/report/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/report/report-created-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/report/report-updated-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/subscription/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-activated-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-canceled-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-created-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-imported-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-past-due-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-paused-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-resumed-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-trialing-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/subscription/subscription-updated-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/transaction/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-billed-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-canceled-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-completed-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-created-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-paid-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-past-due-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-payment-failed-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-ready-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/events/transaction/transaction-updated-event.js +0 -0
- /package/dist/{notifications → cjs/notifications}/helpers/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/helpers/types.js +0 -0
- /package/dist/{notifications → cjs/notifications}/helpers/webhooks.js +0 -0
- /package/dist/{notifications → cjs/notifications}/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/address/address-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/address/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/adjustment/adjustment-item-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/adjustment/adjustment-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/adjustment/adjustment-totals-breakdown-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/adjustment/adjustment-totals-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/adjustment/adjustments-proration-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/adjustment/adjustments-time-period-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/adjustment/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/business/business-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/business/businesses-contacts-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/business/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/customer/customer-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/customer/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/discount/discount-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/discount/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/payout/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/payout/payout-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/price/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/price/price-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/price/price-quantity-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/product/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/product/product-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/report/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/report/report-filters-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/report/report-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/adjustment-original-amount-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/billing-details-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/chargeback-fee.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/import-meta-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/money-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/payment-card-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/payment-method-details.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/payout-totals-adjustment-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/shared-price-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/shared-product-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/tax-rates-used-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/time-period-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/total-adjustments-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/totals.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/transaction-checkout-notification.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/transaction-payment-attempt-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/transaction-payout-totals-adjusted-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/transaction-payout-totals-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/transaction-totals-adjusted-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/transaction-totals-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/unit-price-override-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/shared/unit-totals.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/subscription/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/subscription/subscription-discount-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/subscription/subscription-item-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/subscription/subscription-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/subscription/subscription-price-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/subscription/subscription-scheduled-change-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/subscription/subscription-time-period-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/transaction/index.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/transaction/transaction-details-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/transaction/transaction-item-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/transaction/transaction-line-item-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/transaction/transaction-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/transaction/transaction-proration-notification-response.js +0 -0
- /package/dist/{notifications → cjs/notifications}/types/transaction/transactions-time-period-notification-response.js +0 -0
- /package/dist/{paddle.js → cjs/paddle.js} +0 -0
- /package/dist/{resources → cjs/resources}/addresses/index.js +0 -0
- /package/dist/{resources → cjs/resources}/addresses/operations/create-address-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/addresses/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/addresses/operations/list-address-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/addresses/operations/update-address-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/adjustments/index.js +0 -0
- /package/dist/{resources → cjs/resources}/adjustments/operations/create-adjustment-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/adjustments/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/adjustments/operations/list-adjustment-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/businesses/index.js +0 -0
- /package/dist/{resources → cjs/resources}/businesses/operations/create-business-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/businesses/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/businesses/operations/list-business-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/businesses/operations/update-business-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/customers/index.js +0 -0
- /package/dist/{resources → cjs/resources}/customers/operations/create-customer-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/customers/operations/get-credit-balance-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/customers/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/customers/operations/list-customer-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/customers/operations/update-customer-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/discounts/index.js +0 -0
- /package/dist/{resources → cjs/resources}/discounts/operations/create-discount-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/discounts/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/discounts/operations/list-discount-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/discounts/operations/update-discount-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/event-types/index.js +0 -0
- /package/dist/{resources → cjs/resources}/events/index.js +0 -0
- /package/dist/{resources → cjs/resources}/events/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/events/operations/list-events-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/index.js +0 -0
- /package/dist/{resources → cjs/resources}/notification-settings/index.js +0 -0
- /package/dist/{resources → cjs/resources}/notification-settings/operations/create-notification-settings-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/notification-settings/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/notification-settings/operations/update-notification-settings-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/notifications/index.js +0 -0
- /package/dist/{resources → cjs/resources}/notifications/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/notifications/operations/list-notification-log-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/notifications/operations/list-notification-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/prices/index.js +0 -0
- /package/dist/{resources → cjs/resources}/prices/operations/create-price-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/prices/operations/get-price-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/prices/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/prices/operations/list-price-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/prices/operations/update-price-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/pricing-preview/index.js +0 -0
- /package/dist/{resources → cjs/resources}/pricing-preview/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/pricing-preview/operations/pricing-preview-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/products/index.js +0 -0
- /package/dist/{resources → cjs/resources}/products/operations/create-product-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/products/operations/get-product-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/products/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/products/operations/list-product-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/products/operations/update-product-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/reports/index.js +0 -0
- /package/dist/{resources → cjs/resources}/reports/operations/create-report-request-object.js +0 -0
- /package/dist/{resources → cjs/resources}/reports/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/reports/operations/list-report-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/subscriptions/index.js +0 -0
- /package/dist/{resources → cjs/resources}/subscriptions/operations/cancel-subscription-request-object.js +0 -0
- /package/dist/{resources → cjs/resources}/subscriptions/operations/create-subscription-charge-request-object.js +0 -0
- /package/dist/{resources → cjs/resources}/subscriptions/operations/get-subscription-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/subscriptions/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/subscriptions/operations/list-subscription-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/subscriptions/operations/pause-subscription-request-object.js +0 -0
- /package/dist/{resources → cjs/resources}/subscriptions/operations/resume-subscription-request-object.js +0 -0
- /package/dist/{resources → cjs/resources}/subscriptions/operations/update-subscription-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/transactions/index.js +0 -0
- /package/dist/{resources → cjs/resources}/transactions/operations/create-transaction-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/transactions/operations/create-transaction-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/transactions/operations/get-transaction-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/transactions/operations/index.js +0 -0
- /package/dist/{resources → cjs/resources}/transactions/operations/list-transaction-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/transactions/operations/transaction-preview-request-body.js +0 -0
- /package/dist/{resources → cjs/resources}/transactions/operations/update-transaction-query-parameters.js +0 -0
- /package/dist/{resources → cjs/resources}/transactions/operations/update-transaction-request-body.js +0 -0
- /package/dist/{types → cjs/types}/address/address-response.js +0 -0
- /package/dist/{types → cjs/types}/address/index.js +0 -0
- /package/dist/{types → cjs/types}/adjustment/adjustment-item-response.js +0 -0
- /package/dist/{types → cjs/types}/adjustment/adjustment-response.js +0 -0
- /package/dist/{types → cjs/types}/adjustment/adjustments-proration-response.js +0 -0
- /package/dist/{types → cjs/types}/adjustment/adjustments-time-period-response.js +0 -0
- /package/dist/{types → cjs/types}/adjustment/index.js +0 -0
- /package/dist/{types → cjs/types}/business/business-response.js +0 -0
- /package/dist/{types → cjs/types}/business/businesses-contacts.js +0 -0
- /package/dist/{types → cjs/types}/business/index.js +0 -0
- /package/dist/{types → cjs/types}/customer/credit-balance-response.js +0 -0
- /package/dist/{types → cjs/types}/customer/customer-balance.js +0 -0
- /package/dist/{types → cjs/types}/customer/customer-response.js +0 -0
- /package/dist/{types → cjs/types}/customer/index.js +0 -0
- /package/dist/{types → cjs/types}/discount/discount-response.js +0 -0
- /package/dist/{types → cjs/types}/discount/index.js +0 -0
- /package/dist/{types → cjs/types}/event-types/event-type-response.js +0 -0
- /package/dist/{types → cjs/types}/event-types/index.js +0 -0
- /package/dist/{types → cjs/types}/events/events-response.js +0 -0
- /package/dist/{types → cjs/types}/events/index.js +0 -0
- /package/dist/{types → cjs/types}/index.js +0 -0
- /package/dist/{types → cjs/types}/notification-settings/index.js +0 -0
- /package/dist/{types → cjs/types}/notification-settings/notification-settings-response.js +0 -0
- /package/dist/{types → cjs/types}/notifications/index.js +0 -0
- /package/dist/{types → cjs/types}/notifications/notification-log.js +0 -0
- /package/dist/{types → cjs/types}/notifications/notification.js +0 -0
- /package/dist/{types → cjs/types}/notifications/replay-notification.js +0 -0
- /package/dist/{types → cjs/types}/payout/index.js +0 -0
- /package/dist/{types → cjs/types}/payout/payout-response.js +0 -0
- /package/dist/{types → cjs/types}/price/index.js +0 -0
- /package/dist/{types → cjs/types}/price/non-catalog-price-request.js +0 -0
- /package/dist/{types → cjs/types}/price/price-response.js +0 -0
- /package/dist/{types → cjs/types}/price/subscription-non-catalog-price-request.js +0 -0
- /package/dist/{types → cjs/types}/pricing-preview/index.js +0 -0
- /package/dist/{types → cjs/types}/pricing-preview/pricing-preview-details-response.js +0 -0
- /package/dist/{types → cjs/types}/pricing-preview/pricing-preview-discounts-response.js +0 -0
- /package/dist/{types → cjs/types}/pricing-preview/pricing-preview-item-response.js +0 -0
- /package/dist/{types → cjs/types}/pricing-preview/pricing-preview-line-item-response.js +0 -0
- /package/dist/{types → cjs/types}/pricing-preview/pricing-preview-response.js +0 -0
- /package/dist/{types → cjs/types}/product/index.js +0 -0
- /package/dist/{types → cjs/types}/product/product-response.js +0 -0
- /package/dist/{types → cjs/types}/report/index.js +0 -0
- /package/dist/{types → cjs/types}/report/report-filters.js +0 -0
- /package/dist/{types → cjs/types}/report/report.js +0 -0
- /package/dist/{types → cjs/types}/report/reports-csv.js +0 -0
- /package/dist/{types → cjs/types}/shared/adjustment-item-totals.js +0 -0
- /package/dist/{types → cjs/types}/shared/adjustment-original-amount-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/billing-details-create.js +0 -0
- /package/dist/{types → cjs/types}/shared/billing-details-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/billing-details-update.js +0 -0
- /package/dist/{types → cjs/types}/shared/chargeback-fee.js +0 -0
- /package/dist/{types → cjs/types}/shared/custom-data.js +0 -0
- /package/dist/{types → cjs/types}/shared/import-meta-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/index.js +0 -0
- /package/dist/{types → cjs/types}/shared/money-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/money.js +0 -0
- /package/dist/{types → cjs/types}/shared/payment-card-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/payment-method-details.js +0 -0
- /package/dist/{types → cjs/types}/shared/payout-totals-adjustment-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/price-quantity.js +0 -0
- /package/dist/{types → cjs/types}/shared/tax-rates-used-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/time-period.js +0 -0
- /package/dist/{types → cjs/types}/shared/total-adjustments-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/totals.js +0 -0
- /package/dist/{types → cjs/types}/shared/transaction-checkout.js +0 -0
- /package/dist/{types → cjs/types}/shared/transaction-details-preview-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/transaction-line-item-preview-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/transaction-payment-attempt-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/transaction-payout-totals-adjusted-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/transaction-payout-totals-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/transaction-totals-adjusted-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/transaction-totals-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/unit-price-override-response.js +0 -0
- /package/dist/{types → cjs/types}/shared/unit-price-override.js +0 -0
- /package/dist/{types → cjs/types}/shared/unit-totals.js +0 -0
- /package/dist/{types → cjs/types}/subscription/index.js +0 -0
- /package/dist/{types → cjs/types}/subscription/next-transaction-response.js +0 -0
- /package/dist/{types → cjs/types}/subscription/subscription-discount-response.js +0 -0
- /package/dist/{types → cjs/types}/subscription/subscription-item-response.js +0 -0
- /package/dist/{types → cjs/types}/subscription/subscription-management-response.js +0 -0
- /package/dist/{types → cjs/types}/subscription/subscription-preview-response.js +0 -0
- /package/dist/{types → cjs/types}/subscription/subscription-preview-update-summary.js +0 -0
- /package/dist/{types → cjs/types}/subscription/subscription-response.js +0 -0
- /package/dist/{types → cjs/types}/subscription/subscription-result-response.js +0 -0
- /package/dist/{types → cjs/types}/subscription/subscription-scheduled-change-response.js +0 -0
- /package/dist/{types → cjs/types}/subscription/subscription-time-period-response.js +0 -0
- /package/dist/{types → cjs/types}/subscription/subscription-update-item.js +0 -0
- /package/dist/{types → cjs/types}/transaction/adjustment-totals-breakdown.js +0 -0
- /package/dist/{types → cjs/types}/transaction/adjustment-totals-response.js +0 -0
- /package/dist/{types → cjs/types}/transaction/index.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transaction-adjustment-item-response.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transaction-adjustment-response.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transaction-details-response.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transaction-invoice-pdf.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transaction-item-response.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transaction-item.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transaction-line-item-response.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transaction-preview-item.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transaction-preview-response.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transaction-proration-response.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transaction-response.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transactions-time-period-response.js +0 -0
- /package/dist/{types → cjs/types}/transaction/transactions-time-period.js +0 -0
- /package/dist/{entities/address/index.d.ts → esm/entities/address/index.js} +0 -0
- /package/dist/{entities/adjustment/index.d.ts → esm/entities/adjustment/index.js} +0 -0
- /package/dist/{entities/business/index.d.ts → esm/entities/business/index.js} +0 -0
- /package/dist/{entities/customer/index.d.ts → esm/entities/customer/index.js} +0 -0
- /package/dist/{entities/discount/index.d.ts → esm/entities/discount/index.js} +0 -0
- /package/dist/{entities/event-types/index.d.ts → esm/entities/event-types/index.js} +0 -0
- /package/dist/{entities/events/index.d.ts → esm/entities/events/index.js} +0 -0
- /package/dist/{entities/notification-settings/index.d.ts → esm/entities/notification-settings/index.js} +0 -0
- /package/dist/{entities/notifications/index.d.ts → esm/entities/notifications/index.js} +0 -0
- /package/dist/{entities/payout/index.d.ts → esm/entities/payout/index.js} +0 -0
- /package/dist/{entities/price/index.d.ts → esm/entities/price/index.js} +0 -0
- /package/dist/{entities/pricing-preview/index.d.ts → esm/entities/pricing-preview/index.js} +0 -0
- /package/dist/{entities/product/index.d.ts → esm/entities/product/index.js} +0 -0
- /package/dist/{entities/report/index.d.ts → esm/entities/report/index.js} +0 -0
- /package/dist/{entities/shared/index.d.ts → esm/entities/shared/index.js} +0 -0
- /package/dist/{entities/subscription/index.d.ts → esm/entities/subscription/index.js} +0 -0
- /package/dist/{entities/transaction/index.d.ts → esm/entities/transaction/index.js} +0 -0
- /package/dist/{enums/adjustment/index.d.ts → esm/enums/adjustment/index.js} +0 -0
- /package/dist/{enums/discount/index.d.ts → esm/enums/discount/index.js} +0 -0
- /package/dist/{enums/index.d.ts → esm/enums/index.js} +0 -0
- /package/dist/{enums/notification/index.d.ts → esm/enums/notification/index.js} +0 -0
- /package/dist/{enums/notification-settings/index.d.ts → esm/enums/notification-settings/index.js} +0 -0
- /package/dist/{enums/payout/index.d.ts → esm/enums/payout/index.js} +0 -0
- /package/dist/{enums/report/index.d.ts → esm/enums/report/index.js} +0 -0
- /package/dist/{enums/shared/index.d.ts → esm/enums/shared/index.js} +0 -0
- /package/dist/{enums/subscription/index.d.ts → esm/enums/subscription/index.js} +0 -0
- /package/dist/{enums/transaction/index.d.ts → esm/enums/transaction/index.js} +0 -0
- /package/dist/{internal/api/index.d.ts → esm/internal/api/index.js} +0 -0
- /package/dist/{internal/base/index.d.ts → esm/internal/base/index.js} +0 -0
- /package/dist/{notifications/entities/address/index.d.ts → esm/notifications/entities/address/index.js} +0 -0
- /package/dist/{notifications/entities/adjustment/index.d.ts → esm/notifications/entities/adjustment/index.js} +0 -0
- /package/dist/{notifications/entities/business/index.d.ts → esm/notifications/entities/business/index.js} +0 -0
- /package/dist/{notifications/entities/customer/index.d.ts → esm/notifications/entities/customer/index.js} +0 -0
- /package/dist/{notifications/entities/discount/index.d.ts → esm/notifications/entities/discount/index.js} +0 -0
- /package/dist/{notifications/entities/index.d.ts → esm/notifications/entities/index.js} +0 -0
- /package/dist/{notifications/entities/payout/index.d.ts → esm/notifications/entities/payout/index.js} +0 -0
- /package/dist/{notifications/entities/price/index.d.ts → esm/notifications/entities/price/index.js} +0 -0
- /package/dist/{notifications/entities/product/index.d.ts → esm/notifications/entities/product/index.js} +0 -0
- /package/dist/{notifications/entities/report/index.d.ts → esm/notifications/entities/report/index.js} +0 -0
- /package/dist/{notifications/entities/shared/index.d.ts → esm/notifications/entities/shared/index.js} +0 -0
- /package/dist/{notifications/entities/subscription/index.d.ts → esm/notifications/entities/subscription/index.js} +0 -0
- /package/dist/{notifications/entities/transaction/index.d.ts → esm/notifications/entities/transaction/index.js} +0 -0
- /package/dist/{notifications/events/address/index.d.ts → esm/notifications/events/address/index.js} +0 -0
- /package/dist/{notifications/events/adjustment/index.d.ts → esm/notifications/events/adjustment/index.js} +0 -0
- /package/dist/{notifications/events/business/index.d.ts → esm/notifications/events/business/index.js} +0 -0
- /package/dist/{notifications/events/customer/index.d.ts → esm/notifications/events/customer/index.js} +0 -0
- /package/dist/{notifications/events/discount/index.d.ts → esm/notifications/events/discount/index.js} +0 -0
- /package/dist/{notifications/events/index.d.ts → esm/notifications/events/index.js} +0 -0
- /package/dist/{notifications/events/payout/index.d.ts → esm/notifications/events/payout/index.js} +0 -0
- /package/dist/{notifications/events/price/index.d.ts → esm/notifications/events/price/index.js} +0 -0
- /package/dist/{notifications/events/product/index.d.ts → esm/notifications/events/product/index.js} +0 -0
- /package/dist/{notifications/events/report/index.d.ts → esm/notifications/events/report/index.js} +0 -0
- /package/dist/{notifications/events/subscription/index.d.ts → esm/notifications/events/subscription/index.js} +0 -0
- /package/dist/{notifications/events/transaction/index.d.ts → esm/notifications/events/transaction/index.js} +0 -0
- /package/dist/{notifications/helpers/index.d.ts → esm/notifications/helpers/index.js} +0 -0
- /package/dist/{notifications/index.d.ts → esm/notifications/index.js} +0 -0
- /package/dist/{notifications/types/address/index.d.ts → esm/notifications/types/address/index.js} +0 -0
- /package/dist/{notifications/types/adjustment/index.d.ts → esm/notifications/types/adjustment/index.js} +0 -0
- /package/dist/{notifications/types/business/index.d.ts → esm/notifications/types/business/index.js} +0 -0
- /package/dist/{notifications/types/customer/index.d.ts → esm/notifications/types/customer/index.js} +0 -0
- /package/dist/{notifications/types/discount/index.d.ts → esm/notifications/types/discount/index.js} +0 -0
- /package/dist/{notifications/types/index.d.ts → esm/notifications/types/index.js} +0 -0
- /package/dist/{notifications/types/payout/index.d.ts → esm/notifications/types/payout/index.js} +0 -0
- /package/dist/{notifications/types/price/index.d.ts → esm/notifications/types/price/index.js} +0 -0
- /package/dist/{notifications/types/product/index.d.ts → esm/notifications/types/product/index.js} +0 -0
- /package/dist/{notifications/types/report/index.d.ts → esm/notifications/types/report/index.js} +0 -0
- /package/dist/{notifications/types/shared/index.d.ts → esm/notifications/types/shared/index.js} +0 -0
- /package/dist/{notifications/types/subscription/index.d.ts → esm/notifications/types/subscription/index.js} +0 -0
- /package/dist/{notifications/types/transaction/index.d.ts → esm/notifications/types/transaction/index.js} +0 -0
- /package/dist/{resources/addresses/operations/index.d.ts → esm/resources/addresses/operations/index.js} +0 -0
- /package/dist/{resources/adjustments/operations/index.d.ts → esm/resources/adjustments/operations/index.js} +0 -0
- /package/dist/{resources/businesses/operations/index.d.ts → esm/resources/businesses/operations/index.js} +0 -0
- /package/dist/{resources/customers/operations/index.d.ts → esm/resources/customers/operations/index.js} +0 -0
- /package/dist/{resources/discounts/operations/index.d.ts → esm/resources/discounts/operations/index.js} +0 -0
- /package/dist/{resources/events/operations/index.d.ts → esm/resources/events/operations/index.js} +0 -0
- /package/dist/{resources/index.d.ts → esm/resources/index.js} +0 -0
- /package/dist/{resources/notification-settings/operations/index.d.ts → esm/resources/notification-settings/operations/index.js} +0 -0
- /package/dist/{resources/notifications/operations/index.d.ts → esm/resources/notifications/operations/index.js} +0 -0
- /package/dist/{resources/prices/operations/index.d.ts → esm/resources/prices/operations/index.js} +0 -0
- /package/dist/{resources/pricing-preview/operations/index.d.ts → esm/resources/pricing-preview/operations/index.js} +0 -0
- /package/dist/{resources/products/operations/index.d.ts → esm/resources/products/operations/index.js} +0 -0
- /package/dist/{resources/reports/operations/index.d.ts → esm/resources/reports/operations/index.js} +0 -0
- /package/dist/{resources/subscriptions/operations/index.d.ts → esm/resources/subscriptions/operations/index.js} +0 -0
- /package/dist/{resources/transactions/operations/index.d.ts → esm/resources/transactions/operations/index.js} +0 -0
- /package/dist/{types/address/index.d.ts → esm/types/address/index.js} +0 -0
- /package/dist/{types/adjustment/index.d.ts → esm/types/adjustment/index.js} +0 -0
- /package/dist/{types/business/index.d.ts → esm/types/business/index.js} +0 -0
- /package/dist/{types/customer/index.d.ts → esm/types/customer/index.js} +0 -0
- /package/dist/{types/discount/index.d.ts → esm/types/discount/index.js} +0 -0
- /package/dist/{types/event-types/index.d.ts → esm/types/event-types/index.js} +0 -0
- /package/dist/{types/events/index.d.ts → esm/types/events/index.js} +0 -0
- /package/dist/{types/notification-settings/index.d.ts → esm/types/notification-settings/index.js} +0 -0
- /package/dist/{types/payout/index.d.ts → esm/types/payout/index.js} +0 -0
- /package/dist/{types/price/index.d.ts → esm/types/price/index.js} +0 -0
- /package/dist/{types/pricing-preview/index.d.ts → esm/types/pricing-preview/index.js} +0 -0
- /package/dist/{types/product/index.d.ts → esm/types/product/index.js} +0 -0
- /package/dist/{types/report/index.d.ts → esm/types/report/index.js} +0 -0
- /package/dist/{types/shared/index.d.ts → esm/types/shared/index.js} +0 -0
- /package/dist/{types/subscription/index.d.ts → esm/types/subscription/index.js} +0 -0
- /package/dist/{types/transaction/index.d.ts → esm/types/transaction/index.js} +0 -0
- /package/dist/{entities → types/entities}/address/address-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/address/address.d.ts +0 -0
- /package/dist/{entities → types/entities}/adjustment/adjustment-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/adjustment/adjustment-item-totals.d.ts +0 -0
- /package/dist/{entities → types/entities}/adjustment/adjustment-item.d.ts +0 -0
- /package/dist/{entities → types/entities}/adjustment/adjustment-proration.d.ts +0 -0
- /package/dist/{entities → types/entities}/adjustment/adjustment-time-period.d.ts +0 -0
- /package/dist/{entities → types/entities}/adjustment/adjustment.d.ts +0 -0
- /package/dist/{entities → types/entities}/business/business-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/business/business.d.ts +0 -0
- /package/dist/{entities → types/entities}/business/contacts.d.ts +0 -0
- /package/dist/{entities → types/entities}/customer/credit-balance.d.ts +0 -0
- /package/dist/{entities → types/entities}/customer/customer-balance.d.ts +0 -0
- /package/dist/{entities → types/entities}/customer/customer-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/customer/customer.d.ts +0 -0
- /package/dist/{entities → types/entities}/discount/discount-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/discount/discount.d.ts +0 -0
- /package/dist/{entities → types/entities}/event-types/event-type.d.ts +0 -0
- /package/dist/{entities → types/entities}/events/event-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/events/event.d.ts +0 -0
- /package/dist/{entities → types/entities}/index.d.ts +0 -0
- /package/dist/{entities → types/entities}/notification-settings/notification-settings.d.ts +0 -0
- /package/dist/{entities → types/entities}/notifications/notification-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/notifications/notification-log-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/notifications/notification-log.d.ts +0 -0
- /package/dist/{entities → types/entities}/notifications/notification.d.ts +0 -0
- /package/dist/{entities → types/entities}/notifications/replay-notification.d.ts +0 -0
- /package/dist/{entities → types/entities}/payout/payout.d.ts +0 -0
- /package/dist/{entities → types/entities}/price/price-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/price/price-quantity.d.ts +0 -0
- /package/dist/{entities → types/entities}/price/price.d.ts +0 -0
- /package/dist/{entities → types/entities}/pricing-preview/pricing-preview-details.d.ts +0 -0
- /package/dist/{entities → types/entities}/pricing-preview/pricing-preview-discounts.d.ts +0 -0
- /package/dist/{entities → types/entities}/pricing-preview/pricing-preview-line-item.d.ts +0 -0
- /package/dist/{entities → types/entities}/pricing-preview/pricing-preview.d.ts +0 -0
- /package/dist/{entities → types/entities}/product/product-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/product/product.d.ts +0 -0
- /package/dist/{entities → types/entities}/report/report-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/report/report-csv.d.ts +0 -0
- /package/dist/{entities → types/entities}/report/report-filters.d.ts +0 -0
- /package/dist/{entities → types/entities}/report/report.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/adjustment-original-amount.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/billing-details.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/chargeback-fee.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/import-meta.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/money.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/payment-card.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/payment-method-details.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/payout-totals-adjustment.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/tax-rates-used.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/time-period.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/total-adjustments.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/totals.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/transaction-checkout.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/transaction-payment-attempt.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/transaction-payout-totals-adjusted.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/transaction-payout-totals.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/transaction-totals-adjusted.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/transaction-totals.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/unit-price-override.d.ts +0 -0
- /package/dist/{entities → types/entities}/shared/unit-totals.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/next-transaction-adjustment-item.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/next-transaction-adjustment-preview.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/next-transaction.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/subscription-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/subscription-discount.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/subscription-item.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/subscription-management.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/subscription-preview-summary-result.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/subscription-preview-update-summary.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/subscription-preview.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/subscription-scheduled-change.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/subscription-time-period.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/subscription.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/transaction-details-preview.d.ts +0 -0
- /package/dist/{entities → types/entities}/subscription/transaction-line-item-preview.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/address-preview.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/adjustment-totals-breakdown.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/adjustment-totals.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/proration.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/transaction-adjustment-item.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/transaction-adjustment.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/transaction-collection.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/transaction-details.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/transaction-invoice-pdf.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/transaction-item-preview.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/transaction-item.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/transaction-line-item.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/transaction-preview.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/transaction-proration.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/transaction.d.ts +0 -0
- /package/dist/{entities → types/entities}/transaction/transactions-time-period.d.ts +0 -0
- /package/dist/{enums → types/enums}/adjustment/adjustment-action.d.ts +0 -0
- /package/dist/{enums → types/enums}/adjustment/adjustment-currency-code.d.ts +0 -0
- /package/dist/{enums → types/enums}/adjustment/adjustment-status.d.ts +0 -0
- /package/dist/{enums → types/enums}/adjustment/adjustment-type.d.ts +0 -0
- /package/dist/{enums → types/enums}/discount/discount-status.d.ts +0 -0
- /package/dist/{enums → types/enums}/discount/discount-type.d.ts +0 -0
- /package/dist/{enums → types/enums}/notification/notification-status.d.ts +0 -0
- /package/dist/{enums → types/enums}/notification/origin.d.ts +0 -0
- /package/dist/{enums → types/enums}/notification-settings/notification-settings-type.d.ts +0 -0
- /package/dist/{enums → types/enums}/payout/payout-status.d.ts +0 -0
- /package/dist/{enums → types/enums}/report/report-filter-name.d.ts +0 -0
- /package/dist/{enums → types/enums}/report/report-filter-operator.d.ts +0 -0
- /package/dist/{enums → types/enums}/report/report-status.d.ts +0 -0
- /package/dist/{enums → types/enums}/report/report-type.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/available-payment-methods.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/catalog-type.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/collection-mode.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/country-code.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/currency-code.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/error-code.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/interval.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/payment-attempt-status.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/payment-type.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/payout-currency-code.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/status.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/tax-category.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/tax-mode.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/transaction-origin.d.ts +0 -0
- /package/dist/{enums → types/enums}/shared/transaction-status.d.ts +0 -0
- /package/dist/{enums → types/enums}/subscription/proration-billing-mode.d.ts +0 -0
- /package/dist/{enums → types/enums}/subscription/scheduled-change-action.d.ts +0 -0
- /package/dist/{enums → types/enums}/subscription/subscription-effective-from.d.ts +0 -0
- /package/dist/{enums → types/enums}/subscription/subscription-item-status.d.ts +0 -0
- /package/dist/{enums → types/enums}/subscription/subscription-on-payment-failure.d.ts +0 -0
- /package/dist/{enums → types/enums}/subscription/subscription-status.d.ts +0 -0
- /package/dist/{enums → types/enums}/transaction/payment-card-type.d.ts +0 -0
- /package/dist/{internal → types/internal}/api/case-helpers.d.ts +0 -0
- /package/dist/{internal → types/internal}/api/client.d.ts +0 -0
- /package/dist/{internal → types/internal}/api/constants.d.ts +0 -0
- /package/dist/{internal → types/internal}/api/environment.d.ts +0 -0
- /package/dist/{internal → types/internal}/base/base-resource.d.ts +0 -0
- /package/dist/{internal → types/internal}/base/collection.d.ts +0 -0
- /package/dist/{internal → types/internal}/base/logger.d.ts +0 -0
- /package/dist/{internal → types/internal}/base/path-parameters.d.ts +0 -0
- /package/dist/{internal → types/internal}/base/query-parameters.d.ts +0 -0
- /package/dist/{internal → types/internal}/errors/generic.d.ts +0 -0
- /package/dist/{internal → types/internal}/index.d.ts +0 -0
- /package/dist/{internal → types/internal}/types/config.d.ts +0 -0
- /package/dist/{internal → types/internal}/types/response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/address/address-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/adjustment/adjustment-item-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/adjustment/adjustment-item-totals-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/adjustment/adjustment-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/adjustment/adjustment-proration-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/adjustment/adjustment-time-period-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/business/business-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/business/contacts-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/customer/customer-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/discount/discount-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/payout/payout-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/price/price-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/price/price-quantity-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/product/product-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/report/report-filters-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/report/report-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/adjustment-original-amount-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/billing-details-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/chargeback-fee-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/import-meta-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/money-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/payment-card-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/payment-method-details-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/payout-totals-adjustment-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/tax-rates-used-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/time-period-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/total-adjustments-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/totals-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/transaction-checkout-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/transaction-payment-attempt-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/transaction-payout-totals-adjusted-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/transaction-payout-totals-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/transaction-totals-adjusted-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/transaction-totals-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/unit-price-override-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/shared/unit-totals-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/subscription/subscription-discount-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/subscription/subscription-item-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/subscription/subscription-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/subscription/subscription-price-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/subscription/subscription-scheduled-change-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/subscription/subscription-time-period-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/transaction/transaction-details-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/transaction/transaction-item-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/transaction/transaction-line-item-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/transaction/transaction-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/transaction/transaction-proration-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/entities/transaction/transactions-time-period-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/address/address-created-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/address/address-imported-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/address/address-updated-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/adjustment/adjustment-created-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/adjustment/adjustment-updated-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/business/business-created-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/business/business-imported-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/business/business-updated-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/customer/customer-created-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/customer/customer-imported-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/customer/customer-updated-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/discount/discount-created-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/discount/discount-imported-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/discount/discount-updated-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/payout/payout-created-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/payout/payout-paid-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/price/price-created-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/price/price-imported-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/price/price-updated-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/product/product-created-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/product/product-imported-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/product/product-updated-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/report/report-created-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/report/report-updated-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/subscription/subscription-activated-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/subscription/subscription-canceled-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/subscription/subscription-created-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/subscription/subscription-imported-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/subscription/subscription-past-due-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/subscription/subscription-paused-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/subscription/subscription-resumed-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/subscription/subscription-trialing-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/subscription/subscription-updated-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/transaction/transaction-billed-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/transaction/transaction-canceled-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/transaction/transaction-completed-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/transaction/transaction-created-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/transaction/transaction-paid-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/transaction/transaction-past-due-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/transaction/transaction-payment-failed-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/transaction/transaction-ready-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/events/transaction/transaction-updated-event.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/helpers/types.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/helpers/webhooks-validator.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/helpers/webhooks.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/address/address-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/adjustment/adjustment-item-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/adjustment/adjustment-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/adjustment/adjustment-totals-breakdown-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/adjustment/adjustment-totals-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/adjustment/adjustments-proration-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/adjustment/adjustments-time-period-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/business/business-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/business/businesses-contacts-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/customer/customer-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/discount/discount-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/payout/payout-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/price/price-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/price/price-quantity-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/product/product-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/report/report-filters-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/report/report-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/adjustment-original-amount-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/billing-details-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/chargeback-fee.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/import-meta-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/money-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/payment-card-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/payment-method-details.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/payout-totals-adjustment-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/shared-price-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/shared-product-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/tax-rates-used-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/time-period-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/total-adjustments-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/totals.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/transaction-checkout-notification.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/transaction-payment-attempt-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/transaction-payout-totals-adjusted-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/transaction-payout-totals-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/transaction-totals-adjusted-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/transaction-totals-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/unit-price-override-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/shared/unit-totals.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/subscription/subscription-discount-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/subscription/subscription-item-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/subscription/subscription-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/subscription/subscription-price-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/subscription/subscription-scheduled-change-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/subscription/subscription-time-period-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/transaction/transaction-details-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/transaction/transaction-item-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/transaction/transaction-line-item-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/transaction/transaction-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/transaction/transaction-proration-notification-response.d.ts +0 -0
- /package/dist/{notifications → types/notifications}/types/transaction/transactions-time-period-notification-response.d.ts +0 -0
- /package/dist/{paddle.d.ts → types/paddle.d.ts} +0 -0
- /package/dist/{resources → types/resources}/addresses/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/addresses/operations/create-address-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/addresses/operations/list-address-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/addresses/operations/update-address-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/adjustments/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/adjustments/operations/create-adjustment-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/adjustments/operations/list-adjustment-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/businesses/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/businesses/operations/create-business-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/businesses/operations/list-business-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/businesses/operations/update-business-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/customers/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/customers/operations/create-customer-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/customers/operations/get-credit-balance-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/customers/operations/list-customer-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/customers/operations/update-customer-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/discounts/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/discounts/operations/create-discount-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/discounts/operations/list-discount-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/discounts/operations/update-discount-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/event-types/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/events/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/events/operations/list-events-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/notification-settings/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/notification-settings/operations/create-notification-settings-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/notification-settings/operations/update-notification-settings-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/notifications/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/notifications/operations/list-notification-log-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/notifications/operations/list-notification-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/prices/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/prices/operations/create-price-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/prices/operations/get-price-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/prices/operations/list-price-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/prices/operations/update-price-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/pricing-preview/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/pricing-preview/operations/pricing-preview-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/products/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/products/operations/create-product-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/products/operations/get-product-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/products/operations/list-product-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/products/operations/update-product-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/reports/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/reports/operations/create-report-request-object.d.ts +0 -0
- /package/dist/{resources → types/resources}/reports/operations/list-report-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/subscriptions/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/subscriptions/operations/cancel-subscription-request-object.d.ts +0 -0
- /package/dist/{resources → types/resources}/subscriptions/operations/create-subscription-charge-request-object.d.ts +0 -0
- /package/dist/{resources → types/resources}/subscriptions/operations/get-subscription-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/subscriptions/operations/list-subscription-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/subscriptions/operations/pause-subscription-request-object.d.ts +0 -0
- /package/dist/{resources → types/resources}/subscriptions/operations/resume-subscription-request-object.d.ts +0 -0
- /package/dist/{resources → types/resources}/subscriptions/operations/update-subscription-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/transactions/index.d.ts +0 -0
- /package/dist/{resources → types/resources}/transactions/operations/create-transaction-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/transactions/operations/create-transaction-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/transactions/operations/get-transaction-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/transactions/operations/list-transaction-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/transactions/operations/transaction-preview-request-body.d.ts +0 -0
- /package/dist/{resources → types/resources}/transactions/operations/update-transaction-query-parameters.d.ts +0 -0
- /package/dist/{resources → types/resources}/transactions/operations/update-transaction-request-body.d.ts +0 -0
- /package/dist/types/{address → types/address}/address-response.d.ts +0 -0
- /package/dist/types/{adjustment → types/adjustment}/adjustment-item-response.d.ts +0 -0
- /package/dist/types/{adjustment → types/adjustment}/adjustment-response.d.ts +0 -0
- /package/dist/types/{adjustment → types/adjustment}/adjustments-proration-response.d.ts +0 -0
- /package/dist/types/{adjustment → types/adjustment}/adjustments-time-period-response.d.ts +0 -0
- /package/dist/types/{business → types/business}/business-response.d.ts +0 -0
- /package/dist/types/{business → types/business}/businesses-contacts.d.ts +0 -0
- /package/dist/types/{customer → types/customer}/credit-balance-response.d.ts +0 -0
- /package/dist/types/{customer → types/customer}/customer-balance.d.ts +0 -0
- /package/dist/types/{customer → types/customer}/customer-response.d.ts +0 -0
- /package/dist/types/{discount → types/discount}/discount-response.d.ts +0 -0
- /package/dist/types/{event-types → types/event-types}/event-type-response.d.ts +0 -0
- /package/dist/types/{events → types/events}/events-response.d.ts +0 -0
- /package/dist/types/{notification-settings → types/notification-settings}/notification-settings-response.d.ts +0 -0
- /package/dist/types/{notifications → types/notifications}/notification-log.d.ts +0 -0
- /package/dist/types/{notifications → types/notifications}/notification.d.ts +0 -0
- /package/dist/types/{notifications → types/notifications}/replay-notification.d.ts +0 -0
- /package/dist/types/{payout → types/payout}/payout-response.d.ts +0 -0
- /package/dist/types/{price → types/price}/non-catalog-price-request.d.ts +0 -0
- /package/dist/types/{price → types/price}/price-response.d.ts +0 -0
- /package/dist/types/{price → types/price}/subscription-non-catalog-price-request.d.ts +0 -0
- /package/dist/types/{pricing-preview → types/pricing-preview}/pricing-preview-details-response.d.ts +0 -0
- /package/dist/types/{pricing-preview → types/pricing-preview}/pricing-preview-discounts-response.d.ts +0 -0
- /package/dist/types/{pricing-preview → types/pricing-preview}/pricing-preview-item-response.d.ts +0 -0
- /package/dist/types/{pricing-preview → types/pricing-preview}/pricing-preview-line-item-response.d.ts +0 -0
- /package/dist/types/{pricing-preview → types/pricing-preview}/pricing-preview-response.d.ts +0 -0
- /package/dist/types/{product → types/product}/product-response.d.ts +0 -0
- /package/dist/types/{report → types/report}/report-filters.d.ts +0 -0
- /package/dist/types/{report → types/report}/report.d.ts +0 -0
- /package/dist/types/{report → types/report}/reports-csv.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/adjustment-item-totals.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/adjustment-original-amount-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/billing-details-create.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/billing-details-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/billing-details-update.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/chargeback-fee.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/custom-data.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/import-meta-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/money-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/money.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/payment-card-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/payment-method-details.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/payout-totals-adjustment-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/price-quantity.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/tax-rates-used-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/time-period.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/total-adjustments-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/totals.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/transaction-checkout.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/transaction-details-preview-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/transaction-line-item-preview-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/transaction-payment-attempt-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/transaction-payout-totals-adjusted-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/transaction-payout-totals-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/transaction-totals-adjusted-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/transaction-totals-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/unit-price-override-response.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/unit-price-override.d.ts +0 -0
- /package/dist/types/{shared → types/shared}/unit-totals.d.ts +0 -0
- /package/dist/types/{subscription → types/subscription}/next-transaction-response.d.ts +0 -0
- /package/dist/types/{subscription → types/subscription}/subscription-discount-response.d.ts +0 -0
- /package/dist/types/{subscription → types/subscription}/subscription-item-response.d.ts +0 -0
- /package/dist/types/{subscription → types/subscription}/subscription-management-response.d.ts +0 -0
- /package/dist/types/{subscription → types/subscription}/subscription-preview-response.d.ts +0 -0
- /package/dist/types/{subscription → types/subscription}/subscription-preview-update-summary.d.ts +0 -0
- /package/dist/types/{subscription → types/subscription}/subscription-response.d.ts +0 -0
- /package/dist/types/{subscription → types/subscription}/subscription-result-response.d.ts +0 -0
- /package/dist/types/{subscription → types/subscription}/subscription-scheduled-change-response.d.ts +0 -0
- /package/dist/types/{subscription → types/subscription}/subscription-time-period-response.d.ts +0 -0
- /package/dist/types/{subscription → types/subscription}/subscription-update-item.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/adjustment-totals-breakdown.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/adjustment-totals-response.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transaction-adjustment-item-response.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transaction-adjustment-response.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transaction-details-response.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transaction-invoice-pdf.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transaction-item-response.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transaction-item.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transaction-line-item-response.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transaction-preview-item.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transaction-preview-response.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transaction-proration-response.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transaction-response.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transactions-time-period-response.d.ts +0 -0
- /package/dist/types/{transaction → types/transaction}/transactions-time-period.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,14 @@ When we make [non-breaking changes](https://developer.paddle.com/api-reference/a
|
|
|
12
12
|
|
|
13
13
|
This means when upgrading minor versions of the SDK, you may notice type errors. You can safely ignore these or fix by adding additional type guards.
|
|
14
14
|
|
|
15
|
+
## 1.3.0-beta.0 - 2024-03-26
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Updated the package to export both CommonJS and ES module formats.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
15
23
|
## 1.2.1 - 2024-03-20
|
|
16
24
|
|
|
17
25
|
### Fixed
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.Client = void 0;
|
|
16
|
+
const constants_1 = require("./constants");
|
|
17
|
+
const node_fetch_1 = __importDefault(require("node-fetch"));
|
|
18
|
+
const version_1 = require("../../version");
|
|
19
|
+
const environment_1 = require("./environment");
|
|
20
|
+
const node_crypto_1 = require("node:crypto");
|
|
21
|
+
const logger_1 = require("../base/logger");
|
|
22
|
+
const case_helpers_1 = require("./case-helpers");
|
|
23
|
+
class Client {
|
|
24
|
+
constructor(apiKey, options) {
|
|
25
|
+
this.apiKey = apiKey;
|
|
26
|
+
this.options = options;
|
|
27
|
+
this.baseUrl = this.getBaseUrl(this.options.environment);
|
|
28
|
+
}
|
|
29
|
+
getBaseUrl(environment) {
|
|
30
|
+
const urlBasedOnEnv = constants_1.API_ENVIRONMENT_TO_BASE_URL_MAP[environment !== null && environment !== void 0 ? environment : environment_1.Environment.production];
|
|
31
|
+
return urlBasedOnEnv || environment;
|
|
32
|
+
}
|
|
33
|
+
getHeaders() {
|
|
34
|
+
const uuid = (0, node_crypto_1.randomUUID)();
|
|
35
|
+
return {
|
|
36
|
+
Authorization: `bearer ${this.apiKey}`,
|
|
37
|
+
'Content-Type': 'application/json',
|
|
38
|
+
'user-agent': `PaddleSDK/node ${version_1.SDK_VERSION}`,
|
|
39
|
+
'X-Transaction-ID': uuid,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
get(url, queryParams) {
|
|
43
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
44
|
+
let finalUrl = url.includes(this.baseUrl) ? url : `${this.baseUrl}${url}`;
|
|
45
|
+
if (!finalUrl.includes('?') && queryParams) {
|
|
46
|
+
finalUrl += queryParams.toQueryString();
|
|
47
|
+
}
|
|
48
|
+
const logUrl = finalUrl.split('?')[0];
|
|
49
|
+
const headers = this.getHeaders();
|
|
50
|
+
logger_1.Logger.logRequest('GET', logUrl, headers);
|
|
51
|
+
const rawResponse = yield (0, node_fetch_1.default)(finalUrl, {
|
|
52
|
+
headers,
|
|
53
|
+
});
|
|
54
|
+
logger_1.Logger.logResponse('GET', logUrl, headers, rawResponse);
|
|
55
|
+
return rawResponse.json();
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
post(url, requestBody) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
const logUrl = url.split('?')[0];
|
|
61
|
+
const headers = this.getHeaders();
|
|
62
|
+
logger_1.Logger.logRequest('POST', logUrl, headers);
|
|
63
|
+
const rawResponse = yield (0, node_fetch_1.default)(`${this.baseUrl}${url}`, {
|
|
64
|
+
method: 'POST',
|
|
65
|
+
body: JSON.stringify((0, case_helpers_1.convertToSnakeCase)(requestBody)),
|
|
66
|
+
headers,
|
|
67
|
+
});
|
|
68
|
+
logger_1.Logger.logResponse('POST', logUrl, headers, rawResponse);
|
|
69
|
+
return rawResponse.json();
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
patch(url, requestBody) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
const logUrl = url.split('?')[0];
|
|
75
|
+
const headers = this.getHeaders();
|
|
76
|
+
logger_1.Logger.logRequest('PATCH', logUrl, headers);
|
|
77
|
+
const rawResponse = yield (0, node_fetch_1.default)(`${this.baseUrl}${url}`, {
|
|
78
|
+
method: 'PATCH',
|
|
79
|
+
body: JSON.stringify((0, case_helpers_1.convertToSnakeCase)(requestBody)),
|
|
80
|
+
headers,
|
|
81
|
+
});
|
|
82
|
+
logger_1.Logger.logResponse('PATCH', logUrl, headers, rawResponse);
|
|
83
|
+
return rawResponse.json();
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
delete(url) {
|
|
87
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
88
|
+
const logUrl = url.split('?')[0];
|
|
89
|
+
const headers = this.getHeaders();
|
|
90
|
+
logger_1.Logger.logRequest('DELETE', logUrl, headers);
|
|
91
|
+
const rawResponse = yield (0, node_fetch_1.default)(`${this.baseUrl}${url}`, {
|
|
92
|
+
method: 'DELETE',
|
|
93
|
+
headers,
|
|
94
|
+
});
|
|
95
|
+
logger_1.Logger.logResponse('DELETE', logUrl, headers, rawResponse);
|
|
96
|
+
return rawResponse;
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.Client = Client;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebhooksValidator = void 0;
|
|
4
|
+
const node_crypto_1 = require("node:crypto");
|
|
5
|
+
class WebhooksValidator {
|
|
6
|
+
extractHeader(header) {
|
|
7
|
+
const parts = header.split(';');
|
|
8
|
+
let ts = '';
|
|
9
|
+
let h1 = '';
|
|
10
|
+
for (const part of parts) {
|
|
11
|
+
const [key, value] = part.split('=');
|
|
12
|
+
if (value) {
|
|
13
|
+
if (key === 'ts') {
|
|
14
|
+
ts = value;
|
|
15
|
+
}
|
|
16
|
+
else if (key === 'h1') {
|
|
17
|
+
h1 = value;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
if (ts && h1) {
|
|
22
|
+
return { ts: parseInt(ts), h1 };
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
throw new Error('[Paddle] Invalid webhook signature');
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
isValidSignature(requestBody, secretKey, signature) {
|
|
29
|
+
const headers = this.extractHeader(signature);
|
|
30
|
+
const payloadWithTime = `${headers.ts}:${requestBody}`;
|
|
31
|
+
if (new Date().getTime() > new Date((headers.ts + WebhooksValidator.MAX_VALID_TIME_DIFFERENCE) * 1000).getTime()) {
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
const hmac = (0, node_crypto_1.createHmac)('sha256', secretKey);
|
|
35
|
+
hmac.update(payloadWithTime);
|
|
36
|
+
const computedHash = hmac.digest('hex');
|
|
37
|
+
return computedHash === headers.h1;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.WebhooksValidator = WebhooksValidator;
|
|
41
|
+
WebhooksValidator.MAX_VALID_TIME_DIFFERENCE = 5;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ImportMeta } from '../index';
|
|
2
|
+
export class Address {
|
|
3
|
+
constructor(address) {
|
|
4
|
+
this.id = address.id;
|
|
5
|
+
this.customerId = address.customer_id;
|
|
6
|
+
this.description = address.description ? address.description : null;
|
|
7
|
+
this.firstLine = address.first_line ? address.first_line : null;
|
|
8
|
+
this.secondLine = address.second_line ? address.second_line : null;
|
|
9
|
+
this.city = address.city ? address.city : null;
|
|
10
|
+
this.postalCode = address.postal_code ? address.postal_code : null;
|
|
11
|
+
this.region = address.region ? address.region : null;
|
|
12
|
+
this.countryCode = address.country_code;
|
|
13
|
+
this.customData = address.custom_data ? address.custom_data : null;
|
|
14
|
+
this.status = address.status;
|
|
15
|
+
this.createdAt = address.created_at;
|
|
16
|
+
this.updatedAt = address.updated_at;
|
|
17
|
+
this.importMeta = address.import_meta ? new ImportMeta(address.import_meta) : null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AdjustmentItemTotals, AdjustmentProration } from '../index';
|
|
2
|
+
export class AdjustmentItem {
|
|
3
|
+
constructor(adjustmentItem) {
|
|
4
|
+
this.id = adjustmentItem.id;
|
|
5
|
+
this.itemId = adjustmentItem.item_id;
|
|
6
|
+
this.type = adjustmentItem.type;
|
|
7
|
+
this.amount = adjustmentItem.amount ? adjustmentItem.amount : null;
|
|
8
|
+
this.proration = adjustmentItem.proration ? new AdjustmentProration(adjustmentItem.proration) : null;
|
|
9
|
+
this.totals = adjustmentItem.totals ? new AdjustmentItemTotals(adjustmentItem.totals) : null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AdjustmentTimePeriod } from '../index';
|
|
2
|
+
export class AdjustmentProration {
|
|
3
|
+
constructor(adjustmentsProration) {
|
|
4
|
+
this.rate = adjustmentsProration.rate;
|
|
5
|
+
this.billingPeriod = adjustmentsProration.billing_period
|
|
6
|
+
? new AdjustmentTimePeriod(adjustmentsProration.billing_period)
|
|
7
|
+
: null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AdjustmentItem, PayoutTotalsAdjustment, TotalAdjustments } from '../index';
|
|
2
|
+
export class Adjustment {
|
|
3
|
+
constructor(adjustment) {
|
|
4
|
+
this.id = adjustment.id;
|
|
5
|
+
this.action = adjustment.action;
|
|
6
|
+
this.transactionId = adjustment.transaction_id;
|
|
7
|
+
this.subscriptionId = adjustment.subscription_id ? adjustment.subscription_id : null;
|
|
8
|
+
this.customerId = adjustment.customer_id;
|
|
9
|
+
this.reason = adjustment.reason;
|
|
10
|
+
this.creditAppliedToBalance = adjustment.credit_applied_to_balance;
|
|
11
|
+
this.currencyCode = adjustment.currency_code;
|
|
12
|
+
this.status = adjustment.status;
|
|
13
|
+
this.items = adjustment.items.map((item) => new AdjustmentItem(item));
|
|
14
|
+
this.totals = new TotalAdjustments(adjustment.totals);
|
|
15
|
+
this.payoutTotals = adjustment.payout_totals ? new PayoutTotalsAdjustment(adjustment.payout_totals) : null;
|
|
16
|
+
this.createdAt = adjustment.created_at;
|
|
17
|
+
this.updatedAt = adjustment.updated_at;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Contacts, ImportMeta } from '../index';
|
|
2
|
+
export class Business {
|
|
3
|
+
constructor(business) {
|
|
4
|
+
this.id = business.id;
|
|
5
|
+
this.customerId = business.customer_id;
|
|
6
|
+
this.name = business.name;
|
|
7
|
+
this.companyNumber = business.company_number ? business.company_number : null;
|
|
8
|
+
this.taxIdentifier = business.tax_identifier ? business.tax_identifier : null;
|
|
9
|
+
this.status = business.status;
|
|
10
|
+
this.contacts = business.contacts ? business.contacts.map((contact) => new Contacts(contact)) : null;
|
|
11
|
+
this.createdAt = business.created_at;
|
|
12
|
+
this.updatedAt = business.updated_at;
|
|
13
|
+
this.customData = business.custom_data ? business.custom_data : null;
|
|
14
|
+
this.importMeta = business.import_meta ? new ImportMeta(business.import_meta) : null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CustomerBalance } from '../index';
|
|
2
|
+
export class CreditBalance {
|
|
3
|
+
constructor(creditBalance) {
|
|
4
|
+
this.customerId = creditBalance.customer_id ? creditBalance.customer_id : null;
|
|
5
|
+
this.currencyCode = creditBalance.currency_code ? creditBalance.currency_code : null;
|
|
6
|
+
this.balance = creditBalance.balance ? new CustomerBalance(creditBalance.balance) : null;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ImportMeta } from '../index';
|
|
2
|
+
export class Customer {
|
|
3
|
+
constructor(customer) {
|
|
4
|
+
this.id = customer.id;
|
|
5
|
+
this.name = customer.name ? customer.name : null;
|
|
6
|
+
this.email = customer.email;
|
|
7
|
+
this.marketingConsent = customer.marketing_consent;
|
|
8
|
+
this.status = customer.status;
|
|
9
|
+
this.customData = customer.custom_data ? customer.custom_data : null;
|
|
10
|
+
this.locale = customer.locale;
|
|
11
|
+
this.createdAt = customer.created_at;
|
|
12
|
+
this.updatedAt = customer.updated_at;
|
|
13
|
+
this.importMeta = customer.import_meta ? new ImportMeta(customer.import_meta) : null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ImportMeta } from '../index';
|
|
2
|
+
export class Discount {
|
|
3
|
+
constructor(discount) {
|
|
4
|
+
var _a;
|
|
5
|
+
this.id = discount.id;
|
|
6
|
+
this.status = discount.status;
|
|
7
|
+
this.description = discount.description;
|
|
8
|
+
this.enabledForCheckout = discount.enabled_for_checkout;
|
|
9
|
+
this.code = discount.code ? discount.code : null;
|
|
10
|
+
this.type = discount.type;
|
|
11
|
+
this.amount = discount.amount;
|
|
12
|
+
this.currencyCode = discount.currency_code ? discount.currency_code : null;
|
|
13
|
+
this.recur = discount.recur;
|
|
14
|
+
this.maximumRecurringIntervals = discount.maximum_recurring_intervals ? discount.maximum_recurring_intervals : null;
|
|
15
|
+
this.usageLimit = discount.usage_limit ? discount.usage_limit : null;
|
|
16
|
+
this.restrictTo = discount.restrict_to ? discount.restrict_to : null;
|
|
17
|
+
this.expiresAt = discount.expires_at ? discount.expires_at : null;
|
|
18
|
+
this.customData = discount.custom_data ? discount.custom_data : null;
|
|
19
|
+
this.timesUsed = (_a = discount.times_used) !== null && _a !== void 0 ? _a : null;
|
|
20
|
+
this.createdAt = discount.created_at;
|
|
21
|
+
this.updatedAt = discount.updated_at;
|
|
22
|
+
this.importMeta = discount.import_meta ? new ImportMeta(discount.import_meta) : null;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export class Event {
|
|
2
|
+
constructor(eventData) {
|
|
3
|
+
var _a;
|
|
4
|
+
this.eventId = eventData.event_id;
|
|
5
|
+
this.notificationId = (_a = eventData.notification_id) !== null && _a !== void 0 ? _a : null;
|
|
6
|
+
this.eventType = eventData.event_type;
|
|
7
|
+
this.occurredAt = eventData.occurred_at;
|
|
8
|
+
this.data = eventData.data;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './shared';
|
|
2
|
+
export * from './product';
|
|
3
|
+
export * from './price';
|
|
4
|
+
export * from './transaction';
|
|
5
|
+
export * from './adjustment';
|
|
6
|
+
export * from './customer';
|
|
7
|
+
export * from './business';
|
|
8
|
+
export * from './subscription';
|
|
9
|
+
export * from './address';
|
|
10
|
+
export * from './discount';
|
|
11
|
+
export * from './events';
|
|
12
|
+
export * from './payout';
|
|
13
|
+
export * from './event-types';
|
|
14
|
+
export * from './notification-settings';
|
|
15
|
+
export * from './notifications';
|
|
16
|
+
export * from './report';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventType } from '../event-types';
|
|
2
|
+
export class NotificationSettings {
|
|
3
|
+
constructor(notificationSettings) {
|
|
4
|
+
this.id = notificationSettings.id;
|
|
5
|
+
this.description = notificationSettings.description;
|
|
6
|
+
this.type = notificationSettings.type;
|
|
7
|
+
this.destination = notificationSettings.destination;
|
|
8
|
+
this.active = notificationSettings.active;
|
|
9
|
+
this.apiVersion = notificationSettings.api_version;
|
|
10
|
+
this.includeSensitiveFields = notificationSettings.include_sensitive_fields;
|
|
11
|
+
this.subscribedEvents = notificationSettings.subscribed_events.map((subscribed_event) => new EventType(subscribed_event));
|
|
12
|
+
this.endpointSecretKey = notificationSettings.endpoint_secret_key;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export class NotificationLog {
|
|
2
|
+
constructor(notificationLogResponse) {
|
|
3
|
+
var _a;
|
|
4
|
+
this.id = notificationLogResponse.id;
|
|
5
|
+
this.responseCode = notificationLogResponse.response_code;
|
|
6
|
+
this.responseContentType = (_a = notificationLogResponse.response_content_type) !== null && _a !== void 0 ? _a : null;
|
|
7
|
+
this.responseBody = notificationLogResponse.response_body;
|
|
8
|
+
this.attemptedAt = notificationLogResponse.attempted_at;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Webhooks } from '../../notifications';
|
|
2
|
+
export class Notification {
|
|
3
|
+
constructor(notificationResponse) {
|
|
4
|
+
var _a, _b, _c, _d;
|
|
5
|
+
this.id = notificationResponse.id;
|
|
6
|
+
this.type = notificationResponse.type;
|
|
7
|
+
this.status = notificationResponse.status;
|
|
8
|
+
this.payload = Webhooks.fromJson(notificationResponse.payload);
|
|
9
|
+
this.occurredAt = notificationResponse.occurred_at;
|
|
10
|
+
this.deliveredAt = (_a = notificationResponse.delivered_at) !== null && _a !== void 0 ? _a : null;
|
|
11
|
+
this.replayedAt = (_b = notificationResponse.replayed_at) !== null && _b !== void 0 ? _b : null;
|
|
12
|
+
this.origin = notificationResponse.origin;
|
|
13
|
+
this.lastAttemptAt = (_c = notificationResponse.last_attempt_at) !== null && _c !== void 0 ? _c : null;
|
|
14
|
+
this.retryAt = (_d = notificationResponse.retry_at) !== null && _d !== void 0 ? _d : null;
|
|
15
|
+
this.timesAttempted = notificationResponse.times_attempted;
|
|
16
|
+
this.notificationSettingId = notificationResponse.notification_setting_id;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ImportMeta, Money, PriceQuantity, Product, TimePeriod, UnitPriceOverride } from '../index';
|
|
2
|
+
export class Price {
|
|
3
|
+
constructor(price) {
|
|
4
|
+
var _a, _b;
|
|
5
|
+
this.id = price.id;
|
|
6
|
+
this.productId = price.product_id;
|
|
7
|
+
this.description = price.description;
|
|
8
|
+
this.type = price.type;
|
|
9
|
+
this.name = price.name ? price.name : null;
|
|
10
|
+
this.billingCycle = price.billing_cycle ? new TimePeriod(price.billing_cycle) : null;
|
|
11
|
+
this.trialPeriod = price.trial_period ? new TimePeriod(price.trial_period) : null;
|
|
12
|
+
this.taxMode = price.tax_mode;
|
|
13
|
+
this.unitPrice = new Money(price.unit_price);
|
|
14
|
+
this.unitPriceOverrides =
|
|
15
|
+
(_b = (_a = price.unit_price_overrides) === null || _a === void 0 ? void 0 : _a.map((unit_price_override) => new UnitPriceOverride(unit_price_override))) !== null && _b !== void 0 ? _b : [];
|
|
16
|
+
this.quantity = new PriceQuantity(price.quantity);
|
|
17
|
+
this.status = price.status;
|
|
18
|
+
this.createdAt = price.created_at;
|
|
19
|
+
this.updatedAt = price.updated_at;
|
|
20
|
+
this.customData = price.custom_data ? price.custom_data : null;
|
|
21
|
+
this.importMeta = price.import_meta ? new ImportMeta(price.import_meta) : null;
|
|
22
|
+
this.product = price.product ? new Product(price.product) : null;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Discount } from '../index';
|
|
2
|
+
export class PricingPreviewDiscounts {
|
|
3
|
+
constructor(previewDiscount) {
|
|
4
|
+
this.discount = new Discount(previewDiscount.discount);
|
|
5
|
+
this.total = previewDiscount.total;
|
|
6
|
+
this.formattedTotal = previewDiscount.formatted_total;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Price } from '../price';
|
|
2
|
+
import { Totals } from '../shared';
|
|
3
|
+
import { Product } from '../product';
|
|
4
|
+
import { PricingPreviewDiscounts } from './pricing-preview-discounts';
|
|
5
|
+
export class PricingPreviewLineItem {
|
|
6
|
+
constructor(lineItem) {
|
|
7
|
+
this.price = new Price(lineItem.price);
|
|
8
|
+
this.quantity = lineItem.quantity;
|
|
9
|
+
this.taxRate = lineItem.tax_rate;
|
|
10
|
+
this.unitTotals = new Totals(lineItem.unit_totals);
|
|
11
|
+
this.formattedUnitTotals = new Totals(lineItem.formatted_unit_totals);
|
|
12
|
+
this.totals = new Totals(lineItem.totals);
|
|
13
|
+
this.formattedTotals = new Totals(lineItem.formatted_totals);
|
|
14
|
+
this.product = new Product(lineItem.product);
|
|
15
|
+
this.discounts = lineItem.discounts.map((discount) => new PricingPreviewDiscounts(discount));
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AddressPreview } from '../transaction';
|
|
2
|
+
import { PricingPreviewDetails } from './pricing-preview-details';
|
|
3
|
+
export class PricingPreview {
|
|
4
|
+
constructor(pricePreview) {
|
|
5
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
6
|
+
this.customerId = (_a = pricePreview.customer_id) !== null && _a !== void 0 ? _a : null;
|
|
7
|
+
this.addressId = (_b = pricePreview.address_id) !== null && _b !== void 0 ? _b : null;
|
|
8
|
+
this.businessId = (_c = pricePreview.business_id) !== null && _c !== void 0 ? _c : null;
|
|
9
|
+
this.currencyCode = (_d = pricePreview.currency_code) !== null && _d !== void 0 ? _d : null;
|
|
10
|
+
this.discountId = (_e = pricePreview.discount_id) !== null && _e !== void 0 ? _e : null;
|
|
11
|
+
this.address = pricePreview.address ? new AddressPreview(pricePreview.address) : null;
|
|
12
|
+
this.customerIpAddress = (_f = pricePreview.customer_ip_address) !== null && _f !== void 0 ? _f : null;
|
|
13
|
+
this.details = pricePreview.details ? new PricingPreviewDetails(pricePreview.details) : null;
|
|
14
|
+
this.availablePaymentMethods = (_g = pricePreview.available_payment_method) !== null && _g !== void 0 ? _g : null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ImportMeta, Price } from '../index';
|
|
2
|
+
export class Product {
|
|
3
|
+
constructor(product) {
|
|
4
|
+
var _a;
|
|
5
|
+
this.id = product.id;
|
|
6
|
+
this.name = product.name;
|
|
7
|
+
this.type = (_a = product.type) !== null && _a !== void 0 ? _a : null;
|
|
8
|
+
this.description = product.description ? product.description : null;
|
|
9
|
+
this.taxCategory = product.tax_category;
|
|
10
|
+
this.imageUrl = product.image_url ? product.image_url : null;
|
|
11
|
+
this.customData = product.custom_data ? product.custom_data : null;
|
|
12
|
+
this.status = product.status;
|
|
13
|
+
this.createdAt = product.created_at;
|
|
14
|
+
this.updatedAt = product.updated_at;
|
|
15
|
+
this.importMeta = product.import_meta ? new ImportMeta(product.import_meta) : null;
|
|
16
|
+
this.prices = product.prices ? product.prices.map((price) => new Price(price)) : null;
|
|
17
|
+
}
|
|
18
|
+
}
|