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,366 @@
|
|
|
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 PublicNetworkDataType = {
|
|
13
|
+
PublicNetworks: "public_networks",
|
|
14
|
+
} as const;
|
|
15
|
+
export type PublicNetworkDataType = ClosedEnum<typeof PublicNetworkDataType>;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* IPv4 prefix length. Determines how many servers the public network can host.
|
|
19
|
+
*/
|
|
20
|
+
export const PublicNetworkDataSize = {
|
|
21
|
+
TwentySix: 26,
|
|
22
|
+
TwentySeven: 27,
|
|
23
|
+
TwentyEight: 28,
|
|
24
|
+
TwentyNine: 29,
|
|
25
|
+
} as const;
|
|
26
|
+
/**
|
|
27
|
+
* IPv4 prefix length. Determines how many servers the public network can host.
|
|
28
|
+
*/
|
|
29
|
+
export type PublicNetworkDataSize = ClosedEnum<typeof PublicNetworkDataSize>;
|
|
30
|
+
|
|
31
|
+
export type PublicNetworkDataProject = {
|
|
32
|
+
id?: string | undefined;
|
|
33
|
+
name?: string | undefined;
|
|
34
|
+
slug?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export type PublicNetworkDataLocation = {
|
|
38
|
+
id?: string | undefined;
|
|
39
|
+
name?: string | undefined;
|
|
40
|
+
slug?: string | undefined;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export type PublicNetworkDataRegion = {
|
|
44
|
+
id?: string | undefined;
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
location?: PublicNetworkDataLocation | undefined;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export type PublicNetworkDataAttributes = {
|
|
50
|
+
/**
|
|
51
|
+
* The IPv4 network in CIDR notation (e.g., "203.0.113.0/27")
|
|
52
|
+
*/
|
|
53
|
+
ipv4?: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* The paired IPv6 /64 in CIDR notation (e.g., "2001:db8:1234::/64")
|
|
56
|
+
*/
|
|
57
|
+
ipv6?: string | null | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* IPv4 prefix length. Determines how many servers the public network can host.
|
|
60
|
+
*/
|
|
61
|
+
size?: PublicNetworkDataSize | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* True once a server has been added to the public network and the public network is ready to use.
|
|
64
|
+
*/
|
|
65
|
+
activated?: boolean | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Servers this public network can host
|
|
68
|
+
*/
|
|
69
|
+
capacity?: number | undefined;
|
|
70
|
+
ipsUsed?: number | undefined;
|
|
71
|
+
ipsFree?: number | undefined;
|
|
72
|
+
createdAt?: Date | undefined;
|
|
73
|
+
project?: PublicNetworkDataProject | null | undefined;
|
|
74
|
+
region?: PublicNetworkDataRegion | null | undefined;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
export type PublicNetworkData = {
|
|
78
|
+
id?: string | undefined;
|
|
79
|
+
type?: PublicNetworkDataType | undefined;
|
|
80
|
+
attributes?: PublicNetworkDataAttributes | undefined;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/** @internal */
|
|
84
|
+
export const PublicNetworkDataType$inboundSchema: z.ZodNativeEnum<
|
|
85
|
+
typeof PublicNetworkDataType
|
|
86
|
+
> = z.nativeEnum(PublicNetworkDataType);
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const PublicNetworkDataType$outboundSchema: z.ZodNativeEnum<
|
|
89
|
+
typeof PublicNetworkDataType
|
|
90
|
+
> = PublicNetworkDataType$inboundSchema;
|
|
91
|
+
|
|
92
|
+
/** @internal */
|
|
93
|
+
export const PublicNetworkDataSize$inboundSchema: z.ZodNativeEnum<
|
|
94
|
+
typeof PublicNetworkDataSize
|
|
95
|
+
> = z.nativeEnum(PublicNetworkDataSize);
|
|
96
|
+
/** @internal */
|
|
97
|
+
export const PublicNetworkDataSize$outboundSchema: z.ZodNativeEnum<
|
|
98
|
+
typeof PublicNetworkDataSize
|
|
99
|
+
> = PublicNetworkDataSize$inboundSchema;
|
|
100
|
+
|
|
101
|
+
/** @internal */
|
|
102
|
+
export const PublicNetworkDataProject$inboundSchema: z.ZodType<
|
|
103
|
+
PublicNetworkDataProject,
|
|
104
|
+
z.ZodTypeDef,
|
|
105
|
+
unknown
|
|
106
|
+
> = z.object({
|
|
107
|
+
id: z.string().optional(),
|
|
108
|
+
name: z.string().optional(),
|
|
109
|
+
slug: z.string().optional(),
|
|
110
|
+
});
|
|
111
|
+
/** @internal */
|
|
112
|
+
export type PublicNetworkDataProject$Outbound = {
|
|
113
|
+
id?: string | undefined;
|
|
114
|
+
name?: string | undefined;
|
|
115
|
+
slug?: string | undefined;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/** @internal */
|
|
119
|
+
export const PublicNetworkDataProject$outboundSchema: z.ZodType<
|
|
120
|
+
PublicNetworkDataProject$Outbound,
|
|
121
|
+
z.ZodTypeDef,
|
|
122
|
+
PublicNetworkDataProject
|
|
123
|
+
> = z.object({
|
|
124
|
+
id: z.string().optional(),
|
|
125
|
+
name: z.string().optional(),
|
|
126
|
+
slug: z.string().optional(),
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
export function publicNetworkDataProjectToJSON(
|
|
130
|
+
publicNetworkDataProject: PublicNetworkDataProject,
|
|
131
|
+
): string {
|
|
132
|
+
return JSON.stringify(
|
|
133
|
+
PublicNetworkDataProject$outboundSchema.parse(publicNetworkDataProject),
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
export function publicNetworkDataProjectFromJSON(
|
|
137
|
+
jsonString: string,
|
|
138
|
+
): SafeParseResult<PublicNetworkDataProject, SDKValidationError> {
|
|
139
|
+
return safeParse(
|
|
140
|
+
jsonString,
|
|
141
|
+
(x) => PublicNetworkDataProject$inboundSchema.parse(JSON.parse(x)),
|
|
142
|
+
`Failed to parse 'PublicNetworkDataProject' from JSON`,
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/** @internal */
|
|
147
|
+
export const PublicNetworkDataLocation$inboundSchema: z.ZodType<
|
|
148
|
+
PublicNetworkDataLocation,
|
|
149
|
+
z.ZodTypeDef,
|
|
150
|
+
unknown
|
|
151
|
+
> = z.object({
|
|
152
|
+
id: z.string().optional(),
|
|
153
|
+
name: z.string().optional(),
|
|
154
|
+
slug: z.string().optional(),
|
|
155
|
+
});
|
|
156
|
+
/** @internal */
|
|
157
|
+
export type PublicNetworkDataLocation$Outbound = {
|
|
158
|
+
id?: string | undefined;
|
|
159
|
+
name?: string | undefined;
|
|
160
|
+
slug?: string | undefined;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
/** @internal */
|
|
164
|
+
export const PublicNetworkDataLocation$outboundSchema: z.ZodType<
|
|
165
|
+
PublicNetworkDataLocation$Outbound,
|
|
166
|
+
z.ZodTypeDef,
|
|
167
|
+
PublicNetworkDataLocation
|
|
168
|
+
> = z.object({
|
|
169
|
+
id: z.string().optional(),
|
|
170
|
+
name: z.string().optional(),
|
|
171
|
+
slug: z.string().optional(),
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
export function publicNetworkDataLocationToJSON(
|
|
175
|
+
publicNetworkDataLocation: PublicNetworkDataLocation,
|
|
176
|
+
): string {
|
|
177
|
+
return JSON.stringify(
|
|
178
|
+
PublicNetworkDataLocation$outboundSchema.parse(publicNetworkDataLocation),
|
|
179
|
+
);
|
|
180
|
+
}
|
|
181
|
+
export function publicNetworkDataLocationFromJSON(
|
|
182
|
+
jsonString: string,
|
|
183
|
+
): SafeParseResult<PublicNetworkDataLocation, SDKValidationError> {
|
|
184
|
+
return safeParse(
|
|
185
|
+
jsonString,
|
|
186
|
+
(x) => PublicNetworkDataLocation$inboundSchema.parse(JSON.parse(x)),
|
|
187
|
+
`Failed to parse 'PublicNetworkDataLocation' from JSON`,
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/** @internal */
|
|
192
|
+
export const PublicNetworkDataRegion$inboundSchema: z.ZodType<
|
|
193
|
+
PublicNetworkDataRegion,
|
|
194
|
+
z.ZodTypeDef,
|
|
195
|
+
unknown
|
|
196
|
+
> = z.object({
|
|
197
|
+
id: z.string().optional(),
|
|
198
|
+
name: z.string().optional(),
|
|
199
|
+
location: z.lazy(() => PublicNetworkDataLocation$inboundSchema).optional(),
|
|
200
|
+
});
|
|
201
|
+
/** @internal */
|
|
202
|
+
export type PublicNetworkDataRegion$Outbound = {
|
|
203
|
+
id?: string | undefined;
|
|
204
|
+
name?: string | undefined;
|
|
205
|
+
location?: PublicNetworkDataLocation$Outbound | undefined;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
/** @internal */
|
|
209
|
+
export const PublicNetworkDataRegion$outboundSchema: z.ZodType<
|
|
210
|
+
PublicNetworkDataRegion$Outbound,
|
|
211
|
+
z.ZodTypeDef,
|
|
212
|
+
PublicNetworkDataRegion
|
|
213
|
+
> = z.object({
|
|
214
|
+
id: z.string().optional(),
|
|
215
|
+
name: z.string().optional(),
|
|
216
|
+
location: z.lazy(() => PublicNetworkDataLocation$outboundSchema).optional(),
|
|
217
|
+
});
|
|
218
|
+
|
|
219
|
+
export function publicNetworkDataRegionToJSON(
|
|
220
|
+
publicNetworkDataRegion: PublicNetworkDataRegion,
|
|
221
|
+
): string {
|
|
222
|
+
return JSON.stringify(
|
|
223
|
+
PublicNetworkDataRegion$outboundSchema.parse(publicNetworkDataRegion),
|
|
224
|
+
);
|
|
225
|
+
}
|
|
226
|
+
export function publicNetworkDataRegionFromJSON(
|
|
227
|
+
jsonString: string,
|
|
228
|
+
): SafeParseResult<PublicNetworkDataRegion, SDKValidationError> {
|
|
229
|
+
return safeParse(
|
|
230
|
+
jsonString,
|
|
231
|
+
(x) => PublicNetworkDataRegion$inboundSchema.parse(JSON.parse(x)),
|
|
232
|
+
`Failed to parse 'PublicNetworkDataRegion' from JSON`,
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/** @internal */
|
|
237
|
+
export const PublicNetworkDataAttributes$inboundSchema: z.ZodType<
|
|
238
|
+
PublicNetworkDataAttributes,
|
|
239
|
+
z.ZodTypeDef,
|
|
240
|
+
unknown
|
|
241
|
+
> = z.object({
|
|
242
|
+
ipv4: z.string().optional(),
|
|
243
|
+
ipv6: z.nullable(z.string()).optional(),
|
|
244
|
+
size: PublicNetworkDataSize$inboundSchema.optional(),
|
|
245
|
+
activated: z.boolean().optional(),
|
|
246
|
+
capacity: z.number().int().optional(),
|
|
247
|
+
ips_used: z.number().int().optional(),
|
|
248
|
+
ips_free: z.number().int().optional(),
|
|
249
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
250
|
+
.optional(),
|
|
251
|
+
project: z.nullable(z.lazy(() => PublicNetworkDataProject$inboundSchema))
|
|
252
|
+
.optional(),
|
|
253
|
+
region: z.nullable(z.lazy(() => PublicNetworkDataRegion$inboundSchema))
|
|
254
|
+
.optional(),
|
|
255
|
+
}).transform((v) => {
|
|
256
|
+
return remap$(v, {
|
|
257
|
+
"ips_used": "ipsUsed",
|
|
258
|
+
"ips_free": "ipsFree",
|
|
259
|
+
"created_at": "createdAt",
|
|
260
|
+
});
|
|
261
|
+
});
|
|
262
|
+
/** @internal */
|
|
263
|
+
export type PublicNetworkDataAttributes$Outbound = {
|
|
264
|
+
ipv4?: string | undefined;
|
|
265
|
+
ipv6?: string | null | undefined;
|
|
266
|
+
size?: number | undefined;
|
|
267
|
+
activated?: boolean | undefined;
|
|
268
|
+
capacity?: number | undefined;
|
|
269
|
+
ips_used?: number | undefined;
|
|
270
|
+
ips_free?: number | undefined;
|
|
271
|
+
created_at?: string | undefined;
|
|
272
|
+
project?: PublicNetworkDataProject$Outbound | null | undefined;
|
|
273
|
+
region?: PublicNetworkDataRegion$Outbound | null | undefined;
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
/** @internal */
|
|
277
|
+
export const PublicNetworkDataAttributes$outboundSchema: z.ZodType<
|
|
278
|
+
PublicNetworkDataAttributes$Outbound,
|
|
279
|
+
z.ZodTypeDef,
|
|
280
|
+
PublicNetworkDataAttributes
|
|
281
|
+
> = z.object({
|
|
282
|
+
ipv4: z.string().optional(),
|
|
283
|
+
ipv6: z.nullable(z.string()).optional(),
|
|
284
|
+
size: PublicNetworkDataSize$outboundSchema.optional(),
|
|
285
|
+
activated: z.boolean().optional(),
|
|
286
|
+
capacity: z.number().int().optional(),
|
|
287
|
+
ipsUsed: z.number().int().optional(),
|
|
288
|
+
ipsFree: z.number().int().optional(),
|
|
289
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
290
|
+
project: z.nullable(z.lazy(() => PublicNetworkDataProject$outboundSchema))
|
|
291
|
+
.optional(),
|
|
292
|
+
region: z.nullable(z.lazy(() => PublicNetworkDataRegion$outboundSchema))
|
|
293
|
+
.optional(),
|
|
294
|
+
}).transform((v) => {
|
|
295
|
+
return remap$(v, {
|
|
296
|
+
ipsUsed: "ips_used",
|
|
297
|
+
ipsFree: "ips_free",
|
|
298
|
+
createdAt: "created_at",
|
|
299
|
+
});
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
export function publicNetworkDataAttributesToJSON(
|
|
303
|
+
publicNetworkDataAttributes: PublicNetworkDataAttributes,
|
|
304
|
+
): string {
|
|
305
|
+
return JSON.stringify(
|
|
306
|
+
PublicNetworkDataAttributes$outboundSchema.parse(
|
|
307
|
+
publicNetworkDataAttributes,
|
|
308
|
+
),
|
|
309
|
+
);
|
|
310
|
+
}
|
|
311
|
+
export function publicNetworkDataAttributesFromJSON(
|
|
312
|
+
jsonString: string,
|
|
313
|
+
): SafeParseResult<PublicNetworkDataAttributes, SDKValidationError> {
|
|
314
|
+
return safeParse(
|
|
315
|
+
jsonString,
|
|
316
|
+
(x) => PublicNetworkDataAttributes$inboundSchema.parse(JSON.parse(x)),
|
|
317
|
+
`Failed to parse 'PublicNetworkDataAttributes' from JSON`,
|
|
318
|
+
);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/** @internal */
|
|
322
|
+
export const PublicNetworkData$inboundSchema: z.ZodType<
|
|
323
|
+
PublicNetworkData,
|
|
324
|
+
z.ZodTypeDef,
|
|
325
|
+
unknown
|
|
326
|
+
> = z.object({
|
|
327
|
+
id: z.string().optional(),
|
|
328
|
+
type: PublicNetworkDataType$inboundSchema.optional(),
|
|
329
|
+
attributes: z.lazy(() => PublicNetworkDataAttributes$inboundSchema)
|
|
330
|
+
.optional(),
|
|
331
|
+
});
|
|
332
|
+
/** @internal */
|
|
333
|
+
export type PublicNetworkData$Outbound = {
|
|
334
|
+
id?: string | undefined;
|
|
335
|
+
type?: string | undefined;
|
|
336
|
+
attributes?: PublicNetworkDataAttributes$Outbound | undefined;
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
/** @internal */
|
|
340
|
+
export const PublicNetworkData$outboundSchema: z.ZodType<
|
|
341
|
+
PublicNetworkData$Outbound,
|
|
342
|
+
z.ZodTypeDef,
|
|
343
|
+
PublicNetworkData
|
|
344
|
+
> = z.object({
|
|
345
|
+
id: z.string().optional(),
|
|
346
|
+
type: PublicNetworkDataType$outboundSchema.optional(),
|
|
347
|
+
attributes: z.lazy(() => PublicNetworkDataAttributes$outboundSchema)
|
|
348
|
+
.optional(),
|
|
349
|
+
});
|
|
350
|
+
|
|
351
|
+
export function publicNetworkDataToJSON(
|
|
352
|
+
publicNetworkData: PublicNetworkData,
|
|
353
|
+
): string {
|
|
354
|
+
return JSON.stringify(
|
|
355
|
+
PublicNetworkData$outboundSchema.parse(publicNetworkData),
|
|
356
|
+
);
|
|
357
|
+
}
|
|
358
|
+
export function publicNetworkDataFromJSON(
|
|
359
|
+
jsonString: string,
|
|
360
|
+
): SafeParseResult<PublicNetworkData, SDKValidationError> {
|
|
361
|
+
return safeParse(
|
|
362
|
+
jsonString,
|
|
363
|
+
(x) => PublicNetworkData$inboundSchema.parse(JSON.parse(x)),
|
|
364
|
+
`Failed to parse 'PublicNetworkData' from JSON`,
|
|
365
|
+
);
|
|
366
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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 PublicNetworksMeta = {};
|
|
17
|
+
|
|
18
|
+
export type PublicNetworks = {
|
|
19
|
+
data?: Array<PublicNetworkData> | undefined;
|
|
20
|
+
meta?: PublicNetworksMeta | undefined;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const PublicNetworksMeta$inboundSchema: z.ZodType<
|
|
25
|
+
PublicNetworksMeta,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
unknown
|
|
28
|
+
> = z.object({});
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type PublicNetworksMeta$Outbound = {};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const PublicNetworksMeta$outboundSchema: z.ZodType<
|
|
34
|
+
PublicNetworksMeta$Outbound,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
PublicNetworksMeta
|
|
37
|
+
> = z.object({});
|
|
38
|
+
|
|
39
|
+
export function publicNetworksMetaToJSON(
|
|
40
|
+
publicNetworksMeta: PublicNetworksMeta,
|
|
41
|
+
): string {
|
|
42
|
+
return JSON.stringify(
|
|
43
|
+
PublicNetworksMeta$outboundSchema.parse(publicNetworksMeta),
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export function publicNetworksMetaFromJSON(
|
|
47
|
+
jsonString: string,
|
|
48
|
+
): SafeParseResult<PublicNetworksMeta, SDKValidationError> {
|
|
49
|
+
return safeParse(
|
|
50
|
+
jsonString,
|
|
51
|
+
(x) => PublicNetworksMeta$inboundSchema.parse(JSON.parse(x)),
|
|
52
|
+
`Failed to parse 'PublicNetworksMeta' from JSON`,
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const PublicNetworks$inboundSchema: z.ZodType<
|
|
58
|
+
PublicNetworks,
|
|
59
|
+
z.ZodTypeDef,
|
|
60
|
+
unknown
|
|
61
|
+
> = z.object({
|
|
62
|
+
data: z.array(PublicNetworkData$inboundSchema).optional(),
|
|
63
|
+
meta: z.lazy(() => PublicNetworksMeta$inboundSchema).optional(),
|
|
64
|
+
});
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type PublicNetworks$Outbound = {
|
|
67
|
+
data?: Array<PublicNetworkData$Outbound> | undefined;
|
|
68
|
+
meta?: PublicNetworksMeta$Outbound | undefined;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/** @internal */
|
|
72
|
+
export const PublicNetworks$outboundSchema: z.ZodType<
|
|
73
|
+
PublicNetworks$Outbound,
|
|
74
|
+
z.ZodTypeDef,
|
|
75
|
+
PublicNetworks
|
|
76
|
+
> = z.object({
|
|
77
|
+
data: z.array(PublicNetworkData$outboundSchema).optional(),
|
|
78
|
+
meta: z.lazy(() => PublicNetworksMeta$outboundSchema).optional(),
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export function publicNetworksToJSON(publicNetworks: PublicNetworks): string {
|
|
82
|
+
return JSON.stringify(PublicNetworks$outboundSchema.parse(publicNetworks));
|
|
83
|
+
}
|
|
84
|
+
export function publicNetworksFromJSON(
|
|
85
|
+
jsonString: string,
|
|
86
|
+
): SafeParseResult<PublicNetworks, SDKValidationError> {
|
|
87
|
+
return safeParse(
|
|
88
|
+
jsonString,
|
|
89
|
+
(x) => PublicNetworks$inboundSchema.parse(JSON.parse(x)),
|
|
90
|
+
`Failed to parse 'PublicNetworks' from JSON`,
|
|
91
|
+
);
|
|
92
|
+
}
|
package/src/models/region.ts
CHANGED
|
@@ -26,7 +26,7 @@ export type RegionAttributes = {
|
|
|
26
26
|
country?: RegionCountry | undefined;
|
|
27
27
|
type?: string | null | undefined;
|
|
28
28
|
/**
|
|
29
|
-
* Location capabilities available at this location (e.g. `
|
|
29
|
+
* Location capabilities available at this location (e.g. `public_network`).
|
|
30
30
|
*/
|
|
31
31
|
features?: Array<string> | undefined;
|
|
32
32
|
/**
|
package/src/models/regions.ts
CHANGED
|
@@ -32,7 +32,7 @@ export type RegionsAttributes = {
|
|
|
32
32
|
country?: RegionsCountry | undefined;
|
|
33
33
|
type?: string | null | undefined;
|
|
34
34
|
/**
|
|
35
|
-
* Location capabilities available at this location (e.g. `
|
|
35
|
+
* Location capabilities available at this location (e.g. `public_network`).
|
|
36
36
|
*/
|
|
37
37
|
features?: Array<string> | undefined;
|
|
38
38
|
/**
|
package/src/models/serverdata.ts
CHANGED
|
@@ -75,11 +75,11 @@ export const IpmiStatus = {
|
|
|
75
75
|
export type IpmiStatus = ClosedEnum<typeof IpmiStatus>;
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* **Preview** (`
|
|
78
|
+
* **Preview** (`public_network` feature flag). The public network this server is attached onto, or null. Fetch full details from GET /public_networks/{id}.
|
|
79
79
|
*/
|
|
80
|
-
export type
|
|
80
|
+
export type ServerDataPublicNetwork = {
|
|
81
81
|
id?: string | undefined;
|
|
82
|
-
ipv4?: string | undefined;
|
|
82
|
+
ipv4?: string | null | undefined;
|
|
83
83
|
ipv6?: string | null | undefined;
|
|
84
84
|
};
|
|
85
85
|
|
|
@@ -204,13 +204,13 @@ export type ServerDataAttributes = {
|
|
|
204
204
|
*/
|
|
205
205
|
role?: string | undefined;
|
|
206
206
|
/**
|
|
207
|
-
* Whether the server is eligible to
|
|
207
|
+
* Whether the server is eligible to attach a public network (carries the bond-vpc-enabled tag).
|
|
208
208
|
*/
|
|
209
|
-
|
|
209
|
+
publicNetworkEligible?: boolean | undefined;
|
|
210
210
|
/**
|
|
211
|
-
* **Preview** (`
|
|
211
|
+
* **Preview** (`public_network` feature flag). The public network this server is attached onto, or null. Fetch full details from GET /public_networks/{id}.
|
|
212
212
|
*/
|
|
213
|
-
|
|
213
|
+
publicNetwork?: ServerDataPublicNetwork | null | undefined;
|
|
214
214
|
site?: string | undefined;
|
|
215
215
|
locked?: boolean | undefined;
|
|
216
216
|
rescueAllowed?: boolean | undefined;
|
|
@@ -294,47 +294,47 @@ export const IpmiStatus$outboundSchema: z.ZodNativeEnum<typeof IpmiStatus> =
|
|
|
294
294
|
IpmiStatus$inboundSchema;
|
|
295
295
|
|
|
296
296
|
/** @internal */
|
|
297
|
-
export const
|
|
298
|
-
|
|
297
|
+
export const ServerDataPublicNetwork$inboundSchema: z.ZodType<
|
|
298
|
+
ServerDataPublicNetwork,
|
|
299
299
|
z.ZodTypeDef,
|
|
300
300
|
unknown
|
|
301
301
|
> = z.object({
|
|
302
302
|
id: z.string().optional(),
|
|
303
|
-
ipv4: z.string().optional(),
|
|
303
|
+
ipv4: z.nullable(z.string()).optional(),
|
|
304
304
|
ipv6: z.nullable(z.string()).optional(),
|
|
305
305
|
});
|
|
306
306
|
/** @internal */
|
|
307
|
-
export type
|
|
307
|
+
export type ServerDataPublicNetwork$Outbound = {
|
|
308
308
|
id?: string | undefined;
|
|
309
|
-
ipv4?: string | undefined;
|
|
309
|
+
ipv4?: string | null | undefined;
|
|
310
310
|
ipv6?: string | null | undefined;
|
|
311
311
|
};
|
|
312
312
|
|
|
313
313
|
/** @internal */
|
|
314
|
-
export const
|
|
315
|
-
|
|
314
|
+
export const ServerDataPublicNetwork$outboundSchema: z.ZodType<
|
|
315
|
+
ServerDataPublicNetwork$Outbound,
|
|
316
316
|
z.ZodTypeDef,
|
|
317
|
-
|
|
317
|
+
ServerDataPublicNetwork
|
|
318
318
|
> = z.object({
|
|
319
319
|
id: z.string().optional(),
|
|
320
|
-
ipv4: z.string().optional(),
|
|
320
|
+
ipv4: z.nullable(z.string()).optional(),
|
|
321
321
|
ipv6: z.nullable(z.string()).optional(),
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
export function
|
|
325
|
-
|
|
324
|
+
export function serverDataPublicNetworkToJSON(
|
|
325
|
+
serverDataPublicNetwork: ServerDataPublicNetwork,
|
|
326
326
|
): string {
|
|
327
327
|
return JSON.stringify(
|
|
328
|
-
|
|
328
|
+
ServerDataPublicNetwork$outboundSchema.parse(serverDataPublicNetwork),
|
|
329
329
|
);
|
|
330
330
|
}
|
|
331
|
-
export function
|
|
331
|
+
export function serverDataPublicNetworkFromJSON(
|
|
332
332
|
jsonString: string,
|
|
333
|
-
): SafeParseResult<
|
|
333
|
+
): SafeParseResult<ServerDataPublicNetwork, SDKValidationError> {
|
|
334
334
|
return safeParse(
|
|
335
335
|
jsonString,
|
|
336
|
-
(x) =>
|
|
337
|
-
`Failed to parse '
|
|
336
|
+
(x) => ServerDataPublicNetwork$inboundSchema.parse(JSON.parse(x)),
|
|
337
|
+
`Failed to parse 'ServerDataPublicNetwork' from JSON`,
|
|
338
338
|
);
|
|
339
339
|
}
|
|
340
340
|
|
|
@@ -656,8 +656,10 @@ export const ServerDataAttributes$inboundSchema: z.ZodType<
|
|
|
656
656
|
status: ServerDataStatus$inboundSchema.optional(),
|
|
657
657
|
ipmi_status: z.nullable(IpmiStatus$inboundSchema).optional(),
|
|
658
658
|
role: z.string().optional(),
|
|
659
|
-
|
|
660
|
-
|
|
659
|
+
public_network_eligible: z.boolean().optional(),
|
|
660
|
+
public_network: z.nullable(
|
|
661
|
+
z.lazy(() => ServerDataPublicNetwork$inboundSchema),
|
|
662
|
+
).optional(),
|
|
661
663
|
site: z.string().optional(),
|
|
662
664
|
locked: z.boolean().optional(),
|
|
663
665
|
rescue_allowed: z.boolean().optional(),
|
|
@@ -676,7 +678,8 @@ export const ServerDataAttributes$inboundSchema: z.ZodType<
|
|
|
676
678
|
}).transform((v) => {
|
|
677
679
|
return remap$(v, {
|
|
678
680
|
"ipmi_status": "ipmiStatus",
|
|
679
|
-
"
|
|
681
|
+
"public_network_eligible": "publicNetworkEligible",
|
|
682
|
+
"public_network": "publicNetwork",
|
|
680
683
|
"rescue_allowed": "rescueAllowed",
|
|
681
684
|
"primary_ipv4": "primaryIpv4",
|
|
682
685
|
"primary_ipv6": "primaryIpv6",
|
|
@@ -694,8 +697,8 @@ export type ServerDataAttributes$Outbound = {
|
|
|
694
697
|
status?: string | undefined;
|
|
695
698
|
ipmi_status?: string | null | undefined;
|
|
696
699
|
role?: string | undefined;
|
|
697
|
-
|
|
698
|
-
|
|
700
|
+
public_network_eligible?: boolean | undefined;
|
|
701
|
+
public_network?: ServerDataPublicNetwork$Outbound | null | undefined;
|
|
699
702
|
site?: string | undefined;
|
|
700
703
|
locked?: boolean | undefined;
|
|
701
704
|
rescue_allowed?: boolean | undefined;
|
|
@@ -725,8 +728,10 @@ export const ServerDataAttributes$outboundSchema: z.ZodType<
|
|
|
725
728
|
status: ServerDataStatus$outboundSchema.optional(),
|
|
726
729
|
ipmiStatus: z.nullable(IpmiStatus$outboundSchema).optional(),
|
|
727
730
|
role: z.string().optional(),
|
|
728
|
-
|
|
729
|
-
|
|
731
|
+
publicNetworkEligible: z.boolean().optional(),
|
|
732
|
+
publicNetwork: z.nullable(
|
|
733
|
+
z.lazy(() => ServerDataPublicNetwork$outboundSchema),
|
|
734
|
+
).optional(),
|
|
730
735
|
site: z.string().optional(),
|
|
731
736
|
locked: z.boolean().optional(),
|
|
732
737
|
rescueAllowed: z.boolean().optional(),
|
|
@@ -745,7 +750,8 @@ export const ServerDataAttributes$outboundSchema: z.ZodType<
|
|
|
745
750
|
}).transform((v) => {
|
|
746
751
|
return remap$(v, {
|
|
747
752
|
ipmiStatus: "ipmi_status",
|
|
748
|
-
|
|
753
|
+
publicNetworkEligible: "public_network_eligible",
|
|
754
|
+
publicNetwork: "public_network",
|
|
749
755
|
rescueAllowed: "rescue_allowed",
|
|
750
756
|
primaryIpv4: "primary_ipv4",
|
|
751
757
|
primaryIpv6: "primary_ipv6",
|