@meetkai/mka1 0.51.6 → 0.51.8
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 +242 -230
- package/bin/mcp-server.js +1471 -837
- package/bin/mcp-server.js.map +34 -23
- package/dist/commonjs/funcs/llmFeedbackExportCompletionFeedback.d.ts +17 -0
- package/dist/commonjs/funcs/llmFeedbackExportCompletionFeedback.d.ts.map +1 -0
- package/dist/commonjs/funcs/llmFeedbackExportCompletionFeedback.js +137 -0
- package/dist/commonjs/funcs/llmFeedbackExportCompletionFeedback.js.map +1 -0
- package/dist/commonjs/funcs/llmFeedbackExportResponseFeedback.d.ts +17 -0
- package/dist/commonjs/funcs/llmFeedbackExportResponseFeedback.d.ts.map +1 -0
- package/dist/commonjs/funcs/llmFeedbackExportResponseFeedback.js +137 -0
- package/dist/commonjs/funcs/llmFeedbackExportResponseFeedback.js.map +1 -0
- package/dist/commonjs/funcs/llmFeedbackGetExportStatus.d.ts +2 -3
- package/dist/commonjs/funcs/llmFeedbackGetExportStatus.d.ts.map +1 -1
- package/dist/commonjs/funcs/llmFeedbackGetExportStatus.js +4 -15
- package/dist/commonjs/funcs/llmFeedbackGetExportStatus.js.map +1 -1
- package/dist/commonjs/funcs/llmFeedbackStartExport.d.ts +2 -3
- package/dist/commonjs/funcs/llmFeedbackStartExport.d.ts.map +1 -1
- package/dist/commonjs/funcs/llmFeedbackStartExport.js +4 -15
- package/dist/commonjs/funcs/llmFeedbackStartExport.js.map +1 -1
- 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 +11 -3
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmFeedbackExportCompletionFeedback.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/llmFeedbackExportCompletionFeedback.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmFeedbackExportCompletionFeedback.js +64 -0
- package/dist/commonjs/mcp-server/tools/llmFeedbackExportCompletionFeedback.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmFeedbackExportResponseFeedback.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/llmFeedbackExportResponseFeedback.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmFeedbackExportResponseFeedback.js +64 -0
- package/dist/commonjs/mcp-server/tools/llmFeedbackExportResponseFeedback.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmFeedbackGetExportStatus.d.ts +1 -6
- package/dist/commonjs/mcp-server/tools/llmFeedbackGetExportStatus.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmFeedbackGetExportStatus.js +3 -41
- package/dist/commonjs/mcp-server/tools/llmFeedbackGetExportStatus.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmFeedbackStartExport.d.ts +1 -6
- package/dist/commonjs/mcp-server/tools/llmFeedbackStartExport.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmFeedbackStartExport.js +3 -41
- package/dist/commonjs/mcp-server/tools/llmFeedbackStartExport.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/{operations/startexportfeedback.js → components/servingorgdeletionrequest.js} +20 -14
- 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/{components/imagespec.js → operations/deleteservingorganization.js} +23 -30
- package/dist/commonjs/models/operations/deleteservingorganization.js.map +1 -0
- package/dist/commonjs/models/operations/exportcompletionfeedback.d.ts +80 -0
- package/dist/commonjs/models/operations/exportcompletionfeedback.d.ts.map +1 -0
- package/dist/commonjs/models/operations/exportcompletionfeedback.js +123 -0
- package/dist/commonjs/models/operations/exportcompletionfeedback.js.map +1 -0
- package/dist/commonjs/models/operations/exportresponsefeedback.d.ts +80 -0
- package/dist/commonjs/models/operations/exportresponsefeedback.d.ts.map +1 -0
- package/dist/commonjs/models/operations/exportresponsefeedback.js +121 -0
- package/dist/commonjs/models/operations/exportresponsefeedback.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/{getexportstatus.js → getservingorganizationdeletion.js} +14 -10
- package/dist/commonjs/models/operations/getservingorganizationdeletion.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +5 -3
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +5 -3
- 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 +5 -1
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +5 -1
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/llmFeedbackExportCompletionFeedback.core.d.ts +16 -0
- package/dist/commonjs/react-query/llmFeedbackExportCompletionFeedback.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmFeedbackExportCompletionFeedback.core.js +38 -0
- package/dist/commonjs/react-query/llmFeedbackExportCompletionFeedback.core.js.map +1 -0
- package/dist/commonjs/react-query/llmFeedbackExportCompletionFeedback.d.ts +40 -0
- package/dist/commonjs/react-query/llmFeedbackExportCompletionFeedback.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmFeedbackExportCompletionFeedback.js +65 -0
- package/dist/commonjs/react-query/llmFeedbackExportCompletionFeedback.js.map +1 -0
- package/dist/commonjs/react-query/llmFeedbackExportResponseFeedback.core.d.ts +16 -0
- package/dist/commonjs/react-query/llmFeedbackExportResponseFeedback.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmFeedbackExportResponseFeedback.core.js +38 -0
- package/dist/commonjs/react-query/llmFeedbackExportResponseFeedback.core.js.map +1 -0
- package/dist/commonjs/react-query/llmFeedbackExportResponseFeedback.d.ts +40 -0
- package/dist/commonjs/react-query/llmFeedbackExportResponseFeedback.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmFeedbackExportResponseFeedback.js +65 -0
- package/dist/commonjs/react-query/llmFeedbackExportResponseFeedback.js.map +1 -0
- package/dist/commonjs/react-query/llmFeedbackGetExportStatus.core.d.ts +3 -6
- package/dist/commonjs/react-query/llmFeedbackGetExportStatus.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmFeedbackGetExportStatus.core.js +7 -9
- package/dist/commonjs/react-query/llmFeedbackGetExportStatus.core.js.map +1 -1
- package/dist/commonjs/react-query/llmFeedbackGetExportStatus.d.ts +6 -14
- package/dist/commonjs/react-query/llmFeedbackGetExportStatus.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmFeedbackGetExportStatus.js +8 -15
- package/dist/commonjs/react-query/llmFeedbackGetExportStatus.js.map +1 -1
- package/dist/commonjs/react-query/llmFeedbackStartExport.d.ts +1 -3
- package/dist/commonjs/react-query/llmFeedbackStartExport.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmFeedbackStartExport.js +3 -3
- package/dist/commonjs/react-query/llmFeedbackStartExport.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/feedback.d.ts +18 -4
- package/dist/commonjs/sdk/feedback.d.ts.map +1 -1
- package/dist/commonjs/sdk/feedback.js +26 -6
- package/dist/commonjs/sdk/feedback.js.map +1 -1
- 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/llmFeedbackExportCompletionFeedback.d.ts +17 -0
- package/dist/esm/funcs/llmFeedbackExportCompletionFeedback.d.ts.map +1 -0
- package/dist/esm/funcs/llmFeedbackExportCompletionFeedback.js +101 -0
- package/dist/esm/funcs/llmFeedbackExportCompletionFeedback.js.map +1 -0
- package/dist/esm/funcs/llmFeedbackExportResponseFeedback.d.ts +17 -0
- package/dist/esm/funcs/llmFeedbackExportResponseFeedback.d.ts.map +1 -0
- package/dist/esm/funcs/llmFeedbackExportResponseFeedback.js +101 -0
- package/dist/esm/funcs/llmFeedbackExportResponseFeedback.js.map +1 -0
- package/dist/esm/funcs/llmFeedbackGetExportStatus.d.ts +2 -3
- package/dist/esm/funcs/llmFeedbackGetExportStatus.d.ts.map +1 -1
- package/dist/esm/funcs/llmFeedbackGetExportStatus.js +4 -15
- package/dist/esm/funcs/llmFeedbackGetExportStatus.js.map +1 -1
- package/dist/esm/funcs/llmFeedbackStartExport.d.ts +2 -3
- package/dist/esm/funcs/llmFeedbackStartExport.d.ts.map +1 -1
- package/dist/esm/funcs/llmFeedbackStartExport.js +4 -15
- package/dist/esm/funcs/llmFeedbackStartExport.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 +11 -3
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmFeedbackExportCompletionFeedback.d.ts +8 -0
- package/dist/esm/mcp-server/tools/llmFeedbackExportCompletionFeedback.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/llmFeedbackExportCompletionFeedback.js +28 -0
- package/dist/esm/mcp-server/tools/llmFeedbackExportCompletionFeedback.js.map +1 -0
- package/dist/esm/mcp-server/tools/llmFeedbackExportResponseFeedback.d.ts +8 -0
- package/dist/esm/mcp-server/tools/llmFeedbackExportResponseFeedback.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/llmFeedbackExportResponseFeedback.js +28 -0
- package/dist/esm/mcp-server/tools/llmFeedbackExportResponseFeedback.js.map +1 -0
- package/dist/esm/mcp-server/tools/llmFeedbackGetExportStatus.d.ts +1 -6
- package/dist/esm/mcp-server/tools/llmFeedbackGetExportStatus.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/llmFeedbackGetExportStatus.js +3 -8
- package/dist/esm/mcp-server/tools/llmFeedbackGetExportStatus.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmFeedbackStartExport.d.ts +1 -6
- package/dist/esm/mcp-server/tools/llmFeedbackStartExport.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/llmFeedbackStartExport.js +3 -8
- package/dist/esm/mcp-server/tools/llmFeedbackStartExport.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/exportcompletionfeedback.d.ts +80 -0
- package/dist/esm/models/operations/exportcompletionfeedback.d.ts.map +1 -0
- package/dist/esm/models/operations/exportcompletionfeedback.js +83 -0
- package/dist/esm/models/operations/exportcompletionfeedback.js.map +1 -0
- package/dist/esm/models/operations/exportresponsefeedback.d.ts +80 -0
- package/dist/esm/models/operations/exportresponsefeedback.d.ts.map +1 -0
- package/dist/esm/models/operations/exportresponsefeedback.js +81 -0
- package/dist/esm/models/operations/exportresponsefeedback.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 +5 -3
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +5 -3
- 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 +5 -1
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +5 -1
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/llmFeedbackExportCompletionFeedback.core.d.ts +16 -0
- package/dist/esm/react-query/llmFeedbackExportCompletionFeedback.core.d.ts.map +1 -0
- package/dist/esm/react-query/llmFeedbackExportCompletionFeedback.core.js +33 -0
- package/dist/esm/react-query/llmFeedbackExportCompletionFeedback.core.js.map +1 -0
- package/dist/esm/react-query/llmFeedbackExportCompletionFeedback.d.ts +40 -0
- package/dist/esm/react-query/llmFeedbackExportCompletionFeedback.d.ts.map +1 -0
- package/dist/esm/react-query/llmFeedbackExportCompletionFeedback.js +55 -0
- package/dist/esm/react-query/llmFeedbackExportCompletionFeedback.js.map +1 -0
- package/dist/esm/react-query/llmFeedbackExportResponseFeedback.core.d.ts +16 -0
- package/dist/esm/react-query/llmFeedbackExportResponseFeedback.core.d.ts.map +1 -0
- package/dist/esm/react-query/llmFeedbackExportResponseFeedback.core.js +33 -0
- package/dist/esm/react-query/llmFeedbackExportResponseFeedback.core.js.map +1 -0
- package/dist/esm/react-query/llmFeedbackExportResponseFeedback.d.ts +40 -0
- package/dist/esm/react-query/llmFeedbackExportResponseFeedback.d.ts.map +1 -0
- package/dist/esm/react-query/llmFeedbackExportResponseFeedback.js +55 -0
- package/dist/esm/react-query/llmFeedbackExportResponseFeedback.js.map +1 -0
- package/dist/esm/react-query/llmFeedbackGetExportStatus.core.d.ts +3 -6
- package/dist/esm/react-query/llmFeedbackGetExportStatus.core.d.ts.map +1 -1
- package/dist/esm/react-query/llmFeedbackGetExportStatus.core.js +7 -9
- package/dist/esm/react-query/llmFeedbackGetExportStatus.core.js.map +1 -1
- package/dist/esm/react-query/llmFeedbackGetExportStatus.d.ts +6 -14
- package/dist/esm/react-query/llmFeedbackGetExportStatus.d.ts.map +1 -1
- package/dist/esm/react-query/llmFeedbackGetExportStatus.js +8 -14
- package/dist/esm/react-query/llmFeedbackGetExportStatus.js.map +1 -1
- package/dist/esm/react-query/llmFeedbackStartExport.d.ts +1 -3
- package/dist/esm/react-query/llmFeedbackStartExport.d.ts.map +1 -1
- package/dist/esm/react-query/llmFeedbackStartExport.js +3 -3
- package/dist/esm/react-query/llmFeedbackStartExport.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/feedback.d.ts +18 -4
- package/dist/esm/sdk/feedback.d.ts.map +1 -1
- package/dist/esm/sdk/feedback.js +26 -6
- package/dist/esm/sdk/feedback.js.map +1 -1
- 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/llmFeedbackExportCompletionFeedback.ts +191 -0
- package/src/funcs/llmFeedbackExportResponseFeedback.ts +191 -0
- package/src/funcs/llmFeedbackGetExportStatus.ts +1 -24
- package/src/funcs/llmFeedbackStartExport.ts +1 -25
- 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 +11 -3
- package/src/mcp-server/tools/llmFeedbackExportCompletionFeedback.ts +39 -0
- package/src/mcp-server/tools/llmFeedbackExportResponseFeedback.ts +39 -0
- package/src/mcp-server/tools/llmFeedbackGetExportStatus.ts +3 -10
- package/src/mcp-server/tools/llmFeedbackStartExport.ts +3 -10
- 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/exportcompletionfeedback.ts +185 -0
- package/src/models/operations/exportresponsefeedback.ts +187 -0
- package/src/models/operations/getservingorganizationdeletion.ts +72 -0
- package/src/models/operations/index.ts +5 -3
- package/src/models/operations/{buildimage.ts → registerimage.ts} +20 -20
- package/src/react-query/index.ts +5 -1
- package/src/react-query/llmFeedbackExportCompletionFeedback.core.ts +81 -0
- package/src/react-query/llmFeedbackExportCompletionFeedback.ts +156 -0
- package/src/react-query/llmFeedbackExportResponseFeedback.core.ts +81 -0
- package/src/react-query/llmFeedbackExportResponseFeedback.ts +156 -0
- package/src/react-query/llmFeedbackGetExportStatus.core.ts +3 -12
- package/src/react-query/llmFeedbackGetExportStatus.ts +4 -27
- package/src/react-query/llmFeedbackStartExport.ts +1 -5
- 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/feedback.ts +38 -6
- 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/models/operations/getexportstatus.d.ts +0 -20
- package/dist/commonjs/models/operations/getexportstatus.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getexportstatus.js.map +0 -1
- package/dist/commonjs/models/operations/startexportfeedback.d.ts +0 -20
- package/dist/commonjs/models/operations/startexportfeedback.d.ts.map +0 -1
- package/dist/commonjs/models/operations/startexportfeedback.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/models/operations/getexportstatus.d.ts +0 -20
- package/dist/esm/models/operations/getexportstatus.d.ts.map +0 -1
- package/dist/esm/models/operations/getexportstatus.js +0 -29
- package/dist/esm/models/operations/getexportstatus.js.map +0 -1
- package/dist/esm/models/operations/startexportfeedback.d.ts +0 -20
- package/dist/esm/models/operations/startexportfeedback.d.ts.map +0 -1
- package/dist/esm/models/operations/startexportfeedback.js +0 -29
- package/dist/esm/models/operations/startexportfeedback.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/src/models/operations/getexportstatus.ts +0 -63
- package/src/models/operations/startexportfeedback.ts +0 -63
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.8",
|
|
52880
52880
|
genVersion: "2.918.4",
|
|
52881
|
-
userAgent: "speakeasy-sdk/typescript 0.51.
|
|
52881
|
+
userAgent: "speakeasy-sdk/typescript 0.51.8 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(() => {
|
|
@@ -87570,6 +87622,116 @@ var init_exchangeapikeytoken2 = __esm(() => {
|
|
|
87570
87622
|
});
|
|
87571
87623
|
});
|
|
87572
87624
|
|
|
87625
|
+
// src/models/operations/exportcompletionfeedback.ts
|
|
87626
|
+
var ExportCompletionFeedbackQueryParamOrder, ExportCompletionFeedbackQueryParamRating, ExportCompletionFeedbackQueryParamOrder$inboundSchema, ExportCompletionFeedbackQueryParamOrder$outboundSchema, ExportCompletionFeedbackQueryParamRating$inboundSchema, ExportCompletionFeedbackQueryParamRating$outboundSchema, ExportCompletionFeedbackRequest$inboundSchema, ExportCompletionFeedbackRequest$outboundSchema, ExportCompletionFeedbackResponse$inboundSchema, ExportCompletionFeedbackResponse$outboundSchema;
|
|
87627
|
+
var init_exportcompletionfeedback = __esm(() => {
|
|
87628
|
+
init_esm();
|
|
87629
|
+
init_primitives();
|
|
87630
|
+
ExportCompletionFeedbackQueryParamOrder = {
|
|
87631
|
+
Asc: "asc",
|
|
87632
|
+
Desc: "desc"
|
|
87633
|
+
};
|
|
87634
|
+
ExportCompletionFeedbackQueryParamRating = {
|
|
87635
|
+
ThumbsUp: "thumbs_up",
|
|
87636
|
+
ThumbsDown: "thumbs_down"
|
|
87637
|
+
};
|
|
87638
|
+
ExportCompletionFeedbackQueryParamOrder$inboundSchema = nativeEnumType(ExportCompletionFeedbackQueryParamOrder);
|
|
87639
|
+
ExportCompletionFeedbackQueryParamOrder$outboundSchema = ExportCompletionFeedbackQueryParamOrder$inboundSchema;
|
|
87640
|
+
ExportCompletionFeedbackQueryParamRating$inboundSchema = nativeEnumType(ExportCompletionFeedbackQueryParamRating);
|
|
87641
|
+
ExportCompletionFeedbackQueryParamRating$outboundSchema = ExportCompletionFeedbackQueryParamRating$inboundSchema;
|
|
87642
|
+
ExportCompletionFeedbackRequest$inboundSchema = objectType({
|
|
87643
|
+
order: ExportCompletionFeedbackQueryParamOrder$inboundSchema.default("desc"),
|
|
87644
|
+
rating: ExportCompletionFeedbackQueryParamRating$inboundSchema.optional(),
|
|
87645
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
87646
|
+
}).transform((v2) => {
|
|
87647
|
+
return remap(v2, {
|
|
87648
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
87649
|
+
});
|
|
87650
|
+
});
|
|
87651
|
+
ExportCompletionFeedbackRequest$outboundSchema = objectType({
|
|
87652
|
+
order: ExportCompletionFeedbackQueryParamOrder$outboundSchema.default("desc"),
|
|
87653
|
+
rating: ExportCompletionFeedbackQueryParamRating$outboundSchema.optional(),
|
|
87654
|
+
xOnBehalfOf: stringType().optional()
|
|
87655
|
+
}).transform((v2) => {
|
|
87656
|
+
return remap(v2, {
|
|
87657
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
87658
|
+
});
|
|
87659
|
+
});
|
|
87660
|
+
ExportCompletionFeedbackResponse$inboundSchema = objectType({
|
|
87661
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
87662
|
+
Result: instanceOfType(ReadableStream)
|
|
87663
|
+
}).transform((v2) => {
|
|
87664
|
+
return remap(v2, {
|
|
87665
|
+
Headers: "headers",
|
|
87666
|
+
Result: "result"
|
|
87667
|
+
});
|
|
87668
|
+
});
|
|
87669
|
+
ExportCompletionFeedbackResponse$outboundSchema = objectType({
|
|
87670
|
+
headers: recordType(arrayType(stringType())),
|
|
87671
|
+
result: instanceOfType(ReadableStream)
|
|
87672
|
+
}).transform((v2) => {
|
|
87673
|
+
return remap(v2, {
|
|
87674
|
+
headers: "Headers",
|
|
87675
|
+
result: "Result"
|
|
87676
|
+
});
|
|
87677
|
+
});
|
|
87678
|
+
});
|
|
87679
|
+
|
|
87680
|
+
// src/models/operations/exportresponsefeedback.ts
|
|
87681
|
+
var ExportResponseFeedbackQueryParamOrder, ExportResponseFeedbackQueryParamRating, ExportResponseFeedbackQueryParamOrder$inboundSchema, ExportResponseFeedbackQueryParamOrder$outboundSchema, ExportResponseFeedbackQueryParamRating$inboundSchema, ExportResponseFeedbackQueryParamRating$outboundSchema, ExportResponseFeedbackRequest$inboundSchema, ExportResponseFeedbackRequest$outboundSchema, ExportResponseFeedbackResponse$inboundSchema, ExportResponseFeedbackResponse$outboundSchema;
|
|
87682
|
+
var init_exportresponsefeedback = __esm(() => {
|
|
87683
|
+
init_esm();
|
|
87684
|
+
init_primitives();
|
|
87685
|
+
ExportResponseFeedbackQueryParamOrder = {
|
|
87686
|
+
Asc: "asc",
|
|
87687
|
+
Desc: "desc"
|
|
87688
|
+
};
|
|
87689
|
+
ExportResponseFeedbackQueryParamRating = {
|
|
87690
|
+
ThumbsUp: "thumbs_up",
|
|
87691
|
+
ThumbsDown: "thumbs_down"
|
|
87692
|
+
};
|
|
87693
|
+
ExportResponseFeedbackQueryParamOrder$inboundSchema = nativeEnumType(ExportResponseFeedbackQueryParamOrder);
|
|
87694
|
+
ExportResponseFeedbackQueryParamOrder$outboundSchema = ExportResponseFeedbackQueryParamOrder$inboundSchema;
|
|
87695
|
+
ExportResponseFeedbackQueryParamRating$inboundSchema = nativeEnumType(ExportResponseFeedbackQueryParamRating);
|
|
87696
|
+
ExportResponseFeedbackQueryParamRating$outboundSchema = ExportResponseFeedbackQueryParamRating$inboundSchema;
|
|
87697
|
+
ExportResponseFeedbackRequest$inboundSchema = objectType({
|
|
87698
|
+
order: ExportResponseFeedbackQueryParamOrder$inboundSchema.default("desc"),
|
|
87699
|
+
rating: ExportResponseFeedbackQueryParamRating$inboundSchema.optional(),
|
|
87700
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
87701
|
+
}).transform((v2) => {
|
|
87702
|
+
return remap(v2, {
|
|
87703
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
87704
|
+
});
|
|
87705
|
+
});
|
|
87706
|
+
ExportResponseFeedbackRequest$outboundSchema = objectType({
|
|
87707
|
+
order: ExportResponseFeedbackQueryParamOrder$outboundSchema.default("desc"),
|
|
87708
|
+
rating: ExportResponseFeedbackQueryParamRating$outboundSchema.optional(),
|
|
87709
|
+
xOnBehalfOf: stringType().optional()
|
|
87710
|
+
}).transform((v2) => {
|
|
87711
|
+
return remap(v2, {
|
|
87712
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
87713
|
+
});
|
|
87714
|
+
});
|
|
87715
|
+
ExportResponseFeedbackResponse$inboundSchema = objectType({
|
|
87716
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
87717
|
+
Result: instanceOfType(ReadableStream)
|
|
87718
|
+
}).transform((v2) => {
|
|
87719
|
+
return remap(v2, {
|
|
87720
|
+
Headers: "headers",
|
|
87721
|
+
Result: "result"
|
|
87722
|
+
});
|
|
87723
|
+
});
|
|
87724
|
+
ExportResponseFeedbackResponse$outboundSchema = objectType({
|
|
87725
|
+
headers: recordType(arrayType(stringType())),
|
|
87726
|
+
result: instanceOfType(ReadableStream)
|
|
87727
|
+
}).transform((v2) => {
|
|
87728
|
+
return remap(v2, {
|
|
87729
|
+
headers: "Headers",
|
|
87730
|
+
result: "Result"
|
|
87731
|
+
});
|
|
87732
|
+
});
|
|
87733
|
+
});
|
|
87734
|
+
|
|
87573
87735
|
// src/types/blobs.ts
|
|
87574
87736
|
function isBlobLike2(val) {
|
|
87575
87737
|
if (val instanceof Blob) {
|
|
@@ -89430,27 +89592,6 @@ var init_getevalsuiteversion = __esm(() => {
|
|
|
89430
89592
|
});
|
|
89431
89593
|
});
|
|
89432
89594
|
|
|
89433
|
-
// src/models/operations/getexportstatus.ts
|
|
89434
|
-
var GetExportStatusRequest$inboundSchema, GetExportStatusRequest$outboundSchema;
|
|
89435
|
-
var init_getexportstatus = __esm(() => {
|
|
89436
|
-
init_esm();
|
|
89437
|
-
init_primitives();
|
|
89438
|
-
GetExportStatusRequest$inboundSchema = objectType({
|
|
89439
|
-
"X-On-Behalf-Of": stringType().optional()
|
|
89440
|
-
}).transform((v2) => {
|
|
89441
|
-
return remap(v2, {
|
|
89442
|
-
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
89443
|
-
});
|
|
89444
|
-
});
|
|
89445
|
-
GetExportStatusRequest$outboundSchema = objectType({
|
|
89446
|
-
xOnBehalfOf: stringType().optional()
|
|
89447
|
-
}).transform((v2) => {
|
|
89448
|
-
return remap(v2, {
|
|
89449
|
-
xOnBehalfOf: "X-On-Behalf-Of"
|
|
89450
|
-
});
|
|
89451
|
-
});
|
|
89452
|
-
});
|
|
89453
|
-
|
|
89454
89595
|
// src/models/operations/getextractschema.ts
|
|
89455
89596
|
var GetExtractSchemaRequest$inboundSchema, GetExtractSchemaRequest$outboundSchema;
|
|
89456
89597
|
var init_getextractschema = __esm(() => {
|
|
@@ -90689,6 +90830,31 @@ var init_getservingmodel = __esm(() => {
|
|
|
90689
90830
|
});
|
|
90690
90831
|
});
|
|
90691
90832
|
|
|
90833
|
+
// src/models/operations/getservingorganizationdeletion.ts
|
|
90834
|
+
var GetServingOrganizationDeletionRequest$inboundSchema, GetServingOrganizationDeletionRequest$outboundSchema;
|
|
90835
|
+
var init_getservingorganizationdeletion = __esm(() => {
|
|
90836
|
+
init_esm();
|
|
90837
|
+
init_primitives();
|
|
90838
|
+
GetServingOrganizationDeletionRequest$inboundSchema = objectType({
|
|
90839
|
+
org_id: stringType(),
|
|
90840
|
+
"X-On-Behalf-Of": stringType().optional()
|
|
90841
|
+
}).transform((v2) => {
|
|
90842
|
+
return remap(v2, {
|
|
90843
|
+
org_id: "orgId",
|
|
90844
|
+
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
90845
|
+
});
|
|
90846
|
+
});
|
|
90847
|
+
GetServingOrganizationDeletionRequest$outboundSchema = objectType({
|
|
90848
|
+
orgId: stringType(),
|
|
90849
|
+
xOnBehalfOf: stringType().optional()
|
|
90850
|
+
}).transform((v2) => {
|
|
90851
|
+
return remap(v2, {
|
|
90852
|
+
orgId: "org_id",
|
|
90853
|
+
xOnBehalfOf: "X-On-Behalf-Of"
|
|
90854
|
+
});
|
|
90855
|
+
});
|
|
90856
|
+
});
|
|
90857
|
+
|
|
90692
90858
|
// src/models/operations/getservingtenant.ts
|
|
90693
90859
|
var GetServingTenantRequest$inboundSchema, GetServingTenantRequest$outboundSchema;
|
|
90694
90860
|
var init_getservingtenant = __esm(() => {
|
|
@@ -94783,6 +94949,32 @@ var init_registerdeployment = __esm(() => {
|
|
|
94783
94949
|
});
|
|
94784
94950
|
});
|
|
94785
94951
|
|
|
94952
|
+
// src/models/operations/registerimage.ts
|
|
94953
|
+
var RegisterImageRequest$inboundSchema, RegisterImageRequest$outboundSchema;
|
|
94954
|
+
var init_registerimage = __esm(() => {
|
|
94955
|
+
init_esm();
|
|
94956
|
+
init_primitives();
|
|
94957
|
+
init_components();
|
|
94958
|
+
RegisterImageRequest$inboundSchema = objectType({
|
|
94959
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
94960
|
+
ImageRegister: ImageRegister$inboundSchema
|
|
94961
|
+
}).transform((v2) => {
|
|
94962
|
+
return remap(v2, {
|
|
94963
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
94964
|
+
ImageRegister: "imageRegister"
|
|
94965
|
+
});
|
|
94966
|
+
});
|
|
94967
|
+
RegisterImageRequest$outboundSchema = objectType({
|
|
94968
|
+
xOnBehalfOf: stringType().optional(),
|
|
94969
|
+
imageRegister: ImageRegister$outboundSchema
|
|
94970
|
+
}).transform((v2) => {
|
|
94971
|
+
return remap(v2, {
|
|
94972
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
94973
|
+
imageRegister: "ImageRegister"
|
|
94974
|
+
});
|
|
94975
|
+
});
|
|
94976
|
+
});
|
|
94977
|
+
|
|
94786
94978
|
// src/models/operations/registermodel.ts
|
|
94787
94979
|
var RegisterModelRequest$inboundSchema, RegisterModelRequest$outboundSchema;
|
|
94788
94980
|
var init_registermodel = __esm(() => {
|
|
@@ -96179,27 +96371,6 @@ var init_setupwhatsappappwebhook = __esm(() => {
|
|
|
96179
96371
|
});
|
|
96180
96372
|
});
|
|
96181
96373
|
|
|
96182
|
-
// src/models/operations/startexportfeedback.ts
|
|
96183
|
-
var StartExportFeedbackRequest$inboundSchema, StartExportFeedbackRequest$outboundSchema;
|
|
96184
|
-
var init_startexportfeedback = __esm(() => {
|
|
96185
|
-
init_esm();
|
|
96186
|
-
init_primitives();
|
|
96187
|
-
StartExportFeedbackRequest$inboundSchema = objectType({
|
|
96188
|
-
"X-On-Behalf-Of": stringType().optional()
|
|
96189
|
-
}).transform((v2) => {
|
|
96190
|
-
return remap(v2, {
|
|
96191
|
-
"X-On-Behalf-Of": "xOnBehalfOf"
|
|
96192
|
-
});
|
|
96193
|
-
});
|
|
96194
|
-
StartExportFeedbackRequest$outboundSchema = objectType({
|
|
96195
|
-
xOnBehalfOf: stringType().optional()
|
|
96196
|
-
}).transform((v2) => {
|
|
96197
|
-
return remap(v2, {
|
|
96198
|
-
xOnBehalfOf: "X-On-Behalf-Of"
|
|
96199
|
-
});
|
|
96200
|
-
});
|
|
96201
|
-
});
|
|
96202
|
-
|
|
96203
96374
|
// src/models/operations/streamagentrunevents.ts
|
|
96204
96375
|
var StreamAgentRunEventsRequest$inboundSchema, StreamAgentRunEventsRequest$outboundSchema;
|
|
96205
96376
|
var init_streamagentrunevents = __esm(() => {
|
|
@@ -98133,7 +98304,6 @@ var init_operations = __esm(() => {
|
|
|
98133
98304
|
init_addteammember2();
|
|
98134
98305
|
init_batchgetcompletionfeedback();
|
|
98135
98306
|
init_batchgetresponsefeedback();
|
|
98136
|
-
init_buildimage();
|
|
98137
98307
|
init_cancelbatch();
|
|
98138
98308
|
init_cancelevalrun();
|
|
98139
98309
|
init_cancelfinetunejob();
|
|
@@ -98219,6 +98389,7 @@ var init_operations = __esm(() => {
|
|
|
98219
98389
|
init_deletesecret();
|
|
98220
98390
|
init_deleteserviceaccount2();
|
|
98221
98391
|
init_deleteserviceaccountapikey2();
|
|
98392
|
+
init_deleteservingorganization();
|
|
98222
98393
|
init_deleteskill();
|
|
98223
98394
|
init_deleteskillversion();
|
|
98224
98395
|
init_deletespeechtotexthistory();
|
|
@@ -98232,6 +98403,8 @@ var init_operations = __esm(() => {
|
|
|
98232
98403
|
init_downloadworkspacefile();
|
|
98233
98404
|
init_embed();
|
|
98234
98405
|
init_exchangeapikeytoken2();
|
|
98406
|
+
init_exportcompletionfeedback();
|
|
98407
|
+
init_exportresponsefeedback();
|
|
98235
98408
|
init_extract();
|
|
98236
98409
|
init_extractwithschema();
|
|
98237
98410
|
init_getagent();
|
|
@@ -98260,7 +98433,6 @@ var init_operations = __esm(() => {
|
|
|
98260
98433
|
init_getevalschedule();
|
|
98261
98434
|
init_getevalsuite();
|
|
98262
98435
|
init_getevalsuiteversion();
|
|
98263
|
-
init_getexportstatus();
|
|
98264
98436
|
init_getextractschema();
|
|
98265
98437
|
init_getextractusage();
|
|
98266
98438
|
init_getfile();
|
|
@@ -98287,6 +98459,7 @@ var init_operations = __esm(() => {
|
|
|
98287
98459
|
init_getsandboxusage();
|
|
98288
98460
|
init_getserviceaccount2();
|
|
98289
98461
|
init_getservingmodel();
|
|
98462
|
+
init_getservingorganizationdeletion();
|
|
98290
98463
|
init_getservingtenant();
|
|
98291
98464
|
init_getsession();
|
|
98292
98465
|
init_getsessionurl();
|
|
@@ -98383,6 +98556,7 @@ var init_operations = __esm(() => {
|
|
|
98383
98556
|
init_regeneratescopedapikey2();
|
|
98384
98557
|
init_regenerateserviceaccountapikey2();
|
|
98385
98558
|
init_registerdeployment();
|
|
98559
|
+
init_registerimage();
|
|
98386
98560
|
init_registermodel();
|
|
98387
98561
|
init_reissueownerkey2();
|
|
98388
98562
|
init_removeteammember2();
|
|
@@ -98405,7 +98579,6 @@ var init_operations = __esm(() => {
|
|
|
98405
98579
|
init_setorgprice();
|
|
98406
98580
|
init_setservingtenant();
|
|
98407
98581
|
init_setupwhatsappappwebhook();
|
|
98408
|
-
init_startexportfeedback();
|
|
98409
98582
|
init_streamagentrunevents();
|
|
98410
98583
|
init_suspendclusterorg2();
|
|
98411
98584
|
init_terminatesession();
|
|
@@ -114169,26 +114342,24 @@ Submit user feedback for a specific agent response to track satisfaction and mod
|
|
|
114169
114342
|
};
|
|
114170
114343
|
});
|
|
114171
114344
|
|
|
114172
|
-
// src/funcs/
|
|
114173
|
-
function
|
|
114345
|
+
// src/funcs/llmFeedbackExportCompletionFeedback.ts
|
|
114346
|
+
function llmFeedbackExportCompletionFeedback(client, request, options) {
|
|
114174
114347
|
return new APIPromise($do134(client, request, options));
|
|
114175
114348
|
}
|
|
114176
114349
|
async function $do134(client, request, options) {
|
|
114177
|
-
const parsed = safeParse4(request, (value) =>
|
|
114350
|
+
const parsed = safeParse4(request, (value) => ExportCompletionFeedbackRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114178
114351
|
if (!parsed.ok) {
|
|
114179
114352
|
return [parsed, { status: "invalid" }];
|
|
114180
114353
|
}
|
|
114181
114354
|
const payload = parsed.value;
|
|
114182
114355
|
const body = null;
|
|
114183
|
-
const
|
|
114184
|
-
|
|
114185
|
-
|
|
114186
|
-
|
|
114187
|
-
|
|
114188
|
-
};
|
|
114189
|
-
const path = pathToFunc("/api/v1/llm/feedback/completions/{id}")(pathParams);
|
|
114356
|
+
const path = pathToFunc("/api/v1/llm/feedback/export/completions")();
|
|
114357
|
+
const query = encodeFormQuery({
|
|
114358
|
+
order: payload.order,
|
|
114359
|
+
rating: payload.rating
|
|
114360
|
+
});
|
|
114190
114361
|
const headers = new Headers(compactMap({
|
|
114191
|
-
Accept: "
|
|
114362
|
+
Accept: "text/csv",
|
|
114192
114363
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
114193
114364
|
}));
|
|
114194
114365
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
@@ -114197,7 +114368,251 @@ async function $do134(client, request, options) {
|
|
|
114197
114368
|
const context = {
|
|
114198
114369
|
options: client._options,
|
|
114199
114370
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
114200
|
-
operationID: "
|
|
114371
|
+
operationID: "exportCompletionFeedback",
|
|
114372
|
+
oAuth2Scopes: null,
|
|
114373
|
+
resolvedSecurity: requestSecurity,
|
|
114374
|
+
securitySource: client._options.bearerAuth,
|
|
114375
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
114376
|
+
strategy: "backoff",
|
|
114377
|
+
backoff: {
|
|
114378
|
+
initialInterval: 500,
|
|
114379
|
+
maxInterval: 5000,
|
|
114380
|
+
exponent: 1.5,
|
|
114381
|
+
maxElapsedTime: 15000
|
|
114382
|
+
},
|
|
114383
|
+
retryConnectionErrors: true
|
|
114384
|
+
},
|
|
114385
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
114386
|
+
};
|
|
114387
|
+
const requestRes = client._createRequest(context, {
|
|
114388
|
+
security: requestSecurity,
|
|
114389
|
+
method: "GET",
|
|
114390
|
+
baseURL: options?.serverURL,
|
|
114391
|
+
path,
|
|
114392
|
+
headers,
|
|
114393
|
+
query,
|
|
114394
|
+
body,
|
|
114395
|
+
userAgent: client._options.userAgent,
|
|
114396
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
114397
|
+
}, options);
|
|
114398
|
+
if (!requestRes.ok) {
|
|
114399
|
+
return [requestRes, { status: "invalid" }];
|
|
114400
|
+
}
|
|
114401
|
+
const req = requestRes.value;
|
|
114402
|
+
const doResult = await client._do(req, {
|
|
114403
|
+
context,
|
|
114404
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
114405
|
+
retryConfig: context.retryConfig,
|
|
114406
|
+
retryCodes: context.retryCodes
|
|
114407
|
+
});
|
|
114408
|
+
if (!doResult.ok) {
|
|
114409
|
+
return [doResult, { status: "request-error", request: req }];
|
|
114410
|
+
}
|
|
114411
|
+
const response = doResult.value;
|
|
114412
|
+
const responseFields = {
|
|
114413
|
+
HttpMeta: { Response: response, Request: req }
|
|
114414
|
+
};
|
|
114415
|
+
const [result] = await match(stream(200, ExportCompletionFeedbackResponse$inboundSchema, {
|
|
114416
|
+
ctype: "text/csv",
|
|
114417
|
+
hdrs: true,
|
|
114418
|
+
key: "Result"
|
|
114419
|
+
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
114420
|
+
if (!result.ok) {
|
|
114421
|
+
return [result, { status: "complete", request: req, response }];
|
|
114422
|
+
}
|
|
114423
|
+
return [result, { status: "complete", request: req, response }];
|
|
114424
|
+
}
|
|
114425
|
+
var init_llmFeedbackExportCompletionFeedback = __esm(() => {
|
|
114426
|
+
init_encodings();
|
|
114427
|
+
init_http();
|
|
114428
|
+
init_matchers();
|
|
114429
|
+
init_primitives();
|
|
114430
|
+
init_schemas4();
|
|
114431
|
+
init_security();
|
|
114432
|
+
init_url();
|
|
114433
|
+
init_operations();
|
|
114434
|
+
init_async();
|
|
114435
|
+
});
|
|
114436
|
+
|
|
114437
|
+
// src/mcp-server/tools/llmFeedbackExportCompletionFeedback.ts
|
|
114438
|
+
var args132, tool$llmFeedbackExportCompletionFeedback;
|
|
114439
|
+
var init_llmFeedbackExportCompletionFeedback2 = __esm(() => {
|
|
114440
|
+
init_llmFeedbackExportCompletionFeedback();
|
|
114441
|
+
init_operations();
|
|
114442
|
+
init_tools();
|
|
114443
|
+
args132 = {
|
|
114444
|
+
request: ExportCompletionFeedbackRequest$inboundSchema
|
|
114445
|
+
};
|
|
114446
|
+
tool$llmFeedbackExportCompletionFeedback = {
|
|
114447
|
+
name: "llm-feedback-export-completion-feedback",
|
|
114448
|
+
description: `Export completion feedback as CSV
|
|
114449
|
+
|
|
114450
|
+
Synchronously exports the completion feedback entries visible to the caller as a CSV file, ordered by the creation date of the underlying request. Visibility matches the list endpoint: callers see their own feedback; org owners and admins see their whole team. Supports filtering by rating. The export is capped at 50,000 rows; when the cap is hit the response carries an X-Export-Truncated header and older rows (with the default descending order) are omitted.`,
|
|
114451
|
+
args: args132,
|
|
114452
|
+
tool: async (client, args133, ctx) => {
|
|
114453
|
+
const [result, apiCall] = await llmFeedbackExportCompletionFeedback(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
114454
|
+
if (!result.ok) {
|
|
114455
|
+
return {
|
|
114456
|
+
content: [{ type: "text", text: result.error.message }],
|
|
114457
|
+
isError: true
|
|
114458
|
+
};
|
|
114459
|
+
}
|
|
114460
|
+
const value = result.value.result;
|
|
114461
|
+
return formatResult(value, apiCall);
|
|
114462
|
+
}
|
|
114463
|
+
};
|
|
114464
|
+
});
|
|
114465
|
+
|
|
114466
|
+
// src/funcs/llmFeedbackExportResponseFeedback.ts
|
|
114467
|
+
function llmFeedbackExportResponseFeedback(client, request, options) {
|
|
114468
|
+
return new APIPromise($do135(client, request, options));
|
|
114469
|
+
}
|
|
114470
|
+
async function $do135(client, request, options) {
|
|
114471
|
+
const parsed = safeParse4(request, (value) => ExportResponseFeedbackRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114472
|
+
if (!parsed.ok) {
|
|
114473
|
+
return [parsed, { status: "invalid" }];
|
|
114474
|
+
}
|
|
114475
|
+
const payload = parsed.value;
|
|
114476
|
+
const body = null;
|
|
114477
|
+
const path = pathToFunc("/api/v1/llm/feedback/export/responses")();
|
|
114478
|
+
const query = encodeFormQuery({
|
|
114479
|
+
order: payload.order,
|
|
114480
|
+
rating: payload.rating
|
|
114481
|
+
});
|
|
114482
|
+
const headers = new Headers(compactMap({
|
|
114483
|
+
Accept: "text/csv",
|
|
114484
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
114485
|
+
}));
|
|
114486
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
114487
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
114488
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
114489
|
+
const context = {
|
|
114490
|
+
options: client._options,
|
|
114491
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
114492
|
+
operationID: "exportResponseFeedback",
|
|
114493
|
+
oAuth2Scopes: null,
|
|
114494
|
+
resolvedSecurity: requestSecurity,
|
|
114495
|
+
securitySource: client._options.bearerAuth,
|
|
114496
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
114497
|
+
strategy: "backoff",
|
|
114498
|
+
backoff: {
|
|
114499
|
+
initialInterval: 500,
|
|
114500
|
+
maxInterval: 5000,
|
|
114501
|
+
exponent: 1.5,
|
|
114502
|
+
maxElapsedTime: 15000
|
|
114503
|
+
},
|
|
114504
|
+
retryConnectionErrors: true
|
|
114505
|
+
},
|
|
114506
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
114507
|
+
};
|
|
114508
|
+
const requestRes = client._createRequest(context, {
|
|
114509
|
+
security: requestSecurity,
|
|
114510
|
+
method: "GET",
|
|
114511
|
+
baseURL: options?.serverURL,
|
|
114512
|
+
path,
|
|
114513
|
+
headers,
|
|
114514
|
+
query,
|
|
114515
|
+
body,
|
|
114516
|
+
userAgent: client._options.userAgent,
|
|
114517
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
114518
|
+
}, options);
|
|
114519
|
+
if (!requestRes.ok) {
|
|
114520
|
+
return [requestRes, { status: "invalid" }];
|
|
114521
|
+
}
|
|
114522
|
+
const req = requestRes.value;
|
|
114523
|
+
const doResult = await client._do(req, {
|
|
114524
|
+
context,
|
|
114525
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
114526
|
+
retryConfig: context.retryConfig,
|
|
114527
|
+
retryCodes: context.retryCodes
|
|
114528
|
+
});
|
|
114529
|
+
if (!doResult.ok) {
|
|
114530
|
+
return [doResult, { status: "request-error", request: req }];
|
|
114531
|
+
}
|
|
114532
|
+
const response = doResult.value;
|
|
114533
|
+
const responseFields = {
|
|
114534
|
+
HttpMeta: { Response: response, Request: req }
|
|
114535
|
+
};
|
|
114536
|
+
const [result] = await match(stream(200, ExportResponseFeedbackResponse$inboundSchema, {
|
|
114537
|
+
ctype: "text/csv",
|
|
114538
|
+
hdrs: true,
|
|
114539
|
+
key: "Result"
|
|
114540
|
+
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
114541
|
+
if (!result.ok) {
|
|
114542
|
+
return [result, { status: "complete", request: req, response }];
|
|
114543
|
+
}
|
|
114544
|
+
return [result, { status: "complete", request: req, response }];
|
|
114545
|
+
}
|
|
114546
|
+
var init_llmFeedbackExportResponseFeedback = __esm(() => {
|
|
114547
|
+
init_encodings();
|
|
114548
|
+
init_http();
|
|
114549
|
+
init_matchers();
|
|
114550
|
+
init_primitives();
|
|
114551
|
+
init_schemas4();
|
|
114552
|
+
init_security();
|
|
114553
|
+
init_url();
|
|
114554
|
+
init_operations();
|
|
114555
|
+
init_async();
|
|
114556
|
+
});
|
|
114557
|
+
|
|
114558
|
+
// src/mcp-server/tools/llmFeedbackExportResponseFeedback.ts
|
|
114559
|
+
var args133, tool$llmFeedbackExportResponseFeedback;
|
|
114560
|
+
var init_llmFeedbackExportResponseFeedback2 = __esm(() => {
|
|
114561
|
+
init_llmFeedbackExportResponseFeedback();
|
|
114562
|
+
init_operations();
|
|
114563
|
+
init_tools();
|
|
114564
|
+
args133 = {
|
|
114565
|
+
request: ExportResponseFeedbackRequest$inboundSchema
|
|
114566
|
+
};
|
|
114567
|
+
tool$llmFeedbackExportResponseFeedback = {
|
|
114568
|
+
name: "llm-feedback-export-response-feedback",
|
|
114569
|
+
description: `Export response feedback as CSV
|
|
114570
|
+
|
|
114571
|
+
Synchronously exports the response feedback entries visible to the caller as a CSV file, ordered by the creation date of the underlying request. Visibility matches the list endpoint: callers see their own feedback; org owners and admins see their whole team. Supports filtering by rating. The export is capped at 50,000 rows; when the cap is hit the response carries an X-Export-Truncated header and older rows (with the default descending order) are omitted.`,
|
|
114572
|
+
args: args133,
|
|
114573
|
+
tool: async (client, args134, ctx) => {
|
|
114574
|
+
const [result, apiCall] = await llmFeedbackExportResponseFeedback(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
114575
|
+
if (!result.ok) {
|
|
114576
|
+
return {
|
|
114577
|
+
content: [{ type: "text", text: result.error.message }],
|
|
114578
|
+
isError: true
|
|
114579
|
+
};
|
|
114580
|
+
}
|
|
114581
|
+
const value = result.value.result;
|
|
114582
|
+
return formatResult(value, apiCall);
|
|
114583
|
+
}
|
|
114584
|
+
};
|
|
114585
|
+
});
|
|
114586
|
+
|
|
114587
|
+
// src/funcs/llmFeedbackGetCompletionFeedback.ts
|
|
114588
|
+
function llmFeedbackGetCompletionFeedback(client, request, options) {
|
|
114589
|
+
return new APIPromise($do136(client, request, options));
|
|
114590
|
+
}
|
|
114591
|
+
async function $do136(client, request, options) {
|
|
114592
|
+
const parsed = safeParse4(request, (value) => GetCompletionFeedbackRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114593
|
+
if (!parsed.ok) {
|
|
114594
|
+
return [parsed, { status: "invalid" }];
|
|
114595
|
+
}
|
|
114596
|
+
const payload = parsed.value;
|
|
114597
|
+
const body = null;
|
|
114598
|
+
const pathParams = {
|
|
114599
|
+
id: encodeSimple("id", payload.id, {
|
|
114600
|
+
explode: false,
|
|
114601
|
+
charEncoding: "percent"
|
|
114602
|
+
})
|
|
114603
|
+
};
|
|
114604
|
+
const path = pathToFunc("/api/v1/llm/feedback/completions/{id}")(pathParams);
|
|
114605
|
+
const headers = new Headers(compactMap({
|
|
114606
|
+
Accept: "application/json",
|
|
114607
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
114608
|
+
}));
|
|
114609
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
114610
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
114611
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
114612
|
+
const context = {
|
|
114613
|
+
options: client._options,
|
|
114614
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
114615
|
+
operationID: "getCompletionFeedback",
|
|
114201
114616
|
oAuth2Scopes: null,
|
|
114202
114617
|
resolvedSecurity: requestSecurity,
|
|
114203
114618
|
securitySource: client._options.bearerAuth,
|
|
@@ -114257,12 +114672,12 @@ var init_llmFeedbackGetCompletionFeedback = __esm(() => {
|
|
|
114257
114672
|
});
|
|
114258
114673
|
|
|
114259
114674
|
// src/mcp-server/tools/llmFeedbackGetCompletionFeedback.ts
|
|
114260
|
-
var
|
|
114675
|
+
var args134, tool$llmFeedbackGetCompletionFeedback;
|
|
114261
114676
|
var init_llmFeedbackGetCompletionFeedback2 = __esm(() => {
|
|
114262
114677
|
init_llmFeedbackGetCompletionFeedback();
|
|
114263
114678
|
init_operations();
|
|
114264
114679
|
init_tools();
|
|
114265
|
-
|
|
114680
|
+
args134 = {
|
|
114266
114681
|
request: GetCompletionFeedbackRequest$inboundSchema
|
|
114267
114682
|
};
|
|
114268
114683
|
tool$llmFeedbackGetCompletionFeedback = {
|
|
@@ -114270,9 +114685,9 @@ var init_llmFeedbackGetCompletionFeedback2 = __esm(() => {
|
|
|
114270
114685
|
description: `Retrieve feedback by completion ID
|
|
114271
114686
|
|
|
114272
114687
|
Retrieves the existing feedback rating and description for a specific chat completion.`,
|
|
114273
|
-
args:
|
|
114274
|
-
tool: async (client,
|
|
114275
|
-
const [result, apiCall] = await llmFeedbackGetCompletionFeedback(client,
|
|
114688
|
+
args: args134,
|
|
114689
|
+
tool: async (client, args135, ctx) => {
|
|
114690
|
+
const [result, apiCall] = await llmFeedbackGetCompletionFeedback(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
114276
114691
|
if (!result.ok) {
|
|
114277
114692
|
return {
|
|
114278
114693
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -114286,20 +114701,13 @@ Retrieves the existing feedback rating and description for a specific chat compl
|
|
|
114286
114701
|
});
|
|
114287
114702
|
|
|
114288
114703
|
// src/funcs/llmFeedbackGetExportStatus.ts
|
|
114289
|
-
function llmFeedbackGetExportStatus(client,
|
|
114290
|
-
return new APIPromise($
|
|
114704
|
+
function llmFeedbackGetExportStatus(client, options) {
|
|
114705
|
+
return new APIPromise($do137(client, options));
|
|
114291
114706
|
}
|
|
114292
|
-
async function $
|
|
114293
|
-
const parsed = safeParse4(request, (value) => GetExportStatusRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114294
|
-
if (!parsed.ok) {
|
|
114295
|
-
return [parsed, { status: "invalid" }];
|
|
114296
|
-
}
|
|
114297
|
-
const payload = parsed.value;
|
|
114298
|
-
const body = null;
|
|
114707
|
+
async function $do137(client, options) {
|
|
114299
114708
|
const path = pathToFunc("/api/v1/llm/feedback/export/status")();
|
|
114300
114709
|
const headers = new Headers(compactMap({
|
|
114301
|
-
Accept: "application/json"
|
|
114302
|
-
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
114710
|
+
Accept: "application/json"
|
|
114303
114711
|
}));
|
|
114304
114712
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
114305
114713
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -114329,7 +114737,6 @@ async function $do135(client, request, options) {
|
|
|
114329
114737
|
baseURL: options?.serverURL,
|
|
114330
114738
|
path,
|
|
114331
114739
|
headers,
|
|
114332
|
-
body,
|
|
114333
114740
|
userAgent: client._options.userAgent,
|
|
114334
114741
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
114335
114742
|
}, options);
|
|
@@ -114354,35 +114761,27 @@ async function $do135(client, request, options) {
|
|
|
114354
114761
|
return [result, { status: "complete", request: req, response }];
|
|
114355
114762
|
}
|
|
114356
114763
|
var init_llmFeedbackGetExportStatus = __esm(() => {
|
|
114357
|
-
init_encodings();
|
|
114358
114764
|
init_http();
|
|
114359
114765
|
init_matchers();
|
|
114360
114766
|
init_primitives();
|
|
114361
|
-
init_schemas4();
|
|
114362
114767
|
init_security();
|
|
114363
114768
|
init_url();
|
|
114364
114769
|
init_components();
|
|
114365
|
-
init_operations();
|
|
114366
114770
|
init_async();
|
|
114367
114771
|
});
|
|
114368
114772
|
|
|
114369
114773
|
// src/mcp-server/tools/llmFeedbackGetExportStatus.ts
|
|
114370
|
-
var
|
|
114774
|
+
var tool$llmFeedbackGetExportStatus;
|
|
114371
114775
|
var init_llmFeedbackGetExportStatus2 = __esm(() => {
|
|
114372
114776
|
init_llmFeedbackGetExportStatus();
|
|
114373
|
-
init_operations();
|
|
114374
114777
|
init_tools();
|
|
114375
|
-
args133 = {
|
|
114376
|
-
request: GetExportStatusRequest$inboundSchema
|
|
114377
|
-
};
|
|
114378
114778
|
tool$llmFeedbackGetExportStatus = {
|
|
114379
114779
|
name: "llm-feedback-get-export-status",
|
|
114380
114780
|
description: `Get feedback export status
|
|
114381
114781
|
|
|
114382
|
-
Checks the status and progress of the currently running or most recently completed feedback export job.`,
|
|
114383
|
-
|
|
114384
|
-
|
|
114385
|
-
const [result, apiCall] = await llmFeedbackGetExportStatus(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
114782
|
+
Checks the status and progress of the currently running or most recently completed feedback export job. Restricted to cluster administrators.`,
|
|
114783
|
+
tool: async (client, ctx) => {
|
|
114784
|
+
const [result, apiCall] = await llmFeedbackGetExportStatus(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
114386
114785
|
if (!result.ok) {
|
|
114387
114786
|
return {
|
|
114388
114787
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -114397,9 +114796,9 @@ Checks the status and progress of the currently running or most recently complet
|
|
|
114397
114796
|
|
|
114398
114797
|
// src/funcs/llmFeedbackGetResponseFeedback.ts
|
|
114399
114798
|
function llmFeedbackGetResponseFeedback(client, request, options) {
|
|
114400
|
-
return new APIPromise($
|
|
114799
|
+
return new APIPromise($do138(client, request, options));
|
|
114401
114800
|
}
|
|
114402
|
-
async function $
|
|
114801
|
+
async function $do138(client, request, options) {
|
|
114403
114802
|
const parsed = safeParse4(request, (value) => GetResponseFeedbackRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114404
114803
|
if (!parsed.ok) {
|
|
114405
114804
|
return [parsed, { status: "invalid" }];
|
|
@@ -114483,12 +114882,12 @@ var init_llmFeedbackGetResponseFeedback = __esm(() => {
|
|
|
114483
114882
|
});
|
|
114484
114883
|
|
|
114485
114884
|
// src/mcp-server/tools/llmFeedbackGetResponseFeedback.ts
|
|
114486
|
-
var
|
|
114885
|
+
var args135, tool$llmFeedbackGetResponseFeedback;
|
|
114487
114886
|
var init_llmFeedbackGetResponseFeedback2 = __esm(() => {
|
|
114488
114887
|
init_llmFeedbackGetResponseFeedback();
|
|
114489
114888
|
init_operations();
|
|
114490
114889
|
init_tools();
|
|
114491
|
-
|
|
114890
|
+
args135 = {
|
|
114492
114891
|
request: GetResponseFeedbackRequest$inboundSchema
|
|
114493
114892
|
};
|
|
114494
114893
|
tool$llmFeedbackGetResponseFeedback = {
|
|
@@ -114496,9 +114895,9 @@ var init_llmFeedbackGetResponseFeedback2 = __esm(() => {
|
|
|
114496
114895
|
description: `Retrieve feedback by response ID
|
|
114497
114896
|
|
|
114498
114897
|
Retrieves the existing feedback rating and description for a specific agent response.`,
|
|
114499
|
-
args:
|
|
114500
|
-
tool: async (client,
|
|
114501
|
-
const [result, apiCall] = await llmFeedbackGetResponseFeedback(client,
|
|
114898
|
+
args: args135,
|
|
114899
|
+
tool: async (client, args136, ctx) => {
|
|
114900
|
+
const [result, apiCall] = await llmFeedbackGetResponseFeedback(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
114502
114901
|
if (!result.ok) {
|
|
114503
114902
|
return {
|
|
114504
114903
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -114513,9 +114912,9 @@ Retrieves the existing feedback rating and description for a specific agent resp
|
|
|
114513
114912
|
|
|
114514
114913
|
// src/funcs/llmFeedbackListCompletionFeedback.ts
|
|
114515
114914
|
function llmFeedbackListCompletionFeedback(client, request, options) {
|
|
114516
|
-
return new APIPromise($
|
|
114915
|
+
return new APIPromise($do139(client, request, options));
|
|
114517
114916
|
}
|
|
114518
|
-
async function $
|
|
114917
|
+
async function $do139(client, request, options) {
|
|
114519
114918
|
const parsed = safeParse4(request, (value) => ListCompletionFeedbackRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114520
114919
|
if (!parsed.ok) {
|
|
114521
114920
|
return [parsed, { status: "invalid" }];
|
|
@@ -114600,12 +114999,12 @@ var init_llmFeedbackListCompletionFeedback = __esm(() => {
|
|
|
114600
114999
|
});
|
|
114601
115000
|
|
|
114602
115001
|
// src/mcp-server/tools/llmFeedbackListCompletionFeedback.ts
|
|
114603
|
-
var
|
|
115002
|
+
var args136, tool$llmFeedbackListCompletionFeedback;
|
|
114604
115003
|
var init_llmFeedbackListCompletionFeedback2 = __esm(() => {
|
|
114605
115004
|
init_llmFeedbackListCompletionFeedback();
|
|
114606
115005
|
init_operations();
|
|
114607
115006
|
init_tools();
|
|
114608
|
-
|
|
115007
|
+
args136 = {
|
|
114609
115008
|
request: ListCompletionFeedbackRequest$inboundSchema
|
|
114610
115009
|
};
|
|
114611
115010
|
tool$llmFeedbackListCompletionFeedback = {
|
|
@@ -114613,9 +115012,9 @@ var init_llmFeedbackListCompletionFeedback2 = __esm(() => {
|
|
|
114613
115012
|
description: `List chat completion feedback
|
|
114614
115013
|
|
|
114615
115014
|
Retrieves a paginated list of feedback entries recorded on the caller's chat completions, ordered by the completion's creation date. Supports filtering by rating. An \`after\` cursor that no longer resolves to a completion visible to the caller returns 400; restart pagination from the first page.`,
|
|
114616
|
-
args:
|
|
114617
|
-
tool: async (client,
|
|
114618
|
-
const [result, apiCall] = await llmFeedbackListCompletionFeedback(client,
|
|
115015
|
+
args: args136,
|
|
115016
|
+
tool: async (client, args137, ctx) => {
|
|
115017
|
+
const [result, apiCall] = await llmFeedbackListCompletionFeedback(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
114619
115018
|
if (!result.ok) {
|
|
114620
115019
|
return {
|
|
114621
115020
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -114630,9 +115029,9 @@ Retrieves a paginated list of feedback entries recorded on the caller's chat com
|
|
|
114630
115029
|
|
|
114631
115030
|
// src/funcs/llmFeedbackListResponseFeedback.ts
|
|
114632
115031
|
function llmFeedbackListResponseFeedback(client, request, options) {
|
|
114633
|
-
return new APIPromise($
|
|
115032
|
+
return new APIPromise($do140(client, request, options));
|
|
114634
115033
|
}
|
|
114635
|
-
async function $
|
|
115034
|
+
async function $do140(client, request, options) {
|
|
114636
115035
|
const parsed = safeParse4(request, (value) => ListResponseFeedbackRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114637
115036
|
if (!parsed.ok) {
|
|
114638
115037
|
return [parsed, { status: "invalid" }];
|
|
@@ -114717,12 +115116,12 @@ var init_llmFeedbackListResponseFeedback = __esm(() => {
|
|
|
114717
115116
|
});
|
|
114718
115117
|
|
|
114719
115118
|
// src/mcp-server/tools/llmFeedbackListResponseFeedback.ts
|
|
114720
|
-
var
|
|
115119
|
+
var args137, tool$llmFeedbackListResponseFeedback;
|
|
114721
115120
|
var init_llmFeedbackListResponseFeedback2 = __esm(() => {
|
|
114722
115121
|
init_llmFeedbackListResponseFeedback();
|
|
114723
115122
|
init_operations();
|
|
114724
115123
|
init_tools();
|
|
114725
|
-
|
|
115124
|
+
args137 = {
|
|
114726
115125
|
request: ListResponseFeedbackRequest$inboundSchema
|
|
114727
115126
|
};
|
|
114728
115127
|
tool$llmFeedbackListResponseFeedback = {
|
|
@@ -114730,9 +115129,9 @@ var init_llmFeedbackListResponseFeedback2 = __esm(() => {
|
|
|
114730
115129
|
description: `List response feedback
|
|
114731
115130
|
|
|
114732
115131
|
Retrieves a paginated list of feedback entries recorded on the caller's agent responses, ordered by the response's creation date. Supports filtering by rating. An \`after\` cursor that no longer resolves to a response visible to the caller — including responses that have since been deleted — returns 400; restart pagination from the first page.`,
|
|
114733
|
-
args:
|
|
114734
|
-
tool: async (client,
|
|
114735
|
-
const [result, apiCall] = await llmFeedbackListResponseFeedback(client,
|
|
115132
|
+
args: args137,
|
|
115133
|
+
tool: async (client, args138, ctx) => {
|
|
115134
|
+
const [result, apiCall] = await llmFeedbackListResponseFeedback(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
114736
115135
|
if (!result.ok) {
|
|
114737
115136
|
return {
|
|
114738
115137
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -114746,20 +115145,13 @@ Retrieves a paginated list of feedback entries recorded on the caller's agent re
|
|
|
114746
115145
|
});
|
|
114747
115146
|
|
|
114748
115147
|
// src/funcs/llmFeedbackStartExport.ts
|
|
114749
|
-
function llmFeedbackStartExport(client,
|
|
114750
|
-
return new APIPromise($
|
|
115148
|
+
function llmFeedbackStartExport(client, options) {
|
|
115149
|
+
return new APIPromise($do141(client, options));
|
|
114751
115150
|
}
|
|
114752
|
-
async function $
|
|
114753
|
-
const parsed = safeParse4(request, (value) => StartExportFeedbackRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114754
|
-
if (!parsed.ok) {
|
|
114755
|
-
return [parsed, { status: "invalid" }];
|
|
114756
|
-
}
|
|
114757
|
-
const payload = parsed.value;
|
|
114758
|
-
const body = null;
|
|
115151
|
+
async function $do141(client, options) {
|
|
114759
115152
|
const path = pathToFunc("/api/v1/llm/feedback/export")();
|
|
114760
115153
|
const headers = new Headers(compactMap({
|
|
114761
|
-
Accept: "application/json"
|
|
114762
|
-
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
115154
|
+
Accept: "application/json"
|
|
114763
115155
|
}));
|
|
114764
115156
|
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
114765
115157
|
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
@@ -114789,7 +115181,6 @@ async function $do139(client, request, options) {
|
|
|
114789
115181
|
baseURL: options?.serverURL,
|
|
114790
115182
|
path,
|
|
114791
115183
|
headers,
|
|
114792
|
-
body,
|
|
114793
115184
|
userAgent: client._options.userAgent,
|
|
114794
115185
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
114795
115186
|
}, options);
|
|
@@ -114814,35 +115205,27 @@ async function $do139(client, request, options) {
|
|
|
114814
115205
|
return [result, { status: "complete", request: req, response }];
|
|
114815
115206
|
}
|
|
114816
115207
|
var init_llmFeedbackStartExport = __esm(() => {
|
|
114817
|
-
init_encodings();
|
|
114818
115208
|
init_http();
|
|
114819
115209
|
init_matchers();
|
|
114820
115210
|
init_primitives();
|
|
114821
|
-
init_schemas4();
|
|
114822
115211
|
init_security();
|
|
114823
115212
|
init_url();
|
|
114824
115213
|
init_components();
|
|
114825
|
-
init_operations();
|
|
114826
115214
|
init_async();
|
|
114827
115215
|
});
|
|
114828
115216
|
|
|
114829
115217
|
// src/mcp-server/tools/llmFeedbackStartExport.ts
|
|
114830
|
-
var
|
|
115218
|
+
var tool$llmFeedbackStartExport;
|
|
114831
115219
|
var init_llmFeedbackStartExport2 = __esm(() => {
|
|
114832
115220
|
init_llmFeedbackStartExport();
|
|
114833
|
-
init_operations();
|
|
114834
115221
|
init_tools();
|
|
114835
|
-
args137 = {
|
|
114836
|
-
request: StartExportFeedbackRequest$inboundSchema
|
|
114837
|
-
};
|
|
114838
115222
|
tool$llmFeedbackStartExport = {
|
|
114839
115223
|
name: "llm-feedback-start-export",
|
|
114840
115224
|
description: `Start feedback export
|
|
114841
115225
|
|
|
114842
|
-
Starts a background job to export all feedback data to parquet files in S3/R2. Only one export can run simultaneously.`,
|
|
114843
|
-
|
|
114844
|
-
|
|
114845
|
-
const [result, apiCall] = await llmFeedbackStartExport(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
115226
|
+
Starts a background job to export all feedback data across every tenant to parquet files in S3/R2. Only one export can run simultaneously. Restricted to cluster administrators.`,
|
|
115227
|
+
tool: async (client, ctx) => {
|
|
115228
|
+
const [result, apiCall] = await llmFeedbackStartExport(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
114846
115229
|
if (!result.ok) {
|
|
114847
115230
|
return {
|
|
114848
115231
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -114857,9 +115240,9 @@ Starts a background job to export all feedback data to parquet files in S3/R2. O
|
|
|
114857
115240
|
|
|
114858
115241
|
// src/funcs/llmFeedbackUpdateCompletionFeedback.ts
|
|
114859
115242
|
function llmFeedbackUpdateCompletionFeedback(client, request, options) {
|
|
114860
|
-
return new APIPromise($
|
|
115243
|
+
return new APIPromise($do142(client, request, options));
|
|
114861
115244
|
}
|
|
114862
|
-
async function $
|
|
115245
|
+
async function $do142(client, request, options) {
|
|
114863
115246
|
const parsed = safeParse4(request, (value) => UpdateCompletionFeedbackRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114864
115247
|
if (!parsed.ok) {
|
|
114865
115248
|
return [parsed, { status: "invalid" }];
|
|
@@ -114974,9 +115357,9 @@ Updates or modifies existing feedback for a specific chat completion. Useful for
|
|
|
114974
115357
|
|
|
114975
115358
|
// src/funcs/llmFeedbackUpdateResponseFeedback.ts
|
|
114976
115359
|
function llmFeedbackUpdateResponseFeedback(client, request, options) {
|
|
114977
|
-
return new APIPromise($
|
|
115360
|
+
return new APIPromise($do143(client, request, options));
|
|
114978
115361
|
}
|
|
114979
|
-
async function $
|
|
115362
|
+
async function $do143(client, request, options) {
|
|
114980
115363
|
const parsed = safeParse4(request, (value) => UpdateResponseFeedbackRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114981
115364
|
if (!parsed.ok) {
|
|
114982
115365
|
return [parsed, { status: "invalid" }];
|
|
@@ -115091,9 +115474,9 @@ Updates or modifies existing feedback for a specific agent response. Useful for
|
|
|
115091
115474
|
|
|
115092
115475
|
// src/funcs/llmFilesContent.ts
|
|
115093
115476
|
function llmFilesContent(client, request, options) {
|
|
115094
|
-
return new APIPromise($
|
|
115477
|
+
return new APIPromise($do144(client, request, options));
|
|
115095
115478
|
}
|
|
115096
|
-
async function $
|
|
115479
|
+
async function $do144(client, request, options) {
|
|
115097
115480
|
const parsed = safeParse4(request, (value) => GetFileContentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
115098
115481
|
if (!parsed.ok) {
|
|
115099
115482
|
return [parsed, { status: "invalid" }];
|
|
@@ -115266,9 +115649,9 @@ Returns the raw binary contents of the specified file with appropriate Content-T
|
|
|
115266
115649
|
|
|
115267
115650
|
// src/funcs/llmFilesDelete.ts
|
|
115268
115651
|
function llmFilesDelete(client, request, options) {
|
|
115269
|
-
return new APIPromise($
|
|
115652
|
+
return new APIPromise($do145(client, request, options));
|
|
115270
115653
|
}
|
|
115271
|
-
async function $
|
|
115654
|
+
async function $do145(client, request, options) {
|
|
115272
115655
|
const parsed = safeParse4(request, (value) => DeleteFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
115273
115656
|
if (!parsed.ok) {
|
|
115274
115657
|
return [parsed, { status: "invalid" }];
|
|
@@ -115382,9 +115765,9 @@ Delete a file from storage. This will also remove it from any vector stores.`,
|
|
|
115382
115765
|
|
|
115383
115766
|
// src/funcs/llmFilesGet.ts
|
|
115384
115767
|
function llmFilesGet(client, request, options) {
|
|
115385
|
-
return new APIPromise($
|
|
115768
|
+
return new APIPromise($do146(client, request, options));
|
|
115386
115769
|
}
|
|
115387
|
-
async function $
|
|
115770
|
+
async function $do146(client, request, options) {
|
|
115388
115771
|
const parsed = safeParse4(request, (value) => GetFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
115389
115772
|
if (!parsed.ok) {
|
|
115390
115773
|
return [parsed, { status: "invalid" }];
|
|
@@ -115498,9 +115881,9 @@ Returns information about a specific file.`,
|
|
|
115498
115881
|
|
|
115499
115882
|
// src/funcs/llmFilesList.ts
|
|
115500
115883
|
function llmFilesList(client, request, options) {
|
|
115501
|
-
return new APIPromise($
|
|
115884
|
+
return new APIPromise($do147(client, request, options));
|
|
115502
115885
|
}
|
|
115503
|
-
async function $
|
|
115886
|
+
async function $do147(client, request, options) {
|
|
115504
115887
|
const parsed = safeParse4(request, (value) => ListFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
115505
115888
|
if (!parsed.ok) {
|
|
115506
115889
|
return [parsed, { status: "invalid" }];
|
|
@@ -115615,9 +115998,9 @@ Returns a list of files that have been uploaded.`,
|
|
|
115615
115998
|
|
|
115616
115999
|
// src/funcs/llmFilesUpload.ts
|
|
115617
116000
|
function llmFilesUpload(client, request, options) {
|
|
115618
|
-
return new APIPromise($
|
|
116001
|
+
return new APIPromise($do148(client, request, options));
|
|
115619
116002
|
}
|
|
115620
|
-
async function $
|
|
116003
|
+
async function $do148(client, request, options) {
|
|
115621
116004
|
const parsed = safeParse4(request, (value) => UploadFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
115622
116005
|
if (!parsed.ok) {
|
|
115623
116006
|
return [parsed, { status: "invalid" }];
|
|
@@ -115740,9 +116123,9 @@ Upload a file that can be used with Assistants, Vector Stores, and other feature
|
|
|
115740
116123
|
|
|
115741
116124
|
// src/funcs/llmFineTuningCancel.ts
|
|
115742
116125
|
function llmFineTuningCancel(client, request, options) {
|
|
115743
|
-
return new APIPromise($
|
|
116126
|
+
return new APIPromise($do149(client, request, options));
|
|
115744
116127
|
}
|
|
115745
|
-
async function $
|
|
116128
|
+
async function $do149(client, request, options) {
|
|
115746
116129
|
const parsed = safeParse4(request, (value) => CancelFineTuningJobRequest$outboundSchema.parse(value), "Input validation failed");
|
|
115747
116130
|
if (!parsed.ok) {
|
|
115748
116131
|
return [parsed, { status: "invalid" }];
|
|
@@ -115852,9 +116235,9 @@ Immediately cancel a fine-tuning job.`,
|
|
|
115852
116235
|
|
|
115853
116236
|
// src/funcs/llmFineTuningCreate.ts
|
|
115854
116237
|
function llmFineTuningCreate(client, request, options) {
|
|
115855
|
-
return new APIPromise($
|
|
116238
|
+
return new APIPromise($do150(client, request, options));
|
|
115856
116239
|
}
|
|
115857
|
-
async function $
|
|
116240
|
+
async function $do150(client, request, options) {
|
|
115858
116241
|
const parsed = safeParse4(request, (value) => CreateFineTuningJobRequest$outboundSchema.parse(value), "Input validation failed");
|
|
115859
116242
|
if (!parsed.ok) {
|
|
115860
116243
|
return [parsed, { status: "invalid" }];
|
|
@@ -115961,9 +116344,9 @@ Creates a fine-tuning job which begins the process of training a new model from
|
|
|
115961
116344
|
|
|
115962
116345
|
// src/funcs/llmFineTuningList.ts
|
|
115963
116346
|
function llmFineTuningList(client, request, options) {
|
|
115964
|
-
return new APIPromise($
|
|
116347
|
+
return new APIPromise($do151(client, request, options));
|
|
115965
116348
|
}
|
|
115966
|
-
async function $
|
|
116349
|
+
async function $do151(client, request, options) {
|
|
115967
116350
|
const parsed = safeParse4(request, (value) => ListFineTuningJobsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
115968
116351
|
if (!parsed.ok) {
|
|
115969
116352
|
return [parsed, { status: "invalid" }];
|
|
@@ -116075,9 +116458,9 @@ List your organization's fine-tuning jobs.`,
|
|
|
116075
116458
|
|
|
116076
116459
|
// src/funcs/llmFineTuningListCheckpoints.ts
|
|
116077
116460
|
function llmFineTuningListCheckpoints(client, request, options) {
|
|
116078
|
-
return new APIPromise($
|
|
116461
|
+
return new APIPromise($do152(client, request, options));
|
|
116079
116462
|
}
|
|
116080
|
-
async function $
|
|
116463
|
+
async function $do152(client, request, options) {
|
|
116081
116464
|
const parsed = safeParse4(request, (value) => ListFineTuningCheckpointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116082
116465
|
if (!parsed.ok) {
|
|
116083
116466
|
return [parsed, { status: "invalid" }];
|
|
@@ -116192,9 +116575,9 @@ List checkpoints for a fine-tuning job.`,
|
|
|
116192
116575
|
|
|
116193
116576
|
// src/funcs/llmFineTuningListEvents.ts
|
|
116194
116577
|
function llmFineTuningListEvents(client, request, options) {
|
|
116195
|
-
return new APIPromise($
|
|
116578
|
+
return new APIPromise($do153(client, request, options));
|
|
116196
116579
|
}
|
|
116197
|
-
async function $
|
|
116580
|
+
async function $do153(client, request, options) {
|
|
116198
116581
|
const parsed = safeParse4(request, (value) => ListFineTuningEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116199
116582
|
if (!parsed.ok) {
|
|
116200
116583
|
return [parsed, { status: "invalid" }];
|
|
@@ -116309,9 +116692,9 @@ Get status updates for a fine-tuning job.`,
|
|
|
116309
116692
|
|
|
116310
116693
|
// src/funcs/llmFineTuningPause.ts
|
|
116311
116694
|
function llmFineTuningPause(client, request, options) {
|
|
116312
|
-
return new APIPromise($
|
|
116695
|
+
return new APIPromise($do154(client, request, options));
|
|
116313
116696
|
}
|
|
116314
|
-
async function $
|
|
116697
|
+
async function $do154(client, request, options) {
|
|
116315
116698
|
const parsed = safeParse4(request, (value) => PauseFineTuningJobRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116316
116699
|
if (!parsed.ok) {
|
|
116317
116700
|
return [parsed, { status: "invalid" }];
|
|
@@ -116421,9 +116804,9 @@ Pause a running fine-tuning job.`,
|
|
|
116421
116804
|
|
|
116422
116805
|
// src/funcs/llmFineTuningResume.ts
|
|
116423
116806
|
function llmFineTuningResume(client, request, options) {
|
|
116424
|
-
return new APIPromise($
|
|
116807
|
+
return new APIPromise($do155(client, request, options));
|
|
116425
116808
|
}
|
|
116426
|
-
async function $
|
|
116809
|
+
async function $do155(client, request, options) {
|
|
116427
116810
|
const parsed = safeParse4(request, (value) => ResumeFineTuningJobRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116428
116811
|
if (!parsed.ok) {
|
|
116429
116812
|
return [parsed, { status: "invalid" }];
|
|
@@ -116533,9 +116916,9 @@ Resume a paused fine-tuning job.`,
|
|
|
116533
116916
|
|
|
116534
116917
|
// src/funcs/llmFineTuningRetrieve.ts
|
|
116535
116918
|
function llmFineTuningRetrieve(client, request, options) {
|
|
116536
|
-
return new APIPromise($
|
|
116919
|
+
return new APIPromise($do156(client, request, options));
|
|
116537
116920
|
}
|
|
116538
|
-
async function $
|
|
116921
|
+
async function $do156(client, request, options) {
|
|
116539
116922
|
const parsed = safeParse4(request, (value) => RetrieveFineTuningJobRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116540
116923
|
if (!parsed.ok) {
|
|
116541
116924
|
return [parsed, { status: "invalid" }];
|
|
@@ -116645,9 +117028,9 @@ Get info about a fine-tuning job.`,
|
|
|
116645
117028
|
|
|
116646
117029
|
// src/funcs/llmImagesCreate.ts
|
|
116647
117030
|
function llmImagesCreate(client, request, options) {
|
|
116648
|
-
return new APIPromise($
|
|
117031
|
+
return new APIPromise($do157(client, request, options));
|
|
116649
117032
|
}
|
|
116650
|
-
async function $
|
|
117033
|
+
async function $do157(client, request, options) {
|
|
116651
117034
|
const parsed = safeParse4(request, (value) => CreateImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116652
117035
|
if (!parsed.ok) {
|
|
116653
117036
|
return [parsed, { status: "invalid" }];
|
|
@@ -116758,9 +117141,9 @@ Creates AI-generated images from text descriptions.`,
|
|
|
116758
117141
|
|
|
116759
117142
|
// src/funcs/llmMcpVaultCreateCredential.ts
|
|
116760
117143
|
function llmMcpVaultCreateCredential(client, request, options) {
|
|
116761
|
-
return new APIPromise($
|
|
117144
|
+
return new APIPromise($do158(client, request, options));
|
|
116762
117145
|
}
|
|
116763
|
-
async function $
|
|
117146
|
+
async function $do158(client, request, options) {
|
|
116764
117147
|
const parsed = safeParse4(request, (value) => CreateMcpCredentialRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
116765
117148
|
if (!parsed.ok) {
|
|
116766
117149
|
return [parsed, { status: "invalid" }];
|
|
@@ -116877,9 +117260,9 @@ Stores encrypted credentials for a user-owned MCP server. Secret values are neve
|
|
|
116877
117260
|
|
|
116878
117261
|
// src/funcs/llmMcpVaultCreateServer.ts
|
|
116879
117262
|
function llmMcpVaultCreateServer(client, request, options) {
|
|
116880
|
-
return new APIPromise($
|
|
117263
|
+
return new APIPromise($do159(client, request, options));
|
|
116881
117264
|
}
|
|
116882
|
-
async function $
|
|
117265
|
+
async function $do159(client, request, options) {
|
|
116883
117266
|
const parsed = safeParse4(request, (value) => CreateMcpServerRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
116884
117267
|
if (!parsed.ok) {
|
|
116885
117268
|
return [parsed, { status: "invalid" }];
|
|
@@ -116990,9 +117373,9 @@ Creates a user-owned MCP server configuration. Secret credentials are stored sep
|
|
|
116990
117373
|
|
|
116991
117374
|
// src/funcs/llmMcpVaultDeleteCredential.ts
|
|
116992
117375
|
function llmMcpVaultDeleteCredential(client, request, options) {
|
|
116993
|
-
return new APIPromise($
|
|
117376
|
+
return new APIPromise($do160(client, request, options));
|
|
116994
117377
|
}
|
|
116995
|
-
async function $
|
|
117378
|
+
async function $do160(client, request, options) {
|
|
116996
117379
|
const parsed = safeParse4(request, (value) => DeleteMcpCredentialRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116997
117380
|
if (!parsed.ok) {
|
|
116998
117381
|
return [parsed, { status: "invalid" }];
|
|
@@ -117106,9 +117489,9 @@ Revokes a user-owned MCP credential.`,
|
|
|
117106
117489
|
|
|
117107
117490
|
// src/funcs/llmMcpVaultDeleteServer.ts
|
|
117108
117491
|
function llmMcpVaultDeleteServer(client, request, options) {
|
|
117109
|
-
return new APIPromise($
|
|
117492
|
+
return new APIPromise($do161(client, request, options));
|
|
117110
117493
|
}
|
|
117111
|
-
async function $
|
|
117494
|
+
async function $do161(client, request, options) {
|
|
117112
117495
|
const parsed = safeParse4(request, (value) => DeleteMcpServerRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117113
117496
|
if (!parsed.ok) {
|
|
117114
117497
|
return [parsed, { status: "invalid" }];
|
|
@@ -117222,9 +117605,9 @@ Soft-deletes a user-owned MCP server and revokes its credentials.`,
|
|
|
117222
117605
|
|
|
117223
117606
|
// src/funcs/llmMcpVaultGetServer.ts
|
|
117224
117607
|
function llmMcpVaultGetServer(client, request, options) {
|
|
117225
|
-
return new APIPromise($
|
|
117608
|
+
return new APIPromise($do162(client, request, options));
|
|
117226
117609
|
}
|
|
117227
|
-
async function $
|
|
117610
|
+
async function $do162(client, request, options) {
|
|
117228
117611
|
const parsed = safeParse4(request, (value) => GetMcpServerRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117229
117612
|
if (!parsed.ok) {
|
|
117230
117613
|
return [parsed, { status: "invalid" }];
|
|
@@ -117338,9 +117721,9 @@ Returns a user-owned MCP server configuration.`,
|
|
|
117338
117721
|
|
|
117339
117722
|
// src/funcs/llmMcpVaultListCredentials.ts
|
|
117340
117723
|
function llmMcpVaultListCredentials(client, request, options) {
|
|
117341
|
-
return new APIPromise($
|
|
117724
|
+
return new APIPromise($do163(client, request, options));
|
|
117342
117725
|
}
|
|
117343
|
-
async function $
|
|
117726
|
+
async function $do163(client, request, options) {
|
|
117344
117727
|
const parsed = safeParse4(request, (value) => ListMcpCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117345
117728
|
if (!parsed.ok) {
|
|
117346
117729
|
return [parsed, { status: "invalid" }];
|
|
@@ -117461,9 +117844,9 @@ Lists encrypted credential metadata for a user-owned MCP server.`,
|
|
|
117461
117844
|
|
|
117462
117845
|
// src/funcs/llmMcpVaultListServers.ts
|
|
117463
117846
|
function llmMcpVaultListServers(client, request, options) {
|
|
117464
|
-
return new APIPromise($
|
|
117847
|
+
return new APIPromise($do164(client, request, options));
|
|
117465
117848
|
}
|
|
117466
|
-
async function $
|
|
117849
|
+
async function $do164(client, request, options) {
|
|
117467
117850
|
const parsed = safeParse4(request, (value) => ListMcpServersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117468
117851
|
if (!parsed.ok) {
|
|
117469
117852
|
return [parsed, { status: "invalid" }];
|
|
@@ -117577,9 +117960,9 @@ Lists MCP server configurations owned by the authenticated user context.`,
|
|
|
117577
117960
|
|
|
117578
117961
|
// src/funcs/llmMcpVaultTestServer.ts
|
|
117579
117962
|
function llmMcpVaultTestServer(client, request, options) {
|
|
117580
|
-
return new APIPromise($
|
|
117963
|
+
return new APIPromise($do165(client, request, options));
|
|
117581
117964
|
}
|
|
117582
|
-
async function $
|
|
117965
|
+
async function $do165(client, request, options) {
|
|
117583
117966
|
const parsed = safeParse4(request, (value) => TestMcpServerRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117584
117967
|
if (!parsed.ok) {
|
|
117585
117968
|
return [parsed, { status: "invalid" }];
|
|
@@ -117693,9 +118076,9 @@ Connects to an MCP server using the authenticated user's stored credential and r
|
|
|
117693
118076
|
|
|
117694
118077
|
// src/funcs/llmMcpVaultUpdateServer.ts
|
|
117695
118078
|
function llmMcpVaultUpdateServer(client, request, options) {
|
|
117696
|
-
return new APIPromise($
|
|
118079
|
+
return new APIPromise($do166(client, request, options));
|
|
117697
118080
|
}
|
|
117698
|
-
async function $
|
|
118081
|
+
async function $do166(client, request, options) {
|
|
117699
118082
|
const parsed = safeParse4(request, (value) => UpdateMcpServerRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
117700
118083
|
if (!parsed.ok) {
|
|
117701
118084
|
return [parsed, { status: "invalid" }];
|
|
@@ -117812,9 +118195,9 @@ Partially updates a user-owned MCP server configuration.`,
|
|
|
117812
118195
|
|
|
117813
118196
|
// src/funcs/llmMemoryStoresCreate.ts
|
|
117814
118197
|
function llmMemoryStoresCreate(client, request, options) {
|
|
117815
|
-
return new APIPromise($
|
|
118198
|
+
return new APIPromise($do167(client, request, options));
|
|
117816
118199
|
}
|
|
117817
|
-
async function $
|
|
118200
|
+
async function $do167(client, request, options) {
|
|
117818
118201
|
const parsed = safeParse4(request, (value) => CreateMemoryStoreRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
117819
118202
|
if (!parsed.ok) {
|
|
117820
118203
|
return [parsed, { status: "invalid" }];
|
|
@@ -117925,9 +118308,9 @@ Creates a memory store for persistent agent notes. Stores are private by default
|
|
|
117925
118308
|
|
|
117926
118309
|
// src/funcs/llmMemoryStoresCreateEntry.ts
|
|
117927
118310
|
function llmMemoryStoresCreateEntry(client, request, options) {
|
|
117928
|
-
return new APIPromise($
|
|
118311
|
+
return new APIPromise($do168(client, request, options));
|
|
117929
118312
|
}
|
|
117930
|
-
async function $
|
|
118313
|
+
async function $do168(client, request, options) {
|
|
117931
118314
|
const parsed = safeParse4(request, (value) => CreateMemoryEntryRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
117932
118315
|
if (!parsed.ok) {
|
|
117933
118316
|
return [parsed, { status: "invalid" }];
|
|
@@ -118042,9 +118425,9 @@ var init_llmMemoryStoresCreateEntry2 = __esm(() => {
|
|
|
118042
118425
|
|
|
118043
118426
|
// src/funcs/llmMemoryStoresDelete.ts
|
|
118044
118427
|
function llmMemoryStoresDelete(client, request, options) {
|
|
118045
|
-
return new APIPromise($
|
|
118428
|
+
return new APIPromise($do169(client, request, options));
|
|
118046
118429
|
}
|
|
118047
|
-
async function $
|
|
118430
|
+
async function $do169(client, request, options) {
|
|
118048
118431
|
const parsed = safeParse4(request, (value) => DeleteMemoryStoreRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118049
118432
|
if (!parsed.ok) {
|
|
118050
118433
|
return [parsed, { status: "invalid" }];
|
|
@@ -118156,9 +118539,9 @@ var init_llmMemoryStoresDelete2 = __esm(() => {
|
|
|
118156
118539
|
|
|
118157
118540
|
// src/funcs/llmMemoryStoresDeleteEntry.ts
|
|
118158
118541
|
function llmMemoryStoresDeleteEntry(client, request, options) {
|
|
118159
|
-
return new APIPromise($
|
|
118542
|
+
return new APIPromise($do170(client, request, options));
|
|
118160
118543
|
}
|
|
118161
|
-
async function $
|
|
118544
|
+
async function $do170(client, request, options) {
|
|
118162
118545
|
const parsed = safeParse4(request, (value) => DeleteMemoryEntryRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
118163
118546
|
if (!parsed.ok) {
|
|
118164
118547
|
return [parsed, { status: "invalid" }];
|
|
@@ -118281,9 +118664,9 @@ var init_llmMemoryStoresDeleteEntry2 = __esm(() => {
|
|
|
118281
118664
|
|
|
118282
118665
|
// src/funcs/llmMemoryStoresGet.ts
|
|
118283
118666
|
function llmMemoryStoresGet(client, request, options) {
|
|
118284
|
-
return new APIPromise($
|
|
118667
|
+
return new APIPromise($do171(client, request, options));
|
|
118285
118668
|
}
|
|
118286
|
-
async function $
|
|
118669
|
+
async function $do171(client, request, options) {
|
|
118287
118670
|
const parsed = safeParse4(request, (value) => GetMemoryStoreRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118288
118671
|
if (!parsed.ok) {
|
|
118289
118672
|
return [parsed, { status: "invalid" }];
|
|
@@ -118395,9 +118778,9 @@ var init_llmMemoryStoresGet2 = __esm(() => {
|
|
|
118395
118778
|
|
|
118396
118779
|
// src/funcs/llmMemoryStoresGetEntry.ts
|
|
118397
118780
|
function llmMemoryStoresGetEntry(client, request, options) {
|
|
118398
|
-
return new APIPromise($
|
|
118781
|
+
return new APIPromise($do172(client, request, options));
|
|
118399
118782
|
}
|
|
118400
|
-
async function $
|
|
118783
|
+
async function $do172(client, request, options) {
|
|
118401
118784
|
const parsed = safeParse4(request, (value) => GetMemoryEntryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118402
118785
|
if (!parsed.ok) {
|
|
118403
118786
|
return [parsed, { status: "invalid" }];
|
|
@@ -118513,9 +118896,9 @@ var init_llmMemoryStoresGetEntry2 = __esm(() => {
|
|
|
118513
118896
|
|
|
118514
118897
|
// src/funcs/llmMemoryStoresList.ts
|
|
118515
118898
|
function llmMemoryStoresList(client, request, options) {
|
|
118516
|
-
return new APIPromise($
|
|
118899
|
+
return new APIPromise($do173(client, request, options));
|
|
118517
118900
|
}
|
|
118518
|
-
async function $
|
|
118901
|
+
async function $do173(client, request, options) {
|
|
118519
118902
|
const parsed = safeParse4(request, (value) => ListMemoryStoresRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118520
118903
|
if (!parsed.ok) {
|
|
118521
118904
|
return [parsed, { status: "invalid" }];
|
|
@@ -118627,9 +119010,9 @@ var init_llmMemoryStoresList2 = __esm(() => {
|
|
|
118627
119010
|
|
|
118628
119011
|
// src/funcs/llmMemoryStoresListEntries.ts
|
|
118629
119012
|
function llmMemoryStoresListEntries(client, request, options) {
|
|
118630
|
-
return new APIPromise($
|
|
119013
|
+
return new APIPromise($do174(client, request, options));
|
|
118631
119014
|
}
|
|
118632
|
-
async function $
|
|
119015
|
+
async function $do174(client, request, options) {
|
|
118633
119016
|
const parsed = safeParse4(request, (value) => ListMemoryEntriesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118634
119017
|
if (!parsed.ok) {
|
|
118635
119018
|
return [parsed, { status: "invalid" }];
|
|
@@ -118747,9 +119130,9 @@ var init_llmMemoryStoresListEntries2 = __esm(() => {
|
|
|
118747
119130
|
|
|
118748
119131
|
// src/funcs/llmMemoryStoresUpdate.ts
|
|
118749
119132
|
function llmMemoryStoresUpdate(client, request, options) {
|
|
118750
|
-
return new APIPromise($
|
|
119133
|
+
return new APIPromise($do175(client, request, options));
|
|
118751
119134
|
}
|
|
118752
|
-
async function $
|
|
119135
|
+
async function $do175(client, request, options) {
|
|
118753
119136
|
const parsed = safeParse4(request, (value) => UpdateMemoryStoreRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
118754
119137
|
if (!parsed.ok) {
|
|
118755
119138
|
return [parsed, { status: "invalid" }];
|
|
@@ -118864,9 +119247,9 @@ var init_llmMemoryStoresUpdate2 = __esm(() => {
|
|
|
118864
119247
|
|
|
118865
119248
|
// src/funcs/llmMemoryStoresUpdateEntry.ts
|
|
118866
119249
|
function llmMemoryStoresUpdateEntry(client, request, options) {
|
|
118867
|
-
return new APIPromise($
|
|
119250
|
+
return new APIPromise($do176(client, request, options));
|
|
118868
119251
|
}
|
|
118869
|
-
async function $
|
|
119252
|
+
async function $do176(client, request, options) {
|
|
118870
119253
|
const parsed = safeParse4(request, (value) => UpdateMemoryEntryRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
118871
119254
|
if (!parsed.ok) {
|
|
118872
119255
|
return [parsed, { status: "invalid" }];
|
|
@@ -118985,9 +119368,9 @@ var init_llmMemoryStoresUpdateEntry2 = __esm(() => {
|
|
|
118985
119368
|
|
|
118986
119369
|
// src/funcs/llmModelsActivateRegistryEntry.ts
|
|
118987
119370
|
function llmModelsActivateRegistryEntry(client, request, options) {
|
|
118988
|
-
return new APIPromise($
|
|
119371
|
+
return new APIPromise($do177(client, request, options));
|
|
118989
119372
|
}
|
|
118990
|
-
async function $
|
|
119373
|
+
async function $do177(client, request, options) {
|
|
118991
119374
|
const parsed = safeParse4(request, (value) => ActivateRegistryEntryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118992
119375
|
if (!parsed.ok) {
|
|
118993
119376
|
return [parsed, { status: "invalid" }];
|
|
@@ -119094,9 +119477,9 @@ Claims a model name from one catalog source. Re-activation from the same source
|
|
|
119094
119477
|
|
|
119095
119478
|
// src/funcs/llmModelsAddCatalogEntry.ts
|
|
119096
119479
|
function llmModelsAddCatalogEntry(client, request, options) {
|
|
119097
|
-
return new APIPromise($
|
|
119480
|
+
return new APIPromise($do178(client, request, options));
|
|
119098
119481
|
}
|
|
119099
|
-
async function $
|
|
119482
|
+
async function $do178(client, request, options) {
|
|
119100
119483
|
const parsed = safeParse4(request, (value) => AddCatalogModelRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119101
119484
|
if (!parsed.ok) {
|
|
119102
119485
|
return [parsed, { status: "invalid" }];
|
|
@@ -119203,9 +119586,9 @@ Creates an API-owned BYO definition without activating its name.`,
|
|
|
119203
119586
|
|
|
119204
119587
|
// src/funcs/llmModelsAddCatalogOrgAccess.ts
|
|
119205
119588
|
function llmModelsAddCatalogOrgAccess(client, request, options) {
|
|
119206
|
-
return new APIPromise($
|
|
119589
|
+
return new APIPromise($do179(client, request, options));
|
|
119207
119590
|
}
|
|
119208
|
-
async function $
|
|
119591
|
+
async function $do179(client, request, options) {
|
|
119209
119592
|
const parsed = safeParse4(request, (value) => AddModelCatalogOrgAccessRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119210
119593
|
if (!parsed.ok) {
|
|
119211
119594
|
return [parsed, { status: "invalid" }];
|
|
@@ -119321,9 +119704,9 @@ Idempotently adds availability without activating or revoking any model names.`,
|
|
|
119321
119704
|
|
|
119322
119705
|
// src/funcs/llmModelsCheckCatalogHealth.ts
|
|
119323
119706
|
function llmModelsCheckCatalogHealth(client, request, options) {
|
|
119324
|
-
return new APIPromise($
|
|
119707
|
+
return new APIPromise($do180(client, request, options));
|
|
119325
119708
|
}
|
|
119326
|
-
async function $
|
|
119709
|
+
async function $do180(client, request, options) {
|
|
119327
119710
|
const parsed = safeParse4(request, (value) => CheckModelCatalogHealthRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119328
119711
|
if (!parsed.ok) {
|
|
119329
119712
|
return [parsed, { status: "invalid" }];
|
|
@@ -119434,9 +119817,9 @@ Probes an available BYO definition whether or not it is active.`,
|
|
|
119434
119817
|
|
|
119435
119818
|
// src/funcs/llmModelsClearClusterPrice.ts
|
|
119436
119819
|
function llmModelsClearClusterPrice(client, request, options) {
|
|
119437
|
-
return new APIPromise($
|
|
119820
|
+
return new APIPromise($do181(client, request, options));
|
|
119438
119821
|
}
|
|
119439
|
-
async function $
|
|
119822
|
+
async function $do181(client, request, options) {
|
|
119440
119823
|
const parsed = safeParse4(request, (value) => ClearClusterPriceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119441
119824
|
if (!parsed.ok) {
|
|
119442
119825
|
return [parsed, { status: "invalid" }];
|
|
@@ -119547,9 +119930,9 @@ Closes the cluster-default price. Active cluster lineage then uses an org overri
|
|
|
119547
119930
|
|
|
119548
119931
|
// src/funcs/llmModelsClearOrgPrice.ts
|
|
119549
119932
|
function llmModelsClearOrgPrice(client, request, options) {
|
|
119550
|
-
return new APIPromise($
|
|
119933
|
+
return new APIPromise($do182(client, request, options));
|
|
119551
119934
|
}
|
|
119552
|
-
async function $
|
|
119935
|
+
async function $do182(client, request, options) {
|
|
119553
119936
|
const parsed = safeParse4(request, (value) => ClearOrgPriceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119554
119937
|
if (!parsed.ok) {
|
|
119555
119938
|
return [parsed, { status: "invalid" }];
|
|
@@ -119666,9 +120049,9 @@ Closes a per-org price. Only active cluster lineage can then fall back to the cl
|
|
|
119666
120049
|
|
|
119667
120050
|
// src/funcs/llmModelsDeactivateRegistryEntry.ts
|
|
119668
120051
|
function llmModelsDeactivateRegistryEntry(client, request, options) {
|
|
119669
|
-
return new APIPromise($
|
|
120052
|
+
return new APIPromise($do183(client, request, options));
|
|
119670
120053
|
}
|
|
119671
|
-
async function $
|
|
120054
|
+
async function $do183(client, request, options) {
|
|
119672
120055
|
const parsed = safeParse4(request, (value) => DeactivateModelRegistryEntryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119673
120056
|
if (!parsed.ok) {
|
|
119674
120057
|
return [parsed, { status: "invalid" }];
|
|
@@ -119779,9 +120162,9 @@ Idempotently removes the active name and closes its org-scope price rows without
|
|
|
119779
120162
|
|
|
119780
120163
|
// src/funcs/llmModelsDeleteCatalogEntry.ts
|
|
119781
120164
|
function llmModelsDeleteCatalogEntry(client, request, options) {
|
|
119782
|
-
return new APIPromise($
|
|
120165
|
+
return new APIPromise($do184(client, request, options));
|
|
119783
120166
|
}
|
|
119784
|
-
async function $
|
|
120167
|
+
async function $do184(client, request, options) {
|
|
119785
120168
|
const parsed = safeParse4(request, (value) => DeleteModelCatalogEntryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119786
120169
|
if (!parsed.ok) {
|
|
119787
120170
|
return [parsed, { status: "invalid" }];
|
|
@@ -119892,9 +120275,9 @@ Withdraws a BYO definition and deactivates it only when the active name is sourc
|
|
|
119892
120275
|
|
|
119893
120276
|
// src/funcs/llmModelsDeleteOrgAutoModel.ts
|
|
119894
120277
|
function llmModelsDeleteOrgAutoModel(client, request, options) {
|
|
119895
|
-
return new APIPromise($
|
|
120278
|
+
return new APIPromise($do185(client, request, options));
|
|
119896
120279
|
}
|
|
119897
|
-
async function $
|
|
120280
|
+
async function $do185(client, request, options) {
|
|
119898
120281
|
const parsed = safeParse4(request, (value) => DeleteOrgAutoModelRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119899
120282
|
if (!parsed.ok) {
|
|
119900
120283
|
return [parsed, { status: "invalid" }];
|
|
@@ -120007,9 +120390,9 @@ Removes the per-org override for the endpoint. Subsequent \`model: "auto"\` requ
|
|
|
120007
120390
|
|
|
120008
120391
|
// src/funcs/llmModelsGet.ts
|
|
120009
120392
|
function llmModelsGet(client, request, options) {
|
|
120010
|
-
return new APIPromise($
|
|
120393
|
+
return new APIPromise($do186(client, request, options));
|
|
120011
120394
|
}
|
|
120012
|
-
async function $
|
|
120395
|
+
async function $do186(client, request, options) {
|
|
120013
120396
|
const parsed = safeParse4(request, (value) => GetModelRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120014
120397
|
if (!parsed.ok) {
|
|
120015
120398
|
return [parsed, { status: "invalid" }];
|
|
@@ -120122,9 +120505,9 @@ Retrieves a model instance, providing basic information about the model such as
|
|
|
120122
120505
|
|
|
120123
120506
|
// src/funcs/llmModelsGetClusterCurrency.ts
|
|
120124
120507
|
function llmModelsGetClusterCurrency(client, options) {
|
|
120125
|
-
return new APIPromise($
|
|
120508
|
+
return new APIPromise($do187(client, options));
|
|
120126
120509
|
}
|
|
120127
|
-
async function $
|
|
120510
|
+
async function $do187(client, options) {
|
|
120128
120511
|
const path = pathToFunc("/api/v1/llm/models/pricing/currency")();
|
|
120129
120512
|
const headers = new Headers(compactMap({
|
|
120130
120513
|
Accept: "application/json"
|
|
@@ -120216,9 +120599,9 @@ Returns the single cluster-wide ISO-4217 currency code (null if not set).`,
|
|
|
120216
120599
|
|
|
120217
120600
|
// src/funcs/llmModelsList.ts
|
|
120218
120601
|
function llmModelsList(client, request, options) {
|
|
120219
|
-
return new APIPromise($
|
|
120602
|
+
return new APIPromise($do188(client, request, options));
|
|
120220
120603
|
}
|
|
120221
|
-
async function $
|
|
120604
|
+
async function $do188(client, request, options) {
|
|
120222
120605
|
const parsed = safeParse4(request, (value) => ListModelsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120223
120606
|
if (!parsed.ok) {
|
|
120224
120607
|
return [parsed, { status: "invalid" }];
|
|
@@ -120325,9 +120708,9 @@ Lists the currently available models. Provides basic information about each mode
|
|
|
120325
120708
|
|
|
120326
120709
|
// src/funcs/llmModelsListCatalog.ts
|
|
120327
120710
|
function llmModelsListCatalog(client, options) {
|
|
120328
|
-
return new APIPromise($
|
|
120711
|
+
return new APIPromise($do189(client, options));
|
|
120329
120712
|
}
|
|
120330
|
-
async function $
|
|
120713
|
+
async function $do189(client, options) {
|
|
120331
120714
|
const path = pathToFunc("/api/v1/llm/models/catalog")();
|
|
120332
120715
|
const headers = new Headers(compactMap({
|
|
120333
120716
|
Accept: "application/json"
|
|
@@ -120419,9 +120802,9 @@ Lists all BYO, serving, and cluster-access definitions with activation state, bl
|
|
|
120419
120802
|
|
|
120420
120803
|
// src/funcs/llmModelsListCatalogModelAccess.ts
|
|
120421
120804
|
function llmModelsListCatalogModelAccess(client, request, options) {
|
|
120422
|
-
return new APIPromise($
|
|
120805
|
+
return new APIPromise($do190(client, request, options));
|
|
120423
120806
|
}
|
|
120424
|
-
async function $
|
|
120807
|
+
async function $do190(client, request, options) {
|
|
120425
120808
|
const parsed = safeParse4(request, (value) => ListModelCatalogAccessRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120426
120809
|
if (!parsed.ok) {
|
|
120427
120810
|
return [parsed, { status: "invalid" }];
|
|
@@ -120532,9 +120915,9 @@ Cluster operator reverse lookup showing availability and activation for one clus
|
|
|
120532
120915
|
|
|
120533
120916
|
// src/funcs/llmModelsListCatalogOrgAccess.ts
|
|
120534
120917
|
function llmModelsListCatalogOrgAccess(client, request, options) {
|
|
120535
|
-
return new APIPromise($
|
|
120918
|
+
return new APIPromise($do191(client, request, options));
|
|
120536
120919
|
}
|
|
120537
|
-
async function $
|
|
120920
|
+
async function $do191(client, request, options) {
|
|
120538
120921
|
const parsed = safeParse4(request, (value) => ListModelCatalogOrgAccessRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120539
120922
|
if (!parsed.ok) {
|
|
120540
120923
|
return [parsed, { status: "invalid" }];
|
|
@@ -120647,9 +121030,9 @@ Cluster operator view of an org's available cluster catalog entries and their ac
|
|
|
120647
121030
|
|
|
120648
121031
|
// src/funcs/llmModelsListClusterPrices.ts
|
|
120649
121032
|
function llmModelsListClusterPrices(client, request, options) {
|
|
120650
|
-
return new APIPromise($
|
|
121033
|
+
return new APIPromise($do192(client, request, options));
|
|
120651
121034
|
}
|
|
120652
|
-
async function $
|
|
121035
|
+
async function $do192(client, request, options) {
|
|
120653
121036
|
const parsed = safeParse4(request, (value) => ListClusterPricesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120654
121037
|
if (!parsed.ok) {
|
|
120655
121038
|
return [parsed, { status: "invalid" }];
|
|
@@ -120760,9 +121143,9 @@ Without \`model\`, lists every model's current cluster-default price. With \`mod
|
|
|
120760
121143
|
|
|
120761
121144
|
// src/funcs/llmModelsListEffectivePrices.ts
|
|
120762
121145
|
function llmModelsListEffectivePrices(client, request, options) {
|
|
120763
|
-
return new APIPromise($
|
|
121146
|
+
return new APIPromise($do193(client, request, options));
|
|
120764
121147
|
}
|
|
120765
|
-
async function $
|
|
121148
|
+
async function $do193(client, request, options) {
|
|
120766
121149
|
const parsed = safeParse4(request, (value) => ListEffectivePricesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120767
121150
|
if (!parsed.ok) {
|
|
120768
121151
|
return [parsed, { status: "invalid" }];
|
|
@@ -120870,9 +121253,9 @@ For every active model, returns its registry-aware price: an org row, a cluster
|
|
|
120870
121253
|
|
|
120871
121254
|
// src/funcs/llmModelsListOrgAutoModels.ts
|
|
120872
121255
|
function llmModelsListOrgAutoModels(client, options) {
|
|
120873
|
-
return new APIPromise($
|
|
121256
|
+
return new APIPromise($do194(client, options));
|
|
120874
121257
|
}
|
|
120875
|
-
async function $
|
|
121258
|
+
async function $do194(client, options) {
|
|
120876
121259
|
const path = pathToFunc("/api/v1/llm/models/auto")();
|
|
120877
121260
|
const headers = new Headers(compactMap({
|
|
120878
121261
|
Accept: "application/json"
|
|
@@ -120964,9 +121347,9 @@ Returns every endpoint for which this org has set its own \`"auto"\` target. End
|
|
|
120964
121347
|
|
|
120965
121348
|
// src/funcs/llmModelsListOrgPrices.ts
|
|
120966
121349
|
function llmModelsListOrgPrices(client, request, options) {
|
|
120967
|
-
return new APIPromise($
|
|
121350
|
+
return new APIPromise($do195(client, request, options));
|
|
120968
121351
|
}
|
|
120969
|
-
async function $
|
|
121352
|
+
async function $do195(client, request, options) {
|
|
120970
121353
|
const parsed = safeParse4(request, (value) => ListOrgPricesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120971
121354
|
if (!parsed.ok) {
|
|
120972
121355
|
return [parsed, { status: "invalid" }];
|
|
@@ -121083,9 +121466,9 @@ Without \`model\`, lists the org's current overrides. With \`model\`, returns th
|
|
|
121083
121466
|
|
|
121084
121467
|
// src/funcs/llmModelsListRegistry.ts
|
|
121085
121468
|
function llmModelsListRegistry(client, options) {
|
|
121086
|
-
return new APIPromise($
|
|
121469
|
+
return new APIPromise($do196(client, options));
|
|
121087
121470
|
}
|
|
121088
|
-
async function $
|
|
121471
|
+
async function $do196(client, options) {
|
|
121089
121472
|
const path = pathToFunc("/api/v1/llm/models/registry")();
|
|
121090
121473
|
const headers = new Headers(compactMap({
|
|
121091
121474
|
Accept: "application/json"
|
|
@@ -121177,9 +121560,9 @@ Single management view of every active name with source-qualified definition, he
|
|
|
121177
121560
|
|
|
121178
121561
|
// src/funcs/llmModelsPutOrgAutoModel.ts
|
|
121179
121562
|
function llmModelsPutOrgAutoModel(client, request, options) {
|
|
121180
|
-
return new APIPromise($
|
|
121563
|
+
return new APIPromise($do197(client, request, options));
|
|
121181
121564
|
}
|
|
121182
|
-
async function $
|
|
121565
|
+
async function $do197(client, request, options) {
|
|
121183
121566
|
const parsed = safeParse4(request, (value) => PutOrgAutoModelRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
121184
121567
|
if (!parsed.ok) {
|
|
121185
121568
|
return [parsed, { status: "invalid" }];
|
|
@@ -121295,9 +121678,9 @@ Stores \`{ endpoint → modelId }\` so subsequent requests with \`model: "auto"\
|
|
|
121295
121678
|
|
|
121296
121679
|
// src/funcs/llmModelsReplaceCatalogOrgAccess.ts
|
|
121297
121680
|
function llmModelsReplaceCatalogOrgAccess(client, request, options) {
|
|
121298
|
-
return new APIPromise($
|
|
121681
|
+
return new APIPromise($do198(client, request, options));
|
|
121299
121682
|
}
|
|
121300
|
-
async function $
|
|
121683
|
+
async function $do198(client, request, options) {
|
|
121301
121684
|
const parsed = safeParse4(request, (value) => ReplaceModelCatalogOrgAccessRequest$outboundSchema.parse(value), "Input validation failed");
|
|
121302
121685
|
if (!parsed.ok) {
|
|
121303
121686
|
return [parsed, { status: "invalid" }];
|
|
@@ -121413,9 +121796,9 @@ Serializable full replacement; revoked active cluster names are deactivated and
|
|
|
121413
121796
|
|
|
121414
121797
|
// src/funcs/llmModelsSetClusterCurrency.ts
|
|
121415
121798
|
function llmModelsSetClusterCurrency(client, request, options) {
|
|
121416
|
-
return new APIPromise($
|
|
121799
|
+
return new APIPromise($do199(client, request, options));
|
|
121417
121800
|
}
|
|
121418
|
-
async function $
|
|
121801
|
+
async function $do199(client, request, options) {
|
|
121419
121802
|
const parsed = safeParse4(request, (value) => PutClusterCurrencyBody$outboundSchema.parse(value), "Input validation failed");
|
|
121420
121803
|
if (!parsed.ok) {
|
|
121421
121804
|
return [parsed, { status: "invalid" }];
|
|
@@ -121522,9 +121905,9 @@ Sets the cluster-wide currency. Changing it does not auto-convert existing price
|
|
|
121522
121905
|
|
|
121523
121906
|
// src/funcs/llmModelsSetClusterPrice.ts
|
|
121524
121907
|
function llmModelsSetClusterPrice(client, request, options) {
|
|
121525
|
-
return new APIPromise($
|
|
121908
|
+
return new APIPromise($do200(client, request, options));
|
|
121526
121909
|
}
|
|
121527
|
-
async function $
|
|
121910
|
+
async function $do200(client, request, options) {
|
|
121528
121911
|
const parsed = safeParse4(request, (value) => PutModelPriceBody$outboundSchema.parse(value), "Input validation failed");
|
|
121529
121912
|
if (!parsed.ok) {
|
|
121530
121913
|
return [parsed, { status: "invalid" }];
|
|
@@ -121631,9 +122014,9 @@ Upserts the cluster-default price for a model as a new dated version. \`rates\`
|
|
|
121631
122014
|
|
|
121632
122015
|
// src/funcs/llmModelsSetOrgPrice.ts
|
|
121633
122016
|
function llmModelsSetOrgPrice(client, request, options) {
|
|
121634
|
-
return new APIPromise($
|
|
122017
|
+
return new APIPromise($do201(client, request, options));
|
|
121635
122018
|
}
|
|
121636
|
-
async function $
|
|
122019
|
+
async function $do201(client, request, options) {
|
|
121637
122020
|
const parsed = safeParse4(request, (value) => SetOrgPriceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
121638
122021
|
if (!parsed.ok) {
|
|
121639
122022
|
return [parsed, { status: "invalid" }];
|
|
@@ -121747,9 +122130,9 @@ Upserts a dated per-org price. Cluster lineage falls back to the cluster default
|
|
|
121747
122130
|
|
|
121748
122131
|
// src/funcs/llmModelsUpdateCatalogEntry.ts
|
|
121749
122132
|
function llmModelsUpdateCatalogEntry(client, request, options) {
|
|
121750
|
-
return new APIPromise($
|
|
122133
|
+
return new APIPromise($do202(client, request, options));
|
|
121751
122134
|
}
|
|
121752
|
-
async function $
|
|
122135
|
+
async function $do202(client, request, options) {
|
|
121753
122136
|
const parsed = safeParse4(request, (value) => UpdateCatalogModelRequest$outboundSchema.parse(value), "Input validation failed");
|
|
121754
122137
|
if (!parsed.ok) {
|
|
121755
122138
|
return [parsed, { status: "invalid" }];
|
|
@@ -121856,9 +122239,9 @@ Updates an API-owned BYO definition; yaml-origin entries are file-managed and im
|
|
|
121856
122239
|
|
|
121857
122240
|
// src/funcs/llmPromptsCreate.ts
|
|
121858
122241
|
function llmPromptsCreate(client, request, options) {
|
|
121859
|
-
return new APIPromise($
|
|
122242
|
+
return new APIPromise($do203(client, request, options));
|
|
121860
122243
|
}
|
|
121861
|
-
async function $
|
|
122244
|
+
async function $do203(client, request, options) {
|
|
121862
122245
|
const parsed = safeParse4(request, (value) => CreatePromptRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
121863
122246
|
if (!parsed.ok) {
|
|
121864
122247
|
return [parsed, { status: "invalid" }];
|
|
@@ -121969,9 +122352,9 @@ Creates a new prompt with its first version. The template supports {{variable}}
|
|
|
121969
122352
|
|
|
121970
122353
|
// src/funcs/llmPromptsCreateVersion.ts
|
|
121971
122354
|
function llmPromptsCreateVersion(client, request, options) {
|
|
121972
|
-
return new APIPromise($
|
|
122355
|
+
return new APIPromise($do204(client, request, options));
|
|
121973
122356
|
}
|
|
121974
|
-
async function $
|
|
122357
|
+
async function $do204(client, request, options) {
|
|
121975
122358
|
const parsed = safeParse4(request, (value) => CreatePromptVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
121976
122359
|
if (!parsed.ok) {
|
|
121977
122360
|
return [parsed, { status: "invalid" }];
|
|
@@ -122086,9 +122469,9 @@ Creates a new version of a prompt. The new version automatically becomes the act
|
|
|
122086
122469
|
|
|
122087
122470
|
// src/funcs/llmPromptsDelete.ts
|
|
122088
122471
|
function llmPromptsDelete(client, request, options) {
|
|
122089
|
-
return new APIPromise($
|
|
122472
|
+
return new APIPromise($do205(client, request, options));
|
|
122090
122473
|
}
|
|
122091
|
-
async function $
|
|
122474
|
+
async function $do205(client, request, options) {
|
|
122092
122475
|
const parsed = safeParse4(request, (value) => DeletePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
122093
122476
|
if (!parsed.ok) {
|
|
122094
122477
|
return [parsed, { status: "invalid" }];
|
|
@@ -122202,9 +122585,9 @@ Deletes a prompt and all its versions.`,
|
|
|
122202
122585
|
|
|
122203
122586
|
// src/funcs/llmPromptsGet.ts
|
|
122204
122587
|
function llmPromptsGet(client, request, options) {
|
|
122205
|
-
return new APIPromise($
|
|
122588
|
+
return new APIPromise($do206(client, request, options));
|
|
122206
122589
|
}
|
|
122207
|
-
async function $
|
|
122590
|
+
async function $do206(client, request, options) {
|
|
122208
122591
|
const parsed = safeParse4(request, (value) => GetPromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
122209
122592
|
if (!parsed.ok) {
|
|
122210
122593
|
return [parsed, { status: "invalid" }];
|
|
@@ -122323,9 +122706,9 @@ Retrieves a prompt by its ID, including the active template. Pass \`version\` to
|
|
|
122323
122706
|
|
|
122324
122707
|
// src/funcs/llmPromptsGetVersion.ts
|
|
122325
122708
|
function llmPromptsGetVersion(client, request, options) {
|
|
122326
|
-
return new APIPromise($
|
|
122709
|
+
return new APIPromise($do207(client, request, options));
|
|
122327
122710
|
}
|
|
122328
|
-
async function $
|
|
122711
|
+
async function $do207(client, request, options) {
|
|
122329
122712
|
const parsed = safeParse4(request, (value) => GetPromptVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
122330
122713
|
if (!parsed.ok) {
|
|
122331
122714
|
return [parsed, { status: "invalid" }];
|
|
@@ -122443,9 +122826,9 @@ Retrieves a specific version of a prompt by version number.`,
|
|
|
122443
122826
|
|
|
122444
122827
|
// src/funcs/llmPromptsList.ts
|
|
122445
122828
|
function llmPromptsList(client, request, options) {
|
|
122446
|
-
return new APIPromise($
|
|
122829
|
+
return new APIPromise($do208(client, request, options));
|
|
122447
122830
|
}
|
|
122448
|
-
async function $
|
|
122831
|
+
async function $do208(client, request, options) {
|
|
122449
122832
|
const parsed = safeParse4(request, (value) => ListPromptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
122450
122833
|
if (!parsed.ok) {
|
|
122451
122834
|
return [parsed, { status: "invalid" }];
|
|
@@ -122559,9 +122942,9 @@ Returns a paginated list of prompts owned by the authenticated user.`,
|
|
|
122559
122942
|
|
|
122560
122943
|
// src/funcs/llmPromptsListVersions.ts
|
|
122561
122944
|
function llmPromptsListVersions(client, request, options) {
|
|
122562
|
-
return new APIPromise($
|
|
122945
|
+
return new APIPromise($do209(client, request, options));
|
|
122563
122946
|
}
|
|
122564
|
-
async function $
|
|
122947
|
+
async function $do209(client, request, options) {
|
|
122565
122948
|
const parsed = safeParse4(request, (value) => ListPromptVersionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
122566
122949
|
if (!parsed.ok) {
|
|
122567
122950
|
return [parsed, { status: "invalid" }];
|
|
@@ -122680,9 +123063,9 @@ Returns the version history of a prompt, ordered by version number.`,
|
|
|
122680
123063
|
|
|
122681
123064
|
// src/funcs/llmPromptsRollback.ts
|
|
122682
123065
|
function llmPromptsRollback(client, request, options) {
|
|
122683
|
-
return new APIPromise($
|
|
123066
|
+
return new APIPromise($do210(client, request, options));
|
|
122684
123067
|
}
|
|
122685
|
-
async function $
|
|
123068
|
+
async function $do210(client, request, options) {
|
|
122686
123069
|
const parsed = safeParse4(request, (value) => RollbackPromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
122687
123070
|
if (!parsed.ok) {
|
|
122688
123071
|
return [parsed, { status: "invalid" }];
|
|
@@ -122797,9 +123180,9 @@ Sets the active version of a prompt to a previous version. This does not delete
|
|
|
122797
123180
|
|
|
122798
123181
|
// src/funcs/llmPromptsUpdate.ts
|
|
122799
123182
|
function llmPromptsUpdate(client, request, options) {
|
|
122800
|
-
return new APIPromise($
|
|
123183
|
+
return new APIPromise($do211(client, request, options));
|
|
122801
123184
|
}
|
|
122802
|
-
async function $
|
|
123185
|
+
async function $do211(client, request, options) {
|
|
122803
123186
|
const parsed = safeParse4(request, (value) => UpdatePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
122804
123187
|
if (!parsed.ok) {
|
|
122805
123188
|
return [parsed, { status: "invalid" }];
|
|
@@ -122914,9 +123297,9 @@ Updates prompt metadata. To update the template content, create a new version in
|
|
|
122914
123297
|
|
|
122915
123298
|
// src/funcs/llmResponsesCancel.ts
|
|
122916
123299
|
function llmResponsesCancel(client, request, options) {
|
|
122917
|
-
return new APIPromise($
|
|
123300
|
+
return new APIPromise($do212(client, request, options));
|
|
122918
123301
|
}
|
|
122919
|
-
async function $
|
|
123302
|
+
async function $do212(client, request, options) {
|
|
122920
123303
|
const parsed = safeParse4(request, (value) => CancelResponseRequest$outboundSchema.parse(value), "Input validation failed");
|
|
122921
123304
|
if (!parsed.ok) {
|
|
122922
123305
|
return [parsed, { status: "invalid" }];
|
|
@@ -123030,9 +123413,9 @@ Cancels an agent response that is currently processing in the background.`,
|
|
|
123030
123413
|
|
|
123031
123414
|
// src/funcs/llmResponsesCompact.ts
|
|
123032
123415
|
function llmResponsesCompact(client, request, options) {
|
|
123033
|
-
return new APIPromise($
|
|
123416
|
+
return new APIPromise($do213(client, request, options));
|
|
123034
123417
|
}
|
|
123035
|
-
async function $
|
|
123418
|
+
async function $do213(client, request, options) {
|
|
123036
123419
|
const parsed = safeParse4(request, (value) => CompactResponseRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
123037
123420
|
if (!parsed.ok) {
|
|
123038
123421
|
return [parsed, { status: "invalid" }];
|
|
@@ -123143,9 +123526,9 @@ Creates a compacted summary of the conversation history for a response, reducing
|
|
|
123143
123526
|
|
|
123144
123527
|
// src/funcs/llmResponsesCreate.ts
|
|
123145
123528
|
function llmResponsesCreate(client, request, options) {
|
|
123146
|
-
return new APIPromise($
|
|
123529
|
+
return new APIPromise($do214(client, request, options));
|
|
123147
123530
|
}
|
|
123148
|
-
async function $
|
|
123531
|
+
async function $do214(client, request, options) {
|
|
123149
123532
|
const parsed = safeParse4(request, (value) => CreateResponseRequest$outboundSchema.parse(value), "Input validation failed");
|
|
123150
123533
|
if (!parsed.ok) {
|
|
123151
123534
|
return [parsed, { status: "invalid" }];
|
|
@@ -123255,9 +123638,9 @@ Creates a new AI agent response using advanced language models with autonomous t
|
|
|
123255
123638
|
|
|
123256
123639
|
// src/funcs/llmResponsesDelete.ts
|
|
123257
123640
|
function llmResponsesDelete(client, request, options) {
|
|
123258
|
-
return new APIPromise($
|
|
123641
|
+
return new APIPromise($do215(client, request, options));
|
|
123259
123642
|
}
|
|
123260
|
-
async function $
|
|
123643
|
+
async function $do215(client, request, options) {
|
|
123261
123644
|
const parsed = safeParse4(request, (value) => DeleteResponseRequest$outboundSchema.parse(value), "Input validation failed");
|
|
123262
123645
|
if (!parsed.ok) {
|
|
123263
123646
|
return [parsed, { status: "invalid" }];
|
|
@@ -123371,9 +123754,9 @@ Permanently deletes an agent response and all associated data.`,
|
|
|
123371
123754
|
|
|
123372
123755
|
// src/funcs/llmResponsesGet.ts
|
|
123373
123756
|
function llmResponsesGet(client, request, options) {
|
|
123374
|
-
return new APIPromise($
|
|
123757
|
+
return new APIPromise($do216(client, request, options));
|
|
123375
123758
|
}
|
|
123376
|
-
async function $
|
|
123759
|
+
async function $do216(client, request, options) {
|
|
123377
123760
|
const parsed = safeParse4(request, (value) => GetResponseRequest$outboundSchema.parse(value), "Input validation failed");
|
|
123378
123761
|
if (!parsed.ok) {
|
|
123379
123762
|
return [parsed, { status: "invalid" }];
|
|
@@ -123493,9 +123876,9 @@ Retrieves a previously created agent response by its unique ID. When stream=true
|
|
|
123493
123876
|
|
|
123494
123877
|
// src/funcs/llmResponsesList.ts
|
|
123495
123878
|
function llmResponsesList(client, request, options) {
|
|
123496
|
-
return new APIPromise($
|
|
123879
|
+
return new APIPromise($do217(client, request, options));
|
|
123497
123880
|
}
|
|
123498
|
-
async function $
|
|
123881
|
+
async function $do217(client, request, options) {
|
|
123499
123882
|
const parsed = safeParse4(request, (value) => ListResponsesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
123500
123883
|
if (!parsed.ok) {
|
|
123501
123884
|
return [parsed, { status: "invalid" }];
|
|
@@ -123610,9 +123993,9 @@ Retrieves a paginated list of all agent responses for the authenticated user.`,
|
|
|
123610
123993
|
|
|
123611
123994
|
// src/funcs/llmResponsesListInputItems.ts
|
|
123612
123995
|
function llmResponsesListInputItems(client, request, options) {
|
|
123613
|
-
return new APIPromise($
|
|
123996
|
+
return new APIPromise($do218(client, request, options));
|
|
123614
123997
|
}
|
|
123615
|
-
async function $
|
|
123998
|
+
async function $do218(client, request, options) {
|
|
123616
123999
|
const parsed = safeParse4(request, (value) => ListInputItemsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
123617
124000
|
if (!parsed.ok) {
|
|
123618
124001
|
return [parsed, { status: "invalid" }];
|
|
@@ -123733,9 +124116,9 @@ Retrieves a paginated list of all input items provided when creating the specifi
|
|
|
123733
124116
|
|
|
123734
124117
|
// src/funcs/llmResponsesUpdate.ts
|
|
123735
124118
|
function llmResponsesUpdate(client, request, options) {
|
|
123736
|
-
return new APIPromise($
|
|
124119
|
+
return new APIPromise($do219(client, request, options));
|
|
123737
124120
|
}
|
|
123738
|
-
async function $
|
|
124121
|
+
async function $do219(client, request, options) {
|
|
123739
124122
|
const parsed = safeParse4(request, (value) => UpdateResponseRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
123740
124123
|
if (!parsed.ok) {
|
|
123741
124124
|
return [parsed, { status: "invalid" }];
|
|
@@ -123852,9 +124235,9 @@ Update a response's metadata.`,
|
|
|
123852
124235
|
|
|
123853
124236
|
// src/funcs/llmResponsesWake.ts
|
|
123854
124237
|
function llmResponsesWake(client, request, options) {
|
|
123855
|
-
return new APIPromise($
|
|
124238
|
+
return new APIPromise($do220(client, request, options));
|
|
123856
124239
|
}
|
|
123857
|
-
async function $
|
|
124240
|
+
async function $do220(client, request, options) {
|
|
123858
124241
|
const parsed = safeParse4(request, (value) => WakeResponseRequest$outboundSchema.parse(value), "Input validation failed");
|
|
123859
124242
|
if (!parsed.ok) {
|
|
123860
124243
|
return [parsed, { status: "invalid" }];
|
|
@@ -123968,9 +124351,9 @@ Interrupts a short sleep tool call on an in-progress background response by prov
|
|
|
123968
124351
|
|
|
123969
124352
|
// src/funcs/llmSkillsContent.ts
|
|
123970
124353
|
function llmSkillsContent(client, request, options) {
|
|
123971
|
-
return new APIPromise($
|
|
124354
|
+
return new APIPromise($do221(client, request, options));
|
|
123972
124355
|
}
|
|
123973
|
-
async function $
|
|
124356
|
+
async function $do221(client, request, options) {
|
|
123974
124357
|
const parsed = safeParse4(request, (value) => GetSkillContentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
123975
124358
|
if (!parsed.ok) {
|
|
123976
124359
|
return [parsed, { status: "invalid" }];
|
|
@@ -124086,9 +124469,9 @@ Download the zip bundle for a skill's default version.`,
|
|
|
124086
124469
|
|
|
124087
124470
|
// src/funcs/llmSkillsCreate.ts
|
|
124088
124471
|
function llmSkillsCreate(client, request, options) {
|
|
124089
|
-
return new APIPromise($
|
|
124472
|
+
return new APIPromise($do222(client, request, options));
|
|
124090
124473
|
}
|
|
124091
|
-
async function $
|
|
124474
|
+
async function $do222(client, request, options) {
|
|
124092
124475
|
const parsed = safeParse4(request, (value) => CreateSkillRequest$outboundSchema.parse(value), "Input validation failed");
|
|
124093
124476
|
if (!parsed.ok) {
|
|
124094
124477
|
return [parsed, { status: "invalid" }];
|
|
@@ -124214,9 +124597,9 @@ Create a new skill by uploading files. The uploaded files must include a SKILL.m
|
|
|
124214
124597
|
|
|
124215
124598
|
// src/funcs/llmSkillsCreateVersion.ts
|
|
124216
124599
|
function llmSkillsCreateVersion(client, request, options) {
|
|
124217
|
-
return new APIPromise($
|
|
124600
|
+
return new APIPromise($do223(client, request, options));
|
|
124218
124601
|
}
|
|
124219
|
-
async function $
|
|
124602
|
+
async function $do223(client, request, options) {
|
|
124220
124603
|
const parsed = safeParse4(request, (value) => CreateSkillVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
124221
124604
|
if (!parsed.ok) {
|
|
124222
124605
|
return [parsed, { status: "invalid" }];
|
|
@@ -124351,9 +124734,9 @@ Create a new immutable version of a skill by uploading files. The uploaded files
|
|
|
124351
124734
|
|
|
124352
124735
|
// src/funcs/llmSkillsDelete.ts
|
|
124353
124736
|
function llmSkillsDelete(client, request, options) {
|
|
124354
|
-
return new APIPromise($
|
|
124737
|
+
return new APIPromise($do224(client, request, options));
|
|
124355
124738
|
}
|
|
124356
|
-
async function $
|
|
124739
|
+
async function $do224(client, request, options) {
|
|
124357
124740
|
const parsed = safeParse4(request, (value) => DeleteSkillRequest$outboundSchema.parse(value), "Input validation failed");
|
|
124358
124741
|
if (!parsed.ok) {
|
|
124359
124742
|
return [parsed, { status: "invalid" }];
|
|
@@ -124467,9 +124850,9 @@ Delete a skill and all its versions.`,
|
|
|
124467
124850
|
|
|
124468
124851
|
// src/funcs/llmSkillsDeleteVersion.ts
|
|
124469
124852
|
function llmSkillsDeleteVersion(client, request, options) {
|
|
124470
|
-
return new APIPromise($
|
|
124853
|
+
return new APIPromise($do225(client, request, options));
|
|
124471
124854
|
}
|
|
124472
|
-
async function $
|
|
124855
|
+
async function $do225(client, request, options) {
|
|
124473
124856
|
const parsed = safeParse4(request, (value) => DeleteSkillVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
124474
124857
|
if (!parsed.ok) {
|
|
124475
124858
|
return [parsed, { status: "invalid" }];
|
|
@@ -124587,9 +124970,9 @@ Delete a specific version of a skill.`,
|
|
|
124587
124970
|
|
|
124588
124971
|
// src/funcs/llmSkillsGet.ts
|
|
124589
124972
|
function llmSkillsGet(client, request, options) {
|
|
124590
|
-
return new APIPromise($
|
|
124973
|
+
return new APIPromise($do226(client, request, options));
|
|
124591
124974
|
}
|
|
124592
|
-
async function $
|
|
124975
|
+
async function $do226(client, request, options) {
|
|
124593
124976
|
const parsed = safeParse4(request, (value) => GetSkillRequest$outboundSchema.parse(value), "Input validation failed");
|
|
124594
124977
|
if (!parsed.ok) {
|
|
124595
124978
|
return [parsed, { status: "invalid" }];
|
|
@@ -124703,9 +125086,9 @@ Returns information about a specific skill.`,
|
|
|
124703
125086
|
|
|
124704
125087
|
// src/funcs/llmSkillsGetVersion.ts
|
|
124705
125088
|
function llmSkillsGetVersion(client, request, options) {
|
|
124706
|
-
return new APIPromise($
|
|
125089
|
+
return new APIPromise($do227(client, request, options));
|
|
124707
125090
|
}
|
|
124708
|
-
async function $
|
|
125091
|
+
async function $do227(client, request, options) {
|
|
124709
125092
|
const parsed = safeParse4(request, (value) => GetSkillVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
124710
125093
|
if (!parsed.ok) {
|
|
124711
125094
|
return [parsed, { status: "invalid" }];
|
|
@@ -124823,9 +125206,9 @@ Returns information about a specific skill version.`,
|
|
|
124823
125206
|
|
|
124824
125207
|
// src/funcs/llmSkillsList.ts
|
|
124825
125208
|
function llmSkillsList(client, request, options) {
|
|
124826
|
-
return new APIPromise($
|
|
125209
|
+
return new APIPromise($do228(client, request, options));
|
|
124827
125210
|
}
|
|
124828
|
-
async function $
|
|
125211
|
+
async function $do228(client, request, options) {
|
|
124829
125212
|
const parsed = safeParse4(request, (value) => ListSkillsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
124830
125213
|
if (!parsed.ok) {
|
|
124831
125214
|
return [parsed, { status: "invalid" }];
|
|
@@ -124939,9 +125322,9 @@ Returns a paginated list of skills.`,
|
|
|
124939
125322
|
|
|
124940
125323
|
// src/funcs/llmSkillsListPreconfigured.ts
|
|
124941
125324
|
function llmSkillsListPreconfigured(client, request, options) {
|
|
124942
|
-
return new APIPromise($
|
|
125325
|
+
return new APIPromise($do229(client, request, options));
|
|
124943
125326
|
}
|
|
124944
|
-
async function $
|
|
125327
|
+
async function $do229(client, request, options) {
|
|
124945
125328
|
const parsed = safeParse4(request, (value) => ListPreconfiguredSkillsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
124946
125329
|
if (!parsed.ok) {
|
|
124947
125330
|
return [parsed, { status: "invalid" }];
|
|
@@ -125049,9 +125432,9 @@ Returns the list of preconfigured skills that ship with the gateway. These can b
|
|
|
125049
125432
|
|
|
125050
125433
|
// src/funcs/llmSkillsListVersions.ts
|
|
125051
125434
|
function llmSkillsListVersions(client, request, options) {
|
|
125052
|
-
return new APIPromise($
|
|
125435
|
+
return new APIPromise($do230(client, request, options));
|
|
125053
125436
|
}
|
|
125054
|
-
async function $
|
|
125437
|
+
async function $do230(client, request, options) {
|
|
125055
125438
|
const parsed = safeParse4(request, (value) => ListSkillVersionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125056
125439
|
if (!parsed.ok) {
|
|
125057
125440
|
return [parsed, { status: "invalid" }];
|
|
@@ -125171,9 +125554,9 @@ Returns a paginated list of versions for a skill.`,
|
|
|
125171
125554
|
|
|
125172
125555
|
// src/funcs/llmSkillsUpdate.ts
|
|
125173
125556
|
function llmSkillsUpdate(client, request, options) {
|
|
125174
|
-
return new APIPromise($
|
|
125557
|
+
return new APIPromise($do231(client, request, options));
|
|
125175
125558
|
}
|
|
125176
|
-
async function $
|
|
125559
|
+
async function $do231(client, request, options) {
|
|
125177
125560
|
const parsed = safeParse4(request, (value) => UpdateSkillRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125178
125561
|
if (!parsed.ok) {
|
|
125179
125562
|
return [parsed, { status: "invalid" }];
|
|
@@ -125290,9 +125673,9 @@ Update the default version pointer for a skill.`,
|
|
|
125290
125673
|
|
|
125291
125674
|
// src/funcs/llmSkillsVersionContent.ts
|
|
125292
125675
|
function llmSkillsVersionContent(client, request, options) {
|
|
125293
|
-
return new APIPromise($
|
|
125676
|
+
return new APIPromise($do232(client, request, options));
|
|
125294
125677
|
}
|
|
125295
|
-
async function $
|
|
125678
|
+
async function $do232(client, request, options) {
|
|
125296
125679
|
const parsed = safeParse4(request, (value) => GetSkillVersionContentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125297
125680
|
if (!parsed.ok) {
|
|
125298
125681
|
return [parsed, { status: "invalid" }];
|
|
@@ -125412,9 +125795,9 @@ Download the zip bundle for a specific skill version.`,
|
|
|
125412
125795
|
|
|
125413
125796
|
// src/funcs/llmSpeechDeleteTranscriptionHistory.ts
|
|
125414
125797
|
function llmSpeechDeleteTranscriptionHistory(client, request, options) {
|
|
125415
|
-
return new APIPromise($
|
|
125798
|
+
return new APIPromise($do233(client, request, options));
|
|
125416
125799
|
}
|
|
125417
|
-
async function $
|
|
125800
|
+
async function $do233(client, request, options) {
|
|
125418
125801
|
const parsed = safeParse4(request, (value) => DeleteSpeechToTextHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125419
125802
|
if (!parsed.ok) {
|
|
125420
125803
|
return [parsed, { status: "invalid" }];
|
|
@@ -125528,9 +125911,9 @@ Deletes a stored transcription. The audio blob is content-addressed and may be s
|
|
|
125528
125911
|
|
|
125529
125912
|
// src/funcs/llmSpeechDeleteTtsHistory.ts
|
|
125530
125913
|
function llmSpeechDeleteTtsHistory(client, request, options) {
|
|
125531
|
-
return new APIPromise($
|
|
125914
|
+
return new APIPromise($do234(client, request, options));
|
|
125532
125915
|
}
|
|
125533
|
-
async function $
|
|
125916
|
+
async function $do234(client, request, options) {
|
|
125534
125917
|
const parsed = safeParse4(request, (value) => DeleteTextToSpeechHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125535
125918
|
if (!parsed.ok) {
|
|
125536
125919
|
return [parsed, { status: "invalid" }];
|
|
@@ -125644,9 +126027,9 @@ Deletes a stored text-to-speech generation. The audio blob is content-addressed
|
|
|
125644
126027
|
|
|
125645
126028
|
// src/funcs/llmSpeechGetTranscriptionHistory.ts
|
|
125646
126029
|
function llmSpeechGetTranscriptionHistory(client, request, options) {
|
|
125647
|
-
return new APIPromise($
|
|
126030
|
+
return new APIPromise($do235(client, request, options));
|
|
125648
126031
|
}
|
|
125649
|
-
async function $
|
|
126032
|
+
async function $do235(client, request, options) {
|
|
125650
126033
|
const parsed = safeParse4(request, (value) => GetSpeechToTextHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125651
126034
|
if (!parsed.ok) {
|
|
125652
126035
|
return [parsed, { status: "invalid" }];
|
|
@@ -125760,9 +126143,9 @@ Returns metadata for a stored transcription.`,
|
|
|
125760
126143
|
|
|
125761
126144
|
// src/funcs/llmSpeechGetTranscriptionHistoryContent.ts
|
|
125762
126145
|
function llmSpeechGetTranscriptionHistoryContent(client, request, options) {
|
|
125763
|
-
return new APIPromise($
|
|
126146
|
+
return new APIPromise($do236(client, request, options));
|
|
125764
126147
|
}
|
|
125765
|
-
async function $
|
|
126148
|
+
async function $do236(client, request, options) {
|
|
125766
126149
|
const parsed = safeParse4(request, (value) => GetSpeechToTextHistoryContentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125767
126150
|
if (!parsed.ok) {
|
|
125768
126151
|
return [parsed, { status: "invalid" }];
|
|
@@ -125876,9 +126259,9 @@ Returns the stored input audio for a transcription as a binary response.`,
|
|
|
125876
126259
|
|
|
125877
126260
|
// src/funcs/llmSpeechGetTtsHistory.ts
|
|
125878
126261
|
function llmSpeechGetTtsHistory(client, request, options) {
|
|
125879
|
-
return new APIPromise($
|
|
126262
|
+
return new APIPromise($do237(client, request, options));
|
|
125880
126263
|
}
|
|
125881
|
-
async function $
|
|
126264
|
+
async function $do237(client, request, options) {
|
|
125882
126265
|
const parsed = safeParse4(request, (value) => GetTextToSpeechHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125883
126266
|
if (!parsed.ok) {
|
|
125884
126267
|
return [parsed, { status: "invalid" }];
|
|
@@ -125992,9 +126375,9 @@ Returns metadata for a stored text-to-speech generation.`,
|
|
|
125992
126375
|
|
|
125993
126376
|
// src/funcs/llmSpeechGetTtsHistoryContent.ts
|
|
125994
126377
|
function llmSpeechGetTtsHistoryContent(client, request, options) {
|
|
125995
|
-
return new APIPromise($
|
|
126378
|
+
return new APIPromise($do238(client, request, options));
|
|
125996
126379
|
}
|
|
125997
|
-
async function $
|
|
126380
|
+
async function $do238(client, request, options) {
|
|
125998
126381
|
const parsed = safeParse4(request, (value) => GetTextToSpeechHistoryContentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
125999
126382
|
if (!parsed.ok) {
|
|
126000
126383
|
return [parsed, { status: "invalid" }];
|
|
@@ -126107,9 +126490,9 @@ Returns the stored audio for a text-to-speech generation as a binary response.`,
|
|
|
126107
126490
|
|
|
126108
126491
|
// src/funcs/llmSpeechListTranscriptionHistory.ts
|
|
126109
126492
|
function llmSpeechListTranscriptionHistory(client, request, options) {
|
|
126110
|
-
return new APIPromise($
|
|
126493
|
+
return new APIPromise($do239(client, request, options));
|
|
126111
126494
|
}
|
|
126112
|
-
async function $
|
|
126495
|
+
async function $do239(client, request, options) {
|
|
126113
126496
|
const parsed = safeParse4(request, (value) => ListSpeechToTextHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
126114
126497
|
if (!parsed.ok) {
|
|
126115
126498
|
return [parsed, { status: "invalid" }];
|
|
@@ -126224,9 +126607,9 @@ List stored transcriptions for the authenticated user, newest first by default.`
|
|
|
126224
126607
|
|
|
126225
126608
|
// src/funcs/llmSpeechListTtsHistory.ts
|
|
126226
126609
|
function llmSpeechListTtsHistory(client, request, options) {
|
|
126227
|
-
return new APIPromise($
|
|
126610
|
+
return new APIPromise($do240(client, request, options));
|
|
126228
126611
|
}
|
|
126229
|
-
async function $
|
|
126612
|
+
async function $do240(client, request, options) {
|
|
126230
126613
|
const parsed = safeParse4(request, (value) => ListTextToSpeechHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
126231
126614
|
if (!parsed.ok) {
|
|
126232
126615
|
return [parsed, { status: "invalid" }];
|
|
@@ -126341,9 +126724,9 @@ List stored text-to-speech generations for the authenticated user, newest first
|
|
|
126341
126724
|
|
|
126342
126725
|
// src/funcs/llmSpeechLivekitToken.ts
|
|
126343
126726
|
function llmSpeechLivekitToken(client, request, options) {
|
|
126344
|
-
return new APIPromise($
|
|
126727
|
+
return new APIPromise($do241(client, request, options));
|
|
126345
126728
|
}
|
|
126346
|
-
async function $
|
|
126729
|
+
async function $do241(client, request, options) {
|
|
126347
126730
|
const parsed = safeParse4(request, (value) => LivekitTokenRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
126348
126731
|
if (!parsed.ok) {
|
|
126349
126732
|
return [parsed, { status: "invalid" }];
|
|
@@ -126454,9 +126837,9 @@ Generates a LiveKit access token for joining a real-time voice room. The token i
|
|
|
126454
126837
|
|
|
126455
126838
|
// src/funcs/llmSpeechSpeak.ts
|
|
126456
126839
|
function llmSpeechSpeak(client, request, options) {
|
|
126457
|
-
return new APIPromise($
|
|
126840
|
+
return new APIPromise($do242(client, request, options));
|
|
126458
126841
|
}
|
|
126459
|
-
async function $
|
|
126842
|
+
async function $do242(client, request, options) {
|
|
126460
126843
|
const parsed = safeParse4(request, (value) => TextToSpeechRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
126461
126844
|
if (!parsed.ok) {
|
|
126462
126845
|
return [parsed, { status: "invalid" }];
|
|
@@ -126580,9 +126963,9 @@ Convert text to speech with automatic language detection.
|
|
|
126580
126963
|
|
|
126581
126964
|
// src/funcs/llmSpeechSpeakStreaming.ts
|
|
126582
126965
|
function llmSpeechSpeakStreaming(client, request, options) {
|
|
126583
|
-
return new APIPromise($
|
|
126966
|
+
return new APIPromise($do243(client, request, options));
|
|
126584
126967
|
}
|
|
126585
|
-
async function $
|
|
126968
|
+
async function $do243(client, request, options) {
|
|
126586
126969
|
const parsed = safeParse4(request, (value) => TextToSpeechStreamingRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
126587
126970
|
if (!parsed.ok) {
|
|
126588
126971
|
return [parsed, { status: "invalid" }];
|
|
@@ -126726,9 +127109,9 @@ Convert text to speech with real-time streaming audio delivery.
|
|
|
126726
127109
|
|
|
126727
127110
|
// src/funcs/llmSpeechTranscribe.ts
|
|
126728
127111
|
function llmSpeechTranscribe(client, request, options) {
|
|
126729
|
-
return new APIPromise($
|
|
127112
|
+
return new APIPromise($do244(client, request, options));
|
|
126730
127113
|
}
|
|
126731
|
-
async function $
|
|
127114
|
+
async function $do244(client, request, options) {
|
|
126732
127115
|
const parsed = safeParse4(request, (value) => TranscribeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
126733
127116
|
if (!parsed.ok) {
|
|
126734
127117
|
return [parsed, { status: "invalid" }];
|
|
@@ -126886,9 +127269,9 @@ curl -X POST "http://localhost:3000/api/v1/llm/speech/transcriptions?language=en
|
|
|
126886
127269
|
|
|
126887
127270
|
// src/funcs/llmUsageClassify.ts
|
|
126888
127271
|
function llmUsageClassify(client, request, options) {
|
|
126889
|
-
return new APIPromise($
|
|
127272
|
+
return new APIPromise($do245(client, request, options));
|
|
126890
127273
|
}
|
|
126891
|
-
async function $
|
|
127274
|
+
async function $do245(client, request, options) {
|
|
126892
127275
|
const parsed = safeParse4(request, (value) => GetClassifyUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
126893
127276
|
if (!parsed.ok) {
|
|
126894
127277
|
return [parsed, { status: "invalid" }];
|
|
@@ -127009,9 +127392,9 @@ Retrieve usage metrics for classify operations.`,
|
|
|
127009
127392
|
|
|
127010
127393
|
// src/funcs/llmUsageCompletions.ts
|
|
127011
127394
|
function llmUsageCompletions(client, request, options) {
|
|
127012
|
-
return new APIPromise($
|
|
127395
|
+
return new APIPromise($do246(client, request, options));
|
|
127013
127396
|
}
|
|
127014
|
-
async function $
|
|
127397
|
+
async function $do246(client, request, options) {
|
|
127015
127398
|
const parsed = safeParse4(request, (value) => GetCompletionsUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
127016
127399
|
if (!parsed.ok) {
|
|
127017
127400
|
return [parsed, { status: "invalid" }];
|
|
@@ -127132,9 +127515,9 @@ Retrieve usage metrics for chat completions, aggregated from the ChatCompletion
|
|
|
127132
127515
|
|
|
127133
127516
|
// src/funcs/llmUsageConversations.ts
|
|
127134
127517
|
function llmUsageConversations(client, request, options) {
|
|
127135
|
-
return new APIPromise($
|
|
127518
|
+
return new APIPromise($do247(client, request, options));
|
|
127136
127519
|
}
|
|
127137
|
-
async function $
|
|
127520
|
+
async function $do247(client, request, options) {
|
|
127138
127521
|
const parsed = safeParse4(request, (value) => GetConversationsUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
127139
127522
|
if (!parsed.ok) {
|
|
127140
127523
|
return [parsed, { status: "invalid" }];
|
|
@@ -127254,9 +127637,9 @@ Retrieve usage metrics for conversation operations.`,
|
|
|
127254
127637
|
|
|
127255
127638
|
// src/funcs/llmUsageCosts.ts
|
|
127256
127639
|
function llmUsageCosts(client, request, options) {
|
|
127257
|
-
return new APIPromise($
|
|
127640
|
+
return new APIPromise($do248(client, request, options));
|
|
127258
127641
|
}
|
|
127259
|
-
async function $
|
|
127642
|
+
async function $do248(client, request, options) {
|
|
127260
127643
|
const parsed = safeParse4(request, (value) => GetCostsUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
127261
127644
|
if (!parsed.ok) {
|
|
127262
127645
|
return [parsed, { status: "invalid" }];
|
|
@@ -127371,9 +127754,9 @@ Aggregates spend by model over a time range, priced in the cluster currency from
|
|
|
127371
127754
|
|
|
127372
127755
|
// src/funcs/llmUsageEmbeddings.ts
|
|
127373
127756
|
function llmUsageEmbeddings(client, request, options) {
|
|
127374
|
-
return new APIPromise($
|
|
127757
|
+
return new APIPromise($do249(client, request, options));
|
|
127375
127758
|
}
|
|
127376
|
-
async function $
|
|
127759
|
+
async function $do249(client, request, options) {
|
|
127377
127760
|
const parsed = safeParse4(request, (value) => GetEmbeddingsUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
127378
127761
|
if (!parsed.ok) {
|
|
127379
127762
|
return [parsed, { status: "invalid" }];
|
|
@@ -127494,9 +127877,9 @@ Retrieve usage metrics for embedding operations.`,
|
|
|
127494
127877
|
|
|
127495
127878
|
// src/funcs/llmUsageExtract.ts
|
|
127496
127879
|
function llmUsageExtract(client, request, options) {
|
|
127497
|
-
return new APIPromise($
|
|
127880
|
+
return new APIPromise($do250(client, request, options));
|
|
127498
127881
|
}
|
|
127499
|
-
async function $
|
|
127882
|
+
async function $do250(client, request, options) {
|
|
127500
127883
|
const parsed = safeParse4(request, (value) => GetExtractUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
127501
127884
|
if (!parsed.ok) {
|
|
127502
127885
|
return [parsed, { status: "invalid" }];
|
|
@@ -127617,9 +128000,9 @@ Retrieve usage metrics for extract operations.`,
|
|
|
127617
128000
|
|
|
127618
128001
|
// src/funcs/llmUsageFiles.ts
|
|
127619
128002
|
function llmUsageFiles(client, request, options) {
|
|
127620
|
-
return new APIPromise($
|
|
128003
|
+
return new APIPromise($do251(client, request, options));
|
|
127621
128004
|
}
|
|
127622
|
-
async function $
|
|
128005
|
+
async function $do251(client, request, options) {
|
|
127623
128006
|
const parsed = safeParse4(request, (value) => GetFilesUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
127624
128007
|
if (!parsed.ok) {
|
|
127625
128008
|
return [parsed, { status: "invalid" }];
|
|
@@ -127739,9 +128122,9 @@ Retrieve bytes of files created per period from durable file creation events. Th
|
|
|
127739
128122
|
|
|
127740
128123
|
// src/funcs/llmUsageResponses.ts
|
|
127741
128124
|
function llmUsageResponses(client, request, options) {
|
|
127742
|
-
return new APIPromise($
|
|
128125
|
+
return new APIPromise($do252(client, request, options));
|
|
127743
128126
|
}
|
|
127744
|
-
async function $
|
|
128127
|
+
async function $do252(client, request, options) {
|
|
127745
128128
|
const parsed = safeParse4(request, (value) => GetResponsesUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
127746
128129
|
if (!parsed.ok) {
|
|
127747
128130
|
return [parsed, { status: "invalid" }];
|
|
@@ -127863,9 +128246,9 @@ Retrieve usage metrics for agent responses, aggregated from the Response table.`
|
|
|
127863
128246
|
|
|
127864
128247
|
// src/funcs/llmUsageVectorStores.ts
|
|
127865
128248
|
function llmUsageVectorStores(client, request, options) {
|
|
127866
|
-
return new APIPromise($
|
|
128249
|
+
return new APIPromise($do253(client, request, options));
|
|
127867
128250
|
}
|
|
127868
|
-
async function $
|
|
128251
|
+
async function $do253(client, request, options) {
|
|
127869
128252
|
const parsed = safeParse4(request, (value) => GetVectorStoresUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
127870
128253
|
if (!parsed.ok) {
|
|
127871
128254
|
return [parsed, { status: "invalid" }];
|
|
@@ -127985,9 +128368,9 @@ Retrieve usage metrics for vector storage operations.`,
|
|
|
127985
128368
|
|
|
127986
128369
|
// src/funcs/llmVectorStoresCancelFileBatch.ts
|
|
127987
128370
|
function llmVectorStoresCancelFileBatch(client, request, options) {
|
|
127988
|
-
return new APIPromise($
|
|
128371
|
+
return new APIPromise($do254(client, request, options));
|
|
127989
128372
|
}
|
|
127990
|
-
async function $
|
|
128373
|
+
async function $do254(client, request, options) {
|
|
127991
128374
|
const parsed = safeParse4(request, (value) => CancelVectorStoreFileBatchRequest$outboundSchema.parse(value), "Input validation failed");
|
|
127992
128375
|
if (!parsed.ok) {
|
|
127993
128376
|
return [parsed, { status: "invalid" }];
|
|
@@ -128105,9 +128488,9 @@ Cancels an in-progress file batch operation.`,
|
|
|
128105
128488
|
|
|
128106
128489
|
// src/funcs/llmVectorStoresCreate.ts
|
|
128107
128490
|
function llmVectorStoresCreate(client, request, options) {
|
|
128108
|
-
return new APIPromise($
|
|
128491
|
+
return new APIPromise($do255(client, request, options));
|
|
128109
128492
|
}
|
|
128110
|
-
async function $
|
|
128493
|
+
async function $do255(client, request, options) {
|
|
128111
128494
|
const parsed = safeParse4(request, (value) => CreateVectorStoreRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
128112
128495
|
if (!parsed.ok) {
|
|
128113
128496
|
return [parsed, { status: "invalid" }];
|
|
@@ -128218,9 +128601,9 @@ Creates a new vector store for storing and searching through document embeddings
|
|
|
128218
128601
|
|
|
128219
128602
|
// src/funcs/llmVectorStoresCreateFile.ts
|
|
128220
128603
|
function llmVectorStoresCreateFile(client, request, options) {
|
|
128221
|
-
return new APIPromise($
|
|
128604
|
+
return new APIPromise($do256(client, request, options));
|
|
128222
128605
|
}
|
|
128223
|
-
async function $
|
|
128606
|
+
async function $do256(client, request, options) {
|
|
128224
128607
|
const parsed = safeParse4(request, (value) => CreateVectorStoreFileRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
128225
128608
|
if (!parsed.ok) {
|
|
128226
128609
|
return [parsed, { status: "invalid" }];
|
|
@@ -128337,9 +128720,9 @@ Adds a file to a vector store for semantic search indexing.`,
|
|
|
128337
128720
|
|
|
128338
128721
|
// src/funcs/llmVectorStoresCreateFileBatch.ts
|
|
128339
128722
|
function llmVectorStoresCreateFileBatch(client, request, options) {
|
|
128340
|
-
return new APIPromise($
|
|
128723
|
+
return new APIPromise($do257(client, request, options));
|
|
128341
128724
|
}
|
|
128342
|
-
async function $
|
|
128725
|
+
async function $do257(client, request, options) {
|
|
128343
128726
|
const parsed = safeParse4(request, (value) => CreateVectorStoreFileBatchRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
128344
128727
|
if (!parsed.ok) {
|
|
128345
128728
|
return [parsed, { status: "invalid" }];
|
|
@@ -128456,9 +128839,9 @@ Adds multiple files to a vector store in a single batch operation.`,
|
|
|
128456
128839
|
|
|
128457
128840
|
// src/funcs/llmVectorStoresDelete.ts
|
|
128458
128841
|
function llmVectorStoresDelete(client, request, options) {
|
|
128459
|
-
return new APIPromise($
|
|
128842
|
+
return new APIPromise($do258(client, request, options));
|
|
128460
128843
|
}
|
|
128461
|
-
async function $
|
|
128844
|
+
async function $do258(client, request, options) {
|
|
128462
128845
|
const parsed = safeParse4(request, (value) => DeleteVectorStoreRequest$outboundSchema.parse(value), "Input validation failed");
|
|
128463
128846
|
if (!parsed.ok) {
|
|
128464
128847
|
return [parsed, { status: "invalid" }];
|
|
@@ -128572,9 +128955,9 @@ Permanently deletes a vector store and its associated embeddings.`,
|
|
|
128572
128955
|
|
|
128573
128956
|
// src/funcs/llmVectorStoresDeleteFile.ts
|
|
128574
128957
|
function llmVectorStoresDeleteFile(client, request, options) {
|
|
128575
|
-
return new APIPromise($
|
|
128958
|
+
return new APIPromise($do259(client, request, options));
|
|
128576
128959
|
}
|
|
128577
|
-
async function $
|
|
128960
|
+
async function $do259(client, request, options) {
|
|
128578
128961
|
const parsed = safeParse4(request, (value) => DeleteVectorStoreFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
128579
128962
|
if (!parsed.ok) {
|
|
128580
128963
|
return [parsed, { status: "invalid" }];
|
|
@@ -128692,9 +129075,9 @@ Removes a file from a vector store and deletes its associated embeddings.`,
|
|
|
128692
129075
|
|
|
128693
129076
|
// src/funcs/llmVectorStoresGet.ts
|
|
128694
129077
|
function llmVectorStoresGet(client, request, options) {
|
|
128695
|
-
return new APIPromise($
|
|
129078
|
+
return new APIPromise($do260(client, request, options));
|
|
128696
129079
|
}
|
|
128697
|
-
async function $
|
|
129080
|
+
async function $do260(client, request, options) {
|
|
128698
129081
|
const parsed = safeParse4(request, (value) => GetVectorStoreRequest$outboundSchema.parse(value), "Input validation failed");
|
|
128699
129082
|
if (!parsed.ok) {
|
|
128700
129083
|
return [parsed, { status: "invalid" }];
|
|
@@ -128808,9 +129191,9 @@ Retrieves a vector store by its ID.`,
|
|
|
128808
129191
|
|
|
128809
129192
|
// src/funcs/llmVectorStoresGetFile.ts
|
|
128810
129193
|
function llmVectorStoresGetFile(client, request, options) {
|
|
128811
|
-
return new APIPromise($
|
|
129194
|
+
return new APIPromise($do261(client, request, options));
|
|
128812
129195
|
}
|
|
128813
|
-
async function $
|
|
129196
|
+
async function $do261(client, request, options) {
|
|
128814
129197
|
const parsed = safeParse4(request, (value) => GetVectorStoreFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
128815
129198
|
if (!parsed.ok) {
|
|
128816
129199
|
return [parsed, { status: "invalid" }];
|
|
@@ -128928,9 +129311,9 @@ Retrieves detailed information about a specific file within a vector store.`,
|
|
|
128928
129311
|
|
|
128929
129312
|
// src/funcs/llmVectorStoresGetFileBatch.ts
|
|
128930
129313
|
function llmVectorStoresGetFileBatch(client, request, options) {
|
|
128931
|
-
return new APIPromise($
|
|
129314
|
+
return new APIPromise($do262(client, request, options));
|
|
128932
129315
|
}
|
|
128933
|
-
async function $
|
|
129316
|
+
async function $do262(client, request, options) {
|
|
128934
129317
|
const parsed = safeParse4(request, (value) => GetVectorStoreFileBatchRequest$outboundSchema.parse(value), "Input validation failed");
|
|
128935
129318
|
if (!parsed.ok) {
|
|
128936
129319
|
return [parsed, { status: "invalid" }];
|
|
@@ -129048,9 +129431,9 @@ Retrieves the status of a specific file batch operation within a vector store.`,
|
|
|
129048
129431
|
|
|
129049
129432
|
// src/funcs/llmVectorStoresGetFileContent.ts
|
|
129050
129433
|
function llmVectorStoresGetFileContent(client, request, options) {
|
|
129051
|
-
return new APIPromise($
|
|
129434
|
+
return new APIPromise($do263(client, request, options));
|
|
129052
129435
|
}
|
|
129053
|
-
async function $
|
|
129436
|
+
async function $do263(client, request, options) {
|
|
129054
129437
|
const parsed = safeParse4(request, (value) => GetVectorStoreFileContentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
129055
129438
|
if (!parsed.ok) {
|
|
129056
129439
|
return [parsed, { status: "invalid" }];
|
|
@@ -129168,9 +129551,9 @@ Retrieves the complete parsed contents of a file within a vector store.`,
|
|
|
129168
129551
|
|
|
129169
129552
|
// src/funcs/llmVectorStoresList.ts
|
|
129170
129553
|
function llmVectorStoresList(client, request, options) {
|
|
129171
|
-
return new APIPromise($
|
|
129554
|
+
return new APIPromise($do264(client, request, options));
|
|
129172
129555
|
}
|
|
129173
|
-
async function $
|
|
129556
|
+
async function $do264(client, request, options) {
|
|
129174
129557
|
const parsed = safeParse4(request, (value) => ListVectorStoresRequest$outboundSchema.parse(value), "Input validation failed");
|
|
129175
129558
|
if (!parsed.ok) {
|
|
129176
129559
|
return [parsed, { status: "invalid" }];
|
|
@@ -129285,9 +129668,9 @@ Retrieves a paginated list of all vector stores for the authenticated user.`,
|
|
|
129285
129668
|
|
|
129286
129669
|
// src/funcs/llmVectorStoresListFiles.ts
|
|
129287
129670
|
function llmVectorStoresListFiles(client, request, options) {
|
|
129288
|
-
return new APIPromise($
|
|
129671
|
+
return new APIPromise($do265(client, request, options));
|
|
129289
129672
|
}
|
|
129290
|
-
async function $
|
|
129673
|
+
async function $do265(client, request, options) {
|
|
129291
129674
|
const parsed = safeParse4(request, (value) => ListVectorStoreFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
129292
129675
|
if (!parsed.ok) {
|
|
129293
129676
|
return [parsed, { status: "invalid" }];
|
|
@@ -129409,9 +129792,9 @@ Retrieves a paginated list of all files in a specific vector store.`,
|
|
|
129409
129792
|
|
|
129410
129793
|
// src/funcs/llmVectorStoresListFilesInBatch.ts
|
|
129411
129794
|
function llmVectorStoresListFilesInBatch(client, request, options) {
|
|
129412
|
-
return new APIPromise($
|
|
129795
|
+
return new APIPromise($do266(client, request, options));
|
|
129413
129796
|
}
|
|
129414
|
-
async function $
|
|
129797
|
+
async function $do266(client, request, options) {
|
|
129415
129798
|
const parsed = safeParse4(request, (value) => ListVectorStoreFilesInBatchRequest$outboundSchema.parse(value), "Input validation failed");
|
|
129416
129799
|
if (!parsed.ok) {
|
|
129417
129800
|
return [parsed, { status: "invalid" }];
|
|
@@ -129537,9 +129920,9 @@ Retrieves a paginated list of all files within a specific batch operation.`,
|
|
|
129537
129920
|
|
|
129538
129921
|
// src/funcs/llmVectorStoresSearch.ts
|
|
129539
129922
|
function llmVectorStoresSearch(client, request, options) {
|
|
129540
|
-
return new APIPromise($
|
|
129923
|
+
return new APIPromise($do267(client, request, options));
|
|
129541
129924
|
}
|
|
129542
|
-
async function $
|
|
129925
|
+
async function $do267(client, request, options) {
|
|
129543
129926
|
const parsed = safeParse4(request, (value) => SearchVectorStoreRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
129544
129927
|
if (!parsed.ok) {
|
|
129545
129928
|
return [parsed, { status: "invalid" }];
|
|
@@ -129656,9 +130039,9 @@ Performs semantic search within a vector store to find the most relevant documen
|
|
|
129656
130039
|
|
|
129657
130040
|
// src/funcs/llmVectorStoresUpdate.ts
|
|
129658
130041
|
function llmVectorStoresUpdate(client, request, options) {
|
|
129659
|
-
return new APIPromise($
|
|
130042
|
+
return new APIPromise($do268(client, request, options));
|
|
129660
130043
|
}
|
|
129661
|
-
async function $
|
|
130044
|
+
async function $do268(client, request, options) {
|
|
129662
130045
|
const parsed = safeParse4(request, (value) => ModifyVectorStoreRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
129663
130046
|
if (!parsed.ok) {
|
|
129664
130047
|
return [parsed, { status: "invalid" }];
|
|
@@ -129775,9 +130158,9 @@ Updates the properties of an existing vector store.`,
|
|
|
129775
130158
|
|
|
129776
130159
|
// src/funcs/llmVectorStoresUpdateFile.ts
|
|
129777
130160
|
function llmVectorStoresUpdateFile(client, request, options) {
|
|
129778
|
-
return new APIPromise($
|
|
130161
|
+
return new APIPromise($do269(client, request, options));
|
|
129779
130162
|
}
|
|
129780
|
-
async function $
|
|
130163
|
+
async function $do269(client, request, options) {
|
|
129781
130164
|
const parsed = safeParse4(request, (value) => UpdateVectorStoreFileAttributesRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
129782
130165
|
if (!parsed.ok) {
|
|
129783
130166
|
return [parsed, { status: "invalid" }];
|
|
@@ -129896,9 +130279,9 @@ Updates the metadata attributes attached to a file within a vector store.`,
|
|
|
129896
130279
|
|
|
129897
130280
|
// src/funcs/permissionsLlmCheck.ts
|
|
129898
130281
|
function permissionsLlmCheck(client, request, options) {
|
|
129899
|
-
return new APIPromise($
|
|
130282
|
+
return new APIPromise($do270(client, request, options));
|
|
129900
130283
|
}
|
|
129901
|
-
async function $
|
|
130284
|
+
async function $do270(client, request, options) {
|
|
129902
130285
|
const parsed = safeParse4(request, (value) => LlmCheckRequest$outboundSchema.parse(value), "Input validation failed");
|
|
129903
130286
|
if (!parsed.ok) {
|
|
129904
130287
|
return [parsed, { status: "invalid" }];
|
|
@@ -130012,9 +130395,9 @@ Check whether the authenticated caller has a specific role on a resource.`,
|
|
|
130012
130395
|
|
|
130013
130396
|
// src/funcs/permissionsLlmGrant.ts
|
|
130014
130397
|
function permissionsLlmGrant(client, request, options) {
|
|
130015
|
-
return new APIPromise($
|
|
130398
|
+
return new APIPromise($do271(client, request, options));
|
|
130016
130399
|
}
|
|
130017
|
-
async function $
|
|
130400
|
+
async function $do271(client, request, options) {
|
|
130018
130401
|
const parsed = safeParse4(request, (value) => LlmGrantRequest$outboundSchema.parse(value), "Input validation failed");
|
|
130019
130402
|
if (!parsed.ok) {
|
|
130020
130403
|
return [parsed, { status: "invalid" }];
|
|
@@ -130124,9 +130507,9 @@ Grant a role to a user for a resource, or grant public access by using "*" as us
|
|
|
130124
130507
|
|
|
130125
130508
|
// src/funcs/permissionsLlmRevoke.ts
|
|
130126
130509
|
function permissionsLlmRevoke(client, request, options) {
|
|
130127
|
-
return new APIPromise($
|
|
130510
|
+
return new APIPromise($do272(client, request, options));
|
|
130128
130511
|
}
|
|
130129
|
-
async function $
|
|
130512
|
+
async function $do272(client, request, options) {
|
|
130130
130513
|
const parsed = safeParse4(request, (value) => LlmRevokeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
130131
130514
|
if (!parsed.ok) {
|
|
130132
130515
|
return [parsed, { status: "invalid" }];
|
|
@@ -130236,9 +130619,9 @@ Revoke a role from a user for a resource, or remove public access by using "*" a
|
|
|
130236
130619
|
|
|
130237
130620
|
// src/funcs/sandboxCreate.ts
|
|
130238
130621
|
function sandboxCreate(client, request, options) {
|
|
130239
|
-
return new APIPromise($
|
|
130622
|
+
return new APIPromise($do273(client, request, options));
|
|
130240
130623
|
}
|
|
130241
|
-
async function $
|
|
130624
|
+
async function $do273(client, request, options) {
|
|
130242
130625
|
const parsed = safeParse4(request, (value) => CreateSessionRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
130243
130626
|
if (!parsed.ok) {
|
|
130244
130627
|
return [parsed, { status: "invalid" }];
|
|
@@ -130353,9 +130736,9 @@ Create a sandbox session and return its public session metadata, session token,
|
|
|
130353
130736
|
|
|
130354
130737
|
// src/funcs/sandboxDownloadArchive.ts
|
|
130355
130738
|
function sandboxDownloadArchive(client, request, options) {
|
|
130356
|
-
return new APIPromise($
|
|
130739
|
+
return new APIPromise($do274(client, request, options));
|
|
130357
130740
|
}
|
|
130358
|
-
async function $
|
|
130741
|
+
async function $do274(client, request, options) {
|
|
130359
130742
|
const parsed = safeParse4(request, (value) => DownloadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
|
|
130360
130743
|
if (!parsed.ok) {
|
|
130361
130744
|
return [parsed, { status: "invalid" }];
|
|
@@ -130482,9 +130865,9 @@ Download a zip archive containing the selected workspace paths.`,
|
|
|
130482
130865
|
|
|
130483
130866
|
// src/funcs/sandboxDownloadFile.ts
|
|
130484
130867
|
function sandboxDownloadFile(client, request, options) {
|
|
130485
|
-
return new APIPromise($
|
|
130868
|
+
return new APIPromise($do275(client, request, options));
|
|
130486
130869
|
}
|
|
130487
|
-
async function $
|
|
130870
|
+
async function $do275(client, request, options) {
|
|
130488
130871
|
const parsed = safeParse4(request, (value) => DownloadWorkspaceFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
130489
130872
|
if (!parsed.ok) {
|
|
130490
130873
|
return [parsed, { status: "invalid" }];
|
|
@@ -130610,9 +130993,9 @@ Download raw bytes from a file in the session workspace.`,
|
|
|
130610
130993
|
|
|
130611
130994
|
// src/funcs/sandboxGet.ts
|
|
130612
130995
|
function sandboxGet(client, request, options) {
|
|
130613
|
-
return new APIPromise($
|
|
130996
|
+
return new APIPromise($do276(client, request, options));
|
|
130614
130997
|
}
|
|
130615
|
-
async function $
|
|
130998
|
+
async function $do276(client, request, options) {
|
|
130616
130999
|
const parsed = safeParse4(request, (value) => GetSessionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
130617
131000
|
if (!parsed.ok) {
|
|
130618
131001
|
return [parsed, { status: "invalid" }];
|
|
@@ -130730,9 +131113,9 @@ Return the current state, configuration, and resource allocation for a sandbox s
|
|
|
130730
131113
|
|
|
130731
131114
|
// src/funcs/sandboxGetBrowserUrl.ts
|
|
130732
131115
|
function sandboxGetBrowserUrl(client, request, options) {
|
|
130733
|
-
return new APIPromise($
|
|
131116
|
+
return new APIPromise($do277(client, request, options));
|
|
130734
131117
|
}
|
|
130735
|
-
async function $
|
|
131118
|
+
async function $do277(client, request, options) {
|
|
130736
131119
|
const parsed = safeParse4(request, (value) => GetBrowserSessionUrlRequest$outboundSchema.parse(value), "Input validation failed");
|
|
130737
131120
|
if (!parsed.ok) {
|
|
130738
131121
|
return [parsed, { status: "invalid" }];
|
|
@@ -130854,9 +131237,9 @@ Return the public gateway URL for a browser session's Chrome DevTools Protocol e
|
|
|
130854
131237
|
|
|
130855
131238
|
// src/funcs/sandboxGetPricing.ts
|
|
130856
131239
|
function sandboxGetPricing(client, options) {
|
|
130857
|
-
return new APIPromise($
|
|
131240
|
+
return new APIPromise($do278(client, options));
|
|
130858
131241
|
}
|
|
130859
|
-
async function $
|
|
131242
|
+
async function $do278(client, options) {
|
|
130860
131243
|
const path = pathToFunc("/api/v1/sandbox/pricing")();
|
|
130861
131244
|
const headers = new Headers(compactMap({
|
|
130862
131245
|
Accept: "application/json"
|
|
@@ -130948,9 +131331,9 @@ Current sandbox pricing rate card, keyed by SKU (\`standard\`, \`browser\`, \`ev
|
|
|
130948
131331
|
|
|
130949
131332
|
// src/funcs/sandboxGetWorkspace.ts
|
|
130950
131333
|
function sandboxGetWorkspace(client, request, options) {
|
|
130951
|
-
return new APIPromise($
|
|
131334
|
+
return new APIPromise($do279(client, request, options));
|
|
130952
131335
|
}
|
|
130953
|
-
async function $
|
|
131336
|
+
async function $do279(client, request, options) {
|
|
130954
131337
|
const parsed = safeParse4(request, (value) => GetWorkspaceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
130955
131338
|
if (!parsed.ok) {
|
|
130956
131339
|
return [parsed, { status: "invalid" }];
|
|
@@ -131072,9 +131455,9 @@ List files currently stored in the session workspace, including paths, sizes, an
|
|
|
131072
131455
|
|
|
131073
131456
|
// src/funcs/sandboxList.ts
|
|
131074
131457
|
function sandboxList(client, request, options) {
|
|
131075
|
-
return new APIPromise($
|
|
131458
|
+
return new APIPromise($do280(client, request, options));
|
|
131076
131459
|
}
|
|
131077
|
-
async function $
|
|
131460
|
+
async function $do280(client, request, options) {
|
|
131078
131461
|
const parsed = safeParse4(request, (value) => ListSessionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
131079
131462
|
if (!parsed.ok) {
|
|
131080
131463
|
return [parsed, { status: "invalid" }];
|
|
@@ -131187,9 +131570,9 @@ List sandbox sessions visible to the authenticated caller.`,
|
|
|
131187
131570
|
|
|
131188
131571
|
// src/funcs/sandboxProxyBrowserPortRequest.ts
|
|
131189
131572
|
function sandboxProxyBrowserPortRequest(client, request, options) {
|
|
131190
|
-
return new APIPromise($
|
|
131573
|
+
return new APIPromise($do281(client, request, options));
|
|
131191
131574
|
}
|
|
131192
|
-
async function $
|
|
131575
|
+
async function $do281(client, request, options) {
|
|
131193
131576
|
const parsed = safeParse4(request, (value) => ProxyBrowserPortRequestRequest$outboundSchema.parse(value), "Input validation failed");
|
|
131194
131577
|
if (!parsed.ok) {
|
|
131195
131578
|
return [parsed, { status: "invalid" }];
|
|
@@ -131319,9 +131702,9 @@ Proxy an HTTP request to an exposed browser-session port through the gateway. Us
|
|
|
131319
131702
|
|
|
131320
131703
|
// src/funcs/sandboxRunCode.ts
|
|
131321
131704
|
function sandboxRunCode(client, request, options) {
|
|
131322
|
-
return new APIPromise($
|
|
131705
|
+
return new APIPromise($do282(client, request, options));
|
|
131323
131706
|
}
|
|
131324
|
-
async function $
|
|
131707
|
+
async function $do282(client, request, options) {
|
|
131325
131708
|
const parsed = safeParse4(request, (value) => RunCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
131326
131709
|
if (!parsed.ok) {
|
|
131327
131710
|
return [parsed, { status: "invalid" }];
|
|
@@ -131440,9 +131823,9 @@ Execute source code in the session workspace using a supported runtime and retur
|
|
|
131440
131823
|
|
|
131441
131824
|
// src/funcs/sandboxRunCommand.ts
|
|
131442
131825
|
function sandboxRunCommand(client, request, options) {
|
|
131443
|
-
return new APIPromise($
|
|
131826
|
+
return new APIPromise($do283(client, request, options));
|
|
131444
131827
|
}
|
|
131445
|
-
async function $
|
|
131828
|
+
async function $do283(client, request, options) {
|
|
131446
131829
|
const parsed = safeParse4(request, (value) => RunCommandRequest$outboundSchema.parse(value), "Input validation failed");
|
|
131447
131830
|
if (!parsed.ok) {
|
|
131448
131831
|
return [parsed, { status: "invalid" }];
|
|
@@ -131561,9 +131944,9 @@ Run a command in the session workspace and return stdout, stderr, exit code, and
|
|
|
131561
131944
|
|
|
131562
131945
|
// src/funcs/sandboxSetPricing.ts
|
|
131563
131946
|
function sandboxSetPricing(client, request, options) {
|
|
131564
|
-
return new APIPromise($
|
|
131947
|
+
return new APIPromise($do284(client, request, options));
|
|
131565
131948
|
}
|
|
131566
|
-
async function $
|
|
131949
|
+
async function $do284(client, request, options) {
|
|
131567
131950
|
const parsed = safeParse4(request, (value) => SandboxPricingUpdate$outboundSchema.parse(value), "Input validation failed");
|
|
131568
131951
|
if (!parsed.ok) {
|
|
131569
131952
|
return [parsed, { status: "invalid" }];
|
|
@@ -131674,9 +132057,9 @@ Replace the sandbox pricing rate card. Full-replace semantics: SKUs omitted from
|
|
|
131674
132057
|
|
|
131675
132058
|
// src/funcs/sandboxTerminate.ts
|
|
131676
132059
|
function sandboxTerminate(client, request, options) {
|
|
131677
|
-
return new APIPromise($
|
|
132060
|
+
return new APIPromise($do285(client, request, options));
|
|
131678
132061
|
}
|
|
131679
|
-
async function $
|
|
132062
|
+
async function $do285(client, request, options) {
|
|
131680
132063
|
const parsed = safeParse4(request, (value) => TerminateSessionRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
131681
132064
|
if (!parsed.ok) {
|
|
131682
132065
|
return [parsed, { status: "invalid" }];
|
|
@@ -131797,9 +132180,9 @@ Stop a sandbox session and release the backing sandbox resources.`,
|
|
|
131797
132180
|
|
|
131798
132181
|
// src/funcs/sandboxUploadArchive.ts
|
|
131799
132182
|
function sandboxUploadArchive(client, request, options) {
|
|
131800
|
-
return new APIPromise($
|
|
132183
|
+
return new APIPromise($do286(client, request, options));
|
|
131801
132184
|
}
|
|
131802
|
-
async function $
|
|
132185
|
+
async function $do286(client, request, options) {
|
|
131803
132186
|
const parsed = safeParse4(request, (value) => UploadWorkspaceArchiveRequest$outboundSchema.parse(value), "Input validation failed");
|
|
131804
132187
|
if (!parsed.ok) {
|
|
131805
132188
|
return [parsed, { status: "invalid" }];
|
|
@@ -131922,9 +132305,9 @@ Upload a zip archive and extract its files into the session workspace.`,
|
|
|
131922
132305
|
|
|
131923
132306
|
// src/funcs/sandboxUploadFile.ts
|
|
131924
132307
|
function sandboxUploadFile(client, request, options) {
|
|
131925
|
-
return new APIPromise($
|
|
132308
|
+
return new APIPromise($do287(client, request, options));
|
|
131926
132309
|
}
|
|
131927
|
-
async function $
|
|
132310
|
+
async function $do287(client, request, options) {
|
|
131928
132311
|
const parsed = safeParse4(request, (value) => UploadWorkspaceFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
131929
132312
|
if (!parsed.ok) {
|
|
131930
132313
|
return [parsed, { status: "invalid" }];
|
|
@@ -132051,9 +132434,9 @@ Upload raw bytes into the session workspace at the given path.`,
|
|
|
132051
132434
|
|
|
132052
132435
|
// src/funcs/servingAcceleratorsList.ts
|
|
132053
132436
|
function servingAcceleratorsList(client, request, options) {
|
|
132054
|
-
return new APIPromise($
|
|
132437
|
+
return new APIPromise($do288(client, request, options));
|
|
132055
132438
|
}
|
|
132056
|
-
async function $
|
|
132439
|
+
async function $do288(client, request, options) {
|
|
132057
132440
|
const parsed = safeParse4(request, (value) => ListAcceleratorsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
132058
132441
|
if (!parsed.ok) {
|
|
132059
132442
|
return [parsed, { status: "invalid" }];
|
|
@@ -132165,9 +132548,9 @@ List the accelerator types available to your organization (GPU, NPU, TPU).`,
|
|
|
132165
132548
|
|
|
132166
132549
|
// src/funcs/servingDeploymentsCreate.ts
|
|
132167
132550
|
function servingDeploymentsCreate(client, request, options) {
|
|
132168
|
-
return new APIPromise($
|
|
132551
|
+
return new APIPromise($do289(client, request, options));
|
|
132169
132552
|
}
|
|
132170
|
-
async function $
|
|
132553
|
+
async function $do289(client, request, options) {
|
|
132171
132554
|
const parsed = safeParse4(request, (value) => CreateDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
132172
132555
|
if (!parsed.ok) {
|
|
132173
132556
|
return [parsed, { status: "invalid" }];
|
|
@@ -132280,9 +132663,9 @@ Create and start an inference deployment for a model, and return its endpoint.`,
|
|
|
132280
132663
|
|
|
132281
132664
|
// src/funcs/servingDeploymentsDelete.ts
|
|
132282
132665
|
function servingDeploymentsDelete(client, request, options) {
|
|
132283
|
-
return new APIPromise($
|
|
132666
|
+
return new APIPromise($do290(client, request, options));
|
|
132284
132667
|
}
|
|
132285
|
-
async function $
|
|
132668
|
+
async function $do290(client, request, options) {
|
|
132286
132669
|
const parsed = safeParse4(request, (value) => DeleteDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
132287
132670
|
if (!parsed.ok) {
|
|
132288
132671
|
return [parsed, { status: "invalid" }];
|
|
@@ -132399,9 +132782,9 @@ Tear down a deployment and release its resources.`,
|
|
|
132399
132782
|
|
|
132400
132783
|
// src/funcs/servingDeploymentsDeregister.ts
|
|
132401
132784
|
function servingDeploymentsDeregister(client, request, options) {
|
|
132402
|
-
return new APIPromise($
|
|
132785
|
+
return new APIPromise($do291(client, request, options));
|
|
132403
132786
|
}
|
|
132404
|
-
async function $
|
|
132787
|
+
async function $do291(client, request, options) {
|
|
132405
132788
|
const parsed = safeParse4(request, (value) => DeregisterDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
132406
132789
|
if (!parsed.ok) {
|
|
132407
132790
|
return [parsed, { status: "invalid" }];
|
|
@@ -132518,9 +132901,9 @@ Withdraw the deployment's model from the LLM gateway registry: inference stops r
|
|
|
132518
132901
|
|
|
132519
132902
|
// src/funcs/servingDeploymentsGet.ts
|
|
132520
132903
|
function servingDeploymentsGet(client, request, options) {
|
|
132521
|
-
return new APIPromise($
|
|
132904
|
+
return new APIPromise($do292(client, request, options));
|
|
132522
132905
|
}
|
|
132523
|
-
async function $
|
|
132906
|
+
async function $do292(client, request, options) {
|
|
132524
132907
|
const parsed = safeParse4(request, (value) => GetDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
132525
132908
|
if (!parsed.ok) {
|
|
132526
132909
|
return [parsed, { status: "invalid" }];
|
|
@@ -132638,9 +133021,9 @@ Retrieve a single deployment, including its status and endpoint URL.`,
|
|
|
132638
133021
|
|
|
132639
133022
|
// src/funcs/servingDeploymentsGetLogs.ts
|
|
132640
133023
|
function servingDeploymentsGetLogs(client, request, options) {
|
|
132641
|
-
return new APIPromise($
|
|
133024
|
+
return new APIPromise($do293(client, request, options));
|
|
132642
133025
|
}
|
|
132643
|
-
async function $
|
|
133026
|
+
async function $do293(client, request, options) {
|
|
132644
133027
|
const parsed = safeParse4(request, (value) => GetDeploymentLogsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
132645
133028
|
if (!parsed.ok) {
|
|
132646
133029
|
return [parsed, { status: "invalid" }];
|
|
@@ -132763,9 +133146,9 @@ Fetch recent log lines from a deployment's replicas.`,
|
|
|
132763
133146
|
|
|
132764
133147
|
// src/funcs/servingDeploymentsGetMetrics.ts
|
|
132765
133148
|
function servingDeploymentsGetMetrics(client, request, options) {
|
|
132766
|
-
return new APIPromise($
|
|
133149
|
+
return new APIPromise($do294(client, request, options));
|
|
132767
133150
|
}
|
|
132768
|
-
async function $
|
|
133151
|
+
async function $do294(client, request, options) {
|
|
132769
133152
|
const parsed = safeParse4(request, (value) => GetDeploymentMetricsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
132770
133153
|
if (!parsed.ok) {
|
|
132771
133154
|
return [parsed, { status: "invalid" }];
|
|
@@ -132883,9 +133266,9 @@ Return live serving metrics (throughput, queue depth, accelerator usage).`,
|
|
|
132883
133266
|
|
|
132884
133267
|
// src/funcs/servingDeploymentsList.ts
|
|
132885
133268
|
function servingDeploymentsList(client, request, options) {
|
|
132886
|
-
return new APIPromise($
|
|
133269
|
+
return new APIPromise($do295(client, request, options));
|
|
132887
133270
|
}
|
|
132888
|
-
async function $
|
|
133271
|
+
async function $do295(client, request, options) {
|
|
132889
133272
|
const parsed = safeParse4(request, (value) => ListDeploymentsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
132890
133273
|
if (!parsed.ok) {
|
|
132891
133274
|
return [parsed, { status: "invalid" }];
|
|
@@ -133002,9 +133385,9 @@ List your inference deployments.`,
|
|
|
133002
133385
|
|
|
133003
133386
|
// src/funcs/servingDeploymentsListReplicas.ts
|
|
133004
133387
|
function servingDeploymentsListReplicas(client, request, options) {
|
|
133005
|
-
return new APIPromise($
|
|
133388
|
+
return new APIPromise($do296(client, request, options));
|
|
133006
133389
|
}
|
|
133007
|
-
async function $
|
|
133390
|
+
async function $do296(client, request, options) {
|
|
133008
133391
|
const parsed = safeParse4(request, (value) => ListReplicasRequest$outboundSchema.parse(value), "Input validation failed");
|
|
133009
133392
|
if (!parsed.ok) {
|
|
133010
133393
|
return [parsed, { status: "invalid" }];
|
|
@@ -133122,9 +133505,9 @@ List the replicas currently backing a deployment.`,
|
|
|
133122
133505
|
|
|
133123
133506
|
// src/funcs/servingDeploymentsListRevisions.ts
|
|
133124
133507
|
function servingDeploymentsListRevisions(client, request, options) {
|
|
133125
|
-
return new APIPromise($
|
|
133508
|
+
return new APIPromise($do297(client, request, options));
|
|
133126
133509
|
}
|
|
133127
|
-
async function $
|
|
133510
|
+
async function $do297(client, request, options) {
|
|
133128
133511
|
const parsed = safeParse4(request, (value) => ListRevisionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
133129
133512
|
if (!parsed.ok) {
|
|
133130
133513
|
return [parsed, { status: "invalid" }];
|
|
@@ -133242,9 +133625,9 @@ List a deployment's configuration revisions, most recent first.`,
|
|
|
133242
133625
|
|
|
133243
133626
|
// src/funcs/servingDeploymentsRegister.ts
|
|
133244
133627
|
function servingDeploymentsRegister(client, request, options) {
|
|
133245
|
-
return new APIPromise($
|
|
133628
|
+
return new APIPromise($do298(client, request, options));
|
|
133246
133629
|
}
|
|
133247
|
-
async function $
|
|
133630
|
+
async function $do298(client, request, options) {
|
|
133248
133631
|
const parsed = safeParse4(request, (value) => RegisterDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
133249
133632
|
if (!parsed.ok) {
|
|
133250
133633
|
return [parsed, { status: "invalid" }];
|
|
@@ -133362,9 +133745,9 @@ Make the deployment's model available for inference: registers it in the LLM gat
|
|
|
133362
133745
|
|
|
133363
133746
|
// src/funcs/servingDeploymentsRollback.ts
|
|
133364
133747
|
function servingDeploymentsRollback(client, request, options) {
|
|
133365
|
-
return new APIPromise($
|
|
133748
|
+
return new APIPromise($do299(client, request, options));
|
|
133366
133749
|
}
|
|
133367
|
-
async function $
|
|
133750
|
+
async function $do299(client, request, options) {
|
|
133368
133751
|
const parsed = safeParse4(request, (value) => RollbackDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
133369
133752
|
if (!parsed.ok) {
|
|
133370
133753
|
return [parsed, { status: "invalid" }];
|
|
@@ -133434,7 +133817,7 @@ async function $do297(client, request, options) {
|
|
|
133434
133817
|
const responseFields = {
|
|
133435
133818
|
HttpMeta: { Response: response, Request: req }
|
|
133436
133819
|
};
|
|
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 });
|
|
133820
|
+
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
133821
|
if (!result.ok) {
|
|
133439
133822
|
return [result, { status: "complete", request: req, response }];
|
|
133440
133823
|
}
|
|
@@ -133485,9 +133868,9 @@ Roll a deployment back to a previous configuration revision.`,
|
|
|
133485
133868
|
|
|
133486
133869
|
// src/funcs/servingDeploymentsUpdate.ts
|
|
133487
133870
|
function servingDeploymentsUpdate(client, request, options) {
|
|
133488
|
-
return new APIPromise($
|
|
133871
|
+
return new APIPromise($do300(client, request, options));
|
|
133489
133872
|
}
|
|
133490
|
-
async function $
|
|
133873
|
+
async function $do300(client, request, options) {
|
|
133491
133874
|
const parsed = safeParse4(request, (value) => UpdateDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
133492
133875
|
if (!parsed.ok) {
|
|
133493
133876
|
return [parsed, { status: "invalid" }];
|
|
@@ -133606,9 +133989,9 @@ Update a deployment's configuration, rolling out a new revision.`,
|
|
|
133606
133989
|
|
|
133607
133990
|
// src/funcs/servingDeploymentsUpdateScaling.ts
|
|
133608
133991
|
function servingDeploymentsUpdateScaling(client, request, options) {
|
|
133609
|
-
return new APIPromise($
|
|
133992
|
+
return new APIPromise($do301(client, request, options));
|
|
133610
133993
|
}
|
|
133611
|
-
async function $
|
|
133994
|
+
async function $do301(client, request, options) {
|
|
133612
133995
|
const parsed = safeParse4(request, (value) => UpdateScalingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
133613
133996
|
if (!parsed.ok) {
|
|
133614
133997
|
return [parsed, { status: "invalid" }];
|
|
@@ -133729,9 +134112,9 @@ Change a deployment's autoscaling limits in place, without redeploying.`,
|
|
|
133729
134112
|
|
|
133730
134113
|
// src/funcs/servingFinetuneJobsCancel.ts
|
|
133731
134114
|
function servingFinetuneJobsCancel(client, request, options) {
|
|
133732
|
-
return new APIPromise($
|
|
134115
|
+
return new APIPromise($do302(client, request, options));
|
|
133733
134116
|
}
|
|
133734
|
-
async function $
|
|
134117
|
+
async function $do302(client, request, options) {
|
|
133735
134118
|
const parsed = safeParse4(request, (value) => CancelFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
|
|
133736
134119
|
if (!parsed.ok) {
|
|
133737
134120
|
return [parsed, { status: "invalid" }];
|
|
@@ -133848,9 +134231,9 @@ Cancel a running fine-tune job.`,
|
|
|
133848
134231
|
|
|
133849
134232
|
// src/funcs/servingFinetuneJobsCreate.ts
|
|
133850
134233
|
function servingFinetuneJobsCreate(client, request, options) {
|
|
133851
|
-
return new APIPromise($
|
|
134234
|
+
return new APIPromise($do303(client, request, options));
|
|
133852
134235
|
}
|
|
133853
|
-
async function $
|
|
134236
|
+
async function $do303(client, request, options) {
|
|
133854
134237
|
const parsed = safeParse4(request, (value) => CreateFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
|
|
133855
134238
|
if (!parsed.ok) {
|
|
133856
134239
|
return [parsed, { status: "invalid" }];
|
|
@@ -133963,9 +134346,9 @@ Submit a fine-tune job for a base model and dataset, and return its id.`,
|
|
|
133963
134346
|
|
|
133964
134347
|
// src/funcs/servingFinetuneJobsGet.ts
|
|
133965
134348
|
function servingFinetuneJobsGet(client, request, options) {
|
|
133966
|
-
return new APIPromise($
|
|
134349
|
+
return new APIPromise($do304(client, request, options));
|
|
133967
134350
|
}
|
|
133968
|
-
async function $
|
|
134351
|
+
async function $do304(client, request, options) {
|
|
133969
134352
|
const parsed = safeParse4(request, (value) => GetFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
|
|
133970
134353
|
if (!parsed.ok) {
|
|
133971
134354
|
return [parsed, { status: "invalid" }];
|
|
@@ -134083,9 +134466,9 @@ Retrieve a fine-tune job, including its status and progress.`,
|
|
|
134083
134466
|
|
|
134084
134467
|
// src/funcs/servingFinetuneJobsGetEvents.ts
|
|
134085
134468
|
function servingFinetuneJobsGetEvents(client, request, options) {
|
|
134086
|
-
return new APIPromise($
|
|
134469
|
+
return new APIPromise($do305(client, request, options));
|
|
134087
134470
|
}
|
|
134088
|
-
async function $
|
|
134471
|
+
async function $do305(client, request, options) {
|
|
134089
134472
|
const parsed = safeParse4(request, (value) => GetFinetuneEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134090
134473
|
if (!parsed.ok) {
|
|
134091
134474
|
return [parsed, { status: "invalid" }];
|
|
@@ -134208,9 +134591,9 @@ Return the job's status timeline (queued, running, checkpoints, completion).`,
|
|
|
134208
134591
|
|
|
134209
134592
|
// src/funcs/servingFinetuneJobsGetLogs.ts
|
|
134210
134593
|
function servingFinetuneJobsGetLogs(client, request, options) {
|
|
134211
|
-
return new APIPromise($
|
|
134594
|
+
return new APIPromise($do306(client, request, options));
|
|
134212
134595
|
}
|
|
134213
|
-
async function $
|
|
134596
|
+
async function $do306(client, request, options) {
|
|
134214
134597
|
const parsed = safeParse4(request, (value) => GetFinetuneLogsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134215
134598
|
if (!parsed.ok) {
|
|
134216
134599
|
return [parsed, { status: "invalid" }];
|
|
@@ -134333,9 +134716,9 @@ Fetch recent training log lines for a job.`,
|
|
|
134333
134716
|
|
|
134334
134717
|
// src/funcs/servingFinetuneJobsList.ts
|
|
134335
134718
|
function servingFinetuneJobsList(client, request, options) {
|
|
134336
|
-
return new APIPromise($
|
|
134719
|
+
return new APIPromise($do307(client, request, options));
|
|
134337
134720
|
}
|
|
134338
|
-
async function $
|
|
134721
|
+
async function $do307(client, request, options) {
|
|
134339
134722
|
const parsed = safeParse4(request, (value) => ListFinetuneJobsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134340
134723
|
if (!parsed.ok) {
|
|
134341
134724
|
return [parsed, { status: "invalid" }];
|
|
@@ -134452,9 +134835,9 @@ List your fine-tune jobs.`,
|
|
|
134452
134835
|
|
|
134453
134836
|
// src/funcs/servingFinetuneJobsListCheckpoints.ts
|
|
134454
134837
|
function servingFinetuneJobsListCheckpoints(client, request, options) {
|
|
134455
|
-
return new APIPromise($
|
|
134838
|
+
return new APIPromise($do308(client, request, options));
|
|
134456
134839
|
}
|
|
134457
|
-
async function $
|
|
134840
|
+
async function $do308(client, request, options) {
|
|
134458
134841
|
const parsed = safeParse4(request, (value) => ListFinetuneCheckpointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134459
134842
|
if (!parsed.ok) {
|
|
134460
134843
|
return [parsed, { status: "invalid" }];
|
|
@@ -134571,20 +134954,25 @@ List the checkpoints a fine-tune job has produced.`,
|
|
|
134571
134954
|
};
|
|
134572
134955
|
});
|
|
134573
134956
|
|
|
134574
|
-
// src/funcs/
|
|
134575
|
-
function
|
|
134576
|
-
return new APIPromise($
|
|
134957
|
+
// src/funcs/servingImagesDelete.ts
|
|
134958
|
+
function servingImagesDelete(client, request, options) {
|
|
134959
|
+
return new APIPromise($do309(client, request, options));
|
|
134577
134960
|
}
|
|
134578
|
-
async function $
|
|
134579
|
-
const parsed = safeParse4(request, (value) =>
|
|
134961
|
+
async function $do309(client, request, options) {
|
|
134962
|
+
const parsed = safeParse4(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134580
134963
|
if (!parsed.ok) {
|
|
134581
134964
|
return [parsed, { status: "invalid" }];
|
|
134582
134965
|
}
|
|
134583
134966
|
const payload = parsed.value;
|
|
134584
|
-
const body =
|
|
134585
|
-
const
|
|
134967
|
+
const body = null;
|
|
134968
|
+
const pathParams = {
|
|
134969
|
+
image_id: encodeSimple("image_id", payload.image_id, {
|
|
134970
|
+
explode: false,
|
|
134971
|
+
charEncoding: "percent"
|
|
134972
|
+
})
|
|
134973
|
+
};
|
|
134974
|
+
const path = pathToFunc("/api/v1/serving/images/{image_id}")(pathParams);
|
|
134586
134975
|
const headers = new Headers(compactMap({
|
|
134587
|
-
"Content-Type": "application/json",
|
|
134588
134976
|
Accept: "application/json",
|
|
134589
134977
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
134590
134978
|
}));
|
|
@@ -134594,7 +134982,7 @@ async function $do307(client, request, options) {
|
|
|
134594
134982
|
const context = {
|
|
134595
134983
|
options: client._options,
|
|
134596
134984
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
134597
|
-
operationID: "
|
|
134985
|
+
operationID: "deleteImage",
|
|
134598
134986
|
oAuth2Scopes: null,
|
|
134599
134987
|
resolvedSecurity: requestSecurity,
|
|
134600
134988
|
securitySource: client._options.bearerAuth,
|
|
@@ -134612,7 +135000,7 @@ async function $do307(client, request, options) {
|
|
|
134612
135000
|
};
|
|
134613
135001
|
const requestRes = client._createRequest(context, {
|
|
134614
135002
|
security: requestSecurity,
|
|
134615
|
-
method: "
|
|
135003
|
+
method: "DELETE",
|
|
134616
135004
|
baseURL: options?.serverURL,
|
|
134617
135005
|
path,
|
|
134618
135006
|
headers,
|
|
@@ -134637,13 +135025,14 @@ async function $do307(client, request, options) {
|
|
|
134637
135025
|
const responseFields = {
|
|
134638
135026
|
HttpMeta: { Response: response, Request: req }
|
|
134639
135027
|
};
|
|
134640
|
-
const [result] = await match(
|
|
135028
|
+
const [result] = await match(nil(204, voidType()), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
134641
135029
|
if (!result.ok) {
|
|
134642
135030
|
return [result, { status: "complete", request: req, response }];
|
|
134643
135031
|
}
|
|
134644
135032
|
return [result, { status: "complete", request: req, response }];
|
|
134645
135033
|
}
|
|
134646
|
-
var
|
|
135034
|
+
var init_servingImagesDelete = __esm(() => {
|
|
135035
|
+
init_esm();
|
|
134647
135036
|
init_encodings();
|
|
134648
135037
|
init_http();
|
|
134649
135038
|
init_matchers();
|
|
@@ -134651,47 +135040,45 @@ var init_servingImagesBuild = __esm(() => {
|
|
|
134651
135040
|
init_schemas4();
|
|
134652
135041
|
init_security();
|
|
134653
135042
|
init_url();
|
|
134654
|
-
init_components();
|
|
134655
135043
|
init_errors4();
|
|
134656
135044
|
init_operations();
|
|
134657
135045
|
init_async();
|
|
134658
135046
|
});
|
|
134659
135047
|
|
|
134660
|
-
// src/mcp-server/tools/
|
|
134661
|
-
var args300, tool$
|
|
134662
|
-
var
|
|
134663
|
-
|
|
135048
|
+
// src/mcp-server/tools/servingImagesDelete.ts
|
|
135049
|
+
var args300, tool$servingImagesDelete;
|
|
135050
|
+
var init_servingImagesDelete2 = __esm(() => {
|
|
135051
|
+
init_servingImagesDelete();
|
|
134664
135052
|
init_operations();
|
|
134665
135053
|
init_tools();
|
|
134666
135054
|
args300 = {
|
|
134667
|
-
request:
|
|
135055
|
+
request: DeleteImageRequest$inboundSchema
|
|
134668
135056
|
};
|
|
134669
|
-
tool$
|
|
134670
|
-
name: "serving-images-
|
|
134671
|
-
description: `
|
|
135057
|
+
tool$servingImagesDelete = {
|
|
135058
|
+
name: "serving-images-delete",
|
|
135059
|
+
description: `Delete an image
|
|
134672
135060
|
|
|
134673
|
-
|
|
135061
|
+
Delete a container image.`,
|
|
134674
135062
|
args: args300,
|
|
134675
135063
|
tool: async (client, args301, ctx) => {
|
|
134676
|
-
const [result, apiCall] = await
|
|
135064
|
+
const [result, apiCall] = await servingImagesDelete(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
134677
135065
|
if (!result.ok) {
|
|
134678
135066
|
return {
|
|
134679
135067
|
content: [{ type: "text", text: result.error.message }],
|
|
134680
135068
|
isError: true
|
|
134681
135069
|
};
|
|
134682
135070
|
}
|
|
134683
|
-
|
|
134684
|
-
return formatResult(value, apiCall);
|
|
135071
|
+
return formatResult(undefined, apiCall);
|
|
134685
135072
|
}
|
|
134686
135073
|
};
|
|
134687
135074
|
});
|
|
134688
135075
|
|
|
134689
|
-
// src/funcs/
|
|
134690
|
-
function
|
|
134691
|
-
return new APIPromise($
|
|
135076
|
+
// src/funcs/servingImagesGet.ts
|
|
135077
|
+
function servingImagesGet(client, request, options) {
|
|
135078
|
+
return new APIPromise($do310(client, request, options));
|
|
134692
135079
|
}
|
|
134693
|
-
async function $
|
|
134694
|
-
const parsed = safeParse4(request, (value) =>
|
|
135080
|
+
async function $do310(client, request, options) {
|
|
135081
|
+
const parsed = safeParse4(request, (value) => GetImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134695
135082
|
if (!parsed.ok) {
|
|
134696
135083
|
return [parsed, { status: "invalid" }];
|
|
134697
135084
|
}
|
|
@@ -134714,7 +135101,7 @@ async function $do308(client, request, options) {
|
|
|
134714
135101
|
const context = {
|
|
134715
135102
|
options: client._options,
|
|
134716
135103
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
134717
|
-
operationID: "
|
|
135104
|
+
operationID: "getImage",
|
|
134718
135105
|
oAuth2Scopes: null,
|
|
134719
135106
|
resolvedSecurity: requestSecurity,
|
|
134720
135107
|
securitySource: client._options.bearerAuth,
|
|
@@ -134732,7 +135119,7 @@ async function $do308(client, request, options) {
|
|
|
134732
135119
|
};
|
|
134733
135120
|
const requestRes = client._createRequest(context, {
|
|
134734
135121
|
security: requestSecurity,
|
|
134735
|
-
method: "
|
|
135122
|
+
method: "GET",
|
|
134736
135123
|
baseURL: options?.serverURL,
|
|
134737
135124
|
path,
|
|
134738
135125
|
headers,
|
|
@@ -134757,14 +135144,13 @@ async function $do308(client, request, options) {
|
|
|
134757
135144
|
const responseFields = {
|
|
134758
135145
|
HttpMeta: { Response: response, Request: req }
|
|
134759
135146
|
};
|
|
134760
|
-
const [result] = await match(
|
|
135147
|
+
const [result] = await match(json(200, Image$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
134761
135148
|
if (!result.ok) {
|
|
134762
135149
|
return [result, { status: "complete", request: req, response }];
|
|
134763
135150
|
}
|
|
134764
135151
|
return [result, { status: "complete", request: req, response }];
|
|
134765
135152
|
}
|
|
134766
|
-
var
|
|
134767
|
-
init_esm();
|
|
135153
|
+
var init_servingImagesGet = __esm(() => {
|
|
134768
135154
|
init_encodings();
|
|
134769
135155
|
init_http();
|
|
134770
135156
|
init_matchers();
|
|
@@ -134772,57 +135158,57 @@ var init_servingImagesDelete = __esm(() => {
|
|
|
134772
135158
|
init_schemas4();
|
|
134773
135159
|
init_security();
|
|
134774
135160
|
init_url();
|
|
135161
|
+
init_components();
|
|
134775
135162
|
init_errors4();
|
|
134776
135163
|
init_operations();
|
|
134777
135164
|
init_async();
|
|
134778
135165
|
});
|
|
134779
135166
|
|
|
134780
|
-
// src/mcp-server/tools/
|
|
134781
|
-
var args301, tool$
|
|
134782
|
-
var
|
|
134783
|
-
|
|
135167
|
+
// src/mcp-server/tools/servingImagesGet.ts
|
|
135168
|
+
var args301, tool$servingImagesGet;
|
|
135169
|
+
var init_servingImagesGet2 = __esm(() => {
|
|
135170
|
+
init_servingImagesGet();
|
|
134784
135171
|
init_operations();
|
|
134785
135172
|
init_tools();
|
|
134786
135173
|
args301 = {
|
|
134787
|
-
request:
|
|
135174
|
+
request: GetImageRequest$inboundSchema
|
|
134788
135175
|
};
|
|
134789
|
-
tool$
|
|
134790
|
-
name: "serving-images-
|
|
134791
|
-
description: `
|
|
135176
|
+
tool$servingImagesGet = {
|
|
135177
|
+
name: "serving-images-get",
|
|
135178
|
+
description: `Get an image
|
|
134792
135179
|
|
|
134793
|
-
|
|
135180
|
+
Retrieve an image, including its build status.`,
|
|
134794
135181
|
args: args301,
|
|
134795
135182
|
tool: async (client, args302, ctx) => {
|
|
134796
|
-
const [result, apiCall] = await
|
|
135183
|
+
const [result, apiCall] = await servingImagesGet(client, args302.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
134797
135184
|
if (!result.ok) {
|
|
134798
135185
|
return {
|
|
134799
135186
|
content: [{ type: "text", text: result.error.message }],
|
|
134800
135187
|
isError: true
|
|
134801
135188
|
};
|
|
134802
135189
|
}
|
|
134803
|
-
|
|
135190
|
+
const value = result.value;
|
|
135191
|
+
return formatResult(value, apiCall);
|
|
134804
135192
|
}
|
|
134805
135193
|
};
|
|
134806
135194
|
});
|
|
134807
135195
|
|
|
134808
|
-
// src/funcs/
|
|
134809
|
-
function
|
|
134810
|
-
return new APIPromise($
|
|
135196
|
+
// src/funcs/servingImagesList.ts
|
|
135197
|
+
function servingImagesList(client, request, options) {
|
|
135198
|
+
return new APIPromise($do311(client, request, options));
|
|
134811
135199
|
}
|
|
134812
|
-
async function $
|
|
134813
|
-
const parsed = safeParse4(request, (value) =>
|
|
135200
|
+
async function $do311(client, request, options) {
|
|
135201
|
+
const parsed = safeParse4(request, (value) => ListImagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134814
135202
|
if (!parsed.ok) {
|
|
134815
135203
|
return [parsed, { status: "invalid" }];
|
|
134816
135204
|
}
|
|
134817
135205
|
const payload = parsed.value;
|
|
134818
135206
|
const body = null;
|
|
134819
|
-
const
|
|
134820
|
-
|
|
134821
|
-
|
|
134822
|
-
|
|
134823
|
-
|
|
134824
|
-
};
|
|
134825
|
-
const path = pathToFunc("/api/v1/serving/images/{image_id}")(pathParams);
|
|
135207
|
+
const path = pathToFunc("/api/v1/serving/images")();
|
|
135208
|
+
const query = encodeFormQuery({
|
|
135209
|
+
cursor: payload.cursor,
|
|
135210
|
+
limit: payload.limit
|
|
135211
|
+
});
|
|
134826
135212
|
const headers = new Headers(compactMap({
|
|
134827
135213
|
Accept: "application/json",
|
|
134828
135214
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -134833,7 +135219,7 @@ async function $do309(client, request, options) {
|
|
|
134833
135219
|
const context = {
|
|
134834
135220
|
options: client._options,
|
|
134835
135221
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
134836
|
-
operationID: "
|
|
135222
|
+
operationID: "listImages",
|
|
134837
135223
|
oAuth2Scopes: null,
|
|
134838
135224
|
resolvedSecurity: requestSecurity,
|
|
134839
135225
|
securitySource: client._options.bearerAuth,
|
|
@@ -134855,6 +135241,7 @@ async function $do309(client, request, options) {
|
|
|
134855
135241
|
baseURL: options?.serverURL,
|
|
134856
135242
|
path,
|
|
134857
135243
|
headers,
|
|
135244
|
+
query,
|
|
134858
135245
|
body,
|
|
134859
135246
|
userAgent: client._options.userAgent,
|
|
134860
135247
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -134876,13 +135263,13 @@ async function $do309(client, request, options) {
|
|
|
134876
135263
|
const responseFields = {
|
|
134877
135264
|
HttpMeta: { Response: response, Request: req }
|
|
134878
135265
|
};
|
|
134879
|
-
const [result] = await match(json(200,
|
|
135266
|
+
const [result] = await match(json(200, PageImage$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
134880
135267
|
if (!result.ok) {
|
|
134881
135268
|
return [result, { status: "complete", request: req, response }];
|
|
134882
135269
|
}
|
|
134883
135270
|
return [result, { status: "complete", request: req, response }];
|
|
134884
135271
|
}
|
|
134885
|
-
var
|
|
135272
|
+
var init_servingImagesList = __esm(() => {
|
|
134886
135273
|
init_encodings();
|
|
134887
135274
|
init_http();
|
|
134888
135275
|
init_matchers();
|
|
@@ -134896,23 +135283,23 @@ var init_servingImagesGet = __esm(() => {
|
|
|
134896
135283
|
init_async();
|
|
134897
135284
|
});
|
|
134898
135285
|
|
|
134899
|
-
// src/mcp-server/tools/
|
|
134900
|
-
var args302, tool$
|
|
134901
|
-
var
|
|
134902
|
-
|
|
135286
|
+
// src/mcp-server/tools/servingImagesList.ts
|
|
135287
|
+
var args302, tool$servingImagesList;
|
|
135288
|
+
var init_servingImagesList2 = __esm(() => {
|
|
135289
|
+
init_servingImagesList();
|
|
134903
135290
|
init_operations();
|
|
134904
135291
|
init_tools();
|
|
134905
135292
|
args302 = {
|
|
134906
|
-
request:
|
|
135293
|
+
request: ListImagesRequest$inboundSchema
|
|
134907
135294
|
};
|
|
134908
|
-
tool$
|
|
134909
|
-
name: "serving-images-
|
|
134910
|
-
description: `
|
|
135295
|
+
tool$servingImagesList = {
|
|
135296
|
+
name: "serving-images-list",
|
|
135297
|
+
description: `List images
|
|
134911
135298
|
|
|
134912
|
-
|
|
135299
|
+
List your container images.`,
|
|
134913
135300
|
args: args302,
|
|
134914
135301
|
tool: async (client, args303, ctx) => {
|
|
134915
|
-
const [result, apiCall] = await
|
|
135302
|
+
const [result, apiCall] = await servingImagesList(client, args303.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
134916
135303
|
if (!result.ok) {
|
|
134917
135304
|
return {
|
|
134918
135305
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -134925,23 +135312,20 @@ Retrieve an image, including its build status.`,
|
|
|
134925
135312
|
};
|
|
134926
135313
|
});
|
|
134927
135314
|
|
|
134928
|
-
// src/funcs/
|
|
134929
|
-
function
|
|
134930
|
-
return new APIPromise($
|
|
135315
|
+
// src/funcs/servingImagesRegister.ts
|
|
135316
|
+
function servingImagesRegister(client, request, options) {
|
|
135317
|
+
return new APIPromise($do312(client, request, options));
|
|
134931
135318
|
}
|
|
134932
|
-
async function $
|
|
134933
|
-
const parsed = safeParse4(request, (value) =>
|
|
135319
|
+
async function $do312(client, request, options) {
|
|
135320
|
+
const parsed = safeParse4(request, (value) => RegisterImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134934
135321
|
if (!parsed.ok) {
|
|
134935
135322
|
return [parsed, { status: "invalid" }];
|
|
134936
135323
|
}
|
|
134937
135324
|
const payload = parsed.value;
|
|
134938
|
-
const body =
|
|
135325
|
+
const body = encodeJSON("body", payload.ImageRegister, { explode: true });
|
|
134939
135326
|
const path = pathToFunc("/api/v1/serving/images")();
|
|
134940
|
-
const query = encodeFormQuery({
|
|
134941
|
-
cursor: payload.cursor,
|
|
134942
|
-
limit: payload.limit
|
|
134943
|
-
});
|
|
134944
135327
|
const headers = new Headers(compactMap({
|
|
135328
|
+
"Content-Type": "application/json",
|
|
134945
135329
|
Accept: "application/json",
|
|
134946
135330
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
134947
135331
|
}));
|
|
@@ -134951,7 +135335,7 @@ async function $do310(client, request, options) {
|
|
|
134951
135335
|
const context = {
|
|
134952
135336
|
options: client._options,
|
|
134953
135337
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
134954
|
-
operationID: "
|
|
135338
|
+
operationID: "registerImage",
|
|
134955
135339
|
oAuth2Scopes: null,
|
|
134956
135340
|
resolvedSecurity: requestSecurity,
|
|
134957
135341
|
securitySource: client._options.bearerAuth,
|
|
@@ -134969,11 +135353,10 @@ async function $do310(client, request, options) {
|
|
|
134969
135353
|
};
|
|
134970
135354
|
const requestRes = client._createRequest(context, {
|
|
134971
135355
|
security: requestSecurity,
|
|
134972
|
-
method: "
|
|
135356
|
+
method: "POST",
|
|
134973
135357
|
baseURL: options?.serverURL,
|
|
134974
135358
|
path,
|
|
134975
135359
|
headers,
|
|
134976
|
-
query,
|
|
134977
135360
|
body,
|
|
134978
135361
|
userAgent: client._options.userAgent,
|
|
134979
135362
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -134995,13 +135378,13 @@ async function $do310(client, request, options) {
|
|
|
134995
135378
|
const responseFields = {
|
|
134996
135379
|
HttpMeta: { Response: response, Request: req }
|
|
134997
135380
|
};
|
|
134998
|
-
const [result] = await match(json(
|
|
135381
|
+
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 });
|
|
134999
135382
|
if (!result.ok) {
|
|
135000
135383
|
return [result, { status: "complete", request: req, response }];
|
|
135001
135384
|
}
|
|
135002
135385
|
return [result, { status: "complete", request: req, response }];
|
|
135003
135386
|
}
|
|
135004
|
-
var
|
|
135387
|
+
var init_servingImagesRegister = __esm(() => {
|
|
135005
135388
|
init_encodings();
|
|
135006
135389
|
init_http();
|
|
135007
135390
|
init_matchers();
|
|
@@ -135015,23 +135398,23 @@ var init_servingImagesList = __esm(() => {
|
|
|
135015
135398
|
init_async();
|
|
135016
135399
|
});
|
|
135017
135400
|
|
|
135018
|
-
// src/mcp-server/tools/
|
|
135019
|
-
var args303, tool$
|
|
135020
|
-
var
|
|
135021
|
-
|
|
135401
|
+
// src/mcp-server/tools/servingImagesRegister.ts
|
|
135402
|
+
var args303, tool$servingImagesRegister;
|
|
135403
|
+
var init_servingImagesRegister2 = __esm(() => {
|
|
135404
|
+
init_servingImagesRegister();
|
|
135022
135405
|
init_operations();
|
|
135023
135406
|
init_tools();
|
|
135024
135407
|
args303 = {
|
|
135025
|
-
request:
|
|
135408
|
+
request: RegisterImageRequest$inboundSchema
|
|
135026
135409
|
};
|
|
135027
|
-
tool$
|
|
135028
|
-
name: "serving-images-
|
|
135029
|
-
description: `
|
|
135410
|
+
tool$servingImagesRegister = {
|
|
135411
|
+
name: "serving-images-register",
|
|
135412
|
+
description: `Register a container image
|
|
135030
135413
|
|
|
135031
|
-
|
|
135414
|
+
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
135415
|
args: args303,
|
|
135033
135416
|
tool: async (client, args304, ctx) => {
|
|
135034
|
-
const [result, apiCall] = await
|
|
135417
|
+
const [result, apiCall] = await servingImagesRegister(client, args304.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135035
135418
|
if (!result.ok) {
|
|
135036
135419
|
return {
|
|
135037
135420
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135046,9 +135429,9 @@ List your container images.`,
|
|
|
135046
135429
|
|
|
135047
135430
|
// src/funcs/servingModelsDelete.ts
|
|
135048
135431
|
function servingModelsDelete(client, request, options) {
|
|
135049
|
-
return new APIPromise($
|
|
135432
|
+
return new APIPromise($do313(client, request, options));
|
|
135050
135433
|
}
|
|
135051
|
-
async function $
|
|
135434
|
+
async function $do313(client, request, options) {
|
|
135052
135435
|
const parsed = safeParse4(request, (value) => DeleteModelRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135053
135436
|
if (!parsed.ok) {
|
|
135054
135437
|
return [parsed, { status: "invalid" }];
|
|
@@ -135165,9 +135548,9 @@ Deregister a model from the catalog.`,
|
|
|
135165
135548
|
|
|
135166
135549
|
// src/funcs/servingModelsGet.ts
|
|
135167
135550
|
function servingModelsGet(client, request, options) {
|
|
135168
|
-
return new APIPromise($
|
|
135551
|
+
return new APIPromise($do314(client, request, options));
|
|
135169
135552
|
}
|
|
135170
|
-
async function $
|
|
135553
|
+
async function $do314(client, request, options) {
|
|
135171
135554
|
const parsed = safeParse4(request, (value) => GetServingModelRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135172
135555
|
if (!parsed.ok) {
|
|
135173
135556
|
return [parsed, { status: "invalid" }];
|
|
@@ -135285,9 +135668,9 @@ Retrieve a registered model.`,
|
|
|
135285
135668
|
|
|
135286
135669
|
// src/funcs/servingModelsList.ts
|
|
135287
135670
|
function servingModelsList(client, request, options) {
|
|
135288
|
-
return new APIPromise($
|
|
135671
|
+
return new APIPromise($do315(client, request, options));
|
|
135289
135672
|
}
|
|
135290
|
-
async function $
|
|
135673
|
+
async function $do315(client, request, options) {
|
|
135291
135674
|
const parsed = safeParse4(request, (value) => ListServingModelsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135292
135675
|
if (!parsed.ok) {
|
|
135293
135676
|
return [parsed, { status: "invalid" }];
|
|
@@ -135404,9 +135787,9 @@ List your registered models.`,
|
|
|
135404
135787
|
|
|
135405
135788
|
// src/funcs/servingModelsRegister.ts
|
|
135406
135789
|
function servingModelsRegister(client, request, options) {
|
|
135407
|
-
return new APIPromise($
|
|
135790
|
+
return new APIPromise($do316(client, request, options));
|
|
135408
135791
|
}
|
|
135409
|
-
async function $
|
|
135792
|
+
async function $do316(client, request, options) {
|
|
135410
135793
|
const parsed = safeParse4(request, (value) => RegisterModelRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135411
135794
|
if (!parsed.ok) {
|
|
135412
135795
|
return [parsed, { status: "invalid" }];
|
|
@@ -135468,13 +135851,249 @@ async function $do314(client, request, options) {
|
|
|
135468
135851
|
const responseFields = {
|
|
135469
135852
|
HttpMeta: { Response: response, Request: req }
|
|
135470
135853
|
};
|
|
135471
|
-
const [result] = await match(json(201, Model$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135854
|
+
const [result] = await match(json(201, Model$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135855
|
+
if (!result.ok) {
|
|
135856
|
+
return [result, { status: "complete", request: req, response }];
|
|
135857
|
+
}
|
|
135858
|
+
return [result, { status: "complete", request: req, response }];
|
|
135859
|
+
}
|
|
135860
|
+
var init_servingModelsRegister = __esm(() => {
|
|
135861
|
+
init_encodings();
|
|
135862
|
+
init_http();
|
|
135863
|
+
init_matchers();
|
|
135864
|
+
init_primitives();
|
|
135865
|
+
init_schemas4();
|
|
135866
|
+
init_security();
|
|
135867
|
+
init_url();
|
|
135868
|
+
init_components();
|
|
135869
|
+
init_errors4();
|
|
135870
|
+
init_operations();
|
|
135871
|
+
init_async();
|
|
135872
|
+
});
|
|
135873
|
+
|
|
135874
|
+
// src/mcp-server/tools/servingModelsRegister.ts
|
|
135875
|
+
var args307, tool$servingModelsRegister;
|
|
135876
|
+
var init_servingModelsRegister2 = __esm(() => {
|
|
135877
|
+
init_servingModelsRegister();
|
|
135878
|
+
init_operations();
|
|
135879
|
+
init_tools();
|
|
135880
|
+
args307 = {
|
|
135881
|
+
request: RegisterModelRequest$inboundSchema
|
|
135882
|
+
};
|
|
135883
|
+
tool$servingModelsRegister = {
|
|
135884
|
+
name: "serving-models-register",
|
|
135885
|
+
description: `Register a model
|
|
135886
|
+
|
|
135887
|
+
Register a model (from a source or volume) so it can be deployed or fine-tuned.`,
|
|
135888
|
+
args: args307,
|
|
135889
|
+
tool: async (client, args308, ctx) => {
|
|
135890
|
+
const [result, apiCall] = await servingModelsRegister(client, args308.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135891
|
+
if (!result.ok) {
|
|
135892
|
+
return {
|
|
135893
|
+
content: [{ type: "text", text: result.error.message }],
|
|
135894
|
+
isError: true
|
|
135895
|
+
};
|
|
135896
|
+
}
|
|
135897
|
+
const value = result.value;
|
|
135898
|
+
return formatResult(value, apiCall);
|
|
135899
|
+
}
|
|
135900
|
+
};
|
|
135901
|
+
});
|
|
135902
|
+
|
|
135903
|
+
// src/funcs/servingSecretsCreate.ts
|
|
135904
|
+
function servingSecretsCreate(client, request, options) {
|
|
135905
|
+
return new APIPromise($do317(client, request, options));
|
|
135906
|
+
}
|
|
135907
|
+
async function $do317(client, request, options) {
|
|
135908
|
+
const parsed = safeParse4(request, (value) => CreateSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135909
|
+
if (!parsed.ok) {
|
|
135910
|
+
return [parsed, { status: "invalid" }];
|
|
135911
|
+
}
|
|
135912
|
+
const payload = parsed.value;
|
|
135913
|
+
const body = encodeJSON("body", payload.SecretCreate, { explode: true });
|
|
135914
|
+
const path = pathToFunc("/api/v1/serving/secrets")();
|
|
135915
|
+
const headers = new Headers(compactMap({
|
|
135916
|
+
"Content-Type": "application/json",
|
|
135917
|
+
Accept: "application/json",
|
|
135918
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
135919
|
+
}));
|
|
135920
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
135921
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
135922
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
135923
|
+
const context = {
|
|
135924
|
+
options: client._options,
|
|
135925
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
135926
|
+
operationID: "createSecret",
|
|
135927
|
+
oAuth2Scopes: null,
|
|
135928
|
+
resolvedSecurity: requestSecurity,
|
|
135929
|
+
securitySource: client._options.bearerAuth,
|
|
135930
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
135931
|
+
strategy: "backoff",
|
|
135932
|
+
backoff: {
|
|
135933
|
+
initialInterval: 500,
|
|
135934
|
+
maxInterval: 5000,
|
|
135935
|
+
exponent: 1.5,
|
|
135936
|
+
maxElapsedTime: 15000
|
|
135937
|
+
},
|
|
135938
|
+
retryConnectionErrors: true
|
|
135939
|
+
},
|
|
135940
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
135941
|
+
};
|
|
135942
|
+
const requestRes = client._createRequest(context, {
|
|
135943
|
+
security: requestSecurity,
|
|
135944
|
+
method: "POST",
|
|
135945
|
+
baseURL: options?.serverURL,
|
|
135946
|
+
path,
|
|
135947
|
+
headers,
|
|
135948
|
+
body,
|
|
135949
|
+
userAgent: client._options.userAgent,
|
|
135950
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
135951
|
+
}, options);
|
|
135952
|
+
if (!requestRes.ok) {
|
|
135953
|
+
return [requestRes, { status: "invalid" }];
|
|
135954
|
+
}
|
|
135955
|
+
const req = requestRes.value;
|
|
135956
|
+
const doResult = await client._do(req, {
|
|
135957
|
+
context,
|
|
135958
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
135959
|
+
retryConfig: context.retryConfig,
|
|
135960
|
+
retryCodes: context.retryCodes
|
|
135961
|
+
});
|
|
135962
|
+
if (!doResult.ok) {
|
|
135963
|
+
return [doResult, { status: "request-error", request: req }];
|
|
135964
|
+
}
|
|
135965
|
+
const response = doResult.value;
|
|
135966
|
+
const responseFields = {
|
|
135967
|
+
HttpMeta: { Response: response, Request: req }
|
|
135968
|
+
};
|
|
135969
|
+
const [result] = await match(json(201, Secret$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135970
|
+
if (!result.ok) {
|
|
135971
|
+
return [result, { status: "complete", request: req, response }];
|
|
135972
|
+
}
|
|
135973
|
+
return [result, { status: "complete", request: req, response }];
|
|
135974
|
+
}
|
|
135975
|
+
var init_servingSecretsCreate = __esm(() => {
|
|
135976
|
+
init_encodings();
|
|
135977
|
+
init_http();
|
|
135978
|
+
init_matchers();
|
|
135979
|
+
init_primitives();
|
|
135980
|
+
init_schemas4();
|
|
135981
|
+
init_security();
|
|
135982
|
+
init_url();
|
|
135983
|
+
init_components();
|
|
135984
|
+
init_errors4();
|
|
135985
|
+
init_operations();
|
|
135986
|
+
init_async();
|
|
135987
|
+
});
|
|
135988
|
+
|
|
135989
|
+
// src/mcp-server/tools/servingSecretsCreate.ts
|
|
135990
|
+
var args308, tool$servingSecretsCreate;
|
|
135991
|
+
var init_servingSecretsCreate2 = __esm(() => {
|
|
135992
|
+
init_servingSecretsCreate();
|
|
135993
|
+
init_operations();
|
|
135994
|
+
init_tools();
|
|
135995
|
+
args308 = {
|
|
135996
|
+
request: CreateSecretRequest$inboundSchema
|
|
135997
|
+
};
|
|
135998
|
+
tool$servingSecretsCreate = {
|
|
135999
|
+
name: "serving-secrets-create",
|
|
136000
|
+
description: `Create a secret
|
|
136001
|
+
|
|
136002
|
+
Create a secret whose values are injected into your workloads as env vars.`,
|
|
136003
|
+
args: args308,
|
|
136004
|
+
tool: async (client, args309, ctx) => {
|
|
136005
|
+
const [result, apiCall] = await servingSecretsCreate(client, args309.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136006
|
+
if (!result.ok) {
|
|
136007
|
+
return {
|
|
136008
|
+
content: [{ type: "text", text: result.error.message }],
|
|
136009
|
+
isError: true
|
|
136010
|
+
};
|
|
136011
|
+
}
|
|
136012
|
+
const value = result.value;
|
|
136013
|
+
return formatResult(value, apiCall);
|
|
136014
|
+
}
|
|
136015
|
+
};
|
|
136016
|
+
});
|
|
136017
|
+
|
|
136018
|
+
// src/funcs/servingSecretsDelete.ts
|
|
136019
|
+
function servingSecretsDelete(client, request, options) {
|
|
136020
|
+
return new APIPromise($do318(client, request, options));
|
|
136021
|
+
}
|
|
136022
|
+
async function $do318(client, request, options) {
|
|
136023
|
+
const parsed = safeParse4(request, (value) => DeleteSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136024
|
+
if (!parsed.ok) {
|
|
136025
|
+
return [parsed, { status: "invalid" }];
|
|
136026
|
+
}
|
|
136027
|
+
const payload = parsed.value;
|
|
136028
|
+
const body = null;
|
|
136029
|
+
const pathParams = {
|
|
136030
|
+
secret_id: encodeSimple("secret_id", payload.secret_id, {
|
|
136031
|
+
explode: false,
|
|
136032
|
+
charEncoding: "percent"
|
|
136033
|
+
})
|
|
136034
|
+
};
|
|
136035
|
+
const path = pathToFunc("/api/v1/serving/secrets/{secret_id}")(pathParams);
|
|
136036
|
+
const headers = new Headers(compactMap({
|
|
136037
|
+
Accept: "application/json",
|
|
136038
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
136039
|
+
}));
|
|
136040
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
136041
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
136042
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136043
|
+
const context = {
|
|
136044
|
+
options: client._options,
|
|
136045
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
136046
|
+
operationID: "deleteSecret",
|
|
136047
|
+
oAuth2Scopes: null,
|
|
136048
|
+
resolvedSecurity: requestSecurity,
|
|
136049
|
+
securitySource: client._options.bearerAuth,
|
|
136050
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
136051
|
+
strategy: "backoff",
|
|
136052
|
+
backoff: {
|
|
136053
|
+
initialInterval: 500,
|
|
136054
|
+
maxInterval: 5000,
|
|
136055
|
+
exponent: 1.5,
|
|
136056
|
+
maxElapsedTime: 15000
|
|
136057
|
+
},
|
|
136058
|
+
retryConnectionErrors: true
|
|
136059
|
+
},
|
|
136060
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
136061
|
+
};
|
|
136062
|
+
const requestRes = client._createRequest(context, {
|
|
136063
|
+
security: requestSecurity,
|
|
136064
|
+
method: "DELETE",
|
|
136065
|
+
baseURL: options?.serverURL,
|
|
136066
|
+
path,
|
|
136067
|
+
headers,
|
|
136068
|
+
body,
|
|
136069
|
+
userAgent: client._options.userAgent,
|
|
136070
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
136071
|
+
}, options);
|
|
136072
|
+
if (!requestRes.ok) {
|
|
136073
|
+
return [requestRes, { status: "invalid" }];
|
|
136074
|
+
}
|
|
136075
|
+
const req = requestRes.value;
|
|
136076
|
+
const doResult = await client._do(req, {
|
|
136077
|
+
context,
|
|
136078
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
136079
|
+
retryConfig: context.retryConfig,
|
|
136080
|
+
retryCodes: context.retryCodes
|
|
136081
|
+
});
|
|
136082
|
+
if (!doResult.ok) {
|
|
136083
|
+
return [doResult, { status: "request-error", request: req }];
|
|
136084
|
+
}
|
|
136085
|
+
const response = doResult.value;
|
|
136086
|
+
const responseFields = {
|
|
136087
|
+
HttpMeta: { Response: response, Request: req }
|
|
136088
|
+
};
|
|
136089
|
+
const [result] = await match(nil(204, voidType()), jsonErr([403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135472
136090
|
if (!result.ok) {
|
|
135473
136091
|
return [result, { status: "complete", request: req, response }];
|
|
135474
136092
|
}
|
|
135475
136093
|
return [result, { status: "complete", request: req, response }];
|
|
135476
136094
|
}
|
|
135477
|
-
var
|
|
136095
|
+
var init_servingSecretsDelete = __esm(() => {
|
|
136096
|
+
init_esm();
|
|
135478
136097
|
init_encodings();
|
|
135479
136098
|
init_http();
|
|
135480
136099
|
init_matchers();
|
|
@@ -135482,55 +136101,56 @@ var init_servingModelsRegister = __esm(() => {
|
|
|
135482
136101
|
init_schemas4();
|
|
135483
136102
|
init_security();
|
|
135484
136103
|
init_url();
|
|
135485
|
-
init_components();
|
|
135486
136104
|
init_errors4();
|
|
135487
136105
|
init_operations();
|
|
135488
136106
|
init_async();
|
|
135489
136107
|
});
|
|
135490
136108
|
|
|
135491
|
-
// src/mcp-server/tools/
|
|
135492
|
-
var
|
|
135493
|
-
var
|
|
135494
|
-
|
|
136109
|
+
// src/mcp-server/tools/servingSecretsDelete.ts
|
|
136110
|
+
var args309, tool$servingSecretsDelete;
|
|
136111
|
+
var init_servingSecretsDelete2 = __esm(() => {
|
|
136112
|
+
init_servingSecretsDelete();
|
|
135495
136113
|
init_operations();
|
|
135496
136114
|
init_tools();
|
|
135497
|
-
|
|
135498
|
-
request:
|
|
136115
|
+
args309 = {
|
|
136116
|
+
request: DeleteSecretRequest$inboundSchema
|
|
135499
136117
|
};
|
|
135500
|
-
tool$
|
|
135501
|
-
name: "serving-
|
|
135502
|
-
description: `
|
|
136118
|
+
tool$servingSecretsDelete = {
|
|
136119
|
+
name: "serving-secrets-delete",
|
|
136120
|
+
description: `Delete a secret
|
|
135503
136121
|
|
|
135504
|
-
|
|
135505
|
-
args:
|
|
135506
|
-
tool: async (client,
|
|
135507
|
-
const [result, apiCall] = await
|
|
136122
|
+
Delete a secret.`,
|
|
136123
|
+
args: args309,
|
|
136124
|
+
tool: async (client, args310, ctx) => {
|
|
136125
|
+
const [result, apiCall] = await servingSecretsDelete(client, args310.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135508
136126
|
if (!result.ok) {
|
|
135509
136127
|
return {
|
|
135510
136128
|
content: [{ type: "text", text: result.error.message }],
|
|
135511
136129
|
isError: true
|
|
135512
136130
|
};
|
|
135513
136131
|
}
|
|
135514
|
-
|
|
135515
|
-
return formatResult(value, apiCall);
|
|
136132
|
+
return formatResult(undefined, apiCall);
|
|
135516
136133
|
}
|
|
135517
136134
|
};
|
|
135518
136135
|
});
|
|
135519
136136
|
|
|
135520
|
-
// src/funcs/
|
|
135521
|
-
function
|
|
135522
|
-
return new APIPromise($
|
|
136137
|
+
// src/funcs/servingSecretsList.ts
|
|
136138
|
+
function servingSecretsList(client, request, options) {
|
|
136139
|
+
return new APIPromise($do319(client, request, options));
|
|
135523
136140
|
}
|
|
135524
|
-
async function $
|
|
135525
|
-
const parsed = safeParse4(request, (value) =>
|
|
136141
|
+
async function $do319(client, request, options) {
|
|
136142
|
+
const parsed = safeParse4(request, (value) => ListSecretsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135526
136143
|
if (!parsed.ok) {
|
|
135527
136144
|
return [parsed, { status: "invalid" }];
|
|
135528
136145
|
}
|
|
135529
136146
|
const payload = parsed.value;
|
|
135530
|
-
const body =
|
|
136147
|
+
const body = null;
|
|
135531
136148
|
const path = pathToFunc("/api/v1/serving/secrets")();
|
|
136149
|
+
const query = encodeFormQuery({
|
|
136150
|
+
cursor: payload.cursor,
|
|
136151
|
+
limit: payload.limit
|
|
136152
|
+
});
|
|
135532
136153
|
const headers = new Headers(compactMap({
|
|
135533
|
-
"Content-Type": "application/json",
|
|
135534
136154
|
Accept: "application/json",
|
|
135535
136155
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
135536
136156
|
}));
|
|
@@ -135540,7 +136160,7 @@ async function $do315(client, request, options) {
|
|
|
135540
136160
|
const context = {
|
|
135541
136161
|
options: client._options,
|
|
135542
136162
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
135543
|
-
operationID: "
|
|
136163
|
+
operationID: "listSecrets",
|
|
135544
136164
|
oAuth2Scopes: null,
|
|
135545
136165
|
resolvedSecurity: requestSecurity,
|
|
135546
136166
|
securitySource: client._options.bearerAuth,
|
|
@@ -135558,10 +136178,11 @@ async function $do315(client, request, options) {
|
|
|
135558
136178
|
};
|
|
135559
136179
|
const requestRes = client._createRequest(context, {
|
|
135560
136180
|
security: requestSecurity,
|
|
135561
|
-
method: "
|
|
136181
|
+
method: "GET",
|
|
135562
136182
|
baseURL: options?.serverURL,
|
|
135563
136183
|
path,
|
|
135564
136184
|
headers,
|
|
136185
|
+
query,
|
|
135565
136186
|
body,
|
|
135566
136187
|
userAgent: client._options.userAgent,
|
|
135567
136188
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -135583,13 +136204,13 @@ async function $do315(client, request, options) {
|
|
|
135583
136204
|
const responseFields = {
|
|
135584
136205
|
HttpMeta: { Response: response, Request: req }
|
|
135585
136206
|
};
|
|
135586
|
-
const [result] = await match(json(
|
|
136207
|
+
const [result] = await match(json(200, PageSecret$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135587
136208
|
if (!result.ok) {
|
|
135588
136209
|
return [result, { status: "complete", request: req, response }];
|
|
135589
136210
|
}
|
|
135590
136211
|
return [result, { status: "complete", request: req, response }];
|
|
135591
136212
|
}
|
|
135592
|
-
var
|
|
136213
|
+
var init_servingSecretsList = __esm(() => {
|
|
135593
136214
|
init_encodings();
|
|
135594
136215
|
init_http();
|
|
135595
136216
|
init_matchers();
|
|
@@ -135603,23 +136224,23 @@ var init_servingSecretsCreate = __esm(() => {
|
|
|
135603
136224
|
init_async();
|
|
135604
136225
|
});
|
|
135605
136226
|
|
|
135606
|
-
// src/mcp-server/tools/
|
|
135607
|
-
var
|
|
135608
|
-
var
|
|
135609
|
-
|
|
136227
|
+
// src/mcp-server/tools/servingSecretsList.ts
|
|
136228
|
+
var args310, tool$servingSecretsList;
|
|
136229
|
+
var init_servingSecretsList2 = __esm(() => {
|
|
136230
|
+
init_servingSecretsList();
|
|
135610
136231
|
init_operations();
|
|
135611
136232
|
init_tools();
|
|
135612
|
-
|
|
135613
|
-
request:
|
|
136233
|
+
args310 = {
|
|
136234
|
+
request: ListSecretsRequest$inboundSchema
|
|
135614
136235
|
};
|
|
135615
|
-
tool$
|
|
135616
|
-
name: "serving-secrets-
|
|
135617
|
-
description: `
|
|
136236
|
+
tool$servingSecretsList = {
|
|
136237
|
+
name: "serving-secrets-list",
|
|
136238
|
+
description: `List secrets (names only)
|
|
135618
136239
|
|
|
135619
|
-
|
|
135620
|
-
args:
|
|
135621
|
-
tool: async (client,
|
|
135622
|
-
const [result, apiCall] = await
|
|
136240
|
+
List your secrets by name (values are never returned).`,
|
|
136241
|
+
args: args310,
|
|
136242
|
+
tool: async (client, args311, ctx) => {
|
|
136243
|
+
const [result, apiCall] = await servingSecretsList(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135623
136244
|
if (!result.ok) {
|
|
135624
136245
|
return {
|
|
135625
136246
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135632,25 +136253,28 @@ Create a secret whose values are injected into your workloads as env vars.`,
|
|
|
135632
136253
|
};
|
|
135633
136254
|
});
|
|
135634
136255
|
|
|
135635
|
-
// src/funcs/
|
|
135636
|
-
function
|
|
135637
|
-
return new APIPromise($
|
|
136256
|
+
// src/funcs/servingTenantsDeleteOrganization.ts
|
|
136257
|
+
function servingTenantsDeleteOrganization(client, request, options) {
|
|
136258
|
+
return new APIPromise($do320(client, request, options));
|
|
135638
136259
|
}
|
|
135639
|
-
async function $
|
|
135640
|
-
const parsed = safeParse4(request, (value) =>
|
|
136260
|
+
async function $do320(client, request, options) {
|
|
136261
|
+
const parsed = safeParse4(request, (value) => DeleteServingOrganizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135641
136262
|
if (!parsed.ok) {
|
|
135642
136263
|
return [parsed, { status: "invalid" }];
|
|
135643
136264
|
}
|
|
135644
136265
|
const payload = parsed.value;
|
|
135645
|
-
const body =
|
|
136266
|
+
const body = encodeJSON("body", payload.ServingOrgDeletionRequest, {
|
|
136267
|
+
explode: true
|
|
136268
|
+
});
|
|
135646
136269
|
const pathParams = {
|
|
135647
|
-
|
|
136270
|
+
org_id: encodeSimple("org_id", payload.org_id, {
|
|
135648
136271
|
explode: false,
|
|
135649
136272
|
charEncoding: "percent"
|
|
135650
136273
|
})
|
|
135651
136274
|
};
|
|
135652
|
-
const path = pathToFunc("/api/v1/serving/
|
|
136275
|
+
const path = pathToFunc("/api/v1/serving/tenants/{org_id}/deletion")(pathParams);
|
|
135653
136276
|
const headers = new Headers(compactMap({
|
|
136277
|
+
"Content-Type": "application/json",
|
|
135654
136278
|
Accept: "application/json",
|
|
135655
136279
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
135656
136280
|
}));
|
|
@@ -135660,7 +136284,7 @@ async function $do316(client, request, options) {
|
|
|
135660
136284
|
const context = {
|
|
135661
136285
|
options: client._options,
|
|
135662
136286
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
135663
|
-
operationID: "
|
|
136287
|
+
operationID: "deleteServingOrganization",
|
|
135664
136288
|
oAuth2Scopes: null,
|
|
135665
136289
|
resolvedSecurity: requestSecurity,
|
|
135666
136290
|
securitySource: client._options.bearerAuth,
|
|
@@ -135678,7 +136302,7 @@ async function $do316(client, request, options) {
|
|
|
135678
136302
|
};
|
|
135679
136303
|
const requestRes = client._createRequest(context, {
|
|
135680
136304
|
security: requestSecurity,
|
|
135681
|
-
method: "
|
|
136305
|
+
method: "POST",
|
|
135682
136306
|
baseURL: options?.serverURL,
|
|
135683
136307
|
path,
|
|
135684
136308
|
headers,
|
|
@@ -135703,14 +136327,13 @@ async function $do316(client, request, options) {
|
|
|
135703
136327
|
const responseFields = {
|
|
135704
136328
|
HttpMeta: { Response: response, Request: req }
|
|
135705
136329
|
};
|
|
135706
|
-
const [result] = await match(
|
|
136330
|
+
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 });
|
|
135707
136331
|
if (!result.ok) {
|
|
135708
136332
|
return [result, { status: "complete", request: req, response }];
|
|
135709
136333
|
}
|
|
135710
136334
|
return [result, { status: "complete", request: req, response }];
|
|
135711
136335
|
}
|
|
135712
|
-
var
|
|
135713
|
-
init_esm();
|
|
136336
|
+
var init_servingTenantsDeleteOrganization = __esm(() => {
|
|
135714
136337
|
init_encodings();
|
|
135715
136338
|
init_http();
|
|
135716
136339
|
init_matchers();
|
|
@@ -135718,55 +136341,59 @@ var init_servingSecretsDelete = __esm(() => {
|
|
|
135718
136341
|
init_schemas4();
|
|
135719
136342
|
init_security();
|
|
135720
136343
|
init_url();
|
|
136344
|
+
init_components();
|
|
135721
136345
|
init_errors4();
|
|
135722
136346
|
init_operations();
|
|
135723
136347
|
init_async();
|
|
135724
136348
|
});
|
|
135725
136349
|
|
|
135726
|
-
// src/mcp-server/tools/
|
|
135727
|
-
var
|
|
135728
|
-
var
|
|
135729
|
-
|
|
136350
|
+
// src/mcp-server/tools/servingTenantsDeleteOrganization.ts
|
|
136351
|
+
var args311, tool$servingTenantsDeleteOrganization;
|
|
136352
|
+
var init_servingTenantsDeleteOrganization2 = __esm(() => {
|
|
136353
|
+
init_servingTenantsDeleteOrganization();
|
|
135730
136354
|
init_operations();
|
|
135731
136355
|
init_tools();
|
|
135732
|
-
|
|
135733
|
-
request:
|
|
136356
|
+
args311 = {
|
|
136357
|
+
request: DeleteServingOrganizationRequest$inboundSchema
|
|
135734
136358
|
};
|
|
135735
|
-
tool$
|
|
135736
|
-
name: "serving-
|
|
135737
|
-
description: `
|
|
136359
|
+
tool$servingTenantsDeleteOrganization = {
|
|
136360
|
+
name: "serving-tenants-delete-organization",
|
|
136361
|
+
description: `Trigger organization deletion teardown
|
|
135738
136362
|
|
|
135739
|
-
|
|
135740
|
-
args:
|
|
135741
|
-
tool: async (client,
|
|
135742
|
-
const [result, apiCall] = await
|
|
136363
|
+
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.`,
|
|
136364
|
+
args: args311,
|
|
136365
|
+
tool: async (client, args312, ctx) => {
|
|
136366
|
+
const [result, apiCall] = await servingTenantsDeleteOrganization(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135743
136367
|
if (!result.ok) {
|
|
135744
136368
|
return {
|
|
135745
136369
|
content: [{ type: "text", text: result.error.message }],
|
|
135746
136370
|
isError: true
|
|
135747
136371
|
};
|
|
135748
136372
|
}
|
|
135749
|
-
|
|
136373
|
+
const value = result.value;
|
|
136374
|
+
return formatResult(value, apiCall);
|
|
135750
136375
|
}
|
|
135751
136376
|
};
|
|
135752
136377
|
});
|
|
135753
136378
|
|
|
135754
|
-
// src/funcs/
|
|
135755
|
-
function
|
|
135756
|
-
return new APIPromise($
|
|
136379
|
+
// src/funcs/servingTenantsGet.ts
|
|
136380
|
+
function servingTenantsGet(client, request, options) {
|
|
136381
|
+
return new APIPromise($do321(client, request, options));
|
|
135757
136382
|
}
|
|
135758
|
-
async function $
|
|
135759
|
-
const parsed = safeParse4(request, (value) =>
|
|
136383
|
+
async function $do321(client, request, options) {
|
|
136384
|
+
const parsed = safeParse4(request, (value) => GetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135760
136385
|
if (!parsed.ok) {
|
|
135761
136386
|
return [parsed, { status: "invalid" }];
|
|
135762
136387
|
}
|
|
135763
136388
|
const payload = parsed.value;
|
|
135764
136389
|
const body = null;
|
|
135765
|
-
const
|
|
135766
|
-
|
|
135767
|
-
|
|
135768
|
-
|
|
135769
|
-
|
|
136390
|
+
const pathParams = {
|
|
136391
|
+
org_id: encodeSimple("org_id", payload.org_id, {
|
|
136392
|
+
explode: false,
|
|
136393
|
+
charEncoding: "percent"
|
|
136394
|
+
})
|
|
136395
|
+
};
|
|
136396
|
+
const path = pathToFunc("/api/v1/serving/tenants/{org_id}")(pathParams);
|
|
135770
136397
|
const headers = new Headers(compactMap({
|
|
135771
136398
|
Accept: "application/json",
|
|
135772
136399
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -135777,7 +136404,7 @@ async function $do317(client, request, options) {
|
|
|
135777
136404
|
const context = {
|
|
135778
136405
|
options: client._options,
|
|
135779
136406
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
135780
|
-
operationID: "
|
|
136407
|
+
operationID: "getServingTenant",
|
|
135781
136408
|
oAuth2Scopes: null,
|
|
135782
136409
|
resolvedSecurity: requestSecurity,
|
|
135783
136410
|
securitySource: client._options.bearerAuth,
|
|
@@ -135799,7 +136426,6 @@ async function $do317(client, request, options) {
|
|
|
135799
136426
|
baseURL: options?.serverURL,
|
|
135800
136427
|
path,
|
|
135801
136428
|
headers,
|
|
135802
|
-
query,
|
|
135803
136429
|
body,
|
|
135804
136430
|
userAgent: client._options.userAgent,
|
|
135805
136431
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -135821,13 +136447,13 @@ async function $do317(client, request, options) {
|
|
|
135821
136447
|
const responseFields = {
|
|
135822
136448
|
HttpMeta: { Response: response, Request: req }
|
|
135823
136449
|
};
|
|
135824
|
-
const [result] = await match(json(200,
|
|
136450
|
+
const [result] = await match(json(200, ServingTenant$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135825
136451
|
if (!result.ok) {
|
|
135826
136452
|
return [result, { status: "complete", request: req, response }];
|
|
135827
136453
|
}
|
|
135828
136454
|
return [result, { status: "complete", request: req, response }];
|
|
135829
136455
|
}
|
|
135830
|
-
var
|
|
136456
|
+
var init_servingTenantsGet = __esm(() => {
|
|
135831
136457
|
init_encodings();
|
|
135832
136458
|
init_http();
|
|
135833
136459
|
init_matchers();
|
|
@@ -135841,23 +136467,23 @@ var init_servingSecretsList = __esm(() => {
|
|
|
135841
136467
|
init_async();
|
|
135842
136468
|
});
|
|
135843
136469
|
|
|
135844
|
-
// src/mcp-server/tools/
|
|
135845
|
-
var
|
|
135846
|
-
var
|
|
135847
|
-
|
|
136470
|
+
// src/mcp-server/tools/servingTenantsGet.ts
|
|
136471
|
+
var args312, tool$servingTenantsGet;
|
|
136472
|
+
var init_servingTenantsGet2 = __esm(() => {
|
|
136473
|
+
init_servingTenantsGet();
|
|
135848
136474
|
init_operations();
|
|
135849
136475
|
init_tools();
|
|
135850
|
-
|
|
135851
|
-
request:
|
|
136476
|
+
args312 = {
|
|
136477
|
+
request: GetServingTenantRequest$inboundSchema
|
|
135852
136478
|
};
|
|
135853
|
-
tool$
|
|
135854
|
-
name: "serving-
|
|
135855
|
-
description: `
|
|
136479
|
+
tool$servingTenantsGet = {
|
|
136480
|
+
name: "serving-tenants-get",
|
|
136481
|
+
description: `Get a serving tenant
|
|
135856
136482
|
|
|
135857
|
-
|
|
135858
|
-
args:
|
|
135859
|
-
tool: async (client,
|
|
135860
|
-
const [result, apiCall] = await
|
|
136483
|
+
Get one organization's serving enablement record. Cluster administrators only.`,
|
|
136484
|
+
args: args312,
|
|
136485
|
+
tool: async (client, args313, ctx) => {
|
|
136486
|
+
const [result, apiCall] = await servingTenantsGet(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135861
136487
|
if (!result.ok) {
|
|
135862
136488
|
return {
|
|
135863
136489
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135870,12 +136496,12 @@ List your secrets by name (values are never returned).`,
|
|
|
135870
136496
|
};
|
|
135871
136497
|
});
|
|
135872
136498
|
|
|
135873
|
-
// src/funcs/
|
|
135874
|
-
function
|
|
135875
|
-
return new APIPromise($
|
|
136499
|
+
// src/funcs/servingTenantsGetOrganizationDeletion.ts
|
|
136500
|
+
function servingTenantsGetOrganizationDeletion(client, request, options) {
|
|
136501
|
+
return new APIPromise($do322(client, request, options));
|
|
135876
136502
|
}
|
|
135877
|
-
async function $
|
|
135878
|
-
const parsed = safeParse4(request, (value) =>
|
|
136503
|
+
async function $do322(client, request, options) {
|
|
136504
|
+
const parsed = safeParse4(request, (value) => GetServingOrganizationDeletionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135879
136505
|
if (!parsed.ok) {
|
|
135880
136506
|
return [parsed, { status: "invalid" }];
|
|
135881
136507
|
}
|
|
@@ -135887,7 +136513,7 @@ async function $do318(client, request, options) {
|
|
|
135887
136513
|
charEncoding: "percent"
|
|
135888
136514
|
})
|
|
135889
136515
|
};
|
|
135890
|
-
const path = pathToFunc("/api/v1/serving/tenants/{org_id}")(pathParams);
|
|
136516
|
+
const path = pathToFunc("/api/v1/serving/tenants/{org_id}/deletion")(pathParams);
|
|
135891
136517
|
const headers = new Headers(compactMap({
|
|
135892
136518
|
Accept: "application/json",
|
|
135893
136519
|
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
@@ -135898,7 +136524,7 @@ async function $do318(client, request, options) {
|
|
|
135898
136524
|
const context = {
|
|
135899
136525
|
options: client._options,
|
|
135900
136526
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
135901
|
-
operationID: "
|
|
136527
|
+
operationID: "getServingOrganizationDeletion",
|
|
135902
136528
|
oAuth2Scopes: null,
|
|
135903
136529
|
resolvedSecurity: requestSecurity,
|
|
135904
136530
|
securitySource: client._options.bearerAuth,
|
|
@@ -135941,13 +136567,13 @@ async function $do318(client, request, options) {
|
|
|
135941
136567
|
const responseFields = {
|
|
135942
136568
|
HttpMeta: { Response: response, Request: req }
|
|
135943
136569
|
};
|
|
135944
|
-
const [result] = await match(json(200,
|
|
136570
|
+
const [result] = await match(json(200, ServingOrgTeardown$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135945
136571
|
if (!result.ok) {
|
|
135946
136572
|
return [result, { status: "complete", request: req, response }];
|
|
135947
136573
|
}
|
|
135948
136574
|
return [result, { status: "complete", request: req, response }];
|
|
135949
136575
|
}
|
|
135950
|
-
var
|
|
136576
|
+
var init_servingTenantsGetOrganizationDeletion = __esm(() => {
|
|
135951
136577
|
init_encodings();
|
|
135952
136578
|
init_http();
|
|
135953
136579
|
init_matchers();
|
|
@@ -135961,23 +136587,23 @@ var init_servingTenantsGet = __esm(() => {
|
|
|
135961
136587
|
init_async();
|
|
135962
136588
|
});
|
|
135963
136589
|
|
|
135964
|
-
// src/mcp-server/tools/
|
|
135965
|
-
var
|
|
135966
|
-
var
|
|
135967
|
-
|
|
136590
|
+
// src/mcp-server/tools/servingTenantsGetOrganizationDeletion.ts
|
|
136591
|
+
var args313, tool$servingTenantsGetOrganizationDeletion;
|
|
136592
|
+
var init_servingTenantsGetOrganizationDeletion2 = __esm(() => {
|
|
136593
|
+
init_servingTenantsGetOrganizationDeletion();
|
|
135968
136594
|
init_operations();
|
|
135969
136595
|
init_tools();
|
|
135970
|
-
|
|
135971
|
-
request:
|
|
136596
|
+
args313 = {
|
|
136597
|
+
request: GetServingOrganizationDeletionRequest$inboundSchema
|
|
135972
136598
|
};
|
|
135973
|
-
tool$
|
|
135974
|
-
name: "serving-tenants-get",
|
|
135975
|
-
description: `Get
|
|
136599
|
+
tool$servingTenantsGetOrganizationDeletion = {
|
|
136600
|
+
name: "serving-tenants-get-organization-deletion",
|
|
136601
|
+
description: `Get organization deletion teardown state
|
|
135976
136602
|
|
|
135977
|
-
|
|
135978
|
-
args:
|
|
135979
|
-
tool: async (client,
|
|
135980
|
-
const [result, apiCall] = await
|
|
136603
|
+
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.`,
|
|
136604
|
+
args: args313,
|
|
136605
|
+
tool: async (client, args314, ctx) => {
|
|
136606
|
+
const [result, apiCall] = await servingTenantsGetOrganizationDeletion(client, args314.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135981
136607
|
if (!result.ok) {
|
|
135982
136608
|
return {
|
|
135983
136609
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135992,9 +136618,9 @@ Get one organization's serving enablement record. Cluster administrators only.`,
|
|
|
135992
136618
|
|
|
135993
136619
|
// src/funcs/servingTenantsList.ts
|
|
135994
136620
|
function servingTenantsList(client, request, options) {
|
|
135995
|
-
return new APIPromise($
|
|
136621
|
+
return new APIPromise($do323(client, request, options));
|
|
135996
136622
|
}
|
|
135997
|
-
async function $
|
|
136623
|
+
async function $do323(client, request, options) {
|
|
135998
136624
|
const parsed = safeParse4(request, (value) => ListServingTenantsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135999
136625
|
if (!parsed.ok) {
|
|
136000
136626
|
return [parsed, { status: "invalid" }];
|
|
@@ -136081,12 +136707,12 @@ var init_servingTenantsList = __esm(() => {
|
|
|
136081
136707
|
});
|
|
136082
136708
|
|
|
136083
136709
|
// src/mcp-server/tools/servingTenantsList.ts
|
|
136084
|
-
var
|
|
136710
|
+
var args314, tool$servingTenantsList;
|
|
136085
136711
|
var init_servingTenantsList2 = __esm(() => {
|
|
136086
136712
|
init_servingTenantsList();
|
|
136087
136713
|
init_operations();
|
|
136088
136714
|
init_tools();
|
|
136089
|
-
|
|
136715
|
+
args314 = {
|
|
136090
136716
|
request: ListServingTenantsRequest$inboundSchema
|
|
136091
136717
|
};
|
|
136092
136718
|
tool$servingTenantsList = {
|
|
@@ -136094,9 +136720,9 @@ var init_servingTenantsList2 = __esm(() => {
|
|
|
136094
136720
|
description: `List serving tenants
|
|
136095
136721
|
|
|
136096
136722
|
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,
|
|
136723
|
+
args: args314,
|
|
136724
|
+
tool: async (client, args315, ctx) => {
|
|
136725
|
+
const [result, apiCall] = await servingTenantsList(client, args315.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136100
136726
|
if (!result.ok) {
|
|
136101
136727
|
return {
|
|
136102
136728
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136111,9 +136737,9 @@ List organization-wide serving enablement records. Cluster administrators only;
|
|
|
136111
136737
|
|
|
136112
136738
|
// src/funcs/servingTenantsSet.ts
|
|
136113
136739
|
function servingTenantsSet(client, request, options) {
|
|
136114
|
-
return new APIPromise($
|
|
136740
|
+
return new APIPromise($do324(client, request, options));
|
|
136115
136741
|
}
|
|
136116
|
-
async function $
|
|
136742
|
+
async function $do324(client, request, options) {
|
|
136117
136743
|
const parsed = safeParse4(request, (value) => SetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136118
136744
|
if (!parsed.ok) {
|
|
136119
136745
|
return [parsed, { status: "invalid" }];
|
|
@@ -136202,12 +136828,12 @@ var init_servingTenantsSet = __esm(() => {
|
|
|
136202
136828
|
});
|
|
136203
136829
|
|
|
136204
136830
|
// src/mcp-server/tools/servingTenantsSet.ts
|
|
136205
|
-
var
|
|
136831
|
+
var args315, tool$servingTenantsSet;
|
|
136206
136832
|
var init_servingTenantsSet2 = __esm(() => {
|
|
136207
136833
|
init_servingTenantsSet();
|
|
136208
136834
|
init_operations();
|
|
136209
136835
|
init_tools();
|
|
136210
|
-
|
|
136836
|
+
args315 = {
|
|
136211
136837
|
request: SetServingTenantRequest$inboundSchema
|
|
136212
136838
|
};
|
|
136213
136839
|
tool$servingTenantsSet = {
|
|
@@ -136215,9 +136841,9 @@ var init_servingTenantsSet2 = __esm(() => {
|
|
|
136215
136841
|
description: `Set serving tenant enablement
|
|
136216
136842
|
|
|
136217
136843
|
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,
|
|
136844
|
+
args: args315,
|
|
136845
|
+
tool: async (client, args316, ctx) => {
|
|
136846
|
+
const [result, apiCall] = await servingTenantsSet(client, args316.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136221
136847
|
if (!result.ok) {
|
|
136222
136848
|
return {
|
|
136223
136849
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136232,9 +136858,9 @@ Enable or disable serving for an organization and all of its teams. Disabling bl
|
|
|
136232
136858
|
|
|
136233
136859
|
// src/funcs/servingVolumesCreate.ts
|
|
136234
136860
|
function servingVolumesCreate(client, request, options) {
|
|
136235
|
-
return new APIPromise($
|
|
136861
|
+
return new APIPromise($do325(client, request, options));
|
|
136236
136862
|
}
|
|
136237
|
-
async function $
|
|
136863
|
+
async function $do325(client, request, options) {
|
|
136238
136864
|
const parsed = safeParse4(request, (value) => CreateVolumeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136239
136865
|
if (!parsed.ok) {
|
|
136240
136866
|
return [parsed, { status: "invalid" }];
|
|
@@ -136317,12 +136943,12 @@ var init_servingVolumesCreate = __esm(() => {
|
|
|
136317
136943
|
});
|
|
136318
136944
|
|
|
136319
136945
|
// src/mcp-server/tools/servingVolumesCreate.ts
|
|
136320
|
-
var
|
|
136946
|
+
var args316, tool$servingVolumesCreate;
|
|
136321
136947
|
var init_servingVolumesCreate2 = __esm(() => {
|
|
136322
136948
|
init_servingVolumesCreate();
|
|
136323
136949
|
init_operations();
|
|
136324
136950
|
init_tools();
|
|
136325
|
-
|
|
136951
|
+
args316 = {
|
|
136326
136952
|
request: CreateVolumeRequest$inboundSchema
|
|
136327
136953
|
};
|
|
136328
136954
|
tool$servingVolumesCreate = {
|
|
@@ -136330,9 +136956,9 @@ var init_servingVolumesCreate2 = __esm(() => {
|
|
|
136330
136956
|
description: `Create a volume
|
|
136331
136957
|
|
|
136332
136958
|
Create a persistent volume for weights, datasets, or checkpoints.`,
|
|
136333
|
-
args:
|
|
136334
|
-
tool: async (client,
|
|
136335
|
-
const [result, apiCall] = await servingVolumesCreate(client,
|
|
136959
|
+
args: args316,
|
|
136960
|
+
tool: async (client, args317, ctx) => {
|
|
136961
|
+
const [result, apiCall] = await servingVolumesCreate(client, args317.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136336
136962
|
if (!result.ok) {
|
|
136337
136963
|
return {
|
|
136338
136964
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136347,9 +136973,9 @@ Create a persistent volume for weights, datasets, or checkpoints.`,
|
|
|
136347
136973
|
|
|
136348
136974
|
// src/funcs/servingVolumesDelete.ts
|
|
136349
136975
|
function servingVolumesDelete(client, request, options) {
|
|
136350
|
-
return new APIPromise($
|
|
136976
|
+
return new APIPromise($do326(client, request, options));
|
|
136351
136977
|
}
|
|
136352
|
-
async function $
|
|
136978
|
+
async function $do326(client, request, options) {
|
|
136353
136979
|
const parsed = safeParse4(request, (value) => DeleteVolumeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136354
136980
|
if (!parsed.ok) {
|
|
136355
136981
|
return [parsed, { status: "invalid" }];
|
|
@@ -136437,12 +137063,12 @@ var init_servingVolumesDelete = __esm(() => {
|
|
|
136437
137063
|
});
|
|
136438
137064
|
|
|
136439
137065
|
// src/mcp-server/tools/servingVolumesDelete.ts
|
|
136440
|
-
var
|
|
137066
|
+
var args317, tool$servingVolumesDelete;
|
|
136441
137067
|
var init_servingVolumesDelete2 = __esm(() => {
|
|
136442
137068
|
init_servingVolumesDelete();
|
|
136443
137069
|
init_operations();
|
|
136444
137070
|
init_tools();
|
|
136445
|
-
|
|
137071
|
+
args317 = {
|
|
136446
137072
|
request: DeleteVolumeRequest$inboundSchema
|
|
136447
137073
|
};
|
|
136448
137074
|
tool$servingVolumesDelete = {
|
|
@@ -136450,9 +137076,9 @@ var init_servingVolumesDelete2 = __esm(() => {
|
|
|
136450
137076
|
description: `Delete a volume
|
|
136451
137077
|
|
|
136452
137078
|
Delete a volume and its contents.`,
|
|
136453
|
-
args:
|
|
136454
|
-
tool: async (client,
|
|
136455
|
-
const [result, apiCall] = await servingVolumesDelete(client,
|
|
137079
|
+
args: args317,
|
|
137080
|
+
tool: async (client, args318, ctx) => {
|
|
137081
|
+
const [result, apiCall] = await servingVolumesDelete(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136456
137082
|
if (!result.ok) {
|
|
136457
137083
|
return {
|
|
136458
137084
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136466,9 +137092,9 @@ Delete a volume and its contents.`,
|
|
|
136466
137092
|
|
|
136467
137093
|
// src/funcs/servingVolumesGet.ts
|
|
136468
137094
|
function servingVolumesGet(client, request, options) {
|
|
136469
|
-
return new APIPromise($
|
|
137095
|
+
return new APIPromise($do327(client, request, options));
|
|
136470
137096
|
}
|
|
136471
|
-
async function $
|
|
137097
|
+
async function $do327(client, request, options) {
|
|
136472
137098
|
const parsed = safeParse4(request, (value) => GetVolumeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136473
137099
|
if (!parsed.ok) {
|
|
136474
137100
|
return [parsed, { status: "invalid" }];
|
|
@@ -136556,12 +137182,12 @@ var init_servingVolumesGet = __esm(() => {
|
|
|
136556
137182
|
});
|
|
136557
137183
|
|
|
136558
137184
|
// src/mcp-server/tools/servingVolumesGet.ts
|
|
136559
|
-
var
|
|
137185
|
+
var args318, tool$servingVolumesGet;
|
|
136560
137186
|
var init_servingVolumesGet2 = __esm(() => {
|
|
136561
137187
|
init_servingVolumesGet();
|
|
136562
137188
|
init_operations();
|
|
136563
137189
|
init_tools();
|
|
136564
|
-
|
|
137190
|
+
args318 = {
|
|
136565
137191
|
request: GetVolumeRequest$inboundSchema
|
|
136566
137192
|
};
|
|
136567
137193
|
tool$servingVolumesGet = {
|
|
@@ -136569,9 +137195,9 @@ var init_servingVolumesGet2 = __esm(() => {
|
|
|
136569
137195
|
description: `Get a volume
|
|
136570
137196
|
|
|
136571
137197
|
Retrieve a volume.`,
|
|
136572
|
-
args:
|
|
136573
|
-
tool: async (client,
|
|
136574
|
-
const [result, apiCall] = await servingVolumesGet(client,
|
|
137198
|
+
args: args318,
|
|
137199
|
+
tool: async (client, args319, ctx) => {
|
|
137200
|
+
const [result, apiCall] = await servingVolumesGet(client, args319.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136575
137201
|
if (!result.ok) {
|
|
136576
137202
|
return {
|
|
136577
137203
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136586,9 +137212,9 @@ Retrieve a volume.`,
|
|
|
136586
137212
|
|
|
136587
137213
|
// src/funcs/servingVolumesList.ts
|
|
136588
137214
|
function servingVolumesList(client, request, options) {
|
|
136589
|
-
return new APIPromise($
|
|
137215
|
+
return new APIPromise($do328(client, request, options));
|
|
136590
137216
|
}
|
|
136591
|
-
async function $
|
|
137217
|
+
async function $do328(client, request, options) {
|
|
136592
137218
|
const parsed = safeParse4(request, (value) => ListVolumesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136593
137219
|
if (!parsed.ok) {
|
|
136594
137220
|
return [parsed, { status: "invalid" }];
|
|
@@ -136675,12 +137301,12 @@ var init_servingVolumesList = __esm(() => {
|
|
|
136675
137301
|
});
|
|
136676
137302
|
|
|
136677
137303
|
// src/mcp-server/tools/servingVolumesList.ts
|
|
136678
|
-
var
|
|
137304
|
+
var args319, tool$servingVolumesList;
|
|
136679
137305
|
var init_servingVolumesList2 = __esm(() => {
|
|
136680
137306
|
init_servingVolumesList();
|
|
136681
137307
|
init_operations();
|
|
136682
137308
|
init_tools();
|
|
136683
|
-
|
|
137309
|
+
args319 = {
|
|
136684
137310
|
request: ListVolumesRequest$inboundSchema
|
|
136685
137311
|
};
|
|
136686
137312
|
tool$servingVolumesList = {
|
|
@@ -136688,9 +137314,9 @@ var init_servingVolumesList2 = __esm(() => {
|
|
|
136688
137314
|
description: `List volumes
|
|
136689
137315
|
|
|
136690
137316
|
List your volumes.`,
|
|
136691
|
-
args:
|
|
136692
|
-
tool: async (client,
|
|
136693
|
-
const [result, apiCall] = await servingVolumesList(client,
|
|
137317
|
+
args: args319,
|
|
137318
|
+
tool: async (client, args320, ctx) => {
|
|
137319
|
+
const [result, apiCall] = await servingVolumesList(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136694
137320
|
if (!result.ok) {
|
|
136695
137321
|
return {
|
|
136696
137322
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136705,9 +137331,9 @@ List your volumes.`,
|
|
|
136705
137331
|
|
|
136706
137332
|
// src/funcs/usageCosts.ts
|
|
136707
137333
|
function usageCosts(client, request, options) {
|
|
136708
|
-
return new APIPromise($
|
|
137334
|
+
return new APIPromise($do329(client, request, options));
|
|
136709
137335
|
}
|
|
136710
|
-
async function $
|
|
137336
|
+
async function $do329(client, request, options) {
|
|
136711
137337
|
const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136712
137338
|
if (!parsed.ok) {
|
|
136713
137339
|
return [parsed, { status: "invalid" }];
|
|
@@ -136790,12 +137416,12 @@ var init_usageCosts = __esm(() => {
|
|
|
136790
137416
|
});
|
|
136791
137417
|
|
|
136792
137418
|
// src/mcp-server/tools/usageCosts.ts
|
|
136793
|
-
var
|
|
137419
|
+
var args320, tool$usageCosts;
|
|
136794
137420
|
var init_usageCosts2 = __esm(() => {
|
|
136795
137421
|
init_usageCosts();
|
|
136796
137422
|
init_operations();
|
|
136797
137423
|
init_tools();
|
|
136798
|
-
|
|
137424
|
+
args320 = {
|
|
136799
137425
|
request: GetCostsRequest$inboundSchema
|
|
136800
137426
|
};
|
|
136801
137427
|
tool$usageCosts = {
|
|
@@ -136803,9 +137429,9 @@ var init_usageCosts2 = __esm(() => {
|
|
|
136803
137429
|
description: `Aggregate cost by dimension
|
|
136804
137430
|
|
|
136805
137431
|
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,
|
|
137432
|
+
args: args320,
|
|
137433
|
+
tool: async (client, args321, ctx) => {
|
|
137434
|
+
const [result, apiCall] = await usageCosts(client, args321.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136809
137435
|
if (!result.ok) {
|
|
136810
137436
|
return {
|
|
136811
137437
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136820,9 +137446,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
|
|
|
136820
137446
|
|
|
136821
137447
|
// src/funcs/usageSandbox.ts
|
|
136822
137448
|
function usageSandbox(client, request, options) {
|
|
136823
|
-
return new APIPromise($
|
|
137449
|
+
return new APIPromise($do330(client, request, options));
|
|
136824
137450
|
}
|
|
136825
|
-
async function $
|
|
137451
|
+
async function $do330(client, request, options) {
|
|
136826
137452
|
const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136827
137453
|
if (!parsed.ok) {
|
|
136828
137454
|
return [parsed, { status: "invalid" }];
|
|
@@ -136913,12 +137539,12 @@ var init_usageSandbox = __esm(() => {
|
|
|
136913
137539
|
});
|
|
136914
137540
|
|
|
136915
137541
|
// src/mcp-server/tools/usageSandbox.ts
|
|
136916
|
-
var
|
|
137542
|
+
var args321, tool$usageSandbox;
|
|
136917
137543
|
var init_usageSandbox2 = __esm(() => {
|
|
136918
137544
|
init_usageSandbox();
|
|
136919
137545
|
init_operations();
|
|
136920
137546
|
init_tools();
|
|
136921
|
-
|
|
137547
|
+
args321 = {
|
|
136922
137548
|
request: GetSandboxUsageRequest$inboundSchema
|
|
136923
137549
|
};
|
|
136924
137550
|
tool$usageSandbox = {
|
|
@@ -136926,9 +137552,9 @@ var init_usageSandbox2 = __esm(() => {
|
|
|
136926
137552
|
description: `Get Sandbox Usage
|
|
136927
137553
|
|
|
136928
137554
|
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,
|
|
137555
|
+
args: args321,
|
|
137556
|
+
tool: async (client, args322, ctx) => {
|
|
137557
|
+
const [result, apiCall] = await usageSandbox(client, args322.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136932
137558
|
if (!result.ok) {
|
|
136933
137559
|
return {
|
|
136934
137560
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136945,7 +137571,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
136945
137571
|
function createMCPServer(deps) {
|
|
136946
137572
|
const server = new McpServer({
|
|
136947
137573
|
name: "SDK",
|
|
136948
|
-
version: "0.51.
|
|
137574
|
+
version: "0.51.8"
|
|
136949
137575
|
});
|
|
136950
137576
|
const client = new SDKCore({
|
|
136951
137577
|
bearerAuth: deps.bearerAuth,
|
|
@@ -137074,6 +137700,8 @@ function createMCPServer(deps) {
|
|
|
137074
137700
|
tool(tool$llmFeedbackGetResponseFeedback);
|
|
137075
137701
|
tool(tool$llmFeedbackUpdateResponseFeedback);
|
|
137076
137702
|
tool(tool$llmFeedbackBatchGetResponseFeedback);
|
|
137703
|
+
tool(tool$llmFeedbackExportCompletionFeedback);
|
|
137704
|
+
tool(tool$llmFeedbackExportResponseFeedback);
|
|
137077
137705
|
tool(tool$llmFeedbackStartExport);
|
|
137078
137706
|
tool(tool$llmFeedbackGetExportStatus);
|
|
137079
137707
|
tool(tool$llmFilesUpload);
|
|
@@ -137268,7 +137896,7 @@ function createMCPServer(deps) {
|
|
|
137268
137896
|
tool(tool$servingFinetuneJobsGetEvents);
|
|
137269
137897
|
tool(tool$servingFinetuneJobsGetLogs);
|
|
137270
137898
|
tool(tool$servingImagesList);
|
|
137271
|
-
tool(tool$
|
|
137899
|
+
tool(tool$servingImagesRegister);
|
|
137272
137900
|
tool(tool$servingImagesDelete);
|
|
137273
137901
|
tool(tool$servingImagesGet);
|
|
137274
137902
|
tool(tool$servingModelsList);
|
|
@@ -137281,6 +137909,8 @@ function createMCPServer(deps) {
|
|
|
137281
137909
|
tool(tool$servingTenantsList);
|
|
137282
137910
|
tool(tool$servingTenantsGet);
|
|
137283
137911
|
tool(tool$servingTenantsSet);
|
|
137912
|
+
tool(tool$servingTenantsGetOrganizationDeletion);
|
|
137913
|
+
tool(tool$servingTenantsDeleteOrganization);
|
|
137284
137914
|
tool(tool$servingVolumesList);
|
|
137285
137915
|
tool(tool$servingVolumesCreate);
|
|
137286
137916
|
tool(tool$servingVolumesDelete);
|
|
@@ -137425,6 +138055,8 @@ var init_server2 = __esm(() => {
|
|
|
137425
138055
|
init_llmFeedbackBatchGetResponseFeedback2();
|
|
137426
138056
|
init_llmFeedbackCreateCompletionFeedback2();
|
|
137427
138057
|
init_llmFeedbackCreateResponseFeedback2();
|
|
138058
|
+
init_llmFeedbackExportCompletionFeedback2();
|
|
138059
|
+
init_llmFeedbackExportResponseFeedback2();
|
|
137428
138060
|
init_llmFeedbackGetCompletionFeedback2();
|
|
137429
138061
|
init_llmFeedbackGetExportStatus2();
|
|
137430
138062
|
init_llmFeedbackGetResponseFeedback2();
|
|
@@ -137598,10 +138230,10 @@ var init_server2 = __esm(() => {
|
|
|
137598
138230
|
init_servingFinetuneJobsGetLogs2();
|
|
137599
138231
|
init_servingFinetuneJobsList2();
|
|
137600
138232
|
init_servingFinetuneJobsListCheckpoints2();
|
|
137601
|
-
init_servingImagesBuild2();
|
|
137602
138233
|
init_servingImagesDelete2();
|
|
137603
138234
|
init_servingImagesGet2();
|
|
137604
138235
|
init_servingImagesList2();
|
|
138236
|
+
init_servingImagesRegister2();
|
|
137605
138237
|
init_servingModelsDelete2();
|
|
137606
138238
|
init_servingModelsGet2();
|
|
137607
138239
|
init_servingModelsList2();
|
|
@@ -137609,7 +138241,9 @@ var init_server2 = __esm(() => {
|
|
|
137609
138241
|
init_servingSecretsCreate2();
|
|
137610
138242
|
init_servingSecretsDelete2();
|
|
137611
138243
|
init_servingSecretsList2();
|
|
138244
|
+
init_servingTenantsDeleteOrganization2();
|
|
137612
138245
|
init_servingTenantsGet2();
|
|
138246
|
+
init_servingTenantsGetOrganizationDeletion2();
|
|
137613
138247
|
init_servingTenantsList2();
|
|
137614
138248
|
init_servingTenantsSet2();
|
|
137615
138249
|
init_servingVolumesCreate2();
|
|
@@ -138795,7 +139429,7 @@ var routes = rn({
|
|
|
138795
139429
|
var app = Ve(routes, {
|
|
138796
139430
|
name: "mcp",
|
|
138797
139431
|
versionInfo: {
|
|
138798
|
-
currentVersion: "0.51.
|
|
139432
|
+
currentVersion: "0.51.8"
|
|
138799
139433
|
}
|
|
138800
139434
|
});
|
|
138801
139435
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -138803,5 +139437,5 @@ export {
|
|
|
138803
139437
|
app
|
|
138804
139438
|
};
|
|
138805
139439
|
|
|
138806
|
-
//# debugId=
|
|
139440
|
+
//# debugId=FBE4016E3B80325464756E2164756E21
|
|
138807
139441
|
//# sourceMappingURL=mcp-server.js.map
|