@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,19 +7,28 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
ProductPriceCustom,
|
|
11
|
+
ProductPriceCustom$inboundSchema,
|
|
12
|
+
ProductPriceCustom$Outbound,
|
|
13
|
+
ProductPriceCustom$outboundSchema,
|
|
14
|
+
} from "./productpricecustom.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
16
|
+
ProductPriceFixed,
|
|
17
|
+
ProductPriceFixed$inboundSchema,
|
|
18
|
+
ProductPriceFixed$Outbound,
|
|
19
|
+
ProductPriceFixed$outboundSchema,
|
|
20
|
+
} from "./productpricefixed.js";
|
|
21
|
+
import {
|
|
22
|
+
ProductPriceFree,
|
|
23
|
+
ProductPriceFree$inboundSchema,
|
|
24
|
+
ProductPriceFree$Outbound,
|
|
25
|
+
ProductPriceFree$outboundSchema,
|
|
26
|
+
} from "./productpricefree.js";
|
|
21
27
|
|
|
22
|
-
export type ProductPrice =
|
|
28
|
+
export type ProductPrice =
|
|
29
|
+
| ProductPriceFree
|
|
30
|
+
| ProductPriceFixed
|
|
31
|
+
| ProductPriceCustom;
|
|
23
32
|
|
|
24
33
|
/** @internal */
|
|
25
34
|
export const ProductPrice$inboundSchema: z.ZodType<
|
|
@@ -27,14 +36,16 @@ export const ProductPrice$inboundSchema: z.ZodType<
|
|
|
27
36
|
z.ZodTypeDef,
|
|
28
37
|
unknown
|
|
29
38
|
> = z.union([
|
|
30
|
-
|
|
31
|
-
|
|
39
|
+
ProductPriceFree$inboundSchema,
|
|
40
|
+
ProductPriceFixed$inboundSchema,
|
|
41
|
+
ProductPriceCustom$inboundSchema,
|
|
32
42
|
]);
|
|
33
43
|
|
|
34
44
|
/** @internal */
|
|
35
45
|
export type ProductPrice$Outbound =
|
|
36
|
-
|
|
|
37
|
-
|
|
|
46
|
+
| ProductPriceFree$Outbound
|
|
47
|
+
| ProductPriceFixed$Outbound
|
|
48
|
+
| ProductPriceCustom$Outbound;
|
|
38
49
|
|
|
39
50
|
/** @internal */
|
|
40
51
|
export const ProductPrice$outboundSchema: z.ZodType<
|
|
@@ -42,8 +53,9 @@ export const ProductPrice$outboundSchema: z.ZodType<
|
|
|
42
53
|
z.ZodTypeDef,
|
|
43
54
|
ProductPrice
|
|
44
55
|
> = z.union([
|
|
45
|
-
|
|
46
|
-
|
|
56
|
+
ProductPriceFree$outboundSchema,
|
|
57
|
+
ProductPriceFixed$outboundSchema,
|
|
58
|
+
ProductPriceCustom$outboundSchema,
|
|
47
59
|
]);
|
|
48
60
|
|
|
49
61
|
/**
|
|
@@ -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 pay-what-you-want price for a
|
|
22
|
+
* A pay-what-you-want price for a product.
|
|
13
23
|
*/
|
|
14
|
-
export type
|
|
24
|
+
export type ProductPriceCustom = {
|
|
15
25
|
/**
|
|
16
26
|
* Creation timestamp of the object.
|
|
17
27
|
*/
|
|
@@ -33,6 +43,11 @@ export type ProductPriceOneTimeCustom = {
|
|
|
33
43
|
* The ID of the product owning the price.
|
|
34
44
|
*/
|
|
35
45
|
productId: string;
|
|
46
|
+
type: ProductPriceType;
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
49
|
+
*/
|
|
50
|
+
recurringInterval: SubscriptionRecurringInterval | null;
|
|
36
51
|
/**
|
|
37
52
|
* The currency.
|
|
38
53
|
*/
|
|
@@ -49,15 +64,11 @@ export type ProductPriceOneTimeCustom = {
|
|
|
49
64
|
* The initial amount shown to the customer.
|
|
50
65
|
*/
|
|
51
66
|
presetAmount: number | null;
|
|
52
|
-
/**
|
|
53
|
-
* The type of the price.
|
|
54
|
-
*/
|
|
55
|
-
type?: "one_time" | undefined;
|
|
56
67
|
};
|
|
57
68
|
|
|
58
69
|
/** @internal */
|
|
59
|
-
export const
|
|
60
|
-
|
|
70
|
+
export const ProductPriceCustom$inboundSchema: z.ZodType<
|
|
71
|
+
ProductPriceCustom,
|
|
61
72
|
z.ZodTypeDef,
|
|
62
73
|
unknown
|
|
63
74
|
> = z.object({
|
|
@@ -69,11 +80,12 @@ export const ProductPriceOneTimeCustom$inboundSchema: z.ZodType<
|
|
|
69
80
|
amount_type: z.literal("custom").optional(),
|
|
70
81
|
is_archived: z.boolean(),
|
|
71
82
|
product_id: z.string(),
|
|
83
|
+
type: ProductPriceType$inboundSchema,
|
|
84
|
+
recurring_interval: z.nullable(SubscriptionRecurringInterval$inboundSchema),
|
|
72
85
|
price_currency: z.string(),
|
|
73
86
|
minimum_amount: z.nullable(z.number().int()),
|
|
74
87
|
maximum_amount: z.nullable(z.number().int()),
|
|
75
88
|
preset_amount: z.nullable(z.number().int()),
|
|
76
|
-
type: z.literal("one_time").optional(),
|
|
77
89
|
}).transform((v) => {
|
|
78
90
|
return remap$(v, {
|
|
79
91
|
"created_at": "createdAt",
|
|
@@ -81,6 +93,7 @@ export const ProductPriceOneTimeCustom$inboundSchema: z.ZodType<
|
|
|
81
93
|
"amount_type": "amountType",
|
|
82
94
|
"is_archived": "isArchived",
|
|
83
95
|
"product_id": "productId",
|
|
96
|
+
"recurring_interval": "recurringInterval",
|
|
84
97
|
"price_currency": "priceCurrency",
|
|
85
98
|
"minimum_amount": "minimumAmount",
|
|
86
99
|
"maximum_amount": "maximumAmount",
|
|
@@ -89,25 +102,26 @@ export const ProductPriceOneTimeCustom$inboundSchema: z.ZodType<
|
|
|
89
102
|
});
|
|
90
103
|
|
|
91
104
|
/** @internal */
|
|
92
|
-
export type
|
|
105
|
+
export type ProductPriceCustom$Outbound = {
|
|
93
106
|
created_at: string;
|
|
94
107
|
modified_at: string | null;
|
|
95
108
|
id: string;
|
|
96
109
|
amount_type: "custom";
|
|
97
110
|
is_archived: boolean;
|
|
98
111
|
product_id: string;
|
|
112
|
+
type: string;
|
|
113
|
+
recurring_interval: string | null;
|
|
99
114
|
price_currency: string;
|
|
100
115
|
minimum_amount: number | null;
|
|
101
116
|
maximum_amount: number | null;
|
|
102
117
|
preset_amount: number | null;
|
|
103
|
-
type: "one_time";
|
|
104
118
|
};
|
|
105
119
|
|
|
106
120
|
/** @internal */
|
|
107
|
-
export const
|
|
108
|
-
|
|
121
|
+
export const ProductPriceCustom$outboundSchema: z.ZodType<
|
|
122
|
+
ProductPriceCustom$Outbound,
|
|
109
123
|
z.ZodTypeDef,
|
|
110
|
-
|
|
124
|
+
ProductPriceCustom
|
|
111
125
|
> = z.object({
|
|
112
126
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
113
127
|
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
@@ -115,11 +129,12 @@ export const ProductPriceOneTimeCustom$outboundSchema: z.ZodType<
|
|
|
115
129
|
amountType: z.literal("custom").default("custom" as const),
|
|
116
130
|
isArchived: z.boolean(),
|
|
117
131
|
productId: z.string(),
|
|
132
|
+
type: ProductPriceType$outboundSchema,
|
|
133
|
+
recurringInterval: z.nullable(SubscriptionRecurringInterval$outboundSchema),
|
|
118
134
|
priceCurrency: z.string(),
|
|
119
135
|
minimumAmount: z.nullable(z.number().int()),
|
|
120
136
|
maximumAmount: z.nullable(z.number().int()),
|
|
121
137
|
presetAmount: z.nullable(z.number().int()),
|
|
122
|
-
type: z.literal("one_time").default("one_time" as const),
|
|
123
138
|
}).transform((v) => {
|
|
124
139
|
return remap$(v, {
|
|
125
140
|
createdAt: "created_at",
|
|
@@ -127,6 +142,7 @@ export const ProductPriceOneTimeCustom$outboundSchema: z.ZodType<
|
|
|
127
142
|
amountType: "amount_type",
|
|
128
143
|
isArchived: "is_archived",
|
|
129
144
|
productId: "product_id",
|
|
145
|
+
recurringInterval: "recurring_interval",
|
|
130
146
|
priceCurrency: "price_currency",
|
|
131
147
|
minimumAmount: "minimum_amount",
|
|
132
148
|
maximumAmount: "maximum_amount",
|
|
@@ -138,29 +154,29 @@ export const ProductPriceOneTimeCustom$outboundSchema: z.ZodType<
|
|
|
138
154
|
* @internal
|
|
139
155
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
140
156
|
*/
|
|
141
|
-
export namespace
|
|
142
|
-
/** @deprecated use `
|
|
143
|
-
export const inboundSchema =
|
|
144
|
-
/** @deprecated use `
|
|
145
|
-
export const outboundSchema =
|
|
146
|
-
/** @deprecated use `
|
|
147
|
-
export type Outbound =
|
|
157
|
+
export namespace ProductPriceCustom$ {
|
|
158
|
+
/** @deprecated use `ProductPriceCustom$inboundSchema` instead. */
|
|
159
|
+
export const inboundSchema = ProductPriceCustom$inboundSchema;
|
|
160
|
+
/** @deprecated use `ProductPriceCustom$outboundSchema` instead. */
|
|
161
|
+
export const outboundSchema = ProductPriceCustom$outboundSchema;
|
|
162
|
+
/** @deprecated use `ProductPriceCustom$Outbound` instead. */
|
|
163
|
+
export type Outbound = ProductPriceCustom$Outbound;
|
|
148
164
|
}
|
|
149
165
|
|
|
150
|
-
export function
|
|
151
|
-
|
|
166
|
+
export function productPriceCustomToJSON(
|
|
167
|
+
productPriceCustom: ProductPriceCustom,
|
|
152
168
|
): string {
|
|
153
169
|
return JSON.stringify(
|
|
154
|
-
|
|
170
|
+
ProductPriceCustom$outboundSchema.parse(productPriceCustom),
|
|
155
171
|
);
|
|
156
172
|
}
|
|
157
173
|
|
|
158
|
-
export function
|
|
174
|
+
export function productPriceCustomFromJSON(
|
|
159
175
|
jsonString: string,
|
|
160
|
-
): SafeParseResult<
|
|
176
|
+
): SafeParseResult<ProductPriceCustom, SDKValidationError> {
|
|
161
177
|
return safeParse(
|
|
162
178
|
jsonString,
|
|
163
|
-
(x) =>
|
|
164
|
-
`Failed to parse '
|
|
179
|
+
(x) => ProductPriceCustom$inboundSchema.parse(JSON.parse(x)),
|
|
180
|
+
`Failed to parse 'ProductPriceCustom' from JSON`,
|
|
165
181
|
);
|
|
166
182
|
}
|
package/src/models/components/{productpriceonetimecustomcreate.ts → productpricecustomcreate.ts}
RENAMED
|
@@ -9,10 +9,9 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Schema to create a pay-what-you-want price
|
|
12
|
+
* Schema to create a pay-what-you-want price.
|
|
13
13
|
*/
|
|
14
|
-
export type
|
|
15
|
-
type?: "one_time" | undefined;
|
|
14
|
+
export type ProductPriceCustomCreate = {
|
|
16
15
|
amountType?: "custom" | undefined;
|
|
17
16
|
/**
|
|
18
17
|
* The currency. Currently, only `usd` is supported.
|
|
@@ -33,12 +32,11 @@ export type ProductPriceOneTimeCustomCreate = {
|
|
|
33
32
|
};
|
|
34
33
|
|
|
35
34
|
/** @internal */
|
|
36
|
-
export const
|
|
37
|
-
|
|
35
|
+
export const ProductPriceCustomCreate$inboundSchema: z.ZodType<
|
|
36
|
+
ProductPriceCustomCreate,
|
|
38
37
|
z.ZodTypeDef,
|
|
39
38
|
unknown
|
|
40
39
|
> = z.object({
|
|
41
|
-
type: z.literal("one_time").optional(),
|
|
42
40
|
amount_type: z.literal("custom").optional(),
|
|
43
41
|
price_currency: z.string().default("usd"),
|
|
44
42
|
minimum_amount: z.nullable(z.number().int()).optional(),
|
|
@@ -55,8 +53,7 @@ export const ProductPriceOneTimeCustomCreate$inboundSchema: z.ZodType<
|
|
|
55
53
|
});
|
|
56
54
|
|
|
57
55
|
/** @internal */
|
|
58
|
-
export type
|
|
59
|
-
type: "one_time";
|
|
56
|
+
export type ProductPriceCustomCreate$Outbound = {
|
|
60
57
|
amount_type: "custom";
|
|
61
58
|
price_currency: string;
|
|
62
59
|
minimum_amount?: number | null | undefined;
|
|
@@ -65,12 +62,11 @@ export type ProductPriceOneTimeCustomCreate$Outbound = {
|
|
|
65
62
|
};
|
|
66
63
|
|
|
67
64
|
/** @internal */
|
|
68
|
-
export const
|
|
69
|
-
|
|
65
|
+
export const ProductPriceCustomCreate$outboundSchema: z.ZodType<
|
|
66
|
+
ProductPriceCustomCreate$Outbound,
|
|
70
67
|
z.ZodTypeDef,
|
|
71
|
-
|
|
68
|
+
ProductPriceCustomCreate
|
|
72
69
|
> = z.object({
|
|
73
|
-
type: z.literal("one_time").default("one_time" as const),
|
|
74
70
|
amountType: z.literal("custom").default("custom" as const),
|
|
75
71
|
priceCurrency: z.string().default("usd"),
|
|
76
72
|
minimumAmount: z.nullable(z.number().int()).optional(),
|
|
@@ -90,31 +86,29 @@ export const ProductPriceOneTimeCustomCreate$outboundSchema: z.ZodType<
|
|
|
90
86
|
* @internal
|
|
91
87
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
92
88
|
*/
|
|
93
|
-
export namespace
|
|
94
|
-
/** @deprecated use `
|
|
95
|
-
export const inboundSchema =
|
|
96
|
-
/** @deprecated use `
|
|
97
|
-
export const outboundSchema =
|
|
98
|
-
/** @deprecated use `
|
|
99
|
-
export type Outbound =
|
|
89
|
+
export namespace ProductPriceCustomCreate$ {
|
|
90
|
+
/** @deprecated use `ProductPriceCustomCreate$inboundSchema` instead. */
|
|
91
|
+
export const inboundSchema = ProductPriceCustomCreate$inboundSchema;
|
|
92
|
+
/** @deprecated use `ProductPriceCustomCreate$outboundSchema` instead. */
|
|
93
|
+
export const outboundSchema = ProductPriceCustomCreate$outboundSchema;
|
|
94
|
+
/** @deprecated use `ProductPriceCustomCreate$Outbound` instead. */
|
|
95
|
+
export type Outbound = ProductPriceCustomCreate$Outbound;
|
|
100
96
|
}
|
|
101
97
|
|
|
102
|
-
export function
|
|
103
|
-
|
|
98
|
+
export function productPriceCustomCreateToJSON(
|
|
99
|
+
productPriceCustomCreate: ProductPriceCustomCreate,
|
|
104
100
|
): string {
|
|
105
101
|
return JSON.stringify(
|
|
106
|
-
|
|
107
|
-
productPriceOneTimeCustomCreate,
|
|
108
|
-
),
|
|
102
|
+
ProductPriceCustomCreate$outboundSchema.parse(productPriceCustomCreate),
|
|
109
103
|
);
|
|
110
104
|
}
|
|
111
105
|
|
|
112
|
-
export function
|
|
106
|
+
export function productPriceCustomCreateFromJSON(
|
|
113
107
|
jsonString: string,
|
|
114
|
-
): SafeParseResult<
|
|
108
|
+
): SafeParseResult<ProductPriceCustomCreate, SDKValidationError> {
|
|
115
109
|
return safeParse(
|
|
116
110
|
jsonString,
|
|
117
|
-
(x) =>
|
|
118
|
-
`Failed to parse '
|
|
111
|
+
(x) => ProductPriceCustomCreate$inboundSchema.parse(JSON.parse(x)),
|
|
112
|
+
`Failed to parse 'ProductPriceCustomCreate' from JSON`,
|
|
119
113
|
);
|
|
120
114
|
}
|
|
@@ -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
|
|
22
|
+
* A fixed price for a product.
|
|
13
23
|
*/
|
|
14
|
-
export type
|
|
24
|
+
export type ProductPriceFixed = {
|
|
15
25
|
/**
|
|
16
26
|
* Creation timestamp of the object.
|
|
17
27
|
*/
|
|
@@ -33,6 +43,11 @@ export type ProductPriceOneTimeFixed = {
|
|
|
33
43
|
* The ID of the product owning the price.
|
|
34
44
|
*/
|
|
35
45
|
productId: string;
|
|
46
|
+
type: ProductPriceType;
|
|
47
|
+
/**
|
|
48
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
49
|
+
*/
|
|
50
|
+
recurringInterval: SubscriptionRecurringInterval | null;
|
|
36
51
|
/**
|
|
37
52
|
* The currency.
|
|
38
53
|
*/
|
|
@@ -41,15 +56,11 @@ export type ProductPriceOneTimeFixed = {
|
|
|
41
56
|
* The price in cents.
|
|
42
57
|
*/
|
|
43
58
|
priceAmount: number;
|
|
44
|
-
/**
|
|
45
|
-
* The type of the price.
|
|
46
|
-
*/
|
|
47
|
-
type?: "one_time" | undefined;
|
|
48
59
|
};
|
|
49
60
|
|
|
50
61
|
/** @internal */
|
|
51
|
-
export const
|
|
52
|
-
|
|
62
|
+
export const ProductPriceFixed$inboundSchema: z.ZodType<
|
|
63
|
+
ProductPriceFixed,
|
|
53
64
|
z.ZodTypeDef,
|
|
54
65
|
unknown
|
|
55
66
|
> = z.object({
|
|
@@ -61,9 +72,10 @@ export const ProductPriceOneTimeFixed$inboundSchema: z.ZodType<
|
|
|
61
72
|
amount_type: z.literal("fixed").optional(),
|
|
62
73
|
is_archived: z.boolean(),
|
|
63
74
|
product_id: z.string(),
|
|
75
|
+
type: ProductPriceType$inboundSchema,
|
|
76
|
+
recurring_interval: z.nullable(SubscriptionRecurringInterval$inboundSchema),
|
|
64
77
|
price_currency: z.string(),
|
|
65
78
|
price_amount: z.number().int(),
|
|
66
|
-
type: z.literal("one_time").optional(),
|
|
67
79
|
}).transform((v) => {
|
|
68
80
|
return remap$(v, {
|
|
69
81
|
"created_at": "createdAt",
|
|
@@ -71,29 +83,31 @@ export const ProductPriceOneTimeFixed$inboundSchema: z.ZodType<
|
|
|
71
83
|
"amount_type": "amountType",
|
|
72
84
|
"is_archived": "isArchived",
|
|
73
85
|
"product_id": "productId",
|
|
86
|
+
"recurring_interval": "recurringInterval",
|
|
74
87
|
"price_currency": "priceCurrency",
|
|
75
88
|
"price_amount": "priceAmount",
|
|
76
89
|
});
|
|
77
90
|
});
|
|
78
91
|
|
|
79
92
|
/** @internal */
|
|
80
|
-
export type
|
|
93
|
+
export type ProductPriceFixed$Outbound = {
|
|
81
94
|
created_at: string;
|
|
82
95
|
modified_at: string | null;
|
|
83
96
|
id: string;
|
|
84
97
|
amount_type: "fixed";
|
|
85
98
|
is_archived: boolean;
|
|
86
99
|
product_id: string;
|
|
100
|
+
type: string;
|
|
101
|
+
recurring_interval: string | null;
|
|
87
102
|
price_currency: string;
|
|
88
103
|
price_amount: number;
|
|
89
|
-
type: "one_time";
|
|
90
104
|
};
|
|
91
105
|
|
|
92
106
|
/** @internal */
|
|
93
|
-
export const
|
|
94
|
-
|
|
107
|
+
export const ProductPriceFixed$outboundSchema: z.ZodType<
|
|
108
|
+
ProductPriceFixed$Outbound,
|
|
95
109
|
z.ZodTypeDef,
|
|
96
|
-
|
|
110
|
+
ProductPriceFixed
|
|
97
111
|
> = z.object({
|
|
98
112
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
99
113
|
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
@@ -101,9 +115,10 @@ export const ProductPriceOneTimeFixed$outboundSchema: z.ZodType<
|
|
|
101
115
|
amountType: z.literal("fixed").default("fixed" as const),
|
|
102
116
|
isArchived: z.boolean(),
|
|
103
117
|
productId: z.string(),
|
|
118
|
+
type: ProductPriceType$outboundSchema,
|
|
119
|
+
recurringInterval: z.nullable(SubscriptionRecurringInterval$outboundSchema),
|
|
104
120
|
priceCurrency: z.string(),
|
|
105
121
|
priceAmount: z.number().int(),
|
|
106
|
-
type: z.literal("one_time").default("one_time" as const),
|
|
107
122
|
}).transform((v) => {
|
|
108
123
|
return remap$(v, {
|
|
109
124
|
createdAt: "created_at",
|
|
@@ -111,6 +126,7 @@ export const ProductPriceOneTimeFixed$outboundSchema: z.ZodType<
|
|
|
111
126
|
amountType: "amount_type",
|
|
112
127
|
isArchived: "is_archived",
|
|
113
128
|
productId: "product_id",
|
|
129
|
+
recurringInterval: "recurring_interval",
|
|
114
130
|
priceCurrency: "price_currency",
|
|
115
131
|
priceAmount: "price_amount",
|
|
116
132
|
});
|
|
@@ -120,29 +136,29 @@ export const ProductPriceOneTimeFixed$outboundSchema: z.ZodType<
|
|
|
120
136
|
* @internal
|
|
121
137
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
122
138
|
*/
|
|
123
|
-
export namespace
|
|
124
|
-
/** @deprecated use `
|
|
125
|
-
export const inboundSchema =
|
|
126
|
-
/** @deprecated use `
|
|
127
|
-
export const outboundSchema =
|
|
128
|
-
/** @deprecated use `
|
|
129
|
-
export type Outbound =
|
|
139
|
+
export namespace ProductPriceFixed$ {
|
|
140
|
+
/** @deprecated use `ProductPriceFixed$inboundSchema` instead. */
|
|
141
|
+
export const inboundSchema = ProductPriceFixed$inboundSchema;
|
|
142
|
+
/** @deprecated use `ProductPriceFixed$outboundSchema` instead. */
|
|
143
|
+
export const outboundSchema = ProductPriceFixed$outboundSchema;
|
|
144
|
+
/** @deprecated use `ProductPriceFixed$Outbound` instead. */
|
|
145
|
+
export type Outbound = ProductPriceFixed$Outbound;
|
|
130
146
|
}
|
|
131
147
|
|
|
132
|
-
export function
|
|
133
|
-
|
|
148
|
+
export function productPriceFixedToJSON(
|
|
149
|
+
productPriceFixed: ProductPriceFixed,
|
|
134
150
|
): string {
|
|
135
151
|
return JSON.stringify(
|
|
136
|
-
|
|
152
|
+
ProductPriceFixed$outboundSchema.parse(productPriceFixed),
|
|
137
153
|
);
|
|
138
154
|
}
|
|
139
155
|
|
|
140
|
-
export function
|
|
156
|
+
export function productPriceFixedFromJSON(
|
|
141
157
|
jsonString: string,
|
|
142
|
-
): SafeParseResult<
|
|
158
|
+
): SafeParseResult<ProductPriceFixed, SDKValidationError> {
|
|
143
159
|
return safeParse(
|
|
144
160
|
jsonString,
|
|
145
|
-
(x) =>
|
|
146
|
-
`Failed to parse '
|
|
161
|
+
(x) => ProductPriceFixed$inboundSchema.parse(JSON.parse(x)),
|
|
162
|
+
`Failed to parse 'ProductPriceFixed' from JSON`,
|
|
147
163
|
);
|
|
148
164
|
}
|
package/src/models/components/{productpriceonetimefixedcreate.ts → productpricefixedcreate.ts}
RENAMED
|
@@ -9,10 +9,9 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Schema to create a
|
|
12
|
+
* Schema to create a fixed price.
|
|
13
13
|
*/
|
|
14
|
-
export type
|
|
15
|
-
type?: "one_time" | undefined;
|
|
14
|
+
export type ProductPriceFixedCreate = {
|
|
16
15
|
amountType?: "fixed" | undefined;
|
|
17
16
|
/**
|
|
18
17
|
* The price in cents.
|
|
@@ -25,12 +24,11 @@ export type ProductPriceOneTimeFixedCreate = {
|
|
|
25
24
|
};
|
|
26
25
|
|
|
27
26
|
/** @internal */
|
|
28
|
-
export const
|
|
29
|
-
|
|
27
|
+
export const ProductPriceFixedCreate$inboundSchema: z.ZodType<
|
|
28
|
+
ProductPriceFixedCreate,
|
|
30
29
|
z.ZodTypeDef,
|
|
31
30
|
unknown
|
|
32
31
|
> = z.object({
|
|
33
|
-
type: z.literal("one_time").optional(),
|
|
34
32
|
amount_type: z.literal("fixed").optional(),
|
|
35
33
|
price_amount: z.number().int(),
|
|
36
34
|
price_currency: z.string().default("usd"),
|
|
@@ -43,20 +41,18 @@ export const ProductPriceOneTimeFixedCreate$inboundSchema: z.ZodType<
|
|
|
43
41
|
});
|
|
44
42
|
|
|
45
43
|
/** @internal */
|
|
46
|
-
export type
|
|
47
|
-
type: "one_time";
|
|
44
|
+
export type ProductPriceFixedCreate$Outbound = {
|
|
48
45
|
amount_type: "fixed";
|
|
49
46
|
price_amount: number;
|
|
50
47
|
price_currency: string;
|
|
51
48
|
};
|
|
52
49
|
|
|
53
50
|
/** @internal */
|
|
54
|
-
export const
|
|
55
|
-
|
|
51
|
+
export const ProductPriceFixedCreate$outboundSchema: z.ZodType<
|
|
52
|
+
ProductPriceFixedCreate$Outbound,
|
|
56
53
|
z.ZodTypeDef,
|
|
57
|
-
|
|
54
|
+
ProductPriceFixedCreate
|
|
58
55
|
> = z.object({
|
|
59
|
-
type: z.literal("one_time").default("one_time" as const),
|
|
60
56
|
amountType: z.literal("fixed").default("fixed" as const),
|
|
61
57
|
priceAmount: z.number().int(),
|
|
62
58
|
priceCurrency: z.string().default("usd"),
|
|
@@ -72,31 +68,29 @@ export const ProductPriceOneTimeFixedCreate$outboundSchema: z.ZodType<
|
|
|
72
68
|
* @internal
|
|
73
69
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
70
|
*/
|
|
75
|
-
export namespace
|
|
76
|
-
/** @deprecated use `
|
|
77
|
-
export const inboundSchema =
|
|
78
|
-
/** @deprecated use `
|
|
79
|
-
export const outboundSchema =
|
|
80
|
-
/** @deprecated use `
|
|
81
|
-
export type Outbound =
|
|
71
|
+
export namespace ProductPriceFixedCreate$ {
|
|
72
|
+
/** @deprecated use `ProductPriceFixedCreate$inboundSchema` instead. */
|
|
73
|
+
export const inboundSchema = ProductPriceFixedCreate$inboundSchema;
|
|
74
|
+
/** @deprecated use `ProductPriceFixedCreate$outboundSchema` instead. */
|
|
75
|
+
export const outboundSchema = ProductPriceFixedCreate$outboundSchema;
|
|
76
|
+
/** @deprecated use `ProductPriceFixedCreate$Outbound` instead. */
|
|
77
|
+
export type Outbound = ProductPriceFixedCreate$Outbound;
|
|
82
78
|
}
|
|
83
79
|
|
|
84
|
-
export function
|
|
85
|
-
|
|
80
|
+
export function productPriceFixedCreateToJSON(
|
|
81
|
+
productPriceFixedCreate: ProductPriceFixedCreate,
|
|
86
82
|
): string {
|
|
87
83
|
return JSON.stringify(
|
|
88
|
-
|
|
89
|
-
productPriceOneTimeFixedCreate,
|
|
90
|
-
),
|
|
84
|
+
ProductPriceFixedCreate$outboundSchema.parse(productPriceFixedCreate),
|
|
91
85
|
);
|
|
92
86
|
}
|
|
93
87
|
|
|
94
|
-
export function
|
|
88
|
+
export function productPriceFixedCreateFromJSON(
|
|
95
89
|
jsonString: string,
|
|
96
|
-
): SafeParseResult<
|
|
90
|
+
): SafeParseResult<ProductPriceFixedCreate, SDKValidationError> {
|
|
97
91
|
return safeParse(
|
|
98
92
|
jsonString,
|
|
99
|
-
(x) =>
|
|
100
|
-
`Failed to parse '
|
|
93
|
+
(x) => ProductPriceFixedCreate$inboundSchema.parse(JSON.parse(x)),
|
|
94
|
+
`Failed to parse 'ProductPriceFixedCreate' from JSON`,
|
|
101
95
|
);
|
|
102
96
|
}
|