@meetkai/mka1 0.51.6 → 0.51.7
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 +236 -230
- package/bin/mcp-server.js +644 -292
- package/bin/mcp-server.js.map +24 -17
- package/dist/commonjs/funcs/servingDeploymentsRollback.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsRollback.js.map +1 -1
- package/dist/commonjs/funcs/{servingImagesBuild.d.ts → servingImagesRegister.d.ts} +4 -4
- package/dist/commonjs/funcs/servingImagesRegister.d.ts.map +1 -0
- package/dist/commonjs/funcs/{servingImagesBuild.js → servingImagesRegister.js} +9 -9
- package/dist/commonjs/funcs/servingImagesRegister.js.map +1 -0
- package/dist/commonjs/funcs/servingTenantsDeleteOrganization.d.ts +19 -0
- package/dist/commonjs/funcs/servingTenantsDeleteOrganization.d.ts.map +1 -0
- package/dist/commonjs/funcs/servingTenantsDeleteOrganization.js +139 -0
- package/dist/commonjs/funcs/servingTenantsDeleteOrganization.js.map +1 -0
- package/dist/commonjs/funcs/servingTenantsGetOrganizationDeletion.d.ts +19 -0
- package/dist/commonjs/funcs/servingTenantsGetOrganizationDeletion.d.ts.map +1 -0
- package/dist/commonjs/funcs/servingTenantsGetOrganizationDeletion.js +136 -0
- package/dist/commonjs/funcs/servingTenantsGetOrganizationDeletion.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 +7 -3
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingImagesRegister.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/servingImagesRegister.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{servingImagesBuild.js → servingImagesRegister.js} +9 -9
- package/dist/commonjs/mcp-server/tools/servingImagesRegister.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/servingTenantsDeleteOrganization.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/servingTenantsDeleteOrganization.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/servingTenantsDeleteOrganization.js +64 -0
- package/dist/commonjs/mcp-server/tools/servingTenantsDeleteOrganization.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/servingTenantsGetOrganizationDeletion.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/servingTenantsGetOrganizationDeletion.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/servingTenantsGetOrganizationDeletion.js +64 -0
- package/dist/commonjs/mcp-server/tools/servingTenantsGetOrganizationDeletion.js.map +1 -0
- package/dist/commonjs/models/components/deploymentcreate.d.ts +5 -0
- package/dist/commonjs/models/components/deploymentcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/deploymentcreate.js +4 -0
- package/dist/commonjs/models/components/deploymentcreate.js.map +1 -1
- package/dist/commonjs/models/components/deploymentupdate.d.ts +5 -0
- package/dist/commonjs/models/components/deploymentupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/deploymentupdate.js +4 -0
- package/dist/commonjs/models/components/deploymentupdate.js.map +1 -1
- package/dist/commonjs/models/components/image.d.ts +12 -6
- package/dist/commonjs/models/components/image.d.ts.map +1 -1
- package/dist/commonjs/models/components/image.js +7 -4
- package/dist/commonjs/models/components/image.js.map +1 -1
- package/dist/commonjs/models/components/imageregister.d.ts +30 -0
- package/dist/commonjs/models/components/imageregister.d.ts.map +1 -0
- package/dist/commonjs/models/components/{imagebuild.js → imageregister.js} +14 -13
- package/dist/commonjs/models/components/imageregister.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +3 -2
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +3 -2
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/servingorgdeletionrequest.d.ts +27 -0
- package/dist/commonjs/models/components/servingorgdeletionrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/{imagespec.js → servingorgdeletionrequest.js} +20 -30
- package/dist/commonjs/models/components/servingorgdeletionrequest.js.map +1 -0
- package/dist/commonjs/models/components/servingorgteardown.d.ts +40 -0
- package/dist/commonjs/models/components/servingorgteardown.d.ts.map +1 -0
- package/dist/commonjs/models/components/servingorgteardown.js +91 -0
- package/dist/commonjs/models/components/servingorgteardown.js.map +1 -0
- package/dist/commonjs/models/operations/deleteservingorganization.d.ts +25 -0
- package/dist/commonjs/models/operations/deleteservingorganization.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deleteservingorganization.js +76 -0
- package/dist/commonjs/models/operations/deleteservingorganization.js.map +1 -0
- package/dist/commonjs/models/operations/getservingorganizationdeletion.d.ts +22 -0
- package/dist/commonjs/models/operations/getservingorganizationdeletion.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getservingorganizationdeletion.js +71 -0
- package/dist/commonjs/models/operations/getservingorganizationdeletion.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +3 -1
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +3 -1
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/registerimage.d.ts +23 -0
- package/dist/commonjs/models/operations/registerimage.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{buildimage.js → registerimage.js} +14 -14
- package/dist/commonjs/models/operations/registerimage.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +3 -1
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +3 -1
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/servingImagesRegister.d.ts +30 -0
- package/dist/commonjs/react-query/servingImagesRegister.d.ts.map +1 -0
- package/dist/commonjs/react-query/servingImagesRegister.js +47 -0
- package/dist/commonjs/react-query/servingImagesRegister.js.map +1 -0
- package/dist/commonjs/react-query/servingTenantsDeleteOrganization.d.ts +30 -0
- package/dist/commonjs/react-query/servingTenantsDeleteOrganization.d.ts.map +1 -0
- package/dist/commonjs/react-query/servingTenantsDeleteOrganization.js +47 -0
- package/dist/commonjs/react-query/servingTenantsDeleteOrganization.js.map +1 -0
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.core.d.ts +15 -0
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.core.js +42 -0
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.core.js.map +1 -0
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.d.ts +39 -0
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.d.ts.map +1 -0
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.js +65 -0
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.js.map +1 -0
- package/dist/commonjs/sdk/sdkimages.d.ts +3 -3
- package/dist/commonjs/sdk/sdkimages.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdkimages.js +5 -5
- package/dist/commonjs/sdk/sdkimages.js.map +1 -1
- package/dist/commonjs/sdk/tenants.d.ts +14 -0
- package/dist/commonjs/sdk/tenants.d.ts.map +1 -1
- package/dist/commonjs/sdk/tenants.js +20 -0
- package/dist/commonjs/sdk/tenants.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsRollback.js +1 -1
- package/dist/esm/funcs/servingDeploymentsRollback.js.map +1 -1
- package/dist/esm/funcs/{servingImagesBuild.d.ts → servingImagesRegister.d.ts} +4 -4
- package/dist/esm/funcs/servingImagesRegister.d.ts.map +1 -0
- package/dist/esm/funcs/{servingImagesBuild.js → servingImagesRegister.js} +8 -8
- package/dist/esm/funcs/servingImagesRegister.js.map +1 -0
- package/dist/esm/funcs/servingTenantsDeleteOrganization.d.ts +19 -0
- package/dist/esm/funcs/servingTenantsDeleteOrganization.d.ts.map +1 -0
- package/dist/esm/funcs/servingTenantsDeleteOrganization.js +103 -0
- package/dist/esm/funcs/servingTenantsDeleteOrganization.js.map +1 -0
- package/dist/esm/funcs/servingTenantsGetOrganizationDeletion.d.ts +19 -0
- package/dist/esm/funcs/servingTenantsGetOrganizationDeletion.d.ts.map +1 -0
- package/dist/esm/funcs/servingTenantsGetOrganizationDeletion.js +100 -0
- package/dist/esm/funcs/servingTenantsGetOrganizationDeletion.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 +7 -3
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingImagesRegister.d.ts +8 -0
- package/dist/esm/mcp-server/tools/servingImagesRegister.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/servingImagesRegister.js +28 -0
- package/dist/esm/mcp-server/tools/servingImagesRegister.js.map +1 -0
- package/dist/esm/mcp-server/tools/servingTenantsDeleteOrganization.d.ts +8 -0
- package/dist/esm/mcp-server/tools/servingTenantsDeleteOrganization.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/servingTenantsDeleteOrganization.js +28 -0
- package/dist/esm/mcp-server/tools/servingTenantsDeleteOrganization.js.map +1 -0
- package/dist/esm/mcp-server/tools/servingTenantsGetOrganizationDeletion.d.ts +8 -0
- package/dist/esm/mcp-server/tools/servingTenantsGetOrganizationDeletion.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/servingTenantsGetOrganizationDeletion.js +28 -0
- package/dist/esm/mcp-server/tools/servingTenantsGetOrganizationDeletion.js.map +1 -0
- package/dist/esm/models/components/deploymentcreate.d.ts +5 -0
- package/dist/esm/models/components/deploymentcreate.d.ts.map +1 -1
- package/dist/esm/models/components/deploymentcreate.js +4 -0
- package/dist/esm/models/components/deploymentcreate.js.map +1 -1
- package/dist/esm/models/components/deploymentupdate.d.ts +5 -0
- package/dist/esm/models/components/deploymentupdate.d.ts.map +1 -1
- package/dist/esm/models/components/deploymentupdate.js +4 -0
- package/dist/esm/models/components/deploymentupdate.js.map +1 -1
- package/dist/esm/models/components/image.d.ts +12 -6
- package/dist/esm/models/components/image.d.ts.map +1 -1
- package/dist/esm/models/components/image.js +7 -4
- package/dist/esm/models/components/image.js.map +1 -1
- package/dist/esm/models/components/imageregister.d.ts +30 -0
- package/dist/esm/models/components/imageregister.d.ts.map +1 -0
- package/dist/esm/models/components/imageregister.js +24 -0
- package/dist/esm/models/components/imageregister.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +3 -2
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +3 -2
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/servingorgdeletionrequest.d.ts +27 -0
- package/dist/esm/models/components/servingorgdeletionrequest.d.ts.map +1 -0
- package/dist/esm/models/components/servingorgdeletionrequest.js +35 -0
- package/dist/esm/models/components/servingorgdeletionrequest.js.map +1 -0
- package/dist/esm/models/components/servingorgteardown.d.ts +40 -0
- package/dist/esm/models/components/servingorgteardown.d.ts.map +1 -0
- package/dist/esm/models/components/servingorgteardown.js +53 -0
- package/dist/esm/models/components/servingorgteardown.js.map +1 -0
- package/dist/esm/models/operations/deleteservingorganization.d.ts +25 -0
- package/dist/esm/models/operations/deleteservingorganization.d.ts.map +1 -0
- package/dist/esm/models/operations/deleteservingorganization.js +38 -0
- package/dist/esm/models/operations/deleteservingorganization.js.map +1 -0
- package/dist/esm/models/operations/getservingorganizationdeletion.d.ts +22 -0
- package/dist/esm/models/operations/getservingorganizationdeletion.d.ts.map +1 -0
- package/dist/esm/models/operations/getservingorganizationdeletion.js +33 -0
- package/dist/esm/models/operations/getservingorganizationdeletion.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +3 -1
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +3 -1
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/registerimage.d.ts +23 -0
- package/dist/esm/models/operations/registerimage.d.ts.map +1 -0
- package/dist/esm/models/operations/registerimage.js +34 -0
- package/dist/esm/models/operations/registerimage.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +3 -1
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +3 -1
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/servingImagesRegister.d.ts +30 -0
- package/dist/esm/react-query/servingImagesRegister.d.ts.map +1 -0
- package/dist/esm/react-query/servingImagesRegister.js +42 -0
- package/dist/esm/react-query/servingImagesRegister.js.map +1 -0
- package/dist/esm/react-query/servingTenantsDeleteOrganization.d.ts +30 -0
- package/dist/esm/react-query/servingTenantsDeleteOrganization.d.ts.map +1 -0
- package/dist/esm/react-query/servingTenantsDeleteOrganization.js +42 -0
- package/dist/esm/react-query/servingTenantsDeleteOrganization.js.map +1 -0
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.core.d.ts +15 -0
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.core.d.ts.map +1 -0
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.core.js +37 -0
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.core.js.map +1 -0
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.d.ts +39 -0
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.d.ts.map +1 -0
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.js +55 -0
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.js.map +1 -0
- package/dist/esm/sdk/sdkimages.d.ts +3 -3
- package/dist/esm/sdk/sdkimages.d.ts.map +1 -1
- package/dist/esm/sdk/sdkimages.js +5 -5
- package/dist/esm/sdk/sdkimages.js.map +1 -1
- package/dist/esm/sdk/tenants.d.ts +14 -0
- package/dist/esm/sdk/tenants.d.ts.map +1 -1
- package/dist/esm/sdk/tenants.js +20 -0
- package/dist/esm/sdk/tenants.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/servingDeploymentsRollback.ts +1 -0
- package/src/funcs/{servingImagesBuild.ts → servingImagesRegister.ts} +10 -10
- package/src/funcs/servingTenantsDeleteOrganization.ts +203 -0
- package/src/funcs/servingTenantsGetOrganizationDeletion.ts +197 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -3
- package/src/mcp-server/tools/{servingImagesBuild.ts → servingImagesRegister.ts} +7 -7
- package/src/mcp-server/tools/servingTenantsDeleteOrganization.ts +39 -0
- package/src/mcp-server/tools/servingTenantsGetOrganizationDeletion.ts +39 -0
- package/src/models/components/deploymentcreate.ts +9 -0
- package/src/models/components/deploymentupdate.ts +9 -0
- package/src/models/components/image.ts +18 -13
- package/src/models/components/imageregister.ts +64 -0
- package/src/models/components/index.ts +3 -2
- package/src/models/components/servingorgdeletionrequest.ts +76 -0
- package/src/models/components/servingorgteardown.ts +109 -0
- package/src/models/operations/deleteservingorganization.ts +79 -0
- package/src/models/operations/getservingorganizationdeletion.ts +72 -0
- package/src/models/operations/index.ts +3 -1
- package/src/models/operations/{buildimage.ts → registerimage.ts} +20 -20
- package/src/react-query/index.ts +3 -1
- package/src/react-query/{servingImagesBuild.ts → servingImagesRegister.ts} +24 -24
- package/src/react-query/servingTenantsDeleteOrganization.ts +113 -0
- package/src/react-query/servingTenantsGetOrganizationDeletion.core.ts +83 -0
- package/src/react-query/servingTenantsGetOrganizationDeletion.ts +151 -0
- package/src/sdk/sdkimages.ts +6 -6
- package/src/sdk/tenants.ts +36 -0
- package/dist/commonjs/funcs/servingImagesBuild.d.ts.map +0 -1
- package/dist/commonjs/funcs/servingImagesBuild.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/servingImagesBuild.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/servingImagesBuild.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/servingImagesBuild.js.map +0 -1
- package/dist/commonjs/models/components/imagebuild.d.ts +0 -26
- package/dist/commonjs/models/components/imagebuild.d.ts.map +0 -1
- package/dist/commonjs/models/components/imagebuild.js.map +0 -1
- package/dist/commonjs/models/components/imagespec.d.ts +0 -40
- package/dist/commonjs/models/components/imagespec.d.ts.map +0 -1
- package/dist/commonjs/models/components/imagespec.js.map +0 -1
- package/dist/commonjs/models/operations/buildimage.d.ts +0 -23
- package/dist/commonjs/models/operations/buildimage.d.ts.map +0 -1
- package/dist/commonjs/models/operations/buildimage.js.map +0 -1
- package/dist/commonjs/react-query/servingImagesBuild.d.ts +0 -30
- package/dist/commonjs/react-query/servingImagesBuild.d.ts.map +0 -1
- package/dist/commonjs/react-query/servingImagesBuild.js +0 -47
- package/dist/commonjs/react-query/servingImagesBuild.js.map +0 -1
- package/dist/esm/funcs/servingImagesBuild.d.ts.map +0 -1
- package/dist/esm/funcs/servingImagesBuild.js.map +0 -1
- package/dist/esm/mcp-server/tools/servingImagesBuild.d.ts +0 -8
- package/dist/esm/mcp-server/tools/servingImagesBuild.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/servingImagesBuild.js +0 -28
- package/dist/esm/mcp-server/tools/servingImagesBuild.js.map +0 -1
- package/dist/esm/models/components/imagebuild.d.ts +0 -26
- package/dist/esm/models/components/imagebuild.d.ts.map +0 -1
- package/dist/esm/models/components/imagebuild.js +0 -23
- package/dist/esm/models/components/imagebuild.js.map +0 -1
- package/dist/esm/models/components/imagespec.d.ts +0 -40
- package/dist/esm/models/components/imagespec.d.ts.map +0 -1
- package/dist/esm/models/components/imagespec.js +0 -45
- package/dist/esm/models/components/imagespec.js.map +0 -1
- package/dist/esm/models/operations/buildimage.d.ts +0 -23
- package/dist/esm/models/operations/buildimage.d.ts.map +0 -1
- package/dist/esm/models/operations/buildimage.js +0 -34
- package/dist/esm/models/operations/buildimage.js.map +0 -1
- package/dist/esm/react-query/servingImagesBuild.d.ts +0 -30
- package/dist/esm/react-query/servingImagesBuild.d.ts.map +0 -1
- package/dist/esm/react-query/servingImagesBuild.js +0 -42
- package/dist/esm/react-query/servingImagesBuild.js.map +0 -1
- package/src/models/components/imagebuild.ts +0 -63
- package/src/models/components/imagespec.ts +0 -91
package/bin/mcp-server.js
CHANGED
|
@@ -52876,9 +52876,9 @@ var init_config = __esm(() => {
|
|
|
52876
52876
|
SDK_METADATA = {
|
|
52877
52877
|
language: "typescript",
|
|
52878
52878
|
openapiDocVersion: "1.1.0",
|
|
52879
|
-
sdkVersion: "0.51.
|
|
52879
|
+
sdkVersion: "0.51.7",
|
|
52880
52880
|
genVersion: "2.918.4",
|
|
52881
|
-
userAgent: "speakeasy-sdk/typescript 0.51.
|
|
52881
|
+
userAgent: "speakeasy-sdk/typescript 0.51.7 2.918.4 1.1.0 @meetkai/mka1"
|
|
52882
52882
|
};
|
|
52883
52883
|
});
|
|
52884
52884
|
|
|
@@ -63567,6 +63567,7 @@ var init_deploymentcreate = __esm(() => {
|
|
|
63567
63567
|
engine: Engine$inboundSchema.optional(),
|
|
63568
63568
|
engine_args: arrayType(stringType()).optional(),
|
|
63569
63569
|
image: nullableType(stringType()).optional(),
|
|
63570
|
+
image_id: nullableType(stringType()).optional(),
|
|
63570
63571
|
max_usd_hr: numberType(),
|
|
63571
63572
|
model: stringType(),
|
|
63572
63573
|
name: stringType(),
|
|
@@ -63581,6 +63582,7 @@ var init_deploymentcreate = __esm(() => {
|
|
|
63581
63582
|
api_format: "apiFormat",
|
|
63582
63583
|
endpoint_auth: "endpointAuth",
|
|
63583
63584
|
engine_args: "engineArgs",
|
|
63585
|
+
image_id: "imageId",
|
|
63584
63586
|
max_usd_hr: "maxUsdHr"
|
|
63585
63587
|
});
|
|
63586
63588
|
});
|
|
@@ -63591,6 +63593,7 @@ var init_deploymentcreate = __esm(() => {
|
|
|
63591
63593
|
engine: Engine$outboundSchema.optional(),
|
|
63592
63594
|
engineArgs: arrayType(stringType()).optional(),
|
|
63593
63595
|
image: nullableType(stringType()).optional(),
|
|
63596
|
+
imageId: nullableType(stringType()).optional(),
|
|
63594
63597
|
maxUsdHr: numberType(),
|
|
63595
63598
|
model: stringType(),
|
|
63596
63599
|
name: stringType(),
|
|
@@ -63605,6 +63608,7 @@ var init_deploymentcreate = __esm(() => {
|
|
|
63605
63608
|
apiFormat: "api_format",
|
|
63606
63609
|
endpointAuth: "endpoint_auth",
|
|
63607
63610
|
engineArgs: "engine_args",
|
|
63611
|
+
imageId: "image_id",
|
|
63608
63612
|
maxUsdHr: "max_usd_hr"
|
|
63609
63613
|
});
|
|
63610
63614
|
});
|
|
@@ -63673,6 +63677,7 @@ var init_deploymentupdate = __esm(() => {
|
|
|
63673
63677
|
api_format: nullableType(DeploymentAPIFormat$inboundSchema).optional(),
|
|
63674
63678
|
engine_args: nullableType(arrayType(stringType())).optional(),
|
|
63675
63679
|
image: nullableType(stringType()).optional(),
|
|
63680
|
+
image_id: nullableType(stringType()).optional(),
|
|
63676
63681
|
model: nullableType(stringType()).optional(),
|
|
63677
63682
|
port: nullableType(numberType().int()).optional(),
|
|
63678
63683
|
runtime: nullableType(stringType()).optional(),
|
|
@@ -63681,13 +63686,15 @@ var init_deploymentupdate = __esm(() => {
|
|
|
63681
63686
|
}).transform((v2) => {
|
|
63682
63687
|
return remap(v2, {
|
|
63683
63688
|
api_format: "apiFormat",
|
|
63684
|
-
engine_args: "engineArgs"
|
|
63689
|
+
engine_args: "engineArgs",
|
|
63690
|
+
image_id: "imageId"
|
|
63685
63691
|
});
|
|
63686
63692
|
});
|
|
63687
63693
|
DeploymentUpdate$outboundSchema = objectType({
|
|
63688
63694
|
apiFormat: nullableType(DeploymentAPIFormat$outboundSchema).optional(),
|
|
63689
63695
|
engineArgs: nullableType(arrayType(stringType())).optional(),
|
|
63690
63696
|
image: nullableType(stringType()).optional(),
|
|
63697
|
+
imageId: nullableType(stringType()).optional(),
|
|
63691
63698
|
model: nullableType(stringType()).optional(),
|
|
63692
63699
|
port: nullableType(numberType().int()).optional(),
|
|
63693
63700
|
runtime: nullableType(stringType()).optional(),
|
|
@@ -63696,7 +63703,8 @@ var init_deploymentupdate = __esm(() => {
|
|
|
63696
63703
|
}).transform((v2) => {
|
|
63697
63704
|
return remap(v2, {
|
|
63698
63705
|
apiFormat: "api_format",
|
|
63699
|
-
engineArgs: "engine_args"
|
|
63706
|
+
engineArgs: "engine_args",
|
|
63707
|
+
imageId: "image_id"
|
|
63700
63708
|
});
|
|
63701
63709
|
});
|
|
63702
63710
|
});
|
|
@@ -65889,51 +65897,13 @@ var init_hostedtooldefinition = __esm(() => {
|
|
|
65889
65897
|
});
|
|
65890
65898
|
});
|
|
65891
65899
|
|
|
65892
|
-
// src/models/components/imagespec.ts
|
|
65893
|
-
var ImageSpec$inboundSchema, ImageSpec$outboundSchema;
|
|
65894
|
-
var init_imagespec = __esm(() => {
|
|
65895
|
-
init_esm();
|
|
65896
|
-
init_primitives();
|
|
65897
|
-
ImageSpec$inboundSchema = objectType({
|
|
65898
|
-
apt_packages: arrayType(stringType()).optional(),
|
|
65899
|
-
base_image: stringType().default("nvidia/cuda:12.9.0-devel-ubuntu22.04"),
|
|
65900
|
-
commands: arrayType(stringType()).optional(),
|
|
65901
|
-
env: recordType(stringType()).optional(),
|
|
65902
|
-
pip_packages: arrayType(stringType()).optional(),
|
|
65903
|
-
python_version: stringType().default("3.12")
|
|
65904
|
-
}).transform((v2) => {
|
|
65905
|
-
return remap(v2, {
|
|
65906
|
-
apt_packages: "aptPackages",
|
|
65907
|
-
base_image: "baseImage",
|
|
65908
|
-
pip_packages: "pipPackages",
|
|
65909
|
-
python_version: "pythonVersion"
|
|
65910
|
-
});
|
|
65911
|
-
});
|
|
65912
|
-
ImageSpec$outboundSchema = objectType({
|
|
65913
|
-
aptPackages: arrayType(stringType()).optional(),
|
|
65914
|
-
baseImage: stringType().default("nvidia/cuda:12.9.0-devel-ubuntu22.04"),
|
|
65915
|
-
commands: arrayType(stringType()).optional(),
|
|
65916
|
-
env: recordType(stringType()).optional(),
|
|
65917
|
-
pipPackages: arrayType(stringType()).optional(),
|
|
65918
|
-
pythonVersion: stringType().default("3.12")
|
|
65919
|
-
}).transform((v2) => {
|
|
65920
|
-
return remap(v2, {
|
|
65921
|
-
aptPackages: "apt_packages",
|
|
65922
|
-
baseImage: "base_image",
|
|
65923
|
-
pipPackages: "pip_packages",
|
|
65924
|
-
pythonVersion: "python_version"
|
|
65925
|
-
});
|
|
65926
|
-
});
|
|
65927
|
-
});
|
|
65928
|
-
|
|
65929
65900
|
// src/models/components/image.ts
|
|
65930
65901
|
var ImageStatus, ImageStatus$inboundSchema, ImageStatus$outboundSchema, Image$inboundSchema, Image$outboundSchema;
|
|
65931
65902
|
var init_image = __esm(() => {
|
|
65932
65903
|
init_esm();
|
|
65933
65904
|
init_primitives();
|
|
65934
|
-
init_imagespec();
|
|
65935
65905
|
ImageStatus = {
|
|
65936
|
-
|
|
65906
|
+
Pending: "pending",
|
|
65937
65907
|
Ready: "ready",
|
|
65938
65908
|
Failed: "failed"
|
|
65939
65909
|
};
|
|
@@ -65941,9 +65911,11 @@ var init_image = __esm(() => {
|
|
|
65941
65911
|
ImageStatus$outboundSchema = ImageStatus$inboundSchema;
|
|
65942
65912
|
Image$inboundSchema = objectType({
|
|
65943
65913
|
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
65914
|
+
digest: stringType(),
|
|
65915
|
+
error: nullableType(stringType()),
|
|
65944
65916
|
id: stringType(),
|
|
65945
65917
|
name: stringType(),
|
|
65946
|
-
|
|
65918
|
+
source: stringType(),
|
|
65947
65919
|
status: ImageStatus$inboundSchema
|
|
65948
65920
|
}).transform((v2) => {
|
|
65949
65921
|
return remap(v2, {
|
|
@@ -65952,9 +65924,11 @@ var init_image = __esm(() => {
|
|
|
65952
65924
|
});
|
|
65953
65925
|
Image$outboundSchema = objectType({
|
|
65954
65926
|
createdAt: dateType().transform((v2) => v2.toISOString()),
|
|
65927
|
+
digest: stringType(),
|
|
65928
|
+
error: nullableType(stringType()),
|
|
65955
65929
|
id: stringType(),
|
|
65956
65930
|
name: stringType(),
|
|
65957
|
-
|
|
65931
|
+
source: stringType(),
|
|
65958
65932
|
status: ImageStatus$outboundSchema
|
|
65959
65933
|
}).transform((v2) => {
|
|
65960
65934
|
return remap(v2, {
|
|
@@ -65963,21 +65937,6 @@ var init_image = __esm(() => {
|
|
|
65963
65937
|
});
|
|
65964
65938
|
});
|
|
65965
65939
|
|
|
65966
|
-
// src/models/components/imagebuild.ts
|
|
65967
|
-
var ImageBuild$inboundSchema, ImageBuild$outboundSchema;
|
|
65968
|
-
var init_imagebuild = __esm(() => {
|
|
65969
|
-
init_esm();
|
|
65970
|
-
init_imagespec();
|
|
65971
|
-
ImageBuild$inboundSchema = objectType({
|
|
65972
|
-
name: stringType(),
|
|
65973
|
-
spec: ImageSpec$inboundSchema
|
|
65974
|
-
});
|
|
65975
|
-
ImageBuild$outboundSchema = objectType({
|
|
65976
|
-
name: stringType(),
|
|
65977
|
-
spec: ImageSpec$outboundSchema
|
|
65978
|
-
});
|
|
65979
|
-
});
|
|
65980
|
-
|
|
65981
65940
|
// src/models/components/imagegenerationcallwithid.ts
|
|
65982
65941
|
var ImageGenerationCallWithId$inboundSchema, ImageGenerationCallWithId$outboundSchema;
|
|
65983
65942
|
var init_imagegenerationcallwithid = __esm(() => {
|
|
@@ -66260,6 +66219,22 @@ var init_imagegenerationtooldefinition = __esm(() => {
|
|
|
66260
66219
|
});
|
|
66261
66220
|
});
|
|
66262
66221
|
|
|
66222
|
+
// src/models/components/imageregister.ts
|
|
66223
|
+
var ImageRegister$inboundSchema, ImageRegister$outboundSchema;
|
|
66224
|
+
var init_imageregister = __esm(() => {
|
|
66225
|
+
init_esm();
|
|
66226
|
+
ImageRegister$inboundSchema = objectType({
|
|
66227
|
+
digest: nullableType(stringType()).optional(),
|
|
66228
|
+
name: stringType(),
|
|
66229
|
+
source: stringType()
|
|
66230
|
+
});
|
|
66231
|
+
ImageRegister$outboundSchema = objectType({
|
|
66232
|
+
digest: nullableType(stringType()).optional(),
|
|
66233
|
+
name: stringType(),
|
|
66234
|
+
source: stringType()
|
|
66235
|
+
});
|
|
66236
|
+
});
|
|
66237
|
+
|
|
66263
66238
|
// src/models/components/importhistoricalevalresultsrequest.ts
|
|
66264
66239
|
var ImportHistoricalEvalResultsRequestSource$inboundSchema, ImportHistoricalEvalResultsRequestSource$outboundSchema, ImportHistoricalEvalResultsRequest$inboundSchema, ImportHistoricalEvalResultsRequest$outboundSchema;
|
|
66265
66240
|
var init_importhistoricalevalresultsrequest = __esm(() => {
|
|
@@ -74192,6 +74167,78 @@ var init_security2 = __esm(() => {
|
|
|
74192
74167
|
});
|
|
74193
74168
|
});
|
|
74194
74169
|
|
|
74170
|
+
// src/models/components/servingorgdeletionrequest.ts
|
|
74171
|
+
var ServingOrgDeletionRequest$inboundSchema, ServingOrgDeletionRequest$outboundSchema;
|
|
74172
|
+
var init_servingorgdeletionrequest = __esm(() => {
|
|
74173
|
+
init_esm();
|
|
74174
|
+
init_primitives();
|
|
74175
|
+
ServingOrgDeletionRequest$inboundSchema = objectType({
|
|
74176
|
+
deleted_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
74177
|
+
event_id: stringType(),
|
|
74178
|
+
reason: nullableType(stringType()).optional()
|
|
74179
|
+
}).transform((v2) => {
|
|
74180
|
+
return remap(v2, {
|
|
74181
|
+
deleted_at: "deletedAt",
|
|
74182
|
+
event_id: "eventId"
|
|
74183
|
+
});
|
|
74184
|
+
});
|
|
74185
|
+
ServingOrgDeletionRequest$outboundSchema = objectType({
|
|
74186
|
+
deletedAt: dateType().transform((v2) => v2.toISOString()),
|
|
74187
|
+
eventId: stringType(),
|
|
74188
|
+
reason: nullableType(stringType()).optional()
|
|
74189
|
+
}).transform((v2) => {
|
|
74190
|
+
return remap(v2, {
|
|
74191
|
+
deletedAt: "deleted_at",
|
|
74192
|
+
eventId: "event_id"
|
|
74193
|
+
});
|
|
74194
|
+
});
|
|
74195
|
+
});
|
|
74196
|
+
|
|
74197
|
+
// src/models/components/servingorgteardown.ts
|
|
74198
|
+
var ServingOrgTeardown$inboundSchema, ServingOrgTeardown$outboundSchema;
|
|
74199
|
+
var init_servingorgteardown = __esm(() => {
|
|
74200
|
+
init_esm();
|
|
74201
|
+
init_primitives();
|
|
74202
|
+
ServingOrgTeardown$inboundSchema = objectType({
|
|
74203
|
+
completed_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
|
|
74204
|
+
deleted_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
74205
|
+
org_id: stringType(),
|
|
74206
|
+
reason: nullableType(stringType()),
|
|
74207
|
+
source_event_id: stringType(),
|
|
74208
|
+
started_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
74209
|
+
state: stringType(),
|
|
74210
|
+
tombstoned_deployments: numberType().int()
|
|
74211
|
+
}).transform((v2) => {
|
|
74212
|
+
return remap(v2, {
|
|
74213
|
+
completed_at: "completedAt",
|
|
74214
|
+
deleted_at: "deletedAt",
|
|
74215
|
+
org_id: "orgId",
|
|
74216
|
+
source_event_id: "sourceEventId",
|
|
74217
|
+
started_at: "startedAt",
|
|
74218
|
+
tombstoned_deployments: "tombstonedDeployments"
|
|
74219
|
+
});
|
|
74220
|
+
});
|
|
74221
|
+
ServingOrgTeardown$outboundSchema = objectType({
|
|
74222
|
+
completedAt: nullableType(dateType().transform((v2) => v2.toISOString())),
|
|
74223
|
+
deletedAt: dateType().transform((v2) => v2.toISOString()),
|
|
74224
|
+
orgId: stringType(),
|
|
74225
|
+
reason: nullableType(stringType()),
|
|
74226
|
+
sourceEventId: stringType(),
|
|
74227
|
+
startedAt: dateType().transform((v2) => v2.toISOString()),
|
|
74228
|
+
state: stringType(),
|
|
74229
|
+
tombstonedDeployments: numberType().int()
|
|
74230
|
+
}).transform((v2) => {
|
|
74231
|
+
return remap(v2, {
|
|
74232
|
+
completedAt: "completed_at",
|
|
74233
|
+
deletedAt: "deleted_at",
|
|
74234
|
+
orgId: "org_id",
|
|
74235
|
+
sourceEventId: "source_event_id",
|
|
74236
|
+
startedAt: "started_at",
|
|
74237
|
+
tombstonedDeployments: "tombstoned_deployments"
|
|
74238
|
+
});
|
|
74239
|
+
});
|
|
74240
|
+
});
|
|
74241
|
+
|
|
74195
74242
|
// src/models/components/servingtenantset.ts
|
|
74196
74243
|
var ServingTenantSet$inboundSchema, ServingTenantSet$outboundSchema;
|
|
74197
74244
|
var init_servingtenantset = __esm(() => {
|
|
@@ -76835,13 +76882,12 @@ var init_components = __esm(() => {
|
|
|
76835
76882
|
init_hostedtoolchoice();
|
|
76836
76883
|
init_hostedtooldefinition();
|
|
76837
76884
|
init_image();
|
|
76838
|
-
init_imagebuild();
|
|
76839
76885
|
init_imagegenerationcall();
|
|
76840
76886
|
init_imagegenerationcallwithid();
|
|
76841
76887
|
init_imagegenerationrequest();
|
|
76842
76888
|
init_imagegenerationresponse();
|
|
76843
76889
|
init_imagegenerationtooldefinition();
|
|
76844
|
-
|
|
76890
|
+
init_imageregister();
|
|
76845
76891
|
init_importhistoricalevalresultsrequest();
|
|
76846
76892
|
init_incompletedetails();
|
|
76847
76893
|
init_inputaudio();
|
|
@@ -77078,6 +77124,8 @@ var init_components = __esm(() => {
|
|
|
77078
77124
|
init_secret();
|
|
77079
77125
|
init_secretcreate();
|
|
77080
77126
|
init_security2();
|
|
77127
|
+
init_servingorgdeletionrequest();
|
|
77128
|
+
init_servingorgteardown();
|
|
77081
77129
|
init_servingtenant();
|
|
77082
77130
|
init_servingtenantset();
|
|
77083
77131
|
init_servingvalidationerror();
|
|
@@ -83211,32 +83259,6 @@ var init_batchgetresponsefeedback = __esm(() => {
|
|
|
83211
83259
|
});
|
|
83212
83260
|
});
|
|
83213
83261
|
|
|
83214
|
-
// src/models/operations/buildimage.ts
|
|
83215
|
-
var BuildImageRequest$inboundSchema, BuildImageRequest$outboundSchema;
|
|
83216
|
-
var init_buildimage = __esm(() => {
|
|
83217
|
-
init_esm();
|
|
83218
|
-
init_primitives();
|
|
83219
|
-
init_components();
|
|
83220
|
-
BuildImageRequest$inboundSchema = objectType({
|
|
83221
|
-
"X-On-Behalf-Of": stringType().optional(),
|
|
83222
|
-
ImageBuild: ImageBuild$inboundSchema
|
|
83223
|
-
}).transform((v2) => {
|
|
83224
|
-
return remap(v2, {
|
|
83225
|
-
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
83226
|
-
ImageBuild: "imageBuild"
|
|
83227
|
-
});
|
|
83228
|
-
});
|
|
83229
|
-
BuildImageRequest$outboundSchema = objectType({
|
|
83230
|
-
xOnBehalfOf: stringType().optional(),
|
|
83231
|
-
imageBuild: ImageBuild$outboundSchema
|
|
83232
|
-
}).transform((v2) => {
|
|
83233
|
-
return remap(v2, {
|
|
83234
|
-
xOnBehalfOf: "X-On-Behalf-Of",
|
|
83235
|
-
imageBuild: "ImageBuild"
|
|
83236
|
-
});
|
|
83237
|
-
});
|
|
83238
|
-
});
|
|
83239
|
-
|
|
83240
83262
|
// src/models/operations/cancelbatch.ts
|
|
83241
83263
|
var CancelBatchRequest$inboundSchema, CancelBatchRequest$outboundSchema;
|
|
83242
83264
|
var init_cancelbatch = __esm(() => {
|
|
@@ -87195,6 +87217,36 @@ var init_deleteserviceaccountapikey2 = __esm(() => {
|
|
|
87195
87217
|
});
|
|
87196
87218
|
});
|
|
87197
87219
|
|
|
87220
|
+
// src/models/operations/deleteservingorganization.ts
|
|
87221
|
+
var DeleteServingOrganizationRequest$inboundSchema, DeleteServingOrganizationRequest$outboundSchema;
|
|
87222
|
+
var init_deleteservingorganization = __esm(() => {
|
|
87223
|
+
init_esm();
|
|
87224
|
+
init_primitives();
|
|
87225
|
+
init_components();
|
|
87226
|
+
DeleteServingOrganizationRequest$inboundSchema = objectType({
|
|
87227
|
+
org_id: stringType(),
|
|
87228
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
87229
|
+
ServingOrgDeletionRequest: ServingOrgDeletionRequest$inboundSchema
|
|
87230
|
+
}).transform((v2) => {
|
|
87231
|
+
return remap(v2, {
|
|
87232
|
+
org_id: "orgId",
|
|
87233
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
87234
|
+
ServingOrgDeletionRequest: "servingOrgDeletionRequest"
|
|
87235
|
+
});
|
|
87236
|
+
});
|
|
87237
|
+
DeleteServingOrganizationRequest$outboundSchema = objectType({
|
|
87238
|
+
orgId: stringType(),
|
|
87239
|
+
xOnBehalfOf: stringType().optional(),
|
|
87240
|
+
servingOrgDeletionRequest: ServingOrgDeletionRequest$outboundSchema
|
|
87241
|
+
}).transform((v2) => {
|
|
87242
|
+
return remap(v2, {
|
|
87243
|
+
orgId: "org_id",
|
|
87244
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
87245
|
+
servingOrgDeletionRequest: "ServingOrgDeletionRequest"
|
|
87246
|
+
});
|
|
87247
|
+
});
|
|
87248
|
+
});
|
|
87249
|
+
|
|
87198
87250
|
// src/models/operations/deleteskill.ts
|
|
87199
87251
|
var DeleteSkillRequest$inboundSchema, DeleteSkillRequest$outboundSchema;
|
|
87200
87252
|
var init_deleteskill = __esm(() => {
|
|
@@ -90689,6 +90741,31 @@ var init_getservingmodel = __esm(() => {
|
|
|
90689
90741
|
});
|
|
90690
90742
|
});
|
|
90691
90743
|
|
|
90744
|
+
// src/models/operations/getservingorganizationdeletion.ts
|
|
90745
|
+
var GetServingOrganizationDeletionRequest$inboundSchema, GetServingOrganizationDeletionRequest$outboundSchema;
|
|
90746
|
+
var init_getservingorganizationdeletion = __esm(() => {
|
|
90747
|
+
init_esm();
|
|
90748
|
+
init_primitives();
|
|
90749
|
+
GetServingOrganizationDeletionRequest$inboundSchema = objectType({
|
|
90750
|
+
org_id: stringType(),
|
|
90751
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
90752
|
+
}).transform((v2) => {
|
|
90753
|
+
return remap(v2, {
|
|
90754
|
+
org_id: "orgId",
|
|
90755
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
90756
|
+
});
|
|
90757
|
+
});
|
|
90758
|
+
GetServingOrganizationDeletionRequest$outboundSchema = objectType({
|
|
90759
|
+
orgId: stringType(),
|
|
90760
|
+
xOnBehalfOf: stringType().optional()
|
|
90761
|
+
}).transform((v2) => {
|
|
90762
|
+
return remap(v2, {
|
|
90763
|
+
orgId: "org_id",
|
|
90764
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
90765
|
+
});
|
|
90766
|
+
});
|
|
90767
|
+
});
|
|
90768
|
+
|
|
90692
90769
|
// src/models/operations/getservingtenant.ts
|
|
90693
90770
|
var GetServingTenantRequest$inboundSchema, GetServingTenantRequest$outboundSchema;
|
|
90694
90771
|
var init_getservingtenant = __esm(() => {
|
|
@@ -94783,6 +94860,32 @@ var init_registerdeployment = __esm(() => {
|
|
|
94783
94860
|
});
|
|
94784
94861
|
});
|
|
94785
94862
|
|
|
94863
|
+
// src/models/operations/registerimage.ts
|
|
94864
|
+
var RegisterImageRequest$inboundSchema, RegisterImageRequest$outboundSchema;
|
|
94865
|
+
var init_registerimage = __esm(() => {
|
|
94866
|
+
init_esm();
|
|
94867
|
+
init_primitives();
|
|
94868
|
+
init_components();
|
|
94869
|
+
RegisterImageRequest$inboundSchema = objectType({
|
|
94870
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
94871
|
+
ImageRegister: ImageRegister$inboundSchema
|
|
94872
|
+
}).transform((v2) => {
|
|
94873
|
+
return remap(v2, {
|
|
94874
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
94875
|
+
ImageRegister: "imageRegister"
|
|
94876
|
+
});
|
|
94877
|
+
});
|
|
94878
|
+
RegisterImageRequest$outboundSchema = objectType({
|
|
94879
|
+
xOnBehalfOf: stringType().optional(),
|
|
94880
|
+
imageRegister: ImageRegister$outboundSchema
|
|
94881
|
+
}).transform((v2) => {
|
|
94882
|
+
return remap(v2, {
|
|
94883
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
94884
|
+
imageRegister: "ImageRegister"
|
|
94885
|
+
});
|
|
94886
|
+
});
|
|
94887
|
+
});
|
|
94888
|
+
|
|
94786
94889
|
// src/models/operations/registermodel.ts
|
|
94787
94890
|
var RegisterModelRequest$inboundSchema, RegisterModelRequest$outboundSchema;
|
|
94788
94891
|
var init_registermodel = __esm(() => {
|
|
@@ -98133,7 +98236,6 @@ var init_operations = __esm(() => {
|
|
|
98133
98236
|
init_addteammember2();
|
|
98134
98237
|
init_batchgetcompletionfeedback();
|
|
98135
98238
|
init_batchgetresponsefeedback();
|
|
98136
|
-
init_buildimage();
|
|
98137
98239
|
init_cancelbatch();
|
|
98138
98240
|
init_cancelevalrun();
|
|
98139
98241
|
init_cancelfinetunejob();
|
|
@@ -98219,6 +98321,7 @@ var init_operations = __esm(() => {
|
|
|
98219
98321
|
init_deletesecret();
|
|
98220
98322
|
init_deleteserviceaccount2();
|
|
98221
98323
|
init_deleteserviceaccountapikey2();
|
|
98324
|
+
init_deleteservingorganization();
|
|
98222
98325
|
init_deleteskill();
|
|
98223
98326
|
init_deleteskillversion();
|
|
98224
98327
|
init_deletespeechtotexthistory();
|
|
@@ -98287,6 +98390,7 @@ var init_operations = __esm(() => {
|
|
|
98287
98390
|
init_getsandboxusage();
|
|
98288
98391
|
init_getserviceaccount2();
|
|
98289
98392
|
init_getservingmodel();
|
|
98393
|
+
init_getservingorganizationdeletion();
|
|
98290
98394
|
init_getservingtenant();
|
|
98291
98395
|
init_getsession();
|
|
98292
98396
|
init_getsessionurl();
|
|
@@ -98383,6 +98487,7 @@ var init_operations = __esm(() => {
|
|
|
98383
98487
|
init_regeneratescopedapikey2();
|
|
98384
98488
|
init_regenerateserviceaccountapikey2();
|
|
98385
98489
|
init_registerdeployment();
|
|
98490
|
+
init_registerimage();
|
|
98386
98491
|
init_registermodel();
|
|
98387
98492
|
init_reissueownerkey2();
|
|
98388
98493
|
init_removeteammember2();
|
|
@@ -133434,7 +133539,7 @@ async function $do297(client, request, options) {
|
|
|
133434
133539
|
const responseFields = {
|
|
133435
133540
|
HttpMeta: { Response: response, Request: req }
|
|
133436
133541
|
};
|
|
133437
|
-
const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
133542
|
+
const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
133438
133543
|
if (!result.ok) {
|
|
133439
133544
|
return [result, { status: "complete", request: req, response }];
|
|
133440
133545
|
}
|
|
@@ -134571,126 +134676,11 @@ List the checkpoints a fine-tune job has produced.`,
|
|
|
134571
134676
|
};
|
|
134572
134677
|
});
|
|
134573
134678
|
|
|
134574
|
-
// src/funcs/servingImagesBuild.ts
|
|
134575
|
-
function servingImagesBuild(client, request, options) {
|
|
134576
|
-
return new APIPromise($do307(client, request, options));
|
|
134577
|
-
}
|
|
134578
|
-
async function $do307(client, request, options) {
|
|
134579
|
-
const parsed = safeParse4(request, (value) => BuildImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134580
|
-
if (!parsed.ok) {
|
|
134581
|
-
return [parsed, { status: "invalid" }];
|
|
134582
|
-
}
|
|
134583
|
-
const payload = parsed.value;
|
|
134584
|
-
const body = encodeJSON("body", payload.ImageBuild, { explode: true });
|
|
134585
|
-
const path = pathToFunc("/api/v1/serving/images")();
|
|
134586
|
-
const headers = new Headers(compactMap({
|
|
134587
|
-
"Content-Type": "application/json",
|
|
134588
|
-
Accept: "application/json",
|
|
134589
|
-
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
134590
|
-
}));
|
|
134591
|
-
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
134592
|
-
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
134593
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
134594
|
-
const context = {
|
|
134595
|
-
options: client._options,
|
|
134596
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
134597
|
-
operationID: "buildImage",
|
|
134598
|
-
oAuth2Scopes: null,
|
|
134599
|
-
resolvedSecurity: requestSecurity,
|
|
134600
|
-
securitySource: client._options.bearerAuth,
|
|
134601
|
-
retryConfig: options?.retries || client._options.retryConfig || {
|
|
134602
|
-
strategy: "backoff",
|
|
134603
|
-
backoff: {
|
|
134604
|
-
initialInterval: 500,
|
|
134605
|
-
maxInterval: 5000,
|
|
134606
|
-
exponent: 1.5,
|
|
134607
|
-
maxElapsedTime: 15000
|
|
134608
|
-
},
|
|
134609
|
-
retryConnectionErrors: true
|
|
134610
|
-
},
|
|
134611
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
134612
|
-
};
|
|
134613
|
-
const requestRes = client._createRequest(context, {
|
|
134614
|
-
security: requestSecurity,
|
|
134615
|
-
method: "POST",
|
|
134616
|
-
baseURL: options?.serverURL,
|
|
134617
|
-
path,
|
|
134618
|
-
headers,
|
|
134619
|
-
body,
|
|
134620
|
-
userAgent: client._options.userAgent,
|
|
134621
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
134622
|
-
}, options);
|
|
134623
|
-
if (!requestRes.ok) {
|
|
134624
|
-
return [requestRes, { status: "invalid" }];
|
|
134625
|
-
}
|
|
134626
|
-
const req = requestRes.value;
|
|
134627
|
-
const doResult = await client._do(req, {
|
|
134628
|
-
context,
|
|
134629
|
-
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
134630
|
-
retryConfig: context.retryConfig,
|
|
134631
|
-
retryCodes: context.retryCodes
|
|
134632
|
-
});
|
|
134633
|
-
if (!doResult.ok) {
|
|
134634
|
-
return [doResult, { status: "request-error", request: req }];
|
|
134635
|
-
}
|
|
134636
|
-
const response = doResult.value;
|
|
134637
|
-
const responseFields = {
|
|
134638
|
-
HttpMeta: { Response: response, Request: req }
|
|
134639
|
-
};
|
|
134640
|
-
const [result] = await match(json(202, Image$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
134641
|
-
if (!result.ok) {
|
|
134642
|
-
return [result, { status: "complete", request: req, response }];
|
|
134643
|
-
}
|
|
134644
|
-
return [result, { status: "complete", request: req, response }];
|
|
134645
|
-
}
|
|
134646
|
-
var init_servingImagesBuild = __esm(() => {
|
|
134647
|
-
init_encodings();
|
|
134648
|
-
init_http();
|
|
134649
|
-
init_matchers();
|
|
134650
|
-
init_primitives();
|
|
134651
|
-
init_schemas4();
|
|
134652
|
-
init_security();
|
|
134653
|
-
init_url();
|
|
134654
|
-
init_components();
|
|
134655
|
-
init_errors4();
|
|
134656
|
-
init_operations();
|
|
134657
|
-
init_async();
|
|
134658
|
-
});
|
|
134659
|
-
|
|
134660
|
-
// src/mcp-server/tools/servingImagesBuild.ts
|
|
134661
|
-
var args300, tool$servingImagesBuild;
|
|
134662
|
-
var init_servingImagesBuild2 = __esm(() => {
|
|
134663
|
-
init_servingImagesBuild();
|
|
134664
|
-
init_operations();
|
|
134665
|
-
init_tools();
|
|
134666
|
-
args300 = {
|
|
134667
|
-
request: BuildImageRequest$inboundSchema
|
|
134668
|
-
};
|
|
134669
|
-
tool$servingImagesBuild = {
|
|
134670
|
-
name: "serving-images-build",
|
|
134671
|
-
description: `Build a container image
|
|
134672
|
-
|
|
134673
|
-
Build a custom container image from a recipe for use by deployments and jobs.`,
|
|
134674
|
-
args: args300,
|
|
134675
|
-
tool: async (client, args301, ctx) => {
|
|
134676
|
-
const [result, apiCall] = await servingImagesBuild(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
134677
|
-
if (!result.ok) {
|
|
134678
|
-
return {
|
|
134679
|
-
content: [{ type: "text", text: result.error.message }],
|
|
134680
|
-
isError: true
|
|
134681
|
-
};
|
|
134682
|
-
}
|
|
134683
|
-
const value = result.value;
|
|
134684
|
-
return formatResult(value, apiCall);
|
|
134685
|
-
}
|
|
134686
|
-
};
|
|
134687
|
-
});
|
|
134688
|
-
|
|
134689
134679
|
// src/funcs/servingImagesDelete.ts
|
|
134690
134680
|
function servingImagesDelete(client, request, options) {
|
|
134691
|
-
return new APIPromise($
|
|
134681
|
+
return new APIPromise($do307(client, request, options));
|
|
134692
134682
|
}
|
|
134693
|
-
async function $
|
|
134683
|
+
async function $do307(client, request, options) {
|
|
134694
134684
|
const parsed = safeParse4(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134695
134685
|
if (!parsed.ok) {
|
|
134696
134686
|
return [parsed, { status: "invalid" }];
|
|
@@ -134778,12 +134768,12 @@ var init_servingImagesDelete = __esm(() => {
|
|
|
134778
134768
|
});
|
|
134779
134769
|
|
|
134780
134770
|
// src/mcp-server/tools/servingImagesDelete.ts
|
|
134781
|
-
var
|
|
134771
|
+
var args300, tool$servingImagesDelete;
|
|
134782
134772
|
var init_servingImagesDelete2 = __esm(() => {
|
|
134783
134773
|
init_servingImagesDelete();
|
|
134784
134774
|
init_operations();
|
|
134785
134775
|
init_tools();
|
|
134786
|
-
|
|
134776
|
+
args300 = {
|
|
134787
134777
|
request: DeleteImageRequest$inboundSchema
|
|
134788
134778
|
};
|
|
134789
134779
|
tool$servingImagesDelete = {
|
|
@@ -134791,9 +134781,9 @@ var init_servingImagesDelete2 = __esm(() => {
|
|
|
134791
134781
|
description: `Delete an image
|
|
134792
134782
|
|
|
134793
134783
|
Delete a container image.`,
|
|
134794
|
-
args:
|
|
134795
|
-
tool: async (client,
|
|
134796
|
-
const [result, apiCall] = await servingImagesDelete(client,
|
|
134784
|
+
args: args300,
|
|
134785
|
+
tool: async (client, args301, ctx) => {
|
|
134786
|
+
const [result, apiCall] = await servingImagesDelete(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
134797
134787
|
if (!result.ok) {
|
|
134798
134788
|
return {
|
|
134799
134789
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -134807,9 +134797,9 @@ Delete a container image.`,
|
|
|
134807
134797
|
|
|
134808
134798
|
// src/funcs/servingImagesGet.ts
|
|
134809
134799
|
function servingImagesGet(client, request, options) {
|
|
134810
|
-
return new APIPromise($
|
|
134800
|
+
return new APIPromise($do308(client, request, options));
|
|
134811
134801
|
}
|
|
134812
|
-
async function $
|
|
134802
|
+
async function $do308(client, request, options) {
|
|
134813
134803
|
const parsed = safeParse4(request, (value) => GetImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134814
134804
|
if (!parsed.ok) {
|
|
134815
134805
|
return [parsed, { status: "invalid" }];
|
|
@@ -134897,12 +134887,12 @@ var init_servingImagesGet = __esm(() => {
|
|
|
134897
134887
|
});
|
|
134898
134888
|
|
|
134899
134889
|
// src/mcp-server/tools/servingImagesGet.ts
|
|
134900
|
-
var
|
|
134890
|
+
var args301, tool$servingImagesGet;
|
|
134901
134891
|
var init_servingImagesGet2 = __esm(() => {
|
|
134902
134892
|
init_servingImagesGet();
|
|
134903
134893
|
init_operations();
|
|
134904
134894
|
init_tools();
|
|
134905
|
-
|
|
134895
|
+
args301 = {
|
|
134906
134896
|
request: GetImageRequest$inboundSchema
|
|
134907
134897
|
};
|
|
134908
134898
|
tool$servingImagesGet = {
|
|
@@ -134910,9 +134900,9 @@ var init_servingImagesGet2 = __esm(() => {
|
|
|
134910
134900
|
description: `Get an image
|
|
134911
134901
|
|
|
134912
134902
|
Retrieve an image, including its build status.`,
|
|
134913
|
-
args:
|
|
134914
|
-
tool: async (client,
|
|
134915
|
-
const [result, apiCall] = await servingImagesGet(client,
|
|
134903
|
+
args: args301,
|
|
134904
|
+
tool: async (client, args302, ctx) => {
|
|
134905
|
+
const [result, apiCall] = await servingImagesGet(client, args302.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
134916
134906
|
if (!result.ok) {
|
|
134917
134907
|
return {
|
|
134918
134908
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -134927,9 +134917,9 @@ Retrieve an image, including its build status.`,
|
|
|
134927
134917
|
|
|
134928
134918
|
// src/funcs/servingImagesList.ts
|
|
134929
134919
|
function servingImagesList(client, request, options) {
|
|
134930
|
-
return new APIPromise($
|
|
134920
|
+
return new APIPromise($do309(client, request, options));
|
|
134931
134921
|
}
|
|
134932
|
-
async function $
|
|
134922
|
+
async function $do309(client, request, options) {
|
|
134933
134923
|
const parsed = safeParse4(request, (value) => ListImagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134934
134924
|
if (!parsed.ok) {
|
|
134935
134925
|
return [parsed, { status: "invalid" }];
|
|
@@ -135016,12 +135006,12 @@ var init_servingImagesList = __esm(() => {
|
|
|
135016
135006
|
});
|
|
135017
135007
|
|
|
135018
135008
|
// src/mcp-server/tools/servingImagesList.ts
|
|
135019
|
-
var
|
|
135009
|
+
var args302, tool$servingImagesList;
|
|
135020
135010
|
var init_servingImagesList2 = __esm(() => {
|
|
135021
135011
|
init_servingImagesList();
|
|
135022
135012
|
init_operations();
|
|
135023
135013
|
init_tools();
|
|
135024
|
-
|
|
135014
|
+
args302 = {
|
|
135025
135015
|
request: ListImagesRequest$inboundSchema
|
|
135026
135016
|
};
|
|
135027
135017
|
tool$servingImagesList = {
|
|
@@ -135029,9 +135019,124 @@ var init_servingImagesList2 = __esm(() => {
|
|
|
135029
135019
|
description: `List images
|
|
135030
135020
|
|
|
135031
135021
|
List your container images.`,
|
|
135022
|
+
args: args302,
|
|
135023
|
+
tool: async (client, args303, ctx) => {
|
|
135024
|
+
const [result, apiCall] = await servingImagesList(client, args303.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135025
|
+
if (!result.ok) {
|
|
135026
|
+
return {
|
|
135027
|
+
content: [{ type: "text", text: result.error.message }],
|
|
135028
|
+
isError: true
|
|
135029
|
+
};
|
|
135030
|
+
}
|
|
135031
|
+
const value = result.value;
|
|
135032
|
+
return formatResult(value, apiCall);
|
|
135033
|
+
}
|
|
135034
|
+
};
|
|
135035
|
+
});
|
|
135036
|
+
|
|
135037
|
+
// src/funcs/servingImagesRegister.ts
|
|
135038
|
+
function servingImagesRegister(client, request, options) {
|
|
135039
|
+
return new APIPromise($do310(client, request, options));
|
|
135040
|
+
}
|
|
135041
|
+
async function $do310(client, request, options) {
|
|
135042
|
+
const parsed = safeParse4(request, (value) => RegisterImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135043
|
+
if (!parsed.ok) {
|
|
135044
|
+
return [parsed, { status: "invalid" }];
|
|
135045
|
+
}
|
|
135046
|
+
const payload = parsed.value;
|
|
135047
|
+
const body = encodeJSON("body", payload.ImageRegister, { explode: true });
|
|
135048
|
+
const path = pathToFunc("/api/v1/serving/images")();
|
|
135049
|
+
const headers = new Headers(compactMap({
|
|
135050
|
+
"Content-Type": "application/json",
|
|
135051
|
+
Accept: "application/json",
|
|
135052
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
135053
|
+
}));
|
|
135054
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
135055
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
135056
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
135057
|
+
const context = {
|
|
135058
|
+
options: client._options,
|
|
135059
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
135060
|
+
operationID: "registerImage",
|
|
135061
|
+
oAuth2Scopes: null,
|
|
135062
|
+
resolvedSecurity: requestSecurity,
|
|
135063
|
+
securitySource: client._options.bearerAuth,
|
|
135064
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
135065
|
+
strategy: "backoff",
|
|
135066
|
+
backoff: {
|
|
135067
|
+
initialInterval: 500,
|
|
135068
|
+
maxInterval: 5000,
|
|
135069
|
+
exponent: 1.5,
|
|
135070
|
+
maxElapsedTime: 15000
|
|
135071
|
+
},
|
|
135072
|
+
retryConnectionErrors: true
|
|
135073
|
+
},
|
|
135074
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
135075
|
+
};
|
|
135076
|
+
const requestRes = client._createRequest(context, {
|
|
135077
|
+
security: requestSecurity,
|
|
135078
|
+
method: "POST",
|
|
135079
|
+
baseURL: options?.serverURL,
|
|
135080
|
+
path,
|
|
135081
|
+
headers,
|
|
135082
|
+
body,
|
|
135083
|
+
userAgent: client._options.userAgent,
|
|
135084
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
135085
|
+
}, options);
|
|
135086
|
+
if (!requestRes.ok) {
|
|
135087
|
+
return [requestRes, { status: "invalid" }];
|
|
135088
|
+
}
|
|
135089
|
+
const req = requestRes.value;
|
|
135090
|
+
const doResult = await client._do(req, {
|
|
135091
|
+
context,
|
|
135092
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
135093
|
+
retryConfig: context.retryConfig,
|
|
135094
|
+
retryCodes: context.retryCodes
|
|
135095
|
+
});
|
|
135096
|
+
if (!doResult.ok) {
|
|
135097
|
+
return [doResult, { status: "request-error", request: req }];
|
|
135098
|
+
}
|
|
135099
|
+
const response = doResult.value;
|
|
135100
|
+
const responseFields = {
|
|
135101
|
+
HttpMeta: { Response: response, Request: req }
|
|
135102
|
+
};
|
|
135103
|
+
const [result] = await match(json(201, Image$inboundSchema), jsonErr([403, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135104
|
+
if (!result.ok) {
|
|
135105
|
+
return [result, { status: "complete", request: req, response }];
|
|
135106
|
+
}
|
|
135107
|
+
return [result, { status: "complete", request: req, response }];
|
|
135108
|
+
}
|
|
135109
|
+
var init_servingImagesRegister = __esm(() => {
|
|
135110
|
+
init_encodings();
|
|
135111
|
+
init_http();
|
|
135112
|
+
init_matchers();
|
|
135113
|
+
init_primitives();
|
|
135114
|
+
init_schemas4();
|
|
135115
|
+
init_security();
|
|
135116
|
+
init_url();
|
|
135117
|
+
init_components();
|
|
135118
|
+
init_errors4();
|
|
135119
|
+
init_operations();
|
|
135120
|
+
init_async();
|
|
135121
|
+
});
|
|
135122
|
+
|
|
135123
|
+
// src/mcp-server/tools/servingImagesRegister.ts
|
|
135124
|
+
var args303, tool$servingImagesRegister;
|
|
135125
|
+
var init_servingImagesRegister2 = __esm(() => {
|
|
135126
|
+
init_servingImagesRegister();
|
|
135127
|
+
init_operations();
|
|
135128
|
+
init_tools();
|
|
135129
|
+
args303 = {
|
|
135130
|
+
request: RegisterImageRequest$inboundSchema
|
|
135131
|
+
};
|
|
135132
|
+
tool$servingImagesRegister = {
|
|
135133
|
+
name: "serving-images-register",
|
|
135134
|
+
description: `Register a container image
|
|
135135
|
+
|
|
135136
|
+
Register a container image by reference so it can back a BYO deployment or a recipe. (Data upload and build-with-weight-baking are future additions.)`,
|
|
135032
135137
|
args: args303,
|
|
135033
135138
|
tool: async (client, args304, ctx) => {
|
|
135034
|
-
const [result, apiCall] = await
|
|
135139
|
+
const [result, apiCall] = await servingImagesRegister(client, args304.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135035
135140
|
if (!result.ok) {
|
|
135036
135141
|
return {
|
|
135037
135142
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135870,11 +135975,134 @@ List your secrets by name (values are never returned).`,
|
|
|
135870
135975
|
};
|
|
135871
135976
|
});
|
|
135872
135977
|
|
|
135873
|
-
// src/funcs/
|
|
135874
|
-
function
|
|
135978
|
+
// src/funcs/servingTenantsDeleteOrganization.ts
|
|
135979
|
+
function servingTenantsDeleteOrganization(client, request, options) {
|
|
135875
135980
|
return new APIPromise($do318(client, request, options));
|
|
135876
135981
|
}
|
|
135877
135982
|
async function $do318(client, request, options) {
|
|
135983
|
+
const parsed = safeParse4(request, (value) => DeleteServingOrganizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135984
|
+
if (!parsed.ok) {
|
|
135985
|
+
return [parsed, { status: "invalid" }];
|
|
135986
|
+
}
|
|
135987
|
+
const payload = parsed.value;
|
|
135988
|
+
const body = encodeJSON("body", payload.ServingOrgDeletionRequest, {
|
|
135989
|
+
explode: true
|
|
135990
|
+
});
|
|
135991
|
+
const pathParams = {
|
|
135992
|
+
org_id: encodeSimple("org_id", payload.org_id, {
|
|
135993
|
+
explode: false,
|
|
135994
|
+
charEncoding: "percent"
|
|
135995
|
+
})
|
|
135996
|
+
};
|
|
135997
|
+
const path = pathToFunc("/api/v1/serving/tenants/{org_id}/deletion")(pathParams);
|
|
135998
|
+
const headers = new Headers(compactMap({
|
|
135999
|
+
"Content-Type": "application/json",
|
|
136000
|
+
Accept: "application/json",
|
|
136001
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136002
|
+
}));
|
|
136003
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136004
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
136005
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136006
|
+
const context = {
|
|
136007
|
+
options: client._options,
|
|
136008
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136009
|
+
operationID: "deleteServingOrganization",
|
|
136010
|
+
oAuth2Scopes: null,
|
|
136011
|
+
resolvedSecurity: requestSecurity,
|
|
136012
|
+
securitySource: client._options.bearerAuth,
|
|
136013
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
136014
|
+
strategy: "backoff",
|
|
136015
|
+
backoff: {
|
|
136016
|
+
initialInterval: 500,
|
|
136017
|
+
maxInterval: 5000,
|
|
136018
|
+
exponent: 1.5,
|
|
136019
|
+
maxElapsedTime: 15000
|
|
136020
|
+
},
|
|
136021
|
+
retryConnectionErrors: true
|
|
136022
|
+
},
|
|
136023
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
136024
|
+
};
|
|
136025
|
+
const requestRes = client._createRequest(context, {
|
|
136026
|
+
security: requestSecurity,
|
|
136027
|
+
method: "POST",
|
|
136028
|
+
baseURL: options?.serverURL,
|
|
136029
|
+
path,
|
|
136030
|
+
headers,
|
|
136031
|
+
body,
|
|
136032
|
+
userAgent: client._options.userAgent,
|
|
136033
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136034
|
+
}, options);
|
|
136035
|
+
if (!requestRes.ok) {
|
|
136036
|
+
return [requestRes, { status: "invalid" }];
|
|
136037
|
+
}
|
|
136038
|
+
const req = requestRes.value;
|
|
136039
|
+
const doResult = await client._do(req, {
|
|
136040
|
+
context,
|
|
136041
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
136042
|
+
retryConfig: context.retryConfig,
|
|
136043
|
+
retryCodes: context.retryCodes
|
|
136044
|
+
});
|
|
136045
|
+
if (!doResult.ok) {
|
|
136046
|
+
return [doResult, { status: "request-error", request: req }];
|
|
136047
|
+
}
|
|
136048
|
+
const response = doResult.value;
|
|
136049
|
+
const responseFields = {
|
|
136050
|
+
HttpMeta: { Response: response, Request: req }
|
|
136051
|
+
};
|
|
136052
|
+
const [result] = await match(json(202, ServingOrgTeardown$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr(503, ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136053
|
+
if (!result.ok) {
|
|
136054
|
+
return [result, { status: "complete", request: req, response }];
|
|
136055
|
+
}
|
|
136056
|
+
return [result, { status: "complete", request: req, response }];
|
|
136057
|
+
}
|
|
136058
|
+
var init_servingTenantsDeleteOrganization = __esm(() => {
|
|
136059
|
+
init_encodings();
|
|
136060
|
+
init_http();
|
|
136061
|
+
init_matchers();
|
|
136062
|
+
init_primitives();
|
|
136063
|
+
init_schemas4();
|
|
136064
|
+
init_security();
|
|
136065
|
+
init_url();
|
|
136066
|
+
init_components();
|
|
136067
|
+
init_errors4();
|
|
136068
|
+
init_operations();
|
|
136069
|
+
init_async();
|
|
136070
|
+
});
|
|
136071
|
+
|
|
136072
|
+
// src/mcp-server/tools/servingTenantsDeleteOrganization.ts
|
|
136073
|
+
var args311, tool$servingTenantsDeleteOrganization;
|
|
136074
|
+
var init_servingTenantsDeleteOrganization2 = __esm(() => {
|
|
136075
|
+
init_servingTenantsDeleteOrganization();
|
|
136076
|
+
init_operations();
|
|
136077
|
+
init_tools();
|
|
136078
|
+
args311 = {
|
|
136079
|
+
request: DeleteServingOrganizationRequest$inboundSchema
|
|
136080
|
+
};
|
|
136081
|
+
tool$servingTenantsDeleteOrganization = {
|
|
136082
|
+
name: "serving-tenants-delete-organization",
|
|
136083
|
+
description: `Trigger organization deletion teardown
|
|
136084
|
+
|
|
136085
|
+
Durably records an organization.deleted.v1 event and starts (or adopts) the mandatory teardown cascade: the organization is fenced against new work and every deployment is tombstoned and wound down, while all pricing, budget, spend, and usage records are preserved. Idempotent by event id. Cluster administrators only.`,
|
|
136086
|
+
args: args311,
|
|
136087
|
+
tool: async (client, args312, ctx) => {
|
|
136088
|
+
const [result, apiCall] = await servingTenantsDeleteOrganization(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136089
|
+
if (!result.ok) {
|
|
136090
|
+
return {
|
|
136091
|
+
content: [{ type: "text", text: result.error.message }],
|
|
136092
|
+
isError: true
|
|
136093
|
+
};
|
|
136094
|
+
}
|
|
136095
|
+
const value = result.value;
|
|
136096
|
+
return formatResult(value, apiCall);
|
|
136097
|
+
}
|
|
136098
|
+
};
|
|
136099
|
+
});
|
|
136100
|
+
|
|
136101
|
+
// src/funcs/servingTenantsGet.ts
|
|
136102
|
+
function servingTenantsGet(client, request, options) {
|
|
136103
|
+
return new APIPromise($do319(client, request, options));
|
|
136104
|
+
}
|
|
136105
|
+
async function $do319(client, request, options) {
|
|
135878
136106
|
const parsed = safeParse4(request, (value) => GetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135879
136107
|
if (!parsed.ok) {
|
|
135880
136108
|
return [parsed, { status: "invalid" }];
|
|
@@ -135962,12 +136190,12 @@ var init_servingTenantsGet = __esm(() => {
|
|
|
135962
136190
|
});
|
|
135963
136191
|
|
|
135964
136192
|
// src/mcp-server/tools/servingTenantsGet.ts
|
|
135965
|
-
var
|
|
136193
|
+
var args312, tool$servingTenantsGet;
|
|
135966
136194
|
var init_servingTenantsGet2 = __esm(() => {
|
|
135967
136195
|
init_servingTenantsGet();
|
|
135968
136196
|
init_operations();
|
|
135969
136197
|
init_tools();
|
|
135970
|
-
|
|
136198
|
+
args312 = {
|
|
135971
136199
|
request: GetServingTenantRequest$inboundSchema
|
|
135972
136200
|
};
|
|
135973
136201
|
tool$servingTenantsGet = {
|
|
@@ -135975,9 +136203,129 @@ var init_servingTenantsGet2 = __esm(() => {
|
|
|
135975
136203
|
description: `Get a serving tenant
|
|
135976
136204
|
|
|
135977
136205
|
Get one organization's serving enablement record. Cluster administrators only.`,
|
|
135978
|
-
args:
|
|
135979
|
-
tool: async (client,
|
|
135980
|
-
const [result, apiCall] = await servingTenantsGet(client,
|
|
136206
|
+
args: args312,
|
|
136207
|
+
tool: async (client, args313, ctx) => {
|
|
136208
|
+
const [result, apiCall] = await servingTenantsGet(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136209
|
+
if (!result.ok) {
|
|
136210
|
+
return {
|
|
136211
|
+
content: [{ type: "text", text: result.error.message }],
|
|
136212
|
+
isError: true
|
|
136213
|
+
};
|
|
136214
|
+
}
|
|
136215
|
+
const value = result.value;
|
|
136216
|
+
return formatResult(value, apiCall);
|
|
136217
|
+
}
|
|
136218
|
+
};
|
|
136219
|
+
});
|
|
136220
|
+
|
|
136221
|
+
// src/funcs/servingTenantsGetOrganizationDeletion.ts
|
|
136222
|
+
function servingTenantsGetOrganizationDeletion(client, request, options) {
|
|
136223
|
+
return new APIPromise($do320(client, request, options));
|
|
136224
|
+
}
|
|
136225
|
+
async function $do320(client, request, options) {
|
|
136226
|
+
const parsed = safeParse4(request, (value) => GetServingOrganizationDeletionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136227
|
+
if (!parsed.ok) {
|
|
136228
|
+
return [parsed, { status: "invalid" }];
|
|
136229
|
+
}
|
|
136230
|
+
const payload = parsed.value;
|
|
136231
|
+
const body = null;
|
|
136232
|
+
const pathParams = {
|
|
136233
|
+
org_id: encodeSimple("org_id", payload.org_id, {
|
|
136234
|
+
explode: false,
|
|
136235
|
+
charEncoding: "percent"
|
|
136236
|
+
})
|
|
136237
|
+
};
|
|
136238
|
+
const path = pathToFunc("/api/v1/serving/tenants/{org_id}/deletion")(pathParams);
|
|
136239
|
+
const headers = new Headers(compactMap({
|
|
136240
|
+
Accept: "application/json",
|
|
136241
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136242
|
+
}));
|
|
136243
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136244
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
136245
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136246
|
+
const context = {
|
|
136247
|
+
options: client._options,
|
|
136248
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136249
|
+
operationID: "getServingOrganizationDeletion",
|
|
136250
|
+
oAuth2Scopes: null,
|
|
136251
|
+
resolvedSecurity: requestSecurity,
|
|
136252
|
+
securitySource: client._options.bearerAuth,
|
|
136253
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
136254
|
+
strategy: "backoff",
|
|
136255
|
+
backoff: {
|
|
136256
|
+
initialInterval: 500,
|
|
136257
|
+
maxInterval: 5000,
|
|
136258
|
+
exponent: 1.5,
|
|
136259
|
+
maxElapsedTime: 15000
|
|
136260
|
+
},
|
|
136261
|
+
retryConnectionErrors: true
|
|
136262
|
+
},
|
|
136263
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
136264
|
+
};
|
|
136265
|
+
const requestRes = client._createRequest(context, {
|
|
136266
|
+
security: requestSecurity,
|
|
136267
|
+
method: "GET",
|
|
136268
|
+
baseURL: options?.serverURL,
|
|
136269
|
+
path,
|
|
136270
|
+
headers,
|
|
136271
|
+
body,
|
|
136272
|
+
userAgent: client._options.userAgent,
|
|
136273
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136274
|
+
}, options);
|
|
136275
|
+
if (!requestRes.ok) {
|
|
136276
|
+
return [requestRes, { status: "invalid" }];
|
|
136277
|
+
}
|
|
136278
|
+
const req = requestRes.value;
|
|
136279
|
+
const doResult = await client._do(req, {
|
|
136280
|
+
context,
|
|
136281
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
136282
|
+
retryConfig: context.retryConfig,
|
|
136283
|
+
retryCodes: context.retryCodes
|
|
136284
|
+
});
|
|
136285
|
+
if (!doResult.ok) {
|
|
136286
|
+
return [doResult, { status: "request-error", request: req }];
|
|
136287
|
+
}
|
|
136288
|
+
const response = doResult.value;
|
|
136289
|
+
const responseFields = {
|
|
136290
|
+
HttpMeta: { Response: response, Request: req }
|
|
136291
|
+
};
|
|
136292
|
+
const [result] = await match(json(200, ServingOrgTeardown$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
136293
|
+
if (!result.ok) {
|
|
136294
|
+
return [result, { status: "complete", request: req, response }];
|
|
136295
|
+
}
|
|
136296
|
+
return [result, { status: "complete", request: req, response }];
|
|
136297
|
+
}
|
|
136298
|
+
var init_servingTenantsGetOrganizationDeletion = __esm(() => {
|
|
136299
|
+
init_encodings();
|
|
136300
|
+
init_http();
|
|
136301
|
+
init_matchers();
|
|
136302
|
+
init_primitives();
|
|
136303
|
+
init_schemas4();
|
|
136304
|
+
init_security();
|
|
136305
|
+
init_url();
|
|
136306
|
+
init_components();
|
|
136307
|
+
init_errors4();
|
|
136308
|
+
init_operations();
|
|
136309
|
+
init_async();
|
|
136310
|
+
});
|
|
136311
|
+
|
|
136312
|
+
// src/mcp-server/tools/servingTenantsGetOrganizationDeletion.ts
|
|
136313
|
+
var args313, tool$servingTenantsGetOrganizationDeletion;
|
|
136314
|
+
var init_servingTenantsGetOrganizationDeletion2 = __esm(() => {
|
|
136315
|
+
init_servingTenantsGetOrganizationDeletion();
|
|
136316
|
+
init_operations();
|
|
136317
|
+
init_tools();
|
|
136318
|
+
args313 = {
|
|
136319
|
+
request: GetServingOrganizationDeletionRequest$inboundSchema
|
|
136320
|
+
};
|
|
136321
|
+
tool$servingTenantsGetOrganizationDeletion = {
|
|
136322
|
+
name: "serving-tenants-get-organization-deletion",
|
|
136323
|
+
description: `Get organization deletion teardown state
|
|
136324
|
+
|
|
136325
|
+
Returns the durable teardown-cascade state for an organization (running or complete), so a cluster administrator can confirm offboarding progressed to completion. 404 if the organization has no teardown. Cluster administrators only.`,
|
|
136326
|
+
args: args313,
|
|
136327
|
+
tool: async (client, args314, ctx) => {
|
|
136328
|
+
const [result, apiCall] = await servingTenantsGetOrganizationDeletion(client, args314.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135981
136329
|
if (!result.ok) {
|
|
135982
136330
|
return {
|
|
135983
136331
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135992,9 +136340,9 @@ Get one organization's serving enablement record. Cluster administrators only.`,
|
|
|
135992
136340
|
|
|
135993
136341
|
// src/funcs/servingTenantsList.ts
|
|
135994
136342
|
function servingTenantsList(client, request, options) {
|
|
135995
|
-
return new APIPromise($
|
|
136343
|
+
return new APIPromise($do321(client, request, options));
|
|
135996
136344
|
}
|
|
135997
|
-
async function $
|
|
136345
|
+
async function $do321(client, request, options) {
|
|
135998
136346
|
const parsed = safeParse4(request, (value) => ListServingTenantsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135999
136347
|
if (!parsed.ok) {
|
|
136000
136348
|
return [parsed, { status: "invalid" }];
|
|
@@ -136081,12 +136429,12 @@ var init_servingTenantsList = __esm(() => {
|
|
|
136081
136429
|
});
|
|
136082
136430
|
|
|
136083
136431
|
// src/mcp-server/tools/servingTenantsList.ts
|
|
136084
|
-
var
|
|
136432
|
+
var args314, tool$servingTenantsList;
|
|
136085
136433
|
var init_servingTenantsList2 = __esm(() => {
|
|
136086
136434
|
init_servingTenantsList();
|
|
136087
136435
|
init_operations();
|
|
136088
136436
|
init_tools();
|
|
136089
|
-
|
|
136437
|
+
args314 = {
|
|
136090
136438
|
request: ListServingTenantsRequest$inboundSchema
|
|
136091
136439
|
};
|
|
136092
136440
|
tool$servingTenantsList = {
|
|
@@ -136094,9 +136442,9 @@ var init_servingTenantsList2 = __esm(() => {
|
|
|
136094
136442
|
description: `List serving tenants
|
|
136095
136443
|
|
|
136096
136444
|
List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.`,
|
|
136097
|
-
args:
|
|
136098
|
-
tool: async (client,
|
|
136099
|
-
const [result, apiCall] = await servingTenantsList(client,
|
|
136445
|
+
args: args314,
|
|
136446
|
+
tool: async (client, args315, ctx) => {
|
|
136447
|
+
const [result, apiCall] = await servingTenantsList(client, args315.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136100
136448
|
if (!result.ok) {
|
|
136101
136449
|
return {
|
|
136102
136450
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136111,9 +136459,9 @@ List organization-wide serving enablement records. Cluster administrators only;
|
|
|
136111
136459
|
|
|
136112
136460
|
// src/funcs/servingTenantsSet.ts
|
|
136113
136461
|
function servingTenantsSet(client, request, options) {
|
|
136114
|
-
return new APIPromise($
|
|
136462
|
+
return new APIPromise($do322(client, request, options));
|
|
136115
136463
|
}
|
|
136116
|
-
async function $
|
|
136464
|
+
async function $do322(client, request, options) {
|
|
136117
136465
|
const parsed = safeParse4(request, (value) => SetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136118
136466
|
if (!parsed.ok) {
|
|
136119
136467
|
return [parsed, { status: "invalid" }];
|
|
@@ -136202,12 +136550,12 @@ var init_servingTenantsSet = __esm(() => {
|
|
|
136202
136550
|
});
|
|
136203
136551
|
|
|
136204
136552
|
// src/mcp-server/tools/servingTenantsSet.ts
|
|
136205
|
-
var
|
|
136553
|
+
var args315, tool$servingTenantsSet;
|
|
136206
136554
|
var init_servingTenantsSet2 = __esm(() => {
|
|
136207
136555
|
init_servingTenantsSet();
|
|
136208
136556
|
init_operations();
|
|
136209
136557
|
init_tools();
|
|
136210
|
-
|
|
136558
|
+
args315 = {
|
|
136211
136559
|
request: SetServingTenantRequest$inboundSchema
|
|
136212
136560
|
};
|
|
136213
136561
|
tool$servingTenantsSet = {
|
|
@@ -136215,9 +136563,9 @@ var init_servingTenantsSet2 = __esm(() => {
|
|
|
136215
136563
|
description: `Set serving tenant enablement
|
|
136216
136564
|
|
|
136217
136565
|
Enable or disable serving for an organization and all of its teams. Disabling blocks product API access but does not stop existing workloads or callbacks. Cluster administrators only.`,
|
|
136218
|
-
args:
|
|
136219
|
-
tool: async (client,
|
|
136220
|
-
const [result, apiCall] = await servingTenantsSet(client,
|
|
136566
|
+
args: args315,
|
|
136567
|
+
tool: async (client, args316, ctx) => {
|
|
136568
|
+
const [result, apiCall] = await servingTenantsSet(client, args316.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136221
136569
|
if (!result.ok) {
|
|
136222
136570
|
return {
|
|
136223
136571
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136232,9 +136580,9 @@ Enable or disable serving for an organization and all of its teams. Disabling bl
|
|
|
136232
136580
|
|
|
136233
136581
|
// src/funcs/servingVolumesCreate.ts
|
|
136234
136582
|
function servingVolumesCreate(client, request, options) {
|
|
136235
|
-
return new APIPromise($
|
|
136583
|
+
return new APIPromise($do323(client, request, options));
|
|
136236
136584
|
}
|
|
136237
|
-
async function $
|
|
136585
|
+
async function $do323(client, request, options) {
|
|
136238
136586
|
const parsed = safeParse4(request, (value) => CreateVolumeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136239
136587
|
if (!parsed.ok) {
|
|
136240
136588
|
return [parsed, { status: "invalid" }];
|
|
@@ -136317,12 +136665,12 @@ var init_servingVolumesCreate = __esm(() => {
|
|
|
136317
136665
|
});
|
|
136318
136666
|
|
|
136319
136667
|
// src/mcp-server/tools/servingVolumesCreate.ts
|
|
136320
|
-
var
|
|
136668
|
+
var args316, tool$servingVolumesCreate;
|
|
136321
136669
|
var init_servingVolumesCreate2 = __esm(() => {
|
|
136322
136670
|
init_servingVolumesCreate();
|
|
136323
136671
|
init_operations();
|
|
136324
136672
|
init_tools();
|
|
136325
|
-
|
|
136673
|
+
args316 = {
|
|
136326
136674
|
request: CreateVolumeRequest$inboundSchema
|
|
136327
136675
|
};
|
|
136328
136676
|
tool$servingVolumesCreate = {
|
|
@@ -136330,9 +136678,9 @@ var init_servingVolumesCreate2 = __esm(() => {
|
|
|
136330
136678
|
description: `Create a volume
|
|
136331
136679
|
|
|
136332
136680
|
Create a persistent volume for weights, datasets, or checkpoints.`,
|
|
136333
|
-
args:
|
|
136334
|
-
tool: async (client,
|
|
136335
|
-
const [result, apiCall] = await servingVolumesCreate(client,
|
|
136681
|
+
args: args316,
|
|
136682
|
+
tool: async (client, args317, ctx) => {
|
|
136683
|
+
const [result, apiCall] = await servingVolumesCreate(client, args317.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136336
136684
|
if (!result.ok) {
|
|
136337
136685
|
return {
|
|
136338
136686
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136347,9 +136695,9 @@ Create a persistent volume for weights, datasets, or checkpoints.`,
|
|
|
136347
136695
|
|
|
136348
136696
|
// src/funcs/servingVolumesDelete.ts
|
|
136349
136697
|
function servingVolumesDelete(client, request, options) {
|
|
136350
|
-
return new APIPromise($
|
|
136698
|
+
return new APIPromise($do324(client, request, options));
|
|
136351
136699
|
}
|
|
136352
|
-
async function $
|
|
136700
|
+
async function $do324(client, request, options) {
|
|
136353
136701
|
const parsed = safeParse4(request, (value) => DeleteVolumeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136354
136702
|
if (!parsed.ok) {
|
|
136355
136703
|
return [parsed, { status: "invalid" }];
|
|
@@ -136437,12 +136785,12 @@ var init_servingVolumesDelete = __esm(() => {
|
|
|
136437
136785
|
});
|
|
136438
136786
|
|
|
136439
136787
|
// src/mcp-server/tools/servingVolumesDelete.ts
|
|
136440
|
-
var
|
|
136788
|
+
var args317, tool$servingVolumesDelete;
|
|
136441
136789
|
var init_servingVolumesDelete2 = __esm(() => {
|
|
136442
136790
|
init_servingVolumesDelete();
|
|
136443
136791
|
init_operations();
|
|
136444
136792
|
init_tools();
|
|
136445
|
-
|
|
136793
|
+
args317 = {
|
|
136446
136794
|
request: DeleteVolumeRequest$inboundSchema
|
|
136447
136795
|
};
|
|
136448
136796
|
tool$servingVolumesDelete = {
|
|
@@ -136450,9 +136798,9 @@ var init_servingVolumesDelete2 = __esm(() => {
|
|
|
136450
136798
|
description: `Delete a volume
|
|
136451
136799
|
|
|
136452
136800
|
Delete a volume and its contents.`,
|
|
136453
|
-
args:
|
|
136454
|
-
tool: async (client,
|
|
136455
|
-
const [result, apiCall] = await servingVolumesDelete(client,
|
|
136801
|
+
args: args317,
|
|
136802
|
+
tool: async (client, args318, ctx) => {
|
|
136803
|
+
const [result, apiCall] = await servingVolumesDelete(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136456
136804
|
if (!result.ok) {
|
|
136457
136805
|
return {
|
|
136458
136806
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136466,9 +136814,9 @@ Delete a volume and its contents.`,
|
|
|
136466
136814
|
|
|
136467
136815
|
// src/funcs/servingVolumesGet.ts
|
|
136468
136816
|
function servingVolumesGet(client, request, options) {
|
|
136469
|
-
return new APIPromise($
|
|
136817
|
+
return new APIPromise($do325(client, request, options));
|
|
136470
136818
|
}
|
|
136471
|
-
async function $
|
|
136819
|
+
async function $do325(client, request, options) {
|
|
136472
136820
|
const parsed = safeParse4(request, (value) => GetVolumeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136473
136821
|
if (!parsed.ok) {
|
|
136474
136822
|
return [parsed, { status: "invalid" }];
|
|
@@ -136556,12 +136904,12 @@ var init_servingVolumesGet = __esm(() => {
|
|
|
136556
136904
|
});
|
|
136557
136905
|
|
|
136558
136906
|
// src/mcp-server/tools/servingVolumesGet.ts
|
|
136559
|
-
var
|
|
136907
|
+
var args318, tool$servingVolumesGet;
|
|
136560
136908
|
var init_servingVolumesGet2 = __esm(() => {
|
|
136561
136909
|
init_servingVolumesGet();
|
|
136562
136910
|
init_operations();
|
|
136563
136911
|
init_tools();
|
|
136564
|
-
|
|
136912
|
+
args318 = {
|
|
136565
136913
|
request: GetVolumeRequest$inboundSchema
|
|
136566
136914
|
};
|
|
136567
136915
|
tool$servingVolumesGet = {
|
|
@@ -136569,9 +136917,9 @@ var init_servingVolumesGet2 = __esm(() => {
|
|
|
136569
136917
|
description: `Get a volume
|
|
136570
136918
|
|
|
136571
136919
|
Retrieve a volume.`,
|
|
136572
|
-
args:
|
|
136573
|
-
tool: async (client,
|
|
136574
|
-
const [result, apiCall] = await servingVolumesGet(client,
|
|
136920
|
+
args: args318,
|
|
136921
|
+
tool: async (client, args319, ctx) => {
|
|
136922
|
+
const [result, apiCall] = await servingVolumesGet(client, args319.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136575
136923
|
if (!result.ok) {
|
|
136576
136924
|
return {
|
|
136577
136925
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136586,9 +136934,9 @@ Retrieve a volume.`,
|
|
|
136586
136934
|
|
|
136587
136935
|
// src/funcs/servingVolumesList.ts
|
|
136588
136936
|
function servingVolumesList(client, request, options) {
|
|
136589
|
-
return new APIPromise($
|
|
136937
|
+
return new APIPromise($do326(client, request, options));
|
|
136590
136938
|
}
|
|
136591
|
-
async function $
|
|
136939
|
+
async function $do326(client, request, options) {
|
|
136592
136940
|
const parsed = safeParse4(request, (value) => ListVolumesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136593
136941
|
if (!parsed.ok) {
|
|
136594
136942
|
return [parsed, { status: "invalid" }];
|
|
@@ -136675,12 +137023,12 @@ var init_servingVolumesList = __esm(() => {
|
|
|
136675
137023
|
});
|
|
136676
137024
|
|
|
136677
137025
|
// src/mcp-server/tools/servingVolumesList.ts
|
|
136678
|
-
var
|
|
137026
|
+
var args319, tool$servingVolumesList;
|
|
136679
137027
|
var init_servingVolumesList2 = __esm(() => {
|
|
136680
137028
|
init_servingVolumesList();
|
|
136681
137029
|
init_operations();
|
|
136682
137030
|
init_tools();
|
|
136683
|
-
|
|
137031
|
+
args319 = {
|
|
136684
137032
|
request: ListVolumesRequest$inboundSchema
|
|
136685
137033
|
};
|
|
136686
137034
|
tool$servingVolumesList = {
|
|
@@ -136688,9 +137036,9 @@ var init_servingVolumesList2 = __esm(() => {
|
|
|
136688
137036
|
description: `List volumes
|
|
136689
137037
|
|
|
136690
137038
|
List your volumes.`,
|
|
136691
|
-
args:
|
|
136692
|
-
tool: async (client,
|
|
136693
|
-
const [result, apiCall] = await servingVolumesList(client,
|
|
137039
|
+
args: args319,
|
|
137040
|
+
tool: async (client, args320, ctx) => {
|
|
137041
|
+
const [result, apiCall] = await servingVolumesList(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136694
137042
|
if (!result.ok) {
|
|
136695
137043
|
return {
|
|
136696
137044
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136705,9 +137053,9 @@ List your volumes.`,
|
|
|
136705
137053
|
|
|
136706
137054
|
// src/funcs/usageCosts.ts
|
|
136707
137055
|
function usageCosts(client, request, options) {
|
|
136708
|
-
return new APIPromise($
|
|
137056
|
+
return new APIPromise($do327(client, request, options));
|
|
136709
137057
|
}
|
|
136710
|
-
async function $
|
|
137058
|
+
async function $do327(client, request, options) {
|
|
136711
137059
|
const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136712
137060
|
if (!parsed.ok) {
|
|
136713
137061
|
return [parsed, { status: "invalid" }];
|
|
@@ -136790,12 +137138,12 @@ var init_usageCosts = __esm(() => {
|
|
|
136790
137138
|
});
|
|
136791
137139
|
|
|
136792
137140
|
// src/mcp-server/tools/usageCosts.ts
|
|
136793
|
-
var
|
|
137141
|
+
var args320, tool$usageCosts;
|
|
136794
137142
|
var init_usageCosts2 = __esm(() => {
|
|
136795
137143
|
init_usageCosts();
|
|
136796
137144
|
init_operations();
|
|
136797
137145
|
init_tools();
|
|
136798
|
-
|
|
137146
|
+
args320 = {
|
|
136799
137147
|
request: GetCostsRequest$inboundSchema
|
|
136800
137148
|
};
|
|
136801
137149
|
tool$usageCosts = {
|
|
@@ -136803,9 +137151,9 @@ var init_usageCosts2 = __esm(() => {
|
|
|
136803
137151
|
description: `Aggregate cost by dimension
|
|
136804
137152
|
|
|
136805
137153
|
Sums stored per-entry cost over [start_time, end_time), grouped by any of service, task_type, model, api_key_id, team_id, user_id, external_user_id, org_id. Point-in-time correct for chargeback/showback.`,
|
|
136806
|
-
args:
|
|
136807
|
-
tool: async (client,
|
|
136808
|
-
const [result, apiCall] = await usageCosts(client,
|
|
137154
|
+
args: args320,
|
|
137155
|
+
tool: async (client, args321, ctx) => {
|
|
137156
|
+
const [result, apiCall] = await usageCosts(client, args321.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136809
137157
|
if (!result.ok) {
|
|
136810
137158
|
return {
|
|
136811
137159
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136820,9 +137168,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
|
|
|
136820
137168
|
|
|
136821
137169
|
// src/funcs/usageSandbox.ts
|
|
136822
137170
|
function usageSandbox(client, request, options) {
|
|
136823
|
-
return new APIPromise($
|
|
137171
|
+
return new APIPromise($do328(client, request, options));
|
|
136824
137172
|
}
|
|
136825
|
-
async function $
|
|
137173
|
+
async function $do328(client, request, options) {
|
|
136826
137174
|
const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136827
137175
|
if (!parsed.ok) {
|
|
136828
137176
|
return [parsed, { status: "invalid" }];
|
|
@@ -136913,12 +137261,12 @@ var init_usageSandbox = __esm(() => {
|
|
|
136913
137261
|
});
|
|
136914
137262
|
|
|
136915
137263
|
// src/mcp-server/tools/usageSandbox.ts
|
|
136916
|
-
var
|
|
137264
|
+
var args321, tool$usageSandbox;
|
|
136917
137265
|
var init_usageSandbox2 = __esm(() => {
|
|
136918
137266
|
init_usageSandbox();
|
|
136919
137267
|
init_operations();
|
|
136920
137268
|
init_tools();
|
|
136921
|
-
|
|
137269
|
+
args321 = {
|
|
136922
137270
|
request: GetSandboxUsageRequest$inboundSchema
|
|
136923
137271
|
};
|
|
136924
137272
|
tool$usageSandbox = {
|
|
@@ -136926,9 +137274,9 @@ var init_usageSandbox2 = __esm(() => {
|
|
|
136926
137274
|
description: `Get Sandbox Usage
|
|
136927
137275
|
|
|
136928
137276
|
Aggregate sandbox usage (session lifecycle, execution, and workspace operations) over a time range, bucketed and optionally grouped. Org-scoped: callers see their own usage, org admins their team's; cluster admins may pass \`all_orgs\` or \`org_ids\`. Cost and spend reporting lives in the budgeting API (\`/api/v1/budgeting/usage/costs\`).`,
|
|
136929
|
-
args:
|
|
136930
|
-
tool: async (client,
|
|
136931
|
-
const [result, apiCall] = await usageSandbox(client,
|
|
137277
|
+
args: args321,
|
|
137278
|
+
tool: async (client, args322, ctx) => {
|
|
137279
|
+
const [result, apiCall] = await usageSandbox(client, args322.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136932
137280
|
if (!result.ok) {
|
|
136933
137281
|
return {
|
|
136934
137282
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136945,7 +137293,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
136945
137293
|
function createMCPServer(deps) {
|
|
136946
137294
|
const server = new McpServer({
|
|
136947
137295
|
name: "SDK",
|
|
136948
|
-
version: "0.51.
|
|
137296
|
+
version: "0.51.7"
|
|
136949
137297
|
});
|
|
136950
137298
|
const client = new SDKCore({
|
|
136951
137299
|
bearerAuth: deps.bearerAuth,
|
|
@@ -137268,7 +137616,7 @@ function createMCPServer(deps) {
|
|
|
137268
137616
|
tool(tool$servingFinetuneJobsGetEvents);
|
|
137269
137617
|
tool(tool$servingFinetuneJobsGetLogs);
|
|
137270
137618
|
tool(tool$servingImagesList);
|
|
137271
|
-
tool(tool$
|
|
137619
|
+
tool(tool$servingImagesRegister);
|
|
137272
137620
|
tool(tool$servingImagesDelete);
|
|
137273
137621
|
tool(tool$servingImagesGet);
|
|
137274
137622
|
tool(tool$servingModelsList);
|
|
@@ -137281,6 +137629,8 @@ function createMCPServer(deps) {
|
|
|
137281
137629
|
tool(tool$servingTenantsList);
|
|
137282
137630
|
tool(tool$servingTenantsGet);
|
|
137283
137631
|
tool(tool$servingTenantsSet);
|
|
137632
|
+
tool(tool$servingTenantsGetOrganizationDeletion);
|
|
137633
|
+
tool(tool$servingTenantsDeleteOrganization);
|
|
137284
137634
|
tool(tool$servingVolumesList);
|
|
137285
137635
|
tool(tool$servingVolumesCreate);
|
|
137286
137636
|
tool(tool$servingVolumesDelete);
|
|
@@ -137598,10 +137948,10 @@ var init_server2 = __esm(() => {
|
|
|
137598
137948
|
init_servingFinetuneJobsGetLogs2();
|
|
137599
137949
|
init_servingFinetuneJobsList2();
|
|
137600
137950
|
init_servingFinetuneJobsListCheckpoints2();
|
|
137601
|
-
init_servingImagesBuild2();
|
|
137602
137951
|
init_servingImagesDelete2();
|
|
137603
137952
|
init_servingImagesGet2();
|
|
137604
137953
|
init_servingImagesList2();
|
|
137954
|
+
init_servingImagesRegister2();
|
|
137605
137955
|
init_servingModelsDelete2();
|
|
137606
137956
|
init_servingModelsGet2();
|
|
137607
137957
|
init_servingModelsList2();
|
|
@@ -137609,7 +137959,9 @@ var init_server2 = __esm(() => {
|
|
|
137609
137959
|
init_servingSecretsCreate2();
|
|
137610
137960
|
init_servingSecretsDelete2();
|
|
137611
137961
|
init_servingSecretsList2();
|
|
137962
|
+
init_servingTenantsDeleteOrganization2();
|
|
137612
137963
|
init_servingTenantsGet2();
|
|
137964
|
+
init_servingTenantsGetOrganizationDeletion2();
|
|
137613
137965
|
init_servingTenantsList2();
|
|
137614
137966
|
init_servingTenantsSet2();
|
|
137615
137967
|
init_servingVolumesCreate2();
|
|
@@ -138795,7 +139147,7 @@ var routes = rn({
|
|
|
138795
139147
|
var app = Ve(routes, {
|
|
138796
139148
|
name: "mcp",
|
|
138797
139149
|
versionInfo: {
|
|
138798
|
-
currentVersion: "0.51.
|
|
139150
|
+
currentVersion: "0.51.7"
|
|
138799
139151
|
}
|
|
138800
139152
|
});
|
|
138801
139153
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -138803,5 +139155,5 @@ export {
|
|
|
138803
139155
|
app
|
|
138804
139156
|
};
|
|
138805
139157
|
|
|
138806
|
-
//# debugId=
|
|
139158
|
+
//# debugId=B8E1A0B7BC511F4364756E2164756E21
|
|
138807
139159
|
//# sourceMappingURL=mcp-server.js.map
|