@leaflow/sdk 0.120.0 → 0.122.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 (1270) hide show
  1. package/dist/billing/type/checkout/v1/generated/functions.d.ts +8 -0
  2. package/dist/billing/type/checkout/v1/generated/functions.js +8 -0
  3. package/dist/billing/type/checkout/v1/generated/models.d.ts +49 -0
  4. package/dist/billing/type/checkout/v1/generated/models.js +4 -0
  5. package/dist/billing/type/checkout/v1/generated/schemas.zod.d.ts +8 -0
  6. package/dist/billing/type/checkout/v1/generated/schemas.zod.js +8 -0
  7. package/dist/billing/type/checkout/v1/generated/validators/checkoutMode.zod.d.ts +14 -0
  8. package/dist/billing/type/checkout/v1/generated/validators/checkoutMode.zod.js +11 -0
  9. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.d.ts +19 -0
  10. package/dist/billing/type/checkout/v1/generated/validators/checkoutOptions.zod.js +20 -0
  11. package/dist/billing/type/checkout/v1/generated/validators/money.zod.d.ts +11 -0
  12. package/dist/billing/type/checkout/v1/generated/validators/money.zod.js +11 -0
  13. package/dist/billing/type/order/v1/generated/functions.d.ts +8 -0
  14. package/dist/billing/type/order/v1/generated/functions.js +8 -0
  15. package/dist/billing/type/order/v1/generated/models.d.ts +2921 -0
  16. package/dist/billing/type/order/v1/generated/models.js +359 -0
  17. package/dist/billing/type/order/v1/generated/schemas.zod.d.ts +8 -0
  18. package/dist/billing/type/order/v1/generated/schemas.zod.js +8 -0
  19. package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.d.ts +123 -0
  20. package/dist/billing/type/order/v1/generated/validators/accountBalance.zod.js +26 -0
  21. package/dist/billing/type/order/v1/generated/validators/accountIdentity.zod.d.ts +15 -0
  22. package/dist/billing/type/order/v1/generated/validators/accountIdentity.zod.js +13 -0
  23. package/dist/billing/type/order/v1/generated/validators/activeResource.zod.d.ts +41 -0
  24. package/dist/billing/type/order/v1/generated/validators/activeResource.zod.js +36 -0
  25. package/dist/billing/type/order/v1/generated/validators/activeResourceList.zod.d.ts +48 -0
  26. package/dist/billing/type/order/v1/generated/validators/activeResourceList.zod.js +14 -0
  27. package/dist/billing/type/order/v1/generated/validators/allowance.zod.d.ts +44 -0
  28. package/dist/billing/type/order/v1/generated/validators/allowance.zod.js +41 -0
  29. package/dist/billing/type/order/v1/generated/validators/allowanceList.zod.d.ts +51 -0
  30. package/dist/billing/type/order/v1/generated/validators/allowanceList.zod.js +14 -0
  31. package/dist/billing/type/order/v1/generated/validators/applicability.zod.d.ts +108 -0
  32. package/dist/billing/type/order/v1/generated/validators/applicability.zod.js +32 -0
  33. package/dist/billing/type/order/v1/generated/validators/applicablePlan.zod.d.ts +15 -0
  34. package/dist/billing/type/order/v1/generated/validators/applicablePlan.zod.js +15 -0
  35. package/dist/billing/type/order/v1/generated/validators/appliedCredit.zod.d.ts +15 -0
  36. package/dist/billing/type/order/v1/generated/validators/appliedCredit.zod.js +16 -0
  37. package/dist/billing/type/order/v1/generated/validators/autoRenewSet.zod.d.ts +13 -0
  38. package/dist/billing/type/order/v1/generated/validators/autoRenewSet.zod.js +11 -0
  39. package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.d.ts +25 -0
  40. package/dist/billing/type/order/v1/generated/validators/billingAccount.zod.js +31 -0
  41. package/dist/billing/type/order/v1/generated/validators/billingAccountCreate.zod.d.ts +17 -0
  42. package/dist/billing/type/order/v1/generated/validators/billingAccountCreate.zod.js +15 -0
  43. package/dist/billing/type/order/v1/generated/validators/billingAccountList.zod.d.ts +32 -0
  44. package/dist/billing/type/order/v1/generated/validators/billingAccountList.zod.js +14 -0
  45. package/dist/billing/type/order/v1/generated/validators/billingAccountUpdate.zod.d.ts +15 -0
  46. package/dist/billing/type/order/v1/generated/validators/billingAccountUpdate.zod.js +16 -0
  47. package/dist/billing/type/order/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +21 -0
  48. package/dist/billing/type/order/v1/generated/validators/cancelSubscriptionRequest.zod.js +21 -0
  49. package/dist/billing/type/order/v1/generated/validators/cancellation.zod.d.ts +64 -0
  50. package/dist/billing/type/order/v1/generated/validators/cancellation.zod.js +39 -0
  51. package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.d.ts +23 -0
  52. package/dist/billing/type/order/v1/generated/validators/cancellationCreate.zod.js +31 -0
  53. package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.d.ts +35 -0
  54. package/dist/billing/type/order/v1/generated/validators/cancellationItem.zod.js +35 -0
  55. package/dist/billing/type/order/v1/generated/validators/cancellationList.zod.d.ts +71 -0
  56. package/dist/billing/type/order/v1/generated/validators/cancellationList.zod.js +14 -0
  57. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.d.ts +46 -0
  58. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreview.zod.js +32 -0
  59. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +31 -0
  60. package/dist/billing/type/order/v1/generated/validators/cancellationRefundPreviewItem.zod.js +31 -0
  61. package/dist/billing/type/order/v1/generated/validators/contact.zod.d.ts +41 -0
  62. package/dist/billing/type/order/v1/generated/validators/contact.zod.js +39 -0
  63. package/dist/billing/type/order/v1/generated/validators/contactCreate.zod.d.ts +32 -0
  64. package/dist/billing/type/order/v1/generated/validators/contactCreate.zod.js +30 -0
  65. package/dist/billing/type/order/v1/generated/validators/contactList.zod.d.ts +38 -0
  66. package/dist/billing/type/order/v1/generated/validators/contactList.zod.js +14 -0
  67. package/dist/billing/type/order/v1/generated/validators/contactUpdate.zod.d.ts +33 -0
  68. package/dist/billing/type/order/v1/generated/validators/contactUpdate.zod.js +31 -0
  69. package/dist/billing/type/order/v1/generated/validators/creditGrant.zod.d.ts +126 -0
  70. package/dist/billing/type/order/v1/generated/validators/creditGrant.zod.js +27 -0
  71. package/dist/billing/type/order/v1/generated/validators/creditGrantList.zod.d.ts +133 -0
  72. package/dist/billing/type/order/v1/generated/validators/creditGrantList.zod.js +14 -0
  73. package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.d.ts +112 -0
  74. package/dist/billing/type/order/v1/generated/validators/creditGroup.zod.js +18 -0
  75. package/dist/billing/type/order/v1/generated/validators/creditNote.zod.d.ts +34 -0
  76. package/dist/billing/type/order/v1/generated/validators/creditNote.zod.js +40 -0
  77. package/dist/billing/type/order/v1/generated/validators/creditNoteItem.zod.d.ts +17 -0
  78. package/dist/billing/type/order/v1/generated/validators/creditNoteItem.zod.js +16 -0
  79. package/dist/billing/type/order/v1/generated/validators/creditNoteItemList.zod.d.ts +24 -0
  80. package/dist/billing/type/order/v1/generated/validators/creditNoteItemList.zod.js +14 -0
  81. package/dist/billing/type/order/v1/generated/validators/creditNoteList.zod.d.ts +41 -0
  82. package/dist/billing/type/order/v1/generated/validators/creditNoteList.zod.js +14 -0
  83. package/dist/billing/type/order/v1/generated/validators/currency.zod.d.ts +21 -0
  84. package/dist/billing/type/order/v1/generated/validators/currency.zod.js +30 -0
  85. package/dist/billing/type/order/v1/generated/validators/currencyList.zod.d.ts +23 -0
  86. package/dist/billing/type/order/v1/generated/validators/currencyList.zod.js +14 -0
  87. package/dist/billing/type/order/v1/generated/validators/cursorPagination.zod.d.ts +14 -0
  88. package/dist/billing/type/order/v1/generated/validators/cursorPagination.zod.js +14 -0
  89. package/dist/billing/type/order/v1/generated/validators/discount.zod.d.ts +142 -0
  90. package/dist/billing/type/order/v1/generated/validators/discount.zod.js +44 -0
  91. package/dist/billing/type/order/v1/generated/validators/discountList.zod.d.ts +149 -0
  92. package/dist/billing/type/order/v1/generated/validators/discountList.zod.js +14 -0
  93. package/dist/billing/type/order/v1/generated/validators/entitlement.zod.d.ts +25 -0
  94. package/dist/billing/type/order/v1/generated/validators/entitlement.zod.js +20 -0
  95. package/dist/billing/type/order/v1/generated/validators/entitlementList.zod.d.ts +32 -0
  96. package/dist/billing/type/order/v1/generated/validators/entitlementList.zod.js +14 -0
  97. package/dist/billing/type/order/v1/generated/validators/error.zod.d.ts +16 -0
  98. package/dist/billing/type/order/v1/generated/validators/error.zod.js +17 -0
  99. package/dist/billing/type/order/v1/generated/validators/featureGrant.zod.d.ts +33 -0
  100. package/dist/billing/type/order/v1/generated/validators/featureGrant.zod.js +24 -0
  101. package/dist/billing/type/order/v1/generated/validators/featureGrantList.zod.d.ts +40 -0
  102. package/dist/billing/type/order/v1/generated/validators/featureGrantList.zod.js +14 -0
  103. package/dist/billing/type/order/v1/generated/validators/featureGrantStatus.zod.d.ts +16 -0
  104. package/dist/billing/type/order/v1/generated/validators/featureGrantStatus.zod.js +11 -0
  105. package/dist/billing/type/order/v1/generated/validators/invoice.zod.d.ts +63 -0
  106. package/dist/billing/type/order/v1/generated/validators/invoice.zod.js +53 -0
  107. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.d.ts +41 -0
  108. package/dist/billing/type/order/v1/generated/validators/invoiceItem.zod.js +46 -0
  109. package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.d.ts +48 -0
  110. package/dist/billing/type/order/v1/generated/validators/invoiceItemList.zod.js +14 -0
  111. package/dist/billing/type/order/v1/generated/validators/invoiceList.zod.d.ts +70 -0
  112. package/dist/billing/type/order/v1/generated/validators/invoiceList.zod.js +14 -0
  113. package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.d.ts +17 -0
  114. package/dist/billing/type/order/v1/generated/validators/invoiceStatus.zod.js +11 -0
  115. package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.d.ts +33 -0
  116. package/dist/billing/type/order/v1/generated/validators/invoiceSummary.zod.js +34 -0
  117. package/dist/billing/type/order/v1/generated/validators/money.zod.d.ts +11 -0
  118. package/dist/billing/type/order/v1/generated/validators/money.zod.js +11 -0
  119. package/dist/billing/type/order/v1/generated/validators/namedIdentity.zod.d.ts +15 -0
  120. package/dist/billing/type/order/v1/generated/validators/namedIdentity.zod.js +15 -0
  121. package/dist/billing/type/order/v1/generated/validators/objectIdentity.zod.d.ts +15 -0
  122. package/dist/billing/type/order/v1/generated/validators/objectIdentity.zod.js +15 -0
  123. package/dist/billing/type/order/v1/generated/validators/offsetPagination.zod.d.ts +16 -0
  124. package/dist/billing/type/order/v1/generated/validators/offsetPagination.zod.js +16 -0
  125. package/dist/billing/type/order/v1/generated/validators/order.zod.d.ts +143 -0
  126. package/dist/billing/type/order/v1/generated/validators/order.zod.js +65 -0
  127. package/dist/billing/type/order/v1/generated/validators/orderCancel.zod.d.ts +14 -0
  128. package/dist/billing/type/order/v1/generated/validators/orderCancel.zod.js +17 -0
  129. package/dist/billing/type/order/v1/generated/validators/orderItem.zod.d.ts +69 -0
  130. package/dist/billing/type/order/v1/generated/validators/orderItem.zod.js +73 -0
  131. package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.d.ts +75 -0
  132. package/dist/billing/type/order/v1/generated/validators/orderItemList.zod.js +14 -0
  133. package/dist/billing/type/order/v1/generated/validators/orderItemStatus.zod.d.ts +16 -0
  134. package/dist/billing/type/order/v1/generated/validators/orderItemStatus.zod.js +11 -0
  135. package/dist/billing/type/order/v1/generated/validators/orderList.zod.d.ts +150 -0
  136. package/dist/billing/type/order/v1/generated/validators/orderList.zod.js +14 -0
  137. package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.d.ts +17 -0
  138. package/dist/billing/type/order/v1/generated/validators/orderRefundQuote.zod.js +18 -0
  139. package/dist/billing/type/order/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +15 -0
  140. package/dist/billing/type/order/v1/generated/validators/orderRefundQuoteInput.zod.js +20 -0
  141. package/dist/billing/type/order/v1/generated/validators/orderStatus.zod.d.ts +18 -0
  142. package/dist/billing/type/order/v1/generated/validators/orderStatus.zod.js +11 -0
  143. package/dist/billing/type/order/v1/generated/validators/paidWith.zod.d.ts +17 -0
  144. package/dist/billing/type/order/v1/generated/validators/paidWith.zod.js +25 -0
  145. package/dist/billing/type/order/v1/generated/validators/payInvoiceRequest.zod.d.ts +26 -0
  146. package/dist/billing/type/order/v1/generated/validators/payInvoiceRequest.zod.js +53 -0
  147. package/dist/billing/type/order/v1/generated/validators/payTogetherRequest.zod.d.ts +18 -0
  148. package/dist/billing/type/order/v1/generated/validators/payTogetherRequest.zod.js +21 -0
  149. package/dist/billing/type/order/v1/generated/validators/paymentAction.zod.d.ts +22 -0
  150. package/dist/billing/type/order/v1/generated/validators/paymentAction.zod.js +24 -0
  151. package/dist/billing/type/order/v1/generated/validators/paymentCancellationReason.zod.d.ts +14 -0
  152. package/dist/billing/type/order/v1/generated/validators/paymentCancellationReason.zod.js +11 -0
  153. package/dist/billing/type/order/v1/generated/validators/paymentMethod.zod.d.ts +25 -0
  154. package/dist/billing/type/order/v1/generated/validators/paymentMethod.zod.js +19 -0
  155. package/dist/billing/type/order/v1/generated/validators/paymentMethodList.zod.d.ts +32 -0
  156. package/dist/billing/type/order/v1/generated/validators/paymentMethodList.zod.js +14 -0
  157. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetup.zod.d.ts +15 -0
  158. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetup.zod.js +17 -0
  159. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +26 -0
  160. package/dist/billing/type/order/v1/generated/validators/paymentMethodSetupResult.zod.js +18 -0
  161. package/dist/billing/type/order/v1/generated/validators/paymentOption.zod.d.ts +17 -0
  162. package/dist/billing/type/order/v1/generated/validators/paymentOption.zod.js +15 -0
  163. package/dist/billing/type/order/v1/generated/validators/paymentOptionList.zod.d.ts +24 -0
  164. package/dist/billing/type/order/v1/generated/validators/paymentOptionList.zod.js +14 -0
  165. package/dist/billing/type/order/v1/generated/validators/paymentOptionMethod.zod.d.ts +14 -0
  166. package/dist/billing/type/order/v1/generated/validators/paymentOptionMethod.zod.js +16 -0
  167. package/dist/billing/type/order/v1/generated/validators/paymentPreview.zod.d.ts +30 -0
  168. package/dist/billing/type/order/v1/generated/validators/paymentPreview.zod.js +28 -0
  169. package/dist/billing/type/order/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +17 -0
  170. package/dist/billing/type/order/v1/generated/validators/paymentPreviewInvoice.zod.js +16 -0
  171. package/dist/billing/type/order/v1/generated/validators/paymentResult.zod.d.ts +86 -0
  172. package/dist/billing/type/order/v1/generated/validators/paymentResult.zod.js +39 -0
  173. package/dist/billing/type/order/v1/generated/validators/paymentStatus.zod.d.ts +16 -0
  174. package/dist/billing/type/order/v1/generated/validators/paymentStatus.zod.js +11 -0
  175. package/dist/billing/type/order/v1/generated/validators/placedOrder.zod.d.ts +36 -0
  176. package/dist/billing/type/order/v1/generated/validators/placedOrder.zod.js +16 -0
  177. package/dist/billing/type/order/v1/generated/validators/plan.zod.d.ts +31 -0
  178. package/dist/billing/type/order/v1/generated/validators/plan.zod.js +23 -0
  179. package/dist/billing/type/order/v1/generated/validators/planFeature.zod.d.ts +18 -0
  180. package/dist/billing/type/order/v1/generated/validators/planFeature.zod.js +13 -0
  181. package/dist/billing/type/order/v1/generated/validators/planList.zod.d.ts +38 -0
  182. package/dist/billing/type/order/v1/generated/validators/planList.zod.js +14 -0
  183. package/dist/billing/type/order/v1/generated/validators/price.zod.d.ts +81 -0
  184. package/dist/billing/type/order/v1/generated/validators/price.zod.js +67 -0
  185. package/dist/billing/type/order/v1/generated/validators/priceList.zod.d.ts +88 -0
  186. package/dist/billing/type/order/v1/generated/validators/priceList.zod.js +14 -0
  187. package/dist/billing/type/order/v1/generated/validators/priceOption.zod.d.ts +44 -0
  188. package/dist/billing/type/order/v1/generated/validators/priceOption.zod.js +28 -0
  189. package/dist/billing/type/order/v1/generated/validators/product.zod.d.ts +15 -0
  190. package/dist/billing/type/order/v1/generated/validators/product.zod.js +14 -0
  191. package/dist/billing/type/order/v1/generated/validators/productID.zod.d.ts +13 -0
  192. package/dist/billing/type/order/v1/generated/validators/productID.zod.js +16 -0
  193. package/dist/billing/type/order/v1/generated/validators/productList.zod.d.ts +22 -0
  194. package/dist/billing/type/order/v1/generated/validators/productList.zod.js +14 -0
  195. package/dist/billing/type/order/v1/generated/validators/projectAssignment.zod.d.ts +22 -0
  196. package/dist/billing/type/order/v1/generated/validators/projectAssignment.zod.js +23 -0
  197. package/dist/billing/type/order/v1/generated/validators/projectAssignmentList.zod.d.ts +29 -0
  198. package/dist/billing/type/order/v1/generated/validators/projectAssignmentList.zod.js +14 -0
  199. package/dist/billing/type/order/v1/generated/validators/purchaseOperation.zod.d.ts +15 -0
  200. package/dist/billing/type/order/v1/generated/validators/purchaseOperation.zod.js +11 -0
  201. package/dist/billing/type/order/v1/generated/validators/quote.zod.d.ts +99 -0
  202. package/dist/billing/type/order/v1/generated/validators/quote.zod.js +30 -0
  203. package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.d.ts +18 -0
  204. package/dist/billing/type/order/v1/generated/validators/quoteCancellation.zod.js +20 -0
  205. package/dist/billing/type/order/v1/generated/validators/quoteItem.zod.d.ts +25 -0
  206. package/dist/billing/type/order/v1/generated/validators/quoteItem.zod.js +38 -0
  207. package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.d.ts +42 -0
  208. package/dist/billing/type/order/v1/generated/validators/quoteItemInput.zod.js +41 -0
  209. package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.d.ts +27 -0
  210. package/dist/billing/type/order/v1/generated/validators/quoteRenewal.zod.js +26 -0
  211. package/dist/billing/type/order/v1/generated/validators/quoteRenewalResult.zod.d.ts +27 -0
  212. package/dist/billing/type/order/v1/generated/validators/quoteRenewalResult.zod.js +24 -0
  213. package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.d.ts +72 -0
  214. package/dist/billing/type/order/v1/generated/validators/quoteRequest.zod.js +42 -0
  215. package/dist/billing/type/order/v1/generated/validators/quotedDiscount.zod.d.ts +19 -0
  216. package/dist/billing/type/order/v1/generated/validators/quotedDiscount.zod.js +21 -0
  217. package/dist/billing/type/order/v1/generated/validators/rate.zod.d.ts +38 -0
  218. package/dist/billing/type/order/v1/generated/validators/rate.zod.js +33 -0
  219. package/dist/billing/type/order/v1/generated/validators/rateList.zod.d.ts +45 -0
  220. package/dist/billing/type/order/v1/generated/validators/rateList.zod.js +14 -0
  221. package/dist/billing/type/order/v1/generated/validators/refund.zod.d.ts +92 -0
  222. package/dist/billing/type/order/v1/generated/validators/refund.zod.js +44 -0
  223. package/dist/billing/type/order/v1/generated/validators/refundList.zod.d.ts +99 -0
  224. package/dist/billing/type/order/v1/generated/validators/refundList.zod.js +14 -0
  225. package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.d.ts +14 -0
  226. package/dist/billing/type/order/v1/generated/validators/refundPolicy.zod.js +11 -0
  227. package/dist/billing/type/order/v1/generated/validators/refundReason.zod.d.ts +23 -0
  228. package/dist/billing/type/order/v1/generated/validators/refundReason.zod.js +23 -0
  229. package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.d.ts +31 -0
  230. package/dist/billing/type/order/v1/generated/validators/renewRequest.zod.js +42 -0
  231. package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.d.ts +21 -0
  232. package/dist/billing/type/order/v1/generated/validators/renewalOrderRequest.zod.js +23 -0
  233. package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.d.ts +30 -0
  234. package/dist/billing/type/order/v1/generated/validators/renewalPrice.zod.js +23 -0
  235. package/dist/billing/type/order/v1/generated/validators/renewalPriceList.zod.d.ts +37 -0
  236. package/dist/billing/type/order/v1/generated/validators/renewalPriceList.zod.js +14 -0
  237. package/dist/billing/type/order/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +13 -0
  238. package/dist/billing/type/order/v1/generated/validators/setProjectAssignmentRequest.zod.js +11 -0
  239. package/dist/billing/type/order/v1/generated/validators/spendRow.zod.d.ts +22 -0
  240. package/dist/billing/type/order/v1/generated/validators/spendRow.zod.js +18 -0
  241. package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.d.ts +31 -0
  242. package/dist/billing/type/order/v1/generated/validators/spendRowList.zod.js +17 -0
  243. package/dist/billing/type/order/v1/generated/validators/statement.zod.d.ts +34 -0
  244. package/dist/billing/type/order/v1/generated/validators/statement.zod.js +36 -0
  245. package/dist/billing/type/order/v1/generated/validators/statementAmounts.zod.d.ts +16 -0
  246. package/dist/billing/type/order/v1/generated/validators/statementAmounts.zod.js +15 -0
  247. package/dist/billing/type/order/v1/generated/validators/statementItem.zod.d.ts +19 -0
  248. package/dist/billing/type/order/v1/generated/validators/statementItem.zod.js +21 -0
  249. package/dist/billing/type/order/v1/generated/validators/statementList.zod.d.ts +41 -0
  250. package/dist/billing/type/order/v1/generated/validators/statementList.zod.js +14 -0
  251. package/dist/billing/type/order/v1/generated/validators/statementStatus.zod.d.ts +14 -0
  252. package/dist/billing/type/order/v1/generated/validators/statementStatus.zod.js +9 -0
  253. package/dist/billing/type/order/v1/generated/validators/statementSummary.zod.d.ts +35 -0
  254. package/dist/billing/type/order/v1/generated/validators/statementSummary.zod.js +19 -0
  255. package/dist/billing/type/order/v1/generated/validators/subscription.zod.d.ts +111 -0
  256. package/dist/billing/type/order/v1/generated/validators/subscription.zod.js +92 -0
  257. package/dist/billing/type/order/v1/generated/validators/subscriptionCancellation.zod.d.ts +37 -0
  258. package/dist/billing/type/order/v1/generated/validators/subscriptionCancellation.zod.js +30 -0
  259. package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.d.ts +117 -0
  260. package/dist/billing/type/order/v1/generated/validators/subscriptionList.zod.js +14 -0
  261. package/dist/billing/type/order/v1/generated/validators/taxItem.zod.d.ts +21 -0
  262. package/dist/billing/type/order/v1/generated/validators/taxItem.zod.js +21 -0
  263. package/dist/billing/type/order/v1/generated/validators/terminationPolicy.zod.d.ts +14 -0
  264. package/dist/billing/type/order/v1/generated/validators/terminationPolicy.zod.js +11 -0
  265. package/dist/billing/type/order/v1/generated/validators/tier.zod.d.ts +15 -0
  266. package/dist/billing/type/order/v1/generated/validators/tier.zod.js +17 -0
  267. package/dist/billing/type/order/v1/generated/validators/topUp.zod.d.ts +51 -0
  268. package/dist/billing/type/order/v1/generated/validators/topUp.zod.js +46 -0
  269. package/dist/billing/type/order/v1/generated/validators/topUpCreate.zod.d.ts +22 -0
  270. package/dist/billing/type/order/v1/generated/validators/topUpCreate.zod.js +34 -0
  271. package/dist/billing/type/order/v1/generated/validators/topUpList.zod.d.ts +58 -0
  272. package/dist/billing/type/order/v1/generated/validators/topUpList.zod.js +14 -0
  273. package/dist/billing/type/order/v1/generated/validators/transaction.zod.d.ts +53 -0
  274. package/dist/billing/type/order/v1/generated/validators/transaction.zod.js +48 -0
  275. package/dist/billing/type/order/v1/generated/validators/transactionList.zod.d.ts +60 -0
  276. package/dist/billing/type/order/v1/generated/validators/transactionList.zod.js +14 -0
  277. package/dist/billing/type/order/v1/generated/validators/transactionType.zod.d.ts +16 -0
  278. package/dist/billing/type/order/v1/generated/validators/transactionType.zod.js +11 -0
  279. package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.d.ts +43 -0
  280. package/dist/billing/type/order/v1/generated/validators/usageCharge.zod.js +57 -0
  281. package/dist/billing/type/order/v1/generated/validators/usageChargeList.zod.d.ts +50 -0
  282. package/dist/billing/type/order/v1/generated/validators/usageChargeList.zod.js +14 -0
  283. package/dist/billing/type/quote/v1/generated/functions.d.ts +8 -0
  284. package/dist/billing/type/quote/v1/generated/functions.js +8 -0
  285. package/dist/billing/type/quote/v1/generated/models.d.ts +98 -0
  286. package/dist/billing/type/quote/v1/generated/models.js +1 -0
  287. package/dist/billing/type/quote/v1/generated/schemas.zod.d.ts +8 -0
  288. package/dist/billing/type/quote/v1/generated/schemas.zod.js +8 -0
  289. package/dist/billing/type/quote/v1/generated/validators/money.zod.d.ts +11 -0
  290. package/dist/billing/type/quote/v1/generated/validators/money.zod.js +11 -0
  291. package/dist/billing/type/quote/v1/generated/validators/quote.zod.d.ts +32 -0
  292. package/dist/billing/type/quote/v1/generated/validators/quote.zod.js +32 -0
  293. package/dist/billing/type/quote/v1/generated/validators/quoteItem.zod.d.ts +22 -0
  294. package/dist/billing/type/quote/v1/generated/validators/quoteItem.zod.js +27 -0
  295. package/dist/billing/v1/generated/functions.d.ts +70 -80
  296. package/dist/billing/v1/generated/functions.js +73 -87
  297. package/dist/billing/v1/generated/models.d.ts +353 -165
  298. package/dist/billing/v1/generated/models.js +50 -17
  299. package/dist/billing/v1/generated/schemas.zod.d.ts +76 -67
  300. package/dist/billing/v1/generated/schemas.zod.js +98 -75
  301. package/dist/billing/v1/generated/validators/accountBalance.zod.d.ts +1 -1
  302. package/dist/billing/v1/generated/validators/allowance.zod.d.ts +3 -2
  303. package/dist/billing/v1/generated/validators/allowance.zod.js +6 -3
  304. package/dist/billing/v1/generated/validators/allowanceList.zod.d.ts +3 -2
  305. package/dist/billing/v1/generated/validators/applicability.zod.d.ts +1 -1
  306. package/dist/billing/v1/generated/validators/applicability.zod.js +1 -1
  307. package/dist/billing/v1/generated/validators/cancellation.zod.d.ts +1 -1
  308. package/dist/billing/v1/generated/validators/cancellationItem.zod.d.ts +1 -1
  309. package/dist/billing/v1/generated/validators/cancellationItem.zod.js +3 -3
  310. package/dist/billing/v1/generated/validators/cancellationList.zod.d.ts +1 -1
  311. package/dist/billing/v1/generated/validators/cancellationRefundPreview.zod.d.ts +1 -1
  312. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +1 -1
  313. package/dist/billing/v1/generated/validators/cancellationRefundPreviewItem.zod.js +2 -2
  314. package/dist/billing/v1/generated/validators/contact.zod.d.ts +5 -1
  315. package/dist/billing/v1/generated/validators/contact.zod.js +3 -1
  316. package/dist/billing/v1/generated/validators/contactList.zod.d.ts +5 -1
  317. package/dist/billing/v1/generated/validators/creditGrant.zod.d.ts +1 -1
  318. package/dist/billing/v1/generated/validators/creditGrantList.zod.d.ts +1 -1
  319. package/dist/billing/v1/generated/validators/creditGroup.zod.d.ts +1 -1
  320. package/dist/billing/v1/generated/validators/creditNote.zod.d.ts +12 -2
  321. package/dist/billing/v1/generated/validators/creditNote.zod.js +15 -3
  322. package/dist/billing/v1/generated/validators/creditNoteItem.zod.d.ts +2 -2
  323. package/dist/billing/v1/generated/validators/creditNoteItem.zod.js +2 -2
  324. package/dist/billing/v1/generated/validators/creditNoteItemList.zod.d.ts +2 -2
  325. package/dist/billing/v1/generated/validators/creditNoteList.zod.d.ts +12 -2
  326. package/dist/billing/v1/generated/validators/discount.zod.d.ts +13 -7
  327. package/dist/billing/v1/generated/validators/discount.zod.js +15 -7
  328. package/dist/billing/v1/generated/validators/discountList.zod.d.ts +13 -7
  329. package/dist/billing/v1/generated/validators/featureGrant.zod.d.ts +33 -0
  330. package/dist/billing/v1/generated/validators/featureGrant.zod.js +24 -0
  331. package/dist/billing/v1/generated/validators/featureGrantList.zod.d.ts +40 -0
  332. package/dist/billing/v1/generated/validators/featureGrantList.zod.js +14 -0
  333. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.d.ts +16 -0
  334. package/dist/billing/v1/generated/validators/featureGrantStatus.zod.js +11 -0
  335. package/dist/billing/v1/generated/validators/invoice.zod.d.ts +7 -3
  336. package/dist/billing/v1/generated/validators/invoice.zod.js +7 -3
  337. package/dist/billing/v1/generated/validators/invoiceItem.zod.d.ts +2 -0
  338. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +2 -0
  339. package/dist/billing/v1/generated/validators/invoiceItemList.zod.d.ts +2 -0
  340. package/dist/billing/v1/generated/validators/invoiceList.zod.d.ts +7 -3
  341. package/dist/billing/v1/generated/validators/invoiceStatus.zod.d.ts +0 -1
  342. package/dist/billing/v1/generated/validators/invoiceStatus.zod.js +2 -2
  343. package/dist/billing/v1/generated/validators/invoiceSummary.zod.d.ts +2 -3
  344. package/dist/billing/v1/generated/validators/invoiceSummary.zod.js +3 -3
  345. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +26 -0
  346. package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +29 -0
  347. package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +0 -1
  348. package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +0 -1
  349. package/dist/billing/v1/generated/validators/order.zod.d.ts +9 -10
  350. package/dist/billing/v1/generated/validators/order.zod.js +12 -7
  351. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +1 -1
  352. package/dist/billing/v1/generated/validators/orderItem.zod.js +2 -2
  353. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +1 -1
  354. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +9 -10
  355. package/dist/billing/v1/generated/validators/orderStatus.zod.d.ts +0 -1
  356. package/dist/billing/v1/generated/validators/orderStatus.zod.js +2 -10
  357. package/dist/billing/v1/generated/validators/paidWith.zod.js +1 -1
  358. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.d.ts +4 -0
  359. package/dist/billing/v1/generated/validators/payInvoiceRequest.zod.js +12 -0
  360. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.d.ts +2 -0
  361. package/dist/billing/v1/generated/validators/payTogetherRequest.zod.js +5 -0
  362. package/dist/billing/v1/generated/validators/paymentResult.zod.d.ts +0 -1
  363. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.d.ts +2 -0
  364. package/dist/billing/v1/generated/validators/previewInvoicePaymentParams.zod.js +2 -0
  365. package/dist/billing/v1/generated/validators/purchaseOperation.zod.d.ts +1 -1
  366. package/dist/billing/v1/generated/validators/purchaseOperation.zod.js +2 -2
  367. package/dist/billing/v1/generated/validators/quote.zod.d.ts +1 -1
  368. package/dist/billing/v1/generated/validators/quoteItemInput.zod.js +1 -1
  369. package/dist/billing/v1/generated/validators/quoteRequest.zod.js +1 -1
  370. package/dist/billing/v1/generated/validators/rate.zod.d.ts +5 -1
  371. package/dist/billing/v1/generated/validators/rate.zod.js +7 -5
  372. package/dist/billing/v1/generated/validators/rateList.zod.d.ts +5 -1
  373. package/dist/billing/v1/generated/validators/refund.zod.d.ts +2 -3
  374. package/dist/billing/v1/generated/validators/refund.zod.js +1 -1
  375. package/dist/billing/v1/generated/validators/refundList.zod.d.ts +2 -3
  376. package/dist/billing/v1/generated/validators/refundReason.zod.d.ts +1 -1
  377. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +6 -10
  378. package/dist/billing/v1/generated/validators/subscription.zod.js +21 -9
  379. package/dist/billing/v1/generated/validators/{cancellationRequest.zod.d.ts → subscriptionCancellation.zod.d.ts} +3 -3
  380. package/dist/billing/v1/generated/validators/{cancellationRequest.zod.js → subscriptionCancellation.zod.js} +2 -2
  381. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +6 -10
  382. package/dist/billing/v1/generated/validators/topUp.zod.js +1 -1
  383. package/dist/billing/v1/generated/validators/transaction.zod.d.ts +0 -1
  384. package/dist/billing/v1/generated/validators/transaction.zod.js +1 -1
  385. package/dist/billing/v1/generated/validators/transactionList.zod.d.ts +0 -1
  386. package/dist/billing/v1/generated/validators/transactionType.zod.d.ts +0 -1
  387. package/dist/billing/v1/generated/validators/transactionType.zod.js +2 -2
  388. package/dist/canopy/v1/generated/models.d.ts +2873 -17
  389. package/dist/canopy/v1/generated/models.js +359 -0
  390. package/dist/canopy/v1/generated/validators/accountBalance.zod.d.ts +146 -0
  391. package/dist/canopy/v1/generated/validators/accountBalance.zod.js +49 -0
  392. package/dist/canopy/v1/generated/validators/accountIdentity.zod.d.ts +38 -0
  393. package/dist/canopy/v1/generated/validators/accountIdentity.zod.js +36 -0
  394. package/dist/canopy/v1/generated/validators/activeResource.zod.d.ts +64 -0
  395. package/dist/canopy/v1/generated/validators/activeResource.zod.js +59 -0
  396. package/dist/canopy/v1/generated/validators/activeResourceList.zod.d.ts +71 -0
  397. package/dist/canopy/v1/generated/validators/activeResourceList.zod.js +37 -0
  398. package/dist/canopy/v1/generated/validators/allowance.zod.d.ts +67 -0
  399. package/dist/canopy/v1/generated/validators/allowance.zod.js +64 -0
  400. package/dist/canopy/v1/generated/validators/allowanceList.zod.d.ts +74 -0
  401. package/dist/canopy/v1/generated/validators/allowanceList.zod.js +37 -0
  402. package/dist/canopy/v1/generated/validators/applicability.zod.d.ts +131 -0
  403. package/dist/canopy/v1/generated/validators/applicability.zod.js +55 -0
  404. package/dist/canopy/v1/generated/validators/applicablePlan.zod.d.ts +38 -0
  405. package/dist/canopy/v1/generated/validators/applicablePlan.zod.js +38 -0
  406. package/dist/canopy/v1/generated/validators/appliedCredit.zod.d.ts +38 -0
  407. package/dist/canopy/v1/generated/validators/appliedCredit.zod.js +39 -0
  408. package/dist/canopy/v1/generated/validators/autoRenewSet.zod.d.ts +36 -0
  409. package/dist/canopy/v1/generated/validators/autoRenewSet.zod.js +34 -0
  410. package/dist/canopy/v1/generated/validators/billingAccount.zod.d.ts +48 -0
  411. package/dist/canopy/v1/generated/validators/billingAccount.zod.js +54 -0
  412. package/dist/canopy/v1/generated/validators/billingAccountCreate.zod.d.ts +40 -0
  413. package/dist/canopy/v1/generated/validators/billingAccountCreate.zod.js +38 -0
  414. package/dist/canopy/v1/generated/validators/billingAccountList.zod.d.ts +55 -0
  415. package/dist/canopy/v1/generated/validators/billingAccountList.zod.js +37 -0
  416. package/dist/canopy/v1/generated/validators/billingAccountUpdate.zod.d.ts +38 -0
  417. package/dist/canopy/v1/generated/validators/billingAccountUpdate.zod.js +39 -0
  418. package/dist/canopy/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +44 -0
  419. package/dist/canopy/v1/generated/validators/cancelSubscriptionRequest.zod.js +44 -0
  420. package/dist/canopy/v1/generated/validators/cancellation.zod.d.ts +87 -0
  421. package/dist/canopy/v1/generated/validators/cancellation.zod.js +62 -0
  422. package/dist/canopy/v1/generated/validators/cancellationCreate.zod.d.ts +46 -0
  423. package/dist/canopy/v1/generated/validators/cancellationCreate.zod.js +54 -0
  424. package/dist/canopy/v1/generated/validators/cancellationItem.zod.d.ts +58 -0
  425. package/dist/canopy/v1/generated/validators/cancellationItem.zod.js +58 -0
  426. package/dist/canopy/v1/generated/validators/cancellationList.zod.d.ts +94 -0
  427. package/dist/canopy/v1/generated/validators/cancellationList.zod.js +37 -0
  428. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.d.ts +69 -0
  429. package/dist/canopy/v1/generated/validators/cancellationRefundPreview.zod.js +55 -0
  430. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +54 -0
  431. package/dist/canopy/v1/generated/validators/cancellationRefundPreviewItem.zod.js +54 -0
  432. package/dist/canopy/v1/generated/validators/checkoutMode.zod.js +1 -1
  433. package/dist/canopy/v1/generated/validators/checkoutOptions.zod.js +2 -2
  434. package/dist/canopy/v1/generated/validators/contact.zod.d.ts +64 -0
  435. package/dist/canopy/v1/generated/validators/contact.zod.js +62 -0
  436. package/dist/canopy/v1/generated/validators/contactCreate.zod.d.ts +55 -0
  437. package/dist/canopy/v1/generated/validators/contactCreate.zod.js +53 -0
  438. package/dist/canopy/v1/generated/validators/contactList.zod.d.ts +61 -0
  439. package/dist/canopy/v1/generated/validators/contactList.zod.js +37 -0
  440. package/dist/canopy/v1/generated/validators/contactUpdate.zod.d.ts +56 -0
  441. package/dist/canopy/v1/generated/validators/contactUpdate.zod.js +54 -0
  442. package/dist/canopy/v1/generated/validators/createServiceResponseBody.zod.d.ts +23 -1
  443. package/dist/canopy/v1/generated/validators/creditGrant.zod.d.ts +149 -0
  444. package/dist/canopy/v1/generated/validators/creditGrant.zod.js +50 -0
  445. package/dist/canopy/v1/generated/validators/creditGrantList.zod.d.ts +156 -0
  446. package/dist/canopy/v1/generated/validators/creditGrantList.zod.js +37 -0
  447. package/dist/canopy/v1/generated/validators/creditGroup.zod.d.ts +135 -0
  448. package/dist/canopy/v1/generated/validators/creditGroup.zod.js +41 -0
  449. package/dist/canopy/v1/generated/validators/creditNote.zod.d.ts +57 -0
  450. package/dist/canopy/v1/generated/validators/creditNote.zod.js +63 -0
  451. package/dist/canopy/v1/generated/validators/creditNoteItem.zod.d.ts +40 -0
  452. package/dist/canopy/v1/generated/validators/creditNoteItem.zod.js +39 -0
  453. package/dist/canopy/v1/generated/validators/creditNoteItemList.zod.d.ts +47 -0
  454. package/dist/canopy/v1/generated/validators/creditNoteItemList.zod.js +37 -0
  455. package/dist/canopy/v1/generated/validators/creditNoteList.zod.d.ts +64 -0
  456. package/dist/canopy/v1/generated/validators/creditNoteList.zod.js +37 -0
  457. package/dist/canopy/v1/generated/validators/currency.zod.d.ts +44 -0
  458. package/dist/canopy/v1/generated/validators/currency.zod.js +53 -0
  459. package/dist/canopy/v1/generated/validators/currencyList.zod.d.ts +46 -0
  460. package/dist/canopy/v1/generated/validators/currencyList.zod.js +37 -0
  461. package/dist/canopy/v1/generated/validators/discount.zod.d.ts +165 -0
  462. package/dist/canopy/v1/generated/validators/discount.zod.js +67 -0
  463. package/dist/canopy/v1/generated/validators/discountList.zod.d.ts +172 -0
  464. package/dist/canopy/v1/generated/validators/discountList.zod.js +37 -0
  465. package/dist/canopy/v1/generated/validators/entitlement.zod.d.ts +48 -0
  466. package/dist/canopy/v1/generated/validators/entitlement.zod.js +43 -0
  467. package/dist/canopy/v1/generated/validators/entitlementList.zod.d.ts +55 -0
  468. package/dist/canopy/v1/generated/validators/entitlementList.zod.js +37 -0
  469. package/dist/canopy/v1/generated/validators/errorA200529.zod.d.ts +39 -0
  470. package/dist/canopy/v1/generated/validators/errorA200529.zod.js +33 -0
  471. package/dist/canopy/v1/generated/validators/featureGrant.zod.d.ts +56 -0
  472. package/dist/canopy/v1/generated/validators/featureGrant.zod.js +47 -0
  473. package/dist/canopy/v1/generated/validators/featureGrantList.zod.d.ts +63 -0
  474. package/dist/canopy/v1/generated/validators/featureGrantList.zod.js +37 -0
  475. package/dist/canopy/v1/generated/validators/featureGrantStatus.zod.d.ts +39 -0
  476. package/dist/canopy/v1/generated/validators/featureGrantStatus.zod.js +34 -0
  477. package/dist/canopy/v1/generated/validators/invoice.zod.d.ts +86 -0
  478. package/dist/canopy/v1/generated/validators/invoice.zod.js +76 -0
  479. package/dist/canopy/v1/generated/validators/invoiceItem.zod.d.ts +64 -0
  480. package/dist/canopy/v1/generated/validators/invoiceItem.zod.js +69 -0
  481. package/dist/canopy/v1/generated/validators/invoiceItemList.zod.d.ts +71 -0
  482. package/dist/canopy/v1/generated/validators/invoiceItemList.zod.js +37 -0
  483. package/dist/canopy/v1/generated/validators/invoiceList.zod.d.ts +93 -0
  484. package/dist/canopy/v1/generated/validators/invoiceList.zod.js +37 -0
  485. package/dist/canopy/v1/generated/validators/invoiceStatus.zod.d.ts +40 -0
  486. package/dist/canopy/v1/generated/validators/invoiceStatus.zod.js +34 -0
  487. package/dist/canopy/v1/generated/validators/invoiceSummary.zod.d.ts +56 -0
  488. package/dist/canopy/v1/generated/validators/invoiceSummary.zod.js +57 -0
  489. package/dist/canopy/v1/generated/validators/namedIdentity.zod.d.ts +38 -0
  490. package/dist/canopy/v1/generated/validators/namedIdentity.zod.js +38 -0
  491. package/dist/canopy/v1/generated/validators/objectIdentity.zod.d.ts +38 -0
  492. package/dist/canopy/v1/generated/validators/objectIdentity.zod.js +38 -0
  493. package/dist/canopy/v1/generated/validators/order.zod.d.ts +166 -0
  494. package/dist/canopy/v1/generated/validators/order.zod.js +88 -0
  495. package/dist/canopy/v1/generated/validators/orderCancel.zod.d.ts +37 -0
  496. package/dist/canopy/v1/generated/validators/orderCancel.zod.js +40 -0
  497. package/dist/canopy/v1/generated/validators/orderItem.zod.d.ts +92 -0
  498. package/dist/canopy/v1/generated/validators/orderItem.zod.js +96 -0
  499. package/dist/canopy/v1/generated/validators/orderItemList.zod.d.ts +98 -0
  500. package/dist/canopy/v1/generated/validators/orderItemList.zod.js +37 -0
  501. package/dist/canopy/v1/generated/validators/orderItemStatus.zod.d.ts +39 -0
  502. package/dist/canopy/v1/generated/validators/orderItemStatus.zod.js +34 -0
  503. package/dist/canopy/v1/generated/validators/orderList.zod.d.ts +173 -0
  504. package/dist/canopy/v1/generated/validators/orderList.zod.js +37 -0
  505. package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.d.ts +40 -0
  506. package/dist/canopy/v1/generated/validators/orderRefundQuote.zod.js +41 -0
  507. package/dist/canopy/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +38 -0
  508. package/dist/canopy/v1/generated/validators/orderRefundQuoteInput.zod.js +43 -0
  509. package/dist/canopy/v1/generated/validators/orderStatus.zod.d.ts +41 -0
  510. package/dist/canopy/v1/generated/validators/orderStatus.zod.js +34 -0
  511. package/dist/canopy/v1/generated/validators/paidWith.zod.d.ts +40 -0
  512. package/dist/canopy/v1/generated/validators/paidWith.zod.js +48 -0
  513. package/dist/canopy/v1/generated/validators/payInvoiceRequest.zod.d.ts +49 -0
  514. package/dist/canopy/v1/generated/validators/payInvoiceRequest.zod.js +76 -0
  515. package/dist/canopy/v1/generated/validators/payTogetherRequest.zod.d.ts +41 -0
  516. package/dist/canopy/v1/generated/validators/payTogetherRequest.zod.js +44 -0
  517. package/dist/canopy/v1/generated/validators/paymentAction.zod.d.ts +45 -0
  518. package/dist/canopy/v1/generated/validators/paymentAction.zod.js +47 -0
  519. package/dist/canopy/v1/generated/validators/paymentCancellationReason.zod.d.ts +37 -0
  520. package/dist/canopy/v1/generated/validators/paymentCancellationReason.zod.js +34 -0
  521. package/dist/canopy/v1/generated/validators/paymentMethod.zod.d.ts +48 -0
  522. package/dist/canopy/v1/generated/validators/paymentMethod.zod.js +42 -0
  523. package/dist/canopy/v1/generated/validators/paymentMethodList.zod.d.ts +55 -0
  524. package/dist/canopy/v1/generated/validators/paymentMethodList.zod.js +37 -0
  525. package/dist/canopy/v1/generated/validators/paymentMethodSetup.zod.d.ts +38 -0
  526. package/dist/canopy/v1/generated/validators/paymentMethodSetup.zod.js +40 -0
  527. package/dist/canopy/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +49 -0
  528. package/dist/canopy/v1/generated/validators/paymentMethodSetupResult.zod.js +41 -0
  529. package/dist/canopy/v1/generated/validators/paymentOption.zod.d.ts +40 -0
  530. package/dist/canopy/v1/generated/validators/paymentOption.zod.js +38 -0
  531. package/dist/canopy/v1/generated/validators/paymentOptionList.zod.d.ts +47 -0
  532. package/dist/canopy/v1/generated/validators/paymentOptionList.zod.js +37 -0
  533. package/dist/canopy/v1/generated/validators/paymentOptionMethod.zod.d.ts +37 -0
  534. package/dist/canopy/v1/generated/validators/paymentOptionMethod.zod.js +39 -0
  535. package/dist/canopy/v1/generated/validators/paymentPreview.zod.d.ts +53 -0
  536. package/dist/canopy/v1/generated/validators/paymentPreview.zod.js +51 -0
  537. package/dist/canopy/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +40 -0
  538. package/dist/canopy/v1/generated/validators/paymentPreviewInvoice.zod.js +39 -0
  539. package/dist/canopy/v1/generated/validators/paymentResult.zod.d.ts +109 -0
  540. package/dist/canopy/v1/generated/validators/paymentResult.zod.js +62 -0
  541. package/dist/canopy/v1/generated/validators/paymentStatus.zod.d.ts +39 -0
  542. package/dist/canopy/v1/generated/validators/paymentStatus.zod.js +34 -0
  543. package/dist/canopy/v1/generated/validators/placedOrder.zod.d.ts +23 -1
  544. package/dist/canopy/v1/generated/validators/placedOrder.zod.js +5 -8
  545. package/dist/canopy/v1/generated/validators/plan.zod.d.ts +54 -0
  546. package/dist/canopy/v1/generated/validators/plan.zod.js +46 -0
  547. package/dist/canopy/v1/generated/validators/planFeature.zod.d.ts +41 -0
  548. package/dist/canopy/v1/generated/validators/planFeature.zod.js +36 -0
  549. package/dist/canopy/v1/generated/validators/planList.zod.d.ts +61 -0
  550. package/dist/canopy/v1/generated/validators/planList.zod.js +37 -0
  551. package/dist/canopy/v1/generated/validators/price.zod.d.ts +104 -0
  552. package/dist/canopy/v1/generated/validators/price.zod.js +90 -0
  553. package/dist/canopy/v1/generated/validators/priceList.zod.d.ts +111 -0
  554. package/dist/canopy/v1/generated/validators/priceList.zod.js +37 -0
  555. package/dist/canopy/v1/generated/validators/priceOption.zod.d.ts +67 -0
  556. package/dist/canopy/v1/generated/validators/priceOption.zod.js +51 -0
  557. package/dist/canopy/v1/generated/validators/product.zod.d.ts +38 -0
  558. package/dist/canopy/v1/generated/validators/product.zod.js +37 -0
  559. package/dist/canopy/v1/generated/validators/productID.zod.d.ts +36 -0
  560. package/dist/canopy/v1/generated/validators/productID.zod.js +39 -0
  561. package/dist/canopy/v1/generated/validators/productList.zod.d.ts +45 -0
  562. package/dist/canopy/v1/generated/validators/productList.zod.js +37 -0
  563. package/dist/canopy/v1/generated/validators/projectAssignment.zod.d.ts +45 -0
  564. package/dist/canopy/v1/generated/validators/projectAssignment.zod.js +46 -0
  565. package/dist/canopy/v1/generated/validators/projectAssignmentList.zod.d.ts +52 -0
  566. package/dist/canopy/v1/generated/validators/projectAssignmentList.zod.js +37 -0
  567. package/dist/canopy/v1/generated/validators/purchaseOperation.zod.d.ts +38 -0
  568. package/dist/canopy/v1/generated/validators/purchaseOperation.zod.js +34 -0
  569. package/dist/canopy/v1/generated/validators/quote.zod.js +2 -2
  570. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.d.ts +122 -0
  571. package/dist/canopy/v1/generated/validators/quote5f60d00.zod.js +53 -0
  572. package/dist/canopy/v1/generated/validators/quoteA200529.zod.d.ts +122 -0
  573. package/dist/canopy/v1/generated/validators/quoteA200529.zod.js +33 -0
  574. package/dist/canopy/v1/generated/validators/quoteCancellation.zod.d.ts +41 -0
  575. package/dist/canopy/v1/generated/validators/quoteCancellation.zod.js +43 -0
  576. package/dist/canopy/v1/generated/validators/quoteItem.zod.d.ts +6 -3
  577. package/dist/canopy/v1/generated/validators/quoteItem.zod.js +22 -11
  578. package/dist/canopy/v1/generated/validators/quoteItemDc1fddb.zod.d.ts +45 -0
  579. package/dist/canopy/v1/generated/validators/quoteItemDc1fddb.zod.js +50 -0
  580. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.d.ts +65 -0
  581. package/dist/canopy/v1/generated/validators/quoteItemInput.zod.js +64 -0
  582. package/dist/canopy/v1/generated/validators/quoteRenewal.zod.d.ts +50 -0
  583. package/dist/canopy/v1/generated/validators/quoteRenewal.zod.js +49 -0
  584. package/dist/canopy/v1/generated/validators/quoteRenewalResult.zod.d.ts +50 -0
  585. package/dist/canopy/v1/generated/validators/quoteRenewalResult.zod.js +47 -0
  586. package/dist/canopy/v1/generated/validators/quoteRequest.zod.d.ts +95 -0
  587. package/dist/canopy/v1/generated/validators/quoteRequest.zod.js +65 -0
  588. package/dist/canopy/v1/generated/validators/quotedDiscount.zod.d.ts +42 -0
  589. package/dist/canopy/v1/generated/validators/quotedDiscount.zod.js +44 -0
  590. package/dist/canopy/v1/generated/validators/rate.zod.d.ts +61 -0
  591. package/dist/canopy/v1/generated/validators/rate.zod.js +56 -0
  592. package/dist/canopy/v1/generated/validators/rateList.zod.d.ts +68 -0
  593. package/dist/canopy/v1/generated/validators/rateList.zod.js +37 -0
  594. package/dist/canopy/v1/generated/validators/refund.zod.d.ts +115 -0
  595. package/dist/canopy/v1/generated/validators/refund.zod.js +67 -0
  596. package/dist/canopy/v1/generated/validators/refundList.zod.d.ts +122 -0
  597. package/dist/canopy/v1/generated/validators/refundList.zod.js +37 -0
  598. package/dist/canopy/v1/generated/validators/refundPolicy.zod.d.ts +37 -0
  599. package/dist/canopy/v1/generated/validators/refundPolicy.zod.js +34 -0
  600. package/dist/canopy/v1/generated/validators/refundReason.zod.d.ts +46 -0
  601. package/dist/canopy/v1/generated/validators/refundReason.zod.js +46 -0
  602. package/dist/canopy/v1/generated/validators/renewRequest.zod.d.ts +54 -0
  603. package/dist/canopy/v1/generated/validators/renewRequest.zod.js +65 -0
  604. package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.d.ts +44 -0
  605. package/dist/canopy/v1/generated/validators/renewalOrderRequest.zod.js +46 -0
  606. package/dist/canopy/v1/generated/validators/renewalPrice.zod.d.ts +53 -0
  607. package/dist/canopy/v1/generated/validators/renewalPrice.zod.js +46 -0
  608. package/dist/canopy/v1/generated/validators/renewalPriceList.zod.d.ts +60 -0
  609. package/dist/canopy/v1/generated/validators/renewalPriceList.zod.js +37 -0
  610. package/dist/canopy/v1/generated/validators/serviceResource.zod.js +1 -1
  611. package/dist/canopy/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +36 -0
  612. package/dist/canopy/v1/generated/validators/setProjectAssignmentRequest.zod.js +34 -0
  613. package/dist/canopy/v1/generated/validators/spendRow.zod.d.ts +45 -0
  614. package/dist/canopy/v1/generated/validators/spendRow.zod.js +41 -0
  615. package/dist/canopy/v1/generated/validators/spendRowList.zod.d.ts +54 -0
  616. package/dist/canopy/v1/generated/validators/spendRowList.zod.js +40 -0
  617. package/dist/canopy/v1/generated/validators/statement.zod.d.ts +57 -0
  618. package/dist/canopy/v1/generated/validators/statement.zod.js +59 -0
  619. package/dist/canopy/v1/generated/validators/statementAmounts.zod.d.ts +39 -0
  620. package/dist/canopy/v1/generated/validators/statementAmounts.zod.js +38 -0
  621. package/dist/canopy/v1/generated/validators/statementItem.zod.d.ts +42 -0
  622. package/dist/canopy/v1/generated/validators/statementItem.zod.js +44 -0
  623. package/dist/canopy/v1/generated/validators/statementList.zod.d.ts +64 -0
  624. package/dist/canopy/v1/generated/validators/statementList.zod.js +37 -0
  625. package/dist/canopy/v1/generated/validators/statementStatus.zod.d.ts +37 -0
  626. package/dist/canopy/v1/generated/validators/statementStatus.zod.js +32 -0
  627. package/dist/canopy/v1/generated/validators/statementSummary.zod.d.ts +58 -0
  628. package/dist/canopy/v1/generated/validators/statementSummary.zod.js +42 -0
  629. package/dist/canopy/v1/generated/validators/subscription.zod.d.ts +134 -0
  630. package/dist/canopy/v1/generated/validators/subscription.zod.js +115 -0
  631. package/dist/canopy/v1/generated/validators/subscriptionCancellation.zod.d.ts +60 -0
  632. package/dist/canopy/v1/generated/validators/subscriptionCancellation.zod.js +53 -0
  633. package/dist/canopy/v1/generated/validators/subscriptionList.zod.d.ts +140 -0
  634. package/dist/canopy/v1/generated/validators/subscriptionList.zod.js +37 -0
  635. package/dist/canopy/v1/generated/validators/taxItem.zod.d.ts +44 -0
  636. package/dist/canopy/v1/generated/validators/taxItem.zod.js +44 -0
  637. package/dist/canopy/v1/generated/validators/terminationPolicy.zod.d.ts +37 -0
  638. package/dist/canopy/v1/generated/validators/terminationPolicy.zod.js +34 -0
  639. package/dist/canopy/v1/generated/validators/tier.zod.d.ts +38 -0
  640. package/dist/canopy/v1/generated/validators/tier.zod.js +40 -0
  641. package/dist/canopy/v1/generated/validators/topUp.zod.d.ts +74 -0
  642. package/dist/canopy/v1/generated/validators/topUp.zod.js +69 -0
  643. package/dist/canopy/v1/generated/validators/topUpCreate.zod.d.ts +45 -0
  644. package/dist/canopy/v1/generated/validators/topUpCreate.zod.js +57 -0
  645. package/dist/canopy/v1/generated/validators/topUpList.zod.d.ts +81 -0
  646. package/dist/canopy/v1/generated/validators/topUpList.zod.js +37 -0
  647. package/dist/canopy/v1/generated/validators/transaction.zod.d.ts +76 -0
  648. package/dist/canopy/v1/generated/validators/transaction.zod.js +71 -0
  649. package/dist/canopy/v1/generated/validators/transactionList.zod.d.ts +83 -0
  650. package/dist/canopy/v1/generated/validators/transactionList.zod.js +37 -0
  651. package/dist/canopy/v1/generated/validators/transactionType.zod.d.ts +39 -0
  652. package/dist/canopy/v1/generated/validators/transactionType.zod.js +34 -0
  653. package/dist/canopy/v1/generated/validators/usageCharge.zod.d.ts +66 -0
  654. package/dist/canopy/v1/generated/validators/usageCharge.zod.js +80 -0
  655. package/dist/canopy/v1/generated/validators/usageChargeList.zod.d.ts +73 -0
  656. package/dist/canopy/v1/generated/validators/usageChargeList.zod.js +37 -0
  657. package/dist/compute/v1/generated/models.d.ts +2872 -15
  658. package/dist/compute/v1/generated/models.js +359 -0
  659. package/dist/compute/v1/generated/validators/accountBalance.zod.d.ts +139 -0
  660. package/dist/compute/v1/generated/validators/accountBalance.zod.js +42 -0
  661. package/dist/compute/v1/generated/validators/accountIdentity.zod.d.ts +31 -0
  662. package/dist/compute/v1/generated/validators/accountIdentity.zod.js +29 -0
  663. package/dist/compute/v1/generated/validators/activeResource.zod.d.ts +57 -0
  664. package/dist/compute/v1/generated/validators/activeResource.zod.js +52 -0
  665. package/dist/compute/v1/generated/validators/activeResourceList.zod.d.ts +64 -0
  666. package/dist/compute/v1/generated/validators/activeResourceList.zod.js +30 -0
  667. package/dist/compute/v1/generated/validators/allocateFloatingIPResponseBody.zod.d.ts +23 -1
  668. package/dist/compute/v1/generated/validators/allowance.zod.d.ts +60 -0
  669. package/dist/compute/v1/generated/validators/allowance.zod.js +57 -0
  670. package/dist/compute/v1/generated/validators/allowanceList.zod.d.ts +67 -0
  671. package/dist/compute/v1/generated/validators/allowanceList.zod.js +30 -0
  672. package/dist/compute/v1/generated/validators/applicability.zod.d.ts +124 -0
  673. package/dist/compute/v1/generated/validators/applicability.zod.js +48 -0
  674. package/dist/compute/v1/generated/validators/applicablePlan.zod.d.ts +31 -0
  675. package/dist/compute/v1/generated/validators/applicablePlan.zod.js +31 -0
  676. package/dist/compute/v1/generated/validators/appliedCredit.zod.d.ts +31 -0
  677. package/dist/compute/v1/generated/validators/appliedCredit.zod.js +32 -0
  678. package/dist/compute/v1/generated/validators/autoRenewSet.zod.d.ts +29 -0
  679. package/dist/compute/v1/generated/validators/autoRenewSet.zod.js +27 -0
  680. package/dist/compute/v1/generated/validators/billingAccount.zod.d.ts +41 -0
  681. package/dist/compute/v1/generated/validators/billingAccount.zod.js +47 -0
  682. package/dist/compute/v1/generated/validators/billingAccountCreate.zod.d.ts +33 -0
  683. package/dist/compute/v1/generated/validators/billingAccountCreate.zod.js +31 -0
  684. package/dist/compute/v1/generated/validators/billingAccountList.zod.d.ts +48 -0
  685. package/dist/compute/v1/generated/validators/billingAccountList.zod.js +30 -0
  686. package/dist/compute/v1/generated/validators/billingAccountUpdate.zod.d.ts +31 -0
  687. package/dist/compute/v1/generated/validators/billingAccountUpdate.zod.js +32 -0
  688. package/dist/compute/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +37 -0
  689. package/dist/compute/v1/generated/validators/cancelSubscriptionRequest.zod.js +37 -0
  690. package/dist/compute/v1/generated/validators/cancellation.zod.d.ts +80 -0
  691. package/dist/compute/v1/generated/validators/cancellation.zod.js +55 -0
  692. package/dist/compute/v1/generated/validators/cancellationCreate.zod.d.ts +39 -0
  693. package/dist/compute/v1/generated/validators/cancellationCreate.zod.js +47 -0
  694. package/dist/compute/v1/generated/validators/cancellationItem.zod.d.ts +51 -0
  695. package/dist/compute/v1/generated/validators/cancellationItem.zod.js +51 -0
  696. package/dist/compute/v1/generated/validators/cancellationList.zod.d.ts +87 -0
  697. package/dist/compute/v1/generated/validators/cancellationList.zod.js +30 -0
  698. package/dist/compute/v1/generated/validators/cancellationRefundPreview.zod.d.ts +62 -0
  699. package/dist/compute/v1/generated/validators/cancellationRefundPreview.zod.js +48 -0
  700. package/dist/compute/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +47 -0
  701. package/dist/compute/v1/generated/validators/cancellationRefundPreviewItem.zod.js +47 -0
  702. package/dist/compute/v1/generated/validators/checkoutMode.zod.js +1 -1
  703. package/dist/compute/v1/generated/validators/checkoutOptions.zod.js +2 -2
  704. package/dist/compute/v1/generated/validators/contact.zod.d.ts +57 -0
  705. package/dist/compute/v1/generated/validators/contact.zod.js +55 -0
  706. package/dist/compute/v1/generated/validators/contactCreate.zod.d.ts +48 -0
  707. package/dist/compute/v1/generated/validators/contactCreate.zod.js +46 -0
  708. package/dist/compute/v1/generated/validators/contactList.zod.d.ts +54 -0
  709. package/dist/compute/v1/generated/validators/contactList.zod.js +30 -0
  710. package/dist/compute/v1/generated/validators/contactUpdate.zod.d.ts +49 -0
  711. package/dist/compute/v1/generated/validators/contactUpdate.zod.js +47 -0
  712. package/dist/compute/v1/generated/validators/createBackupCapacityPackResponseBody.zod.d.ts +23 -1
  713. package/dist/compute/v1/generated/validators/createBackupServiceResponseBody.zod.d.ts +23 -1
  714. package/dist/compute/v1/generated/validators/createDiskResponseBody.zod.d.ts +23 -1
  715. package/dist/compute/v1/generated/validators/createImageResponseBody.zod.d.ts +23 -1
  716. package/dist/compute/v1/generated/validators/creditGrant.zod.d.ts +142 -0
  717. package/dist/compute/v1/generated/validators/creditGrant.zod.js +43 -0
  718. package/dist/compute/v1/generated/validators/creditGrantList.zod.d.ts +149 -0
  719. package/dist/compute/v1/generated/validators/creditGrantList.zod.js +30 -0
  720. package/dist/compute/v1/generated/validators/creditGroup.zod.d.ts +128 -0
  721. package/dist/compute/v1/generated/validators/creditGroup.zod.js +34 -0
  722. package/dist/compute/v1/generated/validators/creditNote.zod.d.ts +50 -0
  723. package/dist/compute/v1/generated/validators/creditNote.zod.js +56 -0
  724. package/dist/compute/v1/generated/validators/creditNoteItem.zod.d.ts +33 -0
  725. package/dist/compute/v1/generated/validators/creditNoteItem.zod.js +32 -0
  726. package/dist/compute/v1/generated/validators/creditNoteItemList.zod.d.ts +40 -0
  727. package/dist/compute/v1/generated/validators/creditNoteItemList.zod.js +30 -0
  728. package/dist/compute/v1/generated/validators/creditNoteList.zod.d.ts +57 -0
  729. package/dist/compute/v1/generated/validators/creditNoteList.zod.js +30 -0
  730. package/dist/compute/v1/generated/validators/currency.zod.d.ts +37 -0
  731. package/dist/compute/v1/generated/validators/currency.zod.js +46 -0
  732. package/dist/compute/v1/generated/validators/currencyList.zod.d.ts +39 -0
  733. package/dist/compute/v1/generated/validators/currencyList.zod.js +30 -0
  734. package/dist/compute/v1/generated/validators/discount.zod.d.ts +158 -0
  735. package/dist/compute/v1/generated/validators/discount.zod.js +60 -0
  736. package/dist/compute/v1/generated/validators/discountList.zod.d.ts +165 -0
  737. package/dist/compute/v1/generated/validators/discountList.zod.js +30 -0
  738. package/dist/compute/v1/generated/validators/entitlement.zod.d.ts +41 -0
  739. package/dist/compute/v1/generated/validators/entitlement.zod.js +36 -0
  740. package/dist/compute/v1/generated/validators/entitlementList.zod.d.ts +48 -0
  741. package/dist/compute/v1/generated/validators/entitlementList.zod.js +30 -0
  742. package/dist/compute/v1/generated/validators/errorA200529.zod.d.ts +32 -0
  743. package/dist/compute/v1/generated/validators/errorA200529.zod.js +26 -0
  744. package/dist/compute/v1/generated/validators/featureGrant.zod.d.ts +49 -0
  745. package/dist/compute/v1/generated/validators/featureGrant.zod.js +40 -0
  746. package/dist/compute/v1/generated/validators/featureGrantList.zod.d.ts +56 -0
  747. package/dist/compute/v1/generated/validators/featureGrantList.zod.js +30 -0
  748. package/dist/compute/v1/generated/validators/featureGrantStatus.zod.d.ts +32 -0
  749. package/dist/compute/v1/generated/validators/featureGrantStatus.zod.js +27 -0
  750. package/dist/compute/v1/generated/validators/invoice.zod.d.ts +79 -0
  751. package/dist/compute/v1/generated/validators/invoice.zod.js +69 -0
  752. package/dist/compute/v1/generated/validators/invoiceItem.zod.d.ts +57 -0
  753. package/dist/compute/v1/generated/validators/invoiceItem.zod.js +62 -0
  754. package/dist/compute/v1/generated/validators/invoiceItemList.zod.d.ts +64 -0
  755. package/dist/compute/v1/generated/validators/invoiceItemList.zod.js +30 -0
  756. package/dist/compute/v1/generated/validators/invoiceList.zod.d.ts +86 -0
  757. package/dist/compute/v1/generated/validators/invoiceList.zod.js +30 -0
  758. package/dist/compute/v1/generated/validators/invoiceStatus.zod.d.ts +33 -0
  759. package/dist/compute/v1/generated/validators/invoiceStatus.zod.js +27 -0
  760. package/dist/compute/v1/generated/validators/invoiceSummary.zod.d.ts +49 -0
  761. package/dist/compute/v1/generated/validators/invoiceSummary.zod.js +50 -0
  762. package/dist/compute/v1/generated/validators/launchInstanceResponseBody.zod.d.ts +23 -1
  763. package/dist/compute/v1/generated/validators/namedIdentity.zod.d.ts +31 -0
  764. package/dist/compute/v1/generated/validators/namedIdentity.zod.js +31 -0
  765. package/dist/compute/v1/generated/validators/objectIdentity.zod.d.ts +31 -0
  766. package/dist/compute/v1/generated/validators/objectIdentity.zod.js +31 -0
  767. package/dist/compute/v1/generated/validators/order.zod.d.ts +159 -0
  768. package/dist/compute/v1/generated/validators/order.zod.js +81 -0
  769. package/dist/compute/v1/generated/validators/orderCancel.zod.d.ts +30 -0
  770. package/dist/compute/v1/generated/validators/orderCancel.zod.js +33 -0
  771. package/dist/compute/v1/generated/validators/orderItem.zod.d.ts +85 -0
  772. package/dist/compute/v1/generated/validators/orderItem.zod.js +89 -0
  773. package/dist/compute/v1/generated/validators/orderItemList.zod.d.ts +91 -0
  774. package/dist/compute/v1/generated/validators/orderItemList.zod.js +30 -0
  775. package/dist/compute/v1/generated/validators/orderItemStatus.zod.d.ts +32 -0
  776. package/dist/compute/v1/generated/validators/orderItemStatus.zod.js +27 -0
  777. package/dist/compute/v1/generated/validators/orderList.zod.d.ts +166 -0
  778. package/dist/compute/v1/generated/validators/orderList.zod.js +30 -0
  779. package/dist/compute/v1/generated/validators/orderRefundQuote.zod.d.ts +33 -0
  780. package/dist/compute/v1/generated/validators/orderRefundQuote.zod.js +34 -0
  781. package/dist/compute/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +31 -0
  782. package/dist/compute/v1/generated/validators/orderRefundQuoteInput.zod.js +36 -0
  783. package/dist/compute/v1/generated/validators/orderStatus.zod.d.ts +34 -0
  784. package/dist/compute/v1/generated/validators/orderStatus.zod.js +27 -0
  785. package/dist/compute/v1/generated/validators/paidWith.zod.d.ts +33 -0
  786. package/dist/compute/v1/generated/validators/paidWith.zod.js +41 -0
  787. package/dist/compute/v1/generated/validators/payInvoiceRequest.zod.d.ts +42 -0
  788. package/dist/compute/v1/generated/validators/payInvoiceRequest.zod.js +69 -0
  789. package/dist/compute/v1/generated/validators/payTogetherRequest.zod.d.ts +34 -0
  790. package/dist/compute/v1/generated/validators/payTogetherRequest.zod.js +37 -0
  791. package/dist/compute/v1/generated/validators/paymentAction.zod.d.ts +38 -0
  792. package/dist/compute/v1/generated/validators/paymentAction.zod.js +40 -0
  793. package/dist/compute/v1/generated/validators/paymentCancellationReason.zod.d.ts +30 -0
  794. package/dist/compute/v1/generated/validators/paymentCancellationReason.zod.js +27 -0
  795. package/dist/compute/v1/generated/validators/paymentMethod.zod.d.ts +41 -0
  796. package/dist/compute/v1/generated/validators/paymentMethod.zod.js +35 -0
  797. package/dist/compute/v1/generated/validators/paymentMethodList.zod.d.ts +48 -0
  798. package/dist/compute/v1/generated/validators/paymentMethodList.zod.js +30 -0
  799. package/dist/compute/v1/generated/validators/paymentMethodSetup.zod.d.ts +31 -0
  800. package/dist/compute/v1/generated/validators/paymentMethodSetup.zod.js +33 -0
  801. package/dist/compute/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +42 -0
  802. package/dist/compute/v1/generated/validators/paymentMethodSetupResult.zod.js +34 -0
  803. package/dist/compute/v1/generated/validators/paymentOption.zod.d.ts +33 -0
  804. package/dist/compute/v1/generated/validators/paymentOption.zod.js +31 -0
  805. package/dist/compute/v1/generated/validators/paymentOptionList.zod.d.ts +40 -0
  806. package/dist/compute/v1/generated/validators/paymentOptionList.zod.js +30 -0
  807. package/dist/compute/v1/generated/validators/paymentOptionMethod.zod.d.ts +30 -0
  808. package/dist/compute/v1/generated/validators/paymentOptionMethod.zod.js +32 -0
  809. package/dist/compute/v1/generated/validators/paymentPreview.zod.d.ts +46 -0
  810. package/dist/compute/v1/generated/validators/paymentPreview.zod.js +44 -0
  811. package/dist/compute/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +33 -0
  812. package/dist/compute/v1/generated/validators/paymentPreviewInvoice.zod.js +32 -0
  813. package/dist/compute/v1/generated/validators/paymentResult.zod.d.ts +102 -0
  814. package/dist/compute/v1/generated/validators/paymentResult.zod.js +55 -0
  815. package/dist/compute/v1/generated/validators/paymentStatus.zod.d.ts +32 -0
  816. package/dist/compute/v1/generated/validators/paymentStatus.zod.js +27 -0
  817. package/dist/compute/v1/generated/validators/placedOrder.zod.d.ts +23 -1
  818. package/dist/compute/v1/generated/validators/placedOrder.zod.js +5 -8
  819. package/dist/compute/v1/generated/validators/plan.zod.d.ts +47 -0
  820. package/dist/compute/v1/generated/validators/plan.zod.js +39 -0
  821. package/dist/compute/v1/generated/validators/planFeature.zod.d.ts +34 -0
  822. package/dist/compute/v1/generated/validators/planFeature.zod.js +29 -0
  823. package/dist/compute/v1/generated/validators/planList.zod.d.ts +54 -0
  824. package/dist/compute/v1/generated/validators/planList.zod.js +30 -0
  825. package/dist/compute/v1/generated/validators/price.zod.d.ts +97 -0
  826. package/dist/compute/v1/generated/validators/price.zod.js +83 -0
  827. package/dist/compute/v1/generated/validators/priceList.zod.d.ts +104 -0
  828. package/dist/compute/v1/generated/validators/priceList.zod.js +30 -0
  829. package/dist/compute/v1/generated/validators/priceOption.zod.d.ts +60 -0
  830. package/dist/compute/v1/generated/validators/priceOption.zod.js +44 -0
  831. package/dist/compute/v1/generated/validators/product.zod.d.ts +31 -0
  832. package/dist/compute/v1/generated/validators/product.zod.js +30 -0
  833. package/dist/compute/v1/generated/validators/productID.zod.d.ts +29 -0
  834. package/dist/compute/v1/generated/validators/productID.zod.js +32 -0
  835. package/dist/compute/v1/generated/validators/productList.zod.d.ts +38 -0
  836. package/dist/compute/v1/generated/validators/productList.zod.js +30 -0
  837. package/dist/compute/v1/generated/validators/projectAssignment.zod.d.ts +38 -0
  838. package/dist/compute/v1/generated/validators/projectAssignment.zod.js +39 -0
  839. package/dist/compute/v1/generated/validators/projectAssignmentList.zod.d.ts +45 -0
  840. package/dist/compute/v1/generated/validators/projectAssignmentList.zod.js +30 -0
  841. package/dist/compute/v1/generated/validators/purchaseOperation.zod.d.ts +31 -0
  842. package/dist/compute/v1/generated/validators/purchaseOperation.zod.js +27 -0
  843. package/dist/compute/v1/generated/validators/quote.zod.js +2 -2
  844. package/dist/compute/v1/generated/validators/quote5f60d00.zod.d.ts +115 -0
  845. package/dist/compute/v1/generated/validators/quote5f60d00.zod.js +46 -0
  846. package/dist/compute/v1/generated/validators/quoteA200529.zod.d.ts +115 -0
  847. package/dist/compute/v1/generated/validators/quoteA200529.zod.js +26 -0
  848. package/dist/compute/v1/generated/validators/quoteCancellation.zod.d.ts +34 -0
  849. package/dist/compute/v1/generated/validators/quoteCancellation.zod.js +36 -0
  850. package/dist/compute/v1/generated/validators/quoteItem.zod.d.ts +6 -3
  851. package/dist/compute/v1/generated/validators/quoteItem.zod.js +22 -11
  852. package/dist/compute/v1/generated/validators/quoteItemDc1fddb.zod.d.ts +38 -0
  853. package/dist/compute/v1/generated/validators/quoteItemDc1fddb.zod.js +43 -0
  854. package/dist/compute/v1/generated/validators/quoteItemInput.zod.d.ts +58 -0
  855. package/dist/compute/v1/generated/validators/quoteItemInput.zod.js +57 -0
  856. package/dist/compute/v1/generated/validators/quoteRenewal.zod.d.ts +43 -0
  857. package/dist/compute/v1/generated/validators/quoteRenewal.zod.js +42 -0
  858. package/dist/compute/v1/generated/validators/quoteRenewalResult.zod.d.ts +43 -0
  859. package/dist/compute/v1/generated/validators/quoteRenewalResult.zod.js +40 -0
  860. package/dist/compute/v1/generated/validators/quoteRequest.zod.d.ts +88 -0
  861. package/dist/compute/v1/generated/validators/quoteRequest.zod.js +58 -0
  862. package/dist/compute/v1/generated/validators/quotedDiscount.zod.d.ts +35 -0
  863. package/dist/compute/v1/generated/validators/quotedDiscount.zod.js +37 -0
  864. package/dist/compute/v1/generated/validators/rate.zod.d.ts +54 -0
  865. package/dist/compute/v1/generated/validators/rate.zod.js +49 -0
  866. package/dist/compute/v1/generated/validators/rateList.zod.d.ts +61 -0
  867. package/dist/compute/v1/generated/validators/rateList.zod.js +30 -0
  868. package/dist/compute/v1/generated/validators/refund.zod.d.ts +108 -0
  869. package/dist/compute/v1/generated/validators/refund.zod.js +60 -0
  870. package/dist/compute/v1/generated/validators/refundList.zod.d.ts +115 -0
  871. package/dist/compute/v1/generated/validators/refundList.zod.js +30 -0
  872. package/dist/compute/v1/generated/validators/refundPolicy.zod.d.ts +30 -0
  873. package/dist/compute/v1/generated/validators/refundPolicy.zod.js +27 -0
  874. package/dist/compute/v1/generated/validators/refundReason.zod.d.ts +39 -0
  875. package/dist/compute/v1/generated/validators/refundReason.zod.js +39 -0
  876. package/dist/compute/v1/generated/validators/renewRequest.zod.d.ts +47 -0
  877. package/dist/compute/v1/generated/validators/renewRequest.zod.js +58 -0
  878. package/dist/compute/v1/generated/validators/renewalOrderRequest.zod.d.ts +37 -0
  879. package/dist/compute/v1/generated/validators/renewalOrderRequest.zod.js +39 -0
  880. package/dist/compute/v1/generated/validators/renewalPrice.zod.d.ts +46 -0
  881. package/dist/compute/v1/generated/validators/renewalPrice.zod.js +39 -0
  882. package/dist/compute/v1/generated/validators/renewalPriceList.zod.d.ts +53 -0
  883. package/dist/compute/v1/generated/validators/renewalPriceList.zod.js +30 -0
  884. package/dist/compute/v1/generated/validators/resizeDiskResponseBody.zod.d.ts +23 -1
  885. package/dist/compute/v1/generated/validators/resizeInstanceResponseBody.zod.d.ts +23 -1
  886. package/dist/compute/v1/generated/validators/setFloatingIPBandwidthResponseBody.zod.d.ts +23 -1
  887. package/dist/compute/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +29 -0
  888. package/dist/compute/v1/generated/validators/setProjectAssignmentRequest.zod.js +27 -0
  889. package/dist/compute/v1/generated/validators/setSnapshotQuotaResponseBody.zod.d.ts +23 -1
  890. package/dist/compute/v1/generated/validators/spendRow.zod.d.ts +38 -0
  891. package/dist/compute/v1/generated/validators/spendRow.zod.js +34 -0
  892. package/dist/compute/v1/generated/validators/spendRowList.zod.d.ts +47 -0
  893. package/dist/compute/v1/generated/validators/spendRowList.zod.js +33 -0
  894. package/dist/compute/v1/generated/validators/statement.zod.d.ts +50 -0
  895. package/dist/compute/v1/generated/validators/statement.zod.js +52 -0
  896. package/dist/compute/v1/generated/validators/statementAmounts.zod.d.ts +32 -0
  897. package/dist/compute/v1/generated/validators/statementAmounts.zod.js +31 -0
  898. package/dist/compute/v1/generated/validators/statementItem.zod.d.ts +35 -0
  899. package/dist/compute/v1/generated/validators/statementItem.zod.js +37 -0
  900. package/dist/compute/v1/generated/validators/statementList.zod.d.ts +57 -0
  901. package/dist/compute/v1/generated/validators/statementList.zod.js +30 -0
  902. package/dist/compute/v1/generated/validators/statementStatus.zod.d.ts +30 -0
  903. package/dist/compute/v1/generated/validators/statementStatus.zod.js +25 -0
  904. package/dist/compute/v1/generated/validators/statementSummary.zod.d.ts +51 -0
  905. package/dist/compute/v1/generated/validators/statementSummary.zod.js +35 -0
  906. package/dist/compute/v1/generated/validators/subscription.zod.d.ts +127 -0
  907. package/dist/compute/v1/generated/validators/subscription.zod.js +108 -0
  908. package/dist/compute/v1/generated/validators/subscriptionCancellation.zod.d.ts +53 -0
  909. package/dist/compute/v1/generated/validators/subscriptionCancellation.zod.js +46 -0
  910. package/dist/compute/v1/generated/validators/subscriptionList.zod.d.ts +133 -0
  911. package/dist/compute/v1/generated/validators/subscriptionList.zod.js +30 -0
  912. package/dist/compute/v1/generated/validators/taxItem.zod.d.ts +37 -0
  913. package/dist/compute/v1/generated/validators/taxItem.zod.js +37 -0
  914. package/dist/compute/v1/generated/validators/terminationPolicyA200529.zod.d.ts +30 -0
  915. package/dist/compute/v1/generated/validators/terminationPolicyA200529.zod.js +26 -0
  916. package/dist/compute/v1/generated/validators/terminationPolicyBfdab9f.zod.d.ts +30 -0
  917. package/dist/compute/v1/generated/validators/terminationPolicyBfdab9f.zod.js +27 -0
  918. package/dist/compute/v1/generated/validators/tier.zod.d.ts +31 -0
  919. package/dist/compute/v1/generated/validators/tier.zod.js +33 -0
  920. package/dist/compute/v1/generated/validators/topUp.zod.d.ts +67 -0
  921. package/dist/compute/v1/generated/validators/topUp.zod.js +62 -0
  922. package/dist/compute/v1/generated/validators/topUpCreate.zod.d.ts +38 -0
  923. package/dist/compute/v1/generated/validators/topUpCreate.zod.js +50 -0
  924. package/dist/compute/v1/generated/validators/topUpList.zod.d.ts +74 -0
  925. package/dist/compute/v1/generated/validators/topUpList.zod.js +30 -0
  926. package/dist/compute/v1/generated/validators/transaction.zod.d.ts +69 -0
  927. package/dist/compute/v1/generated/validators/transaction.zod.js +64 -0
  928. package/dist/compute/v1/generated/validators/transactionList.zod.d.ts +76 -0
  929. package/dist/compute/v1/generated/validators/transactionList.zod.js +30 -0
  930. package/dist/compute/v1/generated/validators/transactionType.zod.d.ts +32 -0
  931. package/dist/compute/v1/generated/validators/transactionType.zod.js +27 -0
  932. package/dist/compute/v1/generated/validators/usageCharge.zod.d.ts +59 -0
  933. package/dist/compute/v1/generated/validators/usageCharge.zod.js +73 -0
  934. package/dist/compute/v1/generated/validators/usageChargeList.zod.d.ts +66 -0
  935. package/dist/compute/v1/generated/validators/usageChargeList.zod.js +30 -0
  936. package/dist/membership/v1/generated/functions.d.ts +224 -0
  937. package/dist/membership/v1/generated/functions.js +237 -0
  938. package/dist/membership/v1/generated/models.d.ts +3298 -0
  939. package/dist/membership/v1/generated/models.js +400 -0
  940. package/dist/membership/v1/generated/schemas.zod.d.ts +139 -0
  941. package/dist/membership/v1/generated/schemas.zod.js +158 -0
  942. package/dist/membership/v1/generated/validators/accountBalance.zod.d.ts +138 -0
  943. package/dist/membership/v1/generated/validators/accountBalance.zod.js +41 -0
  944. package/dist/membership/v1/generated/validators/accountIdentity.zod.d.ts +30 -0
  945. package/dist/membership/v1/generated/validators/accountIdentity.zod.js +28 -0
  946. package/dist/membership/v1/generated/validators/activeResource.zod.d.ts +56 -0
  947. package/dist/membership/v1/generated/validators/activeResource.zod.js +51 -0
  948. package/dist/membership/v1/generated/validators/activeResourceList.zod.d.ts +63 -0
  949. package/dist/membership/v1/generated/validators/activeResourceList.zod.js +29 -0
  950. package/dist/membership/v1/generated/validators/allowance.zod.d.ts +59 -0
  951. package/dist/membership/v1/generated/validators/allowance.zod.js +56 -0
  952. package/dist/membership/v1/generated/validators/allowanceBenefit.zod.d.ts +36 -0
  953. package/dist/membership/v1/generated/validators/allowanceBenefit.zod.js +36 -0
  954. package/dist/membership/v1/generated/validators/allowanceList.zod.d.ts +66 -0
  955. package/dist/membership/v1/generated/validators/allowanceList.zod.js +29 -0
  956. package/dist/membership/v1/generated/validators/applicability.zod.d.ts +123 -0
  957. package/dist/membership/v1/generated/validators/applicability.zod.js +47 -0
  958. package/dist/membership/v1/generated/validators/applicablePlan.zod.d.ts +30 -0
  959. package/dist/membership/v1/generated/validators/applicablePlan.zod.js +30 -0
  960. package/dist/membership/v1/generated/validators/appliedCredit.zod.d.ts +30 -0
  961. package/dist/membership/v1/generated/validators/appliedCredit.zod.js +31 -0
  962. package/dist/membership/v1/generated/validators/autoRenewSet.zod.d.ts +28 -0
  963. package/dist/membership/v1/generated/validators/autoRenewSet.zod.js +26 -0
  964. package/dist/membership/v1/generated/validators/benefit.zod.d.ts +76 -0
  965. package/dist/membership/v1/generated/validators/benefit.zod.js +37 -0
  966. package/dist/membership/v1/generated/validators/billingAccount.zod.d.ts +40 -0
  967. package/dist/membership/v1/generated/validators/billingAccount.zod.js +46 -0
  968. package/dist/membership/v1/generated/validators/billingAccountCreate.zod.d.ts +32 -0
  969. package/dist/membership/v1/generated/validators/billingAccountCreate.zod.js +30 -0
  970. package/dist/membership/v1/generated/validators/billingAccountList.zod.d.ts +47 -0
  971. package/dist/membership/v1/generated/validators/billingAccountList.zod.js +29 -0
  972. package/dist/membership/v1/generated/validators/billingAccountUpdate.zod.d.ts +30 -0
  973. package/dist/membership/v1/generated/validators/billingAccountUpdate.zod.js +31 -0
  974. package/dist/membership/v1/generated/validators/cancelSubscriptionRequest.zod.d.ts +36 -0
  975. package/dist/membership/v1/generated/validators/cancelSubscriptionRequest.zod.js +36 -0
  976. package/dist/membership/v1/generated/validators/cancellation.zod.d.ts +79 -0
  977. package/dist/membership/v1/generated/validators/cancellation.zod.js +54 -0
  978. package/dist/membership/v1/generated/validators/cancellationCreate.zod.d.ts +38 -0
  979. package/dist/membership/v1/generated/validators/cancellationCreate.zod.js +46 -0
  980. package/dist/membership/v1/generated/validators/cancellationItem.zod.d.ts +50 -0
  981. package/dist/membership/v1/generated/validators/cancellationItem.zod.js +50 -0
  982. package/dist/membership/v1/generated/validators/cancellationList.zod.d.ts +86 -0
  983. package/dist/membership/v1/generated/validators/cancellationList.zod.js +29 -0
  984. package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.d.ts +61 -0
  985. package/dist/membership/v1/generated/validators/cancellationRefundPreview.zod.js +47 -0
  986. package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.d.ts +46 -0
  987. package/dist/membership/v1/generated/validators/cancellationRefundPreviewItem.zod.js +46 -0
  988. package/dist/membership/v1/generated/validators/checkoutMode.zod.d.ts +29 -0
  989. package/dist/membership/v1/generated/validators/checkoutMode.zod.js +26 -0
  990. package/dist/membership/v1/generated/validators/checkoutOptions.zod.d.ts +34 -0
  991. package/dist/membership/v1/generated/validators/checkoutOptions.zod.js +35 -0
  992. package/dist/membership/v1/generated/validators/contact.zod.d.ts +56 -0
  993. package/dist/membership/v1/generated/validators/contact.zod.js +54 -0
  994. package/dist/membership/v1/generated/validators/contactCreate.zod.d.ts +47 -0
  995. package/dist/membership/v1/generated/validators/contactCreate.zod.js +45 -0
  996. package/dist/membership/v1/generated/validators/contactList.zod.d.ts +53 -0
  997. package/dist/membership/v1/generated/validators/contactList.zod.js +29 -0
  998. package/dist/membership/v1/generated/validators/contactUpdate.zod.d.ts +48 -0
  999. package/dist/membership/v1/generated/validators/contactUpdate.zod.js +46 -0
  1000. package/dist/membership/v1/generated/validators/creditBenefit.zod.d.ts +34 -0
  1001. package/dist/membership/v1/generated/validators/creditBenefit.zod.js +38 -0
  1002. package/dist/membership/v1/generated/validators/creditGrant.zod.d.ts +141 -0
  1003. package/dist/membership/v1/generated/validators/creditGrant.zod.js +42 -0
  1004. package/dist/membership/v1/generated/validators/creditGrantList.zod.d.ts +148 -0
  1005. package/dist/membership/v1/generated/validators/creditGrantList.zod.js +29 -0
  1006. package/dist/membership/v1/generated/validators/creditGroup.zod.d.ts +127 -0
  1007. package/dist/membership/v1/generated/validators/creditGroup.zod.js +33 -0
  1008. package/dist/membership/v1/generated/validators/creditNote.zod.d.ts +49 -0
  1009. package/dist/membership/v1/generated/validators/creditNote.zod.js +55 -0
  1010. package/dist/membership/v1/generated/validators/creditNoteItem.zod.d.ts +32 -0
  1011. package/dist/membership/v1/generated/validators/creditNoteItem.zod.js +31 -0
  1012. package/dist/membership/v1/generated/validators/creditNoteItemList.zod.d.ts +39 -0
  1013. package/dist/membership/v1/generated/validators/creditNoteItemList.zod.js +29 -0
  1014. package/dist/membership/v1/generated/validators/creditNoteList.zod.d.ts +56 -0
  1015. package/dist/membership/v1/generated/validators/creditNoteList.zod.js +29 -0
  1016. package/dist/membership/v1/generated/validators/currency.zod.d.ts +27 -0
  1017. package/dist/membership/v1/generated/validators/currency.zod.js +25 -0
  1018. package/dist/membership/v1/generated/validators/currency6ff0ec7.zod.d.ts +36 -0
  1019. package/dist/membership/v1/generated/validators/currency6ff0ec7.zod.js +45 -0
  1020. package/dist/membership/v1/generated/validators/currencyA200529.zod.d.ts +31 -0
  1021. package/dist/membership/v1/generated/validators/currencyA200529.zod.js +25 -0
  1022. package/dist/membership/v1/generated/validators/currencyList.zod.d.ts +38 -0
  1023. package/dist/membership/v1/generated/validators/currencyList.zod.js +29 -0
  1024. package/dist/membership/v1/generated/validators/cursorPagination.zod.d.ts +29 -0
  1025. package/dist/membership/v1/generated/validators/cursorPagination.zod.js +29 -0
  1026. package/dist/membership/v1/generated/validators/discount.zod.d.ts +157 -0
  1027. package/dist/membership/v1/generated/validators/discount.zod.js +59 -0
  1028. package/dist/membership/v1/generated/validators/discountBenefit.zod.d.ts +39 -0
  1029. package/dist/membership/v1/generated/validators/discountBenefit.zod.js +37 -0
  1030. package/dist/membership/v1/generated/validators/discountList.zod.d.ts +164 -0
  1031. package/dist/membership/v1/generated/validators/discountList.zod.js +29 -0
  1032. package/dist/membership/v1/generated/validators/entitlement.zod.d.ts +40 -0
  1033. package/dist/membership/v1/generated/validators/entitlement.zod.js +35 -0
  1034. package/dist/membership/v1/generated/validators/entitlementList.zod.d.ts +47 -0
  1035. package/dist/membership/v1/generated/validators/entitlementList.zod.js +29 -0
  1036. package/dist/membership/v1/generated/validators/error.zod.d.ts +31 -0
  1037. package/dist/membership/v1/generated/validators/error.zod.js +32 -0
  1038. package/dist/membership/v1/generated/validators/errorA200529.zod.d.ts +31 -0
  1039. package/dist/membership/v1/generated/validators/errorA200529.zod.js +25 -0
  1040. package/dist/membership/v1/generated/validators/featureBenefit.zod.d.ts +33 -0
  1041. package/dist/membership/v1/generated/validators/featureBenefit.zod.js +31 -0
  1042. package/dist/membership/v1/generated/validators/featureGrant.zod.d.ts +48 -0
  1043. package/dist/membership/v1/generated/validators/featureGrant.zod.js +39 -0
  1044. package/dist/membership/v1/generated/validators/featureGrantList.zod.d.ts +55 -0
  1045. package/dist/membership/v1/generated/validators/featureGrantList.zod.js +29 -0
  1046. package/dist/membership/v1/generated/validators/featureGrantStatus.zod.d.ts +31 -0
  1047. package/dist/membership/v1/generated/validators/featureGrantStatus.zod.js +26 -0
  1048. package/dist/membership/v1/generated/validators/getPlanParams.zod.d.ts +28 -0
  1049. package/dist/membership/v1/generated/validators/getPlanParams.zod.js +27 -0
  1050. package/dist/membership/v1/generated/validators/grant.zod.d.ts +86 -0
  1051. package/dist/membership/v1/generated/validators/grant.zod.js +46 -0
  1052. package/dist/membership/v1/generated/validators/invoice.zod.d.ts +78 -0
  1053. package/dist/membership/v1/generated/validators/invoice.zod.js +68 -0
  1054. package/dist/membership/v1/generated/validators/invoiceItem.zod.d.ts +56 -0
  1055. package/dist/membership/v1/generated/validators/invoiceItem.zod.js +61 -0
  1056. package/dist/membership/v1/generated/validators/invoiceItemList.zod.d.ts +63 -0
  1057. package/dist/membership/v1/generated/validators/invoiceItemList.zod.js +29 -0
  1058. package/dist/membership/v1/generated/validators/invoiceList.zod.d.ts +85 -0
  1059. package/dist/membership/v1/generated/validators/invoiceList.zod.js +29 -0
  1060. package/dist/membership/v1/generated/validators/invoiceStatus.zod.d.ts +32 -0
  1061. package/dist/membership/v1/generated/validators/invoiceStatus.zod.js +26 -0
  1062. package/dist/membership/v1/generated/validators/invoiceSummary.zod.d.ts +48 -0
  1063. package/dist/membership/v1/generated/validators/invoiceSummary.zod.js +49 -0
  1064. package/dist/membership/v1/generated/validators/listMembershipPeriodsParams.zod.d.ts +33 -0
  1065. package/dist/membership/v1/generated/validators/listMembershipPeriodsParams.zod.js +39 -0
  1066. package/dist/membership/v1/generated/validators/listMembershipsParams.zod.d.ts +34 -0
  1067. package/dist/membership/v1/generated/validators/listMembershipsParams.zod.js +40 -0
  1068. package/dist/membership/v1/generated/validators/listPlansParams.zod.d.ts +34 -0
  1069. package/dist/membership/v1/generated/validators/listPlansParams.zod.js +37 -0
  1070. package/dist/membership/v1/generated/validators/membership.zod.d.ts +123 -0
  1071. package/dist/membership/v1/generated/validators/membership.zod.js +55 -0
  1072. package/dist/membership/v1/generated/validators/membershipCreate.zod.d.ts +37 -0
  1073. package/dist/membership/v1/generated/validators/membershipCreate.zod.js +32 -0
  1074. package/dist/membership/v1/generated/validators/membershipDowngrade.zod.d.ts +28 -0
  1075. package/dist/membership/v1/generated/validators/membershipDowngrade.zod.js +28 -0
  1076. package/dist/membership/v1/generated/validators/membershipList.zod.d.ts +130 -0
  1077. package/dist/membership/v1/generated/validators/membershipList.zod.js +29 -0
  1078. package/dist/membership/v1/generated/validators/membershipPurchase.zod.d.ts +151 -0
  1079. package/dist/membership/v1/generated/validators/membershipPurchase.zod.js +31 -0
  1080. package/dist/membership/v1/generated/validators/membershipUpgrade.zod.d.ts +35 -0
  1081. package/dist/membership/v1/generated/validators/membershipUpgrade.zod.js +28 -0
  1082. package/dist/membership/v1/generated/validators/money.zod.d.ts +26 -0
  1083. package/dist/membership/v1/generated/validators/money.zod.js +26 -0
  1084. package/dist/membership/v1/generated/validators/namedIdentity.zod.d.ts +30 -0
  1085. package/dist/membership/v1/generated/validators/namedIdentity.zod.js +30 -0
  1086. package/dist/membership/v1/generated/validators/objectIdentity.zod.d.ts +30 -0
  1087. package/dist/membership/v1/generated/validators/objectIdentity.zod.js +30 -0
  1088. package/dist/membership/v1/generated/validators/offsetPagination.zod.d.ts +31 -0
  1089. package/dist/membership/v1/generated/validators/offsetPagination.zod.js +31 -0
  1090. package/dist/membership/v1/generated/validators/order.zod.d.ts +158 -0
  1091. package/dist/membership/v1/generated/validators/order.zod.js +80 -0
  1092. package/dist/membership/v1/generated/validators/orderCancel.zod.d.ts +29 -0
  1093. package/dist/membership/v1/generated/validators/orderCancel.zod.js +32 -0
  1094. package/dist/membership/v1/generated/validators/orderItem.zod.d.ts +84 -0
  1095. package/dist/membership/v1/generated/validators/orderItem.zod.js +88 -0
  1096. package/dist/membership/v1/generated/validators/orderItemList.zod.d.ts +90 -0
  1097. package/dist/membership/v1/generated/validators/orderItemList.zod.js +29 -0
  1098. package/dist/membership/v1/generated/validators/orderItemStatus.zod.d.ts +31 -0
  1099. package/dist/membership/v1/generated/validators/orderItemStatus.zod.js +26 -0
  1100. package/dist/membership/v1/generated/validators/orderList.zod.d.ts +165 -0
  1101. package/dist/membership/v1/generated/validators/orderList.zod.js +29 -0
  1102. package/dist/membership/v1/generated/validators/orderRefundQuote.zod.d.ts +32 -0
  1103. package/dist/membership/v1/generated/validators/orderRefundQuote.zod.js +33 -0
  1104. package/dist/membership/v1/generated/validators/orderRefundQuoteInput.zod.d.ts +30 -0
  1105. package/dist/membership/v1/generated/validators/orderRefundQuoteInput.zod.js +35 -0
  1106. package/dist/membership/v1/generated/validators/orderStatus.zod.d.ts +33 -0
  1107. package/dist/membership/v1/generated/validators/orderStatus.zod.js +26 -0
  1108. package/dist/membership/v1/generated/validators/paidWith.zod.d.ts +32 -0
  1109. package/dist/membership/v1/generated/validators/paidWith.zod.js +40 -0
  1110. package/dist/membership/v1/generated/validators/payInvoiceRequest.zod.d.ts +41 -0
  1111. package/dist/membership/v1/generated/validators/payInvoiceRequest.zod.js +68 -0
  1112. package/dist/membership/v1/generated/validators/payTogetherRequest.zod.d.ts +33 -0
  1113. package/dist/membership/v1/generated/validators/payTogetherRequest.zod.js +36 -0
  1114. package/dist/membership/v1/generated/validators/paymentAction.zod.d.ts +37 -0
  1115. package/dist/membership/v1/generated/validators/paymentAction.zod.js +39 -0
  1116. package/dist/membership/v1/generated/validators/paymentCancellationReason.zod.d.ts +29 -0
  1117. package/dist/membership/v1/generated/validators/paymentCancellationReason.zod.js +26 -0
  1118. package/dist/membership/v1/generated/validators/paymentMethod.zod.d.ts +40 -0
  1119. package/dist/membership/v1/generated/validators/paymentMethod.zod.js +34 -0
  1120. package/dist/membership/v1/generated/validators/paymentMethodList.zod.d.ts +47 -0
  1121. package/dist/membership/v1/generated/validators/paymentMethodList.zod.js +29 -0
  1122. package/dist/membership/v1/generated/validators/paymentMethodSetup.zod.d.ts +30 -0
  1123. package/dist/membership/v1/generated/validators/paymentMethodSetup.zod.js +32 -0
  1124. package/dist/membership/v1/generated/validators/paymentMethodSetupResult.zod.d.ts +41 -0
  1125. package/dist/membership/v1/generated/validators/paymentMethodSetupResult.zod.js +33 -0
  1126. package/dist/membership/v1/generated/validators/paymentOption.zod.d.ts +32 -0
  1127. package/dist/membership/v1/generated/validators/paymentOption.zod.js +30 -0
  1128. package/dist/membership/v1/generated/validators/paymentOptionList.zod.d.ts +39 -0
  1129. package/dist/membership/v1/generated/validators/paymentOptionList.zod.js +29 -0
  1130. package/dist/membership/v1/generated/validators/paymentOptionMethod.zod.d.ts +29 -0
  1131. package/dist/membership/v1/generated/validators/paymentOptionMethod.zod.js +31 -0
  1132. package/dist/membership/v1/generated/validators/paymentPreview.zod.d.ts +45 -0
  1133. package/dist/membership/v1/generated/validators/paymentPreview.zod.js +43 -0
  1134. package/dist/membership/v1/generated/validators/paymentPreviewInvoice.zod.d.ts +32 -0
  1135. package/dist/membership/v1/generated/validators/paymentPreviewInvoice.zod.js +31 -0
  1136. package/dist/membership/v1/generated/validators/paymentResult.zod.d.ts +101 -0
  1137. package/dist/membership/v1/generated/validators/paymentResult.zod.js +54 -0
  1138. package/dist/membership/v1/generated/validators/paymentStatus.zod.d.ts +31 -0
  1139. package/dist/membership/v1/generated/validators/paymentStatus.zod.js +26 -0
  1140. package/dist/membership/v1/generated/validators/period.zod.d.ts +98 -0
  1141. package/dist/membership/v1/generated/validators/period.zod.js +35 -0
  1142. package/dist/membership/v1/generated/validators/periodList.zod.d.ts +105 -0
  1143. package/dist/membership/v1/generated/validators/periodList.zod.js +29 -0
  1144. package/dist/membership/v1/generated/validators/placedOrder.zod.d.ts +51 -0
  1145. package/dist/membership/v1/generated/validators/placedOrder.zod.js +31 -0
  1146. package/dist/membership/v1/generated/validators/plan.zod.d.ts +93 -0
  1147. package/dist/membership/v1/generated/validators/plan.zod.js +34 -0
  1148. package/dist/membership/v1/generated/validators/planA200529.zod.d.ts +46 -0
  1149. package/dist/membership/v1/generated/validators/planA200529.zod.js +25 -0
  1150. package/dist/membership/v1/generated/validators/planC836db9.zod.d.ts +46 -0
  1151. package/dist/membership/v1/generated/validators/planC836db9.zod.js +38 -0
  1152. package/dist/membership/v1/generated/validators/planFeature.zod.d.ts +33 -0
  1153. package/dist/membership/v1/generated/validators/planFeature.zod.js +28 -0
  1154. package/dist/membership/v1/generated/validators/planList.zod.d.ts +100 -0
  1155. package/dist/membership/v1/generated/validators/planList.zod.js +29 -0
  1156. package/dist/membership/v1/generated/validators/planListA200529.zod.d.ts +53 -0
  1157. package/dist/membership/v1/generated/validators/planListA200529.zod.js +25 -0
  1158. package/dist/membership/v1/generated/validators/planListC836db9.zod.d.ts +53 -0
  1159. package/dist/membership/v1/generated/validators/planListC836db9.zod.js +29 -0
  1160. package/dist/membership/v1/generated/validators/planPrice.zod.d.ts +35 -0
  1161. package/dist/membership/v1/generated/validators/planPrice.zod.js +34 -0
  1162. package/dist/membership/v1/generated/validators/planSummary.zod.d.ts +31 -0
  1163. package/dist/membership/v1/generated/validators/planSummary.zod.js +31 -0
  1164. package/dist/membership/v1/generated/validators/price.zod.d.ts +96 -0
  1165. package/dist/membership/v1/generated/validators/price.zod.js +82 -0
  1166. package/dist/membership/v1/generated/validators/priceList.zod.d.ts +103 -0
  1167. package/dist/membership/v1/generated/validators/priceList.zod.js +29 -0
  1168. package/dist/membership/v1/generated/validators/priceOption.zod.d.ts +59 -0
  1169. package/dist/membership/v1/generated/validators/priceOption.zod.js +43 -0
  1170. package/dist/membership/v1/generated/validators/product.zod.d.ts +30 -0
  1171. package/dist/membership/v1/generated/validators/product.zod.js +29 -0
  1172. package/dist/membership/v1/generated/validators/productID.zod.d.ts +28 -0
  1173. package/dist/membership/v1/generated/validators/productID.zod.js +31 -0
  1174. package/dist/membership/v1/generated/validators/productIdentity.zod.d.ts +29 -0
  1175. package/dist/membership/v1/generated/validators/productIdentity.zod.js +29 -0
  1176. package/dist/membership/v1/generated/validators/productList.zod.d.ts +37 -0
  1177. package/dist/membership/v1/generated/validators/productList.zod.js +29 -0
  1178. package/dist/membership/v1/generated/validators/projectAssignment.zod.d.ts +37 -0
  1179. package/dist/membership/v1/generated/validators/projectAssignment.zod.js +38 -0
  1180. package/dist/membership/v1/generated/validators/projectAssignmentList.zod.d.ts +44 -0
  1181. package/dist/membership/v1/generated/validators/projectAssignmentList.zod.js +29 -0
  1182. package/dist/membership/v1/generated/validators/purchaseOperation.zod.d.ts +30 -0
  1183. package/dist/membership/v1/generated/validators/purchaseOperation.zod.js +26 -0
  1184. package/dist/membership/v1/generated/validators/quote.zod.d.ts +114 -0
  1185. package/dist/membership/v1/generated/validators/quote.zod.js +45 -0
  1186. package/dist/membership/v1/generated/validators/quoteCancellation.zod.d.ts +33 -0
  1187. package/dist/membership/v1/generated/validators/quoteCancellation.zod.js +35 -0
  1188. package/dist/membership/v1/generated/validators/quoteItem.zod.d.ts +40 -0
  1189. package/dist/membership/v1/generated/validators/quoteItem.zod.js +53 -0
  1190. package/dist/membership/v1/generated/validators/quoteItemInput.zod.d.ts +57 -0
  1191. package/dist/membership/v1/generated/validators/quoteItemInput.zod.js +56 -0
  1192. package/dist/membership/v1/generated/validators/quoteRenewal.zod.d.ts +42 -0
  1193. package/dist/membership/v1/generated/validators/quoteRenewal.zod.js +41 -0
  1194. package/dist/membership/v1/generated/validators/quoteRenewalResult.zod.d.ts +42 -0
  1195. package/dist/membership/v1/generated/validators/quoteRenewalResult.zod.js +39 -0
  1196. package/dist/membership/v1/generated/validators/quoteRequest.zod.d.ts +87 -0
  1197. package/dist/membership/v1/generated/validators/quoteRequest.zod.js +57 -0
  1198. package/dist/membership/v1/generated/validators/quotedDiscount.zod.d.ts +34 -0
  1199. package/dist/membership/v1/generated/validators/quotedDiscount.zod.js +36 -0
  1200. package/dist/membership/v1/generated/validators/rate.zod.d.ts +53 -0
  1201. package/dist/membership/v1/generated/validators/rate.zod.js +48 -0
  1202. package/dist/membership/v1/generated/validators/rateList.zod.d.ts +60 -0
  1203. package/dist/membership/v1/generated/validators/rateList.zod.js +29 -0
  1204. package/dist/membership/v1/generated/validators/refund.zod.d.ts +107 -0
  1205. package/dist/membership/v1/generated/validators/refund.zod.js +59 -0
  1206. package/dist/membership/v1/generated/validators/refundList.zod.d.ts +114 -0
  1207. package/dist/membership/v1/generated/validators/refundList.zod.js +29 -0
  1208. package/dist/membership/v1/generated/validators/refundPolicy.zod.d.ts +29 -0
  1209. package/dist/membership/v1/generated/validators/refundPolicy.zod.js +26 -0
  1210. package/dist/membership/v1/generated/validators/refundReason.zod.d.ts +38 -0
  1211. package/dist/membership/v1/generated/validators/refundReason.zod.js +38 -0
  1212. package/dist/membership/v1/generated/validators/renewRequest.zod.d.ts +46 -0
  1213. package/dist/membership/v1/generated/validators/renewRequest.zod.js +57 -0
  1214. package/dist/membership/v1/generated/validators/renewalOrderRequest.zod.d.ts +36 -0
  1215. package/dist/membership/v1/generated/validators/renewalOrderRequest.zod.js +38 -0
  1216. package/dist/membership/v1/generated/validators/renewalPrice.zod.d.ts +45 -0
  1217. package/dist/membership/v1/generated/validators/renewalPrice.zod.js +38 -0
  1218. package/dist/membership/v1/generated/validators/renewalPriceList.zod.d.ts +52 -0
  1219. package/dist/membership/v1/generated/validators/renewalPriceList.zod.js +29 -0
  1220. package/dist/membership/v1/generated/validators/setProjectAssignmentRequest.zod.d.ts +28 -0
  1221. package/dist/membership/v1/generated/validators/setProjectAssignmentRequest.zod.js +26 -0
  1222. package/dist/membership/v1/generated/validators/spendRow.zod.d.ts +37 -0
  1223. package/dist/membership/v1/generated/validators/spendRow.zod.js +33 -0
  1224. package/dist/membership/v1/generated/validators/spendRowList.zod.d.ts +46 -0
  1225. package/dist/membership/v1/generated/validators/spendRowList.zod.js +32 -0
  1226. package/dist/membership/v1/generated/validators/statement.zod.d.ts +49 -0
  1227. package/dist/membership/v1/generated/validators/statement.zod.js +51 -0
  1228. package/dist/membership/v1/generated/validators/statementAmounts.zod.d.ts +31 -0
  1229. package/dist/membership/v1/generated/validators/statementAmounts.zod.js +30 -0
  1230. package/dist/membership/v1/generated/validators/statementItem.zod.d.ts +34 -0
  1231. package/dist/membership/v1/generated/validators/statementItem.zod.js +36 -0
  1232. package/dist/membership/v1/generated/validators/statementList.zod.d.ts +56 -0
  1233. package/dist/membership/v1/generated/validators/statementList.zod.js +29 -0
  1234. package/dist/membership/v1/generated/validators/statementStatus.zod.d.ts +29 -0
  1235. package/dist/membership/v1/generated/validators/statementStatus.zod.js +24 -0
  1236. package/dist/membership/v1/generated/validators/statementSummary.zod.d.ts +50 -0
  1237. package/dist/membership/v1/generated/validators/statementSummary.zod.js +34 -0
  1238. package/dist/membership/v1/generated/validators/subscription.zod.d.ts +126 -0
  1239. package/dist/membership/v1/generated/validators/subscription.zod.js +107 -0
  1240. package/dist/membership/v1/generated/validators/subscriptionCancellation.zod.d.ts +52 -0
  1241. package/dist/membership/v1/generated/validators/subscriptionCancellation.zod.js +45 -0
  1242. package/dist/membership/v1/generated/validators/subscriptionList.zod.d.ts +132 -0
  1243. package/dist/membership/v1/generated/validators/subscriptionList.zod.js +29 -0
  1244. package/dist/membership/v1/generated/validators/taxItem.zod.d.ts +36 -0
  1245. package/dist/membership/v1/generated/validators/taxItem.zod.js +36 -0
  1246. package/dist/membership/v1/generated/validators/terminationPolicy.zod.d.ts +29 -0
  1247. package/dist/membership/v1/generated/validators/terminationPolicy.zod.js +26 -0
  1248. package/dist/membership/v1/generated/validators/tier.zod.d.ts +30 -0
  1249. package/dist/membership/v1/generated/validators/tier.zod.js +32 -0
  1250. package/dist/membership/v1/generated/validators/topUp.zod.d.ts +66 -0
  1251. package/dist/membership/v1/generated/validators/topUp.zod.js +61 -0
  1252. package/dist/membership/v1/generated/validators/topUpCreate.zod.d.ts +37 -0
  1253. package/dist/membership/v1/generated/validators/topUpCreate.zod.js +49 -0
  1254. package/dist/membership/v1/generated/validators/topUpList.zod.d.ts +73 -0
  1255. package/dist/membership/v1/generated/validators/topUpList.zod.js +29 -0
  1256. package/dist/membership/v1/generated/validators/transaction.zod.d.ts +68 -0
  1257. package/dist/membership/v1/generated/validators/transaction.zod.js +63 -0
  1258. package/dist/membership/v1/generated/validators/transactionList.zod.d.ts +75 -0
  1259. package/dist/membership/v1/generated/validators/transactionList.zod.js +29 -0
  1260. package/dist/membership/v1/generated/validators/transactionType.zod.d.ts +31 -0
  1261. package/dist/membership/v1/generated/validators/transactionType.zod.js +26 -0
  1262. package/dist/membership/v1/generated/validators/usageCharge.zod.d.ts +58 -0
  1263. package/dist/membership/v1/generated/validators/usageCharge.zod.js +72 -0
  1264. package/dist/membership/v1/generated/validators/usageChargeList.zod.d.ts +65 -0
  1265. package/dist/membership/v1/generated/validators/usageChargeList.zod.js +29 -0
  1266. package/dist/routes.d.ts +80 -8
  1267. package/dist/routes.js +90 -9
  1268. package/package.json +1 -1
  1269. package/dist/billing/v1/generated/validators/checkoutOrderRequest.zod.d.ts +0 -16
  1270. package/dist/billing/v1/generated/validators/checkoutOrderRequest.zod.js +0 -22
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ export const orderRefundQuoteInputOrderItemIdsMax = 100;
26
+ export const OrderRefundQuoteInput = zod
27
+ .strictObject({
28
+ order_id: zod.uuid(),
29
+ order_item_ids: zod
30
+ .array(zod.uuid())
31
+ .min(1)
32
+ .max(orderRefundQuoteInputOrderItemIdsMax)
33
+ .optional()
34
+ .describe("Estimate only these items. Omit to estimate the whole order. Every item must belong to the order."),
35
+ })
36
+ .describe("An estimate of the refundable value of one order or selected items. This does not cancel the order, stop service or create a refund.");
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ export declare const OrderStatus: zod.ZodEnum<{
26
+ pending: "pending";
27
+ completed: "completed";
28
+ failed: "failed";
29
+ canceled: "canceled";
30
+ accepted: "accepted";
31
+ partially_completed: "partially_completed";
32
+ }>;
33
+ export type OrderStatus = zod.input<typeof OrderStatus>;
34
+ export type OrderStatusOutput = zod.output<typeof OrderStatus>;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ export const OrderStatus = zod
26
+ .enum(["pending", "accepted", "completed", "partially_completed", "failed", "canceled"])
27
+ .describe("Follows the items. `pending` is not yet accepted and may be unpaid or paid; its invoice shows\nwhether payment is still needed, and it can expire or be canceled. `accepted` is accepted with items still\nbeing set up. `completed` means every item was set up. `partially_completed` means some items were set up\nand the others failed or were canceled and were refunded to their original payment sources. `failed` means\nno item was delivered and at least one failed; collected amounts for the undelivered items are refunded.\n`canceled` means every item was withdrawn without delivery; collected amounts are returned to their original\npayment sources. No status establishes service delivery by itself.");
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ export declare const PaidWith: zod.ZodObject<{
26
+ method_type: zod.ZodString;
27
+ payment_gateway: zod.ZodOptional<zod.ZodString>;
28
+ payment_method_id: zod.ZodOptional<zod.ZodUUID>;
29
+ brand: zod.ZodOptional<zod.ZodString>;
30
+ last4: zod.ZodOptional<zod.ZodString>;
31
+ }, zod.z.core.$strict>;
32
+ export type PaidWith = zod.input<typeof PaidWith>;
33
+ export type PaidWithOutput = zod.output<typeof PaidWith>;
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ export const PaidWith = zod
26
+ .strictObject({
27
+ method_type: zod
28
+ .string()
29
+ .describe("`balance` when the account's balance and credits covered it in full. Otherwise the method used\nwith the gateway, such as `card`."),
30
+ payment_gateway: zod
31
+ .string()
32
+ .optional()
33
+ .describe("The gateway that collected it. Absent when `method_type` is `balance`."),
34
+ payment_method_id: zod
35
+ .uuid()
36
+ .optional()
37
+ .describe("The saved payment method that was charged, when one was."),
38
+ brand: zod.string().optional(),
39
+ last4: zod.string().optional(),
40
+ })
41
+ .describe("How it was paid. Removing the payment method afterwards does not change it; `payment_method_id`\nthen names a removed payment method.");
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ export declare const payInvoiceRequestPaymentGatewayMax = 32;
26
+ export declare const payInvoiceRequestMethodTypeMax = 64;
27
+ export declare const payInvoiceRequestUseBalanceDefault = true;
28
+ export declare const payInvoiceRequestUseCreditsDefault = true;
29
+ export declare const payInvoiceRequestPromotionCodeMax = 64;
30
+ export declare const payInvoiceRequestExpectedAmountTwoRegExp: RegExp;
31
+ export declare const PayInvoiceRequest: zod.ZodObject<{
32
+ payment_gateway: zod.ZodOptional<zod.ZodString>;
33
+ method_type: zod.ZodOptional<zod.ZodString>;
34
+ payment_method_id: zod.ZodOptional<zod.ZodUUID>;
35
+ use_balance: zod.ZodDefault<zod.ZodBoolean>;
36
+ use_credits: zod.ZodDefault<zod.ZodBoolean>;
37
+ return_url: zod.ZodOptional<zod.ZodString>;
38
+ promotion_code: zod.ZodOptional<zod.ZodString>;
39
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
40
+ }, zod.z.core.$strict>;
41
+ export type PayInvoiceRequest = zod.input<typeof PayInvoiceRequest>;
42
+ export type PayInvoiceRequestOutput = zod.output<typeof PayInvoiceRequest>;
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ import { Money } from "./money.zod.js";
26
+ export const payInvoiceRequestPaymentGatewayMax = 32;
27
+ export const payInvoiceRequestMethodTypeMax = 64;
28
+ export const payInvoiceRequestUseBalanceDefault = true;
29
+ export const payInvoiceRequestUseCreditsDefault = true;
30
+ export const payInvoiceRequestPromotionCodeMax = 64;
31
+ export const payInvoiceRequestExpectedAmountTwoRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
32
+ export const PayInvoiceRequest = zod
33
+ .strictObject({
34
+ payment_gateway: zod
35
+ .string()
36
+ .min(1)
37
+ .max(payInvoiceRequestPaymentGatewayMax)
38
+ .optional()
39
+ .describe("Required to collect an online remainder. An existing attempt keeps its original gateway."),
40
+ method_type: zod
41
+ .string()
42
+ .min(1)
43
+ .max(payInvoiceRequestMethodTypeMax)
44
+ .optional()
45
+ .describe("Required with payment_gateway; for example card, wechat_pay or alipay."),
46
+ payment_method_id: zod
47
+ .uuid()
48
+ .optional()
49
+ .describe("Optional saved card owned by this billing account and belonging to the selected gateway. Omit to complete payment interactively."),
50
+ use_balance: zod
51
+ .boolean()
52
+ .default(payInvoiceRequestUseBalanceDefault)
53
+ .describe("Whether to apply the available balance. Credit grants are controlled separately by use_credits."),
54
+ use_credits: zod
55
+ .boolean()
56
+ .default(payInvoiceRequestUseCreditsDefault)
57
+ .describe("Apply eligible, unexpired credit grants before using the balance. This never withdraws grants or converts them into balance."),
58
+ return_url: zod.string().optional(),
59
+ promotion_code: zod
60
+ .string()
61
+ .min(1)
62
+ .max(payInvoiceRequestPromotionCodeMax)
63
+ .optional()
64
+ .describe("The code to apply while the order's terms are not yet fixed. Omit to apply the best applicable\naccount discount, or to keep the discount already recorded."),
65
+ expected_amount: Money.and(zod.string().regex(payInvoiceRequestExpectedAmountTwoRegExp))
66
+ .optional()
67
+ .describe("The invoice total to expect, after discounts and tax and before credit grants or balance, as the\npayment preview or an order quote gave it. A different total fails with BILLING_AMOUNT_CHANGED\nand nothing is charged. Omit to skip the comparison; an explicit zero is compared."),
68
+ })
69
+ .describe("Applies eligible credit grants and the available balance as requested, then collects only the remainder\nthrough the selected gateway. Grants restricted to other purchases are not counted as available funds.\nAn unresolved channel payment is reused; retries do not apply the grant or balance portions twice.\nWithout a gateway selection, insufficient account funds fail without starting an online payment.");
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ export declare const payTogetherRequestInvoiceIdsMax = 100;
26
+ export declare const payTogetherRequestOrderIdsMax = 100;
27
+ export declare const payTogetherRequestExpectedAmountTwoRegExp: RegExp;
28
+ export declare const PayTogetherRequest: zod.ZodObject<{
29
+ invoice_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
30
+ order_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
31
+ expected_amount: zod.ZodOptional<zod.ZodIntersection<zod.ZodString, zod.ZodString>>;
32
+ }, zod.z.core.$strict>;
33
+ export type PayTogetherRequest = zod.input<typeof PayTogetherRequest>;
34
+ export type PayTogetherRequestOutput = zod.output<typeof PayTogetherRequest>;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ import { Money } from "./money.zod.js";
26
+ export const payTogetherRequestInvoiceIdsMax = 100;
27
+ export const payTogetherRequestOrderIdsMax = 100;
28
+ export const payTogetherRequestExpectedAmountTwoRegExp = new RegExp("^[0-9]{1,15}([.][0-9]{1,10})?$");
29
+ export const PayTogetherRequest = zod
30
+ .strictObject({
31
+ invoice_ids: zod.array(zod.uuid()).max(payTogetherRequestInvoiceIdsMax).optional(),
32
+ order_ids: zod.array(zod.uuid()).max(payTogetherRequestOrderIdsMax).optional(),
33
+ expected_amount: Money.and(zod.string().regex(payTogetherRequestExpectedAmountTwoRegExp))
34
+ .optional()
35
+ .describe("The amount due to expect across all of them, before credit grants or balance, as preview-pay-together\ngave it. A different amount fails with BILLING_AMOUNT_CHANGED and nothing is charged. Omit to skip\nthe comparison."),
36
+ })
37
+ .describe("Name at least one invoice or order. They must all belong to the same account and share\nits currency; anything else is refused rather than partly paid.");
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ export declare const PaymentAction: zod.ZodObject<{
26
+ type: zod.ZodEnum<{
27
+ redirect: "redirect";
28
+ qr_code: "qr_code";
29
+ sdk: "sdk";
30
+ }>;
31
+ provider: zod.ZodOptional<zod.ZodString>;
32
+ url: zod.ZodOptional<zod.ZodURL>;
33
+ qr_code: zod.ZodOptional<zod.ZodString>;
34
+ client_secret: zod.ZodOptional<zod.ZodString>;
35
+ public_key: zod.ZodOptional<zod.ZodString>;
36
+ }, zod.z.core.$strict>;
37
+ export type PaymentAction = zod.input<typeof PaymentAction>;
38
+ export type PaymentActionOutput = zod.output<typeof PaymentAction>;
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ export const PaymentAction = zod
26
+ .strictObject({
27
+ type: zod.enum(["redirect", "qr_code", "sdk"]),
28
+ provider: zod
29
+ .string()
30
+ .optional()
31
+ .describe("Identifies the browser adapter for an SDK action, for example stripe."),
32
+ url: zod.url().optional(),
33
+ qr_code: zod.string().optional().describe("QR content to render and scan, not an image URL."),
34
+ client_secret: zod
35
+ .string()
36
+ .optional()
37
+ .describe("Short-lived client credential for this payment's browser confirmation."),
38
+ public_key: zod.string().optional(),
39
+ })
40
+ .describe("The customer's next interaction. The gateway reports the actual payment outcome separately.");
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ export declare const PaymentCancellationReason: zod.ZodEnum<{
26
+ abandoned: "abandoned";
27
+ requested_by_customer: "requested_by_customer";
28
+ }>;
29
+ export type PaymentCancellationReason = zod.input<typeof PaymentCancellationReason>;
30
+ export type PaymentCancellationReasonOutput = zod.output<typeof PaymentCancellationReason>;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Generated by orval 🍺
3
+ * Do not edit manually.
4
+ * Leaflow Compute API
5
+ * Leaflow Compute user API for managing instances, disks, snapshots, backups, images, private networks, subnets, routes, security groups, network interfaces and floating IPs.
6
+ *
7
+ * ## Authentication
8
+ *
9
+ * Every request carries a scoped token; see the `scopedTokenAuth` security scheme.
10
+ *
11
+ * ## Conventions
12
+ *
13
+ * - **Purchases.** A purchase that creates resources returns them together with a PlacedOrder. They are readable at once and start as `pending`: the order has not been accepted, nothing exists in the cloud, no inventory such as an address is held, and fields known only after allocation, such as addresses, are null. Once Billing accepts the order, a resource becomes `provisioning` and then reaches its usual status, such as `active` or `available`. When the order is declined, canceled or expires, or creation fails, the resource ends `failed` and `failure_reason` states why; the charge for a resource that failed after acceptance is refunded. Read the order in Billing for checkout and payment progress.
14
+ * - **Pricing.** Catalog items, such as instance types, disk types and public IP pools, carry `pricing`: the prepaid and postpaid options Billing offers for them, in the currency of the project's current billing account, or null when the project has no billing account. They are list amounts before promotion codes, not a checkout guarantee. A purchase chooses one option with `billing`, which applies to all of its components. Every purchase and change has a quote operation beside it, at the same path followed by `/quote`, which returns what checkout would collect without ordering anything.
15
+ * - **Checkout.** Omit `checkout` for automatic checkout, which pays from eligible credit grants and balance when the order is placed; insufficient funds refuse the request with HTTP 422 `BILLING_INSUFFICIENT_FUNDS`, and nothing is created. With `checkout.mode` set to `deferred`, the resources are returned `pending` and nothing is created until checkout is confirmed and paid through Billing. An order whose total is zero, such as a postpaid purchase with nothing due now, completes checkout at placement in either mode and proceeds to provisioning.
16
+ * - **Operations.** Requests such as starting, stopping, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `operation` field names it; the field is null once the operation has finished, and the resource then shows the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a disk, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its order is placed until it is applied or its order is canceled, including while it awaits checkout. Renaming and replacing labels or notes are not operations and are accepted at any time.
17
+ * - **Billing relationships.** A purchased resource records its `order_id`, `order_item_id` and `subscription_id`. The subscription is `pending` until the order is accepted, `provisioning` while the resource is created, and `active` once it is delivered. Bandwidth is a property of its floating IP, not a separate resource. Snapshots use a purchased per-region count quota, and backups are metered on the region's backup service; neither has an order or subscription of its own.
18
+ * - **Availability zones.** A disk and an instance must reside in the same availability zone to be attached. Instance types and disk types are each bound to one availability zone, so choosing a type determines the zone.
19
+ * - **IPv6 is not sold separately.** Once enabled on a private network, IPv6 addresses are assigned to the instances in that network automatically; they can be neither requested nor released individually.
20
+ * - **Floating IPs have a cooldown period.** A released address is neither available for re-allocation nor handed to another user for some time, so that DNS records and allow-lists still pointing at it do not break immediately.
21
+ * - **Passwords are returned once.** A password generated by the platform during creation or rebuild appears only in that response. Store it immediately.
22
+ * OpenAPI spec version: 1.0.0
23
+ */
24
+ import * as zod from "zod";
25
+ export const PaymentCancellationReason = zod
26
+ .enum(["abandoned", "requested_by_customer"])
27
+ .describe("Why a gateway payment was withdrawn. `abandoned` means the customer did not complete it within the time\nallowed for payment. `requested_by_customer` means the customer canceled it.");