@leaflow/sdk 0.0.0-dev.353.g74313e0 → 0.0.0-dev.355.g42152f5

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 (381) hide show
  1. package/dist/billing/type/order/v1/generated/models.d.ts +4 -0
  2. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.d.ts +1 -0
  3. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.js +4 -0
  4. package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.d.ts +1 -0
  5. package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  6. package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.js +4 -0
  7. package/dist/billing/type/order/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  8. package/dist/billing/v1/generated/models.d.ts +4 -0
  9. package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +1 -0
  10. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +4 -0
  11. package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +1 -0
  12. package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  13. package/dist/billing/v1/generated/validators/usageCharge.zod.js +4 -0
  14. package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  15. package/dist/canopy/v1/generated/functions.d.ts +1 -1
  16. package/dist/canopy/v1/generated/functions.js +1 -1
  17. package/dist/canopy/v1/generated/models.d.ts +4 -0
  18. package/dist/canopy/v1/generated/schemas.zod.d.ts +1 -1
  19. package/dist/canopy/v1/generated/schemas.zod.js +1 -1
  20. package/dist/canopy/v1/generated/validators/invoiceItem.zod.d.ts +1 -0
  21. package/dist/canopy/v1/generated/validators/invoiceItem.zod.js +4 -0
  22. package/dist/canopy/v1/generated/validators/invoiceItemList.zod.d.ts +1 -0
  23. package/dist/canopy/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  24. package/dist/canopy/v1/generated/validators/usageCharge.zod.js +4 -0
  25. package/dist/canopy/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  26. package/dist/compute/v1/generated/functions.d.ts +15 -15
  27. package/dist/compute/v1/generated/functions.js +13 -13
  28. package/dist/compute/v1/generated/models.d.ts +33 -25
  29. package/dist/compute/v1/generated/models.js +6 -6
  30. package/dist/compute/v1/generated/schemas.zod.d.ts +69 -69
  31. package/dist/compute/v1/generated/schemas.zod.js +15 -15
  32. package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.d.ts +5 -5
  33. package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.js +2 -2
  34. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.d.ts +5 -5
  35. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.js +2 -2
  36. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +2 -2
  37. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.js +2 -2
  38. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.d.ts +2 -2
  39. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.js +2 -2
  40. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.d.ts +2 -2
  41. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.js +2 -2
  42. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.d.ts +2 -2
  43. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.js +2 -2
  44. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.d.ts +2 -2
  45. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.js +3 -3
  46. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.d.ts +2 -2
  47. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.js +2 -2
  48. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.d.ts +2 -2
  49. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.js +2 -2
  50. package/dist/compute/v1/generated/validators/backupOperation.zod.d.ts +2 -2
  51. package/dist/compute/v1/generated/validators/backupOperation.zod.js +2 -2
  52. package/dist/compute/v1/generated/validators/backupResource.zod.d.ts +2 -2
  53. package/dist/compute/v1/generated/validators/backupResource.zod.js +2 -2
  54. package/dist/compute/v1/generated/validators/backupService.zod.d.ts +10 -10
  55. package/dist/compute/v1/generated/validators/backupService.zod.js +7 -7
  56. package/dist/compute/v1/generated/validators/billingChoice.zod.d.ts +5 -5
  57. package/dist/compute/v1/generated/validators/billingChoice.zod.js +6 -4
  58. package/dist/compute/v1/generated/validators/billingPeriod.zod.d.ts +2 -2
  59. package/dist/compute/v1/generated/validators/billingPeriod.zod.js +2 -2
  60. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.d.ts +2 -2
  61. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.js +2 -2
  62. package/dist/compute/v1/generated/validators/bootDisk.zod.d.ts +5 -5
  63. package/dist/compute/v1/generated/validators/bootDisk.zod.js +2 -2
  64. package/dist/compute/v1/generated/validators/checkoutMode.zod.d.ts +2 -2
  65. package/dist/compute/v1/generated/validators/checkoutMode.zod.js +2 -2
  66. package/dist/compute/v1/generated/validators/checkoutOptions.zod.d.ts +2 -2
  67. package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +2 -2
  68. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.d.ts +2 -2
  69. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.js +2 -2
  70. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.d.ts +2 -2
  71. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.js +2 -2
  72. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.d.ts +2 -2
  73. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.js +2 -2
  74. package/dist/compute/v1/generated/validators/createBackupCapacityPackQuoteRequestBody.zod.d.ts +5 -5
  75. package/dist/compute/v1/generated/validators/createBackupCapacityPackQuoteRequestBody.zod.js +2 -2
  76. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.d.ts +5 -5
  77. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.js +2 -2
  78. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +2 -2
  79. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.js +2 -2
  80. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.d.ts +2 -2
  81. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.js +2 -2
  82. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.d.ts +2 -2
  83. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.js +2 -2
  84. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +9 -9
  85. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.js +2 -2
  86. package/dist/compute/v1/generated/validators/createDiskQuoteRequestBody.zod.d.ts +5 -5
  87. package/dist/compute/v1/generated/validators/createDiskQuoteRequestBody.zod.js +2 -2
  88. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.d.ts +5 -5
  89. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.js +2 -2
  90. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +2 -2
  91. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.js +2 -2
  92. package/dist/compute/v1/generated/validators/createImageQuoteRequestBody.zod.d.ts +5 -5
  93. package/dist/compute/v1/generated/validators/createImageQuoteRequestBody.zod.js +2 -2
  94. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.d.ts +5 -5
  95. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.js +2 -2
  96. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +2 -2
  97. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.js +2 -2
  98. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.d.ts +2 -2
  99. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.js +2 -2
  100. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.d.ts +2 -2
  101. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.js +2 -2
  102. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.d.ts +2 -2
  103. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.js +2 -2
  104. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.d.ts +2 -2
  105. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.js +2 -2
  106. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.d.ts +2 -2
  107. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.js +2 -2
  108. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.d.ts +2 -2
  109. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.js +2 -2
  110. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.d.ts +2 -2
  111. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.js +2 -2
  112. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.d.ts +2 -2
  113. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.js +2 -2
  114. package/dist/compute/v1/generated/validators/cursorPagination.zod.d.ts +2 -2
  115. package/dist/compute/v1/generated/validators/cursorPagination.zod.js +2 -2
  116. package/dist/compute/v1/generated/validators/diskAttachment.zod.d.ts +2 -2
  117. package/dist/compute/v1/generated/validators/diskAttachment.zod.js +2 -2
  118. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.d.ts +2 -2
  119. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.js +2 -2
  120. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +2 -2
  121. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.js +2 -2
  122. package/dist/compute/v1/generated/validators/diskOperation.zod.d.ts +2 -2
  123. package/dist/compute/v1/generated/validators/diskOperation.zod.js +2 -2
  124. package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +2 -2
  125. package/dist/compute/v1/generated/validators/diskResource.zod.js +2 -2
  126. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.d.ts +5 -5
  127. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.js +2 -2
  128. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.d.ts +2 -2
  129. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.js +2 -2
  130. package/dist/compute/v1/generated/validators/diskTypeResource.zod.d.ts +5 -5
  131. package/dist/compute/v1/generated/validators/diskTypeResource.zod.js +2 -2
  132. package/dist/compute/v1/generated/validators/error.zod.d.ts +2 -2
  133. package/dist/compute/v1/generated/validators/error.zod.js +2 -2
  134. package/dist/compute/v1/generated/validators/existingBootDisk.zod.d.ts +2 -2
  135. package/dist/compute/v1/generated/validators/existingBootDisk.zod.js +2 -2
  136. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +2 -2
  137. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.js +2 -2
  138. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.d.ts +2 -2
  139. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.js +2 -2
  140. package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +2 -2
  141. package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +2 -2
  142. package/dist/compute/v1/generated/validators/funds.zod.d.ts +2 -2
  143. package/dist/compute/v1/generated/validators/funds.zod.js +2 -2
  144. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.d.ts +2 -2
  145. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.js +2 -2
  146. package/dist/compute/v1/generated/validators/iPv4Binding.zod.d.ts +2 -2
  147. package/dist/compute/v1/generated/validators/iPv4Binding.zod.js +2 -2
  148. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.d.ts +8 -8
  149. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.js +2 -2
  150. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.d.ts +8 -8
  151. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.js +2 -2
  152. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +2 -2
  153. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +2 -2
  154. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.d.ts +2 -2
  155. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.js +2 -2
  156. package/dist/compute/v1/generated/validators/imageOperation.zod.d.ts +2 -2
  157. package/dist/compute/v1/generated/validators/imageOperation.zod.js +2 -2
  158. package/dist/compute/v1/generated/validators/imageResource.zod.d.ts +2 -2
  159. package/dist/compute/v1/generated/validators/imageResource.zod.js +2 -2
  160. package/dist/compute/v1/generated/validators/imageVisibility.zod.d.ts +2 -2
  161. package/dist/compute/v1/generated/validators/imageVisibility.zod.js +2 -2
  162. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.d.ts +2 -2
  163. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.js +2 -2
  164. package/dist/compute/v1/generated/validators/instanceOperation.zod.d.ts +2 -2
  165. package/dist/compute/v1/generated/validators/instanceOperation.zod.js +2 -2
  166. package/dist/compute/v1/generated/validators/instanceResource.zod.d.ts +2 -2
  167. package/dist/compute/v1/generated/validators/instanceResource.zod.js +2 -2
  168. package/dist/compute/v1/generated/validators/instanceRestriction.zod.d.ts +2 -2
  169. package/dist/compute/v1/generated/validators/instanceRestriction.zod.js +2 -2
  170. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.d.ts +5 -5
  171. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.js +2 -2
  172. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.d.ts +5 -5
  173. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.js +2 -2
  174. package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.d.ts +11 -11
  175. package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.js +2 -2
  176. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.d.ts +11 -11
  177. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.js +2 -2
  178. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +2 -2
  179. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.js +2 -2
  180. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.d.ts +2 -2
  181. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.js +2 -2
  182. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.d.ts +2 -2
  183. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.js +2 -2
  184. package/dist/compute/v1/generated/validators/listBackupsParams.zod.d.ts +2 -2
  185. package/dist/compute/v1/generated/validators/listBackupsParams.zod.js +2 -2
  186. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.d.ts +2 -2
  187. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.js +2 -2
  188. package/dist/compute/v1/generated/validators/listDisksParams.zod.d.ts +2 -2
  189. package/dist/compute/v1/generated/validators/listDisksParams.zod.js +2 -2
  190. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.d.ts +2 -2
  191. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.js +2 -2
  192. package/dist/compute/v1/generated/validators/listImagesParams.zod.d.ts +2 -2
  193. package/dist/compute/v1/generated/validators/listImagesParams.zod.js +2 -2
  194. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.d.ts +2 -2
  195. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.js +2 -2
  196. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.d.ts +2 -2
  197. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.js +2 -2
  198. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.d.ts +2 -2
  199. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.js +2 -2
  200. package/dist/compute/v1/generated/validators/listInstancesParams.zod.d.ts +2 -2
  201. package/dist/compute/v1/generated/validators/listInstancesParams.zod.js +2 -2
  202. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.d.ts +2 -2
  203. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.js +2 -2
  204. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.d.ts +2 -2
  205. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.js +2 -2
  206. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.d.ts +2 -2
  207. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.js +2 -2
  208. package/dist/compute/v1/generated/validators/listPortsParams.zod.d.ts +2 -2
  209. package/dist/compute/v1/generated/validators/listPortsParams.zod.js +2 -2
  210. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.d.ts +2 -2
  211. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.js +2 -2
  212. package/dist/compute/v1/generated/validators/listRegionsParams.zod.d.ts +2 -2
  213. package/dist/compute/v1/generated/validators/listRegionsParams.zod.js +2 -2
  214. package/dist/compute/v1/generated/validators/listRoutesParams.zod.d.ts +2 -2
  215. package/dist/compute/v1/generated/validators/listRoutesParams.zod.js +2 -2
  216. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.d.ts +2 -2
  217. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.js +2 -2
  218. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.d.ts +2 -2
  219. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.js +2 -2
  220. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.d.ts +2 -2
  221. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.js +2 -2
  222. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.d.ts +2 -2
  223. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.js +2 -2
  224. package/dist/compute/v1/generated/validators/money.zod.d.ts +2 -2
  225. package/dist/compute/v1/generated/validators/money.zod.js +2 -2
  226. package/dist/compute/v1/generated/validators/newBootDisk.zod.d.ts +5 -5
  227. package/dist/compute/v1/generated/validators/newBootDisk.zod.js +2 -2
  228. package/dist/compute/v1/generated/validators/newCompute.zod.d.ts +5 -5
  229. package/dist/compute/v1/generated/validators/newCompute.zod.js +2 -2
  230. package/dist/compute/v1/generated/validators/newFloatingIP.zod.d.ts +5 -5
  231. package/dist/compute/v1/generated/validators/newFloatingIP.zod.js +2 -2
  232. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.d.ts +2 -2
  233. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.js +2 -2
  234. package/dist/compute/v1/generated/validators/offsetPagination.zod.d.ts +2 -2
  235. package/dist/compute/v1/generated/validators/offsetPagination.zod.js +2 -2
  236. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.d.ts +2 -2
  237. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.js +2 -2
  238. package/dist/compute/v1/generated/validators/operationLogResource.zod.d.ts +2 -2
  239. package/dist/compute/v1/generated/validators/operationLogResource.zod.js +2 -2
  240. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.d.ts +2 -2
  241. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.js +2 -2
  242. package/dist/compute/v1/generated/validators/peeringOperation.zod.d.ts +2 -2
  243. package/dist/compute/v1/generated/validators/peeringOperation.zod.js +2 -2
  244. package/dist/compute/v1/generated/validators/peeringResource.zod.d.ts +2 -2
  245. package/dist/compute/v1/generated/validators/peeringResource.zod.js +2 -2
  246. package/dist/compute/v1/generated/validators/placedOrder.zod.d.ts +2 -2
  247. package/dist/compute/v1/generated/validators/placedOrder.zod.js +2 -2
  248. package/dist/compute/v1/generated/validators/portAddress.zod.d.ts +2 -2
  249. package/dist/compute/v1/generated/validators/portAddress.zod.js +2 -2
  250. package/dist/compute/v1/generated/validators/portAttachment.zod.d.ts +2 -2
  251. package/dist/compute/v1/generated/validators/portAttachment.zod.js +2 -2
  252. package/dist/compute/v1/generated/validators/portAttachmentList.zod.d.ts +2 -2
  253. package/dist/compute/v1/generated/validators/portAttachmentList.zod.js +2 -2
  254. package/dist/compute/v1/generated/validators/portListResponseBody.zod.d.ts +2 -2
  255. package/dist/compute/v1/generated/validators/portListResponseBody.zod.js +2 -2
  256. package/dist/compute/v1/generated/validators/portOperation.zod.d.ts +2 -2
  257. package/dist/compute/v1/generated/validators/portOperation.zod.js +2 -2
  258. package/dist/compute/v1/generated/validators/portResource.zod.d.ts +2 -2
  259. package/dist/compute/v1/generated/validators/portResource.zod.js +2 -2
  260. package/dist/compute/v1/generated/validators/powerRequest.zod.d.ts +2 -2
  261. package/dist/compute/v1/generated/validators/powerRequest.zod.js +2 -2
  262. package/dist/compute/v1/generated/validators/pricing.zod.d.ts +5 -5
  263. package/dist/compute/v1/generated/validators/pricing.zod.js +2 -2
  264. package/dist/compute/v1/generated/validators/pricingOption.zod.d.ts +5 -5
  265. package/dist/compute/v1/generated/validators/pricingOption.zod.js +12 -10
  266. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.d.ts +2 -2
  267. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.js +2 -2
  268. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.d.ts +2 -2
  269. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.js +2 -2
  270. package/dist/compute/v1/generated/validators/quote.zod.d.ts +2 -2
  271. package/dist/compute/v1/generated/validators/quote.zod.js +2 -2
  272. package/dist/compute/v1/generated/validators/quoteItem.zod.d.ts +2 -2
  273. package/dist/compute/v1/generated/validators/quoteItem.zod.js +2 -2
  274. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.d.ts +2 -2
  275. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.js +2 -2
  276. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.d.ts +2 -2
  277. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.js +2 -2
  278. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.d.ts +2 -2
  279. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.js +2 -2
  280. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.d.ts +5 -5
  281. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.js +2 -2
  282. package/dist/compute/v1/generated/validators/regionResource.zod.d.ts +5 -5
  283. package/dist/compute/v1/generated/validators/regionResource.zod.js +2 -2
  284. package/dist/compute/v1/generated/validators/releaseResource.zod.d.ts +2 -2
  285. package/dist/compute/v1/generated/validators/releaseResource.zod.js +2 -2
  286. package/dist/compute/v1/generated/validators/releaseSetItem.zod.d.ts +2 -2
  287. package/dist/compute/v1/generated/validators/releaseSetItem.zod.js +2 -2
  288. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.d.ts +2 -2
  289. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.js +2 -2
  290. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.d.ts +2 -2
  291. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.js +2 -2
  292. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.d.ts +2 -2
  293. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.js +2 -2
  294. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.d.ts +2 -2
  295. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.js +2 -2
  296. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.d.ts +2 -2
  297. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.js +2 -2
  298. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.d.ts +2 -2
  299. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.js +2 -2
  300. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.d.ts +2 -2
  301. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.js +2 -2
  302. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.d.ts +2 -2
  303. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.js +2 -2
  304. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.d.ts +2 -2
  305. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.js +2 -2
  306. package/dist/compute/v1/generated/validators/resizeDiskQuoteRequestBody.zod.d.ts +2 -2
  307. package/dist/compute/v1/generated/validators/resizeDiskQuoteRequestBody.zod.js +2 -2
  308. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.d.ts +2 -2
  309. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.js +2 -2
  310. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +2 -2
  311. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.js +2 -2
  312. package/dist/compute/v1/generated/validators/resizeInstanceQuoteRequestBody.zod.d.ts +2 -2
  313. package/dist/compute/v1/generated/validators/resizeInstanceQuoteRequestBody.zod.js +2 -2
  314. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.d.ts +2 -2
  315. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.js +2 -2
  316. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +2 -2
  317. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.js +2 -2
  318. package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.d.ts +5 -5
  319. package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.js +2 -2
  320. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.d.ts +5 -5
  321. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.js +2 -2
  322. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.d.ts +2 -2
  323. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.js +2 -2
  324. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.d.ts +2 -2
  325. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.js +2 -2
  326. package/dist/compute/v1/generated/validators/routeResource.zod.d.ts +2 -2
  327. package/dist/compute/v1/generated/validators/routeResource.zod.js +2 -2
  328. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.d.ts +2 -2
  329. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.js +2 -2
  330. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.d.ts +2 -2
  331. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.js +2 -2
  332. package/dist/compute/v1/generated/validators/securityGroupResource.zod.d.ts +2 -2
  333. package/dist/compute/v1/generated/validators/securityGroupResource.zod.js +2 -2
  334. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.d.ts +2 -2
  335. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.js +2 -2
  336. package/dist/compute/v1/generated/validators/securityRuleResource.zod.d.ts +2 -2
  337. package/dist/compute/v1/generated/validators/securityRuleResource.zod.js +2 -2
  338. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthQuoteRequestBody.zod.d.ts +2 -2
  339. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthQuoteRequestBody.zod.js +2 -2
  340. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.d.ts +2 -2
  341. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.js +2 -2
  342. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +2 -2
  343. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.js +2 -2
  344. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.d.ts +2 -2
  345. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.js +2 -2
  346. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.d.ts +2 -2
  347. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.js +2 -2
  348. package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.d.ts +5 -5
  349. package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.js +2 -2
  350. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.d.ts +5 -5
  351. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.js +2 -2
  352. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +8 -8
  353. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.js +2 -2
  354. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +2 -2
  355. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.js +2 -2
  356. package/dist/compute/v1/generated/validators/snapshotOperation.zod.d.ts +2 -2
  357. package/dist/compute/v1/generated/validators/snapshotOperation.zod.js +2 -2
  358. package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +8 -8
  359. package/dist/compute/v1/generated/validators/snapshotQuota.zod.js +2 -2
  360. package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +2 -2
  361. package/dist/compute/v1/generated/validators/snapshotResource.zod.js +2 -2
  362. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.d.ts +2 -2
  363. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.js +2 -2
  364. package/dist/compute/v1/generated/validators/subnetResource.zod.d.ts +2 -2
  365. package/dist/compute/v1/generated/validators/subnetResource.zod.js +2 -2
  366. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.d.ts +2 -2
  367. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.js +2 -2
  368. package/dist/compute/v1/generated/validators/terminationPolicy.zod.d.ts +2 -2
  369. package/dist/compute/v1/generated/validators/terminationPolicy.zod.js +2 -2
  370. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.d.ts +2 -2
  371. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.js +2 -2
  372. package/dist/compute/v1/generated/validators/zoneResource.zod.d.ts +2 -2
  373. package/dist/compute/v1/generated/validators/zoneResource.zod.js +2 -2
  374. package/dist/membership/v1/generated/models.d.ts +4 -0
  375. package/dist/membership/v1/generated/validators/invoiceItem.zod.d.ts +1 -0
  376. package/dist/membership/v1/generated/validators/invoiceItem.zod.js +4 -0
  377. package/dist/membership/v1/generated/validators/invoiceItemList.zod.d.ts +1 -0
  378. package/dist/membership/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  379. package/dist/membership/v1/generated/validators/usageCharge.zod.js +4 -0
  380. package/dist/membership/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  381. package/package.json +1 -1
@@ -11,8 +11,8 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
- * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; 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` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; 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` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a metered purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
18
  * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
@@ -176,10 +176,13 @@ export interface RenameBackupRequestBody {
176
176
  */
177
177
  name: string;
178
178
  }
179
- export type BillingChoiceMode = (typeof BillingChoiceMode)[keyof typeof BillingChoiceMode];
180
- export declare const BillingChoiceMode: {
181
- readonly prepaid: "prepaid";
182
- readonly postpaid: "postpaid";
179
+ /**
180
+ * `licensed` pays for a period in advance; `metered` bills usage until canceled.
181
+ */
182
+ export type BillingChoiceUsageType = (typeof BillingChoiceUsageType)[keyof typeof BillingChoiceUsageType];
183
+ export declare const BillingChoiceUsageType: {
184
+ readonly licensed: "licensed";
185
+ readonly metered: "metered";
183
186
  };
184
187
  export type BillingPeriodUnit = (typeof BillingPeriodUnit)[keyof typeof BillingPeriodUnit];
185
188
  export declare const BillingPeriodUnit: {
@@ -203,10 +206,11 @@ export declare const TerminationPolicy: {
203
206
  readonly period_end: "period_end";
204
207
  };
205
208
  /**
206
- * The commercial terms for one newly purchased component. Prepaid requires period and termination_policy; postpaid refuses both. Components in one instance order must use the same mode and period, while their termination policies may differ.
209
+ * The commercial terms for one newly purchased component. Licensed requires period and termination_policy; metered refuses both. Components in one instance order must use the same usage type and period, while their termination policies may differ.
207
210
  */
208
211
  export interface BillingChoice {
209
- mode: BillingChoiceMode;
212
+ /** `licensed` pays for a period in advance; `metered` bills usage until canceled. */
213
+ usage_type: BillingChoiceUsageType;
210
214
  period?: BillingPeriod;
211
215
  termination_policy?: TerminationPolicy;
212
216
  }
@@ -454,10 +458,13 @@ export declare const DiskTypeResourceMedia: {
454
458
  readonly hdd: "hdd";
455
459
  readonly nvme: "nvme";
456
460
  };
457
- export type PricingOptionMode = (typeof PricingOptionMode)[keyof typeof PricingOptionMode];
458
- export declare const PricingOptionMode: {
459
- readonly prepaid: "prepaid";
460
- readonly postpaid: "postpaid";
461
+ /**
462
+ * `licensed` pays for a period in advance; `metered` bills usage until canceled.
463
+ */
464
+ export type PricingOptionUsageType = (typeof PricingOptionUsageType)[keyof typeof PricingOptionUsageType];
465
+ export declare const PricingOptionUsageType: {
466
+ readonly licensed: "licensed";
467
+ readonly metered: "metered";
461
468
  };
462
469
  /**
463
470
  * What the amounts are for: one `item`, such as an instance or an address; one `gib` of size or capacity; one `mbps` of bandwidth; or one `snapshot` slot.
@@ -470,7 +477,7 @@ export declare const PricingOptionQuantityUnit: {
470
477
  readonly snapshot: "snapshot";
471
478
  };
472
479
  /**
473
- * Postpaid only; null for prepaid. The time unit of `unit_amount`.
480
+ * Metered only; null for licensed. The time unit of `unit_amount`.
474
481
  * @nullable
475
482
  */
476
483
  export type PricingOptionUnit = (typeof PricingOptionUnit)[keyof typeof PricingOptionUnit] | null;
@@ -487,36 +494,37 @@ export declare const PricingOptionTerminationPolicy: {
487
494
  readonly period_end: "period_end";
488
495
  };
489
496
  /**
490
- * One way to buy an item. Choose it by giving its mode, period and explicit prepaid termination_policy as billing.
497
+ * One way to buy an item. Choose it by giving its usage_type, period and termination_policy as billing.
491
498
  */
492
499
  export interface PricingOption {
493
- mode: PricingOptionMode;
494
- /** The term of a prepaid option; null for postpaid. */
500
+ /** `licensed` pays for a period in advance; `metered` bills usage until canceled. */
501
+ usage_type: PricingOptionUsageType;
502
+ /** The term of a licensed option; null for metered. */
495
503
  period: BillingPeriod | null;
496
504
  /** What the amounts are for: one `item`, such as an instance or an address; one `gib` of size or capacity; one `mbps` of bandwidth; or one `snapshot` slot. */
497
505
  quantity_unit: PricingOptionQuantityUnit;
498
506
  /**
499
- * Prepaid only; null for postpaid. The amount for one period, per quantity unit.
507
+ * Licensed only; null for metered. The amount for one period, per quantity unit.
500
508
  * @nullable
501
509
  */
502
510
  amount: string | null;
503
511
  /**
504
- * Prepaid only; null for postpaid. `amount` spread over the months of the period.
512
+ * Licensed only; null for metered. `amount` spread over the months of the period.
505
513
  * @nullable
506
514
  */
507
515
  monthly_amount: string | null;
508
516
  /**
509
- * Prepaid only. How much lower `monthly_amount` is than that of the shortest prepaid period of the same item, as a decimal percentage. Null for that shortest period and for postpaid.
517
+ * Licensed only. How much lower `monthly_amount` is than that of the shortest licensed period of the same item, as a decimal percentage. Null for that shortest period and for metered.
510
518
  * @nullable
511
519
  */
512
520
  saving_percent: string | null;
513
521
  /**
514
- * Postpaid only; null for prepaid. The amount for one `unit` of time, per quantity unit.
522
+ * Metered only; null for licensed. The amount for one `unit` of time, per quantity unit.
515
523
  * @nullable
516
524
  */
517
525
  unit_amount: string | null;
518
526
  /**
519
- * Postpaid only; null for prepaid. The time unit of `unit_amount`.
527
+ * Metered only; null for licensed. The time unit of `unit_amount`.
520
528
  * @nullable
521
529
  */
522
530
  unit: PricingOptionUnit;
@@ -2061,10 +2069,10 @@ export interface BackupService {
2061
2069
  * The total `capacity_gib` of the active capacity packs in this region; this much retained capacity is covered each hour.
2062
2070
  * @minimum 0
2063
2071
  */
2064
- prepaid_capacity_gib: number;
2065
- /** The postpaid usage price of backups in this region. Null when the project has no billing account. */
2072
+ pack_capacity_gib: number;
2073
+ /** The metered usage price of backups in this region. Null when the project has no billing account. */
2066
2074
  readonly pricing: Pricing | null;
2067
- /** The prepaid options of capacity packs in this region, per GiB. Null when the project has no billing account. */
2075
+ /** The licensed options of capacity packs in this region, per GiB. Null when the project has no billing account. */
2068
2076
  readonly capacity_pack_pricing: Pricing | null;
2069
2077
  }
2070
2078
  export interface CreateBackupServiceRequestBody {
@@ -2097,7 +2105,7 @@ export declare const BackupCapacityPackFailureReason: {
2097
2105
  readonly provisioning_failed: "provisioning_failed";
2098
2106
  };
2099
2107
  /**
2100
- * Prepaid backup capacity for one region, sold by Compute and bought for a term through its own Billing subscription. Compute applies its coverage to backup usage; it is not a Billing allowance or credit.
2108
+ * Backup capacity for one region, sold by Compute and bought for a term through its own Billing subscription. Compute applies its coverage to backup usage; it is not a Billing allowance or credit.
2101
2109
  */
2102
2110
  export interface BackupCapacityPack {
2103
2111
  id: string;
@@ -23,9 +23,9 @@ export const BackupOperationType = {
23
23
  restore: "restore",
24
24
  delete: "delete",
25
25
  };
26
- export const BillingChoiceMode = {
27
- prepaid: "prepaid",
28
- postpaid: "postpaid",
26
+ export const BillingChoiceUsageType = {
27
+ licensed: "licensed",
28
+ metered: "metered",
29
29
  };
30
30
  export const BillingPeriodUnit = {
31
31
  month: "month",
@@ -99,9 +99,9 @@ export const DiskTypeResourceMedia = {
99
99
  hdd: "hdd",
100
100
  nvme: "nvme",
101
101
  };
102
- export const PricingOptionMode = {
103
- prepaid: "prepaid",
104
- postpaid: "postpaid",
102
+ export const PricingOptionUsageType = {
103
+ licensed: "licensed",
104
+ metered: "metered",
105
105
  };
106
106
  export const PricingOptionQuantityUnit = {
107
107
  item: "item",
@@ -11,8 +11,8 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
- * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; 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` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; 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` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a metered purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
18
  * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
@@ -85,9 +85,9 @@ export declare const RestoreBackupBody: zod.ZodObject<{
85
85
  name: zod.ZodString;
86
86
  size_gb: zod.ZodOptional<zod.ZodInt>;
87
87
  billing: zod.ZodObject<{
88
- mode: zod.ZodEnum<{
89
- prepaid: "prepaid";
90
- postpaid: "postpaid";
88
+ usage_type: zod.ZodEnum<{
89
+ licensed: "licensed";
90
+ metered: "metered";
91
91
  }>;
92
92
  period: zod.ZodOptional<zod.ZodObject<{
93
93
  unit: zod.ZodEnum<{
@@ -110,7 +110,7 @@ export declare const RestoreBackupBody: zod.ZodObject<{
110
110
  }, zod.z.core.$strict>>;
111
111
  }, zod.z.core.$strict>;
112
112
  /**
113
- * Prices what `restore-backup` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects postpaid usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
113
+ * Prices what `restore-backup` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects metered usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
114
114
  * @summary Quote restoring from a backup
115
115
  */
116
116
  export declare const CreateBackupRestoreQuoteParams: zod.ZodObject<{
@@ -121,9 +121,9 @@ export declare const CreateBackupRestoreQuoteBody: zod.ZodObject<{
121
121
  name: zod.ZodString;
122
122
  size_gb: zod.ZodOptional<zod.ZodInt>;
123
123
  billing: zod.ZodObject<{
124
- mode: zod.ZodEnum<{
125
- prepaid: "prepaid";
126
- postpaid: "postpaid";
124
+ usage_type: zod.ZodEnum<{
125
+ licensed: "licensed";
126
+ metered: "metered";
127
127
  }>;
128
128
  period: zod.ZodOptional<zod.ZodObject<{
129
129
  unit: zod.ZodEnum<{
@@ -206,9 +206,9 @@ export declare const CreateImageBody: zod.ZodObject<{
206
206
  instance_id: zod.ZodUUID;
207
207
  name: zod.ZodString;
208
208
  billing: zod.ZodObject<{
209
- mode: zod.ZodEnum<{
210
- prepaid: "prepaid";
211
- postpaid: "postpaid";
209
+ usage_type: zod.ZodEnum<{
210
+ licensed: "licensed";
211
+ metered: "metered";
212
212
  }>;
213
213
  period: zod.ZodOptional<zod.ZodObject<{
214
214
  unit: zod.ZodEnum<{
@@ -237,9 +237,9 @@ export declare const CreateImageBody: zod.ZodObject<{
237
237
  export declare const CreateImageQuoteBody: zod.ZodObject<{
238
238
  instance_id: zod.ZodUUID;
239
239
  billing: zod.ZodObject<{
240
- mode: zod.ZodEnum<{
241
- prepaid: "prepaid";
242
- postpaid: "postpaid";
240
+ usage_type: zod.ZodEnum<{
241
+ licensed: "licensed";
242
+ metered: "metered";
243
243
  }>;
244
244
  period: zod.ZodOptional<zod.ZodObject<{
245
245
  unit: zod.ZodEnum<{
@@ -349,9 +349,9 @@ export declare const CreateDiskBody: zod.ZodObject<{
349
349
  size_gb: zod.ZodInt;
350
350
  snapshot_id: zod.ZodOptional<zod.ZodUUID>;
351
351
  billing: zod.ZodObject<{
352
- mode: zod.ZodEnum<{
353
- prepaid: "prepaid";
354
- postpaid: "postpaid";
352
+ usage_type: zod.ZodEnum<{
353
+ licensed: "licensed";
354
+ metered: "metered";
355
355
  }>;
356
356
  period: zod.ZodOptional<zod.ZodObject<{
357
357
  unit: zod.ZodEnum<{
@@ -374,7 +374,7 @@ export declare const CreateDiskBody: zod.ZodObject<{
374
374
  }, zod.z.core.$strict>>;
375
375
  }, zod.z.core.$strict>;
376
376
  /**
377
- * Prices what `create-disk` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects postpaid usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
377
+ * Prices what `create-disk` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects metered usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
378
378
  * @summary Quote creating a disk
379
379
  */
380
380
  export declare const CreateDiskQuoteBody: zod.ZodObject<{
@@ -383,9 +383,9 @@ export declare const CreateDiskQuoteBody: zod.ZodObject<{
383
383
  size_gb: zod.ZodInt;
384
384
  snapshot_id: zod.ZodOptional<zod.ZodUUID>;
385
385
  billing: zod.ZodObject<{
386
- mode: zod.ZodEnum<{
387
- prepaid: "prepaid";
388
- postpaid: "postpaid";
386
+ usage_type: zod.ZodEnum<{
387
+ licensed: "licensed";
388
+ metered: "metered";
389
389
  }>;
390
390
  period: zod.ZodOptional<zod.ZodObject<{
391
391
  unit: zod.ZodEnum<{
@@ -427,7 +427,7 @@ export declare const DeleteDiskParams: zod.ZodObject<{
427
427
  diskId: zod.ZodUUID;
428
428
  }, zod.z.core.$strict>;
429
429
  /**
430
- * Capacity can only be increased; shrinking is not supported. Returns the disk with the order for the resize, which keeps the disk's billing mode and period. The disk shows the `resize` operation until the resize is applied or its order is canceled, including while the order awaits checkout, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The disk keeps its current size until the resize is applied; once `size_gb` shows the new size, extend the file system inside the instance. If the order is not accepted or the resize fails, the disk keeps its size and the order shows the outcome.
430
+ * Capacity can only be increased; shrinking is not supported. Returns the disk with the order for the resize, which keeps the disk's usage type and period. The disk shows the `resize` operation until the resize is applied or its order is canceled, including while the order awaits checkout, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The disk keeps its current size until the resize is applied; once `size_gb` shows the new size, extend the file system inside the instance. If the order is not accepted or the resize fails, the disk keeps its size and the order shows the outcome.
431
431
  *
432
432
  * **An attached data disk whose performance scales with its size must be detached before it is resized.** The performance of an attached disk does not change until the disk is detached and attached again, so such a request is refused with `DISK_RESIZE_NEEDS_DETACH` rather than providing the new capacity at the performance of the previous size. Detach the disk, resize it, and attach it again.
433
433
  *
@@ -501,9 +501,9 @@ export declare const AllocateFloatingIpBody: zod.ZodObject<{
501
501
  private_network_id: zod.ZodUUID;
502
502
  ipv4_pool_id: zod.ZodUUID;
503
503
  billing: zod.ZodObject<{
504
- mode: zod.ZodEnum<{
505
- prepaid: "prepaid";
506
- postpaid: "postpaid";
504
+ usage_type: zod.ZodEnum<{
505
+ licensed: "licensed";
506
+ metered: "metered";
507
507
  }>;
508
508
  period: zod.ZodOptional<zod.ZodObject<{
509
509
  unit: zod.ZodEnum<{
@@ -526,7 +526,7 @@ export declare const AllocateFloatingIpBody: zod.ZodObject<{
526
526
  }, zod.z.core.$strict>>;
527
527
  }, zod.z.core.$strict>;
528
528
  /**
529
- * Prices what `allocate-floating-ip` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects postpaid usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
529
+ * Prices what `allocate-floating-ip` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects metered usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
530
530
  * @summary Quote allocating a floating IP
531
531
  */
532
532
  export declare const CreateFloatingIpQuoteBody: zod.ZodObject<{
@@ -535,9 +535,9 @@ export declare const CreateFloatingIpQuoteBody: zod.ZodObject<{
535
535
  private_network_id: zod.ZodUUID;
536
536
  ipv4_pool_id: zod.ZodUUID;
537
537
  billing: zod.ZodObject<{
538
- mode: zod.ZodEnum<{
539
- prepaid: "prepaid";
540
- postpaid: "postpaid";
538
+ usage_type: zod.ZodEnum<{
539
+ licensed: "licensed";
540
+ metered: "metered";
541
541
  }>;
542
542
  period: zod.ZodOptional<zod.ZodObject<{
543
543
  unit: zod.ZodEnum<{
@@ -568,7 +568,7 @@ export declare const ReleaseFloatingIpParams: zod.ZodObject<{
568
568
  floatingIpId: zod.ZodUUID;
569
569
  }, zod.z.core.$strict>;
570
570
  /**
571
- * Changes the bandwidth of this floating IP through an order that keeps its billing mode and period; no separate bandwidth resource is created. The limit applies to inbound and outbound traffic alike. The floating IP shows the `set_bandwidth` operation until the change is applied or its order is canceled, including while the order awaits checkout, so other operations and a second change are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The current limit stays in effect until the change is applied. If the order is not accepted or the change fails, `bandwidth_mbps` keeps its value and the order shows the outcome.
571
+ * Changes the bandwidth of this floating IP through an order that keeps its usage type and period; no separate bandwidth resource is created. The limit applies to inbound and outbound traffic alike. The floating IP shows the `set_bandwidth` operation until the change is applied or its order is canceled, including while the order awaits checkout, so other operations and a second change are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. The current limit stays in effect until the change is applied. If the order is not accepted or the change fails, `bandwidth_mbps` keeps its value and the order shows the outcome.
572
572
  *
573
573
  * While the address is bound to an instance, the limit must not exceed the `max_bandwidth_mbps` of that instance's type; a higher limit is refused with `INSTANCE_BANDWIDTH_CEILING`. The limit of an address that is not bound is checked when the address is bound to an instance.
574
574
  * @summary Set the bandwidth limit
@@ -647,9 +647,9 @@ export declare const LaunchInstanceBody: zod.ZodObject<{
647
647
  compute: zod.ZodObject<{
648
648
  instance_type_id: zod.ZodUUID;
649
649
  billing: zod.ZodObject<{
650
- mode: zod.ZodEnum<{
651
- prepaid: "prepaid";
652
- postpaid: "postpaid";
650
+ usage_type: zod.ZodEnum<{
651
+ licensed: "licensed";
652
+ metered: "metered";
653
653
  }>;
654
654
  period: zod.ZodOptional<zod.ZodObject<{
655
655
  unit: zod.ZodEnum<{
@@ -685,9 +685,9 @@ export declare const LaunchInstanceBody: zod.ZodObject<{
685
685
  size_gb: zod.ZodInt;
686
686
  delete_with_instance: zod.ZodDefault<zod.ZodBoolean>;
687
687
  billing: zod.ZodObject<{
688
- mode: zod.ZodEnum<{
689
- prepaid: "prepaid";
690
- postpaid: "postpaid";
688
+ usage_type: zod.ZodEnum<{
689
+ licensed: "licensed";
690
+ metered: "metered";
691
691
  }>;
692
692
  period: zod.ZodOptional<zod.ZodObject<{
693
693
  unit: zod.ZodEnum<{
@@ -712,9 +712,9 @@ export declare const LaunchInstanceBody: zod.ZodObject<{
712
712
  bandwidth_mbps: zod.ZodInt;
713
713
  ipv4_pool_id: zod.ZodUUID;
714
714
  billing: zod.ZodObject<{
715
- mode: zod.ZodEnum<{
716
- prepaid: "prepaid";
717
- postpaid: "postpaid";
715
+ usage_type: zod.ZodEnum<{
716
+ licensed: "licensed";
717
+ metered: "metered";
718
718
  }>;
719
719
  period: zod.ZodOptional<zod.ZodObject<{
720
720
  unit: zod.ZodEnum<{
@@ -731,7 +731,7 @@ export declare const LaunchInstanceBody: zod.ZodObject<{
731
731
  }, zod.z.core.$strict>>;
732
732
  }, zod.z.core.$strict>;
733
733
  /**
734
- * Prices what `launch-instance` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects postpaid usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
734
+ * Prices what `launch-instance` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects metered usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
735
735
  * @summary Quote creating instances
736
736
  */
737
737
  export declare const CreateInstanceQuoteBody: zod.ZodObject<{
@@ -741,9 +741,9 @@ export declare const CreateInstanceQuoteBody: zod.ZodObject<{
741
741
  compute: zod.ZodObject<{
742
742
  instance_type_id: zod.ZodUUID;
743
743
  billing: zod.ZodObject<{
744
- mode: zod.ZodEnum<{
745
- prepaid: "prepaid";
746
- postpaid: "postpaid";
744
+ usage_type: zod.ZodEnum<{
745
+ licensed: "licensed";
746
+ metered: "metered";
747
747
  }>;
748
748
  period: zod.ZodOptional<zod.ZodObject<{
749
749
  unit: zod.ZodEnum<{
@@ -772,9 +772,9 @@ export declare const CreateInstanceQuoteBody: zod.ZodObject<{
772
772
  size_gb: zod.ZodInt;
773
773
  delete_with_instance: zod.ZodDefault<zod.ZodBoolean>;
774
774
  billing: zod.ZodObject<{
775
- mode: zod.ZodEnum<{
776
- prepaid: "prepaid";
777
- postpaid: "postpaid";
775
+ usage_type: zod.ZodEnum<{
776
+ licensed: "licensed";
777
+ metered: "metered";
778
778
  }>;
779
779
  period: zod.ZodOptional<zod.ZodObject<{
780
780
  unit: zod.ZodEnum<{
@@ -799,9 +799,9 @@ export declare const CreateInstanceQuoteBody: zod.ZodObject<{
799
799
  bandwidth_mbps: zod.ZodInt;
800
800
  ipv4_pool_id: zod.ZodUUID;
801
801
  billing: zod.ZodObject<{
802
- mode: zod.ZodEnum<{
803
- prepaid: "prepaid";
804
- postpaid: "postpaid";
802
+ usage_type: zod.ZodEnum<{
803
+ licensed: "licensed";
804
+ metered: "metered";
805
805
  }>;
806
806
  period: zod.ZodOptional<zod.ZodObject<{
807
807
  unit: zod.ZodEnum<{
@@ -974,7 +974,7 @@ export declare const RebuildInstanceBody: zod.ZodObject<{
974
974
  password: zod.ZodOptional<zod.ZodString>;
975
975
  }, zod.z.core.$strict>;
976
976
  /**
977
- * Creates a Billing change order, including for metered pricing, and returns the instance with the order. The instance keeps its billing mode and period, priced with the target type's matching option; a target type without that option is refused with 409 `BILLING_OPTION_UNAVAILABLE`. Do not submit a new purchase after paying. After an uncertain response, look the order up before submitting again.
977
+ * Creates a Billing change order, including for metered pricing, and returns the instance with the order. The instance keeps its usage type and period, priced with the target type's matching option; a target type without that option is refused with 409 `BILLING_OPTION_UNAVAILABLE`. Do not submit a new purchase after paying. After an uncertain response, look the order up before submitting again.
978
978
  *
979
979
  * The instance shows the `resize` operation until the resize is applied or its order is canceled, including while the order awaits checkout, so other operations and a second resize are refused with `COMPUTE_RESOURCE_BUSY` meanwhile. It keeps its current type until the resize is applied; the new type takes effect, and is billed from then on, when `instance_type_id` shows it. If the order is not accepted or the resize fails, the instance keeps its current type and the order shows the outcome. A completed resize is final and cannot be reverted; to return to the previous type, submit another resize.
980
980
  * @summary Resize an instance
@@ -1412,7 +1412,7 @@ export declare const GetSnapshotQuotaParams: zod.ZodObject<{
1412
1412
  * Purchases or changes the maximum number of snapshots this project may hold in this region.
1413
1413
  * limit is the target total, not an additional number of slots or a consumable create allowance.
1414
1414
  * billing chooses one of the quota's pricing options; a change of an existing purchase keeps its
1415
- * billing mode and period, and billing must name that option. The purchased quantity is this count.
1415
+ * usage type and period, and billing must name that option. The purchased quantity is this count.
1416
1416
  *
1417
1417
  * Returns the quota with the order. pending_limit records the target while the current limit stays
1418
1418
  * in force; the new limit applies once the order is accepted and the quota is activated. Snapshots
@@ -1432,9 +1432,9 @@ export declare const SetSnapshotQuotaParams: zod.ZodObject<{
1432
1432
  export declare const SetSnapshotQuotaBody: zod.ZodObject<{
1433
1433
  limit: zod.ZodInt;
1434
1434
  billing: zod.ZodObject<{
1435
- mode: zod.ZodEnum<{
1436
- prepaid: "prepaid";
1437
- postpaid: "postpaid";
1435
+ usage_type: zod.ZodEnum<{
1436
+ licensed: "licensed";
1437
+ metered: "metered";
1438
1438
  }>;
1439
1439
  period: zod.ZodOptional<zod.ZodObject<{
1440
1440
  unit: zod.ZodEnum<{
@@ -1458,7 +1458,7 @@ export declare const SetSnapshotQuotaBody: zod.ZodObject<{
1458
1458
  proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
1459
1459
  }, zod.z.core.$strict>;
1460
1460
  /**
1461
- * Prices what `set-snapshot-quota` would order, including a change of an existing purchase as of now, for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects postpaid usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
1461
+ * Prices what `set-snapshot-quota` would order, including a change of an existing purchase as of now, for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects metered usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
1462
1462
  * @summary Quote setting the regional snapshot quota
1463
1463
  */
1464
1464
  export declare const CreateSnapshotQuotaQuoteParams: zod.ZodObject<{
@@ -1467,9 +1467,9 @@ export declare const CreateSnapshotQuotaQuoteParams: zod.ZodObject<{
1467
1467
  export declare const CreateSnapshotQuotaQuoteBody: zod.ZodObject<{
1468
1468
  limit: zod.ZodInt;
1469
1469
  billing: zod.ZodObject<{
1470
- mode: zod.ZodEnum<{
1471
- prepaid: "prepaid";
1472
- postpaid: "postpaid";
1470
+ usage_type: zod.ZodEnum<{
1471
+ licensed: "licensed";
1472
+ metered: "metered";
1473
1473
  }>;
1474
1474
  period: zod.ZodOptional<zod.ZodObject<{
1475
1475
  unit: zod.ZodEnum<{
@@ -1494,7 +1494,7 @@ export declare const GetBackupServiceParams: zod.ZodObject<{
1494
1494
  regionId: zod.ZodUUID;
1495
1495
  }, zod.z.core.$strict>;
1496
1496
  /**
1497
- * Purchases the backup service for this project and region. The service itself has no charge; backups are billed under it postpaid, by retained capacity. It takes no billing choice. Returns the service as `pending` with its order; it becomes `active` once the order is accepted.
1497
+ * Purchases the backup service for this project and region. The service itself has no charge; backups are metered under it by retained capacity. It takes no billing choice. Returns the service as `pending` with its order; it becomes `active` once the order is accepted.
1498
1498
  *
1499
1499
  * Refused with 409 `BACKUP_SERVICE_EXISTS` while an activation is pending or the service is active or suspended.
1500
1500
  * @summary Activate the backup service in a region
@@ -1512,7 +1512,7 @@ export declare const CreateBackupServiceBody: zod.ZodObject<{
1512
1512
  }, zod.z.core.$strict>>;
1513
1513
  }, zod.z.core.$strict>;
1514
1514
  /**
1515
- * Prices what `create-backup-service` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects postpaid usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
1515
+ * Prices what `create-backup-service` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects metered usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
1516
1516
  * @summary Quote activating the backup service
1517
1517
  */
1518
1518
  export declare const CreateBackupServiceQuoteParams: zod.ZodObject<{
@@ -1534,7 +1534,7 @@ export declare const ListBackupCapacityPacksQueryParams: zod.ZodObject<{
1534
1534
  page_size: zod.ZodDefault<zod.ZodInt>;
1535
1535
  }, zod.z.core.$strict>;
1536
1536
  /**
1537
- * Purchases a capacity pack, prepaid backup capacity for this project and region bought by month or year: `billing` must be prepaid with a period, as offered in the backup service's `capacity_pack_pricing`. Compute applies the coverage: each hour, retained backup capacity up to the total `capacity_gib` of the packs active in the region is covered, and Compute meters only the excess on the backup service's subscription. A pack is not a Billing allowance or credit; Billing takes its order and payment and handles its renewal and cancellation through the pack's subscription.
1537
+ * Purchases a capacity pack, backup capacity for this project and region bought in advance by month or year: `billing` must be licensed with a period, as offered in the backup service's `capacity_pack_pricing`. Compute applies the coverage: each hour, retained backup capacity up to the total `capacity_gib` of the packs active in the region is covered, and Compute meters only the excess on the backup service's subscription. A pack is not a Billing allowance or credit; Billing takes its order and payment and handles its renewal and cancellation through the pack's subscription.
1538
1538
  *
1539
1539
  * Returns the pack as `pending` with its order; it applies once the order is accepted. Refused with 409 `BACKUP_SERVICE_NOT_ACTIVE` and `meta.region_id` when the region's backup service is not active.
1540
1540
  * @summary Buy a backup capacity pack
@@ -1545,9 +1545,9 @@ export declare const CreateBackupCapacityPackParams: zod.ZodObject<{
1545
1545
  export declare const CreateBackupCapacityPackBody: zod.ZodObject<{
1546
1546
  capacity_gib: zod.ZodInt;
1547
1547
  billing: zod.ZodObject<{
1548
- mode: zod.ZodEnum<{
1549
- prepaid: "prepaid";
1550
- postpaid: "postpaid";
1548
+ usage_type: zod.ZodEnum<{
1549
+ licensed: "licensed";
1550
+ metered: "metered";
1551
1551
  }>;
1552
1552
  period: zod.ZodOptional<zod.ZodObject<{
1553
1553
  unit: zod.ZodEnum<{
@@ -1570,7 +1570,7 @@ export declare const CreateBackupCapacityPackBody: zod.ZodObject<{
1570
1570
  }, zod.z.core.$strict>>;
1571
1571
  }, zod.z.core.$strict>;
1572
1572
  /**
1573
- * Prices what `create-backup-capacity-pack` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects postpaid usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
1573
+ * Prices what `create-backup-capacity-pack` would order for the same request, without ordering or creating anything; nothing is reserved or recorded. Billing evaluates applicable account discounts and tax as for automatic checkout. `total` is what automatic checkout would collect before credit grants and balance; give it as `checkout.expected_amount` to be refused rather than charged a different amount. `estimated_usage_amount` projects metered usage over one month of 730 hours and is not collected at checkout. A request the purchase would refuse is refused the same way. Prices may change, so quote again before final confirmation.
1574
1574
  * @summary Quote buying a backup capacity pack
1575
1575
  */
1576
1576
  export declare const CreateBackupCapacityPackQuoteParams: zod.ZodObject<{
@@ -1579,9 +1579,9 @@ export declare const CreateBackupCapacityPackQuoteParams: zod.ZodObject<{
1579
1579
  export declare const CreateBackupCapacityPackQuoteBody: zod.ZodObject<{
1580
1580
  capacity_gib: zod.ZodInt;
1581
1581
  billing: zod.ZodObject<{
1582
- mode: zod.ZodEnum<{
1583
- prepaid: "prepaid";
1584
- postpaid: "postpaid";
1582
+ usage_type: zod.ZodEnum<{
1583
+ licensed: "licensed";
1584
+ metered: "metered";
1585
1585
  }>;
1586
1586
  period: zod.ZodOptional<zod.ZodObject<{
1587
1587
  unit: zod.ZodEnum<{