@leaflow/sdk 0.0.0-dev.418.ge62522e → 0.0.0-dev.422.gef294af

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 (574) hide show
  1. package/dist/account/v1/generated/models.d.ts +52 -10
  2. package/dist/account/v1/generated/validators/error.zod.d.ts +13 -4
  3. package/dist/account/v1/generated/validators/error.zod.js +6 -9
  4. package/dist/account/v1/generated/validators/errorStatus.zod.d.ts +41 -0
  5. package/dist/account/v1/generated/validators/errorStatus.zod.js +56 -0
  6. package/dist/account/v1/generated/validators/fieldViolation.zod.d.ts +32 -0
  7. package/dist/account/v1/generated/validators/fieldViolation.zod.js +35 -0
  8. package/dist/assistant/v1/generated/models.d.ts +52 -10
  9. package/dist/assistant/v1/generated/validators/error.zod.d.ts +13 -4
  10. package/dist/assistant/v1/generated/validators/error.zod.js +6 -9
  11. package/dist/assistant/v1/generated/validators/errorStatus.zod.d.ts +40 -0
  12. package/dist/assistant/v1/generated/validators/errorStatus.zod.js +55 -0
  13. package/dist/assistant/v1/generated/validators/fieldViolation.zod.d.ts +31 -0
  14. package/dist/assistant/v1/generated/validators/fieldViolation.zod.js +34 -0
  15. package/dist/billing/v1/generated/models.d.ts +52 -10
  16. package/dist/billing/v1/generated/validators/error.zod.d.ts +13 -4
  17. package/dist/billing/v1/generated/validators/error.zod.js +6 -9
  18. package/dist/billing/v1/generated/validators/errorStatus.zod.d.ts +23 -0
  19. package/dist/billing/v1/generated/validators/errorStatus.zod.js +38 -0
  20. package/dist/billing/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
  21. package/dist/billing/v1/generated/validators/fieldViolation.zod.js +17 -0
  22. package/dist/canopy/v1/generated/models.d.ts +52 -10
  23. package/dist/canopy/v1/generated/validators/error.zod.d.ts +13 -4
  24. package/dist/canopy/v1/generated/validators/error.zod.js +6 -9
  25. package/dist/canopy/v1/generated/validators/errorStatus.zod.d.ts +56 -0
  26. package/dist/canopy/v1/generated/validators/errorStatus.zod.js +71 -0
  27. package/dist/canopy/v1/generated/validators/fieldViolation.zod.d.ts +47 -0
  28. package/dist/canopy/v1/generated/validators/fieldViolation.zod.js +50 -0
  29. package/dist/compute/v2/generated/functions.d.ts +33 -33
  30. package/dist/compute/v2/generated/functions.js +31 -31
  31. package/dist/compute/v2/generated/models.d.ts +125 -227
  32. package/dist/compute/v2/generated/models.js +52 -78
  33. package/dist/compute/v2/generated/schemas.zod.d.ts +33 -33
  34. package/dist/compute/v2/generated/schemas.zod.js +33 -33
  35. package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.d.ts +2 -2
  36. package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.js +2 -2
  37. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +2 -2
  38. package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +2 -2
  39. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +2 -2
  40. package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +2 -2
  41. package/dist/compute/v2/generated/validators/availabilityZoneID.zod.d.ts +2 -2
  42. package/dist/compute/v2/generated/validators/availabilityZoneID.zod.js +2 -2
  43. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +2 -2
  44. package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +2 -2
  45. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +2 -2
  46. package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +2 -2
  47. package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +2 -2
  48. package/dist/compute/v2/generated/validators/billingCancellation.zod.js +2 -2
  49. package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +2 -2
  50. package/dist/compute/v2/generated/validators/billingChoice.zod.js +2 -2
  51. package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +2 -2
  52. package/dist/compute/v2/generated/validators/billingComponent.zod.js +2 -2
  53. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +2 -2
  54. package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +2 -2
  55. package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +2 -2
  56. package/dist/compute/v2/generated/validators/billingMeter.zod.js +2 -2
  57. package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +2 -2
  58. package/dist/compute/v2/generated/validators/billingPeriod.zod.js +2 -2
  59. package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +2 -2
  60. package/dist/compute/v2/generated/validators/billingQuantity.zod.js +2 -2
  61. package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +2 -2
  62. package/dist/compute/v2/generated/validators/bootVolume.zod.js +2 -2
  63. package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +2 -2
  64. package/dist/compute/v2/generated/validators/cancellationMode.zod.js +2 -2
  65. package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +2 -2
  66. package/dist/compute/v2/generated/validators/checkoutMode.zod.js +2 -2
  67. package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +2 -2
  68. package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +2 -2
  69. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +2 -2
  70. package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +2 -2
  71. package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.d.ts +2 -2
  72. package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.js +2 -2
  73. package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.d.ts +9 -15
  74. package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.js +2 -2
  75. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +2 -2
  76. package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +2 -2
  77. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +20 -26
  78. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +2 -2
  79. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +2 -2
  80. package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +2 -2
  81. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +2 -2
  82. package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +2 -2
  83. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +2 -2
  84. package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +2 -2
  85. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +2 -2
  86. package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +2 -2
  87. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +2 -2
  88. package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +2 -2
  89. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +5 -11
  90. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +2 -2
  91. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +2 -2
  92. package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +2 -2
  93. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +2 -2
  94. package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +2 -2
  95. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +2 -2
  96. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +2 -2
  97. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +2 -2
  98. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +2 -2
  99. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +2 -2
  100. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +2 -2
  101. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +2 -2
  102. package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +2 -2
  103. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +2 -2
  104. package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +2 -2
  105. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +4 -10
  106. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +2 -2
  107. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +2 -2
  108. package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +2 -2
  109. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +10 -16
  110. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +2 -2
  111. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +2 -2
  112. package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +2 -2
  113. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +4 -10
  114. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +2 -2
  115. package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +2 -2
  116. package/dist/compute/v2/generated/validators/cursorPagination.zod.js +2 -2
  117. package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.d.ts +9 -15
  118. package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.js +2 -2
  119. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +2 -2
  120. package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +2 -2
  121. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +2 -2
  122. package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +2 -2
  123. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +20 -26
  124. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +2 -2
  125. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +2 -2
  126. package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +2 -2
  127. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +5 -11
  128. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +2 -2
  129. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +2 -2
  130. package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +2 -2
  131. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +4 -10
  132. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +2 -2
  133. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +2 -2
  134. package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +2 -2
  135. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +10 -16
  136. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +2 -2
  137. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +2 -2
  138. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +2 -2
  139. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +4 -10
  140. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +2 -2
  141. package/dist/compute/v2/generated/validators/elasticIP.zod.d.ts +9 -15
  142. package/dist/compute/v2/generated/validators/elasticIP.zod.js +17 -8
  143. package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.d.ts +2 -2
  144. package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.js +2 -2
  145. package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +2 -2
  146. package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +2 -2
  147. package/dist/compute/v2/generated/validators/elasticIPID.zod.d.ts +2 -2
  148. package/dist/compute/v2/generated/validators/elasticIPID.zod.js +2 -2
  149. package/dist/compute/v2/generated/validators/elasticIPLine.zod.d.ts +2 -2
  150. package/dist/compute/v2/generated/validators/elasticIPLine.zod.js +2 -2
  151. package/dist/compute/v2/generated/validators/elasticIPLineID.zod.d.ts +2 -2
  152. package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +2 -2
  153. package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.d.ts +2 -2
  154. package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.js +2 -2
  155. package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.d.ts +9 -15
  156. package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.js +2 -2
  157. package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.d.ts +2 -2
  158. package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.js +2 -2
  159. package/dist/compute/v2/generated/validators/error.zod.d.ts +15 -6
  160. package/dist/compute/v2/generated/validators/error.zod.js +8 -11
  161. package/dist/compute/v2/generated/validators/{virtualPrivateCloudOperation.zod.d.ts → errorStatus.zod.d.ts} +16 -12
  162. package/dist/compute/v2/generated/validators/{elasticIPOperation.zod.d.ts → errorStatus.zod.js} +32 -17
  163. package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +2 -2
  164. package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +2 -2
  165. package/dist/compute/v2/generated/validators/existingElasticIP.zod.d.ts +2 -2
  166. package/dist/compute/v2/generated/validators/existingElasticIP.zod.js +2 -2
  167. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +2 -2
  168. package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +2 -2
  169. package/dist/compute/v2/generated/validators/{volumeBackupOperation.zod.d.ts → fieldViolation.zod.d.ts} +7 -11
  170. package/dist/compute/v2/generated/validators/{volumeSnapshotOperation.zod.d.ts → fieldViolation.zod.js} +11 -12
  171. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +2 -2
  172. package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +2 -2
  173. package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +2 -2
  174. package/dist/compute/v2/generated/validators/generatedPassword.zod.js +2 -2
  175. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +2 -2
  176. package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +2 -2
  177. package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +2 -2
  178. package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.js +2 -2
  179. package/dist/compute/v2/generated/validators/imageID.zod.d.ts +2 -2
  180. package/dist/compute/v2/generated/validators/imageID.zod.js +2 -2
  181. package/dist/compute/v2/generated/validators/instance.zod.d.ts +20 -26
  182. package/dist/compute/v2/generated/validators/instance.zod.js +21 -7
  183. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +2 -2
  184. package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +2 -2
  185. package/dist/compute/v2/generated/validators/instanceElasticIP.zod.d.ts +2 -2
  186. package/dist/compute/v2/generated/validators/instanceElasticIP.zod.js +2 -2
  187. package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +2 -2
  188. package/dist/compute/v2/generated/validators/instanceFamily.zod.js +2 -2
  189. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +2 -2
  190. package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +2 -2
  191. package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +2 -2
  192. package/dist/compute/v2/generated/validators/instanceFamilyID.zod.js +2 -2
  193. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +2 -2
  194. package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +2 -2
  195. package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +2 -2
  196. package/dist/compute/v2/generated/validators/instanceID.zod.js +2 -2
  197. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +20 -26
  198. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +2 -2
  199. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +2 -2
  200. package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +2 -2
  201. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +2 -2
  202. package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +2 -2
  203. package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +2 -2
  204. package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +2 -2
  205. package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +2 -2
  206. package/dist/compute/v2/generated/validators/instanceType.zod.js +2 -2
  207. package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +2 -2
  208. package/dist/compute/v2/generated/validators/instanceTypeID.zod.js +2 -2
  209. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +2 -2
  210. package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +2 -2
  211. package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +2 -2
  212. package/dist/compute/v2/generated/validators/instanceVolumeID.zod.js +2 -2
  213. package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +2 -2
  214. package/dist/compute/v2/generated/validators/internetChargeType.zod.js +2 -2
  215. package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +2 -2
  216. package/dist/compute/v2/generated/validators/launchTemplate.zod.js +2 -2
  217. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +2 -2
  218. package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +2 -2
  219. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +2 -2
  220. package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +2 -2
  221. package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.d.ts +2 -2
  222. package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.js +2 -2
  223. package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +2 -2
  224. package/dist/compute/v2/generated/validators/launchTemplateID.zod.js +2 -2
  225. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +2 -2
  226. package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +2 -2
  227. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +2 -2
  228. package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +2 -2
  229. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +2 -2
  230. package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +2 -2
  231. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +2 -2
  232. package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +2 -2
  233. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +2 -2
  234. package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +2 -2
  235. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +2 -2
  236. package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +2 -2
  237. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +2 -2
  238. package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +2 -2
  239. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +2 -2
  240. package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +2 -2
  241. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +2 -2
  242. package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +2 -2
  243. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +2 -2
  244. package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +2 -2
  245. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +2 -2
  246. package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +2 -2
  247. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +2 -2
  248. package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +2 -2
  249. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +2 -2
  250. package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +2 -2
  251. package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +2 -2
  252. package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +2 -2
  253. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +2 -2
  254. package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +2 -2
  255. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +2 -2
  256. package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +2 -2
  257. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +2 -2
  258. package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +2 -2
  259. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +2 -2
  260. package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +2 -2
  261. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +2 -2
  262. package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +2 -2
  263. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +2 -2
  264. package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +2 -2
  265. package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +2 -2
  266. package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +2 -2
  267. package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +2 -2
  268. package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +2 -2
  269. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +2 -2
  270. package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +2 -2
  271. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +2 -2
  272. package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +2 -2
  273. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +2 -2
  274. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +2 -2
  275. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +2 -2
  276. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +2 -2
  277. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +2 -2
  278. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +2 -2
  279. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +2 -2
  280. package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +2 -2
  281. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +2 -2
  282. package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +2 -2
  283. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +2 -2
  284. package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +2 -2
  285. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +2 -2
  286. package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +2 -2
  287. package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +2 -2
  288. package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +2 -2
  289. package/dist/compute/v2/generated/validators/money.zod.d.ts +2 -2
  290. package/dist/compute/v2/generated/validators/money.zod.js +2 -2
  291. package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +9 -15
  292. package/dist/compute/v2/generated/validators/networkInterface.zod.js +15 -8
  293. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +2 -2
  294. package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +2 -2
  295. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +2 -2
  296. package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +2 -2
  297. package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +2 -2
  298. package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +2 -2
  299. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +2 -2
  300. package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +2 -2
  301. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +2 -2
  302. package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +2 -2
  303. package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +2 -2
  304. package/dist/compute/v2/generated/validators/networkInterfaceID.zod.js +2 -2
  305. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +9 -15
  306. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +2 -2
  307. package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +2 -2
  308. package/dist/compute/v2/generated/validators/newBootVolume.zod.js +2 -2
  309. package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +2 -2
  310. package/dist/compute/v2/generated/validators/newCompute.zod.js +2 -2
  311. package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +2 -2
  312. package/dist/compute/v2/generated/validators/newDataVolume.zod.js +2 -2
  313. package/dist/compute/v2/generated/validators/newElasticIP.zod.d.ts +2 -2
  314. package/dist/compute/v2/generated/validators/newElasticIP.zod.js +2 -2
  315. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +2 -2
  316. package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +2 -2
  317. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +2 -2
  318. package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +2 -2
  319. package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +2 -2
  320. package/dist/compute/v2/generated/validators/offsetPagination.zod.js +2 -2
  321. package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +2 -2
  322. package/dist/compute/v2/generated/validators/operationLogID.zod.js +2 -2
  323. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +2 -2
  324. package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +2 -2
  325. package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +2 -2
  326. package/dist/compute/v2/generated/validators/operationLogResource.zod.js +2 -2
  327. package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +2 -2
  328. package/dist/compute/v2/generated/validators/passwordChoice.zod.js +2 -2
  329. package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +2 -2
  330. package/dist/compute/v2/generated/validators/performanceFormula.zod.js +2 -2
  331. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +2 -2
  332. package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +2 -2
  333. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +5 -11
  334. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +2 -2
  335. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +2 -2
  336. package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +2 -2
  337. package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +5 -11
  338. package/dist/compute/v2/generated/validators/privateImageResource.zod.js +13 -8
  339. package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +2 -2
  340. package/dist/compute/v2/generated/validators/projectQuota.zod.js +2 -2
  341. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +2 -2
  342. package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +2 -2
  343. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +2 -2
  344. package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +2 -2
  345. package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +2 -2
  346. package/dist/compute/v2/generated/validators/publicImageResource.zod.js +2 -2
  347. package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +2 -2
  348. package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +2 -2
  349. package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +2 -2
  350. package/dist/compute/v2/generated/validators/quotaSource.zod.js +2 -2
  351. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +2 -2
  352. package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +2 -2
  353. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +2 -2
  354. package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +2 -2
  355. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +20 -26
  356. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +2 -2
  357. package/dist/compute/v2/generated/validators/regionID.zod.d.ts +2 -2
  358. package/dist/compute/v2/generated/validators/regionID.zod.js +2 -2
  359. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +2 -2
  360. package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +2 -2
  361. package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +2 -2
  362. package/dist/compute/v2/generated/validators/regionResource.zod.js +2 -2
  363. package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +2 -2
  364. package/dist/compute/v2/generated/validators/releaseResource.zod.js +2 -2
  365. package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +2 -2
  366. package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +2 -2
  367. package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.d.ts +2 -2
  368. package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.js +2 -2
  369. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +20 -26
  370. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +2 -2
  371. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +2 -2
  372. package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +2 -2
  373. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +2 -2
  374. package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +2 -2
  375. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +2 -2
  376. package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +2 -2
  377. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +2 -2
  378. package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +2 -2
  379. package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +2 -2
  380. package/dist/compute/v2/generated/validators/securityGroup.zod.js +2 -2
  381. package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +2 -2
  382. package/dist/compute/v2/generated/validators/securityGroupID.zod.js +2 -2
  383. package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +2 -2
  384. package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.js +2 -2
  385. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +2 -2
  386. package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +2 -2
  387. package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +2 -2
  388. package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +2 -2
  389. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +2 -2
  390. package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +2 -2
  391. package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +2 -2
  392. package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +2 -2
  393. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +2 -2
  394. package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +2 -2
  395. package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +2 -2
  396. package/dist/compute/v2/generated/validators/subnetID.zod.js +2 -2
  397. package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +2 -2
  398. package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +2 -2
  399. package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +2 -2
  400. package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +2 -2
  401. package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +2 -2
  402. package/dist/compute/v2/generated/validators/trafficUsage.zod.js +2 -2
  403. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +2 -2
  404. package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +2 -2
  405. package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.d.ts +2 -2
  406. package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +2 -2
  407. package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.d.ts +9 -15
  408. package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +2 -2
  409. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +2 -2
  410. package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +2 -2
  411. package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.d.ts +20 -26
  412. package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +2 -2
  413. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +2 -2
  414. package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +2 -2
  415. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +2 -2
  416. package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +2 -2
  417. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +2 -2
  418. package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +2 -2
  419. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +2 -2
  420. package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +2 -2
  421. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +2 -2
  422. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +2 -2
  423. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +2 -2
  424. package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +2 -2
  425. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +2 -2
  426. package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +2 -2
  427. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +2 -2
  428. package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +2 -2
  429. package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.d.ts +10 -16
  430. package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.js +2 -2
  431. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +2 -2
  432. package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +2 -2
  433. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +5 -11
  434. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +4 -8
  435. package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +2 -2
  436. package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.js +2 -2
  437. package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +2 -2
  438. package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.js +2 -2
  439. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +5 -11
  440. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +2 -2
  441. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +2 -2
  442. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +2 -2
  443. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +4 -9
  444. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +2 -2
  445. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +4 -9
  446. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +4 -8
  447. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +2 -2
  448. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +2 -2
  449. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +2 -2
  450. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +2 -2
  451. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +2 -2
  452. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +2 -2
  453. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +2 -2
  454. package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +2 -2
  455. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +2 -2
  456. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +2 -2
  457. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +2 -2
  458. package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +2 -2
  459. package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +2 -2
  460. package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +2 -2
  461. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +2 -2
  462. package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +2 -2
  463. package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +2 -2
  464. package/dist/compute/v2/generated/validators/volumeBackupID.zod.js +2 -2
  465. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +4 -10
  466. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +2 -2
  467. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +2 -2
  468. package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +2 -2
  469. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +4 -10
  470. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +4 -8
  471. package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +2 -2
  472. package/dist/compute/v2/generated/validators/volumeID.zod.js +2 -2
  473. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +10 -16
  474. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +2 -2
  475. package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +2 -2
  476. package/dist/compute/v2/generated/validators/volumePerformance.zod.js +2 -2
  477. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +2 -2
  478. package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +2 -2
  479. package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +10 -16
  480. package/dist/compute/v2/generated/validators/volumeResource.zod.js +19 -8
  481. package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +2 -2
  482. package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.js +2 -2
  483. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +4 -10
  484. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +2 -2
  485. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +2 -2
  486. package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +2 -2
  487. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +4 -10
  488. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +4 -8
  489. package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +2 -2
  490. package/dist/compute/v2/generated/validators/volumeTypeID.zod.js +2 -2
  491. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +2 -2
  492. package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +2 -2
  493. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +2 -2
  494. package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +2 -2
  495. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +2 -2
  496. package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +2 -2
  497. package/dist/dns/v1/generated/models.d.ts +52 -10
  498. package/dist/dns/v1/generated/validators/error.zod.d.ts +13 -4
  499. package/dist/dns/v1/generated/validators/error.zod.js +6 -9
  500. package/dist/dns/v1/generated/validators/errorStatus.zod.d.ts +66 -0
  501. package/dist/dns/v1/generated/validators/errorStatus.zod.js +81 -0
  502. package/dist/dns/v1/generated/validators/fieldViolation.zod.d.ts +57 -0
  503. package/dist/dns/v1/generated/validators/fieldViolation.zod.js +60 -0
  504. package/dist/iam/v1/generated/models.d.ts +52 -10
  505. package/dist/iam/v1/generated/validators/error.zod.d.ts +13 -4
  506. package/dist/iam/v1/generated/validators/error.zod.js +6 -9
  507. package/dist/iam/v1/generated/validators/errorStatus.zod.d.ts +30 -0
  508. package/dist/iam/v1/generated/validators/errorStatus.zod.js +45 -0
  509. package/dist/iam/v1/generated/validators/fieldViolation.zod.d.ts +21 -0
  510. package/dist/iam/v1/generated/validators/fieldViolation.zod.js +24 -0
  511. package/dist/membership/v1/generated/models.d.ts +52 -10
  512. package/dist/membership/v1/generated/validators/error.zod.d.ts +13 -4
  513. package/dist/membership/v1/generated/validators/error.zod.js +6 -9
  514. package/dist/membership/v1/generated/validators/errorStatus.zod.d.ts +23 -0
  515. package/dist/membership/v1/generated/validators/errorStatus.zod.js +38 -0
  516. package/dist/membership/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
  517. package/dist/membership/v1/generated/validators/fieldViolation.zod.js +17 -0
  518. package/dist/monitoring/v1/generated/models.d.ts +52 -10
  519. package/dist/monitoring/v1/generated/validators/error.zod.d.ts +13 -4
  520. package/dist/monitoring/v1/generated/validators/error.zod.js +6 -9
  521. package/dist/monitoring/v1/generated/validators/errorStatus.zod.d.ts +36 -0
  522. package/dist/monitoring/v1/generated/validators/errorStatus.zod.js +51 -0
  523. package/dist/monitoring/v1/generated/validators/fieldViolation.zod.d.ts +27 -0
  524. package/dist/monitoring/v1/generated/validators/fieldViolation.zod.js +30 -0
  525. package/dist/notification/v1/generated/models.d.ts +52 -10
  526. package/dist/notification/v1/generated/validators/error.zod.d.ts +13 -4
  527. package/dist/notification/v1/generated/validators/error.zod.js +6 -9
  528. package/dist/notification/v1/generated/validators/errorStatus.zod.d.ts +77 -0
  529. package/dist/notification/v1/generated/validators/errorStatus.zod.js +92 -0
  530. package/dist/notification/v1/generated/validators/fieldViolation.zod.d.ts +68 -0
  531. package/dist/notification/v1/generated/validators/fieldViolation.zod.js +71 -0
  532. package/dist/support/v1/generated/models.d.ts +52 -10
  533. package/dist/support/v1/generated/validators/error.zod.d.ts +13 -4
  534. package/dist/support/v1/generated/validators/error.zod.js +6 -9
  535. package/dist/support/v1/generated/validators/errorStatus.zod.d.ts +66 -0
  536. package/dist/support/v1/generated/validators/errorStatus.zod.js +81 -0
  537. package/dist/support/v1/generated/validators/fieldViolation.zod.d.ts +57 -0
  538. package/dist/support/v1/generated/validators/fieldViolation.zod.js +60 -0
  539. package/dist/swas/v1/generated/models.d.ts +52 -10
  540. package/dist/swas/v1/generated/validators/error.zod.d.ts +13 -4
  541. package/dist/swas/v1/generated/validators/error.zod.js +6 -9
  542. package/dist/swas/v1/generated/validators/errorStatus.zod.d.ts +23 -0
  543. package/dist/swas/v1/generated/validators/errorStatus.zod.js +38 -0
  544. package/dist/swas/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
  545. package/dist/swas/v1/generated/validators/fieldViolation.zod.js +17 -0
  546. package/dist/swas-legacy/v1/generated/validators/instance.zod.d.ts +2 -2
  547. package/dist/swas-legacy/v1/generated/validators/instanceList.zod.d.ts +2 -2
  548. package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.d.ts +1 -1
  549. package/dist/swas-legacy/v1/generated/validators/operation.zod.d.ts +1 -1
  550. package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.d.ts +1 -1
  551. package/dist/type/error/v1/generated/models.d.ts +52 -10
  552. package/dist/type/error/v1/generated/validators/error.zod.d.ts +13 -4
  553. package/dist/type/error/v1/generated/validators/error.zod.js +6 -9
  554. package/dist/type/error/v1/generated/validators/errorStatus.zod.d.ts +24 -0
  555. package/dist/type/error/v1/generated/validators/errorStatus.zod.js +39 -0
  556. package/dist/type/error/v1/generated/validators/fieldViolation.zod.d.ts +15 -0
  557. package/dist/type/error/v1/generated/validators/fieldViolation.zod.js +18 -0
  558. package/dist/type/resource/v1/generated/validators/attachment.zod.d.ts +1 -1
  559. package/dist/type/resource/v1/generated/validators/attachmentList.zod.d.ts +1 -1
  560. package/package.json +1 -1
  561. package/dist/compute/v2/generated/validators/elasticIPOperation.zod.js +0 -50
  562. package/dist/compute/v2/generated/validators/instanceOperation.zod.d.ts +0 -61
  563. package/dist/compute/v2/generated/validators/instanceOperation.zod.js +0 -63
  564. package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.d.ts +0 -50
  565. package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.js +0 -52
  566. package/dist/compute/v2/generated/validators/privateImageOperation.zod.d.ts +0 -46
  567. package/dist/compute/v2/generated/validators/privateImageOperation.zod.js +0 -43
  568. package/dist/compute/v2/generated/validators/virtualPrivateCloudOperation.zod.js +0 -41
  569. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.d.ts +0 -44
  570. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.js +0 -43
  571. package/dist/compute/v2/generated/validators/volumeBackupOperation.zod.js +0 -43
  572. package/dist/compute/v2/generated/validators/volumeOperation.zod.d.ts +0 -51
  573. package/dist/compute/v2/generated/validators/volumeOperation.zod.js +0 -53
  574. package/dist/compute/v2/generated/validators/volumeSnapshotOperation.zod.js +0 -43
@@ -10,13 +10,13 @@
10
10
  *
11
11
  * ## Conventions
12
12
  *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
14
  * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
16
  * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
17
  * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
18
  * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
20
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
21
  * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
22
  * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
@@ -38,7 +38,6 @@ import { RegionID } from "./regionID.zod.js";
38
38
  import { ReleaseSetItem } from "./releaseSetItem.zod.js";
39
39
  import { VolumeID } from "./volumeID.zod.js";
40
40
  import { VolumeSnapshotID } from "./volumeSnapshotID.zod.js";
41
- import { VolumeSnapshotOperation } from "./volumeSnapshotOperation.zod.js";
42
41
  export const VolumeSnapshotResource = zod
43
42
  .strictObject({
44
43
  availability_zone_id: AvailabilityZoneID,
@@ -51,11 +50,8 @@ export const VolumeSnapshotResource = zod
51
50
  .int()
52
51
  .describe("Capacity of the source volume when the snapshot was created. A volume restored from it cannot be smaller"),
53
52
  status: zod
54
- .enum(["pending", "available", "deleted", "failed", "error"])
55
- .describe("`pending` once a quota slot is reserved and until the snapshot is taken, showing the `create` operation while it is taken; then `available`. `failed` means the snapshot was not created; its slot is released once no snapshot data remains. `error` means the cloud reports the snapshot broken."),
56
- operation: zod
57
- .union([VolumeSnapshotOperation, zod.null()])
58
- .describe("The operation in progress on this snapshot, or null when none is."),
53
+ .enum(["pending", "available", "deleted", "failed", "error", "restoring", "deleting"])
54
+ .describe("`pending` once a quota slot is reserved and until the snapshot is taken; then `available`. `failed` means the snapshot was not created; its slot is released once no snapshot data remains. `error` means the cloud reports the snapshot broken. A value naming an operation in progress (`restoring`, `deleting`) is shown while that operation runs; the snapshot refuses another operation until it ends."),
59
55
  failure_reason: zod
60
56
  .union([
61
57
  zod.literal("order_declined"),
@@ -10,13 +10,13 @@
10
10
  *
11
11
  * ## Conventions
12
12
  *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
14
  * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
16
  * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
17
  * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
18
  * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
20
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
21
  * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
22
  * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
@@ -10,13 +10,13 @@
10
10
  *
11
11
  * ## Conventions
12
12
  *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
14
  * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
16
  * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
17
  * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
18
  * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
20
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
21
  * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
22
  * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
@@ -10,13 +10,13 @@
10
10
  *
11
11
  * ## Conventions
12
12
  *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
14
  * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
16
  * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
17
  * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
18
  * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
20
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
21
  * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
22
  * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
@@ -10,13 +10,13 @@
10
10
  *
11
11
  * ## Conventions
12
12
  *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
14
  * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
16
  * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
17
  * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
18
  * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
20
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
21
  * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
22
  * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
@@ -10,13 +10,13 @@
10
10
  *
11
11
  * ## Conventions
12
12
  *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
14
  * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
16
  * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
17
  * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
18
  * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
20
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
21
  * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
22
  * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
@@ -10,13 +10,13 @@
10
10
  *
11
11
  * ## Conventions
12
12
  *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
14
  * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
16
  * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
17
  * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
18
  * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
20
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
21
  * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
22
  * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
@@ -10,13 +10,13 @@
10
10
  *
11
11
  * ## Conventions
12
12
  *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
14
  * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
16
  * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
17
  * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
18
  * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
20
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
21
  * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
22
  * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
@@ -10,13 +10,13 @@
10
10
  *
11
11
  * ## Conventions
12
12
  *
13
- * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending` and shows the `create` operation, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
13
+ * - **Purchases.** A purchase that creates resources returns them together with the `checkout_session_id` of its Billing Checkout Session and, once checkout completes, its `order_id`. They are readable at once and start as `pending`: checkout may not be complete, the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, the resource is created: it stays `pending`, then reaches its usual status, such as `running` or `available`. When the Checkout Session expires, the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. A purchased change, such as a resize requested with `instance_type_id`, `size_gib` or `bandwidth_mbps` on the resource, returns the resource unchanged with the Checkout Session for the change, and applies once its order is accepted.
14
14
  * - **Commercial terms.** Compute catalogs describe technical specifications and, for each order line a purchase makes, how it is sold in Billing (a `BillingComponent`: its Plan, dimensions, what its quantity counts and what its meters read); prices, amounts and currency belong to Billing. A purchase chooses its terms with `billing`, and Billing selects the matching price. Read prices and their rates with Billing's `search-prices` from those components, quote a proposed purchase with `get-quote`, and a change of a resource by its `subscription_id`; Compute has no quote or price proxy endpoint and returns no amounts.
15
15
  * - **Checkout.** `checkout` is passed to Billing unchanged. Omit it for automatic checkout, which completes checkout within the request and pays from eligible credit grants and balance; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` with an open Checkout Session and no order, even for a zero total; nothing is created until the customer completes checkout in Billing, where a promotion code can be applied, and the order is paid. Do not submit the purchase again after paying; after an uncertain response, look the Checkout Session up in Billing first.
16
16
  * - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
17
17
  * - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
18
18
  * - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
19
- * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
19
+ * - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
20
20
  * - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
21
21
  * - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
22
22
  * - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
@@ -48,22 +48,64 @@
48
48
  * the one certificate issuance must use.
49
49
  * OpenAPI spec version: 1.0.0
50
50
  */
51
+ export interface FieldViolation {
52
+ /** The path to the rejected field in the request body, such as `items[2].price_id`. */
53
+ field: string;
54
+ /** Why the field was rejected, such as `REQUIRED` or `OUT_OF_RANGE`. */
55
+ reason?: string;
56
+ }
51
57
  /**
52
- * What a given `code` carries alongside the message. The keys depend on the code,
53
- * and a client that does not recognise one ignores it.
58
+ * Values that belong to `reason`, one set per reason. Clients use them to fill in
59
+ * localized text and never parse `message` to obtain them. Keys are documented per
60
+ * reason; a key that has appeared once keeps appearing.
54
61
  */
55
- export type ErrorMeta = {
56
- [key: string]: unknown;
62
+ export type ErrorStatusMetadata = {
63
+ [key: string]: string;
57
64
  };
58
- export interface Error {
59
- code?: string;
65
+ export interface ErrorStatus {
66
+ /** The HTTP status code of the response. */
67
+ code: number;
68
+ /** The canonical name of the status, such as `INVALID_ARGUMENT` or `UNAVAILABLE`. */
69
+ status: string;
70
+ /**
71
+ * A description of the failure for developers. It is always English and is not meant
72
+ * to be shown to end users as is.
73
+ */
60
74
  message: string;
61
75
  /**
62
- * What a given `code` carries alongside the message. The keys depend on the code,
63
- * and a client that does not recognise one ignores it.
76
+ * A stable machine-readable code identifying the failure. Clients branch on this value
77
+ * and render their own text; it does not change once published.
78
+ */
79
+ reason?: string;
80
+ /**
81
+ * Values that belong to `reason`, one set per reason. Clients use them to fill in
82
+ * localized text and never parse `message` to obtain them. Keys are documented per
83
+ * reason; a key that has appeared once keeps appearing.
84
+ */
85
+ metadata?: ErrorStatusMetadata;
86
+ /**
87
+ * Request fields rejected by the request's constraints. Present on validation
88
+ * failures; one request may violate several fields.
64
89
  */
65
- meta?: ErrorMeta;
66
- status: number;
90
+ field_violations?: FieldViolation[];
91
+ /**
92
+ * How long the client should wait before retrying, as a duration string such as
93
+ * `30s`. Present only when waiting can succeed.
94
+ */
95
+ retry_delay?: string;
96
+ /**
97
+ * The identifier of the request in the service's logs. Quote it when reporting a
98
+ * failure.
99
+ */
100
+ request_id?: string;
101
+ }
102
+ /**
103
+ * A failed request. The envelope follows the Google REST error format: `code` is the HTTP
104
+ * status, `status` is its canonical name, and `reason` is the stable machine-readable code
105
+ * that identifies the failure.
106
+ */
107
+ export interface Error {
108
+ error: ErrorStatus;
67
109
  }
68
110
  /**
69
111
  * A DNS record type.
@@ -50,10 +50,19 @@
50
50
  */
51
51
  import * as zod from "zod";
52
52
  export declare const Error: zod.ZodObject<{
53
- code: zod.ZodOptional<zod.ZodString>;
54
- message: zod.ZodString;
55
- meta: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
56
- status: zod.ZodInt;
53
+ error: zod.ZodObject<{
54
+ code: zod.ZodInt;
55
+ status: zod.ZodString;
56
+ message: zod.ZodString;
57
+ reason: zod.ZodOptional<zod.ZodString>;
58
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
59
+ field_violations: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
60
+ field: zod.ZodString;
61
+ reason: zod.ZodOptional<zod.ZodString>;
62
+ }, zod.z.core.$strict>>>;
63
+ retry_delay: zod.ZodOptional<zod.ZodString>;
64
+ request_id: zod.ZodOptional<zod.ZodString>;
65
+ }, zod.z.core.$strict>;
57
66
  }, zod.z.core.$strict>;
58
67
  export type Error = zod.input<typeof Error>;
59
68
  export type ErrorOutput = zod.output<typeof Error>;
@@ -49,12 +49,9 @@
49
49
  * OpenAPI spec version: 1.0.0
50
50
  */
51
51
  import * as zod from "zod";
52
- export const Error = zod.strictObject({
53
- code: zod.string().optional(),
54
- message: zod.string(),
55
- meta: zod
56
- .record(zod.string(), zod.unknown())
57
- .optional()
58
- .describe("What a given `code` carries alongside the message. The keys depend on the code,\nand a client that does not recognise one ignores it."),
59
- status: zod.int(),
60
- });
52
+ import { ErrorStatus } from "./errorStatus.zod.js";
53
+ export const Error = zod
54
+ .strictObject({
55
+ error: ErrorStatus,
56
+ })
57
+ .describe("A failed request. The envelope follows the Google REST error format: `code` is the HTTP\nstatus, `status` is its canonical name, and `reason` is the stable machine-readable code\nthat identifies the failure.");
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow DNS API
5
+ * Manage DNS records across supported providers through a single API. Register a provider
6
+ * credential, and every domain that credential can reach becomes readable and writable here.
7
+ *
8
+ * Reads and writes always reflect the current state at the provider. Records changed through the
9
+ * provider's own console, an ACME client, or any other automation are visible here immediately,
10
+ * and changes made here take effect there.
11
+ *
12
+ * ## Authentication
13
+ *
14
+ * Every request carries a scoped token; see the `bearerAuth` security scheme.
15
+ *
16
+ * **Neither the path nor the headers carry a `project_id`**: the current project is determined by
17
+ * the token.
18
+ *
19
+ * ## Conventions
20
+ *
21
+ * - **Records are addressed as record sets, not as individual records.** All records sharing a
22
+ * name and a type form one set — for example, three A records pointing at three addresses. This
23
+ * API exposes no per-record identifier, because provider-assigned identifiers are neither
24
+ * portable across providers nor guaranteed to be stable within one.
25
+ * - **`PUT` replaces an entire record set; `PATCH` names individual values.** See below; this is
26
+ * the single most consequential distinction in this API.
27
+ * - **Confirm which credential owns a domain before writing to it.** The same domain can exist in
28
+ * more than one provider account — most commonly while a domain is being migrated and the old
29
+ * account still holds it — and only one of them is actually serving queries.
30
+ * - **Changes do not take effect everywhere at once.** A write reaches the provider immediately,
31
+ * but resolvers elsewhere continue serving the previous value until its TTL expires. Allow at
32
+ * least one TTL before verifying a change by resolving the name.
33
+ * - **Credential material is never returned.** No operation, including the one that registers it,
34
+ * returns the values that were submitted. A credential that was entered incorrectly must be
35
+ * deleted and registered again.
36
+ *
37
+ * ## PUT or PATCH
38
+ *
39
+ * `PUT` states what a record set should contain. `PATCH` names values to add or remove and leaves
40
+ * the rest alone. The distinction is concurrency.
41
+ *
42
+ * Changing part of a set with `PUT` means reading it and submitting a modified list. That is a
43
+ * read-modify-write: a value added in between — by a concurrent certificate issuance, by another
44
+ * automation, or from the provider's own console — is absent from the submitted list and is
45
+ * therefore removed. Every request in that sequence returns 2xx.
46
+ *
47
+ * `PATCH` reads nothing. It is the only operation on a record set safe to issue concurrently, and
48
+ * the one certificate issuance must use.
49
+ * OpenAPI spec version: 1.0.0
50
+ */
51
+ import * as zod from "zod";
52
+ export declare const ErrorStatus: zod.ZodObject<{
53
+ code: zod.ZodInt;
54
+ status: zod.ZodString;
55
+ message: zod.ZodString;
56
+ reason: zod.ZodOptional<zod.ZodString>;
57
+ metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
58
+ field_violations: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
59
+ field: zod.ZodString;
60
+ reason: zod.ZodOptional<zod.ZodString>;
61
+ }, zod.z.core.$strict>>>;
62
+ retry_delay: zod.ZodOptional<zod.ZodString>;
63
+ request_id: zod.ZodOptional<zod.ZodString>;
64
+ }, zod.z.core.$strict>;
65
+ export type ErrorStatus = zod.input<typeof ErrorStatus>;
66
+ export type ErrorStatusOutput = zod.output<typeof ErrorStatus>;
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow DNS API
5
+ * Manage DNS records across supported providers through a single API. Register a provider
6
+ * credential, and every domain that credential can reach becomes readable and writable here.
7
+ *
8
+ * Reads and writes always reflect the current state at the provider. Records changed through the
9
+ * provider's own console, an ACME client, or any other automation are visible here immediately,
10
+ * and changes made here take effect there.
11
+ *
12
+ * ## Authentication
13
+ *
14
+ * Every request carries a scoped token; see the `bearerAuth` security scheme.
15
+ *
16
+ * **Neither the path nor the headers carry a `project_id`**: the current project is determined by
17
+ * the token.
18
+ *
19
+ * ## Conventions
20
+ *
21
+ * - **Records are addressed as record sets, not as individual records.** All records sharing a
22
+ * name and a type form one set — for example, three A records pointing at three addresses. This
23
+ * API exposes no per-record identifier, because provider-assigned identifiers are neither
24
+ * portable across providers nor guaranteed to be stable within one.
25
+ * - **`PUT` replaces an entire record set; `PATCH` names individual values.** See below; this is
26
+ * the single most consequential distinction in this API.
27
+ * - **Confirm which credential owns a domain before writing to it.** The same domain can exist in
28
+ * more than one provider account — most commonly while a domain is being migrated and the old
29
+ * account still holds it — and only one of them is actually serving queries.
30
+ * - **Changes do not take effect everywhere at once.** A write reaches the provider immediately,
31
+ * but resolvers elsewhere continue serving the previous value until its TTL expires. Allow at
32
+ * least one TTL before verifying a change by resolving the name.
33
+ * - **Credential material is never returned.** No operation, including the one that registers it,
34
+ * returns the values that were submitted. A credential that was entered incorrectly must be
35
+ * deleted and registered again.
36
+ *
37
+ * ## PUT or PATCH
38
+ *
39
+ * `PUT` states what a record set should contain. `PATCH` names values to add or remove and leaves
40
+ * the rest alone. The distinction is concurrency.
41
+ *
42
+ * Changing part of a set with `PUT` means reading it and submitting a modified list. That is a
43
+ * read-modify-write: a value added in between — by a concurrent certificate issuance, by another
44
+ * automation, or from the provider's own console — is absent from the submitted list and is
45
+ * therefore removed. Every request in that sequence returns 2xx.
46
+ *
47
+ * `PATCH` reads nothing. It is the only operation on a record set safe to issue concurrently, and
48
+ * the one certificate issuance must use.
49
+ * OpenAPI spec version: 1.0.0
50
+ */
51
+ import * as zod from "zod";
52
+ import { FieldViolation } from "./fieldViolation.zod.js";
53
+ export const ErrorStatus = zod.strictObject({
54
+ code: zod.int().describe("The HTTP status code of the response."),
55
+ status: zod
56
+ .string()
57
+ .describe("The canonical name of the status, such as `INVALID_ARGUMENT` or `UNAVAILABLE`."),
58
+ message: zod
59
+ .string()
60
+ .describe("A description of the failure for developers. It is always English and is not meant\nto be shown to end users as is."),
61
+ reason: zod
62
+ .string()
63
+ .optional()
64
+ .describe("A stable machine-readable code identifying the failure. Clients branch on this value\nand render their own text; it does not change once published."),
65
+ metadata: zod
66
+ .record(zod.string(), zod.string())
67
+ .optional()
68
+ .describe("Values that belong to `reason`, one set per reason. Clients use them to fill in\nlocalized text and never parse `message` to obtain them. Keys are documented per\nreason; a key that has appeared once keeps appearing."),
69
+ field_violations: zod
70
+ .array(FieldViolation)
71
+ .optional()
72
+ .describe("Request fields rejected by the request's constraints. Present on validation\nfailures; one request may violate several fields."),
73
+ retry_delay: zod
74
+ .string()
75
+ .optional()
76
+ .describe("How long the client should wait before retrying, as a duration string such as\n`30s`. Present only when waiting can succeed."),
77
+ request_id: zod
78
+ .string()
79
+ .optional()
80
+ .describe("The identifier of the request in the service's logs. Quote it when reporting a\nfailure."),
81
+ });