@polar-sh/sdk 0.32.1 → 0.32.3
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 +5 -2
- package/bin/mcp-server.js +102 -43
- package/bin/mcp-server.js.map +36 -35
- package/dist/commonjs/funcs/benefitsCreate.js +1 -1
- package/dist/commonjs/funcs/benefitsCreate.js.map +1 -1
- package/dist/commonjs/funcs/benefitsDelete.js +1 -1
- package/dist/commonjs/funcs/benefitsDelete.js.map +1 -1
- package/dist/commonjs/funcs/benefitsGet.js +1 -1
- package/dist/commonjs/funcs/benefitsGet.js.map +1 -1
- package/dist/commonjs/funcs/benefitsGrants.js +1 -1
- package/dist/commonjs/funcs/benefitsGrants.js.map +1 -1
- package/dist/commonjs/funcs/benefitsList.js +2 -1
- package/dist/commonjs/funcs/benefitsList.js.map +1 -1
- package/dist/commonjs/funcs/benefitsUpdate.js +1 -1
- package/dist/commonjs/funcs/benefitsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksCreate.js +1 -1
- package/dist/commonjs/funcs/checkoutLinksCreate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksDelete.js +1 -1
- package/dist/commonjs/funcs/checkoutLinksDelete.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksGet.js +1 -1
- package/dist/commonjs/funcs/checkoutLinksGet.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksList.js +1 -1
- package/dist/commonjs/funcs/checkoutLinksList.js.map +1 -1
- package/dist/commonjs/funcs/checkoutLinksUpdate.js +1 -1
- package/dist/commonjs/funcs/checkoutLinksUpdate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientConfirm.js +1 -1
- package/dist/commonjs/funcs/checkoutsClientConfirm.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientGet.js +1 -1
- package/dist/commonjs/funcs/checkoutsClientGet.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsClientUpdate.js +1 -1
- package/dist/commonjs/funcs/checkoutsClientUpdate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsCreate.js +1 -1
- package/dist/commonjs/funcs/checkoutsCreate.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsGet.js +1 -1
- package/dist/commonjs/funcs/checkoutsGet.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsList.js +1 -1
- package/dist/commonjs/funcs/checkoutsList.js.map +1 -1
- package/dist/commonjs/funcs/checkoutsUpdate.js +1 -1
- package/dist/commonjs/funcs/checkoutsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsCreate.js +1 -1
- package/dist/commonjs/funcs/customFieldsCreate.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsDelete.js +1 -1
- package/dist/commonjs/funcs/customFieldsDelete.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsGet.js +1 -1
- package/dist/commonjs/funcs/customFieldsGet.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsList.js +1 -1
- package/dist/commonjs/funcs/customFieldsList.js.map +1 -1
- package/dist/commonjs/funcs/customFieldsUpdate.js +1 -1
- package/dist/commonjs/funcs/customFieldsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.js +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsList.js +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.js +1 -1
- package/dist/commonjs/funcs/customerPortalBenefitGrantsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersAddPaymentMethod.js +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersAddPaymentMethod.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersDeletePaymentMethod.js +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersDeletePaymentMethod.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersGet.js +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersGetPaymentMethods.js +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersGetPaymentMethods.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersUpdate.js +1 -1
- package/dist/commonjs/funcs/customerPortalCustomersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesGet.js +1 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesList.js +1 -1
- package/dist/commonjs/funcs/customerPortalDownloadablesList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.js +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysActivate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.js +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysDeactivate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysGet.js +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysList.js +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.js +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGet.js +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersInvoice.js +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersInvoice.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersList.js +1 -1
- package/dist/commonjs/funcs/customerPortalOrdersList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalOrganizationsGet.js +1 -1
- package/dist/commonjs/funcs/customerPortalOrganizationsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.js +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsCancel.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsGet.js +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsGet.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsList.js +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsList.js.map +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.js +1 -1
- package/dist/commonjs/funcs/customerPortalSubscriptionsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customerSessionsCreate.js +1 -1
- package/dist/commonjs/funcs/customerSessionsCreate.js.map +1 -1
- package/dist/commonjs/funcs/customersCreate.js +1 -1
- package/dist/commonjs/funcs/customersCreate.js.map +1 -1
- package/dist/commonjs/funcs/customersDelete.js +1 -1
- package/dist/commonjs/funcs/customersDelete.js.map +1 -1
- package/dist/commonjs/funcs/customersDeleteExternal.js +1 -1
- package/dist/commonjs/funcs/customersDeleteExternal.js.map +1 -1
- package/dist/commonjs/funcs/customersGet.js +1 -1
- package/dist/commonjs/funcs/customersGet.js.map +1 -1
- package/dist/commonjs/funcs/customersGetExternal.js +1 -1
- package/dist/commonjs/funcs/customersGetExternal.js.map +1 -1
- package/dist/commonjs/funcs/customersGetState.js +1 -1
- package/dist/commonjs/funcs/customersGetState.js.map +1 -1
- package/dist/commonjs/funcs/customersGetStateExternal.js +1 -1
- package/dist/commonjs/funcs/customersGetStateExternal.js.map +1 -1
- package/dist/commonjs/funcs/customersList.js +1 -1
- package/dist/commonjs/funcs/customersList.js.map +1 -1
- package/dist/commonjs/funcs/customersUpdate.js +1 -1
- package/dist/commonjs/funcs/customersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/customersUpdateExternal.js +1 -1
- package/dist/commonjs/funcs/customersUpdateExternal.js.map +1 -1
- package/dist/commonjs/funcs/discountsCreate.js +1 -1
- package/dist/commonjs/funcs/discountsCreate.js.map +1 -1
- package/dist/commonjs/funcs/discountsDelete.js +1 -1
- package/dist/commonjs/funcs/discountsDelete.js.map +1 -1
- package/dist/commonjs/funcs/discountsGet.js +1 -1
- package/dist/commonjs/funcs/discountsGet.js.map +1 -1
- package/dist/commonjs/funcs/discountsList.js +1 -1
- package/dist/commonjs/funcs/discountsList.js.map +1 -1
- package/dist/commonjs/funcs/discountsUpdate.js +1 -1
- package/dist/commonjs/funcs/discountsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/eventsGet.js +1 -1
- package/dist/commonjs/funcs/eventsGet.js.map +1 -1
- package/dist/commonjs/funcs/eventsIngest.js +1 -1
- package/dist/commonjs/funcs/eventsIngest.js.map +1 -1
- package/dist/commonjs/funcs/eventsList.js +1 -1
- package/dist/commonjs/funcs/eventsList.js.map +1 -1
- package/dist/commonjs/funcs/externalOrganizationsList.js +1 -1
- package/dist/commonjs/funcs/externalOrganizationsList.js.map +1 -1
- package/dist/commonjs/funcs/filesCreate.js +1 -1
- package/dist/commonjs/funcs/filesCreate.js.map +1 -1
- package/dist/commonjs/funcs/filesDelete.js +1 -1
- package/dist/commonjs/funcs/filesDelete.js.map +1 -1
- package/dist/commonjs/funcs/filesList.js +1 -1
- package/dist/commonjs/funcs/filesList.js.map +1 -1
- package/dist/commonjs/funcs/filesUpdate.js +1 -1
- package/dist/commonjs/funcs/filesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/filesUploaded.js +1 -1
- package/dist/commonjs/funcs/filesUploaded.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysGet.js +1 -1
- package/dist/commonjs/funcs/licenseKeysGet.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysGetActivation.js +1 -1
- package/dist/commonjs/funcs/licenseKeysGetActivation.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysList.js +1 -1
- package/dist/commonjs/funcs/licenseKeysList.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysUpdate.js +1 -1
- package/dist/commonjs/funcs/licenseKeysUpdate.js.map +1 -1
- package/dist/commonjs/funcs/metersCreate.js +1 -1
- package/dist/commonjs/funcs/metersCreate.js.map +1 -1
- package/dist/commonjs/funcs/metersEvents.js +1 -1
- package/dist/commonjs/funcs/metersEvents.js.map +1 -1
- package/dist/commonjs/funcs/metersGet.js +1 -1
- package/dist/commonjs/funcs/metersGet.js.map +1 -1
- package/dist/commonjs/funcs/metersList.js +1 -1
- package/dist/commonjs/funcs/metersList.js.map +1 -1
- package/dist/commonjs/funcs/metersQuantities.js +1 -1
- package/dist/commonjs/funcs/metersQuantities.js.map +1 -1
- package/dist/commonjs/funcs/metersUpdate.js +1 -1
- package/dist/commonjs/funcs/metersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/metricsGet.js +1 -1
- package/dist/commonjs/funcs/metricsGet.js.map +1 -1
- package/dist/commonjs/funcs/metricsLimits.js +1 -1
- package/dist/commonjs/funcs/metricsLimits.js.map +1 -1
- package/dist/commonjs/funcs/oauth2Authorize.js +1 -1
- package/dist/commonjs/funcs/oauth2Authorize.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsCreate.js +1 -1
- package/dist/commonjs/funcs/oauth2ClientsCreate.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsDelete.js +1 -1
- package/dist/commonjs/funcs/oauth2ClientsDelete.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsGet.js +1 -1
- package/dist/commonjs/funcs/oauth2ClientsGet.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsList.js +1 -1
- package/dist/commonjs/funcs/oauth2ClientsList.js.map +1 -1
- package/dist/commonjs/funcs/oauth2ClientsUpdate.js +1 -1
- package/dist/commonjs/funcs/oauth2ClientsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/oauth2Introspect.js +1 -1
- package/dist/commonjs/funcs/oauth2Introspect.js.map +1 -1
- package/dist/commonjs/funcs/oauth2Revoke.js +1 -1
- package/dist/commonjs/funcs/oauth2Revoke.js.map +1 -1
- package/dist/commonjs/funcs/oauth2Token.js +1 -1
- package/dist/commonjs/funcs/oauth2Token.js.map +1 -1
- package/dist/commonjs/funcs/oauth2Userinfo.js +1 -1
- package/dist/commonjs/funcs/oauth2Userinfo.js.map +1 -1
- package/dist/commonjs/funcs/ordersGet.js +1 -1
- package/dist/commonjs/funcs/ordersGet.js.map +1 -1
- package/dist/commonjs/funcs/ordersInvoice.js +1 -1
- package/dist/commonjs/funcs/ordersInvoice.js.map +1 -1
- package/dist/commonjs/funcs/ordersList.js +1 -1
- package/dist/commonjs/funcs/ordersList.js.map +1 -1
- package/dist/commonjs/funcs/organizationsCreate.js +1 -1
- package/dist/commonjs/funcs/organizationsCreate.js.map +1 -1
- package/dist/commonjs/funcs/organizationsGet.js +1 -1
- package/dist/commonjs/funcs/organizationsGet.js.map +1 -1
- package/dist/commonjs/funcs/organizationsList.js +1 -1
- package/dist/commonjs/funcs/organizationsList.js.map +1 -1
- package/dist/commonjs/funcs/organizationsUpdate.js +1 -1
- package/dist/commonjs/funcs/organizationsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/productsCreate.js +1 -1
- package/dist/commonjs/funcs/productsCreate.js.map +1 -1
- package/dist/commonjs/funcs/productsGet.js +1 -1
- package/dist/commonjs/funcs/productsGet.js.map +1 -1
- package/dist/commonjs/funcs/productsList.js +1 -1
- package/dist/commonjs/funcs/productsList.js.map +1 -1
- package/dist/commonjs/funcs/productsUpdate.js +1 -1
- package/dist/commonjs/funcs/productsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/productsUpdateBenefits.js +1 -1
- package/dist/commonjs/funcs/productsUpdateBenefits.js.map +1 -1
- package/dist/commonjs/funcs/refundsCreate.js +1 -1
- package/dist/commonjs/funcs/refundsCreate.js.map +1 -1
- package/dist/commonjs/funcs/refundsList.js +1 -1
- package/dist/commonjs/funcs/refundsList.js.map +1 -1
- package/dist/commonjs/funcs/repositoriesGet.js +1 -1
- package/dist/commonjs/funcs/repositoriesGet.js.map +1 -1
- package/dist/commonjs/funcs/repositoriesList.js +1 -1
- package/dist/commonjs/funcs/repositoriesList.js.map +1 -1
- package/dist/commonjs/funcs/repositoriesUpdate.js +1 -1
- package/dist/commonjs/funcs/repositoriesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsExport.js +1 -1
- package/dist/commonjs/funcs/subscriptionsExport.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsGet.js +1 -1
- package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsList.js +1 -1
- package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsRevoke.js +1 -1
- package/dist/commonjs/funcs/subscriptionsRevoke.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsUpdate.js +1 -1
- package/dist/commonjs/funcs/subscriptionsUpdate.js.map +1 -1
- package/dist/commonjs/hooks/types.d.ts +1 -1
- package/dist/commonjs/hooks/types.d.ts.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/benefitsortproperty.d.ts +34 -0
- package/dist/commonjs/models/components/benefitsortproperty.d.ts.map +1 -0
- package/dist/commonjs/models/components/benefitsortproperty.js +52 -0
- package/dist/commonjs/models/components/benefitsortproperty.js.map +1 -0
- package/dist/commonjs/models/components/checkout.d.ts +25 -12
- package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkout.js +16 -8
- package/dist/commonjs/models/components/checkout.js.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkupdate.d.ts +16 -2
- package/dist/commonjs/models/components/checkoutlinkupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutlinkupdate.js +4 -2
- package/dist/commonjs/models/components/checkoutlinkupdate.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.d.ts +25 -12
- package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.js +16 -8
- package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +25 -12
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js +16 -8
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/commonjs/models/components/checkoutupdate.d.ts +18 -4
- package/dist/commonjs/models/components/checkoutupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutupdate.js +8 -6
- package/dist/commonjs/models/components/checkoutupdate.js.map +1 -1
- package/dist/commonjs/models/components/checkoutupdatepublic.d.ts +2 -2
- package/dist/commonjs/models/components/checkoutupdatepublic.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutupdatepublic.js +4 -4
- package/dist/commonjs/models/components/checkoutupdatepublic.js.map +1 -1
- package/dist/commonjs/models/components/customerupdate.d.ts +16 -2
- package/dist/commonjs/models/components/customerupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerupdate.js +4 -2
- package/dist/commonjs/models/components/customerupdate.js.map +1 -1
- package/dist/commonjs/models/components/customfieldupdatecheckbox.d.ts +16 -2
- package/dist/commonjs/models/components/customfieldupdatecheckbox.d.ts.map +1 -1
- package/dist/commonjs/models/components/customfieldupdatecheckbox.js +4 -2
- package/dist/commonjs/models/components/customfieldupdatecheckbox.js.map +1 -1
- package/dist/commonjs/models/components/customfieldupdatedate.d.ts +16 -2
- package/dist/commonjs/models/components/customfieldupdatedate.d.ts.map +1 -1
- package/dist/commonjs/models/components/customfieldupdatedate.js +4 -2
- package/dist/commonjs/models/components/customfieldupdatedate.js.map +1 -1
- package/dist/commonjs/models/components/customfieldupdatenumber.d.ts +16 -2
- package/dist/commonjs/models/components/customfieldupdatenumber.d.ts.map +1 -1
- package/dist/commonjs/models/components/customfieldupdatenumber.js +4 -2
- package/dist/commonjs/models/components/customfieldupdatenumber.js.map +1 -1
- package/dist/commonjs/models/components/customfieldupdateselect.d.ts +16 -2
- package/dist/commonjs/models/components/customfieldupdateselect.d.ts.map +1 -1
- package/dist/commonjs/models/components/customfieldupdateselect.js +4 -2
- package/dist/commonjs/models/components/customfieldupdateselect.js.map +1 -1
- package/dist/commonjs/models/components/customfieldupdatetext.d.ts +16 -2
- package/dist/commonjs/models/components/customfieldupdatetext.d.ts.map +1 -1
- package/dist/commonjs/models/components/customfieldupdatetext.js +4 -2
- package/dist/commonjs/models/components/customfieldupdatetext.js.map +1 -1
- package/dist/commonjs/models/components/discountupdate.d.ts +16 -2
- package/dist/commonjs/models/components/discountupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountupdate.js +4 -2
- package/dist/commonjs/models/components/discountupdate.js.map +1 -1
- package/dist/commonjs/models/components/meterupdate.d.ts +16 -2
- package/dist/commonjs/models/components/meterupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/meterupdate.js +4 -2
- package/dist/commonjs/models/components/meterupdate.js.map +1 -1
- package/dist/commonjs/models/components/productcreate.d.ts +5 -4
- package/dist/commonjs/models/components/productcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/productcreate.js +5 -0
- package/dist/commonjs/models/components/productcreate.js.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunit.d.ts +5 -0
- package/dist/commonjs/models/components/productpricemeteredunit.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunit.js +4 -0
- package/dist/commonjs/models/components/productpricemeteredunit.js.map +1 -1
- package/dist/commonjs/models/components/productpricemeteredunitcreate.d.ts +57 -0
- package/dist/commonjs/models/components/productpricemeteredunitcreate.d.ts.map +1 -0
- package/dist/commonjs/models/components/productpricemeteredunitcreate.js +88 -0
- package/dist/commonjs/models/components/productpricemeteredunitcreate.js.map +1 -0
- package/dist/commonjs/models/components/productupdate.d.ts +21 -6
- package/dist/commonjs/models/components/productupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/productupdate.js +9 -2
- package/dist/commonjs/models/components/productupdate.js.map +1 -1
- package/dist/commonjs/models/operations/benefitslist.d.ts +6 -0
- package/dist/commonjs/models/operations/benefitslist.d.ts.map +1 -1
- package/dist/commonjs/models/operations/benefitslist.js +3 -0
- package/dist/commonjs/models/operations/benefitslist.js.map +1 -1
- package/dist/esm/funcs/benefitsCreate.js +1 -1
- package/dist/esm/funcs/benefitsCreate.js.map +1 -1
- package/dist/esm/funcs/benefitsDelete.js +1 -1
- package/dist/esm/funcs/benefitsDelete.js.map +1 -1
- package/dist/esm/funcs/benefitsGet.js +1 -1
- package/dist/esm/funcs/benefitsGet.js.map +1 -1
- package/dist/esm/funcs/benefitsGrants.js +1 -1
- package/dist/esm/funcs/benefitsGrants.js.map +1 -1
- package/dist/esm/funcs/benefitsList.js +2 -1
- package/dist/esm/funcs/benefitsList.js.map +1 -1
- package/dist/esm/funcs/benefitsUpdate.js +1 -1
- package/dist/esm/funcs/benefitsUpdate.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksCreate.js +1 -1
- package/dist/esm/funcs/checkoutLinksCreate.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksDelete.js +1 -1
- package/dist/esm/funcs/checkoutLinksDelete.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksGet.js +1 -1
- package/dist/esm/funcs/checkoutLinksGet.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksList.js +1 -1
- package/dist/esm/funcs/checkoutLinksList.js.map +1 -1
- package/dist/esm/funcs/checkoutLinksUpdate.js +1 -1
- package/dist/esm/funcs/checkoutLinksUpdate.js.map +1 -1
- package/dist/esm/funcs/checkoutsClientConfirm.js +1 -1
- package/dist/esm/funcs/checkoutsClientConfirm.js.map +1 -1
- package/dist/esm/funcs/checkoutsClientGet.js +1 -1
- package/dist/esm/funcs/checkoutsClientGet.js.map +1 -1
- package/dist/esm/funcs/checkoutsClientUpdate.js +1 -1
- package/dist/esm/funcs/checkoutsClientUpdate.js.map +1 -1
- package/dist/esm/funcs/checkoutsCreate.js +1 -1
- package/dist/esm/funcs/checkoutsCreate.js.map +1 -1
- package/dist/esm/funcs/checkoutsGet.js +1 -1
- package/dist/esm/funcs/checkoutsGet.js.map +1 -1
- package/dist/esm/funcs/checkoutsList.js +1 -1
- package/dist/esm/funcs/checkoutsList.js.map +1 -1
- package/dist/esm/funcs/checkoutsUpdate.js +1 -1
- package/dist/esm/funcs/checkoutsUpdate.js.map +1 -1
- package/dist/esm/funcs/customFieldsCreate.js +1 -1
- package/dist/esm/funcs/customFieldsCreate.js.map +1 -1
- package/dist/esm/funcs/customFieldsDelete.js +1 -1
- package/dist/esm/funcs/customFieldsDelete.js.map +1 -1
- package/dist/esm/funcs/customFieldsGet.js +1 -1
- package/dist/esm/funcs/customFieldsGet.js.map +1 -1
- package/dist/esm/funcs/customFieldsList.js +1 -1
- package/dist/esm/funcs/customFieldsList.js.map +1 -1
- package/dist/esm/funcs/customFieldsUpdate.js +1 -1
- package/dist/esm/funcs/customFieldsUpdate.js.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsGet.js +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsList.js +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsList.js.map +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.js +1 -1
- package/dist/esm/funcs/customerPortalBenefitGrantsUpdate.js.map +1 -1
- package/dist/esm/funcs/customerPortalCustomersAddPaymentMethod.js +1 -1
- package/dist/esm/funcs/customerPortalCustomersAddPaymentMethod.js.map +1 -1
- package/dist/esm/funcs/customerPortalCustomersDeletePaymentMethod.js +1 -1
- package/dist/esm/funcs/customerPortalCustomersDeletePaymentMethod.js.map +1 -1
- package/dist/esm/funcs/customerPortalCustomersGet.js +1 -1
- package/dist/esm/funcs/customerPortalCustomersGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalCustomersGetPaymentMethods.js +1 -1
- package/dist/esm/funcs/customerPortalCustomersGetPaymentMethods.js.map +1 -1
- package/dist/esm/funcs/customerPortalCustomersUpdate.js +1 -1
- package/dist/esm/funcs/customerPortalCustomersUpdate.js.map +1 -1
- package/dist/esm/funcs/customerPortalDownloadablesGet.js +1 -1
- package/dist/esm/funcs/customerPortalDownloadablesGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalDownloadablesList.js +1 -1
- package/dist/esm/funcs/customerPortalDownloadablesList.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysActivate.js +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysActivate.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.js +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysDeactivate.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysGet.js +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysList.js +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysList.js.map +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysValidate.js +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysValidate.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersGet.js +1 -1
- package/dist/esm/funcs/customerPortalOrdersGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersInvoice.js +1 -1
- package/dist/esm/funcs/customerPortalOrdersInvoice.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrdersList.js +1 -1
- package/dist/esm/funcs/customerPortalOrdersList.js.map +1 -1
- package/dist/esm/funcs/customerPortalOrganizationsGet.js +1 -1
- package/dist/esm/funcs/customerPortalOrganizationsGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsCancel.js +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsCancel.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsGet.js +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsGet.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsList.js +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsList.js.map +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsUpdate.js +1 -1
- package/dist/esm/funcs/customerPortalSubscriptionsUpdate.js.map +1 -1
- package/dist/esm/funcs/customerSessionsCreate.js +1 -1
- package/dist/esm/funcs/customerSessionsCreate.js.map +1 -1
- package/dist/esm/funcs/customersCreate.js +1 -1
- package/dist/esm/funcs/customersCreate.js.map +1 -1
- package/dist/esm/funcs/customersDelete.js +1 -1
- package/dist/esm/funcs/customersDelete.js.map +1 -1
- package/dist/esm/funcs/customersDeleteExternal.js +1 -1
- package/dist/esm/funcs/customersDeleteExternal.js.map +1 -1
- package/dist/esm/funcs/customersGet.js +1 -1
- package/dist/esm/funcs/customersGet.js.map +1 -1
- package/dist/esm/funcs/customersGetExternal.js +1 -1
- package/dist/esm/funcs/customersGetExternal.js.map +1 -1
- package/dist/esm/funcs/customersGetState.js +1 -1
- package/dist/esm/funcs/customersGetState.js.map +1 -1
- package/dist/esm/funcs/customersGetStateExternal.js +1 -1
- package/dist/esm/funcs/customersGetStateExternal.js.map +1 -1
- package/dist/esm/funcs/customersList.js +1 -1
- package/dist/esm/funcs/customersList.js.map +1 -1
- package/dist/esm/funcs/customersUpdate.js +1 -1
- package/dist/esm/funcs/customersUpdate.js.map +1 -1
- package/dist/esm/funcs/customersUpdateExternal.js +1 -1
- package/dist/esm/funcs/customersUpdateExternal.js.map +1 -1
- package/dist/esm/funcs/discountsCreate.js +1 -1
- package/dist/esm/funcs/discountsCreate.js.map +1 -1
- package/dist/esm/funcs/discountsDelete.js +1 -1
- package/dist/esm/funcs/discountsDelete.js.map +1 -1
- package/dist/esm/funcs/discountsGet.js +1 -1
- package/dist/esm/funcs/discountsGet.js.map +1 -1
- package/dist/esm/funcs/discountsList.js +1 -1
- package/dist/esm/funcs/discountsList.js.map +1 -1
- package/dist/esm/funcs/discountsUpdate.js +1 -1
- package/dist/esm/funcs/discountsUpdate.js.map +1 -1
- package/dist/esm/funcs/eventsGet.js +1 -1
- package/dist/esm/funcs/eventsGet.js.map +1 -1
- package/dist/esm/funcs/eventsIngest.js +1 -1
- package/dist/esm/funcs/eventsIngest.js.map +1 -1
- package/dist/esm/funcs/eventsList.js +1 -1
- package/dist/esm/funcs/eventsList.js.map +1 -1
- package/dist/esm/funcs/externalOrganizationsList.js +1 -1
- package/dist/esm/funcs/externalOrganizationsList.js.map +1 -1
- package/dist/esm/funcs/filesCreate.js +1 -1
- package/dist/esm/funcs/filesCreate.js.map +1 -1
- package/dist/esm/funcs/filesDelete.js +1 -1
- package/dist/esm/funcs/filesDelete.js.map +1 -1
- package/dist/esm/funcs/filesList.js +1 -1
- package/dist/esm/funcs/filesList.js.map +1 -1
- package/dist/esm/funcs/filesUpdate.js +1 -1
- package/dist/esm/funcs/filesUpdate.js.map +1 -1
- package/dist/esm/funcs/filesUploaded.js +1 -1
- package/dist/esm/funcs/filesUploaded.js.map +1 -1
- package/dist/esm/funcs/licenseKeysGet.js +1 -1
- package/dist/esm/funcs/licenseKeysGet.js.map +1 -1
- package/dist/esm/funcs/licenseKeysGetActivation.js +1 -1
- package/dist/esm/funcs/licenseKeysGetActivation.js.map +1 -1
- package/dist/esm/funcs/licenseKeysList.js +1 -1
- package/dist/esm/funcs/licenseKeysList.js.map +1 -1
- package/dist/esm/funcs/licenseKeysUpdate.js +1 -1
- package/dist/esm/funcs/licenseKeysUpdate.js.map +1 -1
- package/dist/esm/funcs/metersCreate.js +1 -1
- package/dist/esm/funcs/metersCreate.js.map +1 -1
- package/dist/esm/funcs/metersEvents.js +1 -1
- package/dist/esm/funcs/metersEvents.js.map +1 -1
- package/dist/esm/funcs/metersGet.js +1 -1
- package/dist/esm/funcs/metersGet.js.map +1 -1
- package/dist/esm/funcs/metersList.js +1 -1
- package/dist/esm/funcs/metersList.js.map +1 -1
- package/dist/esm/funcs/metersQuantities.js +1 -1
- package/dist/esm/funcs/metersQuantities.js.map +1 -1
- package/dist/esm/funcs/metersUpdate.js +1 -1
- package/dist/esm/funcs/metersUpdate.js.map +1 -1
- package/dist/esm/funcs/metricsGet.js +1 -1
- package/dist/esm/funcs/metricsGet.js.map +1 -1
- package/dist/esm/funcs/metricsLimits.js +1 -1
- package/dist/esm/funcs/metricsLimits.js.map +1 -1
- package/dist/esm/funcs/oauth2Authorize.js +1 -1
- package/dist/esm/funcs/oauth2Authorize.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsCreate.js +1 -1
- package/dist/esm/funcs/oauth2ClientsCreate.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsDelete.js +1 -1
- package/dist/esm/funcs/oauth2ClientsDelete.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsGet.js +1 -1
- package/dist/esm/funcs/oauth2ClientsGet.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsList.js +1 -1
- package/dist/esm/funcs/oauth2ClientsList.js.map +1 -1
- package/dist/esm/funcs/oauth2ClientsUpdate.js +1 -1
- package/dist/esm/funcs/oauth2ClientsUpdate.js.map +1 -1
- package/dist/esm/funcs/oauth2Introspect.js +1 -1
- package/dist/esm/funcs/oauth2Introspect.js.map +1 -1
- package/dist/esm/funcs/oauth2Revoke.js +1 -1
- package/dist/esm/funcs/oauth2Revoke.js.map +1 -1
- package/dist/esm/funcs/oauth2Token.js +1 -1
- package/dist/esm/funcs/oauth2Token.js.map +1 -1
- package/dist/esm/funcs/oauth2Userinfo.js +1 -1
- package/dist/esm/funcs/oauth2Userinfo.js.map +1 -1
- package/dist/esm/funcs/ordersGet.js +1 -1
- package/dist/esm/funcs/ordersGet.js.map +1 -1
- package/dist/esm/funcs/ordersInvoice.js +1 -1
- package/dist/esm/funcs/ordersInvoice.js.map +1 -1
- package/dist/esm/funcs/ordersList.js +1 -1
- package/dist/esm/funcs/ordersList.js.map +1 -1
- package/dist/esm/funcs/organizationsCreate.js +1 -1
- package/dist/esm/funcs/organizationsCreate.js.map +1 -1
- package/dist/esm/funcs/organizationsGet.js +1 -1
- package/dist/esm/funcs/organizationsGet.js.map +1 -1
- package/dist/esm/funcs/organizationsList.js +1 -1
- package/dist/esm/funcs/organizationsList.js.map +1 -1
- package/dist/esm/funcs/organizationsUpdate.js +1 -1
- package/dist/esm/funcs/organizationsUpdate.js.map +1 -1
- package/dist/esm/funcs/productsCreate.js +1 -1
- package/dist/esm/funcs/productsCreate.js.map +1 -1
- package/dist/esm/funcs/productsGet.js +1 -1
- package/dist/esm/funcs/productsGet.js.map +1 -1
- package/dist/esm/funcs/productsList.js +1 -1
- package/dist/esm/funcs/productsList.js.map +1 -1
- package/dist/esm/funcs/productsUpdate.js +1 -1
- package/dist/esm/funcs/productsUpdate.js.map +1 -1
- package/dist/esm/funcs/productsUpdateBenefits.js +1 -1
- package/dist/esm/funcs/productsUpdateBenefits.js.map +1 -1
- package/dist/esm/funcs/refundsCreate.js +1 -1
- package/dist/esm/funcs/refundsCreate.js.map +1 -1
- package/dist/esm/funcs/refundsList.js +1 -1
- package/dist/esm/funcs/refundsList.js.map +1 -1
- package/dist/esm/funcs/repositoriesGet.js +1 -1
- package/dist/esm/funcs/repositoriesGet.js.map +1 -1
- package/dist/esm/funcs/repositoriesList.js +1 -1
- package/dist/esm/funcs/repositoriesList.js.map +1 -1
- package/dist/esm/funcs/repositoriesUpdate.js +1 -1
- package/dist/esm/funcs/repositoriesUpdate.js.map +1 -1
- package/dist/esm/funcs/subscriptionsExport.js +1 -1
- package/dist/esm/funcs/subscriptionsExport.js.map +1 -1
- package/dist/esm/funcs/subscriptionsGet.js +1 -1
- package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
- package/dist/esm/funcs/subscriptionsList.js +1 -1
- package/dist/esm/funcs/subscriptionsList.js.map +1 -1
- package/dist/esm/funcs/subscriptionsRevoke.js +1 -1
- package/dist/esm/funcs/subscriptionsRevoke.js.map +1 -1
- package/dist/esm/funcs/subscriptionsUpdate.js +1 -1
- package/dist/esm/funcs/subscriptionsUpdate.js.map +1 -1
- package/dist/esm/hooks/types.d.ts +1 -1
- package/dist/esm/hooks/types.d.ts.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/benefitsortproperty.d.ts +34 -0
- package/dist/esm/models/components/benefitsortproperty.d.ts.map +1 -0
- package/dist/esm/models/components/benefitsortproperty.js +26 -0
- package/dist/esm/models/components/benefitsortproperty.js.map +1 -0
- package/dist/esm/models/components/checkout.d.ts +25 -12
- package/dist/esm/models/components/checkout.d.ts.map +1 -1
- package/dist/esm/models/components/checkout.js +16 -8
- package/dist/esm/models/components/checkout.js.map +1 -1
- package/dist/esm/models/components/checkoutlinkupdate.d.ts +16 -2
- package/dist/esm/models/components/checkoutlinkupdate.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutlinkupdate.js +4 -2
- package/dist/esm/models/components/checkoutlinkupdate.js.map +1 -1
- package/dist/esm/models/components/checkoutpublic.d.ts +25 -12
- package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublic.js +16 -8
- package/dist/esm/models/components/checkoutpublic.js.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +25 -12
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.js +16 -8
- package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/esm/models/components/checkoutupdate.d.ts +18 -4
- package/dist/esm/models/components/checkoutupdate.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutupdate.js +8 -6
- package/dist/esm/models/components/checkoutupdate.js.map +1 -1
- package/dist/esm/models/components/checkoutupdatepublic.d.ts +2 -2
- package/dist/esm/models/components/checkoutupdatepublic.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutupdatepublic.js +4 -4
- package/dist/esm/models/components/checkoutupdatepublic.js.map +1 -1
- package/dist/esm/models/components/customerupdate.d.ts +16 -2
- package/dist/esm/models/components/customerupdate.d.ts.map +1 -1
- package/dist/esm/models/components/customerupdate.js +4 -2
- package/dist/esm/models/components/customerupdate.js.map +1 -1
- package/dist/esm/models/components/customfieldupdatecheckbox.d.ts +16 -2
- package/dist/esm/models/components/customfieldupdatecheckbox.d.ts.map +1 -1
- package/dist/esm/models/components/customfieldupdatecheckbox.js +4 -2
- package/dist/esm/models/components/customfieldupdatecheckbox.js.map +1 -1
- package/dist/esm/models/components/customfieldupdatedate.d.ts +16 -2
- package/dist/esm/models/components/customfieldupdatedate.d.ts.map +1 -1
- package/dist/esm/models/components/customfieldupdatedate.js +4 -2
- package/dist/esm/models/components/customfieldupdatedate.js.map +1 -1
- package/dist/esm/models/components/customfieldupdatenumber.d.ts +16 -2
- package/dist/esm/models/components/customfieldupdatenumber.d.ts.map +1 -1
- package/dist/esm/models/components/customfieldupdatenumber.js +4 -2
- package/dist/esm/models/components/customfieldupdatenumber.js.map +1 -1
- package/dist/esm/models/components/customfieldupdateselect.d.ts +16 -2
- package/dist/esm/models/components/customfieldupdateselect.d.ts.map +1 -1
- package/dist/esm/models/components/customfieldupdateselect.js +4 -2
- package/dist/esm/models/components/customfieldupdateselect.js.map +1 -1
- package/dist/esm/models/components/customfieldupdatetext.d.ts +16 -2
- package/dist/esm/models/components/customfieldupdatetext.d.ts.map +1 -1
- package/dist/esm/models/components/customfieldupdatetext.js +4 -2
- package/dist/esm/models/components/customfieldupdatetext.js.map +1 -1
- package/dist/esm/models/components/discountupdate.d.ts +16 -2
- package/dist/esm/models/components/discountupdate.d.ts.map +1 -1
- package/dist/esm/models/components/discountupdate.js +4 -2
- package/dist/esm/models/components/discountupdate.js.map +1 -1
- package/dist/esm/models/components/meterupdate.d.ts +16 -2
- package/dist/esm/models/components/meterupdate.d.ts.map +1 -1
- package/dist/esm/models/components/meterupdate.js +4 -2
- package/dist/esm/models/components/meterupdate.js.map +1 -1
- package/dist/esm/models/components/productcreate.d.ts +5 -4
- package/dist/esm/models/components/productcreate.d.ts.map +1 -1
- package/dist/esm/models/components/productcreate.js +5 -0
- package/dist/esm/models/components/productcreate.js.map +1 -1
- package/dist/esm/models/components/productpricemeteredunit.d.ts +5 -0
- package/dist/esm/models/components/productpricemeteredunit.d.ts.map +1 -1
- package/dist/esm/models/components/productpricemeteredunit.js +4 -0
- package/dist/esm/models/components/productpricemeteredunit.js.map +1 -1
- package/dist/esm/models/components/productpricemeteredunitcreate.d.ts +57 -0
- package/dist/esm/models/components/productpricemeteredunitcreate.d.ts.map +1 -0
- package/dist/esm/models/components/productpricemeteredunitcreate.js +60 -0
- package/dist/esm/models/components/productpricemeteredunitcreate.js.map +1 -0
- package/dist/esm/models/components/productupdate.d.ts +21 -6
- package/dist/esm/models/components/productupdate.d.ts.map +1 -1
- package/dist/esm/models/components/productupdate.js +9 -2
- package/dist/esm/models/components/productupdate.js.map +1 -1
- package/dist/esm/models/operations/benefitslist.d.ts +6 -0
- package/dist/esm/models/operations/benefitslist.d.ts.map +1 -1
- package/dist/esm/models/operations/benefitslist.js +3 -0
- package/dist/esm/models/operations/benefitslist.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/benefitsCreate.ts +1 -1
- package/src/funcs/benefitsDelete.ts +1 -1
- package/src/funcs/benefitsGet.ts +1 -1
- package/src/funcs/benefitsGrants.ts +1 -1
- package/src/funcs/benefitsList.ts +2 -1
- package/src/funcs/benefitsUpdate.ts +1 -1
- package/src/funcs/checkoutLinksCreate.ts +1 -1
- package/src/funcs/checkoutLinksDelete.ts +1 -1
- package/src/funcs/checkoutLinksGet.ts +1 -1
- package/src/funcs/checkoutLinksList.ts +1 -1
- package/src/funcs/checkoutLinksUpdate.ts +1 -1
- package/src/funcs/checkoutsClientConfirm.ts +1 -1
- package/src/funcs/checkoutsClientGet.ts +1 -1
- package/src/funcs/checkoutsClientUpdate.ts +1 -1
- package/src/funcs/checkoutsCreate.ts +1 -1
- package/src/funcs/checkoutsGet.ts +1 -1
- package/src/funcs/checkoutsList.ts +1 -1
- package/src/funcs/checkoutsUpdate.ts +1 -1
- package/src/funcs/customFieldsCreate.ts +1 -1
- package/src/funcs/customFieldsDelete.ts +1 -1
- package/src/funcs/customFieldsGet.ts +1 -1
- package/src/funcs/customFieldsList.ts +1 -1
- package/src/funcs/customFieldsUpdate.ts +1 -1
- package/src/funcs/customerPortalBenefitGrantsGet.ts +1 -1
- package/src/funcs/customerPortalBenefitGrantsList.ts +1 -1
- package/src/funcs/customerPortalBenefitGrantsUpdate.ts +1 -1
- package/src/funcs/customerPortalCustomersAddPaymentMethod.ts +1 -1
- package/src/funcs/customerPortalCustomersDeletePaymentMethod.ts +1 -1
- package/src/funcs/customerPortalCustomersGet.ts +1 -1
- package/src/funcs/customerPortalCustomersGetPaymentMethods.ts +1 -1
- package/src/funcs/customerPortalCustomersUpdate.ts +1 -1
- package/src/funcs/customerPortalDownloadablesGet.ts +1 -1
- package/src/funcs/customerPortalDownloadablesList.ts +1 -1
- package/src/funcs/customerPortalLicenseKeysActivate.ts +1 -1
- package/src/funcs/customerPortalLicenseKeysDeactivate.ts +1 -1
- package/src/funcs/customerPortalLicenseKeysGet.ts +1 -1
- package/src/funcs/customerPortalLicenseKeysList.ts +1 -1
- package/src/funcs/customerPortalLicenseKeysValidate.ts +1 -1
- package/src/funcs/customerPortalOrdersGet.ts +1 -1
- package/src/funcs/customerPortalOrdersInvoice.ts +1 -1
- package/src/funcs/customerPortalOrdersList.ts +1 -1
- package/src/funcs/customerPortalOrganizationsGet.ts +1 -1
- package/src/funcs/customerPortalSubscriptionsCancel.ts +1 -1
- package/src/funcs/customerPortalSubscriptionsGet.ts +1 -1
- package/src/funcs/customerPortalSubscriptionsList.ts +1 -1
- package/src/funcs/customerPortalSubscriptionsUpdate.ts +1 -1
- package/src/funcs/customerSessionsCreate.ts +1 -1
- package/src/funcs/customersCreate.ts +1 -1
- package/src/funcs/customersDelete.ts +1 -1
- package/src/funcs/customersDeleteExternal.ts +1 -1
- package/src/funcs/customersGet.ts +1 -1
- package/src/funcs/customersGetExternal.ts +1 -1
- package/src/funcs/customersGetState.ts +1 -1
- package/src/funcs/customersGetStateExternal.ts +1 -1
- package/src/funcs/customersList.ts +1 -1
- package/src/funcs/customersUpdate.ts +1 -1
- package/src/funcs/customersUpdateExternal.ts +1 -1
- package/src/funcs/discountsCreate.ts +1 -1
- package/src/funcs/discountsDelete.ts +1 -1
- package/src/funcs/discountsGet.ts +1 -1
- package/src/funcs/discountsList.ts +1 -1
- package/src/funcs/discountsUpdate.ts +1 -1
- package/src/funcs/eventsGet.ts +1 -1
- package/src/funcs/eventsIngest.ts +1 -1
- package/src/funcs/eventsList.ts +1 -1
- package/src/funcs/externalOrganizationsList.ts +1 -1
- package/src/funcs/filesCreate.ts +1 -1
- package/src/funcs/filesDelete.ts +1 -1
- package/src/funcs/filesList.ts +1 -1
- package/src/funcs/filesUpdate.ts +1 -1
- package/src/funcs/filesUploaded.ts +1 -1
- package/src/funcs/licenseKeysGet.ts +1 -1
- package/src/funcs/licenseKeysGetActivation.ts +1 -1
- package/src/funcs/licenseKeysList.ts +1 -1
- package/src/funcs/licenseKeysUpdate.ts +1 -1
- package/src/funcs/metersCreate.ts +1 -1
- package/src/funcs/metersEvents.ts +1 -1
- package/src/funcs/metersGet.ts +1 -1
- package/src/funcs/metersList.ts +1 -1
- package/src/funcs/metersQuantities.ts +1 -1
- package/src/funcs/metersUpdate.ts +1 -1
- package/src/funcs/metricsGet.ts +1 -1
- package/src/funcs/metricsLimits.ts +1 -1
- package/src/funcs/oauth2Authorize.ts +1 -1
- package/src/funcs/oauth2ClientsCreate.ts +1 -1
- package/src/funcs/oauth2ClientsDelete.ts +1 -1
- package/src/funcs/oauth2ClientsGet.ts +1 -1
- package/src/funcs/oauth2ClientsList.ts +1 -1
- package/src/funcs/oauth2ClientsUpdate.ts +1 -1
- package/src/funcs/oauth2Introspect.ts +1 -1
- package/src/funcs/oauth2Revoke.ts +1 -1
- package/src/funcs/oauth2Token.ts +1 -1
- package/src/funcs/oauth2Userinfo.ts +1 -1
- package/src/funcs/ordersGet.ts +1 -1
- package/src/funcs/ordersInvoice.ts +1 -1
- package/src/funcs/ordersList.ts +1 -1
- package/src/funcs/organizationsCreate.ts +1 -1
- package/src/funcs/organizationsGet.ts +1 -1
- package/src/funcs/organizationsList.ts +1 -1
- package/src/funcs/organizationsUpdate.ts +1 -1
- package/src/funcs/productsCreate.ts +1 -1
- package/src/funcs/productsGet.ts +1 -1
- package/src/funcs/productsList.ts +1 -1
- package/src/funcs/productsUpdate.ts +1 -1
- package/src/funcs/productsUpdateBenefits.ts +1 -1
- package/src/funcs/refundsCreate.ts +1 -1
- package/src/funcs/refundsList.ts +1 -1
- package/src/funcs/repositoriesGet.ts +1 -1
- package/src/funcs/repositoriesList.ts +1 -1
- package/src/funcs/repositoriesUpdate.ts +1 -1
- package/src/funcs/subscriptionsExport.ts +1 -1
- package/src/funcs/subscriptionsGet.ts +1 -1
- package/src/funcs/subscriptionsList.ts +1 -1
- package/src/funcs/subscriptionsRevoke.ts +1 -1
- package/src/funcs/subscriptionsUpdate.ts +1 -1
- package/src/hooks/types.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/benefitsortproperty.ts +35 -0
- package/src/models/components/checkout.ts +41 -20
- package/src/models/components/checkoutlinkupdate.ts +20 -8
- package/src/models/components/checkoutpublic.ts +41 -20
- package/src/models/components/checkoutpublicconfirmed.ts +41 -20
- package/src/models/components/checkoutupdate.ts +36 -30
- package/src/models/components/checkoutupdatepublic.ts +16 -22
- package/src/models/components/customerupdate.ts +20 -8
- package/src/models/components/customfieldupdatecheckbox.ts +20 -8
- package/src/models/components/customfieldupdatedate.ts +20 -8
- package/src/models/components/customfieldupdatenumber.ts +20 -8
- package/src/models/components/customfieldupdateselect.ts +20 -8
- package/src/models/components/customfieldupdatetext.ts +20 -8
- package/src/models/components/discountupdate.ts +20 -8
- package/src/models/components/meterupdate.ts +20 -8
- package/src/models/components/productcreate.ts +19 -3
- package/src/models/components/productpricemeteredunit.ts +9 -0
- package/src/models/components/productpricemeteredunitcreate.ts +125 -0
- package/src/models/components/productupdate.ts +36 -10
- package/src/models/operations/benefitslist.ts +12 -0
|
@@ -29,7 +29,6 @@ export type CheckoutUpdatePublic = {
|
|
|
29
29
|
*/
|
|
30
30
|
customFieldData?:
|
|
31
31
|
| { [k: string]: string | number | boolean | Date | null }
|
|
32
|
-
| null
|
|
33
32
|
| undefined;
|
|
34
33
|
/**
|
|
35
34
|
* ID of the product to checkout. Must be present in the checkout's product list.
|
|
@@ -125,16 +124,14 @@ export const CheckoutUpdatePublic$inboundSchema: z.ZodType<
|
|
|
125
124
|
z.ZodTypeDef,
|
|
126
125
|
unknown
|
|
127
126
|
> = z.object({
|
|
128
|
-
custom_field_data: z.
|
|
129
|
-
z.
|
|
130
|
-
z.
|
|
131
|
-
z.
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
]),
|
|
137
|
-
),
|
|
127
|
+
custom_field_data: z.record(
|
|
128
|
+
z.nullable(
|
|
129
|
+
z.union([
|
|
130
|
+
z.string(),
|
|
131
|
+
z.number().int(),
|
|
132
|
+
z.boolean(),
|
|
133
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
134
|
+
]),
|
|
138
135
|
),
|
|
139
136
|
).optional(),
|
|
140
137
|
product_id: z.nullable(z.string()).optional(),
|
|
@@ -162,7 +159,6 @@ export const CheckoutUpdatePublic$inboundSchema: z.ZodType<
|
|
|
162
159
|
export type CheckoutUpdatePublic$Outbound = {
|
|
163
160
|
custom_field_data?:
|
|
164
161
|
| { [k: string]: string | number | boolean | string | null }
|
|
165
|
-
| null
|
|
166
162
|
| undefined;
|
|
167
163
|
product_id?: string | null | undefined;
|
|
168
164
|
product_price_id?: string | null | undefined;
|
|
@@ -180,16 +176,14 @@ export const CheckoutUpdatePublic$outboundSchema: z.ZodType<
|
|
|
180
176
|
z.ZodTypeDef,
|
|
181
177
|
CheckoutUpdatePublic
|
|
182
178
|
> = z.object({
|
|
183
|
-
customFieldData: z.
|
|
184
|
-
z.
|
|
185
|
-
z.
|
|
186
|
-
z.
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
]),
|
|
192
|
-
),
|
|
179
|
+
customFieldData: z.record(
|
|
180
|
+
z.nullable(
|
|
181
|
+
z.union([
|
|
182
|
+
z.string(),
|
|
183
|
+
z.number().int(),
|
|
184
|
+
z.boolean(),
|
|
185
|
+
z.date().transform(v => v.toISOString()),
|
|
186
|
+
]),
|
|
193
187
|
),
|
|
194
188
|
).optional(),
|
|
195
189
|
productId: z.nullable(z.string()).optional(),
|
|
@@ -24,7 +24,21 @@ export type CustomerUpdateMetadata = string | number | boolean;
|
|
|
24
24
|
export type CustomerUpdateTaxId = string | TaxIDFormat;
|
|
25
25
|
|
|
26
26
|
export type CustomerUpdate = {
|
|
27
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Key-value object allowing you to store additional information.
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
*
|
|
32
|
+
* The key must be a string with a maximum length of **40 characters**.
|
|
33
|
+
* The value must be either:
|
|
34
|
+
*
|
|
35
|
+
* * A string with a maximum length of **500 characters**
|
|
36
|
+
* * An integer
|
|
37
|
+
* * A boolean
|
|
38
|
+
*
|
|
39
|
+
* You can store up to **50 key-value pairs**.
|
|
40
|
+
*/
|
|
41
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
28
42
|
/**
|
|
29
43
|
* The ID of the customer in your system. This must be unique within the organization. Once set, it can't be updated.
|
|
30
44
|
*/
|
|
@@ -143,9 +157,8 @@ export const CustomerUpdate$inboundSchema: z.ZodType<
|
|
|
143
157
|
z.ZodTypeDef,
|
|
144
158
|
unknown
|
|
145
159
|
> = z.object({
|
|
146
|
-
metadata: z.
|
|
147
|
-
|
|
148
|
-
).optional(),
|
|
160
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
161
|
+
.optional(),
|
|
149
162
|
external_id: z.nullable(z.string()).optional(),
|
|
150
163
|
email: z.nullable(z.string()).optional(),
|
|
151
164
|
name: z.nullable(z.string()).optional(),
|
|
@@ -163,7 +176,7 @@ export const CustomerUpdate$inboundSchema: z.ZodType<
|
|
|
163
176
|
|
|
164
177
|
/** @internal */
|
|
165
178
|
export type CustomerUpdate$Outbound = {
|
|
166
|
-
metadata?: { [k: string]: string | number | boolean } |
|
|
179
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
167
180
|
external_id?: string | null | undefined;
|
|
168
181
|
email?: string | null | undefined;
|
|
169
182
|
name?: string | null | undefined;
|
|
@@ -177,9 +190,8 @@ export const CustomerUpdate$outboundSchema: z.ZodType<
|
|
|
177
190
|
z.ZodTypeDef,
|
|
178
191
|
CustomerUpdate
|
|
179
192
|
> = z.object({
|
|
180
|
-
metadata: z.
|
|
181
|
-
|
|
182
|
-
).optional(),
|
|
193
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
194
|
+
.optional(),
|
|
183
195
|
externalId: z.nullable(z.string()).optional(),
|
|
184
196
|
email: z.nullable(z.string()).optional(),
|
|
185
197
|
name: z.nullable(z.string()).optional(),
|
|
@@ -19,7 +19,21 @@ export type CustomFieldUpdateCheckboxMetadata = string | number | boolean;
|
|
|
19
19
|
* Schema to update a custom field of type checkbox.
|
|
20
20
|
*/
|
|
21
21
|
export type CustomFieldUpdateCheckbox = {
|
|
22
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Key-value object allowing you to store additional information.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
*
|
|
27
|
+
* The key must be a string with a maximum length of **40 characters**.
|
|
28
|
+
* The value must be either:
|
|
29
|
+
*
|
|
30
|
+
* * A string with a maximum length of **500 characters**
|
|
31
|
+
* * An integer
|
|
32
|
+
* * A boolean
|
|
33
|
+
*
|
|
34
|
+
* You can store up to **50 key-value pairs**.
|
|
35
|
+
*/
|
|
36
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
23
37
|
name?: string | null | undefined;
|
|
24
38
|
slug?: string | null | undefined;
|
|
25
39
|
type?: "checkbox" | undefined;
|
|
@@ -86,9 +100,8 @@ export const CustomFieldUpdateCheckbox$inboundSchema: z.ZodType<
|
|
|
86
100
|
z.ZodTypeDef,
|
|
87
101
|
unknown
|
|
88
102
|
> = z.object({
|
|
89
|
-
metadata: z.
|
|
90
|
-
|
|
91
|
-
).optional(),
|
|
103
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
104
|
+
.optional(),
|
|
92
105
|
name: z.nullable(z.string()).optional(),
|
|
93
106
|
slug: z.nullable(z.string()).optional(),
|
|
94
107
|
type: z.literal("checkbox").optional(),
|
|
@@ -98,7 +111,7 @@ export const CustomFieldUpdateCheckbox$inboundSchema: z.ZodType<
|
|
|
98
111
|
|
|
99
112
|
/** @internal */
|
|
100
113
|
export type CustomFieldUpdateCheckbox$Outbound = {
|
|
101
|
-
metadata?: { [k: string]: string | number | boolean } |
|
|
114
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
102
115
|
name?: string | null | undefined;
|
|
103
116
|
slug?: string | null | undefined;
|
|
104
117
|
type: "checkbox";
|
|
@@ -111,9 +124,8 @@ export const CustomFieldUpdateCheckbox$outboundSchema: z.ZodType<
|
|
|
111
124
|
z.ZodTypeDef,
|
|
112
125
|
CustomFieldUpdateCheckbox
|
|
113
126
|
> = z.object({
|
|
114
|
-
metadata: z.
|
|
115
|
-
|
|
116
|
-
).optional(),
|
|
127
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
128
|
+
.optional(),
|
|
117
129
|
name: z.nullable(z.string()).optional(),
|
|
118
130
|
slug: z.nullable(z.string()).optional(),
|
|
119
131
|
type: z.literal("checkbox").default("checkbox" as const),
|
|
@@ -19,7 +19,21 @@ export type CustomFieldUpdateDateMetadata = string | number | boolean;
|
|
|
19
19
|
* Schema to update a custom field of type date.
|
|
20
20
|
*/
|
|
21
21
|
export type CustomFieldUpdateDate = {
|
|
22
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Key-value object allowing you to store additional information.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
*
|
|
27
|
+
* The key must be a string with a maximum length of **40 characters**.
|
|
28
|
+
* The value must be either:
|
|
29
|
+
*
|
|
30
|
+
* * A string with a maximum length of **500 characters**
|
|
31
|
+
* * An integer
|
|
32
|
+
* * A boolean
|
|
33
|
+
*
|
|
34
|
+
* You can store up to **50 key-value pairs**.
|
|
35
|
+
*/
|
|
36
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
23
37
|
name?: string | null | undefined;
|
|
24
38
|
slug?: string | null | undefined;
|
|
25
39
|
type?: "date" | undefined;
|
|
@@ -82,9 +96,8 @@ export const CustomFieldUpdateDate$inboundSchema: z.ZodType<
|
|
|
82
96
|
z.ZodTypeDef,
|
|
83
97
|
unknown
|
|
84
98
|
> = z.object({
|
|
85
|
-
metadata: z.
|
|
86
|
-
|
|
87
|
-
).optional(),
|
|
99
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
100
|
+
.optional(),
|
|
88
101
|
name: z.nullable(z.string()).optional(),
|
|
89
102
|
slug: z.nullable(z.string()).optional(),
|
|
90
103
|
type: z.literal("date").optional(),
|
|
@@ -93,7 +106,7 @@ export const CustomFieldUpdateDate$inboundSchema: z.ZodType<
|
|
|
93
106
|
|
|
94
107
|
/** @internal */
|
|
95
108
|
export type CustomFieldUpdateDate$Outbound = {
|
|
96
|
-
metadata?: { [k: string]: string | number | boolean } |
|
|
109
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
97
110
|
name?: string | null | undefined;
|
|
98
111
|
slug?: string | null | undefined;
|
|
99
112
|
type: "date";
|
|
@@ -106,9 +119,8 @@ export const CustomFieldUpdateDate$outboundSchema: z.ZodType<
|
|
|
106
119
|
z.ZodTypeDef,
|
|
107
120
|
CustomFieldUpdateDate
|
|
108
121
|
> = z.object({
|
|
109
|
-
metadata: z.
|
|
110
|
-
|
|
111
|
-
).optional(),
|
|
122
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
123
|
+
.optional(),
|
|
112
124
|
name: z.nullable(z.string()).optional(),
|
|
113
125
|
slug: z.nullable(z.string()).optional(),
|
|
114
126
|
type: z.literal("date").default("date" as const),
|
|
@@ -19,7 +19,21 @@ export type CustomFieldUpdateNumberMetadata = string | number | boolean;
|
|
|
19
19
|
* Schema to update a custom field of type number.
|
|
20
20
|
*/
|
|
21
21
|
export type CustomFieldUpdateNumber = {
|
|
22
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Key-value object allowing you to store additional information.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
*
|
|
27
|
+
* The key must be a string with a maximum length of **40 characters**.
|
|
28
|
+
* The value must be either:
|
|
29
|
+
*
|
|
30
|
+
* * A string with a maximum length of **500 characters**
|
|
31
|
+
* * An integer
|
|
32
|
+
* * A boolean
|
|
33
|
+
*
|
|
34
|
+
* You can store up to **50 key-value pairs**.
|
|
35
|
+
*/
|
|
36
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
23
37
|
name?: string | null | undefined;
|
|
24
38
|
slug?: string | null | undefined;
|
|
25
39
|
type?: "number" | undefined;
|
|
@@ -85,9 +99,8 @@ export const CustomFieldUpdateNumber$inboundSchema: z.ZodType<
|
|
|
85
99
|
z.ZodTypeDef,
|
|
86
100
|
unknown
|
|
87
101
|
> = z.object({
|
|
88
|
-
metadata: z.
|
|
89
|
-
|
|
90
|
-
).optional(),
|
|
102
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
103
|
+
.optional(),
|
|
91
104
|
name: z.nullable(z.string()).optional(),
|
|
92
105
|
slug: z.nullable(z.string()).optional(),
|
|
93
106
|
type: z.literal("number").optional(),
|
|
@@ -96,7 +109,7 @@ export const CustomFieldUpdateNumber$inboundSchema: z.ZodType<
|
|
|
96
109
|
|
|
97
110
|
/** @internal */
|
|
98
111
|
export type CustomFieldUpdateNumber$Outbound = {
|
|
99
|
-
metadata?: { [k: string]: string | number | boolean } |
|
|
112
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
100
113
|
name?: string | null | undefined;
|
|
101
114
|
slug?: string | null | undefined;
|
|
102
115
|
type: "number";
|
|
@@ -109,9 +122,8 @@ export const CustomFieldUpdateNumber$outboundSchema: z.ZodType<
|
|
|
109
122
|
z.ZodTypeDef,
|
|
110
123
|
CustomFieldUpdateNumber
|
|
111
124
|
> = z.object({
|
|
112
|
-
metadata: z.
|
|
113
|
-
|
|
114
|
-
).optional(),
|
|
125
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
126
|
+
.optional(),
|
|
115
127
|
name: z.nullable(z.string()).optional(),
|
|
116
128
|
slug: z.nullable(z.string()).optional(),
|
|
117
129
|
type: z.literal("number").default("number" as const),
|
|
@@ -19,7 +19,21 @@ export type CustomFieldUpdateSelectMetadata = string | number | boolean;
|
|
|
19
19
|
* Schema to update a custom field of type select.
|
|
20
20
|
*/
|
|
21
21
|
export type CustomFieldUpdateSelect = {
|
|
22
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Key-value object allowing you to store additional information.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
*
|
|
27
|
+
* The key must be a string with a maximum length of **40 characters**.
|
|
28
|
+
* The value must be either:
|
|
29
|
+
*
|
|
30
|
+
* * A string with a maximum length of **500 characters**
|
|
31
|
+
* * An integer
|
|
32
|
+
* * A boolean
|
|
33
|
+
*
|
|
34
|
+
* You can store up to **50 key-value pairs**.
|
|
35
|
+
*/
|
|
36
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
23
37
|
name?: string | null | undefined;
|
|
24
38
|
slug?: string | null | undefined;
|
|
25
39
|
type?: "select" | undefined;
|
|
@@ -85,9 +99,8 @@ export const CustomFieldUpdateSelect$inboundSchema: z.ZodType<
|
|
|
85
99
|
z.ZodTypeDef,
|
|
86
100
|
unknown
|
|
87
101
|
> = z.object({
|
|
88
|
-
metadata: z.
|
|
89
|
-
|
|
90
|
-
).optional(),
|
|
102
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
103
|
+
.optional(),
|
|
91
104
|
name: z.nullable(z.string()).optional(),
|
|
92
105
|
slug: z.nullable(z.string()).optional(),
|
|
93
106
|
type: z.literal("select").optional(),
|
|
@@ -96,7 +109,7 @@ export const CustomFieldUpdateSelect$inboundSchema: z.ZodType<
|
|
|
96
109
|
|
|
97
110
|
/** @internal */
|
|
98
111
|
export type CustomFieldUpdateSelect$Outbound = {
|
|
99
|
-
metadata?: { [k: string]: string | number | boolean } |
|
|
112
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
100
113
|
name?: string | null | undefined;
|
|
101
114
|
slug?: string | null | undefined;
|
|
102
115
|
type: "select";
|
|
@@ -109,9 +122,8 @@ export const CustomFieldUpdateSelect$outboundSchema: z.ZodType<
|
|
|
109
122
|
z.ZodTypeDef,
|
|
110
123
|
CustomFieldUpdateSelect
|
|
111
124
|
> = z.object({
|
|
112
|
-
metadata: z.
|
|
113
|
-
|
|
114
|
-
).optional(),
|
|
125
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
126
|
+
.optional(),
|
|
115
127
|
name: z.nullable(z.string()).optional(),
|
|
116
128
|
slug: z.nullable(z.string()).optional(),
|
|
117
129
|
type: z.literal("select").default("select" as const),
|
|
@@ -19,7 +19,21 @@ export type CustomFieldUpdateTextMetadata = string | number | boolean;
|
|
|
19
19
|
* Schema to update a custom field of type text.
|
|
20
20
|
*/
|
|
21
21
|
export type CustomFieldUpdateText = {
|
|
22
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Key-value object allowing you to store additional information.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
*
|
|
27
|
+
* The key must be a string with a maximum length of **40 characters**.
|
|
28
|
+
* The value must be either:
|
|
29
|
+
*
|
|
30
|
+
* * A string with a maximum length of **500 characters**
|
|
31
|
+
* * An integer
|
|
32
|
+
* * A boolean
|
|
33
|
+
*
|
|
34
|
+
* You can store up to **50 key-value pairs**.
|
|
35
|
+
*/
|
|
36
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
23
37
|
name?: string | null | undefined;
|
|
24
38
|
slug?: string | null | undefined;
|
|
25
39
|
type?: "text" | undefined;
|
|
@@ -82,9 +96,8 @@ export const CustomFieldUpdateText$inboundSchema: z.ZodType<
|
|
|
82
96
|
z.ZodTypeDef,
|
|
83
97
|
unknown
|
|
84
98
|
> = z.object({
|
|
85
|
-
metadata: z.
|
|
86
|
-
|
|
87
|
-
).optional(),
|
|
99
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
100
|
+
.optional(),
|
|
88
101
|
name: z.nullable(z.string()).optional(),
|
|
89
102
|
slug: z.nullable(z.string()).optional(),
|
|
90
103
|
type: z.literal("text").optional(),
|
|
@@ -93,7 +106,7 @@ export const CustomFieldUpdateText$inboundSchema: z.ZodType<
|
|
|
93
106
|
|
|
94
107
|
/** @internal */
|
|
95
108
|
export type CustomFieldUpdateText$Outbound = {
|
|
96
|
-
metadata?: { [k: string]: string | number | boolean } |
|
|
109
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
97
110
|
name?: string | null | undefined;
|
|
98
111
|
slug?: string | null | undefined;
|
|
99
112
|
type: "text";
|
|
@@ -106,9 +119,8 @@ export const CustomFieldUpdateText$outboundSchema: z.ZodType<
|
|
|
106
119
|
z.ZodTypeDef,
|
|
107
120
|
CustomFieldUpdateText
|
|
108
121
|
> = z.object({
|
|
109
|
-
metadata: z.
|
|
110
|
-
|
|
111
|
-
).optional(),
|
|
122
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
123
|
+
.optional(),
|
|
112
124
|
name: z.nullable(z.string()).optional(),
|
|
113
125
|
slug: z.nullable(z.string()).optional(),
|
|
114
126
|
type: z.literal("text").default("text" as const),
|
|
@@ -24,7 +24,21 @@ export type DiscountUpdateMetadata = string | number | boolean;
|
|
|
24
24
|
* Schema to update a discount.
|
|
25
25
|
*/
|
|
26
26
|
export type DiscountUpdate = {
|
|
27
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Key-value object allowing you to store additional information.
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
*
|
|
32
|
+
* The key must be a string with a maximum length of **40 characters**.
|
|
33
|
+
* The value must be either:
|
|
34
|
+
*
|
|
35
|
+
* * A string with a maximum length of **500 characters**
|
|
36
|
+
* * An integer
|
|
37
|
+
* * A boolean
|
|
38
|
+
*
|
|
39
|
+
* You can store up to **50 key-value pairs**.
|
|
40
|
+
*/
|
|
41
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
28
42
|
name?: string | null | undefined;
|
|
29
43
|
code?: string | null | undefined;
|
|
30
44
|
startsAt?: Date | null | undefined;
|
|
@@ -93,9 +107,8 @@ export const DiscountUpdate$inboundSchema: z.ZodType<
|
|
|
93
107
|
z.ZodTypeDef,
|
|
94
108
|
unknown
|
|
95
109
|
> = z.object({
|
|
96
|
-
metadata: z.
|
|
97
|
-
|
|
98
|
-
).optional(),
|
|
110
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
111
|
+
.optional(),
|
|
99
112
|
name: z.nullable(z.string()).optional(),
|
|
100
113
|
code: z.nullable(z.string()).optional(),
|
|
101
114
|
starts_at: z.nullable(
|
|
@@ -124,7 +137,7 @@ export const DiscountUpdate$inboundSchema: z.ZodType<
|
|
|
124
137
|
|
|
125
138
|
/** @internal */
|
|
126
139
|
export type DiscountUpdate$Outbound = {
|
|
127
|
-
metadata?: { [k: string]: string | number | boolean } |
|
|
140
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
128
141
|
name?: string | null | undefined;
|
|
129
142
|
code?: string | null | undefined;
|
|
130
143
|
starts_at?: string | null | undefined;
|
|
@@ -145,9 +158,8 @@ export const DiscountUpdate$outboundSchema: z.ZodType<
|
|
|
145
158
|
z.ZodTypeDef,
|
|
146
159
|
DiscountUpdate
|
|
147
160
|
> = z.object({
|
|
148
|
-
metadata: z.
|
|
149
|
-
|
|
150
|
-
).optional(),
|
|
161
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
162
|
+
.optional(),
|
|
151
163
|
name: z.nullable(z.string()).optional(),
|
|
152
164
|
code: z.nullable(z.string()).optional(),
|
|
153
165
|
startsAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
@@ -35,7 +35,21 @@ export type Aggregation =
|
|
|
35
35
|
| (PropertyAggregation & { func: "sum" });
|
|
36
36
|
|
|
37
37
|
export type MeterUpdate = {
|
|
38
|
-
|
|
38
|
+
/**
|
|
39
|
+
* Key-value object allowing you to store additional information.
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
*
|
|
43
|
+
* The key must be a string with a maximum length of **40 characters**.
|
|
44
|
+
* The value must be either:
|
|
45
|
+
*
|
|
46
|
+
* * A string with a maximum length of **500 characters**
|
|
47
|
+
* * An integer
|
|
48
|
+
* * A boolean
|
|
49
|
+
*
|
|
50
|
+
* You can store up to **50 key-value pairs**.
|
|
51
|
+
*/
|
|
52
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
39
53
|
/**
|
|
40
54
|
* The name of the meter. Will be shown on customer's invoices and usage.
|
|
41
55
|
*/
|
|
@@ -192,9 +206,8 @@ export const MeterUpdate$inboundSchema: z.ZodType<
|
|
|
192
206
|
z.ZodTypeDef,
|
|
193
207
|
unknown
|
|
194
208
|
> = z.object({
|
|
195
|
-
metadata: z.
|
|
196
|
-
|
|
197
|
-
).optional(),
|
|
209
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
210
|
+
.optional(),
|
|
198
211
|
name: z.nullable(z.string()).optional(),
|
|
199
212
|
filter: z.nullable(Filter$inboundSchema).optional(),
|
|
200
213
|
aggregation: z.nullable(
|
|
@@ -230,7 +243,7 @@ export const MeterUpdate$inboundSchema: z.ZodType<
|
|
|
230
243
|
|
|
231
244
|
/** @internal */
|
|
232
245
|
export type MeterUpdate$Outbound = {
|
|
233
|
-
metadata?: { [k: string]: string | number | boolean } |
|
|
246
|
+
metadata?: { [k: string]: string | number | boolean } | undefined;
|
|
234
247
|
name?: string | null | undefined;
|
|
235
248
|
filter?: Filter$Outbound | null | undefined;
|
|
236
249
|
aggregation?:
|
|
@@ -249,9 +262,8 @@ export const MeterUpdate$outboundSchema: z.ZodType<
|
|
|
249
262
|
z.ZodTypeDef,
|
|
250
263
|
MeterUpdate
|
|
251
264
|
> = z.object({
|
|
252
|
-
metadata: z.
|
|
253
|
-
|
|
254
|
-
).optional(),
|
|
265
|
+
metadata: z.record(z.union([z.string(), z.number().int(), z.boolean()]))
|
|
266
|
+
.optional(),
|
|
255
267
|
name: z.nullable(z.string()).optional(),
|
|
256
268
|
filter: z.nullable(Filter$outboundSchema).optional(),
|
|
257
269
|
aggregation: z.nullable(
|
|
@@ -31,6 +31,12 @@ import {
|
|
|
31
31
|
ProductPriceFreeCreate$Outbound,
|
|
32
32
|
ProductPriceFreeCreate$outboundSchema,
|
|
33
33
|
} from "./productpricefreecreate.js";
|
|
34
|
+
import {
|
|
35
|
+
ProductPriceMeteredUnitCreate,
|
|
36
|
+
ProductPriceMeteredUnitCreate$inboundSchema,
|
|
37
|
+
ProductPriceMeteredUnitCreate$Outbound,
|
|
38
|
+
ProductPriceMeteredUnitCreate$outboundSchema,
|
|
39
|
+
} from "./productpricemeteredunitcreate.js";
|
|
34
40
|
import {
|
|
35
41
|
SubscriptionRecurringInterval,
|
|
36
42
|
SubscriptionRecurringInterval$inboundSchema,
|
|
@@ -42,7 +48,8 @@ export type ProductCreateMetadata = string | number | boolean;
|
|
|
42
48
|
export type ProductCreatePrices =
|
|
43
49
|
| ProductPriceFreeCreate
|
|
44
50
|
| ProductPriceFixedCreate
|
|
45
|
-
| ProductPriceCustomCreate
|
|
51
|
+
| ProductPriceCustomCreate
|
|
52
|
+
| ProductPriceMeteredUnitCreate;
|
|
46
53
|
|
|
47
54
|
/**
|
|
48
55
|
* Schema to create a product.
|
|
@@ -79,7 +86,10 @@ export type ProductCreate = {
|
|
|
79
86
|
* List of available prices for this product. Currently, only a single price is supported.
|
|
80
87
|
*/
|
|
81
88
|
prices: Array<
|
|
82
|
-
|
|
89
|
+
| ProductPriceFreeCreate
|
|
90
|
+
| ProductPriceFixedCreate
|
|
91
|
+
| ProductPriceCustomCreate
|
|
92
|
+
| ProductPriceMeteredUnitCreate
|
|
83
93
|
>;
|
|
84
94
|
/**
|
|
85
95
|
* List of file IDs. Each one must be on the same organization as the product, of type `product_media` and correctly uploaded.
|
|
@@ -152,13 +162,15 @@ export const ProductCreatePrices$inboundSchema: z.ZodType<
|
|
|
152
162
|
ProductPriceFreeCreate$inboundSchema,
|
|
153
163
|
ProductPriceFixedCreate$inboundSchema,
|
|
154
164
|
ProductPriceCustomCreate$inboundSchema,
|
|
165
|
+
ProductPriceMeteredUnitCreate$inboundSchema,
|
|
155
166
|
]);
|
|
156
167
|
|
|
157
168
|
/** @internal */
|
|
158
169
|
export type ProductCreatePrices$Outbound =
|
|
159
170
|
| ProductPriceFreeCreate$Outbound
|
|
160
171
|
| ProductPriceFixedCreate$Outbound
|
|
161
|
-
| ProductPriceCustomCreate$Outbound
|
|
172
|
+
| ProductPriceCustomCreate$Outbound
|
|
173
|
+
| ProductPriceMeteredUnitCreate$Outbound;
|
|
162
174
|
|
|
163
175
|
/** @internal */
|
|
164
176
|
export const ProductCreatePrices$outboundSchema: z.ZodType<
|
|
@@ -169,6 +181,7 @@ export const ProductCreatePrices$outboundSchema: z.ZodType<
|
|
|
169
181
|
ProductPriceFreeCreate$outboundSchema,
|
|
170
182
|
ProductPriceFixedCreate$outboundSchema,
|
|
171
183
|
ProductPriceCustomCreate$outboundSchema,
|
|
184
|
+
ProductPriceMeteredUnitCreate$outboundSchema,
|
|
172
185
|
]);
|
|
173
186
|
|
|
174
187
|
/**
|
|
@@ -218,6 +231,7 @@ export const ProductCreate$inboundSchema: z.ZodType<
|
|
|
218
231
|
ProductPriceFreeCreate$inboundSchema,
|
|
219
232
|
ProductPriceFixedCreate$inboundSchema,
|
|
220
233
|
ProductPriceCustomCreate$inboundSchema,
|
|
234
|
+
ProductPriceMeteredUnitCreate$inboundSchema,
|
|
221
235
|
]),
|
|
222
236
|
),
|
|
223
237
|
medias: z.nullable(z.array(z.string())).optional(),
|
|
@@ -242,6 +256,7 @@ export type ProductCreate$Outbound = {
|
|
|
242
256
|
| ProductPriceFreeCreate$Outbound
|
|
243
257
|
| ProductPriceFixedCreate$Outbound
|
|
244
258
|
| ProductPriceCustomCreate$Outbound
|
|
259
|
+
| ProductPriceMeteredUnitCreate$Outbound
|
|
245
260
|
>;
|
|
246
261
|
medias?: Array<string> | null | undefined;
|
|
247
262
|
attached_custom_fields?:
|
|
@@ -266,6 +281,7 @@ export const ProductCreate$outboundSchema: z.ZodType<
|
|
|
266
281
|
ProductPriceFreeCreate$outboundSchema,
|
|
267
282
|
ProductPriceFixedCreate$outboundSchema,
|
|
268
283
|
ProductPriceCustomCreate$outboundSchema,
|
|
284
|
+
ProductPriceMeteredUnitCreate$outboundSchema,
|
|
269
285
|
]),
|
|
270
286
|
),
|
|
271
287
|
medias: z.nullable(z.array(z.string())).optional(),
|
|
@@ -54,6 +54,10 @@ export type ProductPriceMeteredUnit = {
|
|
|
54
54
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
55
55
|
*/
|
|
56
56
|
recurringInterval: SubscriptionRecurringInterval | null;
|
|
57
|
+
/**
|
|
58
|
+
* The currency.
|
|
59
|
+
*/
|
|
60
|
+
priceCurrency: string;
|
|
57
61
|
/**
|
|
58
62
|
* The price per unit in cents.
|
|
59
63
|
*/
|
|
@@ -92,6 +96,7 @@ export const ProductPriceMeteredUnit$inboundSchema: z.ZodType<
|
|
|
92
96
|
product_id: z.string(),
|
|
93
97
|
type: ProductPriceType$inboundSchema,
|
|
94
98
|
recurring_interval: z.nullable(SubscriptionRecurringInterval$inboundSchema),
|
|
99
|
+
price_currency: z.string(),
|
|
95
100
|
unit_amount: z.number().int(),
|
|
96
101
|
included_units: z.number().int(),
|
|
97
102
|
cap_amount: z.nullable(z.number().int()),
|
|
@@ -105,6 +110,7 @@ export const ProductPriceMeteredUnit$inboundSchema: z.ZodType<
|
|
|
105
110
|
"is_archived": "isArchived",
|
|
106
111
|
"product_id": "productId",
|
|
107
112
|
"recurring_interval": "recurringInterval",
|
|
113
|
+
"price_currency": "priceCurrency",
|
|
108
114
|
"unit_amount": "unitAmount",
|
|
109
115
|
"included_units": "includedUnits",
|
|
110
116
|
"cap_amount": "capAmount",
|
|
@@ -122,6 +128,7 @@ export type ProductPriceMeteredUnit$Outbound = {
|
|
|
122
128
|
product_id: string;
|
|
123
129
|
type: string;
|
|
124
130
|
recurring_interval: string | null;
|
|
131
|
+
price_currency: string;
|
|
125
132
|
unit_amount: number;
|
|
126
133
|
included_units: number;
|
|
127
134
|
cap_amount: number | null;
|
|
@@ -143,6 +150,7 @@ export const ProductPriceMeteredUnit$outboundSchema: z.ZodType<
|
|
|
143
150
|
productId: z.string(),
|
|
144
151
|
type: ProductPriceType$outboundSchema,
|
|
145
152
|
recurringInterval: z.nullable(SubscriptionRecurringInterval$outboundSchema),
|
|
153
|
+
priceCurrency: z.string(),
|
|
146
154
|
unitAmount: z.number().int(),
|
|
147
155
|
includedUnits: z.number().int(),
|
|
148
156
|
capAmount: z.nullable(z.number().int()),
|
|
@@ -156,6 +164,7 @@ export const ProductPriceMeteredUnit$outboundSchema: z.ZodType<
|
|
|
156
164
|
isArchived: "is_archived",
|
|
157
165
|
productId: "product_id",
|
|
158
166
|
recurringInterval: "recurring_interval",
|
|
167
|
+
priceCurrency: "price_currency",
|
|
159
168
|
unitAmount: "unit_amount",
|
|
160
169
|
includedUnits: "included_units",
|
|
161
170
|
capAmount: "cap_amount",
|