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.
Files changed (714) hide show
  1. package/README.md +17 -9
  2. package/bin/mcp-server.js +1425 -362
  3. package/bin/mcp-server.js.map +95 -79
  4. package/dist/commonjs/funcs/blockStorageDeleteStorageVolumes.d.ts +1 -1
  5. package/dist/commonjs/funcs/blockStorageDeleteStorageVolumes.js +1 -1
  6. package/dist/commonjs/funcs/blockStorageGetStorageVolume.d.ts +1 -1
  7. package/dist/commonjs/funcs/blockStorageGetStorageVolume.js +1 -1
  8. package/dist/commonjs/funcs/blockStoragePostStorageVolumesMount.d.ts +1 -1
  9. package/dist/commonjs/funcs/blockStoragePostStorageVolumesMount.js +1 -1
  10. package/dist/commonjs/funcs/elasticIpsListElasticIps.d.ts.map +1 -1
  11. package/dist/commonjs/funcs/elasticIpsListElasticIps.js +1 -2
  12. package/dist/commonjs/funcs/elasticIpsListElasticIps.js.map +1 -1
  13. package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
  14. package/dist/commonjs/funcs/eventsList.js +1 -2
  15. package/dist/commonjs/funcs/eventsList.js.map +1 -1
  16. package/dist/commonjs/funcs/filesystemStorageDeleteFilesystem.d.ts +1 -1
  17. package/dist/commonjs/funcs/filesystemStorageDeleteFilesystem.js +1 -1
  18. package/dist/commonjs/funcs/firewallsGetAllFirewallAssignments.d.ts.map +1 -1
  19. package/dist/commonjs/funcs/firewallsGetAllFirewallAssignments.js +1 -2
  20. package/dist/commonjs/funcs/firewallsGetAllFirewallAssignments.js.map +1 -1
  21. package/dist/commonjs/funcs/firewallsList.d.ts.map +1 -1
  22. package/dist/commonjs/funcs/firewallsList.js +1 -2
  23. package/dist/commonjs/funcs/firewallsList.js.map +1 -1
  24. package/dist/commonjs/funcs/firewallsListAssignments.d.ts.map +1 -1
  25. package/dist/commonjs/funcs/firewallsListAssignments.js +1 -2
  26. package/dist/commonjs/funcs/firewallsListAssignments.js.map +1 -1
  27. package/dist/commonjs/funcs/ipAddressesList.d.ts.map +1 -1
  28. package/dist/commonjs/funcs/ipAddressesList.js +1 -2
  29. package/dist/commonjs/funcs/ipAddressesList.js.map +1 -1
  30. package/dist/commonjs/funcs/objectStorageDeleteStorageBuckets.d.ts +1 -1
  31. package/dist/commonjs/funcs/objectStorageDeleteStorageBuckets.js +1 -1
  32. package/dist/commonjs/funcs/objectStorageGetStorageBucket.d.ts +1 -1
  33. package/dist/commonjs/funcs/objectStorageGetStorageBucket.js +1 -1
  34. package/dist/commonjs/funcs/objectStorageGetStorageBuckets.d.ts +1 -1
  35. package/dist/commonjs/funcs/objectStorageGetStorageBuckets.js +1 -1
  36. package/dist/commonjs/funcs/objectStoragePostStorageBuckets.d.ts +1 -1
  37. package/dist/commonjs/funcs/objectStoragePostStorageBuckets.js +1 -1
  38. package/dist/commonjs/funcs/operatingSystemsListPlans.d.ts.map +1 -1
  39. package/dist/commonjs/funcs/operatingSystemsListPlans.js +1 -2
  40. package/dist/commonjs/funcs/operatingSystemsListPlans.js.map +1 -1
  41. package/dist/commonjs/funcs/plansGetBandwidth.d.ts.map +1 -1
  42. package/dist/commonjs/funcs/plansGetBandwidth.js +1 -2
  43. package/dist/commonjs/funcs/plansGetBandwidth.js.map +1 -1
  44. package/dist/commonjs/funcs/privateNetworksList.d.ts.map +1 -1
  45. package/dist/commonjs/funcs/privateNetworksList.js +1 -2
  46. package/dist/commonjs/funcs/privateNetworksList.js.map +1 -1
  47. package/dist/commonjs/funcs/privateNetworksListAssignments.d.ts.map +1 -1
  48. package/dist/commonjs/funcs/privateNetworksListAssignments.js +1 -2
  49. package/dist/commonjs/funcs/privateNetworksListAssignments.js.map +1 -1
  50. package/dist/commonjs/funcs/projectsList.d.ts.map +1 -1
  51. package/dist/commonjs/funcs/projectsList.js +1 -2
  52. package/dist/commonjs/funcs/projectsList.js.map +1 -1
  53. package/dist/commonjs/funcs/regionsGet.d.ts.map +1 -1
  54. package/dist/commonjs/funcs/regionsGet.js +1 -2
  55. package/dist/commonjs/funcs/regionsGet.js.map +1 -1
  56. package/dist/commonjs/funcs/rolesList.d.ts.map +1 -1
  57. package/dist/commonjs/funcs/rolesList.js +1 -2
  58. package/dist/commonjs/funcs/rolesList.js.map +1 -1
  59. package/dist/commonjs/funcs/serversList.d.ts.map +1 -1
  60. package/dist/commonjs/funcs/serversList.js +4 -3
  61. package/dist/commonjs/funcs/serversList.js.map +1 -1
  62. package/dist/commonjs/funcs/sshKeysList.js +3 -0
  63. package/dist/commonjs/funcs/sshKeysList.js.map +1 -1
  64. package/dist/commonjs/funcs/sshKeysListAll.js +3 -0
  65. package/dist/commonjs/funcs/sshKeysListAll.js.map +1 -1
  66. package/dist/commonjs/funcs/teamsMembersGetTeamMembers.d.ts.map +1 -1
  67. package/dist/commonjs/funcs/teamsMembersGetTeamMembers.js +1 -2
  68. package/dist/commonjs/funcs/teamsMembersGetTeamMembers.js.map +1 -1
  69. package/dist/commonjs/funcs/userDataList.d.ts +4 -2
  70. package/dist/commonjs/funcs/userDataList.d.ts.map +1 -1
  71. package/dist/commonjs/funcs/userDataList.js +44 -8
  72. package/dist/commonjs/funcs/userDataList.js.map +1 -1
  73. package/dist/commonjs/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts +17 -0
  74. package/dist/commonjs/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts.map +1 -0
  75. package/dist/commonjs/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.js +119 -0
  76. package/dist/commonjs/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.js.map +1 -0
  77. package/dist/commonjs/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts +17 -0
  78. package/dist/commonjs/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts.map +1 -0
  79. package/dist/commonjs/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.js +122 -0
  80. package/dist/commonjs/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.js.map +1 -0
  81. package/dist/commonjs/funcs/virtualMachinesList.js +1 -0
  82. package/dist/commonjs/funcs/virtualMachinesList.js.map +1 -1
  83. package/dist/commonjs/funcs/virtualMachinesListVirtualMachineNetworkAttachments.d.ts +18 -0
  84. package/dist/commonjs/funcs/virtualMachinesListVirtualMachineNetworkAttachments.d.ts.map +1 -0
  85. package/dist/commonjs/funcs/virtualMachinesListVirtualMachineNetworkAttachments.js +121 -0
  86. package/dist/commonjs/funcs/virtualMachinesListVirtualMachineNetworkAttachments.js.map +1 -0
  87. package/dist/commonjs/funcs/virtualMachinesShowVirtualMachineMetrics.d.ts +18 -0
  88. package/dist/commonjs/funcs/virtualMachinesShowVirtualMachineMetrics.d.ts.map +1 -0
  89. package/dist/commonjs/funcs/virtualMachinesShowVirtualMachineMetrics.js +126 -0
  90. package/dist/commonjs/funcs/virtualMachinesShowVirtualMachineMetrics.js.map +1 -0
  91. package/dist/commonjs/hooks/types.d.ts +1 -0
  92. package/dist/commonjs/hooks/types.d.ts.map +1 -1
  93. package/dist/commonjs/lib/config.d.ts +3 -3
  94. package/dist/commonjs/lib/config.js +3 -3
  95. package/dist/commonjs/lib/encodings.js +12 -12
  96. package/dist/commonjs/lib/encodings.js.map +1 -1
  97. package/dist/commonjs/lib/env.d.ts.map +1 -1
  98. package/dist/commonjs/lib/env.js +3 -3
  99. package/dist/commonjs/lib/env.js.map +1 -1
  100. package/dist/commonjs/lib/matchers.js +3 -3
  101. package/dist/commonjs/lib/matchers.js.map +1 -1
  102. package/dist/commonjs/lib/primitives.d.ts +1 -0
  103. package/dist/commonjs/lib/primitives.d.ts.map +1 -1
  104. package/dist/commonjs/lib/primitives.js +18 -0
  105. package/dist/commonjs/lib/primitives.js.map +1 -1
  106. package/dist/commonjs/lib/retries.js +7 -0
  107. package/dist/commonjs/lib/retries.js.map +1 -1
  108. package/dist/commonjs/lib/sdks.d.ts.map +1 -1
  109. package/dist/commonjs/lib/sdks.js +50 -16
  110. package/dist/commonjs/lib/sdks.js.map +1 -1
  111. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  112. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  113. package/dist/commonjs/mcp-server/server.js +9 -1
  114. package/dist/commonjs/mcp-server/server.js.map +1 -1
  115. package/dist/commonjs/mcp-server/tools/blockStorageDeleteStorageVolumes.js +1 -1
  116. package/dist/commonjs/mcp-server/tools/blockStorageDeleteStorageVolumes.js.map +1 -1
  117. package/dist/commonjs/mcp-server/tools/blockStorageGetStorageVolume.js +1 -1
  118. package/dist/commonjs/mcp-server/tools/blockStorageGetStorageVolume.js.map +1 -1
  119. package/dist/commonjs/mcp-server/tools/blockStoragePostStorageVolumesMount.js +1 -1
  120. package/dist/commonjs/mcp-server/tools/blockStoragePostStorageVolumesMount.js.map +1 -1
  121. package/dist/commonjs/mcp-server/tools/filesystemStorageDeleteFilesystem.js +1 -1
  122. package/dist/commonjs/mcp-server/tools/filesystemStorageDeleteFilesystem.js.map +1 -1
  123. package/dist/commonjs/mcp-server/tools/objectStorageDeleteStorageBuckets.js +1 -1
  124. package/dist/commonjs/mcp-server/tools/objectStorageGetStorageBucket.js +1 -1
  125. package/dist/commonjs/mcp-server/tools/objectStorageGetStorageBuckets.js +1 -1
  126. package/dist/commonjs/mcp-server/tools/objectStoragePostStorageBuckets.js +1 -1
  127. package/dist/commonjs/mcp-server/tools/userDataList.js +1 -1
  128. package/dist/commonjs/mcp-server/tools/userDataList.js.map +1 -1
  129. package/dist/commonjs/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts +8 -0
  130. package/dist/commonjs/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts.map +1 -0
  131. package/dist/commonjs/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.js +65 -0
  132. package/dist/commonjs/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.js.map +1 -0
  133. package/dist/commonjs/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts +8 -0
  134. package/dist/commonjs/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts.map +1 -0
  135. package/dist/commonjs/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.js +65 -0
  136. package/dist/commonjs/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.js.map +1 -0
  137. package/dist/commonjs/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.d.ts +8 -0
  138. package/dist/commonjs/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.d.ts.map +1 -0
  139. package/dist/commonjs/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.js +65 -0
  140. package/dist/commonjs/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.js.map +1 -0
  141. package/dist/commonjs/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.d.ts +8 -0
  142. package/dist/commonjs/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.d.ts.map +1 -0
  143. package/dist/commonjs/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.js +64 -0
  144. package/dist/commonjs/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.js.map +1 -0
  145. package/dist/commonjs/models/deployconfig.d.ts +52 -0
  146. package/dist/commonjs/models/deployconfig.d.ts.map +1 -1
  147. package/dist/commonjs/models/deployconfig.js +68 -1
  148. package/dist/commonjs/models/deployconfig.js.map +1 -1
  149. package/dist/commonjs/models/index.d.ts +6 -0
  150. package/dist/commonjs/models/index.d.ts.map +1 -1
  151. package/dist/commonjs/models/index.js +6 -0
  152. package/dist/commonjs/models/index.js.map +1 -1
  153. package/dist/commonjs/models/ipaddress.d.ts +11 -129
  154. package/dist/commonjs/models/ipaddress.d.ts.map +1 -1
  155. package/dist/commonjs/models/ipaddress.js +14 -146
  156. package/dist/commonjs/models/ipaddress.js.map +1 -1
  157. package/dist/commonjs/models/ipaddressdata.d.ts +185 -0
  158. package/dist/commonjs/models/ipaddressdata.d.ts.map +1 -0
  159. package/dist/commonjs/models/ipaddressdata.js +247 -0
  160. package/dist/commonjs/models/ipaddressdata.js.map +1 -0
  161. package/dist/commonjs/models/ipaddresses.d.ts +14 -3
  162. package/dist/commonjs/models/ipaddresses.d.ts.map +1 -1
  163. package/dist/commonjs/models/ipaddresses.js +18 -4
  164. package/dist/commonjs/models/ipaddresses.js.map +1 -1
  165. package/dist/commonjs/models/operatingsystemdata.d.ts +1 -1
  166. package/dist/commonjs/models/operatingsystemdata.js +1 -1
  167. package/dist/commonjs/models/operatingsystemdata.js.map +1 -1
  168. package/dist/commonjs/models/operations/createvirtualmachinenetworkattachment.d.ts +49 -0
  169. package/dist/commonjs/models/operations/createvirtualmachinenetworkattachment.d.ts.map +1 -0
  170. package/dist/commonjs/models/operations/createvirtualmachinenetworkattachment.js +106 -0
  171. package/dist/commonjs/models/operations/createvirtualmachinenetworkattachment.js.map +1 -0
  172. package/dist/commonjs/models/operations/destroyvirtualmachinenetworkattachment.d.ts +51 -0
  173. package/dist/commonjs/models/operations/destroyvirtualmachinenetworkattachment.d.ts.map +1 -0
  174. package/dist/commonjs/models/operations/destroyvirtualmachinenetworkattachment.js +102 -0
  175. package/dist/commonjs/models/operations/destroyvirtualmachinenetworkattachment.js.map +1 -0
  176. package/dist/commonjs/models/operations/getevents.d.ts +2 -18
  177. package/dist/commonjs/models/operations/getevents.d.ts.map +1 -1
  178. package/dist/commonjs/models/operations/getevents.js +3 -19
  179. package/dist/commonjs/models/operations/getevents.js.map +1 -1
  180. package/dist/commonjs/models/operations/getplansoperatingsystem.d.ts +2 -18
  181. package/dist/commonjs/models/operations/getplansoperatingsystem.d.ts.map +1 -1
  182. package/dist/commonjs/models/operations/getplansoperatingsystem.js +3 -19
  183. package/dist/commonjs/models/operations/getplansoperatingsystem.js.map +1 -1
  184. package/dist/commonjs/models/operations/getprojectsshkeys.d.ts +15 -0
  185. package/dist/commonjs/models/operations/getprojectsshkeys.d.ts.map +1 -1
  186. package/dist/commonjs/models/operations/getprojectsshkeys.js +12 -0
  187. package/dist/commonjs/models/operations/getprojectsshkeys.js.map +1 -1
  188. package/dist/commonjs/models/operations/getservers.d.ts +13 -8
  189. package/dist/commonjs/models/operations/getservers.d.ts.map +1 -1
  190. package/dist/commonjs/models/operations/getservers.js +12 -4
  191. package/dist/commonjs/models/operations/getservers.js.map +1 -1
  192. package/dist/commonjs/models/operations/getsshkeys.d.ts +15 -0
  193. package/dist/commonjs/models/operations/getsshkeys.d.ts.map +1 -1
  194. package/dist/commonjs/models/operations/getsshkeys.js +12 -0
  195. package/dist/commonjs/models/operations/getsshkeys.js.map +1 -1
  196. package/dist/commonjs/models/operations/getstoragevolume.d.ts +1 -1
  197. package/dist/commonjs/models/operations/getusersdata.d.ts +29 -0
  198. package/dist/commonjs/models/operations/getusersdata.d.ts.map +1 -1
  199. package/dist/commonjs/models/operations/getusersdata.js +38 -1
  200. package/dist/commonjs/models/operations/getusersdata.js.map +1 -1
  201. package/dist/commonjs/models/operations/getvpnsessions.d.ts +8 -8
  202. package/dist/commonjs/models/operations/getvpnsessions.d.ts.map +1 -1
  203. package/dist/commonjs/models/operations/getvpnsessions.js +11 -12
  204. package/dist/commonjs/models/operations/getvpnsessions.js.map +1 -1
  205. package/dist/commonjs/models/operations/index.d.ts +4 -0
  206. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  207. package/dist/commonjs/models/operations/index.js +4 -0
  208. package/dist/commonjs/models/operations/index.js.map +1 -1
  209. package/dist/commonjs/models/operations/indexvirtualmachine.d.ts +6 -1
  210. package/dist/commonjs/models/operations/indexvirtualmachine.d.ts.map +1 -1
  211. package/dist/commonjs/models/operations/indexvirtualmachine.js +4 -0
  212. package/dist/commonjs/models/operations/indexvirtualmachine.js.map +1 -1
  213. package/dist/commonjs/models/operations/listvirtualmachinenetworkattachments.d.ts +17 -0
  214. package/dist/commonjs/models/operations/listvirtualmachinenetworkattachments.d.ts.map +1 -0
  215. package/dist/commonjs/models/operations/listvirtualmachinenetworkattachments.js +67 -0
  216. package/dist/commonjs/models/operations/listvirtualmachinenetworkattachments.js.map +1 -0
  217. package/dist/commonjs/models/operations/patchcurrentteam.d.ts +2 -13
  218. package/dist/commonjs/models/operations/patchcurrentteam.d.ts.map +1 -1
  219. package/dist/commonjs/models/operations/patchcurrentteam.js +5 -15
  220. package/dist/commonjs/models/operations/patchcurrentteam.js.map +1 -1
  221. package/dist/commonjs/models/operations/poststoragebuckets.d.ts +9 -9
  222. package/dist/commonjs/models/operations/poststoragebuckets.js +2 -2
  223. package/dist/commonjs/models/operations/poststoragefilesystems.d.ts +1 -1
  224. package/dist/commonjs/models/operations/poststoragevolumes.d.ts +1 -1
  225. package/dist/commonjs/models/operations/poststoragevolumesmount.d.ts +2 -2
  226. package/dist/commonjs/models/operations/postteam.d.ts +7 -5
  227. package/dist/commonjs/models/operations/postteam.d.ts.map +1 -1
  228. package/dist/commonjs/models/operations/postteam.js +11 -6
  229. package/dist/commonjs/models/operations/postteam.js.map +1 -1
  230. package/dist/commonjs/models/operations/showvirtualmachinemetrics.d.ts +46 -0
  231. package/dist/commonjs/models/operations/showvirtualmachinemetrics.d.ts.map +1 -0
  232. package/dist/commonjs/models/operations/showvirtualmachinemetrics.js +96 -0
  233. package/dist/commonjs/models/operations/showvirtualmachinemetrics.js.map +1 -0
  234. package/dist/commonjs/models/paginationmeta.d.ts +46 -0
  235. package/dist/commonjs/models/paginationmeta.d.ts.map +1 -0
  236. package/dist/commonjs/models/paginationmeta.js +91 -0
  237. package/dist/commonjs/models/paginationmeta.js.map +1 -0
  238. package/dist/commonjs/models/sshkeydata.d.ts +21 -0
  239. package/dist/commonjs/models/sshkeydata.d.ts.map +1 -1
  240. package/dist/commonjs/models/sshkeydata.js +25 -1
  241. package/dist/commonjs/models/sshkeydata.js.map +1 -1
  242. package/dist/commonjs/models/sshkeys.d.ts +3 -11
  243. package/dist/commonjs/models/sshkeys.d.ts.map +1 -1
  244. package/dist/commonjs/models/sshkeys.js +4 -15
  245. package/dist/commonjs/models/sshkeys.js.map +1 -1
  246. package/dist/commonjs/models/teammembers.d.ts +11 -4
  247. package/dist/commonjs/models/teammembers.d.ts.map +1 -1
  248. package/dist/commonjs/models/teammembers.js +15 -15
  249. package/dist/commonjs/models/teammembers.js.map +1 -1
  250. package/dist/commonjs/models/userdata.d.ts +3 -11
  251. package/dist/commonjs/models/userdata.d.ts.map +1 -1
  252. package/dist/commonjs/models/userdata.js +4 -15
  253. package/dist/commonjs/models/userdata.js.map +1 -1
  254. package/dist/commonjs/models/virtualmachineattributes.d.ts +35 -0
  255. package/dist/commonjs/models/virtualmachineattributes.d.ts.map +1 -1
  256. package/dist/commonjs/models/virtualmachineattributes.js +39 -1
  257. package/dist/commonjs/models/virtualmachineattributes.js.map +1 -1
  258. package/dist/commonjs/models/virtualmachinemetrics.d.ts +90 -0
  259. package/dist/commonjs/models/virtualmachinemetrics.d.ts.map +1 -0
  260. package/dist/commonjs/models/virtualmachinemetrics.js +118 -0
  261. package/dist/commonjs/models/virtualmachinemetrics.js.map +1 -0
  262. package/dist/commonjs/models/virtualmachinenetworkattachmentcreatepayload.d.ts +57 -0
  263. package/dist/commonjs/models/virtualmachinenetworkattachmentcreatepayload.d.ts.map +1 -0
  264. package/dist/commonjs/models/virtualmachinenetworkattachmentcreatepayload.js +110 -0
  265. package/dist/commonjs/models/virtualmachinenetworkattachmentcreatepayload.js.map +1 -0
  266. package/dist/commonjs/models/virtualmachinenetworkattachmentresource.d.ts +59 -0
  267. package/dist/commonjs/models/virtualmachinenetworkattachmentresource.d.ts.map +1 -0
  268. package/dist/commonjs/models/virtualmachinenetworkattachmentresource.js +101 -0
  269. package/dist/commonjs/models/virtualmachinenetworkattachmentresource.js.map +1 -0
  270. package/dist/commonjs/models/virtualmachinenetworkattachments.d.ts +18 -0
  271. package/dist/commonjs/models/virtualmachinenetworkattachments.d.ts.map +1 -0
  272. package/dist/commonjs/models/virtualmachinenetworkattachments.js +61 -0
  273. package/dist/commonjs/models/virtualmachinenetworkattachments.js.map +1 -0
  274. package/dist/commonjs/models/virtualmachinepayload.d.ts +22 -0
  275. package/dist/commonjs/models/virtualmachinepayload.d.ts.map +1 -1
  276. package/dist/commonjs/models/virtualmachinepayload.js +19 -1
  277. package/dist/commonjs/models/virtualmachinepayload.js.map +1 -1
  278. package/dist/commonjs/models/virtualmachineupdatepayload.d.ts +7 -2
  279. package/dist/commonjs/models/virtualmachineupdatepayload.d.ts.map +1 -1
  280. package/dist/commonjs/models/virtualmachineupdatepayload.js +4 -2
  281. package/dist/commonjs/models/virtualmachineupdatepayload.js.map +1 -1
  282. package/dist/commonjs/models/virtualnetworkdata.d.ts +8 -8
  283. package/dist/commonjs/models/virtualnetworkdata.d.ts.map +1 -1
  284. package/dist/commonjs/models/virtualnetworkdata.js +11 -13
  285. package/dist/commonjs/models/virtualnetworkdata.js.map +1 -1
  286. package/dist/commonjs/sdk/blockstorage.d.ts +3 -3
  287. package/dist/commonjs/sdk/blockstorage.js +3 -3
  288. package/dist/commonjs/sdk/filesystemstorage.d.ts +1 -1
  289. package/dist/commonjs/sdk/filesystemstorage.js +1 -1
  290. package/dist/commonjs/sdk/objectstorage.d.ts +4 -4
  291. package/dist/commonjs/sdk/objectstorage.js +4 -4
  292. package/dist/commonjs/sdk/userdata.d.ts +4 -1
  293. package/dist/commonjs/sdk/userdata.d.ts.map +1 -1
  294. package/dist/commonjs/sdk/userdata.js +2 -1
  295. package/dist/commonjs/sdk/userdata.js.map +1 -1
  296. package/dist/commonjs/sdk/virtualmachines.d.ts +28 -0
  297. package/dist/commonjs/sdk/virtualmachines.d.ts.map +1 -1
  298. package/dist/commonjs/sdk/virtualmachines.js +40 -0
  299. package/dist/commonjs/sdk/virtualmachines.js.map +1 -1
  300. package/dist/esm/funcs/blockStorageDeleteStorageVolumes.d.ts +1 -1
  301. package/dist/esm/funcs/blockStorageDeleteStorageVolumes.js +1 -1
  302. package/dist/esm/funcs/blockStorageGetStorageVolume.d.ts +1 -1
  303. package/dist/esm/funcs/blockStorageGetStorageVolume.js +1 -1
  304. package/dist/esm/funcs/blockStoragePostStorageVolumesMount.d.ts +1 -1
  305. package/dist/esm/funcs/blockStoragePostStorageVolumesMount.js +1 -1
  306. package/dist/esm/funcs/elasticIpsListElasticIps.d.ts.map +1 -1
  307. package/dist/esm/funcs/elasticIpsListElasticIps.js +1 -2
  308. package/dist/esm/funcs/elasticIpsListElasticIps.js.map +1 -1
  309. package/dist/esm/funcs/eventsList.d.ts.map +1 -1
  310. package/dist/esm/funcs/eventsList.js +1 -2
  311. package/dist/esm/funcs/eventsList.js.map +1 -1
  312. package/dist/esm/funcs/filesystemStorageDeleteFilesystem.d.ts +1 -1
  313. package/dist/esm/funcs/filesystemStorageDeleteFilesystem.js +1 -1
  314. package/dist/esm/funcs/firewallsGetAllFirewallAssignments.d.ts.map +1 -1
  315. package/dist/esm/funcs/firewallsGetAllFirewallAssignments.js +1 -2
  316. package/dist/esm/funcs/firewallsGetAllFirewallAssignments.js.map +1 -1
  317. package/dist/esm/funcs/firewallsList.d.ts.map +1 -1
  318. package/dist/esm/funcs/firewallsList.js +1 -2
  319. package/dist/esm/funcs/firewallsList.js.map +1 -1
  320. package/dist/esm/funcs/firewallsListAssignments.d.ts.map +1 -1
  321. package/dist/esm/funcs/firewallsListAssignments.js +1 -2
  322. package/dist/esm/funcs/firewallsListAssignments.js.map +1 -1
  323. package/dist/esm/funcs/ipAddressesList.d.ts.map +1 -1
  324. package/dist/esm/funcs/ipAddressesList.js +1 -2
  325. package/dist/esm/funcs/ipAddressesList.js.map +1 -1
  326. package/dist/esm/funcs/objectStorageDeleteStorageBuckets.d.ts +1 -1
  327. package/dist/esm/funcs/objectStorageDeleteStorageBuckets.js +1 -1
  328. package/dist/esm/funcs/objectStorageGetStorageBucket.d.ts +1 -1
  329. package/dist/esm/funcs/objectStorageGetStorageBucket.js +1 -1
  330. package/dist/esm/funcs/objectStorageGetStorageBuckets.d.ts +1 -1
  331. package/dist/esm/funcs/objectStorageGetStorageBuckets.js +1 -1
  332. package/dist/esm/funcs/objectStoragePostStorageBuckets.d.ts +1 -1
  333. package/dist/esm/funcs/objectStoragePostStorageBuckets.js +1 -1
  334. package/dist/esm/funcs/operatingSystemsListPlans.d.ts.map +1 -1
  335. package/dist/esm/funcs/operatingSystemsListPlans.js +1 -2
  336. package/dist/esm/funcs/operatingSystemsListPlans.js.map +1 -1
  337. package/dist/esm/funcs/plansGetBandwidth.d.ts.map +1 -1
  338. package/dist/esm/funcs/plansGetBandwidth.js +1 -2
  339. package/dist/esm/funcs/plansGetBandwidth.js.map +1 -1
  340. package/dist/esm/funcs/privateNetworksList.d.ts.map +1 -1
  341. package/dist/esm/funcs/privateNetworksList.js +1 -2
  342. package/dist/esm/funcs/privateNetworksList.js.map +1 -1
  343. package/dist/esm/funcs/privateNetworksListAssignments.d.ts.map +1 -1
  344. package/dist/esm/funcs/privateNetworksListAssignments.js +1 -2
  345. package/dist/esm/funcs/privateNetworksListAssignments.js.map +1 -1
  346. package/dist/esm/funcs/projectsList.d.ts.map +1 -1
  347. package/dist/esm/funcs/projectsList.js +1 -2
  348. package/dist/esm/funcs/projectsList.js.map +1 -1
  349. package/dist/esm/funcs/regionsGet.d.ts.map +1 -1
  350. package/dist/esm/funcs/regionsGet.js +1 -2
  351. package/dist/esm/funcs/regionsGet.js.map +1 -1
  352. package/dist/esm/funcs/rolesList.d.ts.map +1 -1
  353. package/dist/esm/funcs/rolesList.js +1 -2
  354. package/dist/esm/funcs/rolesList.js.map +1 -1
  355. package/dist/esm/funcs/serversList.d.ts.map +1 -1
  356. package/dist/esm/funcs/serversList.js +4 -3
  357. package/dist/esm/funcs/serversList.js.map +1 -1
  358. package/dist/esm/funcs/sshKeysList.js +3 -0
  359. package/dist/esm/funcs/sshKeysList.js.map +1 -1
  360. package/dist/esm/funcs/sshKeysListAll.js +3 -0
  361. package/dist/esm/funcs/sshKeysListAll.js.map +1 -1
  362. package/dist/esm/funcs/teamsMembersGetTeamMembers.d.ts.map +1 -1
  363. package/dist/esm/funcs/teamsMembersGetTeamMembers.js +1 -2
  364. package/dist/esm/funcs/teamsMembersGetTeamMembers.js.map +1 -1
  365. package/dist/esm/funcs/userDataList.d.ts +4 -2
  366. package/dist/esm/funcs/userDataList.d.ts.map +1 -1
  367. package/dist/esm/funcs/userDataList.js +44 -8
  368. package/dist/esm/funcs/userDataList.js.map +1 -1
  369. package/dist/esm/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts +17 -0
  370. package/dist/esm/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts.map +1 -0
  371. package/dist/esm/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.js +83 -0
  372. package/dist/esm/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.js.map +1 -0
  373. package/dist/esm/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts +17 -0
  374. package/dist/esm/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts.map +1 -0
  375. package/dist/esm/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.js +86 -0
  376. package/dist/esm/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.js.map +1 -0
  377. package/dist/esm/funcs/virtualMachinesList.js +1 -0
  378. package/dist/esm/funcs/virtualMachinesList.js.map +1 -1
  379. package/dist/esm/funcs/virtualMachinesListVirtualMachineNetworkAttachments.d.ts +18 -0
  380. package/dist/esm/funcs/virtualMachinesListVirtualMachineNetworkAttachments.d.ts.map +1 -0
  381. package/dist/esm/funcs/virtualMachinesListVirtualMachineNetworkAttachments.js +85 -0
  382. package/dist/esm/funcs/virtualMachinesListVirtualMachineNetworkAttachments.js.map +1 -0
  383. package/dist/esm/funcs/virtualMachinesShowVirtualMachineMetrics.d.ts +18 -0
  384. package/dist/esm/funcs/virtualMachinesShowVirtualMachineMetrics.d.ts.map +1 -0
  385. package/dist/esm/funcs/virtualMachinesShowVirtualMachineMetrics.js +90 -0
  386. package/dist/esm/funcs/virtualMachinesShowVirtualMachineMetrics.js.map +1 -0
  387. package/dist/esm/hooks/types.d.ts +1 -0
  388. package/dist/esm/hooks/types.d.ts.map +1 -1
  389. package/dist/esm/lib/config.d.ts +3 -3
  390. package/dist/esm/lib/config.js +3 -3
  391. package/dist/esm/lib/encodings.js +1 -1
  392. package/dist/esm/lib/encodings.js.map +1 -1
  393. package/dist/esm/lib/env.d.ts.map +1 -1
  394. package/dist/esm/lib/env.js +3 -3
  395. package/dist/esm/lib/env.js.map +1 -1
  396. package/dist/esm/lib/matchers.js +1 -1
  397. package/dist/esm/lib/matchers.js.map +1 -1
  398. package/dist/esm/lib/primitives.d.ts +1 -0
  399. package/dist/esm/lib/primitives.d.ts.map +1 -1
  400. package/dist/esm/lib/primitives.js +17 -0
  401. package/dist/esm/lib/primitives.js.map +1 -1
  402. package/dist/esm/lib/retries.js +7 -0
  403. package/dist/esm/lib/retries.js.map +1 -1
  404. package/dist/esm/lib/sdks.d.ts.map +1 -1
  405. package/dist/esm/lib/sdks.js +50 -16
  406. package/dist/esm/lib/sdks.js.map +1 -1
  407. package/dist/esm/mcp-server/mcp-server.js +1 -1
  408. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  409. package/dist/esm/mcp-server/server.js +9 -1
  410. package/dist/esm/mcp-server/server.js.map +1 -1
  411. package/dist/esm/mcp-server/tools/blockStorageDeleteStorageVolumes.js +1 -1
  412. package/dist/esm/mcp-server/tools/blockStorageDeleteStorageVolumes.js.map +1 -1
  413. package/dist/esm/mcp-server/tools/blockStorageGetStorageVolume.js +1 -1
  414. package/dist/esm/mcp-server/tools/blockStorageGetStorageVolume.js.map +1 -1
  415. package/dist/esm/mcp-server/tools/blockStoragePostStorageVolumesMount.js +1 -1
  416. package/dist/esm/mcp-server/tools/blockStoragePostStorageVolumesMount.js.map +1 -1
  417. package/dist/esm/mcp-server/tools/filesystemStorageDeleteFilesystem.js +1 -1
  418. package/dist/esm/mcp-server/tools/filesystemStorageDeleteFilesystem.js.map +1 -1
  419. package/dist/esm/mcp-server/tools/objectStorageDeleteStorageBuckets.js +1 -1
  420. package/dist/esm/mcp-server/tools/objectStorageGetStorageBucket.js +1 -1
  421. package/dist/esm/mcp-server/tools/objectStorageGetStorageBuckets.js +1 -1
  422. package/dist/esm/mcp-server/tools/objectStoragePostStorageBuckets.js +1 -1
  423. package/dist/esm/mcp-server/tools/userDataList.js +1 -1
  424. package/dist/esm/mcp-server/tools/userDataList.js.map +1 -1
  425. package/dist/esm/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts +8 -0
  426. package/dist/esm/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.d.ts.map +1 -0
  427. package/dist/esm/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.js +29 -0
  428. package/dist/esm/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.js.map +1 -0
  429. package/dist/esm/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts +8 -0
  430. package/dist/esm/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.d.ts.map +1 -0
  431. package/dist/esm/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.js +29 -0
  432. package/dist/esm/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.js.map +1 -0
  433. package/dist/esm/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.d.ts +8 -0
  434. package/dist/esm/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.d.ts.map +1 -0
  435. package/dist/esm/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.js +29 -0
  436. package/dist/esm/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.js.map +1 -0
  437. package/dist/esm/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.d.ts +8 -0
  438. package/dist/esm/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.d.ts.map +1 -0
  439. package/dist/esm/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.js +28 -0
  440. package/dist/esm/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.js.map +1 -0
  441. package/dist/esm/models/deployconfig.d.ts +52 -0
  442. package/dist/esm/models/deployconfig.d.ts.map +1 -1
  443. package/dist/esm/models/deployconfig.js +65 -0
  444. package/dist/esm/models/deployconfig.js.map +1 -1
  445. package/dist/esm/models/index.d.ts +6 -0
  446. package/dist/esm/models/index.d.ts.map +1 -1
  447. package/dist/esm/models/index.js +6 -0
  448. package/dist/esm/models/index.js.map +1 -1
  449. package/dist/esm/models/ipaddress.d.ts +11 -129
  450. package/dist/esm/models/ipaddress.d.ts.map +1 -1
  451. package/dist/esm/models/ipaddress.js +11 -135
  452. package/dist/esm/models/ipaddress.js.map +1 -1
  453. package/dist/esm/models/ipaddressdata.d.ts +185 -0
  454. package/dist/esm/models/ipaddressdata.d.ts.map +1 -0
  455. package/dist/esm/models/ipaddressdata.js +197 -0
  456. package/dist/esm/models/ipaddressdata.js.map +1 -0
  457. package/dist/esm/models/ipaddresses.d.ts +14 -3
  458. package/dist/esm/models/ipaddresses.d.ts.map +1 -1
  459. package/dist/esm/models/ipaddresses.js +15 -3
  460. package/dist/esm/models/ipaddresses.js.map +1 -1
  461. package/dist/esm/models/operatingsystemdata.d.ts +1 -1
  462. package/dist/esm/models/operatingsystemdata.js +1 -1
  463. package/dist/esm/models/operatingsystemdata.js.map +1 -1
  464. package/dist/esm/models/operations/createvirtualmachinenetworkattachment.d.ts +49 -0
  465. package/dist/esm/models/operations/createvirtualmachinenetworkattachment.d.ts.map +1 -0
  466. package/dist/esm/models/operations/createvirtualmachinenetworkattachment.js +64 -0
  467. package/dist/esm/models/operations/createvirtualmachinenetworkattachment.js.map +1 -0
  468. package/dist/esm/models/operations/destroyvirtualmachinenetworkattachment.d.ts +51 -0
  469. package/dist/esm/models/operations/destroyvirtualmachinenetworkattachment.d.ts.map +1 -0
  470. package/dist/esm/models/operations/destroyvirtualmachinenetworkattachment.js +60 -0
  471. package/dist/esm/models/operations/destroyvirtualmachinenetworkattachment.js.map +1 -0
  472. package/dist/esm/models/operations/getevents.d.ts +2 -18
  473. package/dist/esm/models/operations/getevents.d.ts.map +1 -1
  474. package/dist/esm/models/operations/getevents.js +2 -16
  475. package/dist/esm/models/operations/getevents.js.map +1 -1
  476. package/dist/esm/models/operations/getplansoperatingsystem.d.ts +2 -18
  477. package/dist/esm/models/operations/getplansoperatingsystem.d.ts.map +1 -1
  478. package/dist/esm/models/operations/getplansoperatingsystem.js +2 -16
  479. package/dist/esm/models/operations/getplansoperatingsystem.js.map +1 -1
  480. package/dist/esm/models/operations/getprojectsshkeys.d.ts +15 -0
  481. package/dist/esm/models/operations/getprojectsshkeys.d.ts.map +1 -1
  482. package/dist/esm/models/operations/getprojectsshkeys.js +12 -0
  483. package/dist/esm/models/operations/getprojectsshkeys.js.map +1 -1
  484. package/dist/esm/models/operations/getservers.d.ts +13 -8
  485. package/dist/esm/models/operations/getservers.d.ts.map +1 -1
  486. package/dist/esm/models/operations/getservers.js +12 -4
  487. package/dist/esm/models/operations/getservers.js.map +1 -1
  488. package/dist/esm/models/operations/getsshkeys.d.ts +15 -0
  489. package/dist/esm/models/operations/getsshkeys.d.ts.map +1 -1
  490. package/dist/esm/models/operations/getsshkeys.js +12 -0
  491. package/dist/esm/models/operations/getsshkeys.js.map +1 -1
  492. package/dist/esm/models/operations/getstoragevolume.d.ts +1 -1
  493. package/dist/esm/models/operations/getusersdata.d.ts +29 -0
  494. package/dist/esm/models/operations/getusersdata.d.ts.map +1 -1
  495. package/dist/esm/models/operations/getusersdata.js +35 -0
  496. package/dist/esm/models/operations/getusersdata.js.map +1 -1
  497. package/dist/esm/models/operations/getvpnsessions.d.ts +8 -8
  498. package/dist/esm/models/operations/getvpnsessions.d.ts.map +1 -1
  499. package/dist/esm/models/operations/getvpnsessions.js +8 -9
  500. package/dist/esm/models/operations/getvpnsessions.js.map +1 -1
  501. package/dist/esm/models/operations/index.d.ts +4 -0
  502. package/dist/esm/models/operations/index.d.ts.map +1 -1
  503. package/dist/esm/models/operations/index.js +4 -0
  504. package/dist/esm/models/operations/index.js.map +1 -1
  505. package/dist/esm/models/operations/indexvirtualmachine.d.ts +6 -1
  506. package/dist/esm/models/operations/indexvirtualmachine.d.ts.map +1 -1
  507. package/dist/esm/models/operations/indexvirtualmachine.js +4 -0
  508. package/dist/esm/models/operations/indexvirtualmachine.js.map +1 -1
  509. package/dist/esm/models/operations/listvirtualmachinenetworkattachments.d.ts +17 -0
  510. package/dist/esm/models/operations/listvirtualmachinenetworkattachments.d.ts.map +1 -0
  511. package/dist/esm/models/operations/listvirtualmachinenetworkattachments.js +29 -0
  512. package/dist/esm/models/operations/listvirtualmachinenetworkattachments.js.map +1 -0
  513. package/dist/esm/models/operations/patchcurrentteam.d.ts +2 -13
  514. package/dist/esm/models/operations/patchcurrentteam.d.ts.map +1 -1
  515. package/dist/esm/models/operations/patchcurrentteam.js +4 -14
  516. package/dist/esm/models/operations/patchcurrentteam.js.map +1 -1
  517. package/dist/esm/models/operations/poststoragebuckets.d.ts +9 -9
  518. package/dist/esm/models/operations/poststoragebuckets.js +2 -2
  519. package/dist/esm/models/operations/poststoragefilesystems.d.ts +1 -1
  520. package/dist/esm/models/operations/poststoragevolumes.d.ts +1 -1
  521. package/dist/esm/models/operations/poststoragevolumesmount.d.ts +2 -2
  522. package/dist/esm/models/operations/postteam.d.ts +7 -5
  523. package/dist/esm/models/operations/postteam.d.ts.map +1 -1
  524. package/dist/esm/models/operations/postteam.js +10 -5
  525. package/dist/esm/models/operations/postteam.js.map +1 -1
  526. package/dist/esm/models/operations/showvirtualmachinemetrics.d.ts +46 -0
  527. package/dist/esm/models/operations/showvirtualmachinemetrics.d.ts.map +1 -0
  528. package/dist/esm/models/operations/showvirtualmachinemetrics.js +58 -0
  529. package/dist/esm/models/operations/showvirtualmachinemetrics.js.map +1 -0
  530. package/dist/esm/models/paginationmeta.d.ts +46 -0
  531. package/dist/esm/models/paginationmeta.d.ts.map +1 -0
  532. package/dist/esm/models/paginationmeta.js +49 -0
  533. package/dist/esm/models/paginationmeta.js.map +1 -0
  534. package/dist/esm/models/sshkeydata.d.ts +21 -0
  535. package/dist/esm/models/sshkeydata.d.ts.map +1 -1
  536. package/dist/esm/models/sshkeydata.js +22 -0
  537. package/dist/esm/models/sshkeydata.js.map +1 -1
  538. package/dist/esm/models/sshkeys.d.ts +3 -11
  539. package/dist/esm/models/sshkeys.d.ts.map +1 -1
  540. package/dist/esm/models/sshkeys.js +3 -12
  541. package/dist/esm/models/sshkeys.js.map +1 -1
  542. package/dist/esm/models/teammembers.d.ts +11 -4
  543. package/dist/esm/models/teammembers.d.ts.map +1 -1
  544. package/dist/esm/models/teammembers.js +12 -14
  545. package/dist/esm/models/teammembers.js.map +1 -1
  546. package/dist/esm/models/userdata.d.ts +3 -11
  547. package/dist/esm/models/userdata.d.ts.map +1 -1
  548. package/dist/esm/models/userdata.js +3 -12
  549. package/dist/esm/models/userdata.js.map +1 -1
  550. package/dist/esm/models/virtualmachineattributes.d.ts +35 -0
  551. package/dist/esm/models/virtualmachineattributes.d.ts.map +1 -1
  552. package/dist/esm/models/virtualmachineattributes.js +36 -0
  553. package/dist/esm/models/virtualmachineattributes.js.map +1 -1
  554. package/dist/esm/models/virtualmachinemetrics.d.ts +90 -0
  555. package/dist/esm/models/virtualmachinemetrics.d.ts.map +1 -0
  556. package/dist/esm/models/virtualmachinemetrics.js +78 -0
  557. package/dist/esm/models/virtualmachinemetrics.js.map +1 -0
  558. package/dist/esm/models/virtualmachinenetworkattachmentcreatepayload.d.ts +57 -0
  559. package/dist/esm/models/virtualmachinenetworkattachmentcreatepayload.d.ts.map +1 -0
  560. package/dist/esm/models/virtualmachinenetworkattachmentcreatepayload.js +68 -0
  561. package/dist/esm/models/virtualmachinenetworkattachmentcreatepayload.js.map +1 -0
  562. package/dist/esm/models/virtualmachinenetworkattachmentresource.d.ts +59 -0
  563. package/dist/esm/models/virtualmachinenetworkattachmentresource.d.ts.map +1 -0
  564. package/dist/esm/models/virtualmachinenetworkattachmentresource.js +61 -0
  565. package/dist/esm/models/virtualmachinenetworkattachmentresource.js.map +1 -0
  566. package/dist/esm/models/virtualmachinenetworkattachments.d.ts +18 -0
  567. package/dist/esm/models/virtualmachinenetworkattachments.d.ts.map +1 -0
  568. package/dist/esm/models/virtualmachinenetworkattachments.js +23 -0
  569. package/dist/esm/models/virtualmachinenetworkattachments.js.map +1 -0
  570. package/dist/esm/models/virtualmachinepayload.d.ts +22 -0
  571. package/dist/esm/models/virtualmachinepayload.d.ts.map +1 -1
  572. package/dist/esm/models/virtualmachinepayload.js +16 -0
  573. package/dist/esm/models/virtualmachinepayload.js.map +1 -1
  574. package/dist/esm/models/virtualmachineupdatepayload.d.ts +7 -2
  575. package/dist/esm/models/virtualmachineupdatepayload.d.ts.map +1 -1
  576. package/dist/esm/models/virtualmachineupdatepayload.js +4 -2
  577. package/dist/esm/models/virtualmachineupdatepayload.js.map +1 -1
  578. package/dist/esm/models/virtualnetworkdata.d.ts +8 -8
  579. package/dist/esm/models/virtualnetworkdata.d.ts.map +1 -1
  580. package/dist/esm/models/virtualnetworkdata.js +8 -10
  581. package/dist/esm/models/virtualnetworkdata.js.map +1 -1
  582. package/dist/esm/sdk/blockstorage.d.ts +3 -3
  583. package/dist/esm/sdk/blockstorage.js +3 -3
  584. package/dist/esm/sdk/filesystemstorage.d.ts +1 -1
  585. package/dist/esm/sdk/filesystemstorage.js +1 -1
  586. package/dist/esm/sdk/objectstorage.d.ts +4 -4
  587. package/dist/esm/sdk/objectstorage.js +4 -4
  588. package/dist/esm/sdk/userdata.d.ts +4 -1
  589. package/dist/esm/sdk/userdata.d.ts.map +1 -1
  590. package/dist/esm/sdk/userdata.js +2 -1
  591. package/dist/esm/sdk/userdata.js.map +1 -1
  592. package/dist/esm/sdk/virtualmachines.d.ts +28 -0
  593. package/dist/esm/sdk/virtualmachines.d.ts.map +1 -1
  594. package/dist/esm/sdk/virtualmachines.js +40 -0
  595. package/dist/esm/sdk/virtualmachines.js.map +1 -1
  596. package/jsr.json +1 -1
  597. package/package.json +3 -3
  598. package/src/funcs/blockStorageDeleteStorageVolumes.ts +1 -1
  599. package/src/funcs/blockStorageGetStorageVolume.ts +1 -1
  600. package/src/funcs/blockStoragePostStorageVolumesMount.ts +1 -1
  601. package/src/funcs/elasticIpsListElasticIps.ts +1 -2
  602. package/src/funcs/eventsList.ts +1 -2
  603. package/src/funcs/filesystemStorageDeleteFilesystem.ts +1 -1
  604. package/src/funcs/firewallsGetAllFirewallAssignments.ts +1 -2
  605. package/src/funcs/firewallsList.ts +1 -2
  606. package/src/funcs/firewallsListAssignments.ts +1 -2
  607. package/src/funcs/ipAddressesList.ts +1 -2
  608. package/src/funcs/objectStorageDeleteStorageBuckets.ts +1 -1
  609. package/src/funcs/objectStorageGetStorageBucket.ts +1 -1
  610. package/src/funcs/objectStorageGetStorageBuckets.ts +1 -1
  611. package/src/funcs/objectStoragePostStorageBuckets.ts +1 -1
  612. package/src/funcs/operatingSystemsListPlans.ts +1 -2
  613. package/src/funcs/plansGetBandwidth.ts +1 -2
  614. package/src/funcs/privateNetworksList.ts +1 -2
  615. package/src/funcs/privateNetworksListAssignments.ts +1 -2
  616. package/src/funcs/projectsList.ts +1 -2
  617. package/src/funcs/regionsGet.ts +1 -2
  618. package/src/funcs/rolesList.ts +1 -2
  619. package/src/funcs/serversList.ts +4 -3
  620. package/src/funcs/sshKeysList.ts +3 -0
  621. package/src/funcs/sshKeysListAll.ts +3 -0
  622. package/src/funcs/teamsMembersGetTeamMembers.ts +1 -2
  623. package/src/funcs/userDataList.ts +104 -30
  624. package/src/funcs/virtualMachinesCreateVirtualMachineNetworkAttachment.ts +181 -0
  625. package/src/funcs/virtualMachinesDestroyVirtualMachineNetworkAttachment.ts +180 -0
  626. package/src/funcs/virtualMachinesList.ts +1 -0
  627. package/src/funcs/virtualMachinesListVirtualMachineNetworkAttachments.ts +175 -0
  628. package/src/funcs/virtualMachinesShowVirtualMachineMetrics.ts +181 -0
  629. package/src/hooks/types.ts +1 -0
  630. package/src/lib/config.ts +3 -3
  631. package/src/lib/encodings.ts +1 -1
  632. package/src/lib/env.ts +7 -3
  633. package/src/lib/matchers.ts +1 -1
  634. package/src/lib/primitives.ts +16 -0
  635. package/src/lib/retries.ts +8 -0
  636. package/src/lib/sdks.ts +54 -17
  637. package/src/mcp-server/mcp-server.ts +1 -1
  638. package/src/mcp-server/server.ts +9 -1
  639. package/src/mcp-server/tools/blockStorageDeleteStorageVolumes.ts +1 -1
  640. package/src/mcp-server/tools/blockStorageGetStorageVolume.ts +1 -1
  641. package/src/mcp-server/tools/blockStoragePostStorageVolumesMount.ts +1 -1
  642. package/src/mcp-server/tools/filesystemStorageDeleteFilesystem.ts +1 -1
  643. package/src/mcp-server/tools/objectStorageDeleteStorageBuckets.ts +1 -1
  644. package/src/mcp-server/tools/objectStorageGetStorageBucket.ts +1 -1
  645. package/src/mcp-server/tools/objectStorageGetStorageBuckets.ts +1 -1
  646. package/src/mcp-server/tools/objectStoragePostStorageBuckets.ts +1 -1
  647. package/src/mcp-server/tools/userDataList.ts +1 -1
  648. package/src/mcp-server/tools/virtualMachinesCreateVirtualMachineNetworkAttachment.ts +41 -0
  649. package/src/mcp-server/tools/virtualMachinesDestroyVirtualMachineNetworkAttachment.ts +41 -0
  650. package/src/mcp-server/tools/virtualMachinesListVirtualMachineNetworkAttachments.ts +40 -0
  651. package/src/mcp-server/tools/virtualMachinesShowVirtualMachineMetrics.ts +39 -0
  652. package/src/models/deployconfig.ts +116 -0
  653. package/src/models/index.ts +6 -0
  654. package/src/models/ipaddress.ts +29 -325
  655. package/src/models/ipaddressdata.ts +475 -0
  656. package/src/models/ipaddresses.ts +46 -9
  657. package/src/models/operatingsystemdata.ts +1 -1
  658. package/src/models/operations/createvirtualmachinenetworkattachment.ts +196 -0
  659. package/src/models/operations/destroyvirtualmachinenetworkattachment.ts +189 -0
  660. package/src/models/operations/getevents.ts +4 -50
  661. package/src/models/operations/getplansoperatingsystem.ts +4 -53
  662. package/src/models/operations/getprojectsshkeys.ts +27 -0
  663. package/src/models/operations/getservers.ts +25 -12
  664. package/src/models/operations/getsshkeys.ts +27 -0
  665. package/src/models/operations/getstoragevolume.ts +1 -1
  666. package/src/models/operations/getusersdata.ts +79 -0
  667. package/src/models/operations/getvpnsessions.ts +26 -16
  668. package/src/models/operations/index.ts +4 -0
  669. package/src/models/operations/indexvirtualmachine.ts +10 -1
  670. package/src/models/operations/listvirtualmachinenetworkattachments.ts +71 -0
  671. package/src/models/operations/patchcurrentteam.ts +6 -27
  672. package/src/models/operations/poststoragebuckets.ts +9 -9
  673. package/src/models/operations/poststoragefilesystems.ts +1 -1
  674. package/src/models/operations/poststoragevolumes.ts +1 -1
  675. package/src/models/operations/poststoragevolumesmount.ts +2 -2
  676. package/src/models/operations/postteam.ts +15 -11
  677. package/src/models/operations/showvirtualmachinemetrics.ts +108 -0
  678. package/src/models/paginationmeta.ts +129 -0
  679. package/src/models/sshkeydata.ts +55 -0
  680. package/src/models/sshkeys.ts +10 -35
  681. package/src/models/teammembers.ts +37 -18
  682. package/src/models/userdata.ts +10 -35
  683. package/src/models/virtualmachineattributes.ts +89 -0
  684. package/src/models/virtualmachinemetrics.ts +175 -0
  685. package/src/models/virtualmachinenetworkattachmentcreatepayload.ts +210 -0
  686. package/src/models/virtualmachinenetworkattachmentresource.ts +176 -0
  687. package/src/models/virtualmachinenetworkattachments.ts +61 -0
  688. package/src/models/virtualmachinepayload.ts +50 -0
  689. package/src/models/virtualmachineupdatepayload.ts +11 -4
  690. package/src/models/virtualnetworkdata.ts +36 -26
  691. package/src/sdk/blockstorage.ts +3 -3
  692. package/src/sdk/filesystemstorage.ts +1 -1
  693. package/src/sdk/objectstorage.ts +4 -4
  694. package/src/sdk/userdata.ts +3 -2
  695. package/src/sdk/virtualmachines.ts +72 -0
  696. package/tests/integration/userdata.test.ts +9 -9
  697. package/dist/commonjs/lib/dlv.d.ts +0 -14
  698. package/dist/commonjs/lib/dlv.d.ts.map +0 -1
  699. package/dist/commonjs/lib/dlv.js +0 -49
  700. package/dist/commonjs/lib/dlv.js.map +0 -1
  701. package/dist/commonjs/lib/is-plain-object.d.ts +0 -2
  702. package/dist/commonjs/lib/is-plain-object.d.ts.map +0 -1
  703. package/dist/commonjs/lib/is-plain-object.js +0 -41
  704. package/dist/commonjs/lib/is-plain-object.js.map +0 -1
  705. package/dist/esm/lib/dlv.d.ts +0 -14
  706. package/dist/esm/lib/dlv.d.ts.map +0 -1
  707. package/dist/esm/lib/dlv.js +0 -46
  708. package/dist/esm/lib/dlv.js.map +0 -1
  709. package/dist/esm/lib/is-plain-object.d.ts +0 -2
  710. package/dist/esm/lib/is-plain-object.d.ts.map +0 -1
  711. package/dist/esm/lib/is-plain-object.js +0 -38
  712. package/dist/esm/lib/is-plain-object.js.map +0 -1
  713. package/src/lib/dlv.ts +0 -53
  714. 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.4.1",
53153
- genVersion: "2.887.0",
53154
- userAgent: "speakeasy-sdk/typescript 0.4.1 2.887.0 2023-06-01 latitudesh-typescript-sdk"
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/is-plain-object.ts
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" || value === null) {
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 = globalThis.Deno?.env?.toObject?.() ?? {};
53479
+ envObject = globals.Deno?.env?.toObject?.() ?? {};
53405
53480
  } else {
53406
- envObject = dlv(globalThis, "process.env") ?? {};
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
- let finalQuery = query || "";
53768
- const secQuery = [];
53769
- for (const [k2, v2] of Object.entries(security?.queryParams || {})) {
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
- if (secQuery.length) {
53776
- finalQuery += `&${secQuery.join("&")}`;
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
- const q2 = finalQuery.startsWith("&") ? finalQuery.slice(1) : finalQuery;
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
- const timeoutSignal = AbortSignal.timeout(conf.timeoutMs);
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 req = await this.#hooks.beforeRequest(context, request.clone());
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/ipaddress.ts
55917
- var IpAddressFamily, IpAddressType, IpAddressFamily$inboundSchema, IpAddressFamily$outboundSchema, IpAddressType$inboundSchema, IpAddressType$outboundSchema, IpAddressProject$inboundSchema, IpAddressProject$outboundSchema, IpAddressLocation$inboundSchema, IpAddressLocation$outboundSchema, IpAddressRegion$inboundSchema, IpAddressRegion$outboundSchema, Assignment$inboundSchema, Assignment$outboundSchema, IpAddressAttributes$inboundSchema, IpAddressAttributes$outboundSchema, IpAddress$inboundSchema, IpAddress$outboundSchema;
55918
- var init_ipaddress = __esm(() => {
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
- IpAddressFamily = {
56049
+ TypeIPAddresses = {
56050
+ IpAddresses: "ip_addresses"
56051
+ };
56052
+ IpAddressDataFamily = {
55922
56053
  IPv4: "IPv4",
55923
56054
  IPv6: "IPv6"
55924
56055
  };
55925
- IpAddressType = {
56056
+ IpAddressDataAttributesType = {
55926
56057
  Public: "Public",
55927
- Private: "Private"
55928
- };
55929
- IpAddressFamily$inboundSchema = nativeEnumType(IpAddressFamily);
55930
- IpAddressFamily$outboundSchema = IpAddressFamily$inboundSchema;
55931
- IpAddressType$inboundSchema = nativeEnumType(IpAddressType);
55932
- IpAddressType$outboundSchema = IpAddressType$inboundSchema;
55933
- IpAddressProject$inboundSchema = objectType({
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
- IpAddressProject$outboundSchema = objectType({
56071
+ IpAddressDataProject$outboundSchema = objectType({
55938
56072
  id: stringType().optional(),
55939
56073
  name: stringType().optional()
55940
56074
  });
55941
- IpAddressLocation$inboundSchema = objectType({
56075
+ IpAddressDataLocation$inboundSchema = objectType({
55942
56076
  id: stringType().optional(),
55943
56077
  name: stringType().optional(),
55944
56078
  slug: stringType().optional()
55945
56079
  });
55946
- IpAddressLocation$outboundSchema = objectType({
56080
+ IpAddressDataLocation$outboundSchema = objectType({
55947
56081
  id: stringType().optional(),
55948
56082
  name: stringType().optional(),
55949
56083
  slug: stringType().optional()
55950
56084
  });
55951
- IpAddressRegion$inboundSchema = objectType({
56085
+ IpAddressDataRegion$inboundSchema = objectType({
55952
56086
  id: stringType().optional(),
55953
56087
  name: stringType().optional(),
55954
- location: lazyType(() => IpAddressLocation$inboundSchema).optional()
56088
+ location: lazyType(() => IpAddressDataLocation$inboundSchema).optional()
55955
56089
  });
55956
- IpAddressRegion$outboundSchema = objectType({
56090
+ IpAddressDataRegion$outboundSchema = objectType({
55957
56091
  id: stringType().optional(),
55958
56092
  name: stringType().optional(),
55959
- location: lazyType(() => IpAddressLocation$outboundSchema).optional()
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
- IpAddressAttributes$inboundSchema = objectType({
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: IpAddressFamily$inboundSchema.optional(),
56128
+ family: IpAddressDataFamily$inboundSchema.optional(),
55985
56129
  gateway: nullableType(stringType()).optional(),
55986
56130
  netmask: stringType().optional(),
55987
- type: IpAddressType$inboundSchema.optional(),
56131
+ type: IpAddressDataAttributesType$inboundSchema.optional(),
55988
56132
  public: booleanType().optional(),
55989
56133
  management: booleanType().optional(),
55990
56134
  additional: booleanType().optional(),
55991
- project: lazyType(() => IpAddressProject$inboundSchema).optional(),
55992
- region: lazyType(() => IpAddressRegion$inboundSchema).optional(),
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
- IpAddressAttributes$outboundSchema = objectType({
56146
+ IpAddressDataAttributes$outboundSchema = objectType({
55997
56147
  address: stringType().optional(),
55998
56148
  cidr: nullableType(stringType()).optional(),
55999
- family: IpAddressFamily$outboundSchema.optional(),
56149
+ family: IpAddressDataFamily$outboundSchema.optional(),
56000
56150
  gateway: nullableType(stringType()).optional(),
56001
56151
  netmask: stringType().optional(),
56002
- type: IpAddressType$outboundSchema.optional(),
56152
+ type: IpAddressDataAttributesType$outboundSchema.optional(),
56003
56153
  public: booleanType().optional(),
56004
56154
  management: booleanType().optional(),
56005
56155
  additional: booleanType().optional(),
56006
- project: lazyType(() => IpAddressProject$outboundSchema).optional(),
56007
- region: lazyType(() => IpAddressRegion$outboundSchema).optional(),
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
- IpAddress$inboundSchema = objectType({
56167
+ IpAddressData$inboundSchema = objectType({
56012
56168
  id: stringType().optional(),
56013
- attributes: lazyType(() => IpAddressAttributes$inboundSchema).optional()
56169
+ type: TypeIPAddresses$inboundSchema.optional(),
56170
+ attributes: lazyType(() => IpAddressDataAttributes$inboundSchema).optional()
56014
56171
  });
56015
- IpAddress$outboundSchema = objectType({
56172
+ IpAddressData$outboundSchema = objectType({
56016
56173
  id: stringType().optional(),
56017
- attributes: lazyType(() => IpAddressAttributes$outboundSchema).optional()
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
- init_ipaddress();
56200
+ init_ipaddressdata();
56201
+ IpAddressesMeta$inboundSchema = objectType({});
56202
+ IpAddressesMeta$outboundSchema = objectType({});
56026
56203
  IpAddresses$inboundSchema = objectType({
56027
- data: arrayType(IpAddress$inboundSchema).optional()
56204
+ data: arrayType(IpAddressData$inboundSchema).optional(),
56205
+ meta: lazyType(() => IpAddressesMeta$inboundSchema).optional()
56028
56206
  });
56029
56207
  IpAddresses$outboundSchema = objectType({
56030
- data: arrayType(IpAddress$outboundSchema).optional()
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
- OperatingSystems: "operating_systems"
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 SshKeysMeta$inboundSchema, SshKeysMeta$outboundSchema, SshKeys$inboundSchema, SshKeys$outboundSchema;
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: lazyType(() => SshKeysMeta$inboundSchema).optional()
58286
+ meta: PaginationMeta$inboundSchema.optional()
58071
58287
  });
58072
58288
  SshKeys$outboundSchema = objectType({
58073
58289
  data: arrayType(SshKeyData$outboundSchema).optional(),
58074
- meta: lazyType(() => SshKeysMeta$outboundSchema).optional()
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 UserDataMeta$inboundSchema, UserDataMeta$outboundSchema, UserData$inboundSchema, UserData$outboundSchema;
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: lazyType(() => UserDataMeta$inboundSchema).optional()
59033
+ meta: PaginationMeta$inboundSchema.optional()
58829
59034
  });
58830
59035
  UserData$outboundSchema = objectType({
58831
59036
  data: arrayType(UserDataObject$outboundSchema).optional(),
58832
- meta: lazyType(() => UserDataMeta$outboundSchema).optional()
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/virtualmachinepayload.ts
59132
- var VirtualMachinePayloadType, VirtualMachinePayloadType$inboundSchema, VirtualMachinePayloadType$outboundSchema, VirtualMachinePayloadAttributes$inboundSchema, VirtualMachinePayloadAttributes$outboundSchema, VirtualMachinePayloadData$inboundSchema, VirtualMachinePayloadData$outboundSchema, VirtualMachinePayload$inboundSchema, VirtualMachinePayload$outboundSchema;
59133
- var init_virtualmachinepayload = __esm(() => {
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
- VirtualMachinePayloadType = {
59137
- VirtualMachines: "virtual_machines"
59417
+ VirtualMachineNetworkAttachmentCreatePayloadType = {
59418
+ VirtualMachineNetworkAttachments: "virtual_machine_network_attachments"
59138
59419
  };
59139
- VirtualMachinePayloadType$inboundSchema = nativeEnumType(VirtualMachinePayloadType);
59140
- VirtualMachinePayloadType$outboundSchema = VirtualMachinePayloadType$inboundSchema;
59141
- VirtualMachinePayloadAttributes$inboundSchema = objectType({
59142
- name: stringType().default("my-vm"),
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
- ssh_keys: "sshKeys",
59150
- operating_system: "operatingSystem"
59426
+ virtual_network_id: "virtualNetworkId"
59151
59427
  });
59152
59428
  });
59153
- VirtualMachinePayloadAttributes$outboundSchema = objectType({
59154
- name: stringType().default("my-vm"),
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
- sshKeys: "ssh_keys",
59162
- operatingSystem: "operating_system"
59433
+ virtualNetworkId: "virtual_network_id"
59163
59434
  });
59164
59435
  });
59165
- VirtualMachinePayloadData$inboundSchema = objectType({
59166
- type: VirtualMachinePayloadType$inboundSchema.optional(),
59167
- attributes: lazyType(() => VirtualMachinePayloadAttributes$inboundSchema).optional()
59436
+ VirtualMachineNetworkAttachmentCreatePayloadData$inboundSchema = objectType({
59437
+ type: VirtualMachineNetworkAttachmentCreatePayloadType$inboundSchema,
59438
+ attributes: lazyType(() => VirtualMachineNetworkAttachmentCreatePayloadAttributes$inboundSchema)
59168
59439
  });
59169
- VirtualMachinePayloadData$outboundSchema = objectType({
59170
- type: VirtualMachinePayloadType$outboundSchema.optional(),
59171
- attributes: lazyType(() => VirtualMachinePayloadAttributes$outboundSchema).optional()
59440
+ VirtualMachineNetworkAttachmentCreatePayloadData$outboundSchema = objectType({
59441
+ type: VirtualMachineNetworkAttachmentCreatePayloadType$outboundSchema,
59442
+ attributes: lazyType(() => VirtualMachineNetworkAttachmentCreatePayloadAttributes$outboundSchema)
59172
59443
  });
59173
- VirtualMachinePayload$inboundSchema = objectType({
59174
- data: lazyType(() => VirtualMachinePayloadData$inboundSchema).optional()
59444
+ VirtualMachineNetworkAttachmentCreatePayload$inboundSchema = objectType({
59445
+ data: lazyType(() => VirtualMachineNetworkAttachmentCreatePayloadData$inboundSchema)
59175
59446
  });
59176
- VirtualMachinePayload$outboundSchema = objectType({
59177
- data: lazyType(() => VirtualMachinePayloadData$outboundSchema).optional()
59447
+ VirtualMachineNetworkAttachmentCreatePayload$outboundSchema = objectType({
59448
+ data: lazyType(() => VirtualMachineNetworkAttachmentCreatePayloadData$outboundSchema)
59178
59449
  });
59179
59450
  });
59180
59451
 
59181
- // src/models/virtualmachineplans.ts
59182
- 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;
59183
- var init_virtualmachineplans = __esm(() => {
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
- VirtualMachinePlansType = {
59187
- VirtualMachinePlans: "virtual_machine_plans"
59188
- };
59189
- VirtualMachinePlansUnit = {
59190
- Gib: "gib"
59191
- };
59192
- VirtualMachinePlansRegionStockLevel = {
59193
- Low: "low",
59194
- Unavailable: "unavailable",
59195
- Medium: "medium",
59196
- High: "high"
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, Tag$inboundSchema, Tag$outboundSchema, VirtualNetworkDataAttributes$inboundSchema, VirtualNetworkDataAttributes$outboundSchema, VirtualNetworkData$inboundSchema, VirtualNetworkData$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
- Tag$inboundSchema = objectType({
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
- Tag$outboundSchema = objectType({
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(() => Tag$inboundSchema)).optional()
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(() => Tag$outboundSchema)).optional()
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, GetEventsResponseBody$inboundSchema, GetEventsResponseBody$outboundSchema, GetEventsResponse$inboundSchema, GetEventsResponse$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: lazyType(() => GetEventsResponseBody$inboundSchema)
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: lazyType(() => GetEventsResponseBody$outboundSchema)
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, GetPlansOperatingSystemResponseBody$inboundSchema, GetPlansOperatingSystemResponseBody$outboundSchema, GetPlansOperatingSystemResponse$inboundSchema, GetPlansOperatingSystemResponse$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: lazyType(() => GetPlansOperatingSystemResponseBody$inboundSchema)
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: lazyType(() => GetPlansOperatingSystemResponseBody$outboundSchema)
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]": "filterDisk",
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
- filterDisk: numberType().int().optional(),
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
- filterDisk: "filter[disk]",
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
- "extra_fields[user_data]": stringType().default("decoded_content")
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
- "extra_fields[user_data]": "extraFieldsUserData"
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
- extraFieldsUserData: stringType().default("decoded_content")
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
- extraFieldsUserData: "extra_fields[user_data]"
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, Meta$inboundSchema, Meta$outboundSchema, GetVpnSessionsResponse$inboundSchema, GetVpnSessionsResponse$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
- Meta$inboundSchema = objectType({});
62725
- Meta$outboundSchema = objectType({});
63236
+ GetVpnSessionsMeta$inboundSchema = objectType({});
63237
+ GetVpnSessionsMeta$outboundSchema = objectType({});
62726
63238
  GetVpnSessionsResponse$inboundSchema = objectType({
62727
63239
  data: arrayType(VpnSessionDataWithPassword$inboundSchema).optional(),
62728
- meta: lazyType(() => Meta$inboundSchema).optional()
63240
+ meta: lazyType(() => GetVpnSessionsMeta$inboundSchema).optional()
62729
63241
  });
62730
63242
  GetVpnSessionsResponse$outboundSchema = objectType({
62731
63243
  data: arrayType(VpnSessionDataWithPassword$outboundSchema).optional(),
62732
- meta: lazyType(() => Meta$outboundSchema).optional()
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, PatchCurrentTeamCurrency2, PatchCurrentTeamType2$inboundSchema, PatchCurrentTeamType2$outboundSchema, PatchCurrentTeamCurrency2$inboundSchema, PatchCurrentTeamCurrency2$outboundSchema, PatchCurrentTeamAttributes2$inboundSchema, PatchCurrentTeamAttributes2$outboundSchema, PatchCurrentTeamData2$inboundSchema, PatchCurrentTeamData2$outboundSchema, PatchCurrentTeamRequestBody2$inboundSchema, PatchCurrentTeamRequestBody2$outboundSchema, PatchCurrentTeamRequest$inboundSchema, PatchCurrentTeamRequest$outboundSchema, PatchCurrentTeamResponse$inboundSchema, PatchCurrentTeamResponse$outboundSchema;
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
- currency: PatchCurrentTeamCurrency2$inboundSchema.default("USD"),
62908
- referred_code: stringType().optional()
63438
+ enforce_mfa: booleanType().optional()
62909
63439
  }).transform((v2) => {
62910
63440
  return remap(v2, {
62911
- referred_code: "referredCode"
63441
+ enforce_mfa: "enforceMfa"
62912
63442
  });
62913
63443
  });
62914
63444
  PatchCurrentTeamAttributes2$outboundSchema = objectType({
62915
63445
  address: stringType().optional(),
62916
63446
  name: stringType().optional(),
62917
- currency: PatchCurrentTeamCurrency2$outboundSchema.default("USD"),
62918
- referredCode: stringType().optional()
63447
+ enforceMfa: booleanType().optional()
62919
63448
  }).transform((v2) => {
62920
63449
  return remap(v2, {
62921
- referredCode: "referred_code"
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, PostTeamCurrency2, PostTeamType2$inboundSchema, PostTeamType2$outboundSchema, PostTeamCurrency2$inboundSchema, PostTeamCurrency2$outboundSchema, PostTeamAttributes2$inboundSchema, PostTeamAttributes2$outboundSchema, PostTeamData2$inboundSchema, PostTeamData2$outboundSchema, PostTeamRequest$inboundSchema, PostTeamRequest$outboundSchema, PostTeamResponse$inboundSchema, PostTeamResponse$outboundSchema;
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
- PostTeamCurrency2 = {
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
- PostTeamCurrency2$inboundSchema = nativeEnumType(PostTeamCurrency2);
63597
- PostTeamCurrency2$outboundSchema = PostTeamCurrency2$inboundSchema;
64125
+ Currency2$inboundSchema = nativeEnumType(Currency2);
64126
+ Currency2$outboundSchema = Currency2$inboundSchema;
63598
64127
  PostTeamAttributes2$inboundSchema = objectType({
63599
64128
  name: stringType(),
63600
- currency: PostTeamCurrency2$inboundSchema,
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: PostTeamCurrency2$outboundSchema,
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 persistent storage from a project.`,
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 storage.`,
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 storage by adding the client to an allowed list`,
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 = dlv(responseData, "data");
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 = dlv(responseData, "data");
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 persistent storage from a project.`,
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 = dlv(responseData, "data");
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 = dlv(responseData, "data");
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 = dlv(responseData, "data");
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 = dlv(responseData, "data");
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 object storage
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 object storage
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 object storages
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 object storage
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 = dlv(responseData, "data");
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 = dlv(responseData, "data");
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 = dlv(responseData, "data");
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 = dlv(responseData, "data");
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 = dlv(responseData, "data");
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 = dlv(responseData, "data");
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 = dlv(responseData, "data");
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 = dlv(responseData, "data");
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 = dlv(responseData, "data");
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 [result] = await match(json(200, UserData$inboundSchema, {
77594
- ctype: "application/vnd.api+json"
77595
- }), fail("4XX"), fail("5XX"))(response, req);
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, { status: "complete", request: req, response }];
78194
+ return [haltIterator(result), {
78195
+ status: "complete",
78196
+ request: req,
78197
+ response
78198
+ }];
77598
78199
  }
77599
- return [result, { status: "complete", request: req, response }];
77600
- }
77601
- var init_userDataList = __esm(() => {
77602
- init_encodings();
77603
- init_http();
77604
- init_matchers();
77605
- init_primitives();
77606
- init_schemas4();
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/virtualMachinesDelete.ts
78477
- function virtualMachinesDelete(client, request, options) {
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 args114, tool$virtualMachinesDelete;
79281
+ var args115, tool$virtualMachinesDelete;
78552
79282
  var init_virtualMachinesDelete2 = __esm(() => {
78553
79283
  init_virtualMachinesDelete();
78554
79284
  init_operations();
78555
79285
  init_tools();
78556
- args114 = {
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: args114,
78566
- tool: async (client, args115, ctx) => {
78567
- const [result, apiCall] = await virtualMachinesDelete(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
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($do122(client, request, options));
79418
+ return new APIPromise($do124(client, request, options));
78582
79419
  }
78583
- async function $do122(client, request, options) {
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 args115, tool$virtualMachinesGet;
79493
+ var args117, tool$virtualMachinesGet;
78657
79494
  var init_virtualMachinesGet2 = __esm(() => {
78658
79495
  init_virtualMachinesGet();
78659
79496
  init_operations();
78660
79497
  init_tools();
78661
- args115 = {
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: args115,
78671
- tool: async (client, args116, ctx) => {
78672
- const [result, apiCall] = await virtualMachinesGet(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
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($do123(client, request, options));
79524
+ return new APIPromise($do125(client, request, options));
78688
79525
  }
78689
- async function $do123(client, request, options) {
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 args116, tool$virtualMachinesList;
79602
+ var args118, tool$virtualMachinesList;
78765
79603
  var init_virtualMachinesList2 = __esm(() => {
78766
79604
  init_virtualMachinesList();
78767
79605
  init_operations();
78768
79606
  init_tools();
78769
- args116 = {
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: args116,
78779
- tool: async (client, args117, ctx) => {
78780
- const [result, apiCall] = await virtualMachinesList(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
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($do124(client, request, options));
79850
+ return new APIPromise($do128(client, request, options));
78796
79851
  }
78797
- async function $do124(client, request, options) {
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 args117, tool$virtualMachinesUpdateVirtualMachine;
79928
+ var args121, tool$virtualMachinesUpdateVirtualMachine;
78874
79929
  var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
78875
79930
  init_virtualMachinesUpdateVirtualMachine();
78876
79931
  init_operations();
78877
79932
  init_tools();
78878
- args117 = {
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: args117,
78888
- tool: async (client, args118, ctx) => {
78889
- const [result, apiCall] = await virtualMachinesUpdateVirtualMachine(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
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($do125(client, request, options));
79959
+ return new APIPromise($do129(client, request, options));
78905
79960
  }
78906
- async function $do125(client, request, options) {
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 args118, tool$virtualNetworksDelete;
80035
+ var args122, tool$virtualNetworksDelete;
78981
80036
  var init_virtualNetworksDelete2 = __esm(() => {
78982
80037
  init_virtualNetworksDelete();
78983
80038
  init_operations();
78984
80039
  init_tools();
78985
- args118 = {
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: args118,
78995
- tool: async (client, args119, ctx) => {
78996
- const [result, apiCall] = await virtualNetworksDelete(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
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($do126(client, request, options));
80065
+ return new APIPromise($do130(client, request, options));
79011
80066
  }
79012
- async function $do126(client, request, options) {
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 args119, tool$vpnSessionsCreate;
80138
+ var args123, tool$vpnSessionsCreate;
79084
80139
  var init_vpnSessionsCreate2 = __esm(() => {
79085
80140
  init_vpnSessionsCreate();
79086
80141
  init_operations();
79087
80142
  init_tools();
79088
- args119 = {
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: args119,
79099
- tool: async (client, args120, ctx) => {
79100
- const [result, apiCall] = await vpnSessionsCreate(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
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($do127(client, request, options));
80170
+ return new APIPromise($do131(client, request, options));
79116
80171
  }
79117
- async function $do127(client, request, options) {
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 args120, tool$vpnSessionsDelete;
80246
+ var args124, tool$vpnSessionsDelete;
79192
80247
  var init_vpnSessionsDelete2 = __esm(() => {
79193
80248
  init_vpnSessionsDelete();
79194
80249
  init_operations();
79195
80250
  init_tools();
79196
- args120 = {
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: args120,
79206
- tool: async (client, args121, ctx) => {
79207
- const [result, apiCall] = await vpnSessionsDelete(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
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($do128(client, request, options));
80276
+ return new APIPromise($do132(client, request, options));
79222
80277
  }
79223
- async function $do128(client, request, options) {
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 args121, tool$vpnSessionsList;
80351
+ var args125, tool$vpnSessionsList;
79297
80352
  var init_vpnSessionsList2 = __esm(() => {
79298
80353
  init_vpnSessionsList();
79299
80354
  init_operations();
79300
80355
  init_tools();
79301
- args121 = {
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: args121,
79308
- tool: async (client, args122, ctx) => {
79309
- const [result, apiCall] = await vpnSessionsList(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
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($do129(client, request, options));
80379
+ return new APIPromise($do133(client, request, options));
79325
80380
  }
79326
- async function $do129(client, request, options) {
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 args122, tool$vpnSessionsRefreshPassword;
80457
+ var args126, tool$vpnSessionsRefreshPassword;
79403
80458
  var init_vpnSessionsRefreshPassword2 = __esm(() => {
79404
80459
  init_vpnSessionsRefreshPassword();
79405
80460
  init_operations();
79406
80461
  init_tools();
79407
- args122 = {
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: args122,
79417
- tool: async (client, args123, ctx) => {
79418
- const [result, apiCall] = await vpnSessionsRefreshPassword(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
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.4.1"
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.4.1"
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=9BB4274259B0B6F464756E2164756E21
81989
+ //# debugId=47992355BF8496CC64756E2164756E21
80927
81990
  //# sourceMappingURL=mcp-server.js.map