@polar-sh/sdk 0.35.4 → 0.36.1
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 +43 -23
- package/RUNTIMES.md +6 -6
- package/bin/mcp-server.js +107 -51
- package/bin/mcp-server.js.map +44 -42
- package/dist/commonjs/funcs/benefitGrantsList.js +1 -1
- package/dist/commonjs/funcs/benefitGrantsList.js.map +1 -1
- 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 +1 -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/customerMetersGet.js +1 -1
- package/dist/commonjs/funcs/customerMetersGet.js.map +1 -1
- package/dist/commonjs/funcs/customerMetersList.js +1 -1
- package/dist/commonjs/funcs/customerMetersList.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/customerPortalLicenseKeysValidate.js +1 -1
- package/dist/commonjs/funcs/customerPortalLicenseKeysValidate.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/customerPortalSeatsAssignSeat.d.ts +20 -0
- package/dist/commonjs/funcs/customerPortalSeatsAssignSeat.d.ts.map +1 -0
- package/dist/commonjs/funcs/customerPortalSeatsAssignSeat.js +123 -0
- package/dist/commonjs/funcs/customerPortalSeatsAssignSeat.js.map +1 -0
- package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts +20 -0
- package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts.map +1 -0
- package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.js +111 -0
- package/dist/commonjs/funcs/customerPortalSeatsListClaimedSubscriptions.js.map +1 -0
- package/dist/commonjs/funcs/customerPortalSeatsListSeats.d.ts +19 -0
- package/dist/commonjs/funcs/customerPortalSeatsListSeats.d.ts.map +1 -0
- package/dist/commonjs/funcs/customerPortalSeatsListSeats.js +126 -0
- package/dist/commonjs/funcs/customerPortalSeatsListSeats.js.map +1 -0
- package/dist/commonjs/funcs/customerPortalSeatsResendInvitation.d.ts +19 -0
- package/dist/commonjs/funcs/customerPortalSeatsResendInvitation.d.ts.map +1 -0
- package/dist/commonjs/funcs/customerPortalSeatsResendInvitation.js +128 -0
- package/dist/commonjs/funcs/customerPortalSeatsResendInvitation.js.map +1 -0
- package/dist/commonjs/funcs/customerPortalSeatsRevokeSeat.d.ts +19 -0
- package/dist/commonjs/funcs/customerPortalSeatsRevokeSeat.d.ts.map +1 -0
- package/dist/commonjs/funcs/customerPortalSeatsRevokeSeat.js +128 -0
- package/dist/commonjs/funcs/customerPortalSeatsRevokeSeat.js.map +1 -0
- 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/customersExport.js +1 -1
- package/dist/commonjs/funcs/customersExport.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/customersGetBalance.js +1 -1
- package/dist/commonjs/funcs/customersGetBalance.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/eventsListNames.js +1 -1
- package/dist/commonjs/funcs/eventsListNames.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/licenseKeysActivate.js +1 -1
- package/dist/commonjs/funcs/licenseKeysActivate.js.map +1 -1
- package/dist/commonjs/funcs/licenseKeysDeactivate.js +1 -1
- package/dist/commonjs/funcs/licenseKeysDeactivate.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/licenseKeysValidate.js +1 -1
- package/dist/commonjs/funcs/licenseKeysValidate.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/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.d.ts +18 -0
- package/dist/commonjs/funcs/oauth2ClientsCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/oauth2ClientsCreate.js +119 -0
- package/dist/commonjs/funcs/oauth2ClientsCreate.js.map +1 -0
- package/dist/commonjs/funcs/oauth2ClientsDelete.d.ts +18 -0
- package/dist/commonjs/funcs/oauth2ClientsDelete.d.ts.map +1 -0
- package/dist/commonjs/funcs/oauth2ClientsDelete.js +124 -0
- package/dist/commonjs/funcs/oauth2ClientsDelete.js.map +1 -0
- package/dist/commonjs/funcs/oauth2ClientsGet.d.ts +18 -0
- package/dist/commonjs/funcs/oauth2ClientsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/oauth2ClientsGet.js +124 -0
- package/dist/commonjs/funcs/oauth2ClientsGet.js.map +1 -0
- package/dist/commonjs/funcs/oauth2ClientsUpdate.d.ts +18 -0
- package/dist/commonjs/funcs/oauth2ClientsUpdate.d.ts.map +1 -0
- package/dist/commonjs/funcs/oauth2ClientsUpdate.js +127 -0
- package/dist/commonjs/funcs/oauth2ClientsUpdate.js.map +1 -0
- 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/ordersGenerateInvoice.js +1 -1
- package/dist/commonjs/funcs/ordersGenerateInvoice.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/ordersUpdate.js +1 -1
- package/dist/commonjs/funcs/ordersUpdate.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/paymentsGet.js +1 -1
- package/dist/commonjs/funcs/paymentsGet.js.map +1 -1
- package/dist/commonjs/funcs/paymentsList.js +1 -1
- package/dist/commonjs/funcs/paymentsList.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/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/funcs/webhooksCreateWebhookEndpoint.js +1 -1
- package/dist/commonjs/funcs/webhooksCreateWebhookEndpoint.js.map +1 -1
- package/dist/commonjs/funcs/webhooksDeleteWebhookEndpoint.js +1 -1
- package/dist/commonjs/funcs/webhooksDeleteWebhookEndpoint.js.map +1 -1
- package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js +1 -1
- package/dist/commonjs/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
- package/dist/commonjs/funcs/webhooksListWebhookDeliveries.js +1 -1
- package/dist/commonjs/funcs/webhooksListWebhookDeliveries.js.map +1 -1
- package/dist/commonjs/funcs/webhooksListWebhookEndpoints.js +1 -1
- package/dist/commonjs/funcs/webhooksListWebhookEndpoints.js.map +1 -1
- package/dist/commonjs/funcs/webhooksRedeliverWebhookEvent.js +1 -1
- package/dist/commonjs/funcs/webhooksRedeliverWebhookEvent.js.map +1 -1
- package/dist/commonjs/funcs/webhooksResetWebhookEndpointSecret.js +1 -1
- package/dist/commonjs/funcs/webhooksResetWebhookEndpointSecret.js.map +1 -1
- package/dist/commonjs/funcs/webhooksUpdateWebhookEndpoint.js +1 -1
- 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/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/checkout.d.ts +5 -0
- package/dist/commonjs/models/components/checkout.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkout.js +4 -0
- package/dist/commonjs/models/components/checkout.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.d.ts +5 -0
- package/dist/commonjs/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublic.js +4 -0
- package/dist/commonjs/models/components/checkoutpublic.js.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts +5 -0
- package/dist/commonjs/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js +4 -0
- package/dist/commonjs/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/commonjs/models/components/customerorder.d.ts +8 -3
- package/dist/commonjs/models/components/customerorder.d.ts.map +1 -1
- package/dist/commonjs/models/components/customerorder.js +8 -4
- package/dist/commonjs/models/components/customerorder.js.map +1 -1
- package/dist/commonjs/models/components/customerseat.d.ts +84 -0
- package/dist/commonjs/models/components/customerseat.d.ts.map +1 -0
- package/dist/commonjs/models/components/customerseat.js +116 -0
- package/dist/commonjs/models/components/customerseat.js.map +1 -0
- package/dist/commonjs/models/components/discountupdate.d.ts +13 -1
- package/dist/commonjs/models/components/discountupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/discountupdate.js +2 -2
- package/dist/commonjs/models/components/discountupdate.js.map +1 -1
- package/dist/commonjs/models/components/oauth2clientconfiguration.d.ts +101 -0
- package/dist/commonjs/models/components/oauth2clientconfiguration.d.ts.map +1 -0
- package/dist/commonjs/models/components/oauth2clientconfiguration.js +152 -0
- package/dist/commonjs/models/components/oauth2clientconfiguration.js.map +1 -0
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.d.ts +103 -0
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.d.ts.map +1 -0
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.js +160 -0
- package/dist/commonjs/models/components/oauth2clientconfigurationupdate.js.map +1 -0
- package/dist/commonjs/models/components/order.d.ts +8 -3
- package/dist/commonjs/models/components/order.d.ts.map +1 -1
- package/dist/commonjs/models/components/order.js +8 -4
- package/dist/commonjs/models/components/order.js.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbased.d.ts +4 -3
- package/dist/commonjs/models/components/productpriceseatbased.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbased.js +5 -4
- package/dist/commonjs/models/components/productpriceseatbased.js.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbasedcreate.d.ts +5 -4
- package/dist/commonjs/models/components/productpriceseatbasedcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/productpriceseatbasedcreate.js +5 -4
- package/dist/commonjs/models/components/productpriceseatbasedcreate.js.map +1 -1
- package/dist/commonjs/models/components/productpriceseattier.d.ts +45 -0
- package/dist/commonjs/models/components/productpriceseattier.d.ts.map +1 -0
- package/dist/commonjs/models/components/productpriceseattier.js +86 -0
- package/dist/commonjs/models/components/productpriceseattier.js.map +1 -0
- package/dist/commonjs/models/components/productpriceseattiers.d.ts +36 -0
- package/dist/commonjs/models/components/productpriceseattiers.d.ts.map +1 -0
- package/dist/commonjs/models/components/productpriceseattiers.js +70 -0
- package/dist/commonjs/models/components/productpriceseattiers.js.map +1 -0
- package/dist/commonjs/models/components/seatassign.d.ts +61 -0
- package/dist/commonjs/models/components/seatassign.d.ts.map +1 -0
- package/dist/commonjs/models/components/seatassign.js +94 -0
- package/dist/commonjs/models/components/seatassign.js.map +1 -0
- package/dist/commonjs/models/components/seatslist.d.ts +43 -0
- package/dist/commonjs/models/components/seatslist.d.ts.map +1 -0
- package/dist/commonjs/models/components/seatslist.js +85 -0
- package/dist/commonjs/models/components/seatslist.js.map +1 -0
- package/dist/commonjs/models/components/seatstatus.d.ts +31 -0
- package/dist/commonjs/models/components/seatstatus.d.ts.map +1 -0
- package/dist/commonjs/models/components/seatstatus.js +62 -0
- package/dist/commonjs/models/components/seatstatus.js.map +1 -0
- package/dist/commonjs/models/operations/customerportalseatsassignseat.d.ts +29 -0
- package/dist/commonjs/models/operations/customerportalseatsassignseat.d.ts.map +1 -0
- package/dist/commonjs/models/operations/customerportalseatsassignseat.js +78 -0
- package/dist/commonjs/models/operations/customerportalseatsassignseat.js.map +1 -0
- package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.d.ts +29 -0
- package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.d.ts.map +1 -0
- package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.js +78 -0
- package/dist/commonjs/models/operations/customerportalseatslistclaimedsubscriptions.js.map +1 -0
- package/dist/commonjs/models/operations/customerportalseatslistseats.d.ts +57 -0
- package/dist/commonjs/models/operations/customerportalseatslistseats.d.ts.map +1 -0
- package/dist/commonjs/models/operations/customerportalseatslistseats.js +113 -0
- package/dist/commonjs/models/operations/customerportalseatslistseats.js.map +1 -0
- package/dist/commonjs/models/operations/customerportalseatsresendinvitation.d.ts +54 -0
- package/dist/commonjs/models/operations/customerportalseatsresendinvitation.d.ts.map +1 -0
- package/dist/commonjs/models/operations/customerportalseatsresendinvitation.js +113 -0
- package/dist/commonjs/models/operations/customerportalseatsresendinvitation.js.map +1 -0
- package/dist/commonjs/models/operations/customerportalseatsrevokeseat.d.ts +54 -0
- package/dist/commonjs/models/operations/customerportalseatsrevokeseat.d.ts.map +1 -0
- package/dist/commonjs/models/operations/customerportalseatsrevokeseat.js +113 -0
- package/dist/commonjs/models/operations/customerportalseatsrevokeseat.js.map +1 -0
- package/dist/commonjs/models/operations/oauth2clientsoauth2deleteclient.d.ts +29 -0
- package/dist/commonjs/models/operations/oauth2clientsoauth2deleteclient.d.ts.map +1 -0
- package/dist/commonjs/models/operations/oauth2clientsoauth2deleteclient.js +78 -0
- package/dist/commonjs/models/operations/oauth2clientsoauth2deleteclient.js.map +1 -0
- package/dist/commonjs/models/operations/oauth2clientsoauth2getclient.d.ts +29 -0
- package/dist/commonjs/models/operations/oauth2clientsoauth2getclient.d.ts.map +1 -0
- package/dist/commonjs/models/operations/oauth2clientsoauth2getclient.js +78 -0
- package/dist/commonjs/models/operations/oauth2clientsoauth2getclient.js.map +1 -0
- package/dist/commonjs/models/operations/oauth2clientsoauth2updateclient.d.ts +32 -0
- package/dist/commonjs/models/operations/oauth2clientsoauth2updateclient.d.ts.map +1 -0
- package/dist/commonjs/models/operations/oauth2clientsoauth2updateclient.js +83 -0
- package/dist/commonjs/models/operations/oauth2clientsoauth2updateclient.js.map +1 -0
- package/dist/commonjs/sdk/clients.d.ts +36 -0
- package/dist/commonjs/sdk/clients.d.ts.map +1 -0
- package/dist/commonjs/sdk/clients.js +52 -0
- package/dist/commonjs/sdk/clients.js.map +1 -0
- package/dist/commonjs/sdk/customerportal.d.ts +3 -0
- package/dist/commonjs/sdk/customerportal.d.ts.map +1 -1
- package/dist/commonjs/sdk/customerportal.js +4 -0
- package/dist/commonjs/sdk/customerportal.js.map +1 -1
- package/dist/commonjs/sdk/oauth2.d.ts +3 -0
- package/dist/commonjs/sdk/oauth2.d.ts.map +1 -1
- package/dist/commonjs/sdk/oauth2.js +4 -0
- package/dist/commonjs/sdk/oauth2.js.map +1 -1
- package/dist/commonjs/sdk/seats.d.ts +50 -0
- package/dist/commonjs/sdk/seats.d.ts.map +1 -0
- package/dist/commonjs/sdk/seats.js +64 -0
- package/dist/commonjs/sdk/seats.js.map +1 -0
- package/dist/esm/funcs/benefitGrantsList.js +1 -1
- package/dist/esm/funcs/benefitGrantsList.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 +1 -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/customerMetersGet.js +1 -1
- package/dist/esm/funcs/customerMetersGet.js.map +1 -1
- package/dist/esm/funcs/customerMetersList.js +1 -1
- package/dist/esm/funcs/customerMetersList.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/customerPortalLicenseKeysValidate.js +1 -1
- package/dist/esm/funcs/customerPortalLicenseKeysValidate.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/customerPortalSeatsAssignSeat.d.ts +20 -0
- package/dist/esm/funcs/customerPortalSeatsAssignSeat.d.ts.map +1 -0
- package/dist/esm/funcs/customerPortalSeatsAssignSeat.js +87 -0
- package/dist/esm/funcs/customerPortalSeatsAssignSeat.js.map +1 -0
- package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts +20 -0
- package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.d.ts.map +1 -0
- package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.js +75 -0
- package/dist/esm/funcs/customerPortalSeatsListClaimedSubscriptions.js.map +1 -0
- package/dist/esm/funcs/customerPortalSeatsListSeats.d.ts +19 -0
- package/dist/esm/funcs/customerPortalSeatsListSeats.d.ts.map +1 -0
- package/dist/esm/funcs/customerPortalSeatsListSeats.js +90 -0
- package/dist/esm/funcs/customerPortalSeatsListSeats.js.map +1 -0
- package/dist/esm/funcs/customerPortalSeatsResendInvitation.d.ts +19 -0
- package/dist/esm/funcs/customerPortalSeatsResendInvitation.d.ts.map +1 -0
- package/dist/esm/funcs/customerPortalSeatsResendInvitation.js +92 -0
- package/dist/esm/funcs/customerPortalSeatsResendInvitation.js.map +1 -0
- package/dist/esm/funcs/customerPortalSeatsRevokeSeat.d.ts +19 -0
- package/dist/esm/funcs/customerPortalSeatsRevokeSeat.d.ts.map +1 -0
- package/dist/esm/funcs/customerPortalSeatsRevokeSeat.js +92 -0
- package/dist/esm/funcs/customerPortalSeatsRevokeSeat.js.map +1 -0
- 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/customersExport.js +1 -1
- package/dist/esm/funcs/customersExport.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/customersGetBalance.js +1 -1
- package/dist/esm/funcs/customersGetBalance.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/eventsListNames.js +1 -1
- package/dist/esm/funcs/eventsListNames.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/licenseKeysActivate.js +1 -1
- package/dist/esm/funcs/licenseKeysActivate.js.map +1 -1
- package/dist/esm/funcs/licenseKeysDeactivate.js +1 -1
- package/dist/esm/funcs/licenseKeysDeactivate.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/licenseKeysValidate.js +1 -1
- package/dist/esm/funcs/licenseKeysValidate.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/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.d.ts +18 -0
- package/dist/esm/funcs/oauth2ClientsCreate.d.ts.map +1 -0
- package/dist/esm/funcs/oauth2ClientsCreate.js +83 -0
- package/dist/esm/funcs/oauth2ClientsCreate.js.map +1 -0
- package/dist/esm/funcs/oauth2ClientsDelete.d.ts +18 -0
- package/dist/esm/funcs/oauth2ClientsDelete.d.ts.map +1 -0
- package/dist/esm/funcs/oauth2ClientsDelete.js +88 -0
- package/dist/esm/funcs/oauth2ClientsDelete.js.map +1 -0
- package/dist/esm/funcs/oauth2ClientsGet.d.ts +18 -0
- package/dist/esm/funcs/oauth2ClientsGet.d.ts.map +1 -0
- package/dist/esm/funcs/oauth2ClientsGet.js +88 -0
- package/dist/esm/funcs/oauth2ClientsGet.js.map +1 -0
- package/dist/esm/funcs/oauth2ClientsUpdate.d.ts +18 -0
- package/dist/esm/funcs/oauth2ClientsUpdate.d.ts.map +1 -0
- package/dist/esm/funcs/oauth2ClientsUpdate.js +91 -0
- package/dist/esm/funcs/oauth2ClientsUpdate.js.map +1 -0
- 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/ordersGenerateInvoice.js +1 -1
- package/dist/esm/funcs/ordersGenerateInvoice.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/ordersUpdate.js +1 -1
- package/dist/esm/funcs/ordersUpdate.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/paymentsGet.js +1 -1
- package/dist/esm/funcs/paymentsGet.js.map +1 -1
- package/dist/esm/funcs/paymentsList.js +1 -1
- package/dist/esm/funcs/paymentsList.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/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/funcs/webhooksCreateWebhookEndpoint.js +1 -1
- package/dist/esm/funcs/webhooksCreateWebhookEndpoint.js.map +1 -1
- package/dist/esm/funcs/webhooksDeleteWebhookEndpoint.js +1 -1
- package/dist/esm/funcs/webhooksDeleteWebhookEndpoint.js.map +1 -1
- package/dist/esm/funcs/webhooksGetWebhookEndpoint.js +1 -1
- package/dist/esm/funcs/webhooksGetWebhookEndpoint.js.map +1 -1
- package/dist/esm/funcs/webhooksListWebhookDeliveries.js +1 -1
- package/dist/esm/funcs/webhooksListWebhookDeliveries.js.map +1 -1
- package/dist/esm/funcs/webhooksListWebhookEndpoints.js +1 -1
- package/dist/esm/funcs/webhooksListWebhookEndpoints.js.map +1 -1
- package/dist/esm/funcs/webhooksRedeliverWebhookEvent.js +1 -1
- package/dist/esm/funcs/webhooksRedeliverWebhookEvent.js.map +1 -1
- package/dist/esm/funcs/webhooksResetWebhookEndpointSecret.js +1 -1
- package/dist/esm/funcs/webhooksResetWebhookEndpointSecret.js.map +1 -1
- package/dist/esm/funcs/webhooksUpdateWebhookEndpoint.js +1 -1
- 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/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/checkout.d.ts +5 -0
- package/dist/esm/models/components/checkout.d.ts.map +1 -1
- package/dist/esm/models/components/checkout.js +4 -0
- package/dist/esm/models/components/checkout.js.map +1 -1
- package/dist/esm/models/components/checkoutpublic.d.ts +5 -0
- package/dist/esm/models/components/checkoutpublic.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublic.js +4 -0
- package/dist/esm/models/components/checkoutpublic.js.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts +5 -0
- package/dist/esm/models/components/checkoutpublicconfirmed.d.ts.map +1 -1
- package/dist/esm/models/components/checkoutpublicconfirmed.js +4 -0
- package/dist/esm/models/components/checkoutpublicconfirmed.js.map +1 -1
- package/dist/esm/models/components/customerorder.d.ts +8 -3
- package/dist/esm/models/components/customerorder.d.ts.map +1 -1
- package/dist/esm/models/components/customerorder.js +8 -4
- package/dist/esm/models/components/customerorder.js.map +1 -1
- package/dist/esm/models/components/customerseat.d.ts +84 -0
- package/dist/esm/models/components/customerseat.d.ts.map +1 -0
- package/dist/esm/models/components/customerseat.js +78 -0
- package/dist/esm/models/components/customerseat.js.map +1 -0
- package/dist/esm/models/components/discountupdate.d.ts +13 -1
- package/dist/esm/models/components/discountupdate.d.ts.map +1 -1
- package/dist/esm/models/components/discountupdate.js +2 -2
- package/dist/esm/models/components/discountupdate.js.map +1 -1
- package/dist/esm/models/components/oauth2clientconfiguration.d.ts +101 -0
- package/dist/esm/models/components/oauth2clientconfiguration.d.ts.map +1 -0
- package/dist/esm/models/components/oauth2clientconfiguration.js +114 -0
- package/dist/esm/models/components/oauth2clientconfiguration.js.map +1 -0
- package/dist/esm/models/components/oauth2clientconfigurationupdate.d.ts +103 -0
- package/dist/esm/models/components/oauth2clientconfigurationupdate.d.ts.map +1 -0
- package/dist/esm/models/components/oauth2clientconfigurationupdate.js +122 -0
- package/dist/esm/models/components/oauth2clientconfigurationupdate.js.map +1 -0
- package/dist/esm/models/components/order.d.ts +8 -3
- package/dist/esm/models/components/order.d.ts.map +1 -1
- package/dist/esm/models/components/order.js +8 -4
- package/dist/esm/models/components/order.js.map +1 -1
- package/dist/esm/models/components/productpriceseatbased.d.ts +4 -3
- package/dist/esm/models/components/productpriceseatbased.d.ts.map +1 -1
- package/dist/esm/models/components/productpriceseatbased.js +5 -4
- package/dist/esm/models/components/productpriceseatbased.js.map +1 -1
- package/dist/esm/models/components/productpriceseatbasedcreate.d.ts +5 -4
- package/dist/esm/models/components/productpriceseatbasedcreate.d.ts.map +1 -1
- package/dist/esm/models/components/productpriceseatbasedcreate.js +5 -4
- package/dist/esm/models/components/productpriceseatbasedcreate.js.map +1 -1
- package/dist/esm/models/components/productpriceseattier.d.ts +45 -0
- package/dist/esm/models/components/productpriceseattier.d.ts.map +1 -0
- package/dist/esm/models/components/productpriceseattier.js +48 -0
- package/dist/esm/models/components/productpriceseattier.js.map +1 -0
- package/dist/esm/models/components/productpriceseattiers.d.ts +36 -0
- package/dist/esm/models/components/productpriceseattiers.d.ts.map +1 -0
- package/dist/esm/models/components/productpriceseattiers.js +32 -0
- package/dist/esm/models/components/productpriceseattiers.js.map +1 -0
- package/dist/esm/models/components/seatassign.d.ts +61 -0
- package/dist/esm/models/components/seatassign.d.ts.map +1 -0
- package/dist/esm/models/components/seatassign.js +56 -0
- package/dist/esm/models/components/seatassign.js.map +1 -0
- package/dist/esm/models/components/seatslist.d.ts +43 -0
- package/dist/esm/models/components/seatslist.d.ts.map +1 -0
- package/dist/esm/models/components/seatslist.js +47 -0
- package/dist/esm/models/components/seatslist.js.map +1 -0
- package/dist/esm/models/components/seatstatus.d.ts +31 -0
- package/dist/esm/models/components/seatstatus.d.ts.map +1 -0
- package/dist/esm/models/components/seatstatus.js +26 -0
- package/dist/esm/models/components/seatstatus.js.map +1 -0
- package/dist/esm/models/operations/customerportalseatsassignseat.d.ts +29 -0
- package/dist/esm/models/operations/customerportalseatsassignseat.d.ts.map +1 -0
- package/dist/esm/models/operations/customerportalseatsassignseat.js +40 -0
- package/dist/esm/models/operations/customerportalseatsassignseat.js.map +1 -0
- package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.d.ts +29 -0
- package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.d.ts.map +1 -0
- package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.js +40 -0
- package/dist/esm/models/operations/customerportalseatslistclaimedsubscriptions.js.map +1 -0
- package/dist/esm/models/operations/customerportalseatslistseats.d.ts +57 -0
- package/dist/esm/models/operations/customerportalseatslistseats.d.ts.map +1 -0
- package/dist/esm/models/operations/customerportalseatslistseats.js +73 -0
- package/dist/esm/models/operations/customerportalseatslistseats.js.map +1 -0
- package/dist/esm/models/operations/customerportalseatsresendinvitation.d.ts +54 -0
- package/dist/esm/models/operations/customerportalseatsresendinvitation.d.ts.map +1 -0
- package/dist/esm/models/operations/customerportalseatsresendinvitation.js +73 -0
- package/dist/esm/models/operations/customerportalseatsresendinvitation.js.map +1 -0
- package/dist/esm/models/operations/customerportalseatsrevokeseat.d.ts +54 -0
- package/dist/esm/models/operations/customerportalseatsrevokeseat.d.ts.map +1 -0
- package/dist/esm/models/operations/customerportalseatsrevokeseat.js +73 -0
- package/dist/esm/models/operations/customerportalseatsrevokeseat.js.map +1 -0
- package/dist/esm/models/operations/oauth2clientsoauth2deleteclient.d.ts +29 -0
- package/dist/esm/models/operations/oauth2clientsoauth2deleteclient.d.ts.map +1 -0
- package/dist/esm/models/operations/oauth2clientsoauth2deleteclient.js +40 -0
- package/dist/esm/models/operations/oauth2clientsoauth2deleteclient.js.map +1 -0
- package/dist/esm/models/operations/oauth2clientsoauth2getclient.d.ts +29 -0
- package/dist/esm/models/operations/oauth2clientsoauth2getclient.d.ts.map +1 -0
- package/dist/esm/models/operations/oauth2clientsoauth2getclient.js +40 -0
- package/dist/esm/models/operations/oauth2clientsoauth2getclient.js.map +1 -0
- package/dist/esm/models/operations/oauth2clientsoauth2updateclient.d.ts +32 -0
- package/dist/esm/models/operations/oauth2clientsoauth2updateclient.d.ts.map +1 -0
- package/dist/esm/models/operations/oauth2clientsoauth2updateclient.js +45 -0
- package/dist/esm/models/operations/oauth2clientsoauth2updateclient.js.map +1 -0
- package/dist/esm/sdk/clients.d.ts +36 -0
- package/dist/esm/sdk/clients.d.ts.map +1 -0
- package/dist/esm/sdk/clients.js +48 -0
- package/dist/esm/sdk/clients.js.map +1 -0
- package/dist/esm/sdk/customerportal.d.ts +3 -0
- package/dist/esm/sdk/customerportal.d.ts.map +1 -1
- package/dist/esm/sdk/customerportal.js +4 -0
- package/dist/esm/sdk/customerportal.js.map +1 -1
- package/dist/esm/sdk/oauth2.d.ts +3 -0
- package/dist/esm/sdk/oauth2.d.ts.map +1 -1
- package/dist/esm/sdk/oauth2.js +4 -0
- package/dist/esm/sdk/oauth2.js.map +1 -1
- package/dist/esm/sdk/seats.d.ts +50 -0
- package/dist/esm/sdk/seats.d.ts.map +1 -0
- package/dist/esm/sdk/seats.js +60 -0
- package/dist/esm/sdk/seats.js.map +1 -0
- package/docs/sdks/clients/README.md +331 -0
- package/docs/sdks/seats/README.md +379 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/benefitGrantsList.ts +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 +1 -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/customerMetersGet.ts +1 -1
- package/src/funcs/customerMetersList.ts +1 -1
- package/src/funcs/customerPortalLicenseKeysActivate.ts +1 -1
- package/src/funcs/customerPortalLicenseKeysDeactivate.ts +1 -1
- package/src/funcs/customerPortalLicenseKeysValidate.ts +1 -1
- package/src/funcs/customerPortalOrganizationsGet.ts +1 -1
- package/src/funcs/customerPortalSeatsAssignSeat.ts +189 -0
- package/src/funcs/customerPortalSeatsListClaimedSubscriptions.ts +158 -0
- package/src/funcs/customerPortalSeatsListSeats.ts +193 -0
- package/src/funcs/customerPortalSeatsResendInvitation.ts +198 -0
- package/src/funcs/customerPortalSeatsRevokeSeat.ts +195 -0
- 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/customersExport.ts +1 -1
- package/src/funcs/customersGet.ts +1 -1
- package/src/funcs/customersGetBalance.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/eventsListNames.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/licenseKeysActivate.ts +1 -1
- package/src/funcs/licenseKeysDeactivate.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/licenseKeysValidate.ts +1 -1
- package/src/funcs/metersCreate.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 +176 -0
- package/src/funcs/oauth2ClientsDelete.ts +183 -0
- package/src/funcs/oauth2ClientsGet.ts +182 -0
- package/src/funcs/oauth2ClientsUpdate.ts +186 -0
- 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/ordersGenerateInvoice.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/ordersUpdate.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/paymentsGet.ts +1 -1
- package/src/funcs/paymentsList.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/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/funcs/webhooksCreateWebhookEndpoint.ts +1 -1
- package/src/funcs/webhooksDeleteWebhookEndpoint.ts +1 -1
- package/src/funcs/webhooksGetWebhookEndpoint.ts +1 -1
- package/src/funcs/webhooksListWebhookDeliveries.ts +1 -1
- package/src/funcs/webhooksListWebhookEndpoints.ts +1 -1
- package/src/funcs/webhooksRedeliverWebhookEvent.ts +1 -1
- package/src/funcs/webhooksResetWebhookEndpointSecret.ts +1 -1
- package/src/funcs/webhooksUpdateWebhookEndpoint.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/checkout.ts +9 -0
- package/src/models/components/checkoutpublic.ts +9 -0
- package/src/models/components/checkoutpublicconfirmed.ts +9 -0
- package/src/models/components/customerorder.ts +16 -7
- package/src/models/components/customerseat.ts +171 -0
- package/src/models/components/discountupdate.ts +15 -3
- package/src/models/components/oauth2clientconfiguration.ts +191 -0
- package/src/models/components/oauth2clientconfigurationupdate.ts +213 -0
- package/src/models/components/order.ts +16 -7
- package/src/models/components/productpriceseatbased.ts +13 -7
- package/src/models/components/productpriceseatbasedcreate.ts +14 -8
- package/src/models/components/productpriceseattier.ts +99 -0
- package/src/models/components/productpriceseattiers.ts +78 -0
- package/src/models/components/seatassign.ts +115 -0
- package/src/models/components/seatslist.ts +96 -0
- package/src/models/components/seatstatus.ts +32 -0
- package/src/models/operations/customerportalseatsassignseat.ts +80 -0
- package/src/models/operations/customerportalseatslistclaimedsubscriptions.ts +89 -0
- package/src/models/operations/customerportalseatslistseats.ts +154 -0
- package/src/models/operations/customerportalseatsresendinvitation.ts +164 -0
- package/src/models/operations/customerportalseatsrevokeseat.ts +151 -0
- package/src/models/operations/oauth2clientsoauth2deleteclient.ts +81 -0
- package/src/models/operations/oauth2clientsoauth2getclient.ts +80 -0
- package/src/models/operations/oauth2clientsoauth2updateclient.ts +95 -0
- package/src/sdk/clients.ts +84 -0
- package/src/sdk/customerportal.ts +6 -0
- package/src/sdk/oauth2.ts +6 -0
- package/src/sdk/seats.ts +126 -0
- package/docs/sdks/customerportal/README.md +0 -6
- package/docs/sdks/polar/README.md +0 -7
|
@@ -156,6 +156,10 @@ export type CheckoutPublic = {
|
|
|
156
156
|
* Number of seats for seat-based pricing.
|
|
157
157
|
*/
|
|
158
158
|
seats?: number | null | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* Price per seat in cents for the current seat count, based on the applicable tier. Only relevant for seat-based pricing.
|
|
161
|
+
*/
|
|
162
|
+
pricePerSeat?: number | null | undefined;
|
|
159
163
|
/**
|
|
160
164
|
* Discount amount in cents.
|
|
161
165
|
*/
|
|
@@ -481,6 +485,7 @@ export const CheckoutPublic$inboundSchema: z.ZodType<
|
|
|
481
485
|
embed_origin: z.nullable(z.string()),
|
|
482
486
|
amount: z.number().int(),
|
|
483
487
|
seats: z.nullable(z.number().int()).optional(),
|
|
488
|
+
price_per_seat: z.nullable(z.number().int()).optional(),
|
|
484
489
|
discount_amount: z.number().int(),
|
|
485
490
|
net_amount: z.number().int(),
|
|
486
491
|
tax_amount: z.nullable(z.number().int()),
|
|
@@ -537,6 +542,7 @@ export const CheckoutPublic$inboundSchema: z.ZodType<
|
|
|
537
542
|
"expires_at": "expiresAt",
|
|
538
543
|
"success_url": "successUrl",
|
|
539
544
|
"embed_origin": "embedOrigin",
|
|
545
|
+
"price_per_seat": "pricePerSeat",
|
|
540
546
|
"discount_amount": "discountAmount",
|
|
541
547
|
"net_amount": "netAmount",
|
|
542
548
|
"tax_amount": "taxAmount",
|
|
@@ -586,6 +592,7 @@ export type CheckoutPublic$Outbound = {
|
|
|
586
592
|
embed_origin: string | null;
|
|
587
593
|
amount: number;
|
|
588
594
|
seats?: number | null | undefined;
|
|
595
|
+
price_per_seat?: number | null | undefined;
|
|
589
596
|
discount_amount: number;
|
|
590
597
|
net_amount: number;
|
|
591
598
|
tax_amount: number | null;
|
|
@@ -655,6 +662,7 @@ export const CheckoutPublic$outboundSchema: z.ZodType<
|
|
|
655
662
|
embedOrigin: z.nullable(z.string()),
|
|
656
663
|
amount: z.number().int(),
|
|
657
664
|
seats: z.nullable(z.number().int()).optional(),
|
|
665
|
+
pricePerSeat: z.nullable(z.number().int()).optional(),
|
|
658
666
|
discountAmount: z.number().int(),
|
|
659
667
|
netAmount: z.number().int(),
|
|
660
668
|
taxAmount: z.nullable(z.number().int()),
|
|
@@ -709,6 +717,7 @@ export const CheckoutPublic$outboundSchema: z.ZodType<
|
|
|
709
717
|
expiresAt: "expires_at",
|
|
710
718
|
successUrl: "success_url",
|
|
711
719
|
embedOrigin: "embed_origin",
|
|
720
|
+
pricePerSeat: "price_per_seat",
|
|
712
721
|
discountAmount: "discount_amount",
|
|
713
722
|
netAmount: "net_amount",
|
|
714
723
|
taxAmount: "tax_amount",
|
|
@@ -160,6 +160,10 @@ export type CheckoutPublicConfirmed = {
|
|
|
160
160
|
* Number of seats for seat-based pricing.
|
|
161
161
|
*/
|
|
162
162
|
seats?: number | null | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* Price per seat in cents for the current seat count, based on the applicable tier. Only relevant for seat-based pricing.
|
|
165
|
+
*/
|
|
166
|
+
pricePerSeat?: number | null | undefined;
|
|
163
167
|
/**
|
|
164
168
|
* Discount amount in cents.
|
|
165
169
|
*/
|
|
@@ -497,6 +501,7 @@ export const CheckoutPublicConfirmed$inboundSchema: z.ZodType<
|
|
|
497
501
|
embed_origin: z.nullable(z.string()),
|
|
498
502
|
amount: z.number().int(),
|
|
499
503
|
seats: z.nullable(z.number().int()).optional(),
|
|
504
|
+
price_per_seat: z.nullable(z.number().int()).optional(),
|
|
500
505
|
discount_amount: z.number().int(),
|
|
501
506
|
net_amount: z.number().int(),
|
|
502
507
|
tax_amount: z.nullable(z.number().int()),
|
|
@@ -554,6 +559,7 @@ export const CheckoutPublicConfirmed$inboundSchema: z.ZodType<
|
|
|
554
559
|
"expires_at": "expiresAt",
|
|
555
560
|
"success_url": "successUrl",
|
|
556
561
|
"embed_origin": "embedOrigin",
|
|
562
|
+
"price_per_seat": "pricePerSeat",
|
|
557
563
|
"discount_amount": "discountAmount",
|
|
558
564
|
"net_amount": "netAmount",
|
|
559
565
|
"tax_amount": "taxAmount",
|
|
@@ -604,6 +610,7 @@ export type CheckoutPublicConfirmed$Outbound = {
|
|
|
604
610
|
embed_origin: string | null;
|
|
605
611
|
amount: number;
|
|
606
612
|
seats?: number | null | undefined;
|
|
613
|
+
price_per_seat?: number | null | undefined;
|
|
607
614
|
discount_amount: number;
|
|
608
615
|
net_amount: number;
|
|
609
616
|
tax_amount: number | null;
|
|
@@ -674,6 +681,7 @@ export const CheckoutPublicConfirmed$outboundSchema: z.ZodType<
|
|
|
674
681
|
embedOrigin: z.nullable(z.string()),
|
|
675
682
|
amount: z.number().int(),
|
|
676
683
|
seats: z.nullable(z.number().int()).optional(),
|
|
684
|
+
pricePerSeat: z.nullable(z.number().int()).optional(),
|
|
677
685
|
discountAmount: z.number().int(),
|
|
678
686
|
netAmount: z.number().int(),
|
|
679
687
|
taxAmount: z.nullable(z.number().int()),
|
|
@@ -729,6 +737,7 @@ export const CheckoutPublicConfirmed$outboundSchema: z.ZodType<
|
|
|
729
737
|
expiresAt: "expires_at",
|
|
730
738
|
successUrl: "success_url",
|
|
731
739
|
embedOrigin: "embed_origin",
|
|
740
|
+
pricePerSeat: "price_per_seat",
|
|
732
741
|
discountAmount: "discount_amount",
|
|
733
742
|
netAmount: "net_amount",
|
|
734
743
|
taxAmount: "tax_amount",
|
|
@@ -81,9 +81,13 @@ export type CustomerOrder = {
|
|
|
81
81
|
*/
|
|
82
82
|
totalAmount: number;
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* Customer's balance amount applied to this invoice. Can increase the total amount paid, if the customer has a negative balance, or decrease it, if the customer has a positive balance.Amount in cents.
|
|
85
85
|
*/
|
|
86
|
-
|
|
86
|
+
appliedBalanceAmount: number;
|
|
87
|
+
/**
|
|
88
|
+
* Amount in cents that is due for this order.
|
|
89
|
+
*/
|
|
90
|
+
dueAmount: number;
|
|
87
91
|
/**
|
|
88
92
|
* Amount refunded in cents.
|
|
89
93
|
*/
|
|
@@ -146,7 +150,8 @@ export const CustomerOrder$inboundSchema: z.ZodType<
|
|
|
146
150
|
net_amount: z.number().int(),
|
|
147
151
|
tax_amount: z.number().int(),
|
|
148
152
|
total_amount: z.number().int(),
|
|
149
|
-
|
|
153
|
+
applied_balance_amount: z.number().int(),
|
|
154
|
+
due_amount: z.number().int(),
|
|
150
155
|
refunded_amount: z.number().int(),
|
|
151
156
|
refunded_tax_amount: z.number().int(),
|
|
152
157
|
currency: z.string(),
|
|
@@ -176,7 +181,8 @@ export const CustomerOrder$inboundSchema: z.ZodType<
|
|
|
176
181
|
"net_amount": "netAmount",
|
|
177
182
|
"tax_amount": "taxAmount",
|
|
178
183
|
"total_amount": "totalAmount",
|
|
179
|
-
"
|
|
184
|
+
"applied_balance_amount": "appliedBalanceAmount",
|
|
185
|
+
"due_amount": "dueAmount",
|
|
180
186
|
"refunded_amount": "refundedAmount",
|
|
181
187
|
"refunded_tax_amount": "refundedTaxAmount",
|
|
182
188
|
"billing_reason": "billingReason",
|
|
@@ -206,7 +212,8 @@ export type CustomerOrder$Outbound = {
|
|
|
206
212
|
net_amount: number;
|
|
207
213
|
tax_amount: number;
|
|
208
214
|
total_amount: number;
|
|
209
|
-
|
|
215
|
+
applied_balance_amount: number;
|
|
216
|
+
due_amount: number;
|
|
210
217
|
refunded_amount: number;
|
|
211
218
|
refunded_tax_amount: number;
|
|
212
219
|
currency: string;
|
|
@@ -243,7 +250,8 @@ export const CustomerOrder$outboundSchema: z.ZodType<
|
|
|
243
250
|
netAmount: z.number().int(),
|
|
244
251
|
taxAmount: z.number().int(),
|
|
245
252
|
totalAmount: z.number().int(),
|
|
246
|
-
|
|
253
|
+
appliedBalanceAmount: z.number().int(),
|
|
254
|
+
dueAmount: z.number().int(),
|
|
247
255
|
refundedAmount: z.number().int(),
|
|
248
256
|
refundedTaxAmount: z.number().int(),
|
|
249
257
|
currency: z.string(),
|
|
@@ -272,7 +280,8 @@ export const CustomerOrder$outboundSchema: z.ZodType<
|
|
|
272
280
|
netAmount: "net_amount",
|
|
273
281
|
taxAmount: "tax_amount",
|
|
274
282
|
totalAmount: "total_amount",
|
|
275
|
-
|
|
283
|
+
appliedBalanceAmount: "applied_balance_amount",
|
|
284
|
+
dueAmount: "due_amount",
|
|
276
285
|
refundedAmount: "refunded_amount",
|
|
277
286
|
refundedTaxAmount: "refunded_tax_amount",
|
|
278
287
|
billingReason: "billing_reason",
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
SeatStatus,
|
|
12
|
+
SeatStatus$inboundSchema,
|
|
13
|
+
SeatStatus$outboundSchema,
|
|
14
|
+
} from "./seatstatus.js";
|
|
15
|
+
|
|
16
|
+
export type CustomerSeat = {
|
|
17
|
+
/**
|
|
18
|
+
* Creation timestamp of the object.
|
|
19
|
+
*/
|
|
20
|
+
createdAt: Date;
|
|
21
|
+
/**
|
|
22
|
+
* Last modification timestamp of the object.
|
|
23
|
+
*/
|
|
24
|
+
modifiedAt: Date | null;
|
|
25
|
+
/**
|
|
26
|
+
* The seat ID
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* The subscription ID
|
|
31
|
+
*/
|
|
32
|
+
subscriptionId: string;
|
|
33
|
+
status: SeatStatus;
|
|
34
|
+
/**
|
|
35
|
+
* The assigned customer ID
|
|
36
|
+
*/
|
|
37
|
+
customerId?: string | null | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* The assigned customer email
|
|
40
|
+
*/
|
|
41
|
+
customerEmail?: string | null | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* When the invitation token expires
|
|
44
|
+
*/
|
|
45
|
+
invitationTokenExpiresAt?: Date | null | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* When the seat was claimed
|
|
48
|
+
*/
|
|
49
|
+
claimedAt?: Date | null | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* When the seat was revoked
|
|
52
|
+
*/
|
|
53
|
+
revokedAt?: Date | null | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Additional metadata for the seat
|
|
56
|
+
*/
|
|
57
|
+
seatMetadata?: { [k: string]: any } | null | undefined;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/** @internal */
|
|
61
|
+
export const CustomerSeat$inboundSchema: z.ZodType<
|
|
62
|
+
CustomerSeat,
|
|
63
|
+
z.ZodTypeDef,
|
|
64
|
+
unknown
|
|
65
|
+
> = z.object({
|
|
66
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
67
|
+
modified_at: z.nullable(
|
|
68
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
69
|
+
),
|
|
70
|
+
id: z.string(),
|
|
71
|
+
subscription_id: z.string(),
|
|
72
|
+
status: SeatStatus$inboundSchema,
|
|
73
|
+
customer_id: z.nullable(z.string()).optional(),
|
|
74
|
+
customer_email: z.nullable(z.string()).optional(),
|
|
75
|
+
invitation_token_expires_at: z.nullable(
|
|
76
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
77
|
+
).optional(),
|
|
78
|
+
claimed_at: z.nullable(
|
|
79
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
80
|
+
).optional(),
|
|
81
|
+
revoked_at: z.nullable(
|
|
82
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
83
|
+
).optional(),
|
|
84
|
+
seat_metadata: z.nullable(z.record(z.any())).optional(),
|
|
85
|
+
}).transform((v) => {
|
|
86
|
+
return remap$(v, {
|
|
87
|
+
"created_at": "createdAt",
|
|
88
|
+
"modified_at": "modifiedAt",
|
|
89
|
+
"subscription_id": "subscriptionId",
|
|
90
|
+
"customer_id": "customerId",
|
|
91
|
+
"customer_email": "customerEmail",
|
|
92
|
+
"invitation_token_expires_at": "invitationTokenExpiresAt",
|
|
93
|
+
"claimed_at": "claimedAt",
|
|
94
|
+
"revoked_at": "revokedAt",
|
|
95
|
+
"seat_metadata": "seatMetadata",
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
/** @internal */
|
|
100
|
+
export type CustomerSeat$Outbound = {
|
|
101
|
+
created_at: string;
|
|
102
|
+
modified_at: string | null;
|
|
103
|
+
id: string;
|
|
104
|
+
subscription_id: string;
|
|
105
|
+
status: string;
|
|
106
|
+
customer_id?: string | null | undefined;
|
|
107
|
+
customer_email?: string | null | undefined;
|
|
108
|
+
invitation_token_expires_at?: string | null | undefined;
|
|
109
|
+
claimed_at?: string | null | undefined;
|
|
110
|
+
revoked_at?: string | null | undefined;
|
|
111
|
+
seat_metadata?: { [k: string]: any } | null | undefined;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
/** @internal */
|
|
115
|
+
export const CustomerSeat$outboundSchema: z.ZodType<
|
|
116
|
+
CustomerSeat$Outbound,
|
|
117
|
+
z.ZodTypeDef,
|
|
118
|
+
CustomerSeat
|
|
119
|
+
> = z.object({
|
|
120
|
+
createdAt: z.date().transform(v => v.toISOString()),
|
|
121
|
+
modifiedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
122
|
+
id: z.string(),
|
|
123
|
+
subscriptionId: z.string(),
|
|
124
|
+
status: SeatStatus$outboundSchema,
|
|
125
|
+
customerId: z.nullable(z.string()).optional(),
|
|
126
|
+
customerEmail: z.nullable(z.string()).optional(),
|
|
127
|
+
invitationTokenExpiresAt: z.nullable(z.date().transform(v => v.toISOString()))
|
|
128
|
+
.optional(),
|
|
129
|
+
claimedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
130
|
+
revokedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
131
|
+
seatMetadata: z.nullable(z.record(z.any())).optional(),
|
|
132
|
+
}).transform((v) => {
|
|
133
|
+
return remap$(v, {
|
|
134
|
+
createdAt: "created_at",
|
|
135
|
+
modifiedAt: "modified_at",
|
|
136
|
+
subscriptionId: "subscription_id",
|
|
137
|
+
customerId: "customer_id",
|
|
138
|
+
customerEmail: "customer_email",
|
|
139
|
+
invitationTokenExpiresAt: "invitation_token_expires_at",
|
|
140
|
+
claimedAt: "claimed_at",
|
|
141
|
+
revokedAt: "revoked_at",
|
|
142
|
+
seatMetadata: "seat_metadata",
|
|
143
|
+
});
|
|
144
|
+
});
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @internal
|
|
148
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
149
|
+
*/
|
|
150
|
+
export namespace CustomerSeat$ {
|
|
151
|
+
/** @deprecated use `CustomerSeat$inboundSchema` instead. */
|
|
152
|
+
export const inboundSchema = CustomerSeat$inboundSchema;
|
|
153
|
+
/** @deprecated use `CustomerSeat$outboundSchema` instead. */
|
|
154
|
+
export const outboundSchema = CustomerSeat$outboundSchema;
|
|
155
|
+
/** @deprecated use `CustomerSeat$Outbound` instead. */
|
|
156
|
+
export type Outbound = CustomerSeat$Outbound;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export function customerSeatToJSON(customerSeat: CustomerSeat): string {
|
|
160
|
+
return JSON.stringify(CustomerSeat$outboundSchema.parse(customerSeat));
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export function customerSeatFromJSON(
|
|
164
|
+
jsonString: string,
|
|
165
|
+
): SafeParseResult<CustomerSeat, SDKValidationError> {
|
|
166
|
+
return safeParse(
|
|
167
|
+
jsonString,
|
|
168
|
+
(x) => CustomerSeat$inboundSchema.parse(JSON.parse(x)),
|
|
169
|
+
`Failed to parse 'CustomerSeat' from JSON`,
|
|
170
|
+
);
|
|
171
|
+
}
|
|
@@ -41,9 +41,21 @@ export type DiscountUpdate = {
|
|
|
41
41
|
*/
|
|
42
42
|
metadata?: { [k: string]: string | number | number | boolean } | undefined;
|
|
43
43
|
name?: string | null | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Code customers can use to apply the discount during checkout. Must be between 3 and 256 characters long and contain only alphanumeric characters.If not provided, the discount can only be applied via the API.
|
|
46
|
+
*/
|
|
44
47
|
code?: string | null | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Optional timestamp after which the discount is redeemable.
|
|
50
|
+
*/
|
|
45
51
|
startsAt?: Date | null | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Optional timestamp after which the discount is no longer redeemable.
|
|
54
|
+
*/
|
|
46
55
|
endsAt?: Date | null | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Optional maximum number of times the discount can be redeemed.
|
|
58
|
+
*/
|
|
47
59
|
maxRedemptions?: number | null | undefined;
|
|
48
60
|
duration?: DiscountDuration | null | undefined;
|
|
49
61
|
durationInMonths?: number | null | undefined;
|
|
@@ -128,7 +140,7 @@ export const DiscountUpdate$inboundSchema: z.ZodType<
|
|
|
128
140
|
duration_in_months: z.nullable(z.number().int()).optional(),
|
|
129
141
|
type: z.nullable(DiscountType$inboundSchema).optional(),
|
|
130
142
|
amount: z.nullable(z.number().int()).optional(),
|
|
131
|
-
currency: z.nullable(z.string().
|
|
143
|
+
currency: z.nullable(z.string()).optional(),
|
|
132
144
|
basis_points: z.nullable(z.number().int()).optional(),
|
|
133
145
|
products: z.nullable(z.array(z.string())).optional(),
|
|
134
146
|
}).transform((v) => {
|
|
@@ -153,7 +165,7 @@ export type DiscountUpdate$Outbound = {
|
|
|
153
165
|
duration_in_months?: number | null | undefined;
|
|
154
166
|
type?: string | null | undefined;
|
|
155
167
|
amount?: number | null | undefined;
|
|
156
|
-
currency
|
|
168
|
+
currency?: string | null | undefined;
|
|
157
169
|
basis_points?: number | null | undefined;
|
|
158
170
|
products?: Array<string> | null | undefined;
|
|
159
171
|
};
|
|
@@ -176,7 +188,7 @@ export const DiscountUpdate$outboundSchema: z.ZodType<
|
|
|
176
188
|
durationInMonths: z.nullable(z.number().int()).optional(),
|
|
177
189
|
type: z.nullable(DiscountType$outboundSchema).optional(),
|
|
178
190
|
amount: z.nullable(z.number().int()).optional(),
|
|
179
|
-
currency: z.nullable(z.string().
|
|
191
|
+
currency: z.nullable(z.string()).optional(),
|
|
180
192
|
basisPoints: z.nullable(z.number().int()).optional(),
|
|
181
193
|
products: z.nullable(z.array(z.string())).optional(),
|
|
182
194
|
}).transform((v) => {
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export const TokenEndpointAuthMethod = {
|
|
13
|
+
ClientSecretBasic: "client_secret_basic",
|
|
14
|
+
ClientSecretPost: "client_secret_post",
|
|
15
|
+
None: "none",
|
|
16
|
+
} as const;
|
|
17
|
+
export type TokenEndpointAuthMethod = ClosedEnum<
|
|
18
|
+
typeof TokenEndpointAuthMethod
|
|
19
|
+
>;
|
|
20
|
+
|
|
21
|
+
export const GrantTypes = {
|
|
22
|
+
AuthorizationCode: "authorization_code",
|
|
23
|
+
RefreshToken: "refresh_token",
|
|
24
|
+
} as const;
|
|
25
|
+
export type GrantTypes = ClosedEnum<typeof GrantTypes>;
|
|
26
|
+
|
|
27
|
+
export type OAuth2ClientConfiguration = {
|
|
28
|
+
redirectUris: Array<string>;
|
|
29
|
+
tokenEndpointAuthMethod?: TokenEndpointAuthMethod | undefined;
|
|
30
|
+
grantTypes?: Array<GrantTypes> | undefined;
|
|
31
|
+
responseTypes?: Array<string> | undefined;
|
|
32
|
+
scope?: string | undefined;
|
|
33
|
+
clientName: string;
|
|
34
|
+
clientUri?: string | null | undefined;
|
|
35
|
+
logoUri?: string | null | undefined;
|
|
36
|
+
tosUri?: string | null | undefined;
|
|
37
|
+
policyUri?: string | null | undefined;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const TokenEndpointAuthMethod$inboundSchema: z.ZodNativeEnum<
|
|
42
|
+
typeof TokenEndpointAuthMethod
|
|
43
|
+
> = z.nativeEnum(TokenEndpointAuthMethod);
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const TokenEndpointAuthMethod$outboundSchema: z.ZodNativeEnum<
|
|
47
|
+
typeof TokenEndpointAuthMethod
|
|
48
|
+
> = TokenEndpointAuthMethod$inboundSchema;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
53
|
+
*/
|
|
54
|
+
export namespace TokenEndpointAuthMethod$ {
|
|
55
|
+
/** @deprecated use `TokenEndpointAuthMethod$inboundSchema` instead. */
|
|
56
|
+
export const inboundSchema = TokenEndpointAuthMethod$inboundSchema;
|
|
57
|
+
/** @deprecated use `TokenEndpointAuthMethod$outboundSchema` instead. */
|
|
58
|
+
export const outboundSchema = TokenEndpointAuthMethod$outboundSchema;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/** @internal */
|
|
62
|
+
export const GrantTypes$inboundSchema: z.ZodNativeEnum<typeof GrantTypes> = z
|
|
63
|
+
.nativeEnum(GrantTypes);
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export const GrantTypes$outboundSchema: z.ZodNativeEnum<typeof GrantTypes> =
|
|
67
|
+
GrantTypes$inboundSchema;
|
|
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 GrantTypes$ {
|
|
74
|
+
/** @deprecated use `GrantTypes$inboundSchema` instead. */
|
|
75
|
+
export const inboundSchema = GrantTypes$inboundSchema;
|
|
76
|
+
/** @deprecated use `GrantTypes$outboundSchema` instead. */
|
|
77
|
+
export const outboundSchema = GrantTypes$outboundSchema;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const OAuth2ClientConfiguration$inboundSchema: z.ZodType<
|
|
82
|
+
OAuth2ClientConfiguration,
|
|
83
|
+
z.ZodTypeDef,
|
|
84
|
+
unknown
|
|
85
|
+
> = z.object({
|
|
86
|
+
redirect_uris: z.array(z.string()),
|
|
87
|
+
token_endpoint_auth_method: TokenEndpointAuthMethod$inboundSchema.default(
|
|
88
|
+
"client_secret_post",
|
|
89
|
+
),
|
|
90
|
+
grant_types: z.array(GrantTypes$inboundSchema).optional(),
|
|
91
|
+
response_types: z.array(z.string()).optional(),
|
|
92
|
+
scope: z.string().default(
|
|
93
|
+
"openid profile email user:read organizations:read organizations:write custom_fields:read custom_fields:write discounts:read discounts:write checkout_links:read checkout_links:write checkouts:read checkouts:write transactions:read transactions:write payouts:read payouts:write products:read products:write benefits:read benefits:write events:read events:write meters:read meters:write files:read files:write subscriptions:read subscriptions:write customers:read customers:write customer_meters:read customer_sessions:write orders:read orders:write refunds:read refunds:write payments:read metrics:read webhooks:read webhooks:write external_organizations:read license_keys:read license_keys:write repositories:read repositories:write issues:read issues:write customer_portal:read customer_portal:write notifications:read notifications:write notification_recipients:read notification_recipients:write",
|
|
94
|
+
),
|
|
95
|
+
client_name: z.string(),
|
|
96
|
+
client_uri: z.nullable(z.string()).optional(),
|
|
97
|
+
logo_uri: z.nullable(z.string()).optional(),
|
|
98
|
+
tos_uri: z.nullable(z.string()).optional(),
|
|
99
|
+
policy_uri: z.nullable(z.string()).optional(),
|
|
100
|
+
}).transform((v) => {
|
|
101
|
+
return remap$(v, {
|
|
102
|
+
"redirect_uris": "redirectUris",
|
|
103
|
+
"token_endpoint_auth_method": "tokenEndpointAuthMethod",
|
|
104
|
+
"grant_types": "grantTypes",
|
|
105
|
+
"response_types": "responseTypes",
|
|
106
|
+
"client_name": "clientName",
|
|
107
|
+
"client_uri": "clientUri",
|
|
108
|
+
"logo_uri": "logoUri",
|
|
109
|
+
"tos_uri": "tosUri",
|
|
110
|
+
"policy_uri": "policyUri",
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
/** @internal */
|
|
115
|
+
export type OAuth2ClientConfiguration$Outbound = {
|
|
116
|
+
redirect_uris: Array<string>;
|
|
117
|
+
token_endpoint_auth_method: string;
|
|
118
|
+
grant_types?: Array<string> | undefined;
|
|
119
|
+
response_types?: Array<string> | undefined;
|
|
120
|
+
scope: string;
|
|
121
|
+
client_name: string;
|
|
122
|
+
client_uri?: string | null | undefined;
|
|
123
|
+
logo_uri?: string | null | undefined;
|
|
124
|
+
tos_uri?: string | null | undefined;
|
|
125
|
+
policy_uri?: string | null | undefined;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/** @internal */
|
|
129
|
+
export const OAuth2ClientConfiguration$outboundSchema: z.ZodType<
|
|
130
|
+
OAuth2ClientConfiguration$Outbound,
|
|
131
|
+
z.ZodTypeDef,
|
|
132
|
+
OAuth2ClientConfiguration
|
|
133
|
+
> = z.object({
|
|
134
|
+
redirectUris: z.array(z.string()),
|
|
135
|
+
tokenEndpointAuthMethod: TokenEndpointAuthMethod$outboundSchema.default(
|
|
136
|
+
"client_secret_post",
|
|
137
|
+
),
|
|
138
|
+
grantTypes: z.array(GrantTypes$outboundSchema).optional(),
|
|
139
|
+
responseTypes: z.array(z.string()).optional(),
|
|
140
|
+
scope: z.string().default(
|
|
141
|
+
"openid profile email user:read organizations:read organizations:write custom_fields:read custom_fields:write discounts:read discounts:write checkout_links:read checkout_links:write checkouts:read checkouts:write transactions:read transactions:write payouts:read payouts:write products:read products:write benefits:read benefits:write events:read events:write meters:read meters:write files:read files:write subscriptions:read subscriptions:write customers:read customers:write customer_meters:read customer_sessions:write orders:read orders:write refunds:read refunds:write payments:read metrics:read webhooks:read webhooks:write external_organizations:read license_keys:read license_keys:write repositories:read repositories:write issues:read issues:write customer_portal:read customer_portal:write notifications:read notifications:write notification_recipients:read notification_recipients:write",
|
|
142
|
+
),
|
|
143
|
+
clientName: z.string(),
|
|
144
|
+
clientUri: z.nullable(z.string()).optional(),
|
|
145
|
+
logoUri: z.nullable(z.string()).optional(),
|
|
146
|
+
tosUri: z.nullable(z.string()).optional(),
|
|
147
|
+
policyUri: z.nullable(z.string()).optional(),
|
|
148
|
+
}).transform((v) => {
|
|
149
|
+
return remap$(v, {
|
|
150
|
+
redirectUris: "redirect_uris",
|
|
151
|
+
tokenEndpointAuthMethod: "token_endpoint_auth_method",
|
|
152
|
+
grantTypes: "grant_types",
|
|
153
|
+
responseTypes: "response_types",
|
|
154
|
+
clientName: "client_name",
|
|
155
|
+
clientUri: "client_uri",
|
|
156
|
+
logoUri: "logo_uri",
|
|
157
|
+
tosUri: "tos_uri",
|
|
158
|
+
policyUri: "policy_uri",
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @internal
|
|
164
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
165
|
+
*/
|
|
166
|
+
export namespace OAuth2ClientConfiguration$ {
|
|
167
|
+
/** @deprecated use `OAuth2ClientConfiguration$inboundSchema` instead. */
|
|
168
|
+
export const inboundSchema = OAuth2ClientConfiguration$inboundSchema;
|
|
169
|
+
/** @deprecated use `OAuth2ClientConfiguration$outboundSchema` instead. */
|
|
170
|
+
export const outboundSchema = OAuth2ClientConfiguration$outboundSchema;
|
|
171
|
+
/** @deprecated use `OAuth2ClientConfiguration$Outbound` instead. */
|
|
172
|
+
export type Outbound = OAuth2ClientConfiguration$Outbound;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export function oAuth2ClientConfigurationToJSON(
|
|
176
|
+
oAuth2ClientConfiguration: OAuth2ClientConfiguration,
|
|
177
|
+
): string {
|
|
178
|
+
return JSON.stringify(
|
|
179
|
+
OAuth2ClientConfiguration$outboundSchema.parse(oAuth2ClientConfiguration),
|
|
180
|
+
);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export function oAuth2ClientConfigurationFromJSON(
|
|
184
|
+
jsonString: string,
|
|
185
|
+
): SafeParseResult<OAuth2ClientConfiguration, SDKValidationError> {
|
|
186
|
+
return safeParse(
|
|
187
|
+
jsonString,
|
|
188
|
+
(x) => OAuth2ClientConfiguration$inboundSchema.parse(JSON.parse(x)),
|
|
189
|
+
`Failed to parse 'OAuth2ClientConfiguration' from JSON`,
|
|
190
|
+
);
|
|
191
|
+
}
|