latitudesh-typescript-sdk 0.8.11 → 0.8.13
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 +24 -12
- package/bin/mcp-server.js +2637 -1544
- package/bin/mcp-server.js.map +57 -37
- package/dist/{esm/funcs/prefixesDestroyPrefix.d.ts → commonjs/funcs/objectStorageDeleteStorageBucketLifecycleRule.d.ts} +4 -4
- package/dist/commonjs/funcs/objectStorageDeleteStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/commonjs/funcs/objectStorageDeleteStorageBucketLifecycleRule.js +133 -0
- package/dist/commonjs/funcs/objectStorageDeleteStorageBucketLifecycleRule.js.map +1 -0
- package/dist/commonjs/funcs/objectStorageGetStorageBucketLifecycleRule.d.ts +18 -0
- package/dist/commonjs/funcs/objectStorageGetStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/commonjs/funcs/objectStorageGetStorageBucketLifecycleRule.js +130 -0
- package/dist/commonjs/funcs/objectStorageGetStorageBucketLifecycleRule.js.map +1 -0
- package/dist/commonjs/funcs/objectStorageGetStorageBucketLifecycleRules.d.ts +19 -0
- package/dist/commonjs/funcs/objectStorageGetStorageBucketLifecycleRules.d.ts.map +1 -0
- package/dist/commonjs/funcs/objectStorageGetStorageBucketLifecycleRules.js +129 -0
- package/dist/commonjs/funcs/objectStorageGetStorageBucketLifecycleRules.js.map +1 -0
- package/dist/commonjs/funcs/objectStoragePostStorageBucketLifecycleRules.d.ts +18 -0
- package/dist/commonjs/funcs/objectStoragePostStorageBucketLifecycleRules.d.ts.map +1 -0
- package/dist/commonjs/funcs/objectStoragePostStorageBucketLifecycleRules.js +129 -0
- package/dist/commonjs/funcs/objectStoragePostStorageBucketLifecycleRules.js.map +1 -0
- package/dist/commonjs/funcs/objectStoragePutStorageBucketLifecycleRule.d.ts +18 -0
- package/dist/commonjs/funcs/objectStoragePutStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/commonjs/funcs/objectStoragePutStorageBucketLifecycleRule.js +133 -0
- package/dist/commonjs/funcs/objectStoragePutStorageBucketLifecycleRule.js.map +1 -0
- package/dist/commonjs/funcs/projectsGetProject.d.ts +17 -0
- package/dist/commonjs/funcs/projectsGetProject.d.ts.map +1 -0
- package/dist/commonjs/funcs/projectsGetProject.js +122 -0
- package/dist/commonjs/funcs/projectsGetProject.js.map +1 -0
- package/dist/commonjs/funcs/{prefixesCreatePrefix.d.ts → publicNetworksCreatePublicNetwork.d.ts} +2 -2
- package/dist/commonjs/funcs/publicNetworksCreatePublicNetwork.d.ts.map +1 -0
- package/dist/commonjs/funcs/{prefixesCreatePrefix.js → publicNetworksCreatePublicNetwork.js} +7 -7
- package/dist/commonjs/funcs/publicNetworksCreatePublicNetwork.js.map +1 -0
- package/dist/{esm/funcs/prefixesGetPrefixes.d.ts → commonjs/funcs/publicNetworksDestroyPublicNetwork.d.ts} +4 -5
- package/dist/commonjs/funcs/publicNetworksDestroyPublicNetwork.d.ts.map +1 -0
- package/dist/commonjs/funcs/{prefixesDestroyPrefix.js → publicNetworksDestroyPublicNetwork.js} +6 -6
- package/dist/commonjs/funcs/publicNetworksDestroyPublicNetwork.js.map +1 -0
- package/dist/{esm/funcs/prefixesGetPrefix.d.ts → commonjs/funcs/publicNetworksGetPublicNetwork.d.ts} +2 -2
- package/dist/commonjs/funcs/publicNetworksGetPublicNetwork.d.ts.map +1 -0
- package/dist/commonjs/funcs/{prefixesGetPrefix.js → publicNetworksGetPublicNetwork.js} +7 -7
- package/dist/commonjs/funcs/publicNetworksGetPublicNetwork.js.map +1 -0
- package/dist/commonjs/funcs/publicNetworksGetPublicNetworks.d.ts +19 -0
- package/dist/commonjs/funcs/publicNetworksGetPublicNetworks.d.ts.map +1 -0
- package/dist/commonjs/funcs/{prefixesGetPrefixes.js → publicNetworksGetPublicNetworks.js} +7 -7
- package/dist/commonjs/funcs/publicNetworksGetPublicNetworks.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 +21 -9
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/objectStorageDeleteStorageBucketLifecycleRule.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/objectStorageDeleteStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/objectStorageDeleteStorageBucketLifecycleRule.js +63 -0
- package/dist/commonjs/mcp-server/tools/objectStorageDeleteStorageBucketLifecycleRule.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/objectStorageGetStorageBucketLifecycleRule.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/objectStorageGetStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/objectStorageGetStorageBucketLifecycleRule.js +64 -0
- package/dist/commonjs/mcp-server/tools/objectStorageGetStorageBucketLifecycleRule.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/objectStorageGetStorageBucketLifecycleRules.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/objectStorageGetStorageBucketLifecycleRules.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/objectStorageGetStorageBucketLifecycleRules.js +64 -0
- package/dist/commonjs/mcp-server/tools/objectStorageGetStorageBucketLifecycleRules.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/objectStoragePostStorageBucketLifecycleRules.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/objectStoragePostStorageBucketLifecycleRules.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/objectStoragePostStorageBucketLifecycleRules.js +64 -0
- package/dist/commonjs/mcp-server/tools/objectStoragePostStorageBucketLifecycleRules.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.js +64 -0
- package/dist/commonjs/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/projectsGetProject.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/projectsGetProject.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{prefixesGetPrefixes.js → projectsGetProject.js} +10 -9
- package/dist/commonjs/mcp-server/tools/projectsGetProject.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksCreatePublicNetwork.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksCreatePublicNetwork.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{prefixesCreatePrefix.js → publicNetworksCreatePublicNetwork.js} +7 -7
- package/dist/commonjs/mcp-server/tools/publicNetworksCreatePublicNetwork.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksDestroyPublicNetwork.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksDestroyPublicNetwork.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{prefixesDestroyPrefix.js → publicNetworksDestroyPublicNetwork.js} +7 -7
- package/dist/commonjs/mcp-server/tools/publicNetworksDestroyPublicNetwork.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksGetPublicNetwork.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksGetPublicNetwork.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{prefixesGetPrefix.js → publicNetworksGetPublicNetwork.js} +7 -7
- package/dist/commonjs/mcp-server/tools/publicNetworksGetPublicNetwork.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksGetPublicNetworks.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksGetPublicNetworks.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksGetPublicNetworks.js +64 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksGetPublicNetworks.js.map +1 -0
- package/dist/commonjs/models/bandwidthpackages.d.ts +33 -7
- package/dist/commonjs/models/bandwidthpackages.d.ts.map +1 -1
- package/dist/commonjs/models/bandwidthpackages.js +39 -7
- package/dist/commonjs/models/bandwidthpackages.js.map +1 -1
- package/dist/commonjs/models/bandwidthplandata.d.ts +4 -0
- package/dist/commonjs/models/bandwidthplandata.d.ts.map +1 -1
- package/dist/commonjs/models/bandwidthplandata.js +4 -0
- package/dist/commonjs/models/bandwidthplandata.js.map +1 -1
- package/dist/commonjs/models/createpublicnetwork.d.ts +84 -0
- package/dist/commonjs/models/createpublicnetwork.d.ts.map +1 -0
- package/dist/commonjs/models/createpublicnetwork.js +127 -0
- package/dist/commonjs/models/createpublicnetwork.js.map +1 -0
- package/dist/commonjs/models/deployconfig.d.ts +4 -4
- package/dist/commonjs/models/deployconfig.d.ts.map +1 -1
- package/dist/commonjs/models/deployconfig.js +8 -6
- package/dist/commonjs/models/deployconfig.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +6 -4
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +6 -4
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/lifecycleruledata.d.ts +74 -0
- package/dist/commonjs/models/lifecycleruledata.d.ts.map +1 -0
- package/dist/commonjs/models/lifecycleruledata.js +110 -0
- package/dist/commonjs/models/lifecycleruledata.js.map +1 -0
- package/dist/commonjs/models/lifecyclerules.d.ts +18 -0
- package/dist/commonjs/models/lifecyclerules.d.ts.map +1 -0
- package/dist/commonjs/models/lifecyclerules.js +59 -0
- package/dist/commonjs/models/lifecyclerules.js.map +1 -0
- package/dist/commonjs/models/operations/createserverreinstall.d.ts +8 -3
- package/dist/commonjs/models/operations/createserverreinstall.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createserverreinstall.js +8 -4
- package/dist/commonjs/models/operations/createserverreinstall.js.map +1 -1
- package/dist/commonjs/models/operations/deletestoragebucketlifecyclerule.d.ts +25 -0
- package/dist/commonjs/models/operations/deletestoragebucketlifecyclerule.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deletestoragebucketlifecyclerule.js +69 -0
- package/dist/commonjs/models/operations/deletestoragebucketlifecyclerule.js.map +1 -0
- package/dist/commonjs/models/operations/destroypublicnetwork.d.ts +17 -0
- package/dist/commonjs/models/operations/destroypublicnetwork.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{getprefix.js → destroypublicnetwork.js} +10 -10
- package/dist/commonjs/models/operations/destroypublicnetwork.js.map +1 -0
- package/dist/commonjs/models/operations/getproject.d.ts +48 -0
- package/dist/commonjs/models/operations/getproject.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getproject.js +98 -0
- package/dist/commonjs/models/operations/getproject.js.map +1 -0
- package/dist/commonjs/models/operations/getpublicnetwork.d.ts +17 -0
- package/dist/commonjs/models/operations/getpublicnetwork.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{destroyprefix.js → getpublicnetwork.js} +10 -10
- package/dist/commonjs/models/operations/getpublicnetwork.js.map +1 -0
- package/dist/commonjs/models/operations/getpublicnetworks.d.ts +19 -0
- package/dist/commonjs/models/operations/getpublicnetworks.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{getprefixes.js → getpublicnetworks.js} +10 -10
- package/dist/commonjs/models/operations/getpublicnetworks.js.map +1 -0
- package/dist/commonjs/models/operations/getregions.d.ts +1 -1
- package/dist/commonjs/models/operations/getstoragebucketlifecyclerule.d.ts +42 -0
- package/dist/commonjs/models/operations/getstoragebucketlifecyclerule.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getstoragebucketlifecyclerule.js +86 -0
- package/dist/commonjs/models/operations/getstoragebucketlifecyclerule.js.map +1 -0
- package/dist/commonjs/models/operations/getstoragebucketlifecyclerules.d.ts +20 -0
- package/dist/commonjs/models/operations/getstoragebucketlifecyclerules.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getstoragebucketlifecyclerules.js +67 -0
- package/dist/commonjs/models/operations/getstoragebucketlifecyclerules.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +9 -3
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +9 -3
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/poststoragebucketlifecyclerules.d.ts +117 -0
- package/dist/commonjs/models/operations/poststoragebucketlifecyclerules.d.ts.map +1 -0
- package/dist/commonjs/models/operations/poststoragebucketlifecyclerules.js +167 -0
- package/dist/commonjs/models/operations/poststoragebucketlifecyclerules.js.map +1 -0
- package/dist/commonjs/models/operations/poststoragebuckets.d.ts +1 -1
- package/dist/commonjs/models/operations/postteam.d.ts +18 -0
- package/dist/commonjs/models/operations/postteam.d.ts.map +1 -1
- package/dist/commonjs/models/operations/postteam.js +27 -1
- package/dist/commonjs/models/operations/postteam.js.map +1 -1
- package/dist/commonjs/models/operations/putstoragebucketlifecyclerule.d.ts +122 -0
- package/dist/commonjs/models/operations/putstoragebucketlifecyclerule.d.ts.map +1 -0
- package/dist/commonjs/models/operations/putstoragebucketlifecyclerule.js +169 -0
- package/dist/commonjs/models/operations/putstoragebucketlifecyclerule.js.map +1 -0
- package/dist/commonjs/models/operations/updateserverdeployconfig.d.ts +6 -6
- package/dist/commonjs/models/operations/updateserverdeployconfig.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updateserverdeployconfig.js +8 -6
- package/dist/commonjs/models/operations/updateserverdeployconfig.js.map +1 -1
- package/dist/commonjs/models/publicnetwork.d.ts +18 -0
- package/dist/commonjs/models/publicnetwork.d.ts.map +1 -0
- package/dist/commonjs/models/{prefix.js → publicnetwork.js} +13 -14
- package/dist/commonjs/models/publicnetwork.js.map +1 -0
- package/dist/commonjs/models/publicnetworkdata.d.ts +144 -0
- package/dist/commonjs/models/publicnetworkdata.d.ts.map +1 -0
- package/dist/commonjs/models/publicnetworkdata.js +196 -0
- package/dist/commonjs/models/publicnetworkdata.js.map +1 -0
- package/dist/commonjs/models/publicnetworks.d.ts +29 -0
- package/dist/commonjs/models/publicnetworks.d.ts.map +1 -0
- package/dist/commonjs/models/{prefixes.js → publicnetworks.js} +23 -23
- package/dist/commonjs/models/publicnetworks.js.map +1 -0
- package/dist/commonjs/models/region.d.ts +1 -1
- package/dist/commonjs/models/regions.d.ts +1 -1
- package/dist/commonjs/models/serverdata.d.ts +15 -15
- package/dist/commonjs/models/serverdata.d.ts.map +1 -1
- package/dist/commonjs/models/serverdata.js +19 -17
- package/dist/commonjs/models/serverdata.js.map +1 -1
- package/dist/commonjs/models/team.d.ts +4 -4
- package/dist/commonjs/models/team.d.ts.map +1 -1
- package/dist/commonjs/models/team.js +8 -4
- package/dist/commonjs/models/team.js.map +1 -1
- package/dist/commonjs/models/teaminclude.d.ts +4 -2
- package/dist/commonjs/models/teaminclude.d.ts.map +1 -1
- package/dist/commonjs/models/teaminclude.js +8 -2
- package/dist/commonjs/models/teaminclude.js.map +1 -1
- package/dist/commonjs/models/userteam.d.ts +4 -2
- package/dist/commonjs/models/userteam.d.ts.map +1 -1
- package/dist/commonjs/models/userteam.js +8 -2
- package/dist/commonjs/models/userteam.js.map +1 -1
- package/dist/commonjs/sdk/objectstorage.d.ts +35 -0
- package/dist/commonjs/sdk/objectstorage.d.ts.map +1 -1
- package/dist/commonjs/sdk/objectstorage.js +50 -0
- package/dist/commonjs/sdk/objectstorage.js.map +1 -1
- package/dist/commonjs/sdk/projects.d.ts +7 -0
- package/dist/commonjs/sdk/projects.d.ts.map +1 -1
- package/dist/commonjs/sdk/projects.js +10 -0
- package/dist/commonjs/sdk/projects.js.map +1 -1
- package/dist/commonjs/sdk/{prefixes.d.ts → publicnetworks.d.ts} +6 -6
- package/dist/commonjs/sdk/publicnetworks.d.ts.map +1 -0
- package/dist/commonjs/sdk/publicnetworks.js +52 -0
- package/dist/commonjs/sdk/publicnetworks.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +3 -3
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +3 -3
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/{commonjs/funcs/prefixesDestroyPrefix.d.ts → esm/funcs/objectStorageDeleteStorageBucketLifecycleRule.d.ts} +4 -4
- package/dist/esm/funcs/objectStorageDeleteStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/esm/funcs/objectStorageDeleteStorageBucketLifecycleRule.js +97 -0
- package/dist/esm/funcs/objectStorageDeleteStorageBucketLifecycleRule.js.map +1 -0
- package/dist/esm/funcs/objectStorageGetStorageBucketLifecycleRule.d.ts +18 -0
- package/dist/esm/funcs/objectStorageGetStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/esm/funcs/objectStorageGetStorageBucketLifecycleRule.js +94 -0
- package/dist/esm/funcs/objectStorageGetStorageBucketLifecycleRule.js.map +1 -0
- package/dist/esm/funcs/objectStorageGetStorageBucketLifecycleRules.d.ts +19 -0
- package/dist/esm/funcs/objectStorageGetStorageBucketLifecycleRules.d.ts.map +1 -0
- package/dist/esm/funcs/objectStorageGetStorageBucketLifecycleRules.js +93 -0
- package/dist/esm/funcs/objectStorageGetStorageBucketLifecycleRules.js.map +1 -0
- package/dist/esm/funcs/objectStoragePostStorageBucketLifecycleRules.d.ts +18 -0
- package/dist/esm/funcs/objectStoragePostStorageBucketLifecycleRules.d.ts.map +1 -0
- package/dist/esm/funcs/objectStoragePostStorageBucketLifecycleRules.js +93 -0
- package/dist/esm/funcs/objectStoragePostStorageBucketLifecycleRules.js.map +1 -0
- package/dist/esm/funcs/objectStoragePutStorageBucketLifecycleRule.d.ts +18 -0
- package/dist/esm/funcs/objectStoragePutStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/esm/funcs/objectStoragePutStorageBucketLifecycleRule.js +97 -0
- package/dist/esm/funcs/objectStoragePutStorageBucketLifecycleRule.js.map +1 -0
- package/dist/esm/funcs/projectsGetProject.d.ts +17 -0
- package/dist/esm/funcs/projectsGetProject.d.ts.map +1 -0
- package/dist/esm/funcs/projectsGetProject.js +86 -0
- package/dist/esm/funcs/projectsGetProject.js.map +1 -0
- package/dist/esm/funcs/{prefixesCreatePrefix.d.ts → publicNetworksCreatePublicNetwork.d.ts} +2 -2
- package/dist/esm/funcs/publicNetworksCreatePublicNetwork.d.ts.map +1 -0
- package/dist/esm/funcs/{prefixesCreatePrefix.js → publicNetworksCreatePublicNetwork.js} +6 -6
- package/dist/esm/funcs/publicNetworksCreatePublicNetwork.js.map +1 -0
- package/dist/{commonjs/funcs/prefixesGetPrefixes.d.ts → esm/funcs/publicNetworksDestroyPublicNetwork.d.ts} +4 -5
- package/dist/esm/funcs/publicNetworksDestroyPublicNetwork.d.ts.map +1 -0
- package/dist/esm/funcs/{prefixesDestroyPrefix.js → publicNetworksDestroyPublicNetwork.js} +5 -5
- package/dist/esm/funcs/publicNetworksDestroyPublicNetwork.js.map +1 -0
- package/dist/{commonjs/funcs/prefixesGetPrefix.d.ts → esm/funcs/publicNetworksGetPublicNetwork.d.ts} +2 -2
- package/dist/esm/funcs/publicNetworksGetPublicNetwork.d.ts.map +1 -0
- package/dist/esm/funcs/{prefixesGetPrefix.js → publicNetworksGetPublicNetwork.js} +6 -6
- package/dist/esm/funcs/publicNetworksGetPublicNetwork.js.map +1 -0
- package/dist/esm/funcs/publicNetworksGetPublicNetworks.d.ts +19 -0
- package/dist/esm/funcs/publicNetworksGetPublicNetworks.d.ts.map +1 -0
- package/dist/esm/funcs/{prefixesGetPrefixes.js → publicNetworksGetPublicNetworks.js} +6 -6
- package/dist/esm/funcs/publicNetworksGetPublicNetworks.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 +21 -9
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/objectStorageDeleteStorageBucketLifecycleRule.d.ts +8 -0
- package/dist/esm/mcp-server/tools/objectStorageDeleteStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/objectStorageDeleteStorageBucketLifecycleRule.js +27 -0
- package/dist/esm/mcp-server/tools/objectStorageDeleteStorageBucketLifecycleRule.js.map +1 -0
- package/dist/esm/mcp-server/tools/objectStorageGetStorageBucketLifecycleRule.d.ts +8 -0
- package/dist/esm/mcp-server/tools/objectStorageGetStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/objectStorageGetStorageBucketLifecycleRule.js +28 -0
- package/dist/esm/mcp-server/tools/objectStorageGetStorageBucketLifecycleRule.js.map +1 -0
- package/dist/esm/mcp-server/tools/objectStorageGetStorageBucketLifecycleRules.d.ts +8 -0
- package/dist/esm/mcp-server/tools/objectStorageGetStorageBucketLifecycleRules.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/objectStorageGetStorageBucketLifecycleRules.js +28 -0
- package/dist/esm/mcp-server/tools/objectStorageGetStorageBucketLifecycleRules.js.map +1 -0
- package/dist/esm/mcp-server/tools/objectStoragePostStorageBucketLifecycleRules.d.ts +8 -0
- package/dist/esm/mcp-server/tools/objectStoragePostStorageBucketLifecycleRules.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/objectStoragePostStorageBucketLifecycleRules.js +28 -0
- package/dist/esm/mcp-server/tools/objectStoragePostStorageBucketLifecycleRules.js.map +1 -0
- package/dist/esm/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.d.ts +8 -0
- package/dist/esm/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.js +28 -0
- package/dist/esm/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.js.map +1 -0
- package/dist/esm/mcp-server/tools/projectsGetProject.d.ts +8 -0
- package/dist/esm/mcp-server/tools/projectsGetProject.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/projectsGetProject.js +29 -0
- package/dist/esm/mcp-server/tools/projectsGetProject.js.map +1 -0
- package/dist/esm/mcp-server/tools/publicNetworksCreatePublicNetwork.d.ts +8 -0
- package/dist/esm/mcp-server/tools/publicNetworksCreatePublicNetwork.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{prefixesCreatePrefix.js → publicNetworksCreatePublicNetwork.js} +6 -6
- package/dist/esm/mcp-server/tools/publicNetworksCreatePublicNetwork.js.map +1 -0
- package/dist/esm/mcp-server/tools/publicNetworksDestroyPublicNetwork.d.ts +8 -0
- package/dist/esm/mcp-server/tools/publicNetworksDestroyPublicNetwork.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{prefixesDestroyPrefix.js → publicNetworksDestroyPublicNetwork.js} +6 -6
- package/dist/esm/mcp-server/tools/publicNetworksDestroyPublicNetwork.js.map +1 -0
- package/dist/esm/mcp-server/tools/publicNetworksGetPublicNetwork.d.ts +8 -0
- package/dist/esm/mcp-server/tools/publicNetworksGetPublicNetwork.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{prefixesGetPrefix.js → publicNetworksGetPublicNetwork.js} +6 -6
- package/dist/esm/mcp-server/tools/publicNetworksGetPublicNetwork.js.map +1 -0
- package/dist/esm/mcp-server/tools/publicNetworksGetPublicNetworks.d.ts +8 -0
- package/dist/esm/mcp-server/tools/publicNetworksGetPublicNetworks.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{prefixesGetPrefixes.js → publicNetworksGetPublicNetworks.js} +6 -6
- package/dist/esm/mcp-server/tools/publicNetworksGetPublicNetworks.js.map +1 -0
- package/dist/esm/models/bandwidthpackages.d.ts +33 -7
- package/dist/esm/models/bandwidthpackages.d.ts.map +1 -1
- package/dist/esm/models/bandwidthpackages.js +34 -6
- package/dist/esm/models/bandwidthpackages.js.map +1 -1
- package/dist/esm/models/bandwidthplandata.d.ts +4 -0
- package/dist/esm/models/bandwidthplandata.d.ts.map +1 -1
- package/dist/esm/models/bandwidthplandata.js +4 -0
- package/dist/esm/models/bandwidthplandata.js.map +1 -1
- package/dist/esm/models/createpublicnetwork.d.ts +84 -0
- package/dist/esm/models/createpublicnetwork.d.ts.map +1 -0
- package/dist/esm/models/createpublicnetwork.js +85 -0
- package/dist/esm/models/createpublicnetwork.js.map +1 -0
- package/dist/esm/models/deployconfig.d.ts +4 -4
- package/dist/esm/models/deployconfig.d.ts.map +1 -1
- package/dist/esm/models/deployconfig.js +8 -6
- package/dist/esm/models/deployconfig.js.map +1 -1
- package/dist/esm/models/index.d.ts +6 -4
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +6 -4
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/lifecycleruledata.d.ts +74 -0
- package/dist/esm/models/lifecycleruledata.d.ts.map +1 -0
- package/dist/esm/models/lifecycleruledata.js +70 -0
- package/dist/esm/models/lifecycleruledata.js.map +1 -0
- package/dist/esm/models/lifecyclerules.d.ts +18 -0
- package/dist/esm/models/lifecyclerules.d.ts.map +1 -0
- package/dist/esm/models/lifecyclerules.js +21 -0
- package/dist/esm/models/lifecyclerules.js.map +1 -0
- package/dist/esm/models/operations/createserverreinstall.d.ts +8 -3
- package/dist/esm/models/operations/createserverreinstall.d.ts.map +1 -1
- package/dist/esm/models/operations/createserverreinstall.js +8 -4
- package/dist/esm/models/operations/createserverreinstall.js.map +1 -1
- package/dist/esm/models/operations/deletestoragebucketlifecyclerule.d.ts +25 -0
- package/dist/esm/models/operations/deletestoragebucketlifecyclerule.d.ts.map +1 -0
- package/dist/esm/models/operations/deletestoragebucketlifecyclerule.js +31 -0
- package/dist/esm/models/operations/deletestoragebucketlifecyclerule.js.map +1 -0
- package/dist/esm/models/operations/destroypublicnetwork.d.ts +17 -0
- package/dist/esm/models/operations/destroypublicnetwork.d.ts.map +1 -0
- package/dist/esm/models/operations/destroypublicnetwork.js +20 -0
- package/dist/esm/models/operations/destroypublicnetwork.js.map +1 -0
- package/dist/esm/models/operations/getproject.d.ts +48 -0
- package/dist/esm/models/operations/getproject.d.ts.map +1 -0
- package/dist/esm/models/operations/getproject.js +56 -0
- package/dist/esm/models/operations/getproject.js.map +1 -0
- package/dist/esm/models/operations/getpublicnetwork.d.ts +17 -0
- package/dist/esm/models/operations/getpublicnetwork.d.ts.map +1 -0
- package/dist/esm/models/operations/getpublicnetwork.js +20 -0
- package/dist/esm/models/operations/getpublicnetwork.js.map +1 -0
- package/dist/esm/models/operations/getpublicnetworks.d.ts +19 -0
- package/dist/esm/models/operations/getpublicnetworks.d.ts.map +1 -0
- package/dist/esm/models/operations/{getprefixes.js → getpublicnetworks.js} +7 -7
- package/dist/esm/models/operations/getpublicnetworks.js.map +1 -0
- package/dist/esm/models/operations/getregions.d.ts +1 -1
- package/dist/esm/models/operations/getstoragebucketlifecyclerule.d.ts +42 -0
- package/dist/esm/models/operations/getstoragebucketlifecyclerule.d.ts.map +1 -0
- package/dist/esm/models/operations/getstoragebucketlifecyclerule.js +46 -0
- package/dist/esm/models/operations/getstoragebucketlifecyclerule.js.map +1 -0
- package/dist/esm/models/operations/getstoragebucketlifecyclerules.d.ts +20 -0
- package/dist/esm/models/operations/getstoragebucketlifecyclerules.d.ts.map +1 -0
- package/dist/esm/models/operations/getstoragebucketlifecyclerules.js +29 -0
- package/dist/esm/models/operations/getstoragebucketlifecyclerules.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +9 -3
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +9 -3
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/poststoragebucketlifecyclerules.d.ts +117 -0
- package/dist/esm/models/operations/poststoragebucketlifecyclerules.d.ts.map +1 -0
- package/dist/esm/models/operations/poststoragebucketlifecyclerules.js +121 -0
- package/dist/esm/models/operations/poststoragebucketlifecyclerules.js.map +1 -0
- package/dist/esm/models/operations/poststoragebuckets.d.ts +1 -1
- package/dist/esm/models/operations/postteam.d.ts +18 -0
- package/dist/esm/models/operations/postteam.d.ts.map +1 -1
- package/dist/esm/models/operations/postteam.js +24 -0
- package/dist/esm/models/operations/postteam.js.map +1 -1
- package/dist/esm/models/operations/putstoragebucketlifecyclerule.d.ts +122 -0
- package/dist/esm/models/operations/putstoragebucketlifecyclerule.d.ts.map +1 -0
- package/dist/esm/models/operations/putstoragebucketlifecyclerule.js +123 -0
- package/dist/esm/models/operations/putstoragebucketlifecyclerule.js.map +1 -0
- package/dist/esm/models/operations/updateserverdeployconfig.d.ts +6 -6
- package/dist/esm/models/operations/updateserverdeployconfig.d.ts.map +1 -1
- package/dist/esm/models/operations/updateserverdeployconfig.js +8 -6
- package/dist/esm/models/operations/updateserverdeployconfig.js.map +1 -1
- package/dist/esm/models/publicnetwork.d.ts +18 -0
- package/dist/esm/models/publicnetwork.d.ts.map +1 -0
- package/dist/esm/models/publicnetwork.js +21 -0
- package/dist/esm/models/publicnetwork.js.map +1 -0
- package/dist/esm/models/publicnetworkdata.d.ts +144 -0
- package/dist/esm/models/publicnetworkdata.d.ts.map +1 -0
- package/dist/esm/models/publicnetworkdata.js +150 -0
- package/dist/esm/models/publicnetworkdata.js.map +1 -0
- package/dist/esm/models/publicnetworks.d.ts +29 -0
- package/dist/esm/models/publicnetworks.d.ts.map +1 -0
- package/dist/esm/models/publicnetworks.js +33 -0
- package/dist/esm/models/publicnetworks.js.map +1 -0
- package/dist/esm/models/region.d.ts +1 -1
- package/dist/esm/models/regions.d.ts +1 -1
- package/dist/esm/models/serverdata.d.ts +15 -15
- package/dist/esm/models/serverdata.d.ts.map +1 -1
- package/dist/esm/models/serverdata.js +16 -14
- package/dist/esm/models/serverdata.js.map +1 -1
- package/dist/esm/models/team.d.ts +4 -4
- package/dist/esm/models/team.d.ts.map +1 -1
- package/dist/esm/models/team.js +8 -4
- package/dist/esm/models/team.js.map +1 -1
- package/dist/esm/models/teaminclude.d.ts +4 -2
- package/dist/esm/models/teaminclude.d.ts.map +1 -1
- package/dist/esm/models/teaminclude.js +8 -2
- package/dist/esm/models/teaminclude.js.map +1 -1
- package/dist/esm/models/userteam.d.ts +4 -2
- package/dist/esm/models/userteam.d.ts.map +1 -1
- package/dist/esm/models/userteam.js +8 -2
- package/dist/esm/models/userteam.js.map +1 -1
- package/dist/esm/sdk/objectstorage.d.ts +35 -0
- package/dist/esm/sdk/objectstorage.d.ts.map +1 -1
- package/dist/esm/sdk/objectstorage.js +50 -0
- package/dist/esm/sdk/objectstorage.js.map +1 -1
- package/dist/esm/sdk/projects.d.ts +7 -0
- package/dist/esm/sdk/projects.d.ts.map +1 -1
- package/dist/esm/sdk/projects.js +10 -0
- package/dist/esm/sdk/projects.js.map +1 -1
- package/dist/esm/sdk/{prefixes.d.ts → publicnetworks.d.ts} +6 -6
- package/dist/esm/sdk/publicnetworks.d.ts.map +1 -0
- package/dist/esm/sdk/publicnetworks.js +48 -0
- package/dist/esm/sdk/publicnetworks.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +3 -3
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +3 -3
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/objectStorageDeleteStorageBucketLifecycleRule.ts +191 -0
- package/src/funcs/objectStorageGetStorageBucketLifecycleRule.ts +191 -0
- package/src/funcs/objectStorageGetStorageBucketLifecycleRules.ts +186 -0
- package/src/funcs/objectStoragePostStorageBucketLifecycleRules.ts +191 -0
- package/src/funcs/objectStoragePutStorageBucketLifecycleRule.ts +195 -0
- package/src/funcs/projectsGetProject.ts +169 -0
- package/src/funcs/{prefixesCreatePrefix.ts → publicNetworksCreatePublicNetwork.ts} +10 -10
- package/src/funcs/{prefixesDestroyPrefix.ts → publicNetworksDestroyPublicNetwork.ts} +7 -6
- package/src/funcs/{prefixesGetPrefix.ts → publicNetworksGetPublicNetwork.ts} +10 -10
- package/src/funcs/{prefixesGetPrefixes.ts → publicNetworksGetPublicNetworks.ts} +12 -10
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +21 -9
- package/src/mcp-server/tools/objectStorageDeleteStorageBucketLifecycleRule.ts +38 -0
- package/src/mcp-server/tools/{prefixesGetPrefixes.ts → objectStorageGetStorageBucketLifecycleRule.ts} +9 -7
- package/src/mcp-server/tools/objectStorageGetStorageBucketLifecycleRules.ts +39 -0
- package/src/mcp-server/tools/objectStoragePostStorageBucketLifecycleRules.ts +40 -0
- package/src/mcp-server/tools/objectStoragePutStorageBucketLifecycleRule.ts +39 -0
- package/src/mcp-server/tools/{prefixesGetPrefix.ts → projectsGetProject.ts} +8 -7
- package/src/mcp-server/tools/{prefixesCreatePrefix.ts → publicNetworksCreatePublicNetwork.ts} +7 -5
- package/src/mcp-server/tools/{prefixesDestroyPrefix.ts → publicNetworksDestroyPublicNetwork.ts} +7 -5
- package/src/mcp-server/tools/publicNetworksGetPublicNetwork.ts +38 -0
- package/src/mcp-server/tools/publicNetworksGetPublicNetworks.ts +38 -0
- package/src/models/bandwidthpackages.ts +101 -15
- package/src/models/bandwidthplandata.ts +8 -0
- package/src/models/createpublicnetwork.ts +213 -0
- package/src/models/deployconfig.ts +12 -10
- package/src/models/index.ts +6 -4
- package/src/models/lifecycleruledata.ts +175 -0
- package/src/models/lifecyclerules.ts +53 -0
- package/src/models/operations/createserverreinstall.ts +16 -7
- package/src/models/operations/deletestoragebucketlifecyclerule.ts +79 -0
- package/src/models/operations/destroypublicnetwork.ts +53 -0
- package/src/models/operations/getproject.ts +145 -0
- package/src/models/operations/getpublicnetwork.ts +51 -0
- package/src/models/operations/{getprefixes.ts → getpublicnetworks.ts} +14 -14
- package/src/models/operations/getregions.ts +1 -1
- package/src/models/operations/getstoragebucketlifecyclerule.ts +123 -0
- package/src/models/operations/getstoragebucketlifecyclerules.ts +66 -0
- package/src/models/operations/index.ts +9 -3
- package/src/models/operations/poststoragebucketlifecyclerules.ts +358 -0
- package/src/models/operations/poststoragebuckets.ts +1 -1
- package/src/models/operations/postteam.ts +54 -0
- package/src/models/operations/putstoragebucketlifecyclerule.ts +357 -0
- package/src/models/operations/updateserverdeployconfig.ts +14 -12
- package/src/models/publicnetwork.ts +53 -0
- package/src/models/publicnetworkdata.ts +366 -0
- package/src/models/publicnetworks.ts +92 -0
- package/src/models/region.ts +1 -1
- package/src/models/regions.ts +1 -1
- package/src/models/serverdata.ts +37 -31
- package/src/models/team.ts +12 -8
- package/src/models/teaminclude.ts +12 -4
- package/src/models/userteam.ts +12 -4
- package/src/sdk/objectstorage.ts +90 -0
- package/src/sdk/projects.ts +18 -0
- package/src/sdk/{prefixes.ts → publicnetworks.ts} +20 -20
- package/src/sdk/sdk.ts +4 -4
- package/dist/commonjs/funcs/prefixesCreatePrefix.d.ts.map +0 -1
- package/dist/commonjs/funcs/prefixesCreatePrefix.js.map +0 -1
- package/dist/commonjs/funcs/prefixesDestroyPrefix.d.ts.map +0 -1
- package/dist/commonjs/funcs/prefixesDestroyPrefix.js.map +0 -1
- package/dist/commonjs/funcs/prefixesGetPrefix.d.ts.map +0 -1
- package/dist/commonjs/funcs/prefixesGetPrefix.js.map +0 -1
- package/dist/commonjs/funcs/prefixesGetPrefixes.d.ts.map +0 -1
- package/dist/commonjs/funcs/prefixesGetPrefixes.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/prefixesCreatePrefix.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/prefixesCreatePrefix.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/prefixesCreatePrefix.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/prefixesDestroyPrefix.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/prefixesDestroyPrefix.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/prefixesDestroyPrefix.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefix.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefix.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefix.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefixes.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefixes.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/prefixesGetPrefixes.js.map +0 -1
- package/dist/commonjs/models/createprefix.d.ts +0 -84
- package/dist/commonjs/models/createprefix.d.ts.map +0 -1
- package/dist/commonjs/models/createprefix.js +0 -125
- package/dist/commonjs/models/createprefix.js.map +0 -1
- package/dist/commonjs/models/operations/destroyprefix.d.ts +0 -17
- package/dist/commonjs/models/operations/destroyprefix.d.ts.map +0 -1
- package/dist/commonjs/models/operations/destroyprefix.js.map +0 -1
- package/dist/commonjs/models/operations/getprefix.d.ts +0 -17
- package/dist/commonjs/models/operations/getprefix.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getprefix.js.map +0 -1
- package/dist/commonjs/models/operations/getprefixes.d.ts +0 -19
- package/dist/commonjs/models/operations/getprefixes.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getprefixes.js.map +0 -1
- package/dist/commonjs/models/prefix.d.ts +0 -18
- package/dist/commonjs/models/prefix.d.ts.map +0 -1
- package/dist/commonjs/models/prefix.js.map +0 -1
- package/dist/commonjs/models/prefixdata.d.ts +0 -144
- package/dist/commonjs/models/prefixdata.d.ts.map +0 -1
- package/dist/commonjs/models/prefixdata.js +0 -191
- package/dist/commonjs/models/prefixdata.js.map +0 -1
- package/dist/commonjs/models/prefixes.d.ts +0 -29
- package/dist/commonjs/models/prefixes.d.ts.map +0 -1
- package/dist/commonjs/models/prefixes.js.map +0 -1
- package/dist/commonjs/sdk/prefixes.d.ts.map +0 -1
- package/dist/commonjs/sdk/prefixes.js +0 -52
- package/dist/commonjs/sdk/prefixes.js.map +0 -1
- package/dist/esm/funcs/prefixesCreatePrefix.d.ts.map +0 -1
- package/dist/esm/funcs/prefixesCreatePrefix.js.map +0 -1
- package/dist/esm/funcs/prefixesDestroyPrefix.d.ts.map +0 -1
- package/dist/esm/funcs/prefixesDestroyPrefix.js.map +0 -1
- package/dist/esm/funcs/prefixesGetPrefix.d.ts.map +0 -1
- package/dist/esm/funcs/prefixesGetPrefix.js.map +0 -1
- package/dist/esm/funcs/prefixesGetPrefixes.d.ts.map +0 -1
- package/dist/esm/funcs/prefixesGetPrefixes.js.map +0 -1
- package/dist/esm/mcp-server/tools/prefixesCreatePrefix.d.ts +0 -8
- package/dist/esm/mcp-server/tools/prefixesCreatePrefix.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/prefixesCreatePrefix.js.map +0 -1
- package/dist/esm/mcp-server/tools/prefixesDestroyPrefix.d.ts +0 -8
- package/dist/esm/mcp-server/tools/prefixesDestroyPrefix.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/prefixesDestroyPrefix.js.map +0 -1
- package/dist/esm/mcp-server/tools/prefixesGetPrefix.d.ts +0 -8
- package/dist/esm/mcp-server/tools/prefixesGetPrefix.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/prefixesGetPrefix.js.map +0 -1
- package/dist/esm/mcp-server/tools/prefixesGetPrefixes.d.ts +0 -8
- package/dist/esm/mcp-server/tools/prefixesGetPrefixes.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/prefixesGetPrefixes.js.map +0 -1
- package/dist/esm/models/createprefix.d.ts +0 -84
- package/dist/esm/models/createprefix.d.ts.map +0 -1
- package/dist/esm/models/createprefix.js +0 -83
- package/dist/esm/models/createprefix.js.map +0 -1
- package/dist/esm/models/operations/destroyprefix.d.ts +0 -17
- package/dist/esm/models/operations/destroyprefix.d.ts.map +0 -1
- package/dist/esm/models/operations/destroyprefix.js +0 -20
- package/dist/esm/models/operations/destroyprefix.js.map +0 -1
- package/dist/esm/models/operations/getprefix.d.ts +0 -17
- package/dist/esm/models/operations/getprefix.d.ts.map +0 -1
- package/dist/esm/models/operations/getprefix.js +0 -20
- package/dist/esm/models/operations/getprefix.js.map +0 -1
- package/dist/esm/models/operations/getprefixes.d.ts +0 -19
- package/dist/esm/models/operations/getprefixes.d.ts.map +0 -1
- package/dist/esm/models/operations/getprefixes.js.map +0 -1
- package/dist/esm/models/prefix.d.ts +0 -18
- package/dist/esm/models/prefix.d.ts.map +0 -1
- package/dist/esm/models/prefix.js +0 -22
- package/dist/esm/models/prefix.js.map +0 -1
- package/dist/esm/models/prefixdata.d.ts +0 -144
- package/dist/esm/models/prefixdata.d.ts.map +0 -1
- package/dist/esm/models/prefixdata.js +0 -145
- package/dist/esm/models/prefixdata.js.map +0 -1
- package/dist/esm/models/prefixes.d.ts +0 -29
- package/dist/esm/models/prefixes.d.ts.map +0 -1
- package/dist/esm/models/prefixes.js +0 -33
- package/dist/esm/models/prefixes.js.map +0 -1
- package/dist/esm/sdk/prefixes.d.ts.map +0 -1
- package/dist/esm/sdk/prefixes.js +0 -48
- package/dist/esm/sdk/prefixes.js.map +0 -1
- package/src/models/createprefix.ts +0 -201
- package/src/models/operations/destroyprefix.ts +0 -51
- package/src/models/operations/getprefix.ts +0 -51
- package/src/models/prefix.ts +0 -50
- package/src/models/prefixdata.ts +0 -355
- package/src/models/prefixes.ts +0 -88
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export const CreatePublicNetworkType = {
|
|
13
|
+
PublicNetworks: "public_networks",
|
|
14
|
+
} as const;
|
|
15
|
+
export type CreatePublicNetworkType = ClosedEnum<
|
|
16
|
+
typeof CreatePublicNetworkType
|
|
17
|
+
>;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* IPv4 prefix length. Determines how many servers the public network can host.
|
|
21
|
+
*/
|
|
22
|
+
export const CreatePublicNetworkSize = {
|
|
23
|
+
TwentySix: 26,
|
|
24
|
+
TwentySeven: 27,
|
|
25
|
+
TwentyEight: 28,
|
|
26
|
+
TwentyNine: 29,
|
|
27
|
+
} as const;
|
|
28
|
+
/**
|
|
29
|
+
* IPv4 prefix length. Determines how many servers the public network can host.
|
|
30
|
+
*/
|
|
31
|
+
export type CreatePublicNetworkSize = ClosedEnum<
|
|
32
|
+
typeof CreatePublicNetworkSize
|
|
33
|
+
>;
|
|
34
|
+
|
|
35
|
+
export type CreatePublicNetworkAttributes = {
|
|
36
|
+
/**
|
|
37
|
+
* The project to create the public network in
|
|
38
|
+
*/
|
|
39
|
+
projectId: string;
|
|
40
|
+
/**
|
|
41
|
+
* The site slug the public network is bound to
|
|
42
|
+
*/
|
|
43
|
+
site: string;
|
|
44
|
+
/**
|
|
45
|
+
* IPv4 prefix length. Determines how many servers the public network can host.
|
|
46
|
+
*/
|
|
47
|
+
size: CreatePublicNetworkSize;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export type CreatePublicNetworkData = {
|
|
51
|
+
type: CreatePublicNetworkType;
|
|
52
|
+
attributes?: CreatePublicNetworkAttributes | undefined;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export type CreatePublicNetwork = {
|
|
56
|
+
data: CreatePublicNetworkData;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const CreatePublicNetworkType$inboundSchema: z.ZodNativeEnum<
|
|
61
|
+
typeof CreatePublicNetworkType
|
|
62
|
+
> = z.nativeEnum(CreatePublicNetworkType);
|
|
63
|
+
/** @internal */
|
|
64
|
+
export const CreatePublicNetworkType$outboundSchema: z.ZodNativeEnum<
|
|
65
|
+
typeof CreatePublicNetworkType
|
|
66
|
+
> = CreatePublicNetworkType$inboundSchema;
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const CreatePublicNetworkSize$inboundSchema: z.ZodNativeEnum<
|
|
70
|
+
typeof CreatePublicNetworkSize
|
|
71
|
+
> = z.nativeEnum(CreatePublicNetworkSize);
|
|
72
|
+
/** @internal */
|
|
73
|
+
export const CreatePublicNetworkSize$outboundSchema: z.ZodNativeEnum<
|
|
74
|
+
typeof CreatePublicNetworkSize
|
|
75
|
+
> = CreatePublicNetworkSize$inboundSchema;
|
|
76
|
+
|
|
77
|
+
/** @internal */
|
|
78
|
+
export const CreatePublicNetworkAttributes$inboundSchema: z.ZodType<
|
|
79
|
+
CreatePublicNetworkAttributes,
|
|
80
|
+
z.ZodTypeDef,
|
|
81
|
+
unknown
|
|
82
|
+
> = z.object({
|
|
83
|
+
project_id: z.string(),
|
|
84
|
+
site: z.string(),
|
|
85
|
+
size: CreatePublicNetworkSize$inboundSchema,
|
|
86
|
+
}).transform((v) => {
|
|
87
|
+
return remap$(v, {
|
|
88
|
+
"project_id": "projectId",
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
/** @internal */
|
|
92
|
+
export type CreatePublicNetworkAttributes$Outbound = {
|
|
93
|
+
project_id: string;
|
|
94
|
+
site: string;
|
|
95
|
+
size: number;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
/** @internal */
|
|
99
|
+
export const CreatePublicNetworkAttributes$outboundSchema: z.ZodType<
|
|
100
|
+
CreatePublicNetworkAttributes$Outbound,
|
|
101
|
+
z.ZodTypeDef,
|
|
102
|
+
CreatePublicNetworkAttributes
|
|
103
|
+
> = z.object({
|
|
104
|
+
projectId: z.string(),
|
|
105
|
+
site: z.string(),
|
|
106
|
+
size: CreatePublicNetworkSize$outboundSchema,
|
|
107
|
+
}).transform((v) => {
|
|
108
|
+
return remap$(v, {
|
|
109
|
+
projectId: "project_id",
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
export function createPublicNetworkAttributesToJSON(
|
|
114
|
+
createPublicNetworkAttributes: CreatePublicNetworkAttributes,
|
|
115
|
+
): string {
|
|
116
|
+
return JSON.stringify(
|
|
117
|
+
CreatePublicNetworkAttributes$outboundSchema.parse(
|
|
118
|
+
createPublicNetworkAttributes,
|
|
119
|
+
),
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
export function createPublicNetworkAttributesFromJSON(
|
|
123
|
+
jsonString: string,
|
|
124
|
+
): SafeParseResult<CreatePublicNetworkAttributes, SDKValidationError> {
|
|
125
|
+
return safeParse(
|
|
126
|
+
jsonString,
|
|
127
|
+
(x) => CreatePublicNetworkAttributes$inboundSchema.parse(JSON.parse(x)),
|
|
128
|
+
`Failed to parse 'CreatePublicNetworkAttributes' from JSON`,
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/** @internal */
|
|
133
|
+
export const CreatePublicNetworkData$inboundSchema: z.ZodType<
|
|
134
|
+
CreatePublicNetworkData,
|
|
135
|
+
z.ZodTypeDef,
|
|
136
|
+
unknown
|
|
137
|
+
> = z.object({
|
|
138
|
+
type: CreatePublicNetworkType$inboundSchema,
|
|
139
|
+
attributes: z.lazy(() => CreatePublicNetworkAttributes$inboundSchema)
|
|
140
|
+
.optional(),
|
|
141
|
+
});
|
|
142
|
+
/** @internal */
|
|
143
|
+
export type CreatePublicNetworkData$Outbound = {
|
|
144
|
+
type: string;
|
|
145
|
+
attributes?: CreatePublicNetworkAttributes$Outbound | undefined;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/** @internal */
|
|
149
|
+
export const CreatePublicNetworkData$outboundSchema: z.ZodType<
|
|
150
|
+
CreatePublicNetworkData$Outbound,
|
|
151
|
+
z.ZodTypeDef,
|
|
152
|
+
CreatePublicNetworkData
|
|
153
|
+
> = z.object({
|
|
154
|
+
type: CreatePublicNetworkType$outboundSchema,
|
|
155
|
+
attributes: z.lazy(() => CreatePublicNetworkAttributes$outboundSchema)
|
|
156
|
+
.optional(),
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
export function createPublicNetworkDataToJSON(
|
|
160
|
+
createPublicNetworkData: CreatePublicNetworkData,
|
|
161
|
+
): string {
|
|
162
|
+
return JSON.stringify(
|
|
163
|
+
CreatePublicNetworkData$outboundSchema.parse(createPublicNetworkData),
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
export function createPublicNetworkDataFromJSON(
|
|
167
|
+
jsonString: string,
|
|
168
|
+
): SafeParseResult<CreatePublicNetworkData, SDKValidationError> {
|
|
169
|
+
return safeParse(
|
|
170
|
+
jsonString,
|
|
171
|
+
(x) => CreatePublicNetworkData$inboundSchema.parse(JSON.parse(x)),
|
|
172
|
+
`Failed to parse 'CreatePublicNetworkData' from JSON`,
|
|
173
|
+
);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/** @internal */
|
|
177
|
+
export const CreatePublicNetwork$inboundSchema: z.ZodType<
|
|
178
|
+
CreatePublicNetwork,
|
|
179
|
+
z.ZodTypeDef,
|
|
180
|
+
unknown
|
|
181
|
+
> = z.object({
|
|
182
|
+
data: z.lazy(() => CreatePublicNetworkData$inboundSchema),
|
|
183
|
+
});
|
|
184
|
+
/** @internal */
|
|
185
|
+
export type CreatePublicNetwork$Outbound = {
|
|
186
|
+
data: CreatePublicNetworkData$Outbound;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
/** @internal */
|
|
190
|
+
export const CreatePublicNetwork$outboundSchema: z.ZodType<
|
|
191
|
+
CreatePublicNetwork$Outbound,
|
|
192
|
+
z.ZodTypeDef,
|
|
193
|
+
CreatePublicNetwork
|
|
194
|
+
> = z.object({
|
|
195
|
+
data: z.lazy(() => CreatePublicNetworkData$outboundSchema),
|
|
196
|
+
});
|
|
197
|
+
|
|
198
|
+
export function createPublicNetworkToJSON(
|
|
199
|
+
createPublicNetwork: CreatePublicNetwork,
|
|
200
|
+
): string {
|
|
201
|
+
return JSON.stringify(
|
|
202
|
+
CreatePublicNetwork$outboundSchema.parse(createPublicNetwork),
|
|
203
|
+
);
|
|
204
|
+
}
|
|
205
|
+
export function createPublicNetworkFromJSON(
|
|
206
|
+
jsonString: string,
|
|
207
|
+
): SafeParseResult<CreatePublicNetwork, SDKValidationError> {
|
|
208
|
+
return safeParse(
|
|
209
|
+
jsonString,
|
|
210
|
+
(x) => CreatePublicNetwork$inboundSchema.parse(JSON.parse(x)),
|
|
211
|
+
`Failed to parse 'CreatePublicNetwork' from JSON`,
|
|
212
|
+
);
|
|
213
|
+
}
|
|
@@ -47,8 +47,8 @@ export type DeployConfigAttributes = {
|
|
|
47
47
|
* Keep network boot enabled so the server iPXE-boots on every reboot instead of booting from disk. Only supported with the 'ipxe' operating system.
|
|
48
48
|
*/
|
|
49
49
|
persistentNetboot?: boolean | null | undefined;
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
publicNetwork?: boolean | null | undefined;
|
|
51
|
+
publicNetworkId?: string | null | undefined;
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
export type DeployConfigData = {
|
|
@@ -158,8 +158,8 @@ export const DeployConfigAttributes$inboundSchema: z.ZodType<
|
|
|
158
158
|
user_data: z.string().optional(),
|
|
159
159
|
ssh_keys: z.array(z.string()).optional(),
|
|
160
160
|
persistent_netboot: z.nullable(z.boolean()).optional(),
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
public_network: z.nullable(z.boolean()).optional(),
|
|
162
|
+
public_network_id: z.nullable(z.string()).optional(),
|
|
163
163
|
}).transform((v) => {
|
|
164
164
|
return remap$(v, {
|
|
165
165
|
"operating_system": "operatingSystem",
|
|
@@ -167,7 +167,8 @@ export const DeployConfigAttributes$inboundSchema: z.ZodType<
|
|
|
167
167
|
"user_data": "userData",
|
|
168
168
|
"ssh_keys": "sshKeys",
|
|
169
169
|
"persistent_netboot": "persistentNetboot",
|
|
170
|
-
"
|
|
170
|
+
"public_network": "publicNetwork",
|
|
171
|
+
"public_network_id": "publicNetworkId",
|
|
171
172
|
});
|
|
172
173
|
});
|
|
173
174
|
/** @internal */
|
|
@@ -179,8 +180,8 @@ export type DeployConfigAttributes$Outbound = {
|
|
|
179
180
|
user_data?: string | undefined;
|
|
180
181
|
ssh_keys?: Array<string> | undefined;
|
|
181
182
|
persistent_netboot?: boolean | null | undefined;
|
|
182
|
-
|
|
183
|
-
|
|
183
|
+
public_network?: boolean | null | undefined;
|
|
184
|
+
public_network_id?: string | null | undefined;
|
|
184
185
|
};
|
|
185
186
|
|
|
186
187
|
/** @internal */
|
|
@@ -197,8 +198,8 @@ export const DeployConfigAttributes$outboundSchema: z.ZodType<
|
|
|
197
198
|
userData: z.string().optional(),
|
|
198
199
|
sshKeys: z.array(z.string()).optional(),
|
|
199
200
|
persistentNetboot: z.nullable(z.boolean()).optional(),
|
|
200
|
-
|
|
201
|
-
|
|
201
|
+
publicNetwork: z.nullable(z.boolean()).optional(),
|
|
202
|
+
publicNetworkId: z.nullable(z.string()).optional(),
|
|
202
203
|
}).transform((v) => {
|
|
203
204
|
return remap$(v, {
|
|
204
205
|
operatingSystem: "operating_system",
|
|
@@ -206,7 +207,8 @@ export const DeployConfigAttributes$outboundSchema: z.ZodType<
|
|
|
206
207
|
userData: "user_data",
|
|
207
208
|
sshKeys: "ssh_keys",
|
|
208
209
|
persistentNetboot: "persistent_netboot",
|
|
209
|
-
|
|
210
|
+
publicNetwork: "public_network",
|
|
211
|
+
publicNetworkId: "public_network_id",
|
|
210
212
|
});
|
|
211
213
|
});
|
|
212
214
|
|
package/src/models/index.ts
CHANGED
|
@@ -19,7 +19,7 @@ export * from "./createapikey.js";
|
|
|
19
19
|
export * from "./createbgpsession.js";
|
|
20
20
|
export * from "./createelasticip.js";
|
|
21
21
|
export * from "./createkubernetescluster.js";
|
|
22
|
-
export * from "./
|
|
22
|
+
export * from "./createpublicnetwork.js";
|
|
23
23
|
export * from "./customtag.js";
|
|
24
24
|
export * from "./customtagdata.js";
|
|
25
25
|
export * from "./customtags.js";
|
|
@@ -50,6 +50,8 @@ export * from "./kubernetesclusterkubeconfig.js";
|
|
|
50
50
|
export * from "./kubernetesclusters.js";
|
|
51
51
|
export * from "./kubernetesclustersummarydata.js";
|
|
52
52
|
export * from "./kubernetesclusterupdateresponse.js";
|
|
53
|
+
export * from "./lifecycleruledata.js";
|
|
54
|
+
export * from "./lifecyclerules.js";
|
|
53
55
|
export * from "./manageddatabaseplanattributes.js";
|
|
54
56
|
export * from "./manageddatabaseplans.js";
|
|
55
57
|
export * from "./membership.js";
|
|
@@ -61,12 +63,12 @@ export * from "./outofbandconnection.js";
|
|
|
61
63
|
export * from "./paginationmeta.js";
|
|
62
64
|
export * from "./plan.js";
|
|
63
65
|
export * from "./plandata.js";
|
|
64
|
-
export * from "./prefix.js";
|
|
65
|
-
export * from "./prefixdata.js";
|
|
66
|
-
export * from "./prefixes.js";
|
|
67
66
|
export * from "./project.js";
|
|
68
67
|
export * from "./projectinclude.js";
|
|
69
68
|
export * from "./projects.js";
|
|
69
|
+
export * from "./publicnetwork.js";
|
|
70
|
+
export * from "./publicnetworkdata.js";
|
|
71
|
+
export * from "./publicnetworks.js";
|
|
70
72
|
export * from "./region.js";
|
|
71
73
|
export * from "./regionresourcedata.js";
|
|
72
74
|
export * from "./regions.js";
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export const LifecycleRuleDataType = {
|
|
13
|
+
LifecycleRules: "lifecycle_rules",
|
|
14
|
+
} as const;
|
|
15
|
+
export type LifecycleRuleDataType = ClosedEnum<typeof LifecycleRuleDataType>;
|
|
16
|
+
|
|
17
|
+
export type LifecycleRuleDataAttributes = {
|
|
18
|
+
/**
|
|
19
|
+
* Name of the lifecycle rule
|
|
20
|
+
*/
|
|
21
|
+
name?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the rule is currently active
|
|
24
|
+
*/
|
|
25
|
+
enabled?: boolean | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Object key prefix filter. When set, the rule only applies to objects whose keys start with this prefix.
|
|
28
|
+
*/
|
|
29
|
+
prefix?: string | null | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Number of days after object creation when the object expires and is automatically deleted
|
|
32
|
+
*/
|
|
33
|
+
expirationDays?: number | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Number of days after which noncurrent object versions expire (for versioned buckets)
|
|
36
|
+
*/
|
|
37
|
+
noncurrentDays?: number | null | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Number of days after initiation to abort incomplete multipart uploads
|
|
40
|
+
*/
|
|
41
|
+
abortMpuDaysAfterInitiation?: number | null | undefined;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export type LifecycleRuleData = {
|
|
45
|
+
/**
|
|
46
|
+
* Lifecycle rule ID with lifecycle_ prefix
|
|
47
|
+
*/
|
|
48
|
+
id?: string | undefined;
|
|
49
|
+
type?: LifecycleRuleDataType | undefined;
|
|
50
|
+
attributes?: LifecycleRuleDataAttributes | undefined;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const LifecycleRuleDataType$inboundSchema: z.ZodNativeEnum<
|
|
55
|
+
typeof LifecycleRuleDataType
|
|
56
|
+
> = z.nativeEnum(LifecycleRuleDataType);
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const LifecycleRuleDataType$outboundSchema: z.ZodNativeEnum<
|
|
59
|
+
typeof LifecycleRuleDataType
|
|
60
|
+
> = LifecycleRuleDataType$inboundSchema;
|
|
61
|
+
|
|
62
|
+
/** @internal */
|
|
63
|
+
export const LifecycleRuleDataAttributes$inboundSchema: z.ZodType<
|
|
64
|
+
LifecycleRuleDataAttributes,
|
|
65
|
+
z.ZodTypeDef,
|
|
66
|
+
unknown
|
|
67
|
+
> = z.object({
|
|
68
|
+
name: z.string().optional(),
|
|
69
|
+
enabled: z.boolean().optional(),
|
|
70
|
+
prefix: z.nullable(z.string()).optional(),
|
|
71
|
+
expiration_days: z.number().int().optional(),
|
|
72
|
+
noncurrent_days: z.nullable(z.number().int()).optional(),
|
|
73
|
+
abort_mpu_days_after_initiation: z.nullable(z.number().int()).optional(),
|
|
74
|
+
}).transform((v) => {
|
|
75
|
+
return remap$(v, {
|
|
76
|
+
"expiration_days": "expirationDays",
|
|
77
|
+
"noncurrent_days": "noncurrentDays",
|
|
78
|
+
"abort_mpu_days_after_initiation": "abortMpuDaysAfterInitiation",
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
/** @internal */
|
|
82
|
+
export type LifecycleRuleDataAttributes$Outbound = {
|
|
83
|
+
name?: string | undefined;
|
|
84
|
+
enabled?: boolean | undefined;
|
|
85
|
+
prefix?: string | null | undefined;
|
|
86
|
+
expiration_days?: number | undefined;
|
|
87
|
+
noncurrent_days?: number | null | undefined;
|
|
88
|
+
abort_mpu_days_after_initiation?: number | null | undefined;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
/** @internal */
|
|
92
|
+
export const LifecycleRuleDataAttributes$outboundSchema: z.ZodType<
|
|
93
|
+
LifecycleRuleDataAttributes$Outbound,
|
|
94
|
+
z.ZodTypeDef,
|
|
95
|
+
LifecycleRuleDataAttributes
|
|
96
|
+
> = z.object({
|
|
97
|
+
name: z.string().optional(),
|
|
98
|
+
enabled: z.boolean().optional(),
|
|
99
|
+
prefix: z.nullable(z.string()).optional(),
|
|
100
|
+
expirationDays: z.number().int().optional(),
|
|
101
|
+
noncurrentDays: z.nullable(z.number().int()).optional(),
|
|
102
|
+
abortMpuDaysAfterInitiation: z.nullable(z.number().int()).optional(),
|
|
103
|
+
}).transform((v) => {
|
|
104
|
+
return remap$(v, {
|
|
105
|
+
expirationDays: "expiration_days",
|
|
106
|
+
noncurrentDays: "noncurrent_days",
|
|
107
|
+
abortMpuDaysAfterInitiation: "abort_mpu_days_after_initiation",
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
export function lifecycleRuleDataAttributesToJSON(
|
|
112
|
+
lifecycleRuleDataAttributes: LifecycleRuleDataAttributes,
|
|
113
|
+
): string {
|
|
114
|
+
return JSON.stringify(
|
|
115
|
+
LifecycleRuleDataAttributes$outboundSchema.parse(
|
|
116
|
+
lifecycleRuleDataAttributes,
|
|
117
|
+
),
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
export function lifecycleRuleDataAttributesFromJSON(
|
|
121
|
+
jsonString: string,
|
|
122
|
+
): SafeParseResult<LifecycleRuleDataAttributes, SDKValidationError> {
|
|
123
|
+
return safeParse(
|
|
124
|
+
jsonString,
|
|
125
|
+
(x) => LifecycleRuleDataAttributes$inboundSchema.parse(JSON.parse(x)),
|
|
126
|
+
`Failed to parse 'LifecycleRuleDataAttributes' from JSON`,
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/** @internal */
|
|
131
|
+
export const LifecycleRuleData$inboundSchema: z.ZodType<
|
|
132
|
+
LifecycleRuleData,
|
|
133
|
+
z.ZodTypeDef,
|
|
134
|
+
unknown
|
|
135
|
+
> = z.object({
|
|
136
|
+
id: z.string().optional(),
|
|
137
|
+
type: LifecycleRuleDataType$inboundSchema.optional(),
|
|
138
|
+
attributes: z.lazy(() => LifecycleRuleDataAttributes$inboundSchema)
|
|
139
|
+
.optional(),
|
|
140
|
+
});
|
|
141
|
+
/** @internal */
|
|
142
|
+
export type LifecycleRuleData$Outbound = {
|
|
143
|
+
id?: string | undefined;
|
|
144
|
+
type?: string | undefined;
|
|
145
|
+
attributes?: LifecycleRuleDataAttributes$Outbound | undefined;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/** @internal */
|
|
149
|
+
export const LifecycleRuleData$outboundSchema: z.ZodType<
|
|
150
|
+
LifecycleRuleData$Outbound,
|
|
151
|
+
z.ZodTypeDef,
|
|
152
|
+
LifecycleRuleData
|
|
153
|
+
> = z.object({
|
|
154
|
+
id: z.string().optional(),
|
|
155
|
+
type: LifecycleRuleDataType$outboundSchema.optional(),
|
|
156
|
+
attributes: z.lazy(() => LifecycleRuleDataAttributes$outboundSchema)
|
|
157
|
+
.optional(),
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
export function lifecycleRuleDataToJSON(
|
|
161
|
+
lifecycleRuleData: LifecycleRuleData,
|
|
162
|
+
): string {
|
|
163
|
+
return JSON.stringify(
|
|
164
|
+
LifecycleRuleData$outboundSchema.parse(lifecycleRuleData),
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
export function lifecycleRuleDataFromJSON(
|
|
168
|
+
jsonString: string,
|
|
169
|
+
): SafeParseResult<LifecycleRuleData, SDKValidationError> {
|
|
170
|
+
return safeParse(
|
|
171
|
+
jsonString,
|
|
172
|
+
(x) => LifecycleRuleData$inboundSchema.parse(JSON.parse(x)),
|
|
173
|
+
`Failed to parse 'LifecycleRuleData' from JSON`,
|
|
174
|
+
);
|
|
175
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
LifecycleRuleData,
|
|
11
|
+
LifecycleRuleData$inboundSchema,
|
|
12
|
+
LifecycleRuleData$Outbound,
|
|
13
|
+
LifecycleRuleData$outboundSchema,
|
|
14
|
+
} from "./lifecycleruledata.js";
|
|
15
|
+
|
|
16
|
+
export type LifecycleRules = {
|
|
17
|
+
data?: Array<LifecycleRuleData> | undefined;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const LifecycleRules$inboundSchema: z.ZodType<
|
|
22
|
+
LifecycleRules,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
data: z.array(LifecycleRuleData$inboundSchema).optional(),
|
|
27
|
+
});
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type LifecycleRules$Outbound = {
|
|
30
|
+
data?: Array<LifecycleRuleData$Outbound> | undefined;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const LifecycleRules$outboundSchema: z.ZodType<
|
|
35
|
+
LifecycleRules$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
LifecycleRules
|
|
38
|
+
> = z.object({
|
|
39
|
+
data: z.array(LifecycleRuleData$outboundSchema).optional(),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export function lifecycleRulesToJSON(lifecycleRules: LifecycleRules): string {
|
|
43
|
+
return JSON.stringify(LifecycleRules$outboundSchema.parse(lifecycleRules));
|
|
44
|
+
}
|
|
45
|
+
export function lifecycleRulesFromJSON(
|
|
46
|
+
jsonString: string,
|
|
47
|
+
): SafeParseResult<LifecycleRules, SDKValidationError> {
|
|
48
|
+
return safeParse(
|
|
49
|
+
jsonString,
|
|
50
|
+
(x) => LifecycleRules$inboundSchema.parse(JSON.parse(x)),
|
|
51
|
+
`Failed to parse 'LifecycleRules' from JSON`,
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -121,9 +121,13 @@ export type CreateServerReinstallAttributes2 = {
|
|
|
121
121
|
*/
|
|
122
122
|
persistentNetboot?: boolean | undefined;
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
124
|
+
* **Preview** (`public_network` feature flag). Set to 'true' to attach the server onto the given 'public_network_id', or 'false' to detach an existing public network, during the reinstall. Requires 'public_network_id' when attaching.
|
|
125
125
|
*/
|
|
126
|
-
|
|
126
|
+
publicNetwork?: boolean | null | undefined;
|
|
127
|
+
/**
|
|
128
|
+
* ID of a customer public network to attach this server to during the reinstall. The public network must belong to the same project and be in the same location as the server, and must have at least one free IP address. Applies to this reinstall only; omit it to leave any existing public network unchanged.
|
|
129
|
+
*/
|
|
130
|
+
publicNetworkId?: string | null | undefined;
|
|
127
131
|
};
|
|
128
132
|
|
|
129
133
|
export type CreateServerReinstallData2 = {
|
|
@@ -279,7 +283,8 @@ export const CreateServerReinstallAttributes2$inboundSchema: z.ZodType<
|
|
|
279
283
|
).optional(),
|
|
280
284
|
ipxe: z.nullable(z.string()).optional(),
|
|
281
285
|
persistent_netboot: z.boolean().optional(),
|
|
282
|
-
|
|
286
|
+
public_network: z.nullable(z.boolean()).optional(),
|
|
287
|
+
public_network_id: z.nullable(z.string()).optional(),
|
|
283
288
|
}).transform((v) => {
|
|
284
289
|
return remap$(v, {
|
|
285
290
|
"operating_system": "operatingSystem",
|
|
@@ -287,7 +292,8 @@ export const CreateServerReinstallAttributes2$inboundSchema: z.ZodType<
|
|
|
287
292
|
"user_data": "userData",
|
|
288
293
|
"disk_layout": "diskLayout",
|
|
289
294
|
"persistent_netboot": "persistentNetboot",
|
|
290
|
-
"
|
|
295
|
+
"public_network": "publicNetwork",
|
|
296
|
+
"public_network_id": "publicNetworkId",
|
|
291
297
|
});
|
|
292
298
|
});
|
|
293
299
|
/** @internal */
|
|
@@ -303,7 +309,8 @@ export type CreateServerReinstallAttributes2$Outbound = {
|
|
|
303
309
|
| undefined;
|
|
304
310
|
ipxe?: string | null | undefined;
|
|
305
311
|
persistent_netboot?: boolean | undefined;
|
|
306
|
-
|
|
312
|
+
public_network?: boolean | null | undefined;
|
|
313
|
+
public_network_id?: string | null | undefined;
|
|
307
314
|
};
|
|
308
315
|
|
|
309
316
|
/** @internal */
|
|
@@ -323,7 +330,8 @@ export const CreateServerReinstallAttributes2$outboundSchema: z.ZodType<
|
|
|
323
330
|
).optional(),
|
|
324
331
|
ipxe: z.nullable(z.string()).optional(),
|
|
325
332
|
persistentNetboot: z.boolean().optional(),
|
|
326
|
-
|
|
333
|
+
publicNetwork: z.nullable(z.boolean()).optional(),
|
|
334
|
+
publicNetworkId: z.nullable(z.string()).optional(),
|
|
327
335
|
}).transform((v) => {
|
|
328
336
|
return remap$(v, {
|
|
329
337
|
operatingSystem: "operating_system",
|
|
@@ -331,7 +339,8 @@ export const CreateServerReinstallAttributes2$outboundSchema: z.ZodType<
|
|
|
331
339
|
userData: "user_data",
|
|
332
340
|
diskLayout: "disk_layout",
|
|
333
341
|
persistentNetboot: "persistent_netboot",
|
|
334
|
-
|
|
342
|
+
publicNetwork: "public_network",
|
|
343
|
+
publicNetworkId: "public_network_id",
|
|
335
344
|
});
|
|
336
345
|
});
|
|
337
346
|
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type DeleteStorageBucketLifecycleRuleRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* The object storage bucket ID
|
|
14
|
+
*/
|
|
15
|
+
bucketId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The lifecycle rule ID
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const DeleteStorageBucketLifecycleRuleRequest$inboundSchema: z.ZodType<
|
|
24
|
+
DeleteStorageBucketLifecycleRuleRequest,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
bucket_id: z.string(),
|
|
29
|
+
id: z.string(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
"bucket_id": "bucketId",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type DeleteStorageBucketLifecycleRuleRequest$Outbound = {
|
|
37
|
+
bucket_id: string;
|
|
38
|
+
id: string;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const DeleteStorageBucketLifecycleRuleRequest$outboundSchema: z.ZodType<
|
|
43
|
+
DeleteStorageBucketLifecycleRuleRequest$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
DeleteStorageBucketLifecycleRuleRequest
|
|
46
|
+
> = z.object({
|
|
47
|
+
bucketId: z.string(),
|
|
48
|
+
id: z.string(),
|
|
49
|
+
}).transform((v) => {
|
|
50
|
+
return remap$(v, {
|
|
51
|
+
bucketId: "bucket_id",
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
export function deleteStorageBucketLifecycleRuleRequestToJSON(
|
|
56
|
+
deleteStorageBucketLifecycleRuleRequest:
|
|
57
|
+
DeleteStorageBucketLifecycleRuleRequest,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
DeleteStorageBucketLifecycleRuleRequest$outboundSchema.parse(
|
|
61
|
+
deleteStorageBucketLifecycleRuleRequest,
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function deleteStorageBucketLifecycleRuleRequestFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<
|
|
68
|
+
DeleteStorageBucketLifecycleRuleRequest,
|
|
69
|
+
SDKValidationError
|
|
70
|
+
> {
|
|
71
|
+
return safeParse(
|
|
72
|
+
jsonString,
|
|
73
|
+
(x) =>
|
|
74
|
+
DeleteStorageBucketLifecycleRuleRequest$inboundSchema.parse(
|
|
75
|
+
JSON.parse(x),
|
|
76
|
+
),
|
|
77
|
+
`Failed to parse 'DeleteStorageBucketLifecycleRuleRequest' from JSON`,
|
|
78
|
+
);
|
|
79
|
+
}
|