latitudesh-typescript-sdk 0.3.4 → 0.3.5

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 (549) hide show
  1. package/README.md +9 -1
  2. package/bin/mcp-server.js +1231 -504
  3. package/bin/mcp-server.js.map +112 -97
  4. package/dist/commonjs/funcs/apiKeysDelete.js.map +1 -1
  5. package/dist/commonjs/funcs/apiKeysUpdate.js.map +1 -1
  6. package/dist/commonjs/funcs/apiKeysUpdateApiKey.js.map +1 -1
  7. package/dist/commonjs/funcs/elasticIpsDeleteElasticIp.js.map +1 -1
  8. package/dist/commonjs/funcs/elasticIpsGetElasticIp.js.map +1 -1
  9. package/dist/commonjs/funcs/elasticIpsUpdateElasticIp.js.map +1 -1
  10. package/dist/commonjs/funcs/firewallsAssignmentsCreate.js.map +1 -1
  11. package/dist/commonjs/funcs/firewallsDelete.js.map +1 -1
  12. package/dist/commonjs/funcs/firewallsDeleteAssignment.js.map +1 -1
  13. package/dist/commonjs/funcs/firewallsGet.js.map +1 -1
  14. package/dist/commonjs/funcs/firewallsListAssignments.js.map +1 -1
  15. package/dist/commonjs/funcs/firewallsUpdate.js.map +1 -1
  16. package/dist/commonjs/funcs/ipAddressesGet.js.map +1 -1
  17. package/dist/commonjs/funcs/kubernetesClustersCreateKubernetesCluster.d.ts +1 -3
  18. package/dist/commonjs/funcs/kubernetesClustersCreateKubernetesCluster.d.ts.map +1 -1
  19. package/dist/commonjs/funcs/kubernetesClustersCreateKubernetesCluster.js +1 -3
  20. package/dist/commonjs/funcs/kubernetesClustersCreateKubernetesCluster.js.map +1 -1
  21. package/dist/commonjs/funcs/kubernetesClustersDeleteKubernetesCluster.js.map +1 -1
  22. package/dist/commonjs/funcs/kubernetesClustersGetKubernetesCluster.js.map +1 -1
  23. package/dist/commonjs/funcs/kubernetesClustersGetKubernetesClusterKubeconfig.js.map +1 -1
  24. package/dist/commonjs/funcs/plansGet.js.map +1 -1
  25. package/dist/commonjs/funcs/privateNetworksDeleteAssignment.js.map +1 -1
  26. package/dist/commonjs/funcs/privateNetworksGet.js.map +1 -1
  27. package/dist/commonjs/funcs/privateNetworksUpdate.js.map +1 -1
  28. package/dist/commonjs/funcs/projectsDelete.js.map +1 -1
  29. package/dist/commonjs/funcs/projectsSshKeysPostProjectSshKey.js.map +1 -1
  30. package/dist/commonjs/funcs/projectsUpdate.js.map +1 -1
  31. package/dist/commonjs/funcs/regionsFetch.js.map +1 -1
  32. package/dist/commonjs/funcs/rolesGet.js.map +1 -1
  33. package/dist/commonjs/funcs/serversCreateIpmiSession.js.map +1 -1
  34. package/dist/commonjs/funcs/serversDelete.js.map +1 -1
  35. package/dist/commonjs/funcs/serversExitRescueMode.js.map +1 -1
  36. package/dist/commonjs/funcs/serversGet.js.map +1 -1
  37. package/dist/commonjs/funcs/serversGetDeployConfig.js.map +1 -1
  38. package/dist/commonjs/funcs/serversGetOutOfBand.js.map +1 -1
  39. package/dist/commonjs/funcs/serversLock.js.map +1 -1
  40. package/dist/commonjs/funcs/serversReinstall.js.map +1 -1
  41. package/dist/commonjs/funcs/serversRunAction.js.map +1 -1
  42. package/dist/commonjs/funcs/serversScheduleDeletion.js.map +1 -1
  43. package/dist/commonjs/funcs/serversStartOutOfBandConnection.js.map +1 -1
  44. package/dist/commonjs/funcs/serversStartRescueMode.js.map +1 -1
  45. package/dist/commonjs/funcs/serversUnlock.js.map +1 -1
  46. package/dist/commonjs/funcs/serversUnscheduleDeletion.js.map +1 -1
  47. package/dist/commonjs/funcs/serversUpdate.js.map +1 -1
  48. package/dist/commonjs/funcs/serversUpdateDeployConfig.js.map +1 -1
  49. package/dist/commonjs/funcs/sshKeysDelete.js.map +1 -1
  50. package/dist/commonjs/funcs/sshKeysGet.js.map +1 -1
  51. package/dist/commonjs/funcs/sshKeysList.js.map +1 -1
  52. package/dist/commonjs/funcs/sshKeysModifyProjectKey.js.map +1 -1
  53. package/dist/commonjs/funcs/sshKeysRemoveFromProject.js.map +1 -1
  54. package/dist/commonjs/funcs/sshKeysRetrieve.js.map +1 -1
  55. package/dist/commonjs/funcs/sshKeysUpdate.js.map +1 -1
  56. package/dist/commonjs/funcs/storageDeleteFilesystem.js.map +1 -1
  57. package/dist/commonjs/funcs/storageDeleteStorageObjects.d.ts +18 -0
  58. package/dist/commonjs/funcs/storageDeleteStorageObjects.d.ts.map +1 -0
  59. package/dist/commonjs/funcs/storageDeleteStorageObjects.js +128 -0
  60. package/dist/commonjs/funcs/storageDeleteStorageObjects.js.map +1 -0
  61. package/dist/commonjs/funcs/storageDeleteStorageVolumes.js.map +1 -1
  62. package/dist/commonjs/funcs/storageGetStorageObject.d.ts +18 -0
  63. package/dist/commonjs/funcs/storageGetStorageObject.d.ts.map +1 -0
  64. package/dist/commonjs/funcs/storageGetStorageObject.js +127 -0
  65. package/dist/commonjs/funcs/storageGetStorageObject.js.map +1 -0
  66. package/dist/commonjs/funcs/storageGetStorageObjects.d.ts +19 -0
  67. package/dist/commonjs/funcs/storageGetStorageObjects.d.ts.map +1 -0
  68. package/dist/commonjs/funcs/storageGetStorageObjects.js +126 -0
  69. package/dist/commonjs/funcs/storageGetStorageObjects.js.map +1 -0
  70. package/dist/commonjs/funcs/storageGetStorageVolume.js.map +1 -1
  71. package/dist/commonjs/funcs/storagePostStorageObjects.d.ts +18 -0
  72. package/dist/commonjs/funcs/storagePostStorageObjects.d.ts.map +1 -0
  73. package/dist/commonjs/funcs/storagePostStorageObjects.js +124 -0
  74. package/dist/commonjs/funcs/storagePostStorageObjects.js.map +1 -0
  75. package/dist/commonjs/funcs/storagePostStorageVolumesMount.js.map +1 -1
  76. package/dist/commonjs/funcs/storageUpdateFilesystem.js.map +1 -1
  77. package/dist/commonjs/funcs/tagsCreate.d.ts +2 -1
  78. package/dist/commonjs/funcs/tagsCreate.d.ts.map +1 -1
  79. package/dist/commonjs/funcs/tagsCreate.js +8 -2
  80. package/dist/commonjs/funcs/tagsCreate.js.map +1 -1
  81. package/dist/commonjs/funcs/tagsDelete.js.map +1 -1
  82. package/dist/commonjs/funcs/tagsUpdate.d.ts +2 -1
  83. package/dist/commonjs/funcs/tagsUpdate.d.ts.map +1 -1
  84. package/dist/commonjs/funcs/tagsUpdate.js +8 -2
  85. package/dist/commonjs/funcs/tagsUpdate.js.map +1 -1
  86. package/dist/commonjs/funcs/teamMembersDelete.js.map +1 -1
  87. package/dist/commonjs/funcs/teamsUpdate.js.map +1 -1
  88. package/dist/commonjs/funcs/userDataCreate.js.map +1 -1
  89. package/dist/commonjs/funcs/userDataDelete.js.map +1 -1
  90. package/dist/commonjs/funcs/userDataDeleteProjectUserData.js.map +1 -1
  91. package/dist/commonjs/funcs/userDataGetProjectUserData.js.map +1 -1
  92. package/dist/commonjs/funcs/userDataGetProjectUsersData.js.map +1 -1
  93. package/dist/commonjs/funcs/userDataRetrieve.js.map +1 -1
  94. package/dist/commonjs/funcs/userDataUpdate.js.map +1 -1
  95. package/dist/commonjs/funcs/userDataUpdateForProject.js.map +1 -1
  96. package/dist/commonjs/funcs/userProfileUpdate.js.map +1 -1
  97. package/dist/commonjs/funcs/virtualMachinesCreateVirtualMachineAction.js.map +1 -1
  98. package/dist/commonjs/funcs/virtualMachinesDelete.js.map +1 -1
  99. package/dist/commonjs/funcs/virtualMachinesGet.d.ts +2 -1
  100. package/dist/commonjs/funcs/virtualMachinesGet.d.ts.map +1 -1
  101. package/dist/commonjs/funcs/virtualMachinesGet.js +5 -3
  102. package/dist/commonjs/funcs/virtualMachinesGet.js.map +1 -1
  103. package/dist/commonjs/funcs/virtualMachinesList.d.ts +2 -1
  104. package/dist/commonjs/funcs/virtualMachinesList.d.ts.map +1 -1
  105. package/dist/commonjs/funcs/virtualMachinesList.js +5 -3
  106. package/dist/commonjs/funcs/virtualMachinesList.js.map +1 -1
  107. package/dist/commonjs/funcs/virtualMachinesUpdateVirtualMachine.js.map +1 -1
  108. package/dist/commonjs/funcs/virtualNetworksDelete.js.map +1 -1
  109. package/dist/commonjs/funcs/vpnSessionsDelete.js.map +1 -1
  110. package/dist/commonjs/funcs/vpnSessionsRefreshPassword.js.map +1 -1
  111. package/dist/commonjs/lib/config.d.ts +3 -3
  112. package/dist/commonjs/lib/config.js +3 -3
  113. package/dist/commonjs/lib/config.js.map +1 -1
  114. package/dist/commonjs/lib/encodings.d.ts.map +1 -1
  115. package/dist/commonjs/lib/encodings.js +20 -5
  116. package/dist/commonjs/lib/encodings.js.map +1 -1
  117. package/dist/commonjs/lib/files.d.ts +13 -0
  118. package/dist/commonjs/lib/files.d.ts.map +1 -1
  119. package/dist/commonjs/lib/files.js +19 -0
  120. package/dist/commonjs/lib/files.js.map +1 -1
  121. package/dist/commonjs/lib/sdks.d.ts.map +1 -1
  122. package/dist/commonjs/lib/sdks.js +8 -4
  123. package/dist/commonjs/lib/sdks.js.map +1 -1
  124. package/dist/commonjs/lib/url.d.ts.map +1 -1
  125. package/dist/commonjs/lib/url.js +4 -2
  126. package/dist/commonjs/lib/url.js.map +1 -1
  127. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  128. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  129. package/dist/commonjs/mcp-server/server.js +9 -1
  130. package/dist/commonjs/mcp-server/server.js.map +1 -1
  131. package/dist/commonjs/mcp-server/tools/kubernetesClustersCreateKubernetesCluster.d.ts.map +1 -1
  132. package/dist/commonjs/mcp-server/tools/kubernetesClustersCreateKubernetesCluster.js +1 -3
  133. package/dist/commonjs/mcp-server/tools/kubernetesClustersCreateKubernetesCluster.js.map +1 -1
  134. package/dist/commonjs/mcp-server/tools/storageDeleteStorageObjects.d.ts +8 -0
  135. package/dist/commonjs/mcp-server/tools/storageDeleteStorageObjects.d.ts.map +1 -0
  136. package/dist/commonjs/mcp-server/tools/storageDeleteStorageObjects.js +63 -0
  137. package/dist/commonjs/mcp-server/tools/storageDeleteStorageObjects.js.map +1 -0
  138. package/dist/commonjs/mcp-server/tools/storageGetStorageObject.d.ts +8 -0
  139. package/dist/commonjs/mcp-server/tools/storageGetStorageObject.d.ts.map +1 -0
  140. package/dist/commonjs/mcp-server/tools/storageGetStorageObject.js +64 -0
  141. package/dist/commonjs/mcp-server/tools/storageGetStorageObject.js.map +1 -0
  142. package/dist/commonjs/mcp-server/tools/storageGetStorageObjects.d.ts +8 -0
  143. package/dist/commonjs/mcp-server/tools/storageGetStorageObjects.d.ts.map +1 -0
  144. package/dist/commonjs/mcp-server/tools/storageGetStorageObjects.js +64 -0
  145. package/dist/commonjs/mcp-server/tools/storageGetStorageObjects.js.map +1 -0
  146. package/dist/commonjs/mcp-server/tools/storagePostStorageObjects.d.ts +8 -0
  147. package/dist/commonjs/mcp-server/tools/storagePostStorageObjects.d.ts.map +1 -0
  148. package/dist/commonjs/mcp-server/tools/storagePostStorageObjects.js +64 -0
  149. package/dist/commonjs/mcp-server/tools/storagePostStorageObjects.js.map +1 -0
  150. package/dist/commonjs/mcp-server/tools/virtualMachinesGet.d.ts.map +1 -1
  151. package/dist/commonjs/mcp-server/tools/virtualMachinesGet.js +2 -1
  152. package/dist/commonjs/mcp-server/tools/virtualMachinesGet.js.map +1 -1
  153. package/dist/commonjs/mcp-server/tools/virtualMachinesList.d.ts.map +1 -1
  154. package/dist/commonjs/mcp-server/tools/virtualMachinesList.js +2 -1
  155. package/dist/commonjs/mcp-server/tools/virtualMachinesList.js.map +1 -1
  156. package/dist/commonjs/models/errorobject.d.ts +2 -0
  157. package/dist/commonjs/models/errorobject.d.ts.map +1 -1
  158. package/dist/commonjs/models/errorobject.js +2 -0
  159. package/dist/commonjs/models/errorobject.js.map +1 -1
  160. package/dist/commonjs/models/index.d.ts +3 -0
  161. package/dist/commonjs/models/index.d.ts.map +1 -1
  162. package/dist/commonjs/models/index.js +3 -0
  163. package/dist/commonjs/models/index.js.map +1 -1
  164. package/dist/commonjs/models/objectstoragedata.d.ts +114 -0
  165. package/dist/commonjs/models/objectstoragedata.d.ts.map +1 -0
  166. package/dist/commonjs/models/objectstoragedata.js +142 -0
  167. package/dist/commonjs/models/objectstoragedata.js.map +1 -0
  168. package/dist/commonjs/models/objectstorages.d.ts +18 -0
  169. package/dist/commonjs/models/objectstorages.d.ts.map +1 -0
  170. package/dist/commonjs/models/objectstorages.js +59 -0
  171. package/dist/commonjs/models/objectstorages.js.map +1 -0
  172. package/dist/commonjs/models/operations/deletestorageobjects.d.ts +20 -0
  173. package/dist/commonjs/models/operations/deletestorageobjects.d.ts.map +1 -0
  174. package/dist/commonjs/models/operations/deletestorageobjects.js +58 -0
  175. package/dist/commonjs/models/operations/deletestorageobjects.js.map +1 -0
  176. package/dist/commonjs/models/operations/getstorageobject.d.ts +37 -0
  177. package/dist/commonjs/models/operations/getstorageobject.d.ts.map +1 -0
  178. package/dist/commonjs/models/operations/getstorageobject.js +75 -0
  179. package/dist/commonjs/models/operations/getstorageobject.js.map +1 -0
  180. package/dist/commonjs/models/operations/getstorageobjects.d.ts +20 -0
  181. package/dist/commonjs/models/operations/getstorageobjects.d.ts.map +1 -0
  182. package/dist/commonjs/models/operations/getstorageobjects.js +67 -0
  183. package/dist/commonjs/models/operations/getstorageobjects.js.map +1 -0
  184. package/dist/commonjs/models/operations/index.d.ts +4 -0
  185. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  186. package/dist/commonjs/models/operations/index.js +4 -0
  187. package/dist/commonjs/models/operations/index.js.map +1 -1
  188. package/dist/commonjs/models/operations/poststorageobjects.d.ts +94 -0
  189. package/dist/commonjs/models/operations/poststorageobjects.d.ts.map +1 -0
  190. package/dist/commonjs/models/operations/poststorageobjects.js +124 -0
  191. package/dist/commonjs/models/operations/poststorageobjects.js.map +1 -0
  192. package/dist/commonjs/models/serverdata.d.ts +16 -16
  193. package/dist/commonjs/models/serverdata.d.ts.map +1 -1
  194. package/dist/commonjs/models/serverdata.js +23 -22
  195. package/dist/commonjs/models/serverdata.js.map +1 -1
  196. package/dist/commonjs/models/traffic.d.ts +6 -6
  197. package/dist/commonjs/models/virtualmachineattributes.d.ts +103 -2
  198. package/dist/commonjs/models/virtualmachineattributes.d.ts.map +1 -1
  199. package/dist/commonjs/models/virtualmachineattributes.js +81 -3
  200. package/dist/commonjs/models/virtualmachineattributes.js.map +1 -1
  201. package/dist/commonjs/models/virtualmachinepayload.d.ts +1 -1
  202. package/dist/commonjs/models/virtualmachineplans.d.ts +5 -0
  203. package/dist/commonjs/models/virtualmachineplans.d.ts.map +1 -1
  204. package/dist/commonjs/models/virtualmachineplans.js +4 -0
  205. package/dist/commonjs/models/virtualmachineplans.js.map +1 -1
  206. package/dist/commonjs/models/virtualmachines.d.ts +29 -0
  207. package/dist/commonjs/models/virtualmachines.d.ts.map +1 -0
  208. package/dist/commonjs/models/virtualmachines.js +73 -0
  209. package/dist/commonjs/models/virtualmachines.js.map +1 -0
  210. package/dist/commonjs/sdk/kubernetesclusters.d.ts +1 -3
  211. package/dist/commonjs/sdk/kubernetesclusters.d.ts.map +1 -1
  212. package/dist/commonjs/sdk/kubernetesclusters.js +1 -3
  213. package/dist/commonjs/sdk/kubernetesclusters.js.map +1 -1
  214. package/dist/commonjs/sdk/storage.d.ts +29 -0
  215. package/dist/commonjs/sdk/storage.d.ts.map +1 -1
  216. package/dist/commonjs/sdk/storage.js +40 -0
  217. package/dist/commonjs/sdk/storage.js.map +1 -1
  218. package/dist/commonjs/sdk/virtualmachines.d.ts +2 -2
  219. package/dist/commonjs/sdk/virtualmachines.d.ts.map +1 -1
  220. package/dist/esm/funcs/apiKeysDelete.js.map +1 -1
  221. package/dist/esm/funcs/apiKeysUpdate.js.map +1 -1
  222. package/dist/esm/funcs/apiKeysUpdateApiKey.js.map +1 -1
  223. package/dist/esm/funcs/elasticIpsDeleteElasticIp.js.map +1 -1
  224. package/dist/esm/funcs/elasticIpsGetElasticIp.js.map +1 -1
  225. package/dist/esm/funcs/elasticIpsUpdateElasticIp.js.map +1 -1
  226. package/dist/esm/funcs/firewallsAssignmentsCreate.js.map +1 -1
  227. package/dist/esm/funcs/firewallsDelete.js.map +1 -1
  228. package/dist/esm/funcs/firewallsDeleteAssignment.js.map +1 -1
  229. package/dist/esm/funcs/firewallsGet.js.map +1 -1
  230. package/dist/esm/funcs/firewallsListAssignments.js.map +1 -1
  231. package/dist/esm/funcs/firewallsUpdate.js.map +1 -1
  232. package/dist/esm/funcs/ipAddressesGet.js.map +1 -1
  233. package/dist/esm/funcs/kubernetesClustersCreateKubernetesCluster.d.ts +1 -3
  234. package/dist/esm/funcs/kubernetesClustersCreateKubernetesCluster.d.ts.map +1 -1
  235. package/dist/esm/funcs/kubernetesClustersCreateKubernetesCluster.js +1 -3
  236. package/dist/esm/funcs/kubernetesClustersCreateKubernetesCluster.js.map +1 -1
  237. package/dist/esm/funcs/kubernetesClustersDeleteKubernetesCluster.js.map +1 -1
  238. package/dist/esm/funcs/kubernetesClustersGetKubernetesCluster.js.map +1 -1
  239. package/dist/esm/funcs/kubernetesClustersGetKubernetesClusterKubeconfig.js.map +1 -1
  240. package/dist/esm/funcs/plansGet.js.map +1 -1
  241. package/dist/esm/funcs/privateNetworksDeleteAssignment.js.map +1 -1
  242. package/dist/esm/funcs/privateNetworksGet.js.map +1 -1
  243. package/dist/esm/funcs/privateNetworksUpdate.js.map +1 -1
  244. package/dist/esm/funcs/projectsDelete.js.map +1 -1
  245. package/dist/esm/funcs/projectsSshKeysPostProjectSshKey.js.map +1 -1
  246. package/dist/esm/funcs/projectsUpdate.js.map +1 -1
  247. package/dist/esm/funcs/regionsFetch.js.map +1 -1
  248. package/dist/esm/funcs/rolesGet.js.map +1 -1
  249. package/dist/esm/funcs/serversCreateIpmiSession.js.map +1 -1
  250. package/dist/esm/funcs/serversDelete.js.map +1 -1
  251. package/dist/esm/funcs/serversExitRescueMode.js.map +1 -1
  252. package/dist/esm/funcs/serversGet.js.map +1 -1
  253. package/dist/esm/funcs/serversGetDeployConfig.js.map +1 -1
  254. package/dist/esm/funcs/serversGetOutOfBand.js.map +1 -1
  255. package/dist/esm/funcs/serversLock.js.map +1 -1
  256. package/dist/esm/funcs/serversReinstall.js.map +1 -1
  257. package/dist/esm/funcs/serversRunAction.js.map +1 -1
  258. package/dist/esm/funcs/serversScheduleDeletion.js.map +1 -1
  259. package/dist/esm/funcs/serversStartOutOfBandConnection.js.map +1 -1
  260. package/dist/esm/funcs/serversStartRescueMode.js.map +1 -1
  261. package/dist/esm/funcs/serversUnlock.js.map +1 -1
  262. package/dist/esm/funcs/serversUnscheduleDeletion.js.map +1 -1
  263. package/dist/esm/funcs/serversUpdate.js.map +1 -1
  264. package/dist/esm/funcs/serversUpdateDeployConfig.js.map +1 -1
  265. package/dist/esm/funcs/sshKeysDelete.js.map +1 -1
  266. package/dist/esm/funcs/sshKeysGet.js.map +1 -1
  267. package/dist/esm/funcs/sshKeysList.js.map +1 -1
  268. package/dist/esm/funcs/sshKeysModifyProjectKey.js.map +1 -1
  269. package/dist/esm/funcs/sshKeysRemoveFromProject.js.map +1 -1
  270. package/dist/esm/funcs/sshKeysRetrieve.js.map +1 -1
  271. package/dist/esm/funcs/sshKeysUpdate.js.map +1 -1
  272. package/dist/esm/funcs/storageDeleteFilesystem.js.map +1 -1
  273. package/dist/esm/funcs/storageDeleteStorageObjects.d.ts +18 -0
  274. package/dist/esm/funcs/storageDeleteStorageObjects.d.ts.map +1 -0
  275. package/dist/esm/funcs/storageDeleteStorageObjects.js +92 -0
  276. package/dist/esm/funcs/storageDeleteStorageObjects.js.map +1 -0
  277. package/dist/esm/funcs/storageDeleteStorageVolumes.js.map +1 -1
  278. package/dist/esm/funcs/storageGetStorageObject.d.ts +18 -0
  279. package/dist/esm/funcs/storageGetStorageObject.d.ts.map +1 -0
  280. package/dist/esm/funcs/storageGetStorageObject.js +91 -0
  281. package/dist/esm/funcs/storageGetStorageObject.js.map +1 -0
  282. package/dist/esm/funcs/storageGetStorageObjects.d.ts +19 -0
  283. package/dist/esm/funcs/storageGetStorageObjects.d.ts.map +1 -0
  284. package/dist/esm/funcs/storageGetStorageObjects.js +90 -0
  285. package/dist/esm/funcs/storageGetStorageObjects.js.map +1 -0
  286. package/dist/esm/funcs/storageGetStorageVolume.js.map +1 -1
  287. package/dist/esm/funcs/storagePostStorageObjects.d.ts +18 -0
  288. package/dist/esm/funcs/storagePostStorageObjects.d.ts.map +1 -0
  289. package/dist/esm/funcs/storagePostStorageObjects.js +88 -0
  290. package/dist/esm/funcs/storagePostStorageObjects.js.map +1 -0
  291. package/dist/esm/funcs/storagePostStorageVolumesMount.js.map +1 -1
  292. package/dist/esm/funcs/storageUpdateFilesystem.js.map +1 -1
  293. package/dist/esm/funcs/tagsCreate.d.ts +2 -1
  294. package/dist/esm/funcs/tagsCreate.d.ts.map +1 -1
  295. package/dist/esm/funcs/tagsCreate.js +8 -2
  296. package/dist/esm/funcs/tagsCreate.js.map +1 -1
  297. package/dist/esm/funcs/tagsDelete.js.map +1 -1
  298. package/dist/esm/funcs/tagsUpdate.d.ts +2 -1
  299. package/dist/esm/funcs/tagsUpdate.d.ts.map +1 -1
  300. package/dist/esm/funcs/tagsUpdate.js +8 -2
  301. package/dist/esm/funcs/tagsUpdate.js.map +1 -1
  302. package/dist/esm/funcs/teamMembersDelete.js.map +1 -1
  303. package/dist/esm/funcs/teamsUpdate.js.map +1 -1
  304. package/dist/esm/funcs/userDataCreate.js.map +1 -1
  305. package/dist/esm/funcs/userDataDelete.js.map +1 -1
  306. package/dist/esm/funcs/userDataDeleteProjectUserData.js.map +1 -1
  307. package/dist/esm/funcs/userDataGetProjectUserData.js.map +1 -1
  308. package/dist/esm/funcs/userDataGetProjectUsersData.js.map +1 -1
  309. package/dist/esm/funcs/userDataRetrieve.js.map +1 -1
  310. package/dist/esm/funcs/userDataUpdate.js.map +1 -1
  311. package/dist/esm/funcs/userDataUpdateForProject.js.map +1 -1
  312. package/dist/esm/funcs/userProfileUpdate.js.map +1 -1
  313. package/dist/esm/funcs/virtualMachinesCreateVirtualMachineAction.js.map +1 -1
  314. package/dist/esm/funcs/virtualMachinesDelete.js.map +1 -1
  315. package/dist/esm/funcs/virtualMachinesGet.d.ts +2 -1
  316. package/dist/esm/funcs/virtualMachinesGet.d.ts.map +1 -1
  317. package/dist/esm/funcs/virtualMachinesGet.js +5 -3
  318. package/dist/esm/funcs/virtualMachinesGet.js.map +1 -1
  319. package/dist/esm/funcs/virtualMachinesList.d.ts +2 -1
  320. package/dist/esm/funcs/virtualMachinesList.d.ts.map +1 -1
  321. package/dist/esm/funcs/virtualMachinesList.js +5 -3
  322. package/dist/esm/funcs/virtualMachinesList.js.map +1 -1
  323. package/dist/esm/funcs/virtualMachinesUpdateVirtualMachine.js.map +1 -1
  324. package/dist/esm/funcs/virtualNetworksDelete.js.map +1 -1
  325. package/dist/esm/funcs/vpnSessionsDelete.js.map +1 -1
  326. package/dist/esm/funcs/vpnSessionsRefreshPassword.js.map +1 -1
  327. package/dist/esm/lib/config.d.ts +3 -3
  328. package/dist/esm/lib/config.js +3 -3
  329. package/dist/esm/lib/config.js.map +1 -1
  330. package/dist/esm/lib/encodings.d.ts.map +1 -1
  331. package/dist/esm/lib/encodings.js +20 -5
  332. package/dist/esm/lib/encodings.js.map +1 -1
  333. package/dist/esm/lib/files.d.ts +13 -0
  334. package/dist/esm/lib/files.d.ts.map +1 -1
  335. package/dist/esm/lib/files.js +18 -0
  336. package/dist/esm/lib/files.js.map +1 -1
  337. package/dist/esm/lib/sdks.d.ts.map +1 -1
  338. package/dist/esm/lib/sdks.js +8 -4
  339. package/dist/esm/lib/sdks.js.map +1 -1
  340. package/dist/esm/lib/url.d.ts.map +1 -1
  341. package/dist/esm/lib/url.js +4 -2
  342. package/dist/esm/lib/url.js.map +1 -1
  343. package/dist/esm/mcp-server/mcp-server.js +1 -1
  344. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  345. package/dist/esm/mcp-server/server.js +9 -1
  346. package/dist/esm/mcp-server/server.js.map +1 -1
  347. package/dist/esm/mcp-server/tools/kubernetesClustersCreateKubernetesCluster.d.ts.map +1 -1
  348. package/dist/esm/mcp-server/tools/kubernetesClustersCreateKubernetesCluster.js +1 -3
  349. package/dist/esm/mcp-server/tools/kubernetesClustersCreateKubernetesCluster.js.map +1 -1
  350. package/dist/esm/mcp-server/tools/storageDeleteStorageObjects.d.ts +8 -0
  351. package/dist/esm/mcp-server/tools/storageDeleteStorageObjects.d.ts.map +1 -0
  352. package/dist/esm/mcp-server/tools/storageDeleteStorageObjects.js +27 -0
  353. package/dist/esm/mcp-server/tools/storageDeleteStorageObjects.js.map +1 -0
  354. package/dist/esm/mcp-server/tools/storageGetStorageObject.d.ts +8 -0
  355. package/dist/esm/mcp-server/tools/storageGetStorageObject.d.ts.map +1 -0
  356. package/dist/esm/mcp-server/tools/storageGetStorageObject.js +28 -0
  357. package/dist/esm/mcp-server/tools/storageGetStorageObject.js.map +1 -0
  358. package/dist/esm/mcp-server/tools/storageGetStorageObjects.d.ts +8 -0
  359. package/dist/esm/mcp-server/tools/storageGetStorageObjects.d.ts.map +1 -0
  360. package/dist/esm/mcp-server/tools/storageGetStorageObjects.js +28 -0
  361. package/dist/esm/mcp-server/tools/storageGetStorageObjects.js.map +1 -0
  362. package/dist/esm/mcp-server/tools/storagePostStorageObjects.d.ts +8 -0
  363. package/dist/esm/mcp-server/tools/storagePostStorageObjects.d.ts.map +1 -0
  364. package/dist/esm/mcp-server/tools/storagePostStorageObjects.js +28 -0
  365. package/dist/esm/mcp-server/tools/storagePostStorageObjects.js.map +1 -0
  366. package/dist/esm/mcp-server/tools/virtualMachinesGet.d.ts.map +1 -1
  367. package/dist/esm/mcp-server/tools/virtualMachinesGet.js +2 -1
  368. package/dist/esm/mcp-server/tools/virtualMachinesGet.js.map +1 -1
  369. package/dist/esm/mcp-server/tools/virtualMachinesList.d.ts.map +1 -1
  370. package/dist/esm/mcp-server/tools/virtualMachinesList.js +2 -1
  371. package/dist/esm/mcp-server/tools/virtualMachinesList.js.map +1 -1
  372. package/dist/esm/models/errorobject.d.ts +2 -0
  373. package/dist/esm/models/errorobject.d.ts.map +1 -1
  374. package/dist/esm/models/errorobject.js +2 -0
  375. package/dist/esm/models/errorobject.js.map +1 -1
  376. package/dist/esm/models/index.d.ts +3 -0
  377. package/dist/esm/models/index.d.ts.map +1 -1
  378. package/dist/esm/models/index.js +3 -0
  379. package/dist/esm/models/index.js.map +1 -1
  380. package/dist/esm/models/objectstoragedata.d.ts +114 -0
  381. package/dist/esm/models/objectstoragedata.d.ts.map +1 -0
  382. package/dist/esm/models/objectstoragedata.js +100 -0
  383. package/dist/esm/models/objectstoragedata.js.map +1 -0
  384. package/dist/esm/models/objectstorages.d.ts +18 -0
  385. package/dist/esm/models/objectstorages.d.ts.map +1 -0
  386. package/dist/esm/models/objectstorages.js +21 -0
  387. package/dist/esm/models/objectstorages.js.map +1 -0
  388. package/dist/esm/models/operations/deletestorageobjects.d.ts +20 -0
  389. package/dist/esm/models/operations/deletestorageobjects.d.ts.map +1 -0
  390. package/dist/esm/models/operations/deletestorageobjects.js +20 -0
  391. package/dist/esm/models/operations/deletestorageobjects.js.map +1 -0
  392. package/dist/esm/models/operations/getstorageobject.d.ts +37 -0
  393. package/dist/esm/models/operations/getstorageobject.d.ts.map +1 -0
  394. package/dist/esm/models/operations/getstorageobject.js +35 -0
  395. package/dist/esm/models/operations/getstorageobject.js.map +1 -0
  396. package/dist/esm/models/operations/getstorageobjects.d.ts +20 -0
  397. package/dist/esm/models/operations/getstorageobjects.d.ts.map +1 -0
  398. package/dist/esm/models/operations/getstorageobjects.js +29 -0
  399. package/dist/esm/models/operations/getstorageobjects.js.map +1 -0
  400. package/dist/esm/models/operations/index.d.ts +4 -0
  401. package/dist/esm/models/operations/index.d.ts.map +1 -1
  402. package/dist/esm/models/operations/index.js +4 -0
  403. package/dist/esm/models/operations/index.js.map +1 -1
  404. package/dist/esm/models/operations/poststorageobjects.d.ts +94 -0
  405. package/dist/esm/models/operations/poststorageobjects.d.ts.map +1 -0
  406. package/dist/esm/models/operations/poststorageobjects.js +80 -0
  407. package/dist/esm/models/operations/poststorageobjects.js.map +1 -0
  408. package/dist/esm/models/serverdata.d.ts +16 -16
  409. package/dist/esm/models/serverdata.d.ts.map +1 -1
  410. package/dist/esm/models/serverdata.js +18 -17
  411. package/dist/esm/models/serverdata.js.map +1 -1
  412. package/dist/esm/models/traffic.d.ts +6 -6
  413. package/dist/esm/models/virtualmachineattributes.d.ts +103 -2
  414. package/dist/esm/models/virtualmachineattributes.d.ts.map +1 -1
  415. package/dist/esm/models/virtualmachineattributes.js +74 -2
  416. package/dist/esm/models/virtualmachineattributes.js.map +1 -1
  417. package/dist/esm/models/virtualmachinepayload.d.ts +1 -1
  418. package/dist/esm/models/virtualmachineplans.d.ts +5 -0
  419. package/dist/esm/models/virtualmachineplans.d.ts.map +1 -1
  420. package/dist/esm/models/virtualmachineplans.js +4 -0
  421. package/dist/esm/models/virtualmachineplans.js.map +1 -1
  422. package/dist/esm/models/virtualmachines.d.ts +29 -0
  423. package/dist/esm/models/virtualmachines.d.ts.map +1 -0
  424. package/dist/esm/models/virtualmachines.js +33 -0
  425. package/dist/esm/models/virtualmachines.js.map +1 -0
  426. package/dist/esm/sdk/kubernetesclusters.d.ts +1 -3
  427. package/dist/esm/sdk/kubernetesclusters.d.ts.map +1 -1
  428. package/dist/esm/sdk/kubernetesclusters.js +1 -3
  429. package/dist/esm/sdk/kubernetesclusters.js.map +1 -1
  430. package/dist/esm/sdk/storage.d.ts +29 -0
  431. package/dist/esm/sdk/storage.d.ts.map +1 -1
  432. package/dist/esm/sdk/storage.js +40 -0
  433. package/dist/esm/sdk/storage.js.map +1 -1
  434. package/dist/esm/sdk/virtualmachines.d.ts +2 -2
  435. package/dist/esm/sdk/virtualmachines.d.ts.map +1 -1
  436. package/jsr.json +1 -1
  437. package/package.json +3 -3
  438. package/src/funcs/apiKeysDelete.ts +0 -1
  439. package/src/funcs/apiKeysUpdate.ts +0 -1
  440. package/src/funcs/apiKeysUpdateApiKey.ts +0 -1
  441. package/src/funcs/elasticIpsDeleteElasticIp.ts +0 -1
  442. package/src/funcs/elasticIpsGetElasticIp.ts +0 -1
  443. package/src/funcs/elasticIpsUpdateElasticIp.ts +0 -1
  444. package/src/funcs/firewallsAssignmentsCreate.ts +0 -1
  445. package/src/funcs/firewallsDelete.ts +0 -1
  446. package/src/funcs/firewallsDeleteAssignment.ts +0 -1
  447. package/src/funcs/firewallsGet.ts +0 -1
  448. package/src/funcs/firewallsListAssignments.ts +0 -1
  449. package/src/funcs/firewallsUpdate.ts +0 -1
  450. package/src/funcs/ipAddressesGet.ts +0 -1
  451. package/src/funcs/kubernetesClustersCreateKubernetesCluster.ts +1 -3
  452. package/src/funcs/kubernetesClustersDeleteKubernetesCluster.ts +0 -1
  453. package/src/funcs/kubernetesClustersGetKubernetesCluster.ts +0 -1
  454. package/src/funcs/kubernetesClustersGetKubernetesClusterKubeconfig.ts +0 -1
  455. package/src/funcs/plansGet.ts +0 -1
  456. package/src/funcs/privateNetworksDeleteAssignment.ts +0 -1
  457. package/src/funcs/privateNetworksGet.ts +0 -1
  458. package/src/funcs/privateNetworksUpdate.ts +0 -1
  459. package/src/funcs/projectsDelete.ts +0 -1
  460. package/src/funcs/projectsSshKeysPostProjectSshKey.ts +0 -1
  461. package/src/funcs/projectsUpdate.ts +0 -1
  462. package/src/funcs/regionsFetch.ts +0 -1
  463. package/src/funcs/rolesGet.ts +0 -1
  464. package/src/funcs/serversCreateIpmiSession.ts +0 -1
  465. package/src/funcs/serversDelete.ts +0 -1
  466. package/src/funcs/serversExitRescueMode.ts +0 -1
  467. package/src/funcs/serversGet.ts +0 -1
  468. package/src/funcs/serversGetDeployConfig.ts +0 -1
  469. package/src/funcs/serversGetOutOfBand.ts +0 -1
  470. package/src/funcs/serversLock.ts +0 -1
  471. package/src/funcs/serversReinstall.ts +0 -1
  472. package/src/funcs/serversRunAction.ts +0 -1
  473. package/src/funcs/serversScheduleDeletion.ts +0 -1
  474. package/src/funcs/serversStartOutOfBandConnection.ts +0 -1
  475. package/src/funcs/serversStartRescueMode.ts +0 -1
  476. package/src/funcs/serversUnlock.ts +0 -1
  477. package/src/funcs/serversUnscheduleDeletion.ts +0 -1
  478. package/src/funcs/serversUpdate.ts +0 -1
  479. package/src/funcs/serversUpdateDeployConfig.ts +0 -1
  480. package/src/funcs/sshKeysDelete.ts +0 -1
  481. package/src/funcs/sshKeysGet.ts +0 -1
  482. package/src/funcs/sshKeysList.ts +0 -1
  483. package/src/funcs/sshKeysModifyProjectKey.ts +0 -1
  484. package/src/funcs/sshKeysRemoveFromProject.ts +0 -1
  485. package/src/funcs/sshKeysRetrieve.ts +0 -1
  486. package/src/funcs/sshKeysUpdate.ts +0 -1
  487. package/src/funcs/storageDeleteFilesystem.ts +0 -1
  488. package/src/funcs/storageDeleteStorageObjects.ts +181 -0
  489. package/src/funcs/storageDeleteStorageVolumes.ts +0 -1
  490. package/src/funcs/storageGetStorageObject.ts +178 -0
  491. package/src/funcs/storageGetStorageObjects.ts +181 -0
  492. package/src/funcs/storageGetStorageVolume.ts +0 -1
  493. package/src/funcs/storagePostStorageObjects.ts +176 -0
  494. package/src/funcs/storagePostStorageVolumesMount.ts +0 -1
  495. package/src/funcs/storageUpdateFilesystem.ts +0 -1
  496. package/src/funcs/tagsCreate.ts +13 -2
  497. package/src/funcs/tagsDelete.ts +0 -1
  498. package/src/funcs/tagsUpdate.ts +13 -3
  499. package/src/funcs/teamMembersDelete.ts +0 -1
  500. package/src/funcs/teamsUpdate.ts +0 -1
  501. package/src/funcs/userDataCreate.ts +0 -1
  502. package/src/funcs/userDataDelete.ts +0 -1
  503. package/src/funcs/userDataDeleteProjectUserData.ts +0 -1
  504. package/src/funcs/userDataGetProjectUserData.ts +0 -1
  505. package/src/funcs/userDataGetProjectUsersData.ts +0 -1
  506. package/src/funcs/userDataRetrieve.ts +0 -1
  507. package/src/funcs/userDataUpdate.ts +0 -1
  508. package/src/funcs/userDataUpdateForProject.ts +0 -1
  509. package/src/funcs/userProfileUpdate.ts +0 -1
  510. package/src/funcs/virtualMachinesCreateVirtualMachineAction.ts +0 -1
  511. package/src/funcs/virtualMachinesDelete.ts +0 -1
  512. package/src/funcs/virtualMachinesGet.ts +8 -7
  513. package/src/funcs/virtualMachinesList.ts +8 -6
  514. package/src/funcs/virtualMachinesUpdateVirtualMachine.ts +0 -1
  515. package/src/funcs/virtualNetworksDelete.ts +0 -1
  516. package/src/funcs/vpnSessionsDelete.ts +0 -1
  517. package/src/funcs/vpnSessionsRefreshPassword.ts +0 -1
  518. package/src/lib/config.ts +3 -3
  519. package/src/lib/encodings.ts +23 -4
  520. package/src/lib/files.ts +22 -0
  521. package/src/lib/sdks.ts +7 -5
  522. package/src/lib/url.ts +16 -14
  523. package/src/mcp-server/mcp-server.ts +1 -1
  524. package/src/mcp-server/server.ts +9 -1
  525. package/src/mcp-server/tools/kubernetesClustersCreateKubernetesCluster.ts +1 -3
  526. package/src/mcp-server/tools/storageDeleteStorageObjects.ts +35 -0
  527. package/src/mcp-server/tools/storageGetStorageObject.ts +37 -0
  528. package/src/mcp-server/tools/storageGetStorageObjects.ts +37 -0
  529. package/src/mcp-server/tools/storagePostStorageObjects.ts +37 -0
  530. package/src/mcp-server/tools/virtualMachinesGet.ts +3 -1
  531. package/src/mcp-server/tools/virtualMachinesList.ts +3 -1
  532. package/src/models/errorobject.ts +4 -0
  533. package/src/models/index.ts +3 -0
  534. package/src/models/objectstoragedata.ts +271 -0
  535. package/src/models/objectstorages.ts +53 -0
  536. package/src/models/operations/deletestorageobjects.ts +56 -0
  537. package/src/models/operations/getstorageobject.ts +101 -0
  538. package/src/models/operations/getstorageobjects.ts +63 -0
  539. package/src/models/operations/index.ts +4 -0
  540. package/src/models/operations/poststorageobjects.ts +236 -0
  541. package/src/models/serverdata.ts +50 -39
  542. package/src/models/traffic.ts +6 -6
  543. package/src/models/virtualmachineattributes.ts +244 -4
  544. package/src/models/virtualmachinepayload.ts +1 -1
  545. package/src/models/virtualmachineplans.ts +9 -0
  546. package/src/models/virtualmachines.ts +94 -0
  547. package/src/sdk/kubernetesclusters.ts +1 -3
  548. package/src/sdk/storage.ts +73 -0
  549. package/src/sdk/virtualmachines.ts +2 -2
package/bin/mcp-server.js CHANGED
@@ -53108,7 +53108,7 @@ function pathToFunc(pathPattern, options) {
53108
53108
  throw new Error(`Parameter '${placeholder}' must be a string or number`);
53109
53109
  }
53110
53110
  return options?.charEncoding === "percent" ? encodeURIComponent(`${value}`) : `${value}`;
53111
- });
53111
+ }).replace(/^\/+/, "");
53112
53112
  };
53113
53113
  }
53114
53114
  var hasOwn;
@@ -53149,9 +53149,9 @@ var init_config = __esm(() => {
53149
53149
  SDK_METADATA = {
53150
53150
  language: "typescript",
53151
53151
  openapiDocVersion: "2023-06-01",
53152
- sdkVersion: "0.3.4",
53153
- genVersion: "2.859.2",
53154
- userAgent: "speakeasy-sdk/typescript 0.3.4 2.859.2 2023-06-01 latitudesh-typescript-sdk"
53152
+ sdkVersion: "0.3.5",
53153
+ genVersion: "2.869.25",
53154
+ userAgent: "speakeasy-sdk/typescript 0.3.5 2.869.25 2023-06-01 latitudesh-typescript-sdk"
53155
53155
  };
53156
53156
  });
53157
53157
 
@@ -53755,12 +53755,15 @@ class ClientSDK {
53755
53755
  if (!base) {
53756
53756
  return ERR(new InvalidRequestError("No base URL provided for operation"));
53757
53757
  }
53758
- const reqURL = new URL(base);
53759
- const inputURL = new URL(path, reqURL);
53758
+ const baseURL = new URL(base);
53759
+ let reqURL;
53760
53760
  if (path) {
53761
- reqURL.pathname += reqURL.pathname.endsWith("/") ? "" : "/";
53762
- reqURL.pathname += inputURL.pathname.replace(/^\/+/, "");
53761
+ baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/";
53762
+ reqURL = new URL(path, baseURL);
53763
+ } else {
53764
+ reqURL = baseURL;
53763
53765
  }
53766
+ reqURL.hash = "";
53764
53767
  let finalQuery = query || "";
53765
53768
  const secQuery = [];
53766
53769
  for (const [k2, v2] of Object.entries(security?.queryParams || {})) {
@@ -55515,10 +55518,12 @@ var Source$inboundSchema, Source$outboundSchema, ErrorObjectMeta$inboundSchema,
55515
55518
  var init_errorobject = __esm(() => {
55516
55519
  init_v3();
55517
55520
  Source$inboundSchema = objectType({
55518
- pointer: stringType().optional()
55521
+ pointer: stringType().optional(),
55522
+ parameter: stringType().optional()
55519
55523
  });
55520
55524
  Source$outboundSchema = objectType({
55521
- pointer: stringType().optional()
55525
+ pointer: stringType().optional(),
55526
+ parameter: stringType().optional()
55522
55527
  });
55523
55528
  ErrorObjectMeta$inboundSchema = objectType({});
55524
55529
  ErrorObjectMeta$outboundSchema = objectType({});
@@ -56554,6 +56559,174 @@ var init_membership = __esm(() => {
56554
56559
  });
56555
56560
  });
56556
56561
 
56562
+ // src/models/projectinclude.ts
56563
+ var ProjectIncludeBilling$inboundSchema, ProjectIncludeBilling$outboundSchema, ProjectIncludeStats$inboundSchema, ProjectIncludeStats$outboundSchema, ProjectInclude$inboundSchema, ProjectInclude$outboundSchema;
56564
+ var init_projectinclude = __esm(() => {
56565
+ init_v3();
56566
+ init_primitives();
56567
+ ProjectIncludeBilling$inboundSchema = objectType({
56568
+ subscription_id: nullableType(stringType()).optional(),
56569
+ type: stringType().optional(),
56570
+ method: stringType().optional()
56571
+ }).transform((v2) => {
56572
+ return remap(v2, {
56573
+ subscription_id: "subscriptionId"
56574
+ });
56575
+ });
56576
+ ProjectIncludeBilling$outboundSchema = objectType({
56577
+ subscriptionId: nullableType(stringType()).optional(),
56578
+ type: stringType().optional(),
56579
+ method: stringType().optional()
56580
+ }).transform((v2) => {
56581
+ return remap(v2, {
56582
+ subscriptionId: "subscription_id"
56583
+ });
56584
+ });
56585
+ ProjectIncludeStats$inboundSchema = objectType({
56586
+ ip_addresses: numberType().int().optional(),
56587
+ prefixes: numberType().int().optional(),
56588
+ servers: numberType().int().optional(),
56589
+ vlans: numberType().int().optional()
56590
+ }).transform((v2) => {
56591
+ return remap(v2, {
56592
+ ip_addresses: "ipAddresses"
56593
+ });
56594
+ });
56595
+ ProjectIncludeStats$outboundSchema = objectType({
56596
+ ipAddresses: numberType().int().optional(),
56597
+ prefixes: numberType().int().optional(),
56598
+ servers: numberType().int().optional(),
56599
+ vlans: numberType().int().optional()
56600
+ }).transform((v2) => {
56601
+ return remap(v2, {
56602
+ ipAddresses: "ip_addresses"
56603
+ });
56604
+ });
56605
+ ProjectInclude$inboundSchema = objectType({
56606
+ id: stringType().optional(),
56607
+ name: stringType().optional(),
56608
+ slug: stringType().optional(),
56609
+ description: nullableType(stringType()).optional(),
56610
+ billing_type: nullableType(stringType()).optional(),
56611
+ provisioning_type: nullableType(stringType()).optional(),
56612
+ billing_method: nullableType(stringType()).optional(),
56613
+ bandwidth_alert: booleanType().optional(),
56614
+ environment: nullableType(stringType()).optional(),
56615
+ billing: lazyType(() => ProjectIncludeBilling$inboundSchema).optional(),
56616
+ stats: lazyType(() => ProjectIncludeStats$inboundSchema).optional()
56617
+ }).transform((v2) => {
56618
+ return remap(v2, {
56619
+ billing_type: "billingType",
56620
+ provisioning_type: "provisioningType",
56621
+ billing_method: "billingMethod",
56622
+ bandwidth_alert: "bandwidthAlert"
56623
+ });
56624
+ });
56625
+ ProjectInclude$outboundSchema = objectType({
56626
+ id: stringType().optional(),
56627
+ name: stringType().optional(),
56628
+ slug: stringType().optional(),
56629
+ description: nullableType(stringType()).optional(),
56630
+ billingType: nullableType(stringType()).optional(),
56631
+ provisioningType: nullableType(stringType()).optional(),
56632
+ billingMethod: nullableType(stringType()).optional(),
56633
+ bandwidthAlert: booleanType().optional(),
56634
+ environment: nullableType(stringType()).optional(),
56635
+ billing: lazyType(() => ProjectIncludeBilling$outboundSchema).optional(),
56636
+ stats: lazyType(() => ProjectIncludeStats$outboundSchema).optional()
56637
+ }).transform((v2) => {
56638
+ return remap(v2, {
56639
+ billingType: "billing_type",
56640
+ provisioningType: "provisioning_type",
56641
+ billingMethod: "billing_method",
56642
+ bandwidthAlert: "bandwidth_alert"
56643
+ });
56644
+ });
56645
+ });
56646
+
56647
+ // src/models/objectstoragedata.ts
56648
+ var ObjectStorageDataType, ObjectStorageDataType$inboundSchema, ObjectStorageDataType$outboundSchema, ObjectStorageDataRegion$inboundSchema, ObjectStorageDataRegion$outboundSchema, ObjectStorageDataAttributes$inboundSchema, ObjectStorageDataAttributes$outboundSchema, ObjectStorageData$inboundSchema, ObjectStorageData$outboundSchema;
56649
+ var init_objectstoragedata = __esm(() => {
56650
+ init_v3();
56651
+ init_primitives();
56652
+ init_projectinclude();
56653
+ init_teaminclude();
56654
+ ObjectStorageDataType = {
56655
+ ObjectStorages: "object_storages"
56656
+ };
56657
+ ObjectStorageDataType$inboundSchema = nativeEnumType(ObjectStorageDataType);
56658
+ ObjectStorageDataType$outboundSchema = ObjectStorageDataType$inboundSchema;
56659
+ ObjectStorageDataRegion$inboundSchema = objectType({
56660
+ id: stringType().optional(),
56661
+ city: stringType().optional(),
56662
+ country: nullableType(stringType()).optional()
56663
+ });
56664
+ ObjectStorageDataRegion$outboundSchema = objectType({
56665
+ id: stringType().optional(),
56666
+ city: stringType().optional(),
56667
+ country: nullableType(stringType()).optional()
56668
+ });
56669
+ ObjectStorageDataAttributes$inboundSchema = objectType({
56670
+ name: stringType().optional(),
56671
+ size_in_gb: numberType().int().optional(),
56672
+ created_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
56673
+ bucket_name: stringType().optional(),
56674
+ endpoint: stringType().optional(),
56675
+ access_key: arrayType(stringType()).optional(),
56676
+ region: nullableType(lazyType(() => ObjectStorageDataRegion$inboundSchema)).optional(),
56677
+ project: ProjectInclude$inboundSchema.optional(),
56678
+ team: TeamInclude$inboundSchema.optional()
56679
+ }).transform((v2) => {
56680
+ return remap(v2, {
56681
+ size_in_gb: "sizeInGb",
56682
+ created_at: "createdAt",
56683
+ bucket_name: "bucketName",
56684
+ access_key: "accessKey"
56685
+ });
56686
+ });
56687
+ ObjectStorageDataAttributes$outboundSchema = objectType({
56688
+ name: stringType().optional(),
56689
+ sizeInGb: numberType().int().optional(),
56690
+ createdAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
56691
+ bucketName: stringType().optional(),
56692
+ endpoint: stringType().optional(),
56693
+ accessKey: arrayType(stringType()).optional(),
56694
+ region: nullableType(lazyType(() => ObjectStorageDataRegion$outboundSchema)).optional(),
56695
+ project: ProjectInclude$outboundSchema.optional(),
56696
+ team: TeamInclude$outboundSchema.optional()
56697
+ }).transform((v2) => {
56698
+ return remap(v2, {
56699
+ sizeInGb: "size_in_gb",
56700
+ createdAt: "created_at",
56701
+ bucketName: "bucket_name",
56702
+ accessKey: "access_key"
56703
+ });
56704
+ });
56705
+ ObjectStorageData$inboundSchema = objectType({
56706
+ id: stringType().optional(),
56707
+ type: ObjectStorageDataType$inboundSchema.optional(),
56708
+ attributes: lazyType(() => ObjectStorageDataAttributes$inboundSchema).optional()
56709
+ });
56710
+ ObjectStorageData$outboundSchema = objectType({
56711
+ id: stringType().optional(),
56712
+ type: ObjectStorageDataType$outboundSchema.optional(),
56713
+ attributes: lazyType(() => ObjectStorageDataAttributes$outboundSchema).optional()
56714
+ });
56715
+ });
56716
+
56717
+ // src/models/objectstorages.ts
56718
+ var ObjectStorages$inboundSchema, ObjectStorages$outboundSchema;
56719
+ var init_objectstorages = __esm(() => {
56720
+ init_v3();
56721
+ init_objectstoragedata();
56722
+ ObjectStorages$inboundSchema = objectType({
56723
+ data: arrayType(ObjectStorageData$inboundSchema).optional()
56724
+ });
56725
+ ObjectStorages$outboundSchema = objectType({
56726
+ data: arrayType(ObjectStorageData$outboundSchema).optional()
56727
+ });
56728
+ });
56729
+
56557
56730
  // src/models/operatingsystemdata.ts
56558
56731
  var OperatingSystemDataType, OperatingSystemDataType$inboundSchema, OperatingSystemDataType$outboundSchema, OperatingSystemDataFeatures$inboundSchema, OperatingSystemDataFeatures$outboundSchema, OperatingSystemDataAttributes$inboundSchema, OperatingSystemDataAttributes$outboundSchema, OperatingSystemData$inboundSchema, OperatingSystemData$outboundSchema;
56559
56732
  var init_operatingsystemdata = __esm(() => {
@@ -57054,91 +57227,6 @@ var init_project = __esm(() => {
57054
57227
  });
57055
57228
  });
57056
57229
 
57057
- // src/models/projectinclude.ts
57058
- var ProjectIncludeBilling$inboundSchema, ProjectIncludeBilling$outboundSchema, ProjectIncludeStats$inboundSchema, ProjectIncludeStats$outboundSchema, ProjectInclude$inboundSchema, ProjectInclude$outboundSchema;
57059
- var init_projectinclude = __esm(() => {
57060
- init_v3();
57061
- init_primitives();
57062
- ProjectIncludeBilling$inboundSchema = objectType({
57063
- subscription_id: nullableType(stringType()).optional(),
57064
- type: stringType().optional(),
57065
- method: stringType().optional()
57066
- }).transform((v2) => {
57067
- return remap(v2, {
57068
- subscription_id: "subscriptionId"
57069
- });
57070
- });
57071
- ProjectIncludeBilling$outboundSchema = objectType({
57072
- subscriptionId: nullableType(stringType()).optional(),
57073
- type: stringType().optional(),
57074
- method: stringType().optional()
57075
- }).transform((v2) => {
57076
- return remap(v2, {
57077
- subscriptionId: "subscription_id"
57078
- });
57079
- });
57080
- ProjectIncludeStats$inboundSchema = objectType({
57081
- ip_addresses: numberType().int().optional(),
57082
- prefixes: numberType().int().optional(),
57083
- servers: numberType().int().optional(),
57084
- vlans: numberType().int().optional()
57085
- }).transform((v2) => {
57086
- return remap(v2, {
57087
- ip_addresses: "ipAddresses"
57088
- });
57089
- });
57090
- ProjectIncludeStats$outboundSchema = objectType({
57091
- ipAddresses: numberType().int().optional(),
57092
- prefixes: numberType().int().optional(),
57093
- servers: numberType().int().optional(),
57094
- vlans: numberType().int().optional()
57095
- }).transform((v2) => {
57096
- return remap(v2, {
57097
- ipAddresses: "ip_addresses"
57098
- });
57099
- });
57100
- ProjectInclude$inboundSchema = objectType({
57101
- id: stringType().optional(),
57102
- name: stringType().optional(),
57103
- slug: stringType().optional(),
57104
- description: nullableType(stringType()).optional(),
57105
- billing_type: nullableType(stringType()).optional(),
57106
- provisioning_type: nullableType(stringType()).optional(),
57107
- billing_method: nullableType(stringType()).optional(),
57108
- bandwidth_alert: booleanType().optional(),
57109
- environment: nullableType(stringType()).optional(),
57110
- billing: lazyType(() => ProjectIncludeBilling$inboundSchema).optional(),
57111
- stats: lazyType(() => ProjectIncludeStats$inboundSchema).optional()
57112
- }).transform((v2) => {
57113
- return remap(v2, {
57114
- billing_type: "billingType",
57115
- provisioning_type: "provisioningType",
57116
- billing_method: "billingMethod",
57117
- bandwidth_alert: "bandwidthAlert"
57118
- });
57119
- });
57120
- ProjectInclude$outboundSchema = objectType({
57121
- id: stringType().optional(),
57122
- name: stringType().optional(),
57123
- slug: stringType().optional(),
57124
- description: nullableType(stringType()).optional(),
57125
- billingType: nullableType(stringType()).optional(),
57126
- provisioningType: nullableType(stringType()).optional(),
57127
- billingMethod: nullableType(stringType()).optional(),
57128
- bandwidthAlert: booleanType().optional(),
57129
- environment: nullableType(stringType()).optional(),
57130
- billing: lazyType(() => ProjectIncludeBilling$outboundSchema).optional(),
57131
- stats: lazyType(() => ProjectIncludeStats$outboundSchema).optional()
57132
- }).transform((v2) => {
57133
- return remap(v2, {
57134
- billingType: "billing_type",
57135
- provisioningType: "provisioning_type",
57136
- billingMethod: "billing_method",
57137
- bandwidthAlert: "bandwidth_alert"
57138
- });
57139
- });
57140
- });
57141
-
57142
57230
  // src/models/projects.ts
57143
57231
  var Projects$inboundSchema, Projects$outboundSchema;
57144
57232
  var init_projects = __esm(() => {
@@ -57361,7 +57449,7 @@ var init_serverregionresourcedata = __esm(() => {
57361
57449
  });
57362
57450
 
57363
57451
  // src/models/serverdata.ts
57364
- var ServerDataStatus, IpmiStatus, ServerDataRole, ServerDataStatus$inboundSchema, ServerDataStatus$outboundSchema, IpmiStatus$inboundSchema, IpmiStatus$outboundSchema, ServerDataPlan$inboundSchema, ServerDataPlan$outboundSchema, ServerDataFeatures$inboundSchema, ServerDataFeatures$outboundSchema, Distro$inboundSchema, Distro$outboundSchema, OperatingSystem$inboundSchema, OperatingSystem$outboundSchema, ServerDataSpecs$inboundSchema, ServerDataSpecs$outboundSchema, ServerDataRole$inboundSchema, ServerDataRole$outboundSchema, Interface$inboundSchema, Interface$outboundSchema, ServerDataAttributes$inboundSchema, ServerDataAttributes$outboundSchema, ServerData$inboundSchema, ServerData$outboundSchema;
57452
+ var ServerDataStatus, IpmiStatus, ServerDataRole, ServerDataStatus$inboundSchema, ServerDataStatus$outboundSchema, IpmiStatus$inboundSchema, IpmiStatus$outboundSchema, ServerDataPlan$inboundSchema, ServerDataPlan$outboundSchema, ServerDataFeatures$inboundSchema, ServerDataFeatures$outboundSchema, ServerDataDistro$inboundSchema, ServerDataDistro$outboundSchema, ServerDataOperatingSystem$inboundSchema, ServerDataOperatingSystem$outboundSchema, ServerDataSpecs$inboundSchema, ServerDataSpecs$outboundSchema, ServerDataRole$inboundSchema, ServerDataRole$outboundSchema, Interface$inboundSchema, Interface$outboundSchema, ServerDataAttributes$inboundSchema, ServerDataAttributes$outboundSchema, ServerData$inboundSchema, ServerData$outboundSchema;
57365
57453
  var init_serverdata = __esm(() => {
57366
57454
  init_v3();
57367
57455
  init_primitives();
@@ -57424,29 +57512,29 @@ var init_serverdata = __esm(() => {
57424
57512
  userData: "user_data"
57425
57513
  });
57426
57514
  });
57427
- Distro$inboundSchema = objectType({
57515
+ ServerDataDistro$inboundSchema = objectType({
57428
57516
  name: stringType().optional(),
57429
57517
  slug: stringType().optional(),
57430
57518
  series: stringType().optional()
57431
57519
  });
57432
- Distro$outboundSchema = objectType({
57520
+ ServerDataDistro$outboundSchema = objectType({
57433
57521
  name: stringType().optional(),
57434
57522
  slug: stringType().optional(),
57435
57523
  series: stringType().optional()
57436
57524
  });
57437
- OperatingSystem$inboundSchema = objectType({
57525
+ ServerDataOperatingSystem$inboundSchema = objectType({
57438
57526
  name: stringType().optional(),
57439
57527
  slug: stringType().optional(),
57440
57528
  version: stringType().optional(),
57441
57529
  features: lazyType(() => ServerDataFeatures$inboundSchema).optional(),
57442
- distro: lazyType(() => Distro$inboundSchema).optional()
57530
+ distro: lazyType(() => ServerDataDistro$inboundSchema).optional()
57443
57531
  });
57444
- OperatingSystem$outboundSchema = objectType({
57532
+ ServerDataOperatingSystem$outboundSchema = objectType({
57445
57533
  name: stringType().optional(),
57446
57534
  slug: stringType().optional(),
57447
57535
  version: stringType().optional(),
57448
57536
  features: lazyType(() => ServerDataFeatures$outboundSchema).optional(),
57449
- distro: lazyType(() => Distro$outboundSchema).optional()
57537
+ distro: lazyType(() => ServerDataDistro$outboundSchema).optional()
57450
57538
  });
57451
57539
  ServerDataSpecs$inboundSchema = objectType({
57452
57540
  cpu: stringType().optional(),
@@ -57498,7 +57586,7 @@ var init_serverdata = __esm(() => {
57498
57586
  created_at: nullableType(stringType()).optional(),
57499
57587
  scheduled_deletion_at: nullableType(stringType()).optional(),
57500
57588
  plan: lazyType(() => ServerDataPlan$inboundSchema).optional(),
57501
- operating_system: lazyType(() => OperatingSystem$inboundSchema).optional(),
57589
+ operating_system: lazyType(() => ServerDataOperatingSystem$inboundSchema).optional(),
57502
57590
  region: ServerRegionResourceData$inboundSchema.optional(),
57503
57591
  specs: lazyType(() => ServerDataSpecs$inboundSchema).optional(),
57504
57592
  interfaces: arrayType(lazyType(() => Interface$inboundSchema)).optional(),
@@ -57529,7 +57617,7 @@ var init_serverdata = __esm(() => {
57529
57617
  createdAt: nullableType(stringType()).optional(),
57530
57618
  scheduledDeletionAt: nullableType(stringType()).optional(),
57531
57619
  plan: lazyType(() => ServerDataPlan$outboundSchema).optional(),
57532
- operatingSystem: lazyType(() => OperatingSystem$outboundSchema).optional(),
57620
+ operatingSystem: lazyType(() => ServerDataOperatingSystem$outboundSchema).optional(),
57533
57621
  region: ServerRegionResourceData$outboundSchema.optional(),
57534
57622
  specs: lazyType(() => ServerDataSpecs$outboundSchema).optional(),
57535
57623
  interfaces: arrayType(lazyType(() => Interface$outboundSchema)).optional(),
@@ -58654,7 +58742,7 @@ var init_userupdate = __esm(() => {
58654
58742
  });
58655
58743
 
58656
58744
  // src/models/virtualmachineattributes.ts
58657
- var VirtualMachineAttributesType, VirtualMachineAttributesStatus, VirtualMachineAttributesType$inboundSchema, VirtualMachineAttributesType$outboundSchema, VirtualMachineAttributesStatus$inboundSchema, VirtualMachineAttributesStatus$outboundSchema, VirtualMachineAttributesCredentials$inboundSchema, VirtualMachineAttributesCredentials$outboundSchema, VirtualMachineAttributesPlan$inboundSchema, VirtualMachineAttributesPlan$outboundSchema, VirtualMachineAttributesSpecs$inboundSchema, VirtualMachineAttributesSpecs$outboundSchema, VirtualMachineAttributesAttributes$inboundSchema, VirtualMachineAttributesAttributes$outboundSchema, VirtualMachineAttributes$inboundSchema, VirtualMachineAttributes$outboundSchema;
58745
+ 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;
58658
58746
  var init_virtualmachineattributes = __esm(() => {
58659
58747
  init_v3();
58660
58748
  init_primitives();
@@ -58668,12 +58756,57 @@ var init_virtualmachineattributes = __esm(() => {
58668
58756
  ConfiguringNetwork: "Configuring network",
58669
58757
  Starting: "Starting",
58670
58758
  Scheduling: "Scheduling",
58671
- Scheduled: "Scheduled"
58759
+ Scheduled: "Scheduled",
58760
+ Destroying: "Destroying"
58672
58761
  };
58673
58762
  VirtualMachineAttributesType$inboundSchema = nativeEnumType(VirtualMachineAttributesType);
58674
58763
  VirtualMachineAttributesType$outboundSchema = VirtualMachineAttributesType$inboundSchema;
58675
58764
  VirtualMachineAttributesStatus$inboundSchema = nativeEnumType(VirtualMachineAttributesStatus);
58676
58765
  VirtualMachineAttributesStatus$outboundSchema = VirtualMachineAttributesStatus$inboundSchema;
58766
+ VirtualMachineAttributesFeatures$inboundSchema = objectType({
58767
+ raid: booleanType().optional(),
58768
+ ssh_keys: booleanType().optional(),
58769
+ user_data: booleanType().optional()
58770
+ }).transform((v2) => {
58771
+ return remap(v2, {
58772
+ ssh_keys: "sshKeys",
58773
+ user_data: "userData"
58774
+ });
58775
+ });
58776
+ VirtualMachineAttributesFeatures$outboundSchema = objectType({
58777
+ raid: booleanType().optional(),
58778
+ sshKeys: booleanType().optional(),
58779
+ userData: booleanType().optional()
58780
+ }).transform((v2) => {
58781
+ return remap(v2, {
58782
+ sshKeys: "ssh_keys",
58783
+ userData: "user_data"
58784
+ });
58785
+ });
58786
+ VirtualMachineAttributesDistro$inboundSchema = objectType({
58787
+ name: stringType().optional(),
58788
+ slug: stringType().optional(),
58789
+ series: stringType().optional()
58790
+ });
58791
+ VirtualMachineAttributesDistro$outboundSchema = objectType({
58792
+ name: stringType().optional(),
58793
+ slug: stringType().optional(),
58794
+ series: stringType().optional()
58795
+ });
58796
+ VirtualMachineAttributesOperatingSystem$inboundSchema = objectType({
58797
+ name: stringType().optional(),
58798
+ slug: stringType().optional(),
58799
+ version: stringType().optional(),
58800
+ features: lazyType(() => VirtualMachineAttributesFeatures$inboundSchema).optional(),
58801
+ distro: lazyType(() => VirtualMachineAttributesDistro$inboundSchema).optional()
58802
+ });
58803
+ VirtualMachineAttributesOperatingSystem$outboundSchema = objectType({
58804
+ name: stringType().optional(),
58805
+ slug: stringType().optional(),
58806
+ version: stringType().optional(),
58807
+ features: lazyType(() => VirtualMachineAttributesFeatures$outboundSchema).optional(),
58808
+ distro: lazyType(() => VirtualMachineAttributesDistro$outboundSchema).optional()
58809
+ });
58677
58810
  VirtualMachineAttributesCredentials$inboundSchema = objectType({
58678
58811
  username: stringType().optional(),
58679
58812
  host: stringType().optional(),
@@ -58721,7 +58854,7 @@ var init_virtualmachineattributes = __esm(() => {
58721
58854
  created_at: stringType().optional(),
58722
58855
  status: VirtualMachineAttributesStatus$inboundSchema.optional(),
58723
58856
  primary_ipv4: nullableType(stringType()).optional(),
58724
- operating_system: nullableType(stringType()).optional(),
58857
+ operating_system: nullableType(lazyType(() => VirtualMachineAttributesOperatingSystem$inboundSchema)).optional(),
58725
58858
  credentials: nullableType(lazyType(() => VirtualMachineAttributesCredentials$inboundSchema)).optional(),
58726
58859
  plan: lazyType(() => VirtualMachineAttributesPlan$inboundSchema).optional(),
58727
58860
  specs: lazyType(() => VirtualMachineAttributesSpecs$inboundSchema).optional(),
@@ -58739,7 +58872,7 @@ var init_virtualmachineattributes = __esm(() => {
58739
58872
  createdAt: stringType().optional(),
58740
58873
  status: VirtualMachineAttributesStatus$outboundSchema.optional(),
58741
58874
  primaryIpv4: nullableType(stringType()).optional(),
58742
- operatingSystem: nullableType(stringType()).optional(),
58875
+ operatingSystem: nullableType(lazyType(() => VirtualMachineAttributesOperatingSystem$outboundSchema)).optional(),
58743
58876
  credentials: nullableType(lazyType(() => VirtualMachineAttributesCredentials$outboundSchema)).optional(),
58744
58877
  plan: lazyType(() => VirtualMachineAttributesPlan$outboundSchema).optional(),
58745
58878
  specs: lazyType(() => VirtualMachineAttributesSpecs$outboundSchema).optional(),
@@ -59002,20 +59135,24 @@ var init_virtualmachineplans = __esm(() => {
59002
59135
  name: stringType().optional(),
59003
59136
  specs: lazyType(() => VirtualMachinePlansSpecs$inboundSchema).optional(),
59004
59137
  regions: arrayType(lazyType(() => VirtualMachinePlansRegion$inboundSchema)).optional(),
59005
- stock_level: VirtualMachinePlansStockLevel$inboundSchema.optional()
59138
+ stock_level: VirtualMachinePlansStockLevel$inboundSchema.optional(),
59139
+ available_operating_systems: arrayType(stringType()).optional()
59006
59140
  }).transform((v2) => {
59007
59141
  return remap(v2, {
59008
- stock_level: "stockLevel"
59142
+ stock_level: "stockLevel",
59143
+ available_operating_systems: "availableOperatingSystems"
59009
59144
  });
59010
59145
  });
59011
59146
  VirtualMachinePlansAttributes$outboundSchema = objectType({
59012
59147
  name: stringType().optional(),
59013
59148
  specs: lazyType(() => VirtualMachinePlansSpecs$outboundSchema).optional(),
59014
59149
  regions: arrayType(lazyType(() => VirtualMachinePlansRegion$outboundSchema)).optional(),
59015
- stockLevel: VirtualMachinePlansStockLevel$outboundSchema.optional()
59150
+ stockLevel: VirtualMachinePlansStockLevel$outboundSchema.optional(),
59151
+ availableOperatingSystems: arrayType(stringType()).optional()
59016
59152
  }).transform((v2) => {
59017
59153
  return remap(v2, {
59018
- stockLevel: "stock_level"
59154
+ stockLevel: "stock_level",
59155
+ availableOperatingSystems: "available_operating_systems"
59019
59156
  });
59020
59157
  });
59021
59158
  VirtualMachinePlansData$inboundSchema = objectType({
@@ -59036,11 +59173,28 @@ var init_virtualmachineplans = __esm(() => {
59036
59173
  });
59037
59174
  });
59038
59175
 
59039
- // src/models/virtualmachineupdatepayload.ts
59040
- var VirtualMachineUpdatePayloadType, VirtualMachineUpdatePayloadType$inboundSchema, VirtualMachineUpdatePayloadType$outboundSchema, VirtualMachineUpdatePayloadAttributes$inboundSchema, VirtualMachineUpdatePayloadAttributes$outboundSchema, VirtualMachineUpdatePayloadData$inboundSchema, VirtualMachineUpdatePayloadData$outboundSchema, VirtualMachineUpdatePayload$inboundSchema, VirtualMachineUpdatePayload$outboundSchema;
59041
- var init_virtualmachineupdatepayload = __esm(() => {
59176
+ // src/models/virtualmachines.ts
59177
+ var VirtualMachinesMeta$inboundSchema, VirtualMachinesMeta$outboundSchema, VirtualMachines$inboundSchema, VirtualMachines$outboundSchema;
59178
+ var init_virtualmachines = __esm(() => {
59042
59179
  init_v3();
59043
- VirtualMachineUpdatePayloadType = {
59180
+ init_virtualmachineattributes();
59181
+ VirtualMachinesMeta$inboundSchema = objectType({});
59182
+ VirtualMachinesMeta$outboundSchema = objectType({});
59183
+ VirtualMachines$inboundSchema = objectType({
59184
+ data: arrayType(VirtualMachineAttributes$inboundSchema).optional(),
59185
+ meta: lazyType(() => VirtualMachinesMeta$inboundSchema).optional()
59186
+ });
59187
+ VirtualMachines$outboundSchema = objectType({
59188
+ data: arrayType(VirtualMachineAttributes$outboundSchema).optional(),
59189
+ meta: lazyType(() => VirtualMachinesMeta$outboundSchema).optional()
59190
+ });
59191
+ });
59192
+
59193
+ // src/models/virtualmachineupdatepayload.ts
59194
+ var VirtualMachineUpdatePayloadType, VirtualMachineUpdatePayloadType$inboundSchema, VirtualMachineUpdatePayloadType$outboundSchema, VirtualMachineUpdatePayloadAttributes$inboundSchema, VirtualMachineUpdatePayloadAttributes$outboundSchema, VirtualMachineUpdatePayloadData$inboundSchema, VirtualMachineUpdatePayloadData$outboundSchema, VirtualMachineUpdatePayload$inboundSchema, VirtualMachineUpdatePayload$outboundSchema;
59195
+ var init_virtualmachineupdatepayload = __esm(() => {
59196
+ init_v3();
59197
+ VirtualMachineUpdatePayloadType = {
59044
59198
  VirtualMachines: "virtual_machines"
59045
59199
  };
59046
59200
  VirtualMachineUpdatePayloadType$inboundSchema = nativeEnumType(VirtualMachineUpdatePayloadType);
@@ -59462,6 +59616,8 @@ var init_models = __esm(() => {
59462
59616
  init_kubernetesclusters();
59463
59617
  init_kubernetesclustersummarydata();
59464
59618
  init_membership();
59619
+ init_objectstoragedata();
59620
+ init_objectstorages();
59465
59621
  init_operatingsystemdata();
59466
59622
  init_operatingsystems();
59467
59623
  init_outofbandconnection();
@@ -59507,6 +59663,7 @@ var init_models = __esm(() => {
59507
59663
  init_virtualmachineattributes();
59508
59664
  init_virtualmachinepayload();
59509
59665
  init_virtualmachineplans();
59666
+ init_virtualmachines();
59510
59667
  init_virtualmachineupdatepayload();
59511
59668
  init_virtualnetwork();
59512
59669
  init_virtualnetworkassignment();
@@ -60503,6 +60660,18 @@ var init_deletestoragefilesystems = __esm(() => {
60503
60660
  });
60504
60661
  });
60505
60662
 
60663
+ // src/models/operations/deletestorageobjects.ts
60664
+ var DeleteStorageObjectsRequest$inboundSchema, DeleteStorageObjectsRequest$outboundSchema;
60665
+ var init_deletestorageobjects = __esm(() => {
60666
+ init_v3();
60667
+ DeleteStorageObjectsRequest$inboundSchema = objectType({
60668
+ id: stringType()
60669
+ });
60670
+ DeleteStorageObjectsRequest$outboundSchema = objectType({
60671
+ id: stringType()
60672
+ });
60673
+ });
60674
+
60506
60675
  // src/models/operations/deletestoragevolumes.ts
60507
60676
  var DeleteStorageVolumesRequest$inboundSchema, DeleteStorageVolumesRequest$outboundSchema;
60508
60677
  var init_deletestoragevolumes = __esm(() => {
@@ -61805,6 +61974,46 @@ var init_getstoragefilesystems = __esm(() => {
61805
61974
  });
61806
61975
  });
61807
61976
 
61977
+ // src/models/operations/getstorageobject.ts
61978
+ var GetStorageObjectRequest$inboundSchema, GetStorageObjectRequest$outboundSchema, GetStorageObjectResponse$inboundSchema, GetStorageObjectResponse$outboundSchema;
61979
+ var init_getstorageobject = __esm(() => {
61980
+ init_v3();
61981
+ init_models();
61982
+ GetStorageObjectRequest$inboundSchema = objectType({
61983
+ id: stringType()
61984
+ });
61985
+ GetStorageObjectRequest$outboundSchema = objectType({
61986
+ id: stringType()
61987
+ });
61988
+ GetStorageObjectResponse$inboundSchema = objectType({
61989
+ data: ObjectStorageData$inboundSchema.optional()
61990
+ });
61991
+ GetStorageObjectResponse$outboundSchema = objectType({
61992
+ data: ObjectStorageData$outboundSchema.optional()
61993
+ });
61994
+ });
61995
+
61996
+ // src/models/operations/getstorageobjects.ts
61997
+ var GetStorageObjectsRequest$inboundSchema, GetStorageObjectsRequest$outboundSchema;
61998
+ var init_getstorageobjects = __esm(() => {
61999
+ init_v3();
62000
+ init_primitives();
62001
+ GetStorageObjectsRequest$inboundSchema = objectType({
62002
+ "filter[project]": stringType().optional()
62003
+ }).transform((v2) => {
62004
+ return remap(v2, {
62005
+ "filter[project]": "filterProject"
62006
+ });
62007
+ });
62008
+ GetStorageObjectsRequest$outboundSchema = objectType({
62009
+ filterProject: stringType().optional()
62010
+ }).transform((v2) => {
62011
+ return remap(v2, {
62012
+ filterProject: "filter[project]"
62013
+ });
62014
+ });
62015
+ });
62016
+
61808
62017
  // src/models/operations/getstoragevolume.ts
61809
62018
  var GetStorageVolumeRequest$inboundSchema, GetStorageVolumeRequest$outboundSchema, GetStorageVolumeResponse$inboundSchema, GetStorageVolumeResponse$outboundSchema;
61810
62019
  var init_getstoragevolume = __esm(() => {
@@ -62877,6 +63086,52 @@ var init_poststoragefilesystems = __esm(() => {
62877
63086
  });
62878
63087
  });
62879
63088
 
63089
+ // src/models/operations/poststorageobjects.ts
63090
+ var PostStorageObjectsType, PostStorageObjectsType$inboundSchema, PostStorageObjectsType$outboundSchema, PostStorageObjectsAttributes$inboundSchema, PostStorageObjectsAttributes$outboundSchema, PostStorageObjectsData$inboundSchema, PostStorageObjectsData$outboundSchema, PostStorageObjectsRequest$inboundSchema, PostStorageObjectsRequest$outboundSchema, PostStorageObjectsResponse$inboundSchema, PostStorageObjectsResponse$outboundSchema;
63091
+ var init_poststorageobjects = __esm(() => {
63092
+ init_v3();
63093
+ init_models();
63094
+ PostStorageObjectsType = {
63095
+ Objects: "objects"
63096
+ };
63097
+ PostStorageObjectsType$inboundSchema = nativeEnumType(PostStorageObjectsType);
63098
+ PostStorageObjectsType$outboundSchema = PostStorageObjectsType$inboundSchema;
63099
+ PostStorageObjectsAttributes$inboundSchema = objectType({
63100
+ project: stringType(),
63101
+ name: stringType(),
63102
+ region: stringType(),
63103
+ scoped: booleanType().default(false),
63104
+ customer: stringType().optional()
63105
+ });
63106
+ PostStorageObjectsAttributes$outboundSchema = objectType({
63107
+ project: stringType(),
63108
+ name: stringType(),
63109
+ region: stringType(),
63110
+ scoped: booleanType().default(false),
63111
+ customer: stringType().optional()
63112
+ });
63113
+ PostStorageObjectsData$inboundSchema = objectType({
63114
+ type: PostStorageObjectsType$inboundSchema,
63115
+ attributes: lazyType(() => PostStorageObjectsAttributes$inboundSchema)
63116
+ });
63117
+ PostStorageObjectsData$outboundSchema = objectType({
63118
+ type: PostStorageObjectsType$outboundSchema,
63119
+ attributes: lazyType(() => PostStorageObjectsAttributes$outboundSchema)
63120
+ });
63121
+ PostStorageObjectsRequest$inboundSchema = objectType({
63122
+ data: lazyType(() => PostStorageObjectsData$inboundSchema)
63123
+ });
63124
+ PostStorageObjectsRequest$outboundSchema = objectType({
63125
+ data: lazyType(() => PostStorageObjectsData$outboundSchema)
63126
+ });
63127
+ PostStorageObjectsResponse$inboundSchema = objectType({
63128
+ data: ObjectStorageData$inboundSchema.optional()
63129
+ });
63130
+ PostStorageObjectsResponse$outboundSchema = objectType({
63131
+ data: ObjectStorageData$outboundSchema.optional()
63132
+ });
63133
+ });
63134
+
62880
63135
  // src/models/operations/poststoragevolumes.ts
62881
63136
  var PostStorageVolumesType2, PostStorageVolumesType2$inboundSchema, PostStorageVolumesType2$outboundSchema, PostStorageVolumesAttributes2$inboundSchema, PostStorageVolumesAttributes2$outboundSchema, PostStorageVolumesData2$inboundSchema, PostStorageVolumesData2$outboundSchema, PostStorageVolumesRequest$inboundSchema, PostStorageVolumesRequest$outboundSchema, PostStorageVolumesResponse$inboundSchema, PostStorageVolumesResponse$outboundSchema;
62882
63137
  var init_poststoragevolumes = __esm(() => {
@@ -64170,6 +64425,7 @@ var init_operations = __esm(() => {
64170
64425
  init_deleteprojectuserdata();
64171
64426
  init_deletesshkey();
64172
64427
  init_deletestoragefilesystems();
64428
+ init_deletestorageobjects();
64173
64429
  init_deletestoragevolumes();
64174
64430
  init_deleteuserdata();
64175
64431
  init_deletevirtualnetworksassignments();
@@ -64209,6 +64465,8 @@ var init_operations = __esm(() => {
64209
64465
  init_getsshkey();
64210
64466
  init_getsshkeys();
64211
64467
  init_getstoragefilesystems();
64468
+ init_getstorageobject();
64469
+ init_getstorageobjects();
64212
64470
  init_getstoragevolume();
64213
64471
  init_getstoragevolumes();
64214
64472
  init_getteammembers();
@@ -64235,6 +64493,7 @@ var init_operations = __esm(() => {
64235
64493
  init_postprojectuserdata();
64236
64494
  init_postsshkey();
64237
64495
  init_poststoragefilesystems();
64496
+ init_poststorageobjects();
64238
64497
  init_poststoragevolumes();
64239
64498
  init_poststoragevolumesmount();
64240
64499
  init_postteam();
@@ -67153,9 +67412,7 @@ var init_kubernetesClustersCreateKubernetesCluster2 = __esm(() => {
67153
67412
  name: "kubernetes-clusters-create-kubernetes-cluster",
67154
67413
  description: `Create a Kubernetes Cluster
67155
67414
 
67156
- Creates a new managed Kubernetes cluster. The cluster will be provisioned using Cluster API (CAPI) on the Management Cluster.
67157
-
67158
- **Note:** This feature requires the \`managed_k8s_clusters_api\` feature flag to be enabled for your team. Maximum of 1 cluster per project.
67415
+ Creates a new managed Kubernetes cluster. Maximum of 1 cluster per project.
67159
67416
 
67160
67417
  Cluster names must follow Kubernetes naming rules: lowercase alphanumeric characters or hyphens, must start and end with an alphanumeric character, and be at most 63 characters long.
67161
67418
  `,
@@ -73418,12 +73675,12 @@ Allows you to remove persistent storage from a project.`,
73418
73675
  };
73419
73676
  });
73420
73677
 
73421
- // src/funcs/storageDeleteStorageVolumes.ts
73422
- function storageDeleteStorageVolumes(client, request, options) {
73678
+ // src/funcs/storageDeleteStorageObjects.ts
73679
+ function storageDeleteStorageObjects(client, request, options) {
73423
73680
  return new APIPromise($do81(client, request, options));
73424
73681
  }
73425
73682
  async function $do81(client, request, options) {
73426
- const parsed = safeParse4(request, (value) => DeleteStorageVolumesRequest$outboundSchema.parse(value), "Input validation failed");
73683
+ const parsed = safeParse4(request, (value) => DeleteStorageObjectsRequest$outboundSchema.parse(value), "Input validation failed");
73427
73684
  if (!parsed.ok) {
73428
73685
  return [parsed, { status: "invalid" }];
73429
73686
  }
@@ -73435,9 +73692,9 @@ async function $do81(client, request, options) {
73435
73692
  charEncoding: "percent"
73436
73693
  })
73437
73694
  };
73438
- const path = pathToFunc("/storage/volumes/{id}")(pathParams);
73695
+ const path = pathToFunc("/storage/objects/{id}")(pathParams);
73439
73696
  const headers = new Headers(compactMap({
73440
- Accept: "*/*"
73697
+ Accept: "application/vnd.api+json"
73441
73698
  }));
73442
73699
  const secConfig = await extractSecurity(client._options.bearer);
73443
73700
  const securityInput = secConfig == null ? {} : { bearer: secConfig };
@@ -73445,7 +73702,7 @@ async function $do81(client, request, options) {
73445
73702
  const context = {
73446
73703
  options: client._options,
73447
73704
  baseURL: options?.serverURL ?? client._baseURL ?? "",
73448
- operationID: "delete-storage-volumes",
73705
+ operationID: "delete-storage-objects",
73449
73706
  oAuth2Scopes: null,
73450
73707
  resolvedSecurity: requestSecurity,
73451
73708
  securitySource: client._options.bearer,
@@ -73468,7 +73725,7 @@ async function $do81(client, request, options) {
73468
73725
  const req = requestRes.value;
73469
73726
  const doResult = await client._do(req, {
73470
73727
  context,
73471
- errorCodes: ["4XX", "5XX"],
73728
+ errorCodes: ["403", "404", "4XX", "500", "5XX"],
73472
73729
  retryConfig: context.retryConfig,
73473
73730
  retryCodes: context.retryCodes
73474
73731
  });
@@ -73476,13 +73733,20 @@ async function $do81(client, request, options) {
73476
73733
  return [doResult, { status: "request-error", request: req }];
73477
73734
  }
73478
73735
  const response = doResult.value;
73479
- const [result] = await match(nil(204, voidType()), fail("4XX"), fail("5XX"))(response, req);
73736
+ const responseFields = {
73737
+ HttpMeta: { Response: response, Request: req }
73738
+ };
73739
+ const [result] = await match(nil(204, voidType()), jsonErr([403, 404], ErrorObject$inboundSchema, {
73740
+ ctype: "application/vnd.api+json"
73741
+ }), jsonErr(500, ErrorObject$inboundSchema, {
73742
+ ctype: "application/vnd.api+json"
73743
+ }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
73480
73744
  if (!result.ok) {
73481
73745
  return [result, { status: "complete", request: req, response }];
73482
73746
  }
73483
73747
  return [result, { status: "complete", request: req, response }];
73484
73748
  }
73485
- var init_storageDeleteStorageVolumes = __esm(() => {
73749
+ var init_storageDeleteStorageObjects = __esm(() => {
73486
73750
  init_v3();
73487
73751
  init_encodings();
73488
73752
  init_matchers();
@@ -73490,27 +73754,28 @@ var init_storageDeleteStorageVolumes = __esm(() => {
73490
73754
  init_schemas4();
73491
73755
  init_security();
73492
73756
  init_url();
73757
+ init_errors4();
73493
73758
  init_operations();
73494
73759
  init_async();
73495
73760
  });
73496
73761
 
73497
- // src/mcp-server/tools/storageDeleteStorageVolumes.ts
73498
- var args79, tool$storageDeleteStorageVolumes;
73499
- var init_storageDeleteStorageVolumes2 = __esm(() => {
73500
- init_storageDeleteStorageVolumes();
73762
+ // src/mcp-server/tools/storageDeleteStorageObjects.ts
73763
+ var args79, tool$storageDeleteStorageObjects;
73764
+ var init_storageDeleteStorageObjects2 = __esm(() => {
73765
+ init_storageDeleteStorageObjects();
73501
73766
  init_operations();
73502
73767
  init_tools();
73503
73768
  args79 = {
73504
- request: DeleteStorageVolumesRequest$inboundSchema
73769
+ request: DeleteStorageObjectsRequest$inboundSchema
73505
73770
  };
73506
- tool$storageDeleteStorageVolumes = {
73507
- name: "storage-delete-storage-volumes",
73508
- description: `Delete volume
73771
+ tool$storageDeleteStorageObjects = {
73772
+ name: "storage-delete-storage-objects",
73773
+ description: `Delete object storage
73509
73774
 
73510
- Allows you to remove persistent storage from a project.`,
73775
+ Allows you to remove an object storage from a project.`,
73511
73776
  args: args79,
73512
73777
  tool: async (client, args80, ctx) => {
73513
- const [result, apiCall] = await storageDeleteStorageVolumes(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73778
+ const [result, apiCall] = await storageDeleteStorageObjects(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73514
73779
  if (!result.ok) {
73515
73780
  return {
73516
73781
  content: [{ type: "text", text: result.error.message }],
@@ -73522,12 +73787,12 @@ Allows you to remove persistent storage from a project.`,
73522
73787
  };
73523
73788
  });
73524
73789
 
73525
- // src/funcs/storageGetStorageVolume.ts
73526
- function storageGetStorageVolume(client, request, options) {
73790
+ // src/funcs/storageDeleteStorageVolumes.ts
73791
+ function storageDeleteStorageVolumes(client, request, options) {
73527
73792
  return new APIPromise($do82(client, request, options));
73528
73793
  }
73529
73794
  async function $do82(client, request, options) {
73530
- const parsed = safeParse4(request, (value) => GetStorageVolumeRequest$outboundSchema.parse(value), "Input validation failed");
73795
+ const parsed = safeParse4(request, (value) => DeleteStorageVolumesRequest$outboundSchema.parse(value), "Input validation failed");
73531
73796
  if (!parsed.ok) {
73532
73797
  return [parsed, { status: "invalid" }];
73533
73798
  }
@@ -73541,7 +73806,7 @@ async function $do82(client, request, options) {
73541
73806
  };
73542
73807
  const path = pathToFunc("/storage/volumes/{id}")(pathParams);
73543
73808
  const headers = new Headers(compactMap({
73544
- Accept: "application/vnd.api+json"
73809
+ Accept: "*/*"
73545
73810
  }));
73546
73811
  const secConfig = await extractSecurity(client._options.bearer);
73547
73812
  const securityInput = secConfig == null ? {} : { bearer: secConfig };
@@ -73549,7 +73814,7 @@ async function $do82(client, request, options) {
73549
73814
  const context = {
73550
73815
  options: client._options,
73551
73816
  baseURL: options?.serverURL ?? client._baseURL ?? "",
73552
- operationID: "get-storage-volume",
73817
+ operationID: "delete-storage-volumes",
73553
73818
  oAuth2Scopes: null,
73554
73819
  resolvedSecurity: requestSecurity,
73555
73820
  securitySource: client._options.bearer,
@@ -73558,7 +73823,7 @@ async function $do82(client, request, options) {
73558
73823
  };
73559
73824
  const requestRes = client._createRequest(context, {
73560
73825
  security: requestSecurity,
73561
- method: "GET",
73826
+ method: "DELETE",
73562
73827
  baseURL: options?.serverURL,
73563
73828
  path,
73564
73829
  headers,
@@ -73580,15 +73845,14 @@ async function $do82(client, request, options) {
73580
73845
  return [doResult, { status: "request-error", request: req }];
73581
73846
  }
73582
73847
  const response = doResult.value;
73583
- const [result] = await match(json(200, GetStorageVolumeResponse$inboundSchema, {
73584
- ctype: "application/vnd.api+json"
73585
- }), fail("4XX"), fail("5XX"))(response, req);
73848
+ const [result] = await match(nil(204, voidType()), fail("4XX"), fail("5XX"))(response, req);
73586
73849
  if (!result.ok) {
73587
73850
  return [result, { status: "complete", request: req, response }];
73588
73851
  }
73589
73852
  return [result, { status: "complete", request: req, response }];
73590
73853
  }
73591
- var init_storageGetStorageVolume = __esm(() => {
73854
+ var init_storageDeleteStorageVolumes = __esm(() => {
73855
+ init_v3();
73592
73856
  init_encodings();
73593
73857
  init_matchers();
73594
73858
  init_primitives();
@@ -73599,50 +73863,52 @@ var init_storageGetStorageVolume = __esm(() => {
73599
73863
  init_async();
73600
73864
  });
73601
73865
 
73602
- // src/mcp-server/tools/storageGetStorageVolume.ts
73603
- var args80, tool$storageGetStorageVolume;
73604
- var init_storageGetStorageVolume2 = __esm(() => {
73605
- init_storageGetStorageVolume();
73866
+ // src/mcp-server/tools/storageDeleteStorageVolumes.ts
73867
+ var args80, tool$storageDeleteStorageVolumes;
73868
+ var init_storageDeleteStorageVolumes2 = __esm(() => {
73869
+ init_storageDeleteStorageVolumes();
73606
73870
  init_operations();
73607
73871
  init_tools();
73608
73872
  args80 = {
73609
- request: GetStorageVolumeRequest$inboundSchema
73873
+ request: DeleteStorageVolumesRequest$inboundSchema
73610
73874
  };
73611
- tool$storageGetStorageVolume = {
73612
- name: "storage-get-storage-volume",
73613
- description: `Retrieve volume
73875
+ tool$storageDeleteStorageVolumes = {
73876
+ name: "storage-delete-storage-volumes",
73877
+ description: `Delete volume
73614
73878
 
73615
- Shows details of a specific volume storage.`,
73879
+ Allows you to remove persistent storage from a project.`,
73616
73880
  args: args80,
73617
73881
  tool: async (client, args81, ctx) => {
73618
- const [result, apiCall] = await storageGetStorageVolume(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73882
+ const [result, apiCall] = await storageDeleteStorageVolumes(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73619
73883
  if (!result.ok) {
73620
73884
  return {
73621
73885
  content: [{ type: "text", text: result.error.message }],
73622
73886
  isError: true
73623
73887
  };
73624
73888
  }
73625
- const value = result.value;
73626
- return formatResult(value, apiCall);
73889
+ return formatResult(undefined, apiCall);
73627
73890
  }
73628
73891
  };
73629
73892
  });
73630
73893
 
73631
- // src/funcs/storageGetStorageVolumes.ts
73632
- function storageGetStorageVolumes(client, request, options) {
73894
+ // src/funcs/storageGetStorageObject.ts
73895
+ function storageGetStorageObject(client, request, options) {
73633
73896
  return new APIPromise($do83(client, request, options));
73634
73897
  }
73635
73898
  async function $do83(client, request, options) {
73636
- const parsed = safeParse4(request, (value) => GetStorageVolumesRequest$outboundSchema.optional().parse(value), "Input validation failed");
73899
+ const parsed = safeParse4(request, (value) => GetStorageObjectRequest$outboundSchema.parse(value), "Input validation failed");
73637
73900
  if (!parsed.ok) {
73638
73901
  return [parsed, { status: "invalid" }];
73639
73902
  }
73640
73903
  const payload = parsed.value;
73641
73904
  const body = null;
73642
- const path = pathToFunc("/storage/volumes")();
73643
- const query = encodeFormQuery({
73644
- "filter[project]": payload?.["filter[project]"]
73645
- });
73905
+ const pathParams = {
73906
+ id: encodeSimple("id", payload.id, {
73907
+ explode: false,
73908
+ charEncoding: "percent"
73909
+ })
73910
+ };
73911
+ const path = pathToFunc("/storage/objects/{id}")(pathParams);
73646
73912
  const headers = new Headers(compactMap({
73647
73913
  Accept: "application/vnd.api+json"
73648
73914
  }));
@@ -73652,7 +73918,7 @@ async function $do83(client, request, options) {
73652
73918
  const context = {
73653
73919
  options: client._options,
73654
73920
  baseURL: options?.serverURL ?? client._baseURL ?? "",
73655
- operationID: "get-storage-volumes",
73921
+ operationID: "get-storage-object",
73656
73922
  oAuth2Scopes: null,
73657
73923
  resolvedSecurity: requestSecurity,
73658
73924
  securitySource: client._options.bearer,
@@ -73665,7 +73931,6 @@ async function $do83(client, request, options) {
73665
73931
  baseURL: options?.serverURL,
73666
73932
  path,
73667
73933
  headers,
73668
- query,
73669
73934
  body,
73670
73935
  userAgent: client._options.userAgent,
73671
73936
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -73676,7 +73941,7 @@ async function $do83(client, request, options) {
73676
73941
  const req = requestRes.value;
73677
73942
  const doResult = await client._do(req, {
73678
73943
  context,
73679
- errorCodes: ["4XX", "5XX"],
73944
+ errorCodes: ["403", "404", "4XX", "5XX"],
73680
73945
  retryConfig: context.retryConfig,
73681
73946
  retryCodes: context.retryCodes
73682
73947
  });
@@ -73684,42 +73949,48 @@ async function $do83(client, request, options) {
73684
73949
  return [doResult, { status: "request-error", request: req }];
73685
73950
  }
73686
73951
  const response = doResult.value;
73687
- const [result] = await match(json(200, GetStorageVolumesResponse$inboundSchema, {
73952
+ const responseFields = {
73953
+ HttpMeta: { Response: response, Request: req }
73954
+ };
73955
+ const [result] = await match(json(200, GetStorageObjectResponse$inboundSchema, {
73688
73956
  ctype: "application/vnd.api+json"
73689
- }), fail("4XX"), fail("5XX"))(response, req);
73957
+ }), jsonErr([403, 404], ErrorObject$inboundSchema, {
73958
+ ctype: "application/vnd.api+json"
73959
+ }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
73690
73960
  if (!result.ok) {
73691
73961
  return [result, { status: "complete", request: req, response }];
73692
73962
  }
73693
73963
  return [result, { status: "complete", request: req, response }];
73694
73964
  }
73695
- var init_storageGetStorageVolumes = __esm(() => {
73965
+ var init_storageGetStorageObject = __esm(() => {
73696
73966
  init_encodings();
73697
73967
  init_matchers();
73698
73968
  init_primitives();
73699
73969
  init_schemas4();
73700
73970
  init_security();
73701
73971
  init_url();
73972
+ init_errors4();
73702
73973
  init_operations();
73703
73974
  init_async();
73704
73975
  });
73705
73976
 
73706
- // src/mcp-server/tools/storageGetStorageVolumes.ts
73707
- var args81, tool$storageGetStorageVolumes;
73708
- var init_storageGetStorageVolumes2 = __esm(() => {
73709
- init_storageGetStorageVolumes();
73977
+ // src/mcp-server/tools/storageGetStorageObject.ts
73978
+ var args81, tool$storageGetStorageObject;
73979
+ var init_storageGetStorageObject2 = __esm(() => {
73980
+ init_storageGetStorageObject();
73710
73981
  init_operations();
73711
73982
  init_tools();
73712
73983
  args81 = {
73713
- request: GetStorageVolumesRequest$inboundSchema.optional()
73984
+ request: GetStorageObjectRequest$inboundSchema
73714
73985
  };
73715
- tool$storageGetStorageVolumes = {
73716
- name: "storage-get-storage-volumes",
73717
- description: `List volumes
73986
+ tool$storageGetStorageObject = {
73987
+ name: "storage-get-storage-object",
73988
+ description: `Retrieve object storage
73718
73989
 
73719
- Lists all the volumes from a team.`,
73990
+ Shows details of a specific object storage.`,
73720
73991
  args: args81,
73721
73992
  tool: async (client, args82, ctx) => {
73722
- const [result, apiCall] = await storageGetStorageVolumes(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73993
+ const [result, apiCall] = await storageGetStorageObject(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73723
73994
  if (!result.ok) {
73724
73995
  return {
73725
73996
  content: [{ type: "text", text: result.error.message }],
@@ -73732,23 +74003,23 @@ Lists all the volumes from a team.`,
73732
74003
  };
73733
74004
  });
73734
74005
 
73735
- // src/funcs/storageListFilesystems.ts
73736
- function storageListFilesystems(client, request, options) {
74006
+ // src/funcs/storageGetStorageObjects.ts
74007
+ function storageGetStorageObjects(client, request, options) {
73737
74008
  return new APIPromise($do84(client, request, options));
73738
74009
  }
73739
74010
  async function $do84(client, request, options) {
73740
- const parsed = safeParse4(request, (value) => GetStorageFilesystemsRequest$outboundSchema.optional().parse(value), "Input validation failed");
74011
+ const parsed = safeParse4(request, (value) => GetStorageObjectsRequest$outboundSchema.optional().parse(value), "Input validation failed");
73741
74012
  if (!parsed.ok) {
73742
74013
  return [parsed, { status: "invalid" }];
73743
74014
  }
73744
74015
  const payload = parsed.value;
73745
74016
  const body = null;
73746
- const path = pathToFunc("/storage/filesystems")();
74017
+ const path = pathToFunc("/storage/objects")();
73747
74018
  const query = encodeFormQuery({
73748
74019
  "filter[project]": payload?.["filter[project]"]
73749
74020
  });
73750
74021
  const headers = new Headers(compactMap({
73751
- Accept: "*/*"
74022
+ Accept: "application/vnd.api+json"
73752
74023
  }));
73753
74024
  const secConfig = await extractSecurity(client._options.bearer);
73754
74025
  const securityInput = secConfig == null ? {} : { bearer: secConfig };
@@ -73756,7 +74027,7 @@ async function $do84(client, request, options) {
73756
74027
  const context = {
73757
74028
  options: client._options,
73758
74029
  baseURL: options?.serverURL ?? client._baseURL ?? "",
73759
- operationID: "get-storage-filesystems",
74030
+ operationID: "get-storage-objects",
73760
74031
  oAuth2Scopes: null,
73761
74032
  resolvedSecurity: requestSecurity,
73762
74033
  securitySource: client._options.bearer,
@@ -73780,7 +74051,7 @@ async function $do84(client, request, options) {
73780
74051
  const req = requestRes.value;
73781
74052
  const doResult = await client._do(req, {
73782
74053
  context,
73783
- errorCodes: ["4XX", "5XX"],
74054
+ errorCodes: ["403", "4XX", "5XX"],
73784
74055
  retryConfig: context.retryConfig,
73785
74056
  retryCodes: context.retryCodes
73786
74057
  });
@@ -73788,66 +74059,80 @@ async function $do84(client, request, options) {
73788
74059
  return [doResult, { status: "request-error", request: req }];
73789
74060
  }
73790
74061
  const response = doResult.value;
73791
- const [result] = await match(nil(200, voidType()), fail("4XX"), fail("5XX"))(response, req);
74062
+ const responseFields = {
74063
+ HttpMeta: { Response: response, Request: req }
74064
+ };
74065
+ const [result] = await match(json(200, ObjectStorages$inboundSchema, {
74066
+ ctype: "application/vnd.api+json"
74067
+ }), jsonErr(403, ErrorObject$inboundSchema, {
74068
+ ctype: "application/vnd.api+json"
74069
+ }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
73792
74070
  if (!result.ok) {
73793
74071
  return [result, { status: "complete", request: req, response }];
73794
74072
  }
73795
74073
  return [result, { status: "complete", request: req, response }];
73796
74074
  }
73797
- var init_storageListFilesystems = __esm(() => {
73798
- init_v3();
74075
+ var init_storageGetStorageObjects = __esm(() => {
73799
74076
  init_encodings();
73800
74077
  init_matchers();
73801
74078
  init_primitives();
73802
74079
  init_schemas4();
73803
74080
  init_security();
73804
74081
  init_url();
74082
+ init_errors4();
74083
+ init_models();
73805
74084
  init_operations();
73806
74085
  init_async();
73807
74086
  });
73808
74087
 
73809
- // src/mcp-server/tools/storageListFilesystems.ts
73810
- var args82, tool$storageListFilesystems;
73811
- var init_storageListFilesystems2 = __esm(() => {
73812
- init_storageListFilesystems();
74088
+ // src/mcp-server/tools/storageGetStorageObjects.ts
74089
+ var args82, tool$storageGetStorageObjects;
74090
+ var init_storageGetStorageObjects2 = __esm(() => {
74091
+ init_storageGetStorageObjects();
73813
74092
  init_operations();
73814
74093
  init_tools();
73815
74094
  args82 = {
73816
- request: GetStorageFilesystemsRequest$inboundSchema.optional()
74095
+ request: GetStorageObjectsRequest$inboundSchema.optional()
73817
74096
  };
73818
- tool$storageListFilesystems = {
73819
- name: "storage-list-filesystems",
73820
- description: `List filesystems
74097
+ tool$storageGetStorageObjects = {
74098
+ name: "storage-get-storage-objects",
74099
+ description: `List object storages
73821
74100
 
73822
- Lists all the filesystems from a team.`,
74101
+ Lists all object storages from a team.`,
73823
74102
  args: args82,
73824
74103
  tool: async (client, args83, ctx) => {
73825
- const [result, apiCall] = await storageListFilesystems(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74104
+ const [result, apiCall] = await storageGetStorageObjects(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73826
74105
  if (!result.ok) {
73827
74106
  return {
73828
74107
  content: [{ type: "text", text: result.error.message }],
73829
74108
  isError: true
73830
74109
  };
73831
74110
  }
73832
- return formatResult(undefined, apiCall);
74111
+ const value = result.value;
74112
+ return formatResult(value, apiCall);
73833
74113
  }
73834
74114
  };
73835
74115
  });
73836
74116
 
73837
- // src/funcs/storagePostStorageVolumes.ts
73838
- function storagePostStorageVolumes(client, request, options) {
74117
+ // src/funcs/storageGetStorageVolume.ts
74118
+ function storageGetStorageVolume(client, request, options) {
73839
74119
  return new APIPromise($do85(client, request, options));
73840
74120
  }
73841
74121
  async function $do85(client, request, options) {
73842
- const parsed = safeParse4(request, (value) => PostStorageVolumesRequest$outboundSchema.parse(value), "Input validation failed");
74122
+ const parsed = safeParse4(request, (value) => GetStorageVolumeRequest$outboundSchema.parse(value), "Input validation failed");
73843
74123
  if (!parsed.ok) {
73844
74124
  return [parsed, { status: "invalid" }];
73845
74125
  }
73846
74126
  const payload = parsed.value;
73847
- const body = encodeJSON("body", payload, { explode: true });
73848
- const path = pathToFunc("/storage/volumes")();
74127
+ const body = null;
74128
+ const pathParams = {
74129
+ id: encodeSimple("id", payload.id, {
74130
+ explode: false,
74131
+ charEncoding: "percent"
74132
+ })
74133
+ };
74134
+ const path = pathToFunc("/storage/volumes/{id}")(pathParams);
73849
74135
  const headers = new Headers(compactMap({
73850
- "Content-Type": "application/json",
73851
74136
  Accept: "application/vnd.api+json"
73852
74137
  }));
73853
74138
  const secConfig = await extractSecurity(client._options.bearer);
@@ -73856,7 +74141,7 @@ async function $do85(client, request, options) {
73856
74141
  const context = {
73857
74142
  options: client._options,
73858
74143
  baseURL: options?.serverURL ?? client._baseURL ?? "",
73859
- operationID: "post-storage-volumes",
74144
+ operationID: "get-storage-volume",
73860
74145
  oAuth2Scopes: null,
73861
74146
  resolvedSecurity: requestSecurity,
73862
74147
  securitySource: client._options.bearer,
@@ -73865,7 +74150,7 @@ async function $do85(client, request, options) {
73865
74150
  };
73866
74151
  const requestRes = client._createRequest(context, {
73867
74152
  security: requestSecurity,
73868
- method: "POST",
74153
+ method: "GET",
73869
74154
  baseURL: options?.serverURL,
73870
74155
  path,
73871
74156
  headers,
@@ -73879,7 +74164,7 @@ async function $do85(client, request, options) {
73879
74164
  const req = requestRes.value;
73880
74165
  const doResult = await client._do(req, {
73881
74166
  context,
73882
- errorCodes: ["4XX", "503", "5XX"],
74167
+ errorCodes: ["4XX", "5XX"],
73883
74168
  retryConfig: context.retryConfig,
73884
74169
  retryCodes: context.retryCodes
73885
74170
  });
@@ -73887,48 +74172,42 @@ async function $do85(client, request, options) {
73887
74172
  return [doResult, { status: "request-error", request: req }];
73888
74173
  }
73889
74174
  const response = doResult.value;
73890
- const responseFields = {
73891
- HttpMeta: { Response: response, Request: req }
73892
- };
73893
- const [result] = await match(json(201, PostStorageVolumesResponse$inboundSchema, {
73894
- ctype: "application/vnd.api+json"
73895
- }), jsonErr(503, ErrorObject$inboundSchema, {
74175
+ const [result] = await match(json(200, GetStorageVolumeResponse$inboundSchema, {
73896
74176
  ctype: "application/vnd.api+json"
73897
- }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
74177
+ }), fail("4XX"), fail("5XX"))(response, req);
73898
74178
  if (!result.ok) {
73899
74179
  return [result, { status: "complete", request: req, response }];
73900
74180
  }
73901
74181
  return [result, { status: "complete", request: req, response }];
73902
74182
  }
73903
- var init_storagePostStorageVolumes = __esm(() => {
74183
+ var init_storageGetStorageVolume = __esm(() => {
73904
74184
  init_encodings();
73905
74185
  init_matchers();
73906
74186
  init_primitives();
73907
74187
  init_schemas4();
73908
74188
  init_security();
73909
74189
  init_url();
73910
- init_errors4();
73911
74190
  init_operations();
73912
74191
  init_async();
73913
74192
  });
73914
74193
 
73915
- // src/mcp-server/tools/storagePostStorageVolumes.ts
73916
- var args83, tool$storagePostStorageVolumes;
73917
- var init_storagePostStorageVolumes2 = __esm(() => {
73918
- init_storagePostStorageVolumes();
74194
+ // src/mcp-server/tools/storageGetStorageVolume.ts
74195
+ var args83, tool$storageGetStorageVolume;
74196
+ var init_storageGetStorageVolume2 = __esm(() => {
74197
+ init_storageGetStorageVolume();
73919
74198
  init_operations();
73920
74199
  init_tools();
73921
74200
  args83 = {
73922
- request: PostStorageVolumesRequest$inboundSchema
74201
+ request: GetStorageVolumeRequest$inboundSchema
73923
74202
  };
73924
- tool$storagePostStorageVolumes = {
73925
- name: "storage-post-storage-volumes",
73926
- description: `Create volume
74203
+ tool$storageGetStorageVolume = {
74204
+ name: "storage-get-storage-volume",
74205
+ description: `Retrieve volume
73927
74206
 
73928
- Allows you to add persistent storage to a project. These volumes can be used to store data across your servers.`,
74207
+ Shows details of a specific volume storage.`,
73929
74208
  args: args83,
73930
74209
  tool: async (client, args84, ctx) => {
73931
- const [result, apiCall] = await storagePostStorageVolumes(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74210
+ const [result, apiCall] = await storageGetStorageVolume(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73932
74211
  if (!result.ok) {
73933
74212
  return {
73934
74213
  content: [{ type: "text", text: result.error.message }],
@@ -73941,26 +74220,448 @@ Allows you to add persistent storage to a project. These volumes can be used to
73941
74220
  };
73942
74221
  });
73943
74222
 
73944
- // src/funcs/storagePostStorageVolumesMount.ts
73945
- function storagePostStorageVolumesMount(client, request, options) {
74223
+ // src/funcs/storageGetStorageVolumes.ts
74224
+ function storageGetStorageVolumes(client, request, options) {
73946
74225
  return new APIPromise($do86(client, request, options));
73947
74226
  }
73948
74227
  async function $do86(client, request, options) {
73949
- const parsed = safeParse4(request, (value) => PostStorageVolumesMountRequest$outboundSchema.parse(value), "Input validation failed");
74228
+ const parsed = safeParse4(request, (value) => GetStorageVolumesRequest$outboundSchema.optional().parse(value), "Input validation failed");
73950
74229
  if (!parsed.ok) {
73951
74230
  return [parsed, { status: "invalid" }];
73952
74231
  }
73953
74232
  const payload = parsed.value;
73954
- const body = encodeJSON("body", payload.RequestBody, { explode: true });
73955
- const pathParams = {
73956
- id: encodeSimple("id", payload.id, {
73957
- explode: false,
73958
- charEncoding: "percent"
73959
- })
73960
- };
73961
- const path = pathToFunc("/storage/volumes/{id}/mount")(pathParams);
73962
- const headers = new Headers(compactMap({
73963
- "Content-Type": "application/json",
74233
+ const body = null;
74234
+ const path = pathToFunc("/storage/volumes")();
74235
+ const query = encodeFormQuery({
74236
+ "filter[project]": payload?.["filter[project]"]
74237
+ });
74238
+ const headers = new Headers(compactMap({
74239
+ Accept: "application/vnd.api+json"
74240
+ }));
74241
+ const secConfig = await extractSecurity(client._options.bearer);
74242
+ const securityInput = secConfig == null ? {} : { bearer: secConfig };
74243
+ const requestSecurity = resolveGlobalSecurity(securityInput);
74244
+ const context = {
74245
+ options: client._options,
74246
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
74247
+ operationID: "get-storage-volumes",
74248
+ oAuth2Scopes: null,
74249
+ resolvedSecurity: requestSecurity,
74250
+ securitySource: client._options.bearer,
74251
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
74252
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
74253
+ };
74254
+ const requestRes = client._createRequest(context, {
74255
+ security: requestSecurity,
74256
+ method: "GET",
74257
+ baseURL: options?.serverURL,
74258
+ path,
74259
+ headers,
74260
+ query,
74261
+ body,
74262
+ userAgent: client._options.userAgent,
74263
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
74264
+ }, options);
74265
+ if (!requestRes.ok) {
74266
+ return [requestRes, { status: "invalid" }];
74267
+ }
74268
+ const req = requestRes.value;
74269
+ const doResult = await client._do(req, {
74270
+ context,
74271
+ errorCodes: ["4XX", "5XX"],
74272
+ retryConfig: context.retryConfig,
74273
+ retryCodes: context.retryCodes
74274
+ });
74275
+ if (!doResult.ok) {
74276
+ return [doResult, { status: "request-error", request: req }];
74277
+ }
74278
+ const response = doResult.value;
74279
+ const [result] = await match(json(200, GetStorageVolumesResponse$inboundSchema, {
74280
+ ctype: "application/vnd.api+json"
74281
+ }), fail("4XX"), fail("5XX"))(response, req);
74282
+ if (!result.ok) {
74283
+ return [result, { status: "complete", request: req, response }];
74284
+ }
74285
+ return [result, { status: "complete", request: req, response }];
74286
+ }
74287
+ var init_storageGetStorageVolumes = __esm(() => {
74288
+ init_encodings();
74289
+ init_matchers();
74290
+ init_primitives();
74291
+ init_schemas4();
74292
+ init_security();
74293
+ init_url();
74294
+ init_operations();
74295
+ init_async();
74296
+ });
74297
+
74298
+ // src/mcp-server/tools/storageGetStorageVolumes.ts
74299
+ var args84, tool$storageGetStorageVolumes;
74300
+ var init_storageGetStorageVolumes2 = __esm(() => {
74301
+ init_storageGetStorageVolumes();
74302
+ init_operations();
74303
+ init_tools();
74304
+ args84 = {
74305
+ request: GetStorageVolumesRequest$inboundSchema.optional()
74306
+ };
74307
+ tool$storageGetStorageVolumes = {
74308
+ name: "storage-get-storage-volumes",
74309
+ description: `List volumes
74310
+
74311
+ Lists all the volumes from a team.`,
74312
+ args: args84,
74313
+ tool: async (client, args85, ctx) => {
74314
+ const [result, apiCall] = await storageGetStorageVolumes(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74315
+ if (!result.ok) {
74316
+ return {
74317
+ content: [{ type: "text", text: result.error.message }],
74318
+ isError: true
74319
+ };
74320
+ }
74321
+ const value = result.value;
74322
+ return formatResult(value, apiCall);
74323
+ }
74324
+ };
74325
+ });
74326
+
74327
+ // src/funcs/storageListFilesystems.ts
74328
+ function storageListFilesystems(client, request, options) {
74329
+ return new APIPromise($do87(client, request, options));
74330
+ }
74331
+ async function $do87(client, request, options) {
74332
+ const parsed = safeParse4(request, (value) => GetStorageFilesystemsRequest$outboundSchema.optional().parse(value), "Input validation failed");
74333
+ if (!parsed.ok) {
74334
+ return [parsed, { status: "invalid" }];
74335
+ }
74336
+ const payload = parsed.value;
74337
+ const body = null;
74338
+ const path = pathToFunc("/storage/filesystems")();
74339
+ const query = encodeFormQuery({
74340
+ "filter[project]": payload?.["filter[project]"]
74341
+ });
74342
+ const headers = new Headers(compactMap({
74343
+ Accept: "*/*"
74344
+ }));
74345
+ const secConfig = await extractSecurity(client._options.bearer);
74346
+ const securityInput = secConfig == null ? {} : { bearer: secConfig };
74347
+ const requestSecurity = resolveGlobalSecurity(securityInput);
74348
+ const context = {
74349
+ options: client._options,
74350
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
74351
+ operationID: "get-storage-filesystems",
74352
+ oAuth2Scopes: null,
74353
+ resolvedSecurity: requestSecurity,
74354
+ securitySource: client._options.bearer,
74355
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
74356
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
74357
+ };
74358
+ const requestRes = client._createRequest(context, {
74359
+ security: requestSecurity,
74360
+ method: "GET",
74361
+ baseURL: options?.serverURL,
74362
+ path,
74363
+ headers,
74364
+ query,
74365
+ body,
74366
+ userAgent: client._options.userAgent,
74367
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
74368
+ }, options);
74369
+ if (!requestRes.ok) {
74370
+ return [requestRes, { status: "invalid" }];
74371
+ }
74372
+ const req = requestRes.value;
74373
+ const doResult = await client._do(req, {
74374
+ context,
74375
+ errorCodes: ["4XX", "5XX"],
74376
+ retryConfig: context.retryConfig,
74377
+ retryCodes: context.retryCodes
74378
+ });
74379
+ if (!doResult.ok) {
74380
+ return [doResult, { status: "request-error", request: req }];
74381
+ }
74382
+ const response = doResult.value;
74383
+ const [result] = await match(nil(200, voidType()), fail("4XX"), fail("5XX"))(response, req);
74384
+ if (!result.ok) {
74385
+ return [result, { status: "complete", request: req, response }];
74386
+ }
74387
+ return [result, { status: "complete", request: req, response }];
74388
+ }
74389
+ var init_storageListFilesystems = __esm(() => {
74390
+ init_v3();
74391
+ init_encodings();
74392
+ init_matchers();
74393
+ init_primitives();
74394
+ init_schemas4();
74395
+ init_security();
74396
+ init_url();
74397
+ init_operations();
74398
+ init_async();
74399
+ });
74400
+
74401
+ // src/mcp-server/tools/storageListFilesystems.ts
74402
+ var args85, tool$storageListFilesystems;
74403
+ var init_storageListFilesystems2 = __esm(() => {
74404
+ init_storageListFilesystems();
74405
+ init_operations();
74406
+ init_tools();
74407
+ args85 = {
74408
+ request: GetStorageFilesystemsRequest$inboundSchema.optional()
74409
+ };
74410
+ tool$storageListFilesystems = {
74411
+ name: "storage-list-filesystems",
74412
+ description: `List filesystems
74413
+
74414
+ Lists all the filesystems from a team.`,
74415
+ args: args85,
74416
+ tool: async (client, args86, ctx) => {
74417
+ const [result, apiCall] = await storageListFilesystems(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74418
+ if (!result.ok) {
74419
+ return {
74420
+ content: [{ type: "text", text: result.error.message }],
74421
+ isError: true
74422
+ };
74423
+ }
74424
+ return formatResult(undefined, apiCall);
74425
+ }
74426
+ };
74427
+ });
74428
+
74429
+ // src/funcs/storagePostStorageObjects.ts
74430
+ function storagePostStorageObjects(client, request, options) {
74431
+ return new APIPromise($do88(client, request, options));
74432
+ }
74433
+ async function $do88(client, request, options) {
74434
+ const parsed = safeParse4(request, (value) => PostStorageObjectsRequest$outboundSchema.parse(value), "Input validation failed");
74435
+ if (!parsed.ok) {
74436
+ return [parsed, { status: "invalid" }];
74437
+ }
74438
+ const payload = parsed.value;
74439
+ const body = encodeJSON("body", payload, { explode: true });
74440
+ const path = pathToFunc("/storage/objects")();
74441
+ const headers = new Headers(compactMap({
74442
+ "Content-Type": "application/vnd.api+json",
74443
+ Accept: "application/vnd.api+json"
74444
+ }));
74445
+ const secConfig = await extractSecurity(client._options.bearer);
74446
+ const securityInput = secConfig == null ? {} : { bearer: secConfig };
74447
+ const requestSecurity = resolveGlobalSecurity(securityInput);
74448
+ const context = {
74449
+ options: client._options,
74450
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
74451
+ operationID: "post-storage-objects",
74452
+ oAuth2Scopes: null,
74453
+ resolvedSecurity: requestSecurity,
74454
+ securitySource: client._options.bearer,
74455
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
74456
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
74457
+ };
74458
+ const requestRes = client._createRequest(context, {
74459
+ security: requestSecurity,
74460
+ method: "POST",
74461
+ baseURL: options?.serverURL,
74462
+ path,
74463
+ headers,
74464
+ body,
74465
+ userAgent: client._options.userAgent,
74466
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
74467
+ }, options);
74468
+ if (!requestRes.ok) {
74469
+ return [requestRes, { status: "invalid" }];
74470
+ }
74471
+ const req = requestRes.value;
74472
+ const doResult = await client._do(req, {
74473
+ context,
74474
+ errorCodes: ["403", "404", "409", "422", "4XX", "500", "5XX"],
74475
+ retryConfig: context.retryConfig,
74476
+ retryCodes: context.retryCodes
74477
+ });
74478
+ if (!doResult.ok) {
74479
+ return [doResult, { status: "request-error", request: req }];
74480
+ }
74481
+ const response = doResult.value;
74482
+ const responseFields = {
74483
+ HttpMeta: { Response: response, Request: req }
74484
+ };
74485
+ const [result] = await match(json(201, PostStorageObjectsResponse$inboundSchema, {
74486
+ ctype: "application/vnd.api+json"
74487
+ }), jsonErr([403, 404, 409, 422], ErrorObject$inboundSchema, {
74488
+ ctype: "application/vnd.api+json"
74489
+ }), jsonErr(500, ErrorObject$inboundSchema, {
74490
+ ctype: "application/vnd.api+json"
74491
+ }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
74492
+ if (!result.ok) {
74493
+ return [result, { status: "complete", request: req, response }];
74494
+ }
74495
+ return [result, { status: "complete", request: req, response }];
74496
+ }
74497
+ var init_storagePostStorageObjects = __esm(() => {
74498
+ init_encodings();
74499
+ init_matchers();
74500
+ init_primitives();
74501
+ init_schemas4();
74502
+ init_security();
74503
+ init_url();
74504
+ init_errors4();
74505
+ init_operations();
74506
+ init_async();
74507
+ });
74508
+
74509
+ // src/mcp-server/tools/storagePostStorageObjects.ts
74510
+ var args86, tool$storagePostStorageObjects;
74511
+ var init_storagePostStorageObjects2 = __esm(() => {
74512
+ init_storagePostStorageObjects();
74513
+ init_operations();
74514
+ init_tools();
74515
+ args86 = {
74516
+ request: PostStorageObjectsRequest$inboundSchema
74517
+ };
74518
+ tool$storagePostStorageObjects = {
74519
+ name: "storage-post-storage-objects",
74520
+ description: `Create object storage
74521
+
74522
+ Creates a new object storage bucket for a project.`,
74523
+ args: args86,
74524
+ tool: async (client, args87, ctx) => {
74525
+ const [result, apiCall] = await storagePostStorageObjects(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74526
+ if (!result.ok) {
74527
+ return {
74528
+ content: [{ type: "text", text: result.error.message }],
74529
+ isError: true
74530
+ };
74531
+ }
74532
+ const value = result.value;
74533
+ return formatResult(value, apiCall);
74534
+ }
74535
+ };
74536
+ });
74537
+
74538
+ // src/funcs/storagePostStorageVolumes.ts
74539
+ function storagePostStorageVolumes(client, request, options) {
74540
+ return new APIPromise($do89(client, request, options));
74541
+ }
74542
+ async function $do89(client, request, options) {
74543
+ const parsed = safeParse4(request, (value) => PostStorageVolumesRequest$outboundSchema.parse(value), "Input validation failed");
74544
+ if (!parsed.ok) {
74545
+ return [parsed, { status: "invalid" }];
74546
+ }
74547
+ const payload = parsed.value;
74548
+ const body = encodeJSON("body", payload, { explode: true });
74549
+ const path = pathToFunc("/storage/volumes")();
74550
+ const headers = new Headers(compactMap({
74551
+ "Content-Type": "application/json",
74552
+ Accept: "application/vnd.api+json"
74553
+ }));
74554
+ const secConfig = await extractSecurity(client._options.bearer);
74555
+ const securityInput = secConfig == null ? {} : { bearer: secConfig };
74556
+ const requestSecurity = resolveGlobalSecurity(securityInput);
74557
+ const context = {
74558
+ options: client._options,
74559
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
74560
+ operationID: "post-storage-volumes",
74561
+ oAuth2Scopes: null,
74562
+ resolvedSecurity: requestSecurity,
74563
+ securitySource: client._options.bearer,
74564
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
74565
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
74566
+ };
74567
+ const requestRes = client._createRequest(context, {
74568
+ security: requestSecurity,
74569
+ method: "POST",
74570
+ baseURL: options?.serverURL,
74571
+ path,
74572
+ headers,
74573
+ body,
74574
+ userAgent: client._options.userAgent,
74575
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
74576
+ }, options);
74577
+ if (!requestRes.ok) {
74578
+ return [requestRes, { status: "invalid" }];
74579
+ }
74580
+ const req = requestRes.value;
74581
+ const doResult = await client._do(req, {
74582
+ context,
74583
+ errorCodes: ["4XX", "503", "5XX"],
74584
+ retryConfig: context.retryConfig,
74585
+ retryCodes: context.retryCodes
74586
+ });
74587
+ if (!doResult.ok) {
74588
+ return [doResult, { status: "request-error", request: req }];
74589
+ }
74590
+ const response = doResult.value;
74591
+ const responseFields = {
74592
+ HttpMeta: { Response: response, Request: req }
74593
+ };
74594
+ const [result] = await match(json(201, PostStorageVolumesResponse$inboundSchema, {
74595
+ ctype: "application/vnd.api+json"
74596
+ }), jsonErr(503, ErrorObject$inboundSchema, {
74597
+ ctype: "application/vnd.api+json"
74598
+ }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
74599
+ if (!result.ok) {
74600
+ return [result, { status: "complete", request: req, response }];
74601
+ }
74602
+ return [result, { status: "complete", request: req, response }];
74603
+ }
74604
+ var init_storagePostStorageVolumes = __esm(() => {
74605
+ init_encodings();
74606
+ init_matchers();
74607
+ init_primitives();
74608
+ init_schemas4();
74609
+ init_security();
74610
+ init_url();
74611
+ init_errors4();
74612
+ init_operations();
74613
+ init_async();
74614
+ });
74615
+
74616
+ // src/mcp-server/tools/storagePostStorageVolumes.ts
74617
+ var args87, tool$storagePostStorageVolumes;
74618
+ var init_storagePostStorageVolumes2 = __esm(() => {
74619
+ init_storagePostStorageVolumes();
74620
+ init_operations();
74621
+ init_tools();
74622
+ args87 = {
74623
+ request: PostStorageVolumesRequest$inboundSchema
74624
+ };
74625
+ tool$storagePostStorageVolumes = {
74626
+ name: "storage-post-storage-volumes",
74627
+ description: `Create volume
74628
+
74629
+ Allows you to add persistent storage to a project. These volumes can be used to store data across your servers.`,
74630
+ args: args87,
74631
+ tool: async (client, args88, ctx) => {
74632
+ const [result, apiCall] = await storagePostStorageVolumes(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74633
+ if (!result.ok) {
74634
+ return {
74635
+ content: [{ type: "text", text: result.error.message }],
74636
+ isError: true
74637
+ };
74638
+ }
74639
+ const value = result.value;
74640
+ return formatResult(value, apiCall);
74641
+ }
74642
+ };
74643
+ });
74644
+
74645
+ // src/funcs/storagePostStorageVolumesMount.ts
74646
+ function storagePostStorageVolumesMount(client, request, options) {
74647
+ return new APIPromise($do90(client, request, options));
74648
+ }
74649
+ async function $do90(client, request, options) {
74650
+ const parsed = safeParse4(request, (value) => PostStorageVolumesMountRequest$outboundSchema.parse(value), "Input validation failed");
74651
+ if (!parsed.ok) {
74652
+ return [parsed, { status: "invalid" }];
74653
+ }
74654
+ const payload = parsed.value;
74655
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
74656
+ const pathParams = {
74657
+ id: encodeSimple("id", payload.id, {
74658
+ explode: false,
74659
+ charEncoding: "percent"
74660
+ })
74661
+ };
74662
+ const path = pathToFunc("/storage/volumes/{id}/mount")(pathParams);
74663
+ const headers = new Headers(compactMap({
74664
+ "Content-Type": "application/json",
73964
74665
  Accept: "*/*"
73965
74666
  }));
73966
74667
  const secConfig = await extractSecurity(client._options.bearer);
@@ -74019,12 +74720,12 @@ var init_storagePostStorageVolumesMount = __esm(() => {
74019
74720
  });
74020
74721
 
74021
74722
  // src/mcp-server/tools/storagePostStorageVolumesMount.ts
74022
- var args84, tool$storagePostStorageVolumesMount;
74723
+ var args88, tool$storagePostStorageVolumesMount;
74023
74724
  var init_storagePostStorageVolumesMount2 = __esm(() => {
74024
74725
  init_storagePostStorageVolumesMount();
74025
74726
  init_operations();
74026
74727
  init_tools();
74027
- args84 = {
74728
+ args88 = {
74028
74729
  request: PostStorageVolumesMountRequest$inboundSchema
74029
74730
  };
74030
74731
  tool$storagePostStorageVolumesMount = {
@@ -74032,9 +74733,9 @@ var init_storagePostStorageVolumesMount2 = __esm(() => {
74032
74733
  description: `Mount volume
74033
74734
 
74034
74735
  Mounts volume storage by adding the client to an allowed list`,
74035
- args: args84,
74036
- tool: async (client, args85, ctx) => {
74037
- const [result, apiCall] = await storagePostStorageVolumesMount(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74736
+ args: args88,
74737
+ tool: async (client, args89, ctx) => {
74738
+ const [result, apiCall] = await storagePostStorageVolumesMount(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74038
74739
  if (!result.ok) {
74039
74740
  return {
74040
74741
  content: [{ type: "text", text: result.error.message }],
@@ -74048,9 +74749,9 @@ Mounts volume storage by adding the client to an allowed list`,
74048
74749
 
74049
74750
  // src/funcs/storageUpdateFilesystem.ts
74050
74751
  function storageUpdateFilesystem(client, request, options) {
74051
- return new APIPromise($do87(client, request, options));
74752
+ return new APIPromise($do91(client, request, options));
74052
74753
  }
74053
- async function $do87(client, request, options) {
74754
+ async function $do91(client, request, options) {
74054
74755
  const parsed = safeParse4(request, (value) => PatchStorageFilesystemsRequest$outboundSchema.parse(value), "Input validation failed");
74055
74756
  if (!parsed.ok) {
74056
74757
  return [parsed, { status: "invalid" }];
@@ -74125,12 +74826,12 @@ var init_storageUpdateFilesystem = __esm(() => {
74125
74826
  });
74126
74827
 
74127
74828
  // src/mcp-server/tools/storageUpdateFilesystem.ts
74128
- var args85, tool$storageUpdateFilesystem;
74829
+ var args89, tool$storageUpdateFilesystem;
74129
74830
  var init_storageUpdateFilesystem2 = __esm(() => {
74130
74831
  init_storageUpdateFilesystem();
74131
74832
  init_operations();
74132
74833
  init_tools();
74133
- args85 = {
74834
+ args89 = {
74134
74835
  request: PatchStorageFilesystemsRequest$inboundSchema
74135
74836
  };
74136
74837
  tool$storageUpdateFilesystem = {
@@ -74138,9 +74839,9 @@ var init_storageUpdateFilesystem2 = __esm(() => {
74138
74839
  description: `Update filesystem
74139
74840
 
74140
74841
  Allow you to upgrade the size of a filesystem.`,
74141
- args: args85,
74142
- tool: async (client, args86, ctx) => {
74143
- const [result, apiCall] = await storageUpdateFilesystem(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74842
+ args: args89,
74843
+ tool: async (client, args90, ctx) => {
74844
+ const [result, apiCall] = await storageUpdateFilesystem(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74144
74845
  if (!result.ok) {
74145
74846
  return {
74146
74847
  content: [{ type: "text", text: result.error.message }],
@@ -74155,9 +74856,9 @@ Allow you to upgrade the size of a filesystem.`,
74155
74856
 
74156
74857
  // src/funcs/tagsCreate.ts
74157
74858
  function tagsCreate(client, request, options) {
74158
- return new APIPromise($do88(client, request, options));
74859
+ return new APIPromise($do92(client, request, options));
74159
74860
  }
74160
- async function $do88(client, request, options) {
74861
+ async function $do92(client, request, options) {
74161
74862
  const parsed = safeParse4(request, (value) => CreateTagRequest$outboundSchema.parse(value), "Input validation failed");
74162
74863
  if (!parsed.ok) {
74163
74864
  return [parsed, { status: "invalid" }];
@@ -74198,7 +74899,7 @@ async function $do88(client, request, options) {
74198
74899
  const req = requestRes.value;
74199
74900
  const doResult = await client._do(req, {
74200
74901
  context,
74201
- errorCodes: ["4XX", "5XX"],
74902
+ errorCodes: ["422", "4XX", "5XX"],
74202
74903
  retryConfig: context.retryConfig,
74203
74904
  retryCodes: context.retryCodes
74204
74905
  });
@@ -74206,9 +74907,14 @@ async function $do88(client, request, options) {
74206
74907
  return [doResult, { status: "request-error", request: req }];
74207
74908
  }
74208
74909
  const response = doResult.value;
74910
+ const responseFields = {
74911
+ HttpMeta: { Response: response, Request: req }
74912
+ };
74209
74913
  const [result] = await match(json(201, CustomTag$inboundSchema, {
74210
74914
  ctype: "application/vnd.api+json"
74211
- }), fail("4XX"), fail("5XX"))(response, req);
74915
+ }), jsonErr(422, ErrorObject$inboundSchema, {
74916
+ ctype: "application/vnd.api+json"
74917
+ }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
74212
74918
  if (!result.ok) {
74213
74919
  return [result, { status: "complete", request: req, response }];
74214
74920
  }
@@ -74221,18 +74927,19 @@ var init_tagsCreate = __esm(() => {
74221
74927
  init_schemas4();
74222
74928
  init_security();
74223
74929
  init_url();
74930
+ init_errors4();
74224
74931
  init_models();
74225
74932
  init_operations();
74226
74933
  init_async();
74227
74934
  });
74228
74935
 
74229
74936
  // src/mcp-server/tools/tagsCreate.ts
74230
- var args86, tool$tagsCreate;
74937
+ var args90, tool$tagsCreate;
74231
74938
  var init_tagsCreate2 = __esm(() => {
74232
74939
  init_tagsCreate();
74233
74940
  init_operations();
74234
74941
  init_tools();
74235
- args86 = {
74942
+ args90 = {
74236
74943
  request: CreateTagRequest$inboundSchema
74237
74944
  };
74238
74945
  tool$tagsCreate = {
@@ -74241,9 +74948,9 @@ var init_tagsCreate2 = __esm(() => {
74241
74948
 
74242
74949
  Create a Tag in the team.
74243
74950
  `,
74244
- args: args86,
74245
- tool: async (client, args87, ctx) => {
74246
- const [result, apiCall] = await tagsCreate(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74951
+ args: args90,
74952
+ tool: async (client, args91, ctx) => {
74953
+ const [result, apiCall] = await tagsCreate(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74247
74954
  if (!result.ok) {
74248
74955
  return {
74249
74956
  content: [{ type: "text", text: result.error.message }],
@@ -74258,9 +74965,9 @@ Create a Tag in the team.
74258
74965
 
74259
74966
  // src/funcs/tagsDelete.ts
74260
74967
  function tagsDelete(client, request, options) {
74261
- return new APIPromise($do89(client, request, options));
74968
+ return new APIPromise($do93(client, request, options));
74262
74969
  }
74263
- async function $do89(client, request, options) {
74970
+ async function $do93(client, request, options) {
74264
74971
  const parsed = safeParse4(request, (value) => DestroyTagRequest$outboundSchema.parse(value), "Input validation failed");
74265
74972
  if (!parsed.ok) {
74266
74973
  return [parsed, { status: "invalid" }];
@@ -74333,12 +75040,12 @@ var init_tagsDelete = __esm(() => {
74333
75040
  });
74334
75041
 
74335
75042
  // src/mcp-server/tools/tagsDelete.ts
74336
- var args87, tool$tagsDelete;
75043
+ var args91, tool$tagsDelete;
74337
75044
  var init_tagsDelete2 = __esm(() => {
74338
75045
  init_tagsDelete();
74339
75046
  init_operations();
74340
75047
  init_tools();
74341
- args87 = {
75048
+ args91 = {
74342
75049
  request: DestroyTagRequest$inboundSchema
74343
75050
  };
74344
75051
  tool$tagsDelete = {
@@ -74347,9 +75054,9 @@ var init_tagsDelete2 = __esm(() => {
74347
75054
 
74348
75055
  Update a Tag in the team.
74349
75056
  `,
74350
- args: args87,
74351
- tool: async (client, args88, ctx) => {
74352
- const [result, apiCall] = await tagsDelete(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75057
+ args: args91,
75058
+ tool: async (client, args92, ctx) => {
75059
+ const [result, apiCall] = await tagsDelete(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74353
75060
  if (!result.ok) {
74354
75061
  return {
74355
75062
  content: [{ type: "text", text: result.error.message }],
@@ -74363,9 +75070,9 @@ Update a Tag in the team.
74363
75070
 
74364
75071
  // src/funcs/tagsList.ts
74365
75072
  function tagsList(client, options) {
74366
- return new APIPromise($do90(client, options));
75073
+ return new APIPromise($do94(client, options));
74367
75074
  }
74368
- async function $do90(client, options) {
75075
+ async function $do94(client, options) {
74369
75076
  const path = pathToFunc("/tags")();
74370
75077
  const headers = new Headers(compactMap({
74371
75078
  Accept: "application/vnd.api+json"
@@ -74450,9 +75157,9 @@ List all Tags in the team.
74450
75157
 
74451
75158
  // src/funcs/tagsUpdate.ts
74452
75159
  function tagsUpdate(client, request, options) {
74453
- return new APIPromise($do91(client, request, options));
75160
+ return new APIPromise($do95(client, request, options));
74454
75161
  }
74455
- async function $do91(client, request, options) {
75162
+ async function $do95(client, request, options) {
74456
75163
  const parsed = safeParse4(request, (value) => UpdateTagRequest$outboundSchema.parse(value), "Input validation failed");
74457
75164
  if (!parsed.ok) {
74458
75165
  return [parsed, { status: "invalid" }];
@@ -74499,7 +75206,7 @@ async function $do91(client, request, options) {
74499
75206
  const req = requestRes.value;
74500
75207
  const doResult = await client._do(req, {
74501
75208
  context,
74502
- errorCodes: ["4XX", "5XX"],
75209
+ errorCodes: ["422", "4XX", "5XX"],
74503
75210
  retryConfig: context.retryConfig,
74504
75211
  retryCodes: context.retryCodes
74505
75212
  });
@@ -74507,9 +75214,14 @@ async function $do91(client, request, options) {
74507
75214
  return [doResult, { status: "request-error", request: req }];
74508
75215
  }
74509
75216
  const response = doResult.value;
75217
+ const responseFields = {
75218
+ HttpMeta: { Response: response, Request: req }
75219
+ };
74510
75220
  const [result] = await match(json(200, CustomTag$inboundSchema, {
74511
75221
  ctype: "application/vnd.api+json"
74512
- }), fail("4XX"), fail("5XX"))(response, req);
75222
+ }), jsonErr(422, ErrorObject$inboundSchema, {
75223
+ ctype: "application/vnd.api+json"
75224
+ }), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
74513
75225
  if (!result.ok) {
74514
75226
  return [result, { status: "complete", request: req, response }];
74515
75227
  }
@@ -74522,18 +75234,19 @@ var init_tagsUpdate = __esm(() => {
74522
75234
  init_schemas4();
74523
75235
  init_security();
74524
75236
  init_url();
75237
+ init_errors4();
74525
75238
  init_models();
74526
75239
  init_operations();
74527
75240
  init_async();
74528
75241
  });
74529
75242
 
74530
75243
  // src/mcp-server/tools/tagsUpdate.ts
74531
- var args88, tool$tagsUpdate;
75244
+ var args92, tool$tagsUpdate;
74532
75245
  var init_tagsUpdate2 = __esm(() => {
74533
75246
  init_tagsUpdate();
74534
75247
  init_operations();
74535
75248
  init_tools();
74536
- args88 = {
75249
+ args92 = {
74537
75250
  request: UpdateTagRequest$inboundSchema
74538
75251
  };
74539
75252
  tool$tagsUpdate = {
@@ -74542,9 +75255,9 @@ var init_tagsUpdate2 = __esm(() => {
74542
75255
 
74543
75256
  Update a Tag in the team.
74544
75257
  `,
74545
- args: args88,
74546
- tool: async (client, args89, ctx) => {
74547
- const [result, apiCall] = await tagsUpdate(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75258
+ args: args92,
75259
+ tool: async (client, args93, ctx) => {
75260
+ const [result, apiCall] = await tagsUpdate(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74548
75261
  if (!result.ok) {
74549
75262
  return {
74550
75263
  content: [{ type: "text", text: result.error.message }],
@@ -74559,9 +75272,9 @@ Update a Tag in the team.
74559
75272
 
74560
75273
  // src/funcs/teamMembersDelete.ts
74561
75274
  function teamMembersDelete(client, request, options) {
74562
- return new APIPromise($do92(client, request, options));
75275
+ return new APIPromise($do96(client, request, options));
74563
75276
  }
74564
- async function $do92(client, request, options) {
75277
+ async function $do96(client, request, options) {
74565
75278
  const parsed = safeParse4(request, (value) => DestroyTeamMemberRequest$outboundSchema.parse(value), "Input validation failed");
74566
75279
  if (!parsed.ok) {
74567
75280
  return [parsed, { status: "invalid" }];
@@ -74634,20 +75347,20 @@ var init_teamMembersDelete = __esm(() => {
74634
75347
  });
74635
75348
 
74636
75349
  // src/mcp-server/tools/teamMembersDelete.ts
74637
- var args89, tool$teamMembersDelete;
75350
+ var args93, tool$teamMembersDelete;
74638
75351
  var init_teamMembersDelete2 = __esm(() => {
74639
75352
  init_teamMembersDelete();
74640
75353
  init_operations();
74641
75354
  init_tools();
74642
- args89 = {
75355
+ args93 = {
74643
75356
  request: DestroyTeamMemberRequest$inboundSchema
74644
75357
  };
74645
75358
  tool$teamMembersDelete = {
74646
75359
  name: "team-members-delete",
74647
75360
  description: `Remove a member`,
74648
- args: args89,
74649
- tool: async (client, args90, ctx) => {
74650
- const [result, apiCall] = await teamMembersDelete(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75361
+ args: args93,
75362
+ tool: async (client, args94, ctx) => {
75363
+ const [result, apiCall] = await teamMembersDelete(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74651
75364
  if (!result.ok) {
74652
75365
  return {
74653
75366
  content: [{ type: "text", text: result.error.message }],
@@ -74661,9 +75374,9 @@ var init_teamMembersDelete2 = __esm(() => {
74661
75374
 
74662
75375
  // src/funcs/teamMembersPostTeamMembers.ts
74663
75376
  function teamMembersPostTeamMembers(client, request, options) {
74664
- return new APIPromise($do93(client, request, options));
75377
+ return new APIPromise($do97(client, request, options));
74665
75378
  }
74666
- async function $do93(client, request, options) {
75379
+ async function $do97(client, request, options) {
74667
75380
  const parsed = safeParse4(request, (value) => PostTeamMembersRequest$outboundSchema.parse(value), "Input validation failed");
74668
75381
  if (!parsed.ok) {
74669
75382
  return [parsed, { status: "invalid" }];
@@ -74733,20 +75446,20 @@ var init_teamMembersPostTeamMembers = __esm(() => {
74733
75446
  });
74734
75447
 
74735
75448
  // src/mcp-server/tools/teamMembersPostTeamMembers.ts
74736
- var args90, tool$teamMembersPostTeamMembers;
75449
+ var args94, tool$teamMembersPostTeamMembers;
74737
75450
  var init_teamMembersPostTeamMembers2 = __esm(() => {
74738
75451
  init_teamMembersPostTeamMembers();
74739
75452
  init_operations();
74740
75453
  init_tools();
74741
- args90 = {
75454
+ args94 = {
74742
75455
  request: PostTeamMembersRequest$inboundSchema
74743
75456
  };
74744
75457
  tool$teamMembersPostTeamMembers = {
74745
75458
  name: "team-members-post-team-members",
74746
75459
  description: `Create member`,
74747
- args: args90,
74748
- tool: async (client, args91, ctx) => {
74749
- const [result, apiCall] = await teamMembersPostTeamMembers(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75460
+ args: args94,
75461
+ tool: async (client, args95, ctx) => {
75462
+ const [result, apiCall] = await teamMembersPostTeamMembers(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74750
75463
  if (!result.ok) {
74751
75464
  return {
74752
75465
  content: [{ type: "text", text: result.error.message }],
@@ -74761,9 +75474,9 @@ var init_teamMembersPostTeamMembers2 = __esm(() => {
74761
75474
 
74762
75475
  // src/funcs/teamsCreate.ts
74763
75476
  function teamsCreate(client, request, options) {
74764
- return new APIPromise($do94(client, request, options));
75477
+ return new APIPromise($do98(client, request, options));
74765
75478
  }
74766
- async function $do94(client, request, options) {
75479
+ async function $do98(client, request, options) {
74767
75480
  const parsed = safeParse4(request, (value) => PostTeamRequest$outboundSchema.parse(value), "Input validation failed");
74768
75481
  if (!parsed.ok) {
74769
75482
  return [parsed, { status: "invalid" }];
@@ -74832,20 +75545,20 @@ var init_teamsCreate = __esm(() => {
74832
75545
  });
74833
75546
 
74834
75547
  // src/mcp-server/tools/teamsCreate.ts
74835
- var args91, tool$teamsCreate;
75548
+ var args95, tool$teamsCreate;
74836
75549
  var init_teamsCreate2 = __esm(() => {
74837
75550
  init_teamsCreate();
74838
75551
  init_operations();
74839
75552
  init_tools();
74840
- args91 = {
75553
+ args95 = {
74841
75554
  request: PostTeamRequest$inboundSchema
74842
75555
  };
74843
75556
  tool$teamsCreate = {
74844
75557
  name: "teams-create",
74845
75558
  description: `Create team`,
74846
- args: args91,
74847
- tool: async (client, args92, ctx) => {
74848
- const [result, apiCall] = await teamsCreate(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75559
+ args: args95,
75560
+ tool: async (client, args96, ctx) => {
75561
+ const [result, apiCall] = await teamsCreate(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74849
75562
  if (!result.ok) {
74850
75563
  return {
74851
75564
  content: [{ type: "text", text: result.error.message }],
@@ -74860,9 +75573,9 @@ var init_teamsCreate2 = __esm(() => {
74860
75573
 
74861
75574
  // src/funcs/teamsGet.ts
74862
75575
  function teamsGet(client, options) {
74863
- return new APIPromise($do95(client, options));
75576
+ return new APIPromise($do99(client, options));
74864
75577
  }
74865
- async function $do95(client, options) {
75578
+ async function $do99(client, options) {
74866
75579
  const path = pathToFunc("/team")();
74867
75580
  const headers = new Headers(compactMap({
74868
75581
  Accept: "application/vnd.api+json"
@@ -74944,9 +75657,9 @@ var init_teamsGet2 = __esm(() => {
74944
75657
 
74945
75658
  // src/funcs/teamsMembersGetTeamMembers.ts
74946
75659
  function teamsMembersGetTeamMembers(client, request, options) {
74947
- return new APIPromise($do96(client, request, options));
75660
+ return new APIPromise($do100(client, request, options));
74948
75661
  }
74949
- async function $do96(client, request, options) {
75662
+ async function $do100(client, request, options) {
74950
75663
  const parsed = safeParse4(request, (value) => GetTeamMembersRequest$outboundSchema.optional().parse(value), "Input validation failed");
74951
75664
  if (!parsed.ok) {
74952
75665
  return [haltIterator(parsed), { status: "invalid" }];
@@ -75053,20 +75766,20 @@ var init_teamsMembersGetTeamMembers = __esm(() => {
75053
75766
  });
75054
75767
 
75055
75768
  // src/mcp-server/tools/teamsMembersGetTeamMembers.ts
75056
- var args92, tool$teamsMembersGetTeamMembers;
75769
+ var args96, tool$teamsMembersGetTeamMembers;
75057
75770
  var init_teamsMembersGetTeamMembers2 = __esm(() => {
75058
75771
  init_teamsMembersGetTeamMembers();
75059
75772
  init_operations();
75060
75773
  init_tools();
75061
- args92 = {
75774
+ args96 = {
75062
75775
  request: GetTeamMembersRequest$inboundSchema.optional()
75063
75776
  };
75064
75777
  tool$teamsMembersGetTeamMembers = {
75065
75778
  name: "teams-members-get-team-members",
75066
75779
  description: `List members`,
75067
- args: args92,
75068
- tool: async (client, args93, ctx) => {
75069
- const [result, apiCall] = await teamsMembersGetTeamMembers(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75780
+ args: args96,
75781
+ tool: async (client, args97, ctx) => {
75782
+ const [result, apiCall] = await teamsMembersGetTeamMembers(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75070
75783
  if (!result.ok) {
75071
75784
  return {
75072
75785
  content: [{ type: "text", text: result.error.message }],
@@ -75081,9 +75794,9 @@ var init_teamsMembersGetTeamMembers2 = __esm(() => {
75081
75794
 
75082
75795
  // src/funcs/teamsUpdate.ts
75083
75796
  function teamsUpdate(client, request, options) {
75084
- return new APIPromise($do97(client, request, options));
75797
+ return new APIPromise($do101(client, request, options));
75085
75798
  }
75086
- async function $do97(client, request, options) {
75799
+ async function $do101(client, request, options) {
75087
75800
  const parsed = safeParse4(request, (value) => PatchCurrentTeamRequest$outboundSchema.parse(value), "Input validation failed");
75088
75801
  if (!parsed.ok) {
75089
75802
  return [parsed, { status: "invalid" }];
@@ -75158,20 +75871,20 @@ var init_teamsUpdate = __esm(() => {
75158
75871
  });
75159
75872
 
75160
75873
  // src/mcp-server/tools/teamsUpdate.ts
75161
- var args93, tool$teamsUpdate;
75874
+ var args97, tool$teamsUpdate;
75162
75875
  var init_teamsUpdate2 = __esm(() => {
75163
75876
  init_teamsUpdate();
75164
75877
  init_operations();
75165
75878
  init_tools();
75166
- args93 = {
75879
+ args97 = {
75167
75880
  request: PatchCurrentTeamRequest$inboundSchema
75168
75881
  };
75169
75882
  tool$teamsUpdate = {
75170
75883
  name: "teams-update",
75171
75884
  description: `Update team`,
75172
- args: args93,
75173
- tool: async (client, args94, ctx) => {
75174
- const [result, apiCall] = await teamsUpdate(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75885
+ args: args97,
75886
+ tool: async (client, args98, ctx) => {
75887
+ const [result, apiCall] = await teamsUpdate(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75175
75888
  if (!result.ok) {
75176
75889
  return {
75177
75890
  content: [{ type: "text", text: result.error.message }],
@@ -75186,9 +75899,9 @@ var init_teamsUpdate2 = __esm(() => {
75186
75899
 
75187
75900
  // src/funcs/trafficGet.ts
75188
75901
  function trafficGet(client, request, options) {
75189
- return new APIPromise($do98(client, request, options));
75902
+ return new APIPromise($do102(client, request, options));
75190
75903
  }
75191
- async function $do98(client, request, options) {
75904
+ async function $do102(client, request, options) {
75192
75905
  const parsed = safeParse4(request, (value) => GetTrafficConsumptionRequest$outboundSchema.parse(value), "Input validation failed");
75193
75906
  if (!parsed.ok) {
75194
75907
  return [parsed, { status: "invalid" }];
@@ -75264,20 +75977,20 @@ var init_trafficGet = __esm(() => {
75264
75977
  });
75265
75978
 
75266
75979
  // src/mcp-server/tools/trafficGet.ts
75267
- var args94, tool$trafficGet;
75980
+ var args98, tool$trafficGet;
75268
75981
  var init_trafficGet2 = __esm(() => {
75269
75982
  init_trafficGet();
75270
75983
  init_operations();
75271
75984
  init_tools();
75272
- args94 = {
75985
+ args98 = {
75273
75986
  request: GetTrafficConsumptionRequest$inboundSchema
75274
75987
  };
75275
75988
  tool$trafficGet = {
75276
75989
  name: "traffic-get",
75277
75990
  description: `Retrieve traffic`,
75278
- args: args94,
75279
- tool: async (client, args95, ctx) => {
75280
- const [result, apiCall] = await trafficGet(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75991
+ args: args98,
75992
+ tool: async (client, args99, ctx) => {
75993
+ const [result, apiCall] = await trafficGet(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75281
75994
  if (!result.ok) {
75282
75995
  return {
75283
75996
  content: [{ type: "text", text: result.error.message }],
@@ -75292,9 +76005,9 @@ var init_trafficGet2 = __esm(() => {
75292
76005
 
75293
76006
  // src/funcs/trafficGetQuota.ts
75294
76007
  function trafficGetQuota(client, request, options) {
75295
- return new APIPromise($do99(client, request, options));
76008
+ return new APIPromise($do103(client, request, options));
75296
76009
  }
75297
- async function $do99(client, request, options) {
76010
+ async function $do103(client, request, options) {
75298
76011
  const parsed = safeParse4(request, (value) => GetTrafficQuotaRequest$outboundSchema.optional().parse(value), "Input validation failed");
75299
76012
  if (!parsed.ok) {
75300
76013
  return [parsed, { status: "invalid" }];
@@ -75367,20 +76080,20 @@ var init_trafficGetQuota = __esm(() => {
75367
76080
  });
75368
76081
 
75369
76082
  // src/mcp-server/tools/trafficGetQuota.ts
75370
- var args95, tool$trafficGetQuota;
76083
+ var args99, tool$trafficGetQuota;
75371
76084
  var init_trafficGetQuota2 = __esm(() => {
75372
76085
  init_trafficGetQuota();
75373
76086
  init_operations();
75374
76087
  init_tools();
75375
- args95 = {
76088
+ args99 = {
75376
76089
  request: GetTrafficQuotaRequest$inboundSchema.optional()
75377
76090
  };
75378
76091
  tool$trafficGetQuota = {
75379
76092
  name: "traffic-get-quota",
75380
76093
  description: `Retrieve traffic quota`,
75381
- args: args95,
75382
- tool: async (client, args96, ctx) => {
75383
- const [result, apiCall] = await trafficGetQuota(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76094
+ args: args99,
76095
+ tool: async (client, args100, ctx) => {
76096
+ const [result, apiCall] = await trafficGetQuota(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75384
76097
  if (!result.ok) {
75385
76098
  return {
75386
76099
  content: [{ type: "text", text: result.error.message }],
@@ -75395,9 +76108,9 @@ var init_trafficGetQuota2 = __esm(() => {
75395
76108
 
75396
76109
  // src/funcs/userDataCreate.ts
75397
76110
  function userDataCreate(client, request, options) {
75398
- return new APIPromise($do100(client, request, options));
76111
+ return new APIPromise($do104(client, request, options));
75399
76112
  }
75400
- async function $do100(client, request, options) {
76113
+ async function $do104(client, request, options) {
75401
76114
  const parsed = safeParse4(request, (value) => PostProjectUserDataRequest$outboundSchema.parse(value), "Input validation failed");
75402
76115
  if (!parsed.ok) {
75403
76116
  return [parsed, { status: "invalid" }];
@@ -75473,12 +76186,12 @@ var init_userDataCreate = __esm(() => {
75473
76186
  });
75474
76187
 
75475
76188
  // src/mcp-server/tools/userDataCreate.ts
75476
- var args96, tool$userDataCreate;
76189
+ var args100, tool$userDataCreate;
75477
76190
  var init_userDataCreate2 = __esm(() => {
75478
76191
  init_userDataCreate();
75479
76192
  init_operations();
75480
76193
  init_tools();
75481
- args96 = {
76194
+ args100 = {
75482
76195
  request: PostProjectUserDataRequest$inboundSchema
75483
76196
  };
75484
76197
  tool$userDataCreate = {
@@ -75487,9 +76200,9 @@ var init_userDataCreate2 = __esm(() => {
75487
76200
 
75488
76201
  Allows you to create User Data in a project, which can be used to perform custom setup on your servers after deploy and reinstall.
75489
76202
  `,
75490
- args: args96,
75491
- tool: async (client, args97, ctx) => {
75492
- const [result, apiCall] = await userDataCreate(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76203
+ args: args100,
76204
+ tool: async (client, args101, ctx) => {
76205
+ const [result, apiCall] = await userDataCreate(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75493
76206
  if (!result.ok) {
75494
76207
  return {
75495
76208
  content: [{ type: "text", text: result.error.message }],
@@ -75504,9 +76217,9 @@ Allows you to create User Data in a project, which can be used to perform custom
75504
76217
 
75505
76218
  // src/funcs/userDataCreateNew.ts
75506
76219
  function userDataCreateNew(client, request, options) {
75507
- return new APIPromise($do101(client, request, options));
76220
+ return new APIPromise($do105(client, request, options));
75508
76221
  }
75509
- async function $do101(client, request, options) {
76222
+ async function $do105(client, request, options) {
75510
76223
  const parsed = safeParse4(request, (value) => PostUserDataRequest$outboundSchema.parse(value), "Input validation failed");
75511
76224
  if (!parsed.ok) {
75512
76225
  return [parsed, { status: "invalid" }];
@@ -75576,12 +76289,12 @@ var init_userDataCreateNew = __esm(() => {
75576
76289
  });
75577
76290
 
75578
76291
  // src/mcp-server/tools/userDataCreateNew.ts
75579
- var args97, tool$userDataCreateNew;
76292
+ var args101, tool$userDataCreateNew;
75580
76293
  var init_userDataCreateNew2 = __esm(() => {
75581
76294
  init_userDataCreateNew();
75582
76295
  init_operations();
75583
76296
  init_tools();
75584
- args97 = {
76297
+ args101 = {
75585
76298
  request: PostUserDataRequest$inboundSchema
75586
76299
  };
75587
76300
  tool$userDataCreateNew = {
@@ -75590,9 +76303,9 @@ var init_userDataCreateNew2 = __esm(() => {
75590
76303
 
75591
76304
  Allows you to create User Data in a team, which can be used to perform custom setup on your servers after deploy and reinstall.
75592
76305
  `,
75593
- args: args97,
75594
- tool: async (client, args98, ctx) => {
75595
- const [result, apiCall] = await userDataCreateNew(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76306
+ args: args101,
76307
+ tool: async (client, args102, ctx) => {
76308
+ const [result, apiCall] = await userDataCreateNew(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75596
76309
  if (!result.ok) {
75597
76310
  return {
75598
76311
  content: [{ type: "text", text: result.error.message }],
@@ -75607,9 +76320,9 @@ Allows you to create User Data in a team, which can be used to perform custom se
75607
76320
 
75608
76321
  // src/funcs/userDataDelete.ts
75609
76322
  function userDataDelete(client, request, options) {
75610
- return new APIPromise($do102(client, request, options));
76323
+ return new APIPromise($do106(client, request, options));
75611
76324
  }
75612
- async function $do102(client, request, options) {
76325
+ async function $do106(client, request, options) {
75613
76326
  const parsed = safeParse4(request, (value) => DeleteUserDataRequest$outboundSchema.parse(value), "Input validation failed");
75614
76327
  if (!parsed.ok) {
75615
76328
  return [parsed, { status: "invalid" }];
@@ -75682,20 +76395,20 @@ var init_userDataDelete = __esm(() => {
75682
76395
  });
75683
76396
 
75684
76397
  // src/mcp-server/tools/userDataDelete.ts
75685
- var args98, tool$userDataDelete;
76398
+ var args102, tool$userDataDelete;
75686
76399
  var init_userDataDelete2 = __esm(() => {
75687
76400
  init_userDataDelete();
75688
76401
  init_operations();
75689
76402
  init_tools();
75690
- args98 = {
76403
+ args102 = {
75691
76404
  request: DeleteUserDataRequest$inboundSchema
75692
76405
  };
75693
76406
  tool$userDataDelete = {
75694
76407
  name: "user-data-delete",
75695
76408
  description: `Delete user data`,
75696
- args: args98,
75697
- tool: async (client, args99, ctx) => {
75698
- const [result, apiCall] = await userDataDelete(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76409
+ args: args102,
76410
+ tool: async (client, args103, ctx) => {
76411
+ const [result, apiCall] = await userDataDelete(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75699
76412
  if (!result.ok) {
75700
76413
  return {
75701
76414
  content: [{ type: "text", text: result.error.message }],
@@ -75709,9 +76422,9 @@ var init_userDataDelete2 = __esm(() => {
75709
76422
 
75710
76423
  // src/funcs/userDataDeleteProjectUserData.ts
75711
76424
  function userDataDeleteProjectUserData(client, request, options) {
75712
- return new APIPromise($do103(client, request, options));
76425
+ return new APIPromise($do107(client, request, options));
75713
76426
  }
75714
- async function $do103(client, request, options) {
76427
+ async function $do107(client, request, options) {
75715
76428
  const parsed = safeParse4(request, (value) => DeleteProjectUserDataRequest$outboundSchema.parse(value), "Input validation failed");
75716
76429
  if (!parsed.ok) {
75717
76430
  return [parsed, { status: "invalid" }];
@@ -75788,12 +76501,12 @@ var init_userDataDeleteProjectUserData = __esm(() => {
75788
76501
  });
75789
76502
 
75790
76503
  // src/mcp-server/tools/userDataDeleteProjectUserData.ts
75791
- var args99, tool$userDataDeleteProjectUserData;
76504
+ var args103, tool$userDataDeleteProjectUserData;
75792
76505
  var init_userDataDeleteProjectUserData2 = __esm(() => {
75793
76506
  init_userDataDeleteProjectUserData();
75794
76507
  init_operations();
75795
76508
  init_tools();
75796
- args99 = {
76509
+ args103 = {
75797
76510
  request: DeleteProjectUserDataRequest$inboundSchema
75798
76511
  };
75799
76512
  tool$userDataDeleteProjectUserData = {
@@ -75802,9 +76515,9 @@ var init_userDataDeleteProjectUserData2 = __esm(() => {
75802
76515
 
75803
76516
  Allow you remove User Data in a project.
75804
76517
  `,
75805
- args: args99,
75806
- tool: async (client, args100, ctx) => {
75807
- const [result, apiCall] = await userDataDeleteProjectUserData(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76518
+ args: args103,
76519
+ tool: async (client, args104, ctx) => {
76520
+ const [result, apiCall] = await userDataDeleteProjectUserData(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75808
76521
  if (!result.ok) {
75809
76522
  return {
75810
76523
  content: [{ type: "text", text: result.error.message }],
@@ -75818,9 +76531,9 @@ Allow you remove User Data in a project.
75818
76531
 
75819
76532
  // src/funcs/userDataGetProjectUserData.ts
75820
76533
  function userDataGetProjectUserData(client, request, options) {
75821
- return new APIPromise($do104(client, request, options));
76534
+ return new APIPromise($do108(client, request, options));
75822
76535
  }
75823
- async function $do104(client, request, options) {
76536
+ async function $do108(client, request, options) {
75824
76537
  const parsed = safeParse4(request, (value) => GetProjectUserDataRequest$outboundSchema.parse(value), "Input validation failed");
75825
76538
  if (!parsed.ok) {
75826
76539
  return [parsed, { status: "invalid" }];
@@ -75903,12 +76616,12 @@ var init_userDataGetProjectUserData = __esm(() => {
75903
76616
  });
75904
76617
 
75905
76618
  // src/mcp-server/tools/userDataGetProjectUserData.ts
75906
- var args100, tool$userDataGetProjectUserData;
76619
+ var args104, tool$userDataGetProjectUserData;
75907
76620
  var init_userDataGetProjectUserData2 = __esm(() => {
75908
76621
  init_userDataGetProjectUserData();
75909
76622
  init_operations();
75910
76623
  init_tools();
75911
- args100 = {
76624
+ args104 = {
75912
76625
  request: GetProjectUserDataRequest$inboundSchema
75913
76626
  };
75914
76627
  tool$userDataGetProjectUserData = {
@@ -75917,9 +76630,9 @@ var init_userDataGetProjectUserData2 = __esm(() => {
75917
76630
 
75918
76631
  Get User Data in the project. These scripts can be used to configure servers with user data.
75919
76632
  `,
75920
- args: args100,
75921
- tool: async (client, args101, ctx) => {
75922
- const [result, apiCall] = await userDataGetProjectUserData(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76633
+ args: args104,
76634
+ tool: async (client, args105, ctx) => {
76635
+ const [result, apiCall] = await userDataGetProjectUserData(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75923
76636
  if (!result.ok) {
75924
76637
  return {
75925
76638
  content: [{ type: "text", text: result.error.message }],
@@ -75934,9 +76647,9 @@ Get User Data in the project. These scripts can be used to configure servers wit
75934
76647
 
75935
76648
  // src/funcs/userDataGetProjectUsersData.ts
75936
76649
  function userDataGetProjectUsersData(client, request, options) {
75937
- return new APIPromise($do105(client, request, options));
76650
+ return new APIPromise($do109(client, request, options));
75938
76651
  }
75939
- async function $do105(client, request, options) {
76652
+ async function $do109(client, request, options) {
75940
76653
  const parsed = safeParse4(request, (value) => GetProjectUsersDataRequest$outboundSchema.parse(value), "Input validation failed");
75941
76654
  if (!parsed.ok) {
75942
76655
  return [parsed, { status: "invalid" }];
@@ -76015,12 +76728,12 @@ var init_userDataGetProjectUsersData = __esm(() => {
76015
76728
  });
76016
76729
 
76017
76730
  // src/mcp-server/tools/userDataGetProjectUsersData.ts
76018
- var args101, tool$userDataGetProjectUsersData;
76731
+ var args105, tool$userDataGetProjectUsersData;
76019
76732
  var init_userDataGetProjectUsersData2 = __esm(() => {
76020
76733
  init_userDataGetProjectUsersData();
76021
76734
  init_operations();
76022
76735
  init_tools();
76023
- args101 = {
76736
+ args105 = {
76024
76737
  request: GetProjectUsersDataRequest$inboundSchema
76025
76738
  };
76026
76739
  tool$userDataGetProjectUsersData = {
@@ -76029,9 +76742,9 @@ var init_userDataGetProjectUsersData2 = __esm(() => {
76029
76742
 
76030
76743
  List all Users Data in the project. These scripts can be used to configure servers with user data.
76031
76744
  `,
76032
- args: args101,
76033
- tool: async (client, args102, ctx) => {
76034
- const [result, apiCall] = await userDataGetProjectUsersData(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76745
+ args: args105,
76746
+ tool: async (client, args106, ctx) => {
76747
+ const [result, apiCall] = await userDataGetProjectUsersData(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76035
76748
  if (!result.ok) {
76036
76749
  return {
76037
76750
  content: [{ type: "text", text: result.error.message }],
@@ -76046,9 +76759,9 @@ List all Users Data in the project. These scripts can be used to configure serve
76046
76759
 
76047
76760
  // src/funcs/userDataList.ts
76048
76761
  function userDataList(client, request, options) {
76049
- return new APIPromise($do106(client, request, options));
76762
+ return new APIPromise($do110(client, request, options));
76050
76763
  }
76051
- async function $do106(client, request, options) {
76764
+ async function $do110(client, request, options) {
76052
76765
  const parsed = safeParse4(request, (value) => GetUsersDataRequest$outboundSchema.optional().parse(value), "Input validation failed");
76053
76766
  if (!parsed.ok) {
76054
76767
  return [parsed, { status: "invalid" }];
@@ -76123,12 +76836,12 @@ var init_userDataList = __esm(() => {
76123
76836
  });
76124
76837
 
76125
76838
  // src/mcp-server/tools/userDataList.ts
76126
- var args102, tool$userDataList;
76839
+ var args106, tool$userDataList;
76127
76840
  var init_userDataList2 = __esm(() => {
76128
76841
  init_userDataList();
76129
76842
  init_operations();
76130
76843
  init_tools();
76131
- args102 = {
76844
+ args106 = {
76132
76845
  request: GetUsersDataRequest$inboundSchema.optional()
76133
76846
  };
76134
76847
  tool$userDataList = {
@@ -76137,9 +76850,9 @@ var init_userDataList2 = __esm(() => {
76137
76850
 
76138
76851
  List all Users Data in the project. These scripts can be used to configure servers with user data.
76139
76852
  `,
76140
- args: args102,
76141
- tool: async (client, args103, ctx) => {
76142
- const [result, apiCall] = await userDataList(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76853
+ args: args106,
76854
+ tool: async (client, args107, ctx) => {
76855
+ const [result, apiCall] = await userDataList(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76143
76856
  if (!result.ok) {
76144
76857
  return {
76145
76858
  content: [{ type: "text", text: result.error.message }],
@@ -76154,9 +76867,9 @@ List all Users Data in the project. These scripts can be used to configure serve
76154
76867
 
76155
76868
  // src/funcs/userDataRetrieve.ts
76156
76869
  function userDataRetrieve(client, request, options) {
76157
- return new APIPromise($do107(client, request, options));
76870
+ return new APIPromise($do111(client, request, options));
76158
76871
  }
76159
- async function $do107(client, request, options) {
76872
+ async function $do111(client, request, options) {
76160
76873
  const parsed = safeParse4(request, (value) => GetUserDataRequest$outboundSchema.parse(value), "Input validation failed");
76161
76874
  if (!parsed.ok) {
76162
76875
  return [parsed, { status: "invalid" }];
@@ -76235,12 +76948,12 @@ var init_userDataRetrieve = __esm(() => {
76235
76948
  });
76236
76949
 
76237
76950
  // src/mcp-server/tools/userDataRetrieve.ts
76238
- var args103, tool$userDataRetrieve;
76951
+ var args107, tool$userDataRetrieve;
76239
76952
  var init_userDataRetrieve2 = __esm(() => {
76240
76953
  init_userDataRetrieve();
76241
76954
  init_operations();
76242
76955
  init_tools();
76243
- args103 = {
76956
+ args107 = {
76244
76957
  request: GetUserDataRequest$inboundSchema
76245
76958
  };
76246
76959
  tool$userDataRetrieve = {
@@ -76249,9 +76962,9 @@ var init_userDataRetrieve2 = __esm(() => {
76249
76962
 
76250
76963
  Get User Data in the project. These scripts can be used to configure servers with user data.
76251
76964
  `,
76252
- args: args103,
76253
- tool: async (client, args104, ctx) => {
76254
- const [result, apiCall] = await userDataRetrieve(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76965
+ args: args107,
76966
+ tool: async (client, args108, ctx) => {
76967
+ const [result, apiCall] = await userDataRetrieve(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76255
76968
  if (!result.ok) {
76256
76969
  return {
76257
76970
  content: [{ type: "text", text: result.error.message }],
@@ -76266,9 +76979,9 @@ Get User Data in the project. These scripts can be used to configure servers wit
76266
76979
 
76267
76980
  // src/funcs/userDataUpdate.ts
76268
76981
  function userDataUpdate(client, request, options) {
76269
- return new APIPromise($do108(client, request, options));
76982
+ return new APIPromise($do112(client, request, options));
76270
76983
  }
76271
- async function $do108(client, request, options) {
76984
+ async function $do112(client, request, options) {
76272
76985
  const parsed = safeParse4(request, (value) => PatchUserDataRequest$outboundSchema.parse(value), "Input validation failed");
76273
76986
  if (!parsed.ok) {
76274
76987
  return [parsed, { status: "invalid" }];
@@ -76344,12 +77057,12 @@ var init_userDataUpdate = __esm(() => {
76344
77057
  });
76345
77058
 
76346
77059
  // src/mcp-server/tools/userDataUpdate.ts
76347
- var args104, tool$userDataUpdate;
77060
+ var args108, tool$userDataUpdate;
76348
77061
  var init_userDataUpdate2 = __esm(() => {
76349
77062
  init_userDataUpdate();
76350
77063
  init_operations();
76351
77064
  init_tools();
76352
- args104 = {
77065
+ args108 = {
76353
77066
  request: PatchUserDataRequest$inboundSchema
76354
77067
  };
76355
77068
  tool$userDataUpdate = {
@@ -76358,9 +77071,9 @@ var init_userDataUpdate2 = __esm(() => {
76358
77071
 
76359
77072
  Allow you update User Data in a team.
76360
77073
  `,
76361
- args: args104,
76362
- tool: async (client, args105, ctx) => {
76363
- const [result, apiCall] = await userDataUpdate(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77074
+ args: args108,
77075
+ tool: async (client, args109, ctx) => {
77076
+ const [result, apiCall] = await userDataUpdate(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76364
77077
  if (!result.ok) {
76365
77078
  return {
76366
77079
  content: [{ type: "text", text: result.error.message }],
@@ -76375,9 +77088,9 @@ Allow you update User Data in a team.
76375
77088
 
76376
77089
  // src/funcs/userDataUpdateForProject.ts
76377
77090
  function userDataUpdateForProject(client, request, options) {
76378
- return new APIPromise($do109(client, request, options));
77091
+ return new APIPromise($do113(client, request, options));
76379
77092
  }
76380
- async function $do109(client, request, options) {
77093
+ async function $do113(client, request, options) {
76381
77094
  const parsed = safeParse4(request, (value) => PutProjectUserDataRequest$outboundSchema.parse(value), "Input validation failed");
76382
77095
  if (!parsed.ok) {
76383
77096
  return [parsed, { status: "invalid" }];
@@ -76457,12 +77170,12 @@ var init_userDataUpdateForProject = __esm(() => {
76457
77170
  });
76458
77171
 
76459
77172
  // src/mcp-server/tools/userDataUpdateForProject.ts
76460
- var args105, tool$userDataUpdateForProject;
77173
+ var args109, tool$userDataUpdateForProject;
76461
77174
  var init_userDataUpdateForProject2 = __esm(() => {
76462
77175
  init_userDataUpdateForProject();
76463
77176
  init_operations();
76464
77177
  init_tools();
76465
- args105 = {
77178
+ args109 = {
76466
77179
  request: PutProjectUserDataRequest$inboundSchema
76467
77180
  };
76468
77181
  tool$userDataUpdateForProject = {
@@ -76471,9 +77184,9 @@ var init_userDataUpdateForProject2 = __esm(() => {
76471
77184
 
76472
77185
  Allow you update User Data in a project.
76473
77186
  `,
76474
- args: args105,
76475
- tool: async (client, args106, ctx) => {
76476
- const [result, apiCall] = await userDataUpdateForProject(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77187
+ args: args109,
77188
+ tool: async (client, args110, ctx) => {
77189
+ const [result, apiCall] = await userDataUpdateForProject(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76477
77190
  if (!result.ok) {
76478
77191
  return {
76479
77192
  content: [{ type: "text", text: result.error.message }],
@@ -76488,9 +77201,9 @@ Allow you update User Data in a project.
76488
77201
 
76489
77202
  // src/funcs/userProfileGet.ts
76490
77203
  function userProfileGet(client, options) {
76491
- return new APIPromise($do110(client, options));
77204
+ return new APIPromise($do114(client, options));
76492
77205
  }
76493
- async function $do110(client, options) {
77206
+ async function $do114(client, options) {
76494
77207
  const path = pathToFunc("/user/profile")();
76495
77208
  const headers = new Headers(compactMap({
76496
77209
  Accept: "application/vnd.api+json"
@@ -76575,9 +77288,9 @@ Retrieve the current user profile
76575
77288
 
76576
77289
  // src/funcs/userProfileListTeams.ts
76577
77290
  function userProfileListTeams(client, options) {
76578
- return new APIPromise($do111(client, options));
77291
+ return new APIPromise($do115(client, options));
76579
77292
  }
76580
- async function $do111(client, options) {
77293
+ async function $do115(client, options) {
76581
77294
  const path = pathToFunc("/user/teams")();
76582
77295
  const headers = new Headers(compactMap({
76583
77296
  Accept: "application/vnd.api+json"
@@ -76662,9 +77375,9 @@ Returns a list of all teams the user belongs to
76662
77375
 
76663
77376
  // src/funcs/userProfileUpdate.ts
76664
77377
  function userProfileUpdate(client, request, options) {
76665
- return new APIPromise($do112(client, request, options));
77378
+ return new APIPromise($do116(client, request, options));
76666
77379
  }
76667
- async function $do112(client, request, options) {
77380
+ async function $do116(client, request, options) {
76668
77381
  const parsed = safeParse4(request, (value) => PatchUserProfileRequest$outboundSchema.parse(value), "Input validation failed");
76669
77382
  if (!parsed.ok) {
76670
77383
  return [parsed, { status: "invalid" }];
@@ -76739,12 +77452,12 @@ var init_userProfileUpdate = __esm(() => {
76739
77452
  });
76740
77453
 
76741
77454
  // src/mcp-server/tools/userProfileUpdate.ts
76742
- var args106, tool$userProfileUpdate;
77455
+ var args110, tool$userProfileUpdate;
76743
77456
  var init_userProfileUpdate2 = __esm(() => {
76744
77457
  init_userProfileUpdate();
76745
77458
  init_operations();
76746
77459
  init_tools();
76747
- args106 = {
77460
+ args110 = {
76748
77461
  request: PatchUserProfileRequest$inboundSchema
76749
77462
  };
76750
77463
  tool$userProfileUpdate = {
@@ -76753,9 +77466,9 @@ var init_userProfileUpdate2 = __esm(() => {
76753
77466
 
76754
77467
  Update the current user profile
76755
77468
  `,
76756
- args: args106,
76757
- tool: async (client, args107, ctx) => {
76758
- const [result, apiCall] = await userProfileUpdate(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77469
+ args: args110,
77470
+ tool: async (client, args111, ctx) => {
77471
+ const [result, apiCall] = await userProfileUpdate(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76759
77472
  if (!result.ok) {
76760
77473
  return {
76761
77474
  content: [{ type: "text", text: result.error.message }],
@@ -76770,9 +77483,9 @@ Update the current user profile
76770
77483
 
76771
77484
  // src/funcs/virtualMachinesCreate.ts
76772
77485
  function virtualMachinesCreate(client, request, options) {
76773
- return new APIPromise($do113(client, request, options));
77486
+ return new APIPromise($do117(client, request, options));
76774
77487
  }
76775
- async function $do113(client, request, options) {
77488
+ async function $do117(client, request, options) {
76776
77489
  const parsed = safeParse4(request, (value) => VirtualMachinePayload$outboundSchema.parse(value), "Input validation failed");
76777
77490
  if (!parsed.ok) {
76778
77491
  return [parsed, { status: "invalid" }];
@@ -76841,12 +77554,12 @@ var init_virtualMachinesCreate = __esm(() => {
76841
77554
  });
76842
77555
 
76843
77556
  // src/mcp-server/tools/virtualMachinesCreate.ts
76844
- var args107, tool$virtualMachinesCreate;
77557
+ var args111, tool$virtualMachinesCreate;
76845
77558
  var init_virtualMachinesCreate2 = __esm(() => {
76846
77559
  init_virtualMachinesCreate();
76847
77560
  init_models();
76848
77561
  init_tools();
76849
- args107 = {
77562
+ args111 = {
76850
77563
  request: VirtualMachinePayload$inboundSchema
76851
77564
  };
76852
77565
  tool$virtualMachinesCreate = {
@@ -76855,9 +77568,9 @@ var init_virtualMachinesCreate2 = __esm(() => {
76855
77568
 
76856
77569
  Creates a new Virtual Machine.
76857
77570
  `,
76858
- args: args107,
76859
- tool: async (client, args108, ctx) => {
76860
- const [result, apiCall] = await virtualMachinesCreate(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77571
+ args: args111,
77572
+ tool: async (client, args112, ctx) => {
77573
+ const [result, apiCall] = await virtualMachinesCreate(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76861
77574
  if (!result.ok) {
76862
77575
  return {
76863
77576
  content: [{ type: "text", text: result.error.message }],
@@ -76872,9 +77585,9 @@ Creates a new Virtual Machine.
76872
77585
 
76873
77586
  // src/funcs/virtualMachinesCreateVirtualMachineAction.ts
76874
77587
  function virtualMachinesCreateVirtualMachineAction(client, request, options) {
76875
- return new APIPromise($do114(client, request, options));
77588
+ return new APIPromise($do118(client, request, options));
76876
77589
  }
76877
- async function $do114(client, request, options) {
77590
+ async function $do118(client, request, options) {
76878
77591
  const parsed = safeParse4(request, (value) => CreateVirtualMachineActionRequest$outboundSchema.parse(value), "Input validation failed");
76879
77592
  if (!parsed.ok) {
76880
77593
  return [parsed, { status: "invalid" }];
@@ -76945,12 +77658,12 @@ var init_virtualMachinesCreateVirtualMachineAction = __esm(() => {
76945
77658
  });
76946
77659
 
76947
77660
  // src/mcp-server/tools/virtualMachinesCreateVirtualMachineAction.ts
76948
- var args108, tool$virtualMachinesCreateVirtualMachineAction;
77661
+ var args112, tool$virtualMachinesCreateVirtualMachineAction;
76949
77662
  var init_virtualMachinesCreateVirtualMachineAction2 = __esm(() => {
76950
77663
  init_virtualMachinesCreateVirtualMachineAction();
76951
77664
  init_operations();
76952
77665
  init_tools();
76953
- args108 = {
77666
+ args112 = {
76954
77667
  request: CreateVirtualMachineActionRequest$inboundSchema
76955
77668
  };
76956
77669
  tool$virtualMachinesCreateVirtualMachineAction = {
@@ -76962,9 +77675,9 @@ Performs a power action on a given virtual machine:
76962
77675
  - \`power_off\` - Stops the virtual machine
76963
77676
  - \`reboot\` - Restarts the virtual machine
76964
77677
  `,
76965
- args: args108,
76966
- tool: async (client, args109, ctx) => {
76967
- const [result, apiCall] = await virtualMachinesCreateVirtualMachineAction(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77678
+ args: args112,
77679
+ tool: async (client, args113, ctx) => {
77680
+ const [result, apiCall] = await virtualMachinesCreateVirtualMachineAction(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
76968
77681
  if (!result.ok) {
76969
77682
  return {
76970
77683
  content: [{ type: "text", text: result.error.message }],
@@ -76978,9 +77691,9 @@ Performs a power action on a given virtual machine:
76978
77691
 
76979
77692
  // src/funcs/virtualMachinesDelete.ts
76980
77693
  function virtualMachinesDelete(client, request, options) {
76981
- return new APIPromise($do115(client, request, options));
77694
+ return new APIPromise($do119(client, request, options));
76982
77695
  }
76983
- async function $do115(client, request, options) {
77696
+ async function $do119(client, request, options) {
76984
77697
  const parsed = safeParse4(request, (value) => DestroyVirtualMachineRequest$outboundSchema.parse(value), "Input validation failed");
76985
77698
  if (!parsed.ok) {
76986
77699
  return [parsed, { status: "invalid" }];
@@ -77050,12 +77763,12 @@ var init_virtualMachinesDelete = __esm(() => {
77050
77763
  });
77051
77764
 
77052
77765
  // src/mcp-server/tools/virtualMachinesDelete.ts
77053
- var args109, tool$virtualMachinesDelete;
77766
+ var args113, tool$virtualMachinesDelete;
77054
77767
  var init_virtualMachinesDelete2 = __esm(() => {
77055
77768
  init_virtualMachinesDelete();
77056
77769
  init_operations();
77057
77770
  init_tools();
77058
- args109 = {
77771
+ args113 = {
77059
77772
  request: DestroyVirtualMachineRequest$inboundSchema
77060
77773
  };
77061
77774
  tool$virtualMachinesDelete = {
@@ -77064,9 +77777,9 @@ var init_virtualMachinesDelete2 = __esm(() => {
77064
77777
 
77065
77778
  Destroys a Virtual Machine.
77066
77779
  `,
77067
- args: args109,
77068
- tool: async (client, args110, ctx) => {
77069
- const [result, apiCall] = await virtualMachinesDelete(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77780
+ args: args113,
77781
+ tool: async (client, args114, ctx) => {
77782
+ const [result, apiCall] = await virtualMachinesDelete(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77070
77783
  if (!result.ok) {
77071
77784
  return {
77072
77785
  content: [{ type: "text", text: result.error.message }],
@@ -77080,9 +77793,9 @@ Destroys a Virtual Machine.
77080
77793
 
77081
77794
  // src/funcs/virtualMachinesGet.ts
77082
77795
  function virtualMachinesGet(client, request, options) {
77083
- return new APIPromise($do116(client, request, options));
77796
+ return new APIPromise($do120(client, request, options));
77084
77797
  }
77085
- async function $do116(client, request, options) {
77798
+ async function $do120(client, request, options) {
77086
77799
  const parsed = safeParse4(request, (value) => ShowVirtualMachineRequest$outboundSchema.parse(value), "Input validation failed");
77087
77800
  if (!parsed.ok) {
77088
77801
  return [parsed, { status: "invalid" }];
@@ -77094,7 +77807,7 @@ async function $do116(client, request, options) {
77094
77807
  };
77095
77808
  const path = pathToFunc("/virtual_machines/{virtual_machine_id}")(pathParams);
77096
77809
  const headers = new Headers(compactMap({
77097
- Accept: "*/*"
77810
+ Accept: "application/vnd.api+json"
77098
77811
  }));
77099
77812
  const secConfig = await extractSecurity(client._options.bearer);
77100
77813
  const securityInput = secConfig == null ? {} : { bearer: secConfig };
@@ -77133,31 +77846,33 @@ async function $do116(client, request, options) {
77133
77846
  return [doResult, { status: "request-error", request: req }];
77134
77847
  }
77135
77848
  const response = doResult.value;
77136
- const [result] = await match(nil(200, voidType()), fail("4XX"), fail("5XX"))(response, req);
77849
+ const [result] = await match(json(200, VirtualMachine$inboundSchema, {
77850
+ ctype: "application/vnd.api+json"
77851
+ }), fail("4XX"), fail("5XX"))(response, req);
77137
77852
  if (!result.ok) {
77138
77853
  return [result, { status: "complete", request: req, response }];
77139
77854
  }
77140
77855
  return [result, { status: "complete", request: req, response }];
77141
77856
  }
77142
77857
  var init_virtualMachinesGet = __esm(() => {
77143
- init_v3();
77144
77858
  init_encodings();
77145
77859
  init_matchers();
77146
77860
  init_primitives();
77147
77861
  init_schemas4();
77148
77862
  init_security();
77149
77863
  init_url();
77864
+ init_models();
77150
77865
  init_operations();
77151
77866
  init_async();
77152
77867
  });
77153
77868
 
77154
77869
  // src/mcp-server/tools/virtualMachinesGet.ts
77155
- var args110, tool$virtualMachinesGet;
77870
+ var args114, tool$virtualMachinesGet;
77156
77871
  var init_virtualMachinesGet2 = __esm(() => {
77157
77872
  init_virtualMachinesGet();
77158
77873
  init_operations();
77159
77874
  init_tools();
77160
- args110 = {
77875
+ args114 = {
77161
77876
  request: ShowVirtualMachineRequest$inboundSchema
77162
77877
  };
77163
77878
  tool$virtualMachinesGet = {
@@ -77166,25 +77881,26 @@ var init_virtualMachinesGet2 = __esm(() => {
77166
77881
 
77167
77882
  Show a Virtual Machine.
77168
77883
  `,
77169
- args: args110,
77170
- tool: async (client, args111, ctx) => {
77171
- const [result, apiCall] = await virtualMachinesGet(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77884
+ args: args114,
77885
+ tool: async (client, args115, ctx) => {
77886
+ const [result, apiCall] = await virtualMachinesGet(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77172
77887
  if (!result.ok) {
77173
77888
  return {
77174
77889
  content: [{ type: "text", text: result.error.message }],
77175
77890
  isError: true
77176
77891
  };
77177
77892
  }
77178
- return formatResult(undefined, apiCall);
77893
+ const value = result.value;
77894
+ return formatResult(value, apiCall);
77179
77895
  }
77180
77896
  };
77181
77897
  });
77182
77898
 
77183
77899
  // src/funcs/virtualMachinesList.ts
77184
77900
  function virtualMachinesList(client, request, options) {
77185
- return new APIPromise($do117(client, request, options));
77901
+ return new APIPromise($do121(client, request, options));
77186
77902
  }
77187
- async function $do117(client, request, options) {
77903
+ async function $do121(client, request, options) {
77188
77904
  const parsed = safeParse4(request, (value) => IndexVirtualMachineRequest$outboundSchema.optional().parse(value), "Input validation failed");
77189
77905
  if (!parsed.ok) {
77190
77906
  return [parsed, { status: "invalid" }];
@@ -77197,7 +77913,7 @@ async function $do117(client, request, options) {
77197
77913
  "filter[project]": payload?.["filter[project]"]
77198
77914
  });
77199
77915
  const headers = new Headers(compactMap({
77200
- Accept: "*/*"
77916
+ Accept: "application/vnd.api+json"
77201
77917
  }));
77202
77918
  const secConfig = await extractSecurity(client._options.bearer);
77203
77919
  const securityInput = secConfig == null ? {} : { bearer: secConfig };
@@ -77237,31 +77953,33 @@ async function $do117(client, request, options) {
77237
77953
  return [doResult, { status: "request-error", request: req }];
77238
77954
  }
77239
77955
  const response = doResult.value;
77240
- const [result] = await match(nil(200, voidType()), fail("4XX"), fail("5XX"))(response, req);
77956
+ const [result] = await match(json(200, VirtualMachines$inboundSchema, {
77957
+ ctype: "application/vnd.api+json"
77958
+ }), fail("4XX"), fail("5XX"))(response, req);
77241
77959
  if (!result.ok) {
77242
77960
  return [result, { status: "complete", request: req, response }];
77243
77961
  }
77244
77962
  return [result, { status: "complete", request: req, response }];
77245
77963
  }
77246
77964
  var init_virtualMachinesList = __esm(() => {
77247
- init_v3();
77248
77965
  init_encodings();
77249
77966
  init_matchers();
77250
77967
  init_primitives();
77251
77968
  init_schemas4();
77252
77969
  init_security();
77253
77970
  init_url();
77971
+ init_models();
77254
77972
  init_operations();
77255
77973
  init_async();
77256
77974
  });
77257
77975
 
77258
77976
  // src/mcp-server/tools/virtualMachinesList.ts
77259
- var args111, tool$virtualMachinesList;
77977
+ var args115, tool$virtualMachinesList;
77260
77978
  var init_virtualMachinesList2 = __esm(() => {
77261
77979
  init_virtualMachinesList();
77262
77980
  init_operations();
77263
77981
  init_tools();
77264
- args111 = {
77982
+ args115 = {
77265
77983
  request: IndexVirtualMachineRequest$inboundSchema.optional()
77266
77984
  };
77267
77985
  tool$virtualMachinesList = {
@@ -77270,25 +77988,26 @@ var init_virtualMachinesList2 = __esm(() => {
77270
77988
 
77271
77989
  Show all Team's Virtual Machines.
77272
77990
  `,
77273
- args: args111,
77274
- tool: async (client, args112, ctx) => {
77275
- const [result, apiCall] = await virtualMachinesList(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77991
+ args: args115,
77992
+ tool: async (client, args116, ctx) => {
77993
+ const [result, apiCall] = await virtualMachinesList(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77276
77994
  if (!result.ok) {
77277
77995
  return {
77278
77996
  content: [{ type: "text", text: result.error.message }],
77279
77997
  isError: true
77280
77998
  };
77281
77999
  }
77282
- return formatResult(undefined, apiCall);
78000
+ const value = result.value;
78001
+ return formatResult(value, apiCall);
77283
78002
  }
77284
78003
  };
77285
78004
  });
77286
78005
 
77287
78006
  // src/funcs/virtualMachinesUpdateVirtualMachine.ts
77288
78007
  function virtualMachinesUpdateVirtualMachine(client, request, options) {
77289
- return new APIPromise($do118(client, request, options));
78008
+ return new APIPromise($do122(client, request, options));
77290
78009
  }
77291
- async function $do118(client, request, options) {
78010
+ async function $do122(client, request, options) {
77292
78011
  const parsed = safeParse4(request, (value) => UpdateVirtualMachineRequest$outboundSchema.parse(value), "Input validation failed");
77293
78012
  if (!parsed.ok) {
77294
78013
  return [parsed, { status: "invalid" }];
@@ -77363,12 +78082,12 @@ var init_virtualMachinesUpdateVirtualMachine = __esm(() => {
77363
78082
  });
77364
78083
 
77365
78084
  // src/mcp-server/tools/virtualMachinesUpdateVirtualMachine.ts
77366
- var args112, tool$virtualMachinesUpdateVirtualMachine;
78085
+ var args116, tool$virtualMachinesUpdateVirtualMachine;
77367
78086
  var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
77368
78087
  init_virtualMachinesUpdateVirtualMachine();
77369
78088
  init_operations();
77370
78089
  init_tools();
77371
- args112 = {
78090
+ args116 = {
77372
78091
  request: UpdateVirtualMachineRequest$inboundSchema
77373
78092
  };
77374
78093
  tool$virtualMachinesUpdateVirtualMachine = {
@@ -77377,9 +78096,9 @@ var init_virtualMachinesUpdateVirtualMachine2 = __esm(() => {
77377
78096
 
77378
78097
  Updates a Virtual Machine's display name (hostname).
77379
78098
  `,
77380
- args: args112,
77381
- tool: async (client, args113, ctx) => {
77382
- const [result, apiCall] = await virtualMachinesUpdateVirtualMachine(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78099
+ args: args116,
78100
+ tool: async (client, args117, ctx) => {
78101
+ const [result, apiCall] = await virtualMachinesUpdateVirtualMachine(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77383
78102
  if (!result.ok) {
77384
78103
  return {
77385
78104
  content: [{ type: "text", text: result.error.message }],
@@ -77394,9 +78113,9 @@ Updates a Virtual Machine's display name (hostname).
77394
78113
 
77395
78114
  // src/funcs/virtualNetworksDelete.ts
77396
78115
  function virtualNetworksDelete(client, request, options) {
77397
- return new APIPromise($do119(client, request, options));
78116
+ return new APIPromise($do123(client, request, options));
77398
78117
  }
77399
- async function $do119(client, request, options) {
78118
+ async function $do123(client, request, options) {
77400
78119
  const parsed = safeParse4(request, (value) => DestroyVirtualNetworkRequest$outboundSchema.parse(value), "Input validation failed");
77401
78120
  if (!parsed.ok) {
77402
78121
  return [parsed, { status: "invalid" }];
@@ -77469,12 +78188,12 @@ var init_virtualNetworksDelete = __esm(() => {
77469
78188
  });
77470
78189
 
77471
78190
  // src/mcp-server/tools/virtualNetworksDelete.ts
77472
- var args113, tool$virtualNetworksDelete;
78191
+ var args117, tool$virtualNetworksDelete;
77473
78192
  var init_virtualNetworksDelete2 = __esm(() => {
77474
78193
  init_virtualNetworksDelete();
77475
78194
  init_operations();
77476
78195
  init_tools();
77477
- args113 = {
78196
+ args117 = {
77478
78197
  request: DestroyVirtualNetworkRequest$inboundSchema
77479
78198
  };
77480
78199
  tool$virtualNetworksDelete = {
@@ -77483,9 +78202,9 @@ var init_virtualNetworksDelete2 = __esm(() => {
77483
78202
 
77484
78203
  Delete virtual network
77485
78204
  `,
77486
- args: args113,
77487
- tool: async (client, args114, ctx) => {
77488
- const [result, apiCall] = await virtualNetworksDelete(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78205
+ args: args117,
78206
+ tool: async (client, args118, ctx) => {
78207
+ const [result, apiCall] = await virtualNetworksDelete(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77489
78208
  if (!result.ok) {
77490
78209
  return {
77491
78210
  content: [{ type: "text", text: result.error.message }],
@@ -77499,9 +78218,9 @@ Delete virtual network
77499
78218
 
77500
78219
  // src/funcs/vpnSessionsCreate.ts
77501
78220
  function vpnSessionsCreate(client, request, options) {
77502
- return new APIPromise($do120(client, request, options));
78221
+ return new APIPromise($do124(client, request, options));
77503
78222
  }
77504
- async function $do120(client, request, options) {
78223
+ async function $do124(client, request, options) {
77505
78224
  const parsed = safeParse4(request, (value) => PostVpnSessionRequest$outboundSchema.parse(value), "Input validation failed");
77506
78225
  if (!parsed.ok) {
77507
78226
  return [parsed, { status: "invalid" }];
@@ -77571,12 +78290,12 @@ var init_vpnSessionsCreate = __esm(() => {
77571
78290
  });
77572
78291
 
77573
78292
  // src/mcp-server/tools/vpnSessionsCreate.ts
77574
- var args114, tool$vpnSessionsCreate;
78293
+ var args118, tool$vpnSessionsCreate;
77575
78294
  var init_vpnSessionsCreate2 = __esm(() => {
77576
78295
  init_vpnSessionsCreate();
77577
78296
  init_operations();
77578
78297
  init_tools();
77579
- args114 = {
78298
+ args118 = {
77580
78299
  request: PostVpnSessionRequest$inboundSchema
77581
78300
  };
77582
78301
  tool$vpnSessionsCreate = {
@@ -77586,9 +78305,9 @@ var init_vpnSessionsCreate2 = __esm(() => {
77586
78305
  Creates a new VPN Session.
77587
78306
  \`NOTE:\` The VPN credentials are only listed ONCE upon creation. They can however be refreshed or deleted.
77588
78307
  `,
77589
- args: args114,
77590
- tool: async (client, args115, ctx) => {
77591
- const [result, apiCall] = await vpnSessionsCreate(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78308
+ args: args118,
78309
+ tool: async (client, args119, ctx) => {
78310
+ const [result, apiCall] = await vpnSessionsCreate(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77592
78311
  if (!result.ok) {
77593
78312
  return {
77594
78313
  content: [{ type: "text", text: result.error.message }],
@@ -77603,9 +78322,9 @@ Creates a new VPN Session.
77603
78322
 
77604
78323
  // src/funcs/vpnSessionsDelete.ts
77605
78324
  function vpnSessionsDelete(client, request, options) {
77606
- return new APIPromise($do121(client, request, options));
78325
+ return new APIPromise($do125(client, request, options));
77607
78326
  }
77608
- async function $do121(client, request, options) {
78327
+ async function $do125(client, request, options) {
77609
78328
  const parsed = safeParse4(request, (value) => DeleteVpnSessionRequest$outboundSchema.parse(value), "Input validation failed");
77610
78329
  if (!parsed.ok) {
77611
78330
  return [parsed, { status: "invalid" }];
@@ -77678,12 +78397,12 @@ var init_vpnSessionsDelete = __esm(() => {
77678
78397
  });
77679
78398
 
77680
78399
  // src/mcp-server/tools/vpnSessionsDelete.ts
77681
- var args115, tool$vpnSessionsDelete;
78400
+ var args119, tool$vpnSessionsDelete;
77682
78401
  var init_vpnSessionsDelete2 = __esm(() => {
77683
78402
  init_vpnSessionsDelete();
77684
78403
  init_operations();
77685
78404
  init_tools();
77686
- args115 = {
78405
+ args119 = {
77687
78406
  request: DeleteVpnSessionRequest$inboundSchema
77688
78407
  };
77689
78408
  tool$vpnSessionsDelete = {
@@ -77692,9 +78411,9 @@ var init_vpnSessionsDelete2 = __esm(() => {
77692
78411
 
77693
78412
  Deletes an existing VPN Session.
77694
78413
  `,
77695
- args: args115,
77696
- tool: async (client, args116, ctx) => {
77697
- const [result, apiCall] = await vpnSessionsDelete(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78414
+ args: args119,
78415
+ tool: async (client, args120, ctx) => {
78416
+ const [result, apiCall] = await vpnSessionsDelete(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77698
78417
  if (!result.ok) {
77699
78418
  return {
77700
78419
  content: [{ type: "text", text: result.error.message }],
@@ -77708,9 +78427,9 @@ Deletes an existing VPN Session.
77708
78427
 
77709
78428
  // src/funcs/vpnSessionsList.ts
77710
78429
  function vpnSessionsList(client, request, options) {
77711
- return new APIPromise($do122(client, request, options));
78430
+ return new APIPromise($do126(client, request, options));
77712
78431
  }
77713
- async function $do122(client, request, options) {
78432
+ async function $do126(client, request, options) {
77714
78433
  const parsed = safeParse4(request, (value) => GetVpnSessionsRequest$outboundSchema.optional().parse(value), "Input validation failed");
77715
78434
  if (!parsed.ok) {
77716
78435
  return [parsed, { status: "invalid" }];
@@ -77782,20 +78501,20 @@ var init_vpnSessionsList = __esm(() => {
77782
78501
  });
77783
78502
 
77784
78503
  // src/mcp-server/tools/vpnSessionsList.ts
77785
- var args116, tool$vpnSessionsList;
78504
+ var args120, tool$vpnSessionsList;
77786
78505
  var init_vpnSessionsList2 = __esm(() => {
77787
78506
  init_vpnSessionsList();
77788
78507
  init_operations();
77789
78508
  init_tools();
77790
- args116 = {
78509
+ args120 = {
77791
78510
  request: GetVpnSessionsRequest$inboundSchema.optional()
77792
78511
  };
77793
78512
  tool$vpnSessionsList = {
77794
78513
  name: "vpn-sessions-list",
77795
78514
  description: `List VPN sessions`,
77796
- args: args116,
77797
- tool: async (client, args117, ctx) => {
77798
- const [result, apiCall] = await vpnSessionsList(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78515
+ args: args120,
78516
+ tool: async (client, args121, ctx) => {
78517
+ const [result, apiCall] = await vpnSessionsList(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77799
78518
  if (!result.ok) {
77800
78519
  return {
77801
78520
  content: [{ type: "text", text: result.error.message }],
@@ -77810,9 +78529,9 @@ var init_vpnSessionsList2 = __esm(() => {
77810
78529
 
77811
78530
  // src/funcs/vpnSessionsRefreshPassword.ts
77812
78531
  function vpnSessionsRefreshPassword(client, request, options) {
77813
- return new APIPromise($do123(client, request, options));
78532
+ return new APIPromise($do127(client, request, options));
77814
78533
  }
77815
- async function $do123(client, request, options) {
78534
+ async function $do127(client, request, options) {
77816
78535
  const parsed = safeParse4(request, (value) => PutVpnSessionRequest$outboundSchema.parse(value), "Input validation failed");
77817
78536
  if (!parsed.ok) {
77818
78537
  return [parsed, { status: "invalid" }];
@@ -77887,12 +78606,12 @@ var init_vpnSessionsRefreshPassword = __esm(() => {
77887
78606
  });
77888
78607
 
77889
78608
  // src/mcp-server/tools/vpnSessionsRefreshPassword.ts
77890
- var args117, tool$vpnSessionsRefreshPassword;
78609
+ var args121, tool$vpnSessionsRefreshPassword;
77891
78610
  var init_vpnSessionsRefreshPassword2 = __esm(() => {
77892
78611
  init_vpnSessionsRefreshPassword();
77893
78612
  init_operations();
77894
78613
  init_tools();
77895
- args117 = {
78614
+ args121 = {
77896
78615
  request: PutVpnSessionRequest$inboundSchema
77897
78616
  };
77898
78617
  tool$vpnSessionsRefreshPassword = {
@@ -77901,9 +78620,9 @@ var init_vpnSessionsRefreshPassword2 = __esm(() => {
77901
78620
 
77902
78621
  Refreshing an existing VPN Session will create new credentials for that session
77903
78622
  `,
77904
- args: args117,
77905
- tool: async (client, args118, ctx) => {
77906
- const [result, apiCall] = await vpnSessionsRefreshPassword(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
78623
+ args: args121,
78624
+ tool: async (client, args122, ctx) => {
78625
+ const [result, apiCall] = await vpnSessionsRefreshPassword(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
77907
78626
  if (!result.ok) {
77908
78627
  return {
77909
78628
  content: [{ type: "text", text: result.error.message }],
@@ -77920,7 +78639,7 @@ Refreshing an existing VPN Session will create new credentials for that session
77920
78639
  function createMCPServer(deps) {
77921
78640
  const server2 = new McpServer({
77922
78641
  name: "Latitudesh",
77923
- version: "0.3.4"
78642
+ version: "0.3.5"
77924
78643
  });
77925
78644
  const client = new LatitudeshCore({
77926
78645
  bearer: deps.bearer,
@@ -78027,6 +78746,10 @@ function createMCPServer(deps) {
78027
78746
  tool(tool$storageGetStorageVolume);
78028
78747
  tool(tool$storageDeleteStorageVolumes);
78029
78748
  tool(tool$storagePostStorageVolumesMount);
78749
+ tool(tool$storageGetStorageObjects);
78750
+ tool(tool$storagePostStorageObjects);
78751
+ tool(tool$storageGetStorageObject);
78752
+ tool(tool$storageDeleteStorageObjects);
78030
78753
  tool(tool$tagsList);
78031
78754
  tool(tool$tagsCreate);
78032
78755
  tool(tool$tagsUpdate);
@@ -78145,10 +78868,14 @@ var init_server4 = __esm(() => {
78145
78868
  init_sshKeysUpdate2();
78146
78869
  init_storageCreateFilesystem2();
78147
78870
  init_storageDeleteFilesystem2();
78871
+ init_storageDeleteStorageObjects2();
78148
78872
  init_storageDeleteStorageVolumes2();
78873
+ init_storageGetStorageObject2();
78874
+ init_storageGetStorageObjects2();
78149
78875
  init_storageGetStorageVolume2();
78150
78876
  init_storageGetStorageVolumes2();
78151
78877
  init_storageListFilesystems2();
78878
+ init_storagePostStorageObjects2();
78152
78879
  init_storagePostStorageVolumes2();
78153
78880
  init_storagePostStorageVolumesMount2();
78154
78881
  init_storageUpdateFilesystem2();
@@ -79391,7 +80118,7 @@ var routes = ln({
79391
80118
  var app = _e(routes, {
79392
80119
  name: "mcp",
79393
80120
  versionInfo: {
79394
- currentVersion: "0.3.4"
80121
+ currentVersion: "0.3.5"
79395
80122
  }
79396
80123
  });
79397
80124
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -79399,5 +80126,5 @@ export {
79399
80126
  app
79400
80127
  };
79401
80128
 
79402
- //# debugId=53DB5379719D038564756E2164756E21
80129
+ //# debugId=5ECC390C4E7CD56B64756E2164756E21
79403
80130
  //# sourceMappingURL=mcp-server.js.map