@leaflow/sdk 0.0.0-dev.379.g796e6e7 → 0.0.0-dev.381.g84c72f5

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 (438) hide show
  1. package/dist/billing/v1/generated/functions.d.ts +60 -39
  2. package/dist/billing/v1/generated/functions.js +59 -38
  3. package/dist/billing/v1/generated/models.d.ts +37 -31
  4. package/dist/billing/v1/generated/schemas.zod.d.ts +55 -35
  5. package/dist/billing/v1/generated/schemas.zod.js +85 -62
  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 +1 -1
  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 +1 -1
  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/cancellationPolicy.zod.d.ts +1 -1
  53. package/dist/billing/v1/generated/validators/cancellationPolicy.zod.js +1 -1
  54. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.d.ts +1 -1
  55. package/dist/billing/v1/generated/validators/cancellationPreviewRequest.zod.js +1 -1
  56. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.d.ts +1 -1
  57. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.js +1 -1
  58. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -1
  59. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -1
  60. package/dist/billing/v1/generated/validators/checkoutMode.zod.d.ts +1 -1
  61. package/dist/billing/v1/generated/validators/checkoutMode.zod.js +1 -1
  62. package/dist/billing/v1/generated/validators/checkoutOptions.zod.d.ts +1 -1
  63. package/dist/billing/v1/generated/validators/checkoutOptions.zod.js +1 -1
  64. package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +1 -1
  65. package/dist/billing/v1/generated/validators/checkoutSession.zod.js +1 -1
  66. package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.d.ts +1 -1
  67. package/dist/billing/v1/generated/validators/checkoutSessionConfirm.zod.js +1 -1
  68. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.d.ts +1 -1
  69. package/dist/billing/v1/generated/validators/checkoutSessionCreate.zod.js +1 -1
  70. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +1 -1
  71. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +1 -1
  72. package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.d.ts +1 -1
  73. package/dist/billing/v1/generated/validators/checkoutSessionItemList.zod.js +1 -1
  74. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +1 -1
  75. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.js +1 -1
  76. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +1 -1
  77. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.js +1 -1
  78. package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.d.ts +1 -1
  79. package/dist/billing/v1/generated/validators/checkoutSessionStatus.zod.js +1 -1
  80. package/dist/billing/v1/generated/validators/contact.zod.d.ts +1 -1
  81. package/dist/billing/v1/generated/validators/contact.zod.js +1 -1
  82. package/dist/billing/v1/generated/validators/contactCreate.zod.d.ts +1 -1
  83. package/dist/billing/v1/generated/validators/contactCreate.zod.js +1 -1
  84. package/dist/billing/v1/generated/validators/contactList.zod.d.ts +1 -1
  85. package/dist/billing/v1/generated/validators/contactList.zod.js +1 -1
  86. package/dist/billing/v1/generated/validators/contactUpdate.zod.d.ts +1 -1
  87. package/dist/billing/v1/generated/validators/contactUpdate.zod.js +1 -1
  88. package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +1 -1
  89. package/dist/billing/v1/generated/validators/creditGrant.zod.js +1 -1
  90. package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +1 -1
  91. package/dist/billing/v1/generated/validators/creditGrantList.zod.js +1 -1
  92. package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +1 -1
  93. package/dist/billing/v1/generated/validators/creditGroup.zod.js +1 -1
  94. package/dist/billing/v1/generated/validators/creditNote.zod.d.ts +1 -1
  95. package/dist/billing/v1/generated/validators/creditNote.zod.js +1 -1
  96. package/dist/billing/v1/generated/validators/creditNoteItem.zod.d.ts +1 -1
  97. package/dist/billing/v1/generated/validators/creditNoteItem.zod.js +1 -1
  98. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.d.ts +1 -1
  99. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.js +1 -1
  100. package/dist/billing/v1/generated/validators/creditNoteList.zod.d.ts +1 -1
  101. package/dist/billing/v1/generated/validators/creditNoteList.zod.js +1 -1
  102. package/dist/billing/v1/generated/validators/currency.zod.d.ts +1 -1
  103. package/dist/billing/v1/generated/validators/currency.zod.js +1 -1
  104. package/dist/billing/v1/generated/validators/currencyList.zod.d.ts +1 -1
  105. package/dist/billing/v1/generated/validators/currencyList.zod.js +1 -1
  106. package/dist/billing/v1/generated/validators/cursorPagination.zod.d.ts +1 -1
  107. package/dist/billing/v1/generated/validators/cursorPagination.zod.js +1 -1
  108. package/dist/billing/v1/generated/validators/discount.zod.d.ts +1 -1
  109. package/dist/billing/v1/generated/validators/discount.zod.js +1 -1
  110. package/dist/billing/v1/generated/validators/discountList.zod.d.ts +1 -1
  111. package/dist/billing/v1/generated/validators/discountList.zod.js +1 -1
  112. package/dist/billing/v1/generated/validators/entitlement.zod.d.ts +1 -1
  113. package/dist/billing/v1/generated/validators/entitlement.zod.js +1 -1
  114. package/dist/billing/v1/generated/validators/entitlementList.zod.d.ts +1 -1
  115. package/dist/billing/v1/generated/validators/entitlementList.zod.js +1 -1
  116. package/dist/billing/v1/generated/validators/error.zod.d.ts +1 -1
  117. package/dist/billing/v1/generated/validators/error.zod.js +1 -1
  118. package/dist/billing/v1/generated/validators/featureGrant.zod.d.ts +1 -1
  119. package/dist/billing/v1/generated/validators/featureGrant.zod.js +1 -1
  120. package/dist/billing/v1/generated/validators/featureGrantList.zod.d.ts +1 -1
  121. package/dist/billing/v1/generated/validators/featureGrantList.zod.js +1 -1
  122. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.d.ts +1 -1
  123. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.js +1 -1
  124. package/dist/billing/v1/generated/validators/funds.zod.d.ts +1 -1
  125. package/dist/billing/v1/generated/validators/funds.zod.js +1 -1
  126. package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.d.ts +1 -1
  127. package/dist/billing/v1/generated/validators/getCheckoutSessionQuoteParams.zod.js +1 -1
  128. package/dist/billing/v1/generated/validators/getPlanHeaders.zod.d.ts +1 -1
  129. package/dist/billing/v1/generated/validators/getPlanHeaders.zod.js +1 -1
  130. package/dist/billing/v1/generated/validators/getPriceHeaders.zod.d.ts +1 -1
  131. package/dist/billing/v1/generated/validators/getPriceHeaders.zod.js +1 -1
  132. package/dist/billing/v1/generated/validators/getProductHeaders.zod.d.ts +1 -1
  133. package/dist/billing/v1/generated/validators/getProductHeaders.zod.js +1 -1
  134. package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.d.ts +1 -1
  135. package/dist/billing/v1/generated/validators/getStatementUsageParams.zod.js +1 -1
  136. package/dist/billing/v1/generated/validators/invoice.zod.d.ts +1 -1
  137. package/dist/billing/v1/generated/validators/invoice.zod.js +1 -1
  138. package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +1 -1
  139. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +1 -1
  140. package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +1 -1
  141. package/dist/billing/v1/generated/validators/invoiceItemList.zod.js +1 -1
  142. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.d.ts +1 -1
  143. package/dist/billing/v1/generated/validators/invoiceItemProration.zod.js +1 -1
  144. package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +1 -1
  145. package/dist/billing/v1/generated/validators/invoiceList.zod.js +1 -1
  146. package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +1 -1
  147. package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +1 -1
  148. package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +1 -1
  149. package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +1 -1
  150. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +1 -1
  151. package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +1 -1
  152. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +1 -1
  153. package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +1 -1
  154. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +1 -1
  155. package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +1 -1
  156. package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.d.ts +1 -1
  157. package/dist/billing/v1/generated/validators/listBillingAccountsParams.zod.js +1 -1
  158. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +1 -1
  159. package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +1 -1
  160. package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.d.ts +1 -1
  161. package/dist/billing/v1/generated/validators/listCheckoutSessionItemsParams.zod.js +1 -1
  162. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +1 -1
  163. package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +1 -1
  164. package/dist/billing/v1/generated/validators/listContactsParams.zod.d.ts +1 -1
  165. package/dist/billing/v1/generated/validators/listContactsParams.zod.js +1 -1
  166. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +1 -1
  167. package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +1 -1
  168. package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.d.ts +1 -1
  169. package/dist/billing/v1/generated/validators/listCreditNoteItemsParams.zod.js +1 -1
  170. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +1 -1
  171. package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +1 -1
  172. package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.d.ts +1 -1
  173. package/dist/billing/v1/generated/validators/listCurrenciesParams.zod.js +1 -1
  174. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.d.ts +1 -1
  175. package/dist/billing/v1/generated/validators/listEntitlementsParams.zod.js +1 -1
  176. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +1 -1
  177. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +1 -1
  178. package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.d.ts +1 -1
  179. package/dist/billing/v1/generated/validators/listInvoiceItemsParams.zod.js +1 -1
  180. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +1 -1
  181. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +1 -1
  182. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.d.ts +1 -1
  183. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.js +1 -1
  184. package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.d.ts +1 -1
  185. package/dist/billing/v1/generated/validators/listOrderItemsParams.zod.js +1 -1
  186. package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +1 -1
  187. package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +1 -1
  188. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +1 -1
  189. package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +1 -1
  190. package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.d.ts +2 -1
  191. package/dist/billing/v1/generated/validators/listPaymentOptionsParams.zod.js +2 -1
  192. package/dist/billing/v1/generated/validators/listPlansHeaders.zod.d.ts +1 -1
  193. package/dist/billing/v1/generated/validators/listPlansHeaders.zod.js +1 -1
  194. package/dist/billing/v1/generated/validators/listPlansParams.zod.d.ts +1 -1
  195. package/dist/billing/v1/generated/validators/listPlansParams.zod.js +1 -1
  196. package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.d.ts +1 -1
  197. package/dist/billing/v1/generated/validators/listPricesByPlanHeaders.zod.js +1 -1
  198. package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.d.ts +1 -1
  199. package/dist/billing/v1/generated/validators/listPricesByPlanParams.zod.js +1 -1
  200. package/dist/billing/v1/generated/validators/listPricesHeaders.zod.d.ts +1 -1
  201. package/dist/billing/v1/generated/validators/listPricesHeaders.zod.js +1 -1
  202. package/dist/billing/v1/generated/validators/listPricesParams.zod.d.ts +1 -1
  203. package/dist/billing/v1/generated/validators/listPricesParams.zod.js +1 -1
  204. package/dist/billing/v1/generated/validators/listProductsHeaders.zod.d.ts +1 -1
  205. package/dist/billing/v1/generated/validators/listProductsHeaders.zod.js +1 -1
  206. package/dist/billing/v1/generated/validators/listProductsParams.zod.d.ts +1 -1
  207. package/dist/billing/v1/generated/validators/listProductsParams.zod.js +1 -1
  208. package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.d.ts +1 -1
  209. package/dist/billing/v1/generated/validators/listProjectAssignmentsParams.zod.js +1 -1
  210. package/dist/billing/v1/generated/validators/listRatesHeaders.zod.d.ts +1 -1
  211. package/dist/billing/v1/generated/validators/listRatesHeaders.zod.js +1 -1
  212. package/dist/billing/v1/generated/validators/listRatesParams.zod.d.ts +1 -1
  213. package/dist/billing/v1/generated/validators/listRatesParams.zod.js +1 -1
  214. package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +1 -1
  215. package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +1 -1
  216. package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.d.ts +1 -1
  217. package/dist/billing/v1/generated/validators/listRenewalPricesParams.zod.js +1 -1
  218. package/dist/billing/v1/generated/validators/listSpendParams.zod.d.ts +1 -1
  219. package/dist/billing/v1/generated/validators/listSpendParams.zod.js +1 -1
  220. package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +1 -1
  221. package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +1 -1
  222. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +1 -1
  223. package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +1 -1
  224. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +1 -1
  225. package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +1 -1
  226. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +1 -1
  227. package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +1 -1
  228. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.d.ts +1 -1
  229. package/dist/billing/v1/generated/validators/listUsageChargesParams.zod.js +1 -1
  230. package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.d.ts +1 -1
  231. package/dist/billing/v1/generated/validators/listWithdrawalItemsParams.zod.js +1 -1
  232. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +1 -1
  233. package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +1 -1
  234. package/dist/billing/v1/generated/validators/money.zod.d.ts +1 -1
  235. package/dist/billing/v1/generated/validators/money.zod.js +1 -1
  236. package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +1 -1
  237. package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +1 -1
  238. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +1 -1
  239. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.js +1 -1
  240. package/dist/billing/v1/generated/validators/namedIdentity.zod.d.ts +1 -1
  241. package/dist/billing/v1/generated/validators/namedIdentity.zod.js +1 -1
  242. package/dist/billing/v1/generated/validators/objectIdentity.zod.d.ts +1 -1
  243. package/dist/billing/v1/generated/validators/objectIdentity.zod.js +1 -1
  244. package/dist/billing/v1/generated/validators/offsetPagination.zod.d.ts +1 -1
  245. package/dist/billing/v1/generated/validators/offsetPagination.zod.js +1 -1
  246. package/dist/billing/v1/generated/validators/order.zod.d.ts +1 -1
  247. package/dist/billing/v1/generated/validators/order.zod.js +1 -1
  248. package/dist/billing/v1/generated/validators/orderCancel.zod.d.ts +1 -1
  249. package/dist/billing/v1/generated/validators/orderCancel.zod.js +1 -1
  250. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +1 -1
  251. package/dist/billing/v1/generated/validators/orderItem.zod.js +1 -1
  252. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +1 -1
  253. package/dist/billing/v1/generated/validators/orderItemList.zod.js +1 -1
  254. package/dist/billing/v1/generated/validators/orderItemStatus.zod.d.ts +1 -1
  255. package/dist/billing/v1/generated/validators/orderItemStatus.zod.js +1 -1
  256. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +1 -1
  257. package/dist/billing/v1/generated/validators/orderList.zod.js +1 -1
  258. package/dist/billing/v1/generated/validators/orderRefundPreview.zod.d.ts +1 -1
  259. package/dist/billing/v1/generated/validators/orderRefundPreview.zod.js +1 -1
  260. package/dist/billing/v1/generated/validators/orderStatus.zod.d.ts +1 -1
  261. package/dist/billing/v1/generated/validators/orderStatus.zod.js +1 -1
  262. package/dist/billing/v1/generated/validators/paidWith.zod.d.ts +1 -1
  263. package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
  264. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.d.ts +1 -1
  265. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +1 -1
  266. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.d.ts +1 -1
  267. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +1 -1
  268. package/dist/billing/v1/generated/validators/paymentAction.zod.d.ts +1 -1
  269. package/dist/billing/v1/generated/validators/paymentAction.zod.js +1 -1
  270. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.d.ts +1 -1
  271. package/dist/billing/v1/generated/validators/paymentCancellationReason.zod.js +1 -1
  272. package/dist/billing/v1/generated/validators/paymentMethod.zod.d.ts +1 -1
  273. package/dist/billing/v1/generated/validators/paymentMethod.zod.js +1 -1
  274. package/dist/billing/v1/generated/validators/paymentMethodList.zod.d.ts +1 -1
  275. package/dist/billing/v1/generated/validators/paymentMethodList.zod.js +1 -1
  276. package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.d.ts +1 -1
  277. package/dist/billing/v1/generated/validators/paymentMethodSetup.zod.js +1 -1
  278. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +1 -1
  279. package/dist/billing/v1/generated/validators/paymentMethodSetupResult.zod.js +1 -1
  280. package/dist/billing/v1/generated/validators/paymentOption.zod.d.ts +1 -1
  281. package/dist/billing/v1/generated/validators/paymentOption.zod.js +1 -1
  282. package/dist/billing/v1/generated/validators/paymentOptionList.zod.d.ts +1 -1
  283. package/dist/billing/v1/generated/validators/paymentOptionList.zod.js +1 -1
  284. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.d.ts +1 -1
  285. package/dist/billing/v1/generated/validators/paymentOptionMethod.zod.js +1 -1
  286. package/dist/billing/v1/generated/validators/paymentPreview.zod.d.ts +1 -1
  287. package/dist/billing/v1/generated/validators/paymentPreview.zod.js +1 -1
  288. package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +1 -1
  289. package/dist/billing/v1/generated/validators/paymentPreviewInvoice.zod.js +1 -1
  290. package/dist/billing/v1/generated/validators/paymentResult.zod.d.ts +1 -1
  291. package/dist/billing/v1/generated/validators/paymentResult.zod.js +1 -1
  292. package/dist/billing/v1/generated/validators/paymentStatus.zod.d.ts +1 -1
  293. package/dist/billing/v1/generated/validators/paymentStatus.zod.js +1 -1
  294. package/dist/billing/v1/generated/validators/plan.zod.d.ts +1 -1
  295. package/dist/billing/v1/generated/validators/plan.zod.js +1 -1
  296. package/dist/billing/v1/generated/validators/planFeature.zod.d.ts +1 -1
  297. package/dist/billing/v1/generated/validators/planFeature.zod.js +1 -1
  298. package/dist/billing/v1/generated/validators/planList.zod.d.ts +1 -1
  299. package/dist/billing/v1/generated/validators/planList.zod.js +1 -1
  300. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.d.ts +1 -1
  301. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.js +1 -1
  302. package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.d.ts +1 -1
  303. package/dist/billing/v1/generated/validators/previewOrderRefundParams.zod.js +1 -1
  304. package/dist/billing/v1/generated/validators/price.zod.d.ts +1 -1
  305. package/dist/billing/v1/generated/validators/price.zod.js +1 -1
  306. package/dist/billing/v1/generated/validators/priceList.zod.d.ts +1 -1
  307. package/dist/billing/v1/generated/validators/priceList.zod.js +1 -1
  308. package/dist/billing/v1/generated/validators/priceOption.zod.d.ts +1 -1
  309. package/dist/billing/v1/generated/validators/priceOption.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 -1
  325. package/dist/billing/v1/generated/validators/quote.zod.js +1 -1
  326. package/dist/billing/v1/generated/validators/quoteItem.zod.d.ts +1 -1
  327. package/dist/billing/v1/generated/validators/quoteItem.zod.js +1 -1
  328. package/dist/billing/v1/generated/validators/quoteItemInput.zod.d.ts +1 -1
  329. package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +1 -1
  330. package/dist/billing/v1/generated/validators/quoteRenewal.zod.d.ts +1 -1
  331. package/dist/billing/v1/generated/validators/quoteRenewal.zod.js +1 -1
  332. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.d.ts +1 -1
  333. package/dist/billing/v1/generated/validators/quoteRenewalResult.zod.js +1 -1
  334. package/dist/billing/v1/generated/validators/quoteRequest.zod.d.ts +2 -1
  335. package/dist/billing/v1/generated/validators/quoteRequest.zod.js +6 -2
  336. package/dist/billing/v1/generated/validators/quotedDiscount.zod.d.ts +1 -1
  337. package/dist/billing/v1/generated/validators/quotedDiscount.zod.js +1 -1
  338. package/dist/billing/v1/generated/validators/rate.zod.d.ts +1 -1
  339. package/dist/billing/v1/generated/validators/rate.zod.js +1 -1
  340. package/dist/billing/v1/generated/validators/rateList.zod.d.ts +1 -1
  341. package/dist/billing/v1/generated/validators/rateList.zod.js +1 -1
  342. package/dist/billing/v1/generated/validators/refund.zod.d.ts +1 -1
  343. package/dist/billing/v1/generated/validators/refund.zod.js +1 -1
  344. package/dist/billing/v1/generated/validators/refundList.zod.d.ts +1 -1
  345. package/dist/billing/v1/generated/validators/refundList.zod.js +1 -1
  346. package/dist/billing/v1/generated/validators/refundPolicy.zod.d.ts +1 -1
  347. package/dist/billing/v1/generated/validators/refundPolicy.zod.js +1 -1
  348. package/dist/billing/v1/generated/validators/refundReason.zod.d.ts +1 -1
  349. package/dist/billing/v1/generated/validators/refundReason.zod.js +1 -1
  350. package/dist/billing/v1/generated/validators/renewRequest.zod.d.ts +1 -1
  351. package/dist/billing/v1/generated/validators/renewRequest.zod.js +1 -1
  352. package/dist/billing/v1/generated/validators/renewalPrice.zod.d.ts +1 -1
  353. package/dist/billing/v1/generated/validators/renewalPrice.zod.js +1 -1
  354. package/dist/billing/v1/generated/validators/renewalPriceList.zod.d.ts +1 -1
  355. package/dist/billing/v1/generated/validators/renewalPriceList.zod.js +1 -1
  356. package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +1 -1
  357. package/dist/billing/v1/generated/validators/scheduledChange.zod.js +1 -1
  358. package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +1 -1
  359. package/dist/billing/v1/generated/validators/setProjectAssignmentRequest.zod.js +1 -1
  360. package/dist/billing/v1/generated/validators/spendRow.zod.d.ts +1 -1
  361. package/dist/billing/v1/generated/validators/spendRow.zod.js +1 -1
  362. package/dist/billing/v1/generated/validators/spendRowList.zod.d.ts +1 -1
  363. package/dist/billing/v1/generated/validators/spendRowList.zod.js +1 -1
  364. package/dist/billing/v1/generated/validators/statement.zod.d.ts +1 -1
  365. package/dist/billing/v1/generated/validators/statement.zod.js +1 -1
  366. package/dist/billing/v1/generated/validators/statementAmounts.zod.d.ts +1 -1
  367. package/dist/billing/v1/generated/validators/statementAmounts.zod.js +1 -1
  368. package/dist/billing/v1/generated/validators/statementItem.zod.d.ts +1 -1
  369. package/dist/billing/v1/generated/validators/statementItem.zod.js +1 -1
  370. package/dist/billing/v1/generated/validators/statementList.zod.d.ts +1 -1
  371. package/dist/billing/v1/generated/validators/statementList.zod.js +1 -1
  372. package/dist/billing/v1/generated/validators/statementStatus.zod.d.ts +1 -1
  373. package/dist/billing/v1/generated/validators/statementStatus.zod.js +1 -1
  374. package/dist/billing/v1/generated/validators/statementSummary.zod.d.ts +1 -1
  375. package/dist/billing/v1/generated/validators/statementSummary.zod.js +1 -1
  376. package/dist/billing/v1/generated/validators/statementType.zod.d.ts +1 -1
  377. package/dist/billing/v1/generated/validators/statementType.zod.js +1 -1
  378. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +1 -1
  379. package/dist/billing/v1/generated/validators/subscription.zod.js +1 -1
  380. package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.d.ts +1 -1
  381. package/dist/billing/v1/generated/validators/subscriptionCancellation.zod.js +1 -1
  382. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +1 -1
  383. package/dist/billing/v1/generated/validators/subscriptionList.zod.js +1 -1
  384. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.d.ts +1 -1
  385. package/dist/billing/v1/generated/validators/subscriptionRestriction.zod.js +1 -1
  386. package/dist/billing/v1/generated/validators/taxItem.zod.d.ts +1 -1
  387. package/dist/billing/v1/generated/validators/taxItem.zod.js +1 -1
  388. package/dist/billing/v1/generated/validators/tier.zod.d.ts +1 -1
  389. package/dist/billing/v1/generated/validators/tier.zod.js +1 -1
  390. package/dist/billing/v1/generated/validators/topUp.zod.d.ts +1 -1
  391. package/dist/billing/v1/generated/validators/topUp.zod.js +1 -1
  392. package/dist/billing/v1/generated/validators/topUpCreate.zod.d.ts +1 -1
  393. package/dist/billing/v1/generated/validators/topUpCreate.zod.js +1 -1
  394. package/dist/billing/v1/generated/validators/topUpList.zod.d.ts +1 -1
  395. package/dist/billing/v1/generated/validators/topUpList.zod.js +1 -1
  396. package/dist/billing/v1/generated/validators/transaction.zod.d.ts +1 -1
  397. package/dist/billing/v1/generated/validators/transaction.zod.js +1 -1
  398. package/dist/billing/v1/generated/validators/transactionList.zod.d.ts +1 -1
  399. package/dist/billing/v1/generated/validators/transactionList.zod.js +1 -1
  400. package/dist/billing/v1/generated/validators/transactionType.zod.d.ts +1 -1
  401. package/dist/billing/v1/generated/validators/transactionType.zod.js +1 -1
  402. package/dist/billing/v1/generated/validators/usageCharge.zod.d.ts +1 -1
  403. package/dist/billing/v1/generated/validators/usageCharge.zod.js +1 -1
  404. package/dist/billing/v1/generated/validators/usageChargeList.zod.d.ts +1 -1
  405. package/dist/billing/v1/generated/validators/usageChargeList.zod.js +1 -1
  406. package/dist/billing/v1/generated/validators/usageEstimate.zod.d.ts +1 -1
  407. package/dist/billing/v1/generated/validators/usageEstimate.zod.js +1 -1
  408. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.d.ts +1 -1
  409. package/dist/billing/v1/generated/validators/usageEstimateInput.zod.js +1 -1
  410. package/dist/billing/v1/generated/validators/usageEstimateItem.zod.d.ts +1 -1
  411. package/dist/billing/v1/generated/validators/usageEstimateItem.zod.js +1 -1
  412. package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.d.ts +1 -1
  413. package/dist/billing/v1/generated/validators/usageEstimateRequest.zod.js +1 -1
  414. package/dist/billing/v1/generated/validators/usageType.zod.d.ts +1 -1
  415. package/dist/billing/v1/generated/validators/usageType.zod.js +1 -1
  416. package/dist/billing/v1/generated/validators/withdrawal.zod.d.ts +1 -1
  417. package/dist/billing/v1/generated/validators/withdrawal.zod.js +1 -1
  418. package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.d.ts +1 -1
  419. package/dist/billing/v1/generated/validators/withdrawalAllocation.zod.js +1 -1
  420. package/dist/billing/v1/generated/validators/withdrawalCreate.zod.d.ts +1 -1
  421. package/dist/billing/v1/generated/validators/withdrawalCreate.zod.js +1 -1
  422. package/dist/billing/v1/generated/validators/withdrawalItem.zod.d.ts +1 -1
  423. package/dist/billing/v1/generated/validators/withdrawalItem.zod.js +1 -1
  424. package/dist/billing/v1/generated/validators/withdrawalItemList.zod.d.ts +1 -1
  425. package/dist/billing/v1/generated/validators/withdrawalItemList.zod.js +1 -1
  426. package/dist/billing/v1/generated/validators/withdrawalList.zod.d.ts +1 -1
  427. package/dist/billing/v1/generated/validators/withdrawalList.zod.js +1 -1
  428. package/dist/billing/v1/generated/validators/withdrawalPreview.zod.d.ts +1 -1
  429. package/dist/billing/v1/generated/validators/withdrawalPreview.zod.js +1 -1
  430. package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.d.ts +1 -1
  431. package/dist/billing/v1/generated/validators/withdrawalPreviewItem.zod.js +1 -1
  432. package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.d.ts +1 -1
  433. package/dist/billing/v1/generated/validators/withdrawalPreviewRequest.zod.js +1 -1
  434. package/dist/billing/v1/generated/validators/withdrawalSource.zod.d.ts +1 -1
  435. package/dist/billing/v1/generated/validators/withdrawalSource.zod.js +1 -1
  436. package/dist/routes.d.ts +2992 -2992
  437. package/dist/routes.js +3005 -3005
  438. package/package.json +1 -1
@@ -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. Financial operations require an account access token and billing-account authorization. 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 and ownership of the account. 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, and, with project permissions granted in IAM, change its subscriptions (`billing:subscription.write`), change its billing account (`billing:project_assignment.write`) and read its costs (`billing:cost.read`). 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
  /**
@@ -2758,10 +2758,12 @@ export interface UsageEstimate {
2758
2758
  */
2759
2759
  export interface QuoteRequest {
2760
2760
  /**
2761
- * The billing account to price for; it must be yours, and an access token is required. Renewals must currently be paid by it.
2761
+ * The billing account to price for; it must be yours or the current billing account of `project_id`, and an access token is required. Renewals must currently be paid by it.
2762
2762
  * @minimum 1
2763
2763
  */
2764
2764
  billing_account_id?: number;
2765
+ /** A project you are a member of, to price for its current billing account as a member. Needs `billing_account_id`. */
2766
+ project_id?: string;
2765
2767
  /**
2766
2768
  * The ISO 4217 currency to price in without an account.
2767
2769
  * @minLength 3
@@ -3178,7 +3180,7 @@ export type FromParameter = string;
3178
3180
  */
3179
3181
  export type ToParameter = string;
3180
3182
  /**
3181
- * Only this account of yours; all when omitted.
3183
+ * Only this account; all of yours when omitted.
3182
3184
  */
3183
3185
  export type AccountIdQueryParameter = number;
3184
3186
  /**
@@ -3191,7 +3193,7 @@ export type FromRequiredParameter = string;
3191
3193
  */
3192
3194
  export type ToRequiredParameter = string;
3193
3195
  /**
3194
- * Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts.
3196
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3195
3197
  */
3196
3198
  export type ProjectIdsQueryParameter = string[];
3197
3199
  export type ListWithdrawalItemsParams = {
@@ -3266,6 +3268,10 @@ export type ListBillingAccountsParams = {
3266
3268
  page_size?: number;
3267
3269
  };
3268
3270
  export type ListPaymentOptionsParams = {
3271
+ /**
3272
+ * A project currently assigned to the account, for listing as a member of the project.
3273
+ */
3274
+ project_id?: string;
3269
3275
  /**
3270
3276
  * 1-based page number. Defaults to 1.
3271
3277
  * @minimum 1
@@ -3294,7 +3300,7 @@ export type ListProjectAssignmentsParams = {
3294
3300
  page_size?: number;
3295
3301
  billing_account_id?: number;
3296
3302
  /**
3297
- * Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts.
3303
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3298
3304
  * @minItems 1
3299
3305
  * @maxItems 100
3300
3306
  */
@@ -3314,7 +3320,7 @@ export type ListTopUpsParams = {
3314
3320
  */
3315
3321
  page_size?: number;
3316
3322
  /**
3317
- * Only this account of yours; all when omitted.
3323
+ * Only this account; all of yours when omitted.
3318
3324
  */
3319
3325
  billing_account_id?: AccountIdQueryParameter;
3320
3326
  };
@@ -3332,7 +3338,7 @@ export type ListPaymentMethodsParams = {
3332
3338
  */
3333
3339
  page_size?: number;
3334
3340
  /**
3335
- * Only this account of yours; all when omitted.
3341
+ * Only this account; all of yours when omitted.
3336
3342
  */
3337
3343
  billing_account_id?: AccountIdQueryParameter;
3338
3344
  };
@@ -3360,7 +3366,7 @@ export type ListInvoicesParams = {
3360
3366
  */
3361
3367
  page_size?: number;
3362
3368
  /**
3363
- * Only this account of yours; all when omitted.
3369
+ * Only this account; all of yours when omitted.
3364
3370
  */
3365
3371
  billing_account_id?: AccountIdQueryParameter;
3366
3372
  status?: InvoiceStatus;
@@ -3402,7 +3408,7 @@ export type ListTransactionsParams = {
3402
3408
  */
3403
3409
  page_size?: number;
3404
3410
  /**
3405
- * Only this account of yours; all when omitted.
3411
+ * Only this account; all of yours when omitted.
3406
3412
  */
3407
3413
  billing_account_id?: AccountIdQueryParameter;
3408
3414
  from?: FromParameter;
@@ -3425,7 +3431,7 @@ export type ListAccountDiscountsParams = {
3425
3431
  */
3426
3432
  page_size?: number;
3427
3433
  /**
3428
- * Only this account of yours; all when omitted.
3434
+ * Only this account; all of yours when omitted.
3429
3435
  */
3430
3436
  billing_account_id?: AccountIdQueryParameter;
3431
3437
  };
@@ -3443,7 +3449,7 @@ export type ListCreditGrantsParams = {
3443
3449
  */
3444
3450
  page_size?: number;
3445
3451
  /**
3446
- * Only this account of yours; all when omitted.
3452
+ * Only this account; all of yours when omitted.
3447
3453
  */
3448
3454
  billing_account_id?: AccountIdQueryParameter;
3449
3455
  status?: ListCreditGrantsStatus;
@@ -3469,7 +3475,7 @@ export type ListCreditNotesParams = {
3469
3475
  */
3470
3476
  page_size?: number;
3471
3477
  /**
3472
- * Only this account of yours; all when omitted.
3478
+ * Only this account; all of yours when omitted.
3473
3479
  */
3474
3480
  billing_account_id?: AccountIdQueryParameter;
3475
3481
  /**
@@ -3505,7 +3511,7 @@ export type ListRefundsParams = {
3505
3511
  */
3506
3512
  page_size?: number;
3507
3513
  /**
3508
- * Only this account of yours; all when omitted.
3514
+ * Only this account; all of yours when omitted.
3509
3515
  */
3510
3516
  billing_account_id?: AccountIdQueryParameter;
3511
3517
  /**
@@ -3531,7 +3537,7 @@ export type ListUsageChargesParams = {
3531
3537
  */
3532
3538
  page_size?: number;
3533
3539
  /**
3534
- * Only this account of yours; all when omitted.
3540
+ * Only this account; all of yours when omitted.
3535
3541
  */
3536
3542
  billing_account_id?: AccountIdQueryParameter;
3537
3543
  product_id?: ProductID;
@@ -3546,7 +3552,7 @@ export type ListUsageChargesParams = {
3546
3552
  */
3547
3553
  to?: ToParameter;
3548
3554
  /**
3549
- * Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts.
3555
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3550
3556
  * @minItems 1
3551
3557
  * @maxItems 100
3552
3558
  */
@@ -3569,11 +3575,11 @@ export type ListSubscriptionsParams = {
3569
3575
  */
3570
3576
  page_size?: number;
3571
3577
  /**
3572
- * Only this account of yours; all when omitted.
3578
+ * Only this account; all of yours when omitted.
3573
3579
  */
3574
3580
  billing_account_id?: AccountIdQueryParameter;
3575
3581
  /**
3576
- * Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts.
3582
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3577
3583
  * @minItems 1
3578
3584
  * @maxItems 100
3579
3585
  */
@@ -3593,7 +3599,7 @@ export type ListCancellationsParams = {
3593
3599
  */
3594
3600
  page_size?: number;
3595
3601
  /**
3596
- * Only this account of yours; all when omitted.
3602
+ * Only this account; all of yours when omitted.
3597
3603
  */
3598
3604
  billing_account_id?: AccountIdQueryParameter;
3599
3605
  /**
@@ -3605,7 +3611,7 @@ export type ListCancellationsParams = {
3605
3611
  */
3606
3612
  status?: ListCancellationsStatus;
3607
3613
  /**
3608
- * Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts.
3614
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3609
3615
  * @minItems 1
3610
3616
  * @maxItems 100
3611
3617
  */
@@ -3649,7 +3655,7 @@ export type ListAllowancesParams = {
3649
3655
  */
3650
3656
  page_size?: number;
3651
3657
  /**
3652
- * Only this account of yours; all when omitted.
3658
+ * Only this account; all of yours when omitted.
3653
3659
  */
3654
3660
  billing_account_id?: AccountIdQueryParameter;
3655
3661
  /**
@@ -3659,7 +3665,7 @@ export type ListAllowancesParams = {
3659
3665
  status?: ListAllowancesStatus;
3660
3666
  product_id?: ProductID;
3661
3667
  /**
3662
- * Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts.
3668
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3663
3669
  * @minItems 1
3664
3670
  * @maxItems 100
3665
3671
  */
@@ -3686,12 +3692,12 @@ export type ListCheckoutSessionsParams = {
3686
3692
  */
3687
3693
  page_size?: number;
3688
3694
  /**
3689
- * Only this account of yours; all when omitted.
3695
+ * Only this account; all of yours when omitted.
3690
3696
  */
3691
3697
  billing_account_id?: AccountIdQueryParameter;
3692
3698
  status?: CheckoutSessionStatus;
3693
3699
  /**
3694
- * Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts.
3700
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3695
3701
  * @minItems 1
3696
3702
  * @maxItems 100
3697
3703
  */
@@ -3732,7 +3738,7 @@ export type ListOrdersParams = {
3732
3738
  */
3733
3739
  page_size?: number;
3734
3740
  /**
3735
- * Only this account of yours; all when omitted.
3741
+ * Only this account; all of yours when omitted.
3736
3742
  */
3737
3743
  billing_account_id?: AccountIdQueryParameter;
3738
3744
  status?: OrderStatus;
@@ -3742,7 +3748,7 @@ export type ListOrdersParams = {
3742
3748
  */
3743
3749
  to?: ToParameter;
3744
3750
  /**
3745
- * Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts.
3751
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3746
3752
  * @minItems 1
3747
3753
  * @maxItems 100
3748
3754
  */
@@ -3784,11 +3790,11 @@ export type ListEntitlementsParams = {
3784
3790
  */
3785
3791
  page_size?: number;
3786
3792
  /**
3787
- * Only this account of yours; all when omitted.
3793
+ * Only this account; all of yours when omitted.
3788
3794
  */
3789
3795
  billing_account_id?: AccountIdQueryParameter;
3790
3796
  /**
3791
- * Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts.
3797
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3792
3798
  * @minItems 1
3793
3799
  * @maxItems 100
3794
3800
  */
@@ -3809,7 +3815,7 @@ export type ListFeatureGrantsParams = {
3809
3815
  */
3810
3816
  page_size?: number;
3811
3817
  /**
3812
- * Only this account of yours; all when omitted.
3818
+ * Only this account; all of yours when omitted.
3813
3819
  */
3814
3820
  billing_account_id?: AccountIdQueryParameter;
3815
3821
  product_id?: ProductID;
@@ -3973,11 +3979,11 @@ export type ListActiveResourcesParams = {
3973
3979
  page_size?: number;
3974
3980
  resource_id?: string;
3975
3981
  /**
3976
- * Only this account of yours; all when omitted.
3982
+ * Only this account; all of yours when omitted.
3977
3983
  */
3978
3984
  billing_account_id?: AccountIdQueryParameter;
3979
3985
  /**
3980
- * Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts.
3986
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
3981
3987
  * @minItems 1
3982
3988
  * @maxItems 100
3983
3989
  */
@@ -4024,7 +4030,7 @@ export type ListSpendParams = {
4024
4030
  */
4025
4031
  billing_account_id: number;
4026
4032
  /**
4027
- * Only records of these projects. Omit for all projects and account-level records. It does not grant access to other billing accounts.
4033
+ * Only records of these projects. Omit for all projects and account-level records of your billing accounts. Where an operation is open to project members, each project must be assigned to a billing account you own or have you as a member, and a member sees the records of the project that the owner of its current billing account sees.
4028
4034
  * @minItems 1
4029
4035
  * @maxItems 100
4030
4036
  */
@@ -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. Financial operations require an account access token and billing-account authorization. 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 and ownership of the account. 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, and, with project permissions granted in IAM, change its subscriptions (`billing:subscription.write`), change its billing account (`billing:project_assignment.write`) and read its costs (`billing:cost.read`). 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";
@@ -205,7 +205,7 @@ export declare const GetAccountBalanceParams: zod.ZodObject<{
205
205
  accountId: zod.ZodInt;
206
206
  }, zod.z.core.$strict>;
207
207
  /**
208
- * The payment gateways and methods currently accepting the account's currency, preferred gateway first. Top-ups and invoice payments must use one listed here. An empty result means online payment is unavailable for the account.
208
+ * The payment gateways and methods currently accepting the account's currency, preferred gateway first. Top-ups and invoice payments must use one listed here. An empty result means online payment is unavailable for the account. Open to the owner of the account and, with `project_id`, to members of a project the account is currently assigned to.
209
209
  * @summary List payment options
210
210
  */
211
211
  export declare const ListPaymentOptionsParams: zod.ZodObject<{
@@ -216,6 +216,7 @@ export declare const listPaymentOptionsQueryPageMax = 2147483647;
216
216
  export declare const listPaymentOptionsQueryPageSizeDefault = 50;
217
217
  export declare const listPaymentOptionsQueryPageSizeMax = 200;
218
218
  export declare const ListPaymentOptionsQueryParams: zod.ZodObject<{
219
+ project_id: zod.ZodOptional<zod.ZodUUID>;
219
220
  page: zod.ZodDefault<zod.ZodInt>;
220
221
  page_size: zod.ZodDefault<zod.ZodInt>;
221
222
  }, zod.z.core.$strict>;
@@ -235,14 +236,15 @@ export declare const ListProjectAssignmentsQueryParams: zod.ZodObject<{
235
236
  project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
236
237
  }, zod.z.core.$strict>;
237
238
  /**
238
- * The project's current assignment. Returns 404 when no billing account is assigned; the project cannot create resources until one is.
239
+ * The project's current assignment, readable by the owner of the assigned account and by members of the project. Returns 404 when no billing account is assigned; the project cannot create resources until one is.
239
240
  * @summary Get project assignment
240
241
  */
241
242
  export declare const GetProjectAssignmentParams: zod.ZodObject<{
242
243
  projectId: zod.ZodUUID;
243
244
  }, zod.z.core.$strict>;
244
245
  /**
245
- * Links the project to a billing account. A project without one is linked directly. Moving it to another
246
+ * Links the project to a billing account you own; you need the project permission
247
+ * `billing:project_assignment.write`. A project without one is linked directly. Moving it to another
246
248
  * account has the same requirements as unlinking: you own both accounts, the project has no metered resources,
247
249
  * no subscriptions that have not ended and no orders in progress, and the current account has no unpaid
248
250
  * invoices. Nothing moves with the project; charges already incurred stay with the account linked when they
@@ -258,7 +260,7 @@ export declare const SetProjectAssignmentBody: zod.ZodObject<{
258
260
  billing_account_id: zod.ZodInt;
259
261
  }, zod.z.core.$strict>;
260
262
  /**
261
- * Ends the project's current assignment; the assignment history is kept. Allowed only when the project has no metered resources, no subscriptions that have not ended and no orders in progress, including period-end changes, and the billing account has no unpaid invoices; invoices of orders awaiting payment do not count. Orders are not modified, so wait for them to complete. Charges already incurred stay with the billing account and are invoiced as usual. The project cannot make purchases until a billing account is linked again.
263
+ * Ends the project's current assignment; the assignment history is kept. You need to own the account and hold the project permission `billing:project_assignment.write`. Allowed only when the project has no metered resources, no subscriptions that have not ended and no orders in progress, including period-end changes, and the billing account has no unpaid invoices; invoices of orders awaiting payment do not count. Orders are not modified, so wait for them to complete. Charges already incurred stay with the billing account and are invoiced as usual. The project cannot make purchases until a billing account is linked again.
262
264
  * @summary Unlink project billing account
263
265
  */
264
266
  export declare const UnlinkProjectBillingAccountParams: zod.ZodObject<{
@@ -366,6 +368,9 @@ export declare const DeletePaymentMethodParams: zod.ZodObject<{
366
368
  * `BILLING_INVOICE_NOT_PAYABLE` with `meta.reason` `fractional_amount` when the amount left for the gateway is
367
369
  * not a whole number of the currency's minor unit; such an invoice is collected from credit grants and balance
368
370
  * automatically, including right after a top-up.
371
+ *
372
+ * Open to the owner of the invoice's billing account and, for the invoice of an order of a project, to members
373
+ * of the project. Only the owner can pay with a saved `payment_method_id`.
369
374
  * @summary Pay an invoice
370
375
  */
371
376
  export declare const PayInvoiceParams: zod.ZodObject<{
@@ -386,7 +391,7 @@ export declare const PayInvoiceBody: zod.ZodObject<{
386
391
  * Nothing is charged, reserved or created.
387
392
  *
388
393
  * Refused with the same errors as paying, except that insufficient funds are not an error here:
389
- * they show as a `gateway_amount` above zero.
394
+ * they show as a `gateway_amount` above zero. Open to the same callers as paying.
390
395
  * @summary Preview invoice payment
391
396
  */
392
397
  export declare const PreviewInvoicePaymentParams: zod.ZodObject<{
@@ -439,14 +444,14 @@ export declare const ListInvoicesQueryParams: zod.ZodObject<{
439
444
  to: zod.ZodOptional<zod.z.ZodISODateTime>;
440
445
  }, zod.z.core.$strict>;
441
446
  /**
442
- * An issued invoice of your billing account, with its amounts, tax lines and payment state. A missing or unissued invoice returns 404; an invoice of another user's account returns 403.
447
+ * An issued invoice of your billing account, or the invoice of an order of a project you are a member of, with its amounts, tax lines and payment state. A missing or unissued invoice returns 404; any other invoice returns 403.
443
448
  * @summary Get invoice
444
449
  */
445
450
  export declare const GetInvoiceParams: zod.ZodObject<{
446
451
  invoiceId: zod.ZodUUID;
447
452
  }, zod.z.core.$strict>;
448
453
  /**
449
- * Lines of an issued invoice of your billing account, with their service periods and projects. A missing or unissued invoice returns 404; an invoice of another user's account returns 403.
454
+ * Lines of an invoice readable with get-invoice, with their service periods and projects. A missing or unissued invoice returns 404; any other invoice returns 403.
450
455
  * @summary List invoice items
451
456
  */
452
457
  export declare const ListInvoiceItemsParams: zod.ZodObject<{
@@ -559,7 +564,7 @@ export declare const ListRefundsQueryParams: zod.ZodObject<{
559
564
  order_id: zod.ZodOptional<zod.ZodUUID>;
560
565
  }, zod.z.core.$strict>;
561
566
  /**
562
- * Priced usage charges in the requested scope. Usage that had no price when it occurred is never charged later.
567
+ * Priced usage charges in the requested scope; members with the project permission `billing:cost.read` list a project's charges with `project_ids`. Usage that had no price when it occurred is never charged later.
563
568
  * @summary List usage charges
564
569
  */
565
570
  export declare const listUsageChargesQueryPageDefault = 1;
@@ -583,7 +588,7 @@ export declare const ListUsageChargesQueryParams: zod.ZodObject<{
583
588
  statement_id: zod.ZodOptional<zod.ZodUUID>;
584
589
  }, zod.z.core.$strict>;
585
590
  /**
586
- * Subscriptions of the authorized billing account. Deleted subscriptions are not listed.
591
+ * Subscriptions paid by your billing accounts; members of a project list its subscriptions with `project_ids`. Deleted subscriptions are not listed.
587
592
  * @summary List subscriptions
588
593
  */
589
594
  export declare const listSubscriptionsQueryPageDefault = 1;
@@ -599,14 +604,14 @@ export declare const ListSubscriptionsQueryParams: zod.ZodObject<{
599
604
  project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
600
605
  }, zod.z.core.$strict>;
601
606
  /**
602
- * A subscription of the authorized billing account. Deleted subscriptions are reported as not found.
607
+ * A subscription paid by your billing account or of a project you are a member of. Deleted subscriptions are reported as not found.
603
608
  * @summary Get subscription
604
609
  */
605
610
  export declare const GetSubscriptionParams: zod.ZodObject<{
606
611
  subscriptionId: zod.ZodUUID;
607
612
  }, zod.z.core.$strict>;
608
613
  /**
609
- * Hides a canceled or terminated subscription from your subscription list and detail by setting deleted_at; its status, ended_at and history are kept. The token must authorize the subscription's current billing account. A subscription that has not ended is refused with 409 `BILLING_SUBSCRIPTION_NOT_ENDED` and `status`. Repeating it keeps the original deleted_at. It sends no cleanup command and creates no refund.
614
+ * Hides a canceled or terminated subscription from your subscription list and detail by setting deleted_at; its status, ended_at and history are kept. Only the owner of the subscription's current billing account can delete it. A subscription that has not ended is refused with 409 `BILLING_SUBSCRIPTION_NOT_ENDED` and `status`. Repeating it keeps the original deleted_at. It sends no cleanup command and creates no refund.
610
615
  * @summary Delete subscription
611
616
  */
612
617
  export declare const DeleteSubscriptionParams: zod.ZodObject<{
@@ -614,8 +619,9 @@ export declare const DeleteSubscriptionParams: zod.ZodObject<{
614
619
  }, zod.z.core.$strict>;
615
620
  /**
616
621
  * Requests cancellation on the purchase's agreed terms, with the same rules as creating a cancellation. Give the
617
- * refund amount from a quote with this subscription in `cancellation.subscription_ids`. The token must authorize
618
- * the subscription's current billing account.
622
+ * refund amount from a quote with this subscription in `cancellation.subscription_ids`. Open to the owner of the
623
+ * subscription's current billing account and to members of its project with the project permission
624
+ * `billing:subscription.write`.
619
625
  *
620
626
  * Immediate cancellation asks the owning service to release the resources now; period-end cancellation keeps the
621
627
  * subscription active or suspended until the paid term ends. The subscription becomes canceled when the service
@@ -637,7 +643,7 @@ export declare const CancelSubscriptionBody: zod.ZodObject<{
637
643
  reason: zod.ZodOptional<zod.ZodString>;
638
644
  }, zod.z.core.$strict>;
639
645
  /**
640
- * Newest first. Filter by `subscription_id` and `status=open` to find a subscription's cancellation in progress.
646
+ * Newest first; members of a project list its cancellations with `project_ids`. Filter by `subscription_id` and `status=open` to find a subscription's cancellation in progress.
641
647
  * @summary List cancellations
642
648
  */
643
649
  export declare const listCancellationsQueryPageDefault = 1;
@@ -663,7 +669,9 @@ export declare const ListCancellationsQueryParams: zod.ZodObject<{
663
669
  }, zod.z.core.$strict>;
664
670
  /**
665
671
  * Ends subscriptions of one service together. Deleting a resource is an `immediate` cancellation of every
666
- * subscription released with it, such as a server with its disks or an address with its bandwidth.
672
+ * subscription released with it, such as a server with its disks or an address with its bandwidth. Open to the
673
+ * owner of the subscriptions' current billing account and to members of their project with the project
674
+ * permission `billing:subscription.write`.
667
675
  *
668
676
  * The owning service releases the resources at once for `immediate`, or at `scheduled_at`, the end of the paid
669
677
  * term, for `period_end`. When release is confirmed, the unused value is returned to the original payment
@@ -705,21 +713,21 @@ export declare const CreateCancellationBody: zod.ZodObject<{
705
713
  reason: zod.ZodOptional<zod.ZodString>;
706
714
  }, zod.z.core.$strict>;
707
715
  /**
708
- * A cancellation of your billing account with its schedule, expected refundable amount and the outcome for each subscription, including partial success.
716
+ * A cancellation paid by your billing account or of a project you are a member of, with its schedule, expected refundable amount and the outcome for each subscription, including partial success.
709
717
  * @summary Get a cancellation
710
718
  */
711
719
  export declare const GetCancellationParams: zod.ZodObject<{
712
720
  cancellationId: zod.ZodUUID;
713
721
  }, zod.z.core.$strict>;
714
722
  /**
715
- * 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.
723
+ * 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:subscription.write`.
716
724
  * @summary Withdraw a cancellation
717
725
  */
718
726
  export declare const WithdrawCancellationParams: zod.ZodObject<{
719
727
  cancellationId: zod.ZodUUID;
720
728
  }, zod.z.core.$strict>;
721
729
  /**
722
- * Lists the current renewal agreement and available intervals. The current option preserves recurring_amount; other options use current prices. Amounts cover the whole subscription quantity and exclude tax.
730
+ * Lists the current renewal agreement and available intervals. The current option preserves recurring_amount; other options use current prices. Amounts cover the whole subscription quantity and exclude tax. Open to the owner of the subscription's current billing account and to members of its project.
723
731
  * @summary List the terms this item can be renewed for
724
732
  */
725
733
  export declare const ListRenewalPricesParams: zod.ZodObject<{
@@ -742,6 +750,9 @@ export declare const ListRenewalPricesQueryParams: zod.ZodObject<{
742
750
  * `use_balance` allow; when they cannot cover it, the request fails with `BILLING_INSUFFICIENT_FUNDS` and no
743
751
  * order is left. To apply a promotion code or pay later, create a renewal Checkout Session.
744
752
  *
753
+ * Open to the owner of the subscription's current billing account and to members of its project with the
754
+ * project permission `billing:subscription.write`. Only the owner can pay with `payment_method_id`.
755
+ *
745
756
  * Keep order_id and read the order after an unknown outcome; creating it again conflicts.
746
757
  * @summary Renew subscription
747
758
  */
@@ -767,7 +778,7 @@ export declare const RenewSubscriptionBody: zod.ZodObject<{
767
778
  return_url: zod.ZodOptional<zod.ZodString>;
768
779
  }, zod.z.core.$strict>;
769
780
  /**
770
- * Turns automatic renewal of an active or suspended licensed subscription on or off. Turning it off does not shorten current_term_end and still allows manual renewal. Refused with 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_INACTIVE` for a pending or provisioning subscription, 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_FIXED` for a metered subscription, which continues until it is canceled, and 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` with `meta.cancellation_id` while a cancellation is open: creating it turned renewal off, and withdrawing it does not turn renewal back on.
781
+ * Turns automatic renewal of an active or suspended licensed subscription on or off. Turning it off does not shorten current_term_end and still allows manual renewal. Refused with 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_INACTIVE` for a pending or provisioning subscription, 409 `BILLING_SUBSCRIPTION_AUTO_RENEW_FIXED` for a metered subscription, which continues until it is canceled, and 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` with `meta.cancellation_id` while a cancellation is open: creating it turned renewal off, and withdrawing it does not turn renewal back on. Open to the owner of the subscription's current billing account and to members of its project with the project permission `billing:subscription.write`.
771
782
  * @summary Set auto renew
772
783
  */
773
784
  export declare const SetAutoRenewParams: zod.ZodObject<{
@@ -777,7 +788,7 @@ export declare const SetAutoRenewBody: zod.ZodObject<{
777
788
  auto_renew: zod.ZodBoolean;
778
789
  }, zod.z.core.$strict>;
779
790
  /**
780
- * Remaining usage quantities, such as bytes, seconds or tokens. Applicable allowances are consumed before usage is charged: lower priority values first, then earlier expiry, then earlier issuance. Unused quantity expires without refund or carry-over. Promotional allowances apply to usage paid by their holding account; included allowances apply only to their subscription, also after its project moves to another billing account.
791
+ * Remaining usage quantities, such as bytes, seconds or tokens; members of a project list its allowances with `project_ids`. Applicable allowances are consumed before usage is charged: lower priority values first, then earlier expiry, then earlier issuance. Unused quantity expires without refund or carry-over. Promotional allowances apply to usage paid by their holding account; included allowances apply only to their subscription, also after its project moves to another billing account.
781
792
  * @summary List allowances
782
793
  */
783
794
  export declare const listAllowancesQueryPageDefault = 1;
@@ -802,7 +813,7 @@ export declare const ListAllowancesQueryParams: zod.ZodObject<{
802
813
  project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
803
814
  }, zod.z.core.$strict>;
804
815
  /**
805
- * Checkout Sessions of your billing accounts, newest first. An open session is a purchase waiting for you to complete checkout.
816
+ * Checkout Sessions of your billing accounts, newest first; members of a project list its sessions with `project_ids`. An open session is a purchase waiting for checkout to be completed.
806
817
  * @summary List Checkout Sessions
807
818
  */
808
819
  export declare const listCheckoutSessionsQueryPageDefault = 1;
@@ -822,13 +833,15 @@ export declare const ListCheckoutSessionsQueryParams: zod.ZodObject<{
822
833
  project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
823
834
  }, zod.z.core.$strict>;
824
835
  /**
825
- * Opens a Checkout Session renewing one of your licensed subscriptions, with periods and price chosen as in
836
+ * Opens a Checkout Session renewing a licensed subscription, with periods and price chosen as in
826
837
  * renewing. Nothing is charged until you complete it, when a promotion code can be applied; it then renews from
827
838
  * the subscription's current_term_end at that time. To renew at once from credit grants, balance or a payment
828
839
  * method, renew the subscription instead. Purchases and changes of a service's resources are created through
829
840
  * that service.
830
841
  *
831
- * Keep `checkout_session_id` and read the session after an unknown outcome; creating it again conflicts.
842
+ * Open to the owner of the subscription's current billing account and to members of its project with the
843
+ * project permission `billing:subscription.write`. Keep `checkout_session_id` and read the session after an
844
+ * unknown outcome; creating it again conflicts.
832
845
  * @summary Create a renewal Checkout Session
833
846
  */
834
847
  export declare const CreateCheckoutSessionBody: zod.ZodObject<{
@@ -847,14 +860,14 @@ export declare const CreateCheckoutSessionBody: zod.ZodObject<{
847
860
  }>>;
848
861
  }, zod.z.core.$strict>;
849
862
  /**
850
- * A Checkout Session of your billing account. Poll it to follow checkout; once it is complete, read its order for payment and delivery. An unknown session returns 404; another account's session returns 403.
863
+ * A Checkout Session of your billing account or of a project you are a member of. Poll it to follow checkout; once it is complete, read its order for payment and delivery. An unknown session returns 404; any other session returns 403.
851
864
  * @summary Get a Checkout Session
852
865
  */
853
866
  export declare const GetCheckoutSessionParams: zod.ZodObject<{
854
867
  checkoutSessionId: zod.ZodUUID;
855
868
  }, zod.z.core.$strict>;
856
869
  /**
857
- * What the session buys, by position. Prices and amounts are in its quote.
870
+ * What the session buys, by position. Prices and amounts are in its quote. Readable by whoever can read the session.
858
871
  * @summary List Checkout Session items
859
872
  */
860
873
  export declare const ListCheckoutSessionItemsParams: zod.ZodObject<{
@@ -877,6 +890,8 @@ export declare const ListCheckoutSessionItemsQueryParams: zod.ZodObject<{
877
890
  * immediate change, the returned `proration_date`. An expired session is refused with
878
891
  * `BILLING_CHECKOUT_SESSION_EXPIRED`, and a complete one with `BILLING_CHECKOUT_SESSION_COMPLETE`; read its order
879
892
  * instead.
893
+ *
894
+ * Open to the owner of the session's billing account and to members of its project.
880
895
  * @summary Quote a Checkout Session
881
896
  */
882
897
  export declare const GetCheckoutSessionQuoteParams: zod.ZodObject<{
@@ -896,6 +911,8 @@ export declare const GetCheckoutSessionQuoteQueryParams: zod.ZodObject<{
896
911
  * Confirming a complete session again with the same terms returns it with its order; different terms are refused
897
912
  * with `BILLING_CHECKOUT_SESSION_COMPLETE`. An expired session is refused with `BILLING_CHECKOUT_SESSION_EXPIRED`.
898
913
  * The order is delivered by the service that owns it once paid; confirmation alone does not mean delivery.
914
+ *
915
+ * Open to the owner of the session's billing account and to members of its project.
899
916
  * @summary Confirm a Checkout Session
900
917
  */
901
918
  export declare const ConfirmCheckoutSessionParams: zod.ZodObject<{
@@ -907,14 +924,14 @@ export declare const ConfirmCheckoutSessionBody: zod.ZodObject<{
907
924
  proration_date: zod.ZodOptional<zod.z.ZodISODateTime>;
908
925
  }, zod.z.core.$strict>;
909
926
  /**
910
- * Ends an open session without an order; the service that created it releases what it was holding for the purchase. An expired session is returned unchanged.
927
+ * Ends an open session without an order; the service that created it releases what it was holding for the purchase. An expired session is returned unchanged. Open to the owner of the session's billing account and to members of its project.
911
928
  * @summary Expire a Checkout Session
912
929
  */
913
930
  export declare const ExpireCheckoutSessionParams: zod.ZodObject<{
914
931
  checkoutSessionId: zod.ZodUUID;
915
932
  }, zod.z.core.$strict>;
916
933
  /**
917
- * Orders with their status and invoice amounts. A pending order is not yet accepted and can expire at expires_at; its invoice shows whether payment is needed. Accepted does not mean delivered.
934
+ * Orders of your billing accounts with their status and invoice amounts; members of a project list its orders with `project_ids`. A pending order is not yet accepted and can expire at expires_at; its invoice shows whether payment is needed. Accepted does not mean delivered.
918
935
  * @summary List orders
919
936
  */
920
937
  export declare const listOrdersQueryPageDefault = 1;
@@ -939,14 +956,14 @@ export declare const ListOrdersQueryParams: zod.ZodObject<{
939
956
  project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
940
957
  }, zod.z.core.$strict>;
941
958
  /**
942
- * An order of your billing account with its status and invoice. An unknown order returns 404; another user's order returns 403.
959
+ * An order of your billing account or of a project you are a member of, with its status and invoice. An unknown order returns 404; any other order returns 403.
943
960
  * @summary Get order
944
961
  */
945
962
  export declare const GetOrderParams: zod.ZodObject<{
946
963
  orderId: zod.ZodUUID;
947
964
  }, zod.z.core.$strict>;
948
965
  /**
949
- * What canceling the listed items, or the whole order, would refund to the original payment sources. Nothing is canceled or refunded.
966
+ * What canceling the listed items, or the whole order, would refund to the original payment sources. Nothing is canceled or refunded. Open to the owner of the order's billing account and to members of its project.
950
967
  * @summary Preview an order refund
951
968
  */
952
969
  export declare const PreviewOrderRefundParams: zod.ZodObject<{
@@ -968,7 +985,7 @@ export declare const PreviewOrderRefundQueryParams: zod.ZodObject<{
968
985
  * `BILLING_PAYMENT_PENDING` and `meta.transaction_id`. Repeating the cancellation does not refund twice.
969
986
  *
970
987
  * An accepted order is canceled by its owning service, and delivered items through subscription cancellation.
971
- * Refunds are previewed with `preview-order-refund`.
988
+ * Refunds are previewed with `preview-order-refund`. Open to the owner of the order's billing account and to members of its project.
972
989
  * @summary Cancel order
973
990
  */
974
991
  export declare const CancelOrderParams: zod.ZodObject<{
@@ -978,7 +995,7 @@ export declare const CancelOrderBody: zod.ZodObject<{
978
995
  order_item_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
979
996
  }, zod.z.core.$strict>;
980
997
  /**
981
- * One entry per item bought, with the price charged and the period it covers.
998
+ * One entry per item bought, with the price charged and the period it covers. Readable by whoever can read the order.
982
999
  * @summary List order items
983
1000
  */
984
1001
  export declare const ListOrderItemsParams: zod.ZodObject<{
@@ -993,7 +1010,7 @@ export declare const ListOrderItemsQueryParams: zod.ZodObject<{
993
1010
  page_size: zod.ZodDefault<zod.ZodInt>;
994
1011
  }, zod.z.core.$strict>;
995
1012
  /**
996
- * Capabilities granted by live subscriptions and active feature grants. A capability not held is not listed, and one stops being listed when the subscription or grant providing it ends.
1013
+ * Capabilities granted by live subscriptions and active feature grants; members of a project list its entitlements with `project_ids`. A capability not held is not listed, and one stops being listed when the subscription or grant providing it ends.
997
1014
  * @summary List entitlements
998
1015
  */
999
1016
  export declare const listEntitlementsQueryPageDefault = 1;
@@ -1166,7 +1183,7 @@ export declare const ListRatesHeader: zod.ZodObject<{
1166
1183
  "If-None-Match": zod.ZodOptional<zod.ZodString>;
1167
1184
  }, zod.z.core.$strict>;
1168
1185
  /**
1169
- * Continuous metering registrations paid for by your billing accounts. Their state does not describe the resource's runtime. Project filters only narrow the result.
1186
+ * Continuous metering registrations paid for by your billing accounts; members of a project list its registrations with `project_ids`. Their state does not describe the resource's runtime.
1170
1187
  * @summary List active resources
1171
1188
  */
1172
1189
  export declare const listActiveResourcesQueryPageDefault = 1;
@@ -1197,6 +1214,9 @@ export declare const ListActiveResourcesQueryParams: zod.ZodObject<{
1197
1214
  * closing are included. `from` and `to` must fall on UTC day boundaries and span at most 92 days.
1198
1215
  * Project filters use the account recorded on each charge, including charges for projects later
1199
1216
  * assigned to another account. The total covers all matching groups, not just the returned page.
1217
+ *
1218
+ * Open to the owner of the account and to members with the project permission `billing:cost.read` of each
1219
+ * project in `project_ids`, which must then be given and currently assigned to the account.
1200
1220
  * @summary List account spend
1201
1221
  */
1202
1222
  export declare const listSpendQueryGroupByDefault = "product";
@@ -1264,7 +1284,7 @@ export declare const GetStatementParams: zod.ZodObject<{
1264
1284
  statementId: zod.ZodUUID;
1265
1285
  }, zod.z.core.$strict>;
1266
1286
  /**
1267
- * The statement's consumption, grouped by project, product or meter and filtered within the statement. Quantities are given only for meter groups; grouping by meter also splits by the meter's presentation dimensions.
1287
+ * The statement's consumption, grouped by project, product or meter and filtered within the statement. Quantities are given only for meter groups; grouping by meter also splits by the meter's presentation dimensions. Open to the owner of the statement's account and to members with the project permission `billing:cost.read` of each project in `project_ids`, which must then be given and currently assigned to that account.
1268
1288
  * @summary Get grouped consumption
1269
1289
  */
1270
1290
  export declare const GetStatementUsageParams: zod.ZodObject<{