@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
@@ -1392,6 +1392,8 @@ export interface InvoiceItem {
1392
1392
  /** The part covered by an included allowance, and therefore not charged. */
1393
1393
  deducted_quantity?: string;
1394
1394
  unit_amount?: Money;
1395
+ /** The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. Present together with `unit_amount`. */
1396
+ unit_quantity?: string;
1395
1397
  amount: Money;
1396
1398
  currency: string;
1397
1399
  /** @nullable */
@@ -1642,6 +1644,8 @@ export interface UsageCharge {
1642
1644
  /** The quantity charged: gross quantity less the part covered by allowances. */
1643
1645
  quantity: string;
1644
1646
  unit_amount?: Money;
1647
+ /** The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. */
1648
+ unit_quantity?: string;
1645
1649
  amount: Money;
1646
1650
  currency: string;
1647
1651
  /**
@@ -32,6 +32,7 @@ export declare const InvoiceItem: zod.ZodObject<{
32
32
  quantity: zod.ZodOptional<zod.ZodString>;
33
33
  deducted_quantity: zod.ZodOptional<zod.ZodString>;
34
34
  unit_amount: zod.ZodOptional<zod.ZodString>;
35
+ unit_quantity: zod.ZodOptional<zod.ZodString>;
35
36
  amount: zod.ZodString;
36
37
  currency: zod.ZodString;
37
38
  period_start: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
@@ -38,6 +38,10 @@ export const InvoiceItem = zod.strictObject({
38
38
  .optional()
39
39
  .describe("The part covered by an included allowance, and therefore not charged."),
40
40
  unit_amount: Money.optional(),
41
+ unit_quantity: zod
42
+ .string()
43
+ .optional()
44
+ .describe("The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. Present together with `unit_amount`."),
41
45
  amount: Money,
42
46
  currency: zod.string(),
43
47
  period_start: zod.iso.datetime({ offset: true }).nullish(),
@@ -33,6 +33,7 @@ export declare const InvoiceItemList: zod.ZodObject<{
33
33
  quantity: zod.ZodOptional<zod.ZodString>;
34
34
  deducted_quantity: zod.ZodOptional<zod.ZodString>;
35
35
  unit_amount: zod.ZodOptional<zod.ZodString>;
36
+ unit_quantity: zod.ZodOptional<zod.ZodString>;
36
37
  amount: zod.ZodString;
37
38
  currency: zod.ZodString;
38
39
  period_start: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
@@ -33,6 +33,7 @@ export declare const UsageCharge: zod.ZodObject<{
33
33
  deducted_quantity: zod.ZodOptional<zod.ZodString>;
34
34
  quantity: zod.ZodString;
35
35
  unit_amount: zod.ZodOptional<zod.ZodString>;
36
+ unit_quantity: zod.ZodOptional<zod.ZodString>;
36
37
  amount: zod.ZodString;
37
38
  currency: zod.ZodString;
38
39
  invoice_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
@@ -40,6 +40,10 @@ export const UsageCharge = zod.strictObject({
40
40
  .string()
41
41
  .describe("The quantity charged: gross quantity less the part covered by allowances."),
42
42
  unit_amount: Money.optional(),
43
+ unit_quantity: zod
44
+ .string()
45
+ .optional()
46
+ .describe("The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`."),
43
47
  amount: Money,
44
48
  currency: zod.string(),
45
49
  invoice_id: zod
@@ -34,6 +34,7 @@ export declare const UsageChargeList: zod.ZodObject<{
34
34
  deducted_quantity: zod.ZodOptional<zod.ZodString>;
35
35
  quantity: zod.ZodString;
36
36
  unit_amount: zod.ZodOptional<zod.ZodString>;
37
+ unit_quantity: zod.ZodOptional<zod.ZodString>;
37
38
  amount: zod.ZodString;
38
39
  currency: zod.ZodString;
39
40
  invoice_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
@@ -1181,6 +1181,8 @@ export interface InvoiceItem {
1181
1181
  /** The part covered by an included allowance, and therefore not charged. */
1182
1182
  deducted_quantity?: string;
1183
1183
  unit_amount?: Money;
1184
+ /** The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. Present together with `unit_amount`. */
1185
+ unit_quantity?: string;
1184
1186
  amount: Money;
1185
1187
  currency: string;
1186
1188
  /** @nullable */
@@ -1431,6 +1433,8 @@ export interface UsageCharge {
1431
1433
  /** The quantity charged: gross quantity less the part covered by allowances. */
1432
1434
  quantity: string;
1433
1435
  unit_amount?: Money;
1436
+ /** The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. */
1437
+ unit_quantity?: string;
1434
1438
  amount: Money;
1435
1439
  currency: string;
1436
1440
  /**
@@ -32,6 +32,7 @@ export declare const InvoiceItem: zod.ZodObject<{
32
32
  quantity: zod.ZodOptional<zod.ZodString>;
33
33
  deducted_quantity: zod.ZodOptional<zod.ZodString>;
34
34
  unit_amount: zod.ZodOptional<zod.ZodString>;
35
+ unit_quantity: zod.ZodOptional<zod.ZodString>;
35
36
  amount: zod.ZodString;
36
37
  currency: zod.ZodString;
37
38
  period_start: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
@@ -38,6 +38,10 @@ export const InvoiceItem = zod.strictObject({
38
38
  .optional()
39
39
  .describe("The part covered by an included allowance, and therefore not charged."),
40
40
  unit_amount: Money.optional(),
41
+ unit_quantity: zod
42
+ .string()
43
+ .optional()
44
+ .describe("The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. Present together with `unit_amount`."),
41
45
  amount: Money,
42
46
  currency: zod.string(),
43
47
  period_start: zod.iso.datetime({ offset: true }).nullish(),
@@ -33,6 +33,7 @@ export declare const InvoiceItemList: zod.ZodObject<{
33
33
  quantity: zod.ZodOptional<zod.ZodString>;
34
34
  deducted_quantity: zod.ZodOptional<zod.ZodString>;
35
35
  unit_amount: zod.ZodOptional<zod.ZodString>;
36
+ unit_quantity: zod.ZodOptional<zod.ZodString>;
36
37
  amount: zod.ZodString;
37
38
  currency: zod.ZodString;
38
39
  period_start: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
@@ -33,6 +33,7 @@ export declare const UsageCharge: zod.ZodObject<{
33
33
  deducted_quantity: zod.ZodOptional<zod.ZodString>;
34
34
  quantity: zod.ZodString;
35
35
  unit_amount: zod.ZodOptional<zod.ZodString>;
36
+ unit_quantity: zod.ZodOptional<zod.ZodString>;
36
37
  amount: zod.ZodString;
37
38
  currency: zod.ZodString;
38
39
  invoice_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
@@ -40,6 +40,10 @@ export const UsageCharge = zod.strictObject({
40
40
  .string()
41
41
  .describe("The quantity charged: gross quantity less the part covered by allowances."),
42
42
  unit_amount: Money.optional(),
43
+ unit_quantity: zod
44
+ .string()
45
+ .optional()
46
+ .describe("The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`."),
43
47
  amount: Money,
44
48
  currency: zod.string(),
45
49
  invoice_id: zod
@@ -34,6 +34,7 @@ export declare const UsageChargeList: zod.ZodObject<{
34
34
  deducted_quantity: zod.ZodOptional<zod.ZodString>;
35
35
  quantity: zod.ZodString;
36
36
  unit_amount: zod.ZodOptional<zod.ZodString>;
37
+ unit_quantity: zod.ZodOptional<zod.ZodString>;
37
38
  amount: zod.ZodString;
38
39
  currency: zod.ZodString;
39
40
  invoice_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
@@ -480,7 +480,7 @@ export type createServiceResponseError = (createServiceResponse409 | createServi
480
480
  export type createServiceResponse = createServiceResponseSuccess | createServiceResponseError;
481
481
  export declare const getCreateServiceUrl: () => string;
482
482
  /**
483
- * Purchases the model platform service for this project. The service itself has no charge; requests are billed under it postpaid, by the tokens they use. It takes no billing choice. Returns the service as `pending` with its order; it becomes `active` once the order is accepted, which for an order with nothing to pay happens without further action.
483
+ * Purchases the model platform service for this project. The service itself has no charge; requests are metered under it by the tokens they use. It takes no billing choice. Returns the service as `pending` with its order; it becomes `active` once the order is accepted, which for an order with nothing to pay happens without further action.
484
484
  *
485
485
  * Refused with 409 `SERVICE_ALREADY_ENABLED` while an enablement is pending or the service is active. A refusal of the order by Billing is returned with Billing's code, such as `BILLING_PRICE_UNAVAILABLE` when the service has no price in the currency of the project's billing account.
486
486
  * @summary Enable the model platform service
@@ -432,7 +432,7 @@ export const getCreateServiceUrl = () => {
432
432
  return `https://canopy.leaflow.cloud/api/v1/service`;
433
433
  };
434
434
  /**
435
- * Purchases the model platform service for this project. The service itself has no charge; requests are billed under it postpaid, by the tokens they use. It takes no billing choice. Returns the service as `pending` with its order; it becomes `active` once the order is accepted, which for an order with nothing to pay happens without further action.
435
+ * Purchases the model platform service for this project. The service itself has no charge; requests are metered under it by the tokens they use. It takes no billing choice. Returns the service as `pending` with its order; it becomes `active` once the order is accepted, which for an order with nothing to pay happens without further action.
436
436
  *
437
437
  * Refused with 409 `SERVICE_ALREADY_ENABLED` while an enablement is pending or the service is active. A refusal of the order by Billing is returned with Billing's code, such as `BILLING_PRICE_UNAVAILABLE` when the service has no price in the currency of the project's billing account.
438
438
  * @summary Enable the model platform service
@@ -2066,6 +2066,8 @@ export interface InvoiceItem {
2066
2066
  /** The part covered by an included allowance, and therefore not charged. */
2067
2067
  deducted_quantity?: string;
2068
2068
  unit_amount?: Money;
2069
+ /** The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. Present together with `unit_amount`. */
2070
+ unit_quantity?: string;
2069
2071
  amount: Money;
2070
2072
  currency: string;
2071
2073
  /** @nullable */
@@ -2316,6 +2318,8 @@ export interface UsageCharge {
2316
2318
  /** The quantity charged: gross quantity less the part covered by allowances. */
2317
2319
  quantity: string;
2318
2320
  unit_amount?: Money;
2321
+ /** The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. */
2322
+ unit_quantity?: string;
2319
2323
  amount: Money;
2320
2324
  currency: string;
2321
2325
  /**
@@ -212,7 +212,7 @@ export declare const GetRequestParams: zod.ZodObject<{
212
212
  requestId: zod.ZodUUID;
213
213
  }, zod.z.core.$strict>;
214
214
  /**
215
- * Purchases the model platform service for this project. The service itself has no charge; requests are billed under it postpaid, by the tokens they use. It takes no billing choice. Returns the service as `pending` with its order; it becomes `active` once the order is accepted, which for an order with nothing to pay happens without further action.
215
+ * Purchases the model platform service for this project. The service itself has no charge; requests are metered under it by the tokens they use. It takes no billing choice. Returns the service as `pending` with its order; it becomes `active` once the order is accepted, which for an order with nothing to pay happens without further action.
216
216
  *
217
217
  * Refused with 409 `SERVICE_ALREADY_ENABLED` while an enablement is pending or the service is active. A refusal of the order by Billing is returned with Billing's code, such as `BILLING_PRICE_UNAVAILABLE` when the service has no price in the currency of the project's billing account.
218
218
  * @summary Enable the model platform service
@@ -205,7 +205,7 @@ export const GetRequestParams = zod.strictObject({
205
205
  requestId: zod.uuid(),
206
206
  });
207
207
  /**
208
- * Purchases the model platform service for this project. The service itself has no charge; requests are billed under it postpaid, by the tokens they use. It takes no billing choice. Returns the service as `pending` with its order; it becomes `active` once the order is accepted, which for an order with nothing to pay happens without further action.
208
+ * Purchases the model platform service for this project. The service itself has no charge; requests are metered under it by the tokens they use. It takes no billing choice. Returns the service as `pending` with its order; it becomes `active` once the order is accepted, which for an order with nothing to pay happens without further action.
209
209
  *
210
210
  * Refused with 409 `SERVICE_ALREADY_ENABLED` while an enablement is pending or the service is active. A refusal of the order by Billing is returned with Billing's code, such as `BILLING_PRICE_UNAVAILABLE` when the service has no price in the currency of the project's billing account.
211
211
  * @summary Enable the model platform service
@@ -57,6 +57,7 @@ export declare const InvoiceItem: zod.ZodObject<{
57
57
  quantity: zod.ZodOptional<zod.ZodString>;
58
58
  deducted_quantity: zod.ZodOptional<zod.ZodString>;
59
59
  unit_amount: zod.ZodOptional<zod.ZodString>;
60
+ unit_quantity: zod.ZodOptional<zod.ZodString>;
60
61
  amount: zod.ZodString;
61
62
  currency: zod.ZodString;
62
63
  period_start: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
@@ -63,6 +63,10 @@ export const InvoiceItem = zod.strictObject({
63
63
  .optional()
64
64
  .describe("The part covered by an included allowance, and therefore not charged."),
65
65
  unit_amount: Money.optional(),
66
+ unit_quantity: zod
67
+ .string()
68
+ .optional()
69
+ .describe("The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`. Present together with `unit_amount`."),
66
70
  amount: Money,
67
71
  currency: zod.string(),
68
72
  period_start: zod.iso.datetime({ offset: true }).nullish(),
@@ -58,6 +58,7 @@ export declare const InvoiceItemList: zod.ZodObject<{
58
58
  quantity: zod.ZodOptional<zod.ZodString>;
59
59
  deducted_quantity: zod.ZodOptional<zod.ZodString>;
60
60
  unit_amount: zod.ZodOptional<zod.ZodString>;
61
+ unit_quantity: zod.ZodOptional<zod.ZodString>;
61
62
  amount: zod.ZodString;
62
63
  currency: zod.ZodString;
63
64
  period_start: zod.ZodOptional<zod.ZodNullable<zod.z.ZodISODateTime>>;
@@ -58,6 +58,7 @@ export declare const UsageCharge: zod.ZodObject<{
58
58
  deducted_quantity: zod.ZodOptional<zod.ZodString>;
59
59
  quantity: zod.ZodString;
60
60
  unit_amount: zod.ZodOptional<zod.ZodString>;
61
+ unit_quantity: zod.ZodOptional<zod.ZodString>;
61
62
  amount: zod.ZodString;
62
63
  currency: zod.ZodString;
63
64
  invoice_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
@@ -65,6 +65,10 @@ export const UsageCharge = zod.strictObject({
65
65
  .string()
66
66
  .describe("The quantity charged: gross quantity less the part covered by allowances."),
67
67
  unit_amount: Money.optional(),
68
+ unit_quantity: zod
69
+ .string()
70
+ .optional()
71
+ .describe("The quantity `unit_amount` prices, such as 1000000 tokens or 3600 seconds: `amount` is `quantity` × `unit_amount` ÷ `unit_quantity`."),
68
72
  amount: Money,
69
73
  currency: zod.string(),
70
74
  invoice_id: zod
@@ -59,6 +59,7 @@ export declare const UsageChargeList: zod.ZodObject<{
59
59
  deducted_quantity: zod.ZodOptional<zod.ZodString>;
60
60
  quantity: zod.ZodString;
61
61
  unit_amount: zod.ZodOptional<zod.ZodString>;
62
+ unit_quantity: zod.ZodOptional<zod.ZodString>;
62
63
  amount: zod.ZodString;
63
64
  currency: zod.ZodString;
64
65
  invoice_id: zod.ZodOptional<zod.ZodNullable<zod.ZodUUID>>;
@@ -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.
@@ -193,7 +193,7 @@ export type createBackupRestoreQuoteResponseError = (createBackupRestoreQuoteRes
193
193
  export type createBackupRestoreQuoteResponse = createBackupRestoreQuoteResponseSuccess | createBackupRestoreQuoteResponseError;
194
194
  export declare const getCreateBackupRestoreQuoteUrl: (backupId: string) => string;
195
195
  /**
196
- * 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.
196
+ * 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.
197
197
  * @summary Quote restoring from a backup
198
198
  */
199
199
  export declare const createBackupRestoreQuote: (backupId: string, restoreBackupQuoteRequestBody: RestoreBackupQuoteRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createBackupRestoreQuoteResponse>;
@@ -533,7 +533,7 @@ export type createDiskQuoteResponseError = (createDiskQuoteResponse409 | createD
533
533
  export type createDiskQuoteResponse = createDiskQuoteResponseSuccess | createDiskQuoteResponseError;
534
534
  export declare const getCreateDiskQuoteUrl: () => string;
535
535
  /**
536
- * 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.
536
+ * 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.
537
537
  * @summary Quote creating a disk
538
538
  */
539
539
  export declare const createDiskQuote: (createDiskQuoteRequestBody: CreateDiskQuoteRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createDiskQuoteResponse>;
@@ -627,7 +627,7 @@ export type resizeDiskResponseError = (resizeDiskResponse409 | resizeDiskRespons
627
627
  export type resizeDiskResponse = resizeDiskResponseSuccess | resizeDiskResponseError;
628
628
  export declare const getResizeDiskUrl: (diskId: string) => string;
629
629
  /**
630
- * 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.
630
+ * 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.
631
631
  *
632
632
  * **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.
633
633
  *
@@ -763,7 +763,7 @@ export type createFloatingIpQuoteResponseError = (createFloatingIpQuoteResponse4
763
763
  export type createFloatingIpQuoteResponse = createFloatingIpQuoteResponseSuccess | createFloatingIpQuoteResponseError;
764
764
  export declare const getCreateFloatingIpQuoteUrl: () => string;
765
765
  /**
766
- * 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.
766
+ * 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.
767
767
  * @summary Quote allocating a floating IP
768
768
  */
769
769
  export declare const createFloatingIpQuote: (allocateFloatingIPQuoteRequestBody: AllocateFloatingIPQuoteRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createFloatingIpQuoteResponse>;
@@ -835,7 +835,7 @@ export type setFloatingIpBandwidthResponseError = (setFloatingIpBandwidthRespons
835
835
  export type setFloatingIpBandwidthResponse = setFloatingIpBandwidthResponseSuccess | setFloatingIpBandwidthResponseError;
836
836
  export declare const getSetFloatingIpBandwidthUrl: (floatingIpId: string) => string;
837
837
  /**
838
- * 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.
838
+ * 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.
839
839
  *
840
840
  * 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.
841
841
  * @summary Set the bandwidth limit
@@ -991,7 +991,7 @@ export type createInstanceQuoteResponseError = (createInstanceQuoteResponse409 |
991
991
  export type createInstanceQuoteResponse = createInstanceQuoteResponseSuccess | createInstanceQuoteResponseError;
992
992
  export declare const getCreateInstanceQuoteUrl: () => string;
993
993
  /**
994
- * 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.
994
+ * 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.
995
995
  * @summary Quote creating instances
996
996
  */
997
997
  export declare const createInstanceQuote: (launchInstanceQuoteRequestBody: LaunchInstanceQuoteRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createInstanceQuoteResponse>;
@@ -1311,7 +1311,7 @@ export type resizeInstanceResponseError = (resizeInstanceResponse409 | resizeIns
1311
1311
  export type resizeInstanceResponse = resizeInstanceResponseSuccess | resizeInstanceResponseError;
1312
1312
  export declare const getResizeInstanceUrl: (instanceId: string) => string;
1313
1313
  /**
1314
- * 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.
1314
+ * 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.
1315
1315
  *
1316
1316
  * 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.
1317
1317
  * @summary Resize an instance
@@ -2222,7 +2222,7 @@ export declare const getSetSnapshotQuotaUrl: (regionId: string) => string;
2222
2222
  * Purchases or changes the maximum number of snapshots this project may hold in this region.
2223
2223
  * limit is the target total, not an additional number of slots or a consumable create allowance.
2224
2224
  * billing chooses one of the quota's pricing options; a change of an existing purchase keeps its
2225
- * billing mode and period, and billing must name that option. The purchased quantity is this count.
2225
+ * usage type and period, and billing must name that option. The purchased quantity is this count.
2226
2226
  *
2227
2227
  * Returns the quota with the order. pending_limit records the target while the current limit stays
2228
2228
  * in force; the new limit applies once the order is accepted and the quota is activated. Snapshots
@@ -2258,7 +2258,7 @@ export type createSnapshotQuotaQuoteResponseError = (createSnapshotQuotaQuoteRes
2258
2258
  export type createSnapshotQuotaQuoteResponse = createSnapshotQuotaQuoteResponseSuccess | createSnapshotQuotaQuoteResponseError;
2259
2259
  export declare const getCreateSnapshotQuotaQuoteUrl: (regionId: string) => string;
2260
2260
  /**
2261
- * 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.
2261
+ * 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.
2262
2262
  * @summary Quote setting the regional snapshot quota
2263
2263
  */
2264
2264
  export declare const createSnapshotQuotaQuote: (regionId: string, setSnapshotQuotaQuoteRequestBody: SetSnapshotQuotaQuoteRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createSnapshotQuotaQuoteResponse>;
@@ -2306,7 +2306,7 @@ export type createBackupServiceResponseError = (createBackupServiceResponse409 |
2306
2306
  export type createBackupServiceResponse = createBackupServiceResponseSuccess | createBackupServiceResponseError;
2307
2307
  export declare const getCreateBackupServiceUrl: (regionId: string) => string;
2308
2308
  /**
2309
- * 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.
2309
+ * 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.
2310
2310
  *
2311
2311
  * Refused with 409 `BACKUP_SERVICE_EXISTS` while an activation is pending or the service is active or suspended.
2312
2312
  * @summary Activate the backup service in a region
@@ -2333,7 +2333,7 @@ export type createBackupServiceQuoteResponseError = (createBackupServiceQuoteRes
2333
2333
  export type createBackupServiceQuoteResponse = createBackupServiceQuoteResponseSuccess | createBackupServiceQuoteResponseError;
2334
2334
  export declare const getCreateBackupServiceQuoteUrl: (regionId: string) => string;
2335
2335
  /**
2336
- * 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.
2336
+ * 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.
2337
2337
  * @summary Quote activating the backup service
2338
2338
  */
2339
2339
  export declare const createBackupServiceQuote: (regionId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createBackupServiceQuoteResponse>;
@@ -2379,7 +2379,7 @@ export type createBackupCapacityPackResponseError = (createBackupCapacityPackRes
2379
2379
  export type createBackupCapacityPackResponse = createBackupCapacityPackResponseSuccess | createBackupCapacityPackResponseError;
2380
2380
  export declare const getCreateBackupCapacityPackUrl: (regionId: string) => string;
2381
2381
  /**
2382
- * 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.
2382
+ * 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.
2383
2383
  *
2384
2384
  * 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.
2385
2385
  * @summary Buy a backup capacity pack
@@ -2406,7 +2406,7 @@ export type createBackupCapacityPackQuoteResponseError = (createBackupCapacityPa
2406
2406
  export type createBackupCapacityPackQuoteResponse = createBackupCapacityPackQuoteResponseSuccess | createBackupCapacityPackQuoteResponseError;
2407
2407
  export declare const getCreateBackupCapacityPackQuoteUrl: (regionId: string) => string;
2408
2408
  /**
2409
- * 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.
2409
+ * 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.
2410
2410
  * @summary Quote buying a backup capacity pack
2411
2411
  */
2412
2412
  export declare const createBackupCapacityPackQuote: (regionId: string, createBackupCapacityPackQuoteRequestBody: CreateBackupCapacityPackQuoteRequestBody, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createBackupCapacityPackQuoteResponse>;
@@ -164,7 +164,7 @@ export const getCreateBackupRestoreQuoteUrl = (backupId) => {
164
164
  return `https://compute.leaflow.cloud/api/v1/backups/${encodeURIComponent(String(backupId))}/restore/quote`;
165
165
  };
166
166
  /**
167
- * 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.
167
+ * 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.
168
168
  * @summary Quote restoring from a backup
169
169
  */
170
170
  export const createBackupRestoreQuote = async (backupId, restoreBackupQuoteRequestBody, options, fetchFn) => {
@@ -553,7 +553,7 @@ export const getCreateDiskQuoteUrl = () => {
553
553
  return `https://compute.leaflow.cloud/api/v1/disks/quote`;
554
554
  };
555
555
  /**
556
- * 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.
556
+ * 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.
557
557
  * @summary Quote creating a disk
558
558
  */
559
559
  export const createDiskQuote = async (createDiskQuoteRequestBody, options, fetchFn) => {
@@ -653,7 +653,7 @@ export const getResizeDiskUrl = (diskId) => {
653
653
  return `https://compute.leaflow.cloud/api/v1/disks/${encodeURIComponent(String(diskId))}/resize`;
654
654
  };
655
655
  /**
656
- * 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.
656
+ * 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.
657
657
  *
658
658
  * **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.
659
659
  *
@@ -825,7 +825,7 @@ export const getCreateFloatingIpQuoteUrl = () => {
825
825
  return `https://compute.leaflow.cloud/api/v1/floating-ips/quote`;
826
826
  };
827
827
  /**
828
- * 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.
828
+ * 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.
829
829
  * @summary Quote allocating a floating IP
830
830
  */
831
831
  export const createFloatingIpQuote = async (allocateFloatingIPQuoteRequestBody, options, fetchFn) => {
@@ -891,7 +891,7 @@ export const getSetFloatingIpBandwidthUrl = (floatingIpId) => {
891
891
  return `https://compute.leaflow.cloud/api/v1/floating-ips/${encodeURIComponent(String(floatingIpId))}/bandwidth`;
892
892
  };
893
893
  /**
894
- * 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.
894
+ * 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.
895
895
  *
896
896
  * 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.
897
897
  * @summary Set the bandwidth limit
@@ -1078,7 +1078,7 @@ export const getCreateInstanceQuoteUrl = () => {
1078
1078
  return `https://compute.leaflow.cloud/api/v1/instances/quote`;
1079
1079
  };
1080
1080
  /**
1081
- * 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.
1081
+ * 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.
1082
1082
  * @summary Quote creating instances
1083
1083
  */
1084
1084
  export const createInstanceQuote = async (launchInstanceQuoteRequestBody, options, fetchFn) => {
@@ -1463,7 +1463,7 @@ export const getResizeInstanceUrl = (instanceId) => {
1463
1463
  return `https://compute.leaflow.cloud/api/v1/instances/${encodeURIComponent(String(instanceId))}/resize`;
1464
1464
  };
1465
1465
  /**
1466
- * 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.
1466
+ * 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.
1467
1467
  *
1468
1468
  * 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.
1469
1469
  * @summary Resize an instance
@@ -2463,7 +2463,7 @@ export const getSetSnapshotQuotaUrl = (regionId) => {
2463
2463
  * Purchases or changes the maximum number of snapshots this project may hold in this region.
2464
2464
  * limit is the target total, not an additional number of slots or a consumable create allowance.
2465
2465
  * billing chooses one of the quota's pricing options; a change of an existing purchase keeps its
2466
- * billing mode and period, and billing must name that option. The purchased quantity is this count.
2466
+ * usage type and period, and billing must name that option. The purchased quantity is this count.
2467
2467
  *
2468
2468
  * Returns the quota with the order. pending_limit records the target while the current limit stays
2469
2469
  * in force; the new limit applies once the order is accepted and the quota is activated. Snapshots
@@ -2507,7 +2507,7 @@ export const getCreateSnapshotQuotaQuoteUrl = (regionId) => {
2507
2507
  return `https://compute.leaflow.cloud/api/v1/regions/${encodeURIComponent(String(regionId))}/snapshot-quota/quote`;
2508
2508
  };
2509
2509
  /**
2510
- * 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.
2510
+ * 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.
2511
2511
  * @summary Quote setting the regional snapshot quota
2512
2512
  */
2513
2513
  export const createSnapshotQuotaQuote = async (regionId, setSnapshotQuotaQuoteRequestBody, options, fetchFn) => {
@@ -2558,7 +2558,7 @@ export const getCreateBackupServiceUrl = (regionId) => {
2558
2558
  return `https://compute.leaflow.cloud/api/v1/regions/${encodeURIComponent(String(regionId))}/backup-service`;
2559
2559
  };
2560
2560
  /**
2561
- * 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.
2561
+ * 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.
2562
2562
  *
2563
2563
  * Refused with 409 `BACKUP_SERVICE_EXISTS` while an activation is pending or the service is active or suspended.
2564
2564
  * @summary Activate the backup service in a region
@@ -2593,7 +2593,7 @@ export const getCreateBackupServiceQuoteUrl = (regionId) => {
2593
2593
  return `https://compute.leaflow.cloud/api/v1/regions/${encodeURIComponent(String(regionId))}/backup-service/quote`;
2594
2594
  };
2595
2595
  /**
2596
- * 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.
2596
+ * 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.
2597
2597
  * @summary Quote activating the backup service
2598
2598
  */
2599
2599
  export const createBackupServiceQuote = async (regionId, options, fetchFn) => {
@@ -2634,7 +2634,7 @@ export const getCreateBackupCapacityPackUrl = (regionId) => {
2634
2634
  return `https://compute.leaflow.cloud/api/v1/regions/${encodeURIComponent(String(regionId))}/backup-capacity-packs`;
2635
2635
  };
2636
2636
  /**
2637
- * 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.
2637
+ * 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.
2638
2638
  *
2639
2639
  * 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.
2640
2640
  * @summary Buy a backup capacity pack
@@ -2669,7 +2669,7 @@ export const getCreateBackupCapacityPackQuoteUrl = (regionId) => {
2669
2669
  return `https://compute.leaflow.cloud/api/v1/regions/${encodeURIComponent(String(regionId))}/backup-capacity-packs/quote`;
2670
2670
  };
2671
2671
  /**
2672
- * 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.
2672
+ * 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.
2673
2673
  * @summary Quote buying a backup capacity pack
2674
2674
  */
2675
2675
  export const createBackupCapacityPackQuote = async (regionId, createBackupCapacityPackQuoteRequestBody, options, fetchFn) => {