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,357 @@
|
|
|
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
|
+
import * as models from "../index.js";
|
|
12
|
+
|
|
13
|
+
export const PutStorageBucketLifecycleRuleType = {
|
|
14
|
+
LifecycleRules: "lifecycle_rules",
|
|
15
|
+
} as const;
|
|
16
|
+
export type PutStorageBucketLifecycleRuleType = ClosedEnum<
|
|
17
|
+
typeof PutStorageBucketLifecycleRuleType
|
|
18
|
+
>;
|
|
19
|
+
|
|
20
|
+
export type PutStorageBucketLifecycleRuleAttributes = {
|
|
21
|
+
/**
|
|
22
|
+
* Name of the lifecycle rule
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the rule is active
|
|
27
|
+
*/
|
|
28
|
+
enabled?: boolean | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Object key prefix to filter which objects the rule applies to
|
|
31
|
+
*/
|
|
32
|
+
prefix?: string | null | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Number of days after object creation when the object expires
|
|
35
|
+
*/
|
|
36
|
+
expirationDays?: number | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Number of days after which noncurrent object versions expire
|
|
39
|
+
*/
|
|
40
|
+
noncurrentDays?: number | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Number of days after initiation to abort incomplete multipart uploads
|
|
43
|
+
*/
|
|
44
|
+
abortMpuDaysAfterInitiation?: number | null | undefined;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export type PutStorageBucketLifecycleRuleData = {
|
|
48
|
+
type: PutStorageBucketLifecycleRuleType;
|
|
49
|
+
attributes: PutStorageBucketLifecycleRuleAttributes;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export type PutStorageBucketLifecycleRuleRequestBody = {
|
|
53
|
+
data: PutStorageBucketLifecycleRuleData;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export type PutStorageBucketLifecycleRuleRequest = {
|
|
57
|
+
/**
|
|
58
|
+
* The object storage bucket ID
|
|
59
|
+
*/
|
|
60
|
+
bucketId: string;
|
|
61
|
+
/**
|
|
62
|
+
* The lifecycle rule ID
|
|
63
|
+
*/
|
|
64
|
+
id: string;
|
|
65
|
+
requestBody: PutStorageBucketLifecycleRuleRequestBody;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Success
|
|
70
|
+
*/
|
|
71
|
+
export type PutStorageBucketLifecycleRuleResponse = {
|
|
72
|
+
data?: models.LifecycleRuleData | undefined;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const PutStorageBucketLifecycleRuleType$inboundSchema: z.ZodNativeEnum<
|
|
77
|
+
typeof PutStorageBucketLifecycleRuleType
|
|
78
|
+
> = z.nativeEnum(PutStorageBucketLifecycleRuleType);
|
|
79
|
+
/** @internal */
|
|
80
|
+
export const PutStorageBucketLifecycleRuleType$outboundSchema: z.ZodNativeEnum<
|
|
81
|
+
typeof PutStorageBucketLifecycleRuleType
|
|
82
|
+
> = PutStorageBucketLifecycleRuleType$inboundSchema;
|
|
83
|
+
|
|
84
|
+
/** @internal */
|
|
85
|
+
export const PutStorageBucketLifecycleRuleAttributes$inboundSchema: z.ZodType<
|
|
86
|
+
PutStorageBucketLifecycleRuleAttributes,
|
|
87
|
+
z.ZodTypeDef,
|
|
88
|
+
unknown
|
|
89
|
+
> = z.object({
|
|
90
|
+
name: z.string(),
|
|
91
|
+
enabled: z.boolean().optional(),
|
|
92
|
+
prefix: z.nullable(z.string()).optional(),
|
|
93
|
+
expiration_days: z.number().int().optional(),
|
|
94
|
+
noncurrent_days: z.nullable(z.number().int()).optional(),
|
|
95
|
+
abort_mpu_days_after_initiation: z.nullable(z.number().int()).optional(),
|
|
96
|
+
}).transform((v) => {
|
|
97
|
+
return remap$(v, {
|
|
98
|
+
"expiration_days": "expirationDays",
|
|
99
|
+
"noncurrent_days": "noncurrentDays",
|
|
100
|
+
"abort_mpu_days_after_initiation": "abortMpuDaysAfterInitiation",
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
/** @internal */
|
|
104
|
+
export type PutStorageBucketLifecycleRuleAttributes$Outbound = {
|
|
105
|
+
name: string;
|
|
106
|
+
enabled?: boolean | undefined;
|
|
107
|
+
prefix?: string | null | undefined;
|
|
108
|
+
expiration_days?: number | undefined;
|
|
109
|
+
noncurrent_days?: number | null | undefined;
|
|
110
|
+
abort_mpu_days_after_initiation?: number | null | undefined;
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
/** @internal */
|
|
114
|
+
export const PutStorageBucketLifecycleRuleAttributes$outboundSchema: z.ZodType<
|
|
115
|
+
PutStorageBucketLifecycleRuleAttributes$Outbound,
|
|
116
|
+
z.ZodTypeDef,
|
|
117
|
+
PutStorageBucketLifecycleRuleAttributes
|
|
118
|
+
> = z.object({
|
|
119
|
+
name: z.string(),
|
|
120
|
+
enabled: z.boolean().optional(),
|
|
121
|
+
prefix: z.nullable(z.string()).optional(),
|
|
122
|
+
expirationDays: z.number().int().optional(),
|
|
123
|
+
noncurrentDays: z.nullable(z.number().int()).optional(),
|
|
124
|
+
abortMpuDaysAfterInitiation: z.nullable(z.number().int()).optional(),
|
|
125
|
+
}).transform((v) => {
|
|
126
|
+
return remap$(v, {
|
|
127
|
+
expirationDays: "expiration_days",
|
|
128
|
+
noncurrentDays: "noncurrent_days",
|
|
129
|
+
abortMpuDaysAfterInitiation: "abort_mpu_days_after_initiation",
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
export function putStorageBucketLifecycleRuleAttributesToJSON(
|
|
134
|
+
putStorageBucketLifecycleRuleAttributes:
|
|
135
|
+
PutStorageBucketLifecycleRuleAttributes,
|
|
136
|
+
): string {
|
|
137
|
+
return JSON.stringify(
|
|
138
|
+
PutStorageBucketLifecycleRuleAttributes$outboundSchema.parse(
|
|
139
|
+
putStorageBucketLifecycleRuleAttributes,
|
|
140
|
+
),
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
export function putStorageBucketLifecycleRuleAttributesFromJSON(
|
|
144
|
+
jsonString: string,
|
|
145
|
+
): SafeParseResult<
|
|
146
|
+
PutStorageBucketLifecycleRuleAttributes,
|
|
147
|
+
SDKValidationError
|
|
148
|
+
> {
|
|
149
|
+
return safeParse(
|
|
150
|
+
jsonString,
|
|
151
|
+
(x) =>
|
|
152
|
+
PutStorageBucketLifecycleRuleAttributes$inboundSchema.parse(
|
|
153
|
+
JSON.parse(x),
|
|
154
|
+
),
|
|
155
|
+
`Failed to parse 'PutStorageBucketLifecycleRuleAttributes' from JSON`,
|
|
156
|
+
);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/** @internal */
|
|
160
|
+
export const PutStorageBucketLifecycleRuleData$inboundSchema: z.ZodType<
|
|
161
|
+
PutStorageBucketLifecycleRuleData,
|
|
162
|
+
z.ZodTypeDef,
|
|
163
|
+
unknown
|
|
164
|
+
> = z.object({
|
|
165
|
+
type: PutStorageBucketLifecycleRuleType$inboundSchema,
|
|
166
|
+
attributes: z.lazy(() =>
|
|
167
|
+
PutStorageBucketLifecycleRuleAttributes$inboundSchema
|
|
168
|
+
),
|
|
169
|
+
});
|
|
170
|
+
/** @internal */
|
|
171
|
+
export type PutStorageBucketLifecycleRuleData$Outbound = {
|
|
172
|
+
type: string;
|
|
173
|
+
attributes: PutStorageBucketLifecycleRuleAttributes$Outbound;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/** @internal */
|
|
177
|
+
export const PutStorageBucketLifecycleRuleData$outboundSchema: z.ZodType<
|
|
178
|
+
PutStorageBucketLifecycleRuleData$Outbound,
|
|
179
|
+
z.ZodTypeDef,
|
|
180
|
+
PutStorageBucketLifecycleRuleData
|
|
181
|
+
> = z.object({
|
|
182
|
+
type: PutStorageBucketLifecycleRuleType$outboundSchema,
|
|
183
|
+
attributes: z.lazy(() =>
|
|
184
|
+
PutStorageBucketLifecycleRuleAttributes$outboundSchema
|
|
185
|
+
),
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
export function putStorageBucketLifecycleRuleDataToJSON(
|
|
189
|
+
putStorageBucketLifecycleRuleData: PutStorageBucketLifecycleRuleData,
|
|
190
|
+
): string {
|
|
191
|
+
return JSON.stringify(
|
|
192
|
+
PutStorageBucketLifecycleRuleData$outboundSchema.parse(
|
|
193
|
+
putStorageBucketLifecycleRuleData,
|
|
194
|
+
),
|
|
195
|
+
);
|
|
196
|
+
}
|
|
197
|
+
export function putStorageBucketLifecycleRuleDataFromJSON(
|
|
198
|
+
jsonString: string,
|
|
199
|
+
): SafeParseResult<PutStorageBucketLifecycleRuleData, SDKValidationError> {
|
|
200
|
+
return safeParse(
|
|
201
|
+
jsonString,
|
|
202
|
+
(x) => PutStorageBucketLifecycleRuleData$inboundSchema.parse(JSON.parse(x)),
|
|
203
|
+
`Failed to parse 'PutStorageBucketLifecycleRuleData' from JSON`,
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/** @internal */
|
|
208
|
+
export const PutStorageBucketLifecycleRuleRequestBody$inboundSchema: z.ZodType<
|
|
209
|
+
PutStorageBucketLifecycleRuleRequestBody,
|
|
210
|
+
z.ZodTypeDef,
|
|
211
|
+
unknown
|
|
212
|
+
> = z.object({
|
|
213
|
+
data: z.lazy(() => PutStorageBucketLifecycleRuleData$inboundSchema),
|
|
214
|
+
});
|
|
215
|
+
/** @internal */
|
|
216
|
+
export type PutStorageBucketLifecycleRuleRequestBody$Outbound = {
|
|
217
|
+
data: PutStorageBucketLifecycleRuleData$Outbound;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
/** @internal */
|
|
221
|
+
export const PutStorageBucketLifecycleRuleRequestBody$outboundSchema: z.ZodType<
|
|
222
|
+
PutStorageBucketLifecycleRuleRequestBody$Outbound,
|
|
223
|
+
z.ZodTypeDef,
|
|
224
|
+
PutStorageBucketLifecycleRuleRequestBody
|
|
225
|
+
> = z.object({
|
|
226
|
+
data: z.lazy(() => PutStorageBucketLifecycleRuleData$outboundSchema),
|
|
227
|
+
});
|
|
228
|
+
|
|
229
|
+
export function putStorageBucketLifecycleRuleRequestBodyToJSON(
|
|
230
|
+
putStorageBucketLifecycleRuleRequestBody:
|
|
231
|
+
PutStorageBucketLifecycleRuleRequestBody,
|
|
232
|
+
): string {
|
|
233
|
+
return JSON.stringify(
|
|
234
|
+
PutStorageBucketLifecycleRuleRequestBody$outboundSchema.parse(
|
|
235
|
+
putStorageBucketLifecycleRuleRequestBody,
|
|
236
|
+
),
|
|
237
|
+
);
|
|
238
|
+
}
|
|
239
|
+
export function putStorageBucketLifecycleRuleRequestBodyFromJSON(
|
|
240
|
+
jsonString: string,
|
|
241
|
+
): SafeParseResult<
|
|
242
|
+
PutStorageBucketLifecycleRuleRequestBody,
|
|
243
|
+
SDKValidationError
|
|
244
|
+
> {
|
|
245
|
+
return safeParse(
|
|
246
|
+
jsonString,
|
|
247
|
+
(x) =>
|
|
248
|
+
PutStorageBucketLifecycleRuleRequestBody$inboundSchema.parse(
|
|
249
|
+
JSON.parse(x),
|
|
250
|
+
),
|
|
251
|
+
`Failed to parse 'PutStorageBucketLifecycleRuleRequestBody' from JSON`,
|
|
252
|
+
);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/** @internal */
|
|
256
|
+
export const PutStorageBucketLifecycleRuleRequest$inboundSchema: z.ZodType<
|
|
257
|
+
PutStorageBucketLifecycleRuleRequest,
|
|
258
|
+
z.ZodTypeDef,
|
|
259
|
+
unknown
|
|
260
|
+
> = z.object({
|
|
261
|
+
bucket_id: z.string(),
|
|
262
|
+
id: z.string(),
|
|
263
|
+
RequestBody: z.lazy(() =>
|
|
264
|
+
PutStorageBucketLifecycleRuleRequestBody$inboundSchema
|
|
265
|
+
),
|
|
266
|
+
}).transform((v) => {
|
|
267
|
+
return remap$(v, {
|
|
268
|
+
"bucket_id": "bucketId",
|
|
269
|
+
"RequestBody": "requestBody",
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
/** @internal */
|
|
273
|
+
export type PutStorageBucketLifecycleRuleRequest$Outbound = {
|
|
274
|
+
bucket_id: string;
|
|
275
|
+
id: string;
|
|
276
|
+
RequestBody: PutStorageBucketLifecycleRuleRequestBody$Outbound;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
/** @internal */
|
|
280
|
+
export const PutStorageBucketLifecycleRuleRequest$outboundSchema: z.ZodType<
|
|
281
|
+
PutStorageBucketLifecycleRuleRequest$Outbound,
|
|
282
|
+
z.ZodTypeDef,
|
|
283
|
+
PutStorageBucketLifecycleRuleRequest
|
|
284
|
+
> = z.object({
|
|
285
|
+
bucketId: z.string(),
|
|
286
|
+
id: z.string(),
|
|
287
|
+
requestBody: z.lazy(() =>
|
|
288
|
+
PutStorageBucketLifecycleRuleRequestBody$outboundSchema
|
|
289
|
+
),
|
|
290
|
+
}).transform((v) => {
|
|
291
|
+
return remap$(v, {
|
|
292
|
+
bucketId: "bucket_id",
|
|
293
|
+
requestBody: "RequestBody",
|
|
294
|
+
});
|
|
295
|
+
});
|
|
296
|
+
|
|
297
|
+
export function putStorageBucketLifecycleRuleRequestToJSON(
|
|
298
|
+
putStorageBucketLifecycleRuleRequest: PutStorageBucketLifecycleRuleRequest,
|
|
299
|
+
): string {
|
|
300
|
+
return JSON.stringify(
|
|
301
|
+
PutStorageBucketLifecycleRuleRequest$outboundSchema.parse(
|
|
302
|
+
putStorageBucketLifecycleRuleRequest,
|
|
303
|
+
),
|
|
304
|
+
);
|
|
305
|
+
}
|
|
306
|
+
export function putStorageBucketLifecycleRuleRequestFromJSON(
|
|
307
|
+
jsonString: string,
|
|
308
|
+
): SafeParseResult<PutStorageBucketLifecycleRuleRequest, SDKValidationError> {
|
|
309
|
+
return safeParse(
|
|
310
|
+
jsonString,
|
|
311
|
+
(x) =>
|
|
312
|
+
PutStorageBucketLifecycleRuleRequest$inboundSchema.parse(JSON.parse(x)),
|
|
313
|
+
`Failed to parse 'PutStorageBucketLifecycleRuleRequest' from JSON`,
|
|
314
|
+
);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/** @internal */
|
|
318
|
+
export const PutStorageBucketLifecycleRuleResponse$inboundSchema: z.ZodType<
|
|
319
|
+
PutStorageBucketLifecycleRuleResponse,
|
|
320
|
+
z.ZodTypeDef,
|
|
321
|
+
unknown
|
|
322
|
+
> = z.object({
|
|
323
|
+
data: models.LifecycleRuleData$inboundSchema.optional(),
|
|
324
|
+
});
|
|
325
|
+
/** @internal */
|
|
326
|
+
export type PutStorageBucketLifecycleRuleResponse$Outbound = {
|
|
327
|
+
data?: models.LifecycleRuleData$Outbound | undefined;
|
|
328
|
+
};
|
|
329
|
+
|
|
330
|
+
/** @internal */
|
|
331
|
+
export const PutStorageBucketLifecycleRuleResponse$outboundSchema: z.ZodType<
|
|
332
|
+
PutStorageBucketLifecycleRuleResponse$Outbound,
|
|
333
|
+
z.ZodTypeDef,
|
|
334
|
+
PutStorageBucketLifecycleRuleResponse
|
|
335
|
+
> = z.object({
|
|
336
|
+
data: models.LifecycleRuleData$outboundSchema.optional(),
|
|
337
|
+
});
|
|
338
|
+
|
|
339
|
+
export function putStorageBucketLifecycleRuleResponseToJSON(
|
|
340
|
+
putStorageBucketLifecycleRuleResponse: PutStorageBucketLifecycleRuleResponse,
|
|
341
|
+
): string {
|
|
342
|
+
return JSON.stringify(
|
|
343
|
+
PutStorageBucketLifecycleRuleResponse$outboundSchema.parse(
|
|
344
|
+
putStorageBucketLifecycleRuleResponse,
|
|
345
|
+
),
|
|
346
|
+
);
|
|
347
|
+
}
|
|
348
|
+
export function putStorageBucketLifecycleRuleResponseFromJSON(
|
|
349
|
+
jsonString: string,
|
|
350
|
+
): SafeParseResult<PutStorageBucketLifecycleRuleResponse, SDKValidationError> {
|
|
351
|
+
return safeParse(
|
|
352
|
+
jsonString,
|
|
353
|
+
(x) =>
|
|
354
|
+
PutStorageBucketLifecycleRuleResponse$inboundSchema.parse(JSON.parse(x)),
|
|
355
|
+
`Failed to parse 'PutStorageBucketLifecycleRuleResponse' from JSON`,
|
|
356
|
+
);
|
|
357
|
+
}
|
|
@@ -106,13 +106,13 @@ export type UpdateServerDeployConfigAttributes2 = {
|
|
|
106
106
|
*/
|
|
107
107
|
persistentNetboot?: boolean | undefined;
|
|
108
108
|
/**
|
|
109
|
-
* Set to 'true' to
|
|
109
|
+
* Set to 'true' to attach the server onto a public network. Requires 'public_network_id'. Available only when the public network feature is enabled for your team.
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
publicNetwork?: boolean | null | undefined;
|
|
112
112
|
/**
|
|
113
|
-
* ID of a customer
|
|
113
|
+
* ID of a customer public network to attach the server onto. Requires 'public_network' to be 'true'. 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. This public network configuration is saved to the deploy config and inherited by future reinstalls until changed. Available only when the public network feature is enabled for your team.
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
publicNetworkId?: string | null | undefined;
|
|
116
116
|
};
|
|
117
117
|
|
|
118
118
|
export type UpdateServerDeployConfigRequestBody2 = {
|
|
@@ -268,8 +268,8 @@ export const UpdateServerDeployConfigAttributes2$inboundSchema: z.ZodType<
|
|
|
268
268
|
ssh_keys: z.nullable(z.array(z.string())).optional(),
|
|
269
269
|
ipxe_url: z.nullable(z.string()).optional(),
|
|
270
270
|
persistent_netboot: z.boolean().optional(),
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
public_network: z.nullable(z.boolean()).optional(),
|
|
272
|
+
public_network_id: z.nullable(z.string()).optional(),
|
|
273
273
|
}).transform((v) => {
|
|
274
274
|
return remap$(v, {
|
|
275
275
|
"operating_system": "operatingSystem",
|
|
@@ -278,7 +278,8 @@ export const UpdateServerDeployConfigAttributes2$inboundSchema: z.ZodType<
|
|
|
278
278
|
"ssh_keys": "sshKeys",
|
|
279
279
|
"ipxe_url": "ipxeUrl",
|
|
280
280
|
"persistent_netboot": "persistentNetboot",
|
|
281
|
-
"
|
|
281
|
+
"public_network": "publicNetwork",
|
|
282
|
+
"public_network_id": "publicNetworkId",
|
|
282
283
|
});
|
|
283
284
|
});
|
|
284
285
|
/** @internal */
|
|
@@ -294,8 +295,8 @@ export type UpdateServerDeployConfigAttributes2$Outbound = {
|
|
|
294
295
|
ssh_keys?: Array<string> | null | undefined;
|
|
295
296
|
ipxe_url?: string | null | undefined;
|
|
296
297
|
persistent_netboot?: boolean | undefined;
|
|
297
|
-
|
|
298
|
-
|
|
298
|
+
public_network?: boolean | null | undefined;
|
|
299
|
+
public_network_id?: string | null | undefined;
|
|
299
300
|
};
|
|
300
301
|
|
|
301
302
|
/** @internal */
|
|
@@ -316,8 +317,8 @@ export const UpdateServerDeployConfigAttributes2$outboundSchema: z.ZodType<
|
|
|
316
317
|
sshKeys: z.nullable(z.array(z.string())).optional(),
|
|
317
318
|
ipxeUrl: z.nullable(z.string()).optional(),
|
|
318
319
|
persistentNetboot: z.boolean().optional(),
|
|
319
|
-
|
|
320
|
-
|
|
320
|
+
publicNetwork: z.nullable(z.boolean()).optional(),
|
|
321
|
+
publicNetworkId: z.nullable(z.string()).optional(),
|
|
321
322
|
}).transform((v) => {
|
|
322
323
|
return remap$(v, {
|
|
323
324
|
operatingSystem: "operating_system",
|
|
@@ -326,7 +327,8 @@ export const UpdateServerDeployConfigAttributes2$outboundSchema: z.ZodType<
|
|
|
326
327
|
sshKeys: "ssh_keys",
|
|
327
328
|
ipxeUrl: "ipxe_url",
|
|
328
329
|
persistentNetboot: "persistent_netboot",
|
|
329
|
-
|
|
330
|
+
publicNetwork: "public_network",
|
|
331
|
+
publicNetworkId: "public_network_id",
|
|
330
332
|
});
|
|
331
333
|
});
|
|
332
334
|
|
|
@@ -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
|
+
PublicNetworkData,
|
|
11
|
+
PublicNetworkData$inboundSchema,
|
|
12
|
+
PublicNetworkData$Outbound,
|
|
13
|
+
PublicNetworkData$outboundSchema,
|
|
14
|
+
} from "./publicnetworkdata.js";
|
|
15
|
+
|
|
16
|
+
export type PublicNetwork = {
|
|
17
|
+
data?: PublicNetworkData | undefined;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const PublicNetwork$inboundSchema: z.ZodType<
|
|
22
|
+
PublicNetwork,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
data: PublicNetworkData$inboundSchema.optional(),
|
|
27
|
+
});
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type PublicNetwork$Outbound = {
|
|
30
|
+
data?: PublicNetworkData$Outbound | undefined;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const PublicNetwork$outboundSchema: z.ZodType<
|
|
35
|
+
PublicNetwork$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
PublicNetwork
|
|
38
|
+
> = z.object({
|
|
39
|
+
data: PublicNetworkData$outboundSchema.optional(),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export function publicNetworkToJSON(publicNetwork: PublicNetwork): string {
|
|
43
|
+
return JSON.stringify(PublicNetwork$outboundSchema.parse(publicNetwork));
|
|
44
|
+
}
|
|
45
|
+
export function publicNetworkFromJSON(
|
|
46
|
+
jsonString: string,
|
|
47
|
+
): SafeParseResult<PublicNetwork, SDKValidationError> {
|
|
48
|
+
return safeParse(
|
|
49
|
+
jsonString,
|
|
50
|
+
(x) => PublicNetwork$inboundSchema.parse(JSON.parse(x)),
|
|
51
|
+
`Failed to parse 'PublicNetwork' from JSON`,
|
|
52
|
+
);
|
|
53
|
+
}
|