@leaflow/sdk 0.0.0-dev.403.g86286e3 → 0.0.0-dev.407.g035f1ea

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 (445) hide show
  1. package/dist/billing/v1/generated/functions.d.ts +26 -6
  2. package/dist/billing/v1/generated/functions.js +38 -6
  3. package/dist/billing/v1/generated/models.d.ts +57 -56
  4. package/dist/billing/v1/generated/schemas.zod.d.ts +3 -3
  5. package/dist/billing/v1/generated/schemas.zod.js +3 -3
  6. package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +1 -1
  7. package/dist/billing/v1/generated/validators/accountBalance.zod.js +1 -1
  8. package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.d.ts +1 -1
  9. package/dist/billing/v1/generated/validators/accountDeletionObjection.zod.js +1 -1
  10. package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.d.ts +1 -1
  11. package/dist/billing/v1/generated/validators/accountDeletionReadiness.zod.js +1 -1
  12. package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.d.ts +1 -1
  13. package/dist/billing/v1/generated/validators/accountDeletionReadinessItem.zod.js +1 -1
  14. package/dist/billing/v1/generated/validators/accountIdentity.zod.d.ts +1 -1
  15. package/dist/billing/v1/generated/validators/accountIdentity.zod.js +1 -1
  16. package/dist/billing/v1/generated/validators/activeResource.zod.d.ts +1 -1
  17. package/dist/billing/v1/generated/validators/activeResource.zod.js +1 -1
  18. package/dist/billing/v1/generated/validators/activeResourceList.zod.d.ts +1 -1
  19. package/dist/billing/v1/generated/validators/activeResourceList.zod.js +1 -1
  20. package/dist/billing/v1/generated/validators/allowance.zod.d.ts +1 -1
  21. package/dist/billing/v1/generated/validators/allowance.zod.js +1 -1
  22. package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +1 -1
  23. package/dist/billing/v1/generated/validators/allowanceList.zod.js +1 -1
  24. package/dist/billing/v1/generated/validators/applicability.zod.d.ts +1 -1
  25. package/dist/billing/v1/generated/validators/applicability.zod.js +1 -1
  26. package/dist/billing/v1/generated/validators/applicablePlan.zod.d.ts +1 -1
  27. package/dist/billing/v1/generated/validators/applicablePlan.zod.js +1 -1
  28. package/dist/billing/v1/generated/validators/appliedCredit.zod.d.ts +1 -1
  29. package/dist/billing/v1/generated/validators/appliedCredit.zod.js +1 -1
  30. package/dist/billing/v1/generated/validators/autoRenewSet.zod.d.ts +1 -1
  31. package/dist/billing/v1/generated/validators/autoRenewSet.zod.js +1 -1
  32. package/dist/billing/v1/generated/validators/billingAccount.zod.d.ts +1 -1
  33. package/dist/billing/v1/generated/validators/billingAccount.zod.js +1 -1
  34. package/dist/billing/v1/generated/validators/billingAccountCreate.zod.d.ts +1 -1
  35. package/dist/billing/v1/generated/validators/billingAccountCreate.zod.js +1 -1
  36. package/dist/billing/v1/generated/validators/billingAccountList.zod.d.ts +1 -1
  37. package/dist/billing/v1/generated/validators/billingAccountList.zod.js +1 -1
  38. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.d.ts +1 -1
  39. package/dist/billing/v1/generated/validators/billingAccountUpdate.zod.js +1 -1
  40. package/dist/billing/v1/generated/validators/billingScheme.zod.d.ts +1 -1
  41. package/dist/billing/v1/generated/validators/billingScheme.zod.js +1 -1
  42. package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +1 -1
  43. package/dist/billing/v1/generated/validators/cancelSubscriptionRequest.zod.js +3 -3
  44. package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +1 -1
  45. package/dist/billing/v1/generated/validators/cancellation.zod.js +1 -1
  46. package/dist/billing/v1/generated/validators/cancellationCreate.zod.d.ts +1 -1
  47. package/dist/billing/v1/generated/validators/cancellationCreate.zod.js +4 -4
  48. package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +1 -1
  49. package/dist/billing/v1/generated/validators/cancellationItem.zod.js +1 -1
  50. package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +1 -1
  51. package/dist/billing/v1/generated/validators/cancellationList.zod.js +1 -1
  52. package/dist/billing/v1/generated/validators/cancellationMode.zod.d.ts +1 -1
  53. package/dist/billing/v1/generated/validators/cancellationMode.zod.js +1 -1
  54. package/dist/billing/v1/generated/validators/cancellationPolicy.zod.d.ts +1 -1
  55. package/dist/billing/v1/generated/validators/cancellationPolicy.zod.js +1 -1
  56. package/dist/billing/v1/generated/validators/{quoteCancellationResult.zod.d.ts → cancellationPreview.zod.d.ts} +6 -4
  57. package/dist/billing/v1/generated/validators/cancellationPreview.zod.js +33 -0
  58. package/dist/billing/v1/generated/validators/{quoteCancellationItem.zod.d.ts → cancellationPreviewItem.zod.d.ts} +4 -4
  59. package/dist/billing/v1/generated/validators/{quoteCancellationItem.zod.js → cancellationPreviewItem.zod.js} +3 -3
  60. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +19 -0
  61. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +24 -0
  62. package/dist/billing/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
  63. package/dist/billing/v1/generated/validators/checkoutMode.zod.js +1 -1
  64. package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +1 -1
  65. package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +1 -1
  66. package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +1 -1
  67. package/dist/billing/v1/generated/validators/checkoutSession.zod.js +1 -1
  68. package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.d.ts +1 -1
  69. package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.js +1 -1
  70. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +1 -1
  71. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +1 -1
  72. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +1 -1
  73. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +1 -1
  74. package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +1 -1
  75. package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.js +1 -1
  76. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +1 -1
  77. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.js +1 -1
  78. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +1 -1
  79. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.js +1 -1
  80. package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.d.ts +1 -1
  81. package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.js +1 -1
  82. package/dist/billing/v1/generated/validators/contact.zod.d.ts +1 -1
  83. package/dist/billing/v1/generated/validators/contact.zod.js +1 -1
  84. package/dist/billing/v1/generated/validators/contactCreate.zod.d.ts +1 -1
  85. package/dist/billing/v1/generated/validators/contactCreate.zod.js +1 -1
  86. package/dist/billing/v1/generated/validators/contactList.zod.d.ts +1 -1
  87. package/dist/billing/v1/generated/validators/contactList.zod.js +1 -1
  88. package/dist/billing/v1/generated/validators/contactUpdate.zod.d.ts +1 -1
  89. package/dist/billing/v1/generated/validators/contactUpdate.zod.js +1 -1
  90. package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +1 -1
  91. package/dist/billing/v1/generated/validators/creditGrant.zod.js +1 -1
  92. package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +1 -1
  93. package/dist/billing/v1/generated/validators/creditGrantList.zod.js +1 -1
  94. package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +1 -1
  95. package/dist/billing/v1/generated/validators/creditGroup.zod.js +1 -1
  96. package/dist/billing/v1/generated/validators/creditNote.zod.d.ts +1 -1
  97. package/dist/billing/v1/generated/validators/creditNote.zod.js +1 -1
  98. package/dist/billing/v1/generated/validators/creditNoteItem.zod.d.ts +1 -1
  99. package/dist/billing/v1/generated/validators/creditNoteItem.zod.js +1 -1
  100. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.d.ts +1 -1
  101. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.js +1 -1
  102. package/dist/billing/v1/generated/validators/creditNoteList.zod.d.ts +1 -1
  103. package/dist/billing/v1/generated/validators/creditNoteList.zod.js +1 -1
  104. package/dist/billing/v1/generated/validators/currency.zod.d.ts +1 -1
  105. package/dist/billing/v1/generated/validators/currency.zod.js +1 -1
  106. package/dist/billing/v1/generated/validators/currencyList.zod.d.ts +1 -1
  107. package/dist/billing/v1/generated/validators/currencyList.zod.js +1 -1
  108. package/dist/billing/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
  109. package/dist/billing/v1/generated/validators/cursorPagination.zod.js +1 -1
  110. package/dist/billing/v1/generated/validators/discount.zod.d.ts +1 -1
  111. package/dist/billing/v1/generated/validators/discount.zod.js +1 -1
  112. package/dist/billing/v1/generated/validators/discountList.zod.d.ts +1 -1
  113. package/dist/billing/v1/generated/validators/discountList.zod.js +1 -1
  114. package/dist/billing/v1/generated/validators/entitlement.zod.d.ts +1 -1
  115. package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
  116. package/dist/billing/v1/generated/validators/entitlementList.zod.d.ts +1 -1
  117. package/dist/billing/v1/generated/validators/entitlementList.zod.js +1 -1
  118. package/dist/billing/v1/generated/validators/error.zod.d.ts +1 -1
  119. package/dist/billing/v1/generated/validators/error.zod.js +1 -1
  120. package/dist/billing/v1/generated/validators/featureGrant.zod.d.ts +1 -1
  121. package/dist/billing/v1/generated/validators/featureGrant.zod.js +1 -1
  122. package/dist/billing/v1/generated/validators/featureGrantList.zod.d.ts +1 -1
  123. package/dist/billing/v1/generated/validators/featureGrantList.zod.js +1 -1
  124. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.d.ts +1 -1
  125. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.js +1 -1
  126. package/dist/billing/v1/generated/validators/funds.zod.d.ts +1 -1
  127. package/dist/billing/v1/generated/validators/funds.zod.js +1 -1
  128. package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.d.ts +1 -1
  129. package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.js +1 -1
  130. package/dist/billing/v1/generated/validators/getPlanHeaders.zod.d.ts +1 -1
  131. package/dist/billing/v1/generated/validators/getPlanHeaders.zod.js +1 -1
  132. package/dist/billing/v1/generated/validators/getPriceHeaders.zod.d.ts +1 -1
  133. package/dist/billing/v1/generated/validators/getPriceHeaders.zod.js +1 -1
  134. package/dist/billing/v1/generated/validators/getProductHeaders.zod.d.ts +1 -1
  135. package/dist/billing/v1/generated/validators/getProductHeaders.zod.js +1 -1
  136. package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.d.ts +1 -1
  137. package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.js +1 -1
  138. package/dist/billing/v1/generated/validators/invoice.zod.d.ts +1 -1
  139. package/dist/billing/v1/generated/validators/invoice.zod.js +1 -1
  140. package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +1 -1
  141. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +1 -1
  142. package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +1 -1
  143. package/dist/billing/v1/generated/validators/invoiceItemList.zod.js +1 -1
  144. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.d.ts +1 -1
  145. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -1
  146. package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +1 -1
  147. package/dist/billing/v1/generated/validators/invoiceList.zod.js +1 -1
  148. package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +1 -1
  149. package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +1 -1
  150. package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +1 -1
  151. package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +1 -1
  152. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +1 -1
  153. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +1 -1
  154. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +1 -1
  155. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +1 -1
  156. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +1 -1
  157. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +1 -1
  158. package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.d.ts +1 -1
  159. package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.js +1 -1
  160. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +1 -1
  161. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +1 -1
  162. package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.d.ts +1 -1
  163. package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.js +1 -1
  164. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +1 -1
  165. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +1 -1
  166. package/dist/billing/v1/generated/validators/listContactsParams.zod.d.ts +1 -1
  167. package/dist/billing/v1/generated/validators/listContactsParams.zod.js +1 -1
  168. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +1 -1
  169. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +1 -1
  170. package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.d.ts +1 -1
  171. package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.js +1 -1
  172. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +1 -1
  173. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +1 -1
  174. package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.d.ts +1 -1
  175. package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.js +1 -1
  176. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.d.ts +1 -1
  177. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +1 -1
  178. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +1 -1
  179. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +1 -1
  180. package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.d.ts +1 -1
  181. package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.js +1 -1
  182. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +1 -1
  183. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +1 -1
  184. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.d.ts +1 -1
  185. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.js +1 -1
  186. package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.d.ts +1 -1
  187. package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.js +1 -1
  188. package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +1 -1
  189. package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +1 -1
  190. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +1 -1
  191. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +1 -1
  192. package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.d.ts +1 -1
  193. package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.js +1 -1
  194. package/dist/billing/v1/generated/validators/listPlansHeaders.zod.d.ts +1 -1
  195. package/dist/billing/v1/generated/validators/listPlansHeaders.zod.js +1 -1
  196. package/dist/billing/v1/generated/validators/listPlansParams.zod.d.ts +1 -1
  197. package/dist/billing/v1/generated/validators/listPlansParams.zod.js +1 -1
  198. package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.d.ts +1 -1
  199. package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.js +1 -1
  200. package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +1 -1
  201. package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +1 -1
  202. package/dist/billing/v1/generated/validators/listPricesHeaders.zod.d.ts +1 -1
  203. package/dist/billing/v1/generated/validators/listPricesHeaders.zod.js +1 -1
  204. package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +1 -1
  205. package/dist/billing/v1/generated/validators/listPricesParams.zod.js +1 -1
  206. package/dist/billing/v1/generated/validators/listProductsHeaders.zod.d.ts +1 -1
  207. package/dist/billing/v1/generated/validators/listProductsHeaders.zod.js +1 -1
  208. package/dist/billing/v1/generated/validators/listProductsParams.zod.d.ts +1 -1
  209. package/dist/billing/v1/generated/validators/listProductsParams.zod.js +1 -1
  210. package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.d.ts +1 -1
  211. package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.js +1 -1
  212. package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +1 -1
  213. package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +1 -1
  214. package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.d.ts +1 -1
  215. package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.js +1 -1
  216. package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -1
  217. package/dist/billing/v1/generated/validators/listSpendParams.zod.js +1 -1
  218. package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +1 -1
  219. package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +1 -1
  220. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +1 -1
  221. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +1 -1
  222. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +1 -1
  223. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +1 -1
  224. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +1 -1
  225. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +1 -1
  226. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.d.ts +1 -1
  227. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +1 -1
  228. package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.d.ts +1 -1
  229. package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.js +1 -1
  230. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +1 -1
  231. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +1 -1
  232. package/dist/billing/v1/generated/validators/money.zod.d.ts +1 -1
  233. package/dist/billing/v1/generated/validators/money.zod.js +1 -1
  234. package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +1 -1
  235. package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +1 -1
  236. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +1 -1
  237. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.js +1 -1
  238. package/dist/billing/v1/generated/validators/namedIdentity.zod.d.ts +1 -1
  239. package/dist/billing/v1/generated/validators/namedIdentity.zod.js +1 -1
  240. package/dist/billing/v1/generated/validators/objectIdentity.zod.d.ts +1 -1
  241. package/dist/billing/v1/generated/validators/objectIdentity.zod.js +1 -1
  242. package/dist/billing/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
  243. package/dist/billing/v1/generated/validators/offsetPagination.zod.js +1 -1
  244. package/dist/billing/v1/generated/validators/order.zod.d.ts +1 -1
  245. package/dist/billing/v1/generated/validators/order.zod.js +1 -1
  246. package/dist/billing/v1/generated/validators/orderCancel.zod.d.ts +1 -1
  247. package/dist/billing/v1/generated/validators/orderCancel.zod.js +1 -1
  248. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +1 -1
  249. package/dist/billing/v1/generated/validators/orderItem.zod.js +1 -1
  250. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +1 -1
  251. package/dist/billing/v1/generated/validators/orderItemList.zod.js +1 -1
  252. package/dist/billing/v1/generated/validators/orderItemStatus.zod.d.ts +1 -1
  253. package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
  254. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +1 -1
  255. package/dist/billing/v1/generated/validators/orderList.zod.js +1 -1
  256. package/dist/billing/v1/generated/validators/orderRefundPreview.zod.d.ts +1 -1
  257. package/dist/billing/v1/generated/validators/orderRefundPreview.zod.js +1 -1
  258. package/dist/billing/v1/generated/validators/orderStatus.zod.d.ts +1 -1
  259. package/dist/billing/v1/generated/validators/orderStatus.zod.js +1 -1
  260. package/dist/billing/v1/generated/validators/paidWith.zod.d.ts +1 -1
  261. package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
  262. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.d.ts +1 -1
  263. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +1 -1
  264. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.d.ts +1 -1
  265. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +1 -1
  266. package/dist/billing/v1/generated/validators/paymentAction.zod.d.ts +1 -1
  267. package/dist/billing/v1/generated/validators/paymentAction.zod.js +1 -1
  268. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.d.ts +1 -1
  269. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  270. package/dist/billing/v1/generated/validators/paymentMethod.zod.d.ts +1 -1
  271. package/dist/billing/v1/generated/validators/paymentMethod.zod.js +1 -1
  272. package/dist/billing/v1/generated/validators/paymentMethodList.zod.d.ts +1 -1
  273. package/dist/billing/v1/generated/validators/paymentMethodList.zod.js +1 -1
  274. package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.d.ts +1 -1
  275. package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.js +1 -1
  276. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +1 -1
  277. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +1 -1
  278. package/dist/billing/v1/generated/validators/paymentOption.zod.d.ts +1 -1
  279. package/dist/billing/v1/generated/validators/paymentOption.zod.js +1 -1
  280. package/dist/billing/v1/generated/validators/paymentOptionList.zod.d.ts +1 -1
  281. package/dist/billing/v1/generated/validators/paymentOptionList.zod.js +1 -1
  282. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.d.ts +1 -1
  283. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  284. package/dist/billing/v1/generated/validators/paymentPreview.zod.d.ts +1 -1
  285. package/dist/billing/v1/generated/validators/paymentPreview.zod.js +1 -1
  286. package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +1 -1
  287. package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.js +1 -1
  288. package/dist/billing/v1/generated/validators/paymentResult.zod.d.ts +1 -1
  289. package/dist/billing/v1/generated/validators/paymentResult.zod.js +1 -1
  290. package/dist/billing/v1/generated/validators/paymentStatus.zod.d.ts +1 -1
  291. package/dist/billing/v1/generated/validators/paymentStatus.zod.js +1 -1
  292. package/dist/billing/v1/generated/validators/plan.zod.d.ts +1 -1
  293. package/dist/billing/v1/generated/validators/plan.zod.js +1 -1
  294. package/dist/billing/v1/generated/validators/planFeature.zod.d.ts +1 -1
  295. package/dist/billing/v1/generated/validators/planFeature.zod.js +1 -1
  296. package/dist/billing/v1/generated/validators/planList.zod.d.ts +1 -1
  297. package/dist/billing/v1/generated/validators/planList.zod.js +1 -1
  298. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.d.ts +1 -1
  299. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.js +1 -1
  300. package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.d.ts +1 -1
  301. package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.js +1 -1
  302. package/dist/billing/v1/generated/validators/price.zod.d.ts +1 -1
  303. package/dist/billing/v1/generated/validators/price.zod.js +1 -1
  304. package/dist/billing/v1/generated/validators/priceList.zod.d.ts +1 -1
  305. package/dist/billing/v1/generated/validators/priceList.zod.js +1 -1
  306. package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +1 -1
  307. package/dist/billing/v1/generated/validators/priceOption.zod.js +1 -1
  308. package/dist/billing/v1/generated/validators/priceSearch.zod.d.ts +1 -1
  309. package/dist/billing/v1/generated/validators/priceSearch.zod.js +1 -1
  310. package/dist/billing/v1/generated/validators/priceType.zod.d.ts +1 -1
  311. package/dist/billing/v1/generated/validators/priceType.zod.js +1 -1
  312. package/dist/billing/v1/generated/validators/product.zod.d.ts +1 -1
  313. package/dist/billing/v1/generated/validators/product.zod.js +1 -1
  314. package/dist/billing/v1/generated/validators/productID.zod.d.ts +1 -1
  315. package/dist/billing/v1/generated/validators/productID.zod.js +1 -1
  316. package/dist/billing/v1/generated/validators/productList.zod.d.ts +1 -1
  317. package/dist/billing/v1/generated/validators/productList.zod.js +1 -1
  318. package/dist/billing/v1/generated/validators/projectAssignment.zod.d.ts +1 -1
  319. package/dist/billing/v1/generated/validators/projectAssignment.zod.js +1 -1
  320. package/dist/billing/v1/generated/validators/projectAssignmentList.zod.d.ts +1 -1
  321. package/dist/billing/v1/generated/validators/projectAssignmentList.zod.js +1 -1
  322. package/dist/billing/v1/generated/validators/purchaseOperation.zod.d.ts +1 -1
  323. package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +1 -1
  324. package/dist/billing/v1/generated/validators/quote.zod.d.ts +1 -40
  325. package/dist/billing/v1/generated/validators/quote.zod.js +4 -8
  326. package/dist/billing/v1/generated/validators/quoteAddress.zod.d.ts +1 -1
  327. package/dist/billing/v1/generated/validators/quoteAddress.zod.js +1 -1
  328. package/dist/billing/v1/generated/validators/quoteChangeInput.zod.d.ts +1 -1
  329. package/dist/billing/v1/generated/validators/quoteChangeInput.zod.js +1 -1
  330. package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.d.ts +1 -1
  331. package/dist/billing/v1/generated/validators/quoteDowngradeRefund.zod.js +1 -1
  332. package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +1 -1
  333. package/dist/billing/v1/generated/validators/quoteItem.zod.js +1 -1
  334. package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
  335. package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +1 -1
  336. package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
  337. package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +1 -1
  338. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +1 -1
  339. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +1 -1
  340. package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +1 -8
  341. package/dist/billing/v1/generated/validators/quoteRequest.zod.js +3 -5
  342. package/dist/billing/v1/generated/validators/quotedDiscount.zod.d.ts +1 -1
  343. package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +1 -1
  344. package/dist/billing/v1/generated/validators/rate.zod.d.ts +1 -1
  345. package/dist/billing/v1/generated/validators/rate.zod.js +1 -1
  346. package/dist/billing/v1/generated/validators/refund.zod.d.ts +1 -1
  347. package/dist/billing/v1/generated/validators/refund.zod.js +1 -1
  348. package/dist/billing/v1/generated/validators/refundList.zod.d.ts +1 -1
  349. package/dist/billing/v1/generated/validators/refundList.zod.js +1 -1
  350. package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +1 -1
  351. package/dist/billing/v1/generated/validators/refundPolicy.zod.js +1 -1
  352. package/dist/billing/v1/generated/validators/refundReason.zod.d.ts +1 -1
  353. package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
  354. package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +1 -1
  355. package/dist/billing/v1/generated/validators/renewRequest.zod.js +1 -1
  356. package/dist/billing/v1/generated/validators/renewalPrice.zod.d.ts +1 -1
  357. package/dist/billing/v1/generated/validators/renewalPrice.zod.js +1 -1
  358. package/dist/billing/v1/generated/validators/renewalPriceList.zod.d.ts +1 -1
  359. package/dist/billing/v1/generated/validators/renewalPriceList.zod.js +1 -1
  360. package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +1 -1
  361. package/dist/billing/v1/generated/validators/scheduledChange.zod.js +1 -1
  362. package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +1 -1
  363. package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.js +1 -1
  364. package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +1 -1
  365. package/dist/billing/v1/generated/validators/spendRow.zod.js +1 -1
  366. package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +1 -1
  367. package/dist/billing/v1/generated/validators/spendRowList.zod.js +1 -1
  368. package/dist/billing/v1/generated/validators/statement.zod.d.ts +1 -1
  369. package/dist/billing/v1/generated/validators/statement.zod.js +1 -1
  370. package/dist/billing/v1/generated/validators/statementAmounts.zod.d.ts +1 -1
  371. package/dist/billing/v1/generated/validators/statementAmounts.zod.js +1 -1
  372. package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +1 -1
  373. package/dist/billing/v1/generated/validators/statementItem.zod.js +1 -1
  374. package/dist/billing/v1/generated/validators/statementList.zod.d.ts +1 -1
  375. package/dist/billing/v1/generated/validators/statementList.zod.js +1 -1
  376. package/dist/billing/v1/generated/validators/statementStatus.zod.d.ts +1 -1
  377. package/dist/billing/v1/generated/validators/statementStatus.zod.js +1 -1
  378. package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +1 -1
  379. package/dist/billing/v1/generated/validators/statementSummary.zod.js +1 -1
  380. package/dist/billing/v1/generated/validators/statementType.zod.d.ts +1 -1
  381. package/dist/billing/v1/generated/validators/statementType.zod.js +1 -1
  382. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +1 -1
  383. package/dist/billing/v1/generated/validators/subscription.zod.js +1 -1
  384. package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.d.ts +1 -1
  385. package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +1 -1
  386. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
  387. package/dist/billing/v1/generated/validators/subscriptionList.zod.js +1 -1
  388. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.d.ts +1 -1
  389. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  390. package/dist/billing/v1/generated/validators/taxItem.zod.d.ts +1 -1
  391. package/dist/billing/v1/generated/validators/taxItem.zod.js +1 -1
  392. package/dist/billing/v1/generated/validators/tier.zod.d.ts +1 -1
  393. package/dist/billing/v1/generated/validators/tier.zod.js +1 -1
  394. package/dist/billing/v1/generated/validators/topUp.zod.d.ts +1 -1
  395. package/dist/billing/v1/generated/validators/topUp.zod.js +1 -1
  396. package/dist/billing/v1/generated/validators/topUpCreate.zod.d.ts +1 -1
  397. package/dist/billing/v1/generated/validators/topUpCreate.zod.js +1 -1
  398. package/dist/billing/v1/generated/validators/topUpList.zod.d.ts +1 -1
  399. package/dist/billing/v1/generated/validators/topUpList.zod.js +1 -1
  400. package/dist/billing/v1/generated/validators/transaction.zod.d.ts +1 -1
  401. package/dist/billing/v1/generated/validators/transaction.zod.js +1 -1
  402. package/dist/billing/v1/generated/validators/transactionList.zod.d.ts +1 -1
  403. package/dist/billing/v1/generated/validators/transactionList.zod.js +1 -1
  404. package/dist/billing/v1/generated/validators/transactionType.zod.d.ts +1 -1
  405. package/dist/billing/v1/generated/validators/transactionType.zod.js +1 -1
  406. package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -1
  407. package/dist/billing/v1/generated/validators/usageCharge.zod.js +1 -1
  408. package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -1
  409. package/dist/billing/v1/generated/validators/usageChargeList.zod.js +1 -1
  410. package/dist/billing/v1/generated/validators/usageEstimate.zod.d.ts +1 -1
  411. package/dist/billing/v1/generated/validators/usageEstimate.zod.js +1 -1
  412. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.d.ts +1 -1
  413. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +1 -1
  414. package/dist/billing/v1/generated/validators/usageEstimateItem.zod.d.ts +1 -1
  415. package/dist/billing/v1/generated/validators/usageEstimateItem.zod.js +1 -1
  416. package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.d.ts +1 -1
  417. package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.js +1 -1
  418. package/dist/billing/v1/generated/validators/usageType.zod.d.ts +1 -1
  419. package/dist/billing/v1/generated/validators/usageType.zod.js +1 -1
  420. package/dist/billing/v1/generated/validators/withdrawal.zod.d.ts +1 -1
  421. package/dist/billing/v1/generated/validators/withdrawal.zod.js +1 -1
  422. package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.d.ts +1 -1
  423. package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.js +1 -1
  424. package/dist/billing/v1/generated/validators/withdrawalCreate.zod.d.ts +1 -1
  425. package/dist/billing/v1/generated/validators/withdrawalCreate.zod.js +1 -1
  426. package/dist/billing/v1/generated/validators/withdrawalItem.zod.d.ts +1 -1
  427. package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +1 -1
  428. package/dist/billing/v1/generated/validators/withdrawalItemList.zod.d.ts +1 -1
  429. package/dist/billing/v1/generated/validators/withdrawalItemList.zod.js +1 -1
  430. package/dist/billing/v1/generated/validators/withdrawalList.zod.d.ts +1 -1
  431. package/dist/billing/v1/generated/validators/withdrawalList.zod.js +1 -1
  432. package/dist/billing/v1/generated/validators/withdrawalPreview.zod.d.ts +1 -1
  433. package/dist/billing/v1/generated/validators/withdrawalPreview.zod.js +1 -1
  434. package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +1 -1
  435. package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.js +1 -1
  436. package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +1 -1
  437. package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.js +1 -1
  438. package/dist/billing/v1/generated/validators/withdrawalSource.zod.d.ts +1 -1
  439. package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +1 -1
  440. package/dist/routes.d.ts +10 -2
  441. package/dist/routes.js +11 -2
  442. package/package.json +1 -1
  443. package/dist/billing/v1/generated/validators/quoteCancellation.zod.d.ts +0 -18
  444. package/dist/billing/v1/generated/validators/quoteCancellation.zod.js +0 -20
  445. package/dist/billing/v1/generated/validators/quoteCancellationResult.zod.js +0 -28
@@ -2,10 +2,10 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
- import type { AccountBalance, AccountDeletionReadiness, ActiveResourceList, AllowanceList, AutoRenewSet, BillingAccount, BillingAccountCreate, BillingAccountList, BillingAccountUpdate, CancelSubscriptionRequest, Cancellation, CancellationCreate, CancellationList, CheckoutSession, CheckoutSessionConfirm, CheckoutSessionCreate, CheckoutSessionItemList, CheckoutSessionList, CheckoutSessionResult, Contact, ContactCreate, ContactList, ContactUpdate, CreditGrantList, CreditNote, CreditNoteItemList, CreditNoteList, CurrencyList, DiscountList, EntitlementList, Error, ErrorResponse, FeatureGrantList, GetCheckoutSessionQuoteParams, GetPlanHeaders, GetPriceHeaders, GetProductHeaders, GetStatementUsageParams, Invoice, InvoiceItemList, InvoiceList, ListAccountDiscountsParams, ListActiveResourcesParams, ListAllowancesParams, ListBillingAccountsParams, ListCancellationsParams, ListCheckoutSessionItemsParams, ListCheckoutSessionsParams, ListContactsParams, ListCreditGrantsParams, ListCreditNoteItemsParams, ListCreditNotesParams, ListCurrenciesParams, ListEntitlementsParams, ListFeatureGrantsParams, ListInvoiceItemsParams, ListInvoicesParams, ListMonthlyStatementsParams, ListOrderItemsParams, ListOrdersParams, ListPaymentMethodsParams, ListPaymentOptionsParams, ListPlansHeaders, ListPlansParams, ListPricesByPlanHeaders, ListPricesByPlanParams, ListPricesHeaders, ListPricesParams, ListProductsHeaders, ListProductsParams, ListProjectAssignmentsParams, ListRefundsParams, ListRenewalPricesParams, ListSpendParams, ListStatementsParams, ListSubscriptionsParams, ListTopUpsParams, ListTransactionsParams, ListUsageChargesParams, ListWithdrawalItemsParams, ListWithdrawalsParams, MonthlyStatementList, NotModifiedResponse, Order, OrderCancel, OrderItemList, OrderList, OrderRefundPreview, PayInvoiceRequest, PayTogetherRequest, PaymentMethod, PaymentMethodList, PaymentMethodSetup, PaymentMethodSetupResult, PaymentOptionList, PaymentPreview, PaymentResult, Plan, PlanList, PreviewInvoicePaymentParams, PreviewOrderRefundParams, Price, PriceList, PriceSearch, Product, ProductID, ProductList, ProjectAssignment, ProjectAssignmentList, Quote, QuoteRequest, RefundList, RenewRequest, RenewalPriceList, SetProjectAssignmentRequest, SpendRowList, Statement, StatementList, StatementSummary, Subscription, SubscriptionList, TopUp, TopUpCreate, TopUpList, TransactionList, UsageChargeList, UsageEstimate, UsageEstimateRequest, Withdrawal, WithdrawalCreate, WithdrawalItemList, WithdrawalList, WithdrawalPreview, WithdrawalPreviewRequest } from "./models.js";
8
+ import type { AccountBalance, AccountDeletionReadiness, ActiveResourceList, AllowanceList, AutoRenewSet, BillingAccount, BillingAccountCreate, BillingAccountList, BillingAccountUpdate, CancelSubscriptionRequest, Cancellation, CancellationCreate, CancellationList, CancellationPreview, CancellationPreviewRequest, CheckoutSession, CheckoutSessionConfirm, CheckoutSessionCreate, CheckoutSessionItemList, CheckoutSessionList, CheckoutSessionResult, Contact, ContactCreate, ContactList, ContactUpdate, CreditGrantList, CreditNote, CreditNoteItemList, CreditNoteList, CurrencyList, DiscountList, EntitlementList, Error, ErrorResponse, FeatureGrantList, GetCheckoutSessionQuoteParams, GetPlanHeaders, GetPriceHeaders, GetProductHeaders, GetStatementUsageParams, Invoice, InvoiceItemList, InvoiceList, ListAccountDiscountsParams, ListActiveResourcesParams, ListAllowancesParams, ListBillingAccountsParams, ListCancellationsParams, ListCheckoutSessionItemsParams, ListCheckoutSessionsParams, ListContactsParams, ListCreditGrantsParams, ListCreditNoteItemsParams, ListCreditNotesParams, ListCurrenciesParams, ListEntitlementsParams, ListFeatureGrantsParams, ListInvoiceItemsParams, ListInvoicesParams, ListMonthlyStatementsParams, ListOrderItemsParams, ListOrdersParams, ListPaymentMethodsParams, ListPaymentOptionsParams, ListPlansHeaders, ListPlansParams, ListPricesByPlanHeaders, ListPricesByPlanParams, ListPricesHeaders, ListPricesParams, ListProductsHeaders, ListProductsParams, ListProjectAssignmentsParams, ListRefundsParams, ListRenewalPricesParams, ListSpendParams, ListStatementsParams, ListSubscriptionsParams, ListTopUpsParams, ListTransactionsParams, ListUsageChargesParams, ListWithdrawalItemsParams, ListWithdrawalsParams, MonthlyStatementList, NotModifiedResponse, Order, OrderCancel, OrderItemList, OrderList, OrderRefundPreview, PayInvoiceRequest, PayTogetherRequest, PaymentMethod, PaymentMethodList, PaymentMethodSetup, PaymentMethodSetupResult, PaymentOptionList, PaymentPreview, PaymentResult, Plan, PlanList, PreviewInvoicePaymentParams, PreviewOrderRefundParams, Price, PriceList, PriceSearch, Product, ProductID, ProductList, ProjectAssignment, ProjectAssignmentList, Quote, QuoteRequest, RefundList, RenewRequest, RenewalPriceList, SetProjectAssignmentRequest, SpendRowList, Statement, StatementList, StatementSummary, Subscription, SubscriptionList, TopUp, TopUpCreate, TopUpList, TransactionList, UsageChargeList, UsageEstimate, UsageEstimateRequest, Withdrawal, WithdrawalCreate, WithdrawalItemList, WithdrawalList, WithdrawalPreview, WithdrawalPreviewRequest } from "./models.js";
9
9
  export type HTTPStatusCode1xx = 100 | 101 | 102 | 103;
10
10
  export type HTTPStatusCode2xx = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207;
11
11
  export type HTTPStatusCode3xx = 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308;
@@ -1145,7 +1145,7 @@ export type cancelSubscriptionResponse = cancelSubscriptionResponseSuccess | can
1145
1145
  export declare const getCancelSubscriptionUrl: (subscriptionId: string) => string;
1146
1146
  /**
1147
1147
  * Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
1148
- * refund amount from a quote with this subscription in `cancellation.subscription_ids`. Open to the owner of the
1148
+ * `proration_date` and `refundable_amount` of preview-cancellation for this subscription. Open to the owner of the
1149
1149
  * subscription's current billing account and to members of its project with the project permission
1150
1150
  * `billing:finance.manage`.
1151
1151
  *
@@ -1175,8 +1175,7 @@ export type getQuoteResponse = getQuoteResponseSuccess | getQuoteResponseError;
1175
1175
  export declare const getGetQuoteUrl: () => string;
1176
1176
  /**
1177
1177
  * Calculates what a proposed purchase, a change of your subscriptions or their renewal would invoice now, and
1178
- * what each purchased or changed line renews at, or what ending subscriptions would return. Nothing is saved,
1179
- * reserved, redeemed or canceled.
1178
+ * what each purchased or changed line renews at. Nothing is saved, reserved or redeemed.
1180
1179
  *
1181
1180
  * With `billing_account_id`, the quote is for that billing account: its currency, account discounts,
1182
1181
  * tax and funds apply, changes and renewals use the account currently paying for each subscription, and an
@@ -1294,6 +1293,27 @@ export declare const getCreateCancellationUrl: () => string;
1294
1293
  * @summary Cancel subscriptions
1295
1294
  */
1296
1295
  export declare const createCancellation: (cancellationCreate: CancellationCreate, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<createCancellationResponse>;
1296
+ export type previewCancellationResponse200 = {
1297
+ data: CancellationPreview;
1298
+ status: 200;
1299
+ };
1300
+ export type previewCancellationResponseDefault = {
1301
+ data: ErrorResponse;
1302
+ status: Exclude<HTTPStatusCodes, 200>;
1303
+ };
1304
+ export type previewCancellationResponseSuccess = previewCancellationResponse200 & {
1305
+ headers: Headers;
1306
+ };
1307
+ export type previewCancellationResponseError = previewCancellationResponseDefault & {
1308
+ headers: Headers;
1309
+ };
1310
+ export type previewCancellationResponse = previewCancellationResponseSuccess | previewCancellationResponseError;
1311
+ export declare const getPreviewCancellationUrl: () => string;
1312
+ /**
1313
+ * What creating the cancellation now would return, per subscription and in total. Nothing is canceled, ended or refunded. Open to the owner of the subscriptions' current billing account and to members of their project; refused for the same states as creating it.
1314
+ * @summary Preview a cancellation
1315
+ */
1316
+ export declare const previewCancellation: (cancellationPreviewRequest: CancellationPreviewRequest, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<previewCancellationResponse>;
1297
1317
  export type getCancellationResponse200 = {
1298
1318
  data: Cancellation;
1299
1319
  status: 200;
@@ -1332,7 +1352,7 @@ export type withdrawCancellationResponseError = withdrawCancellationResponseDefa
1332
1352
  export type withdrawCancellationResponse = withdrawCancellationResponseSuccess | withdrawCancellationResponseError;
1333
1353
  export declare const getWithdrawCancellationUrl: (cancellationId: string) => string;
1334
1354
  /**
1335
- * 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. Open to the owner of the subscriptions' current billing account and to members of their project with the project permission `billing:finance.manage`.
1355
+ * Withdraws the whole cancellation, which stays with status `canceled`, 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. Open to the owner of the subscriptions' current billing account and to members of their project with the project permission `billing:finance.manage`.
1336
1356
  * @summary Withdraw a cancellation
1337
1357
  */
1338
1358
  export declare const withdrawCancellation: (cancellationId: string, options?: RequestInit, fetchFn?: typeof globalThis.fetch) => Promise<withdrawCancellationResponse>;
@@ -1248,7 +1248,7 @@ export const getCancelSubscriptionUrl = (subscriptionId) => {
1248
1248
  };
1249
1249
  /**
1250
1250
  * Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
1251
- * refund amount from a quote with this subscription in `cancellation.subscription_ids`. Open to the owner of the
1251
+ * `proration_date` and `refundable_amount` of preview-cancellation for this subscription. Open to the owner of the
1252
1252
  * subscription's current billing account and to members of its project with the project permission
1253
1253
  * `billing:finance.manage`.
1254
1254
  *
@@ -1290,8 +1290,7 @@ export const getGetQuoteUrl = () => {
1290
1290
  };
1291
1291
  /**
1292
1292
  * Calculates what a proposed purchase, a change of your subscriptions or their renewal would invoice now, and
1293
- * what each purchased or changed line renews at, or what ending subscriptions would return. Nothing is saved,
1294
- * reserved, redeemed or canceled.
1293
+ * what each purchased or changed line renews at. Nothing is saved, reserved or redeemed.
1295
1294
  *
1296
1295
  * With `billing_account_id`, the quote is for that billing account: its currency, account discounts,
1297
1296
  * tax and funds apply, changes and renewals use the account currently paying for each subscription, and an
@@ -1458,6 +1457,39 @@ export const createCancellation = async (cancellationCreate, options, fetchFn) =
1458
1457
  const data = body ? JSON.parse(body) : {};
1459
1458
  return { data, status: res.status, headers: res.headers };
1460
1459
  };
1460
+ export const getPreviewCancellationUrl = () => {
1461
+ return `https://billing.leaflow.cloud/api/v1/cancellations:preview`;
1462
+ };
1463
+ /**
1464
+ * What creating the cancellation now would return, per subscription and in total. Nothing is canceled, ended or refunded. Open to the owner of the subscriptions' current billing account and to members of their project; refused for the same states as creating it.
1465
+ * @summary Preview a cancellation
1466
+ */
1467
+ export const previewCancellation = async (cancellationPreviewRequest, options, fetchFn) => {
1468
+ const getHeaders = (h) => {
1469
+ if (!h)
1470
+ return {};
1471
+ if (h instanceof Headers)
1472
+ return Object.fromEntries(h.entries());
1473
+ if (Symbol.iterator in h) {
1474
+ return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
1475
+ }
1476
+ const headers = {};
1477
+ for (const [name, value] of Object.entries(h)) {
1478
+ if (value !== undefined)
1479
+ headers[name] = value;
1480
+ }
1481
+ return headers;
1482
+ };
1483
+ const res = await (fetchFn ?? fetch)(getPreviewCancellationUrl(), {
1484
+ ...options,
1485
+ method: "QUERY",
1486
+ headers: { "Content-Type": "application/json", ...getHeaders(options?.headers) },
1487
+ body: JSON.stringify(cancellationPreviewRequest),
1488
+ });
1489
+ const body = [204, 205, 304].includes(res.status) ? null : await res.text();
1490
+ const data = body ? JSON.parse(body) : {};
1491
+ return { data, status: res.status, headers: res.headers };
1492
+ };
1461
1493
  export const getGetCancellationUrl = (cancellationId) => {
1462
1494
  return `https://billing.leaflow.cloud/api/v1/cancellations/${encodeURIComponent(String(cancellationId))}`;
1463
1495
  };
@@ -1475,16 +1507,16 @@ export const getCancellation = async (cancellationId, options, fetchFn) => {
1475
1507
  return { data, status: res.status, headers: res.headers };
1476
1508
  };
1477
1509
  export const getWithdrawCancellationUrl = (cancellationId) => {
1478
- return `https://billing.leaflow.cloud/api/v1/cancellations/${encodeURIComponent(String(cancellationId))}:withdraw`;
1510
+ return `https://billing.leaflow.cloud/api/v1/cancellations/${encodeURIComponent(String(cancellationId))}`;
1479
1511
  };
1480
1512
  /**
1481
- * 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. Open to the owner of the subscriptions' current billing account and to members of their project with the project permission `billing:finance.manage`.
1513
+ * Withdraws the whole cancellation, which stays with status `canceled`, 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. Open to the owner of the subscriptions' current billing account and to members of their project with the project permission `billing:finance.manage`.
1482
1514
  * @summary Withdraw a cancellation
1483
1515
  */
1484
1516
  export const withdrawCancellation = async (cancellationId, options, fetchFn) => {
1485
1517
  const res = await (fetchFn ?? fetch)(getWithdrawCancellationUrl(cancellationId), {
1486
1518
  ...options,
1487
- method: "POST",
1519
+ method: "DELETE",
1488
1520
  });
1489
1521
  const body = [204, 205, 304].includes(res.status) ? null : await res.text();
1490
1522
  const data = body ? JSON.parse(body) : {};
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  /**
@@ -290,6 +290,29 @@ export interface QuotedDiscount {
290
290
  /** `confirmed`: every condition of the discount holds for the billing account. `unverified`: a quote without an account, where conditions that depend on the account, such as a first purchase or a per-account limit, are checked only when a Checkout Session is completed. */
291
291
  eligibility: QuotedDiscountEligibility;
292
292
  }
293
+ /**
294
+ * A complete calculation in `currency`; nothing is saved or reserved. The request fails if any item cannot be priced. A Checkout Session quote gives what completing the session would invoice.
295
+ */
296
+ export interface Quote {
297
+ /** Account funds for the quoted purchase. Null without an account. */
298
+ funds: Funds | null;
299
+ subtotal: Money;
300
+ discount_amount: Money;
301
+ tax_amount: Money;
302
+ /** The discount a purchase would get, not yet applied. Null when there is none, and for renewals. */
303
+ discount: QuotedDiscount | null;
304
+ items: QuoteItem[];
305
+ renewals: QuoteRenewalResult[];
306
+ total: Money;
307
+ currency: string;
308
+ /**
309
+ * Immediate changes only; null otherwise. The instant the change is priced from; pass it when confirming the Checkout Session so it is priced from the same instant.
310
+ * @nullable
311
+ */
312
+ proration_date: string | null;
313
+ /** `complete`: tax is calculated for the billing account's invoice contact, or for `address` without an account. `requires_location_inputs`: a quote without an account or `address`, which leaves out tax that would be added; tax already contained in a price is included. */
314
+ tax_status: QuoteTaxStatus;
315
+ }
293
316
  /**
294
317
  * When subscriptions end. immediate ends them now and refunds the unused value under their refund terms; period_end
295
318
  * ends them at the end of their paid period. The cancellation terms fixed when a subscription was bought decide which
@@ -302,6 +325,23 @@ export declare const CancellationMode: {
302
325
  readonly immediate: "immediate";
303
326
  readonly period_end: "period_end";
304
327
  };
328
+ /**
329
+ * What ending these subscriptions together would return, for one mode; preview `immediate` and `period_end` separately to compare. Refused with 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` when a subscription is already being canceled (`meta.cancellation_id`), is being reclaimed (`meta.reason` `reclaim_requested`) or has a paid change waiting to switch (`meta.order_id`).
330
+ */
331
+ export interface CancellationPreviewRequest {
332
+ /**
333
+ * A billing account you own that currently pays for every subscription.
334
+ * @minimum 1
335
+ */
336
+ billing_account_id: number;
337
+ /**
338
+ * The subscriptions to end together, all of one service, including every subscription released with a resource.
339
+ * @minItems 1
340
+ * @maxItems 50
341
+ */
342
+ subscription_ids: string[];
343
+ mode: CancellationMode;
344
+ }
305
345
  /**
306
346
  * Which object this is, together with what a person currently calls it.
307
347
  *
@@ -318,9 +358,9 @@ export interface NamedIdentity {
318
358
  name: string;
319
359
  }
320
360
  /**
321
- * One subscription of the quoted cancellation.
361
+ * One subscription of the previewed cancellation.
322
362
  */
323
- export interface QuoteCancellationItem {
363
+ export interface CancellationPreviewItem {
324
364
  subscription_id: string;
325
365
  plan_id: string;
326
366
  plan_name: string;
@@ -339,8 +379,8 @@ export interface QuoteCancellationItem {
339
379
  forfeited_amount: Money;
340
380
  }
341
381
  /**
342
- * What the cancellation would return, per subscription and in total, as of the quote's `proration_date` for
343
- * `immediate`. Give that `proration_date` and `refundable_amount` when creating the cancellation.
382
+ * What the cancellation would return, per subscription and in total, as of now. Give `proration_date` and
383
+ * `refundable_amount` when creating the cancellation.
344
384
  *
345
385
  * - `unused_amount`: before tax, the amount paid for the current periods in proportion to the time remaining.
346
386
  * - `short_rate_surcharge_amount`: before tax, the part of `forfeited_amount` due to the short rate of the
@@ -354,10 +394,13 @@ export interface QuoteCancellationItem {
354
394
  *
355
395
  * Metered and one-time subscriptions show zero; their usage until release is charged as usual.
356
396
  */
357
- export interface QuoteCancellationResult {
397
+ export interface CancellationPreview {
358
398
  mode: CancellationMode;
359
399
  /** For `period_end`, when release begins, the end of the paid terms. */
360
400
  scheduled_at?: string;
401
+ /** For `immediate`, the second the refund is computed as of. Give it when creating the cancellation. */
402
+ proration_date?: string;
403
+ currency: string;
361
404
  unused_amount: Money;
362
405
  short_rate_surcharge_amount: Money;
363
406
  refundable_amount: Money;
@@ -365,60 +408,19 @@ export interface QuoteCancellationResult {
365
408
  credit_amount: Money;
366
409
  tax_amount: Money;
367
410
  forfeited_amount: Money;
368
- items: QuoteCancellationItem[];
369
- }
370
- /**
371
- * A complete calculation in `currency`; nothing is saved or reserved. The request fails if any item cannot be priced. A Checkout Session quote gives what completing the session would invoice.
372
- */
373
- export interface Quote {
374
- /** Account funds for the quoted purchase. Null without an account, and for a cancellation. */
375
- funds: Funds | null;
376
- subtotal: Money;
377
- discount_amount: Money;
378
- tax_amount: Money;
379
- /** The discount a purchase would get, not yet applied. Null when there is none, and for renewals and a cancellation. */
380
- discount: QuotedDiscount | null;
381
- items: QuoteItem[];
382
- renewals: QuoteRenewalResult[];
383
- /** What the cancellation would return. Null unless the request quotes a cancellation. */
384
- cancellation: QuoteCancellationResult | null;
385
- total: Money;
386
- currency: string;
387
- /**
388
- * Immediate changes and immediate cancellations only; null otherwise. The instant the change or the refund is priced from; pass it when confirming the Checkout Session or creating the cancellation so it is priced from the same instant.
389
- * @nullable
390
- */
391
- proration_date: string | null;
392
- /** `complete`: tax is calculated for the billing account's invoice contact, or for `address` without an account. `requires_location_inputs`: a quote without an account or `address`, which leaves out tax that would be added; tax already contained in a price is included. */
393
- tax_status: QuoteTaxStatus;
394
- }
395
- /**
396
- * Preview ending these subscriptions together in one mode; quote `immediate` and `period_end` separately to
397
- * compare. Each must currently be paid by `billing_account_id` and be yours to read, as the owner of that account
398
- * or a member of the subscriptions' project. Refused as creating the cancellation would be, including 409
399
- * `BILLING_SUBSCRIPTION_OPERATION_PENDING` when a subscription is already being canceled (`meta.cancellation_id`),
400
- * is being reclaimed (`meta.reason` `reclaim_requested`) or has a paid change waiting to switch (`meta.order_id`).
401
- */
402
- export interface QuoteCancellation {
403
- /**
404
- * The subscriptions to end together, all of one service, including every subscription released with a resource.
405
- * @minItems 1
406
- * @maxItems 50
407
- */
408
- subscription_ids: string[];
409
- mode: CancellationMode;
411
+ items: CancellationPreviewItem[];
410
412
  }
411
413
  export interface CancellationCreate {
412
414
  /**
413
- * As in the quote.
415
+ * As in the preview.
414
416
  * @minItems 1
415
417
  * @maxItems 50
416
418
  */
417
419
  subscription_ids: string[];
418
420
  mode: CancellationMode;
419
- /** For `immediate`, the quote's `proration_date`: a whole second, not in the future and at most ten minutes old; the refund is computed as of it. Now when omitted. */
421
+ /** For `immediate`, the preview's `proration_date`: a whole second, not in the future and at most ten minutes old; the refund is computed as of it. Now when omitted. */
420
422
  proration_date?: string;
421
- /** The quote's `cancellation.refundable_amount`; the cancellation is refused when the refund differs. */
423
+ /** The preview's `refundable_amount`; the cancellation is refused when the refund differs. */
422
424
  expected_refundable_amount: Money & string;
423
425
  /**
424
426
  * A note from the account holder, kept with the cancellation.
@@ -2846,11 +2848,11 @@ export interface QuoteAddress {
2846
2848
  state?: string;
2847
2849
  }
2848
2850
  /**
2849
- * Quote proposed items, changes, renewals or a cancellation: exactly one of them. Give exactly one of `billing_account_id` and `currency`; changes, renewals and a cancellation need the account. Promotion codes apply to proposed items and changes. An invalid combination fails with `BILLING_PURCHASE_INVALID` and the field.
2851
+ * Quote proposed items, changes or renewals: exactly one of them. Give exactly one of `billing_account_id` and `currency`; changes and renewals need the account. Promotion codes apply to proposed items and changes. An invalid combination fails with `BILLING_PURCHASE_INVALID` and the field.
2850
2852
  */
2851
2853
  export interface QuoteRequest {
2852
2854
  /**
2853
- * The billing account to price for; it must be yours or currently pay for a project you are a member of, and an access token is required. Renewals and a cancellation must currently be paid by it.
2855
+ * The billing account to price for; it must be yours or currently pay for a project you are a member of, and an access token is required. Renewals must currently be paid by it.
2854
2856
  * @minimum 1
2855
2857
  */
2856
2858
  billing_account_id?: number;
@@ -2878,7 +2880,6 @@ export interface QuoteRequest {
2878
2880
  * @maxItems 100
2879
2881
  */
2880
2882
  changes?: QuoteChangeInput[];
2881
- cancellation?: QuoteCancellation;
2882
2883
  /** When the changes take effect; defaults to `immediate`. `immediate` prices the rest of the paid period from `proration_date`, charging an upgrade the difference and showing what a downgrade refunds. `period_end` prices the first period at the new terms, which replaces the renewal when the paid period ends. */
2883
2884
  change_effective?: QuoteRequestChangeEffective;
2884
2885
  /** Only with `currency`. Where the customer is, to include the tax that would be added there for a customer who is not tax exempt; `tax_status` is then `complete`. Refused with `billing_account_id`, whose invoice contact decides tax. */
@@ -3202,9 +3203,9 @@ export interface PriceSearch {
3202
3203
  }
3203
3204
  export interface CancelSubscriptionRequest {
3204
3205
  mode: CancellationMode;
3205
- /** For immediate cancellation, the quoted whole-second refund basis. Now when omitted. */
3206
+ /** For immediate cancellation, the preview's `proration_date`, the whole second the refund is computed as of. Now when omitted. */
3206
3207
  proration_date?: string;
3207
- /** The cancellation quote's refundable amount, including an explicit zero. */
3208
+ /** The preview's `refundable_amount`, including an explicit zero. */
3208
3209
  expected_refundable_amount: Money & string;
3209
3210
  /** @maxLength 1024 */
3210
3211
  reason?: string;
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -618,7 +618,7 @@ export declare const DeleteSubscriptionParams: zod.ZodObject<{
618
618
  }, zod.z.core.$strict>;
619
619
  /**
620
620
  * Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
621
- * refund amount from a quote with this subscription in `cancellation.subscription_ids`. Open to the owner of the
621
+ * `proration_date` and `refundable_amount` of preview-cancellation for this subscription. Open to the owner of the
622
622
  * subscription's current billing account and to members of its project with the project permission
623
623
  * `billing:finance.manage`.
624
624
  *
@@ -719,7 +719,7 @@ export declare const GetCancellationParams: zod.ZodObject<{
719
719
  cancellationId: zod.ZodUUID;
720
720
  }, zod.z.core.$strict>;
721
721
  /**
722
- * 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. Open to the owner of the subscriptions' current billing account and to members of their project with the project permission `billing:finance.manage`.
722
+ * Withdraws the whole cancellation, which stays with status `canceled`, 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. Open to the owner of the subscriptions' current billing account and to members of their project with the project permission `billing:finance.manage`.
723
723
  * @summary Withdraw a cancellation
724
724
  */
725
725
  export declare const WithdrawCancellationParams: zod.ZodObject<{
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -821,7 +821,7 @@ export const DeleteSubscriptionParams = zod.strictObject({
821
821
  });
822
822
  /**
823
823
  * Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
824
- * refund amount from a quote with this subscription in `cancellation.subscription_ids`. Open to the owner of the
824
+ * `proration_date` and `refundable_amount` of preview-cancellation for this subscription. Open to the owner of the
825
825
  * subscription's current billing account and to members of its project with the project permission
826
826
  * `billing:finance.manage`.
827
827
  *
@@ -921,7 +921,7 @@ export const GetCancellationParams = zod.strictObject({
921
921
  cancellationId: zod.uuid(),
922
922
  });
923
923
  /**
924
- * 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. Open to the owner of the subscriptions' current billing account and to members of their project with the project permission `billing:finance.manage`.
924
+ * Withdraws the whole cancellation, which stays with status `canceled`, 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. Open to the owner of the subscriptions' current billing account and to members of their project with the project permission `billing:finance.manage`.
925
925
  * @summary Withdraw a cancellation
926
926
  */
927
927
  export const WithdrawCancellationParams = zod.strictObject({
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";
@@ -2,7 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Billing API
5
- * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes, renewals and cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
5
+ * Products, prices, orders, subscriptions and account billing. Operations on a billing account require an account access token. The account, its balance, payment options and quotes are also readable by members of the projects it currently pays for; changing the account and moving its funds need the owner. Members of a project, as each operation states, can also read the project's billing account, subscriptions and orders, complete and pay for its purchases, quote purchases, changes and renewals, preview cancellations, and, with the project permission `billing:finance.manage` granted in IAM, renew, cancel and turn automatic renewal of its subscriptions on or off, change its billing account and read its costs. A member without the permission an operation needs is refused with 403 `PERMISSION_DENIED` and `meta.permission`; a caller who is not a member, with 403 `IAM_NOT_PROJECT_MEMBER`. Public catalogue operations declare no security requirement.
6
6
  * OpenAPI spec version: v1
7
7
  */
8
8
  import * as zod from "zod";