@leaflow/sdk 0.169.0 → 0.170.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (837) hide show
  1. package/dist/compute/v2/generated/functions.d.ts +2819 -0
  2. package/dist/compute/v2/generated/functions.js +3040 -0
  3. package/dist/compute/v2/generated/models.d.ts +3550 -0
  4. package/dist/compute/v2/generated/models.js +438 -0
  5. package/dist/compute/v2/generated/schemas.zod.d.ts +2088 -0
  6. package/dist/compute/v2/generated/schemas.zod.js +2532 -0
  7. package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.d.ts +42 -0
  8. package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.js +40 -0
  9. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +40 -0
  10. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +39 -0
  11. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +40 -0
  12. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +39 -0
  13. package/dist/compute/v2/generated/validators/availabilityZoneID.zod.d.ts +41 -0
  14. package/dist/compute/v2/generated/validators/availabilityZoneID.zod.js +44 -0
  15. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +50 -0
  16. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +41 -0
  17. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +43 -0
  18. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +47 -0
  19. package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +45 -0
  20. package/dist/compute/v2/generated/validators/billingCancellation.zod.js +46 -0
  21. package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +54 -0
  22. package/dist/compute/v2/generated/validators/billingChoice.zod.js +46 -0
  23. package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +64 -0
  24. package/dist/compute/v2/generated/validators/billingComponent.zod.js +49 -0
  25. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +42 -0
  26. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +38 -0
  27. package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +48 -0
  28. package/dist/compute/v2/generated/validators/billingMeter.zod.js +46 -0
  29. package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +45 -0
  30. package/dist/compute/v2/generated/validators/billingPeriod.zod.js +40 -0
  31. package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +49 -0
  32. package/dist/compute/v2/generated/validators/billingQuantity.zod.js +42 -0
  33. package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +72 -0
  34. package/dist/compute/v2/generated/validators/bootVolume.zod.js +40 -0
  35. package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +41 -0
  36. package/dist/compute/v2/generated/validators/cancellationMode.zod.js +38 -0
  37. package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +41 -0
  38. package/dist/compute/v2/generated/validators/checkoutMode.zod.js +38 -0
  39. package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +48 -0
  40. package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +53 -0
  41. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +40 -0
  42. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +40 -0
  43. package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.d.ts +72 -0
  44. package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.js +53 -0
  45. package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.d.ts +138 -0
  46. package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.js +48 -0
  47. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +196 -0
  48. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +81 -0
  49. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +160 -0
  50. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +57 -0
  51. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +79 -0
  52. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +45 -0
  53. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +87 -0
  54. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +41 -0
  55. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +41 -0
  56. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +43 -0
  57. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +45 -0
  58. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +53 -0
  59. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +50 -0
  60. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +45 -0
  61. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +120 -0
  62. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +48 -0
  63. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +44 -0
  64. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +43 -0
  65. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +52 -0
  66. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +62 -0
  67. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +44 -0
  68. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +43 -0
  69. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +44 -0
  70. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +47 -0
  71. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +45 -0
  72. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +51 -0
  73. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +43 -0
  74. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +45 -0
  75. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +50 -0
  76. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +43 -0
  77. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +112 -0
  78. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +48 -0
  79. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +70 -0
  80. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +54 -0
  81. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +149 -0
  82. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +48 -0
  83. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +50 -0
  84. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +45 -0
  85. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +111 -0
  86. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +48 -0
  87. package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +41 -0
  88. package/dist/compute/v2/generated/validators/cursorPagination.zod.js +41 -0
  89. package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.d.ts +144 -0
  90. package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.js +45 -0
  91. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +43 -0
  92. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +41 -0
  93. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +43 -0
  94. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +41 -0
  95. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +164 -0
  96. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +45 -0
  97. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +43 -0
  98. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +41 -0
  99. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +126 -0
  100. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +45 -0
  101. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +43 -0
  102. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +41 -0
  103. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +118 -0
  104. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +45 -0
  105. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +43 -0
  106. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +41 -0
  107. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +155 -0
  108. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +45 -0
  109. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +43 -0
  110. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +41 -0
  111. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +117 -0
  112. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +45 -0
  113. package/dist/compute/v2/generated/validators/elasticIP.zod.d.ts +134 -0
  114. package/dist/compute/v2/generated/validators/elasticIP.zod.js +115 -0
  115. package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.d.ts +51 -0
  116. package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.js +50 -0
  117. package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +41 -0
  118. package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +44 -0
  119. package/dist/compute/v2/generated/validators/elasticIPID.zod.d.ts +41 -0
  120. package/dist/compute/v2/generated/validators/elasticIPID.zod.js +44 -0
  121. package/dist/compute/v2/generated/validators/elasticIPLine.zod.d.ts +113 -0
  122. package/dist/compute/v2/generated/validators/elasticIPLine.zod.js +68 -0
  123. package/dist/compute/v2/generated/validators/elasticIPLineID.zod.d.ts +41 -0
  124. package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +44 -0
  125. package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.d.ts +117 -0
  126. package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.js +41 -0
  127. package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.d.ts +141 -0
  128. package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.js +41 -0
  129. package/dist/compute/v2/generated/validators/elasticIPOperation.zod.d.ts +50 -0
  130. package/dist/compute/v2/generated/validators/elasticIPOperation.zod.js +50 -0
  131. package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.d.ts +44 -0
  132. package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.js +43 -0
  133. package/dist/compute/v2/generated/validators/error.zod.d.ts +43 -0
  134. package/dist/compute/v2/generated/validators/error.zod.js +44 -0
  135. package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +45 -0
  136. package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +46 -0
  137. package/dist/compute/v2/generated/validators/existingElasticIP.zod.d.ts +43 -0
  138. package/dist/compute/v2/generated/validators/existingElasticIP.zod.js +40 -0
  139. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +43 -0
  140. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +40 -0
  141. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +41 -0
  142. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +39 -0
  143. package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +42 -0
  144. package/dist/compute/v2/generated/validators/generatedPassword.zod.js +38 -0
  145. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +43 -0
  146. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +45 -0
  147. package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +41 -0
  148. package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.js +43 -0
  149. package/dist/compute/v2/generated/validators/imageID.zod.d.ts +41 -0
  150. package/dist/compute/v2/generated/validators/imageID.zod.js +44 -0
  151. package/dist/compute/v2/generated/validators/instance.zod.d.ts +157 -0
  152. package/dist/compute/v2/generated/validators/instance.zod.js +149 -0
  153. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +40 -0
  154. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +41 -0
  155. package/dist/compute/v2/generated/validators/instanceElasticIP.zod.d.ts +70 -0
  156. package/dist/compute/v2/generated/validators/instanceElasticIP.zod.js +40 -0
  157. package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +57 -0
  158. package/dist/compute/v2/generated/validators/instanceFamily.zod.js +54 -0
  159. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +42 -0
  160. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +38 -0
  161. package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +41 -0
  162. package/dist/compute/v2/generated/validators/instanceFamilyID.zod.js +44 -0
  163. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +64 -0
  164. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +41 -0
  165. package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +41 -0
  166. package/dist/compute/v2/generated/validators/instanceID.zod.js +44 -0
  167. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +161 -0
  168. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +41 -0
  169. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +41 -0
  170. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +44 -0
  171. package/dist/compute/v2/generated/validators/instanceOperation.zod.d.ts +61 -0
  172. package/dist/compute/v2/generated/validators/instanceOperation.zod.js +63 -0
  173. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +44 -0
  174. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +43 -0
  175. package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +49 -0
  176. package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +60 -0
  177. package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +80 -0
  178. package/dist/compute/v2/generated/validators/instanceType.zod.js +58 -0
  179. package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +41 -0
  180. package/dist/compute/v2/generated/validators/instanceTypeID.zod.js +44 -0
  181. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +87 -0
  182. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +41 -0
  183. package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +41 -0
  184. package/dist/compute/v2/generated/validators/instanceVolumeID.zod.js +44 -0
  185. package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +41 -0
  186. package/dist/compute/v2/generated/validators/internetChargeType.zod.js +38 -0
  187. package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +47 -0
  188. package/dist/compute/v2/generated/validators/launchTemplate.zod.js +47 -0
  189. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +47 -0
  190. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +48 -0
  191. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +46 -0
  192. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +46 -0
  193. package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.d.ts +46 -0
  194. package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.js +45 -0
  195. package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +41 -0
  196. package/dist/compute/v2/generated/validators/launchTemplateID.zod.js +44 -0
  197. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +54 -0
  198. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +41 -0
  199. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +42 -0
  200. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +47 -0
  201. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +41 -0
  202. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +46 -0
  203. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +75 -0
  204. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +57 -0
  205. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +82 -0
  206. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +41 -0
  207. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +46 -0
  208. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +53 -0
  209. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +48 -0
  210. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +55 -0
  211. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +52 -0
  212. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +55 -0
  213. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +45 -0
  214. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +47 -0
  215. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +46 -0
  216. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +53 -0
  217. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +45 -0
  218. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +51 -0
  219. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +48 -0
  220. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +57 -0
  221. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +45 -0
  222. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +51 -0
  223. package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +47 -0
  224. package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +53 -0
  225. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +45 -0
  226. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +51 -0
  227. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +46 -0
  228. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +53 -0
  229. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +45 -0
  230. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +51 -0
  231. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +47 -0
  232. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +57 -0
  233. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +46 -0
  234. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +53 -0
  235. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +46 -0
  236. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +53 -0
  237. package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +45 -0
  238. package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +47 -0
  239. package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +45 -0
  240. package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +47 -0
  241. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +45 -0
  242. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +51 -0
  243. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +47 -0
  244. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +55 -0
  245. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +45 -0
  246. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +51 -0
  247. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +45 -0
  248. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +51 -0
  249. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +45 -0
  250. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +51 -0
  251. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +46 -0
  252. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +53 -0
  253. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +46 -0
  254. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +53 -0
  255. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +46 -0
  256. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +53 -0
  257. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +47 -0
  258. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +55 -0
  259. package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +47 -0
  260. package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +51 -0
  261. package/dist/compute/v2/generated/validators/money.zod.d.ts +38 -0
  262. package/dist/compute/v2/generated/validators/money.zod.js +38 -0
  263. package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +100 -0
  264. package/dist/compute/v2/generated/validators/networkInterface.zod.js +62 -0
  265. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +54 -0
  266. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +49 -0
  267. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +40 -0
  268. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +41 -0
  269. package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +41 -0
  270. package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +44 -0
  271. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +58 -0
  272. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +51 -0
  273. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +65 -0
  274. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +41 -0
  275. package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +41 -0
  276. package/dist/compute/v2/generated/validators/networkInterfaceID.zod.js +44 -0
  277. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +107 -0
  278. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +41 -0
  279. package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.d.ts +50 -0
  280. package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.js +52 -0
  281. package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +67 -0
  282. package/dist/compute/v2/generated/validators/newBootVolume.zod.js +52 -0
  283. package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +57 -0
  284. package/dist/compute/v2/generated/validators/newCompute.zod.js +43 -0
  285. package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +63 -0
  286. package/dist/compute/v2/generated/validators/newDataVolume.zod.js +52 -0
  287. package/dist/compute/v2/generated/validators/newElasticIP.zod.d.ts +66 -0
  288. package/dist/compute/v2/generated/validators/newElasticIP.zod.js +52 -0
  289. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +76 -0
  290. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +62 -0
  291. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +45 -0
  292. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +47 -0
  293. package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +43 -0
  294. package/dist/compute/v2/generated/validators/offsetPagination.zod.js +43 -0
  295. package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +41 -0
  296. package/dist/compute/v2/generated/validators/operationLogID.zod.js +44 -0
  297. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +65 -0
  298. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +41 -0
  299. package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +58 -0
  300. package/dist/compute/v2/generated/validators/operationLogResource.zod.js +68 -0
  301. package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +47 -0
  302. package/dist/compute/v2/generated/validators/passwordChoice.zod.js +40 -0
  303. package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +43 -0
  304. package/dist/compute/v2/generated/validators/performanceFormula.zod.js +43 -0
  305. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +49 -0
  306. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +40 -0
  307. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +123 -0
  308. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +41 -0
  309. package/dist/compute/v2/generated/validators/privateImageOperation.zod.d.ts +46 -0
  310. package/dist/compute/v2/generated/validators/privateImageOperation.zod.js +43 -0
  311. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +44 -0
  312. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +43 -0
  313. package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +117 -0
  314. package/dist/compute/v2/generated/validators/privateImageResource.zod.js +110 -0
  315. package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +63 -0
  316. package/dist/compute/v2/generated/validators/projectQuota.zod.js +48 -0
  317. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +69 -0
  318. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +41 -0
  319. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +61 -0
  320. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +41 -0
  321. package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +55 -0
  322. package/dist/compute/v2/generated/validators/publicImageResource.zod.js +65 -0
  323. package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +53 -0
  324. package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +53 -0
  325. package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +41 -0
  326. package/dist/compute/v2/generated/validators/quotaSource.zod.js +38 -0
  327. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +40 -0
  328. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +41 -0
  329. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +50 -0
  330. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +41 -0
  331. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +157 -0
  332. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +43 -0
  333. package/dist/compute/v2/generated/validators/regionID.zod.d.ts +41 -0
  334. package/dist/compute/v2/generated/validators/regionID.zod.js +44 -0
  335. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +131 -0
  336. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +41 -0
  337. package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +124 -0
  338. package/dist/compute/v2/generated/validators/regionResource.zod.js +52 -0
  339. package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +75 -0
  340. package/dist/compute/v2/generated/validators/releaseResource.zod.js +51 -0
  341. package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +78 -0
  342. package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +42 -0
  343. package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.d.ts +42 -0
  344. package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.js +44 -0
  345. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +157 -0
  346. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +40 -0
  347. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +40 -0
  348. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +41 -0
  349. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +40 -0
  350. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +39 -0
  351. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +43 -0
  352. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +50 -0
  353. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +44 -0
  354. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +49 -0
  355. package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +46 -0
  356. package/dist/compute/v2/generated/validators/securityGroup.zod.js +48 -0
  357. package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +41 -0
  358. package/dist/compute/v2/generated/validators/securityGroupID.zod.js +44 -0
  359. package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +39 -0
  360. package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.js +40 -0
  361. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +53 -0
  362. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +41 -0
  363. package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +52 -0
  364. package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +56 -0
  365. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +41 -0
  366. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +36 -0
  367. package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +41 -0
  368. package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +44 -0
  369. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +59 -0
  370. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +41 -0
  371. package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +41 -0
  372. package/dist/compute/v2/generated/validators/subnetID.zod.js +44 -0
  373. package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +45 -0
  374. package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +45 -0
  375. package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +41 -0
  376. package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +38 -0
  377. package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +44 -0
  378. package/dist/compute/v2/generated/validators/trafficUsage.zod.js +44 -0
  379. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +49 -0
  380. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +41 -0
  381. package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.d.ts +53 -0
  382. package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +48 -0
  383. package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.d.ts +138 -0
  384. package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +49 -0
  385. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +55 -0
  386. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +60 -0
  387. package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.d.ts +158 -0
  388. package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +49 -0
  389. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +44 -0
  390. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +48 -0
  391. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +43 -0
  392. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +49 -0
  393. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +41 -0
  394. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +39 -0
  395. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +43 -0
  396. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +41 -0
  397. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +41 -0
  398. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +39 -0
  399. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +41 -0
  400. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +39 -0
  401. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +41 -0
  402. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +41 -0
  403. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +52 -0
  404. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +54 -0
  405. package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.d.ts +149 -0
  406. package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.js +49 -0
  407. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +41 -0
  408. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +41 -0
  409. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +60 -0
  410. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +56 -0
  411. package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +41 -0
  412. package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.js +44 -0
  413. package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +39 -0
  414. package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.js +40 -0
  415. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +67 -0
  416. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +41 -0
  417. package/dist/compute/v2/generated/validators/virtualPrivateCloudOperation.zod.d.ts +46 -0
  418. package/dist/compute/v2/generated/validators/virtualPrivateCloudOperation.zod.js +41 -0
  419. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +41 -0
  420. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +44 -0
  421. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +73 -0
  422. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +41 -0
  423. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.d.ts +44 -0
  424. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.js +43 -0
  425. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +66 -0
  426. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +62 -0
  427. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +41 -0
  428. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +44 -0
  429. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +57 -0
  430. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +41 -0
  431. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +50 -0
  432. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +54 -0
  433. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +41 -0
  434. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +38 -0
  435. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +48 -0
  436. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +54 -0
  437. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +55 -0
  438. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +41 -0
  439. package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +63 -0
  440. package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +56 -0
  441. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +70 -0
  442. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +41 -0
  443. package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +41 -0
  444. package/dist/compute/v2/generated/validators/volumeBackupID.zod.js +44 -0
  445. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +115 -0
  446. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +41 -0
  447. package/dist/compute/v2/generated/validators/volumeBackupOperation.zod.d.ts +45 -0
  448. package/dist/compute/v2/generated/validators/volumeBackupOperation.zod.js +43 -0
  449. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +44 -0
  450. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +43 -0
  451. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +108 -0
  452. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +90 -0
  453. package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +41 -0
  454. package/dist/compute/v2/generated/validators/volumeID.zod.js +44 -0
  455. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +152 -0
  456. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +41 -0
  457. package/dist/compute/v2/generated/validators/volumeOperation.zod.d.ts +51 -0
  458. package/dist/compute/v2/generated/validators/volumeOperation.zod.js +53 -0
  459. package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +41 -0
  460. package/dist/compute/v2/generated/validators/volumePerformance.zod.js +41 -0
  461. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +44 -0
  462. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +43 -0
  463. package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +145 -0
  464. package/dist/compute/v2/generated/validators/volumeResource.zod.js +93 -0
  465. package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +41 -0
  466. package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.js +44 -0
  467. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +114 -0
  468. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +41 -0
  469. package/dist/compute/v2/generated/validators/volumeSnapshotOperation.zod.d.ts +45 -0
  470. package/dist/compute/v2/generated/validators/volumeSnapshotOperation.zod.js +43 -0
  471. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +45 -0
  472. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +43 -0
  473. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +107 -0
  474. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +87 -0
  475. package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +41 -0
  476. package/dist/compute/v2/generated/validators/volumeTypeID.zod.js +44 -0
  477. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +103 -0
  478. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +41 -0
  479. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +51 -0
  480. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +42 -0
  481. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +96 -0
  482. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +55 -0
  483. package/dist/index.d.ts +1 -1
  484. package/dist/index.js +1 -1
  485. package/dist/routes.d.ts +362 -236
  486. package/dist/routes.js +376 -236
  487. package/package.json +1 -1
  488. package/dist/compute/v1/generated/functions.d.ts +0 -2481
  489. package/dist/compute/v1/generated/functions.js +0 -2736
  490. package/dist/compute/v1/generated/models.d.ts +0 -2813
  491. package/dist/compute/v1/generated/models.js +0 -363
  492. package/dist/compute/v1/generated/schemas.zod.d.ts +0 -1501
  493. package/dist/compute/v1/generated/schemas.zod.js +0 -1390
  494. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.d.ts +0 -59
  495. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.js +0 -44
  496. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +0 -99
  497. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.js +0 -37
  498. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.d.ts +0 -29
  499. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.js +0 -27
  500. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.d.ts +0 -29
  501. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.js +0 -27
  502. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.d.ts +0 -29
  503. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.js +0 -27
  504. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.d.ts +0 -44
  505. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.js +0 -58
  506. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.d.ts +0 -51
  507. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.js +0 -30
  508. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.d.ts +0 -61
  509. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.js +0 -30
  510. package/dist/compute/v1/generated/validators/backupOperation.zod.d.ts +0 -34
  511. package/dist/compute/v1/generated/validators/backupOperation.zod.js +0 -32
  512. package/dist/compute/v1/generated/validators/backupResource.zod.d.ts +0 -54
  513. package/dist/compute/v1/generated/validators/backupResource.zod.js +0 -53
  514. package/dist/compute/v1/generated/validators/backupService.zod.d.ts +0 -46
  515. package/dist/compute/v1/generated/validators/backupService.zod.js +0 -68
  516. package/dist/compute/v1/generated/validators/billingChoice.zod.d.ts +0 -43
  517. package/dist/compute/v1/generated/validators/billingChoice.zod.js +0 -35
  518. package/dist/compute/v1/generated/validators/billingComponent.zod.d.ts +0 -54
  519. package/dist/compute/v1/generated/validators/billingComponent.zod.js +0 -43
  520. package/dist/compute/v1/generated/validators/billingMeter.zod.d.ts +0 -36
  521. package/dist/compute/v1/generated/validators/billingMeter.zod.js +0 -34
  522. package/dist/compute/v1/generated/validators/billingPeriod.zod.d.ts +0 -34
  523. package/dist/compute/v1/generated/validators/billingPeriod.zod.js +0 -29
  524. package/dist/compute/v1/generated/validators/billingQuantity.zod.d.ts +0 -32
  525. package/dist/compute/v1/generated/validators/billingQuantity.zod.js +0 -27
  526. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.d.ts +0 -29
  527. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.js +0 -27
  528. package/dist/compute/v1/generated/validators/bootDisk.zod.d.ts +0 -58
  529. package/dist/compute/v1/generated/validators/bootDisk.zod.js +0 -29
  530. package/dist/compute/v1/generated/validators/cancellationMode.zod.d.ts +0 -30
  531. package/dist/compute/v1/generated/validators/cancellationMode.zod.js +0 -27
  532. package/dist/compute/v1/generated/validators/checkoutMode.zod.d.ts +0 -30
  533. package/dist/compute/v1/generated/validators/checkoutMode.zod.js +0 -27
  534. package/dist/compute/v1/generated/validators/checkoutOptions.zod.d.ts +0 -37
  535. package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +0 -42
  536. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.d.ts +0 -33
  537. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.js +0 -38
  538. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.d.ts +0 -29
  539. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.js +0 -29
  540. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.d.ts +0 -29
  541. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.js +0 -29
  542. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.d.ts +0 -54
  543. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.js +0 -31
  544. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +0 -48
  545. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.js +0 -35
  546. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.d.ts +0 -31
  547. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.js +0 -29
  548. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.d.ts +0 -36
  549. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.js +0 -28
  550. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +0 -48
  551. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.js +0 -35
  552. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.d.ts +0 -59
  553. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.js +0 -42
  554. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +0 -109
  555. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.js +0 -37
  556. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.d.ts +0 -56
  557. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.js +0 -35
  558. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +0 -94
  559. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.js +0 -37
  560. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.d.ts +0 -33
  561. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.js +0 -31
  562. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.d.ts +0 -34
  563. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.js +0 -40
  564. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.d.ts +0 -33
  565. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.js +0 -35
  566. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.d.ts +0 -34
  567. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.js +0 -40
  568. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.d.ts +0 -33
  569. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.js +0 -31
  570. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.d.ts +0 -44
  571. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.js +0 -50
  572. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.d.ts +0 -31
  573. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.js +0 -31
  574. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.d.ts +0 -32
  575. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.js +0 -34
  576. package/dist/compute/v1/generated/validators/cursorPagination.zod.d.ts +0 -30
  577. package/dist/compute/v1/generated/validators/cursorPagination.zod.js +0 -30
  578. package/dist/compute/v1/generated/validators/deleteBackupCapacityPackParams.zod.d.ts +0 -32
  579. package/dist/compute/v1/generated/validators/deleteBackupCapacityPackParams.zod.js +0 -30
  580. package/dist/compute/v1/generated/validators/deleteBackupServiceParams.zod.d.ts +0 -32
  581. package/dist/compute/v1/generated/validators/deleteBackupServiceParams.zod.js +0 -30
  582. package/dist/compute/v1/generated/validators/deleteDiskParams.zod.d.ts +0 -32
  583. package/dist/compute/v1/generated/validators/deleteDiskParams.zod.js +0 -30
  584. package/dist/compute/v1/generated/validators/deleteDiskResponseBody.zod.d.ts +0 -121
  585. package/dist/compute/v1/generated/validators/deleteDiskResponseBody.zod.js +0 -32
  586. package/dist/compute/v1/generated/validators/deleteImageParams.zod.d.ts +0 -32
  587. package/dist/compute/v1/generated/validators/deleteImageParams.zod.js +0 -30
  588. package/dist/compute/v1/generated/validators/deleteImageResponseBody.zod.d.ts +0 -106
  589. package/dist/compute/v1/generated/validators/deleteImageResponseBody.zod.js +0 -32
  590. package/dist/compute/v1/generated/validators/deleteInstanceParams.zod.d.ts +0 -32
  591. package/dist/compute/v1/generated/validators/deleteInstanceParams.zod.js +0 -30
  592. package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.d.ts +0 -135
  593. package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.js +0 -32
  594. package/dist/compute/v1/generated/validators/deleteSnapshotQuotaParams.zod.d.ts +0 -32
  595. package/dist/compute/v1/generated/validators/deleteSnapshotQuotaParams.zod.js +0 -30
  596. package/dist/compute/v1/generated/validators/diskAttachment.zod.d.ts +0 -46
  597. package/dist/compute/v1/generated/validators/diskAttachment.zod.js +0 -36
  598. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.d.ts +0 -53
  599. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.js +0 -30
  600. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +0 -112
  601. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.js +0 -30
  602. package/dist/compute/v1/generated/validators/diskOperation.zod.d.ts +0 -39
  603. package/dist/compute/v1/generated/validators/diskOperation.zod.js +0 -32
  604. package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +0 -105
  605. package/dist/compute/v1/generated/validators/diskResource.zod.js +0 -100
  606. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.d.ts +0 -83
  607. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.js +0 -30
  608. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.d.ts +0 -30
  609. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.js +0 -27
  610. package/dist/compute/v1/generated/validators/diskTypeResource.zod.d.ts +0 -76
  611. package/dist/compute/v1/generated/validators/diskTypeResource.zod.js +0 -54
  612. package/dist/compute/v1/generated/validators/error.zod.d.ts +0 -32
  613. package/dist/compute/v1/generated/validators/error.zod.js +0 -33
  614. package/dist/compute/v1/generated/validators/existingBootDisk.zod.d.ts +0 -34
  615. package/dist/compute/v1/generated/validators/existingBootDisk.zod.js +0 -36
  616. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +0 -102
  617. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.js +0 -30
  618. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.d.ts +0 -38
  619. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.js +0 -30
  620. package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +0 -95
  621. package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +0 -93
  622. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.d.ts +0 -32
  623. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.js +0 -35
  624. package/dist/compute/v1/generated/validators/iPv4Binding.zod.d.ts +0 -41
  625. package/dist/compute/v1/generated/validators/iPv4Binding.zod.js +0 -35
  626. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.d.ts +0 -66
  627. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.js +0 -30
  628. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.d.ts +0 -59
  629. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.js +0 -31
  630. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +0 -35
  631. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +0 -31
  632. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.d.ts +0 -97
  633. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.js +0 -30
  634. package/dist/compute/v1/generated/validators/imageOperation.zod.d.ts +0 -35
  635. package/dist/compute/v1/generated/validators/imageOperation.zod.js +0 -32
  636. package/dist/compute/v1/generated/validators/imageResource.zod.d.ts +0 -91
  637. package/dist/compute/v1/generated/validators/imageResource.zod.js +0 -117
  638. package/dist/compute/v1/generated/validators/imageVisibility.zod.d.ts +0 -30
  639. package/dist/compute/v1/generated/validators/imageVisibility.zod.js +0 -27
  640. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.d.ts +0 -126
  641. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.js +0 -30
  642. package/dist/compute/v1/generated/validators/instanceOperation.zod.d.ts +0 -47
  643. package/dist/compute/v1/generated/validators/instanceOperation.zod.js +0 -49
  644. package/dist/compute/v1/generated/validators/instanceResource.zod.d.ts +0 -122
  645. package/dist/compute/v1/generated/validators/instanceResource.zod.js +0 -130
  646. package/dist/compute/v1/generated/validators/instanceRestriction.zod.d.ts +0 -39
  647. package/dist/compute/v1/generated/validators/instanceRestriction.zod.js +0 -35
  648. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.d.ts +0 -74
  649. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.js +0 -30
  650. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.d.ts +0 -67
  651. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.js +0 -47
  652. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.d.ts +0 -121
  653. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.js +0 -71
  654. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +0 -125
  655. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.js +0 -46
  656. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.d.ts +0 -34
  657. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.js +0 -40
  658. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.d.ts +0 -34
  659. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.js +0 -40
  660. package/dist/compute/v1/generated/validators/listBackupsParams.zod.d.ts +0 -35
  661. package/dist/compute/v1/generated/validators/listBackupsParams.zod.js +0 -37
  662. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.d.ts +0 -39
  663. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.js +0 -39
  664. package/dist/compute/v1/generated/validators/listDisksParams.zod.d.ts +0 -36
  665. package/dist/compute/v1/generated/validators/listDisksParams.zod.js +0 -38
  666. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.d.ts +0 -34
  667. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.js +0 -40
  668. package/dist/compute/v1/generated/validators/listImagesParams.zod.d.ts +0 -39
  669. package/dist/compute/v1/generated/validators/listImagesParams.zod.js +0 -39
  670. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.d.ts +0 -34
  671. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.js +0 -40
  672. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.d.ts +0 -34
  673. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.js +0 -40
  674. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.d.ts +0 -35
  675. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.js +0 -41
  676. package/dist/compute/v1/generated/validators/listInstancesParams.zod.d.ts +0 -36
  677. package/dist/compute/v1/generated/validators/listInstancesParams.zod.js +0 -42
  678. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.d.ts +0 -35
  679. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.js +0 -37
  680. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.d.ts +0 -36
  681. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.js +0 -46
  682. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.d.ts +0 -34
  683. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.js +0 -36
  684. package/dist/compute/v1/generated/validators/listPortsParams.zod.d.ts +0 -34
  685. package/dist/compute/v1/generated/validators/listPortsParams.zod.js +0 -36
  686. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.d.ts +0 -35
  687. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.js +0 -41
  688. package/dist/compute/v1/generated/validators/listRegionsParams.zod.d.ts +0 -34
  689. package/dist/compute/v1/generated/validators/listRegionsParams.zod.js +0 -36
  690. package/dist/compute/v1/generated/validators/listRoutesParams.zod.d.ts +0 -34
  691. package/dist/compute/v1/generated/validators/listRoutesParams.zod.js +0 -36
  692. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.d.ts +0 -34
  693. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.js +0 -40
  694. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.d.ts +0 -36
  695. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.js +0 -45
  696. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.d.ts +0 -35
  697. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.js +0 -37
  698. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.d.ts +0 -34
  699. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.js +0 -36
  700. package/dist/compute/v1/generated/validators/money.zod.d.ts +0 -27
  701. package/dist/compute/v1/generated/validators/money.zod.js +0 -27
  702. package/dist/compute/v1/generated/validators/newBootDisk.zod.d.ts +0 -54
  703. package/dist/compute/v1/generated/validators/newBootDisk.zod.js +0 -42
  704. package/dist/compute/v1/generated/validators/newCompute.zod.d.ts +0 -47
  705. package/dist/compute/v1/generated/validators/newCompute.zod.js +0 -35
  706. package/dist/compute/v1/generated/validators/newFloatingIP.zod.d.ts +0 -48
  707. package/dist/compute/v1/generated/validators/newFloatingIP.zod.js +0 -33
  708. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.d.ts +0 -29
  709. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.js +0 -29
  710. package/dist/compute/v1/generated/validators/offsetPagination.zod.d.ts +0 -32
  711. package/dist/compute/v1/generated/validators/offsetPagination.zod.js +0 -32
  712. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.d.ts +0 -47
  713. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.js +0 -30
  714. package/dist/compute/v1/generated/validators/operationLogResource.zod.d.ts +0 -40
  715. package/dist/compute/v1/generated/validators/operationLogResource.zod.js +0 -48
  716. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.d.ts +0 -59
  717. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.js +0 -30
  718. package/dist/compute/v1/generated/validators/peeringOperation.zod.d.ts +0 -33
  719. package/dist/compute/v1/generated/validators/peeringOperation.zod.js +0 -32
  720. package/dist/compute/v1/generated/validators/peeringResource.zod.d.ts +0 -52
  721. package/dist/compute/v1/generated/validators/peeringResource.zod.js +0 -47
  722. package/dist/compute/v1/generated/validators/portAddress.zod.d.ts +0 -41
  723. package/dist/compute/v1/generated/validators/portAddress.zod.js +0 -34
  724. package/dist/compute/v1/generated/validators/portAttachment.zod.d.ts +0 -45
  725. package/dist/compute/v1/generated/validators/portAttachment.zod.js +0 -35
  726. package/dist/compute/v1/generated/validators/portAttachmentList.zod.d.ts +0 -52
  727. package/dist/compute/v1/generated/validators/portAttachmentList.zod.js +0 -30
  728. package/dist/compute/v1/generated/validators/portListResponseBody.zod.d.ts +0 -91
  729. package/dist/compute/v1/generated/validators/portListResponseBody.zod.js +0 -30
  730. package/dist/compute/v1/generated/validators/portOperation.zod.d.ts +0 -35
  731. package/dist/compute/v1/generated/validators/portOperation.zod.js +0 -30
  732. package/dist/compute/v1/generated/validators/portResource.zod.d.ts +0 -84
  733. package/dist/compute/v1/generated/validators/portResource.zod.js +0 -47
  734. package/dist/compute/v1/generated/validators/powerRequest.zod.d.ts +0 -29
  735. package/dist/compute/v1/generated/validators/powerRequest.zod.js +0 -27
  736. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.d.ts +0 -41
  737. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.js +0 -30
  738. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.d.ts +0 -34
  739. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.js +0 -32
  740. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.d.ts +0 -29
  741. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.js +0 -30
  742. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.d.ts +0 -33
  743. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.js +0 -34
  744. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.d.ts +0 -122
  745. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.js +0 -29
  746. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.d.ts +0 -151
  747. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.js +0 -30
  748. package/dist/compute/v1/generated/validators/regionResource.zod.d.ts +0 -144
  749. package/dist/compute/v1/generated/validators/regionResource.zod.js +0 -45
  750. package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.d.ts +0 -111
  751. package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.js +0 -32
  752. package/dist/compute/v1/generated/validators/releaseFloatingIpParams.zod.d.ts +0 -32
  753. package/dist/compute/v1/generated/validators/releaseFloatingIpParams.zod.js +0 -30
  754. package/dist/compute/v1/generated/validators/releaseResource.zod.d.ts +0 -39
  755. package/dist/compute/v1/generated/validators/releaseResource.zod.js +0 -43
  756. package/dist/compute/v1/generated/validators/releaseSetItem.zod.d.ts +0 -42
  757. package/dist/compute/v1/generated/validators/releaseSetItem.zod.js +0 -31
  758. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.d.ts +0 -30
  759. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.js +0 -28
  760. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.d.ts +0 -30
  761. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.js +0 -28
  762. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.d.ts +0 -30
  763. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.js +0 -28
  764. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.d.ts +0 -30
  765. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.js +0 -28
  766. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.d.ts +0 -30
  767. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.js +0 -28
  768. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.d.ts +0 -30
  769. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.js +0 -28
  770. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.d.ts +0 -30
  771. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.js +0 -28
  772. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.d.ts +0 -31
  773. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.js +0 -36
  774. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.d.ts +0 -29
  775. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.js +0 -29
  776. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.d.ts +0 -38
  777. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.js +0 -33
  778. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +0 -109
  779. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.js +0 -37
  780. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.d.ts +0 -39
  781. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.js +0 -37
  782. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +0 -123
  783. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.js +0 -37
  784. package/dist/compute/v1/generated/validators/resourceCancellation.zod.d.ts +0 -40
  785. package/dist/compute/v1/generated/validators/resourceCancellation.zod.js +0 -39
  786. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.d.ts +0 -59
  787. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.js +0 -43
  788. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.d.ts +0 -29
  789. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.js +0 -27
  790. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.d.ts +0 -41
  791. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.js +0 -30
  792. package/dist/compute/v1/generated/validators/routeResource.zod.d.ts +0 -34
  793. package/dist/compute/v1/generated/validators/routeResource.zod.js +0 -38
  794. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.d.ts +0 -32
  795. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.js +0 -39
  796. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.d.ts +0 -41
  797. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.js +0 -30
  798. package/dist/compute/v1/generated/validators/securityGroupResource.zod.d.ts +0 -34
  799. package/dist/compute/v1/generated/validators/securityGroupResource.zod.js +0 -34
  800. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.d.ts +0 -50
  801. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.js +0 -30
  802. package/dist/compute/v1/generated/validators/securityRuleResource.zod.d.ts +0 -43
  803. package/dist/compute/v1/generated/validators/securityRuleResource.zod.js +0 -41
  804. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.d.ts +0 -38
  805. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.js +0 -35
  806. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +0 -99
  807. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.js +0 -37
  808. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.d.ts +0 -30
  809. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.js +0 -30
  810. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.d.ts +0 -30
  811. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.js +0 -31
  812. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.d.ts +0 -55
  813. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.js +0 -38
  814. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +0 -68
  815. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.js +0 -35
  816. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +0 -61
  817. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.js +0 -30
  818. package/dist/compute/v1/generated/validators/snapshotOperation.zod.d.ts +0 -34
  819. package/dist/compute/v1/generated/validators/snapshotOperation.zod.js +0 -32
  820. package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +0 -67
  821. package/dist/compute/v1/generated/validators/snapshotQuota.zod.js +0 -86
  822. package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +0 -54
  823. package/dist/compute/v1/generated/validators/snapshotResource.zod.js +0 -48
  824. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.d.ts +0 -41
  825. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.js +0 -30
  826. package/dist/compute/v1/generated/validators/subnetResource.zod.d.ts +0 -34
  827. package/dist/compute/v1/generated/validators/subnetResource.zod.js +0 -32
  828. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.d.ts +0 -32
  829. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.js +0 -34
  830. package/dist/compute/v1/generated/validators/terminationPolicy.zod.d.ts +0 -30
  831. package/dist/compute/v1/generated/validators/terminationPolicy.zod.js +0 -27
  832. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.d.ts +0 -38
  833. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.js +0 -30
  834. package/dist/compute/v1/generated/validators/zoneResource.zod.d.ts +0 -31
  835. package/dist/compute/v1/generated/validators/zoneResource.zod.js +0 -33
  836. /package/dist/compute/{v1 → v2}/index.d.ts +0 -0
  837. /package/dist/compute/{v1 → v2}/index.js +0 -0
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
+ * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
+ * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
+ * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
+ * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
+ * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
+ * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
+ * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
+ * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
+ * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
+ *
26
+ * ## Resource identifiers
27
+ *
28
+ * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
+ *
30
+ * ## Error meta
31
+ *
32
+ * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
+ * OpenAPI spec version: 2.0.0
34
+ */
35
+ import * as zod from "zod";
36
+ export const VolumeSnapshotOperation = zod
37
+ .strictObject({
38
+ type: zod
39
+ .enum(["create", "restore", "delete"])
40
+ .describe("`restore`: a volume is being reverted to this snapshot (`revert-volume`) or created from it (`create-volume` with `volume_snapshot_id`)."),
41
+ started_at: zod.iso.datetime({ offset: true }),
42
+ })
43
+ .describe("An operation still running on this snapshot. It is not a separate resource; once it finishes, the snapshot's `operation` is null again and the snapshot shows the result.");
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
+ * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
+ * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
+ * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
+ * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
+ * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
+ * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
+ * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
+ * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
+ * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
+ *
26
+ * ## Resource identifiers
27
+ *
28
+ * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
+ *
30
+ * ## Error meta
31
+ *
32
+ * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
+ * OpenAPI spec version: 2.0.0
34
+ */
35
+ import * as zod from "zod";
36
+ export declare const VolumeSnapshotReleaseResource: zod.ZodObject<{
37
+ type: zod.ZodEnum<{
38
+ volume_snapshot: "volume_snapshot";
39
+ snapshot: "snapshot";
40
+ }>;
41
+ id: zod.ZodString;
42
+ name: zod.ZodString;
43
+ }, zod.z.core.$strict>;
44
+ export type VolumeSnapshotReleaseResource = zod.input<typeof VolumeSnapshotReleaseResource>;
45
+ export type VolumeSnapshotReleaseResourceOutput = zod.output<typeof VolumeSnapshotReleaseResource>;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
+ * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
+ * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
+ * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
+ * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
+ * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
+ * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
+ * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
+ * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
+ * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
+ *
26
+ * ## Resource identifiers
27
+ *
28
+ * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
+ *
30
+ * ## Error meta
31
+ *
32
+ * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
+ * OpenAPI spec version: 2.0.0
34
+ */
35
+ import * as zod from "zod";
36
+ import { VolumeSnapshotID } from "./volumeSnapshotID.zod.js";
37
+ export const VolumeSnapshotReleaseResource = zod
38
+ .strictObject({
39
+ type: zod.enum(["volume_snapshot", "snapshot"]),
40
+ id: VolumeSnapshotID,
41
+ name: zod.string().describe("The current display name of the selected resource."),
42
+ })
43
+ .describe("A resource a release set releases.");
@@ -0,0 +1,107 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
+ * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
+ * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
+ * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
+ * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
+ * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
+ * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
+ * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
+ * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
+ * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
+ *
26
+ * ## Resource identifiers
27
+ *
28
+ * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
+ *
30
+ * ## Error meta
31
+ *
32
+ * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
+ * OpenAPI spec version: 2.0.0
34
+ */
35
+ import * as zod from "zod";
36
+ export declare const VolumeSnapshotResource: zod.ZodObject<{
37
+ availability_zone_id: zod.ZodString;
38
+ created_at: zod.z.ZodISODateTime;
39
+ volume_id: zod.ZodString;
40
+ id: zod.ZodString;
41
+ name: zod.ZodString;
42
+ region_id: zod.ZodString;
43
+ size_gib: zod.ZodInt;
44
+ status: zod.ZodEnum<{
45
+ deleted: "deleted";
46
+ available: "available";
47
+ error: "error";
48
+ failed: "failed";
49
+ pending: "pending";
50
+ }>;
51
+ operation: zod.ZodUnion<readonly [zod.ZodObject<{
52
+ type: zod.ZodEnum<{
53
+ create: "create";
54
+ delete: "delete";
55
+ restore: "restore";
56
+ }>;
57
+ started_at: zod.z.ZodISODateTime;
58
+ }, zod.z.core.$strict>, zod.ZodNull]>;
59
+ failure_reason: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"order_declined">, zod.ZodLiteral<"order_canceled">, zod.ZodLiteral<"order_expired">, zod.ZodLiteral<"checkout_expired">, zod.ZodLiteral<"provisioning_failed">, zod.ZodLiteral<null>]>>;
60
+ checkout_session_id: zod.ZodNullable<zod.ZodUUID>;
61
+ order_id: zod.ZodNullable<zod.ZodUUID>;
62
+ order_item_id: zod.ZodNullable<zod.ZodUUID>;
63
+ subscription_id: zod.ZodNullable<zod.ZodUUID>;
64
+ release_set: zod.ZodArray<zod.ZodObject<{
65
+ subscription_id: zod.ZodUUID;
66
+ resource: zod.ZodDiscriminatedUnion<[zod.ZodObject<{
67
+ type: zod.ZodEnum<{
68
+ instance: "instance";
69
+ }>;
70
+ id: zod.ZodString;
71
+ name: zod.ZodString;
72
+ }, zod.z.core.$strict>, zod.ZodObject<{
73
+ type: zod.ZodEnum<{
74
+ volume: "volume";
75
+ }>;
76
+ id: zod.ZodString;
77
+ name: zod.ZodString;
78
+ }, zod.z.core.$strict>, zod.ZodObject<{
79
+ type: zod.ZodEnum<{
80
+ elastic_ip: "elastic_ip";
81
+ }>;
82
+ id: zod.ZodString;
83
+ name: zod.ZodString;
84
+ }, zod.z.core.$strict>, zod.ZodObject<{
85
+ type: zod.ZodEnum<{
86
+ volume_snapshot: "volume_snapshot";
87
+ snapshot: "snapshot";
88
+ }>;
89
+ id: zod.ZodString;
90
+ name: zod.ZodString;
91
+ }, zod.z.core.$strict>, zod.ZodObject<{
92
+ type: zod.ZodEnum<{
93
+ volume_backup: "volume_backup";
94
+ }>;
95
+ id: zod.ZodString;
96
+ name: zod.ZodString;
97
+ }, zod.z.core.$strict>, zod.ZodObject<{
98
+ type: zod.ZodEnum<{
99
+ private_image: "private_image";
100
+ }>;
101
+ id: zod.ZodString;
102
+ name: zod.ZodString;
103
+ }, zod.z.core.$strict>], "type">;
104
+ }, zod.z.core.$strict>>;
105
+ }, zod.z.core.$strict>;
106
+ export type VolumeSnapshotResource = zod.input<typeof VolumeSnapshotResource>;
107
+ export type VolumeSnapshotResourceOutput = zod.output<typeof VolumeSnapshotResource>;
@@ -0,0 +1,87 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
+ * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
+ * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
+ * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
+ * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
+ * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
+ * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
+ * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
+ * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
+ * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
+ *
26
+ * ## Resource identifiers
27
+ *
28
+ * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
+ *
30
+ * ## Error meta
31
+ *
32
+ * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
+ * OpenAPI spec version: 2.0.0
34
+ */
35
+ import * as zod from "zod";
36
+ import { AvailabilityZoneID } from "./availabilityZoneID.zod.js";
37
+ import { RegionID } from "./regionID.zod.js";
38
+ import { ReleaseSetItem } from "./releaseSetItem.zod.js";
39
+ import { VolumeID } from "./volumeID.zod.js";
40
+ import { VolumeSnapshotID } from "./volumeSnapshotID.zod.js";
41
+ import { VolumeSnapshotOperation } from "./volumeSnapshotOperation.zod.js";
42
+ export const VolumeSnapshotResource = zod
43
+ .strictObject({
44
+ availability_zone_id: AvailabilityZoneID,
45
+ created_at: zod.iso.datetime({ offset: true }),
46
+ volume_id: VolumeID,
47
+ id: VolumeSnapshotID,
48
+ name: zod.string(),
49
+ region_id: RegionID,
50
+ size_gib: zod
51
+ .int()
52
+ .describe("Capacity of the source volume when the snapshot was created. A volume restored from it cannot be smaller"),
53
+ status: zod
54
+ .enum(["pending", "available", "deleted", "failed", "error"])
55
+ .describe("`pending` once a quota slot is reserved and until the snapshot is taken, showing the `create` operation while it is taken; then `available`. `failed` means the snapshot was not created; its slot is released once no snapshot data remains. `error` means the cloud reports the snapshot broken."),
56
+ operation: zod
57
+ .union([VolumeSnapshotOperation, zod.null()])
58
+ .describe("The operation in progress on this snapshot, or null when none is."),
59
+ failure_reason: zod
60
+ .union([
61
+ zod.literal("order_declined"),
62
+ zod.literal("order_canceled"),
63
+ zod.literal("order_expired"),
64
+ zod.literal("checkout_expired"),
65
+ zod.literal("provisioning_failed"),
66
+ zod.literal(null),
67
+ ])
68
+ .nullable()
69
+ .describe("Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this snapshot is refunded."),
70
+ checkout_session_id: zod
71
+ .uuid()
72
+ .nullable()
73
+ .describe("The Billing Checkout Session that bought this resource; `order_id` and `order_item_id` stay null until its checkout completes. Null when the resource was not bought through one."),
74
+ order_id: zod
75
+ .uuid()
76
+ .nullable()
77
+ .describe("The Billing order that bought this resource; null until checkout completes."),
78
+ order_item_id: zod.uuid().nullable().describe("The Billing order item for this resource."),
79
+ subscription_id: zod
80
+ .uuid()
81
+ .nullable()
82
+ .describe("The subscription for this resource; its presence alone does not imply delivery."),
83
+ release_set: zod
84
+ .array(ReleaseSetItem)
85
+ .describe("The subscription that pays for this snapshot, with the resource it pays for, so that a cancellation through Billing can name what it releases. Empty when no subscription pays for it, and once it is released."),
86
+ })
87
+ .describe("A snapshot of a volume. Compute project quotas constrain its count; retained storage is metered independently of that quota.");
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
+ * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
+ * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
+ * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
+ * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
+ * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
+ * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
+ * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
+ * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
+ * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
+ *
26
+ * ## Resource identifiers
27
+ *
28
+ * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
+ *
30
+ * ## Error meta
31
+ *
32
+ * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
+ * OpenAPI spec version: 2.0.0
34
+ */
35
+ import * as zod from "zod";
36
+ export declare const VolumeTypeIDMin = 34;
37
+ export declare const VolumeTypeIDMax = 34;
38
+ export declare const VolumeTypeIDRegExp: RegExp;
39
+ export declare const VolumeTypeID: zod.ZodString;
40
+ export type VolumeTypeID = zod.input<typeof VolumeTypeID>;
41
+ export type VolumeTypeIDOutput = zod.output<typeof VolumeTypeID>;
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
+ * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
+ * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
+ * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
+ * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
+ * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
+ * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
+ * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
+ * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
+ * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
+ *
26
+ * ## Resource identifiers
27
+ *
28
+ * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
+ *
30
+ * ## Error meta
31
+ *
32
+ * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
+ * OpenAPI spec version: 2.0.0
34
+ */
35
+ import * as zod from "zod";
36
+ export const VolumeTypeIDMin = 34;
37
+ export const VolumeTypeIDMax = 34;
38
+ export const VolumeTypeIDRegExp = new RegExp("^voltype_[0-7][0123456789abcdefghjkmnpqrstvwxyz]{25}$");
39
+ export const VolumeTypeID = zod
40
+ .string()
41
+ .min(VolumeTypeIDMin)
42
+ .max(VolumeTypeIDMax)
43
+ .regex(VolumeTypeIDRegExp)
44
+ .describe("Compute VolumeType TypeID. UUID text is not accepted.");
@@ -0,0 +1,103 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, volumes, snapshots, volume backups, public and private images, virtual private clouds, subnets, routes, security groups, network interfaces and elastic IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme. The catalog reads, which list and retrieve regions, availability zones, instance types, volume types, public images and elastic IP lines, also answer without a token, so a visitor can configure a purchase and price it with Billing before signing in. A token given to them is still verified, and an invalid one is refused.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
+ * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
+ * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
+ * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
+ * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
+ * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
+ * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
+ * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
+ * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
23
+ * - **Elastic IP release.** A released address returns to available inventory as soon as its cleanup is confirmed, with no cooldown period. Removing or replacing an elastic IP's association keeps the address held by the project and does not release it.
24
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
25
+ *
26
+ * ## Resource identifiers
27
+ *
28
+ * Compute resource IDs use the fixed TypeID prefix declared in their schema. UUID text is not accepted for these resource IDs. Project, order, subscription and Billing Plan identifiers remain UUIDs. Historical operation-log subject IDs are audit facts and are not rewritten.
29
+ *
30
+ * ## Error meta
31
+ *
32
+ * Resource identifiers in an error's `meta` (`resource_id`, `volume_id`, `network_interface_id` and the like) are TypeIDs, in the same form as the identifiers in resources. `meta.resource_type` is the resource's name as written in paths, with underscores: `instance`, `volume`, `elastic_ip`, `network_interface`, `virtual_private_cloud`, `private_image`, `volume_backup`, and so on.
33
+ * OpenAPI spec version: 2.0.0
34
+ */
35
+ import * as zod from "zod";
36
+ export declare const VolumeTypeListResponseBody: zod.ZodObject<{
37
+ items: zod.ZodArray<zod.ZodObject<{
38
+ availability_zone_id: zod.ZodString;
39
+ sale_status: zod.ZodEnum<{
40
+ on_sale: "on_sale";
41
+ sold_out: "sold_out";
42
+ }>;
43
+ id: zod.ZodString;
44
+ max_size_gib: zod.ZodInt;
45
+ medium: zod.ZodEnum<{
46
+ ssd: "ssd";
47
+ hdd: "hdd";
48
+ nvme: "nvme";
49
+ }>;
50
+ min_size_gib: zod.ZodInt;
51
+ name: zod.ZodString;
52
+ region_id: zod.ZodString;
53
+ size_step_gib: zod.ZodInt;
54
+ performance: zod.ZodObject<{
55
+ iops: zod.ZodObject<{
56
+ min: zod.ZodInt;
57
+ base: zod.ZodInt;
58
+ per_gib: zod.ZodInt;
59
+ max: zod.ZodInt;
60
+ }, zod.z.core.$strict>;
61
+ throughput_bytes_per_second: zod.ZodObject<{
62
+ min: zod.ZodInt;
63
+ base: zod.ZodInt;
64
+ per_gib: zod.ZodInt;
65
+ max: zod.ZodInt;
66
+ }, zod.z.core.$strict>;
67
+ }, zod.z.core.$strict>;
68
+ billing: zod.ZodObject<{
69
+ plan_id: zod.ZodUUID;
70
+ dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
71
+ quantity: zod.ZodObject<{
72
+ licensed: zod.ZodOptional<zod.ZodEnum<{
73
+ one: "one";
74
+ size_gib: "size_gib";
75
+ bandwidth_mbps: "bandwidth_mbps";
76
+ }>>;
77
+ metered: zod.ZodOptional<zod.ZodEnum<{
78
+ one: "one";
79
+ size_gib: "size_gib";
80
+ bandwidth_mbps: "bandwidth_mbps";
81
+ }>>;
82
+ }, zod.z.core.$strict>;
83
+ meters: zod.ZodArray<zod.ZodObject<{
84
+ meter_lookup_key: zod.ZodString;
85
+ quantity: zod.ZodEnum<{
86
+ one: "one";
87
+ size_gib: "size_gib";
88
+ bandwidth_mbps: "bandwidth_mbps";
89
+ stored_gib: "stored_gib";
90
+ egress_bytes: "egress_bytes";
91
+ }>;
92
+ resource_dimensions: zod.ZodArray<zod.ZodString>;
93
+ }, zod.z.core.$strict>>;
94
+ }, zod.z.core.$strict>;
95
+ }, zod.z.core.$strict>>;
96
+ pagination: zod.ZodObject<{
97
+ page: zod.ZodInt;
98
+ page_size: zod.ZodInt;
99
+ total_count: zod.ZodOptional<zod.ZodInt>;
100
+ }, zod.z.core.$strict>;
101
+ }, zod.z.core.$strict>;
102
+ export type VolumeTypeListResponseBody = zod.input<typeof VolumeTypeListResponseBody>;
103
+ export type VolumeTypeListResponseBodyOutput = zod.output<typeof VolumeTypeListResponseBody>;