@leaflow/sdk 0.168.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 (917) 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 +2 -1
  484. package/dist/index.js +2 -1
  485. package/dist/routes.d.ts +490 -236
  486. package/dist/routes.js +520 -236
  487. package/dist/swas-legacy/v1/generated/functions.d.ts +652 -0
  488. package/dist/swas-legacy/v1/generated/functions.js +438 -0
  489. package/dist/swas-legacy/v1/generated/models.d.ts +0 -0
  490. package/dist/swas-legacy/v1/generated/models.js +98 -0
  491. package/dist/swas-legacy/v1/generated/schemas.zod.d.ts +257 -0
  492. package/dist/swas-legacy/v1/generated/schemas.zod.js +288 -0
  493. package/dist/swas-legacy/v1/generated/validators/capabilities.zod.d.ts +16 -0
  494. package/dist/swas-legacy/v1/generated/validators/capabilities.zod.js +14 -0
  495. package/dist/swas-legacy/v1/generated/validators/console.zod.d.ts +16 -0
  496. package/dist/swas-legacy/v1/generated/validators/console.zod.js +16 -0
  497. package/dist/swas-legacy/v1/generated/validators/createInstanceConsoleHeaders.zod.d.ts +15 -0
  498. package/dist/swas-legacy/v1/generated/validators/createInstanceConsoleHeaders.zod.js +17 -0
  499. package/dist/swas-legacy/v1/generated/validators/createInstanceFirewallRuleHeaders.zod.d.ts +15 -0
  500. package/dist/swas-legacy/v1/generated/validators/createInstanceFirewallRuleHeaders.zod.js +17 -0
  501. package/dist/swas-legacy/v1/generated/validators/decimal.zod.d.ts +12 -0
  502. package/dist/swas-legacy/v1/generated/validators/decimal.zod.js +10 -0
  503. package/dist/swas-legacy/v1/generated/validators/deleteInstanceFirewallRuleHeaders.zod.d.ts +15 -0
  504. package/dist/swas-legacy/v1/generated/validators/deleteInstanceFirewallRuleHeaders.zod.js +17 -0
  505. package/dist/swas-legacy/v1/generated/validators/error.zod.d.ts +21 -0
  506. package/dist/swas-legacy/v1/generated/validators/error.zod.js +19 -0
  507. package/dist/swas-legacy/v1/generated/validators/firewallRule.zod.d.ts +24 -0
  508. package/dist/swas-legacy/v1/generated/validators/firewallRule.zod.js +17 -0
  509. package/dist/swas-legacy/v1/generated/validators/firewallRuleList.zod.d.ts +29 -0
  510. package/dist/swas-legacy/v1/generated/validators/firewallRuleList.zod.js +14 -0
  511. package/dist/swas-legacy/v1/generated/validators/firewallWriteRequest.zod.d.ts +28 -0
  512. package/dist/swas-legacy/v1/generated/validators/firewallWriteRequest.zod.js +0 -0
  513. package/dist/swas-legacy/v1/generated/validators/generationRequest.zod.d.ts +13 -0
  514. package/dist/swas-legacy/v1/generated/validators/generationRequest.zod.js +11 -0
  515. package/dist/swas-legacy/v1/generated/validators/image.zod.d.ts +20 -0
  516. package/dist/swas-legacy/v1/generated/validators/image.zod.js +18 -0
  517. package/dist/swas-legacy/v1/generated/validators/imageList.zod.d.ts +24 -0
  518. package/dist/swas-legacy/v1/generated/validators/imageList.zod.js +14 -0
  519. package/dist/swas-legacy/v1/generated/validators/instance.zod.d.ts +82 -0
  520. package/dist/swas-legacy/v1/generated/validators/instance.zod.js +33 -0
  521. package/dist/swas-legacy/v1/generated/validators/instanceList.zod.d.ts +88 -0
  522. package/dist/swas-legacy/v1/generated/validators/instanceList.zod.js +14 -0
  523. package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.d.ts +33 -0
  524. package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.js +31 -0
  525. package/dist/swas-legacy/v1/generated/validators/listInstanceFirewallRulesParams.zod.d.ts +18 -0
  526. package/dist/swas-legacy/v1/generated/validators/listInstanceFirewallRulesParams.zod.js +24 -0
  527. package/dist/swas-legacy/v1/generated/validators/listInstanceMetricsParams.zod.d.ts +19 -0
  528. package/dist/swas-legacy/v1/generated/validators/listInstanceMetricsParams.zod.js +12 -0
  529. package/dist/swas-legacy/v1/generated/validators/listInstanceOperationsParams.zod.d.ts +18 -0
  530. package/dist/swas-legacy/v1/generated/validators/listInstanceOperationsParams.zod.js +24 -0
  531. package/dist/swas-legacy/v1/generated/validators/listInstanceReinstallImagesParams.zod.d.ts +18 -0
  532. package/dist/swas-legacy/v1/generated/validators/listInstanceReinstallImagesParams.zod.js +24 -0
  533. package/dist/swas-legacy/v1/generated/validators/listInstancesParams.zod.d.ts +18 -0
  534. package/dist/swas-legacy/v1/generated/validators/listInstancesParams.zod.js +20 -0
  535. package/dist/swas-legacy/v1/generated/validators/metricPoint.zod.d.ts +14 -0
  536. package/dist/swas-legacy/v1/generated/validators/metricPoint.zod.js +13 -0
  537. package/dist/swas-legacy/v1/generated/validators/metricSeries.zod.d.ts +30 -0
  538. package/dist/swas-legacy/v1/generated/validators/metricSeries.zod.js +23 -0
  539. package/dist/swas-legacy/v1/generated/validators/metrics.zod.d.ts +41 -0
  540. package/dist/swas-legacy/v1/generated/validators/metrics.zod.js +19 -0
  541. package/dist/swas-legacy/v1/generated/validators/operation.zod.d.ts +35 -0
  542. package/dist/swas-legacy/v1/generated/validators/operation.zod.js +33 -0
  543. package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.d.ts +39 -0
  544. package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.js +16 -0
  545. package/dist/swas-legacy/v1/generated/validators/pagination.zod.d.ts +18 -0
  546. package/dist/swas-legacy/v1/generated/validators/pagination.zod.js +18 -0
  547. package/dist/swas-legacy/v1/generated/validators/passwordRequest.zod.d.ts +17 -0
  548. package/dist/swas-legacy/v1/generated/validators/passwordRequest.zod.js +0 -0
  549. package/dist/swas-legacy/v1/generated/validators/rebootInstanceHeaders.zod.d.ts +15 -0
  550. package/dist/swas-legacy/v1/generated/validators/rebootInstanceHeaders.zod.js +17 -0
  551. package/dist/swas-legacy/v1/generated/validators/reinstallInstanceHeaders.zod.d.ts +15 -0
  552. package/dist/swas-legacy/v1/generated/validators/reinstallInstanceHeaders.zod.js +17 -0
  553. package/dist/swas-legacy/v1/generated/validators/reinstallRequest.zod.d.ts +17 -0
  554. package/dist/swas-legacy/v1/generated/validators/reinstallRequest.zod.js +19 -0
  555. package/dist/swas-legacy/v1/generated/validators/setInstancePasswordHeaders.zod.d.ts +15 -0
  556. package/dist/swas-legacy/v1/generated/validators/setInstancePasswordHeaders.zod.js +17 -0
  557. package/dist/swas-legacy/v1/generated/validators/startInstanceHeaders.zod.d.ts +15 -0
  558. package/dist/swas-legacy/v1/generated/validators/startInstanceHeaders.zod.js +17 -0
  559. package/dist/swas-legacy/v1/generated/validators/stopInstanceHeaders.zod.d.ts +15 -0
  560. package/dist/swas-legacy/v1/generated/validators/stopInstanceHeaders.zod.js +17 -0
  561. package/dist/swas-legacy/v1/generated/validators/traffic.zod.d.ts +22 -0
  562. package/dist/swas-legacy/v1/generated/validators/traffic.zod.js +20 -0
  563. package/dist/swas-legacy/v1/generated/validators/updateInstanceFirewallRuleHeaders.zod.d.ts +15 -0
  564. package/dist/swas-legacy/v1/generated/validators/updateInstanceFirewallRuleHeaders.zod.js +17 -0
  565. package/dist/swas-legacy/v1/index.d.ts +3 -0
  566. package/dist/swas-legacy/v1/index.js +3 -0
  567. package/package.json +1 -1
  568. package/dist/compute/v1/generated/functions.d.ts +0 -2481
  569. package/dist/compute/v1/generated/functions.js +0 -2736
  570. package/dist/compute/v1/generated/models.d.ts +0 -2813
  571. package/dist/compute/v1/generated/models.js +0 -363
  572. package/dist/compute/v1/generated/schemas.zod.d.ts +0 -1501
  573. package/dist/compute/v1/generated/schemas.zod.js +0 -1390
  574. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.d.ts +0 -59
  575. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.js +0 -44
  576. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +0 -99
  577. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.js +0 -37
  578. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.d.ts +0 -29
  579. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.js +0 -27
  580. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.d.ts +0 -29
  581. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.js +0 -27
  582. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.d.ts +0 -29
  583. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.js +0 -27
  584. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.d.ts +0 -44
  585. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.js +0 -58
  586. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.d.ts +0 -51
  587. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.js +0 -30
  588. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.d.ts +0 -61
  589. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.js +0 -30
  590. package/dist/compute/v1/generated/validators/backupOperation.zod.d.ts +0 -34
  591. package/dist/compute/v1/generated/validators/backupOperation.zod.js +0 -32
  592. package/dist/compute/v1/generated/validators/backupResource.zod.d.ts +0 -54
  593. package/dist/compute/v1/generated/validators/backupResource.zod.js +0 -53
  594. package/dist/compute/v1/generated/validators/backupService.zod.d.ts +0 -46
  595. package/dist/compute/v1/generated/validators/backupService.zod.js +0 -68
  596. package/dist/compute/v1/generated/validators/billingChoice.zod.d.ts +0 -43
  597. package/dist/compute/v1/generated/validators/billingChoice.zod.js +0 -35
  598. package/dist/compute/v1/generated/validators/billingComponent.zod.d.ts +0 -54
  599. package/dist/compute/v1/generated/validators/billingComponent.zod.js +0 -43
  600. package/dist/compute/v1/generated/validators/billingMeter.zod.d.ts +0 -36
  601. package/dist/compute/v1/generated/validators/billingMeter.zod.js +0 -34
  602. package/dist/compute/v1/generated/validators/billingPeriod.zod.d.ts +0 -34
  603. package/dist/compute/v1/generated/validators/billingPeriod.zod.js +0 -29
  604. package/dist/compute/v1/generated/validators/billingQuantity.zod.d.ts +0 -32
  605. package/dist/compute/v1/generated/validators/billingQuantity.zod.js +0 -27
  606. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.d.ts +0 -29
  607. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.js +0 -27
  608. package/dist/compute/v1/generated/validators/bootDisk.zod.d.ts +0 -58
  609. package/dist/compute/v1/generated/validators/bootDisk.zod.js +0 -29
  610. package/dist/compute/v1/generated/validators/cancellationMode.zod.d.ts +0 -30
  611. package/dist/compute/v1/generated/validators/cancellationMode.zod.js +0 -27
  612. package/dist/compute/v1/generated/validators/checkoutMode.zod.d.ts +0 -30
  613. package/dist/compute/v1/generated/validators/checkoutMode.zod.js +0 -27
  614. package/dist/compute/v1/generated/validators/checkoutOptions.zod.d.ts +0 -37
  615. package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +0 -42
  616. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.d.ts +0 -33
  617. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.js +0 -38
  618. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.d.ts +0 -29
  619. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.js +0 -29
  620. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.d.ts +0 -29
  621. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.js +0 -29
  622. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.d.ts +0 -54
  623. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.js +0 -31
  624. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +0 -48
  625. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.js +0 -35
  626. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.d.ts +0 -31
  627. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.js +0 -29
  628. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.d.ts +0 -36
  629. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.js +0 -28
  630. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +0 -48
  631. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.js +0 -35
  632. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.d.ts +0 -59
  633. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.js +0 -42
  634. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +0 -109
  635. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.js +0 -37
  636. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.d.ts +0 -56
  637. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.js +0 -35
  638. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +0 -94
  639. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.js +0 -37
  640. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.d.ts +0 -33
  641. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.js +0 -31
  642. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.d.ts +0 -34
  643. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.js +0 -40
  644. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.d.ts +0 -33
  645. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.js +0 -35
  646. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.d.ts +0 -34
  647. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.js +0 -40
  648. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.d.ts +0 -33
  649. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.js +0 -31
  650. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.d.ts +0 -44
  651. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.js +0 -50
  652. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.d.ts +0 -31
  653. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.js +0 -31
  654. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.d.ts +0 -32
  655. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.js +0 -34
  656. package/dist/compute/v1/generated/validators/cursorPagination.zod.d.ts +0 -30
  657. package/dist/compute/v1/generated/validators/cursorPagination.zod.js +0 -30
  658. package/dist/compute/v1/generated/validators/deleteBackupCapacityPackParams.zod.d.ts +0 -32
  659. package/dist/compute/v1/generated/validators/deleteBackupCapacityPackParams.zod.js +0 -30
  660. package/dist/compute/v1/generated/validators/deleteBackupServiceParams.zod.d.ts +0 -32
  661. package/dist/compute/v1/generated/validators/deleteBackupServiceParams.zod.js +0 -30
  662. package/dist/compute/v1/generated/validators/deleteDiskParams.zod.d.ts +0 -32
  663. package/dist/compute/v1/generated/validators/deleteDiskParams.zod.js +0 -30
  664. package/dist/compute/v1/generated/validators/deleteDiskResponseBody.zod.d.ts +0 -121
  665. package/dist/compute/v1/generated/validators/deleteDiskResponseBody.zod.js +0 -32
  666. package/dist/compute/v1/generated/validators/deleteImageParams.zod.d.ts +0 -32
  667. package/dist/compute/v1/generated/validators/deleteImageParams.zod.js +0 -30
  668. package/dist/compute/v1/generated/validators/deleteImageResponseBody.zod.d.ts +0 -106
  669. package/dist/compute/v1/generated/validators/deleteImageResponseBody.zod.js +0 -32
  670. package/dist/compute/v1/generated/validators/deleteInstanceParams.zod.d.ts +0 -32
  671. package/dist/compute/v1/generated/validators/deleteInstanceParams.zod.js +0 -30
  672. package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.d.ts +0 -135
  673. package/dist/compute/v1/generated/validators/deleteInstanceResponseBody.zod.js +0 -32
  674. package/dist/compute/v1/generated/validators/deleteSnapshotQuotaParams.zod.d.ts +0 -32
  675. package/dist/compute/v1/generated/validators/deleteSnapshotQuotaParams.zod.js +0 -30
  676. package/dist/compute/v1/generated/validators/diskAttachment.zod.d.ts +0 -46
  677. package/dist/compute/v1/generated/validators/diskAttachment.zod.js +0 -36
  678. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.d.ts +0 -53
  679. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.js +0 -30
  680. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +0 -112
  681. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.js +0 -30
  682. package/dist/compute/v1/generated/validators/diskOperation.zod.d.ts +0 -39
  683. package/dist/compute/v1/generated/validators/diskOperation.zod.js +0 -32
  684. package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +0 -105
  685. package/dist/compute/v1/generated/validators/diskResource.zod.js +0 -100
  686. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.d.ts +0 -83
  687. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.js +0 -30
  688. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.d.ts +0 -30
  689. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.js +0 -27
  690. package/dist/compute/v1/generated/validators/diskTypeResource.zod.d.ts +0 -76
  691. package/dist/compute/v1/generated/validators/diskTypeResource.zod.js +0 -54
  692. package/dist/compute/v1/generated/validators/error.zod.d.ts +0 -32
  693. package/dist/compute/v1/generated/validators/error.zod.js +0 -33
  694. package/dist/compute/v1/generated/validators/existingBootDisk.zod.d.ts +0 -34
  695. package/dist/compute/v1/generated/validators/existingBootDisk.zod.js +0 -36
  696. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +0 -102
  697. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.js +0 -30
  698. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.d.ts +0 -38
  699. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.js +0 -30
  700. package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +0 -95
  701. package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +0 -93
  702. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.d.ts +0 -32
  703. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.js +0 -35
  704. package/dist/compute/v1/generated/validators/iPv4Binding.zod.d.ts +0 -41
  705. package/dist/compute/v1/generated/validators/iPv4Binding.zod.js +0 -35
  706. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.d.ts +0 -66
  707. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.js +0 -30
  708. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.d.ts +0 -59
  709. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.js +0 -31
  710. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +0 -35
  711. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +0 -31
  712. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.d.ts +0 -97
  713. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.js +0 -30
  714. package/dist/compute/v1/generated/validators/imageOperation.zod.d.ts +0 -35
  715. package/dist/compute/v1/generated/validators/imageOperation.zod.js +0 -32
  716. package/dist/compute/v1/generated/validators/imageResource.zod.d.ts +0 -91
  717. package/dist/compute/v1/generated/validators/imageResource.zod.js +0 -117
  718. package/dist/compute/v1/generated/validators/imageVisibility.zod.d.ts +0 -30
  719. package/dist/compute/v1/generated/validators/imageVisibility.zod.js +0 -27
  720. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.d.ts +0 -126
  721. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.js +0 -30
  722. package/dist/compute/v1/generated/validators/instanceOperation.zod.d.ts +0 -47
  723. package/dist/compute/v1/generated/validators/instanceOperation.zod.js +0 -49
  724. package/dist/compute/v1/generated/validators/instanceResource.zod.d.ts +0 -122
  725. package/dist/compute/v1/generated/validators/instanceResource.zod.js +0 -130
  726. package/dist/compute/v1/generated/validators/instanceRestriction.zod.d.ts +0 -39
  727. package/dist/compute/v1/generated/validators/instanceRestriction.zod.js +0 -35
  728. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.d.ts +0 -74
  729. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.js +0 -30
  730. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.d.ts +0 -67
  731. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.js +0 -47
  732. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.d.ts +0 -121
  733. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.js +0 -71
  734. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +0 -125
  735. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.js +0 -46
  736. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.d.ts +0 -34
  737. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.js +0 -40
  738. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.d.ts +0 -34
  739. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.js +0 -40
  740. package/dist/compute/v1/generated/validators/listBackupsParams.zod.d.ts +0 -35
  741. package/dist/compute/v1/generated/validators/listBackupsParams.zod.js +0 -37
  742. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.d.ts +0 -39
  743. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.js +0 -39
  744. package/dist/compute/v1/generated/validators/listDisksParams.zod.d.ts +0 -36
  745. package/dist/compute/v1/generated/validators/listDisksParams.zod.js +0 -38
  746. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.d.ts +0 -34
  747. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.js +0 -40
  748. package/dist/compute/v1/generated/validators/listImagesParams.zod.d.ts +0 -39
  749. package/dist/compute/v1/generated/validators/listImagesParams.zod.js +0 -39
  750. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.d.ts +0 -34
  751. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.js +0 -40
  752. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.d.ts +0 -34
  753. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.js +0 -40
  754. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.d.ts +0 -35
  755. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.js +0 -41
  756. package/dist/compute/v1/generated/validators/listInstancesParams.zod.d.ts +0 -36
  757. package/dist/compute/v1/generated/validators/listInstancesParams.zod.js +0 -42
  758. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.d.ts +0 -35
  759. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.js +0 -37
  760. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.d.ts +0 -36
  761. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.js +0 -46
  762. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.d.ts +0 -34
  763. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.js +0 -36
  764. package/dist/compute/v1/generated/validators/listPortsParams.zod.d.ts +0 -34
  765. package/dist/compute/v1/generated/validators/listPortsParams.zod.js +0 -36
  766. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.d.ts +0 -35
  767. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.js +0 -41
  768. package/dist/compute/v1/generated/validators/listRegionsParams.zod.d.ts +0 -34
  769. package/dist/compute/v1/generated/validators/listRegionsParams.zod.js +0 -36
  770. package/dist/compute/v1/generated/validators/listRoutesParams.zod.d.ts +0 -34
  771. package/dist/compute/v1/generated/validators/listRoutesParams.zod.js +0 -36
  772. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.d.ts +0 -34
  773. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.js +0 -40
  774. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.d.ts +0 -36
  775. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.js +0 -45
  776. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.d.ts +0 -35
  777. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.js +0 -37
  778. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.d.ts +0 -34
  779. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.js +0 -36
  780. package/dist/compute/v1/generated/validators/money.zod.d.ts +0 -27
  781. package/dist/compute/v1/generated/validators/money.zod.js +0 -27
  782. package/dist/compute/v1/generated/validators/newBootDisk.zod.d.ts +0 -54
  783. package/dist/compute/v1/generated/validators/newBootDisk.zod.js +0 -42
  784. package/dist/compute/v1/generated/validators/newCompute.zod.d.ts +0 -47
  785. package/dist/compute/v1/generated/validators/newCompute.zod.js +0 -35
  786. package/dist/compute/v1/generated/validators/newFloatingIP.zod.d.ts +0 -48
  787. package/dist/compute/v1/generated/validators/newFloatingIP.zod.js +0 -33
  788. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.d.ts +0 -29
  789. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.js +0 -29
  790. package/dist/compute/v1/generated/validators/offsetPagination.zod.d.ts +0 -32
  791. package/dist/compute/v1/generated/validators/offsetPagination.zod.js +0 -32
  792. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.d.ts +0 -47
  793. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.js +0 -30
  794. package/dist/compute/v1/generated/validators/operationLogResource.zod.d.ts +0 -40
  795. package/dist/compute/v1/generated/validators/operationLogResource.zod.js +0 -48
  796. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.d.ts +0 -59
  797. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.js +0 -30
  798. package/dist/compute/v1/generated/validators/peeringOperation.zod.d.ts +0 -33
  799. package/dist/compute/v1/generated/validators/peeringOperation.zod.js +0 -32
  800. package/dist/compute/v1/generated/validators/peeringResource.zod.d.ts +0 -52
  801. package/dist/compute/v1/generated/validators/peeringResource.zod.js +0 -47
  802. package/dist/compute/v1/generated/validators/portAddress.zod.d.ts +0 -41
  803. package/dist/compute/v1/generated/validators/portAddress.zod.js +0 -34
  804. package/dist/compute/v1/generated/validators/portAttachment.zod.d.ts +0 -45
  805. package/dist/compute/v1/generated/validators/portAttachment.zod.js +0 -35
  806. package/dist/compute/v1/generated/validators/portAttachmentList.zod.d.ts +0 -52
  807. package/dist/compute/v1/generated/validators/portAttachmentList.zod.js +0 -30
  808. package/dist/compute/v1/generated/validators/portListResponseBody.zod.d.ts +0 -91
  809. package/dist/compute/v1/generated/validators/portListResponseBody.zod.js +0 -30
  810. package/dist/compute/v1/generated/validators/portOperation.zod.d.ts +0 -35
  811. package/dist/compute/v1/generated/validators/portOperation.zod.js +0 -30
  812. package/dist/compute/v1/generated/validators/portResource.zod.d.ts +0 -84
  813. package/dist/compute/v1/generated/validators/portResource.zod.js +0 -47
  814. package/dist/compute/v1/generated/validators/powerRequest.zod.d.ts +0 -29
  815. package/dist/compute/v1/generated/validators/powerRequest.zod.js +0 -27
  816. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.d.ts +0 -41
  817. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.js +0 -30
  818. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.d.ts +0 -34
  819. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.js +0 -32
  820. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.d.ts +0 -29
  821. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.js +0 -30
  822. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.d.ts +0 -33
  823. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.js +0 -34
  824. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.d.ts +0 -122
  825. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.js +0 -29
  826. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.d.ts +0 -151
  827. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.js +0 -30
  828. package/dist/compute/v1/generated/validators/regionResource.zod.d.ts +0 -144
  829. package/dist/compute/v1/generated/validators/regionResource.zod.js +0 -45
  830. package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.d.ts +0 -111
  831. package/dist/compute/v1/generated/validators/releaseFloatingIPResponseBody.zod.js +0 -32
  832. package/dist/compute/v1/generated/validators/releaseFloatingIpParams.zod.d.ts +0 -32
  833. package/dist/compute/v1/generated/validators/releaseFloatingIpParams.zod.js +0 -30
  834. package/dist/compute/v1/generated/validators/releaseResource.zod.d.ts +0 -39
  835. package/dist/compute/v1/generated/validators/releaseResource.zod.js +0 -43
  836. package/dist/compute/v1/generated/validators/releaseSetItem.zod.d.ts +0 -42
  837. package/dist/compute/v1/generated/validators/releaseSetItem.zod.js +0 -31
  838. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.d.ts +0 -30
  839. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.js +0 -28
  840. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.d.ts +0 -30
  841. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.js +0 -28
  842. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.d.ts +0 -30
  843. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.js +0 -28
  844. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.d.ts +0 -30
  845. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.js +0 -28
  846. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.d.ts +0 -30
  847. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.js +0 -28
  848. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.d.ts +0 -30
  849. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.js +0 -28
  850. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.d.ts +0 -30
  851. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.js +0 -28
  852. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.d.ts +0 -31
  853. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.js +0 -36
  854. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.d.ts +0 -29
  855. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.js +0 -29
  856. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.d.ts +0 -38
  857. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.js +0 -33
  858. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +0 -109
  859. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.js +0 -37
  860. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.d.ts +0 -39
  861. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.js +0 -37
  862. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +0 -123
  863. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.js +0 -37
  864. package/dist/compute/v1/generated/validators/resourceCancellation.zod.d.ts +0 -40
  865. package/dist/compute/v1/generated/validators/resourceCancellation.zod.js +0 -39
  866. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.d.ts +0 -59
  867. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.js +0 -43
  868. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.d.ts +0 -29
  869. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.js +0 -27
  870. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.d.ts +0 -41
  871. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.js +0 -30
  872. package/dist/compute/v1/generated/validators/routeResource.zod.d.ts +0 -34
  873. package/dist/compute/v1/generated/validators/routeResource.zod.js +0 -38
  874. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.d.ts +0 -32
  875. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.js +0 -39
  876. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.d.ts +0 -41
  877. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.js +0 -30
  878. package/dist/compute/v1/generated/validators/securityGroupResource.zod.d.ts +0 -34
  879. package/dist/compute/v1/generated/validators/securityGroupResource.zod.js +0 -34
  880. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.d.ts +0 -50
  881. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.js +0 -30
  882. package/dist/compute/v1/generated/validators/securityRuleResource.zod.d.ts +0 -43
  883. package/dist/compute/v1/generated/validators/securityRuleResource.zod.js +0 -41
  884. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.d.ts +0 -38
  885. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.js +0 -35
  886. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +0 -99
  887. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.js +0 -37
  888. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.d.ts +0 -30
  889. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.js +0 -30
  890. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.d.ts +0 -30
  891. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.js +0 -31
  892. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.d.ts +0 -55
  893. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.js +0 -38
  894. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +0 -68
  895. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.js +0 -35
  896. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +0 -61
  897. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.js +0 -30
  898. package/dist/compute/v1/generated/validators/snapshotOperation.zod.d.ts +0 -34
  899. package/dist/compute/v1/generated/validators/snapshotOperation.zod.js +0 -32
  900. package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +0 -67
  901. package/dist/compute/v1/generated/validators/snapshotQuota.zod.js +0 -86
  902. package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +0 -54
  903. package/dist/compute/v1/generated/validators/snapshotResource.zod.js +0 -48
  904. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.d.ts +0 -41
  905. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.js +0 -30
  906. package/dist/compute/v1/generated/validators/subnetResource.zod.d.ts +0 -34
  907. package/dist/compute/v1/generated/validators/subnetResource.zod.js +0 -32
  908. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.d.ts +0 -32
  909. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.js +0 -34
  910. package/dist/compute/v1/generated/validators/terminationPolicy.zod.d.ts +0 -30
  911. package/dist/compute/v1/generated/validators/terminationPolicy.zod.js +0 -27
  912. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.d.ts +0 -38
  913. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.js +0 -30
  914. package/dist/compute/v1/generated/validators/zoneResource.zod.d.ts +0 -31
  915. package/dist/compute/v1/generated/validators/zoneResource.zod.js +0 -33
  916. /package/dist/compute/{v1 → v2}/index.d.ts +0 -0
  917. /package/dist/compute/{v1 → v2}/index.js +0 -0
@@ -1,39 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- import { CancellationMode } from "./cancellationMode.zod.js";
26
- export const ResourceCancellation = zod
27
- .strictObject({
28
- id: zod.uuid(),
29
- mode: CancellationMode.describe("`immediate` releases the resource now; `period_end` keeps it until `scheduled_at`."),
30
- status: zod
31
- .enum(["requested", "scheduled", "releasing"])
32
- .describe("`requested` and `scheduled` have not begun release; `releasing` is releasing the resource."),
33
- scheduled_at: zod.iso
34
- .datetime({ offset: true })
35
- .nullable()
36
- .describe("For `period_end`, when release begins; null otherwise."),
37
- subscription_ids: zod.array(zod.uuid()),
38
- })
39
- .describe("The Billing cancellation of the subscriptions that pay for a resource. Read it in Billing with `get-cancellation` for its refund and progress.");
@@ -1,59 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- export declare const restoreBackupRequestBodyDiskTypeIdMax = 64;
26
- export declare const restoreBackupRequestBodyNameMax = 128;
27
- export declare const restoreBackupRequestBodySizeGbMin = 0;
28
- export declare const RestoreBackupRequestBody: zod.ZodObject<{
29
- disk_type_id: zod.ZodUUID;
30
- name: zod.ZodString;
31
- size_gb: zod.ZodOptional<zod.ZodInt>;
32
- billing: zod.ZodObject<{
33
- usage_type: zod.ZodEnum<{
34
- licensed: "licensed";
35
- metered: "metered";
36
- }>;
37
- period: zod.ZodOptional<zod.ZodObject<{
38
- unit: zod.ZodEnum<{
39
- month: "month";
40
- year: "year";
41
- }>;
42
- count: zod.ZodInt;
43
- }, zod.z.core.$strict>>;
44
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
45
- immediate: "immediate";
46
- period_end: "period_end";
47
- }>>;
48
- }, zod.z.core.$strict>;
49
- checkout: zod.ZodOptional<zod.ZodObject<{
50
- mode: zod.ZodDefault<zod.ZodEnum<{
51
- automatic: "automatic";
52
- deferred: "deferred";
53
- }>>;
54
- expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
55
- return_url: zod.ZodOptional<zod.ZodURL>;
56
- }, zod.z.core.$strict>>;
57
- }, zod.z.core.$strict>;
58
- export type RestoreBackupRequestBody = zod.input<typeof RestoreBackupRequestBody>;
59
- export type RestoreBackupRequestBodyOutput = zod.output<typeof RestoreBackupRequestBody>;
@@ -1,43 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- import { BillingChoice } from "./billingChoice.zod.js";
26
- import { CheckoutOptions } from "./checkoutOptions.zod.js";
27
- export const restoreBackupRequestBodyDiskTypeIdMax = 64;
28
- export const restoreBackupRequestBodyNameMax = 128;
29
- export const restoreBackupRequestBodySizeGbMin = 0;
30
- export const RestoreBackupRequestBody = zod.strictObject({
31
- disk_type_id: zod
32
- .uuid()
33
- .max(restoreBackupRequestBodyDiskTypeIdMax)
34
- .describe("May differ from the availability zone of the source disk, but must be in the same region. It has to be a data disk type on sale — restoring creates a new data disk, so a withdrawn type or a system disk type is rejected here as well"),
35
- name: zod.string().min(1).max(restoreBackupRequestBodyNameMax),
36
- size_gb: zod
37
- .int()
38
- .min(restoreBackupRequestBodySizeGbMin)
39
- .optional()
40
- .describe("Matches the size of the backup when omitted. When given, it must not be smaller than the backup"),
41
- billing: BillingChoice,
42
- checkout: CheckoutOptions.optional(),
43
- });
@@ -1,29 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- export declare const RevertDiskRequestBody: zod.ZodObject<{
26
- snapshot_id: zod.ZodUUID;
27
- }, zod.z.core.$strict>;
28
- export type RevertDiskRequestBody = zod.input<typeof RevertDiskRequestBody>;
29
- export type RevertDiskRequestBodyOutput = zod.output<typeof RevertDiskRequestBody>;
@@ -1,27 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- export const RevertDiskRequestBody = zod.strictObject({
26
- snapshot_id: zod.uuid().describe("Must be the most recent snapshot of the disk"),
27
- });
@@ -1,41 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- export declare const RouteListResponseBody: zod.ZodObject<{
26
- items: zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
27
- peering_id: zod.ZodOptional<zod.ZodUUID>;
28
- created_at: zod.z.ZodISODateTime;
29
- description: zod.ZodString;
30
- destination: zod.ZodString;
31
- id: zod.ZodUUID;
32
- nexthop: zod.ZodOptional<zod.ZodString>;
33
- }, zod.z.core.$strict>>>;
34
- pagination: zod.ZodObject<{
35
- page: zod.ZodInt;
36
- page_size: zod.ZodInt;
37
- total_count: zod.ZodOptional<zod.ZodInt>;
38
- }, zod.z.core.$strict>;
39
- }, zod.z.core.$strict>;
40
- export type RouteListResponseBody = zod.input<typeof RouteListResponseBody>;
41
- export type RouteListResponseBodyOutput = zod.output<typeof RouteListResponseBody>;
@@ -1,30 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- import { OffsetPagination } from "./offsetPagination.zod.js";
26
- import { RouteResource } from "./routeResource.zod.js";
27
- export const RouteListResponseBody = zod.strictObject({
28
- items: zod.array(RouteResource).nullable(),
29
- pagination: OffsetPagination,
30
- });
@@ -1,34 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- export declare const RouteResource: zod.ZodObject<{
26
- peering_id: zod.ZodOptional<zod.ZodUUID>;
27
- created_at: zod.z.ZodISODateTime;
28
- description: zod.ZodString;
29
- destination: zod.ZodString;
30
- id: zod.ZodUUID;
31
- nexthop: zod.ZodOptional<zod.ZodString>;
32
- }, zod.z.core.$strict>;
33
- export type RouteResource = zod.input<typeof RouteResource>;
34
- export type RouteResourceOutput = zod.output<typeof RouteResource>;
@@ -1,38 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- export const RouteResource = zod.strictObject({
26
- peering_id: zod
27
- .uuid()
28
- .optional()
29
- .describe("System-owned peering route. Delete the peering to remove this route."),
30
- created_at: zod.iso.datetime({ offset: true }),
31
- description: zod.string(),
32
- destination: zod.string(),
33
- id: zod.uuid(),
34
- nexthop: zod
35
- .string()
36
- .optional()
37
- .describe("Present for custom routes; peering routes expose peering_id instead."),
38
- });
@@ -1,32 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- export declare const runCommandRequestBodyCommandMax = 65536;
26
- export declare const runCommandRequestBodyTimeoutSecondsMax = 300;
27
- export declare const RunCommandRequestBody: zod.ZodObject<{
28
- command: zod.ZodString;
29
- timeout_seconds: zod.ZodOptional<zod.ZodInt>;
30
- }, zod.z.core.$strict>;
31
- export type RunCommandRequestBody = zod.input<typeof RunCommandRequestBody>;
32
- export type RunCommandRequestBodyOutput = zod.output<typeof RunCommandRequestBody>;
@@ -1,39 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- export const runCommandRequestBodyCommandMax = 65536;
26
- export const runCommandRequestBodyTimeoutSecondsMax = 300;
27
- export const RunCommandRequestBody = zod.strictObject({
28
- command: zod
29
- .string()
30
- .min(1)
31
- .max(runCommandRequestBodyCommandMax)
32
- .describe("Run by the login shell, so pipes, redirection and `&&` work. It cannot read standard input"),
33
- timeout_seconds: zod
34
- .int()
35
- .min(1)
36
- .max(runCommandRequestBodyTimeoutSecondsMax)
37
- .optional()
38
- .describe("Kill the command after this long. 60 when omitted"),
39
- });
@@ -1,41 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- export declare const SecurityGroupListResponseBody: zod.ZodObject<{
26
- items: zod.ZodNullable<zod.ZodArray<zod.ZodObject<{
27
- created_at: zod.z.ZodISODateTime;
28
- description: zod.ZodString;
29
- id: zod.ZodUUID;
30
- is_default: zod.ZodBoolean;
31
- name: zod.ZodString;
32
- private_network_id: zod.ZodUUID;
33
- }, zod.z.core.$strict>>>;
34
- pagination: zod.ZodObject<{
35
- page: zod.ZodInt;
36
- page_size: zod.ZodInt;
37
- total_count: zod.ZodOptional<zod.ZodInt>;
38
- }, zod.z.core.$strict>;
39
- }, zod.z.core.$strict>;
40
- export type SecurityGroupListResponseBody = zod.input<typeof SecurityGroupListResponseBody>;
41
- export type SecurityGroupListResponseBodyOutput = zod.output<typeof SecurityGroupListResponseBody>;
@@ -1,30 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- import { OffsetPagination } from "./offsetPagination.zod.js";
26
- import { SecurityGroupResource } from "./securityGroupResource.zod.js";
27
- export const SecurityGroupListResponseBody = zod.strictObject({
28
- items: zod.array(SecurityGroupResource).nullable(),
29
- pagination: OffsetPagination,
30
- });
@@ -1,34 +0,0 @@
1
- /**
2
- * Generated by orval 🍺
3
- * Do not edit manually.
4
- * Leaflow Compute API
5
- * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
- *
7
- * ## Authentication
8
- *
9
- * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
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, a resource becomes `provisioning` and then reaches its usual status, such as `active` 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. Read the Checkout Session and the order in Billing for checkout and payment progress.
14
- * - **Commercial terms.** Compute returns no amounts. Catalog items, such as instance types, disk types and public IP pools, and the region's own products carry `billing`: the Billing plan an order line for them is sold under, the dimensions the line carries, how its quantity is counted for each usage type, and the meters its metered price reads. Read their prices and rates from Billing with `search-prices`, quote a purchase or a change with Billing's `get-quote` using the same lines, and estimate metered usage with Billing's `estimate-usage`. A purchase chooses its terms with `billing`, which applies to all of its components.
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.
16
- * - **Operations.** Requests such as starting, stopping, 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 disk, 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.
17
- * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
- * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
- * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
- * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
- * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
- * OpenAPI spec version: 1.0.0
23
- */
24
- import * as zod from "zod";
25
- export declare const SecurityGroupResource: zod.ZodObject<{
26
- created_at: zod.z.ZodISODateTime;
27
- description: zod.ZodString;
28
- id: zod.ZodUUID;
29
- is_default: zod.ZodBoolean;
30
- name: zod.ZodString;
31
- private_network_id: zod.ZodUUID;
32
- }, zod.z.core.$strict>;
33
- export type SecurityGroupResource = zod.input<typeof SecurityGroupResource>;
34
- export type SecurityGroupResourceOutput = zod.output<typeof SecurityGroupResource>;