@meetkai/mka1 0.51.3 → 0.51.5
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 +227 -239
- package/bin/mcp-server.js +65 -707
- package/bin/mcp-server.js.map +20 -35
- package/dist/commonjs/funcs/servingDeploymentsCreate.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsCreate.js.map +1 -1
- package/dist/commonjs/funcs/servingDeploymentsDelete.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsDelete.js.map +1 -1
- package/dist/commonjs/funcs/servingDeploymentsGet.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsGet.js.map +1 -1
- package/dist/commonjs/funcs/servingDeploymentsList.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsList.js.map +1 -1
- package/dist/commonjs/funcs/servingDeploymentsListRevisions.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsListRevisions.js.map +1 -1
- package/dist/commonjs/funcs/servingDeploymentsUpdate.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/servingDeploymentsUpdateScaling.js +1 -3
- package/dist/commonjs/funcs/servingDeploymentsUpdateScaling.js.map +1 -1
- package/dist/commonjs/funcs/servingModelsDelete.js +1 -1
- package/dist/commonjs/funcs/servingModelsDelete.js.map +1 -1
- package/dist/commonjs/funcs/servingSecretsDelete.js +1 -1
- package/dist/commonjs/funcs/servingSecretsDelete.js.map +1 -1
- 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 +1 -7
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/models/components/deploymentcreate.d.ts +5 -26
- package/dist/commonjs/models/components/deploymentcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/deploymentcreate.js +3 -16
- package/dist/commonjs/models/components/deploymentcreate.js.map +1 -1
- package/dist/commonjs/models/components/deploymentupdate.d.ts +0 -7
- package/dist/commonjs/models/components/deploymentupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/deploymentupdate.js +0 -9
- package/dist/commonjs/models/components/deploymentupdate.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +0 -6
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +0 -6
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +0 -3
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +0 -3
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/updatescaling.d.ts +2 -2
- package/dist/commonjs/models/operations/updatescaling.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatescaling.js +4 -4
- package/dist/commonjs/models/operations/updatescaling.js.map +1 -1
- package/dist/commonjs/react-query/index.d.ts +0 -3
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +0 -3
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/sdk/serving.d.ts +0 -3
- package/dist/commonjs/sdk/serving.d.ts.map +1 -1
- package/dist/commonjs/sdk/serving.js +0 -4
- package/dist/commonjs/sdk/serving.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsCreate.js +1 -1
- package/dist/esm/funcs/servingDeploymentsCreate.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsDelete.js +1 -1
- package/dist/esm/funcs/servingDeploymentsDelete.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsGet.js +1 -1
- package/dist/esm/funcs/servingDeploymentsGet.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsList.js +1 -1
- package/dist/esm/funcs/servingDeploymentsList.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsListRevisions.js +1 -1
- package/dist/esm/funcs/servingDeploymentsListRevisions.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsUpdate.js +1 -1
- package/dist/esm/funcs/servingDeploymentsUpdate.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsUpdateScaling.js +1 -3
- package/dist/esm/funcs/servingDeploymentsUpdateScaling.js.map +1 -1
- package/dist/esm/funcs/servingModelsDelete.js +1 -1
- package/dist/esm/funcs/servingModelsDelete.js.map +1 -1
- package/dist/esm/funcs/servingSecretsDelete.js +1 -1
- package/dist/esm/funcs/servingSecretsDelete.js.map +1 -1
- 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 +1 -7
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/models/components/deploymentcreate.d.ts +5 -26
- package/dist/esm/models/components/deploymentcreate.d.ts.map +1 -1
- package/dist/esm/models/components/deploymentcreate.js +3 -16
- package/dist/esm/models/components/deploymentcreate.js.map +1 -1
- package/dist/esm/models/components/deploymentupdate.d.ts +0 -7
- package/dist/esm/models/components/deploymentupdate.d.ts.map +1 -1
- package/dist/esm/models/components/deploymentupdate.js +0 -9
- package/dist/esm/models/components/deploymentupdate.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +0 -6
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +0 -6
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +0 -3
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +0 -3
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/updatescaling.d.ts +2 -2
- package/dist/esm/models/operations/updatescaling.d.ts.map +1 -1
- package/dist/esm/models/operations/updatescaling.js +4 -4
- package/dist/esm/models/operations/updatescaling.js.map +1 -1
- package/dist/esm/react-query/index.d.ts +0 -3
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +0 -3
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/sdk/serving.d.ts +0 -3
- package/dist/esm/sdk/serving.d.ts.map +1 -1
- package/dist/esm/sdk/serving.js +0 -4
- package/dist/esm/sdk/serving.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/servingDeploymentsCreate.ts +2 -3
- package/src/funcs/servingDeploymentsDelete.ts +2 -3
- package/src/funcs/servingDeploymentsGet.ts +2 -3
- package/src/funcs/servingDeploymentsList.ts +2 -3
- package/src/funcs/servingDeploymentsListRevisions.ts +2 -3
- package/src/funcs/servingDeploymentsUpdate.ts +2 -3
- package/src/funcs/servingDeploymentsUpdateScaling.ts +1 -3
- package/src/funcs/servingModelsDelete.ts +1 -1
- package/src/funcs/servingSecretsDelete.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -7
- package/src/models/components/deploymentcreate.ts +12 -49
- package/src/models/components/deploymentupdate.ts +0 -19
- package/src/models/components/index.ts +0 -6
- package/src/models/operations/index.ts +0 -3
- package/src/models/operations/updatescaling.ts +6 -6
- package/src/react-query/index.ts +0 -3
- package/src/sdk/serving.ts +0 -6
- package/dist/commonjs/funcs/servingTenantsGet.d.ts +0 -19
- package/dist/commonjs/funcs/servingTenantsGet.d.ts.map +0 -1
- package/dist/commonjs/funcs/servingTenantsGet.js +0 -136
- package/dist/commonjs/funcs/servingTenantsGet.js.map +0 -1
- package/dist/commonjs/funcs/servingTenantsList.d.ts +0 -19
- package/dist/commonjs/funcs/servingTenantsList.d.ts.map +0 -1
- package/dist/commonjs/funcs/servingTenantsList.js +0 -135
- package/dist/commonjs/funcs/servingTenantsList.js.map +0 -1
- package/dist/commonjs/funcs/servingTenantsSet.d.ts +0 -19
- package/dist/commonjs/funcs/servingTenantsSet.d.ts.map +0 -1
- package/dist/commonjs/funcs/servingTenantsSet.js +0 -137
- package/dist/commonjs/funcs/servingTenantsSet.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsGet.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/servingTenantsGet.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsGet.js +0 -64
- package/dist/commonjs/mcp-server/tools/servingTenantsGet.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsList.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/servingTenantsList.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsList.js +0 -64
- package/dist/commonjs/mcp-server/tools/servingTenantsList.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsSet.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/servingTenantsSet.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsSet.js +0 -64
- package/dist/commonjs/mcp-server/tools/servingTenantsSet.js.map +0 -1
- package/dist/commonjs/models/components/deploymentapiformat.d.ts +0 -22
- package/dist/commonjs/models/components/deploymentapiformat.d.ts.map +0 -1
- package/dist/commonjs/models/components/deploymentapiformat.js +0 -56
- package/dist/commonjs/models/components/deploymentapiformat.js.map +0 -1
- package/dist/commonjs/models/components/deploymentscalingcreate.d.ts +0 -31
- package/dist/commonjs/models/components/deploymentscalingcreate.d.ts.map +0 -1
- package/dist/commonjs/models/components/deploymentscalingcreate.js +0 -83
- package/dist/commonjs/models/components/deploymentscalingcreate.js.map +0 -1
- package/dist/commonjs/models/components/deploymentscalingupdate.d.ts +0 -28
- package/dist/commonjs/models/components/deploymentscalingupdate.d.ts.map +0 -1
- package/dist/commonjs/models/components/deploymentscalingupdate.js +0 -83
- package/dist/commonjs/models/components/deploymentscalingupdate.js.map +0 -1
- package/dist/commonjs/models/components/pageservingtenant.d.ts +0 -22
- package/dist/commonjs/models/components/pageservingtenant.d.ts.map +0 -1
- package/dist/commonjs/models/components/pageservingtenant.js +0 -72
- package/dist/commonjs/models/components/pageservingtenant.js.map +0 -1
- package/dist/commonjs/models/components/servingtenant.d.ts +0 -28
- package/dist/commonjs/models/components/servingtenant.d.ts.map +0 -1
- package/dist/commonjs/models/components/servingtenant.js +0 -81
- package/dist/commonjs/models/components/servingtenant.js.map +0 -1
- package/dist/commonjs/models/components/servingtenantset.d.ts +0 -20
- package/dist/commonjs/models/components/servingtenantset.d.ts.map +0 -1
- package/dist/commonjs/models/components/servingtenantset.js +0 -58
- package/dist/commonjs/models/components/servingtenantset.js.map +0 -1
- package/dist/commonjs/models/operations/getservingtenant.d.ts +0 -22
- package/dist/commonjs/models/operations/getservingtenant.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getservingtenant.js +0 -71
- package/dist/commonjs/models/operations/getservingtenant.js.map +0 -1
- package/dist/commonjs/models/operations/listservingtenants.d.ts +0 -24
- package/dist/commonjs/models/operations/listservingtenants.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listservingtenants.js +0 -71
- package/dist/commonjs/models/operations/listservingtenants.js.map +0 -1
- package/dist/commonjs/models/operations/setservingtenant.d.ts +0 -25
- package/dist/commonjs/models/operations/setservingtenant.d.ts.map +0 -1
- package/dist/commonjs/models/operations/setservingtenant.js +0 -76
- package/dist/commonjs/models/operations/setservingtenant.js.map +0 -1
- package/dist/commonjs/react-query/servingTenantsGet.core.d.ts +0 -15
- package/dist/commonjs/react-query/servingTenantsGet.core.d.ts.map +0 -1
- package/dist/commonjs/react-query/servingTenantsGet.core.js +0 -36
- package/dist/commonjs/react-query/servingTenantsGet.core.js.map +0 -1
- package/dist/commonjs/react-query/servingTenantsGet.d.ts +0 -39
- package/dist/commonjs/react-query/servingTenantsGet.d.ts.map +0 -1
- package/dist/commonjs/react-query/servingTenantsGet.js +0 -60
- package/dist/commonjs/react-query/servingTenantsGet.js.map +0 -1
- package/dist/commonjs/react-query/servingTenantsList.core.d.ts +0 -17
- package/dist/commonjs/react-query/servingTenantsList.core.d.ts.map +0 -1
- package/dist/commonjs/react-query/servingTenantsList.core.js +0 -38
- package/dist/commonjs/react-query/servingTenantsList.core.js.map +0 -1
- package/dist/commonjs/react-query/servingTenantsList.d.ts +0 -41
- package/dist/commonjs/react-query/servingTenantsList.d.ts.map +0 -1
- package/dist/commonjs/react-query/servingTenantsList.js +0 -60
- package/dist/commonjs/react-query/servingTenantsList.js.map +0 -1
- package/dist/commonjs/react-query/servingTenantsSet.d.ts +0 -30
- package/dist/commonjs/react-query/servingTenantsSet.d.ts.map +0 -1
- package/dist/commonjs/react-query/servingTenantsSet.js +0 -47
- package/dist/commonjs/react-query/servingTenantsSet.js.map +0 -1
- package/dist/commonjs/sdk/tenants.d.ts +0 -27
- package/dist/commonjs/sdk/tenants.d.ts.map +0 -1
- package/dist/commonjs/sdk/tenants.js +0 -42
- package/dist/commonjs/sdk/tenants.js.map +0 -1
- package/dist/esm/funcs/servingTenantsGet.d.ts +0 -19
- package/dist/esm/funcs/servingTenantsGet.d.ts.map +0 -1
- package/dist/esm/funcs/servingTenantsGet.js +0 -100
- package/dist/esm/funcs/servingTenantsGet.js.map +0 -1
- package/dist/esm/funcs/servingTenantsList.d.ts +0 -19
- package/dist/esm/funcs/servingTenantsList.d.ts.map +0 -1
- package/dist/esm/funcs/servingTenantsList.js +0 -99
- package/dist/esm/funcs/servingTenantsList.js.map +0 -1
- package/dist/esm/funcs/servingTenantsSet.d.ts +0 -19
- package/dist/esm/funcs/servingTenantsSet.d.ts.map +0 -1
- package/dist/esm/funcs/servingTenantsSet.js +0 -101
- package/dist/esm/funcs/servingTenantsSet.js.map +0 -1
- package/dist/esm/mcp-server/tools/servingTenantsGet.d.ts +0 -8
- package/dist/esm/mcp-server/tools/servingTenantsGet.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/servingTenantsGet.js +0 -28
- package/dist/esm/mcp-server/tools/servingTenantsGet.js.map +0 -1
- package/dist/esm/mcp-server/tools/servingTenantsList.d.ts +0 -8
- package/dist/esm/mcp-server/tools/servingTenantsList.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/servingTenantsList.js +0 -28
- package/dist/esm/mcp-server/tools/servingTenantsList.js.map +0 -1
- package/dist/esm/mcp-server/tools/servingTenantsSet.d.ts +0 -8
- package/dist/esm/mcp-server/tools/servingTenantsSet.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/servingTenantsSet.js +0 -28
- package/dist/esm/mcp-server/tools/servingTenantsSet.js.map +0 -1
- package/dist/esm/models/components/deploymentapiformat.d.ts +0 -22
- package/dist/esm/models/components/deploymentapiformat.d.ts.map +0 -1
- package/dist/esm/models/components/deploymentapiformat.js +0 -20
- package/dist/esm/models/components/deploymentapiformat.js.map +0 -1
- package/dist/esm/models/components/deploymentscalingcreate.d.ts +0 -31
- package/dist/esm/models/components/deploymentscalingcreate.d.ts.map +0 -1
- package/dist/esm/models/components/deploymentscalingcreate.js +0 -45
- package/dist/esm/models/components/deploymentscalingcreate.js.map +0 -1
- package/dist/esm/models/components/deploymentscalingupdate.d.ts +0 -28
- package/dist/esm/models/components/deploymentscalingupdate.d.ts.map +0 -1
- package/dist/esm/models/components/deploymentscalingupdate.js +0 -45
- package/dist/esm/models/components/deploymentscalingupdate.js.map +0 -1
- package/dist/esm/models/components/pageservingtenant.d.ts +0 -22
- package/dist/esm/models/components/pageservingtenant.d.ts.map +0 -1
- package/dist/esm/models/components/pageservingtenant.js +0 -34
- package/dist/esm/models/components/pageservingtenant.js.map +0 -1
- package/dist/esm/models/components/servingtenant.d.ts +0 -28
- package/dist/esm/models/components/servingtenant.d.ts.map +0 -1
- package/dist/esm/models/components/servingtenant.js +0 -43
- package/dist/esm/models/components/servingtenant.js.map +0 -1
- package/dist/esm/models/components/servingtenantset.d.ts +0 -20
- package/dist/esm/models/components/servingtenantset.d.ts.map +0 -1
- package/dist/esm/models/components/servingtenantset.js +0 -20
- package/dist/esm/models/components/servingtenantset.js.map +0 -1
- package/dist/esm/models/operations/getservingtenant.d.ts +0 -22
- package/dist/esm/models/operations/getservingtenant.d.ts.map +0 -1
- package/dist/esm/models/operations/getservingtenant.js +0 -33
- package/dist/esm/models/operations/getservingtenant.js.map +0 -1
- package/dist/esm/models/operations/listservingtenants.d.ts +0 -24
- package/dist/esm/models/operations/listservingtenants.d.ts.map +0 -1
- package/dist/esm/models/operations/listservingtenants.js +0 -33
- package/dist/esm/models/operations/listservingtenants.js.map +0 -1
- package/dist/esm/models/operations/setservingtenant.d.ts +0 -25
- package/dist/esm/models/operations/setservingtenant.d.ts.map +0 -1
- package/dist/esm/models/operations/setservingtenant.js +0 -38
- package/dist/esm/models/operations/setservingtenant.js.map +0 -1
- package/dist/esm/react-query/servingTenantsGet.core.d.ts +0 -15
- package/dist/esm/react-query/servingTenantsGet.core.d.ts.map +0 -1
- package/dist/esm/react-query/servingTenantsGet.core.js +0 -31
- package/dist/esm/react-query/servingTenantsGet.core.js.map +0 -1
- package/dist/esm/react-query/servingTenantsGet.d.ts +0 -39
- package/dist/esm/react-query/servingTenantsGet.d.ts.map +0 -1
- package/dist/esm/react-query/servingTenantsGet.js +0 -50
- package/dist/esm/react-query/servingTenantsGet.js.map +0 -1
- package/dist/esm/react-query/servingTenantsList.core.d.ts +0 -17
- package/dist/esm/react-query/servingTenantsList.core.d.ts.map +0 -1
- package/dist/esm/react-query/servingTenantsList.core.js +0 -33
- package/dist/esm/react-query/servingTenantsList.core.js.map +0 -1
- package/dist/esm/react-query/servingTenantsList.d.ts +0 -41
- package/dist/esm/react-query/servingTenantsList.d.ts.map +0 -1
- package/dist/esm/react-query/servingTenantsList.js +0 -50
- package/dist/esm/react-query/servingTenantsList.js.map +0 -1
- package/dist/esm/react-query/servingTenantsSet.d.ts +0 -30
- package/dist/esm/react-query/servingTenantsSet.d.ts.map +0 -1
- package/dist/esm/react-query/servingTenantsSet.js +0 -42
- package/dist/esm/react-query/servingTenantsSet.js.map +0 -1
- package/dist/esm/sdk/tenants.d.ts +0 -27
- package/dist/esm/sdk/tenants.d.ts.map +0 -1
- package/dist/esm/sdk/tenants.js +0 -38
- package/dist/esm/sdk/tenants.js.map +0 -1
- package/src/funcs/servingTenantsGet.ts +0 -196
- package/src/funcs/servingTenantsList.ts +0 -196
- package/src/funcs/servingTenantsSet.ts +0 -197
- package/src/mcp-server/tools/servingTenantsGet.ts +0 -37
- package/src/mcp-server/tools/servingTenantsList.ts +0 -37
- package/src/mcp-server/tools/servingTenantsSet.ts +0 -37
- package/src/models/components/deploymentapiformat.ts +0 -31
- package/src/models/components/deploymentscalingcreate.ts +0 -90
- package/src/models/components/deploymentscalingupdate.ts +0 -87
- package/src/models/components/pageservingtenant.ts +0 -74
- package/src/models/components/servingtenant.ts +0 -85
- package/src/models/components/servingtenantset.ts +0 -54
- package/src/models/operations/getservingtenant.ts +0 -69
- package/src/models/operations/listservingtenants.ts +0 -71
- package/src/models/operations/setservingtenant.ts +0 -76
- package/src/react-query/servingTenantsGet.core.ts +0 -76
- package/src/react-query/servingTenantsGet.ts +0 -141
- package/src/react-query/servingTenantsList.core.ts +0 -81
- package/src/react-query/servingTenantsList.ts +0 -148
- package/src/react-query/servingTenantsSet.ts +0 -112
- package/src/sdk/tenants.ts +0 -64
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
InvalidateQueryFilters,
|
|
7
|
-
QueryClient,
|
|
8
|
-
useQuery,
|
|
9
|
-
UseQueryResult,
|
|
10
|
-
useSuspenseQuery,
|
|
11
|
-
UseSuspenseQueryResult,
|
|
12
|
-
} from "@tanstack/react-query";
|
|
13
|
-
import {
|
|
14
|
-
ConnectionError,
|
|
15
|
-
InvalidRequestError,
|
|
16
|
-
RequestAbortedError,
|
|
17
|
-
RequestTimeoutError,
|
|
18
|
-
UnexpectedClientError,
|
|
19
|
-
} from "../models/errors/httpclienterrors.js";
|
|
20
|
-
import * as errors from "../models/errors/index.js";
|
|
21
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
22
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
23
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
|
-
import * as operations from "../models/operations/index.js";
|
|
25
|
-
import { useSDKContext } from "./_context.js";
|
|
26
|
-
import {
|
|
27
|
-
QueryHookOptions,
|
|
28
|
-
SuspenseQueryHookOptions,
|
|
29
|
-
TupleToPrefixes,
|
|
30
|
-
} from "./_types.js";
|
|
31
|
-
import {
|
|
32
|
-
buildServingTenantsGetQuery,
|
|
33
|
-
prefetchServingTenantsGet,
|
|
34
|
-
queryKeyServingTenantsGet,
|
|
35
|
-
ServingTenantsGetQueryData,
|
|
36
|
-
} from "./servingTenantsGet.core.js";
|
|
37
|
-
export {
|
|
38
|
-
buildServingTenantsGetQuery,
|
|
39
|
-
prefetchServingTenantsGet,
|
|
40
|
-
queryKeyServingTenantsGet,
|
|
41
|
-
type ServingTenantsGetQueryData,
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export type ServingTenantsGetQueryError =
|
|
45
|
-
| errors.ServingError
|
|
46
|
-
| errors.ServingHTTPValidationError
|
|
47
|
-
| SDKError
|
|
48
|
-
| ResponseValidationError
|
|
49
|
-
| ConnectionError
|
|
50
|
-
| RequestAbortedError
|
|
51
|
-
| RequestTimeoutError
|
|
52
|
-
| InvalidRequestError
|
|
53
|
-
| UnexpectedClientError
|
|
54
|
-
| SDKValidationError;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Get a serving tenant
|
|
58
|
-
*
|
|
59
|
-
* @remarks
|
|
60
|
-
* Get one organization's serving enablement record. Cluster administrators only.
|
|
61
|
-
*/
|
|
62
|
-
export function useServingTenantsGet(
|
|
63
|
-
request: operations.GetServingTenantRequest,
|
|
64
|
-
options?: QueryHookOptions<
|
|
65
|
-
ServingTenantsGetQueryData,
|
|
66
|
-
ServingTenantsGetQueryError
|
|
67
|
-
>,
|
|
68
|
-
): UseQueryResult<ServingTenantsGetQueryData, ServingTenantsGetQueryError> {
|
|
69
|
-
const client = useSDKContext();
|
|
70
|
-
return useQuery({
|
|
71
|
-
...buildServingTenantsGetQuery(
|
|
72
|
-
client,
|
|
73
|
-
request,
|
|
74
|
-
options,
|
|
75
|
-
),
|
|
76
|
-
...options,
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* Get a serving tenant
|
|
82
|
-
*
|
|
83
|
-
* @remarks
|
|
84
|
-
* Get one organization's serving enablement record. Cluster administrators only.
|
|
85
|
-
*/
|
|
86
|
-
export function useServingTenantsGetSuspense(
|
|
87
|
-
request: operations.GetServingTenantRequest,
|
|
88
|
-
options?: SuspenseQueryHookOptions<
|
|
89
|
-
ServingTenantsGetQueryData,
|
|
90
|
-
ServingTenantsGetQueryError
|
|
91
|
-
>,
|
|
92
|
-
): UseSuspenseQueryResult<
|
|
93
|
-
ServingTenantsGetQueryData,
|
|
94
|
-
ServingTenantsGetQueryError
|
|
95
|
-
> {
|
|
96
|
-
const client = useSDKContext();
|
|
97
|
-
return useSuspenseQuery({
|
|
98
|
-
...buildServingTenantsGetQuery(
|
|
99
|
-
client,
|
|
100
|
-
request,
|
|
101
|
-
options,
|
|
102
|
-
),
|
|
103
|
-
...options,
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export function setServingTenantsGetData(
|
|
108
|
-
client: QueryClient,
|
|
109
|
-
queryKeyBase: [
|
|
110
|
-
orgId: string,
|
|
111
|
-
parameters: { xOnBehalfOf?: string | undefined },
|
|
112
|
-
],
|
|
113
|
-
data: ServingTenantsGetQueryData,
|
|
114
|
-
): ServingTenantsGetQueryData | undefined {
|
|
115
|
-
const key = queryKeyServingTenantsGet(...queryKeyBase);
|
|
116
|
-
|
|
117
|
-
return client.setQueryData<ServingTenantsGetQueryData>(key, data);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export function invalidateServingTenantsGet(
|
|
121
|
-
client: QueryClient,
|
|
122
|
-
queryKeyBase: TupleToPrefixes<
|
|
123
|
-
[orgId: string, parameters: { xOnBehalfOf?: string | undefined }]
|
|
124
|
-
>,
|
|
125
|
-
filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
|
|
126
|
-
): Promise<void> {
|
|
127
|
-
return client.invalidateQueries({
|
|
128
|
-
...filters,
|
|
129
|
-
queryKey: ["@meetkai/mka1", "tenants", "get", ...queryKeyBase],
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export function invalidateAllServingTenantsGet(
|
|
134
|
-
client: QueryClient,
|
|
135
|
-
filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
|
|
136
|
-
): Promise<void> {
|
|
137
|
-
return client.invalidateQueries({
|
|
138
|
-
...filters,
|
|
139
|
-
queryKey: ["@meetkai/mka1", "tenants", "get"],
|
|
140
|
-
});
|
|
141
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
QueryClient,
|
|
7
|
-
QueryFunctionContext,
|
|
8
|
-
QueryKey,
|
|
9
|
-
} from "@tanstack/react-query";
|
|
10
|
-
import { SDKCore } from "../core.js";
|
|
11
|
-
import { servingTenantsList } from "../funcs/servingTenantsList.js";
|
|
12
|
-
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
-
import * as components from "../models/components/index.js";
|
|
15
|
-
import * as operations from "../models/operations/index.js";
|
|
16
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
17
|
-
export type ServingTenantsListQueryData = components.PageServingTenant;
|
|
18
|
-
|
|
19
|
-
export function prefetchServingTenantsList(
|
|
20
|
-
queryClient: QueryClient,
|
|
21
|
-
client$: SDKCore,
|
|
22
|
-
request: operations.ListServingTenantsRequest,
|
|
23
|
-
options?: RequestOptions,
|
|
24
|
-
): Promise<void> {
|
|
25
|
-
return queryClient.prefetchQuery({
|
|
26
|
-
...buildServingTenantsListQuery(
|
|
27
|
-
client$,
|
|
28
|
-
request,
|
|
29
|
-
options,
|
|
30
|
-
),
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export function buildServingTenantsListQuery(
|
|
35
|
-
client$: SDKCore,
|
|
36
|
-
request: operations.ListServingTenantsRequest,
|
|
37
|
-
options?: RequestOptions,
|
|
38
|
-
): {
|
|
39
|
-
queryKey: QueryKey;
|
|
40
|
-
queryFn: (
|
|
41
|
-
context: QueryFunctionContext,
|
|
42
|
-
) => Promise<ServingTenantsListQueryData>;
|
|
43
|
-
} {
|
|
44
|
-
return {
|
|
45
|
-
queryKey: queryKeyServingTenantsList({
|
|
46
|
-
cursor: request.cursor,
|
|
47
|
-
limit: request.limit,
|
|
48
|
-
xOnBehalfOf: request.xOnBehalfOf,
|
|
49
|
-
}),
|
|
50
|
-
queryFn: async function servingTenantsListQueryFn(
|
|
51
|
-
ctx,
|
|
52
|
-
): Promise<ServingTenantsListQueryData> {
|
|
53
|
-
const sig = combineSignals(
|
|
54
|
-
ctx.signal,
|
|
55
|
-
options?.signal,
|
|
56
|
-
options?.fetchOptions?.signal,
|
|
57
|
-
);
|
|
58
|
-
const mergedOptions = {
|
|
59
|
-
...options?.fetchOptions,
|
|
60
|
-
...options,
|
|
61
|
-
signal: sig,
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
return unwrapAsync(servingTenantsList(
|
|
65
|
-
client$,
|
|
66
|
-
request,
|
|
67
|
-
mergedOptions,
|
|
68
|
-
));
|
|
69
|
-
},
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export function queryKeyServingTenantsList(
|
|
74
|
-
parameters: {
|
|
75
|
-
cursor?: string | null | undefined;
|
|
76
|
-
limit?: number | undefined;
|
|
77
|
-
xOnBehalfOf?: string | undefined;
|
|
78
|
-
},
|
|
79
|
-
): QueryKey {
|
|
80
|
-
return ["@meetkai/mka1", "tenants", "list", parameters];
|
|
81
|
-
}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
InvalidateQueryFilters,
|
|
7
|
-
QueryClient,
|
|
8
|
-
useQuery,
|
|
9
|
-
UseQueryResult,
|
|
10
|
-
useSuspenseQuery,
|
|
11
|
-
UseSuspenseQueryResult,
|
|
12
|
-
} from "@tanstack/react-query";
|
|
13
|
-
import {
|
|
14
|
-
ConnectionError,
|
|
15
|
-
InvalidRequestError,
|
|
16
|
-
RequestAbortedError,
|
|
17
|
-
RequestTimeoutError,
|
|
18
|
-
UnexpectedClientError,
|
|
19
|
-
} from "../models/errors/httpclienterrors.js";
|
|
20
|
-
import * as errors from "../models/errors/index.js";
|
|
21
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
22
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
23
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
|
-
import * as operations from "../models/operations/index.js";
|
|
25
|
-
import { useSDKContext } from "./_context.js";
|
|
26
|
-
import {
|
|
27
|
-
QueryHookOptions,
|
|
28
|
-
SuspenseQueryHookOptions,
|
|
29
|
-
TupleToPrefixes,
|
|
30
|
-
} from "./_types.js";
|
|
31
|
-
import {
|
|
32
|
-
buildServingTenantsListQuery,
|
|
33
|
-
prefetchServingTenantsList,
|
|
34
|
-
queryKeyServingTenantsList,
|
|
35
|
-
ServingTenantsListQueryData,
|
|
36
|
-
} from "./servingTenantsList.core.js";
|
|
37
|
-
export {
|
|
38
|
-
buildServingTenantsListQuery,
|
|
39
|
-
prefetchServingTenantsList,
|
|
40
|
-
queryKeyServingTenantsList,
|
|
41
|
-
type ServingTenantsListQueryData,
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export type ServingTenantsListQueryError =
|
|
45
|
-
| errors.ServingError
|
|
46
|
-
| errors.ServingHTTPValidationError
|
|
47
|
-
| SDKError
|
|
48
|
-
| ResponseValidationError
|
|
49
|
-
| ConnectionError
|
|
50
|
-
| RequestAbortedError
|
|
51
|
-
| RequestTimeoutError
|
|
52
|
-
| InvalidRequestError
|
|
53
|
-
| UnexpectedClientError
|
|
54
|
-
| SDKValidationError;
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* List serving tenants
|
|
58
|
-
*
|
|
59
|
-
* @remarks
|
|
60
|
-
* List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.
|
|
61
|
-
*/
|
|
62
|
-
export function useServingTenantsList(
|
|
63
|
-
request: operations.ListServingTenantsRequest,
|
|
64
|
-
options?: QueryHookOptions<
|
|
65
|
-
ServingTenantsListQueryData,
|
|
66
|
-
ServingTenantsListQueryError
|
|
67
|
-
>,
|
|
68
|
-
): UseQueryResult<ServingTenantsListQueryData, ServingTenantsListQueryError> {
|
|
69
|
-
const client = useSDKContext();
|
|
70
|
-
return useQuery({
|
|
71
|
-
...buildServingTenantsListQuery(
|
|
72
|
-
client,
|
|
73
|
-
request,
|
|
74
|
-
options,
|
|
75
|
-
),
|
|
76
|
-
...options,
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* List serving tenants
|
|
82
|
-
*
|
|
83
|
-
* @remarks
|
|
84
|
-
* List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.
|
|
85
|
-
*/
|
|
86
|
-
export function useServingTenantsListSuspense(
|
|
87
|
-
request: operations.ListServingTenantsRequest,
|
|
88
|
-
options?: SuspenseQueryHookOptions<
|
|
89
|
-
ServingTenantsListQueryData,
|
|
90
|
-
ServingTenantsListQueryError
|
|
91
|
-
>,
|
|
92
|
-
): UseSuspenseQueryResult<
|
|
93
|
-
ServingTenantsListQueryData,
|
|
94
|
-
ServingTenantsListQueryError
|
|
95
|
-
> {
|
|
96
|
-
const client = useSDKContext();
|
|
97
|
-
return useSuspenseQuery({
|
|
98
|
-
...buildServingTenantsListQuery(
|
|
99
|
-
client,
|
|
100
|
-
request,
|
|
101
|
-
options,
|
|
102
|
-
),
|
|
103
|
-
...options,
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export function setServingTenantsListData(
|
|
108
|
-
client: QueryClient,
|
|
109
|
-
queryKeyBase: [
|
|
110
|
-
parameters: {
|
|
111
|
-
cursor?: string | null | undefined;
|
|
112
|
-
limit?: number | undefined;
|
|
113
|
-
xOnBehalfOf?: string | undefined;
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
data: ServingTenantsListQueryData,
|
|
117
|
-
): ServingTenantsListQueryData | undefined {
|
|
118
|
-
const key = queryKeyServingTenantsList(...queryKeyBase);
|
|
119
|
-
|
|
120
|
-
return client.setQueryData<ServingTenantsListQueryData>(key, data);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export function invalidateServingTenantsList(
|
|
124
|
-
client: QueryClient,
|
|
125
|
-
queryKeyBase: TupleToPrefixes<
|
|
126
|
-
[parameters: {
|
|
127
|
-
cursor?: string | null | undefined;
|
|
128
|
-
limit?: number | undefined;
|
|
129
|
-
xOnBehalfOf?: string | undefined;
|
|
130
|
-
}]
|
|
131
|
-
>,
|
|
132
|
-
filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
|
|
133
|
-
): Promise<void> {
|
|
134
|
-
return client.invalidateQueries({
|
|
135
|
-
...filters,
|
|
136
|
-
queryKey: ["@meetkai/mka1", "tenants", "list", ...queryKeyBase],
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
export function invalidateAllServingTenantsList(
|
|
141
|
-
client: QueryClient,
|
|
142
|
-
filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">,
|
|
143
|
-
): Promise<void> {
|
|
144
|
-
return client.invalidateQueries({
|
|
145
|
-
...filters,
|
|
146
|
-
queryKey: ["@meetkai/mka1", "tenants", "list"],
|
|
147
|
-
});
|
|
148
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
MutationKey,
|
|
7
|
-
useMutation,
|
|
8
|
-
UseMutationResult,
|
|
9
|
-
} from "@tanstack/react-query";
|
|
10
|
-
import { SDKCore } from "../core.js";
|
|
11
|
-
import { servingTenantsSet } from "../funcs/servingTenantsSet.js";
|
|
12
|
-
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
-
import * as components from "../models/components/index.js";
|
|
15
|
-
import {
|
|
16
|
-
ConnectionError,
|
|
17
|
-
InvalidRequestError,
|
|
18
|
-
RequestAbortedError,
|
|
19
|
-
RequestTimeoutError,
|
|
20
|
-
UnexpectedClientError,
|
|
21
|
-
} from "../models/errors/httpclienterrors.js";
|
|
22
|
-
import * as errors from "../models/errors/index.js";
|
|
23
|
-
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
24
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
25
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
26
|
-
import * as operations from "../models/operations/index.js";
|
|
27
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
28
|
-
import { useSDKContext } from "./_context.js";
|
|
29
|
-
import { MutationHookOptions } from "./_types.js";
|
|
30
|
-
|
|
31
|
-
export type ServingTenantsSetMutationVariables = {
|
|
32
|
-
request: operations.SetServingTenantRequest;
|
|
33
|
-
options?: RequestOptions;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export type ServingTenantsSetMutationData = components.ServingTenant;
|
|
37
|
-
|
|
38
|
-
export type ServingTenantsSetMutationError =
|
|
39
|
-
| errors.ServingError
|
|
40
|
-
| errors.ServingHTTPValidationError
|
|
41
|
-
| SDKError
|
|
42
|
-
| ResponseValidationError
|
|
43
|
-
| ConnectionError
|
|
44
|
-
| RequestAbortedError
|
|
45
|
-
| RequestTimeoutError
|
|
46
|
-
| InvalidRequestError
|
|
47
|
-
| UnexpectedClientError
|
|
48
|
-
| SDKValidationError;
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Set serving tenant enablement
|
|
52
|
-
*
|
|
53
|
-
* @remarks
|
|
54
|
-
* 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.
|
|
55
|
-
*/
|
|
56
|
-
export function useServingTenantsSetMutation(
|
|
57
|
-
options?: MutationHookOptions<
|
|
58
|
-
ServingTenantsSetMutationData,
|
|
59
|
-
ServingTenantsSetMutationError,
|
|
60
|
-
ServingTenantsSetMutationVariables
|
|
61
|
-
>,
|
|
62
|
-
): UseMutationResult<
|
|
63
|
-
ServingTenantsSetMutationData,
|
|
64
|
-
ServingTenantsSetMutationError,
|
|
65
|
-
ServingTenantsSetMutationVariables
|
|
66
|
-
> {
|
|
67
|
-
const client = useSDKContext();
|
|
68
|
-
return useMutation({
|
|
69
|
-
...buildServingTenantsSetMutation(client, options),
|
|
70
|
-
...options,
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function mutationKeyServingTenantsSet(): MutationKey {
|
|
75
|
-
return ["@meetkai/mka1", "tenants", "set"];
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function buildServingTenantsSetMutation(
|
|
79
|
-
client$: SDKCore,
|
|
80
|
-
hookOptions?: RequestOptions,
|
|
81
|
-
): {
|
|
82
|
-
mutationKey: MutationKey;
|
|
83
|
-
mutationFn: (
|
|
84
|
-
variables: ServingTenantsSetMutationVariables,
|
|
85
|
-
) => Promise<ServingTenantsSetMutationData>;
|
|
86
|
-
} {
|
|
87
|
-
return {
|
|
88
|
-
mutationKey: mutationKeyServingTenantsSet(),
|
|
89
|
-
mutationFn: function servingTenantsSetMutationFn({
|
|
90
|
-
request,
|
|
91
|
-
options,
|
|
92
|
-
}): Promise<ServingTenantsSetMutationData> {
|
|
93
|
-
const mergedOptions = {
|
|
94
|
-
...hookOptions,
|
|
95
|
-
...options,
|
|
96
|
-
fetchOptions: {
|
|
97
|
-
...hookOptions?.fetchOptions,
|
|
98
|
-
...options?.fetchOptions,
|
|
99
|
-
signal: combineSignals(
|
|
100
|
-
hookOptions?.fetchOptions?.signal,
|
|
101
|
-
options?.fetchOptions?.signal,
|
|
102
|
-
),
|
|
103
|
-
},
|
|
104
|
-
};
|
|
105
|
-
return unwrapAsync(servingTenantsSet(
|
|
106
|
-
client$,
|
|
107
|
-
request,
|
|
108
|
-
mergedOptions,
|
|
109
|
-
));
|
|
110
|
-
},
|
|
111
|
-
};
|
|
112
|
-
}
|
package/src/sdk/tenants.ts
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { servingTenantsGet } from "../funcs/servingTenantsGet.js";
|
|
6
|
-
import { servingTenantsList } from "../funcs/servingTenantsList.js";
|
|
7
|
-
import { servingTenantsSet } from "../funcs/servingTenantsSet.js";
|
|
8
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
9
|
-
import * as components from "../models/components/index.js";
|
|
10
|
-
import * as operations from "../models/operations/index.js";
|
|
11
|
-
import { unwrapAsync } from "../types/fp.js";
|
|
12
|
-
|
|
13
|
-
export class Tenants extends ClientSDK {
|
|
14
|
-
/**
|
|
15
|
-
* List serving tenants
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.
|
|
19
|
-
*/
|
|
20
|
-
async list(
|
|
21
|
-
request: operations.ListServingTenantsRequest,
|
|
22
|
-
options?: RequestOptions,
|
|
23
|
-
): Promise<components.PageServingTenant> {
|
|
24
|
-
return unwrapAsync(servingTenantsList(
|
|
25
|
-
this,
|
|
26
|
-
request,
|
|
27
|
-
options,
|
|
28
|
-
));
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Get a serving tenant
|
|
33
|
-
*
|
|
34
|
-
* @remarks
|
|
35
|
-
* Get one organization's serving enablement record. Cluster administrators only.
|
|
36
|
-
*/
|
|
37
|
-
async get(
|
|
38
|
-
request: operations.GetServingTenantRequest,
|
|
39
|
-
options?: RequestOptions,
|
|
40
|
-
): Promise<components.ServingTenant> {
|
|
41
|
-
return unwrapAsync(servingTenantsGet(
|
|
42
|
-
this,
|
|
43
|
-
request,
|
|
44
|
-
options,
|
|
45
|
-
));
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Set serving tenant enablement
|
|
50
|
-
*
|
|
51
|
-
* @remarks
|
|
52
|
-
* 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.
|
|
53
|
-
*/
|
|
54
|
-
async set(
|
|
55
|
-
request: operations.SetServingTenantRequest,
|
|
56
|
-
options?: RequestOptions,
|
|
57
|
-
): Promise<components.ServingTenant> {
|
|
58
|
-
return unwrapAsync(servingTenantsSet(
|
|
59
|
-
this,
|
|
60
|
-
request,
|
|
61
|
-
options,
|
|
62
|
-
));
|
|
63
|
-
}
|
|
64
|
-
}
|