@leaflow/sdk 0.0.0-dev.352.g85966ed → 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 (882) hide show
  1. package/dist/billing/type/funds/v1/generated/models.d.ts +4 -4
  2. package/dist/billing/type/funds/v1/generated/validators/funds.zod.js +4 -4
  3. package/dist/billing/type/order/v1/generated/models.d.ts +379 -779
  4. package/dist/billing/type/order/v1/generated/models.js +12 -44
  5. package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.d.ts +22 -11
  6. package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.js +8 -8
  7. package/dist/billing/type/order/v1/generated/validators/activeResource.zod.js +8 -5
  8. package/dist/billing/type/order/v1/generated/validators/allowance.zod.js +3 -3
  9. package/dist/billing/type/order/v1/generated/validators/applicability.zod.d.ts +22 -11
  10. package/dist/billing/type/order/v1/generated/validators/applicability.zod.js +12 -3
  11. package/dist/billing/type/order/v1/generated/validators/applicablePlan.zod.js +1 -1
  12. package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.js +5 -5
  13. package/dist/billing/type/order/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  14. package/dist/billing/type/order/v1/generated/validators/billingScheme.zod.d.ts +14 -0
  15. package/dist/billing/type/order/v1/generated/validators/billingScheme.zod.js +11 -0
  16. package/dist/billing/type/order/v1/generated/validators/cancellation.zod.d.ts +6 -3
  17. package/dist/billing/type/order/v1/generated/validators/cancellation.zod.js +4 -4
  18. package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.js +3 -3
  19. package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
  20. package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.js +6 -5
  21. package/dist/billing/type/order/v1/generated/validators/cancellationList.zod.d.ts +6 -3
  22. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
  23. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  24. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
  25. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
  26. package/dist/billing/type/order/v1/generated/validators/contact.zod.js +2 -2
  27. package/dist/billing/type/order/v1/generated/validators/creditGrant.zod.d.ts +22 -11
  28. package/dist/billing/type/order/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
  29. package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.d.ts +22 -11
  30. package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.js +1 -1
  31. package/dist/billing/type/order/v1/generated/validators/creditNote.zod.js +4 -4
  32. package/dist/billing/type/order/v1/generated/validators/currency.zod.js +1 -1
  33. package/dist/billing/type/order/v1/generated/validators/discount.zod.d.ts +23 -12
  34. package/dist/billing/type/order/v1/generated/validators/discount.zod.js +4 -4
  35. package/dist/billing/type/order/v1/generated/validators/discountList.zod.d.ts +23 -12
  36. package/dist/billing/type/order/v1/generated/validators/entitlement.zod.js +1 -1
  37. package/dist/billing/type/order/v1/generated/validators/funds.zod.js +4 -4
  38. package/dist/billing/type/order/v1/generated/validators/invoice.zod.d.ts +0 -1
  39. package/dist/billing/type/order/v1/generated/validators/invoice.zod.js +8 -8
  40. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
  41. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.js +10 -4
  42. package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
  43. package/dist/billing/type/order/v1/generated/validators/invoiceItemProration.zod.js +1 -3
  44. package/dist/billing/type/order/v1/generated/validators/invoiceList.zod.d.ts +0 -1
  45. package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
  46. package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.js +2 -2
  47. package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
  48. package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.js +3 -3
  49. package/dist/billing/type/order/v1/generated/validators/monthlyStatement.zod.js +2 -2
  50. package/dist/billing/type/order/v1/generated/validators/objectIdentity.zod.js +1 -1
  51. package/dist/billing/type/order/v1/generated/validators/order.zod.d.ts +7 -4
  52. package/dist/billing/type/order/v1/generated/validators/order.zod.js +10 -12
  53. package/dist/billing/type/order/v1/generated/validators/orderItem.zod.d.ts +7 -3
  54. package/dist/billing/type/order/v1/generated/validators/orderItem.zod.js +16 -14
  55. package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.d.ts +7 -3
  56. package/dist/billing/type/order/v1/generated/validators/orderItemStatus.zod.js +1 -1
  57. package/dist/billing/type/order/v1/generated/validators/orderList.zod.d.ts +7 -4
  58. package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  59. package/dist/billing/type/order/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  60. package/dist/billing/type/order/v1/generated/validators/orderStatus.zod.js +1 -1
  61. package/dist/billing/type/order/v1/generated/validators/paidWith.zod.js +1 -1
  62. package/dist/billing/type/order/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
  63. package/dist/billing/type/order/v1/generated/validators/payTogetherRequest.zod.js +2 -2
  64. package/dist/billing/type/order/v1/generated/validators/paymentAction.zod.js +4 -4
  65. package/dist/billing/type/order/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  66. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
  67. package/dist/billing/type/order/v1/generated/validators/paymentOption.zod.js +1 -1
  68. package/dist/billing/type/order/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  69. package/dist/billing/type/order/v1/generated/validators/paymentPreview.zod.js +4 -4
  70. package/dist/billing/type/order/v1/generated/validators/paymentResult.zod.js +5 -8
  71. package/dist/billing/type/order/v1/generated/validators/paymentStatus.zod.js +1 -1
  72. package/dist/billing/type/order/v1/generated/validators/placedOrder.zod.d.ts +0 -1
  73. package/dist/billing/type/order/v1/generated/validators/price.zod.d.ts +7 -5
  74. package/dist/billing/type/order/v1/generated/validators/price.zod.js +14 -11
  75. package/dist/billing/type/order/v1/generated/validators/priceList.zod.d.ts +7 -5
  76. package/dist/billing/type/order/v1/generated/validators/priceOption.zod.d.ts +7 -5
  77. package/dist/billing/type/order/v1/generated/validators/priceOption.zod.js +7 -3
  78. package/dist/billing/type/order/v1/generated/validators/priceType.zod.d.ts +14 -0
  79. package/dist/billing/type/order/v1/generated/validators/priceType.zod.js +11 -0
  80. package/dist/billing/type/order/v1/generated/validators/productID.zod.js +1 -1
  81. package/dist/billing/type/order/v1/generated/validators/projectAssignment.zod.js +2 -2
  82. package/dist/billing/type/order/v1/generated/validators/purchaseOperation.zod.js +1 -1
  83. package/dist/billing/type/order/v1/generated/validators/quote.zod.d.ts +6 -3
  84. package/dist/billing/type/order/v1/generated/validators/quote.zod.js +4 -4
  85. package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.js +2 -2
  86. package/dist/billing/type/order/v1/generated/validators/quoteItem.zod.js +4 -4
  87. package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
  88. package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.js +8 -8
  89. package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.js +1 -1
  90. package/dist/billing/type/order/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
  91. package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
  92. package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.js +5 -5
  93. package/dist/billing/type/order/v1/generated/validators/quotedDiscount.zod.js +1 -1
  94. package/dist/billing/type/order/v1/generated/validators/rate.zod.d.ts +11 -0
  95. package/dist/billing/type/order/v1/generated/validators/rate.zod.js +14 -6
  96. package/dist/billing/type/order/v1/generated/validators/rateList.zod.d.ts +11 -0
  97. package/dist/billing/type/order/v1/generated/validators/refund.zod.js +3 -3
  98. package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.js +1 -1
  99. package/dist/billing/type/order/v1/generated/validators/refundReason.zod.js +1 -1
  100. package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.js +2 -2
  101. package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  102. package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.js +1 -1
  103. package/dist/billing/type/order/v1/generated/validators/scheduledChange.zod.js +2 -2
  104. package/dist/billing/type/order/v1/generated/validators/spendRow.zod.d.ts +8 -0
  105. package/dist/billing/type/order/v1/generated/validators/spendRow.zod.js +11 -0
  106. package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.d.ts +8 -0
  107. package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.js +1 -1
  108. package/dist/billing/type/order/v1/generated/validators/statement.zod.js +2 -2
  109. package/dist/billing/type/order/v1/generated/validators/statementItem.zod.d.ts +1 -0
  110. package/dist/billing/type/order/v1/generated/validators/statementItem.zod.js +4 -0
  111. package/dist/billing/type/order/v1/generated/validators/statementSummary.zod.d.ts +1 -0
  112. package/dist/billing/type/order/v1/generated/validators/statementType.zod.js +1 -1
  113. package/dist/billing/type/order/v1/generated/validators/subscription.zod.d.ts +7 -3
  114. package/dist/billing/type/order/v1/generated/validators/subscription.zod.js +20 -14
  115. package/dist/billing/type/order/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
  116. package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
  117. package/dist/billing/type/order/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  118. package/dist/billing/type/order/v1/generated/validators/terminationPolicy.zod.js +1 -1
  119. package/dist/billing/type/order/v1/generated/validators/tier.zod.js +1 -1
  120. package/dist/billing/type/order/v1/generated/validators/topUp.zod.js +8 -8
  121. package/dist/billing/type/order/v1/generated/validators/topUpCreate.zod.js +4 -4
  122. package/dist/billing/type/order/v1/generated/validators/transaction.zod.js +6 -6
  123. package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  124. package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.js +8 -7
  125. package/dist/billing/type/order/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  126. package/dist/billing/type/order/v1/generated/validators/usageType.zod.d.ts +14 -0
  127. package/dist/billing/type/order/v1/generated/validators/usageType.zod.js +11 -0
  128. package/dist/billing/type/order/v1/generated/validators/withdrawal.zod.js +2 -2
  129. package/dist/billing/type/order/v1/generated/validators/withdrawalItem.zod.js +2 -2
  130. package/dist/billing/type/order/v1/generated/validators/withdrawalSource.zod.js +1 -1
  131. package/dist/billing/type/quote/v1/generated/models.d.ts +4 -4
  132. package/dist/billing/type/quote/v1/generated/validators/funds.zod.js +4 -4
  133. package/dist/billing/v1/generated/functions.d.ts +176 -310
  134. package/dist/billing/v1/generated/functions.js +175 -309
  135. package/dist/billing/v1/generated/models.d.ts +429 -863
  136. package/dist/billing/v1/generated/models.js +13 -49
  137. package/dist/billing/v1/generated/schemas.zod.d.ts +166 -383
  138. package/dist/billing/v1/generated/schemas.zod.js +213 -372
  139. package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +22 -11
  140. package/dist/billing/v1/generated/validators/accountBalance.zod.js +8 -8
  141. package/dist/billing/v1/generated/validators/activeResource.zod.js +8 -5
  142. package/dist/billing/v1/generated/validators/allowance.zod.js +3 -3
  143. package/dist/billing/v1/generated/validators/applicability.zod.d.ts +22 -11
  144. package/dist/billing/v1/generated/validators/applicability.zod.js +12 -3
  145. package/dist/billing/v1/generated/validators/applicablePlan.zod.js +1 -1
  146. package/dist/billing/v1/generated/validators/billingAccount.zod.js +5 -5
  147. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  148. package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +14 -0
  149. package/dist/billing/v1/generated/validators/billingScheme.zod.js +11 -0
  150. package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +6 -3
  151. package/dist/billing/v1/generated/validators/cancellation.zod.js +4 -4
  152. package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +3 -3
  153. package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
  154. package/dist/billing/v1/generated/validators/cancellationItem.zod.js +6 -5
  155. package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +6 -3
  156. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
  157. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  158. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
  159. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
  160. package/dist/billing/v1/generated/validators/contact.zod.js +2 -2
  161. package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +22 -11
  162. package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
  163. package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +22 -11
  164. package/dist/billing/v1/generated/validators/creditGroup.zod.js +1 -1
  165. package/dist/billing/v1/generated/validators/creditNote.zod.js +4 -4
  166. package/dist/billing/v1/generated/validators/currency.zod.js +1 -1
  167. package/dist/billing/v1/generated/validators/discount.zod.d.ts +23 -12
  168. package/dist/billing/v1/generated/validators/discount.zod.js +4 -4
  169. package/dist/billing/v1/generated/validators/discountList.zod.d.ts +23 -12
  170. package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
  171. package/dist/billing/v1/generated/validators/funds.zod.js +4 -4
  172. package/dist/billing/v1/generated/validators/invoice.zod.d.ts +0 -1
  173. package/dist/billing/v1/generated/validators/invoice.zod.js +8 -8
  174. package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
  175. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +10 -4
  176. package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
  177. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -3
  178. package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +0 -1
  179. package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
  180. package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +2 -2
  181. package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
  182. package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +3 -3
  183. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +0 -1
  184. package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +5 -2
  185. package/dist/billing/v1/generated/validators/listPricesParams.zod.js +4 -1
  186. package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -0
  187. package/dist/billing/v1/generated/validators/listSpendParams.zod.js +3 -1
  188. package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +2 -2
  189. package/dist/billing/v1/generated/validators/objectIdentity.zod.js +1 -1
  190. package/dist/billing/v1/generated/validators/order.zod.d.ts +7 -4
  191. package/dist/billing/v1/generated/validators/order.zod.js +10 -12
  192. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +7 -3
  193. package/dist/billing/v1/generated/validators/orderItem.zod.js +16 -14
  194. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +7 -3
  195. package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
  196. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +7 -4
  197. package/dist/billing/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  198. package/dist/billing/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  199. package/dist/billing/v1/generated/validators/orderStatus.zod.js +1 -1
  200. package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
  201. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
  202. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +2 -2
  203. package/dist/billing/v1/generated/validators/paymentAction.zod.js +4 -4
  204. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  205. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
  206. package/dist/billing/v1/generated/validators/paymentOption.zod.js +1 -1
  207. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  208. package/dist/billing/v1/generated/validators/paymentPreview.zod.js +4 -4
  209. package/dist/billing/v1/generated/validators/paymentResult.zod.js +5 -8
  210. package/dist/billing/v1/generated/validators/paymentStatus.zod.js +1 -1
  211. package/dist/billing/v1/generated/validators/price.zod.d.ts +7 -5
  212. package/dist/billing/v1/generated/validators/price.zod.js +14 -11
  213. package/dist/billing/v1/generated/validators/priceList.zod.d.ts +7 -5
  214. package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +7 -5
  215. package/dist/billing/v1/generated/validators/priceOption.zod.js +7 -3
  216. package/dist/billing/v1/generated/validators/priceType.zod.d.ts +14 -0
  217. package/dist/billing/v1/generated/validators/priceType.zod.js +11 -0
  218. package/dist/billing/v1/generated/validators/productID.zod.js +1 -1
  219. package/dist/billing/v1/generated/validators/projectAssignment.zod.js +2 -2
  220. package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +1 -1
  221. package/dist/billing/v1/generated/validators/quote.zod.d.ts +6 -3
  222. package/dist/billing/v1/generated/validators/quote.zod.js +4 -4
  223. package/dist/billing/v1/generated/validators/quoteCancellation.zod.js +2 -2
  224. package/dist/billing/v1/generated/validators/quoteItem.zod.js +4 -4
  225. package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
  226. package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +8 -8
  227. package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +1 -1
  228. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
  229. package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
  230. package/dist/billing/v1/generated/validators/quoteRequest.zod.js +5 -5
  231. package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +1 -1
  232. package/dist/billing/v1/generated/validators/rate.zod.d.ts +11 -0
  233. package/dist/billing/v1/generated/validators/rate.zod.js +14 -6
  234. package/dist/billing/v1/generated/validators/rateList.zod.d.ts +11 -0
  235. package/dist/billing/v1/generated/validators/refund.zod.js +3 -3
  236. package/dist/billing/v1/generated/validators/refundPolicy.zod.js +1 -1
  237. package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
  238. package/dist/billing/v1/generated/validators/renewRequest.zod.js +2 -2
  239. package/dist/billing/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  240. package/dist/billing/v1/generated/validators/renewalPrice.zod.js +1 -1
  241. package/dist/billing/v1/generated/validators/scheduledChange.zod.js +2 -2
  242. package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +8 -0
  243. package/dist/billing/v1/generated/validators/spendRow.zod.js +11 -0
  244. package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +8 -0
  245. package/dist/billing/v1/generated/validators/spendRowList.zod.js +1 -1
  246. package/dist/billing/v1/generated/validators/statement.zod.js +2 -2
  247. package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +1 -0
  248. package/dist/billing/v1/generated/validators/statementItem.zod.js +4 -0
  249. package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +1 -0
  250. package/dist/billing/v1/generated/validators/statementType.zod.js +1 -1
  251. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +7 -3
  252. package/dist/billing/v1/generated/validators/subscription.zod.js +20 -14
  253. package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
  254. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
  255. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  256. package/dist/billing/v1/generated/validators/terminationPolicy.zod.js +1 -1
  257. package/dist/billing/v1/generated/validators/tier.zod.js +1 -1
  258. package/dist/billing/v1/generated/validators/topUp.zod.js +8 -8
  259. package/dist/billing/v1/generated/validators/topUpCreate.zod.js +4 -4
  260. package/dist/billing/v1/generated/validators/transaction.zod.js +6 -6
  261. package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  262. package/dist/billing/v1/generated/validators/usageCharge.zod.js +8 -7
  263. package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  264. package/dist/billing/v1/generated/validators/usageType.zod.d.ts +14 -0
  265. package/dist/billing/v1/generated/validators/usageType.zod.js +11 -0
  266. package/dist/billing/v1/generated/validators/withdrawal.zod.js +2 -2
  267. package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +2 -2
  268. package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +1 -1
  269. package/dist/canopy/v1/generated/functions.d.ts +1 -1
  270. package/dist/canopy/v1/generated/functions.js +1 -1
  271. package/dist/canopy/v1/generated/models.d.ts +379 -779
  272. package/dist/canopy/v1/generated/models.js +12 -44
  273. package/dist/canopy/v1/generated/schemas.zod.d.ts +1 -1
  274. package/dist/canopy/v1/generated/schemas.zod.js +1 -1
  275. package/dist/canopy/v1/generated/validators/accountBalance.zod.d.ts +22 -11
  276. package/dist/canopy/v1/generated/validators/accountBalance.zod.js +8 -8
  277. package/dist/canopy/v1/generated/validators/activeResource.zod.js +8 -5
  278. package/dist/canopy/v1/generated/validators/allowance.zod.js +3 -3
  279. package/dist/canopy/v1/generated/validators/applicability.zod.d.ts +22 -11
  280. package/dist/canopy/v1/generated/validators/applicability.zod.js +12 -3
  281. package/dist/canopy/v1/generated/validators/applicablePlan.zod.js +1 -1
  282. package/dist/canopy/v1/generated/validators/billingAccount.zod.js +5 -5
  283. package/dist/canopy/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  284. package/dist/canopy/v1/generated/validators/billingScheme.zod.d.ts +39 -0
  285. package/dist/canopy/v1/generated/validators/billingScheme.zod.js +36 -0
  286. package/dist/canopy/v1/generated/validators/cancellation.zod.d.ts +6 -3
  287. package/dist/canopy/v1/generated/validators/cancellation.zod.js +4 -4
  288. package/dist/canopy/v1/generated/validators/cancellationCreate.zod.js +3 -3
  289. package/dist/canopy/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
  290. package/dist/canopy/v1/generated/validators/cancellationItem.zod.js +6 -5
  291. package/dist/canopy/v1/generated/validators/cancellationList.zod.d.ts +6 -3
  292. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
  293. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  294. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
  295. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
  296. package/dist/canopy/v1/generated/validators/contact.zod.js +2 -2
  297. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +0 -1
  298. package/dist/canopy/v1/generated/validators/creditGrant.zod.d.ts +22 -11
  299. package/dist/canopy/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
  300. package/dist/canopy/v1/generated/validators/creditGroup.zod.d.ts +22 -11
  301. package/dist/canopy/v1/generated/validators/creditGroup.zod.js +1 -1
  302. package/dist/canopy/v1/generated/validators/creditNote.zod.js +4 -4
  303. package/dist/canopy/v1/generated/validators/currency.zod.js +1 -1
  304. package/dist/canopy/v1/generated/validators/discount.zod.d.ts +23 -12
  305. package/dist/canopy/v1/generated/validators/discount.zod.js +4 -4
  306. package/dist/canopy/v1/generated/validators/discountList.zod.d.ts +23 -12
  307. package/dist/canopy/v1/generated/validators/entitlement.zod.js +1 -1
  308. package/dist/canopy/v1/generated/validators/funds.zod.js +4 -4
  309. package/dist/canopy/v1/generated/validators/invoice.zod.d.ts +0 -1
  310. package/dist/canopy/v1/generated/validators/invoice.zod.js +8 -8
  311. package/dist/canopy/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
  312. package/dist/canopy/v1/generated/validators/invoiceItem.zod.js +10 -4
  313. package/dist/canopy/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
  314. package/dist/canopy/v1/generated/validators/invoiceItemProration.zod.js +1 -3
  315. package/dist/canopy/v1/generated/validators/invoiceList.zod.d.ts +0 -1
  316. package/dist/canopy/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
  317. package/dist/canopy/v1/generated/validators/invoiceStatus.zod.js +2 -2
  318. package/dist/canopy/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
  319. package/dist/canopy/v1/generated/validators/invoiceSummary.zod.js +3 -3
  320. package/dist/canopy/v1/generated/validators/monthlyStatement.zod.js +2 -2
  321. package/dist/canopy/v1/generated/validators/objectIdentity.zod.js +1 -1
  322. package/dist/canopy/v1/generated/validators/order.zod.d.ts +7 -4
  323. package/dist/canopy/v1/generated/validators/order.zod.js +10 -12
  324. package/dist/canopy/v1/generated/validators/orderItem.zod.d.ts +7 -3
  325. package/dist/canopy/v1/generated/validators/orderItem.zod.js +16 -14
  326. package/dist/canopy/v1/generated/validators/orderItemList.zod.d.ts +7 -3
  327. package/dist/canopy/v1/generated/validators/orderItemStatus.zod.js +1 -1
  328. package/dist/canopy/v1/generated/validators/orderList.zod.d.ts +7 -4
  329. package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  330. package/dist/canopy/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  331. package/dist/canopy/v1/generated/validators/orderStatus.zod.js +1 -1
  332. package/dist/canopy/v1/generated/validators/paidWith.zod.js +1 -1
  333. package/dist/canopy/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
  334. package/dist/canopy/v1/generated/validators/payTogetherRequest.zod.js +2 -2
  335. package/dist/canopy/v1/generated/validators/paymentAction.zod.js +4 -4
  336. package/dist/canopy/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  337. package/dist/canopy/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
  338. package/dist/canopy/v1/generated/validators/paymentOption.zod.js +1 -1
  339. package/dist/canopy/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  340. package/dist/canopy/v1/generated/validators/paymentPreview.zod.js +4 -4
  341. package/dist/canopy/v1/generated/validators/paymentResult.zod.js +5 -8
  342. package/dist/canopy/v1/generated/validators/paymentStatus.zod.js +1 -1
  343. package/dist/canopy/v1/generated/validators/placedOrder.zod.d.ts +0 -1
  344. package/dist/canopy/v1/generated/validators/price.zod.d.ts +7 -5
  345. package/dist/canopy/v1/generated/validators/price.zod.js +14 -11
  346. package/dist/canopy/v1/generated/validators/priceList.zod.d.ts +7 -5
  347. package/dist/canopy/v1/generated/validators/priceOption.zod.d.ts +7 -5
  348. package/dist/canopy/v1/generated/validators/priceOption.zod.js +7 -3
  349. package/dist/canopy/v1/generated/validators/priceType.zod.d.ts +39 -0
  350. package/dist/canopy/v1/generated/validators/priceType.zod.js +36 -0
  351. package/dist/canopy/v1/generated/validators/productID.zod.js +1 -1
  352. package/dist/canopy/v1/generated/validators/projectAssignment.zod.js +2 -2
  353. package/dist/canopy/v1/generated/validators/purchaseOperation.zod.js +1 -1
  354. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.d.ts +6 -3
  355. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.js +4 -4
  356. package/dist/canopy/v1/generated/validators/quoteA200529.zod.d.ts +6 -3
  357. package/dist/canopy/v1/generated/validators/quoteCancellation.zod.js +2 -2
  358. package/dist/canopy/v1/generated/validators/quoteItem.zod.js +4 -4
  359. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
  360. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.js +8 -8
  361. package/dist/canopy/v1/generated/validators/quoteRenewal.zod.js +1 -1
  362. package/dist/canopy/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
  363. package/dist/canopy/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
  364. package/dist/canopy/v1/generated/validators/quoteRequest.zod.js +5 -5
  365. package/dist/canopy/v1/generated/validators/quotedDiscount.zod.js +1 -1
  366. package/dist/canopy/v1/generated/validators/rate.zod.d.ts +11 -0
  367. package/dist/canopy/v1/generated/validators/rate.zod.js +14 -6
  368. package/dist/canopy/v1/generated/validators/rateList.zod.d.ts +11 -0
  369. package/dist/canopy/v1/generated/validators/refund.zod.js +3 -3
  370. package/dist/canopy/v1/generated/validators/refundPolicy.zod.js +1 -1
  371. package/dist/canopy/v1/generated/validators/refundReason.zod.js +1 -1
  372. package/dist/canopy/v1/generated/validators/renewRequest.zod.js +2 -2
  373. package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  374. package/dist/canopy/v1/generated/validators/renewalPrice.zod.js +1 -1
  375. package/dist/canopy/v1/generated/validators/scheduledChange.zod.js +2 -2
  376. package/dist/canopy/v1/generated/validators/spendRow.zod.d.ts +8 -0
  377. package/dist/canopy/v1/generated/validators/spendRow.zod.js +11 -0
  378. package/dist/canopy/v1/generated/validators/spendRowList.zod.d.ts +8 -0
  379. package/dist/canopy/v1/generated/validators/spendRowList.zod.js +1 -1
  380. package/dist/canopy/v1/generated/validators/statement.zod.js +2 -2
  381. package/dist/canopy/v1/generated/validators/statementItem.zod.d.ts +1 -0
  382. package/dist/canopy/v1/generated/validators/statementItem.zod.js +4 -0
  383. package/dist/canopy/v1/generated/validators/statementSummary.zod.d.ts +1 -0
  384. package/dist/canopy/v1/generated/validators/statementType.zod.js +1 -1
  385. package/dist/canopy/v1/generated/validators/subscription.zod.d.ts +7 -3
  386. package/dist/canopy/v1/generated/validators/subscription.zod.js +20 -14
  387. package/dist/canopy/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
  388. package/dist/canopy/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
  389. package/dist/canopy/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  390. package/dist/canopy/v1/generated/validators/terminationPolicy.zod.js +1 -1
  391. package/dist/canopy/v1/generated/validators/tier.zod.js +1 -1
  392. package/dist/canopy/v1/generated/validators/topUp.zod.js +8 -8
  393. package/dist/canopy/v1/generated/validators/topUpCreate.zod.js +4 -4
  394. package/dist/canopy/v1/generated/validators/transaction.zod.js +6 -6
  395. package/dist/canopy/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  396. package/dist/canopy/v1/generated/validators/usageCharge.zod.js +8 -7
  397. package/dist/canopy/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  398. package/dist/canopy/v1/generated/validators/usageType.zod.d.ts +39 -0
  399. package/dist/canopy/v1/generated/validators/usageType.zod.js +36 -0
  400. package/dist/canopy/v1/generated/validators/withdrawal.zod.js +2 -2
  401. package/dist/canopy/v1/generated/validators/withdrawalItem.zod.js +2 -2
  402. package/dist/canopy/v1/generated/validators/withdrawalSource.zod.js +1 -1
  403. package/dist/compute/v1/generated/functions.d.ts +15 -15
  404. package/dist/compute/v1/generated/functions.js +13 -13
  405. package/dist/compute/v1/generated/models.d.ts +37 -29
  406. package/dist/compute/v1/generated/models.js +6 -6
  407. package/dist/compute/v1/generated/schemas.zod.d.ts +69 -69
  408. package/dist/compute/v1/generated/schemas.zod.js +15 -15
  409. package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.d.ts +5 -5
  410. package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.js +2 -2
  411. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.d.ts +5 -5
  412. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.js +2 -2
  413. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +2 -2
  414. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.js +2 -2
  415. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.d.ts +2 -2
  416. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.js +2 -2
  417. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.d.ts +2 -2
  418. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.js +2 -2
  419. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.d.ts +2 -2
  420. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.js +2 -2
  421. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.d.ts +2 -2
  422. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.js +3 -3
  423. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.d.ts +2 -2
  424. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.js +2 -2
  425. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.d.ts +2 -2
  426. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.js +2 -2
  427. package/dist/compute/v1/generated/validators/backupOperation.zod.d.ts +2 -2
  428. package/dist/compute/v1/generated/validators/backupOperation.zod.js +2 -2
  429. package/dist/compute/v1/generated/validators/backupResource.zod.d.ts +2 -2
  430. package/dist/compute/v1/generated/validators/backupResource.zod.js +2 -2
  431. package/dist/compute/v1/generated/validators/backupService.zod.d.ts +10 -10
  432. package/dist/compute/v1/generated/validators/backupService.zod.js +7 -7
  433. package/dist/compute/v1/generated/validators/billingChoice.zod.d.ts +5 -5
  434. package/dist/compute/v1/generated/validators/billingChoice.zod.js +6 -4
  435. package/dist/compute/v1/generated/validators/billingPeriod.zod.d.ts +2 -2
  436. package/dist/compute/v1/generated/validators/billingPeriod.zod.js +2 -2
  437. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.d.ts +2 -2
  438. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.js +2 -2
  439. package/dist/compute/v1/generated/validators/bootDisk.zod.d.ts +5 -5
  440. package/dist/compute/v1/generated/validators/bootDisk.zod.js +2 -2
  441. package/dist/compute/v1/generated/validators/checkoutMode.zod.d.ts +2 -2
  442. package/dist/compute/v1/generated/validators/checkoutMode.zod.js +2 -2
  443. package/dist/compute/v1/generated/validators/checkoutOptions.zod.d.ts +2 -2
  444. package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +2 -2
  445. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.d.ts +2 -2
  446. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.js +2 -2
  447. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.d.ts +2 -2
  448. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.js +2 -2
  449. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.d.ts +2 -2
  450. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.js +2 -2
  451. package/dist/compute/v1/generated/validators/createBackupCapacityPackQuoteRequestBody.zod.d.ts +5 -5
  452. package/dist/compute/v1/generated/validators/createBackupCapacityPackQuoteRequestBody.zod.js +2 -2
  453. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.d.ts +5 -5
  454. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.js +2 -2
  455. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +2 -2
  456. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.js +2 -2
  457. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.d.ts +2 -2
  458. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.js +2 -2
  459. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.d.ts +2 -2
  460. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.js +2 -2
  461. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +9 -9
  462. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.js +2 -2
  463. package/dist/compute/v1/generated/validators/createDiskQuoteRequestBody.zod.d.ts +5 -5
  464. package/dist/compute/v1/generated/validators/createDiskQuoteRequestBody.zod.js +2 -2
  465. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.d.ts +5 -5
  466. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.js +2 -2
  467. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +2 -2
  468. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.js +2 -2
  469. package/dist/compute/v1/generated/validators/createImageQuoteRequestBody.zod.d.ts +5 -5
  470. package/dist/compute/v1/generated/validators/createImageQuoteRequestBody.zod.js +2 -2
  471. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.d.ts +5 -5
  472. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.js +2 -2
  473. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +2 -2
  474. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.js +2 -2
  475. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.d.ts +2 -2
  476. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.js +2 -2
  477. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.d.ts +2 -2
  478. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.js +2 -2
  479. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.d.ts +2 -2
  480. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.js +2 -2
  481. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.d.ts +2 -2
  482. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.js +2 -2
  483. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.d.ts +2 -2
  484. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.js +2 -2
  485. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.d.ts +2 -2
  486. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.js +2 -2
  487. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.d.ts +2 -2
  488. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.js +2 -2
  489. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.d.ts +2 -2
  490. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.js +2 -2
  491. package/dist/compute/v1/generated/validators/cursorPagination.zod.d.ts +2 -2
  492. package/dist/compute/v1/generated/validators/cursorPagination.zod.js +2 -2
  493. package/dist/compute/v1/generated/validators/diskAttachment.zod.d.ts +2 -2
  494. package/dist/compute/v1/generated/validators/diskAttachment.zod.js +2 -2
  495. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.d.ts +2 -2
  496. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.js +2 -2
  497. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +2 -2
  498. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.js +2 -2
  499. package/dist/compute/v1/generated/validators/diskOperation.zod.d.ts +2 -2
  500. package/dist/compute/v1/generated/validators/diskOperation.zod.js +2 -2
  501. package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +2 -2
  502. package/dist/compute/v1/generated/validators/diskResource.zod.js +2 -2
  503. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.d.ts +5 -5
  504. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.js +2 -2
  505. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.d.ts +2 -2
  506. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.js +2 -2
  507. package/dist/compute/v1/generated/validators/diskTypeResource.zod.d.ts +5 -5
  508. package/dist/compute/v1/generated/validators/diskTypeResource.zod.js +2 -2
  509. package/dist/compute/v1/generated/validators/error.zod.d.ts +2 -2
  510. package/dist/compute/v1/generated/validators/error.zod.js +2 -2
  511. package/dist/compute/v1/generated/validators/existingBootDisk.zod.d.ts +2 -2
  512. package/dist/compute/v1/generated/validators/existingBootDisk.zod.js +2 -2
  513. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +2 -2
  514. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.js +2 -2
  515. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.d.ts +2 -2
  516. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.js +2 -2
  517. package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +2 -2
  518. package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +2 -2
  519. package/dist/compute/v1/generated/validators/funds.zod.d.ts +2 -2
  520. package/dist/compute/v1/generated/validators/funds.zod.js +6 -6
  521. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.d.ts +2 -2
  522. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.js +2 -2
  523. package/dist/compute/v1/generated/validators/iPv4Binding.zod.d.ts +2 -2
  524. package/dist/compute/v1/generated/validators/iPv4Binding.zod.js +2 -2
  525. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.d.ts +8 -8
  526. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.js +2 -2
  527. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.d.ts +8 -8
  528. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.js +2 -2
  529. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +2 -2
  530. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +2 -2
  531. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.d.ts +2 -2
  532. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.js +2 -2
  533. package/dist/compute/v1/generated/validators/imageOperation.zod.d.ts +2 -2
  534. package/dist/compute/v1/generated/validators/imageOperation.zod.js +2 -2
  535. package/dist/compute/v1/generated/validators/imageResource.zod.d.ts +2 -2
  536. package/dist/compute/v1/generated/validators/imageResource.zod.js +2 -2
  537. package/dist/compute/v1/generated/validators/imageVisibility.zod.d.ts +2 -2
  538. package/dist/compute/v1/generated/validators/imageVisibility.zod.js +2 -2
  539. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.d.ts +2 -2
  540. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.js +2 -2
  541. package/dist/compute/v1/generated/validators/instanceOperation.zod.d.ts +2 -2
  542. package/dist/compute/v1/generated/validators/instanceOperation.zod.js +2 -2
  543. package/dist/compute/v1/generated/validators/instanceResource.zod.d.ts +2 -2
  544. package/dist/compute/v1/generated/validators/instanceResource.zod.js +2 -2
  545. package/dist/compute/v1/generated/validators/instanceRestriction.zod.d.ts +2 -2
  546. package/dist/compute/v1/generated/validators/instanceRestriction.zod.js +2 -2
  547. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.d.ts +5 -5
  548. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.js +2 -2
  549. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.d.ts +5 -5
  550. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.js +2 -2
  551. package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.d.ts +11 -11
  552. package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.js +2 -2
  553. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.d.ts +11 -11
  554. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.js +2 -2
  555. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +2 -2
  556. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.js +2 -2
  557. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.d.ts +2 -2
  558. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.js +2 -2
  559. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.d.ts +2 -2
  560. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.js +2 -2
  561. package/dist/compute/v1/generated/validators/listBackupsParams.zod.d.ts +2 -2
  562. package/dist/compute/v1/generated/validators/listBackupsParams.zod.js +2 -2
  563. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.d.ts +2 -2
  564. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.js +2 -2
  565. package/dist/compute/v1/generated/validators/listDisksParams.zod.d.ts +2 -2
  566. package/dist/compute/v1/generated/validators/listDisksParams.zod.js +2 -2
  567. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.d.ts +2 -2
  568. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.js +2 -2
  569. package/dist/compute/v1/generated/validators/listImagesParams.zod.d.ts +2 -2
  570. package/dist/compute/v1/generated/validators/listImagesParams.zod.js +2 -2
  571. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.d.ts +2 -2
  572. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.js +2 -2
  573. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.d.ts +2 -2
  574. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.js +2 -2
  575. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.d.ts +2 -2
  576. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.js +2 -2
  577. package/dist/compute/v1/generated/validators/listInstancesParams.zod.d.ts +2 -2
  578. package/dist/compute/v1/generated/validators/listInstancesParams.zod.js +2 -2
  579. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.d.ts +2 -2
  580. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.js +2 -2
  581. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.d.ts +2 -2
  582. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.js +2 -2
  583. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.d.ts +2 -2
  584. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.js +2 -2
  585. package/dist/compute/v1/generated/validators/listPortsParams.zod.d.ts +2 -2
  586. package/dist/compute/v1/generated/validators/listPortsParams.zod.js +2 -2
  587. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.d.ts +2 -2
  588. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.js +2 -2
  589. package/dist/compute/v1/generated/validators/listRegionsParams.zod.d.ts +2 -2
  590. package/dist/compute/v1/generated/validators/listRegionsParams.zod.js +2 -2
  591. package/dist/compute/v1/generated/validators/listRoutesParams.zod.d.ts +2 -2
  592. package/dist/compute/v1/generated/validators/listRoutesParams.zod.js +2 -2
  593. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.d.ts +2 -2
  594. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.js +2 -2
  595. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.d.ts +2 -2
  596. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.js +2 -2
  597. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.d.ts +2 -2
  598. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.js +2 -2
  599. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.d.ts +2 -2
  600. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.js +2 -2
  601. package/dist/compute/v1/generated/validators/money.zod.d.ts +2 -2
  602. package/dist/compute/v1/generated/validators/money.zod.js +2 -2
  603. package/dist/compute/v1/generated/validators/newBootDisk.zod.d.ts +5 -5
  604. package/dist/compute/v1/generated/validators/newBootDisk.zod.js +2 -2
  605. package/dist/compute/v1/generated/validators/newCompute.zod.d.ts +5 -5
  606. package/dist/compute/v1/generated/validators/newCompute.zod.js +2 -2
  607. package/dist/compute/v1/generated/validators/newFloatingIP.zod.d.ts +5 -5
  608. package/dist/compute/v1/generated/validators/newFloatingIP.zod.js +2 -2
  609. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.d.ts +2 -2
  610. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.js +2 -2
  611. package/dist/compute/v1/generated/validators/offsetPagination.zod.d.ts +2 -2
  612. package/dist/compute/v1/generated/validators/offsetPagination.zod.js +2 -2
  613. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.d.ts +2 -2
  614. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.js +2 -2
  615. package/dist/compute/v1/generated/validators/operationLogResource.zod.d.ts +2 -2
  616. package/dist/compute/v1/generated/validators/operationLogResource.zod.js +2 -2
  617. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.d.ts +2 -2
  618. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.js +2 -2
  619. package/dist/compute/v1/generated/validators/peeringOperation.zod.d.ts +2 -2
  620. package/dist/compute/v1/generated/validators/peeringOperation.zod.js +2 -2
  621. package/dist/compute/v1/generated/validators/peeringResource.zod.d.ts +2 -2
  622. package/dist/compute/v1/generated/validators/peeringResource.zod.js +2 -2
  623. package/dist/compute/v1/generated/validators/placedOrder.zod.d.ts +2 -2
  624. package/dist/compute/v1/generated/validators/placedOrder.zod.js +2 -2
  625. package/dist/compute/v1/generated/validators/portAddress.zod.d.ts +2 -2
  626. package/dist/compute/v1/generated/validators/portAddress.zod.js +2 -2
  627. package/dist/compute/v1/generated/validators/portAttachment.zod.d.ts +2 -2
  628. package/dist/compute/v1/generated/validators/portAttachment.zod.js +2 -2
  629. package/dist/compute/v1/generated/validators/portAttachmentList.zod.d.ts +2 -2
  630. package/dist/compute/v1/generated/validators/portAttachmentList.zod.js +2 -2
  631. package/dist/compute/v1/generated/validators/portListResponseBody.zod.d.ts +2 -2
  632. package/dist/compute/v1/generated/validators/portListResponseBody.zod.js +2 -2
  633. package/dist/compute/v1/generated/validators/portOperation.zod.d.ts +2 -2
  634. package/dist/compute/v1/generated/validators/portOperation.zod.js +2 -2
  635. package/dist/compute/v1/generated/validators/portResource.zod.d.ts +2 -2
  636. package/dist/compute/v1/generated/validators/portResource.zod.js +2 -2
  637. package/dist/compute/v1/generated/validators/powerRequest.zod.d.ts +2 -2
  638. package/dist/compute/v1/generated/validators/powerRequest.zod.js +2 -2
  639. package/dist/compute/v1/generated/validators/pricing.zod.d.ts +5 -5
  640. package/dist/compute/v1/generated/validators/pricing.zod.js +2 -2
  641. package/dist/compute/v1/generated/validators/pricingOption.zod.d.ts +5 -5
  642. package/dist/compute/v1/generated/validators/pricingOption.zod.js +12 -10
  643. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.d.ts +2 -2
  644. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.js +2 -2
  645. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.d.ts +2 -2
  646. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.js +2 -2
  647. package/dist/compute/v1/generated/validators/quote.zod.d.ts +2 -2
  648. package/dist/compute/v1/generated/validators/quote.zod.js +2 -2
  649. package/dist/compute/v1/generated/validators/quoteItem.zod.d.ts +2 -2
  650. package/dist/compute/v1/generated/validators/quoteItem.zod.js +2 -2
  651. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.d.ts +2 -2
  652. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.js +2 -2
  653. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.d.ts +2 -2
  654. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.js +2 -2
  655. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.d.ts +2 -2
  656. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.js +2 -2
  657. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.d.ts +5 -5
  658. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.js +2 -2
  659. package/dist/compute/v1/generated/validators/regionResource.zod.d.ts +5 -5
  660. package/dist/compute/v1/generated/validators/regionResource.zod.js +2 -2
  661. package/dist/compute/v1/generated/validators/releaseResource.zod.d.ts +2 -2
  662. package/dist/compute/v1/generated/validators/releaseResource.zod.js +2 -2
  663. package/dist/compute/v1/generated/validators/releaseSetItem.zod.d.ts +2 -2
  664. package/dist/compute/v1/generated/validators/releaseSetItem.zod.js +2 -2
  665. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.d.ts +2 -2
  666. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.js +2 -2
  667. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.d.ts +2 -2
  668. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.js +2 -2
  669. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.d.ts +2 -2
  670. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.js +2 -2
  671. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.d.ts +2 -2
  672. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.js +2 -2
  673. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.d.ts +2 -2
  674. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.js +2 -2
  675. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.d.ts +2 -2
  676. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.js +2 -2
  677. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.d.ts +2 -2
  678. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.js +2 -2
  679. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.d.ts +2 -2
  680. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.js +2 -2
  681. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.d.ts +2 -2
  682. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.js +2 -2
  683. package/dist/compute/v1/generated/validators/resizeDiskQuoteRequestBody.zod.d.ts +2 -2
  684. package/dist/compute/v1/generated/validators/resizeDiskQuoteRequestBody.zod.js +2 -2
  685. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.d.ts +2 -2
  686. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.js +2 -2
  687. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +2 -2
  688. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.js +2 -2
  689. package/dist/compute/v1/generated/validators/resizeInstanceQuoteRequestBody.zod.d.ts +2 -2
  690. package/dist/compute/v1/generated/validators/resizeInstanceQuoteRequestBody.zod.js +2 -2
  691. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.d.ts +2 -2
  692. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.js +2 -2
  693. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +2 -2
  694. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.js +2 -2
  695. package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.d.ts +5 -5
  696. package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.js +2 -2
  697. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.d.ts +5 -5
  698. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.js +2 -2
  699. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.d.ts +2 -2
  700. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.js +2 -2
  701. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.d.ts +2 -2
  702. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.js +2 -2
  703. package/dist/compute/v1/generated/validators/routeResource.zod.d.ts +2 -2
  704. package/dist/compute/v1/generated/validators/routeResource.zod.js +2 -2
  705. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.d.ts +2 -2
  706. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.js +2 -2
  707. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.d.ts +2 -2
  708. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.js +2 -2
  709. package/dist/compute/v1/generated/validators/securityGroupResource.zod.d.ts +2 -2
  710. package/dist/compute/v1/generated/validators/securityGroupResource.zod.js +2 -2
  711. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.d.ts +2 -2
  712. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.js +2 -2
  713. package/dist/compute/v1/generated/validators/securityRuleResource.zod.d.ts +2 -2
  714. package/dist/compute/v1/generated/validators/securityRuleResource.zod.js +2 -2
  715. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthQuoteRequestBody.zod.d.ts +2 -2
  716. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthQuoteRequestBody.zod.js +2 -2
  717. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.d.ts +2 -2
  718. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.js +2 -2
  719. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +2 -2
  720. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.js +2 -2
  721. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.d.ts +2 -2
  722. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.js +2 -2
  723. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.d.ts +2 -2
  724. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.js +2 -2
  725. package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.d.ts +5 -5
  726. package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.js +2 -2
  727. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.d.ts +5 -5
  728. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.js +2 -2
  729. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +8 -8
  730. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.js +2 -2
  731. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +2 -2
  732. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.js +2 -2
  733. package/dist/compute/v1/generated/validators/snapshotOperation.zod.d.ts +2 -2
  734. package/dist/compute/v1/generated/validators/snapshotOperation.zod.js +2 -2
  735. package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +8 -8
  736. package/dist/compute/v1/generated/validators/snapshotQuota.zod.js +2 -2
  737. package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +2 -2
  738. package/dist/compute/v1/generated/validators/snapshotResource.zod.js +2 -2
  739. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.d.ts +2 -2
  740. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.js +2 -2
  741. package/dist/compute/v1/generated/validators/subnetResource.zod.d.ts +2 -2
  742. package/dist/compute/v1/generated/validators/subnetResource.zod.js +2 -2
  743. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.d.ts +2 -2
  744. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.js +2 -2
  745. package/dist/compute/v1/generated/validators/terminationPolicy.zod.d.ts +2 -2
  746. package/dist/compute/v1/generated/validators/terminationPolicy.zod.js +2 -2
  747. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.d.ts +2 -2
  748. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.js +2 -2
  749. package/dist/compute/v1/generated/validators/zoneResource.zod.d.ts +2 -2
  750. package/dist/compute/v1/generated/validators/zoneResource.zod.js +2 -2
  751. package/dist/membership/v1/generated/models.d.ts +379 -779
  752. package/dist/membership/v1/generated/models.js +12 -44
  753. package/dist/membership/v1/generated/validators/accountBalance.zod.d.ts +22 -11
  754. package/dist/membership/v1/generated/validators/accountBalance.zod.js +8 -8
  755. package/dist/membership/v1/generated/validators/activeResource.zod.js +8 -5
  756. package/dist/membership/v1/generated/validators/allowance.zod.js +3 -3
  757. package/dist/membership/v1/generated/validators/applicability.zod.d.ts +22 -11
  758. package/dist/membership/v1/generated/validators/applicability.zod.js +12 -3
  759. package/dist/membership/v1/generated/validators/applicablePlan.zod.js +1 -1
  760. package/dist/membership/v1/generated/validators/billingAccount.zod.js +5 -5
  761. package/dist/membership/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  762. package/dist/membership/v1/generated/validators/billingScheme.zod.d.ts +14 -0
  763. package/dist/membership/v1/generated/validators/billingScheme.zod.js +11 -0
  764. package/dist/membership/v1/generated/validators/cancellation.zod.d.ts +6 -3
  765. package/dist/membership/v1/generated/validators/cancellation.zod.js +4 -4
  766. package/dist/membership/v1/generated/validators/cancellationCreate.zod.js +3 -3
  767. package/dist/membership/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
  768. package/dist/membership/v1/generated/validators/cancellationItem.zod.js +6 -5
  769. package/dist/membership/v1/generated/validators/cancellationList.zod.d.ts +6 -3
  770. package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
  771. package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  772. package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
  773. package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
  774. package/dist/membership/v1/generated/validators/contact.zod.js +2 -2
  775. package/dist/membership/v1/generated/validators/creditGrant.zod.d.ts +22 -11
  776. package/dist/membership/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
  777. package/dist/membership/v1/generated/validators/creditGroup.zod.d.ts +22 -11
  778. package/dist/membership/v1/generated/validators/creditGroup.zod.js +1 -1
  779. package/dist/membership/v1/generated/validators/creditNote.zod.js +4 -4
  780. package/dist/membership/v1/generated/validators/currency6ff0ec7.zod.js +1 -1
  781. package/dist/membership/v1/generated/validators/discount.zod.d.ts +23 -12
  782. package/dist/membership/v1/generated/validators/discount.zod.js +4 -4
  783. package/dist/membership/v1/generated/validators/discountList.zod.d.ts +23 -12
  784. package/dist/membership/v1/generated/validators/entitlement.zod.js +1 -1
  785. package/dist/membership/v1/generated/validators/funds.zod.js +4 -4
  786. package/dist/membership/v1/generated/validators/invoice.zod.d.ts +0 -1
  787. package/dist/membership/v1/generated/validators/invoice.zod.js +8 -8
  788. package/dist/membership/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
  789. package/dist/membership/v1/generated/validators/invoiceItem.zod.js +10 -4
  790. package/dist/membership/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
  791. package/dist/membership/v1/generated/validators/invoiceItemProration.zod.js +1 -3
  792. package/dist/membership/v1/generated/validators/invoiceList.zod.d.ts +0 -1
  793. package/dist/membership/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
  794. package/dist/membership/v1/generated/validators/invoiceStatus.zod.js +2 -2
  795. package/dist/membership/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
  796. package/dist/membership/v1/generated/validators/invoiceSummary.zod.js +3 -3
  797. package/dist/membership/v1/generated/validators/membershipPurchase.zod.d.ts +0 -1
  798. package/dist/membership/v1/generated/validators/monthlyStatement.zod.js +2 -2
  799. package/dist/membership/v1/generated/validators/objectIdentity.zod.js +1 -1
  800. package/dist/membership/v1/generated/validators/order.zod.d.ts +7 -4
  801. package/dist/membership/v1/generated/validators/order.zod.js +10 -12
  802. package/dist/membership/v1/generated/validators/orderItem.zod.d.ts +7 -3
  803. package/dist/membership/v1/generated/validators/orderItem.zod.js +16 -14
  804. package/dist/membership/v1/generated/validators/orderItemList.zod.d.ts +7 -3
  805. package/dist/membership/v1/generated/validators/orderItemStatus.zod.js +1 -1
  806. package/dist/membership/v1/generated/validators/orderList.zod.d.ts +7 -4
  807. package/dist/membership/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  808. package/dist/membership/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  809. package/dist/membership/v1/generated/validators/orderStatus.zod.js +1 -1
  810. package/dist/membership/v1/generated/validators/paidWith.zod.js +1 -1
  811. package/dist/membership/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
  812. package/dist/membership/v1/generated/validators/payTogetherRequest.zod.js +2 -2
  813. package/dist/membership/v1/generated/validators/paymentAction.zod.js +4 -4
  814. package/dist/membership/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  815. package/dist/membership/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
  816. package/dist/membership/v1/generated/validators/paymentOption.zod.js +1 -1
  817. package/dist/membership/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  818. package/dist/membership/v1/generated/validators/paymentPreview.zod.js +4 -4
  819. package/dist/membership/v1/generated/validators/paymentResult.zod.js +5 -8
  820. package/dist/membership/v1/generated/validators/paymentStatus.zod.js +1 -1
  821. package/dist/membership/v1/generated/validators/placedOrder.zod.d.ts +0 -1
  822. package/dist/membership/v1/generated/validators/price.zod.d.ts +7 -5
  823. package/dist/membership/v1/generated/validators/price.zod.js +14 -11
  824. package/dist/membership/v1/generated/validators/priceList.zod.d.ts +7 -5
  825. package/dist/membership/v1/generated/validators/priceOption.zod.d.ts +7 -5
  826. package/dist/membership/v1/generated/validators/priceOption.zod.js +7 -3
  827. package/dist/membership/v1/generated/validators/priceType.zod.d.ts +14 -0
  828. package/dist/membership/v1/generated/validators/priceType.zod.js +11 -0
  829. package/dist/membership/v1/generated/validators/productID.zod.js +1 -1
  830. package/dist/membership/v1/generated/validators/projectAssignment.zod.js +2 -2
  831. package/dist/membership/v1/generated/validators/purchaseOperation.zod.js +1 -1
  832. package/dist/membership/v1/generated/validators/quote.zod.d.ts +6 -3
  833. package/dist/membership/v1/generated/validators/quote.zod.js +4 -4
  834. package/dist/membership/v1/generated/validators/quoteCancellation.zod.js +2 -2
  835. package/dist/membership/v1/generated/validators/quoteItem.zod.js +4 -4
  836. package/dist/membership/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
  837. package/dist/membership/v1/generated/validators/quoteItemInput.zod.js +8 -8
  838. package/dist/membership/v1/generated/validators/quoteRenewal.zod.js +1 -1
  839. package/dist/membership/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
  840. package/dist/membership/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
  841. package/dist/membership/v1/generated/validators/quoteRequest.zod.js +5 -5
  842. package/dist/membership/v1/generated/validators/quotedDiscount.zod.js +1 -1
  843. package/dist/membership/v1/generated/validators/rate.zod.d.ts +11 -0
  844. package/dist/membership/v1/generated/validators/rate.zod.js +14 -6
  845. package/dist/membership/v1/generated/validators/rateList.zod.d.ts +11 -0
  846. package/dist/membership/v1/generated/validators/refund.zod.js +3 -3
  847. package/dist/membership/v1/generated/validators/refundPolicy.zod.js +1 -1
  848. package/dist/membership/v1/generated/validators/refundReason.zod.js +1 -1
  849. package/dist/membership/v1/generated/validators/renewRequest.zod.js +2 -2
  850. package/dist/membership/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  851. package/dist/membership/v1/generated/validators/renewalPrice.zod.js +1 -1
  852. package/dist/membership/v1/generated/validators/scheduledChange.zod.js +2 -2
  853. package/dist/membership/v1/generated/validators/spendRow.zod.d.ts +8 -0
  854. package/dist/membership/v1/generated/validators/spendRow.zod.js +11 -0
  855. package/dist/membership/v1/generated/validators/spendRowList.zod.d.ts +8 -0
  856. package/dist/membership/v1/generated/validators/spendRowList.zod.js +1 -1
  857. package/dist/membership/v1/generated/validators/statement.zod.js +2 -2
  858. package/dist/membership/v1/generated/validators/statementItem.zod.d.ts +1 -0
  859. package/dist/membership/v1/generated/validators/statementItem.zod.js +4 -0
  860. package/dist/membership/v1/generated/validators/statementSummary.zod.d.ts +1 -0
  861. package/dist/membership/v1/generated/validators/statementType.zod.js +1 -1
  862. package/dist/membership/v1/generated/validators/subscription.zod.d.ts +7 -3
  863. package/dist/membership/v1/generated/validators/subscription.zod.js +20 -14
  864. package/dist/membership/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
  865. package/dist/membership/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
  866. package/dist/membership/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  867. package/dist/membership/v1/generated/validators/terminationPolicy.zod.js +1 -1
  868. package/dist/membership/v1/generated/validators/tier.zod.js +1 -1
  869. package/dist/membership/v1/generated/validators/topUp.zod.js +8 -8
  870. package/dist/membership/v1/generated/validators/topUpCreate.zod.js +4 -4
  871. package/dist/membership/v1/generated/validators/transaction.zod.js +6 -6
  872. package/dist/membership/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  873. package/dist/membership/v1/generated/validators/usageCharge.zod.js +8 -7
  874. package/dist/membership/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  875. package/dist/membership/v1/generated/validators/usageType.zod.d.ts +14 -0
  876. package/dist/membership/v1/generated/validators/usageType.zod.js +11 -0
  877. package/dist/membership/v1/generated/validators/withdrawal.zod.js +2 -2
  878. package/dist/membership/v1/generated/validators/withdrawalItem.zod.js +2 -2
  879. package/dist/membership/v1/generated/validators/withdrawalSource.zod.js +1 -1
  880. package/dist/routes.d.ts +4 -4
  881. package/dist/routes.js +4 -4
  882. package/package.json +1 -1
@@ -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>>;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Canopy API
5
+ * Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
6
+ *
7
+ * OpenAI-compatible project inference is served on this host at `/v1/chat/completions`,
8
+ * `/v1/embeddings`, `/v1/models` and `/v1/models/{model}`. Use `https://canopy.leaflow.cloud/v1`
9
+ * as the OpenAI SDK base URL. Chat completions support `stream=true` SSE.
10
+ *
11
+ * Management operations use `/api/v1`. The management model catalogue includes pricing;
12
+ * `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
13
+ *
14
+ * ## Authentication
15
+ *
16
+ * Every request carries a scoped token; see the `bearerAuth` security scheme.
17
+ *
18
+ * Management and project inference accept the same verified IAM scoped token. The token is the
19
+ * sole billing project authority; `OpenAI-Project` and historical identity headers cannot
20
+ * override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
21
+ * accepts Canopy API keys and supports OpenAI, Anthropic and Gemini request formats.
22
+ *
23
+ * ## Conventions
24
+ *
25
+ * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
26
+ * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
27
+ * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
28
+ * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
29
+ * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
30
+ * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
31
+ * OpenAPI spec version: 1.0.0
32
+ */
33
+ import * as zod from "zod";
34
+ export declare const UsageType: zod.ZodEnum<{
35
+ licensed: "licensed";
36
+ metered: "metered";
37
+ }>;
38
+ export type UsageType = zod.input<typeof UsageType>;
39
+ export type UsageTypeOutput = zod.output<typeof UsageType>;
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Canopy API
5
+ * Canopy model inference, API keys, model catalogue, service enablement and recorded usage.
6
+ *
7
+ * OpenAI-compatible project inference is served on this host at `/v1/chat/completions`,
8
+ * `/v1/embeddings`, `/v1/models` and `/v1/models/{model}`. Use `https://canopy.leaflow.cloud/v1`
9
+ * as the OpenAI SDK base URL. Chat completions support `stream=true` SSE.
10
+ *
11
+ * Management operations use `/api/v1`. The management model catalogue includes pricing;
12
+ * `/v1/models` returns the OpenAI model format with Canopy capabilities and parameter limits.
13
+ *
14
+ * ## Authentication
15
+ *
16
+ * Every request carries a scoped token; see the `bearerAuth` security scheme.
17
+ *
18
+ * Management and project inference accept the same verified IAM scoped token. The token is the
19
+ * sole billing project authority; `OpenAI-Project` and historical identity headers cannot
20
+ * override it. These endpoints do not accept a Canopy API key. The separate API-key gateway
21
+ * accepts Canopy API keys and supports OpenAI, Anthropic and Gemini request formats.
22
+ *
23
+ * ## Conventions
24
+ *
25
+ * - **The plaintext of an API key is returned once.** The `secret` appears in the response that issues it and is returned by no other endpoint. A key that has been lost has to be revoked and reissued.
26
+ * - **Disabling and revoking are distinct.** A disabled key may be enabled again at any time, while a revocation is irreversible and is intended for a key that has been exposed. Neither removes the record, and the usage the key accrued remains readable.
27
+ * - **A usage query must carry a time range**, spanning no more than 31 days. `from` and `to` carry a timezone offset, which the server does not infer.
28
+ * - **The request and response bodies do not appear in the ledger.** They are not recorded. Quote the `upstream_request_id` from the response when reporting a problem.
29
+ * - **Usage may be estimated.** The upstream provider does not report usage on every request. Where it does not, `usage_source` is `estimated` and the figures are derived from the character classes of the payload, to within roughly fifteen per cent.
30
+ * - **The service is enabled before use.** A project enables the model platform once, through `create-service`; the forwarding endpoints refuse its requests until the service is `active`. Requests are then billed under the service's subscription by the tokens they use, at the rates stated in each model's `pricing`.
31
+ * OpenAPI spec version: 1.0.0
32
+ */
33
+ import * as zod from "zod";
34
+ export const UsageType = zod
35
+ .enum(["licensed", "metered"])
36
+ .describe("`licensed` charges for the quantity bought, each period paid before it starts. `metered` charges for the usage\nreported, after it is settled; a metered subscription lasts until it is canceled. A one-time price is licensed.");
@@ -63,6 +63,6 @@ export const Withdrawal = zod
63
63
  created_by: zod
64
64
  .string()
65
65
  .optional()
66
- .describe("Identity that submitted this withdrawal. It can differ from the billing account owner."),
66
+ .describe("Who submitted the withdrawal; may differ from the account owner."),
67
67
  })
68
- .describe("An account withdrawal to the original payment methods of its unused top-ups. Accepted amounts are fixed. deducted_amount, settled_amount and charged_fee_amount report completed source items. Failed items release their principal and fee reservations; successful items are retained when another source fails.");
68
+ .describe("A withdrawal of account balance to the original payment methods of its unused top-ups. Accepted amounts are fixed. deducted_amount, settled_amount and charged_fee_amount cover completed items. A failed item releases its principal and fee; successful items stand when another item fails.");
@@ -57,6 +57,6 @@ export const WithdrawalItem = zod
57
57
  failure_code: zod
58
58
  .string()
59
59
  .optional()
60
- .describe("The original gateway failure code when a refund failed, or refund_reversed when a completed refund was reversed. Absent while pending or successful."),
60
+ .describe("The gateway's failure code when a refund failed, or `refund_reversed` when a completed refund was reversed. Absent while pending or successful."),
61
61
  })
62
- .describe("The fixed principal deduction, withdrawal fee and exact refund obligation for one original top-up. Each item has its own refund; payment_gateway and method_type identify the original route.");
62
+ .describe("For one original top-up: the principal deducted, the withdrawal fee and the amount refunded, through its own refund. payment_gateway and method_type identify the original route.");
@@ -45,4 +45,4 @@ export const WithdrawalSource = zod
45
45
  card_brand: zod.string().optional(),
46
46
  card_last4: zod.string().regex(withdrawalSourceCardLast4RegExp).optional(),
47
47
  })
48
- .describe("The original top-up and its refund destination. Card details are included when the original payment method was saved; missing card details do not change the original refund route.");
48
+ .describe("The original top-up and where its refund goes. Card details are included when the original payment method was saved.");
@@ -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) => {
@@ -11,8 +11,8 @@
11
11
  * ## Conventions
12
12
  *
13
13
  * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
- * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
- * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the licensed and metered options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a metered purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
16
  * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
17
  * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
18
  * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
@@ -176,10 +176,13 @@ export interface RenameBackupRequestBody {
176
176
  */
177
177
  name: string;
178
178
  }
179
- export type BillingChoiceMode = (typeof BillingChoiceMode)[keyof typeof BillingChoiceMode];
180
- export declare const BillingChoiceMode: {
181
- readonly prepaid: "prepaid";
182
- readonly postpaid: "postpaid";
179
+ /**
180
+ * `licensed` pays for a period in advance; `metered` bills usage until canceled.
181
+ */
182
+ export type BillingChoiceUsageType = (typeof BillingChoiceUsageType)[keyof typeof BillingChoiceUsageType];
183
+ export declare const BillingChoiceUsageType: {
184
+ readonly licensed: "licensed";
185
+ readonly metered: "metered";
183
186
  };
184
187
  export type BillingPeriodUnit = (typeof BillingPeriodUnit)[keyof typeof BillingPeriodUnit];
185
188
  export declare const BillingPeriodUnit: {
@@ -203,10 +206,11 @@ export declare const TerminationPolicy: {
203
206
  readonly period_end: "period_end";
204
207
  };
205
208
  /**
206
- * The commercial terms for one newly purchased component. Prepaid requires period and termination_policy; postpaid refuses both. Components in one instance order must use the same mode and period, while their termination policies may differ.
209
+ * The commercial terms for one newly purchased component. Licensed requires period and termination_policy; metered refuses both. Components in one instance order must use the same usage type and period, while their termination policies may differ.
207
210
  */
208
211
  export interface BillingChoice {
209
- mode: BillingChoiceMode;
212
+ /** `licensed` pays for a period in advance; `metered` bills usage until canceled. */
213
+ usage_type: BillingChoiceUsageType;
210
214
  period?: BillingPeriod;
211
215
  termination_policy?: TerminationPolicy;
212
216
  }
@@ -454,10 +458,13 @@ export declare const DiskTypeResourceMedia: {
454
458
  readonly hdd: "hdd";
455
459
  readonly nvme: "nvme";
456
460
  };
457
- export type PricingOptionMode = (typeof PricingOptionMode)[keyof typeof PricingOptionMode];
458
- export declare const PricingOptionMode: {
459
- readonly prepaid: "prepaid";
460
- readonly postpaid: "postpaid";
461
+ /**
462
+ * `licensed` pays for a period in advance; `metered` bills usage until canceled.
463
+ */
464
+ export type PricingOptionUsageType = (typeof PricingOptionUsageType)[keyof typeof PricingOptionUsageType];
465
+ export declare const PricingOptionUsageType: {
466
+ readonly licensed: "licensed";
467
+ readonly metered: "metered";
461
468
  };
462
469
  /**
463
470
  * What the amounts are for: one `item`, such as an instance or an address; one `gib` of size or capacity; one `mbps` of bandwidth; or one `snapshot` slot.
@@ -470,7 +477,7 @@ export declare const PricingOptionQuantityUnit: {
470
477
  readonly snapshot: "snapshot";
471
478
  };
472
479
  /**
473
- * Postpaid only; null for prepaid. The time unit of `unit_amount`.
480
+ * Metered only; null for licensed. The time unit of `unit_amount`.
474
481
  * @nullable
475
482
  */
476
483
  export type PricingOptionUnit = (typeof PricingOptionUnit)[keyof typeof PricingOptionUnit] | null;
@@ -487,36 +494,37 @@ export declare const PricingOptionTerminationPolicy: {
487
494
  readonly period_end: "period_end";
488
495
  };
489
496
  /**
490
- * One way to buy an item. Choose it by giving its mode, period and explicit prepaid termination_policy as billing.
497
+ * One way to buy an item. Choose it by giving its usage_type, period and termination_policy as billing.
491
498
  */
492
499
  export interface PricingOption {
493
- mode: PricingOptionMode;
494
- /** The term of a prepaid option; null for postpaid. */
500
+ /** `licensed` pays for a period in advance; `metered` bills usage until canceled. */
501
+ usage_type: PricingOptionUsageType;
502
+ /** The term of a licensed option; null for metered. */
495
503
  period: BillingPeriod | null;
496
504
  /** What the amounts are for: one `item`, such as an instance or an address; one `gib` of size or capacity; one `mbps` of bandwidth; or one `snapshot` slot. */
497
505
  quantity_unit: PricingOptionQuantityUnit;
498
506
  /**
499
- * Prepaid only; null for postpaid. The amount for one period, per quantity unit.
507
+ * Licensed only; null for metered. The amount for one period, per quantity unit.
500
508
  * @nullable
501
509
  */
502
510
  amount: string | null;
503
511
  /**
504
- * Prepaid only; null for postpaid. `amount` spread over the months of the period.
512
+ * Licensed only; null for metered. `amount` spread over the months of the period.
505
513
  * @nullable
506
514
  */
507
515
  monthly_amount: string | null;
508
516
  /**
509
- * Prepaid only. How much lower `monthly_amount` is than that of the shortest prepaid period of the same item, as a decimal percentage. Null for that shortest period and for postpaid.
517
+ * Licensed only. How much lower `monthly_amount` is than that of the shortest licensed period of the same item, as a decimal percentage. Null for that shortest period and for metered.
510
518
  * @nullable
511
519
  */
512
520
  saving_percent: string | null;
513
521
  /**
514
- * Postpaid only; null for prepaid. The amount for one `unit` of time, per quantity unit.
522
+ * Metered only; null for licensed. The amount for one `unit` of time, per quantity unit.
515
523
  * @nullable
516
524
  */
517
525
  unit_amount: string | null;
518
526
  /**
519
- * Postpaid only; null for prepaid. The time unit of `unit_amount`.
527
+ * Metered only; null for licensed. The time unit of `unit_amount`.
520
528
  * @nullable
521
529
  */
522
530
  unit: PricingOptionUnit;
@@ -2061,10 +2069,10 @@ export interface BackupService {
2061
2069
  * The total `capacity_gib` of the active capacity packs in this region; this much retained capacity is covered each hour.
2062
2070
  * @minimum 0
2063
2071
  */
2064
- prepaid_capacity_gib: number;
2065
- /** The postpaid usage price of backups in this region. Null when the project has no billing account. */
2072
+ pack_capacity_gib: number;
2073
+ /** The metered usage price of backups in this region. Null when the project has no billing account. */
2066
2074
  readonly pricing: Pricing | null;
2067
- /** The prepaid options of capacity packs in this region, per GiB. Null when the project has no billing account. */
2075
+ /** The licensed options of capacity packs in this region, per GiB. Null when the project has no billing account. */
2068
2076
  readonly capacity_pack_pricing: Pricing | null;
2069
2077
  }
2070
2078
  export interface CreateBackupServiceRequestBody {
@@ -2097,7 +2105,7 @@ export declare const BackupCapacityPackFailureReason: {
2097
2105
  readonly provisioning_failed: "provisioning_failed";
2098
2106
  };
2099
2107
  /**
2100
- * Prepaid backup capacity for one region, sold by Compute and bought for a term through its own Billing subscription. Compute applies its coverage to backup usage; it is not a Billing allowance or credit.
2108
+ * Backup capacity for one region, sold by Compute and bought for a term through its own Billing subscription. Compute applies its coverage to backup usage; it is not a Billing allowance or credit.
2101
2109
  */
2102
2110
  export interface BackupCapacityPack {
2103
2111
  id: string;
@@ -2305,16 +2313,16 @@ export interface SetFloatingIPBandwidthQuoteRequestBody {
2305
2313
  /**
2306
2314
  * Account funding for this purchase, calculated by Billing. Amounts use the enclosing response currency.
2307
2315
  * Credit eligibility and all purchase requirements are already evaluated. Nothing is charged or reserved.
2308
- * A prepaid purchase may instead use an online payment method.
2316
+ * A licensed purchase may instead be paid with an online payment method.
2309
2317
  */
2310
2318
  export interface Funds {
2311
2319
  /** Spendable balance after pending returns. */
2312
2320
  available_balance_amount: Money;
2313
- /** Currently effective credits eligible for the quoted purchases or postpaid usage. Each grant is counted once. */
2321
+ /** Currently effective credits eligible for the quoted purchases or metered usage. Each grant is counted once. */
2314
2322
  usable_credit_amount: Money;
2315
- /** Currently effective credits that cannot fund any quoted purchase or postpaid target. Unused eligible credits are not restricted. */
2323
+ /** Currently effective credits that cannot fund any quoted purchase or metered target. Unused eligible credits are not restricted. */
2316
2324
  restricted_credit_amount: Money;
2317
- /** Minimum spendable balance needed after eligible credits, covering immediate charges and every new postpaid admission requirement. */
2325
+ /** Minimum spendable balance needed after eligible credits, covering immediate charges and every new metered purchase's admission requirement. */
2318
2326
  required_balance_amount: Money;
2319
2327
  /** Additional balance needed now. Zero means account funds satisfy this quote. No funds are reserved. */
2320
2328
  balance_shortfall_amount: Money;
@@ -23,9 +23,9 @@ export const BackupOperationType = {
23
23
  restore: "restore",
24
24
  delete: "delete",
25
25
  };
26
- export const BillingChoiceMode = {
27
- prepaid: "prepaid",
28
- postpaid: "postpaid",
26
+ export const BillingChoiceUsageType = {
27
+ licensed: "licensed",
28
+ metered: "metered",
29
29
  };
30
30
  export const BillingPeriodUnit = {
31
31
  month: "month",
@@ -99,9 +99,9 @@ export const DiskTypeResourceMedia = {
99
99
  hdd: "hdd",
100
100
  nvme: "nvme",
101
101
  };
102
- export const PricingOptionMode = {
103
- prepaid: "prepaid",
104
- postpaid: "postpaid",
102
+ export const PricingOptionUsageType = {
103
+ licensed: "licensed",
104
+ metered: "metered",
105
105
  };
106
106
  export const PricingOptionQuantityUnit = {
107
107
  item: "item",