@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,11 +7,21 @@ 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
|
+
ProductPriceType,
|
|
12
|
+
ProductPriceType$inboundSchema,
|
|
13
|
+
ProductPriceType$outboundSchema,
|
|
14
|
+
} from "./productpricetype.js";
|
|
15
|
+
import {
|
|
16
|
+
SubscriptionRecurringInterval,
|
|
17
|
+
SubscriptionRecurringInterval$inboundSchema,
|
|
18
|
+
SubscriptionRecurringInterval$outboundSchema,
|
|
19
|
+
} from "./subscriptionrecurringinterval.js";
|
|
10
20
|
|
|
11
21
|
/**
|
|
12
|
-
* A free
|
|
22
|
+
* A free price for a product.
|
|
13
23
|
*/
|
|
14
|
-
export type
|
|
24
|
+
export type ProductPriceFree = {
|
|
15
25
|
/**
|
|
16
26
|
* Creation timestamp of the object.
|
|
17
27
|
*/
|
|
@@ -33,15 +43,16 @@ export type ProductPriceOneTimeFree = {
|
|
|
33
43
|
* The ID of the product owning the price.
|
|
34
44
|
*/
|
|
35
45
|
productId: string;
|
|
46
|
+
type: ProductPriceType;
|
|
36
47
|
/**
|
|
37
|
-
*
|
|
48
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
38
49
|
*/
|
|
39
|
-
|
|
50
|
+
recurringInterval: SubscriptionRecurringInterval | null;
|
|
40
51
|
};
|
|
41
52
|
|
|
42
53
|
/** @internal */
|
|
43
|
-
export const
|
|
44
|
-
|
|
54
|
+
export const ProductPriceFree$inboundSchema: z.ZodType<
|
|
55
|
+
ProductPriceFree,
|
|
45
56
|
z.ZodTypeDef,
|
|
46
57
|
unknown
|
|
47
58
|
> = z.object({
|
|
@@ -53,7 +64,8 @@ export const ProductPriceOneTimeFree$inboundSchema: z.ZodType<
|
|
|
53
64
|
amount_type: z.literal("free").optional(),
|
|
54
65
|
is_archived: z.boolean(),
|
|
55
66
|
product_id: z.string(),
|
|
56
|
-
type:
|
|
67
|
+
type: ProductPriceType$inboundSchema,
|
|
68
|
+
recurring_interval: z.nullable(SubscriptionRecurringInterval$inboundSchema),
|
|
57
69
|
}).transform((v) => {
|
|
58
70
|
return remap$(v, {
|
|
59
71
|
"created_at": "createdAt",
|
|
@@ -61,25 +73,27 @@ export const ProductPriceOneTimeFree$inboundSchema: z.ZodType<
|
|
|
61
73
|
"amount_type": "amountType",
|
|
62
74
|
"is_archived": "isArchived",
|
|
63
75
|
"product_id": "productId",
|
|
76
|
+
"recurring_interval": "recurringInterval",
|
|
64
77
|
});
|
|
65
78
|
});
|
|
66
79
|
|
|
67
80
|
/** @internal */
|
|
68
|
-
export type
|
|
81
|
+
export type ProductPriceFree$Outbound = {
|
|
69
82
|
created_at: string;
|
|
70
83
|
modified_at: string | null;
|
|
71
84
|
id: string;
|
|
72
85
|
amount_type: "free";
|
|
73
86
|
is_archived: boolean;
|
|
74
87
|
product_id: string;
|
|
75
|
-
type:
|
|
88
|
+
type: string;
|
|
89
|
+
recurring_interval: string | null;
|
|
76
90
|
};
|
|
77
91
|
|
|
78
92
|
/** @internal */
|
|
79
|
-
export const
|
|
80
|
-
|
|
93
|
+
export const ProductPriceFree$outboundSchema: z.ZodType<
|
|
94
|
+
ProductPriceFree$Outbound,
|
|
81
95
|
z.ZodTypeDef,
|
|
82
|
-
|
|
96
|
+
ProductPriceFree
|
|
83
97
|
> = z.object({
|
|
84
98
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
85
99
|
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
@@ -87,7 +101,8 @@ export const ProductPriceOneTimeFree$outboundSchema: z.ZodType<
|
|
|
87
101
|
amountType: z.literal("free").default("free" as const),
|
|
88
102
|
isArchived: z.boolean(),
|
|
89
103
|
productId: z.string(),
|
|
90
|
-
type:
|
|
104
|
+
type: ProductPriceType$outboundSchema,
|
|
105
|
+
recurringInterval: z.nullable(SubscriptionRecurringInterval$outboundSchema),
|
|
91
106
|
}).transform((v) => {
|
|
92
107
|
return remap$(v, {
|
|
93
108
|
createdAt: "created_at",
|
|
@@ -95,6 +110,7 @@ export const ProductPriceOneTimeFree$outboundSchema: z.ZodType<
|
|
|
95
110
|
amountType: "amount_type",
|
|
96
111
|
isArchived: "is_archived",
|
|
97
112
|
productId: "product_id",
|
|
113
|
+
recurringInterval: "recurring_interval",
|
|
98
114
|
});
|
|
99
115
|
});
|
|
100
116
|
|
|
@@ -102,29 +118,29 @@ export const ProductPriceOneTimeFree$outboundSchema: z.ZodType<
|
|
|
102
118
|
* @internal
|
|
103
119
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
104
120
|
*/
|
|
105
|
-
export namespace
|
|
106
|
-
/** @deprecated use `
|
|
107
|
-
export const inboundSchema =
|
|
108
|
-
/** @deprecated use `
|
|
109
|
-
export const outboundSchema =
|
|
110
|
-
/** @deprecated use `
|
|
111
|
-
export type Outbound =
|
|
121
|
+
export namespace ProductPriceFree$ {
|
|
122
|
+
/** @deprecated use `ProductPriceFree$inboundSchema` instead. */
|
|
123
|
+
export const inboundSchema = ProductPriceFree$inboundSchema;
|
|
124
|
+
/** @deprecated use `ProductPriceFree$outboundSchema` instead. */
|
|
125
|
+
export const outboundSchema = ProductPriceFree$outboundSchema;
|
|
126
|
+
/** @deprecated use `ProductPriceFree$Outbound` instead. */
|
|
127
|
+
export type Outbound = ProductPriceFree$Outbound;
|
|
112
128
|
}
|
|
113
129
|
|
|
114
|
-
export function
|
|
115
|
-
|
|
130
|
+
export function productPriceFreeToJSON(
|
|
131
|
+
productPriceFree: ProductPriceFree,
|
|
116
132
|
): string {
|
|
117
133
|
return JSON.stringify(
|
|
118
|
-
|
|
134
|
+
ProductPriceFree$outboundSchema.parse(productPriceFree),
|
|
119
135
|
);
|
|
120
136
|
}
|
|
121
137
|
|
|
122
|
-
export function
|
|
138
|
+
export function productPriceFreeFromJSON(
|
|
123
139
|
jsonString: string,
|
|
124
|
-
): SafeParseResult<
|
|
140
|
+
): SafeParseResult<ProductPriceFree, SDKValidationError> {
|
|
125
141
|
return safeParse(
|
|
126
142
|
jsonString,
|
|
127
|
-
(x) =>
|
|
128
|
-
`Failed to parse '
|
|
143
|
+
(x) => ProductPriceFree$inboundSchema.parse(JSON.parse(x)),
|
|
144
|
+
`Failed to parse 'ProductPriceFree' from JSON`,
|
|
129
145
|
);
|
|
130
146
|
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Schema to create a free price.
|
|
13
|
+
*/
|
|
14
|
+
export type ProductPriceFreeCreate = {
|
|
15
|
+
amountType?: "free" | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const ProductPriceFreeCreate$inboundSchema: z.ZodType<
|
|
20
|
+
ProductPriceFreeCreate,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
amount_type: z.literal("free").optional(),
|
|
25
|
+
}).transform((v) => {
|
|
26
|
+
return remap$(v, {
|
|
27
|
+
"amount_type": "amountType",
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type ProductPriceFreeCreate$Outbound = {
|
|
33
|
+
amount_type: "free";
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const ProductPriceFreeCreate$outboundSchema: z.ZodType<
|
|
38
|
+
ProductPriceFreeCreate$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
ProductPriceFreeCreate
|
|
41
|
+
> = z.object({
|
|
42
|
+
amountType: z.literal("free").default("free" as const),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return remap$(v, {
|
|
45
|
+
amountType: "amount_type",
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
+
*/
|
|
53
|
+
export namespace ProductPriceFreeCreate$ {
|
|
54
|
+
/** @deprecated use `ProductPriceFreeCreate$inboundSchema` instead. */
|
|
55
|
+
export const inboundSchema = ProductPriceFreeCreate$inboundSchema;
|
|
56
|
+
/** @deprecated use `ProductPriceFreeCreate$outboundSchema` instead. */
|
|
57
|
+
export const outboundSchema = ProductPriceFreeCreate$outboundSchema;
|
|
58
|
+
/** @deprecated use `ProductPriceFreeCreate$Outbound` instead. */
|
|
59
|
+
export type Outbound = ProductPriceFreeCreate$Outbound;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function productPriceFreeCreateToJSON(
|
|
63
|
+
productPriceFreeCreate: ProductPriceFreeCreate,
|
|
64
|
+
): string {
|
|
65
|
+
return JSON.stringify(
|
|
66
|
+
ProductPriceFreeCreate$outboundSchema.parse(productPriceFreeCreate),
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function productPriceFreeCreateFromJSON(
|
|
71
|
+
jsonString: string,
|
|
72
|
+
): SafeParseResult<ProductPriceFreeCreate, SDKValidationError> {
|
|
73
|
+
return safeParse(
|
|
74
|
+
jsonString,
|
|
75
|
+
(x) => ProductPriceFreeCreate$inboundSchema.parse(JSON.parse(x)),
|
|
76
|
+
`Failed to parse 'ProductPriceFreeCreate' from JSON`,
|
|
77
|
+
);
|
|
78
|
+
}
|
|
@@ -10,8 +10,6 @@ export const ProductSortProperty = {
|
|
|
10
10
|
MinusCreatedAt: "-created_at",
|
|
11
11
|
Name: "name",
|
|
12
12
|
MinusName: "-name",
|
|
13
|
-
PriceType: "price_type",
|
|
14
|
-
MinusPriceType: "-price_type",
|
|
15
13
|
PriceAmountType: "price_amount_type",
|
|
16
14
|
MinusPriceAmountType: "-price_amount_type",
|
|
17
15
|
PriceAmount: "price_amount",
|
|
@@ -20,45 +20,36 @@ import {
|
|
|
20
20
|
ExistingProductPrice$outboundSchema,
|
|
21
21
|
} from "./existingproductprice.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
23
|
+
ProductPriceCustomCreate,
|
|
24
|
+
ProductPriceCustomCreate$inboundSchema,
|
|
25
|
+
ProductPriceCustomCreate$Outbound,
|
|
26
|
+
ProductPriceCustomCreate$outboundSchema,
|
|
27
|
+
} from "./productpricecustomcreate.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
29
|
+
ProductPriceFixedCreate,
|
|
30
|
+
ProductPriceFixedCreate$inboundSchema,
|
|
31
|
+
ProductPriceFixedCreate$Outbound,
|
|
32
|
+
ProductPriceFixedCreate$outboundSchema,
|
|
33
|
+
} from "./productpricefixedcreate.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
35
|
+
ProductPriceFreeCreate,
|
|
36
|
+
ProductPriceFreeCreate$inboundSchema,
|
|
37
|
+
ProductPriceFreeCreate$Outbound,
|
|
38
|
+
ProductPriceFreeCreate$outboundSchema,
|
|
39
|
+
} from "./productpricefreecreate.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./productpricerecurringfixedcreate.js";
|
|
46
|
-
import {
|
|
47
|
-
ProductPriceRecurringFreeCreate,
|
|
48
|
-
ProductPriceRecurringFreeCreate$inboundSchema,
|
|
49
|
-
ProductPriceRecurringFreeCreate$Outbound,
|
|
50
|
-
ProductPriceRecurringFreeCreate$outboundSchema,
|
|
51
|
-
} from "./productpricerecurringfreecreate.js";
|
|
41
|
+
SubscriptionRecurringInterval,
|
|
42
|
+
SubscriptionRecurringInterval$inboundSchema,
|
|
43
|
+
SubscriptionRecurringInterval$outboundSchema,
|
|
44
|
+
} from "./subscriptionrecurringinterval.js";
|
|
52
45
|
|
|
53
46
|
export type ProductUpdateMetadata = string | number | boolean;
|
|
54
47
|
|
|
55
48
|
export type ProductUpdatePrices =
|
|
56
49
|
| ExistingProductPrice
|
|
57
|
-
|
|
|
58
|
-
|
|
|
59
|
-
|
|
|
60
|
-
| ProductPriceRecurringFixedCreate
|
|
61
|
-
| ProductPriceOneTimeCustomCreate;
|
|
50
|
+
| ProductPriceFreeCreate
|
|
51
|
+
| ProductPriceFixedCreate
|
|
52
|
+
| ProductPriceCustomCreate;
|
|
62
53
|
|
|
63
54
|
/**
|
|
64
55
|
* Schema to update a product.
|
|
@@ -70,6 +61,10 @@ export type ProductUpdate = {
|
|
|
70
61
|
* The description of the product.
|
|
71
62
|
*/
|
|
72
63
|
description?: string | null | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* The recurring interval of the product. If `None`, the product is a one-time purchase. **Can only be set on legacy recurring products. Once set, it can't be changed.**
|
|
66
|
+
*/
|
|
67
|
+
recurringInterval?: SubscriptionRecurringInterval | null | undefined;
|
|
73
68
|
/**
|
|
74
69
|
* Whether the product is archived. If `true`, the product won't be available for purchase anymore. Existing customers will still have access to their benefits, and subscriptions will continue normally.
|
|
75
70
|
*/
|
|
@@ -80,11 +75,9 @@ export type ProductUpdate = {
|
|
|
80
75
|
prices?:
|
|
81
76
|
| Array<
|
|
82
77
|
| ExistingProductPrice
|
|
83
|
-
|
|
|
84
|
-
|
|
|
85
|
-
|
|
|
86
|
-
| ProductPriceRecurringFixedCreate
|
|
87
|
-
| ProductPriceOneTimeCustomCreate
|
|
78
|
+
| ProductPriceFreeCreate
|
|
79
|
+
| ProductPriceFixedCreate
|
|
80
|
+
| ProductPriceCustomCreate
|
|
88
81
|
>
|
|
89
82
|
| null
|
|
90
83
|
| undefined;
|
|
@@ -150,21 +143,17 @@ export const ProductUpdatePrices$inboundSchema: z.ZodType<
|
|
|
150
143
|
unknown
|
|
151
144
|
> = z.union([
|
|
152
145
|
ExistingProductPrice$inboundSchema,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
ProductPriceRecurringFixedCreate$inboundSchema,
|
|
157
|
-
ProductPriceOneTimeCustomCreate$inboundSchema,
|
|
146
|
+
ProductPriceFreeCreate$inboundSchema,
|
|
147
|
+
ProductPriceFixedCreate$inboundSchema,
|
|
148
|
+
ProductPriceCustomCreate$inboundSchema,
|
|
158
149
|
]);
|
|
159
150
|
|
|
160
151
|
/** @internal */
|
|
161
152
|
export type ProductUpdatePrices$Outbound =
|
|
162
153
|
| ExistingProductPrice$Outbound
|
|
163
|
-
|
|
|
164
|
-
|
|
|
165
|
-
|
|
|
166
|
-
| ProductPriceRecurringFixedCreate$Outbound
|
|
167
|
-
| ProductPriceOneTimeCustomCreate$Outbound;
|
|
154
|
+
| ProductPriceFreeCreate$Outbound
|
|
155
|
+
| ProductPriceFixedCreate$Outbound
|
|
156
|
+
| ProductPriceCustomCreate$Outbound;
|
|
168
157
|
|
|
169
158
|
/** @internal */
|
|
170
159
|
export const ProductUpdatePrices$outboundSchema: z.ZodType<
|
|
@@ -173,11 +162,9 @@ export const ProductUpdatePrices$outboundSchema: z.ZodType<
|
|
|
173
162
|
ProductUpdatePrices
|
|
174
163
|
> = z.union([
|
|
175
164
|
ExistingProductPrice$outboundSchema,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
ProductPriceRecurringFixedCreate$outboundSchema,
|
|
180
|
-
ProductPriceOneTimeCustomCreate$outboundSchema,
|
|
165
|
+
ProductPriceFreeCreate$outboundSchema,
|
|
166
|
+
ProductPriceFixedCreate$outboundSchema,
|
|
167
|
+
ProductPriceCustomCreate$outboundSchema,
|
|
181
168
|
]);
|
|
182
169
|
|
|
183
170
|
/**
|
|
@@ -222,16 +209,16 @@ export const ProductUpdate$inboundSchema: z.ZodType<
|
|
|
222
209
|
).optional(),
|
|
223
210
|
name: z.nullable(z.string()).optional(),
|
|
224
211
|
description: z.nullable(z.string()).optional(),
|
|
212
|
+
recurring_interval: z.nullable(SubscriptionRecurringInterval$inboundSchema)
|
|
213
|
+
.optional(),
|
|
225
214
|
is_archived: z.nullable(z.boolean()).optional(),
|
|
226
215
|
prices: z.nullable(
|
|
227
216
|
z.array(
|
|
228
217
|
z.union([
|
|
229
218
|
ExistingProductPrice$inboundSchema,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
ProductPriceRecurringFixedCreate$inboundSchema,
|
|
234
|
-
ProductPriceOneTimeCustomCreate$inboundSchema,
|
|
219
|
+
ProductPriceFreeCreate$inboundSchema,
|
|
220
|
+
ProductPriceFixedCreate$inboundSchema,
|
|
221
|
+
ProductPriceCustomCreate$inboundSchema,
|
|
235
222
|
]),
|
|
236
223
|
),
|
|
237
224
|
).optional(),
|
|
@@ -241,6 +228,7 @@ export const ProductUpdate$inboundSchema: z.ZodType<
|
|
|
241
228
|
).optional(),
|
|
242
229
|
}).transform((v) => {
|
|
243
230
|
return remap$(v, {
|
|
231
|
+
"recurring_interval": "recurringInterval",
|
|
244
232
|
"is_archived": "isArchived",
|
|
245
233
|
"attached_custom_fields": "attachedCustomFields",
|
|
246
234
|
});
|
|
@@ -251,15 +239,14 @@ export type ProductUpdate$Outbound = {
|
|
|
251
239
|
metadata?: { [k: string]: string | number | boolean } | null | undefined;
|
|
252
240
|
name?: string | null | undefined;
|
|
253
241
|
description?: string | null | undefined;
|
|
242
|
+
recurring_interval?: string | null | undefined;
|
|
254
243
|
is_archived?: boolean | null | undefined;
|
|
255
244
|
prices?:
|
|
256
245
|
| Array<
|
|
257
246
|
| ExistingProductPrice$Outbound
|
|
258
|
-
|
|
|
259
|
-
|
|
|
260
|
-
|
|
|
261
|
-
| ProductPriceRecurringFixedCreate$Outbound
|
|
262
|
-
| ProductPriceOneTimeCustomCreate$Outbound
|
|
247
|
+
| ProductPriceFreeCreate$Outbound
|
|
248
|
+
| ProductPriceFixedCreate$Outbound
|
|
249
|
+
| ProductPriceCustomCreate$Outbound
|
|
263
250
|
>
|
|
264
251
|
| null
|
|
265
252
|
| undefined;
|
|
@@ -281,16 +268,16 @@ export const ProductUpdate$outboundSchema: z.ZodType<
|
|
|
281
268
|
).optional(),
|
|
282
269
|
name: z.nullable(z.string()).optional(),
|
|
283
270
|
description: z.nullable(z.string()).optional(),
|
|
271
|
+
recurringInterval: z.nullable(SubscriptionRecurringInterval$outboundSchema)
|
|
272
|
+
.optional(),
|
|
284
273
|
isArchived: z.nullable(z.boolean()).optional(),
|
|
285
274
|
prices: z.nullable(
|
|
286
275
|
z.array(
|
|
287
276
|
z.union([
|
|
288
277
|
ExistingProductPrice$outboundSchema,
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
ProductPriceRecurringFixedCreate$outboundSchema,
|
|
293
|
-
ProductPriceOneTimeCustomCreate$outboundSchema,
|
|
278
|
+
ProductPriceFreeCreate$outboundSchema,
|
|
279
|
+
ProductPriceFixedCreate$outboundSchema,
|
|
280
|
+
ProductPriceCustomCreate$outboundSchema,
|
|
294
281
|
]),
|
|
295
282
|
),
|
|
296
283
|
).optional(),
|
|
@@ -300,6 +287,7 @@ export const ProductUpdate$outboundSchema: z.ZodType<
|
|
|
300
287
|
).optional(),
|
|
301
288
|
}).transform((v) => {
|
|
302
289
|
return remap$(v, {
|
|
290
|
+
recurringInterval: "recurring_interval",
|
|
303
291
|
isArchived: "is_archived",
|
|
304
292
|
attachedCustomFields: "attached_custom_fields",
|
|
305
293
|
});
|
|
@@ -36,6 +36,12 @@ import {
|
|
|
36
36
|
DiscountPercentageRepeatDurationBase$Outbound,
|
|
37
37
|
DiscountPercentageRepeatDurationBase$outboundSchema,
|
|
38
38
|
} from "./discountpercentagerepeatdurationbase.js";
|
|
39
|
+
import {
|
|
40
|
+
LegacyRecurringProductPrice,
|
|
41
|
+
LegacyRecurringProductPrice$inboundSchema,
|
|
42
|
+
LegacyRecurringProductPrice$Outbound,
|
|
43
|
+
LegacyRecurringProductPrice$outboundSchema,
|
|
44
|
+
} from "./legacyrecurringproductprice.js";
|
|
39
45
|
import {
|
|
40
46
|
Product,
|
|
41
47
|
Product$inboundSchema,
|
|
@@ -43,11 +49,11 @@ import {
|
|
|
43
49
|
Product$outboundSchema,
|
|
44
50
|
} from "./product.js";
|
|
45
51
|
import {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
52
|
+
ProductPrice,
|
|
53
|
+
ProductPrice$inboundSchema,
|
|
54
|
+
ProductPrice$Outbound,
|
|
55
|
+
ProductPrice$outboundSchema,
|
|
56
|
+
} from "./productprice.js";
|
|
51
57
|
import {
|
|
52
58
|
SubscriptionCustomer,
|
|
53
59
|
SubscriptionCustomer$inboundSchema,
|
|
@@ -75,6 +81,8 @@ export type Metadata = string | number | boolean;
|
|
|
75
81
|
|
|
76
82
|
export type CustomFieldData = string | number | boolean | Date;
|
|
77
83
|
|
|
84
|
+
export type Price = LegacyRecurringProductPrice | ProductPrice;
|
|
85
|
+
|
|
78
86
|
export type SubscriptionDiscount =
|
|
79
87
|
| DiscountPercentageOnceForeverDurationBase
|
|
80
88
|
| DiscountFixedOnceForeverDurationBase
|
|
@@ -129,7 +137,7 @@ export type Subscription = {
|
|
|
129
137
|
* A product.
|
|
130
138
|
*/
|
|
131
139
|
product: Product;
|
|
132
|
-
price:
|
|
140
|
+
price: LegacyRecurringProductPrice | ProductPrice;
|
|
133
141
|
discount:
|
|
134
142
|
| DiscountPercentageOnceForeverDurationBase
|
|
135
143
|
| DiscountFixedOnceForeverDurationBase
|
|
@@ -238,6 +246,55 @@ export function customFieldDataFromJSON(
|
|
|
238
246
|
);
|
|
239
247
|
}
|
|
240
248
|
|
|
249
|
+
/** @internal */
|
|
250
|
+
export const Price$inboundSchema: z.ZodType<Price, z.ZodTypeDef, unknown> = z
|
|
251
|
+
.union([
|
|
252
|
+
LegacyRecurringProductPrice$inboundSchema,
|
|
253
|
+
ProductPrice$inboundSchema,
|
|
254
|
+
]);
|
|
255
|
+
|
|
256
|
+
/** @internal */
|
|
257
|
+
export type Price$Outbound =
|
|
258
|
+
| LegacyRecurringProductPrice$Outbound
|
|
259
|
+
| ProductPrice$Outbound;
|
|
260
|
+
|
|
261
|
+
/** @internal */
|
|
262
|
+
export const Price$outboundSchema: z.ZodType<
|
|
263
|
+
Price$Outbound,
|
|
264
|
+
z.ZodTypeDef,
|
|
265
|
+
Price
|
|
266
|
+
> = z.union([
|
|
267
|
+
LegacyRecurringProductPrice$outboundSchema,
|
|
268
|
+
ProductPrice$outboundSchema,
|
|
269
|
+
]);
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* @internal
|
|
273
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
274
|
+
*/
|
|
275
|
+
export namespace Price$ {
|
|
276
|
+
/** @deprecated use `Price$inboundSchema` instead. */
|
|
277
|
+
export const inboundSchema = Price$inboundSchema;
|
|
278
|
+
/** @deprecated use `Price$outboundSchema` instead. */
|
|
279
|
+
export const outboundSchema = Price$outboundSchema;
|
|
280
|
+
/** @deprecated use `Price$Outbound` instead. */
|
|
281
|
+
export type Outbound = Price$Outbound;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export function priceToJSON(price: Price): string {
|
|
285
|
+
return JSON.stringify(Price$outboundSchema.parse(price));
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export function priceFromJSON(
|
|
289
|
+
jsonString: string,
|
|
290
|
+
): SafeParseResult<Price, SDKValidationError> {
|
|
291
|
+
return safeParse(
|
|
292
|
+
jsonString,
|
|
293
|
+
(x) => Price$inboundSchema.parse(JSON.parse(x)),
|
|
294
|
+
`Failed to parse 'Price' from JSON`,
|
|
295
|
+
);
|
|
296
|
+
}
|
|
297
|
+
|
|
241
298
|
/** @internal */
|
|
242
299
|
export const SubscriptionDiscount$inboundSchema: z.ZodType<
|
|
243
300
|
SubscriptionDiscount,
|
|
@@ -356,7 +413,10 @@ export const Subscription$inboundSchema: z.ZodType<
|
|
|
356
413
|
user_id: z.string(),
|
|
357
414
|
user: SubscriptionUser$inboundSchema,
|
|
358
415
|
product: Product$inboundSchema,
|
|
359
|
-
price:
|
|
416
|
+
price: z.union([
|
|
417
|
+
LegacyRecurringProductPrice$inboundSchema,
|
|
418
|
+
ProductPrice$inboundSchema,
|
|
419
|
+
]),
|
|
360
420
|
discount: z.nullable(
|
|
361
421
|
z.union([
|
|
362
422
|
DiscountPercentageOnceForeverDurationBase$inboundSchema,
|
|
@@ -420,7 +480,7 @@ export type Subscription$Outbound = {
|
|
|
420
480
|
user_id: string;
|
|
421
481
|
user: SubscriptionUser$Outbound;
|
|
422
482
|
product: Product$Outbound;
|
|
423
|
-
price:
|
|
483
|
+
price: LegacyRecurringProductPrice$Outbound | ProductPrice$Outbound;
|
|
424
484
|
discount:
|
|
425
485
|
| DiscountPercentageOnceForeverDurationBase$Outbound
|
|
426
486
|
| DiscountFixedOnceForeverDurationBase$Outbound
|
|
@@ -471,7 +531,10 @@ export const Subscription$outboundSchema: z.ZodType<
|
|
|
471
531
|
userId: z.string(),
|
|
472
532
|
user: SubscriptionUser$outboundSchema,
|
|
473
533
|
product: Product$outboundSchema,
|
|
474
|
-
price:
|
|
534
|
+
price: z.union([
|
|
535
|
+
LegacyRecurringProductPrice$outboundSchema,
|
|
536
|
+
ProductPrice$outboundSchema,
|
|
537
|
+
]),
|
|
475
538
|
discount: z.nullable(
|
|
476
539
|
z.union([
|
|
477
540
|
DiscountPercentageOnceForeverDurationBase$outboundSchema,
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
SubscriptionCancel$outboundSchema,
|
|
14
14
|
} from "./subscriptioncancel.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
16
|
+
SubscriptionUpdateProduct,
|
|
17
|
+
SubscriptionUpdateProduct$inboundSchema,
|
|
18
|
+
SubscriptionUpdateProduct$Outbound,
|
|
19
|
+
SubscriptionUpdateProduct$outboundSchema,
|
|
20
|
+
} from "./subscriptionupdateproduct.js";
|
|
21
21
|
|
|
22
|
-
export type SubscriptionUpdate =
|
|
22
|
+
export type SubscriptionUpdate = SubscriptionUpdateProduct | SubscriptionCancel;
|
|
23
23
|
|
|
24
24
|
/** @internal */
|
|
25
25
|
export const SubscriptionUpdate$inboundSchema: z.ZodType<
|
|
@@ -27,13 +27,13 @@ export const SubscriptionUpdate$inboundSchema: z.ZodType<
|
|
|
27
27
|
z.ZodTypeDef,
|
|
28
28
|
unknown
|
|
29
29
|
> = z.union([
|
|
30
|
-
|
|
30
|
+
SubscriptionUpdateProduct$inboundSchema,
|
|
31
31
|
SubscriptionCancel$inboundSchema,
|
|
32
32
|
]);
|
|
33
33
|
|
|
34
34
|
/** @internal */
|
|
35
35
|
export type SubscriptionUpdate$Outbound =
|
|
36
|
-
|
|
|
36
|
+
| SubscriptionUpdateProduct$Outbound
|
|
37
37
|
| SubscriptionCancel$Outbound;
|
|
38
38
|
|
|
39
39
|
/** @internal */
|
|
@@ -42,7 +42,7 @@ export const SubscriptionUpdate$outboundSchema: z.ZodType<
|
|
|
42
42
|
z.ZodTypeDef,
|
|
43
43
|
SubscriptionUpdate
|
|
44
44
|
> = z.union([
|
|
45
|
-
|
|
45
|
+
SubscriptionUpdateProduct$outboundSchema,
|
|
46
46
|
SubscriptionCancel$outboundSchema,
|
|
47
47
|
]);
|
|
48
48
|
|