latitudesh-typescript-sdk 0.4.1 → 0.6.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 +1425 -362
- package/bin/mcp-server.js.map +95 -79
- 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/elasticIpsListElasticIps.d.ts.map +1 -1
- package/dist/commonjs/funcs/elasticIpsListElasticIps.js +1 -2
- package/dist/commonjs/funcs/elasticIpsListElasticIps.js.map +1 -1
- package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsList.js +1 -2
- package/dist/commonjs/funcs/eventsList.js.map +1 -1
- package/dist/commonjs/funcs/filesystemStorageDeleteFilesystem.d.ts +1 -1
- package/dist/commonjs/funcs/filesystemStorageDeleteFilesystem.js +1 -1
- package/dist/commonjs/funcs/firewallsGetAllFirewallAssignments.d.ts.map +1 -1
- package/dist/commonjs/funcs/firewallsGetAllFirewallAssignments.js +1 -2
- package/dist/commonjs/funcs/firewallsGetAllFirewallAssignments.js.map +1 -1
- package/dist/commonjs/funcs/firewallsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/firewallsList.js +1 -2
- package/dist/commonjs/funcs/firewallsList.js.map +1 -1
- package/dist/commonjs/funcs/firewallsListAssignments.d.ts.map +1 -1
- package/dist/commonjs/funcs/firewallsListAssignments.js +1 -2
- package/dist/commonjs/funcs/firewallsListAssignments.js.map +1 -1
- package/dist/commonjs/funcs/ipAddressesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/ipAddressesList.js +1 -2
- package/dist/commonjs/funcs/ipAddressesList.js.map +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/operatingSystemsListPlans.d.ts.map +1 -1
- package/dist/commonjs/funcs/operatingSystemsListPlans.js +1 -2
- package/dist/commonjs/funcs/operatingSystemsListPlans.js.map +1 -1
- package/dist/commonjs/funcs/plansGetBandwidth.d.ts.map +1 -1
- package/dist/commonjs/funcs/plansGetBandwidth.js +1 -2
- package/dist/commonjs/funcs/plansGetBandwidth.js.map +1 -1
- package/dist/commonjs/funcs/privateNetworksList.d.ts.map +1 -1
- package/dist/commonjs/funcs/privateNetworksList.js +1 -2
- package/dist/commonjs/funcs/privateNetworksList.js.map +1 -1
- package/dist/commonjs/funcs/privateNetworksListAssignments.d.ts.map +1 -1
- package/dist/commonjs/funcs/privateNetworksListAssignments.js +1 -2
- package/dist/commonjs/funcs/privateNetworksListAssignments.js.map +1 -1
- package/dist/commonjs/funcs/projectsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/projectsList.js +1 -2
- package/dist/commonjs/funcs/projectsList.js.map +1 -1
- package/dist/commonjs/funcs/regionsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/regionsGet.js +1 -2
- package/dist/commonjs/funcs/regionsGet.js.map +1 -1
- package/dist/commonjs/funcs/rolesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/rolesList.js +1 -2
- package/dist/commonjs/funcs/rolesList.js.map +1 -1
- package/dist/commonjs/funcs/serversList.d.ts.map +1 -1
- package/dist/commonjs/funcs/serversList.js +4 -3
- package/dist/commonjs/funcs/serversList.js.map +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/teamsMembersGetTeamMembers.d.ts.map +1 -1
- package/dist/commonjs/funcs/teamsMembersGetTeamMembers.js +1 -2
- package/dist/commonjs/funcs/teamsMembersGetTeamMembers.js.map +1 -1
- package/dist/commonjs/funcs/userDataList.d.ts +4 -2
- package/dist/commonjs/funcs/userDataList.d.ts.map +1 -1
- package/dist/commonjs/funcs/userDataList.js +44 -8
- package/dist/commonjs/funcs/userDataList.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/encodings.js +12 -12
- package/dist/commonjs/lib/encodings.js.map +1 -1
- package/dist/commonjs/lib/env.d.ts.map +1 -1
- package/dist/commonjs/lib/env.js +3 -3
- package/dist/commonjs/lib/env.js.map +1 -1
- package/dist/commonjs/lib/matchers.js +3 -3
- package/dist/commonjs/lib/matchers.js.map +1 -1
- package/dist/commonjs/lib/primitives.d.ts +1 -0
- package/dist/commonjs/lib/primitives.d.ts.map +1 -1
- package/dist/commonjs/lib/primitives.js +18 -0
- package/dist/commonjs/lib/primitives.js.map +1 -1
- package/dist/commonjs/lib/retries.js +7 -0
- package/dist/commonjs/lib/retries.js.map +1 -1
- package/dist/commonjs/lib/sdks.d.ts.map +1 -1
- package/dist/commonjs/lib/sdks.js +50 -16
- 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/userDataList.js +1 -1
- package/dist/commonjs/mcp-server/tools/userDataList.js.map +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 +6 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +6 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/ipaddress.d.ts +11 -129
- package/dist/commonjs/models/ipaddress.d.ts.map +1 -1
- package/dist/commonjs/models/ipaddress.js +14 -146
- package/dist/commonjs/models/ipaddress.js.map +1 -1
- package/dist/commonjs/models/ipaddressdata.d.ts +185 -0
- package/dist/commonjs/models/ipaddressdata.d.ts.map +1 -0
- package/dist/commonjs/models/ipaddressdata.js +247 -0
- package/dist/commonjs/models/ipaddressdata.js.map +1 -0
- package/dist/commonjs/models/ipaddresses.d.ts +14 -3
- package/dist/commonjs/models/ipaddresses.d.ts.map +1 -1
- package/dist/commonjs/models/ipaddresses.js +18 -4
- package/dist/commonjs/models/ipaddresses.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/getevents.d.ts +2 -18
- package/dist/commonjs/models/operations/getevents.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getevents.js +3 -19
- package/dist/commonjs/models/operations/getevents.js.map +1 -1
- 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/getservers.d.ts +13 -8
- package/dist/commonjs/models/operations/getservers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getservers.js +12 -4
- package/dist/commonjs/models/operations/getservers.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/getusersdata.d.ts +29 -0
- package/dist/commonjs/models/operations/getusersdata.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getusersdata.js +38 -1
- package/dist/commonjs/models/operations/getusersdata.js.map +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/patchcurrentteam.d.ts +2 -13
- package/dist/commonjs/models/operations/patchcurrentteam.d.ts.map +1 -1
- package/dist/commonjs/models/operations/patchcurrentteam.js +5 -15
- package/dist/commonjs/models/operations/patchcurrentteam.js.map +1 -1
- 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/postteam.d.ts +7 -5
- package/dist/commonjs/models/operations/postteam.d.ts.map +1 -1
- package/dist/commonjs/models/operations/postteam.js +11 -6
- package/dist/commonjs/models/operations/postteam.js.map +1 -1
- 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/teammembers.d.ts +11 -4
- package/dist/commonjs/models/teammembers.d.ts.map +1 -1
- package/dist/commonjs/models/teammembers.js +15 -15
- package/dist/commonjs/models/teammembers.js.map +1 -1
- package/dist/commonjs/models/userdata.d.ts +3 -11
- package/dist/commonjs/models/userdata.d.ts.map +1 -1
- package/dist/commonjs/models/userdata.js +4 -15
- package/dist/commonjs/models/userdata.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 +59 -0
- package/dist/commonjs/models/virtualmachinenetworkattachmentresource.d.ts.map +1 -0
- package/dist/commonjs/models/virtualmachinenetworkattachmentresource.js +101 -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/userdata.d.ts +4 -1
- package/dist/commonjs/sdk/userdata.d.ts.map +1 -1
- package/dist/commonjs/sdk/userdata.js +2 -1
- package/dist/commonjs/sdk/userdata.js.map +1 -1
- 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/elasticIpsListElasticIps.d.ts.map +1 -1
- package/dist/esm/funcs/elasticIpsListElasticIps.js +1 -2
- package/dist/esm/funcs/elasticIpsListElasticIps.js.map +1 -1
- package/dist/esm/funcs/eventsList.d.ts.map +1 -1
- package/dist/esm/funcs/eventsList.js +1 -2
- package/dist/esm/funcs/eventsList.js.map +1 -1
- package/dist/esm/funcs/filesystemStorageDeleteFilesystem.d.ts +1 -1
- package/dist/esm/funcs/filesystemStorageDeleteFilesystem.js +1 -1
- package/dist/esm/funcs/firewallsGetAllFirewallAssignments.d.ts.map +1 -1
- package/dist/esm/funcs/firewallsGetAllFirewallAssignments.js +1 -2
- package/dist/esm/funcs/firewallsGetAllFirewallAssignments.js.map +1 -1
- package/dist/esm/funcs/firewallsList.d.ts.map +1 -1
- package/dist/esm/funcs/firewallsList.js +1 -2
- package/dist/esm/funcs/firewallsList.js.map +1 -1
- package/dist/esm/funcs/firewallsListAssignments.d.ts.map +1 -1
- package/dist/esm/funcs/firewallsListAssignments.js +1 -2
- package/dist/esm/funcs/firewallsListAssignments.js.map +1 -1
- package/dist/esm/funcs/ipAddressesList.d.ts.map +1 -1
- package/dist/esm/funcs/ipAddressesList.js +1 -2
- package/dist/esm/funcs/ipAddressesList.js.map +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/operatingSystemsListPlans.d.ts.map +1 -1
- package/dist/esm/funcs/operatingSystemsListPlans.js +1 -2
- package/dist/esm/funcs/operatingSystemsListPlans.js.map +1 -1
- package/dist/esm/funcs/plansGetBandwidth.d.ts.map +1 -1
- package/dist/esm/funcs/plansGetBandwidth.js +1 -2
- package/dist/esm/funcs/plansGetBandwidth.js.map +1 -1
- package/dist/esm/funcs/privateNetworksList.d.ts.map +1 -1
- package/dist/esm/funcs/privateNetworksList.js +1 -2
- package/dist/esm/funcs/privateNetworksList.js.map +1 -1
- package/dist/esm/funcs/privateNetworksListAssignments.d.ts.map +1 -1
- package/dist/esm/funcs/privateNetworksListAssignments.js +1 -2
- package/dist/esm/funcs/privateNetworksListAssignments.js.map +1 -1
- package/dist/esm/funcs/projectsList.d.ts.map +1 -1
- package/dist/esm/funcs/projectsList.js +1 -2
- package/dist/esm/funcs/projectsList.js.map +1 -1
- package/dist/esm/funcs/regionsGet.d.ts.map +1 -1
- package/dist/esm/funcs/regionsGet.js +1 -2
- package/dist/esm/funcs/regionsGet.js.map +1 -1
- package/dist/esm/funcs/rolesList.d.ts.map +1 -1
- package/dist/esm/funcs/rolesList.js +1 -2
- package/dist/esm/funcs/rolesList.js.map +1 -1
- package/dist/esm/funcs/serversList.d.ts.map +1 -1
- package/dist/esm/funcs/serversList.js +4 -3
- package/dist/esm/funcs/serversList.js.map +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/teamsMembersGetTeamMembers.d.ts.map +1 -1
- package/dist/esm/funcs/teamsMembersGetTeamMembers.js +1 -2
- package/dist/esm/funcs/teamsMembersGetTeamMembers.js.map +1 -1
- package/dist/esm/funcs/userDataList.d.ts +4 -2
- package/dist/esm/funcs/userDataList.d.ts.map +1 -1
- package/dist/esm/funcs/userDataList.js +44 -8
- package/dist/esm/funcs/userDataList.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/encodings.js +1 -1
- package/dist/esm/lib/encodings.js.map +1 -1
- package/dist/esm/lib/env.d.ts.map +1 -1
- package/dist/esm/lib/env.js +3 -3
- package/dist/esm/lib/env.js.map +1 -1
- package/dist/esm/lib/matchers.js +1 -1
- package/dist/esm/lib/matchers.js.map +1 -1
- package/dist/esm/lib/primitives.d.ts +1 -0
- package/dist/esm/lib/primitives.d.ts.map +1 -1
- package/dist/esm/lib/primitives.js +17 -0
- package/dist/esm/lib/primitives.js.map +1 -1
- package/dist/esm/lib/retries.js +7 -0
- package/dist/esm/lib/retries.js.map +1 -1
- package/dist/esm/lib/sdks.d.ts.map +1 -1
- package/dist/esm/lib/sdks.js +50 -16
- 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/userDataList.js +1 -1
- package/dist/esm/mcp-server/tools/userDataList.js.map +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 +6 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +6 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/ipaddress.d.ts +11 -129
- package/dist/esm/models/ipaddress.d.ts.map +1 -1
- package/dist/esm/models/ipaddress.js +11 -135
- package/dist/esm/models/ipaddress.js.map +1 -1
- package/dist/esm/models/ipaddressdata.d.ts +185 -0
- package/dist/esm/models/ipaddressdata.d.ts.map +1 -0
- package/dist/esm/models/ipaddressdata.js +197 -0
- package/dist/esm/models/ipaddressdata.js.map +1 -0
- package/dist/esm/models/ipaddresses.d.ts +14 -3
- package/dist/esm/models/ipaddresses.d.ts.map +1 -1
- package/dist/esm/models/ipaddresses.js +15 -3
- package/dist/esm/models/ipaddresses.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/getevents.d.ts +2 -18
- package/dist/esm/models/operations/getevents.d.ts.map +1 -1
- package/dist/esm/models/operations/getevents.js +2 -16
- package/dist/esm/models/operations/getevents.js.map +1 -1
- 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/getservers.d.ts +13 -8
- package/dist/esm/models/operations/getservers.d.ts.map +1 -1
- package/dist/esm/models/operations/getservers.js +12 -4
- package/dist/esm/models/operations/getservers.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/getusersdata.d.ts +29 -0
- package/dist/esm/models/operations/getusersdata.d.ts.map +1 -1
- package/dist/esm/models/operations/getusersdata.js +35 -0
- package/dist/esm/models/operations/getusersdata.js.map +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/patchcurrentteam.d.ts +2 -13
- package/dist/esm/models/operations/patchcurrentteam.d.ts.map +1 -1
- package/dist/esm/models/operations/patchcurrentteam.js +4 -14
- package/dist/esm/models/operations/patchcurrentteam.js.map +1 -1
- 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/postteam.d.ts +7 -5
- package/dist/esm/models/operations/postteam.d.ts.map +1 -1
- package/dist/esm/models/operations/postteam.js +10 -5
- package/dist/esm/models/operations/postteam.js.map +1 -1
- 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/teammembers.d.ts +11 -4
- package/dist/esm/models/teammembers.d.ts.map +1 -1
- package/dist/esm/models/teammembers.js +12 -14
- package/dist/esm/models/teammembers.js.map +1 -1
- package/dist/esm/models/userdata.d.ts +3 -11
- package/dist/esm/models/userdata.d.ts.map +1 -1
- package/dist/esm/models/userdata.js +3 -12
- package/dist/esm/models/userdata.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 +59 -0
- package/dist/esm/models/virtualmachinenetworkattachmentresource.d.ts.map +1 -0
- package/dist/esm/models/virtualmachinenetworkattachmentresource.js +61 -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/userdata.d.ts +4 -1
- package/dist/esm/sdk/userdata.d.ts.map +1 -1
- package/dist/esm/sdk/userdata.js +2 -1
- package/dist/esm/sdk/userdata.js.map +1 -1
- 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/elasticIpsListElasticIps.ts +1 -2
- package/src/funcs/eventsList.ts +1 -2
- package/src/funcs/filesystemStorageDeleteFilesystem.ts +1 -1
- package/src/funcs/firewallsGetAllFirewallAssignments.ts +1 -2
- package/src/funcs/firewallsList.ts +1 -2
- package/src/funcs/firewallsListAssignments.ts +1 -2
- package/src/funcs/ipAddressesList.ts +1 -2
- 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/operatingSystemsListPlans.ts +1 -2
- package/src/funcs/plansGetBandwidth.ts +1 -2
- package/src/funcs/privateNetworksList.ts +1 -2
- package/src/funcs/privateNetworksListAssignments.ts +1 -2
- package/src/funcs/projectsList.ts +1 -2
- package/src/funcs/regionsGet.ts +1 -2
- package/src/funcs/rolesList.ts +1 -2
- package/src/funcs/serversList.ts +4 -3
- package/src/funcs/sshKeysList.ts +3 -0
- package/src/funcs/sshKeysListAll.ts +3 -0
- package/src/funcs/teamsMembersGetTeamMembers.ts +1 -2
- package/src/funcs/userDataList.ts +104 -30
- 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/encodings.ts +1 -1
- package/src/lib/env.ts +7 -3
- package/src/lib/matchers.ts +1 -1
- package/src/lib/primitives.ts +16 -0
- package/src/lib/retries.ts +8 -0
- package/src/lib/sdks.ts +54 -17
- 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/userDataList.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 +6 -0
- package/src/models/ipaddress.ts +29 -325
- package/src/models/ipaddressdata.ts +475 -0
- package/src/models/ipaddresses.ts +46 -9
- 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/getevents.ts +4 -50
- package/src/models/operations/getplansoperatingsystem.ts +4 -53
- package/src/models/operations/getprojectsshkeys.ts +27 -0
- package/src/models/operations/getservers.ts +25 -12
- package/src/models/operations/getsshkeys.ts +27 -0
- package/src/models/operations/getstoragevolume.ts +1 -1
- package/src/models/operations/getusersdata.ts +79 -0
- 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/patchcurrentteam.ts +6 -27
- 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/postteam.ts +15 -11
- 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/teammembers.ts +37 -18
- package/src/models/userdata.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 +176 -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/userdata.ts +3 -2
- package/src/sdk/virtualmachines.ts +72 -0
- package/tests/integration/userdata.test.ts +9 -9
- package/dist/commonjs/lib/dlv.d.ts +0 -14
- package/dist/commonjs/lib/dlv.d.ts.map +0 -1
- package/dist/commonjs/lib/dlv.js +0 -49
- package/dist/commonjs/lib/dlv.js.map +0 -1
- package/dist/commonjs/lib/is-plain-object.d.ts +0 -2
- package/dist/commonjs/lib/is-plain-object.d.ts.map +0 -1
- package/dist/commonjs/lib/is-plain-object.js +0 -41
- package/dist/commonjs/lib/is-plain-object.js.map +0 -1
- package/dist/esm/lib/dlv.d.ts +0 -14
- package/dist/esm/lib/dlv.d.ts.map +0 -1
- package/dist/esm/lib/dlv.js +0 -46
- package/dist/esm/lib/dlv.js.map +0 -1
- package/dist/esm/lib/is-plain-object.d.ts +0 -2
- package/dist/esm/lib/is-plain-object.d.ts.map +0 -1
- package/dist/esm/lib/is-plain-object.js +0 -38
- package/dist/esm/lib/is-plain-object.js.map +0 -1
- package/src/lib/dlv.ts +0 -53
- package/src/lib/is-plain-object.ts +0 -43
package/bin/mcp-server.js
CHANGED
|
@@ -53149,20 +53149,103 @@ var init_config = __esm(() => {
|
|
|
53149
53149
|
SDK_METADATA = {
|
|
53150
53150
|
language: "typescript",
|
|
53151
53151
|
openapiDocVersion: "2023-06-01",
|
|
53152
|
-
sdkVersion: "0.
|
|
53153
|
-
genVersion: "2.
|
|
53154
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
53152
|
+
sdkVersion: "0.6.0",
|
|
53153
|
+
genVersion: "2.911.3",
|
|
53154
|
+
userAgent: "speakeasy-sdk/typescript 0.6.0 2.911.3 2023-06-01 latitudesh-typescript-sdk"
|
|
53155
53155
|
};
|
|
53156
53156
|
});
|
|
53157
53157
|
|
|
53158
|
-
// src/lib/
|
|
53158
|
+
// src/lib/primitives.ts
|
|
53159
|
+
function remap(inp, mappings) {
|
|
53160
|
+
let out = {};
|
|
53161
|
+
if (!Object.keys(mappings).length) {
|
|
53162
|
+
out = inp;
|
|
53163
|
+
return out;
|
|
53164
|
+
}
|
|
53165
|
+
for (const [k2, v2] of Object.entries(inp)) {
|
|
53166
|
+
const j2 = mappings[k2];
|
|
53167
|
+
if (j2 === null) {
|
|
53168
|
+
continue;
|
|
53169
|
+
}
|
|
53170
|
+
out[j2 ?? k2] = v2;
|
|
53171
|
+
}
|
|
53172
|
+
return out;
|
|
53173
|
+
}
|
|
53174
|
+
function combineSignals(...signals) {
|
|
53175
|
+
const filtered = [];
|
|
53176
|
+
for (const signal of signals) {
|
|
53177
|
+
if (signal) {
|
|
53178
|
+
filtered.push(signal);
|
|
53179
|
+
}
|
|
53180
|
+
}
|
|
53181
|
+
switch (filtered.length) {
|
|
53182
|
+
case 0:
|
|
53183
|
+
case 1:
|
|
53184
|
+
return filtered[0] || null;
|
|
53185
|
+
default:
|
|
53186
|
+
if ("any" in AbortSignal && typeof AbortSignal.any === "function") {
|
|
53187
|
+
return AbortSignal.any(filtered);
|
|
53188
|
+
}
|
|
53189
|
+
return abortSignalAny(filtered);
|
|
53190
|
+
}
|
|
53191
|
+
}
|
|
53192
|
+
function abortSignalAny(signals) {
|
|
53193
|
+
const controller = new AbortController;
|
|
53194
|
+
const result = controller.signal;
|
|
53195
|
+
if (!signals.length) {
|
|
53196
|
+
return controller.signal;
|
|
53197
|
+
}
|
|
53198
|
+
if (signals.length === 1) {
|
|
53199
|
+
return signals[0] || controller.signal;
|
|
53200
|
+
}
|
|
53201
|
+
for (const signal of signals) {
|
|
53202
|
+
if (signal.aborted) {
|
|
53203
|
+
return signal;
|
|
53204
|
+
}
|
|
53205
|
+
}
|
|
53206
|
+
function abort() {
|
|
53207
|
+
controller.abort(this.reason);
|
|
53208
|
+
clean();
|
|
53209
|
+
}
|
|
53210
|
+
const signalRefs = [];
|
|
53211
|
+
function clean() {
|
|
53212
|
+
for (const signalRef of signalRefs) {
|
|
53213
|
+
const signal = signalRef.deref();
|
|
53214
|
+
if (signal) {
|
|
53215
|
+
signal.removeEventListener("abort", abort);
|
|
53216
|
+
}
|
|
53217
|
+
}
|
|
53218
|
+
}
|
|
53219
|
+
for (const signal of signals) {
|
|
53220
|
+
signalRefs.push(new WeakRef(signal));
|
|
53221
|
+
signal.addEventListener("abort", abort);
|
|
53222
|
+
}
|
|
53223
|
+
return result;
|
|
53224
|
+
}
|
|
53225
|
+
function compactMap(values) {
|
|
53226
|
+
const out = {};
|
|
53227
|
+
for (const [k2, v2] of Object.entries(values)) {
|
|
53228
|
+
if (typeof v2 !== "undefined") {
|
|
53229
|
+
out[k2] = v2;
|
|
53230
|
+
}
|
|
53231
|
+
}
|
|
53232
|
+
return out;
|
|
53233
|
+
}
|
|
53159
53234
|
function isPlainObject3(value) {
|
|
53160
|
-
if (typeof value !== "object"
|
|
53235
|
+
if (value === null || typeof value !== "object")
|
|
53236
|
+
return false;
|
|
53237
|
+
if (Object.prototype.toString.call(value) !== "[object Object]")
|
|
53238
|
+
return false;
|
|
53239
|
+
const proto = Object.getPrototypeOf(value);
|
|
53240
|
+
if (proto === null || proto === Object.prototype)
|
|
53241
|
+
return true;
|
|
53242
|
+
try {
|
|
53243
|
+
return Object.getPrototypeOf(proto) === null;
|
|
53244
|
+
} catch {
|
|
53161
53245
|
return false;
|
|
53162
53246
|
}
|
|
53163
|
-
const prototype = Object.getPrototypeOf(value);
|
|
53164
|
-
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
|
|
53165
53247
|
}
|
|
53248
|
+
var init_primitives = () => {};
|
|
53166
53249
|
|
|
53167
53250
|
// src/lib/encodings.ts
|
|
53168
53251
|
function formEncoder(sep) {
|
|
@@ -53362,6 +53445,7 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
|
|
|
53362
53445
|
}, encodeJSONQuery, encodeFormQuery, encodeSpaceDelimitedQuery, encodePipeDelimitedQuery, encodeDeepObjectQuery;
|
|
53363
53446
|
var init_encodings = __esm(() => {
|
|
53364
53447
|
init_base64();
|
|
53448
|
+
init_primitives();
|
|
53365
53449
|
EncodingError = class EncodingError extends Error {
|
|
53366
53450
|
constructor(message) {
|
|
53367
53451
|
super(message);
|
|
@@ -53378,16 +53462,6 @@ var init_encodings = __esm(() => {
|
|
|
53378
53462
|
encodeDeepObjectQuery = queryEncoder(encodeDeepObject);
|
|
53379
53463
|
});
|
|
53380
53464
|
|
|
53381
|
-
// src/lib/dlv.ts
|
|
53382
|
-
function dlv(obj, key, def, p, undef) {
|
|
53383
|
-
key = Array.isArray(key) ? key : key.split(".");
|
|
53384
|
-
for (p = 0;p < key.length; p++) {
|
|
53385
|
-
const k2 = key[p];
|
|
53386
|
-
obj = k2 != null && obj ? obj[k2] : undef;
|
|
53387
|
-
}
|
|
53388
|
-
return obj === undef ? def : obj;
|
|
53389
|
-
}
|
|
53390
|
-
|
|
53391
53465
|
// src/lib/env.ts
|
|
53392
53466
|
function isDeno() {
|
|
53393
53467
|
if ("Deno" in globalThis) {
|
|
@@ -53399,11 +53473,12 @@ function env() {
|
|
|
53399
53473
|
if (envMemo) {
|
|
53400
53474
|
return envMemo;
|
|
53401
53475
|
}
|
|
53476
|
+
const globals = globalThis;
|
|
53402
53477
|
let envObject = {};
|
|
53403
53478
|
if (isDeno()) {
|
|
53404
|
-
envObject =
|
|
53479
|
+
envObject = globals.Deno?.env?.toObject?.() ?? {};
|
|
53405
53480
|
} else {
|
|
53406
|
-
envObject =
|
|
53481
|
+
envObject = globals.process?.env ?? {};
|
|
53407
53482
|
}
|
|
53408
53483
|
envMemo = envSchema.parse(envObject);
|
|
53409
53484
|
return envMemo;
|
|
@@ -53666,6 +53741,13 @@ async function retryBackoff(fn, strategy) {
|
|
|
53666
53741
|
}
|
|
53667
53742
|
}
|
|
53668
53743
|
function retryIntervalFromResponse(res) {
|
|
53744
|
+
const retryAfterMsVal = res.headers.get("retry-after-ms");
|
|
53745
|
+
if (retryAfterMsVal) {
|
|
53746
|
+
const parsedMs = Number(retryAfterMsVal);
|
|
53747
|
+
if (Number.isFinite(parsedMs) && parsedMs >= 0) {
|
|
53748
|
+
return parsedMs;
|
|
53749
|
+
}
|
|
53750
|
+
}
|
|
53669
53751
|
const retryVal = res.headers.get("retry-after") || "";
|
|
53670
53752
|
if (!retryVal) {
|
|
53671
53753
|
return 0;
|
|
@@ -53760,24 +53842,41 @@ class ClientSDK {
|
|
|
53760
53842
|
if (path) {
|
|
53761
53843
|
baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/";
|
|
53762
53844
|
reqURL = new URL(path, baseURL);
|
|
53845
|
+
if (!reqURL.search && baseURL.search) {
|
|
53846
|
+
reqURL.search = baseURL.search;
|
|
53847
|
+
}
|
|
53763
53848
|
} else {
|
|
53764
53849
|
reqURL = baseURL;
|
|
53765
53850
|
}
|
|
53766
53851
|
reqURL.hash = "";
|
|
53767
|
-
|
|
53768
|
-
|
|
53769
|
-
|
|
53770
|
-
const q2 = encodeForm(k2, v2, { charEncoding: "percent" });
|
|
53771
|
-
if (typeof q2 !== "undefined") {
|
|
53772
|
-
secQuery.push(q2);
|
|
53852
|
+
const mergeQuery = (current, additions) => {
|
|
53853
|
+
if (!additions) {
|
|
53854
|
+
return current;
|
|
53773
53855
|
}
|
|
53774
|
-
|
|
53775
|
-
|
|
53776
|
-
|
|
53777
|
-
|
|
53856
|
+
const additionKeys = new Set(additions.split("&").filter((pair) => pair !== "").map((pair) => pair.split("=")[0] ?? ""));
|
|
53857
|
+
const kept = current.split("&").filter((pair) => {
|
|
53858
|
+
return pair !== "" && !additionKeys.has(pair.split("=")[0] ?? "");
|
|
53859
|
+
});
|
|
53860
|
+
return [...kept, additions].join("&");
|
|
53861
|
+
};
|
|
53862
|
+
const encodeQueryRecord = (record3) => {
|
|
53863
|
+
return Object.entries(record3).map(([k2, v2]) => {
|
|
53864
|
+
if (v2 == null) {
|
|
53865
|
+
return;
|
|
53866
|
+
}
|
|
53867
|
+
const value = v2;
|
|
53868
|
+
return encodeForm(k2, value, {
|
|
53869
|
+
explode: Array.isArray(value),
|
|
53870
|
+
charEncoding: "percent"
|
|
53871
|
+
});
|
|
53872
|
+
}).filter((pair) => typeof pair !== "undefined").join("&");
|
|
53873
|
+
};
|
|
53874
|
+
const finalQuery = [
|
|
53875
|
+
query || "",
|
|
53876
|
+
encodeQueryRecord(security?.queryParams || {})
|
|
53877
|
+
].reduce(mergeQuery, reqURL.search.slice(1));
|
|
53778
53878
|
if (finalQuery) {
|
|
53779
|
-
|
|
53780
|
-
reqURL.search = `?${q2}`;
|
|
53879
|
+
reqURL.search = `?${finalQuery}`;
|
|
53781
53880
|
}
|
|
53782
53881
|
const headers = new Headers(opHeaders);
|
|
53783
53882
|
const username = security?.basic.username;
|
|
@@ -53807,9 +53906,8 @@ class ClientSDK {
|
|
|
53807
53906
|
...options?.fetchOptions,
|
|
53808
53907
|
...options
|
|
53809
53908
|
};
|
|
53810
|
-
if (!fetchOptions?.signal && conf.timeoutMs && conf.timeoutMs > 0) {
|
|
53811
|
-
|
|
53812
|
-
fetchOptions.signal = timeoutSignal;
|
|
53909
|
+
if (!fetchOptions?.signal && conf.timeoutMs != null && conf.timeoutMs > 0) {
|
|
53910
|
+
context.timeoutMs = conf.timeoutMs;
|
|
53813
53911
|
}
|
|
53814
53912
|
if (conf.body instanceof ReadableStream) {
|
|
53815
53913
|
Object.assign(fetchOptions, { duplex: "half" });
|
|
@@ -53834,8 +53932,16 @@ class ClientSDK {
|
|
|
53834
53932
|
}
|
|
53835
53933
|
async _do(request, options) {
|
|
53836
53934
|
const { context, isErrorStatusCode } = options;
|
|
53935
|
+
const timeoutMs = context.timeoutMs;
|
|
53837
53936
|
return retry(async () => {
|
|
53838
|
-
const
|
|
53937
|
+
const cloned = request.clone();
|
|
53938
|
+
let attempt = cloned;
|
|
53939
|
+
if (timeoutMs != null && timeoutMs > 0) {
|
|
53940
|
+
const timeoutSignal = AbortSignal.timeout(timeoutMs);
|
|
53941
|
+
const combined = combineSignals(cloned.signal, timeoutSignal) ?? timeoutSignal;
|
|
53942
|
+
attempt = new Request(cloned, { signal: combined });
|
|
53943
|
+
}
|
|
53944
|
+
const req = await this.#hooks.beforeRequest(context, attempt);
|
|
53839
53945
|
await logRequest(this.#logger, req).catch((e) => this.#logger?.log("Failed to log request:", e));
|
|
53840
53946
|
let response = await this.#httpClient.request(req);
|
|
53841
53947
|
try {
|
|
@@ -53954,6 +54060,7 @@ var init_sdks = __esm(() => {
|
|
|
53954
54060
|
init_encodings();
|
|
53955
54061
|
init_env();
|
|
53956
54062
|
init_http();
|
|
54063
|
+
init_primitives();
|
|
53957
54064
|
init_retries();
|
|
53958
54065
|
gt = typeof globalThis === "undefined" ? null : globalThis;
|
|
53959
54066
|
webWorkerLike = typeof gt === "object" && gt != null && "importScripts" in gt && typeof gt["importScripts"] === "function";
|
|
@@ -54459,6 +54566,7 @@ var init_matchers = __esm(() => {
|
|
|
54459
54566
|
init_latitudeshdefaulterror();
|
|
54460
54567
|
init_responsevalidationerror();
|
|
54461
54568
|
init_http();
|
|
54569
|
+
init_primitives();
|
|
54462
54570
|
DEFAULT_CONTENT_TYPES = {
|
|
54463
54571
|
jsonl: "application/jsonl",
|
|
54464
54572
|
json: "application/json",
|
|
@@ -54472,33 +54580,6 @@ var init_matchers = __esm(() => {
|
|
|
54472
54580
|
headerValRE = /, */;
|
|
54473
54581
|
});
|
|
54474
54582
|
|
|
54475
|
-
// src/lib/primitives.ts
|
|
54476
|
-
function remap(inp, mappings) {
|
|
54477
|
-
let out = {};
|
|
54478
|
-
if (!Object.keys(mappings).length) {
|
|
54479
|
-
out = inp;
|
|
54480
|
-
return out;
|
|
54481
|
-
}
|
|
54482
|
-
for (const [k2, v2] of Object.entries(inp)) {
|
|
54483
|
-
const j2 = mappings[k2];
|
|
54484
|
-
if (j2 === null) {
|
|
54485
|
-
continue;
|
|
54486
|
-
}
|
|
54487
|
-
out[j2 ?? k2] = v2;
|
|
54488
|
-
}
|
|
54489
|
-
return out;
|
|
54490
|
-
}
|
|
54491
|
-
function compactMap(values) {
|
|
54492
|
-
const out = {};
|
|
54493
|
-
for (const [k2, v2] of Object.entries(values)) {
|
|
54494
|
-
if (typeof v2 !== "undefined") {
|
|
54495
|
-
out[k2] = v2;
|
|
54496
|
-
}
|
|
54497
|
-
}
|
|
54498
|
-
return out;
|
|
54499
|
-
}
|
|
54500
|
-
var init_primitives = () => {};
|
|
54501
|
-
|
|
54502
54583
|
// src/lib/schemas.ts
|
|
54503
54584
|
function safeParse4(rawValue, fn, errorMessage) {
|
|
54504
54585
|
try {
|
|
@@ -55295,10 +55376,53 @@ var init_customtags = __esm(() => {
|
|
|
55295
55376
|
});
|
|
55296
55377
|
|
|
55297
55378
|
// src/models/deployconfig.ts
|
|
55298
|
-
var Partition$inboundSchema, Partition$outboundSchema, DeployConfigAttributes$inboundSchema, DeployConfigAttributes$outboundSchema, DeployConfigData$inboundSchema, DeployConfigData$outboundSchema, DeployConfig$inboundSchema, DeployConfig$outboundSchema;
|
|
55379
|
+
var DeployConfigRole, RaidLevel, Filesystem, DeployConfigRole$inboundSchema, DeployConfigRole$outboundSchema, RaidLevel$inboundSchema, RaidLevel$outboundSchema, Filesystem$inboundSchema, Filesystem$outboundSchema, DiskLayout$inboundSchema, DiskLayout$outboundSchema, Partition$inboundSchema, Partition$outboundSchema, DeployConfigAttributes$inboundSchema, DeployConfigAttributes$outboundSchema, DeployConfigData$inboundSchema, DeployConfigData$outboundSchema, DeployConfig$inboundSchema, DeployConfig$outboundSchema;
|
|
55299
55380
|
var init_deployconfig = __esm(() => {
|
|
55300
55381
|
init_v3();
|
|
55301
55382
|
init_primitives();
|
|
55383
|
+
DeployConfigRole = {
|
|
55384
|
+
Os: "os",
|
|
55385
|
+
Storage: "storage",
|
|
55386
|
+
Raw: "raw"
|
|
55387
|
+
};
|
|
55388
|
+
RaidLevel = {
|
|
55389
|
+
Raid0: "raid-0",
|
|
55390
|
+
Raid1: "raid-1"
|
|
55391
|
+
};
|
|
55392
|
+
Filesystem = {
|
|
55393
|
+
Ext4: "ext4",
|
|
55394
|
+
Xfs: "xfs"
|
|
55395
|
+
};
|
|
55396
|
+
DeployConfigRole$inboundSchema = nativeEnumType(DeployConfigRole);
|
|
55397
|
+
DeployConfigRole$outboundSchema = DeployConfigRole$inboundSchema;
|
|
55398
|
+
RaidLevel$inboundSchema = nativeEnumType(RaidLevel);
|
|
55399
|
+
RaidLevel$outboundSchema = RaidLevel$inboundSchema;
|
|
55400
|
+
Filesystem$inboundSchema = nativeEnumType(Filesystem);
|
|
55401
|
+
Filesystem$outboundSchema = Filesystem$inboundSchema;
|
|
55402
|
+
DiskLayout$inboundSchema = objectType({
|
|
55403
|
+
count: numberType().int(),
|
|
55404
|
+
role: DeployConfigRole$inboundSchema,
|
|
55405
|
+
raid_level: nullableType(RaidLevel$inboundSchema).optional(),
|
|
55406
|
+
filesystem: nullableType(Filesystem$inboundSchema).optional(),
|
|
55407
|
+
mount_point: nullableType(stringType()).optional()
|
|
55408
|
+
}).transform((v2) => {
|
|
55409
|
+
return remap(v2, {
|
|
55410
|
+
raid_level: "raidLevel",
|
|
55411
|
+
mount_point: "mountPoint"
|
|
55412
|
+
});
|
|
55413
|
+
});
|
|
55414
|
+
DiskLayout$outboundSchema = objectType({
|
|
55415
|
+
count: numberType().int(),
|
|
55416
|
+
role: DeployConfigRole$outboundSchema,
|
|
55417
|
+
raidLevel: nullableType(RaidLevel$outboundSchema).optional(),
|
|
55418
|
+
filesystem: nullableType(Filesystem$outboundSchema).optional(),
|
|
55419
|
+
mountPoint: nullableType(stringType()).optional()
|
|
55420
|
+
}).transform((v2) => {
|
|
55421
|
+
return remap(v2, {
|
|
55422
|
+
raidLevel: "raid_level",
|
|
55423
|
+
mountPoint: "mount_point"
|
|
55424
|
+
});
|
|
55425
|
+
});
|
|
55302
55426
|
Partition$inboundSchema = objectType({
|
|
55303
55427
|
path: stringType().optional(),
|
|
55304
55428
|
size_in_gb: numberType().int().optional(),
|
|
@@ -55323,12 +55447,14 @@ var init_deployconfig = __esm(() => {
|
|
|
55323
55447
|
operating_system: stringType().optional(),
|
|
55324
55448
|
hostname: stringType().optional(),
|
|
55325
55449
|
raid: stringType().optional(),
|
|
55450
|
+
disk_layout: nullableType(arrayType(lazyType(() => DiskLayout$inboundSchema))).optional(),
|
|
55326
55451
|
user_data: stringType().optional(),
|
|
55327
55452
|
ssh_keys: arrayType(stringType()).optional(),
|
|
55328
55453
|
partitions: nullableType(arrayType(lazyType(() => Partition$inboundSchema))).optional()
|
|
55329
55454
|
}).transform((v2) => {
|
|
55330
55455
|
return remap(v2, {
|
|
55331
55456
|
operating_system: "operatingSystem",
|
|
55457
|
+
disk_layout: "diskLayout",
|
|
55332
55458
|
user_data: "userData",
|
|
55333
55459
|
ssh_keys: "sshKeys"
|
|
55334
55460
|
});
|
|
@@ -55337,12 +55463,14 @@ var init_deployconfig = __esm(() => {
|
|
|
55337
55463
|
operatingSystem: stringType().optional(),
|
|
55338
55464
|
hostname: stringType().optional(),
|
|
55339
55465
|
raid: stringType().optional(),
|
|
55466
|
+
diskLayout: nullableType(arrayType(lazyType(() => DiskLayout$outboundSchema))).optional(),
|
|
55340
55467
|
userData: stringType().optional(),
|
|
55341
55468
|
sshKeys: arrayType(stringType()).optional(),
|
|
55342
55469
|
partitions: nullableType(arrayType(lazyType(() => Partition$outboundSchema))).optional()
|
|
55343
55470
|
}).transform((v2) => {
|
|
55344
55471
|
return remap(v2, {
|
|
55345
55472
|
operatingSystem: "operating_system",
|
|
55473
|
+
diskLayout: "disk_layout",
|
|
55346
55474
|
userData: "user_data",
|
|
55347
55475
|
sshKeys: "ssh_keys"
|
|
55348
55476
|
});
|
|
@@ -55913,50 +56041,56 @@ var init_firewallserver = __esm(() => {
|
|
|
55913
56041
|
});
|
|
55914
56042
|
});
|
|
55915
56043
|
|
|
55916
|
-
// src/models/
|
|
55917
|
-
var
|
|
55918
|
-
var
|
|
56044
|
+
// src/models/ipaddressdata.ts
|
|
56045
|
+
var TypeIPAddresses, IpAddressDataFamily, IpAddressDataAttributesType, TypeIPAddresses$inboundSchema, TypeIPAddresses$outboundSchema, IpAddressDataFamily$inboundSchema, IpAddressDataFamily$outboundSchema, IpAddressDataAttributesType$inboundSchema, IpAddressDataAttributesType$outboundSchema, IpAddressDataProject$inboundSchema, IpAddressDataProject$outboundSchema, IpAddressDataLocation$inboundSchema, IpAddressDataLocation$outboundSchema, IpAddressDataRegion$inboundSchema, IpAddressDataRegion$outboundSchema, Assignment$inboundSchema, Assignment$outboundSchema, Elastic$inboundSchema, Elastic$outboundSchema, IpAddressDataAttributes$inboundSchema, IpAddressDataAttributes$outboundSchema, IpAddressData$inboundSchema, IpAddressData$outboundSchema;
|
|
56046
|
+
var init_ipaddressdata = __esm(() => {
|
|
55919
56047
|
init_v3();
|
|
55920
56048
|
init_primitives();
|
|
55921
|
-
|
|
56049
|
+
TypeIPAddresses = {
|
|
56050
|
+
IpAddresses: "ip_addresses"
|
|
56051
|
+
};
|
|
56052
|
+
IpAddressDataFamily = {
|
|
55922
56053
|
IPv4: "IPv4",
|
|
55923
56054
|
IPv6: "IPv6"
|
|
55924
56055
|
};
|
|
55925
|
-
|
|
56056
|
+
IpAddressDataAttributesType = {
|
|
55926
56057
|
Public: "Public",
|
|
55927
|
-
Private: "Private"
|
|
55928
|
-
|
|
55929
|
-
|
|
55930
|
-
|
|
55931
|
-
|
|
55932
|
-
|
|
55933
|
-
|
|
56058
|
+
Private: "Private",
|
|
56059
|
+
Elastic: "Elastic"
|
|
56060
|
+
};
|
|
56061
|
+
TypeIPAddresses$inboundSchema = nativeEnumType(TypeIPAddresses);
|
|
56062
|
+
TypeIPAddresses$outboundSchema = TypeIPAddresses$inboundSchema;
|
|
56063
|
+
IpAddressDataFamily$inboundSchema = nativeEnumType(IpAddressDataFamily);
|
|
56064
|
+
IpAddressDataFamily$outboundSchema = IpAddressDataFamily$inboundSchema;
|
|
56065
|
+
IpAddressDataAttributesType$inboundSchema = nativeEnumType(IpAddressDataAttributesType);
|
|
56066
|
+
IpAddressDataAttributesType$outboundSchema = IpAddressDataAttributesType$inboundSchema;
|
|
56067
|
+
IpAddressDataProject$inboundSchema = objectType({
|
|
55934
56068
|
id: stringType().optional(),
|
|
55935
56069
|
name: stringType().optional()
|
|
55936
56070
|
});
|
|
55937
|
-
|
|
56071
|
+
IpAddressDataProject$outboundSchema = objectType({
|
|
55938
56072
|
id: stringType().optional(),
|
|
55939
56073
|
name: stringType().optional()
|
|
55940
56074
|
});
|
|
55941
|
-
|
|
56075
|
+
IpAddressDataLocation$inboundSchema = objectType({
|
|
55942
56076
|
id: stringType().optional(),
|
|
55943
56077
|
name: stringType().optional(),
|
|
55944
56078
|
slug: stringType().optional()
|
|
55945
56079
|
});
|
|
55946
|
-
|
|
56080
|
+
IpAddressDataLocation$outboundSchema = objectType({
|
|
55947
56081
|
id: stringType().optional(),
|
|
55948
56082
|
name: stringType().optional(),
|
|
55949
56083
|
slug: stringType().optional()
|
|
55950
56084
|
});
|
|
55951
|
-
|
|
56085
|
+
IpAddressDataRegion$inboundSchema = objectType({
|
|
55952
56086
|
id: stringType().optional(),
|
|
55953
56087
|
name: stringType().optional(),
|
|
55954
|
-
location: lazyType(() =>
|
|
56088
|
+
location: lazyType(() => IpAddressDataLocation$inboundSchema).optional()
|
|
55955
56089
|
});
|
|
55956
|
-
|
|
56090
|
+
IpAddressDataRegion$outboundSchema = objectType({
|
|
55957
56091
|
id: stringType().optional(),
|
|
55958
56092
|
name: stringType().optional(),
|
|
55959
|
-
location: lazyType(() =>
|
|
56093
|
+
location: lazyType(() => IpAddressDataLocation$outboundSchema).optional()
|
|
55960
56094
|
});
|
|
55961
56095
|
Assignment$inboundSchema = objectType({
|
|
55962
56096
|
server_id: stringType().optional(),
|
|
@@ -55978,56 +56112,101 @@ var init_ipaddress = __esm(() => {
|
|
|
55978
56112
|
assignedAt: "assigned_at"
|
|
55979
56113
|
});
|
|
55980
56114
|
});
|
|
55981
|
-
|
|
56115
|
+
Elastic$inboundSchema = objectType({
|
|
56116
|
+
id: stringType().optional(),
|
|
56117
|
+
mode: stringType().optional(),
|
|
56118
|
+
status: stringType().optional()
|
|
56119
|
+
});
|
|
56120
|
+
Elastic$outboundSchema = objectType({
|
|
56121
|
+
id: stringType().optional(),
|
|
56122
|
+
mode: stringType().optional(),
|
|
56123
|
+
status: stringType().optional()
|
|
56124
|
+
});
|
|
56125
|
+
IpAddressDataAttributes$inboundSchema = objectType({
|
|
55982
56126
|
address: stringType().optional(),
|
|
55983
56127
|
cidr: nullableType(stringType()).optional(),
|
|
55984
|
-
family:
|
|
56128
|
+
family: IpAddressDataFamily$inboundSchema.optional(),
|
|
55985
56129
|
gateway: nullableType(stringType()).optional(),
|
|
55986
56130
|
netmask: stringType().optional(),
|
|
55987
|
-
type:
|
|
56131
|
+
type: IpAddressDataAttributesType$inboundSchema.optional(),
|
|
55988
56132
|
public: booleanType().optional(),
|
|
55989
56133
|
management: booleanType().optional(),
|
|
55990
56134
|
additional: booleanType().optional(),
|
|
55991
|
-
project: lazyType(() =>
|
|
55992
|
-
region: lazyType(() =>
|
|
56135
|
+
project: lazyType(() => IpAddressDataProject$inboundSchema).optional(),
|
|
56136
|
+
region: lazyType(() => IpAddressDataRegion$inboundSchema).optional(),
|
|
55993
56137
|
available: booleanType().optional(),
|
|
55994
|
-
assignment: lazyType(() => Assignment$inboundSchema).optional()
|
|
56138
|
+
assignment: lazyType(() => Assignment$inboundSchema).optional(),
|
|
56139
|
+
elastic: lazyType(() => Elastic$inboundSchema).optional(),
|
|
56140
|
+
created_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional()
|
|
56141
|
+
}).transform((v2) => {
|
|
56142
|
+
return remap(v2, {
|
|
56143
|
+
created_at: "createdAt"
|
|
56144
|
+
});
|
|
55995
56145
|
});
|
|
55996
|
-
|
|
56146
|
+
IpAddressDataAttributes$outboundSchema = objectType({
|
|
55997
56147
|
address: stringType().optional(),
|
|
55998
56148
|
cidr: nullableType(stringType()).optional(),
|
|
55999
|
-
family:
|
|
56149
|
+
family: IpAddressDataFamily$outboundSchema.optional(),
|
|
56000
56150
|
gateway: nullableType(stringType()).optional(),
|
|
56001
56151
|
netmask: stringType().optional(),
|
|
56002
|
-
type:
|
|
56152
|
+
type: IpAddressDataAttributesType$outboundSchema.optional(),
|
|
56003
56153
|
public: booleanType().optional(),
|
|
56004
56154
|
management: booleanType().optional(),
|
|
56005
56155
|
additional: booleanType().optional(),
|
|
56006
|
-
project: lazyType(() =>
|
|
56007
|
-
region: lazyType(() =>
|
|
56156
|
+
project: lazyType(() => IpAddressDataProject$outboundSchema).optional(),
|
|
56157
|
+
region: lazyType(() => IpAddressDataRegion$outboundSchema).optional(),
|
|
56008
56158
|
available: booleanType().optional(),
|
|
56009
|
-
assignment: lazyType(() => Assignment$outboundSchema).optional()
|
|
56159
|
+
assignment: lazyType(() => Assignment$outboundSchema).optional(),
|
|
56160
|
+
elastic: lazyType(() => Elastic$outboundSchema).optional(),
|
|
56161
|
+
createdAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional()
|
|
56162
|
+
}).transform((v2) => {
|
|
56163
|
+
return remap(v2, {
|
|
56164
|
+
createdAt: "created_at"
|
|
56165
|
+
});
|
|
56010
56166
|
});
|
|
56011
|
-
|
|
56167
|
+
IpAddressData$inboundSchema = objectType({
|
|
56012
56168
|
id: stringType().optional(),
|
|
56013
|
-
|
|
56169
|
+
type: TypeIPAddresses$inboundSchema.optional(),
|
|
56170
|
+
attributes: lazyType(() => IpAddressDataAttributes$inboundSchema).optional()
|
|
56014
56171
|
});
|
|
56015
|
-
|
|
56172
|
+
IpAddressData$outboundSchema = objectType({
|
|
56016
56173
|
id: stringType().optional(),
|
|
56017
|
-
|
|
56174
|
+
type: TypeIPAddresses$outboundSchema.optional(),
|
|
56175
|
+
attributes: lazyType(() => IpAddressDataAttributes$outboundSchema).optional()
|
|
56176
|
+
});
|
|
56177
|
+
});
|
|
56178
|
+
|
|
56179
|
+
// src/models/ipaddress.ts
|
|
56180
|
+
var IpAddressMeta$inboundSchema, IpAddressMeta$outboundSchema, IpAddress$inboundSchema, IpAddress$outboundSchema;
|
|
56181
|
+
var init_ipaddress = __esm(() => {
|
|
56182
|
+
init_v3();
|
|
56183
|
+
init_ipaddressdata();
|
|
56184
|
+
IpAddressMeta$inboundSchema = objectType({});
|
|
56185
|
+
IpAddressMeta$outboundSchema = objectType({});
|
|
56186
|
+
IpAddress$inboundSchema = objectType({
|
|
56187
|
+
data: IpAddressData$inboundSchema.optional(),
|
|
56188
|
+
meta: lazyType(() => IpAddressMeta$inboundSchema).optional()
|
|
56189
|
+
});
|
|
56190
|
+
IpAddress$outboundSchema = objectType({
|
|
56191
|
+
data: IpAddressData$outboundSchema.optional(),
|
|
56192
|
+
meta: lazyType(() => IpAddressMeta$outboundSchema).optional()
|
|
56018
56193
|
});
|
|
56019
56194
|
});
|
|
56020
56195
|
|
|
56021
56196
|
// src/models/ipaddresses.ts
|
|
56022
|
-
var IpAddresses$inboundSchema, IpAddresses$outboundSchema;
|
|
56197
|
+
var IpAddressesMeta$inboundSchema, IpAddressesMeta$outboundSchema, IpAddresses$inboundSchema, IpAddresses$outboundSchema;
|
|
56023
56198
|
var init_ipaddresses = __esm(() => {
|
|
56024
56199
|
init_v3();
|
|
56025
|
-
|
|
56200
|
+
init_ipaddressdata();
|
|
56201
|
+
IpAddressesMeta$inboundSchema = objectType({});
|
|
56202
|
+
IpAddressesMeta$outboundSchema = objectType({});
|
|
56026
56203
|
IpAddresses$inboundSchema = objectType({
|
|
56027
|
-
data: arrayType(
|
|
56204
|
+
data: arrayType(IpAddressData$inboundSchema).optional(),
|
|
56205
|
+
meta: lazyType(() => IpAddressesMeta$inboundSchema).optional()
|
|
56028
56206
|
});
|
|
56029
56207
|
IpAddresses$outboundSchema = objectType({
|
|
56030
|
-
data: arrayType(
|
|
56208
|
+
data: arrayType(IpAddressData$outboundSchema).optional(),
|
|
56209
|
+
meta: lazyType(() => IpAddressesMeta$outboundSchema).optional()
|
|
56031
56210
|
});
|
|
56032
56211
|
});
|
|
56033
56212
|
|
|
@@ -56895,7 +57074,7 @@ var init_operatingsystemdata = __esm(() => {
|
|
|
56895
57074
|
init_v3();
|
|
56896
57075
|
init_primitives();
|
|
56897
57076
|
OperatingSystemDataType = {
|
|
56898
|
-
|
|
57077
|
+
OperatingSystem: "operating_system"
|
|
56899
57078
|
};
|
|
56900
57079
|
OperatingSystemDataType$inboundSchema = nativeEnumType(OperatingSystemDataType);
|
|
56901
57080
|
OperatingSystemDataType$outboundSchema = OperatingSystemDataType$inboundSchema;
|
|
@@ -57049,6 +57228,30 @@ var init_outofbandconnection = __esm(() => {
|
|
|
57049
57228
|
});
|
|
57050
57229
|
});
|
|
57051
57230
|
|
|
57231
|
+
// src/models/paginationmeta.ts
|
|
57232
|
+
var Total$inboundSchema, Total$outboundSchema, PaginationMetaStats$inboundSchema, PaginationMetaStats$outboundSchema, PaginationMeta$inboundSchema, PaginationMeta$outboundSchema;
|
|
57233
|
+
var init_paginationmeta = __esm(() => {
|
|
57234
|
+
init_v3();
|
|
57235
|
+
Total$inboundSchema = objectType({
|
|
57236
|
+
count: numberType().int().optional()
|
|
57237
|
+
});
|
|
57238
|
+
Total$outboundSchema = objectType({
|
|
57239
|
+
count: numberType().int().optional()
|
|
57240
|
+
});
|
|
57241
|
+
PaginationMetaStats$inboundSchema = objectType({
|
|
57242
|
+
total: lazyType(() => Total$inboundSchema).optional()
|
|
57243
|
+
});
|
|
57244
|
+
PaginationMetaStats$outboundSchema = objectType({
|
|
57245
|
+
total: lazyType(() => Total$outboundSchema).optional()
|
|
57246
|
+
});
|
|
57247
|
+
PaginationMeta$inboundSchema = objectType({
|
|
57248
|
+
stats: lazyType(() => PaginationMetaStats$inboundSchema).optional()
|
|
57249
|
+
});
|
|
57250
|
+
PaginationMeta$outboundSchema = objectType({
|
|
57251
|
+
stats: lazyType(() => PaginationMetaStats$outboundSchema).optional()
|
|
57252
|
+
});
|
|
57253
|
+
});
|
|
57254
|
+
|
|
57052
57255
|
// src/models/plandata.ts
|
|
57053
57256
|
var TypePlans, Feature, DriveType, PlanDataStockLevel, TypePlans$inboundSchema, TypePlans$outboundSchema, Feature$inboundSchema, Feature$outboundSchema, Cpu$inboundSchema, Cpu$outboundSchema, Memory$inboundSchema, Memory$outboundSchema, DriveType$inboundSchema, DriveType$outboundSchema, Drive$inboundSchema, Drive$outboundSchema, PlanDataNic$inboundSchema, PlanDataNic$outboundSchema, Gpu$inboundSchema, Gpu$outboundSchema, PlanDataSpecs$inboundSchema, PlanDataSpecs$outboundSchema, PlanDataLocations$inboundSchema, PlanDataLocations$outboundSchema, PlanDataStockLevel$inboundSchema, PlanDataStockLevel$outboundSchema, PlanDataUSD$inboundSchema, PlanDataUSD$outboundSchema, PlanDataBRL$inboundSchema, PlanDataBRL$outboundSchema, PlanDataPricing$inboundSchema, PlanDataPricing$outboundSchema, PlanDataRegion$inboundSchema, PlanDataRegion$outboundSchema, PlanDataAttributes$inboundSchema, PlanDataAttributes$outboundSchema, PlanData$inboundSchema, PlanData$outboundSchema;
|
|
57054
57257
|
var init_plandata = __esm(() => {
|
|
@@ -58005,7 +58208,7 @@ var init_userinclude = __esm(() => {
|
|
|
58005
58208
|
});
|
|
58006
58209
|
|
|
58007
58210
|
// src/models/sshkeydata.ts
|
|
58008
|
-
var SshKeyDataType, SshKeyDataType$inboundSchema, SshKeyDataType$outboundSchema, SshKeyDataAttributes$inboundSchema, SshKeyDataAttributes$outboundSchema, SshKeyData$inboundSchema, SshKeyData$outboundSchema;
|
|
58211
|
+
var SshKeyDataType, SshKeyDataType$inboundSchema, SshKeyDataType$outboundSchema, SshKeyDataTag$inboundSchema, SshKeyDataTag$outboundSchema, SshKeyDataAttributes$inboundSchema, SshKeyDataAttributes$outboundSchema, SshKeyData$inboundSchema, SshKeyData$outboundSchema;
|
|
58009
58212
|
var init_sshkeydata = __esm(() => {
|
|
58010
58213
|
init_v3();
|
|
58011
58214
|
init_primitives();
|
|
@@ -58016,7 +58219,20 @@ var init_sshkeydata = __esm(() => {
|
|
|
58016
58219
|
};
|
|
58017
58220
|
SshKeyDataType$inboundSchema = nativeEnumType(SshKeyDataType);
|
|
58018
58221
|
SshKeyDataType$outboundSchema = SshKeyDataType$inboundSchema;
|
|
58222
|
+
SshKeyDataTag$inboundSchema = objectType({
|
|
58223
|
+
id: stringType().optional(),
|
|
58224
|
+
name: stringType().optional(),
|
|
58225
|
+
description: nullableType(stringType()).optional(),
|
|
58226
|
+
color: nullableType(stringType()).optional()
|
|
58227
|
+
});
|
|
58228
|
+
SshKeyDataTag$outboundSchema = objectType({
|
|
58229
|
+
id: stringType().optional(),
|
|
58230
|
+
name: stringType().optional(),
|
|
58231
|
+
description: nullableType(stringType()).optional(),
|
|
58232
|
+
color: nullableType(stringType()).optional()
|
|
58233
|
+
});
|
|
58019
58234
|
SshKeyDataAttributes$inboundSchema = objectType({
|
|
58235
|
+
tags: arrayType(lazyType(() => SshKeyDataTag$inboundSchema)).optional(),
|
|
58020
58236
|
name: stringType().optional(),
|
|
58021
58237
|
public_key: stringType().optional(),
|
|
58022
58238
|
fingerprint: stringType().optional(),
|
|
@@ -58032,6 +58248,7 @@ var init_sshkeydata = __esm(() => {
|
|
|
58032
58248
|
});
|
|
58033
58249
|
});
|
|
58034
58250
|
SshKeyDataAttributes$outboundSchema = objectType({
|
|
58251
|
+
tags: arrayType(lazyType(() => SshKeyDataTag$outboundSchema)).optional(),
|
|
58035
58252
|
name: stringType().optional(),
|
|
58036
58253
|
publicKey: stringType().optional(),
|
|
58037
58254
|
fingerprint: stringType().optional(),
|
|
@@ -58059,19 +58276,18 @@ var init_sshkeydata = __esm(() => {
|
|
|
58059
58276
|
});
|
|
58060
58277
|
|
|
58061
58278
|
// src/models/sshkeys.ts
|
|
58062
|
-
var
|
|
58279
|
+
var SshKeys$inboundSchema, SshKeys$outboundSchema;
|
|
58063
58280
|
var init_sshkeys = __esm(() => {
|
|
58064
58281
|
init_v3();
|
|
58282
|
+
init_paginationmeta();
|
|
58065
58283
|
init_sshkeydata();
|
|
58066
|
-
SshKeysMeta$inboundSchema = objectType({});
|
|
58067
|
-
SshKeysMeta$outboundSchema = objectType({});
|
|
58068
58284
|
SshKeys$inboundSchema = objectType({
|
|
58069
58285
|
data: arrayType(SshKeyData$inboundSchema).optional(),
|
|
58070
|
-
meta:
|
|
58286
|
+
meta: PaginationMeta$inboundSchema.optional()
|
|
58071
58287
|
});
|
|
58072
58288
|
SshKeys$outboundSchema = objectType({
|
|
58073
58289
|
data: arrayType(SshKeyData$outboundSchema).optional(),
|
|
58074
|
-
meta:
|
|
58290
|
+
meta: PaginationMeta$outboundSchema.optional()
|
|
58075
58291
|
});
|
|
58076
58292
|
});
|
|
58077
58293
|
|
|
@@ -58207,31 +58423,17 @@ var init_team = __esm(() => {
|
|
|
58207
58423
|
});
|
|
58208
58424
|
|
|
58209
58425
|
// src/models/teammembers.ts
|
|
58210
|
-
var TeamMembersRole$inboundSchema, TeamMembersRole$outboundSchema, TeamMembersAttributes$inboundSchema, TeamMembersAttributes$outboundSchema, TeamMembersData$inboundSchema, TeamMembersData$outboundSchema, TeamMembers$inboundSchema, TeamMembers$outboundSchema;
|
|
58426
|
+
var TeamMembersRole$inboundSchema, TeamMembersRole$outboundSchema, TeamMembersAttributes$inboundSchema, TeamMembersAttributes$outboundSchema, TeamMembersData$inboundSchema, TeamMembersData$outboundSchema, TeamMembersMeta$inboundSchema, TeamMembersMeta$outboundSchema, TeamMembers$inboundSchema, TeamMembers$outboundSchema;
|
|
58211
58427
|
var init_teammembers = __esm(() => {
|
|
58212
58428
|
init_v3();
|
|
58213
58429
|
init_primitives();
|
|
58214
58430
|
TeamMembersRole$inboundSchema = objectType({
|
|
58215
58431
|
id: stringType().optional(),
|
|
58216
|
-
name: stringType().optional()
|
|
58217
|
-
created_at: stringType().optional(),
|
|
58218
|
-
updated_at: stringType().optional()
|
|
58219
|
-
}).transform((v2) => {
|
|
58220
|
-
return remap(v2, {
|
|
58221
|
-
created_at: "createdAt",
|
|
58222
|
-
updated_at: "updatedAt"
|
|
58223
|
-
});
|
|
58432
|
+
name: stringType().optional()
|
|
58224
58433
|
});
|
|
58225
58434
|
TeamMembersRole$outboundSchema = objectType({
|
|
58226
58435
|
id: stringType().optional(),
|
|
58227
|
-
name: stringType().optional()
|
|
58228
|
-
createdAt: stringType().optional(),
|
|
58229
|
-
updatedAt: stringType().optional()
|
|
58230
|
-
}).transform((v2) => {
|
|
58231
|
-
return remap(v2, {
|
|
58232
|
-
createdAt: "created_at",
|
|
58233
|
-
updatedAt: "updated_at"
|
|
58234
|
-
});
|
|
58436
|
+
name: stringType().optional()
|
|
58235
58437
|
});
|
|
58236
58438
|
TeamMembersAttributes$inboundSchema = objectType({
|
|
58237
58439
|
first_name: stringType().optional(),
|
|
@@ -58281,11 +58483,15 @@ var init_teammembers = __esm(() => {
|
|
|
58281
58483
|
type: stringType().optional(),
|
|
58282
58484
|
attributes: lazyType(() => TeamMembersAttributes$outboundSchema).optional()
|
|
58283
58485
|
});
|
|
58486
|
+
TeamMembersMeta$inboundSchema = objectType({});
|
|
58487
|
+
TeamMembersMeta$outboundSchema = objectType({});
|
|
58284
58488
|
TeamMembers$inboundSchema = objectType({
|
|
58285
|
-
data: arrayType(lazyType(() => TeamMembersData$inboundSchema)).optional()
|
|
58489
|
+
data: arrayType(lazyType(() => TeamMembersData$inboundSchema)).optional(),
|
|
58490
|
+
meta: lazyType(() => TeamMembersMeta$inboundSchema).optional()
|
|
58286
58491
|
});
|
|
58287
58492
|
TeamMembers$outboundSchema = objectType({
|
|
58288
|
-
data: arrayType(lazyType(() => TeamMembersData$outboundSchema)).optional()
|
|
58493
|
+
data: arrayType(lazyType(() => TeamMembersData$outboundSchema)).optional(),
|
|
58494
|
+
meta: lazyType(() => TeamMembersMeta$outboundSchema).optional()
|
|
58289
58495
|
});
|
|
58290
58496
|
});
|
|
58291
58497
|
|
|
@@ -58817,19 +59023,18 @@ var init_userdataobject = __esm(() => {
|
|
|
58817
59023
|
});
|
|
58818
59024
|
|
|
58819
59025
|
// src/models/userdata.ts
|
|
58820
|
-
var
|
|
59026
|
+
var UserData$inboundSchema, UserData$outboundSchema;
|
|
58821
59027
|
var init_userdata = __esm(() => {
|
|
58822
59028
|
init_v3();
|
|
59029
|
+
init_paginationmeta();
|
|
58823
59030
|
init_userdataobject();
|
|
58824
|
-
UserDataMeta$inboundSchema = objectType({});
|
|
58825
|
-
UserDataMeta$outboundSchema = objectType({});
|
|
58826
59031
|
UserData$inboundSchema = objectType({
|
|
58827
59032
|
data: arrayType(UserDataObject$inboundSchema).optional(),
|
|
58828
|
-
meta:
|
|
59033
|
+
meta: PaginationMeta$inboundSchema.optional()
|
|
58829
59034
|
});
|
|
58830
59035
|
UserData$outboundSchema = objectType({
|
|
58831
59036
|
data: arrayType(UserDataObject$outboundSchema).optional(),
|
|
58832
|
-
meta:
|
|
59037
|
+
meta: PaginationMeta$outboundSchema.optional()
|
|
58833
59038
|
});
|
|
58834
59039
|
});
|
|
58835
59040
|
|
|
@@ -58956,7 +59161,7 @@ var init_userupdate = __esm(() => {
|
|
|
58956
59161
|
});
|
|
58957
59162
|
|
|
58958
59163
|
// src/models/virtualmachineattributes.ts
|
|
58959
|
-
var VirtualMachineAttributesType, VirtualMachineAttributesStatus, VirtualMachineAttributesType$inboundSchema, VirtualMachineAttributesType$outboundSchema, VirtualMachineAttributesStatus$inboundSchema, VirtualMachineAttributesStatus$outboundSchema, VirtualMachineAttributesFeatures$inboundSchema, VirtualMachineAttributesFeatures$outboundSchema, VirtualMachineAttributesDistro$inboundSchema, VirtualMachineAttributesDistro$outboundSchema, VirtualMachineAttributesOperatingSystem$inboundSchema, VirtualMachineAttributesOperatingSystem$outboundSchema, VirtualMachineAttributesCredentials$inboundSchema, VirtualMachineAttributesCredentials$outboundSchema, VirtualMachineAttributesPlan$inboundSchema, VirtualMachineAttributesPlan$outboundSchema, VirtualMachineAttributesSpecs$inboundSchema, VirtualMachineAttributesSpecs$outboundSchema, VirtualMachineAttributesAttributes$inboundSchema, VirtualMachineAttributesAttributes$outboundSchema, VirtualMachineAttributes$inboundSchema, VirtualMachineAttributes$outboundSchema;
|
|
59164
|
+
var VirtualMachineAttributesType, VirtualMachineAttributesStatus, VirtualMachineAttributesType$inboundSchema, VirtualMachineAttributesType$outboundSchema, VirtualMachineAttributesStatus$inboundSchema, VirtualMachineAttributesStatus$outboundSchema, VirtualMachineAttributesFeatures$inboundSchema, VirtualMachineAttributesFeatures$outboundSchema, VirtualMachineAttributesDistro$inboundSchema, VirtualMachineAttributesDistro$outboundSchema, VirtualMachineAttributesOperatingSystem$inboundSchema, VirtualMachineAttributesOperatingSystem$outboundSchema, VirtualMachineAttributesCredentials$inboundSchema, VirtualMachineAttributesCredentials$outboundSchema, VirtualMachineAttributesPlan$inboundSchema, VirtualMachineAttributesPlan$outboundSchema, VirtualMachineAttributesSpecs$inboundSchema, VirtualMachineAttributesSpecs$outboundSchema, VirtualMachineAttributesTag$inboundSchema, VirtualMachineAttributesTag$outboundSchema, VirtualMachineAttributesAttributes$inboundSchema, VirtualMachineAttributesAttributes$outboundSchema, VirtualMachineAttributes$inboundSchema, VirtualMachineAttributes$outboundSchema;
|
|
58960
59165
|
var init_virtualmachineattributes = __esm(() => {
|
|
58961
59166
|
init_v3();
|
|
58962
59167
|
init_primitives();
|
|
@@ -59063,6 +59268,18 @@ var init_virtualmachineattributes = __esm(() => {
|
|
|
59063
59268
|
nic: nullableType(stringType()).optional(),
|
|
59064
59269
|
gpu: nullableType(stringType()).optional()
|
|
59065
59270
|
});
|
|
59271
|
+
VirtualMachineAttributesTag$inboundSchema = objectType({
|
|
59272
|
+
id: stringType().optional(),
|
|
59273
|
+
name: stringType().optional(),
|
|
59274
|
+
description: nullableType(stringType()).optional(),
|
|
59275
|
+
color: nullableType(stringType()).optional()
|
|
59276
|
+
});
|
|
59277
|
+
VirtualMachineAttributesTag$outboundSchema = objectType({
|
|
59278
|
+
id: stringType().optional(),
|
|
59279
|
+
name: stringType().optional(),
|
|
59280
|
+
description: nullableType(stringType()).optional(),
|
|
59281
|
+
color: nullableType(stringType()).optional()
|
|
59282
|
+
});
|
|
59066
59283
|
VirtualMachineAttributesAttributes$inboundSchema = objectType({
|
|
59067
59284
|
name: stringType().optional(),
|
|
59068
59285
|
created_at: stringType().optional(),
|
|
@@ -59070,15 +59287,22 @@ var init_virtualmachineattributes = __esm(() => {
|
|
|
59070
59287
|
primary_ipv4: nullableType(stringType()).optional(),
|
|
59071
59288
|
operating_system: nullableType(lazyType(() => VirtualMachineAttributesOperatingSystem$inboundSchema)).optional(),
|
|
59072
59289
|
credentials: nullableType(lazyType(() => VirtualMachineAttributesCredentials$inboundSchema)).optional(),
|
|
59290
|
+
site: nullableType(stringType()).optional(),
|
|
59291
|
+
billing: nullableType(stringType()).optional(),
|
|
59292
|
+
user_data: nullableType(stringType()).optional(),
|
|
59073
59293
|
plan: lazyType(() => VirtualMachineAttributesPlan$inboundSchema).optional(),
|
|
59074
59294
|
specs: lazyType(() => VirtualMachineAttributesSpecs$inboundSchema).optional(),
|
|
59295
|
+
tags: arrayType(lazyType(() => VirtualMachineAttributesTag$inboundSchema)).optional(),
|
|
59075
59296
|
team: TeamInclude$inboundSchema.optional(),
|
|
59076
|
-
project: ProjectInclude$inboundSchema.optional()
|
|
59297
|
+
project: ProjectInclude$inboundSchema.optional(),
|
|
59298
|
+
pending_restart: booleanType().optional()
|
|
59077
59299
|
}).transform((v2) => {
|
|
59078
59300
|
return remap(v2, {
|
|
59079
59301
|
created_at: "createdAt",
|
|
59080
59302
|
primary_ipv4: "primaryIpv4",
|
|
59081
|
-
operating_system: "operatingSystem"
|
|
59303
|
+
operating_system: "operatingSystem",
|
|
59304
|
+
user_data: "userData",
|
|
59305
|
+
pending_restart: "pendingRestart"
|
|
59082
59306
|
});
|
|
59083
59307
|
});
|
|
59084
59308
|
VirtualMachineAttributesAttributes$outboundSchema = objectType({
|
|
@@ -59088,15 +59312,22 @@ var init_virtualmachineattributes = __esm(() => {
|
|
|
59088
59312
|
primaryIpv4: nullableType(stringType()).optional(),
|
|
59089
59313
|
operatingSystem: nullableType(lazyType(() => VirtualMachineAttributesOperatingSystem$outboundSchema)).optional(),
|
|
59090
59314
|
credentials: nullableType(lazyType(() => VirtualMachineAttributesCredentials$outboundSchema)).optional(),
|
|
59315
|
+
site: nullableType(stringType()).optional(),
|
|
59316
|
+
billing: nullableType(stringType()).optional(),
|
|
59317
|
+
userData: nullableType(stringType()).optional(),
|
|
59091
59318
|
plan: lazyType(() => VirtualMachineAttributesPlan$outboundSchema).optional(),
|
|
59092
59319
|
specs: lazyType(() => VirtualMachineAttributesSpecs$outboundSchema).optional(),
|
|
59320
|
+
tags: arrayType(lazyType(() => VirtualMachineAttributesTag$outboundSchema)).optional(),
|
|
59093
59321
|
team: TeamInclude$outboundSchema.optional(),
|
|
59094
|
-
project: ProjectInclude$outboundSchema.optional()
|
|
59322
|
+
project: ProjectInclude$outboundSchema.optional(),
|
|
59323
|
+
pendingRestart: booleanType().optional()
|
|
59095
59324
|
}).transform((v2) => {
|
|
59096
59325
|
return remap(v2, {
|
|
59097
59326
|
createdAt: "created_at",
|
|
59098
59327
|
primaryIpv4: "primary_ipv4",
|
|
59099
|
-
operatingSystem: "operating_system"
|
|
59328
|
+
operatingSystem: "operating_system",
|
|
59329
|
+
userData: "user_data",
|
|
59330
|
+
pendingRestart: "pending_restart"
|
|
59100
59331
|
});
|
|
59101
59332
|
});
|
|
59102
59333
|
VirtualMachineAttributes$inboundSchema = objectType({
|
|
@@ -59128,72 +59359,225 @@ var init_virtualmachine = __esm(() => {
|
|
|
59128
59359
|
});
|
|
59129
59360
|
});
|
|
59130
59361
|
|
|
59131
|
-
// src/models/
|
|
59132
|
-
var
|
|
59133
|
-
var
|
|
59362
|
+
// src/models/virtualmachinemetrics.ts
|
|
59363
|
+
var Metric, Range, VirtualMachineMetricsUnit, Metric$inboundSchema, Metric$outboundSchema, Range$inboundSchema, Range$outboundSchema, VirtualMachineMetricsUnit$inboundSchema, VirtualMachineMetricsUnit$outboundSchema, Point$inboundSchema, Point$outboundSchema, VirtualMachineMetrics$inboundSchema, VirtualMachineMetrics$outboundSchema;
|
|
59364
|
+
var init_virtualmachinemetrics = __esm(() => {
|
|
59365
|
+
init_v3();
|
|
59366
|
+
Metric = {
|
|
59367
|
+
Cpu: "cpu",
|
|
59368
|
+
Memory: "memory",
|
|
59369
|
+
Network: "network",
|
|
59370
|
+
Disk: "disk"
|
|
59371
|
+
};
|
|
59372
|
+
Range = {
|
|
59373
|
+
Fivem: "5m",
|
|
59374
|
+
Fifteenm: "15m",
|
|
59375
|
+
Oneh: "1h",
|
|
59376
|
+
TwentyFourh: "24h"
|
|
59377
|
+
};
|
|
59378
|
+
VirtualMachineMetricsUnit = {
|
|
59379
|
+
Percent: "percent",
|
|
59380
|
+
BytesPerSecond: "bytes_per_second"
|
|
59381
|
+
};
|
|
59382
|
+
Metric$inboundSchema = nativeEnumType(Metric);
|
|
59383
|
+
Metric$outboundSchema = Metric$inboundSchema;
|
|
59384
|
+
Range$inboundSchema = nativeEnumType(Range);
|
|
59385
|
+
Range$outboundSchema = Range$inboundSchema;
|
|
59386
|
+
VirtualMachineMetricsUnit$inboundSchema = nativeEnumType(VirtualMachineMetricsUnit);
|
|
59387
|
+
VirtualMachineMetricsUnit$outboundSchema = VirtualMachineMetricsUnit$inboundSchema;
|
|
59388
|
+
Point$inboundSchema = objectType({
|
|
59389
|
+
timestamp: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
59390
|
+
value: numberType().optional()
|
|
59391
|
+
});
|
|
59392
|
+
Point$outboundSchema = objectType({
|
|
59393
|
+
timestamp: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
59394
|
+
value: numberType().optional()
|
|
59395
|
+
});
|
|
59396
|
+
VirtualMachineMetrics$inboundSchema = objectType({
|
|
59397
|
+
metric: Metric$inboundSchema.optional(),
|
|
59398
|
+
range: Range$inboundSchema.optional(),
|
|
59399
|
+
step: stringType().optional(),
|
|
59400
|
+
unit: VirtualMachineMetricsUnit$inboundSchema.optional(),
|
|
59401
|
+
points: arrayType(lazyType(() => Point$inboundSchema)).optional()
|
|
59402
|
+
});
|
|
59403
|
+
VirtualMachineMetrics$outboundSchema = objectType({
|
|
59404
|
+
metric: Metric$outboundSchema.optional(),
|
|
59405
|
+
range: Range$outboundSchema.optional(),
|
|
59406
|
+
step: stringType().optional(),
|
|
59407
|
+
unit: VirtualMachineMetricsUnit$outboundSchema.optional(),
|
|
59408
|
+
points: arrayType(lazyType(() => Point$outboundSchema)).optional()
|
|
59409
|
+
});
|
|
59410
|
+
});
|
|
59411
|
+
|
|
59412
|
+
// src/models/virtualmachinenetworkattachmentcreatepayload.ts
|
|
59413
|
+
var VirtualMachineNetworkAttachmentCreatePayloadType, VirtualMachineNetworkAttachmentCreatePayloadType$inboundSchema, VirtualMachineNetworkAttachmentCreatePayloadType$outboundSchema, VirtualMachineNetworkAttachmentCreatePayloadAttributes$inboundSchema, VirtualMachineNetworkAttachmentCreatePayloadAttributes$outboundSchema, VirtualMachineNetworkAttachmentCreatePayloadData$inboundSchema, VirtualMachineNetworkAttachmentCreatePayloadData$outboundSchema, VirtualMachineNetworkAttachmentCreatePayload$inboundSchema, VirtualMachineNetworkAttachmentCreatePayload$outboundSchema;
|
|
59414
|
+
var init_virtualmachinenetworkattachmentcreatepayload = __esm(() => {
|
|
59134
59415
|
init_v3();
|
|
59135
59416
|
init_primitives();
|
|
59136
|
-
|
|
59137
|
-
|
|
59417
|
+
VirtualMachineNetworkAttachmentCreatePayloadType = {
|
|
59418
|
+
VirtualMachineNetworkAttachments: "virtual_machine_network_attachments"
|
|
59138
59419
|
};
|
|
59139
|
-
|
|
59140
|
-
|
|
59141
|
-
|
|
59142
|
-
|
|
59143
|
-
plan: nullableType(stringType()).optional(),
|
|
59144
|
-
ssh_keys: nullableType(arrayType(stringType())).optional(),
|
|
59145
|
-
project: stringType().default("my-project"),
|
|
59146
|
-
operating_system: nullableType(stringType()).optional()
|
|
59420
|
+
VirtualMachineNetworkAttachmentCreatePayloadType$inboundSchema = nativeEnumType(VirtualMachineNetworkAttachmentCreatePayloadType);
|
|
59421
|
+
VirtualMachineNetworkAttachmentCreatePayloadType$outboundSchema = VirtualMachineNetworkAttachmentCreatePayloadType$inboundSchema;
|
|
59422
|
+
VirtualMachineNetworkAttachmentCreatePayloadAttributes$inboundSchema = objectType({
|
|
59423
|
+
virtual_network_id: stringType()
|
|
59147
59424
|
}).transform((v2) => {
|
|
59148
59425
|
return remap(v2, {
|
|
59149
|
-
|
|
59150
|
-
operating_system: "operatingSystem"
|
|
59426
|
+
virtual_network_id: "virtualNetworkId"
|
|
59151
59427
|
});
|
|
59152
59428
|
});
|
|
59153
|
-
|
|
59154
|
-
|
|
59155
|
-
plan: nullableType(stringType()).optional(),
|
|
59156
|
-
sshKeys: nullableType(arrayType(stringType())).optional(),
|
|
59157
|
-
project: stringType().default("my-project"),
|
|
59158
|
-
operatingSystem: nullableType(stringType()).optional()
|
|
59429
|
+
VirtualMachineNetworkAttachmentCreatePayloadAttributes$outboundSchema = objectType({
|
|
59430
|
+
virtualNetworkId: stringType()
|
|
59159
59431
|
}).transform((v2) => {
|
|
59160
59432
|
return remap(v2, {
|
|
59161
|
-
|
|
59162
|
-
operatingSystem: "operating_system"
|
|
59433
|
+
virtualNetworkId: "virtual_network_id"
|
|
59163
59434
|
});
|
|
59164
59435
|
});
|
|
59165
|
-
|
|
59166
|
-
type:
|
|
59167
|
-
attributes: lazyType(() =>
|
|
59436
|
+
VirtualMachineNetworkAttachmentCreatePayloadData$inboundSchema = objectType({
|
|
59437
|
+
type: VirtualMachineNetworkAttachmentCreatePayloadType$inboundSchema,
|
|
59438
|
+
attributes: lazyType(() => VirtualMachineNetworkAttachmentCreatePayloadAttributes$inboundSchema)
|
|
59168
59439
|
});
|
|
59169
|
-
|
|
59170
|
-
type:
|
|
59171
|
-
attributes: lazyType(() =>
|
|
59440
|
+
VirtualMachineNetworkAttachmentCreatePayloadData$outboundSchema = objectType({
|
|
59441
|
+
type: VirtualMachineNetworkAttachmentCreatePayloadType$outboundSchema,
|
|
59442
|
+
attributes: lazyType(() => VirtualMachineNetworkAttachmentCreatePayloadAttributes$outboundSchema)
|
|
59172
59443
|
});
|
|
59173
|
-
|
|
59174
|
-
data: lazyType(() =>
|
|
59444
|
+
VirtualMachineNetworkAttachmentCreatePayload$inboundSchema = objectType({
|
|
59445
|
+
data: lazyType(() => VirtualMachineNetworkAttachmentCreatePayloadData$inboundSchema)
|
|
59175
59446
|
});
|
|
59176
|
-
|
|
59177
|
-
data: lazyType(() =>
|
|
59447
|
+
VirtualMachineNetworkAttachmentCreatePayload$outboundSchema = objectType({
|
|
59448
|
+
data: lazyType(() => VirtualMachineNetworkAttachmentCreatePayloadData$outboundSchema)
|
|
59178
59449
|
});
|
|
59179
59450
|
});
|
|
59180
59451
|
|
|
59181
|
-
// src/models/
|
|
59182
|
-
var
|
|
59183
|
-
var
|
|
59452
|
+
// src/models/virtualmachinenetworkattachmentresource.ts
|
|
59453
|
+
var VirtualMachineNetworkAttachmentResourceType, VirtualMachineNetworkAttachmentResourceType$inboundSchema, VirtualMachineNetworkAttachmentResourceType$outboundSchema, VirtualMachineNetworkAttachmentResourceAttributes$inboundSchema, VirtualMachineNetworkAttachmentResourceAttributes$outboundSchema, VirtualMachineNetworkAttachmentResource$inboundSchema, VirtualMachineNetworkAttachmentResource$outboundSchema;
|
|
59454
|
+
var init_virtualmachinenetworkattachmentresource = __esm(() => {
|
|
59184
59455
|
init_v3();
|
|
59185
59456
|
init_primitives();
|
|
59186
|
-
|
|
59187
|
-
|
|
59188
|
-
};
|
|
59189
|
-
|
|
59190
|
-
|
|
59191
|
-
|
|
59192
|
-
|
|
59193
|
-
|
|
59194
|
-
|
|
59195
|
-
|
|
59196
|
-
|
|
59457
|
+
VirtualMachineNetworkAttachmentResourceType = {
|
|
59458
|
+
VirtualMachineNetworkAttachments: "virtual_machine_network_attachments"
|
|
59459
|
+
};
|
|
59460
|
+
VirtualMachineNetworkAttachmentResourceType$inboundSchema = nativeEnumType(VirtualMachineNetworkAttachmentResourceType);
|
|
59461
|
+
VirtualMachineNetworkAttachmentResourceType$outboundSchema = VirtualMachineNetworkAttachmentResourceType$inboundSchema;
|
|
59462
|
+
VirtualMachineNetworkAttachmentResourceAttributes$inboundSchema = objectType({
|
|
59463
|
+
virtual_network_id: stringType().optional(),
|
|
59464
|
+
vid: numberType().int().optional(),
|
|
59465
|
+
pending_restart: booleanType().optional()
|
|
59466
|
+
}).transform((v2) => {
|
|
59467
|
+
return remap(v2, {
|
|
59468
|
+
virtual_network_id: "virtualNetworkId",
|
|
59469
|
+
pending_restart: "pendingRestart"
|
|
59470
|
+
});
|
|
59471
|
+
});
|
|
59472
|
+
VirtualMachineNetworkAttachmentResourceAttributes$outboundSchema = objectType({
|
|
59473
|
+
virtualNetworkId: stringType().optional(),
|
|
59474
|
+
vid: numberType().int().optional(),
|
|
59475
|
+
pendingRestart: booleanType().optional()
|
|
59476
|
+
}).transform((v2) => {
|
|
59477
|
+
return remap(v2, {
|
|
59478
|
+
virtualNetworkId: "virtual_network_id",
|
|
59479
|
+
pendingRestart: "pending_restart"
|
|
59480
|
+
});
|
|
59481
|
+
});
|
|
59482
|
+
VirtualMachineNetworkAttachmentResource$inboundSchema = objectType({
|
|
59483
|
+
id: stringType().optional(),
|
|
59484
|
+
type: VirtualMachineNetworkAttachmentResourceType$inboundSchema.optional(),
|
|
59485
|
+
attributes: lazyType(() => VirtualMachineNetworkAttachmentResourceAttributes$inboundSchema).optional()
|
|
59486
|
+
});
|
|
59487
|
+
VirtualMachineNetworkAttachmentResource$outboundSchema = objectType({
|
|
59488
|
+
id: stringType().optional(),
|
|
59489
|
+
type: VirtualMachineNetworkAttachmentResourceType$outboundSchema.optional(),
|
|
59490
|
+
attributes: lazyType(() => VirtualMachineNetworkAttachmentResourceAttributes$outboundSchema).optional()
|
|
59491
|
+
});
|
|
59492
|
+
});
|
|
59493
|
+
|
|
59494
|
+
// src/models/virtualmachinenetworkattachments.ts
|
|
59495
|
+
var VirtualMachineNetworkAttachments$inboundSchema, VirtualMachineNetworkAttachments$outboundSchema;
|
|
59496
|
+
var init_virtualmachinenetworkattachments = __esm(() => {
|
|
59497
|
+
init_v3();
|
|
59498
|
+
init_virtualmachinenetworkattachmentresource();
|
|
59499
|
+
VirtualMachineNetworkAttachments$inboundSchema = objectType({
|
|
59500
|
+
data: arrayType(VirtualMachineNetworkAttachmentResource$inboundSchema).optional()
|
|
59501
|
+
});
|
|
59502
|
+
VirtualMachineNetworkAttachments$outboundSchema = objectType({
|
|
59503
|
+
data: arrayType(VirtualMachineNetworkAttachmentResource$outboundSchema).optional()
|
|
59504
|
+
});
|
|
59505
|
+
});
|
|
59506
|
+
|
|
59507
|
+
// src/models/virtualmachinepayload.ts
|
|
59508
|
+
var VirtualMachinePayloadType, VirtualMachinePayloadType$inboundSchema, VirtualMachinePayloadType$outboundSchema, UserDataUnion$inboundSchema, UserDataUnion$outboundSchema, VirtualMachinePayloadAttributes$inboundSchema, VirtualMachinePayloadAttributes$outboundSchema, VirtualMachinePayloadData$inboundSchema, VirtualMachinePayloadData$outboundSchema, VirtualMachinePayload$inboundSchema, VirtualMachinePayload$outboundSchema;
|
|
59509
|
+
var init_virtualmachinepayload = __esm(() => {
|
|
59510
|
+
init_v3();
|
|
59511
|
+
init_primitives();
|
|
59512
|
+
VirtualMachinePayloadType = {
|
|
59513
|
+
VirtualMachines: "virtual_machines"
|
|
59514
|
+
};
|
|
59515
|
+
VirtualMachinePayloadType$inboundSchema = nativeEnumType(VirtualMachinePayloadType);
|
|
59516
|
+
VirtualMachinePayloadType$outboundSchema = VirtualMachinePayloadType$inboundSchema;
|
|
59517
|
+
UserDataUnion$inboundSchema = unionType([numberType().int(), stringType()]);
|
|
59518
|
+
UserDataUnion$outboundSchema = unionType([numberType().int(), stringType()]);
|
|
59519
|
+
VirtualMachinePayloadAttributes$inboundSchema = objectType({
|
|
59520
|
+
name: stringType().default("my-vm"),
|
|
59521
|
+
plan: nullableType(stringType()).optional(),
|
|
59522
|
+
ssh_keys: nullableType(arrayType(stringType())).optional(),
|
|
59523
|
+
project: stringType().default("my-project"),
|
|
59524
|
+
operating_system: nullableType(stringType()).optional(),
|
|
59525
|
+
user_data: nullableType(unionType([numberType().int(), stringType()])).optional(),
|
|
59526
|
+
tags: nullableType(arrayType(stringType())).optional()
|
|
59527
|
+
}).transform((v2) => {
|
|
59528
|
+
return remap(v2, {
|
|
59529
|
+
ssh_keys: "sshKeys",
|
|
59530
|
+
operating_system: "operatingSystem",
|
|
59531
|
+
user_data: "userData"
|
|
59532
|
+
});
|
|
59533
|
+
});
|
|
59534
|
+
VirtualMachinePayloadAttributes$outboundSchema = objectType({
|
|
59535
|
+
name: stringType().default("my-vm"),
|
|
59536
|
+
plan: nullableType(stringType()).optional(),
|
|
59537
|
+
sshKeys: nullableType(arrayType(stringType())).optional(),
|
|
59538
|
+
project: stringType().default("my-project"),
|
|
59539
|
+
operatingSystem: nullableType(stringType()).optional(),
|
|
59540
|
+
userData: nullableType(unionType([numberType().int(), stringType()])).optional(),
|
|
59541
|
+
tags: nullableType(arrayType(stringType())).optional()
|
|
59542
|
+
}).transform((v2) => {
|
|
59543
|
+
return remap(v2, {
|
|
59544
|
+
sshKeys: "ssh_keys",
|
|
59545
|
+
operatingSystem: "operating_system",
|
|
59546
|
+
userData: "user_data"
|
|
59547
|
+
});
|
|
59548
|
+
});
|
|
59549
|
+
VirtualMachinePayloadData$inboundSchema = objectType({
|
|
59550
|
+
type: VirtualMachinePayloadType$inboundSchema.optional(),
|
|
59551
|
+
attributes: lazyType(() => VirtualMachinePayloadAttributes$inboundSchema).optional()
|
|
59552
|
+
});
|
|
59553
|
+
VirtualMachinePayloadData$outboundSchema = objectType({
|
|
59554
|
+
type: VirtualMachinePayloadType$outboundSchema.optional(),
|
|
59555
|
+
attributes: lazyType(() => VirtualMachinePayloadAttributes$outboundSchema).optional()
|
|
59556
|
+
});
|
|
59557
|
+
VirtualMachinePayload$inboundSchema = objectType({
|
|
59558
|
+
data: lazyType(() => VirtualMachinePayloadData$inboundSchema).optional()
|
|
59559
|
+
});
|
|
59560
|
+
VirtualMachinePayload$outboundSchema = objectType({
|
|
59561
|
+
data: lazyType(() => VirtualMachinePayloadData$outboundSchema).optional()
|
|
59562
|
+
});
|
|
59563
|
+
});
|
|
59564
|
+
|
|
59565
|
+
// src/models/virtualmachineplans.ts
|
|
59566
|
+
var VirtualMachinePlansType, VirtualMachinePlansUnit, VirtualMachinePlansRegionStockLevel, VirtualMachinePlansStockLevel, VirtualMachinePlansType$inboundSchema, VirtualMachinePlansType$outboundSchema, Vcpu$inboundSchema, Vcpu$outboundSchema, VirtualMachinePlansNic$inboundSchema, VirtualMachinePlansNic$outboundSchema, VirtualMachinePlansUnit$inboundSchema, VirtualMachinePlansUnit$outboundSchema, Size$inboundSchema, Size$outboundSchema, Disk$inboundSchema, Disk$outboundSchema, VirtualMachinePlansSpecs$inboundSchema, VirtualMachinePlansSpecs$outboundSchema, VirtualMachinePlansUSD$inboundSchema, VirtualMachinePlansUSD$outboundSchema, VirtualMachinePlansBRL$inboundSchema, VirtualMachinePlansBRL$outboundSchema, VirtualMachinePlansPricing$inboundSchema, VirtualMachinePlansPricing$outboundSchema, VirtualMachinePlansLocations$inboundSchema, VirtualMachinePlansLocations$outboundSchema, VirtualMachinePlansRegionStockLevel$inboundSchema, VirtualMachinePlansRegionStockLevel$outboundSchema, VirtualMachinePlansRegion$inboundSchema, VirtualMachinePlansRegion$outboundSchema, VirtualMachinePlansStockLevel$inboundSchema, VirtualMachinePlansStockLevel$outboundSchema, VirtualMachinePlansAttributes$inboundSchema, VirtualMachinePlansAttributes$outboundSchema, VirtualMachinePlansData$inboundSchema, VirtualMachinePlansData$outboundSchema, VirtualMachinePlans$inboundSchema, VirtualMachinePlans$outboundSchema;
|
|
59567
|
+
var init_virtualmachineplans = __esm(() => {
|
|
59568
|
+
init_v3();
|
|
59569
|
+
init_primitives();
|
|
59570
|
+
VirtualMachinePlansType = {
|
|
59571
|
+
VirtualMachinePlans: "virtual_machine_plans"
|
|
59572
|
+
};
|
|
59573
|
+
VirtualMachinePlansUnit = {
|
|
59574
|
+
Gib: "gib"
|
|
59575
|
+
};
|
|
59576
|
+
VirtualMachinePlansRegionStockLevel = {
|
|
59577
|
+
Low: "low",
|
|
59578
|
+
Unavailable: "unavailable",
|
|
59579
|
+
Medium: "medium",
|
|
59580
|
+
High: "high"
|
|
59197
59581
|
};
|
|
59198
59582
|
VirtualMachinePlansStockLevel = {
|
|
59199
59583
|
Low: "low",
|
|
@@ -59414,10 +59798,12 @@ var init_virtualmachineupdatepayload = __esm(() => {
|
|
|
59414
59798
|
VirtualMachineUpdatePayloadType$inboundSchema = nativeEnumType(VirtualMachineUpdatePayloadType);
|
|
59415
59799
|
VirtualMachineUpdatePayloadType$outboundSchema = VirtualMachineUpdatePayloadType$inboundSchema;
|
|
59416
59800
|
VirtualMachineUpdatePayloadAttributes$inboundSchema = objectType({
|
|
59417
|
-
name: stringType()
|
|
59801
|
+
name: stringType().optional(),
|
|
59802
|
+
tags: nullableType(arrayType(stringType())).optional()
|
|
59418
59803
|
});
|
|
59419
59804
|
VirtualMachineUpdatePayloadAttributes$outboundSchema = objectType({
|
|
59420
|
-
name: stringType()
|
|
59805
|
+
name: stringType().optional(),
|
|
59806
|
+
tags: nullableType(arrayType(stringType())).optional()
|
|
59421
59807
|
});
|
|
59422
59808
|
VirtualMachineUpdatePayloadData$inboundSchema = objectType({
|
|
59423
59809
|
type: VirtualMachineUpdatePayloadType$inboundSchema,
|
|
@@ -59438,7 +59824,7 @@ var init_virtualmachineupdatepayload = __esm(() => {
|
|
|
59438
59824
|
});
|
|
59439
59825
|
|
|
59440
59826
|
// src/models/virtualnetworkdata.ts
|
|
59441
|
-
var VirtualNetworkDataType, VirtualNetworkDataType$inboundSchema, VirtualNetworkDataType$outboundSchema, VirtualNetworkDataSite$inboundSchema, VirtualNetworkDataSite$outboundSchema, VirtualNetworkDataRegion$inboundSchema, VirtualNetworkDataRegion$outboundSchema,
|
|
59827
|
+
var VirtualNetworkDataType, VirtualNetworkDataType$inboundSchema, VirtualNetworkDataType$outboundSchema, VirtualNetworkDataSite$inboundSchema, VirtualNetworkDataSite$outboundSchema, VirtualNetworkDataRegion$inboundSchema, VirtualNetworkDataRegion$outboundSchema, VirtualNetworkDataTag$inboundSchema, VirtualNetworkDataTag$outboundSchema, VirtualNetworkDataAttributes$inboundSchema, VirtualNetworkDataAttributes$outboundSchema, VirtualNetworkData$inboundSchema, VirtualNetworkData$outboundSchema;
|
|
59442
59828
|
var init_virtualnetworkdata = __esm(() => {
|
|
59443
59829
|
init_v3();
|
|
59444
59830
|
init_primitives();
|
|
@@ -59470,13 +59856,13 @@ var init_virtualnetworkdata = __esm(() => {
|
|
|
59470
59856
|
country: stringType().optional(),
|
|
59471
59857
|
site: lazyType(() => VirtualNetworkDataSite$outboundSchema).optional()
|
|
59472
59858
|
});
|
|
59473
|
-
|
|
59859
|
+
VirtualNetworkDataTag$inboundSchema = objectType({
|
|
59474
59860
|
id: stringType().optional(),
|
|
59475
59861
|
name: stringType().optional(),
|
|
59476
59862
|
description: stringType().optional(),
|
|
59477
59863
|
color: stringType().optional()
|
|
59478
59864
|
});
|
|
59479
|
-
|
|
59865
|
+
VirtualNetworkDataTag$outboundSchema = objectType({
|
|
59480
59866
|
id: stringType().optional(),
|
|
59481
59867
|
name: stringType().optional(),
|
|
59482
59868
|
description: stringType().optional(),
|
|
@@ -59490,7 +59876,7 @@ var init_virtualnetworkdata = __esm(() => {
|
|
|
59490
59876
|
region: lazyType(() => VirtualNetworkDataRegion$inboundSchema).optional(),
|
|
59491
59877
|
created_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
59492
59878
|
assignments_count: numberType().int().optional(),
|
|
59493
|
-
tags: arrayType(lazyType(() =>
|
|
59879
|
+
tags: arrayType(lazyType(() => VirtualNetworkDataTag$inboundSchema)).optional()
|
|
59494
59880
|
}).transform((v2) => {
|
|
59495
59881
|
return remap(v2, {
|
|
59496
59882
|
created_at: "createdAt",
|
|
@@ -59505,7 +59891,7 @@ var init_virtualnetworkdata = __esm(() => {
|
|
|
59505
59891
|
region: lazyType(() => VirtualNetworkDataRegion$outboundSchema).optional(),
|
|
59506
59892
|
createdAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
59507
59893
|
assignmentsCount: numberType().int().optional(),
|
|
59508
|
-
tags: arrayType(lazyType(() =>
|
|
59894
|
+
tags: arrayType(lazyType(() => VirtualNetworkDataTag$outboundSchema)).optional()
|
|
59509
59895
|
}).transform((v2) => {
|
|
59510
59896
|
return remap(v2, {
|
|
59511
59897
|
createdAt: "created_at",
|
|
@@ -59821,6 +60207,7 @@ var init_models = __esm(() => {
|
|
|
59821
60207
|
init_firewalls();
|
|
59822
60208
|
init_firewallserver();
|
|
59823
60209
|
init_ipaddress();
|
|
60210
|
+
init_ipaddressdata();
|
|
59824
60211
|
init_ipaddresses();
|
|
59825
60212
|
init_ipmisession();
|
|
59826
60213
|
init_kubernetesavailableversions();
|
|
@@ -59837,6 +60224,7 @@ var init_models = __esm(() => {
|
|
|
59837
60224
|
init_operatingsystemdata();
|
|
59838
60225
|
init_operatingsystems();
|
|
59839
60226
|
init_outofbandconnection();
|
|
60227
|
+
init_paginationmeta();
|
|
59840
60228
|
init_plan();
|
|
59841
60229
|
init_plandata();
|
|
59842
60230
|
init_project();
|
|
@@ -59878,6 +60266,10 @@ var init_models = __esm(() => {
|
|
|
59878
60266
|
init_userupdate();
|
|
59879
60267
|
init_virtualmachine();
|
|
59880
60268
|
init_virtualmachineattributes();
|
|
60269
|
+
init_virtualmachinemetrics();
|
|
60270
|
+
init_virtualmachinenetworkattachmentcreatepayload();
|
|
60271
|
+
init_virtualmachinenetworkattachmentresource();
|
|
60272
|
+
init_virtualmachinenetworkattachments();
|
|
59881
60273
|
init_virtualmachinepayload();
|
|
59882
60274
|
init_virtualmachineplans();
|
|
59883
60275
|
init_virtualmachines();
|
|
@@ -60692,6 +61084,44 @@ var init_createvirtualmachineaction = __esm(() => {
|
|
|
60692
61084
|
});
|
|
60693
61085
|
});
|
|
60694
61086
|
|
|
61087
|
+
// src/models/operations/createvirtualmachinenetworkattachment.ts
|
|
61088
|
+
var CreateVirtualMachineNetworkAttachmentRequest$inboundSchema, CreateVirtualMachineNetworkAttachmentRequest$outboundSchema, CreateVirtualMachineNetworkAttachmentMeta$inboundSchema, CreateVirtualMachineNetworkAttachmentMeta$outboundSchema, CreateVirtualMachineNetworkAttachmentResponse$inboundSchema, CreateVirtualMachineNetworkAttachmentResponse$outboundSchema;
|
|
61089
|
+
var init_createvirtualmachinenetworkattachment = __esm(() => {
|
|
61090
|
+
init_v3();
|
|
61091
|
+
init_primitives();
|
|
61092
|
+
init_models();
|
|
61093
|
+
CreateVirtualMachineNetworkAttachmentRequest$inboundSchema = objectType({
|
|
61094
|
+
virtual_machine_id: stringType(),
|
|
61095
|
+
virtual_machine_network_attachment_create_payload: VirtualMachineNetworkAttachmentCreatePayload$inboundSchema
|
|
61096
|
+
}).transform((v2) => {
|
|
61097
|
+
return remap(v2, {
|
|
61098
|
+
virtual_machine_id: "virtualMachineId",
|
|
61099
|
+
virtual_machine_network_attachment_create_payload: "virtualMachineNetworkAttachmentCreatePayload"
|
|
61100
|
+
});
|
|
61101
|
+
});
|
|
61102
|
+
CreateVirtualMachineNetworkAttachmentRequest$outboundSchema = objectType({
|
|
61103
|
+
virtualMachineId: stringType(),
|
|
61104
|
+
virtualMachineNetworkAttachmentCreatePayload: VirtualMachineNetworkAttachmentCreatePayload$outboundSchema
|
|
61105
|
+
}).transform((v2) => {
|
|
61106
|
+
return remap(v2, {
|
|
61107
|
+
virtualMachineId: "virtual_machine_id",
|
|
61108
|
+
virtualMachineNetworkAttachmentCreatePayload: "virtual_machine_network_attachment_create_payload"
|
|
61109
|
+
});
|
|
61110
|
+
});
|
|
61111
|
+
CreateVirtualMachineNetworkAttachmentMeta$inboundSchema = objectType({
|
|
61112
|
+
status: stringType().optional()
|
|
61113
|
+
});
|
|
61114
|
+
CreateVirtualMachineNetworkAttachmentMeta$outboundSchema = objectType({
|
|
61115
|
+
status: stringType().optional()
|
|
61116
|
+
});
|
|
61117
|
+
CreateVirtualMachineNetworkAttachmentResponse$inboundSchema = objectType({
|
|
61118
|
+
meta: lazyType(() => CreateVirtualMachineNetworkAttachmentMeta$inboundSchema).optional()
|
|
61119
|
+
});
|
|
61120
|
+
CreateVirtualMachineNetworkAttachmentResponse$outboundSchema = objectType({
|
|
61121
|
+
meta: lazyType(() => CreateVirtualMachineNetworkAttachmentMeta$outboundSchema).optional()
|
|
61122
|
+
});
|
|
61123
|
+
});
|
|
61124
|
+
|
|
60695
61125
|
// src/models/operations/createvirtualnetwork.ts
|
|
60696
61126
|
var CreateVirtualNetworkType2, CreateVirtualNetworkSite2, CreateVirtualNetworkType2$inboundSchema, CreateVirtualNetworkType2$outboundSchema, CreateVirtualNetworkSite2$inboundSchema, CreateVirtualNetworkSite2$outboundSchema, CreateVirtualNetworkAttributes2$inboundSchema, CreateVirtualNetworkAttributes2$outboundSchema, CreateVirtualNetworkData2$inboundSchema, CreateVirtualNetworkData2$outboundSchema, CreateVirtualNetworkRequest$inboundSchema, CreateVirtualNetworkRequest$outboundSchema;
|
|
60697
61127
|
var init_createvirtualnetwork = __esm(() => {
|
|
@@ -61144,6 +61574,41 @@ var init_destroyvirtualmachine = __esm(() => {
|
|
|
61144
61574
|
});
|
|
61145
61575
|
});
|
|
61146
61576
|
|
|
61577
|
+
// src/models/operations/destroyvirtualmachinenetworkattachment.ts
|
|
61578
|
+
var DestroyVirtualMachineNetworkAttachmentRequest$inboundSchema, DestroyVirtualMachineNetworkAttachmentRequest$outboundSchema, DestroyVirtualMachineNetworkAttachmentMeta$inboundSchema, DestroyVirtualMachineNetworkAttachmentMeta$outboundSchema, DestroyVirtualMachineNetworkAttachmentResponse$inboundSchema, DestroyVirtualMachineNetworkAttachmentResponse$outboundSchema;
|
|
61579
|
+
var init_destroyvirtualmachinenetworkattachment = __esm(() => {
|
|
61580
|
+
init_v3();
|
|
61581
|
+
init_primitives();
|
|
61582
|
+
DestroyVirtualMachineNetworkAttachmentRequest$inboundSchema = objectType({
|
|
61583
|
+
virtual_machine_id: stringType(),
|
|
61584
|
+
id: stringType()
|
|
61585
|
+
}).transform((v2) => {
|
|
61586
|
+
return remap(v2, {
|
|
61587
|
+
virtual_machine_id: "virtualMachineId"
|
|
61588
|
+
});
|
|
61589
|
+
});
|
|
61590
|
+
DestroyVirtualMachineNetworkAttachmentRequest$outboundSchema = objectType({
|
|
61591
|
+
virtualMachineId: stringType(),
|
|
61592
|
+
id: stringType()
|
|
61593
|
+
}).transform((v2) => {
|
|
61594
|
+
return remap(v2, {
|
|
61595
|
+
virtualMachineId: "virtual_machine_id"
|
|
61596
|
+
});
|
|
61597
|
+
});
|
|
61598
|
+
DestroyVirtualMachineNetworkAttachmentMeta$inboundSchema = objectType({
|
|
61599
|
+
status: stringType().optional()
|
|
61600
|
+
});
|
|
61601
|
+
DestroyVirtualMachineNetworkAttachmentMeta$outboundSchema = objectType({
|
|
61602
|
+
status: stringType().optional()
|
|
61603
|
+
});
|
|
61604
|
+
DestroyVirtualMachineNetworkAttachmentResponse$inboundSchema = objectType({
|
|
61605
|
+
meta: lazyType(() => DestroyVirtualMachineNetworkAttachmentMeta$inboundSchema).optional()
|
|
61606
|
+
});
|
|
61607
|
+
DestroyVirtualMachineNetworkAttachmentResponse$outboundSchema = objectType({
|
|
61608
|
+
meta: lazyType(() => DestroyVirtualMachineNetworkAttachmentMeta$outboundSchema).optional()
|
|
61609
|
+
});
|
|
61610
|
+
});
|
|
61611
|
+
|
|
61147
61612
|
// src/models/operations/destroyvirtualnetwork.ts
|
|
61148
61613
|
var DestroyVirtualNetworkRequest$inboundSchema, DestroyVirtualNetworkRequest$outboundSchema;
|
|
61149
61614
|
var init_destroyvirtualnetwork = __esm(() => {
|
|
@@ -61308,7 +61773,7 @@ var init_getelasticip = __esm(() => {
|
|
|
61308
61773
|
});
|
|
61309
61774
|
|
|
61310
61775
|
// src/models/operations/getevents.ts
|
|
61311
|
-
var GetEventsRequest$inboundSchema, GetEventsRequest$outboundSchema,
|
|
61776
|
+
var GetEventsRequest$inboundSchema, GetEventsRequest$outboundSchema, GetEventsResponse$inboundSchema, GetEventsResponse$outboundSchema;
|
|
61312
61777
|
var init_getevents = __esm(() => {
|
|
61313
61778
|
init_v3();
|
|
61314
61779
|
init_primitives();
|
|
@@ -61363,21 +61828,15 @@ var init_getevents = __esm(() => {
|
|
|
61363
61828
|
pageNumber: "page[number]"
|
|
61364
61829
|
});
|
|
61365
61830
|
});
|
|
61366
|
-
GetEventsResponseBody$inboundSchema = objectType({
|
|
61367
|
-
data: arrayType(Events$inboundSchema).optional()
|
|
61368
|
-
});
|
|
61369
|
-
GetEventsResponseBody$outboundSchema = objectType({
|
|
61370
|
-
data: arrayType(Events$outboundSchema).optional()
|
|
61371
|
-
});
|
|
61372
61831
|
GetEventsResponse$inboundSchema = objectType({
|
|
61373
|
-
Result:
|
|
61832
|
+
Result: Events$inboundSchema
|
|
61374
61833
|
}).transform((v2) => {
|
|
61375
61834
|
return remap(v2, {
|
|
61376
61835
|
Result: "result"
|
|
61377
61836
|
});
|
|
61378
61837
|
});
|
|
61379
61838
|
GetEventsResponse$outboundSchema = objectType({
|
|
61380
|
-
result:
|
|
61839
|
+
result: Events$outboundSchema
|
|
61381
61840
|
}).transform((v2) => {
|
|
61382
61841
|
return remap(v2, {
|
|
61383
61842
|
result: "Result"
|
|
@@ -61688,7 +62147,7 @@ var init_getplans = __esm(() => {
|
|
|
61688
62147
|
});
|
|
61689
62148
|
|
|
61690
62149
|
// src/models/operations/getplansoperatingsystem.ts
|
|
61691
|
-
var GetPlansOperatingSystemRequest$inboundSchema, GetPlansOperatingSystemRequest$outboundSchema,
|
|
62150
|
+
var GetPlansOperatingSystemRequest$inboundSchema, GetPlansOperatingSystemRequest$outboundSchema, GetPlansOperatingSystemResponse$inboundSchema, GetPlansOperatingSystemResponse$outboundSchema;
|
|
61692
62151
|
var init_getplansoperatingsystem = __esm(() => {
|
|
61693
62152
|
init_v3();
|
|
61694
62153
|
init_primitives();
|
|
@@ -61711,21 +62170,15 @@ var init_getplansoperatingsystem = __esm(() => {
|
|
|
61711
62170
|
pageNumber: "page[number]"
|
|
61712
62171
|
});
|
|
61713
62172
|
});
|
|
61714
|
-
GetPlansOperatingSystemResponseBody$inboundSchema = objectType({
|
|
61715
|
-
data: arrayType(OperatingSystems$inboundSchema).optional()
|
|
61716
|
-
});
|
|
61717
|
-
GetPlansOperatingSystemResponseBody$outboundSchema = objectType({
|
|
61718
|
-
data: arrayType(OperatingSystems$outboundSchema).optional()
|
|
61719
|
-
});
|
|
61720
62173
|
GetPlansOperatingSystemResponse$inboundSchema = objectType({
|
|
61721
|
-
Result:
|
|
62174
|
+
Result: OperatingSystems$inboundSchema
|
|
61722
62175
|
}).transform((v2) => {
|
|
61723
62176
|
return remap(v2, {
|
|
61724
62177
|
Result: "result"
|
|
61725
62178
|
});
|
|
61726
62179
|
});
|
|
61727
62180
|
GetPlansOperatingSystemResponse$outboundSchema = objectType({
|
|
61728
|
-
result:
|
|
62181
|
+
result: OperatingSystems$outboundSchema
|
|
61729
62182
|
}).transform((v2) => {
|
|
61730
62183
|
return remap(v2, {
|
|
61731
62184
|
result: "Result"
|
|
@@ -61840,20 +62293,32 @@ var init_getprojectsshkeys = __esm(() => {
|
|
|
61840
62293
|
init_primitives();
|
|
61841
62294
|
GetProjectSshKeysRequest$inboundSchema = objectType({
|
|
61842
62295
|
project_id: stringType(),
|
|
61843
|
-
"filter[tags]": stringType().optional()
|
|
62296
|
+
"filter[tags]": stringType().optional(),
|
|
62297
|
+
"stats[total]": stringType().optional(),
|
|
62298
|
+
"page[number]": numberType().int().optional(),
|
|
62299
|
+
"page[size]": numberType().int().optional()
|
|
61844
62300
|
}).transform((v2) => {
|
|
61845
62301
|
return remap(v2, {
|
|
61846
62302
|
project_id: "projectId",
|
|
61847
|
-
"filter[tags]": "filterTags"
|
|
62303
|
+
"filter[tags]": "filterTags",
|
|
62304
|
+
"stats[total]": "statsTotal",
|
|
62305
|
+
"page[number]": "pageNumber",
|
|
62306
|
+
"page[size]": "pageSize"
|
|
61848
62307
|
});
|
|
61849
62308
|
});
|
|
61850
62309
|
GetProjectSshKeysRequest$outboundSchema = objectType({
|
|
61851
62310
|
projectId: stringType(),
|
|
61852
|
-
filterTags: stringType().optional()
|
|
62311
|
+
filterTags: stringType().optional(),
|
|
62312
|
+
statsTotal: stringType().optional(),
|
|
62313
|
+
pageNumber: numberType().int().optional(),
|
|
62314
|
+
pageSize: numberType().int().optional()
|
|
61853
62315
|
}).transform((v2) => {
|
|
61854
62316
|
return remap(v2, {
|
|
61855
62317
|
projectId: "project_id",
|
|
61856
|
-
filterTags: "filter[tags]"
|
|
62318
|
+
filterTags: "filter[tags]",
|
|
62319
|
+
statsTotal: "stats[total]",
|
|
62320
|
+
pageNumber: "page[number]",
|
|
62321
|
+
pageSize: "page[size]"
|
|
61857
62322
|
});
|
|
61858
62323
|
});
|
|
61859
62324
|
});
|
|
@@ -62126,7 +62591,9 @@ var init_getservers = __esm(() => {
|
|
|
62126
62591
|
"filter[ram][eql]": numberType().int().optional(),
|
|
62127
62592
|
"filter[ram][gte]": numberType().int().optional(),
|
|
62128
62593
|
"filter[ram][lte]": numberType().int().optional(),
|
|
62129
|
-
"filter[disk]": numberType().int().optional(),
|
|
62594
|
+
"filter[disk][eql]": numberType().int().optional(),
|
|
62595
|
+
"filter[disk][gte]": numberType().int().optional(),
|
|
62596
|
+
"filter[disk][lte]": numberType().int().optional(),
|
|
62130
62597
|
"filter[tags]": stringType().optional(),
|
|
62131
62598
|
"extra_fields[servers]": stringType().optional(),
|
|
62132
62599
|
"page[size]": numberType().int().default(20),
|
|
@@ -62145,7 +62612,9 @@ var init_getservers = __esm(() => {
|
|
|
62145
62612
|
"filter[ram][eql]": "filterRamEql",
|
|
62146
62613
|
"filter[ram][gte]": "filterRamGte",
|
|
62147
62614
|
"filter[ram][lte]": "filterRamLte",
|
|
62148
|
-
"filter[disk]": "
|
|
62615
|
+
"filter[disk][eql]": "filterDiskEql",
|
|
62616
|
+
"filter[disk][gte]": "filterDiskGte",
|
|
62617
|
+
"filter[disk][lte]": "filterDiskLte",
|
|
62149
62618
|
"filter[tags]": "filterTags",
|
|
62150
62619
|
"extra_fields[servers]": "extraFieldsServers",
|
|
62151
62620
|
"page[size]": "pageSize",
|
|
@@ -62165,7 +62634,9 @@ var init_getservers = __esm(() => {
|
|
|
62165
62634
|
filterRamEql: numberType().int().optional(),
|
|
62166
62635
|
filterRamGte: numberType().int().optional(),
|
|
62167
62636
|
filterRamLte: numberType().int().optional(),
|
|
62168
|
-
|
|
62637
|
+
filterDiskEql: numberType().int().optional(),
|
|
62638
|
+
filterDiskGte: numberType().int().optional(),
|
|
62639
|
+
filterDiskLte: numberType().int().optional(),
|
|
62169
62640
|
filterTags: stringType().optional(),
|
|
62170
62641
|
extraFieldsServers: stringType().optional(),
|
|
62171
62642
|
pageSize: numberType().int().default(20),
|
|
@@ -62184,7 +62655,9 @@ var init_getservers = __esm(() => {
|
|
|
62184
62655
|
filterRamEql: "filter[ram][eql]",
|
|
62185
62656
|
filterRamGte: "filter[ram][gte]",
|
|
62186
62657
|
filterRamLte: "filter[ram][lte]",
|
|
62187
|
-
|
|
62658
|
+
filterDiskEql: "filter[disk][eql]",
|
|
62659
|
+
filterDiskGte: "filter[disk][gte]",
|
|
62660
|
+
filterDiskLte: "filter[disk][lte]",
|
|
62188
62661
|
filterTags: "filter[tags]",
|
|
62189
62662
|
extraFieldsServers: "extra_fields[servers]",
|
|
62190
62663
|
pageSize: "page[size]",
|
|
@@ -62243,23 +62716,35 @@ var init_getsshkeys = __esm(() => {
|
|
|
62243
62716
|
GetSshKeysRequest$inboundSchema = objectType({
|
|
62244
62717
|
"filter[project]": stringType().optional(),
|
|
62245
62718
|
"filter[scope]": stringType().optional(),
|
|
62246
|
-
"filter[tags]": stringType().optional()
|
|
62719
|
+
"filter[tags]": stringType().optional(),
|
|
62720
|
+
"stats[total]": stringType().optional(),
|
|
62721
|
+
"page[number]": numberType().int().optional(),
|
|
62722
|
+
"page[size]": numberType().int().optional()
|
|
62247
62723
|
}).transform((v2) => {
|
|
62248
62724
|
return remap(v2, {
|
|
62249
62725
|
"filter[project]": "filterProject",
|
|
62250
62726
|
"filter[scope]": "filterScope",
|
|
62251
|
-
"filter[tags]": "filterTags"
|
|
62727
|
+
"filter[tags]": "filterTags",
|
|
62728
|
+
"stats[total]": "statsTotal",
|
|
62729
|
+
"page[number]": "pageNumber",
|
|
62730
|
+
"page[size]": "pageSize"
|
|
62252
62731
|
});
|
|
62253
62732
|
});
|
|
62254
62733
|
GetSshKeysRequest$outboundSchema = objectType({
|
|
62255
62734
|
filterProject: stringType().optional(),
|
|
62256
62735
|
filterScope: stringType().optional(),
|
|
62257
|
-
filterTags: stringType().optional()
|
|
62736
|
+
filterTags: stringType().optional(),
|
|
62737
|
+
statsTotal: stringType().optional(),
|
|
62738
|
+
pageNumber: numberType().int().optional(),
|
|
62739
|
+
pageSize: numberType().int().optional()
|
|
62258
62740
|
}).transform((v2) => {
|
|
62259
62741
|
return remap(v2, {
|
|
62260
62742
|
filterProject: "filter[project]",
|
|
62261
62743
|
filterScope: "filter[scope]",
|
|
62262
|
-
filterTags: "filter[tags]"
|
|
62744
|
+
filterTags: "filter[tags]",
|
|
62745
|
+
statsTotal: "stats[total]",
|
|
62746
|
+
pageNumber: "page[number]",
|
|
62747
|
+
pageSize: "page[size]"
|
|
62263
62748
|
});
|
|
62264
62749
|
});
|
|
62265
62750
|
});
|
|
@@ -62505,30 +62990,57 @@ var init_getuserprofile = __esm(() => {
|
|
|
62505
62990
|
});
|
|
62506
62991
|
|
|
62507
62992
|
// src/models/operations/getusersdata.ts
|
|
62508
|
-
var GetUsersDataRequest$inboundSchema, GetUsersDataRequest$outboundSchema;
|
|
62993
|
+
var GetUsersDataRequest$inboundSchema, GetUsersDataRequest$outboundSchema, GetUsersDataResponse$inboundSchema, GetUsersDataResponse$outboundSchema;
|
|
62509
62994
|
var init_getusersdata = __esm(() => {
|
|
62510
62995
|
init_v3();
|
|
62511
62996
|
init_primitives();
|
|
62997
|
+
init_models();
|
|
62512
62998
|
GetUsersDataRequest$inboundSchema = objectType({
|
|
62513
62999
|
"filter[project]": stringType().optional(),
|
|
62514
63000
|
"filter[scope]": stringType().optional(),
|
|
62515
|
-
"
|
|
63001
|
+
"stats[total]": stringType().optional(),
|
|
63002
|
+
"extra_fields[user_data]": stringType().default("decoded_content"),
|
|
63003
|
+
"page[size]": numberType().int().default(20),
|
|
63004
|
+
"page[number]": numberType().int().default(1)
|
|
62516
63005
|
}).transform((v2) => {
|
|
62517
63006
|
return remap(v2, {
|
|
62518
63007
|
"filter[project]": "filterProject",
|
|
62519
63008
|
"filter[scope]": "filterScope",
|
|
62520
|
-
"
|
|
63009
|
+
"stats[total]": "statsTotal",
|
|
63010
|
+
"extra_fields[user_data]": "extraFieldsUserData",
|
|
63011
|
+
"page[size]": "pageSize",
|
|
63012
|
+
"page[number]": "pageNumber"
|
|
62521
63013
|
});
|
|
62522
63014
|
});
|
|
62523
63015
|
GetUsersDataRequest$outboundSchema = objectType({
|
|
62524
63016
|
filterProject: stringType().optional(),
|
|
62525
63017
|
filterScope: stringType().optional(),
|
|
62526
|
-
|
|
63018
|
+
statsTotal: stringType().optional(),
|
|
63019
|
+
extraFieldsUserData: stringType().default("decoded_content"),
|
|
63020
|
+
pageSize: numberType().int().default(20),
|
|
63021
|
+
pageNumber: numberType().int().default(1)
|
|
62527
63022
|
}).transform((v2) => {
|
|
62528
63023
|
return remap(v2, {
|
|
62529
63024
|
filterProject: "filter[project]",
|
|
62530
63025
|
filterScope: "filter[scope]",
|
|
62531
|
-
|
|
63026
|
+
statsTotal: "stats[total]",
|
|
63027
|
+
extraFieldsUserData: "extra_fields[user_data]",
|
|
63028
|
+
pageSize: "page[size]",
|
|
63029
|
+
pageNumber: "page[number]"
|
|
63030
|
+
});
|
|
63031
|
+
});
|
|
63032
|
+
GetUsersDataResponse$inboundSchema = objectType({
|
|
63033
|
+
Result: UserData$inboundSchema
|
|
63034
|
+
}).transform((v2) => {
|
|
63035
|
+
return remap(v2, {
|
|
63036
|
+
Result: "result"
|
|
63037
|
+
});
|
|
63038
|
+
});
|
|
63039
|
+
GetUsersDataResponse$outboundSchema = objectType({
|
|
63040
|
+
result: UserData$outboundSchema
|
|
63041
|
+
}).transform((v2) => {
|
|
63042
|
+
return remap(v2, {
|
|
63043
|
+
result: "Result"
|
|
62532
63044
|
});
|
|
62533
63045
|
});
|
|
62534
63046
|
});
|
|
@@ -62680,7 +63192,7 @@ var init_getvmplans = __esm(() => {
|
|
|
62680
63192
|
});
|
|
62681
63193
|
|
|
62682
63194
|
// src/models/operations/getvpnsessions.ts
|
|
62683
|
-
var FilterLocation, FilterLocation$inboundSchema, FilterLocation$outboundSchema, GetVpnSessionsRequest$inboundSchema, GetVpnSessionsRequest$outboundSchema,
|
|
63195
|
+
var FilterLocation, FilterLocation$inboundSchema, FilterLocation$outboundSchema, GetVpnSessionsRequest$inboundSchema, GetVpnSessionsRequest$outboundSchema, GetVpnSessionsMeta$inboundSchema, GetVpnSessionsMeta$outboundSchema, GetVpnSessionsResponse$inboundSchema, GetVpnSessionsResponse$outboundSchema;
|
|
62684
63196
|
var init_getvpnsessions = __esm(() => {
|
|
62685
63197
|
init_v3();
|
|
62686
63198
|
init_primitives();
|
|
@@ -62721,15 +63233,15 @@ var init_getvpnsessions = __esm(() => {
|
|
|
62721
63233
|
filterLocation: "filter[location]"
|
|
62722
63234
|
});
|
|
62723
63235
|
});
|
|
62724
|
-
|
|
62725
|
-
|
|
63236
|
+
GetVpnSessionsMeta$inboundSchema = objectType({});
|
|
63237
|
+
GetVpnSessionsMeta$outboundSchema = objectType({});
|
|
62726
63238
|
GetVpnSessionsResponse$inboundSchema = objectType({
|
|
62727
63239
|
data: arrayType(VpnSessionDataWithPassword$inboundSchema).optional(),
|
|
62728
|
-
meta: lazyType(() =>
|
|
63240
|
+
meta: lazyType(() => GetVpnSessionsMeta$inboundSchema).optional()
|
|
62729
63241
|
});
|
|
62730
63242
|
GetVpnSessionsResponse$outboundSchema = objectType({
|
|
62731
63243
|
data: arrayType(VpnSessionDataWithPassword$outboundSchema).optional(),
|
|
62732
|
-
meta: lazyType(() =>
|
|
63244
|
+
meta: lazyType(() => GetVpnSessionsMeta$outboundSchema).optional()
|
|
62733
63245
|
});
|
|
62734
63246
|
});
|
|
62735
63247
|
|
|
@@ -62740,19 +63252,23 @@ var init_indexvirtualmachine = __esm(() => {
|
|
|
62740
63252
|
init_primitives();
|
|
62741
63253
|
IndexVirtualMachineRequest$inboundSchema = objectType({
|
|
62742
63254
|
"filter[project]": stringType().optional(),
|
|
63255
|
+
"filter[tags]": stringType().optional(),
|
|
62743
63256
|
"extra_fields[virtual_machines]": stringType().optional()
|
|
62744
63257
|
}).transform((v2) => {
|
|
62745
63258
|
return remap(v2, {
|
|
62746
63259
|
"filter[project]": "filterProject",
|
|
63260
|
+
"filter[tags]": "filterTags",
|
|
62747
63261
|
"extra_fields[virtual_machines]": "extraFieldsVirtualMachines"
|
|
62748
63262
|
});
|
|
62749
63263
|
});
|
|
62750
63264
|
IndexVirtualMachineRequest$outboundSchema = objectType({
|
|
62751
63265
|
filterProject: stringType().optional(),
|
|
63266
|
+
filterTags: stringType().optional(),
|
|
62752
63267
|
extraFieldsVirtualMachines: stringType().optional()
|
|
62753
63268
|
}).transform((v2) => {
|
|
62754
63269
|
return remap(v2, {
|
|
62755
63270
|
filterProject: "filter[project]",
|
|
63271
|
+
filterTags: "filter[tags]",
|
|
62756
63272
|
extraFieldsVirtualMachines: "extra_fields[virtual_machines]"
|
|
62757
63273
|
});
|
|
62758
63274
|
});
|
|
@@ -62884,8 +63400,29 @@ var init_listkubernetesclusters = __esm(() => {
|
|
|
62884
63400
|
});
|
|
62885
63401
|
});
|
|
62886
63402
|
|
|
63403
|
+
// src/models/operations/listvirtualmachinenetworkattachments.ts
|
|
63404
|
+
var ListVirtualMachineNetworkAttachmentsRequest$inboundSchema, ListVirtualMachineNetworkAttachmentsRequest$outboundSchema;
|
|
63405
|
+
var init_listvirtualmachinenetworkattachments = __esm(() => {
|
|
63406
|
+
init_v3();
|
|
63407
|
+
init_primitives();
|
|
63408
|
+
ListVirtualMachineNetworkAttachmentsRequest$inboundSchema = objectType({
|
|
63409
|
+
virtual_machine_id: stringType()
|
|
63410
|
+
}).transform((v2) => {
|
|
63411
|
+
return remap(v2, {
|
|
63412
|
+
virtual_machine_id: "virtualMachineId"
|
|
63413
|
+
});
|
|
63414
|
+
});
|
|
63415
|
+
ListVirtualMachineNetworkAttachmentsRequest$outboundSchema = objectType({
|
|
63416
|
+
virtualMachineId: stringType()
|
|
63417
|
+
}).transform((v2) => {
|
|
63418
|
+
return remap(v2, {
|
|
63419
|
+
virtualMachineId: "virtual_machine_id"
|
|
63420
|
+
});
|
|
63421
|
+
});
|
|
63422
|
+
});
|
|
63423
|
+
|
|
62887
63424
|
// src/models/operations/patchcurrentteam.ts
|
|
62888
|
-
var PatchCurrentTeamType2,
|
|
63425
|
+
var PatchCurrentTeamType2, PatchCurrentTeamType2$inboundSchema, PatchCurrentTeamType2$outboundSchema, PatchCurrentTeamAttributes2$inboundSchema, PatchCurrentTeamAttributes2$outboundSchema, PatchCurrentTeamData2$inboundSchema, PatchCurrentTeamData2$outboundSchema, PatchCurrentTeamRequestBody2$inboundSchema, PatchCurrentTeamRequestBody2$outboundSchema, PatchCurrentTeamRequest$inboundSchema, PatchCurrentTeamRequest$outboundSchema, PatchCurrentTeamResponse$inboundSchema, PatchCurrentTeamResponse$outboundSchema;
|
|
62889
63426
|
var init_patchcurrentteam = __esm(() => {
|
|
62890
63427
|
init_v3();
|
|
62891
63428
|
init_primitives();
|
|
@@ -62893,32 +63430,24 @@ var init_patchcurrentteam = __esm(() => {
|
|
|
62893
63430
|
PatchCurrentTeamType2 = {
|
|
62894
63431
|
Teams: "teams"
|
|
62895
63432
|
};
|
|
62896
|
-
PatchCurrentTeamCurrency2 = {
|
|
62897
|
-
Usd: "USD",
|
|
62898
|
-
Brl: "BRL"
|
|
62899
|
-
};
|
|
62900
63433
|
PatchCurrentTeamType2$inboundSchema = nativeEnumType(PatchCurrentTeamType2);
|
|
62901
63434
|
PatchCurrentTeamType2$outboundSchema = PatchCurrentTeamType2$inboundSchema;
|
|
62902
|
-
PatchCurrentTeamCurrency2$inboundSchema = nativeEnumType(PatchCurrentTeamCurrency2);
|
|
62903
|
-
PatchCurrentTeamCurrency2$outboundSchema = PatchCurrentTeamCurrency2$inboundSchema;
|
|
62904
63435
|
PatchCurrentTeamAttributes2$inboundSchema = objectType({
|
|
62905
63436
|
address: stringType().optional(),
|
|
62906
63437
|
name: stringType().optional(),
|
|
62907
|
-
|
|
62908
|
-
referred_code: stringType().optional()
|
|
63438
|
+
enforce_mfa: booleanType().optional()
|
|
62909
63439
|
}).transform((v2) => {
|
|
62910
63440
|
return remap(v2, {
|
|
62911
|
-
|
|
63441
|
+
enforce_mfa: "enforceMfa"
|
|
62912
63442
|
});
|
|
62913
63443
|
});
|
|
62914
63444
|
PatchCurrentTeamAttributes2$outboundSchema = objectType({
|
|
62915
63445
|
address: stringType().optional(),
|
|
62916
63446
|
name: stringType().optional(),
|
|
62917
|
-
|
|
62918
|
-
referredCode: stringType().optional()
|
|
63447
|
+
enforceMfa: booleanType().optional()
|
|
62919
63448
|
}).transform((v2) => {
|
|
62920
63449
|
return remap(v2, {
|
|
62921
|
-
|
|
63450
|
+
enforceMfa: "enforce_mfa"
|
|
62922
63451
|
});
|
|
62923
63452
|
});
|
|
62924
63453
|
PatchCurrentTeamData2$inboundSchema = objectType({
|
|
@@ -63579,7 +64108,7 @@ var init_poststoragevolumesmount = __esm(() => {
|
|
|
63579
64108
|
});
|
|
63580
64109
|
|
|
63581
64110
|
// src/models/operations/postteam.ts
|
|
63582
|
-
var PostTeamType2,
|
|
64111
|
+
var PostTeamType2, Currency2, PostTeamType2$inboundSchema, PostTeamType2$outboundSchema, Currency2$inboundSchema, Currency2$outboundSchema, PostTeamAttributes2$inboundSchema, PostTeamAttributes2$outboundSchema, PostTeamData2$inboundSchema, PostTeamData2$outboundSchema, PostTeamRequest$inboundSchema, PostTeamRequest$outboundSchema, PostTeamResponse$inboundSchema, PostTeamResponse$outboundSchema;
|
|
63583
64112
|
var init_postteam = __esm(() => {
|
|
63584
64113
|
init_v3();
|
|
63585
64114
|
init_primitives();
|
|
@@ -63587,31 +64116,35 @@ var init_postteam = __esm(() => {
|
|
|
63587
64116
|
PostTeamType2 = {
|
|
63588
64117
|
Teams: "teams"
|
|
63589
64118
|
};
|
|
63590
|
-
|
|
64119
|
+
Currency2 = {
|
|
63591
64120
|
Usd: "USD",
|
|
63592
64121
|
Brl: "BRL"
|
|
63593
64122
|
};
|
|
63594
64123
|
PostTeamType2$inboundSchema = nativeEnumType(PostTeamType2);
|
|
63595
64124
|
PostTeamType2$outboundSchema = PostTeamType2$inboundSchema;
|
|
63596
|
-
|
|
63597
|
-
|
|
64125
|
+
Currency2$inboundSchema = nativeEnumType(Currency2);
|
|
64126
|
+
Currency2$outboundSchema = Currency2$inboundSchema;
|
|
63598
64127
|
PostTeamAttributes2$inboundSchema = objectType({
|
|
63599
64128
|
name: stringType(),
|
|
63600
|
-
currency:
|
|
64129
|
+
currency: Currency2$inboundSchema,
|
|
63601
64130
|
address: stringType().optional(),
|
|
64131
|
+
enforce_mfa: booleanType().optional(),
|
|
63602
64132
|
referred_code: stringType().optional()
|
|
63603
64133
|
}).transform((v2) => {
|
|
63604
64134
|
return remap(v2, {
|
|
64135
|
+
enforce_mfa: "enforceMfa",
|
|
63605
64136
|
referred_code: "referredCode"
|
|
63606
64137
|
});
|
|
63607
64138
|
});
|
|
63608
64139
|
PostTeamAttributes2$outboundSchema = objectType({
|
|
63609
64140
|
name: stringType(),
|
|
63610
|
-
currency:
|
|
64141
|
+
currency: Currency2$outboundSchema,
|
|
63611
64142
|
address: stringType().optional(),
|
|
64143
|
+
enforceMfa: booleanType().optional(),
|
|
63612
64144
|
referredCode: stringType().optional()
|
|
63613
64145
|
}).transform((v2) => {
|
|
63614
64146
|
return remap(v2, {
|
|
64147
|
+
enforceMfa: "enforce_mfa",
|
|
63615
64148
|
referredCode: "referred_code"
|
|
63616
64149
|
});
|
|
63617
64150
|
});
|
|
@@ -64176,6 +64709,51 @@ var init_showvirtualmachine = __esm(() => {
|
|
|
64176
64709
|
});
|
|
64177
64710
|
});
|
|
64178
64711
|
|
|
64712
|
+
// src/models/operations/showvirtualmachinemetrics.ts
|
|
64713
|
+
var Metric2, Range2, Metric$inboundSchema2, Metric$outboundSchema2, Range$inboundSchema2, Range$outboundSchema2, ShowVirtualMachineMetricsRequest$inboundSchema, ShowVirtualMachineMetricsRequest$outboundSchema;
|
|
64714
|
+
var init_showvirtualmachinemetrics = __esm(() => {
|
|
64715
|
+
init_v3();
|
|
64716
|
+
init_primitives();
|
|
64717
|
+
Metric2 = {
|
|
64718
|
+
Cpu: "cpu",
|
|
64719
|
+
Memory: "memory",
|
|
64720
|
+
Network: "network",
|
|
64721
|
+
Disk: "disk"
|
|
64722
|
+
};
|
|
64723
|
+
Range2 = {
|
|
64724
|
+
Fivem: "5m",
|
|
64725
|
+
Fifteenm: "15m",
|
|
64726
|
+
Oneh: "1h",
|
|
64727
|
+
TwentyFourh: "24h"
|
|
64728
|
+
};
|
|
64729
|
+
Metric$inboundSchema2 = nativeEnumType(Metric2);
|
|
64730
|
+
Metric$outboundSchema2 = Metric$inboundSchema2;
|
|
64731
|
+
Range$inboundSchema2 = nativeEnumType(Range2);
|
|
64732
|
+
Range$outboundSchema2 = Range$inboundSchema2;
|
|
64733
|
+
ShowVirtualMachineMetricsRequest$inboundSchema = objectType({
|
|
64734
|
+
virtual_machine_id: stringType(),
|
|
64735
|
+
metric: Metric$inboundSchema2,
|
|
64736
|
+
range: Range$inboundSchema2.optional(),
|
|
64737
|
+
force_refresh: booleanType().optional()
|
|
64738
|
+
}).transform((v2) => {
|
|
64739
|
+
return remap(v2, {
|
|
64740
|
+
virtual_machine_id: "virtualMachineId",
|
|
64741
|
+
force_refresh: "forceRefresh"
|
|
64742
|
+
});
|
|
64743
|
+
});
|
|
64744
|
+
ShowVirtualMachineMetricsRequest$outboundSchema = objectType({
|
|
64745
|
+
virtualMachineId: stringType(),
|
|
64746
|
+
metric: Metric$outboundSchema2,
|
|
64747
|
+
range: Range$outboundSchema2.optional(),
|
|
64748
|
+
forceRefresh: booleanType().optional()
|
|
64749
|
+
}).transform((v2) => {
|
|
64750
|
+
return remap(v2, {
|
|
64751
|
+
virtualMachineId: "virtual_machine_id",
|
|
64752
|
+
forceRefresh: "force_refresh"
|
|
64753
|
+
});
|
|
64754
|
+
});
|
|
64755
|
+
});
|
|
64756
|
+
|
|
64179
64757
|
// src/models/operations/updateapikey.ts
|
|
64180
64758
|
var UpdateApiKeyRequest$inboundSchema, UpdateApiKeyRequest$outboundSchema, UpdateApiKeyResponse$inboundSchema, UpdateApiKeyResponse$outboundSchema;
|
|
64181
64759
|
var init_updateapikey2 = __esm(() => {
|
|
@@ -64834,6 +65412,7 @@ var init_operations = __esm(() => {
|
|
|
64834
65412
|
init_createserverreinstall();
|
|
64835
65413
|
init_createtag();
|
|
64836
65414
|
init_createvirtualmachineaction();
|
|
65415
|
+
init_createvirtualmachinenetworkattachment();
|
|
64837
65416
|
init_createvirtualnetwork();
|
|
64838
65417
|
init_deleteapikey();
|
|
64839
65418
|
init_deleteelasticip();
|
|
@@ -64854,6 +65433,7 @@ var init_operations = __esm(() => {
|
|
|
64854
65433
|
init_destroytag();
|
|
64855
65434
|
init_destroyteammember();
|
|
64856
65435
|
init_destroyvirtualmachine();
|
|
65436
|
+
init_destroyvirtualmachinenetworkattachment();
|
|
64857
65437
|
init_destroyvirtualnetwork();
|
|
64858
65438
|
init_getallfirewallassignments();
|
|
64859
65439
|
init_getbandwidthplans();
|
|
@@ -64904,6 +65484,7 @@ var init_operations = __esm(() => {
|
|
|
64904
65484
|
init_listelasticips();
|
|
64905
65485
|
init_listfirewalls();
|
|
64906
65486
|
init_listkubernetesclusters();
|
|
65487
|
+
init_listvirtualmachinenetworkattachments();
|
|
64907
65488
|
init_patchcurrentteam();
|
|
64908
65489
|
init_patchstoragefilesystems();
|
|
64909
65490
|
init_patchuserdata();
|
|
@@ -64932,6 +65513,7 @@ var init_operations = __esm(() => {
|
|
|
64932
65513
|
init_serverunlock();
|
|
64933
65514
|
init_serverunscheduledeletion();
|
|
64934
65515
|
init_showvirtualmachine();
|
|
65516
|
+
init_showvirtualmachinemetrics();
|
|
64935
65517
|
init_updateapikey2();
|
|
64936
65518
|
init_updateelasticip2();
|
|
64937
65519
|
init_updatefirewall();
|
|
@@ -65691,7 +66273,7 @@ var init_blockStorageDeleteStorageVolumes2 = __esm(() => {
|
|
|
65691
66273
|
name: "block-storage-delete-storage-volumes",
|
|
65692
66274
|
description: `Delete volume
|
|
65693
66275
|
|
|
65694
|
-
Allows you to remove
|
|
66276
|
+
Allows you to remove a volume from a project.`,
|
|
65695
66277
|
args: args6,
|
|
65696
66278
|
tool: async (client, args7, ctx) => {
|
|
65697
66279
|
const [result, apiCall] = await blockStorageDeleteStorageVolumes(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -65797,7 +66379,7 @@ var init_blockStorageGetStorageVolume2 = __esm(() => {
|
|
|
65797
66379
|
name: "block-storage-get-storage-volume",
|
|
65798
66380
|
description: `Retrieve volume
|
|
65799
66381
|
|
|
65800
|
-
Shows details of a specific volume
|
|
66382
|
+
Shows details of a specific volume.`,
|
|
65801
66383
|
args: args7,
|
|
65802
66384
|
tool: async (client, args8, ctx) => {
|
|
65803
66385
|
const [result, apiCall] = await blockStorageGetStorageVolume(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -66162,7 +66744,7 @@ var init_blockStoragePostStorageVolumesMount2 = __esm(() => {
|
|
|
66162
66744
|
name: "block-storage-post-storage-volumes-mount",
|
|
66163
66745
|
description: `Mount volume
|
|
66164
66746
|
|
|
66165
|
-
Mounts volume
|
|
66747
|
+
Mounts a volume by adding the client to an allowed list`,
|
|
66166
66748
|
args: args10,
|
|
66167
66749
|
tool: async (client, args11, ctx) => {
|
|
66168
66750
|
const [result, apiCall] = await blockStoragePostStorageVolumesMount(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -66625,7 +67207,7 @@ async function $do15(client, request, options) {
|
|
|
66625
67207
|
if (!responseData) {
|
|
66626
67208
|
return { next: () => null };
|
|
66627
67209
|
}
|
|
66628
|
-
const results =
|
|
67210
|
+
const results = responseData.data;
|
|
66629
67211
|
if (!Array.isArray(results) || !results.length) {
|
|
66630
67212
|
return { next: () => null };
|
|
66631
67213
|
}
|
|
@@ -66890,7 +67472,7 @@ async function $do17(client, request, options) {
|
|
|
66890
67472
|
if (!responseData) {
|
|
66891
67473
|
return { next: () => null };
|
|
66892
67474
|
}
|
|
66893
|
-
const results =
|
|
67475
|
+
const results = responseData.data;
|
|
66894
67476
|
if (!Array.isArray(results) || !results.length) {
|
|
66895
67477
|
return { next: () => null };
|
|
66896
67478
|
}
|
|
@@ -67152,7 +67734,7 @@ var init_filesystemStorageDeleteFilesystem2 = __esm(() => {
|
|
|
67152
67734
|
name: "filesystem-storage-delete-filesystem",
|
|
67153
67735
|
description: `Delete filesystem
|
|
67154
67736
|
|
|
67155
|
-
Allows you to remove
|
|
67737
|
+
Allows you to remove a filesystem from a project.`,
|
|
67156
67738
|
args: args18,
|
|
67157
67739
|
tool: async (client, args19, ctx) => {
|
|
67158
67740
|
const [result, apiCall] = await filesystemStorageDeleteFilesystem(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -67988,7 +68570,7 @@ async function $do27(client, request, options) {
|
|
|
67988
68570
|
if (!responseData) {
|
|
67989
68571
|
return { next: () => null };
|
|
67990
68572
|
}
|
|
67991
|
-
const results =
|
|
68573
|
+
const results = responseData.data;
|
|
67992
68574
|
if (!Array.isArray(results) || !results.length) {
|
|
67993
68575
|
return { next: () => null };
|
|
67994
68576
|
}
|
|
@@ -68129,7 +68711,7 @@ async function $do28(client, request, options) {
|
|
|
68129
68711
|
if (!responseData) {
|
|
68130
68712
|
return { next: () => null };
|
|
68131
68713
|
}
|
|
68132
|
-
const results =
|
|
68714
|
+
const results = responseData.data;
|
|
68133
68715
|
if (!Array.isArray(results) || !results.length) {
|
|
68134
68716
|
return { next: () => null };
|
|
68135
68717
|
}
|
|
@@ -68275,7 +68857,7 @@ async function $do29(client, request, options) {
|
|
|
68275
68857
|
if (!responseData) {
|
|
68276
68858
|
return { next: () => null };
|
|
68277
68859
|
}
|
|
68278
|
-
const results =
|
|
68860
|
+
const results = responseData.data;
|
|
68279
68861
|
if (!Array.isArray(results) || !results.length) {
|
|
68280
68862
|
return { next: () => null };
|
|
68281
68863
|
}
|
|
@@ -68644,7 +69226,7 @@ async function $do32(client, request, options) {
|
|
|
68644
69226
|
if (!responseData) {
|
|
68645
69227
|
return { next: () => null };
|
|
68646
69228
|
}
|
|
68647
|
-
const results =
|
|
69229
|
+
const results = responseData.data;
|
|
68648
69230
|
if (!Array.isArray(results) || !results.length) {
|
|
68649
69231
|
return { next: () => null };
|
|
68650
69232
|
}
|
|
@@ -69610,7 +70192,7 @@ var init_objectStorageDeleteStorageBuckets2 = __esm(() => {
|
|
|
69610
70192
|
};
|
|
69611
70193
|
tool$objectStorageDeleteStorageBuckets = {
|
|
69612
70194
|
name: "object-storage-delete-storage-buckets",
|
|
69613
|
-
description: `Delete
|
|
70195
|
+
description: `Delete bucket
|
|
69614
70196
|
|
|
69615
70197
|
Allows you to remove an object storage from a project.`,
|
|
69616
70198
|
args: args38,
|
|
@@ -69722,7 +70304,7 @@ var init_objectStorageGetStorageBucket2 = __esm(() => {
|
|
|
69722
70304
|
};
|
|
69723
70305
|
tool$objectStorageGetStorageBucket = {
|
|
69724
70306
|
name: "object-storage-get-storage-bucket",
|
|
69725
|
-
description: `Retrieve
|
|
70307
|
+
description: `Retrieve bucket
|
|
69726
70308
|
|
|
69727
70309
|
Shows details of a specific object storage.`,
|
|
69728
70310
|
args: args39,
|
|
@@ -69834,7 +70416,7 @@ var init_objectStorageGetStorageBuckets2 = __esm(() => {
|
|
|
69834
70416
|
};
|
|
69835
70417
|
tool$objectStorageGetStorageBuckets = {
|
|
69836
70418
|
name: "object-storage-get-storage-buckets",
|
|
69837
|
-
description: `List
|
|
70419
|
+
description: `List buckets
|
|
69838
70420
|
|
|
69839
70421
|
Lists all object storages from a team.`,
|
|
69840
70422
|
args: args40,
|
|
@@ -69944,7 +70526,7 @@ var init_objectStoragePostStorageBuckets2 = __esm(() => {
|
|
|
69944
70526
|
};
|
|
69945
70527
|
tool$objectStoragePostStorageBuckets = {
|
|
69946
70528
|
name: "object-storage-post-storage-buckets",
|
|
69947
|
-
description: `Create
|
|
70529
|
+
description: `Create bucket
|
|
69948
70530
|
|
|
69949
70531
|
Creates a new object storage bucket for a project.`,
|
|
69950
70532
|
args: args41,
|
|
@@ -70039,7 +70621,7 @@ async function $do44(client, request, options) {
|
|
|
70039
70621
|
if (!responseData) {
|
|
70040
70622
|
return { next: () => null };
|
|
70041
70623
|
}
|
|
70042
|
-
const results =
|
|
70624
|
+
const results = responseData.data;
|
|
70043
70625
|
if (!Array.isArray(results) || !results.length) {
|
|
70044
70626
|
return { next: () => null };
|
|
70045
70627
|
}
|
|
@@ -70291,7 +70873,7 @@ async function $do46(client, request, options) {
|
|
|
70291
70873
|
if (!responseData) {
|
|
70292
70874
|
return { next: () => null };
|
|
70293
70875
|
}
|
|
70294
|
-
const results =
|
|
70876
|
+
const results = responseData.data;
|
|
70295
70877
|
if (!Array.isArray(results) || !results.length) {
|
|
70296
70878
|
return { next: () => null };
|
|
70297
70879
|
}
|
|
@@ -71260,7 +71842,7 @@ async function $do55(client, request, options) {
|
|
|
71260
71842
|
if (!responseData) {
|
|
71261
71843
|
return { next: () => null };
|
|
71262
71844
|
}
|
|
71263
|
-
const results =
|
|
71845
|
+
const results = responseData.data;
|
|
71264
71846
|
if (!Array.isArray(results) || !results.length) {
|
|
71265
71847
|
return { next: () => null };
|
|
71266
71848
|
}
|
|
@@ -71401,7 +71983,7 @@ async function $do56(client, request, options) {
|
|
|
71401
71983
|
if (!responseData) {
|
|
71402
71984
|
return { next: () => null };
|
|
71403
71985
|
}
|
|
71404
|
-
const results =
|
|
71986
|
+
const results = responseData.data;
|
|
71405
71987
|
if (!Array.isArray(results) || !results.length) {
|
|
71406
71988
|
return { next: () => null };
|
|
71407
71989
|
}
|
|
@@ -71864,7 +72446,7 @@ async function $do60(client, request, options) {
|
|
|
71864
72446
|
if (!responseData) {
|
|
71865
72447
|
return { next: () => null };
|
|
71866
72448
|
}
|
|
71867
|
-
const results =
|
|
72449
|
+
const results = responseData.data;
|
|
71868
72450
|
if (!Array.isArray(results) || !results.length) {
|
|
71869
72451
|
return { next: () => null };
|
|
71870
72452
|
}
|
|
@@ -72326,7 +72908,7 @@ async function $do64(client, request, options) {
|
|
|
72326
72908
|
if (!responseData) {
|
|
72327
72909
|
return { next: () => null };
|
|
72328
72910
|
}
|
|
72329
|
-
const results =
|
|
72911
|
+
const results = responseData.data;
|
|
72330
72912
|
if (!Array.isArray(results) || !results.length) {
|
|
72331
72913
|
return { next: () => null };
|
|
72332
72914
|
}
|
|
@@ -72574,7 +73156,7 @@ async function $do66(client, request, options) {
|
|
|
72574
73156
|
if (!responseData) {
|
|
72575
73157
|
return { next: () => null };
|
|
72576
73158
|
}
|
|
72577
|
-
const results =
|
|
73159
|
+
const results = responseData.data;
|
|
72578
73160
|
if (!Array.isArray(results) || !results.length) {
|
|
72579
73161
|
return { next: () => null };
|
|
72580
73162
|
}
|
|
@@ -73407,7 +73989,9 @@ async function $do74(client, request, options) {
|
|
|
73407
73989
|
"extra_fields[servers]": payload?.["extra_fields[servers]"],
|
|
73408
73990
|
"filter[created_at_gte]": payload?.["filter[created_at_gte]"],
|
|
73409
73991
|
"filter[created_at_lte]": payload?.["filter[created_at_lte]"],
|
|
73410
|
-
"filter[disk]": payload?.["filter[disk]"],
|
|
73992
|
+
"filter[disk][eql]": payload?.["filter[disk][eql]"],
|
|
73993
|
+
"filter[disk][gte]": payload?.["filter[disk][gte]"],
|
|
73994
|
+
"filter[disk][lte]": payload?.["filter[disk][lte]"],
|
|
73411
73995
|
"filter[gpu]": payload?.["filter[gpu]"],
|
|
73412
73996
|
"filter[hostname]": payload?.["filter[hostname]"],
|
|
73413
73997
|
"filter[label]": payload?.["filter[label]"],
|
|
@@ -73483,7 +74067,7 @@ async function $do74(client, request, options) {
|
|
|
73483
74067
|
if (!responseData) {
|
|
73484
74068
|
return { next: () => null };
|
|
73485
74069
|
}
|
|
73486
|
-
const results =
|
|
74070
|
+
const results = responseData.data;
|
|
73487
74071
|
if (!Array.isArray(results) || !results.length) {
|
|
73488
74072
|
return { next: () => null };
|
|
73489
74073
|
}
|
|
@@ -74968,7 +75552,10 @@ async function $do88(client, request, options) {
|
|
|
74968
75552
|
};
|
|
74969
75553
|
const path = pathToFunc("/projects/{project_id}/ssh_keys")(pathParams);
|
|
74970
75554
|
const query = encodeFormQuery({
|
|
74971
|
-
"filter[tags]": payload["filter[tags]"]
|
|
75555
|
+
"filter[tags]": payload["filter[tags]"],
|
|
75556
|
+
"page[number]": payload["page[number]"],
|
|
75557
|
+
"page[size]": payload["page[size]"],
|
|
75558
|
+
"stats[total]": payload["stats[total]"]
|
|
74972
75559
|
});
|
|
74973
75560
|
const headers = new Headers(compactMap({
|
|
74974
75561
|
Accept: "application/vnd.api+json"
|
|
@@ -75077,7 +75664,10 @@ async function $do89(client, request, options) {
|
|
|
75077
75664
|
const query = encodeFormQuery({
|
|
75078
75665
|
"filter[project]": payload?.["filter[project]"],
|
|
75079
75666
|
"filter[scope]": payload?.["filter[scope]"],
|
|
75080
|
-
"filter[tags]": payload?.["filter[tags]"]
|
|
75667
|
+
"filter[tags]": payload?.["filter[tags]"],
|
|
75668
|
+
"page[number]": payload?.["page[number]"],
|
|
75669
|
+
"page[size]": payload?.["page[size]"],
|
|
75670
|
+
"stats[total]": payload?.["stats[total]"]
|
|
75081
75671
|
});
|
|
75082
75672
|
const headers = new Headers(compactMap({
|
|
75083
75673
|
Accept: "application/vnd.api+json"
|
|
@@ -76497,7 +77087,7 @@ async function $do102(client, request, options) {
|
|
|
76497
77087
|
if (!responseData) {
|
|
76498
77088
|
return { next: () => null };
|
|
76499
77089
|
}
|
|
76500
|
-
const results =
|
|
77090
|
+
const results = responseData.data;
|
|
76501
77091
|
if (!Array.isArray(results) || !results.length) {
|
|
76502
77092
|
return { next: () => null };
|
|
76503
77093
|
}
|
|
@@ -77539,7 +78129,7 @@ function userDataList(client, request, options) {
|
|
|
77539
78129
|
async function $do112(client, request, options) {
|
|
77540
78130
|
const parsed = safeParse4(request, (value) => GetUsersDataRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
77541
78131
|
if (!parsed.ok) {
|
|
77542
|
-
return [parsed, { status: "invalid" }];
|
|
78132
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
77543
78133
|
}
|
|
77544
78134
|
const payload = parsed.value;
|
|
77545
78135
|
const body = null;
|
|
@@ -77547,7 +78137,10 @@ async function $do112(client, request, options) {
|
|
|
77547
78137
|
const query = encodeFormQuery({
|
|
77548
78138
|
"extra_fields[user_data]": payload?.["extra_fields[user_data]"],
|
|
77549
78139
|
"filter[project]": payload?.["filter[project]"],
|
|
77550
|
-
"filter[scope]": payload?.["filter[scope]"]
|
|
78140
|
+
"filter[scope]": payload?.["filter[scope]"],
|
|
78141
|
+
"page[number]": payload?.["page[number]"],
|
|
78142
|
+
"page[size]": payload?.["page[size]"],
|
|
78143
|
+
"stats[total]": payload?.["stats[total]"]
|
|
77551
78144
|
});
|
|
77552
78145
|
const headers = new Headers(compactMap({
|
|
77553
78146
|
Accept: "application/vnd.api+json"
|
|
@@ -77577,7 +78170,7 @@ async function $do112(client, request, options) {
|
|
|
77577
78170
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
77578
78171
|
}, options);
|
|
77579
78172
|
if (!requestRes.ok) {
|
|
77580
|
-
return [requestRes, { status: "invalid" }];
|
|
78173
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
77581
78174
|
}
|
|
77582
78175
|
const req = requestRes.value;
|
|
77583
78176
|
const doResult = await client._do(req, {
|
|
@@ -77587,28 +78180,61 @@ async function $do112(client, request, options) {
|
|
|
77587
78180
|
retryCodes: context.retryCodes
|
|
77588
78181
|
});
|
|
77589
78182
|
if (!doResult.ok) {
|
|
77590
|
-
return [doResult, { status: "request-error", request: req }];
|
|
78183
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
77591
78184
|
}
|
|
77592
78185
|
const response = doResult.value;
|
|
77593
|
-
const
|
|
77594
|
-
|
|
77595
|
-
}
|
|
78186
|
+
const responseFields = {
|
|
78187
|
+
HttpMeta: { Response: response, Request: req }
|
|
78188
|
+
};
|
|
78189
|
+
const [result, raw] = await match(json(200, GetUsersDataResponse$inboundSchema, {
|
|
78190
|
+
ctype: "application/vnd.api+json",
|
|
78191
|
+
key: "Result"
|
|
78192
|
+
}), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
77596
78193
|
if (!result.ok) {
|
|
77597
|
-
return [result, {
|
|
78194
|
+
return [haltIterator(result), {
|
|
78195
|
+
status: "complete",
|
|
78196
|
+
request: req,
|
|
78197
|
+
response
|
|
78198
|
+
}];
|
|
77598
78199
|
}
|
|
77599
|
-
|
|
77600
|
-
|
|
77601
|
-
|
|
77602
|
-
|
|
77603
|
-
|
|
77604
|
-
|
|
77605
|
-
|
|
77606
|
-
|
|
78200
|
+
const nextFunc = (responseData) => {
|
|
78201
|
+
const page2 = request?.pageNumber ?? 1;
|
|
78202
|
+
const nextPage = page2 + 1;
|
|
78203
|
+
if (!responseData) {
|
|
78204
|
+
return { next: () => null };
|
|
78205
|
+
}
|
|
78206
|
+
const results = responseData.data;
|
|
78207
|
+
if (!Array.isArray(results) || !results.length) {
|
|
78208
|
+
return { next: () => null };
|
|
78209
|
+
}
|
|
78210
|
+
const limit = request?.pageSize ?? 20;
|
|
78211
|
+
if (results.length < limit) {
|
|
78212
|
+
return { next: () => null };
|
|
78213
|
+
}
|
|
78214
|
+
const nextVal = () => userDataList(client, {
|
|
78215
|
+
...request,
|
|
78216
|
+
pageNumber: nextPage
|
|
78217
|
+
}, options);
|
|
78218
|
+
return { next: nextVal, "~next": { page: nextPage } };
|
|
78219
|
+
};
|
|
78220
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
78221
|
+
return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
|
|
78222
|
+
status: "complete",
|
|
78223
|
+
request: req,
|
|
78224
|
+
response
|
|
78225
|
+
}];
|
|
78226
|
+
}
|
|
78227
|
+
var init_userDataList = __esm(() => {
|
|
78228
|
+
init_encodings();
|
|
78229
|
+
init_http();
|
|
78230
|
+
init_matchers();
|
|
78231
|
+
init_primitives();
|
|
78232
|
+
init_schemas4();
|
|
77607
78233
|
init_security();
|
|
77608
78234
|
init_url();
|
|
77609
|
-
init_models();
|
|
77610
78235
|
init_operations();
|
|
77611
78236
|
init_async();
|
|
78237
|
+
init_operations2();
|
|
77612
78238
|
});
|
|
77613
78239
|
|
|
77614
78240
|
// src/mcp-server/tools/userDataList.ts
|
|
@@ -77635,7 +78261,7 @@ List all Users Data in the project. These scripts can be used to configure serve
|
|
|
77635
78261
|
isError: true
|
|
77636
78262
|
};
|
|
77637
78263
|
}
|
|
77638
|
-
const value = result.value;
|
|
78264
|
+
const value = result.value.result;
|
|
77639
78265
|
return formatResult(value, apiCall);
|
|
77640
78266
|
}
|
|
77641
78267
|
};
|
|
@@ -78473,11 +79099,115 @@ Performs a power action on a given virtual machine:
|
|
|
78473
79099
|
};
|
|
78474
79100
|
});
|
|
78475
79101
|
|
|
78476
|
-
// src/funcs/
|
|
78477
|
-
function
|
|
79102
|
+
// src/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.ts
|
|
79103
|
+
function virtualMachinesCreateVirtualMachineNetworkAttachment(client, request, options) {
|
|
78478
79104
|
return new APIPromise($do121(client, request, options));
|
|
78479
79105
|
}
|
|
78480
79106
|
async function $do121(client, request, options) {
|
|
79107
|
+
const parsed = safeParse4(request, (value) => CreateVirtualMachineNetworkAttachmentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79108
|
+
if (!parsed.ok) {
|
|
79109
|
+
return [parsed, { status: "invalid" }];
|
|
79110
|
+
}
|
|
79111
|
+
const payload = parsed.value;
|
|
79112
|
+
const body = encodeJSON("body", payload.virtual_machine_network_attachment_create_payload, { explode: true });
|
|
79113
|
+
const pathParams = {
|
|
79114
|
+
virtual_machine_id: encodeSimple("virtual_machine_id", payload.virtual_machine_id, { explode: false, charEncoding: "percent" })
|
|
79115
|
+
};
|
|
79116
|
+
const path = pathToFunc("/virtual_machines/{virtual_machine_id}/network_attachments")(pathParams);
|
|
79117
|
+
const headers = new Headers(compactMap({
|
|
79118
|
+
"Content-Type": "application/json",
|
|
79119
|
+
Accept: "application/vnd.api+json"
|
|
79120
|
+
}));
|
|
79121
|
+
const secConfig = await extractSecurity(client._options.bearer);
|
|
79122
|
+
const securityInput = secConfig == null ? {} : { bearer: secConfig };
|
|
79123
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
79124
|
+
const context = {
|
|
79125
|
+
options: client._options,
|
|
79126
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
79127
|
+
operationID: "create-virtual-machine-network-attachment",
|
|
79128
|
+
oAuth2Scopes: null,
|
|
79129
|
+
resolvedSecurity: requestSecurity,
|
|
79130
|
+
securitySource: client._options.bearer,
|
|
79131
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
79132
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
79133
|
+
};
|
|
79134
|
+
const requestRes = client._createRequest(context, {
|
|
79135
|
+
security: requestSecurity,
|
|
79136
|
+
method: "POST",
|
|
79137
|
+
baseURL: options?.serverURL,
|
|
79138
|
+
path,
|
|
79139
|
+
headers,
|
|
79140
|
+
body,
|
|
79141
|
+
userAgent: client._options.userAgent,
|
|
79142
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
79143
|
+
}, options);
|
|
79144
|
+
if (!requestRes.ok) {
|
|
79145
|
+
return [requestRes, { status: "invalid" }];
|
|
79146
|
+
}
|
|
79147
|
+
const req = requestRes.value;
|
|
79148
|
+
const doResult = await client._do(req, {
|
|
79149
|
+
context,
|
|
79150
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
79151
|
+
retryConfig: context.retryConfig,
|
|
79152
|
+
retryCodes: context.retryCodes
|
|
79153
|
+
});
|
|
79154
|
+
if (!doResult.ok) {
|
|
79155
|
+
return [doResult, { status: "request-error", request: req }];
|
|
79156
|
+
}
|
|
79157
|
+
const response = doResult.value;
|
|
79158
|
+
const [result] = await match(json(202, CreateVirtualMachineNetworkAttachmentResponse$inboundSchema, { ctype: "application/vnd.api+json" }), fail([403, 404, 422, "4XX"]), fail("5XX"))(response, req);
|
|
79159
|
+
if (!result.ok) {
|
|
79160
|
+
return [result, { status: "complete", request: req, response }];
|
|
79161
|
+
}
|
|
79162
|
+
return [result, { status: "complete", request: req, response }];
|
|
79163
|
+
}
|
|
79164
|
+
var init_virtualMachinesCreateVirtualMachineNetworkAttachment = __esm(() => {
|
|
79165
|
+
init_encodings();
|
|
79166
|
+
init_http();
|
|
79167
|
+
init_matchers();
|
|
79168
|
+
init_primitives();
|
|
79169
|
+
init_schemas4();
|
|
79170
|
+
init_security();
|
|
79171
|
+
init_url();
|
|
79172
|
+
init_operations();
|
|
79173
|
+
init_async();
|
|
79174
|
+
});
|
|
79175
|
+
|
|
79176
|
+
// src/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.ts
|
|
79177
|
+
var args114, tool$virtualMachinesCreateVirtualMachineNetworkAttachment;
|
|
79178
|
+
var init_virtualMachinesCreateVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
79179
|
+
init_virtualMachinesCreateVirtualMachineNetworkAttachment();
|
|
79180
|
+
init_operations();
|
|
79181
|
+
init_tools();
|
|
79182
|
+
args114 = {
|
|
79183
|
+
request: CreateVirtualMachineNetworkAttachmentRequest$inboundSchema
|
|
79184
|
+
};
|
|
79185
|
+
tool$virtualMachinesCreateVirtualMachineNetworkAttachment = {
|
|
79186
|
+
name: "virtual-machines-create-virtual-machine-network-attachment",
|
|
79187
|
+
description: `Attach a network to a VM
|
|
79188
|
+
|
|
79189
|
+
Attaches a virtual network (VLAN) to a Virtual Machine. Work runs asynchronously and returns 202 Accepted.
|
|
79190
|
+
`,
|
|
79191
|
+
args: args114,
|
|
79192
|
+
tool: async (client, args115, ctx) => {
|
|
79193
|
+
const [result, apiCall] = await virtualMachinesCreateVirtualMachineNetworkAttachment(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79194
|
+
if (!result.ok) {
|
|
79195
|
+
return {
|
|
79196
|
+
content: [{ type: "text", text: result.error.message }],
|
|
79197
|
+
isError: true
|
|
79198
|
+
};
|
|
79199
|
+
}
|
|
79200
|
+
const value = result.value;
|
|
79201
|
+
return formatResult(value, apiCall);
|
|
79202
|
+
}
|
|
79203
|
+
};
|
|
79204
|
+
});
|
|
79205
|
+
|
|
79206
|
+
// src/funcs/virtualMachinesDelete.ts
|
|
79207
|
+
function virtualMachinesDelete(client, request, options) {
|
|
79208
|
+
return new APIPromise($do122(client, request, options));
|
|
79209
|
+
}
|
|
79210
|
+
async function $do122(client, request, options) {
|
|
78481
79211
|
const parsed = safeParse4(request, (value) => DestroyVirtualMachineRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78482
79212
|
if (!parsed.ok) {
|
|
78483
79213
|
return [parsed, { status: "invalid" }];
|
|
@@ -78548,12 +79278,12 @@ var init_virtualMachinesDelete = __esm(() => {
|
|
|
78548
79278
|
});
|
|
78549
79279
|
|
|
78550
79280
|
// src/mcp-server/tools/virtualMachinesDelete.ts
|
|
78551
|
-
var
|
|
79281
|
+
var args115, tool$virtualMachinesDelete;
|
|
78552
79282
|
var init_virtualMachinesDelete2 = __esm(() => {
|
|
78553
79283
|
init_virtualMachinesDelete();
|
|
78554
79284
|
init_operations();
|
|
78555
79285
|
init_tools();
|
|
78556
|
-
|
|
79286
|
+
args115 = {
|
|
78557
79287
|
request: DestroyVirtualMachineRequest$inboundSchema
|
|
78558
79288
|
};
|
|
78559
79289
|
tool$virtualMachinesDelete = {
|
|
@@ -78562,9 +79292,9 @@ var init_virtualMachinesDelete2 = __esm(() => {
|
|
|
78562
79292
|
|
|
78563
79293
|
Destroys a Virtual Machine.
|
|
78564
79294
|
`,
|
|
78565
|
-
args:
|
|
78566
|
-
tool: async (client,
|
|
78567
|
-
const [result, apiCall] = await virtualMachinesDelete(client,
|
|
79295
|
+
args: args115,
|
|
79296
|
+
tool: async (client, args116, ctx) => {
|
|
79297
|
+
const [result, apiCall] = await virtualMachinesDelete(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78568
79298
|
if (!result.ok) {
|
|
78569
79299
|
return {
|
|
78570
79300
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78576,11 +79306,118 @@ Destroys a Virtual Machine.
|
|
|
78576
79306
|
};
|
|
78577
79307
|
});
|
|
78578
79308
|
|
|
79309
|
+
// src/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.ts
|
|
79310
|
+
function virtualMachinesDestroyVirtualMachineNetworkAttachment(client, request, options) {
|
|
79311
|
+
return new APIPromise($do123(client, request, options));
|
|
79312
|
+
}
|
|
79313
|
+
async function $do123(client, request, options) {
|
|
79314
|
+
const parsed = safeParse4(request, (value) => DestroyVirtualMachineNetworkAttachmentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79315
|
+
if (!parsed.ok) {
|
|
79316
|
+
return [parsed, { status: "invalid" }];
|
|
79317
|
+
}
|
|
79318
|
+
const payload = parsed.value;
|
|
79319
|
+
const body = null;
|
|
79320
|
+
const pathParams = {
|
|
79321
|
+
id: encodeSimple("id", payload.id, {
|
|
79322
|
+
explode: false,
|
|
79323
|
+
charEncoding: "percent"
|
|
79324
|
+
}),
|
|
79325
|
+
virtual_machine_id: encodeSimple("virtual_machine_id", payload.virtual_machine_id, { explode: false, charEncoding: "percent" })
|
|
79326
|
+
};
|
|
79327
|
+
const path = pathToFunc("/virtual_machines/{virtual_machine_id}/network_attachments/{id}")(pathParams);
|
|
79328
|
+
const headers = new Headers(compactMap({
|
|
79329
|
+
Accept: "application/vnd.api+json"
|
|
79330
|
+
}));
|
|
79331
|
+
const secConfig = await extractSecurity(client._options.bearer);
|
|
79332
|
+
const securityInput = secConfig == null ? {} : { bearer: secConfig };
|
|
79333
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
79334
|
+
const context = {
|
|
79335
|
+
options: client._options,
|
|
79336
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
79337
|
+
operationID: "destroy-virtual-machine-network-attachment",
|
|
79338
|
+
oAuth2Scopes: null,
|
|
79339
|
+
resolvedSecurity: requestSecurity,
|
|
79340
|
+
securitySource: client._options.bearer,
|
|
79341
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
79342
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
79343
|
+
};
|
|
79344
|
+
const requestRes = client._createRequest(context, {
|
|
79345
|
+
security: requestSecurity,
|
|
79346
|
+
method: "DELETE",
|
|
79347
|
+
baseURL: options?.serverURL,
|
|
79348
|
+
path,
|
|
79349
|
+
headers,
|
|
79350
|
+
body,
|
|
79351
|
+
userAgent: client._options.userAgent,
|
|
79352
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
79353
|
+
}, options);
|
|
79354
|
+
if (!requestRes.ok) {
|
|
79355
|
+
return [requestRes, { status: "invalid" }];
|
|
79356
|
+
}
|
|
79357
|
+
const req = requestRes.value;
|
|
79358
|
+
const doResult = await client._do(req, {
|
|
79359
|
+
context,
|
|
79360
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
79361
|
+
retryConfig: context.retryConfig,
|
|
79362
|
+
retryCodes: context.retryCodes
|
|
79363
|
+
});
|
|
79364
|
+
if (!doResult.ok) {
|
|
79365
|
+
return [doResult, { status: "request-error", request: req }];
|
|
79366
|
+
}
|
|
79367
|
+
const response = doResult.value;
|
|
79368
|
+
const [result] = await match(json(202, DestroyVirtualMachineNetworkAttachmentResponse$inboundSchema, { ctype: "application/vnd.api+json" }), fail([403, 404, "4XX"]), fail("5XX"))(response, req);
|
|
79369
|
+
if (!result.ok) {
|
|
79370
|
+
return [result, { status: "complete", request: req, response }];
|
|
79371
|
+
}
|
|
79372
|
+
return [result, { status: "complete", request: req, response }];
|
|
79373
|
+
}
|
|
79374
|
+
var init_virtualMachinesDestroyVirtualMachineNetworkAttachment = __esm(() => {
|
|
79375
|
+
init_encodings();
|
|
79376
|
+
init_http();
|
|
79377
|
+
init_matchers();
|
|
79378
|
+
init_primitives();
|
|
79379
|
+
init_schemas4();
|
|
79380
|
+
init_security();
|
|
79381
|
+
init_url();
|
|
79382
|
+
init_operations();
|
|
79383
|
+
init_async();
|
|
79384
|
+
});
|
|
79385
|
+
|
|
79386
|
+
// src/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.ts
|
|
79387
|
+
var args116, tool$virtualMachinesDestroyVirtualMachineNetworkAttachment;
|
|
79388
|
+
var init_virtualMachinesDestroyVirtualMachineNetworkAttachment2 = __esm(() => {
|
|
79389
|
+
init_virtualMachinesDestroyVirtualMachineNetworkAttachment();
|
|
79390
|
+
init_operations();
|
|
79391
|
+
init_tools();
|
|
79392
|
+
args116 = {
|
|
79393
|
+
request: DestroyVirtualMachineNetworkAttachmentRequest$inboundSchema
|
|
79394
|
+
};
|
|
79395
|
+
tool$virtualMachinesDestroyVirtualMachineNetworkAttachment = {
|
|
79396
|
+
name: "virtual-machines-destroy-virtual-machine-network-attachment",
|
|
79397
|
+
description: `Detach a network from a VM
|
|
79398
|
+
|
|
79399
|
+
Detaches a virtual network (VLAN) from a Virtual Machine. Work runs asynchronously and returns 202 Accepted.
|
|
79400
|
+
`,
|
|
79401
|
+
args: args116,
|
|
79402
|
+
tool: async (client, args117, ctx) => {
|
|
79403
|
+
const [result, apiCall] = await virtualMachinesDestroyVirtualMachineNetworkAttachment(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79404
|
+
if (!result.ok) {
|
|
79405
|
+
return {
|
|
79406
|
+
content: [{ type: "text", text: result.error.message }],
|
|
79407
|
+
isError: true
|
|
79408
|
+
};
|
|
79409
|
+
}
|
|
79410
|
+
const value = result.value;
|
|
79411
|
+
return formatResult(value, apiCall);
|
|
79412
|
+
}
|
|
79413
|
+
};
|
|
79414
|
+
});
|
|
79415
|
+
|
|
78579
79416
|
// src/funcs/virtualMachinesGet.ts
|
|
78580
79417
|
function virtualMachinesGet(client, request, options) {
|
|
78581
|
-
return new APIPromise($
|
|
79418
|
+
return new APIPromise($do124(client, request, options));
|
|
78582
79419
|
}
|
|
78583
|
-
async function $
|
|
79420
|
+
async function $do124(client, request, options) {
|
|
78584
79421
|
const parsed = safeParse4(request, (value) => ShowVirtualMachineRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78585
79422
|
if (!parsed.ok) {
|
|
78586
79423
|
return [parsed, { status: "invalid" }];
|
|
@@ -78653,12 +79490,12 @@ var init_virtualMachinesGet = __esm(() => {
|
|
|
78653
79490
|
});
|
|
78654
79491
|
|
|
78655
79492
|
// src/mcp-server/tools/virtualMachinesGet.ts
|
|
78656
|
-
var
|
|
79493
|
+
var args117, tool$virtualMachinesGet;
|
|
78657
79494
|
var init_virtualMachinesGet2 = __esm(() => {
|
|
78658
79495
|
init_virtualMachinesGet();
|
|
78659
79496
|
init_operations();
|
|
78660
79497
|
init_tools();
|
|
78661
|
-
|
|
79498
|
+
args117 = {
|
|
78662
79499
|
request: ShowVirtualMachineRequest$inboundSchema
|
|
78663
79500
|
};
|
|
78664
79501
|
tool$virtualMachinesGet = {
|
|
@@ -78667,9 +79504,9 @@ var init_virtualMachinesGet2 = __esm(() => {
|
|
|
78667
79504
|
|
|
78668
79505
|
Show a Virtual Machine.
|
|
78669
79506
|
`,
|
|
78670
|
-
args:
|
|
78671
|
-
tool: async (client,
|
|
78672
|
-
const [result, apiCall] = await virtualMachinesGet(client,
|
|
79507
|
+
args: args117,
|
|
79508
|
+
tool: async (client, args118, ctx) => {
|
|
79509
|
+
const [result, apiCall] = await virtualMachinesGet(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78673
79510
|
if (!result.ok) {
|
|
78674
79511
|
return {
|
|
78675
79512
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78684,9 +79521,9 @@ Show a Virtual Machine.
|
|
|
78684
79521
|
|
|
78685
79522
|
// src/funcs/virtualMachinesList.ts
|
|
78686
79523
|
function virtualMachinesList(client, request, options) {
|
|
78687
|
-
return new APIPromise($
|
|
79524
|
+
return new APIPromise($do125(client, request, options));
|
|
78688
79525
|
}
|
|
78689
|
-
async function $
|
|
79526
|
+
async function $do125(client, request, options) {
|
|
78690
79527
|
const parsed = safeParse4(request, (value) => IndexVirtualMachineRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
78691
79528
|
if (!parsed.ok) {
|
|
78692
79529
|
return [parsed, { status: "invalid" }];
|
|
@@ -78696,7 +79533,8 @@ async function $do123(client, request, options) {
|
|
|
78696
79533
|
const path = pathToFunc("/virtual_machines")();
|
|
78697
79534
|
const query = encodeFormQuery({
|
|
78698
79535
|
"extra_fields[virtual_machines]": payload?.["extra_fields[virtual_machines]"],
|
|
78699
|
-
"filter[project]": payload?.["filter[project]"]
|
|
79536
|
+
"filter[project]": payload?.["filter[project]"],
|
|
79537
|
+
"filter[tags]": payload?.["filter[tags]"]
|
|
78700
79538
|
});
|
|
78701
79539
|
const headers = new Headers(compactMap({
|
|
78702
79540
|
Accept: "application/vnd.api+json"
|
|
@@ -78761,12 +79599,12 @@ var init_virtualMachinesList = __esm(() => {
|
|
|
78761
79599
|
});
|
|
78762
79600
|
|
|
78763
79601
|
// src/mcp-server/tools/virtualMachinesList.ts
|
|
78764
|
-
var
|
|
79602
|
+
var args118, tool$virtualMachinesList;
|
|
78765
79603
|
var init_virtualMachinesList2 = __esm(() => {
|
|
78766
79604
|
init_virtualMachinesList();
|
|
78767
79605
|
init_operations();
|
|
78768
79606
|
init_tools();
|
|
78769
|
-
|
|
79607
|
+
args118 = {
|
|
78770
79608
|
request: IndexVirtualMachineRequest$inboundSchema.optional()
|
|
78771
79609
|
};
|
|
78772
79610
|
tool$virtualMachinesList = {
|
|
@@ -78775,9 +79613,226 @@ var init_virtualMachinesList2 = __esm(() => {
|
|
|
78775
79613
|
|
|
78776
79614
|
Show all Team's Virtual Machines.
|
|
78777
79615
|
`,
|
|
78778
|
-
args:
|
|
78779
|
-
tool: async (client,
|
|
78780
|
-
const [result, apiCall] = await virtualMachinesList(client,
|
|
79616
|
+
args: args118,
|
|
79617
|
+
tool: async (client, args119, ctx) => {
|
|
79618
|
+
const [result, apiCall] = await virtualMachinesList(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79619
|
+
if (!result.ok) {
|
|
79620
|
+
return {
|
|
79621
|
+
content: [{ type: "text", text: result.error.message }],
|
|
79622
|
+
isError: true
|
|
79623
|
+
};
|
|
79624
|
+
}
|
|
79625
|
+
const value = result.value;
|
|
79626
|
+
return formatResult(value, apiCall);
|
|
79627
|
+
}
|
|
79628
|
+
};
|
|
79629
|
+
});
|
|
79630
|
+
|
|
79631
|
+
// src/funcs/virtualMachinesListVirtualMachineNetworkAttachments.ts
|
|
79632
|
+
function virtualMachinesListVirtualMachineNetworkAttachments(client, request, options) {
|
|
79633
|
+
return new APIPromise($do126(client, request, options));
|
|
79634
|
+
}
|
|
79635
|
+
async function $do126(client, request, options) {
|
|
79636
|
+
const parsed = safeParse4(request, (value) => ListVirtualMachineNetworkAttachmentsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79637
|
+
if (!parsed.ok) {
|
|
79638
|
+
return [parsed, { status: "invalid" }];
|
|
79639
|
+
}
|
|
79640
|
+
const payload = parsed.value;
|
|
79641
|
+
const body = null;
|
|
79642
|
+
const pathParams = {
|
|
79643
|
+
virtual_machine_id: encodeSimple("virtual_machine_id", payload.virtual_machine_id, { explode: false, charEncoding: "percent" })
|
|
79644
|
+
};
|
|
79645
|
+
const path = pathToFunc("/virtual_machines/{virtual_machine_id}/network_attachments")(pathParams);
|
|
79646
|
+
const headers = new Headers(compactMap({
|
|
79647
|
+
Accept: "application/vnd.api+json"
|
|
79648
|
+
}));
|
|
79649
|
+
const secConfig = await extractSecurity(client._options.bearer);
|
|
79650
|
+
const securityInput = secConfig == null ? {} : { bearer: secConfig };
|
|
79651
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
79652
|
+
const context = {
|
|
79653
|
+
options: client._options,
|
|
79654
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
79655
|
+
operationID: "list-virtual-machine-network-attachments",
|
|
79656
|
+
oAuth2Scopes: null,
|
|
79657
|
+
resolvedSecurity: requestSecurity,
|
|
79658
|
+
securitySource: client._options.bearer,
|
|
79659
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
79660
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
79661
|
+
};
|
|
79662
|
+
const requestRes = client._createRequest(context, {
|
|
79663
|
+
security: requestSecurity,
|
|
79664
|
+
method: "GET",
|
|
79665
|
+
baseURL: options?.serverURL,
|
|
79666
|
+
path,
|
|
79667
|
+
headers,
|
|
79668
|
+
body,
|
|
79669
|
+
userAgent: client._options.userAgent,
|
|
79670
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
79671
|
+
}, options);
|
|
79672
|
+
if (!requestRes.ok) {
|
|
79673
|
+
return [requestRes, { status: "invalid" }];
|
|
79674
|
+
}
|
|
79675
|
+
const req = requestRes.value;
|
|
79676
|
+
const doResult = await client._do(req, {
|
|
79677
|
+
context,
|
|
79678
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
79679
|
+
retryConfig: context.retryConfig,
|
|
79680
|
+
retryCodes: context.retryCodes
|
|
79681
|
+
});
|
|
79682
|
+
if (!doResult.ok) {
|
|
79683
|
+
return [doResult, { status: "request-error", request: req }];
|
|
79684
|
+
}
|
|
79685
|
+
const response = doResult.value;
|
|
79686
|
+
const [result] = await match(json(200, VirtualMachineNetworkAttachments$inboundSchema, {
|
|
79687
|
+
ctype: "application/vnd.api+json"
|
|
79688
|
+
}), fail([404, "4XX"]), fail("5XX"))(response, req);
|
|
79689
|
+
if (!result.ok) {
|
|
79690
|
+
return [result, { status: "complete", request: req, response }];
|
|
79691
|
+
}
|
|
79692
|
+
return [result, { status: "complete", request: req, response }];
|
|
79693
|
+
}
|
|
79694
|
+
var init_virtualMachinesListVirtualMachineNetworkAttachments = __esm(() => {
|
|
79695
|
+
init_encodings();
|
|
79696
|
+
init_http();
|
|
79697
|
+
init_matchers();
|
|
79698
|
+
init_primitives();
|
|
79699
|
+
init_schemas4();
|
|
79700
|
+
init_security();
|
|
79701
|
+
init_url();
|
|
79702
|
+
init_models();
|
|
79703
|
+
init_operations();
|
|
79704
|
+
init_async();
|
|
79705
|
+
});
|
|
79706
|
+
|
|
79707
|
+
// src/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.ts
|
|
79708
|
+
var args119, tool$virtualMachinesListVirtualMachineNetworkAttachments;
|
|
79709
|
+
var init_virtualMachinesListVirtualMachineNetworkAttachments2 = __esm(() => {
|
|
79710
|
+
init_virtualMachinesListVirtualMachineNetworkAttachments();
|
|
79711
|
+
init_operations();
|
|
79712
|
+
init_tools();
|
|
79713
|
+
args119 = {
|
|
79714
|
+
request: ListVirtualMachineNetworkAttachmentsRequest$inboundSchema
|
|
79715
|
+
};
|
|
79716
|
+
tool$virtualMachinesListVirtualMachineNetworkAttachments = {
|
|
79717
|
+
name: "virtual-machines-list-virtual-machine-network-attachments",
|
|
79718
|
+
description: `List VM network attachments
|
|
79719
|
+
|
|
79720
|
+
Lists the secondary network attachments currently configured for a Virtual Machine.
|
|
79721
|
+
`,
|
|
79722
|
+
args: args119,
|
|
79723
|
+
tool: async (client, args120, ctx) => {
|
|
79724
|
+
const [result, apiCall] = await virtualMachinesListVirtualMachineNetworkAttachments(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79725
|
+
if (!result.ok) {
|
|
79726
|
+
return {
|
|
79727
|
+
content: [{ type: "text", text: result.error.message }],
|
|
79728
|
+
isError: true
|
|
79729
|
+
};
|
|
79730
|
+
}
|
|
79731
|
+
const value = result.value;
|
|
79732
|
+
return formatResult(value, apiCall);
|
|
79733
|
+
}
|
|
79734
|
+
};
|
|
79735
|
+
});
|
|
79736
|
+
|
|
79737
|
+
// src/funcs/virtualMachinesShowVirtualMachineMetrics.ts
|
|
79738
|
+
function virtualMachinesShowVirtualMachineMetrics(client, request, options) {
|
|
79739
|
+
return new APIPromise($do127(client, request, options));
|
|
79740
|
+
}
|
|
79741
|
+
async function $do127(client, request, options) {
|
|
79742
|
+
const parsed = safeParse4(request, (value) => ShowVirtualMachineMetricsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79743
|
+
if (!parsed.ok) {
|
|
79744
|
+
return [parsed, { status: "invalid" }];
|
|
79745
|
+
}
|
|
79746
|
+
const payload = parsed.value;
|
|
79747
|
+
const body = null;
|
|
79748
|
+
const pathParams = {
|
|
79749
|
+
virtual_machine_id: encodeSimple("virtual_machine_id", payload.virtual_machine_id, { explode: false, charEncoding: "percent" })
|
|
79750
|
+
};
|
|
79751
|
+
const path = pathToFunc("/virtual_machines/{virtual_machine_id}/metrics")(pathParams);
|
|
79752
|
+
const query = encodeFormQuery({
|
|
79753
|
+
force_refresh: payload.force_refresh,
|
|
79754
|
+
metric: payload.metric,
|
|
79755
|
+
range: payload.range
|
|
79756
|
+
});
|
|
79757
|
+
const headers = new Headers(compactMap({
|
|
79758
|
+
Accept: "application/vnd.api+json"
|
|
79759
|
+
}));
|
|
79760
|
+
const secConfig = await extractSecurity(client._options.bearer);
|
|
79761
|
+
const securityInput = secConfig == null ? {} : { bearer: secConfig };
|
|
79762
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
79763
|
+
const context = {
|
|
79764
|
+
options: client._options,
|
|
79765
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
79766
|
+
operationID: "show-virtual-machine-metrics",
|
|
79767
|
+
oAuth2Scopes: null,
|
|
79768
|
+
resolvedSecurity: requestSecurity,
|
|
79769
|
+
securitySource: client._options.bearer,
|
|
79770
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
79771
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
79772
|
+
};
|
|
79773
|
+
const requestRes = client._createRequest(context, {
|
|
79774
|
+
security: requestSecurity,
|
|
79775
|
+
method: "GET",
|
|
79776
|
+
baseURL: options?.serverURL,
|
|
79777
|
+
path,
|
|
79778
|
+
headers,
|
|
79779
|
+
query,
|
|
79780
|
+
body,
|
|
79781
|
+
userAgent: client._options.userAgent,
|
|
79782
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
79783
|
+
}, options);
|
|
79784
|
+
if (!requestRes.ok) {
|
|
79785
|
+
return [requestRes, { status: "invalid" }];
|
|
79786
|
+
}
|
|
79787
|
+
const req = requestRes.value;
|
|
79788
|
+
const doResult = await client._do(req, {
|
|
79789
|
+
context,
|
|
79790
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
79791
|
+
retryConfig: context.retryConfig,
|
|
79792
|
+
retryCodes: context.retryCodes
|
|
79793
|
+
});
|
|
79794
|
+
if (!doResult.ok) {
|
|
79795
|
+
return [doResult, { status: "request-error", request: req }];
|
|
79796
|
+
}
|
|
79797
|
+
const response = doResult.value;
|
|
79798
|
+
const [result] = await match(json(200, VirtualMachineMetrics$inboundSchema, {
|
|
79799
|
+
ctype: "application/vnd.api+json"
|
|
79800
|
+
}), fail("4XX"), fail("5XX"))(response, req);
|
|
79801
|
+
if (!result.ok) {
|
|
79802
|
+
return [result, { status: "complete", request: req, response }];
|
|
79803
|
+
}
|
|
79804
|
+
return [result, { status: "complete", request: req, response }];
|
|
79805
|
+
}
|
|
79806
|
+
var init_virtualMachinesShowVirtualMachineMetrics = __esm(() => {
|
|
79807
|
+
init_encodings();
|
|
79808
|
+
init_http();
|
|
79809
|
+
init_matchers();
|
|
79810
|
+
init_primitives();
|
|
79811
|
+
init_schemas4();
|
|
79812
|
+
init_security();
|
|
79813
|
+
init_url();
|
|
79814
|
+
init_models();
|
|
79815
|
+
init_operations();
|
|
79816
|
+
init_async();
|
|
79817
|
+
});
|
|
79818
|
+
|
|
79819
|
+
// src/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.ts
|
|
79820
|
+
var args120, tool$virtualMachinesShowVirtualMachineMetrics;
|
|
79821
|
+
var init_virtualMachinesShowVirtualMachineMetrics2 = __esm(() => {
|
|
79822
|
+
init_virtualMachinesShowVirtualMachineMetrics();
|
|
79823
|
+
init_operations();
|
|
79824
|
+
init_tools();
|
|
79825
|
+
args120 = {
|
|
79826
|
+
request: ShowVirtualMachineMetricsRequest$inboundSchema
|
|
79827
|
+
};
|
|
79828
|
+
tool$virtualMachinesShowVirtualMachineMetrics = {
|
|
79829
|
+
name: "virtual-machines-show-virtual-machine-metrics",
|
|
79830
|
+
description: `Retrieve VM metrics
|
|
79831
|
+
|
|
79832
|
+
Retrieve a time series for a single metric of a Virtual Machine.`,
|
|
79833
|
+
args: args120,
|
|
79834
|
+
tool: async (client, args121, ctx) => {
|
|
79835
|
+
const [result, apiCall] = await virtualMachinesShowVirtualMachineMetrics(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78781
79836
|
if (!result.ok) {
|
|
78782
79837
|
return {
|
|
78783
79838
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78792,9 +79847,9 @@ Show all Team's Virtual Machines.
|
|
|
78792
79847
|
|
|
78793
79848
|
// src/funcs/virtualMachinesUpdateVirtualMachine.ts
|
|
78794
79849
|
function virtualMachinesUpdateVirtualMachine(client, request, options) {
|
|
78795
|
-
return new APIPromise($
|
|
79850
|
+
return new APIPromise($do128(client, request, options));
|
|
78796
79851
|
}
|
|
78797
|
-
async function $
|
|
79852
|
+
async function $do128(client, request, options) {
|
|
78798
79853
|
const parsed = safeParse4(request, (value) => UpdateVirtualMachineRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78799
79854
|
if (!parsed.ok) {
|
|
78800
79855
|
return [parsed, { status: "invalid" }];
|
|
@@ -78870,12 +79925,12 @@ var init_virtualMachinesUpdateVirtualMachine = __esm(() => {
|
|
|
78870
79925
|
});
|
|
78871
79926
|
|
|
78872
79927
|
// src/mcp-server/tools/virtualMachinesUpdateVirtualMachine.ts
|
|
78873
|
-
var
|
|
79928
|
+
var args121, tool$virtualMachinesUpdateVirtualMachine;
|
|
78874
79929
|
var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
|
|
78875
79930
|
init_virtualMachinesUpdateVirtualMachine();
|
|
78876
79931
|
init_operations();
|
|
78877
79932
|
init_tools();
|
|
78878
|
-
|
|
79933
|
+
args121 = {
|
|
78879
79934
|
request: UpdateVirtualMachineRequest$inboundSchema
|
|
78880
79935
|
};
|
|
78881
79936
|
tool$virtualMachinesUpdateVirtualMachine = {
|
|
@@ -78884,9 +79939,9 @@ var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
|
|
|
78884
79939
|
|
|
78885
79940
|
Updates a Virtual Machine's display name (hostname).
|
|
78886
79941
|
`,
|
|
78887
|
-
args:
|
|
78888
|
-
tool: async (client,
|
|
78889
|
-
const [result, apiCall] = await virtualMachinesUpdateVirtualMachine(client,
|
|
79942
|
+
args: args121,
|
|
79943
|
+
tool: async (client, args122, ctx) => {
|
|
79944
|
+
const [result, apiCall] = await virtualMachinesUpdateVirtualMachine(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78890
79945
|
if (!result.ok) {
|
|
78891
79946
|
return {
|
|
78892
79947
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78901,9 +79956,9 @@ Updates a Virtual Machine's display name (hostname).
|
|
|
78901
79956
|
|
|
78902
79957
|
// src/funcs/virtualNetworksDelete.ts
|
|
78903
79958
|
function virtualNetworksDelete(client, request, options) {
|
|
78904
|
-
return new APIPromise($
|
|
79959
|
+
return new APIPromise($do129(client, request, options));
|
|
78905
79960
|
}
|
|
78906
|
-
async function $
|
|
79961
|
+
async function $do129(client, request, options) {
|
|
78907
79962
|
const parsed = safeParse4(request, (value) => DestroyVirtualNetworkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78908
79963
|
if (!parsed.ok) {
|
|
78909
79964
|
return [parsed, { status: "invalid" }];
|
|
@@ -78977,12 +80032,12 @@ var init_virtualNetworksDelete = __esm(() => {
|
|
|
78977
80032
|
});
|
|
78978
80033
|
|
|
78979
80034
|
// src/mcp-server/tools/virtualNetworksDelete.ts
|
|
78980
|
-
var
|
|
80035
|
+
var args122, tool$virtualNetworksDelete;
|
|
78981
80036
|
var init_virtualNetworksDelete2 = __esm(() => {
|
|
78982
80037
|
init_virtualNetworksDelete();
|
|
78983
80038
|
init_operations();
|
|
78984
80039
|
init_tools();
|
|
78985
|
-
|
|
80040
|
+
args122 = {
|
|
78986
80041
|
request: DestroyVirtualNetworkRequest$inboundSchema
|
|
78987
80042
|
};
|
|
78988
80043
|
tool$virtualNetworksDelete = {
|
|
@@ -78991,9 +80046,9 @@ var init_virtualNetworksDelete2 = __esm(() => {
|
|
|
78991
80046
|
|
|
78992
80047
|
Delete virtual network
|
|
78993
80048
|
`,
|
|
78994
|
-
args:
|
|
78995
|
-
tool: async (client,
|
|
78996
|
-
const [result, apiCall] = await virtualNetworksDelete(client,
|
|
80049
|
+
args: args122,
|
|
80050
|
+
tool: async (client, args123, ctx) => {
|
|
80051
|
+
const [result, apiCall] = await virtualNetworksDelete(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78997
80052
|
if (!result.ok) {
|
|
78998
80053
|
return {
|
|
78999
80054
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79007,9 +80062,9 @@ Delete virtual network
|
|
|
79007
80062
|
|
|
79008
80063
|
// src/funcs/vpnSessionsCreate.ts
|
|
79009
80064
|
function vpnSessionsCreate(client, request, options) {
|
|
79010
|
-
return new APIPromise($
|
|
80065
|
+
return new APIPromise($do130(client, request, options));
|
|
79011
80066
|
}
|
|
79012
|
-
async function $
|
|
80067
|
+
async function $do130(client, request, options) {
|
|
79013
80068
|
const parsed = safeParse4(request, (value) => PostVpnSessionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79014
80069
|
if (!parsed.ok) {
|
|
79015
80070
|
return [parsed, { status: "invalid" }];
|
|
@@ -79080,12 +80135,12 @@ var init_vpnSessionsCreate = __esm(() => {
|
|
|
79080
80135
|
});
|
|
79081
80136
|
|
|
79082
80137
|
// src/mcp-server/tools/vpnSessionsCreate.ts
|
|
79083
|
-
var
|
|
80138
|
+
var args123, tool$vpnSessionsCreate;
|
|
79084
80139
|
var init_vpnSessionsCreate2 = __esm(() => {
|
|
79085
80140
|
init_vpnSessionsCreate();
|
|
79086
80141
|
init_operations();
|
|
79087
80142
|
init_tools();
|
|
79088
|
-
|
|
80143
|
+
args123 = {
|
|
79089
80144
|
request: PostVpnSessionRequest$inboundSchema
|
|
79090
80145
|
};
|
|
79091
80146
|
tool$vpnSessionsCreate = {
|
|
@@ -79095,9 +80150,9 @@ var init_vpnSessionsCreate2 = __esm(() => {
|
|
|
79095
80150
|
Creates a new VPN Session.
|
|
79096
80151
|
\`NOTE:\` The VPN credentials are only listed ONCE upon creation. They can however be refreshed or deleted.
|
|
79097
80152
|
`,
|
|
79098
|
-
args:
|
|
79099
|
-
tool: async (client,
|
|
79100
|
-
const [result, apiCall] = await vpnSessionsCreate(client,
|
|
80153
|
+
args: args123,
|
|
80154
|
+
tool: async (client, args124, ctx) => {
|
|
80155
|
+
const [result, apiCall] = await vpnSessionsCreate(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79101
80156
|
if (!result.ok) {
|
|
79102
80157
|
return {
|
|
79103
80158
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79112,9 +80167,9 @@ Creates a new VPN Session.
|
|
|
79112
80167
|
|
|
79113
80168
|
// src/funcs/vpnSessionsDelete.ts
|
|
79114
80169
|
function vpnSessionsDelete(client, request, options) {
|
|
79115
|
-
return new APIPromise($
|
|
80170
|
+
return new APIPromise($do131(client, request, options));
|
|
79116
80171
|
}
|
|
79117
|
-
async function $
|
|
80172
|
+
async function $do131(client, request, options) {
|
|
79118
80173
|
const parsed = safeParse4(request, (value) => DeleteVpnSessionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79119
80174
|
if (!parsed.ok) {
|
|
79120
80175
|
return [parsed, { status: "invalid" }];
|
|
@@ -79188,12 +80243,12 @@ var init_vpnSessionsDelete = __esm(() => {
|
|
|
79188
80243
|
});
|
|
79189
80244
|
|
|
79190
80245
|
// src/mcp-server/tools/vpnSessionsDelete.ts
|
|
79191
|
-
var
|
|
80246
|
+
var args124, tool$vpnSessionsDelete;
|
|
79192
80247
|
var init_vpnSessionsDelete2 = __esm(() => {
|
|
79193
80248
|
init_vpnSessionsDelete();
|
|
79194
80249
|
init_operations();
|
|
79195
80250
|
init_tools();
|
|
79196
|
-
|
|
80251
|
+
args124 = {
|
|
79197
80252
|
request: DeleteVpnSessionRequest$inboundSchema
|
|
79198
80253
|
};
|
|
79199
80254
|
tool$vpnSessionsDelete = {
|
|
@@ -79202,9 +80257,9 @@ var init_vpnSessionsDelete2 = __esm(() => {
|
|
|
79202
80257
|
|
|
79203
80258
|
Deletes an existing VPN Session.
|
|
79204
80259
|
`,
|
|
79205
|
-
args:
|
|
79206
|
-
tool: async (client,
|
|
79207
|
-
const [result, apiCall] = await vpnSessionsDelete(client,
|
|
80260
|
+
args: args124,
|
|
80261
|
+
tool: async (client, args125, ctx) => {
|
|
80262
|
+
const [result, apiCall] = await vpnSessionsDelete(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79208
80263
|
if (!result.ok) {
|
|
79209
80264
|
return {
|
|
79210
80265
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79218,9 +80273,9 @@ Deletes an existing VPN Session.
|
|
|
79218
80273
|
|
|
79219
80274
|
// src/funcs/vpnSessionsList.ts
|
|
79220
80275
|
function vpnSessionsList(client, request, options) {
|
|
79221
|
-
return new APIPromise($
|
|
80276
|
+
return new APIPromise($do132(client, request, options));
|
|
79222
80277
|
}
|
|
79223
|
-
async function $
|
|
80278
|
+
async function $do132(client, request, options) {
|
|
79224
80279
|
const parsed = safeParse4(request, (value) => GetVpnSessionsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
79225
80280
|
if (!parsed.ok) {
|
|
79226
80281
|
return [parsed, { status: "invalid" }];
|
|
@@ -79293,20 +80348,20 @@ var init_vpnSessionsList = __esm(() => {
|
|
|
79293
80348
|
});
|
|
79294
80349
|
|
|
79295
80350
|
// src/mcp-server/tools/vpnSessionsList.ts
|
|
79296
|
-
var
|
|
80351
|
+
var args125, tool$vpnSessionsList;
|
|
79297
80352
|
var init_vpnSessionsList2 = __esm(() => {
|
|
79298
80353
|
init_vpnSessionsList();
|
|
79299
80354
|
init_operations();
|
|
79300
80355
|
init_tools();
|
|
79301
|
-
|
|
80356
|
+
args125 = {
|
|
79302
80357
|
request: GetVpnSessionsRequest$inboundSchema.optional()
|
|
79303
80358
|
};
|
|
79304
80359
|
tool$vpnSessionsList = {
|
|
79305
80360
|
name: "vpn-sessions-list",
|
|
79306
80361
|
description: `List VPN sessions`,
|
|
79307
|
-
args:
|
|
79308
|
-
tool: async (client,
|
|
79309
|
-
const [result, apiCall] = await vpnSessionsList(client,
|
|
80362
|
+
args: args125,
|
|
80363
|
+
tool: async (client, args126, ctx) => {
|
|
80364
|
+
const [result, apiCall] = await vpnSessionsList(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79310
80365
|
if (!result.ok) {
|
|
79311
80366
|
return {
|
|
79312
80367
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79321,9 +80376,9 @@ var init_vpnSessionsList2 = __esm(() => {
|
|
|
79321
80376
|
|
|
79322
80377
|
// src/funcs/vpnSessionsRefreshPassword.ts
|
|
79323
80378
|
function vpnSessionsRefreshPassword(client, request, options) {
|
|
79324
|
-
return new APIPromise($
|
|
80379
|
+
return new APIPromise($do133(client, request, options));
|
|
79325
80380
|
}
|
|
79326
|
-
async function $
|
|
80381
|
+
async function $do133(client, request, options) {
|
|
79327
80382
|
const parsed = safeParse4(request, (value) => PutVpnSessionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79328
80383
|
if (!parsed.ok) {
|
|
79329
80384
|
return [parsed, { status: "invalid" }];
|
|
@@ -79399,12 +80454,12 @@ var init_vpnSessionsRefreshPassword = __esm(() => {
|
|
|
79399
80454
|
});
|
|
79400
80455
|
|
|
79401
80456
|
// src/mcp-server/tools/vpnSessionsRefreshPassword.ts
|
|
79402
|
-
var
|
|
80457
|
+
var args126, tool$vpnSessionsRefreshPassword;
|
|
79403
80458
|
var init_vpnSessionsRefreshPassword2 = __esm(() => {
|
|
79404
80459
|
init_vpnSessionsRefreshPassword();
|
|
79405
80460
|
init_operations();
|
|
79406
80461
|
init_tools();
|
|
79407
|
-
|
|
80462
|
+
args126 = {
|
|
79408
80463
|
request: PutVpnSessionRequest$inboundSchema
|
|
79409
80464
|
};
|
|
79410
80465
|
tool$vpnSessionsRefreshPassword = {
|
|
@@ -79413,9 +80468,9 @@ var init_vpnSessionsRefreshPassword2 = __esm(() => {
|
|
|
79413
80468
|
|
|
79414
80469
|
Refreshing an existing VPN Session will create new credentials for that session
|
|
79415
80470
|
`,
|
|
79416
|
-
args:
|
|
79417
|
-
tool: async (client,
|
|
79418
|
-
const [result, apiCall] = await vpnSessionsRefreshPassword(client,
|
|
80471
|
+
args: args126,
|
|
80472
|
+
tool: async (client, args127, ctx) => {
|
|
80473
|
+
const [result, apiCall] = await vpnSessionsRefreshPassword(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79419
80474
|
if (!result.ok) {
|
|
79420
80475
|
return {
|
|
79421
80476
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79432,7 +80487,7 @@ Refreshing an existing VPN Session will create new credentials for that session
|
|
|
79432
80487
|
function createMCPServer(deps) {
|
|
79433
80488
|
const server2 = new McpServer({
|
|
79434
80489
|
name: "Latitudesh",
|
|
79435
|
-
version: "0.
|
|
80490
|
+
version: "0.6.0"
|
|
79436
80491
|
});
|
|
79437
80492
|
const client = new LatitudeshCore({
|
|
79438
80493
|
bearer: deps.bearer,
|
|
@@ -79560,6 +80615,10 @@ function createMCPServer(deps) {
|
|
|
79560
80615
|
tool(tool$virtualMachinesDelete);
|
|
79561
80616
|
tool(tool$virtualMachinesUpdateVirtualMachine);
|
|
79562
80617
|
tool(tool$virtualMachinesCreateVirtualMachineAction);
|
|
80618
|
+
tool(tool$virtualMachinesShowVirtualMachineMetrics);
|
|
80619
|
+
tool(tool$virtualMachinesListVirtualMachineNetworkAttachments);
|
|
80620
|
+
tool(tool$virtualMachinesCreateVirtualMachineNetworkAttachment);
|
|
80621
|
+
tool(tool$virtualMachinesDestroyVirtualMachineNetworkAttachment);
|
|
79563
80622
|
tool(tool$privateNetworksList);
|
|
79564
80623
|
tool(tool$privateNetworksCreate);
|
|
79565
80624
|
tool(tool$privateNetworksUpdate);
|
|
@@ -79703,9 +80762,13 @@ var init_server4 = __esm(() => {
|
|
|
79703
80762
|
init_userProfileUpdate2();
|
|
79704
80763
|
init_virtualMachinesCreate2();
|
|
79705
80764
|
init_virtualMachinesCreateVirtualMachineAction2();
|
|
80765
|
+
init_virtualMachinesCreateVirtualMachineNetworkAttachment2();
|
|
79706
80766
|
init_virtualMachinesDelete2();
|
|
80767
|
+
init_virtualMachinesDestroyVirtualMachineNetworkAttachment2();
|
|
79707
80768
|
init_virtualMachinesGet2();
|
|
79708
80769
|
init_virtualMachinesList2();
|
|
80770
|
+
init_virtualMachinesListVirtualMachineNetworkAttachments2();
|
|
80771
|
+
init_virtualMachinesShowVirtualMachineMetrics2();
|
|
79709
80772
|
init_virtualMachinesUpdateVirtualMachine2();
|
|
79710
80773
|
init_virtualNetworksDelete2();
|
|
79711
80774
|
init_vpnSessionsCreate2();
|
|
@@ -80915,7 +81978,7 @@ var routes = ln({
|
|
|
80915
81978
|
var app = _e(routes, {
|
|
80916
81979
|
name: "mcp",
|
|
80917
81980
|
versionInfo: {
|
|
80918
|
-
currentVersion: "0.
|
|
81981
|
+
currentVersion: "0.6.0"
|
|
80919
81982
|
}
|
|
80920
81983
|
});
|
|
80921
81984
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -80923,5 +81986,5 @@ export {
|
|
|
80923
81986
|
app
|
|
80924
81987
|
};
|
|
80925
81988
|
|
|
80926
|
-
//# debugId=
|
|
81989
|
+
//# debugId=47992355BF8496CC64756E2164756E21
|
|
80927
81990
|
//# sourceMappingURL=mcp-server.js.map
|