@paddle/paddle-node-sdk 1.2.0 → 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 +16 -0
- package/dist/cjs/entities/price/price.js +28 -0
- package/dist/cjs/internal/api/client.js +100 -0
- package/dist/cjs/notifications/entities/price/price-notification.js +27 -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/price/price-notification-response.d.ts +22 -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/price/price-response.d.ts +21 -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/entities/price/price.js +0 -26
- package/dist/index.d.ts +0 -8
- package/dist/internal/api/client.js +0 -100
- package/dist/notifications/entities/price/price-notification.js +0 -26
- package/dist/notifications/helpers/webhooks-validator.js +0 -41
- package/dist/notifications/types/price/price-notification-response.d.ts +0 -22
- package/dist/types/price/price-response.d.ts +0 -21
- 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}/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-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-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}/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
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export class ReportFilters {
|
|
2
|
+
constructor(reportFiltersResponse) {
|
|
3
|
+
var _a;
|
|
4
|
+
this.name = reportFiltersResponse.name;
|
|
5
|
+
this.operator = (_a = reportFiltersResponse.operator) !== null && _a !== void 0 ? _a : null;
|
|
6
|
+
this.value = reportFiltersResponse.value;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReportFilters } from '../index';
|
|
2
|
+
export class Report {
|
|
3
|
+
constructor(reportResponse) {
|
|
4
|
+
var _a, _b, _c;
|
|
5
|
+
this.id = reportResponse.id;
|
|
6
|
+
this.status = reportResponse.status;
|
|
7
|
+
this.rows = (_a = reportResponse.rows) !== null && _a !== void 0 ? _a : null;
|
|
8
|
+
this.type = reportResponse.type;
|
|
9
|
+
this.filters = (_b = reportResponse.filters) === null || _b === void 0 ? void 0 : _b.map((filter) => new ReportFilters(filter));
|
|
10
|
+
this.expiresAt = (_c = reportResponse.expires_at) !== null && _c !== void 0 ? _c : null;
|
|
11
|
+
this.createdAt = reportResponse.created_at;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TimePeriod } from '../index';
|
|
2
|
+
export class BillingDetails {
|
|
3
|
+
constructor(billingDetails) {
|
|
4
|
+
var _a;
|
|
5
|
+
this.enableCheckout = (_a = billingDetails.enable_checkout) !== null && _a !== void 0 ? _a : null;
|
|
6
|
+
this.purchaseOrderNumber = billingDetails.purchase_order_number ? billingDetails.purchase_order_number : null;
|
|
7
|
+
this.additionalInformation = billingDetails.additional_information ? billingDetails.additional_information : null;
|
|
8
|
+
this.paymentTerms = new TimePeriod(billingDetails.payment_terms);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export class PaymentCard {
|
|
2
|
+
constructor(paymentCard) {
|
|
3
|
+
this.type = paymentCard.type;
|
|
4
|
+
this.last4 = paymentCard.last4;
|
|
5
|
+
this.expiryMonth = paymentCard.expiry_month;
|
|
6
|
+
this.expiryYear = paymentCard.expiry_year;
|
|
7
|
+
this.cardholderName = paymentCard.cardholder_name;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ChargebackFee } from '../index';
|
|
2
|
+
export class PayoutTotalsAdjustment {
|
|
3
|
+
constructor(payoutTotalsAdjustment) {
|
|
4
|
+
this.subtotal = payoutTotalsAdjustment.subtotal;
|
|
5
|
+
this.tax = payoutTotalsAdjustment.tax;
|
|
6
|
+
this.total = payoutTotalsAdjustment.total;
|
|
7
|
+
this.fee = payoutTotalsAdjustment.fee;
|
|
8
|
+
this.chargebackFee = payoutTotalsAdjustment.chargeback_fee
|
|
9
|
+
? new ChargebackFee(payoutTotalsAdjustment.chargeback_fee)
|
|
10
|
+
: null;
|
|
11
|
+
this.earnings = payoutTotalsAdjustment.earnings;
|
|
12
|
+
this.currencyCode = payoutTotalsAdjustment.currency_code;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export class TotalAdjustments {
|
|
2
|
+
constructor(totalAdjustments) {
|
|
3
|
+
this.subtotal = totalAdjustments.subtotal;
|
|
4
|
+
this.tax = totalAdjustments.tax;
|
|
5
|
+
this.total = totalAdjustments.total;
|
|
6
|
+
this.fee = totalAdjustments.fee;
|
|
7
|
+
this.earnings = totalAdjustments.earnings;
|
|
8
|
+
this.currencyCode = totalAdjustments.currency_code;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PaymentMethodDetails } from '../index';
|
|
2
|
+
export class TransactionPaymentAttempt {
|
|
3
|
+
constructor(transactionPaymentAttempt) {
|
|
4
|
+
this.paymentAttemptId = transactionPaymentAttempt.payment_attempt_id;
|
|
5
|
+
this.paymentMethodId = transactionPaymentAttempt.payment_method_id;
|
|
6
|
+
this.storedPaymentMethodId = transactionPaymentAttempt.stored_payment_method_id;
|
|
7
|
+
this.amount = transactionPaymentAttempt.amount;
|
|
8
|
+
this.status = transactionPaymentAttempt.status;
|
|
9
|
+
this.errorCode = transactionPaymentAttempt.error_code ? transactionPaymentAttempt.error_code : null;
|
|
10
|
+
this.methodDetails = transactionPaymentAttempt.method_details
|
|
11
|
+
? new PaymentMethodDetails(transactionPaymentAttempt.method_details)
|
|
12
|
+
: null;
|
|
13
|
+
this.createdAt = transactionPaymentAttempt.created_at;
|
|
14
|
+
this.capturedAt = transactionPaymentAttempt.captured_at ? transactionPaymentAttempt.captured_at : null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ChargebackFee } from '../index';
|
|
2
|
+
export class TransactionPayoutTotalsAdjusted {
|
|
3
|
+
constructor(transactionPayoutTotalsAdjusted) {
|
|
4
|
+
this.subtotal = transactionPayoutTotalsAdjusted.subtotal;
|
|
5
|
+
this.tax = transactionPayoutTotalsAdjusted.tax;
|
|
6
|
+
this.total = transactionPayoutTotalsAdjusted.total;
|
|
7
|
+
this.fee = transactionPayoutTotalsAdjusted.fee;
|
|
8
|
+
this.chargebackFee = transactionPayoutTotalsAdjusted.chargeback_fee
|
|
9
|
+
? new ChargebackFee(transactionPayoutTotalsAdjusted.chargeback_fee)
|
|
10
|
+
: null;
|
|
11
|
+
this.earnings = transactionPayoutTotalsAdjusted.earnings;
|
|
12
|
+
this.currencyCode = transactionPayoutTotalsAdjusted.currency_code;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export class TransactionPayoutTotals {
|
|
2
|
+
constructor(transactionPayoutTotals) {
|
|
3
|
+
this.subtotal = transactionPayoutTotals.subtotal;
|
|
4
|
+
this.discount = transactionPayoutTotals.discount;
|
|
5
|
+
this.tax = transactionPayoutTotals.tax;
|
|
6
|
+
this.total = transactionPayoutTotals.total;
|
|
7
|
+
this.credit = transactionPayoutTotals.credit;
|
|
8
|
+
this.creditToBalance = transactionPayoutTotals.credit_to_balance;
|
|
9
|
+
this.balance = transactionPayoutTotals.balance;
|
|
10
|
+
this.grandTotal = transactionPayoutTotals.grand_total;
|
|
11
|
+
this.fee = transactionPayoutTotals.fee;
|
|
12
|
+
this.earnings = transactionPayoutTotals.earnings;
|
|
13
|
+
this.currencyCode = transactionPayoutTotals.currency_code;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export class TransactionTotalsAdjusted {
|
|
2
|
+
constructor(transactionTotalsAdjusted) {
|
|
3
|
+
this.subtotal = transactionTotalsAdjusted.subtotal;
|
|
4
|
+
this.tax = transactionTotalsAdjusted.tax;
|
|
5
|
+
this.total = transactionTotalsAdjusted.total;
|
|
6
|
+
this.grandTotal = transactionTotalsAdjusted.grand_total;
|
|
7
|
+
this.fee = transactionTotalsAdjusted.fee ? transactionTotalsAdjusted.fee : null;
|
|
8
|
+
this.earnings = transactionTotalsAdjusted.earnings ? transactionTotalsAdjusted.earnings : null;
|
|
9
|
+
this.currencyCode = transactionTotalsAdjusted.currency_code;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export class TransactionTotals {
|
|
2
|
+
constructor(transactionTotals) {
|
|
3
|
+
this.subtotal = transactionTotals.subtotal;
|
|
4
|
+
this.discount = transactionTotals.discount;
|
|
5
|
+
this.tax = transactionTotals.tax;
|
|
6
|
+
this.total = transactionTotals.total;
|
|
7
|
+
this.credit = transactionTotals.credit;
|
|
8
|
+
this.creditToBalance = transactionTotals.credit_to_balance;
|
|
9
|
+
this.balance = transactionTotals.balance;
|
|
10
|
+
this.grandTotal = transactionTotals.grand_total;
|
|
11
|
+
this.fee = transactionTotals.fee ? transactionTotals.fee : null;
|
|
12
|
+
this.earnings = transactionTotals.earnings ? transactionTotals.earnings : null;
|
|
13
|
+
this.currencyCode = transactionTotals.currency_code;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AdjustmentItemTotals, AdjustmentProration } from '../adjustment';
|
|
2
|
+
export class NextTransactionAdjustmentItem {
|
|
3
|
+
constructor(adjustmentItem) {
|
|
4
|
+
this.itemId = adjustmentItem.item_id;
|
|
5
|
+
this.type = adjustmentItem.type;
|
|
6
|
+
this.amount = adjustmentItem.amount ? adjustmentItem.amount : null;
|
|
7
|
+
this.proration = adjustmentItem.proration ? new AdjustmentProration(adjustmentItem.proration) : null;
|
|
8
|
+
this.totals = adjustmentItem.totals ? new AdjustmentItemTotals(adjustmentItem.totals) : null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NextTransactionAdjustmentItem } from './next-transaction-adjustment-item';
|
|
2
|
+
import { TotalAdjustments } from '../shared';
|
|
3
|
+
export class NextTransactionAdjustmentPreview {
|
|
4
|
+
constructor(adjustmentPreview) {
|
|
5
|
+
this.transactionId = adjustmentPreview.transaction_id;
|
|
6
|
+
this.items = adjustmentPreview.items.map((item) => new NextTransactionAdjustmentItem(item));
|
|
7
|
+
this.totals = adjustmentPreview.totals ? new TotalAdjustments(adjustmentPreview.totals) : null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SubscriptionTimePeriod, TransactionDetailsPreview, NextTransactionAdjustmentPreview } from '../index';
|
|
2
|
+
export class NextTransaction {
|
|
3
|
+
constructor(nextTransaction) {
|
|
4
|
+
this.billingPeriod = new SubscriptionTimePeriod(nextTransaction.billing_period);
|
|
5
|
+
this.details = new TransactionDetailsPreview(nextTransaction.details);
|
|
6
|
+
this.adjustments = nextTransaction.adjustments.map((adjustment) => new NextTransactionAdjustmentPreview(adjustment));
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export class SubscriptionDiscount {
|
|
2
|
+
constructor(subscriptionDiscount) {
|
|
3
|
+
var _a;
|
|
4
|
+
this.id = subscriptionDiscount.id;
|
|
5
|
+
this.startsAt = subscriptionDiscount.starts_at;
|
|
6
|
+
this.endsAt = (_a = subscriptionDiscount.ends_at) !== null && _a !== void 0 ? _a : null;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Price, SubscriptionTimePeriod } from '../index';
|
|
2
|
+
export class SubscriptionItem {
|
|
3
|
+
constructor(subscriptionItem) {
|
|
4
|
+
this.status = subscriptionItem.status;
|
|
5
|
+
this.quantity = subscriptionItem.quantity;
|
|
6
|
+
this.recurring = subscriptionItem.recurring;
|
|
7
|
+
this.createdAt = subscriptionItem.created_at;
|
|
8
|
+
this.updatedAt = subscriptionItem.updated_at;
|
|
9
|
+
this.previouslyBilledAt = subscriptionItem.previously_billed_at ? subscriptionItem.previously_billed_at : null;
|
|
10
|
+
this.nextBilledAt = subscriptionItem.next_billed_at ? subscriptionItem.next_billed_at : null;
|
|
11
|
+
this.trialDates = subscriptionItem.trial_dates ? new SubscriptionTimePeriod(subscriptionItem.trial_dates) : null;
|
|
12
|
+
this.price = subscriptionItem.price ? new Price(subscriptionItem.price) : null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Money, SubscriptionPreviewSummaryResult } from '../index';
|
|
2
|
+
export class SubscriptionPreviewUpdateSummary {
|
|
3
|
+
constructor(previewUpdateSummary) {
|
|
4
|
+
this.credit = new Money(previewUpdateSummary.credit);
|
|
5
|
+
this.charge = new Money(previewUpdateSummary.charge);
|
|
6
|
+
this.result = new SubscriptionPreviewSummaryResult(previewUpdateSummary.result);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { BillingDetails, ImportMeta, NextTransaction, SubscriptionDiscount, SubscriptionItem, SubscriptionManagement, SubscriptionPreviewUpdateSummary, SubscriptionScheduledChange, SubscriptionTimePeriod, TimePeriod, TransactionDetailsPreview, } from '../index';
|
|
2
|
+
export class SubscriptionPreview {
|
|
3
|
+
constructor(subscriptionPreview) {
|
|
4
|
+
this.status = subscriptionPreview.status;
|
|
5
|
+
this.customerId = subscriptionPreview.customer_id;
|
|
6
|
+
this.addressId = subscriptionPreview.address_id;
|
|
7
|
+
this.businessId = subscriptionPreview.business_id ? subscriptionPreview.business_id : null;
|
|
8
|
+
this.currencyCode = subscriptionPreview.currency_code;
|
|
9
|
+
this.createdAt = subscriptionPreview.created_at;
|
|
10
|
+
this.updatedAt = subscriptionPreview.updated_at;
|
|
11
|
+
this.startedAt = subscriptionPreview.started_at ? subscriptionPreview.started_at : null;
|
|
12
|
+
this.firstBilledAt = subscriptionPreview.first_billed_at ? subscriptionPreview.first_billed_at : null;
|
|
13
|
+
this.nextBilledAt = subscriptionPreview.next_billed_at ? subscriptionPreview.next_billed_at : null;
|
|
14
|
+
this.pausedAt = subscriptionPreview.paused_at ? subscriptionPreview.paused_at : null;
|
|
15
|
+
this.canceledAt = subscriptionPreview.canceled_at ? subscriptionPreview.canceled_at : null;
|
|
16
|
+
this.discount = subscriptionPreview.discount ? new SubscriptionDiscount(subscriptionPreview.discount) : null;
|
|
17
|
+
this.collectionMode = subscriptionPreview.collection_mode;
|
|
18
|
+
this.billingDetails = subscriptionPreview.billing_details
|
|
19
|
+
? new BillingDetails(subscriptionPreview.billing_details)
|
|
20
|
+
: null;
|
|
21
|
+
this.currentBillingPeriod = subscriptionPreview.current_billing_period
|
|
22
|
+
? new SubscriptionTimePeriod(subscriptionPreview.current_billing_period)
|
|
23
|
+
: null;
|
|
24
|
+
this.billingCycle = subscriptionPreview.billing_cycle ? new TimePeriod(subscriptionPreview.billing_cycle) : null;
|
|
25
|
+
this.scheduledChange = subscriptionPreview.scheduled_change
|
|
26
|
+
? new SubscriptionScheduledChange(subscriptionPreview.scheduled_change)
|
|
27
|
+
: null;
|
|
28
|
+
this.managementUrls = subscriptionPreview.management_urls
|
|
29
|
+
? new SubscriptionManagement(subscriptionPreview.management_urls)
|
|
30
|
+
: null;
|
|
31
|
+
this.items = subscriptionPreview.items.map((item) => new SubscriptionItem(item));
|
|
32
|
+
this.customData = subscriptionPreview.custom_data ? subscriptionPreview.custom_data : null;
|
|
33
|
+
this.immediateTransaction = subscriptionPreview.immediate_transaction
|
|
34
|
+
? new NextTransaction(subscriptionPreview.immediate_transaction)
|
|
35
|
+
: null;
|
|
36
|
+
this.nextTransaction = subscriptionPreview.next_transaction
|
|
37
|
+
? new NextTransaction(subscriptionPreview.next_transaction)
|
|
38
|
+
: null;
|
|
39
|
+
this.recurringTransactionDetails = subscriptionPreview.recurring_transaction_details
|
|
40
|
+
? new TransactionDetailsPreview(subscriptionPreview.recurring_transaction_details)
|
|
41
|
+
: null;
|
|
42
|
+
this.updateSummary = subscriptionPreview.update_summary
|
|
43
|
+
? new SubscriptionPreviewUpdateSummary(subscriptionPreview.update_summary)
|
|
44
|
+
: null;
|
|
45
|
+
this.importMeta = subscriptionPreview.import_meta ? new ImportMeta(subscriptionPreview.import_meta) : null;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export class SubscriptionScheduledChange {
|
|
2
|
+
constructor(subscriptionScheduledChange) {
|
|
3
|
+
this.action = subscriptionScheduledChange.action;
|
|
4
|
+
this.effectiveAt = subscriptionScheduledChange.effective_at;
|
|
5
|
+
this.resumeAt = subscriptionScheduledChange.resume_at ? subscriptionScheduledChange.resume_at : null;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { BillingDetails, ImportMeta, NextTransaction, SubscriptionDiscount, SubscriptionItem, SubscriptionManagement, SubscriptionScheduledChange, SubscriptionTimePeriod, TimePeriod, TransactionDetailsPreview, } from '../index';
|
|
2
|
+
export class Subscription {
|
|
3
|
+
constructor(subscription) {
|
|
4
|
+
this.id = subscription.id;
|
|
5
|
+
this.status = subscription.status;
|
|
6
|
+
this.customerId = subscription.customer_id;
|
|
7
|
+
this.addressId = subscription.address_id;
|
|
8
|
+
this.businessId = subscription.business_id ? subscription.business_id : null;
|
|
9
|
+
this.currencyCode = subscription.currency_code;
|
|
10
|
+
this.createdAt = subscription.created_at;
|
|
11
|
+
this.updatedAt = subscription.updated_at;
|
|
12
|
+
this.startedAt = subscription.started_at ? subscription.started_at : null;
|
|
13
|
+
this.firstBilledAt = subscription.first_billed_at ? subscription.first_billed_at : null;
|
|
14
|
+
this.nextBilledAt = subscription.next_billed_at ? subscription.next_billed_at : null;
|
|
15
|
+
this.pausedAt = subscription.paused_at ? subscription.paused_at : null;
|
|
16
|
+
this.canceledAt = subscription.canceled_at ? subscription.canceled_at : null;
|
|
17
|
+
this.discount = subscription.discount ? new SubscriptionDiscount(subscription.discount) : null;
|
|
18
|
+
this.collectionMode = subscription.collection_mode;
|
|
19
|
+
this.billingDetails = subscription.billing_details ? new BillingDetails(subscription.billing_details) : null;
|
|
20
|
+
this.currentBillingPeriod = subscription.current_billing_period
|
|
21
|
+
? new SubscriptionTimePeriod(subscription.current_billing_period)
|
|
22
|
+
: null;
|
|
23
|
+
this.billingCycle = new TimePeriod(subscription.billing_cycle);
|
|
24
|
+
this.scheduledChange = subscription.scheduled_change
|
|
25
|
+
? new SubscriptionScheduledChange(subscription.scheduled_change)
|
|
26
|
+
: null;
|
|
27
|
+
this.managementUrls = subscription.management_urls
|
|
28
|
+
? new SubscriptionManagement(subscription.management_urls)
|
|
29
|
+
: null;
|
|
30
|
+
this.items = subscription.items.map((item) => new SubscriptionItem(item));
|
|
31
|
+
this.customData = subscription.custom_data ? subscription.custom_data : null;
|
|
32
|
+
this.importMeta = subscription.import_meta ? new ImportMeta(subscription.import_meta) : null;
|
|
33
|
+
this.nextTransaction = subscription.next_transaction ? new NextTransaction(subscription.next_transaction) : null;
|
|
34
|
+
this.recurringTransactionDetails = subscription.recurring_transaction_details
|
|
35
|
+
? new TransactionDetailsPreview(subscription.recurring_transaction_details)
|
|
36
|
+
: null;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TaxRatesUsed, TransactionTotals, TransactionLineItemPreview } from '../index';
|
|
2
|
+
export class TransactionDetailsPreview {
|
|
3
|
+
constructor(transactionDetailsPreview) {
|
|
4
|
+
this.taxRatesUsed = transactionDetailsPreview.tax_rates_used.map((tax_rates_used) => new TaxRatesUsed(tax_rates_used));
|
|
5
|
+
this.totals = new TransactionTotals(transactionDetailsPreview.totals);
|
|
6
|
+
this.lineItems = transactionDetailsPreview.line_items.map((line_item) => new TransactionLineItemPreview(line_item));
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UnitTotals, Totals, Product } from '../index';
|
|
2
|
+
export class TransactionLineItemPreview {
|
|
3
|
+
constructor(transactionLineItemPreview) {
|
|
4
|
+
this.priceId = transactionLineItemPreview.price_id;
|
|
5
|
+
this.quantity = transactionLineItemPreview.quantity;
|
|
6
|
+
this.taxRate = transactionLineItemPreview.tax_rate;
|
|
7
|
+
this.unitTotals = new UnitTotals(transactionLineItemPreview.unit_totals);
|
|
8
|
+
this.totals = new Totals(transactionLineItemPreview.totals);
|
|
9
|
+
this.product = new Product(transactionLineItemPreview.product);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AdjustmentTotalsBreakdown } from '../index';
|
|
2
|
+
export class AdjustmentTotals {
|
|
3
|
+
constructor(adjustmentTotals) {
|
|
4
|
+
this.subtotal = adjustmentTotals.subtotal;
|
|
5
|
+
this.tax = adjustmentTotals.tax;
|
|
6
|
+
this.total = adjustmentTotals.total;
|
|
7
|
+
this.fee = adjustmentTotals.fee;
|
|
8
|
+
this.earnings = adjustmentTotals.earnings;
|
|
9
|
+
this.breakdown = adjustmentTotals.breakdown ? new AdjustmentTotalsBreakdown(adjustmentTotals.breakdown) : null;
|
|
10
|
+
this.currencyCode = adjustmentTotals.currency_code;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AdjustmentItemTotals, TransactionProration } from '../index';
|
|
2
|
+
export class TransactionAdjustmentItem {
|
|
3
|
+
constructor(transactionAdjustmentItem) {
|
|
4
|
+
this.id = transactionAdjustmentItem.id ? transactionAdjustmentItem.id : null;
|
|
5
|
+
this.itemId = transactionAdjustmentItem.item_id;
|
|
6
|
+
this.type = transactionAdjustmentItem.type;
|
|
7
|
+
this.amount = transactionAdjustmentItem.amount ? transactionAdjustmentItem.amount : null;
|
|
8
|
+
this.proration = transactionAdjustmentItem.proration
|
|
9
|
+
? new TransactionProration(transactionAdjustmentItem.proration)
|
|
10
|
+
: null;
|
|
11
|
+
this.totals = transactionAdjustmentItem.totals ? new AdjustmentItemTotals(transactionAdjustmentItem.totals) : null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TransactionAdjustmentItem, TotalAdjustments, PayoutTotalsAdjustment } from '../index';
|
|
2
|
+
export class TransactionAdjustment {
|
|
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 TransactionAdjustmentItem(item));
|
|
14
|
+
this.totals = adjustment.totals ? new TotalAdjustments(adjustment.totals) : null;
|
|
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
|
+
}
|