@meetkai/mka1 0.48.34 → 0.48.36
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 +250 -232
- package/bin/mcp-server.js +1978 -1147
- package/bin/mcp-server.js.map +29 -11
- package/dist/commonjs/funcs/llmModelsAddClusterRegistryModel.d.ts +17 -0
- package/dist/commonjs/funcs/llmModelsAddClusterRegistryModel.d.ts.map +1 -0
- package/dist/commonjs/funcs/llmModelsAddClusterRegistryModel.js +125 -0
- package/dist/commonjs/funcs/llmModelsAddClusterRegistryModel.js.map +1 -0
- package/dist/commonjs/funcs/llmModelsGetClusterRegistryModel.d.ts +18 -0
- package/dist/commonjs/funcs/llmModelsGetClusterRegistryModel.d.ts.map +1 -0
- package/dist/commonjs/funcs/llmModelsGetClusterRegistryModel.js +131 -0
- package/dist/commonjs/funcs/llmModelsGetClusterRegistryModel.js.map +1 -0
- package/dist/commonjs/funcs/llmModelsListClusterRegistryModels.d.ts +17 -0
- package/dist/commonjs/funcs/llmModelsListClusterRegistryModels.d.ts.map +1 -0
- package/dist/commonjs/funcs/llmModelsListClusterRegistryModels.js +115 -0
- package/dist/commonjs/funcs/llmModelsListClusterRegistryModels.js.map +1 -0
- package/dist/commonjs/funcs/llmModelsListEffectivePrices.d.ts +18 -0
- package/dist/commonjs/funcs/llmModelsListEffectivePrices.d.ts.map +1 -0
- package/dist/commonjs/funcs/llmModelsListEffectivePrices.js +126 -0
- package/dist/commonjs/funcs/llmModelsListEffectivePrices.js.map +1 -0
- package/dist/commonjs/funcs/llmModelsRemoveClusterRegistryModel.d.ts +18 -0
- package/dist/commonjs/funcs/llmModelsRemoveClusterRegistryModel.d.ts.map +1 -0
- package/dist/commonjs/funcs/llmModelsRemoveClusterRegistryModel.js +131 -0
- package/dist/commonjs/funcs/llmModelsRemoveClusterRegistryModel.js.map +1 -0
- package/dist/commonjs/funcs/llmModelsUpdateClusterRegistryModel.d.ts +18 -0
- package/dist/commonjs/funcs/llmModelsUpdateClusterRegistryModel.d.ts.map +1 -0
- package/dist/commonjs/funcs/llmModelsUpdateClusterRegistryModel.js +134 -0
- package/dist/commonjs/funcs/llmModelsUpdateClusterRegistryModel.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/llmModelsAddClusterRegistryModel.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/llmModelsAddClusterRegistryModel.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmModelsAddClusterRegistryModel.js +64 -0
- package/dist/commonjs/mcp-server/tools/llmModelsAddClusterRegistryModel.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmModelsGetClusterRegistryModel.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/llmModelsGetClusterRegistryModel.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmModelsGetClusterRegistryModel.js +64 -0
- package/dist/commonjs/mcp-server/tools/llmModelsGetClusterRegistryModel.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmModelsListClusterRegistryModels.d.ts +3 -0
- package/dist/commonjs/mcp-server/tools/llmModelsListClusterRegistryModels.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmModelsListClusterRegistryModels.js +26 -0
- package/dist/commonjs/mcp-server/tools/llmModelsListClusterRegistryModels.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmModelsListEffectivePrices.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/llmModelsListEffectivePrices.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmModelsListEffectivePrices.js +64 -0
- package/dist/commonjs/mcp-server/tools/llmModelsListEffectivePrices.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmModelsRemoveClusterRegistryModel.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/llmModelsRemoveClusterRegistryModel.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmModelsRemoveClusterRegistryModel.js +64 -0
- package/dist/commonjs/mcp-server/tools/llmModelsRemoveClusterRegistryModel.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmModelsUpdateClusterRegistryModel.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/llmModelsUpdateClusterRegistryModel.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmModelsUpdateClusterRegistryModel.js +64 -0
- package/dist/commonjs/mcp-server/tools/llmModelsUpdateClusterRegistryModel.js.map +1 -0
- package/dist/commonjs/models/components/effectivepricerow.d.ts +65 -0
- package/dist/commonjs/models/components/effectivepricerow.d.ts.map +1 -0
- package/dist/commonjs/models/components/effectivepricerow.js +120 -0
- package/dist/commonjs/models/components/effectivepricerow.js.map +1 -0
- package/dist/commonjs/models/components/effectivepricesresponse.d.ts +22 -0
- package/dist/commonjs/models/components/effectivepricesresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/effectivepricesresponse.js +63 -0
- package/dist/commonjs/models/components/effectivepricesresponse.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +2 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +2 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/modelpricerow.d.ts +2 -2
- package/dist/commonjs/models/components/modelpricerow.d.ts.map +1 -1
- package/dist/commonjs/models/components/modelpricerow.js +2 -2
- package/dist/commonjs/models/components/modelpricerow.js.map +1 -1
- package/dist/commonjs/models/operations/createclusterinvite.d.ts +2 -0
- package/dist/commonjs/models/operations/createclusterinvite.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createclusterinvite.js +2 -0
- package/dist/commonjs/models/operations/createclusterinvite.js.map +1 -1
- package/dist/commonjs/models/operations/getclusterregistrymodel.d.ts +17 -0
- package/dist/commonjs/models/operations/getclusterregistrymodel.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getclusterregistrymodel.js +58 -0
- package/dist/commonjs/models/operations/getclusterregistrymodel.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +4 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +4 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listclusterinvites.d.ts +2 -0
- package/dist/commonjs/models/operations/listclusterinvites.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listclusterinvites.js +2 -0
- package/dist/commonjs/models/operations/listclusterinvites.js.map +1 -1
- package/dist/commonjs/models/operations/listeffectiveprices.d.ts +20 -0
- package/dist/commonjs/models/operations/listeffectiveprices.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listeffectiveprices.js +67 -0
- package/dist/commonjs/models/operations/listeffectiveprices.js.map +1 -0
- package/dist/commonjs/models/operations/removeclusterregistrymodel.d.ts +17 -0
- package/dist/commonjs/models/operations/removeclusterregistrymodel.d.ts.map +1 -0
- package/dist/commonjs/models/operations/removeclusterregistrymodel.js +58 -0
- package/dist/commonjs/models/operations/removeclusterregistrymodel.js.map +1 -0
- package/dist/commonjs/models/operations/updateclusterregistrymodel.d.ts +20 -0
- package/dist/commonjs/models/operations/updateclusterregistrymodel.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updateclusterregistrymodel.js +70 -0
- package/dist/commonjs/models/operations/updateclusterregistrymodel.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/react-query/llmModelsAddClusterRegistryModel.d.ts +28 -0
- package/dist/commonjs/react-query/llmModelsAddClusterRegistryModel.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmModelsAddClusterRegistryModel.js +47 -0
- package/dist/commonjs/react-query/llmModelsAddClusterRegistryModel.js.map +1 -0
- package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.core.d.ts +13 -0
- package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.core.js +34 -0
- package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.core.js.map +1 -0
- package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.d.ts +28 -0
- package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.js +65 -0
- package/dist/commonjs/react-query/llmModelsGetClusterRegistryModel.js.map +1 -0
- package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.core.d.ts +12 -0
- package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.core.js +34 -0
- package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.core.js.map +1 -0
- package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.d.ts +26 -0
- package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.js +53 -0
- package/dist/commonjs/react-query/llmModelsListClusterRegistryModels.js.map +1 -0
- package/dist/commonjs/react-query/llmModelsListEffectivePrices.core.d.ts +15 -0
- package/dist/commonjs/react-query/llmModelsListEffectivePrices.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmModelsListEffectivePrices.core.js +36 -0
- package/dist/commonjs/react-query/llmModelsListEffectivePrices.core.js.map +1 -0
- package/dist/commonjs/react-query/llmModelsListEffectivePrices.d.ts +34 -0
- package/dist/commonjs/react-query/llmModelsListEffectivePrices.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmModelsListEffectivePrices.js +65 -0
- package/dist/commonjs/react-query/llmModelsListEffectivePrices.js.map +1 -0
- package/dist/commonjs/react-query/llmModelsRemoveClusterRegistryModel.d.ts +29 -0
- package/dist/commonjs/react-query/llmModelsRemoveClusterRegistryModel.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmModelsRemoveClusterRegistryModel.js +47 -0
- package/dist/commonjs/react-query/llmModelsRemoveClusterRegistryModel.js.map +1 -0
- package/dist/commonjs/react-query/llmModelsUpdateClusterRegistryModel.d.ts +29 -0
- package/dist/commonjs/react-query/llmModelsUpdateClusterRegistryModel.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmModelsUpdateClusterRegistryModel.js +47 -0
- package/dist/commonjs/react-query/llmModelsUpdateClusterRegistryModel.js.map +1 -0
- package/dist/commonjs/sdk/models.d.ts +42 -0
- package/dist/commonjs/sdk/models.d.ts.map +1 -1
- package/dist/commonjs/sdk/models.js +60 -0
- package/dist/commonjs/sdk/models.js.map +1 -1
- package/dist/esm/funcs/llmModelsAddClusterRegistryModel.d.ts +17 -0
- package/dist/esm/funcs/llmModelsAddClusterRegistryModel.d.ts.map +1 -0
- package/dist/esm/funcs/llmModelsAddClusterRegistryModel.js +89 -0
- package/dist/esm/funcs/llmModelsAddClusterRegistryModel.js.map +1 -0
- package/dist/esm/funcs/llmModelsGetClusterRegistryModel.d.ts +18 -0
- package/dist/esm/funcs/llmModelsGetClusterRegistryModel.d.ts.map +1 -0
- package/dist/esm/funcs/llmModelsGetClusterRegistryModel.js +95 -0
- package/dist/esm/funcs/llmModelsGetClusterRegistryModel.js.map +1 -0
- package/dist/esm/funcs/llmModelsListClusterRegistryModels.d.ts +17 -0
- package/dist/esm/funcs/llmModelsListClusterRegistryModels.d.ts.map +1 -0
- package/dist/esm/funcs/llmModelsListClusterRegistryModels.js +79 -0
- package/dist/esm/funcs/llmModelsListClusterRegistryModels.js.map +1 -0
- package/dist/esm/funcs/llmModelsListEffectivePrices.d.ts +18 -0
- package/dist/esm/funcs/llmModelsListEffectivePrices.d.ts.map +1 -0
- package/dist/esm/funcs/llmModelsListEffectivePrices.js +90 -0
- package/dist/esm/funcs/llmModelsListEffectivePrices.js.map +1 -0
- package/dist/esm/funcs/llmModelsRemoveClusterRegistryModel.d.ts +18 -0
- package/dist/esm/funcs/llmModelsRemoveClusterRegistryModel.d.ts.map +1 -0
- package/dist/esm/funcs/llmModelsRemoveClusterRegistryModel.js +95 -0
- package/dist/esm/funcs/llmModelsRemoveClusterRegistryModel.js.map +1 -0
- package/dist/esm/funcs/llmModelsUpdateClusterRegistryModel.d.ts +18 -0
- package/dist/esm/funcs/llmModelsUpdateClusterRegistryModel.d.ts.map +1 -0
- package/dist/esm/funcs/llmModelsUpdateClusterRegistryModel.js +98 -0
- package/dist/esm/funcs/llmModelsUpdateClusterRegistryModel.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/llmModelsAddClusterRegistryModel.d.ts +8 -0
- package/dist/esm/mcp-server/tools/llmModelsAddClusterRegistryModel.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/llmModelsAddClusterRegistryModel.js +28 -0
- package/dist/esm/mcp-server/tools/llmModelsAddClusterRegistryModel.js.map +1 -0
- package/dist/esm/mcp-server/tools/llmModelsGetClusterRegistryModel.d.ts +8 -0
- package/dist/esm/mcp-server/tools/llmModelsGetClusterRegistryModel.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/llmModelsGetClusterRegistryModel.js +28 -0
- package/dist/esm/mcp-server/tools/llmModelsGetClusterRegistryModel.js.map +1 -0
- package/dist/esm/mcp-server/tools/llmModelsListClusterRegistryModels.d.ts +3 -0
- package/dist/esm/mcp-server/tools/llmModelsListClusterRegistryModels.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/llmModelsListClusterRegistryModels.js +23 -0
- package/dist/esm/mcp-server/tools/llmModelsListClusterRegistryModels.js.map +1 -0
- package/dist/esm/mcp-server/tools/llmModelsListEffectivePrices.d.ts +8 -0
- package/dist/esm/mcp-server/tools/llmModelsListEffectivePrices.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/llmModelsListEffectivePrices.js +28 -0
- package/dist/esm/mcp-server/tools/llmModelsListEffectivePrices.js.map +1 -0
- package/dist/esm/mcp-server/tools/llmModelsRemoveClusterRegistryModel.d.ts +8 -0
- package/dist/esm/mcp-server/tools/llmModelsRemoveClusterRegistryModel.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/llmModelsRemoveClusterRegistryModel.js +28 -0
- package/dist/esm/mcp-server/tools/llmModelsRemoveClusterRegistryModel.js.map +1 -0
- package/dist/esm/mcp-server/tools/llmModelsUpdateClusterRegistryModel.d.ts +8 -0
- package/dist/esm/mcp-server/tools/llmModelsUpdateClusterRegistryModel.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/llmModelsUpdateClusterRegistryModel.js +28 -0
- package/dist/esm/mcp-server/tools/llmModelsUpdateClusterRegistryModel.js.map +1 -0
- package/dist/esm/models/components/effectivepricerow.d.ts +65 -0
- package/dist/esm/models/components/effectivepricerow.d.ts.map +1 -0
- package/dist/esm/models/components/effectivepricerow.js +80 -0
- package/dist/esm/models/components/effectivepricerow.js.map +1 -0
- package/dist/esm/models/components/effectivepricesresponse.d.ts +22 -0
- package/dist/esm/models/components/effectivepricesresponse.d.ts.map +1 -0
- package/dist/esm/models/components/effectivepricesresponse.js +25 -0
- package/dist/esm/models/components/effectivepricesresponse.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +2 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +2 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/modelpricerow.d.ts +2 -2
- package/dist/esm/models/components/modelpricerow.d.ts.map +1 -1
- package/dist/esm/models/components/modelpricerow.js +2 -2
- package/dist/esm/models/components/modelpricerow.js.map +1 -1
- package/dist/esm/models/operations/createclusterinvite.d.ts +2 -0
- package/dist/esm/models/operations/createclusterinvite.d.ts.map +1 -1
- package/dist/esm/models/operations/createclusterinvite.js +2 -0
- package/dist/esm/models/operations/createclusterinvite.js.map +1 -1
- package/dist/esm/models/operations/getclusterregistrymodel.d.ts +17 -0
- package/dist/esm/models/operations/getclusterregistrymodel.d.ts.map +1 -0
- package/dist/esm/models/operations/getclusterregistrymodel.js +20 -0
- package/dist/esm/models/operations/getclusterregistrymodel.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +4 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +4 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listclusterinvites.d.ts +2 -0
- package/dist/esm/models/operations/listclusterinvites.d.ts.map +1 -1
- package/dist/esm/models/operations/listclusterinvites.js +2 -0
- package/dist/esm/models/operations/listclusterinvites.js.map +1 -1
- package/dist/esm/models/operations/listeffectiveprices.d.ts +20 -0
- package/dist/esm/models/operations/listeffectiveprices.d.ts.map +1 -0
- package/dist/esm/models/operations/listeffectiveprices.js +29 -0
- package/dist/esm/models/operations/listeffectiveprices.js.map +1 -0
- package/dist/esm/models/operations/removeclusterregistrymodel.d.ts +17 -0
- package/dist/esm/models/operations/removeclusterregistrymodel.d.ts.map +1 -0
- package/dist/esm/models/operations/removeclusterregistrymodel.js +20 -0
- package/dist/esm/models/operations/removeclusterregistrymodel.js.map +1 -0
- package/dist/esm/models/operations/updateclusterregistrymodel.d.ts +20 -0
- package/dist/esm/models/operations/updateclusterregistrymodel.d.ts.map +1 -0
- package/dist/esm/models/operations/updateclusterregistrymodel.js +32 -0
- package/dist/esm/models/operations/updateclusterregistrymodel.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/react-query/llmModelsAddClusterRegistryModel.d.ts +28 -0
- package/dist/esm/react-query/llmModelsAddClusterRegistryModel.d.ts.map +1 -0
- package/dist/esm/react-query/llmModelsAddClusterRegistryModel.js +42 -0
- package/dist/esm/react-query/llmModelsAddClusterRegistryModel.js.map +1 -0
- package/dist/esm/react-query/llmModelsGetClusterRegistryModel.core.d.ts +13 -0
- package/dist/esm/react-query/llmModelsGetClusterRegistryModel.core.d.ts.map +1 -0
- package/dist/esm/react-query/llmModelsGetClusterRegistryModel.core.js +29 -0
- package/dist/esm/react-query/llmModelsGetClusterRegistryModel.core.js.map +1 -0
- package/dist/esm/react-query/llmModelsGetClusterRegistryModel.d.ts +28 -0
- package/dist/esm/react-query/llmModelsGetClusterRegistryModel.d.ts.map +1 -0
- package/dist/esm/react-query/llmModelsGetClusterRegistryModel.js +55 -0
- package/dist/esm/react-query/llmModelsGetClusterRegistryModel.js.map +1 -0
- package/dist/esm/react-query/llmModelsListClusterRegistryModels.core.d.ts +12 -0
- package/dist/esm/react-query/llmModelsListClusterRegistryModels.core.d.ts.map +1 -0
- package/dist/esm/react-query/llmModelsListClusterRegistryModels.core.js +29 -0
- package/dist/esm/react-query/llmModelsListClusterRegistryModels.core.js.map +1 -0
- package/dist/esm/react-query/llmModelsListClusterRegistryModels.d.ts +26 -0
- package/dist/esm/react-query/llmModelsListClusterRegistryModels.d.ts.map +1 -0
- package/dist/esm/react-query/llmModelsListClusterRegistryModels.js +44 -0
- package/dist/esm/react-query/llmModelsListClusterRegistryModels.js.map +1 -0
- package/dist/esm/react-query/llmModelsListEffectivePrices.core.d.ts +15 -0
- package/dist/esm/react-query/llmModelsListEffectivePrices.core.d.ts.map +1 -0
- package/dist/esm/react-query/llmModelsListEffectivePrices.core.js +31 -0
- package/dist/esm/react-query/llmModelsListEffectivePrices.core.js.map +1 -0
- package/dist/esm/react-query/llmModelsListEffectivePrices.d.ts +34 -0
- package/dist/esm/react-query/llmModelsListEffectivePrices.d.ts.map +1 -0
- package/dist/esm/react-query/llmModelsListEffectivePrices.js +55 -0
- package/dist/esm/react-query/llmModelsListEffectivePrices.js.map +1 -0
- package/dist/esm/react-query/llmModelsRemoveClusterRegistryModel.d.ts +29 -0
- package/dist/esm/react-query/llmModelsRemoveClusterRegistryModel.d.ts.map +1 -0
- package/dist/esm/react-query/llmModelsRemoveClusterRegistryModel.js +42 -0
- package/dist/esm/react-query/llmModelsRemoveClusterRegistryModel.js.map +1 -0
- package/dist/esm/react-query/llmModelsUpdateClusterRegistryModel.d.ts +29 -0
- package/dist/esm/react-query/llmModelsUpdateClusterRegistryModel.d.ts.map +1 -0
- package/dist/esm/react-query/llmModelsUpdateClusterRegistryModel.js +42 -0
- package/dist/esm/react-query/llmModelsUpdateClusterRegistryModel.js.map +1 -0
- package/dist/esm/sdk/models.d.ts +42 -0
- package/dist/esm/sdk/models.d.ts.map +1 -1
- package/dist/esm/sdk/models.js +60 -0
- package/dist/esm/sdk/models.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/llmModelsAddClusterRegistryModel.ts +172 -0
- package/src/funcs/llmModelsGetClusterRegistryModel.ts +181 -0
- package/src/funcs/llmModelsListClusterRegistryModels.ts +154 -0
- package/src/funcs/llmModelsListEffectivePrices.ts +178 -0
- package/src/funcs/llmModelsRemoveClusterRegistryModel.ts +181 -0
- package/src/funcs/llmModelsUpdateClusterRegistryModel.ts +184 -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/llmModelsAddClusterRegistryModel.ts +39 -0
- package/src/mcp-server/tools/llmModelsGetClusterRegistryModel.ts +39 -0
- package/src/mcp-server/tools/llmModelsListClusterRegistryModels.ts +30 -0
- package/src/mcp-server/tools/llmModelsListEffectivePrices.ts +37 -0
- package/src/mcp-server/tools/llmModelsRemoveClusterRegistryModel.ts +39 -0
- package/src/mcp-server/tools/llmModelsUpdateClusterRegistryModel.ts +39 -0
- package/src/models/components/effectivepricerow.ts +170 -0
- package/src/models/components/effectivepricesresponse.ts +65 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/modelpricerow.ts +4 -4
- package/src/models/operations/createclusterinvite.ts +4 -0
- package/src/models/operations/getclusterregistrymodel.ts +53 -0
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/listclusterinvites.ts +4 -0
- package/src/models/operations/listeffectiveprices.ts +63 -0
- package/src/models/operations/removeclusterregistrymodel.ts +53 -0
- package/src/models/operations/updateclusterregistrymodel.ts +69 -0
- package/src/react-query/index.ts +6 -0
- package/src/react-query/llmModelsAddClusterRegistryModel.ts +109 -0
- package/src/react-query/llmModelsGetClusterRegistryModel.core.ts +72 -0
- package/src/react-query/llmModelsGetClusterRegistryModel.ts +144 -0
- package/src/react-query/llmModelsListClusterRegistryModels.core.ts +67 -0
- package/src/react-query/llmModelsListClusterRegistryModels.ts +118 -0
- package/src/react-query/llmModelsListEffectivePrices.core.ts +76 -0
- package/src/react-query/llmModelsListEffectivePrices.ts +143 -0
- package/src/react-query/llmModelsRemoveClusterRegistryModel.ts +110 -0
- package/src/react-query/llmModelsUpdateClusterRegistryModel.ts +110 -0
- package/src/sdk/models.ts +106 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
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 type EffectivePriceRowRates = {
|
|
13
|
+
inputTokens?: number | undefined;
|
|
14
|
+
outputTokens?: number | undefined;
|
|
15
|
+
cachedTokens?: number | undefined;
|
|
16
|
+
reasoningTokens?: number | undefined;
|
|
17
|
+
characters?: number | undefined;
|
|
18
|
+
seconds?: number | undefined;
|
|
19
|
+
image?: number | undefined;
|
|
20
|
+
imageTiers?: { [k: string]: number } | undefined;
|
|
21
|
+
searches?: number | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export const EffectivePriceRowSource = {
|
|
25
|
+
OrgOverride: "org_override",
|
|
26
|
+
ClusterDefault: "cluster_default",
|
|
27
|
+
Unpriced: "unpriced",
|
|
28
|
+
} as const;
|
|
29
|
+
export type EffectivePriceRowSource = ClosedEnum<
|
|
30
|
+
typeof EffectivePriceRowSource
|
|
31
|
+
>;
|
|
32
|
+
|
|
33
|
+
export type EffectivePriceRow = {
|
|
34
|
+
model: string;
|
|
35
|
+
rates: EffectivePriceRowRates | null;
|
|
36
|
+
source: EffectivePriceRowSource;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const EffectivePriceRowRates$inboundSchema: z.ZodType<
|
|
41
|
+
EffectivePriceRowRates,
|
|
42
|
+
z.ZodTypeDef,
|
|
43
|
+
unknown
|
|
44
|
+
> = z.object({
|
|
45
|
+
input_tokens: z.number().optional(),
|
|
46
|
+
output_tokens: z.number().optional(),
|
|
47
|
+
cached_tokens: z.number().optional(),
|
|
48
|
+
reasoning_tokens: z.number().optional(),
|
|
49
|
+
characters: z.number().optional(),
|
|
50
|
+
seconds: z.number().optional(),
|
|
51
|
+
image: z.number().optional(),
|
|
52
|
+
image_tiers: z.record(z.number()).optional(),
|
|
53
|
+
searches: z.number().optional(),
|
|
54
|
+
}).transform((v) => {
|
|
55
|
+
return remap$(v, {
|
|
56
|
+
"input_tokens": "inputTokens",
|
|
57
|
+
"output_tokens": "outputTokens",
|
|
58
|
+
"cached_tokens": "cachedTokens",
|
|
59
|
+
"reasoning_tokens": "reasoningTokens",
|
|
60
|
+
"image_tiers": "imageTiers",
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
/** @internal */
|
|
64
|
+
export type EffectivePriceRowRates$Outbound = {
|
|
65
|
+
input_tokens?: number | undefined;
|
|
66
|
+
output_tokens?: number | undefined;
|
|
67
|
+
cached_tokens?: number | undefined;
|
|
68
|
+
reasoning_tokens?: number | undefined;
|
|
69
|
+
characters?: number | undefined;
|
|
70
|
+
seconds?: number | undefined;
|
|
71
|
+
image?: number | undefined;
|
|
72
|
+
image_tiers?: { [k: string]: number } | undefined;
|
|
73
|
+
searches?: number | undefined;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/** @internal */
|
|
77
|
+
export const EffectivePriceRowRates$outboundSchema: z.ZodType<
|
|
78
|
+
EffectivePriceRowRates$Outbound,
|
|
79
|
+
z.ZodTypeDef,
|
|
80
|
+
EffectivePriceRowRates
|
|
81
|
+
> = z.object({
|
|
82
|
+
inputTokens: z.number().optional(),
|
|
83
|
+
outputTokens: z.number().optional(),
|
|
84
|
+
cachedTokens: z.number().optional(),
|
|
85
|
+
reasoningTokens: z.number().optional(),
|
|
86
|
+
characters: z.number().optional(),
|
|
87
|
+
seconds: z.number().optional(),
|
|
88
|
+
image: z.number().optional(),
|
|
89
|
+
imageTiers: z.record(z.number()).optional(),
|
|
90
|
+
searches: z.number().optional(),
|
|
91
|
+
}).transform((v) => {
|
|
92
|
+
return remap$(v, {
|
|
93
|
+
inputTokens: "input_tokens",
|
|
94
|
+
outputTokens: "output_tokens",
|
|
95
|
+
cachedTokens: "cached_tokens",
|
|
96
|
+
reasoningTokens: "reasoning_tokens",
|
|
97
|
+
imageTiers: "image_tiers",
|
|
98
|
+
});
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
export function effectivePriceRowRatesToJSON(
|
|
102
|
+
effectivePriceRowRates: EffectivePriceRowRates,
|
|
103
|
+
): string {
|
|
104
|
+
return JSON.stringify(
|
|
105
|
+
EffectivePriceRowRates$outboundSchema.parse(effectivePriceRowRates),
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
export function effectivePriceRowRatesFromJSON(
|
|
109
|
+
jsonString: string,
|
|
110
|
+
): SafeParseResult<EffectivePriceRowRates, SDKValidationError> {
|
|
111
|
+
return safeParse(
|
|
112
|
+
jsonString,
|
|
113
|
+
(x) => EffectivePriceRowRates$inboundSchema.parse(JSON.parse(x)),
|
|
114
|
+
`Failed to parse 'EffectivePriceRowRates' from JSON`,
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/** @internal */
|
|
119
|
+
export const EffectivePriceRowSource$inboundSchema: z.ZodNativeEnum<
|
|
120
|
+
typeof EffectivePriceRowSource
|
|
121
|
+
> = z.nativeEnum(EffectivePriceRowSource);
|
|
122
|
+
/** @internal */
|
|
123
|
+
export const EffectivePriceRowSource$outboundSchema: z.ZodNativeEnum<
|
|
124
|
+
typeof EffectivePriceRowSource
|
|
125
|
+
> = EffectivePriceRowSource$inboundSchema;
|
|
126
|
+
|
|
127
|
+
/** @internal */
|
|
128
|
+
export const EffectivePriceRow$inboundSchema: z.ZodType<
|
|
129
|
+
EffectivePriceRow,
|
|
130
|
+
z.ZodTypeDef,
|
|
131
|
+
unknown
|
|
132
|
+
> = z.object({
|
|
133
|
+
model: z.string(),
|
|
134
|
+
rates: z.nullable(z.lazy(() => EffectivePriceRowRates$inboundSchema)),
|
|
135
|
+
source: EffectivePriceRowSource$inboundSchema,
|
|
136
|
+
});
|
|
137
|
+
/** @internal */
|
|
138
|
+
export type EffectivePriceRow$Outbound = {
|
|
139
|
+
model: string;
|
|
140
|
+
rates: EffectivePriceRowRates$Outbound | null;
|
|
141
|
+
source: string;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
/** @internal */
|
|
145
|
+
export const EffectivePriceRow$outboundSchema: z.ZodType<
|
|
146
|
+
EffectivePriceRow$Outbound,
|
|
147
|
+
z.ZodTypeDef,
|
|
148
|
+
EffectivePriceRow
|
|
149
|
+
> = z.object({
|
|
150
|
+
model: z.string(),
|
|
151
|
+
rates: z.nullable(z.lazy(() => EffectivePriceRowRates$outboundSchema)),
|
|
152
|
+
source: EffectivePriceRowSource$outboundSchema,
|
|
153
|
+
});
|
|
154
|
+
|
|
155
|
+
export function effectivePriceRowToJSON(
|
|
156
|
+
effectivePriceRow: EffectivePriceRow,
|
|
157
|
+
): string {
|
|
158
|
+
return JSON.stringify(
|
|
159
|
+
EffectivePriceRow$outboundSchema.parse(effectivePriceRow),
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
export function effectivePriceRowFromJSON(
|
|
163
|
+
jsonString: string,
|
|
164
|
+
): SafeParseResult<EffectivePriceRow, SDKValidationError> {
|
|
165
|
+
return safeParse(
|
|
166
|
+
jsonString,
|
|
167
|
+
(x) => EffectivePriceRow$inboundSchema.parse(JSON.parse(x)),
|
|
168
|
+
`Failed to parse 'EffectivePriceRow' from JSON`,
|
|
169
|
+
);
|
|
170
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
EffectivePriceRow,
|
|
11
|
+
EffectivePriceRow$inboundSchema,
|
|
12
|
+
EffectivePriceRow$Outbound,
|
|
13
|
+
EffectivePriceRow$outboundSchema,
|
|
14
|
+
} from "./effectivepricerow.js";
|
|
15
|
+
|
|
16
|
+
export type EffectivePricesResponse = {
|
|
17
|
+
object: "list";
|
|
18
|
+
currency: string | null;
|
|
19
|
+
data: Array<EffectivePriceRow>;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const EffectivePricesResponse$inboundSchema: z.ZodType<
|
|
24
|
+
EffectivePricesResponse,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
object: z.literal("list"),
|
|
29
|
+
currency: z.nullable(z.string()),
|
|
30
|
+
data: z.array(EffectivePriceRow$inboundSchema),
|
|
31
|
+
});
|
|
32
|
+
/** @internal */
|
|
33
|
+
export type EffectivePricesResponse$Outbound = {
|
|
34
|
+
object: "list";
|
|
35
|
+
currency: string | null;
|
|
36
|
+
data: Array<EffectivePriceRow$Outbound>;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const EffectivePricesResponse$outboundSchema: z.ZodType<
|
|
41
|
+
EffectivePricesResponse$Outbound,
|
|
42
|
+
z.ZodTypeDef,
|
|
43
|
+
EffectivePricesResponse
|
|
44
|
+
> = z.object({
|
|
45
|
+
object: z.literal("list"),
|
|
46
|
+
currency: z.nullable(z.string()),
|
|
47
|
+
data: z.array(EffectivePriceRow$outboundSchema),
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export function effectivePricesResponseToJSON(
|
|
51
|
+
effectivePricesResponse: EffectivePricesResponse,
|
|
52
|
+
): string {
|
|
53
|
+
return JSON.stringify(
|
|
54
|
+
EffectivePricesResponse$outboundSchema.parse(effectivePricesResponse),
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
export function effectivePricesResponseFromJSON(
|
|
58
|
+
jsonString: string,
|
|
59
|
+
): SafeParseResult<EffectivePricesResponse, SDKValidationError> {
|
|
60
|
+
return safeParse(
|
|
61
|
+
jsonString,
|
|
62
|
+
(x) => EffectivePricesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
63
|
+
`Failed to parse 'EffectivePricesResponse' from JSON`,
|
|
64
|
+
);
|
|
65
|
+
}
|
|
@@ -149,6 +149,8 @@ export * from "./doubleclickaction.js";
|
|
|
149
149
|
export * from "./dpohyperparameters.js";
|
|
150
150
|
export * from "./dragaction.js";
|
|
151
151
|
export * from "./dropindexresponse.js";
|
|
152
|
+
export * from "./effectivepricerow.js";
|
|
153
|
+
export * from "./effectivepricesresponse.js";
|
|
152
154
|
export * from "./embeddingmodel.js";
|
|
153
155
|
export * from "./embeddingmodellimits.js";
|
|
154
156
|
export * from "./embeddingmodellistresponse.js";
|
|
@@ -26,7 +26,7 @@ export type ModelPriceRow = {
|
|
|
26
26
|
rates: Rates;
|
|
27
27
|
effectiveFrom: string;
|
|
28
28
|
effectiveTo: string | null;
|
|
29
|
-
setBy: string;
|
|
29
|
+
setBy: string | null;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
/** @internal */
|
|
@@ -112,7 +112,7 @@ export const ModelPriceRow$inboundSchema: z.ZodType<
|
|
|
112
112
|
rates: z.lazy(() => Rates$inboundSchema),
|
|
113
113
|
effective_from: z.string(),
|
|
114
114
|
effective_to: z.nullable(z.string()),
|
|
115
|
-
set_by: z.string(),
|
|
115
|
+
set_by: z.nullable(z.string()),
|
|
116
116
|
}).transform((v) => {
|
|
117
117
|
return remap$(v, {
|
|
118
118
|
"org_id": "orgId",
|
|
@@ -128,7 +128,7 @@ export type ModelPriceRow$Outbound = {
|
|
|
128
128
|
rates: Rates$Outbound;
|
|
129
129
|
effective_from: string;
|
|
130
130
|
effective_to: string | null;
|
|
131
|
-
set_by: string;
|
|
131
|
+
set_by: string | null;
|
|
132
132
|
};
|
|
133
133
|
|
|
134
134
|
/** @internal */
|
|
@@ -142,7 +142,7 @@ export const ModelPriceRow$outboundSchema: z.ZodType<
|
|
|
142
142
|
rates: z.lazy(() => Rates$outboundSchema),
|
|
143
143
|
effectiveFrom: z.string(),
|
|
144
144
|
effectiveTo: z.nullable(z.string()),
|
|
145
|
-
setBy: z.string(),
|
|
145
|
+
setBy: z.nullable(z.string()),
|
|
146
146
|
}).transform((v) => {
|
|
147
147
|
return remap$(v, {
|
|
148
148
|
orgId: "org_id",
|
|
@@ -33,6 +33,7 @@ export type Invitation = {
|
|
|
33
33
|
createdAt: string;
|
|
34
34
|
claimedAt?: string | null | undefined;
|
|
35
35
|
createdOrgId?: string | null | undefined;
|
|
36
|
+
emailSent?: boolean | null | undefined;
|
|
36
37
|
};
|
|
37
38
|
|
|
38
39
|
/**
|
|
@@ -161,6 +162,7 @@ export const Invitation$inboundSchema: z.ZodType<
|
|
|
161
162
|
createdAt: z.string(),
|
|
162
163
|
claimedAt: z.nullable(z.string()).optional(),
|
|
163
164
|
createdOrgId: z.nullable(z.string()).optional(),
|
|
165
|
+
emailSent: z.nullable(z.boolean()).optional(),
|
|
164
166
|
});
|
|
165
167
|
/** @internal */
|
|
166
168
|
export type Invitation$Outbound = {
|
|
@@ -173,6 +175,7 @@ export type Invitation$Outbound = {
|
|
|
173
175
|
createdAt: string;
|
|
174
176
|
claimedAt?: string | null | undefined;
|
|
175
177
|
createdOrgId?: string | null | undefined;
|
|
178
|
+
emailSent?: boolean | null | undefined;
|
|
176
179
|
};
|
|
177
180
|
|
|
178
181
|
/** @internal */
|
|
@@ -190,6 +193,7 @@ export const Invitation$outboundSchema: z.ZodType<
|
|
|
190
193
|
createdAt: z.string(),
|
|
191
194
|
claimedAt: z.nullable(z.string()).optional(),
|
|
192
195
|
createdOrgId: z.nullable(z.string()).optional(),
|
|
196
|
+
emailSent: z.nullable(z.boolean()).optional(),
|
|
193
197
|
});
|
|
194
198
|
|
|
195
199
|
export function invitationToJSON(invitation: Invitation): string {
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type GetClusterRegistryModelRequest = {
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const GetClusterRegistryModelRequest$inboundSchema: z.ZodType<
|
|
16
|
+
GetClusterRegistryModelRequest,
|
|
17
|
+
z.ZodTypeDef,
|
|
18
|
+
unknown
|
|
19
|
+
> = z.object({
|
|
20
|
+
id: z.string(),
|
|
21
|
+
});
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type GetClusterRegistryModelRequest$Outbound = {
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const GetClusterRegistryModelRequest$outboundSchema: z.ZodType<
|
|
29
|
+
GetClusterRegistryModelRequest$Outbound,
|
|
30
|
+
z.ZodTypeDef,
|
|
31
|
+
GetClusterRegistryModelRequest
|
|
32
|
+
> = z.object({
|
|
33
|
+
id: z.string(),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function getClusterRegistryModelRequestToJSON(
|
|
37
|
+
getClusterRegistryModelRequest: GetClusterRegistryModelRequest,
|
|
38
|
+
): string {
|
|
39
|
+
return JSON.stringify(
|
|
40
|
+
GetClusterRegistryModelRequest$outboundSchema.parse(
|
|
41
|
+
getClusterRegistryModelRequest,
|
|
42
|
+
),
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export function getClusterRegistryModelRequestFromJSON(
|
|
46
|
+
jsonString: string,
|
|
47
|
+
): SafeParseResult<GetClusterRegistryModelRequest, SDKValidationError> {
|
|
48
|
+
return safeParse(
|
|
49
|
+
jsonString,
|
|
50
|
+
(x) => GetClusterRegistryModelRequest$inboundSchema.parse(JSON.parse(x)),
|
|
51
|
+
`Failed to parse 'GetClusterRegistryModelRequest' from JSON`,
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -121,6 +121,7 @@ export * from "./getbatch.js";
|
|
|
121
121
|
export * from "./getclassifyusage.js";
|
|
122
122
|
export * from "./getclusterinviteinfo.js";
|
|
123
123
|
export * from "./getclusterorg.js";
|
|
124
|
+
export * from "./getclusterregistrymodel.js";
|
|
124
125
|
export * from "./getcompletionfeedback.js";
|
|
125
126
|
export * from "./getcompletionsusage.js";
|
|
126
127
|
export * from "./getconversationsusage.js";
|
|
@@ -200,6 +201,7 @@ export * from "./listclusterorgs.js";
|
|
|
200
201
|
export * from "./listclusterprices.js";
|
|
201
202
|
export * from "./listclusterregistryorggrants.js";
|
|
202
203
|
export * from "./listdeployments.js";
|
|
204
|
+
export * from "./listeffectiveprices.js";
|
|
203
205
|
export * from "./listembeddingmodels.js";
|
|
204
206
|
export * from "./listevalruns.js";
|
|
205
207
|
export * from "./listevalsamples.js";
|
|
@@ -261,6 +263,7 @@ export * from "./regeneratescopedapikey.js";
|
|
|
261
263
|
export * from "./regenerateserviceaccountapikey.js";
|
|
262
264
|
export * from "./registermodel.js";
|
|
263
265
|
export * from "./reissueownerkey.js";
|
|
266
|
+
export * from "./removeclusterregistrymodel.js";
|
|
264
267
|
export * from "./removeregistrymodel.js";
|
|
265
268
|
export * from "./removeteammember.js";
|
|
266
269
|
export * from "./rerunfailedevalsamples.js";
|
|
@@ -294,6 +297,7 @@ export * from "./triggerevalschedule.js";
|
|
|
294
297
|
export * from "./unsuspendclusterorg.js";
|
|
295
298
|
export * from "./updateagent.js";
|
|
296
299
|
export * from "./updateagentschedule.js";
|
|
300
|
+
export * from "./updateclusterregistrymodel.js";
|
|
297
301
|
export * from "./updatecompletionfeedback.js";
|
|
298
302
|
export * from "./updatedeployment.js";
|
|
299
303
|
export * from "./updateevalschedule.js";
|
|
@@ -25,6 +25,7 @@ export type Invitations = {
|
|
|
25
25
|
createdAt: string;
|
|
26
26
|
claimedAt?: string | null | undefined;
|
|
27
27
|
createdOrgId?: string | null | undefined;
|
|
28
|
+
emailSent?: boolean | null | undefined;
|
|
28
29
|
};
|
|
29
30
|
|
|
30
31
|
/**
|
|
@@ -96,6 +97,7 @@ export const Invitations$inboundSchema: z.ZodType<
|
|
|
96
97
|
createdAt: z.string(),
|
|
97
98
|
claimedAt: z.nullable(z.string()).optional(),
|
|
98
99
|
createdOrgId: z.nullable(z.string()).optional(),
|
|
100
|
+
emailSent: z.nullable(z.boolean()).optional(),
|
|
99
101
|
});
|
|
100
102
|
/** @internal */
|
|
101
103
|
export type Invitations$Outbound = {
|
|
@@ -108,6 +110,7 @@ export type Invitations$Outbound = {
|
|
|
108
110
|
createdAt: string;
|
|
109
111
|
claimedAt?: string | null | undefined;
|
|
110
112
|
createdOrgId?: string | null | undefined;
|
|
113
|
+
emailSent?: boolean | null | undefined;
|
|
111
114
|
};
|
|
112
115
|
|
|
113
116
|
/** @internal */
|
|
@@ -125,6 +128,7 @@ export const Invitations$outboundSchema: z.ZodType<
|
|
|
125
128
|
createdAt: z.string(),
|
|
126
129
|
claimedAt: z.nullable(z.string()).optional(),
|
|
127
130
|
createdOrgId: z.nullable(z.string()).optional(),
|
|
131
|
+
emailSent: z.nullable(z.boolean()).optional(),
|
|
128
132
|
});
|
|
129
133
|
|
|
130
134
|
export function invitationsToJSON(invitations: Invitations): string {
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
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
|
+
|
|
11
|
+
export type ListEffectivePricesRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
14
|
+
*/
|
|
15
|
+
xOnBehalfOf?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const ListEffectivePricesRequest$inboundSchema: z.ZodType<
|
|
20
|
+
ListEffectivePricesRequest,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
"X-On-Behalf-Of": z.string().optional(),
|
|
25
|
+
}).transform((v) => {
|
|
26
|
+
return remap$(v, {
|
|
27
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type ListEffectivePricesRequest$Outbound = {
|
|
32
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const ListEffectivePricesRequest$outboundSchema: z.ZodType<
|
|
37
|
+
ListEffectivePricesRequest$Outbound,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
ListEffectivePricesRequest
|
|
40
|
+
> = z.object({
|
|
41
|
+
xOnBehalfOf: z.string().optional(),
|
|
42
|
+
}).transform((v) => {
|
|
43
|
+
return remap$(v, {
|
|
44
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export function listEffectivePricesRequestToJSON(
|
|
49
|
+
listEffectivePricesRequest: ListEffectivePricesRequest,
|
|
50
|
+
): string {
|
|
51
|
+
return JSON.stringify(
|
|
52
|
+
ListEffectivePricesRequest$outboundSchema.parse(listEffectivePricesRequest),
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
export function listEffectivePricesRequestFromJSON(
|
|
56
|
+
jsonString: string,
|
|
57
|
+
): SafeParseResult<ListEffectivePricesRequest, SDKValidationError> {
|
|
58
|
+
return safeParse(
|
|
59
|
+
jsonString,
|
|
60
|
+
(x) => ListEffectivePricesRequest$inboundSchema.parse(JSON.parse(x)),
|
|
61
|
+
`Failed to parse 'ListEffectivePricesRequest' from JSON`,
|
|
62
|
+
);
|
|
63
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type RemoveClusterRegistryModelRequest = {
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const RemoveClusterRegistryModelRequest$inboundSchema: z.ZodType<
|
|
16
|
+
RemoveClusterRegistryModelRequest,
|
|
17
|
+
z.ZodTypeDef,
|
|
18
|
+
unknown
|
|
19
|
+
> = z.object({
|
|
20
|
+
id: z.string(),
|
|
21
|
+
});
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type RemoveClusterRegistryModelRequest$Outbound = {
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const RemoveClusterRegistryModelRequest$outboundSchema: z.ZodType<
|
|
29
|
+
RemoveClusterRegistryModelRequest$Outbound,
|
|
30
|
+
z.ZodTypeDef,
|
|
31
|
+
RemoveClusterRegistryModelRequest
|
|
32
|
+
> = z.object({
|
|
33
|
+
id: z.string(),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function removeClusterRegistryModelRequestToJSON(
|
|
37
|
+
removeClusterRegistryModelRequest: RemoveClusterRegistryModelRequest,
|
|
38
|
+
): string {
|
|
39
|
+
return JSON.stringify(
|
|
40
|
+
RemoveClusterRegistryModelRequest$outboundSchema.parse(
|
|
41
|
+
removeClusterRegistryModelRequest,
|
|
42
|
+
),
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export function removeClusterRegistryModelRequestFromJSON(
|
|
46
|
+
jsonString: string,
|
|
47
|
+
): SafeParseResult<RemoveClusterRegistryModelRequest, SDKValidationError> {
|
|
48
|
+
return safeParse(
|
|
49
|
+
jsonString,
|
|
50
|
+
(x) => RemoveClusterRegistryModelRequest$inboundSchema.parse(JSON.parse(x)),
|
|
51
|
+
`Failed to parse 'RemoveClusterRegistryModelRequest' from JSON`,
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
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 * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type UpdateClusterRegistryModelRequest = {
|
|
13
|
+
id: string;
|
|
14
|
+
updateRegistryModelRequest: components.UpdateRegistryModelRequest;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const UpdateClusterRegistryModelRequest$inboundSchema: z.ZodType<
|
|
19
|
+
UpdateClusterRegistryModelRequest,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
id: z.string(),
|
|
24
|
+
UpdateRegistryModelRequest:
|
|
25
|
+
components.UpdateRegistryModelRequest$inboundSchema,
|
|
26
|
+
}).transform((v) => {
|
|
27
|
+
return remap$(v, {
|
|
28
|
+
"UpdateRegistryModelRequest": "updateRegistryModelRequest",
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type UpdateClusterRegistryModelRequest$Outbound = {
|
|
33
|
+
id: string;
|
|
34
|
+
UpdateRegistryModelRequest: components.UpdateRegistryModelRequest$Outbound;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const UpdateClusterRegistryModelRequest$outboundSchema: z.ZodType<
|
|
39
|
+
UpdateClusterRegistryModelRequest$Outbound,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
UpdateClusterRegistryModelRequest
|
|
42
|
+
> = z.object({
|
|
43
|
+
id: z.string(),
|
|
44
|
+
updateRegistryModelRequest:
|
|
45
|
+
components.UpdateRegistryModelRequest$outboundSchema,
|
|
46
|
+
}).transform((v) => {
|
|
47
|
+
return remap$(v, {
|
|
48
|
+
updateRegistryModelRequest: "UpdateRegistryModelRequest",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
export function updateClusterRegistryModelRequestToJSON(
|
|
53
|
+
updateClusterRegistryModelRequest: UpdateClusterRegistryModelRequest,
|
|
54
|
+
): string {
|
|
55
|
+
return JSON.stringify(
|
|
56
|
+
UpdateClusterRegistryModelRequest$outboundSchema.parse(
|
|
57
|
+
updateClusterRegistryModelRequest,
|
|
58
|
+
),
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
export function updateClusterRegistryModelRequestFromJSON(
|
|
62
|
+
jsonString: string,
|
|
63
|
+
): SafeParseResult<UpdateClusterRegistryModelRequest, SDKValidationError> {
|
|
64
|
+
return safeParse(
|
|
65
|
+
jsonString,
|
|
66
|
+
(x) => UpdateClusterRegistryModelRequest$inboundSchema.parse(JSON.parse(x)),
|
|
67
|
+
`Failed to parse 'UpdateClusterRegistryModelRequest' from JSON`,
|
|
68
|
+
);
|
|
69
|
+
}
|
package/src/react-query/index.ts
CHANGED
|
@@ -170,6 +170,7 @@ export * from "./llmMemoryStoresList.js";
|
|
|
170
170
|
export * from "./llmMemoryStoresListEntries.js";
|
|
171
171
|
export * from "./llmMemoryStoresUpdate.js";
|
|
172
172
|
export * from "./llmMemoryStoresUpdateEntry.js";
|
|
173
|
+
export * from "./llmModelsAddClusterRegistryModel.js";
|
|
173
174
|
export * from "./llmModelsAddRegistryModel.js";
|
|
174
175
|
export * from "./llmModelsCheckRegistryModelHealth.js";
|
|
175
176
|
export * from "./llmModelsClearClusterPrice.js";
|
|
@@ -177,20 +178,25 @@ export * from "./llmModelsClearOrgPrice.js";
|
|
|
177
178
|
export * from "./llmModelsDeleteOrgAutoModel.js";
|
|
178
179
|
export * from "./llmModelsGet.js";
|
|
179
180
|
export * from "./llmModelsGetClusterCurrency.js";
|
|
181
|
+
export * from "./llmModelsGetClusterRegistryModel.js";
|
|
180
182
|
export * from "./llmModelsGetRegistryModel.js";
|
|
181
183
|
export * from "./llmModelsList.js";
|
|
182
184
|
export * from "./llmModelsListClusterPrices.js";
|
|
183
185
|
export * from "./llmModelsListClusterRegistry.js";
|
|
186
|
+
export * from "./llmModelsListClusterRegistryModels.js";
|
|
184
187
|
export * from "./llmModelsListClusterRegistryOrgGrants.js";
|
|
188
|
+
export * from "./llmModelsListEffectivePrices.js";
|
|
185
189
|
export * from "./llmModelsListOrgAutoModels.js";
|
|
186
190
|
export * from "./llmModelsListOrgPrices.js";
|
|
187
191
|
export * from "./llmModelsListRegistryModels.js";
|
|
188
192
|
export * from "./llmModelsPutClusterRegistryOrgGrants.js";
|
|
189
193
|
export * from "./llmModelsPutOrgAutoModel.js";
|
|
194
|
+
export * from "./llmModelsRemoveClusterRegistryModel.js";
|
|
190
195
|
export * from "./llmModelsRemoveRegistryModel.js";
|
|
191
196
|
export * from "./llmModelsSetClusterCurrency.js";
|
|
192
197
|
export * from "./llmModelsSetClusterPrice.js";
|
|
193
198
|
export * from "./llmModelsSetOrgPrice.js";
|
|
199
|
+
export * from "./llmModelsUpdateClusterRegistryModel.js";
|
|
194
200
|
export * from "./llmModelsUpdateRegistryModel.js";
|
|
195
201
|
export * from "./llmPromptsCreate.js";
|
|
196
202
|
export * from "./llmPromptsCreateVersion.js";
|