@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
|
@@ -7,6 +7,11 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
SubscriptionRecurringInterval,
|
|
12
|
+
SubscriptionRecurringInterval$inboundSchema,
|
|
13
|
+
SubscriptionRecurringInterval$outboundSchema,
|
|
14
|
+
} from "./subscriptionrecurringinterval.js";
|
|
10
15
|
|
|
11
16
|
/**
|
|
12
17
|
* A product that a discount can be applied to.
|
|
@@ -33,7 +38,11 @@ export type DiscountProduct = {
|
|
|
33
38
|
*/
|
|
34
39
|
description: string | null;
|
|
35
40
|
/**
|
|
36
|
-
*
|
|
41
|
+
* The recurring interval of the product. If `None`, the product is a one-time purchase.
|
|
42
|
+
*/
|
|
43
|
+
recurringInterval: SubscriptionRecurringInterval | null;
|
|
44
|
+
/**
|
|
45
|
+
* Whether the product is a subscription.
|
|
37
46
|
*/
|
|
38
47
|
isRecurring: boolean;
|
|
39
48
|
/**
|
|
@@ -59,6 +68,7 @@ export const DiscountProduct$inboundSchema: z.ZodType<
|
|
|
59
68
|
id: z.string(),
|
|
60
69
|
name: z.string(),
|
|
61
70
|
description: z.nullable(z.string()),
|
|
71
|
+
recurring_interval: z.nullable(SubscriptionRecurringInterval$inboundSchema),
|
|
62
72
|
is_recurring: z.boolean(),
|
|
63
73
|
is_archived: z.boolean(),
|
|
64
74
|
organization_id: z.string(),
|
|
@@ -66,6 +76,7 @@ export const DiscountProduct$inboundSchema: z.ZodType<
|
|
|
66
76
|
return remap$(v, {
|
|
67
77
|
"created_at": "createdAt",
|
|
68
78
|
"modified_at": "modifiedAt",
|
|
79
|
+
"recurring_interval": "recurringInterval",
|
|
69
80
|
"is_recurring": "isRecurring",
|
|
70
81
|
"is_archived": "isArchived",
|
|
71
82
|
"organization_id": "organizationId",
|
|
@@ -79,6 +90,7 @@ export type DiscountProduct$Outbound = {
|
|
|
79
90
|
id: string;
|
|
80
91
|
name: string;
|
|
81
92
|
description: string | null;
|
|
93
|
+
recurring_interval: string | null;
|
|
82
94
|
is_recurring: boolean;
|
|
83
95
|
is_archived: boolean;
|
|
84
96
|
organization_id: string;
|
|
@@ -95,6 +107,7 @@ export const DiscountProduct$outboundSchema: z.ZodType<
|
|
|
95
107
|
id: z.string(),
|
|
96
108
|
name: z.string(),
|
|
97
109
|
description: z.nullable(z.string()),
|
|
110
|
+
recurringInterval: z.nullable(SubscriptionRecurringInterval$outboundSchema),
|
|
98
111
|
isRecurring: z.boolean(),
|
|
99
112
|
isArchived: z.boolean(),
|
|
100
113
|
organizationId: z.string(),
|
|
@@ -102,6 +115,7 @@ export const DiscountProduct$outboundSchema: z.ZodType<
|
|
|
102
115
|
return remap$(v, {
|
|
103
116
|
createdAt: "created_at",
|
|
104
117
|
modifiedAt: "modified_at",
|
|
118
|
+
recurringInterval: "recurring_interval",
|
|
105
119
|
isRecurring: "is_recurring",
|
|
106
120
|
isArchived: "is_archived",
|
|
107
121
|
organizationId: "organization_id",
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
LegacyRecurringProductPriceCustom,
|
|
11
|
+
LegacyRecurringProductPriceCustom$inboundSchema,
|
|
12
|
+
LegacyRecurringProductPriceCustom$Outbound,
|
|
13
|
+
LegacyRecurringProductPriceCustom$outboundSchema,
|
|
14
|
+
} from "./legacyrecurringproductpricecustom.js";
|
|
15
|
+
import {
|
|
16
|
+
LegacyRecurringProductPriceFixed,
|
|
17
|
+
LegacyRecurringProductPriceFixed$inboundSchema,
|
|
18
|
+
LegacyRecurringProductPriceFixed$Outbound,
|
|
19
|
+
LegacyRecurringProductPriceFixed$outboundSchema,
|
|
20
|
+
} from "./legacyrecurringproductpricefixed.js";
|
|
21
|
+
import {
|
|
22
|
+
LegacyRecurringProductPriceFree,
|
|
23
|
+
LegacyRecurringProductPriceFree$inboundSchema,
|
|
24
|
+
LegacyRecurringProductPriceFree$Outbound,
|
|
25
|
+
LegacyRecurringProductPriceFree$outboundSchema,
|
|
26
|
+
} from "./legacyrecurringproductpricefree.js";
|
|
27
|
+
|
|
28
|
+
export type LegacyRecurringProductPrice =
|
|
29
|
+
| (LegacyRecurringProductPriceFree & { amountType: "free" })
|
|
30
|
+
| (LegacyRecurringProductPriceFixed & { amountType: "fixed" })
|
|
31
|
+
| (LegacyRecurringProductPriceCustom & { amountType: "custom" });
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const LegacyRecurringProductPrice$inboundSchema: z.ZodType<
|
|
35
|
+
LegacyRecurringProductPrice,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
unknown
|
|
38
|
+
> = z.union([
|
|
39
|
+
LegacyRecurringProductPriceFree$inboundSchema.and(
|
|
40
|
+
z.object({ amount_type: z.literal("free") }).transform((v) => ({
|
|
41
|
+
amountType: v.amount_type,
|
|
42
|
+
})),
|
|
43
|
+
),
|
|
44
|
+
LegacyRecurringProductPriceFixed$inboundSchema.and(
|
|
45
|
+
z.object({ amount_type: z.literal("fixed") }).transform((v) => ({
|
|
46
|
+
amountType: v.amount_type,
|
|
47
|
+
})),
|
|
48
|
+
),
|
|
49
|
+
LegacyRecurringProductPriceCustom$inboundSchema.and(
|
|
50
|
+
z.object({ amount_type: z.literal("custom") }).transform((v) => ({
|
|
51
|
+
amountType: v.amount_type,
|
|
52
|
+
})),
|
|
53
|
+
),
|
|
54
|
+
]);
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export type LegacyRecurringProductPrice$Outbound =
|
|
58
|
+
| (LegacyRecurringProductPriceFree$Outbound & { amount_type: "free" })
|
|
59
|
+
| (LegacyRecurringProductPriceFixed$Outbound & { amount_type: "fixed" })
|
|
60
|
+
| (LegacyRecurringProductPriceCustom$Outbound & { amount_type: "custom" });
|
|
61
|
+
|
|
62
|
+
/** @internal */
|
|
63
|
+
export const LegacyRecurringProductPrice$outboundSchema: z.ZodType<
|
|
64
|
+
LegacyRecurringProductPrice$Outbound,
|
|
65
|
+
z.ZodTypeDef,
|
|
66
|
+
LegacyRecurringProductPrice
|
|
67
|
+
> = z.union([
|
|
68
|
+
LegacyRecurringProductPriceFree$outboundSchema.and(
|
|
69
|
+
z.object({ amountType: z.literal("free") }).transform((v) => ({
|
|
70
|
+
amount_type: v.amountType,
|
|
71
|
+
})),
|
|
72
|
+
),
|
|
73
|
+
LegacyRecurringProductPriceFixed$outboundSchema.and(
|
|
74
|
+
z.object({ amountType: z.literal("fixed") }).transform((v) => ({
|
|
75
|
+
amount_type: v.amountType,
|
|
76
|
+
})),
|
|
77
|
+
),
|
|
78
|
+
LegacyRecurringProductPriceCustom$outboundSchema.and(
|
|
79
|
+
z.object({ amountType: z.literal("custom") }).transform((v) => ({
|
|
80
|
+
amount_type: v.amountType,
|
|
81
|
+
})),
|
|
82
|
+
),
|
|
83
|
+
]);
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
+
*/
|
|
89
|
+
export namespace LegacyRecurringProductPrice$ {
|
|
90
|
+
/** @deprecated use `LegacyRecurringProductPrice$inboundSchema` instead. */
|
|
91
|
+
export const inboundSchema = LegacyRecurringProductPrice$inboundSchema;
|
|
92
|
+
/** @deprecated use `LegacyRecurringProductPrice$outboundSchema` instead. */
|
|
93
|
+
export const outboundSchema = LegacyRecurringProductPrice$outboundSchema;
|
|
94
|
+
/** @deprecated use `LegacyRecurringProductPrice$Outbound` instead. */
|
|
95
|
+
export type Outbound = LegacyRecurringProductPrice$Outbound;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function legacyRecurringProductPriceToJSON(
|
|
99
|
+
legacyRecurringProductPrice: LegacyRecurringProductPrice,
|
|
100
|
+
): string {
|
|
101
|
+
return JSON.stringify(
|
|
102
|
+
LegacyRecurringProductPrice$outboundSchema.parse(
|
|
103
|
+
legacyRecurringProductPrice,
|
|
104
|
+
),
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function legacyRecurringProductPriceFromJSON(
|
|
109
|
+
jsonString: string,
|
|
110
|
+
): SafeParseResult<LegacyRecurringProductPrice, SDKValidationError> {
|
|
111
|
+
return safeParse(
|
|
112
|
+
jsonString,
|
|
113
|
+
(x) => LegacyRecurringProductPrice$inboundSchema.parse(JSON.parse(x)),
|
|
114
|
+
`Failed to parse 'LegacyRecurringProductPrice' from JSON`,
|
|
115
|
+
);
|
|
116
|
+
}
|
|
@@ -15,8 +15,12 @@ import {
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* A pay-what-you-want recurring price for a product, i.e. a subscription.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
*
|
|
21
|
+
* **Deprecated**: The recurring interval should be set on the product itself.
|
|
18
22
|
*/
|
|
19
|
-
export type
|
|
23
|
+
export type LegacyRecurringProductPriceCustom = {
|
|
20
24
|
/**
|
|
21
25
|
* Creation timestamp of the object.
|
|
22
26
|
*/
|
|
@@ -38,6 +42,11 @@ export type ProductPriceRecurringCustom = {
|
|
|
38
42
|
* The ID of the product owning the price.
|
|
39
43
|
*/
|
|
40
44
|
productId: string;
|
|
45
|
+
/**
|
|
46
|
+
* The type of the price.
|
|
47
|
+
*/
|
|
48
|
+
type?: "recurring" | undefined;
|
|
49
|
+
recurringInterval: SubscriptionRecurringInterval;
|
|
41
50
|
/**
|
|
42
51
|
* The currency.
|
|
43
52
|
*/
|
|
@@ -54,16 +63,12 @@ export type ProductPriceRecurringCustom = {
|
|
|
54
63
|
* The initial amount shown to the customer.
|
|
55
64
|
*/
|
|
56
65
|
presetAmount: number | null;
|
|
57
|
-
|
|
58
|
-
* The type of the price.
|
|
59
|
-
*/
|
|
60
|
-
type?: "recurring" | undefined;
|
|
61
|
-
recurringInterval: SubscriptionRecurringInterval;
|
|
66
|
+
legacy?: true | undefined;
|
|
62
67
|
};
|
|
63
68
|
|
|
64
69
|
/** @internal */
|
|
65
|
-
export const
|
|
66
|
-
|
|
70
|
+
export const LegacyRecurringProductPriceCustom$inboundSchema: z.ZodType<
|
|
71
|
+
LegacyRecurringProductPriceCustom,
|
|
67
72
|
z.ZodTypeDef,
|
|
68
73
|
unknown
|
|
69
74
|
> = z.object({
|
|
@@ -75,12 +80,13 @@ export const ProductPriceRecurringCustom$inboundSchema: z.ZodType<
|
|
|
75
80
|
amount_type: z.literal("custom").optional(),
|
|
76
81
|
is_archived: z.boolean(),
|
|
77
82
|
product_id: z.string(),
|
|
83
|
+
type: z.literal("recurring").optional(),
|
|
84
|
+
recurring_interval: SubscriptionRecurringInterval$inboundSchema,
|
|
78
85
|
price_currency: z.string(),
|
|
79
86
|
minimum_amount: z.nullable(z.number().int()),
|
|
80
87
|
maximum_amount: z.nullable(z.number().int()),
|
|
81
88
|
preset_amount: z.nullable(z.number().int()),
|
|
82
|
-
|
|
83
|
-
recurring_interval: SubscriptionRecurringInterval$inboundSchema,
|
|
89
|
+
legacy: z.literal(true).optional(),
|
|
84
90
|
}).transform((v) => {
|
|
85
91
|
return remap$(v, {
|
|
86
92
|
"created_at": "createdAt",
|
|
@@ -88,35 +94,36 @@ export const ProductPriceRecurringCustom$inboundSchema: z.ZodType<
|
|
|
88
94
|
"amount_type": "amountType",
|
|
89
95
|
"is_archived": "isArchived",
|
|
90
96
|
"product_id": "productId",
|
|
97
|
+
"recurring_interval": "recurringInterval",
|
|
91
98
|
"price_currency": "priceCurrency",
|
|
92
99
|
"minimum_amount": "minimumAmount",
|
|
93
100
|
"maximum_amount": "maximumAmount",
|
|
94
101
|
"preset_amount": "presetAmount",
|
|
95
|
-
"recurring_interval": "recurringInterval",
|
|
96
102
|
});
|
|
97
103
|
});
|
|
98
104
|
|
|
99
105
|
/** @internal */
|
|
100
|
-
export type
|
|
106
|
+
export type LegacyRecurringProductPriceCustom$Outbound = {
|
|
101
107
|
created_at: string;
|
|
102
108
|
modified_at: string | null;
|
|
103
109
|
id: string;
|
|
104
110
|
amount_type: "custom";
|
|
105
111
|
is_archived: boolean;
|
|
106
112
|
product_id: string;
|
|
113
|
+
type: "recurring";
|
|
114
|
+
recurring_interval: string;
|
|
107
115
|
price_currency: string;
|
|
108
116
|
minimum_amount: number | null;
|
|
109
117
|
maximum_amount: number | null;
|
|
110
118
|
preset_amount: number | null;
|
|
111
|
-
|
|
112
|
-
recurring_interval: string;
|
|
119
|
+
legacy: true;
|
|
113
120
|
};
|
|
114
121
|
|
|
115
122
|
/** @internal */
|
|
116
|
-
export const
|
|
117
|
-
|
|
123
|
+
export const LegacyRecurringProductPriceCustom$outboundSchema: z.ZodType<
|
|
124
|
+
LegacyRecurringProductPriceCustom$Outbound,
|
|
118
125
|
z.ZodTypeDef,
|
|
119
|
-
|
|
126
|
+
LegacyRecurringProductPriceCustom
|
|
120
127
|
> = z.object({
|
|
121
128
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
122
129
|
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
@@ -124,12 +131,13 @@ export const ProductPriceRecurringCustom$outboundSchema: z.ZodType<
|
|
|
124
131
|
amountType: z.literal("custom").default("custom" as const),
|
|
125
132
|
isArchived: z.boolean(),
|
|
126
133
|
productId: z.string(),
|
|
134
|
+
type: z.literal("recurring").default("recurring" as const),
|
|
135
|
+
recurringInterval: SubscriptionRecurringInterval$outboundSchema,
|
|
127
136
|
priceCurrency: z.string(),
|
|
128
137
|
minimumAmount: z.nullable(z.number().int()),
|
|
129
138
|
maximumAmount: z.nullable(z.number().int()),
|
|
130
139
|
presetAmount: z.nullable(z.number().int()),
|
|
131
|
-
|
|
132
|
-
recurringInterval: SubscriptionRecurringInterval$outboundSchema,
|
|
140
|
+
legacy: z.literal(true).default(true as const),
|
|
133
141
|
}).transform((v) => {
|
|
134
142
|
return remap$(v, {
|
|
135
143
|
createdAt: "created_at",
|
|
@@ -137,11 +145,11 @@ export const ProductPriceRecurringCustom$outboundSchema: z.ZodType<
|
|
|
137
145
|
amountType: "amount_type",
|
|
138
146
|
isArchived: "is_archived",
|
|
139
147
|
productId: "product_id",
|
|
148
|
+
recurringInterval: "recurring_interval",
|
|
140
149
|
priceCurrency: "price_currency",
|
|
141
150
|
minimumAmount: "minimum_amount",
|
|
142
151
|
maximumAmount: "maximum_amount",
|
|
143
152
|
presetAmount: "preset_amount",
|
|
144
|
-
recurringInterval: "recurring_interval",
|
|
145
153
|
});
|
|
146
154
|
});
|
|
147
155
|
|
|
@@ -149,31 +157,32 @@ export const ProductPriceRecurringCustom$outboundSchema: z.ZodType<
|
|
|
149
157
|
* @internal
|
|
150
158
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
151
159
|
*/
|
|
152
|
-
export namespace
|
|
153
|
-
/** @deprecated use `
|
|
154
|
-
export const inboundSchema =
|
|
155
|
-
/** @deprecated use `
|
|
156
|
-
export const outboundSchema =
|
|
157
|
-
|
|
158
|
-
|
|
160
|
+
export namespace LegacyRecurringProductPriceCustom$ {
|
|
161
|
+
/** @deprecated use `LegacyRecurringProductPriceCustom$inboundSchema` instead. */
|
|
162
|
+
export const inboundSchema = LegacyRecurringProductPriceCustom$inboundSchema;
|
|
163
|
+
/** @deprecated use `LegacyRecurringProductPriceCustom$outboundSchema` instead. */
|
|
164
|
+
export const outboundSchema =
|
|
165
|
+
LegacyRecurringProductPriceCustom$outboundSchema;
|
|
166
|
+
/** @deprecated use `LegacyRecurringProductPriceCustom$Outbound` instead. */
|
|
167
|
+
export type Outbound = LegacyRecurringProductPriceCustom$Outbound;
|
|
159
168
|
}
|
|
160
169
|
|
|
161
|
-
export function
|
|
162
|
-
|
|
170
|
+
export function legacyRecurringProductPriceCustomToJSON(
|
|
171
|
+
legacyRecurringProductPriceCustom: LegacyRecurringProductPriceCustom,
|
|
163
172
|
): string {
|
|
164
173
|
return JSON.stringify(
|
|
165
|
-
|
|
166
|
-
|
|
174
|
+
LegacyRecurringProductPriceCustom$outboundSchema.parse(
|
|
175
|
+
legacyRecurringProductPriceCustom,
|
|
167
176
|
),
|
|
168
177
|
);
|
|
169
178
|
}
|
|
170
179
|
|
|
171
|
-
export function
|
|
180
|
+
export function legacyRecurringProductPriceCustomFromJSON(
|
|
172
181
|
jsonString: string,
|
|
173
|
-
): SafeParseResult<
|
|
182
|
+
): SafeParseResult<LegacyRecurringProductPriceCustom, SDKValidationError> {
|
|
174
183
|
return safeParse(
|
|
175
184
|
jsonString,
|
|
176
|
-
(x) =>
|
|
177
|
-
`Failed to parse '
|
|
185
|
+
(x) => LegacyRecurringProductPriceCustom$inboundSchema.parse(JSON.parse(x)),
|
|
186
|
+
`Failed to parse 'LegacyRecurringProductPriceCustom' from JSON`,
|
|
178
187
|
);
|
|
179
188
|
}
|
package/src/models/components/{productpricerecurringfixed.ts → legacyrecurringproductpricefixed.ts}
RENAMED
|
@@ -15,8 +15,12 @@ import {
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* A recurring price for a product, i.e. a subscription.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
*
|
|
21
|
+
* **Deprecated**: The recurring interval should be set on the product itself.
|
|
18
22
|
*/
|
|
19
|
-
export type
|
|
23
|
+
export type LegacyRecurringProductPriceFixed = {
|
|
20
24
|
/**
|
|
21
25
|
* Creation timestamp of the object.
|
|
22
26
|
*/
|
|
@@ -38,6 +42,11 @@ export type ProductPriceRecurringFixed = {
|
|
|
38
42
|
* The ID of the product owning the price.
|
|
39
43
|
*/
|
|
40
44
|
productId: string;
|
|
45
|
+
/**
|
|
46
|
+
* The type of the price.
|
|
47
|
+
*/
|
|
48
|
+
type?: "recurring" | undefined;
|
|
49
|
+
recurringInterval: SubscriptionRecurringInterval;
|
|
41
50
|
/**
|
|
42
51
|
* The currency.
|
|
43
52
|
*/
|
|
@@ -46,16 +55,12 @@ export type ProductPriceRecurringFixed = {
|
|
|
46
55
|
* The price in cents.
|
|
47
56
|
*/
|
|
48
57
|
priceAmount: number;
|
|
49
|
-
|
|
50
|
-
* The type of the price.
|
|
51
|
-
*/
|
|
52
|
-
type?: "recurring" | undefined;
|
|
53
|
-
recurringInterval: SubscriptionRecurringInterval;
|
|
58
|
+
legacy?: true | undefined;
|
|
54
59
|
};
|
|
55
60
|
|
|
56
61
|
/** @internal */
|
|
57
|
-
export const
|
|
58
|
-
|
|
62
|
+
export const LegacyRecurringProductPriceFixed$inboundSchema: z.ZodType<
|
|
63
|
+
LegacyRecurringProductPriceFixed,
|
|
59
64
|
z.ZodTypeDef,
|
|
60
65
|
unknown
|
|
61
66
|
> = z.object({
|
|
@@ -67,10 +72,11 @@ export const ProductPriceRecurringFixed$inboundSchema: z.ZodType<
|
|
|
67
72
|
amount_type: z.literal("fixed").optional(),
|
|
68
73
|
is_archived: z.boolean(),
|
|
69
74
|
product_id: z.string(),
|
|
70
|
-
price_currency: z.string(),
|
|
71
|
-
price_amount: z.number().int(),
|
|
72
75
|
type: z.literal("recurring").optional(),
|
|
73
76
|
recurring_interval: SubscriptionRecurringInterval$inboundSchema,
|
|
77
|
+
price_currency: z.string(),
|
|
78
|
+
price_amount: z.number().int(),
|
|
79
|
+
legacy: z.literal(true).optional(),
|
|
74
80
|
}).transform((v) => {
|
|
75
81
|
return remap$(v, {
|
|
76
82
|
"created_at": "createdAt",
|
|
@@ -78,31 +84,32 @@ export const ProductPriceRecurringFixed$inboundSchema: z.ZodType<
|
|
|
78
84
|
"amount_type": "amountType",
|
|
79
85
|
"is_archived": "isArchived",
|
|
80
86
|
"product_id": "productId",
|
|
87
|
+
"recurring_interval": "recurringInterval",
|
|
81
88
|
"price_currency": "priceCurrency",
|
|
82
89
|
"price_amount": "priceAmount",
|
|
83
|
-
"recurring_interval": "recurringInterval",
|
|
84
90
|
});
|
|
85
91
|
});
|
|
86
92
|
|
|
87
93
|
/** @internal */
|
|
88
|
-
export type
|
|
94
|
+
export type LegacyRecurringProductPriceFixed$Outbound = {
|
|
89
95
|
created_at: string;
|
|
90
96
|
modified_at: string | null;
|
|
91
97
|
id: string;
|
|
92
98
|
amount_type: "fixed";
|
|
93
99
|
is_archived: boolean;
|
|
94
100
|
product_id: string;
|
|
95
|
-
price_currency: string;
|
|
96
|
-
price_amount: number;
|
|
97
101
|
type: "recurring";
|
|
98
102
|
recurring_interval: string;
|
|
103
|
+
price_currency: string;
|
|
104
|
+
price_amount: number;
|
|
105
|
+
legacy: true;
|
|
99
106
|
};
|
|
100
107
|
|
|
101
108
|
/** @internal */
|
|
102
|
-
export const
|
|
103
|
-
|
|
109
|
+
export const LegacyRecurringProductPriceFixed$outboundSchema: z.ZodType<
|
|
110
|
+
LegacyRecurringProductPriceFixed$Outbound,
|
|
104
111
|
z.ZodTypeDef,
|
|
105
|
-
|
|
112
|
+
LegacyRecurringProductPriceFixed
|
|
106
113
|
> = z.object({
|
|
107
114
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
108
115
|
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
@@ -110,10 +117,11 @@ export const ProductPriceRecurringFixed$outboundSchema: z.ZodType<
|
|
|
110
117
|
amountType: z.literal("fixed").default("fixed" as const),
|
|
111
118
|
isArchived: z.boolean(),
|
|
112
119
|
productId: z.string(),
|
|
113
|
-
priceCurrency: z.string(),
|
|
114
|
-
priceAmount: z.number().int(),
|
|
115
120
|
type: z.literal("recurring").default("recurring" as const),
|
|
116
121
|
recurringInterval: SubscriptionRecurringInterval$outboundSchema,
|
|
122
|
+
priceCurrency: z.string(),
|
|
123
|
+
priceAmount: z.number().int(),
|
|
124
|
+
legacy: z.literal(true).default(true as const),
|
|
117
125
|
}).transform((v) => {
|
|
118
126
|
return remap$(v, {
|
|
119
127
|
createdAt: "created_at",
|
|
@@ -121,9 +129,9 @@ export const ProductPriceRecurringFixed$outboundSchema: z.ZodType<
|
|
|
121
129
|
amountType: "amount_type",
|
|
122
130
|
isArchived: "is_archived",
|
|
123
131
|
productId: "product_id",
|
|
132
|
+
recurringInterval: "recurring_interval",
|
|
124
133
|
priceCurrency: "price_currency",
|
|
125
134
|
priceAmount: "price_amount",
|
|
126
|
-
recurringInterval: "recurring_interval",
|
|
127
135
|
});
|
|
128
136
|
});
|
|
129
137
|
|
|
@@ -131,29 +139,31 @@ export const ProductPriceRecurringFixed$outboundSchema: z.ZodType<
|
|
|
131
139
|
* @internal
|
|
132
140
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
133
141
|
*/
|
|
134
|
-
export namespace
|
|
135
|
-
/** @deprecated use `
|
|
136
|
-
export const inboundSchema =
|
|
137
|
-
/** @deprecated use `
|
|
138
|
-
export const outboundSchema =
|
|
139
|
-
/** @deprecated use `
|
|
140
|
-
export type Outbound =
|
|
142
|
+
export namespace LegacyRecurringProductPriceFixed$ {
|
|
143
|
+
/** @deprecated use `LegacyRecurringProductPriceFixed$inboundSchema` instead. */
|
|
144
|
+
export const inboundSchema = LegacyRecurringProductPriceFixed$inboundSchema;
|
|
145
|
+
/** @deprecated use `LegacyRecurringProductPriceFixed$outboundSchema` instead. */
|
|
146
|
+
export const outboundSchema = LegacyRecurringProductPriceFixed$outboundSchema;
|
|
147
|
+
/** @deprecated use `LegacyRecurringProductPriceFixed$Outbound` instead. */
|
|
148
|
+
export type Outbound = LegacyRecurringProductPriceFixed$Outbound;
|
|
141
149
|
}
|
|
142
150
|
|
|
143
|
-
export function
|
|
144
|
-
|
|
151
|
+
export function legacyRecurringProductPriceFixedToJSON(
|
|
152
|
+
legacyRecurringProductPriceFixed: LegacyRecurringProductPriceFixed,
|
|
145
153
|
): string {
|
|
146
154
|
return JSON.stringify(
|
|
147
|
-
|
|
155
|
+
LegacyRecurringProductPriceFixed$outboundSchema.parse(
|
|
156
|
+
legacyRecurringProductPriceFixed,
|
|
157
|
+
),
|
|
148
158
|
);
|
|
149
159
|
}
|
|
150
160
|
|
|
151
|
-
export function
|
|
161
|
+
export function legacyRecurringProductPriceFixedFromJSON(
|
|
152
162
|
jsonString: string,
|
|
153
|
-
): SafeParseResult<
|
|
163
|
+
): SafeParseResult<LegacyRecurringProductPriceFixed, SDKValidationError> {
|
|
154
164
|
return safeParse(
|
|
155
165
|
jsonString,
|
|
156
|
-
(x) =>
|
|
157
|
-
`Failed to parse '
|
|
166
|
+
(x) => LegacyRecurringProductPriceFixed$inboundSchema.parse(JSON.parse(x)),
|
|
167
|
+
`Failed to parse 'LegacyRecurringProductPriceFixed' from JSON`,
|
|
158
168
|
);
|
|
159
169
|
}
|
package/src/models/components/{productpricerecurringfree.ts → legacyrecurringproductpricefree.ts}
RENAMED
|
@@ -15,8 +15,12 @@ import {
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* A free recurring price for a product, i.e. a subscription.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
*
|
|
21
|
+
* **Deprecated**: The recurring interval should be set on the product itself.
|
|
18
22
|
*/
|
|
19
|
-
export type
|
|
23
|
+
export type LegacyRecurringProductPriceFree = {
|
|
20
24
|
/**
|
|
21
25
|
* Creation timestamp of the object.
|
|
22
26
|
*/
|
|
@@ -43,11 +47,12 @@ export type ProductPriceRecurringFree = {
|
|
|
43
47
|
*/
|
|
44
48
|
type?: "recurring" | undefined;
|
|
45
49
|
recurringInterval: SubscriptionRecurringInterval;
|
|
50
|
+
legacy?: true | undefined;
|
|
46
51
|
};
|
|
47
52
|
|
|
48
53
|
/** @internal */
|
|
49
|
-
export const
|
|
50
|
-
|
|
54
|
+
export const LegacyRecurringProductPriceFree$inboundSchema: z.ZodType<
|
|
55
|
+
LegacyRecurringProductPriceFree,
|
|
51
56
|
z.ZodTypeDef,
|
|
52
57
|
unknown
|
|
53
58
|
> = z.object({
|
|
@@ -61,6 +66,7 @@ export const ProductPriceRecurringFree$inboundSchema: z.ZodType<
|
|
|
61
66
|
product_id: z.string(),
|
|
62
67
|
type: z.literal("recurring").optional(),
|
|
63
68
|
recurring_interval: SubscriptionRecurringInterval$inboundSchema,
|
|
69
|
+
legacy: z.literal(true).optional(),
|
|
64
70
|
}).transform((v) => {
|
|
65
71
|
return remap$(v, {
|
|
66
72
|
"created_at": "createdAt",
|
|
@@ -73,7 +79,7 @@ export const ProductPriceRecurringFree$inboundSchema: z.ZodType<
|
|
|
73
79
|
});
|
|
74
80
|
|
|
75
81
|
/** @internal */
|
|
76
|
-
export type
|
|
82
|
+
export type LegacyRecurringProductPriceFree$Outbound = {
|
|
77
83
|
created_at: string;
|
|
78
84
|
modified_at: string | null;
|
|
79
85
|
id: string;
|
|
@@ -82,13 +88,14 @@ export type ProductPriceRecurringFree$Outbound = {
|
|
|
82
88
|
product_id: string;
|
|
83
89
|
type: "recurring";
|
|
84
90
|
recurring_interval: string;
|
|
91
|
+
legacy: true;
|
|
85
92
|
};
|
|
86
93
|
|
|
87
94
|
/** @internal */
|
|
88
|
-
export const
|
|
89
|
-
|
|
95
|
+
export const LegacyRecurringProductPriceFree$outboundSchema: z.ZodType<
|
|
96
|
+
LegacyRecurringProductPriceFree$Outbound,
|
|
90
97
|
z.ZodTypeDef,
|
|
91
|
-
|
|
98
|
+
LegacyRecurringProductPriceFree
|
|
92
99
|
> = z.object({
|
|
93
100
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
94
101
|
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
@@ -98,6 +105,7 @@ export const ProductPriceRecurringFree$outboundSchema: z.ZodType<
|
|
|
98
105
|
productId: z.string(),
|
|
99
106
|
type: z.literal("recurring").default("recurring" as const),
|
|
100
107
|
recurringInterval: SubscriptionRecurringInterval$outboundSchema,
|
|
108
|
+
legacy: z.literal(true).default(true as const),
|
|
101
109
|
}).transform((v) => {
|
|
102
110
|
return remap$(v, {
|
|
103
111
|
createdAt: "created_at",
|
|
@@ -113,29 +121,31 @@ export const ProductPriceRecurringFree$outboundSchema: z.ZodType<
|
|
|
113
121
|
* @internal
|
|
114
122
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
115
123
|
*/
|
|
116
|
-
export namespace
|
|
117
|
-
/** @deprecated use `
|
|
118
|
-
export const inboundSchema =
|
|
119
|
-
/** @deprecated use `
|
|
120
|
-
export const outboundSchema =
|
|
121
|
-
/** @deprecated use `
|
|
122
|
-
export type Outbound =
|
|
124
|
+
export namespace LegacyRecurringProductPriceFree$ {
|
|
125
|
+
/** @deprecated use `LegacyRecurringProductPriceFree$inboundSchema` instead. */
|
|
126
|
+
export const inboundSchema = LegacyRecurringProductPriceFree$inboundSchema;
|
|
127
|
+
/** @deprecated use `LegacyRecurringProductPriceFree$outboundSchema` instead. */
|
|
128
|
+
export const outboundSchema = LegacyRecurringProductPriceFree$outboundSchema;
|
|
129
|
+
/** @deprecated use `LegacyRecurringProductPriceFree$Outbound` instead. */
|
|
130
|
+
export type Outbound = LegacyRecurringProductPriceFree$Outbound;
|
|
123
131
|
}
|
|
124
132
|
|
|
125
|
-
export function
|
|
126
|
-
|
|
133
|
+
export function legacyRecurringProductPriceFreeToJSON(
|
|
134
|
+
legacyRecurringProductPriceFree: LegacyRecurringProductPriceFree,
|
|
127
135
|
): string {
|
|
128
136
|
return JSON.stringify(
|
|
129
|
-
|
|
137
|
+
LegacyRecurringProductPriceFree$outboundSchema.parse(
|
|
138
|
+
legacyRecurringProductPriceFree,
|
|
139
|
+
),
|
|
130
140
|
);
|
|
131
141
|
}
|
|
132
142
|
|
|
133
|
-
export function
|
|
143
|
+
export function legacyRecurringProductPriceFreeFromJSON(
|
|
134
144
|
jsonString: string,
|
|
135
|
-
): SafeParseResult<
|
|
145
|
+
): SafeParseResult<LegacyRecurringProductPriceFree, SDKValidationError> {
|
|
136
146
|
return safeParse(
|
|
137
147
|
jsonString,
|
|
138
|
-
(x) =>
|
|
139
|
-
`Failed to parse '
|
|
148
|
+
(x) => LegacyRecurringProductPriceFree$inboundSchema.parse(JSON.parse(x)),
|
|
149
|
+
`Failed to parse 'LegacyRecurringProductPriceFree' from JSON`,
|
|
140
150
|
);
|
|
141
151
|
}
|