@meetkai/mka1 0.54.32 → 0.54.34
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 +298 -295
- package/bin/mcp-server.js +2340 -1769
- package/bin/mcp-server.js.map +32 -24
- package/dist/commonjs/funcs/computeServicesListServiceInstances.js +1 -0
- package/dist/commonjs/funcs/computeServicesListServiceInstances.js.map +1 -1
- package/dist/commonjs/funcs/computeServicesUpdateServiceScaling.d.ts +16 -0
- package/dist/commonjs/funcs/computeServicesUpdateServiceScaling.d.ts.map +1 -0
- package/dist/commonjs/funcs/computeServicesUpdateServiceScaling.js +146 -0
- package/dist/commonjs/funcs/computeServicesUpdateServiceScaling.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 +3 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/computeServicesUpdateServiceScaling.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/computeServicesUpdateServiceScaling.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/computeServicesUpdateServiceScaling.js +62 -0
- package/dist/commonjs/mcp-server/tools/computeServicesUpdateServiceScaling.js.map +1 -0
- package/dist/commonjs/models/components/addcatalogmodelrequest.d.ts +20 -0
- package/dist/commonjs/models/components/addcatalogmodelrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/addcatalogmodelrequest.js +24 -1
- package/dist/commonjs/models/components/addcatalogmodelrequest.js.map +1 -1
- package/dist/commonjs/models/components/computeautoscalerstate.d.ts +44 -0
- package/dist/commonjs/models/components/computeautoscalerstate.d.ts.map +1 -0
- package/dist/commonjs/models/components/computeautoscalerstate.js +104 -0
- package/dist/commonjs/models/components/computeautoscalerstate.js.map +1 -0
- package/dist/commonjs/models/components/computecontainercreate.d.ts +27 -0
- package/dist/commonjs/models/components/computecontainercreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/computecontainercreate.js +17 -0
- package/dist/commonjs/models/components/computecontainercreate.js.map +1 -1
- package/dist/commonjs/models/components/computeinstance.d.ts +12 -0
- package/dist/commonjs/models/components/computeinstance.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeinstance.js +25 -0
- package/dist/commonjs/models/components/computeinstance.js.map +1 -1
- package/dist/commonjs/models/components/computejob.d.ts +16 -0
- package/dist/commonjs/models/components/computejob.d.ts.map +1 -1
- package/dist/commonjs/models/components/computejob.js +21 -1
- package/dist/commonjs/models/components/computejob.js.map +1 -1
- package/dist/commonjs/models/components/computeoffer.d.ts +5 -0
- package/dist/commonjs/models/components/computeoffer.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeoffer.js +4 -0
- package/dist/commonjs/models/components/computeoffer.js.map +1 -1
- package/dist/commonjs/models/components/computequoterequest.d.ts +2 -0
- package/dist/commonjs/models/components/computequoterequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/computequoterequest.js +10 -0
- package/dist/commonjs/models/components/computequoterequest.js.map +1 -1
- package/dist/commonjs/models/components/computeregistrycredential.d.ts +22 -0
- package/dist/commonjs/models/components/computeregistrycredential.d.ts.map +1 -0
- package/dist/commonjs/models/components/computeregistrycredential.js +60 -0
- package/dist/commonjs/models/components/computeregistrycredential.js.map +1 -0
- package/dist/commonjs/models/components/computescalinginput.d.ts +2 -0
- package/dist/commonjs/models/components/computescalinginput.d.ts.map +1 -1
- package/dist/commonjs/models/components/computescalinginput.js +4 -0
- package/dist/commonjs/models/components/computescalinginput.js.map +1 -1
- package/dist/commonjs/models/components/computescalingreplicas.d.ts +44 -0
- package/dist/commonjs/models/components/computescalingreplicas.d.ts.map +1 -0
- package/dist/commonjs/models/components/computescalingreplicas.js +97 -0
- package/dist/commonjs/models/components/computescalingreplicas.js.map +1 -0
- package/dist/commonjs/models/components/computeservice.d.ts +31 -0
- package/dist/commonjs/models/components/computeservice.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeservice.js +36 -1
- package/dist/commonjs/models/components/computeservice.js.map +1 -1
- package/dist/commonjs/models/components/computeservicescaling.d.ts +34 -0
- package/dist/commonjs/models/components/computeservicescaling.d.ts.map +1 -0
- package/dist/commonjs/models/components/computeservicescaling.js +90 -0
- package/dist/commonjs/models/components/computeservicescaling.js.map +1 -0
- package/dist/commonjs/models/components/computetenant.d.ts +2 -0
- package/dist/commonjs/models/components/computetenant.d.ts.map +1 -1
- package/dist/commonjs/models/components/computetenant.js +4 -0
- package/dist/commonjs/models/components/computetenant.js.map +1 -1
- package/dist/commonjs/models/components/computetenantupdate.d.ts +2 -0
- package/dist/commonjs/models/components/computetenantupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/computetenantupdate.js +4 -0
- package/dist/commonjs/models/components/computetenantupdate.js.map +1 -1
- package/dist/commonjs/models/components/computeusage.d.ts +5 -0
- package/dist/commonjs/models/components/computeusage.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeusage.js +4 -0
- package/dist/commonjs/models/components/computeusage.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +4 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +4 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/updatecatalogmodelrequest.d.ts +20 -0
- package/dist/commonjs/models/components/updatecatalogmodelrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/updatecatalogmodelrequest.js +24 -1
- package/dist/commonjs/models/components/updatecatalogmodelrequest.js.map +1 -1
- package/dist/commonjs/models/operations/getmodel.d.ts +16 -0
- package/dist/commonjs/models/operations/getmodel.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getmodel.js +13 -0
- package/dist/commonjs/models/operations/getmodel.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +1 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listmodels.d.ts +16 -0
- package/dist/commonjs/models/operations/listmodels.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmodels.js +13 -0
- package/dist/commonjs/models/operations/listmodels.js.map +1 -1
- package/dist/commonjs/models/operations/listserviceinstances.d.ts +5 -0
- package/dist/commonjs/models/operations/listserviceinstances.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listserviceinstances.js +2 -0
- package/dist/commonjs/models/operations/listserviceinstances.js.map +1 -1
- package/dist/commonjs/models/operations/updateservicescaling.d.ts +60 -0
- package/dist/commonjs/models/operations/updateservicescaling.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updateservicescaling.js +134 -0
- package/dist/commonjs/models/operations/updateservicescaling.js.map +1 -0
- package/dist/commonjs/react-query/computeServicesListServiceInstances.core.d.ts +1 -0
- package/dist/commonjs/react-query/computeServicesListServiceInstances.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/computeServicesListServiceInstances.core.js +1 -0
- package/dist/commonjs/react-query/computeServicesListServiceInstances.core.js.map +1 -1
- package/dist/commonjs/react-query/computeServicesListServiceInstances.d.ts +2 -0
- package/dist/commonjs/react-query/computeServicesListServiceInstances.d.ts.map +1 -1
- package/dist/commonjs/react-query/computeServicesListServiceInstances.js.map +1 -1
- package/dist/commonjs/react-query/computeServicesUpdateServiceScaling.d.ts +25 -0
- package/dist/commonjs/react-query/computeServicesUpdateServiceScaling.d.ts.map +1 -0
- package/dist/commonjs/react-query/computeServicesUpdateServiceScaling.js +44 -0
- package/dist/commonjs/react-query/computeServicesUpdateServiceScaling.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +1 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +1 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/sdk/computeservices.d.ts +4 -0
- package/dist/commonjs/sdk/computeservices.d.ts.map +1 -1
- package/dist/commonjs/sdk/computeservices.js +7 -0
- package/dist/commonjs/sdk/computeservices.js.map +1 -1
- package/dist/esm/funcs/computeServicesListServiceInstances.js +1 -0
- package/dist/esm/funcs/computeServicesListServiceInstances.js.map +1 -1
- package/dist/esm/funcs/computeServicesUpdateServiceScaling.d.ts +16 -0
- package/dist/esm/funcs/computeServicesUpdateServiceScaling.d.ts.map +1 -0
- package/dist/esm/funcs/computeServicesUpdateServiceScaling.js +110 -0
- package/dist/esm/funcs/computeServicesUpdateServiceScaling.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 +3 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/computeServicesUpdateServiceScaling.d.ts +8 -0
- package/dist/esm/mcp-server/tools/computeServicesUpdateServiceScaling.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/computeServicesUpdateServiceScaling.js +26 -0
- package/dist/esm/mcp-server/tools/computeServicesUpdateServiceScaling.js.map +1 -0
- package/dist/esm/models/components/addcatalogmodelrequest.d.ts +20 -0
- package/dist/esm/models/components/addcatalogmodelrequest.d.ts.map +1 -1
- package/dist/esm/models/components/addcatalogmodelrequest.js +21 -0
- package/dist/esm/models/components/addcatalogmodelrequest.js.map +1 -1
- package/dist/esm/models/components/computeautoscalerstate.d.ts +44 -0
- package/dist/esm/models/components/computeautoscalerstate.d.ts.map +1 -0
- package/dist/esm/models/components/computeautoscalerstate.js +66 -0
- package/dist/esm/models/components/computeautoscalerstate.js.map +1 -0
- package/dist/esm/models/components/computecontainercreate.d.ts +27 -0
- package/dist/esm/models/components/computecontainercreate.d.ts.map +1 -1
- package/dist/esm/models/components/computecontainercreate.js +17 -0
- package/dist/esm/models/components/computecontainercreate.js.map +1 -1
- package/dist/esm/models/components/computeinstance.d.ts +12 -0
- package/dist/esm/models/components/computeinstance.d.ts.map +1 -1
- package/dist/esm/models/components/computeinstance.js +25 -0
- package/dist/esm/models/components/computeinstance.js.map +1 -1
- package/dist/esm/models/components/computejob.d.ts +16 -0
- package/dist/esm/models/components/computejob.d.ts.map +1 -1
- package/dist/esm/models/components/computejob.js +20 -0
- package/dist/esm/models/components/computejob.js.map +1 -1
- package/dist/esm/models/components/computeoffer.d.ts +5 -0
- package/dist/esm/models/components/computeoffer.d.ts.map +1 -1
- package/dist/esm/models/components/computeoffer.js +4 -0
- package/dist/esm/models/components/computeoffer.js.map +1 -1
- package/dist/esm/models/components/computequoterequest.d.ts +2 -0
- package/dist/esm/models/components/computequoterequest.d.ts.map +1 -1
- package/dist/esm/models/components/computequoterequest.js +10 -0
- package/dist/esm/models/components/computequoterequest.js.map +1 -1
- package/dist/esm/models/components/computeregistrycredential.d.ts +22 -0
- package/dist/esm/models/components/computeregistrycredential.d.ts.map +1 -0
- package/dist/esm/models/components/computeregistrycredential.js +22 -0
- package/dist/esm/models/components/computeregistrycredential.js.map +1 -0
- package/dist/esm/models/components/computescalinginput.d.ts +2 -0
- package/dist/esm/models/components/computescalinginput.d.ts.map +1 -1
- package/dist/esm/models/components/computescalinginput.js +4 -0
- package/dist/esm/models/components/computescalinginput.js.map +1 -1
- package/dist/esm/models/components/computescalingreplicas.d.ts +44 -0
- package/dist/esm/models/components/computescalingreplicas.d.ts.map +1 -0
- package/dist/esm/models/components/computescalingreplicas.js +59 -0
- package/dist/esm/models/components/computescalingreplicas.js.map +1 -0
- package/dist/esm/models/components/computeservice.d.ts +31 -0
- package/dist/esm/models/components/computeservice.d.ts.map +1 -1
- package/dist/esm/models/components/computeservice.js +35 -0
- package/dist/esm/models/components/computeservice.js.map +1 -1
- package/dist/esm/models/components/computeservicescaling.d.ts +34 -0
- package/dist/esm/models/components/computeservicescaling.d.ts.map +1 -0
- package/dist/esm/models/components/computeservicescaling.js +52 -0
- package/dist/esm/models/components/computeservicescaling.js.map +1 -0
- package/dist/esm/models/components/computetenant.d.ts +2 -0
- package/dist/esm/models/components/computetenant.d.ts.map +1 -1
- package/dist/esm/models/components/computetenant.js +4 -0
- package/dist/esm/models/components/computetenant.js.map +1 -1
- package/dist/esm/models/components/computetenantupdate.d.ts +2 -0
- package/dist/esm/models/components/computetenantupdate.d.ts.map +1 -1
- package/dist/esm/models/components/computetenantupdate.js +4 -0
- package/dist/esm/models/components/computetenantupdate.js.map +1 -1
- package/dist/esm/models/components/computeusage.d.ts +5 -0
- package/dist/esm/models/components/computeusage.d.ts.map +1 -1
- package/dist/esm/models/components/computeusage.js +4 -0
- package/dist/esm/models/components/computeusage.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +4 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +4 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/updatecatalogmodelrequest.d.ts +20 -0
- package/dist/esm/models/components/updatecatalogmodelrequest.d.ts.map +1 -1
- package/dist/esm/models/components/updatecatalogmodelrequest.js +21 -0
- package/dist/esm/models/components/updatecatalogmodelrequest.js.map +1 -1
- package/dist/esm/models/operations/getmodel.d.ts +16 -0
- package/dist/esm/models/operations/getmodel.d.ts.map +1 -1
- package/dist/esm/models/operations/getmodel.js +13 -0
- package/dist/esm/models/operations/getmodel.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +1 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listmodels.d.ts +16 -0
- package/dist/esm/models/operations/listmodels.d.ts.map +1 -1
- package/dist/esm/models/operations/listmodels.js +13 -0
- package/dist/esm/models/operations/listmodels.js.map +1 -1
- package/dist/esm/models/operations/listserviceinstances.d.ts +5 -0
- package/dist/esm/models/operations/listserviceinstances.d.ts.map +1 -1
- package/dist/esm/models/operations/listserviceinstances.js +2 -0
- package/dist/esm/models/operations/listserviceinstances.js.map +1 -1
- package/dist/esm/models/operations/updateservicescaling.d.ts +60 -0
- package/dist/esm/models/operations/updateservicescaling.d.ts.map +1 -0
- package/dist/esm/models/operations/updateservicescaling.js +92 -0
- package/dist/esm/models/operations/updateservicescaling.js.map +1 -0
- package/dist/esm/react-query/computeServicesListServiceInstances.core.d.ts +1 -0
- package/dist/esm/react-query/computeServicesListServiceInstances.core.d.ts.map +1 -1
- package/dist/esm/react-query/computeServicesListServiceInstances.core.js +1 -0
- package/dist/esm/react-query/computeServicesListServiceInstances.core.js.map +1 -1
- package/dist/esm/react-query/computeServicesListServiceInstances.d.ts +2 -0
- package/dist/esm/react-query/computeServicesListServiceInstances.d.ts.map +1 -1
- package/dist/esm/react-query/computeServicesListServiceInstances.js.map +1 -1
- package/dist/esm/react-query/computeServicesUpdateServiceScaling.d.ts +25 -0
- package/dist/esm/react-query/computeServicesUpdateServiceScaling.d.ts.map +1 -0
- package/dist/esm/react-query/computeServicesUpdateServiceScaling.js +39 -0
- package/dist/esm/react-query/computeServicesUpdateServiceScaling.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +1 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +1 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/sdk/computeservices.d.ts +4 -0
- package/dist/esm/sdk/computeservices.d.ts.map +1 -1
- package/dist/esm/sdk/computeservices.js +7 -0
- package/dist/esm/sdk/computeservices.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/computeServicesListServiceInstances.ts +1 -0
- package/src/funcs/computeServicesUpdateServiceScaling.ts +204 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/computeServicesUpdateServiceScaling.ts +37 -0
- package/src/models/components/addcatalogmodelrequest.ts +52 -0
- package/src/models/components/computeautoscalerstate.ts +125 -0
- package/src/models/components/computecontainercreate.ts +48 -0
- package/src/models/components/computeinstance.ts +41 -0
- package/src/models/components/computejob.ts +32 -0
- package/src/models/components/computeoffer.ts +9 -0
- package/src/models/components/computequoterequest.ts +12 -0
- package/src/models/components/computeregistrycredential.ts +58 -0
- package/src/models/components/computescalinginput.ts +6 -0
- package/src/models/components/computescalingreplicas.ts +111 -0
- package/src/models/components/computeservice.ts +64 -0
- package/src/models/components/computeservicescaling.ts +116 -0
- package/src/models/components/computetenant.ts +6 -0
- package/src/models/components/computetenantupdate.ts +6 -0
- package/src/models/components/computeusage.ts +9 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/updatecatalogmodelrequest.ts +63 -0
- package/src/models/operations/getmodel.ts +28 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listmodels.ts +28 -0
- package/src/models/operations/listserviceinstances.ts +7 -0
- package/src/models/operations/updateservicescaling.ts +206 -0
- package/src/react-query/computeServicesListServiceInstances.core.ts +2 -0
- package/src/react-query/computeServicesListServiceInstances.ts +2 -0
- package/src/react-query/computeServicesUpdateServiceScaling.ts +106 -0
- package/src/react-query/index.ts +1 -0
- package/src/sdk/computeservices.ts +15 -0
|
@@ -7,6 +7,7 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { RFCDate } from "../../types/rfcdate.js";
|
|
10
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
12
|
|
|
12
13
|
export type ListModelsRequest = {
|
|
@@ -53,6 +54,18 @@ export type ListModelsData = {
|
|
|
53
54
|
* Modalities this model can produce, mirroring the registry's `capabilities.modalities.output`. Unconstrained strings rather than a closed enum so a new registry modality reaches clients without a breaking schema change.
|
|
54
55
|
*/
|
|
55
56
|
outputModalities: Array<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Total parameter count of the weights behind this model, mirroring the registry's `modelCard.parameterCount`. Null when the registry does not record one (closed-weight API models, or entries nobody has filled in yet).
|
|
59
|
+
*/
|
|
60
|
+
parameterCount: number | null;
|
|
61
|
+
/**
|
|
62
|
+
* Parameters active per token for mixture-of-experts models, mirroring the registry's `modelCard.activeParameterCount`. Null for dense models and whenever unrecorded.
|
|
63
|
+
*/
|
|
64
|
+
activeParameterCount: number | null;
|
|
65
|
+
/**
|
|
66
|
+
* Public release date of the model as an ISO calendar date (YYYY-MM-DD), mirroring the registry's `modelCard.releaseDate`. Null when unrecorded.
|
|
67
|
+
*/
|
|
68
|
+
releaseDate: RFCDate | null;
|
|
56
69
|
/**
|
|
57
70
|
* Curated public sampling capabilities for this model.
|
|
58
71
|
*/
|
|
@@ -188,6 +201,9 @@ export const ListModelsData$inboundSchema: z.ZodType<
|
|
|
188
201
|
model_type: ListModelsModelType$inboundSchema,
|
|
189
202
|
input_modalities: z.array(z.string()),
|
|
190
203
|
output_modalities: z.array(z.string()),
|
|
204
|
+
parameter_count: z.nullable(z.number().int()),
|
|
205
|
+
active_parameter_count: z.nullable(z.number().int()),
|
|
206
|
+
release_date: z.nullable(z.string().transform(v => new RFCDate(v))),
|
|
191
207
|
capabilities: z.lazy(() => ListModelsCapabilities$inboundSchema),
|
|
192
208
|
}).transform((v) => {
|
|
193
209
|
return remap$(v, {
|
|
@@ -195,6 +211,9 @@ export const ListModelsData$inboundSchema: z.ZodType<
|
|
|
195
211
|
"model_type": "modelType",
|
|
196
212
|
"input_modalities": "inputModalities",
|
|
197
213
|
"output_modalities": "outputModalities",
|
|
214
|
+
"parameter_count": "parameterCount",
|
|
215
|
+
"active_parameter_count": "activeParameterCount",
|
|
216
|
+
"release_date": "releaseDate",
|
|
198
217
|
});
|
|
199
218
|
});
|
|
200
219
|
/** @internal */
|
|
@@ -206,6 +225,9 @@ export type ListModelsData$Outbound = {
|
|
|
206
225
|
model_type: string;
|
|
207
226
|
input_modalities: Array<string>;
|
|
208
227
|
output_modalities: Array<string>;
|
|
228
|
+
parameter_count: number | null;
|
|
229
|
+
active_parameter_count: number | null;
|
|
230
|
+
release_date: string | null;
|
|
209
231
|
capabilities: ListModelsCapabilities$Outbound;
|
|
210
232
|
};
|
|
211
233
|
|
|
@@ -222,6 +244,9 @@ export const ListModelsData$outboundSchema: z.ZodType<
|
|
|
222
244
|
modelType: ListModelsModelType$outboundSchema,
|
|
223
245
|
inputModalities: z.array(z.string()),
|
|
224
246
|
outputModalities: z.array(z.string()),
|
|
247
|
+
parameterCount: z.nullable(z.number().int()),
|
|
248
|
+
activeParameterCount: z.nullable(z.number().int()),
|
|
249
|
+
releaseDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString())),
|
|
225
250
|
capabilities: z.lazy(() => ListModelsCapabilities$outboundSchema),
|
|
226
251
|
}).transform((v) => {
|
|
227
252
|
return remap$(v, {
|
|
@@ -229,6 +254,9 @@ export const ListModelsData$outboundSchema: z.ZodType<
|
|
|
229
254
|
modelType: "model_type",
|
|
230
255
|
inputModalities: "input_modalities",
|
|
231
256
|
outputModalities: "output_modalities",
|
|
257
|
+
parameterCount: "parameter_count",
|
|
258
|
+
activeParameterCount: "active_parameter_count",
|
|
259
|
+
releaseDate: "release_date",
|
|
232
260
|
});
|
|
233
261
|
});
|
|
234
262
|
|
|
@@ -18,6 +18,10 @@ export type ListServiceInstancesRequest = {
|
|
|
18
18
|
* asc pages oldest-first (default); desc pages newest-first. A cursor is only valid within a traversal that keeps the same order.
|
|
19
19
|
*/
|
|
20
20
|
order?: components.ComputeOrder | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Include retained terminal service-incarnation history. The default returns only current non-terminal incarnations.
|
|
23
|
+
*/
|
|
24
|
+
history?: boolean | undefined;
|
|
21
25
|
/**
|
|
22
26
|
* Optional external end-user identifier forwarded by the API gateway.
|
|
23
27
|
*/
|
|
@@ -39,6 +43,7 @@ export const ListServiceInstancesRequest$inboundSchema: z.ZodType<
|
|
|
39
43
|
cursor: z.string().optional(),
|
|
40
44
|
limit: z.number().int().default(50),
|
|
41
45
|
order: components.ComputeOrder$inboundSchema.default("asc"),
|
|
46
|
+
history: z.boolean().default(false),
|
|
42
47
|
"X-On-Behalf-Of": z.string().optional(),
|
|
43
48
|
}).transform((v) => {
|
|
44
49
|
return remap$(v, {
|
|
@@ -52,6 +57,7 @@ export type ListServiceInstancesRequest$Outbound = {
|
|
|
52
57
|
cursor?: string | undefined;
|
|
53
58
|
limit: number;
|
|
54
59
|
order: string;
|
|
60
|
+
history: boolean;
|
|
55
61
|
"X-On-Behalf-Of"?: string | undefined;
|
|
56
62
|
};
|
|
57
63
|
|
|
@@ -66,6 +72,7 @@ export const ListServiceInstancesRequest$outboundSchema: z.ZodType<
|
|
|
66
72
|
cursor: z.string().optional(),
|
|
67
73
|
limit: z.number().int().default(50),
|
|
68
74
|
order: components.ComputeOrder$outboundSchema.default("asc"),
|
|
75
|
+
history: z.boolean().default(false),
|
|
69
76
|
xOnBehalfOf: z.string().optional(),
|
|
70
77
|
}).transform((v) => {
|
|
71
78
|
return remap$(v, {
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type UpdateServiceScalingRequest = {
|
|
13
|
+
id: string;
|
|
14
|
+
idempotencyKey: string;
|
|
15
|
+
/**
|
|
16
|
+
* Optional strong entity tag containing the current desired scaling-policy generation.
|
|
17
|
+
*/
|
|
18
|
+
ifMatch?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
21
|
+
*/
|
|
22
|
+
xOnBehalfOf?: string | undefined;
|
|
23
|
+
computeScalingInput: components.ComputeScalingInput;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export type UpdateServiceScalingResponseResult =
|
|
27
|
+
| components.ComputeService
|
|
28
|
+
| components.ComputeErrorEnvelope;
|
|
29
|
+
|
|
30
|
+
export type UpdateServiceScalingResponse = {
|
|
31
|
+
headers: { [k: string]: Array<string> };
|
|
32
|
+
result: components.ComputeService | components.ComputeErrorEnvelope;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const UpdateServiceScalingRequest$inboundSchema: z.ZodType<
|
|
37
|
+
UpdateServiceScalingRequest,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
unknown
|
|
40
|
+
> = z.object({
|
|
41
|
+
id: z.string(),
|
|
42
|
+
"Idempotency-Key": z.string(),
|
|
43
|
+
"If-Match": z.string().optional(),
|
|
44
|
+
"X-On-Behalf-Of": z.string().optional(),
|
|
45
|
+
ComputeScalingInput: components.ComputeScalingInput$inboundSchema,
|
|
46
|
+
}).transform((v) => {
|
|
47
|
+
return remap$(v, {
|
|
48
|
+
"Idempotency-Key": "idempotencyKey",
|
|
49
|
+
"If-Match": "ifMatch",
|
|
50
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
51
|
+
"ComputeScalingInput": "computeScalingInput",
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
/** @internal */
|
|
55
|
+
export type UpdateServiceScalingRequest$Outbound = {
|
|
56
|
+
id: string;
|
|
57
|
+
"Idempotency-Key": string;
|
|
58
|
+
"If-Match"?: string | undefined;
|
|
59
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
60
|
+
ComputeScalingInput: components.ComputeScalingInput$Outbound;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/** @internal */
|
|
64
|
+
export const UpdateServiceScalingRequest$outboundSchema: z.ZodType<
|
|
65
|
+
UpdateServiceScalingRequest$Outbound,
|
|
66
|
+
z.ZodTypeDef,
|
|
67
|
+
UpdateServiceScalingRequest
|
|
68
|
+
> = z.object({
|
|
69
|
+
id: z.string(),
|
|
70
|
+
idempotencyKey: z.string(),
|
|
71
|
+
ifMatch: z.string().optional(),
|
|
72
|
+
xOnBehalfOf: z.string().optional(),
|
|
73
|
+
computeScalingInput: components.ComputeScalingInput$outboundSchema,
|
|
74
|
+
}).transform((v) => {
|
|
75
|
+
return remap$(v, {
|
|
76
|
+
idempotencyKey: "Idempotency-Key",
|
|
77
|
+
ifMatch: "If-Match",
|
|
78
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
79
|
+
computeScalingInput: "ComputeScalingInput",
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
export function updateServiceScalingRequestToJSON(
|
|
84
|
+
updateServiceScalingRequest: UpdateServiceScalingRequest,
|
|
85
|
+
): string {
|
|
86
|
+
return JSON.stringify(
|
|
87
|
+
UpdateServiceScalingRequest$outboundSchema.parse(
|
|
88
|
+
updateServiceScalingRequest,
|
|
89
|
+
),
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
export function updateServiceScalingRequestFromJSON(
|
|
93
|
+
jsonString: string,
|
|
94
|
+
): SafeParseResult<UpdateServiceScalingRequest, SDKValidationError> {
|
|
95
|
+
return safeParse(
|
|
96
|
+
jsonString,
|
|
97
|
+
(x) => UpdateServiceScalingRequest$inboundSchema.parse(JSON.parse(x)),
|
|
98
|
+
`Failed to parse 'UpdateServiceScalingRequest' from JSON`,
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** @internal */
|
|
103
|
+
export const UpdateServiceScalingResponseResult$inboundSchema: z.ZodType<
|
|
104
|
+
UpdateServiceScalingResponseResult,
|
|
105
|
+
z.ZodTypeDef,
|
|
106
|
+
unknown
|
|
107
|
+
> = z.union([
|
|
108
|
+
components.ComputeService$inboundSchema,
|
|
109
|
+
components.ComputeErrorEnvelope$inboundSchema,
|
|
110
|
+
]);
|
|
111
|
+
/** @internal */
|
|
112
|
+
export type UpdateServiceScalingResponseResult$Outbound =
|
|
113
|
+
| components.ComputeService$Outbound
|
|
114
|
+
| components.ComputeErrorEnvelope$Outbound;
|
|
115
|
+
|
|
116
|
+
/** @internal */
|
|
117
|
+
export const UpdateServiceScalingResponseResult$outboundSchema: z.ZodType<
|
|
118
|
+
UpdateServiceScalingResponseResult$Outbound,
|
|
119
|
+
z.ZodTypeDef,
|
|
120
|
+
UpdateServiceScalingResponseResult
|
|
121
|
+
> = z.union([
|
|
122
|
+
components.ComputeService$outboundSchema,
|
|
123
|
+
components.ComputeErrorEnvelope$outboundSchema,
|
|
124
|
+
]);
|
|
125
|
+
|
|
126
|
+
export function updateServiceScalingResponseResultToJSON(
|
|
127
|
+
updateServiceScalingResponseResult: UpdateServiceScalingResponseResult,
|
|
128
|
+
): string {
|
|
129
|
+
return JSON.stringify(
|
|
130
|
+
UpdateServiceScalingResponseResult$outboundSchema.parse(
|
|
131
|
+
updateServiceScalingResponseResult,
|
|
132
|
+
),
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
export function updateServiceScalingResponseResultFromJSON(
|
|
136
|
+
jsonString: string,
|
|
137
|
+
): SafeParseResult<UpdateServiceScalingResponseResult, SDKValidationError> {
|
|
138
|
+
return safeParse(
|
|
139
|
+
jsonString,
|
|
140
|
+
(x) =>
|
|
141
|
+
UpdateServiceScalingResponseResult$inboundSchema.parse(JSON.parse(x)),
|
|
142
|
+
`Failed to parse 'UpdateServiceScalingResponseResult' from JSON`,
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/** @internal */
|
|
147
|
+
export const UpdateServiceScalingResponse$inboundSchema: z.ZodType<
|
|
148
|
+
UpdateServiceScalingResponse,
|
|
149
|
+
z.ZodTypeDef,
|
|
150
|
+
unknown
|
|
151
|
+
> = z.object({
|
|
152
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
153
|
+
Result: z.union([
|
|
154
|
+
components.ComputeService$inboundSchema,
|
|
155
|
+
components.ComputeErrorEnvelope$inboundSchema,
|
|
156
|
+
]),
|
|
157
|
+
}).transform((v) => {
|
|
158
|
+
return remap$(v, {
|
|
159
|
+
"Headers": "headers",
|
|
160
|
+
"Result": "result",
|
|
161
|
+
});
|
|
162
|
+
});
|
|
163
|
+
/** @internal */
|
|
164
|
+
export type UpdateServiceScalingResponse$Outbound = {
|
|
165
|
+
Headers: { [k: string]: Array<string> };
|
|
166
|
+
Result:
|
|
167
|
+
| components.ComputeService$Outbound
|
|
168
|
+
| components.ComputeErrorEnvelope$Outbound;
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
/** @internal */
|
|
172
|
+
export const UpdateServiceScalingResponse$outboundSchema: z.ZodType<
|
|
173
|
+
UpdateServiceScalingResponse$Outbound,
|
|
174
|
+
z.ZodTypeDef,
|
|
175
|
+
UpdateServiceScalingResponse
|
|
176
|
+
> = z.object({
|
|
177
|
+
headers: z.record(z.array(z.string())),
|
|
178
|
+
result: z.union([
|
|
179
|
+
components.ComputeService$outboundSchema,
|
|
180
|
+
components.ComputeErrorEnvelope$outboundSchema,
|
|
181
|
+
]),
|
|
182
|
+
}).transform((v) => {
|
|
183
|
+
return remap$(v, {
|
|
184
|
+
headers: "Headers",
|
|
185
|
+
result: "Result",
|
|
186
|
+
});
|
|
187
|
+
});
|
|
188
|
+
|
|
189
|
+
export function updateServiceScalingResponseToJSON(
|
|
190
|
+
updateServiceScalingResponse: UpdateServiceScalingResponse,
|
|
191
|
+
): string {
|
|
192
|
+
return JSON.stringify(
|
|
193
|
+
UpdateServiceScalingResponse$outboundSchema.parse(
|
|
194
|
+
updateServiceScalingResponse,
|
|
195
|
+
),
|
|
196
|
+
);
|
|
197
|
+
}
|
|
198
|
+
export function updateServiceScalingResponseFromJSON(
|
|
199
|
+
jsonString: string,
|
|
200
|
+
): SafeParseResult<UpdateServiceScalingResponse, SDKValidationError> {
|
|
201
|
+
return safeParse(
|
|
202
|
+
jsonString,
|
|
203
|
+
(x) => UpdateServiceScalingResponse$inboundSchema.parse(JSON.parse(x)),
|
|
204
|
+
`Failed to parse 'UpdateServiceScalingResponse' from JSON`,
|
|
205
|
+
);
|
|
206
|
+
}
|
|
@@ -48,6 +48,7 @@ export function buildComputeServicesListServiceInstancesQuery(
|
|
|
48
48
|
cursor: request.cursor,
|
|
49
49
|
limit: request.limit,
|
|
50
50
|
order: request.order,
|
|
51
|
+
history: request.history,
|
|
51
52
|
xOnBehalfOf: request.xOnBehalfOf,
|
|
52
53
|
}),
|
|
53
54
|
queryFn: async function computeServicesListServiceInstancesQueryFn(
|
|
@@ -80,6 +81,7 @@ export function queryKeyComputeServicesListServiceInstances(
|
|
|
80
81
|
cursor?: string | undefined;
|
|
81
82
|
limit?: number | undefined;
|
|
82
83
|
order?: components.ComputeOrder | undefined;
|
|
84
|
+
history?: boolean | undefined;
|
|
83
85
|
xOnBehalfOf?: string | undefined;
|
|
84
86
|
},
|
|
85
87
|
): QueryKey {
|
|
@@ -108,6 +108,7 @@ export function setComputeServicesListServiceInstancesData(
|
|
|
108
108
|
cursor?: string | undefined;
|
|
109
109
|
limit?: number | undefined;
|
|
110
110
|
order?: components.ComputeOrder | undefined;
|
|
111
|
+
history?: boolean | undefined;
|
|
111
112
|
xOnBehalfOf?: string | undefined;
|
|
112
113
|
},
|
|
113
114
|
],
|
|
@@ -131,6 +132,7 @@ export function invalidateComputeServicesListServiceInstances(
|
|
|
131
132
|
cursor?: string | undefined;
|
|
132
133
|
limit?: number | undefined;
|
|
133
134
|
order?: components.ComputeOrder | undefined;
|
|
135
|
+
history?: boolean | undefined;
|
|
134
136
|
xOnBehalfOf?: string | undefined;
|
|
135
137
|
},
|
|
136
138
|
]
|
|
@@ -0,0 +1,106 @@
|
|
|
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 { computeServicesUpdateServiceScaling } from "../funcs/computeServicesUpdateServiceScaling.js";
|
|
12
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../models/errors/httpclienterrors.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 { unwrapAsync } from "../types/fp.js";
|
|
26
|
+
import { useSDKContext } from "./_context.js";
|
|
27
|
+
import { MutationHookOptions } from "./_types.js";
|
|
28
|
+
|
|
29
|
+
export type ComputeServicesUpdateServiceScalingMutationVariables = {
|
|
30
|
+
request: operations.UpdateServiceScalingRequest;
|
|
31
|
+
options?: RequestOptions;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export type ComputeServicesUpdateServiceScalingMutationData =
|
|
35
|
+
operations.UpdateServiceScalingResponse;
|
|
36
|
+
|
|
37
|
+
export type ComputeServicesUpdateServiceScalingMutationError =
|
|
38
|
+
| SDKError
|
|
39
|
+
| ResponseValidationError
|
|
40
|
+
| ConnectionError
|
|
41
|
+
| RequestAbortedError
|
|
42
|
+
| RequestTimeoutError
|
|
43
|
+
| InvalidRequestError
|
|
44
|
+
| UnexpectedClientError
|
|
45
|
+
| SDKValidationError;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Replace a service scaling policy
|
|
49
|
+
*/
|
|
50
|
+
export function useComputeServicesUpdateServiceScalingMutation(
|
|
51
|
+
options?: MutationHookOptions<
|
|
52
|
+
ComputeServicesUpdateServiceScalingMutationData,
|
|
53
|
+
ComputeServicesUpdateServiceScalingMutationError,
|
|
54
|
+
ComputeServicesUpdateServiceScalingMutationVariables
|
|
55
|
+
>,
|
|
56
|
+
): UseMutationResult<
|
|
57
|
+
ComputeServicesUpdateServiceScalingMutationData,
|
|
58
|
+
ComputeServicesUpdateServiceScalingMutationError,
|
|
59
|
+
ComputeServicesUpdateServiceScalingMutationVariables
|
|
60
|
+
> {
|
|
61
|
+
const client = useSDKContext();
|
|
62
|
+
return useMutation({
|
|
63
|
+
...buildComputeServicesUpdateServiceScalingMutation(client, options),
|
|
64
|
+
...options,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function mutationKeyComputeServicesUpdateServiceScaling(): MutationKey {
|
|
69
|
+
return ["@meetkai/mka1", "Compute Services", "updateServiceScaling"];
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function buildComputeServicesUpdateServiceScalingMutation(
|
|
73
|
+
client$: SDKCore,
|
|
74
|
+
hookOptions?: RequestOptions,
|
|
75
|
+
): {
|
|
76
|
+
mutationKey: MutationKey;
|
|
77
|
+
mutationFn: (
|
|
78
|
+
variables: ComputeServicesUpdateServiceScalingMutationVariables,
|
|
79
|
+
) => Promise<ComputeServicesUpdateServiceScalingMutationData>;
|
|
80
|
+
} {
|
|
81
|
+
return {
|
|
82
|
+
mutationKey: mutationKeyComputeServicesUpdateServiceScaling(),
|
|
83
|
+
mutationFn: function computeServicesUpdateServiceScalingMutationFn({
|
|
84
|
+
request,
|
|
85
|
+
options,
|
|
86
|
+
}): Promise<ComputeServicesUpdateServiceScalingMutationData> {
|
|
87
|
+
const mergedOptions = {
|
|
88
|
+
...hookOptions,
|
|
89
|
+
...options,
|
|
90
|
+
fetchOptions: {
|
|
91
|
+
...hookOptions?.fetchOptions,
|
|
92
|
+
...options?.fetchOptions,
|
|
93
|
+
signal: combineSignals(
|
|
94
|
+
hookOptions?.fetchOptions?.signal,
|
|
95
|
+
options?.fetchOptions?.signal,
|
|
96
|
+
),
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
return unwrapAsync(computeServicesUpdateServiceScaling(
|
|
100
|
+
client$,
|
|
101
|
+
request,
|
|
102
|
+
mergedOptions,
|
|
103
|
+
));
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
}
|
package/src/react-query/index.ts
CHANGED
|
@@ -132,6 +132,7 @@ export * from "./computeServicesListServiceInstances.js";
|
|
|
132
132
|
export * from "./computeServicesListServiceLogs.js";
|
|
133
133
|
export * from "./computeServicesListServices.js";
|
|
134
134
|
export * from "./computeServicesTerminateService.js";
|
|
135
|
+
export * from "./computeServicesUpdateServiceScaling.js";
|
|
135
136
|
export * from "./computeTenantsGetComputeTenant.js";
|
|
136
137
|
export * from "./computeTenantsListComputeTenants.js";
|
|
137
138
|
export * from "./computeTenantsPutComputeTenant.js";
|
|
@@ -9,6 +9,7 @@ import { computeServicesListServiceInstances } from "../funcs/computeServicesLis
|
|
|
9
9
|
import { computeServicesListServiceLogs } from "../funcs/computeServicesListServiceLogs.js";
|
|
10
10
|
import { computeServicesListServices } from "../funcs/computeServicesListServices.js";
|
|
11
11
|
import { computeServicesTerminateService } from "../funcs/computeServicesTerminateService.js";
|
|
12
|
+
import { computeServicesUpdateServiceScaling } from "../funcs/computeServicesUpdateServiceScaling.js";
|
|
12
13
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
13
14
|
import * as operations from "../models/operations/index.js";
|
|
14
15
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -98,6 +99,20 @@ export class ComputeServices extends ClientSDK {
|
|
|
98
99
|
));
|
|
99
100
|
}
|
|
100
101
|
|
|
102
|
+
/**
|
|
103
|
+
* Replace a service scaling policy
|
|
104
|
+
*/
|
|
105
|
+
async updateServiceScaling(
|
|
106
|
+
request: operations.UpdateServiceScalingRequest,
|
|
107
|
+
options?: RequestOptions,
|
|
108
|
+
): Promise<operations.UpdateServiceScalingResponse> {
|
|
109
|
+
return unwrapAsync(computeServicesUpdateServiceScaling(
|
|
110
|
+
this,
|
|
111
|
+
request,
|
|
112
|
+
options,
|
|
113
|
+
));
|
|
114
|
+
}
|
|
115
|
+
|
|
101
116
|
/**
|
|
102
117
|
* Terminate a service
|
|
103
118
|
*/
|