@leaflow/sdk 0.0.0-dev.352.g85966ed → 0.0.0-dev.355.g42152f5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (882) hide show
  1. package/dist/billing/type/funds/v1/generated/models.d.ts +4 -4
  2. package/dist/billing/type/funds/v1/generated/validators/funds.zod.js +4 -4
  3. package/dist/billing/type/order/v1/generated/models.d.ts +379 -779
  4. package/dist/billing/type/order/v1/generated/models.js +12 -44
  5. package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.d.ts +22 -11
  6. package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.js +8 -8
  7. package/dist/billing/type/order/v1/generated/validators/activeResource.zod.js +8 -5
  8. package/dist/billing/type/order/v1/generated/validators/allowance.zod.js +3 -3
  9. package/dist/billing/type/order/v1/generated/validators/applicability.zod.d.ts +22 -11
  10. package/dist/billing/type/order/v1/generated/validators/applicability.zod.js +12 -3
  11. package/dist/billing/type/order/v1/generated/validators/applicablePlan.zod.js +1 -1
  12. package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.js +5 -5
  13. package/dist/billing/type/order/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  14. package/dist/billing/type/order/v1/generated/validators/billingScheme.zod.d.ts +14 -0
  15. package/dist/billing/type/order/v1/generated/validators/billingScheme.zod.js +11 -0
  16. package/dist/billing/type/order/v1/generated/validators/cancellation.zod.d.ts +6 -3
  17. package/dist/billing/type/order/v1/generated/validators/cancellation.zod.js +4 -4
  18. package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.js +3 -3
  19. package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
  20. package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.js +6 -5
  21. package/dist/billing/type/order/v1/generated/validators/cancellationList.zod.d.ts +6 -3
  22. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
  23. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  24. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
  25. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
  26. package/dist/billing/type/order/v1/generated/validators/contact.zod.js +2 -2
  27. package/dist/billing/type/order/v1/generated/validators/creditGrant.zod.d.ts +22 -11
  28. package/dist/billing/type/order/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
  29. package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.d.ts +22 -11
  30. package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.js +1 -1
  31. package/dist/billing/type/order/v1/generated/validators/creditNote.zod.js +4 -4
  32. package/dist/billing/type/order/v1/generated/validators/currency.zod.js +1 -1
  33. package/dist/billing/type/order/v1/generated/validators/discount.zod.d.ts +23 -12
  34. package/dist/billing/type/order/v1/generated/validators/discount.zod.js +4 -4
  35. package/dist/billing/type/order/v1/generated/validators/discountList.zod.d.ts +23 -12
  36. package/dist/billing/type/order/v1/generated/validators/entitlement.zod.js +1 -1
  37. package/dist/billing/type/order/v1/generated/validators/funds.zod.js +4 -4
  38. package/dist/billing/type/order/v1/generated/validators/invoice.zod.d.ts +0 -1
  39. package/dist/billing/type/order/v1/generated/validators/invoice.zod.js +8 -8
  40. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
  41. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.js +10 -4
  42. package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
  43. package/dist/billing/type/order/v1/generated/validators/invoiceItemProration.zod.js +1 -3
  44. package/dist/billing/type/order/v1/generated/validators/invoiceList.zod.d.ts +0 -1
  45. package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
  46. package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.js +2 -2
  47. package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
  48. package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.js +3 -3
  49. package/dist/billing/type/order/v1/generated/validators/monthlyStatement.zod.js +2 -2
  50. package/dist/billing/type/order/v1/generated/validators/objectIdentity.zod.js +1 -1
  51. package/dist/billing/type/order/v1/generated/validators/order.zod.d.ts +7 -4
  52. package/dist/billing/type/order/v1/generated/validators/order.zod.js +10 -12
  53. package/dist/billing/type/order/v1/generated/validators/orderItem.zod.d.ts +7 -3
  54. package/dist/billing/type/order/v1/generated/validators/orderItem.zod.js +16 -14
  55. package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.d.ts +7 -3
  56. package/dist/billing/type/order/v1/generated/validators/orderItemStatus.zod.js +1 -1
  57. package/dist/billing/type/order/v1/generated/validators/orderList.zod.d.ts +7 -4
  58. package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  59. package/dist/billing/type/order/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  60. package/dist/billing/type/order/v1/generated/validators/orderStatus.zod.js +1 -1
  61. package/dist/billing/type/order/v1/generated/validators/paidWith.zod.js +1 -1
  62. package/dist/billing/type/order/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
  63. package/dist/billing/type/order/v1/generated/validators/payTogetherRequest.zod.js +2 -2
  64. package/dist/billing/type/order/v1/generated/validators/paymentAction.zod.js +4 -4
  65. package/dist/billing/type/order/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  66. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
  67. package/dist/billing/type/order/v1/generated/validators/paymentOption.zod.js +1 -1
  68. package/dist/billing/type/order/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  69. package/dist/billing/type/order/v1/generated/validators/paymentPreview.zod.js +4 -4
  70. package/dist/billing/type/order/v1/generated/validators/paymentResult.zod.js +5 -8
  71. package/dist/billing/type/order/v1/generated/validators/paymentStatus.zod.js +1 -1
  72. package/dist/billing/type/order/v1/generated/validators/placedOrder.zod.d.ts +0 -1
  73. package/dist/billing/type/order/v1/generated/validators/price.zod.d.ts +7 -5
  74. package/dist/billing/type/order/v1/generated/validators/price.zod.js +14 -11
  75. package/dist/billing/type/order/v1/generated/validators/priceList.zod.d.ts +7 -5
  76. package/dist/billing/type/order/v1/generated/validators/priceOption.zod.d.ts +7 -5
  77. package/dist/billing/type/order/v1/generated/validators/priceOption.zod.js +7 -3
  78. package/dist/billing/type/order/v1/generated/validators/priceType.zod.d.ts +14 -0
  79. package/dist/billing/type/order/v1/generated/validators/priceType.zod.js +11 -0
  80. package/dist/billing/type/order/v1/generated/validators/productID.zod.js +1 -1
  81. package/dist/billing/type/order/v1/generated/validators/projectAssignment.zod.js +2 -2
  82. package/dist/billing/type/order/v1/generated/validators/purchaseOperation.zod.js +1 -1
  83. package/dist/billing/type/order/v1/generated/validators/quote.zod.d.ts +6 -3
  84. package/dist/billing/type/order/v1/generated/validators/quote.zod.js +4 -4
  85. package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.js +2 -2
  86. package/dist/billing/type/order/v1/generated/validators/quoteItem.zod.js +4 -4
  87. package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
  88. package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.js +8 -8
  89. package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.js +1 -1
  90. package/dist/billing/type/order/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
  91. package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
  92. package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.js +5 -5
  93. package/dist/billing/type/order/v1/generated/validators/quotedDiscount.zod.js +1 -1
  94. package/dist/billing/type/order/v1/generated/validators/rate.zod.d.ts +11 -0
  95. package/dist/billing/type/order/v1/generated/validators/rate.zod.js +14 -6
  96. package/dist/billing/type/order/v1/generated/validators/rateList.zod.d.ts +11 -0
  97. package/dist/billing/type/order/v1/generated/validators/refund.zod.js +3 -3
  98. package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.js +1 -1
  99. package/dist/billing/type/order/v1/generated/validators/refundReason.zod.js +1 -1
  100. package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.js +2 -2
  101. package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  102. package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.js +1 -1
  103. package/dist/billing/type/order/v1/generated/validators/scheduledChange.zod.js +2 -2
  104. package/dist/billing/type/order/v1/generated/validators/spendRow.zod.d.ts +8 -0
  105. package/dist/billing/type/order/v1/generated/validators/spendRow.zod.js +11 -0
  106. package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.d.ts +8 -0
  107. package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.js +1 -1
  108. package/dist/billing/type/order/v1/generated/validators/statement.zod.js +2 -2
  109. package/dist/billing/type/order/v1/generated/validators/statementItem.zod.d.ts +1 -0
  110. package/dist/billing/type/order/v1/generated/validators/statementItem.zod.js +4 -0
  111. package/dist/billing/type/order/v1/generated/validators/statementSummary.zod.d.ts +1 -0
  112. package/dist/billing/type/order/v1/generated/validators/statementType.zod.js +1 -1
  113. package/dist/billing/type/order/v1/generated/validators/subscription.zod.d.ts +7 -3
  114. package/dist/billing/type/order/v1/generated/validators/subscription.zod.js +20 -14
  115. package/dist/billing/type/order/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
  116. package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
  117. package/dist/billing/type/order/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  118. package/dist/billing/type/order/v1/generated/validators/terminationPolicy.zod.js +1 -1
  119. package/dist/billing/type/order/v1/generated/validators/tier.zod.js +1 -1
  120. package/dist/billing/type/order/v1/generated/validators/topUp.zod.js +8 -8
  121. package/dist/billing/type/order/v1/generated/validators/topUpCreate.zod.js +4 -4
  122. package/dist/billing/type/order/v1/generated/validators/transaction.zod.js +6 -6
  123. package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  124. package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.js +8 -7
  125. package/dist/billing/type/order/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  126. package/dist/billing/type/order/v1/generated/validators/usageType.zod.d.ts +14 -0
  127. package/dist/billing/type/order/v1/generated/validators/usageType.zod.js +11 -0
  128. package/dist/billing/type/order/v1/generated/validators/withdrawal.zod.js +2 -2
  129. package/dist/billing/type/order/v1/generated/validators/withdrawalItem.zod.js +2 -2
  130. package/dist/billing/type/order/v1/generated/validators/withdrawalSource.zod.js +1 -1
  131. package/dist/billing/type/quote/v1/generated/models.d.ts +4 -4
  132. package/dist/billing/type/quote/v1/generated/validators/funds.zod.js +4 -4
  133. package/dist/billing/v1/generated/functions.d.ts +176 -310
  134. package/dist/billing/v1/generated/functions.js +175 -309
  135. package/dist/billing/v1/generated/models.d.ts +429 -863
  136. package/dist/billing/v1/generated/models.js +13 -49
  137. package/dist/billing/v1/generated/schemas.zod.d.ts +166 -383
  138. package/dist/billing/v1/generated/schemas.zod.js +213 -372
  139. package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +22 -11
  140. package/dist/billing/v1/generated/validators/accountBalance.zod.js +8 -8
  141. package/dist/billing/v1/generated/validators/activeResource.zod.js +8 -5
  142. package/dist/billing/v1/generated/validators/allowance.zod.js +3 -3
  143. package/dist/billing/v1/generated/validators/applicability.zod.d.ts +22 -11
  144. package/dist/billing/v1/generated/validators/applicability.zod.js +12 -3
  145. package/dist/billing/v1/generated/validators/applicablePlan.zod.js +1 -1
  146. package/dist/billing/v1/generated/validators/billingAccount.zod.js +5 -5
  147. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  148. package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +14 -0
  149. package/dist/billing/v1/generated/validators/billingScheme.zod.js +11 -0
  150. package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +6 -3
  151. package/dist/billing/v1/generated/validators/cancellation.zod.js +4 -4
  152. package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +3 -3
  153. package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
  154. package/dist/billing/v1/generated/validators/cancellationItem.zod.js +6 -5
  155. package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +6 -3
  156. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
  157. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  158. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
  159. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
  160. package/dist/billing/v1/generated/validators/contact.zod.js +2 -2
  161. package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +22 -11
  162. package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
  163. package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +22 -11
  164. package/dist/billing/v1/generated/validators/creditGroup.zod.js +1 -1
  165. package/dist/billing/v1/generated/validators/creditNote.zod.js +4 -4
  166. package/dist/billing/v1/generated/validators/currency.zod.js +1 -1
  167. package/dist/billing/v1/generated/validators/discount.zod.d.ts +23 -12
  168. package/dist/billing/v1/generated/validators/discount.zod.js +4 -4
  169. package/dist/billing/v1/generated/validators/discountList.zod.d.ts +23 -12
  170. package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
  171. package/dist/billing/v1/generated/validators/funds.zod.js +4 -4
  172. package/dist/billing/v1/generated/validators/invoice.zod.d.ts +0 -1
  173. package/dist/billing/v1/generated/validators/invoice.zod.js +8 -8
  174. package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
  175. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +10 -4
  176. package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
  177. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -3
  178. package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +0 -1
  179. package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
  180. package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +2 -2
  181. package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
  182. package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +3 -3
  183. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +0 -1
  184. package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +5 -2
  185. package/dist/billing/v1/generated/validators/listPricesParams.zod.js +4 -1
  186. package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -0
  187. package/dist/billing/v1/generated/validators/listSpendParams.zod.js +3 -1
  188. package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +2 -2
  189. package/dist/billing/v1/generated/validators/objectIdentity.zod.js +1 -1
  190. package/dist/billing/v1/generated/validators/order.zod.d.ts +7 -4
  191. package/dist/billing/v1/generated/validators/order.zod.js +10 -12
  192. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +7 -3
  193. package/dist/billing/v1/generated/validators/orderItem.zod.js +16 -14
  194. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +7 -3
  195. package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
  196. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +7 -4
  197. package/dist/billing/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  198. package/dist/billing/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  199. package/dist/billing/v1/generated/validators/orderStatus.zod.js +1 -1
  200. package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
  201. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
  202. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +2 -2
  203. package/dist/billing/v1/generated/validators/paymentAction.zod.js +4 -4
  204. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  205. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
  206. package/dist/billing/v1/generated/validators/paymentOption.zod.js +1 -1
  207. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  208. package/dist/billing/v1/generated/validators/paymentPreview.zod.js +4 -4
  209. package/dist/billing/v1/generated/validators/paymentResult.zod.js +5 -8
  210. package/dist/billing/v1/generated/validators/paymentStatus.zod.js +1 -1
  211. package/dist/billing/v1/generated/validators/price.zod.d.ts +7 -5
  212. package/dist/billing/v1/generated/validators/price.zod.js +14 -11
  213. package/dist/billing/v1/generated/validators/priceList.zod.d.ts +7 -5
  214. package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +7 -5
  215. package/dist/billing/v1/generated/validators/priceOption.zod.js +7 -3
  216. package/dist/billing/v1/generated/validators/priceType.zod.d.ts +14 -0
  217. package/dist/billing/v1/generated/validators/priceType.zod.js +11 -0
  218. package/dist/billing/v1/generated/validators/productID.zod.js +1 -1
  219. package/dist/billing/v1/generated/validators/projectAssignment.zod.js +2 -2
  220. package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +1 -1
  221. package/dist/billing/v1/generated/validators/quote.zod.d.ts +6 -3
  222. package/dist/billing/v1/generated/validators/quote.zod.js +4 -4
  223. package/dist/billing/v1/generated/validators/quoteCancellation.zod.js +2 -2
  224. package/dist/billing/v1/generated/validators/quoteItem.zod.js +4 -4
  225. package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
  226. package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +8 -8
  227. package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +1 -1
  228. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
  229. package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
  230. package/dist/billing/v1/generated/validators/quoteRequest.zod.js +5 -5
  231. package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +1 -1
  232. package/dist/billing/v1/generated/validators/rate.zod.d.ts +11 -0
  233. package/dist/billing/v1/generated/validators/rate.zod.js +14 -6
  234. package/dist/billing/v1/generated/validators/rateList.zod.d.ts +11 -0
  235. package/dist/billing/v1/generated/validators/refund.zod.js +3 -3
  236. package/dist/billing/v1/generated/validators/refundPolicy.zod.js +1 -1
  237. package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
  238. package/dist/billing/v1/generated/validators/renewRequest.zod.js +2 -2
  239. package/dist/billing/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  240. package/dist/billing/v1/generated/validators/renewalPrice.zod.js +1 -1
  241. package/dist/billing/v1/generated/validators/scheduledChange.zod.js +2 -2
  242. package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +8 -0
  243. package/dist/billing/v1/generated/validators/spendRow.zod.js +11 -0
  244. package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +8 -0
  245. package/dist/billing/v1/generated/validators/spendRowList.zod.js +1 -1
  246. package/dist/billing/v1/generated/validators/statement.zod.js +2 -2
  247. package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +1 -0
  248. package/dist/billing/v1/generated/validators/statementItem.zod.js +4 -0
  249. package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +1 -0
  250. package/dist/billing/v1/generated/validators/statementType.zod.js +1 -1
  251. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +7 -3
  252. package/dist/billing/v1/generated/validators/subscription.zod.js +20 -14
  253. package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
  254. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
  255. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  256. package/dist/billing/v1/generated/validators/terminationPolicy.zod.js +1 -1
  257. package/dist/billing/v1/generated/validators/tier.zod.js +1 -1
  258. package/dist/billing/v1/generated/validators/topUp.zod.js +8 -8
  259. package/dist/billing/v1/generated/validators/topUpCreate.zod.js +4 -4
  260. package/dist/billing/v1/generated/validators/transaction.zod.js +6 -6
  261. package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  262. package/dist/billing/v1/generated/validators/usageCharge.zod.js +8 -7
  263. package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  264. package/dist/billing/v1/generated/validators/usageType.zod.d.ts +14 -0
  265. package/dist/billing/v1/generated/validators/usageType.zod.js +11 -0
  266. package/dist/billing/v1/generated/validators/withdrawal.zod.js +2 -2
  267. package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +2 -2
  268. package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +1 -1
  269. package/dist/canopy/v1/generated/functions.d.ts +1 -1
  270. package/dist/canopy/v1/generated/functions.js +1 -1
  271. package/dist/canopy/v1/generated/models.d.ts +379 -779
  272. package/dist/canopy/v1/generated/models.js +12 -44
  273. package/dist/canopy/v1/generated/schemas.zod.d.ts +1 -1
  274. package/dist/canopy/v1/generated/schemas.zod.js +1 -1
  275. package/dist/canopy/v1/generated/validators/accountBalance.zod.d.ts +22 -11
  276. package/dist/canopy/v1/generated/validators/accountBalance.zod.js +8 -8
  277. package/dist/canopy/v1/generated/validators/activeResource.zod.js +8 -5
  278. package/dist/canopy/v1/generated/validators/allowance.zod.js +3 -3
  279. package/dist/canopy/v1/generated/validators/applicability.zod.d.ts +22 -11
  280. package/dist/canopy/v1/generated/validators/applicability.zod.js +12 -3
  281. package/dist/canopy/v1/generated/validators/applicablePlan.zod.js +1 -1
  282. package/dist/canopy/v1/generated/validators/billingAccount.zod.js +5 -5
  283. package/dist/canopy/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  284. package/dist/canopy/v1/generated/validators/billingScheme.zod.d.ts +39 -0
  285. package/dist/canopy/v1/generated/validators/billingScheme.zod.js +36 -0
  286. package/dist/canopy/v1/generated/validators/cancellation.zod.d.ts +6 -3
  287. package/dist/canopy/v1/generated/validators/cancellation.zod.js +4 -4
  288. package/dist/canopy/v1/generated/validators/cancellationCreate.zod.js +3 -3
  289. package/dist/canopy/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
  290. package/dist/canopy/v1/generated/validators/cancellationItem.zod.js +6 -5
  291. package/dist/canopy/v1/generated/validators/cancellationList.zod.d.ts +6 -3
  292. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
  293. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  294. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
  295. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
  296. package/dist/canopy/v1/generated/validators/contact.zod.js +2 -2
  297. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +0 -1
  298. package/dist/canopy/v1/generated/validators/creditGrant.zod.d.ts +22 -11
  299. package/dist/canopy/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
  300. package/dist/canopy/v1/generated/validators/creditGroup.zod.d.ts +22 -11
  301. package/dist/canopy/v1/generated/validators/creditGroup.zod.js +1 -1
  302. package/dist/canopy/v1/generated/validators/creditNote.zod.js +4 -4
  303. package/dist/canopy/v1/generated/validators/currency.zod.js +1 -1
  304. package/dist/canopy/v1/generated/validators/discount.zod.d.ts +23 -12
  305. package/dist/canopy/v1/generated/validators/discount.zod.js +4 -4
  306. package/dist/canopy/v1/generated/validators/discountList.zod.d.ts +23 -12
  307. package/dist/canopy/v1/generated/validators/entitlement.zod.js +1 -1
  308. package/dist/canopy/v1/generated/validators/funds.zod.js +4 -4
  309. package/dist/canopy/v1/generated/validators/invoice.zod.d.ts +0 -1
  310. package/dist/canopy/v1/generated/validators/invoice.zod.js +8 -8
  311. package/dist/canopy/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
  312. package/dist/canopy/v1/generated/validators/invoiceItem.zod.js +10 -4
  313. package/dist/canopy/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
  314. package/dist/canopy/v1/generated/validators/invoiceItemProration.zod.js +1 -3
  315. package/dist/canopy/v1/generated/validators/invoiceList.zod.d.ts +0 -1
  316. package/dist/canopy/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
  317. package/dist/canopy/v1/generated/validators/invoiceStatus.zod.js +2 -2
  318. package/dist/canopy/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
  319. package/dist/canopy/v1/generated/validators/invoiceSummary.zod.js +3 -3
  320. package/dist/canopy/v1/generated/validators/monthlyStatement.zod.js +2 -2
  321. package/dist/canopy/v1/generated/validators/objectIdentity.zod.js +1 -1
  322. package/dist/canopy/v1/generated/validators/order.zod.d.ts +7 -4
  323. package/dist/canopy/v1/generated/validators/order.zod.js +10 -12
  324. package/dist/canopy/v1/generated/validators/orderItem.zod.d.ts +7 -3
  325. package/dist/canopy/v1/generated/validators/orderItem.zod.js +16 -14
  326. package/dist/canopy/v1/generated/validators/orderItemList.zod.d.ts +7 -3
  327. package/dist/canopy/v1/generated/validators/orderItemStatus.zod.js +1 -1
  328. package/dist/canopy/v1/generated/validators/orderList.zod.d.ts +7 -4
  329. package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  330. package/dist/canopy/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  331. package/dist/canopy/v1/generated/validators/orderStatus.zod.js +1 -1
  332. package/dist/canopy/v1/generated/validators/paidWith.zod.js +1 -1
  333. package/dist/canopy/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
  334. package/dist/canopy/v1/generated/validators/payTogetherRequest.zod.js +2 -2
  335. package/dist/canopy/v1/generated/validators/paymentAction.zod.js +4 -4
  336. package/dist/canopy/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  337. package/dist/canopy/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
  338. package/dist/canopy/v1/generated/validators/paymentOption.zod.js +1 -1
  339. package/dist/canopy/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  340. package/dist/canopy/v1/generated/validators/paymentPreview.zod.js +4 -4
  341. package/dist/canopy/v1/generated/validators/paymentResult.zod.js +5 -8
  342. package/dist/canopy/v1/generated/validators/paymentStatus.zod.js +1 -1
  343. package/dist/canopy/v1/generated/validators/placedOrder.zod.d.ts +0 -1
  344. package/dist/canopy/v1/generated/validators/price.zod.d.ts +7 -5
  345. package/dist/canopy/v1/generated/validators/price.zod.js +14 -11
  346. package/dist/canopy/v1/generated/validators/priceList.zod.d.ts +7 -5
  347. package/dist/canopy/v1/generated/validators/priceOption.zod.d.ts +7 -5
  348. package/dist/canopy/v1/generated/validators/priceOption.zod.js +7 -3
  349. package/dist/canopy/v1/generated/validators/priceType.zod.d.ts +39 -0
  350. package/dist/canopy/v1/generated/validators/priceType.zod.js +36 -0
  351. package/dist/canopy/v1/generated/validators/productID.zod.js +1 -1
  352. package/dist/canopy/v1/generated/validators/projectAssignment.zod.js +2 -2
  353. package/dist/canopy/v1/generated/validators/purchaseOperation.zod.js +1 -1
  354. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.d.ts +6 -3
  355. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.js +4 -4
  356. package/dist/canopy/v1/generated/validators/quoteA200529.zod.d.ts +6 -3
  357. package/dist/canopy/v1/generated/validators/quoteCancellation.zod.js +2 -2
  358. package/dist/canopy/v1/generated/validators/quoteItem.zod.js +4 -4
  359. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
  360. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.js +8 -8
  361. package/dist/canopy/v1/generated/validators/quoteRenewal.zod.js +1 -1
  362. package/dist/canopy/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
  363. package/dist/canopy/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
  364. package/dist/canopy/v1/generated/validators/quoteRequest.zod.js +5 -5
  365. package/dist/canopy/v1/generated/validators/quotedDiscount.zod.js +1 -1
  366. package/dist/canopy/v1/generated/validators/rate.zod.d.ts +11 -0
  367. package/dist/canopy/v1/generated/validators/rate.zod.js +14 -6
  368. package/dist/canopy/v1/generated/validators/rateList.zod.d.ts +11 -0
  369. package/dist/canopy/v1/generated/validators/refund.zod.js +3 -3
  370. package/dist/canopy/v1/generated/validators/refundPolicy.zod.js +1 -1
  371. package/dist/canopy/v1/generated/validators/refundReason.zod.js +1 -1
  372. package/dist/canopy/v1/generated/validators/renewRequest.zod.js +2 -2
  373. package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  374. package/dist/canopy/v1/generated/validators/renewalPrice.zod.js +1 -1
  375. package/dist/canopy/v1/generated/validators/scheduledChange.zod.js +2 -2
  376. package/dist/canopy/v1/generated/validators/spendRow.zod.d.ts +8 -0
  377. package/dist/canopy/v1/generated/validators/spendRow.zod.js +11 -0
  378. package/dist/canopy/v1/generated/validators/spendRowList.zod.d.ts +8 -0
  379. package/dist/canopy/v1/generated/validators/spendRowList.zod.js +1 -1
  380. package/dist/canopy/v1/generated/validators/statement.zod.js +2 -2
  381. package/dist/canopy/v1/generated/validators/statementItem.zod.d.ts +1 -0
  382. package/dist/canopy/v1/generated/validators/statementItem.zod.js +4 -0
  383. package/dist/canopy/v1/generated/validators/statementSummary.zod.d.ts +1 -0
  384. package/dist/canopy/v1/generated/validators/statementType.zod.js +1 -1
  385. package/dist/canopy/v1/generated/validators/subscription.zod.d.ts +7 -3
  386. package/dist/canopy/v1/generated/validators/subscription.zod.js +20 -14
  387. package/dist/canopy/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
  388. package/dist/canopy/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
  389. package/dist/canopy/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  390. package/dist/canopy/v1/generated/validators/terminationPolicy.zod.js +1 -1
  391. package/dist/canopy/v1/generated/validators/tier.zod.js +1 -1
  392. package/dist/canopy/v1/generated/validators/topUp.zod.js +8 -8
  393. package/dist/canopy/v1/generated/validators/topUpCreate.zod.js +4 -4
  394. package/dist/canopy/v1/generated/validators/transaction.zod.js +6 -6
  395. package/dist/canopy/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  396. package/dist/canopy/v1/generated/validators/usageCharge.zod.js +8 -7
  397. package/dist/canopy/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  398. package/dist/canopy/v1/generated/validators/usageType.zod.d.ts +39 -0
  399. package/dist/canopy/v1/generated/validators/usageType.zod.js +36 -0
  400. package/dist/canopy/v1/generated/validators/withdrawal.zod.js +2 -2
  401. package/dist/canopy/v1/generated/validators/withdrawalItem.zod.js +2 -2
  402. package/dist/canopy/v1/generated/validators/withdrawalSource.zod.js +1 -1
  403. package/dist/compute/v1/generated/functions.d.ts +15 -15
  404. package/dist/compute/v1/generated/functions.js +13 -13
  405. package/dist/compute/v1/generated/models.d.ts +37 -29
  406. package/dist/compute/v1/generated/models.js +6 -6
  407. package/dist/compute/v1/generated/schemas.zod.d.ts +69 -69
  408. package/dist/compute/v1/generated/schemas.zod.js +15 -15
  409. package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.d.ts +5 -5
  410. package/dist/compute/v1/generated/validators/allocateFloatingIPQuoteRequestBody.zod.js +2 -2
  411. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.d.ts +5 -5
  412. package/dist/compute/v1/generated/validators/allocateFloatingIPRequestBody.zod.js +2 -2
  413. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +2 -2
  414. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.js +2 -2
  415. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.d.ts +2 -2
  416. package/dist/compute/v1/generated/validators/attachDiskRequestBody.zod.js +2 -2
  417. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.d.ts +2 -2
  418. package/dist/compute/v1/generated/validators/attachFloatingIPRequestBody.zod.js +2 -2
  419. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.d.ts +2 -2
  420. package/dist/compute/v1/generated/validators/attachPortRequestBody.zod.js +2 -2
  421. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.d.ts +2 -2
  422. package/dist/compute/v1/generated/validators/backupCapacityPack.zod.js +3 -3
  423. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.d.ts +2 -2
  424. package/dist/compute/v1/generated/validators/backupCapacityPackListResponseBody.zod.js +2 -2
  425. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.d.ts +2 -2
  426. package/dist/compute/v1/generated/validators/backupListResponseBody.zod.js +2 -2
  427. package/dist/compute/v1/generated/validators/backupOperation.zod.d.ts +2 -2
  428. package/dist/compute/v1/generated/validators/backupOperation.zod.js +2 -2
  429. package/dist/compute/v1/generated/validators/backupResource.zod.d.ts +2 -2
  430. package/dist/compute/v1/generated/validators/backupResource.zod.js +2 -2
  431. package/dist/compute/v1/generated/validators/backupService.zod.d.ts +10 -10
  432. package/dist/compute/v1/generated/validators/backupService.zod.js +7 -7
  433. package/dist/compute/v1/generated/validators/billingChoice.zod.d.ts +5 -5
  434. package/dist/compute/v1/generated/validators/billingChoice.zod.js +6 -4
  435. package/dist/compute/v1/generated/validators/billingPeriod.zod.d.ts +2 -2
  436. package/dist/compute/v1/generated/validators/billingPeriod.zod.js +2 -2
  437. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.d.ts +2 -2
  438. package/dist/compute/v1/generated/validators/bindFloatingIPRequestBody.zod.js +2 -2
  439. package/dist/compute/v1/generated/validators/bootDisk.zod.d.ts +5 -5
  440. package/dist/compute/v1/generated/validators/bootDisk.zod.js +2 -2
  441. package/dist/compute/v1/generated/validators/checkoutMode.zod.d.ts +2 -2
  442. package/dist/compute/v1/generated/validators/checkoutMode.zod.js +2 -2
  443. package/dist/compute/v1/generated/validators/checkoutOptions.zod.d.ts +2 -2
  444. package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +2 -2
  445. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.d.ts +2 -2
  446. package/dist/compute/v1/generated/validators/commandResultResponseBody.zod.js +2 -2
  447. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.d.ts +2 -2
  448. package/dist/compute/v1/generated/validators/consoleOutputResponseBody.zod.js +2 -2
  449. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.d.ts +2 -2
  450. package/dist/compute/v1/generated/validators/consoleResponseBody.zod.js +2 -2
  451. package/dist/compute/v1/generated/validators/createBackupCapacityPackQuoteRequestBody.zod.d.ts +5 -5
  452. package/dist/compute/v1/generated/validators/createBackupCapacityPackQuoteRequestBody.zod.js +2 -2
  453. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.d.ts +5 -5
  454. package/dist/compute/v1/generated/validators/createBackupCapacityPackRequestBody.zod.js +2 -2
  455. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +2 -2
  456. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.js +2 -2
  457. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.d.ts +2 -2
  458. package/dist/compute/v1/generated/validators/createBackupRequestBody.zod.js +2 -2
  459. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.d.ts +2 -2
  460. package/dist/compute/v1/generated/validators/createBackupServiceRequestBody.zod.js +2 -2
  461. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +9 -9
  462. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.js +2 -2
  463. package/dist/compute/v1/generated/validators/createDiskQuoteRequestBody.zod.d.ts +5 -5
  464. package/dist/compute/v1/generated/validators/createDiskQuoteRequestBody.zod.js +2 -2
  465. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.d.ts +5 -5
  466. package/dist/compute/v1/generated/validators/createDiskRequestBody.zod.js +2 -2
  467. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +2 -2
  468. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.js +2 -2
  469. package/dist/compute/v1/generated/validators/createImageQuoteRequestBody.zod.d.ts +5 -5
  470. package/dist/compute/v1/generated/validators/createImageQuoteRequestBody.zod.js +2 -2
  471. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.d.ts +5 -5
  472. package/dist/compute/v1/generated/validators/createImageRequestBody.zod.js +2 -2
  473. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +2 -2
  474. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.js +2 -2
  475. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.d.ts +2 -2
  476. package/dist/compute/v1/generated/validators/createPeeringRequestBody.zod.js +2 -2
  477. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.d.ts +2 -2
  478. package/dist/compute/v1/generated/validators/createPortRequestBody.zod.js +2 -2
  479. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.d.ts +2 -2
  480. package/dist/compute/v1/generated/validators/createPrivateNetworkRequestBody.zod.js +2 -2
  481. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.d.ts +2 -2
  482. package/dist/compute/v1/generated/validators/createRouteRequestBody.zod.js +2 -2
  483. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.d.ts +2 -2
  484. package/dist/compute/v1/generated/validators/createSecurityGroupRequestBody.zod.js +2 -2
  485. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.d.ts +2 -2
  486. package/dist/compute/v1/generated/validators/createSecurityRuleRequestBody.zod.js +2 -2
  487. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.d.ts +2 -2
  488. package/dist/compute/v1/generated/validators/createSnapshotRequestBody.zod.js +2 -2
  489. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.d.ts +2 -2
  490. package/dist/compute/v1/generated/validators/createSubnetRequestBody.zod.js +2 -2
  491. package/dist/compute/v1/generated/validators/cursorPagination.zod.d.ts +2 -2
  492. package/dist/compute/v1/generated/validators/cursorPagination.zod.js +2 -2
  493. package/dist/compute/v1/generated/validators/diskAttachment.zod.d.ts +2 -2
  494. package/dist/compute/v1/generated/validators/diskAttachment.zod.js +2 -2
  495. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.d.ts +2 -2
  496. package/dist/compute/v1/generated/validators/diskAttachmentList.zod.js +2 -2
  497. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.d.ts +2 -2
  498. package/dist/compute/v1/generated/validators/diskListResponseBody.zod.js +2 -2
  499. package/dist/compute/v1/generated/validators/diskOperation.zod.d.ts +2 -2
  500. package/dist/compute/v1/generated/validators/diskOperation.zod.js +2 -2
  501. package/dist/compute/v1/generated/validators/diskResource.zod.d.ts +2 -2
  502. package/dist/compute/v1/generated/validators/diskResource.zod.js +2 -2
  503. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.d.ts +5 -5
  504. package/dist/compute/v1/generated/validators/diskTypeListResponseBody.zod.js +2 -2
  505. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.d.ts +2 -2
  506. package/dist/compute/v1/generated/validators/diskTypePurpose.zod.js +2 -2
  507. package/dist/compute/v1/generated/validators/diskTypeResource.zod.d.ts +5 -5
  508. package/dist/compute/v1/generated/validators/diskTypeResource.zod.js +2 -2
  509. package/dist/compute/v1/generated/validators/error.zod.d.ts +2 -2
  510. package/dist/compute/v1/generated/validators/error.zod.js +2 -2
  511. package/dist/compute/v1/generated/validators/existingBootDisk.zod.d.ts +2 -2
  512. package/dist/compute/v1/generated/validators/existingBootDisk.zod.js +2 -2
  513. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.d.ts +2 -2
  514. package/dist/compute/v1/generated/validators/floatingIPListResponseBody.zod.js +2 -2
  515. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.d.ts +2 -2
  516. package/dist/compute/v1/generated/validators/floatingIPOperation.zod.js +2 -2
  517. package/dist/compute/v1/generated/validators/floatingIPResource.zod.d.ts +2 -2
  518. package/dist/compute/v1/generated/validators/floatingIPResource.zod.js +2 -2
  519. package/dist/compute/v1/generated/validators/funds.zod.d.ts +2 -2
  520. package/dist/compute/v1/generated/validators/funds.zod.js +6 -6
  521. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.d.ts +2 -2
  522. package/dist/compute/v1/generated/validators/getInstanceConsoleOutputParams.zod.js +2 -2
  523. package/dist/compute/v1/generated/validators/iPv4Binding.zod.d.ts +2 -2
  524. package/dist/compute/v1/generated/validators/iPv4Binding.zod.js +2 -2
  525. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.d.ts +8 -8
  526. package/dist/compute/v1/generated/validators/iPv4PoolListResponseBody.zod.js +2 -2
  527. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.d.ts +8 -8
  528. package/dist/compute/v1/generated/validators/iPv4PoolResource.zod.js +2 -2
  529. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.d.ts +2 -2
  530. package/dist/compute/v1/generated/validators/iPv6ResponseBody.zod.js +2 -2
  531. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.d.ts +2 -2
  532. package/dist/compute/v1/generated/validators/imageListResponseBody.zod.js +2 -2
  533. package/dist/compute/v1/generated/validators/imageOperation.zod.d.ts +2 -2
  534. package/dist/compute/v1/generated/validators/imageOperation.zod.js +2 -2
  535. package/dist/compute/v1/generated/validators/imageResource.zod.d.ts +2 -2
  536. package/dist/compute/v1/generated/validators/imageResource.zod.js +2 -2
  537. package/dist/compute/v1/generated/validators/imageVisibility.zod.d.ts +2 -2
  538. package/dist/compute/v1/generated/validators/imageVisibility.zod.js +2 -2
  539. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.d.ts +2 -2
  540. package/dist/compute/v1/generated/validators/instanceListResponseBody.zod.js +2 -2
  541. package/dist/compute/v1/generated/validators/instanceOperation.zod.d.ts +2 -2
  542. package/dist/compute/v1/generated/validators/instanceOperation.zod.js +2 -2
  543. package/dist/compute/v1/generated/validators/instanceResource.zod.d.ts +2 -2
  544. package/dist/compute/v1/generated/validators/instanceResource.zod.js +2 -2
  545. package/dist/compute/v1/generated/validators/instanceRestriction.zod.d.ts +2 -2
  546. package/dist/compute/v1/generated/validators/instanceRestriction.zod.js +2 -2
  547. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.d.ts +5 -5
  548. package/dist/compute/v1/generated/validators/instanceTypeListResponseBody.zod.js +2 -2
  549. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.d.ts +5 -5
  550. package/dist/compute/v1/generated/validators/instanceTypeResource.zod.js +2 -2
  551. package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.d.ts +11 -11
  552. package/dist/compute/v1/generated/validators/launchInstanceQuoteRequestBody.zod.js +2 -2
  553. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.d.ts +11 -11
  554. package/dist/compute/v1/generated/validators/launchInstanceRequestBody.zod.js +2 -2
  555. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +2 -2
  556. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.js +2 -2
  557. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.d.ts +2 -2
  558. package/dist/compute/v1/generated/validators/listAvailabilityZonesParams.zod.js +2 -2
  559. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.d.ts +2 -2
  560. package/dist/compute/v1/generated/validators/listBackupCapacityPacksParams.zod.js +2 -2
  561. package/dist/compute/v1/generated/validators/listBackupsParams.zod.d.ts +2 -2
  562. package/dist/compute/v1/generated/validators/listBackupsParams.zod.js +2 -2
  563. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.d.ts +2 -2
  564. package/dist/compute/v1/generated/validators/listDiskTypesParams.zod.js +2 -2
  565. package/dist/compute/v1/generated/validators/listDisksParams.zod.d.ts +2 -2
  566. package/dist/compute/v1/generated/validators/listDisksParams.zod.js +2 -2
  567. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.d.ts +2 -2
  568. package/dist/compute/v1/generated/validators/listFloatingIpsParams.zod.js +2 -2
  569. package/dist/compute/v1/generated/validators/listImagesParams.zod.d.ts +2 -2
  570. package/dist/compute/v1/generated/validators/listImagesParams.zod.js +2 -2
  571. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.d.ts +2 -2
  572. package/dist/compute/v1/generated/validators/listInstanceDisksParams.zod.js +2 -2
  573. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.d.ts +2 -2
  574. package/dist/compute/v1/generated/validators/listInstancePortsParams.zod.js +2 -2
  575. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.d.ts +2 -2
  576. package/dist/compute/v1/generated/validators/listInstanceTypesParams.zod.js +2 -2
  577. package/dist/compute/v1/generated/validators/listInstancesParams.zod.d.ts +2 -2
  578. package/dist/compute/v1/generated/validators/listInstancesParams.zod.js +2 -2
  579. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.d.ts +2 -2
  580. package/dist/compute/v1/generated/validators/listIpv4PoolsParams.zod.js +2 -2
  581. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.d.ts +2 -2
  582. package/dist/compute/v1/generated/validators/listOperationLogsParams.zod.js +2 -2
  583. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.d.ts +2 -2
  584. package/dist/compute/v1/generated/validators/listPeeringsParams.zod.js +2 -2
  585. package/dist/compute/v1/generated/validators/listPortsParams.zod.d.ts +2 -2
  586. package/dist/compute/v1/generated/validators/listPortsParams.zod.js +2 -2
  587. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.d.ts +2 -2
  588. package/dist/compute/v1/generated/validators/listPrivateNetworksParams.zod.js +2 -2
  589. package/dist/compute/v1/generated/validators/listRegionsParams.zod.d.ts +2 -2
  590. package/dist/compute/v1/generated/validators/listRegionsParams.zod.js +2 -2
  591. package/dist/compute/v1/generated/validators/listRoutesParams.zod.d.ts +2 -2
  592. package/dist/compute/v1/generated/validators/listRoutesParams.zod.js +2 -2
  593. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.d.ts +2 -2
  594. package/dist/compute/v1/generated/validators/listSecurityGroupRulesParams.zod.js +2 -2
  595. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.d.ts +2 -2
  596. package/dist/compute/v1/generated/validators/listSecurityGroupsParams.zod.js +2 -2
  597. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.d.ts +2 -2
  598. package/dist/compute/v1/generated/validators/listSnapshotsParams.zod.js +2 -2
  599. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.d.ts +2 -2
  600. package/dist/compute/v1/generated/validators/listSubnetsParams.zod.js +2 -2
  601. package/dist/compute/v1/generated/validators/money.zod.d.ts +2 -2
  602. package/dist/compute/v1/generated/validators/money.zod.js +2 -2
  603. package/dist/compute/v1/generated/validators/newBootDisk.zod.d.ts +5 -5
  604. package/dist/compute/v1/generated/validators/newBootDisk.zod.js +2 -2
  605. package/dist/compute/v1/generated/validators/newCompute.zod.d.ts +5 -5
  606. package/dist/compute/v1/generated/validators/newCompute.zod.js +2 -2
  607. package/dist/compute/v1/generated/validators/newFloatingIP.zod.d.ts +5 -5
  608. package/dist/compute/v1/generated/validators/newFloatingIP.zod.js +2 -2
  609. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.d.ts +2 -2
  610. package/dist/compute/v1/generated/validators/nextFreeCidrResponseBody.zod.js +2 -2
  611. package/dist/compute/v1/generated/validators/offsetPagination.zod.d.ts +2 -2
  612. package/dist/compute/v1/generated/validators/offsetPagination.zod.js +2 -2
  613. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.d.ts +2 -2
  614. package/dist/compute/v1/generated/validators/operationLogListResponseBody.zod.js +2 -2
  615. package/dist/compute/v1/generated/validators/operationLogResource.zod.d.ts +2 -2
  616. package/dist/compute/v1/generated/validators/operationLogResource.zod.js +2 -2
  617. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.d.ts +2 -2
  618. package/dist/compute/v1/generated/validators/peeringListResponseBody.zod.js +2 -2
  619. package/dist/compute/v1/generated/validators/peeringOperation.zod.d.ts +2 -2
  620. package/dist/compute/v1/generated/validators/peeringOperation.zod.js +2 -2
  621. package/dist/compute/v1/generated/validators/peeringResource.zod.d.ts +2 -2
  622. package/dist/compute/v1/generated/validators/peeringResource.zod.js +2 -2
  623. package/dist/compute/v1/generated/validators/placedOrder.zod.d.ts +2 -2
  624. package/dist/compute/v1/generated/validators/placedOrder.zod.js +2 -2
  625. package/dist/compute/v1/generated/validators/portAddress.zod.d.ts +2 -2
  626. package/dist/compute/v1/generated/validators/portAddress.zod.js +2 -2
  627. package/dist/compute/v1/generated/validators/portAttachment.zod.d.ts +2 -2
  628. package/dist/compute/v1/generated/validators/portAttachment.zod.js +2 -2
  629. package/dist/compute/v1/generated/validators/portAttachmentList.zod.d.ts +2 -2
  630. package/dist/compute/v1/generated/validators/portAttachmentList.zod.js +2 -2
  631. package/dist/compute/v1/generated/validators/portListResponseBody.zod.d.ts +2 -2
  632. package/dist/compute/v1/generated/validators/portListResponseBody.zod.js +2 -2
  633. package/dist/compute/v1/generated/validators/portOperation.zod.d.ts +2 -2
  634. package/dist/compute/v1/generated/validators/portOperation.zod.js +2 -2
  635. package/dist/compute/v1/generated/validators/portResource.zod.d.ts +2 -2
  636. package/dist/compute/v1/generated/validators/portResource.zod.js +2 -2
  637. package/dist/compute/v1/generated/validators/powerRequest.zod.d.ts +2 -2
  638. package/dist/compute/v1/generated/validators/powerRequest.zod.js +2 -2
  639. package/dist/compute/v1/generated/validators/pricing.zod.d.ts +5 -5
  640. package/dist/compute/v1/generated/validators/pricing.zod.js +2 -2
  641. package/dist/compute/v1/generated/validators/pricingOption.zod.d.ts +5 -5
  642. package/dist/compute/v1/generated/validators/pricingOption.zod.js +12 -10
  643. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.d.ts +2 -2
  644. package/dist/compute/v1/generated/validators/privateNetworkListResponseBody.zod.js +2 -2
  645. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.d.ts +2 -2
  646. package/dist/compute/v1/generated/validators/privateNetworkResource.zod.js +2 -2
  647. package/dist/compute/v1/generated/validators/quote.zod.d.ts +2 -2
  648. package/dist/compute/v1/generated/validators/quote.zod.js +2 -2
  649. package/dist/compute/v1/generated/validators/quoteItem.zod.d.ts +2 -2
  650. package/dist/compute/v1/generated/validators/quoteItem.zod.js +2 -2
  651. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.d.ts +2 -2
  652. package/dist/compute/v1/generated/validators/rebootInstanceRequestBody.zod.js +2 -2
  653. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.d.ts +2 -2
  654. package/dist/compute/v1/generated/validators/rebuildInstanceRequestBody.zod.js +2 -2
  655. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.d.ts +2 -2
  656. package/dist/compute/v1/generated/validators/rebuildInstanceResponseBody.zod.js +2 -2
  657. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.d.ts +5 -5
  658. package/dist/compute/v1/generated/validators/regionListResponseBody.zod.js +2 -2
  659. package/dist/compute/v1/generated/validators/regionResource.zod.d.ts +5 -5
  660. package/dist/compute/v1/generated/validators/regionResource.zod.js +2 -2
  661. package/dist/compute/v1/generated/validators/releaseResource.zod.d.ts +2 -2
  662. package/dist/compute/v1/generated/validators/releaseResource.zod.js +2 -2
  663. package/dist/compute/v1/generated/validators/releaseSetItem.zod.d.ts +2 -2
  664. package/dist/compute/v1/generated/validators/releaseSetItem.zod.js +2 -2
  665. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.d.ts +2 -2
  666. package/dist/compute/v1/generated/validators/renameBackupRequestBody.zod.js +2 -2
  667. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.d.ts +2 -2
  668. package/dist/compute/v1/generated/validators/renameDiskRequestBody.zod.js +2 -2
  669. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.d.ts +2 -2
  670. package/dist/compute/v1/generated/validators/renameImageRequestBody.zod.js +2 -2
  671. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.d.ts +2 -2
  672. package/dist/compute/v1/generated/validators/renameInstanceRequestBody.zod.js +2 -2
  673. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.d.ts +2 -2
  674. package/dist/compute/v1/generated/validators/renamePrivateNetworkRequestBody.zod.js +2 -2
  675. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.d.ts +2 -2
  676. package/dist/compute/v1/generated/validators/renameSecurityGroupRequestBody.zod.js +2 -2
  677. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.d.ts +2 -2
  678. package/dist/compute/v1/generated/validators/renameSnapshotRequestBody.zod.js +2 -2
  679. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.d.ts +2 -2
  680. package/dist/compute/v1/generated/validators/resetPasswordRequestBody.zod.js +2 -2
  681. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.d.ts +2 -2
  682. package/dist/compute/v1/generated/validators/resetPasswordResponseBody.zod.js +2 -2
  683. package/dist/compute/v1/generated/validators/resizeDiskQuoteRequestBody.zod.d.ts +2 -2
  684. package/dist/compute/v1/generated/validators/resizeDiskQuoteRequestBody.zod.js +2 -2
  685. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.d.ts +2 -2
  686. package/dist/compute/v1/generated/validators/resizeDiskRequestBody.zod.js +2 -2
  687. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +2 -2
  688. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.js +2 -2
  689. package/dist/compute/v1/generated/validators/resizeInstanceQuoteRequestBody.zod.d.ts +2 -2
  690. package/dist/compute/v1/generated/validators/resizeInstanceQuoteRequestBody.zod.js +2 -2
  691. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.d.ts +2 -2
  692. package/dist/compute/v1/generated/validators/resizeInstanceRequestBody.zod.js +2 -2
  693. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +2 -2
  694. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.js +2 -2
  695. package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.d.ts +5 -5
  696. package/dist/compute/v1/generated/validators/restoreBackupQuoteRequestBody.zod.js +2 -2
  697. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.d.ts +5 -5
  698. package/dist/compute/v1/generated/validators/restoreBackupRequestBody.zod.js +2 -2
  699. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.d.ts +2 -2
  700. package/dist/compute/v1/generated/validators/revertDiskRequestBody.zod.js +2 -2
  701. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.d.ts +2 -2
  702. package/dist/compute/v1/generated/validators/routeListResponseBody.zod.js +2 -2
  703. package/dist/compute/v1/generated/validators/routeResource.zod.d.ts +2 -2
  704. package/dist/compute/v1/generated/validators/routeResource.zod.js +2 -2
  705. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.d.ts +2 -2
  706. package/dist/compute/v1/generated/validators/runCommandRequestBody.zod.js +2 -2
  707. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.d.ts +2 -2
  708. package/dist/compute/v1/generated/validators/securityGroupListResponseBody.zod.js +2 -2
  709. package/dist/compute/v1/generated/validators/securityGroupResource.zod.d.ts +2 -2
  710. package/dist/compute/v1/generated/validators/securityGroupResource.zod.js +2 -2
  711. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.d.ts +2 -2
  712. package/dist/compute/v1/generated/validators/securityRuleListResponseBody.zod.js +2 -2
  713. package/dist/compute/v1/generated/validators/securityRuleResource.zod.d.ts +2 -2
  714. package/dist/compute/v1/generated/validators/securityRuleResource.zod.js +2 -2
  715. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthQuoteRequestBody.zod.d.ts +2 -2
  716. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthQuoteRequestBody.zod.js +2 -2
  717. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.d.ts +2 -2
  718. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthRequestBody.zod.js +2 -2
  719. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +2 -2
  720. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.js +2 -2
  721. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.d.ts +2 -2
  722. package/dist/compute/v1/generated/validators/setInstanceLabelsRequestBody.zod.js +2 -2
  723. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.d.ts +2 -2
  724. package/dist/compute/v1/generated/validators/setInstanceNotesRequestBody.zod.js +2 -2
  725. package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.d.ts +5 -5
  726. package/dist/compute/v1/generated/validators/setSnapshotQuotaQuoteRequestBody.zod.js +2 -2
  727. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.d.ts +5 -5
  728. package/dist/compute/v1/generated/validators/setSnapshotQuotaRequestBody.zod.js +2 -2
  729. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +8 -8
  730. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.js +2 -2
  731. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.d.ts +2 -2
  732. package/dist/compute/v1/generated/validators/snapshotListResponseBody.zod.js +2 -2
  733. package/dist/compute/v1/generated/validators/snapshotOperation.zod.d.ts +2 -2
  734. package/dist/compute/v1/generated/validators/snapshotOperation.zod.js +2 -2
  735. package/dist/compute/v1/generated/validators/snapshotQuota.zod.d.ts +8 -8
  736. package/dist/compute/v1/generated/validators/snapshotQuota.zod.js +2 -2
  737. package/dist/compute/v1/generated/validators/snapshotResource.zod.d.ts +2 -2
  738. package/dist/compute/v1/generated/validators/snapshotResource.zod.js +2 -2
  739. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.d.ts +2 -2
  740. package/dist/compute/v1/generated/validators/subnetListResponseBody.zod.js +2 -2
  741. package/dist/compute/v1/generated/validators/subnetResource.zod.d.ts +2 -2
  742. package/dist/compute/v1/generated/validators/subnetResource.zod.js +2 -2
  743. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.d.ts +2 -2
  744. package/dist/compute/v1/generated/validators/suggestSubnetCidrParams.zod.js +2 -2
  745. package/dist/compute/v1/generated/validators/terminationPolicy.zod.d.ts +2 -2
  746. package/dist/compute/v1/generated/validators/terminationPolicy.zod.js +2 -2
  747. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.d.ts +2 -2
  748. package/dist/compute/v1/generated/validators/zoneListResponseBody.zod.js +2 -2
  749. package/dist/compute/v1/generated/validators/zoneResource.zod.d.ts +2 -2
  750. package/dist/compute/v1/generated/validators/zoneResource.zod.js +2 -2
  751. package/dist/membership/v1/generated/models.d.ts +379 -779
  752. package/dist/membership/v1/generated/models.js +12 -44
  753. package/dist/membership/v1/generated/validators/accountBalance.zod.d.ts +22 -11
  754. package/dist/membership/v1/generated/validators/accountBalance.zod.js +8 -8
  755. package/dist/membership/v1/generated/validators/activeResource.zod.js +8 -5
  756. package/dist/membership/v1/generated/validators/allowance.zod.js +3 -3
  757. package/dist/membership/v1/generated/validators/applicability.zod.d.ts +22 -11
  758. package/dist/membership/v1/generated/validators/applicability.zod.js +12 -3
  759. package/dist/membership/v1/generated/validators/applicablePlan.zod.js +1 -1
  760. package/dist/membership/v1/generated/validators/billingAccount.zod.js +5 -5
  761. package/dist/membership/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  762. package/dist/membership/v1/generated/validators/billingScheme.zod.d.ts +14 -0
  763. package/dist/membership/v1/generated/validators/billingScheme.zod.js +11 -0
  764. package/dist/membership/v1/generated/validators/cancellation.zod.d.ts +6 -3
  765. package/dist/membership/v1/generated/validators/cancellation.zod.js +4 -4
  766. package/dist/membership/v1/generated/validators/cancellationCreate.zod.js +3 -3
  767. package/dist/membership/v1/generated/validators/cancellationItem.zod.d.ts +6 -3
  768. package/dist/membership/v1/generated/validators/cancellationItem.zod.js +6 -5
  769. package/dist/membership/v1/generated/validators/cancellationList.zod.d.ts +6 -3
  770. package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.d.ts +6 -3
  771. package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  772. package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +6 -3
  773. package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.js +7 -4
  774. package/dist/membership/v1/generated/validators/contact.zod.js +2 -2
  775. package/dist/membership/v1/generated/validators/creditGrant.zod.d.ts +22 -11
  776. package/dist/membership/v1/generated/validators/creditGrantList.zod.d.ts +22 -11
  777. package/dist/membership/v1/generated/validators/creditGroup.zod.d.ts +22 -11
  778. package/dist/membership/v1/generated/validators/creditGroup.zod.js +1 -1
  779. package/dist/membership/v1/generated/validators/creditNote.zod.js +4 -4
  780. package/dist/membership/v1/generated/validators/currency6ff0ec7.zod.js +1 -1
  781. package/dist/membership/v1/generated/validators/discount.zod.d.ts +23 -12
  782. package/dist/membership/v1/generated/validators/discount.zod.js +4 -4
  783. package/dist/membership/v1/generated/validators/discountList.zod.d.ts +23 -12
  784. package/dist/membership/v1/generated/validators/entitlement.zod.js +1 -1
  785. package/dist/membership/v1/generated/validators/funds.zod.js +4 -4
  786. package/dist/membership/v1/generated/validators/invoice.zod.d.ts +0 -1
  787. package/dist/membership/v1/generated/validators/invoice.zod.js +8 -8
  788. package/dist/membership/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
  789. package/dist/membership/v1/generated/validators/invoiceItem.zod.js +10 -4
  790. package/dist/membership/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
  791. package/dist/membership/v1/generated/validators/invoiceItemProration.zod.js +1 -3
  792. package/dist/membership/v1/generated/validators/invoiceList.zod.d.ts +0 -1
  793. package/dist/membership/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
  794. package/dist/membership/v1/generated/validators/invoiceStatus.zod.js +2 -2
  795. package/dist/membership/v1/generated/validators/invoiceSummary.zod.d.ts +0 -1
  796. package/dist/membership/v1/generated/validators/invoiceSummary.zod.js +3 -3
  797. package/dist/membership/v1/generated/validators/membershipPurchase.zod.d.ts +0 -1
  798. package/dist/membership/v1/generated/validators/monthlyStatement.zod.js +2 -2
  799. package/dist/membership/v1/generated/validators/objectIdentity.zod.js +1 -1
  800. package/dist/membership/v1/generated/validators/order.zod.d.ts +7 -4
  801. package/dist/membership/v1/generated/validators/order.zod.js +10 -12
  802. package/dist/membership/v1/generated/validators/orderItem.zod.d.ts +7 -3
  803. package/dist/membership/v1/generated/validators/orderItem.zod.js +16 -14
  804. package/dist/membership/v1/generated/validators/orderItemList.zod.d.ts +7 -3
  805. package/dist/membership/v1/generated/validators/orderItemStatus.zod.js +1 -1
  806. package/dist/membership/v1/generated/validators/orderList.zod.d.ts +7 -4
  807. package/dist/membership/v1/generated/validators/orderRefundQuote.zod.js +1 -1
  808. package/dist/membership/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -1
  809. package/dist/membership/v1/generated/validators/orderStatus.zod.js +1 -1
  810. package/dist/membership/v1/generated/validators/paidWith.zod.js +1 -1
  811. package/dist/membership/v1/generated/validators/payInvoiceRequest.zod.js +6 -6
  812. package/dist/membership/v1/generated/validators/payTogetherRequest.zod.js +2 -2
  813. package/dist/membership/v1/generated/validators/paymentAction.zod.js +4 -4
  814. package/dist/membership/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  815. package/dist/membership/v1/generated/validators/paymentMethodSetupResult.zod.js +2 -4
  816. package/dist/membership/v1/generated/validators/paymentOption.zod.js +1 -1
  817. package/dist/membership/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  818. package/dist/membership/v1/generated/validators/paymentPreview.zod.js +4 -4
  819. package/dist/membership/v1/generated/validators/paymentResult.zod.js +5 -8
  820. package/dist/membership/v1/generated/validators/paymentStatus.zod.js +1 -1
  821. package/dist/membership/v1/generated/validators/placedOrder.zod.d.ts +0 -1
  822. package/dist/membership/v1/generated/validators/price.zod.d.ts +7 -5
  823. package/dist/membership/v1/generated/validators/price.zod.js +14 -11
  824. package/dist/membership/v1/generated/validators/priceList.zod.d.ts +7 -5
  825. package/dist/membership/v1/generated/validators/priceOption.zod.d.ts +7 -5
  826. package/dist/membership/v1/generated/validators/priceOption.zod.js +7 -3
  827. package/dist/membership/v1/generated/validators/priceType.zod.d.ts +14 -0
  828. package/dist/membership/v1/generated/validators/priceType.zod.js +11 -0
  829. package/dist/membership/v1/generated/validators/productID.zod.js +1 -1
  830. package/dist/membership/v1/generated/validators/projectAssignment.zod.js +2 -2
  831. package/dist/membership/v1/generated/validators/purchaseOperation.zod.js +1 -1
  832. package/dist/membership/v1/generated/validators/quote.zod.d.ts +6 -3
  833. package/dist/membership/v1/generated/validators/quote.zod.js +4 -4
  834. package/dist/membership/v1/generated/validators/quoteCancellation.zod.js +2 -2
  835. package/dist/membership/v1/generated/validators/quoteItem.zod.js +4 -4
  836. package/dist/membership/v1/generated/validators/quoteItemInput.zod.d.ts +5 -2
  837. package/dist/membership/v1/generated/validators/quoteItemInput.zod.js +8 -8
  838. package/dist/membership/v1/generated/validators/quoteRenewal.zod.js +1 -1
  839. package/dist/membership/v1/generated/validators/quoteRenewalResult.zod.js +2 -2
  840. package/dist/membership/v1/generated/validators/quoteRequest.zod.d.ts +5 -2
  841. package/dist/membership/v1/generated/validators/quoteRequest.zod.js +5 -5
  842. package/dist/membership/v1/generated/validators/quotedDiscount.zod.js +1 -1
  843. package/dist/membership/v1/generated/validators/rate.zod.d.ts +11 -0
  844. package/dist/membership/v1/generated/validators/rate.zod.js +14 -6
  845. package/dist/membership/v1/generated/validators/rateList.zod.d.ts +11 -0
  846. package/dist/membership/v1/generated/validators/refund.zod.js +3 -3
  847. package/dist/membership/v1/generated/validators/refundPolicy.zod.js +1 -1
  848. package/dist/membership/v1/generated/validators/refundReason.zod.js +1 -1
  849. package/dist/membership/v1/generated/validators/renewRequest.zod.js +2 -2
  850. package/dist/membership/v1/generated/validators/renewalOrderRequest.zod.js +2 -2
  851. package/dist/membership/v1/generated/validators/renewalPrice.zod.js +1 -1
  852. package/dist/membership/v1/generated/validators/scheduledChange.zod.js +2 -2
  853. package/dist/membership/v1/generated/validators/spendRow.zod.d.ts +8 -0
  854. package/dist/membership/v1/generated/validators/spendRow.zod.js +11 -0
  855. package/dist/membership/v1/generated/validators/spendRowList.zod.d.ts +8 -0
  856. package/dist/membership/v1/generated/validators/spendRowList.zod.js +1 -1
  857. package/dist/membership/v1/generated/validators/statement.zod.js +2 -2
  858. package/dist/membership/v1/generated/validators/statementItem.zod.d.ts +1 -0
  859. package/dist/membership/v1/generated/validators/statementItem.zod.js +4 -0
  860. package/dist/membership/v1/generated/validators/statementSummary.zod.d.ts +1 -0
  861. package/dist/membership/v1/generated/validators/statementType.zod.js +1 -1
  862. package/dist/membership/v1/generated/validators/subscription.zod.d.ts +7 -3
  863. package/dist/membership/v1/generated/validators/subscription.zod.js +20 -14
  864. package/dist/membership/v1/generated/validators/subscriptionCancellation.zod.js +2 -2
  865. package/dist/membership/v1/generated/validators/subscriptionList.zod.d.ts +7 -3
  866. package/dist/membership/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  867. package/dist/membership/v1/generated/validators/terminationPolicy.zod.js +1 -1
  868. package/dist/membership/v1/generated/validators/tier.zod.js +1 -1
  869. package/dist/membership/v1/generated/validators/topUp.zod.js +8 -8
  870. package/dist/membership/v1/generated/validators/topUpCreate.zod.js +4 -4
  871. package/dist/membership/v1/generated/validators/transaction.zod.js +6 -6
  872. package/dist/membership/v1/generated/validators/usageCharge.zod.d.ts +1 -0
  873. package/dist/membership/v1/generated/validators/usageCharge.zod.js +8 -7
  874. package/dist/membership/v1/generated/validators/usageChargeList.zod.d.ts +1 -0
  875. package/dist/membership/v1/generated/validators/usageType.zod.d.ts +14 -0
  876. package/dist/membership/v1/generated/validators/usageType.zod.js +11 -0
  877. package/dist/membership/v1/generated/validators/withdrawal.zod.js +2 -2
  878. package/dist/membership/v1/generated/validators/withdrawalItem.zod.js +2 -2
  879. package/dist/membership/v1/generated/validators/withdrawalSource.zod.js +1 -1
  880. package/dist/routes.d.ts +4 -4
  881. package/dist/routes.js +4 -4
  882. package/package.json +1 -1
@@ -11,7 +11,7 @@ export const getListWithdrawalItemsUrl = (withdrawalId, params) => {
11
11
  : `https://billing.leaflow.cloud/api/v1/withdrawals/${encodeURIComponent(String(withdrawalId))}/items`;
12
12
  };
13
13
  /**
14
- * Paginated fixed source allocations and their outcomes. A failed source does not undo refunds already completed through other sources.
14
+ * The withdrawal's items and their outcomes. A failed item does not undo refunds completed through other items.
15
15
  * @summary List withdrawal items
16
16
  */
17
17
  export const listWithdrawalItems = async (withdrawalId, params, options, fetchFn) => {
@@ -36,7 +36,7 @@ export const getListWithdrawalsUrl = (params) => {
36
36
  : `https://billing.leaflow.cloud/api/v1/withdrawals`;
37
37
  };
38
38
  /**
39
- * Paginated account withdrawal history, newest first. Account authorization applies to every record.
39
+ * Withdrawals, newest first.
40
40
  * @summary List withdrawals
41
41
  */
42
42
  export const listWithdrawals = async (params, options, fetchFn) => {
@@ -52,7 +52,7 @@ export const getCreateWithdrawalUrl = () => {
52
52
  return `https://billing.leaflow.cloud/api/v1/withdrawals`;
53
53
  };
54
54
  /**
55
- * 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.
55
+ * 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.
56
56
  * @summary Create withdrawal
57
57
  */
58
58
  export const createWithdrawal = async (withdrawalCreate, options, fetchFn) => {
@@ -85,7 +85,7 @@ export const getPreviewWithdrawalUrl = () => {
85
85
  return `https://billing.leaflow.cloud/api/v1/withdrawals/preview`;
86
86
  };
87
87
  /**
88
- * 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.
88
+ * Previews the balance deduction, fees and refund split by original top-up. Omit amount to preview all available balance. Nothing is created or reserved. Fails when a selected source has no refund route or its original processing cost is not yet known.
89
89
  * @summary Preview withdrawal
90
90
  */
91
91
  export const previewWithdrawal = async (withdrawalPreviewRequest, options, fetchFn) => {
@@ -106,7 +106,7 @@ export const previewWithdrawal = async (withdrawalPreviewRequest, options, fetch
106
106
  };
107
107
  const res = await (fetchFn ?? fetch)(getPreviewWithdrawalUrl(), {
108
108
  ...options,
109
- method: "POST",
109
+ method: "QUERY",
110
110
  headers: { "Content-Type": "application/json", ...getHeaders(options?.headers) },
111
111
  body: JSON.stringify(withdrawalPreviewRequest),
112
112
  });
@@ -118,7 +118,7 @@ export const getGetWithdrawalUrl = (withdrawalId) => {
118
118
  return `https://billing.leaflow.cloud/api/v1/withdrawals/${encodeURIComponent(String(withdrawalId))}`;
119
119
  };
120
120
  /**
121
- * Reads the accepted amounts and aggregate outcome of an authorized withdrawal. List its source items for each original-method refund result.
121
+ * A withdrawal with its accepted amounts and overall outcome; list its items for each refund result.
122
122
  * @summary Get withdrawal
123
123
  */
124
124
  export const getWithdrawal = async (withdrawalId, options, fetchFn) => {
@@ -143,7 +143,7 @@ export const getListContactsUrl = (accountId, params) => {
143
143
  : `https://billing.leaflow.cloud/api/v1/billing-accounts/${encodeURIComponent(String(accountId))}/contacts`;
144
144
  };
145
145
  /**
146
- * Paginated contact profiles belonging to the billing account in the path, including inactive contacts. Returns 404 if the account does not exist.
146
+ * Contacts of the billing account, inactive ones included. Returns 404 if the account does not exist.
147
147
  * @summary List contacts
148
148
  */
149
149
  export const listContacts = async (accountId, params, options, fetchFn) => {
@@ -159,7 +159,7 @@ export const getCreateContactUrl = (accountId) => {
159
159
  return `https://billing.leaflow.cloud/api/v1/billing-accounts/${encodeURIComponent(String(accountId))}/contacts`;
160
160
  };
161
161
  /**
162
- * 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.
162
+ * Creates a contact for the billing account. To use it on invoices, set the account's invoice_contact_id.
163
163
  * @summary Create contact
164
164
  */
165
165
  export const createContact = async (accountId, contactCreate, options, fetchFn) => {
@@ -192,7 +192,7 @@ export const getGetContactUrl = (accountId, contactId) => {
192
192
  return `https://billing.leaflow.cloud/api/v1/billing-accounts/${encodeURIComponent(String(accountId))}/contacts/${encodeURIComponent(String(contactId))}`;
193
193
  };
194
194
  /**
195
- * Returns a contact belonging to this billing account. Returns 404 if the contact does not exist in this account.
195
+ * A contact of this billing account. Returns 404 if it does not exist in the account.
196
196
  * @summary Get contact
197
197
  */
198
198
  export const getContact = async (accountId, contactId, options, fetchFn) => {
@@ -208,7 +208,7 @@ export const getUpdateContactUrl = (accountId, contactId) => {
208
208
  return `https://billing.leaflow.cloud/api/v1/billing-accounts/${encodeURIComponent(String(accountId))}/contacts/${encodeURIComponent(String(contactId))}`;
209
209
  };
210
210
  /**
211
- * Updates a contact belonging to this billing account. Returns 404 if the contact does not exist in this account.
211
+ * Updates a contact of this billing account. Returns 404 if it does not exist in the account.
212
212
  * @summary Update contact
213
213
  */
214
214
  export const updateContact = async (accountId, contactId, contactUpdate, options, fetchFn) => {
@@ -241,7 +241,7 @@ export const getDeleteContactUrl = (accountId, contactId) => {
241
241
  return `https://billing.leaflow.cloud/api/v1/billing-accounts/${encodeURIComponent(String(accountId))}/contacts/${encodeURIComponent(String(contactId))}`;
242
242
  };
243
243
  /**
244
- * 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.
244
+ * 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.
245
245
  * @summary Delete contact
246
246
  */
247
247
  export const deleteContact = async (accountId, contactId, options, fetchFn) => {
@@ -266,8 +266,7 @@ export const getListCurrenciesUrl = (params) => {
266
266
  : `https://billing.leaflow.cloud/api/v1/currencies`;
267
267
  };
268
268
  /**
269
- * The currencies a new billing account can be opened in. A retired currency is not listed,
270
- * although accounts already opened in it keep working. Results are paginated.
269
+ * Currencies a new billing account can be opened in; retired currencies are not listed.
271
270
  * @summary List currencies accounts can be opened in
272
271
  */
273
272
  export const listCurrencies = async (params, options, fetchFn) => {
@@ -292,7 +291,7 @@ export const getListBillingAccountsUrl = (params) => {
292
291
  : `https://billing.leaflow.cloud/api/v1/billing-accounts`;
293
292
  };
294
293
  /**
295
- * Paginated billing accounts owned by the authenticated user. Accounts owned by other users are excluded; the result is empty when the user owns none.
294
+ * Billing accounts owned by the authenticated user.
296
295
  * @summary List billing accounts
297
296
  */
298
297
  export const listBillingAccounts = async (params, options, fetchFn) => {
@@ -308,10 +307,7 @@ export const getCreateBillingAccountUrl = () => {
308
307
  return `https://billing.leaflow.cloud/api/v1/billing-accounts`;
309
308
  };
310
309
  /**
311
- * The currency is chosen here and cannot be changed afterwards. Everything charged to the
312
- * account — prices, orders, invoices, balance — is denominated in it.
313
- *
314
- * One person may hold several accounts, for example a personal one and one for a team.
310
+ * Creates a billing account. Its currency is fixed: prices, orders, invoices and balance are all in it.
315
311
  * @summary Create billing account
316
312
  */
317
313
  export const createBillingAccount = async (billingAccountCreate, options, fetchFn) => {
@@ -344,7 +340,7 @@ export const getGetBillingAccountUrl = (accountId) => {
344
340
  return `https://billing.leaflow.cloud/api/v1/billing-accounts/${encodeURIComponent(String(accountId))}`;
345
341
  };
346
342
  /**
347
- * 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.
343
+ * 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.
348
344
  * @summary Get billing account
349
345
  */
350
346
  export const getBillingAccount = async (accountId, options, fetchFn) => {
@@ -360,9 +356,7 @@ export const getUpdateBillingAccountUrl = (accountId) => {
360
356
  return `https://billing.leaflow.cloud/api/v1/billing-accounts/${encodeURIComponent(String(accountId))}`;
361
357
  };
362
358
  /**
363
- * Select an active contact belonging to this account for future invoices. Its legal name,
364
- * address and tax identifier are copied when an invoice is issued; issued snapshots are
365
- * retained. Set invoice_contact_id to null to clear the selection. The currency cannot change.
359
+ * 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.
366
360
  * @summary Update billing account
367
361
  */
368
362
  export const updateBillingAccount = async (accountId, billingAccountUpdate, options, fetchFn) => {
@@ -395,7 +389,7 @@ export const getGetAccountBalanceUrl = (accountId) => {
395
389
  return `https://billing.leaflow.cloud/api/v1/billing-accounts/${encodeURIComponent(String(accountId))}/balance`;
396
390
  };
397
391
  /**
398
- * 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.
392
+ * 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.
399
393
  * @summary Get account balance
400
394
  */
401
395
  export const getAccountBalance = async (accountId, options, fetchFn) => {
@@ -420,10 +414,7 @@ export const getListPaymentOptionsUrl = (accountId, params) => {
420
414
  : `https://billing.leaflow.cloud/api/v1/billing-accounts/${encodeURIComponent(String(accountId))}/payment-options`;
421
415
  };
422
416
  /**
423
- * Lists the payment gateways and methods that currently accept payment in this account's currency, the
424
- * preferred gateway first. Top-ups and invoice payments must name a gateway and method listed here;
425
- * others are refused. An empty result means no online payment is available for this account.
426
- * Results are paginated.
417
+ * 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.
427
418
  * @summary List payment options
428
419
  */
429
420
  export const listPaymentOptions = async (accountId, params, options, fetchFn) => {
@@ -448,7 +439,7 @@ export const getListProjectAssignmentsUrl = (params) => {
448
439
  : `https://billing.leaflow.cloud/api/v1/assignments`;
449
440
  };
450
441
  /**
451
- * 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.
442
+ * Current project assignments to your billing accounts, filtered by billing_account_id or project_ids. Past charges keep the account they were assigned to.
452
443
  * @summary List project assignments
453
444
  */
454
445
  export const listProjectAssignments = async (params, options, fetchFn) => {
@@ -464,8 +455,7 @@ export const getGetProjectAssignmentUrl = (projectId) => {
464
455
  return `https://billing.leaflow.cloud/api/v1/assignments/${encodeURIComponent(String(projectId))}`;
465
456
  };
466
457
  /**
467
- * Returns the current assignment for the project identified by projectId. Returns 404 when
468
- * no billing account is assigned; no resources can be created until one is assigned.
458
+ * The project's current assignment. Returns 404 when no billing account is assigned; the project cannot create resources until one is.
469
459
  * @summary Get project assignment
470
460
  */
471
461
  export const getProjectAssignment = async (projectId, options, fetchFn) => {
@@ -481,17 +471,13 @@ export const getSetProjectAssignmentUrl = (projectId) => {
481
471
  return `https://billing.leaflow.cloud/api/v1/assignments/${encodeURIComponent(String(projectId))}`;
482
472
  };
483
473
  /**
484
- * Charges already incurred remain with the billing account that was linked when they
485
- * occurred, and are still invoiced to it. Metered resources are settled up to the moment of
486
- * the change. Amounts owed by the previous billing account remain owed by it and do not
487
- * prevent the change.
488
- *
489
- * Orders keep the billing account they were placed with and are fulfilled as placed. Periods
490
- * already paid for are unaffected; renewals are charged to the new billing account.
474
+ * Links the project to another billing account. Charges already incurred stay with the account linked when they
475
+ * occurred and are invoiced to it; metered resources are settled up to the moment of the change. Amounts the
476
+ * previous account owes do not prevent the change. Orders keep the account they were placed with; paid periods
477
+ * are unaffected, and renewals are charged to the new account.
491
478
  *
492
- * The request is refused once the project no longer accepts purchases because it is being
493
- * deleted, and while a subscription or an order in progress in the project uses a currency
494
- * other than that of the new billing account.
479
+ * Refused once the project no longer accepts purchases because it is being deleted, and while a subscription or
480
+ * an in-progress order of the project uses a currency other than the new account's.
495
481
  * @summary Set project assignment
496
482
  */
497
483
  export const setProjectAssignment = async (projectId, setProjectAssignmentRequest, options, fetchFn) => {
@@ -524,17 +510,7 @@ export const getUnlinkProjectBillingAccountUrl = (projectId) => {
524
510
  return `https://billing.leaflow.cloud/api/v1/assignments/${encodeURIComponent(String(projectId))}`;
525
511
  };
526
512
  /**
527
- * Ends the project's current assignment without deleting its assignment history.
528
- *
529
- * Permitted only when nothing in the project is still running or in progress: no metered
530
- * resources, no subscriptions that have not ended, and no orders in progress, including
531
- * changes scheduled for the end of a period. Orders are not modified by this request; wait
532
- * for them to complete, and have the service that scheduled a change call it off.
533
- *
534
- * Charges already incurred remain with the billing account and are invoiced to it as usual.
535
- * Amounts the billing account owes do not prevent unlinking.
536
- *
537
- * After this the project cannot make purchases until a billing account is linked again.
513
+ * 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.
538
514
  * @summary Unlink project billing account
539
515
  */
540
516
  export const unlinkProjectBillingAccount = async (projectId, options, fetchFn) => {
@@ -559,8 +535,7 @@ export const getListTopUpsUrl = (params) => {
559
535
  : `https://billing.leaflow.cloud/api/v1/top-ups`;
560
536
  };
561
537
  /**
562
- * Lists only the authenticated user's top-ups. Includes pending, failed and canceled attempts; no invoice is
563
- * created for a top-up. Items carry no `action`; read a pending top-up with get-top-up to continue its payment.
538
+ * 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.
564
539
  * @summary List top ups
565
540
  */
566
541
  export const listTopUps = async (params, options, fetchFn) => {
@@ -576,9 +551,7 @@ export const getCreateTopUpUrl = () => {
576
551
  return `https://billing.leaflow.cloud/api/v1/top-ups`;
577
552
  };
578
553
  /**
579
- * Creates a top-up for an account owned by the authenticated user and returns its payment information.
580
- * The balance increases only after the payment gateway confirms receipt. A top-up has no invoice.
581
- * Keep the supplied ID to query the original attempt after a lost response; duplicate creation conflicts.
554
+ * 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.
582
555
  * @summary Create top up
583
556
  */
584
557
  export const createTopUp = async (topUpCreate, options, fetchFn) => {
@@ -611,12 +584,7 @@ export const getGetTopUpUrl = (topUpId) => {
611
584
  return `https://billing.leaflow.cloud/api/v1/top-ups/${encodeURIComponent(String(topUpId))}`;
612
585
  };
613
586
  /**
614
- * Reads a top-up owned by the authenticated user, including its outcome and the part of it not yet spent.
615
- * It is not an invoice.
616
- *
617
- * While the top-up is pending, the answer includes the customer's next step as the payment gateway
618
- * currently reports it, so that a payment interrupted by a closed page can be continued. When the gateway
619
- * cannot be reached, the top-up is returned without `action`; read it again later.
587
+ * 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.
620
588
  * @summary Get top up
621
589
  */
622
590
  export const getTopUp = async (topUpId, options, fetchFn) => {
@@ -632,17 +600,14 @@ export const getCancelTopUpUrl = (topUpId) => {
632
600
  return `https://billing.leaflow.cloud/api/v1/top-ups/${encodeURIComponent(String(topUpId))}/cancel`;
633
601
  };
634
602
  /**
635
- * Withdraws a pending top-up owned by the authenticated user at the payment gateway. It becomes
636
- * `canceled` with `cancellation_reason` `requested_by_customer`, and no money is collected for it. Canceling a
637
- * top-up that is already canceled returns it unchanged.
638
- *
639
- * If the gateway has already collected the payment, nothing is withdrawn and the top-up is returned
640
- * as `succeeded` with the balance increased. Check `status` in the answer rather than assuming the
641
- * cancellation took effect.
603
+ * Withdraws a pending top-up of the authenticated user at the payment gateway. It becomes `canceled` with
604
+ * `cancellation_reason` `requested_by_customer`, and nothing is collected. Canceling a canceled top-up returns
605
+ * it unchanged. If the gateway has already collected the payment, the top-up is returned as `succeeded` with the
606
+ * balance increased; check `status` in the response.
642
607
  *
643
- * Fails with 409 and BILLING_TOPUP_NOT_CANCELABLE when the top-up has already succeeded or failed,
644
- * with `status` naming that outcome, and while the gateway is processing the payment and can no
645
- * longer withdraw it, with `status` set to `pending`; read the top-up again later in that case.
608
+ * Fails with 409 `BILLING_TOPUP_NOT_CANCELABLE` when the top-up has succeeded or failed, with `status` naming
609
+ * the outcome, or while the gateway is processing the payment, with `status` `pending`; read the top-up again
610
+ * later.
646
611
  * @summary Cancel top up
647
612
  */
648
613
  export const cancelTopUp = async (topUpId, options, fetchFn) => {
@@ -667,7 +632,7 @@ export const getListPaymentMethodsUrl = (params) => {
667
632
  : `https://billing.leaflow.cloud/api/v1/payment-methods`;
668
633
  };
669
634
  /**
670
- * 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.
635
+ * Saved payment methods of your billing accounts, optionally for one billing_account_id. Removed methods are not listed.
671
636
  * @summary List payment methods
672
637
  */
673
638
  export const listPaymentMethods = async (params, options, fetchFn) => {
@@ -683,11 +648,7 @@ export const getCreatePaymentMethodSetupUrl = () => {
683
648
  return `https://billing.leaflow.cloud/api/v1/payment-methods/setup`;
684
649
  };
685
650
  /**
686
- * Returns what is needed to hand the browser over to the payment gateway's own card
687
- * form. Nothing is charged, and the method appears in the list once the gateway
688
- * confirms it.
689
- *
690
- * Card numbers are never sent to or stored by this service.
651
+ * 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.
691
652
  * @summary Create payment method setup
692
653
  */
693
654
  export const createPaymentMethodSetup = async (paymentMethodSetup, options, fetchFn) => {
@@ -720,7 +681,7 @@ export const getSetDefaultPaymentMethodUrl = (paymentMethodId) => {
720
681
  return `https://billing.leaflow.cloud/api/v1/payment-methods/${encodeURIComponent(String(paymentMethodId))}/default`;
721
682
  };
722
683
  /**
723
- * 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.
684
+ * 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.
724
685
  * @summary Set default payment method
725
686
  */
726
687
  export const setDefaultPaymentMethod = async (paymentMethodId, options, fetchFn) => {
@@ -736,8 +697,7 @@ export const getDeletePaymentMethodUrl = (paymentMethodId) => {
736
697
  return `https://billing.leaflow.cloud/api/v1/payment-methods/${encodeURIComponent(String(paymentMethodId))}`;
737
698
  };
738
699
  /**
739
- * Refused when it is the only method on an account that has resources billed by the hour,
740
- * as there would be nothing left to charge when the balance runs out.
700
+ * Refused when it is the only payment method of an account with metered resources.
741
701
  * @summary Delete payment method
742
702
  */
743
703
  export const deletePaymentMethod = async (paymentMethodId, options, fetchFn) => {
@@ -753,41 +713,30 @@ export const getPayInvoiceUrl = (invoiceId) => {
753
713
  return `https://billing.leaflow.cloud/api/v1/invoices/${encodeURIComponent(String(invoiceId))}/pay`;
754
714
  };
755
715
  /**
756
- * Applies eligible credit grants and available balance as requested, then collects the remainder
757
- * through the selected payment gateway and method. With no gateway selection, insufficient
758
- * account funds fail without starting an online payment. Card and non-card methods use this same
759
- * operation.
716
+ * Pays the invoice from eligible credit grants and balance as requested, and collects the remainder through the
717
+ * selected gateway and method. Without a gateway, insufficient funds fail and no online payment starts.
760
718
  *
761
- * The draft invoice of a deferred order is priced when it is first paid: Billing applies
762
- * promotion_code, or the best applicable account discount when it is omitted, compares the total
763
- * with expected_amount, records the discount on the order and issues the invoice before collecting.
764
- * An invalid or inapplicable code fails rather than collecting full price, and a different total
765
- * fails with `BILLING_AMOUNT_CHANGED`; in both cases nothing changes. The terms are fixed before
766
- * any funds are collected and stay fixed when collection does not complete, for example with
767
- * insufficient funds or a declined card: later attempts reuse them, and a different promotion_code
768
- * is then refused with `BILLING_ORDER_CHECKOUT_CONFLICT`. A deferred period-end change can be paid
769
- * once its first period is due to be invoiced; earlier attempts are refused with
719
+ * The draft invoice of a deferred order is priced on its first payment: promotion_code, or otherwise the best
720
+ * applicable account discount, is applied, the total is compared with expected_amount, and the invoice is issued
721
+ * before collection. An invalid or inapplicable code fails, and a total other than expected_amount fails with
722
+ * `BILLING_AMOUNT_CHANGED`; neither changes anything. Once fixed, the terms stay fixed even if collection does
723
+ * not complete, and a different promotion_code is refused with `BILLING_ORDER_CHECKOUT_CONFLICT`. A deferred
724
+ * period-end change can be paid only once its first period is due to be invoiced; earlier attempts fail with
770
725
  * `BILLING_CHANGE_NOT_INVOICED`.
771
726
  *
772
- * Returns a payment action when customer interaction is required. requires_action and processing
773
- * do not mean paid; the invoice is marked paid after payment is confirmed. An unresolved online
774
- * payment made with the same gateway, method and saved payment method is reused, and retries do not
775
- * apply credit grants or balance twice. Paying any other way cancels that earlier online payment
776
- * first; if the gateway had already collected it, the invoice is paid by it and nothing more is
777
- * charged. One the gateway is still processing is refused with `BILLING_PAYMENT_PENDING` and
778
- * `meta.transaction_id`; wait for its outcome.
727
+ * Returns a payment action when the customer must act; requires_action and processing are not paid. An
728
+ * unresolved online payment with the same gateway, method and saved payment method is reused, and retries never
729
+ * apply credit grants or balance twice. Paying any other way first cancels that payment; if the gateway had
730
+ * already collected it, the invoice is paid by it and nothing more is charged. A payment the gateway is still
731
+ * processing fails with `BILLING_PAYMENT_PENDING` and `meta.transaction_id`.
779
732
  *
780
- * Calling this on an invoice that is already paid returns the existing payment result without
781
- * another charge. A void invoice is refused with `BILLING_INVOICE_NOT_PAYABLE`; the invoice of an
782
- * order that has failed or was
783
- * canceled, with `BILLING_ORDER_FAILED` or `BILLING_ORDER_CANCELED`; and that of an order whose
784
- * payment deadline has passed, with `BILLING_ORDER_EXPIRED`. A renewal invoice is also refused with
785
- * `BILLING_INVOICE_NOT_PAYABLE` while its subscription is being canceled, is being reclaimed or has
786
- * ended, with `meta.reason` `subscription_canceling`, `subscription_reclaiming` or
787
- * `subscription_ended` respectively. A usage invoice is billed to the smallest fraction a balance can
788
- * hold, finer than a payment method can charge, so paying one online is refused with
789
- * `BILLING_INVOICE_NOT_PAYABLE` and `meta.reason` `usage_invoice`; it is collected from credit grants
790
- * and balance automatically, including right after a top-up.
733
+ * A paid invoice returns its existing result without another charge. Refused with `BILLING_INVOICE_NOT_PAYABLE`
734
+ * for a void invoice; `BILLING_ORDER_FAILED` or `BILLING_ORDER_CANCELED` for the invoice of a failed or canceled
735
+ * order; `BILLING_ORDER_EXPIRED` after the order's payment deadline; `BILLING_INVOICE_NOT_PAYABLE` with
736
+ * `meta.reason` `subscription_canceling`, `subscription_reclaiming` or `subscription_ended` for a renewal
737
+ * invoice whose subscription is being canceled, is being reclaimed or has ended; and
738
+ * `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `usage_invoice` for a usage invoice, which is collected from
739
+ * credit grants and balance automatically, including right after a top-up.
791
740
  * @summary Pay an invoice
792
741
  */
793
742
  export const payInvoice = async (invoiceId, payInvoiceRequest, options, fetchFn) => {
@@ -853,25 +802,19 @@ export const getPayTogetherUrl = () => {
853
802
  return `https://billing.leaflow.cloud/api/v1/payments`;
854
803
  };
855
804
  /**
856
- * Pays outstanding invoices, including the invoices of the listed orders, from the account's
857
- * eligible credit grants and then its balance. No payment gateway is used; an invoice to be
858
- * paid online is paid on its own. The draft invoice of a deferred order takes the best applicable
859
- * account discount and is issued first, and stays issued if the payment fails; pay it on its own to
860
- * apply a promotion code.
805
+ * Pays outstanding invoices, including those of the listed orders, from eligible credit grants and then balance,
806
+ * without a payment gateway. The draft invoice of a deferred order takes the best applicable account discount
807
+ * and is issued first, staying issued if payment fails; pay it alone to use a promotion code.
861
808
  *
862
- * Either every invoice is paid or none is. When the credit grants and balance cannot cover
863
- * them all, the request fails with `BILLING_INSUFFICIENT_FUNDS` and nothing is charged.
864
- * A total different from expected_amount fails with `BILLING_AMOUNT_CHANGED` and nothing is charged.
865
- * Invoices that are already paid are not charged again. An online payment started earlier for one
866
- * of the invoices is canceled first; one the gateway is still processing is refused with
867
- * `BILLING_PAYMENT_PENDING` and `meta.transaction_id`, a void invoice with
868
- * `BILLING_INVOICE_NOT_PAYABLE`, a deferred period-end change not yet due to be invoiced with
869
- * `BILLING_CHANGE_NOT_INVOICED`, an order that has failed or was canceled with
870
- * `BILLING_ORDER_FAILED` or `BILLING_ORDER_CANCELED`, and an order whose payment deadline has
871
- * passed with `BILLING_ORDER_EXPIRED`. A renewal invoice is refused with
872
- * `BILLING_INVOICE_NOT_PAYABLE` while its subscription is being canceled, is being reclaimed or has
873
- * ended, with `meta.reason` `subscription_canceling`, `subscription_reclaiming` or
874
- * `subscription_ended` respectively.
809
+ * All invoices are paid or none: insufficient funds fail with `BILLING_INSUFFICIENT_FUNDS`, and a total other
810
+ * than expected_amount fails with `BILLING_AMOUNT_CHANGED`, charging nothing. Paid invoices are not charged
811
+ * again. An earlier online payment for one of the invoices is canceled first; one the gateway is still
812
+ * processing is refused with `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Also refused with
813
+ * `BILLING_INVOICE_NOT_PAYABLE` for a void invoice; `BILLING_CHANGE_NOT_INVOICED` for a period-end change not
814
+ * yet due; `BILLING_ORDER_FAILED`, `BILLING_ORDER_CANCELED` or `BILLING_ORDER_EXPIRED` for an order in that
815
+ * state; and `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `subscription_canceling`,
816
+ * `subscription_reclaiming` or `subscription_ended` for a renewal invoice of a subscription being canceled,
817
+ * being reclaimed or ended.
875
818
  * @summary Pay together
876
819
  */
877
820
  export const payTogether = async (payTogetherRequest, options, fetchFn) => {
@@ -904,13 +847,7 @@ export const getPreviewPayTogetherUrl = () => {
904
847
  return `https://billing.leaflow.cloud/api/v1/payments/preview`;
905
848
  };
906
849
  /**
907
- * What paying these invoices together now would take from credit grants and from the balance,
908
- * invoice by invoice in the order they would be paid. It is computed as paying together computes
909
- * it. Nothing is charged, reserved or created.
910
- *
911
- * Refused with the same errors as paying together, except that insufficient funds are not an
912
- * error here: they show as a `gateway_amount` above zero, and paying together would then be
913
- * refused with `BILLING_INSUFFICIENT_FUNDS`.
850
+ * What paying these invoices together now would take from credit grants and from the balance, per invoice in payment order, calculated as paying together does. Nothing is charged, reserved or created. Refused with the same errors as paying together, except that insufficient funds show as a `gateway_amount` above zero instead of an error.
914
851
  * @summary Preview paying together
915
852
  */
916
853
  export const previewPayTogether = async (payTogetherRequest, options, fetchFn) => {
@@ -931,7 +868,7 @@ export const previewPayTogether = async (payTogetherRequest, options, fetchFn) =
931
868
  };
932
869
  const res = await (fetchFn ?? fetch)(getPreviewPayTogetherUrl(), {
933
870
  ...options,
934
- method: "POST",
871
+ method: "QUERY",
935
872
  headers: { "Content-Type": "application/json", ...getHeaders(options?.headers) },
936
873
  body: JSON.stringify(payTogetherRequest),
937
874
  });
@@ -952,7 +889,7 @@ export const getListInvoicesUrl = (params) => {
952
889
  : `https://billing.leaflow.cloud/api/v1/invoices`;
953
890
  };
954
891
  /**
955
- * 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.
892
+ * 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.
956
893
  * @summary List invoices
957
894
  */
958
895
  export const listInvoices = async (params, options, fetchFn) => {
@@ -968,7 +905,7 @@ export const getGetInvoiceUrl = (invoiceId) => {
968
905
  return `https://billing.leaflow.cloud/api/v1/invoices/${encodeURIComponent(String(invoiceId))}`;
969
906
  };
970
907
  /**
971
- * 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.
908
+ * 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.
972
909
  * @summary Get invoice
973
910
  */
974
911
  export const getInvoice = async (invoiceId, options, fetchFn) => {
@@ -993,7 +930,7 @@ export const getListInvoiceItemsUrl = (invoiceId, params) => {
993
930
  : `https://billing.leaflow.cloud/api/v1/invoices/${encodeURIComponent(String(invoiceId))}/items`;
994
931
  };
995
932
  /**
996
- * 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.
933
+ * 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.
997
934
  * @summary List invoice items
998
935
  */
999
936
  export const listInvoiceItems = async (invoiceId, params, options, fetchFn) => {
@@ -1018,7 +955,7 @@ export const getListTransactionsUrl = (params) => {
1018
955
  : `https://billing.leaflow.cloud/api/v1/transactions`;
1019
956
  };
1020
957
  /**
1021
- * 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.
958
+ * Ledger entries of your billing accounts, filtered by billing_account_id and creation time.
1022
959
  * @summary List transactions
1023
960
  */
1024
961
  export const listTransactions = async (params, options, fetchFn) => {
@@ -1043,8 +980,7 @@ export const getListAccountDiscountsUrl = (params) => {
1043
980
  : `https://billing.leaflow.cloud/api/v1/discounts`;
1044
981
  };
1045
982
  /**
1046
- * Coupons placed on the account directly, which apply at checkout without a code being
1047
- * entered. A coupon reached through a code is not listed here.
983
+ * Coupons held by the account, applied at checkout without a code. Coupons reached through a code are not listed.
1048
984
  * @summary List the coupons held on this account
1049
985
  */
1050
986
  export const listAccountDiscounts = async (params, options, fetchFn) => {
@@ -1069,8 +1005,7 @@ export const getListCreditGrantsUrl = (params) => {
1069
1005
  : `https://billing.leaflow.cloud/api/v1/credit-grants`;
1070
1006
  };
1071
1007
  /**
1072
- * Each grant shows what remains and what it may be used for. Credit is spent before the balance
1073
- * and cannot be withdrawn.
1008
+ * Credit grants with what remains and what each may pay for. Credit is spent before balance and cannot be withdrawn.
1074
1009
  * @summary List credit grants
1075
1010
  */
1076
1011
  export const listCreditGrants = async (params, options, fetchFn) => {
@@ -1095,7 +1030,7 @@ export const getListCreditNotesUrl = (params) => {
1095
1030
  : `https://billing.leaflow.cloud/api/v1/credit-notes`;
1096
1031
  };
1097
1032
  /**
1098
- * Newest issued_at first, then ID. Requires authorization for the invoice's billing account. Filters narrow authorized results and apply before counting and paging.
1033
+ * Credit notes, newest first. Filters apply within the billing accounts you are authorized for.
1099
1034
  * @summary List credit notes
1100
1035
  */
1101
1036
  export const listCreditNotes = async (params, options, fetchFn) => {
@@ -1136,7 +1071,7 @@ export const getListCreditNoteItemsUrl = (creditNoteId, params) => {
1136
1071
  : `https://billing.leaflow.cloud/api/v1/credit-notes/${encodeURIComponent(String(creditNoteId))}/items`;
1137
1072
  };
1138
1073
  /**
1139
- * The original invoice lines reduced by this note. Requires authorization for their invoice's billing account.
1074
+ * The invoice lines this credit note reduced.
1140
1075
  * @summary List credit note items
1141
1076
  */
1142
1077
  export const listCreditNoteItems = async (creditNoteId, params, options, fetchFn) => {
@@ -1186,7 +1121,7 @@ export const getListUsageChargesUrl = (params) => {
1186
1121
  : `https://billing.leaflow.cloud/api/v1/usage-charges`;
1187
1122
  };
1188
1123
  /**
1189
- * Lists priced usage charges in the requested financial scope. Usage without a price at occurrence time is never charged retrospectively.
1124
+ * Priced usage charges in the requested scope. Usage that had no price when it occurred is never charged later.
1190
1125
  * @summary List usage charges
1191
1126
  */
1192
1127
  export const listUsageCharges = async (params, options, fetchFn) => {
@@ -1211,7 +1146,7 @@ export const getListSubscriptionsUrl = (params) => {
1211
1146
  : `https://billing.leaflow.cloud/api/v1/subscriptions`;
1212
1147
  };
1213
1148
  /**
1214
- * Lists subscriptions visible to the authorized billing account. Soft-deleted subscriptions are excluded.
1149
+ * Subscriptions of the authorized billing account. Deleted subscriptions are not listed.
1215
1150
  * @summary List subscriptions
1216
1151
  */
1217
1152
  export const listSubscriptions = async (params, options, fetchFn) => {
@@ -1227,7 +1162,7 @@ export const getGetSubscriptionUrl = (subscriptionId) => {
1227
1162
  return `https://billing.leaflow.cloud/api/v1/subscriptions/${encodeURIComponent(String(subscriptionId))}`;
1228
1163
  };
1229
1164
  /**
1230
- * Returns a subscription visible to the authorized billing account. Soft-deleted subscriptions are reported as not found.
1165
+ * A subscription of the authorized billing account. Deleted subscriptions are reported as not found.
1231
1166
  * @summary Get subscription
1232
1167
  */
1233
1168
  export const getSubscription = async (subscriptionId, options, fetchFn) => {
@@ -1243,15 +1178,7 @@ export const getDeleteSubscriptionUrl = (subscriptionId) => {
1243
1178
  return `https://billing.leaflow.cloud/api/v1/subscriptions/${encodeURIComponent(String(subscriptionId))}`;
1244
1179
  };
1245
1180
  /**
1246
- * Sets deleted_at on a canceled or terminated subscription, hiding it from your subscription
1247
- * list and detail. Your account access token must authorize the subscription's current billing
1248
- * account. Preserves commercial status, ended_at and billing and financial history. Completed
1249
- * cancellations and canceled unfulfilled purchases can be deleted directly, without termination.
1250
- * Pending, provisioning, active and suspended subscriptions are refused with 409
1251
- * BILLING_SUBSCRIPTION_NOT_ENDED and status in error params. A scheduled or releasing cancellation
1252
- * does not make a subscription canceled.
1253
- * There is no force, skip-cleanup or override option. Repeating deletion preserves the original
1254
- * deleted_at. Sends no cleanup command and creates no refund; outstanding cleanup continues.
1181
+ * 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.
1255
1182
  * @summary Delete subscription
1256
1183
  */
1257
1184
  export const deleteSubscription = async (subscriptionId, options, fetchFn) => {
@@ -1267,19 +1194,15 @@ export const getCancelSubscriptionUrl = (subscriptionId) => {
1267
1194
  return `https://billing.leaflow.cloud/api/v1/subscriptions/${encodeURIComponent(String(subscriptionId))}/cancel`;
1268
1195
  };
1269
1196
  /**
1270
- * Requests cancellation on the purchase's agreed terms. Uses the same quotation, eligibility,
1271
- * metering and original-payment-source refund rules as creating a cancellation.
1272
- * Supply the refund amount from create-quote with this subscription in cancellation.subscription_ids.
1273
- * Your account access token must authorize the subscription's current billing account.
1274
- *
1275
- * Immediate cancellation asks the owning service to clean up now. Period-end cancellation keeps
1276
- * the subscription active or suspended until the paid term ends. Neither payment nor acceptance
1277
- * of this request proves cleanup. The subscription becomes canceled only after the service
1278
- * confirms release and the end of metering; follow the returned cancellation for progress.
1197
+ * Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
1198
+ * refund amount from a quote with this subscription in `cancellation.subscription_ids`. The token must authorize
1199
+ * the subscription's current billing account.
1279
1200
  *
1280
- * Related subscriptions released together must be submitted as one group to create-cancellation.
1281
- * Pending or provisioning purchases are canceled through their order, not this operation.
1282
- * Repeating the same open cancellation returns it without another refund or command.
1201
+ * Immediate cancellation asks the owning service to release the resources now; period-end cancellation keeps the
1202
+ * subscription active or suspended until the paid term ends. The subscription becomes canceled when the service
1203
+ * confirms the release; follow the returned cancellation. Subscriptions released together must be canceled
1204
+ * together through create-cancellation, and pending or provisioning purchases through their order. Repeating the
1205
+ * request while the cancellation is open returns it.
1283
1206
  * @summary Cancel subscription
1284
1207
  */
1285
1208
  export const cancelSubscription = async (subscriptionId, cancelSubscriptionRequest, options, fetchFn) => {
@@ -1308,18 +1231,20 @@ export const cancelSubscription = async (subscriptionId, cancelSubscriptionReque
1308
1231
  const data = body ? JSON.parse(body) : {};
1309
1232
  return { data, status: res.status, headers: res.headers };
1310
1233
  };
1311
- export const getCreateQuoteUrl = () => {
1234
+ export const getGetQuoteUrl = () => {
1312
1235
  return `https://billing.leaflow.cloud/api/v1/quotes`;
1313
1236
  };
1314
1237
  /**
1315
- * 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.
1316
- *
1317
- * 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.
1238
+ * Calculates exactly one target for a billing account you own: proposed items, an existing order, renewals, a
1239
+ * cancellation or an order refund. Nothing is saved, reserved or redeemed.
1318
1240
  *
1319
- * 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.
1320
- * @summary Create a quote
1241
+ * Existing orders use their recorded account and terms; renewals and cancellations use the account currently
1242
+ * paying for each subscription. Every target must belong to the requested account; a project token does not
1243
+ * authorize a quote. An existing order's total is the expected_amount for paying its invoice. Usage estimates
1244
+ * are not checkout amounts.
1245
+ * @summary Get a quote
1321
1246
  */
1322
- export const createQuote = async (quoteRequest, options, fetchFn) => {
1247
+ export const getQuote = async (quoteRequest, options, fetchFn) => {
1323
1248
  const getHeaders = (h) => {
1324
1249
  if (!h)
1325
1250
  return {};
@@ -1335,9 +1260,9 @@ export const createQuote = async (quoteRequest, options, fetchFn) => {
1335
1260
  }
1336
1261
  return headers;
1337
1262
  };
1338
- const res = await (fetchFn ?? fetch)(getCreateQuoteUrl(), {
1263
+ const res = await (fetchFn ?? fetch)(getGetQuoteUrl(), {
1339
1264
  ...options,
1340
- method: "POST",
1265
+ method: "QUERY",
1341
1266
  headers: { "Content-Type": "application/json", ...getHeaders(options?.headers) },
1342
1267
  body: JSON.stringify(quoteRequest),
1343
1268
  });
@@ -1358,7 +1283,7 @@ export const getListCancellationsUrl = (params) => {
1358
1283
  : `https://billing.leaflow.cloud/api/v1/cancellations`;
1359
1284
  };
1360
1285
  /**
1361
- * Newest first. Filter by `subscription_id` and `status=open` to find the cancellation now under way for a subscription.
1286
+ * Newest first. Filter by `subscription_id` and `status=open` to find a subscription's cancellation in progress.
1362
1287
  * @summary List cancellations
1363
1288
  */
1364
1289
  export const listCancellations = async (params, options, fetchFn) => {
@@ -1374,46 +1299,36 @@ export const getCreateCancellationUrl = () => {
1374
1299
  return `https://billing.leaflow.cloud/api/v1/cancellations`;
1375
1300
  };
1376
1301
  /**
1377
- * Ends a set of subscriptions of one service together, at one time. Deleting a resource that a
1378
- * subscription pays for is an `immediate` cancellation of every subscription released with it,
1379
- * such as a server with the disks deleted along with it, or an address with its bandwidth.
1302
+ * Ends subscriptions of one service together. Deleting a resource is an `immediate` cancellation of every
1303
+ * subscription released with it, such as a server with its disks or an address with its bandwidth.
1380
1304
  *
1381
- * The service that provides the resources releases them: at once for `immediate`, or at
1382
- * `scheduled_at`, the end of the paid term, for `period_end`. When release is confirmed, the
1383
- * unused value is returned the way it was paid, under the refund terms agreed when each
1384
- * subscription was bought. For `immediate` the refund is computed as of `proration_date`, so the
1385
- * amount confirmed here is the amount returned: prepaid service used while the resources are
1386
- * being released is not deducted from it. Usage of a postpaid subscription is charged until its
1387
- * resources are released, as usual.
1305
+ * The owning service releases the resources at once for `immediate`, or at `scheduled_at`, the end of the paid
1306
+ * term, for `period_end`. When release is confirmed, the unused value is returned to the original payment
1307
+ * sources under each subscription's refund terms. For `immediate` the refund is computed as of `proration_date`
1308
+ * and is not reduced by service used during release. Metered usage is charged until release.
1388
1309
  *
1389
- * `mode` must be allowed for every subscription. Postpaid and one-time subscriptions end only
1390
- * `immediate`. A prepaid subscription ends `period_end` while its paid term lasts, and
1391
- * `immediate` unless its termination terms allow only the end of the paid term and that term has
1392
- * not ended yet. For `period_end` the paid terms of all the subscriptions must end at the same
1310
+ * `mode` must be allowed for every subscription. Metered and one-time subscriptions end only `immediate`. A
1311
+ * licensed subscription ends `period_end` while its paid term lasts, and `immediate` unless its terms allow only
1312
+ * the end of the paid term and that term has not ended. For `period_end` all paid terms must end at the same
1393
1313
  * time.
1394
1314
  *
1395
1315
  * Refused with:
1396
- * - 400 `BILLING_CANCELLATION_INVALID` when `subscription_ids` or `proration_date` is not
1397
- * acceptable (`meta.field`), or the subscriptions do not all belong to one service, project,
1398
- * account and currency;
1316
+ *
1317
+ * - 400 `BILLING_CANCELLATION_INVALID` when `subscription_ids` or `proration_date` is invalid (`meta.field`), or
1318
+ * the subscriptions do not share one service, project, account and currency;
1399
1319
  * - 409 `BILLING_CANCELLATION_CONFLICT` when a subscription has not started or has ended;
1400
- * - 422 `BILLING_CANCELLATION_MODE_FIXED` when `mode` is not allowed for a subscription, and
1401
- * `BILLING_CANCELLATION_TERMS_UNSET` when a prepaid subscription has no termination terms;
1402
- * both carry `meta.subscription_id`;
1403
- * - 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when, for `period_end`, the paid terms end at
1404
- * different times;
1320
+ * - 422 `BILLING_CANCELLATION_MODE_FIXED` when `mode` is not allowed, and `BILLING_CANCELLATION_TERMS_UNSET`
1321
+ * when a licensed subscription has no termination terms, both with `meta.subscription_id`;
1322
+ * - 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when, for `period_end`, the paid terms end at different times;
1405
1323
  * - 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` when a subscription is already being canceled
1406
- * (`meta.cancellation_id`) or reclaimed (`meta.reason` `reclaim_requested`), or has a paid
1407
- * change still waiting to switch (`meta.order_id`);
1408
- * - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online payment for a renewal of one of them
1409
- * is in progress;
1410
- * - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund is no longer
1411
- * `expected_refundable_amount`; quote again.
1324
+ * (`meta.cancellation_id`) or reclaimed (`meta.reason` `reclaim_requested`), or has a paid change waiting to
1325
+ * switch (`meta.order_id`);
1326
+ * - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online renewal payment for one of them is in progress;
1327
+ * - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund no longer equals `expected_refundable_amount`.
1412
1328
  *
1413
- * Sending the same request again, for the same subscriptions, mode and amount while that
1414
- * cancellation is still open, returns it with 200 rather than creating another. Renewal orders
1415
- * still waiting for payment are canceled along with it, and automatic renewal is turned off for
1416
- * every subscription in the set, for `period_end` as well as `immediate`.
1329
+ * Repeating the request for the same subscriptions, mode and amount while the cancellation is open returns it
1330
+ * with 200. Unpaid renewal orders are canceled with it, and automatic renewal is turned off for every
1331
+ * subscription.
1417
1332
  * @summary Cancel subscriptions
1418
1333
  */
1419
1334
  export const createCancellation = async (cancellationCreate, options, fetchFn) => {
@@ -1446,7 +1361,7 @@ export const getGetCancellationUrl = (cancellationId) => {
1446
1361
  return `https://billing.leaflow.cloud/api/v1/cancellations/${encodeURIComponent(String(cancellationId))}`;
1447
1362
  };
1448
1363
  /**
1449
- * 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.
1364
+ * A cancellation of your billing account with its schedule, expected refundable amount and the outcome for each subscription, including partial success.
1450
1365
  * @summary Get a cancellation
1451
1366
  */
1452
1367
  export const getCancellation = async (cancellationId, options, fetchFn) => {
@@ -1462,11 +1377,7 @@ export const getWithdrawCancellationUrl = (cancellationId) => {
1462
1377
  return `https://billing.leaflow.cloud/api/v1/cancellations/${encodeURIComponent(String(cancellationId))}/withdraw`;
1463
1378
  };
1464
1379
  /**
1465
- * Withdraws the whole cancellation while none of its resources has begun to be released; the
1466
- * subscriptions continue as before, except that automatic renewal, turned off when the
1467
- * cancellation was created, stays off until it is turned on again. After that it is refused with
1468
- * 409 `BILLING_CANCELLATION_CONFLICT`. Withdrawing one that is already withdrawn returns it
1469
- * unchanged.
1380
+ * 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.
1470
1381
  * @summary Withdraw a cancellation
1471
1382
  */
1472
1383
  export const withdrawCancellation = async (cancellationId, options, fetchFn) => {
@@ -1507,17 +1418,15 @@ export const getRenewSubscriptionUrl = (subscriptionId) => {
1507
1418
  return `https://billing.leaflow.cloud/api/v1/subscriptions/${encodeURIComponent(String(subscriptionId))}/renew`;
1508
1419
  };
1509
1420
  /**
1510
- * Purchases prepaid periods from current_term_end using the agreed recurring amount, and pays for them at
1511
- * once. A changed interval selects a current price and freezes new terms on the order, applied
1512
- * only after fulfillment. Existing paid periods keep their value.
1421
+ * Buys licensed periods from current_term_end at the agreed recurring amount and pays for them at once. A
1422
+ * different interval selects the price currently sold for it and fixes new terms on the order, applied after
1423
+ * fulfillment. Paid periods keep their value.
1513
1424
  *
1514
- * Without `payment_method_id`, the renewal is paid from credit grants and the balance as
1515
- * `use_credits` and `use_balance` allow; when they cannot pay it all, the renewal is refused with
1516
- * `BILLING_INSUFFICIENT_FUNDS` and no order is left. To pay another way, create a renewal order
1517
- * and pay its invoice instead.
1425
+ * Without `payment_method_id`, the renewal is paid from credit grants and balance as `use_credits` and
1426
+ * `use_balance` allow; when they cannot cover it, the request fails with `BILLING_INSUFFICIENT_FUNDS` and no
1427
+ * order is left. To pay another way, create a renewal order and pay its invoice.
1518
1428
  *
1519
- * Save order_id before submitting and query the order after an unknown outcome; duplicate
1520
- * creation conflicts.
1429
+ * Keep order_id and read the order after an unknown outcome; creating it again conflicts.
1521
1430
  * @summary Renew subscription
1522
1431
  */
1523
1432
  export const renewSubscription = async (subscriptionId, renewRequest, options, fetchFn) => {
@@ -1550,16 +1459,14 @@ export const getCreateRenewalOrderUrl = (subscriptionId) => {
1550
1459
  return `https://billing.leaflow.cloud/api/v1/subscriptions/${encodeURIComponent(String(subscriptionId))}/renewal-orders`;
1551
1460
  };
1552
1461
  /**
1553
- * Places a renewal order with a draft invoice, without applying a new discount or charging anything.
1554
- * Pay its invoice to renew; a promotion code can be applied when paying. Existing subscription
1555
- * discount commitments are retained. The periods and price are chosen as for renewing. The order
1556
- * can be paid until the current paid period ends, and never after the end of the first period it renews; unpaid by
1557
- * then, it is canceled. While auto-renew is on, the renewal due at the end of the period pays
1558
- * this order instead of placing another, applying an applicable account discount first if the
1559
- * order's terms are not fixed yet.
1462
+ * Places a renewal order with a draft invoice, without applying a new discount or charging anything. Pay its
1463
+ * invoice to renew; a promotion code can be applied when paying. Existing subscription discounts are kept.
1464
+ * Periods and price are chosen as for renewing. The order can be paid until the current paid period ends, and
1465
+ * never after the end of the first period it renews; unpaid by then, it is canceled. While auto-renew is on, the
1466
+ * renewal due at the end of the period pays this order instead of placing another, applying an applicable
1467
+ * account discount first if its terms are not fixed yet.
1560
1468
  *
1561
- * Save `order_id` before submitting and read the order after an unknown outcome; creating it a
1562
- * second time conflicts.
1469
+ * Keep `order_id` and read the order after an unknown outcome; creating it again conflicts.
1563
1470
  * @summary Create renewal order
1564
1471
  */
1565
1472
  export const createRenewalOrder = async (subscriptionId, renewalOrderRequest, options, fetchFn) => {
@@ -1592,15 +1499,7 @@ export const getSetAutoRenewUrl = (subscriptionId) => {
1592
1499
  return `https://billing.leaflow.cloud/api/v1/subscriptions/${encodeURIComponent(String(subscriptionId))}/auto-renew`;
1593
1500
  };
1594
1501
  /**
1595
- * Controls automatic prepaid renewal for an active or suspended subscription. A pending or provisioning
1596
- * subscription cannot set this preference and returns 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_INACTIVE`. Disabling it does
1597
- * not shorten current_term_end and still permits manual renewal. A postpaid subscription always continues until it is
1598
- * canceled; setting it is refused with 409
1599
- * `BILLING_SUBSCRIPTION_AUTO_RENEW_FIXED`.
1600
- *
1601
- * While the subscription has an open cancellation, turning it on or off is refused with 409
1602
- * `BILLING_SUBSCRIPTION_OPERATION_PENDING` and `meta.cancellation_id`: creating the cancellation
1603
- * turned it off, and withdrawing the cancellation does not turn it back on.
1502
+ * 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.
1604
1503
  * @summary Set auto renew
1605
1504
  */
1606
1505
  export const setAutoRenew = async (subscriptionId, autoRenewSet, options, fetchFn) => {
@@ -1642,13 +1541,7 @@ export const getListAllowancesUrl = (params) => {
1642
1541
  : `https://billing.leaflow.cloud/api/v1/allowances`;
1643
1542
  };
1644
1543
  /**
1645
- * Lists remaining usage quantities, such as bytes, seconds or tokens. Applicable allowances are
1646
- * consumed before usage is charged. Lower priority values are consumed first, followed by earlier
1647
- * expiry and earlier issuance.
1648
- *
1649
- * Unused quantity expires without a refund or carry-over. Promotional allowances apply to usage paid
1650
- * by their holding account. Included allowances apply only to the associated subscription, including
1651
- * after its project moves to another billing account.
1544
+ * 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.
1652
1545
  * @summary List allowances
1653
1546
  */
1654
1547
  export const listAllowances = async (params, options, fetchFn) => {
@@ -1673,9 +1566,7 @@ export const getListOrdersUrl = (params) => {
1673
1566
  : `https://billing.leaflow.cloud/api/v1/orders`;
1674
1567
  };
1675
1568
  /**
1676
- * Lists acceptance status and associated invoice amounts. A pending order is not yet accepted;
1677
- * its invoice shows whether it still needs payment. accepted means accepted, not delivered.
1678
- * Pending orders can expire at expires_at.
1569
+ * 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.
1679
1570
  * @summary List orders
1680
1571
  */
1681
1572
  export const listOrders = async (params, options, fetchFn) => {
@@ -1691,7 +1582,7 @@ export const getGetOrderUrl = (orderId) => {
1691
1582
  return `https://billing.leaflow.cloud/api/v1/orders/${encodeURIComponent(String(orderId))}`;
1692
1583
  };
1693
1584
  /**
1694
- * 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.
1585
+ * An order of your billing account with its status and invoice. An unknown order returns 404; another user's order returns 403.
1695
1586
  * @summary Get order
1696
1587
  */
1697
1588
  export const getOrder = async (orderId, options, fetchFn) => {
@@ -1707,24 +1598,19 @@ export const getCancelOrderUrl = (orderId) => {
1707
1598
  return `https://billing.leaflow.cloud/api/v1/orders/${encodeURIComponent(String(orderId))}/cancel`;
1708
1599
  };
1709
1600
  /**
1710
- * Cancels the selected, still-undelivered items of an unaccepted order without recording a
1711
- * delivery failure. Omit order_item_ids to select every still-pending item, or name one or
1712
- * more items. Successful items remain delivered and are not refunded. Whole-order and partial
1713
- * cancellation both require confirmed non-delivery and necessary cleanup. The order keeps
1714
- * its existing pending phase while any item is still pending; its final outcome follows all
1715
- * item outcomes. Previously failed items keep their failure outcome.
1601
+ * Cancels the selected undelivered items of an order that has not been accepted, without recording a delivery
1602
+ * failure. Omit order_item_ids to select every pending item. Delivered items stay delivered and are not
1603
+ * refunded; failed items keep their outcome. The order stays pending while any item is pending, and its final
1604
+ * status follows its items.
1716
1605
  *
1717
- * Payment may be absent, partial or complete. Once the order's terms are fixed, the selected items
1718
- * keep their agreed amounts and discounts; credit notes reduce issued invoices, and collected amounts
1719
- * are returned to their original payment sources. While the terms of a deferred order are not fixed,
1720
- * 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`.
1721
- * The order and financial history are retained; the same cancellation does not refund twice.
1606
+ * Once the order's terms are fixed, the canceled items keep their agreed amounts and discounts: credit notes
1607
+ * reduce the issued invoice, and collected amounts return to their original payment sources, possibly
1608
+ * asynchronously. While a deferred order's terms are not fixed, the remaining items are priced again. An online
1609
+ * payment waiting for the payer is canceled with the order; one the gateway is processing is refused with
1610
+ * `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Repeating the cancellation does not refund twice.
1722
1611
  *
1723
- * Once the order is accepted, its owning service coordinates cancellation and confirms
1724
- * non-delivery and cleanup through the cancellation RPC. Delivered items are ended through
1725
- * subscription cancellation. Unknown delivery or payment outcomes are not refund evidence;
1726
- * in-flight or unknown payments must be reconciled first. Scheduled changes continue to be
1727
- * canceled through the owning service. Refund quotations use CreateQuote.refund.
1612
+ * An accepted order is canceled by its owning service, and delivered items through subscription cancellation.
1613
+ * Refunds are quoted with the quote operation's `refund` target.
1728
1614
  * @summary Cancel order
1729
1615
  */
1730
1616
  export const cancelOrder = async (orderId, orderCancel, options, fetchFn) => {
@@ -1791,13 +1677,7 @@ export const getListEntitlementsUrl = (params) => {
1791
1677
  : `https://billing.leaflow.cloud/api/v1/entitlements`;
1792
1678
  };
1793
1679
  /**
1794
- * Capabilities that come with what has been bought. A capability that is not held simply
1795
- * does not appear, so that "this does not exist" and "this has not been bought" cannot be
1796
- * confused.
1797
- *
1798
- * Derived from live subscriptions and active feature grants rather than stored, so this always
1799
- * agrees with what is being paid for and granted. It stops being listed as soon as the
1800
- * subscription or grant providing it ends.
1680
+ * 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.
1801
1681
  * @summary List entitlements
1802
1682
  */
1803
1683
  export const listEntitlements = async (params, options, fetchFn) => {
@@ -1822,9 +1702,7 @@ export const getListFeatureGrantsUrl = (params) => {
1822
1702
  : `https://billing.leaflow.cloud/api/v1/feature-grants`;
1823
1703
  };
1824
1704
  /**
1825
- * Access to features held by a billing account for a period, for example through a membership. While a grant
1826
- * is active, every project whose current billing account holds it has the feature, in addition to the
1827
- * features of its own subscriptions.
1705
+ * 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.
1828
1706
  * @summary List feature grants
1829
1707
  */
1830
1708
  export const listFeatureGrants = async (params, options, fetchFn) => {
@@ -1849,13 +1727,7 @@ export const getListPricesUrl = (params) => {
1849
1727
  : `https://billing.leaflow.cloud/api/v1/prices`;
1850
1728
  };
1851
1729
  /**
1852
- * Every sellable thing and what it costs, in one request. A plan appears once per price.
1853
- *
1854
- * `currency` is required: a plan has a price in each currency it is sold in, so "what does
1855
- * this cost" has no answer without one.
1856
- *
1857
- * Archived prices are left out. Existing subscriptions keep the terms they were bought at, so
1858
- * this is not the place to look up what an existing purchase is paying.
1730
+ * 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.
1859
1731
  * @summary List what is on sale, with prices
1860
1732
  */
1861
1733
  export const listPrices = async (params, headers, options, fetchFn) => {
@@ -1896,7 +1768,7 @@ export const getListProductsUrl = (params) => {
1896
1768
  : `https://billing.leaflow.cloud/api/v1/products`;
1897
1769
  };
1898
1770
  /**
1899
- * Paginated registered catalog products with their service identities and descriptions. Supports If- None-Match and returns 304 when the selected page has not changed.
1771
+ * Registered products. If-None-Match returns 304 for an unchanged page.
1900
1772
  * @summary List catalog products
1901
1773
  */
1902
1774
  export const listProducts = async (params, headers, options, fetchFn) => {
@@ -1928,8 +1800,7 @@ export const getGetProductUrl = (productId) => {
1928
1800
  return `https://billing.leaflow.cloud/api/v1/products/${encodeURIComponent(String(productId))}`;
1929
1801
  };
1930
1802
  /**
1931
- * Resolves an identifier that was stored elsewhere — on an order line, an invoice line, or
1932
- * the terms of a credit — into something that can be displayed.
1803
+ * A product by its ID.
1933
1804
  * @summary Get a service
1934
1805
  */
1935
1806
  export const getProduct = async (productId, headers, options, fetchFn) => {
@@ -1961,8 +1832,7 @@ export const getGetPlanUrl = (planId) => {
1961
1832
  return `https://billing.leaflow.cloud/api/v1/plans/${encodeURIComponent(String(planId))}`;
1962
1833
  };
1963
1834
  /**
1964
- * Resolves a stored identifier into something that can be displayed. Returns items that are
1965
- * no longer on sale: an existing purchase still refers to one.
1835
+ * A plan, including one no longer on sale.
1966
1836
  * @summary Get a sellable item
1967
1837
  */
1968
1838
  export const getPlan = async (planId, headers, options, fetchFn) => {
@@ -1994,7 +1864,7 @@ export const getGetPriceUrl = (priceId) => {
1994
1864
  return `https://billing.leaflow.cloud/api/v1/prices/${encodeURIComponent(String(priceId))}`;
1995
1865
  };
1996
1866
  /**
1997
- * 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.
1867
+ * A catalog price, archived prices included. The terms of past purchases are on their orders and subscriptions.
1998
1868
  * @summary Get a price
1999
1869
  */
2000
1870
  export const getPrice = async (priceId, headers, options, fetchFn) => {
@@ -2035,7 +1905,7 @@ export const getListPlansUrl = (params) => {
2035
1905
  : `https://billing.leaflow.cloud/api/v1/plans`;
2036
1906
  };
2037
1907
  /**
2038
- * 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.
1908
+ * Active plans of product_id with their features. An unknown product returns 404; If-None-Match returns 304 for an unchanged page.
2039
1909
  * @summary List catalog plans
2040
1910
  */
2041
1911
  export const listPlans = async (params, headers, options, fetchFn) => {
@@ -2076,8 +1946,7 @@ export const getListPricesByPlanUrl = (planId, params) => {
2076
1946
  : `https://billing.leaflow.cloud/api/v1/plans/${encodeURIComponent(String(planId))}/prices`;
2077
1947
  };
2078
1948
  /**
2079
- * Public list prices only. An account holding a negotiated agreement may be charged less;
2080
- * it is never charged more.
1949
+ * Public list prices. An account with a negotiated agreement may be charged less, never more.
2081
1950
  * @summary List catalog prices
2082
1951
  */
2083
1952
  export const listPricesByPlan = async (planId, params, headers, options, fetchFn) => {
@@ -2118,8 +1987,7 @@ export const getListRatesUrl = (rateCardId, params) => {
2118
1987
  : `https://billing.leaflow.cloud/api/v1/rate-cards/${encodeURIComponent(String(rateCardId))}/rules`;
2119
1988
  };
2120
1989
  /**
2121
- * Only public price lists are readable here. A list written for a single agreement is not,
2122
- * and its identifier cannot be used to reach it.
1990
+ * Rules of a public rate card; contract cards are not readable here.
2123
1991
  * @summary List catalog rates
2124
1992
  */
2125
1993
  export const listRates = async (rateCardId, params, headers, options, fetchFn) => {
@@ -2160,9 +2028,7 @@ export const getListActiveResourcesUrl = (params) => {
2160
2028
  : `https://billing.leaflow.cloud/api/v1/active-resources`;
2161
2029
  };
2162
2030
  /**
2163
- * Lists continuous metering registrations paid for by your billing accounts. Their state does not
2164
- * describe machine runtime or health. Project filters narrow the authorized accounts; they do not
2165
- * grant project-based access.
2031
+ * Continuous metering registrations paid for by your billing accounts. Their state does not describe the resource's runtime. Project filters only narrow the result.
2166
2032
  * @summary List active resources
2167
2033
  */
2168
2034
  export const listActiveResources = async (params, options, fetchFn) => {
@@ -2216,7 +2082,7 @@ export const getListMonthlyStatementsUrl = (params) => {
2216
2082
  : `https://billing.leaflow.cloud/api/v1/monthly-statements`;
2217
2083
  };
2218
2084
  /**
2219
- * 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.
2085
+ * 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.
2220
2086
  * @summary List monthly statements
2221
2087
  */
2222
2088
  export const listMonthlyStatements = async (params, options, fetchFn) => {
@@ -2241,7 +2107,7 @@ export const getListStatementsUrl = (params) => {
2241
2107
  : `https://billing.leaflow.cloud/api/v1/statements`;
2242
2108
  };
2243
2109
  /**
2244
- * 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.
2110
+ * 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.
2245
2111
  * @summary List statements
2246
2112
  */
2247
2113
  export const listStatements = async (params, options, fetchFn) => {
@@ -2257,7 +2123,7 @@ export const getGetStatementUrl = (statementId) => {
2257
2123
  return `https://billing.leaflow.cloud/api/v1/statements/${encodeURIComponent(String(statementId))}`;
2258
2124
  };
2259
2125
  /**
2260
- * 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.
2126
+ * 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.
2261
2127
  * @summary Get statement
2262
2128
  */
2263
2129
  export const getStatement = async (statementId, options, fetchFn) => {
@@ -2289,7 +2155,7 @@ export const getGetStatementUsageUrl = (statementId, params) => {
2289
2155
  : `https://billing.leaflow.cloud/api/v1/statements/${encodeURIComponent(String(statementId))}/usage-summary`;
2290
2156
  };
2291
2157
  /**
2292
- * 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.
2158
+ * 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.
2293
2159
  * @summary Get grouped consumption
2294
2160
  */
2295
2161
  export const getStatementUsage = async (statementId, params, options, fetchFn) => {