@meetkai/mka1 0.54.62 → 0.54.64
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 +325 -304
- package/bin/mcp-server.js +4828 -3578
- package/bin/mcp-server.js.map +28 -10
- package/dist/commonjs/funcs/billingCreateOrganizationBillingPortal.d.ts +14 -0
- package/dist/commonjs/funcs/billingCreateOrganizationBillingPortal.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingCreateOrganizationBillingPortal.js +113 -0
- package/dist/commonjs/funcs/billingCreateOrganizationBillingPortal.js.map +1 -0
- package/dist/commonjs/funcs/billingCreateOrganizationBillingSetup.d.ts +14 -0
- package/dist/commonjs/funcs/billingCreateOrganizationBillingSetup.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingCreateOrganizationBillingSetup.js +113 -0
- package/dist/commonjs/funcs/billingCreateOrganizationBillingSetup.js.map +1 -0
- package/dist/commonjs/funcs/billingGetOrganizationBilling.d.ts +14 -0
- package/dist/commonjs/funcs/billingGetOrganizationBilling.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingGetOrganizationBilling.js +125 -0
- package/dist/commonjs/funcs/billingGetOrganizationBilling.js.map +1 -0
- package/dist/commonjs/funcs/billingListOrganizationBillingInvoices.d.ts +14 -0
- package/dist/commonjs/funcs/billingListOrganizationBillingInvoices.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingListOrganizationBillingInvoices.js +125 -0
- package/dist/commonjs/funcs/billingListOrganizationBillingInvoices.js.map +1 -0
- package/dist/commonjs/funcs/billingSetOrganizationBillingEnabled.d.ts +14 -0
- package/dist/commonjs/funcs/billingSetOrganizationBillingEnabled.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingSetOrganizationBillingEnabled.js +126 -0
- package/dist/commonjs/funcs/billingSetOrganizationBillingEnabled.js.map +1 -0
- package/dist/commonjs/funcs/billingUpdateOrganizationBillingProfile.d.ts +14 -0
- package/dist/commonjs/funcs/billingUpdateOrganizationBillingProfile.d.ts.map +1 -0
- package/dist/commonjs/funcs/billingUpdateOrganizationBillingProfile.js +123 -0
- package/dist/commonjs/funcs/billingUpdateOrganizationBillingProfile.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +13 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingPortal.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingPortal.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingPortal.js +62 -0
- package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingPortal.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingSetup.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingSetup.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingSetup.js +62 -0
- package/dist/commonjs/mcp-server/tools/billingCreateOrganizationBillingSetup.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/billingGetOrganizationBilling.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/billingGetOrganizationBilling.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/billingGetOrganizationBilling.js +62 -0
- package/dist/commonjs/mcp-server/tools/billingGetOrganizationBilling.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/billingListOrganizationBillingInvoices.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/billingListOrganizationBillingInvoices.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/billingListOrganizationBillingInvoices.js +62 -0
- package/dist/commonjs/mcp-server/tools/billingListOrganizationBillingInvoices.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/billingSetOrganizationBillingEnabled.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/billingSetOrganizationBillingEnabled.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/billingSetOrganizationBillingEnabled.js +62 -0
- package/dist/commonjs/mcp-server/tools/billingSetOrganizationBillingEnabled.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/billingUpdateOrganizationBillingProfile.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/billingUpdateOrganizationBillingProfile.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/billingUpdateOrganizationBillingProfile.js +62 -0
- package/dist/commonjs/mcp-server/tools/billingUpdateOrganizationBillingProfile.js.map +1 -0
- package/dist/commonjs/models/components/computescalinginput.d.ts +5 -2
- package/dist/commonjs/models/components/computescalinginput.d.ts.map +1 -1
- package/dist/commonjs/models/components/computescalinginput.js +2 -2
- package/dist/commonjs/models/components/computescalinginput.js.map +1 -1
- package/dist/commonjs/models/operations/createorganizationbillingportal.d.ts +29 -0
- package/dist/commonjs/models/operations/createorganizationbillingportal.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createorganizationbillingportal.js +70 -0
- package/dist/commonjs/models/operations/createorganizationbillingportal.js.map +1 -0
- package/dist/commonjs/models/operations/createorganizationbillingsetup.d.ts +29 -0
- package/dist/commonjs/models/operations/createorganizationbillingsetup.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createorganizationbillingsetup.js +70 -0
- package/dist/commonjs/models/operations/createorganizationbillingsetup.js.map +1 -0
- package/dist/commonjs/models/operations/getmodel.d.ts +5 -0
- package/dist/commonjs/models/operations/getmodel.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getmodel.js +4 -0
- package/dist/commonjs/models/operations/getmodel.js.map +1 -1
- package/dist/commonjs/models/operations/getorganizationbilling.d.ts +136 -0
- package/dist/commonjs/models/operations/getorganizationbilling.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getorganizationbilling.js +239 -0
- package/dist/commonjs/models/operations/getorganizationbilling.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +6 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +6 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listmodels.d.ts +5 -0
- package/dist/commonjs/models/operations/listmodels.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmodels.js +4 -0
- package/dist/commonjs/models/operations/listmodels.js.map +1 -1
- package/dist/commonjs/models/operations/listorganizationbillinginvoices.d.ts +62 -0
- package/dist/commonjs/models/operations/listorganizationbillinginvoices.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listorganizationbillinginvoices.js +133 -0
- package/dist/commonjs/models/operations/listorganizationbillinginvoices.js.map +1 -0
- package/dist/commonjs/models/operations/setorganizationbillingenabled.d.ts +153 -0
- package/dist/commonjs/models/operations/setorganizationbillingenabled.d.ts.map +1 -0
- package/dist/commonjs/models/operations/setorganizationbillingenabled.js +261 -0
- package/dist/commonjs/models/operations/setorganizationbillingenabled.js.map +1 -0
- package/dist/commonjs/models/operations/updateorganizationbillingprofile.d.ts +163 -0
- package/dist/commonjs/models/operations/updateorganizationbillingprofile.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updateorganizationbillingprofile.js +279 -0
- package/dist/commonjs/models/operations/updateorganizationbillingprofile.js.map +1 -0
- package/dist/commonjs/react-query/billingCreateOrganizationBillingPortal.d.ts +22 -0
- package/dist/commonjs/react-query/billingCreateOrganizationBillingPortal.d.ts.map +1 -0
- package/dist/commonjs/react-query/billingCreateOrganizationBillingPortal.js +41 -0
- package/dist/commonjs/react-query/billingCreateOrganizationBillingPortal.js.map +1 -0
- package/dist/commonjs/react-query/billingCreateOrganizationBillingSetup.d.ts +22 -0
- package/dist/commonjs/react-query/billingCreateOrganizationBillingSetup.d.ts.map +1 -0
- package/dist/commonjs/react-query/billingCreateOrganizationBillingSetup.js +41 -0
- package/dist/commonjs/react-query/billingCreateOrganizationBillingSetup.js.map +1 -0
- package/dist/commonjs/react-query/billingGetOrganizationBilling.core.d.ts +14 -0
- package/dist/commonjs/react-query/billingGetOrganizationBilling.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/billingGetOrganizationBilling.core.js +34 -0
- package/dist/commonjs/react-query/billingGetOrganizationBilling.core.js.map +1 -0
- package/dist/commonjs/react-query/billingGetOrganizationBilling.d.ts +20 -0
- package/dist/commonjs/react-query/billingGetOrganizationBilling.d.ts.map +1 -0
- package/dist/commonjs/react-query/billingGetOrganizationBilling.js +53 -0
- package/dist/commonjs/react-query/billingGetOrganizationBilling.js.map +1 -0
- package/dist/commonjs/react-query/billingListOrganizationBillingInvoices.core.d.ts +14 -0
- package/dist/commonjs/react-query/billingListOrganizationBillingInvoices.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/billingListOrganizationBillingInvoices.core.js +41 -0
- package/dist/commonjs/react-query/billingListOrganizationBillingInvoices.core.js.map +1 -0
- package/dist/commonjs/react-query/billingListOrganizationBillingInvoices.d.ts +20 -0
- package/dist/commonjs/react-query/billingListOrganizationBillingInvoices.d.ts.map +1 -0
- package/dist/commonjs/react-query/billingListOrganizationBillingInvoices.js +53 -0
- package/dist/commonjs/react-query/billingListOrganizationBillingInvoices.js.map +1 -0
- package/dist/commonjs/react-query/billingSetOrganizationBillingEnabled.d.ts +22 -0
- package/dist/commonjs/react-query/billingSetOrganizationBillingEnabled.d.ts.map +1 -0
- package/dist/commonjs/react-query/billingSetOrganizationBillingEnabled.js +41 -0
- package/dist/commonjs/react-query/billingSetOrganizationBillingEnabled.js.map +1 -0
- package/dist/commonjs/react-query/billingUpdateOrganizationBillingProfile.d.ts +22 -0
- package/dist/commonjs/react-query/billingUpdateOrganizationBillingProfile.d.ts.map +1 -0
- package/dist/commonjs/react-query/billingUpdateOrganizationBillingProfile.js +41 -0
- package/dist/commonjs/react-query/billingUpdateOrganizationBillingProfile.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +6 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +6 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/sdk/billing.d.ts +11 -0
- package/dist/commonjs/sdk/billing.d.ts.map +1 -0
- package/dist/commonjs/sdk/billing.js +36 -0
- package/dist/commonjs/sdk/billing.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/billingCreateOrganizationBillingPortal.d.ts +14 -0
- package/dist/esm/funcs/billingCreateOrganizationBillingPortal.d.ts.map +1 -0
- package/dist/esm/funcs/billingCreateOrganizationBillingPortal.js +77 -0
- package/dist/esm/funcs/billingCreateOrganizationBillingPortal.js.map +1 -0
- package/dist/esm/funcs/billingCreateOrganizationBillingSetup.d.ts +14 -0
- package/dist/esm/funcs/billingCreateOrganizationBillingSetup.d.ts.map +1 -0
- package/dist/esm/funcs/billingCreateOrganizationBillingSetup.js +77 -0
- package/dist/esm/funcs/billingCreateOrganizationBillingSetup.js.map +1 -0
- package/dist/esm/funcs/billingGetOrganizationBilling.d.ts +14 -0
- package/dist/esm/funcs/billingGetOrganizationBilling.d.ts.map +1 -0
- package/dist/esm/funcs/billingGetOrganizationBilling.js +89 -0
- package/dist/esm/funcs/billingGetOrganizationBilling.js.map +1 -0
- package/dist/esm/funcs/billingListOrganizationBillingInvoices.d.ts +14 -0
- package/dist/esm/funcs/billingListOrganizationBillingInvoices.d.ts.map +1 -0
- package/dist/esm/funcs/billingListOrganizationBillingInvoices.js +89 -0
- package/dist/esm/funcs/billingListOrganizationBillingInvoices.js.map +1 -0
- package/dist/esm/funcs/billingSetOrganizationBillingEnabled.d.ts +14 -0
- package/dist/esm/funcs/billingSetOrganizationBillingEnabled.d.ts.map +1 -0
- package/dist/esm/funcs/billingSetOrganizationBillingEnabled.js +90 -0
- package/dist/esm/funcs/billingSetOrganizationBillingEnabled.js.map +1 -0
- package/dist/esm/funcs/billingUpdateOrganizationBillingProfile.d.ts +14 -0
- package/dist/esm/funcs/billingUpdateOrganizationBillingProfile.d.ts.map +1 -0
- package/dist/esm/funcs/billingUpdateOrganizationBillingProfile.js +87 -0
- package/dist/esm/funcs/billingUpdateOrganizationBillingProfile.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +13 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingPortal.d.ts +8 -0
- package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingPortal.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingPortal.js +26 -0
- package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingPortal.js.map +1 -0
- package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingSetup.d.ts +8 -0
- package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingSetup.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingSetup.js +26 -0
- package/dist/esm/mcp-server/tools/billingCreateOrganizationBillingSetup.js.map +1 -0
- package/dist/esm/mcp-server/tools/billingGetOrganizationBilling.d.ts +8 -0
- package/dist/esm/mcp-server/tools/billingGetOrganizationBilling.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/billingGetOrganizationBilling.js +26 -0
- package/dist/esm/mcp-server/tools/billingGetOrganizationBilling.js.map +1 -0
- package/dist/esm/mcp-server/tools/billingListOrganizationBillingInvoices.d.ts +8 -0
- package/dist/esm/mcp-server/tools/billingListOrganizationBillingInvoices.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/billingListOrganizationBillingInvoices.js +26 -0
- package/dist/esm/mcp-server/tools/billingListOrganizationBillingInvoices.js.map +1 -0
- package/dist/esm/mcp-server/tools/billingSetOrganizationBillingEnabled.d.ts +8 -0
- package/dist/esm/mcp-server/tools/billingSetOrganizationBillingEnabled.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/billingSetOrganizationBillingEnabled.js +26 -0
- package/dist/esm/mcp-server/tools/billingSetOrganizationBillingEnabled.js.map +1 -0
- package/dist/esm/mcp-server/tools/billingUpdateOrganizationBillingProfile.d.ts +8 -0
- package/dist/esm/mcp-server/tools/billingUpdateOrganizationBillingProfile.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/billingUpdateOrganizationBillingProfile.js +26 -0
- package/dist/esm/mcp-server/tools/billingUpdateOrganizationBillingProfile.js.map +1 -0
- package/dist/esm/models/components/computescalinginput.d.ts +5 -2
- package/dist/esm/models/components/computescalinginput.d.ts.map +1 -1
- package/dist/esm/models/components/computescalinginput.js +2 -2
- package/dist/esm/models/components/computescalinginput.js.map +1 -1
- package/dist/esm/models/operations/createorganizationbillingportal.d.ts +29 -0
- package/dist/esm/models/operations/createorganizationbillingportal.d.ts.map +1 -0
- package/dist/esm/models/operations/createorganizationbillingportal.js +30 -0
- package/dist/esm/models/operations/createorganizationbillingportal.js.map +1 -0
- package/dist/esm/models/operations/createorganizationbillingsetup.d.ts +29 -0
- package/dist/esm/models/operations/createorganizationbillingsetup.d.ts.map +1 -0
- package/dist/esm/models/operations/createorganizationbillingsetup.js +30 -0
- package/dist/esm/models/operations/createorganizationbillingsetup.js.map +1 -0
- package/dist/esm/models/operations/getmodel.d.ts +5 -0
- package/dist/esm/models/operations/getmodel.d.ts.map +1 -1
- package/dist/esm/models/operations/getmodel.js +4 -0
- package/dist/esm/models/operations/getmodel.js.map +1 -1
- package/dist/esm/models/operations/getorganizationbilling.d.ts +136 -0
- package/dist/esm/models/operations/getorganizationbilling.d.ts.map +1 -0
- package/dist/esm/models/operations/getorganizationbilling.js +193 -0
- package/dist/esm/models/operations/getorganizationbilling.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +6 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +6 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listmodels.d.ts +5 -0
- package/dist/esm/models/operations/listmodels.d.ts.map +1 -1
- package/dist/esm/models/operations/listmodels.js +4 -0
- package/dist/esm/models/operations/listmodels.js.map +1 -1
- package/dist/esm/models/operations/listorganizationbillinginvoices.d.ts +62 -0
- package/dist/esm/models/operations/listorganizationbillinginvoices.d.ts.map +1 -0
- package/dist/esm/models/operations/listorganizationbillinginvoices.js +91 -0
- package/dist/esm/models/operations/listorganizationbillinginvoices.js.map +1 -0
- package/dist/esm/models/operations/setorganizationbillingenabled.d.ts +153 -0
- package/dist/esm/models/operations/setorganizationbillingenabled.d.ts.map +1 -0
- package/dist/esm/models/operations/setorganizationbillingenabled.js +213 -0
- package/dist/esm/models/operations/setorganizationbillingenabled.js.map +1 -0
- package/dist/esm/models/operations/updateorganizationbillingprofile.d.ts +163 -0
- package/dist/esm/models/operations/updateorganizationbillingprofile.d.ts.map +1 -0
- package/dist/esm/models/operations/updateorganizationbillingprofile.js +231 -0
- package/dist/esm/models/operations/updateorganizationbillingprofile.js.map +1 -0
- package/dist/esm/react-query/billingCreateOrganizationBillingPortal.d.ts +22 -0
- package/dist/esm/react-query/billingCreateOrganizationBillingPortal.d.ts.map +1 -0
- package/dist/esm/react-query/billingCreateOrganizationBillingPortal.js +36 -0
- package/dist/esm/react-query/billingCreateOrganizationBillingPortal.js.map +1 -0
- package/dist/esm/react-query/billingCreateOrganizationBillingSetup.d.ts +22 -0
- package/dist/esm/react-query/billingCreateOrganizationBillingSetup.d.ts.map +1 -0
- package/dist/esm/react-query/billingCreateOrganizationBillingSetup.js +36 -0
- package/dist/esm/react-query/billingCreateOrganizationBillingSetup.js.map +1 -0
- package/dist/esm/react-query/billingGetOrganizationBilling.core.d.ts +14 -0
- package/dist/esm/react-query/billingGetOrganizationBilling.core.d.ts.map +1 -0
- package/dist/esm/react-query/billingGetOrganizationBilling.core.js +29 -0
- package/dist/esm/react-query/billingGetOrganizationBilling.core.js.map +1 -0
- package/dist/esm/react-query/billingGetOrganizationBilling.d.ts +20 -0
- package/dist/esm/react-query/billingGetOrganizationBilling.d.ts.map +1 -0
- package/dist/esm/react-query/billingGetOrganizationBilling.js +43 -0
- package/dist/esm/react-query/billingGetOrganizationBilling.js.map +1 -0
- package/dist/esm/react-query/billingListOrganizationBillingInvoices.core.d.ts +14 -0
- package/dist/esm/react-query/billingListOrganizationBillingInvoices.core.d.ts.map +1 -0
- package/dist/esm/react-query/billingListOrganizationBillingInvoices.core.js +36 -0
- package/dist/esm/react-query/billingListOrganizationBillingInvoices.core.js.map +1 -0
- package/dist/esm/react-query/billingListOrganizationBillingInvoices.d.ts +20 -0
- package/dist/esm/react-query/billingListOrganizationBillingInvoices.d.ts.map +1 -0
- package/dist/esm/react-query/billingListOrganizationBillingInvoices.js +43 -0
- package/dist/esm/react-query/billingListOrganizationBillingInvoices.js.map +1 -0
- package/dist/esm/react-query/billingSetOrganizationBillingEnabled.d.ts +22 -0
- package/dist/esm/react-query/billingSetOrganizationBillingEnabled.d.ts.map +1 -0
- package/dist/esm/react-query/billingSetOrganizationBillingEnabled.js +36 -0
- package/dist/esm/react-query/billingSetOrganizationBillingEnabled.js.map +1 -0
- package/dist/esm/react-query/billingUpdateOrganizationBillingProfile.d.ts +22 -0
- package/dist/esm/react-query/billingUpdateOrganizationBillingProfile.d.ts.map +1 -0
- package/dist/esm/react-query/billingUpdateOrganizationBillingProfile.js +36 -0
- package/dist/esm/react-query/billingUpdateOrganizationBillingProfile.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +6 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +6 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/sdk/billing.d.ts +11 -0
- package/dist/esm/sdk/billing.d.ts.map +1 -0
- package/dist/esm/sdk/billing.js +32 -0
- package/dist/esm/sdk/billing.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/billingCreateOrganizationBillingPortal.ts +158 -0
- package/src/funcs/billingCreateOrganizationBillingSetup.ts +158 -0
- package/src/funcs/billingGetOrganizationBilling.ts +174 -0
- package/src/funcs/billingListOrganizationBillingInvoices.ts +179 -0
- package/src/funcs/billingSetOrganizationBillingEnabled.ts +180 -0
- package/src/funcs/billingUpdateOrganizationBillingProfile.ts +174 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +13 -1
- package/src/mcp-server/tools/billingCreateOrganizationBillingPortal.ts +37 -0
- package/src/mcp-server/tools/billingCreateOrganizationBillingSetup.ts +37 -0
- package/src/mcp-server/tools/billingGetOrganizationBilling.ts +35 -0
- package/src/mcp-server/tools/billingListOrganizationBillingInvoices.ts +37 -0
- package/src/mcp-server/tools/billingSetOrganizationBillingEnabled.ts +37 -0
- package/src/mcp-server/tools/billingUpdateOrganizationBillingProfile.ts +37 -0
- package/src/models/components/computescalinginput.ts +7 -4
- package/src/models/operations/createorganizationbillingportal.ts +108 -0
- package/src/models/operations/createorganizationbillingsetup.ts +107 -0
- package/src/models/operations/getmodel.ts +9 -0
- package/src/models/operations/getorganizationbilling.ts +408 -0
- package/src/models/operations/index.ts +6 -0
- package/src/models/operations/listmodels.ts +9 -0
- package/src/models/operations/listorganizationbillinginvoices.ts +227 -0
- package/src/models/operations/setorganizationbillingenabled.ts +510 -0
- package/src/models/operations/updateorganizationbillingprofile.ts +543 -0
- package/src/react-query/billingCreateOrganizationBillingPortal.ts +103 -0
- package/src/react-query/billingCreateOrganizationBillingSetup.ts +103 -0
- package/src/react-query/billingGetOrganizationBilling.core.ts +73 -0
- package/src/react-query/billingGetOrganizationBilling.ts +129 -0
- package/src/react-query/billingListOrganizationBillingInvoices.core.ts +80 -0
- package/src/react-query/billingListOrganizationBillingInvoices.ts +132 -0
- package/src/react-query/billingSetOrganizationBillingEnabled.ts +103 -0
- package/src/react-query/billingUpdateOrganizationBillingProfile.ts +103 -0
- package/src/react-query/index.ts +6 -0
- package/src/sdk/billing.ts +81 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as operations from "../../models/operations/index.js";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
request: import("zod").ZodType<operations.GetOrganizationBillingRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
+
};
|
|
6
|
+
export declare const tool$billingGetOrganizationBilling: ToolDefinition<typeof args>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=billingGetOrganizationBilling.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingGetOrganizationBilling.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/billingGetOrganizationBilling.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,cAAc,CAAC,OAAO,IAAI,CAsB1E,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.tool$billingGetOrganizationBilling = void 0;
|
|
40
|
+
const billingGetOrganizationBilling_js_1 = require("../../funcs/billingGetOrganizationBilling.js");
|
|
41
|
+
const operations = __importStar(require("../../models/operations/index.js"));
|
|
42
|
+
const tools_js_1 = require("../tools.js");
|
|
43
|
+
const args = {
|
|
44
|
+
request: operations.GetOrganizationBillingRequest$inboundSchema,
|
|
45
|
+
};
|
|
46
|
+
exports.tool$billingGetOrganizationBilling = {
|
|
47
|
+
name: "billing-get-organization-billing",
|
|
48
|
+
description: ``,
|
|
49
|
+
args,
|
|
50
|
+
tool: async (client, args, ctx) => {
|
|
51
|
+
const [result, apiCall] = await (0, billingGetOrganizationBilling_js_1.billingGetOrganizationBilling)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52
|
+
if (!result.ok) {
|
|
53
|
+
return {
|
|
54
|
+
content: [{ type: "text", text: result.error.message }],
|
|
55
|
+
isError: true,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
const value = result.value;
|
|
59
|
+
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=billingGetOrganizationBilling.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingGetOrganizationBilling.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/billingGetOrganizationBilling.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,mGAA6F;AAC7F,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,2CAA2C;CAChE,CAAC;AAEW,QAAA,kCAAkC,GAAgC;IAC7E,IAAI,EAAE,kCAAkC;IACxC,WAAW,EAAE,EAAE;IACf,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,gEAA6B,EAC3D,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as operations from "../../models/operations/index.js";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
request: import("zod").ZodType<operations.ListOrganizationBillingInvoicesRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
+
};
|
|
6
|
+
export declare const tool$billingListOrganizationBillingInvoices: ToolDefinition<typeof args>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=billingListOrganizationBillingInvoices.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingListOrganizationBillingInvoices.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/billingListOrganizationBillingInvoices.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,2CAA2C,EAAE,cAAc,CACtE,OAAO,IAAI,CAuBZ,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.tool$billingListOrganizationBillingInvoices = void 0;
|
|
40
|
+
const billingListOrganizationBillingInvoices_js_1 = require("../../funcs/billingListOrganizationBillingInvoices.js");
|
|
41
|
+
const operations = __importStar(require("../../models/operations/index.js"));
|
|
42
|
+
const tools_js_1 = require("../tools.js");
|
|
43
|
+
const args = {
|
|
44
|
+
request: operations.ListOrganizationBillingInvoicesRequest$inboundSchema,
|
|
45
|
+
};
|
|
46
|
+
exports.tool$billingListOrganizationBillingInvoices = {
|
|
47
|
+
name: "billing-list-organization-billing-invoices",
|
|
48
|
+
description: ``,
|
|
49
|
+
args,
|
|
50
|
+
tool: async (client, args, ctx) => {
|
|
51
|
+
const [result, apiCall] = await (0, billingListOrganizationBillingInvoices_js_1.billingListOrganizationBillingInvoices)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52
|
+
if (!result.ok) {
|
|
53
|
+
return {
|
|
54
|
+
content: [{ type: "text", text: result.error.message }],
|
|
55
|
+
isError: true,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
const value = result.value;
|
|
59
|
+
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=billingListOrganizationBillingInvoices.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingListOrganizationBillingInvoices.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/billingListOrganizationBillingInvoices.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qHAA+G;AAC/G,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,oDAAoD;CACzE,CAAC;AAEW,QAAA,2CAA2C,GAEpD;IACF,IAAI,EAAE,4CAA4C;IAClD,WAAW,EAAE,EAAE;IACf,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,kFAAsC,EACpE,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as operations from "../../models/operations/index.js";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
request: import("zod").ZodType<operations.SetOrganizationBillingEnabledRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
+
};
|
|
6
|
+
export declare const tool$billingSetOrganizationBillingEnabled: ToolDefinition<typeof args>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=billingSetOrganizationBillingEnabled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingSetOrganizationBillingEnabled.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/billingSetOrganizationBillingEnabled.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,yCAAyC,EAAE,cAAc,CACpE,OAAO,IAAI,CAuBZ,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.tool$billingSetOrganizationBillingEnabled = void 0;
|
|
40
|
+
const billingSetOrganizationBillingEnabled_js_1 = require("../../funcs/billingSetOrganizationBillingEnabled.js");
|
|
41
|
+
const operations = __importStar(require("../../models/operations/index.js"));
|
|
42
|
+
const tools_js_1 = require("../tools.js");
|
|
43
|
+
const args = {
|
|
44
|
+
request: operations.SetOrganizationBillingEnabledRequest$inboundSchema,
|
|
45
|
+
};
|
|
46
|
+
exports.tool$billingSetOrganizationBillingEnabled = {
|
|
47
|
+
name: "billing-set-organization-billing-enabled",
|
|
48
|
+
description: ``,
|
|
49
|
+
args,
|
|
50
|
+
tool: async (client, args, ctx) => {
|
|
51
|
+
const [result, apiCall] = await (0, billingSetOrganizationBillingEnabled_js_1.billingSetOrganizationBillingEnabled)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52
|
+
if (!result.ok) {
|
|
53
|
+
return {
|
|
54
|
+
content: [{ type: "text", text: result.error.message }],
|
|
55
|
+
isError: true,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
const value = result.value;
|
|
59
|
+
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=billingSetOrganizationBillingEnabled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingSetOrganizationBillingEnabled.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/billingSetOrganizationBillingEnabled.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,iHAA2G;AAC3G,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,kDAAkD;CACvE,CAAC;AAEW,QAAA,yCAAyC,GAElD;IACF,IAAI,EAAE,0CAA0C;IAChD,WAAW,EAAE,EAAE;IACf,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,8EAAoC,EAClE,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as operations from "../../models/operations/index.js";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
request: import("zod").ZodType<operations.UpdateOrganizationBillingProfileRequestBody, import("zod").ZodTypeDef, unknown>;
|
|
5
|
+
};
|
|
6
|
+
export declare const tool$billingUpdateOrganizationBillingProfile: ToolDefinition<typeof args>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=billingUpdateOrganizationBillingProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingUpdateOrganizationBillingProfile.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/billingUpdateOrganizationBillingProfile.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,4CAA4C,EAAE,cAAc,CACvE,OAAO,IAAI,CAuBZ,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.tool$billingUpdateOrganizationBillingProfile = void 0;
|
|
40
|
+
const billingUpdateOrganizationBillingProfile_js_1 = require("../../funcs/billingUpdateOrganizationBillingProfile.js");
|
|
41
|
+
const operations = __importStar(require("../../models/operations/index.js"));
|
|
42
|
+
const tools_js_1 = require("../tools.js");
|
|
43
|
+
const args = {
|
|
44
|
+
request: operations.UpdateOrganizationBillingProfileRequestBody$inboundSchema,
|
|
45
|
+
};
|
|
46
|
+
exports.tool$billingUpdateOrganizationBillingProfile = {
|
|
47
|
+
name: "billing-update-organization-billing-profile",
|
|
48
|
+
description: ``,
|
|
49
|
+
args,
|
|
50
|
+
tool: async (client, args, ctx) => {
|
|
51
|
+
const [result, apiCall] = await (0, billingUpdateOrganizationBillingProfile_js_1.billingUpdateOrganizationBillingProfile)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52
|
+
if (!result.ok) {
|
|
53
|
+
return {
|
|
54
|
+
content: [{ type: "text", text: result.error.message }],
|
|
55
|
+
isError: true,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
const value = result.value;
|
|
59
|
+
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=billingUpdateOrganizationBillingProfile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billingUpdateOrganizationBillingProfile.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/billingUpdateOrganizationBillingProfile.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uHAAiH;AACjH,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,yDAAyD;CAC9E,CAAC;AAEW,QAAA,4CAA4C,GAErD;IACF,IAAI,EAAE,6CAA6C;IACnD,WAAW,EAAE,EAAE;IACf,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,oFAAuC,EACrE,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -2,7 +2,10 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
export type ComputeScalingInput = {
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* How long demand must stay low before a replica is removed. Required, and at least 1, when min_replicas < max_replicas. A fixed policy (min_replicas == max_replicas) has none: one sent with it is ignored, and a fixed policy reports 0 until clients accept the field's absence.
|
|
7
|
+
*/
|
|
8
|
+
idleTimeoutSeconds?: number | undefined;
|
|
6
9
|
maxReplicas: number;
|
|
7
10
|
minReplicas: number;
|
|
8
11
|
targetConcurrencyPerReplica?: number | undefined;
|
|
@@ -11,7 +14,7 @@ export type ComputeScalingInput = {
|
|
|
11
14
|
export declare const ComputeScalingInput$inboundSchema: z.ZodType<ComputeScalingInput, z.ZodTypeDef, unknown>;
|
|
12
15
|
/** @internal */
|
|
13
16
|
export type ComputeScalingInput$Outbound = {
|
|
14
|
-
idle_timeout_seconds
|
|
17
|
+
idle_timeout_seconds?: number | undefined;
|
|
15
18
|
max_replicas: number;
|
|
16
19
|
min_replicas: number;
|
|
17
20
|
target_concurrency_per_replica?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computescalinginput.d.ts","sourceRoot":"","sources":["../../../../src/models/components/computescalinginput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAChC,kBAAkB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"computescalinginput.d.ts","sourceRoot":"","sources":["../../../../src/models/components/computescalinginput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,2BAA2B,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAaP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,8BAA8B,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAanB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AACD,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -44,7 +44,7 @@ const primitives_js_1 = require("../../lib/primitives.js");
|
|
|
44
44
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
45
|
/** @internal */
|
|
46
46
|
exports.ComputeScalingInput$inboundSchema = z.object({
|
|
47
|
-
idle_timeout_seconds: z.number().int(),
|
|
47
|
+
idle_timeout_seconds: z.number().int().optional(),
|
|
48
48
|
max_replicas: z.number().int(),
|
|
49
49
|
min_replicas: z.number().int(),
|
|
50
50
|
target_concurrency_per_replica: z.number().int().optional(),
|
|
@@ -58,7 +58,7 @@ exports.ComputeScalingInput$inboundSchema = z.object({
|
|
|
58
58
|
});
|
|
59
59
|
/** @internal */
|
|
60
60
|
exports.ComputeScalingInput$outboundSchema = z.object({
|
|
61
|
-
idleTimeoutSeconds: z.number().int(),
|
|
61
|
+
idleTimeoutSeconds: z.number().int().optional(),
|
|
62
62
|
maxReplicas: z.number().int(),
|
|
63
63
|
minReplicas: z.number().int(),
|
|
64
64
|
targetConcurrencyPerReplica: z.number().int().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computescalinginput.js","sourceRoot":"","sources":["../../../../src/models/components/computescalinginput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"computescalinginput.js","sourceRoot":"","sources":["../../../../src/models/components/computescalinginput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DH,8DAMC;AACD,kEAQC;AA5ED,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAcjD,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACjD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,8BAA8B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CAC5D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,sBAAsB,EAAE,oBAAoB;QAC5C,cAAc,EAAE,aAAa;QAC7B,cAAc,EAAE,aAAa;QAC7B,gCAAgC,EAAE,6BAA6B;KAChE,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC/C,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC7B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC7B,2BAA2B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACzD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,kBAAkB,EAAE,sBAAsB;QAC1C,WAAW,EAAE,cAAc;QAC3B,WAAW,EAAE,cAAc;QAC3B,2BAA2B,EAAE,gCAAgC;KAC9D,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AACD,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type CreateOrganizationBillingPortalRequestBody = {};
|
|
5
|
+
/**
|
|
6
|
+
* OK
|
|
7
|
+
*/
|
|
8
|
+
export type CreateOrganizationBillingPortalResponseBody = {
|
|
9
|
+
url: string;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const CreateOrganizationBillingPortalRequestBody$inboundSchema: z.ZodType<CreateOrganizationBillingPortalRequestBody, z.ZodTypeDef, unknown>;
|
|
13
|
+
/** @internal */
|
|
14
|
+
export type CreateOrganizationBillingPortalRequestBody$Outbound = {};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const CreateOrganizationBillingPortalRequestBody$outboundSchema: z.ZodType<CreateOrganizationBillingPortalRequestBody$Outbound, z.ZodTypeDef, CreateOrganizationBillingPortalRequestBody>;
|
|
17
|
+
export declare function createOrganizationBillingPortalRequestBodyToJSON(createOrganizationBillingPortalRequestBody: CreateOrganizationBillingPortalRequestBody): string;
|
|
18
|
+
export declare function createOrganizationBillingPortalRequestBodyFromJSON(jsonString: string): SafeParseResult<CreateOrganizationBillingPortalRequestBody, SDKValidationError>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const CreateOrganizationBillingPortalResponseBody$inboundSchema: z.ZodType<CreateOrganizationBillingPortalResponseBody, z.ZodTypeDef, unknown>;
|
|
21
|
+
/** @internal */
|
|
22
|
+
export type CreateOrganizationBillingPortalResponseBody$Outbound = {
|
|
23
|
+
url: string;
|
|
24
|
+
};
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare const CreateOrganizationBillingPortalResponseBody$outboundSchema: z.ZodType<CreateOrganizationBillingPortalResponseBody$Outbound, z.ZodTypeDef, CreateOrganizationBillingPortalResponseBody>;
|
|
27
|
+
export declare function createOrganizationBillingPortalResponseBodyToJSON(createOrganizationBillingPortalResponseBody: CreateOrganizationBillingPortalResponseBody): string;
|
|
28
|
+
export declare function createOrganizationBillingPortalResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateOrganizationBillingPortalResponseBody, SDKValidationError>;
|
|
29
|
+
//# sourceMappingURL=createorganizationbillingportal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createorganizationbillingportal.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/createorganizationbillingportal.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,0CAA0C,GAAG,EAAE,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,2CAA2C,GAAG;IACxD,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,OAAO,CAAC,0CAA0C,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAC7D,CAAC;AACjB,gBAAgB;AAChB,MAAM,MAAM,mDAAmD,GAAG,EAAE,CAAC;AAErE,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,OAAO,CACP,mDAAmD,EACnD,CAAC,CAAC,UAAU,EACZ,0CAA0C,CAC5B,CAAC;AAEnB,wBAAgB,gDAAgD,CAC9D,0CAA0C,EACxC,0CAA0C,GAC3C,MAAM,CAMR;AACD,wBAAgB,kDAAkD,CAChE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,0CAA0C,EAC1C,kBAAkB,CACnB,CASA;AAED,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,OAAO,CACP,2CAA2C,EAC3C,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AACL,gBAAgB;AAChB,MAAM,MAAM,oDAAoD,GAAG;IACjE,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,OAAO,CACP,oDAAoD,EACpD,CAAC,CAAC,UAAU,EACZ,2CAA2C,CAG3C,CAAC;AAEL,wBAAgB,iDAAiD,CAC/D,2CAA2C,EACzC,2CAA2C,GAC5C,MAAM,CAMR;AACD,wBAAgB,mDAAmD,CACjE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,2CAA2C,EAC3C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreateOrganizationBillingPortalResponseBody$outboundSchema = exports.CreateOrganizationBillingPortalResponseBody$inboundSchema = exports.CreateOrganizationBillingPortalRequestBody$outboundSchema = exports.CreateOrganizationBillingPortalRequestBody$inboundSchema = void 0;
|
|
40
|
+
exports.createOrganizationBillingPortalRequestBodyToJSON = createOrganizationBillingPortalRequestBodyToJSON;
|
|
41
|
+
exports.createOrganizationBillingPortalRequestBodyFromJSON = createOrganizationBillingPortalRequestBodyFromJSON;
|
|
42
|
+
exports.createOrganizationBillingPortalResponseBodyToJSON = createOrganizationBillingPortalResponseBodyToJSON;
|
|
43
|
+
exports.createOrganizationBillingPortalResponseBodyFromJSON = createOrganizationBillingPortalResponseBodyFromJSON;
|
|
44
|
+
const z = __importStar(require("zod/v3"));
|
|
45
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.CreateOrganizationBillingPortalRequestBody$inboundSchema = z.object({});
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.CreateOrganizationBillingPortalRequestBody$outboundSchema = z.object({});
|
|
50
|
+
function createOrganizationBillingPortalRequestBodyToJSON(createOrganizationBillingPortalRequestBody) {
|
|
51
|
+
return JSON.stringify(exports.CreateOrganizationBillingPortalRequestBody$outboundSchema.parse(createOrganizationBillingPortalRequestBody));
|
|
52
|
+
}
|
|
53
|
+
function createOrganizationBillingPortalRequestBodyFromJSON(jsonString) {
|
|
54
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateOrganizationBillingPortalRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateOrganizationBillingPortalRequestBody' from JSON`);
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
exports.CreateOrganizationBillingPortalResponseBody$inboundSchema = z.object({
|
|
58
|
+
url: z.string(),
|
|
59
|
+
});
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.CreateOrganizationBillingPortalResponseBody$outboundSchema = z.object({
|
|
62
|
+
url: z.string(),
|
|
63
|
+
});
|
|
64
|
+
function createOrganizationBillingPortalResponseBodyToJSON(createOrganizationBillingPortalResponseBody) {
|
|
65
|
+
return JSON.stringify(exports.CreateOrganizationBillingPortalResponseBody$outboundSchema.parse(createOrganizationBillingPortalResponseBody));
|
|
66
|
+
}
|
|
67
|
+
function createOrganizationBillingPortalResponseBodyFromJSON(jsonString) {
|
|
68
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateOrganizationBillingPortalResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateOrganizationBillingPortalResponseBody' from JSON`);
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=createorganizationbillingportal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createorganizationbillingportal.js","sourceRoot":"","sources":["../../../../src/models/operations/createorganizationbillingportal.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BH,4GASC;AACD,gHAcC;AA0BD,8GASC;AACD,kHAcC;AAvGD,0CAA4B;AAC5B,qDAAiD;AAajD,gBAAgB;AACH,QAAA,wDAAwD,GAEjE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAIjB,gBAAgB;AACH,QAAA,yDAAyD,GAKhE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEnB,SAAgB,gDAAgD,CAC9D,0CAC4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,iEAAyD,CAAC,KAAK,CAC7D,0CAA0C,CAC3C,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,kDAAkD,CAChE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,gEAAwD,CAAC,KAAK,CAC5D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,wEAAwE,CACzE,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,yDAAyD,GAKhE,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAML,gBAAgB;AACH,QAAA,0DAA0D,GAKjE,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEL,SAAgB,iDAAiD,CAC/D,2CAC6C;IAE7C,OAAO,IAAI,CAAC,SAAS,CACnB,kEAA0D,CAAC,KAAK,CAC9D,2CAA2C,CAC5C,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,mDAAmD,CACjE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iEAAyD,CAAC,KAAK,CAC7D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,yEAAyE,CAC1E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type CreateOrganizationBillingSetupRequestBody = {};
|
|
5
|
+
/**
|
|
6
|
+
* OK
|
|
7
|
+
*/
|
|
8
|
+
export type CreateOrganizationBillingSetupResponseBody = {
|
|
9
|
+
url: string;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const CreateOrganizationBillingSetupRequestBody$inboundSchema: z.ZodType<CreateOrganizationBillingSetupRequestBody, z.ZodTypeDef, unknown>;
|
|
13
|
+
/** @internal */
|
|
14
|
+
export type CreateOrganizationBillingSetupRequestBody$Outbound = {};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const CreateOrganizationBillingSetupRequestBody$outboundSchema: z.ZodType<CreateOrganizationBillingSetupRequestBody$Outbound, z.ZodTypeDef, CreateOrganizationBillingSetupRequestBody>;
|
|
17
|
+
export declare function createOrganizationBillingSetupRequestBodyToJSON(createOrganizationBillingSetupRequestBody: CreateOrganizationBillingSetupRequestBody): string;
|
|
18
|
+
export declare function createOrganizationBillingSetupRequestBodyFromJSON(jsonString: string): SafeParseResult<CreateOrganizationBillingSetupRequestBody, SDKValidationError>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const CreateOrganizationBillingSetupResponseBody$inboundSchema: z.ZodType<CreateOrganizationBillingSetupResponseBody, z.ZodTypeDef, unknown>;
|
|
21
|
+
/** @internal */
|
|
22
|
+
export type CreateOrganizationBillingSetupResponseBody$Outbound = {
|
|
23
|
+
url: string;
|
|
24
|
+
};
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare const CreateOrganizationBillingSetupResponseBody$outboundSchema: z.ZodType<CreateOrganizationBillingSetupResponseBody$Outbound, z.ZodTypeDef, CreateOrganizationBillingSetupResponseBody>;
|
|
27
|
+
export declare function createOrganizationBillingSetupResponseBodyToJSON(createOrganizationBillingSetupResponseBody: CreateOrganizationBillingSetupResponseBody): string;
|
|
28
|
+
export declare function createOrganizationBillingSetupResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateOrganizationBillingSetupResponseBody, SDKValidationError>;
|
|
29
|
+
//# sourceMappingURL=createorganizationbillingsetup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createorganizationbillingsetup.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/createorganizationbillingsetup.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,yCAAyC,GAAG,EAAE,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,0CAA0C,GAAG;IACvD,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uDAAuD,EAAE,CAAC,CAAC,OAAO,CAC7E,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AACjB,gBAAgB;AAChB,MAAM,MAAM,kDAAkD,GAAG,EAAE,CAAC;AAEpE,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,OAAO,CACP,kDAAkD,EAClD,CAAC,CAAC,UAAU,EACZ,yCAAyC,CAC3B,CAAC;AAEnB,wBAAgB,+CAA+C,CAC7D,yCAAyC,EACvC,yCAAyC,GAC1C,MAAM,CAMR;AACD,wBAAgB,iDAAiD,CAC/D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,yCAAyC,EACzC,kBAAkB,CACnB,CASA;AAED,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,OAAO,CAAC,0CAA0C,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAGvE,CAAC;AACP,gBAAgB;AAChB,MAAM,MAAM,mDAAmD,GAAG;IAChE,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,OAAO,CACP,mDAAmD,EACnD,CAAC,CAAC,UAAU,EACZ,0CAA0C,CAG1C,CAAC;AAEL,wBAAgB,gDAAgD,CAC9D,0CAA0C,EACxC,0CAA0C,GAC3C,MAAM,CAMR;AACD,wBAAgB,kDAAkD,CAChE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,0CAA0C,EAC1C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreateOrganizationBillingSetupResponseBody$outboundSchema = exports.CreateOrganizationBillingSetupResponseBody$inboundSchema = exports.CreateOrganizationBillingSetupRequestBody$outboundSchema = exports.CreateOrganizationBillingSetupRequestBody$inboundSchema = void 0;
|
|
40
|
+
exports.createOrganizationBillingSetupRequestBodyToJSON = createOrganizationBillingSetupRequestBodyToJSON;
|
|
41
|
+
exports.createOrganizationBillingSetupRequestBodyFromJSON = createOrganizationBillingSetupRequestBodyFromJSON;
|
|
42
|
+
exports.createOrganizationBillingSetupResponseBodyToJSON = createOrganizationBillingSetupResponseBodyToJSON;
|
|
43
|
+
exports.createOrganizationBillingSetupResponseBodyFromJSON = createOrganizationBillingSetupResponseBodyFromJSON;
|
|
44
|
+
const z = __importStar(require("zod/v3"));
|
|
45
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.CreateOrganizationBillingSetupRequestBody$inboundSchema = z.object({});
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.CreateOrganizationBillingSetupRequestBody$outboundSchema = z.object({});
|
|
50
|
+
function createOrganizationBillingSetupRequestBodyToJSON(createOrganizationBillingSetupRequestBody) {
|
|
51
|
+
return JSON.stringify(exports.CreateOrganizationBillingSetupRequestBody$outboundSchema.parse(createOrganizationBillingSetupRequestBody));
|
|
52
|
+
}
|
|
53
|
+
function createOrganizationBillingSetupRequestBodyFromJSON(jsonString) {
|
|
54
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateOrganizationBillingSetupRequestBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateOrganizationBillingSetupRequestBody' from JSON`);
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
exports.CreateOrganizationBillingSetupResponseBody$inboundSchema = z.object({
|
|
58
|
+
url: z.string(),
|
|
59
|
+
});
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.CreateOrganizationBillingSetupResponseBody$outboundSchema = z.object({
|
|
62
|
+
url: z.string(),
|
|
63
|
+
});
|
|
64
|
+
function createOrganizationBillingSetupResponseBodyToJSON(createOrganizationBillingSetupResponseBody) {
|
|
65
|
+
return JSON.stringify(exports.CreateOrganizationBillingSetupResponseBody$outboundSchema.parse(createOrganizationBillingSetupResponseBody));
|
|
66
|
+
}
|
|
67
|
+
function createOrganizationBillingSetupResponseBodyFromJSON(jsonString) {
|
|
68
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateOrganizationBillingSetupResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateOrganizationBillingSetupResponseBody' from JSON`);
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=createorganizationbillingsetup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createorganizationbillingsetup.js","sourceRoot":"","sources":["../../../../src/models/operations/createorganizationbillingsetup.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCH,0GASC;AACD,8GAcC;AAuBD,4GASC;AACD,gHAcC;AAtGD,0CAA4B;AAC5B,qDAAiD;AAajD,gBAAgB;AACH,QAAA,uDAAuD,GAIhE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAIjB,gBAAgB;AACH,QAAA,wDAAwD,GAK/D,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEnB,SAAgB,+CAA+C,CAC7D,yCAC2C;IAE3C,OAAO,IAAI,CAAC,SAAS,CACnB,gEAAwD,CAAC,KAAK,CAC5D,yCAAyC,CAC1C,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,iDAAiD,CAC/D,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,+DAAuD,CAAC,KAAK,CAC3D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,uEAAuE,CACxE,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,wDAAwD,GAEjE,CAAC,CAAC,MAAM,CAAC;IACP,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAMP,gBAAgB;AACH,QAAA,yDAAyD,GAKhE,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEL,SAAgB,gDAAgD,CAC9D,0CAC4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,iEAAyD,CAAC,KAAK,CAC7D,0CAA0C,CAC3C,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,kDAAkD,CAChE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,gEAAwD,CAAC,KAAK,CAC5D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,wEAAwE,CACzE,CAAC;AACJ,CAAC"}
|
|
@@ -30,6 +30,10 @@ export type Capabilities = {
|
|
|
30
30
|
* Whether an LLM accepts the top_p parameter on chat-shaped generation routes; false for non-LLM models.
|
|
31
31
|
*/
|
|
32
32
|
supportsTopP: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Whether this LLM is a reasoning model, mirroring the registry's `capabilities.reasoning`; false for non-LLM models. Reasoning models think before answering, so part of their output tokens go to reasoning. Independent of `supports_reasoning_effort`: a reasoning model can ignore the effort level.
|
|
35
|
+
*/
|
|
36
|
+
supportsReasoning: boolean;
|
|
33
37
|
/**
|
|
34
38
|
* Whether chat-shaped generation routes forward the Responses `reasoning.effort` / chat-completions `reasoning_effort` parameter to this model; false for non-LLM models. When false the parameter is accepted and dropped. Accepted values are those of the route's `reasoning.effort` enum.
|
|
35
39
|
*/
|
|
@@ -90,6 +94,7 @@ export declare const Capabilities$inboundSchema: z.ZodType<Capabilities, z.ZodTy
|
|
|
90
94
|
export type Capabilities$Outbound = {
|
|
91
95
|
supports_temperature: boolean;
|
|
92
96
|
supports_top_p: boolean;
|
|
97
|
+
supports_reasoning: boolean;
|
|
93
98
|
supports_reasoning_effort: boolean;
|
|
94
99
|
};
|
|
95
100
|
/** @internal */
|