latitudesh-typescript-sdk 0.4.1 → 0.5.0
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 +17 -9
- package/bin/mcp-server.js +1099 -158
- package/bin/mcp-server.js.map +64 -47
- package/dist/commonjs/funcs/blockStorageDeleteStorageVolumes.d.ts +1 -1
- package/dist/commonjs/funcs/blockStorageDeleteStorageVolumes.js +1 -1
- package/dist/commonjs/funcs/blockStorageGetStorageVolume.d.ts +1 -1
- package/dist/commonjs/funcs/blockStorageGetStorageVolume.js +1 -1
- package/dist/commonjs/funcs/blockStoragePostStorageVolumesMount.d.ts +1 -1
- package/dist/commonjs/funcs/blockStoragePostStorageVolumesMount.js +1 -1
- package/dist/commonjs/funcs/filesystemStorageDeleteFilesystem.d.ts +1 -1
- package/dist/commonjs/funcs/filesystemStorageDeleteFilesystem.js +1 -1
- package/dist/commonjs/funcs/objectStorageDeleteStorageBuckets.d.ts +1 -1
- package/dist/commonjs/funcs/objectStorageDeleteStorageBuckets.js +1 -1
- package/dist/commonjs/funcs/objectStorageGetStorageBucket.d.ts +1 -1
- package/dist/commonjs/funcs/objectStorageGetStorageBucket.js +1 -1
- package/dist/commonjs/funcs/objectStorageGetStorageBuckets.d.ts +1 -1
- package/dist/commonjs/funcs/objectStorageGetStorageBuckets.js +1 -1
- package/dist/commonjs/funcs/objectStoragePostStorageBuckets.d.ts +1 -1
- package/dist/commonjs/funcs/objectStoragePostStorageBuckets.js +1 -1
- package/dist/commonjs/funcs/sshKeysList.js +3 -0
- package/dist/commonjs/funcs/sshKeysList.js.map +1 -1
- package/dist/commonjs/funcs/sshKeysListAll.js +3 -0
- package/dist/commonjs/funcs/sshKeysListAll.js.map +1 -1
- package/dist/commonjs/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts +17 -0
- package/dist/commonjs/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts.map +1 -0
- package/dist/commonjs/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.js +119 -0
- package/dist/commonjs/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.js.map +1 -0
- package/dist/commonjs/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts +17 -0
- package/dist/commonjs/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts.map +1 -0
- package/dist/commonjs/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.js +122 -0
- package/dist/commonjs/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.js.map +1 -0
- package/dist/commonjs/funcs/virtualMachinesList.js +1 -0
- package/dist/commonjs/funcs/virtualMachinesList.js.map +1 -1
- package/dist/commonjs/funcs/virtualMachinesListVirtualMachineNetworkAttachments.d.ts +18 -0
- package/dist/commonjs/funcs/virtualMachinesListVirtualMachineNetworkAttachments.d.ts.map +1 -0
- package/dist/commonjs/funcs/virtualMachinesListVirtualMachineNetworkAttachments.js +121 -0
- package/dist/commonjs/funcs/virtualMachinesListVirtualMachineNetworkAttachments.js.map +1 -0
- package/dist/commonjs/funcs/virtualMachinesShowVirtualMachineMetrics.d.ts +18 -0
- package/dist/commonjs/funcs/virtualMachinesShowVirtualMachineMetrics.d.ts.map +1 -0
- package/dist/commonjs/funcs/virtualMachinesShowVirtualMachineMetrics.js +126 -0
- package/dist/commonjs/funcs/virtualMachinesShowVirtualMachineMetrics.js.map +1 -0
- package/dist/commonjs/hooks/types.d.ts +1 -0
- package/dist/commonjs/hooks/types.d.ts.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/sdks.d.ts.map +1 -1
- package/dist/commonjs/lib/sdks.js +13 -4
- package/dist/commonjs/lib/sdks.js.map +1 -1
- 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 +9 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/blockStorageDeleteStorageVolumes.js +1 -1
- package/dist/commonjs/mcp-server/tools/blockStorageDeleteStorageVolumes.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/blockStorageGetStorageVolume.js +1 -1
- package/dist/commonjs/mcp-server/tools/blockStorageGetStorageVolume.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/blockStoragePostStorageVolumesMount.js +1 -1
- package/dist/commonjs/mcp-server/tools/blockStoragePostStorageVolumesMount.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/filesystemStorageDeleteFilesystem.js +1 -1
- package/dist/commonjs/mcp-server/tools/filesystemStorageDeleteFilesystem.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/objectStorageDeleteStorageBuckets.js +1 -1
- package/dist/commonjs/mcp-server/tools/objectStorageGetStorageBucket.js +1 -1
- package/dist/commonjs/mcp-server/tools/objectStorageGetStorageBuckets.js +1 -1
- package/dist/commonjs/mcp-server/tools/objectStoragePostStorageBuckets.js +1 -1
- package/dist/commonjs/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.js +65 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.js +65 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.js +65 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.js +64 -0
- package/dist/commonjs/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.js.map +1 -0
- package/dist/commonjs/models/deployconfig.d.ts +52 -0
- package/dist/commonjs/models/deployconfig.d.ts.map +1 -1
- package/dist/commonjs/models/deployconfig.js +68 -1
- package/dist/commonjs/models/deployconfig.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +5 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +5 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/operatingsystemdata.d.ts +1 -1
- package/dist/commonjs/models/operatingsystemdata.js +1 -1
- package/dist/commonjs/models/operatingsystemdata.js.map +1 -1
- package/dist/commonjs/models/operations/createvirtualmachinenetworkattachment.d.ts +49 -0
- package/dist/commonjs/models/operations/createvirtualmachinenetworkattachment.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createvirtualmachinenetworkattachment.js +106 -0
- package/dist/commonjs/models/operations/createvirtualmachinenetworkattachment.js.map +1 -0
- package/dist/commonjs/models/operations/destroyvirtualmachinenetworkattachment.d.ts +51 -0
- package/dist/commonjs/models/operations/destroyvirtualmachinenetworkattachment.d.ts.map +1 -0
- package/dist/commonjs/models/operations/destroyvirtualmachinenetworkattachment.js +102 -0
- package/dist/commonjs/models/operations/destroyvirtualmachinenetworkattachment.js.map +1 -0
- package/dist/commonjs/models/operations/getplansoperatingsystem.d.ts +2 -18
- package/dist/commonjs/models/operations/getplansoperatingsystem.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getplansoperatingsystem.js +3 -19
- package/dist/commonjs/models/operations/getplansoperatingsystem.js.map +1 -1
- package/dist/commonjs/models/operations/getprojectsshkeys.d.ts +15 -0
- package/dist/commonjs/models/operations/getprojectsshkeys.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getprojectsshkeys.js +12 -0
- package/dist/commonjs/models/operations/getprojectsshkeys.js.map +1 -1
- package/dist/commonjs/models/operations/getsshkeys.d.ts +15 -0
- package/dist/commonjs/models/operations/getsshkeys.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getsshkeys.js +12 -0
- package/dist/commonjs/models/operations/getsshkeys.js.map +1 -1
- package/dist/commonjs/models/operations/getstoragevolume.d.ts +1 -1
- package/dist/commonjs/models/operations/getvpnsessions.d.ts +8 -8
- package/dist/commonjs/models/operations/getvpnsessions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getvpnsessions.js +11 -12
- package/dist/commonjs/models/operations/getvpnsessions.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +4 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +4 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/indexvirtualmachine.d.ts +6 -1
- package/dist/commonjs/models/operations/indexvirtualmachine.d.ts.map +1 -1
- package/dist/commonjs/models/operations/indexvirtualmachine.js +4 -0
- package/dist/commonjs/models/operations/indexvirtualmachine.js.map +1 -1
- package/dist/commonjs/models/operations/listvirtualmachinenetworkattachments.d.ts +17 -0
- package/dist/commonjs/models/operations/listvirtualmachinenetworkattachments.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listvirtualmachinenetworkattachments.js +67 -0
- package/dist/commonjs/models/operations/listvirtualmachinenetworkattachments.js.map +1 -0
- package/dist/commonjs/models/operations/poststoragebuckets.d.ts +9 -9
- package/dist/commonjs/models/operations/poststoragebuckets.js +2 -2
- package/dist/commonjs/models/operations/poststoragefilesystems.d.ts +1 -1
- package/dist/commonjs/models/operations/poststoragevolumes.d.ts +1 -1
- package/dist/commonjs/models/operations/poststoragevolumesmount.d.ts +2 -2
- package/dist/commonjs/models/operations/showvirtualmachinemetrics.d.ts +46 -0
- package/dist/commonjs/models/operations/showvirtualmachinemetrics.d.ts.map +1 -0
- package/dist/commonjs/models/operations/showvirtualmachinemetrics.js +96 -0
- package/dist/commonjs/models/operations/showvirtualmachinemetrics.js.map +1 -0
- package/dist/commonjs/models/paginationmeta.d.ts +46 -0
- package/dist/commonjs/models/paginationmeta.d.ts.map +1 -0
- package/dist/commonjs/models/paginationmeta.js +91 -0
- package/dist/commonjs/models/paginationmeta.js.map +1 -0
- package/dist/commonjs/models/sshkeydata.d.ts +21 -0
- package/dist/commonjs/models/sshkeydata.d.ts.map +1 -1
- package/dist/commonjs/models/sshkeydata.js +25 -1
- package/dist/commonjs/models/sshkeydata.js.map +1 -1
- package/dist/commonjs/models/sshkeys.d.ts +3 -11
- package/dist/commonjs/models/sshkeys.d.ts.map +1 -1
- package/dist/commonjs/models/sshkeys.js +4 -15
- package/dist/commonjs/models/sshkeys.js.map +1 -1
- package/dist/commonjs/models/virtualmachineattributes.d.ts +35 -0
- package/dist/commonjs/models/virtualmachineattributes.d.ts.map +1 -1
- package/dist/commonjs/models/virtualmachineattributes.js +39 -1
- package/dist/commonjs/models/virtualmachineattributes.js.map +1 -1
- package/dist/commonjs/models/virtualmachinemetrics.d.ts +90 -0
- package/dist/commonjs/models/virtualmachinemetrics.d.ts.map +1 -0
- package/dist/commonjs/models/virtualmachinemetrics.js +118 -0
- package/dist/commonjs/models/virtualmachinemetrics.js.map +1 -0
- package/dist/commonjs/models/virtualmachinenetworkattachmentcreatepayload.d.ts +57 -0
- package/dist/commonjs/models/virtualmachinenetworkattachmentcreatepayload.d.ts.map +1 -0
- package/dist/commonjs/models/virtualmachinenetworkattachmentcreatepayload.js +110 -0
- package/dist/commonjs/models/virtualmachinenetworkattachmentcreatepayload.js.map +1 -0
- package/dist/commonjs/models/virtualmachinenetworkattachmentresource.d.ts +64 -0
- package/dist/commonjs/models/virtualmachinenetworkattachmentresource.d.ts.map +1 -0
- package/dist/commonjs/models/virtualmachinenetworkattachmentresource.js +105 -0
- package/dist/commonjs/models/virtualmachinenetworkattachmentresource.js.map +1 -0
- package/dist/commonjs/models/virtualmachinenetworkattachments.d.ts +18 -0
- package/dist/commonjs/models/virtualmachinenetworkattachments.d.ts.map +1 -0
- package/dist/commonjs/models/virtualmachinenetworkattachments.js +61 -0
- package/dist/commonjs/models/virtualmachinenetworkattachments.js.map +1 -0
- package/dist/commonjs/models/virtualmachinepayload.d.ts +22 -0
- package/dist/commonjs/models/virtualmachinepayload.d.ts.map +1 -1
- package/dist/commonjs/models/virtualmachinepayload.js +19 -1
- package/dist/commonjs/models/virtualmachinepayload.js.map +1 -1
- package/dist/commonjs/models/virtualmachineupdatepayload.d.ts +7 -2
- package/dist/commonjs/models/virtualmachineupdatepayload.d.ts.map +1 -1
- package/dist/commonjs/models/virtualmachineupdatepayload.js +4 -2
- package/dist/commonjs/models/virtualmachineupdatepayload.js.map +1 -1
- package/dist/commonjs/models/virtualnetworkdata.d.ts +8 -8
- package/dist/commonjs/models/virtualnetworkdata.d.ts.map +1 -1
- package/dist/commonjs/models/virtualnetworkdata.js +11 -13
- package/dist/commonjs/models/virtualnetworkdata.js.map +1 -1
- package/dist/commonjs/sdk/blockstorage.d.ts +3 -3
- package/dist/commonjs/sdk/blockstorage.js +3 -3
- package/dist/commonjs/sdk/filesystemstorage.d.ts +1 -1
- package/dist/commonjs/sdk/filesystemstorage.js +1 -1
- package/dist/commonjs/sdk/objectstorage.d.ts +4 -4
- package/dist/commonjs/sdk/objectstorage.js +4 -4
- package/dist/commonjs/sdk/virtualmachines.d.ts +28 -0
- package/dist/commonjs/sdk/virtualmachines.d.ts.map +1 -1
- package/dist/commonjs/sdk/virtualmachines.js +40 -0
- package/dist/commonjs/sdk/virtualmachines.js.map +1 -1
- package/dist/esm/funcs/blockStorageDeleteStorageVolumes.d.ts +1 -1
- package/dist/esm/funcs/blockStorageDeleteStorageVolumes.js +1 -1
- package/dist/esm/funcs/blockStorageGetStorageVolume.d.ts +1 -1
- package/dist/esm/funcs/blockStorageGetStorageVolume.js +1 -1
- package/dist/esm/funcs/blockStoragePostStorageVolumesMount.d.ts +1 -1
- package/dist/esm/funcs/blockStoragePostStorageVolumesMount.js +1 -1
- package/dist/esm/funcs/filesystemStorageDeleteFilesystem.d.ts +1 -1
- package/dist/esm/funcs/filesystemStorageDeleteFilesystem.js +1 -1
- package/dist/esm/funcs/objectStorageDeleteStorageBuckets.d.ts +1 -1
- package/dist/esm/funcs/objectStorageDeleteStorageBuckets.js +1 -1
- package/dist/esm/funcs/objectStorageGetStorageBucket.d.ts +1 -1
- package/dist/esm/funcs/objectStorageGetStorageBucket.js +1 -1
- package/dist/esm/funcs/objectStorageGetStorageBuckets.d.ts +1 -1
- package/dist/esm/funcs/objectStorageGetStorageBuckets.js +1 -1
- package/dist/esm/funcs/objectStoragePostStorageBuckets.d.ts +1 -1
- package/dist/esm/funcs/objectStoragePostStorageBuckets.js +1 -1
- package/dist/esm/funcs/sshKeysList.js +3 -0
- package/dist/esm/funcs/sshKeysList.js.map +1 -1
- package/dist/esm/funcs/sshKeysListAll.js +3 -0
- package/dist/esm/funcs/sshKeysListAll.js.map +1 -1
- package/dist/esm/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts +17 -0
- package/dist/esm/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts.map +1 -0
- package/dist/esm/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.js +83 -0
- package/dist/esm/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.js.map +1 -0
- package/dist/esm/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts +17 -0
- package/dist/esm/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts.map +1 -0
- package/dist/esm/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.js +86 -0
- package/dist/esm/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.js.map +1 -0
- package/dist/esm/funcs/virtualMachinesList.js +1 -0
- package/dist/esm/funcs/virtualMachinesList.js.map +1 -1
- package/dist/esm/funcs/virtualMachinesListVirtualMachineNetworkAttachments.d.ts +18 -0
- package/dist/esm/funcs/virtualMachinesListVirtualMachineNetworkAttachments.d.ts.map +1 -0
- package/dist/esm/funcs/virtualMachinesListVirtualMachineNetworkAttachments.js +85 -0
- package/dist/esm/funcs/virtualMachinesListVirtualMachineNetworkAttachments.js.map +1 -0
- package/dist/esm/funcs/virtualMachinesShowVirtualMachineMetrics.d.ts +18 -0
- package/dist/esm/funcs/virtualMachinesShowVirtualMachineMetrics.d.ts.map +1 -0
- package/dist/esm/funcs/virtualMachinesShowVirtualMachineMetrics.js +90 -0
- package/dist/esm/funcs/virtualMachinesShowVirtualMachineMetrics.js.map +1 -0
- package/dist/esm/hooks/types.d.ts +1 -0
- package/dist/esm/hooks/types.d.ts.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/sdks.d.ts.map +1 -1
- package/dist/esm/lib/sdks.js +13 -4
- package/dist/esm/lib/sdks.js.map +1 -1
- 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 +9 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/blockStorageDeleteStorageVolumes.js +1 -1
- package/dist/esm/mcp-server/tools/blockStorageDeleteStorageVolumes.js.map +1 -1
- package/dist/esm/mcp-server/tools/blockStorageGetStorageVolume.js +1 -1
- package/dist/esm/mcp-server/tools/blockStorageGetStorageVolume.js.map +1 -1
- package/dist/esm/mcp-server/tools/blockStoragePostStorageVolumesMount.js +1 -1
- package/dist/esm/mcp-server/tools/blockStoragePostStorageVolumesMount.js.map +1 -1
- package/dist/esm/mcp-server/tools/filesystemStorageDeleteFilesystem.js +1 -1
- package/dist/esm/mcp-server/tools/filesystemStorageDeleteFilesystem.js.map +1 -1
- package/dist/esm/mcp-server/tools/objectStorageDeleteStorageBuckets.js +1 -1
- package/dist/esm/mcp-server/tools/objectStorageGetStorageBucket.js +1 -1
- package/dist/esm/mcp-server/tools/objectStorageGetStorageBuckets.js +1 -1
- package/dist/esm/mcp-server/tools/objectStoragePostStorageBuckets.js +1 -1
- package/dist/esm/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts +8 -0
- package/dist/esm/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.js +29 -0
- package/dist/esm/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.js.map +1 -0
- package/dist/esm/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts +8 -0
- package/dist/esm/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.js +29 -0
- package/dist/esm/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.js.map +1 -0
- package/dist/esm/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.d.ts +8 -0
- package/dist/esm/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.js +29 -0
- package/dist/esm/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.js.map +1 -0
- package/dist/esm/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.d.ts +8 -0
- package/dist/esm/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.js +28 -0
- package/dist/esm/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.js.map +1 -0
- package/dist/esm/models/deployconfig.d.ts +52 -0
- package/dist/esm/models/deployconfig.d.ts.map +1 -1
- package/dist/esm/models/deployconfig.js +65 -0
- package/dist/esm/models/deployconfig.js.map +1 -1
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +5 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/operatingsystemdata.d.ts +1 -1
- package/dist/esm/models/operatingsystemdata.js +1 -1
- package/dist/esm/models/operatingsystemdata.js.map +1 -1
- package/dist/esm/models/operations/createvirtualmachinenetworkattachment.d.ts +49 -0
- package/dist/esm/models/operations/createvirtualmachinenetworkattachment.d.ts.map +1 -0
- package/dist/esm/models/operations/createvirtualmachinenetworkattachment.js +64 -0
- package/dist/esm/models/operations/createvirtualmachinenetworkattachment.js.map +1 -0
- package/dist/esm/models/operations/destroyvirtualmachinenetworkattachment.d.ts +51 -0
- package/dist/esm/models/operations/destroyvirtualmachinenetworkattachment.d.ts.map +1 -0
- package/dist/esm/models/operations/destroyvirtualmachinenetworkattachment.js +60 -0
- package/dist/esm/models/operations/destroyvirtualmachinenetworkattachment.js.map +1 -0
- package/dist/esm/models/operations/getplansoperatingsystem.d.ts +2 -18
- package/dist/esm/models/operations/getplansoperatingsystem.d.ts.map +1 -1
- package/dist/esm/models/operations/getplansoperatingsystem.js +2 -16
- package/dist/esm/models/operations/getplansoperatingsystem.js.map +1 -1
- package/dist/esm/models/operations/getprojectsshkeys.d.ts +15 -0
- package/dist/esm/models/operations/getprojectsshkeys.d.ts.map +1 -1
- package/dist/esm/models/operations/getprojectsshkeys.js +12 -0
- package/dist/esm/models/operations/getprojectsshkeys.js.map +1 -1
- package/dist/esm/models/operations/getsshkeys.d.ts +15 -0
- package/dist/esm/models/operations/getsshkeys.d.ts.map +1 -1
- package/dist/esm/models/operations/getsshkeys.js +12 -0
- package/dist/esm/models/operations/getsshkeys.js.map +1 -1
- package/dist/esm/models/operations/getstoragevolume.d.ts +1 -1
- package/dist/esm/models/operations/getvpnsessions.d.ts +8 -8
- package/dist/esm/models/operations/getvpnsessions.d.ts.map +1 -1
- package/dist/esm/models/operations/getvpnsessions.js +8 -9
- package/dist/esm/models/operations/getvpnsessions.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +4 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +4 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/indexvirtualmachine.d.ts +6 -1
- package/dist/esm/models/operations/indexvirtualmachine.d.ts.map +1 -1
- package/dist/esm/models/operations/indexvirtualmachine.js +4 -0
- package/dist/esm/models/operations/indexvirtualmachine.js.map +1 -1
- package/dist/esm/models/operations/listvirtualmachinenetworkattachments.d.ts +17 -0
- package/dist/esm/models/operations/listvirtualmachinenetworkattachments.d.ts.map +1 -0
- package/dist/esm/models/operations/listvirtualmachinenetworkattachments.js +29 -0
- package/dist/esm/models/operations/listvirtualmachinenetworkattachments.js.map +1 -0
- package/dist/esm/models/operations/poststoragebuckets.d.ts +9 -9
- package/dist/esm/models/operations/poststoragebuckets.js +2 -2
- package/dist/esm/models/operations/poststoragefilesystems.d.ts +1 -1
- package/dist/esm/models/operations/poststoragevolumes.d.ts +1 -1
- package/dist/esm/models/operations/poststoragevolumesmount.d.ts +2 -2
- package/dist/esm/models/operations/showvirtualmachinemetrics.d.ts +46 -0
- package/dist/esm/models/operations/showvirtualmachinemetrics.d.ts.map +1 -0
- package/dist/esm/models/operations/showvirtualmachinemetrics.js +58 -0
- package/dist/esm/models/operations/showvirtualmachinemetrics.js.map +1 -0
- package/dist/esm/models/paginationmeta.d.ts +46 -0
- package/dist/esm/models/paginationmeta.d.ts.map +1 -0
- package/dist/esm/models/paginationmeta.js +49 -0
- package/dist/esm/models/paginationmeta.js.map +1 -0
- package/dist/esm/models/sshkeydata.d.ts +21 -0
- package/dist/esm/models/sshkeydata.d.ts.map +1 -1
- package/dist/esm/models/sshkeydata.js +22 -0
- package/dist/esm/models/sshkeydata.js.map +1 -1
- package/dist/esm/models/sshkeys.d.ts +3 -11
- package/dist/esm/models/sshkeys.d.ts.map +1 -1
- package/dist/esm/models/sshkeys.js +3 -12
- package/dist/esm/models/sshkeys.js.map +1 -1
- package/dist/esm/models/virtualmachineattributes.d.ts +35 -0
- package/dist/esm/models/virtualmachineattributes.d.ts.map +1 -1
- package/dist/esm/models/virtualmachineattributes.js +36 -0
- package/dist/esm/models/virtualmachineattributes.js.map +1 -1
- package/dist/esm/models/virtualmachinemetrics.d.ts +90 -0
- package/dist/esm/models/virtualmachinemetrics.d.ts.map +1 -0
- package/dist/esm/models/virtualmachinemetrics.js +78 -0
- package/dist/esm/models/virtualmachinemetrics.js.map +1 -0
- package/dist/esm/models/virtualmachinenetworkattachmentcreatepayload.d.ts +57 -0
- package/dist/esm/models/virtualmachinenetworkattachmentcreatepayload.d.ts.map +1 -0
- package/dist/esm/models/virtualmachinenetworkattachmentcreatepayload.js +68 -0
- package/dist/esm/models/virtualmachinenetworkattachmentcreatepayload.js.map +1 -0
- package/dist/esm/models/virtualmachinenetworkattachmentresource.d.ts +64 -0
- package/dist/esm/models/virtualmachinenetworkattachmentresource.d.ts.map +1 -0
- package/dist/esm/models/virtualmachinenetworkattachmentresource.js +65 -0
- package/dist/esm/models/virtualmachinenetworkattachmentresource.js.map +1 -0
- package/dist/esm/models/virtualmachinenetworkattachments.d.ts +18 -0
- package/dist/esm/models/virtualmachinenetworkattachments.d.ts.map +1 -0
- package/dist/esm/models/virtualmachinenetworkattachments.js +23 -0
- package/dist/esm/models/virtualmachinenetworkattachments.js.map +1 -0
- package/dist/esm/models/virtualmachinepayload.d.ts +22 -0
- package/dist/esm/models/virtualmachinepayload.d.ts.map +1 -1
- package/dist/esm/models/virtualmachinepayload.js +16 -0
- package/dist/esm/models/virtualmachinepayload.js.map +1 -1
- package/dist/esm/models/virtualmachineupdatepayload.d.ts +7 -2
- package/dist/esm/models/virtualmachineupdatepayload.d.ts.map +1 -1
- package/dist/esm/models/virtualmachineupdatepayload.js +4 -2
- package/dist/esm/models/virtualmachineupdatepayload.js.map +1 -1
- package/dist/esm/models/virtualnetworkdata.d.ts +8 -8
- package/dist/esm/models/virtualnetworkdata.d.ts.map +1 -1
- package/dist/esm/models/virtualnetworkdata.js +8 -10
- package/dist/esm/models/virtualnetworkdata.js.map +1 -1
- package/dist/esm/sdk/blockstorage.d.ts +3 -3
- package/dist/esm/sdk/blockstorage.js +3 -3
- package/dist/esm/sdk/filesystemstorage.d.ts +1 -1
- package/dist/esm/sdk/filesystemstorage.js +1 -1
- package/dist/esm/sdk/objectstorage.d.ts +4 -4
- package/dist/esm/sdk/objectstorage.js +4 -4
- package/dist/esm/sdk/virtualmachines.d.ts +28 -0
- package/dist/esm/sdk/virtualmachines.d.ts.map +1 -1
- package/dist/esm/sdk/virtualmachines.js +40 -0
- package/dist/esm/sdk/virtualmachines.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/funcs/blockStorageDeleteStorageVolumes.ts +1 -1
- package/src/funcs/blockStorageGetStorageVolume.ts +1 -1
- package/src/funcs/blockStoragePostStorageVolumesMount.ts +1 -1
- package/src/funcs/filesystemStorageDeleteFilesystem.ts +1 -1
- package/src/funcs/objectStorageDeleteStorageBuckets.ts +1 -1
- package/src/funcs/objectStorageGetStorageBucket.ts +1 -1
- package/src/funcs/objectStorageGetStorageBuckets.ts +1 -1
- package/src/funcs/objectStoragePostStorageBuckets.ts +1 -1
- package/src/funcs/sshKeysList.ts +3 -0
- package/src/funcs/sshKeysListAll.ts +3 -0
- package/src/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.ts +181 -0
- package/src/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.ts +180 -0
- package/src/funcs/virtualMachinesList.ts +1 -0
- package/src/funcs/virtualMachinesListVirtualMachineNetworkAttachments.ts +175 -0
- package/src/funcs/virtualMachinesShowVirtualMachineMetrics.ts +181 -0
- package/src/hooks/types.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +13 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -1
- package/src/mcp-server/tools/blockStorageDeleteStorageVolumes.ts +1 -1
- package/src/mcp-server/tools/blockStorageGetStorageVolume.ts +1 -1
- package/src/mcp-server/tools/blockStoragePostStorageVolumesMount.ts +1 -1
- package/src/mcp-server/tools/filesystemStorageDeleteFilesystem.ts +1 -1
- package/src/mcp-server/tools/objectStorageDeleteStorageBuckets.ts +1 -1
- package/src/mcp-server/tools/objectStorageGetStorageBucket.ts +1 -1
- package/src/mcp-server/tools/objectStorageGetStorageBuckets.ts +1 -1
- package/src/mcp-server/tools/objectStoragePostStorageBuckets.ts +1 -1
- package/src/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.ts +41 -0
- package/src/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.ts +41 -0
- package/src/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.ts +40 -0
- package/src/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.ts +39 -0
- package/src/models/deployconfig.ts +116 -0
- package/src/models/index.ts +5 -0
- package/src/models/operatingsystemdata.ts +1 -1
- package/src/models/operations/createvirtualmachinenetworkattachment.ts +196 -0
- package/src/models/operations/destroyvirtualmachinenetworkattachment.ts +189 -0
- package/src/models/operations/getplansoperatingsystem.ts +4 -53
- package/src/models/operations/getprojectsshkeys.ts +27 -0
- package/src/models/operations/getsshkeys.ts +27 -0
- package/src/models/operations/getstoragevolume.ts +1 -1
- package/src/models/operations/getvpnsessions.ts +26 -16
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/indexvirtualmachine.ts +10 -1
- package/src/models/operations/listvirtualmachinenetworkattachments.ts +71 -0
- package/src/models/operations/poststoragebuckets.ts +9 -9
- package/src/models/operations/poststoragefilesystems.ts +1 -1
- package/src/models/operations/poststoragevolumes.ts +1 -1
- package/src/models/operations/poststoragevolumesmount.ts +2 -2
- package/src/models/operations/showvirtualmachinemetrics.ts +108 -0
- package/src/models/paginationmeta.ts +129 -0
- package/src/models/sshkeydata.ts +55 -0
- package/src/models/sshkeys.ts +10 -35
- package/src/models/virtualmachineattributes.ts +89 -0
- package/src/models/virtualmachinemetrics.ts +175 -0
- package/src/models/virtualmachinenetworkattachmentcreatepayload.ts +210 -0
- package/src/models/virtualmachinenetworkattachmentresource.ts +185 -0
- package/src/models/virtualmachinenetworkattachments.ts +61 -0
- package/src/models/virtualmachinepayload.ts +50 -0
- package/src/models/virtualmachineupdatepayload.ts +11 -4
- package/src/models/virtualnetworkdata.ts +36 -26
- package/src/sdk/blockstorage.ts +3 -3
- package/src/sdk/filesystemstorage.ts +1 -1
- package/src/sdk/objectstorage.ts +4 -4
- package/src/sdk/virtualmachines.ts +72 -0
|
@@ -17,6 +17,18 @@ export type GetProjectSshKeysRequest = {
|
|
|
17
17
|
* The tags ids to filter by, separated by comma, e.g. `filter[tags]=tag_1,tag_2`will return ssh keys with `tag_1` AND `tag_2`
|
|
18
18
|
*/
|
|
19
19
|
filterTags?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Request aggregate stats in the response `meta`. Use `count` to get the total number of records, returned as `meta.stats.total.count`.
|
|
22
|
+
*/
|
|
23
|
+
statsTotal?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Page number for pagination
|
|
26
|
+
*/
|
|
27
|
+
pageNumber?: number | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Number of items per page
|
|
30
|
+
*/
|
|
31
|
+
pageSize?: number | undefined;
|
|
20
32
|
};
|
|
21
33
|
|
|
22
34
|
/** @internal */
|
|
@@ -27,16 +39,25 @@ export const GetProjectSshKeysRequest$inboundSchema: z.ZodType<
|
|
|
27
39
|
> = z.object({
|
|
28
40
|
project_id: z.string(),
|
|
29
41
|
"filter[tags]": z.string().optional(),
|
|
42
|
+
"stats[total]": z.string().optional(),
|
|
43
|
+
"page[number]": z.number().int().optional(),
|
|
44
|
+
"page[size]": z.number().int().optional(),
|
|
30
45
|
}).transform((v) => {
|
|
31
46
|
return remap$(v, {
|
|
32
47
|
"project_id": "projectId",
|
|
33
48
|
"filter[tags]": "filterTags",
|
|
49
|
+
"stats[total]": "statsTotal",
|
|
50
|
+
"page[number]": "pageNumber",
|
|
51
|
+
"page[size]": "pageSize",
|
|
34
52
|
});
|
|
35
53
|
});
|
|
36
54
|
/** @internal */
|
|
37
55
|
export type GetProjectSshKeysRequest$Outbound = {
|
|
38
56
|
project_id: string;
|
|
39
57
|
"filter[tags]"?: string | undefined;
|
|
58
|
+
"stats[total]"?: string | undefined;
|
|
59
|
+
"page[number]"?: number | undefined;
|
|
60
|
+
"page[size]"?: number | undefined;
|
|
40
61
|
};
|
|
41
62
|
|
|
42
63
|
/** @internal */
|
|
@@ -47,10 +68,16 @@ export const GetProjectSshKeysRequest$outboundSchema: z.ZodType<
|
|
|
47
68
|
> = z.object({
|
|
48
69
|
projectId: z.string(),
|
|
49
70
|
filterTags: z.string().optional(),
|
|
71
|
+
statsTotal: z.string().optional(),
|
|
72
|
+
pageNumber: z.number().int().optional(),
|
|
73
|
+
pageSize: z.number().int().optional(),
|
|
50
74
|
}).transform((v) => {
|
|
51
75
|
return remap$(v, {
|
|
52
76
|
projectId: "project_id",
|
|
53
77
|
filterTags: "filter[tags]",
|
|
78
|
+
statsTotal: "stats[total]",
|
|
79
|
+
pageNumber: "page[number]",
|
|
80
|
+
pageSize: "page[size]",
|
|
54
81
|
});
|
|
55
82
|
});
|
|
56
83
|
|
|
@@ -21,6 +21,18 @@ export type GetSshKeysRequest = {
|
|
|
21
21
|
* The tags ids to filter by, separated by comma, e.g. `filter[tags]=tag_1,tag_2`will return ssh keys with `tag_1` AND `tag_2`
|
|
22
22
|
*/
|
|
23
23
|
filterTags?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Request aggregate stats in the response `meta`. Use `count` to get the total number of records, returned as `meta.stats.total.count`.
|
|
26
|
+
*/
|
|
27
|
+
statsTotal?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Page number for pagination
|
|
30
|
+
*/
|
|
31
|
+
pageNumber?: number | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Number of items per page
|
|
34
|
+
*/
|
|
35
|
+
pageSize?: number | undefined;
|
|
24
36
|
};
|
|
25
37
|
|
|
26
38
|
/** @internal */
|
|
@@ -32,11 +44,17 @@ export const GetSshKeysRequest$inboundSchema: z.ZodType<
|
|
|
32
44
|
"filter[project]": z.string().optional(),
|
|
33
45
|
"filter[scope]": z.string().optional(),
|
|
34
46
|
"filter[tags]": z.string().optional(),
|
|
47
|
+
"stats[total]": z.string().optional(),
|
|
48
|
+
"page[number]": z.number().int().optional(),
|
|
49
|
+
"page[size]": z.number().int().optional(),
|
|
35
50
|
}).transform((v) => {
|
|
36
51
|
return remap$(v, {
|
|
37
52
|
"filter[project]": "filterProject",
|
|
38
53
|
"filter[scope]": "filterScope",
|
|
39
54
|
"filter[tags]": "filterTags",
|
|
55
|
+
"stats[total]": "statsTotal",
|
|
56
|
+
"page[number]": "pageNumber",
|
|
57
|
+
"page[size]": "pageSize",
|
|
40
58
|
});
|
|
41
59
|
});
|
|
42
60
|
/** @internal */
|
|
@@ -44,6 +62,9 @@ export type GetSshKeysRequest$Outbound = {
|
|
|
44
62
|
"filter[project]"?: string | undefined;
|
|
45
63
|
"filter[scope]"?: string | undefined;
|
|
46
64
|
"filter[tags]"?: string | undefined;
|
|
65
|
+
"stats[total]"?: string | undefined;
|
|
66
|
+
"page[number]"?: number | undefined;
|
|
67
|
+
"page[size]"?: number | undefined;
|
|
47
68
|
};
|
|
48
69
|
|
|
49
70
|
/** @internal */
|
|
@@ -55,11 +76,17 @@ export const GetSshKeysRequest$outboundSchema: z.ZodType<
|
|
|
55
76
|
filterProject: z.string().optional(),
|
|
56
77
|
filterScope: z.string().optional(),
|
|
57
78
|
filterTags: z.string().optional(),
|
|
79
|
+
statsTotal: z.string().optional(),
|
|
80
|
+
pageNumber: z.number().int().optional(),
|
|
81
|
+
pageSize: z.number().int().optional(),
|
|
58
82
|
}).transform((v) => {
|
|
59
83
|
return remap$(v, {
|
|
60
84
|
filterProject: "filter[project]",
|
|
61
85
|
filterScope: "filter[scope]",
|
|
62
86
|
filterTags: "filter[tags]",
|
|
87
|
+
statsTotal: "stats[total]",
|
|
88
|
+
pageNumber: "page[number]",
|
|
89
|
+
pageSize: "page[size]",
|
|
63
90
|
});
|
|
64
91
|
});
|
|
65
92
|
|
|
@@ -36,14 +36,14 @@ export type GetVpnSessionsRequest = {
|
|
|
36
36
|
filterLocation?: FilterLocation | undefined;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
export type
|
|
39
|
+
export type GetVpnSessionsMeta = {};
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* Success
|
|
43
43
|
*/
|
|
44
44
|
export type GetVpnSessionsResponse = {
|
|
45
45
|
data?: Array<models.VpnSessionDataWithPassword> | undefined;
|
|
46
|
-
meta?:
|
|
46
|
+
meta?: GetVpnSessionsMeta | undefined;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
/** @internal */
|
|
@@ -103,25 +103,35 @@ export function getVpnSessionsRequestFromJSON(
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/** @internal */
|
|
106
|
-
export const
|
|
107
|
-
|
|
106
|
+
export const GetVpnSessionsMeta$inboundSchema: z.ZodType<
|
|
107
|
+
GetVpnSessionsMeta,
|
|
108
|
+
z.ZodTypeDef,
|
|
109
|
+
unknown
|
|
110
|
+
> = z.object({});
|
|
108
111
|
/** @internal */
|
|
109
|
-
export type
|
|
112
|
+
export type GetVpnSessionsMeta$Outbound = {};
|
|
110
113
|
|
|
111
114
|
/** @internal */
|
|
112
|
-
export const
|
|
113
|
-
|
|
115
|
+
export const GetVpnSessionsMeta$outboundSchema: z.ZodType<
|
|
116
|
+
GetVpnSessionsMeta$Outbound,
|
|
117
|
+
z.ZodTypeDef,
|
|
118
|
+
GetVpnSessionsMeta
|
|
119
|
+
> = z.object({});
|
|
114
120
|
|
|
115
|
-
export function
|
|
116
|
-
|
|
121
|
+
export function getVpnSessionsMetaToJSON(
|
|
122
|
+
getVpnSessionsMeta: GetVpnSessionsMeta,
|
|
123
|
+
): string {
|
|
124
|
+
return JSON.stringify(
|
|
125
|
+
GetVpnSessionsMeta$outboundSchema.parse(getVpnSessionsMeta),
|
|
126
|
+
);
|
|
117
127
|
}
|
|
118
|
-
export function
|
|
128
|
+
export function getVpnSessionsMetaFromJSON(
|
|
119
129
|
jsonString: string,
|
|
120
|
-
): SafeParseResult<
|
|
130
|
+
): SafeParseResult<GetVpnSessionsMeta, SDKValidationError> {
|
|
121
131
|
return safeParse(
|
|
122
132
|
jsonString,
|
|
123
|
-
(x) =>
|
|
124
|
-
`Failed to parse '
|
|
133
|
+
(x) => GetVpnSessionsMeta$inboundSchema.parse(JSON.parse(x)),
|
|
134
|
+
`Failed to parse 'GetVpnSessionsMeta' from JSON`,
|
|
125
135
|
);
|
|
126
136
|
}
|
|
127
137
|
|
|
@@ -132,12 +142,12 @@ export const GetVpnSessionsResponse$inboundSchema: z.ZodType<
|
|
|
132
142
|
unknown
|
|
133
143
|
> = z.object({
|
|
134
144
|
data: z.array(models.VpnSessionDataWithPassword$inboundSchema).optional(),
|
|
135
|
-
meta: z.lazy(() =>
|
|
145
|
+
meta: z.lazy(() => GetVpnSessionsMeta$inboundSchema).optional(),
|
|
136
146
|
});
|
|
137
147
|
/** @internal */
|
|
138
148
|
export type GetVpnSessionsResponse$Outbound = {
|
|
139
149
|
data?: Array<models.VpnSessionDataWithPassword$Outbound> | undefined;
|
|
140
|
-
meta?:
|
|
150
|
+
meta?: GetVpnSessionsMeta$Outbound | undefined;
|
|
141
151
|
};
|
|
142
152
|
|
|
143
153
|
/** @internal */
|
|
@@ -147,7 +157,7 @@ export const GetVpnSessionsResponse$outboundSchema: z.ZodType<
|
|
|
147
157
|
GetVpnSessionsResponse
|
|
148
158
|
> = z.object({
|
|
149
159
|
data: z.array(models.VpnSessionDataWithPassword$outboundSchema).optional(),
|
|
150
|
-
meta: z.lazy(() =>
|
|
160
|
+
meta: z.lazy(() => GetVpnSessionsMeta$outboundSchema).optional(),
|
|
151
161
|
});
|
|
152
162
|
|
|
153
163
|
export function getVpnSessionsResponseToJSON(
|
|
@@ -13,6 +13,7 @@ export * from "./createserveroutofband.js";
|
|
|
13
13
|
export * from "./createserverreinstall.js";
|
|
14
14
|
export * from "./createtag.js";
|
|
15
15
|
export * from "./createvirtualmachineaction.js";
|
|
16
|
+
export * from "./createvirtualmachinenetworkattachment.js";
|
|
16
17
|
export * from "./createvirtualnetwork.js";
|
|
17
18
|
export * from "./deleteapikey.js";
|
|
18
19
|
export * from "./deleteelasticip.js";
|
|
@@ -33,6 +34,7 @@ export * from "./destroyserver.js";
|
|
|
33
34
|
export * from "./destroytag.js";
|
|
34
35
|
export * from "./destroyteammember.js";
|
|
35
36
|
export * from "./destroyvirtualmachine.js";
|
|
37
|
+
export * from "./destroyvirtualmachinenetworkattachment.js";
|
|
36
38
|
export * from "./destroyvirtualnetwork.js";
|
|
37
39
|
export * from "./getallfirewallassignments.js";
|
|
38
40
|
export * from "./getbandwidthplans.js";
|
|
@@ -83,6 +85,7 @@ export * from "./indexvirtualmachine.js";
|
|
|
83
85
|
export * from "./listelasticips.js";
|
|
84
86
|
export * from "./listfirewalls.js";
|
|
85
87
|
export * from "./listkubernetesclusters.js";
|
|
88
|
+
export * from "./listvirtualmachinenetworkattachments.js";
|
|
86
89
|
export * from "./patchcurrentteam.js";
|
|
87
90
|
export * from "./patchstoragefilesystems.js";
|
|
88
91
|
export * from "./patchuserdata.js";
|
|
@@ -111,6 +114,7 @@ export * from "./serverstartrescuemode.js";
|
|
|
111
114
|
export * from "./serverunlock.js";
|
|
112
115
|
export * from "./serverunscheduledeletion.js";
|
|
113
116
|
export * from "./showvirtualmachine.js";
|
|
117
|
+
export * from "./showvirtualmachinemetrics.js";
|
|
114
118
|
export * from "./updateapikey.js";
|
|
115
119
|
export * from "./updateelasticip.js";
|
|
116
120
|
export * from "./updatefirewall.js";
|
|
@@ -14,7 +14,11 @@ export type IndexVirtualMachineRequest = {
|
|
|
14
14
|
*/
|
|
15
15
|
filterProject?: string | undefined;
|
|
16
16
|
/**
|
|
17
|
-
* The
|
|
17
|
+
* The tag IDs to filter by, separated by comma, e.g. `filter[tags]=tag_1,tag_2` will return VMs with `tag_1` AND `tag_2`.
|
|
18
|
+
*/
|
|
19
|
+
filterTags?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Comma-separated extra attributes that are lazy-loaded. Supported values: `credentials`, `pending_restart`. Example: `extra_fields[virtual_machines]=credentials,pending_restart`.
|
|
18
22
|
*/
|
|
19
23
|
extraFieldsVirtualMachines?: string | undefined;
|
|
20
24
|
};
|
|
@@ -26,16 +30,19 @@ export const IndexVirtualMachineRequest$inboundSchema: z.ZodType<
|
|
|
26
30
|
unknown
|
|
27
31
|
> = z.object({
|
|
28
32
|
"filter[project]": z.string().optional(),
|
|
33
|
+
"filter[tags]": z.string().optional(),
|
|
29
34
|
"extra_fields[virtual_machines]": z.string().optional(),
|
|
30
35
|
}).transform((v) => {
|
|
31
36
|
return remap$(v, {
|
|
32
37
|
"filter[project]": "filterProject",
|
|
38
|
+
"filter[tags]": "filterTags",
|
|
33
39
|
"extra_fields[virtual_machines]": "extraFieldsVirtualMachines",
|
|
34
40
|
});
|
|
35
41
|
});
|
|
36
42
|
/** @internal */
|
|
37
43
|
export type IndexVirtualMachineRequest$Outbound = {
|
|
38
44
|
"filter[project]"?: string | undefined;
|
|
45
|
+
"filter[tags]"?: string | undefined;
|
|
39
46
|
"extra_fields[virtual_machines]"?: string | undefined;
|
|
40
47
|
};
|
|
41
48
|
|
|
@@ -46,10 +53,12 @@ export const IndexVirtualMachineRequest$outboundSchema: z.ZodType<
|
|
|
46
53
|
IndexVirtualMachineRequest
|
|
47
54
|
> = z.object({
|
|
48
55
|
filterProject: z.string().optional(),
|
|
56
|
+
filterTags: z.string().optional(),
|
|
49
57
|
extraFieldsVirtualMachines: z.string().optional(),
|
|
50
58
|
}).transform((v) => {
|
|
51
59
|
return remap$(v, {
|
|
52
60
|
filterProject: "filter[project]",
|
|
61
|
+
filterTags: "filter[tags]",
|
|
53
62
|
extraFieldsVirtualMachines: "extra_fields[virtual_machines]",
|
|
54
63
|
});
|
|
55
64
|
});
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type ListVirtualMachineNetworkAttachmentsRequest = {
|
|
12
|
+
virtualMachineId: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const ListVirtualMachineNetworkAttachmentsRequest$inboundSchema:
|
|
17
|
+
z.ZodType<
|
|
18
|
+
ListVirtualMachineNetworkAttachmentsRequest,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
virtual_machine_id: z.string(),
|
|
23
|
+
}).transform((v) => {
|
|
24
|
+
return remap$(v, {
|
|
25
|
+
"virtual_machine_id": "virtualMachineId",
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type ListVirtualMachineNetworkAttachmentsRequest$Outbound = {
|
|
30
|
+
virtual_machine_id: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const ListVirtualMachineNetworkAttachmentsRequest$outboundSchema:
|
|
35
|
+
z.ZodType<
|
|
36
|
+
ListVirtualMachineNetworkAttachmentsRequest$Outbound,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
ListVirtualMachineNetworkAttachmentsRequest
|
|
39
|
+
> = z.object({
|
|
40
|
+
virtualMachineId: z.string(),
|
|
41
|
+
}).transform((v) => {
|
|
42
|
+
return remap$(v, {
|
|
43
|
+
virtualMachineId: "virtual_machine_id",
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export function listVirtualMachineNetworkAttachmentsRequestToJSON(
|
|
48
|
+
listVirtualMachineNetworkAttachmentsRequest:
|
|
49
|
+
ListVirtualMachineNetworkAttachmentsRequest,
|
|
50
|
+
): string {
|
|
51
|
+
return JSON.stringify(
|
|
52
|
+
ListVirtualMachineNetworkAttachmentsRequest$outboundSchema.parse(
|
|
53
|
+
listVirtualMachineNetworkAttachmentsRequest,
|
|
54
|
+
),
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
export function listVirtualMachineNetworkAttachmentsRequestFromJSON(
|
|
58
|
+
jsonString: string,
|
|
59
|
+
): SafeParseResult<
|
|
60
|
+
ListVirtualMachineNetworkAttachmentsRequest,
|
|
61
|
+
SDKValidationError
|
|
62
|
+
> {
|
|
63
|
+
return safeParse(
|
|
64
|
+
jsonString,
|
|
65
|
+
(x) =>
|
|
66
|
+
ListVirtualMachineNetworkAttachmentsRequest$inboundSchema.parse(
|
|
67
|
+
JSON.parse(x),
|
|
68
|
+
),
|
|
69
|
+
`Failed to parse 'ListVirtualMachineNetworkAttachmentsRequest' from JSON`,
|
|
70
|
+
);
|
|
71
|
+
}
|
|
@@ -16,19 +16,19 @@ export const PostStorageBucketsType = {
|
|
|
16
16
|
export type PostStorageBucketsType = ClosedEnum<typeof PostStorageBucketsType>;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Backend storage tier. `standard` is the default S3-compatible tier. `high_performance` is a lower-latency, higher-throughput tier available in select regions only.
|
|
20
20
|
*/
|
|
21
21
|
export const StorageClass = {
|
|
22
22
|
Standard: "standard",
|
|
23
23
|
HighPerformance: "high_performance",
|
|
24
24
|
} as const;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Backend storage tier. `standard` is the default S3-compatible tier. `high_performance` is a lower-latency, higher-throughput tier available in select regions only.
|
|
27
27
|
*/
|
|
28
28
|
export type StorageClass = ClosedEnum<typeof StorageClass>;
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Object
|
|
31
|
+
* Object Lock retention mode applied to new objects. `GOVERNANCE` allows privileged users to override the retention; `COMPLIANCE` cannot be overridden by anyone. Only applies when `locking` is `true`.
|
|
32
32
|
*/
|
|
33
33
|
export const RetentionMode = {
|
|
34
34
|
None: "NONE",
|
|
@@ -36,7 +36,7 @@ export const RetentionMode = {
|
|
|
36
36
|
Governance: "GOVERNANCE",
|
|
37
37
|
} as const;
|
|
38
38
|
/**
|
|
39
|
-
* Object
|
|
39
|
+
* Object Lock retention mode applied to new objects. `GOVERNANCE` allows privileged users to override the retention; `COMPLIANCE` cannot be overridden by anyone. Only applies when `locking` is `true`.
|
|
40
40
|
*/
|
|
41
41
|
export type RetentionMode = ClosedEnum<typeof RetentionMode>;
|
|
42
42
|
|
|
@@ -62,23 +62,23 @@ export type PostStorageBucketsAttributes = {
|
|
|
62
62
|
*/
|
|
63
63
|
customer?: string | undefined;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* Backend storage tier. `standard` is the default S3-compatible tier. `high_performance` is a lower-latency, higher-throughput tier available in select regions only.
|
|
66
66
|
*/
|
|
67
67
|
storageClass?: StorageClass | undefined;
|
|
68
68
|
/**
|
|
69
|
-
* Enable
|
|
69
|
+
* Enable S3 object versioning. Once enabled, versioning cannot be disabled.
|
|
70
70
|
*/
|
|
71
71
|
versioning?: boolean | undefined;
|
|
72
72
|
/**
|
|
73
|
-
* Enable
|
|
73
|
+
* Enable S3 Object Lock (WORM). Must be enabled at bucket creation; cannot be added to an existing bucket. When `locking` is `true`, `versioning` is automatically enabled.
|
|
74
74
|
*/
|
|
75
75
|
locking?: boolean | undefined;
|
|
76
76
|
/**
|
|
77
|
-
* Object
|
|
77
|
+
* Object Lock retention mode applied to new objects. `GOVERNANCE` allows privileged users to override the retention; `COMPLIANCE` cannot be overridden by anyone. Only applies when `locking` is `true`.
|
|
78
78
|
*/
|
|
79
79
|
retentionMode?: RetentionMode | undefined;
|
|
80
80
|
/**
|
|
81
|
-
* Default retention period in days when
|
|
81
|
+
* Default retention period, in days, applied to new objects when Object Lock is enabled. Only applies when `locking` is `true`.
|
|
82
82
|
*/
|
|
83
83
|
retentionPeriod?: number | null | undefined;
|
|
84
84
|
};
|
|
@@ -18,7 +18,7 @@ export type PostStorageVolumesMountType = ClosedEnum<
|
|
|
18
18
|
|
|
19
19
|
export type PostStorageVolumesMountAttributes = {
|
|
20
20
|
/**
|
|
21
|
-
* NVMe Qualified Name (NQN) of the client/server that will access the volume
|
|
21
|
+
* NVMe Qualified Name (NQN) of the client/server that will access the volume. Format: nqn.YYYY-MM.domain:identifier (e.g., "nqn.2024-01.com.example:server01"). This uniquely identifies the NVMe client and must be configured on the client server.
|
|
22
22
|
*/
|
|
23
23
|
nqn: string;
|
|
24
24
|
};
|
|
@@ -34,7 +34,7 @@ export type PostStorageVolumesMountRequestBody = {
|
|
|
34
34
|
|
|
35
35
|
export type PostStorageVolumesMountRequest = {
|
|
36
36
|
/**
|
|
37
|
-
* Volume
|
|
37
|
+
* Volume ID
|
|
38
38
|
*/
|
|
39
39
|
id: string;
|
|
40
40
|
requestBody: PostStorageVolumesMountRequestBody;
|
|
@@ -0,0 +1,108 @@
|
|
|
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 Metric = {
|
|
13
|
+
Cpu: "cpu",
|
|
14
|
+
Memory: "memory",
|
|
15
|
+
Network: "network",
|
|
16
|
+
Disk: "disk",
|
|
17
|
+
} as const;
|
|
18
|
+
export type Metric = ClosedEnum<typeof Metric>;
|
|
19
|
+
|
|
20
|
+
export const Range = {
|
|
21
|
+
Fivem: "5m",
|
|
22
|
+
Fifteenm: "15m",
|
|
23
|
+
Oneh: "1h",
|
|
24
|
+
TwentyFourh: "24h",
|
|
25
|
+
} as const;
|
|
26
|
+
export type Range = ClosedEnum<typeof Range>;
|
|
27
|
+
|
|
28
|
+
export type ShowVirtualMachineMetricsRequest = {
|
|
29
|
+
virtualMachineId: string;
|
|
30
|
+
metric: Metric;
|
|
31
|
+
range?: Range | undefined;
|
|
32
|
+
forceRefresh?: boolean | undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const Metric$inboundSchema: z.ZodNativeEnum<typeof Metric> = z
|
|
37
|
+
.nativeEnum(Metric);
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const Metric$outboundSchema: z.ZodNativeEnum<typeof Metric> =
|
|
40
|
+
Metric$inboundSchema;
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const Range$inboundSchema: z.ZodNativeEnum<typeof Range> = z.nativeEnum(
|
|
44
|
+
Range,
|
|
45
|
+
);
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const Range$outboundSchema: z.ZodNativeEnum<typeof Range> =
|
|
48
|
+
Range$inboundSchema;
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const ShowVirtualMachineMetricsRequest$inboundSchema: z.ZodType<
|
|
52
|
+
ShowVirtualMachineMetricsRequest,
|
|
53
|
+
z.ZodTypeDef,
|
|
54
|
+
unknown
|
|
55
|
+
> = z.object({
|
|
56
|
+
virtual_machine_id: z.string(),
|
|
57
|
+
metric: Metric$inboundSchema,
|
|
58
|
+
range: Range$inboundSchema.optional(),
|
|
59
|
+
force_refresh: z.boolean().optional(),
|
|
60
|
+
}).transform((v) => {
|
|
61
|
+
return remap$(v, {
|
|
62
|
+
"virtual_machine_id": "virtualMachineId",
|
|
63
|
+
"force_refresh": "forceRefresh",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
/** @internal */
|
|
67
|
+
export type ShowVirtualMachineMetricsRequest$Outbound = {
|
|
68
|
+
virtual_machine_id: string;
|
|
69
|
+
metric: string;
|
|
70
|
+
range?: string | undefined;
|
|
71
|
+
force_refresh?: boolean | undefined;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/** @internal */
|
|
75
|
+
export const ShowVirtualMachineMetricsRequest$outboundSchema: z.ZodType<
|
|
76
|
+
ShowVirtualMachineMetricsRequest$Outbound,
|
|
77
|
+
z.ZodTypeDef,
|
|
78
|
+
ShowVirtualMachineMetricsRequest
|
|
79
|
+
> = z.object({
|
|
80
|
+
virtualMachineId: z.string(),
|
|
81
|
+
metric: Metric$outboundSchema,
|
|
82
|
+
range: Range$outboundSchema.optional(),
|
|
83
|
+
forceRefresh: z.boolean().optional(),
|
|
84
|
+
}).transform((v) => {
|
|
85
|
+
return remap$(v, {
|
|
86
|
+
virtualMachineId: "virtual_machine_id",
|
|
87
|
+
forceRefresh: "force_refresh",
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
export function showVirtualMachineMetricsRequestToJSON(
|
|
92
|
+
showVirtualMachineMetricsRequest: ShowVirtualMachineMetricsRequest,
|
|
93
|
+
): string {
|
|
94
|
+
return JSON.stringify(
|
|
95
|
+
ShowVirtualMachineMetricsRequest$outboundSchema.parse(
|
|
96
|
+
showVirtualMachineMetricsRequest,
|
|
97
|
+
),
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
export function showVirtualMachineMetricsRequestFromJSON(
|
|
101
|
+
jsonString: string,
|
|
102
|
+
): SafeParseResult<ShowVirtualMachineMetricsRequest, SDKValidationError> {
|
|
103
|
+
return safeParse(
|
|
104
|
+
jsonString,
|
|
105
|
+
(x) => ShowVirtualMachineMetricsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
106
|
+
`Failed to parse 'ShowVirtualMachineMetricsRequest' from JSON`,
|
|
107
|
+
);
|
|
108
|
+
}
|