@polar-sh/sdk 0.36.2 → 0.38.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 +7 -91
- package/dist/commonjs/funcs/benefitsDelete.d.ts +3 -3
- package/dist/commonjs/funcs/benefitsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/benefitsDelete.js +3 -3
- package/dist/commonjs/funcs/benefitsDelete.js.map +1 -1
- package/dist/commonjs/funcs/benefitsGet.d.ts +2 -2
- package/dist/commonjs/funcs/benefitsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/benefitsGet.js +2 -2
- package/dist/commonjs/funcs/benefitsGet.js.map +1 -1
- package/dist/commonjs/funcs/benefitsGrants.d.ts +2 -2
- package/dist/commonjs/funcs/benefitsGrants.d.ts.map +1 -1
- package/dist/commonjs/funcs/benefitsGrants.js +2 -2
- package/dist/commonjs/funcs/benefitsGrants.js.map +1 -1
- package/dist/commonjs/funcs/benefitsUpdate.d.ts +2 -2
- package/dist/commonjs/funcs/benefitsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/benefitsUpdate.js +2 -2
- package/dist/commonjs/funcs/benefitsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksDelete.d.ts +2 -2
- package/dist/commonjs/funcs/checkoutLinksDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksDelete.js +2 -2
- package/dist/commonjs/funcs/checkoutLinksDelete.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksGet.d.ts +2 -2
- package/dist/commonjs/funcs/checkoutLinksGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksGet.js +2 -2
- package/dist/commonjs/funcs/checkoutLinksGet.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksUpdate.d.ts +2 -2
- package/dist/commonjs/funcs/checkoutLinksUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksUpdate.js +2 -2
- package/dist/commonjs/funcs/checkoutLinksUpdate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientConfirm.d.ts +2 -2
- package/dist/commonjs/funcs/checkoutsClientConfirm.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientConfirm.js +2 -2
- package/dist/commonjs/funcs/checkoutsClientConfirm.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientGet.d.ts +2 -2
- package/dist/commonjs/funcs/checkoutsClientGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientGet.js +2 -2
- package/dist/commonjs/funcs/checkoutsClientGet.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientUpdate.d.ts +2 -2
- package/dist/commonjs/funcs/checkoutsClientUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientUpdate.js +2 -2
- package/dist/commonjs/funcs/checkoutsClientUpdate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsGet.d.ts +2 -2
- package/dist/commonjs/funcs/checkoutsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutsGet.js +2 -2
- package/dist/commonjs/funcs/checkoutsGet.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsUpdate.d.ts +2 -2
- package/dist/commonjs/funcs/checkoutsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/checkoutsUpdate.js +2 -2
- package/dist/commonjs/funcs/checkoutsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsDelete.d.ts +2 -2
- package/dist/commonjs/funcs/customFieldsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/customFieldsDelete.js +2 -2
- package/dist/commonjs/funcs/customFieldsDelete.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsGet.d.ts +2 -2
- package/dist/commonjs/funcs/customFieldsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customFieldsGet.js +2 -2
- package/dist/commonjs/funcs/customFieldsGet.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsUpdate.d.ts +2 -2
- package/dist/commonjs/funcs/customFieldsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customFieldsUpdate.js +2 -2
- package/dist/commonjs/funcs/customFieldsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerMetersGet.d.ts +2 -2
- package/dist/commonjs/funcs/customerMetersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerMetersGet.js +2 -2
- package/dist/commonjs/funcs/customerMetersGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.js +2 -2
- package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.d.ts +3 -3
- package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.js +3 -3
- package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomerMetersGet.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalCustomerMetersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomerMetersGet.js +2 -2
- package/dist/commonjs/funcs/customerPortalCustomerMetersGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersDeletePaymentMethod.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalCustomersDeletePaymentMethod.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersDeletePaymentMethod.js +2 -2
- package/dist/commonjs/funcs/customerPortalCustomersDeletePaymentMethod.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.d.ts +3 -3
- package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.js +3 -3
- package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.js +2 -2
- package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysGet.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalLicenseKeysGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysGet.js +2 -2
- package/dist/commonjs/funcs/customerPortalLicenseKeysGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysList.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalLicenseKeysList.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysList.js +2 -2
- package/dist/commonjs/funcs/customerPortalLicenseKeysList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.js +2 -2
- package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersConfirmRetryPayment.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalOrdersConfirmRetryPayment.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersConfirmRetryPayment.js +2 -2
- package/dist/commonjs/funcs/customerPortalOrdersConfirmRetryPayment.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGenerateInvoice.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalOrdersGenerateInvoice.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGenerateInvoice.js +2 -2
- package/dist/commonjs/funcs/customerPortalOrdersGenerateInvoice.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGet.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalOrdersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGet.js +2 -2
- package/dist/commonjs/funcs/customerPortalOrdersGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGetPaymentStatus.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalOrdersGetPaymentStatus.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGetPaymentStatus.js +2 -2
- package/dist/commonjs/funcs/customerPortalOrdersGetPaymentStatus.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersInvoice.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalOrdersInvoice.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersInvoice.js +2 -2
- package/dist/commonjs/funcs/customerPortalOrdersInvoice.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersUpdate.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalOrdersUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersUpdate.js +2 -2
- package/dist/commonjs/funcs/customerPortalOrdersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrganizationsGet.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalOrganizationsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrganizationsGet.js +2 -2
- package/dist/commonjs/funcs/customerPortalOrganizationsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.d.ts +3 -3
- package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.js +3 -3
- package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsGet.d.ts +2 -2
- package/dist/commonjs/funcs/customerPortalSubscriptionsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsGet.js +2 -2
- package/dist/commonjs/funcs/customerPortalSubscriptionsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.d.ts +3 -3
- package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.js +3 -3
- package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customersDelete.d.ts +2 -2
- package/dist/commonjs/funcs/customersDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersDelete.js +2 -2
- package/dist/commonjs/funcs/customersDelete.js.map +1 -1
- package/dist/commonjs/funcs/customersDeleteExternal.d.ts +2 -2
- package/dist/commonjs/funcs/customersDeleteExternal.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersDeleteExternal.js +2 -2
- package/dist/commonjs/funcs/customersDeleteExternal.js.map +1 -1
- package/dist/commonjs/funcs/customersGet.d.ts +2 -2
- package/dist/commonjs/funcs/customersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersGet.js +2 -2
- package/dist/commonjs/funcs/customersGet.js.map +1 -1
- package/dist/commonjs/funcs/customersGetBalance.d.ts +2 -2
- package/dist/commonjs/funcs/customersGetBalance.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersGetBalance.js +2 -2
- package/dist/commonjs/funcs/customersGetBalance.js.map +1 -1
- package/dist/commonjs/funcs/customersGetExternal.d.ts +2 -2
- package/dist/commonjs/funcs/customersGetExternal.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersGetExternal.js +2 -2
- package/dist/commonjs/funcs/customersGetExternal.js.map +1 -1
- package/dist/commonjs/funcs/customersGetState.d.ts +2 -2
- package/dist/commonjs/funcs/customersGetState.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersGetState.js +2 -2
- package/dist/commonjs/funcs/customersGetState.js.map +1 -1
- package/dist/commonjs/funcs/customersGetStateExternal.d.ts +2 -2
- package/dist/commonjs/funcs/customersGetStateExternal.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersGetStateExternal.js +2 -2
- package/dist/commonjs/funcs/customersGetStateExternal.js.map +1 -1
- package/dist/commonjs/funcs/customersUpdate.d.ts +2 -2
- package/dist/commonjs/funcs/customersUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersUpdate.js +2 -2
- package/dist/commonjs/funcs/customersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customersUpdateExternal.d.ts +2 -2
- package/dist/commonjs/funcs/customersUpdateExternal.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersUpdateExternal.js +2 -2
- package/dist/commonjs/funcs/customersUpdateExternal.js.map +1 -1
- package/dist/commonjs/funcs/discountsDelete.d.ts +2 -2
- package/dist/commonjs/funcs/discountsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/discountsDelete.js +2 -2
- package/dist/commonjs/funcs/discountsDelete.js.map +1 -1
- package/dist/commonjs/funcs/discountsGet.d.ts +2 -2
- package/dist/commonjs/funcs/discountsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/discountsGet.js +2 -2
- package/dist/commonjs/funcs/discountsGet.js.map +1 -1
- package/dist/commonjs/funcs/discountsUpdate.d.ts +2 -2
- package/dist/commonjs/funcs/discountsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/discountsUpdate.js +2 -2
- package/dist/commonjs/funcs/discountsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/eventsGet.d.ts +2 -2
- package/dist/commonjs/funcs/eventsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsGet.js +2 -2
- package/dist/commonjs/funcs/eventsGet.js.map +1 -1
- package/dist/commonjs/funcs/filesDelete.d.ts +3 -3
- package/dist/commonjs/funcs/filesDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/filesDelete.js +3 -3
- package/dist/commonjs/funcs/filesDelete.js.map +1 -1
- package/dist/commonjs/funcs/filesUpdate.d.ts +3 -3
- package/dist/commonjs/funcs/filesUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/filesUpdate.js +3 -3
- package/dist/commonjs/funcs/filesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/filesUploaded.d.ts +3 -3
- package/dist/commonjs/funcs/filesUploaded.d.ts.map +1 -1
- package/dist/commonjs/funcs/filesUploaded.js +3 -3
- package/dist/commonjs/funcs/filesUploaded.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysActivate.d.ts +3 -3
- package/dist/commonjs/funcs/licenseKeysActivate.d.ts.map +1 -1
- package/dist/commonjs/funcs/licenseKeysActivate.js +3 -3
- package/dist/commonjs/funcs/licenseKeysActivate.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysDeactivate.d.ts +2 -2
- package/dist/commonjs/funcs/licenseKeysDeactivate.d.ts.map +1 -1
- package/dist/commonjs/funcs/licenseKeysDeactivate.js +2 -2
- package/dist/commonjs/funcs/licenseKeysDeactivate.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysGet.d.ts +2 -2
- package/dist/commonjs/funcs/licenseKeysGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/licenseKeysGet.js +2 -2
- package/dist/commonjs/funcs/licenseKeysGet.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysGetActivation.d.ts +2 -2
- package/dist/commonjs/funcs/licenseKeysGetActivation.d.ts.map +1 -1
- package/dist/commonjs/funcs/licenseKeysGetActivation.js +2 -2
- package/dist/commonjs/funcs/licenseKeysGetActivation.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysList.d.ts +2 -2
- package/dist/commonjs/funcs/licenseKeysList.d.ts.map +1 -1
- package/dist/commonjs/funcs/licenseKeysList.js +2 -2
- package/dist/commonjs/funcs/licenseKeysList.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysUpdate.d.ts +2 -2
- package/dist/commonjs/funcs/licenseKeysUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/licenseKeysUpdate.js +2 -2
- package/dist/commonjs/funcs/licenseKeysUpdate.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysValidate.d.ts +2 -2
- package/dist/commonjs/funcs/licenseKeysValidate.d.ts.map +1 -1
- package/dist/commonjs/funcs/licenseKeysValidate.js +2 -2
- package/dist/commonjs/funcs/licenseKeysValidate.js.map +1 -1
- package/dist/commonjs/funcs/metersGet.d.ts +2 -2
- package/dist/commonjs/funcs/metersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/metersGet.js +2 -2
- package/dist/commonjs/funcs/metersGet.js.map +1 -1
- package/dist/commonjs/funcs/metersQuantities.d.ts +2 -2
- package/dist/commonjs/funcs/metersQuantities.d.ts.map +1 -1
- package/dist/commonjs/funcs/metersQuantities.js +2 -2
- package/dist/commonjs/funcs/metersQuantities.js.map +1 -1
- package/dist/commonjs/funcs/metersUpdate.d.ts +2 -2
- package/dist/commonjs/funcs/metersUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/metersUpdate.js +2 -2
- package/dist/commonjs/funcs/metersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/ordersGenerateInvoice.d.ts +2 -2
- package/dist/commonjs/funcs/ordersGenerateInvoice.d.ts.map +1 -1
- package/dist/commonjs/funcs/ordersGenerateInvoice.js +2 -2
- package/dist/commonjs/funcs/ordersGenerateInvoice.js.map +1 -1
- package/dist/commonjs/funcs/ordersGet.d.ts +2 -2
- package/dist/commonjs/funcs/ordersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/ordersGet.js +2 -2
- package/dist/commonjs/funcs/ordersGet.js.map +1 -1
- package/dist/commonjs/funcs/ordersInvoice.d.ts +2 -2
- package/dist/commonjs/funcs/ordersInvoice.d.ts.map +1 -1
- package/dist/commonjs/funcs/ordersInvoice.js +2 -2
- package/dist/commonjs/funcs/ordersInvoice.js.map +1 -1
- package/dist/commonjs/funcs/ordersUpdate.d.ts +2 -2
- package/dist/commonjs/funcs/ordersUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/ordersUpdate.js +2 -2
- package/dist/commonjs/funcs/ordersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/organizationsGet.d.ts +2 -2
- package/dist/commonjs/funcs/organizationsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsGet.js +2 -2
- package/dist/commonjs/funcs/organizationsGet.js.map +1 -1
- package/dist/commonjs/funcs/organizationsUpdate.d.ts +3 -3
- package/dist/commonjs/funcs/organizationsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsUpdate.js +3 -3
- package/dist/commonjs/funcs/organizationsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/paymentsGet.d.ts +2 -2
- package/dist/commonjs/funcs/paymentsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentsGet.js +2 -2
- package/dist/commonjs/funcs/paymentsGet.js.map +1 -1
- package/dist/commonjs/funcs/productsGet.d.ts +2 -2
- package/dist/commonjs/funcs/productsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/productsGet.js +2 -2
- package/dist/commonjs/funcs/productsGet.js.map +1 -1
- package/dist/commonjs/funcs/productsUpdate.d.ts +3 -3
- package/dist/commonjs/funcs/productsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/productsUpdate.js +3 -3
- package/dist/commonjs/funcs/productsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/productsUpdateBenefits.d.ts +3 -3
- package/dist/commonjs/funcs/productsUpdateBenefits.d.ts.map +1 -1
- package/dist/commonjs/funcs/productsUpdateBenefits.js +3 -3
- package/dist/commonjs/funcs/productsUpdateBenefits.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsGet.d.ts +2 -2
- package/dist/commonjs/funcs/subscriptionsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsGet.js +2 -2
- package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsRevoke.d.ts +4 -4
- package/dist/commonjs/funcs/subscriptionsRevoke.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsRevoke.js +4 -4
- package/dist/commonjs/funcs/subscriptionsRevoke.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsUpdate.d.ts +4 -4
- package/dist/commonjs/funcs/subscriptionsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsUpdate.js +4 -4
- package/dist/commonjs/funcs/subscriptionsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/webhooksDeleteWebhookEndpoint.d.ts +2 -2
- package/dist/commonjs/funcs/webhooksDeleteWebhookEndpoint.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksDeleteWebhookEndpoint.js +2 -2
- package/dist/commonjs/funcs/webhooksDeleteWebhookEndpoint.js.map +1 -1
- package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.d.ts +2 -2
- package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js +2 -2
- package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
- package/dist/commonjs/funcs/webhooksRedeliverWebhookEvent.d.ts +2 -2
- package/dist/commonjs/funcs/webhooksRedeliverWebhookEvent.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksRedeliverWebhookEvent.js +2 -2
- package/dist/commonjs/funcs/webhooksRedeliverWebhookEvent.js.map +1 -1
- package/dist/commonjs/funcs/webhooksResetWebhookEndpointSecret.d.ts +2 -2
- package/dist/commonjs/funcs/webhooksResetWebhookEndpointSecret.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksResetWebhookEndpointSecret.js +2 -2
- package/dist/commonjs/funcs/webhooksResetWebhookEndpointSecret.js.map +1 -1
- package/dist/commonjs/funcs/webhooksUpdateWebhookEndpoint.d.ts +2 -2
- package/dist/commonjs/funcs/webhooksUpdateWebhookEndpoint.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksUpdateWebhookEndpoint.js +2 -2
- package/dist/commonjs/funcs/webhooksUpdateWebhookEndpoint.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/env.d.ts.map +1 -1
- package/dist/commonjs/lib/env.js +18 -1
- package/dist/commonjs/lib/env.js.map +1 -1
- package/dist/commonjs/models/components/attachedcustomfieldoutput.d.ts +48 -0
- package/dist/commonjs/models/components/attachedcustomfieldoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{attachedcustomfield.js → attachedcustomfieldoutput.js} +17 -17
- package/dist/commonjs/models/components/attachedcustomfieldoutput.js.map +1 -0
- package/dist/commonjs/models/components/benefitdiscord.d.ts +3 -3
- package/dist/commonjs/models/components/benefitdiscord.d.ts.map +1 -1
- package/dist/commonjs/models/components/benefitdiscord.js +3 -3
- package/dist/commonjs/models/components/benefitdiscord.js.map +1 -1
- package/dist/commonjs/models/components/benefitdiscordpropertiesoutput.d.ts +47 -0
- package/dist/commonjs/models/components/benefitdiscordpropertiesoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{benefitdiscordproperties.js → benefitdiscordpropertiesoutput.js} +17 -17
- package/dist/commonjs/models/components/benefitdiscordpropertiesoutput.js.map +1 -0
- package/dist/commonjs/models/components/checkout.d.ts +20 -20
- package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkout.js +29 -29
- package/dist/commonjs/models/components/checkout.js.map +1 -1
- package/dist/commonjs/models/components/checkoutdiscountpercentageonceforeverduration.d.ts +3 -0
- package/dist/commonjs/models/components/checkoutdiscountpercentageonceforeverduration.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutdiscountpercentageonceforeverduration.js.map +1 -1
- package/dist/commonjs/models/components/checkoutdiscountpercentagerepeatduration.d.ts +3 -0
- package/dist/commonjs/models/components/checkoutdiscountpercentagerepeatduration.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutdiscountpercentagerepeatduration.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkproduct.d.ts +6 -6
- package/dist/commonjs/models/components/checkoutlinkproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkproduct.js +10 -10
- package/dist/commonjs/models/components/checkoutlinkproduct.js.map +1 -1
- package/dist/commonjs/models/components/checkoutproduct.d.ts +6 -6
- package/dist/commonjs/models/components/checkoutproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutproduct.js +10 -10
- package/dist/commonjs/models/components/checkoutproduct.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.d.ts +9 -9
- package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.js +13 -13
- package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +9 -9
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js +13 -13
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/commonjs/models/components/customerorderproduct.d.ts +6 -6
- package/dist/commonjs/models/components/customerorderproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerorderproduct.js +10 -10
- package/dist/commonjs/models/components/customerorderproduct.js.map +1 -1
- package/dist/commonjs/models/components/customerpaymentmethodcreateresponse.d.ts +3 -3
- package/dist/commonjs/models/components/customerpaymentmethodcreateresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerpaymentmethodcreateresponse.js +3 -3
- package/dist/commonjs/models/components/customerpaymentmethodcreateresponse.js.map +1 -1
- package/dist/{esm/models/components/customerpaymentmethodcreatesucceededresponse.d.ts → commonjs/models/components/customerpaymentmethodcreatesucceededresponseoutput.d.ts} +14 -14
- package/dist/commonjs/models/components/customerpaymentmethodcreatesucceededresponseoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{customerpaymentmethodcreatesucceededresponse.js → customerpaymentmethodcreatesucceededresponseoutput.js} +17 -17
- package/dist/commonjs/models/components/customerpaymentmethodcreatesucceededresponseoutput.js.map +1 -0
- package/dist/commonjs/models/components/customerproduct.d.ts +6 -6
- package/dist/commonjs/models/components/customerproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerproduct.js +10 -10
- package/dist/commonjs/models/components/customerproduct.js.map +1 -1
- package/dist/commonjs/models/components/customersubscription.d.ts +6 -6
- package/dist/commonjs/models/components/customersubscription.d.ts.map +1 -1
- package/dist/commonjs/models/components/customersubscription.js +10 -10
- package/dist/commonjs/models/components/customersubscription.js.map +1 -1
- package/dist/commonjs/models/components/customersubscriptionproduct.d.ts +6 -6
- package/dist/commonjs/models/components/customersubscriptionproduct.d.ts.map +1 -1
- package/dist/commonjs/models/components/customersubscriptionproduct.js +10 -10
- package/dist/commonjs/models/components/customersubscriptionproduct.js.map +1 -1
- package/dist/commonjs/models/components/discountpercentageonceforeverduration.d.ts +3 -0
- package/dist/commonjs/models/components/discountpercentageonceforeverduration.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountpercentageonceforeverduration.js.map +1 -1
- package/dist/commonjs/models/components/discountpercentageonceforeverdurationbase.d.ts +3 -0
- package/dist/commonjs/models/components/discountpercentageonceforeverdurationbase.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountpercentageonceforeverdurationbase.js.map +1 -1
- package/dist/commonjs/models/components/discountpercentagerepeatduration.d.ts +3 -0
- package/dist/commonjs/models/components/discountpercentagerepeatduration.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountpercentagerepeatduration.js.map +1 -1
- package/dist/commonjs/models/components/discountpercentagerepeatdurationbase.d.ts +3 -0
- package/dist/commonjs/models/components/discountpercentagerepeatdurationbase.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountpercentagerepeatdurationbase.js.map +1 -1
- package/dist/commonjs/models/components/eventcreatecustomer.d.ts +7 -42
- package/dist/commonjs/models/components/eventcreatecustomer.d.ts.map +1 -1
- package/dist/commonjs/models/components/eventcreatecustomer.js +4 -26
- package/dist/commonjs/models/components/eventcreatecustomer.js.map +1 -1
- package/dist/commonjs/models/components/eventcreateexternalcustomer.d.ts +7 -42
- package/dist/commonjs/models/components/eventcreateexternalcustomer.d.ts.map +1 -1
- package/dist/commonjs/models/components/eventcreateexternalcustomer.js +4 -26
- package/dist/commonjs/models/components/eventcreateexternalcustomer.js.map +1 -1
- package/dist/commonjs/models/components/eventmetadatainput.d.ts +25 -0
- package/dist/commonjs/models/components/eventmetadatainput.d.ts.map +1 -0
- package/dist/commonjs/models/components/eventmetadatainput.js +65 -0
- package/dist/commonjs/models/components/eventmetadatainput.js.map +1 -0
- package/dist/commonjs/models/components/eventmetadataoutput.d.ts +25 -0
- package/dist/commonjs/models/components/eventmetadataoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/eventmetadataoutput.js +65 -0
- package/dist/commonjs/models/components/eventmetadataoutput.js.map +1 -0
- package/dist/{esm/models/components/legacyrecurringproductpricecustom.d.ts → commonjs/models/components/legacyrecurringproductpricecustomoutput.d.ts} +14 -14
- package/dist/commonjs/models/components/legacyrecurringproductpricecustomoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{legacyrecurringproductpricecustom.js → legacyrecurringproductpricecustomoutput.js} +17 -17
- package/dist/commonjs/models/components/legacyrecurringproductpricecustomoutput.js.map +1 -0
- package/dist/{esm/models/components/legacyrecurringproductpricefixed.d.ts → commonjs/models/components/legacyrecurringproductpricefixedoutput.d.ts} +14 -14
- package/dist/commonjs/models/components/legacyrecurringproductpricefixedoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{legacyrecurringproductpricefixed.js → legacyrecurringproductpricefixedoutput.js} +17 -17
- package/dist/commonjs/models/components/legacyrecurringproductpricefixedoutput.js.map +1 -0
- package/dist/commonjs/models/components/{legacyrecurringproductpricefree.d.ts → legacyrecurringproductpricefreeoutput.d.ts} +14 -14
- package/dist/commonjs/models/components/legacyrecurringproductpricefreeoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{legacyrecurringproductpricefree.js → legacyrecurringproductpricefreeoutput.js} +17 -17
- package/dist/commonjs/models/components/legacyrecurringproductpricefreeoutput.js.map +1 -0
- package/dist/commonjs/models/components/legacyrecurringproductpriceoutput.d.ts +40 -0
- package/dist/commonjs/models/components/legacyrecurringproductpriceoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/legacyrecurringproductpriceoutput.js +88 -0
- package/dist/commonjs/models/components/legacyrecurringproductpriceoutput.js.map +1 -0
- package/dist/{esm/models/components/metrics.d.ts → commonjs/models/components/metricsoutput.d.ts} +14 -14
- package/dist/commonjs/models/components/metricsoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{metrics.js → metricsoutput.js} +17 -17
- package/dist/commonjs/models/components/metricsoutput.js.map +1 -0
- package/dist/commonjs/models/components/metricsresponse.d.ts +3 -3
- package/dist/commonjs/models/components/metricsresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/metricsresponse.js +3 -3
- package/dist/commonjs/models/components/metricsresponse.js.map +1 -1
- package/dist/commonjs/models/components/oauth2clientconfiguration.d.ts +3 -0
- package/dist/commonjs/models/components/oauth2clientconfiguration.d.ts.map +1 -1
- package/dist/commonjs/models/components/oauth2clientconfiguration.js +5 -0
- package/dist/commonjs/models/components/oauth2clientconfiguration.js.map +1 -1
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.d.ts +3 -0
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.js +5 -0
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.js.map +1 -1
- package/dist/commonjs/models/components/order.d.ts +5 -0
- package/dist/commonjs/models/components/order.d.ts.map +1 -1
- package/dist/commonjs/models/components/order.js +4 -0
- package/dist/commonjs/models/components/order.js.map +1 -1
- package/dist/commonjs/models/components/organization.d.ts +3 -0
- package/dist/commonjs/models/components/organization.d.ts.map +1 -1
- package/dist/commonjs/models/components/organization.js +5 -0
- package/dist/commonjs/models/components/organization.js.map +1 -1
- package/dist/commonjs/models/components/organizationcreate.d.ts +3 -0
- package/dist/commonjs/models/components/organizationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationcreate.js +5 -0
- package/dist/commonjs/models/components/organizationcreate.js.map +1 -1
- package/dist/commonjs/models/components/organizationcustomeremailsettings.d.ts +43 -0
- package/dist/commonjs/models/components/organizationcustomeremailsettings.d.ts.map +1 -0
- package/dist/commonjs/models/components/organizationcustomeremailsettings.js +106 -0
- package/dist/commonjs/models/components/organizationcustomeremailsettings.js.map +1 -0
- package/dist/commonjs/models/components/organizationupdate.d.ts +3 -0
- package/dist/commonjs/models/components/organizationupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/organizationupdate.js +5 -0
- package/dist/commonjs/models/components/organizationupdate.js.map +1 -1
- package/dist/commonjs/models/components/product.d.ts +9 -9
- package/dist/commonjs/models/components/product.d.ts.map +1 -1
- package/dist/commonjs/models/components/product.js +13 -13
- package/dist/commonjs/models/components/product.js.map +1 -1
- package/dist/commonjs/models/components/{productpricecustom.d.ts → productpricecustomoutput.d.ts} +14 -14
- package/dist/commonjs/models/components/productpricecustomoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpricecustom.js → productpricecustomoutput.js} +17 -17
- package/dist/commonjs/models/components/productpricecustomoutput.js.map +1 -0
- package/dist/{esm/models/components/productpricefixed.d.ts → commonjs/models/components/productpricefixedoutput.d.ts} +14 -14
- package/dist/commonjs/models/components/productpricefixedoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpricefixed.js → productpricefixedoutput.js} +17 -17
- package/dist/commonjs/models/components/productpricefixedoutput.js.map +1 -0
- package/dist/{esm/models/components/productpricefree.d.ts → commonjs/models/components/productpricefreeoutput.d.ts} +14 -14
- package/dist/commonjs/models/components/productpricefreeoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpricefree.js → productpricefreeoutput.js} +17 -17
- package/dist/commonjs/models/components/productpricefreeoutput.js.map +1 -0
- package/dist/commonjs/models/components/{productpricemeteredunit.d.ts → productpricemeteredunitoutput.d.ts} +14 -14
- package/dist/commonjs/models/components/productpricemeteredunitoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpricemeteredunit.js → productpricemeteredunitoutput.js} +17 -17
- package/dist/commonjs/models/components/productpricemeteredunitoutput.js.map +1 -0
- package/dist/commonjs/models/components/productpriceoutput.d.ts +50 -0
- package/dist/commonjs/models/components/productpriceoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/productpriceoutput.js +102 -0
- package/dist/commonjs/models/components/productpriceoutput.js.map +1 -0
- package/dist/commonjs/models/components/{productpriceseatbased.d.ts → productpriceseatbasedoutput.d.ts} +14 -14
- package/dist/commonjs/models/components/productpriceseatbasedoutput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{productpriceseatbased.js → productpriceseatbasedoutput.js} +17 -17
- package/dist/commonjs/models/components/productpriceseatbasedoutput.js.map +1 -0
- package/dist/commonjs/models/components/subscription.d.ts +6 -6
- package/dist/commonjs/models/components/subscription.d.ts.map +1 -1
- package/dist/commonjs/models/components/subscription.js +10 -10
- package/dist/commonjs/models/components/subscription.js.map +1 -1
- package/dist/commonjs/models/components/userevent.d.ts +7 -27
- package/dist/commonjs/models/components/userevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/userevent.js +4 -26
- package/dist/commonjs/models/components/userevent.js.map +1 -1
- package/dist/commonjs/models/errors/customerportalordersgenerateinvoice.d.ts +4 -4
- package/dist/commonjs/models/errors/customerportalordersgenerateinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/errors/customerportalordersgenerateinvoice.js +6 -6
- package/dist/commonjs/models/errors/customerportalordersgenerateinvoice.js.map +1 -1
- package/dist/commonjs/models/errors/ordersgenerateinvoice.d.ts +4 -4
- package/dist/commonjs/models/errors/ordersgenerateinvoice.d.ts.map +1 -1
- package/dist/commonjs/models/errors/ordersgenerateinvoice.js +6 -6
- package/dist/commonjs/models/errors/ordersgenerateinvoice.js.map +1 -1
- package/dist/commonjs/models/errors/polarexceptionsalreadycanceledsubscription.d.ts +39 -0
- package/dist/commonjs/models/errors/polarexceptionsalreadycanceledsubscription.d.ts.map +1 -0
- package/dist/commonjs/models/errors/{alreadycanceledsubscription.js → polarexceptionsalreadycanceledsubscription.js} +15 -15
- package/dist/commonjs/models/errors/polarexceptionsalreadycanceledsubscription.js.map +1 -0
- package/dist/commonjs/models/errors/polarexceptionsinvoicealreadyexists.d.ts +39 -0
- package/dist/commonjs/models/errors/polarexceptionsinvoicealreadyexists.d.ts.map +1 -0
- package/dist/commonjs/models/errors/{invoicealreadyexists.js → polarexceptionsinvoicealreadyexists.js} +15 -15
- package/dist/commonjs/models/errors/polarexceptionsinvoicealreadyexists.js.map +1 -0
- package/dist/commonjs/models/errors/polarexceptionsmissinginvoicebillingdetails.d.ts +39 -0
- package/dist/commonjs/models/errors/polarexceptionsmissinginvoicebillingdetails.d.ts.map +1 -0
- package/dist/commonjs/models/errors/{missinginvoicebillingdetails.js → polarexceptionsmissinginvoicebillingdetails.js} +15 -15
- package/dist/commonjs/models/errors/polarexceptionsmissinginvoicebillingdetails.js.map +1 -0
- package/dist/commonjs/models/errors/polarexceptionsnotpaidorder.d.ts +39 -0
- package/dist/commonjs/models/errors/polarexceptionsnotpaidorder.d.ts.map +1 -0
- package/dist/commonjs/models/errors/{notpaidorder.js → polarexceptionsnotpaidorder.js} +15 -15
- package/dist/commonjs/models/errors/polarexceptionsnotpaidorder.js.map +1 -0
- package/dist/commonjs/models/errors/polarexceptionsnotpermitted.d.ts +39 -0
- package/dist/commonjs/models/errors/polarexceptionsnotpermitted.d.ts.map +1 -0
- package/dist/commonjs/models/errors/{notpermitted.js → polarexceptionsnotpermitted.js} +15 -15
- package/dist/commonjs/models/errors/polarexceptionsnotpermitted.js.map +1 -0
- package/dist/commonjs/models/errors/polarexceptionsresourcenotfound.d.ts +39 -0
- package/dist/commonjs/models/errors/polarexceptionsresourcenotfound.d.ts.map +1 -0
- package/dist/commonjs/models/errors/{resourcenotfound.js → polarexceptionsresourcenotfound.js} +15 -15
- package/dist/commonjs/models/errors/polarexceptionsresourcenotfound.js.map +1 -0
- package/dist/commonjs/models/errors/polarexceptionssubscriptionlocked.d.ts +39 -0
- package/dist/commonjs/models/errors/polarexceptionssubscriptionlocked.d.ts.map +1 -0
- package/dist/commonjs/models/errors/{subscriptionlocked.js → polarexceptionssubscriptionlocked.js} +15 -15
- package/dist/commonjs/models/errors/polarexceptionssubscriptionlocked.js.map +1 -0
- package/dist/commonjs/models/operations/customerslist.d.ts +1 -1
- package/dist/esm/funcs/benefitsDelete.d.ts +3 -3
- package/dist/esm/funcs/benefitsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/benefitsDelete.js +3 -3
- package/dist/esm/funcs/benefitsDelete.js.map +1 -1
- package/dist/esm/funcs/benefitsGet.d.ts +2 -2
- package/dist/esm/funcs/benefitsGet.d.ts.map +1 -1
- package/dist/esm/funcs/benefitsGet.js +2 -2
- package/dist/esm/funcs/benefitsGet.js.map +1 -1
- package/dist/esm/funcs/benefitsGrants.d.ts +2 -2
- package/dist/esm/funcs/benefitsGrants.d.ts.map +1 -1
- package/dist/esm/funcs/benefitsGrants.js +2 -2
- package/dist/esm/funcs/benefitsGrants.js.map +1 -1
- package/dist/esm/funcs/benefitsUpdate.d.ts +2 -2
- package/dist/esm/funcs/benefitsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/benefitsUpdate.js +2 -2
- package/dist/esm/funcs/benefitsUpdate.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksDelete.d.ts +2 -2
- package/dist/esm/funcs/checkoutLinksDelete.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutLinksDelete.js +2 -2
- package/dist/esm/funcs/checkoutLinksDelete.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksGet.d.ts +2 -2
- package/dist/esm/funcs/checkoutLinksGet.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutLinksGet.js +2 -2
- package/dist/esm/funcs/checkoutLinksGet.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksUpdate.d.ts +2 -2
- package/dist/esm/funcs/checkoutLinksUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutLinksUpdate.js +2 -2
- package/dist/esm/funcs/checkoutLinksUpdate.js.map +1 -1
- package/dist/esm/funcs/checkoutsClientConfirm.d.ts +2 -2
- package/dist/esm/funcs/checkoutsClientConfirm.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutsClientConfirm.js +2 -2
- package/dist/esm/funcs/checkoutsClientConfirm.js.map +1 -1
- package/dist/esm/funcs/checkoutsClientGet.d.ts +2 -2
- package/dist/esm/funcs/checkoutsClientGet.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutsClientGet.js +2 -2
- package/dist/esm/funcs/checkoutsClientGet.js.map +1 -1
- package/dist/esm/funcs/checkoutsClientUpdate.d.ts +2 -2
- package/dist/esm/funcs/checkoutsClientUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutsClientUpdate.js +2 -2
- package/dist/esm/funcs/checkoutsClientUpdate.js.map +1 -1
- package/dist/esm/funcs/checkoutsGet.d.ts +2 -2
- package/dist/esm/funcs/checkoutsGet.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutsGet.js +2 -2
- package/dist/esm/funcs/checkoutsGet.js.map +1 -1
- package/dist/esm/funcs/checkoutsUpdate.d.ts +2 -2
- package/dist/esm/funcs/checkoutsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/checkoutsUpdate.js +2 -2
- package/dist/esm/funcs/checkoutsUpdate.js.map +1 -1
- package/dist/esm/funcs/customFieldsDelete.d.ts +2 -2
- package/dist/esm/funcs/customFieldsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/customFieldsDelete.js +2 -2
- package/dist/esm/funcs/customFieldsDelete.js.map +1 -1
- package/dist/esm/funcs/customFieldsGet.d.ts +2 -2
- package/dist/esm/funcs/customFieldsGet.d.ts.map +1 -1
- package/dist/esm/funcs/customFieldsGet.js +2 -2
- package/dist/esm/funcs/customFieldsGet.js.map +1 -1
- package/dist/esm/funcs/customFieldsUpdate.d.ts +2 -2
- package/dist/esm/funcs/customFieldsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/customFieldsUpdate.js +2 -2
- package/dist/esm/funcs/customFieldsUpdate.js.map +1 -1
- package/dist/esm/funcs/customerMetersGet.d.ts +2 -2
- package/dist/esm/funcs/customerMetersGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerMetersGet.js +2 -2
- package/dist/esm/funcs/customerMetersGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsGet.d.ts +2 -2
- package/dist/esm/funcs/customerPortalBenefitGrantsGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsGet.js +2 -2
- package/dist/esm/funcs/customerPortalBenefitGrantsGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.d.ts +3 -3
- package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.js +3 -3
- package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.js.map +1 -1
- package/dist/esm/funcs/customerPortalCustomerMetersGet.d.ts +2 -2
- package/dist/esm/funcs/customerPortalCustomerMetersGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalCustomerMetersGet.js +2 -2
- package/dist/esm/funcs/customerPortalCustomerMetersGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalCustomersDeletePaymentMethod.d.ts +2 -2
- package/dist/esm/funcs/customerPortalCustomersDeletePaymentMethod.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalCustomersDeletePaymentMethod.js +2 -2
- package/dist/esm/funcs/customerPortalCustomersDeletePaymentMethod.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysActivate.d.ts +3 -3
- package/dist/esm/funcs/customerPortalLicenseKeysActivate.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysActivate.js +3 -3
- package/dist/esm/funcs/customerPortalLicenseKeysActivate.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.d.ts +2 -2
- package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.js +2 -2
- package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysGet.d.ts +2 -2
- package/dist/esm/funcs/customerPortalLicenseKeysGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysGet.js +2 -2
- package/dist/esm/funcs/customerPortalLicenseKeysGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysList.d.ts +2 -2
- package/dist/esm/funcs/customerPortalLicenseKeysList.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysList.js +2 -2
- package/dist/esm/funcs/customerPortalLicenseKeysList.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysValidate.d.ts +2 -2
- package/dist/esm/funcs/customerPortalLicenseKeysValidate.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysValidate.js +2 -2
- package/dist/esm/funcs/customerPortalLicenseKeysValidate.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersConfirmRetryPayment.d.ts +2 -2
- package/dist/esm/funcs/customerPortalOrdersConfirmRetryPayment.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersConfirmRetryPayment.js +2 -2
- package/dist/esm/funcs/customerPortalOrdersConfirmRetryPayment.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersGenerateInvoice.d.ts +2 -2
- package/dist/esm/funcs/customerPortalOrdersGenerateInvoice.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersGenerateInvoice.js +2 -2
- package/dist/esm/funcs/customerPortalOrdersGenerateInvoice.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersGet.d.ts +2 -2
- package/dist/esm/funcs/customerPortalOrdersGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersGet.js +2 -2
- package/dist/esm/funcs/customerPortalOrdersGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersGetPaymentStatus.d.ts +2 -2
- package/dist/esm/funcs/customerPortalOrdersGetPaymentStatus.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersGetPaymentStatus.js +2 -2
- package/dist/esm/funcs/customerPortalOrdersGetPaymentStatus.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersInvoice.d.ts +2 -2
- package/dist/esm/funcs/customerPortalOrdersInvoice.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersInvoice.js +2 -2
- package/dist/esm/funcs/customerPortalOrdersInvoice.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersUpdate.d.ts +2 -2
- package/dist/esm/funcs/customerPortalOrdersUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersUpdate.js +2 -2
- package/dist/esm/funcs/customerPortalOrdersUpdate.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrganizationsGet.d.ts +2 -2
- package/dist/esm/funcs/customerPortalOrganizationsGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalOrganizationsGet.js +2 -2
- package/dist/esm/funcs/customerPortalOrganizationsGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsCancel.d.ts +3 -3
- package/dist/esm/funcs/customerPortalSubscriptionsCancel.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsCancel.js +3 -3
- package/dist/esm/funcs/customerPortalSubscriptionsCancel.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsGet.d.ts +2 -2
- package/dist/esm/funcs/customerPortalSubscriptionsGet.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsGet.js +2 -2
- package/dist/esm/funcs/customerPortalSubscriptionsGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsUpdate.d.ts +3 -3
- package/dist/esm/funcs/customerPortalSubscriptionsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsUpdate.js +3 -3
- package/dist/esm/funcs/customerPortalSubscriptionsUpdate.js.map +1 -1
- package/dist/esm/funcs/customersDelete.d.ts +2 -2
- package/dist/esm/funcs/customersDelete.d.ts.map +1 -1
- package/dist/esm/funcs/customersDelete.js +2 -2
- package/dist/esm/funcs/customersDelete.js.map +1 -1
- package/dist/esm/funcs/customersDeleteExternal.d.ts +2 -2
- package/dist/esm/funcs/customersDeleteExternal.d.ts.map +1 -1
- package/dist/esm/funcs/customersDeleteExternal.js +2 -2
- package/dist/esm/funcs/customersDeleteExternal.js.map +1 -1
- package/dist/esm/funcs/customersGet.d.ts +2 -2
- package/dist/esm/funcs/customersGet.d.ts.map +1 -1
- package/dist/esm/funcs/customersGet.js +2 -2
- package/dist/esm/funcs/customersGet.js.map +1 -1
- package/dist/esm/funcs/customersGetBalance.d.ts +2 -2
- package/dist/esm/funcs/customersGetBalance.d.ts.map +1 -1
- package/dist/esm/funcs/customersGetBalance.js +2 -2
- package/dist/esm/funcs/customersGetBalance.js.map +1 -1
- package/dist/esm/funcs/customersGetExternal.d.ts +2 -2
- package/dist/esm/funcs/customersGetExternal.d.ts.map +1 -1
- package/dist/esm/funcs/customersGetExternal.js +2 -2
- package/dist/esm/funcs/customersGetExternal.js.map +1 -1
- package/dist/esm/funcs/customersGetState.d.ts +2 -2
- package/dist/esm/funcs/customersGetState.d.ts.map +1 -1
- package/dist/esm/funcs/customersGetState.js +2 -2
- package/dist/esm/funcs/customersGetState.js.map +1 -1
- package/dist/esm/funcs/customersGetStateExternal.d.ts +2 -2
- package/dist/esm/funcs/customersGetStateExternal.d.ts.map +1 -1
- package/dist/esm/funcs/customersGetStateExternal.js +2 -2
- package/dist/esm/funcs/customersGetStateExternal.js.map +1 -1
- package/dist/esm/funcs/customersUpdate.d.ts +2 -2
- package/dist/esm/funcs/customersUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/customersUpdate.js +2 -2
- package/dist/esm/funcs/customersUpdate.js.map +1 -1
- package/dist/esm/funcs/customersUpdateExternal.d.ts +2 -2
- package/dist/esm/funcs/customersUpdateExternal.d.ts.map +1 -1
- package/dist/esm/funcs/customersUpdateExternal.js +2 -2
- package/dist/esm/funcs/customersUpdateExternal.js.map +1 -1
- package/dist/esm/funcs/discountsDelete.d.ts +2 -2
- package/dist/esm/funcs/discountsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/discountsDelete.js +2 -2
- package/dist/esm/funcs/discountsDelete.js.map +1 -1
- package/dist/esm/funcs/discountsGet.d.ts +2 -2
- package/dist/esm/funcs/discountsGet.d.ts.map +1 -1
- package/dist/esm/funcs/discountsGet.js +2 -2
- package/dist/esm/funcs/discountsGet.js.map +1 -1
- package/dist/esm/funcs/discountsUpdate.d.ts +2 -2
- package/dist/esm/funcs/discountsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/discountsUpdate.js +2 -2
- package/dist/esm/funcs/discountsUpdate.js.map +1 -1
- package/dist/esm/funcs/eventsGet.d.ts +2 -2
- package/dist/esm/funcs/eventsGet.d.ts.map +1 -1
- package/dist/esm/funcs/eventsGet.js +2 -2
- package/dist/esm/funcs/eventsGet.js.map +1 -1
- package/dist/esm/funcs/filesDelete.d.ts +3 -3
- package/dist/esm/funcs/filesDelete.d.ts.map +1 -1
- package/dist/esm/funcs/filesDelete.js +3 -3
- package/dist/esm/funcs/filesDelete.js.map +1 -1
- package/dist/esm/funcs/filesUpdate.d.ts +3 -3
- package/dist/esm/funcs/filesUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/filesUpdate.js +3 -3
- package/dist/esm/funcs/filesUpdate.js.map +1 -1
- package/dist/esm/funcs/filesUploaded.d.ts +3 -3
- package/dist/esm/funcs/filesUploaded.d.ts.map +1 -1
- package/dist/esm/funcs/filesUploaded.js +3 -3
- package/dist/esm/funcs/filesUploaded.js.map +1 -1
- package/dist/esm/funcs/licenseKeysActivate.d.ts +3 -3
- package/dist/esm/funcs/licenseKeysActivate.d.ts.map +1 -1
- package/dist/esm/funcs/licenseKeysActivate.js +3 -3
- package/dist/esm/funcs/licenseKeysActivate.js.map +1 -1
- package/dist/esm/funcs/licenseKeysDeactivate.d.ts +2 -2
- package/dist/esm/funcs/licenseKeysDeactivate.d.ts.map +1 -1
- package/dist/esm/funcs/licenseKeysDeactivate.js +2 -2
- package/dist/esm/funcs/licenseKeysDeactivate.js.map +1 -1
- package/dist/esm/funcs/licenseKeysGet.d.ts +2 -2
- package/dist/esm/funcs/licenseKeysGet.d.ts.map +1 -1
- package/dist/esm/funcs/licenseKeysGet.js +2 -2
- package/dist/esm/funcs/licenseKeysGet.js.map +1 -1
- package/dist/esm/funcs/licenseKeysGetActivation.d.ts +2 -2
- package/dist/esm/funcs/licenseKeysGetActivation.d.ts.map +1 -1
- package/dist/esm/funcs/licenseKeysGetActivation.js +2 -2
- package/dist/esm/funcs/licenseKeysGetActivation.js.map +1 -1
- package/dist/esm/funcs/licenseKeysList.d.ts +2 -2
- package/dist/esm/funcs/licenseKeysList.d.ts.map +1 -1
- package/dist/esm/funcs/licenseKeysList.js +2 -2
- package/dist/esm/funcs/licenseKeysList.js.map +1 -1
- package/dist/esm/funcs/licenseKeysUpdate.d.ts +2 -2
- package/dist/esm/funcs/licenseKeysUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/licenseKeysUpdate.js +2 -2
- package/dist/esm/funcs/licenseKeysUpdate.js.map +1 -1
- package/dist/esm/funcs/licenseKeysValidate.d.ts +2 -2
- package/dist/esm/funcs/licenseKeysValidate.d.ts.map +1 -1
- package/dist/esm/funcs/licenseKeysValidate.js +2 -2
- package/dist/esm/funcs/licenseKeysValidate.js.map +1 -1
- package/dist/esm/funcs/metersGet.d.ts +2 -2
- package/dist/esm/funcs/metersGet.d.ts.map +1 -1
- package/dist/esm/funcs/metersGet.js +2 -2
- package/dist/esm/funcs/metersGet.js.map +1 -1
- package/dist/esm/funcs/metersQuantities.d.ts +2 -2
- package/dist/esm/funcs/metersQuantities.d.ts.map +1 -1
- package/dist/esm/funcs/metersQuantities.js +2 -2
- package/dist/esm/funcs/metersQuantities.js.map +1 -1
- package/dist/esm/funcs/metersUpdate.d.ts +2 -2
- package/dist/esm/funcs/metersUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/metersUpdate.js +2 -2
- package/dist/esm/funcs/metersUpdate.js.map +1 -1
- package/dist/esm/funcs/ordersGenerateInvoice.d.ts +2 -2
- package/dist/esm/funcs/ordersGenerateInvoice.d.ts.map +1 -1
- package/dist/esm/funcs/ordersGenerateInvoice.js +2 -2
- package/dist/esm/funcs/ordersGenerateInvoice.js.map +1 -1
- package/dist/esm/funcs/ordersGet.d.ts +2 -2
- package/dist/esm/funcs/ordersGet.d.ts.map +1 -1
- package/dist/esm/funcs/ordersGet.js +2 -2
- package/dist/esm/funcs/ordersGet.js.map +1 -1
- package/dist/esm/funcs/ordersInvoice.d.ts +2 -2
- package/dist/esm/funcs/ordersInvoice.d.ts.map +1 -1
- package/dist/esm/funcs/ordersInvoice.js +2 -2
- package/dist/esm/funcs/ordersInvoice.js.map +1 -1
- package/dist/esm/funcs/ordersUpdate.d.ts +2 -2
- package/dist/esm/funcs/ordersUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/ordersUpdate.js +2 -2
- package/dist/esm/funcs/ordersUpdate.js.map +1 -1
- package/dist/esm/funcs/organizationsGet.d.ts +2 -2
- package/dist/esm/funcs/organizationsGet.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsGet.js +2 -2
- package/dist/esm/funcs/organizationsGet.js.map +1 -1
- package/dist/esm/funcs/organizationsUpdate.d.ts +3 -3
- package/dist/esm/funcs/organizationsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsUpdate.js +3 -3
- package/dist/esm/funcs/organizationsUpdate.js.map +1 -1
- package/dist/esm/funcs/paymentsGet.d.ts +2 -2
- package/dist/esm/funcs/paymentsGet.d.ts.map +1 -1
- package/dist/esm/funcs/paymentsGet.js +2 -2
- package/dist/esm/funcs/paymentsGet.js.map +1 -1
- package/dist/esm/funcs/productsGet.d.ts +2 -2
- package/dist/esm/funcs/productsGet.d.ts.map +1 -1
- package/dist/esm/funcs/productsGet.js +2 -2
- package/dist/esm/funcs/productsGet.js.map +1 -1
- package/dist/esm/funcs/productsUpdate.d.ts +3 -3
- package/dist/esm/funcs/productsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/productsUpdate.js +3 -3
- package/dist/esm/funcs/productsUpdate.js.map +1 -1
- package/dist/esm/funcs/productsUpdateBenefits.d.ts +3 -3
- package/dist/esm/funcs/productsUpdateBenefits.d.ts.map +1 -1
- package/dist/esm/funcs/productsUpdateBenefits.js +3 -3
- package/dist/esm/funcs/productsUpdateBenefits.js.map +1 -1
- package/dist/esm/funcs/subscriptionsGet.d.ts +2 -2
- package/dist/esm/funcs/subscriptionsGet.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsGet.js +2 -2
- package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
- package/dist/esm/funcs/subscriptionsRevoke.d.ts +4 -4
- package/dist/esm/funcs/subscriptionsRevoke.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsRevoke.js +4 -4
- package/dist/esm/funcs/subscriptionsRevoke.js.map +1 -1
- package/dist/esm/funcs/subscriptionsUpdate.d.ts +4 -4
- package/dist/esm/funcs/subscriptionsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsUpdate.js +4 -4
- package/dist/esm/funcs/subscriptionsUpdate.js.map +1 -1
- package/dist/esm/funcs/webhooksDeleteWebhookEndpoint.d.ts +2 -2
- package/dist/esm/funcs/webhooksDeleteWebhookEndpoint.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksDeleteWebhookEndpoint.js +2 -2
- package/dist/esm/funcs/webhooksDeleteWebhookEndpoint.js.map +1 -1
- package/dist/esm/funcs/webhooksGetWebhookEndpoint.d.ts +2 -2
- package/dist/esm/funcs/webhooksGetWebhookEndpoint.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksGetWebhookEndpoint.js +2 -2
- package/dist/esm/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
- package/dist/esm/funcs/webhooksRedeliverWebhookEvent.d.ts +2 -2
- package/dist/esm/funcs/webhooksRedeliverWebhookEvent.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksRedeliverWebhookEvent.js +2 -2
- package/dist/esm/funcs/webhooksRedeliverWebhookEvent.js.map +1 -1
- package/dist/esm/funcs/webhooksResetWebhookEndpointSecret.d.ts +2 -2
- package/dist/esm/funcs/webhooksResetWebhookEndpointSecret.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksResetWebhookEndpointSecret.js +2 -2
- package/dist/esm/funcs/webhooksResetWebhookEndpointSecret.js.map +1 -1
- package/dist/esm/funcs/webhooksUpdateWebhookEndpoint.d.ts +2 -2
- package/dist/esm/funcs/webhooksUpdateWebhookEndpoint.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksUpdateWebhookEndpoint.js +2 -2
- package/dist/esm/funcs/webhooksUpdateWebhookEndpoint.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/env.d.ts.map +1 -1
- package/dist/esm/lib/env.js +18 -1
- package/dist/esm/lib/env.js.map +1 -1
- package/dist/esm/models/components/attachedcustomfieldoutput.d.ts +48 -0
- package/dist/esm/models/components/attachedcustomfieldoutput.d.ts.map +1 -0
- package/dist/esm/models/components/attachedcustomfieldoutput.js +49 -0
- package/dist/esm/models/components/attachedcustomfieldoutput.js.map +1 -0
- package/dist/esm/models/components/benefitdiscord.d.ts +3 -3
- package/dist/esm/models/components/benefitdiscord.d.ts.map +1 -1
- package/dist/esm/models/components/benefitdiscord.js +3 -3
- package/dist/esm/models/components/benefitdiscord.js.map +1 -1
- package/dist/esm/models/components/benefitdiscordpropertiesoutput.d.ts +47 -0
- package/dist/esm/models/components/benefitdiscordpropertiesoutput.d.ts.map +1 -0
- package/dist/esm/models/components/benefitdiscordpropertiesoutput.js +52 -0
- package/dist/esm/models/components/benefitdiscordpropertiesoutput.js.map +1 -0
- package/dist/esm/models/components/checkout.d.ts +20 -20
- package/dist/esm/models/components/checkout.d.ts.map +1 -1
- package/dist/esm/models/components/checkout.js +26 -26
- package/dist/esm/models/components/checkout.js.map +1 -1
- package/dist/esm/models/components/checkoutdiscountpercentageonceforeverduration.d.ts +3 -0
- package/dist/esm/models/components/checkoutdiscountpercentageonceforeverduration.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutdiscountpercentageonceforeverduration.js.map +1 -1
- package/dist/esm/models/components/checkoutdiscountpercentagerepeatduration.d.ts +3 -0
- package/dist/esm/models/components/checkoutdiscountpercentagerepeatduration.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutdiscountpercentagerepeatduration.js.map +1 -1
- package/dist/esm/models/components/checkoutlinkproduct.d.ts +6 -6
- package/dist/esm/models/components/checkoutlinkproduct.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinkproduct.js +10 -10
- package/dist/esm/models/components/checkoutlinkproduct.js.map +1 -1
- package/dist/esm/models/components/checkoutproduct.d.ts +6 -6
- package/dist/esm/models/components/checkoutproduct.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutproduct.js +10 -10
- package/dist/esm/models/components/checkoutproduct.js.map +1 -1
- package/dist/esm/models/components/checkoutpublic.d.ts +9 -9
- package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublic.js +13 -13
- package/dist/esm/models/components/checkoutpublic.js.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +9 -9
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.js +13 -13
- package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/esm/models/components/customerorderproduct.d.ts +6 -6
- package/dist/esm/models/components/customerorderproduct.d.ts.map +1 -1
- package/dist/esm/models/components/customerorderproduct.js +10 -10
- package/dist/esm/models/components/customerorderproduct.js.map +1 -1
- package/dist/esm/models/components/customerpaymentmethodcreateresponse.d.ts +3 -3
- package/dist/esm/models/components/customerpaymentmethodcreateresponse.d.ts.map +1 -1
- package/dist/esm/models/components/customerpaymentmethodcreateresponse.js +3 -3
- package/dist/esm/models/components/customerpaymentmethodcreateresponse.js.map +1 -1
- package/dist/{commonjs/models/components/customerpaymentmethodcreatesucceededresponse.d.ts → esm/models/components/customerpaymentmethodcreatesucceededresponseoutput.d.ts} +14 -14
- package/dist/esm/models/components/customerpaymentmethodcreatesucceededresponseoutput.d.ts.map +1 -0
- package/dist/esm/models/components/customerpaymentmethodcreatesucceededresponseoutput.js +43 -0
- package/dist/esm/models/components/customerpaymentmethodcreatesucceededresponseoutput.js.map +1 -0
- package/dist/esm/models/components/customerproduct.d.ts +6 -6
- package/dist/esm/models/components/customerproduct.d.ts.map +1 -1
- package/dist/esm/models/components/customerproduct.js +10 -10
- package/dist/esm/models/components/customerproduct.js.map +1 -1
- package/dist/esm/models/components/customersubscription.d.ts +6 -6
- package/dist/esm/models/components/customersubscription.d.ts.map +1 -1
- package/dist/esm/models/components/customersubscription.js +10 -10
- package/dist/esm/models/components/customersubscription.js.map +1 -1
- package/dist/esm/models/components/customersubscriptionproduct.d.ts +6 -6
- package/dist/esm/models/components/customersubscriptionproduct.d.ts.map +1 -1
- package/dist/esm/models/components/customersubscriptionproduct.js +10 -10
- package/dist/esm/models/components/customersubscriptionproduct.js.map +1 -1
- package/dist/esm/models/components/discountpercentageonceforeverduration.d.ts +3 -0
- package/dist/esm/models/components/discountpercentageonceforeverduration.d.ts.map +1 -1
- package/dist/esm/models/components/discountpercentageonceforeverduration.js.map +1 -1
- package/dist/esm/models/components/discountpercentageonceforeverdurationbase.d.ts +3 -0
- package/dist/esm/models/components/discountpercentageonceforeverdurationbase.d.ts.map +1 -1
- package/dist/esm/models/components/discountpercentageonceforeverdurationbase.js.map +1 -1
- package/dist/esm/models/components/discountpercentagerepeatduration.d.ts +3 -0
- package/dist/esm/models/components/discountpercentagerepeatduration.d.ts.map +1 -1
- package/dist/esm/models/components/discountpercentagerepeatduration.js.map +1 -1
- package/dist/esm/models/components/discountpercentagerepeatdurationbase.d.ts +3 -0
- package/dist/esm/models/components/discountpercentagerepeatdurationbase.d.ts.map +1 -1
- package/dist/esm/models/components/discountpercentagerepeatdurationbase.js.map +1 -1
- package/dist/esm/models/components/eventcreatecustomer.d.ts +7 -42
- package/dist/esm/models/components/eventcreatecustomer.d.ts.map +1 -1
- package/dist/esm/models/components/eventcreatecustomer.js +3 -23
- package/dist/esm/models/components/eventcreatecustomer.js.map +1 -1
- package/dist/esm/models/components/eventcreateexternalcustomer.d.ts +7 -42
- package/dist/esm/models/components/eventcreateexternalcustomer.d.ts.map +1 -1
- package/dist/esm/models/components/eventcreateexternalcustomer.js +3 -23
- package/dist/esm/models/components/eventcreateexternalcustomer.js.map +1 -1
- package/dist/esm/models/components/eventmetadatainput.d.ts +25 -0
- package/dist/esm/models/components/eventmetadatainput.d.ts.map +1 -0
- package/dist/esm/models/components/eventmetadatainput.js +27 -0
- package/dist/esm/models/components/eventmetadatainput.js.map +1 -0
- package/dist/esm/models/components/eventmetadataoutput.d.ts +25 -0
- package/dist/esm/models/components/eventmetadataoutput.d.ts.map +1 -0
- package/dist/esm/models/components/eventmetadataoutput.js +27 -0
- package/dist/esm/models/components/eventmetadataoutput.js.map +1 -0
- package/dist/{commonjs/models/components/legacyrecurringproductpricecustom.d.ts → esm/models/components/legacyrecurringproductpricecustomoutput.d.ts} +14 -14
- package/dist/esm/models/components/legacyrecurringproductpricecustomoutput.d.ts.map +1 -0
- package/dist/esm/models/components/{legacyrecurringproductpricecustom.js → legacyrecurringproductpricecustomoutput.js} +14 -14
- package/dist/esm/models/components/legacyrecurringproductpricecustomoutput.js.map +1 -0
- package/dist/{commonjs/models/components/legacyrecurringproductpricefixed.d.ts → esm/models/components/legacyrecurringproductpricefixedoutput.d.ts} +14 -14
- package/dist/esm/models/components/legacyrecurringproductpricefixedoutput.d.ts.map +1 -0
- package/dist/esm/models/components/{legacyrecurringproductpricefixed.js → legacyrecurringproductpricefixedoutput.js} +14 -14
- package/dist/esm/models/components/legacyrecurringproductpricefixedoutput.js.map +1 -0
- package/dist/esm/models/components/{legacyrecurringproductpricefree.d.ts → legacyrecurringproductpricefreeoutput.d.ts} +14 -14
- package/dist/esm/models/components/legacyrecurringproductpricefreeoutput.d.ts.map +1 -0
- package/dist/esm/models/components/{legacyrecurringproductpricefree.js → legacyrecurringproductpricefreeoutput.js} +14 -14
- package/dist/esm/models/components/legacyrecurringproductpricefreeoutput.js.map +1 -0
- package/dist/esm/models/components/legacyrecurringproductpriceoutput.d.ts +40 -0
- package/dist/esm/models/components/legacyrecurringproductpriceoutput.d.ts.map +1 -0
- package/dist/esm/models/components/legacyrecurringproductpriceoutput.js +50 -0
- package/dist/esm/models/components/legacyrecurringproductpriceoutput.js.map +1 -0
- package/dist/{commonjs/models/components/metrics.d.ts → esm/models/components/metricsoutput.d.ts} +14 -14
- package/dist/esm/models/components/metricsoutput.d.ts.map +1 -0
- package/dist/esm/models/components/{metrics.js → metricsoutput.js} +14 -14
- package/dist/esm/models/components/metricsoutput.js.map +1 -0
- package/dist/esm/models/components/metricsresponse.d.ts +3 -3
- package/dist/esm/models/components/metricsresponse.d.ts.map +1 -1
- package/dist/esm/models/components/metricsresponse.js +3 -3
- package/dist/esm/models/components/metricsresponse.js.map +1 -1
- package/dist/esm/models/components/oauth2clientconfiguration.d.ts +3 -0
- package/dist/esm/models/components/oauth2clientconfiguration.d.ts.map +1 -1
- package/dist/esm/models/components/oauth2clientconfiguration.js +5 -0
- package/dist/esm/models/components/oauth2clientconfiguration.js.map +1 -1
- package/dist/esm/models/components/oauth2clientconfigurationupdate.d.ts +3 -0
- package/dist/esm/models/components/oauth2clientconfigurationupdate.d.ts.map +1 -1
- package/dist/esm/models/components/oauth2clientconfigurationupdate.js +5 -0
- package/dist/esm/models/components/oauth2clientconfigurationupdate.js.map +1 -1
- package/dist/esm/models/components/order.d.ts +5 -0
- package/dist/esm/models/components/order.d.ts.map +1 -1
- package/dist/esm/models/components/order.js +4 -0
- package/dist/esm/models/components/order.js.map +1 -1
- package/dist/esm/models/components/organization.d.ts +3 -0
- package/dist/esm/models/components/organization.d.ts.map +1 -1
- package/dist/esm/models/components/organization.js +5 -0
- package/dist/esm/models/components/organization.js.map +1 -1
- package/dist/esm/models/components/organizationcreate.d.ts +3 -0
- package/dist/esm/models/components/organizationcreate.d.ts.map +1 -1
- package/dist/esm/models/components/organizationcreate.js +5 -0
- package/dist/esm/models/components/organizationcreate.js.map +1 -1
- package/dist/esm/models/components/organizationcustomeremailsettings.d.ts +43 -0
- package/dist/esm/models/components/organizationcustomeremailsettings.d.ts.map +1 -0
- package/dist/esm/models/components/organizationcustomeremailsettings.js +68 -0
- package/dist/esm/models/components/organizationcustomeremailsettings.js.map +1 -0
- package/dist/esm/models/components/organizationupdate.d.ts +3 -0
- package/dist/esm/models/components/organizationupdate.d.ts.map +1 -1
- package/dist/esm/models/components/organizationupdate.js +5 -0
- package/dist/esm/models/components/organizationupdate.js.map +1 -1
- package/dist/esm/models/components/product.d.ts +9 -9
- package/dist/esm/models/components/product.d.ts.map +1 -1
- package/dist/esm/models/components/product.js +13 -13
- package/dist/esm/models/components/product.js.map +1 -1
- package/dist/esm/models/components/{productpricecustom.d.ts → productpricecustomoutput.d.ts} +14 -14
- package/dist/esm/models/components/productpricecustomoutput.d.ts.map +1 -0
- package/dist/esm/models/components/{productpricecustom.js → productpricecustomoutput.js} +14 -14
- package/dist/esm/models/components/productpricecustomoutput.js.map +1 -0
- package/dist/{commonjs/models/components/productpricefixed.d.ts → esm/models/components/productpricefixedoutput.d.ts} +14 -14
- package/dist/esm/models/components/productpricefixedoutput.d.ts.map +1 -0
- package/dist/esm/models/components/{productpricefixed.js → productpricefixedoutput.js} +14 -14
- package/dist/esm/models/components/productpricefixedoutput.js.map +1 -0
- package/dist/{commonjs/models/components/productpricefree.d.ts → esm/models/components/productpricefreeoutput.d.ts} +14 -14
- package/dist/esm/models/components/productpricefreeoutput.d.ts.map +1 -0
- package/dist/esm/models/components/{productpricefree.js → productpricefreeoutput.js} +14 -14
- package/dist/esm/models/components/productpricefreeoutput.js.map +1 -0
- package/dist/esm/models/components/{productpricemeteredunit.d.ts → productpricemeteredunitoutput.d.ts} +14 -14
- package/dist/esm/models/components/productpricemeteredunitoutput.d.ts.map +1 -0
- package/dist/esm/models/components/{productpricemeteredunit.js → productpricemeteredunitoutput.js} +14 -14
- package/dist/esm/models/components/productpricemeteredunitoutput.js.map +1 -0
- package/dist/esm/models/components/productpriceoutput.d.ts +50 -0
- package/dist/esm/models/components/productpriceoutput.d.ts.map +1 -0
- package/dist/esm/models/components/productpriceoutput.js +64 -0
- package/dist/esm/models/components/productpriceoutput.js.map +1 -0
- package/dist/esm/models/components/{productpriceseatbased.d.ts → productpriceseatbasedoutput.d.ts} +14 -14
- package/dist/esm/models/components/productpriceseatbasedoutput.d.ts.map +1 -0
- package/dist/esm/models/components/{productpriceseatbased.js → productpriceseatbasedoutput.js} +14 -14
- package/dist/esm/models/components/productpriceseatbasedoutput.js.map +1 -0
- package/dist/esm/models/components/subscription.d.ts +6 -6
- package/dist/esm/models/components/subscription.d.ts.map +1 -1
- package/dist/esm/models/components/subscription.js +10 -10
- package/dist/esm/models/components/subscription.js.map +1 -1
- package/dist/esm/models/components/userevent.d.ts +7 -27
- package/dist/esm/models/components/userevent.d.ts.map +1 -1
- package/dist/esm/models/components/userevent.js +3 -23
- package/dist/esm/models/components/userevent.js.map +1 -1
- package/dist/esm/models/errors/customerportalordersgenerateinvoice.d.ts +4 -4
- package/dist/esm/models/errors/customerportalordersgenerateinvoice.d.ts.map +1 -1
- package/dist/esm/models/errors/customerportalordersgenerateinvoice.js +6 -6
- package/dist/esm/models/errors/customerportalordersgenerateinvoice.js.map +1 -1
- package/dist/esm/models/errors/ordersgenerateinvoice.d.ts +4 -4
- package/dist/esm/models/errors/ordersgenerateinvoice.d.ts.map +1 -1
- package/dist/esm/models/errors/ordersgenerateinvoice.js +6 -6
- package/dist/esm/models/errors/ordersgenerateinvoice.js.map +1 -1
- package/dist/esm/models/errors/polarexceptionsalreadycanceledsubscription.d.ts +39 -0
- package/dist/esm/models/errors/polarexceptionsalreadycanceledsubscription.d.ts.map +1 -0
- package/dist/esm/models/errors/polarexceptionsalreadycanceledsubscription.js +51 -0
- package/dist/esm/models/errors/polarexceptionsalreadycanceledsubscription.js.map +1 -0
- package/dist/esm/models/errors/polarexceptionsinvoicealreadyexists.d.ts +39 -0
- package/dist/esm/models/errors/polarexceptionsinvoicealreadyexists.d.ts.map +1 -0
- package/dist/esm/models/errors/{invoicealreadyexists.js → polarexceptionsinvoicealreadyexists.js} +13 -13
- package/dist/esm/models/errors/polarexceptionsinvoicealreadyexists.js.map +1 -0
- package/dist/esm/models/errors/polarexceptionsmissinginvoicebillingdetails.d.ts +39 -0
- package/dist/esm/models/errors/polarexceptionsmissinginvoicebillingdetails.d.ts.map +1 -0
- package/dist/esm/models/errors/polarexceptionsmissinginvoicebillingdetails.js +51 -0
- package/dist/esm/models/errors/polarexceptionsmissinginvoicebillingdetails.js.map +1 -0
- package/dist/esm/models/errors/polarexceptionsnotpaidorder.d.ts +39 -0
- package/dist/esm/models/errors/polarexceptionsnotpaidorder.d.ts.map +1 -0
- package/dist/esm/models/errors/{notpaidorder.js → polarexceptionsnotpaidorder.js} +13 -13
- package/dist/esm/models/errors/polarexceptionsnotpaidorder.js.map +1 -0
- package/dist/esm/models/errors/polarexceptionsnotpermitted.d.ts +39 -0
- package/dist/esm/models/errors/polarexceptionsnotpermitted.d.ts.map +1 -0
- package/dist/esm/models/errors/{notpermitted.js → polarexceptionsnotpermitted.js} +13 -13
- package/dist/esm/models/errors/polarexceptionsnotpermitted.js.map +1 -0
- package/dist/esm/models/errors/polarexceptionsresourcenotfound.d.ts +39 -0
- package/dist/esm/models/errors/polarexceptionsresourcenotfound.d.ts.map +1 -0
- package/dist/esm/models/errors/{resourcenotfound.js → polarexceptionsresourcenotfound.js} +13 -13
- package/dist/esm/models/errors/polarexceptionsresourcenotfound.js.map +1 -0
- package/dist/esm/models/errors/polarexceptionssubscriptionlocked.d.ts +39 -0
- package/dist/esm/models/errors/polarexceptionssubscriptionlocked.d.ts.map +1 -0
- package/dist/esm/models/errors/{subscriptionlocked.js → polarexceptionssubscriptionlocked.js} +13 -13
- package/dist/esm/models/errors/polarexceptionssubscriptionlocked.js.map +1 -0
- package/dist/esm/models/operations/customerslist.d.ts +1 -1
- package/docs/sdks/benefits/README.md +21 -21
- package/docs/sdks/checkoutlinks/README.md +15 -15
- package/docs/sdks/checkouts/README.md +38 -38
- package/docs/sdks/customermeters/README.md +5 -5
- package/docs/sdks/customers/README.md +45 -45
- package/docs/sdks/customfields/README.md +15 -15
- package/docs/sdks/discounts/README.md +15 -15
- package/docs/sdks/events/README.md +5 -5
- package/docs/sdks/files/README.md +18 -18
- package/docs/sdks/licensekeys/README.md +40 -40
- package/docs/sdks/meters/README.md +15 -15
- package/docs/sdks/orders/README.md +21 -21
- package/docs/sdks/organizations/README.md +11 -11
- package/docs/sdks/payments/README.md +5 -5
- package/docs/sdks/polarbenefitgrants/README.md +11 -11
- package/docs/sdks/polarcustomermeters/README.md +5 -5
- package/docs/sdks/polarcustomers/README.md +1 -1
- package/docs/sdks/polarlicensekeys/README.md +27 -27
- package/docs/sdks/polarorders/README.md +32 -32
- package/docs/sdks/polarorganizations/README.md +5 -5
- package/docs/sdks/polarsubscriptions/README.md +17 -17
- package/docs/sdks/products/README.md +17 -17
- package/docs/sdks/subscriptions/README.md +19 -19
- package/docs/sdks/webhooks/README.md +25 -25
- package/examples/package-lock.json +1 -18
- package/jsr.json +1 -1
- package/package.json +3 -20
- package/src/funcs/benefitsDelete.ts +15 -15
- package/src/funcs/benefitsGet.ts +7 -7
- package/src/funcs/benefitsGrants.ts +8 -8
- package/src/funcs/benefitsUpdate.ts +7 -7
- package/src/funcs/checkoutLinksDelete.ts +7 -7
- package/src/funcs/checkoutLinksGet.ts +7 -7
- package/src/funcs/checkoutLinksUpdate.ts +7 -7
- package/src/funcs/checkoutsClientConfirm.ts +7 -7
- package/src/funcs/checkoutsClientGet.ts +7 -7
- package/src/funcs/checkoutsClientUpdate.ts +7 -7
- package/src/funcs/checkoutsGet.ts +7 -7
- package/src/funcs/checkoutsUpdate.ts +7 -7
- package/src/funcs/customFieldsDelete.ts +7 -7
- package/src/funcs/customFieldsGet.ts +7 -7
- package/src/funcs/customFieldsUpdate.ts +7 -7
- package/src/funcs/customerMetersGet.ts +7 -7
- package/src/funcs/customerPortalBenefitGrantsGet.ts +7 -7
- package/src/funcs/customerPortalBenefitGrantsUpdate.ts +15 -15
- package/src/funcs/customerPortalCustomerMetersGet.ts +7 -7
- package/src/funcs/customerPortalCustomersDeletePaymentMethod.ts +7 -7
- package/src/funcs/customerPortalLicenseKeysActivate.ts +15 -15
- package/src/funcs/customerPortalLicenseKeysDeactivate.ts +7 -7
- package/src/funcs/customerPortalLicenseKeysGet.ts +7 -7
- package/src/funcs/customerPortalLicenseKeysList.ts +8 -8
- package/src/funcs/customerPortalLicenseKeysValidate.ts +7 -7
- package/src/funcs/customerPortalOrdersConfirmRetryPayment.ts +7 -7
- package/src/funcs/customerPortalOrdersGenerateInvoice.ts +8 -8
- package/src/funcs/customerPortalOrdersGet.ts +7 -7
- package/src/funcs/customerPortalOrdersGetPaymentStatus.ts +7 -7
- package/src/funcs/customerPortalOrdersInvoice.ts +7 -7
- package/src/funcs/customerPortalOrdersUpdate.ts +7 -7
- package/src/funcs/customerPortalOrganizationsGet.ts +7 -7
- package/src/funcs/customerPortalSubscriptionsCancel.ts +15 -15
- package/src/funcs/customerPortalSubscriptionsGet.ts +7 -7
- package/src/funcs/customerPortalSubscriptionsUpdate.ts +15 -15
- package/src/funcs/customersDelete.ts +7 -7
- package/src/funcs/customersDeleteExternal.ts +7 -7
- package/src/funcs/customersGet.ts +7 -7
- package/src/funcs/customersGetBalance.ts +7 -7
- package/src/funcs/customersGetExternal.ts +7 -7
- package/src/funcs/customersGetState.ts +7 -7
- package/src/funcs/customersGetStateExternal.ts +7 -7
- package/src/funcs/customersUpdate.ts +7 -7
- package/src/funcs/customersUpdateExternal.ts +7 -7
- package/src/funcs/discountsDelete.ts +7 -7
- package/src/funcs/discountsGet.ts +7 -7
- package/src/funcs/discountsUpdate.ts +7 -7
- package/src/funcs/eventsGet.ts +7 -7
- package/src/funcs/filesDelete.ts +15 -15
- package/src/funcs/filesUpdate.ts +15 -15
- package/src/funcs/filesUploaded.ts +15 -15
- package/src/funcs/licenseKeysActivate.ts +15 -15
- package/src/funcs/licenseKeysDeactivate.ts +7 -7
- package/src/funcs/licenseKeysGet.ts +7 -7
- package/src/funcs/licenseKeysGetActivation.ts +7 -7
- package/src/funcs/licenseKeysList.ts +8 -8
- package/src/funcs/licenseKeysUpdate.ts +7 -7
- package/src/funcs/licenseKeysValidate.ts +7 -7
- package/src/funcs/metersGet.ts +7 -7
- package/src/funcs/metersQuantities.ts +7 -7
- package/src/funcs/metersUpdate.ts +7 -7
- package/src/funcs/ordersGenerateInvoice.ts +8 -8
- package/src/funcs/ordersGet.ts +7 -7
- package/src/funcs/ordersInvoice.ts +7 -7
- package/src/funcs/ordersUpdate.ts +7 -7
- package/src/funcs/organizationsGet.ts +7 -7
- package/src/funcs/organizationsUpdate.ts +15 -15
- package/src/funcs/paymentsGet.ts +7 -7
- package/src/funcs/productsGet.ts +7 -7
- package/src/funcs/productsUpdate.ts +15 -15
- package/src/funcs/productsUpdateBenefits.ts +15 -15
- package/src/funcs/subscriptionsGet.ts +7 -7
- package/src/funcs/subscriptionsRevoke.ts +23 -23
- package/src/funcs/subscriptionsUpdate.ts +23 -23
- package/src/funcs/webhooksDeleteWebhookEndpoint.ts +7 -7
- package/src/funcs/webhooksGetWebhookEndpoint.ts +7 -7
- package/src/funcs/webhooksRedeliverWebhookEvent.ts +7 -7
- package/src/funcs/webhooksResetWebhookEndpointSecret.ts +7 -7
- package/src/funcs/webhooksUpdateWebhookEndpoint.ts +7 -7
- package/src/lib/config.ts +3 -3
- package/src/lib/env.ts +20 -3
- package/src/models/components/{attachedcustomfield.ts → attachedcustomfieldoutput.ts} +21 -21
- package/src/models/components/benefitdiscord.ts +9 -9
- package/src/models/components/{benefitdiscordproperties.ts → benefitdiscordpropertiesoutput.ts} +23 -21
- package/src/models/components/checkout.ts +55 -55
- package/src/models/components/checkoutdiscountpercentageonceforeverduration.ts +3 -0
- package/src/models/components/checkoutdiscountpercentagerepeatduration.ts +3 -0
- package/src/models/components/checkoutlinkproduct.ts +26 -24
- package/src/models/components/checkoutproduct.ts +27 -23
- package/src/models/components/checkoutpublic.ts +35 -33
- package/src/models/components/checkoutpublicconfirmed.ts +35 -33
- package/src/models/components/customerorderproduct.ts +26 -24
- package/src/models/components/customerpaymentmethodcreateresponse.ts +11 -9
- package/src/models/components/{customerpaymentmethodcreatesucceededresponse.ts → customerpaymentmethodcreatesucceededresponseoutput.ts} +24 -23
- package/src/models/components/customerproduct.ts +27 -23
- package/src/models/components/customersubscription.ts +26 -24
- package/src/models/components/customersubscriptionproduct.ts +26 -24
- package/src/models/components/discountpercentageonceforeverduration.ts +3 -0
- package/src/models/components/discountpercentageonceforeverdurationbase.ts +3 -0
- package/src/models/components/discountpercentagerepeatduration.ts +3 -0
- package/src/models/components/discountpercentagerepeatdurationbase.ts +3 -0
- package/src/models/components/eventcreatecustomer.ts +10 -79
- package/src/models/components/eventcreateexternalcustomer.ts +10 -86
- package/src/models/components/eventmetadatainput.ts +58 -0
- package/src/models/components/eventmetadataoutput.ts +58 -0
- package/src/models/components/{legacyrecurringproductpricecustom.ts → legacyrecurringproductpricecustomoutput.ts} +30 -22
- package/src/models/components/{legacyrecurringproductpricefixed.ts → legacyrecurringproductpricefixedoutput.ts} +26 -22
- package/src/models/components/{legacyrecurringproductpricefree.ts → legacyrecurringproductpricefreeoutput.ts} +25 -22
- package/src/models/components/legacyrecurringproductpriceoutput.ts +119 -0
- package/src/models/components/{metrics.ts → metricsoutput.ts} +88 -86
- package/src/models/components/metricsresponse.ts +9 -9
- package/src/models/components/oauth2clientconfiguration.ts +11 -0
- package/src/models/components/oauth2clientconfigurationupdate.ts +11 -0
- package/src/models/components/order.ts +9 -0
- package/src/models/components/organization.ts +12 -0
- package/src/models/components/organizationcreate.ts +19 -0
- package/src/models/components/organizationcustomeremailsettings.ts +120 -0
- package/src/models/components/organizationupdate.ts +19 -0
- package/src/models/components/product.ts +34 -32
- package/src/models/components/{productpricecustom.ts → productpricecustomoutput.ts} +21 -21
- package/src/models/components/{productpricefixed.ts → productpricefixedoutput.ts} +21 -21
- package/src/models/components/{productpricefree.ts → productpricefreeoutput.ts} +21 -21
- package/src/models/components/{productpricemeteredunit.ts → productpricemeteredunitoutput.ts} +23 -21
- package/src/models/components/productpriceoutput.ts +150 -0
- package/src/models/components/{productpriceseatbased.ts → productpriceseatbasedoutput.ts} +23 -21
- package/src/models/components/subscription.ts +27 -23
- package/src/models/components/userevent.ts +10 -58
- package/src/models/errors/customerportalordersgenerateinvoice.ts +18 -18
- package/src/models/errors/ordersgenerateinvoice.ts +18 -18
- package/src/models/errors/polarexceptionsalreadycanceledsubscription.ts +86 -0
- package/src/models/errors/{invoicealreadyexists.ts → polarexceptionsinvoicealreadyexists.ts} +22 -20
- package/src/models/errors/polarexceptionsmissinginvoicebillingdetails.ts +89 -0
- package/src/models/errors/{notpaidorder.ts → polarexceptionsnotpaidorder.ts} +20 -20
- package/src/models/errors/{notpermitted.ts → polarexceptionsnotpermitted.ts} +20 -20
- package/src/models/errors/{resourcenotfound.ts → polarexceptionsresourcenotfound.ts} +20 -20
- package/src/models/errors/{subscriptionlocked.ts → polarexceptionssubscriptionlocked.ts} +21 -20
- package/src/models/operations/customerslist.ts +1 -1
- package/bin/mcp-server.js +0 -50032
- package/bin/mcp-server.js.map +0 -512
- package/dist/commonjs/mcp-server/cli/start/command.d.ts +0 -2
- package/dist/commonjs/mcp-server/cli/start/command.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/cli/start/command.js +0 -134
- package/dist/commonjs/mcp-server/cli/start/command.js.map +0 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts +0 -18
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +0 -104
- package/dist/commonjs/mcp-server/cli/start/impl.js.map +0 -1
- package/dist/commonjs/mcp-server/cli.d.ts +0 -6
- package/dist/commonjs/mcp-server/cli.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/cli.js +0 -10
- package/dist/commonjs/mcp-server/cli.js.map +0 -1
- package/dist/commonjs/mcp-server/console-logger.d.ts +0 -7
- package/dist/commonjs/mcp-server/console-logger.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/console-logger.js +0 -59
- package/dist/commonjs/mcp-server/console-logger.js.map +0 -1
- package/dist/commonjs/mcp-server/extensions.d.ts +0 -11
- package/dist/commonjs/mcp-server/extensions.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/extensions.js +0 -6
- package/dist/commonjs/mcp-server/extensions.js.map +0 -1
- package/dist/commonjs/mcp-server/mcp-server.d.ts +0 -2
- package/dist/commonjs/mcp-server/mcp-server.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/mcp-server.js +0 -29
- package/dist/commonjs/mcp-server/mcp-server.js.map +0 -1
- package/dist/commonjs/mcp-server/prompts.d.ts +0 -26
- package/dist/commonjs/mcp-server/prompts.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/prompts.js +0 -51
- package/dist/commonjs/mcp-server/prompts.js.map +0 -1
- package/dist/commonjs/mcp-server/resources.d.ts +0 -32
- package/dist/commonjs/mcp-server/resources.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/resources.js +0 -87
- package/dist/commonjs/mcp-server/resources.js.map +0 -1
- package/dist/commonjs/mcp-server/scopes.d.ts +0 -3
- package/dist/commonjs/mcp-server/scopes.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/scopes.js +0 -18
- package/dist/commonjs/mcp-server/scopes.js.map +0 -1
- package/dist/commonjs/mcp-server/server.d.ts +0 -13
- package/dist/commonjs/mcp-server/server.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/server.js +0 -98
- package/dist/commonjs/mcp-server/server.js.map +0 -1
- package/dist/commonjs/mcp-server/shared.d.ts +0 -7
- package/dist/commonjs/mcp-server/shared.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/shared.js +0 -98
- package/dist/commonjs/mcp-server/shared.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customerMetersGet.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customerMetersGet.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customerMetersGet.js +0 -34
- package/dist/commonjs/mcp-server/tools/customerMetersGet.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customerMetersList.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customerMetersList.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customerMetersList.js +0 -34
- package/dist/commonjs/mcp-server/tools/customerMetersList.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersCreate.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customersCreate.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersCreate.js +0 -34
- package/dist/commonjs/mcp-server/tools/customersCreate.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersDelete.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customersDelete.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersDelete.js +0 -45
- package/dist/commonjs/mcp-server/tools/customersDelete.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersDeleteExternal.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customersDeleteExternal.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersDeleteExternal.js +0 -35
- package/dist/commonjs/mcp-server/tools/customersDeleteExternal.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersExport.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customersExport.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersExport.js +0 -34
- package/dist/commonjs/mcp-server/tools/customersExport.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersGet.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customersGet.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersGet.js +0 -34
- package/dist/commonjs/mcp-server/tools/customersGet.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersGetBalance.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customersGetBalance.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersGetBalance.js +0 -34
- package/dist/commonjs/mcp-server/tools/customersGetBalance.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersGetExternal.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customersGetExternal.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersGetExternal.js +0 -34
- package/dist/commonjs/mcp-server/tools/customersGetExternal.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersGetState.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customersGetState.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersGetState.js +0 -40
- package/dist/commonjs/mcp-server/tools/customersGetState.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersGetStateExternal.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customersGetStateExternal.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersGetStateExternal.js +0 -40
- package/dist/commonjs/mcp-server/tools/customersGetStateExternal.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersList.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customersList.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersList.js +0 -34
- package/dist/commonjs/mcp-server/tools/customersList.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersUpdate.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customersUpdate.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersUpdate.js +0 -34
- package/dist/commonjs/mcp-server/tools/customersUpdate.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersUpdateExternal.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/customersUpdateExternal.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/customersUpdateExternal.js +0 -34
- package/dist/commonjs/mcp-server/tools/customersUpdateExternal.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/metricsGet.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/metricsGet.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/metricsGet.js +0 -36
- package/dist/commonjs/mcp-server/tools/metricsGet.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/metricsLimits.d.ts +0 -3
- package/dist/commonjs/mcp-server/tools/metricsLimits.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/metricsLimits.js +0 -29
- package/dist/commonjs/mcp-server/tools/metricsLimits.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/ordersGenerateInvoice.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/ordersGenerateInvoice.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/ordersGenerateInvoice.js +0 -34
- package/dist/commonjs/mcp-server/tools/ordersGenerateInvoice.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/ordersGet.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/ordersGet.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/ordersGet.js +0 -34
- package/dist/commonjs/mcp-server/tools/ordersGet.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/ordersInvoice.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/ordersInvoice.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/ordersInvoice.js +0 -34
- package/dist/commonjs/mcp-server/tools/ordersInvoice.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/ordersList.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/ordersList.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/ordersList.js +0 -34
- package/dist/commonjs/mcp-server/tools/ordersList.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/ordersUpdate.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/ordersUpdate.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/ordersUpdate.js +0 -34
- package/dist/commonjs/mcp-server/tools/ordersUpdate.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/paymentsGet.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/paymentsGet.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/paymentsGet.js +0 -34
- package/dist/commonjs/mcp-server/tools/paymentsGet.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/paymentsList.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/paymentsList.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/paymentsList.js +0 -34
- package/dist/commonjs/mcp-server/tools/paymentsList.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/productsCreate.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/productsCreate.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/productsCreate.js +0 -34
- package/dist/commonjs/mcp-server/tools/productsCreate.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/productsGet.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/productsGet.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/productsGet.js +0 -34
- package/dist/commonjs/mcp-server/tools/productsGet.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/productsList.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/productsList.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/productsList.js +0 -34
- package/dist/commonjs/mcp-server/tools/productsList.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/productsUpdate.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/productsUpdate.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/productsUpdate.js +0 -34
- package/dist/commonjs/mcp-server/tools/productsUpdate.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/productsUpdateBenefits.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/productsUpdateBenefits.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/productsUpdateBenefits.js +0 -34
- package/dist/commonjs/mcp-server/tools/productsUpdateBenefits.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/subscriptionsExport.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/subscriptionsExport.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/subscriptionsExport.js +0 -34
- package/dist/commonjs/mcp-server/tools/subscriptionsExport.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/subscriptionsGet.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/subscriptionsGet.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/subscriptionsGet.js +0 -34
- package/dist/commonjs/mcp-server/tools/subscriptionsGet.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/subscriptionsList.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/subscriptionsList.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/subscriptionsList.js +0 -34
- package/dist/commonjs/mcp-server/tools/subscriptionsList.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/subscriptionsRevoke.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/subscriptionsRevoke.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/subscriptionsRevoke.js +0 -34
- package/dist/commonjs/mcp-server/tools/subscriptionsRevoke.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/subscriptionsUpdate.d.ts +0 -7
- package/dist/commonjs/mcp-server/tools/subscriptionsUpdate.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/subscriptionsUpdate.js +0 -34
- package/dist/commonjs/mcp-server/tools/subscriptionsUpdate.js.map +0 -1
- package/dist/commonjs/mcp-server/tools.d.ts +0 -25
- package/dist/commonjs/mcp-server/tools.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools.js +0 -82
- package/dist/commonjs/mcp-server/tools.js.map +0 -1
- package/dist/commonjs/models/components/attachedcustomfield.d.ts +0 -48
- package/dist/commonjs/models/components/attachedcustomfield.d.ts.map +0 -1
- package/dist/commonjs/models/components/attachedcustomfield.js.map +0 -1
- package/dist/commonjs/models/components/benefitdiscordproperties.d.ts +0 -47
- package/dist/commonjs/models/components/benefitdiscordproperties.d.ts.map +0 -1
- package/dist/commonjs/models/components/benefitdiscordproperties.js.map +0 -1
- package/dist/commonjs/models/components/customerpaymentmethodcreatesucceededresponse.d.ts.map +0 -1
- package/dist/commonjs/models/components/customerpaymentmethodcreatesucceededresponse.js.map +0 -1
- package/dist/commonjs/models/components/legacyrecurringproductprice.d.ts +0 -40
- package/dist/commonjs/models/components/legacyrecurringproductprice.d.ts.map +0 -1
- package/dist/commonjs/models/components/legacyrecurringproductprice.js +0 -88
- package/dist/commonjs/models/components/legacyrecurringproductprice.js.map +0 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricecustom.d.ts.map +0 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricecustom.js.map +0 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.d.ts.map +0 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricefixed.js.map +0 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.d.ts.map +0 -1
- package/dist/commonjs/models/components/legacyrecurringproductpricefree.js.map +0 -1
- package/dist/commonjs/models/components/metrics.d.ts.map +0 -1
- package/dist/commonjs/models/components/metrics.js.map +0 -1
- package/dist/commonjs/models/components/productprice.d.ts +0 -50
- package/dist/commonjs/models/components/productprice.d.ts.map +0 -1
- package/dist/commonjs/models/components/productprice.js +0 -102
- package/dist/commonjs/models/components/productprice.js.map +0 -1
- package/dist/commonjs/models/components/productpricecustom.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpricecustom.js.map +0 -1
- package/dist/commonjs/models/components/productpricefixed.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpricefixed.js.map +0 -1
- package/dist/commonjs/models/components/productpricefree.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpricefree.js.map +0 -1
- package/dist/commonjs/models/components/productpricemeteredunit.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpricemeteredunit.js.map +0 -1
- package/dist/commonjs/models/components/productpriceseatbased.d.ts.map +0 -1
- package/dist/commonjs/models/components/productpriceseatbased.js.map +0 -1
- package/dist/commonjs/models/errors/alreadycanceledsubscription.d.ts +0 -39
- package/dist/commonjs/models/errors/alreadycanceledsubscription.d.ts.map +0 -1
- package/dist/commonjs/models/errors/alreadycanceledsubscription.js.map +0 -1
- package/dist/commonjs/models/errors/invoicealreadyexists.d.ts +0 -39
- package/dist/commonjs/models/errors/invoicealreadyexists.d.ts.map +0 -1
- package/dist/commonjs/models/errors/invoicealreadyexists.js.map +0 -1
- package/dist/commonjs/models/errors/missinginvoicebillingdetails.d.ts +0 -39
- package/dist/commonjs/models/errors/missinginvoicebillingdetails.d.ts.map +0 -1
- package/dist/commonjs/models/errors/missinginvoicebillingdetails.js.map +0 -1
- package/dist/commonjs/models/errors/notpaidorder.d.ts +0 -39
- package/dist/commonjs/models/errors/notpaidorder.d.ts.map +0 -1
- package/dist/commonjs/models/errors/notpaidorder.js.map +0 -1
- package/dist/commonjs/models/errors/notpermitted.d.ts +0 -39
- package/dist/commonjs/models/errors/notpermitted.d.ts.map +0 -1
- package/dist/commonjs/models/errors/notpermitted.js.map +0 -1
- package/dist/commonjs/models/errors/resourcenotfound.d.ts +0 -39
- package/dist/commonjs/models/errors/resourcenotfound.d.ts.map +0 -1
- package/dist/commonjs/models/errors/resourcenotfound.js.map +0 -1
- package/dist/commonjs/models/errors/subscriptionlocked.d.ts +0 -39
- package/dist/commonjs/models/errors/subscriptionlocked.d.ts.map +0 -1
- package/dist/commonjs/models/errors/subscriptionlocked.js.map +0 -1
- package/dist/esm/mcp-server/build.d.mts.map +0 -1
- package/dist/esm/mcp-server/build.mjs +0 -14
- package/dist/esm/mcp-server/build.mjs.map +0 -1
- package/dist/esm/mcp-server/cli/start/command.d.ts +0 -2
- package/dist/esm/mcp-server/cli/start/command.d.ts.map +0 -1
- package/dist/esm/mcp-server/cli/start/command.js +0 -98
- package/dist/esm/mcp-server/cli/start/command.js.map +0 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts +0 -18
- package/dist/esm/mcp-server/cli/start/impl.d.ts.map +0 -1
- package/dist/esm/mcp-server/cli/start/impl.js +0 -98
- package/dist/esm/mcp-server/cli/start/impl.js.map +0 -1
- package/dist/esm/mcp-server/cli.d.ts +0 -6
- package/dist/esm/mcp-server/cli.d.ts.map +0 -1
- package/dist/esm/mcp-server/cli.js +0 -7
- package/dist/esm/mcp-server/cli.js.map +0 -1
- package/dist/esm/mcp-server/console-logger.d.ts +0 -7
- package/dist/esm/mcp-server/console-logger.d.ts.map +0 -1
- package/dist/esm/mcp-server/console-logger.js +0 -55
- package/dist/esm/mcp-server/console-logger.js.map +0 -1
- package/dist/esm/mcp-server/extensions.d.ts +0 -11
- package/dist/esm/mcp-server/extensions.d.ts.map +0 -1
- package/dist/esm/mcp-server/extensions.js +0 -5
- package/dist/esm/mcp-server/extensions.js.map +0 -1
- package/dist/esm/mcp-server/mcp-server.d.ts +0 -2
- package/dist/esm/mcp-server/mcp-server.d.ts.map +0 -1
- package/dist/esm/mcp-server/mcp-server.js +0 -23
- package/dist/esm/mcp-server/mcp-server.js.map +0 -1
- package/dist/esm/mcp-server/prompts.d.ts +0 -26
- package/dist/esm/mcp-server/prompts.d.ts.map +0 -1
- package/dist/esm/mcp-server/prompts.js +0 -47
- package/dist/esm/mcp-server/prompts.js.map +0 -1
- package/dist/esm/mcp-server/resources.d.ts +0 -32
- package/dist/esm/mcp-server/resources.d.ts.map +0 -1
- package/dist/esm/mcp-server/resources.js +0 -82
- package/dist/esm/mcp-server/resources.js.map +0 -1
- package/dist/esm/mcp-server/scopes.d.ts +0 -3
- package/dist/esm/mcp-server/scopes.d.ts.map +0 -1
- package/dist/esm/mcp-server/scopes.js +0 -15
- package/dist/esm/mcp-server/scopes.js.map +0 -1
- package/dist/esm/mcp-server/server.d.ts +0 -13
- package/dist/esm/mcp-server/server.d.ts.map +0 -1
- package/dist/esm/mcp-server/server.js +0 -95
- package/dist/esm/mcp-server/server.js.map +0 -1
- package/dist/esm/mcp-server/shared.d.ts +0 -7
- package/dist/esm/mcp-server/shared.d.ts.map +0 -1
- package/dist/esm/mcp-server/shared.js +0 -59
- package/dist/esm/mcp-server/shared.js.map +0 -1
- package/dist/esm/mcp-server/tools/customerMetersGet.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customerMetersGet.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customerMetersGet.js +0 -31
- package/dist/esm/mcp-server/tools/customerMetersGet.js.map +0 -1
- package/dist/esm/mcp-server/tools/customerMetersList.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customerMetersList.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customerMetersList.js +0 -31
- package/dist/esm/mcp-server/tools/customerMetersList.js.map +0 -1
- package/dist/esm/mcp-server/tools/customersCreate.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customersCreate.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customersCreate.js +0 -31
- package/dist/esm/mcp-server/tools/customersCreate.js.map +0 -1
- package/dist/esm/mcp-server/tools/customersDelete.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customersDelete.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customersDelete.js +0 -42
- package/dist/esm/mcp-server/tools/customersDelete.js.map +0 -1
- package/dist/esm/mcp-server/tools/customersDeleteExternal.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customersDeleteExternal.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customersDeleteExternal.js +0 -32
- package/dist/esm/mcp-server/tools/customersDeleteExternal.js.map +0 -1
- package/dist/esm/mcp-server/tools/customersExport.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customersExport.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customersExport.js +0 -31
- package/dist/esm/mcp-server/tools/customersExport.js.map +0 -1
- package/dist/esm/mcp-server/tools/customersGet.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customersGet.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customersGet.js +0 -31
- package/dist/esm/mcp-server/tools/customersGet.js.map +0 -1
- package/dist/esm/mcp-server/tools/customersGetBalance.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customersGetBalance.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customersGetBalance.js +0 -31
- package/dist/esm/mcp-server/tools/customersGetBalance.js.map +0 -1
- package/dist/esm/mcp-server/tools/customersGetExternal.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customersGetExternal.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customersGetExternal.js +0 -31
- package/dist/esm/mcp-server/tools/customersGetExternal.js.map +0 -1
- package/dist/esm/mcp-server/tools/customersGetState.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customersGetState.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customersGetState.js +0 -37
- package/dist/esm/mcp-server/tools/customersGetState.js.map +0 -1
- package/dist/esm/mcp-server/tools/customersGetStateExternal.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customersGetStateExternal.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customersGetStateExternal.js +0 -37
- package/dist/esm/mcp-server/tools/customersGetStateExternal.js.map +0 -1
- package/dist/esm/mcp-server/tools/customersList.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customersList.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customersList.js +0 -31
- package/dist/esm/mcp-server/tools/customersList.js.map +0 -1
- package/dist/esm/mcp-server/tools/customersUpdate.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customersUpdate.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customersUpdate.js +0 -31
- package/dist/esm/mcp-server/tools/customersUpdate.js.map +0 -1
- package/dist/esm/mcp-server/tools/customersUpdateExternal.d.ts +0 -7
- package/dist/esm/mcp-server/tools/customersUpdateExternal.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/customersUpdateExternal.js +0 -31
- package/dist/esm/mcp-server/tools/customersUpdateExternal.js.map +0 -1
- package/dist/esm/mcp-server/tools/metricsGet.d.ts +0 -7
- package/dist/esm/mcp-server/tools/metricsGet.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/metricsGet.js +0 -33
- package/dist/esm/mcp-server/tools/metricsGet.js.map +0 -1
- package/dist/esm/mcp-server/tools/metricsLimits.d.ts +0 -3
- package/dist/esm/mcp-server/tools/metricsLimits.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/metricsLimits.js +0 -26
- package/dist/esm/mcp-server/tools/metricsLimits.js.map +0 -1
- package/dist/esm/mcp-server/tools/ordersGenerateInvoice.d.ts +0 -7
- package/dist/esm/mcp-server/tools/ordersGenerateInvoice.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/ordersGenerateInvoice.js +0 -31
- package/dist/esm/mcp-server/tools/ordersGenerateInvoice.js.map +0 -1
- package/dist/esm/mcp-server/tools/ordersGet.d.ts +0 -7
- package/dist/esm/mcp-server/tools/ordersGet.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/ordersGet.js +0 -31
- package/dist/esm/mcp-server/tools/ordersGet.js.map +0 -1
- package/dist/esm/mcp-server/tools/ordersInvoice.d.ts +0 -7
- package/dist/esm/mcp-server/tools/ordersInvoice.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/ordersInvoice.js +0 -31
- package/dist/esm/mcp-server/tools/ordersInvoice.js.map +0 -1
- package/dist/esm/mcp-server/tools/ordersList.d.ts +0 -7
- package/dist/esm/mcp-server/tools/ordersList.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/ordersList.js +0 -31
- package/dist/esm/mcp-server/tools/ordersList.js.map +0 -1
- package/dist/esm/mcp-server/tools/ordersUpdate.d.ts +0 -7
- package/dist/esm/mcp-server/tools/ordersUpdate.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/ordersUpdate.js +0 -31
- package/dist/esm/mcp-server/tools/ordersUpdate.js.map +0 -1
- package/dist/esm/mcp-server/tools/paymentsGet.d.ts +0 -7
- package/dist/esm/mcp-server/tools/paymentsGet.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/paymentsGet.js +0 -31
- package/dist/esm/mcp-server/tools/paymentsGet.js.map +0 -1
- package/dist/esm/mcp-server/tools/paymentsList.d.ts +0 -7
- package/dist/esm/mcp-server/tools/paymentsList.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/paymentsList.js +0 -31
- package/dist/esm/mcp-server/tools/paymentsList.js.map +0 -1
- package/dist/esm/mcp-server/tools/productsCreate.d.ts +0 -7
- package/dist/esm/mcp-server/tools/productsCreate.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/productsCreate.js +0 -31
- package/dist/esm/mcp-server/tools/productsCreate.js.map +0 -1
- package/dist/esm/mcp-server/tools/productsGet.d.ts +0 -7
- package/dist/esm/mcp-server/tools/productsGet.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/productsGet.js +0 -31
- package/dist/esm/mcp-server/tools/productsGet.js.map +0 -1
- package/dist/esm/mcp-server/tools/productsList.d.ts +0 -7
- package/dist/esm/mcp-server/tools/productsList.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/productsList.js +0 -31
- package/dist/esm/mcp-server/tools/productsList.js.map +0 -1
- package/dist/esm/mcp-server/tools/productsUpdate.d.ts +0 -7
- package/dist/esm/mcp-server/tools/productsUpdate.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/productsUpdate.js +0 -31
- package/dist/esm/mcp-server/tools/productsUpdate.js.map +0 -1
- package/dist/esm/mcp-server/tools/productsUpdateBenefits.d.ts +0 -7
- package/dist/esm/mcp-server/tools/productsUpdateBenefits.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/productsUpdateBenefits.js +0 -31
- package/dist/esm/mcp-server/tools/productsUpdateBenefits.js.map +0 -1
- package/dist/esm/mcp-server/tools/subscriptionsExport.d.ts +0 -7
- package/dist/esm/mcp-server/tools/subscriptionsExport.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/subscriptionsExport.js +0 -31
- package/dist/esm/mcp-server/tools/subscriptionsExport.js.map +0 -1
- package/dist/esm/mcp-server/tools/subscriptionsGet.d.ts +0 -7
- package/dist/esm/mcp-server/tools/subscriptionsGet.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/subscriptionsGet.js +0 -31
- package/dist/esm/mcp-server/tools/subscriptionsGet.js.map +0 -1
- package/dist/esm/mcp-server/tools/subscriptionsList.d.ts +0 -7
- package/dist/esm/mcp-server/tools/subscriptionsList.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/subscriptionsList.js +0 -31
- package/dist/esm/mcp-server/tools/subscriptionsList.js.map +0 -1
- package/dist/esm/mcp-server/tools/subscriptionsRevoke.d.ts +0 -7
- package/dist/esm/mcp-server/tools/subscriptionsRevoke.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/subscriptionsRevoke.js +0 -31
- package/dist/esm/mcp-server/tools/subscriptionsRevoke.js.map +0 -1
- package/dist/esm/mcp-server/tools/subscriptionsUpdate.d.ts +0 -7
- package/dist/esm/mcp-server/tools/subscriptionsUpdate.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/subscriptionsUpdate.js +0 -31
- package/dist/esm/mcp-server/tools/subscriptionsUpdate.js.map +0 -1
- package/dist/esm/mcp-server/tools.d.ts +0 -25
- package/dist/esm/mcp-server/tools.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools.js +0 -78
- package/dist/esm/mcp-server/tools.js.map +0 -1
- package/dist/esm/models/components/attachedcustomfield.d.ts +0 -48
- package/dist/esm/models/components/attachedcustomfield.d.ts.map +0 -1
- package/dist/esm/models/components/attachedcustomfield.js +0 -49
- package/dist/esm/models/components/attachedcustomfield.js.map +0 -1
- package/dist/esm/models/components/benefitdiscordproperties.d.ts +0 -47
- package/dist/esm/models/components/benefitdiscordproperties.d.ts.map +0 -1
- package/dist/esm/models/components/benefitdiscordproperties.js +0 -52
- package/dist/esm/models/components/benefitdiscordproperties.js.map +0 -1
- package/dist/esm/models/components/customerpaymentmethodcreatesucceededresponse.d.ts.map +0 -1
- package/dist/esm/models/components/customerpaymentmethodcreatesucceededresponse.js +0 -43
- package/dist/esm/models/components/customerpaymentmethodcreatesucceededresponse.js.map +0 -1
- package/dist/esm/models/components/legacyrecurringproductprice.d.ts +0 -40
- package/dist/esm/models/components/legacyrecurringproductprice.d.ts.map +0 -1
- package/dist/esm/models/components/legacyrecurringproductprice.js +0 -50
- package/dist/esm/models/components/legacyrecurringproductprice.js.map +0 -1
- package/dist/esm/models/components/legacyrecurringproductpricecustom.d.ts.map +0 -1
- package/dist/esm/models/components/legacyrecurringproductpricecustom.js.map +0 -1
- package/dist/esm/models/components/legacyrecurringproductpricefixed.d.ts.map +0 -1
- package/dist/esm/models/components/legacyrecurringproductpricefixed.js.map +0 -1
- package/dist/esm/models/components/legacyrecurringproductpricefree.d.ts.map +0 -1
- package/dist/esm/models/components/legacyrecurringproductpricefree.js.map +0 -1
- package/dist/esm/models/components/metrics.d.ts.map +0 -1
- package/dist/esm/models/components/metrics.js.map +0 -1
- package/dist/esm/models/components/productprice.d.ts +0 -50
- package/dist/esm/models/components/productprice.d.ts.map +0 -1
- package/dist/esm/models/components/productprice.js +0 -64
- package/dist/esm/models/components/productprice.js.map +0 -1
- package/dist/esm/models/components/productpricecustom.d.ts.map +0 -1
- package/dist/esm/models/components/productpricecustom.js.map +0 -1
- package/dist/esm/models/components/productpricefixed.d.ts.map +0 -1
- package/dist/esm/models/components/productpricefixed.js.map +0 -1
- package/dist/esm/models/components/productpricefree.d.ts.map +0 -1
- package/dist/esm/models/components/productpricefree.js.map +0 -1
- package/dist/esm/models/components/productpricemeteredunit.d.ts.map +0 -1
- package/dist/esm/models/components/productpricemeteredunit.js.map +0 -1
- package/dist/esm/models/components/productpriceseatbased.d.ts.map +0 -1
- package/dist/esm/models/components/productpriceseatbased.js.map +0 -1
- package/dist/esm/models/errors/alreadycanceledsubscription.d.ts +0 -39
- package/dist/esm/models/errors/alreadycanceledsubscription.d.ts.map +0 -1
- package/dist/esm/models/errors/alreadycanceledsubscription.js +0 -51
- package/dist/esm/models/errors/alreadycanceledsubscription.js.map +0 -1
- package/dist/esm/models/errors/invoicealreadyexists.d.ts +0 -39
- package/dist/esm/models/errors/invoicealreadyexists.d.ts.map +0 -1
- package/dist/esm/models/errors/invoicealreadyexists.js.map +0 -1
- package/dist/esm/models/errors/missinginvoicebillingdetails.d.ts +0 -39
- package/dist/esm/models/errors/missinginvoicebillingdetails.d.ts.map +0 -1
- package/dist/esm/models/errors/missinginvoicebillingdetails.js +0 -51
- package/dist/esm/models/errors/missinginvoicebillingdetails.js.map +0 -1
- package/dist/esm/models/errors/notpaidorder.d.ts +0 -39
- package/dist/esm/models/errors/notpaidorder.d.ts.map +0 -1
- package/dist/esm/models/errors/notpaidorder.js.map +0 -1
- package/dist/esm/models/errors/notpermitted.d.ts +0 -39
- package/dist/esm/models/errors/notpermitted.d.ts.map +0 -1
- package/dist/esm/models/errors/notpermitted.js.map +0 -1
- package/dist/esm/models/errors/resourcenotfound.d.ts +0 -39
- package/dist/esm/models/errors/resourcenotfound.d.ts.map +0 -1
- package/dist/esm/models/errors/resourcenotfound.js.map +0 -1
- package/dist/esm/models/errors/subscriptionlocked.d.ts +0 -39
- package/dist/esm/models/errors/subscriptionlocked.d.ts.map +0 -1
- package/dist/esm/models/errors/subscriptionlocked.js.map +0 -1
- package/src/mcp-server/cli/start/command.ts +0 -102
- package/src/mcp-server/cli/start/impl.ts +0 -134
- package/src/mcp-server/cli.ts +0 -13
- package/src/mcp-server/console-logger.ts +0 -71
- package/src/mcp-server/extensions.ts +0 -17
- package/src/mcp-server/mcp-server.ts +0 -26
- package/src/mcp-server/prompts.ts +0 -117
- package/src/mcp-server/resources.ts +0 -172
- package/src/mcp-server/scopes.ts +0 -17
- package/src/mcp-server/server.ts +0 -125
- package/src/mcp-server/shared.ts +0 -75
- package/src/mcp-server/tools/customerMetersGet.ts +0 -40
- package/src/mcp-server/tools/customerMetersList.ts +0 -40
- package/src/mcp-server/tools/customersCreate.ts +0 -40
- package/src/mcp-server/tools/customersDelete.ts +0 -50
- package/src/mcp-server/tools/customersDeleteExternal.ts +0 -40
- package/src/mcp-server/tools/customersExport.ts +0 -40
- package/src/mcp-server/tools/customersGet.ts +0 -40
- package/src/mcp-server/tools/customersGetBalance.ts +0 -40
- package/src/mcp-server/tools/customersGetExternal.ts +0 -40
- package/src/mcp-server/tools/customersGetState.ts +0 -46
- package/src/mcp-server/tools/customersGetStateExternal.ts +0 -46
- package/src/mcp-server/tools/customersList.ts +0 -40
- package/src/mcp-server/tools/customersUpdate.ts +0 -40
- package/src/mcp-server/tools/customersUpdateExternal.ts +0 -40
- package/src/mcp-server/tools/metricsGet.ts +0 -42
- package/src/mcp-server/tools/metricsLimits.ts +0 -33
- package/src/mcp-server/tools/ordersGenerateInvoice.ts +0 -40
- package/src/mcp-server/tools/ordersGet.ts +0 -40
- package/src/mcp-server/tools/ordersInvoice.ts +0 -40
- package/src/mcp-server/tools/ordersList.ts +0 -40
- package/src/mcp-server/tools/ordersUpdate.ts +0 -40
- package/src/mcp-server/tools/paymentsGet.ts +0 -40
- package/src/mcp-server/tools/paymentsList.ts +0 -40
- package/src/mcp-server/tools/productsCreate.ts +0 -40
- package/src/mcp-server/tools/productsGet.ts +0 -40
- package/src/mcp-server/tools/productsList.ts +0 -40
- package/src/mcp-server/tools/productsUpdate.ts +0 -40
- package/src/mcp-server/tools/productsUpdateBenefits.ts +0 -40
- package/src/mcp-server/tools/subscriptionsExport.ts +0 -40
- package/src/mcp-server/tools/subscriptionsGet.ts +0 -40
- package/src/mcp-server/tools/subscriptionsList.ts +0 -40
- package/src/mcp-server/tools/subscriptionsRevoke.ts +0 -40
- package/src/mcp-server/tools/subscriptionsUpdate.ts +0 -40
- package/src/mcp-server/tools.ts +0 -129
- package/src/models/components/legacyrecurringproductprice.ts +0 -116
- package/src/models/components/productprice.ts +0 -146
- package/src/models/errors/alreadycanceledsubscription.ts +0 -85
- package/src/models/errors/missinginvoicebillingdetails.ts +0 -85
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
CustomerPaymentMethod$outboundSchema,
|
|
15
15
|
} from "./customerpaymentmethod.js";
|
|
16
16
|
|
|
17
|
-
export type
|
|
17
|
+
export type CustomerPaymentMethodCreateSucceededResponseOutput = {
|
|
18
18
|
status: "succeeded";
|
|
19
19
|
paymentMethod: CustomerPaymentMethod;
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
/** @internal */
|
|
23
|
-
export const
|
|
23
|
+
export const CustomerPaymentMethodCreateSucceededResponseOutput$inboundSchema:
|
|
24
24
|
z.ZodType<
|
|
25
|
-
|
|
25
|
+
CustomerPaymentMethodCreateSucceededResponseOutput,
|
|
26
26
|
z.ZodTypeDef,
|
|
27
27
|
unknown
|
|
28
28
|
> = z.object({
|
|
@@ -35,17 +35,17 @@ export const CustomerPaymentMethodCreateSucceededResponse$inboundSchema:
|
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
/** @internal */
|
|
38
|
-
export type
|
|
38
|
+
export type CustomerPaymentMethodCreateSucceededResponseOutput$Outbound = {
|
|
39
39
|
status: "succeeded";
|
|
40
40
|
payment_method: CustomerPaymentMethod$Outbound;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
/** @internal */
|
|
44
|
-
export const
|
|
44
|
+
export const CustomerPaymentMethodCreateSucceededResponseOutput$outboundSchema:
|
|
45
45
|
z.ZodType<
|
|
46
|
-
|
|
46
|
+
CustomerPaymentMethodCreateSucceededResponseOutput$Outbound,
|
|
47
47
|
z.ZodTypeDef,
|
|
48
|
-
|
|
48
|
+
CustomerPaymentMethodCreateSucceededResponseOutput
|
|
49
49
|
> = z.object({
|
|
50
50
|
status: z.literal("succeeded"),
|
|
51
51
|
paymentMethod: CustomerPaymentMethod$outboundSchema,
|
|
@@ -59,40 +59,41 @@ export const CustomerPaymentMethodCreateSucceededResponse$outboundSchema:
|
|
|
59
59
|
* @internal
|
|
60
60
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
61
|
*/
|
|
62
|
-
export namespace
|
|
63
|
-
/** @deprecated use `
|
|
62
|
+
export namespace CustomerPaymentMethodCreateSucceededResponseOutput$ {
|
|
63
|
+
/** @deprecated use `CustomerPaymentMethodCreateSucceededResponseOutput$inboundSchema` instead. */
|
|
64
64
|
export const inboundSchema =
|
|
65
|
-
|
|
66
|
-
/** @deprecated use `
|
|
65
|
+
CustomerPaymentMethodCreateSucceededResponseOutput$inboundSchema;
|
|
66
|
+
/** @deprecated use `CustomerPaymentMethodCreateSucceededResponseOutput$outboundSchema` instead. */
|
|
67
67
|
export const outboundSchema =
|
|
68
|
-
|
|
69
|
-
/** @deprecated use `
|
|
70
|
-
export type Outbound =
|
|
68
|
+
CustomerPaymentMethodCreateSucceededResponseOutput$outboundSchema;
|
|
69
|
+
/** @deprecated use `CustomerPaymentMethodCreateSucceededResponseOutput$Outbound` instead. */
|
|
70
|
+
export type Outbound =
|
|
71
|
+
CustomerPaymentMethodCreateSucceededResponseOutput$Outbound;
|
|
71
72
|
}
|
|
72
73
|
|
|
73
|
-
export function
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
export function customerPaymentMethodCreateSucceededResponseOutputToJSON(
|
|
75
|
+
customerPaymentMethodCreateSucceededResponseOutput:
|
|
76
|
+
CustomerPaymentMethodCreateSucceededResponseOutput,
|
|
76
77
|
): string {
|
|
77
78
|
return JSON.stringify(
|
|
78
|
-
|
|
79
|
-
|
|
79
|
+
CustomerPaymentMethodCreateSucceededResponseOutput$outboundSchema.parse(
|
|
80
|
+
customerPaymentMethodCreateSucceededResponseOutput,
|
|
80
81
|
),
|
|
81
82
|
);
|
|
82
83
|
}
|
|
83
84
|
|
|
84
|
-
export function
|
|
85
|
+
export function customerPaymentMethodCreateSucceededResponseOutputFromJSON(
|
|
85
86
|
jsonString: string,
|
|
86
87
|
): SafeParseResult<
|
|
87
|
-
|
|
88
|
+
CustomerPaymentMethodCreateSucceededResponseOutput,
|
|
88
89
|
SDKValidationError
|
|
89
90
|
> {
|
|
90
91
|
return safeParse(
|
|
91
92
|
jsonString,
|
|
92
93
|
(x) =>
|
|
93
|
-
|
|
94
|
+
CustomerPaymentMethodCreateSucceededResponseOutput$inboundSchema.parse(
|
|
94
95
|
JSON.parse(x),
|
|
95
96
|
),
|
|
96
|
-
`Failed to parse '
|
|
97
|
+
`Failed to parse 'CustomerPaymentMethodCreateSucceededResponseOutput' from JSON`,
|
|
97
98
|
);
|
|
98
99
|
}
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
BenefitPublic$outboundSchema,
|
|
15
15
|
} from "./benefitpublic.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
17
|
+
LegacyRecurringProductPriceOutput,
|
|
18
|
+
LegacyRecurringProductPriceOutput$inboundSchema,
|
|
19
|
+
LegacyRecurringProductPriceOutput$Outbound,
|
|
20
|
+
LegacyRecurringProductPriceOutput$outboundSchema,
|
|
21
|
+
} from "./legacyrecurringproductpriceoutput.js";
|
|
22
22
|
import {
|
|
23
23
|
ProductMediaFileRead,
|
|
24
24
|
ProductMediaFileRead$inboundSchema,
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
ProductMediaFileRead$outboundSchema,
|
|
27
27
|
} from "./productmediafileread.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
29
|
+
ProductPriceOutput,
|
|
30
|
+
ProductPriceOutput$inboundSchema,
|
|
31
|
+
ProductPriceOutput$Outbound,
|
|
32
|
+
ProductPriceOutput$outboundSchema,
|
|
33
|
+
} from "./productpriceoutput.js";
|
|
34
34
|
import {
|
|
35
35
|
SubscriptionRecurringInterval,
|
|
36
36
|
SubscriptionRecurringInterval$inboundSchema,
|
|
@@ -42,7 +42,9 @@ import {
|
|
|
42
42
|
TrialInterval$outboundSchema,
|
|
43
43
|
} from "./trialinterval.js";
|
|
44
44
|
|
|
45
|
-
export type CustomerProductPrices =
|
|
45
|
+
export type CustomerProductPrices =
|
|
46
|
+
| LegacyRecurringProductPriceOutput
|
|
47
|
+
| ProductPriceOutput;
|
|
46
48
|
|
|
47
49
|
/**
|
|
48
50
|
* Schema of a product for customer portal.
|
|
@@ -95,7 +97,7 @@ export type CustomerProduct = {
|
|
|
95
97
|
/**
|
|
96
98
|
* List of available prices for this product.
|
|
97
99
|
*/
|
|
98
|
-
prices: Array<
|
|
100
|
+
prices: Array<LegacyRecurringProductPriceOutput | ProductPriceOutput>;
|
|
99
101
|
/**
|
|
100
102
|
* The benefits granted by the product.
|
|
101
103
|
*/
|
|
@@ -112,14 +114,14 @@ export const CustomerProductPrices$inboundSchema: z.ZodType<
|
|
|
112
114
|
z.ZodTypeDef,
|
|
113
115
|
unknown
|
|
114
116
|
> = z.union([
|
|
115
|
-
|
|
116
|
-
|
|
117
|
+
LegacyRecurringProductPriceOutput$inboundSchema,
|
|
118
|
+
ProductPriceOutput$inboundSchema,
|
|
117
119
|
]);
|
|
118
120
|
|
|
119
121
|
/** @internal */
|
|
120
122
|
export type CustomerProductPrices$Outbound =
|
|
121
|
-
|
|
|
122
|
-
|
|
|
123
|
+
| LegacyRecurringProductPriceOutput$Outbound
|
|
124
|
+
| ProductPriceOutput$Outbound;
|
|
123
125
|
|
|
124
126
|
/** @internal */
|
|
125
127
|
export const CustomerProductPrices$outboundSchema: z.ZodType<
|
|
@@ -127,8 +129,8 @@ export const CustomerProductPrices$outboundSchema: z.ZodType<
|
|
|
127
129
|
z.ZodTypeDef,
|
|
128
130
|
CustomerProductPrices
|
|
129
131
|
> = z.union([
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
LegacyRecurringProductPriceOutput$outboundSchema,
|
|
133
|
+
ProductPriceOutput$outboundSchema,
|
|
132
134
|
]);
|
|
133
135
|
|
|
134
136
|
/**
|
|
@@ -183,8 +185,8 @@ export const CustomerProduct$inboundSchema: z.ZodType<
|
|
|
183
185
|
organization_id: z.string(),
|
|
184
186
|
prices: z.array(
|
|
185
187
|
z.union([
|
|
186
|
-
|
|
187
|
-
|
|
188
|
+
LegacyRecurringProductPriceOutput$inboundSchema,
|
|
189
|
+
ProductPriceOutput$inboundSchema,
|
|
188
190
|
]),
|
|
189
191
|
),
|
|
190
192
|
benefits: z.array(BenefitPublic$inboundSchema),
|
|
@@ -215,7 +217,9 @@ export type CustomerProduct$Outbound = {
|
|
|
215
217
|
is_recurring: boolean;
|
|
216
218
|
is_archived: boolean;
|
|
217
219
|
organization_id: string;
|
|
218
|
-
prices: Array<
|
|
220
|
+
prices: Array<
|
|
221
|
+
LegacyRecurringProductPriceOutput$Outbound | ProductPriceOutput$Outbound
|
|
222
|
+
>;
|
|
219
223
|
benefits: Array<BenefitPublic$Outbound>;
|
|
220
224
|
medias: Array<ProductMediaFileRead$Outbound>;
|
|
221
225
|
};
|
|
@@ -239,8 +243,8 @@ export const CustomerProduct$outboundSchema: z.ZodType<
|
|
|
239
243
|
organizationId: z.string(),
|
|
240
244
|
prices: z.array(
|
|
241
245
|
z.union([
|
|
242
|
-
|
|
243
|
-
|
|
246
|
+
LegacyRecurringProductPriceOutput$outboundSchema,
|
|
247
|
+
ProductPriceOutput$outboundSchema,
|
|
244
248
|
]),
|
|
245
249
|
),
|
|
246
250
|
benefits: z.array(BenefitPublic$outboundSchema),
|
|
@@ -25,17 +25,17 @@ import {
|
|
|
25
25
|
CustomerSubscriptionProduct$outboundSchema,
|
|
26
26
|
} from "./customersubscriptionproduct.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
28
|
+
LegacyRecurringProductPriceOutput,
|
|
29
|
+
LegacyRecurringProductPriceOutput$inboundSchema,
|
|
30
|
+
LegacyRecurringProductPriceOutput$Outbound,
|
|
31
|
+
LegacyRecurringProductPriceOutput$outboundSchema,
|
|
32
|
+
} from "./legacyrecurringproductpriceoutput.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
34
|
+
ProductPriceOutput,
|
|
35
|
+
ProductPriceOutput$inboundSchema,
|
|
36
|
+
ProductPriceOutput$Outbound,
|
|
37
|
+
ProductPriceOutput$outboundSchema,
|
|
38
|
+
} from "./productpriceoutput.js";
|
|
39
39
|
import {
|
|
40
40
|
SubscriptionRecurringInterval,
|
|
41
41
|
SubscriptionRecurringInterval$inboundSchema,
|
|
@@ -48,8 +48,8 @@ import {
|
|
|
48
48
|
} from "./subscriptionstatus.js";
|
|
49
49
|
|
|
50
50
|
export type CustomerSubscriptionPrices =
|
|
51
|
-
|
|
|
52
|
-
|
|
|
51
|
+
| LegacyRecurringProductPriceOutput
|
|
52
|
+
| ProductPriceOutput;
|
|
53
53
|
|
|
54
54
|
export type CustomerSubscription = {
|
|
55
55
|
/**
|
|
@@ -129,7 +129,7 @@ export type CustomerSubscription = {
|
|
|
129
129
|
/**
|
|
130
130
|
* List of enabled prices for the subscription.
|
|
131
131
|
*/
|
|
132
|
-
prices: Array<
|
|
132
|
+
prices: Array<LegacyRecurringProductPriceOutput | ProductPriceOutput>;
|
|
133
133
|
/**
|
|
134
134
|
* List of meters associated with the subscription.
|
|
135
135
|
*/
|
|
@@ -146,14 +146,14 @@ export const CustomerSubscriptionPrices$inboundSchema: z.ZodType<
|
|
|
146
146
|
z.ZodTypeDef,
|
|
147
147
|
unknown
|
|
148
148
|
> = z.union([
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
LegacyRecurringProductPriceOutput$inboundSchema,
|
|
150
|
+
ProductPriceOutput$inboundSchema,
|
|
151
151
|
]);
|
|
152
152
|
|
|
153
153
|
/** @internal */
|
|
154
154
|
export type CustomerSubscriptionPrices$Outbound =
|
|
155
|
-
|
|
|
156
|
-
|
|
|
155
|
+
| LegacyRecurringProductPriceOutput$Outbound
|
|
156
|
+
| ProductPriceOutput$Outbound;
|
|
157
157
|
|
|
158
158
|
/** @internal */
|
|
159
159
|
export const CustomerSubscriptionPrices$outboundSchema: z.ZodType<
|
|
@@ -161,8 +161,8 @@ export const CustomerSubscriptionPrices$outboundSchema: z.ZodType<
|
|
|
161
161
|
z.ZodTypeDef,
|
|
162
162
|
CustomerSubscriptionPrices
|
|
163
163
|
> = z.union([
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
LegacyRecurringProductPriceOutput$outboundSchema,
|
|
165
|
+
ProductPriceOutput$outboundSchema,
|
|
166
166
|
]);
|
|
167
167
|
|
|
168
168
|
/**
|
|
@@ -247,8 +247,8 @@ export const CustomerSubscription$inboundSchema: z.ZodType<
|
|
|
247
247
|
product: CustomerSubscriptionProduct$inboundSchema,
|
|
248
248
|
prices: z.array(
|
|
249
249
|
z.union([
|
|
250
|
-
|
|
251
|
-
|
|
250
|
+
LegacyRecurringProductPriceOutput$inboundSchema,
|
|
251
|
+
ProductPriceOutput$inboundSchema,
|
|
252
252
|
]),
|
|
253
253
|
),
|
|
254
254
|
meters: z.array(CustomerSubscriptionMeter$inboundSchema),
|
|
@@ -302,7 +302,9 @@ export type CustomerSubscription$Outbound = {
|
|
|
302
302
|
customer_cancellation_reason: string | null;
|
|
303
303
|
customer_cancellation_comment: string | null;
|
|
304
304
|
product: CustomerSubscriptionProduct$Outbound;
|
|
305
|
-
prices: Array<
|
|
305
|
+
prices: Array<
|
|
306
|
+
LegacyRecurringProductPriceOutput$Outbound | ProductPriceOutput$Outbound
|
|
307
|
+
>;
|
|
306
308
|
meters: Array<CustomerSubscriptionMeter$Outbound>;
|
|
307
309
|
is_polar_managed: boolean;
|
|
308
310
|
};
|
|
@@ -340,8 +342,8 @@ export const CustomerSubscription$outboundSchema: z.ZodType<
|
|
|
340
342
|
product: CustomerSubscriptionProduct$outboundSchema,
|
|
341
343
|
prices: z.array(
|
|
342
344
|
z.union([
|
|
343
|
-
|
|
344
|
-
|
|
345
|
+
LegacyRecurringProductPriceOutput$outboundSchema,
|
|
346
|
+
ProductPriceOutput$outboundSchema,
|
|
345
347
|
]),
|
|
346
348
|
),
|
|
347
349
|
meters: z.array(CustomerSubscriptionMeter$outboundSchema),
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
BenefitPublic$outboundSchema,
|
|
15
15
|
} from "./benefitpublic.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
17
|
+
LegacyRecurringProductPriceOutput,
|
|
18
|
+
LegacyRecurringProductPriceOutput$inboundSchema,
|
|
19
|
+
LegacyRecurringProductPriceOutput$Outbound,
|
|
20
|
+
LegacyRecurringProductPriceOutput$outboundSchema,
|
|
21
|
+
} from "./legacyrecurringproductpriceoutput.js";
|
|
22
22
|
import {
|
|
23
23
|
Organization,
|
|
24
24
|
Organization$inboundSchema,
|
|
@@ -32,11 +32,11 @@ import {
|
|
|
32
32
|
ProductMediaFileRead$outboundSchema,
|
|
33
33
|
} from "./productmediafileread.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
35
|
+
ProductPriceOutput,
|
|
36
|
+
ProductPriceOutput$inboundSchema,
|
|
37
|
+
ProductPriceOutput$Outbound,
|
|
38
|
+
ProductPriceOutput$outboundSchema,
|
|
39
|
+
} from "./productpriceoutput.js";
|
|
40
40
|
import {
|
|
41
41
|
SubscriptionRecurringInterval,
|
|
42
42
|
SubscriptionRecurringInterval$inboundSchema,
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
} from "./trialinterval.js";
|
|
50
50
|
|
|
51
51
|
export type CustomerSubscriptionProductPrices =
|
|
52
|
-
|
|
|
53
|
-
|
|
|
52
|
+
| LegacyRecurringProductPriceOutput
|
|
53
|
+
| ProductPriceOutput;
|
|
54
54
|
|
|
55
55
|
export type CustomerSubscriptionProduct = {
|
|
56
56
|
/**
|
|
@@ -100,7 +100,7 @@ export type CustomerSubscriptionProduct = {
|
|
|
100
100
|
/**
|
|
101
101
|
* List of prices for this product.
|
|
102
102
|
*/
|
|
103
|
-
prices: Array<
|
|
103
|
+
prices: Array<LegacyRecurringProductPriceOutput | ProductPriceOutput>;
|
|
104
104
|
/**
|
|
105
105
|
* List of benefits granted by the product.
|
|
106
106
|
*/
|
|
@@ -118,14 +118,14 @@ export const CustomerSubscriptionProductPrices$inboundSchema: z.ZodType<
|
|
|
118
118
|
z.ZodTypeDef,
|
|
119
119
|
unknown
|
|
120
120
|
> = z.union([
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
LegacyRecurringProductPriceOutput$inboundSchema,
|
|
122
|
+
ProductPriceOutput$inboundSchema,
|
|
123
123
|
]);
|
|
124
124
|
|
|
125
125
|
/** @internal */
|
|
126
126
|
export type CustomerSubscriptionProductPrices$Outbound =
|
|
127
|
-
|
|
|
128
|
-
|
|
|
127
|
+
| LegacyRecurringProductPriceOutput$Outbound
|
|
128
|
+
| ProductPriceOutput$Outbound;
|
|
129
129
|
|
|
130
130
|
/** @internal */
|
|
131
131
|
export const CustomerSubscriptionProductPrices$outboundSchema: z.ZodType<
|
|
@@ -133,8 +133,8 @@ export const CustomerSubscriptionProductPrices$outboundSchema: z.ZodType<
|
|
|
133
133
|
z.ZodTypeDef,
|
|
134
134
|
CustomerSubscriptionProductPrices
|
|
135
135
|
> = z.union([
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
LegacyRecurringProductPriceOutput$outboundSchema,
|
|
137
|
+
ProductPriceOutput$outboundSchema,
|
|
138
138
|
]);
|
|
139
139
|
|
|
140
140
|
/**
|
|
@@ -192,8 +192,8 @@ export const CustomerSubscriptionProduct$inboundSchema: z.ZodType<
|
|
|
192
192
|
organization_id: z.string(),
|
|
193
193
|
prices: z.array(
|
|
194
194
|
z.union([
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
LegacyRecurringProductPriceOutput$inboundSchema,
|
|
196
|
+
ProductPriceOutput$inboundSchema,
|
|
197
197
|
]),
|
|
198
198
|
),
|
|
199
199
|
benefits: z.array(BenefitPublic$inboundSchema),
|
|
@@ -225,7 +225,9 @@ export type CustomerSubscriptionProduct$Outbound = {
|
|
|
225
225
|
is_recurring: boolean;
|
|
226
226
|
is_archived: boolean;
|
|
227
227
|
organization_id: string;
|
|
228
|
-
prices: Array<
|
|
228
|
+
prices: Array<
|
|
229
|
+
LegacyRecurringProductPriceOutput$Outbound | ProductPriceOutput$Outbound
|
|
230
|
+
>;
|
|
229
231
|
benefits: Array<BenefitPublic$Outbound>;
|
|
230
232
|
medias: Array<ProductMediaFileRead$Outbound>;
|
|
231
233
|
organization: Organization$Outbound;
|
|
@@ -250,8 +252,8 @@ export const CustomerSubscriptionProduct$outboundSchema: z.ZodType<
|
|
|
250
252
|
organizationId: z.string(),
|
|
251
253
|
prices: z.array(
|
|
252
254
|
z.union([
|
|
253
|
-
|
|
254
|
-
|
|
255
|
+
LegacyRecurringProductPriceOutput$outboundSchema,
|
|
256
|
+
ProductPriceOutput$outboundSchema,
|
|
255
257
|
]),
|
|
256
258
|
),
|
|
257
259
|
benefits: z.array(BenefitPublic$outboundSchema),
|
|
@@ -36,6 +36,9 @@ export type DiscountPercentageOnceForeverDurationMetadata =
|
|
|
36
36
|
export type DiscountPercentageOnceForeverDuration = {
|
|
37
37
|
duration: DiscountDuration;
|
|
38
38
|
type: DiscountType;
|
|
39
|
+
/**
|
|
40
|
+
* Discount percentage in basis points. A basis point is 1/100th of a percent. For example, 1000 basis points equals a 10% discount.
|
|
41
|
+
*/
|
|
39
42
|
basisPoints: number;
|
|
40
43
|
/**
|
|
41
44
|
* Creation timestamp of the object.
|
|
@@ -27,6 +27,9 @@ export type DiscountPercentageOnceForeverDurationBaseMetadata =
|
|
|
27
27
|
export type DiscountPercentageOnceForeverDurationBase = {
|
|
28
28
|
duration: DiscountDuration;
|
|
29
29
|
type: DiscountType;
|
|
30
|
+
/**
|
|
31
|
+
* Discount percentage in basis points. A basis point is 1/100th of a percent. For example, 1000 basis points equals a 10% discount.
|
|
32
|
+
*/
|
|
30
33
|
basisPoints: number;
|
|
31
34
|
/**
|
|
32
35
|
* Creation timestamp of the object.
|
|
@@ -40,6 +40,9 @@ export type DiscountPercentageRepeatDuration = {
|
|
|
40
40
|
duration: DiscountDuration;
|
|
41
41
|
durationInMonths: number;
|
|
42
42
|
type: DiscountType;
|
|
43
|
+
/**
|
|
44
|
+
* Discount percentage in basis points. A basis point is 1/100th of a percent. For example, 1000 basis points equals a 10% discount.
|
|
45
|
+
*/
|
|
43
46
|
basisPoints: number;
|
|
44
47
|
/**
|
|
45
48
|
* Creation timestamp of the object.
|
|
@@ -28,6 +28,9 @@ export type DiscountPercentageRepeatDurationBase = {
|
|
|
28
28
|
duration: DiscountDuration;
|
|
29
29
|
durationInMonths: number;
|
|
30
30
|
type: DiscountType;
|
|
31
|
+
/**
|
|
32
|
+
* Discount percentage in basis points. A basis point is 1/100th of a percent. For example, 1000 basis points equals a 10% discount.
|
|
33
|
+
*/
|
|
31
34
|
basisPoints: number;
|
|
32
35
|
/**
|
|
33
36
|
* Creation timestamp of the object.
|
|
@@ -7,26 +7,14 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
import {
|
|
11
|
+
EventMetadataInput,
|
|
12
|
+
EventMetadataInput$inboundSchema,
|
|
13
|
+
EventMetadataInput$Outbound,
|
|
14
|
+
EventMetadataInput$outboundSchema,
|
|
15
|
+
} from "./eventmetadatainput.js";
|
|
12
16
|
|
|
13
17
|
export type EventCreateCustomer = {
|
|
14
|
-
/**
|
|
15
|
-
* Key-value object allowing you to store additional information.
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
*
|
|
19
|
-
* The key must be a string with a maximum length of **40 characters**.
|
|
20
|
-
* The value must be either:
|
|
21
|
-
*
|
|
22
|
-
* * A string with a maximum length of **500 characters**
|
|
23
|
-
* * An integer
|
|
24
|
-
* * A floating-point number
|
|
25
|
-
* * A boolean
|
|
26
|
-
*
|
|
27
|
-
* You can store up to **50 key-value pairs**.
|
|
28
|
-
*/
|
|
29
|
-
metadata?: { [k: string]: string | number | number | boolean } | undefined;
|
|
30
18
|
/**
|
|
31
19
|
* The timestamp of the event.
|
|
32
20
|
*/
|
|
@@ -39,79 +27,24 @@ export type EventCreateCustomer = {
|
|
|
39
27
|
* The ID of the organization owning the event. **Required unless you use an organization token.**
|
|
40
28
|
*/
|
|
41
29
|
organizationId?: string | null | undefined;
|
|
30
|
+
metadata?: { [k: string]: EventMetadataInput } | undefined;
|
|
42
31
|
/**
|
|
43
32
|
* ID of the customer in your Polar organization associated with the event.
|
|
44
33
|
*/
|
|
45
34
|
customerId: string;
|
|
46
35
|
};
|
|
47
36
|
|
|
48
|
-
/** @internal */
|
|
49
|
-
export const EventCreateCustomerMetadata$inboundSchema: z.ZodType<
|
|
50
|
-
EventCreateCustomerMetadata,
|
|
51
|
-
z.ZodTypeDef,
|
|
52
|
-
unknown
|
|
53
|
-
> = z.union([z.string(), z.number().int(), z.number(), z.boolean()]);
|
|
54
|
-
|
|
55
|
-
/** @internal */
|
|
56
|
-
export type EventCreateCustomerMetadata$Outbound =
|
|
57
|
-
| string
|
|
58
|
-
| number
|
|
59
|
-
| number
|
|
60
|
-
| boolean;
|
|
61
|
-
|
|
62
|
-
/** @internal */
|
|
63
|
-
export const EventCreateCustomerMetadata$outboundSchema: z.ZodType<
|
|
64
|
-
EventCreateCustomerMetadata$Outbound,
|
|
65
|
-
z.ZodTypeDef,
|
|
66
|
-
EventCreateCustomerMetadata
|
|
67
|
-
> = z.union([z.string(), z.number().int(), z.number(), z.boolean()]);
|
|
68
|
-
|
|
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 namespace EventCreateCustomerMetadata$ {
|
|
74
|
-
/** @deprecated use `EventCreateCustomerMetadata$inboundSchema` instead. */
|
|
75
|
-
export const inboundSchema = EventCreateCustomerMetadata$inboundSchema;
|
|
76
|
-
/** @deprecated use `EventCreateCustomerMetadata$outboundSchema` instead. */
|
|
77
|
-
export const outboundSchema = EventCreateCustomerMetadata$outboundSchema;
|
|
78
|
-
/** @deprecated use `EventCreateCustomerMetadata$Outbound` instead. */
|
|
79
|
-
export type Outbound = EventCreateCustomerMetadata$Outbound;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export function eventCreateCustomerMetadataToJSON(
|
|
83
|
-
eventCreateCustomerMetadata: EventCreateCustomerMetadata,
|
|
84
|
-
): string {
|
|
85
|
-
return JSON.stringify(
|
|
86
|
-
EventCreateCustomerMetadata$outboundSchema.parse(
|
|
87
|
-
eventCreateCustomerMetadata,
|
|
88
|
-
),
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export function eventCreateCustomerMetadataFromJSON(
|
|
93
|
-
jsonString: string,
|
|
94
|
-
): SafeParseResult<EventCreateCustomerMetadata, SDKValidationError> {
|
|
95
|
-
return safeParse(
|
|
96
|
-
jsonString,
|
|
97
|
-
(x) => EventCreateCustomerMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
98
|
-
`Failed to parse 'EventCreateCustomerMetadata' from JSON`,
|
|
99
|
-
);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
37
|
/** @internal */
|
|
103
38
|
export const EventCreateCustomer$inboundSchema: z.ZodType<
|
|
104
39
|
EventCreateCustomer,
|
|
105
40
|
z.ZodTypeDef,
|
|
106
41
|
unknown
|
|
107
42
|
> = z.object({
|
|
108
|
-
metadata: z.record(
|
|
109
|
-
z.union([z.string(), z.number().int(), z.number(), z.boolean()]),
|
|
110
|
-
).optional(),
|
|
111
43
|
timestamp: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
112
44
|
.optional(),
|
|
113
45
|
name: z.string(),
|
|
114
46
|
organization_id: z.nullable(z.string()).optional(),
|
|
47
|
+
metadata: z.record(EventMetadataInput$inboundSchema).optional(),
|
|
115
48
|
customer_id: z.string(),
|
|
116
49
|
}).transform((v) => {
|
|
117
50
|
return remap$(v, {
|
|
@@ -122,10 +55,10 @@ export const EventCreateCustomer$inboundSchema: z.ZodType<
|
|
|
122
55
|
|
|
123
56
|
/** @internal */
|
|
124
57
|
export type EventCreateCustomer$Outbound = {
|
|
125
|
-
metadata?: { [k: string]: string | number | number | boolean } | undefined;
|
|
126
58
|
timestamp?: string | undefined;
|
|
127
59
|
name: string;
|
|
128
60
|
organization_id?: string | null | undefined;
|
|
61
|
+
metadata?: { [k: string]: EventMetadataInput$Outbound } | undefined;
|
|
129
62
|
customer_id: string;
|
|
130
63
|
};
|
|
131
64
|
|
|
@@ -135,12 +68,10 @@ export const EventCreateCustomer$outboundSchema: z.ZodType<
|
|
|
135
68
|
z.ZodTypeDef,
|
|
136
69
|
EventCreateCustomer
|
|
137
70
|
> = z.object({
|
|
138
|
-
metadata: z.record(
|
|
139
|
-
z.union([z.string(), z.number().int(), z.number(), z.boolean()]),
|
|
140
|
-
).optional(),
|
|
141
71
|
timestamp: z.date().transform(v => v.toISOString()).optional(),
|
|
142
72
|
name: z.string(),
|
|
143
73
|
organizationId: z.nullable(z.string()).optional(),
|
|
74
|
+
metadata: z.record(EventMetadataInput$outboundSchema).optional(),
|
|
144
75
|
customerId: z.string(),
|
|
145
76
|
}).transform((v) => {
|
|
146
77
|
return remap$(v, {
|