@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
@@ -17,15 +17,13 @@ import { OrderCancel } from "./validators/orderCancel.zod.js";
17
17
  import { PayInvoiceRequest } from "./validators/payInvoiceRequest.zod.js";
18
18
  import { PayTogetherRequest } from "./validators/payTogetherRequest.zod.js";
19
19
  import { PaymentMethodSetup } from "./validators/paymentMethodSetup.zod.js";
20
- import { QuoteRequest } from "./validators/quoteRequest.zod.js";
21
20
  import { RenewRequest } from "./validators/renewRequest.zod.js";
22
21
  import { RenewalOrderRequest } from "./validators/renewalOrderRequest.zod.js";
23
22
  import { SetProjectAssignmentRequest } from "./validators/setProjectAssignmentRequest.zod.js";
24
23
  import { TopUpCreate } from "./validators/topUpCreate.zod.js";
25
24
  import { WithdrawalCreate } from "./validators/withdrawalCreate.zod.js";
26
- import { WithdrawalPreviewRequest } from "./validators/withdrawalPreviewRequest.zod.js";
27
25
  /**
28
- * Paginated fixed source allocations and their outcomes. A failed source does not undo refunds already completed through other sources.
26
+ * The withdrawal's items and their outcomes. A failed item does not undo refunds completed through other items.
29
27
  * @summary List withdrawal items
30
28
  */
31
29
  export const ListWithdrawalItemsParams = zod.strictObject({
@@ -50,7 +48,7 @@ export const ListWithdrawalItemsQueryParams = zod.strictObject({
50
48
  .describe("Items per page. Defaults to 50; at most 200."),
51
49
  });
52
50
  /**
53
- * Paginated account withdrawal history, newest first. Account authorization applies to every record.
51
+ * Withdrawals, newest first.
54
52
  * @summary List withdrawals
55
53
  */
56
54
  export const listWithdrawalsQueryPageDefault = 1;
@@ -73,24 +71,19 @@ export const ListWithdrawalsQueryParams = zod.strictObject({
73
71
  billing_account_id: zod.int().optional(),
74
72
  });
75
73
  /**
76
- * Withdraws the requested account balance through the original top-ups in receipt order. Fees are calculated independently per source. expected_items and expected_refund_amount must match the accepted preview. Reusing the same ID with different terms fails. Only successful items collect a fee.
74
+ * Withdraws the requested balance through the original top-ups, oldest first, with fees calculated per source. expected_items and expected_refund_amount must match the preview. Reusing the ID with different terms fails. Only successful items are charged a fee.
77
75
  * @summary Create withdrawal
78
76
  */
79
77
  export const CreateWithdrawalBody = WithdrawalCreate;
80
78
  /**
81
- * Previews the available balance deduction, fees and exact refund allocation by original source. Omit amount to preview all available principal. Creates no withdrawal and reserves no funds. Fails if a selected source has no configured refund route or its original processing cost is not yet available.
82
- * @summary Preview withdrawal
83
- */
84
- export const PreviewWithdrawalBody = WithdrawalPreviewRequest;
85
- /**
86
- * Reads the accepted amounts and aggregate outcome of an authorized withdrawal. List its source items for each original-method refund result.
79
+ * A withdrawal with its accepted amounts and overall outcome; list its items for each refund result.
87
80
  * @summary Get withdrawal
88
81
  */
89
82
  export const GetWithdrawalParams = zod.strictObject({
90
83
  withdrawalId: zod.uuid(),
91
84
  });
92
85
  /**
93
- * Paginated contact profiles belonging to the billing account in the path, including inactive contacts. Returns 404 if the account does not exist.
86
+ * Contacts of the billing account, inactive ones included. Returns 404 if the account does not exist.
94
87
  * @summary List contacts
95
88
  */
96
89
  export const ListContactsParams = zod.strictObject({
@@ -115,7 +108,7 @@ export const ListContactsQueryParams = zod.strictObject({
115
108
  .describe("Items per page. Defaults to 50; at most 200."),
116
109
  });
117
110
  /**
118
- * Creates a contact profile for the billing account in the path. Creating a contact does not select it for invoicing; set the account invoice_contact_id separately.
111
+ * Creates a contact for the billing account. To use it on invoices, set the account's invoice_contact_id.
119
112
  * @summary Create contact
120
113
  */
121
114
  export const CreateContactParams = zod.strictObject({
@@ -123,7 +116,7 @@ export const CreateContactParams = zod.strictObject({
123
116
  });
124
117
  export const CreateContactBody = ContactCreate;
125
118
  /**
126
- * Returns a contact belonging to this billing account. Returns 404 if the contact does not exist in this account.
119
+ * A contact of this billing account. Returns 404 if it does not exist in the account.
127
120
  * @summary Get contact
128
121
  */
129
122
  export const GetContactParams = zod.strictObject({
@@ -131,7 +124,7 @@ export const GetContactParams = zod.strictObject({
131
124
  contactId: zod.uuid(),
132
125
  });
133
126
  /**
134
- * Updates a contact belonging to this billing account. Returns 404 if the contact does not exist in this account.
127
+ * Updates a contact of this billing account. Returns 404 if it does not exist in the account.
135
128
  * @summary Update contact
136
129
  */
137
130
  export const UpdateContactParams = zod.strictObject({
@@ -140,7 +133,7 @@ export const UpdateContactParams = zod.strictObject({
140
133
  });
141
134
  export const UpdateContactBody = ContactUpdate;
142
135
  /**
143
- * Deletes a contact belonging to this billing account. Returns 404 if the contact does not exist in this account. The selected invoice contact must be cleared or replaced before deletion. Issued invoice snapshots are retained.
136
+ * Deletes a contact of this billing account; 404 if it does not exist in the account. A contact selected for invoices must be cleared or replaced first. Issued invoices keep their copy.
144
137
  * @summary Delete contact
145
138
  */
146
139
  export const DeleteContactParams = zod.strictObject({
@@ -148,8 +141,7 @@ export const DeleteContactParams = zod.strictObject({
148
141
  contactId: zod.uuid(),
149
142
  });
150
143
  /**
151
- * The currencies a new billing account can be opened in. A retired currency is not listed,
152
- * although accounts already opened in it keep working. Results are paginated.
144
+ * Currencies a new billing account can be opened in; retired currencies are not listed.
153
145
  * @summary List currencies accounts can be opened in
154
146
  */
155
147
  export const listCurrenciesQueryPageDefault = 1;
@@ -171,7 +163,7 @@ export const ListCurrenciesQueryParams = zod.strictObject({
171
163
  .describe("Items per page. Defaults to 50; at most 200."),
172
164
  });
173
165
  /**
174
- * Paginated billing accounts owned by the authenticated user. Accounts owned by other users are excluded; the result is empty when the user owns none.
166
+ * Billing accounts owned by the authenticated user.
175
167
  * @summary List billing accounts
176
168
  */
177
169
  export const listBillingAccountsQueryPageDefault = 1;
@@ -193,24 +185,19 @@ export const ListBillingAccountsQueryParams = zod.strictObject({
193
185
  .describe("Items per page. Defaults to 50; at most 200."),
194
186
  });
195
187
  /**
196
- * The currency is chosen here and cannot be changed afterwards. Everything charged to the
197
- * account — prices, orders, invoices, balance — is denominated in it.
198
- *
199
- * One person may hold several accounts, for example a personal one and one for a team.
188
+ * Creates a billing account. Its currency is fixed: prices, orders, invoices and balance are all in it.
200
189
  * @summary Create billing account
201
190
  */
202
191
  export const CreateBillingAccountBody = BillingAccountCreate;
203
192
  /**
204
- * Returns an owned account settlement currency, lifecycle state and selected invoice contact. Returns 404 if the account does not exist and 403 if it belongs to another user.
193
+ * Your billing account with its currency, status and invoice contact. Returns 404 if it does not exist and 403 if it belongs to another user.
205
194
  * @summary Get billing account
206
195
  */
207
196
  export const GetBillingAccountParams = zod.strictObject({
208
197
  accountId: zod.int(),
209
198
  });
210
199
  /**
211
- * Select an active contact belonging to this account for future invoices. Its legal name,
212
- * address and tax identifier are copied when an invoice is issued; issued snapshots are
213
- * retained. Set invoice_contact_id to null to clear the selection. The currency cannot change.
200
+ * Selects an active contact of this account for future invoices; its legal name, address and tax identifier are copied when an invoice is issued. Set invoice_contact_id to null to clear it. The currency cannot change.
214
201
  * @summary Update billing account
215
202
  */
216
203
  export const UpdateBillingAccountParams = zod.strictObject({
@@ -218,17 +205,14 @@ export const UpdateBillingAccountParams = zod.strictObject({
218
205
  });
219
206
  export const UpdateBillingAccountBody = BillingAccountUpdate;
220
207
  /**
221
- * Returns the owned account balance, applicable credit groups, unpaid invoice amounts, unbilled estimates and pending returns separately. Returns 404 for a missing account and 403 for an account owned by another user.
208
+ * The balance of your account, with credit groups, unpaid invoice amounts, unbilled estimates and pending returns. Returns 404 for a missing account and 403 for another user's account.
222
209
  * @summary Get account balance
223
210
  */
224
211
  export const GetAccountBalanceParams = zod.strictObject({
225
212
  accountId: zod.int(),
226
213
  });
227
214
  /**
228
- * Lists the payment gateways and methods that currently accept payment in this account's currency, the
229
- * preferred gateway first. Top-ups and invoice payments must name a gateway and method listed here;
230
- * others are refused. An empty result means no online payment is available for this account.
231
- * Results are paginated.
215
+ * The payment gateways and methods currently accepting the account's currency, preferred gateway first. Top-ups and invoice payments must use one listed here. An empty result means online payment is unavailable for the account.
232
216
  * @summary List payment options
233
217
  */
234
218
  export const ListPaymentOptionsParams = zod.strictObject({
@@ -253,7 +237,7 @@ export const ListPaymentOptionsQueryParams = zod.strictObject({
253
237
  .describe("Items per page. Defaults to 50; at most 200."),
254
238
  });
255
239
  /**
256
- * Paginated current project assignments to accounts owned by the authenticated user. Filter by billing_account_id or project_ids; historical financial records keep their original account assignment.
240
+ * Current project assignments to your billing accounts, filtered by billing_account_id or project_ids. Past charges keep the account they were assigned to.
257
241
  * @summary List project assignments
258
242
  */
259
243
  export const listProjectAssignmentsQueryPageDefault = 1;
@@ -280,28 +264,23 @@ export const ListProjectAssignmentsQueryParams = zod.strictObject({
280
264
  .min(1)
281
265
  .max(listProjectAssignmentsQueryProjectIdsMax)
282
266
  .optional()
283
- .describe("Restrict the account-authorized results to these projects. Omit for all projects and account-level records. This filter does not grant access to another billing account."),
267
+ .describe("Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts."),
284
268
  });
285
269
  /**
286
- * Returns the current assignment for the project identified by projectId. Returns 404 when
287
- * no billing account is assigned; no resources can be created until one is assigned.
270
+ * The project's current assignment. Returns 404 when no billing account is assigned; the project cannot create resources until one is.
288
271
  * @summary Get project assignment
289
272
  */
290
273
  export const GetProjectAssignmentParams = zod.strictObject({
291
274
  projectId: zod.uuid(),
292
275
  });
293
276
  /**
294
- * Charges already incurred remain with the billing account that was linked when they
295
- * occurred, and are still invoiced to it. Metered resources are settled up to the moment of
296
- * the change. Amounts owed by the previous billing account remain owed by it and do not
297
- * prevent the change.
298
- *
299
- * Orders keep the billing account they were placed with and are fulfilled as placed. Periods
300
- * already paid for are unaffected; renewals are charged to the new billing account.
277
+ * Links the project to another billing account. Charges already incurred stay with the account linked when they
278
+ * occurred and are invoiced to it; metered resources are settled up to the moment of the change. Amounts the
279
+ * previous account owes do not prevent the change. Orders keep the account they were placed with; paid periods
280
+ * are unaffected, and renewals are charged to the new account.
301
281
  *
302
- * The request is refused once the project no longer accepts purchases because it is being
303
- * deleted, and while a subscription or an order in progress in the project uses a currency
304
- * other than that of the new billing account.
282
+ * Refused once the project no longer accepts purchases because it is being deleted, and while a subscription or
283
+ * an in-progress order of the project uses a currency other than the new account's.
305
284
  * @summary Set project assignment
306
285
  */
307
286
  export const SetProjectAssignmentParams = zod.strictObject({
@@ -309,25 +288,14 @@ export const SetProjectAssignmentParams = zod.strictObject({
309
288
  });
310
289
  export const SetProjectAssignmentBody = SetProjectAssignmentRequest;
311
290
  /**
312
- * Ends the project's current assignment without deleting its assignment history.
313
- *
314
- * Permitted only when nothing in the project is still running or in progress: no metered
315
- * resources, no subscriptions that have not ended, and no orders in progress, including
316
- * changes scheduled for the end of a period. Orders are not modified by this request; wait
317
- * for them to complete, and have the service that scheduled a change call it off.
318
- *
319
- * Charges already incurred remain with the billing account and are invoiced to it as usual.
320
- * Amounts the billing account owes do not prevent unlinking.
321
- *
322
- * After this the project cannot make purchases until a billing account is linked again.
291
+ * Ends the project's current assignment; the assignment history is kept. Allowed only when the project has no metered resources, no subscriptions that have not ended and no orders in progress, including period-end changes; orders are not modified, so wait for them to complete. Charges already incurred stay with the billing account and are invoiced as usual; amounts it owes do not prevent unlinking. The project cannot make purchases until a billing account is linked again.
323
292
  * @summary Unlink project billing account
324
293
  */
325
294
  export const UnlinkProjectBillingAccountParams = zod.strictObject({
326
295
  projectId: zod.uuid(),
327
296
  });
328
297
  /**
329
- * Lists only the authenticated user's top-ups. Includes pending, failed and canceled attempts; no invoice is
330
- * created for a top-up. Items carry no `action`; read a pending top-up with get-top-up to continue its payment.
298
+ * Your top-ups, including pending, failed and canceled attempts. Items carry no `action`; read a pending top-up with get-top-up to continue its payment.
331
299
  * @summary List top ups
332
300
  */
333
301
  export const listTopUpsQueryPageDefault = 1;
@@ -350,46 +318,36 @@ export const ListTopUpsQueryParams = zod.strictObject({
350
318
  billing_account_id: zod
351
319
  .int()
352
320
  .optional()
353
- .describe("Restrict to one of your accounts. All of them when omitted."),
321
+ .describe("Only this account of yours; all when omitted."),
354
322
  });
355
323
  /**
356
- * Creates a top-up for an account owned by the authenticated user and returns its payment information.
357
- * The balance increases only after the payment gateway confirms receipt. A top-up has no invoice.
358
- * Keep the supplied ID to query the original attempt after a lost response; duplicate creation conflicts.
324
+ * Creates a top-up for an account of the authenticated user and returns its payment information. The balance increases when the gateway confirms receipt. Keep the supplied ID to read the attempt after a lost response; creating it again conflicts.
359
325
  * @summary Create top up
360
326
  */
361
327
  export const CreateTopUpBody = TopUpCreate;
362
328
  /**
363
- * Reads a top-up owned by the authenticated user, including its outcome and the part of it not yet spent.
364
- * It is not an invoice.
365
- *
366
- * While the top-up is pending, the answer includes the customer's next step as the payment gateway
367
- * currently reports it, so that a payment interrupted by a closed page can be continued. When the gateway
368
- * cannot be reached, the top-up is returned without `action`; read it again later.
329
+ * A top-up of the authenticated user, with its outcome and unspent amount. While it is pending, `action` carries the customer's next step as the gateway reports it, so an interrupted payment can be continued; when the gateway cannot be reached, `action` is omitted.
369
330
  * @summary Get top up
370
331
  */
371
332
  export const GetTopUpParams = zod.strictObject({
372
333
  topUpId: zod.uuid(),
373
334
  });
374
335
  /**
375
- * Withdraws a pending top-up owned by the authenticated user at the payment gateway. It becomes
376
- * `canceled` with `cancellation_reason` `requested_by_customer`, and no money is collected for it. Canceling a
377
- * top-up that is already canceled returns it unchanged.
378
- *
379
- * If the gateway has already collected the payment, nothing is withdrawn and the top-up is returned
380
- * as `succeeded` with the balance increased. Check `status` in the answer rather than assuming the
381
- * cancellation took effect.
336
+ * Withdraws a pending top-up of the authenticated user at the payment gateway. It becomes `canceled` with
337
+ * `cancellation_reason` `requested_by_customer`, and nothing is collected. Canceling a canceled top-up returns
338
+ * it unchanged. If the gateway has already collected the payment, the top-up is returned as `succeeded` with the
339
+ * balance increased; check `status` in the response.
382
340
  *
383
- * Fails with 409 and BILLING_TOPUP_NOT_CANCELABLE when the top-up has already succeeded or failed,
384
- * with `status` naming that outcome, and while the gateway is processing the payment and can no
385
- * longer withdraw it, with `status` set to `pending`; read the top-up again later in that case.
341
+ * Fails with 409 `BILLING_TOPUP_NOT_CANCELABLE` when the top-up has succeeded or failed, with `status` naming
342
+ * the outcome, or while the gateway is processing the payment, with `status` `pending`; read the top-up again
343
+ * later.
386
344
  * @summary Cancel top up
387
345
  */
388
346
  export const CancelTopUpParams = zod.strictObject({
389
347
  topUpId: zod.uuid(),
390
348
  });
391
349
  /**
392
- * Paginated saved payment methods for owned billing accounts, optionally restricted to billing_account_id. Removed methods are excluded; they do not disappear from historical payment records.
350
+ * Saved payment methods of your billing accounts, optionally for one billing_account_id. Removed methods are not listed.
393
351
  * @summary List payment methods
394
352
  */
395
353
  export const listPaymentMethodsQueryPageDefault = 1;
@@ -412,68 +370,52 @@ export const ListPaymentMethodsQueryParams = zod.strictObject({
412
370
  billing_account_id: zod
413
371
  .int()
414
372
  .optional()
415
- .describe("Restrict to one of your accounts. All of them when omitted."),
373
+ .describe("Only this account of yours; all when omitted."),
416
374
  });
417
375
  /**
418
- * Returns what is needed to hand the browser over to the payment gateway's own card
419
- * form. Nothing is charged, and the method appears in the list once the gateway
420
- * confirms it.
421
- *
422
- * Card numbers are never sent to or stored by this service.
376
+ * Returns what the browser needs to open the payment gateway's card form. Nothing is charged; the method is listed once the gateway confirms it. Card numbers never reach this service.
423
377
  * @summary Create payment method setup
424
378
  */
425
379
  export const CreatePaymentMethodSetupBody = PaymentMethodSetup;
426
380
  /**
427
- * Selects an active saved payment method as the default for its owned billing account and returns it. Expired or removed methods cannot be selected; selecting the current default is idempotent.
381
+ * Makes an active saved payment method the default for its billing account and returns it. Expired or removed methods cannot be selected; selecting the current default changes nothing.
428
382
  * @summary Set default payment method
429
383
  */
430
384
  export const SetDefaultPaymentMethodParams = zod.strictObject({
431
385
  paymentMethodId: zod.uuid(),
432
386
  });
433
387
  /**
434
- * Refused when it is the only method on an account that has resources billed by the hour,
435
- * as there would be nothing left to charge when the balance runs out.
388
+ * Refused when it is the only payment method of an account with metered resources.
436
389
  * @summary Delete payment method
437
390
  */
438
391
  export const DeletePaymentMethodParams = zod.strictObject({
439
392
  paymentMethodId: zod.uuid(),
440
393
  });
441
394
  /**
442
- * Applies eligible credit grants and available balance as requested, then collects the remainder
443
- * through the selected payment gateway and method. With no gateway selection, insufficient
444
- * account funds fail without starting an online payment. Card and non-card methods use this same
445
- * operation.
395
+ * Pays the invoice from eligible credit grants and balance as requested, and collects the remainder through the
396
+ * selected gateway and method. Without a gateway, insufficient funds fail and no online payment starts.
446
397
  *
447
- * The draft invoice of a deferred order is priced when it is first paid: Billing applies
448
- * promotion_code, or the best applicable account discount when it is omitted, compares the total
449
- * with expected_amount, records the discount on the order and issues the invoice before collecting.
450
- * An invalid or inapplicable code fails rather than collecting full price, and a different total
451
- * fails with `BILLING_AMOUNT_CHANGED`; in both cases nothing changes. The terms are fixed before
452
- * any funds are collected and stay fixed when collection does not complete, for example with
453
- * insufficient funds or a declined card: later attempts reuse them, and a different promotion_code
454
- * is then refused with `BILLING_ORDER_CHECKOUT_CONFLICT`. A deferred period-end change can be paid
455
- * once its first period is due to be invoiced; earlier attempts are refused with
398
+ * The draft invoice of a deferred order is priced on its first payment: promotion_code, or otherwise the best
399
+ * applicable account discount, is applied, the total is compared with expected_amount, and the invoice is issued
400
+ * before collection. An invalid or inapplicable code fails, and a total other than expected_amount fails with
401
+ * `BILLING_AMOUNT_CHANGED`; neither changes anything. Once fixed, the terms stay fixed even if collection does
402
+ * not complete, and a different promotion_code is refused with `BILLING_ORDER_CHECKOUT_CONFLICT`. A deferred
403
+ * period-end change can be paid only once its first period is due to be invoiced; earlier attempts fail with
456
404
  * `BILLING_CHANGE_NOT_INVOICED`.
457
405
  *
458
- * Returns a payment action when customer interaction is required. requires_action and processing
459
- * do not mean paid; the invoice is marked paid after payment is confirmed. An unresolved online
460
- * payment made with the same gateway, method and saved payment method is reused, and retries do not
461
- * apply credit grants or balance twice. Paying any other way cancels that earlier online payment
462
- * first; if the gateway had already collected it, the invoice is paid by it and nothing more is
463
- * charged. One the gateway is still processing is refused with `BILLING_PAYMENT_PENDING` and
464
- * `meta.transaction_id`; wait for its outcome.
406
+ * Returns a payment action when the customer must act; requires_action and processing are not paid. An
407
+ * unresolved online payment with the same gateway, method and saved payment method is reused, and retries never
408
+ * apply credit grants or balance twice. Paying any other way first cancels that payment; if the gateway had
409
+ * already collected it, the invoice is paid by it and nothing more is charged. A payment the gateway is still
410
+ * processing fails with `BILLING_PAYMENT_PENDING` and `meta.transaction_id`.
465
411
  *
466
- * Calling this on an invoice that is already paid returns the existing payment result without
467
- * another charge. A void invoice is refused with `BILLING_INVOICE_NOT_PAYABLE`; the invoice of an
468
- * order that has failed or was
469
- * canceled, with `BILLING_ORDER_FAILED` or `BILLING_ORDER_CANCELED`; and that of an order whose
470
- * payment deadline has passed, with `BILLING_ORDER_EXPIRED`. A renewal invoice is also refused with
471
- * `BILLING_INVOICE_NOT_PAYABLE` while its subscription is being canceled, is being reclaimed or has
472
- * ended, with `meta.reason` `subscription_canceling`, `subscription_reclaiming` or
473
- * `subscription_ended` respectively. A usage invoice is billed to the smallest fraction a balance can
474
- * hold, finer than a payment method can charge, so paying one online is refused with
475
- * `BILLING_INVOICE_NOT_PAYABLE` and `meta.reason` `usage_invoice`; it is collected from credit grants
476
- * and balance automatically, including right after a top-up.
412
+ * A paid invoice returns its existing result without another charge. Refused with `BILLING_INVOICE_NOT_PAYABLE`
413
+ * for a void invoice; `BILLING_ORDER_FAILED` or `BILLING_ORDER_CANCELED` for the invoice of a failed or canceled
414
+ * order; `BILLING_ORDER_EXPIRED` after the order's payment deadline; `BILLING_INVOICE_NOT_PAYABLE` with
415
+ * `meta.reason` `subscription_canceling`, `subscription_reclaiming` or `subscription_ended` for a renewal
416
+ * invoice whose subscription is being canceled, is being reclaimed or has ended; and
417
+ * `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `usage_invoice` for a usage invoice, which is collected from
418
+ * credit grants and balance automatically, including right after a top-up.
477
419
  * @summary Pay an invoice
478
420
  */
479
421
  export const PayInvoiceParams = zod.strictObject({
@@ -504,7 +446,7 @@ export const PreviewInvoicePaymentQueryParams = zod.strictObject({
504
446
  .min(1)
505
447
  .max(previewInvoicePaymentQueryPromotionCodeMax)
506
448
  .optional()
507
- .describe("As in paying. Considered only while the order's terms are not yet fixed."),
449
+ .describe("As in paying; used only while the order's terms are not fixed."),
508
450
  use_balance: zod
509
451
  .boolean()
510
452
  .default(previewInvoicePaymentQueryUseBalanceDefault)
@@ -515,41 +457,24 @@ export const PreviewInvoicePaymentQueryParams = zod.strictObject({
515
457
  .describe("As in paying. True when omitted."),
516
458
  });
517
459
  /**
518
- * Pays outstanding invoices, including the invoices of the listed orders, from the account's
519
- * eligible credit grants and then its balance. No payment gateway is used; an invoice to be
520
- * paid online is paid on its own. The draft invoice of a deferred order takes the best applicable
521
- * account discount and is issued first, and stays issued if the payment fails; pay it on its own to
522
- * apply a promotion code.
460
+ * Pays outstanding invoices, including those of the listed orders, from eligible credit grants and then balance,
461
+ * without a payment gateway. The draft invoice of a deferred order takes the best applicable account discount
462
+ * and is issued first, staying issued if payment fails; pay it alone to use a promotion code.
523
463
  *
524
- * Either every invoice is paid or none is. When the credit grants and balance cannot cover
525
- * them all, the request fails with `BILLING_INSUFFICIENT_FUNDS` and nothing is charged.
526
- * A total different from expected_amount fails with `BILLING_AMOUNT_CHANGED` and nothing is charged.
527
- * Invoices that are already paid are not charged again. An online payment started earlier for one
528
- * of the invoices is canceled first; one the gateway is still processing is refused with
529
- * `BILLING_PAYMENT_PENDING` and `meta.transaction_id`, a void invoice with
530
- * `BILLING_INVOICE_NOT_PAYABLE`, a deferred period-end change not yet due to be invoiced with
531
- * `BILLING_CHANGE_NOT_INVOICED`, an order that has failed or was canceled with
532
- * `BILLING_ORDER_FAILED` or `BILLING_ORDER_CANCELED`, and an order whose payment deadline has
533
- * passed with `BILLING_ORDER_EXPIRED`. A renewal invoice is refused with
534
- * `BILLING_INVOICE_NOT_PAYABLE` while its subscription is being canceled, is being reclaimed or has
535
- * ended, with `meta.reason` `subscription_canceling`, `subscription_reclaiming` or
536
- * `subscription_ended` respectively.
464
+ * All invoices are paid or none: insufficient funds fail with `BILLING_INSUFFICIENT_FUNDS`, and a total other
465
+ * than expected_amount fails with `BILLING_AMOUNT_CHANGED`, charging nothing. Paid invoices are not charged
466
+ * again. An earlier online payment for one of the invoices is canceled first; one the gateway is still
467
+ * processing is refused with `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Also refused with
468
+ * `BILLING_INVOICE_NOT_PAYABLE` for a void invoice; `BILLING_CHANGE_NOT_INVOICED` for a period-end change not
469
+ * yet due; `BILLING_ORDER_FAILED`, `BILLING_ORDER_CANCELED` or `BILLING_ORDER_EXPIRED` for an order in that
470
+ * state; and `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `subscription_canceling`,
471
+ * `subscription_reclaiming` or `subscription_ended` for a renewal invoice of a subscription being canceled,
472
+ * being reclaimed or ended.
537
473
  * @summary Pay together
538
474
  */
539
475
  export const PayTogetherBody = PayTogetherRequest;
540
476
  /**
541
- * What paying these invoices together now would take from credit grants and from the balance,
542
- * invoice by invoice in the order they would be paid. It is computed as paying together computes
543
- * it. Nothing is charged, reserved or created.
544
- *
545
- * Refused with the same errors as paying together, except that insufficient funds are not an
546
- * error here: they show as a `gateway_amount` above zero, and paying together would then be
547
- * refused with `BILLING_INSUFFICIENT_FUNDS`.
548
- * @summary Preview paying together
549
- */
550
- export const PreviewPayTogetherBody = PayTogetherRequest;
551
- /**
552
- * Paginated issued invoices belonging to owned billing accounts, filtered by billing_account_id, subscription_id, status and creation interval. Drafts are excluded, including the draft invoice of an order awaiting payment, which is reached through its order; top-ups do not create invoices.
477
+ * Issued invoices of your billing accounts. Drafts are not listed; an order's draft invoice is reached through its order. Top-ups have no invoices.
553
478
  * @summary List invoices
554
479
  */
555
480
  export const listInvoicesQueryPageDefault = 1;
@@ -572,27 +497,27 @@ export const ListInvoicesQueryParams = zod.strictObject({
572
497
  billing_account_id: zod
573
498
  .int()
574
499
  .optional()
575
- .describe("Restrict to one of your accounts. All of them when omitted."),
500
+ .describe("Only this account of yours; all when omitted."),
576
501
  status: zod
577
- .enum(["draft", "open", "paid", "void", "uncollectible"])
502
+ .enum(["draft", "open", "paid", "void"])
578
503
  .optional()
579
- .describe("A draft is not yet issued. The draft invoice of an order shows base prices until it is paid, when\nthe discount is applied and it is issued; other drafts are private to administrators.\nAn issued invoice is open until settled; a zero-total issued invoice is immediately paid.\nUnbilled usage remains separate from invoices until it is invoiced.\nA refund does not change the status: a paid invoice stays paid, with the refunded part in\namount_refunded. void means collection has stopped and any funds received have been returned."),
504
+ .describe("`draft`: not yet issued; an order's draft invoice shows base prices until it is paid, when the discount is applied and it is issued. Other drafts are visible only to operators. `open`: issued and not yet settled; a zero-total invoice is paid at once. `paid` stays paid after a refund, with the refunded part in amount_refunded. `void`: collection has stopped and any funds received have been returned. Usage not yet invoiced is not on any invoice."),
580
505
  subscription_id: zod
581
506
  .uuid()
582
507
  .optional()
583
- .describe("Only invoices containing a charge from this subscription. The returned invoice amount is the total for the whole invoice."),
508
+ .describe("Only invoices with a charge from this subscription; amounts are for the whole invoice."),
584
509
  from: zod.iso.datetime({ offset: true }).optional(),
585
510
  to: zod.iso.datetime({ offset: true }).optional().describe("Exclusive."),
586
511
  });
587
512
  /**
588
- * Returns an invoice for an owned billing account with its amounts, tax lines and payment state, whether issued or the draft invoice of an order. Returns 404 for a missing invoice or another draft and 403 when its account belongs to another user.
513
+ * An invoice of your billing account, issued or an order's draft, with its amounts, tax lines and payment state. A missing invoice or another draft returns 404; an invoice of another user's account returns 403.
589
514
  * @summary Get invoice
590
515
  */
591
516
  export const GetInvoiceParams = zod.strictObject({
592
517
  invoiceId: zod.uuid(),
593
518
  });
594
519
  /**
595
- * Paginated lines of an invoice belonging to an owned billing account, issued or the draft invoice of an order, including their service periods and project references. A missing invoice or another draft returns 404; another user account returns 403.
520
+ * Lines of an invoice of your billing account, issued or an order's draft, with their service periods and projects. A missing invoice or another draft returns 404; an invoice of another user's account returns 403.
596
521
  * @summary List invoice items
597
522
  */
598
523
  export const ListInvoiceItemsParams = zod.strictObject({
@@ -617,7 +542,7 @@ export const ListInvoiceItemsQueryParams = zod.strictObject({
617
542
  .describe("Items per page. Defaults to 50; at most 200."),
618
543
  });
619
544
  /**
620
- * Paginated ledger entries for owned billing accounts, optionally filtered by billing_account_id and creation interval. Each entry retains its amount, currency and any referenced credit grant.
545
+ * Ledger entries of your billing accounts, filtered by billing_account_id and creation time.
621
546
  * @summary List transactions
622
547
  */
623
548
  export const listTransactionsQueryPageDefault = 1;
@@ -640,13 +565,12 @@ export const ListTransactionsQueryParams = zod.strictObject({
640
565
  billing_account_id: zod
641
566
  .int()
642
567
  .optional()
643
- .describe("Restrict to one of your accounts. All of them when omitted."),
568
+ .describe("Only this account of yours; all when omitted."),
644
569
  from: zod.iso.datetime({ offset: true }).optional(),
645
570
  to: zod.iso.datetime({ offset: true }).optional().describe("Exclusive."),
646
571
  });
647
572
  /**
648
- * Coupons placed on the account directly, which apply at checkout without a code being
649
- * entered. A coupon reached through a code is not listed here.
573
+ * Coupons held by the account, applied at checkout without a code. Coupons reached through a code are not listed.
650
574
  * @summary List the coupons held on this account
651
575
  */
652
576
  export const listAccountDiscountsQueryPageDefault = 1;
@@ -669,11 +593,10 @@ export const ListAccountDiscountsQueryParams = zod.strictObject({
669
593
  billing_account_id: zod
670
594
  .int()
671
595
  .optional()
672
- .describe("Restrict to one of your accounts. All of them when omitted."),
596
+ .describe("Only this account of yours; all when omitted."),
673
597
  });
674
598
  /**
675
- * Each grant shows what remains and what it may be used for. Credit is spent before the balance
676
- * and cannot be withdrawn.
599
+ * Credit grants with what remains and what each may pay for. Credit is spent before balance and cannot be withdrawn.
677
600
  * @summary List credit grants
678
601
  */
679
602
  export const listCreditGrantsQueryPageDefault = 1;
@@ -696,11 +619,11 @@ export const ListCreditGrantsQueryParams = zod.strictObject({
696
619
  billing_account_id: zod
697
620
  .int()
698
621
  .optional()
699
- .describe("Restrict to one of your accounts. All of them when omitted."),
622
+ .describe("Only this account of yours; all when omitted."),
700
623
  status: zod.enum(["active", "depleted", "expired", "voided"]).optional(),
701
624
  });
702
625
  /**
703
- * Newest issued_at first, then ID. Requires authorization for the invoice's billing account. Filters narrow authorized results and apply before counting and paging.
626
+ * Credit notes, newest first. Filters apply within the billing accounts you are authorized for.
704
627
  * @summary List credit notes
705
628
  */
706
629
  export const listCreditNotesQueryPageDefault = 1;
@@ -723,7 +646,7 @@ export const ListCreditNotesQueryParams = zod.strictObject({
723
646
  billing_account_id: zod
724
647
  .int()
725
648
  .optional()
726
- .describe("Restrict to one of your accounts. All of them when omitted."),
649
+ .describe("Only this account of yours; all when omitted."),
727
650
  invoice_id: zod.uuid().optional().describe("Only the notes for this invoice."),
728
651
  });
729
652
  /**
@@ -734,7 +657,7 @@ export const GetCreditNoteParams = zod.strictObject({
734
657
  creditNoteId: zod.uuid(),
735
658
  });
736
659
  /**
737
- * The original invoice lines reduced by this note. Requires authorization for their invoice's billing account.
660
+ * The invoice lines this credit note reduced.
738
661
  * @summary List credit note items
739
662
  */
740
663
  export const ListCreditNoteItemsParams = zod.strictObject({
@@ -782,15 +705,15 @@ export const ListRefundsQueryParams = zod.strictObject({
782
705
  billing_account_id: zod
783
706
  .int()
784
707
  .optional()
785
- .describe("Restrict to one of your accounts. All of them when omitted."),
708
+ .describe("Only this account of yours; all when omitted."),
786
709
  invoice_id: zod.uuid().optional().describe("Only the refunds of this invoice."),
787
710
  order_id: zod
788
711
  .uuid()
789
712
  .optional()
790
- .describe("Only the refunds that belong to this order: those of its invoice, such as the refund of a\npurchase that could not be delivered, and those it caused on an earlier invoice, such as\nthe difference returned after a downgrade."),
713
+ .describe("Refunds of this order: those of its invoice, such as for an undeliverable purchase, and those it caused on an earlier invoice, such as a downgrade difference."),
791
714
  });
792
715
  /**
793
- * Lists priced usage charges in the requested financial scope. Usage without a price at occurrence time is never charged retrospectively.
716
+ * Priced usage charges in the requested scope. Usage that had no price when it occurred is never charged later.
794
717
  * @summary List usage charges
795
718
  */
796
719
  export const listUsageChargesQueryPageDefault = 1;
@@ -816,14 +739,14 @@ export const ListUsageChargesQueryParams = zod.strictObject({
816
739
  billing_account_id: zod
817
740
  .int()
818
741
  .optional()
819
- .describe("Restrict to one of your accounts. All of them when omitted."),
742
+ .describe("Only this account of yours; all when omitted."),
820
743
  product_id: zod
821
744
  .string()
822
745
  .min(1)
823
746
  .max(listUsageChargesQueryProductIdMax)
824
747
  .regex(listUsageChargesQueryProductIdRegExp)
825
748
  .optional()
826
- .describe("Immutable platform service identifier, such as compute, canopy or assistant."),
749
+ .describe("The platform service's fixed identifier, such as compute, canopy or assistant."),
827
750
  resource_id: zod.string().optional(),
828
751
  invoice_item_id: zod
829
752
  .uuid()
@@ -836,12 +759,12 @@ export const ListUsageChargesQueryParams = zod.strictObject({
836
759
  .min(1)
837
760
  .max(listUsageChargesQueryProjectIdsMax)
838
761
  .optional()
839
- .describe("Restrict the account-authorized results to these projects. Omit for all projects and account-level records. This filter does not grant access to another billing account."),
762
+ .describe("Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts."),
840
763
  meter_id: zod.uuid().optional(),
841
764
  statement_id: zod.uuid().optional(),
842
765
  });
843
766
  /**
844
- * Lists subscriptions visible to the authorized billing account. Soft-deleted subscriptions are excluded.
767
+ * Subscriptions of the authorized billing account. Deleted subscriptions are not listed.
845
768
  * @summary List subscriptions
846
769
  */
847
770
  export const listSubscriptionsQueryPageDefault = 1;
@@ -866,50 +789,38 @@ export const ListSubscriptionsQueryParams = zod.strictObject({
866
789
  billing_account_id: zod
867
790
  .int()
868
791
  .optional()
869
- .describe("Restrict to one of your accounts. All of them when omitted."),
792
+ .describe("Only this account of yours; all when omitted."),
870
793
  project_ids: zod
871
794
  .array(zod.uuid())
872
795
  .min(1)
873
796
  .max(listSubscriptionsQueryProjectIdsMax)
874
797
  .optional()
875
- .describe("Restrict the account-authorized results to these projects. Omit for all projects and account-level records. This filter does not grant access to another billing account."),
798
+ .describe("Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts."),
876
799
  });
877
800
  /**
878
- * Returns a subscription visible to the authorized billing account. Soft-deleted subscriptions are reported as not found.
801
+ * A subscription of the authorized billing account. Deleted subscriptions are reported as not found.
879
802
  * @summary Get subscription
880
803
  */
881
804
  export const GetSubscriptionParams = zod.strictObject({
882
805
  subscriptionId: zod.uuid(),
883
806
  });
884
807
  /**
885
- * Sets deleted_at on a canceled or terminated subscription, hiding it from your subscription
886
- * list and detail. Your account access token must authorize the subscription's current billing
887
- * account. Preserves commercial status, ended_at and billing and financial history. Completed
888
- * cancellations and canceled unfulfilled purchases can be deleted directly, without termination.
889
- * Pending, provisioning, active and suspended subscriptions are refused with 409
890
- * BILLING_SUBSCRIPTION_NOT_ENDED and status in error params. A scheduled or releasing cancellation
891
- * does not make a subscription canceled.
892
- * There is no force, skip-cleanup or override option. Repeating deletion preserves the original
893
- * deleted_at. Sends no cleanup command and creates no refund; outstanding cleanup continues.
808
+ * Hides a canceled or terminated subscription from your subscription list and detail by setting deleted_at; its status, ended_at and history are kept. The token must authorize the subscription's current billing account. A subscription that has not ended is refused with 409 `BILLING_SUBSCRIPTION_NOT_ENDED` and `status`. Repeating it keeps the original deleted_at. It sends no cleanup command and creates no refund.
894
809
  * @summary Delete subscription
895
810
  */
896
811
  export const DeleteSubscriptionParams = zod.strictObject({
897
812
  subscriptionId: zod.uuid(),
898
813
  });
899
814
  /**
900
- * Requests cancellation on the purchase's agreed terms. Uses the same quotation, eligibility,
901
- * metering and original-payment-source refund rules as creating a cancellation.
902
- * Supply the refund amount from create-quote with this subscription in cancellation.subscription_ids.
903
- * Your account access token must authorize the subscription's current billing account.
815
+ * Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
816
+ * refund amount from a quote with this subscription in `cancellation.subscription_ids`. The token must authorize
817
+ * the subscription's current billing account.
904
818
  *
905
- * Immediate cancellation asks the owning service to clean up now. Period-end cancellation keeps
906
- * the subscription active or suspended until the paid term ends. Neither payment nor acceptance
907
- * of this request proves cleanup. The subscription becomes canceled only after the service
908
- * confirms release and the end of metering; follow the returned cancellation for progress.
909
- *
910
- * Related subscriptions released together must be submitted as one group to create-cancellation.
911
- * Pending or provisioning purchases are canceled through their order, not this operation.
912
- * Repeating the same open cancellation returns it without another refund or command.
819
+ * Immediate cancellation asks the owning service to release the resources now; period-end cancellation keeps the
820
+ * subscription active or suspended until the paid term ends. The subscription becomes canceled when the service
821
+ * confirms the release; follow the returned cancellation. Subscriptions released together must be canceled
822
+ * together through create-cancellation, and pending or provisioning purchases through their order. Repeating the
823
+ * request while the cancellation is open returns it.
913
824
  * @summary Cancel subscription
914
825
  */
915
826
  export const CancelSubscriptionParams = zod.strictObject({
@@ -917,16 +828,7 @@ export const CancelSubscriptionParams = zod.strictObject({
917
828
  });
918
829
  export const CancelSubscriptionBody = CancelSubscriptionRequest;
919
830
  /**
920
- * Calculates exactly one target for a billing account you own: proposed items, an existing order, renewals, cancellation or order refund. Returns all requested calculations or a structured error. No quote is saved and no resource, payment, reservation or redemption is created.
921
- *
922
- * Existing orders use their recorded purchase account and terms. Renewals and cancellations use the account currently paying for each subscription. Every target must belong to the requested account. A project association or project token does not authorize a quote.
923
- *
924
- * Use an existing order quote's total as expected_amount when paying the order's invoice. An order whose terms are fixed returns its recorded amounts; a different promotion code is refused. Requested future usage estimates are not collectible checkout amounts. An unknown delivery outcome is not proof of refund eligibility.
925
- * @summary Create a quote
926
- */
927
- export const CreateQuoteBody = QuoteRequest;
928
- /**
929
- * Newest first. Filter by `subscription_id` and `status=open` to find the cancellation now under way for a subscription.
831
+ * Newest first. Filter by `subscription_id` and `status=open` to find a subscription's cancellation in progress.
930
832
  * @summary List cancellations
931
833
  */
932
834
  export const listCancellationsQueryPageDefault = 1;
@@ -950,7 +852,7 @@ export const ListCancellationsQueryParams = zod.strictObject({
950
852
  billing_account_id: zod
951
853
  .int()
952
854
  .optional()
953
- .describe("Restrict to one of your accounts. All of them when omitted."),
855
+ .describe("Only this account of yours; all when omitted."),
954
856
  subscription_id: zod
955
857
  .uuid()
956
858
  .optional()
@@ -964,65 +866,51 @@ export const ListCancellationsQueryParams = zod.strictObject({
964
866
  .min(1)
965
867
  .max(listCancellationsQueryProjectIdsMax)
966
868
  .optional()
967
- .describe("Restrict the account-authorized results to these projects. Omit for all projects and account-level records. This filter does not grant access to another billing account."),
869
+ .describe("Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts."),
968
870
  });
969
871
  /**
970
- * Ends a set of subscriptions of one service together, at one time. Deleting a resource that a
971
- * subscription pays for is an `immediate` cancellation of every subscription released with it,
972
- * such as a server with the disks deleted along with it, or an address with its bandwidth.
872
+ * Ends subscriptions of one service together. Deleting a resource is an `immediate` cancellation of every
873
+ * subscription released with it, such as a server with its disks or an address with its bandwidth.
973
874
  *
974
- * The service that provides the resources releases them: at once for `immediate`, or at
975
- * `scheduled_at`, the end of the paid term, for `period_end`. When release is confirmed, the
976
- * unused value is returned the way it was paid, under the refund terms agreed when each
977
- * subscription was bought. For `immediate` the refund is computed as of `proration_date`, so the
978
- * amount confirmed here is the amount returned: prepaid service used while the resources are
979
- * being released is not deducted from it. Usage of a postpaid subscription is charged until its
980
- * resources are released, as usual.
875
+ * The owning service releases the resources at once for `immediate`, or at `scheduled_at`, the end of the paid
876
+ * term, for `period_end`. When release is confirmed, the unused value is returned to the original payment
877
+ * sources under each subscription's refund terms. For `immediate` the refund is computed as of `proration_date`
878
+ * and is not reduced by service used during release. Metered usage is charged until release.
981
879
  *
982
- * `mode` must be allowed for every subscription. Postpaid and one-time subscriptions end only
983
- * `immediate`. A prepaid subscription ends `period_end` while its paid term lasts, and
984
- * `immediate` unless its termination terms allow only the end of the paid term and that term has
985
- * not ended yet. For `period_end` the paid terms of all the subscriptions must end at the same
880
+ * `mode` must be allowed for every subscription. Metered and one-time subscriptions end only `immediate`. A
881
+ * licensed subscription ends `period_end` while its paid term lasts, and `immediate` unless its terms allow only
882
+ * the end of the paid term and that term has not ended. For `period_end` all paid terms must end at the same
986
883
  * time.
987
884
  *
988
885
  * Refused with:
989
- * - 400 `BILLING_CANCELLATION_INVALID` when `subscription_ids` or `proration_date` is not
990
- * acceptable (`meta.field`), or the subscriptions do not all belong to one service, project,
991
- * account and currency;
886
+ *
887
+ * - 400 `BILLING_CANCELLATION_INVALID` when `subscription_ids` or `proration_date` is invalid (`meta.field`), or
888
+ * the subscriptions do not share one service, project, account and currency;
992
889
  * - 409 `BILLING_CANCELLATION_CONFLICT` when a subscription has not started or has ended;
993
- * - 422 `BILLING_CANCELLATION_MODE_FIXED` when `mode` is not allowed for a subscription, and
994
- * `BILLING_CANCELLATION_TERMS_UNSET` when a prepaid subscription has no termination terms;
995
- * both carry `meta.subscription_id`;
996
- * - 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when, for `period_end`, the paid terms end at
997
- * different times;
890
+ * - 422 `BILLING_CANCELLATION_MODE_FIXED` when `mode` is not allowed, and `BILLING_CANCELLATION_TERMS_UNSET`
891
+ * when a licensed subscription has no termination terms, both with `meta.subscription_id`;
892
+ * - 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when, for `period_end`, the paid terms end at different times;
998
893
  * - 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` when a subscription is already being canceled
999
- * (`meta.cancellation_id`) or reclaimed (`meta.reason` `reclaim_requested`), or has a paid
1000
- * change still waiting to switch (`meta.order_id`);
1001
- * - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online payment for a renewal of one of them
1002
- * is in progress;
1003
- * - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund is no longer
1004
- * `expected_refundable_amount`; quote again.
894
+ * (`meta.cancellation_id`) or reclaimed (`meta.reason` `reclaim_requested`), or has a paid change waiting to
895
+ * switch (`meta.order_id`);
896
+ * - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online renewal payment for one of them is in progress;
897
+ * - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund no longer equals `expected_refundable_amount`.
1005
898
  *
1006
- * Sending the same request again, for the same subscriptions, mode and amount while that
1007
- * cancellation is still open, returns it with 200 rather than creating another. Renewal orders
1008
- * still waiting for payment are canceled along with it, and automatic renewal is turned off for
1009
- * every subscription in the set, for `period_end` as well as `immediate`.
899
+ * Repeating the request for the same subscriptions, mode and amount while the cancellation is open returns it
900
+ * with 200. Unpaid renewal orders are canceled with it, and automatic renewal is turned off for every
901
+ * subscription.
1010
902
  * @summary Cancel subscriptions
1011
903
  */
1012
904
  export const CreateCancellationBody = CancellationCreate;
1013
905
  /**
1014
- * Returns a cancellation for an authorized billing account with its schedule, expected refundable amount and individual subscription outcomes. Read individual item states for per-subscription outcomes, including partial success.
906
+ * A cancellation of your billing account with its schedule, expected refundable amount and the outcome for each subscription, including partial success.
1015
907
  * @summary Get a cancellation
1016
908
  */
1017
909
  export const GetCancellationParams = zod.strictObject({
1018
910
  cancellationId: zod.uuid(),
1019
911
  });
1020
912
  /**
1021
- * Withdraws the whole cancellation while none of its resources has begun to be released; the
1022
- * subscriptions continue as before, except that automatic renewal, turned off when the
1023
- * cancellation was created, stays off until it is turned on again. After that it is refused with
1024
- * 409 `BILLING_CANCELLATION_CONFLICT`. Withdrawing one that is already withdrawn returns it
1025
- * unchanged.
913
+ * Withdraws the whole cancellation while no resource has begun to be released; afterwards it is refused with 409 `BILLING_CANCELLATION_CONFLICT`. The subscriptions continue, but automatic renewal, turned off when the cancellation was created, stays off until it is turned on again. Withdrawing a withdrawn cancellation returns it unchanged.
1026
914
  * @summary Withdraw a cancellation
1027
915
  */
1028
916
  export const WithdrawCancellationParams = zod.strictObject({
@@ -1054,17 +942,15 @@ export const ListRenewalPricesQueryParams = zod.strictObject({
1054
942
  .describe("Items per page. Defaults to 50; at most 200."),
1055
943
  });
1056
944
  /**
1057
- * Purchases prepaid periods from current_term_end using the agreed recurring amount, and pays for them at
1058
- * once. A changed interval selects a current price and freezes new terms on the order, applied
1059
- * only after fulfillment. Existing paid periods keep their value.
945
+ * Buys licensed periods from current_term_end at the agreed recurring amount and pays for them at once. A
946
+ * different interval selects the price currently sold for it and fixes new terms on the order, applied after
947
+ * fulfillment. Paid periods keep their value.
1060
948
  *
1061
- * Without `payment_method_id`, the renewal is paid from credit grants and the balance as
1062
- * `use_credits` and `use_balance` allow; when they cannot pay it all, the renewal is refused with
1063
- * `BILLING_INSUFFICIENT_FUNDS` and no order is left. To pay another way, create a renewal order
1064
- * and pay its invoice instead.
949
+ * Without `payment_method_id`, the renewal is paid from credit grants and balance as `use_credits` and
950
+ * `use_balance` allow; when they cannot cover it, the request fails with `BILLING_INSUFFICIENT_FUNDS` and no
951
+ * order is left. To pay another way, create a renewal order and pay its invoice.
1065
952
  *
1066
- * Save order_id before submitting and query the order after an unknown outcome; duplicate
1067
- * creation conflicts.
953
+ * Keep order_id and read the order after an unknown outcome; creating it again conflicts.
1068
954
  * @summary Renew subscription
1069
955
  */
1070
956
  export const RenewSubscriptionParams = zod.strictObject({
@@ -1072,16 +958,14 @@ export const RenewSubscriptionParams = zod.strictObject({
1072
958
  });
1073
959
  export const RenewSubscriptionBody = RenewRequest;
1074
960
  /**
1075
- * Places a renewal order with a draft invoice, without applying a new discount or charging anything.
1076
- * Pay its invoice to renew; a promotion code can be applied when paying. Existing subscription
1077
- * discount commitments are retained. The periods and price are chosen as for renewing. The order
1078
- * can be paid until the current paid period ends, and never after the end of the first period it renews; unpaid by
1079
- * then, it is canceled. While auto-renew is on, the renewal due at the end of the period pays
1080
- * this order instead of placing another, applying an applicable account discount first if the
1081
- * order's terms are not fixed yet.
961
+ * Places a renewal order with a draft invoice, without applying a new discount or charging anything. Pay its
962
+ * invoice to renew; a promotion code can be applied when paying. Existing subscription discounts are kept.
963
+ * Periods and price are chosen as for renewing. The order can be paid until the current paid period ends, and
964
+ * never after the end of the first period it renews; unpaid by then, it is canceled. While auto-renew is on, the
965
+ * renewal due at the end of the period pays this order instead of placing another, applying an applicable
966
+ * account discount first if its terms are not fixed yet.
1082
967
  *
1083
- * Save `order_id` before submitting and read the order after an unknown outcome; creating it a
1084
- * second time conflicts.
968
+ * Keep `order_id` and read the order after an unknown outcome; creating it again conflicts.
1085
969
  * @summary Create renewal order
1086
970
  */
1087
971
  export const CreateRenewalOrderParams = zod.strictObject({
@@ -1089,15 +973,7 @@ export const CreateRenewalOrderParams = zod.strictObject({
1089
973
  });
1090
974
  export const CreateRenewalOrderBody = RenewalOrderRequest;
1091
975
  /**
1092
- * Controls automatic prepaid renewal for an active or suspended subscription. A pending or provisioning
1093
- * subscription cannot set this preference and returns 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_INACTIVE`. Disabling it does
1094
- * not shorten current_term_end and still permits manual renewal. A postpaid subscription always continues until it is
1095
- * canceled; setting it is refused with 409
1096
- * `BILLING_SUBSCRIPTION_AUTO_RENEW_FIXED`.
1097
- *
1098
- * While the subscription has an open cancellation, turning it on or off is refused with 409
1099
- * `BILLING_SUBSCRIPTION_OPERATION_PENDING` and `meta.cancellation_id`: creating the cancellation
1100
- * turned it off, and withdrawing the cancellation does not turn it back on.
976
+ * Turns automatic renewal of an active or suspended licensed subscription on or off. Turning it off does not shorten current_term_end and still allows manual renewal. Refused with 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_INACTIVE` for a pending or provisioning subscription, 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_FIXED` for a metered subscription, which continues until it is canceled, and 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` with `meta.cancellation_id` while a cancellation is open: creating it turned renewal off, and withdrawing it does not turn renewal back on.
1101
977
  * @summary Set auto renew
1102
978
  */
1103
979
  export const SetAutoRenewParams = zod.strictObject({
@@ -1105,13 +981,7 @@ export const SetAutoRenewParams = zod.strictObject({
1105
981
  });
1106
982
  export const SetAutoRenewBody = AutoRenewSet;
1107
983
  /**
1108
- * Lists remaining usage quantities, such as bytes, seconds or tokens. Applicable allowances are
1109
- * consumed before usage is charged. Lower priority values are consumed first, followed by earlier
1110
- * expiry and earlier issuance.
1111
- *
1112
- * Unused quantity expires without a refund or carry-over. Promotional allowances apply to usage paid
1113
- * by their holding account. Included allowances apply only to the associated subscription, including
1114
- * after its project moves to another billing account.
984
+ * Remaining usage quantities, such as bytes, seconds or tokens. Applicable allowances are consumed before usage is charged: lower priority values first, then earlier expiry, then earlier issuance. Unused quantity expires without refund or carry-over. Promotional allowances apply to usage paid by their holding account; included allowances apply only to their subscription, also after its project moves to another billing account.
1115
985
  * @summary List allowances
1116
986
  */
1117
987
  export const listAllowancesQueryPageDefault = 1;
@@ -1137,7 +1007,7 @@ export const ListAllowancesQueryParams = zod.strictObject({
1137
1007
  billing_account_id: zod
1138
1008
  .int()
1139
1009
  .optional()
1140
- .describe("Restrict to one of your accounts. All of them when omitted."),
1010
+ .describe("Only this account of yours; all when omitted."),
1141
1011
  meter_id: zod.uuid().optional().describe("Filter by the meter UUID."),
1142
1012
  status: zod.enum(["active", "depleted", "expired", "voided"]).optional(),
1143
1013
  product_id: zod
@@ -1146,18 +1016,16 @@ export const ListAllowancesQueryParams = zod.strictObject({
1146
1016
  .max(listAllowancesQueryProductIdMax)
1147
1017
  .regex(listAllowancesQueryProductIdRegExp)
1148
1018
  .optional()
1149
- .describe("Immutable platform service identifier, such as compute, canopy or assistant."),
1019
+ .describe("The platform service's fixed identifier, such as compute, canopy or assistant."),
1150
1020
  project_ids: zod
1151
1021
  .array(zod.uuid())
1152
1022
  .min(1)
1153
1023
  .max(listAllowancesQueryProjectIdsMax)
1154
1024
  .optional()
1155
- .describe("Restrict the account-authorized results to these projects. Omit for all projects and account-level records. This filter does not grant access to another billing account."),
1025
+ .describe("Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts."),
1156
1026
  });
1157
1027
  /**
1158
- * Lists acceptance status and associated invoice amounts. A pending order is not yet accepted;
1159
- * its invoice shows whether it still needs payment. accepted means accepted, not delivered.
1160
- * Pending orders can expire at expires_at.
1028
+ * Orders with their status and invoice amounts. A pending order is not yet accepted and can expire at expires_at; its invoice shows whether payment is needed. Accepted does not mean delivered.
1161
1029
  * @summary List orders
1162
1030
  */
1163
1031
  export const listOrdersQueryPageDefault = 1;
@@ -1181,11 +1049,11 @@ export const ListOrdersQueryParams = zod.strictObject({
1181
1049
  billing_account_id: zod
1182
1050
  .int()
1183
1051
  .optional()
1184
- .describe("Restrict to one of your accounts. All of them when omitted."),
1052
+ .describe("Only this account of yours; all when omitted."),
1185
1053
  status: zod
1186
1054
  .enum(["pending", "accepted", "completed", "partially_completed", "failed", "canceled"])
1187
1055
  .optional()
1188
- .describe("Follows the items. `pending` is not yet accepted and may be unpaid or paid; its invoice shows\nwhether payment is still needed, and it can expire or be canceled. `accepted` is accepted with items still\nbeing set up. `completed` means every item was set up. `partially_completed` means some items were set up\nand the others failed or were canceled and were refunded to their original payment sources. `failed` means\nno item was delivered and at least one failed; collected amounts for the undelivered items are refunded.\n`canceled` means every item was withdrawn without delivery; collected amounts are returned to their original\npayment sources. No status establishes service delivery by itself."),
1056
+ .describe("Follows the items. `pending`: not yet accepted, paid or unpaid; its invoice shows whether payment is needed, and it can expire or be canceled. `accepted`: items are being set up. `completed`: every item was set up. `partially_completed`: some items were set up and the others failed or were canceled and refunded to their original payment sources. `failed`: no item was delivered and at least one failed; amounts collected for undelivered items are refunded. `canceled`: every item was withdrawn without delivery; collected amounts are returned to their original payment sources. No status by itself means the service was delivered."),
1189
1057
  from: zod.iso.datetime({ offset: true }).optional(),
1190
1058
  to: zod.iso.datetime({ offset: true }).optional().describe("Exclusive."),
1191
1059
  project_ids: zod
@@ -1193,34 +1061,29 @@ export const ListOrdersQueryParams = zod.strictObject({
1193
1061
  .min(1)
1194
1062
  .max(listOrdersQueryProjectIdsMax)
1195
1063
  .optional()
1196
- .describe("Restrict the account-authorized results to these projects. Omit for all projects and account-level records. This filter does not grant access to another billing account."),
1064
+ .describe("Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts."),
1197
1065
  });
1198
1066
  /**
1199
- * Returns an order charged to an owned billing account with its commercial state and invoice reference. An unknown order returns 404; an order on another user account is forbidden.
1067
+ * An order of your billing account with its status and invoice. An unknown order returns 404; another user's order returns 403.
1200
1068
  * @summary Get order
1201
1069
  */
1202
1070
  export const GetOrderParams = zod.strictObject({
1203
1071
  orderId: zod.uuid(),
1204
1072
  });
1205
1073
  /**
1206
- * Cancels the selected, still-undelivered items of an unaccepted order without recording a
1207
- * delivery failure. Omit order_item_ids to select every still-pending item, or name one or
1208
- * more items. Successful items remain delivered and are not refunded. Whole-order and partial
1209
- * cancellation both require confirmed non-delivery and necessary cleanup. The order keeps
1210
- * its existing pending phase while any item is still pending; its final outcome follows all
1211
- * item outcomes. Previously failed items keep their failure outcome.
1074
+ * Cancels the selected undelivered items of an order that has not been accepted, without recording a delivery
1075
+ * failure. Omit order_item_ids to select every pending item. Delivered items stay delivered and are not
1076
+ * refunded; failed items keep their outcome. The order stays pending while any item is pending, and its final
1077
+ * status follows its items.
1212
1078
  *
1213
- * Payment may be absent, partial or complete. Once the order's terms are fixed, the selected items
1214
- * keep their agreed amounts and discounts; credit notes reduce issued invoices, and collected amounts
1215
- * are returned to their original payment sources. While the terms of a deferred order are not fixed,
1216
- * the remaining items are priced again. External payment-method refunds can finish asynchronously. An online payment still waiting for the payer is canceled with the order; one the gateway is already processing is refused with `BILLING_PAYMENT_PENDING` and `meta.transaction_id`.
1217
- * The order and financial history are retained; the same cancellation does not refund twice.
1079
+ * Once the order's terms are fixed, the canceled items keep their agreed amounts and discounts: credit notes
1080
+ * reduce the issued invoice, and collected amounts return to their original payment sources, possibly
1081
+ * asynchronously. While a deferred order's terms are not fixed, the remaining items are priced again. An online
1082
+ * payment waiting for the payer is canceled with the order; one the gateway is processing is refused with
1083
+ * `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Repeating the cancellation does not refund twice.
1218
1084
  *
1219
- * Once the order is accepted, its owning service coordinates cancellation and confirms
1220
- * non-delivery and cleanup through the cancellation RPC. Delivered items are ended through
1221
- * subscription cancellation. Unknown delivery or payment outcomes are not refund evidence;
1222
- * in-flight or unknown payments must be reconciled first. Scheduled changes continue to be
1223
- * canceled through the owning service. Refund quotations use CreateQuote.refund.
1085
+ * An accepted order is canceled by its owning service, and delivered items through subscription cancellation.
1086
+ * Refunds are quoted with the quote operation's `refund` target.
1224
1087
  * @summary Cancel order
1225
1088
  */
1226
1089
  export const CancelOrderParams = zod.strictObject({
@@ -1253,13 +1116,7 @@ export const ListOrderItemsQueryParams = zod.strictObject({
1253
1116
  .describe("Items per page. Defaults to 50; at most 200."),
1254
1117
  });
1255
1118
  /**
1256
- * Capabilities that come with what has been bought. A capability that is not held simply
1257
- * does not appear, so that "this does not exist" and "this has not been bought" cannot be
1258
- * confused.
1259
- *
1260
- * Derived from live subscriptions and active feature grants rather than stored, so this always
1261
- * agrees with what is being paid for and granted. It stops being listed as soon as the
1262
- * subscription or grant providing it ends.
1119
+ * Capabilities granted by live subscriptions and active feature grants. A capability not held is not listed, and one stops being listed when the subscription or grant providing it ends.
1263
1120
  * @summary List entitlements
1264
1121
  */
1265
1122
  export const listEntitlementsQueryPageDefault = 1;
@@ -1285,25 +1142,23 @@ export const ListEntitlementsQueryParams = zod.strictObject({
1285
1142
  billing_account_id: zod
1286
1143
  .int()
1287
1144
  .optional()
1288
- .describe("Restrict to one of your accounts. All of them when omitted."),
1145
+ .describe("Only this account of yours; all when omitted."),
1289
1146
  project_ids: zod
1290
1147
  .array(zod.uuid())
1291
1148
  .min(1)
1292
1149
  .max(listEntitlementsQueryProjectIdsMax)
1293
1150
  .optional()
1294
- .describe("Restrict the account-authorized results to these projects. Omit for all projects and account-level records. This filter does not grant access to another billing account."),
1151
+ .describe("Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts."),
1295
1152
  product_id: zod
1296
1153
  .string()
1297
1154
  .min(1)
1298
1155
  .max(listEntitlementsQueryProductIdMax)
1299
1156
  .regex(listEntitlementsQueryProductIdRegExp)
1300
1157
  .optional()
1301
- .describe("Immutable platform service identifier, such as compute, canopy or assistant."),
1158
+ .describe("The platform service's fixed identifier, such as compute, canopy or assistant."),
1302
1159
  });
1303
1160
  /**
1304
- * Access to features held by a billing account for a period, for example through a membership. While a grant
1305
- * is active, every project whose current billing account holds it has the feature, in addition to the
1306
- * features of its own subscriptions.
1161
+ * Features held by a billing account for a period, for example through a membership. While a grant is active, every project whose current billing account holds it has the feature, in addition to its subscriptions' features.
1307
1162
  * @summary List feature grants
1308
1163
  */
1309
1164
  export const listFeatureGrantsQueryPageDefault = 1;
@@ -1328,27 +1183,21 @@ export const ListFeatureGrantsQueryParams = zod.strictObject({
1328
1183
  billing_account_id: zod
1329
1184
  .int()
1330
1185
  .optional()
1331
- .describe("Restrict to one of your accounts. All of them when omitted."),
1186
+ .describe("Only this account of yours; all when omitted."),
1332
1187
  product_id: zod
1333
1188
  .string()
1334
1189
  .min(1)
1335
1190
  .max(listFeatureGrantsQueryProductIdMax)
1336
1191
  .regex(listFeatureGrantsQueryProductIdRegExp)
1337
1192
  .optional()
1338
- .describe("Immutable platform service identifier, such as compute, canopy or assistant."),
1193
+ .describe("The platform service's fixed identifier, such as compute, canopy or assistant."),
1339
1194
  status: zod
1340
1195
  .enum(["scheduled", "active", "expired", "voided"])
1341
1196
  .optional()
1342
1197
  .describe("Derived from the validity period. scheduled means valid_from has not yet arrived."),
1343
1198
  });
1344
1199
  /**
1345
- * Every sellable thing and what it costs, in one request. A plan appears once per price.
1346
- *
1347
- * `currency` is required: a plan has a price in each currency it is sold in, so "what does
1348
- * this cost" has no answer without one.
1349
- *
1350
- * Archived prices are left out. Existing subscriptions keep the terms they were bought at, so
1351
- * this is not the place to look up what an existing purchase is paying.
1200
+ * Every active price in the currency, one entry per plan and price. Archived prices are not listed; existing subscriptions keep the terms they were bought at.
1352
1201
  * @summary List what is on sale, with prices
1353
1202
  */
1354
1203
  export const listPricesQueryPageDefault = 1;
@@ -1383,20 +1232,18 @@ export const ListPricesQueryParams = zod.strictObject({
1383
1232
  .max(listPricesQueryProductIdMax)
1384
1233
  .regex(listPricesQueryProductIdRegExp)
1385
1234
  .optional()
1386
- .describe("Immutable platform service identifier, such as compute, canopy or assistant."),
1387
- type: zod
1388
- .enum(["postpaid", "prepaid", "one_time"])
1389
- .optional()
1390
- .describe("Narrows to one payment timing."),
1235
+ .describe("The platform service's fixed identifier, such as compute, canopy or assistant."),
1236
+ type: zod.enum(["one_time", "recurring"]).optional().describe("Narrows to one price type."),
1237
+ usage_type: zod.enum(["licensed", "metered"]).optional().describe("Narrows to one usage type."),
1391
1238
  });
1392
1239
  export const ListPricesHeader = zod.strictObject({
1393
1240
  "If-None-Match": zod
1394
1241
  .string()
1395
1242
  .optional()
1396
- .describe("The `ETag` from an earlier reply. When the catalogue has not changed since, the\nanswer is `304` with no body.\n\nSend it on every catalogue read. An unchanged catalogue is answered without a body."),
1243
+ .describe("The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body."),
1397
1244
  });
1398
1245
  /**
1399
- * Paginated registered catalog products with their service identities and descriptions. Supports If- None-Match and returns 304 when the selected page has not changed.
1246
+ * Registered products. If-None-Match returns 304 for an unchanged page.
1400
1247
  * @summary List catalog products
1401
1248
  */
1402
1249
  export const listProductsQueryPageDefault = 1;
@@ -1421,11 +1268,10 @@ export const ListProductsHeader = zod.strictObject({
1421
1268
  "If-None-Match": zod
1422
1269
  .string()
1423
1270
  .optional()
1424
- .describe("The `ETag` from an earlier reply. When the catalogue has not changed since, the\nanswer is `304` with no body.\n\nSend it on every catalogue read. An unchanged catalogue is answered without a body."),
1271
+ .describe("The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body."),
1425
1272
  });
1426
1273
  /**
1427
- * Resolves an identifier that was stored elsewhere — on an order line, an invoice line, or
1428
- * the terms of a credit — into something that can be displayed.
1274
+ * A product by its ID.
1429
1275
  * @summary Get a service
1430
1276
  */
1431
1277
  export const getProductPathProductIdMax = 64;
@@ -1436,17 +1282,16 @@ export const GetProductParams = zod.strictObject({
1436
1282
  .min(1)
1437
1283
  .max(getProductPathProductIdMax)
1438
1284
  .regex(getProductPathProductIdRegExp)
1439
- .describe("Immutable platform service identifier, such as compute, canopy or assistant."),
1285
+ .describe("The platform service's fixed identifier, such as compute, canopy or assistant."),
1440
1286
  });
1441
1287
  export const GetProductHeader = zod.strictObject({
1442
1288
  "If-None-Match": zod
1443
1289
  .string()
1444
1290
  .optional()
1445
- .describe("The `ETag` from an earlier reply. When the catalogue has not changed since, the\nanswer is `304` with no body.\n\nSend it on every catalogue read. An unchanged catalogue is answered without a body."),
1291
+ .describe("The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body."),
1446
1292
  });
1447
1293
  /**
1448
- * Resolves a stored identifier into something that can be displayed. Returns items that are
1449
- * no longer on sale: an existing purchase still refers to one.
1294
+ * A plan, including one no longer on sale.
1450
1295
  * @summary Get a sellable item
1451
1296
  */
1452
1297
  export const GetPlanParams = zod.strictObject({
@@ -1456,10 +1301,10 @@ export const GetPlanHeader = zod.strictObject({
1456
1301
  "If-None-Match": zod
1457
1302
  .string()
1458
1303
  .optional()
1459
- .describe("The `ETag` from an earlier reply. When the catalogue has not changed since, the\nanswer is `304` with no body.\n\nSend it on every catalogue read. An unchanged catalogue is answered without a body."),
1304
+ .describe("The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body."),
1460
1305
  });
1461
1306
  /**
1462
- * Returns the catalog price, including archived prices. Fixed purchase history and renewal agreements are shown on orders and subscriptions rather than reconstructed from today's catalog.
1307
+ * A catalog price, archived prices included. The terms of past purchases are on their orders and subscriptions.
1463
1308
  * @summary Get a price
1464
1309
  */
1465
1310
  export const GetPriceParams = zod.strictObject({
@@ -1469,10 +1314,10 @@ export const GetPriceHeader = zod.strictObject({
1469
1314
  "If-None-Match": zod
1470
1315
  .string()
1471
1316
  .optional()
1472
- .describe("The `ETag` from an earlier reply. When the catalogue has not changed since, the\nanswer is `304` with no body.\n\nSend it on every catalogue read. An unchanged catalogue is answered without a body."),
1317
+ .describe("The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body."),
1473
1318
  });
1474
1319
  /**
1475
- * Paginated active plans for the required product_id, with their feature allocations. An unknown product returns 404; If-None-Match can return 304 for an unchanged page.
1320
+ * Active plans of product_id with their features. An unknown product returns 404; If-None-Match returns 304 for an unchanged page.
1476
1321
  * @summary List catalog plans
1477
1322
  */
1478
1323
  export const listPlansQueryProductIdMax = 64;
@@ -1487,7 +1332,7 @@ export const ListPlansQueryParams = zod.strictObject({
1487
1332
  .min(1)
1488
1333
  .max(listPlansQueryProductIdMax)
1489
1334
  .regex(listPlansQueryProductIdRegExp)
1490
- .describe("Immutable platform service identifier, such as compute, canopy or assistant."),
1335
+ .describe("The platform service's fixed identifier, such as compute, canopy or assistant."),
1491
1336
  page: zod
1492
1337
  .int()
1493
1338
  .min(1)
@@ -1505,11 +1350,10 @@ export const ListPlansHeader = zod.strictObject({
1505
1350
  "If-None-Match": zod
1506
1351
  .string()
1507
1352
  .optional()
1508
- .describe("The `ETag` from an earlier reply. When the catalogue has not changed since, the\nanswer is `304` with no body.\n\nSend it on every catalogue read. An unchanged catalogue is answered without a body."),
1353
+ .describe("The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body."),
1509
1354
  });
1510
1355
  /**
1511
- * Public list prices only. An account holding a negotiated agreement may be charged less;
1512
- * it is never charged more.
1356
+ * Public list prices. An account with a negotiated agreement may be charged less, never more.
1513
1357
  * @summary List catalog prices
1514
1358
  */
1515
1359
  export const ListPricesByPlanParams = zod.strictObject({
@@ -1538,11 +1382,10 @@ export const ListPricesByPlanHeader = zod.strictObject({
1538
1382
  "If-None-Match": zod
1539
1383
  .string()
1540
1384
  .optional()
1541
- .describe("The `ETag` from an earlier reply. When the catalogue has not changed since, the\nanswer is `304` with no body.\n\nSend it on every catalogue read. An unchanged catalogue is answered without a body."),
1385
+ .describe("The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body."),
1542
1386
  });
1543
1387
  /**
1544
- * Only public price lists are readable here. A list written for a single agreement is not,
1545
- * and its identifier cannot be used to reach it.
1388
+ * Rules of a public rate card; contract cards are not readable here.
1546
1389
  * @summary List catalog rates
1547
1390
  */
1548
1391
  export const ListRatesParams = zod.strictObject({
@@ -1569,18 +1412,16 @@ export const ListRatesQueryParams = zod.strictObject({
1569
1412
  at: zod.iso
1570
1413
  .datetime({ offset: true })
1571
1414
  .optional()
1572
- .describe("Return the rates in effect at this moment. Defaults to now."),
1415
+ .describe("Rates in effect at this moment; defaults to now."),
1573
1416
  });
1574
1417
  export const ListRatesHeader = zod.strictObject({
1575
1418
  "If-None-Match": zod
1576
1419
  .string()
1577
1420
  .optional()
1578
- .describe("The `ETag` from an earlier reply. When the catalogue has not changed since, the\nanswer is `304` with no body.\n\nSend it on every catalogue read. An unchanged catalogue is answered without a body."),
1421
+ .describe("The `ETag` of an earlier response. When the catalogue has not changed since, the response is `304` with no body."),
1579
1422
  });
1580
1423
  /**
1581
- * Lists continuous metering registrations paid for by your billing accounts. Their state does not
1582
- * describe machine runtime or health. Project filters narrow the authorized accounts; they do not
1583
- * grant project-based access.
1424
+ * Continuous metering registrations paid for by your billing accounts. Their state does not describe the resource's runtime. Project filters only narrow the result.
1584
1425
  * @summary List active resources
1585
1426
  */
1586
1427
  export const listActiveResourcesQueryPageDefault = 1;
@@ -1607,13 +1448,13 @@ export const ListActiveResourcesQueryParams = zod.strictObject({
1607
1448
  billing_account_id: zod
1608
1449
  .int()
1609
1450
  .optional()
1610
- .describe("Restrict to one of your accounts. All of them when omitted."),
1451
+ .describe("Only this account of yours; all when omitted."),
1611
1452
  project_ids: zod
1612
1453
  .array(zod.uuid())
1613
1454
  .min(1)
1614
1455
  .max(listActiveResourcesQueryProjectIdsMax)
1615
1456
  .optional()
1616
- .describe("Restrict the account-authorized results to these projects. Omit for all projects and account-level records. This filter does not grant access to another billing account."),
1457
+ .describe("Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts."),
1617
1458
  meter_id: zod.uuid().optional(),
1618
1459
  product_id: zod
1619
1460
  .string()
@@ -1621,7 +1462,7 @@ export const ListActiveResourcesQueryParams = zod.strictObject({
1621
1462
  .max(listActiveResourcesQueryProductIdMax)
1622
1463
  .regex(listActiveResourcesQueryProductIdRegExp)
1623
1464
  .optional()
1624
- .describe("Immutable platform service identifier, such as compute, canopy or assistant."),
1465
+ .describe("The platform service's fixed identifier, such as compute, canopy or assistant."),
1625
1466
  status: zod.enum(["active", "suspended", "closing", "closed"]).optional(),
1626
1467
  });
1627
1468
  /**
@@ -1646,9 +1487,9 @@ export const ListSpendQueryParams = zod.strictObject({
1646
1487
  .datetime({ offset: true })
1647
1488
  .describe("Exclusive. One month is `[2026-09-01, 2026-10-01)`."),
1648
1489
  group_by: zod
1649
- .enum(["product", "plan", "resource"])
1490
+ .enum(["product", "plan", "resource", "meter"])
1650
1491
  .default(listSpendQueryGroupByDefault)
1651
- .describe("`plan` groups by the plan of the price each charge was priced with, which stays the same after the\nsubscription changes plan. `resource` groups by the resource each charge names. Items billed under their own\nidentifier — a disk, a public address — appear as their own rows rather than under\nthe machine they are attached to, since the relationship between them is known to\nthe owning service and not here."),
1492
+ .describe("`plan` groups by the plan of the price each charge was priced with, unchanged after the subscription changes plan. `resource` groups by the resource each charge names; a disk or an address billed under its own identifier is its own row. `meter` groups by meter and the values of its presentation dimensions, such as the model and token kind, and includes the quantity used."),
1652
1493
  product_id: zod
1653
1494
  .string()
1654
1495
  .min(1)
@@ -1670,16 +1511,16 @@ export const ListSpendQueryParams = zod.strictObject({
1670
1511
  .describe("Items per page. Defaults to 50; at most 200."),
1671
1512
  billing_account_id: zod
1672
1513
  .int()
1673
- .describe("The authorized billing account whose currency and charges are used for this report."),
1514
+ .describe("The billing account whose currency and charges the report uses; it must be authorized."),
1674
1515
  project_ids: zod
1675
1516
  .array(zod.uuid())
1676
1517
  .min(1)
1677
1518
  .max(listSpendQueryProjectIdsMax)
1678
1519
  .optional()
1679
- .describe("Restrict the account-authorized results to these projects. Omit for all projects and account-level records. This filter does not grant access to another billing account."),
1520
+ .describe("Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts."),
1680
1521
  });
1681
1522
  /**
1682
- * Usage billing by UTC calendar month for owned billing accounts, newest first. Each period combines its statements, the invoices they issued and how those invoices were paid; usage is billed about hourly, so a month holds many statements. Filter by billing_account_id and by period start.
1523
+ * Usage billing per UTC calendar month for your billing accounts, newest first. Each month combines its statements, the invoices they issued and how those were paid.
1683
1524
  * @summary List monthly statements
1684
1525
  */
1685
1526
  export const listMonthlyStatementsQueryPageDefault = 1;
@@ -1704,7 +1545,7 @@ export const ListMonthlyStatementsQueryParams = zod.strictObject({
1704
1545
  .describe("Items per page. Defaults to 50; at most 200."),
1705
1546
  });
1706
1547
  /**
1707
- * Paginated consumption statement batches for owned billing accounts, filtered by billing_account_id, open or closed state and period-start interval. A closed batch is not proof that the whole month has finished.
1548
+ * Statements of your billing accounts, filtered by billing_account_id, open or closed and period start. A closed statement does not mean the month is complete.
1708
1549
  * @summary List statements
1709
1550
  */
1710
1551
  export const listStatementsQueryPageDefault = 1;
@@ -1730,14 +1571,14 @@ export const ListStatementsQueryParams = zod.strictObject({
1730
1571
  .describe("Items per page. Defaults to 50; at most 200."),
1731
1572
  });
1732
1573
  /**
1733
- * Returns an owned-account consumption batch with its period, estimated or closed amounts and invoice reference. Returns 404 for a missing batch and 403 when the billing account belongs to another user.
1574
+ * A statement of your billing account with its period, estimated or closed amounts and invoice. Returns 404 for a missing statement and 403 for another user's account.
1734
1575
  * @summary Get statement
1735
1576
  */
1736
1577
  export const GetStatementParams = zod.strictObject({
1737
1578
  statementId: zod.uuid(),
1738
1579
  });
1739
1580
  /**
1740
- * Reads the consumption summary that is updated in the same transaction as usage is priced. Group by project, product or meter and filter within the statement. Quantities are included only for meter groups so different units are never combined.
1581
+ * The statement's consumption, grouped by project, product or meter and filtered within the statement. Quantities are given only for meter groups; grouping by meter also splits by the meter's presentation dimensions.
1741
1582
  * @summary Get grouped consumption
1742
1583
  */
1743
1584
  export const GetStatementUsageParams = zod.strictObject({