@polar-sh/sdk 0.25.1 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +300 -19
- package/dist/commonjs/funcs/advertisementsGet.d.ts +2 -1
- package/dist/commonjs/funcs/advertisementsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/advertisementsGet.js +10 -6
- package/dist/commonjs/funcs/advertisementsGet.js.map +1 -1
- package/dist/commonjs/funcs/advertisementsList.d.ts +2 -1
- package/dist/commonjs/funcs/advertisementsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/advertisementsList.js +18 -6
- package/dist/commonjs/funcs/advertisementsList.js.map +1 -1
- package/dist/commonjs/funcs/benefitsCreate.d.ts +2 -1
- package/dist/commonjs/funcs/benefitsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/benefitsCreate.js +10 -6
- package/dist/commonjs/funcs/benefitsCreate.js.map +1 -1
- package/dist/commonjs/funcs/benefitsDelete.d.ts +2 -1
- package/dist/commonjs/funcs/benefitsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/benefitsDelete.js +10 -6
- package/dist/commonjs/funcs/benefitsDelete.js.map +1 -1
- package/dist/commonjs/funcs/benefitsGet.d.ts +2 -1
- package/dist/commonjs/funcs/benefitsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/benefitsGet.js +10 -6
- package/dist/commonjs/funcs/benefitsGet.js.map +1 -1
- package/dist/commonjs/funcs/benefitsGrants.d.ts +2 -1
- package/dist/commonjs/funcs/benefitsGrants.d.ts.map +1 -1
- package/dist/commonjs/funcs/benefitsGrants.js +18 -6
- package/dist/commonjs/funcs/benefitsGrants.js.map +1 -1
- package/dist/commonjs/funcs/benefitsList.d.ts +2 -1
- package/dist/commonjs/funcs/benefitsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/benefitsList.js +18 -6
- package/dist/commonjs/funcs/benefitsList.js.map +1 -1
- package/dist/commonjs/funcs/benefitsUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/benefitsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/benefitsUpdate.js +10 -6
- package/dist/commonjs/funcs/benefitsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksCreate.d.ts +3 -2
- package/dist/commonjs/funcs/checkoutLinksCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksCreate.js +12 -8
- package/dist/commonjs/funcs/checkoutLinksCreate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksDelete.d.ts +2 -1
- package/dist/commonjs/funcs/checkoutLinksDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksDelete.js +10 -6
- package/dist/commonjs/funcs/checkoutLinksDelete.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksGet.d.ts +2 -1
- package/dist/commonjs/funcs/checkoutLinksGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksGet.js +10 -6
- package/dist/commonjs/funcs/checkoutLinksGet.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksList.d.ts +2 -1
- package/dist/commonjs/funcs/checkoutLinksList.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksList.js +18 -6
- package/dist/commonjs/funcs/checkoutLinksList.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/checkoutLinksUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksUpdate.js +10 -6
- package/dist/commonjs/funcs/checkoutLinksUpdate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientConfirm.d.ts +2 -1
- package/dist/commonjs/funcs/checkoutsClientConfirm.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientConfirm.js +10 -6
- package/dist/commonjs/funcs/checkoutsClientConfirm.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientGet.d.ts +2 -1
- package/dist/commonjs/funcs/checkoutsClientGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientGet.js +10 -6
- package/dist/commonjs/funcs/checkoutsClientGet.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/checkoutsClientUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientUpdate.js +10 -6
- package/dist/commonjs/funcs/checkoutsClientUpdate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsCreate.d.ts +2 -1
- package/dist/commonjs/funcs/checkoutsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutsCreate.js +10 -6
- package/dist/commonjs/funcs/checkoutsCreate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsGet.d.ts +2 -1
- package/dist/commonjs/funcs/checkoutsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutsGet.js +10 -6
- package/dist/commonjs/funcs/checkoutsGet.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsList.d.ts +2 -1
- package/dist/commonjs/funcs/checkoutsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutsList.js +18 -6
- package/dist/commonjs/funcs/checkoutsList.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/checkoutsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutsUpdate.js +10 -6
- package/dist/commonjs/funcs/checkoutsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsCreate.d.ts +2 -1
- package/dist/commonjs/funcs/customFieldsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customFieldsCreate.js +10 -6
- package/dist/commonjs/funcs/customFieldsCreate.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsDelete.d.ts +2 -1
- package/dist/commonjs/funcs/customFieldsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/customFieldsDelete.js +10 -6
- package/dist/commonjs/funcs/customFieldsDelete.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsGet.d.ts +2 -1
- package/dist/commonjs/funcs/customFieldsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customFieldsGet.js +10 -6
- package/dist/commonjs/funcs/customFieldsGet.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsList.d.ts +2 -1
- package/dist/commonjs/funcs/customFieldsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/customFieldsList.js +18 -6
- package/dist/commonjs/funcs/customFieldsList.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/customFieldsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customFieldsUpdate.js +10 -6
- package/dist/commonjs/funcs/customFieldsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.js +10 -6
- package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsList.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsList.js +18 -6
- package/dist/commonjs/funcs/customerPortalBenefitGrantsList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.js +10 -6
- package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersGet.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalCustomersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersGet.js +10 -6
- package/dist/commonjs/funcs/customerPortalCustomersGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesGet.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesGet.js +10 -6
- package/dist/commonjs/funcs/customerPortalDownloadablesGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesList.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesList.js +18 -6
- package/dist/commonjs/funcs/customerPortalDownloadablesList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.js +10 -6
- package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.js +10 -6
- package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysGet.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysGet.js +10 -6
- package/dist/commonjs/funcs/customerPortalLicenseKeysGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysList.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysList.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysList.js +18 -6
- package/dist/commonjs/funcs/customerPortalLicenseKeysList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.js +10 -6
- package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGet.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalOrdersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGet.js +10 -6
- package/dist/commonjs/funcs/customerPortalOrdersGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersInvoice.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalOrdersInvoice.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersInvoice.js +10 -6
- package/dist/commonjs/funcs/customerPortalOrdersInvoice.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersList.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalOrdersList.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersList.js +18 -6
- package/dist/commonjs/funcs/customerPortalOrdersList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrganizationsGet.d.ts +3 -2
- package/dist/commonjs/funcs/customerPortalOrganizationsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrganizationsGet.js +12 -8
- package/dist/commonjs/funcs/customerPortalOrganizationsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.js +10 -6
- package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsGet.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsGet.js +10 -6
- package/dist/commonjs/funcs/customerPortalSubscriptionsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsList.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsList.js +18 -6
- package/dist/commonjs/funcs/customerPortalSubscriptionsList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.js +10 -6
- package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerSessionsCreate.d.ts +2 -1
- package/dist/commonjs/funcs/customerSessionsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerSessionsCreate.js +10 -6
- package/dist/commonjs/funcs/customerSessionsCreate.js.map +1 -1
- package/dist/commonjs/funcs/customersCreate.d.ts +2 -1
- package/dist/commonjs/funcs/customersCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersCreate.js +10 -6
- package/dist/commonjs/funcs/customersCreate.js.map +1 -1
- package/dist/commonjs/funcs/customersDelete.d.ts +2 -1
- package/dist/commonjs/funcs/customersDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersDelete.js +10 -6
- package/dist/commonjs/funcs/customersDelete.js.map +1 -1
- package/dist/commonjs/funcs/customersGet.d.ts +2 -1
- package/dist/commonjs/funcs/customersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersGet.js +10 -6
- package/dist/commonjs/funcs/customersGet.js.map +1 -1
- package/dist/commonjs/funcs/customersList.d.ts +2 -1
- package/dist/commonjs/funcs/customersList.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersList.js +18 -6
- package/dist/commonjs/funcs/customersList.js.map +1 -1
- package/dist/commonjs/funcs/customersUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/customersUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersUpdate.js +10 -6
- package/dist/commonjs/funcs/customersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/discountsCreate.d.ts +2 -1
- package/dist/commonjs/funcs/discountsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/discountsCreate.js +10 -6
- package/dist/commonjs/funcs/discountsCreate.js.map +1 -1
- package/dist/commonjs/funcs/discountsDelete.d.ts +2 -1
- package/dist/commonjs/funcs/discountsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/discountsDelete.js +10 -6
- package/dist/commonjs/funcs/discountsDelete.js.map +1 -1
- package/dist/commonjs/funcs/discountsGet.d.ts +2 -1
- package/dist/commonjs/funcs/discountsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/discountsGet.js +10 -6
- package/dist/commonjs/funcs/discountsGet.js.map +1 -1
- package/dist/commonjs/funcs/discountsList.d.ts +2 -1
- package/dist/commonjs/funcs/discountsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/discountsList.js +18 -6
- package/dist/commonjs/funcs/discountsList.js.map +1 -1
- package/dist/commonjs/funcs/discountsUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/discountsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/discountsUpdate.js +10 -6
- package/dist/commonjs/funcs/discountsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/eventsGet.d.ts +2 -1
- package/dist/commonjs/funcs/eventsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsGet.js +10 -6
- package/dist/commonjs/funcs/eventsGet.js.map +1 -1
- package/dist/commonjs/funcs/eventsIngest.d.ts +2 -1
- package/dist/commonjs/funcs/eventsIngest.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsIngest.js +10 -6
- package/dist/commonjs/funcs/eventsIngest.js.map +1 -1
- package/dist/commonjs/funcs/eventsList.d.ts +2 -1
- package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsList.js +18 -6
- package/dist/commonjs/funcs/eventsList.js.map +1 -1
- package/dist/commonjs/funcs/externalOrganizationsList.d.ts +2 -1
- package/dist/commonjs/funcs/externalOrganizationsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/externalOrganizationsList.js +18 -6
- package/dist/commonjs/funcs/externalOrganizationsList.js.map +1 -1
- package/dist/commonjs/funcs/filesCreate.d.ts +2 -1
- package/dist/commonjs/funcs/filesCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/filesCreate.js +10 -6
- package/dist/commonjs/funcs/filesCreate.js.map +1 -1
- package/dist/commonjs/funcs/filesDelete.d.ts +2 -1
- package/dist/commonjs/funcs/filesDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/filesDelete.js +10 -6
- package/dist/commonjs/funcs/filesDelete.js.map +1 -1
- package/dist/commonjs/funcs/filesList.d.ts +2 -1
- package/dist/commonjs/funcs/filesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/filesList.js +18 -6
- package/dist/commonjs/funcs/filesList.js.map +1 -1
- package/dist/commonjs/funcs/filesUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/filesUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/filesUpdate.js +10 -6
- package/dist/commonjs/funcs/filesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/filesUploaded.d.ts +2 -1
- package/dist/commonjs/funcs/filesUploaded.d.ts.map +1 -1
- package/dist/commonjs/funcs/filesUploaded.js +10 -6
- package/dist/commonjs/funcs/filesUploaded.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysGet.d.ts +2 -1
- package/dist/commonjs/funcs/licenseKeysGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/licenseKeysGet.js +10 -6
- package/dist/commonjs/funcs/licenseKeysGet.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysGetActivation.d.ts +2 -1
- package/dist/commonjs/funcs/licenseKeysGetActivation.d.ts.map +1 -1
- package/dist/commonjs/funcs/licenseKeysGetActivation.js +10 -6
- package/dist/commonjs/funcs/licenseKeysGetActivation.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysList.d.ts +2 -1
- package/dist/commonjs/funcs/licenseKeysList.d.ts.map +1 -1
- package/dist/commonjs/funcs/licenseKeysList.js +18 -6
- package/dist/commonjs/funcs/licenseKeysList.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/licenseKeysUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/licenseKeysUpdate.js +10 -6
- package/dist/commonjs/funcs/licenseKeysUpdate.js.map +1 -1
- package/dist/commonjs/funcs/metersCreate.d.ts +2 -1
- package/dist/commonjs/funcs/metersCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/metersCreate.js +10 -6
- package/dist/commonjs/funcs/metersCreate.js.map +1 -1
- package/dist/commonjs/funcs/metersEvents.d.ts +2 -1
- package/dist/commonjs/funcs/metersEvents.d.ts.map +1 -1
- package/dist/commonjs/funcs/metersEvents.js +18 -6
- package/dist/commonjs/funcs/metersEvents.js.map +1 -1
- package/dist/commonjs/funcs/metersGet.d.ts +2 -1
- package/dist/commonjs/funcs/metersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/metersGet.js +10 -6
- package/dist/commonjs/funcs/metersGet.js.map +1 -1
- package/dist/commonjs/funcs/metersList.d.ts +2 -1
- package/dist/commonjs/funcs/metersList.d.ts.map +1 -1
- package/dist/commonjs/funcs/metersList.js +18 -6
- package/dist/commonjs/funcs/metersList.js.map +1 -1
- package/dist/commonjs/funcs/metersQuantities.d.ts +2 -1
- package/dist/commonjs/funcs/metersQuantities.d.ts.map +1 -1
- package/dist/commonjs/funcs/metersQuantities.js +10 -6
- package/dist/commonjs/funcs/metersQuantities.js.map +1 -1
- package/dist/commonjs/funcs/metersUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/metersUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/metersUpdate.js +10 -6
- package/dist/commonjs/funcs/metersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/metricsGet.d.ts +2 -1
- package/dist/commonjs/funcs/metricsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/metricsGet.js +11 -7
- package/dist/commonjs/funcs/metricsGet.js.map +1 -1
- package/dist/commonjs/funcs/metricsLimits.d.ts +2 -1
- package/dist/commonjs/funcs/metricsLimits.d.ts.map +1 -1
- package/dist/commonjs/funcs/metricsLimits.js +9 -5
- package/dist/commonjs/funcs/metricsLimits.js.map +1 -1
- package/dist/commonjs/funcs/oauth2Authorize.d.ts +2 -1
- package/dist/commonjs/funcs/oauth2Authorize.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauth2Authorize.js +9 -5
- package/dist/commonjs/funcs/oauth2Authorize.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsCreate.d.ts +2 -1
- package/dist/commonjs/funcs/oauth2ClientsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsCreate.js +10 -6
- package/dist/commonjs/funcs/oauth2ClientsCreate.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsDelete.d.ts +2 -1
- package/dist/commonjs/funcs/oauth2ClientsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsDelete.js +10 -6
- package/dist/commonjs/funcs/oauth2ClientsDelete.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsGet.d.ts +2 -1
- package/dist/commonjs/funcs/oauth2ClientsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsGet.js +10 -6
- package/dist/commonjs/funcs/oauth2ClientsGet.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsList.d.ts +2 -1
- package/dist/commonjs/funcs/oauth2ClientsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsList.js +18 -6
- package/dist/commonjs/funcs/oauth2ClientsList.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/oauth2ClientsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsUpdate.js +10 -6
- package/dist/commonjs/funcs/oauth2ClientsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/oauth2Introspect.d.ts +2 -1
- package/dist/commonjs/funcs/oauth2Introspect.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauth2Introspect.js +10 -6
- package/dist/commonjs/funcs/oauth2Introspect.js.map +1 -1
- package/dist/commonjs/funcs/oauth2Revoke.d.ts +2 -1
- package/dist/commonjs/funcs/oauth2Revoke.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauth2Revoke.js +10 -6
- package/dist/commonjs/funcs/oauth2Revoke.js.map +1 -1
- package/dist/commonjs/funcs/oauth2Token.d.ts +2 -1
- package/dist/commonjs/funcs/oauth2Token.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauth2Token.js +10 -6
- package/dist/commonjs/funcs/oauth2Token.js.map +1 -1
- package/dist/commonjs/funcs/oauth2Userinfo.d.ts +2 -1
- package/dist/commonjs/funcs/oauth2Userinfo.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauth2Userinfo.js +9 -5
- package/dist/commonjs/funcs/oauth2Userinfo.js.map +1 -1
- package/dist/commonjs/funcs/ordersGet.d.ts +2 -1
- package/dist/commonjs/funcs/ordersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/ordersGet.js +10 -6
- package/dist/commonjs/funcs/ordersGet.js.map +1 -1
- package/dist/commonjs/funcs/ordersInvoice.d.ts +2 -1
- package/dist/commonjs/funcs/ordersInvoice.d.ts.map +1 -1
- package/dist/commonjs/funcs/ordersInvoice.js +10 -6
- package/dist/commonjs/funcs/ordersInvoice.js.map +1 -1
- package/dist/commonjs/funcs/ordersList.d.ts +2 -1
- package/dist/commonjs/funcs/ordersList.d.ts.map +1 -1
- package/dist/commonjs/funcs/ordersList.js +18 -6
- package/dist/commonjs/funcs/ordersList.js.map +1 -1
- package/dist/commonjs/funcs/organizationsCreate.d.ts +2 -1
- package/dist/commonjs/funcs/organizationsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsCreate.js +10 -6
- package/dist/commonjs/funcs/organizationsCreate.js.map +1 -1
- package/dist/commonjs/funcs/organizationsGet.d.ts +2 -1
- package/dist/commonjs/funcs/organizationsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsGet.js +10 -6
- package/dist/commonjs/funcs/organizationsGet.js.map +1 -1
- package/dist/commonjs/funcs/organizationsList.d.ts +2 -1
- package/dist/commonjs/funcs/organizationsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsList.js +18 -6
- package/dist/commonjs/funcs/organizationsList.js.map +1 -1
- package/dist/commonjs/funcs/organizationsUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/organizationsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsUpdate.js +10 -6
- package/dist/commonjs/funcs/organizationsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/productsCreate.d.ts +2 -1
- package/dist/commonjs/funcs/productsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/productsCreate.js +10 -6
- package/dist/commonjs/funcs/productsCreate.js.map +1 -1
- package/dist/commonjs/funcs/productsGet.d.ts +2 -1
- package/dist/commonjs/funcs/productsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/productsGet.js +10 -6
- package/dist/commonjs/funcs/productsGet.js.map +1 -1
- package/dist/commonjs/funcs/productsList.d.ts +2 -1
- package/dist/commonjs/funcs/productsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/productsList.js +18 -6
- package/dist/commonjs/funcs/productsList.js.map +1 -1
- package/dist/commonjs/funcs/productsUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/productsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/productsUpdate.js +10 -6
- package/dist/commonjs/funcs/productsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/productsUpdateBenefits.d.ts +2 -1
- package/dist/commonjs/funcs/productsUpdateBenefits.d.ts.map +1 -1
- package/dist/commonjs/funcs/productsUpdateBenefits.js +10 -6
- package/dist/commonjs/funcs/productsUpdateBenefits.js.map +1 -1
- package/dist/commonjs/funcs/refundsCreate.d.ts +2 -1
- package/dist/commonjs/funcs/refundsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/refundsCreate.js +10 -6
- package/dist/commonjs/funcs/refundsCreate.js.map +1 -1
- package/dist/commonjs/funcs/refundsList.d.ts +2 -1
- package/dist/commonjs/funcs/refundsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/refundsList.js +18 -6
- package/dist/commonjs/funcs/refundsList.js.map +1 -1
- package/dist/commonjs/funcs/repositoriesGet.d.ts +2 -1
- package/dist/commonjs/funcs/repositoriesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/repositoriesGet.js +10 -6
- package/dist/commonjs/funcs/repositoriesGet.js.map +1 -1
- package/dist/commonjs/funcs/repositoriesList.d.ts +2 -1
- package/dist/commonjs/funcs/repositoriesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/repositoriesList.js +18 -6
- package/dist/commonjs/funcs/repositoriesList.js.map +1 -1
- package/dist/commonjs/funcs/repositoriesUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/repositoriesUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/repositoriesUpdate.js +10 -6
- package/dist/commonjs/funcs/repositoriesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsExport.d.ts +2 -1
- package/dist/commonjs/funcs/subscriptionsExport.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsExport.js +10 -6
- package/dist/commonjs/funcs/subscriptionsExport.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsGet.d.ts +2 -1
- package/dist/commonjs/funcs/subscriptionsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsGet.js +10 -6
- package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsList.d.ts +2 -1
- package/dist/commonjs/funcs/subscriptionsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsList.js +18 -6
- package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsRevoke.d.ts +2 -1
- package/dist/commonjs/funcs/subscriptionsRevoke.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsRevoke.js +10 -6
- package/dist/commonjs/funcs/subscriptionsRevoke.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsUpdate.d.ts +2 -1
- package/dist/commonjs/funcs/subscriptionsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsUpdate.js +10 -6
- package/dist/commonjs/funcs/subscriptionsUpdate.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/components/checkout.d.ts +35 -2
- package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkout.js +41 -3
- package/dist/commonjs/models/components/checkout.js.map +1 -1
- package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts +8 -1
- package/dist/commonjs/models/components/checkoutconfirmstripe.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutconfirmstripe.js +4 -0
- package/dist/commonjs/models/components/checkoutconfirmstripe.js.map +1 -1
- package/dist/commonjs/models/components/checkoutcreate.d.ts +3 -2
- package/dist/commonjs/models/components/checkoutcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutcreate.js +3 -0
- package/dist/commonjs/models/components/checkoutcreate.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlink.d.ts +47 -12
- package/dist/commonjs/models/components/checkoutlink.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlink.js +53 -11
- package/dist/commonjs/models/components/checkoutlink.js.map +1 -1
- package/dist/{esm/models/components/checkoutlinkproductcreate.d.ts → commonjs/models/components/checkoutlinkcreateproduct.d.ts} +34 -30
- package/dist/commonjs/models/components/checkoutlinkcreateproduct.d.ts.map +1 -0
- package/dist/commonjs/models/components/{checkoutlinkproductcreate.js → checkoutlinkcreateproduct.js} +32 -32
- package/dist/commonjs/models/components/{checkoutlinkproductcreate.js.map → checkoutlinkcreateproduct.js.map} +1 -1
- package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts +102 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -0
- package/dist/commonjs/models/components/{checkoutlinkpricecreate.js → checkoutlinkcreateproductprice.js} +32 -32
- package/dist/commonjs/models/components/checkoutlinkcreateproductprice.js.map +1 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts +101 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproducts.d.ts.map +1 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproducts.js +111 -0
- package/dist/commonjs/models/components/checkoutlinkcreateproducts.js.map +1 -0
- package/dist/commonjs/models/components/checkoutlinkproduct.d.ts +31 -3
- package/dist/commonjs/models/components/checkoutlinkproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkproduct.js +44 -3
- package/dist/commonjs/models/components/checkoutlinkproduct.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlinksortproperty.d.ts +18 -0
- package/dist/commonjs/models/components/checkoutlinksortproperty.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinksortproperty.js +6 -0
- package/dist/commonjs/models/components/checkoutlinksortproperty.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkupdate.d.ts +5 -2
- package/dist/commonjs/models/components/checkoutlinkupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkupdate.js +2 -4
- package/dist/commonjs/models/components/checkoutlinkupdate.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpricecreate.d.ts +2 -0
- package/dist/commonjs/models/components/checkoutpricecreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpricecreate.js.map +1 -1
- package/dist/commonjs/models/components/checkoutproduct.d.ts +31 -3
- package/dist/commonjs/models/components/checkoutproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutproduct.js +44 -3
- package/dist/commonjs/models/components/checkoutproduct.js.map +1 -1
- package/dist/commonjs/models/components/checkoutproductcreate.d.ts +2 -0
- package/dist/commonjs/models/components/checkoutproductcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutproductcreate.js.map +1 -1
- package/dist/commonjs/models/components/checkoutproductscreate.d.ts +196 -0
- package/dist/commonjs/models/components/checkoutproductscreate.d.ts.map +1 -0
- package/dist/commonjs/models/components/checkoutproductscreate.js +214 -0
- package/dist/commonjs/models/components/checkoutproductscreate.js.map +1 -0
- package/dist/commonjs/models/components/checkoutpublic.d.ts +35 -2
- package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.js +41 -3
- package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +35 -2
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js +41 -3
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/commonjs/models/components/checkoutupdate.d.ts +8 -1
- package/dist/commonjs/models/components/checkoutupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutupdate.js +4 -0
- package/dist/commonjs/models/components/checkoutupdate.js.map +1 -1
- package/dist/commonjs/models/components/checkoutupdatepublic.d.ts +8 -1
- package/dist/commonjs/models/components/checkoutupdatepublic.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutupdatepublic.js +4 -0
- package/dist/commonjs/models/components/checkoutupdatepublic.js.map +1 -1
- package/dist/commonjs/models/components/customerorder.d.ts +24 -2
- package/dist/commonjs/models/components/customerorder.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerorder.js +39 -3
- package/dist/commonjs/models/components/customerorder.js.map +1 -1
- package/dist/commonjs/models/components/customerorderproduct.d.ts +31 -3
- package/dist/commonjs/models/components/customerorderproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerorderproduct.js +44 -3
- package/dist/commonjs/models/components/customerorderproduct.js.map +1 -1
- package/dist/commonjs/models/components/customerorganization.d.ts +36 -0
- package/dist/commonjs/models/components/customerorganization.d.ts.map +1 -0
- package/dist/commonjs/models/components/customerorganization.js +63 -0
- package/dist/commonjs/models/components/customerorganization.js.map +1 -0
- package/dist/commonjs/models/components/customerproduct.d.ts +116 -0
- package/dist/commonjs/models/components/customerproduct.d.ts.map +1 -0
- package/dist/commonjs/models/components/customerproduct.js +140 -0
- package/dist/commonjs/models/components/customerproduct.js.map +1 -0
- package/dist/commonjs/models/components/customersubscription.d.ts +24 -2
- package/dist/commonjs/models/components/customersubscription.d.ts.map +1 -1
- package/dist/commonjs/models/components/customersubscription.js +39 -3
- package/dist/commonjs/models/components/customersubscription.js.map +1 -1
- package/dist/commonjs/models/components/customersubscriptionproduct.d.ts +31 -3
- package/dist/commonjs/models/components/customersubscriptionproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/customersubscriptionproduct.js +44 -3
- package/dist/commonjs/models/components/customersubscriptionproduct.js.map +1 -1
- package/dist/commonjs/models/components/customersubscriptionupdate.d.ts +3 -3
- package/dist/commonjs/models/components/customersubscriptionupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/customersubscriptionupdate.js +3 -3
- package/dist/commonjs/models/components/customersubscriptionupdate.js.map +1 -1
- package/dist/commonjs/models/components/customersubscriptionupdateproduct.d.ts +32 -0
- package/dist/commonjs/models/components/customersubscriptionupdateproduct.d.ts.map +1 -0
- package/dist/commonjs/models/components/{customersubscriptionupdateprice.js → customersubscriptionupdateproduct.js} +21 -21
- package/dist/commonjs/models/components/customersubscriptionupdateproduct.js.map +1 -0
- package/dist/commonjs/models/components/discountproduct.d.ts +7 -1
- package/dist/commonjs/models/components/discountproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountproduct.js +5 -0
- package/dist/commonjs/models/components/discountproduct.js.map +1 -1
- package/dist/commonjs/models/components/legacyrecurringproductprice.d.ts +40 -0
- package/dist/commonjs/models/components/legacyrecurringproductprice.d.ts.map +1 -0
- package/dist/commonjs/models/components/legacyrecurringproductprice.js +78 -0
- package/dist/commonjs/models/components/legacyrecurringproductprice.js.map +1 -0
- package/dist/commonjs/models/components/{productpricerecurringcustom.d.ts → legacyrecurringproductpricecustom.d.ts} +27 -21
- package/dist/commonjs/models/components/legacyrecurringproductpricecustom.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpricerecurringcustom.js → legacyrecurringproductpricecustom.js} +25 -23
- package/dist/commonjs/models/components/legacyrecurringproductpricecustom.js.map +1 -0
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts +81 -0
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpricerecurringfixed.js → legacyrecurringproductpricefixed.js} +25 -23
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.js.map +1 -0
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts +71 -0
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpricerecurringfree.js → legacyrecurringproductpricefree.js} +19 -17
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.js.map +1 -0
- package/dist/commonjs/models/components/order.d.ts +24 -2
- package/dist/commonjs/models/components/order.d.ts.map +1 -1
- package/dist/commonjs/models/components/order.js +39 -3
- package/dist/commonjs/models/components/order.js.map +1 -1
- package/dist/commonjs/models/components/orderproduct.d.ts +7 -1
- package/dist/commonjs/models/components/orderproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/orderproduct.js +5 -0
- package/dist/commonjs/models/components/orderproduct.js.map +1 -1
- package/dist/commonjs/models/components/product.d.ts +31 -3
- package/dist/commonjs/models/components/product.d.ts.map +1 -1
- package/dist/commonjs/models/components/product.js +45 -3
- package/dist/commonjs/models/components/product.js.map +1 -1
- package/dist/commonjs/models/components/productbillingtype.d.ts +28 -0
- package/dist/commonjs/models/components/productbillingtype.d.ts.map +1 -0
- package/dist/commonjs/models/components/productbillingtype.js +50 -0
- package/dist/commonjs/models/components/productbillingtype.js.map +1 -0
- package/dist/commonjs/models/components/productcreate.d.ts +109 -4
- package/dist/commonjs/models/components/productcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/productcreate.js +103 -9
- package/dist/commonjs/models/components/productcreate.js.map +1 -1
- package/dist/commonjs/models/components/productprice.d.ts +5 -4
- package/dist/commonjs/models/components/productprice.d.ts.map +1 -1
- package/dist/commonjs/models/components/productprice.js +9 -6
- package/dist/commonjs/models/components/productprice.js.map +1 -1
- package/dist/commonjs/models/components/productpricecustom.d.ts +86 -0
- package/dist/commonjs/models/components/productpricecustom.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpriceonetimecustom.js → productpricecustom.js} +25 -19
- package/dist/commonjs/models/components/productpricecustom.js.map +1 -0
- package/dist/commonjs/models/components/productpricecustomcreate.d.ts +52 -0
- package/dist/commonjs/models/components/productpricecustomcreate.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpriceonetimecustomcreate.js → productpricecustomcreate.js} +17 -19
- package/dist/commonjs/models/components/productpricecustomcreate.js.map +1 -0
- package/dist/commonjs/models/components/productpricefixed.d.ts +76 -0
- package/dist/commonjs/models/components/productpricefixed.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpriceonetimefixed.js → productpricefixed.js} +25 -19
- package/dist/commonjs/models/components/productpricefixed.js.map +1 -0
- package/dist/commonjs/models/components/productpricefixedcreate.d.ts +42 -0
- package/dist/commonjs/models/components/productpricefixedcreate.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpriceonetimefixedcreate.js → productpricefixedcreate.js} +17 -19
- package/dist/commonjs/models/components/productpricefixedcreate.js.map +1 -0
- package/dist/commonjs/models/components/productpricefree.d.ts +66 -0
- package/dist/commonjs/models/components/productpricefree.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpriceonetimefree.js → productpricefree.js} +25 -19
- package/dist/commonjs/models/components/productpricefree.js.map +1 -0
- package/dist/commonjs/models/components/productpricefreecreate.d.ts +32 -0
- package/dist/commonjs/models/components/productpricefreecreate.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpriceonetimefreecreate.js → productpricefreecreate.js} +17 -19
- package/dist/commonjs/models/components/productpricefreecreate.js.map +1 -0
- package/dist/commonjs/models/components/productsortproperty.d.ts +0 -6
- package/dist/commonjs/models/components/productsortproperty.d.ts.map +1 -1
- package/dist/commonjs/models/components/productsortproperty.js +0 -2
- package/dist/commonjs/models/components/productsortproperty.js.map +1 -1
- package/dist/commonjs/models/components/productupdate.d.ts +13 -9
- package/dist/commonjs/models/components/productupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/productupdate.js +22 -25
- package/dist/commonjs/models/components/productupdate.js.map +1 -1
- package/dist/commonjs/models/components/subscription.d.ts +25 -3
- package/dist/commonjs/models/components/subscription.d.ts.map +1 -1
- package/dist/commonjs/models/components/subscription.js +41 -4
- package/dist/commonjs/models/components/subscription.js.map +1 -1
- package/dist/commonjs/models/components/subscriptionupdate.d.ts +3 -3
- package/dist/commonjs/models/components/subscriptionupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/subscriptionupdate.js +3 -3
- package/dist/commonjs/models/components/subscriptionupdate.js.map +1 -1
- package/dist/commonjs/models/components/subscriptionupdateproduct.d.ts +38 -0
- package/dist/commonjs/models/components/subscriptionupdateproduct.d.ts.map +1 -0
- package/dist/commonjs/models/components/{subscriptionupdateprice.js → subscriptionupdateproduct.js} +21 -21
- package/dist/commonjs/models/components/subscriptionupdateproduct.js.map +1 -0
- package/dist/commonjs/models/operations/checkoutlinkscreate.d.ts +28 -0
- package/dist/commonjs/models/operations/checkoutlinkscreate.d.ts.map +1 -0
- package/dist/commonjs/models/operations/checkoutlinkscreate.js +66 -0
- package/dist/commonjs/models/operations/checkoutlinkscreate.js.map +1 -0
- package/dist/commonjs/models/operations/customerportalorderslist.d.ts +13 -13
- package/dist/commonjs/models/operations/customerportalorderslist.d.ts.map +1 -1
- package/dist/commonjs/models/operations/customerportalorderslist.js +16 -18
- package/dist/commonjs/models/operations/customerportalorderslist.js.map +1 -1
- package/dist/commonjs/models/operations/metricsget.d.ts +18 -18
- package/dist/commonjs/models/operations/metricsget.d.ts.map +1 -1
- package/dist/commonjs/models/operations/metricsget.js +29 -29
- package/dist/commonjs/models/operations/metricsget.js.map +1 -1
- package/dist/commonjs/sdk/checkoutlinks.d.ts +2 -2
- package/dist/commonjs/sdk/checkoutlinks.d.ts.map +1 -1
- package/dist/commonjs/sdk/checkoutlinks.js.map +1 -1
- package/dist/commonjs/sdk/polarorganizations.d.ts +2 -2
- package/dist/commonjs/sdk/polarorganizations.d.ts.map +1 -1
- package/dist/commonjs/types/async.d.ts +23 -0
- package/dist/commonjs/types/async.d.ts.map +1 -0
- package/dist/commonjs/types/async.js +44 -0
- package/dist/commonjs/types/async.js.map +1 -0
- package/dist/esm/funcs/advertisementsGet.d.ts +2 -1
- package/dist/esm/funcs/advertisementsGet.d.ts.map +1 -1
- package/dist/esm/funcs/advertisementsGet.js +10 -6
- package/dist/esm/funcs/advertisementsGet.js.map +1 -1
- package/dist/esm/funcs/advertisementsList.d.ts +2 -1
- package/dist/esm/funcs/advertisementsList.d.ts.map +1 -1
- package/dist/esm/funcs/advertisementsList.js +18 -6
- package/dist/esm/funcs/advertisementsList.js.map +1 -1
- package/dist/esm/funcs/benefitsCreate.d.ts +2 -1
- package/dist/esm/funcs/benefitsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/benefitsCreate.js +10 -6
- package/dist/esm/funcs/benefitsCreate.js.map +1 -1
- package/dist/esm/funcs/benefitsDelete.d.ts +2 -1
- package/dist/esm/funcs/benefitsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/benefitsDelete.js +10 -6
- package/dist/esm/funcs/benefitsDelete.js.map +1 -1
- package/dist/esm/funcs/benefitsGet.d.ts +2 -1
- package/dist/esm/funcs/benefitsGet.d.ts.map +1 -1
- package/dist/esm/funcs/benefitsGet.js +10 -6
- package/dist/esm/funcs/benefitsGet.js.map +1 -1
- package/dist/esm/funcs/benefitsGrants.d.ts +2 -1
- package/dist/esm/funcs/benefitsGrants.d.ts.map +1 -1
- package/dist/esm/funcs/benefitsGrants.js +18 -6
- package/dist/esm/funcs/benefitsGrants.js.map +1 -1
- package/dist/esm/funcs/benefitsList.d.ts +2 -1
- package/dist/esm/funcs/benefitsList.d.ts.map +1 -1
- package/dist/esm/funcs/benefitsList.js +18 -6
- package/dist/esm/funcs/benefitsList.js.map +1 -1
- package/dist/esm/funcs/benefitsUpdate.d.ts +2 -1
- package/dist/esm/funcs/benefitsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/benefitsUpdate.js +10 -6
- package/dist/esm/funcs/benefitsUpdate.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksCreate.d.ts +3 -2
- package/dist/esm/funcs/checkoutLinksCreate.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutLinksCreate.js +12 -8
- package/dist/esm/funcs/checkoutLinksCreate.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksDelete.d.ts +2 -1
- package/dist/esm/funcs/checkoutLinksDelete.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutLinksDelete.js +10 -6
- package/dist/esm/funcs/checkoutLinksDelete.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksGet.d.ts +2 -1
- package/dist/esm/funcs/checkoutLinksGet.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutLinksGet.js +10 -6
- package/dist/esm/funcs/checkoutLinksGet.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksList.d.ts +2 -1
- package/dist/esm/funcs/checkoutLinksList.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutLinksList.js +18 -6
- package/dist/esm/funcs/checkoutLinksList.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksUpdate.d.ts +2 -1
- package/dist/esm/funcs/checkoutLinksUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutLinksUpdate.js +10 -6
- package/dist/esm/funcs/checkoutLinksUpdate.js.map +1 -1
- package/dist/esm/funcs/checkoutsClientConfirm.d.ts +2 -1
- package/dist/esm/funcs/checkoutsClientConfirm.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutsClientConfirm.js +10 -6
- package/dist/esm/funcs/checkoutsClientConfirm.js.map +1 -1
- package/dist/esm/funcs/checkoutsClientGet.d.ts +2 -1
- package/dist/esm/funcs/checkoutsClientGet.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutsClientGet.js +10 -6
- package/dist/esm/funcs/checkoutsClientGet.js.map +1 -1
- package/dist/esm/funcs/checkoutsClientUpdate.d.ts +2 -1
- package/dist/esm/funcs/checkoutsClientUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutsClientUpdate.js +10 -6
- package/dist/esm/funcs/checkoutsClientUpdate.js.map +1 -1
- package/dist/esm/funcs/checkoutsCreate.d.ts +2 -1
- package/dist/esm/funcs/checkoutsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutsCreate.js +10 -6
- package/dist/esm/funcs/checkoutsCreate.js.map +1 -1
- package/dist/esm/funcs/checkoutsGet.d.ts +2 -1
- package/dist/esm/funcs/checkoutsGet.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutsGet.js +10 -6
- package/dist/esm/funcs/checkoutsGet.js.map +1 -1
- package/dist/esm/funcs/checkoutsList.d.ts +2 -1
- package/dist/esm/funcs/checkoutsList.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutsList.js +18 -6
- package/dist/esm/funcs/checkoutsList.js.map +1 -1
- package/dist/esm/funcs/checkoutsUpdate.d.ts +2 -1
- package/dist/esm/funcs/checkoutsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutsUpdate.js +10 -6
- package/dist/esm/funcs/checkoutsUpdate.js.map +1 -1
- package/dist/esm/funcs/customFieldsCreate.d.ts +2 -1
- package/dist/esm/funcs/customFieldsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/customFieldsCreate.js +10 -6
- package/dist/esm/funcs/customFieldsCreate.js.map +1 -1
- package/dist/esm/funcs/customFieldsDelete.d.ts +2 -1
- package/dist/esm/funcs/customFieldsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/customFieldsDelete.js +10 -6
- package/dist/esm/funcs/customFieldsDelete.js.map +1 -1
- package/dist/esm/funcs/customFieldsGet.d.ts +2 -1
- package/dist/esm/funcs/customFieldsGet.d.ts.map +1 -1
- package/dist/esm/funcs/customFieldsGet.js +10 -6
- package/dist/esm/funcs/customFieldsGet.js.map +1 -1
- package/dist/esm/funcs/customFieldsList.d.ts +2 -1
- package/dist/esm/funcs/customFieldsList.d.ts.map +1 -1
- package/dist/esm/funcs/customFieldsList.js +18 -6
- package/dist/esm/funcs/customFieldsList.js.map +1 -1
- package/dist/esm/funcs/customFieldsUpdate.d.ts +2 -1
- package/dist/esm/funcs/customFieldsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/customFieldsUpdate.js +10 -6
- package/dist/esm/funcs/customFieldsUpdate.js.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsGet.d.ts +2 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsGet.js +10 -6
- package/dist/esm/funcs/customerPortalBenefitGrantsGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsList.d.ts +2 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsList.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsList.js +18 -6
- package/dist/esm/funcs/customerPortalBenefitGrantsList.js.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.d.ts +2 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.js +10 -6
- package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.js.map +1 -1
- package/dist/esm/funcs/customerPortalCustomersGet.d.ts +2 -1
- package/dist/esm/funcs/customerPortalCustomersGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalCustomersGet.js +10 -6
- package/dist/esm/funcs/customerPortalCustomersGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalDownloadablesGet.d.ts +2 -1
- package/dist/esm/funcs/customerPortalDownloadablesGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalDownloadablesGet.js +10 -6
- package/dist/esm/funcs/customerPortalDownloadablesGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalDownloadablesList.d.ts +2 -1
- package/dist/esm/funcs/customerPortalDownloadablesList.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalDownloadablesList.js +18 -6
- package/dist/esm/funcs/customerPortalDownloadablesList.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysActivate.d.ts +2 -1
- package/dist/esm/funcs/customerPortalLicenseKeysActivate.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysActivate.js +10 -6
- package/dist/esm/funcs/customerPortalLicenseKeysActivate.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.d.ts +2 -1
- package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.js +10 -6
- package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysGet.d.ts +2 -1
- package/dist/esm/funcs/customerPortalLicenseKeysGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysGet.js +10 -6
- package/dist/esm/funcs/customerPortalLicenseKeysGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysList.d.ts +2 -1
- package/dist/esm/funcs/customerPortalLicenseKeysList.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysList.js +18 -6
- package/dist/esm/funcs/customerPortalLicenseKeysList.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysValidate.d.ts +2 -1
- package/dist/esm/funcs/customerPortalLicenseKeysValidate.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysValidate.js +10 -6
- package/dist/esm/funcs/customerPortalLicenseKeysValidate.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersGet.d.ts +2 -1
- package/dist/esm/funcs/customerPortalOrdersGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersGet.js +10 -6
- package/dist/esm/funcs/customerPortalOrdersGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersInvoice.d.ts +2 -1
- package/dist/esm/funcs/customerPortalOrdersInvoice.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersInvoice.js +10 -6
- package/dist/esm/funcs/customerPortalOrdersInvoice.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersList.d.ts +2 -1
- package/dist/esm/funcs/customerPortalOrdersList.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersList.js +18 -6
- package/dist/esm/funcs/customerPortalOrdersList.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrganizationsGet.d.ts +3 -2
- package/dist/esm/funcs/customerPortalOrganizationsGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalOrganizationsGet.js +12 -8
- package/dist/esm/funcs/customerPortalOrganizationsGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsCancel.d.ts +2 -1
- package/dist/esm/funcs/customerPortalSubscriptionsCancel.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsCancel.js +10 -6
- package/dist/esm/funcs/customerPortalSubscriptionsCancel.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsGet.d.ts +2 -1
- package/dist/esm/funcs/customerPortalSubscriptionsGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsGet.js +10 -6
- package/dist/esm/funcs/customerPortalSubscriptionsGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsList.d.ts +2 -1
- package/dist/esm/funcs/customerPortalSubscriptionsList.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsList.js +18 -6
- package/dist/esm/funcs/customerPortalSubscriptionsList.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsUpdate.d.ts +2 -1
- package/dist/esm/funcs/customerPortalSubscriptionsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsUpdate.js +10 -6
- package/dist/esm/funcs/customerPortalSubscriptionsUpdate.js.map +1 -1
- package/dist/esm/funcs/customerSessionsCreate.d.ts +2 -1
- package/dist/esm/funcs/customerSessionsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/customerSessionsCreate.js +10 -6
- package/dist/esm/funcs/customerSessionsCreate.js.map +1 -1
- package/dist/esm/funcs/customersCreate.d.ts +2 -1
- package/dist/esm/funcs/customersCreate.d.ts.map +1 -1
- package/dist/esm/funcs/customersCreate.js +10 -6
- package/dist/esm/funcs/customersCreate.js.map +1 -1
- package/dist/esm/funcs/customersDelete.d.ts +2 -1
- package/dist/esm/funcs/customersDelete.d.ts.map +1 -1
- package/dist/esm/funcs/customersDelete.js +10 -6
- package/dist/esm/funcs/customersDelete.js.map +1 -1
- package/dist/esm/funcs/customersGet.d.ts +2 -1
- package/dist/esm/funcs/customersGet.d.ts.map +1 -1
- package/dist/esm/funcs/customersGet.js +10 -6
- package/dist/esm/funcs/customersGet.js.map +1 -1
- package/dist/esm/funcs/customersList.d.ts +2 -1
- package/dist/esm/funcs/customersList.d.ts.map +1 -1
- package/dist/esm/funcs/customersList.js +18 -6
- package/dist/esm/funcs/customersList.js.map +1 -1
- package/dist/esm/funcs/customersUpdate.d.ts +2 -1
- package/dist/esm/funcs/customersUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/customersUpdate.js +10 -6
- package/dist/esm/funcs/customersUpdate.js.map +1 -1
- package/dist/esm/funcs/discountsCreate.d.ts +2 -1
- package/dist/esm/funcs/discountsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/discountsCreate.js +10 -6
- package/dist/esm/funcs/discountsCreate.js.map +1 -1
- package/dist/esm/funcs/discountsDelete.d.ts +2 -1
- package/dist/esm/funcs/discountsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/discountsDelete.js +10 -6
- package/dist/esm/funcs/discountsDelete.js.map +1 -1
- package/dist/esm/funcs/discountsGet.d.ts +2 -1
- package/dist/esm/funcs/discountsGet.d.ts.map +1 -1
- package/dist/esm/funcs/discountsGet.js +10 -6
- package/dist/esm/funcs/discountsGet.js.map +1 -1
- package/dist/esm/funcs/discountsList.d.ts +2 -1
- package/dist/esm/funcs/discountsList.d.ts.map +1 -1
- package/dist/esm/funcs/discountsList.js +18 -6
- package/dist/esm/funcs/discountsList.js.map +1 -1
- package/dist/esm/funcs/discountsUpdate.d.ts +2 -1
- package/dist/esm/funcs/discountsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/discountsUpdate.js +10 -6
- package/dist/esm/funcs/discountsUpdate.js.map +1 -1
- package/dist/esm/funcs/eventsGet.d.ts +2 -1
- package/dist/esm/funcs/eventsGet.d.ts.map +1 -1
- package/dist/esm/funcs/eventsGet.js +10 -6
- package/dist/esm/funcs/eventsGet.js.map +1 -1
- package/dist/esm/funcs/eventsIngest.d.ts +2 -1
- package/dist/esm/funcs/eventsIngest.d.ts.map +1 -1
- package/dist/esm/funcs/eventsIngest.js +10 -6
- package/dist/esm/funcs/eventsIngest.js.map +1 -1
- package/dist/esm/funcs/eventsList.d.ts +2 -1
- package/dist/esm/funcs/eventsList.d.ts.map +1 -1
- package/dist/esm/funcs/eventsList.js +18 -6
- package/dist/esm/funcs/eventsList.js.map +1 -1
- package/dist/esm/funcs/externalOrganizationsList.d.ts +2 -1
- package/dist/esm/funcs/externalOrganizationsList.d.ts.map +1 -1
- package/dist/esm/funcs/externalOrganizationsList.js +18 -6
- package/dist/esm/funcs/externalOrganizationsList.js.map +1 -1
- package/dist/esm/funcs/filesCreate.d.ts +2 -1
- package/dist/esm/funcs/filesCreate.d.ts.map +1 -1
- package/dist/esm/funcs/filesCreate.js +10 -6
- package/dist/esm/funcs/filesCreate.js.map +1 -1
- package/dist/esm/funcs/filesDelete.d.ts +2 -1
- package/dist/esm/funcs/filesDelete.d.ts.map +1 -1
- package/dist/esm/funcs/filesDelete.js +10 -6
- package/dist/esm/funcs/filesDelete.js.map +1 -1
- package/dist/esm/funcs/filesList.d.ts +2 -1
- package/dist/esm/funcs/filesList.d.ts.map +1 -1
- package/dist/esm/funcs/filesList.js +18 -6
- package/dist/esm/funcs/filesList.js.map +1 -1
- package/dist/esm/funcs/filesUpdate.d.ts +2 -1
- package/dist/esm/funcs/filesUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/filesUpdate.js +10 -6
- package/dist/esm/funcs/filesUpdate.js.map +1 -1
- package/dist/esm/funcs/filesUploaded.d.ts +2 -1
- package/dist/esm/funcs/filesUploaded.d.ts.map +1 -1
- package/dist/esm/funcs/filesUploaded.js +10 -6
- package/dist/esm/funcs/filesUploaded.js.map +1 -1
- package/dist/esm/funcs/licenseKeysGet.d.ts +2 -1
- package/dist/esm/funcs/licenseKeysGet.d.ts.map +1 -1
- package/dist/esm/funcs/licenseKeysGet.js +10 -6
- package/dist/esm/funcs/licenseKeysGet.js.map +1 -1
- package/dist/esm/funcs/licenseKeysGetActivation.d.ts +2 -1
- package/dist/esm/funcs/licenseKeysGetActivation.d.ts.map +1 -1
- package/dist/esm/funcs/licenseKeysGetActivation.js +10 -6
- package/dist/esm/funcs/licenseKeysGetActivation.js.map +1 -1
- package/dist/esm/funcs/licenseKeysList.d.ts +2 -1
- package/dist/esm/funcs/licenseKeysList.d.ts.map +1 -1
- package/dist/esm/funcs/licenseKeysList.js +18 -6
- package/dist/esm/funcs/licenseKeysList.js.map +1 -1
- package/dist/esm/funcs/licenseKeysUpdate.d.ts +2 -1
- package/dist/esm/funcs/licenseKeysUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/licenseKeysUpdate.js +10 -6
- package/dist/esm/funcs/licenseKeysUpdate.js.map +1 -1
- package/dist/esm/funcs/metersCreate.d.ts +2 -1
- package/dist/esm/funcs/metersCreate.d.ts.map +1 -1
- package/dist/esm/funcs/metersCreate.js +10 -6
- package/dist/esm/funcs/metersCreate.js.map +1 -1
- package/dist/esm/funcs/metersEvents.d.ts +2 -1
- package/dist/esm/funcs/metersEvents.d.ts.map +1 -1
- package/dist/esm/funcs/metersEvents.js +18 -6
- package/dist/esm/funcs/metersEvents.js.map +1 -1
- package/dist/esm/funcs/metersGet.d.ts +2 -1
- package/dist/esm/funcs/metersGet.d.ts.map +1 -1
- package/dist/esm/funcs/metersGet.js +10 -6
- package/dist/esm/funcs/metersGet.js.map +1 -1
- package/dist/esm/funcs/metersList.d.ts +2 -1
- package/dist/esm/funcs/metersList.d.ts.map +1 -1
- package/dist/esm/funcs/metersList.js +18 -6
- package/dist/esm/funcs/metersList.js.map +1 -1
- package/dist/esm/funcs/metersQuantities.d.ts +2 -1
- package/dist/esm/funcs/metersQuantities.d.ts.map +1 -1
- package/dist/esm/funcs/metersQuantities.js +10 -6
- package/dist/esm/funcs/metersQuantities.js.map +1 -1
- package/dist/esm/funcs/metersUpdate.d.ts +2 -1
- package/dist/esm/funcs/metersUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/metersUpdate.js +10 -6
- package/dist/esm/funcs/metersUpdate.js.map +1 -1
- package/dist/esm/funcs/metricsGet.d.ts +2 -1
- package/dist/esm/funcs/metricsGet.d.ts.map +1 -1
- package/dist/esm/funcs/metricsGet.js +11 -7
- package/dist/esm/funcs/metricsGet.js.map +1 -1
- package/dist/esm/funcs/metricsLimits.d.ts +2 -1
- package/dist/esm/funcs/metricsLimits.d.ts.map +1 -1
- package/dist/esm/funcs/metricsLimits.js +9 -5
- package/dist/esm/funcs/metricsLimits.js.map +1 -1
- package/dist/esm/funcs/oauth2Authorize.d.ts +2 -1
- package/dist/esm/funcs/oauth2Authorize.d.ts.map +1 -1
- package/dist/esm/funcs/oauth2Authorize.js +9 -5
- package/dist/esm/funcs/oauth2Authorize.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsCreate.d.ts +2 -1
- package/dist/esm/funcs/oauth2ClientsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/oauth2ClientsCreate.js +10 -6
- package/dist/esm/funcs/oauth2ClientsCreate.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsDelete.d.ts +2 -1
- package/dist/esm/funcs/oauth2ClientsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/oauth2ClientsDelete.js +10 -6
- package/dist/esm/funcs/oauth2ClientsDelete.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsGet.d.ts +2 -1
- package/dist/esm/funcs/oauth2ClientsGet.d.ts.map +1 -1
- package/dist/esm/funcs/oauth2ClientsGet.js +10 -6
- package/dist/esm/funcs/oauth2ClientsGet.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsList.d.ts +2 -1
- package/dist/esm/funcs/oauth2ClientsList.d.ts.map +1 -1
- package/dist/esm/funcs/oauth2ClientsList.js +18 -6
- package/dist/esm/funcs/oauth2ClientsList.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsUpdate.d.ts +2 -1
- package/dist/esm/funcs/oauth2ClientsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/oauth2ClientsUpdate.js +10 -6
- package/dist/esm/funcs/oauth2ClientsUpdate.js.map +1 -1
- package/dist/esm/funcs/oauth2Introspect.d.ts +2 -1
- package/dist/esm/funcs/oauth2Introspect.d.ts.map +1 -1
- package/dist/esm/funcs/oauth2Introspect.js +10 -6
- package/dist/esm/funcs/oauth2Introspect.js.map +1 -1
- package/dist/esm/funcs/oauth2Revoke.d.ts +2 -1
- package/dist/esm/funcs/oauth2Revoke.d.ts.map +1 -1
- package/dist/esm/funcs/oauth2Revoke.js +10 -6
- package/dist/esm/funcs/oauth2Revoke.js.map +1 -1
- package/dist/esm/funcs/oauth2Token.d.ts +2 -1
- package/dist/esm/funcs/oauth2Token.d.ts.map +1 -1
- package/dist/esm/funcs/oauth2Token.js +10 -6
- package/dist/esm/funcs/oauth2Token.js.map +1 -1
- package/dist/esm/funcs/oauth2Userinfo.d.ts +2 -1
- package/dist/esm/funcs/oauth2Userinfo.d.ts.map +1 -1
- package/dist/esm/funcs/oauth2Userinfo.js +9 -5
- package/dist/esm/funcs/oauth2Userinfo.js.map +1 -1
- package/dist/esm/funcs/ordersGet.d.ts +2 -1
- package/dist/esm/funcs/ordersGet.d.ts.map +1 -1
- package/dist/esm/funcs/ordersGet.js +10 -6
- package/dist/esm/funcs/ordersGet.js.map +1 -1
- package/dist/esm/funcs/ordersInvoice.d.ts +2 -1
- package/dist/esm/funcs/ordersInvoice.d.ts.map +1 -1
- package/dist/esm/funcs/ordersInvoice.js +10 -6
- package/dist/esm/funcs/ordersInvoice.js.map +1 -1
- package/dist/esm/funcs/ordersList.d.ts +2 -1
- package/dist/esm/funcs/ordersList.d.ts.map +1 -1
- package/dist/esm/funcs/ordersList.js +18 -6
- package/dist/esm/funcs/ordersList.js.map +1 -1
- package/dist/esm/funcs/organizationsCreate.d.ts +2 -1
- package/dist/esm/funcs/organizationsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsCreate.js +10 -6
- package/dist/esm/funcs/organizationsCreate.js.map +1 -1
- package/dist/esm/funcs/organizationsGet.d.ts +2 -1
- package/dist/esm/funcs/organizationsGet.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsGet.js +10 -6
- package/dist/esm/funcs/organizationsGet.js.map +1 -1
- package/dist/esm/funcs/organizationsList.d.ts +2 -1
- package/dist/esm/funcs/organizationsList.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsList.js +18 -6
- package/dist/esm/funcs/organizationsList.js.map +1 -1
- package/dist/esm/funcs/organizationsUpdate.d.ts +2 -1
- package/dist/esm/funcs/organizationsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsUpdate.js +10 -6
- package/dist/esm/funcs/organizationsUpdate.js.map +1 -1
- package/dist/esm/funcs/productsCreate.d.ts +2 -1
- package/dist/esm/funcs/productsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/productsCreate.js +10 -6
- package/dist/esm/funcs/productsCreate.js.map +1 -1
- package/dist/esm/funcs/productsGet.d.ts +2 -1
- package/dist/esm/funcs/productsGet.d.ts.map +1 -1
- package/dist/esm/funcs/productsGet.js +10 -6
- package/dist/esm/funcs/productsGet.js.map +1 -1
- package/dist/esm/funcs/productsList.d.ts +2 -1
- package/dist/esm/funcs/productsList.d.ts.map +1 -1
- package/dist/esm/funcs/productsList.js +18 -6
- package/dist/esm/funcs/productsList.js.map +1 -1
- package/dist/esm/funcs/productsUpdate.d.ts +2 -1
- package/dist/esm/funcs/productsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/productsUpdate.js +10 -6
- package/dist/esm/funcs/productsUpdate.js.map +1 -1
- package/dist/esm/funcs/productsUpdateBenefits.d.ts +2 -1
- package/dist/esm/funcs/productsUpdateBenefits.d.ts.map +1 -1
- package/dist/esm/funcs/productsUpdateBenefits.js +10 -6
- package/dist/esm/funcs/productsUpdateBenefits.js.map +1 -1
- package/dist/esm/funcs/refundsCreate.d.ts +2 -1
- package/dist/esm/funcs/refundsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/refundsCreate.js +10 -6
- package/dist/esm/funcs/refundsCreate.js.map +1 -1
- package/dist/esm/funcs/refundsList.d.ts +2 -1
- package/dist/esm/funcs/refundsList.d.ts.map +1 -1
- package/dist/esm/funcs/refundsList.js +18 -6
- package/dist/esm/funcs/refundsList.js.map +1 -1
- package/dist/esm/funcs/repositoriesGet.d.ts +2 -1
- package/dist/esm/funcs/repositoriesGet.d.ts.map +1 -1
- package/dist/esm/funcs/repositoriesGet.js +10 -6
- package/dist/esm/funcs/repositoriesGet.js.map +1 -1
- package/dist/esm/funcs/repositoriesList.d.ts +2 -1
- package/dist/esm/funcs/repositoriesList.d.ts.map +1 -1
- package/dist/esm/funcs/repositoriesList.js +18 -6
- package/dist/esm/funcs/repositoriesList.js.map +1 -1
- package/dist/esm/funcs/repositoriesUpdate.d.ts +2 -1
- package/dist/esm/funcs/repositoriesUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/repositoriesUpdate.js +10 -6
- package/dist/esm/funcs/repositoriesUpdate.js.map +1 -1
- package/dist/esm/funcs/subscriptionsExport.d.ts +2 -1
- package/dist/esm/funcs/subscriptionsExport.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsExport.js +10 -6
- package/dist/esm/funcs/subscriptionsExport.js.map +1 -1
- package/dist/esm/funcs/subscriptionsGet.d.ts +2 -1
- package/dist/esm/funcs/subscriptionsGet.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsGet.js +10 -6
- package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
- package/dist/esm/funcs/subscriptionsList.d.ts +2 -1
- package/dist/esm/funcs/subscriptionsList.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsList.js +18 -6
- package/dist/esm/funcs/subscriptionsList.js.map +1 -1
- package/dist/esm/funcs/subscriptionsRevoke.d.ts +2 -1
- package/dist/esm/funcs/subscriptionsRevoke.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsRevoke.js +10 -6
- package/dist/esm/funcs/subscriptionsRevoke.js.map +1 -1
- package/dist/esm/funcs/subscriptionsUpdate.d.ts +2 -1
- package/dist/esm/funcs/subscriptionsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsUpdate.js +10 -6
- package/dist/esm/funcs/subscriptionsUpdate.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/components/checkout.d.ts +35 -2
- package/dist/esm/models/components/checkout.d.ts.map +1 -1
- package/dist/esm/models/components/checkout.js +38 -2
- package/dist/esm/models/components/checkout.js.map +1 -1
- package/dist/esm/models/components/checkoutconfirmstripe.d.ts +8 -1
- package/dist/esm/models/components/checkoutconfirmstripe.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutconfirmstripe.js +4 -0
- package/dist/esm/models/components/checkoutconfirmstripe.js.map +1 -1
- package/dist/esm/models/components/checkoutcreate.d.ts +3 -2
- package/dist/esm/models/components/checkoutcreate.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutcreate.js +3 -0
- package/dist/esm/models/components/checkoutcreate.js.map +1 -1
- package/dist/esm/models/components/checkoutlink.d.ts +47 -12
- package/dist/esm/models/components/checkoutlink.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlink.js +50 -10
- package/dist/esm/models/components/checkoutlink.js.map +1 -1
- package/dist/{commonjs/models/components/checkoutlinkproductcreate.d.ts → esm/models/components/checkoutlinkcreateproduct.d.ts} +34 -30
- package/dist/esm/models/components/checkoutlinkcreateproduct.d.ts.map +1 -0
- package/dist/esm/models/components/checkoutlinkcreateproduct.js +83 -0
- package/dist/esm/models/components/{checkoutlinkproductcreate.js.map → checkoutlinkcreateproduct.js.map} +1 -1
- package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts +102 -0
- package/dist/esm/models/components/checkoutlinkcreateproductprice.d.ts.map +1 -0
- package/dist/esm/models/components/checkoutlinkcreateproductprice.js +83 -0
- package/dist/esm/models/components/checkoutlinkcreateproductprice.js.map +1 -0
- package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts +101 -0
- package/dist/esm/models/components/checkoutlinkcreateproducts.d.ts.map +1 -0
- package/dist/esm/models/components/checkoutlinkcreateproducts.js +81 -0
- package/dist/esm/models/components/checkoutlinkcreateproducts.js.map +1 -0
- package/dist/esm/models/components/checkoutlinkproduct.d.ts +31 -3
- package/dist/esm/models/components/checkoutlinkproduct.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinkproduct.js +41 -2
- package/dist/esm/models/components/checkoutlinkproduct.js.map +1 -1
- package/dist/esm/models/components/checkoutlinksortproperty.d.ts +18 -0
- package/dist/esm/models/components/checkoutlinksortproperty.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinksortproperty.js +6 -0
- package/dist/esm/models/components/checkoutlinksortproperty.js.map +1 -1
- package/dist/esm/models/components/checkoutlinkupdate.d.ts +5 -2
- package/dist/esm/models/components/checkoutlinkupdate.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinkupdate.js +2 -4
- package/dist/esm/models/components/checkoutlinkupdate.js.map +1 -1
- package/dist/esm/models/components/checkoutpricecreate.d.ts +2 -0
- package/dist/esm/models/components/checkoutpricecreate.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpricecreate.js.map +1 -1
- package/dist/esm/models/components/checkoutproduct.d.ts +31 -3
- package/dist/esm/models/components/checkoutproduct.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutproduct.js +41 -2
- package/dist/esm/models/components/checkoutproduct.js.map +1 -1
- package/dist/esm/models/components/checkoutproductcreate.d.ts +2 -0
- package/dist/esm/models/components/checkoutproductcreate.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutproductcreate.js.map +1 -1
- package/dist/esm/models/components/checkoutproductscreate.d.ts +196 -0
- package/dist/esm/models/components/checkoutproductscreate.d.ts.map +1 -0
- package/dist/esm/models/components/checkoutproductscreate.js +180 -0
- package/dist/esm/models/components/checkoutproductscreate.js.map +1 -0
- package/dist/esm/models/components/checkoutpublic.d.ts +35 -2
- package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublic.js +38 -2
- package/dist/esm/models/components/checkoutpublic.js.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +35 -2
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.js +38 -2
- package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/esm/models/components/checkoutupdate.d.ts +8 -1
- package/dist/esm/models/components/checkoutupdate.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutupdate.js +4 -0
- package/dist/esm/models/components/checkoutupdate.js.map +1 -1
- package/dist/esm/models/components/checkoutupdatepublic.d.ts +8 -1
- package/dist/esm/models/components/checkoutupdatepublic.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutupdatepublic.js +4 -0
- package/dist/esm/models/components/checkoutupdatepublic.js.map +1 -1
- package/dist/esm/models/components/customerorder.d.ts +24 -2
- package/dist/esm/models/components/customerorder.d.ts.map +1 -1
- package/dist/esm/models/components/customerorder.js +36 -2
- package/dist/esm/models/components/customerorder.js.map +1 -1
- package/dist/esm/models/components/customerorderproduct.d.ts +31 -3
- package/dist/esm/models/components/customerorderproduct.d.ts.map +1 -1
- package/dist/esm/models/components/customerorderproduct.js +41 -2
- package/dist/esm/models/components/customerorderproduct.js.map +1 -1
- package/dist/esm/models/components/customerorganization.d.ts +36 -0
- package/dist/esm/models/components/customerorganization.d.ts.map +1 -0
- package/dist/esm/models/components/customerorganization.js +35 -0
- package/dist/esm/models/components/customerorganization.js.map +1 -0
- package/dist/esm/models/components/customerproduct.d.ts +116 -0
- package/dist/esm/models/components/customerproduct.d.ts.map +1 -0
- package/dist/esm/models/components/customerproduct.js +110 -0
- package/dist/esm/models/components/customerproduct.js.map +1 -0
- package/dist/esm/models/components/customersubscription.d.ts +24 -2
- package/dist/esm/models/components/customersubscription.d.ts.map +1 -1
- package/dist/esm/models/components/customersubscription.js +36 -2
- package/dist/esm/models/components/customersubscription.js.map +1 -1
- package/dist/esm/models/components/customersubscriptionproduct.d.ts +31 -3
- package/dist/esm/models/components/customersubscriptionproduct.d.ts.map +1 -1
- package/dist/esm/models/components/customersubscriptionproduct.js +41 -2
- package/dist/esm/models/components/customersubscriptionproduct.js.map +1 -1
- package/dist/esm/models/components/customersubscriptionupdate.d.ts +3 -3
- package/dist/esm/models/components/customersubscriptionupdate.d.ts.map +1 -1
- package/dist/esm/models/components/customersubscriptionupdate.js +3 -3
- package/dist/esm/models/components/customersubscriptionupdate.js.map +1 -1
- package/dist/esm/models/components/customersubscriptionupdateproduct.d.ts +32 -0
- package/dist/esm/models/components/customersubscriptionupdateproduct.d.ts.map +1 -0
- package/dist/esm/models/components/customersubscriptionupdateproduct.js +40 -0
- package/dist/esm/models/components/customersubscriptionupdateproduct.js.map +1 -0
- package/dist/esm/models/components/discountproduct.d.ts +7 -1
- package/dist/esm/models/components/discountproduct.d.ts.map +1 -1
- package/dist/esm/models/components/discountproduct.js +5 -0
- package/dist/esm/models/components/discountproduct.js.map +1 -1
- package/dist/esm/models/components/legacyrecurringproductprice.d.ts +40 -0
- package/dist/esm/models/components/legacyrecurringproductprice.d.ts.map +1 -0
- package/dist/esm/models/components/legacyrecurringproductprice.js +50 -0
- package/dist/esm/models/components/legacyrecurringproductprice.js.map +1 -0
- package/dist/esm/models/components/{productpricerecurringcustom.d.ts → legacyrecurringproductpricecustom.d.ts} +27 -21
- package/dist/esm/models/components/legacyrecurringproductpricecustom.d.ts.map +1 -0
- package/dist/esm/models/components/{productpricerecurringcustom.js → legacyrecurringproductpricecustom.js} +22 -20
- package/dist/esm/models/components/legacyrecurringproductpricecustom.js.map +1 -0
- package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts +81 -0
- package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts.map +1 -0
- package/dist/esm/models/components/{productpricerecurringfixed.js → legacyrecurringproductpricefixed.js} +22 -20
- package/dist/esm/models/components/legacyrecurringproductpricefixed.js.map +1 -0
- package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts +71 -0
- package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts.map +1 -0
- package/dist/esm/models/components/{productpricerecurringfree.js → legacyrecurringproductpricefree.js} +16 -14
- package/dist/esm/models/components/legacyrecurringproductpricefree.js.map +1 -0
- package/dist/esm/models/components/order.d.ts +24 -2
- package/dist/esm/models/components/order.d.ts.map +1 -1
- package/dist/esm/models/components/order.js +36 -2
- package/dist/esm/models/components/order.js.map +1 -1
- package/dist/esm/models/components/orderproduct.d.ts +7 -1
- package/dist/esm/models/components/orderproduct.d.ts.map +1 -1
- package/dist/esm/models/components/orderproduct.js +5 -0
- package/dist/esm/models/components/orderproduct.js.map +1 -1
- package/dist/esm/models/components/product.d.ts +31 -3
- package/dist/esm/models/components/product.d.ts.map +1 -1
- package/dist/esm/models/components/product.js +42 -2
- package/dist/esm/models/components/product.js.map +1 -1
- package/dist/esm/models/components/productbillingtype.d.ts +28 -0
- package/dist/esm/models/components/productbillingtype.d.ts.map +1 -0
- package/dist/esm/models/components/productbillingtype.js +24 -0
- package/dist/esm/models/components/productbillingtype.js.map +1 -0
- package/dist/esm/models/components/productcreate.d.ts +109 -4
- package/dist/esm/models/components/productcreate.d.ts.map +1 -1
- package/dist/esm/models/components/productcreate.js +98 -8
- package/dist/esm/models/components/productcreate.js.map +1 -1
- package/dist/esm/models/components/productprice.d.ts +5 -4
- package/dist/esm/models/components/productprice.d.ts.map +1 -1
- package/dist/esm/models/components/productprice.js +9 -6
- package/dist/esm/models/components/productprice.js.map +1 -1
- package/dist/esm/models/components/productpricecustom.d.ts +86 -0
- package/dist/esm/models/components/productpricecustom.d.ts.map +1 -0
- package/dist/esm/models/components/{productpriceonetimecustom.js → productpricecustom.js} +22 -16
- package/dist/esm/models/components/productpricecustom.js.map +1 -0
- package/dist/esm/models/components/productpricecustomcreate.d.ts +52 -0
- package/dist/esm/models/components/productpricecustomcreate.d.ts.map +1 -0
- package/dist/esm/models/components/{productpriceonetimecustomcreate.js → productpricecustomcreate.js} +14 -16
- package/dist/esm/models/components/productpricecustomcreate.js.map +1 -0
- package/dist/esm/models/components/productpricefixed.d.ts +76 -0
- package/dist/esm/models/components/productpricefixed.d.ts.map +1 -0
- package/dist/esm/models/components/{productpriceonetimefixed.js → productpricefixed.js} +22 -16
- package/dist/esm/models/components/productpricefixed.js.map +1 -0
- package/dist/esm/models/components/productpricefixedcreate.d.ts +42 -0
- package/dist/esm/models/components/productpricefixedcreate.d.ts.map +1 -0
- package/dist/esm/models/components/productpricefixedcreate.js +48 -0
- package/dist/esm/models/components/productpricefixedcreate.js.map +1 -0
- package/dist/esm/models/components/productpricefree.d.ts +66 -0
- package/dist/esm/models/components/productpricefree.d.ts.map +1 -0
- package/dist/esm/models/components/productpricefree.js +66 -0
- package/dist/esm/models/components/productpricefree.js.map +1 -0
- package/dist/esm/models/components/productpricefreecreate.d.ts +32 -0
- package/dist/esm/models/components/productpricefreecreate.d.ts.map +1 -0
- package/dist/esm/models/components/productpricefreecreate.js +40 -0
- package/dist/esm/models/components/productpricefreecreate.js.map +1 -0
- package/dist/esm/models/components/productsortproperty.d.ts +0 -6
- package/dist/esm/models/components/productsortproperty.d.ts.map +1 -1
- package/dist/esm/models/components/productsortproperty.js +0 -2
- package/dist/esm/models/components/productsortproperty.js.map +1 -1
- package/dist/esm/models/components/productupdate.d.ts +13 -9
- package/dist/esm/models/components/productupdate.d.ts.map +1 -1
- package/dist/esm/models/components/productupdate.js +22 -25
- package/dist/esm/models/components/productupdate.js.map +1 -1
- package/dist/esm/models/components/subscription.d.ts +25 -3
- package/dist/esm/models/components/subscription.d.ts.map +1 -1
- package/dist/esm/models/components/subscription.js +38 -3
- package/dist/esm/models/components/subscription.js.map +1 -1
- package/dist/esm/models/components/subscriptionupdate.d.ts +3 -3
- package/dist/esm/models/components/subscriptionupdate.d.ts.map +1 -1
- package/dist/esm/models/components/subscriptionupdate.js +3 -3
- package/dist/esm/models/components/subscriptionupdate.js.map +1 -1
- package/dist/esm/models/components/subscriptionupdateproduct.d.ts +38 -0
- package/dist/esm/models/components/subscriptionupdateproduct.d.ts.map +1 -0
- package/dist/esm/models/components/subscriptionupdateproduct.js +47 -0
- package/dist/esm/models/components/subscriptionupdateproduct.js.map +1 -0
- package/dist/esm/models/operations/checkoutlinkscreate.d.ts +28 -0
- package/dist/esm/models/operations/checkoutlinkscreate.d.ts.map +1 -0
- package/dist/esm/models/operations/checkoutlinkscreate.js +38 -0
- package/dist/esm/models/operations/checkoutlinkscreate.js.map +1 -0
- package/dist/esm/models/operations/customerportalorderslist.d.ts +13 -13
- package/dist/esm/models/operations/customerportalorderslist.d.ts.map +1 -1
- package/dist/esm/models/operations/customerportalorderslist.js +13 -15
- package/dist/esm/models/operations/customerportalorderslist.js.map +1 -1
- package/dist/esm/models/operations/metricsget.d.ts +18 -18
- package/dist/esm/models/operations/metricsget.d.ts.map +1 -1
- package/dist/esm/models/operations/metricsget.js +26 -26
- package/dist/esm/models/operations/metricsget.js.map +1 -1
- package/dist/esm/sdk/checkoutlinks.d.ts +2 -2
- package/dist/esm/sdk/checkoutlinks.d.ts.map +1 -1
- package/dist/esm/sdk/checkoutlinks.js.map +1 -1
- package/dist/esm/sdk/polarorganizations.d.ts +2 -2
- package/dist/esm/sdk/polarorganizations.d.ts.map +1 -1
- package/dist/esm/types/async.d.ts +23 -0
- package/dist/esm/types/async.d.ts.map +1 -0
- package/dist/esm/types/async.js +40 -0
- package/dist/esm/types/async.js.map +1 -0
- package/docs/sdks/checkoutlinks/README.md +1 -1
- package/docs/sdks/polarorganizations/README.md +1 -1
- package/docs/sdks/products/README.md +3 -3
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/advertisementsGet.ts +36 -7
- package/src/funcs/advertisementsList.ts +46 -7
- package/src/funcs/benefitsCreate.ts +35 -7
- package/src/funcs/benefitsDelete.ts +37 -7
- package/src/funcs/benefitsGet.ts +36 -7
- package/src/funcs/benefitsGrants.ts +47 -7
- package/src/funcs/benefitsList.ts +46 -7
- package/src/funcs/benefitsUpdate.ts +37 -7
- package/src/funcs/checkoutLinksCreate.ts +42 -13
- package/src/funcs/checkoutLinksDelete.ts +36 -7
- package/src/funcs/checkoutLinksGet.ts +36 -7
- package/src/funcs/checkoutLinksList.ts +46 -7
- package/src/funcs/checkoutLinksUpdate.ts +36 -7
- package/src/funcs/checkoutsClientConfirm.ts +38 -7
- package/src/funcs/checkoutsClientGet.ts +36 -7
- package/src/funcs/checkoutsClientUpdate.ts +37 -7
- package/src/funcs/checkoutsCreate.ts +35 -7
- package/src/funcs/checkoutsGet.ts +36 -7
- package/src/funcs/checkoutsList.ts +46 -7
- package/src/funcs/checkoutsUpdate.ts +37 -7
- package/src/funcs/customFieldsCreate.ts +35 -7
- package/src/funcs/customFieldsDelete.ts +36 -7
- package/src/funcs/customFieldsGet.ts +36 -7
- package/src/funcs/customFieldsList.ts +46 -7
- package/src/funcs/customFieldsUpdate.ts +36 -7
- package/src/funcs/customerPortalBenefitGrantsGet.ts +36 -7
- package/src/funcs/customerPortalBenefitGrantsList.ts +46 -7
- package/src/funcs/customerPortalBenefitGrantsUpdate.ts +37 -7
- package/src/funcs/customerPortalCustomersGet.ts +36 -7
- package/src/funcs/customerPortalDownloadablesGet.ts +35 -7
- package/src/funcs/customerPortalDownloadablesList.ts +46 -7
- package/src/funcs/customerPortalLicenseKeysActivate.ts +37 -7
- package/src/funcs/customerPortalLicenseKeysDeactivate.ts +36 -7
- package/src/funcs/customerPortalLicenseKeysGet.ts +36 -7
- package/src/funcs/customerPortalLicenseKeysList.ts +48 -7
- package/src/funcs/customerPortalLicenseKeysValidate.ts +36 -7
- package/src/funcs/customerPortalOrdersGet.ts +36 -7
- package/src/funcs/customerPortalOrdersInvoice.ts +36 -7
- package/src/funcs/customerPortalOrdersList.ts +46 -7
- package/src/funcs/customerPortalOrganizationsGet.ts +42 -13
- package/src/funcs/customerPortalSubscriptionsCancel.ts +37 -7
- package/src/funcs/customerPortalSubscriptionsGet.ts +36 -7
- package/src/funcs/customerPortalSubscriptionsList.ts +46 -7
- package/src/funcs/customerPortalSubscriptionsUpdate.ts +37 -7
- package/src/funcs/customerSessionsCreate.ts +35 -7
- package/src/funcs/customersCreate.ts +35 -7
- package/src/funcs/customersDelete.ts +36 -7
- package/src/funcs/customersGet.ts +36 -7
- package/src/funcs/customersList.ts +46 -7
- package/src/funcs/customersUpdate.ts +36 -7
- package/src/funcs/discountsCreate.ts +35 -7
- package/src/funcs/discountsDelete.ts +36 -7
- package/src/funcs/discountsGet.ts +36 -7
- package/src/funcs/discountsList.ts +46 -7
- package/src/funcs/discountsUpdate.ts +36 -7
- package/src/funcs/eventsGet.ts +36 -7
- package/src/funcs/eventsIngest.ts +35 -7
- package/src/funcs/eventsList.ts +46 -7
- package/src/funcs/externalOrganizationsList.ts +46 -7
- package/src/funcs/filesCreate.ts +35 -7
- package/src/funcs/filesDelete.ts +37 -7
- package/src/funcs/filesList.ts +46 -7
- package/src/funcs/filesUpdate.ts +37 -7
- package/src/funcs/filesUploaded.ts +37 -7
- package/src/funcs/licenseKeysGet.ts +37 -7
- package/src/funcs/licenseKeysGetActivation.ts +37 -7
- package/src/funcs/licenseKeysList.ts +48 -7
- package/src/funcs/licenseKeysUpdate.ts +37 -7
- package/src/funcs/metersCreate.ts +35 -7
- package/src/funcs/metersEvents.ts +47 -7
- package/src/funcs/metersGet.ts +36 -7
- package/src/funcs/metersList.ts +46 -7
- package/src/funcs/metersQuantities.ts +36 -7
- package/src/funcs/metersUpdate.ts +36 -7
- package/src/funcs/metricsGet.ts +36 -8
- package/src/funcs/metricsLimits.ts +31 -6
- package/src/funcs/oauth2Authorize.ts +31 -6
- package/src/funcs/oauth2ClientsCreate.ts +35 -7
- package/src/funcs/oauth2ClientsDelete.ts +35 -7
- package/src/funcs/oauth2ClientsGet.ts +35 -7
- package/src/funcs/oauth2ClientsList.ts +46 -7
- package/src/funcs/oauth2ClientsUpdate.ts +35 -7
- package/src/funcs/oauth2Introspect.ts +34 -7
- package/src/funcs/oauth2Revoke.ts +34 -7
- package/src/funcs/oauth2Token.ts +34 -7
- package/src/funcs/oauth2Userinfo.ts +31 -6
- package/src/funcs/ordersGet.ts +36 -7
- package/src/funcs/ordersInvoice.ts +36 -7
- package/src/funcs/ordersList.ts +46 -7
- package/src/funcs/organizationsCreate.ts +35 -7
- package/src/funcs/organizationsGet.ts +36 -7
- package/src/funcs/organizationsList.ts +46 -7
- package/src/funcs/organizationsUpdate.ts +37 -7
- package/src/funcs/productsCreate.ts +35 -7
- package/src/funcs/productsGet.ts +36 -7
- package/src/funcs/productsList.ts +46 -7
- package/src/funcs/productsUpdate.ts +37 -7
- package/src/funcs/productsUpdateBenefits.ts +37 -7
- package/src/funcs/refundsCreate.ts +37 -7
- package/src/funcs/refundsList.ts +46 -7
- package/src/funcs/repositoriesGet.ts +36 -7
- package/src/funcs/repositoriesList.ts +46 -7
- package/src/funcs/repositoriesUpdate.ts +37 -7
- package/src/funcs/subscriptionsExport.ts +35 -7
- package/src/funcs/subscriptionsGet.ts +36 -7
- package/src/funcs/subscriptionsList.ts +46 -7
- package/src/funcs/subscriptionsRevoke.ts +37 -7
- package/src/funcs/subscriptionsUpdate.ts +37 -7
- package/src/lib/config.ts +3 -3
- package/src/models/components/checkout.ts +87 -4
- package/src/models/components/checkoutconfirmstripe.ts +12 -1
- package/src/models/components/checkoutcreate.ts +13 -1
- package/src/models/components/checkoutlink.ts +116 -25
- package/src/models/components/{checkoutlinkproductcreate.ts → checkoutlinkcreateproduct.ts} +50 -46
- package/src/models/components/{checkoutlinkpricecreate.ts → checkoutlinkcreateproductprice.ts} +56 -46
- package/src/models/components/checkoutlinkcreateproducts.ts +199 -0
- package/src/models/components/checkoutlinkproduct.ts +95 -5
- package/src/models/components/checkoutlinksortproperty.ts +6 -0
- package/src/models/components/checkoutlinkupdate.ts +7 -6
- package/src/models/components/checkoutpricecreate.ts +2 -0
- package/src/models/components/checkoutproduct.ts +93 -5
- package/src/models/components/checkoutproductcreate.ts +2 -0
- package/src/models/components/checkoutproductscreate.ts +434 -0
- package/src/models/components/checkoutpublic.ts +89 -4
- package/src/models/components/checkoutpublicconfirmed.ts +94 -4
- package/src/models/components/checkoutupdate.ts +12 -1
- package/src/models/components/checkoutupdatepublic.ts +12 -1
- package/src/models/components/customerorder.ts +76 -4
- package/src/models/components/customerorderproduct.ts +95 -5
- package/src/models/components/customerorganization.ts +85 -0
- package/src/models/components/customerproduct.ts +265 -0
- package/src/models/components/customersubscription.ts +76 -4
- package/src/models/components/customersubscriptionproduct.ts +98 -5
- package/src/models/components/customersubscriptionupdate.ts +9 -9
- package/src/models/components/customersubscriptionupdateproduct.ts +81 -0
- package/src/models/components/discountproduct.ts +15 -1
- package/src/models/components/legacyrecurringproductprice.ts +116 -0
- package/src/models/components/{productpricerecurringcustom.ts → legacyrecurringproductpricecustom.ts} +44 -35
- package/src/models/components/{productpricerecurringfixed.ts → legacyrecurringproductpricefixed.ts} +44 -34
- package/src/models/components/{productpricerecurringfree.ts → legacyrecurringproductpricefree.ts} +31 -21
- package/src/models/components/order.ts +74 -4
- package/src/models/components/orderproduct.ts +15 -1
- package/src/models/components/product.ts +86 -5
- package/src/models/components/productbillingtype.ts +33 -0
- package/src/models/components/productcreate.ts +256 -22
- package/src/models/components/productprice.ts +29 -17
- package/src/models/components/{productpriceonetimecustom.ts → productpricecustom.ts} +45 -29
- package/src/models/components/{productpriceonetimecustomcreate.ts → productpricecustomcreate.ts} +22 -28
- package/src/models/components/{productpriceonetimefixed.ts → productpricefixed.ts} +45 -29
- package/src/models/components/{productpriceonetimefixedcreate.ts → productpricefixedcreate.ts} +22 -28
- package/src/models/components/{productpriceonetimefree.ts → productpricefree.ts} +43 -27
- package/src/models/components/productpricefreecreate.ts +78 -0
- package/src/models/components/productsortproperty.ts +0 -2
- package/src/models/components/productupdate.ts +54 -66
- package/src/models/components/subscription.ts +72 -9
- package/src/models/components/subscriptionupdate.ts +9 -9
- package/src/models/components/{subscriptionupdateprice.ts → subscriptionupdateproduct.ts} +28 -28
- package/src/models/operations/checkoutlinkscreate.ts +95 -0
- package/src/models/operations/customerportalorderslist.ts +34 -46
- package/src/models/operations/metricsget.ts +45 -47
- package/src/sdk/checkoutlinks.ts +2 -2
- package/src/sdk/polarorganizations.ts +2 -2
- package/src/types/async.ts +68 -0
- package/dist/commonjs/models/components/checkoutlinkcreate.d.ts +0 -27
- package/dist/commonjs/models/components/checkoutlinkcreate.d.ts.map +0 -1
- package/dist/commonjs/models/components/checkoutlinkcreate.js +0 -63
- package/dist/commonjs/models/components/checkoutlinkcreate.js.map +0 -1
- package/dist/commonjs/models/components/checkoutlinkpricecreate.d.ts +0 -98
- package/dist/commonjs/models/components/checkoutlinkpricecreate.d.ts.map +0 -1
- package/dist/commonjs/models/components/checkoutlinkpricecreate.js.map +0 -1
- package/dist/commonjs/models/components/checkoutlinkproductcreate.d.ts.map +0 -1
- package/dist/commonjs/models/components/customersubscriptionupdateprice.d.ts +0 -32
- package/dist/commonjs/models/components/customersubscriptionupdateprice.d.ts.map +0 -1
- package/dist/commonjs/models/components/customersubscriptionupdateprice.js.map +0 -1
- package/dist/commonjs/models/components/productonetimecreate.d.ts +0 -126
- package/dist/commonjs/models/components/productonetimecreate.d.ts.map +0 -1
- package/dist/commonjs/models/components/productonetimecreate.js +0 -153
- package/dist/commonjs/models/components/productonetimecreate.js.map +0 -1
- package/dist/commonjs/models/components/productpriceonetime.d.ts +0 -28
- package/dist/commonjs/models/components/productpriceonetime.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpriceonetime.js +0 -66
- package/dist/commonjs/models/components/productpriceonetime.js.map +0 -1
- package/dist/commonjs/models/components/productpriceonetimecustom.d.ts +0 -82
- package/dist/commonjs/models/components/productpriceonetimecustom.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpriceonetimecustom.js.map +0 -1
- package/dist/commonjs/models/components/productpriceonetimecustomcreate.d.ts +0 -54
- package/dist/commonjs/models/components/productpriceonetimecustomcreate.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpriceonetimecustomcreate.js.map +0 -1
- package/dist/commonjs/models/components/productpriceonetimefixed.d.ts +0 -72
- package/dist/commonjs/models/components/productpriceonetimefixed.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpriceonetimefixed.js.map +0 -1
- package/dist/commonjs/models/components/productpriceonetimefixedcreate.d.ts +0 -44
- package/dist/commonjs/models/components/productpriceonetimefixedcreate.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpriceonetimefixedcreate.js.map +0 -1
- package/dist/commonjs/models/components/productpriceonetimefree.d.ts +0 -62
- package/dist/commonjs/models/components/productpriceonetimefree.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpriceonetimefree.js.map +0 -1
- package/dist/commonjs/models/components/productpriceonetimefreecreate.d.ts +0 -34
- package/dist/commonjs/models/components/productpriceonetimefreecreate.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpriceonetimefreecreate.js.map +0 -1
- package/dist/commonjs/models/components/productpricerecurring.d.ts +0 -28
- package/dist/commonjs/models/components/productpricerecurring.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpricerecurring.js +0 -66
- package/dist/commonjs/models/components/productpricerecurring.js.map +0 -1
- package/dist/commonjs/models/components/productpricerecurringcustom.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpricerecurringcustom.js.map +0 -1
- package/dist/commonjs/models/components/productpricerecurringfixed.d.ts +0 -75
- package/dist/commonjs/models/components/productpricerecurringfixed.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpricerecurringfixed.js.map +0 -1
- package/dist/commonjs/models/components/productpricerecurringfixedcreate.d.ts +0 -47
- package/dist/commonjs/models/components/productpricerecurringfixedcreate.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpricerecurringfixedcreate.js +0 -83
- package/dist/commonjs/models/components/productpricerecurringfixedcreate.js.map +0 -1
- package/dist/commonjs/models/components/productpricerecurringfree.d.ts +0 -65
- package/dist/commonjs/models/components/productpricerecurringfree.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpricerecurringfree.js.map +0 -1
- package/dist/commonjs/models/components/productpricerecurringfreecreate.d.ts +0 -37
- package/dist/commonjs/models/components/productpricerecurringfreecreate.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpricerecurringfreecreate.js +0 -75
- package/dist/commonjs/models/components/productpricerecurringfreecreate.js.map +0 -1
- package/dist/commonjs/models/components/productrecurringcreate.d.ts +0 -128
- package/dist/commonjs/models/components/productrecurringcreate.d.ts.map +0 -1
- package/dist/commonjs/models/components/productrecurringcreate.js +0 -147
- package/dist/commonjs/models/components/productrecurringcreate.js.map +0 -1
- package/dist/commonjs/models/components/subscriptionupdateprice.d.ts +0 -38
- package/dist/commonjs/models/components/subscriptionupdateprice.d.ts.map +0 -1
- package/dist/commonjs/models/components/subscriptionupdateprice.js.map +0 -1
- package/dist/esm/models/components/checkoutlinkcreate.d.ts +0 -27
- package/dist/esm/models/components/checkoutlinkcreate.d.ts.map +0 -1
- package/dist/esm/models/components/checkoutlinkcreate.js +0 -35
- package/dist/esm/models/components/checkoutlinkcreate.js.map +0 -1
- package/dist/esm/models/components/checkoutlinkpricecreate.d.ts +0 -98
- package/dist/esm/models/components/checkoutlinkpricecreate.d.ts.map +0 -1
- package/dist/esm/models/components/checkoutlinkpricecreate.js +0 -83
- package/dist/esm/models/components/checkoutlinkpricecreate.js.map +0 -1
- package/dist/esm/models/components/checkoutlinkproductcreate.d.ts.map +0 -1
- package/dist/esm/models/components/checkoutlinkproductcreate.js +0 -83
- package/dist/esm/models/components/customersubscriptionupdateprice.d.ts +0 -32
- package/dist/esm/models/components/customersubscriptionupdateprice.d.ts.map +0 -1
- package/dist/esm/models/components/customersubscriptionupdateprice.js +0 -40
- package/dist/esm/models/components/customersubscriptionupdateprice.js.map +0 -1
- package/dist/esm/models/components/productonetimecreate.d.ts +0 -126
- package/dist/esm/models/components/productonetimecreate.d.ts.map +0 -1
- package/dist/esm/models/components/productonetimecreate.js +0 -121
- package/dist/esm/models/components/productonetimecreate.js.map +0 -1
- package/dist/esm/models/components/productpriceonetime.d.ts +0 -28
- package/dist/esm/models/components/productpriceonetime.d.ts.map +0 -1
- package/dist/esm/models/components/productpriceonetime.js +0 -38
- package/dist/esm/models/components/productpriceonetime.js.map +0 -1
- package/dist/esm/models/components/productpriceonetimecustom.d.ts +0 -82
- package/dist/esm/models/components/productpriceonetimecustom.d.ts.map +0 -1
- package/dist/esm/models/components/productpriceonetimecustom.js.map +0 -1
- package/dist/esm/models/components/productpriceonetimecustomcreate.d.ts +0 -54
- package/dist/esm/models/components/productpriceonetimecustomcreate.d.ts.map +0 -1
- package/dist/esm/models/components/productpriceonetimecustomcreate.js.map +0 -1
- package/dist/esm/models/components/productpriceonetimefixed.d.ts +0 -72
- package/dist/esm/models/components/productpriceonetimefixed.d.ts.map +0 -1
- package/dist/esm/models/components/productpriceonetimefixed.js.map +0 -1
- package/dist/esm/models/components/productpriceonetimefixedcreate.d.ts +0 -44
- package/dist/esm/models/components/productpriceonetimefixedcreate.d.ts.map +0 -1
- package/dist/esm/models/components/productpriceonetimefixedcreate.js +0 -50
- package/dist/esm/models/components/productpriceonetimefixedcreate.js.map +0 -1
- package/dist/esm/models/components/productpriceonetimefree.d.ts +0 -62
- package/dist/esm/models/components/productpriceonetimefree.d.ts.map +0 -1
- package/dist/esm/models/components/productpriceonetimefree.js +0 -60
- package/dist/esm/models/components/productpriceonetimefree.js.map +0 -1
- package/dist/esm/models/components/productpriceonetimefreecreate.d.ts +0 -34
- package/dist/esm/models/components/productpriceonetimefreecreate.d.ts.map +0 -1
- package/dist/esm/models/components/productpriceonetimefreecreate.js +0 -42
- package/dist/esm/models/components/productpriceonetimefreecreate.js.map +0 -1
- package/dist/esm/models/components/productpricerecurring.d.ts +0 -28
- package/dist/esm/models/components/productpricerecurring.d.ts.map +0 -1
- package/dist/esm/models/components/productpricerecurring.js +0 -38
- package/dist/esm/models/components/productpricerecurring.js.map +0 -1
- package/dist/esm/models/components/productpricerecurringcustom.d.ts.map +0 -1
- package/dist/esm/models/components/productpricerecurringcustom.js.map +0 -1
- package/dist/esm/models/components/productpricerecurringfixed.d.ts +0 -75
- package/dist/esm/models/components/productpricerecurringfixed.d.ts.map +0 -1
- package/dist/esm/models/components/productpricerecurringfixed.js.map +0 -1
- package/dist/esm/models/components/productpricerecurringfixedcreate.d.ts +0 -47
- package/dist/esm/models/components/productpricerecurringfixedcreate.d.ts.map +0 -1
- package/dist/esm/models/components/productpricerecurringfixedcreate.js +0 -55
- package/dist/esm/models/components/productpricerecurringfixedcreate.js.map +0 -1
- package/dist/esm/models/components/productpricerecurringfree.d.ts +0 -65
- package/dist/esm/models/components/productpricerecurringfree.d.ts.map +0 -1
- package/dist/esm/models/components/productpricerecurringfree.js.map +0 -1
- package/dist/esm/models/components/productpricerecurringfreecreate.d.ts +0 -37
- package/dist/esm/models/components/productpricerecurringfreecreate.d.ts.map +0 -1
- package/dist/esm/models/components/productpricerecurringfreecreate.js +0 -47
- package/dist/esm/models/components/productpricerecurringfreecreate.js.map +0 -1
- package/dist/esm/models/components/productrecurringcreate.d.ts +0 -128
- package/dist/esm/models/components/productrecurringcreate.d.ts.map +0 -1
- package/dist/esm/models/components/productrecurringcreate.js +0 -115
- package/dist/esm/models/components/productrecurringcreate.js.map +0 -1
- package/dist/esm/models/components/subscriptionupdateprice.d.ts +0 -38
- package/dist/esm/models/components/subscriptionupdateprice.d.ts.map +0 -1
- package/dist/esm/models/components/subscriptionupdateprice.js +0 -47
- package/dist/esm/models/components/subscriptionupdateprice.js.map +0 -1
- package/src/models/components/checkoutlinkcreate.ts +0 -80
- package/src/models/components/customersubscriptionupdateprice.ts +0 -80
- package/src/models/components/productonetimecreate.ts +0 -295
- package/src/models/components/productpriceonetime.ts +0 -90
- package/src/models/components/productpriceonetimefreecreate.ts +0 -84
- package/src/models/components/productpricerecurring.ts +0 -90
- package/src/models/components/productpricerecurringfixedcreate.ts +0 -113
- package/src/models/components/productpricerecurringfreecreate.ts +0 -95
- package/src/models/components/productrecurringcreate.ts +0 -287
|
@@ -31,17 +31,20 @@ exports.productPriceToJSON = productPriceToJSON;
|
|
|
31
31
|
exports.productPriceFromJSON = productPriceFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
34
|
-
const
|
|
35
|
-
const
|
|
34
|
+
const productpricecustom_js_1 = require("./productpricecustom.js");
|
|
35
|
+
const productpricefixed_js_1 = require("./productpricefixed.js");
|
|
36
|
+
const productpricefree_js_1 = require("./productpricefree.js");
|
|
36
37
|
/** @internal */
|
|
37
38
|
exports.ProductPrice$inboundSchema = z.union([
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
productpricefree_js_1.ProductPriceFree$inboundSchema,
|
|
40
|
+
productpricefixed_js_1.ProductPriceFixed$inboundSchema,
|
|
41
|
+
productpricecustom_js_1.ProductPriceCustom$inboundSchema,
|
|
40
42
|
]);
|
|
41
43
|
/** @internal */
|
|
42
44
|
exports.ProductPrice$outboundSchema = z.union([
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
productpricefree_js_1.ProductPriceFree$outboundSchema,
|
|
46
|
+
productpricefixed_js_1.ProductPriceFixed$outboundSchema,
|
|
47
|
+
productpricecustom_js_1.ProductPriceCustom$outboundSchema,
|
|
45
48
|
]);
|
|
46
49
|
/**
|
|
47
50
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productprice.js","sourceRoot":"","sources":["../../../../src/models/components/productprice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"productprice.js","sourceRoot":"","sources":["../../../../src/models/components/productprice.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEH,gDAEC;AAED,oDAQC;AAjFD,uCAAyB;AACzB,qDAAiD;AAGjD,mEAKiC;AACjC,iEAKgC;AAChC,+DAK+B;AAO/B,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,KAAK,CAAC;IACV,oDAA8B;IAC9B,sDAA+B;IAC/B,wDAAgC;CACjC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,KAAK,CAAC;IACV,qDAA+B;IAC/B,uDAAgC;IAChC,yDAAiC;CAClC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,aAAa,CAO7B;AAPD,WAAiB,aAAa;IAC5B,4DAA4D;IAC/C,2BAAa,GAAG,kCAA0B,CAAC;IACxD,6DAA6D;IAChD,4BAAc,GAAG,mCAA2B,CAAC;AAG5D,CAAC,EAPgB,aAAa,6BAAb,aAAa,QAO7B;AAED,SAAgB,kBAAkB,CAAC,YAA0B;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,mCAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,oBAAoB,CAClC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { ProductPriceType } from "./productpricetype.js";
|
|
5
|
+
import { SubscriptionRecurringInterval } from "./subscriptionrecurringinterval.js";
|
|
6
|
+
/**
|
|
7
|
+
* A pay-what-you-want price for a product.
|
|
8
|
+
*/
|
|
9
|
+
export type ProductPriceCustom = {
|
|
10
|
+
/**
|
|
11
|
+
* Creation timestamp of the object.
|
|
12
|
+
*/
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
/**
|
|
15
|
+
* Last modification timestamp of the object.
|
|
16
|
+
*/
|
|
17
|
+
modifiedAt: Date | null;
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the price.
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
amountType?: "custom" | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the price is archived and no longer available.
|
|
25
|
+
*/
|
|
26
|
+
isArchived: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the product owning the price.
|
|
29
|
+
*/
|
|
30
|
+
productId: string;
|
|
31
|
+
type: ProductPriceType;
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
34
|
+
*/
|
|
35
|
+
recurringInterval: SubscriptionRecurringInterval | null;
|
|
36
|
+
/**
|
|
37
|
+
* The currency.
|
|
38
|
+
*/
|
|
39
|
+
priceCurrency: string;
|
|
40
|
+
/**
|
|
41
|
+
* The minimum amount the customer can pay.
|
|
42
|
+
*/
|
|
43
|
+
minimumAmount: number | null;
|
|
44
|
+
/**
|
|
45
|
+
* The maximum amount the customer can pay.
|
|
46
|
+
*/
|
|
47
|
+
maximumAmount: number | null;
|
|
48
|
+
/**
|
|
49
|
+
* The initial amount shown to the customer.
|
|
50
|
+
*/
|
|
51
|
+
presetAmount: number | null;
|
|
52
|
+
};
|
|
53
|
+
/** @internal */
|
|
54
|
+
export declare const ProductPriceCustom$inboundSchema: z.ZodType<ProductPriceCustom, z.ZodTypeDef, unknown>;
|
|
55
|
+
/** @internal */
|
|
56
|
+
export type ProductPriceCustom$Outbound = {
|
|
57
|
+
created_at: string;
|
|
58
|
+
modified_at: string | null;
|
|
59
|
+
id: string;
|
|
60
|
+
amount_type: "custom";
|
|
61
|
+
is_archived: boolean;
|
|
62
|
+
product_id: string;
|
|
63
|
+
type: string;
|
|
64
|
+
recurring_interval: string | null;
|
|
65
|
+
price_currency: string;
|
|
66
|
+
minimum_amount: number | null;
|
|
67
|
+
maximum_amount: number | null;
|
|
68
|
+
preset_amount: number | null;
|
|
69
|
+
};
|
|
70
|
+
/** @internal */
|
|
71
|
+
export declare const ProductPriceCustom$outboundSchema: z.ZodType<ProductPriceCustom$Outbound, z.ZodTypeDef, ProductPriceCustom>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
75
|
+
*/
|
|
76
|
+
export declare namespace ProductPriceCustom$ {
|
|
77
|
+
/** @deprecated use `ProductPriceCustom$inboundSchema` instead. */
|
|
78
|
+
const inboundSchema: z.ZodType<ProductPriceCustom, z.ZodTypeDef, unknown>;
|
|
79
|
+
/** @deprecated use `ProductPriceCustom$outboundSchema` instead. */
|
|
80
|
+
const outboundSchema: z.ZodType<ProductPriceCustom$Outbound, z.ZodTypeDef, ProductPriceCustom>;
|
|
81
|
+
/** @deprecated use `ProductPriceCustom$Outbound` instead. */
|
|
82
|
+
type Outbound = ProductPriceCustom$Outbound;
|
|
83
|
+
}
|
|
84
|
+
export declare function productPriceCustomToJSON(productPriceCustom: ProductPriceCustom): string;
|
|
85
|
+
export declare function productPriceCustomFromJSON(jsonString: string): SafeParseResult<ProductPriceCustom, SDKValidationError>;
|
|
86
|
+
//# sourceMappingURL=productpricecustom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productpricecustom.d.ts","sourceRoot":"","sources":["../../../../src/models/components/productpricecustom.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAGjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,6BAA6B,EAG9B,MAAM,oCAAoC,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,gBAAgB,CAAC;IACvB;;OAEG;IACH,iBAAiB,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACxD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CA6BP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,QAAQ,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CA2BlB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa,sDAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc,0EAAoC,CAAC;IAChE,6DAA6D;IAC7D,KAAY,QAAQ,GAAG,2BAA2B,CAAC;CACpD;AAED,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AAED,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
package/dist/commonjs/models/components/{productpriceonetimecustom.js → productpricecustom.js}
RENAMED
|
@@ -26,25 +26,28 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
29
|
+
exports.ProductPriceCustom$ = exports.ProductPriceCustom$outboundSchema = exports.ProductPriceCustom$inboundSchema = void 0;
|
|
30
|
+
exports.productPriceCustomToJSON = productPriceCustomToJSON;
|
|
31
|
+
exports.productPriceCustomFromJSON = productPriceCustomFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
+
const productpricetype_js_1 = require("./productpricetype.js");
|
|
36
|
+
const subscriptionrecurringinterval_js_1 = require("./subscriptionrecurringinterval.js");
|
|
35
37
|
/** @internal */
|
|
36
|
-
exports.
|
|
38
|
+
exports.ProductPriceCustom$inboundSchema = z.object({
|
|
37
39
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
38
40
|
modified_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
39
41
|
id: z.string(),
|
|
40
42
|
amount_type: z.literal("custom").optional(),
|
|
41
43
|
is_archived: z.boolean(),
|
|
42
44
|
product_id: z.string(),
|
|
45
|
+
type: productpricetype_js_1.ProductPriceType$inboundSchema,
|
|
46
|
+
recurring_interval: z.nullable(subscriptionrecurringinterval_js_1.SubscriptionRecurringInterval$inboundSchema),
|
|
43
47
|
price_currency: z.string(),
|
|
44
48
|
minimum_amount: z.nullable(z.number().int()),
|
|
45
49
|
maximum_amount: z.nullable(z.number().int()),
|
|
46
50
|
preset_amount: z.nullable(z.number().int()),
|
|
47
|
-
type: z.literal("one_time").optional(),
|
|
48
51
|
}).transform((v) => {
|
|
49
52
|
return (0, primitives_js_1.remap)(v, {
|
|
50
53
|
"created_at": "createdAt",
|
|
@@ -52,6 +55,7 @@ exports.ProductPriceOneTimeCustom$inboundSchema = z.object({
|
|
|
52
55
|
"amount_type": "amountType",
|
|
53
56
|
"is_archived": "isArchived",
|
|
54
57
|
"product_id": "productId",
|
|
58
|
+
"recurring_interval": "recurringInterval",
|
|
55
59
|
"price_currency": "priceCurrency",
|
|
56
60
|
"minimum_amount": "minimumAmount",
|
|
57
61
|
"maximum_amount": "maximumAmount",
|
|
@@ -59,18 +63,19 @@ exports.ProductPriceOneTimeCustom$inboundSchema = z.object({
|
|
|
59
63
|
});
|
|
60
64
|
});
|
|
61
65
|
/** @internal */
|
|
62
|
-
exports.
|
|
66
|
+
exports.ProductPriceCustom$outboundSchema = z.object({
|
|
63
67
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
64
68
|
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
65
69
|
id: z.string(),
|
|
66
70
|
amountType: z.literal("custom").default("custom"),
|
|
67
71
|
isArchived: z.boolean(),
|
|
68
72
|
productId: z.string(),
|
|
73
|
+
type: productpricetype_js_1.ProductPriceType$outboundSchema,
|
|
74
|
+
recurringInterval: z.nullable(subscriptionrecurringinterval_js_1.SubscriptionRecurringInterval$outboundSchema),
|
|
69
75
|
priceCurrency: z.string(),
|
|
70
76
|
minimumAmount: z.nullable(z.number().int()),
|
|
71
77
|
maximumAmount: z.nullable(z.number().int()),
|
|
72
78
|
presetAmount: z.nullable(z.number().int()),
|
|
73
|
-
type: z.literal("one_time").default("one_time"),
|
|
74
79
|
}).transform((v) => {
|
|
75
80
|
return (0, primitives_js_1.remap)(v, {
|
|
76
81
|
createdAt: "created_at",
|
|
@@ -78,6 +83,7 @@ exports.ProductPriceOneTimeCustom$outboundSchema = z.object({
|
|
|
78
83
|
amountType: "amount_type",
|
|
79
84
|
isArchived: "is_archived",
|
|
80
85
|
productId: "product_id",
|
|
86
|
+
recurringInterval: "recurring_interval",
|
|
81
87
|
priceCurrency: "price_currency",
|
|
82
88
|
minimumAmount: "minimum_amount",
|
|
83
89
|
maximumAmount: "maximum_amount",
|
|
@@ -88,17 +94,17 @@ exports.ProductPriceOneTimeCustom$outboundSchema = z.object({
|
|
|
88
94
|
* @internal
|
|
89
95
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
96
|
*/
|
|
91
|
-
var
|
|
92
|
-
(function (
|
|
93
|
-
/** @deprecated use `
|
|
94
|
-
|
|
95
|
-
/** @deprecated use `
|
|
96
|
-
|
|
97
|
-
})(
|
|
98
|
-
function
|
|
99
|
-
return JSON.stringify(exports.
|
|
97
|
+
var ProductPriceCustom$;
|
|
98
|
+
(function (ProductPriceCustom$) {
|
|
99
|
+
/** @deprecated use `ProductPriceCustom$inboundSchema` instead. */
|
|
100
|
+
ProductPriceCustom$.inboundSchema = exports.ProductPriceCustom$inboundSchema;
|
|
101
|
+
/** @deprecated use `ProductPriceCustom$outboundSchema` instead. */
|
|
102
|
+
ProductPriceCustom$.outboundSchema = exports.ProductPriceCustom$outboundSchema;
|
|
103
|
+
})(ProductPriceCustom$ || (exports.ProductPriceCustom$ = ProductPriceCustom$ = {}));
|
|
104
|
+
function productPriceCustomToJSON(productPriceCustom) {
|
|
105
|
+
return JSON.stringify(exports.ProductPriceCustom$outboundSchema.parse(productPriceCustom));
|
|
100
106
|
}
|
|
101
|
-
function
|
|
102
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
107
|
+
function productPriceCustomFromJSON(jsonString) {
|
|
108
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ProductPriceCustom$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProductPriceCustom' from JSON`);
|
|
103
109
|
}
|
|
104
|
-
//# sourceMappingURL=
|
|
110
|
+
//# sourceMappingURL=productpricecustom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productpricecustom.js","sourceRoot":"","sources":["../../../../src/models/components/productpricecustom.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAmKH,4DAMC;AAED,gEAQC;AAjLD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,+DAI+B;AAC/B,yFAI4C;AAkD5C,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC7E,WAAW,EAAE,CAAC,CAAC,QAAQ,CACrB,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAClE;IACD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE;IAC3C,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,IAAI,EAAE,oDAA8B;IACpC,kBAAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,8EAA2C,CAAC;IAC3E,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC;IAC5C,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC;IAC5C,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC;CAC5C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,aAAa,EAAE,YAAY;QAC3B,aAAa,EAAE,YAAY;QAC3B,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,WAAW;QACzB,oBAAoB,EAAE,mBAAmB;QACzC,gBAAgB,EAAE,eAAe;QACjC,gBAAgB,EAAE,eAAe;QACjC,gBAAgB,EAAE,eAAe;QACjC,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAkBH,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACnD,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;IAChE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,QAAiB,CAAC;IAC1D,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,qDAA+B;IACrC,iBAAiB,EAAE,CAAC,CAAC,QAAQ,CAAC,+EAA4C,CAAC;IAC3E,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC;IAC3C,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC;IAC3C,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC;CAC3C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;QACvB,iBAAiB,EAAE,oBAAoB;QACvC,aAAa,EAAE,gBAAgB;QAC/B,aAAa,EAAE,gBAAgB;QAC/B,aAAa,EAAE,gBAAgB;QAC/B,YAAY,EAAE,eAAe;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IAClC,kEAAkE;IACrD,iCAAa,GAAG,wCAAgC,CAAC;IAC9D,mEAAmE;IACtD,kCAAc,GAAG,yCAAiC,CAAC;AAGlE,CAAC,EAPgB,mBAAmB,mCAAnB,mBAAmB,QAOnC;AAED,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC;AAED,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* Schema to create a pay-what-you-want price.
|
|
6
|
+
*/
|
|
7
|
+
export type ProductPriceCustomCreate = {
|
|
8
|
+
amountType?: "custom" | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* The currency. Currently, only `usd` is supported.
|
|
11
|
+
*/
|
|
12
|
+
priceCurrency?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* The minimum amount the customer can pay.
|
|
15
|
+
*/
|
|
16
|
+
minimumAmount?: number | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum amount the customer can pay.
|
|
19
|
+
*/
|
|
20
|
+
maximumAmount?: number | null | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* The initial amount shown to the customer.
|
|
23
|
+
*/
|
|
24
|
+
presetAmount?: number | null | undefined;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const ProductPriceCustomCreate$inboundSchema: z.ZodType<ProductPriceCustomCreate, z.ZodTypeDef, unknown>;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type ProductPriceCustomCreate$Outbound = {
|
|
30
|
+
amount_type: "custom";
|
|
31
|
+
price_currency: string;
|
|
32
|
+
minimum_amount?: number | null | undefined;
|
|
33
|
+
maximum_amount?: number | null | undefined;
|
|
34
|
+
preset_amount?: number | null | undefined;
|
|
35
|
+
};
|
|
36
|
+
/** @internal */
|
|
37
|
+
export declare const ProductPriceCustomCreate$outboundSchema: z.ZodType<ProductPriceCustomCreate$Outbound, z.ZodTypeDef, ProductPriceCustomCreate>;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
41
|
+
*/
|
|
42
|
+
export declare namespace ProductPriceCustomCreate$ {
|
|
43
|
+
/** @deprecated use `ProductPriceCustomCreate$inboundSchema` instead. */
|
|
44
|
+
const inboundSchema: z.ZodType<ProductPriceCustomCreate, z.ZodTypeDef, unknown>;
|
|
45
|
+
/** @deprecated use `ProductPriceCustomCreate$outboundSchema` instead. */
|
|
46
|
+
const outboundSchema: z.ZodType<ProductPriceCustomCreate$Outbound, z.ZodTypeDef, ProductPriceCustomCreate>;
|
|
47
|
+
/** @deprecated use `ProductPriceCustomCreate$Outbound` instead. */
|
|
48
|
+
type Outbound = ProductPriceCustomCreate$Outbound;
|
|
49
|
+
}
|
|
50
|
+
export declare function productPriceCustomCreateToJSON(productPriceCustomCreate: ProductPriceCustomCreate): string;
|
|
51
|
+
export declare function productPriceCustomCreateFromJSON(jsonString: string): SafeParseResult<ProductPriceCustomCreate, SDKValidationError>;
|
|
52
|
+
//# sourceMappingURL=productpricecustomcreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productpricecustomcreate.d.ts","sourceRoot":"","sources":["../../../../src/models/components/productpricecustomcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAeP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,WAAW,EAAE,QAAQ,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAexB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,yBAAyB,CAAC;IACzC,wEAAwE;IACjE,MAAM,aAAa,4DAAyC,CAAC;IACpE,yEAAyE;IAClE,MAAM,cAAc,sFAA0C,CAAC;IACtE,mEAAmE;IACnE,KAAY,QAAQ,GAAG,iCAAiC,CAAC;CAC1D;AAED,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -26,15 +26,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
29
|
+
exports.ProductPriceCustomCreate$ = exports.ProductPriceCustomCreate$outboundSchema = exports.ProductPriceCustomCreate$inboundSchema = void 0;
|
|
30
|
+
exports.productPriceCustomCreateToJSON = productPriceCustomCreateToJSON;
|
|
31
|
+
exports.productPriceCustomCreateFromJSON = productPriceCustomCreateFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
35
|
/** @internal */
|
|
36
|
-
exports.
|
|
37
|
-
type: z.literal("one_time").optional(),
|
|
36
|
+
exports.ProductPriceCustomCreate$inboundSchema = z.object({
|
|
38
37
|
amount_type: z.literal("custom").optional(),
|
|
39
38
|
price_currency: z.string().default("usd"),
|
|
40
39
|
minimum_amount: z.nullable(z.number().int()).optional(),
|
|
@@ -50,8 +49,7 @@ exports.ProductPriceOneTimeCustomCreate$inboundSchema = z.object({
|
|
|
50
49
|
});
|
|
51
50
|
});
|
|
52
51
|
/** @internal */
|
|
53
|
-
exports.
|
|
54
|
-
type: z.literal("one_time").default("one_time"),
|
|
52
|
+
exports.ProductPriceCustomCreate$outboundSchema = z.object({
|
|
55
53
|
amountType: z.literal("custom").default("custom"),
|
|
56
54
|
priceCurrency: z.string().default("usd"),
|
|
57
55
|
minimumAmount: z.nullable(z.number().int()).optional(),
|
|
@@ -70,17 +68,17 @@ exports.ProductPriceOneTimeCustomCreate$outboundSchema = z.object({
|
|
|
70
68
|
* @internal
|
|
71
69
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
72
70
|
*/
|
|
73
|
-
var
|
|
74
|
-
(function (
|
|
75
|
-
/** @deprecated use `
|
|
76
|
-
|
|
77
|
-
/** @deprecated use `
|
|
78
|
-
|
|
79
|
-
})(
|
|
80
|
-
function
|
|
81
|
-
return JSON.stringify(exports.
|
|
71
|
+
var ProductPriceCustomCreate$;
|
|
72
|
+
(function (ProductPriceCustomCreate$) {
|
|
73
|
+
/** @deprecated use `ProductPriceCustomCreate$inboundSchema` instead. */
|
|
74
|
+
ProductPriceCustomCreate$.inboundSchema = exports.ProductPriceCustomCreate$inboundSchema;
|
|
75
|
+
/** @deprecated use `ProductPriceCustomCreate$outboundSchema` instead. */
|
|
76
|
+
ProductPriceCustomCreate$.outboundSchema = exports.ProductPriceCustomCreate$outboundSchema;
|
|
77
|
+
})(ProductPriceCustomCreate$ || (exports.ProductPriceCustomCreate$ = ProductPriceCustomCreate$ = {}));
|
|
78
|
+
function productPriceCustomCreateToJSON(productPriceCustomCreate) {
|
|
79
|
+
return JSON.stringify(exports.ProductPriceCustomCreate$outboundSchema.parse(productPriceCustomCreate));
|
|
82
80
|
}
|
|
83
|
-
function
|
|
84
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
81
|
+
function productPriceCustomCreateFromJSON(jsonString) {
|
|
82
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ProductPriceCustomCreate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProductPriceCustomCreate' from JSON`);
|
|
85
83
|
}
|
|
86
|
-
//# sourceMappingURL=
|
|
84
|
+
//# sourceMappingURL=productpricecustomcreate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productpricecustomcreate.js","sourceRoot":"","sources":["../../../../src/models/components/productpricecustomcreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA+FH,wEAMC;AAED,4EAQC;AA7GD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AA2BjD,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE;IAC3C,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACzC,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvD,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACvD,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,YAAY;QAC3B,gBAAgB,EAAE,eAAe;QACjC,gBAAgB,EAAE,eAAe;QACjC,gBAAgB,EAAE,eAAe;QACjC,eAAe,EAAE,cAAc;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,QAAiB,CAAC;IAC1D,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACxC,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;QACzB,aAAa,EAAE,gBAAgB;QAC/B,aAAa,EAAE,gBAAgB;QAC/B,aAAa,EAAE,gBAAgB;QAC/B,YAAY,EAAE,eAAe;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,yBAAyB,CAOzC;AAPD,WAAiB,yBAAyB;IACxC,wEAAwE;IAC3D,uCAAa,GAAG,8CAAsC,CAAC;IACpE,yEAAyE;IAC5D,wCAAc,GAAG,+CAAuC,CAAC;AAGxE,CAAC,EAPgB,yBAAyB,yCAAzB,yBAAyB,QAOzC;AAED,SAAgB,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,+CAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { ProductPriceType } from "./productpricetype.js";
|
|
5
|
+
import { SubscriptionRecurringInterval } from "./subscriptionrecurringinterval.js";
|
|
6
|
+
/**
|
|
7
|
+
* A fixed price for a product.
|
|
8
|
+
*/
|
|
9
|
+
export type ProductPriceFixed = {
|
|
10
|
+
/**
|
|
11
|
+
* Creation timestamp of the object.
|
|
12
|
+
*/
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
/**
|
|
15
|
+
* Last modification timestamp of the object.
|
|
16
|
+
*/
|
|
17
|
+
modifiedAt: Date | null;
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the price.
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
amountType?: "fixed" | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the price is archived and no longer available.
|
|
25
|
+
*/
|
|
26
|
+
isArchived: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the product owning the price.
|
|
29
|
+
*/
|
|
30
|
+
productId: string;
|
|
31
|
+
type: ProductPriceType;
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
34
|
+
*/
|
|
35
|
+
recurringInterval: SubscriptionRecurringInterval | null;
|
|
36
|
+
/**
|
|
37
|
+
* The currency.
|
|
38
|
+
*/
|
|
39
|
+
priceCurrency: string;
|
|
40
|
+
/**
|
|
41
|
+
* The price in cents.
|
|
42
|
+
*/
|
|
43
|
+
priceAmount: number;
|
|
44
|
+
};
|
|
45
|
+
/** @internal */
|
|
46
|
+
export declare const ProductPriceFixed$inboundSchema: z.ZodType<ProductPriceFixed, z.ZodTypeDef, unknown>;
|
|
47
|
+
/** @internal */
|
|
48
|
+
export type ProductPriceFixed$Outbound = {
|
|
49
|
+
created_at: string;
|
|
50
|
+
modified_at: string | null;
|
|
51
|
+
id: string;
|
|
52
|
+
amount_type: "fixed";
|
|
53
|
+
is_archived: boolean;
|
|
54
|
+
product_id: string;
|
|
55
|
+
type: string;
|
|
56
|
+
recurring_interval: string | null;
|
|
57
|
+
price_currency: string;
|
|
58
|
+
price_amount: number;
|
|
59
|
+
};
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const ProductPriceFixed$outboundSchema: z.ZodType<ProductPriceFixed$Outbound, z.ZodTypeDef, ProductPriceFixed>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
+
*/
|
|
66
|
+
export declare namespace ProductPriceFixed$ {
|
|
67
|
+
/** @deprecated use `ProductPriceFixed$inboundSchema` instead. */
|
|
68
|
+
const inboundSchema: z.ZodType<ProductPriceFixed, z.ZodTypeDef, unknown>;
|
|
69
|
+
/** @deprecated use `ProductPriceFixed$outboundSchema` instead. */
|
|
70
|
+
const outboundSchema: z.ZodType<ProductPriceFixed$Outbound, z.ZodTypeDef, ProductPriceFixed>;
|
|
71
|
+
/** @deprecated use `ProductPriceFixed$Outbound` instead. */
|
|
72
|
+
type Outbound = ProductPriceFixed$Outbound;
|
|
73
|
+
}
|
|
74
|
+
export declare function productPriceFixedToJSON(productPriceFixed: ProductPriceFixed): string;
|
|
75
|
+
export declare function productPriceFixedFromJSON(jsonString: string): SafeParseResult<ProductPriceFixed, SDKValidationError>;
|
|
76
|
+
//# sourceMappingURL=productpricefixed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productpricefixed.d.ts","sourceRoot":"","sources":["../../../../src/models/components/productpricefixed.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAGjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,6BAA6B,EAG9B,MAAM,oCAAoC,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,gBAAgB,CAAC;IACvB;;OAEG;IACH,iBAAiB,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACxD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAyBP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAuBjB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa,qDAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc,wEAAmC,CAAC;IAC/D,4DAA4D;IAC5D,KAAY,QAAQ,GAAG,0BAA0B,CAAC;CACnD;AAED,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
package/dist/commonjs/models/components/{productpriceonetimefixed.js → productpricefixed.js}
RENAMED
|
@@ -26,23 +26,26 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
29
|
+
exports.ProductPriceFixed$ = exports.ProductPriceFixed$outboundSchema = exports.ProductPriceFixed$inboundSchema = void 0;
|
|
30
|
+
exports.productPriceFixedToJSON = productPriceFixedToJSON;
|
|
31
|
+
exports.productPriceFixedFromJSON = productPriceFixedFromJSON;
|
|
32
32
|
const z = __importStar(require("zod"));
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
|
+
const productpricetype_js_1 = require("./productpricetype.js");
|
|
36
|
+
const subscriptionrecurringinterval_js_1 = require("./subscriptionrecurringinterval.js");
|
|
35
37
|
/** @internal */
|
|
36
|
-
exports.
|
|
38
|
+
exports.ProductPriceFixed$inboundSchema = z.object({
|
|
37
39
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
38
40
|
modified_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
39
41
|
id: z.string(),
|
|
40
42
|
amount_type: z.literal("fixed").optional(),
|
|
41
43
|
is_archived: z.boolean(),
|
|
42
44
|
product_id: z.string(),
|
|
45
|
+
type: productpricetype_js_1.ProductPriceType$inboundSchema,
|
|
46
|
+
recurring_interval: z.nullable(subscriptionrecurringinterval_js_1.SubscriptionRecurringInterval$inboundSchema),
|
|
43
47
|
price_currency: z.string(),
|
|
44
48
|
price_amount: z.number().int(),
|
|
45
|
-
type: z.literal("one_time").optional(),
|
|
46
49
|
}).transform((v) => {
|
|
47
50
|
return (0, primitives_js_1.remap)(v, {
|
|
48
51
|
"created_at": "createdAt",
|
|
@@ -50,21 +53,23 @@ exports.ProductPriceOneTimeFixed$inboundSchema = z.object({
|
|
|
50
53
|
"amount_type": "amountType",
|
|
51
54
|
"is_archived": "isArchived",
|
|
52
55
|
"product_id": "productId",
|
|
56
|
+
"recurring_interval": "recurringInterval",
|
|
53
57
|
"price_currency": "priceCurrency",
|
|
54
58
|
"price_amount": "priceAmount",
|
|
55
59
|
});
|
|
56
60
|
});
|
|
57
61
|
/** @internal */
|
|
58
|
-
exports.
|
|
62
|
+
exports.ProductPriceFixed$outboundSchema = z.object({
|
|
59
63
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
60
64
|
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
61
65
|
id: z.string(),
|
|
62
66
|
amountType: z.literal("fixed").default("fixed"),
|
|
63
67
|
isArchived: z.boolean(),
|
|
64
68
|
productId: z.string(),
|
|
69
|
+
type: productpricetype_js_1.ProductPriceType$outboundSchema,
|
|
70
|
+
recurringInterval: z.nullable(subscriptionrecurringinterval_js_1.SubscriptionRecurringInterval$outboundSchema),
|
|
65
71
|
priceCurrency: z.string(),
|
|
66
72
|
priceAmount: z.number().int(),
|
|
67
|
-
type: z.literal("one_time").default("one_time"),
|
|
68
73
|
}).transform((v) => {
|
|
69
74
|
return (0, primitives_js_1.remap)(v, {
|
|
70
75
|
createdAt: "created_at",
|
|
@@ -72,6 +77,7 @@ exports.ProductPriceOneTimeFixed$outboundSchema = z.object({
|
|
|
72
77
|
amountType: "amount_type",
|
|
73
78
|
isArchived: "is_archived",
|
|
74
79
|
productId: "product_id",
|
|
80
|
+
recurringInterval: "recurring_interval",
|
|
75
81
|
priceCurrency: "price_currency",
|
|
76
82
|
priceAmount: "price_amount",
|
|
77
83
|
});
|
|
@@ -80,17 +86,17 @@ exports.ProductPriceOneTimeFixed$outboundSchema = z.object({
|
|
|
80
86
|
* @internal
|
|
81
87
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
82
88
|
*/
|
|
83
|
-
var
|
|
84
|
-
(function (
|
|
85
|
-
/** @deprecated use `
|
|
86
|
-
|
|
87
|
-
/** @deprecated use `
|
|
88
|
-
|
|
89
|
-
})(
|
|
90
|
-
function
|
|
91
|
-
return JSON.stringify(exports.
|
|
89
|
+
var ProductPriceFixed$;
|
|
90
|
+
(function (ProductPriceFixed$) {
|
|
91
|
+
/** @deprecated use `ProductPriceFixed$inboundSchema` instead. */
|
|
92
|
+
ProductPriceFixed$.inboundSchema = exports.ProductPriceFixed$inboundSchema;
|
|
93
|
+
/** @deprecated use `ProductPriceFixed$outboundSchema` instead. */
|
|
94
|
+
ProductPriceFixed$.outboundSchema = exports.ProductPriceFixed$outboundSchema;
|
|
95
|
+
})(ProductPriceFixed$ || (exports.ProductPriceFixed$ = ProductPriceFixed$ = {}));
|
|
96
|
+
function productPriceFixedToJSON(productPriceFixed) {
|
|
97
|
+
return JSON.stringify(exports.ProductPriceFixed$outboundSchema.parse(productPriceFixed));
|
|
92
98
|
}
|
|
93
|
-
function
|
|
94
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.
|
|
99
|
+
function productPriceFixedFromJSON(jsonString) {
|
|
100
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ProductPriceFixed$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProductPriceFixed' from JSON`);
|
|
95
101
|
}
|
|
96
|
-
//# sourceMappingURL=
|
|
102
|
+
//# sourceMappingURL=productpricefixed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productpricefixed.js","sourceRoot":"","sources":["../../../../src/models/components/productpricefixed.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAiJH,0DAMC;AAED,8DAQC;AA/JD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,+DAI+B;AAC/B,yFAI4C;AA0C5C,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC7E,WAAW,EAAE,CAAC,CAAC,QAAQ,CACrB,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAClE;IACD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE;IAC1C,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,IAAI,EAAE,oDAA8B;IACpC,kBAAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,8EAA2C,CAAC;IAC3E,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC/B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,aAAa,EAAE,YAAY;QAC3B,aAAa,EAAE,YAAY;QAC3B,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,WAAW;QACzB,oBAAoB,EAAE,mBAAmB;QACzC,gBAAgB,EAAE,eAAe;QACjC,cAAc,EAAE,aAAa;KAC9B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAgBH,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACnD,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;IAChE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,OAAgB,CAAC;IACxD,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,qDAA+B;IACrC,iBAAiB,EAAE,CAAC,CAAC,QAAQ,CAAC,+EAA4C,CAAC;IAC3E,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC9B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;QACvB,iBAAiB,EAAE,oBAAoB;QACvC,aAAa,EAAE,gBAAgB;QAC/B,WAAW,EAAE,cAAc;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC;AAED,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* Schema to create a fixed price.
|
|
6
|
+
*/
|
|
7
|
+
export type ProductPriceFixedCreate = {
|
|
8
|
+
amountType?: "fixed" | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* The price in cents.
|
|
11
|
+
*/
|
|
12
|
+
priceAmount: number;
|
|
13
|
+
/**
|
|
14
|
+
* The currency. Currently, only `usd` is supported.
|
|
15
|
+
*/
|
|
16
|
+
priceCurrency?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const ProductPriceFixedCreate$inboundSchema: z.ZodType<ProductPriceFixedCreate, z.ZodTypeDef, unknown>;
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type ProductPriceFixedCreate$Outbound = {
|
|
22
|
+
amount_type: "fixed";
|
|
23
|
+
price_amount: number;
|
|
24
|
+
price_currency: string;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const ProductPriceFixedCreate$outboundSchema: z.ZodType<ProductPriceFixedCreate$Outbound, z.ZodTypeDef, ProductPriceFixedCreate>;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
31
|
+
*/
|
|
32
|
+
export declare namespace ProductPriceFixedCreate$ {
|
|
33
|
+
/** @deprecated use `ProductPriceFixedCreate$inboundSchema` instead. */
|
|
34
|
+
const inboundSchema: z.ZodType<ProductPriceFixedCreate, z.ZodTypeDef, unknown>;
|
|
35
|
+
/** @deprecated use `ProductPriceFixedCreate$outboundSchema` instead. */
|
|
36
|
+
const outboundSchema: z.ZodType<ProductPriceFixedCreate$Outbound, z.ZodTypeDef, ProductPriceFixedCreate>;
|
|
37
|
+
/** @deprecated use `ProductPriceFixedCreate$Outbound` instead. */
|
|
38
|
+
type Outbound = ProductPriceFixedCreate$Outbound;
|
|
39
|
+
}
|
|
40
|
+
export declare function productPriceFixedCreateToJSON(productPriceFixedCreate: ProductPriceFixedCreate): string;
|
|
41
|
+
export declare function productPriceFixedCreateFromJSON(jsonString: string): SafeParseResult<ProductPriceFixedCreate, SDKValidationError>;
|
|
42
|
+
//# sourceMappingURL=productpricefixedcreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productpricefixedcreate.d.ts","sourceRoot":"","sources":["../../../../src/models/components/productpricefixedcreate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAWvB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa,2DAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc,oFAAyC,CAAC;IACrE,kEAAkE;IAClE,KAAY,QAAQ,GAAG,gCAAgC,CAAC;CACzD;AAED,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|