@leaflow/sdk 0.125.1 → 0.127.0

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 (389) hide show
  1. package/dist/billing/type/order/v1/generated/models.d.ts +38 -3
  2. package/dist/billing/type/order/v1/generated/models.js +5 -0
  3. package/dist/billing/type/order/v1/generated/validators/monthlyStatement.zod.d.ts +36 -0
  4. package/dist/billing/type/order/v1/generated/validators/monthlyStatement.zod.js +30 -0
  5. package/dist/billing/type/order/v1/generated/validators/monthlyStatementList.zod.d.ts +43 -0
  6. package/dist/billing/type/order/v1/generated/validators/monthlyStatementList.zod.js +14 -0
  7. package/dist/billing/type/order/v1/generated/validators/statement.zod.d.ts +5 -0
  8. package/dist/billing/type/order/v1/generated/validators/statement.zod.js +5 -5
  9. package/dist/billing/type/order/v1/generated/validators/statementList.zod.d.ts +5 -0
  10. package/dist/billing/type/order/v1/generated/validators/statementType.zod.d.ts +15 -0
  11. package/dist/billing/type/order/v1/generated/validators/statementType.zod.js +11 -0
  12. package/dist/billing/v1/generated/functions.d.ts +26 -2
  13. package/dist/billing/v1/generated/functions.js +29 -1
  14. package/dist/billing/v1/generated/models.d.ts +61 -3
  15. package/dist/billing/v1/generated/models.js +5 -0
  16. package/dist/billing/v1/generated/schemas.zod.d.ts +19 -1
  17. package/dist/billing/v1/generated/schemas.zod.js +29 -1
  18. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.d.ts +21 -0
  19. package/dist/billing/v1/generated/validators/listMonthlyStatementsParams.zod.js +27 -0
  20. package/dist/billing/v1/generated/validators/monthlyStatement.zod.d.ts +36 -0
  21. package/dist/billing/v1/generated/validators/monthlyStatement.zod.js +30 -0
  22. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.d.ts +43 -0
  23. package/dist/billing/v1/generated/validators/monthlyStatementList.zod.js +14 -0
  24. package/dist/billing/v1/generated/validators/statement.zod.d.ts +5 -0
  25. package/dist/billing/v1/generated/validators/statement.zod.js +5 -5
  26. package/dist/billing/v1/generated/validators/statementList.zod.d.ts +5 -0
  27. package/dist/billing/v1/generated/validators/statementType.zod.d.ts +15 -0
  28. package/dist/billing/v1/generated/validators/statementType.zod.js +11 -0
  29. package/dist/canopy/v1/generated/models.d.ts +38 -3
  30. package/dist/canopy/v1/generated/models.js +5 -0
  31. package/dist/canopy/v1/generated/validators/monthlyStatement.zod.d.ts +59 -0
  32. package/dist/canopy/v1/generated/validators/monthlyStatement.zod.js +53 -0
  33. package/dist/canopy/v1/generated/validators/monthlyStatementList.zod.d.ts +66 -0
  34. package/dist/canopy/v1/generated/validators/monthlyStatementList.zod.js +37 -0
  35. package/dist/canopy/v1/generated/validators/statement.zod.d.ts +5 -0
  36. package/dist/canopy/v1/generated/validators/statement.zod.js +5 -5
  37. package/dist/canopy/v1/generated/validators/statementList.zod.d.ts +5 -0
  38. package/dist/canopy/v1/generated/validators/statementType.zod.d.ts +38 -0
  39. package/dist/canopy/v1/generated/validators/statementType.zod.js +34 -0
  40. package/dist/compute/v1/generated/models.d.ts +38 -3
  41. package/dist/compute/v1/generated/models.js +5 -0
  42. package/dist/compute/v1/generated/validators/monthlyStatement.zod.d.ts +52 -0
  43. package/dist/compute/v1/generated/validators/monthlyStatement.zod.js +46 -0
  44. package/dist/compute/v1/generated/validators/monthlyStatementList.zod.d.ts +59 -0
  45. package/dist/compute/v1/generated/validators/monthlyStatementList.zod.js +30 -0
  46. package/dist/compute/v1/generated/validators/statement.zod.d.ts +5 -0
  47. package/dist/compute/v1/generated/validators/statement.zod.js +5 -5
  48. package/dist/compute/v1/generated/validators/statementList.zod.d.ts +5 -0
  49. package/dist/compute/v1/generated/validators/statementType.zod.d.ts +31 -0
  50. package/dist/compute/v1/generated/validators/statementType.zod.js +27 -0
  51. package/dist/membership/v1/generated/functions.d.ts +9 -31
  52. package/dist/membership/v1/generated/functions.js +8 -15
  53. package/dist/membership/v1/generated/models.d.ts +72 -58
  54. package/dist/membership/v1/generated/models.js +5 -0
  55. package/dist/membership/v1/generated/schemas.zod.d.ts +9 -31
  56. package/dist/membership/v1/generated/schemas.zod.js +12 -34
  57. package/dist/membership/v1/generated/validators/accountBalance.zod.d.ts +1 -16
  58. package/dist/membership/v1/generated/validators/accountBalance.zod.js +1 -16
  59. package/dist/membership/v1/generated/validators/accountIdentity.zod.d.ts +1 -16
  60. package/dist/membership/v1/generated/validators/accountIdentity.zod.js +1 -16
  61. package/dist/membership/v1/generated/validators/activeResource.zod.d.ts +1 -16
  62. package/dist/membership/v1/generated/validators/activeResource.zod.js +1 -16
  63. package/dist/membership/v1/generated/validators/activeResourceList.zod.d.ts +1 -16
  64. package/dist/membership/v1/generated/validators/activeResourceList.zod.js +1 -16
  65. package/dist/membership/v1/generated/validators/allowance.zod.d.ts +1 -16
  66. package/dist/membership/v1/generated/validators/allowance.zod.js +1 -16
  67. package/dist/membership/v1/generated/validators/allowanceBenefit.zod.d.ts +1 -16
  68. package/dist/membership/v1/generated/validators/allowanceBenefit.zod.js +4 -19
  69. package/dist/membership/v1/generated/validators/allowanceList.zod.d.ts +1 -16
  70. package/dist/membership/v1/generated/validators/allowanceList.zod.js +1 -16
  71. package/dist/membership/v1/generated/validators/applicability.zod.d.ts +1 -16
  72. package/dist/membership/v1/generated/validators/applicability.zod.js +1 -16
  73. package/dist/membership/v1/generated/validators/applicablePlan.zod.d.ts +1 -16
  74. package/dist/membership/v1/generated/validators/applicablePlan.zod.js +1 -16
  75. package/dist/membership/v1/generated/validators/appliedCredit.zod.d.ts +1 -16
  76. package/dist/membership/v1/generated/validators/appliedCredit.zod.js +1 -16
  77. package/dist/membership/v1/generated/validators/autoRenewSet.zod.d.ts +1 -16
  78. package/dist/membership/v1/generated/validators/autoRenewSet.zod.js +1 -16
  79. package/dist/membership/v1/generated/validators/benefit.zod.d.ts +1 -16
  80. package/dist/membership/v1/generated/validators/benefit.zod.js +2 -17
  81. package/dist/membership/v1/generated/validators/billingAccount.zod.d.ts +1 -16
  82. package/dist/membership/v1/generated/validators/billingAccount.zod.js +1 -16
  83. package/dist/membership/v1/generated/validators/billingAccountCreate.zod.d.ts +1 -16
  84. package/dist/membership/v1/generated/validators/billingAccountCreate.zod.js +1 -16
  85. package/dist/membership/v1/generated/validators/billingAccountList.zod.d.ts +1 -16
  86. package/dist/membership/v1/generated/validators/billingAccountList.zod.js +1 -16
  87. package/dist/membership/v1/generated/validators/billingAccountUpdate.zod.d.ts +1 -16
  88. package/dist/membership/v1/generated/validators/billingAccountUpdate.zod.js +1 -16
  89. package/dist/membership/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +1 -16
  90. package/dist/membership/v1/generated/validators/cancelSubscriptionRequest.zod.js +1 -16
  91. package/dist/membership/v1/generated/validators/cancellation.zod.d.ts +1 -16
  92. package/dist/membership/v1/generated/validators/cancellation.zod.js +1 -16
  93. package/dist/membership/v1/generated/validators/cancellationCreate.zod.d.ts +1 -16
  94. package/dist/membership/v1/generated/validators/cancellationCreate.zod.js +1 -16
  95. package/dist/membership/v1/generated/validators/cancellationItem.zod.d.ts +1 -16
  96. package/dist/membership/v1/generated/validators/cancellationItem.zod.js +1 -16
  97. package/dist/membership/v1/generated/validators/cancellationList.zod.d.ts +1 -16
  98. package/dist/membership/v1/generated/validators/cancellationList.zod.js +1 -16
  99. package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.d.ts +1 -16
  100. package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.js +1 -16
  101. package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -16
  102. package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.js +1 -16
  103. package/dist/membership/v1/generated/validators/checkoutMode.zod.d.ts +1 -16
  104. package/dist/membership/v1/generated/validators/checkoutMode.zod.js +1 -16
  105. package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +1 -16
  106. package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +1 -16
  107. package/dist/membership/v1/generated/validators/contact.zod.d.ts +1 -16
  108. package/dist/membership/v1/generated/validators/contact.zod.js +1 -16
  109. package/dist/membership/v1/generated/validators/contactCreate.zod.d.ts +1 -16
  110. package/dist/membership/v1/generated/validators/contactCreate.zod.js +1 -16
  111. package/dist/membership/v1/generated/validators/contactList.zod.d.ts +1 -16
  112. package/dist/membership/v1/generated/validators/contactList.zod.js +1 -16
  113. package/dist/membership/v1/generated/validators/contactUpdate.zod.d.ts +1 -16
  114. package/dist/membership/v1/generated/validators/contactUpdate.zod.js +1 -16
  115. package/dist/membership/v1/generated/validators/creditBenefit.zod.d.ts +1 -16
  116. package/dist/membership/v1/generated/validators/creditBenefit.zod.js +3 -18
  117. package/dist/membership/v1/generated/validators/creditGrant.zod.d.ts +1 -16
  118. package/dist/membership/v1/generated/validators/creditGrant.zod.js +1 -16
  119. package/dist/membership/v1/generated/validators/creditGrantList.zod.d.ts +1 -16
  120. package/dist/membership/v1/generated/validators/creditGrantList.zod.js +1 -16
  121. package/dist/membership/v1/generated/validators/creditGroup.zod.d.ts +1 -16
  122. package/dist/membership/v1/generated/validators/creditGroup.zod.js +1 -16
  123. package/dist/membership/v1/generated/validators/creditNote.zod.d.ts +1 -16
  124. package/dist/membership/v1/generated/validators/creditNote.zod.js +1 -16
  125. package/dist/membership/v1/generated/validators/creditNoteItem.zod.d.ts +1 -16
  126. package/dist/membership/v1/generated/validators/creditNoteItem.zod.js +1 -16
  127. package/dist/membership/v1/generated/validators/creditNoteItemList.zod.d.ts +1 -16
  128. package/dist/membership/v1/generated/validators/creditNoteItemList.zod.js +1 -16
  129. package/dist/membership/v1/generated/validators/creditNoteList.zod.d.ts +1 -16
  130. package/dist/membership/v1/generated/validators/creditNoteList.zod.js +1 -16
  131. package/dist/membership/v1/generated/validators/currency.zod.d.ts +1 -16
  132. package/dist/membership/v1/generated/validators/currency.zod.js +1 -16
  133. package/dist/membership/v1/generated/validators/currency6ff0ec7.zod.d.ts +1 -16
  134. package/dist/membership/v1/generated/validators/currency6ff0ec7.zod.js +1 -16
  135. package/dist/membership/v1/generated/validators/currencyA200529.zod.d.ts +1 -16
  136. package/dist/membership/v1/generated/validators/currencyA200529.zod.js +1 -16
  137. package/dist/membership/v1/generated/validators/currencyList.zod.d.ts +1 -16
  138. package/dist/membership/v1/generated/validators/currencyList.zod.js +1 -16
  139. package/dist/membership/v1/generated/validators/cursorPagination.zod.d.ts +1 -16
  140. package/dist/membership/v1/generated/validators/cursorPagination.zod.js +1 -16
  141. package/dist/membership/v1/generated/validators/discount.zod.d.ts +1 -16
  142. package/dist/membership/v1/generated/validators/discount.zod.js +1 -16
  143. package/dist/membership/v1/generated/validators/discountBenefit.zod.d.ts +1 -16
  144. package/dist/membership/v1/generated/validators/discountBenefit.zod.js +4 -19
  145. package/dist/membership/v1/generated/validators/discountList.zod.d.ts +1 -16
  146. package/dist/membership/v1/generated/validators/discountList.zod.js +1 -16
  147. package/dist/membership/v1/generated/validators/entitlement.zod.d.ts +1 -16
  148. package/dist/membership/v1/generated/validators/entitlement.zod.js +1 -16
  149. package/dist/membership/v1/generated/validators/entitlementList.zod.d.ts +1 -16
  150. package/dist/membership/v1/generated/validators/entitlementList.zod.js +1 -16
  151. package/dist/membership/v1/generated/validators/error.zod.d.ts +1 -16
  152. package/dist/membership/v1/generated/validators/error.zod.js +1 -16
  153. package/dist/membership/v1/generated/validators/errorA200529.zod.d.ts +1 -16
  154. package/dist/membership/v1/generated/validators/errorA200529.zod.js +1 -16
  155. package/dist/membership/v1/generated/validators/featureBenefit.zod.d.ts +1 -16
  156. package/dist/membership/v1/generated/validators/featureBenefit.zod.js +2 -17
  157. package/dist/membership/v1/generated/validators/featureGrant.zod.d.ts +1 -16
  158. package/dist/membership/v1/generated/validators/featureGrant.zod.js +1 -16
  159. package/dist/membership/v1/generated/validators/featureGrantList.zod.d.ts +1 -16
  160. package/dist/membership/v1/generated/validators/featureGrantList.zod.js +1 -16
  161. package/dist/membership/v1/generated/validators/featureGrantStatus.zod.d.ts +1 -16
  162. package/dist/membership/v1/generated/validators/featureGrantStatus.zod.js +1 -16
  163. package/dist/membership/v1/generated/validators/getPlanParams.zod.d.ts +1 -16
  164. package/dist/membership/v1/generated/validators/getPlanParams.zod.js +1 -16
  165. package/dist/membership/v1/generated/validators/grant.zod.d.ts +1 -16
  166. package/dist/membership/v1/generated/validators/grant.zod.js +3 -20
  167. package/dist/membership/v1/generated/validators/invoice.zod.d.ts +1 -16
  168. package/dist/membership/v1/generated/validators/invoice.zod.js +1 -16
  169. package/dist/membership/v1/generated/validators/invoiceItem.zod.d.ts +1 -16
  170. package/dist/membership/v1/generated/validators/invoiceItem.zod.js +1 -16
  171. package/dist/membership/v1/generated/validators/invoiceItemList.zod.d.ts +1 -16
  172. package/dist/membership/v1/generated/validators/invoiceItemList.zod.js +1 -16
  173. package/dist/membership/v1/generated/validators/invoiceList.zod.d.ts +1 -16
  174. package/dist/membership/v1/generated/validators/invoiceList.zod.js +1 -16
  175. package/dist/membership/v1/generated/validators/invoiceStatus.zod.d.ts +1 -16
  176. package/dist/membership/v1/generated/validators/invoiceStatus.zod.js +1 -16
  177. package/dist/membership/v1/generated/validators/invoiceSummary.zod.d.ts +1 -16
  178. package/dist/membership/v1/generated/validators/invoiceSummary.zod.js +1 -16
  179. package/dist/membership/v1/generated/validators/listMembershipPeriodsParams.zod.d.ts +1 -16
  180. package/dist/membership/v1/generated/validators/listMembershipPeriodsParams.zod.js +1 -16
  181. package/dist/membership/v1/generated/validators/listMembershipsParams.zod.d.ts +1 -16
  182. package/dist/membership/v1/generated/validators/listMembershipsParams.zod.js +1 -16
  183. package/dist/membership/v1/generated/validators/listPlansParams.zod.d.ts +1 -16
  184. package/dist/membership/v1/generated/validators/listPlansParams.zod.js +1 -16
  185. package/dist/membership/v1/generated/validators/membership.zod.d.ts +1 -16
  186. package/dist/membership/v1/generated/validators/membership.zod.js +6 -23
  187. package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +1 -16
  188. package/dist/membership/v1/generated/validators/membershipCreate.zod.js +2 -17
  189. package/dist/membership/v1/generated/validators/membershipDowngrade.zod.d.ts +1 -16
  190. package/dist/membership/v1/generated/validators/membershipDowngrade.zod.js +2 -17
  191. package/dist/membership/v1/generated/validators/membershipList.zod.d.ts +1 -16
  192. package/dist/membership/v1/generated/validators/membershipList.zod.js +1 -16
  193. package/dist/membership/v1/generated/validators/membershipPurchase.zod.d.ts +1 -16
  194. package/dist/membership/v1/generated/validators/membershipPurchase.zod.js +2 -17
  195. package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +1 -16
  196. package/dist/membership/v1/generated/validators/membershipUpgrade.zod.js +2 -17
  197. package/dist/membership/v1/generated/validators/money.zod.d.ts +1 -16
  198. package/dist/membership/v1/generated/validators/money.zod.js +1 -16
  199. package/dist/membership/v1/generated/validators/monthlyStatement.zod.d.ts +36 -0
  200. package/dist/membership/v1/generated/validators/monthlyStatement.zod.js +30 -0
  201. package/dist/membership/v1/generated/validators/monthlyStatementList.zod.d.ts +43 -0
  202. package/dist/membership/v1/generated/validators/monthlyStatementList.zod.js +14 -0
  203. package/dist/membership/v1/generated/validators/namedIdentity.zod.d.ts +1 -16
  204. package/dist/membership/v1/generated/validators/namedIdentity.zod.js +1 -16
  205. package/dist/membership/v1/generated/validators/objectIdentity.zod.d.ts +1 -16
  206. package/dist/membership/v1/generated/validators/objectIdentity.zod.js +1 -16
  207. package/dist/membership/v1/generated/validators/offsetPagination.zod.d.ts +1 -16
  208. package/dist/membership/v1/generated/validators/offsetPagination.zod.js +1 -16
  209. package/dist/membership/v1/generated/validators/order.zod.d.ts +1 -16
  210. package/dist/membership/v1/generated/validators/order.zod.js +1 -16
  211. package/dist/membership/v1/generated/validators/orderCancel.zod.d.ts +1 -16
  212. package/dist/membership/v1/generated/validators/orderCancel.zod.js +1 -16
  213. package/dist/membership/v1/generated/validators/orderItem.zod.d.ts +1 -16
  214. package/dist/membership/v1/generated/validators/orderItem.zod.js +1 -16
  215. package/dist/membership/v1/generated/validators/orderItemList.zod.d.ts +1 -16
  216. package/dist/membership/v1/generated/validators/orderItemList.zod.js +1 -16
  217. package/dist/membership/v1/generated/validators/orderItemStatus.zod.d.ts +1 -16
  218. package/dist/membership/v1/generated/validators/orderItemStatus.zod.js +1 -16
  219. package/dist/membership/v1/generated/validators/orderList.zod.d.ts +1 -16
  220. package/dist/membership/v1/generated/validators/orderList.zod.js +1 -16
  221. package/dist/membership/v1/generated/validators/orderRefundQuote.zod.d.ts +1 -16
  222. package/dist/membership/v1/generated/validators/orderRefundQuote.zod.js +1 -16
  223. package/dist/membership/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +1 -16
  224. package/dist/membership/v1/generated/validators/orderRefundQuoteInput.zod.js +1 -16
  225. package/dist/membership/v1/generated/validators/orderStatus.zod.d.ts +1 -16
  226. package/dist/membership/v1/generated/validators/orderStatus.zod.js +1 -16
  227. package/dist/membership/v1/generated/validators/paidWith.zod.d.ts +1 -16
  228. package/dist/membership/v1/generated/validators/paidWith.zod.js +1 -16
  229. package/dist/membership/v1/generated/validators/payInvoiceRequest.zod.d.ts +1 -16
  230. package/dist/membership/v1/generated/validators/payInvoiceRequest.zod.js +1 -16
  231. package/dist/membership/v1/generated/validators/payTogetherRequest.zod.d.ts +1 -16
  232. package/dist/membership/v1/generated/validators/payTogetherRequest.zod.js +1 -16
  233. package/dist/membership/v1/generated/validators/paymentAction.zod.d.ts +1 -16
  234. package/dist/membership/v1/generated/validators/paymentAction.zod.js +1 -16
  235. package/dist/membership/v1/generated/validators/paymentCancellationReason.zod.d.ts +1 -16
  236. package/dist/membership/v1/generated/validators/paymentCancellationReason.zod.js +1 -16
  237. package/dist/membership/v1/generated/validators/paymentMethod.zod.d.ts +1 -16
  238. package/dist/membership/v1/generated/validators/paymentMethod.zod.js +1 -16
  239. package/dist/membership/v1/generated/validators/paymentMethodList.zod.d.ts +1 -16
  240. package/dist/membership/v1/generated/validators/paymentMethodList.zod.js +1 -16
  241. package/dist/membership/v1/generated/validators/paymentMethodSetup.zod.d.ts +1 -16
  242. package/dist/membership/v1/generated/validators/paymentMethodSetup.zod.js +1 -16
  243. package/dist/membership/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +1 -16
  244. package/dist/membership/v1/generated/validators/paymentMethodSetupResult.zod.js +1 -16
  245. package/dist/membership/v1/generated/validators/paymentOption.zod.d.ts +1 -16
  246. package/dist/membership/v1/generated/validators/paymentOption.zod.js +1 -16
  247. package/dist/membership/v1/generated/validators/paymentOptionList.zod.d.ts +1 -16
  248. package/dist/membership/v1/generated/validators/paymentOptionList.zod.js +1 -16
  249. package/dist/membership/v1/generated/validators/paymentOptionMethod.zod.d.ts +1 -16
  250. package/dist/membership/v1/generated/validators/paymentOptionMethod.zod.js +1 -16
  251. package/dist/membership/v1/generated/validators/paymentPreview.zod.d.ts +1 -16
  252. package/dist/membership/v1/generated/validators/paymentPreview.zod.js +1 -16
  253. package/dist/membership/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +1 -16
  254. package/dist/membership/v1/generated/validators/paymentPreviewInvoice.zod.js +1 -16
  255. package/dist/membership/v1/generated/validators/paymentResult.zod.d.ts +1 -16
  256. package/dist/membership/v1/generated/validators/paymentResult.zod.js +1 -16
  257. package/dist/membership/v1/generated/validators/paymentStatus.zod.d.ts +1 -16
  258. package/dist/membership/v1/generated/validators/paymentStatus.zod.js +1 -16
  259. package/dist/membership/v1/generated/validators/period.zod.d.ts +1 -16
  260. package/dist/membership/v1/generated/validators/period.zod.js +2 -17
  261. package/dist/membership/v1/generated/validators/periodList.zod.d.ts +1 -16
  262. package/dist/membership/v1/generated/validators/periodList.zod.js +1 -16
  263. package/dist/membership/v1/generated/validators/placedOrder.zod.d.ts +1 -16
  264. package/dist/membership/v1/generated/validators/placedOrder.zod.js +1 -16
  265. package/dist/membership/v1/generated/validators/plan.zod.d.ts +1 -16
  266. package/dist/membership/v1/generated/validators/plan.zod.js +2 -17
  267. package/dist/membership/v1/generated/validators/planA200529.zod.d.ts +1 -16
  268. package/dist/membership/v1/generated/validators/planA200529.zod.js +1 -16
  269. package/dist/membership/v1/generated/validators/planC836db9.zod.d.ts +1 -16
  270. package/dist/membership/v1/generated/validators/planC836db9.zod.js +1 -16
  271. package/dist/membership/v1/generated/validators/planFeature.zod.d.ts +1 -16
  272. package/dist/membership/v1/generated/validators/planFeature.zod.js +1 -16
  273. package/dist/membership/v1/generated/validators/planList.zod.d.ts +1 -16
  274. package/dist/membership/v1/generated/validators/planList.zod.js +1 -16
  275. package/dist/membership/v1/generated/validators/planListA200529.zod.d.ts +1 -16
  276. package/dist/membership/v1/generated/validators/planListA200529.zod.js +1 -16
  277. package/dist/membership/v1/generated/validators/planListC836db9.zod.d.ts +1 -16
  278. package/dist/membership/v1/generated/validators/planListC836db9.zod.js +1 -16
  279. package/dist/membership/v1/generated/validators/planPrice.zod.d.ts +1 -16
  280. package/dist/membership/v1/generated/validators/planPrice.zod.js +1 -16
  281. package/dist/membership/v1/generated/validators/planSummary.zod.d.ts +1 -16
  282. package/dist/membership/v1/generated/validators/planSummary.zod.js +2 -17
  283. package/dist/membership/v1/generated/validators/price.zod.d.ts +1 -16
  284. package/dist/membership/v1/generated/validators/price.zod.js +1 -16
  285. package/dist/membership/v1/generated/validators/priceList.zod.d.ts +1 -16
  286. package/dist/membership/v1/generated/validators/priceList.zod.js +1 -16
  287. package/dist/membership/v1/generated/validators/priceOption.zod.d.ts +1 -16
  288. package/dist/membership/v1/generated/validators/priceOption.zod.js +1 -16
  289. package/dist/membership/v1/generated/validators/product.zod.d.ts +1 -16
  290. package/dist/membership/v1/generated/validators/product.zod.js +1 -16
  291. package/dist/membership/v1/generated/validators/productID.zod.d.ts +1 -16
  292. package/dist/membership/v1/generated/validators/productID.zod.js +1 -16
  293. package/dist/membership/v1/generated/validators/productIdentity.zod.d.ts +1 -16
  294. package/dist/membership/v1/generated/validators/productIdentity.zod.js +2 -17
  295. package/dist/membership/v1/generated/validators/productList.zod.d.ts +1 -16
  296. package/dist/membership/v1/generated/validators/productList.zod.js +1 -16
  297. package/dist/membership/v1/generated/validators/projectAssignment.zod.d.ts +1 -16
  298. package/dist/membership/v1/generated/validators/projectAssignment.zod.js +1 -16
  299. package/dist/membership/v1/generated/validators/projectAssignmentList.zod.d.ts +1 -16
  300. package/dist/membership/v1/generated/validators/projectAssignmentList.zod.js +1 -16
  301. package/dist/membership/v1/generated/validators/purchaseOperation.zod.d.ts +1 -16
  302. package/dist/membership/v1/generated/validators/purchaseOperation.zod.js +1 -16
  303. package/dist/membership/v1/generated/validators/quote.zod.d.ts +1 -16
  304. package/dist/membership/v1/generated/validators/quote.zod.js +1 -16
  305. package/dist/membership/v1/generated/validators/quoteCancellation.zod.d.ts +1 -16
  306. package/dist/membership/v1/generated/validators/quoteCancellation.zod.js +1 -16
  307. package/dist/membership/v1/generated/validators/quoteItem.zod.d.ts +1 -16
  308. package/dist/membership/v1/generated/validators/quoteItem.zod.js +1 -16
  309. package/dist/membership/v1/generated/validators/quoteItemInput.zod.d.ts +1 -16
  310. package/dist/membership/v1/generated/validators/quoteItemInput.zod.js +1 -16
  311. package/dist/membership/v1/generated/validators/quoteRenewal.zod.d.ts +1 -16
  312. package/dist/membership/v1/generated/validators/quoteRenewal.zod.js +1 -16
  313. package/dist/membership/v1/generated/validators/quoteRenewalResult.zod.d.ts +1 -16
  314. package/dist/membership/v1/generated/validators/quoteRenewalResult.zod.js +1 -16
  315. package/dist/membership/v1/generated/validators/quoteRequest.zod.d.ts +1 -16
  316. package/dist/membership/v1/generated/validators/quoteRequest.zod.js +1 -16
  317. package/dist/membership/v1/generated/validators/quotedDiscount.zod.d.ts +1 -16
  318. package/dist/membership/v1/generated/validators/quotedDiscount.zod.js +1 -16
  319. package/dist/membership/v1/generated/validators/rate.zod.d.ts +1 -16
  320. package/dist/membership/v1/generated/validators/rate.zod.js +1 -16
  321. package/dist/membership/v1/generated/validators/rateList.zod.d.ts +1 -16
  322. package/dist/membership/v1/generated/validators/rateList.zod.js +1 -16
  323. package/dist/membership/v1/generated/validators/refund.zod.d.ts +1 -16
  324. package/dist/membership/v1/generated/validators/refund.zod.js +1 -16
  325. package/dist/membership/v1/generated/validators/refundList.zod.d.ts +1 -16
  326. package/dist/membership/v1/generated/validators/refundList.zod.js +1 -16
  327. package/dist/membership/v1/generated/validators/refundPolicy.zod.d.ts +1 -16
  328. package/dist/membership/v1/generated/validators/refundPolicy.zod.js +1 -16
  329. package/dist/membership/v1/generated/validators/refundReason.zod.d.ts +1 -16
  330. package/dist/membership/v1/generated/validators/refundReason.zod.js +1 -16
  331. package/dist/membership/v1/generated/validators/renewRequest.zod.d.ts +1 -16
  332. package/dist/membership/v1/generated/validators/renewRequest.zod.js +1 -16
  333. package/dist/membership/v1/generated/validators/renewalOrderRequest.zod.d.ts +1 -16
  334. package/dist/membership/v1/generated/validators/renewalOrderRequest.zod.js +1 -16
  335. package/dist/membership/v1/generated/validators/renewalPrice.zod.d.ts +1 -16
  336. package/dist/membership/v1/generated/validators/renewalPrice.zod.js +1 -16
  337. package/dist/membership/v1/generated/validators/renewalPriceList.zod.d.ts +1 -16
  338. package/dist/membership/v1/generated/validators/renewalPriceList.zod.js +1 -16
  339. package/dist/membership/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +1 -16
  340. package/dist/membership/v1/generated/validators/setProjectAssignmentRequest.zod.js +1 -16
  341. package/dist/membership/v1/generated/validators/spendRow.zod.d.ts +1 -16
  342. package/dist/membership/v1/generated/validators/spendRow.zod.js +1 -16
  343. package/dist/membership/v1/generated/validators/spendRowList.zod.d.ts +1 -16
  344. package/dist/membership/v1/generated/validators/spendRowList.zod.js +1 -16
  345. package/dist/membership/v1/generated/validators/statement.zod.d.ts +6 -16
  346. package/dist/membership/v1/generated/validators/statement.zod.js +6 -21
  347. package/dist/membership/v1/generated/validators/statementAmounts.zod.d.ts +1 -16
  348. package/dist/membership/v1/generated/validators/statementAmounts.zod.js +1 -16
  349. package/dist/membership/v1/generated/validators/statementItem.zod.d.ts +1 -16
  350. package/dist/membership/v1/generated/validators/statementItem.zod.js +1 -16
  351. package/dist/membership/v1/generated/validators/statementList.zod.d.ts +6 -16
  352. package/dist/membership/v1/generated/validators/statementList.zod.js +1 -16
  353. package/dist/membership/v1/generated/validators/statementStatus.zod.d.ts +1 -16
  354. package/dist/membership/v1/generated/validators/statementStatus.zod.js +1 -16
  355. package/dist/membership/v1/generated/validators/statementSummary.zod.d.ts +1 -16
  356. package/dist/membership/v1/generated/validators/statementSummary.zod.js +1 -16
  357. package/dist/membership/v1/generated/validators/statementType.zod.d.ts +15 -0
  358. package/dist/membership/v1/generated/validators/statementType.zod.js +11 -0
  359. package/dist/membership/v1/generated/validators/subscription.zod.d.ts +1 -16
  360. package/dist/membership/v1/generated/validators/subscription.zod.js +1 -16
  361. package/dist/membership/v1/generated/validators/subscriptionCancellation.zod.d.ts +1 -16
  362. package/dist/membership/v1/generated/validators/subscriptionCancellation.zod.js +1 -16
  363. package/dist/membership/v1/generated/validators/subscriptionList.zod.d.ts +1 -16
  364. package/dist/membership/v1/generated/validators/subscriptionList.zod.js +1 -16
  365. package/dist/membership/v1/generated/validators/taxItem.zod.d.ts +1 -16
  366. package/dist/membership/v1/generated/validators/taxItem.zod.js +1 -16
  367. package/dist/membership/v1/generated/validators/terminationPolicy.zod.d.ts +1 -16
  368. package/dist/membership/v1/generated/validators/terminationPolicy.zod.js +1 -16
  369. package/dist/membership/v1/generated/validators/tier.zod.d.ts +1 -16
  370. package/dist/membership/v1/generated/validators/tier.zod.js +1 -16
  371. package/dist/membership/v1/generated/validators/topUp.zod.d.ts +1 -16
  372. package/dist/membership/v1/generated/validators/topUp.zod.js +1 -16
  373. package/dist/membership/v1/generated/validators/topUpCreate.zod.d.ts +1 -16
  374. package/dist/membership/v1/generated/validators/topUpCreate.zod.js +1 -16
  375. package/dist/membership/v1/generated/validators/topUpList.zod.d.ts +1 -16
  376. package/dist/membership/v1/generated/validators/topUpList.zod.js +1 -16
  377. package/dist/membership/v1/generated/validators/transaction.zod.d.ts +1 -16
  378. package/dist/membership/v1/generated/validators/transaction.zod.js +1 -16
  379. package/dist/membership/v1/generated/validators/transactionList.zod.d.ts +1 -16
  380. package/dist/membership/v1/generated/validators/transactionList.zod.js +1 -16
  381. package/dist/membership/v1/generated/validators/transactionType.zod.d.ts +1 -16
  382. package/dist/membership/v1/generated/validators/transactionType.zod.js +1 -16
  383. package/dist/membership/v1/generated/validators/usageCharge.zod.d.ts +1 -16
  384. package/dist/membership/v1/generated/validators/usageCharge.zod.js +1 -16
  385. package/dist/membership/v1/generated/validators/usageChargeList.zod.d.ts +1 -16
  386. package/dist/membership/v1/generated/validators/usageChargeList.zod.js +1 -16
  387. package/dist/routes.d.ts +8 -0
  388. package/dist/routes.js +9 -0
  389. package/package.json +1 -1
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -29,9 +14,9 @@ export const DiscountBenefit = zod
29
14
  percent_off: zod
30
15
  .string()
31
16
  .nullable()
32
- .describe('Decimal string for a percentage coupon, such as "10" for ten per cent; null for other types.'),
17
+ .describe("Percentage discount; null for other coupon types."),
33
18
  applies_to: zod
34
19
  .union([NamedIdentity, zod.null()])
35
- .describe("The services and plans the coupon applies to. Null means every service other than memberships."),
20
+ .describe("Coupon applicability; null means unrestricted."),
36
21
  })
37
- .describe("A Billing coupon the account holds during each period. Every type applies to purchases within its scope; a percentage coupon also reduces metered usage. Only one coupon applies to a purchase or a usage charge, the one that saves the most.");
22
+ .describe("A Billing coupon held during each period.");
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -28,4 +13,4 @@ export const FeatureBenefit = zod
28
13
  lookup_key: zod.string(),
29
14
  name: zod.string(),
30
15
  })
31
- .describe("Access to a feature of a service for every project of the account during each period.");
16
+ .describe("Account-level feature access for each period.");
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";
@@ -2,22 +2,7 @@
2
2
  * Generated by orval 🍺
3
3
  * Do not edit manually.
4
4
  * Leaflow Membership API
5
- * Membership plans and the memberships held by billing accounts.
6
- *
7
- * A membership is a prepaid subscription sold through Billing. For each paid period it issues the plan's benefits to the billing account. A plan can carry several benefits across services: credit for chosen services, coupons on purchases and metered usage, and usage allowances such as model tokens, and access to features of other services. Benefits are shared by every project paid for by the account.
8
- *
9
- * ## Authentication
10
- *
11
- * Plans are public. Memberships require an access token; see the `accessTokenAuth` security scheme. Only the owner of a billing account can read or change its membership; anyone else receives 403 `MEMBERSHIP_ACCOUNT_FORBIDDEN`.
12
- *
13
- * ## Conventions
14
- *
15
- * - **One membership per billing account.** A pending or active membership must end before another is bought; change plans with upgrade and downgrade instead.
16
- * - **Payment goes through Billing.** Purchases and upgrades return a Billing order. With `checkout.mode` `deferred`, pay the order's invoice through Billing. Benefits are issued once Billing reports the order ready; every order has an invoice, including a zero-total one, which is paid automatically.
17
- * - **Cancellation and auto-renewal are managed in Billing** on the membership's `subscription_id`. A cancellation takes effect at the end of the paid period without a refund, and the period's benefits remain until then.
18
- * - **An upgrade takes effect immediately** for the full difference between the two plans' period prices, whatever remains of the period. The difference in credit is issued in full and the new plan's discount applies from payment. Renewals are charged at the new plan's price.
19
- * - **A downgrade takes effect at the end of the paid period.** The current period keeps its benefits and nothing is refunded.
20
- * - **Amounts are decimal strings** in the billing account's currency. There is no currency conversion: a plan without a price or credit in the account's currency cannot be bought with it.
5
+ * Membership tiers and account memberships. Catalog queries support any configured currency; purchases use the billing account currency.
21
6
  * OpenAPI spec version: 1.0.0
22
7
  */
23
8
  import * as zod from "zod";