@leaflow/sdk 0.0.0-dev.352.g85966ed → 0.0.0-dev.353.g74313e0

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 (558) 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 +375 -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 +1 -0
  41. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.js +6 -4
  42. package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.d.ts +1 -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.js +4 -7
  124. package/dist/billing/type/order/v1/generated/validators/usageType.zod.d.ts +14 -0
  125. package/dist/billing/type/order/v1/generated/validators/usageType.zod.js +11 -0
  126. package/dist/billing/type/order/v1/generated/validators/withdrawal.zod.js +2 -2
  127. package/dist/billing/type/order/v1/generated/validators/withdrawalItem.zod.js +2 -2
  128. package/dist/billing/type/order/v1/generated/validators/withdrawalSource.zod.js +1 -1
  129. package/dist/billing/type/quote/v1/generated/models.d.ts +4 -4
  130. package/dist/billing/type/quote/v1/generated/validators/funds.zod.js +4 -4
  131. package/dist/billing/v1/generated/functions.d.ts +176 -310
  132. package/dist/billing/v1/generated/functions.js +175 -309
  133. package/dist/billing/v1/generated/models.d.ts +425 -863
  134. package/dist/billing/v1/generated/models.js +13 -49
  135. package/dist/billing/v1/generated/schemas.zod.d.ts +166 -383
  136. package/dist/billing/v1/generated/schemas.zod.js +213 -372
  137. package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +22 -11
  138. package/dist/billing/v1/generated/validators/accountBalance.zod.js +8 -8
  139. package/dist/billing/v1/generated/validators/activeResource.zod.js +8 -5
  140. package/dist/billing/v1/generated/validators/allowance.zod.js +3 -3
  141. package/dist/billing/v1/generated/validators/applicability.zod.d.ts +22 -11
  142. package/dist/billing/v1/generated/validators/applicability.zod.js +12 -3
  143. package/dist/billing/v1/generated/validators/applicablePlan.zod.js +1 -1
  144. package/dist/billing/v1/generated/validators/billingAccount.zod.js +5 -5
  145. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  146. package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +14 -0
  147. package/dist/billing/v1/generated/validators/billingScheme.zod.js +11 -0
  148. package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +6 -3
  149. package/dist/billing/v1/generated/validators/cancellation.zod.js +4 -4
  150. package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +3 -3
  151. package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
  152. package/dist/billing/v1/generated/validators/cancellationItem.zod.js +6 -5
  153. package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +6 -3
  154. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
  155. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  156. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
  157. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
  158. package/dist/billing/v1/generated/validators/contact.zod.js +2 -2
  159. package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +22 -11
  160. package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
  161. package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +22 -11
  162. package/dist/billing/v1/generated/validators/creditGroup.zod.js +1 -1
  163. package/dist/billing/v1/generated/validators/creditNote.zod.js +4 -4
  164. package/dist/billing/v1/generated/validators/currency.zod.js +1 -1
  165. package/dist/billing/v1/generated/validators/discount.zod.d.ts +23 -12
  166. package/dist/billing/v1/generated/validators/discount.zod.js +4 -4
  167. package/dist/billing/v1/generated/validators/discountList.zod.d.ts +23 -12
  168. package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
  169. package/dist/billing/v1/generated/validators/funds.zod.js +4 -4
  170. package/dist/billing/v1/generated/validators/invoice.zod.d.ts +0 -1
  171. package/dist/billing/v1/generated/validators/invoice.zod.js +8 -8
  172. package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +1 -0
  173. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +6 -4
  174. package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +1 -0
  175. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -3
  176. package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +0 -1
  177. package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
  178. package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +2 -2
  179. package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
  180. package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +3 -3
  181. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +0 -1
  182. package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +5 -2
  183. package/dist/billing/v1/generated/validators/listPricesParams.zod.js +4 -1
  184. package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -0
  185. package/dist/billing/v1/generated/validators/listSpendParams.zod.js +3 -1
  186. package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +2 -2
  187. package/dist/billing/v1/generated/validators/objectIdentity.zod.js +1 -1
  188. package/dist/billing/v1/generated/validators/order.zod.d.ts +7 -4
  189. package/dist/billing/v1/generated/validators/order.zod.js +10 -12
  190. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +7 -3
  191. package/dist/billing/v1/generated/validators/orderItem.zod.js +16 -14
  192. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +7 -3
  193. package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
  194. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +7 -4
  195. package/dist/billing/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  196. package/dist/billing/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  197. package/dist/billing/v1/generated/validators/orderStatus.zod.js +1 -1
  198. package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
  199. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
  200. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +2 -2
  201. package/dist/billing/v1/generated/validators/paymentAction.zod.js +4 -4
  202. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  203. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
  204. package/dist/billing/v1/generated/validators/paymentOption.zod.js +1 -1
  205. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  206. package/dist/billing/v1/generated/validators/paymentPreview.zod.js +4 -4
  207. package/dist/billing/v1/generated/validators/paymentResult.zod.js +5 -8
  208. package/dist/billing/v1/generated/validators/paymentStatus.zod.js +1 -1
  209. package/dist/billing/v1/generated/validators/price.zod.d.ts +7 -5
  210. package/dist/billing/v1/generated/validators/price.zod.js +14 -11
  211. package/dist/billing/v1/generated/validators/priceList.zod.d.ts +7 -5
  212. package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +7 -5
  213. package/dist/billing/v1/generated/validators/priceOption.zod.js +7 -3
  214. package/dist/billing/v1/generated/validators/priceType.zod.d.ts +14 -0
  215. package/dist/billing/v1/generated/validators/priceType.zod.js +11 -0
  216. package/dist/billing/v1/generated/validators/productID.zod.js +1 -1
  217. package/dist/billing/v1/generated/validators/projectAssignment.zod.js +2 -2
  218. package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +1 -1
  219. package/dist/billing/v1/generated/validators/quote.zod.d.ts +6 -3
  220. package/dist/billing/v1/generated/validators/quote.zod.js +4 -4
  221. package/dist/billing/v1/generated/validators/quoteCancellation.zod.js +2 -2
  222. package/dist/billing/v1/generated/validators/quoteItem.zod.js +4 -4
  223. package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
  224. package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +8 -8
  225. package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +1 -1
  226. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
  227. package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
  228. package/dist/billing/v1/generated/validators/quoteRequest.zod.js +5 -5
  229. package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +1 -1
  230. package/dist/billing/v1/generated/validators/rate.zod.d.ts +11 -0
  231. package/dist/billing/v1/generated/validators/rate.zod.js +14 -6
  232. package/dist/billing/v1/generated/validators/rateList.zod.d.ts +11 -0
  233. package/dist/billing/v1/generated/validators/refund.zod.js +3 -3
  234. package/dist/billing/v1/generated/validators/refundPolicy.zod.js +1 -1
  235. package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
  236. package/dist/billing/v1/generated/validators/renewRequest.zod.js +2 -2
  237. package/dist/billing/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  238. package/dist/billing/v1/generated/validators/renewalPrice.zod.js +1 -1
  239. package/dist/billing/v1/generated/validators/scheduledChange.zod.js +2 -2
  240. package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +8 -0
  241. package/dist/billing/v1/generated/validators/spendRow.zod.js +11 -0
  242. package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +8 -0
  243. package/dist/billing/v1/generated/validators/spendRowList.zod.js +1 -1
  244. package/dist/billing/v1/generated/validators/statement.zod.js +2 -2
  245. package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +1 -0
  246. package/dist/billing/v1/generated/validators/statementItem.zod.js +4 -0
  247. package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +1 -0
  248. package/dist/billing/v1/generated/validators/statementType.zod.js +1 -1
  249. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +7 -3
  250. package/dist/billing/v1/generated/validators/subscription.zod.js +20 -14
  251. package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
  252. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
  253. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  254. package/dist/billing/v1/generated/validators/terminationPolicy.zod.js +1 -1
  255. package/dist/billing/v1/generated/validators/tier.zod.js +1 -1
  256. package/dist/billing/v1/generated/validators/topUp.zod.js +8 -8
  257. package/dist/billing/v1/generated/validators/topUpCreate.zod.js +4 -4
  258. package/dist/billing/v1/generated/validators/transaction.zod.js +6 -6
  259. package/dist/billing/v1/generated/validators/usageCharge.zod.js +4 -7
  260. package/dist/billing/v1/generated/validators/usageType.zod.d.ts +14 -0
  261. package/dist/billing/v1/generated/validators/usageType.zod.js +11 -0
  262. package/dist/billing/v1/generated/validators/withdrawal.zod.js +2 -2
  263. package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +2 -2
  264. package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +1 -1
  265. package/dist/canopy/v1/generated/models.d.ts +375 -779
  266. package/dist/canopy/v1/generated/models.js +12 -44
  267. package/dist/canopy/v1/generated/validators/accountBalance.zod.d.ts +22 -11
  268. package/dist/canopy/v1/generated/validators/accountBalance.zod.js +8 -8
  269. package/dist/canopy/v1/generated/validators/activeResource.zod.js +8 -5
  270. package/dist/canopy/v1/generated/validators/allowance.zod.js +3 -3
  271. package/dist/canopy/v1/generated/validators/applicability.zod.d.ts +22 -11
  272. package/dist/canopy/v1/generated/validators/applicability.zod.js +12 -3
  273. package/dist/canopy/v1/generated/validators/applicablePlan.zod.js +1 -1
  274. package/dist/canopy/v1/generated/validators/billingAccount.zod.js +5 -5
  275. package/dist/canopy/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  276. package/dist/canopy/v1/generated/validators/billingScheme.zod.d.ts +39 -0
  277. package/dist/canopy/v1/generated/validators/billingScheme.zod.js +36 -0
  278. package/dist/canopy/v1/generated/validators/cancellation.zod.d.ts +6 -3
  279. package/dist/canopy/v1/generated/validators/cancellation.zod.js +4 -4
  280. package/dist/canopy/v1/generated/validators/cancellationCreate.zod.js +3 -3
  281. package/dist/canopy/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
  282. package/dist/canopy/v1/generated/validators/cancellationItem.zod.js +6 -5
  283. package/dist/canopy/v1/generated/validators/cancellationList.zod.d.ts +6 -3
  284. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
  285. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  286. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
  287. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
  288. package/dist/canopy/v1/generated/validators/contact.zod.js +2 -2
  289. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +0 -1
  290. package/dist/canopy/v1/generated/validators/creditGrant.zod.d.ts +22 -11
  291. package/dist/canopy/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
  292. package/dist/canopy/v1/generated/validators/creditGroup.zod.d.ts +22 -11
  293. package/dist/canopy/v1/generated/validators/creditGroup.zod.js +1 -1
  294. package/dist/canopy/v1/generated/validators/creditNote.zod.js +4 -4
  295. package/dist/canopy/v1/generated/validators/currency.zod.js +1 -1
  296. package/dist/canopy/v1/generated/validators/discount.zod.d.ts +23 -12
  297. package/dist/canopy/v1/generated/validators/discount.zod.js +4 -4
  298. package/dist/canopy/v1/generated/validators/discountList.zod.d.ts +23 -12
  299. package/dist/canopy/v1/generated/validators/entitlement.zod.js +1 -1
  300. package/dist/canopy/v1/generated/validators/funds.zod.js +4 -4
  301. package/dist/canopy/v1/generated/validators/invoice.zod.d.ts +0 -1
  302. package/dist/canopy/v1/generated/validators/invoice.zod.js +8 -8
  303. package/dist/canopy/v1/generated/validators/invoiceItem.zod.d.ts +1 -0
  304. package/dist/canopy/v1/generated/validators/invoiceItem.zod.js +6 -4
  305. package/dist/canopy/v1/generated/validators/invoiceItemList.zod.d.ts +1 -0
  306. package/dist/canopy/v1/generated/validators/invoiceItemProration.zod.js +1 -3
  307. package/dist/canopy/v1/generated/validators/invoiceList.zod.d.ts +0 -1
  308. package/dist/canopy/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
  309. package/dist/canopy/v1/generated/validators/invoiceStatus.zod.js +2 -2
  310. package/dist/canopy/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
  311. package/dist/canopy/v1/generated/validators/invoiceSummary.zod.js +3 -3
  312. package/dist/canopy/v1/generated/validators/monthlyStatement.zod.js +2 -2
  313. package/dist/canopy/v1/generated/validators/objectIdentity.zod.js +1 -1
  314. package/dist/canopy/v1/generated/validators/order.zod.d.ts +7 -4
  315. package/dist/canopy/v1/generated/validators/order.zod.js +10 -12
  316. package/dist/canopy/v1/generated/validators/orderItem.zod.d.ts +7 -3
  317. package/dist/canopy/v1/generated/validators/orderItem.zod.js +16 -14
  318. package/dist/canopy/v1/generated/validators/orderItemList.zod.d.ts +7 -3
  319. package/dist/canopy/v1/generated/validators/orderItemStatus.zod.js +1 -1
  320. package/dist/canopy/v1/generated/validators/orderList.zod.d.ts +7 -4
  321. package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  322. package/dist/canopy/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  323. package/dist/canopy/v1/generated/validators/orderStatus.zod.js +1 -1
  324. package/dist/canopy/v1/generated/validators/paidWith.zod.js +1 -1
  325. package/dist/canopy/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
  326. package/dist/canopy/v1/generated/validators/payTogetherRequest.zod.js +2 -2
  327. package/dist/canopy/v1/generated/validators/paymentAction.zod.js +4 -4
  328. package/dist/canopy/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  329. package/dist/canopy/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
  330. package/dist/canopy/v1/generated/validators/paymentOption.zod.js +1 -1
  331. package/dist/canopy/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  332. package/dist/canopy/v1/generated/validators/paymentPreview.zod.js +4 -4
  333. package/dist/canopy/v1/generated/validators/paymentResult.zod.js +5 -8
  334. package/dist/canopy/v1/generated/validators/paymentStatus.zod.js +1 -1
  335. package/dist/canopy/v1/generated/validators/placedOrder.zod.d.ts +0 -1
  336. package/dist/canopy/v1/generated/validators/price.zod.d.ts +7 -5
  337. package/dist/canopy/v1/generated/validators/price.zod.js +14 -11
  338. package/dist/canopy/v1/generated/validators/priceList.zod.d.ts +7 -5
  339. package/dist/canopy/v1/generated/validators/priceOption.zod.d.ts +7 -5
  340. package/dist/canopy/v1/generated/validators/priceOption.zod.js +7 -3
  341. package/dist/canopy/v1/generated/validators/priceType.zod.d.ts +39 -0
  342. package/dist/canopy/v1/generated/validators/priceType.zod.js +36 -0
  343. package/dist/canopy/v1/generated/validators/productID.zod.js +1 -1
  344. package/dist/canopy/v1/generated/validators/projectAssignment.zod.js +2 -2
  345. package/dist/canopy/v1/generated/validators/purchaseOperation.zod.js +1 -1
  346. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.d.ts +6 -3
  347. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.js +4 -4
  348. package/dist/canopy/v1/generated/validators/quoteA200529.zod.d.ts +6 -3
  349. package/dist/canopy/v1/generated/validators/quoteCancellation.zod.js +2 -2
  350. package/dist/canopy/v1/generated/validators/quoteItem.zod.js +4 -4
  351. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
  352. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.js +8 -8
  353. package/dist/canopy/v1/generated/validators/quoteRenewal.zod.js +1 -1
  354. package/dist/canopy/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
  355. package/dist/canopy/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
  356. package/dist/canopy/v1/generated/validators/quoteRequest.zod.js +5 -5
  357. package/dist/canopy/v1/generated/validators/quotedDiscount.zod.js +1 -1
  358. package/dist/canopy/v1/generated/validators/rate.zod.d.ts +11 -0
  359. package/dist/canopy/v1/generated/validators/rate.zod.js +14 -6
  360. package/dist/canopy/v1/generated/validators/rateList.zod.d.ts +11 -0
  361. package/dist/canopy/v1/generated/validators/refund.zod.js +3 -3
  362. package/dist/canopy/v1/generated/validators/refundPolicy.zod.js +1 -1
  363. package/dist/canopy/v1/generated/validators/refundReason.zod.js +1 -1
  364. package/dist/canopy/v1/generated/validators/renewRequest.zod.js +2 -2
  365. package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  366. package/dist/canopy/v1/generated/validators/renewalPrice.zod.js +1 -1
  367. package/dist/canopy/v1/generated/validators/scheduledChange.zod.js +2 -2
  368. package/dist/canopy/v1/generated/validators/spendRow.zod.d.ts +8 -0
  369. package/dist/canopy/v1/generated/validators/spendRow.zod.js +11 -0
  370. package/dist/canopy/v1/generated/validators/spendRowList.zod.d.ts +8 -0
  371. package/dist/canopy/v1/generated/validators/spendRowList.zod.js +1 -1
  372. package/dist/canopy/v1/generated/validators/statement.zod.js +2 -2
  373. package/dist/canopy/v1/generated/validators/statementItem.zod.d.ts +1 -0
  374. package/dist/canopy/v1/generated/validators/statementItem.zod.js +4 -0
  375. package/dist/canopy/v1/generated/validators/statementSummary.zod.d.ts +1 -0
  376. package/dist/canopy/v1/generated/validators/statementType.zod.js +1 -1
  377. package/dist/canopy/v1/generated/validators/subscription.zod.d.ts +7 -3
  378. package/dist/canopy/v1/generated/validators/subscription.zod.js +20 -14
  379. package/dist/canopy/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
  380. package/dist/canopy/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
  381. package/dist/canopy/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  382. package/dist/canopy/v1/generated/validators/terminationPolicy.zod.js +1 -1
  383. package/dist/canopy/v1/generated/validators/tier.zod.js +1 -1
  384. package/dist/canopy/v1/generated/validators/topUp.zod.js +8 -8
  385. package/dist/canopy/v1/generated/validators/topUpCreate.zod.js +4 -4
  386. package/dist/canopy/v1/generated/validators/transaction.zod.js +6 -6
  387. package/dist/canopy/v1/generated/validators/usageCharge.zod.js +4 -7
  388. package/dist/canopy/v1/generated/validators/usageType.zod.d.ts +39 -0
  389. package/dist/canopy/v1/generated/validators/usageType.zod.js +36 -0
  390. package/dist/canopy/v1/generated/validators/withdrawal.zod.js +2 -2
  391. package/dist/canopy/v1/generated/validators/withdrawalItem.zod.js +2 -2
  392. package/dist/canopy/v1/generated/validators/withdrawalSource.zod.js +1 -1
  393. package/dist/compute/v1/generated/models.d.ts +4 -4
  394. package/dist/compute/v1/generated/schemas.zod.d.ts +18 -18
  395. package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.d.ts +1 -1
  396. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.d.ts +1 -1
  397. package/dist/compute/v1/generated/validators/backupService.zod.d.ts +2 -2
  398. package/dist/compute/v1/generated/validators/billingChoice.zod.d.ts +1 -1
  399. package/dist/compute/v1/generated/validators/bootDisk.zod.d.ts +1 -1
  400. package/dist/compute/v1/generated/validators/createBackupCapacityPackQuoteRequestBody.zod.d.ts +1 -1
  401. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.d.ts +1 -1
  402. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +2 -2
  403. package/dist/compute/v1/generated/validators/createDiskQuoteRequestBody.zod.d.ts +1 -1
  404. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.d.ts +1 -1
  405. package/dist/compute/v1/generated/validators/createImageQuoteRequestBody.zod.d.ts +1 -1
  406. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.d.ts +1 -1
  407. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.d.ts +1 -1
  408. package/dist/compute/v1/generated/validators/diskTypeResource.zod.d.ts +1 -1
  409. package/dist/compute/v1/generated/validators/funds.zod.js +4 -4
  410. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.d.ts +2 -2
  411. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.d.ts +2 -2
  412. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.d.ts +1 -1
  413. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.d.ts +1 -1
  414. package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.d.ts +3 -3
  415. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.d.ts +3 -3
  416. package/dist/compute/v1/generated/validators/newBootDisk.zod.d.ts +1 -1
  417. package/dist/compute/v1/generated/validators/newCompute.zod.d.ts +1 -1
  418. package/dist/compute/v1/generated/validators/newFloatingIP.zod.d.ts +1 -1
  419. package/dist/compute/v1/generated/validators/pricing.zod.d.ts +1 -1
  420. package/dist/compute/v1/generated/validators/pricingOption.zod.d.ts +1 -1
  421. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.d.ts +1 -1
  422. package/dist/compute/v1/generated/validators/regionResource.zod.d.ts +1 -1
  423. package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.d.ts +1 -1
  424. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.d.ts +1 -1
  425. package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.d.ts +1 -1
  426. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.d.ts +1 -1
  427. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +2 -2
  428. package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +2 -2
  429. package/dist/membership/v1/generated/models.d.ts +375 -779
  430. package/dist/membership/v1/generated/models.js +12 -44
  431. package/dist/membership/v1/generated/validators/accountBalance.zod.d.ts +22 -11
  432. package/dist/membership/v1/generated/validators/accountBalance.zod.js +8 -8
  433. package/dist/membership/v1/generated/validators/activeResource.zod.js +8 -5
  434. package/dist/membership/v1/generated/validators/allowance.zod.js +3 -3
  435. package/dist/membership/v1/generated/validators/applicability.zod.d.ts +22 -11
  436. package/dist/membership/v1/generated/validators/applicability.zod.js +12 -3
  437. package/dist/membership/v1/generated/validators/applicablePlan.zod.js +1 -1
  438. package/dist/membership/v1/generated/validators/billingAccount.zod.js +5 -5
  439. package/dist/membership/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  440. package/dist/membership/v1/generated/validators/billingScheme.zod.d.ts +14 -0
  441. package/dist/membership/v1/generated/validators/billingScheme.zod.js +11 -0
  442. package/dist/membership/v1/generated/validators/cancellation.zod.d.ts +6 -3
  443. package/dist/membership/v1/generated/validators/cancellation.zod.js +4 -4
  444. package/dist/membership/v1/generated/validators/cancellationCreate.zod.js +3 -3
  445. package/dist/membership/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
  446. package/dist/membership/v1/generated/validators/cancellationItem.zod.js +6 -5
  447. package/dist/membership/v1/generated/validators/cancellationList.zod.d.ts +6 -3
  448. package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
  449. package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  450. package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
  451. package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
  452. package/dist/membership/v1/generated/validators/contact.zod.js +2 -2
  453. package/dist/membership/v1/generated/validators/creditGrant.zod.d.ts +22 -11
  454. package/dist/membership/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
  455. package/dist/membership/v1/generated/validators/creditGroup.zod.d.ts +22 -11
  456. package/dist/membership/v1/generated/validators/creditGroup.zod.js +1 -1
  457. package/dist/membership/v1/generated/validators/creditNote.zod.js +4 -4
  458. package/dist/membership/v1/generated/validators/currency6ff0ec7.zod.js +1 -1
  459. package/dist/membership/v1/generated/validators/discount.zod.d.ts +23 -12
  460. package/dist/membership/v1/generated/validators/discount.zod.js +4 -4
  461. package/dist/membership/v1/generated/validators/discountList.zod.d.ts +23 -12
  462. package/dist/membership/v1/generated/validators/entitlement.zod.js +1 -1
  463. package/dist/membership/v1/generated/validators/funds.zod.js +4 -4
  464. package/dist/membership/v1/generated/validators/invoice.zod.d.ts +0 -1
  465. package/dist/membership/v1/generated/validators/invoice.zod.js +8 -8
  466. package/dist/membership/v1/generated/validators/invoiceItem.zod.d.ts +1 -0
  467. package/dist/membership/v1/generated/validators/invoiceItem.zod.js +6 -4
  468. package/dist/membership/v1/generated/validators/invoiceItemList.zod.d.ts +1 -0
  469. package/dist/membership/v1/generated/validators/invoiceItemProration.zod.js +1 -3
  470. package/dist/membership/v1/generated/validators/invoiceList.zod.d.ts +0 -1
  471. package/dist/membership/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
  472. package/dist/membership/v1/generated/validators/invoiceStatus.zod.js +2 -2
  473. package/dist/membership/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
  474. package/dist/membership/v1/generated/validators/invoiceSummary.zod.js +3 -3
  475. package/dist/membership/v1/generated/validators/membershipPurchase.zod.d.ts +0 -1
  476. package/dist/membership/v1/generated/validators/monthlyStatement.zod.js +2 -2
  477. package/dist/membership/v1/generated/validators/objectIdentity.zod.js +1 -1
  478. package/dist/membership/v1/generated/validators/order.zod.d.ts +7 -4
  479. package/dist/membership/v1/generated/validators/order.zod.js +10 -12
  480. package/dist/membership/v1/generated/validators/orderItem.zod.d.ts +7 -3
  481. package/dist/membership/v1/generated/validators/orderItem.zod.js +16 -14
  482. package/dist/membership/v1/generated/validators/orderItemList.zod.d.ts +7 -3
  483. package/dist/membership/v1/generated/validators/orderItemStatus.zod.js +1 -1
  484. package/dist/membership/v1/generated/validators/orderList.zod.d.ts +7 -4
  485. package/dist/membership/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  486. package/dist/membership/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  487. package/dist/membership/v1/generated/validators/orderStatus.zod.js +1 -1
  488. package/dist/membership/v1/generated/validators/paidWith.zod.js +1 -1
  489. package/dist/membership/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
  490. package/dist/membership/v1/generated/validators/payTogetherRequest.zod.js +2 -2
  491. package/dist/membership/v1/generated/validators/paymentAction.zod.js +4 -4
  492. package/dist/membership/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  493. package/dist/membership/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
  494. package/dist/membership/v1/generated/validators/paymentOption.zod.js +1 -1
  495. package/dist/membership/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  496. package/dist/membership/v1/generated/validators/paymentPreview.zod.js +4 -4
  497. package/dist/membership/v1/generated/validators/paymentResult.zod.js +5 -8
  498. package/dist/membership/v1/generated/validators/paymentStatus.zod.js +1 -1
  499. package/dist/membership/v1/generated/validators/placedOrder.zod.d.ts +0 -1
  500. package/dist/membership/v1/generated/validators/price.zod.d.ts +7 -5
  501. package/dist/membership/v1/generated/validators/price.zod.js +14 -11
  502. package/dist/membership/v1/generated/validators/priceList.zod.d.ts +7 -5
  503. package/dist/membership/v1/generated/validators/priceOption.zod.d.ts +7 -5
  504. package/dist/membership/v1/generated/validators/priceOption.zod.js +7 -3
  505. package/dist/membership/v1/generated/validators/priceType.zod.d.ts +14 -0
  506. package/dist/membership/v1/generated/validators/priceType.zod.js +11 -0
  507. package/dist/membership/v1/generated/validators/productID.zod.js +1 -1
  508. package/dist/membership/v1/generated/validators/projectAssignment.zod.js +2 -2
  509. package/dist/membership/v1/generated/validators/purchaseOperation.zod.js +1 -1
  510. package/dist/membership/v1/generated/validators/quote.zod.d.ts +6 -3
  511. package/dist/membership/v1/generated/validators/quote.zod.js +4 -4
  512. package/dist/membership/v1/generated/validators/quoteCancellation.zod.js +2 -2
  513. package/dist/membership/v1/generated/validators/quoteItem.zod.js +4 -4
  514. package/dist/membership/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
  515. package/dist/membership/v1/generated/validators/quoteItemInput.zod.js +8 -8
  516. package/dist/membership/v1/generated/validators/quoteRenewal.zod.js +1 -1
  517. package/dist/membership/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
  518. package/dist/membership/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
  519. package/dist/membership/v1/generated/validators/quoteRequest.zod.js +5 -5
  520. package/dist/membership/v1/generated/validators/quotedDiscount.zod.js +1 -1
  521. package/dist/membership/v1/generated/validators/rate.zod.d.ts +11 -0
  522. package/dist/membership/v1/generated/validators/rate.zod.js +14 -6
  523. package/dist/membership/v1/generated/validators/rateList.zod.d.ts +11 -0
  524. package/dist/membership/v1/generated/validators/refund.zod.js +3 -3
  525. package/dist/membership/v1/generated/validators/refundPolicy.zod.js +1 -1
  526. package/dist/membership/v1/generated/validators/refundReason.zod.js +1 -1
  527. package/dist/membership/v1/generated/validators/renewRequest.zod.js +2 -2
  528. package/dist/membership/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  529. package/dist/membership/v1/generated/validators/renewalPrice.zod.js +1 -1
  530. package/dist/membership/v1/generated/validators/scheduledChange.zod.js +2 -2
  531. package/dist/membership/v1/generated/validators/spendRow.zod.d.ts +8 -0
  532. package/dist/membership/v1/generated/validators/spendRow.zod.js +11 -0
  533. package/dist/membership/v1/generated/validators/spendRowList.zod.d.ts +8 -0
  534. package/dist/membership/v1/generated/validators/spendRowList.zod.js +1 -1
  535. package/dist/membership/v1/generated/validators/statement.zod.js +2 -2
  536. package/dist/membership/v1/generated/validators/statementItem.zod.d.ts +1 -0
  537. package/dist/membership/v1/generated/validators/statementItem.zod.js +4 -0
  538. package/dist/membership/v1/generated/validators/statementSummary.zod.d.ts +1 -0
  539. package/dist/membership/v1/generated/validators/statementType.zod.js +1 -1
  540. package/dist/membership/v1/generated/validators/subscription.zod.d.ts +7 -3
  541. package/dist/membership/v1/generated/validators/subscription.zod.js +20 -14
  542. package/dist/membership/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
  543. package/dist/membership/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
  544. package/dist/membership/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  545. package/dist/membership/v1/generated/validators/terminationPolicy.zod.js +1 -1
  546. package/dist/membership/v1/generated/validators/tier.zod.js +1 -1
  547. package/dist/membership/v1/generated/validators/topUp.zod.js +8 -8
  548. package/dist/membership/v1/generated/validators/topUpCreate.zod.js +4 -4
  549. package/dist/membership/v1/generated/validators/transaction.zod.js +6 -6
  550. package/dist/membership/v1/generated/validators/usageCharge.zod.js +4 -7
  551. package/dist/membership/v1/generated/validators/usageType.zod.d.ts +14 -0
  552. package/dist/membership/v1/generated/validators/usageType.zod.js +11 -0
  553. package/dist/membership/v1/generated/validators/withdrawal.zod.js +2 -2
  554. package/dist/membership/v1/generated/validators/withdrawalItem.zod.js +2 -2
  555. package/dist/membership/v1/generated/validators/withdrawalSource.zod.js +1 -1
  556. package/dist/routes.d.ts +4 -4
  557. package/dist/routes.js +4 -4
  558. package/package.json +1 -1
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import * as zod from "zod";
9
9
  /**
10
- * Paginated fixed source allocations and their outcomes. A failed source does not undo refunds already completed through other sources.
10
+ * The withdrawal's items and their outcomes. A failed item does not undo refunds completed through other items.
11
11
  * @summary List withdrawal items
12
12
  */
13
13
  export declare const ListWithdrawalItemsParams: zod.ZodObject<{
@@ -22,7 +22,7 @@ export declare const ListWithdrawalItemsQueryParams: zod.ZodObject<{
22
22
  page_size: zod.ZodDefault<zod.ZodInt>;
23
23
  }, zod.z.core.$strict>;
24
24
  /**
25
- * Paginated account withdrawal history, newest first. Account authorization applies to every record.
25
+ * Withdrawals, newest first.
26
26
  * @summary List withdrawals
27
27
  */
28
28
  export declare const listWithdrawalsQueryPageDefault = 1;
@@ -35,7 +35,7 @@ export declare const ListWithdrawalsQueryParams: zod.ZodObject<{
35
35
  billing_account_id: zod.ZodOptional<zod.ZodInt>;
36
36
  }, zod.z.core.$strict>;
37
37
  /**
38
- * 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.
38
+ * 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.
39
39
  * @summary Create withdrawal
40
40
  */
41
41
  export declare const CreateWithdrawalBody: zod.ZodObject<{
@@ -51,22 +51,14 @@ export declare const CreateWithdrawalBody: zod.ZodObject<{
51
51
  }, zod.z.core.$strict>>;
52
52
  }, zod.z.core.$strict>;
53
53
  /**
54
- * 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.
55
- * @summary Preview withdrawal
56
- */
57
- export declare const PreviewWithdrawalBody: zod.ZodObject<{
58
- billing_account_id: zod.ZodInt;
59
- amount: zod.ZodOptional<zod.ZodString>;
60
- }, zod.z.core.$strict>;
61
- /**
62
- * Reads the accepted amounts and aggregate outcome of an authorized withdrawal. List its source items for each original-method refund result.
54
+ * A withdrawal with its accepted amounts and overall outcome; list its items for each refund result.
63
55
  * @summary Get withdrawal
64
56
  */
65
57
  export declare const GetWithdrawalParams: zod.ZodObject<{
66
58
  withdrawalId: zod.ZodUUID;
67
59
  }, zod.z.core.$strict>;
68
60
  /**
69
- * Paginated contact profiles belonging to the billing account in the path, including inactive contacts. Returns 404 if the account does not exist.
61
+ * Contacts of the billing account, inactive ones included. Returns 404 if the account does not exist.
70
62
  * @summary List contacts
71
63
  */
72
64
  export declare const ListContactsParams: zod.ZodObject<{
@@ -81,7 +73,7 @@ export declare const ListContactsQueryParams: zod.ZodObject<{
81
73
  page_size: zod.ZodDefault<zod.ZodInt>;
82
74
  }, zod.z.core.$strict>;
83
75
  /**
84
- * 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.
76
+ * Creates a contact for the billing account. To use it on invoices, set the account's invoice_contact_id.
85
77
  * @summary Create contact
86
78
  */
87
79
  export declare const CreateContactParams: zod.ZodObject<{
@@ -100,7 +92,7 @@ export declare const CreateContactBody: zod.ZodObject<{
100
92
  address_country: zod.ZodOptional<zod.ZodString>;
101
93
  }, zod.z.core.$strict>;
102
94
  /**
103
- * Returns a contact belonging to this billing account. Returns 404 if the contact does not exist in this account.
95
+ * A contact of this billing account. Returns 404 if it does not exist in the account.
104
96
  * @summary Get contact
105
97
  */
106
98
  export declare const GetContactParams: zod.ZodObject<{
@@ -108,7 +100,7 @@ export declare const GetContactParams: zod.ZodObject<{
108
100
  contactId: zod.ZodUUID;
109
101
  }, zod.z.core.$strict>;
110
102
  /**
111
- * Updates a contact belonging to this billing account. Returns 404 if the contact does not exist in this account.
103
+ * Updates a contact of this billing account. Returns 404 if it does not exist in the account.
112
104
  * @summary Update contact
113
105
  */
114
106
  export declare const UpdateContactParams: zod.ZodObject<{
@@ -129,7 +121,7 @@ export declare const UpdateContactBody: zod.ZodObject<{
129
121
  active: zod.ZodOptional<zod.ZodBoolean>;
130
122
  }, zod.z.core.$strict>;
131
123
  /**
132
- * 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.
124
+ * 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.
133
125
  * @summary Delete contact
134
126
  */
135
127
  export declare const DeleteContactParams: zod.ZodObject<{
@@ -137,8 +129,7 @@ export declare const DeleteContactParams: zod.ZodObject<{
137
129
  contactId: zod.ZodUUID;
138
130
  }, zod.z.core.$strict>;
139
131
  /**
140
- * The currencies a new billing account can be opened in. A retired currency is not listed,
141
- * although accounts already opened in it keep working. Results are paginated.
132
+ * Currencies a new billing account can be opened in; retired currencies are not listed.
142
133
  * @summary List currencies accounts can be opened in
143
134
  */
144
135
  export declare const listCurrenciesQueryPageDefault = 1;
@@ -150,7 +141,7 @@ export declare const ListCurrenciesQueryParams: zod.ZodObject<{
150
141
  page_size: zod.ZodDefault<zod.ZodInt>;
151
142
  }, zod.z.core.$strict>;
152
143
  /**
153
- * Paginated billing accounts owned by the authenticated user. Accounts owned by other users are excluded; the result is empty when the user owns none.
144
+ * Billing accounts owned by the authenticated user.
154
145
  * @summary List billing accounts
155
146
  */
156
147
  export declare const listBillingAccountsQueryPageDefault = 1;
@@ -162,10 +153,7 @@ export declare const ListBillingAccountsQueryParams: zod.ZodObject<{
162
153
  page_size: zod.ZodDefault<zod.ZodInt>;
163
154
  }, zod.z.core.$strict>;
164
155
  /**
165
- * The currency is chosen here and cannot be changed afterwards. Everything charged to the
166
- * account — prices, orders, invoices, balance — is denominated in it.
167
- *
168
- * One person may hold several accounts, for example a personal one and one for a team.
156
+ * Creates a billing account. Its currency is fixed: prices, orders, invoices and balance are all in it.
169
157
  * @summary Create billing account
170
158
  */
171
159
  export declare const CreateBillingAccountBody: zod.ZodObject<{
@@ -173,16 +161,14 @@ export declare const CreateBillingAccountBody: zod.ZodObject<{
173
161
  name: zod.ZodOptional<zod.ZodString>;
174
162
  }, zod.z.core.$strict>;
175
163
  /**
176
- * 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.
164
+ * 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.
177
165
  * @summary Get billing account
178
166
  */
179
167
  export declare const GetBillingAccountParams: zod.ZodObject<{
180
168
  accountId: zod.ZodInt;
181
169
  }, zod.z.core.$strict>;
182
170
  /**
183
- * Select an active contact belonging to this account for future invoices. Its legal name,
184
- * address and tax identifier are copied when an invoice is issued; issued snapshots are
185
- * retained. Set invoice_contact_id to null to clear the selection. The currency cannot change.
171
+ * 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.
186
172
  * @summary Update billing account
187
173
  */
188
174
  export declare const UpdateBillingAccountParams: zod.ZodObject<{
@@ -193,17 +179,14 @@ export declare const UpdateBillingAccountBody: zod.ZodObject<{
193
179
  name: zod.ZodOptional<zod.ZodString>;
194
180
  }, zod.z.core.$strict>;
195
181
  /**
196
- * 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.
182
+ * 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.
197
183
  * @summary Get account balance
198
184
  */
199
185
  export declare const GetAccountBalanceParams: zod.ZodObject<{
200
186
  accountId: zod.ZodInt;
201
187
  }, zod.z.core.$strict>;
202
188
  /**
203
- * Lists the payment gateways and methods that currently accept payment in this account's currency, the
204
- * preferred gateway first. Top-ups and invoice payments must name a gateway and method listed here;
205
- * others are refused. An empty result means no online payment is available for this account.
206
- * Results are paginated.
189
+ * 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.
207
190
  * @summary List payment options
208
191
  */
209
192
  export declare const ListPaymentOptionsParams: zod.ZodObject<{
@@ -218,7 +201,7 @@ export declare const ListPaymentOptionsQueryParams: zod.ZodObject<{
218
201
  page_size: zod.ZodDefault<zod.ZodInt>;
219
202
  }, zod.z.core.$strict>;
220
203
  /**
221
- * 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.
204
+ * Current project assignments to your billing accounts, filtered by billing_account_id or project_ids. Past charges keep the account they were assigned to.
222
205
  * @summary List project assignments
223
206
  */
224
207
  export declare const listProjectAssignmentsQueryPageDefault = 1;
@@ -233,25 +216,20 @@ export declare const ListProjectAssignmentsQueryParams: zod.ZodObject<{
233
216
  project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
234
217
  }, zod.z.core.$strict>;
235
218
  /**
236
- * Returns the current assignment for the project identified by projectId. Returns 404 when
237
- * no billing account is assigned; no resources can be created until one is assigned.
219
+ * The project's current assignment. Returns 404 when no billing account is assigned; the project cannot create resources until one is.
238
220
  * @summary Get project assignment
239
221
  */
240
222
  export declare const GetProjectAssignmentParams: zod.ZodObject<{
241
223
  projectId: zod.ZodUUID;
242
224
  }, zod.z.core.$strict>;
243
225
  /**
244
- * Charges already incurred remain with the billing account that was linked when they
245
- * occurred, and are still invoiced to it. Metered resources are settled up to the moment of
246
- * the change. Amounts owed by the previous billing account remain owed by it and do not
247
- * prevent the change.
226
+ * Links the project to another billing account. Charges already incurred stay with the account linked when they
227
+ * occurred and are invoiced to it; metered resources are settled up to the moment of the change. Amounts the
228
+ * previous account owes do not prevent the change. Orders keep the account they were placed with; paid periods
229
+ * are unaffected, and renewals are charged to the new account.
248
230
  *
249
- * Orders keep the billing account they were placed with and are fulfilled as placed. Periods
250
- * already paid for are unaffected; renewals are charged to the new billing account.
251
- *
252
- * The request is refused once the project no longer accepts purchases because it is being
253
- * deleted, and while a subscription or an order in progress in the project uses a currency
254
- * other than that of the new billing account.
231
+ * Refused once the project no longer accepts purchases because it is being deleted, and while a subscription or
232
+ * an in-progress order of the project uses a currency other than the new account's.
255
233
  * @summary Set project assignment
256
234
  */
257
235
  export declare const SetProjectAssignmentParams: zod.ZodObject<{
@@ -261,25 +239,14 @@ export declare const SetProjectAssignmentBody: zod.ZodObject<{
261
239
  billing_account_id: zod.ZodInt;
262
240
  }, zod.z.core.$strict>;
263
241
  /**
264
- * Ends the project's current assignment without deleting its assignment history.
265
- *
266
- * Permitted only when nothing in the project is still running or in progress: no metered
267
- * resources, no subscriptions that have not ended, and no orders in progress, including
268
- * changes scheduled for the end of a period. Orders are not modified by this request; wait
269
- * for them to complete, and have the service that scheduled a change call it off.
270
- *
271
- * Charges already incurred remain with the billing account and are invoiced to it as usual.
272
- * Amounts the billing account owes do not prevent unlinking.
273
- *
274
- * After this the project cannot make purchases until a billing account is linked again.
242
+ * 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.
275
243
  * @summary Unlink project billing account
276
244
  */
277
245
  export declare const UnlinkProjectBillingAccountParams: zod.ZodObject<{
278
246
  projectId: zod.ZodUUID;
279
247
  }, zod.z.core.$strict>;
280
248
  /**
281
- * Lists only the authenticated user's top-ups. Includes pending, failed and canceled attempts; no invoice is
282
- * created for a top-up. Items carry no `action`; read a pending top-up with get-top-up to continue its payment.
249
+ * 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.
283
250
  * @summary List top ups
284
251
  */
285
252
  export declare const listTopUpsQueryPageDefault = 1;
@@ -292,9 +259,7 @@ export declare const ListTopUpsQueryParams: zod.ZodObject<{
292
259
  billing_account_id: zod.ZodOptional<zod.ZodInt>;
293
260
  }, zod.z.core.$strict>;
294
261
  /**
295
- * Creates a top-up for an account owned by the authenticated user and returns its payment information.
296
- * The balance increases only after the payment gateway confirms receipt. A top-up has no invoice.
297
- * Keep the supplied ID to query the original attempt after a lost response; duplicate creation conflicts.
262
+ * 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.
298
263
  * @summary Create top up
299
264
  */
300
265
  export declare const CreateTopUpBody: zod.ZodObject<{
@@ -307,36 +272,28 @@ export declare const CreateTopUpBody: zod.ZodObject<{
307
272
  return_url: zod.ZodOptional<zod.ZodString>;
308
273
  }, zod.z.core.$strict>;
309
274
  /**
310
- * Reads a top-up owned by the authenticated user, including its outcome and the part of it not yet spent.
311
- * It is not an invoice.
312
- *
313
- * While the top-up is pending, the answer includes the customer's next step as the payment gateway
314
- * currently reports it, so that a payment interrupted by a closed page can be continued. When the gateway
315
- * cannot be reached, the top-up is returned without `action`; read it again later.
275
+ * 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.
316
276
  * @summary Get top up
317
277
  */
318
278
  export declare const GetTopUpParams: zod.ZodObject<{
319
279
  topUpId: zod.ZodUUID;
320
280
  }, zod.z.core.$strict>;
321
281
  /**
322
- * Withdraws a pending top-up owned by the authenticated user at the payment gateway. It becomes
323
- * `canceled` with `cancellation_reason` `requested_by_customer`, and no money is collected for it. Canceling a
324
- * top-up that is already canceled returns it unchanged.
282
+ * Withdraws a pending top-up of the authenticated user at the payment gateway. It becomes `canceled` with
283
+ * `cancellation_reason` `requested_by_customer`, and nothing is collected. Canceling a canceled top-up returns
284
+ * it unchanged. If the gateway has already collected the payment, the top-up is returned as `succeeded` with the
285
+ * balance increased; check `status` in the response.
325
286
  *
326
- * If the gateway has already collected the payment, nothing is withdrawn and the top-up is returned
327
- * as `succeeded` with the balance increased. Check `status` in the answer rather than assuming the
328
- * cancellation took effect.
329
- *
330
- * Fails with 409 and BILLING_TOPUP_NOT_CANCELABLE when the top-up has already succeeded or failed,
331
- * with `status` naming that outcome, and while the gateway is processing the payment and can no
332
- * longer withdraw it, with `status` set to `pending`; read the top-up again later in that case.
287
+ * Fails with 409 `BILLING_TOPUP_NOT_CANCELABLE` when the top-up has succeeded or failed, with `status` naming
288
+ * the outcome, or while the gateway is processing the payment, with `status` `pending`; read the top-up again
289
+ * later.
333
290
  * @summary Cancel top up
334
291
  */
335
292
  export declare const CancelTopUpParams: zod.ZodObject<{
336
293
  topUpId: zod.ZodUUID;
337
294
  }, zod.z.core.$strict>;
338
295
  /**
339
- * 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.
296
+ * Saved payment methods of your billing accounts, optionally for one billing_account_id. Removed methods are not listed.
340
297
  * @summary List payment methods
341
298
  */
342
299
  export declare const listPaymentMethodsQueryPageDefault = 1;
@@ -349,11 +306,7 @@ export declare const ListPaymentMethodsQueryParams: zod.ZodObject<{
349
306
  billing_account_id: zod.ZodOptional<zod.ZodInt>;
350
307
  }, zod.z.core.$strict>;
351
308
  /**
352
- * Returns what is needed to hand the browser over to the payment gateway's own card
353
- * form. Nothing is charged, and the method appears in the list once the gateway
354
- * confirms it.
355
- *
356
- * Card numbers are never sent to or stored by this service.
309
+ * 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.
357
310
  * @summary Create payment method setup
358
311
  */
359
312
  export declare const CreatePaymentMethodSetupBody: zod.ZodObject<{
@@ -361,56 +314,44 @@ export declare const CreatePaymentMethodSetupBody: zod.ZodObject<{
361
314
  billing_account_id: zod.ZodInt;
362
315
  }, zod.z.core.$strict>;
363
316
  /**
364
- * 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.
317
+ * 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.
365
318
  * @summary Set default payment method
366
319
  */
367
320
  export declare const SetDefaultPaymentMethodParams: zod.ZodObject<{
368
321
  paymentMethodId: zod.ZodUUID;
369
322
  }, zod.z.core.$strict>;
370
323
  /**
371
- * Refused when it is the only method on an account that has resources billed by the hour,
372
- * as there would be nothing left to charge when the balance runs out.
324
+ * Refused when it is the only payment method of an account with metered resources.
373
325
  * @summary Delete payment method
374
326
  */
375
327
  export declare const DeletePaymentMethodParams: zod.ZodObject<{
376
328
  paymentMethodId: zod.ZodUUID;
377
329
  }, zod.z.core.$strict>;
378
330
  /**
379
- * Applies eligible credit grants and available balance as requested, then collects the remainder
380
- * through the selected payment gateway and method. With no gateway selection, insufficient
381
- * account funds fail without starting an online payment. Card and non-card methods use this same
382
- * operation.
331
+ * Pays the invoice from eligible credit grants and balance as requested, and collects the remainder through the
332
+ * selected gateway and method. Without a gateway, insufficient funds fail and no online payment starts.
383
333
  *
384
- * The draft invoice of a deferred order is priced when it is first paid: Billing applies
385
- * promotion_code, or the best applicable account discount when it is omitted, compares the total
386
- * with expected_amount, records the discount on the order and issues the invoice before collecting.
387
- * An invalid or inapplicable code fails rather than collecting full price, and a different total
388
- * fails with `BILLING_AMOUNT_CHANGED`; in both cases nothing changes. The terms are fixed before
389
- * any funds are collected and stay fixed when collection does not complete, for example with
390
- * insufficient funds or a declined card: later attempts reuse them, and a different promotion_code
391
- * is then refused with `BILLING_ORDER_CHECKOUT_CONFLICT`. A deferred period-end change can be paid
392
- * once its first period is due to be invoiced; earlier attempts are refused with
334
+ * The draft invoice of a deferred order is priced on its first payment: promotion_code, or otherwise the best
335
+ * applicable account discount, is applied, the total is compared with expected_amount, and the invoice is issued
336
+ * before collection. An invalid or inapplicable code fails, and a total other than expected_amount fails with
337
+ * `BILLING_AMOUNT_CHANGED`; neither changes anything. Once fixed, the terms stay fixed even if collection does
338
+ * not complete, and a different promotion_code is refused with `BILLING_ORDER_CHECKOUT_CONFLICT`. A deferred
339
+ * period-end change can be paid only once its first period is due to be invoiced; earlier attempts fail with
393
340
  * `BILLING_CHANGE_NOT_INVOICED`.
394
341
  *
395
- * Returns a payment action when customer interaction is required. requires_action and processing
396
- * do not mean paid; the invoice is marked paid after payment is confirmed. An unresolved online
397
- * payment made with the same gateway, method and saved payment method is reused, and retries do not
398
- * apply credit grants or balance twice. Paying any other way cancels that earlier online payment
399
- * first; if the gateway had already collected it, the invoice is paid by it and nothing more is
400
- * charged. One the gateway is still processing is refused with `BILLING_PAYMENT_PENDING` and
401
- * `meta.transaction_id`; wait for its outcome.
342
+ * Returns a payment action when the customer must act; requires_action and processing are not paid. An
343
+ * unresolved online payment with the same gateway, method and saved payment method is reused, and retries never
344
+ * apply credit grants or balance twice. Paying any other way first cancels that payment; if the gateway had
345
+ * already collected it, the invoice is paid by it and nothing more is charged. A payment the gateway is still
346
+ * processing fails with `BILLING_PAYMENT_PENDING` and `meta.transaction_id`.
402
347
  *
403
- * Calling this on an invoice that is already paid returns the existing payment result without
404
- * another charge. A void invoice is refused with `BILLING_INVOICE_NOT_PAYABLE`; the invoice of an
405
- * order that has failed or was
406
- * canceled, with `BILLING_ORDER_FAILED` or `BILLING_ORDER_CANCELED`; and that of an order whose
407
- * payment deadline has passed, with `BILLING_ORDER_EXPIRED`. A renewal invoice is also refused with
408
- * `BILLING_INVOICE_NOT_PAYABLE` while its subscription is being canceled, is being reclaimed or has
409
- * ended, with `meta.reason` `subscription_canceling`, `subscription_reclaiming` or
410
- * `subscription_ended` respectively. A usage invoice is billed to the smallest fraction a balance can
411
- * hold, finer than a payment method can charge, so paying one online is refused with
412
- * `BILLING_INVOICE_NOT_PAYABLE` and `meta.reason` `usage_invoice`; it is collected from credit grants
413
- * and balance automatically, including right after a top-up.
348
+ * A paid invoice returns its existing result without another charge. Refused with `BILLING_INVOICE_NOT_PAYABLE`
349
+ * for a void invoice; `BILLING_ORDER_FAILED` or `BILLING_ORDER_CANCELED` for the invoice of a failed or canceled
350
+ * order; `BILLING_ORDER_EXPIRED` after the order's payment deadline; `BILLING_INVOICE_NOT_PAYABLE` with
351
+ * `meta.reason` `subscription_canceling`, `subscription_reclaiming` or `subscription_ended` for a renewal
352
+ * invoice whose subscription is being canceled, is being reclaimed or has ended; and
353
+ * `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `usage_invoice` for a usage invoice, which is collected from
354
+ * credit grants and balance automatically, including right after a top-up.
414
355
  * @summary Pay an invoice
415
356
  */
416
357
  export declare const PayInvoiceParams: zod.ZodObject<{
@@ -450,25 +391,19 @@ export declare const PreviewInvoicePaymentQueryParams: zod.ZodObject<{
450
391
  use_credits: zod.ZodDefault<zod.ZodBoolean>;
451
392
  }, zod.z.core.$strict>;
452
393
  /**
453
- * Pays outstanding invoices, including the invoices of the listed orders, from the account's
454
- * eligible credit grants and then its balance. No payment gateway is used; an invoice to be
455
- * paid online is paid on its own. The draft invoice of a deferred order takes the best applicable
456
- * account discount and is issued first, and stays issued if the payment fails; pay it on its own to
457
- * apply a promotion code.
394
+ * Pays outstanding invoices, including those of the listed orders, from eligible credit grants and then balance,
395
+ * without a payment gateway. The draft invoice of a deferred order takes the best applicable account discount
396
+ * and is issued first, staying issued if payment fails; pay it alone to use a promotion code.
458
397
  *
459
- * Either every invoice is paid or none is. When the credit grants and balance cannot cover
460
- * them all, the request fails with `BILLING_INSUFFICIENT_FUNDS` and nothing is charged.
461
- * A total different from expected_amount fails with `BILLING_AMOUNT_CHANGED` and nothing is charged.
462
- * Invoices that are already paid are not charged again. An online payment started earlier for one
463
- * of the invoices is canceled first; one the gateway is still processing is refused with
464
- * `BILLING_PAYMENT_PENDING` and `meta.transaction_id`, a void invoice with
465
- * `BILLING_INVOICE_NOT_PAYABLE`, a deferred period-end change not yet due to be invoiced with
466
- * `BILLING_CHANGE_NOT_INVOICED`, an order that has failed or was canceled with
467
- * `BILLING_ORDER_FAILED` or `BILLING_ORDER_CANCELED`, and an order whose payment deadline has
468
- * passed with `BILLING_ORDER_EXPIRED`. A renewal invoice is refused with
469
- * `BILLING_INVOICE_NOT_PAYABLE` while its subscription is being canceled, is being reclaimed or has
470
- * ended, with `meta.reason` `subscription_canceling`, `subscription_reclaiming` or
471
- * `subscription_ended` respectively.
398
+ * All invoices are paid or none: insufficient funds fail with `BILLING_INSUFFICIENT_FUNDS`, and a total other
399
+ * than expected_amount fails with `BILLING_AMOUNT_CHANGED`, charging nothing. Paid invoices are not charged
400
+ * again. An earlier online payment for one of the invoices is canceled first; one the gateway is still
401
+ * processing is refused with `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Also refused with
402
+ * `BILLING_INVOICE_NOT_PAYABLE` for a void invoice; `BILLING_CHANGE_NOT_INVOICED` for a period-end change not
403
+ * yet due; `BILLING_ORDER_FAILED`, `BILLING_ORDER_CANCELED` or `BILLING_ORDER_EXPIRED` for an order in that
404
+ * state; and `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `subscription_canceling`,
405
+ * `subscription_reclaiming` or `subscription_ended` for a renewal invoice of a subscription being canceled,
406
+ * being reclaimed or ended.
472
407
  * @summary Pay together
473
408
  */
474
409
  export declare const PayTogetherBody: zod.ZodObject<{
@@ -477,22 +412,7 @@ export declare const PayTogetherBody: zod.ZodObject<{
477
412
  expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
478
413
  }, zod.z.core.$strict>;
479
414
  /**
480
- * What paying these invoices together now would take from credit grants and from the balance,
481
- * invoice by invoice in the order they would be paid. It is computed as paying together computes
482
- * it. Nothing is charged, reserved or created.
483
- *
484
- * Refused with the same errors as paying together, except that insufficient funds are not an
485
- * error here: they show as a `gateway_amount` above zero, and paying together would then be
486
- * refused with `BILLING_INSUFFICIENT_FUNDS`.
487
- * @summary Preview paying together
488
- */
489
- export declare const PreviewPayTogetherBody: zod.ZodObject<{
490
- invoice_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
491
- order_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
492
- expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
493
- }, zod.z.core.$strict>;
494
- /**
495
- * 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.
415
+ * 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.
496
416
  * @summary List invoices
497
417
  */
498
418
  export declare const listInvoicesQueryPageDefault = 1;
@@ -508,21 +428,20 @@ export declare const ListInvoicesQueryParams: zod.ZodObject<{
508
428
  open: "open";
509
429
  draft: "draft";
510
430
  paid: "paid";
511
- uncollectible: "uncollectible";
512
431
  }>>;
513
432
  subscription_id: zod.ZodOptional<zod.ZodUUID>;
514
433
  from: zod.ZodOptional<zod.z.ZodISODateTime>;
515
434
  to: zod.ZodOptional<zod.z.ZodISODateTime>;
516
435
  }, zod.z.core.$strict>;
517
436
  /**
518
- * 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.
437
+ * 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.
519
438
  * @summary Get invoice
520
439
  */
521
440
  export declare const GetInvoiceParams: zod.ZodObject<{
522
441
  invoiceId: zod.ZodUUID;
523
442
  }, zod.z.core.$strict>;
524
443
  /**
525
- * 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.
444
+ * 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.
526
445
  * @summary List invoice items
527
446
  */
528
447
  export declare const ListInvoiceItemsParams: zod.ZodObject<{
@@ -537,7 +456,7 @@ export declare const ListInvoiceItemsQueryParams: zod.ZodObject<{
537
456
  page_size: zod.ZodDefault<zod.ZodInt>;
538
457
  }, zod.z.core.$strict>;
539
458
  /**
540
- * 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.
459
+ * Ledger entries of your billing accounts, filtered by billing_account_id and creation time.
541
460
  * @summary List transactions
542
461
  */
543
462
  export declare const listTransactionsQueryPageDefault = 1;
@@ -552,8 +471,7 @@ export declare const ListTransactionsQueryParams: zod.ZodObject<{
552
471
  to: zod.ZodOptional<zod.z.ZodISODateTime>;
553
472
  }, zod.z.core.$strict>;
554
473
  /**
555
- * Coupons placed on the account directly, which apply at checkout without a code being
556
- * entered. A coupon reached through a code is not listed here.
474
+ * Coupons held by the account, applied at checkout without a code. Coupons reached through a code are not listed.
557
475
  * @summary List the coupons held on this account
558
476
  */
559
477
  export declare const listAccountDiscountsQueryPageDefault = 1;
@@ -566,8 +484,7 @@ export declare const ListAccountDiscountsQueryParams: zod.ZodObject<{
566
484
  billing_account_id: zod.ZodOptional<zod.ZodInt>;
567
485
  }, zod.z.core.$strict>;
568
486
  /**
569
- * Each grant shows what remains and what it may be used for. Credit is spent before the balance
570
- * and cannot be withdrawn.
487
+ * Credit grants with what remains and what each may pay for. Credit is spent before balance and cannot be withdrawn.
571
488
  * @summary List credit grants
572
489
  */
573
490
  export declare const listCreditGrantsQueryPageDefault = 1;
@@ -586,7 +503,7 @@ export declare const ListCreditGrantsQueryParams: zod.ZodObject<{
586
503
  }>>;
587
504
  }, zod.z.core.$strict>;
588
505
  /**
589
- * Newest issued_at first, then ID. Requires authorization for the invoice's billing account. Filters narrow authorized results and apply before counting and paging.
506
+ * Credit notes, newest first. Filters apply within the billing accounts you are authorized for.
590
507
  * @summary List credit notes
591
508
  */
592
509
  export declare const listCreditNotesQueryPageDefault = 1;
@@ -607,7 +524,7 @@ export declare const GetCreditNoteParams: zod.ZodObject<{
607
524
  creditNoteId: zod.ZodUUID;
608
525
  }, zod.z.core.$strict>;
609
526
  /**
610
- * The original invoice lines reduced by this note. Requires authorization for their invoice's billing account.
527
+ * The invoice lines this credit note reduced.
611
528
  * @summary List credit note items
612
529
  */
613
530
  export declare const ListCreditNoteItemsParams: zod.ZodObject<{
@@ -637,7 +554,7 @@ export declare const ListRefundsQueryParams: zod.ZodObject<{
637
554
  order_id: zod.ZodOptional<zod.ZodUUID>;
638
555
  }, zod.z.core.$strict>;
639
556
  /**
640
- * Lists priced usage charges in the requested financial scope. Usage without a price at occurrence time is never charged retrospectively.
557
+ * Priced usage charges in the requested scope. Usage that had no price when it occurred is never charged later.
641
558
  * @summary List usage charges
642
559
  */
643
560
  export declare const listUsageChargesQueryPageDefault = 1;
@@ -661,7 +578,7 @@ export declare const ListUsageChargesQueryParams: zod.ZodObject<{
661
578
  statement_id: zod.ZodOptional<zod.ZodUUID>;
662
579
  }, zod.z.core.$strict>;
663
580
  /**
664
- * Lists subscriptions visible to the authorized billing account. Soft-deleted subscriptions are excluded.
581
+ * Subscriptions of the authorized billing account. Deleted subscriptions are not listed.
665
582
  * @summary List subscriptions
666
583
  */
667
584
  export declare const listSubscriptionsQueryPageDefault = 1;
@@ -677,41 +594,29 @@ export declare const ListSubscriptionsQueryParams: zod.ZodObject<{
677
594
  project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
678
595
  }, zod.z.core.$strict>;
679
596
  /**
680
- * Returns a subscription visible to the authorized billing account. Soft-deleted subscriptions are reported as not found.
597
+ * A subscription of the authorized billing account. Deleted subscriptions are reported as not found.
681
598
  * @summary Get subscription
682
599
  */
683
600
  export declare const GetSubscriptionParams: zod.ZodObject<{
684
601
  subscriptionId: zod.ZodUUID;
685
602
  }, zod.z.core.$strict>;
686
603
  /**
687
- * Sets deleted_at on a canceled or terminated subscription, hiding it from your subscription
688
- * list and detail. Your account access token must authorize the subscription's current billing
689
- * account. Preserves commercial status, ended_at and billing and financial history. Completed
690
- * cancellations and canceled unfulfilled purchases can be deleted directly, without termination.
691
- * Pending, provisioning, active and suspended subscriptions are refused with 409
692
- * BILLING_SUBSCRIPTION_NOT_ENDED and status in error params. A scheduled or releasing cancellation
693
- * does not make a subscription canceled.
694
- * There is no force, skip-cleanup or override option. Repeating deletion preserves the original
695
- * deleted_at. Sends no cleanup command and creates no refund; outstanding cleanup continues.
604
+ * 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.
696
605
  * @summary Delete subscription
697
606
  */
698
607
  export declare const DeleteSubscriptionParams: zod.ZodObject<{
699
608
  subscriptionId: zod.ZodUUID;
700
609
  }, zod.z.core.$strict>;
701
610
  /**
702
- * Requests cancellation on the purchase's agreed terms. Uses the same quotation, eligibility,
703
- * metering and original-payment-source refund rules as creating a cancellation.
704
- * Supply the refund amount from create-quote with this subscription in cancellation.subscription_ids.
705
- * Your account access token must authorize the subscription's current billing account.
611
+ * Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
612
+ * refund amount from a quote with this subscription in `cancellation.subscription_ids`. The token must authorize
613
+ * the subscription's current billing account.
706
614
  *
707
- * Immediate cancellation asks the owning service to clean up now. Period-end cancellation keeps
708
- * the subscription active or suspended until the paid term ends. Neither payment nor acceptance
709
- * of this request proves cleanup. The subscription becomes canceled only after the service
710
- * confirms release and the end of metering; follow the returned cancellation for progress.
711
- *
712
- * Related subscriptions released together must be submitted as one group to create-cancellation.
713
- * Pending or provisioning purchases are canceled through their order, not this operation.
714
- * Repeating the same open cancellation returns it without another refund or command.
615
+ * Immediate cancellation asks the owning service to release the resources now; period-end cancellation keeps the
616
+ * subscription active or suspended until the paid term ends. The subscription becomes canceled when the service
617
+ * confirms the release; follow the returned cancellation. Subscriptions released together must be canceled
618
+ * together through create-cancellation, and pending or provisioning purchases through their order. Repeating the
619
+ * request while the cancellation is open returns it.
715
620
  * @summary Cancel subscription
716
621
  */
717
622
  export declare const CancelSubscriptionParams: zod.ZodObject<{
@@ -727,74 +632,7 @@ export declare const CancelSubscriptionBody: zod.ZodObject<{
727
632
  reason: zod.ZodOptional<zod.ZodString>;
728
633
  }, zod.z.core.$strict>;
729
634
  /**
730
- * 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.
731
- *
732
- * 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.
733
- *
734
- * 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.
735
- * @summary Create a quote
736
- */
737
- export declare const CreateQuoteBody: zod.ZodObject<{
738
- billing_account_id: zod.ZodInt;
739
- items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
740
- price_lookup_key: zod.ZodOptional<zod.ZodString>;
741
- plan_lookup_key: zod.ZodOptional<zod.ZodString>;
742
- price_id: zod.ZodOptional<zod.ZodUUID>;
743
- product_id: zod.ZodOptional<zod.ZodString>;
744
- plan_id: zod.ZodOptional<zod.ZodUUID>;
745
- price_type: zod.ZodOptional<zod.ZodEnum<{
746
- postpaid: "postpaid";
747
- prepaid: "prepaid";
748
- one_time: "one_time";
749
- }>>;
750
- interval: zod.ZodOptional<zod.ZodEnum<{
751
- none: "none";
752
- day: "day";
753
- month: "month";
754
- year: "year";
755
- }>>;
756
- interval_count: zod.ZodOptional<zod.ZodInt>;
757
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
758
- immediate: "immediate";
759
- period_end: "period_end";
760
- }>>;
761
- quantity: zod.ZodString;
762
- meter_id: zod.ZodOptional<zod.ZodUUID>;
763
- meter_lookup_key: zod.ZodOptional<zod.ZodString>;
764
- dimensions: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
765
- duration_seconds: zod.ZodOptional<zod.ZodInt>;
766
- }, zod.z.core.$strict>>>;
767
- order_id: zod.ZodOptional<zod.ZodUUID>;
768
- renewals: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
769
- subscription_id: zod.ZodUUID;
770
- price_id: zod.ZodOptional<zod.ZodUUID>;
771
- interval: zod.ZodOptional<zod.ZodEnum<{
772
- day: "day";
773
- month: "month";
774
- year: "year";
775
- }>>;
776
- interval_count: zod.ZodOptional<zod.ZodInt>;
777
- termination_policy: zod.ZodOptional<zod.ZodEnum<{
778
- immediate: "immediate";
779
- period_end: "period_end";
780
- }>>;
781
- periods: zod.ZodDefault<zod.ZodInt>;
782
- }, zod.z.core.$strict>>>;
783
- cancellation: zod.ZodOptional<zod.ZodObject<{
784
- subscription_ids: zod.ZodArray<zod.ZodUUID>;
785
- mode: zod.ZodEnum<{
786
- immediate: "immediate";
787
- period_end: "period_end";
788
- }>;
789
- }, zod.z.core.$strict>>;
790
- promotion_code: zod.ZodOptional<zod.ZodString>;
791
- refund: zod.ZodOptional<zod.ZodObject<{
792
- order_id: zod.ZodUUID;
793
- order_item_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
794
- }, zod.z.core.$strict>>;
795
- }, zod.z.core.$strict>;
796
- /**
797
- * Newest first. Filter by `subscription_id` and `status=open` to find the cancellation now under way for a subscription.
635
+ * Newest first. Filter by `subscription_id` and `status=open` to find a subscription's cancellation in progress.
798
636
  * @summary List cancellations
799
637
  */
800
638
  export declare const listCancellationsQueryPageDefault = 1;
@@ -819,46 +657,36 @@ export declare const ListCancellationsQueryParams: zod.ZodObject<{
819
657
  project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
820
658
  }, zod.z.core.$strict>;
821
659
  /**
822
- * Ends a set of subscriptions of one service together, at one time. Deleting a resource that a
823
- * subscription pays for is an `immediate` cancellation of every subscription released with it,
824
- * such as a server with the disks deleted along with it, or an address with its bandwidth.
660
+ * Ends subscriptions of one service together. Deleting a resource is an `immediate` cancellation of every
661
+ * subscription released with it, such as a server with its disks or an address with its bandwidth.
825
662
  *
826
- * The service that provides the resources releases them: at once for `immediate`, or at
827
- * `scheduled_at`, the end of the paid term, for `period_end`. When release is confirmed, the
828
- * unused value is returned the way it was paid, under the refund terms agreed when each
829
- * subscription was bought. For `immediate` the refund is computed as of `proration_date`, so the
830
- * amount confirmed here is the amount returned: prepaid service used while the resources are
831
- * being released is not deducted from it. Usage of a postpaid subscription is charged until its
832
- * resources are released, as usual.
663
+ * The owning service releases the resources at once for `immediate`, or at `scheduled_at`, the end of the paid
664
+ * term, for `period_end`. When release is confirmed, the unused value is returned to the original payment
665
+ * sources under each subscription's refund terms. For `immediate` the refund is computed as of `proration_date`
666
+ * and is not reduced by service used during release. Metered usage is charged until release.
833
667
  *
834
- * `mode` must be allowed for every subscription. Postpaid and one-time subscriptions end only
835
- * `immediate`. A prepaid subscription ends `period_end` while its paid term lasts, and
836
- * `immediate` unless its termination terms allow only the end of the paid term and that term has
837
- * not ended yet. For `period_end` the paid terms of all the subscriptions must end at the same
668
+ * `mode` must be allowed for every subscription. Metered and one-time subscriptions end only `immediate`. A
669
+ * licensed subscription ends `period_end` while its paid term lasts, and `immediate` unless its terms allow only
670
+ * the end of the paid term and that term has not ended. For `period_end` all paid terms must end at the same
838
671
  * time.
839
672
  *
840
673
  * Refused with:
841
- * - 400 `BILLING_CANCELLATION_INVALID` when `subscription_ids` or `proration_date` is not
842
- * acceptable (`meta.field`), or the subscriptions do not all belong to one service, project,
843
- * account and currency;
674
+ *
675
+ * - 400 `BILLING_CANCELLATION_INVALID` when `subscription_ids` or `proration_date` is invalid (`meta.field`), or
676
+ * the subscriptions do not share one service, project, account and currency;
844
677
  * - 409 `BILLING_CANCELLATION_CONFLICT` when a subscription has not started or has ended;
845
- * - 422 `BILLING_CANCELLATION_MODE_FIXED` when `mode` is not allowed for a subscription, and
846
- * `BILLING_CANCELLATION_TERMS_UNSET` when a prepaid subscription has no termination terms;
847
- * both carry `meta.subscription_id`;
848
- * - 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when, for `period_end`, the paid terms end at
849
- * different times;
678
+ * - 422 `BILLING_CANCELLATION_MODE_FIXED` when `mode` is not allowed, and `BILLING_CANCELLATION_TERMS_UNSET`
679
+ * when a licensed subscription has no termination terms, both with `meta.subscription_id`;
680
+ * - 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when, for `period_end`, the paid terms end at different times;
850
681
  * - 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` when a subscription is already being canceled
851
- * (`meta.cancellation_id`) or reclaimed (`meta.reason` `reclaim_requested`), or has a paid
852
- * change still waiting to switch (`meta.order_id`);
853
- * - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online payment for a renewal of one of them
854
- * is in progress;
855
- * - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund is no longer
856
- * `expected_refundable_amount`; quote again.
682
+ * (`meta.cancellation_id`) or reclaimed (`meta.reason` `reclaim_requested`), or has a paid change waiting to
683
+ * switch (`meta.order_id`);
684
+ * - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online renewal payment for one of them is in progress;
685
+ * - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund no longer equals `expected_refundable_amount`.
857
686
  *
858
- * Sending the same request again, for the same subscriptions, mode and amount while that
859
- * cancellation is still open, returns it with 200 rather than creating another. Renewal orders
860
- * still waiting for payment are canceled along with it, and automatic renewal is turned off for
861
- * every subscription in the set, for `period_end` as well as `immediate`.
687
+ * Repeating the request for the same subscriptions, mode and amount while the cancellation is open returns it
688
+ * with 200. Unpaid renewal orders are canceled with it, and automatic renewal is turned off for every
689
+ * subscription.
862
690
  * @summary Cancel subscriptions
863
691
  */
864
692
  export declare const CreateCancellationBody: zod.ZodObject<{
@@ -872,18 +700,14 @@ export declare const CreateCancellationBody: zod.ZodObject<{
872
700
  reason: zod.ZodOptional<zod.ZodString>;
873
701
  }, zod.z.core.$strict>;
874
702
  /**
875
- * 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.
703
+ * A cancellation of your billing account with its schedule, expected refundable amount and the outcome for each subscription, including partial success.
876
704
  * @summary Get a cancellation
877
705
  */
878
706
  export declare const GetCancellationParams: zod.ZodObject<{
879
707
  cancellationId: zod.ZodUUID;
880
708
  }, zod.z.core.$strict>;
881
709
  /**
882
- * Withdraws the whole cancellation while none of its resources has begun to be released; the
883
- * subscriptions continue as before, except that automatic renewal, turned off when the
884
- * cancellation was created, stays off until it is turned on again. After that it is refused with
885
- * 409 `BILLING_CANCELLATION_CONFLICT`. Withdrawing one that is already withdrawn returns it
886
- * unchanged.
710
+ * 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.
887
711
  * @summary Withdraw a cancellation
888
712
  */
889
713
  export declare const WithdrawCancellationParams: zod.ZodObject<{
@@ -905,17 +729,15 @@ export declare const ListRenewalPricesQueryParams: zod.ZodObject<{
905
729
  page_size: zod.ZodDefault<zod.ZodInt>;
906
730
  }, zod.z.core.$strict>;
907
731
  /**
908
- * Purchases prepaid periods from current_term_end using the agreed recurring amount, and pays for them at
909
- * once. A changed interval selects a current price and freezes new terms on the order, applied
910
- * only after fulfillment. Existing paid periods keep their value.
732
+ * Buys licensed periods from current_term_end at the agreed recurring amount and pays for them at once. A
733
+ * different interval selects the price currently sold for it and fixes new terms on the order, applied after
734
+ * fulfillment. Paid periods keep their value.
911
735
  *
912
- * Without `payment_method_id`, the renewal is paid from credit grants and the balance as
913
- * `use_credits` and `use_balance` allow; when they cannot pay it all, the renewal is refused with
914
- * `BILLING_INSUFFICIENT_FUNDS` and no order is left. To pay another way, create a renewal order
915
- * and pay its invoice instead.
736
+ * Without `payment_method_id`, the renewal is paid from credit grants and balance as `use_credits` and
737
+ * `use_balance` allow; when they cannot cover it, the request fails with `BILLING_INSUFFICIENT_FUNDS` and no
738
+ * order is left. To pay another way, create a renewal order and pay its invoice.
916
739
  *
917
- * Save order_id before submitting and query the order after an unknown outcome; duplicate
918
- * creation conflicts.
740
+ * Keep order_id and read the order after an unknown outcome; creating it again conflicts.
919
741
  * @summary Renew subscription
920
742
  */
921
743
  export declare const RenewSubscriptionParams: zod.ZodObject<{
@@ -940,16 +762,14 @@ export declare const RenewSubscriptionBody: zod.ZodObject<{
940
762
  return_url: zod.ZodOptional<zod.ZodString>;
941
763
  }, zod.z.core.$strict>;
942
764
  /**
943
- * Places a renewal order with a draft invoice, without applying a new discount or charging anything.
944
- * Pay its invoice to renew; a promotion code can be applied when paying. Existing subscription
945
- * discount commitments are retained. The periods and price are chosen as for renewing. The order
946
- * can be paid until the current paid period ends, and never after the end of the first period it renews; unpaid by
947
- * then, it is canceled. While auto-renew is on, the renewal due at the end of the period pays
948
- * this order instead of placing another, applying an applicable account discount first if the
949
- * order's terms are not fixed yet.
765
+ * Places a renewal order with a draft invoice, without applying a new discount or charging anything. Pay its
766
+ * invoice to renew; a promotion code can be applied when paying. Existing subscription discounts are kept.
767
+ * Periods and price are chosen as for renewing. The order can be paid until the current paid period ends, and
768
+ * never after the end of the first period it renews; unpaid by then, it is canceled. While auto-renew is on, the
769
+ * renewal due at the end of the period pays this order instead of placing another, applying an applicable
770
+ * account discount first if its terms are not fixed yet.
950
771
  *
951
- * Save `order_id` before submitting and read the order after an unknown outcome; creating it a
952
- * second time conflicts.
772
+ * Keep `order_id` and read the order after an unknown outcome; creating it again conflicts.
953
773
  * @summary Create renewal order
954
774
  */
955
775
  export declare const CreateRenewalOrderParams: zod.ZodObject<{
@@ -970,15 +790,7 @@ export declare const CreateRenewalOrderBody: zod.ZodObject<{
970
790
  }>>;
971
791
  }, zod.z.core.$strict>;
972
792
  /**
973
- * Controls automatic prepaid renewal for an active or suspended subscription. A pending or provisioning
974
- * subscription cannot set this preference and returns 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_INACTIVE`. Disabling it does
975
- * not shorten current_term_end and still permits manual renewal. A postpaid subscription always continues until it is
976
- * canceled; setting it is refused with 409
977
- * `BILLING_SUBSCRIPTION_AUTO_RENEW_FIXED`.
978
- *
979
- * While the subscription has an open cancellation, turning it on or off is refused with 409
980
- * `BILLING_SUBSCRIPTION_OPERATION_PENDING` and `meta.cancellation_id`: creating the cancellation
981
- * turned it off, and withdrawing the cancellation does not turn it back on.
793
+ * 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.
982
794
  * @summary Set auto renew
983
795
  */
984
796
  export declare const SetAutoRenewParams: zod.ZodObject<{
@@ -988,13 +800,7 @@ export declare const SetAutoRenewBody: zod.ZodObject<{
988
800
  auto_renew: zod.ZodBoolean;
989
801
  }, zod.z.core.$strict>;
990
802
  /**
991
- * Lists remaining usage quantities, such as bytes, seconds or tokens. Applicable allowances are
992
- * consumed before usage is charged. Lower priority values are consumed first, followed by earlier
993
- * expiry and earlier issuance.
994
- *
995
- * Unused quantity expires without a refund or carry-over. Promotional allowances apply to usage paid
996
- * by their holding account. Included allowances apply only to the associated subscription, including
997
- * after its project moves to another billing account.
803
+ * 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.
998
804
  * @summary List allowances
999
805
  */
1000
806
  export declare const listAllowancesQueryPageDefault = 1;
@@ -1019,9 +825,7 @@ export declare const ListAllowancesQueryParams: zod.ZodObject<{
1019
825
  project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
1020
826
  }, zod.z.core.$strict>;
1021
827
  /**
1022
- * Lists acceptance status and associated invoice amounts. A pending order is not yet accepted;
1023
- * its invoice shows whether it still needs payment. accepted means accepted, not delivered.
1024
- * Pending orders can expire at expires_at.
828
+ * 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.
1025
829
  * @summary List orders
1026
830
  */
1027
831
  export declare const listOrdersQueryPageDefault = 1;
@@ -1046,31 +850,26 @@ export declare const ListOrdersQueryParams: zod.ZodObject<{
1046
850
  project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
1047
851
  }, zod.z.core.$strict>;
1048
852
  /**
1049
- * 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.
853
+ * An order of your billing account with its status and invoice. An unknown order returns 404; another user's order returns 403.
1050
854
  * @summary Get order
1051
855
  */
1052
856
  export declare const GetOrderParams: zod.ZodObject<{
1053
857
  orderId: zod.ZodUUID;
1054
858
  }, zod.z.core.$strict>;
1055
859
  /**
1056
- * Cancels the selected, still-undelivered items of an unaccepted order without recording a
1057
- * delivery failure. Omit order_item_ids to select every still-pending item, or name one or
1058
- * more items. Successful items remain delivered and are not refunded. Whole-order and partial
1059
- * cancellation both require confirmed non-delivery and necessary cleanup. The order keeps
1060
- * its existing pending phase while any item is still pending; its final outcome follows all
1061
- * item outcomes. Previously failed items keep their failure outcome.
860
+ * Cancels the selected undelivered items of an order that has not been accepted, without recording a delivery
861
+ * failure. Omit order_item_ids to select every pending item. Delivered items stay delivered and are not
862
+ * refunded; failed items keep their outcome. The order stays pending while any item is pending, and its final
863
+ * status follows its items.
1062
864
  *
1063
- * Payment may be absent, partial or complete. Once the order's terms are fixed, the selected items
1064
- * keep their agreed amounts and discounts; credit notes reduce issued invoices, and collected amounts
1065
- * are returned to their original payment sources. While the terms of a deferred order are not fixed,
1066
- * 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`.
1067
- * The order and financial history are retained; the same cancellation does not refund twice.
865
+ * Once the order's terms are fixed, the canceled items keep their agreed amounts and discounts: credit notes
866
+ * reduce the issued invoice, and collected amounts return to their original payment sources, possibly
867
+ * asynchronously. While a deferred order's terms are not fixed, the remaining items are priced again. An online
868
+ * payment waiting for the payer is canceled with the order; one the gateway is processing is refused with
869
+ * `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Repeating the cancellation does not refund twice.
1068
870
  *
1069
- * Once the order is accepted, its owning service coordinates cancellation and confirms
1070
- * non-delivery and cleanup through the cancellation RPC. Delivered items are ended through
1071
- * subscription cancellation. Unknown delivery or payment outcomes are not refund evidence;
1072
- * in-flight or unknown payments must be reconciled first. Scheduled changes continue to be
1073
- * canceled through the owning service. Refund quotations use CreateQuote.refund.
871
+ * An accepted order is canceled by its owning service, and delivered items through subscription cancellation.
872
+ * Refunds are quoted with the quote operation's `refund` target.
1074
873
  * @summary Cancel order
1075
874
  */
1076
875
  export declare const CancelOrderParams: zod.ZodObject<{
@@ -1095,13 +894,7 @@ export declare const ListOrderItemsQueryParams: zod.ZodObject<{
1095
894
  page_size: zod.ZodDefault<zod.ZodInt>;
1096
895
  }, zod.z.core.$strict>;
1097
896
  /**
1098
- * Capabilities that come with what has been bought. A capability that is not held simply
1099
- * does not appear, so that "this does not exist" and "this has not been bought" cannot be
1100
- * confused.
1101
- *
1102
- * Derived from live subscriptions and active feature grants rather than stored, so this always
1103
- * agrees with what is being paid for and granted. It stops being listed as soon as the
1104
- * subscription or grant providing it ends.
897
+ * 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.
1105
898
  * @summary List entitlements
1106
899
  */
1107
900
  export declare const listEntitlementsQueryPageDefault = 1;
@@ -1119,9 +912,7 @@ export declare const ListEntitlementsQueryParams: zod.ZodObject<{
1119
912
  product_id: zod.ZodOptional<zod.ZodString>;
1120
913
  }, zod.z.core.$strict>;
1121
914
  /**
1122
- * Access to features held by a billing account for a period, for example through a membership. While a grant
1123
- * is active, every project whose current billing account holds it has the feature, in addition to the
1124
- * features of its own subscriptions.
915
+ * 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.
1125
916
  * @summary List feature grants
1126
917
  */
1127
918
  export declare const listFeatureGrantsQueryPageDefault = 1;
@@ -1143,13 +934,7 @@ export declare const ListFeatureGrantsQueryParams: zod.ZodObject<{
1143
934
  }>>;
1144
935
  }, zod.z.core.$strict>;
1145
936
  /**
1146
- * Every sellable thing and what it costs, in one request. A plan appears once per price.
1147
- *
1148
- * `currency` is required: a plan has a price in each currency it is sold in, so "what does
1149
- * this cost" has no answer without one.
1150
- *
1151
- * Archived prices are left out. Existing subscriptions keep the terms they were bought at, so
1152
- * this is not the place to look up what an existing purchase is paying.
937
+ * 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.
1153
938
  * @summary List what is on sale, with prices
1154
939
  */
1155
940
  export declare const listPricesQueryPageDefault = 1;
@@ -1166,16 +951,19 @@ export declare const ListPricesQueryParams: zod.ZodObject<{
1166
951
  currency: zod.ZodString;
1167
952
  product_id: zod.ZodOptional<zod.ZodString>;
1168
953
  type: zod.ZodOptional<zod.ZodEnum<{
1169
- postpaid: "postpaid";
1170
- prepaid: "prepaid";
1171
954
  one_time: "one_time";
955
+ recurring: "recurring";
956
+ }>>;
957
+ usage_type: zod.ZodOptional<zod.ZodEnum<{
958
+ licensed: "licensed";
959
+ metered: "metered";
1172
960
  }>>;
1173
961
  }, zod.z.core.$strict>;
1174
962
  export declare const ListPricesHeader: zod.ZodObject<{
1175
963
  "If-None-Match": zod.ZodOptional<zod.ZodString>;
1176
964
  }, zod.z.core.$strict>;
1177
965
  /**
1178
- * Paginated registered catalog products with their service identities and descriptions. Supports If- None-Match and returns 304 when the selected page has not changed.
966
+ * Registered products. If-None-Match returns 304 for an unchanged page.
1179
967
  * @summary List catalog products
1180
968
  */
1181
969
  export declare const listProductsQueryPageDefault = 1;
@@ -1190,8 +978,7 @@ export declare const ListProductsHeader: zod.ZodObject<{
1190
978
  "If-None-Match": zod.ZodOptional<zod.ZodString>;
1191
979
  }, zod.z.core.$strict>;
1192
980
  /**
1193
- * Resolves an identifier that was stored elsewhere — on an order line, an invoice line, or
1194
- * the terms of a credit — into something that can be displayed.
981
+ * A product by its ID.
1195
982
  * @summary Get a service
1196
983
  */
1197
984
  export declare const getProductPathProductIdMax = 64;
@@ -1203,8 +990,7 @@ export declare const GetProductHeader: zod.ZodObject<{
1203
990
  "If-None-Match": zod.ZodOptional<zod.ZodString>;
1204
991
  }, zod.z.core.$strict>;
1205
992
  /**
1206
- * Resolves a stored identifier into something that can be displayed. Returns items that are
1207
- * no longer on sale: an existing purchase still refers to one.
993
+ * A plan, including one no longer on sale.
1208
994
  * @summary Get a sellable item
1209
995
  */
1210
996
  export declare const GetPlanParams: zod.ZodObject<{
@@ -1214,7 +1000,7 @@ export declare const GetPlanHeader: zod.ZodObject<{
1214
1000
  "If-None-Match": zod.ZodOptional<zod.ZodString>;
1215
1001
  }, zod.z.core.$strict>;
1216
1002
  /**
1217
- * 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.
1003
+ * A catalog price, archived prices included. The terms of past purchases are on their orders and subscriptions.
1218
1004
  * @summary Get a price
1219
1005
  */
1220
1006
  export declare const GetPriceParams: zod.ZodObject<{
@@ -1224,7 +1010,7 @@ export declare const GetPriceHeader: zod.ZodObject<{
1224
1010
  "If-None-Match": zod.ZodOptional<zod.ZodString>;
1225
1011
  }, zod.z.core.$strict>;
1226
1012
  /**
1227
- * 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.
1013
+ * Active plans of product_id with their features. An unknown product returns 404; If-None-Match returns 304 for an unchanged page.
1228
1014
  * @summary List catalog plans
1229
1015
  */
1230
1016
  export declare const listPlansQueryProductIdMax = 64;
@@ -1242,8 +1028,7 @@ export declare const ListPlansHeader: zod.ZodObject<{
1242
1028
  "If-None-Match": zod.ZodOptional<zod.ZodString>;
1243
1029
  }, zod.z.core.$strict>;
1244
1030
  /**
1245
- * Public list prices only. An account holding a negotiated agreement may be charged less;
1246
- * it is never charged more.
1031
+ * Public list prices. An account with a negotiated agreement may be charged less, never more.
1247
1032
  * @summary List catalog prices
1248
1033
  */
1249
1034
  export declare const ListPricesByPlanParams: zod.ZodObject<{
@@ -1262,8 +1047,7 @@ export declare const ListPricesByPlanHeader: zod.ZodObject<{
1262
1047
  "If-None-Match": zod.ZodOptional<zod.ZodString>;
1263
1048
  }, zod.z.core.$strict>;
1264
1049
  /**
1265
- * Only public price lists are readable here. A list written for a single agreement is not,
1266
- * and its identifier cannot be used to reach it.
1050
+ * Rules of a public rate card; contract cards are not readable here.
1267
1051
  * @summary List catalog rates
1268
1052
  */
1269
1053
  export declare const ListRatesParams: zod.ZodObject<{
@@ -1283,9 +1067,7 @@ export declare const ListRatesHeader: zod.ZodObject<{
1283
1067
  "If-None-Match": zod.ZodOptional<zod.ZodString>;
1284
1068
  }, zod.z.core.$strict>;
1285
1069
  /**
1286
- * Lists continuous metering registrations paid for by your billing accounts. Their state does not
1287
- * describe machine runtime or health. Project filters narrow the authorized accounts; they do not
1288
- * grant project-based access.
1070
+ * Continuous metering registrations paid for by your billing accounts. Their state does not describe the resource's runtime. Project filters only narrow the result.
1289
1071
  * @summary List active resources
1290
1072
  */
1291
1073
  export declare const listActiveResourcesQueryPageDefault = 1;
@@ -1331,6 +1113,7 @@ export declare const ListSpendQueryParams: zod.ZodObject<{
1331
1113
  to: zod.z.ZodISODateTime;
1332
1114
  group_by: zod.ZodDefault<zod.ZodEnum<{
1333
1115
  product: "product";
1116
+ meter: "meter";
1334
1117
  plan: "plan";
1335
1118
  resource: "resource";
1336
1119
  }>>;
@@ -1341,7 +1124,7 @@ export declare const ListSpendQueryParams: zod.ZodObject<{
1341
1124
  project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
1342
1125
  }, zod.z.core.$strict>;
1343
1126
  /**
1344
- * 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.
1127
+ * 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.
1345
1128
  * @summary List monthly statements
1346
1129
  */
1347
1130
  export declare const listMonthlyStatementsQueryPageDefault = 1;
@@ -1356,7 +1139,7 @@ export declare const ListMonthlyStatementsQueryParams: zod.ZodObject<{
1356
1139
  page_size: zod.ZodDefault<zod.ZodInt>;
1357
1140
  }, zod.z.core.$strict>;
1358
1141
  /**
1359
- * 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.
1142
+ * 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.
1360
1143
  * @summary List statements
1361
1144
  */
1362
1145
  export declare const listStatementsQueryPageDefault = 1;
@@ -1375,14 +1158,14 @@ export declare const ListStatementsQueryParams: zod.ZodObject<{
1375
1158
  page_size: zod.ZodDefault<zod.ZodInt>;
1376
1159
  }, zod.z.core.$strict>;
1377
1160
  /**
1378
- * 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.
1161
+ * 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.
1379
1162
  * @summary Get statement
1380
1163
  */
1381
1164
  export declare const GetStatementParams: zod.ZodObject<{
1382
1165
  statementId: zod.ZodUUID;
1383
1166
  }, zod.z.core.$strict>;
1384
1167
  /**
1385
- * 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.
1168
+ * 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.
1386
1169
  * @summary Get grouped consumption
1387
1170
  */
1388
1171
  export declare const GetStatementUsageParams: zod.ZodObject<{