@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
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { CustomerProduct, CustomerProduct$Outbound } from "./customerproduct.js";
|
|
5
|
+
import { Organization, Organization$Outbound } from "./organization.js";
|
|
6
|
+
/**
|
|
7
|
+
* Schema of an organization and related data for customer portal.
|
|
8
|
+
*/
|
|
9
|
+
export type CustomerOrganization = {
|
|
10
|
+
organization: Organization;
|
|
11
|
+
products: Array<CustomerProduct>;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const CustomerOrganization$inboundSchema: z.ZodType<CustomerOrganization, z.ZodTypeDef, unknown>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type CustomerOrganization$Outbound = {
|
|
17
|
+
organization: Organization$Outbound;
|
|
18
|
+
products: Array<CustomerProduct$Outbound>;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const CustomerOrganization$outboundSchema: z.ZodType<CustomerOrganization$Outbound, z.ZodTypeDef, CustomerOrganization>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
25
|
+
*/
|
|
26
|
+
export declare namespace CustomerOrganization$ {
|
|
27
|
+
/** @deprecated use `CustomerOrganization$inboundSchema` instead. */
|
|
28
|
+
const inboundSchema: z.ZodType<CustomerOrganization, z.ZodTypeDef, unknown>;
|
|
29
|
+
/** @deprecated use `CustomerOrganization$outboundSchema` instead. */
|
|
30
|
+
const outboundSchema: z.ZodType<CustomerOrganization$Outbound, z.ZodTypeDef, CustomerOrganization>;
|
|
31
|
+
/** @deprecated use `CustomerOrganization$Outbound` instead. */
|
|
32
|
+
type Outbound = CustomerOrganization$Outbound;
|
|
33
|
+
}
|
|
34
|
+
export declare function customerOrganizationToJSON(customerOrganization: CustomerOrganization): string;
|
|
35
|
+
export declare function customerOrganizationFromJSON(jsonString: string): SafeParseResult<CustomerOrganization, SDKValidationError>;
|
|
36
|
+
//# sourceMappingURL=customerorganization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerorganization.d.ts","sourceRoot":"","sources":["../../../../src/models/components/customerorganization.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAA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DIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import { CustomerProduct$inboundSchema, CustomerProduct$outboundSchema, } from "./customerproduct.js";
|
|
7
|
+
import { Organization$inboundSchema, Organization$outboundSchema, } from "./organization.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const CustomerOrganization$inboundSchema = z.object({
|
|
10
|
+
organization: Organization$inboundSchema,
|
|
11
|
+
products: z.array(CustomerProduct$inboundSchema),
|
|
12
|
+
});
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const CustomerOrganization$outboundSchema = z.object({
|
|
15
|
+
organization: Organization$outboundSchema,
|
|
16
|
+
products: z.array(CustomerProduct$outboundSchema),
|
|
17
|
+
});
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
21
|
+
*/
|
|
22
|
+
export var CustomerOrganization$;
|
|
23
|
+
(function (CustomerOrganization$) {
|
|
24
|
+
/** @deprecated use `CustomerOrganization$inboundSchema` instead. */
|
|
25
|
+
CustomerOrganization$.inboundSchema = CustomerOrganization$inboundSchema;
|
|
26
|
+
/** @deprecated use `CustomerOrganization$outboundSchema` instead. */
|
|
27
|
+
CustomerOrganization$.outboundSchema = CustomerOrganization$outboundSchema;
|
|
28
|
+
})(CustomerOrganization$ || (CustomerOrganization$ = {}));
|
|
29
|
+
export function customerOrganizationToJSON(customerOrganization) {
|
|
30
|
+
return JSON.stringify(CustomerOrganization$outboundSchema.parse(customerOrganization));
|
|
31
|
+
}
|
|
32
|
+
export function customerOrganizationFromJSON(jsonString) {
|
|
33
|
+
return safeParse(jsonString, (x) => CustomerOrganization$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomerOrganization' from JSON`);
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=customerorganization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerorganization.js","sourceRoot":"","sources":["../../../../src/models/components/customerorganization.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,6BAA6B,EAE7B,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,0BAA0B,EAE1B,2BAA2B,GAC5B,MAAM,mBAAmB,CAAC;AAU3B,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,0BAA0B;IACxC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC;CACjD,CAAC,CAAC;AAQH,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,2BAA2B;IACzC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC;CAClD,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,kCAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,mCAAmC,CAAC;AAGpE,CAAC,EAPgB,qBAAqB,KAArB,qBAAqB,QAOrC;AAED,MAAM,UAAU,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { BenefitBase, BenefitBase$Outbound } from "./benefitbase.js";
|
|
5
|
+
import { LegacyRecurringProductPrice, LegacyRecurringProductPrice$Outbound } from "./legacyrecurringproductprice.js";
|
|
6
|
+
import { ProductMediaFileRead, ProductMediaFileRead$Outbound } from "./productmediafileread.js";
|
|
7
|
+
import { ProductPrice, ProductPrice$Outbound } from "./productprice.js";
|
|
8
|
+
import { SubscriptionRecurringInterval } from "./subscriptionrecurringinterval.js";
|
|
9
|
+
export type CustomerProductPrices = LegacyRecurringProductPrice | ProductPrice;
|
|
10
|
+
/**
|
|
11
|
+
* Schema of a product for customer portal.
|
|
12
|
+
*/
|
|
13
|
+
export type CustomerProduct = {
|
|
14
|
+
/**
|
|
15
|
+
* Creation timestamp of the object.
|
|
16
|
+
*/
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
/**
|
|
19
|
+
* Last modification timestamp of the object.
|
|
20
|
+
*/
|
|
21
|
+
modifiedAt: Date | null;
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the product.
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* The name of the product.
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* The description of the product.
|
|
32
|
+
*/
|
|
33
|
+
description: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* The recurring interval of the product. If `None`, the product is a one-time purchase.
|
|
36
|
+
*/
|
|
37
|
+
recurringInterval: SubscriptionRecurringInterval | null;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the product is a subscription.
|
|
40
|
+
*/
|
|
41
|
+
isRecurring: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the product is archived and no longer available.
|
|
44
|
+
*/
|
|
45
|
+
isArchived: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the organization owning the product.
|
|
48
|
+
*/
|
|
49
|
+
organizationId: string;
|
|
50
|
+
/**
|
|
51
|
+
* List of available prices for this product.
|
|
52
|
+
*/
|
|
53
|
+
prices: Array<LegacyRecurringProductPrice | ProductPrice>;
|
|
54
|
+
/**
|
|
55
|
+
* The benefits granted by the product.
|
|
56
|
+
*/
|
|
57
|
+
benefits: Array<BenefitBase>;
|
|
58
|
+
/**
|
|
59
|
+
* The medias associated to the product.
|
|
60
|
+
*/
|
|
61
|
+
medias: Array<ProductMediaFileRead>;
|
|
62
|
+
};
|
|
63
|
+
/** @internal */
|
|
64
|
+
export declare const CustomerProductPrices$inboundSchema: z.ZodType<CustomerProductPrices, z.ZodTypeDef, unknown>;
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type CustomerProductPrices$Outbound = LegacyRecurringProductPrice$Outbound | ProductPrice$Outbound;
|
|
67
|
+
/** @internal */
|
|
68
|
+
export declare const CustomerProductPrices$outboundSchema: z.ZodType<CustomerProductPrices$Outbound, z.ZodTypeDef, CustomerProductPrices>;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
72
|
+
*/
|
|
73
|
+
export declare namespace CustomerProductPrices$ {
|
|
74
|
+
/** @deprecated use `CustomerProductPrices$inboundSchema` instead. */
|
|
75
|
+
const inboundSchema: z.ZodType<CustomerProductPrices, z.ZodTypeDef, unknown>;
|
|
76
|
+
/** @deprecated use `CustomerProductPrices$outboundSchema` instead. */
|
|
77
|
+
const outboundSchema: z.ZodType<CustomerProductPrices$Outbound, z.ZodTypeDef, CustomerProductPrices>;
|
|
78
|
+
/** @deprecated use `CustomerProductPrices$Outbound` instead. */
|
|
79
|
+
type Outbound = CustomerProductPrices$Outbound;
|
|
80
|
+
}
|
|
81
|
+
export declare function customerProductPricesToJSON(customerProductPrices: CustomerProductPrices): string;
|
|
82
|
+
export declare function customerProductPricesFromJSON(jsonString: string): SafeParseResult<CustomerProductPrices, SDKValidationError>;
|
|
83
|
+
/** @internal */
|
|
84
|
+
export declare const CustomerProduct$inboundSchema: z.ZodType<CustomerProduct, z.ZodTypeDef, unknown>;
|
|
85
|
+
/** @internal */
|
|
86
|
+
export type CustomerProduct$Outbound = {
|
|
87
|
+
created_at: string;
|
|
88
|
+
modified_at: string | null;
|
|
89
|
+
id: string;
|
|
90
|
+
name: string;
|
|
91
|
+
description: string | null;
|
|
92
|
+
recurring_interval: string | null;
|
|
93
|
+
is_recurring: boolean;
|
|
94
|
+
is_archived: boolean;
|
|
95
|
+
organization_id: string;
|
|
96
|
+
prices: Array<LegacyRecurringProductPrice$Outbound | ProductPrice$Outbound>;
|
|
97
|
+
benefits: Array<BenefitBase$Outbound>;
|
|
98
|
+
medias: Array<ProductMediaFileRead$Outbound>;
|
|
99
|
+
};
|
|
100
|
+
/** @internal */
|
|
101
|
+
export declare const CustomerProduct$outboundSchema: z.ZodType<CustomerProduct$Outbound, z.ZodTypeDef, CustomerProduct>;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
105
|
+
*/
|
|
106
|
+
export declare namespace CustomerProduct$ {
|
|
107
|
+
/** @deprecated use `CustomerProduct$inboundSchema` instead. */
|
|
108
|
+
const inboundSchema: z.ZodType<CustomerProduct, z.ZodTypeDef, unknown>;
|
|
109
|
+
/** @deprecated use `CustomerProduct$outboundSchema` instead. */
|
|
110
|
+
const outboundSchema: z.ZodType<CustomerProduct$Outbound, z.ZodTypeDef, CustomerProduct>;
|
|
111
|
+
/** @deprecated use `CustomerProduct$Outbound` instead. */
|
|
112
|
+
type Outbound = CustomerProduct$Outbound;
|
|
113
|
+
}
|
|
114
|
+
export declare function customerProductToJSON(customerProduct: CustomerProduct): string;
|
|
115
|
+
export declare function customerProductFromJSON(jsonString: string): SafeParseResult<CustomerProduct, SDKValidationError>;
|
|
116
|
+
//# sourceMappingURL=customerproduct.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerproduct.d.ts","sourceRoot":"","sources":["../../../../src/models/components/customerproduct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,6BAA6B,EAG9B,MAAM,oCAAoC,CAAC;AAE5C,MAAM,MAAM,qBAAqB,GAAG,2BAA2B,GAAG,YAAY,CAAC;AAE/E;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;OAEG;IACH,iBAAiB,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACxD;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,MAAM,EAAE,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C;IAC3B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,YAAY,EAAE,OAAO,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,KAAK,CAAC,oCAAoC,GAAG,qBAAqB,CAAC,CAAC;IAC5E,QAAQ,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACtC,MAAM,EAAE,KAAK,CAAC,6BAA6B,CAAC,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,eAAe,CA4Bf,CAAC;AAEH;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAChC,+DAA+D;IACxD,MAAM,aAAa,mDAAgC,CAAC;IAC3D,gEAAgE;IACzD,MAAM,cAAc,oEAAiC,CAAC;IAC7D,0DAA0D;IAC1D,KAAY,QAAQ,GAAG,wBAAwB,CAAC;CACjD;AAED,wBAAgB,qBAAqB,CACnC,eAAe,EAAE,eAAe,GAC/B,MAAM,CAER;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { BenefitBase$inboundSchema, BenefitBase$outboundSchema, } from "./benefitbase.js";
|
|
8
|
+
import { LegacyRecurringProductPrice$inboundSchema, LegacyRecurringProductPrice$outboundSchema, } from "./legacyrecurringproductprice.js";
|
|
9
|
+
import { ProductMediaFileRead$inboundSchema, ProductMediaFileRead$outboundSchema, } from "./productmediafileread.js";
|
|
10
|
+
import { ProductPrice$inboundSchema, ProductPrice$outboundSchema, } from "./productprice.js";
|
|
11
|
+
import { SubscriptionRecurringInterval$inboundSchema, SubscriptionRecurringInterval$outboundSchema, } from "./subscriptionrecurringinterval.js";
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const CustomerProductPrices$inboundSchema = z.union([
|
|
14
|
+
LegacyRecurringProductPrice$inboundSchema,
|
|
15
|
+
ProductPrice$inboundSchema,
|
|
16
|
+
]);
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const CustomerProductPrices$outboundSchema = z.union([
|
|
19
|
+
LegacyRecurringProductPrice$outboundSchema,
|
|
20
|
+
ProductPrice$outboundSchema,
|
|
21
|
+
]);
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
25
|
+
*/
|
|
26
|
+
export var CustomerProductPrices$;
|
|
27
|
+
(function (CustomerProductPrices$) {
|
|
28
|
+
/** @deprecated use `CustomerProductPrices$inboundSchema` instead. */
|
|
29
|
+
CustomerProductPrices$.inboundSchema = CustomerProductPrices$inboundSchema;
|
|
30
|
+
/** @deprecated use `CustomerProductPrices$outboundSchema` instead. */
|
|
31
|
+
CustomerProductPrices$.outboundSchema = CustomerProductPrices$outboundSchema;
|
|
32
|
+
})(CustomerProductPrices$ || (CustomerProductPrices$ = {}));
|
|
33
|
+
export function customerProductPricesToJSON(customerProductPrices) {
|
|
34
|
+
return JSON.stringify(CustomerProductPrices$outboundSchema.parse(customerProductPrices));
|
|
35
|
+
}
|
|
36
|
+
export function customerProductPricesFromJSON(jsonString) {
|
|
37
|
+
return safeParse(jsonString, (x) => CustomerProductPrices$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomerProductPrices' from JSON`);
|
|
38
|
+
}
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const CustomerProduct$inboundSchema = z.object({
|
|
41
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
42
|
+
modified_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
43
|
+
id: z.string(),
|
|
44
|
+
name: z.string(),
|
|
45
|
+
description: z.nullable(z.string()),
|
|
46
|
+
recurring_interval: z.nullable(SubscriptionRecurringInterval$inboundSchema),
|
|
47
|
+
is_recurring: z.boolean(),
|
|
48
|
+
is_archived: z.boolean(),
|
|
49
|
+
organization_id: z.string(),
|
|
50
|
+
prices: z.array(z.union([
|
|
51
|
+
LegacyRecurringProductPrice$inboundSchema,
|
|
52
|
+
ProductPrice$inboundSchema,
|
|
53
|
+
])),
|
|
54
|
+
benefits: z.array(BenefitBase$inboundSchema),
|
|
55
|
+
medias: z.array(ProductMediaFileRead$inboundSchema),
|
|
56
|
+
}).transform((v) => {
|
|
57
|
+
return remap$(v, {
|
|
58
|
+
"created_at": "createdAt",
|
|
59
|
+
"modified_at": "modifiedAt",
|
|
60
|
+
"recurring_interval": "recurringInterval",
|
|
61
|
+
"is_recurring": "isRecurring",
|
|
62
|
+
"is_archived": "isArchived",
|
|
63
|
+
"organization_id": "organizationId",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
/** @internal */
|
|
67
|
+
export const CustomerProduct$outboundSchema = z.object({
|
|
68
|
+
createdAt: z.date().transform(v => v.toISOString()),
|
|
69
|
+
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
70
|
+
id: z.string(),
|
|
71
|
+
name: z.string(),
|
|
72
|
+
description: z.nullable(z.string()),
|
|
73
|
+
recurringInterval: z.nullable(SubscriptionRecurringInterval$outboundSchema),
|
|
74
|
+
isRecurring: z.boolean(),
|
|
75
|
+
isArchived: z.boolean(),
|
|
76
|
+
organizationId: z.string(),
|
|
77
|
+
prices: z.array(z.union([
|
|
78
|
+
LegacyRecurringProductPrice$outboundSchema,
|
|
79
|
+
ProductPrice$outboundSchema,
|
|
80
|
+
])),
|
|
81
|
+
benefits: z.array(BenefitBase$outboundSchema),
|
|
82
|
+
medias: z.array(ProductMediaFileRead$outboundSchema),
|
|
83
|
+
}).transform((v) => {
|
|
84
|
+
return remap$(v, {
|
|
85
|
+
createdAt: "created_at",
|
|
86
|
+
modifiedAt: "modified_at",
|
|
87
|
+
recurringInterval: "recurring_interval",
|
|
88
|
+
isRecurring: "is_recurring",
|
|
89
|
+
isArchived: "is_archived",
|
|
90
|
+
organizationId: "organization_id",
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
96
|
+
*/
|
|
97
|
+
export var CustomerProduct$;
|
|
98
|
+
(function (CustomerProduct$) {
|
|
99
|
+
/** @deprecated use `CustomerProduct$inboundSchema` instead. */
|
|
100
|
+
CustomerProduct$.inboundSchema = CustomerProduct$inboundSchema;
|
|
101
|
+
/** @deprecated use `CustomerProduct$outboundSchema` instead. */
|
|
102
|
+
CustomerProduct$.outboundSchema = CustomerProduct$outboundSchema;
|
|
103
|
+
})(CustomerProduct$ || (CustomerProduct$ = {}));
|
|
104
|
+
export function customerProductToJSON(customerProduct) {
|
|
105
|
+
return JSON.stringify(CustomerProduct$outboundSchema.parse(customerProduct));
|
|
106
|
+
}
|
|
107
|
+
export function customerProductFromJSON(jsonString) {
|
|
108
|
+
return safeParse(jsonString, (x) => CustomerProduct$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomerProduct' from JSON`);
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=customerproduct.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerproduct.js","sourceRoot":"","sources":["../../../../src/models/components/customerproduct.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SA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AAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,gBAAgB,CAOhC;AAPD,WAAiB,gBAAgB;IAC/B,+DAA+D;IAClD,8BAAa,GAAG,6BAA6B,CAAC;IAC3D,gEAAgE;IACnD,+BAAc,GAAG,8BAA8B,CAAC;AAG/D,CAAC,EAPgB,gBAAgB,KAAhB,gBAAgB,QAOhC;AAED,MAAM,UAAU,qBAAqB,CACnC,eAAgC;IAEhC,OAAO,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -3,9 +3,11 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { CustomerCancellationReason } from "./customercancellationreason.js";
|
|
5
5
|
import { CustomerSubscriptionProduct, CustomerSubscriptionProduct$Outbound } from "./customersubscriptionproduct.js";
|
|
6
|
+
import { LegacyRecurringProductPrice, LegacyRecurringProductPrice$Outbound } from "./legacyrecurringproductprice.js";
|
|
6
7
|
import { ProductPrice, ProductPrice$Outbound } from "./productprice.js";
|
|
7
8
|
import { SubscriptionRecurringInterval } from "./subscriptionrecurringinterval.js";
|
|
8
9
|
import { SubscriptionStatus } from "./subscriptionstatus.js";
|
|
10
|
+
export type CustomerSubscriptionPrice = LegacyRecurringProductPrice | ProductPrice;
|
|
9
11
|
export type CustomerSubscription = {
|
|
10
12
|
/**
|
|
11
13
|
* Creation timestamp of the object.
|
|
@@ -42,9 +44,29 @@ export type CustomerSubscription = {
|
|
|
42
44
|
*/
|
|
43
45
|
userId: string;
|
|
44
46
|
product: CustomerSubscriptionProduct;
|
|
45
|
-
price: ProductPrice;
|
|
47
|
+
price: LegacyRecurringProductPrice | ProductPrice;
|
|
46
48
|
};
|
|
47
49
|
/** @internal */
|
|
50
|
+
export declare const CustomerSubscriptionPrice$inboundSchema: z.ZodType<CustomerSubscriptionPrice, z.ZodTypeDef, unknown>;
|
|
51
|
+
/** @internal */
|
|
52
|
+
export type CustomerSubscriptionPrice$Outbound = LegacyRecurringProductPrice$Outbound | ProductPrice$Outbound;
|
|
53
|
+
/** @internal */
|
|
54
|
+
export declare const CustomerSubscriptionPrice$outboundSchema: z.ZodType<CustomerSubscriptionPrice$Outbound, z.ZodTypeDef, CustomerSubscriptionPrice>;
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
+
*/
|
|
59
|
+
export declare namespace CustomerSubscriptionPrice$ {
|
|
60
|
+
/** @deprecated use `CustomerSubscriptionPrice$inboundSchema` instead. */
|
|
61
|
+
const inboundSchema: z.ZodType<CustomerSubscriptionPrice, z.ZodTypeDef, unknown>;
|
|
62
|
+
/** @deprecated use `CustomerSubscriptionPrice$outboundSchema` instead. */
|
|
63
|
+
const outboundSchema: z.ZodType<CustomerSubscriptionPrice$Outbound, z.ZodTypeDef, CustomerSubscriptionPrice>;
|
|
64
|
+
/** @deprecated use `CustomerSubscriptionPrice$Outbound` instead. */
|
|
65
|
+
type Outbound = CustomerSubscriptionPrice$Outbound;
|
|
66
|
+
}
|
|
67
|
+
export declare function customerSubscriptionPriceToJSON(customerSubscriptionPrice: CustomerSubscriptionPrice): string;
|
|
68
|
+
export declare function customerSubscriptionPriceFromJSON(jsonString: string): SafeParseResult<CustomerSubscriptionPrice, SDKValidationError>;
|
|
69
|
+
/** @internal */
|
|
48
70
|
export declare const CustomerSubscription$inboundSchema: z.ZodType<CustomerSubscription, z.ZodTypeDef, unknown>;
|
|
49
71
|
/** @internal */
|
|
50
72
|
export type CustomerSubscription$Outbound = {
|
|
@@ -71,7 +93,7 @@ export type CustomerSubscription$Outbound = {
|
|
|
71
93
|
customer_cancellation_comment: string | null;
|
|
72
94
|
user_id: string;
|
|
73
95
|
product: CustomerSubscriptionProduct$Outbound;
|
|
74
|
-
price: ProductPrice$Outbound;
|
|
96
|
+
price: LegacyRecurringProductPrice$Outbound | ProductPrice$Outbound;
|
|
75
97
|
};
|
|
76
98
|
/** @internal */
|
|
77
99
|
export declare const CustomerSubscription$outboundSchema: z.ZodType<CustomerSubscription$Outbound, z.ZodTypeDef, CustomerSubscription>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customersubscription.d.ts","sourceRoot":"","sources":["../../../../src/models/components/customersubscription.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,0BAA0B,EAG3B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,6BAA6B,EAG9B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,kBAAkB,EAGnB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,iBAAiB,EAAE,6BAA6B,CAAC;IACjD,MAAM,EAAE,kBAAkB,CAAC;IAC3B,kBAAkB,EAAE,IAAI,CAAC;IACzB,gBAAgB,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,0BAA0B,EAAE,0BAA0B,GAAG,IAAI,CAAC;IAC9D,2BAA2B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,2BAA2B,CAAC;IACrC,KAAK,EAAE,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"customersubscription.d.ts","sourceRoot":"","sources":["../../../../src/models/components/customersubscription.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,0BAA0B,EAG3B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,6BAA6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,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,4BAA4B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,6BAA6B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,oCAAoC,CAAC;IAC9C,KAAK,EAAE,oCAAoC,GAAG,qBAAqB,CAAC;CACrE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAoDpB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC,oEAAoE;IAC7D,MAAM,aAAa,wDAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc,8EAAsC,CAAC;IAClE,+DAA+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -6,10 +6,38 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
7
|
import { CustomerCancellationReason$inboundSchema, CustomerCancellationReason$outboundSchema, } from "./customercancellationreason.js";
|
|
8
8
|
import { CustomerSubscriptionProduct$inboundSchema, CustomerSubscriptionProduct$outboundSchema, } from "./customersubscriptionproduct.js";
|
|
9
|
+
import { LegacyRecurringProductPrice$inboundSchema, LegacyRecurringProductPrice$outboundSchema, } from "./legacyrecurringproductprice.js";
|
|
9
10
|
import { ProductPrice$inboundSchema, ProductPrice$outboundSchema, } from "./productprice.js";
|
|
10
11
|
import { SubscriptionRecurringInterval$inboundSchema, SubscriptionRecurringInterval$outboundSchema, } from "./subscriptionrecurringinterval.js";
|
|
11
12
|
import { SubscriptionStatus$inboundSchema, SubscriptionStatus$outboundSchema, } from "./subscriptionstatus.js";
|
|
12
13
|
/** @internal */
|
|
14
|
+
export const CustomerSubscriptionPrice$inboundSchema = z.union([
|
|
15
|
+
LegacyRecurringProductPrice$inboundSchema,
|
|
16
|
+
ProductPrice$inboundSchema,
|
|
17
|
+
]);
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const CustomerSubscriptionPrice$outboundSchema = z.union([
|
|
20
|
+
LegacyRecurringProductPrice$outboundSchema,
|
|
21
|
+
ProductPrice$outboundSchema,
|
|
22
|
+
]);
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
26
|
+
*/
|
|
27
|
+
export var CustomerSubscriptionPrice$;
|
|
28
|
+
(function (CustomerSubscriptionPrice$) {
|
|
29
|
+
/** @deprecated use `CustomerSubscriptionPrice$inboundSchema` instead. */
|
|
30
|
+
CustomerSubscriptionPrice$.inboundSchema = CustomerSubscriptionPrice$inboundSchema;
|
|
31
|
+
/** @deprecated use `CustomerSubscriptionPrice$outboundSchema` instead. */
|
|
32
|
+
CustomerSubscriptionPrice$.outboundSchema = CustomerSubscriptionPrice$outboundSchema;
|
|
33
|
+
})(CustomerSubscriptionPrice$ || (CustomerSubscriptionPrice$ = {}));
|
|
34
|
+
export function customerSubscriptionPriceToJSON(customerSubscriptionPrice) {
|
|
35
|
+
return JSON.stringify(CustomerSubscriptionPrice$outboundSchema.parse(customerSubscriptionPrice));
|
|
36
|
+
}
|
|
37
|
+
export function customerSubscriptionPriceFromJSON(jsonString) {
|
|
38
|
+
return safeParse(jsonString, (x) => CustomerSubscriptionPrice$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CustomerSubscriptionPrice' from JSON`);
|
|
39
|
+
}
|
|
40
|
+
/** @internal */
|
|
13
41
|
export const CustomerSubscription$inboundSchema = z.object({
|
|
14
42
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
15
43
|
modified_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
@@ -34,7 +62,10 @@ export const CustomerSubscription$inboundSchema = z.object({
|
|
|
34
62
|
customer_cancellation_comment: z.nullable(z.string()),
|
|
35
63
|
user_id: z.string(),
|
|
36
64
|
product: CustomerSubscriptionProduct$inboundSchema,
|
|
37
|
-
price:
|
|
65
|
+
price: z.union([
|
|
66
|
+
LegacyRecurringProductPrice$inboundSchema,
|
|
67
|
+
ProductPrice$inboundSchema,
|
|
68
|
+
]),
|
|
38
69
|
}).transform((v) => {
|
|
39
70
|
return remap$(v, {
|
|
40
71
|
"created_at": "createdAt",
|
|
@@ -82,7 +113,10 @@ export const CustomerSubscription$outboundSchema = z.object({
|
|
|
82
113
|
customerCancellationComment: z.nullable(z.string()),
|
|
83
114
|
userId: z.string(),
|
|
84
115
|
product: CustomerSubscriptionProduct$outboundSchema,
|
|
85
|
-
price:
|
|
116
|
+
price: z.union([
|
|
117
|
+
LegacyRecurringProductPrice$outboundSchema,
|
|
118
|
+
ProductPrice$outboundSchema,
|
|
119
|
+
]),
|
|
86
120
|
}).transform((v) => {
|
|
87
121
|
return remap$(v, {
|
|
88
122
|
createdAt: "created_at",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customersubscription.js","sourceRoot":"","sources":["../../../../src/models/components/customersubscription.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,wCAAwC,EACxC,yCAAyC,GAC1C,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAEL,yCAAyC,EAEzC,0CAA0C,GAC3C,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,0BAA0B,EAE1B,2BAA2B,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,2CAA2C,EAC3C,4CAA4C,GAC7C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEL,gCAAgC,EAChC,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"customersubscription.js","sourceRoot":"","sources":["../../../../src/models/components/customersubscription.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,wCAAwC,EACxC,yCAAyC,GAC1C,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAEL,yCAAyC,EAEzC,0CAA0C,GAC3C,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,yCAAyC,EAEzC,0CAA0C,GAC3C,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,0BAA0B,EAE1B,2BAA2B,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,2CAA2C,EAC3C,4CAA4C,GAC7C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEL,gCAAgC,EAChC,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AA6CjC,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAIhD,CAAC,CAAC,KAAK,CAAC;IACV,yCAAyC;IACzC,0BAA0B;C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AAE,sBAAsB;QACzC,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;QACvB,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,UAAU;QACnB,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;QACvB,OAAO,EAAE,UAAU;QACnB,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,aAAa;QACzB,0BAA0B,EAAE,8BAA8B;QAC1D,2BAA2B,EAAE,+BAA+B;QAC5D,MAAM,EAAE,SAAS;KAClB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,kCAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,mCAAmC,CAAC;AAGpE,CAAC,EAPgB,qBAAqB,KAArB,qBAAqB,QAOrC;AAED,MAAM,UAAU,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
|
|
@@ -2,9 +2,12 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { BenefitBase, BenefitBase$Outbound } from "./benefitbase.js";
|
|
5
|
+
import { LegacyRecurringProductPrice, LegacyRecurringProductPrice$Outbound } from "./legacyrecurringproductprice.js";
|
|
5
6
|
import { Organization, Organization$Outbound } from "./organization.js";
|
|
6
7
|
import { ProductMediaFileRead, ProductMediaFileRead$Outbound } from "./productmediafileread.js";
|
|
7
8
|
import { ProductPrice, ProductPrice$Outbound } from "./productprice.js";
|
|
9
|
+
import { SubscriptionRecurringInterval } from "./subscriptionrecurringinterval.js";
|
|
10
|
+
export type CustomerSubscriptionProductPrices = LegacyRecurringProductPrice | ProductPrice;
|
|
8
11
|
export type CustomerSubscriptionProduct = {
|
|
9
12
|
/**
|
|
10
13
|
* Creation timestamp of the object.
|
|
@@ -27,7 +30,11 @@ export type CustomerSubscriptionProduct = {
|
|
|
27
30
|
*/
|
|
28
31
|
description: string | null;
|
|
29
32
|
/**
|
|
30
|
-
*
|
|
33
|
+
* The recurring interval of the product. If `None`, the product is a one-time purchase.
|
|
34
|
+
*/
|
|
35
|
+
recurringInterval: SubscriptionRecurringInterval | null;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the product is a subscription.
|
|
31
38
|
*/
|
|
32
39
|
isRecurring: boolean;
|
|
33
40
|
/**
|
|
@@ -41,7 +48,7 @@ export type CustomerSubscriptionProduct = {
|
|
|
41
48
|
/**
|
|
42
49
|
* List of prices for this product.
|
|
43
50
|
*/
|
|
44
|
-
prices: Array<ProductPrice>;
|
|
51
|
+
prices: Array<LegacyRecurringProductPrice | ProductPrice>;
|
|
45
52
|
/**
|
|
46
53
|
* List of benefits granted by the product.
|
|
47
54
|
*/
|
|
@@ -53,6 +60,26 @@ export type CustomerSubscriptionProduct = {
|
|
|
53
60
|
organization: Organization;
|
|
54
61
|
};
|
|
55
62
|
/** @internal */
|
|
63
|
+
export declare const CustomerSubscriptionProductPrices$inboundSchema: z.ZodType<CustomerSubscriptionProductPrices, z.ZodTypeDef, unknown>;
|
|
64
|
+
/** @internal */
|
|
65
|
+
export type CustomerSubscriptionProductPrices$Outbound = LegacyRecurringProductPrice$Outbound | ProductPrice$Outbound;
|
|
66
|
+
/** @internal */
|
|
67
|
+
export declare const CustomerSubscriptionProductPrices$outboundSchema: z.ZodType<CustomerSubscriptionProductPrices$Outbound, z.ZodTypeDef, CustomerSubscriptionProductPrices>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
71
|
+
*/
|
|
72
|
+
export declare namespace CustomerSubscriptionProductPrices$ {
|
|
73
|
+
/** @deprecated use `CustomerSubscriptionProductPrices$inboundSchema` instead. */
|
|
74
|
+
const inboundSchema: z.ZodType<CustomerSubscriptionProductPrices, z.ZodTypeDef, unknown>;
|
|
75
|
+
/** @deprecated use `CustomerSubscriptionProductPrices$outboundSchema` instead. */
|
|
76
|
+
const outboundSchema: z.ZodType<CustomerSubscriptionProductPrices$Outbound, z.ZodTypeDef, CustomerSubscriptionProductPrices>;
|
|
77
|
+
/** @deprecated use `CustomerSubscriptionProductPrices$Outbound` instead. */
|
|
78
|
+
type Outbound = CustomerSubscriptionProductPrices$Outbound;
|
|
79
|
+
}
|
|
80
|
+
export declare function customerSubscriptionProductPricesToJSON(customerSubscriptionProductPrices: CustomerSubscriptionProductPrices): string;
|
|
81
|
+
export declare function customerSubscriptionProductPricesFromJSON(jsonString: string): SafeParseResult<CustomerSubscriptionProductPrices, SDKValidationError>;
|
|
82
|
+
/** @internal */
|
|
56
83
|
export declare const CustomerSubscriptionProduct$inboundSchema: z.ZodType<CustomerSubscriptionProduct, z.ZodTypeDef, unknown>;
|
|
57
84
|
/** @internal */
|
|
58
85
|
export type CustomerSubscriptionProduct$Outbound = {
|
|
@@ -61,10 +88,11 @@ export type CustomerSubscriptionProduct$Outbound = {
|
|
|
61
88
|
id: string;
|
|
62
89
|
name: string;
|
|
63
90
|
description: string | null;
|
|
91
|
+
recurring_interval: string | null;
|
|
64
92
|
is_recurring: boolean;
|
|
65
93
|
is_archived: boolean;
|
|
66
94
|
organization_id: string;
|
|
67
|
-
prices: Array<ProductPrice$Outbound>;
|
|
95
|
+
prices: Array<LegacyRecurringProductPrice$Outbound | ProductPrice$Outbound>;
|
|
68
96
|
benefits: Array<BenefitBase$Outbound>;
|
|
69
97
|
medias: Array<ProductMediaFileRead$Outbound>;
|
|
70
98
|
organization: Organization$Outbound;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customersubscriptionproduct.d.ts","sourceRoot":"","sources":["../../../../src/models/components/customersubscriptionproduct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"customersubscriptionproduct.d.ts","sourceRoot":"","sources":["../../../../src/models/components/customersubscriptionproduct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,m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